Files
machartaa_admin_dist/dist/assets/index-3475d744.js
T

2 lines
8.7 KiB
JavaScript
Raw Normal View History

2026-10-14 16:25:33 +03:30
import{_ as U}from"./BasicMainCard-104c14b2.js";import{u as w,_ as N}from"./useBaseTable-dfbf3762.js";import{t as v,a as x}from"./useDataTime-9987a66e.js";import{R as E,O as $,_ as V,d as Z,i as I,j as K,z as M,B as j,H as J,x as z,o as T,c as F,e as c,w as p,b,t as H,n as G,L as g,l as h}from"./index-a94f140f.js";import{fetchMatchingUserIds as D,formatTableResult as Q}from"./supabaseTableQuery-9d743a53.js";import{_ as X,T as Y}from"./index-e5d8b47c.js";import"./Grid-33e7139e.js";import"./index-53e81bb5.js";import"./Col-098f825e.js";import"./styleChecker-cbf8a3c6.js";import"./isPlainObject-fa7524bd.js";import"./vnode-d8d89b8b.js";import"./_plugin-vue_export-helper-3751a4c9.js";import"./button.vue_vue_type_style_index_0_lang-5dd5fad9.js";import"./Icon-0c593d03.js";import"./index-da3c4531.js";import"./updateLocale-63da7352.js";import"./isSymbol-0faad147.js";import"./shallowequal-311bf7d9.js";import"./useState-75e49d81.js";import"./useMemo-e6667500.js";import"./FormItemContext-d446a85f.js";import"./omit-09913e6a.js";import"./lodash-b667f7ec.js";import"./BaseSwitch.vue_vue_type_script_setup_true_lang-988f9693.js";import"./index-cadfe89f.js";import"./DialogWrap-1f925fe5.js";import"./pickAttrs-d12003ac.js";import"./BasicModal.vue_vue_type_style_index_0_lang-c75cb8ba.js";import"./index-a08f6658.js";import"./index-9bf19e54.js";import"./SearchOutlined-2c05f948.js";import"./index-d139af20.js";import"./index-94f097c0.js";import"./Badge-64556311.js";import"./isNumeric-3f69e2aa.js";import"./index-a10a5cee.js";import"./index-02db9106.js";import"./index-6838bdc5.js";import"./index-fa5a0887.js";import"./css-aae66f86.js";import"./index-1e5db048.js";import"./toArray-3323d384.js";import"./isMobile-e2e89480.js";import"./index-f9445381.js";import"./useRefs-14e054ef.js";import"./_flatRest-38d88d03.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`${L(a.week_start)} تا ${L(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