Files
machartaa_admin_dist/dist/assets/index-554c5f39.js
T

2 lines
8.9 KiB
JavaScript
Raw Normal View History

2026-08-20 17:26:16 +03:30
import{_ as M}from"./BasicMainCard-02aee5ac.js";import{u as g,_ as j}from"./useBaseTable-8eb27015.js";import{t as v,a as b}from"./useDataTime-785ab201.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-b279599b.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-5e6ef189.js";import"./Grid-ba9af77d.js";import"./index-60598d32.js";import"./Col-c7dcaed0.js";import"./styleChecker-e8fc6c1f.js";import"./isPlainObject-093495b2.js";import"./vnode-cc30a5f9.js";import"./_plugin-vue_export-helper-f38a7ea6.js";import"./button.vue_vue_type_style_index_0_lang-b7b1a519.js";import"./Icon-82f6c95b.js";import"./index-9879659d.js";import"./updateLocale-1fd95539.js";import"./isSymbol-4b8c1f3e.js";import"./index-bc659f42.js";import"./shallowequal-59da3a36.js";import"./useState-588c2312.js";import"./useMemo-39d0bfae.js";import"./FormItemContext-a76fbf7e.js";import"./omit-4c59a877.js";import"./lodash-98c01373.js";import"./BaseSwitch.vue_vue_type_script_setup_true_lang-62e181b5.js";import"./index-9c450bf9.js";import"./DialogWrap-a7021269.js";import"./pickAttrs-7db0f563.js";import"./BasicModal.vue_vue_type_style_index_0_lang-ca4aa0a6.js";import"./index-86478c3f.js";import"./index-e626bdbb.js";import"./SearchOutlined-3414d521.js";import"./index-cce68701.js";import"./index-7dd4f08a.js";import"./Badge-2dd91e64.js";import"./isNumeric-3f69e2aa.js";import"./index-cb1dea06.js";import"./index-076900a0.js";import"./index-624f47cc.js";import"./index-5f5b359c.js";import"./css-aae66f86.js";import"./index-6707c586.js";import"./toArray-b7e6b8ed.js";import"./isMobile-e2e89480.js";import"./index-2f258009.js";import"./useRefs-72c4a0da.js";import"./_flatRest-cb9a1464.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