Files

2 lines
30 KiB
JavaScript
Raw Permalink Normal View History

2026-10-20 16:52:05 +03:30
import{_ as Xe}from"./BasicModal.vue_vue_type_style_index_0_lang-aed8f5e4.js";import{_ as Ge,u as Qe}from"./useBaseTable-e7a67916.js";import{_ as Ye}from"./button.vue_vue_type_style_index_0_lang-f90e25b2.js";import{I as re}from"./Icon-29e38d16.js";import{t as Ze}from"./useDataTime-6e234adb.js";import{g as N,e as H}from"./convert-2ad76038.js";import{_ as pe}from"./TextPreview.vue_vue_type_script_setup_true_lang-c3abc1fa.js";import{u as et}from"./usePrice-bc935b83.js";import{e as n,d as tt,i as $,h as at,j as R,x as lt,p as it,o as _,c as U,b as p,w as r,f as M,l as G,R as nt,n as V,F as W,k as A,q as Q,H as f,U as st,M as ot,N as rt,S as ue,t as de}from"./index-1ba0f9ec.js";import{g as ut,u as dt,a as ct,b as pt,d as _t}from"./products-4c984bbc.js";import{g as Y}from"./index-c4537a3b.js";import{g as mt}from"./category-d686bbd5.js";import{g as ft}from"./brand-df9b312b.js";import{l as J}from"./lodash-27f814e6.js";import{M as vt,_ as gt}from"./index-ec322234.js";import{I as bt,b as ht}from"./index-aafc0fe2.js";import{a as yt,b as wt}from"./index-e22339b6.js";import{B as xt}from"./index-8f2b7e91.js";import{_ as kt,F as Ut}from"./index-83b891e2.js";import{a as Ct,_ as It}from"./index-c136a321.js";import{_ as Vt}from"./index-e0664925.js";import{I as Pt}from"./index-f847a367.js";import{U as $t}from"./index-f4084f09.js";import{T as ce}from"./isSymbol-355a1404.js";import{_ as At}from"./_plugin-vue_export-helper-31e07528.js";import"./index-4bff02a6.js";import"./vnode-c4e67237.js";import"./updateLocale-a8654270.js";import"./shallowequal-e0d9eafb.js";import"./useState-dcd360f8.js";import"./useMemo-ee45fb46.js";import"./FormItemContext-33ef1221.js";import"./omit-f5d28cd3.js";import"./BaseSwitch.vue_vue_type_script_setup_true_lang-36a1ea6e.js";import"./index-c8127d4e.js";import"./Badge-8a8eeb58.js";import"./isNumeric-3f69e2aa.js";import"./index-a8579634.js";import"./index-73cafb1e.js";import"./index-175b83cf.js";import"./textUtils-c37780ad.js";import"./supabaseTableQuery-e0472e9c.js";import"./DialogWrap-394d7eb0.js";import"./pickAttrs-0ddf9a54.js";import"./styleChecker-19ce40ea.js";import"./SearchOutlined-95278fe5.js";import"./isPlainObject-e945bc1f.js";import"./index-876da578.js";import"./index-3f6d5caa.js";import"./LeftOutlined-93011b30.js";import"./css-aae66f86.js";import"./toArray-41940180.js";import"./_flatRest-7877cdf8.js";import"./Col-f8806a10.js";import"./isMobile-e2e89480.js";import"./index-65e13d19.js";import"./useRefs-5e33302c.js";const Mt=[{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=N(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),Lt={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"},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"}," برای ارسال با پیک (داخل تهران) هزینه در زمان تحویل دریافت می‌شود. ",-1)),Ot=h(()=>p("div",{cla