import{_asXe}from"./BasicModal.vue_vue_type_style_index_0_lang-08631e1f.js";import{_asGe,uasQe}from"./useBaseTable-35c09794.js";import{_asYe,BasZe}from"./button.vue_vue_type_style_index_0_lang-31b8c709.js";import{Iasre}from"./Icon-609aee4f.js";import{taset}from"./useDataTime-ec88cb93.js";import{gasO,easH}from"./convert-2ad76038.js";import{_aspe}from"./TextPreview.vue_vue_type_script_setup_true_lang-9d21654a.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,nasQ,Dasf,bzasot,Masrt,Nasut,Iasue,tasde}from"./index-f83afa83.js";import{gasdt,uasct,aaspt,bas_t,dasmt}from"./products-62d4b3f7.js";import{gasY}from"./index-c631762e.js";import{gasft}from"./category-3b9bdcc0.js";import{gasvt}from"./brand-a191b6c0.js";import{lasJ}from"./lodash-9cdfb703.js";import{Masgt,_asbt}from"./index-3629c53a.js";import{Iasht,basyt}from"./index-9ed19f90.js";import{_aswt,aasxt}from"./index-153b0631.js";import{Iaskt}from"./index-1e56b9b8.js";import{_asUt,FasCt}from"./index-f4b3cae1.js";import{aasIt,_asVt}from"./index-f689ef62.js";import{aasPt}from"./index-61bd569f.js";import{Uas$t}from"./index-40541373.js";import{Tasce}from"./isSymbol-f9c07e2c.js";import{_asAt}from"./_plugin-vue_export-helper-80a5082a.js";import"./index-7ecf6c96.js";import"./vnode-e926a3eb.js";import"./updateLocale-d52ee507.js";import"./index-bc659f42.js";import"./index-ded70d29.js";import"./omit-ae23cd95.js";import"./useState-625932fe.js";import"./FormItemContext-67a3c113.js";import"./BaseSwitch.vue_vue_type_script_setup_true_lang-c0954ef2.js";import"./index-47b7a44a.js";import"./Badge-620905ae.js";import"./isNumeric-3f69e2aa.js";import"./index-154081bf.js";import"./index-8ebfa00d.js";import"./textUtils-c37780ad.js";import"./supabaseTableQuery-95762ff3.js";import"./DialogWrap-013dcf14.js";import"./pickAttrs-28bc4968.js";import"./styleChecker-332a56da.js";import"./isPlainObject-817b53c6.js";import"./index-b73e4f45.js";import"./css-aae66f86.js";import"./toArray-f1361def.js";import"./_flatRest-9ee7426b.js";import"./Col-76e0d7be.js";import"./useRefs-e95ce64b.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"},"حداکثر