import{i as f,c as p}from"./app-a6cKceqE.js";import{_}from"./app-CignoBaV.js";import{_ as d}from"./app-CQ-vNlMj.js";import{r as v,o as a,g as h,a as i,u as s,b as n,w as r,c as u,h as g,d as $,e as x}from"./app-BYcXwl4U.js";import{_ as S}from"./app-DwtlHtUX.js";import{_ as w}from"./app-B2nvVMhu.js";import{D as C}from"./app-7GBSHA5C.js";import{_ as y}from"./app-C3oVnfUH.js";import"./app-CrjU8lgK.js";import"./app-BHl80pFw.js";import"./app-BG60hdvp.js";import"./app-CLawzVMq.js";import"./app-BeFNDz9n.js";import"./app-BDgR0DSb.js";import"./app-DxjODhok.js";import"./app-DPDEogA0.js";function I(){f(this),this.success=this.$NotifyReloadSuccess("保存成功")}const N=["value"],V=i("td",{class:"title"},"启用统计",-1),b={__name:"HTTPStatConfigBox",props:["v-stat-config","v-is-location","v-is-group"],setup(c){const o=c,{stat:e}=function(){let t=o.vStatConfig;return t==null&&(t={isPrior:!1,isOn:!1}),{stat:v(t)}}();return(t,l)=>(a(),h("div",null,[i("input",{type:"hidden",name:"statJSON",value:JSON.stringify(s(e))},null,8,N),n(C,null,{default:r(()=>[t.vIsLocation||t.vIsGroup?(a(),u(w,{key:0,"v-config":s(e)},null,8,["v-config"])):g("",!0),$(i("tbody",null,[i("tr",null,[V,i("td",null,[n(S,{modelValue:s(e).isOn,"onUpdate:modelValue":l[0]||(l[0]=m=>s(e).isOn=m)},null,8,["modelValue"])])])],512),[[x,!t.vIsLocation&&!t.vIsGroup||s(e).isPrior]])]),_:1})]))}},B=["value"],F={__name:"index",setup(c){const o=p(new I);return(e,t)=>(a(),u(y,{ctx:s(o)},{default:r(()=>[n(d,{action:"$",onSuccess:s(o).success},{default:r(()=>[i("input",{type:"hidden",name:"webId",value:s(o).webId},null,8,B),n(b,{"v-stat-config":s(o).statConfig},null,8,["v-stat-config"]),n(_,{class:"mt-4"})]),_:1},8,["onSuccess"])]),_:1},8,["ctx"]))}};export{F as default};
