import{_asXe}from"./BasicModal.vue_vue_type_style_index_0_lang-53a0262f.js";import{_asGe,uasQe}from"./useBaseTable-8494769c.js";import{_asYe}from"./button.vue_vue_type_style_index_0_lang-6c8a1754.js";import{Iasre}from"./Icon-a994075d.js";import{tasZe}from"./useDataTime-14b71fd1.js";import{gasO,easH}from"./convert-2ad76038.js";import{_aspe}from"./TextPreview.vue_vue_type_script_setup_true_lang-7d38bf77.js";import{uaset}from"./usePrice-bc935b83.js";import{basn,dastt,gas$,rasat,hasR,vaslt,lasit,oas_,casU,aasp,wasr,easL,jasG,Jasnt,kasV,FasJ,iasA,nasQ,Dasf,Sasst,Qasot,Rasrt,Kasue,tasde}from"./index-b8949cd5.js";import{gasut,uasdt,aasct,baspt,das_t}from"./products-15671443.js";import{gasY}from"./index-f102e8a4.js";import{gasmt}from"./category-88f5db42.js";import{gasft}from"./brand-92052d9b.js";import{lasK}from"./lodash-a74993a4.js";import{Masvt,_asgt}from"./index-5dac065a.js";import{Iasbt,basht}from"./index-be8f184f.js";import{aasyt,baswt}from"./index-8b8dacd8.js";import{Iasxt}from"./index-23dac19d.js";import{Baskt}from"./index-8b168f42.js";import{_asUt,FasCt}from"./index-9f670063.js";import{aasIt,_asVt}from"./index-24c74f31.js";import{aasPt}from"./index-fc7471c3.js";import{Uas$t}from"./index-6115353a.js";import{Tasce}from"./isSymbol-71c709aa.js";import{_asAt}from"./_plugin-vue_export-helper-80a7ceaa.js";import"./index-f14a229e.js";import"./vnode-30b649a7.js";import"./updateLocale-8e612d44.js";import"./shallowequal-a1fb5178.js";import"./useState-3541c1c7.js";import"./useMemo-0a6b6d51.js";import"./FormItemContext-9a696347.js";import"./omit-df5a2f6f.js";import"./BaseSwitch.vue_vue_type_script_setup_true_lang-db4861df.js";import"./index-d5350fd3.js";import"./Badge-ae00479c.js";import"./isNumeric-3f69e2aa.js";import"./index-97b694b9.js";import"./index-3f37bcfd.js";import"./index-93cdd76f.js";import"./textUtils-c37780ad.js";import"./supabaseTableQuery-6c5f43f6.js";import"./DialogWrap-1ca5eb9f.js";import"./pickAttrs-52cf5a7c.js";import"./styleChecker-b373a9d5.js";import"./SearchOutlined-78438a74.js";import"./isPlainObject-ca054af0.js";import"./index-2eed37e0.js";import"./index-21c91830.js";import"./css-aae66f86.js";import"./toArray-6496b5b4.js";import"./isMobile-e2e89480.js";import"./_flatRest-1538f4ef.js";import"./Col-729d4045.js";import"./index-bc3f8044.js";import"./useRefs-ac0fbe98.js";constLt=[{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=>{constW=O(b.record.original_image);returnn("img",{src:W,width:60},null)}},{title:"عنوان",dataIndex:"title_fa",key:"title_fa"},{title:"کد",dataIndex:"code",key:"code"},{title:"توضیحات",dataIndex:"description",key:"description",customRender:b=>n(pe,{text:b.record.description},null)},{title:"قیمت (ریال)",dataIndex:"price",key:"price",align:"center",width:120,customRender:b=>et(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=>Ze(b.record.created_at)},{title:"عملیات",dataIndex:"action",key:"action",slot:"action",filterable:!1,align:"center"}],h=b=>(ot("data-v-15937811"),b=b(),rt(),b),Mt={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"},Rt=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)),Nt=h(()=>p("div",{class:"text-gray-500 text-sm mt-1"},"