import{_asXe}from"./BasicModal.vue_vue_type_style_index_0_lang-c75cb8ba.js";import{_asGe,uasQe}from"./useBaseTable-dfbf3762.js";import{_asYe}from"./button.vue_vue_type_style_index_0_lang-5dd5fad9.js";import{Iasre}from"./Icon-0c593d03.js";import{tasZe}from"./useDataTime-9987a66e.js";import{gasR,easH}from"./convert-2ad76038.js";import{_aspe}from"./TextPreview.vue_vue_type_script_setup_true_lang-0697c916.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-a94f140f.js";import{gasut,uasdt,aasct,baspt,das_t}from"./products-bfbe69c9.js";import{gasY}from"./index-396f8cde.js";import{gasmt}from"./category-6abb5bc6.js";import{gasft}from"./brand-ebce5335.js";import{lasJ}from"./lodash-b667f7ec.js";import{Masvt,_asgt}from"./index-cadfe89f.js";import{Iasbt,basht}from"./index-9bf19e54.js";import{aasyt,baswt}from"./index-02db9106.js";import{Basxt}from"./index-da3c4531.js";import{_askt,FasUt}from"./index-12b232e8.js";import{aasCt,_asIt}from"./index-53e81bb5.js";import{_asVt}from"./index-1e5db048.js";import{IasPt}from"./index-666e1a51.js";import{Uas$t}from"./index-b2be5cd6.js";import{Tasce}from"./isSymbol-0faad147.js";import{_asAt}from"./_plugin-vue_export-helper-3751a4c9.js";import"./index-a08f6658.js";import"./vnode-d8d89b8b.js";import"./updateLocale-63da7352.js";import"./shallowequal-311bf7d9.js";import"./useState-75e49d81.js";import"./useMemo-e6667500.js";import"./FormItemContext-d446a85f.js";import"./omit-09913e6a.js";import"./BaseSwitch.vue_vue_type_script_setup_true_lang-988f9693.js";import"./index-94f097c0.js";import"./Badge-64556311.js";import"./isNumeric-3f69e2aa.js";import"./index-a10a5cee.js";import"./index-d139af20.js";import"./index-f9445381.js";import"./textUtils-c37780ad.js";import"./supabaseTableQuery-9d743a53.js";import"./DialogWrap-1f925fe5.js";import"./pickAttrs-d12003ac.js";import"./styleChecker-cbf8a3c6.js";import"./SearchOutlined-2c05f948.js";import"./isPlainObject-fa7524bd.js";import"./index-6838bdc5.js";import"./index-fa5a0887.js";import"./css-aae66f86.js";import"./toArray-3323d384.js";import"./_flatRest-38d88d03.js";import"./Col-098f825e.js";import"./isMobile-e2e89480.js";import"./index-00238e03.js";import"./useRefs-14e054ef.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"},"