import{_asGe}from"./BasicModal.vue_vue_type_style_index_0_lang-19f7e884.js";import{_asXe,uasQe}from"./useBaseTable-b54f1011.js";import{_asYe}from"./button.vue_vue_type_style_index_0_lang-573c8178.js";import{Iasre}from"./Icon-51292ba8.js";import{tasZe}from"./useDataTime-ba303e4c.js";import{gasO,easH}from"./convert-2ad76038.js";import{_aspe}from"./TextPreview.vue_vue_type_script_setup_true_lang-ccf6e46b.js";import{uaset}from"./usePrice-bc935b83.js";import{easn,dastt,ias$,hasat,jasR,xaslt,pasit,oas_,casU,basp,wasr,fasL,lasX,Kasnt,nasV,FasK,kasA,qasQ,Gasf,Tasst,Rasot,Sasrt,Lasue,tasde}from"./index-85b0a871.js";import{gasut,uasdt,aasct,baspt,das_t}from"./products-806a123f.js";import{gasY}from"./index-51662c9e.js";import{gasmt}from"./category-1251934b.js";import{gasft}from"./brand-d72448cf.js";import{lasW}from"./lodash-a94f6ca6.js";import{Masvt,_asgt}from"./index-8e461858.js";import{Iasbt,basht}from"./index-a4749a4e.js";import{aasyt,baswt}from"./index-378e150b.js";import{Basxt}from"./index-0ad3a6e0.js";import{_askt,FasUt}from"./index-f5268db6.js";import{aasCt,_asIt}from"./index-7c9a6ce2.js";import{aasVt}from"./index-1e0c5a9f.js";import{IasPt}from"./index-b4546bfa.js";import{Uas$t}from"./index-75e74cba.js";import{Tasce}from"./isSymbol-f096d1f3.js";import{_asAt}from"./_plugin-vue_export-helper-7166b54f.js";import"./index-0bc12b2b.js";import"./vnode-67298ed6.js";import"./updateLocale-e1269d0e.js";import"./shallowequal-f73ccac4.js";import"./useState-dca0eb62.js";import"./useMemo-2d8f0e33.js";import"./FormItemContext-c3e7c21a.js";import"./omit-6e71f361.js";import"./BaseSwitch.vue_vue_type_script_setup_true_lang-9242d002.js";import"./index-a4228ed0.js";import"./Badge-6e22b582.js";import"./isNumeric-3f69e2aa.js";import"./index-f833d7e1.js";import"./index-d729d8f3.js";import"./index-f07edbcd.js";import"./textUtils-c37780ad.js";import"./supabaseTableQuery-c1fc4a72.js";import"./DialogWrap-31c1c17a.js";import"./pickAttrs-b5c2621e.js";import"./styleChecker-700d5c9b.js";import"./SearchOutlined-2119418f.js";import"./isPlainObject-3b96d88c.js";import"./index-13a23e48.js";import"./index-4f2f7002.js";import"./css-aae66f86.js";import"./toArray-ede1f933.js";import"./_flatRest-11159c04.js";import"./Col-2fd15786.js";import"./isMobile-e2e89480.js";import"./index-1a963bf1.js";import"./useRefs-77023e0a.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=>{constJ=O(b.record.original_image);returnn("img",{src:J,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"},Tt=h(()=>p("span",null,"حذف",-1)),Bt=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)),Ot=h(()=>p("div",{class:"text-gray-500 text-sm mt-1"}," برای ارسال با پیک (داخل تهران) هزینه در زمان تحویل دریافت میشود. ",-1)),Nt=h(()=>p("div",{class:"text-gray-500 text-sm mt-1"},"