Files
machartaa_admin_dist/dist/assets/index-87e753fe.js
T

2 lines
29 KiB
JavaScript
Raw Normal View History

2026-08-19 11:15:51 +03:30
import{_ as Xe}from"./BasicModal.vue_vue_type_style_index_0_lang-31a77bff.js";import{_ as Ge,u as Qe}from"./useBaseTable-53dd99af.js";import{_ as Ye}from"./button.vue_vue_type_style_index_0_lang-bfd9fcfc.js";import{I as re}from"./Icon-49e380f5.js";import{t as Ze}from"./useDataTime-3763aaa9.js";import{g as R,e as H}from"./convert-2ad76038.js";import{_ as pe}from"./TextPreview.vue_vue_type_script_setup_true_lang-35783eaf.js";import{u as et}from"./usePrice-bc935b83.js";import{b as n,d as tt,g as $,r as at,h as O,v as lt,l as it,o as _,c as U,a as p,w as r,e as L,j as G,H as nt,k as V,F as W,i as A,n as Q,D as f,bC as st,O as ot,P as rt,I as ue,t as de}from"./index-bfe458ac.js";import{g as ut,u as dt,a as ct,b as pt,d as _t}from"./products-6b7c77a7.js";import{g as Y}from"./index-32a06c2d.js";import{g as mt}from"./category-78f05554.js";import{g as ft}from"./brand-69ca918e.js";import{l as J}from"./lodash-6ccdc7c6.js";import{M as vt,_ as gt}from"./index-30f4723a.js";import{I as bt,b as ht}from"./index-3a7846ee.js";import{a as yt,b as wt}from"./index-f9fac6a3.js";import{I as xt}from"./index-9440f007.js";import{B as kt}from"./index-866ab3cc.js";import{_ as Ut,F as Ct}from"./index-42759bd8.js";import{a as It,_ as Vt}from"./index-61da12ec.js";import{a as Pt}from"./index-d61dbb2f.js";import{U as $t}from"./index-3c17cc81.js";import{T as ce}from"./isSymbol-0bccfc01.js";import{_ as At}from"./_plugin-vue_export-helper-67599eab.js";import"./index-a231d930.js";import"./vnode-d4498b2d.js";import"./updateLocale-01f6a4ae.js";import"./index-bc659f42.js";import"./shallowequal-58ae19a4.js";import"./useState-28dabf70.js";import"./useMemo-c07be216.js";import"./FormItemContext-50ffb9a1.js";import"./omit-31473f11.js";import"./BaseSwitch.vue_vue_type_script_setup_true_lang-5abef7b1.js";import"./index-24b7e322.js";import"./Badge-2d408009.js";import"./isNumeric-3f69e2aa.js";import"./index-231f7c05.js";import"./index-d162d812.js";import"./index-d3413392.js";import"./textUtils-c37780ad.js";import"./supabaseTableQuery-8ab5665d.js";import"./DialogWrap-f94b796f.js";import"./pickAttrs-c1604177.js";import"./styleChecker-8e2e8c57.js";import"./SearchOutlined-2adda210.js";import"./isPlainObject-d0372073.js";import"./index-78c7f5e8.js";import"./index-d6fc1ec7.js";import"./css-aae66f86.js";import"./toArray-54bd8d35.js";import"./isMobile-e2e89480.js";import"./_flatRest-e19970cd.js";import"./Col-37dd3be5.js";import"./index-7bc50da0.js";import"./useRefs-7ed7974b.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-c0be5c78"),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