import{i as f,c as p}from"./app-DckefXYL.js";import{_}from"./app-COct4tsy.js";import{_ as d}from"./app-MnSDCF4P.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-DnroACXc.js";import{_ as S}from"./app-BbRQPmFH.js";import{_ as w}from"./app-QoKhxVfv.js";import{D as C}from"./app-Cx7ENVlu.js";import{_ as y}from"./app-DgsA44Do.js";import"./app-LqsmzyUT.js";import"./app-B4bUdtyo.js";import"./app-CYYQ_Zep.js";import"./app-B2-Q9WJQ.js";import"./app-DAKlLAys.js";import"./app-xECxwo4T.js";import"./app-BBDtZW3a.js";import"./app-Co2SIBzr.js";import"./app-B0NrURRk.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"],K={__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{K as default};
