Files
machartaa_admin_dist/dist/assets/index-3ed257f7.js
T

2 lines
8.8 KiB
JavaScript
Raw Normal View History

2026-08-15 13:12:23 +03:30
import{_ as M}from"./BasicMainCard-f046b61e.js";import{u as g,_ as j}from"./useBaseTable-55ad5e52.js";import{t as v,a as b}from"./useDataTime-7241b1ee.js";import{G as c,d as q,g as F,h as H,E as J,P as G,D as Y,v as z,o as L,c as $,b as p,w as u,a as I,t as Q,k as X,H as h,j as x}from"./index-885a0812.js";import{fetchMatchingUserIds as C,applyEmbeddedUserSearch as P,applySupabaseSort as R,applySupabasePagination as T,formatTableResult as ee,applySupabaseFilter as E}from"./supabaseTableQuery-8ab5665d.js";import{_ as te,T as ae}from"./index-667a03eb.js";import"./Grid-a6ca9fb5.js";import"./index-11c04e4f.js";import"./Col-46619619.js";import"./styleChecker-d1351987.js";import"./isPlainObject-6f4a3c75.js";import"./vnode-70560f26.js";import"./_plugin-vue_export-helper-b63d6b5b.js";import"./button.vue_vue_type_style_index_0_lang-bd596a6a.js";import"./Icon-d887a0f8.js";import"./index-675e28c4.js";import"./updateLocale-d7121807.js";import"./isSymbol-7a58081d.js";import"./useState-90bb98a8.js";import"./useMemo-565770c1.js";import"./FormItemContext-9dda29cf.js";import"./lodash-3b12211b.js";import"./BaseSwitch.vue_vue_type_script_setup_true_lang-a6c897ab.js";import"./index-9b411a61.js";import"./DialogWrap-bea4ac16.js";import"./pickAttrs-bb97af78.js";import"./BasicModal.vue_vue_type_style_index_0_lang-83760d3e.js";import"./index-d4e74b97.js";import"./index-2ed626d8.js";import"./SearchOutlined-c7e22afc.js";import"./index-7b5ec00b.js";import"./index-32515dee.js";import"./Badge-1926c75c.js";import"./isNumeric-3f69e2aa.js";import"./index-572a9242.js";import"./index-22f9b99f.js";import"./index-2c072252.js";import"./index-49e4db02.js";import"./css-aae66f86.js";import"./index-89e03fc4.js";import"./toArray-64a01f73.js";import"./isMobile-e2e89480.js";import"./index-6c7f8dff.js";import"./useRefs-d4aed6f9.js";import"./_flatRest-0a2f05bf.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:"زمان آرشیو",