Files
machartaa_admin_dist/dist/assets/index-bc5b4eed.js
T

2 lines
8.9 KiB
JavaScript
Raw Normal View History

2026-08-19 18:36:32 +03:30
import{_ as M}from"./BasicMainCard-c1077cbf.js";import{u as g,_ as j}from"./useBaseTable-7b78293f.js";import{t as v,a as b}from"./useDataTime-a337f5c6.js";import{G as c,d as q,g as F,h as H,E as J,Q as G,D as Q,v as Y,o as L,c as $,b as p,w as m,a as I,t as z,k as X,H as h,j as x}from"./index-b0561d74.js";import{fetchMatchingUserIds as C,applyEmbeddedUserSearch as E,applySupabaseSort as R,applySupabasePagination as T,formatTableResult as ee,applySupabaseFilter as P}from"./supabaseTableQuery-8ab5665d.js";import{_ as te,T as ae}from"./index-f9091817.js";import"./Grid-80c38bfa.js";import"./index-9a77c0e9.js";import"./Col-08664037.js";import"./styleChecker-d39a1d44.js";import"./isPlainObject-3a5eccde.js";import"./vnode-531f9d95.js";import"./_plugin-vue_export-helper-130a5518.js";import"./button.vue_vue_type_style_index_0_lang-dcd86e7a.js";import"./Icon-8dedfa53.js";import"./index-092c5981.js";import"./updateLocale-b730d578.js";import"./isSymbol-a4291d99.js";import"./index-bc659f42.js";import"./shallowequal-4f931fa5.js";import"./useState-94528018.js";import"./useMemo-0162b583.js";import"./FormItemContext-5520cb52.js";import"./omit-e6701bfc.js";import"./lodash-9a3882db.js";import"./BaseSwitch.vue_vue_type_script_setup_true_lang-71825e72.js";import"./index-12bdf78c.js";import"./DialogWrap-9c2d8a9c.js";import"./pickAttrs-69dd58a4.js";import"./BasicModal.vue_vue_type_style_index_0_lang-0121d908.js";import"./index-b7f1770d.js";import"./index-d18c8f13.js";import"./SearchOutlined-ca6a4719.js";import"./index-5d725680.js";import"./index-46f9dc77.js";import"./Badge-d2c862d8.js";import"./isNumeric-3f69e2aa.js";import"./index-7febe226.js";import"./index-93c22234.js";import"./index-b618fa76.js";import"./index-2dc7fe57.js";import"./css-aae66f86.js";import"./index-482a46a3.js";import"./toArray-1ab9b01c.js";import"./isMobile-e2e89480.js";import"./index-840dd6b2.js";import"./useRefs-899ec8f3.js";import"./_flatRest-39f9ed6b.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,customR