Files
machartaa_admin_dist/dist/assets/index-8bba0b51.js
T

2 lines
29 KiB
JavaScript
Raw Normal View History

2026-07-08 14:38:52 +03:30
import{_ as Xe}from"./BasicModal.vue_vue_type_style_index_0_lang-36072897.js";import{_ as Ge,u as Qe}from"./useBaseTable-d491ffe5.js";import{_ as Ye,B as Ze}from"./button.vue_vue_type_style_index_0_lang-3a790820.js";import{I as re}from"./Icon-58829394.js";import{t as et}from"./useDataTime-f9f596b1.js";import{g as R,e as H}from"./convert-67c23be8.js";import{_ as pe}from"./TextPreview.vue_vue_type_script_setup_true_lang-5992971e.js";import{u as tt}from"./usePrice-bc935b83.js";import{b as s,d as at,g as $,r as lt,h as O,v as nt,l as st,o as _,c as U,a as p,w as r,e as L,j as G,G as it,k as V,F as W,i as A,n as Q,D as f,X as ot,L as rt,M as ut,I as ue,t as de}from"./index-ffafd876.js";import{g as dt,u as ct,a as pt,b as _t,d as mt}from"./products-0e9027d3.js";import{g as Y}from"./index-787713b7.js";import{g as ft}from"./category-5d15df32.js";import{g as vt}from"./brand-3395b77b.js";import{l as J}from"./lodash-ab9f2acd.js";import{M as gt,_ as bt}from"./index-93c9f6b7.js";import{I as ht,_ as yt}from"./index-1e605be8.js";import{_ as wt,a as xt}from"./index-0bd19c4c.js";import{I as kt}from"./index-d9f03c02.js";import{_ as Ut,F as Ct}from"./index-834c4847.js";import{_ as It,a as Vt}from"./index-437fa868.js";import{S as Pt}from"./fa_IR-b2b727da.js";import{U as $t}from"./index-48409291.js";import{T as ce}from"./shallowequal-ca58cb6e.js";import{_ as At}from"./_plugin-vue_export-helper-e7197a51.js";import"./index-40f87837.js";import"./vnode-0b63e783.js";import"./styleChecker-b4f2d4f9.js";import"./useState-41f6d092.js";import"./FormItemContext-390ff43d.js";import"./css-b16a4085.js";import"./DialogWrap-b6912a28.js";import"./pickAttrs-dfe23605.js";import"./textUtils-c37780ad.js";import"./supabaseTableQuery-95762ff3.js";import"./isPlainObject-d7ef5141.js";import"./toArray-ae59f6f3.js";import"./_flatRest-914a1e1b.js";import"./Col-3ad70221.js";import"./useRefs-7c3186e8.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 s("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=>s(pe,{text:b.record.description},null)},{title:"قیمت (ریال)",dataIndex:"price",key:"price",align:"center",width:120,customRender:b=>tt(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=>et(b.record.created_at)},{title:"عملیات",dataIndex:"action",key:"action",slot:"action",filterable:!1,align:"center"}],h=b=>(rt("data-v-c0be5c78"),b=b(),ut(),b),Mt={class:"flex justify-between items-center mb-4"},St=h(()=>p("h2",null,"محصولات",-1)),Ft={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:"text-gray-500 text-sm mt-1"}," برای ارسال با پیک (داخل تهران) هزینه در زمان تحویل دریافت می‌شود. ",-1)),qt=h(()=>p("div",{class:"text-gray-500 text-sm mt-1"}," حداکثر تعداد این محصول که کاربر در یک سفارش می‌تواند بخرد (مجموع همه تنوع‌ها). ",-1)),zt={class:"col-span-full grid grid-cols-1 sm:grid-cols-2 gap-4"},Et={key:0},jt=h(()=>p("div",{style:{"margin-top":"8px"}},"آپلود",-1)),Ht=h(()=>p("div",null,"آپلود فایل‌ها",-1)),Wt={class:"space-y-2"}