Files
machartaa_admin_dist/dist/assets/index-87bfaf4c.js
T

2 lines
8.7 KiB
JavaScript
Raw Normal View History

2026-09-27 17:26:36 +03:30
import{_ as U}from"./BasicMainCard-235c6a8e.js";import{u as w,_ as N}from"./useBaseTable-af0ac405.js";import{t as v,a as x}from"./useDataTime-45198684.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-ab3b0b84.js";import{fetchMatchingUserIds as L,formatTableResult as H}from"./supabaseTableQuery-7c1903fc.js";import{_ as X,T as Y}from"./index-b305a6df.js";import"./Grid-0eb1a61b.js";import"./index-fd8a1334.js";import"./Col-48c01651.js";import"./styleChecker-558deef9.js";import"./isPlainObject-d617fbb5.js";import"./vnode-602d90c4.js";import"./_plugin-vue_export-helper-6c5748cb.js";import"./button.vue_vue_type_style_index_0_lang-2b2ee941.js";import"./Icon-b552f0cb.js";import"./index-086ff91e.js";import"./updateLocale-958574f8.js";import"./isSymbol-5cc45ff5.js";import"./shallowequal-39bf2166.js";import"./useState-7883cedd.js";import"./useMemo-1af73168.js";import"./FormItemContext-548f4b58.js";import"./omit-837670e8.js";import"./lodash-a8d94941.js";import"./BaseSwitch.vue_vue_type_script_setup_true_lang-d33f0812.js";import"./index-34ee3839.js";import"./DialogWrap-421034e2.js";import"./pickAttrs-1e1939a5.js";import"./BasicModal.vue_vue_type_style_index_0_lang-6b846ddc.js";import"./index-cbd716ee.js";import"./index-adf5fd7f.js";import"./SearchOutlined-a36e5cce.js";import"./index-d5e11315.js";import"./index-b5f9a27e.js";import"./Badge-fca8f233.js";import"./isNumeric-3f69e2aa.js";import"./index-18e93846.js";import"./index-0e84975e.js";import"./index-323711b8.js";import"./index-b2118e3c.js";import"./css-aae66f86.js";import"./index-9bb4e5d4.js";import"./toArray-78940ccb.js";import"./isMobile-e2e89480.js";import"./index-257982d0.js";import"./useRefs-3f675f69.js";import"./_flatRest-289ae805.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