2026-10-04 13:31:09 +03:30
|
|
|
import{_ as U}from"./BasicMainCard-ff1543bd.js";import{u as w,_ as N}from"./useBaseTable-e18d3b32.js";import{t as v,a as x}from"./useDataTime-206d8d2e.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-c678e119.js";import{fetchMatchingUserIds as D,formatTableResult as Q}from"./supabaseTableQuery-e9feb810.js";import{_ as X,T as Y}from"./index-88858982.js";import"./Grid-192c1e72.js";import"./index-2a1871d2.js";import"./Col-65d77001.js";import"./styleChecker-c202e4d7.js";import"./isPlainObject-2f8cd8cc.js";import"./vnode-34fe2aaf.js";import"./_plugin-vue_export-helper-edd5ed68.js";import"./button.vue_vue_type_style_index_0_lang-fbfa965d.js";import"./Icon-671f08f9.js";import"./index-c5016c96.js";import"./updateLocale-e9df593e.js";import"./isSymbol-5130882b.js";import"./shallowequal-93b92d94.js";import"./useState-fb1fd992.js";import"./useMemo-3527b8f5.js";import"./FormItemContext-53695780.js";import"./omit-30cc2465.js";import"./lodash-2343a0ae.js";import"./BaseSwitch.vue_vue_type_script_setup_true_lang-0d6b57d1.js";import"./index-66da2c76.js";import"./DialogWrap-0297f46d.js";import"./pickAttrs-09168c62.js";import"./BasicModal.vue_vue_type_style_index_0_lang-6296deb9.js";import"./index-5203b45e.js";import"./index-e517c667.js";import"./SearchOutlined-445bfd70.js";import"./index-ea10bb13.js";import"./index-064013c2.js";import"./Badge-b566fed9.js";import"./isNumeric-3f69e2aa.js";import"./index-d768dcac.js";import"./index-05e85885.js";import"./index-d80ea252.js";import"./index-27b4bb6d.js";import"./css-aae66f86.js";import"./index-01af60d8.js";import"./toArray-acd138e5.js";import"./isMobile-e2e89480.js";import"./index-31ed7972.js";import"./useRefs-d469f03d.js";import"./_flatRest-89cece1c.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
|