import{i as f,c as p}from"./app-Ba7ZqSpq.js";import{_}from"./app-DWUwCFNm.js";import{_ as d}from"./app-DFulsyXy.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-SC54XQDl.js";import{_ as S}from"./app-FlPLZh9D.js";import{_ as w}from"./app-DkOT0Z3c.js";import{D as C}from"./app-ZeVDYyDS.js";import{_ as y}from"./app-Cft_lrsr.js";import"./app-CNHjdV6U.js";import"./app-DZaelcLs.js";import"./app-PPG0ZS4d.js";import"./app-qhR41k1m.js";import"./app-CS3AUTAk.js";import"./app-CCkWSX4Q.js";import"./app-Dhl-Bw0H.js";import"./app-BjSCO7rC.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};
