2026-08-25 16:12:17 +03:30
|
|
|
import{_ as B}from"./BasicMainCard-9a9b0e82.js";import{u as w,_ as N}from"./useBaseTable-0fdb84ad.js";import{t as v,a as x}from"./useDataTime-234977eb.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-0ae7844c.js";import{fetchMatchingUserIds as L,formatTableResult as Q}from"./supabaseTableQuery-98b38f56.js";import{_ as X,T as Y}from"./index-33c0557e.js";import"./Grid-1b086c47.js";import"./index-3189b1a9.js";import"./Col-84747301.js";import"./styleChecker-918e9a0f.js";import"./isPlainObject-4659a577.js";import"./vnode-454b4aa7.js";import"./_plugin-vue_export-helper-277b1c3f.js";import"./button.vue_vue_type_style_index_0_lang-0b499337.js";import"./Icon-d1d29ca3.js";import"./index-c2bca1e0.js";import"./updateLocale-15cba891.js";import"./isSymbol-d0ec885c.js";import"./shallowequal-a089597b.js";import"./useState-80fd23c9.js";import"./useMemo-19000d17.js";import"./FormItemContext-e7b6ca96.js";import"./omit-e036f60c.js";import"./lodash-6746fa7b.js";import"./BaseSwitch.vue_vue_type_script_setup_true_lang-630a739a.js";import"./index-6d32dcba.js";import"./DialogWrap-930ec585.js";import"./pickAttrs-2e870478.js";import"./BasicModal.vue_vue_type_style_index_0_lang-0db8aa6c.js";import"./index-0309284c.js";import"./index-81a07cb9.js";import"./SearchOutlined-8b990494.js";import"./index-c2776ddf.js";import"./index-ff77e42c.js";import"./Badge-3dfd39bb.js";import"./isNumeric-3f69e2aa.js";import"./index-6585bad2.js";import"./index-7d2db2fd.js";import"./index-0c08cf04.js";import"./index-02b92135.js";import"./css-aae66f86.js";import"./index-a2cfdf13.js";import"./toArray-592e82ea.js";import"./isMobile-e2e89480.js";import"./index-7090fbb0.js";import"./useRefs-0b121885.js";import"./_flatRest-5e9bcb10.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
|