import{_asGe}from"./BasicModal.vue_vue_type_style_index_0_lang-fae33930.js";import{_asXe,uasQe}from"./useBaseTable-82539eae.js";import{_asYe}from"./button.vue_vue_type_style_index_0_lang-a8e4c363.js";import{Iasre}from"./Icon-edf119de.js";import{tasZe}from"./useDataTime-da5b6dce.js";import{gasO,easH}from"./convert-2ad76038.js";import{_aspe}from"./TextPreview.vue_vue_type_script_setup_true_lang-b8825766.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,Tasst,Rasot,Sasrt,Lasue,tasde}from"./index-a8367ff2.js";import{gasut,uasdt,aasct,baspt,das_t}from"./products-dfac1911.js";import{gasY}from"./index-757f1155.js";import{gasmt}from"./category-c4a88ef1.js";import{gasft}from"./brand-20401060.js";import{lasW}from"./lodash-ed85ff31.js";import{Masvt,_asgt}from"./index-9945ba04.js";import{Iasbt,basht}from"./index-7c64cd55.js";import{aasyt,baswt}from"./index-bb89eb22.js";import{Basxt}from"./index-b114ff98.js";import{_askt,FasUt}from"./index-e13f986d.js";import{aasCt,_asIt}from"./index-09fb7960.js";import{_asVt}from"./index-59fae103.js";import{IasPt}from"./index-4fdfb52f.js";import{Uas$t}from"./index-55485934.js";import{Tasce}from"./isSymbol-14cd0bd9.js";import{_asAt}from"./_plugin-vue_export-helper-33d8d282.js";import"./index-4a5bdd84.js";import"./vnode-29430e8f.js";import"./updateLocale-fac91928.js";import"./shallowequal-6dfee65d.js";import"./useState-594e21bf.js";import"./useMemo-21aa3156.js";import"./FormItemContext-fe223efb.js";import"./omit-b4301d3d.js";import"./BaseSwitch.vue_vue_type_script_setup_true_lang-3910ceb5.js";import"./index-e105ccfe.js";import"./Badge-2c6fd47c.js";import"./isNumeric-3f69e2aa.js";import"./index-e36cdf8a.js";import"./index-c3834dab.js";import"./index-ab16997f.js";import"./textUtils-c37780ad.js";import"./supabaseTableQuery-f88471cb.js";import"./DialogWrap-2da8810d.js";import"./pickAttrs-9e6a5f83.js";import"./styleChecker-26fef2aa.js";import"./SearchOutlined-2e41df22.js";import"./isPlainObject-c12254bd.js";import"./index-2750d3d4.js";import"./index-f900e797.js";import"./css-aae66f86.js";import"./toArray-13b6ecf9.js";import"./_flatRest-8af74098.js";import"./Col-998ad8d4.js";import"./isMobile-e2e89480.js";import"./index-df7d258e.js";import"./useRefs-620742e5.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"},"