Files
machartaa_admin_dist/dist/assets/index-56e80642.js
T

2 lines
8.7 KiB
JavaScript
Raw Normal View History

2026-08-23 14:52:55 +03:30
import{_ as B}from"./BasicMainCard-774c1aa2.js";import{u as w,_ as E}from"./useBaseTable-6d1e031d.js";import{t as v,a as x}from"./useDataTime-4239bab9.js";import{O as N,T as D,_ as K,d as V,i as I,j as Z,G as M,U as j,E 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-a28be152.js";import{fetchMatchingUserIds as L,formatTableResult as Q}from"./supabaseTableQuery-e3d032a9.js";import{_ as X,T as Y}from"./index-96443f0e.js";import"./Grid-442881e7.js";import"./index-51b737a4.js";import"./Col-86738adb.js";import"./styleChecker-8c6ff79a.js";import"./isPlainObject-450bf3c7.js";import"./vnode-4742fc96.js";import"./_plugin-vue_export-helper-f8ecc290.js";import"./button.vue_vue_type_style_index_0_lang-29638cb6.js";import"./Icon-c8a211f1.js";import"./index-3bdda65d.js";import"./updateLocale-619fe8a7.js";import"./isSymbol-25ca88cb.js";import"./shallowequal-4c00a664.js";import"./useState-277534ff.js";import"./useMemo-832cfde0.js";import"./FormItemContext-e50ee5a3.js";import"./omit-8084e33b.js";import"./lodash-5d3e4f7d.js";import"./BaseSwitch.vue_vue_type_script_setup_true_lang-1d4fd99b.js";import"./index-8cc4eae2.js";import"./DialogWrap-617bda84.js";import"./pickAttrs-38902005.js";import"./BasicModal.vue_vue_type_style_index_0_lang-c3017354.js";import"./index-dd708aca.js";import"./index-f317ca53.js";import"./SearchOutlined-4a5562a8.js";import"./index-5222fc6e.js";import"./index-61ef5439.js";import"./Badge-7dd6b925.js";import"./isNumeric-3f69e2aa.js";import"./index-dbebb139.js";import"./index-1e365e2e.js";import"./index-12d303fc.js";import"./index-4a3fe357.js";import"./css-aae66f86.js";import"./index-2849b35f.js";import"./toArray-bdec6b87.js";import"./isMobile-e2e89480.js";import"./index-f3f71242.js";import"./useRefs-e22a3bf7.js";import"./_flatRest-08328244.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