import{k as u}from"./index.BKEMpsLA.js";import{G as d}from"./api.BJXIp3wZ.js";import{createCrudOptions as _}from"./crud.DL_bxvJd.js";import{h as l}from"./columnPermission.BZw343bd.js";import g from"./index.BaSUcoKU.js";import{a as t,r as y,q as C,aj as r,J as k,o as h,K as v,S as n,H as O,u as x}from"./vue.YrNK8sx4.js";import"./_plugin-vue_export-helper.DlAUqK2U.js";const w=t({name:"Inventorycount"}),H=t({...w,setup(B){const e=y(),{crudBinding:s,crudRef:a,crudExpose:c,crudOptions:i,resetCrudOptions:p}=u({createCrudOptions:o=>_({...o,inventoryDialog:e})});return C(async()=>{const o=await l(d,i);p(o),c.doRefresh()}),(o,D)=>{const f=r("fs-crud"),m=r("fs-page");return h(),k(m,null,{default:v(()=>[n(f,O({ref_key:"crudRef",ref:a},x(s)),null,16),n(g,{ref_key:"inventoryDialog",ref:e},null,512)]),_:1})}}});export{H as default};
