2026-10-10 13:00:20 +03:30
|
|
|
import{_ as U}from"./BasicMainCard-b162b1c4.js";import{u as w,_ as N}from"./useBaseTable-2ab18557.js";import{t as v,a as x}from"./useDataTime-54c17809.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-b1a7e04b.js";import{fetchMatchingUserIds as D,formatTableResult as Q}from"./supabaseTableQuery-ba3eb91b.js";import{_ as X,T as Y}from"./index-89d97954.js";import"./Grid-bde7d306.js";import"./index-53cb41a6.js";import"./Col-b5ed65ce.js";import"./styleChecker-e7996752.js";import"./isPlainObject-aea507b4.js";import"./vnode-cf87e7d8.js";import"./_plugin-vue_export-helper-bc5e645a.js";import"./button.vue_vue_type_style_index_0_lang-1d790c18.js";import"./Icon-82d1568b.js";import"./index-3c78ebad.js";import"./updateLocale-7460d5f0.js";import"./isSymbol-8bb1a5fc.js";import"./shallowequal-8317aeac.js";import"./useState-bee297fc.js";import"./useMemo-f1dd6d43.js";import"./FormItemContext-75ce584c.js";import"./omit-8d80653a.js";import"./lodash-a3cc5b11.js";import"./BaseSwitch.vue_vue_type_script_setup_true_lang-dbbf8b2d.js";import"./index-95736a95.js";import"./DialogWrap-06d91612.js";import"./pickAttrs-6c8634eb.js";import"./BasicModal.vue_vue_type_style_index_0_lang-a4f4e215.js";import"./index-abe83bbb.js";import"./index-40ad5e11.js";import"./SearchOutlined-280cd434.js";import"./index-a5f1405d.js";import"./index-ca8dc14f.js";import"./Badge-815f7351.js";import"./isNumeric-3f69e2aa.js";import"./index-62a1d374.js";import"./index-d8d70cfa.js";import"./index-06b581ca.js";import"./index-3adb8492.js";import"./css-aae66f86.js";import"./index-c03866b7.js";import"./toArray-7c7c3b23.js";import"./isMobile-e2e89480.js";import"./index-35b107f8.js";import"./useRefs-8cde84b1.js";import"./_flatRest-49c0ef8d.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
|