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

2 lines
8.7 KiB
JavaScript
Raw Normal View History

2026-09-19 11:51:19 +03:30
import{_ as U}from"./BasicMainCard-5c80ef19.js";import{u as w,_ as N}from"./useBaseTable-fed341a8.js";import{t as v,a as x}from"./useDataTime-ba62eb36.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-e064ffac.js";import{fetchMatchingUserIds as L,formatTableResult as H}from"./supabaseTableQuery-e8c06eb0.js";import{_ as X,T as Y}from"./index-69ceab84.js";import"./Grid-28c7683b.js";import"./index-7dcbad31.js";import"./Col-e0b57a55.js";import"./styleChecker-a89d8927.js";import"./isPlainObject-118a5a84.js";import"./vnode-43e0532a.js";import"./_plugin-vue_export-helper-c2b02d20.js";import"./button.vue_vue_type_style_index_0_lang-76fea031.js";import"./Icon-66010218.js";import"./index-c6cc46d7.js";import"./updateLocale-53d85368.js";import"./isSymbol-dc94e500.js";import"./shallowequal-9a59fe48.js";import"./useState-1df7da74.js";import"./useMemo-118b7fdd.js";import"./FormItemContext-ea5e629b.js";import"./omit-98a5c881.js";import"./lodash-77052907.js";import"./BaseSwitch.vue_vue_type_script_setup_true_lang-094732f6.js";import"./index-418d2c16.js";import"./DialogWrap-934116e0.js";import"./pickAttrs-20fc50b7.js";import"./BasicModal.vue_vue_type_style_index_0_lang-73f8a39e.js";import"./index-5791312b.js";import"./index-3d02255e.js";import"./SearchOutlined-bce29925.js";import"./index-2f676c29.js";import"./index-a1f6487e.js";import"./Badge-31351815.js";import"./isNumeric-3f69e2aa.js";import"./index-6b63d7e6.js";import"./index-1320e6a3.js";import"./index-cf4a2322.js";import"./index-01bd72a1.js";import"./css-aae66f86.js";import"./index-020f9f38.js";import"./toArray-03404447.js";import"./isMobile-e2e89480.js";import"./index-4cde3ed4.js";import"./useRefs-320b3f3d.js";import"./_flatRest-0e75a214.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