Files
machartaa_admin_dist/dist/assets/index-41b7d85b.js
T

2 lines
8.7 KiB
JavaScript
Raw Normal View History

2026-10-05 18:40:49 +03:30
import{_ as U}from"./BasicMainCard-e8fae2e0.js";import{u as w,_ as N}from"./useBaseTable-45427402.js";import{t as v,a as x}from"./useDataTime-7db5a46b.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-166b4ef1.js";import{fetchMatchingUserIds as D,formatTableResult as Q}from"./supabaseTableQuery-41e25409.js";import{_ as X,T as Y}from"./index-366f722a.js";import"./Grid-47180f92.js";import"./index-b6f0378e.js";import"./Col-6dc2da7a.js";import"./styleChecker-2eddf97d.js";import"./isPlainObject-ed4c9976.js";import"./vnode-c85f1a09.js";import"./_plugin-vue_export-helper-e5be29c6.js";import"./button.vue_vue_type_style_index_0_lang-e7cef717.js";import"./Icon-b8613529.js";import"./index-08810a1f.js";import"./updateLocale-6eb93789.js";import"./isSymbol-c953ccc2.js";import"./shallowequal-78a96afc.js";import"./useState-43a565ec.js";import"./useMemo-99a24173.js";import"./FormItemContext-0e89b3aa.js";import"./omit-55909a9d.js";import"./lodash-593efeb6.js";import"./BaseSwitch.vue_vue_type_script_setup_true_lang-6e462f47.js";import"./index-58b86fb2.js";import"./DialogWrap-88ddfe3e.js";import"./pickAttrs-5cd7ef1f.js";import"./BasicModal.vue_vue_type_style_index_0_lang-f76fec1b.js";import"./index-de862045.js";import"./index-7005b758.js";import"./SearchOutlined-3d6399d7.js";import"./index-011e0893.js";import"./index-8bcb6210.js";import"./Badge-a3c7a3a7.js";import"./isNumeric-3f69e2aa.js";import"./index-ad625a72.js";import"./index-1465c5c8.js";import"./index-75be736e.js";import"./index-7f046693.js";import"./css-aae66f86.js";import"./index-3ad11dd3.js";import"./toArray-cf38ce67.js";import"./isMobile-e2e89480.js";import"./index-991e4e35.js";import"./useRefs-ca4d56b6.js";import"./_flatRest-ae97161b.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