import{_asXe}from"./BasicModal.vue_vue_type_style_index_0_lang-a23efd75.js";import{_asGe,uasYe}from"./useBaseTable-eabb6e73.js";import{_asQe,BasZe}from"./button.vue_vue_type_style_index_0_lang-58c562e7.js";import{Iasre}from"./Icon-2ca0951c.js";import{taset}from"./useDataTime-a9a38277.js";import{gasO,easH}from"./convert-2ad76038.js";import{_aspe}from"./TextPreview.vue_vue_type_script_setup_true_lang-c7e75dc6.js";import{uastt}from"./usePrice-bc935b83.js";import{bass,dasat,gas$,raslt,hasN,vasnt,lasst,oas_,casU,aasp,wasr,easM,jasG,Hasit,kasV,FasW,iasA,nasY,Dasf,Yasot,Masrt,Nasut,Iasue,tasde}from"./index-02897754.js";import{gasdt,uasct,aaspt,bas_t,dasmt}from"./products-c7fd4a75.js";import{gasQ}from"./index-2537f09f.js";import{gasft}from"./category-38da4822.js";import{gasvt}from"./brand-1eb5acb1.js";import{lasJ}from"./lodash-f280de5a.js";import{Masgt,_asbt}from"./index-4652c849.js";import{Iasht,aasyt}from"./index-b0c72faa.js";import{_aswt,aasxt}from"./index-4cf251d4.js";import{Iaskt}from"./index-a6696b1c.js";import{_asUt,FasCt}from"./index-a571a3ce.js";import{_asIt,aasVt}from"./index-a2c53d90.js";import{aasPt}from"./index-1d9cca6c.js";import{Uas$t}from"./index-fd46be7d.js";import{Tasce}from"./isSymbol-792a2a97.js";import{_asAt}from"./_plugin-vue_export-helper-2dea18d7.js";import"./index-644e91ea.js";import"./vnode-65917850.js";import"./updateLocale-ed1a4c67.js";import"./useState-4419625c.js";import"./FormItemContext-0ec501fb.js";import"./BaseSwitch.vue_vue_type_script_setup_true_lang-2e8a6602.js";import"./index-9a9a9cd2.js";import"./isNumeric-3f69e2aa.js";import"./index-f459a9b9.js";import"./index-066e71ee.js";import"./textUtils-c37780ad.js";import"./supabaseTableQuery-9069679c.js";import"./DialogWrap-b41f46aa.js";import"./pickAttrs-66d27c5c.js";import"./styleChecker-ce90d19e.js";import"./isPlainObject-6a522913.js";import"./index-834ba08a.js";import"./LeftOutlined-0f3263d7.js";import"./css-aae66f86.js";import"./toArray-b84867a5.js";import"./_flatRest-bac800e2.js";import"./Col-880c700f.js";import"./useRefs-44db43e1.js";constMt=[{title:"ردیف",dataIndex:"id",key:"id",filterable:!1,width:70,align:"center",customRender:b=>b.index+1},{title:"تصویر ",dataIndex:"original_image",key:"original_image",customRender:b=>{constK=O(b.record.original_image);returns("img",{src:K,width:60},null)}},{title:"عنوان",dataIndex:"title_fa",key:"title_fa"},{title:"کد",dataIndex:"code",key:"code"},{title:"توضیحات",dataIndex:"description",key:"description",customRender:b=>s(pe,{text:b.record.description},null)},{title:"قیمت (ریال)",dataIndex:"price",key:"price",align:"center",width:120,customRender:b=>tt(b.record.price??0,!0,"")},{title:"موجودی",dataIndex:"count",key:"count",align:"center",width:120,customRender:b=>b.record.count??0},{title:"زمان ایجاد",dataIndex:"created_at",key:"created_at",customRender:b=>et(b.record.created_at)},{title:"عملیات",dataIndex:"action",key:"action",slot:"action",filterable:!1,align:"center"}],h=b=>(rt("data-v-c0be5c78"),b=b(),ut(),b),Lt={class:"flex justify-between items-center mb-4"},Ft=h(()=>p("h2",null,"محصولات",-1)),St={class:"gap-2 flex justify-center"},Bt=h(()=>p("span",null,"حذف",-1)),Dt=h(()=>p("span",null,"ویرایش",-1)),Tt={key:0,class:"text-gray-500 text-sm mt-1"},Nt=h(()=>p("div",{class:"text-gray-500 text-sm mt-1"}," حداکثر تعداد این محصول که کاربر در یک سفارش میتواند بخرد. ",-1)),Ot=h(()=>p("div",{class:"text-gray-500 text-sm mt-1"}," برای ارسال با پیک (داخل تهران) هزینه در زمان تحویل دریافت میشود. ",-1)),Rt=h(()=>p("div",{class:"text-gray-500 text-sm mt-1"}," برای ارسال با پیک (داخل تهران) هزینه در زمان تحویل دریافت میشود. ",-1)),qt=h(()=>p("div",{class:"text-gray-500 text-sm mt-1"},"حداکثرتعداداینمحصولکهکاربردریکسفارشمیت�