import{_asXe}from"./BasicModal.vue_vue_type_style_index_0_lang-c3b69d02.js";import{_asGe,uasQe}from"./useBaseTable-e35ecaa9.js";import{_asYe}from"./button.vue_vue_type_style_index_0_lang-b32e1136.js";import{Iasre}from"./Icon-85823aa3.js";import{tasZe}from"./useDataTime-c7be2668.js";import{gasR,easH}from"./convert-2ad76038.js";import{_aspe}from"./TextPreview.vue_vue_type_script_setup_true_lang-acd6228c.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-90ac1a44.js";import{gasut,uasdt,aasct,baspt,das_t}from"./products-f20b71d2.js";import{gasY}from"./index-ca449155.js";import{gasmt}from"./category-75a2bbd5.js";import{gasft}from"./brand-16977df7.js";import{lasJ}from"./lodash-07b825be.js";import{Masvt,_asgt}from"./index-a413fea1.js";import{Iasbt,basht}from"./index-027c2128.js";import{aasyt,baswt}from"./index-788f312f.js";import{Basxt}from"./index-cfa536c5.js";import{_askt,FasUt}from"./index-03d99677.js";import{aasCt,_asIt}from"./index-109c99be.js";import{_asVt}from"./index-a2503c07.js";import{IasPt}from"./index-1b39f49f.js";import{Uas$t}from"./index-e50485ad.js";import{Tasce}from"./isSymbol-9094e8b7.js";import{_asAt}from"./_plugin-vue_export-helper-8ee86600.js";import"./index-93d9312f.js";import"./vnode-b0455438.js";import"./updateLocale-cec40f3d.js";import"./shallowequal-36516cfd.js";import"./useState-64f2823f.js";import"./useMemo-9928f29b.js";import"./FormItemContext-64f846db.js";import"./omit-84d71e15.js";import"./BaseSwitch.vue_vue_type_script_setup_true_lang-fb5041dc.js";import"./index-95b42b3e.js";import"./Badge-54a9cc4e.js";import"./isNumeric-3f69e2aa.js";import"./index-5f5223b4.js";import"./index-c0eeee91.js";import"./index-bb804fdd.js";import"./textUtils-c37780ad.js";import"./supabaseTableQuery-19bc7c1f.js";import"./DialogWrap-6616a498.js";import"./pickAttrs-ba13e92c.js";import"./styleChecker-1445806f.js";import"./SearchOutlined-0eaaa97a.js";import"./isPlainObject-aab367ce.js";import"./index-90f5ddad.js";import"./index-9869a66e.js";import"./css-aae66f86.js";import"./toArray-3936b2d5.js";import"./_flatRest-f2577aae.js";import"./Col-fddaa6b7.js";import"./isMobile-e2e89480.js";import"./index-ebd9fdbb.js";import"./useRefs-2a883b79.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"},"