import{_asXe}from"./BasicModal.vue_vue_type_style_index_0_lang-a4f4e215.js";import{_asGe,uasQe}from"./useBaseTable-2ab18557.js";import{_asYe}from"./button.vue_vue_type_style_index_0_lang-1d790c18.js";import{Iasre}from"./Icon-82d1568b.js";import{tasZe}from"./useDataTime-54c17809.js";import{gasR,easH}from"./convert-2ad76038.js";import{_aspe}from"./TextPreview.vue_vue_type_script_setup_true_lang-03365c83.js";import{uaset}from"./usePrice-bc935b83.js";import{easn,dastt,ias$,hasat,jasO,xaslt,pasit,oas_,casU,basp,wasr,fasL,lasG,Lasnt,nasV,FasW,kasA,qasQ,Hasf,Oasst,Uasot,Vasrt,Masue,tasde}from"./index-b1a7e04b.js";import{gasut,uasdt,aasct,baspt,das_t}from"./products-746b2c7a.js";import{gasY}from"./index-eed351fd.js";import{gasmt}from"./category-15a9534f.js";import{gasft}from"./brand-39c5cd77.js";import{lasJ}from"./lodash-a3cc5b11.js";import{Masvt,_asgt}from"./index-95736a95.js";import{Iasbt,basht}from"./index-40ad5e11.js";import{aasyt,baswt}from"./index-d8d70cfa.js";import{Basxt}from"./index-3c78ebad.js";import{_askt,FasUt}from"./index-b14e1723.js";import{aasCt,_asIt}from"./index-53cb41a6.js";import{_asVt}from"./index-c03866b7.js";import{IasPt}from"./index-d9415fac.js";import{Uas$t}from"./index-b2a473c2.js";import{Tasce}from"./isSymbol-8bb1a5fc.js";import{_asAt}from"./_plugin-vue_export-helper-bc5e645a.js";import"./index-abe83bbb.js";import"./vnode-cf87e7d8.js";import"./updateLocale-7460d5f0.js";import"./shallowequal-8317aeac.js";import"./useState-bee297fc.js";import"./useMemo-f1dd6d43.js";import"./FormItemContext-75ce584c.js";import"./omit-8d80653a.js";import"./BaseSwitch.vue_vue_type_script_setup_true_lang-dbbf8b2d.js";import"./index-ca8dc14f.js";import"./Badge-815f7351.js";import"./isNumeric-3f69e2aa.js";import"./index-62a1d374.js";import"./index-a5f1405d.js";import"./index-35b107f8.js";import"./textUtils-c37780ad.js";import"./supabaseTableQuery-ba3eb91b.js";import"./DialogWrap-06d91612.js";import"./pickAttrs-6c8634eb.js";import"./styleChecker-e7996752.js";import"./SearchOutlined-280cd434.js";import"./isPlainObject-aea507b4.js";import"./index-06b581ca.js";import"./index-3adb8492.js";import"./css-aae66f86.js";import"./toArray-7c7c3b23.js";import"./_flatRest-49c0ef8d.js";import"./Col-b5ed65ce.js";import"./isMobile-e2e89480.js";import"./index-32cf5d9b.js";import"./useRefs-8cde84b1.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=>{constK=R(b.record.original_image);returnn("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=>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-e0de308b"),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)),Tt=h(()=>p("span",null,"ویرایش",-1)),Dt={key:0,class:"text-gray-500 text-sm mt-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)),Nt=h(()=>p("div",{class:"text-gray-500 text-sm mt-1"},"