import{_asXe}from"./BasicModal.vue_vue_type_style_index_0_lang-1f90009d.js";import{_asGe,uasQe}from"./useBaseTable-253c2441.js";import{_asYe,BasZe}from"./button.vue_vue_type_style_index_0_lang-3cd9de9f.js";import{Iasre}from"./Icon-1c8e1e9a.js";import{taset}from"./useDataTime-083dad6f.js";import{gasO,easH}from"./convert-2ad76038.js";import{_aspe}from"./TextPreview.vue_vue_type_script_setup_true_lang-a1cc9442.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,nasQ,Dasf,bzasot,Masrt,Nasut,Iasue,tasde}from"./index-157892ef.js";import{gasdt,uasct,aaspt,bas_t,dasmt}from"./products-aa27e577.js";import{gasY}from"./index-68ce3f2c.js";import{gasft}from"./category-89282015.js";import{gasvt}from"./brand-ecf712b0.js";import{lasJ}from"./lodash-b0b4e146.js";import{Masgt,_asbt}from"./index-e60f1d66.js";import{Iasht,basyt}from"./index-2e17d8ae.js";import{_aswt,aasxt}from"./index-3631a093.js";import{Iaskt}from"./index-aff9c5f8.js";import{_asUt,FasCt}from"./index-1d294154.js";import{aasIt,_asVt}from"./index-dc86b1c3.js";import{aasPt}from"./index-10655c40.js";import{Uas$t}from"./index-d38f12f7.js";import{Tasce}from"./isSymbol-d560f493.js";import{_asAt}from"./_plugin-vue_export-helper-b335f697.js";import"./index-d692d775.js";import"./vnode-4a81629f.js";import"./updateLocale-5b074ed4.js";import"./index-bc659f42.js";import"./index-47a95ccc.js";import"./omit-e1b41de8.js";import"./useState-c3e69ab5.js";import"./FormItemContext-9d898e7c.js";import"./BaseSwitch.vue_vue_type_script_setup_true_lang-18d9510e.js";import"./index-db2fbdbd.js";import"./Badge-65e3af71.js";import"./isNumeric-3f69e2aa.js";import"./index-7e24c386.js";import"./index-c3f6f95c.js";import"./textUtils-c37780ad.js";import"./supabaseTableQuery-8ab5665d.js";import"./DialogWrap-30578cd1.js";import"./pickAttrs-99fc3772.js";import"./styleChecker-a54924f7.js";import"./isPlainObject-86af753d.js";import"./index-d809d721.js";import"./css-aae66f86.js";import"./toArray-0cb2ab82.js";import"./_flatRest-6d155af7.js";import"./Col-b55f55a6.js";import"./useRefs-3fd4fb6c.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"},"حداکثر