import{a as i,B as l,b as f}from"./index.ad3efb29.js";import"./elementPlus.4833989a.js";import{d as _,ay as g,r as x,ai as y,o as B,M as R,O as a,U as s,u as o,D as C,K as V}from"./vue.adf17aba.js";import{createCrudOptions as b}from"./crud.40aed956.js";import{_ as k}from"./lineChart.vue_vue_type_script_setup_true_lang.49a9710a.js";import{_ as q}from"./index.vue_vue_type_script_setup_true_lang.3fa6db13.js";const E=_({__name:"index",props:{campaignId:{}},setup(n){const c=i(),{dateRange:e}=g(c),r=x({campaignId:n.campaignId,dateRange:e}),{crudBinding:m,crudRef:u,crudExpose:D}=l({createCrudOptions:b,context:r});return(I,t)=>{const p=y("fs-crud");return B(),R(o(f),{class:"fs-page-custom"},{default:a(()=>[s(p,V({ref_key:"crudRef",ref:u},o(m)),{"search-left":a(()=>[s(q,{modelValue:o(e),"onUpdate:modelValue":t[0]||(t[0]=d=>C(e)?e.value=d:null)},null,8,["modelValue"])]),"header-middle":a(()=>[s(k,{query:r.value},null,8,["query"])]),_:1},16)]),_:1})}}});export{E as _};
