import{_asXe}from"./BasicModal.vue_vue_type_style_index_0_lang-661b0a06.js";import{_asGe,uasQe}from"./useBaseTable-3c30fe12.js";import{_asYe,BasZe}from"./button.vue_vue_type_style_index_0_lang-f6f5b6a0.js";import{Iasre}from"./Icon-889d6eab.js";import{taset}from"./useDataTime-5a269444.js";import{gasO,easH}from"./convert-2ad76038.js";import{_aspe}from"./TextPreview.vue_vue_type_script_setup_true_lang-53f928ef.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-f8ee37b9.js";import{gasdt,uasct,aaspt,bas_t,dasmt}from"./products-d51d6969.js";import{gasY}from"./index-8fee9afc.js";import{gasft}from"./category-4567415a.js";import{gasvt}from"./brand-e377f770.js";import{lasJ}from"./lodash-7c51d08d.js";import{Masgt,_asbt}from"./index-ef1f8a61.js";import{Iasht,basyt}from"./index-1ab617ae.js";import{_aswt,aasxt}from"./index-8bcedf66.js";import{Iaskt}from"./index-fb081974.js";import{_asUt,FasCt}from"./index-9594c53b.js";import{aasIt,_asVt}from"./index-ee1b3469.js";import{aasPt}from"./index-f923b666.js";import{Uas$t}from"./index-c0e94d73.js";import{Tasce}from"./isSymbol-cdcd460d.js";import{_asAt}from"./_plugin-vue_export-helper-775bc553.js";import"./index-0e72b27c.js";import"./vnode-b0e810ae.js";import"./updateLocale-d5a764a4.js";import"./index-bc659f42.js";import"./index-b8cc71e2.js";import"./omit-bdd3cea5.js";import"./useState-f5985d90.js";import"./FormItemContext-5821e8c8.js";import"./BaseSwitch.vue_vue_type_script_setup_true_lang-2e892f80.js";import"./index-78e4e5e0.js";import"./Badge-47d7b0bb.js";import"./isNumeric-3f69e2aa.js";import"./index-89210322.js";import"./index-bf59f845.js";import"./textUtils-c37780ad.js";import"./supabaseTableQuery-95762ff3.js";import"./DialogWrap-192ddaf7.js";import"./pickAttrs-69f29e9c.js";import"./styleChecker-c1fc9f39.js";import"./isPlainObject-6382de01.js";import"./index-0441c4fc.js";import"./css-aae66f86.js";import"./toArray-53a55fc4.js";import"./_flatRest-6305d35d.js";import"./Col-97627e24.js";import"./useRefs-bff35432.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"},"حداکثر