mvframe 1.1.18 → 1.1.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/composition.js +14 -14
- package/dist/vendor.js +883 -878
- package/package.json +1 -1
package/dist/vendor.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { u as
|
|
2
|
-
import { d as
|
|
3
|
-
import { s as
|
|
4
|
-
import { createRouter as
|
|
5
|
-
import { computed as p, openBlock as A, createElementBlock as k, mergeProps as oe, unref as t, Fragment as re, renderList as ce, normalizeClass as H, createCommentVNode as J, createTextVNode as ie, toDisplayString as $, renderSlot as q, createElementVNode as m, reactive as X, onUnmounted as ve, watch as te, markRaw as Te, resolveComponent as G, createVNode as R, withCtx as j, createBlock as le, resolveDynamicComponent as
|
|
1
|
+
import { u as Ia } from "./util.js";
|
|
2
|
+
import { d as $a } from "./directive.js";
|
|
3
|
+
import { s as oa, p as ta, a as Ba } from "./store-shared.js";
|
|
4
|
+
import { createRouter as ja, createWebHistory as Da, useRoute as ra, useRouter as sa } from "vue-router";
|
|
5
|
+
import { computed as p, openBlock as A, createElementBlock as k, mergeProps as oe, unref as t, Fragment as re, renderList as ce, normalizeClass as H, createCommentVNode as J, createTextVNode as ie, toDisplayString as $, renderSlot as q, createElementVNode as m, reactive as X, onUnmounted as ve, watch as te, markRaw as Te, resolveComponent as G, createVNode as R, withCtx as j, createBlock as le, resolveDynamicComponent as ia, nextTick as me, getCurrentInstance as pe, ref as ee, onMounted as se, normalizeStyle as de, defineComponent as ca, cloneVNode as Ge, h as Ke, inject as Ae, withModifiers as _e, defineAsyncComponent as ua, Teleport as Ra, Transition as da, createSlots as be, normalizeProps as he, guardReactiveProps as ze, useSlots as Pe, useAttrs as fe, withKeys as ma, createStaticVNode as Fa, isRef as ba, onBeforeMount as Va } from "vue";
|
|
6
6
|
/* empty css */
|
|
7
|
-
import { deepEqual as Ue, isInView as
|
|
7
|
+
import { deepEqual as Ue, isInView as Ga, loadMvframeTheme as Ka, MVFRAME_STORAGE_LANG as He, download as Ua, useRemoteSummary as Ha, useOptions as Ja, useLang as Za } from "./composition.js";
|
|
8
8
|
import Je from "vuedraggable";
|
|
9
|
-
import
|
|
10
|
-
const
|
|
9
|
+
import Ya from "./notify.js";
|
|
10
|
+
const Wa = {
|
|
11
11
|
"Theme color": "Theme color",
|
|
12
12
|
"Restore default": "Restore default",
|
|
13
13
|
Appearance: "Appearance",
|
|
@@ -24,7 +24,7 @@ const Ya = {
|
|
|
24
24
|
"Frame Config": "Frame Config",
|
|
25
25
|
Cancel: "Cancel",
|
|
26
26
|
Submit: "Submit"
|
|
27
|
-
},
|
|
27
|
+
}, qa = {
|
|
28
28
|
"Theme color": "主题色",
|
|
29
29
|
"Restore default": "恢复默认",
|
|
30
30
|
Appearance: "外观",
|
|
@@ -41,7 +41,7 @@ const Ya = {
|
|
|
41
41
|
"Frame Config": "框架设置",
|
|
42
42
|
Cancel: "取消",
|
|
43
43
|
Submit: "确定"
|
|
44
|
-
},
|
|
44
|
+
}, Xa = {
|
|
45
45
|
"Theme color": "主題色",
|
|
46
46
|
"Restore default": "還原預設",
|
|
47
47
|
Appearance: "外觀",
|
|
@@ -58,7 +58,7 @@ const Ya = {
|
|
|
58
58
|
"Frame Config": "框架設定",
|
|
59
59
|
Cancel: "取消",
|
|
60
60
|
Submit: "確定"
|
|
61
|
-
},
|
|
61
|
+
}, Qa = {
|
|
62
62
|
"Theme color": "テーマカラー",
|
|
63
63
|
"Restore default": "既定に戻す",
|
|
64
64
|
Appearance: "外観",
|
|
@@ -75,7 +75,7 @@ const Ya = {
|
|
|
75
75
|
"Frame Config": "フレーム設定",
|
|
76
76
|
Cancel: "キャンセル",
|
|
77
77
|
Submit: "確定"
|
|
78
|
-
},
|
|
78
|
+
}, el = {
|
|
79
79
|
"Theme color": "테마 색",
|
|
80
80
|
"Restore default": "기본값으로 복원",
|
|
81
81
|
Appearance: "모양",
|
|
@@ -92,7 +92,7 @@ const Ya = {
|
|
|
92
92
|
"Frame Config": "프레임 설정",
|
|
93
93
|
Cancel: "취소",
|
|
94
94
|
Submit: "확인"
|
|
95
|
-
},
|
|
95
|
+
}, al = {
|
|
96
96
|
"Theme color": "Màu chủ đề",
|
|
97
97
|
"Restore default": "Khôi phục mặc định",
|
|
98
98
|
Appearance: "Giao diện",
|
|
@@ -110,49 +110,49 @@ const Ya = {
|
|
|
110
110
|
Cancel: "Hủy",
|
|
111
111
|
Submit: "Gửi"
|
|
112
112
|
}, Ee = {
|
|
113
|
-
en_us:
|
|
114
|
-
zh_cn:
|
|
115
|
-
zh_tw:
|
|
116
|
-
ja_jp:
|
|
117
|
-
ko_kr:
|
|
118
|
-
vi_vn:
|
|
113
|
+
en_us: Wa,
|
|
114
|
+
zh_cn: qa,
|
|
115
|
+
zh_tw: Xa,
|
|
116
|
+
ja_jp: Qa,
|
|
117
|
+
ko_kr: el,
|
|
118
|
+
vi_vn: al
|
|
119
119
|
};
|
|
120
|
-
function
|
|
121
|
-
return String(
|
|
120
|
+
function ll(e) {
|
|
121
|
+
return String(e || "en_us").toLowerCase().replace(/-/g, "_");
|
|
122
122
|
}
|
|
123
|
-
const
|
|
124
|
-
function
|
|
125
|
-
const o =
|
|
123
|
+
const rs = Ee;
|
|
124
|
+
function ss(e) {
|
|
125
|
+
const o = ll(e);
|
|
126
126
|
return { ...Ee[o] || Ee.en_us };
|
|
127
127
|
}
|
|
128
|
-
const
|
|
128
|
+
const nl = [
|
|
129
129
|
{ label: "English", icon: "us", txt: "EN", value: "en_us", use: !0 },
|
|
130
130
|
{ label: "简体中文", icon: "cn", txt: "简", value: "zh_cn", use: !0 },
|
|
131
131
|
{ label: "繁體中文", icon: "hk", txt: "繁", value: "zh_tw", use: !0 },
|
|
132
132
|
{ label: "日本語", icon: "jp", txt: "日", value: "ja_jp", use: !0 },
|
|
133
133
|
{ label: "한국어", icon: "kr", txt: "한", value: "ko_kr", use: !0 },
|
|
134
134
|
{ label: "Tiếng Việt", icon: "vn", txt: "Vi", value: "vi_vn", use: !0 }
|
|
135
|
-
],
|
|
136
|
-
const
|
|
137
|
-
for (let l =
|
|
138
|
-
|
|
139
|
-
return Object.freeze(
|
|
140
|
-
},
|
|
135
|
+
], ol = (e, o) => {
|
|
136
|
+
const a = [];
|
|
137
|
+
for (let l = e; l <= o; l++)
|
|
138
|
+
a.push({ label: l, value: l });
|
|
139
|
+
return Object.freeze(a);
|
|
140
|
+
}, va = ol(18, 64), tl = Object.freeze([
|
|
141
141
|
{
|
|
142
142
|
label: "All",
|
|
143
143
|
value: "All"
|
|
144
144
|
},
|
|
145
|
-
...
|
|
146
|
-
]),
|
|
147
|
-
...
|
|
145
|
+
...va
|
|
146
|
+
]), rl = Object.freeze([
|
|
147
|
+
...va,
|
|
148
148
|
{
|
|
149
149
|
label: "65+",
|
|
150
150
|
value: 65
|
|
151
151
|
}
|
|
152
|
-
]),
|
|
153
|
-
minOptions:
|
|
154
|
-
maxOptions:
|
|
155
|
-
}),
|
|
152
|
+
]), sl = Object.freeze({
|
|
153
|
+
minOptions: tl,
|
|
154
|
+
maxOptions: rl
|
|
155
|
+
}), pa = Object.freeze([
|
|
156
156
|
{
|
|
157
157
|
label: "Today Tab",
|
|
158
158
|
value: "APPSTORE_TODAY_TAB",
|
|
@@ -177,9 +177,9 @@ const ll = [
|
|
|
177
177
|
description: "Reach users when they're browsing apps.",
|
|
178
178
|
description1: "Reach users when they're browsing apps. Your ad will appear at the top of the You Might Also Like list to users who have scrolled to the bottom of relevant product pages."
|
|
179
179
|
}
|
|
180
|
-
]),
|
|
181
|
-
arr:
|
|
182
|
-
obj:
|
|
180
|
+
]), il = pa.reduce((e, o) => (e[o.value] = o, e), /* @__PURE__ */ Object.create(null)), cl = Object.freeze({
|
|
181
|
+
arr: pa,
|
|
182
|
+
obj: il
|
|
183
183
|
}), xe = Object.freeze([
|
|
184
184
|
{
|
|
185
185
|
label: "All Categories",
|
|
@@ -365,31 +365,31 @@ const ll = [
|
|
|
365
365
|
label: "Game Word",
|
|
366
366
|
value: 7019
|
|
367
367
|
}
|
|
368
|
-
]),
|
|
369
|
-
xe.reduce((
|
|
370
|
-
),
|
|
371
|
-
xe.forEach((
|
|
372
|
-
|
|
368
|
+
]), ul = Object.freeze(
|
|
369
|
+
xe.reduce((e, o) => (e[o.value] = o, e), {})
|
|
370
|
+
), fa = [], ha = [];
|
|
371
|
+
xe.forEach((e) => {
|
|
372
|
+
e.label.includes("Game") ? e.label !== "Games" && ha.push(e) : e.value && fa.push(e);
|
|
373
373
|
});
|
|
374
|
-
const
|
|
374
|
+
const dl = Object.freeze({
|
|
375
375
|
label: "App",
|
|
376
376
|
value: 5e3,
|
|
377
|
-
children: Object.freeze([...
|
|
378
|
-
}),
|
|
377
|
+
children: Object.freeze([...fa])
|
|
378
|
+
}), ml = Object.freeze({
|
|
379
379
|
label: "Game",
|
|
380
380
|
value: 6014
|
|
381
|
-
}),
|
|
381
|
+
}), bl = Object.freeze({
|
|
382
382
|
label: "Game",
|
|
383
383
|
value: 6014,
|
|
384
|
-
children: Object.freeze([
|
|
385
|
-
}),
|
|
384
|
+
children: Object.freeze([ml, ...ha])
|
|
385
|
+
}), vl = Object.freeze({
|
|
386
386
|
label: "All Categories",
|
|
387
387
|
value: 0
|
|
388
|
-
}),
|
|
388
|
+
}), pl = Object.freeze([vl, dl, bl]), fl = Object.freeze({
|
|
389
389
|
arr: xe,
|
|
390
|
-
obj:
|
|
391
|
-
tree:
|
|
392
|
-
}),
|
|
390
|
+
obj: ul,
|
|
391
|
+
tree: pl
|
|
392
|
+
}), _a = Object.freeze([
|
|
393
393
|
{
|
|
394
394
|
label: "All categories",
|
|
395
395
|
value: "All categories"
|
|
@@ -402,10 +402,10 @@ const ul = Object.freeze({
|
|
|
402
402
|
label: "Other categories",
|
|
403
403
|
value: "Other categories"
|
|
404
404
|
}
|
|
405
|
-
]),
|
|
406
|
-
arr:
|
|
407
|
-
obj:
|
|
408
|
-
}),
|
|
405
|
+
]), hl = _a.reduce((e, o) => (e[o.value] = o, e), /* @__PURE__ */ Object.create(null)), _l = Object.freeze({
|
|
406
|
+
arr: _a,
|
|
407
|
+
obj: hl
|
|
408
|
+
}), ga = Object.freeze([
|
|
409
409
|
{
|
|
410
410
|
label: "All Users",
|
|
411
411
|
value: "All Users"
|
|
@@ -414,8 +414,8 @@ const ul = Object.freeze({
|
|
|
414
414
|
label: "New Users",
|
|
415
415
|
value: "New Users"
|
|
416
416
|
}
|
|
417
|
-
]),
|
|
418
|
-
...
|
|
417
|
+
]), ya = Object.freeze([
|
|
418
|
+
...ga,
|
|
419
419
|
{
|
|
420
420
|
label: "Users of my other apps",
|
|
421
421
|
value: "Users of my other apps"
|
|
@@ -424,7 +424,7 @@ const ul = Object.freeze({
|
|
|
424
424
|
label: "Returning Users",
|
|
425
425
|
value: "Returning Users"
|
|
426
426
|
}
|
|
427
|
-
]),
|
|
427
|
+
]), gl = ya.reduce((e, o) => (e[o.value] = o, e), /* @__PURE__ */ Object.create(null)), yl = Object.freeze({ arr: ga, all: ya, obj: gl }), Aa = Object.freeze([
|
|
428
428
|
{
|
|
429
429
|
label: "iPhone",
|
|
430
430
|
value: "IPHONE",
|
|
@@ -435,18 +435,18 @@ const ul = Object.freeze({
|
|
|
435
435
|
value: "IPAD",
|
|
436
436
|
icon: "im-ipad"
|
|
437
437
|
}
|
|
438
|
-
]),
|
|
438
|
+
]), za = Object.freeze([
|
|
439
439
|
{
|
|
440
440
|
label: "iPhone & iPad",
|
|
441
441
|
value: "IPHONE,IPAD",
|
|
442
442
|
icon: "im-iphone_ipad"
|
|
443
443
|
},
|
|
444
|
-
...
|
|
445
|
-
]),
|
|
446
|
-
arr:
|
|
447
|
-
all:
|
|
448
|
-
obj:
|
|
449
|
-
}),
|
|
444
|
+
...Aa
|
|
445
|
+
]), Al = za.reduce((e, o) => (e[o.value] = o, e), /* @__PURE__ */ Object.create(null)), zl = Object.freeze({
|
|
446
|
+
arr: Aa,
|
|
447
|
+
all: za,
|
|
448
|
+
obj: Al
|
|
449
|
+
}), wa = Object.freeze([
|
|
450
450
|
{
|
|
451
451
|
label: "Male",
|
|
452
452
|
value: "M",
|
|
@@ -457,14 +457,14 @@ const ul = Object.freeze({
|
|
|
457
457
|
value: "F",
|
|
458
458
|
icon: "im-female"
|
|
459
459
|
}
|
|
460
|
-
]),
|
|
460
|
+
]), Sa = Object.freeze([
|
|
461
461
|
{
|
|
462
462
|
label: "All",
|
|
463
463
|
value: "M,F",
|
|
464
464
|
icon: "im-male_female"
|
|
465
465
|
},
|
|
466
|
-
...
|
|
467
|
-
]),
|
|
466
|
+
...wa
|
|
467
|
+
]), wl = Sa.reduce((e, o) => (e[o.value] = o, e), /* @__PURE__ */ Object.create(null)), Sl = Object.freeze({ arr: wa, all: Sa, obj: wl }), Tl = Object.freeze([
|
|
468
468
|
{
|
|
469
469
|
label: "None",
|
|
470
470
|
value: 0
|
|
@@ -489,7 +489,7 @@ const ul = Object.freeze({
|
|
|
489
489
|
label: "★★★★★",
|
|
490
490
|
value: 5
|
|
491
491
|
}
|
|
492
|
-
]),
|
|
492
|
+
]), Ta = Object.freeze([
|
|
493
493
|
{
|
|
494
494
|
label: "Exact",
|
|
495
495
|
value: "EXACT"
|
|
@@ -498,10 +498,10 @@ const ul = Object.freeze({
|
|
|
498
498
|
label: "Broad",
|
|
499
499
|
value: "BROAD"
|
|
500
500
|
}
|
|
501
|
-
]),
|
|
502
|
-
arr:
|
|
503
|
-
obj:
|
|
504
|
-
}),
|
|
501
|
+
]), Cl = Ta.reduce((e, o) => (e[o.value] = o, e), /* @__PURE__ */ Object.create(null)), Ml = Object.freeze({
|
|
502
|
+
arr: Ta,
|
|
503
|
+
obj: Cl
|
|
504
|
+
}), Ca = Object.freeze([
|
|
505
505
|
{
|
|
506
506
|
label: "Pre-Orders",
|
|
507
507
|
visible: !0,
|
|
@@ -510,7 +510,7 @@ const ul = Object.freeze({
|
|
|
510
510
|
width: 180,
|
|
511
511
|
align: "right",
|
|
512
512
|
precision: 0,
|
|
513
|
-
formatter: (
|
|
513
|
+
formatter: (e) => e.tapPreOrders || 0
|
|
514
514
|
},
|
|
515
515
|
{
|
|
516
516
|
label: "View Pre-Orders",
|
|
@@ -520,7 +520,7 @@ const ul = Object.freeze({
|
|
|
520
520
|
width: 200,
|
|
521
521
|
align: "right",
|
|
522
522
|
precision: 0,
|
|
523
|
-
formatter: (
|
|
523
|
+
formatter: (e) => e.viewPreOrders || 0
|
|
524
524
|
},
|
|
525
525
|
{
|
|
526
526
|
label: "Total Pre-Orders",
|
|
@@ -530,7 +530,7 @@ const ul = Object.freeze({
|
|
|
530
530
|
width: 200,
|
|
531
531
|
align: "right",
|
|
532
532
|
precision: 0,
|
|
533
|
-
formatter: (
|
|
533
|
+
formatter: (e) => e.totalPreOrders || 0
|
|
534
534
|
},
|
|
535
535
|
{
|
|
536
536
|
label: "Avg CPA Pre-Orders(Tap Through)",
|
|
@@ -539,7 +539,7 @@ const ul = Object.freeze({
|
|
|
539
539
|
value: "cpaTapPreOrders",
|
|
540
540
|
width: 280,
|
|
541
541
|
align: "right",
|
|
542
|
-
formatter: (
|
|
542
|
+
formatter: (e) => e.cpaTapPreOrders || 0
|
|
543
543
|
},
|
|
544
544
|
{
|
|
545
545
|
label: "Avg CPA Pre-Orders(Total)",
|
|
@@ -548,7 +548,7 @@ const ul = Object.freeze({
|
|
|
548
548
|
value: "cpaTotalPreOrders",
|
|
549
549
|
width: 240,
|
|
550
550
|
align: "right",
|
|
551
|
-
formatter: (
|
|
551
|
+
formatter: (e) => e.cpaTotalPreOrders || 0
|
|
552
552
|
},
|
|
553
553
|
{
|
|
554
554
|
label: "CR Pre-Orders(Tap Through)",
|
|
@@ -557,7 +557,7 @@ const ul = Object.freeze({
|
|
|
557
557
|
value: "crTapPreOrders",
|
|
558
558
|
width: 240,
|
|
559
559
|
align: "right",
|
|
560
|
-
formatter: (
|
|
560
|
+
formatter: (e) => e.crTapPreOrders || 0
|
|
561
561
|
},
|
|
562
562
|
{
|
|
563
563
|
label: "CR Pre-Orders(Total)",
|
|
@@ -566,11 +566,11 @@ const ul = Object.freeze({
|
|
|
566
566
|
value: "crTotalPreOrders",
|
|
567
567
|
width: 240,
|
|
568
568
|
align: "right",
|
|
569
|
-
formatter: (
|
|
569
|
+
formatter: (e) => e.crTotalPreOrders || 0
|
|
570
570
|
}
|
|
571
|
-
]),
|
|
572
|
-
|
|
573
|
-
),
|
|
571
|
+
]), kl = Object.freeze(
|
|
572
|
+
Ca.reduce((e, o) => (e[o.value] = o, e), /* @__PURE__ */ Object.create(null))
|
|
573
|
+
), Ma = Object.freeze({ arr: Ca, obj: kl }), ka = Object.freeze([
|
|
574
574
|
{
|
|
575
575
|
label: "Spend",
|
|
576
576
|
label_en_us: "Spend",
|
|
@@ -583,7 +583,7 @@ const ul = Object.freeze({
|
|
|
583
583
|
value: "spend",
|
|
584
584
|
width: 144,
|
|
585
585
|
align: "right",
|
|
586
|
-
formatter: (
|
|
586
|
+
formatter: (e) => e.spendFormat || 0
|
|
587
587
|
},
|
|
588
588
|
{
|
|
589
589
|
label: "Impressions",
|
|
@@ -596,7 +596,7 @@ const ul = Object.freeze({
|
|
|
596
596
|
value: "impressions",
|
|
597
597
|
width: 144,
|
|
598
598
|
align: "right",
|
|
599
|
-
formatter: (
|
|
599
|
+
formatter: (e) => e.impressionsFormat || 0
|
|
600
600
|
},
|
|
601
601
|
{
|
|
602
602
|
label: "Taps",
|
|
@@ -609,7 +609,7 @@ const ul = Object.freeze({
|
|
|
609
609
|
value: "taps",
|
|
610
610
|
width: 144,
|
|
611
611
|
align: "right",
|
|
612
|
-
formatter: (
|
|
612
|
+
formatter: (e) => e.tapsFormat || 0
|
|
613
613
|
},
|
|
614
614
|
{
|
|
615
615
|
label: "Tap Installs",
|
|
@@ -622,7 +622,7 @@ const ul = Object.freeze({
|
|
|
622
622
|
value: "installs",
|
|
623
623
|
width: 160,
|
|
624
624
|
align: "right",
|
|
625
|
-
formatter: (
|
|
625
|
+
formatter: (e) => e.installsFormat || 0
|
|
626
626
|
},
|
|
627
627
|
{
|
|
628
628
|
label: "Avg CPA",
|
|
@@ -635,7 +635,7 @@ const ul = Object.freeze({
|
|
|
635
635
|
value: "avgCPA",
|
|
636
636
|
width: 144,
|
|
637
637
|
align: "right",
|
|
638
|
-
formatter: (
|
|
638
|
+
formatter: (e) => e.avgCPAFormat || 0
|
|
639
639
|
},
|
|
640
640
|
{
|
|
641
641
|
label: "Total CPA",
|
|
@@ -646,7 +646,7 @@ const ul = Object.freeze({
|
|
|
646
646
|
unit: "currency",
|
|
647
647
|
width: 144,
|
|
648
648
|
align: "right",
|
|
649
|
-
formatter: (
|
|
649
|
+
formatter: (e) => e.totalCPAFormat || 0
|
|
650
650
|
},
|
|
651
651
|
{
|
|
652
652
|
label: "Avg CPT",
|
|
@@ -659,7 +659,7 @@ const ul = Object.freeze({
|
|
|
659
659
|
value: "avgCPT",
|
|
660
660
|
width: 144,
|
|
661
661
|
align: "right",
|
|
662
|
-
formatter: (
|
|
662
|
+
formatter: (e) => e.avgCPTFormat || 0
|
|
663
663
|
},
|
|
664
664
|
{
|
|
665
665
|
label: "Avg CPM",
|
|
@@ -672,7 +672,7 @@ const ul = Object.freeze({
|
|
|
672
672
|
value: "avgCPM",
|
|
673
673
|
width: 144,
|
|
674
674
|
align: "right",
|
|
675
|
-
formatter: (
|
|
675
|
+
formatter: (e) => e.avgCPMFormat || 0
|
|
676
676
|
},
|
|
677
677
|
{
|
|
678
678
|
label: "CR",
|
|
@@ -685,7 +685,7 @@ const ul = Object.freeze({
|
|
|
685
685
|
value: "cr",
|
|
686
686
|
width: 120,
|
|
687
687
|
align: "right",
|
|
688
|
-
formatter: (
|
|
688
|
+
formatter: (e) => e.crFormat || 0
|
|
689
689
|
},
|
|
690
690
|
{
|
|
691
691
|
label: "TTR",
|
|
@@ -698,7 +698,7 @@ const ul = Object.freeze({
|
|
|
698
698
|
value: "ttr",
|
|
699
699
|
width: 120,
|
|
700
700
|
align: "right",
|
|
701
|
-
formatter: (
|
|
701
|
+
formatter: (e) => e.ttrFormat || 0
|
|
702
702
|
},
|
|
703
703
|
{
|
|
704
704
|
label: "Tap New Download",
|
|
@@ -711,7 +711,7 @@ const ul = Object.freeze({
|
|
|
711
711
|
width: 180,
|
|
712
712
|
align: "right",
|
|
713
713
|
value: "newDownloads",
|
|
714
|
-
formatter: (
|
|
714
|
+
formatter: (e) => e.newDownloadsFormat || 0
|
|
715
715
|
},
|
|
716
716
|
{
|
|
717
717
|
label: "Tap Redownload",
|
|
@@ -724,7 +724,7 @@ const ul = Object.freeze({
|
|
|
724
724
|
width: 160,
|
|
725
725
|
align: "right",
|
|
726
726
|
value: "reDownloads",
|
|
727
|
-
formatter: (
|
|
727
|
+
formatter: (e) => e.reDownloadsFormat || 0
|
|
728
728
|
},
|
|
729
729
|
{
|
|
730
730
|
label: "Total Installs",
|
|
@@ -737,7 +737,7 @@ const ul = Object.freeze({
|
|
|
737
737
|
width: 144,
|
|
738
738
|
align: "right",
|
|
739
739
|
value: "totalInstalls",
|
|
740
|
-
formatter: (
|
|
740
|
+
formatter: (e) => e.totalInstallsFormat || 0
|
|
741
741
|
},
|
|
742
742
|
{
|
|
743
743
|
label: "Total New Downloads",
|
|
@@ -750,7 +750,7 @@ const ul = Object.freeze({
|
|
|
750
750
|
width: 160,
|
|
751
751
|
align: "right",
|
|
752
752
|
value: "totalNewDownloads",
|
|
753
|
-
formatter: (
|
|
753
|
+
formatter: (e) => e.totalNewDownloadsFormat || 0
|
|
754
754
|
},
|
|
755
755
|
{
|
|
756
756
|
label: "Total Redownload",
|
|
@@ -763,7 +763,7 @@ const ul = Object.freeze({
|
|
|
763
763
|
width: 144,
|
|
764
764
|
align: "right",
|
|
765
765
|
value: "totalReDownloads",
|
|
766
|
-
formatter: (
|
|
766
|
+
formatter: (e) => e.totalReDownloadsFormat || 0
|
|
767
767
|
},
|
|
768
768
|
{
|
|
769
769
|
label: "View Installs",
|
|
@@ -776,7 +776,7 @@ const ul = Object.freeze({
|
|
|
776
776
|
width: 180,
|
|
777
777
|
align: "right",
|
|
778
778
|
value: "viewInstalls",
|
|
779
|
-
formatter: (
|
|
779
|
+
formatter: (e) => e.viewInstallsFormat || 0
|
|
780
780
|
},
|
|
781
781
|
{
|
|
782
782
|
label: "View New Download",
|
|
@@ -789,7 +789,7 @@ const ul = Object.freeze({
|
|
|
789
789
|
width: 180,
|
|
790
790
|
align: "right",
|
|
791
791
|
value: "viewNewDownloads",
|
|
792
|
-
formatter: (
|
|
792
|
+
formatter: (e) => e.viewNewDownloadsFormat || 0
|
|
793
793
|
},
|
|
794
794
|
{
|
|
795
795
|
label: "View Redownload",
|
|
@@ -802,12 +802,12 @@ const ul = Object.freeze({
|
|
|
802
802
|
width: 180,
|
|
803
803
|
align: "right",
|
|
804
804
|
value: "viewReDownloads",
|
|
805
|
-
formatter: (
|
|
805
|
+
formatter: (e) => e.viewReDownloadsFormat || 0
|
|
806
806
|
},
|
|
807
|
-
...
|
|
808
|
-
]),
|
|
809
|
-
|
|
810
|
-
), Le = Object.freeze({ arr:
|
|
807
|
+
...Ma.arr
|
|
808
|
+
]), El = Object.freeze(
|
|
809
|
+
ka.reduce((e, o) => (e[o.value] = o, e), /* @__PURE__ */ Object.create(null))
|
|
810
|
+
), Le = Object.freeze({ arr: ka, obj: El }), Ea = Object.freeze([
|
|
811
811
|
{
|
|
812
812
|
label: "MMP CPI",
|
|
813
813
|
value: "mmpCPI",
|
|
@@ -1039,9 +1039,9 @@ const ul = Object.freeze({
|
|
|
1039
1039
|
align: "right",
|
|
1040
1040
|
visible: !1
|
|
1041
1041
|
}
|
|
1042
|
-
]),
|
|
1043
|
-
|
|
1044
|
-
),
|
|
1042
|
+
]), Ol = Object.freeze(
|
|
1043
|
+
Ea.reduce((e, o) => (e[o.value] = o, e), /* @__PURE__ */ Object.create(null))
|
|
1044
|
+
), Oa = Object.freeze({ arr: Ea, obj: Ol }), Pa = Object.freeze([
|
|
1045
1045
|
{
|
|
1046
1046
|
label: "None",
|
|
1047
1047
|
value: 0
|
|
@@ -1058,29 +1058,29 @@ const ul = Object.freeze({
|
|
|
1058
1058
|
label: "Generic",
|
|
1059
1059
|
value: 3
|
|
1060
1060
|
}
|
|
1061
|
-
]),
|
|
1062
|
-
arr:
|
|
1063
|
-
obj: Object.freeze(
|
|
1064
|
-
}),
|
|
1065
|
-
age:
|
|
1066
|
-
adplacement:
|
|
1067
|
-
appCategory:
|
|
1068
|
-
category:
|
|
1069
|
-
customerType:
|
|
1070
|
-
device:
|
|
1071
|
-
gender:
|
|
1072
|
-
level:
|
|
1073
|
-
matchType:
|
|
1061
|
+
]), Pl = Pa.reduce((e, o) => (e[o.value] = o, e), /* @__PURE__ */ Object.create(null)), xl = Object.freeze({ arr: Pa, obj: Pl }), Ll = Le, xa = Object.freeze([...Le.arr, ...Oa.arr]), Nl = xa.reduce((e, o) => (e[o.value] = o, e), /* @__PURE__ */ Object.create(null)), Il = Object.freeze({
|
|
1062
|
+
arr: xa,
|
|
1063
|
+
obj: Object.freeze(Nl)
|
|
1064
|
+
}), $l = Object.freeze({
|
|
1065
|
+
age: sl,
|
|
1066
|
+
adplacement: cl,
|
|
1067
|
+
appCategory: fl,
|
|
1068
|
+
category: _l,
|
|
1069
|
+
customerType: yl,
|
|
1070
|
+
device: zl,
|
|
1071
|
+
gender: Sl,
|
|
1072
|
+
level: Tl,
|
|
1073
|
+
matchType: Ml,
|
|
1074
1074
|
metricAsa: Le,
|
|
1075
|
-
metricEX:
|
|
1076
|
-
metricMmp:
|
|
1077
|
-
tag:
|
|
1078
|
-
asaMetric:
|
|
1079
|
-
allMetric:
|
|
1080
|
-
}),
|
|
1075
|
+
metricEX: Ma,
|
|
1076
|
+
metricMmp: Oa,
|
|
1077
|
+
tag: xl,
|
|
1078
|
+
asaMetric: Ll,
|
|
1079
|
+
allMetric: Il
|
|
1080
|
+
}), Bl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1081
1081
|
__proto__: null,
|
|
1082
|
-
default:
|
|
1083
|
-
}, Symbol.toStringTag, { value: "Module" })), Ne = -12, Ie = 14,
|
|
1082
|
+
default: $l
|
|
1083
|
+
}, Symbol.toStringTag, { value: "Module" })), Ne = -12, Ie = 14, jl = 0, Dl = {
|
|
1084
1084
|
"-12": "Pacific/Baker_Island",
|
|
1085
1085
|
"-11": "Pacific/Pago_Pago",
|
|
1086
1086
|
"-10": "Pacific/Honolulu",
|
|
@@ -1109,33 +1109,33 @@ const ul = Object.freeze({
|
|
|
1109
1109
|
13: "Pacific/Tongatapu",
|
|
1110
1110
|
14: "Pacific/Kiritimati"
|
|
1111
1111
|
};
|
|
1112
|
-
function
|
|
1113
|
-
return String(Number(
|
|
1112
|
+
function Rl(e) {
|
|
1113
|
+
return String(Number(e));
|
|
1114
1114
|
}
|
|
1115
|
-
const
|
|
1115
|
+
const Fl = Object.freeze(
|
|
1116
1116
|
(() => {
|
|
1117
|
-
const
|
|
1117
|
+
const e = [];
|
|
1118
1118
|
for (let o = Ne; o <= Ie; o++)
|
|
1119
|
-
|
|
1119
|
+
e.push({
|
|
1120
1120
|
value: o,
|
|
1121
|
-
label:
|
|
1121
|
+
label: Dl[String(o)] ?? `Offset/${o}`
|
|
1122
1122
|
});
|
|
1123
|
-
return
|
|
1123
|
+
return e;
|
|
1124
1124
|
})()
|
|
1125
1125
|
);
|
|
1126
|
-
function
|
|
1127
|
-
const o = Number(
|
|
1126
|
+
function Vl(e) {
|
|
1127
|
+
const o = Number(e);
|
|
1128
1128
|
return Number.isInteger(o) && o >= Ne && o <= Ie;
|
|
1129
1129
|
}
|
|
1130
|
-
const
|
|
1130
|
+
const Gl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1131
1131
|
__proto__: null,
|
|
1132
|
-
ADS_MANAGER_TIMEZONE_DEFAULT:
|
|
1132
|
+
ADS_MANAGER_TIMEZONE_DEFAULT: jl,
|
|
1133
1133
|
ADS_MANAGER_UTC_OFFSET_MAX: Ie,
|
|
1134
1134
|
ADS_MANAGER_UTC_OFFSET_MIN: Ne,
|
|
1135
|
-
formatTimezoneOffsetValuePlain:
|
|
1136
|
-
isValidTimezoneOffsetHours:
|
|
1137
|
-
timezone:
|
|
1138
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1135
|
+
formatTimezoneOffsetValuePlain: Rl,
|
|
1136
|
+
isValidTimezoneOffsetHours: Vl,
|
|
1137
|
+
timezone: Fl
|
|
1138
|
+
}, Symbol.toStringTag, { value: "Module" })), Kl = [
|
|
1139
1139
|
"America/Anchorage",
|
|
1140
1140
|
"America/Los_Angeles",
|
|
1141
1141
|
"America/Chicago",
|
|
@@ -1153,23 +1153,23 @@ const Vl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1153
1153
|
"Asia/Jerusalem",
|
|
1154
1154
|
"Pacific/Auckland",
|
|
1155
1155
|
"Pacific/Fiji"
|
|
1156
|
-
],
|
|
1157
|
-
if (
|
|
1156
|
+
], Ul = (e) => {
|
|
1157
|
+
if (Kl.indexOf(e) === -1)
|
|
1158
1158
|
return !1;
|
|
1159
1159
|
{
|
|
1160
|
-
const o = /* @__PURE__ */ new Date(),
|
|
1160
|
+
const o = /* @__PURE__ */ new Date(), a = new Date(o.getFullYear(), 0, 1), l = new Date(o.getFullYear(), 6, 1), n = (v) => {
|
|
1161
1161
|
var F;
|
|
1162
1162
|
const c = ((F = new Intl.DateTimeFormat("en-US", {
|
|
1163
|
-
timeZone:
|
|
1163
|
+
timeZone: e,
|
|
1164
1164
|
timeZoneName: "longOffset"
|
|
1165
1165
|
}).formatToParts(v).find((f) => f.type === "timeZoneName").value.match(/[+-]\d{2}(?::\d{2})?/)) == null ? void 0 : F[0]) || "+00:00", [y, S, h, x] = c.match(
|
|
1166
1166
|
/([+-])(\d{2})(?::?(\d{2}))?/
|
|
1167
1167
|
);
|
|
1168
1168
|
return (S === "+" ? -1 : 1) * (parseInt(h) * 60 + parseInt(x || "00"));
|
|
1169
|
-
}, r = n(o), s = n(
|
|
1169
|
+
}, r = n(o), s = n(a), g = n(l);
|
|
1170
1170
|
return r < Math.max(s, g);
|
|
1171
1171
|
}
|
|
1172
|
-
},
|
|
1172
|
+
}, La = Object.freeze([
|
|
1173
1173
|
{
|
|
1174
1174
|
value: -12,
|
|
1175
1175
|
zone: -12,
|
|
@@ -4175,19 +4175,19 @@ const Vl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4175
4175
|
zone: 14,
|
|
4176
4176
|
label: "Pacific/Kiritimati"
|
|
4177
4177
|
}
|
|
4178
|
-
].map((
|
|
4179
|
-
|
|
4180
|
-
),
|
|
4178
|
+
].map((e) => (Ul(e.label) && (e.value += 1, e.zone += 1), e))), Hl = Object.freeze(
|
|
4179
|
+
La.reduce((e, o) => (e[o.label] = o, e), /* @__PURE__ */ Object.create(null))
|
|
4180
|
+
), Jl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4181
4181
|
__proto__: null,
|
|
4182
|
-
arr:
|
|
4183
|
-
obj:
|
|
4184
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
4182
|
+
arr: La,
|
|
4183
|
+
obj: Hl
|
|
4184
|
+
}, Symbol.toStringTag, { value: "Module" })), Zl = {
|
|
4185
4185
|
campany: "MStars All Rights Reserved.",
|
|
4186
4186
|
copyright: "© 2026 mstars.ai",
|
|
4187
4187
|
email: "info@mstars.ai"
|
|
4188
|
-
},
|
|
4188
|
+
}, Yl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4189
4189
|
__proto__: null,
|
|
4190
|
-
default:
|
|
4190
|
+
default: Zl
|
|
4191
4191
|
}, Symbol.toStringTag, { value: "Module" })), Ze = Object.freeze([
|
|
4192
4192
|
{
|
|
4193
4193
|
label: "China",
|
|
@@ -6632,18 +6632,18 @@ const Vl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
6632
6632
|
value_upper: "VN"
|
|
6633
6633
|
}
|
|
6634
6634
|
]);
|
|
6635
|
-
function qe(
|
|
6635
|
+
function qe(e) {
|
|
6636
6636
|
const o = /* @__PURE__ */ Object.create(null);
|
|
6637
|
-
for (const
|
|
6638
|
-
const l =
|
|
6639
|
-
l != null && (o[l] =
|
|
6637
|
+
for (const a of e) {
|
|
6638
|
+
const l = a == null ? void 0 : a.value;
|
|
6639
|
+
l != null && (o[l] = a);
|
|
6640
6640
|
}
|
|
6641
6641
|
return Object.freeze(o);
|
|
6642
6642
|
}
|
|
6643
|
-
function
|
|
6643
|
+
function Wl(e) {
|
|
6644
6644
|
const o = /* @__PURE__ */ Object.create(null);
|
|
6645
|
-
for (const
|
|
6646
|
-
const l =
|
|
6645
|
+
for (const a of e) {
|
|
6646
|
+
const l = a == null ? void 0 : a.children;
|
|
6647
6647
|
if (Array.isArray(l))
|
|
6648
6648
|
for (const n of l) {
|
|
6649
6649
|
const r = n == null ? void 0 : n.code;
|
|
@@ -6652,14 +6652,14 @@ function Yl(a) {
|
|
|
6652
6652
|
}
|
|
6653
6653
|
return Object.freeze(o);
|
|
6654
6654
|
}
|
|
6655
|
-
const
|
|
6655
|
+
const ql = Object.freeze({
|
|
6656
6656
|
all: Ze,
|
|
6657
6657
|
allObj: qe(Ze),
|
|
6658
6658
|
group: Ye,
|
|
6659
|
-
groupObj:
|
|
6659
|
+
groupObj: Wl(Ye),
|
|
6660
6660
|
asa: We,
|
|
6661
6661
|
asaObj: qe(We)
|
|
6662
|
-
}),
|
|
6662
|
+
}), Na = Object.freeze([
|
|
6663
6663
|
{
|
|
6664
6664
|
code: "af_",
|
|
6665
6665
|
name: "Afrikaans"
|
|
@@ -9248,10 +9248,10 @@ const Wl = Object.freeze({
|
|
|
9248
9248
|
code: "zh_Hant",
|
|
9249
9249
|
name: "Chinese Traditional"
|
|
9250
9250
|
}
|
|
9251
|
-
]),
|
|
9252
|
-
arr:
|
|
9253
|
-
obj:
|
|
9254
|
-
}),
|
|
9251
|
+
]), Xl = Na.reduce((e, o) => (e[o.code] = o, e), /* @__PURE__ */ Object.create(null)), Ql = Object.freeze({
|
|
9252
|
+
arr: Na,
|
|
9253
|
+
obj: Xl
|
|
9254
|
+
}), en = {
|
|
9255
9255
|
vTableTool: {
|
|
9256
9256
|
refresh: "Refresh",
|
|
9257
9257
|
column: "Column",
|
|
@@ -9271,16 +9271,16 @@ const Wl = Object.freeze({
|
|
|
9271
9271
|
{ abbr: "Sun", full: "Sunday" }
|
|
9272
9272
|
],
|
|
9273
9273
|
/** `common/timezone.js`:Ads Manager 时区整点偏移选项与工具方法 */
|
|
9274
|
-
...
|
|
9275
|
-
timezoneAll:
|
|
9276
|
-
meta:
|
|
9274
|
+
...Gl,
|
|
9275
|
+
timezoneAll: Jl,
|
|
9276
|
+
meta: Yl,
|
|
9277
9277
|
/** `common/country/`:国家/地区列表与分组,含 `*Obj` 映射 */
|
|
9278
|
-
country:
|
|
9279
|
-
langAll:
|
|
9280
|
-
},
|
|
9278
|
+
country: ql,
|
|
9279
|
+
langAll: Ql
|
|
9280
|
+
}, an = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9281
9281
|
__proto__: null,
|
|
9282
|
-
default:
|
|
9283
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
9282
|
+
default: en
|
|
9283
|
+
}, Symbol.toStringTag, { value: "Module" })), ln = {
|
|
9284
9284
|
color: [
|
|
9285
9285
|
"rgb(22, 177, 255)",
|
|
9286
9286
|
"rgb(86, 202, 0)",
|
|
@@ -9294,10 +9294,10 @@ const Wl = Object.freeze({
|
|
|
9294
9294
|
"rgb(115, 103, 240)",
|
|
9295
9295
|
"rgb(253, 216, 53)"
|
|
9296
9296
|
]
|
|
9297
|
-
},
|
|
9297
|
+
}, nn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9298
9298
|
__proto__: null,
|
|
9299
|
-
default:
|
|
9300
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
9299
|
+
default: ln
|
|
9300
|
+
}, Symbol.toStringTag, { value: "Module" })), on = Object.freeze({
|
|
9301
9301
|
RUNNING: {
|
|
9302
9302
|
class: "imicon im-dot txt-green txt-shadow-green-008",
|
|
9303
9303
|
button_class: "fs16-i hover no-shadow im-play-fill",
|
|
@@ -9581,39 +9581,39 @@ const Wl = Object.freeze({
|
|
|
9581
9581
|
value: "Denied",
|
|
9582
9582
|
sort: 40
|
|
9583
9583
|
}
|
|
9584
|
-
}),
|
|
9584
|
+
}), tn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9585
9585
|
__proto__: null,
|
|
9586
|
-
default:
|
|
9587
|
-
}, Symbol.toStringTag, { value: "Module" })), Xe = /* @__PURE__ */ Object.assign({ "./chip/asa.js":
|
|
9588
|
-
function
|
|
9589
|
-
const o =
|
|
9590
|
-
return o ? o[1] :
|
|
9586
|
+
default: on
|
|
9587
|
+
}, Symbol.toStringTag, { value: "Module" })), Xe = /* @__PURE__ */ Object.assign({ "./chip/asa.js": Bl, "./chip/common.js": an, "./chip/config.js": nn, "./chip/statusMap.js": tn });
|
|
9588
|
+
function rn(e) {
|
|
9589
|
+
const o = e.match(/^\.\/chip\/(.+)\.js$/);
|
|
9590
|
+
return o ? o[1] : e;
|
|
9591
9591
|
}
|
|
9592
9592
|
const $e = {};
|
|
9593
|
-
for (const
|
|
9594
|
-
const o = Xe[
|
|
9595
|
-
$e[
|
|
9593
|
+
for (const e of Object.keys(Xe)) {
|
|
9594
|
+
const o = Xe[e], a = rn(e);
|
|
9595
|
+
$e[a] = o.default ?? o;
|
|
9596
9596
|
}
|
|
9597
9597
|
let Be = null;
|
|
9598
9598
|
function je() {
|
|
9599
9599
|
return Be ?? $e;
|
|
9600
9600
|
}
|
|
9601
|
-
function De(
|
|
9602
|
-
if (
|
|
9601
|
+
function De(e) {
|
|
9602
|
+
if (e == null || typeof e != "object")
|
|
9603
9603
|
return !1;
|
|
9604
|
-
const o = Object.getPrototypeOf(
|
|
9604
|
+
const o = Object.getPrototypeOf(e);
|
|
9605
9605
|
return o === Object.prototype || o === null;
|
|
9606
9606
|
}
|
|
9607
|
-
function Re(
|
|
9607
|
+
function Re(e) {
|
|
9608
9608
|
const o = je();
|
|
9609
|
-
if (
|
|
9609
|
+
if (e == null || e === "")
|
|
9610
9610
|
return o;
|
|
9611
|
-
const
|
|
9611
|
+
const a = String(e).split(".");
|
|
9612
9612
|
let l = o;
|
|
9613
|
-
for (let n = 0; n <
|
|
9614
|
-
const r =
|
|
9613
|
+
for (let n = 0; n < a.length; n++) {
|
|
9614
|
+
const r = a[n];
|
|
9615
9615
|
if (l == null || typeof l != "object" || !Object.prototype.hasOwnProperty.call(l, r)) {
|
|
9616
|
-
console.error(`[mvframe] useMap: no node at "${r}" in "${
|
|
9616
|
+
console.error(`[mvframe] useMap: no node at "${r}" in "${e}"`);
|
|
9617
9617
|
return;
|
|
9618
9618
|
}
|
|
9619
9619
|
l = /** @type {Record<string, unknown>} */
|
|
@@ -9621,92 +9621,97 @@ function Re(a) {
|
|
|
9621
9621
|
}
|
|
9622
9622
|
return l;
|
|
9623
9623
|
}
|
|
9624
|
-
function ge(
|
|
9625
|
-
if (
|
|
9626
|
-
return
|
|
9627
|
-
if (typeof
|
|
9628
|
-
return globalThis.$l ? globalThis.$l(
|
|
9629
|
-
if (Array.isArray(
|
|
9630
|
-
return
|
|
9631
|
-
if (De(
|
|
9624
|
+
function ge(e) {
|
|
9625
|
+
if (e == null)
|
|
9626
|
+
return e;
|
|
9627
|
+
if (typeof e == "string")
|
|
9628
|
+
return globalThis.$l ? globalThis.$l(e) : e;
|
|
9629
|
+
if (Array.isArray(e))
|
|
9630
|
+
return e.map((o) => ge(o));
|
|
9631
|
+
if (De(e)) {
|
|
9632
9632
|
const o = {};
|
|
9633
|
-
for (const
|
|
9634
|
-
o[
|
|
9633
|
+
for (const a of Object.keys(e))
|
|
9634
|
+
o[a] = ge(e[a]);
|
|
9635
9635
|
return o;
|
|
9636
9636
|
}
|
|
9637
|
-
return
|
|
9637
|
+
return e;
|
|
9638
9638
|
}
|
|
9639
|
-
function
|
|
9640
|
-
return ge(Re(
|
|
9639
|
+
function sn(e) {
|
|
9640
|
+
return ge(Re(e));
|
|
9641
9641
|
}
|
|
9642
|
-
const
|
|
9642
|
+
const cn = Object.freeze({
|
|
9643
9643
|
avgCPA: "cpa",
|
|
9644
9644
|
avgCPM: "cpm",
|
|
9645
9645
|
avgCPT: "cpt"
|
|
9646
9646
|
});
|
|
9647
|
-
function
|
|
9648
|
-
|
|
9649
|
-
|
|
9650
|
-
|
|
9651
|
-
if (
|
|
9652
|
-
return a;
|
|
9653
|
-
if (Array.isArray(a))
|
|
9654
|
-
return a.map((e) => ye(e));
|
|
9655
|
-
if (De(a)) {
|
|
9656
|
-
const e = {};
|
|
9657
|
-
for (const l of Object.keys(a)) {
|
|
9658
|
-
const n = sn[l] ?? l;
|
|
9659
|
-
e[n] = ye(a[l]);
|
|
9660
|
-
}
|
|
9647
|
+
function Qe(e) {
|
|
9648
|
+
return cn[e] ?? e;
|
|
9649
|
+
}
|
|
9650
|
+
function ye(e) {
|
|
9651
|
+
if (e == null)
|
|
9661
9652
|
return e;
|
|
9653
|
+
const o = typeof e;
|
|
9654
|
+
if (o === "string")
|
|
9655
|
+
return Qe(e);
|
|
9656
|
+
if (o === "number" || o === "boolean")
|
|
9657
|
+
return e;
|
|
9658
|
+
if (Array.isArray(e))
|
|
9659
|
+
return e.map((a) => ye(a));
|
|
9660
|
+
if (De(e)) {
|
|
9661
|
+
const a = {};
|
|
9662
|
+
for (const l of Object.keys(e)) {
|
|
9663
|
+
const n = Qe(l);
|
|
9664
|
+
a[n] = ye(e[l]);
|
|
9665
|
+
}
|
|
9666
|
+
return a;
|
|
9662
9667
|
}
|
|
9663
|
-
return
|
|
9668
|
+
return e;
|
|
9664
9669
|
}
|
|
9665
|
-
function Ce(
|
|
9666
|
-
if (
|
|
9667
|
-
if (Array.isArray(
|
|
9668
|
-
return new Proxy(
|
|
9669
|
-
get(o,
|
|
9670
|
-
return
|
|
9670
|
+
function Ce(e) {
|
|
9671
|
+
if (e != null && typeof e == "object") {
|
|
9672
|
+
if (Array.isArray(e))
|
|
9673
|
+
return new Proxy(e, {
|
|
9674
|
+
get(o, a, l) {
|
|
9675
|
+
return a === "$l" ? () => ge(o.slice()) : a === "jump" ? () => Ce(ye(o)) : Reflect.get(o, a, l);
|
|
9671
9676
|
}
|
|
9672
9677
|
});
|
|
9673
|
-
if (De(
|
|
9674
|
-
return new Proxy(
|
|
9675
|
-
get(o,
|
|
9676
|
-
return
|
|
9678
|
+
if (De(e))
|
|
9679
|
+
return new Proxy(e, {
|
|
9680
|
+
get(o, a, l) {
|
|
9681
|
+
return a === "$l" ? () => ge({ ...o }) : a === "jump" ? () => Ce(ye(o)) : Reflect.get(o, a, l);
|
|
9677
9682
|
}
|
|
9678
9683
|
});
|
|
9679
9684
|
}
|
|
9680
|
-
return
|
|
9685
|
+
return e;
|
|
9681
9686
|
}
|
|
9682
|
-
function Fe(
|
|
9683
|
-
const
|
|
9687
|
+
function Fe(e, o) {
|
|
9688
|
+
const a = { ...e };
|
|
9684
9689
|
for (const l of Object.keys(o)) {
|
|
9685
|
-
const n = o[l], r =
|
|
9686
|
-
n != null && typeof n == "object" && !Array.isArray(n) && r != null && typeof r == "object" && !Array.isArray(r) ?
|
|
9690
|
+
const n = o[l], r = a[l];
|
|
9691
|
+
n != null && typeof n == "object" && !Array.isArray(n) && r != null && typeof r == "object" && !Array.isArray(r) ? a[l] = Fe(
|
|
9687
9692
|
/** @type {Record<string, unknown>} */
|
|
9688
9693
|
r,
|
|
9689
9694
|
/** @type {Record<string, unknown>} */
|
|
9690
9695
|
n
|
|
9691
|
-
) :
|
|
9696
|
+
) : a[l] = n;
|
|
9692
9697
|
}
|
|
9693
|
-
return
|
|
9698
|
+
return a;
|
|
9694
9699
|
}
|
|
9695
|
-
function
|
|
9700
|
+
function is() {
|
|
9696
9701
|
return je();
|
|
9697
9702
|
}
|
|
9698
|
-
function Ve(
|
|
9699
|
-
return Ce(Re(
|
|
9703
|
+
function Ve(e) {
|
|
9704
|
+
return Ce(Re(e));
|
|
9700
9705
|
}
|
|
9701
|
-
Ve.lang =
|
|
9702
|
-
Ve.jump = (
|
|
9703
|
-
function
|
|
9704
|
-
!
|
|
9706
|
+
Ve.lang = sn;
|
|
9707
|
+
Ve.jump = (e) => Ce(ye(Re(e)));
|
|
9708
|
+
function cs(e) {
|
|
9709
|
+
!e || typeof e != "object" || Array.isArray(e) || (Be = Fe(je(), e));
|
|
9705
9710
|
}
|
|
9706
|
-
function
|
|
9711
|
+
function un(e, o = {}) {
|
|
9707
9712
|
Be = Fe($e, o || {});
|
|
9708
9713
|
}
|
|
9709
|
-
const
|
|
9714
|
+
const ea = "mvframe-top-toast-style", Oe = "mvframe-top-toast-root", aa = {
|
|
9710
9715
|
error: {
|
|
9711
9716
|
border: "#fde2e2",
|
|
9712
9717
|
bg: "#fef0f0",
|
|
@@ -9728,10 +9733,10 @@ const Qe = "mvframe-top-toast-style", Oe = "mvframe-top-toast-root", ea = {
|
|
|
9728
9733
|
color: "#409eff"
|
|
9729
9734
|
}
|
|
9730
9735
|
};
|
|
9731
|
-
function
|
|
9732
|
-
if (typeof document > "u" || document.getElementById(
|
|
9733
|
-
const
|
|
9734
|
-
|
|
9736
|
+
function dn() {
|
|
9737
|
+
if (typeof document > "u" || document.getElementById(ea)) return;
|
|
9738
|
+
const e = document.createElement("style");
|
|
9739
|
+
e.id = ea, e.textContent = `
|
|
9735
9740
|
#${Oe} {
|
|
9736
9741
|
position: fixed;
|
|
9737
9742
|
top: 1.25rem;
|
|
@@ -9787,39 +9792,39 @@ function un() {
|
|
|
9787
9792
|
@keyframes mvframeTopToastOut {
|
|
9788
9793
|
to { opacity: 0; transform: translateY(-0.5rem); }
|
|
9789
9794
|
}
|
|
9790
|
-
`, document.head.appendChild(
|
|
9795
|
+
`, document.head.appendChild(e);
|
|
9791
9796
|
}
|
|
9792
|
-
function
|
|
9797
|
+
function mn() {
|
|
9793
9798
|
if (typeof document > "u") return null;
|
|
9794
|
-
let
|
|
9795
|
-
return
|
|
9799
|
+
let e = document.getElementById(Oe);
|
|
9800
|
+
return e || (dn(), e = document.createElement("div"), e.id = Oe, e.setAttribute("aria-live", "assertive"), document.body.appendChild(e)), e;
|
|
9796
9801
|
}
|
|
9797
|
-
function
|
|
9798
|
-
const
|
|
9799
|
-
if (
|
|
9800
|
-
return { message: "", duration:
|
|
9801
|
-
if (typeof
|
|
9802
|
-
return { message:
|
|
9803
|
-
if (typeof
|
|
9804
|
-
const l =
|
|
9802
|
+
function bn(e, o) {
|
|
9803
|
+
const a = o === "error" ? 4500 : 3e3;
|
|
9804
|
+
if (e == null)
|
|
9805
|
+
return { message: "", duration: a, showClose: !1 };
|
|
9806
|
+
if (typeof e == "string")
|
|
9807
|
+
return { message: e, duration: a, showClose: !1 };
|
|
9808
|
+
if (typeof e == "object" && e !== null) {
|
|
9809
|
+
const l = e.duration, n = l === 0 ? 0 : typeof l == "number" ? l : a;
|
|
9805
9810
|
return {
|
|
9806
|
-
message: String(
|
|
9811
|
+
message: String(e.message ?? ""),
|
|
9807
9812
|
duration: n,
|
|
9808
|
-
showClose:
|
|
9813
|
+
showClose: e.showClose === !0
|
|
9809
9814
|
};
|
|
9810
9815
|
}
|
|
9811
|
-
return { message: String(
|
|
9816
|
+
return { message: String(e), duration: a, showClose: !1 };
|
|
9812
9817
|
}
|
|
9813
|
-
function we(
|
|
9814
|
-
const
|
|
9818
|
+
function we(e, o) {
|
|
9819
|
+
const a = aa[e] || aa.error, { message: l, duration: n, showClose: r } = bn(o, e), s = mn();
|
|
9815
9820
|
if (!s) {
|
|
9816
9821
|
console.error("[mvframe/message]", l);
|
|
9817
9822
|
return;
|
|
9818
9823
|
}
|
|
9819
9824
|
const g = document.createElement("div");
|
|
9820
|
-
g.className = "mvframeTopToastItem", g.style.setProperty("--mvframe-toast-border",
|
|
9825
|
+
g.className = "mvframeTopToastItem", g.style.setProperty("--mvframe-toast-border", a.border), g.style.setProperty("--mvframe-toast-bg", a.bg), g.style.setProperty("--mvframe-toast-color", a.color), g.setAttribute(
|
|
9821
9826
|
"role",
|
|
9822
|
-
|
|
9827
|
+
e === "error" ? "alert" : "status"
|
|
9823
9828
|
);
|
|
9824
9829
|
const v = document.createElement("div");
|
|
9825
9830
|
v.className = "mvframeTopToastText", v.textContent = l, g.appendChild(v);
|
|
@@ -9835,49 +9840,49 @@ function we(a, o) {
|
|
|
9835
9840
|
}
|
|
9836
9841
|
s.appendChild(g), n > 0 && (u = window.setTimeout(y, n));
|
|
9837
9842
|
}
|
|
9838
|
-
function
|
|
9843
|
+
function us() {
|
|
9839
9844
|
return {
|
|
9840
|
-
success: (
|
|
9841
|
-
warning: (
|
|
9842
|
-
info: (
|
|
9843
|
-
error: (
|
|
9845
|
+
success: (e) => we("success", e),
|
|
9846
|
+
warning: (e) => we("warning", e),
|
|
9847
|
+
info: (e) => we("info", e),
|
|
9848
|
+
error: (e) => we("error", e)
|
|
9844
9849
|
};
|
|
9845
9850
|
}
|
|
9846
|
-
var
|
|
9847
|
-
function
|
|
9848
|
-
return
|
|
9851
|
+
var ds = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
9852
|
+
function ms(e) {
|
|
9853
|
+
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
9849
9854
|
}
|
|
9850
|
-
const Se = (
|
|
9855
|
+
const Se = (e) => {
|
|
9851
9856
|
try {
|
|
9852
|
-
|
|
9857
|
+
oa.init(ta).setPageLoading(e);
|
|
9853
9858
|
} catch {
|
|
9854
9859
|
}
|
|
9855
|
-
},
|
|
9856
|
-
|
|
9857
|
-
Se(!0), o && n.meta.admin ?
|
|
9858
|
-
}),
|
|
9860
|
+
}, vn = ({ router: e, useAdmin: o, adminPermission: a, noaccess: l }) => {
|
|
9861
|
+
e.beforeEach((n, r, s) => {
|
|
9862
|
+
Se(!0), o && n.meta.admin ? a() ? s() : l && l(n, r, s) : s();
|
|
9863
|
+
}), e.afterEach((n, r, s) => {
|
|
9859
9864
|
var v, u;
|
|
9860
9865
|
if (s) {
|
|
9861
9866
|
Se(!1);
|
|
9862
9867
|
return;
|
|
9863
9868
|
}
|
|
9864
|
-
const g =
|
|
9869
|
+
const g = oa.tab(ta);
|
|
9865
9870
|
document.title = ((v = n.meta) == null ? void 0 : v.title) || ((u = globalThis.$config) == null ? void 0 : u.name), g.saveTab(n), Se(!1);
|
|
9866
|
-
}),
|
|
9871
|
+
}), e.onError(() => {
|
|
9867
9872
|
Se(!1);
|
|
9868
9873
|
});
|
|
9869
|
-
},
|
|
9870
|
-
const s =
|
|
9871
|
-
history:
|
|
9874
|
+
}, pn = (e, { routes: o, guard: a, useAdmin: l = !1, adminPermission: n = () => !0, noaccess: r }) => {
|
|
9875
|
+
const s = ja({
|
|
9876
|
+
history: Da(),
|
|
9872
9877
|
routes: o
|
|
9873
9878
|
});
|
|
9874
|
-
|
|
9875
|
-
}, ne = (
|
|
9876
|
-
const
|
|
9879
|
+
a && a(s), vn({ router: s, useAdmin: l, adminPermission: n, noaccess: r }), e.use(s), globalThis.$router = s;
|
|
9880
|
+
}, ne = (e, o) => {
|
|
9881
|
+
const a = e.__vccOpts || e;
|
|
9877
9882
|
for (const [l, n] of o)
|
|
9878
|
-
|
|
9879
|
-
return
|
|
9880
|
-
},
|
|
9883
|
+
a[l] = n;
|
|
9884
|
+
return a;
|
|
9885
|
+
}, fn = ["disabled", "onClick"], hn = /* @__PURE__ */ Object.assign({
|
|
9881
9886
|
name: "MvcBtnGroup",
|
|
9882
9887
|
inheritAttrs: !1
|
|
9883
9888
|
}, {
|
|
@@ -9914,18 +9919,18 @@ const Se = (a) => {
|
|
|
9914
9919
|
size: {
|
|
9915
9920
|
type: String,
|
|
9916
9921
|
default: "default",
|
|
9917
|
-
validator: (
|
|
9922
|
+
validator: (e) => ["default", "small", "large"].includes(e)
|
|
9918
9923
|
}
|
|
9919
9924
|
},
|
|
9920
9925
|
emits: ["update:modelValue", "change"],
|
|
9921
|
-
setup(
|
|
9922
|
-
const
|
|
9926
|
+
setup(e, { emit: o }) {
|
|
9927
|
+
const a = e, l = o, n = (u) => {
|
|
9923
9928
|
const c = u.value;
|
|
9924
|
-
return c ===
|
|
9929
|
+
return c === a.modelValue && (c !== void 0 || a.modelValue !== void 0);
|
|
9925
9930
|
}, r = (u) => {
|
|
9926
|
-
|
|
9931
|
+
a.disabled || (l("update:modelValue", u.value), l("change", u.value));
|
|
9927
9932
|
}, s = p(() => {
|
|
9928
|
-
const u =
|
|
9933
|
+
const u = a.options, c = Array.isArray(u) ? u : [], y = a.valueKey, S = a.labelKey, h = a.iconKey;
|
|
9929
9934
|
return c.filter((x) => x != null).map((x) => typeof x == "object" && !Array.isArray(x) ? {
|
|
9930
9935
|
value: x[y],
|
|
9931
9936
|
label: x[S] ?? "",
|
|
@@ -9939,7 +9944,7 @@ const Se = (a) => {
|
|
|
9939
9944
|
disabled: x.disabled,
|
|
9940
9945
|
raw: x
|
|
9941
9946
|
});
|
|
9942
|
-
}), g = p(() => ({ small: "g4", default: "g6", large: "g8" })[
|
|
9947
|
+
}), g = p(() => ({ small: "g4", default: "g6", large: "g8" })[a.size] ?? "g6"), v = p(() => a.size === "small" ? "sizeSmall" : a.size === "large" ? "sizeLarge" : "");
|
|
9943
9948
|
return (u, c) => (A(), k("div", oe({
|
|
9944
9949
|
class: ["MvcBtnGroup flexMode", [t(g), t(v), u.$attrs.class]]
|
|
9945
9950
|
}, u.$attrs, { role: "group" }), [
|
|
@@ -9947,25 +9952,25 @@ const Se = (a) => {
|
|
|
9947
9952
|
key: y.value,
|
|
9948
9953
|
type: "button",
|
|
9949
9954
|
class: H(["btnItem", { isActive: n(y) }]),
|
|
9950
|
-
disabled:
|
|
9955
|
+
disabled: a.disabled || y.disabled,
|
|
9951
9956
|
onClick: (S) => r(y)
|
|
9952
9957
|
}, [
|
|
9953
9958
|
y.icon ? (A(), k("i", {
|
|
9954
9959
|
key: 0,
|
|
9955
|
-
class: H([[y.icon,
|
|
9960
|
+
class: H([[y.icon, a.iconClass], "noShrink fs16"]),
|
|
9956
9961
|
"aria-hidden": "true"
|
|
9957
9962
|
}, null, 2)) : J("", !0),
|
|
9958
9963
|
ie(" " + $(u.$l(y.label)), 1)
|
|
9959
|
-
], 10,
|
|
9964
|
+
], 10, fn))), 128))
|
|
9960
9965
|
], 16));
|
|
9961
9966
|
}
|
|
9962
|
-
}),
|
|
9967
|
+
}), _n = /* @__PURE__ */ ne(hn, [["__scopeId", "data-v-97a2b9b8"]]), gn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9963
9968
|
__proto__: null,
|
|
9964
|
-
default:
|
|
9965
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
9969
|
+
default: _n
|
|
9970
|
+
}, Symbol.toStringTag, { value: "Module" })), yn = {
|
|
9966
9971
|
key: 1,
|
|
9967
9972
|
class: "headerTitle"
|
|
9968
|
-
},
|
|
9973
|
+
}, An = /* @__PURE__ */ Object.assign({
|
|
9969
9974
|
name: "MvcCard",
|
|
9970
9975
|
inheritAttrs: !1
|
|
9971
9976
|
}, {
|
|
@@ -10001,37 +10006,37 @@ const Se = (a) => {
|
|
|
10001
10006
|
default: !1
|
|
10002
10007
|
}
|
|
10003
10008
|
},
|
|
10004
|
-
setup(
|
|
10005
|
-
const o =
|
|
10006
|
-
return (
|
|
10009
|
+
setup(e) {
|
|
10010
|
+
const o = e;
|
|
10011
|
+
return (a, l) => (A(), k("div", oe({
|
|
10007
10012
|
class: ["MvcCard", { "MvcCard--fillParent": o.fillParent }]
|
|
10008
|
-
},
|
|
10009
|
-
o.title ||
|
|
10013
|
+
}, a.$attrs), [
|
|
10014
|
+
o.title || a.$slots.header ? (A(), k("div", {
|
|
10010
10015
|
key: 0,
|
|
10011
10016
|
class: H(["header", o.headerClass])
|
|
10012
10017
|
}, [
|
|
10013
|
-
|
|
10018
|
+
a.$slots.header ? q(a.$slots, "header", { key: 0 }, void 0, !0) : o.title ? (A(), k("span", yn, $(o.title), 1)) : J("", !0)
|
|
10014
10019
|
], 2)) : J("", !0),
|
|
10015
10020
|
m("div", {
|
|
10016
10021
|
class: H(["body", o.bodyClass])
|
|
10017
10022
|
}, [
|
|
10018
|
-
q(
|
|
10023
|
+
q(a.$slots, "default", {}, void 0, !0)
|
|
10019
10024
|
], 2),
|
|
10020
|
-
|
|
10025
|
+
a.$slots.footer ? (A(), k("div", {
|
|
10021
10026
|
key: 1,
|
|
10022
10027
|
class: H(["footer", o.footerClass])
|
|
10023
10028
|
}, [
|
|
10024
|
-
q(
|
|
10029
|
+
q(a.$slots, "footer", {}, void 0, !0)
|
|
10025
10030
|
], 2)) : J("", !0)
|
|
10026
10031
|
], 16));
|
|
10027
10032
|
}
|
|
10028
|
-
}),
|
|
10033
|
+
}), zn = /* @__PURE__ */ ne(An, [["__scopeId", "data-v-3c876311"]]), wn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
10029
10034
|
__proto__: null,
|
|
10030
|
-
default:
|
|
10031
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
10035
|
+
default: zn
|
|
10036
|
+
}, Symbol.toStringTag, { value: "Module" })), Sn = { class: "MvcDrawer" }, Tn = { class: "dragArea" }, Cn = {
|
|
10032
10037
|
key: 0,
|
|
10033
10038
|
class: "flexMode vc hc h56 w64 abs r t z9"
|
|
10034
|
-
},
|
|
10039
|
+
}, Mn = /* @__PURE__ */ Object.assign({
|
|
10035
10040
|
name: "MvcDrawer",
|
|
10036
10041
|
inheritAttrs: !1
|
|
10037
10042
|
}, {
|
|
@@ -10051,8 +10056,8 @@ const Se = (a) => {
|
|
|
10051
10056
|
}
|
|
10052
10057
|
},
|
|
10053
10058
|
emits: ["update:current"],
|
|
10054
|
-
setup(
|
|
10055
|
-
const
|
|
10059
|
+
setup(e, { emit: o }) {
|
|
10060
|
+
const a = e, l = () => ({
|
|
10056
10061
|
visible: !1,
|
|
10057
10062
|
title: "",
|
|
10058
10063
|
cpt: "",
|
|
@@ -10086,15 +10091,15 @@ const Se = (a) => {
|
|
|
10086
10091
|
n.dragMode = !1, h();
|
|
10087
10092
|
}, h = () => {
|
|
10088
10093
|
document.removeEventListener("mousemove", y), document.removeEventListener("mouseup", S);
|
|
10089
|
-
}, x = p(() => !!n.drawerInfo.title), F = p(() => !
|
|
10094
|
+
}, x = p(() => !!n.drawerInfo.title), F = p(() => !a.keepalive);
|
|
10090
10095
|
return ve(() => {
|
|
10091
10096
|
h();
|
|
10092
10097
|
}), te(
|
|
10093
|
-
() =>
|
|
10098
|
+
() => a.current,
|
|
10094
10099
|
(f) => {
|
|
10095
|
-
if (
|
|
10100
|
+
if (a.drawer.length)
|
|
10096
10101
|
if (window.$getType(f) === "Number") {
|
|
10097
|
-
const d =
|
|
10102
|
+
const d = a.drawer[f], C = {
|
|
10098
10103
|
...d,
|
|
10099
10104
|
size: d.size || 640,
|
|
10100
10105
|
direction: d.direction || "rtl",
|
|
@@ -10106,7 +10111,7 @@ const Se = (a) => {
|
|
|
10106
10111
|
}
|
|
10107
10112
|
), (f, d) => {
|
|
10108
10113
|
const C = G("Loading"), z = G("el-drawer");
|
|
10109
|
-
return A(), k("div",
|
|
10114
|
+
return A(), k("div", Sn, [
|
|
10110
10115
|
R(z, {
|
|
10111
10116
|
modelValue: t(n).drawerInfo.visible,
|
|
10112
10117
|
"onUpdate:modelValue": d[0] || (d[0] = (_) => t(n).drawerInfo.visible = _),
|
|
@@ -10122,7 +10127,7 @@ const Se = (a) => {
|
|
|
10122
10127
|
class: H(t(n).dragMode && "notransition noevent noselect")
|
|
10123
10128
|
}, {
|
|
10124
10129
|
default: j(() => [
|
|
10125
|
-
m("div",
|
|
10130
|
+
m("div", Tn, [
|
|
10126
10131
|
m("div", {
|
|
10127
10132
|
class: H(["dragHandle", t(n).dragMode && "active"]),
|
|
10128
10133
|
onMousedown: c
|
|
@@ -10130,7 +10135,7 @@ const Se = (a) => {
|
|
|
10130
10135
|
m("i", { class: "imicon im-handle fs12" }, null, -1)
|
|
10131
10136
|
])], 34)
|
|
10132
10137
|
]),
|
|
10133
|
-
t(x) ? J("", !0) : (A(), k("div",
|
|
10138
|
+
t(x) ? J("", !0) : (A(), k("div", Cn, [
|
|
10134
10139
|
m("i", {
|
|
10135
10140
|
class: "imicon im-close fs20 txt-dark7 hover-txt-primary",
|
|
10136
10141
|
onClick: v
|
|
@@ -10139,7 +10144,7 @@ const Se = (a) => {
|
|
|
10139
10144
|
R(C, {
|
|
10140
10145
|
loading: !t(n).mounted
|
|
10141
10146
|
}, null, 8, ["loading"]),
|
|
10142
|
-
f.$slots.default ? q(f.$slots, "default", { key: 1 }, void 0, !0) : (A(), le(
|
|
10147
|
+
f.$slots.default ? q(f.$slots, "default", { key: 1 }, void 0, !0) : (A(), le(ia(t(n).drawerInfo.cpt), oe({ key: 2 }, f.$attrs, {
|
|
10143
10148
|
params: t(n).drawerInfo.params,
|
|
10144
10149
|
onClose: v,
|
|
10145
10150
|
onMounted: s
|
|
@@ -10150,13 +10155,13 @@ const Se = (a) => {
|
|
|
10150
10155
|
]);
|
|
10151
10156
|
};
|
|
10152
10157
|
}
|
|
10153
|
-
}),
|
|
10158
|
+
}), kn = /* @__PURE__ */ ne(Mn, [["__scopeId", "data-v-3bd55143"]]), En = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
10154
10159
|
__proto__: null,
|
|
10155
|
-
default:
|
|
10156
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
10160
|
+
default: kn
|
|
10161
|
+
}, Symbol.toStringTag, { value: "Module" })), On = {
|
|
10157
10162
|
key: 1,
|
|
10158
10163
|
class: "flexMode vc"
|
|
10159
|
-
},
|
|
10164
|
+
}, Pn = { class: "pl4" }, xn = { class: "pl4" }, Ln = /* @__PURE__ */ Object.assign({
|
|
10160
10165
|
name: "MvcDrawerArea",
|
|
10161
10166
|
inheritAttrs: !1
|
|
10162
10167
|
}, {
|
|
@@ -10216,8 +10221,8 @@ const Se = (a) => {
|
|
|
10216
10221
|
}
|
|
10217
10222
|
},
|
|
10218
10223
|
emits: ["close", "submit", "cancel", "mounted"],
|
|
10219
|
-
setup(
|
|
10220
|
-
const l =
|
|
10224
|
+
setup(e, { expose: o, emit: a }) {
|
|
10225
|
+
const l = e, { proxy: n } = pe(), r = ee(), s = a;
|
|
10221
10226
|
se(() => {
|
|
10222
10227
|
s("mounted");
|
|
10223
10228
|
});
|
|
@@ -10266,7 +10271,7 @@ const Se = (a) => {
|
|
|
10266
10271
|
key: 0,
|
|
10267
10272
|
class: H(["drawerFooter relative flexMode vc hb h64", l.footerClass])
|
|
10268
10273
|
}, [
|
|
10269
|
-
S.$slots.footer ? q(S.$slots, "footer", { key: 0 }, void 0, !0) : (A(), k("div",
|
|
10274
|
+
S.$slots.footer ? q(S.$slots, "footer", { key: 0 }, void 0, !0) : (A(), k("div", On, [
|
|
10270
10275
|
S.$slots.cancel ? q(S.$slots, "cancel", { key: 0 }, void 0, !0) : l.showCancel ? (A(), le(f, {
|
|
10271
10276
|
key: 1,
|
|
10272
10277
|
plain: "",
|
|
@@ -10279,7 +10284,7 @@ const Se = (a) => {
|
|
|
10279
10284
|
}, null, 2)
|
|
10280
10285
|
]),
|
|
10281
10286
|
default: j(() => [
|
|
10282
|
-
m("span",
|
|
10287
|
+
m("span", Pn, $(S.$l(l.cancelTxt)), 1)
|
|
10283
10288
|
]),
|
|
10284
10289
|
_: 1
|
|
10285
10290
|
})) : J("", !0),
|
|
@@ -10296,7 +10301,7 @@ const Se = (a) => {
|
|
|
10296
10301
|
}, null, 2)
|
|
10297
10302
|
]),
|
|
10298
10303
|
default: j(() => [
|
|
10299
|
-
m("span",
|
|
10304
|
+
m("span", xn, $(S.$l(l.confirmTxt)), 1)
|
|
10300
10305
|
]),
|
|
10301
10306
|
_: 1
|
|
10302
10307
|
}, 8, ["loading"])) : J("", !0),
|
|
@@ -10306,32 +10311,32 @@ const Se = (a) => {
|
|
|
10306
10311
|
], 64);
|
|
10307
10312
|
};
|
|
10308
10313
|
}
|
|
10309
|
-
}),
|
|
10314
|
+
}), Nn = /* @__PURE__ */ ne(Ln, [["__scopeId", "data-v-33acb7b3"]]), In = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
10310
10315
|
__proto__: null,
|
|
10311
|
-
default:
|
|
10316
|
+
default: Nn
|
|
10312
10317
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
10313
|
-
function
|
|
10314
|
-
var
|
|
10315
|
-
if (
|
|
10316
|
-
const o = Array.isArray(
|
|
10317
|
-
if (o.length === 1 && ((
|
|
10318
|
+
function $n(e) {
|
|
10319
|
+
var a;
|
|
10320
|
+
if (e == null) return [];
|
|
10321
|
+
const o = Array.isArray(e) ? e : [e];
|
|
10322
|
+
if (o.length === 1 && ((a = o[0]) == null ? void 0 : a.type) === re) {
|
|
10318
10323
|
const l = o[0].children;
|
|
10319
10324
|
return l == null ? [] : Array.isArray(l) ? l : [l];
|
|
10320
10325
|
}
|
|
10321
10326
|
return o;
|
|
10322
10327
|
}
|
|
10323
|
-
function
|
|
10324
|
-
if (
|
|
10325
|
-
if (!Array.isArray(
|
|
10328
|
+
function la(e, o) {
|
|
10329
|
+
if (e === o) return !0;
|
|
10330
|
+
if (!Array.isArray(e) || !Array.isArray(o) || e.length !== o.length)
|
|
10326
10331
|
return !1;
|
|
10327
|
-
for (let
|
|
10328
|
-
if (a
|
|
10332
|
+
for (let a = 0; a < e.length; a++)
|
|
10333
|
+
if (e[a] !== o[a]) return !1;
|
|
10329
10334
|
return !0;
|
|
10330
10335
|
}
|
|
10331
|
-
const
|
|
10336
|
+
const Bn = ca({
|
|
10332
10337
|
name: "MvcFormItemFilter",
|
|
10333
|
-
setup(
|
|
10334
|
-
function
|
|
10338
|
+
setup(e, o) {
|
|
10339
|
+
function a(n) {
|
|
10335
10340
|
if (!Array.isArray(n)) return [];
|
|
10336
10341
|
const r = n.filter((u) => u && u.children !== "v-if"), s = r.length !== n.length, g = r.map((u) => l(u));
|
|
10337
10342
|
return s || g.some((u, c) => u !== r[c]) ? g : n;
|
|
@@ -10343,24 +10348,24 @@ const $n = ia({
|
|
|
10343
10348
|
if (((g = n.type) == null ? void 0 : g.name) === "ElFormItem" && ((v = n.props) == null ? void 0 : v.label) != null) {
|
|
10344
10349
|
const y = ((c = (u = n.props.label).$l) == null ? void 0 : c.call(u)) || n.props.label;
|
|
10345
10350
|
if (s === "Array") {
|
|
10346
|
-
const S =
|
|
10347
|
-
return
|
|
10351
|
+
const S = a(r);
|
|
10352
|
+
return la(S, r) ? Ge(n, { label: y }) : Ke(n.type, { ...n.props || {}, label: y }, S);
|
|
10348
10353
|
}
|
|
10349
10354
|
return Ge(n, { label: y });
|
|
10350
10355
|
}
|
|
10351
10356
|
if (s === "Array") {
|
|
10352
|
-
const y =
|
|
10353
|
-
return
|
|
10357
|
+
const y = a(r);
|
|
10358
|
+
return la(y, r) ? n : Ke(n.type, n.props, y);
|
|
10354
10359
|
}
|
|
10355
10360
|
return n;
|
|
10356
10361
|
}
|
|
10357
10362
|
return () => {
|
|
10358
10363
|
var s, g;
|
|
10359
|
-
const n = (g = (s = o.slots).default) == null ? void 0 : g.call(s), r =
|
|
10360
|
-
return
|
|
10364
|
+
const n = (g = (s = o.slots).default) == null ? void 0 : g.call(s), r = $n(n);
|
|
10365
|
+
return a(r);
|
|
10361
10366
|
};
|
|
10362
10367
|
}
|
|
10363
|
-
}),
|
|
10368
|
+
}), jn = { class: "MvcForm" }, Dn = /* @__PURE__ */ Object.assign({
|
|
10364
10369
|
name: "MvcForm"
|
|
10365
10370
|
}, {
|
|
10366
10371
|
__name: "index",
|
|
@@ -10378,10 +10383,10 @@ const $n = ia({
|
|
|
10378
10383
|
default: "large"
|
|
10379
10384
|
}
|
|
10380
10385
|
},
|
|
10381
|
-
setup(
|
|
10382
|
-
const l =
|
|
10386
|
+
setup(e, { expose: o, emit: a }) {
|
|
10387
|
+
const l = e, n = X({
|
|
10383
10388
|
form: {}
|
|
10384
|
-
}), { proxy: r } = pe(), s =
|
|
10389
|
+
}), { proxy: r } = pe(), s = a, g = async () => {
|
|
10385
10390
|
var c;
|
|
10386
10391
|
try {
|
|
10387
10392
|
return (c = r.$refs) != null && c.form ? (await r.$refs.form.validate(), v()) : !1;
|
|
@@ -10418,7 +10423,7 @@ const $n = ia({
|
|
|
10418
10423
|
validate: g
|
|
10419
10424
|
}), (c, y) => {
|
|
10420
10425
|
const S = G("el-form");
|
|
10421
|
-
return A(), k("div",
|
|
10426
|
+
return A(), k("div", jn, [
|
|
10422
10427
|
R(S, {
|
|
10423
10428
|
ref: "form",
|
|
10424
10429
|
model: t(n).form,
|
|
@@ -10428,7 +10433,7 @@ const $n = ia({
|
|
|
10428
10433
|
"label-position": "top"
|
|
10429
10434
|
}, {
|
|
10430
10435
|
default: j(() => [
|
|
10431
|
-
R(t(
|
|
10436
|
+
R(t(Bn), null, {
|
|
10432
10437
|
default: j(() => [
|
|
10433
10438
|
q(c.$slots, "default")
|
|
10434
10439
|
]),
|
|
@@ -10440,21 +10445,21 @@ const $n = ia({
|
|
|
10440
10445
|
]);
|
|
10441
10446
|
};
|
|
10442
10447
|
}
|
|
10443
|
-
}),
|
|
10448
|
+
}), Rn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
10444
10449
|
__proto__: null,
|
|
10445
|
-
default:
|
|
10446
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
10450
|
+
default: Dn
|
|
10451
|
+
}, Symbol.toStringTag, { value: "Module" })), Fn = { class: "FrameTab sticky z9" }, Vn = { class: "tabArea relative flexMode vr g4 h36 pl16 pt4 xscroll nobar fadeout backdrop" }, Gn = ["id", "onContextmenu", "onClick", "onDblclick"], Kn = ["onClick"], Un = /* @__PURE__ */ Object.assign({
|
|
10447
10452
|
name: "FrameTab",
|
|
10448
10453
|
inheritAttrs: !1
|
|
10449
10454
|
}, {
|
|
10450
10455
|
__name: "Tab",
|
|
10451
|
-
setup(
|
|
10456
|
+
setup(e) {
|
|
10452
10457
|
const o = X({
|
|
10453
10458
|
active: 2,
|
|
10454
10459
|
pageScrolled: !1
|
|
10455
10460
|
});
|
|
10456
|
-
let
|
|
10457
|
-
const n = Ae("store"), r = n.tab(), s = n.rmenu(), g =
|
|
10461
|
+
let a = null, l = null;
|
|
10462
|
+
const n = Ae("store"), r = n.tab(), s = n.rmenu(), g = ra(), v = sa(), { proxy: u } = pe();
|
|
10458
10463
|
se(() => {
|
|
10459
10464
|
c(), h();
|
|
10460
10465
|
});
|
|
@@ -10470,15 +10475,15 @@ const $n = ia({
|
|
|
10470
10475
|
}
|
|
10471
10476
|
return null;
|
|
10472
10477
|
}, S = () => {
|
|
10473
|
-
const w = window.scrollY || document.documentElement.scrollTop || document.body.scrollTop, E =
|
|
10478
|
+
const w = window.scrollY || document.documentElement.scrollTop || document.body.scrollTop, E = a ? a.scrollTop : 0;
|
|
10474
10479
|
o.pageScrolled = w > 0 || E > 0;
|
|
10475
10480
|
}, h = () => {
|
|
10476
|
-
|
|
10481
|
+
a = y(u.$el);
|
|
10477
10482
|
const w = () => {
|
|
10478
10483
|
S();
|
|
10479
10484
|
};
|
|
10480
|
-
window.addEventListener("scroll", w, { passive: !0 }),
|
|
10481
|
-
window.removeEventListener("scroll", w),
|
|
10485
|
+
window.addEventListener("scroll", w, { passive: !0 }), a && a.addEventListener("scroll", w, { passive: !0 }), S(), l = () => {
|
|
10486
|
+
window.removeEventListener("scroll", w), a && a.removeEventListener("scroll", w), a = null;
|
|
10482
10487
|
};
|
|
10483
10488
|
}, x = () => {
|
|
10484
10489
|
const w = localStorage.getItem("tabsScroll");
|
|
@@ -10492,7 +10497,7 @@ const $n = ia({
|
|
|
10492
10497
|
}, f = () => {
|
|
10493
10498
|
me(() => {
|
|
10494
10499
|
const w = u.$el.querySelector(`#tab_${T.value}`);
|
|
10495
|
-
|
|
10500
|
+
Ga(u.$el, w) ? x() : u.$el.scrollLeft = (w == null ? void 0 : w.offsetLeft) - 16;
|
|
10496
10501
|
});
|
|
10497
10502
|
}, d = (w, E, O) => {
|
|
10498
10503
|
s.saveData("type", "tabManager"), s.saveData("options", [
|
|
@@ -10567,8 +10572,8 @@ const $n = ia({
|
|
|
10567
10572
|
}
|
|
10568
10573
|
), ve(() => {
|
|
10569
10574
|
u.$el.removeEventListener("scroll", F), l == null || l(), l = null;
|
|
10570
|
-
}), (w, E) => (A(), k("div",
|
|
10571
|
-
m("div",
|
|
10575
|
+
}), (w, E) => (A(), k("div", Fn, [
|
|
10576
|
+
m("div", Vn, [
|
|
10572
10577
|
(A(!0), k(re, null, ce(t(b), (O, I) => (A(), k("div", {
|
|
10573
10578
|
key: O.name,
|
|
10574
10579
|
id: `tab_${O.name}`,
|
|
@@ -10590,16 +10595,16 @@ const $n = ia({
|
|
|
10590
10595
|
onClick: _e((V) => _(O, I), ["stop"])
|
|
10591
10596
|
}, [...E[0] || (E[0] = [
|
|
10592
10597
|
m("span", null, "✕", -1)
|
|
10593
|
-
])], 8,
|
|
10594
|
-
], 42,
|
|
10598
|
+
])], 8, Kn)
|
|
10599
|
+
], 42, Gn))), 128)),
|
|
10595
10600
|
E[1] || (E[1] = m("div", { class: "w16 h16 noShrink" }, null, -1))
|
|
10596
10601
|
])
|
|
10597
10602
|
]));
|
|
10598
10603
|
}
|
|
10599
|
-
}),
|
|
10604
|
+
}), Hn = /* @__PURE__ */ ne(Un, [["__scopeId", "data-v-e9bf80ea"]]), Jn = { class: "LogoArea flexMode vc h64 p0-16 relative" }, Zn = { class: "logo" }, Yn = { class: "logomini" }, Wn = { class: "MenuArea p4 yscroll" }, qn = ["onClick"], Xn = { class: "itemIcon w24 txt-c txt-tip fs18" }, Qn = { key: 1 }, eo = {
|
|
10600
10605
|
key: 0,
|
|
10601
10606
|
class: "itemChildrenArea mt2 p4"
|
|
10602
|
-
},
|
|
10607
|
+
}, ao = ["onClick"], lo = { class: "itemIcon w24 txt-c txt-tip fs18" }, no = { class: "h64 p8-4" }, oo = { class: "flexMode vc g8 p8-16 radius4 hover" }, to = /* @__PURE__ */ Object.assign({
|
|
10603
10608
|
name: "FrameMenu",
|
|
10604
10609
|
inheritAttrs: !1
|
|
10605
10610
|
}, {
|
|
@@ -10618,10 +10623,10 @@ const $n = ia({
|
|
|
10618
10623
|
default: "username"
|
|
10619
10624
|
}
|
|
10620
10625
|
},
|
|
10621
|
-
setup(
|
|
10622
|
-
const
|
|
10626
|
+
setup(e, { emit: o }) {
|
|
10627
|
+
const a = e, l = X({
|
|
10623
10628
|
collapse: !1
|
|
10624
|
-
}), n =
|
|
10629
|
+
}), n = ra(), r = sa(), s = Ae("store"), g = s.launch();
|
|
10625
10630
|
se(() => {
|
|
10626
10631
|
u();
|
|
10627
10632
|
});
|
|
@@ -10686,11 +10691,11 @@ const $n = ia({
|
|
|
10686
10691
|
return A(), k("div", {
|
|
10687
10692
|
class: H(["FrameMenu sticky vh100 noselect noShrink", t(l).collapse && "collapse"])
|
|
10688
10693
|
}, [
|
|
10689
|
-
m("div",
|
|
10690
|
-
m("div",
|
|
10694
|
+
m("div", Jn, [
|
|
10695
|
+
m("div", Zn, [
|
|
10691
10696
|
q(_.$slots, "logo", {}, void 0, !0)
|
|
10692
10697
|
]),
|
|
10693
|
-
m("div",
|
|
10698
|
+
m("div", Yn, [
|
|
10694
10699
|
q(_.$slots, "logomini", {}, void 0, !0)
|
|
10695
10700
|
]),
|
|
10696
10701
|
m("div", {
|
|
@@ -10702,8 +10707,8 @@ const $n = ia({
|
|
|
10702
10707
|
}, null, 2)
|
|
10703
10708
|
])
|
|
10704
10709
|
]),
|
|
10705
|
-
m("div",
|
|
10706
|
-
(A(!0), k(re, null, ce(
|
|
10710
|
+
m("div", Wn, [
|
|
10711
|
+
(A(!0), k(re, null, ce(a.routes, (D, w) => {
|
|
10707
10712
|
var E, O;
|
|
10708
10713
|
return A(), k("div", {
|
|
10709
10714
|
key: w,
|
|
@@ -10718,11 +10723,11 @@ const $n = ia({
|
|
|
10718
10723
|
onClick: (I) => F(D),
|
|
10719
10724
|
onDblclick: f
|
|
10720
10725
|
}, [
|
|
10721
|
-
m("div",
|
|
10726
|
+
m("div", Xn, [
|
|
10722
10727
|
D.meta.icon ? (A(), k("i", {
|
|
10723
10728
|
key: 0,
|
|
10724
|
-
class: H([
|
|
10725
|
-
}, null, 2)) : (A(), k("span",
|
|
10729
|
+
class: H([a.iconClass, D.meta.icon])
|
|
10730
|
+
}, null, 2)) : (A(), k("span", Qn, $(((E = D.meta.title) == null ? void 0 : E.substr(0, 1)) || "U"), 1))
|
|
10726
10731
|
]),
|
|
10727
10732
|
m("div", {
|
|
10728
10733
|
class: H(["itemTitle txt-nowrap fs14", [
|
|
@@ -10730,18 +10735,18 @@ const $n = ia({
|
|
|
10730
10735
|
t(l).collapse && "hide"
|
|
10731
10736
|
]])
|
|
10732
10737
|
}, $(D.meta.title), 3)
|
|
10733
|
-
], 42,
|
|
10734
|
-
(O = D.children) != null && O.length ? (A(), k("div",
|
|
10738
|
+
], 42, qn),
|
|
10739
|
+
(O = D.children) != null && O.length ? (A(), k("div", eo, [
|
|
10735
10740
|
(A(!0), k(re, null, ce(D.children, (I, V) => (A(), k("div", {
|
|
10736
10741
|
key: V,
|
|
10737
10742
|
class: H(["childrenItem flexMode vc g8 radius4 h40 p0-16", t(n).name === I.name && "active bg-primary"]),
|
|
10738
10743
|
onClick: (P) => F(I),
|
|
10739
10744
|
onDblclick: f
|
|
10740
10745
|
}, [
|
|
10741
|
-
m("div",
|
|
10746
|
+
m("div", lo, [
|
|
10742
10747
|
I.meta.icon ? (A(), k("i", {
|
|
10743
10748
|
key: 0,
|
|
10744
|
-
class: H([
|
|
10749
|
+
class: H([a.iconClass, I.meta.icon])
|
|
10745
10750
|
}, null, 2)) : J("", !0)
|
|
10746
10751
|
]),
|
|
10747
10752
|
m("div", {
|
|
@@ -10750,23 +10755,23 @@ const $n = ia({
|
|
|
10750
10755
|
t(l).collapse && "hide"
|
|
10751
10756
|
]])
|
|
10752
10757
|
}, $(I.meta.title), 3)
|
|
10753
|
-
], 42,
|
|
10758
|
+
], 42, ao))), 128))
|
|
10754
10759
|
])) : J("", !0)
|
|
10755
10760
|
]);
|
|
10756
10761
|
}), 128))
|
|
10757
10762
|
]),
|
|
10758
|
-
m("div",
|
|
10763
|
+
m("div", no, [
|
|
10759
10764
|
R(T, {
|
|
10760
10765
|
placement: "top",
|
|
10761
10766
|
title: _.$l("Log out?"),
|
|
10762
10767
|
onConfirm: C
|
|
10763
10768
|
}, {
|
|
10764
10769
|
reference: j(() => [
|
|
10765
|
-
m("div",
|
|
10770
|
+
m("div", oo, [
|
|
10766
10771
|
b[1] || (b[1] = m("i", { class: "imicon im-power fs24" }, null, -1)),
|
|
10767
10772
|
m("span", {
|
|
10768
10773
|
class: H(["fs14", t(l).collapse && "hide"])
|
|
10769
|
-
}, $(t(g).userinfo[
|
|
10774
|
+
}, $(t(g).userinfo[a.usernameKey]), 3)
|
|
10770
10775
|
])
|
|
10771
10776
|
]),
|
|
10772
10777
|
_: 1
|
|
@@ -10775,29 +10780,29 @@ const $n = ia({
|
|
|
10775
10780
|
], 2);
|
|
10776
10781
|
};
|
|
10777
10782
|
}
|
|
10778
|
-
}),
|
|
10783
|
+
}), ro = /* @__PURE__ */ ne(to, [["__scopeId", "data-v-49ba8b1f"]]), so = { class: "FrameFooter" }, io = { class: "txt-tip" }, co = { class: "txt-primary" }, uo = { class: "txt-dark3" }, mo = /* @__PURE__ */ Object.assign({
|
|
10779
10784
|
name: "FrameFooter",
|
|
10780
10785
|
inheritAttrs: !1
|
|
10781
10786
|
}, {
|
|
10782
10787
|
__name: "Footer",
|
|
10783
|
-
setup(
|
|
10788
|
+
setup(e) {
|
|
10784
10789
|
X({});
|
|
10785
10790
|
const o = p(() => globalThis.$config);
|
|
10786
|
-
return (
|
|
10787
|
-
m("span",
|
|
10788
|
-
m("span",
|
|
10789
|
-
m("span",
|
|
10791
|
+
return (a, l) => (A(), k("div", so, [
|
|
10792
|
+
m("span", io, $(t(o).copyright), 1),
|
|
10793
|
+
m("span", co, $(t(o).author), 1),
|
|
10794
|
+
m("span", uo, "Ver" + $(t(o).version), 1)
|
|
10790
10795
|
]));
|
|
10791
10796
|
}
|
|
10792
|
-
}),
|
|
10797
|
+
}), bo = /* @__PURE__ */ ne(mo, [["__scopeId", "data-v-a471ccbf"]]), vo = { class: "FrameTool fixed r t flexMode vc g8 p0-8 w40 h40 noShrink z9" }, po = /* @__PURE__ */ Object.assign({
|
|
10793
10798
|
name: "FrameTool",
|
|
10794
10799
|
inheritAttrs: !1
|
|
10795
10800
|
}, {
|
|
10796
10801
|
__name: "Tool",
|
|
10797
|
-
setup(
|
|
10798
|
-
const o =
|
|
10802
|
+
setup(e) {
|
|
10803
|
+
const o = ua(() => import("./Config.js"));
|
|
10799
10804
|
X({});
|
|
10800
|
-
const
|
|
10805
|
+
const a = X({
|
|
10801
10806
|
current: "",
|
|
10802
10807
|
list: [
|
|
10803
10808
|
{
|
|
@@ -10806,12 +10811,12 @@ const $n = ia({
|
|
|
10806
10811
|
}
|
|
10807
10812
|
]
|
|
10808
10813
|
}), l = () => {
|
|
10809
|
-
|
|
10814
|
+
a.current = 0;
|
|
10810
10815
|
};
|
|
10811
10816
|
return (n, r) => {
|
|
10812
10817
|
const s = G("Icon"), g = G("Drawer");
|
|
10813
10818
|
return A(), k(re, null, [
|
|
10814
|
-
m("div",
|
|
10819
|
+
m("div", vo, [
|
|
10815
10820
|
m("div", {
|
|
10816
10821
|
class: "hover w24 h24 flexMode hc vc radius",
|
|
10817
10822
|
onClick: l
|
|
@@ -10823,28 +10828,28 @@ const $n = ia({
|
|
|
10823
10828
|
])
|
|
10824
10829
|
]),
|
|
10825
10830
|
R(g, {
|
|
10826
|
-
current: t(
|
|
10827
|
-
"onUpdate:current": r[0] || (r[0] = (v) => t(
|
|
10828
|
-
drawer: t(
|
|
10831
|
+
current: t(a).current,
|
|
10832
|
+
"onUpdate:current": r[0] || (r[0] = (v) => t(a).current = v),
|
|
10833
|
+
drawer: t(a).list
|
|
10829
10834
|
}, null, 8, ["current", "drawer"])
|
|
10830
10835
|
], 64);
|
|
10831
10836
|
};
|
|
10832
10837
|
}
|
|
10833
|
-
}),
|
|
10838
|
+
}), fo = {
|
|
10834
10839
|
key: 0,
|
|
10835
10840
|
class: "menuDivider"
|
|
10836
|
-
},
|
|
10841
|
+
}, ho = ["disabled", "onClick"], _o = { class: "menuLabel" }, go = /* @__PURE__ */ Object.assign({
|
|
10837
10842
|
name: "FrameRightMenu",
|
|
10838
10843
|
inheritAttrs: !1
|
|
10839
10844
|
}, {
|
|
10840
10845
|
__name: "RightMenu",
|
|
10841
|
-
setup(
|
|
10842
|
-
const
|
|
10846
|
+
setup(e) {
|
|
10847
|
+
const a = Ae("store").rmenu(), l = ee(null), n = X({
|
|
10843
10848
|
x: 0,
|
|
10844
10849
|
y: 0,
|
|
10845
10850
|
ready: !1
|
|
10846
10851
|
}), r = (z, _, b) => Math.min(Math.max(z, _), b), s = (z) => Number.isFinite(Number(z)), g = () => {
|
|
10847
|
-
const { position: z, el: _ } =
|
|
10852
|
+
const { position: z, el: _ } = a;
|
|
10848
10853
|
if (_ != null && _.getBoundingClientRect) {
|
|
10849
10854
|
const b = _.getBoundingClientRect();
|
|
10850
10855
|
return {
|
|
@@ -10869,7 +10874,7 @@ const $n = ia({
|
|
|
10869
10874
|
const _ = g(), b = z.getBoundingClientRect(), T = 8, D = Math.max(T, window.innerWidth - b.width - T), w = Math.max(T, window.innerHeight - b.height - T);
|
|
10870
10875
|
n.x = r(_.x, T, D), n.y = r(_.y, T, w), n.ready = !0;
|
|
10871
10876
|
}, u = () => {
|
|
10872
|
-
|
|
10877
|
+
a.visible && a.hide(), n.ready = !1;
|
|
10873
10878
|
}, c = (z) => {
|
|
10874
10879
|
var _;
|
|
10875
10880
|
!d.value || (_ = l.value) != null && _.contains(z.target) || u();
|
|
@@ -10886,7 +10891,7 @@ const $n = ia({
|
|
|
10886
10891
|
} finally {
|
|
10887
10892
|
u();
|
|
10888
10893
|
}
|
|
10889
|
-
}, f = p(() => Array.isArray(
|
|
10894
|
+
}, f = p(() => Array.isArray(a.options) ? a.options.filter(Boolean) : []), d = p(() => a.visible && f.value.length > 0), C = p(() => ({
|
|
10890
10895
|
left: `${n.x}px`,
|
|
10891
10896
|
top: `${n.y}px`,
|
|
10892
10897
|
visibility: n.ready ? "visible" : "hidden"
|
|
@@ -10895,11 +10900,11 @@ const $n = ia({
|
|
|
10895
10900
|
() => {
|
|
10896
10901
|
var z, _;
|
|
10897
10902
|
return [
|
|
10898
|
-
|
|
10899
|
-
|
|
10900
|
-
|
|
10901
|
-
(z =
|
|
10902
|
-
(_ =
|
|
10903
|
+
a.visible,
|
|
10904
|
+
a.el,
|
|
10905
|
+
a.options,
|
|
10906
|
+
(z = a.position) == null ? void 0 : z.x,
|
|
10907
|
+
(_ = a.position) == null ? void 0 : _.y,
|
|
10903
10908
|
f.value.length
|
|
10904
10909
|
];
|
|
10905
10910
|
},
|
|
@@ -10913,8 +10918,8 @@ const $n = ia({
|
|
|
10913
10918
|
document.addEventListener("pointerdown", c, !0), document.addEventListener("contextmenu", y, !0), document.addEventListener("keydown", S), window.addEventListener("resize", u), window.addEventListener("scroll", u, !0);
|
|
10914
10919
|
}), ve(() => {
|
|
10915
10920
|
document.removeEventListener("pointerdown", c, !0), document.removeEventListener("contextmenu", y, !0), document.removeEventListener("keydown", S), window.removeEventListener("resize", u), window.removeEventListener("scroll", u, !0);
|
|
10916
|
-
}), (z, _) => (A(), le(
|
|
10917
|
-
R(
|
|
10921
|
+
}), (z, _) => (A(), le(Ra, { to: "body" }, [
|
|
10922
|
+
R(da, { name: "FrameRightMenuFade" }, {
|
|
10918
10923
|
default: j(() => [
|
|
10919
10924
|
t(d) ? (A(), k("div", {
|
|
10920
10925
|
key: 0,
|
|
@@ -10932,7 +10937,7 @@ const $n = ia({
|
|
|
10932
10937
|
(A(!0), k(re, null, ce(t(f), (b, T) => (A(), k(re, {
|
|
10933
10938
|
key: x(b, T)
|
|
10934
10939
|
}, [
|
|
10935
|
-
b.divider ? (A(), k("div",
|
|
10940
|
+
b.divider ? (A(), k("div", fo)) : (A(), k("button", {
|
|
10936
10941
|
key: 1,
|
|
10937
10942
|
type: "button",
|
|
10938
10943
|
class: H(["menuItem", { disabled: h(b) }]),
|
|
@@ -10943,8 +10948,8 @@ const $n = ia({
|
|
|
10943
10948
|
key: 0,
|
|
10944
10949
|
class: H(["imicon menuIcon", b.icon])
|
|
10945
10950
|
}, null, 2)) : J("", !0),
|
|
10946
|
-
m("span",
|
|
10947
|
-
], 10,
|
|
10951
|
+
m("span", _o, $(b.label), 1)
|
|
10952
|
+
], 10, ho))
|
|
10948
10953
|
], 64))), 128))
|
|
10949
10954
|
], 36)) : J("", !0)
|
|
10950
10955
|
]),
|
|
@@ -10952,7 +10957,7 @@ const $n = ia({
|
|
|
10952
10957
|
})
|
|
10953
10958
|
]));
|
|
10954
10959
|
}
|
|
10955
|
-
}),
|
|
10960
|
+
}), yo = /* @__PURE__ */ ne(go, [["__scopeId", "data-v-388539e5"]]), Ao = { class: "MvcFrame" }, zo = /* @__PURE__ */ Object.assign({
|
|
10956
10961
|
name: "MvcFrame",
|
|
10957
10962
|
inheritAttrs: !1
|
|
10958
10963
|
}, {
|
|
@@ -10974,14 +10979,14 @@ const $n = ia({
|
|
|
10974
10979
|
default: () => /* @__PURE__ */ Object.create(null)
|
|
10975
10980
|
}
|
|
10976
10981
|
},
|
|
10977
|
-
setup(
|
|
10978
|
-
const o =
|
|
10982
|
+
setup(e) {
|
|
10983
|
+
const o = e, a = X({}), l = Ae("store"), n = l.tab(), r = l.init();
|
|
10979
10984
|
se(() => {
|
|
10980
10985
|
s();
|
|
10981
10986
|
});
|
|
10982
10987
|
const s = () => {
|
|
10983
10988
|
const y = JSON.parse(localStorage.getItem("menuCollapse"));
|
|
10984
|
-
|
|
10989
|
+
a.collapse = y, Ka(), g();
|
|
10985
10990
|
}, g = () => {
|
|
10986
10991
|
var y, S, h, x, F, f;
|
|
10987
10992
|
if ((S = (y = globalThis.$config) == null ? void 0 : y.iconfont) != null && S.url) {
|
|
@@ -10991,14 +10996,14 @@ const $n = ia({
|
|
|
10991
10996
|
document.head.appendChild(d), (f = (F = globalThis.$config) == null ? void 0 : F.iconfont) == null || delete f.url;
|
|
10992
10997
|
}
|
|
10993
10998
|
}, v = (y) => {
|
|
10994
|
-
|
|
10999
|
+
a.collapse = y, localStorage.setItem("menuCollapse", y);
|
|
10995
11000
|
}, u = p(() => r.pageLoading), c = p(() => ({
|
|
10996
|
-
maxWidth:
|
|
11001
|
+
maxWidth: a.collapse ? "calc(100% - 4rem)" : "calc(100% - 12rem)"
|
|
10997
11002
|
}));
|
|
10998
11003
|
return (y, S) => {
|
|
10999
11004
|
const h = G("Loading"), x = G("router-view");
|
|
11000
|
-
return A(), k("div",
|
|
11001
|
-
R(
|
|
11005
|
+
return A(), k("div", Ao, [
|
|
11006
|
+
R(ro, oe(o.menu, { onOnCollapseChange: v }), be({ _: 2 }, [
|
|
11002
11007
|
y.$slots.logo ? {
|
|
11003
11008
|
name: "logo",
|
|
11004
11009
|
fn: j(() => [
|
|
@@ -11019,19 +11024,19 @@ const $n = ia({
|
|
|
11019
11024
|
style: de(t(c))
|
|
11020
11025
|
}, [
|
|
11021
11026
|
R(h, { loading: t(u) }, null, 8, ["loading"]),
|
|
11022
|
-
t(n).useTab ? (A(), le(
|
|
11023
|
-
R(
|
|
11027
|
+
t(n).useTab ? (A(), le(Hn, { key: 0 })) : J("", !0),
|
|
11028
|
+
R(po),
|
|
11024
11029
|
R(x, he(ze(o.page)), null, 16),
|
|
11025
|
-
R(
|
|
11030
|
+
R(bo)
|
|
11026
11031
|
], 4),
|
|
11027
|
-
R(
|
|
11032
|
+
R(yo)
|
|
11028
11033
|
]);
|
|
11029
11034
|
};
|
|
11030
11035
|
}
|
|
11031
|
-
}),
|
|
11036
|
+
}), wo = /* @__PURE__ */ ne(zo, [["__scopeId", "data-v-5ae195c7"]]), So = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
11032
11037
|
__proto__: null,
|
|
11033
|
-
default:
|
|
11034
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
11038
|
+
default: wo
|
|
11039
|
+
}, Symbol.toStringTag, { value: "Module" })), To = ["xlink:href"], Co = /* @__PURE__ */ Object.assign({
|
|
11035
11040
|
name: "MvcIcon"
|
|
11036
11041
|
}, {
|
|
11037
11042
|
__name: "index",
|
|
@@ -11045,13 +11050,13 @@ const $n = ia({
|
|
|
11045
11050
|
default: "20"
|
|
11046
11051
|
}
|
|
11047
11052
|
},
|
|
11048
|
-
setup(
|
|
11049
|
-
const o =
|
|
11053
|
+
setup(e) {
|
|
11054
|
+
const o = e, a = X({
|
|
11050
11055
|
prefix: "imc"
|
|
11051
11056
|
});
|
|
11052
11057
|
se(() => {
|
|
11053
11058
|
var n, r;
|
|
11054
|
-
(r = (n = globalThis.$config) == null ? void 0 : n.iconfont) != null && r.prefix && (
|
|
11059
|
+
(r = (n = globalThis.$config) == null ? void 0 : n.iconfont) != null && r.prefix && (a.prefix = globalThis.$config.iconfont.prefix);
|
|
11055
11060
|
});
|
|
11056
11061
|
const l = p(() => {
|
|
11057
11062
|
const r = `${(Number(o.size) || 20) / 16}rem`;
|
|
@@ -11066,17 +11071,17 @@ const $n = ia({
|
|
|
11066
11071
|
style: de(t(l))
|
|
11067
11072
|
}, [
|
|
11068
11073
|
m("use", {
|
|
11069
|
-
"xlink:href": `#${t(
|
|
11070
|
-
}, null, 8,
|
|
11074
|
+
"xlink:href": `#${t(a).prefix}-${e.name}`
|
|
11075
|
+
}, null, 8, To)
|
|
11071
11076
|
], 4));
|
|
11072
11077
|
}
|
|
11073
|
-
}),
|
|
11078
|
+
}), Mo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
11074
11079
|
__proto__: null,
|
|
11075
|
-
default:
|
|
11076
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
11080
|
+
default: Co
|
|
11081
|
+
}, Symbol.toStringTag, { value: "Module" })), ko = {
|
|
11077
11082
|
key: 0,
|
|
11078
11083
|
class: "MvcFieldLabel"
|
|
11079
|
-
},
|
|
11084
|
+
}, Eo = /* @__PURE__ */ Object.assign({
|
|
11080
11085
|
name: "MvcInput",
|
|
11081
11086
|
inheritAttrs: !1
|
|
11082
11087
|
}, {
|
|
@@ -11107,8 +11112,8 @@ const $n = ia({
|
|
|
11107
11112
|
"blur",
|
|
11108
11113
|
"focus"
|
|
11109
11114
|
],
|
|
11110
|
-
setup(
|
|
11111
|
-
const
|
|
11115
|
+
setup(e, { emit: o }) {
|
|
11116
|
+
const a = e, l = Pe(), n = fe(), r = ee(null);
|
|
11112
11117
|
let s = null, g = null;
|
|
11113
11118
|
const v = X({
|
|
11114
11119
|
val: "",
|
|
@@ -11119,7 +11124,7 @@ const $n = ia({
|
|
|
11119
11124
|
return W;
|
|
11120
11125
|
});
|
|
11121
11126
|
se(() => {
|
|
11122
|
-
s = S(), s && (s.addEventListener("compositionstart", f), s.addEventListener("compositionend", d)),
|
|
11127
|
+
s = S(), s && (s.addEventListener("compositionstart", f), s.addEventListener("compositionend", d)), a.focus && F();
|
|
11123
11128
|
});
|
|
11124
11129
|
const S = () => {
|
|
11125
11130
|
var W, B, L;
|
|
@@ -11134,7 +11139,7 @@ const $n = ia({
|
|
|
11134
11139
|
return N ? (N.focus(), document.activeElement === N) : !1;
|
|
11135
11140
|
}, F = (N = 0) => {
|
|
11136
11141
|
h(), me(() => {
|
|
11137
|
-
!
|
|
11142
|
+
!a.focus || typeof window > "u" || x() || N >= 5 || (g = setTimeout(() => {
|
|
11138
11143
|
g = null, F(N + 1);
|
|
11139
11144
|
}, 30));
|
|
11140
11145
|
});
|
|
@@ -11153,29 +11158,29 @@ const $n = ia({
|
|
|
11153
11158
|
}, T = (N) => {
|
|
11154
11159
|
u("update:modelValue", N), u("input", N);
|
|
11155
11160
|
}, D = p(() => !!(c.$attrs.maxlength || w.value)), w = p(() => c.$attrs.max), E = p(() => String(v.val ?? "").length > 0), O = p(() => !!n.placeholder), I = p(
|
|
11156
|
-
() =>
|
|
11161
|
+
() => a.materialLabel && (v.focused || E.value || O.value || l.prefix)
|
|
11157
11162
|
), V = p(() => ({
|
|
11158
11163
|
[n.class]: !!n.class,
|
|
11159
|
-
hasLabel: !!
|
|
11160
|
-
isMaterialLabel: !!(
|
|
11161
|
-
isTopLabel: !!(
|
|
11164
|
+
hasLabel: !!a.label,
|
|
11165
|
+
isMaterialLabel: !!(a.label && a.materialLabel),
|
|
11166
|
+
isTopLabel: !!(a.label && !a.materialLabel),
|
|
11162
11167
|
isFloat: I.value,
|
|
11163
11168
|
isFocused: v.focused,
|
|
11164
11169
|
isDisabled: !!n.disabled
|
|
11165
11170
|
})), P = p(
|
|
11166
|
-
() =>
|
|
11171
|
+
() => a.materialLabel ? {
|
|
11167
11172
|
"--mv-field-surface": "var(--mvframe-input-surface, var(--el-bg-color, #ffffff))"
|
|
11168
11173
|
} : void 0
|
|
11169
11174
|
);
|
|
11170
11175
|
return te(
|
|
11171
|
-
() =>
|
|
11176
|
+
() => a.modelValue,
|
|
11172
11177
|
(N) => {
|
|
11173
11178
|
const W = String(N ?? "");
|
|
11174
11179
|
String(v.val) !== W && (v.val = W);
|
|
11175
11180
|
},
|
|
11176
11181
|
{ immediate: !0 }
|
|
11177
11182
|
), te(
|
|
11178
|
-
() =>
|
|
11183
|
+
() => a.focus,
|
|
11179
11184
|
(N) => {
|
|
11180
11185
|
N ? F() : h();
|
|
11181
11186
|
},
|
|
@@ -11188,7 +11193,7 @@ const $n = ia({
|
|
|
11188
11193
|
class: H(["MvcField MvcFieldInput", t(V)]),
|
|
11189
11194
|
style: de(t(P))
|
|
11190
11195
|
}, [
|
|
11191
|
-
|
|
11196
|
+
a.label ? (A(), k("label", ko, $(a.label), 1)) : J("", !0),
|
|
11192
11197
|
R(B, oe({
|
|
11193
11198
|
ref_key: "inputRef",
|
|
11194
11199
|
ref: r,
|
|
@@ -11199,7 +11204,7 @@ const $n = ia({
|
|
|
11199
11204
|
class: "MvcInput"
|
|
11200
11205
|
}, t(y), {
|
|
11201
11206
|
onInput: C,
|
|
11202
|
-
onKeydown:
|
|
11207
|
+
onKeydown: ma(b, ["enter"]),
|
|
11203
11208
|
onFocus: z,
|
|
11204
11209
|
onBlur: _
|
|
11205
11210
|
}), be({ _: 2 }, [
|
|
@@ -11213,13 +11218,13 @@ const $n = ia({
|
|
|
11213
11218
|
], 6);
|
|
11214
11219
|
};
|
|
11215
11220
|
}
|
|
11216
|
-
}),
|
|
11221
|
+
}), Oo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
11217
11222
|
__proto__: null,
|
|
11218
|
-
default:
|
|
11219
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
11223
|
+
default: Eo
|
|
11224
|
+
}, Symbol.toStringTag, { value: "Module" })), Po = {
|
|
11220
11225
|
key: 0,
|
|
11221
11226
|
class: "MvcFieldLabel"
|
|
11222
|
-
},
|
|
11227
|
+
}, xo = /* @__PURE__ */ Object.assign({
|
|
11223
11228
|
name: "MvcInputNumber",
|
|
11224
11229
|
inheritAttrs: !1
|
|
11225
11230
|
}, {
|
|
@@ -11257,8 +11262,8 @@ const $n = ia({
|
|
|
11257
11262
|
"blur",
|
|
11258
11263
|
"focus"
|
|
11259
11264
|
],
|
|
11260
|
-
setup(
|
|
11261
|
-
const
|
|
11265
|
+
setup(e, { emit: o }) {
|
|
11266
|
+
const a = e, l = Pe(), n = fe(), r = ee(null);
|
|
11262
11267
|
let s = null, g = null;
|
|
11263
11268
|
const v = X({
|
|
11264
11269
|
val: void 0,
|
|
@@ -11266,7 +11271,7 @@ const $n = ia({
|
|
|
11266
11271
|
controlsHovering: !1
|
|
11267
11272
|
}), u = o;
|
|
11268
11273
|
se(() => {
|
|
11269
|
-
|
|
11274
|
+
a.focus && h();
|
|
11270
11275
|
});
|
|
11271
11276
|
const c = () => {
|
|
11272
11277
|
g && (clearTimeout(g), g = null);
|
|
@@ -11281,7 +11286,7 @@ const $n = ia({
|
|
|
11281
11286
|
return B ? (B.focus(), document.activeElement === B) : !1;
|
|
11282
11287
|
}, h = (B = 0) => {
|
|
11283
11288
|
c(), me(() => {
|
|
11284
|
-
!
|
|
11289
|
+
!a.focus || typeof window > "u" || S() || B >= 5 || (g = setTimeout(() => {
|
|
11285
11290
|
g = null, h(B + 1);
|
|
11286
11291
|
}, 30));
|
|
11287
11292
|
});
|
|
@@ -11301,7 +11306,7 @@ const $n = ia({
|
|
|
11301
11306
|
}, _ = () => {
|
|
11302
11307
|
v.controlsHovering = !1;
|
|
11303
11308
|
}, b = p(() => {
|
|
11304
|
-
const { modelValue: B, label: L, materialLabel: K, focus: ae, ...i } =
|
|
11309
|
+
const { modelValue: B, label: L, materialLabel: K, focus: ae, ...i } = a;
|
|
11305
11310
|
return i;
|
|
11306
11311
|
}), T = p(() => {
|
|
11307
11312
|
const { class: B, ...L } = n;
|
|
@@ -11313,16 +11318,16 @@ const $n = ia({
|
|
|
11313
11318
|
const B = v.val;
|
|
11314
11319
|
return B != null && String(B) !== "";
|
|
11315
11320
|
}), E = p(() => !!n.placeholder), O = p(
|
|
11316
|
-
() =>
|
|
11321
|
+
() => a.materialLabel && (v.focused || w.value || E.value || l.prefix)
|
|
11317
11322
|
), I = p(
|
|
11318
|
-
() =>
|
|
11319
|
-
), V = p(() => !
|
|
11320
|
-
() =>
|
|
11323
|
+
() => a.controls && a.controlsPosition === "right"
|
|
11324
|
+
), V = p(() => !a.controls), P = p(
|
|
11325
|
+
() => a.controls && !I.value
|
|
11321
11326
|
), N = p(() => ({
|
|
11322
11327
|
[n.class]: !!n.class,
|
|
11323
|
-
hasLabel: !!
|
|
11324
|
-
isMaterialLabel: !!(
|
|
11325
|
-
isTopLabel: !!(
|
|
11328
|
+
hasLabel: !!a.label,
|
|
11329
|
+
isMaterialLabel: !!(a.label && a.materialLabel),
|
|
11330
|
+
isTopLabel: !!(a.label && !a.materialLabel),
|
|
11326
11331
|
isFloat: O.value,
|
|
11327
11332
|
isControlsHovering: v.controlsHovering,
|
|
11328
11333
|
isFocused: v.focused,
|
|
@@ -11332,18 +11337,18 @@ const $n = ia({
|
|
|
11332
11337
|
isControlsRight: I.value,
|
|
11333
11338
|
isWithoutControls: V.value
|
|
11334
11339
|
})), W = p(
|
|
11335
|
-
() =>
|
|
11340
|
+
() => a.materialLabel ? {
|
|
11336
11341
|
"--mv-field-surface": "var(--mvframe-input-surface, var(--el-bg-color, #ffffff))"
|
|
11337
11342
|
} : void 0
|
|
11338
11343
|
);
|
|
11339
11344
|
return te(
|
|
11340
|
-
() =>
|
|
11345
|
+
() => a.modelValue,
|
|
11341
11346
|
(B) => {
|
|
11342
11347
|
Object.is(v.val, B) || (v.val = B);
|
|
11343
11348
|
},
|
|
11344
11349
|
{ immediate: !0 }
|
|
11345
11350
|
), te(
|
|
11346
|
-
() =>
|
|
11351
|
+
() => a.focus,
|
|
11347
11352
|
(B) => {
|
|
11348
11353
|
B ? h() : c();
|
|
11349
11354
|
},
|
|
@@ -11356,7 +11361,7 @@ const $n = ia({
|
|
|
11356
11361
|
class: H(["MvcField MvcFieldInputNumber", t(N)]),
|
|
11357
11362
|
style: de(t(W))
|
|
11358
11363
|
}, [
|
|
11359
|
-
|
|
11364
|
+
a.label ? (A(), k("label", Po, $(a.label), 1)) : J("", !0),
|
|
11360
11365
|
R(K, oe({
|
|
11361
11366
|
ref_key: "inputNumberRef",
|
|
11362
11367
|
ref: r,
|
|
@@ -11380,16 +11385,16 @@ const $n = ia({
|
|
|
11380
11385
|
], 6);
|
|
11381
11386
|
};
|
|
11382
11387
|
}
|
|
11383
|
-
}),
|
|
11388
|
+
}), Lo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
11384
11389
|
__proto__: null,
|
|
11385
|
-
default:
|
|
11386
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
11390
|
+
default: xo
|
|
11391
|
+
}, Symbol.toStringTag, { value: "Module" })), No = {
|
|
11387
11392
|
key: 0,
|
|
11388
11393
|
class: "langPrefix flexMode vc g4 noShrink"
|
|
11389
|
-
},
|
|
11394
|
+
}, Io = { class: "langTag fs12 txt-tip" }, $o = { class: "flexMode vc g8 vl" }, Bo = {
|
|
11390
11395
|
key: 0,
|
|
11391
11396
|
class: "langTag fs12 txt-tip noShrink"
|
|
11392
|
-
},
|
|
11397
|
+
}, jo = { class: "txt-p" }, Do = /* @__PURE__ */ Object.assign({
|
|
11393
11398
|
name: "MvcLang",
|
|
11394
11399
|
inheritAttrs: !1
|
|
11395
11400
|
}, {
|
|
@@ -11405,9 +11410,9 @@ const $n = ia({
|
|
|
11405
11410
|
default: !0
|
|
11406
11411
|
}
|
|
11407
11412
|
},
|
|
11408
|
-
setup(
|
|
11409
|
-
const o =
|
|
11410
|
-
const { class: u, ...c } =
|
|
11413
|
+
setup(e) {
|
|
11414
|
+
const o = e, a = fe(), l = p(() => {
|
|
11415
|
+
const { class: u, ...c } = a;
|
|
11411
11416
|
return c;
|
|
11412
11417
|
}), n = X({
|
|
11413
11418
|
lang: "en_us"
|
|
@@ -11425,7 +11430,7 @@ const $n = ia({
|
|
|
11425
11430
|
n.lang = c.includes(u) ? u : c[0] || "en_us";
|
|
11426
11431
|
}, g = p(() => {
|
|
11427
11432
|
var c;
|
|
11428
|
-
return ((c = globalThis.$config) != null && c.langUse && Array.isArray(globalThis.$config.langUse) && globalThis.$config.langUse.length > 0 ? globalThis.$config.langUse :
|
|
11433
|
+
return ((c = globalThis.$config) != null && c.langUse && Array.isArray(globalThis.$config.langUse) && globalThis.$config.langUse.length > 0 ? globalThis.$config.langUse : nl.filter((y) => y.use !== !1)).filter((y) => y && y.use !== !1 && y.value);
|
|
11429
11434
|
}), v = p(() => g.value.find((u) => u.value === n.lang) ?? null);
|
|
11430
11435
|
return (u, c) => {
|
|
11431
11436
|
const y = G("el-option"), S = G("el-select");
|
|
@@ -11442,9 +11447,9 @@ const $n = ia({
|
|
|
11442
11447
|
value: h.value
|
|
11443
11448
|
}, {
|
|
11444
11449
|
default: j(() => [
|
|
11445
|
-
m("div",
|
|
11446
|
-
o.useIcon ? (A(), k("span",
|
|
11447
|
-
m("span",
|
|
11450
|
+
m("div", $o, [
|
|
11451
|
+
o.useIcon ? (A(), k("span", Bo, $(h.txt), 1)) : J("", !0),
|
|
11452
|
+
m("span", jo, $(h.label), 1)
|
|
11448
11453
|
])
|
|
11449
11454
|
]),
|
|
11450
11455
|
_: 2
|
|
@@ -11455,8 +11460,8 @@ const $n = ia({
|
|
|
11455
11460
|
o.useIcon ? {
|
|
11456
11461
|
name: "prefix",
|
|
11457
11462
|
fn: j(() => [
|
|
11458
|
-
v.value ? (A(), k("div",
|
|
11459
|
-
m("span",
|
|
11463
|
+
v.value ? (A(), k("div", No, [
|
|
11464
|
+
m("span", Io, $(v.value.txt), 1)
|
|
11460
11465
|
])) : J("", !0)
|
|
11461
11466
|
]),
|
|
11462
11467
|
key: "0"
|
|
@@ -11464,10 +11469,10 @@ const $n = ia({
|
|
|
11464
11469
|
]), 1040, ["modelValue", "class", "teleported"]);
|
|
11465
11470
|
};
|
|
11466
11471
|
}
|
|
11467
|
-
}),
|
|
11472
|
+
}), Ro = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
11468
11473
|
__proto__: null,
|
|
11469
|
-
default:
|
|
11470
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
11474
|
+
default: Do
|
|
11475
|
+
}, Symbol.toStringTag, { value: "Module" })), Fo = { class: "listViewport" }, Vo = ["aria-selected", "onClick"], Go = /* @__PURE__ */ Object.assign({
|
|
11471
11476
|
name: "MvcList",
|
|
11472
11477
|
inheritAttrs: !1
|
|
11473
11478
|
}, {
|
|
@@ -11504,7 +11509,7 @@ const $n = ia({
|
|
|
11504
11509
|
size: {
|
|
11505
11510
|
type: String,
|
|
11506
11511
|
default: "default",
|
|
11507
|
-
validator: (
|
|
11512
|
+
validator: (e) => ["default", "small", "large"].includes(e)
|
|
11508
11513
|
},
|
|
11509
11514
|
/** 为 true 时在列表区域显示遮罩 Loading(内部 `<Loading />`) */
|
|
11510
11515
|
loading: {
|
|
@@ -11523,15 +11528,15 @@ const $n = ia({
|
|
|
11523
11528
|
}
|
|
11524
11529
|
},
|
|
11525
11530
|
emits: ["update:modelValue", "change"],
|
|
11526
|
-
setup(
|
|
11527
|
-
const
|
|
11528
|
-
|
|
11531
|
+
setup(e, { emit: o }) {
|
|
11532
|
+
const a = e, l = o, n = (c) => c.value === a.modelValue, r = (c) => {
|
|
11533
|
+
a.loading || a.disabled || c.disabled || (l("update:modelValue", c.value), l("change", c.value, c.raw));
|
|
11529
11534
|
}, s = (c) => {
|
|
11530
11535
|
var h;
|
|
11531
11536
|
const y = c.value, S = ((h = globalThis.$getType) == null ? void 0 : h.call(globalThis, y)) ?? typeof y;
|
|
11532
11537
|
return S === "Object" || S === "Array" ? JSON.stringify(y) : String(y);
|
|
11533
11538
|
}, g = p(() => {
|
|
11534
|
-
const c =
|
|
11539
|
+
const c = a.options, y = Array.isArray(c) ? c : [], S = a.valueKey, h = a.labelKey;
|
|
11535
11540
|
return y.filter((x) => x != null).map((x) => typeof x == "object" && !Array.isArray(x) ? {
|
|
11536
11541
|
value: x[S],
|
|
11537
11542
|
label: x[h] ?? "",
|
|
@@ -11543,11 +11548,11 @@ const $n = ia({
|
|
|
11543
11548
|
disabled: !1,
|
|
11544
11549
|
raw: x
|
|
11545
11550
|
});
|
|
11546
|
-
}), v = p(() =>
|
|
11551
|
+
}), v = p(() => a.size === "small" ? "sizeSmall" : a.size === "large" ? "sizeLarge" : ""), u = p(() => {
|
|
11547
11552
|
var y, S;
|
|
11548
|
-
const c = (S = (y =
|
|
11553
|
+
const c = (S = (y = a.loadingTxt) == null ? void 0 : y.trim) == null ? void 0 : S.call(y);
|
|
11549
11554
|
return {
|
|
11550
|
-
icon:
|
|
11555
|
+
icon: a.loadingIcon,
|
|
11551
11556
|
showTxt: !!c,
|
|
11552
11557
|
txt: c || "- LOADING -",
|
|
11553
11558
|
radius: 8
|
|
@@ -11558,14 +11563,14 @@ const $n = ia({
|
|
|
11558
11563
|
return A(), k("div", oe({
|
|
11559
11564
|
class: ["MvcList", [t(v), c.$attrs.class]]
|
|
11560
11565
|
}, c.$attrs), [
|
|
11561
|
-
m("div",
|
|
11566
|
+
m("div", Fo, [
|
|
11562
11567
|
m("div", {
|
|
11563
|
-
class: H(["listScroll yscroll",
|
|
11568
|
+
class: H(["listScroll yscroll", a.listClass]),
|
|
11564
11569
|
role: "listbox"
|
|
11565
11570
|
}, [
|
|
11566
11571
|
(A(!0), k(re, null, ce(t(g), (h) => (A(), k("div", {
|
|
11567
11572
|
key: s(h),
|
|
11568
|
-
class: H(["listItem", [
|
|
11573
|
+
class: H(["listItem", [a.itemClass, { active: n(h), isDisabled: h.disabled }]]),
|
|
11569
11574
|
role: "option",
|
|
11570
11575
|
"aria-selected": n(h),
|
|
11571
11576
|
onClick: (x) => r(h)
|
|
@@ -11573,19 +11578,19 @@ const $n = ia({
|
|
|
11573
11578
|
q(c.$slots, "item", { option: h }, () => [
|
|
11574
11579
|
ie($(c.$l(h.label)), 1)
|
|
11575
11580
|
], !0)
|
|
11576
|
-
], 10,
|
|
11581
|
+
], 10, Vo))), 128))
|
|
11577
11582
|
], 2),
|
|
11578
11583
|
R(S, oe({
|
|
11579
|
-
loading:
|
|
11584
|
+
loading: a.loading
|
|
11580
11585
|
}, t(u)), null, 16, ["loading"])
|
|
11581
11586
|
])
|
|
11582
11587
|
], 16);
|
|
11583
11588
|
};
|
|
11584
11589
|
}
|
|
11585
|
-
}),
|
|
11590
|
+
}), Ko = /* @__PURE__ */ ne(Go, [["__scopeId", "data-v-cdd3bad5"]]), Uo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
11586
11591
|
__proto__: null,
|
|
11587
|
-
default:
|
|
11588
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
11592
|
+
default: Ko
|
|
11593
|
+
}, Symbol.toStringTag, { value: "Module" })), Ho = { class: "content flexMode flexV vc g12 relative z1" }, Jo = /* @__PURE__ */ Object.assign({
|
|
11589
11594
|
name: "MvcLoading",
|
|
11590
11595
|
inheritAttrs: !1
|
|
11591
11596
|
}, {
|
|
@@ -11627,9 +11632,9 @@ const $n = ia({
|
|
|
11627
11632
|
default: 999
|
|
11628
11633
|
}
|
|
11629
11634
|
},
|
|
11630
|
-
setup(
|
|
11631
|
-
const o =
|
|
11632
|
-
return (
|
|
11635
|
+
setup(e) {
|
|
11636
|
+
const o = e;
|
|
11637
|
+
return (a, l) => (A(), le(da, { name: "loadingFade" }, {
|
|
11633
11638
|
default: j(() => [
|
|
11634
11639
|
o.loading ? (A(), k("div", {
|
|
11635
11640
|
key: 0,
|
|
@@ -11642,7 +11647,7 @@ const $n = ia({
|
|
|
11642
11647
|
zIndex: o.z
|
|
11643
11648
|
})
|
|
11644
11649
|
}, [
|
|
11645
|
-
m("div",
|
|
11650
|
+
m("div", Ho, [
|
|
11646
11651
|
m("i", {
|
|
11647
11652
|
class: H([o.icon, `fs${o.size}`, "imicon ani-rotate"]),
|
|
11648
11653
|
"aria-hidden": "true"
|
|
@@ -11650,23 +11655,23 @@ const $n = ia({
|
|
|
11650
11655
|
o.showTxt ? (A(), k("span", {
|
|
11651
11656
|
key: 0,
|
|
11652
11657
|
class: H(["loaderTxt fs14 txt-c", o.txtClass])
|
|
11653
|
-
}, $(
|
|
11658
|
+
}, $(a.$l(o.txt)), 3)) : J("", !0)
|
|
11654
11659
|
])
|
|
11655
11660
|
], 4)) : J("", !0)
|
|
11656
11661
|
]),
|
|
11657
11662
|
_: 1
|
|
11658
11663
|
}));
|
|
11659
11664
|
}
|
|
11660
|
-
}),
|
|
11665
|
+
}), Zo = /* @__PURE__ */ ne(Jo, [["__scopeId", "data-v-305a4676"]]), Yo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
11661
11666
|
__proto__: null,
|
|
11662
|
-
default:
|
|
11663
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
11667
|
+
default: Zo
|
|
11668
|
+
}, Symbol.toStringTag, { value: "Module" })), Wo = { class: "MvcLogin flexMode flexV hc vc wp100 vh100 p24-16" }, qo = { class: "panelWrap wp100 maxw400 p24 radius8 border noShrink" }, Xo = { class: "flexMode vc hb mb16" }, Qo = { class: "pl8 fs20 fw700 txt-h1" }, et = { class: "contentArea minh160" }, at = {
|
|
11664
11669
|
key: 1,
|
|
11665
11670
|
class: "oauthAuthPanel flexMode flexV g8 wp100 vl"
|
|
11666
|
-
},
|
|
11671
|
+
}, lt = ["disabled"], nt = ["disabled"], ot = {
|
|
11667
11672
|
key: 2,
|
|
11668
11673
|
class: "scanArea flexMode flexV vc g12"
|
|
11669
|
-
},
|
|
11674
|
+
}, tt = { class: "scanTitle m0 block fs14 txt-h2" }, rt = { class: "footerLine flexMode flexWrap hc g8 mt24 fs12 txt-tip" }, ke = "mvframe_login_remember", st = /* @__PURE__ */ Object.assign({
|
|
11670
11675
|
name: "MvcLogin",
|
|
11671
11676
|
inheritAttrs: !1
|
|
11672
11677
|
}, {
|
|
@@ -11704,8 +11709,8 @@ const $n = ia({
|
|
|
11704
11709
|
}
|
|
11705
11710
|
},
|
|
11706
11711
|
emits: ["success", "submit"],
|
|
11707
|
-
setup(
|
|
11708
|
-
const
|
|
11712
|
+
setup(e, { emit: o }) {
|
|
11713
|
+
const a = e, { proxy: l } = pe(), n = ee(null), r = ee(!1), s = X({
|
|
11709
11714
|
method: "password",
|
|
11710
11715
|
form: {},
|
|
11711
11716
|
remember: !1
|
|
@@ -11741,7 +11746,7 @@ const $n = ia({
|
|
|
11741
11746
|
v("Sign in with Apple 需按 Apple 人机界面指南配置服务,当前未发起跳转。");
|
|
11742
11747
|
}, S = async () => {
|
|
11743
11748
|
var w, E;
|
|
11744
|
-
if (
|
|
11749
|
+
if (a.loading || r.value) return;
|
|
11745
11750
|
const b = await ((E = (w = n.value) == null ? void 0 : w.validate) == null ? void 0 : E.call(w));
|
|
11746
11751
|
if (!b) return;
|
|
11747
11752
|
const T = String(b.username ?? "").trim();
|
|
@@ -11765,7 +11770,7 @@ const $n = ia({
|
|
|
11765
11770
|
r.value = !1;
|
|
11766
11771
|
}
|
|
11767
11772
|
}
|
|
11768
|
-
}, h = p(() => !!
|
|
11773
|
+
}, h = p(() => !!a.loading || r.value), x = p(() => {
|
|
11769
11774
|
const b = globalThis.$config;
|
|
11770
11775
|
return {
|
|
11771
11776
|
copyright: (b == null ? void 0 : b.copyright) ?? "",
|
|
@@ -11774,11 +11779,11 @@ const $n = ia({
|
|
|
11774
11779
|
}), F = p(() => z[s.method] ?? "Login"), f = p(() => ({
|
|
11775
11780
|
username: {
|
|
11776
11781
|
..._.username,
|
|
11777
|
-
...
|
|
11782
|
+
...a.formFileds.username || {}
|
|
11778
11783
|
},
|
|
11779
11784
|
password: {
|
|
11780
11785
|
..._.password,
|
|
11781
|
-
...
|
|
11786
|
+
...a.formFileds.password || {}
|
|
11782
11787
|
}
|
|
11783
11788
|
})), d = p(() => ({
|
|
11784
11789
|
username: [
|
|
@@ -11801,7 +11806,7 @@ const $n = ia({
|
|
|
11801
11806
|
{ value: "dingtalk", label: "DingTalk" },
|
|
11802
11807
|
{ value: "feishu", label: "Lark" },
|
|
11803
11808
|
{ value: "wechat", label: "Wechat" }
|
|
11804
|
-
].filter((b, T) =>
|
|
11809
|
+
].filter((b, T) => a.loginMethods.includes(T))), z = {
|
|
11805
11810
|
dingtalk: "DingTalk",
|
|
11806
11811
|
feishu: "Lark",
|
|
11807
11812
|
wechat: "Wechat"
|
|
@@ -11825,10 +11830,10 @@ const $n = ia({
|
|
|
11825
11830
|
};
|
|
11826
11831
|
return (b, T) => {
|
|
11827
11832
|
const D = G("BtnGroup"), w = G("Input"), E = G("el-form-item"), O = G("el-checkbox"), I = G("el-button"), V = G("Form");
|
|
11828
|
-
return A(), k("div",
|
|
11829
|
-
m("div",
|
|
11830
|
-
m("div",
|
|
11831
|
-
m("span",
|
|
11833
|
+
return A(), k("div", Wo, [
|
|
11834
|
+
m("div", qo, [
|
|
11835
|
+
m("div", Xo, [
|
|
11836
|
+
m("span", Qo, $(b.$l(a.title)), 1)
|
|
11832
11837
|
]),
|
|
11833
11838
|
R(D, {
|
|
11834
11839
|
modelValue: t(s).method,
|
|
@@ -11838,7 +11843,7 @@ const $n = ia({
|
|
|
11838
11843
|
size: "small",
|
|
11839
11844
|
class: "mb32"
|
|
11840
11845
|
}, null, 8, ["modelValue", "options", "disabled"]),
|
|
11841
|
-
m("div",
|
|
11846
|
+
m("div", et, [
|
|
11842
11847
|
t(s).method === "password" ? (A(), le(V, {
|
|
11843
11848
|
key: 0,
|
|
11844
11849
|
ref_key: "pwdFormRef",
|
|
@@ -11885,7 +11890,7 @@ const $n = ia({
|
|
|
11885
11890
|
placeholder: t(f).password.placeholder,
|
|
11886
11891
|
"show-password": "",
|
|
11887
11892
|
disabled: t(h),
|
|
11888
|
-
onKeyup:
|
|
11893
|
+
onKeyup: ma(S, ["enter"])
|
|
11889
11894
|
}, be({ _: 2 }, [
|
|
11890
11895
|
t(f).password.showPrefix ? {
|
|
11891
11896
|
name: "prefix",
|
|
@@ -11908,7 +11913,7 @@ const $n = ia({
|
|
|
11908
11913
|
disabled: t(h)
|
|
11909
11914
|
}, {
|
|
11910
11915
|
default: j(() => [
|
|
11911
|
-
ie($(b.$l(
|
|
11916
|
+
ie($(b.$l(a.rememberTxt)), 1)
|
|
11912
11917
|
]),
|
|
11913
11918
|
_: 1
|
|
11914
11919
|
}, 8, ["modelValue", "disabled"])
|
|
@@ -11924,13 +11929,13 @@ const $n = ia({
|
|
|
11924
11929
|
onClick: S
|
|
11925
11930
|
}, {
|
|
11926
11931
|
default: j(() => [
|
|
11927
|
-
ie($(b.$l(
|
|
11932
|
+
ie($(b.$l(a.submitTxt)), 1)
|
|
11928
11933
|
]),
|
|
11929
11934
|
_: 1
|
|
11930
11935
|
}, 8, ["loading", "disabled"])
|
|
11931
11936
|
]),
|
|
11932
11937
|
_: 1
|
|
11933
|
-
}, 8, ["modelValue", "rules"])) : t(s).method === "auth" ? (A(), k("div",
|
|
11938
|
+
}, 8, ["modelValue", "rules"])) : t(s).method === "auth" ? (A(), k("div", at, [
|
|
11934
11939
|
T[7] || (T[7] = m("p", { class: "oauthAuthTip m0 block fs12 lh20 txt-tip mb16" }, " 需在应用中配置 OAuth Client 与 token;以下为品牌示意按钮,不发起跳转。 ", -1)),
|
|
11935
11940
|
m("button", {
|
|
11936
11941
|
type: "button",
|
|
@@ -11938,8 +11943,8 @@ const $n = ia({
|
|
|
11938
11943
|
disabled: t(h),
|
|
11939
11944
|
onClick: c
|
|
11940
11945
|
}, [...T[5] || (T[5] = [
|
|
11941
|
-
|
|
11942
|
-
])], 8,
|
|
11946
|
+
Fa('<svg class="oauthGoogleLogo noShrink" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48" width="18" height="18" aria-hidden="true" data-v-6faa6992><path fill="#EA4335" d="M24 9.5c3.54 0 6.71 1.22 9.21 3.6l6.85-6.85C35.9 2.38 30.47 0 24 0 14.62 0 6.51 5.38 2.56 13.22l7.98 6.19C12.43 13.72 17.74 9.5 24 9.5z" data-v-6faa6992></path><path fill="#4285F4" d="M46.98 24.55c0-1.57-.15-3.09-.38-4.55H24v9.02h12.94c-.58 2.96-2.26 5.48-4.78 7.18l7.73 6c4.51-4.18 7.09-10.36 7.09-17.65z" data-v-6faa6992></path><path fill="#FBBC05" d="M10.53 28.59c-.48-1.45-.76-2.99-.76-4.59s.27-3.14.76-4.59l-7.98-6.19C.92 16.46 0 20.12 0 24c0 3.88.92 7.54 2.56 10.78l7.97-6.19z" data-v-6faa6992></path><path fill="#34A853" d="M24 48c6.48 0 11.93-2.13 15.89-5.81l-7.73-6c-2.15 1.45-4.92 2.3-8.16 2.3-6.26 0-11.57-4.22-13.47-9.91l-7.98 6.19C6.51 42.62 14.62 48 24 48z" data-v-6faa6992></path></svg><span class="oauthGoogleLabel" data-v-6faa6992>Sign in with Google</span>', 2)
|
|
11947
|
+
])], 8, lt),
|
|
11943
11948
|
m("button", {
|
|
11944
11949
|
type: "button",
|
|
11945
11950
|
class: "oauthApple wp100 mb16",
|
|
@@ -11960,9 +11965,9 @@ const $n = ia({
|
|
|
11960
11965
|
})
|
|
11961
11966
|
], -1),
|
|
11962
11967
|
m("span", { class: "oauthAppleLabel fs14" }, "Sign in with Apple", -1)
|
|
11963
|
-
])], 8,
|
|
11964
|
-
])) : (A(), k("div",
|
|
11965
|
-
m("p",
|
|
11968
|
+
])], 8, nt)
|
|
11969
|
+
])) : (A(), k("div", ot, [
|
|
11970
|
+
m("p", tt, $(t(F)), 1),
|
|
11966
11971
|
m("div", {
|
|
11967
11972
|
class: H(["qrBlock w180 h180 radius6", `qr-${t(s).method}`]),
|
|
11968
11973
|
"aria-hidden": "true"
|
|
@@ -11970,20 +11975,20 @@ const $n = ia({
|
|
|
11970
11975
|
]))
|
|
11971
11976
|
])
|
|
11972
11977
|
]),
|
|
11973
|
-
m("div",
|
|
11978
|
+
m("div", rt, [
|
|
11974
11979
|
m("span", null, $(t(x).copyright), 1),
|
|
11975
11980
|
m("span", null, $(t(x).author), 1)
|
|
11976
11981
|
])
|
|
11977
11982
|
]);
|
|
11978
11983
|
};
|
|
11979
11984
|
}
|
|
11980
|
-
}),
|
|
11985
|
+
}), it = /* @__PURE__ */ ne(st, [["__scopeId", "data-v-6faa6992"]]), ct = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
11981
11986
|
__proto__: null,
|
|
11982
|
-
default:
|
|
11983
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
11987
|
+
default: it
|
|
11988
|
+
}, Symbol.toStringTag, { value: "Module" })), ut = {
|
|
11984
11989
|
key: 0,
|
|
11985
11990
|
class: "MvcFieldLabel"
|
|
11986
|
-
},
|
|
11991
|
+
}, dt = /* @__PURE__ */ Object.assign({
|
|
11987
11992
|
name: "MvcMention",
|
|
11988
11993
|
inheritAttrs: !1
|
|
11989
11994
|
}, {
|
|
@@ -12071,15 +12076,15 @@ const $n = ia({
|
|
|
12071
12076
|
"blur",
|
|
12072
12077
|
"focus"
|
|
12073
12078
|
],
|
|
12074
|
-
setup(
|
|
12075
|
-
const
|
|
12079
|
+
setup(e, { emit: o }) {
|
|
12080
|
+
const a = e, l = Pe(), n = fe(), r = ee(null);
|
|
12076
12081
|
let s = null;
|
|
12077
12082
|
const g = X({
|
|
12078
12083
|
val: "",
|
|
12079
12084
|
focused: !1
|
|
12080
12085
|
}), v = o;
|
|
12081
12086
|
se(() => {
|
|
12082
|
-
|
|
12087
|
+
a.focus && h();
|
|
12083
12088
|
});
|
|
12084
12089
|
const u = () => {
|
|
12085
12090
|
s && (clearTimeout(s), s = null);
|
|
@@ -12098,7 +12103,7 @@ const $n = ia({
|
|
|
12098
12103
|
return N ? (N.focus(), document.activeElement === N) : !1;
|
|
12099
12104
|
}, h = (P = 0) => {
|
|
12100
12105
|
u(), me(() => {
|
|
12101
|
-
!
|
|
12106
|
+
!a.focus || typeof window > "u" || S() || P >= 5 || (s = setTimeout(() => {
|
|
12102
12107
|
s = null, h(P + 1);
|
|
12103
12108
|
}, 30));
|
|
12104
12109
|
});
|
|
@@ -12117,7 +12122,7 @@ const $n = ia({
|
|
|
12117
12122
|
}, _ = (P) => {
|
|
12118
12123
|
g.focused = !1, v("blur", P);
|
|
12119
12124
|
}, b = p(() => {
|
|
12120
|
-
const { modelValue: P, label: N, materialLabel: W, focus: B, ...L } =
|
|
12125
|
+
const { modelValue: P, label: N, materialLabel: W, focus: B, ...L } = a;
|
|
12121
12126
|
return L;
|
|
12122
12127
|
}), T = p(() => {
|
|
12123
12128
|
const { class: P, ...N } = n;
|
|
@@ -12126,31 +12131,31 @@ const $n = ia({
|
|
|
12126
12131
|
...T.value,
|
|
12127
12132
|
...b.value
|
|
12128
12133
|
})), w = p(() => String(g.val ?? "").length > 0), E = p(() => !!n.placeholder), O = p(
|
|
12129
|
-
() =>
|
|
12134
|
+
() => a.materialLabel && (g.focused || w.value || E.value || l.prefix)
|
|
12130
12135
|
), I = p(() => ({
|
|
12131
12136
|
[n.class]: !!n.class,
|
|
12132
|
-
hasLabel: !!
|
|
12133
|
-
isMaterialLabel: !!(
|
|
12134
|
-
isTopLabel: !!(
|
|
12137
|
+
hasLabel: !!a.label,
|
|
12138
|
+
isMaterialLabel: !!(a.label && a.materialLabel),
|
|
12139
|
+
isTopLabel: !!(a.label && !a.materialLabel),
|
|
12135
12140
|
isFloat: O.value,
|
|
12136
12141
|
isFocused: g.focused,
|
|
12137
12142
|
isDisabled: !!n.disabled,
|
|
12138
12143
|
isMention: !0,
|
|
12139
12144
|
isTextarea: D.value.type === "textarea"
|
|
12140
12145
|
})), V = p(
|
|
12141
|
-
() =>
|
|
12146
|
+
() => a.materialLabel ? {
|
|
12142
12147
|
"--mv-field-surface": "var(--mvframe-input-surface, var(--el-bg-color, #ffffff))"
|
|
12143
12148
|
} : void 0
|
|
12144
12149
|
);
|
|
12145
12150
|
return te(
|
|
12146
|
-
() =>
|
|
12151
|
+
() => a.modelValue,
|
|
12147
12152
|
(P) => {
|
|
12148
12153
|
const N = String(P ?? "");
|
|
12149
12154
|
String(g.val) !== N && (g.val = N);
|
|
12150
12155
|
},
|
|
12151
12156
|
{ immediate: !0 }
|
|
12152
12157
|
), te(
|
|
12153
|
-
() =>
|
|
12158
|
+
() => a.focus,
|
|
12154
12159
|
(P) => {
|
|
12155
12160
|
P ? h() : u();
|
|
12156
12161
|
},
|
|
@@ -12163,7 +12168,7 @@ const $n = ia({
|
|
|
12163
12168
|
class: H(["MvcField MvcFieldMention", t(I)]),
|
|
12164
12169
|
style: de(t(V))
|
|
12165
12170
|
}, [
|
|
12166
|
-
|
|
12171
|
+
a.label ? (A(), k("label", ut, $(a.label), 1)) : J("", !0),
|
|
12167
12172
|
R(W, oe({
|
|
12168
12173
|
ref_key: "mentionRef",
|
|
12169
12174
|
ref: r,
|
|
@@ -12188,10 +12193,10 @@ const $n = ia({
|
|
|
12188
12193
|
], 6);
|
|
12189
12194
|
};
|
|
12190
12195
|
}
|
|
12191
|
-
}),
|
|
12196
|
+
}), mt = /* @__PURE__ */ ne(dt, [["__scopeId", "data-v-a20420a4"]]), bt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
12192
12197
|
__proto__: null,
|
|
12193
|
-
default:
|
|
12194
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
12198
|
+
default: mt
|
|
12199
|
+
}, Symbol.toStringTag, { value: "Module" })), vt = /* @__PURE__ */ Object.assign({
|
|
12195
12200
|
name: "MvcNote",
|
|
12196
12201
|
inheritAttrs: !0
|
|
12197
12202
|
}, {
|
|
@@ -12200,38 +12205,38 @@ const $n = ia({
|
|
|
12200
12205
|
color: {
|
|
12201
12206
|
type: String,
|
|
12202
12207
|
default: "primary",
|
|
12203
|
-
validate: (
|
|
12208
|
+
validate: (e) => ["primary", "green", "orange", "red", "dark"].includes(e)
|
|
12204
12209
|
},
|
|
12205
12210
|
type: {
|
|
12206
12211
|
type: String,
|
|
12207
12212
|
default: "solid",
|
|
12208
|
-
validate: (
|
|
12213
|
+
validate: (e) => ["solid", "dashed", "double"].includes(e)
|
|
12209
12214
|
},
|
|
12210
12215
|
size: {
|
|
12211
12216
|
type: [String, Number],
|
|
12212
12217
|
defualt: "4"
|
|
12213
12218
|
}
|
|
12214
12219
|
},
|
|
12215
|
-
setup(
|
|
12216
|
-
const o =
|
|
12220
|
+
setup(e) {
|
|
12221
|
+
const o = e;
|
|
12217
12222
|
X({});
|
|
12218
|
-
const
|
|
12223
|
+
const a = p(() => ({
|
|
12219
12224
|
borderInlineStart: `${(Number(o.size) || 4) / 16}rem ${o.type} var(--color-${o.color})`
|
|
12220
12225
|
}));
|
|
12221
12226
|
return (l, n) => (A(), k("div", {
|
|
12222
12227
|
class: "MvcNote",
|
|
12223
|
-
style: de(t(
|
|
12228
|
+
style: de(t(a))
|
|
12224
12229
|
}, [
|
|
12225
12230
|
q(l.$slots, "default", {}, void 0, !0)
|
|
12226
12231
|
], 4));
|
|
12227
12232
|
}
|
|
12228
|
-
}),
|
|
12233
|
+
}), pt = /* @__PURE__ */ ne(vt, [["__scopeId", "data-v-e3e84cc8"]]), ft = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
12229
12234
|
__proto__: null,
|
|
12230
|
-
default:
|
|
12231
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
12235
|
+
default: pt
|
|
12236
|
+
}, Symbol.toStringTag, { value: "Module" })), ht = {
|
|
12232
12237
|
key: 0,
|
|
12233
12238
|
class: "PageHeader"
|
|
12234
|
-
},
|
|
12239
|
+
}, _t = { class: "PageHeaderLeft" }, gt = { class: "PageHeaderTitle" }, yt = { class: "PageHeaderSubTitle" }, At = { class: "PageHeaderRight" }, zt = /* @__PURE__ */ Object.assign({
|
|
12235
12240
|
name: "MvcPage",
|
|
12236
12241
|
inheritAttrs: !1
|
|
12237
12242
|
}, {
|
|
@@ -12254,8 +12259,8 @@ const $n = ia({
|
|
|
12254
12259
|
default: "p16"
|
|
12255
12260
|
}
|
|
12256
12261
|
},
|
|
12257
|
-
setup(
|
|
12258
|
-
const o =
|
|
12262
|
+
setup(e) {
|
|
12263
|
+
const o = e, { proxy: a } = pe(), n = Ae("store").tab(), r = p(() => o.title || o.subtitle), s = p(() => n.useTab), g = p(() => {
|
|
12259
12264
|
let v = "calc(100vh";
|
|
12260
12265
|
return n.useTab && (v += " - 2.25rem"), o.noheader || (v += " - 4rem"), {
|
|
12261
12266
|
minHeight: `${v})`
|
|
@@ -12264,14 +12269,14 @@ const $n = ia({
|
|
|
12264
12269
|
return (v, u) => (A(), k("div", {
|
|
12265
12270
|
class: H(["MvcPage", t(s) && "hasTab"])
|
|
12266
12271
|
}, [
|
|
12267
|
-
o.noheader ? J("", !0) : (A(), k("div",
|
|
12268
|
-
m("div",
|
|
12272
|
+
o.noheader ? J("", !0) : (A(), k("div", ht, [
|
|
12273
|
+
m("div", _t, [
|
|
12269
12274
|
v.$slots.header ? q(v.$slots, "header", { key: 0 }, void 0, !0) : t(r) ? (A(), k(re, { key: 1 }, [
|
|
12270
|
-
m("h3",
|
|
12271
|
-
m("p",
|
|
12275
|
+
m("h3", gt, $(o.title), 1),
|
|
12276
|
+
m("p", yt, $(o.subtitle), 1)
|
|
12272
12277
|
], 64)) : J("", !0)
|
|
12273
12278
|
]),
|
|
12274
|
-
m("div",
|
|
12279
|
+
m("div", At, [
|
|
12275
12280
|
v.$slots.right ? q(v.$slots, "right", { key: 0 }, void 0, !0) : J("", !0)
|
|
12276
12281
|
])
|
|
12277
12282
|
])),
|
|
@@ -12283,16 +12288,16 @@ const $n = ia({
|
|
|
12283
12288
|
], 6)
|
|
12284
12289
|
], 2));
|
|
12285
12290
|
}
|
|
12286
|
-
}),
|
|
12291
|
+
}), wt = /* @__PURE__ */ ne(zt, [["__scopeId", "data-v-060130ad"]]), St = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
12287
12292
|
__proto__: null,
|
|
12288
|
-
default:
|
|
12289
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
12293
|
+
default: wt
|
|
12294
|
+
}, Symbol.toStringTag, { value: "Module" })), Tt = {
|
|
12290
12295
|
key: 0,
|
|
12291
12296
|
class: "MvcFieldLabel"
|
|
12292
|
-
},
|
|
12297
|
+
}, Ct = { class: "flexMode hb vc" }, Mt = { class: "flexMode g4 vc" }, kt = { class: "tag" }, Et = {
|
|
12293
12298
|
key: 0,
|
|
12294
12299
|
class: "tag"
|
|
12295
|
-
},
|
|
12300
|
+
}, Ot = { class: "flexMode hr" }, Pt = /* @__PURE__ */ Object.assign({
|
|
12296
12301
|
name: "MvcSelect",
|
|
12297
12302
|
inheritAttrs: !1
|
|
12298
12303
|
}, {
|
|
@@ -12344,12 +12349,12 @@ const $n = ia({
|
|
|
12344
12349
|
}
|
|
12345
12350
|
},
|
|
12346
12351
|
emits: ["update:modelValue", "change", "focus", "blur"],
|
|
12347
|
-
setup(
|
|
12348
|
-
const
|
|
12349
|
-
|
|
12352
|
+
setup(e, { emit: o }) {
|
|
12353
|
+
const a = e, l = ee(null), n = ee([]), r = ee(!1), s = ee(!1), g = ee(!1), v = ee(!1), u = fe(), c = o, y = (i) => {
|
|
12354
|
+
a.multiple ? (n.value = Array.isArray(i) ? [...i] : [], b()) : (c("update:modelValue", i), c("change", i));
|
|
12350
12355
|
}, S = (i) => {
|
|
12351
|
-
if (r.value = i, i &&
|
|
12352
|
-
const M =
|
|
12356
|
+
if (r.value = i, i && a.multiple) {
|
|
12357
|
+
const M = a.modelValue;
|
|
12353
12358
|
n.value = Array.isArray(M) ? [...M] : M ? [M] : [], b();
|
|
12354
12359
|
}
|
|
12355
12360
|
}, h = (i) => {
|
|
@@ -12358,7 +12363,7 @@ const $n = ia({
|
|
|
12358
12363
|
v.value = !1, c("blur", i);
|
|
12359
12364
|
}, F = () => {
|
|
12360
12365
|
var Y;
|
|
12361
|
-
if (!
|
|
12366
|
+
if (!a.filterable || !r.value) return _();
|
|
12362
12367
|
const i = l.value, M = ((Y = i == null ? void 0 : i.optionsArray) == null ? void 0 : Y.value) ?? (i == null ? void 0 : i.optionsArray) ?? [];
|
|
12363
12368
|
return Array.isArray(M) ? M.filter((Z) => {
|
|
12364
12369
|
var U;
|
|
@@ -12390,14 +12395,14 @@ const $n = ia({
|
|
|
12390
12395
|
b();
|
|
12391
12396
|
}, z = () => {
|
|
12392
12397
|
var i, M;
|
|
12393
|
-
|
|
12398
|
+
a.multiple && (c("update:modelValue", n.value), c("change", n.value), (M = (i = l.value) == null ? void 0 : i.blur) == null || M.call(i));
|
|
12394
12399
|
}, _ = () => {
|
|
12395
|
-
const i =
|
|
12396
|
-
return (
|
|
12400
|
+
const i = a.valueKey;
|
|
12401
|
+
return (a.options || []).map((M) => typeof M == "object" ? M[i] : M);
|
|
12397
12402
|
}, b = () => {
|
|
12398
12403
|
const i = d();
|
|
12399
12404
|
s.value = i.total > 0 && i.selected === i.total, g.value = i.selected > 0 && i.selected < i.total;
|
|
12400
|
-
}, T = p(() =>
|
|
12405
|
+
}, T = p(() => a.multiple && r.value ? n.value : a.modelValue), D = p(() => {
|
|
12401
12406
|
const {
|
|
12402
12407
|
modelValue: i,
|
|
12403
12408
|
valueKey: M,
|
|
@@ -12406,7 +12411,7 @@ const $n = ia({
|
|
|
12406
12411
|
confirmTxt: U,
|
|
12407
12412
|
nowrap: Q,
|
|
12408
12413
|
...ue
|
|
12409
|
-
} =
|
|
12414
|
+
} = a, Me = ue.props ?? {};
|
|
12410
12415
|
return {
|
|
12411
12416
|
...ue,
|
|
12412
12417
|
props: {
|
|
@@ -12416,7 +12421,7 @@ const $n = ia({
|
|
|
12416
12421
|
}
|
|
12417
12422
|
};
|
|
12418
12423
|
}), w = p(
|
|
12419
|
-
() =>
|
|
12424
|
+
() => a.nowrap ? {
|
|
12420
12425
|
collapseTags: !0,
|
|
12421
12426
|
collapseTagsTooltip: !0,
|
|
12422
12427
|
maxCollapseTags: 1,
|
|
@@ -12431,31 +12436,31 @@ const $n = ia({
|
|
|
12431
12436
|
...D.value,
|
|
12432
12437
|
placeholder: u.placeholder ?? ""
|
|
12433
12438
|
})), I = p(() => {
|
|
12434
|
-
const i =
|
|
12435
|
-
return !
|
|
12436
|
-
}), V = p(() => d().total), P = p(() =>
|
|
12437
|
-
const i =
|
|
12439
|
+
const i = a.multiple && r.value ? n.value : a.modelValue, M = Array.isArray(i) ? i : i ? [i] : [];
|
|
12440
|
+
return !a.filterable || !r.value ? Math.min(M.length, V.value) : d().selected;
|
|
12441
|
+
}), V = p(() => d().total), P = p(() => a.options.length), N = p(() => (u.multipleLimit || u["multiple-limit"]) && P.value), W = p(() => {
|
|
12442
|
+
const i = a.multiple && r.value ? n.value : a.modelValue;
|
|
12438
12443
|
return Array.isArray(i) ? i.length > 0 : i != null && String(i) !== "";
|
|
12439
12444
|
}), B = p(() => !!u.placeholder), L = p(
|
|
12440
|
-
() =>
|
|
12445
|
+
() => a.materialLabel && (v.value || r.value || W.value || B.value)
|
|
12441
12446
|
), K = p(() => ({
|
|
12442
12447
|
[u.class]: !!u.class,
|
|
12443
|
-
hasLabel: !!
|
|
12444
|
-
isMaterialLabel: !!(
|
|
12445
|
-
isTopLabel: !!(
|
|
12448
|
+
hasLabel: !!a.label,
|
|
12449
|
+
isMaterialLabel: !!(a.label && a.materialLabel),
|
|
12450
|
+
isTopLabel: !!(a.label && !a.materialLabel),
|
|
12446
12451
|
isFloat: L.value,
|
|
12447
12452
|
isFocused: v.value,
|
|
12448
12453
|
isDisabled: !!u.disabled,
|
|
12449
12454
|
isSelect: !0
|
|
12450
12455
|
})), ae = p(
|
|
12451
|
-
() =>
|
|
12456
|
+
() => a.materialLabel ? {
|
|
12452
12457
|
"--mv-field-surface": "var(--mvframe-input-surface, var(--el-bg-color, #ffffff))"
|
|
12453
12458
|
} : void 0
|
|
12454
12459
|
);
|
|
12455
12460
|
return te(n, () => b(), { deep: !0 }), te(
|
|
12456
|
-
() =>
|
|
12461
|
+
() => a.modelValue,
|
|
12457
12462
|
(i) => {
|
|
12458
|
-
if (
|
|
12463
|
+
if (a.multiple && r.value) {
|
|
12459
12464
|
const M = Array.isArray(i) ? [...i] : i ? [i] : [];
|
|
12460
12465
|
JSON.stringify(M) !== JSON.stringify(n.value) && (n.value = M, b());
|
|
12461
12466
|
}
|
|
@@ -12466,7 +12471,7 @@ const $n = ia({
|
|
|
12466
12471
|
class: H(["MvcField MvcFieldSelect", t(K)]),
|
|
12467
12472
|
style: de(t(ae))
|
|
12468
12473
|
}, [
|
|
12469
|
-
|
|
12474
|
+
a.label ? (A(), k("label", Tt, $(a.label), 1)) : J("", !0),
|
|
12470
12475
|
R(U, oe({
|
|
12471
12476
|
ref_key: "selectRef",
|
|
12472
12477
|
ref: l,
|
|
@@ -12484,41 +12489,41 @@ const $n = ia({
|
|
|
12484
12489
|
]),
|
|
12485
12490
|
_: 2
|
|
12486
12491
|
}, [
|
|
12487
|
-
|
|
12492
|
+
a.filterable && a.multiple ? {
|
|
12488
12493
|
name: "header",
|
|
12489
12494
|
fn: j(() => [
|
|
12490
|
-
m("div",
|
|
12495
|
+
m("div", Ct, [
|
|
12491
12496
|
R(Y, {
|
|
12492
12497
|
modelValue: t(s),
|
|
12493
|
-
"onUpdate:modelValue": M[0] || (M[0] = (Q) =>
|
|
12498
|
+
"onUpdate:modelValue": M[0] || (M[0] = (Q) => ba(s) ? s.value = Q : null),
|
|
12494
12499
|
indeterminate: t(g),
|
|
12495
12500
|
class: "h24",
|
|
12496
12501
|
onChange: C
|
|
12497
12502
|
}, {
|
|
12498
12503
|
default: j(() => [
|
|
12499
|
-
ie($(
|
|
12504
|
+
ie($(e.selectAllTxt), 1)
|
|
12500
12505
|
]),
|
|
12501
12506
|
_: 1
|
|
12502
12507
|
}, 8, ["modelValue", "indeterminate"]),
|
|
12503
|
-
m("div",
|
|
12504
|
-
m("span",
|
|
12505
|
-
t(N) ? (A(), k("span",
|
|
12508
|
+
m("div", Mt, [
|
|
12509
|
+
m("span", kt, $(t(I)) + "/" + $(t(V)), 1),
|
|
12510
|
+
t(N) ? (A(), k("span", Et, $(t(P)), 1)) : J("", !0)
|
|
12506
12511
|
])
|
|
12507
12512
|
])
|
|
12508
12513
|
]),
|
|
12509
12514
|
key: "0"
|
|
12510
12515
|
} : void 0,
|
|
12511
|
-
|
|
12516
|
+
a.multiple ? {
|
|
12512
12517
|
name: "footer",
|
|
12513
12518
|
fn: j(() => [
|
|
12514
|
-
m("div",
|
|
12519
|
+
m("div", Ot, [
|
|
12515
12520
|
R(Z, {
|
|
12516
12521
|
type: "primary",
|
|
12517
12522
|
size: "small",
|
|
12518
12523
|
onClick: z
|
|
12519
12524
|
}, {
|
|
12520
12525
|
default: j(() => [
|
|
12521
|
-
ie($(
|
|
12526
|
+
ie($(e.confirmTxt), 1)
|
|
12522
12527
|
]),
|
|
12523
12528
|
_: 1
|
|
12524
12529
|
})
|
|
@@ -12530,16 +12535,16 @@ const $n = ia({
|
|
|
12530
12535
|
], 6);
|
|
12531
12536
|
};
|
|
12532
12537
|
}
|
|
12533
|
-
}),
|
|
12538
|
+
}), xt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
12534
12539
|
__proto__: null,
|
|
12535
|
-
default:
|
|
12536
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
12540
|
+
default: Pt
|
|
12541
|
+
}, Symbol.toStringTag, { value: "Module" })), Lt = {
|
|
12537
12542
|
key: 0,
|
|
12538
12543
|
class: "MvcFieldLabel"
|
|
12539
|
-
},
|
|
12544
|
+
}, Nt = { class: "flexMode hb vc" }, It = { class: "flexMode g4 vc" }, $t = { class: "tag" }, Bt = {
|
|
12540
12545
|
key: 0,
|
|
12541
12546
|
class: "tag"
|
|
12542
|
-
},
|
|
12547
|
+
}, jt = { class: "flexMode hr" }, Dt = /* @__PURE__ */ Object.assign({
|
|
12543
12548
|
name: "MvcSelectV2",
|
|
12544
12549
|
inheritAttrs: !1
|
|
12545
12550
|
}, {
|
|
@@ -12591,12 +12596,12 @@ const $n = ia({
|
|
|
12591
12596
|
}
|
|
12592
12597
|
},
|
|
12593
12598
|
emits: ["update:modelValue", "change", "focus", "blur"],
|
|
12594
|
-
setup(
|
|
12595
|
-
const
|
|
12596
|
-
|
|
12599
|
+
setup(e, { emit: o }) {
|
|
12600
|
+
const a = e, l = ee(null), n = ee([]), r = ee(!1), s = ee(!1), g = ee(!1), v = ee(!1), u = fe(), c = o, y = (i) => {
|
|
12601
|
+
a.multiple ? (n.value = Array.isArray(i) ? [...i] : [], b()) : (c("update:modelValue", i), c("change", i));
|
|
12597
12602
|
}, S = (i) => {
|
|
12598
|
-
if (r.value = i, i &&
|
|
12599
|
-
const M =
|
|
12603
|
+
if (r.value = i, i && a.multiple) {
|
|
12604
|
+
const M = a.modelValue;
|
|
12600
12605
|
n.value = Array.isArray(M) ? [...M] : M ? [M] : [], b();
|
|
12601
12606
|
}
|
|
12602
12607
|
}, h = (i) => {
|
|
@@ -12605,10 +12610,10 @@ const $n = ia({
|
|
|
12605
12610
|
v.value = !1, c("blur", i);
|
|
12606
12611
|
}, F = () => {
|
|
12607
12612
|
var Z;
|
|
12608
|
-
if (!
|
|
12613
|
+
if (!a.filterable || !r.value) return _();
|
|
12609
12614
|
const i = l.value, M = ((Z = i == null ? void 0 : i.filteredOptions) == null ? void 0 : Z.value) ?? (i == null ? void 0 : i.filteredOptions) ?? [];
|
|
12610
12615
|
if (!Array.isArray(M)) return _();
|
|
12611
|
-
const Y =
|
|
12616
|
+
const Y = a.valueKey;
|
|
12612
12617
|
return M.filter((U) => U.type !== "Group" && !U.disabled).map((U) => typeof U == "object" ? U[Y] : U);
|
|
12613
12618
|
}, f = () => {
|
|
12614
12619
|
const i = u.multipleLimit ?? u["multiple-limit"], M = Number(i);
|
|
@@ -12636,14 +12641,14 @@ const $n = ia({
|
|
|
12636
12641
|
b();
|
|
12637
12642
|
}, z = () => {
|
|
12638
12643
|
var i, M;
|
|
12639
|
-
|
|
12644
|
+
a.multiple && (c("update:modelValue", n.value), c("change", n.value), (M = (i = l.value) == null ? void 0 : i.blur) == null || M.call(i));
|
|
12640
12645
|
}, _ = () => {
|
|
12641
|
-
const i =
|
|
12642
|
-
return (
|
|
12646
|
+
const i = a.valueKey;
|
|
12647
|
+
return (a.options || []).map((M) => typeof M == "object" ? M[i] : M);
|
|
12643
12648
|
}, b = () => {
|
|
12644
12649
|
const i = d();
|
|
12645
12650
|
s.value = i.total > 0 && i.selected === i.total, g.value = i.selected > 0 && i.selected < i.total;
|
|
12646
|
-
}, T = p(() =>
|
|
12651
|
+
}, T = p(() => a.multiple && r.value ? n.value : a.modelValue), D = p(() => {
|
|
12647
12652
|
const {
|
|
12648
12653
|
modelValue: i,
|
|
12649
12654
|
valueKey: M,
|
|
@@ -12652,7 +12657,7 @@ const $n = ia({
|
|
|
12652
12657
|
confirmTxt: U,
|
|
12653
12658
|
nowrap: Q,
|
|
12654
12659
|
...ue
|
|
12655
|
-
} =
|
|
12660
|
+
} = a, Me = ue.props ?? {};
|
|
12656
12661
|
return {
|
|
12657
12662
|
...ue,
|
|
12658
12663
|
props: {
|
|
@@ -12662,7 +12667,7 @@ const $n = ia({
|
|
|
12662
12667
|
}
|
|
12663
12668
|
};
|
|
12664
12669
|
}), w = p(
|
|
12665
|
-
() =>
|
|
12670
|
+
() => a.nowrap ? {
|
|
12666
12671
|
collapseTags: !0,
|
|
12667
12672
|
collapseTagsTooltip: !0,
|
|
12668
12673
|
maxCollapseTags: 1,
|
|
@@ -12677,29 +12682,29 @@ const $n = ia({
|
|
|
12677
12682
|
...D.value,
|
|
12678
12683
|
placeholder: u.placeholder ?? ""
|
|
12679
12684
|
})), I = p(() => {
|
|
12680
|
-
const i =
|
|
12681
|
-
return !
|
|
12682
|
-
}), V = p(() => d().total), P = p(() =>
|
|
12683
|
-
const i =
|
|
12685
|
+
const i = a.multiple && r.value ? n.value : a.modelValue, M = Array.isArray(i) ? i : i ? [i] : [];
|
|
12686
|
+
return !a.filterable || !r.value ? Math.min(M.length, V.value) : d().selected;
|
|
12687
|
+
}), V = p(() => d().total), P = p(() => a.options.length), N = p(() => (u.multipleLimit || u["multiple-limit"]) && P.value), W = p(() => {
|
|
12688
|
+
const i = a.multiple && r.value ? n.value : a.modelValue;
|
|
12684
12689
|
return Array.isArray(i) ? i.length > 0 : i != null && String(i) !== "";
|
|
12685
12690
|
}), B = p(() => !!u.placeholder), L = p(
|
|
12686
|
-
() =>
|
|
12691
|
+
() => a.materialLabel && (v.value || r.value || W.value || B.value)
|
|
12687
12692
|
), K = p(() => ({
|
|
12688
12693
|
[u.class]: !!u.class,
|
|
12689
|
-
hasLabel: !!
|
|
12690
|
-
isMaterialLabel: !!(
|
|
12691
|
-
isTopLabel: !!(
|
|
12694
|
+
hasLabel: !!a.label,
|
|
12695
|
+
isMaterialLabel: !!(a.label && a.materialLabel),
|
|
12696
|
+
isTopLabel: !!(a.label && !a.materialLabel),
|
|
12692
12697
|
isFloat: L.value,
|
|
12693
12698
|
isFocused: v.value,
|
|
12694
12699
|
isDisabled: !!u.disabled,
|
|
12695
12700
|
isSelect: !0
|
|
12696
12701
|
})), ae = p(
|
|
12697
|
-
() =>
|
|
12702
|
+
() => a.materialLabel ? { "--mv-field-surface": "var(--mvframe-input-surface, var(--el-bg-color, #ffffff))" } : void 0
|
|
12698
12703
|
);
|
|
12699
12704
|
return te(n, () => b(), { deep: !0 }), te(
|
|
12700
|
-
() =>
|
|
12705
|
+
() => a.modelValue,
|
|
12701
12706
|
(i) => {
|
|
12702
|
-
if (
|
|
12707
|
+
if (a.multiple && r.value) {
|
|
12703
12708
|
const M = Array.isArray(i) ? [...i] : i ? [i] : [];
|
|
12704
12709
|
JSON.stringify(M) !== JSON.stringify(n.value) && (n.value = M, b());
|
|
12705
12710
|
}
|
|
@@ -12710,7 +12715,7 @@ const $n = ia({
|
|
|
12710
12715
|
class: H(["MvcField MvcFieldSelectV2", t(K)]),
|
|
12711
12716
|
style: de(t(ae))
|
|
12712
12717
|
}, [
|
|
12713
|
-
|
|
12718
|
+
a.label ? (A(), k("label", Lt, $(a.label), 1)) : J("", !0),
|
|
12714
12719
|
R(U, oe({
|
|
12715
12720
|
ref_key: "selectRef",
|
|
12716
12721
|
ref: l,
|
|
@@ -12723,25 +12728,25 @@ const $n = ia({
|
|
|
12723
12728
|
onFocus: h,
|
|
12724
12729
|
onBlur: x
|
|
12725
12730
|
}), be({ _: 2 }, [
|
|
12726
|
-
|
|
12731
|
+
a.filterable && a.multiple ? {
|
|
12727
12732
|
name: "header",
|
|
12728
12733
|
fn: j(() => [
|
|
12729
|
-
m("div",
|
|
12734
|
+
m("div", Nt, [
|
|
12730
12735
|
R(Y, {
|
|
12731
12736
|
modelValue: t(s),
|
|
12732
|
-
"onUpdate:modelValue": M[0] || (M[0] = (Q) =>
|
|
12737
|
+
"onUpdate:modelValue": M[0] || (M[0] = (Q) => ba(s) ? s.value = Q : null),
|
|
12733
12738
|
indeterminate: t(g),
|
|
12734
12739
|
class: "h24",
|
|
12735
12740
|
onChange: C
|
|
12736
12741
|
}, {
|
|
12737
12742
|
default: j(() => [
|
|
12738
|
-
ie($(
|
|
12743
|
+
ie($(e.selectAllTxt), 1)
|
|
12739
12744
|
]),
|
|
12740
12745
|
_: 1
|
|
12741
12746
|
}, 8, ["modelValue", "indeterminate"]),
|
|
12742
|
-
m("div",
|
|
12743
|
-
m("span",
|
|
12744
|
-
t(N) ? (A(), k("span",
|
|
12747
|
+
m("div", It, [
|
|
12748
|
+
m("span", $t, $(t(I)) + "/" + $(t(V)), 1),
|
|
12749
|
+
t(N) ? (A(), k("span", Bt, $(t(P)), 1)) : J("", !0)
|
|
12745
12750
|
])
|
|
12746
12751
|
])
|
|
12747
12752
|
]),
|
|
@@ -12754,17 +12759,17 @@ const $n = ia({
|
|
|
12754
12759
|
]),
|
|
12755
12760
|
key: "1"
|
|
12756
12761
|
} : void 0,
|
|
12757
|
-
|
|
12762
|
+
a.multiple ? {
|
|
12758
12763
|
name: "footer",
|
|
12759
12764
|
fn: j(() => [
|
|
12760
|
-
m("div",
|
|
12765
|
+
m("div", jt, [
|
|
12761
12766
|
R(Z, {
|
|
12762
12767
|
type: "primary",
|
|
12763
12768
|
size: "small",
|
|
12764
12769
|
onClick: z
|
|
12765
12770
|
}, {
|
|
12766
12771
|
default: j(() => [
|
|
12767
|
-
ie($(
|
|
12772
|
+
ie($(e.confirmTxt), 1)
|
|
12768
12773
|
]),
|
|
12769
12774
|
_: 1
|
|
12770
12775
|
})
|
|
@@ -12776,10 +12781,10 @@ const $n = ia({
|
|
|
12776
12781
|
], 6);
|
|
12777
12782
|
};
|
|
12778
12783
|
}
|
|
12779
|
-
}),
|
|
12784
|
+
}), Rt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
12780
12785
|
__proto__: null,
|
|
12781
|
-
default:
|
|
12782
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
12786
|
+
default: Dt
|
|
12787
|
+
}, Symbol.toStringTag, { value: "Module" })), Ft = ca({
|
|
12783
12788
|
name: "MvcTableColumnFilter",
|
|
12784
12789
|
props: {
|
|
12785
12790
|
tableName: {
|
|
@@ -12795,12 +12800,12 @@ const $n = ia({
|
|
|
12795
12800
|
default: !1
|
|
12796
12801
|
}
|
|
12797
12802
|
},
|
|
12798
|
-
setup: (
|
|
12803
|
+
setup: (e, o) => {
|
|
12799
12804
|
var g;
|
|
12800
|
-
const
|
|
12805
|
+
const a = X({
|
|
12801
12806
|
options: [],
|
|
12802
12807
|
slots: []
|
|
12803
|
-
}), l =
|
|
12808
|
+
}), l = e.tableName + "_Column";
|
|
12804
12809
|
let n = [];
|
|
12805
12810
|
(() => {
|
|
12806
12811
|
const v = o.slots.default()[0].children, u = {
|
|
@@ -12809,7 +12814,7 @@ const $n = ia({
|
|
|
12809
12814
|
asa: [],
|
|
12810
12815
|
fixed: [],
|
|
12811
12816
|
columns: []
|
|
12812
|
-
}, c =
|
|
12817
|
+
}, c = e.tableName ? JSON.parse(localStorage.getItem(l)) : null, y = [void 0];
|
|
12813
12818
|
v.forEach((h) => {
|
|
12814
12819
|
window.$getType(h.type) === "Symbol" ? n = n.concat(h.children) : n.push(h);
|
|
12815
12820
|
}), n.forEach((h, x) => {
|
|
@@ -12822,24 +12827,24 @@ const $n = ia({
|
|
|
12822
12827
|
resizable: !0,
|
|
12823
12828
|
visible: h.props.visible !== !1
|
|
12824
12829
|
};
|
|
12825
|
-
if (f.labelKey || (f.labelKey = f.label), f.label = window.$l(f.labelKey),
|
|
12830
|
+
if (f.labelKey || (f.labelKey = f.label), f.label = window.$l(f.labelKey), e.column && (c != null && c.length) && y.indexOf(h.props.prop) === -1) {
|
|
12826
12831
|
const { data: d } = c.filter1((C) => C.prop === h.props.prop);
|
|
12827
12832
|
d && (f.sort = d.sort, f.fixed = d.fixed, f.visible = d.visible);
|
|
12828
12833
|
}
|
|
12829
12834
|
h.props.fixed && u.fixed.push(f), h.props.type === "mmp" ? u.mmp.push(f) : h.props.type === "asa" ? u.asa.push(f) : u.normal.push(f), h.props = f;
|
|
12830
12835
|
}
|
|
12831
|
-
}),
|
|
12836
|
+
}), a.columnInfo = u;
|
|
12832
12837
|
let S = [...u.normal, ...u.mmp, ...u.asa];
|
|
12833
|
-
|
|
12838
|
+
e.tableName && (S = S.sort((h, x) => h.sort - x.sort), localStorage.setItem(l, JSON.stringify(S)));
|
|
12834
12839
|
})();
|
|
12835
12840
|
let s = [];
|
|
12836
12841
|
if (n.forEach((v) => {
|
|
12837
12842
|
window.$getType(v) !== "String" && v.props.visible && s.push(v);
|
|
12838
|
-
}), (g =
|
|
12843
|
+
}), (g = e.group) != null && g.label) {
|
|
12839
12844
|
const v = {
|
|
12840
|
-
label: "Group By " +
|
|
12845
|
+
label: "Group By " + e.group.label,
|
|
12841
12846
|
// prop: props.group.value,
|
|
12842
|
-
width:
|
|
12847
|
+
width: e.group.width,
|
|
12843
12848
|
fixed: "left",
|
|
12844
12849
|
visible: !0,
|
|
12845
12850
|
resizable: !0
|
|
@@ -12854,28 +12859,28 @@ const $n = ia({
|
|
|
12854
12859
|
}
|
|
12855
12860
|
return s = s.sort((v, u) => v.props.sort - u.props.sort), () => s;
|
|
12856
12861
|
}
|
|
12857
|
-
}),
|
|
12862
|
+
}), Vt = { class: "hp100 flexMode" }, Gt = { class: "w200 hp100 border-r fs14" }, Kt = { class: "flexMode vc h36 p8 bg-gray3 border-b txt-nowrap" }, Ut = { class: "p4" }, Ht = ["onClick"], Jt = {
|
|
12858
12863
|
class: "flexMode vs hp100",
|
|
12859
12864
|
style: { width: "calc(100% - 200px)" }
|
|
12860
|
-
},
|
|
12865
|
+
}, Zt = { class: "wp50 border-r fs14" }, Yt = { class: "flexMode vc g8 h36 p8 bg-gray3 border-b txt-nowrap" }, Wt = { class: "tagArea blue small" }, qt = { class: "p4" }, Xt = {
|
|
12861
12866
|
key: 0,
|
|
12862
12867
|
class: "absCenter fs12 txt-dark5 txt-nowrap"
|
|
12863
|
-
},
|
|
12868
|
+
}, Qt = { class: "flexMode vc g8" }, er = ["txt", "onClick"], ar = { class: "wp50 border-r fs14" }, lr = { class: "flexMode vc g8 h36 p8 bg-gray3 border-b txt-nowrap" }, nr = { class: "tagArea blue small" }, or = {
|
|
12864
12869
|
class: "relative p4",
|
|
12865
12870
|
style: { height: "calc(100% - 36px)" }
|
|
12866
|
-
},
|
|
12871
|
+
}, tr = {
|
|
12867
12872
|
class: "relative",
|
|
12868
12873
|
style: { height: "30%" }
|
|
12869
|
-
},
|
|
12874
|
+
}, rr = {
|
|
12870
12875
|
key: 0,
|
|
12871
12876
|
class: "absCenter fs12 txt-dark5 txt-nowrap"
|
|
12872
|
-
},
|
|
12877
|
+
}, sr = { class: "columnItem flexMode vc hb h40 g8 p4-8 mb4 radius4" }, ir = { class: "flexMode vc g8 txt-nowrap" }, cr = { class: "flexMode vc g8" }, ur = ["txt", "onClick"], dr = {
|
|
12873
12878
|
class: "relative",
|
|
12874
12879
|
style: { height: "calc(70% - 10px)" }
|
|
12875
|
-
},
|
|
12880
|
+
}, mr = {
|
|
12876
12881
|
key: 0,
|
|
12877
12882
|
class: "absCenter fs12 txt-dark5 txt-nowrap"
|
|
12878
|
-
},
|
|
12883
|
+
}, br = { class: "columnItem flexMode vc hb h40 g8 p4-8 mb4 radius4" }, vr = { class: "flexMode vc g8 txt-nowrap" }, pr = { class: "flexMode vc" }, fr = ["txt", "onClick"], hr = ["txt", "onClick"], _r = /* @__PURE__ */ Object.assign({
|
|
12879
12884
|
name: "MvcTableColumnConfig",
|
|
12880
12885
|
inheritAttrs: !1
|
|
12881
12886
|
}, {
|
|
@@ -12887,8 +12892,8 @@ const $n = ia({
|
|
|
12887
12892
|
}
|
|
12888
12893
|
},
|
|
12889
12894
|
emits: "close",
|
|
12890
|
-
setup(
|
|
12891
|
-
const
|
|
12895
|
+
setup(e, { emit: o }) {
|
|
12896
|
+
const a = e, l = X({
|
|
12892
12897
|
loading: !1,
|
|
12893
12898
|
type: "normal",
|
|
12894
12899
|
columns: {
|
|
@@ -12908,7 +12913,7 @@ const $n = ia({
|
|
|
12908
12913
|
});
|
|
12909
12914
|
const n = o, r = () => {
|
|
12910
12915
|
n("mounted");
|
|
12911
|
-
const d = JSON.parse(localStorage.getItem(`${
|
|
12916
|
+
const d = JSON.parse(localStorage.getItem(`${a.tableName}_Column`)), C = {};
|
|
12912
12917
|
d.forEach((z) => {
|
|
12913
12918
|
z.type && (C[z.type] = !0), z.visible ? z.type === "selection" ? l.selection.push(z) : z.type === "operation" ? l.operation.push(z) : z.label && (z.fixed ? l.fixed.push(z) : l.visible.push(z)) : z.type === "mmp" ? l.columns.mmp.push(z) : z.type === "asa" ? l.columns.asa.push(z) : l.columns.normal.push(z);
|
|
12914
12919
|
}), l.columnType = C;
|
|
@@ -12930,10 +12935,10 @@ const $n = ia({
|
|
|
12930
12935
|
T = T.concat(z[w]);
|
|
12931
12936
|
}), d.forEach((w) => w.fixed = "left"), T.forEach((w) => w.visible = !1);
|
|
12932
12937
|
const D = _.concat(d, C, T, b);
|
|
12933
|
-
D.forEach((w, E) => w.sort = E), localStorage.setItem(`${
|
|
12938
|
+
D.forEach((w, E) => w.sort = E), localStorage.setItem(`${a.tableName}_Column`, JSON.stringify(D)), l.loading = !1, n("close"), n("init-column");
|
|
12934
12939
|
});
|
|
12935
12940
|
}, S = () => {
|
|
12936
|
-
l.loading = !0, localStorage.removeItem(`${
|
|
12941
|
+
l.loading = !0, localStorage.removeItem(`${a.tableName}_Column`), window.$pm(() => {
|
|
12937
12942
|
l.loading = !1, n("close"), n("init-column");
|
|
12938
12943
|
}, 4);
|
|
12939
12944
|
}, h = p(() => {
|
|
@@ -12967,40 +12972,40 @@ const $n = ia({
|
|
|
12967
12972
|
onSubmit: y
|
|
12968
12973
|
}, {
|
|
12969
12974
|
default: j(() => [
|
|
12970
|
-
m("div",
|
|
12971
|
-
m("div",
|
|
12972
|
-
m("div",
|
|
12973
|
-
m("div",
|
|
12975
|
+
m("div", Vt, [
|
|
12976
|
+
m("div", Gt, [
|
|
12977
|
+
m("div", Kt, $(d.$l("Column Type")), 1),
|
|
12978
|
+
m("div", Ut, [
|
|
12974
12979
|
(A(!0), k(re, null, ce(t(f), (b) => (A(), k("div", {
|
|
12975
12980
|
key: b.value,
|
|
12976
12981
|
class: H(["typeItem p8-16 mb4 radius4 txt-nowrap", [t(l).type === b.value && "active", b.hide && "hide"]]),
|
|
12977
12982
|
onClick: (T) => s(b.value)
|
|
12978
|
-
}, $(b.label), 11,
|
|
12983
|
+
}, $(b.label), 11, Ht))), 128))
|
|
12979
12984
|
])
|
|
12980
12985
|
]),
|
|
12981
|
-
m("div",
|
|
12982
|
-
m("div",
|
|
12983
|
-
m("div",
|
|
12986
|
+
m("div", Jt, [
|
|
12987
|
+
m("div", Zt, [
|
|
12988
|
+
m("div", Yt, [
|
|
12984
12989
|
m("span", null, $(d.$l("Columns")), 1),
|
|
12985
|
-
m("span",
|
|
12990
|
+
m("span", Wt, $(t(l).columns[t(l).type].length), 1)
|
|
12986
12991
|
]),
|
|
12987
12992
|
R(z, { style: { height: "calc(100% - 36px)" } }, {
|
|
12988
12993
|
default: j(() => [
|
|
12989
|
-
m("div",
|
|
12990
|
-
t(l).columns[t(l).type].length === 0 ? (A(), k("span",
|
|
12994
|
+
m("div", qt, [
|
|
12995
|
+
t(l).columns[t(l).type].length === 0 ? (A(), k("span", Xt, $(d.$l("No Columns")), 1)) : J("", !0),
|
|
12991
12996
|
(A(!0), k(re, null, ce(t(l).columns[t(l).type], (b, T) => (A(), k("div", {
|
|
12992
12997
|
key: b.prop,
|
|
12993
12998
|
class: "columnItem flexMode vc hb h40 g8 p4-8 mb4 radius4 txt-nowrap"
|
|
12994
12999
|
}, [
|
|
12995
13000
|
m("span", null, $(d.$l(b.label)), 1),
|
|
12996
|
-
m("div",
|
|
13001
|
+
m("div", Qt, [
|
|
12997
13002
|
m("div", {
|
|
12998
13003
|
class: "tipbtn left",
|
|
12999
13004
|
txt: d.$l("Visible"),
|
|
13000
13005
|
onClick: (D) => g(b, T)
|
|
13001
13006
|
}, [...C[0] || (C[0] = [
|
|
13002
13007
|
m("i", { class: "imicon im-plus fs16" }, null, -1)
|
|
13003
|
-
])], 8,
|
|
13008
|
+
])], 8, er)
|
|
13004
13009
|
])
|
|
13005
13010
|
]))), 128))
|
|
13006
13011
|
])
|
|
@@ -13008,14 +13013,14 @@ const $n = ia({
|
|
|
13008
13013
|
_: 1
|
|
13009
13014
|
})
|
|
13010
13015
|
]),
|
|
13011
|
-
m("div",
|
|
13012
|
-
m("div",
|
|
13016
|
+
m("div", ar, [
|
|
13017
|
+
m("div", lr, [
|
|
13013
13018
|
m("span", null, $(d.$l("Visible Columns")), 1),
|
|
13014
|
-
m("span",
|
|
13019
|
+
m("span", nr, $(t(l).visible.length), 1)
|
|
13015
13020
|
]),
|
|
13016
|
-
m("div",
|
|
13017
|
-
m("div",
|
|
13018
|
-
t(l).fixed.length === 0 ? (A(), k("span",
|
|
13021
|
+
m("div", or, [
|
|
13022
|
+
m("div", tr, [
|
|
13023
|
+
t(l).fixed.length === 0 ? (A(), k("span", rr, $(d.$l("No Fixed Columns")), 1)) : J("", !0),
|
|
13019
13024
|
R(z, { height: t(x) }, {
|
|
13020
13025
|
default: j(() => [
|
|
13021
13026
|
R(t(Je), {
|
|
@@ -13025,19 +13030,19 @@ const $n = ia({
|
|
|
13025
13030
|
"ghost-class": "ghost"
|
|
13026
13031
|
}, {
|
|
13027
13032
|
item: j(({ element: b, index: T }) => [
|
|
13028
|
-
m("div",
|
|
13029
|
-
m("div",
|
|
13033
|
+
m("div", sr, [
|
|
13034
|
+
m("div", ir, [
|
|
13030
13035
|
C[1] || (C[1] = m("i", { class: "imicon im-handle cursor-grab" }, null, -1)),
|
|
13031
13036
|
m("span", null, $(d.$l(b.label)), 1)
|
|
13032
13037
|
]),
|
|
13033
|
-
m("div",
|
|
13038
|
+
m("div", cr, [
|
|
13034
13039
|
m("div", {
|
|
13035
13040
|
class: "tipbtn red left",
|
|
13036
13041
|
txt: d.$l("Unfixed"),
|
|
13037
13042
|
onClick: (D) => u(b, T)
|
|
13038
13043
|
}, [...C[2] || (C[2] = [
|
|
13039
13044
|
m("i", { class: "imicon im-download1 fs14" }, null, -1)
|
|
13040
|
-
])], 8,
|
|
13045
|
+
])], 8, ur)
|
|
13041
13046
|
])
|
|
13042
13047
|
])
|
|
13043
13048
|
]),
|
|
@@ -13050,8 +13055,8 @@ const $n = ia({
|
|
|
13050
13055
|
C[6] || (C[6] = m("div", { class: "p4-0" }, [
|
|
13051
13056
|
m("div", { class: "border-t" })
|
|
13052
13057
|
], -1)),
|
|
13053
|
-
m("div",
|
|
13054
|
-
t(l).visible.length === 0 ? (A(), k("span",
|
|
13058
|
+
m("div", dr, [
|
|
13059
|
+
t(l).visible.length === 0 ? (A(), k("span", mr, $(d.$l("No Columns")), 1)) : J("", !0),
|
|
13055
13060
|
R(z, { height: t(F) }, {
|
|
13056
13061
|
default: j(() => [
|
|
13057
13062
|
R(t(Je), {
|
|
@@ -13062,26 +13067,26 @@ const $n = ia({
|
|
|
13062
13067
|
"ghost-class": "ghost"
|
|
13063
13068
|
}, {
|
|
13064
13069
|
item: j(({ element: b, index: T }) => [
|
|
13065
|
-
m("div",
|
|
13066
|
-
m("div",
|
|
13070
|
+
m("div", br, [
|
|
13071
|
+
m("div", vr, [
|
|
13067
13072
|
C[3] || (C[3] = m("i", { class: "imicon im-handle cursor-grab" }, null, -1)),
|
|
13068
13073
|
m("span", null, $(d.$l(b.label)), 1)
|
|
13069
13074
|
]),
|
|
13070
|
-
m("div",
|
|
13075
|
+
m("div", pr, [
|
|
13071
13076
|
m("div", {
|
|
13072
13077
|
class: "tipbtn left",
|
|
13073
13078
|
txt: d.$l("Fixed"),
|
|
13074
13079
|
onClick: (D) => v(b, T)
|
|
13075
13080
|
}, [...C[4] || (C[4] = [
|
|
13076
13081
|
m("i", { class: "imicon im-download1 fs14 rotateZ180" }, null, -1)
|
|
13077
|
-
])], 8,
|
|
13082
|
+
])], 8, fr),
|
|
13078
13083
|
m("div", {
|
|
13079
13084
|
class: "tipbtn red left",
|
|
13080
13085
|
txt: d.$l("Hide"),
|
|
13081
13086
|
onClick: (D) => c(b, T)
|
|
13082
13087
|
}, [...C[5] || (C[5] = [
|
|
13083
13088
|
m("i", { class: "imicon im-close fs14" }, null, -1)
|
|
13084
|
-
])], 8,
|
|
13089
|
+
])], 8, hr)
|
|
13085
13090
|
])
|
|
13086
13091
|
])
|
|
13087
13092
|
]),
|
|
@@ -13100,10 +13105,10 @@ const $n = ia({
|
|
|
13100
13105
|
}, 8, ["loading"]);
|
|
13101
13106
|
};
|
|
13102
13107
|
}
|
|
13103
|
-
}),
|
|
13108
|
+
}), gr = /* @__PURE__ */ ne(_r, [["__scopeId", "data-v-1927ce52"]]), yr = { class: "p16 border-b" }, Ar = { class: "flexMode vc g8" }, zr = {
|
|
13104
13109
|
key: 0,
|
|
13105
13110
|
class: "flexMode vc g8"
|
|
13106
|
-
},
|
|
13111
|
+
}, wr = { class: "flexMode g16 hr vc" }, Sr = { class: "TheEnd p16" }, Tr = { class: "sticky flexMode vc hb p4-8 mt16 mb8 fs14 txt-dark9 z9 backdrop border-l4-primary bg-gray3 radius4" }, Cr = { class: "fw700" }, Mr = { class: "flexMode vc g8" }, kr = /* @__PURE__ */ Object.assign({
|
|
13107
13112
|
name: "MvcTableColumnDownload",
|
|
13108
13113
|
inheritAttrs: !1
|
|
13109
13114
|
}, {
|
|
@@ -13123,8 +13128,8 @@ const $n = ia({
|
|
|
13123
13128
|
}
|
|
13124
13129
|
},
|
|
13125
13130
|
emits: ["mounted"],
|
|
13126
|
-
setup(
|
|
13127
|
-
const
|
|
13131
|
+
setup(e, { emit: o }) {
|
|
13132
|
+
const a = e, l = X({
|
|
13128
13133
|
loading: !1,
|
|
13129
13134
|
columns: [],
|
|
13130
13135
|
checked: [],
|
|
@@ -13138,10 +13143,10 @@ const $n = ia({
|
|
|
13138
13143
|
const n = o, r = () => {
|
|
13139
13144
|
n("mounted"), s(), g();
|
|
13140
13145
|
}, s = () => {
|
|
13141
|
-
const f = JSON.parse(localStorage.getItem(`${
|
|
13146
|
+
const f = JSON.parse(localStorage.getItem(`${a.tableName}_Column`)), d = ["selection", "operation"];
|
|
13142
13147
|
l.columns = f.filter((C) => !d.includes(C.type) && C.label);
|
|
13143
13148
|
}, g = () => {
|
|
13144
|
-
|
|
13149
|
+
a.selection.length && (l.onlySelection = !0);
|
|
13145
13150
|
}, v = (f, d) => {
|
|
13146
13151
|
f ? d.children.forEach((C) => {
|
|
13147
13152
|
C.visible = !0;
|
|
@@ -13155,12 +13160,12 @@ const $n = ia({
|
|
|
13155
13160
|
try {
|
|
13156
13161
|
const f = y("download");
|
|
13157
13162
|
let d = l.fileName || S.value;
|
|
13158
|
-
d && !d.toLowerCase().endsWith(".csv") && (d = `${d}.csv`), await
|
|
13163
|
+
d && !d.toLowerCase().endsWith(".csv") && (d = `${d}.csv`), await Ua({ content: f, filename: d, bom: !0 });
|
|
13159
13164
|
} finally {
|
|
13160
13165
|
l.loading = !1;
|
|
13161
13166
|
}
|
|
13162
13167
|
}, y = (f) => {
|
|
13163
|
-
const d = l.onlySelection ?
|
|
13168
|
+
const d = l.onlySelection ? a.selection : a.list, C = {}, z = [];
|
|
13164
13169
|
l.columns.filter((E) => E.visible).forEach((E) => {
|
|
13165
13170
|
z.push(window.$l(E.label)), C[E.prop] = !0;
|
|
13166
13171
|
});
|
|
@@ -13185,7 +13190,7 @@ const $n = ia({
|
|
|
13185
13190
|
`)}`;
|
|
13186
13191
|
}, S = p(() => {
|
|
13187
13192
|
const f = window.$d().format("YYYYMMDDHHmmss");
|
|
13188
|
-
return `${
|
|
13193
|
+
return `${a.tableName}_${f}`;
|
|
13189
13194
|
}), h = p(() => {
|
|
13190
13195
|
const f = {};
|
|
13191
13196
|
return l.columns.forEach((d) => {
|
|
@@ -13236,23 +13241,23 @@ const $n = ia({
|
|
|
13236
13241
|
]),
|
|
13237
13242
|
submit: j(() => [...d[6] || (d[6] = [])]),
|
|
13238
13243
|
default: j(() => [
|
|
13239
|
-
m("div",
|
|
13244
|
+
m("div", yr, [
|
|
13240
13245
|
R(_, null, {
|
|
13241
13246
|
default: j(() => [
|
|
13242
|
-
m("div",
|
|
13247
|
+
m("div", Ar, [
|
|
13243
13248
|
m("span", null, $(f.$l("Total")), 1),
|
|
13244
|
-
m("span", null, $(
|
|
13249
|
+
m("span", null, $(a.list.length), 1)
|
|
13245
13250
|
]),
|
|
13246
|
-
|
|
13251
|
+
a.selection.length ? (A(), k("div", zr, [
|
|
13247
13252
|
m("span", null, $(f.$l("Selection")), 1),
|
|
13248
|
-
m("span", null, $(
|
|
13253
|
+
m("span", null, $(a.selection.length), 1),
|
|
13249
13254
|
R(C, {
|
|
13250
13255
|
modelValue: t(l).onlySelection,
|
|
13251
13256
|
"onUpdate:modelValue": d[0] || (d[0] = (w) => t(l).onlySelection = w),
|
|
13252
13257
|
label: f.$l("Only Selection")
|
|
13253
13258
|
}, null, 8, ["modelValue", "label"])
|
|
13254
13259
|
])) : J("", !0),
|
|
13255
|
-
m("div",
|
|
13260
|
+
m("div", wr, [
|
|
13256
13261
|
R(z, { onClick: u }, {
|
|
13257
13262
|
icon: j(() => [...d[4] || (d[4] = [
|
|
13258
13263
|
m("i", { class: "imicon im-copy" }, null, -1)
|
|
@@ -13272,12 +13277,12 @@ const $n = ia({
|
|
|
13272
13277
|
_: 1
|
|
13273
13278
|
})
|
|
13274
13279
|
]),
|
|
13275
|
-
m("div",
|
|
13280
|
+
m("div", Sr, [
|
|
13276
13281
|
(A(!0), k(re, null, ce(t(h), (w) => (A(), k("div", {
|
|
13277
13282
|
key: w.type
|
|
13278
13283
|
}, [
|
|
13279
|
-
m("div",
|
|
13280
|
-
m("span",
|
|
13284
|
+
m("div", Tr, [
|
|
13285
|
+
m("span", Cr, $(w.label), 1),
|
|
13281
13286
|
R(C, {
|
|
13282
13287
|
modelValue: w.checkstatus,
|
|
13283
13288
|
"onUpdate:modelValue": (E) => w.checkstatus = E,
|
|
@@ -13297,7 +13302,7 @@ const $n = ia({
|
|
|
13297
13302
|
default: j(() => {
|
|
13298
13303
|
var I;
|
|
13299
13304
|
return [
|
|
13300
|
-
m("div",
|
|
13305
|
+
m("div", Mr, [
|
|
13301
13306
|
m("span", null, $(E.label), 1),
|
|
13302
13307
|
(I = E.prop) != null && I.includes("country") ? (A(), le(b, {
|
|
13303
13308
|
key: 0,
|
|
@@ -13320,13 +13325,13 @@ const $n = ia({
|
|
|
13320
13325
|
}, 16);
|
|
13321
13326
|
};
|
|
13322
13327
|
}
|
|
13323
|
-
}),
|
|
13328
|
+
}), Er = { class: "MvcTable" }, Or = {
|
|
13324
13329
|
key: 0,
|
|
13325
13330
|
class: "flexMode vc"
|
|
13326
|
-
},
|
|
13331
|
+
}, Pr = { class: "tableArea relative radius ctx-auto" }, xr = {
|
|
13327
13332
|
key: 1,
|
|
13328
13333
|
class: "flexMode vc h56 p16 xscroll nobar fadeout"
|
|
13329
|
-
},
|
|
13334
|
+
}, Lr = /* @__PURE__ */ Object.assign({
|
|
13330
13335
|
name: "MvcTable",
|
|
13331
13336
|
inheritAttrs: !1
|
|
13332
13337
|
}, {
|
|
@@ -13411,8 +13416,8 @@ const $n = ia({
|
|
|
13411
13416
|
}
|
|
13412
13417
|
},
|
|
13413
13418
|
emits: ["selection-change", "refresh"],
|
|
13414
|
-
setup(
|
|
13415
|
-
const l =
|
|
13419
|
+
setup(e, { expose: o, emit: a }) {
|
|
13420
|
+
const l = e, n = X({
|
|
13416
13421
|
loading: !0,
|
|
13417
13422
|
selection: []
|
|
13418
13423
|
}), r = X({
|
|
@@ -13431,20 +13436,20 @@ const $n = ia({
|
|
|
13431
13436
|
{
|
|
13432
13437
|
title: "Table Column Customization",
|
|
13433
13438
|
size: 1024,
|
|
13434
|
-
cpt: Te(
|
|
13439
|
+
cpt: Te(gr)
|
|
13435
13440
|
},
|
|
13436
13441
|
{
|
|
13437
13442
|
title: "Download from Current Table",
|
|
13438
|
-
cpt: Te(
|
|
13443
|
+
cpt: Te(kr)
|
|
13439
13444
|
}
|
|
13440
13445
|
]
|
|
13441
13446
|
}), g = ee(null), { proxy: v } = pe();
|
|
13442
|
-
|
|
13447
|
+
Va(() => {
|
|
13443
13448
|
c();
|
|
13444
13449
|
}), se(() => {
|
|
13445
13450
|
y();
|
|
13446
13451
|
});
|
|
13447
|
-
const u =
|
|
13452
|
+
const u = a, c = () => {
|
|
13448
13453
|
n.loading = l.defaultLoading, l.pageSize && (r.pageSize = l.pageSize);
|
|
13449
13454
|
}, y = () => {
|
|
13450
13455
|
w(), l.defer === !1 && h();
|
|
@@ -13476,7 +13481,7 @@ const $n = ia({
|
|
|
13476
13481
|
const M = K(l.summaryMetric, i);
|
|
13477
13482
|
return M !== void 0 ? M : K((Z = (Y = globalThis.$config) == null ? void 0 : Y.table) == null ? void 0 : Z.summaryMetric, i);
|
|
13478
13483
|
};
|
|
13479
|
-
return
|
|
13484
|
+
return Ha(L, r.summary, { resolveMetric: ae });
|
|
13480
13485
|
}
|
|
13481
13486
|
return [];
|
|
13482
13487
|
}, f = () => {
|
|
@@ -13535,7 +13540,7 @@ const $n = ia({
|
|
|
13535
13540
|
editRow: V
|
|
13536
13541
|
}), (L, K) => {
|
|
13537
13542
|
const ae = G("el-button"), i = G("Loading"), M = G("el-table"), Y = G("el-pagination"), Z = G("Drawer");
|
|
13538
|
-
return A(), k("div",
|
|
13543
|
+
return A(), k("div", Er, [
|
|
13539
13544
|
l.noheader === !1 ? (A(), k("div", {
|
|
13540
13545
|
key: 0,
|
|
13541
13546
|
class: H(["flexMode hb g12 p16 bg-white", l.autoHeader ? "minh64" : "h64"])
|
|
@@ -13545,7 +13550,7 @@ const $n = ia({
|
|
|
13545
13550
|
}, [
|
|
13546
13551
|
q(L.$slots, "header", {}, void 0, !0)
|
|
13547
13552
|
], 2),
|
|
13548
|
-
t(B) ? (A(), k("div",
|
|
13553
|
+
t(B) ? (A(), k("div", Or, [
|
|
13549
13554
|
t(B).refresh ? (A(), le(ae, {
|
|
13550
13555
|
key: 0,
|
|
13551
13556
|
onClick: _
|
|
@@ -13584,7 +13589,7 @@ const $n = ia({
|
|
|
13584
13589
|
})) : J("", !0)
|
|
13585
13590
|
])) : J("", !0)
|
|
13586
13591
|
], 2)) : J("", !0),
|
|
13587
|
-
m("div",
|
|
13592
|
+
m("div", Pr, [
|
|
13588
13593
|
R(i, {
|
|
13589
13594
|
loading: t(n).loading
|
|
13590
13595
|
}, null, 8, ["loading"]),
|
|
@@ -13604,7 +13609,7 @@ const $n = ia({
|
|
|
13604
13609
|
onSelectionChange: z
|
|
13605
13610
|
}, {
|
|
13606
13611
|
default: j(() => [
|
|
13607
|
-
R(t(
|
|
13612
|
+
R(t(Ft), oe({
|
|
13608
13613
|
"table-name": l.tableName,
|
|
13609
13614
|
column: t(B) ? t(B).column : !1
|
|
13610
13615
|
}, L.$attrs), {
|
|
@@ -13617,7 +13622,7 @@ const $n = ia({
|
|
|
13617
13622
|
_: 3
|
|
13618
13623
|
}, 8, ["height", "data", "default-expand-all", "row-key", "show-summary"]))
|
|
13619
13624
|
]),
|
|
13620
|
-
l.nofooter === !1 ? (A(), k("div",
|
|
13625
|
+
l.nofooter === !1 ? (A(), k("div", xr, [
|
|
13621
13626
|
R(Y, {
|
|
13622
13627
|
"current-page": t(r).page,
|
|
13623
13628
|
"onUpdate:currentPage": K[0] || (K[0] = (U) => t(r).page = U),
|
|
@@ -13644,10 +13649,10 @@ const $n = ia({
|
|
|
13644
13649
|
]);
|
|
13645
13650
|
};
|
|
13646
13651
|
}
|
|
13647
|
-
}),
|
|
13652
|
+
}), Nr = /* @__PURE__ */ ne(Lr, [["__scopeId", "data-v-f79bf58d"]]), Ir = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
13648
13653
|
__proto__: null,
|
|
13649
|
-
default:
|
|
13650
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
13654
|
+
default: Nr
|
|
13655
|
+
}, Symbol.toStringTag, { value: "Module" })), $r = { class: "minh480 pt16" }, Br = /* @__PURE__ */ Object.assign({
|
|
13651
13656
|
name: "MvcTabs",
|
|
13652
13657
|
inheritAttrs: !1
|
|
13653
13658
|
}, {
|
|
@@ -13693,47 +13698,47 @@ const $n = ia({
|
|
|
13693
13698
|
}
|
|
13694
13699
|
},
|
|
13695
13700
|
emits: ["update:modelValue", "change"],
|
|
13696
|
-
setup(
|
|
13697
|
-
const
|
|
13701
|
+
setup(e, { emit: o }) {
|
|
13702
|
+
const a = e, l = o, n = fe(), r = (c) => c == null ? c : ["Object", "Array"].includes(globalThis.$getType(c)) ? c[a.valueKey] : c, s = (c) => {
|
|
13698
13703
|
l("update:modelValue", c);
|
|
13699
|
-
const y =
|
|
13704
|
+
const y = a.options.find((S) => r(S) === c);
|
|
13700
13705
|
l("change", c, y);
|
|
13701
13706
|
}, g = p(
|
|
13702
|
-
() =>
|
|
13707
|
+
() => a.options.find((c) => r(c) === a.modelValue)
|
|
13703
13708
|
), v = p(() => {
|
|
13704
13709
|
const c = g.value;
|
|
13705
13710
|
if (!(!c || !["Object", "Array"].includes(globalThis.$getType(c))))
|
|
13706
|
-
return c[
|
|
13711
|
+
return c[a.componentKey];
|
|
13707
13712
|
}), u = p(() => {
|
|
13708
13713
|
const c = g.value;
|
|
13709
|
-
return !c || !["Object", "Array"].includes(globalThis.$getType(c)) ? {} : c[
|
|
13714
|
+
return !c || !["Object", "Array"].includes(globalThis.$getType(c)) ? {} : c[a.panePropsKey] ?? {};
|
|
13710
13715
|
});
|
|
13711
13716
|
return (c, y) => {
|
|
13712
13717
|
const S = G("BtnGroup");
|
|
13713
13718
|
return A(), k("div", oe({ class: "MvcTabs" }, t(n)), [
|
|
13714
13719
|
R(S, {
|
|
13715
|
-
"model-value":
|
|
13716
|
-
options:
|
|
13717
|
-
"value-key":
|
|
13718
|
-
"label-key":
|
|
13719
|
-
"icon-key":
|
|
13720
|
-
"icon-class":
|
|
13721
|
-
disabled:
|
|
13720
|
+
"model-value": a.modelValue,
|
|
13721
|
+
options: a.options,
|
|
13722
|
+
"value-key": a.valueKey,
|
|
13723
|
+
"label-key": a.labelKey,
|
|
13724
|
+
"icon-key": a.iconKey,
|
|
13725
|
+
"icon-class": a.iconClass,
|
|
13726
|
+
disabled: a.disabled,
|
|
13722
13727
|
"onUpdate:modelValue": s
|
|
13723
13728
|
}, null, 8, ["model-value", "options", "value-key", "label-key", "icon-key", "icon-class", "disabled"]),
|
|
13724
|
-
m("div",
|
|
13725
|
-
t(v) ? (A(), le(
|
|
13729
|
+
m("div", $r, [
|
|
13730
|
+
t(v) ? (A(), le(ia(t(v)), he(oe({ key: 0 }, t(u))), null, 16)) : J("", !0)
|
|
13726
13731
|
])
|
|
13727
13732
|
], 16);
|
|
13728
13733
|
};
|
|
13729
13734
|
}
|
|
13730
|
-
}),
|
|
13735
|
+
}), jr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
13731
13736
|
__proto__: null,
|
|
13732
|
-
default:
|
|
13733
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
13737
|
+
default: Br
|
|
13738
|
+
}, Symbol.toStringTag, { value: "Module" })), Dr = {
|
|
13734
13739
|
key: 0,
|
|
13735
13740
|
class: "MvcFieldLabel"
|
|
13736
|
-
},
|
|
13741
|
+
}, Rr = /* @__PURE__ */ Object.assign({
|
|
13737
13742
|
name: "MvcTextarea",
|
|
13738
13743
|
inheritAttrs: !1
|
|
13739
13744
|
}, {
|
|
@@ -13762,12 +13767,12 @@ const $n = ia({
|
|
|
13762
13767
|
output: {
|
|
13763
13768
|
type: String,
|
|
13764
13769
|
default: "string",
|
|
13765
|
-
validator: (
|
|
13770
|
+
validator: (e) => ["string", "array"].includes(e)
|
|
13766
13771
|
},
|
|
13767
13772
|
resize: {
|
|
13768
13773
|
type: String,
|
|
13769
13774
|
default: "vertical",
|
|
13770
|
-
validator: (
|
|
13775
|
+
validator: (e) => ["none", "vertical"].includes(e)
|
|
13771
13776
|
}
|
|
13772
13777
|
},
|
|
13773
13778
|
emits: [
|
|
@@ -13777,8 +13782,8 @@ const $n = ia({
|
|
|
13777
13782
|
"blur",
|
|
13778
13783
|
"focus"
|
|
13779
13784
|
],
|
|
13780
|
-
setup(
|
|
13781
|
-
const
|
|
13785
|
+
setup(e, { emit: o }) {
|
|
13786
|
+
const a = e, l = fe(), n = ee(null);
|
|
13782
13787
|
let r = null;
|
|
13783
13788
|
const s = X({
|
|
13784
13789
|
val: "",
|
|
@@ -13805,32 +13810,32 @@ const $n = ia({
|
|
|
13805
13810
|
s.focused = !1, g("blur", O);
|
|
13806
13811
|
}, F = (O) => {
|
|
13807
13812
|
const I = String(O ?? "").split(/\r?\n/);
|
|
13808
|
-
return
|
|
13813
|
+
return a.output === "array" ? I : I.join(",");
|
|
13809
13814
|
}, f = (O) => Array.isArray(O) ? O.join(`
|
|
13810
13815
|
`) : String(O ?? "").replace(/,/g, `
|
|
13811
13816
|
`), d = (O) => {
|
|
13812
13817
|
const I = F(O);
|
|
13813
13818
|
g("update:modelValue", I), g("input", I);
|
|
13814
13819
|
}, C = p(() => {
|
|
13815
|
-
if (!
|
|
13816
|
-
const O = typeof
|
|
13820
|
+
if (!a.height) return v.$attrs["input-style"];
|
|
13821
|
+
const O = typeof a.height == "number" ? `${a.height}px` : a.height;
|
|
13817
13822
|
return { ...v.$attrs["input-style"] && typeof v.$attrs["input-style"] == "object" ? { ...v.$attrs["input-style"] } : {}, height: O, minHeight: O };
|
|
13818
13823
|
}), z = p(() => !!(v.$attrs.maxlength || _.value)), _ = p(() => v.$attrs.max), b = p(() => String(s.val ?? "").length > 0), T = p(() => !!l.placeholder), D = p(
|
|
13819
|
-
() =>
|
|
13824
|
+
() => a.materialLabel && (s.focused || b.value || T.value)
|
|
13820
13825
|
), w = p(() => ({
|
|
13821
13826
|
[l.class]: !!l.class,
|
|
13822
|
-
hasLabel: !!
|
|
13823
|
-
isMaterialLabel: !!(
|
|
13824
|
-
isTopLabel: !!(
|
|
13827
|
+
hasLabel: !!a.label,
|
|
13828
|
+
isMaterialLabel: !!(a.label && a.materialLabel),
|
|
13829
|
+
isTopLabel: !!(a.label && !a.materialLabel),
|
|
13825
13830
|
isFloat: D.value,
|
|
13826
13831
|
isFocused: s.focused,
|
|
13827
13832
|
isDisabled: !!l.disabled,
|
|
13828
13833
|
isTextarea: !0
|
|
13829
13834
|
})), E = p(
|
|
13830
|
-
() =>
|
|
13835
|
+
() => a.materialLabel ? { "--mv-field-surface": "var(--mvframe-input-surface, var(--el-bg-color, #ffffff))" } : void 0
|
|
13831
13836
|
);
|
|
13832
13837
|
return te(
|
|
13833
|
-
() =>
|
|
13838
|
+
() => a.modelValue,
|
|
13834
13839
|
(O) => {
|
|
13835
13840
|
const I = f(O);
|
|
13836
13841
|
s.val !== I && (s.val = I);
|
|
@@ -13844,19 +13849,19 @@ const $n = ia({
|
|
|
13844
13849
|
class: H(["MvcField MvcFieldTextarea", t(w)]),
|
|
13845
13850
|
style: de(t(E))
|
|
13846
13851
|
}, [
|
|
13847
|
-
|
|
13852
|
+
a.label ? (A(), k("label", Dr, $(a.label), 1)) : J("", !0),
|
|
13848
13853
|
R(V, oe({
|
|
13849
13854
|
ref_key: "inputRef",
|
|
13850
13855
|
ref: n,
|
|
13851
13856
|
type: "textarea",
|
|
13852
13857
|
modelValue: t(s).val,
|
|
13853
13858
|
"onUpdate:modelValue": I[0] || (I[0] = (P) => t(s).val = P),
|
|
13854
|
-
rows:
|
|
13859
|
+
rows: a.rows,
|
|
13855
13860
|
style: t(u).style,
|
|
13856
13861
|
"input-style": t(C),
|
|
13857
13862
|
"show-word-limit": t(z),
|
|
13858
13863
|
maxlength: t(_),
|
|
13859
|
-
resize:
|
|
13864
|
+
resize: a.resize,
|
|
13860
13865
|
class: "MvcTextarea"
|
|
13861
13866
|
}, t(u), {
|
|
13862
13867
|
onInput: S,
|
|
@@ -13866,61 +13871,61 @@ const $n = ia({
|
|
|
13866
13871
|
], 6);
|
|
13867
13872
|
};
|
|
13868
13873
|
}
|
|
13869
|
-
}),
|
|
13874
|
+
}), Fr = /* @__PURE__ */ ne(Rr, [["__scopeId", "data-v-90814c5c"]]), Vr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
13870
13875
|
__proto__: null,
|
|
13871
|
-
default:
|
|
13872
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
13873
|
-
"../component/BtnGroup/index.vue":
|
|
13874
|
-
"../component/Card/index.vue":
|
|
13875
|
-
"../component/Drawer/index.vue":
|
|
13876
|
-
"../component/DrawerArea/index.vue":
|
|
13877
|
-
"../component/Form/index.vue":
|
|
13878
|
-
"../component/Frame/index.vue":
|
|
13879
|
-
"../component/Icon/index.vue":
|
|
13880
|
-
"../component/Input/index.vue":
|
|
13881
|
-
"../component/InputNumber/index.vue":
|
|
13882
|
-
"../component/Lang/index.vue":
|
|
13883
|
-
"../component/List/index.vue":
|
|
13884
|
-
"../component/Loading/index.vue":
|
|
13885
|
-
"../component/Login/index.vue":
|
|
13886
|
-
"../component/Mention/index.vue":
|
|
13887
|
-
"../component/Note/index.vue":
|
|
13888
|
-
"../component/Page/index.vue":
|
|
13889
|
-
"../component/Select/index.vue":
|
|
13890
|
-
"../component/SelectV2/index.vue":
|
|
13891
|
-
"../component/Table/index.vue":
|
|
13892
|
-
"../component/Tabs/index.vue":
|
|
13893
|
-
"../component/Textarea/index.vue":
|
|
13894
|
-
}),
|
|
13876
|
+
default: Fr
|
|
13877
|
+
}, Symbol.toStringTag, { value: "Module" })), na = /* @__PURE__ */ Object.assign({
|
|
13878
|
+
"../component/BtnGroup/index.vue": gn,
|
|
13879
|
+
"../component/Card/index.vue": wn,
|
|
13880
|
+
"../component/Drawer/index.vue": En,
|
|
13881
|
+
"../component/DrawerArea/index.vue": In,
|
|
13882
|
+
"../component/Form/index.vue": Rn,
|
|
13883
|
+
"../component/Frame/index.vue": So,
|
|
13884
|
+
"../component/Icon/index.vue": Mo,
|
|
13885
|
+
"../component/Input/index.vue": Oo,
|
|
13886
|
+
"../component/InputNumber/index.vue": Lo,
|
|
13887
|
+
"../component/Lang/index.vue": Ro,
|
|
13888
|
+
"../component/List/index.vue": Uo,
|
|
13889
|
+
"../component/Loading/index.vue": Yo,
|
|
13890
|
+
"../component/Login/index.vue": ct,
|
|
13891
|
+
"../component/Mention/index.vue": bt,
|
|
13892
|
+
"../component/Note/index.vue": ft,
|
|
13893
|
+
"../component/Page/index.vue": St,
|
|
13894
|
+
"../component/Select/index.vue": xt,
|
|
13895
|
+
"../component/SelectV2/index.vue": Rt,
|
|
13896
|
+
"../component/Table/index.vue": Ir,
|
|
13897
|
+
"../component/Tabs/index.vue": jr,
|
|
13898
|
+
"../component/Textarea/index.vue": Vr
|
|
13899
|
+
}), Gr = {
|
|
13895
13900
|
VTable: () => import("./vtable.js")
|
|
13896
|
-
},
|
|
13897
|
-
function
|
|
13898
|
-
return
|
|
13901
|
+
}, Kr = ["VTable"];
|
|
13902
|
+
function Ur(e) {
|
|
13903
|
+
return e.match(/\.\.\/component\/(.*)\/index.vue/)[1];
|
|
13899
13904
|
}
|
|
13900
|
-
function
|
|
13901
|
-
const o =
|
|
13905
|
+
function Hr(e = {}) {
|
|
13906
|
+
const o = e == null ? void 0 : e.async, a = new Set(Kr);
|
|
13902
13907
|
if (Array.isArray(o))
|
|
13903
13908
|
for (const l of o)
|
|
13904
|
-
|
|
13909
|
+
a.add(l);
|
|
13905
13910
|
else if (o && typeof o == "object")
|
|
13906
13911
|
for (const [l, n] of Object.entries(o))
|
|
13907
|
-
n ?
|
|
13908
|
-
return
|
|
13912
|
+
n ? a.add(l) : a.delete(l);
|
|
13913
|
+
return a;
|
|
13909
13914
|
}
|
|
13910
|
-
const
|
|
13911
|
-
const
|
|
13912
|
-
for (let l in
|
|
13913
|
-
let n =
|
|
13914
|
-
|
|
13915
|
+
const Jr = (e, o = {}) => {
|
|
13916
|
+
const a = Hr(o);
|
|
13917
|
+
for (let l in na) {
|
|
13918
|
+
let n = Ur(l);
|
|
13919
|
+
e.component(n, na[l].default);
|
|
13915
13920
|
}
|
|
13916
|
-
for (const l of
|
|
13917
|
-
const n =
|
|
13918
|
-
n &&
|
|
13921
|
+
for (const l of a) {
|
|
13922
|
+
const n = Gr[l];
|
|
13923
|
+
n && e.component(l, ua(n));
|
|
13919
13924
|
}
|
|
13920
|
-
},
|
|
13925
|
+
}, Zr = {
|
|
13921
13926
|
name: "Matt Avias Frame",
|
|
13922
13927
|
copyright: "©2026",
|
|
13923
|
-
version: "1.1.
|
|
13928
|
+
version: "1.1.19",
|
|
13924
13929
|
author: "Matt Avias",
|
|
13925
13930
|
date: "2026-02-26",
|
|
13926
13931
|
/** 默认语言 key,与 `$getLang`、localStorage `lang` 一致;业务在 app.use(mvframe, { config }) 里覆盖 */
|
|
@@ -13943,36 +13948,36 @@ const Hr = (a, o = {}) => {
|
|
|
13943
13948
|
loginPageName: "Entry",
|
|
13944
13949
|
// Login为保留名称
|
|
13945
13950
|
firstPageName: "Overview_Home"
|
|
13946
|
-
},
|
|
13951
|
+
}, Yr = {
|
|
13947
13952
|
url: "//at.alicdn.com/t/c/font_4830641_s8ulvguq839.js",
|
|
13948
13953
|
prefix: "ant"
|
|
13949
|
-
},
|
|
13954
|
+
}, Wr = (e, o = {}) => {
|
|
13950
13955
|
globalThis.$config = {
|
|
13951
|
-
...
|
|
13952
|
-
iconfont:
|
|
13956
|
+
...Zr,
|
|
13957
|
+
iconfont: Yr,
|
|
13953
13958
|
...o
|
|
13954
13959
|
};
|
|
13955
|
-
},
|
|
13956
|
-
|
|
13960
|
+
}, bs = (e, o = {}) => {
|
|
13961
|
+
e.use(Wr, o.config).use(un, o.maps).use(Ja, o).use(Jr, o.components).use(Ia).use(Ya, o.notify).use($a).use(Ba, o.pinia).use(pn, o.vueRouter).use(Za, o.lang);
|
|
13957
13962
|
};
|
|
13958
13963
|
export {
|
|
13959
|
-
|
|
13960
|
-
|
|
13964
|
+
kn as D,
|
|
13965
|
+
nl as M,
|
|
13961
13966
|
ne as _,
|
|
13962
|
-
|
|
13963
|
-
|
|
13967
|
+
is as a,
|
|
13968
|
+
sn as b,
|
|
13964
13969
|
Fe as c,
|
|
13965
|
-
|
|
13966
|
-
|
|
13967
|
-
|
|
13968
|
-
|
|
13969
|
-
|
|
13970
|
+
ms as d,
|
|
13971
|
+
us as e,
|
|
13972
|
+
ds as f,
|
|
13973
|
+
ss as g,
|
|
13974
|
+
un as h,
|
|
13970
13975
|
ye as i,
|
|
13971
|
-
|
|
13972
|
-
|
|
13976
|
+
rs as j,
|
|
13977
|
+
bs as k,
|
|
13973
13978
|
ge as m,
|
|
13974
|
-
|
|
13975
|
-
|
|
13979
|
+
ll as n,
|
|
13980
|
+
cs as p,
|
|
13976
13981
|
we as s,
|
|
13977
13982
|
Ve as u
|
|
13978
13983
|
};
|