import{_asXe}from"./BasicModal.vue_vue_type_style_index_0_lang-7cc4ab5d.js";import{_asGe,uasQe}from"./useBaseTable-01dc558f.js";import{_asYe}from"./button.vue_vue_type_style_index_0_lang-86273660.js";import{Iasre}from"./Icon-cc126d0d.js";import{tasZe}from"./useDataTime-5a09f654.js";import{gasO,easH}from"./convert-2ad76038.js";import{_aspe}from"./TextPreview.vue_vue_type_script_setup_true_lang-2590f9d7.js";import{uaset}from"./usePrice-bc935b83.js";import{basn,dastt,gas$,rasat,hasR,vaslt,lasit,oas_,casU,aasp,wasr,easL,jasG,Jasnt,kasV,FasJ,iasA,nasQ,Dasf,Sasst,Qasot,Rasrt,Kasue,tasde}from"./index-d718011e.js";import{gasut,uasdt,aasct,baspt,das_t}from"./products-58ebd9bf.js";import{gasY}from"./index-18640d9e.js";import{gasmt}from"./category-f730e2a6.js";import{gasft}from"./brand-a10fcf4d.js";import{lasK}from"./lodash-02d12c59.js";import{Masvt,_asgt}from"./index-eb860757.js";import{Iasbt,basht}from"./index-ba4d9879.js";import{aasyt,baswt}from"./index-6fc61bbd.js";import{Iasxt}from"./index-329b98f6.js";import{Baskt}from"./index-12b8b726.js";import{_asUt,FasCt}from"./index-7a1bd658.js";import{aasIt,_asVt}from"./index-44f8c87e.js";import{aasPt}from"./index-4e5c2990.js";import{Uas$t}from"./index-c895ada9.js";import{Tasce}from"./isSymbol-e219d64b.js";import{_asAt}from"./_plugin-vue_export-helper-0ed48b96.js";import"./index-5ade1644.js";import"./vnode-0b482026.js";import"./updateLocale-dac04afb.js";import"./shallowequal-c9e151d3.js";import"./useState-d226846a.js";import"./useMemo-9e09b0c8.js";import"./FormItemContext-6bb05345.js";import"./omit-86fc1094.js";import"./BaseSwitch.vue_vue_type_script_setup_true_lang-e23cf95b.js";import"./index-cbb71dc1.js";import"./Badge-bf61afe1.js";import"./isNumeric-3f69e2aa.js";import"./index-9747fd4d.js";import"./index-7eae579c.js";import"./index-7a44352f.js";import"./textUtils-c37780ad.js";import"./supabaseTableQuery-bada93b0.js";import"./DialogWrap-944b6cdf.js";import"./pickAttrs-49bc9c67.js";import"./styleChecker-351d08aa.js";import"./SearchOutlined-31f9ef0b.js";import"./isPlainObject-63126d02.js";import"./index-59898946.js";import"./index-5b828516.js";import"./css-aae66f86.js";import"./toArray-02b8a08a.js";import"./isMobile-e2e89480.js";import"./_flatRest-e8ea393e.js";import"./Col-7aad654b.js";import"./index-a2e0d559.js";import"./useRefs-373e2aeb.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=>{constW=O(b.record.original_image);returnn("img",{src:W,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"},Bt=h(()=>p("span",null,"حذف",-1)),Dt=h(()=>p("span",null,"ویرایش",-1)),Tt={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"},"