2026-09-16 13:19:24 +03:30
|
|
|
import{_ as B}from"./BasicMainCard-f6ac62ad.js";import{u as w,_ as N}from"./useBaseTable-ec30a97d.js";import{t as v,a as x}from"./useDataTime-2f85c275.js";import{O as E,T as D,_ as K,d as V,i as I,j as Z,y as M,U as j,G as J,x as G,o as T,c as F,e as c,w as p,b,t as z,n as H,K as g,l as h}from"./index-01aa5506.js";import{fetchMatchingUserIds as L,formatTableResult as Q}from"./supabaseTableQuery-499044f3.js";import{_ as X,T as Y}from"./index-d4ed5db7.js";import"./Grid-7825d16a.js";import"./index-1c2d185c.js";import"./Col-42eabc6c.js";import"./styleChecker-4d07c514.js";import"./isPlainObject-838e96ea.js";import"./vnode-386fab8b.js";import"./_plugin-vue_export-helper-2f0b925e.js";import"./button.vue_vue_type_style_index_0_lang-ad893796.js";import"./Icon-84f282a9.js";import"./index-97e46aab.js";import"./updateLocale-4d53ac7e.js";import"./isSymbol-89eeb898.js";import"./shallowequal-a983431a.js";import"./useState-074ca9f0.js";import"./useMemo-83211a3c.js";import"./FormItemContext-45e1fa89.js";import"./omit-8a7495a3.js";import"./lodash-0f373afd.js";import"./BaseSwitch.vue_vue_type_script_setup_true_lang-b0105976.js";import"./index-276e15c5.js";import"./DialogWrap-784b5f45.js";import"./pickAttrs-841f485e.js";import"./BasicModal.vue_vue_type_style_index_0_lang-00ba9225.js";import"./index-3370fde6.js";import"./index-0db924de.js";import"./SearchOutlined-dadd531e.js";import"./index-54bdc419.js";import"./index-64f7c585.js";import"./Badge-f9f962a5.js";import"./isNumeric-3f69e2aa.js";import"./index-40e1be26.js";import"./index-750d03f7.js";import"./index-01db740f.js";import"./index-fb8c26e7.js";import"./css-aae66f86.js";import"./index-b91244f4.js";import"./toArray-e14b288d.js";import"./isMobile-e2e89480.js";import"./index-e013b18a.js";import"./useRefs-a26b26b0.js";import"./_flatRest-b81e40db.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
|