import{_asXe}from"./BasicModal.vue_vue_type_style_index_0_lang-aed8f5e4.js";import{_asGe,uasQe}from"./useBaseTable-e7a67916.js";import{_asYe}from"./button.vue_vue_type_style_index_0_lang-f90e25b2.js";import{Iasre}from"./Icon-29e38d16.js";import{tasZe}from"./useDataTime-6e234adb.js";import{gasN,easH}from"./convert-2ad76038.js";import{_aspe}from"./TextPreview.vue_vue_type_script_setup_true_lang-c3abc1fa.js";import{uaset}from"./usePrice-bc935b83.js";import{easn,dastt,ias$,hasat,jasR,xaslt,pasit,oas_,casU,basp,wasr,fasM,lasG,Rasnt,nasV,FasW,kasA,qasQ,Hasf,Uasst,Masot,Nasrt,Sasue,tasde}from"./index-1ba0f9ec.js";import{gasut,uasdt,aasct,baspt,das_t}from"./products-4c984bbc.js";import{gasY}from"./index-c4537a3b.js";import{gasmt}from"./category-d686bbd5.js";import{gasft}from"./brand-df9b312b.js";import{lasJ}from"./lodash-27f814e6.js";import{Masvt,_asgt}from"./index-ec322234.js";import{Iasbt,basht}from"./index-aafc0fe2.js";import{aasyt,baswt}from"./index-e22339b6.js";import{Basxt}from"./index-8f2b7e91.js";import{_askt,FasUt}from"./index-83b891e2.js";import{aasCt,_asIt}from"./index-c136a321.js";import{_asVt}from"./index-e0664925.js";import{IasPt}from"./index-f847a367.js";import{Uas$t}from"./index-f4084f09.js";import{Tasce}from"./isSymbol-355a1404.js";import{_asAt}from"./_plugin-vue_export-helper-31e07528.js";import"./index-4bff02a6.js";import"./vnode-c4e67237.js";import"./updateLocale-a8654270.js";import"./shallowequal-e0d9eafb.js";import"./useState-dcd360f8.js";import"./useMemo-ee45fb46.js";import"./FormItemContext-33ef1221.js";import"./omit-f5d28cd3.js";import"./BaseSwitch.vue_vue_type_script_setup_true_lang-36a1ea6e.js";import"./index-c8127d4e.js";import"./Badge-8a8eeb58.js";import"./isNumeric-3f69e2aa.js";import"./index-a8579634.js";import"./index-73cafb1e.js";import"./index-175b83cf.js";import"./textUtils-c37780ad.js";import"./supabaseTableQuery-e0472e9c.js";import"./DialogWrap-394d7eb0.js";import"./pickAttrs-0ddf9a54.js";import"./styleChecker-19ce40ea.js";import"./SearchOutlined-95278fe5.js";import"./isPlainObject-e945bc1f.js";import"./index-876da578.js";import"./index-3f6d5caa.js";import"./LeftOutlined-93011b30.js";import"./css-aae66f86.js";import"./toArray-41940180.js";import"./_flatRest-7877cdf8.js";import"./Col-f8806a10.js";import"./isMobile-e2e89480.js";import"./index-65e13d19.js";import"./useRefs-5e33302c.js";constMt=[{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=N(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),Lt={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"},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"}," برای ارسال با پیک (داخل تهران) هزینه در زمان تحویل دریافت میشود. ",-1)),Ot=h(()=>p("div",{cla