import{_asXe}from"./BasicModal.vue_vue_type_style_index_0_lang-4b1d1ef5.js";import{_asGe,uasQe}from"./useBaseTable-f8894810.js";import{_asYe}from"./button.vue_vue_type_style_index_0_lang-bc3a48f6.js";import{Iasre}from"./Icon-767d2866.js";import{tasZe}from"./useDataTime-4be5c5cf.js";import{gasR,easH}from"./convert-2ad76038.js";import{_aspe}from"./TextPreview.vue_vue_type_script_setup_true_lang-630b180a.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-24cdd011.js";import{gasut,uasdt,aasct,baspt,das_t}from"./products-9da8dbd2.js";import{gasY}from"./index-1ace681c.js";import{gasmt}from"./category-f63b4f0c.js";import{gasft}from"./brand-a971032e.js";import{lasJ}from"./lodash-3126ec34.js";import{Masvt,_asgt}from"./index-5eb1b262.js";import{Iasbt,basht}from"./index-942dc2ed.js";import{aasyt,baswt}from"./index-39621559.js";import{Iasxt}from"./index-0468cd84.js";import{Baskt}from"./index-cbf3fafb.js";import{_asUt,FasCt}from"./index-3867b2dc.js";import{aasIt,_asVt}from"./index-ef7f0d13.js";import{aasPt}from"./index-0ceac0d6.js";import{Uas$t}from"./index-5477dee9.js";import{Tasce}from"./isSymbol-e7ce9b5a.js";import{_asAt}from"./_plugin-vue_export-helper-06d65383.js";import"./index-d68d1b34.js";import"./vnode-562ae89f.js";import"./updateLocale-58c30845.js";import"./index-bc659f42.js";import"./shallowequal-59945f6f.js";import"./useState-bb6abd58.js";import"./useMemo-5fb6706d.js";import"./FormItemContext-a07e1be1.js";import"./omit-08db5ef5.js";import"./BaseSwitch.vue_vue_type_script_setup_true_lang-5acaa0f7.js";import"./index-3078e65c.js";import"./Badge-aa4916ac.js";import"./isNumeric-3f69e2aa.js";import"./index-38d9344c.js";import"./index-fec9c5bc.js";import"./index-559e3814.js";import"./textUtils-c37780ad.js";import"./supabaseTableQuery-8ab5665d.js";import"./DialogWrap-4e2453b1.js";import"./pickAttrs-64381c06.js";import"./styleChecker-aeb3f501.js";import"./SearchOutlined-3570b8ac.js";import"./isPlainObject-25081d35.js";import"./index-093e137a.js";import"./index-4057f476.js";import"./css-aae66f86.js";import"./toArray-e3c28da8.js";import"./isMobile-e2e89480.js";import"./_flatRest-28f96ed6.js";import"./Col-8ec8a751.js";import"./index-9df579ce.js";import"./useRefs-2bd76cbf.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