import{_asGe}from"./BasicModal.vue_vue_type_style_index_0_lang-4d1ea47f.js";import{_asXe,uasQe}from"./useBaseTable-d1301015.js";import{_asYe,BasZe}from"./button.vue_vue_type_style_index_0_lang-6ea65175.js";import{Iasre}from"./Icon-2e314594.js";import{taset}from"./useDataTime-111e8cc7.js";import{gasR,easW}from"./convert-67c23be8.js";import{_aspe}from"./TextPreview.vue_vue_type_script_setup_true_lang-ea7cf47d.js";import{uastt}from"./usePrice-bc935b83.js";import{bass,dasat,gas$,raslt,hasO,vasnt,lasst,oas_,casx,aasp,wasr,easL,jasX,Gasit,kasV,FasH,iasA,nasQ,Dasf,Wasot,Jasrt,Kasut,Iasue,tasde}from"./index-eebfe383.js";import{gasdt,uasct,aaspt,bas_t,dasmt}from"./products-014e1f28.js";import{gasY}from"./index-e1f54e9b.js";import{gasft}from"./category-83d892e9.js";import{gasvt}from"./brand-aed4773d.js";import{lasJ}from"./lodash-669ae2a6.js";import{Masgt,_asbt}from"./index-431d5343.js";import{Iasht,_asyt}from"./index-2cb7a225.js";import{_aswt,aaskt}from"./index-3eb1599e.js";import{_asxt}from"./index-2d484bc3.js";import{_asUt,FasCt}from"./index-088b260f.js";import{_asIt,aasVt}from"./index-e42ee3a3.js";import{SasPt}from"./fa_IR-c04e2295.js";import{Uas$t}from"./index-222dc9ca.js";import{Tasce}from"./shallowequal-2c046990.js";import{_asAt}from"./_plugin-vue_export-helper-d79e14d1.js";import"./index-f7f60d5d.js";import"./vnode-796e6450.js";import"./styleChecker-63305807.js";import"./useState-80f6f092.js";import"./FormItemContext-7e98c0c3.js";import"./supabaseTableQuery-95762ff3.js";import"./pickAttrs-ed2aa5c0.js";import"./isPlainObject-e67232f0.js";import"./toArray-6174fc09.js";import"./Col-cce4481f.js";import"./useRefs-15659993.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);returns("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=>s(pe,{text:b.record.description},null)},{title:"قیمت (ریال)",dataIndex:"price",key:"price",align:"center",width:120,customRender:b=>tt(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=>et(b.record.created_at)},{title:"عملیات",dataIndex:"action",key:"action",slot:"action",filterable:!1,align:"center"}],U=b=>(rt("data-v-a48a5153"),b=b(),ut(),b),Mt={class:"flex justify-between items-center mb-4"},St=U(()=>p("h2",null,"محصولات",-1)),Ft={class:"gap-2 flex justify-center"},Bt=U(()=>p("span",null,"حذف",-1)),Dt=U(()=>p("span",null,"ویرایش",-1)),Tt={key:0,class:"text-gray-500 text-sm mt-1"},Ot=U(()=>p("div",{class:"text-gray-500 text-sm mt-1"}," حداکثر تعداد این محصول که کاربر در یک سفارش میتواند بخرد. ",-1)),Rt=U(()=>p("div",{class:"text-gray-500 text-sm mt-1"}," برای ارسال با پیک (داخل تهران) هزینه در زمان تحویل دریافت میشود. ",-1)),Nt=U(()=>p("div",{class:"text-gray-500 text-sm mt-1"}," برای ارسال با پیک (داخل تهران) هزینه در زمان تحویل دریافت میشود. ",-1)),qt=U(()=>p("div",{class:"text-gray-500 text-sm mt-1"}," حداکثر تعداد این محصول که کاربر در یک سفارش میتواند بخرد (مجموع همه تنوعها). ",-1)),zt={class:"col-span-full grid grid-cols-1 sm:grid-cols-2 gap-4"},Et={key:0},jt=U(()=>p("div",{style:{"margin-top":"8px"}},"آپلود",-1)),Wt=U(()=>p("div",null,"آپلود فایلها",-1)),Ht={class:"space-y-2"},Jt={class:"flex justify-between items-center gap-2 mb-2"},Kt={class:"text-sm text-gray-500"},Gt={key:3,class:"text-amber-6