2 lines
30 KiB
JavaScript
2 lines
30 KiB
JavaScript
import{_ as Xe}from"./BasicModal.vue_vue_type_style_index_0_lang-f76fec1b.js";import{_ as Ge,u as Qe}from"./useBaseTable-45427402.js";import{_ as Ye}from"./button.vue_vue_type_style_index_0_lang-e7cef717.js";import{I as re}from"./Icon-b8613529.js";import{t as Ze}from"./useDataTime-7db5a46b.js";import{g as R,e as H}from"./convert-2ad76038.js";import{_ as pe}from"./TextPreview.vue_vue_type_script_setup_true_lang-a779e657.js";import{u as et}from"./usePrice-bc935b83.js";import{e as n,d as tt,i as $,h as at,j as O,x as lt,p as it,o as _,c as U,b as p,w as r,f as L,l as G,L as nt,n as V,F as W,k as A,q as Q,H as f,O as st,U as ot,V as rt,M as ue,t as de}from"./index-166b4ef1.js";import{g as ut,u as dt,a as ct,b as pt,d as _t}from"./products-304c57a8.js";import{g as Y}from"./index-b9bbd6f2.js";import{g as mt}from"./category-52bfb93c.js";import{g as ft}from"./brand-3dee5863.js";import{l as J}from"./lodash-593efeb6.js";import{M as vt,_ as gt}from"./index-58b86fb2.js";import{I as bt,b as ht}from"./index-7005b758.js";import{a as yt,b as wt}from"./index-1465c5c8.js";import{B as xt}from"./index-08810a1f.js";import{_ as kt,F as Ut}from"./index-f98d2511.js";import{a as Ct,_ as It}from"./index-b6f0378e.js";import{_ as Vt}from"./index-3ad11dd3.js";import{I as Pt}from"./index-c9d85039.js";import{U as $t}from"./index-6c7cbb7d.js";import{T as ce}from"./isSymbol-c953ccc2.js";import{_ as At}from"./_plugin-vue_export-helper-e5be29c6.js";import"./index-de862045.js";import"./vnode-c85f1a09.js";import"./updateLocale-6eb93789.js";import"./shallowequal-78a96afc.js";import"./useState-43a565ec.js";import"./useMemo-99a24173.js";import"./FormItemContext-0e89b3aa.js";import"./omit-55909a9d.js";import"./BaseSwitch.vue_vue_type_script_setup_true_lang-6e462f47.js";import"./index-8bcb6210.js";import"./Badge-a3c7a3a7.js";import"./isNumeric-3f69e2aa.js";import"./index-ad625a72.js";import"./index-011e0893.js";import"./index-991e4e35.js";import"./textUtils-c37780ad.js";import"./supabaseTableQuery-41e25409.js";import"./DialogWrap-88ddfe3e.js";import"./pickAttrs-5cd7ef1f.js";import"./styleChecker-2eddf97d.js";import"./SearchOutlined-3d6399d7.js";import"./isPlainObject-ed4c9976.js";import"./index-75be736e.js";import"./index-7f046693.js";import"./css-aae66f86.js";import"./toArray-cf38ce67.js";import"./_flatRest-ae97161b.js";import"./Col-6dc2da7a.js";import"./isMobile-e2e89480.js";import"./index-dfddf43f.js";import"./useRefs-ca4d56b6.js";const Lt=[{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=>{const K=R(b.record.original_image);return n("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-e0de308b"),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)),Tt=h(()=>p("span",null,"ویرایش",-1)),Dt={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:"text-gray-500 text-sm mt-1"},"
|