import{_asXe}from"./BasicModal.vue_vue_type_style_index_0_lang-0121d908.js";import{_asGe,uasQe}from"./useBaseTable-7b78293f.js";import{_asYe}from"./button.vue_vue_type_style_index_0_lang-dcd86e7a.js";import{Iasre}from"./Icon-8dedfa53.js";import{tasZe}from"./useDataTime-a337f5c6.js";import{gasR,easH}from"./convert-2ad76038.js";import{_aspe}from"./TextPreview.vue_vue_type_script_setup_true_lang-7903e918.js";import{uaset}from"./usePrice-bc935b83.js";import{basn,dastt,gas$,rasat,hasO,vaslt,lasit,oas_,casU,aasp,wasr,easL,jasG,Hasnt,kasV,FasW,iasA,nasQ,Dasf,bCasst,Oasot,Pasrt,Iasue,tasde}from"./index-b0561d74.js";import{gasut,uasdt,aasct,baspt,das_t}from"./products-41389fdf.js";import{gasY}from"./index-833169e4.js";import{gasmt}from"./category-a61e8cdd.js";import{gasft}from"./brand-804dc39a.js";import{lasJ}from"./lodash-9a3882db.js";import{Masvt,_asgt}from"./index-12bdf78c.js";import{Iasbt,basht}from"./index-d18c8f13.js";import{aasyt,baswt}from"./index-93c22234.js";import{Iasxt}from"./index-03f94f06.js";import{Baskt}from"./index-092c5981.js";import{_asUt,FasCt}from"./index-5398304a.js";import{aasIt,_asVt}from"./index-9a77c0e9.js";import{aasPt}from"./index-482a46a3.js";import{Uas$t}from"./index-2e6c7b29.js";import{Tasce}from"./isSymbol-a4291d99.js";import{_asAt}from"./_plugin-vue_export-helper-130a5518.js";import"./index-b7f1770d.js";import"./vnode-531f9d95.js";import"./updateLocale-b730d578.js";import"./index-bc659f42.js";import"./shallowequal-4f931fa5.js";import"./useState-94528018.js";import"./useMemo-0162b583.js";import"./FormItemContext-5520cb52.js";import"./omit-e6701bfc.js";import"./BaseSwitch.vue_vue_type_script_setup_true_lang-71825e72.js";import"./index-46f9dc77.js";import"./Badge-d2c862d8.js";import"./isNumeric-3f69e2aa.js";import"./index-7febe226.js";import"./index-5d725680.js";import"./index-840dd6b2.js";import"./textUtils-c37780ad.js";import"./supabaseTableQuery-8ab5665d.js";import"./DialogWrap-9c2d8a9c.js";import"./pickAttrs-69dd58a4.js";import"./styleChecker-d39a1d44.js";import"./SearchOutlined-ca6a4719.js";import"./isPlainObject-3a5eccde.js";import"./index-b618fa76.js";import"./index-2dc7fe57.js";import"./css-aae66f86.js";import"./toArray-1ab9b01c.js";import"./isMobile-e2e89480.js";import"./_flatRest-39f9ed6b.js";import"./Col-08664037.js";import"./index-ea044634.js";import"./useRefs-899ec8f3.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-c0be5c78"),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"},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:"te