Files
machartaa_admin_dist/dist/assets/index-edb5a28d.js
T

2 lines
8.7 KiB
JavaScript
Raw Normal View History

2026-09-16 14:07:27 +03:30
import{_ as U}from"./BasicMainCard-2b216dd4.js";import{u as w,_ as N}from"./useBaseTable-4f4d8248.js";import{t as v,a as x}from"./useDataTime-e3db50db.js";import{Q as V,V as D,_ as E,d as K,i as I,j as Z,y as M,W as j,G as J,x as G,o as T,c as F,e as c,w as p,b,t as Q,n as z,K as g,l as h}from"./index-f44a958f.js";import{fetchMatchingUserIds as L,formatTableResult as H}from"./supabaseTableQuery-16ab1095.js";import{_ as X,T as Y}from"./index-a485cd3f.js";import"./Grid-dfc25885.js";import"./index-ae092da9.js";import"./Col-4af7c3cd.js";import"./styleChecker-d7256a22.js";import"./isPlainObject-f85be752.js";import"./vnode-bcebd00a.js";import"./_plugin-vue_export-helper-9644f77d.js";import"./button.vue_vue_type_style_index_0_lang-307c41e8.js";import"./Icon-daa4ada2.js";import"./index-6f0218fe.js";import"./updateLocale-4abe3bd4.js";import"./isSymbol-9ca68d9f.js";import"./shallowequal-30316885.js";import"./useState-7cfb31a4.js";import"./useMemo-3af68d99.js";import"./FormItemContext-801d31a4.js";import"./omit-555d0220.js";import"./lodash-ba2547f0.js";import"./BaseSwitch.vue_vue_type_script_setup_true_lang-9966573e.js";import"./index-234c79ba.js";import"./DialogWrap-ed1e42ab.js";import"./pickAttrs-6cecdc2a.js";import"./BasicModal.vue_vue_type_style_index_0_lang-39ca2ebd.js";import"./index-00d02541.js";import"./index-17909d47.js";import"./SearchOutlined-bf31e51b.js";import"./index-120ad211.js";import"./index-5f6600aa.js";import"./Badge-daa269e5.js";import"./isNumeric-3f69e2aa.js";import"./index-432f8768.js";import"./index-7722f326.js";import"./index-5bb4f02b.js";import"./index-1399904b.js";import"./css-aae66f86.js";import"./index-2a7e74b5.js";import"./toArray-c3886d9c.js";import"./isMobile-e2e89480.js";import"./index-a5608fae.js";import"./useRefs-b0f27066.js";import"./_flatRest-e4351155.js";const ee=[{title:"ردیف",dataIndex:"index",key:"index",filterable:!1,width:70,align:"center",customRender:e=>e.record.index+1},{title:"رتبه",dataIndex:"rank",key:"rank",filterable:!1,width:80,align:"center"},{title:"نام کاربر",dataIndex:"display_name",key:"display_name",filterField:"display_name"},{title:"شماره همراه",dataIndex:"phone",key:"phone",filterField:"phone",width:130},{title:"امتیاز",dataIndex:"total_points",key:"total_points",filterField:"total_points",align:"center",width:100,customRender:e=>(e.record.total_points??0).toLocaleString("fa-IR")},{title:"آخرین بروزرسانی",dataIndex:"updated_at",key:"updated_at",type:"DateTime",filterField:"updated_at",width:150,customRender:e=>v(e.record.updated_at)}],te=[{title:"ردیف",dataIndex:"index",key:"index",filterable:!1,width:70,align:"center",customRender:e=>e.record.index+1},{title:"رتبه",dataIndex:"rank",key:"rank",filterable:!1,width:80,align:"center"},{title:"نام کاربر",dataIndex:"display_name",key:"display_name",filterField:"display_name"},{title:"شماره همراه",dataIndex:"phone",key:"phone",filterField:"phone",width:130},{title:"امتیاز هفته",dataIndex:"total_points",key:"total_points",filterField:"total_points",align:"center",width:110,customRender:e=>(e.record.total_points??0).toLocaleString("fa-IR")},{title:"آخرین بروزرسانی",dataIndex:"updated_at",key:"updated_at",type:"DateTime",filterField:"updated_at",width:150,customRender:e=>v(e.record.updated_at)}],ae=[{title:"ردیف",dataIndex:"index",key:"index",filterable:!1,width:70,align:"center",customRender:e=>e.record.index+1},{title:"بازه هفته",dataIndex:"week_period",key:"week_period",filterField:"week_start",width:180,customRender:e=>{const a=e.record;return`${$(a.week_start)} تا ${$(a.week_end)}`}},{title:"رتبه",dataIndex:"rank",key:"rank",filterField:"rank",align:"center",width:80},{title:"نام کاربر",dataIndex:"display_name",key:"display_name",filterField:"display_name"},{title:"امتیاز",dataIndex:"total_points",key:"total_points",filterField:"total_points",align:"center",width:100,customRender:e=>(e.record.total_points??0).toLocaleString("fa-IR")},{title:"زمان آرشیو",dataIndex:"created_at",key:"created_at