import{_asXe}from"./BasicModal.vue_vue_type_style_index_0_lang-6296deb9.js";import{_asGe,uasQe}from"./useBaseTable-e18d3b32.js";import{_asYe}from"./button.vue_vue_type_style_index_0_lang-fbfa965d.js";import{Iasre}from"./Icon-671f08f9.js";import{tasZe}from"./useDataTime-206d8d2e.js";import{gasR,easH}from"./convert-2ad76038.js";import{_aspe}from"./TextPreview.vue_vue_type_script_setup_true_lang-25d2a150.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-c678e119.js";import{gasut,uasdt,aasct,baspt,das_t}from"./products-d87b587c.js";import{gasY}from"./index-af384b16.js";import{gasmt}from"./category-cfc3b675.js";import{gasft}from"./brand-50010cbc.js";import{lasJ}from"./lodash-2343a0ae.js";import{Masvt,_asgt}from"./index-66da2c76.js";import{Iasbt,basht}from"./index-e517c667.js";import{aasyt,baswt}from"./index-05e85885.js";import{Basxt}from"./index-c5016c96.js";import{_askt,FasUt}from"./index-679d69b0.js";import{aasCt,_asIt}from"./index-2a1871d2.js";import{_asVt}from"./index-01af60d8.js";import{IasPt}from"./index-da91aa99.js";import{Uas$t}from"./index-ff90b762.js";import{Tasce}from"./isSymbol-5130882b.js";import{_asAt}from"./_plugin-vue_export-helper-edd5ed68.js";import"./index-5203b45e.js";import"./vnode-34fe2aaf.js";import"./updateLocale-e9df593e.js";import"./shallowequal-93b92d94.js";import"./useState-fb1fd992.js";import"./useMemo-3527b8f5.js";import"./FormItemContext-53695780.js";import"./omit-30cc2465.js";import"./BaseSwitch.vue_vue_type_script_setup_true_lang-0d6b57d1.js";import"./index-064013c2.js";import"./Badge-b566fed9.js";import"./isNumeric-3f69e2aa.js";import"./index-d768dcac.js";import"./index-ea10bb13.js";import"./index-31ed7972.js";import"./textUtils-c37780ad.js";import"./supabaseTableQuery-e9feb810.js";import"./DialogWrap-0297f46d.js";import"./pickAttrs-09168c62.js";import"./styleChecker-c202e4d7.js";import"./SearchOutlined-445bfd70.js";import"./isPlainObject-2f8cd8cc.js";import"./index-d80ea252.js";import"./index-27b4bb6d.js";import"./css-aae66f86.js";import"./toArray-acd138e5.js";import"./_flatRest-89cece1c.js";import"./Col-65d77001.js";import"./isMobile-e2e89480.js";import"./index-e3658ae2.js";import"./useRefs-d469f03d.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-15937811"),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"},"