import{a as l,B as f,b as i}from"./index.8a64ecdf.js";import"./elementPlus.58179425.js";import{d as _,ak as g,r as x,a8 as B,o as R,E as k,G as a,M as s,u as o,t as y,B as C}from"./vue.95e072e2.js";import{createCrudOptions as V}from"./crud.78ce673f.js";import{_ as b}from"./lineChart.vue_vue_type_script_setup_true_lang.71df9b00.js";import{_ as q}from"./index.vue_vue_type_script_setup_true_lang.8dd19552.js";const M=_({__name:"index",props:{campaignId:{}},setup(n){const c=l(),{dateRange:e}=g(c),r=x({campaignId:n.campaignId,dateRange:e}),{crudBinding:m,crudRef:u,crudExpose:I}=f({createCrudOptions:V,context:r});return(P,t)=>{const p=B("fs-crud");return R(),k(o(i),{class:"fs-page-custom"},{default:a(()=>[s(p,C({ref_key:"crudRef",ref:u},o(m)),{"search-left":a(()=>[s(q,{modelValue:o(e),"onUpdate:modelValue":t[0]||(t[0]=d=>y(e)?e.value=d:null)},null,8,["modelValue"])]),"header-middle":a(()=>[s(b,{query:r.value},null,8,["query"])]),_:1},16)]),_:1})}}});export{M as _};
