Files
machartaa_admin_dist/dist/assets/index-53b226d6.js
T

2 lines
29 KiB
JavaScript
Raw Normal View History

2026-08-17 13:34:14 +03:30
import{_ as Xe}from"./BasicModal.vue_vue_type_style_index_0_lang-050248e0.js";import{_ as Ge,u as Qe}from"./useBaseTable-a962a6e3.js";import{_ as Ye}from"./button.vue_vue_type_style_index_0_lang-cf170adf.js";import{I as re}from"./Icon-21c28098.js";import{t as Ze}from"./useDataTime-64353302.js";import{g as R,e as H}from"./convert-2ad76038.js";import{_ as pe}from"./TextPreview.vue_vue_type_script_setup_true_lang-c64dd012.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-e0c2af95.js";import{g as ut,u as dt,a as ct,b as pt,d as _t}from"./products-46485f34.js";import{g as Y}from"./index-4c1c1287.js";import{g as mt}from"./category-8b2b638d.js";import{g as ft}from"./brand-6bd1ce6c.js";import{l as J}from"./lodash-7e5e5813.js";import{M as vt,_ as gt}from"./index-ba1a268c.js";import{I as bt,b as ht}from"./index-ff6425ec.js";import{a as yt,b as wt}from"./index-777eb3d4.js";import{I as xt}from"./index-c6372825.js";import{B as kt}from"./index-ccf41683.js";import{_ as Ut,F as Ct}from"./index-3f95615f.js";import{a as It,_ as Vt}from"./index-d7731afc.js";import{a as Pt}from"./index-71bd3b00.js";import{U as $t}from"./index-75e285c0.js";import{T as ce}from"./isSymbol-16519357.js";import{_ as At}from"./_plugin-vue_export-helper-ede5981c.js";import"./index-55df0a19.js";import"./vnode-1d9a5f19.js";import"./updateLocale-ddc4d420.js";import"./index-bc659f42.js";import"./shallowequal-94cf06f1.js";import"./useState-9f37179f.js";import"./useMemo-8582dbbb.js";import"./FormItemContext-31ef74d8.js";import"./omit-ef5483a7.js";import"./BaseSwitch.vue_vue_type_script_setup_true_lang-751e37cd.js";import"./index-3be03c15.js";import"./Badge-0df70937.js";import"./isNumeric-3f69e2aa.js";import"./index-beff19b5.js";import"./index-77288b74.js";import"./index-f062f0ac.js";import"./index-4a6bfbb1.js";import"./textUtils-c37780ad.js";import"./supabaseTableQuery-8ab5665d.js";import"./DialogWrap-3bd23522.js";import"./pickAttrs-e6a1c834.js";import"./styleChecker-fa192349.js";import"./SearchOutlined-9dbd40a5.js";import"./isPlainObject-475d5f63.js";import"./index-89e8edb2.js";import"./index-329abdc2.js";import"./css-aae66f86.js";import"./toArray-590d8ecb.js";import"./isMobile-e2e89480.js";import"./_flatRest-7f56bd12.js";import"./Col-f312538f.js";import"./index-fdf98d11.js";import"./useRefs-f2d2b66f.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))