import{_asXe}from"./BasicModal.vue_vue_type_style_index_0_lang-ca4aa0a6.js";import{_asGe,uasQe}from"./useBaseTable-8eb27015.js";import{_asYe}from"./button.vue_vue_type_style_index_0_lang-b7b1a519.js";import{Iasre}from"./Icon-82f6c95b.js";import{tasZe}from"./useDataTime-785ab201.js";import{gasR,easH}from"./convert-2ad76038.js";import{_aspe}from"./TextPreview.vue_vue_type_script_setup_true_lang-9c9e9766.js";import{uaset}from"./usePrice-bc935b83.js";import{basn,dastt,gas$,rasat,hasO,vaslt,lasit,oas_,casU,aasp,wasr,easL,jasG,Hasnt,kasV,FasW,iasA,nasQ,Dasf,bCasst,Oasot,Pasrt,Iasue,tasde}from"./index-b279599b.js";import{gasut,uasdt,aasct,baspt,das_t}from"./products-a209daa8.js";import{gasY}from"./index-f0a024ec.js";import{gasmt}from"./category-0c47c002.js";import{gasft}from"./brand-c4624a62.js";import{lasJ}from"./lodash-98c01373.js";import{Masvt,_asgt}from"./index-9c450bf9.js";import{Iasbt,basht}from"./index-e626bdbb.js";import{aasyt,baswt}from"./index-076900a0.js";import{Iasxt}from"./index-1f71a015.js";import{Baskt}from"./index-9879659d.js";import{_asUt,FasCt}from"./index-1fd3daba.js";import{aasIt,_asVt}from"./index-60598d32.js";import{aasPt}from"./index-6707c586.js";import{Uas$t}from"./index-98405404.js";import{Tasce}from"./isSymbol-4b8c1f3e.js";import{_asAt}from"./_plugin-vue_export-helper-f38a7ea6.js";import"./index-86478c3f.js";import"./vnode-cc30a5f9.js";import"./updateLocale-1fd95539.js";import"./index-bc659f42.js";import"./shallowequal-59da3a36.js";import"./useState-588c2312.js";import"./useMemo-39d0bfae.js";import"./FormItemContext-a76fbf7e.js";import"./omit-4c59a877.js";import"./BaseSwitch.vue_vue_type_script_setup_true_lang-62e181b5.js";import"./index-7dd4f08a.js";import"./Badge-2dd91e64.js";import"./isNumeric-3f69e2aa.js";import"./index-cb1dea06.js";import"./index-cce68701.js";import"./index-2f258009.js";import"./textUtils-c37780ad.js";import"./supabaseTableQuery-8ab5665d.js";import"./DialogWrap-a7021269.js";import"./pickAttrs-7db0f563.js";import"./styleChecker-e8fc6c1f.js";import"./SearchOutlined-3414d521.js";import"./isPlainObject-093495b2.js";import"./index-624f47cc.js";import"./index-5f5b359c.js";import"./css-aae66f86.js";import"./toArray-b7e6b8ed.js";import"./isMobile-e2e89480.js";import"./_flatRest-cb9a1464.js";import"./Col-c7dcaed0.js";import"./index-de855912.js";import"./useRefs-72c4a0da.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-43c06236"),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)),Dt=h(()=>p("span",null,"ویرایش",-1)),Tt={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:"te