2 lines
29 KiB
JavaScript
2 lines
29 KiB
JavaScript
import{_ as Xe}from"./BasicModal.vue_vue_type_style_index_0_lang-381c939b.js";import{_ as Ge,u as Qe}from"./useBaseTable-6b0100f9.js";import{_ as Ye}from"./button.vue_vue_type_style_index_0_lang-055ef55a.js";import{I as re}from"./Icon-e2745237.js";import{t as Ze}from"./useDataTime-61faf9b9.js";import{g as R,e as H}from"./convert-2ad76038.js";import{_ as pe}from"./TextPreview.vue_vue_type_script_setup_true_lang-c8240549.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-74df3455.js";import{g as ut,u as dt,a as ct,b as pt,d as _t}from"./products-8b429086.js";import{g as Y}from"./index-82edf946.js";import{g as mt}from"./category-05ee0a4d.js";import{g as ft}from"./brand-e070b50e.js";import{l as J}from"./lodash-6f7438f2.js";import{M as vt,_ as gt}from"./index-65da5dac.js";import{I as bt,b as ht}from"./index-ec36d435.js";import{a as yt,b as wt}from"./index-5ea23f62.js";import{I as xt}from"./index-5206c186.js";import{B as kt}from"./index-efd9ee2a.js";import{_ as Ut,F as Ct}from"./index-9a2fbb01.js";import{a as It,_ as Vt}from"./index-a65a4b3b.js";import{a as Pt}from"./index-043ef8cd.js";import{U as $t}from"./index-90b890a0.js";import{T as ce}from"./isSymbol-62e97e43.js";import{_ as At}from"./_plugin-vue_export-helper-37aa05ea.js";import"./index-83319668.js";import"./vnode-b6bcf78e.js";import"./updateLocale-5b0fd44f.js";import"./index-bc659f42.js";import"./shallowequal-299ad79c.js";import"./useState-2abd0489.js";import"./useMemo-a5bf3ddc.js";import"./FormItemContext-6413b4c6.js";import"./omit-763d2c81.js";import"./BaseSwitch.vue_vue_type_script_setup_true_lang-d8bae45c.js";import"./index-6a94b684.js";import"./Badge-be9a4aa1.js";import"./isNumeric-3f69e2aa.js";import"./index-7ea4c0f8.js";import"./index-efc8d329.js";import"./index-0f51a503.js";import"./textUtils-c37780ad.js";import"./supabaseTableQuery-8ab5665d.js";import"./DialogWrap-93c13aef.js";import"./pickAttrs-e0ea06b2.js";import"./styleChecker-4c9a1b23.js";import"./SearchOutlined-8f5d71bf.js";import"./isPlainObject-4825706c.js";import"./index-d81adf35.js";import"./index-ee58981c.js";import"./css-aae66f86.js";import"./toArray-5920af1b.js";import"./isMobile-e2e89480.js";import"./_flatRest-899894ad.js";import"./Col-7df1a821.js";import"./index-4e077a6e.js";import"./useRefs-d90adc8f.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
|