2026-10-13 13:23:32 +03:30
|
|
|
import{_ as U}from"./BasicMainCard-e958eff9.js";import{u as w,_ as N}from"./useBaseTable-2f44456a.js";import{t as v,a as x}from"./useDataTime-c5fd0475.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-88b436a3.js";import{fetchMatchingUserIds as D,formatTableResult as Q}from"./supabaseTableQuery-81d2dd21.js";import{_ as X,T as Y}from"./index-3056cee8.js";import"./Grid-3500d868.js";import"./index-ab792bfc.js";import"./Col-dbdf0e50.js";import"./styleChecker-e121d19f.js";import"./isPlainObject-6af67cf0.js";import"./vnode-4c3cf924.js";import"./_plugin-vue_export-helper-0965689e.js";import"./button.vue_vue_type_style_index_0_lang-c84b0596.js";import"./Icon-e9d21126.js";import"./index-371b21ab.js";import"./updateLocale-50b6b1dc.js";import"./isSymbol-5adcf314.js";import"./shallowequal-a265b4c4.js";import"./useState-89585daf.js";import"./useMemo-9783b0bd.js";import"./FormItemContext-0dc63d45.js";import"./omit-c69ba12d.js";import"./lodash-ff1cad4c.js";import"./BaseSwitch.vue_vue_type_script_setup_true_lang-8738a2db.js";import"./index-801e70c1.js";import"./DialogWrap-540d386d.js";import"./pickAttrs-fd92707c.js";import"./BasicModal.vue_vue_type_style_index_0_lang-6969d1dc.js";import"./index-77cb2497.js";import"./index-5b1d7174.js";import"./SearchOutlined-a51da12b.js";import"./index-608635af.js";import"./index-59dbbd66.js";import"./Badge-b5f795c2.js";import"./isNumeric-3f69e2aa.js";import"./index-e3b71aec.js";import"./index-6971af25.js";import"./index-4ad375f9.js";import"./index-70730f49.js";import"./css-aae66f86.js";import"./index-7fdb0173.js";import"./toArray-20aa7010.js";import"./isMobile-e2e89480.js";import"./index-4c23d157.js";import"./useRefs-b589f2c4.js";import"./_flatRest-bfa472d2.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
|