import{_asGe}from"./BasicModal.vue_vue_type_style_index_0_lang-9330561a.js";import{_asXe,uasQe}from"./useBaseTable-05b26333.js";import{_asYe}from"./button.vue_vue_type_style_index_0_lang-bd7de123.js";import{Iasre}from"./Icon-26941971.js";import{tasZe}from"./useDataTime-af597da2.js";import{gasO,easH}from"./convert-2ad76038.js";import{_aspe}from"./TextPreview.vue_vue_type_script_setup_true_lang-ebd8971b.js";import{uaset}from"./usePrice-bc935b83.js";import{easn,dastt,ias$,hasat,jasR,xaslt,pasit,oas_,casU,basp,wasr,fasL,lasX,Kasnt,nasV,FasK,kasA,qasQ,Gasf,Vasst,Tasot,Uasrt,Lasue,tasde}from"./index-6d0cd65e.js";import{gasut,uasdt,aasct,baspt,das_t}from"./products-8758d605.js";import{gasY}from"./index-1a5043f1.js";import{gasmt}from"./category-3516ab1f.js";import{gasft}from"./brand-259f586c.js";import{lasW}from"./lodash-6c37e040.js";import{Masvt,_asgt}from"./index-1fdbf8ec.js";import{Iasbt,basht}from"./index-0a3c8350.js";import{aasyt,baswt}from"./index-19225493.js";import{Basxt}from"./index-eddc2482.js";import{_askt,FasUt}from"./index-17510b5d.js";import{aasCt,_asIt}from"./index-a30aaa52.js";import{_asVt}from"./index-b2a6c339.js";import{IasPt}from"./index-28b0ff59.js";import{Uas$t}from"./index-207fac00.js";import{Tasce}from"./isSymbol-94624ad1.js";import{_asAt}from"./_plugin-vue_export-helper-057121dd.js";import"./index-1d24a383.js";import"./vnode-272c72c0.js";import"./updateLocale-cd480df1.js";import"./shallowequal-969229a1.js";import"./useState-6a654be9.js";import"./useMemo-fb6ccae7.js";import"./FormItemContext-b6ebc5a2.js";import"./omit-0042b203.js";import"./BaseSwitch.vue_vue_type_script_setup_true_lang-8a3278c2.js";import"./index-61e1d708.js";import"./Badge-a066a44e.js";import"./isNumeric-3f69e2aa.js";import"./index-08466728.js";import"./index-8d45f2c0.js";import"./index-3f13e53b.js";import"./textUtils-c37780ad.js";import"./supabaseTableQuery-2e54cfd8.js";import"./DialogWrap-b6637bda.js";import"./pickAttrs-ae9bd1c0.js";import"./styleChecker-0273aaa3.js";import"./SearchOutlined-f7ba34a1.js";import"./isPlainObject-d2ad9b1e.js";import"./index-cbd32094.js";import"./index-0e770d03.js";import"./css-aae66f86.js";import"./toArray-5fe0a9e6.js";import"./_flatRest-2e1bd5be.js";import"./Col-27d7ac55.js";import"./isMobile-e2e89480.js";import"./index-373d7dab.js";import"./useRefs-b0f30c2d.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=>{constJ=O(b.record.original_image);returnn("img",{src:J,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"},Tt=h(()=>p("span",null,"حذف",-1)),Bt=h(()=>p("span",null,"ویرایش",-1)),Dt={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"},"