import{a as l,B as f,b as i}from"./index.0d411246.js";import"./elementPlus.0e5067e4.js";import{d as _,al as g,r as x,a9 as B,o as R,E as y,G as a,M as s,u as o,t as C,B as V}from"./vue.3f733908.js";import{createCrudOptions as b}from"./crud.1fe6c821.js";import{_ as k}from"./lineChart.vue_vue_type_script_setup_true_lang.b919c8e8.js";import{_ as q}from"./index.vue_vue_type_script_setup_true_lang.d1494dfe.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:b,context:r});return(P,t)=>{const p=B("fs-crud");return R(),y(o(i),{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{M as _};
