2 lines
8.7 KiB
JavaScript
2 lines
8.7 KiB
JavaScript
import{_ as O}from"./BasicMainCard-d88efce1.js";import{u as w,_ as N}from"./useBaseTable-b65e968f.js";import{t as v,a as x}from"./useDataTime-4da2f466.js";import{I as E,U as D,_ 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 p,w as c,b,t as H,n as G,R as g,l as h}from"./index-f7911a6d.js";import{fetchMatchingUserIds as L,formatTableResult as Q}from"./supabaseTableQuery-7e7d635b.js";import{_ as X,T as Y}from"./index-10c207c0.js";import"./Grid-d4d08bfb.js";import"./index-c5c3e497.js";import"./Col-a3b51974.js";import"./styleChecker-10d88d72.js";import"./isPlainObject-72a97f79.js";import"./vnode-160a3584.js";import"./_plugin-vue_export-helper-a59ccce4.js";import"./button.vue_vue_type_style_index_0_lang-dc7b87c6.js";import"./Icon-b5a365b6.js";import"./index-fd54b9e9.js";import"./updateLocale-0c609c95.js";import"./isSymbol-b0715776.js";import"./shallowequal-1fb084f0.js";import"./useState-2a09ed7b.js";import"./useMemo-dd1208f0.js";import"./FormItemContext-e8070c30.js";import"./omit-19fd03e3.js";import"./lodash-38d75800.js";import"./BaseSwitch.vue_vue_type_script_setup_true_lang-c915f24e.js";import"./index-53f009ba.js";import"./BasicModal.vue_vue_type_style_index_0_lang-8b3762d2.js";import"./index-c7e434df.js";import"./index-6f289e55.js";import"./DialogWrap-157169f5.js";import"./pickAttrs-d4e89cbd.js";import"./index-31699bda.js";import"./SearchOutlined-9cce5c32.js";import"./index-c48ccee5.js";import"./index-af05d1fd.js";import"./Badge-1e5825d4.js";import"./isNumeric-3f69e2aa.js";import"./index-aafb52b8.js";import"./index-da7ed9ea.js";import"./index-4a17ebf7.js";import"./index-2e819d27.js";import"./css-aae66f86.js";import"./index-317bbaff.js";import"./toArray-a2b9a939.js";import"./isMobile-e2e89480.js";import"./index-79a6c7d7.js";import"./useRefs-2e02a4a6.js";import"./_flatRest-dd0446c0.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:
|