import{_asXe}from"./BasicModal.vue_vue_type_style_index_0_lang-d3e2b6d9.js";import{_asGe,uasYe}from"./useBaseTable-2c12f999.js";import{_asQe,BasZe}from"./button.vue_vue_type_style_index_0_lang-0f677bfc.js";import{Iasre}from"./Icon-01a88edc.js";import{taset}from"./useDataTime-2e34f996.js";import{gasO,easH}from"./convert-2ad76038.js";import{_aspe}from"./TextPreview.vue_vue_type_script_setup_true_lang-80e83b4a.js";import{uastt}from"./usePrice-bc935b83.js";import{bass,dasat,gas$,raslt,hasN,vasnt,lasst,oas_,casU,aasp,wasr,easM,jasG,Hasit,kasV,FasW,iasA,nasY,Dasf,Yasot,Masrt,Nasut,Iasue,tasde}from"./index-25cd5b63.js";import{gasdt,uasct,aaspt,bas_t,dasmt}from"./products-3017069b.js";import{gasQ}from"./index-41d6370d.js";import{gasft}from"./category-e95d0f2a.js";import{gasvt}from"./brand-39e35528.js";import{lasJ}from"./lodash-6b23de74.js";import{Masgt,_asbt}from"./index-b02fc407.js";import{Iasht,aasyt}from"./index-27d91bcb.js";import{_aswt,aasxt}from"./index-e45ca121.js";import{Iaskt}from"./index-1121396d.js";import{_asUt,FasCt}from"./index-a77b6e96.js";import{_asIt,aasVt}from"./index-215d9d0e.js";import{aasPt}from"./updateLocale-0fa6d737.js";import{Uas$t}from"./index-fa98773a.js";import{Tasce}from"./isSymbol-77c00ba0.js";import{_asAt}from"./_plugin-vue_export-helper-8d8742f4.js";import"./index-517534fa.js";import"./vnode-f0cfc776.js";import"./useState-d0b157bd.js";import"./FormItemContext-98c099ed.js";import"./css-19df7134.js";import"./DialogWrap-5bf5c8bc.js";import"./pickAttrs-e75df291.js";import"./textUtils-c37780ad.js";import"./supabaseTableQuery-95762ff3.js";import"./styleChecker-8ac93962.js";import"./isPlainObject-8b65ef77.js";import"./toArray-0e67c9de.js";import"./_flatRest-93154856.js";import"./Col-cf6eff58.js";import"./useRefs-50f31a64.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=O(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"}],h=b=>(rt("data-v-c0be5c78"),b=b(),ut(),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)),Dt=h(()=>p("span",null,"ویرایش",-1)),Tt={key:0,class:"text-gray-500 text-sm mt-1"},Nt=h(()=>p("div",{class:"text-gray-500 text-sm mt-1"}," حداکثر تعداد این محصول که کاربر در یک سفارش میتواند بخرد. ",-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)),qt=h(()=>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=h(()=>p("div",{style:{"margin-top":"8px"}},"آپلود",-1)),Ht=h(()=>p("div",null,"آپلود فایلها",-1)),Wt={class:"space-y-