Files
machartaa_admin_dist/dist/assets/index-1a9673fd.js
T

2 lines
8.6 KiB
JavaScript
Raw Normal View History

2026-08-08 16:18:13 +03:30
import{_ as M}from"./BasicMainCard-989ffa54.js";import{u as g,_ as j}from"./useBaseTable-e1239fc4.js";import{t as v,a as b}from"./useDataTime-39d365d2.js";import{G as p,d as q,g as F,h as H,E as J,O as G,D as Y,v as z,o as L,c as $,b as c,w as u,a as I,t as Q,k as X,H as h,j as x}from"./index-03881eed.js";import{f as C,a as P,c as R,d as T,e as ee,b as E}from"./supabaseTableQuery-95762ff3.js";import{T as te,a as ae}from"./index-577e5a04.js";import"./Grid-669bdab6.js";import"./index-67119fea.js";import"./Col-8b6b3139.js";import"./styleChecker-230f1d69.js";import"./isPlainObject-b1bc5d24.js";import"./vnode-dddce04c.js";import"./_plugin-vue_export-helper-7a7517f7.js";import"./button.vue_vue_type_style_index_0_lang-6d9e6004.js";import"./Icon-3cba35ff.js";import"./updateLocale-ce915111.js";import"./isSymbol-72806280.js";import"./index-bc659f42.js";import"./index-6e050cc2.js";import"./omit-0bf0f784.js";import"./useState-164294d5.js";import"./index-2b937264.js";import"./toArray-9d324686.js";import"./FormItemContext-77a35a1f.js";import"./pickAttrs-bd4d06ea.js";import"./lodash-78d38859.js";import"./BaseSwitch.vue_vue_type_script_setup_true_lang-9e1881c0.js";import"./index-a6dd452f.js";import"./DialogWrap-ab772604.js";import"./BasicModal.vue_vue_type_style_index_0_lang-8174f671.js";import"./index-c4251c82.js";import"./index-ef10ea82.js";import"./index-fbef06fa.js";import"./Badge-7d333aab.js";import"./isNumeric-3f69e2aa.js";import"./index-245d34d2.js";import"./index-2245e0eb.js";import"./index-b336c82b.js";import"./css-aae66f86.js";import"./index-d1c6db2d.js";import"./useRefs-d2ce1514.js";import"./_flatRest-08d5cdb1.js";const ie=[{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)}],ne=[{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)}],oe=[{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`${D(a.week_start)} تا ${D(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",type:"DateTime",filterField:"created_at",width:150,customRender:e=>v(e.record.created_at)}];function D(e){return e?b(`${e}T00:00:00Z`):"—"}function re(e){var i;if(!e)retu