Files
machartaa_admin_dist/dist/assets/index-6be58667.js
T

2 lines
26 KiB
JavaScript
Raw Normal View History

2026-06-18 20:24:23 +03:30
import{_ as Ke}from"./BasicModal.vue_vue_type_style_index_0_lang-2c965652.js";import{_ as We,u as Xe}from"./useBaseTable-e8654654.js";import{_ as Ge,B as Qe}from"./button.vue_vue_type_style_index_0_lang-61c18c46.js";import{I as re}from"./Icon-b952e603.js";import{t as Ye}from"./useDataTime-6319c12a.js";import{g as R,e as H}from"./convert-67c23be8.js";import{_ as pe}from"./TextPreview.vue_vue_type_script_setup_true_lang-375dd543.js";import{u as Ze}from"./usePrice-bc935b83.js";import{b as s,d as et,g as V,r as tt,h as O,v as at,l as lt,o as v,c as x,a as f,w as r,e as $,j as G,G as nt,k as A,F as J,i as S,n as Q,D as m,X as st,J as it,K as ot,H as ue,t as de}from"./index-fe7e9f3a.js";import{g as rt,u as ut,a as dt,b as ct,d as pt}from"./products-f4f303c3.js";import{g as Y}from"./index-9a272e1e.js";import{g as _t}from"./category-d472a603.js";import{g as mt}from"./brand-b6384993.js";import{l as K}from"./lodash-7b4e0250.js";import{M as ft,_ as vt}from"./index-4bebce71.js";import{I as gt,_ as bt}from"./index-6e5ff446.js";import{_ as ht,a as yt}from"./index-63f18912.js";import{_ as wt}from"./index-31d2585e.js";import{_ as kt,F as xt}from"./index-9caf69a4.js";import{_ as Ut,a as Ct}from"./index-265527df.js";import{S as It}from"./fa_IR-23a1f71d.js";import{U as Vt}from"./index-207b9df5.js";import{T as ce}from"./shallowequal-84daf276.js";import{_ as $t}from"./_plugin-vue_export-helper-84433aaa.js";import"./index-c3b05d68.js";import"./vnode-4e2eb49f.js";import"./Col-4a3e6527.js";import"./useState-fbb2e402.js";import"./FormItemContext-b538849a.js";import"./pickAttrs-c6e9cc38.js";import"./isPlainObject-8df7c091.js";import"./toArray-1e9f5cfb.js";import"./useRefs-f56804c8.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 W=R(b.record.original_image);return s("img",{src:W,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=>Ze(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=>Ye(b.record.created_at)},{title:"عملیات",dataIndex:"action",key:"action",slot:"action",filterable:!1,align:"center"}],L=b=>(it("data-v-acb5d62f"),b=b(),ot(),b),Pt={class:"flex justify-between items-center mb-4"},At=L(()=>f("h2",null,"محصولات",-1)),Lt={class:"gap-2 flex justify-center"},St=L(()=>f("span",null,"حذف",-1)),Ft=L(()=>f("span",null,"ویرایش",-1)),Bt={key:0,class:"text-gray-500 text-sm mt-1"},Dt=L(()=>f("div",{class:"text-gray-500 text-sm mt-1"}," برای ارسال با پیک (داخل تهران) هزینه در زمان تحویل دریافت می‌شود. ",-1)),Tt=L(()=>f("div",{class:"text-gray-500 text-sm mt-1"}," برای ارسال با پیک (داخل تهران) هزینه در زمان تحویل دریافت می‌شود. ",-1)),Ot={class:"col-span-full grid grid-cols-1 sm:grid-cols-2 gap-4"},Rt={key:0},Nt=L(()=>f("div",{style:{"margin-top":"8px"}},"آپلود",-1)),zt=L(()=>f("div",null,"آپلود فایل‌ها",-1)),jt={class:"space-y-2"},qt={class:"flex justify-between items-center gap-2 mb-2"},Et={class:"text-sm text-gray-500"},Ht={key:3,class:"text-amber-600 text-sm mt-1"},Jt={class:"mt-2 flex flex-col sm:flex-row sm:flex-wrap gap-3"},Kt={class:"space-y-3"},Wt={class:"flex justify-between items-center gap-2 mb-2"},Xt={class:"font-medium"},Gt={class:"flex flex-col gap-2 sm:flex-row sm:items-center"},Qt=L(()=>f("span",{class:"text-gray-500 text-xs"},"نمایش این تنوع به‌عنوان پیش‌فرض در صفحه محصول",-1)),Yt={key:0,class:"mt-2 space-y-2"},Zt={key:1,class:"text-gray-