mvframe 1.1.38 → 1.1.39
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 +164 -149
- package/dist/css/cpt.css +1 -1
- package/dist/vendor.js +822 -830
- package/package.json +1 -1
package/dist/vendor.js
CHANGED
|
@@ -2,12 +2,12 @@ import { u as Ia } from "./util.js";
|
|
|
2
2
|
import { d as ja } from "./directive.js";
|
|
3
3
|
import { s as ta, p as ra, a as Ba } from "./store-shared.js";
|
|
4
4
|
import { createRouter as Da, createWebHistory as Ra, useRoute as ia, useRouter as sa } from "vue-router";
|
|
5
|
-
import { computed as f, resolveComponent as K, openBlock as _, createElementBlock as E, mergeProps as te, unref as t, Fragment as oe, renderList as ie, createBlock as le, withCtx as I, createElementVNode as d, normalizeClass as U, createCommentVNode as G, toDisplayString as
|
|
5
|
+
import { computed as f, resolveComponent as K, openBlock as _, createElementBlock as E, mergeProps as te, unref as t, Fragment as oe, renderList as ie, createBlock as le, withCtx as I, createElementVNode as d, normalizeClass as U, createCommentVNode as G, toDisplayString as L, createVNode as B, renderSlot as q, reactive as Q, onUnmounted as ve, watch as re, markRaw as Te, resolveDynamicComponent as ua, nextTick as me, getCurrentInstance as pe, ref as ae, onMounted as se, normalizeStyle as de, defineComponent as ca, cloneVNode as Ke, h as Ue, inject as Ae, withModifiers as _e, createTextVNode as ce, defineAsyncComponent as da, Teleport as Va, Transition as ma, createSlots as be, normalizeProps as he, guardReactiveProps as we, useSlots as xe, useAttrs as fe, withKeys as ba, createStaticVNode as Fa, isRef as va, onBeforeMount as Ga } from "vue";
|
|
6
6
|
/* empty css */
|
|
7
|
-
import { deepEqual as He, isInView as Ka, loadMvframeTheme as Ua, MVFRAME_STORAGE_LANG as Je, download as
|
|
7
|
+
import { deepEqual as He, isInView as Ka, loadMvframeTheme as Ua, initColorfulIcon as Ha, MVFRAME_STORAGE_LANG as Je, download as Ja, useRemoteSummary as Za, useOptions as Ya, useLang as Wa } from "./composition.js";
|
|
8
8
|
import Ze from "vuedraggable";
|
|
9
|
-
import
|
|
10
|
-
const
|
|
9
|
+
import qa from "./notify.js";
|
|
10
|
+
const Xa = {
|
|
11
11
|
"Theme color": "Theme color",
|
|
12
12
|
"Restore default": "Restore default",
|
|
13
13
|
Appearance: "Appearance",
|
|
@@ -24,7 +24,7 @@ const qa = {
|
|
|
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 qa = {
|
|
|
41
41
|
"Frame Config": "框架设置",
|
|
42
42
|
Cancel: "取消",
|
|
43
43
|
Submit: "确定"
|
|
44
|
-
},
|
|
44
|
+
}, el = {
|
|
45
45
|
"Theme color": "主題色",
|
|
46
46
|
"Restore default": "還原預設",
|
|
47
47
|
Appearance: "外觀",
|
|
@@ -58,7 +58,7 @@ const qa = {
|
|
|
58
58
|
"Frame Config": "框架設定",
|
|
59
59
|
Cancel: "取消",
|
|
60
60
|
Submit: "確定"
|
|
61
|
-
},
|
|
61
|
+
}, al = {
|
|
62
62
|
"Theme color": "テーマカラー",
|
|
63
63
|
"Restore default": "既定に戻す",
|
|
64
64
|
Appearance: "外観",
|
|
@@ -75,7 +75,7 @@ const qa = {
|
|
|
75
75
|
"Frame Config": "フレーム設定",
|
|
76
76
|
Cancel: "キャンセル",
|
|
77
77
|
Submit: "確定"
|
|
78
|
-
},
|
|
78
|
+
}, ll = {
|
|
79
79
|
"Theme color": "테마 색",
|
|
80
80
|
"Restore default": "기본값으로 복원",
|
|
81
81
|
Appearance: "모양",
|
|
@@ -92,7 +92,7 @@ const qa = {
|
|
|
92
92
|
"Frame Config": "프레임 설정",
|
|
93
93
|
Cancel: "취소",
|
|
94
94
|
Submit: "확인"
|
|
95
|
-
},
|
|
95
|
+
}, nl = {
|
|
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,48 +110,48 @@ const qa = {
|
|
|
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: Xa,
|
|
114
|
+
zh_cn: Qa,
|
|
115
|
+
zh_tw: el,
|
|
116
|
+
ja_jp: al,
|
|
117
|
+
ko_kr: ll,
|
|
118
|
+
vi_vn: nl
|
|
119
119
|
};
|
|
120
|
-
function
|
|
120
|
+
function ol(a) {
|
|
121
121
|
return String(a || "en_us").toLowerCase().replace(/-/g, "_");
|
|
122
122
|
}
|
|
123
|
-
const
|
|
124
|
-
function
|
|
125
|
-
const o =
|
|
123
|
+
const pi = Ee;
|
|
124
|
+
function fi(a) {
|
|
125
|
+
const o = ol(a);
|
|
126
126
|
return { ...Ee[o] || Ee.en_us };
|
|
127
127
|
}
|
|
128
|
-
const
|
|
128
|
+
const tl = [
|
|
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
|
-
],
|
|
135
|
+
], rl = (a, o) => {
|
|
136
136
|
const e = [];
|
|
137
137
|
for (let l = a; l <= o; l++)
|
|
138
138
|
e.push({ label: l, value: l });
|
|
139
139
|
return Object.freeze(e);
|
|
140
|
-
}, pa =
|
|
140
|
+
}, pa = rl(18, 64), il = Object.freeze([
|
|
141
141
|
{
|
|
142
142
|
label: "All",
|
|
143
143
|
value: "All"
|
|
144
144
|
},
|
|
145
145
|
...pa
|
|
146
|
-
]),
|
|
146
|
+
]), sl = Object.freeze([
|
|
147
147
|
...pa,
|
|
148
148
|
{
|
|
149
149
|
label: "65+",
|
|
150
150
|
value: 65
|
|
151
151
|
}
|
|
152
|
-
]),
|
|
153
|
-
minOptions:
|
|
154
|
-
maxOptions:
|
|
152
|
+
]), ul = Object.freeze({
|
|
153
|
+
minOptions: il,
|
|
154
|
+
maxOptions: sl
|
|
155
155
|
}), fa = Object.freeze([
|
|
156
156
|
{
|
|
157
157
|
label: "Today Tab",
|
|
@@ -177,9 +177,9 @@ const ol = [
|
|
|
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
|
-
]),
|
|
180
|
+
]), cl = fa.reduce((a, o) => (a[o.value] = o, a), /* @__PURE__ */ Object.create(null)), dl = Object.freeze({
|
|
181
181
|
arr: fa,
|
|
182
|
-
obj:
|
|
182
|
+
obj: cl
|
|
183
183
|
}), Pe = Object.freeze([
|
|
184
184
|
{
|
|
185
185
|
label: "All Categories",
|
|
@@ -365,30 +365,30 @@ const ol = [
|
|
|
365
365
|
label: "Game Word",
|
|
366
366
|
value: 7019
|
|
367
367
|
}
|
|
368
|
-
]),
|
|
368
|
+
]), ml = Object.freeze(
|
|
369
369
|
Pe.reduce((a, o) => (a[o.value] = o, a), {})
|
|
370
370
|
), ha = [], _a = [];
|
|
371
371
|
Pe.forEach((a) => {
|
|
372
372
|
a.label.includes("Game") ? a.label !== "Games" && _a.push(a) : a.value && ha.push(a);
|
|
373
373
|
});
|
|
374
|
-
const
|
|
374
|
+
const bl = Object.freeze({
|
|
375
375
|
label: "App",
|
|
376
376
|
value: 5e3,
|
|
377
377
|
children: Object.freeze([...ha])
|
|
378
|
-
}),
|
|
378
|
+
}), vl = Object.freeze({
|
|
379
379
|
label: "Game",
|
|
380
380
|
value: 6014
|
|
381
|
-
}),
|
|
381
|
+
}), pl = Object.freeze({
|
|
382
382
|
label: "Game",
|
|
383
383
|
value: 6014,
|
|
384
|
-
children: Object.freeze([
|
|
385
|
-
}),
|
|
384
|
+
children: Object.freeze([vl, ..._a])
|
|
385
|
+
}), fl = Object.freeze({
|
|
386
386
|
label: "All Categories",
|
|
387
387
|
value: 0
|
|
388
|
-
}),
|
|
388
|
+
}), hl = Object.freeze([fl, bl, pl]), _l = Object.freeze({
|
|
389
389
|
arr: Pe,
|
|
390
|
-
obj:
|
|
391
|
-
tree:
|
|
390
|
+
obj: ml,
|
|
391
|
+
tree: hl
|
|
392
392
|
}), ga = Object.freeze([
|
|
393
393
|
{
|
|
394
394
|
label: "All categories",
|
|
@@ -402,9 +402,9 @@ const ml = Object.freeze({
|
|
|
402
402
|
label: "Other categories",
|
|
403
403
|
value: "Other categories"
|
|
404
404
|
}
|
|
405
|
-
]),
|
|
405
|
+
]), gl = ga.reduce((a, o) => (a[o.value] = o, a), /* @__PURE__ */ Object.create(null)), yl = Object.freeze({
|
|
406
406
|
arr: ga,
|
|
407
|
-
obj:
|
|
407
|
+
obj: gl
|
|
408
408
|
}), ya = Object.freeze([
|
|
409
409
|
{
|
|
410
410
|
label: "All Users",
|
|
@@ -424,7 +424,7 @@ const ml = Object.freeze({
|
|
|
424
424
|
label: "Returning Users",
|
|
425
425
|
value: "Returning Users"
|
|
426
426
|
}
|
|
427
|
-
]),
|
|
427
|
+
]), Al = Aa.reduce((a, o) => (a[o.value] = o, a), /* @__PURE__ */ Object.create(null)), wl = Object.freeze({ arr: ya, all: Aa, obj: Al }), wa = Object.freeze([
|
|
428
428
|
{
|
|
429
429
|
label: "iPhone",
|
|
430
430
|
value: "IPHONE",
|
|
@@ -442,10 +442,10 @@ const ml = Object.freeze({
|
|
|
442
442
|
icon: "im-iphone_ipad"
|
|
443
443
|
},
|
|
444
444
|
...wa
|
|
445
|
-
]),
|
|
445
|
+
]), zl = za.reduce((a, o) => (a[o.value] = o, a), /* @__PURE__ */ Object.create(null)), Sl = Object.freeze({
|
|
446
446
|
arr: wa,
|
|
447
447
|
all: za,
|
|
448
|
-
obj:
|
|
448
|
+
obj: zl
|
|
449
449
|
}), Sa = Object.freeze([
|
|
450
450
|
{
|
|
451
451
|
label: "Male",
|
|
@@ -464,7 +464,7 @@ const ml = Object.freeze({
|
|
|
464
464
|
icon: "im-male_female"
|
|
465
465
|
},
|
|
466
466
|
...Sa
|
|
467
|
-
]),
|
|
467
|
+
]), Tl = Ta.reduce((a, o) => (a[o.value] = o, a), /* @__PURE__ */ Object.create(null)), Cl = Object.freeze({ arr: Sa, all: Ta, obj: Tl }), Ml = Object.freeze([
|
|
468
468
|
{
|
|
469
469
|
label: "None",
|
|
470
470
|
value: 0
|
|
@@ -498,9 +498,9 @@ const ml = Object.freeze({
|
|
|
498
498
|
label: "Broad",
|
|
499
499
|
value: "BROAD"
|
|
500
500
|
}
|
|
501
|
-
]),
|
|
501
|
+
]), kl = Ca.reduce((a, o) => (a[o.value] = o, a), /* @__PURE__ */ Object.create(null)), El = Object.freeze({
|
|
502
502
|
arr: Ca,
|
|
503
|
-
obj:
|
|
503
|
+
obj: kl
|
|
504
504
|
}), Ma = Object.freeze([
|
|
505
505
|
{
|
|
506
506
|
label: "Pre-Orders",
|
|
@@ -568,9 +568,9 @@ const ml = Object.freeze({
|
|
|
568
568
|
align: "right",
|
|
569
569
|
formatter: (a) => a.crTotalPreOrders || 0
|
|
570
570
|
}
|
|
571
|
-
]),
|
|
571
|
+
]), Ol = Object.freeze(
|
|
572
572
|
Ma.reduce((a, o) => (a[o.value] = o, a), /* @__PURE__ */ Object.create(null))
|
|
573
|
-
), ka = Object.freeze({ arr: Ma, obj:
|
|
573
|
+
), ka = Object.freeze({ arr: Ma, obj: Ol }), Ea = Object.freeze([
|
|
574
574
|
{
|
|
575
575
|
label: "Spend",
|
|
576
576
|
label_en_us: "Spend",
|
|
@@ -805,9 +805,9 @@ const ml = Object.freeze({
|
|
|
805
805
|
formatter: (a) => a.viewReDownloadsFormat || 0
|
|
806
806
|
},
|
|
807
807
|
...ka.arr
|
|
808
|
-
]),
|
|
808
|
+
]), xl = Object.freeze(
|
|
809
809
|
Ea.reduce((a, o) => (a[o.value] = o, a), /* @__PURE__ */ Object.create(null))
|
|
810
|
-
), Le = Object.freeze({ arr: Ea, obj:
|
|
810
|
+
), Le = Object.freeze({ arr: Ea, obj: xl }), Oa = Object.freeze([
|
|
811
811
|
{
|
|
812
812
|
label: "MMP CPI",
|
|
813
813
|
value: "mmpCPI",
|
|
@@ -1031,9 +1031,9 @@ const ml = Object.freeze({
|
|
|
1031
1031
|
align: "right",
|
|
1032
1032
|
visible: !1
|
|
1033
1033
|
}
|
|
1034
|
-
]),
|
|
1034
|
+
]), Pl = Object.freeze(
|
|
1035
1035
|
Oa.reduce((a, o) => (a[o.value] = o, a), /* @__PURE__ */ Object.create(null))
|
|
1036
|
-
), xa = Object.freeze({ arr: Oa, obj:
|
|
1036
|
+
), xa = Object.freeze({ arr: Oa, obj: Pl }), Ne = Object.freeze([
|
|
1037
1037
|
{
|
|
1038
1038
|
label: "0-10%",
|
|
1039
1039
|
value: 1,
|
|
@@ -1104,10 +1104,10 @@ const ml = Object.freeze({
|
|
|
1104
1104
|
maxValue: 100,
|
|
1105
1105
|
avgValue: 95.5
|
|
1106
1106
|
}
|
|
1107
|
-
]),
|
|
1107
|
+
]), Ll = Ne.reduce((a, o) => (a[o.value] = o, a), /* @__PURE__ */ Object.create(null)), Nl = Ne.reduce((a, o) => (a[o.label] = o, a), /* @__PURE__ */ Object.create(null)), $l = Object.freeze({
|
|
1108
1108
|
arr: Ne,
|
|
1109
|
-
obj: Object.freeze(
|
|
1110
|
-
labelObj: Object.freeze(
|
|
1109
|
+
obj: Object.freeze(Ll),
|
|
1110
|
+
labelObj: Object.freeze(Nl)
|
|
1111
1111
|
}), Pa = Object.freeze([
|
|
1112
1112
|
{
|
|
1113
1113
|
label: "None",
|
|
@@ -1125,30 +1125,30 @@ const ml = Object.freeze({
|
|
|
1125
1125
|
label: "Generic",
|
|
1126
1126
|
value: 3
|
|
1127
1127
|
}
|
|
1128
|
-
]),
|
|
1128
|
+
]), Il = Pa.reduce((a, o) => (a[o.value] = o, a), /* @__PURE__ */ Object.create(null)), jl = Object.freeze({ arr: Pa, obj: Il }), Bl = Le, La = Object.freeze([...Le.arr, ...xa.arr]), Dl = La.reduce((a, o) => (a[o.value] = o, a), /* @__PURE__ */ Object.create(null)), Rl = Object.freeze({
|
|
1129
1129
|
arr: La,
|
|
1130
|
-
obj: Object.freeze(
|
|
1131
|
-
}),
|
|
1132
|
-
age:
|
|
1133
|
-
adplacement:
|
|
1134
|
-
appCategory:
|
|
1135
|
-
category:
|
|
1136
|
-
customerType:
|
|
1137
|
-
device:
|
|
1138
|
-
gender:
|
|
1139
|
-
level:
|
|
1140
|
-
matchType:
|
|
1130
|
+
obj: Object.freeze(Dl)
|
|
1131
|
+
}), Vl = Object.freeze({
|
|
1132
|
+
age: ul,
|
|
1133
|
+
adplacement: dl,
|
|
1134
|
+
appCategory: _l,
|
|
1135
|
+
category: yl,
|
|
1136
|
+
customerType: wl,
|
|
1137
|
+
device: Sl,
|
|
1138
|
+
gender: Cl,
|
|
1139
|
+
level: Ml,
|
|
1140
|
+
matchType: El,
|
|
1141
1141
|
metricAsa: Le,
|
|
1142
1142
|
metricEX: ka,
|
|
1143
1143
|
metricMmp: xa,
|
|
1144
|
-
sov:
|
|
1145
|
-
tag:
|
|
1146
|
-
asaMetric:
|
|
1147
|
-
allMetric:
|
|
1148
|
-
}),
|
|
1144
|
+
sov: $l,
|
|
1145
|
+
tag: jl,
|
|
1146
|
+
asaMetric: Bl,
|
|
1147
|
+
allMetric: Rl
|
|
1148
|
+
}), Fl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1149
1149
|
__proto__: null,
|
|
1150
|
-
default:
|
|
1151
|
-
}, Symbol.toStringTag, { value: "Module" })), $e = -12, Ie = 14,
|
|
1150
|
+
default: Vl
|
|
1151
|
+
}, Symbol.toStringTag, { value: "Module" })), $e = -12, Ie = 14, Gl = 0, Kl = {
|
|
1152
1152
|
"-12": "Pacific/Baker_Island",
|
|
1153
1153
|
"-11": "Pacific/Pago_Pago",
|
|
1154
1154
|
"-10": "Pacific/Honolulu",
|
|
@@ -1177,33 +1177,33 @@ const ml = Object.freeze({
|
|
|
1177
1177
|
13: "Pacific/Tongatapu",
|
|
1178
1178
|
14: "Pacific/Kiritimati"
|
|
1179
1179
|
};
|
|
1180
|
-
function
|
|
1180
|
+
function Ul(a) {
|
|
1181
1181
|
return String(Number(a));
|
|
1182
1182
|
}
|
|
1183
|
-
const
|
|
1183
|
+
const Hl = Object.freeze(
|
|
1184
1184
|
(() => {
|
|
1185
1185
|
const a = [];
|
|
1186
1186
|
for (let o = $e; o <= Ie; o++)
|
|
1187
1187
|
a.push({
|
|
1188
1188
|
value: o,
|
|
1189
|
-
label:
|
|
1189
|
+
label: Kl[String(o)] ?? `Offset/${o}`
|
|
1190
1190
|
});
|
|
1191
1191
|
return a;
|
|
1192
1192
|
})()
|
|
1193
1193
|
);
|
|
1194
|
-
function
|
|
1194
|
+
function Jl(a) {
|
|
1195
1195
|
const o = Number(a);
|
|
1196
1196
|
return Number.isInteger(o) && o >= $e && o <= Ie;
|
|
1197
1197
|
}
|
|
1198
|
-
const
|
|
1198
|
+
const Zl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1199
1199
|
__proto__: null,
|
|
1200
|
-
ADS_MANAGER_TIMEZONE_DEFAULT:
|
|
1200
|
+
ADS_MANAGER_TIMEZONE_DEFAULT: Gl,
|
|
1201
1201
|
ADS_MANAGER_UTC_OFFSET_MAX: Ie,
|
|
1202
1202
|
ADS_MANAGER_UTC_OFFSET_MIN: $e,
|
|
1203
|
-
formatTimezoneOffsetValuePlain:
|
|
1204
|
-
isValidTimezoneOffsetHours:
|
|
1205
|
-
timezone:
|
|
1206
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1203
|
+
formatTimezoneOffsetValuePlain: Ul,
|
|
1204
|
+
isValidTimezoneOffsetHours: Jl,
|
|
1205
|
+
timezone: Hl
|
|
1206
|
+
}, Symbol.toStringTag, { value: "Module" })), Yl = [
|
|
1207
1207
|
"America/Anchorage",
|
|
1208
1208
|
"America/Los_Angeles",
|
|
1209
1209
|
"America/Chicago",
|
|
@@ -1221,8 +1221,8 @@ const Jl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1221
1221
|
"Asia/Jerusalem",
|
|
1222
1222
|
"Pacific/Auckland",
|
|
1223
1223
|
"Pacific/Fiji"
|
|
1224
|
-
],
|
|
1225
|
-
if (
|
|
1224
|
+
], Wl = (a) => {
|
|
1225
|
+
if (Yl.indexOf(a) === -1)
|
|
1226
1226
|
return !1;
|
|
1227
1227
|
{
|
|
1228
1228
|
const o = /* @__PURE__ */ new Date(), e = new Date(o.getFullYear(), 0, 1), l = new Date(o.getFullYear(), 6, 1), n = (v) => {
|
|
@@ -1230,10 +1230,10 @@ const Jl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1230
1230
|
const r = ((N = new Intl.DateTimeFormat("en-US", {
|
|
1231
1231
|
timeZone: a,
|
|
1232
1232
|
timeZoneName: "longOffset"
|
|
1233
|
-
}).formatToParts(v).find((p) => p.type === "timeZoneName").value.match(/[+-]\d{2}(?::\d{2})?/)) == null ? void 0 : N[0]) || "+00:00", [
|
|
1233
|
+
}).formatToParts(v).find((p) => p.type === "timeZoneName").value.match(/[+-]\d{2}(?::\d{2})?/)) == null ? void 0 : N[0]) || "+00:00", [T, S, z, $] = r.match(
|
|
1234
1234
|
/([+-])(\d{2})(?::?(\d{2}))?/
|
|
1235
1235
|
);
|
|
1236
|
-
return (
|
|
1236
|
+
return (S === "+" ? -1 : 1) * (parseInt(z) * 60 + parseInt($ || "00"));
|
|
1237
1237
|
}, i = n(o), u = n(e), y = n(l);
|
|
1238
1238
|
return i < Math.max(u, y);
|
|
1239
1239
|
}
|
|
@@ -4243,19 +4243,19 @@ const Jl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4243
4243
|
zone: 14,
|
|
4244
4244
|
label: "Pacific/Kiritimati"
|
|
4245
4245
|
}
|
|
4246
|
-
].map((a) => (
|
|
4246
|
+
].map((a) => (Wl(a.label) && (a.value += 1, a.zone += 1), a))), ql = Object.freeze(
|
|
4247
4247
|
Na.reduce((a, o) => (a[o.label] = o, a), /* @__PURE__ */ Object.create(null))
|
|
4248
|
-
),
|
|
4248
|
+
), Xl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4249
4249
|
__proto__: null,
|
|
4250
4250
|
arr: Na,
|
|
4251
|
-
obj:
|
|
4252
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
4251
|
+
obj: ql
|
|
4252
|
+
}, Symbol.toStringTag, { value: "Module" })), Ql = {
|
|
4253
4253
|
campany: "MStars All Rights Reserved.",
|
|
4254
4254
|
copyright: "© 2026 mstars.ai",
|
|
4255
4255
|
email: "info@mstars.ai"
|
|
4256
|
-
},
|
|
4256
|
+
}, en = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4257
4257
|
__proto__: null,
|
|
4258
|
-
default:
|
|
4258
|
+
default: Ql
|
|
4259
4259
|
}, Symbol.toStringTag, { value: "Module" })), Ye = Object.freeze([
|
|
4260
4260
|
{
|
|
4261
4261
|
label: "China",
|
|
@@ -6708,7 +6708,7 @@ function Xe(a) {
|
|
|
6708
6708
|
}
|
|
6709
6709
|
return Object.freeze(o);
|
|
6710
6710
|
}
|
|
6711
|
-
function
|
|
6711
|
+
function an(a) {
|
|
6712
6712
|
const o = /* @__PURE__ */ Object.create(null);
|
|
6713
6713
|
for (const e of a) {
|
|
6714
6714
|
const l = e == null ? void 0 : e.children;
|
|
@@ -6720,11 +6720,11 @@ function en(a) {
|
|
|
6720
6720
|
}
|
|
6721
6721
|
return Object.freeze(o);
|
|
6722
6722
|
}
|
|
6723
|
-
const
|
|
6723
|
+
const ln = Object.freeze({
|
|
6724
6724
|
all: Ye,
|
|
6725
6725
|
allObj: Xe(Ye),
|
|
6726
6726
|
group: We,
|
|
6727
|
-
groupObj:
|
|
6727
|
+
groupObj: an(We),
|
|
6728
6728
|
asa: qe,
|
|
6729
6729
|
asaObj: Xe(qe)
|
|
6730
6730
|
}), $a = Object.freeze([
|
|
@@ -9316,10 +9316,10 @@ const an = Object.freeze({
|
|
|
9316
9316
|
code: "zh_Hant",
|
|
9317
9317
|
name: "Chinese Traditional"
|
|
9318
9318
|
}
|
|
9319
|
-
]),
|
|
9319
|
+
]), nn = $a.reduce((a, o) => (a[o.code] = o, a), /* @__PURE__ */ Object.create(null)), on = Object.freeze({
|
|
9320
9320
|
arr: $a,
|
|
9321
|
-
obj:
|
|
9322
|
-
}),
|
|
9321
|
+
obj: nn
|
|
9322
|
+
}), tn = {
|
|
9323
9323
|
vTableTool: {
|
|
9324
9324
|
refresh: "Refresh",
|
|
9325
9325
|
column: "Column",
|
|
@@ -9339,16 +9339,16 @@ const an = Object.freeze({
|
|
|
9339
9339
|
{ abbr: "Sun", full: "Sunday" }
|
|
9340
9340
|
],
|
|
9341
9341
|
/** `common/timezone.js`:Ads Manager 时区整点偏移选项与工具方法 */
|
|
9342
|
-
...
|
|
9343
|
-
timezoneAll:
|
|
9344
|
-
meta:
|
|
9342
|
+
...Zl,
|
|
9343
|
+
timezoneAll: Xl,
|
|
9344
|
+
meta: en,
|
|
9345
9345
|
/** `common/country/`:国家/地区列表与分组,含 `*Obj` 映射 */
|
|
9346
|
-
country:
|
|
9347
|
-
langAll:
|
|
9348
|
-
},
|
|
9346
|
+
country: ln,
|
|
9347
|
+
langAll: on
|
|
9348
|
+
}, rn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9349
9349
|
__proto__: null,
|
|
9350
|
-
default:
|
|
9351
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
9350
|
+
default: tn
|
|
9351
|
+
}, Symbol.toStringTag, { value: "Module" })), sn = {
|
|
9352
9352
|
color: [
|
|
9353
9353
|
"rgb(22, 177, 255)",
|
|
9354
9354
|
"rgb(86, 202, 0)",
|
|
@@ -9362,10 +9362,10 @@ const an = Object.freeze({
|
|
|
9362
9362
|
"rgb(115, 103, 240)",
|
|
9363
9363
|
"rgb(253, 216, 53)"
|
|
9364
9364
|
]
|
|
9365
|
-
},
|
|
9365
|
+
}, un = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9366
9366
|
__proto__: null,
|
|
9367
|
-
default:
|
|
9368
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
9367
|
+
default: sn
|
|
9368
|
+
}, Symbol.toStringTag, { value: "Module" })), cn = Object.freeze({
|
|
9369
9369
|
RUNNING: {
|
|
9370
9370
|
class: "imicon im-dot txt-green txt-shadow-green-008",
|
|
9371
9371
|
button_class: "fs16-i hover no-shadow im-play-fill",
|
|
@@ -9649,17 +9649,17 @@ const an = Object.freeze({
|
|
|
9649
9649
|
value: "Denied",
|
|
9650
9650
|
sort: 40
|
|
9651
9651
|
}
|
|
9652
|
-
}),
|
|
9652
|
+
}), dn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9653
9653
|
__proto__: null,
|
|
9654
|
-
default:
|
|
9655
|
-
}, Symbol.toStringTag, { value: "Module" })), Qe = /* @__PURE__ */ Object.assign({ "./chip/asa.js":
|
|
9656
|
-
function
|
|
9654
|
+
default: cn
|
|
9655
|
+
}, Symbol.toStringTag, { value: "Module" })), Qe = /* @__PURE__ */ Object.assign({ "./chip/asa.js": Fl, "./chip/common.js": rn, "./chip/config.js": un, "./chip/statusMap.js": dn });
|
|
9656
|
+
function mn(a) {
|
|
9657
9657
|
const o = a.match(/^\.\/chip\/(.+)\.js$/);
|
|
9658
9658
|
return o ? o[1] : a;
|
|
9659
9659
|
}
|
|
9660
9660
|
const je = {};
|
|
9661
9661
|
for (const a of Object.keys(Qe)) {
|
|
9662
|
-
const o = Qe[a], e =
|
|
9662
|
+
const o = Qe[a], e = mn(a);
|
|
9663
9663
|
je[e] = o.default ?? o;
|
|
9664
9664
|
}
|
|
9665
9665
|
let Be = null;
|
|
@@ -9704,16 +9704,16 @@ function ge(a) {
|
|
|
9704
9704
|
}
|
|
9705
9705
|
return a;
|
|
9706
9706
|
}
|
|
9707
|
-
function
|
|
9707
|
+
function bn(a) {
|
|
9708
9708
|
return ge(Ve(a));
|
|
9709
9709
|
}
|
|
9710
|
-
const
|
|
9710
|
+
const vn = Object.freeze({
|
|
9711
9711
|
avgCPA: "cpa",
|
|
9712
9712
|
avgCPM: "cpm",
|
|
9713
9713
|
avgCPT: "cpt"
|
|
9714
9714
|
});
|
|
9715
9715
|
function ea(a) {
|
|
9716
|
-
return
|
|
9716
|
+
return vn[a] ?? a;
|
|
9717
9717
|
}
|
|
9718
9718
|
function ye(a) {
|
|
9719
9719
|
if (a == null)
|
|
@@ -9765,18 +9765,18 @@ function Fe(a, o) {
|
|
|
9765
9765
|
}
|
|
9766
9766
|
return e;
|
|
9767
9767
|
}
|
|
9768
|
-
function
|
|
9768
|
+
function hi() {
|
|
9769
9769
|
return De();
|
|
9770
9770
|
}
|
|
9771
9771
|
function Ge(a) {
|
|
9772
9772
|
return Ce(Ve(a));
|
|
9773
9773
|
}
|
|
9774
|
-
Ge.lang =
|
|
9774
|
+
Ge.lang = bn;
|
|
9775
9775
|
Ge.jump = (a) => Ce(ye(Ve(a)));
|
|
9776
|
-
function
|
|
9776
|
+
function _i(a) {
|
|
9777
9777
|
!a || typeof a != "object" || Array.isArray(a) || (Be = Fe(De(), a));
|
|
9778
9778
|
}
|
|
9779
|
-
function
|
|
9779
|
+
function pn(a, o = {}) {
|
|
9780
9780
|
Be = Fe(je, o || {});
|
|
9781
9781
|
}
|
|
9782
9782
|
const aa = "mvframe-top-toast-style", Oe = "mvframe-top-toast-root", la = {
|
|
@@ -9801,7 +9801,7 @@ const aa = "mvframe-top-toast-style", Oe = "mvframe-top-toast-root", la = {
|
|
|
9801
9801
|
color: "#409eff"
|
|
9802
9802
|
}
|
|
9803
9803
|
};
|
|
9804
|
-
function
|
|
9804
|
+
function fn() {
|
|
9805
9805
|
if (typeof document > "u" || document.getElementById(aa)) return;
|
|
9806
9806
|
const a = document.createElement("style");
|
|
9807
9807
|
a.id = aa, a.textContent = `
|
|
@@ -9862,12 +9862,12 @@ function pn() {
|
|
|
9862
9862
|
}
|
|
9863
9863
|
`, document.head.appendChild(a);
|
|
9864
9864
|
}
|
|
9865
|
-
function
|
|
9865
|
+
function hn() {
|
|
9866
9866
|
if (typeof document > "u") return null;
|
|
9867
9867
|
let a = document.getElementById(Oe);
|
|
9868
|
-
return a || (
|
|
9868
|
+
return a || (fn(), a = document.createElement("div"), a.id = Oe, a.setAttribute("aria-live", "assertive"), document.body.appendChild(a)), a;
|
|
9869
9869
|
}
|
|
9870
|
-
function
|
|
9870
|
+
function _n(a, o) {
|
|
9871
9871
|
const e = o === "error" ? 4500 : 3e3;
|
|
9872
9872
|
if (a == null)
|
|
9873
9873
|
return { message: "", duration: e, showClose: !1 };
|
|
@@ -9884,7 +9884,7 @@ function hn(a, o) {
|
|
|
9884
9884
|
return { message: String(a), duration: e, showClose: !1 };
|
|
9885
9885
|
}
|
|
9886
9886
|
function ze(a, o) {
|
|
9887
|
-
const e = la[a] || la.error, { message: l, duration: n, showClose: i } =
|
|
9887
|
+
const e = la[a] || la.error, { message: l, duration: n, showClose: i } = _n(o, a), u = hn();
|
|
9888
9888
|
if (!u) {
|
|
9889
9889
|
console.error("[mvframe/message]", l);
|
|
9890
9890
|
return;
|
|
@@ -9897,18 +9897,18 @@ function ze(a, o) {
|
|
|
9897
9897
|
const v = document.createElement("div");
|
|
9898
9898
|
v.className = "mvframeTopToastText", v.textContent = l, y.appendChild(v);
|
|
9899
9899
|
let b = null, r = null;
|
|
9900
|
-
const
|
|
9900
|
+
const T = () => {
|
|
9901
9901
|
b && (clearTimeout(b), b = null), r && (clearTimeout(r), r = null), y.parentNode && (y.classList.add("mvframeTopToastLeave"), r = window.setTimeout(() => {
|
|
9902
9902
|
y.remove(), r = null;
|
|
9903
9903
|
}, 200));
|
|
9904
9904
|
};
|
|
9905
9905
|
if (i || n === 0) {
|
|
9906
|
-
const
|
|
9907
|
-
|
|
9906
|
+
const S = document.createElement("button");
|
|
9907
|
+
S.type = "button", S.className = "mvframeTopToastClose", S.setAttribute("aria-label", "Close"), S.textContent = "×", S.addEventListener("click", T), y.appendChild(S);
|
|
9908
9908
|
}
|
|
9909
|
-
u.appendChild(y), n > 0 && (b = window.setTimeout(
|
|
9909
|
+
u.appendChild(y), n > 0 && (b = window.setTimeout(T, n));
|
|
9910
9910
|
}
|
|
9911
|
-
function
|
|
9911
|
+
function gi() {
|
|
9912
9912
|
return {
|
|
9913
9913
|
success: (a) => ze("success", a),
|
|
9914
9914
|
warning: (a) => ze("warning", a),
|
|
@@ -9916,8 +9916,8 @@ function _i() {
|
|
|
9916
9916
|
error: (a) => ze("error", a)
|
|
9917
9917
|
};
|
|
9918
9918
|
}
|
|
9919
|
-
var
|
|
9920
|
-
function
|
|
9919
|
+
var yi = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
9920
|
+
function Ai(a) {
|
|
9921
9921
|
return a && a.__esModule && Object.prototype.hasOwnProperty.call(a, "default") ? a.default : a;
|
|
9922
9922
|
}
|
|
9923
9923
|
const Se = (a) => {
|
|
@@ -9925,7 +9925,7 @@ const Se = (a) => {
|
|
|
9925
9925
|
ta.init(ra).setPageLoading(a);
|
|
9926
9926
|
} catch {
|
|
9927
9927
|
}
|
|
9928
|
-
},
|
|
9928
|
+
}, gn = ({ router: a, useAdmin: o, adminPermission: e, noaccess: l }) => {
|
|
9929
9929
|
a.beforeEach((n, i, u) => {
|
|
9930
9930
|
Se(!0), o && n.meta.admin ? e() ? u() : l && l(n, i, u) : u();
|
|
9931
9931
|
}), a.afterEach((n, i, u) => {
|
|
@@ -9939,18 +9939,18 @@ const Se = (a) => {
|
|
|
9939
9939
|
}), a.onError(() => {
|
|
9940
9940
|
Se(!1);
|
|
9941
9941
|
});
|
|
9942
|
-
},
|
|
9942
|
+
}, yn = (a, { routes: o, guard: e, useAdmin: l = !1, adminPermission: n = () => !0, noaccess: i }) => {
|
|
9943
9943
|
const u = Da({
|
|
9944
9944
|
history: Ra(),
|
|
9945
9945
|
routes: o
|
|
9946
9946
|
});
|
|
9947
|
-
e && e(u),
|
|
9947
|
+
e && e(u), gn({ router: u, useAdmin: l, adminPermission: n, noaccess: i }), a.use(u), globalThis.$router = u;
|
|
9948
9948
|
}, ne = (a, o) => {
|
|
9949
9949
|
const e = a.__vccOpts || a;
|
|
9950
9950
|
for (const [l, n] of o)
|
|
9951
9951
|
e[l] = n;
|
|
9952
9952
|
return e;
|
|
9953
|
-
},
|
|
9953
|
+
}, An = ["disabled"], wn = { key: 1 }, zn = ["disabled", "onClick"], Sn = { key: 1 }, Tn = /* @__PURE__ */ Object.assign({
|
|
9954
9954
|
name: "MvcBtnGroup",
|
|
9955
9955
|
inheritAttrs: !1
|
|
9956
9956
|
}, {
|
|
@@ -10002,17 +10002,17 @@ const Se = (a) => {
|
|
|
10002
10002
|
emits: ["update:modelValue", "change", "child-change"],
|
|
10003
10003
|
setup(a, { emit: o }) {
|
|
10004
10004
|
const e = a, l = o, n = (r) => {
|
|
10005
|
-
const
|
|
10006
|
-
return
|
|
10005
|
+
const T = r.value;
|
|
10006
|
+
return T === e.modelValue && (T !== void 0 || e.modelValue !== void 0);
|
|
10007
10007
|
}, i = (r) => {
|
|
10008
10008
|
e.disabled || r.disabled || r.children.length || (l("update:modelValue", r.value), l("change", r.value));
|
|
10009
|
-
}, u = (r,
|
|
10010
|
-
e.disabled ||
|
|
10009
|
+
}, u = (r, T) => {
|
|
10010
|
+
e.disabled || T.disabled || r.disabled || l("child-change", r.value, r.raw, T.raw);
|
|
10011
10011
|
}, y = f(() => {
|
|
10012
|
-
const r = e.options,
|
|
10013
|
-
value: s[
|
|
10014
|
-
label: s[
|
|
10015
|
-
icon: s[
|
|
10012
|
+
const r = e.options, T = Array.isArray(r) ? r : [], S = e.valueKey, z = e.labelKey, $ = e.iconKey, N = e.childrenKey, p = (s) => typeof s == "object" && !Array.isArray(s) ? {
|
|
10013
|
+
value: s[S],
|
|
10014
|
+
label: s[z] ?? "",
|
|
10015
|
+
icon: s[$] || "",
|
|
10016
10016
|
disabled: s.disabled,
|
|
10017
10017
|
raw: s
|
|
10018
10018
|
} : {
|
|
@@ -10022,20 +10022,20 @@ const Se = (a) => {
|
|
|
10022
10022
|
disabled: !1,
|
|
10023
10023
|
raw: s
|
|
10024
10024
|
};
|
|
10025
|
-
return
|
|
10026
|
-
const k = p(s),
|
|
10027
|
-
return { ...k, children:
|
|
10025
|
+
return T.filter((s) => s != null).map((s) => {
|
|
10026
|
+
const k = p(s), A = typeof s == "object" && !Array.isArray(s) && Array.isArray(s[N]) ? s[N].filter((g) => g != null).map(p) : [];
|
|
10027
|
+
return { ...k, children: A };
|
|
10028
10028
|
});
|
|
10029
10029
|
}), v = f(() => ({ small: "g4", default: "g6", large: "g8" })[e.size] ?? "g6"), b = f(() => e.size === "small" ? "sizeSmall" : e.size === "large" ? "sizeLarge" : "");
|
|
10030
|
-
return (r,
|
|
10031
|
-
const
|
|
10030
|
+
return (r, T) => {
|
|
10031
|
+
const S = K("el-dropdown-item"), z = K("el-dropdown-menu"), $ = K("el-dropdown");
|
|
10032
10032
|
return _(), E("div", te({
|
|
10033
10033
|
class: ["MvcBtnGroup flexMode", [t(v), t(b), r.$attrs.class]]
|
|
10034
10034
|
}, r.$attrs, { role: "group" }), [
|
|
10035
10035
|
(_(!0), E(oe, null, ie(t(y), (N) => (_(), E(oe, {
|
|
10036
10036
|
key: N.value
|
|
10037
10037
|
}, [
|
|
10038
|
-
N.children.length ? (_(), le(
|
|
10038
|
+
N.children.length ? (_(), le($, {
|
|
10039
10039
|
key: 0,
|
|
10040
10040
|
trigger: "click",
|
|
10041
10041
|
placement: "bottom",
|
|
@@ -10043,9 +10043,9 @@ const Se = (a) => {
|
|
|
10043
10043
|
onCommand: (p) => u(p, N)
|
|
10044
10044
|
}, {
|
|
10045
10045
|
dropdown: I(() => [
|
|
10046
|
-
B(
|
|
10046
|
+
B(z, null, {
|
|
10047
10047
|
default: I(() => [
|
|
10048
|
-
(_(!0), E(oe, null, ie(N.children, (p, s) => (_(), le(
|
|
10048
|
+
(_(!0), E(oe, null, ie(N.children, (p, s) => (_(), le(S, {
|
|
10049
10049
|
key: p.value ?? s,
|
|
10050
10050
|
command: p,
|
|
10051
10051
|
disabled: p.disabled
|
|
@@ -10056,7 +10056,7 @@ const Se = (a) => {
|
|
|
10056
10056
|
class: U([[p.icon, e.iconClass], "noShrink"]),
|
|
10057
10057
|
"aria-hidden": "true"
|
|
10058
10058
|
}, null, 2)) : G("", !0),
|
|
10059
|
-
d("span", null,
|
|
10059
|
+
d("span", null, L(r.$l(p.label)), 1)
|
|
10060
10060
|
]),
|
|
10061
10061
|
_: 2
|
|
10062
10062
|
}, 1032, ["command", "disabled"]))), 128))
|
|
@@ -10075,17 +10075,17 @@ const Se = (a) => {
|
|
|
10075
10075
|
class: U([[N.icon, e.iconClass], "noShrink"]),
|
|
10076
10076
|
"aria-hidden": "true"
|
|
10077
10077
|
}, null, 2)) : G("", !0),
|
|
10078
|
-
e.type !== "icon" ? (_(), E("span",
|
|
10078
|
+
e.type !== "icon" ? (_(), E("span", wn, L(r.$l(N.label)), 1)) : G("", !0),
|
|
10079
10079
|
N.icon && e.type === "label-icon" ? (_(), E("i", {
|
|
10080
10080
|
key: 2,
|
|
10081
10081
|
class: U([[N.icon, e.iconClass], "noShrink"]),
|
|
10082
10082
|
"aria-hidden": "true"
|
|
10083
10083
|
}, null, 2)) : G("", !0),
|
|
10084
|
-
|
|
10084
|
+
T[0] || (T[0] = d("i", {
|
|
10085
10085
|
class: "imicon im-down childCaret noShrink",
|
|
10086
10086
|
"aria-hidden": "true"
|
|
10087
10087
|
}, null, -1))
|
|
10088
|
-
], 10,
|
|
10088
|
+
], 10, An)
|
|
10089
10089
|
]),
|
|
10090
10090
|
_: 2
|
|
10091
10091
|
}, 1032, ["disabled", "onCommand"])) : (_(), E("button", {
|
|
@@ -10100,24 +10100,24 @@ const Se = (a) => {
|
|
|
10100
10100
|
class: U([[N.icon, e.iconClass], "noShrink"]),
|
|
10101
10101
|
"aria-hidden": "true"
|
|
10102
10102
|
}, null, 2)) : G("", !0),
|
|
10103
|
-
e.type !== "icon" ? (_(), E("span",
|
|
10103
|
+
e.type !== "icon" ? (_(), E("span", Sn, L(r.$l(N.label)), 1)) : G("", !0),
|
|
10104
10104
|
N.icon && e.type === "label-icon" ? (_(), E("i", {
|
|
10105
10105
|
key: 2,
|
|
10106
10106
|
class: U([[N.icon, e.iconClass], "noShrink"]),
|
|
10107
10107
|
"aria-hidden": "true"
|
|
10108
10108
|
}, null, 2)) : G("", !0)
|
|
10109
|
-
], 10,
|
|
10109
|
+
], 10, zn))
|
|
10110
10110
|
], 64))), 128))
|
|
10111
10111
|
], 16);
|
|
10112
10112
|
};
|
|
10113
10113
|
}
|
|
10114
|
-
}),
|
|
10114
|
+
}), Cn = /* @__PURE__ */ ne(Tn, [["__scopeId", "data-v-579db916"]]), Mn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
10115
10115
|
__proto__: null,
|
|
10116
|
-
default:
|
|
10117
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
10116
|
+
default: Cn
|
|
10117
|
+
}, Symbol.toStringTag, { value: "Module" })), kn = {
|
|
10118
10118
|
key: 1,
|
|
10119
10119
|
class: "headerTitle"
|
|
10120
|
-
},
|
|
10120
|
+
}, En = /* @__PURE__ */ Object.assign({
|
|
10121
10121
|
name: "MvcCard",
|
|
10122
10122
|
inheritAttrs: !1
|
|
10123
10123
|
}, {
|
|
@@ -10162,7 +10162,7 @@ const Se = (a) => {
|
|
|
10162
10162
|
key: 0,
|
|
10163
10163
|
class: U(["header", o.headerClass])
|
|
10164
10164
|
}, [
|
|
10165
|
-
e.$slots.header ? q(e.$slots, "header", { key: 0 }, void 0, !0) : o.title ? (_(), E("span",
|
|
10165
|
+
e.$slots.header ? q(e.$slots, "header", { key: 0 }, void 0, !0) : o.title ? (_(), E("span", kn, L(e.$l(o.title)), 1)) : G("", !0)
|
|
10166
10166
|
], 2)) : G("", !0),
|
|
10167
10167
|
d("div", {
|
|
10168
10168
|
class: U(["body", o.bodyClass])
|
|
@@ -10177,13 +10177,13 @@ const Se = (a) => {
|
|
|
10177
10177
|
], 2)) : G("", !0)
|
|
10178
10178
|
], 16));
|
|
10179
10179
|
}
|
|
10180
|
-
}),
|
|
10180
|
+
}), On = /* @__PURE__ */ ne(En, [["__scopeId", "data-v-bdf05ab5"]]), xn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
10181
10181
|
__proto__: null,
|
|
10182
|
-
default:
|
|
10183
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
10182
|
+
default: On
|
|
10183
|
+
}, Symbol.toStringTag, { value: "Module" })), Pn = { class: "MvcDrawer" }, Ln = { class: "dragArea" }, Nn = {
|
|
10184
10184
|
key: 0,
|
|
10185
10185
|
class: "flexMode vc hc h56 w64 abs r t z9"
|
|
10186
|
-
},
|
|
10186
|
+
}, $n = /* @__PURE__ */ Object.assign({
|
|
10187
10187
|
name: "MvcDrawer",
|
|
10188
10188
|
inheritAttrs: !1
|
|
10189
10189
|
}, {
|
|
@@ -10227,20 +10227,20 @@ const Se = (a) => {
|
|
|
10227
10227
|
}, b = () => {
|
|
10228
10228
|
n.drawerInfo.cpt = n.cpt;
|
|
10229
10229
|
}, r = (p) => {
|
|
10230
|
-
n.dragMode = !0, document.addEventListener("mousemove",
|
|
10231
|
-
},
|
|
10230
|
+
n.dragMode = !0, document.addEventListener("mousemove", T), document.addEventListener("mouseup", S);
|
|
10231
|
+
}, T = (p) => {
|
|
10232
10232
|
var s, k;
|
|
10233
10233
|
if (p.x > 80) {
|
|
10234
10234
|
const g = (((k = (s = globalThis.$config) == null ? void 0 : s.options) == null ? void 0 : k.innerWidth) ?? window.innerWidth) - p.x;
|
|
10235
10235
|
g > 480 && (n.drawerInfo.size = g);
|
|
10236
10236
|
}
|
|
10237
|
-
},
|
|
10238
|
-
n.dragMode = !1,
|
|
10239
|
-
},
|
|
10240
|
-
document.removeEventListener("mousemove",
|
|
10241
|
-
},
|
|
10237
|
+
}, S = () => {
|
|
10238
|
+
n.dragMode = !1, z();
|
|
10239
|
+
}, z = () => {
|
|
10240
|
+
document.removeEventListener("mousemove", T), document.removeEventListener("mouseup", S);
|
|
10241
|
+
}, $ = f(() => !!n.drawerInfo.title), N = f(() => !e.keepalive);
|
|
10242
10242
|
return ve(() => {
|
|
10243
|
-
|
|
10243
|
+
z();
|
|
10244
10244
|
}), re(
|
|
10245
10245
|
() => e.current,
|
|
10246
10246
|
(p) => {
|
|
@@ -10257,13 +10257,13 @@ const Se = (a) => {
|
|
|
10257
10257
|
v();
|
|
10258
10258
|
}
|
|
10259
10259
|
), (p, s) => {
|
|
10260
|
-
const k = K("Loading"),
|
|
10261
|
-
return _(), E("div",
|
|
10262
|
-
B(
|
|
10260
|
+
const k = K("Loading"), A = K("el-drawer");
|
|
10261
|
+
return _(), E("div", Pn, [
|
|
10262
|
+
B(A, {
|
|
10263
10263
|
modelValue: t(n).drawerInfo.visible,
|
|
10264
10264
|
"onUpdate:modelValue": s[0] || (s[0] = (g) => t(n).drawerInfo.visible = g),
|
|
10265
10265
|
title: p.$l(t(n).drawerInfo.title),
|
|
10266
|
-
"with-header": t(
|
|
10266
|
+
"with-header": t($),
|
|
10267
10267
|
"append-to-body": "",
|
|
10268
10268
|
size: t(n).drawerInfo.size,
|
|
10269
10269
|
height: t(n).drawerInfo.height,
|
|
@@ -10274,7 +10274,7 @@ const Se = (a) => {
|
|
|
10274
10274
|
class: U(t(n).dragMode && "notransition noevent noselect")
|
|
10275
10275
|
}, {
|
|
10276
10276
|
default: I(() => [
|
|
10277
|
-
d("div",
|
|
10277
|
+
d("div", Ln, [
|
|
10278
10278
|
d("div", {
|
|
10279
10279
|
class: U(["dragHandle", t(n).dragMode && "active"]),
|
|
10280
10280
|
onMousedown: r
|
|
@@ -10282,7 +10282,7 @@ const Se = (a) => {
|
|
|
10282
10282
|
d("i", { class: "imicon im-handle fs12" }, null, -1)
|
|
10283
10283
|
])], 34)
|
|
10284
10284
|
]),
|
|
10285
|
-
t(
|
|
10285
|
+
t($) ? G("", !0) : (_(), E("div", Nn, [
|
|
10286
10286
|
d("i", {
|
|
10287
10287
|
class: "imicon im-close fs20 txt-dark7 hover-txt-primary",
|
|
10288
10288
|
onClick: v
|
|
@@ -10302,13 +10302,13 @@ const Se = (a) => {
|
|
|
10302
10302
|
]);
|
|
10303
10303
|
};
|
|
10304
10304
|
}
|
|
10305
|
-
}),
|
|
10305
|
+
}), In = /* @__PURE__ */ ne($n, [["__scopeId", "data-v-3bd55143"]]), jn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
10306
10306
|
__proto__: null,
|
|
10307
|
-
default:
|
|
10308
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
10307
|
+
default: In
|
|
10308
|
+
}, Symbol.toStringTag, { value: "Module" })), Bn = {
|
|
10309
10309
|
key: 1,
|
|
10310
10310
|
class: "flexMode vc"
|
|
10311
|
-
},
|
|
10311
|
+
}, Dn = { class: "pl4" }, Rn = { class: "pl4" }, Vn = /* @__PURE__ */ Object.assign({
|
|
10312
10312
|
name: "MvcDrawerArea",
|
|
10313
10313
|
inheritAttrs: !1
|
|
10314
10314
|
}, {
|
|
@@ -10380,36 +10380,36 @@ const Se = (a) => {
|
|
|
10380
10380
|
};
|
|
10381
10381
|
o({
|
|
10382
10382
|
toClose: y,
|
|
10383
|
-
scrollTo: (
|
|
10384
|
-
var
|
|
10385
|
-
(
|
|
10383
|
+
scrollTo: (S) => {
|
|
10384
|
+
var z;
|
|
10385
|
+
(z = i.value) == null || z.setScrollTop(S);
|
|
10386
10386
|
}
|
|
10387
10387
|
});
|
|
10388
|
-
const r = f(() => [l.loading && "noevent", n.$attrs.class]),
|
|
10389
|
-
const
|
|
10388
|
+
const r = f(() => [l.loading && "noevent", n.$attrs.class]), T = f(() => {
|
|
10389
|
+
const z = l.nofooter ? 0 : 4;
|
|
10390
10390
|
return {
|
|
10391
|
-
height: l.height ? `${3.5 +
|
|
10391
|
+
height: l.height ? `${3.5 + z + l.height / 16}rem` : `calc(100vh - ${3.5}rem - ${z}rem - ${l.minusHeight / 16}rem)`
|
|
10392
10392
|
};
|
|
10393
10393
|
});
|
|
10394
|
-
return (
|
|
10395
|
-
const
|
|
10394
|
+
return (S, z) => {
|
|
10395
|
+
const $ = K("Loading"), N = K("el-scrollbar"), p = K("el-button");
|
|
10396
10396
|
return _(), E(oe, null, [
|
|
10397
10397
|
d("div", {
|
|
10398
10398
|
class: U(["MvcDrawerBody VAfter", t(r)]),
|
|
10399
|
-
style: de(t(
|
|
10399
|
+
style: de(t(T))
|
|
10400
10400
|
}, [
|
|
10401
|
-
B(
|
|
10401
|
+
B($, {
|
|
10402
10402
|
loading: l.loading,
|
|
10403
10403
|
txt: l.loadingTxt
|
|
10404
10404
|
}, null, 8, ["loading", "txt"]),
|
|
10405
|
-
l.noscroll ? q(
|
|
10405
|
+
l.noscroll ? q(S.$slots, "default", { key: 0 }, void 0, !0) : (_(), le(N, {
|
|
10406
10406
|
key: 1,
|
|
10407
10407
|
ref_key: "scrollbar",
|
|
10408
10408
|
ref: i,
|
|
10409
10409
|
class: "wp100"
|
|
10410
10410
|
}, {
|
|
10411
10411
|
default: I(() => [
|
|
10412
|
-
q(
|
|
10412
|
+
q(S.$slots, "default", {}, void 0, !0)
|
|
10413
10413
|
]),
|
|
10414
10414
|
_: 3
|
|
10415
10415
|
}, 512))
|
|
@@ -10418,8 +10418,8 @@ const Se = (a) => {
|
|
|
10418
10418
|
key: 0,
|
|
10419
10419
|
class: U(["drawerFooter relative flexMode vc hb h64", l.footerClass])
|
|
10420
10420
|
}, [
|
|
10421
|
-
|
|
10422
|
-
|
|
10421
|
+
S.$slots.footer ? q(S.$slots, "footer", { key: 0 }, void 0, !0) : (_(), E("div", Bn, [
|
|
10422
|
+
S.$slots.cancel ? q(S.$slots, "cancel", { key: 0 }, void 0, !0) : l.showCancel ? (_(), le(p, {
|
|
10423
10423
|
key: 1,
|
|
10424
10424
|
plain: "",
|
|
10425
10425
|
size: "large",
|
|
@@ -10431,11 +10431,11 @@ const Se = (a) => {
|
|
|
10431
10431
|
}, null, 2)
|
|
10432
10432
|
]),
|
|
10433
10433
|
default: I(() => [
|
|
10434
|
-
d("span",
|
|
10434
|
+
d("span", Dn, L(S.$l(l.cancelTxt)), 1)
|
|
10435
10435
|
]),
|
|
10436
10436
|
_: 1
|
|
10437
10437
|
})) : G("", !0),
|
|
10438
|
-
|
|
10438
|
+
S.$slots.submit ? q(S.$slots, "submit", { key: 2 }, void 0, !0) : l.showConfirm ? (_(), le(p, {
|
|
10439
10439
|
key: 3,
|
|
10440
10440
|
type: "primary",
|
|
10441
10441
|
size: "large",
|
|
@@ -10448,21 +10448,21 @@ const Se = (a) => {
|
|
|
10448
10448
|
}, null, 2)
|
|
10449
10449
|
]),
|
|
10450
10450
|
default: I(() => [
|
|
10451
|
-
d("span",
|
|
10451
|
+
d("span", Rn, L(S.$l(l.confirmTxt)), 1)
|
|
10452
10452
|
]),
|
|
10453
10453
|
_: 1
|
|
10454
10454
|
}, 8, ["loading"])) : G("", !0),
|
|
10455
|
-
|
|
10455
|
+
S.$slots.footerright ? q(S.$slots, "footerright", { key: 4 }, void 0, !0) : G("", !0)
|
|
10456
10456
|
]))
|
|
10457
10457
|
], 2))
|
|
10458
10458
|
], 64);
|
|
10459
10459
|
};
|
|
10460
10460
|
}
|
|
10461
|
-
}),
|
|
10461
|
+
}), Fn = /* @__PURE__ */ ne(Vn, [["__scopeId", "data-v-33acb7b3"]]), Gn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
10462
10462
|
__proto__: null,
|
|
10463
|
-
default:
|
|
10463
|
+
default: Fn
|
|
10464
10464
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
10465
|
-
function
|
|
10465
|
+
function Kn(a) {
|
|
10466
10466
|
var e;
|
|
10467
10467
|
if (a == null) return [];
|
|
10468
10468
|
const o = Array.isArray(a) ? a : [a];
|
|
@@ -10480,7 +10480,7 @@ function na(a, o) {
|
|
|
10480
10480
|
if (a[e] !== o[e]) return !1;
|
|
10481
10481
|
return !0;
|
|
10482
10482
|
}
|
|
10483
|
-
const
|
|
10483
|
+
const Un = ca({
|
|
10484
10484
|
name: "MvcFormItemFilter",
|
|
10485
10485
|
setup(a, o) {
|
|
10486
10486
|
function e(n) {
|
|
@@ -10493,26 +10493,26 @@ const Kn = ca({
|
|
|
10493
10493
|
if (!n) return n;
|
|
10494
10494
|
const i = n.children, u = window.$getType(i);
|
|
10495
10495
|
if (((y = n.type) == null ? void 0 : y.name) === "ElFormItem" && ((v = n.props) == null ? void 0 : v.label) != null) {
|
|
10496
|
-
const
|
|
10496
|
+
const T = ((r = (b = n.props.label).$l) == null ? void 0 : r.call(b)) || n.props.label;
|
|
10497
10497
|
if (u === "Array") {
|
|
10498
|
-
const
|
|
10499
|
-
return na(
|
|
10498
|
+
const S = e(i);
|
|
10499
|
+
return na(S, i) ? Ke(n, { label: T }) : Ue(n.type, { ...n.props || {}, label: T }, S);
|
|
10500
10500
|
}
|
|
10501
|
-
return Ke(n, { label:
|
|
10501
|
+
return Ke(n, { label: T });
|
|
10502
10502
|
}
|
|
10503
10503
|
if (u === "Array") {
|
|
10504
|
-
const
|
|
10505
|
-
return na(
|
|
10504
|
+
const T = e(i);
|
|
10505
|
+
return na(T, i) ? n : Ue(n.type, n.props, T);
|
|
10506
10506
|
}
|
|
10507
10507
|
return n;
|
|
10508
10508
|
}
|
|
10509
10509
|
return () => {
|
|
10510
10510
|
var u, y;
|
|
10511
|
-
const n = (y = (u = o.slots).default) == null ? void 0 : y.call(u), i =
|
|
10511
|
+
const n = (y = (u = o.slots).default) == null ? void 0 : y.call(u), i = Kn(n);
|
|
10512
10512
|
return e(i);
|
|
10513
10513
|
};
|
|
10514
10514
|
}
|
|
10515
|
-
}),
|
|
10515
|
+
}), Hn = { class: "MvcForm" }, Jn = /* @__PURE__ */ Object.assign({
|
|
10516
10516
|
name: "MvcForm"
|
|
10517
10517
|
}, {
|
|
10518
10518
|
__name: "index",
|
|
@@ -10542,10 +10542,10 @@ const Kn = ca({
|
|
|
10542
10542
|
}
|
|
10543
10543
|
}, v = () => n.form, b = f(() => {
|
|
10544
10544
|
const r = {};
|
|
10545
|
-
for (let
|
|
10546
|
-
r[
|
|
10547
|
-
...
|
|
10548
|
-
...
|
|
10545
|
+
for (let T in l.rules)
|
|
10546
|
+
r[T] = l.rules[T].map((S) => ({
|
|
10547
|
+
...S,
|
|
10548
|
+
...S.message && { message: window.$l(S.message) }
|
|
10549
10549
|
}));
|
|
10550
10550
|
return r;
|
|
10551
10551
|
});
|
|
@@ -10568,10 +10568,10 @@ const Kn = ca({
|
|
|
10568
10568
|
}
|
|
10569
10569
|
), o({
|
|
10570
10570
|
validate: y
|
|
10571
|
-
}), (r,
|
|
10572
|
-
const
|
|
10573
|
-
return _(), E("div",
|
|
10574
|
-
B(
|
|
10571
|
+
}), (r, T) => {
|
|
10572
|
+
const S = K("el-form");
|
|
10573
|
+
return _(), E("div", Hn, [
|
|
10574
|
+
B(S, {
|
|
10575
10575
|
ref: "form",
|
|
10576
10576
|
model: t(n).form,
|
|
10577
10577
|
rules: t(b),
|
|
@@ -10580,7 +10580,7 @@ const Kn = ca({
|
|
|
10580
10580
|
"label-position": "top"
|
|
10581
10581
|
}, {
|
|
10582
10582
|
default: I(() => [
|
|
10583
|
-
B(t(
|
|
10583
|
+
B(t(Un), null, {
|
|
10584
10584
|
default: I(() => [
|
|
10585
10585
|
q(r.$slots, "default")
|
|
10586
10586
|
]),
|
|
@@ -10592,10 +10592,10 @@ const Kn = ca({
|
|
|
10592
10592
|
]);
|
|
10593
10593
|
};
|
|
10594
10594
|
}
|
|
10595
|
-
}),
|
|
10595
|
+
}), Zn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
10596
10596
|
__proto__: null,
|
|
10597
|
-
default:
|
|
10598
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
10597
|
+
default: Jn
|
|
10598
|
+
}, Symbol.toStringTag, { value: "Module" })), Yn = { class: "FrameTab sticky z9" }, Wn = { class: "tabArea relative flexMode vr g4 h36 pl16 pt4 xscroll nobar fadeout backdrop" }, qn = ["id", "onContextmenu", "onClick", "onDblclick"], Xn = ["onClick"], Qn = /* @__PURE__ */ Object.assign({
|
|
10599
10599
|
name: "FrameTab",
|
|
10600
10600
|
inheritAttrs: !1
|
|
10601
10601
|
}, {
|
|
@@ -10608,12 +10608,12 @@ const Kn = ca({
|
|
|
10608
10608
|
let e = null, l = null;
|
|
10609
10609
|
const n = Ae("store"), i = n.tab(), u = n.rmenu(), y = ia(), v = sa(), { proxy: b } = pe();
|
|
10610
10610
|
se(() => {
|
|
10611
|
-
r(),
|
|
10611
|
+
r(), z();
|
|
10612
10612
|
});
|
|
10613
10613
|
const r = () => {
|
|
10614
10614
|
b.$el.addEventListener("scroll", N);
|
|
10615
|
-
},
|
|
10616
|
-
let x =
|
|
10615
|
+
}, T = (w) => {
|
|
10616
|
+
let x = w == null ? void 0 : w.parentElement;
|
|
10617
10617
|
for (; x && x !== document.body; ) {
|
|
10618
10618
|
const { overflowY: D, overflow: F } = getComputedStyle(x), J = D || F;
|
|
10619
10619
|
if ((J === "auto" || J === "scroll" || J === "overlay") && x.scrollHeight > x.clientHeight)
|
|
@@ -10621,32 +10621,32 @@ const Kn = ca({
|
|
|
10621
10621
|
x = x.parentElement;
|
|
10622
10622
|
}
|
|
10623
10623
|
return null;
|
|
10624
|
-
},
|
|
10625
|
-
const
|
|
10626
|
-
o.pageScrolled =
|
|
10627
|
-
},
|
|
10628
|
-
e =
|
|
10629
|
-
const
|
|
10630
|
-
|
|
10624
|
+
}, S = () => {
|
|
10625
|
+
const w = window.scrollY || document.documentElement.scrollTop || document.body.scrollTop, x = e ? e.scrollTop : 0;
|
|
10626
|
+
o.pageScrolled = w > 0 || x > 0;
|
|
10627
|
+
}, z = () => {
|
|
10628
|
+
e = T(b.$el);
|
|
10629
|
+
const w = () => {
|
|
10630
|
+
S();
|
|
10631
10631
|
};
|
|
10632
|
-
window.addEventListener("scroll",
|
|
10633
|
-
window.removeEventListener("scroll",
|
|
10632
|
+
window.addEventListener("scroll", w, { passive: !0 }), e && e.addEventListener("scroll", w, { passive: !0 }), S(), l = () => {
|
|
10633
|
+
window.removeEventListener("scroll", w), e && e.removeEventListener("scroll", w), e = null;
|
|
10634
10634
|
};
|
|
10635
|
-
},
|
|
10636
|
-
const
|
|
10637
|
-
|
|
10638
|
-
}, N = (
|
|
10635
|
+
}, $ = () => {
|
|
10636
|
+
const w = localStorage.getItem("tabsScroll");
|
|
10637
|
+
w && (b.$el.scrollLeft = Number(w));
|
|
10638
|
+
}, N = (w) => {
|
|
10639
10639
|
let x = null;
|
|
10640
10640
|
x !== null && clearTimeout(x), x = setTimeout(function() {
|
|
10641
|
-
const { scrollLeft: D } =
|
|
10641
|
+
const { scrollLeft: D } = w.target;
|
|
10642
10642
|
localStorage.setItem("tabsScroll", D);
|
|
10643
10643
|
}, 100);
|
|
10644
10644
|
}, p = () => {
|
|
10645
10645
|
me(() => {
|
|
10646
|
-
const
|
|
10647
|
-
Ka(b.$el,
|
|
10646
|
+
const w = b.$el.querySelector(`#tab_${M.value}`);
|
|
10647
|
+
Ka(b.$el, w) ? $() : b.$el.scrollLeft = (w == null ? void 0 : w.offsetLeft) - 16;
|
|
10648
10648
|
});
|
|
10649
|
-
}, s = (
|
|
10649
|
+
}, s = (w, x, D) => {
|
|
10650
10650
|
u.saveData("type", "tabManager"), u.saveData("options", [
|
|
10651
10651
|
{
|
|
10652
10652
|
label: "Close",
|
|
@@ -10686,26 +10686,26 @@ const Kn = ca({
|
|
|
10686
10686
|
}
|
|
10687
10687
|
]), u.show({
|
|
10688
10688
|
position: {
|
|
10689
|
-
x:
|
|
10690
|
-
y:
|
|
10689
|
+
x: w.clientX,
|
|
10690
|
+
y: w.clientY
|
|
10691
10691
|
}
|
|
10692
10692
|
});
|
|
10693
|
-
}, k = (
|
|
10694
|
-
const x =
|
|
10693
|
+
}, k = (w) => {
|
|
10694
|
+
const x = w.name === M.value, D = JSON.stringify(w.params ?? {}) === JSON.stringify(y.params ?? {}), F = JSON.stringify(w.query ?? {}) === JSON.stringify(y.query ?? {});
|
|
10695
10695
|
(!x || !D || !F) && v.push({
|
|
10696
|
-
name:
|
|
10697
|
-
params:
|
|
10698
|
-
query:
|
|
10696
|
+
name: w.name,
|
|
10697
|
+
params: w.params,
|
|
10698
|
+
query: w.query
|
|
10699
10699
|
});
|
|
10700
|
-
},
|
|
10701
|
-
console.info(
|
|
10702
|
-
}, g = (
|
|
10703
|
-
i.closeTab(
|
|
10700
|
+
}, A = (w) => {
|
|
10701
|
+
console.info(w.name, M.value), w.name === M.value ? v.replace({ name: w.name, query: { t: +/* @__PURE__ */ new Date() } }) : k(w);
|
|
10702
|
+
}, g = (w, x) => {
|
|
10703
|
+
i.closeTab(w, x);
|
|
10704
10704
|
}, m = f(() => i.tabs), M = f(() => y.name), j = f(() => m.value.length);
|
|
10705
10705
|
return re(
|
|
10706
10706
|
() => j.value,
|
|
10707
|
-
(
|
|
10708
|
-
localStorage.setItem("tabs", JSON.stringify(m.value)),
|
|
10707
|
+
(w) => {
|
|
10708
|
+
localStorage.setItem("tabs", JSON.stringify(m.value)), w && p();
|
|
10709
10709
|
},
|
|
10710
10710
|
{
|
|
10711
10711
|
immediate: !0
|
|
@@ -10714,13 +10714,13 @@ const Kn = ca({
|
|
|
10714
10714
|
() => M.value,
|
|
10715
10715
|
() => {
|
|
10716
10716
|
me(() => {
|
|
10717
|
-
|
|
10717
|
+
S();
|
|
10718
10718
|
});
|
|
10719
10719
|
}
|
|
10720
10720
|
), ve(() => {
|
|
10721
10721
|
b.$el.removeEventListener("scroll", N), l == null || l(), l = null;
|
|
10722
|
-
}), (
|
|
10723
|
-
d("div",
|
|
10722
|
+
}), (w, x) => (_(), E("div", Yn, [
|
|
10723
|
+
d("div", Wn, [
|
|
10724
10724
|
(_(!0), E(oe, null, ie(t(m), (D, F) => (_(), E("div", {
|
|
10725
10725
|
key: D.name,
|
|
10726
10726
|
id: `tab_${D.name}`,
|
|
@@ -10730,28 +10730,28 @@ const Kn = ca({
|
|
|
10730
10730
|
]]),
|
|
10731
10731
|
onContextmenu: _e((J) => s(J, D, F), ["prevent", "stop"]),
|
|
10732
10732
|
onClick: (J) => k(D),
|
|
10733
|
-
onDblclick: (J) =>
|
|
10733
|
+
onDblclick: (J) => A(D)
|
|
10734
10734
|
}, [
|
|
10735
10735
|
D.icon ? (_(), E("i", {
|
|
10736
10736
|
key: 0,
|
|
10737
10737
|
class: U(["imicon", D.icon])
|
|
10738
10738
|
}, null, 2)) : G("", !0),
|
|
10739
|
-
ce(" " +
|
|
10739
|
+
ce(" " + L(D.meta.title) + " ", 1),
|
|
10740
10740
|
d("div", {
|
|
10741
10741
|
class: "abs r flexMode hc vc w20 h20",
|
|
10742
10742
|
onClick: _e((J) => g(D, F), ["stop"])
|
|
10743
10743
|
}, [...x[0] || (x[0] = [
|
|
10744
10744
|
d("span", null, "✕", -1)
|
|
10745
|
-
])], 8,
|
|
10746
|
-
], 42,
|
|
10745
|
+
])], 8, Xn)
|
|
10746
|
+
], 42, qn))), 128)),
|
|
10747
10747
|
x[1] || (x[1] = d("div", { class: "w16 h16 noShrink" }, null, -1))
|
|
10748
10748
|
])
|
|
10749
10749
|
]));
|
|
10750
10750
|
}
|
|
10751
|
-
}),
|
|
10751
|
+
}), eo = /* @__PURE__ */ ne(Qn, [["__scopeId", "data-v-e9bf80ea"]]), ao = { class: "LogoArea flexMode vc h64 p0-16 relative" }, lo = { class: "logo" }, no = { class: "logomini" }, oo = { class: "MenuArea p4 yscroll" }, to = ["onClick"], ro = { class: "itemIcon w24 txt-c txt-tip fs18" }, io = { key: 1 }, so = {
|
|
10752
10752
|
key: 0,
|
|
10753
10753
|
class: "itemChildrenArea mt2 p4"
|
|
10754
|
-
},
|
|
10754
|
+
}, uo = ["onClick"], co = { class: "itemIcon w24 txt-c txt-tip fs18" }, mo = { class: "h64 p8-4" }, bo = { class: "flexMode vc g8 p8-16 radius4 hover" }, vo = /* @__PURE__ */ Object.assign({
|
|
10755
10755
|
name: "FrameMenu",
|
|
10756
10756
|
inheritAttrs: !1
|
|
10757
10757
|
}, {
|
|
@@ -10779,22 +10779,22 @@ const Kn = ca({
|
|
|
10779
10779
|
});
|
|
10780
10780
|
const v = o, b = () => {
|
|
10781
10781
|
const g = localStorage.getItem("collapse");
|
|
10782
|
-
g && (l.collapse = JSON.parse(g)), document.addEventListener("keydown",
|
|
10782
|
+
g && (l.collapse = JSON.parse(g)), document.addEventListener("keydown", T);
|
|
10783
10783
|
}, r = (g) => {
|
|
10784
10784
|
l.collapse === !0 ? l.collapse = !1 : l.collapse === !1 ? l.collapse = !0 : l.collapse = g, localStorage.setItem("collapse", l.collapse), v("on-collapse-change", l.collapse);
|
|
10785
|
-
}, A = (g) => {
|
|
10786
|
-
!(g.metaKey || g.ctrlKey) || T(g) || (g.keyCode === 37 ? (g.preventDefault(), g.stopPropagation(), r(!0)) : g.keyCode === 39 && (g.preventDefault(), g.stopPropagation(), r(!1)));
|
|
10787
10785
|
}, T = (g) => {
|
|
10786
|
+
!(g.metaKey || g.ctrlKey) || S(g) || (g.keyCode === 37 ? (g.preventDefault(), g.stopPropagation(), r(!0)) : g.keyCode === 39 && (g.preventDefault(), g.stopPropagation(), r(!1)));
|
|
10787
|
+
}, S = (g) => {
|
|
10788
10788
|
const m = g.target;
|
|
10789
10789
|
return m instanceof HTMLElement ? !!m.closest("input, textarea, select, [contenteditable='true'], [contenteditable='']") : !1;
|
|
10790
|
-
},
|
|
10790
|
+
}, z = (g) => {
|
|
10791
10791
|
var m;
|
|
10792
|
-
return (m = g == null ? void 0 : g.children) != null && m.length ?
|
|
10793
|
-
},
|
|
10792
|
+
return (m = g == null ? void 0 : g.children) != null && m.length ? z(g.children[0]) : g;
|
|
10793
|
+
}, $ = (g) => {
|
|
10794
10794
|
var m;
|
|
10795
|
-
return ((m = g == null ? void 0 : g.children) == null ? void 0 : m.some((M) => M.name === n.name ||
|
|
10795
|
+
return ((m = g == null ? void 0 : g.children) == null ? void 0 : m.some((M) => M.name === n.name || $(M))) ?? !1;
|
|
10796
10796
|
}, N = (g) => {
|
|
10797
|
-
const m =
|
|
10797
|
+
const m = z(g);
|
|
10798
10798
|
m != null && m.name && i.push({ name: m.name });
|
|
10799
10799
|
}, p = () => {
|
|
10800
10800
|
const g = { ...n.query, _: Date.now() }, m = n.name ? { name: n.name, params: n.params, query: g } : { path: n.path, query: g };
|
|
@@ -10807,8 +10807,8 @@ const Kn = ca({
|
|
|
10807
10807
|
const g = () => {
|
|
10808
10808
|
var M, j;
|
|
10809
10809
|
try {
|
|
10810
|
-
const
|
|
10811
|
-
(M =
|
|
10810
|
+
const w = u.tab();
|
|
10811
|
+
(M = w.closeAllTab) == null || M.call(w), (j = w.$patch) == null || j.call(w, { ctab: {} }), localStorage.removeItem("tabs"), localStorage.removeItem("ctab");
|
|
10812
10812
|
} catch {
|
|
10813
10813
|
}
|
|
10814
10814
|
}, m = () => {
|
|
@@ -10830,19 +10830,19 @@ const Kn = ca({
|
|
|
10830
10830
|
}
|
|
10831
10831
|
m();
|
|
10832
10832
|
});
|
|
10833
|
-
},
|
|
10833
|
+
}, A = f(() => l.collapse ? "im-verticalleft" : "im-verticalright");
|
|
10834
10834
|
return ve(() => {
|
|
10835
|
-
document.removeEventListener("keydown",
|
|
10835
|
+
document.removeEventListener("keydown", T);
|
|
10836
10836
|
}), (g, m) => {
|
|
10837
10837
|
const M = K("el-popconfirm");
|
|
10838
10838
|
return _(), E("div", {
|
|
10839
10839
|
class: U(["FrameMenu sticky vh100 noselect noShrink", t(l).collapse && "collapse"])
|
|
10840
10840
|
}, [
|
|
10841
|
-
d("div",
|
|
10842
|
-
d("div",
|
|
10841
|
+
d("div", ao, [
|
|
10842
|
+
d("div", lo, [
|
|
10843
10843
|
q(g.$slots, "logo", {}, void 0, !0)
|
|
10844
10844
|
]),
|
|
10845
|
-
d("div",
|
|
10845
|
+
d("div", no, [
|
|
10846
10846
|
q(g.$slots, "logomini", {}, void 0, !0)
|
|
10847
10847
|
]),
|
|
10848
10848
|
d("div", {
|
|
@@ -10850,47 +10850,47 @@ const Kn = ca({
|
|
|
10850
10850
|
onClick: m[0] || (m[0] = (j) => r(t(l).collapse))
|
|
10851
10851
|
}, [
|
|
10852
10852
|
d("i", {
|
|
10853
|
-
class: U(["imicon fs20", t(
|
|
10853
|
+
class: U(["imicon fs20", t(A)])
|
|
10854
10854
|
}, null, 2)
|
|
10855
10855
|
])
|
|
10856
10856
|
]),
|
|
10857
|
-
d("div",
|
|
10858
|
-
(_(!0), E(oe, null, ie(e.routes, (j,
|
|
10857
|
+
d("div", oo, [
|
|
10858
|
+
(_(!0), E(oe, null, ie(e.routes, (j, w) => {
|
|
10859
10859
|
var x, D;
|
|
10860
10860
|
return _(), E("div", {
|
|
10861
|
-
key:
|
|
10861
|
+
key: w,
|
|
10862
10862
|
class: "menuItemWrap mb2"
|
|
10863
10863
|
}, [
|
|
10864
10864
|
d("div", {
|
|
10865
10865
|
class: U(["menuItem flexMode vc g8 radius4 p0-16", [
|
|
10866
10866
|
t(n).name === j.name && "active bg-primary",
|
|
10867
10867
|
t(l).collapse && "hc",
|
|
10868
|
-
t(l).collapse &&
|
|
10868
|
+
t(l).collapse && $(j) && "activeChild"
|
|
10869
10869
|
]]),
|
|
10870
10870
|
onClick: (F) => N(j),
|
|
10871
10871
|
onDblclick: p
|
|
10872
10872
|
}, [
|
|
10873
|
-
d("div",
|
|
10873
|
+
d("div", ro, [
|
|
10874
10874
|
j.meta.icon ? (_(), E("i", {
|
|
10875
10875
|
key: 0,
|
|
10876
10876
|
class: U([e.iconClass, j.meta.icon])
|
|
10877
|
-
}, null, 2)) : (_(), E("span",
|
|
10877
|
+
}, null, 2)) : (_(), E("span", io, L(((x = j.meta.title) == null ? void 0 : x.substr(0, 1)) || "U"), 1))
|
|
10878
10878
|
]),
|
|
10879
10879
|
d("div", {
|
|
10880
10880
|
class: U(["itemTitle txt-nowrap fs14", [
|
|
10881
10881
|
t(n).name === j.name && "active",
|
|
10882
10882
|
t(l).collapse && "hide"
|
|
10883
10883
|
]])
|
|
10884
|
-
},
|
|
10885
|
-
], 42,
|
|
10886
|
-
(D = j.children) != null && D.length ? (_(), E("div",
|
|
10884
|
+
}, L(j.meta.title), 3)
|
|
10885
|
+
], 42, to),
|
|
10886
|
+
(D = j.children) != null && D.length ? (_(), E("div", so, [
|
|
10887
10887
|
(_(!0), E(oe, null, ie(j.children, (F, J) => (_(), E("div", {
|
|
10888
10888
|
key: J,
|
|
10889
10889
|
class: U(["childrenItem flexMode vc g8 radius4 h40 p0-16", t(n).name === F.name && "active bg-primary"]),
|
|
10890
10890
|
onClick: (P) => N(F),
|
|
10891
10891
|
onDblclick: p
|
|
10892
10892
|
}, [
|
|
10893
|
-
d("div",
|
|
10893
|
+
d("div", co, [
|
|
10894
10894
|
F.meta.icon ? (_(), E("i", {
|
|
10895
10895
|
key: 0,
|
|
10896
10896
|
class: U([e.iconClass, F.meta.icon])
|
|
@@ -10901,24 +10901,24 @@ const Kn = ca({
|
|
|
10901
10901
|
t(n).name === F.name && "active",
|
|
10902
10902
|
t(l).collapse && "hide"
|
|
10903
10903
|
]])
|
|
10904
|
-
},
|
|
10905
|
-
], 42,
|
|
10904
|
+
}, L(F.meta.title), 3)
|
|
10905
|
+
], 42, uo))), 128))
|
|
10906
10906
|
])) : G("", !0)
|
|
10907
10907
|
]);
|
|
10908
10908
|
}), 128))
|
|
10909
10909
|
]),
|
|
10910
|
-
d("div",
|
|
10910
|
+
d("div", mo, [
|
|
10911
10911
|
B(M, {
|
|
10912
10912
|
placement: "top",
|
|
10913
10913
|
title: g.$l("Log out?"),
|
|
10914
10914
|
onConfirm: k
|
|
10915
10915
|
}, {
|
|
10916
10916
|
reference: I(() => [
|
|
10917
|
-
d("div",
|
|
10917
|
+
d("div", bo, [
|
|
10918
10918
|
m[1] || (m[1] = d("i", { class: "imicon im-power fs24" }, null, -1)),
|
|
10919
10919
|
d("span", {
|
|
10920
10920
|
class: U(["fs14", t(l).collapse && "hide"])
|
|
10921
|
-
},
|
|
10921
|
+
}, L(t(y).userinfo[e.usernameKey]), 3)
|
|
10922
10922
|
])
|
|
10923
10923
|
]),
|
|
10924
10924
|
_: 1
|
|
@@ -10927,7 +10927,7 @@ const Kn = ca({
|
|
|
10927
10927
|
], 2);
|
|
10928
10928
|
};
|
|
10929
10929
|
}
|
|
10930
|
-
}),
|
|
10930
|
+
}), po = /* @__PURE__ */ ne(vo, [["__scopeId", "data-v-49ba8b1f"]]), fo = { class: "FrameFooter" }, ho = { class: "txt-tip" }, _o = { class: "txt-primary" }, go = { class: "txt-dark3" }, yo = /* @__PURE__ */ Object.assign({
|
|
10931
10931
|
name: "FrameFooter",
|
|
10932
10932
|
inheritAttrs: !1
|
|
10933
10933
|
}, {
|
|
@@ -10935,13 +10935,13 @@ const Kn = ca({
|
|
|
10935
10935
|
setup(a) {
|
|
10936
10936
|
Q({});
|
|
10937
10937
|
const o = f(() => globalThis.$config);
|
|
10938
|
-
return (e, l) => (_(), E("div",
|
|
10939
|
-
d("span",
|
|
10940
|
-
d("span",
|
|
10941
|
-
d("span",
|
|
10938
|
+
return (e, l) => (_(), E("div", fo, [
|
|
10939
|
+
d("span", ho, L(t(o).copyright), 1),
|
|
10940
|
+
d("span", _o, L(t(o).author), 1),
|
|
10941
|
+
d("span", go, "Ver" + L(t(o).version), 1)
|
|
10942
10942
|
]));
|
|
10943
10943
|
}
|
|
10944
|
-
}),
|
|
10944
|
+
}), Ao = /* @__PURE__ */ ne(yo, [["__scopeId", "data-v-a471ccbf"]]), wo = { class: "FrameTool fixed r t flexMode vc g8 p0-8 w40 h40 noShrink z9" }, zo = /* @__PURE__ */ Object.assign({
|
|
10945
10945
|
name: "FrameTool",
|
|
10946
10946
|
inheritAttrs: !1
|
|
10947
10947
|
}, {
|
|
@@ -10963,7 +10963,7 @@ const Kn = ca({
|
|
|
10963
10963
|
return (n, i) => {
|
|
10964
10964
|
const u = K("Icon"), y = K("Drawer");
|
|
10965
10965
|
return _(), E(oe, null, [
|
|
10966
|
-
d("div",
|
|
10966
|
+
d("div", wo, [
|
|
10967
10967
|
d("div", {
|
|
10968
10968
|
class: "hover w24 h24 flexMode hc vc radius",
|
|
10969
10969
|
onClick: l
|
|
@@ -10982,10 +10982,10 @@ const Kn = ca({
|
|
|
10982
10982
|
], 64);
|
|
10983
10983
|
};
|
|
10984
10984
|
}
|
|
10985
|
-
}),
|
|
10985
|
+
}), So = {
|
|
10986
10986
|
key: 0,
|
|
10987
10987
|
class: "menuDivider"
|
|
10988
|
-
},
|
|
10988
|
+
}, To = ["disabled", "onClick"], Co = { class: "menuLabel" }, Mo = /* @__PURE__ */ Object.assign({
|
|
10989
10989
|
name: "FrameRightMenu",
|
|
10990
10990
|
inheritAttrs: !1
|
|
10991
10991
|
}, {
|
|
@@ -10995,8 +10995,8 @@ const Kn = ca({
|
|
|
10995
10995
|
x: 0,
|
|
10996
10996
|
y: 0,
|
|
10997
10997
|
ready: !1
|
|
10998
|
-
}), i = (
|
|
10999
|
-
const { position:
|
|
10998
|
+
}), i = (A, g, m) => Math.min(Math.max(A, g), m), u = (A) => Number.isFinite(Number(A)), y = () => {
|
|
10999
|
+
const { position: A, el: g } = e;
|
|
11000
11000
|
if (g != null && g.getBoundingClientRect) {
|
|
11001
11001
|
const m = g.getBoundingClientRect();
|
|
11002
11002
|
return {
|
|
@@ -11004,9 +11004,9 @@ const Kn = ca({
|
|
|
11004
11004
|
y: m.bottom + 4
|
|
11005
11005
|
};
|
|
11006
11006
|
}
|
|
11007
|
-
return
|
|
11008
|
-
x: Number(
|
|
11009
|
-
y: Number(
|
|
11007
|
+
return A && u(A.x) && u(A.y) ? {
|
|
11008
|
+
x: Number(A.x),
|
|
11009
|
+
y: Number(A.y)
|
|
11010
11010
|
} : {
|
|
11011
11011
|
x: 0,
|
|
11012
11012
|
y: 0
|
|
@@ -11015,26 +11015,26 @@ const Kn = ca({
|
|
|
11015
11015
|
if (n.ready = !1, !s.value)
|
|
11016
11016
|
return;
|
|
11017
11017
|
await me();
|
|
11018
|
-
const
|
|
11019
|
-
if (!
|
|
11018
|
+
const A = l.value;
|
|
11019
|
+
if (!A)
|
|
11020
11020
|
return;
|
|
11021
|
-
const g = y(), m =
|
|
11022
|
-
n.x = i(g.x, M, j), n.y = i(g.y, M,
|
|
11021
|
+
const g = y(), m = A.getBoundingClientRect(), M = 8, j = Math.max(M, window.innerWidth - m.width - M), w = Math.max(M, window.innerHeight - m.height - M);
|
|
11022
|
+
n.x = i(g.x, M, j), n.y = i(g.y, M, w), n.ready = !0;
|
|
11023
11023
|
}, b = () => {
|
|
11024
11024
|
e.visible && e.hide(), n.ready = !1;
|
|
11025
|
-
}, r = (
|
|
11025
|
+
}, r = (A) => {
|
|
11026
11026
|
var g;
|
|
11027
|
-
!s.value || (g = l.value) != null && g.contains(
|
|
11028
|
-
},
|
|
11027
|
+
!s.value || (g = l.value) != null && g.contains(A.target) || b();
|
|
11028
|
+
}, T = (A) => {
|
|
11029
11029
|
var g;
|
|
11030
|
-
!s.value || (g = l.value) != null && g.contains(
|
|
11031
|
-
},
|
|
11032
|
-
|
|
11033
|
-
},
|
|
11030
|
+
!s.value || (g = l.value) != null && g.contains(A.target) || b();
|
|
11031
|
+
}, S = (A) => {
|
|
11032
|
+
A.key === "Escape" && b();
|
|
11033
|
+
}, z = (A) => typeof A.disabled == "function" ? A.disabled(A) : !!A.disabled, $ = (A, g) => A.value ?? A.label ?? g, N = (A) => {
|
|
11034
11034
|
var g, m;
|
|
11035
|
-
if (!
|
|
11035
|
+
if (!z(A))
|
|
11036
11036
|
try {
|
|
11037
|
-
(g =
|
|
11037
|
+
(g = A.cb) == null || g.call(A, A), (m = A.onClick) == null || m.call(A, A);
|
|
11038
11038
|
} finally {
|
|
11039
11039
|
b();
|
|
11040
11040
|
}
|
|
@@ -11045,12 +11045,12 @@ const Kn = ca({
|
|
|
11045
11045
|
}));
|
|
11046
11046
|
return re(
|
|
11047
11047
|
() => {
|
|
11048
|
-
var
|
|
11048
|
+
var A, g;
|
|
11049
11049
|
return [
|
|
11050
11050
|
e.visible,
|
|
11051
11051
|
e.el,
|
|
11052
11052
|
e.options,
|
|
11053
|
-
(
|
|
11053
|
+
(A = e.position) == null ? void 0 : A.x,
|
|
11054
11054
|
(g = e.position) == null ? void 0 : g.y,
|
|
11055
11055
|
p.value.length
|
|
11056
11056
|
];
|
|
@@ -11062,10 +11062,10 @@ const Kn = ca({
|
|
|
11062
11062
|
flush: "post"
|
|
11063
11063
|
}
|
|
11064
11064
|
), se(() => {
|
|
11065
|
-
document.addEventListener("pointerdown", r, !0), document.addEventListener("contextmenu",
|
|
11065
|
+
document.addEventListener("pointerdown", r, !0), document.addEventListener("contextmenu", T, !0), document.addEventListener("keydown", S), window.addEventListener("resize", b), window.addEventListener("scroll", b, !0);
|
|
11066
11066
|
}), ve(() => {
|
|
11067
|
-
document.removeEventListener("pointerdown", r, !0), document.removeEventListener("contextmenu",
|
|
11068
|
-
}), (
|
|
11067
|
+
document.removeEventListener("pointerdown", r, !0), document.removeEventListener("contextmenu", T, !0), document.removeEventListener("keydown", S), window.removeEventListener("resize", b), window.removeEventListener("scroll", b, !0);
|
|
11068
|
+
}), (A, g) => (_(), le(Va, { to: "body" }, [
|
|
11069
11069
|
B(ma, { name: "FrameRightMenuFade" }, {
|
|
11070
11070
|
default: I(() => [
|
|
11071
11071
|
t(s) ? (_(), E("div", {
|
|
@@ -11082,21 +11082,21 @@ const Kn = ca({
|
|
|
11082
11082
|
}, ["prevent", "stop"]))
|
|
11083
11083
|
}, [
|
|
11084
11084
|
(_(!0), E(oe, null, ie(t(p), (m, M) => (_(), E(oe, {
|
|
11085
|
-
key:
|
|
11085
|
+
key: $(m, M)
|
|
11086
11086
|
}, [
|
|
11087
|
-
m.divider ? (_(), E("div",
|
|
11087
|
+
m.divider ? (_(), E("div", So)) : (_(), E("button", {
|
|
11088
11088
|
key: 1,
|
|
11089
11089
|
type: "button",
|
|
11090
|
-
class: U(["menuItem", { disabled:
|
|
11091
|
-
disabled:
|
|
11090
|
+
class: U(["menuItem", { disabled: z(m) }]),
|
|
11091
|
+
disabled: z(m),
|
|
11092
11092
|
onClick: (j) => N(m)
|
|
11093
11093
|
}, [
|
|
11094
11094
|
m.icon ? (_(), E("i", {
|
|
11095
11095
|
key: 0,
|
|
11096
11096
|
class: U(["imicon menuIcon", m.icon])
|
|
11097
11097
|
}, null, 2)) : G("", !0),
|
|
11098
|
-
d("span",
|
|
11099
|
-
], 10,
|
|
11098
|
+
d("span", Co, L(m.label), 1)
|
|
11099
|
+
], 10, To))
|
|
11100
11100
|
], 64))), 128))
|
|
11101
11101
|
], 36)) : G("", !0)
|
|
11102
11102
|
]),
|
|
@@ -11104,7 +11104,7 @@ const Kn = ca({
|
|
|
11104
11104
|
})
|
|
11105
11105
|
]));
|
|
11106
11106
|
}
|
|
11107
|
-
}),
|
|
11107
|
+
}), ko = /* @__PURE__ */ ne(Mo, [["__scopeId", "data-v-388539e5"]]), Eo = { class: "MvcFrame" }, Oo = /* @__PURE__ */ Object.assign({
|
|
11108
11108
|
name: "MvcFrame",
|
|
11109
11109
|
inheritAttrs: !1
|
|
11110
11110
|
}, {
|
|
@@ -11132,58 +11132,50 @@ const Kn = ca({
|
|
|
11132
11132
|
u();
|
|
11133
11133
|
});
|
|
11134
11134
|
const u = () => {
|
|
11135
|
-
const
|
|
11136
|
-
e.collapse =
|
|
11137
|
-
}, y = () => {
|
|
11138
|
-
|
|
11139
|
-
|
|
11140
|
-
const s = document.createElement("script");
|
|
11141
|
-
if (s.id = "iconfont", s.type = "text/javascript", s.src = (L = (w = globalThis.$config) == null ? void 0 : w.iconfont) == null ? void 0 : L.url, document.getElementById("iconfont"))
|
|
11142
|
-
return;
|
|
11143
|
-
document.head.appendChild(s), (p = (N = globalThis.$config) == null ? void 0 : N.iconfont) == null || delete p.url;
|
|
11144
|
-
}
|
|
11145
|
-
}, v = (A) => {
|
|
11146
|
-
e.collapse = A, localStorage.setItem("menuCollapse", A);
|
|
11147
|
-
}, b = f(() => i.pageLoading), r = f(() => ({
|
|
11135
|
+
const r = JSON.parse(localStorage.getItem("menuCollapse"));
|
|
11136
|
+
e.collapse = r, Ua(), Ha();
|
|
11137
|
+
}, y = (r) => {
|
|
11138
|
+
e.collapse = r, localStorage.setItem("menuCollapse", r);
|
|
11139
|
+
}, v = f(() => i.pageLoading), b = f(() => ({
|
|
11148
11140
|
maxWidth: e.collapse ? "calc(100% - 4rem)" : "calc(100% - 12rem)"
|
|
11149
11141
|
}));
|
|
11150
|
-
return (
|
|
11151
|
-
const
|
|
11152
|
-
return _(), E("div",
|
|
11153
|
-
B(
|
|
11154
|
-
|
|
11142
|
+
return (r, T) => {
|
|
11143
|
+
const S = K("Loading"), z = K("router-view");
|
|
11144
|
+
return _(), E("div", Eo, [
|
|
11145
|
+
B(po, te(o.menu, { onOnCollapseChange: y }), be({ _: 2 }, [
|
|
11146
|
+
r.$slots.logo ? {
|
|
11155
11147
|
name: "logo",
|
|
11156
11148
|
fn: I(() => [
|
|
11157
|
-
q(
|
|
11149
|
+
q(r.$slots, "logo", {}, void 0, !0)
|
|
11158
11150
|
]),
|
|
11159
11151
|
key: "0"
|
|
11160
11152
|
} : void 0,
|
|
11161
|
-
|
|
11153
|
+
r.$slots.logomini ? {
|
|
11162
11154
|
name: "logomini",
|
|
11163
11155
|
fn: I(() => [
|
|
11164
|
-
q(
|
|
11156
|
+
q(r.$slots, "logomini", {}, void 0, !0)
|
|
11165
11157
|
]),
|
|
11166
11158
|
key: "1"
|
|
11167
11159
|
} : void 0
|
|
11168
11160
|
]), 1040),
|
|
11169
11161
|
d("div", {
|
|
11170
11162
|
class: "PageArea",
|
|
11171
|
-
style: de(t(
|
|
11163
|
+
style: de(t(b))
|
|
11172
11164
|
}, [
|
|
11173
|
-
B(
|
|
11174
|
-
t(n).useTab ? (_(), le(
|
|
11175
|
-
B(
|
|
11176
|
-
B(
|
|
11177
|
-
B(
|
|
11165
|
+
B(S, { loading: t(v) }, null, 8, ["loading"]),
|
|
11166
|
+
t(n).useTab ? (_(), le(eo, { key: 0 })) : G("", !0),
|
|
11167
|
+
B(zo),
|
|
11168
|
+
B(z, he(we(o.page)), null, 16),
|
|
11169
|
+
B(Ao)
|
|
11178
11170
|
], 4),
|
|
11179
|
-
B(
|
|
11171
|
+
B(ko)
|
|
11180
11172
|
]);
|
|
11181
11173
|
};
|
|
11182
11174
|
}
|
|
11183
|
-
}),
|
|
11175
|
+
}), xo = /* @__PURE__ */ ne(Oo, [["__scopeId", "data-v-88a24cd2"]]), Po = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
11184
11176
|
__proto__: null,
|
|
11185
|
-
default:
|
|
11186
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
11177
|
+
default: xo
|
|
11178
|
+
}, Symbol.toStringTag, { value: "Module" })), Lo = ["xlink:href"], No = /* @__PURE__ */ Object.assign({
|
|
11187
11179
|
name: "MvcIcon"
|
|
11188
11180
|
}, {
|
|
11189
11181
|
__name: "index",
|
|
@@ -11219,16 +11211,16 @@ const Kn = ca({
|
|
|
11219
11211
|
}, [
|
|
11220
11212
|
d("use", {
|
|
11221
11213
|
"xlink:href": `#${t(e).prefix}-${a.name}`
|
|
11222
|
-
}, null, 8,
|
|
11214
|
+
}, null, 8, Lo)
|
|
11223
11215
|
], 4));
|
|
11224
11216
|
}
|
|
11225
|
-
}),
|
|
11217
|
+
}), $o = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
11226
11218
|
__proto__: null,
|
|
11227
|
-
default:
|
|
11228
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
11219
|
+
default: No
|
|
11220
|
+
}, Symbol.toStringTag, { value: "Module" })), Io = {
|
|
11229
11221
|
key: 0,
|
|
11230
11222
|
class: "MvcFieldLabel"
|
|
11231
|
-
},
|
|
11223
|
+
}, jo = /* @__PURE__ */ Object.assign({
|
|
11232
11224
|
name: "MvcInput",
|
|
11233
11225
|
inheritAttrs: !1
|
|
11234
11226
|
}, {
|
|
@@ -11270,27 +11262,27 @@ const Kn = ca({
|
|
|
11270
11262
|
val: "",
|
|
11271
11263
|
isComposing: !1,
|
|
11272
11264
|
focused: !1
|
|
11273
|
-
}), b = o, { proxy: r } = pe(),
|
|
11265
|
+
}), b = o, { proxy: r } = pe(), T = f(() => {
|
|
11274
11266
|
const { class: V, ...h } = n;
|
|
11275
11267
|
return { ...h, placeholder: x.value };
|
|
11276
11268
|
});
|
|
11277
11269
|
se(() => {
|
|
11278
|
-
u =
|
|
11270
|
+
u = S(), u && (u.addEventListener("compositionstart", p), u.addEventListener("compositionend", s)), e.focus && N();
|
|
11279
11271
|
});
|
|
11280
|
-
const
|
|
11272
|
+
const S = () => {
|
|
11281
11273
|
var h, C, R;
|
|
11282
11274
|
const V = (h = i.value) == null ? void 0 : h.$el;
|
|
11283
11275
|
return u = ((C = V == null ? void 0 : V.querySelector) == null ? void 0 : C.call(V, "input")) || ((R = V == null ? void 0 : V.querySelector) == null ? void 0 : R.call(V, "textarea")) || u, u;
|
|
11284
|
-
},
|
|
11276
|
+
}, z = () => {
|
|
11285
11277
|
y && (clearTimeout(y), y = null);
|
|
11286
|
-
},
|
|
11278
|
+
}, $ = () => {
|
|
11287
11279
|
var h, C;
|
|
11288
11280
|
(C = (h = i.value) == null ? void 0 : h.focus) == null || C.call(h);
|
|
11289
|
-
const V =
|
|
11281
|
+
const V = S();
|
|
11290
11282
|
return V ? (V.focus(), document.activeElement === V) : !1;
|
|
11291
11283
|
}, N = (V = 0) => {
|
|
11292
|
-
|
|
11293
|
-
!e.focus || typeof window > "u" ||
|
|
11284
|
+
z(), me(() => {
|
|
11285
|
+
!e.focus || typeof window > "u" || $() || V >= 5 || (y = setTimeout(() => {
|
|
11294
11286
|
y = null, N(V + 1);
|
|
11295
11287
|
}, 30));
|
|
11296
11288
|
});
|
|
@@ -11300,7 +11292,7 @@ const Kn = ca({
|
|
|
11300
11292
|
v.isComposing = !1, me(() => M(v.val));
|
|
11301
11293
|
}, k = (V) => {
|
|
11302
11294
|
v.isComposing || M(V);
|
|
11303
|
-
},
|
|
11295
|
+
}, A = (V) => {
|
|
11304
11296
|
v.focused = !0, b("focus", V);
|
|
11305
11297
|
}, g = (V) => {
|
|
11306
11298
|
v.focused = !1, b("blur", V);
|
|
@@ -11308,7 +11300,7 @@ const Kn = ca({
|
|
|
11308
11300
|
b("enter", v.val, V);
|
|
11309
11301
|
}, M = (V) => {
|
|
11310
11302
|
b("update:modelValue", V), b("input", V);
|
|
11311
|
-
}, j = f(() => !!(r.$attrs.maxlength ||
|
|
11303
|
+
}, j = f(() => !!(r.$attrs.maxlength || w.value)), w = f(() => r.$attrs.max), x = f(() => n.placeholder ? n.placeholder.$l() : " "), D = f(() => String(v.val ?? "").length > 0), F = f(() => !!n.placeholder), J = f(
|
|
11312
11304
|
() => e.materialLabel && (v.focused || D.value || F.value || l.prefix)
|
|
11313
11305
|
), P = f(() => ({
|
|
11314
11306
|
[n.class]: !!n.class,
|
|
@@ -11334,30 +11326,30 @@ const Kn = ca({
|
|
|
11334
11326
|
), re(
|
|
11335
11327
|
() => e.focus,
|
|
11336
11328
|
(V) => {
|
|
11337
|
-
V ? N() :
|
|
11329
|
+
V ? N() : z();
|
|
11338
11330
|
},
|
|
11339
11331
|
{ flush: "post" }
|
|
11340
11332
|
), ve(() => {
|
|
11341
|
-
|
|
11333
|
+
z(), u && (u.removeEventListener("compositionstart", p), u.removeEventListener("compositionend", s), u = null);
|
|
11342
11334
|
}), (V, h) => {
|
|
11343
11335
|
const C = K("el-input");
|
|
11344
11336
|
return _(), E("div", {
|
|
11345
11337
|
class: U(["MvcField MvcFieldInput", t(P)]),
|
|
11346
11338
|
style: de(t(W))
|
|
11347
11339
|
}, [
|
|
11348
|
-
e.label ? (_(), E("label",
|
|
11340
|
+
e.label ? (_(), E("label", Io, L(e.label), 1)) : G("", !0),
|
|
11349
11341
|
B(C, te({
|
|
11350
11342
|
ref_key: "inputRef",
|
|
11351
11343
|
ref: i,
|
|
11352
11344
|
modelValue: t(v).val,
|
|
11353
11345
|
"onUpdate:modelValue": h[0] || (h[0] = (R) => t(v).val = R),
|
|
11354
11346
|
"show-word-limit": t(j),
|
|
11355
|
-
maxlength: t(
|
|
11347
|
+
maxlength: t(w),
|
|
11356
11348
|
class: "MvcInput"
|
|
11357
|
-
}, t(
|
|
11349
|
+
}, t(T), {
|
|
11358
11350
|
onInput: k,
|
|
11359
11351
|
onKeydown: ba(m, ["enter"]),
|
|
11360
|
-
onFocus:
|
|
11352
|
+
onFocus: A,
|
|
11361
11353
|
onBlur: g
|
|
11362
11354
|
}), be({ _: 2 }, [
|
|
11363
11355
|
ie(t(l), (R, X) => ({
|
|
@@ -11370,13 +11362,13 @@ const Kn = ca({
|
|
|
11370
11362
|
], 6);
|
|
11371
11363
|
};
|
|
11372
11364
|
}
|
|
11373
|
-
}),
|
|
11365
|
+
}), Bo = /* @__PURE__ */ ne(jo, [["__scopeId", "data-v-20ebb61b"]]), Do = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
11374
11366
|
__proto__: null,
|
|
11375
|
-
default:
|
|
11376
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
11367
|
+
default: Bo
|
|
11368
|
+
}, Symbol.toStringTag, { value: "Module" })), Ro = {
|
|
11377
11369
|
key: 0,
|
|
11378
11370
|
class: "MvcFieldLabel"
|
|
11379
|
-
},
|
|
11371
|
+
}, Vo = /* @__PURE__ */ Object.assign({
|
|
11380
11372
|
name: "MvcInputNumber",
|
|
11381
11373
|
inheritAttrs: !1
|
|
11382
11374
|
}, {
|
|
@@ -11423,26 +11415,26 @@ const Kn = ca({
|
|
|
11423
11415
|
controlsHovering: !1
|
|
11424
11416
|
}), b = o;
|
|
11425
11417
|
se(() => {
|
|
11426
|
-
e.focus &&
|
|
11418
|
+
e.focus && z();
|
|
11427
11419
|
});
|
|
11428
11420
|
const r = () => {
|
|
11429
11421
|
y && (clearTimeout(y), y = null);
|
|
11430
|
-
},
|
|
11422
|
+
}, T = () => {
|
|
11431
11423
|
var C, R;
|
|
11432
11424
|
const h = (C = i.value) == null ? void 0 : C.$el;
|
|
11433
11425
|
return u = ((R = h == null ? void 0 : h.querySelector) == null ? void 0 : R.call(h, "input")) || u, u;
|
|
11434
|
-
},
|
|
11426
|
+
}, S = () => {
|
|
11435
11427
|
var C, R;
|
|
11436
11428
|
(R = (C = i.value) == null ? void 0 : C.focus) == null || R.call(C);
|
|
11437
|
-
const h =
|
|
11429
|
+
const h = T();
|
|
11438
11430
|
return h ? (h.focus(), document.activeElement === h) : !1;
|
|
11439
|
-
},
|
|
11431
|
+
}, z = (h = 0) => {
|
|
11440
11432
|
r(), me(() => {
|
|
11441
|
-
!e.focus || typeof window > "u" ||
|
|
11442
|
-
y = null,
|
|
11433
|
+
!e.focus || typeof window > "u" || S() || h >= 5 || (y = setTimeout(() => {
|
|
11434
|
+
y = null, z(h + 1);
|
|
11443
11435
|
}, 30));
|
|
11444
11436
|
});
|
|
11445
|
-
},
|
|
11437
|
+
}, $ = (h) => {
|
|
11446
11438
|
v.val = h, b("update:modelValue", h), b("input", h);
|
|
11447
11439
|
}, N = (h, C) => {
|
|
11448
11440
|
b("change", h, C);
|
|
@@ -11453,7 +11445,7 @@ const Kn = ca({
|
|
|
11453
11445
|
}, k = (h) => {
|
|
11454
11446
|
var C;
|
|
11455
11447
|
return !!((C = h == null ? void 0 : h.closest) != null && C.call(h, ".el-input-number__increase, .el-input-number__decrease"));
|
|
11456
|
-
},
|
|
11448
|
+
}, A = (h) => {
|
|
11457
11449
|
v.controlsHovering = k(h.target);
|
|
11458
11450
|
}, g = () => {
|
|
11459
11451
|
v.controlsHovering = !1;
|
|
@@ -11466,11 +11458,11 @@ const Kn = ca({
|
|
|
11466
11458
|
}), j = f(() => ({
|
|
11467
11459
|
...M.value,
|
|
11468
11460
|
...m.value
|
|
11469
|
-
})),
|
|
11461
|
+
})), w = f(() => {
|
|
11470
11462
|
const h = v.val;
|
|
11471
11463
|
return h != null && String(h) !== "";
|
|
11472
11464
|
}), x = f(() => !!n.placeholder), D = f(
|
|
11473
|
-
() => e.materialLabel && (v.focused ||
|
|
11465
|
+
() => e.materialLabel && (v.focused || w.value || x.value || l.prefix)
|
|
11474
11466
|
), F = f(
|
|
11475
11467
|
() => e.controls && e.controlsPosition === "right"
|
|
11476
11468
|
), J = f(() => !e.controls), P = f(
|
|
@@ -11502,7 +11494,7 @@ const Kn = ca({
|
|
|
11502
11494
|
), re(
|
|
11503
11495
|
() => e.focus,
|
|
11504
11496
|
(h) => {
|
|
11505
|
-
h ?
|
|
11497
|
+
h ? z() : r();
|
|
11506
11498
|
},
|
|
11507
11499
|
{ flush: "post" }
|
|
11508
11500
|
), ve(() => {
|
|
@@ -11513,18 +11505,18 @@ const Kn = ca({
|
|
|
11513
11505
|
class: U(["MvcField MvcFieldInputNumber", t(W)]),
|
|
11514
11506
|
style: de(t(V))
|
|
11515
11507
|
}, [
|
|
11516
|
-
e.label ? (_(), E("label",
|
|
11508
|
+
e.label ? (_(), E("label", Ro, L(e.label), 1)) : G("", !0),
|
|
11517
11509
|
B(R, te({
|
|
11518
11510
|
ref_key: "inputNumberRef",
|
|
11519
11511
|
ref: i,
|
|
11520
11512
|
"model-value": t(v).val,
|
|
11521
11513
|
class: "MvcInputNumber"
|
|
11522
11514
|
}, t(j), {
|
|
11523
|
-
"onUpdate:modelValue":
|
|
11515
|
+
"onUpdate:modelValue": $,
|
|
11524
11516
|
onChange: N,
|
|
11525
11517
|
onFocus: p,
|
|
11526
11518
|
onBlur: s,
|
|
11527
|
-
onMousemove:
|
|
11519
|
+
onMousemove: A,
|
|
11528
11520
|
onMouseleave: g
|
|
11529
11521
|
}), be({ _: 2 }, [
|
|
11530
11522
|
ie(t(l), (X, c) => ({
|
|
@@ -11537,13 +11529,13 @@ const Kn = ca({
|
|
|
11537
11529
|
], 6);
|
|
11538
11530
|
};
|
|
11539
11531
|
}
|
|
11540
|
-
}),
|
|
11532
|
+
}), Fo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
11541
11533
|
__proto__: null,
|
|
11542
|
-
default:
|
|
11543
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
11534
|
+
default: Vo
|
|
11535
|
+
}, Symbol.toStringTag, { value: "Module" })), Go = { class: "flexMode vc g8 vl" }, Ko = {
|
|
11544
11536
|
key: 0,
|
|
11545
11537
|
class: "langTag fs12 txt-tip noShrink"
|
|
11546
|
-
},
|
|
11538
|
+
}, Uo = { class: "txt-p" }, Ho = /* @__PURE__ */ Object.assign({
|
|
11547
11539
|
name: "MvcLang",
|
|
11548
11540
|
inheritAttrs: !1
|
|
11549
11541
|
}, {
|
|
@@ -11574,35 +11566,35 @@ const Kn = ca({
|
|
|
11574
11566
|
u();
|
|
11575
11567
|
});
|
|
11576
11568
|
const i = (b) => {
|
|
11577
|
-
var
|
|
11578
|
-
const r = (typeof localStorage < "u" ? localStorage.getItem(Je) : null) || ((
|
|
11569
|
+
var T;
|
|
11570
|
+
const r = (typeof localStorage < "u" ? localStorage.getItem(Je) : null) || ((T = globalThis.$config) == null ? void 0 : T.lang) || "en_us";
|
|
11579
11571
|
b == null || b === r || (typeof localStorage < "u" && localStorage.setItem(Je, b), window.location.reload());
|
|
11580
11572
|
}, u = () => {
|
|
11581
|
-
var
|
|
11582
|
-
const b = ((
|
|
11573
|
+
var T;
|
|
11574
|
+
const b = ((T = globalThis.$getLang) == null ? void 0 : T.call(globalThis)) || "en_us", r = y.value.map((S) => S.value);
|
|
11583
11575
|
n.lang = r.includes(b) ? b : r[0] || "en_us";
|
|
11584
11576
|
}, y = f(() => {
|
|
11585
11577
|
var r;
|
|
11586
|
-
return ((r = globalThis.$config) != null && r.langUse && Array.isArray(globalThis.$config.langUse) && globalThis.$config.langUse.length > 0 ? globalThis.$config.langUse :
|
|
11578
|
+
return ((r = globalThis.$config) != null && r.langUse && Array.isArray(globalThis.$config.langUse) && globalThis.$config.langUse.length > 0 ? globalThis.$config.langUse : tl.filter((T) => T.use !== !1)).filter((T) => T && T.use !== !1 && T.value);
|
|
11587
11579
|
}), v = f(() => y.value.find((b) => b.value === n.lang) ?? null);
|
|
11588
11580
|
return (b, r) => {
|
|
11589
|
-
const
|
|
11590
|
-
return _(), le(
|
|
11581
|
+
const T = K("el-tooltip"), S = K("el-option"), z = K("el-select");
|
|
11582
|
+
return _(), le(z, te({
|
|
11591
11583
|
modelValue: n.lang,
|
|
11592
|
-
"onUpdate:modelValue": r[0] || (r[0] = (
|
|
11584
|
+
"onUpdate:modelValue": r[0] || (r[0] = ($) => n.lang = $),
|
|
11593
11585
|
class: ["MvcLang", [b.$attrs.class, o.iconTrigger && "iconTrigger"]],
|
|
11594
11586
|
teleported: o.teleported
|
|
11595
11587
|
}, l.value, { onChange: i }), be({
|
|
11596
11588
|
default: I(() => [
|
|
11597
|
-
(_(!0), E(oe, null, ie(y.value, (
|
|
11598
|
-
key:
|
|
11599
|
-
label:
|
|
11600
|
-
value:
|
|
11589
|
+
(_(!0), E(oe, null, ie(y.value, ($) => (_(), le(S, {
|
|
11590
|
+
key: $.value,
|
|
11591
|
+
label: $.label,
|
|
11592
|
+
value: $.value
|
|
11601
11593
|
}, {
|
|
11602
11594
|
default: I(() => [
|
|
11603
|
-
d("div",
|
|
11604
|
-
o.useIcon ? (_(), E("span",
|
|
11605
|
-
d("span",
|
|
11595
|
+
d("div", Go, [
|
|
11596
|
+
o.useIcon ? (_(), E("span", Ko, L($.txt), 1)) : G("", !0),
|
|
11597
|
+
d("span", Uo, L($.label), 1)
|
|
11606
11598
|
])
|
|
11607
11599
|
]),
|
|
11608
11600
|
_: 2
|
|
@@ -11613,10 +11605,10 @@ const Kn = ca({
|
|
|
11613
11605
|
o.useIcon ? {
|
|
11614
11606
|
name: "prefix",
|
|
11615
11607
|
fn: I(() => {
|
|
11616
|
-
var
|
|
11608
|
+
var $;
|
|
11617
11609
|
return [
|
|
11618
|
-
B(
|
|
11619
|
-
content: ((
|
|
11610
|
+
B(T, {
|
|
11611
|
+
content: (($ = v.value) == null ? void 0 : $.label) || "",
|
|
11620
11612
|
disabled: !v.value,
|
|
11621
11613
|
placement: "bottom"
|
|
11622
11614
|
}, {
|
|
@@ -11637,10 +11629,10 @@ const Kn = ca({
|
|
|
11637
11629
|
]), 1040, ["modelValue", "class", "teleported"]);
|
|
11638
11630
|
};
|
|
11639
11631
|
}
|
|
11640
|
-
}),
|
|
11632
|
+
}), Jo = /* @__PURE__ */ ne(Ho, [["__scopeId", "data-v-2163b704"]]), Zo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
11641
11633
|
__proto__: null,
|
|
11642
|
-
default:
|
|
11643
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
11634
|
+
default: Jo
|
|
11635
|
+
}, Symbol.toStringTag, { value: "Module" })), Yo = { class: "listViewport" }, Wo = ["aria-selected", "onClick"], qo = /* @__PURE__ */ Object.assign({
|
|
11644
11636
|
name: "MvcList",
|
|
11645
11637
|
inheritAttrs: !1
|
|
11646
11638
|
}, {
|
|
@@ -11700,25 +11692,25 @@ const Kn = ca({
|
|
|
11700
11692
|
const e = a, l = o, n = (r) => r.value === e.modelValue, i = (r) => {
|
|
11701
11693
|
e.loading || e.disabled || r.disabled || (l("update:modelValue", r.value), l("change", r.value, r.raw));
|
|
11702
11694
|
}, u = (r) => {
|
|
11703
|
-
var
|
|
11704
|
-
const
|
|
11705
|
-
return
|
|
11695
|
+
var z;
|
|
11696
|
+
const T = r.value, S = ((z = globalThis.$getType) == null ? void 0 : z.call(globalThis, T)) ?? typeof T;
|
|
11697
|
+
return S === "Object" || S === "Array" ? JSON.stringify(T) : String(T);
|
|
11706
11698
|
}, y = f(() => {
|
|
11707
|
-
const r = e.options,
|
|
11708
|
-
return
|
|
11709
|
-
value:
|
|
11710
|
-
label:
|
|
11711
|
-
disabled:
|
|
11712
|
-
raw:
|
|
11699
|
+
const r = e.options, T = Array.isArray(r) ? r : [], S = e.valueKey, z = e.labelKey;
|
|
11700
|
+
return T.filter(($) => $ != null).map(($) => typeof $ == "object" && !Array.isArray($) ? {
|
|
11701
|
+
value: $[S],
|
|
11702
|
+
label: $[z] ?? "",
|
|
11703
|
+
disabled: !!$.disabled,
|
|
11704
|
+
raw: $
|
|
11713
11705
|
} : {
|
|
11714
|
-
value:
|
|
11715
|
-
label: String(
|
|
11706
|
+
value: $,
|
|
11707
|
+
label: String($),
|
|
11716
11708
|
disabled: !1,
|
|
11717
|
-
raw:
|
|
11709
|
+
raw: $
|
|
11718
11710
|
});
|
|
11719
11711
|
}), v = f(() => e.size === "small" ? "sizeSmall" : e.size === "large" ? "sizeLarge" : ""), b = f(() => {
|
|
11720
|
-
var
|
|
11721
|
-
const r = (
|
|
11712
|
+
var T, S;
|
|
11713
|
+
const r = (S = (T = e.loadingTxt) == null ? void 0 : T.trim) == null ? void 0 : S.call(T);
|
|
11722
11714
|
return {
|
|
11723
11715
|
icon: e.loadingIcon,
|
|
11724
11716
|
showTxt: !!r,
|
|
@@ -11726,39 +11718,39 @@ const Kn = ca({
|
|
|
11726
11718
|
radius: 8
|
|
11727
11719
|
};
|
|
11728
11720
|
});
|
|
11729
|
-
return (r,
|
|
11730
|
-
const
|
|
11721
|
+
return (r, T) => {
|
|
11722
|
+
const S = K("Loading");
|
|
11731
11723
|
return _(), E("div", te({
|
|
11732
11724
|
class: ["MvcList", [t(v), r.$attrs.class]]
|
|
11733
11725
|
}, r.$attrs), [
|
|
11734
|
-
d("div",
|
|
11726
|
+
d("div", Yo, [
|
|
11735
11727
|
d("div", {
|
|
11736
11728
|
class: U(["listScroll yscroll", e.listClass]),
|
|
11737
11729
|
role: "listbox"
|
|
11738
11730
|
}, [
|
|
11739
|
-
(_(!0), E(oe, null, ie(t(y), (
|
|
11740
|
-
key: u(
|
|
11741
|
-
class: U(["listItem", [e.itemClass, { active: n(
|
|
11731
|
+
(_(!0), E(oe, null, ie(t(y), (z) => (_(), E("div", {
|
|
11732
|
+
key: u(z),
|
|
11733
|
+
class: U(["listItem", [e.itemClass, { active: n(z), isDisabled: z.disabled }]]),
|
|
11742
11734
|
role: "option",
|
|
11743
|
-
"aria-selected": n(
|
|
11744
|
-
onClick: (
|
|
11735
|
+
"aria-selected": n(z),
|
|
11736
|
+
onClick: ($) => i(z)
|
|
11745
11737
|
}, [
|
|
11746
|
-
q(r.$slots, "item", { option:
|
|
11747
|
-
ce(
|
|
11738
|
+
q(r.$slots, "item", { option: z }, () => [
|
|
11739
|
+
ce(L(r.$l(z.label)), 1)
|
|
11748
11740
|
], !0)
|
|
11749
|
-
], 10,
|
|
11741
|
+
], 10, Wo))), 128))
|
|
11750
11742
|
], 2),
|
|
11751
|
-
B(
|
|
11743
|
+
B(S, te({
|
|
11752
11744
|
loading: e.loading
|
|
11753
11745
|
}, t(b)), null, 16, ["loading"])
|
|
11754
11746
|
])
|
|
11755
11747
|
], 16);
|
|
11756
11748
|
};
|
|
11757
11749
|
}
|
|
11758
|
-
}),
|
|
11750
|
+
}), Xo = /* @__PURE__ */ ne(qo, [["__scopeId", "data-v-cdd3bad5"]]), Qo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
11759
11751
|
__proto__: null,
|
|
11760
|
-
default:
|
|
11761
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
11752
|
+
default: Xo
|
|
11753
|
+
}, Symbol.toStringTag, { value: "Module" })), et = { class: "content flexMode flexV vc g12 relative z1" }, at = /* @__PURE__ */ Object.assign({
|
|
11762
11754
|
name: "MvcLoading",
|
|
11763
11755
|
inheritAttrs: !1
|
|
11764
11756
|
}, {
|
|
@@ -11815,7 +11807,7 @@ const Kn = ca({
|
|
|
11815
11807
|
zIndex: o.z
|
|
11816
11808
|
})
|
|
11817
11809
|
}, [
|
|
11818
|
-
d("div",
|
|
11810
|
+
d("div", et, [
|
|
11819
11811
|
d("i", {
|
|
11820
11812
|
class: U([o.icon, `fs${o.size}`, "imicon ani-rotate"]),
|
|
11821
11813
|
"aria-hidden": "true"
|
|
@@ -11823,23 +11815,23 @@ const Kn = ca({
|
|
|
11823
11815
|
o.showTxt ? (_(), E("span", {
|
|
11824
11816
|
key: 0,
|
|
11825
11817
|
class: U(["loaderTxt fs14 txt-c", o.txtClass])
|
|
11826
|
-
},
|
|
11818
|
+
}, L(e.$l(o.txt)), 3)) : G("", !0)
|
|
11827
11819
|
])
|
|
11828
11820
|
], 4)) : G("", !0)
|
|
11829
11821
|
]),
|
|
11830
11822
|
_: 1
|
|
11831
11823
|
}));
|
|
11832
11824
|
}
|
|
11833
|
-
}),
|
|
11825
|
+
}), lt = /* @__PURE__ */ ne(at, [["__scopeId", "data-v-305a4676"]]), nt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
11834
11826
|
__proto__: null,
|
|
11835
|
-
default:
|
|
11836
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
11827
|
+
default: lt
|
|
11828
|
+
}, Symbol.toStringTag, { value: "Module" })), ot = { class: "MvcLogin flexMode flexV hc vc wp100 vh100 p24-16" }, tt = { class: "panelWrap wp100 maxw400 p24 radius8 border noShrink" }, rt = { class: "flexMode vc hb mb16" }, it = { class: "pl8 fs20 fw700 txt-h1" }, st = { class: "contentArea minh160" }, ut = {
|
|
11837
11829
|
key: 1,
|
|
11838
11830
|
class: "oauthAuthPanel flexMode flexV g8 wp100 vl"
|
|
11839
|
-
},
|
|
11831
|
+
}, ct = ["disabled"], dt = ["disabled"], mt = {
|
|
11840
11832
|
key: 2,
|
|
11841
11833
|
class: "scanArea flexMode flexV vc g12"
|
|
11842
|
-
},
|
|
11834
|
+
}, bt = { class: "scanTitle m0 block fs14 txt-h2" }, vt = { class: "footerLine flexMode flexWrap hc g8 mt24 fs12 txt-tip" }, ke = "mvframe_login_remember", pt = /* @__PURE__ */ Object.assign({
|
|
11843
11835
|
name: "MvcLogin",
|
|
11844
11836
|
inheritAttrs: !1
|
|
11845
11837
|
}, {
|
|
@@ -11910,12 +11902,12 @@ const Kn = ca({
|
|
|
11910
11902
|
}
|
|
11911
11903
|
}, r = () => {
|
|
11912
11904
|
v("Google 登录需按官方物料与 OAuth 配置 token,当前未发起跳转。");
|
|
11913
|
-
},
|
|
11905
|
+
}, T = () => {
|
|
11914
11906
|
v("Sign in with Apple 需按 Apple 人机界面指南配置服务,当前未发起跳转。");
|
|
11915
|
-
},
|
|
11916
|
-
var
|
|
11907
|
+
}, S = async () => {
|
|
11908
|
+
var w, x;
|
|
11917
11909
|
if (e.loading || i.value) return;
|
|
11918
|
-
const m = await ((x = (
|
|
11910
|
+
const m = await ((x = (w = n.value) == null ? void 0 : w.validate) == null ? void 0 : x.call(w));
|
|
11919
11911
|
if (!m) return;
|
|
11920
11912
|
const M = String(m.username ?? "").trim();
|
|
11921
11913
|
if (!M)
|
|
@@ -11938,13 +11930,13 @@ const Kn = ca({
|
|
|
11938
11930
|
i.value = !1;
|
|
11939
11931
|
}
|
|
11940
11932
|
}
|
|
11941
|
-
},
|
|
11933
|
+
}, z = f(() => !!e.loading || i.value), $ = f(() => {
|
|
11942
11934
|
const m = globalThis.$config;
|
|
11943
11935
|
return {
|
|
11944
11936
|
copyright: (m == null ? void 0 : m.copyright) ?? "",
|
|
11945
11937
|
author: (m == null ? void 0 : m.author) ?? ""
|
|
11946
11938
|
};
|
|
11947
|
-
}), N = f(() =>
|
|
11939
|
+
}), N = f(() => A[u.method] ?? "Login"), p = f(() => ({
|
|
11948
11940
|
username: {
|
|
11949
11941
|
...g.username,
|
|
11950
11942
|
...e.formFileds.username || {}
|
|
@@ -11974,7 +11966,7 @@ const Kn = ca({
|
|
|
11974
11966
|
{ value: "dingtalk", label: "DingTalk" },
|
|
11975
11967
|
{ value: "feishu", label: "Lark" },
|
|
11976
11968
|
{ value: "wechat", label: "Wechat" }
|
|
11977
|
-
].filter((m, M) => e.loginMethods.includes(M))),
|
|
11969
|
+
].filter((m, M) => e.loginMethods.includes(M))), A = {
|
|
11978
11970
|
dingtalk: "DingTalk",
|
|
11979
11971
|
feishu: "Lark",
|
|
11980
11972
|
wechat: "Wechat"
|
|
@@ -11997,21 +11989,21 @@ const Kn = ca({
|
|
|
11997
11989
|
}
|
|
11998
11990
|
};
|
|
11999
11991
|
return (m, M) => {
|
|
12000
|
-
const j = K("BtnGroup"),
|
|
12001
|
-
return _(), E("div",
|
|
12002
|
-
d("div",
|
|
12003
|
-
d("div",
|
|
12004
|
-
d("span",
|
|
11992
|
+
const j = K("BtnGroup"), w = K("Input"), x = K("el-form-item"), D = K("el-checkbox"), F = K("el-button"), J = K("Form");
|
|
11993
|
+
return _(), E("div", ot, [
|
|
11994
|
+
d("div", tt, [
|
|
11995
|
+
d("div", rt, [
|
|
11996
|
+
d("span", it, L(m.$l(e.title)), 1)
|
|
12005
11997
|
]),
|
|
12006
11998
|
B(j, {
|
|
12007
11999
|
modelValue: t(u).method,
|
|
12008
12000
|
"onUpdate:modelValue": M[0] || (M[0] = (P) => t(u).method = P),
|
|
12009
12001
|
options: t(k),
|
|
12010
|
-
disabled: t(
|
|
12002
|
+
disabled: t(z),
|
|
12011
12003
|
size: "small",
|
|
12012
12004
|
class: "mb32"
|
|
12013
12005
|
}, null, 8, ["modelValue", "options", "disabled"]),
|
|
12014
|
-
d("div",
|
|
12006
|
+
d("div", st, [
|
|
12015
12007
|
t(u).method === "password" ? (_(), le(J, {
|
|
12016
12008
|
key: 0,
|
|
12017
12009
|
ref_key: "pwdFormRef",
|
|
@@ -12024,14 +12016,14 @@ const Kn = ca({
|
|
|
12024
12016
|
default: I(() => [
|
|
12025
12017
|
B(x, { prop: "username" }, {
|
|
12026
12018
|
default: I(() => [
|
|
12027
|
-
B(
|
|
12019
|
+
B(w, {
|
|
12028
12020
|
modelValue: t(u).form.username,
|
|
12029
12021
|
"onUpdate:modelValue": M[1] || (M[1] = (P) => t(u).form.username = P),
|
|
12030
12022
|
class: "wp100",
|
|
12031
12023
|
size: "large",
|
|
12032
12024
|
name: "username",
|
|
12033
12025
|
placeholder: t(p).username.placeholder,
|
|
12034
|
-
disabled: t(
|
|
12026
|
+
disabled: t(z)
|
|
12035
12027
|
}, be({ _: 2 }, [
|
|
12036
12028
|
t(p).username.showPrefix ? {
|
|
12037
12029
|
name: "prefix",
|
|
@@ -12048,7 +12040,7 @@ const Kn = ca({
|
|
|
12048
12040
|
}),
|
|
12049
12041
|
B(x, { prop: "password" }, {
|
|
12050
12042
|
default: I(() => [
|
|
12051
|
-
B(
|
|
12043
|
+
B(w, {
|
|
12052
12044
|
modelValue: t(u).form.password,
|
|
12053
12045
|
"onUpdate:modelValue": M[2] || (M[2] = (P) => t(u).form.password = P),
|
|
12054
12046
|
class: "wp100",
|
|
@@ -12057,8 +12049,8 @@ const Kn = ca({
|
|
|
12057
12049
|
name: "password",
|
|
12058
12050
|
placeholder: t(p).password.placeholder,
|
|
12059
12051
|
"show-password": "",
|
|
12060
|
-
disabled: t(
|
|
12061
|
-
onKeyup: ba(
|
|
12052
|
+
disabled: t(z),
|
|
12053
|
+
onKeyup: ba(S, ["enter"])
|
|
12062
12054
|
}, be({ _: 2 }, [
|
|
12063
12055
|
t(p).password.showPrefix ? {
|
|
12064
12056
|
name: "prefix",
|
|
@@ -12078,10 +12070,10 @@ const Kn = ca({
|
|
|
12078
12070
|
B(D, {
|
|
12079
12071
|
modelValue: t(u).remember,
|
|
12080
12072
|
"onUpdate:modelValue": M[3] || (M[3] = (P) => t(u).remember = P),
|
|
12081
|
-
disabled: t(
|
|
12073
|
+
disabled: t(z)
|
|
12082
12074
|
}, {
|
|
12083
12075
|
default: I(() => [
|
|
12084
|
-
ce(
|
|
12076
|
+
ce(L(m.$l(e.rememberTxt)), 1)
|
|
12085
12077
|
]),
|
|
12086
12078
|
_: 1
|
|
12087
12079
|
}, 8, ["modelValue", "disabled"])
|
|
@@ -12092,32 +12084,32 @@ const Kn = ca({
|
|
|
12092
12084
|
type: "primary",
|
|
12093
12085
|
size: "large",
|
|
12094
12086
|
class: "wp100",
|
|
12095
|
-
loading: t(
|
|
12096
|
-
disabled: t(
|
|
12097
|
-
onClick:
|
|
12087
|
+
loading: t(z),
|
|
12088
|
+
disabled: t(z),
|
|
12089
|
+
onClick: S
|
|
12098
12090
|
}, {
|
|
12099
12091
|
default: I(() => [
|
|
12100
|
-
ce(
|
|
12092
|
+
ce(L(m.$l(e.submitTxt)), 1)
|
|
12101
12093
|
]),
|
|
12102
12094
|
_: 1
|
|
12103
12095
|
}, 8, ["loading", "disabled"])
|
|
12104
12096
|
]),
|
|
12105
12097
|
_: 1
|
|
12106
|
-
}, 8, ["modelValue", "rules"])) : t(u).method === "auth" ? (_(), E("div",
|
|
12098
|
+
}, 8, ["modelValue", "rules"])) : t(u).method === "auth" ? (_(), E("div", ut, [
|
|
12107
12099
|
M[7] || (M[7] = d("p", { class: "oauthAuthTip m0 block fs12 lh20 txt-tip mb16" }, " 需在应用中配置 OAuth Client 与 token;以下为品牌示意按钮,不发起跳转。 ", -1)),
|
|
12108
12100
|
d("button", {
|
|
12109
12101
|
type: "button",
|
|
12110
12102
|
class: "oauthGoogle wp100 mb36",
|
|
12111
|
-
disabled: t(
|
|
12103
|
+
disabled: t(z),
|
|
12112
12104
|
onClick: r
|
|
12113
12105
|
}, [...M[5] || (M[5] = [
|
|
12114
12106
|
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)
|
|
12115
|
-
])], 8,
|
|
12107
|
+
])], 8, ct),
|
|
12116
12108
|
d("button", {
|
|
12117
12109
|
type: "button",
|
|
12118
12110
|
class: "oauthApple wp100 mb16",
|
|
12119
|
-
disabled: t(
|
|
12120
|
-
onClick:
|
|
12111
|
+
disabled: t(z),
|
|
12112
|
+
onClick: T
|
|
12121
12113
|
}, [...M[6] || (M[6] = [
|
|
12122
12114
|
d("svg", {
|
|
12123
12115
|
class: "oauthAppleLogo noShrink",
|
|
@@ -12133,9 +12125,9 @@ const Kn = ca({
|
|
|
12133
12125
|
})
|
|
12134
12126
|
], -1),
|
|
12135
12127
|
d("span", { class: "oauthAppleLabel fs14" }, "Sign in with Apple", -1)
|
|
12136
|
-
])], 8,
|
|
12137
|
-
])) : (_(), E("div",
|
|
12138
|
-
d("p",
|
|
12128
|
+
])], 8, dt)
|
|
12129
|
+
])) : (_(), E("div", mt, [
|
|
12130
|
+
d("p", bt, L(t(N)), 1),
|
|
12139
12131
|
d("div", {
|
|
12140
12132
|
class: U(["qrBlock w180 h180 radius6", `qr-${t(u).method}`]),
|
|
12141
12133
|
"aria-hidden": "true"
|
|
@@ -12143,20 +12135,20 @@ const Kn = ca({
|
|
|
12143
12135
|
]))
|
|
12144
12136
|
])
|
|
12145
12137
|
]),
|
|
12146
|
-
d("div",
|
|
12147
|
-
d("span", null,
|
|
12148
|
-
d("span", null,
|
|
12138
|
+
d("div", vt, [
|
|
12139
|
+
d("span", null, L(t($).copyright), 1),
|
|
12140
|
+
d("span", null, L(t($).author), 1)
|
|
12149
12141
|
])
|
|
12150
12142
|
]);
|
|
12151
12143
|
};
|
|
12152
12144
|
}
|
|
12153
|
-
}),
|
|
12145
|
+
}), ft = /* @__PURE__ */ ne(pt, [["__scopeId", "data-v-6faa6992"]]), ht = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
12154
12146
|
__proto__: null,
|
|
12155
|
-
default:
|
|
12156
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
12147
|
+
default: ft
|
|
12148
|
+
}, Symbol.toStringTag, { value: "Module" })), _t = {
|
|
12157
12149
|
key: 0,
|
|
12158
12150
|
class: "MvcFieldLabel"
|
|
12159
|
-
},
|
|
12151
|
+
}, gt = /* @__PURE__ */ Object.assign({
|
|
12160
12152
|
name: "MvcMention",
|
|
12161
12153
|
inheritAttrs: !1
|
|
12162
12154
|
}, {
|
|
@@ -12252,7 +12244,7 @@ const Kn = ca({
|
|
|
12252
12244
|
focused: !1
|
|
12253
12245
|
}), v = o;
|
|
12254
12246
|
se(() => {
|
|
12255
|
-
e.focus &&
|
|
12247
|
+
e.focus && z();
|
|
12256
12248
|
});
|
|
12257
12249
|
const b = () => {
|
|
12258
12250
|
u && (clearTimeout(u), u = null);
|
|
@@ -12260,22 +12252,22 @@ const Kn = ca({
|
|
|
12260
12252
|
var W;
|
|
12261
12253
|
const P = (W = i.value) == null ? void 0 : W.input;
|
|
12262
12254
|
return (P == null ? void 0 : P.value) || P;
|
|
12263
|
-
},
|
|
12255
|
+
}, T = () => {
|
|
12264
12256
|
const P = r();
|
|
12265
12257
|
return (P == null ? void 0 : P.input) || (P == null ? void 0 : P.textarea) || null;
|
|
12266
|
-
},
|
|
12258
|
+
}, S = () => {
|
|
12267
12259
|
var V;
|
|
12268
12260
|
const P = r();
|
|
12269
12261
|
(V = P == null ? void 0 : P.focus) == null || V.call(P);
|
|
12270
|
-
const W =
|
|
12262
|
+
const W = T();
|
|
12271
12263
|
return W ? (W.focus(), document.activeElement === W) : !1;
|
|
12272
|
-
},
|
|
12264
|
+
}, z = (P = 0) => {
|
|
12273
12265
|
b(), me(() => {
|
|
12274
|
-
!e.focus || typeof window > "u" ||
|
|
12275
|
-
u = null,
|
|
12266
|
+
!e.focus || typeof window > "u" || S() || P >= 5 || (u = setTimeout(() => {
|
|
12267
|
+
u = null, z(P + 1);
|
|
12276
12268
|
}, 30));
|
|
12277
12269
|
});
|
|
12278
|
-
},
|
|
12270
|
+
}, $ = (P) => {
|
|
12279
12271
|
y.val = P, v("update:modelValue", P);
|
|
12280
12272
|
}, N = (P) => {
|
|
12281
12273
|
v("input", P);
|
|
@@ -12285,7 +12277,7 @@ const Kn = ca({
|
|
|
12285
12277
|
v("select", P, W);
|
|
12286
12278
|
}, k = (P, W) => {
|
|
12287
12279
|
v("whole-remove", P, W);
|
|
12288
|
-
},
|
|
12280
|
+
}, A = (P) => {
|
|
12289
12281
|
y.focused = !0, v("focus", P);
|
|
12290
12282
|
}, g = (P) => {
|
|
12291
12283
|
y.focused = !1, v("blur", P);
|
|
@@ -12298,8 +12290,8 @@ const Kn = ca({
|
|
|
12298
12290
|
}), j = f(() => ({
|
|
12299
12291
|
...M.value,
|
|
12300
12292
|
...m.value
|
|
12301
|
-
})),
|
|
12302
|
-
() => e.materialLabel && (y.focused ||
|
|
12293
|
+
})), w = f(() => String(y.val ?? "").length > 0), x = f(() => !!n.placeholder), D = f(
|
|
12294
|
+
() => e.materialLabel && (y.focused || w.value || x.value || l.prefix)
|
|
12303
12295
|
), F = f(() => ({
|
|
12304
12296
|
[n.class]: !!n.class,
|
|
12305
12297
|
hasLabel: !!e.label,
|
|
@@ -12325,7 +12317,7 @@ const Kn = ca({
|
|
|
12325
12317
|
), re(
|
|
12326
12318
|
() => e.focus,
|
|
12327
12319
|
(P) => {
|
|
12328
|
-
P ?
|
|
12320
|
+
P ? z() : b();
|
|
12329
12321
|
},
|
|
12330
12322
|
{ flush: "post" }
|
|
12331
12323
|
), ve(() => {
|
|
@@ -12336,19 +12328,19 @@ const Kn = ca({
|
|
|
12336
12328
|
class: U(["MvcField MvcFieldMention", t(F)]),
|
|
12337
12329
|
style: de(t(J))
|
|
12338
12330
|
}, [
|
|
12339
|
-
e.label ? (_(), E("label",
|
|
12331
|
+
e.label ? (_(), E("label", _t, L(e.label), 1)) : G("", !0),
|
|
12340
12332
|
B(V, te({
|
|
12341
12333
|
ref_key: "mentionRef",
|
|
12342
12334
|
ref: i,
|
|
12343
12335
|
"model-value": t(y).val,
|
|
12344
12336
|
class: "MvcMention"
|
|
12345
12337
|
}, t(j), {
|
|
12346
|
-
"onUpdate:modelValue":
|
|
12338
|
+
"onUpdate:modelValue": $,
|
|
12347
12339
|
onInput: N,
|
|
12348
12340
|
onSearch: p,
|
|
12349
12341
|
onSelect: s,
|
|
12350
12342
|
onWholeRemove: k,
|
|
12351
|
-
onFocus:
|
|
12343
|
+
onFocus: A,
|
|
12352
12344
|
onBlur: g
|
|
12353
12345
|
}), be({ _: 2 }, [
|
|
12354
12346
|
ie(t(l), (h, C) => ({
|
|
@@ -12361,10 +12353,10 @@ const Kn = ca({
|
|
|
12361
12353
|
], 6);
|
|
12362
12354
|
};
|
|
12363
12355
|
}
|
|
12364
|
-
}),
|
|
12356
|
+
}), yt = /* @__PURE__ */ ne(gt, [["__scopeId", "data-v-a20420a4"]]), At = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
12365
12357
|
__proto__: null,
|
|
12366
|
-
default:
|
|
12367
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
12358
|
+
default: yt
|
|
12359
|
+
}, Symbol.toStringTag, { value: "Module" })), wt = /* @__PURE__ */ Object.assign({
|
|
12368
12360
|
name: "MvcNote",
|
|
12369
12361
|
inheritAttrs: !0
|
|
12370
12362
|
}, {
|
|
@@ -12398,13 +12390,13 @@ const Kn = ca({
|
|
|
12398
12390
|
q(l.$slots, "default", {}, void 0, !0)
|
|
12399
12391
|
], 4));
|
|
12400
12392
|
}
|
|
12401
|
-
}),
|
|
12393
|
+
}), zt = /* @__PURE__ */ ne(wt, [["__scopeId", "data-v-e3e84cc8"]]), St = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
12402
12394
|
__proto__: null,
|
|
12403
|
-
default:
|
|
12404
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
12395
|
+
default: zt
|
|
12396
|
+
}, Symbol.toStringTag, { value: "Module" })), Tt = {
|
|
12405
12397
|
key: 0,
|
|
12406
12398
|
class: "PageHeader"
|
|
12407
|
-
},
|
|
12399
|
+
}, Ct = { class: "PageHeaderLeft" }, Mt = { class: "PageHeaderTitle" }, kt = { class: "PageHeaderSubTitle" }, Et = { class: "PageHeaderRight" }, Ot = /* @__PURE__ */ Object.assign({
|
|
12408
12400
|
name: "MvcPage",
|
|
12409
12401
|
inheritAttrs: !1
|
|
12410
12402
|
}, {
|
|
@@ -12437,14 +12429,14 @@ const Kn = ca({
|
|
|
12437
12429
|
return (v, b) => (_(), E("div", {
|
|
12438
12430
|
class: U(["MvcPage", t(u) && "hasTab"])
|
|
12439
12431
|
}, [
|
|
12440
|
-
o.noheader ? G("", !0) : (_(), E("div",
|
|
12441
|
-
d("div",
|
|
12432
|
+
o.noheader ? G("", !0) : (_(), E("div", Tt, [
|
|
12433
|
+
d("div", Ct, [
|
|
12442
12434
|
v.$slots.header ? q(v.$slots, "header", { key: 0 }, void 0, !0) : t(i) ? (_(), E(oe, { key: 1 }, [
|
|
12443
|
-
d("h3",
|
|
12444
|
-
d("p",
|
|
12435
|
+
d("h3", Mt, L(o.title), 1),
|
|
12436
|
+
d("p", kt, L(o.subtitle), 1)
|
|
12445
12437
|
], 64)) : G("", !0)
|
|
12446
12438
|
]),
|
|
12447
|
-
d("div",
|
|
12439
|
+
d("div", Et, [
|
|
12448
12440
|
v.$slots.right ? q(v.$slots, "right", { key: 0 }, void 0, !0) : G("", !0)
|
|
12449
12441
|
])
|
|
12450
12442
|
])),
|
|
@@ -12456,16 +12448,16 @@ const Kn = ca({
|
|
|
12456
12448
|
], 6)
|
|
12457
12449
|
], 2));
|
|
12458
12450
|
}
|
|
12459
|
-
}),
|
|
12451
|
+
}), xt = /* @__PURE__ */ ne(Ot, [["__scopeId", "data-v-060130ad"]]), Pt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
12460
12452
|
__proto__: null,
|
|
12461
|
-
default:
|
|
12462
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
12453
|
+
default: xt
|
|
12454
|
+
}, Symbol.toStringTag, { value: "Module" })), Lt = {
|
|
12463
12455
|
key: 0,
|
|
12464
12456
|
class: "MvcFieldLabel"
|
|
12465
|
-
},
|
|
12457
|
+
}, Nt = { class: "flexMode hb vc" }, $t = { class: "flexMode g4 vc" }, It = { class: "tag" }, jt = {
|
|
12466
12458
|
key: 0,
|
|
12467
12459
|
class: "tag"
|
|
12468
|
-
},
|
|
12460
|
+
}, Bt = { class: "flexMode hr" }, Dt = /* @__PURE__ */ Object.assign({
|
|
12469
12461
|
name: "MvcSelect",
|
|
12470
12462
|
inheritAttrs: !1
|
|
12471
12463
|
}, {
|
|
@@ -12518,16 +12510,16 @@ const Kn = ca({
|
|
|
12518
12510
|
},
|
|
12519
12511
|
emits: ["update:modelValue", "change", "focus", "blur"],
|
|
12520
12512
|
setup(a, { emit: o }) {
|
|
12521
|
-
const e = a, l = ae(null), n = ae([]), i = ae(!1), u = ae(!1), y = ae(!1), v = ae(!1), b = fe(), r = o,
|
|
12513
|
+
const e = a, l = ae(null), n = ae([]), i = ae(!1), u = ae(!1), y = ae(!1), v = ae(!1), b = fe(), r = o, T = (c) => {
|
|
12522
12514
|
e.multiple ? (n.value = Array.isArray(c) ? [...c] : [], m()) : (r("update:modelValue", c), r("change", c));
|
|
12523
|
-
},
|
|
12515
|
+
}, S = (c) => {
|
|
12524
12516
|
if (i.value = c, c && e.multiple) {
|
|
12525
12517
|
const O = e.modelValue;
|
|
12526
12518
|
n.value = Array.isArray(O) ? [...O] : O ? [O] : [], m();
|
|
12527
12519
|
}
|
|
12528
|
-
},
|
|
12520
|
+
}, z = (c) => {
|
|
12529
12521
|
v.value = !0, r("focus", c);
|
|
12530
|
-
},
|
|
12522
|
+
}, $ = (c) => {
|
|
12531
12523
|
v.value = !1, r("blur", c);
|
|
12532
12524
|
}, N = () => {
|
|
12533
12525
|
var Y;
|
|
@@ -12561,7 +12553,7 @@ const Kn = ca({
|
|
|
12561
12553
|
n.value = n.value.filter((Z) => !Y.has(Z));
|
|
12562
12554
|
}
|
|
12563
12555
|
m();
|
|
12564
|
-
},
|
|
12556
|
+
}, A = () => {
|
|
12565
12557
|
var c, O;
|
|
12566
12558
|
e.multiple && (r("update:modelValue", n.value), r("change", n.value), (O = (c = l.value) == null ? void 0 : c.blur) == null || O.call(c));
|
|
12567
12559
|
}, g = () => {
|
|
@@ -12588,7 +12580,7 @@ const Kn = ca({
|
|
|
12588
12580
|
label: Y
|
|
12589
12581
|
}
|
|
12590
12582
|
};
|
|
12591
|
-
}),
|
|
12583
|
+
}), w = f(
|
|
12592
12584
|
() => e.nowrap ? {
|
|
12593
12585
|
collapseTags: !0,
|
|
12594
12586
|
collapseTagsTooltip: !0,
|
|
@@ -12599,7 +12591,7 @@ const Kn = ca({
|
|
|
12599
12591
|
const { class: c, ...O } = b;
|
|
12600
12592
|
return O;
|
|
12601
12593
|
}), D = f(() => ({
|
|
12602
|
-
...
|
|
12594
|
+
...w.value,
|
|
12603
12595
|
...x.value,
|
|
12604
12596
|
...j.value,
|
|
12605
12597
|
placeholder: b.placeholder ?? ""
|
|
@@ -12639,7 +12631,7 @@ const Kn = ca({
|
|
|
12639
12631
|
class: U(["MvcField MvcFieldSelect", t(R)]),
|
|
12640
12632
|
style: de(t(X))
|
|
12641
12633
|
}, [
|
|
12642
|
-
e.label ? (_(), E("label",
|
|
12634
|
+
e.label ? (_(), E("label", Lt, L(e.label), 1)) : G("", !0),
|
|
12643
12635
|
B(H, te({
|
|
12644
12636
|
ref_key: "selectRef",
|
|
12645
12637
|
ref: l,
|
|
@@ -12647,10 +12639,10 @@ const Kn = ca({
|
|
|
12647
12639
|
"tag-effect": "plain",
|
|
12648
12640
|
class: "MvcSelect"
|
|
12649
12641
|
}, t(D), {
|
|
12650
|
-
"onUpdate:modelValue":
|
|
12651
|
-
onVisibleChange:
|
|
12652
|
-
onFocus:
|
|
12653
|
-
onBlur:
|
|
12642
|
+
"onUpdate:modelValue": T,
|
|
12643
|
+
onVisibleChange: S,
|
|
12644
|
+
onFocus: z,
|
|
12645
|
+
onBlur: $
|
|
12654
12646
|
}), be({
|
|
12655
12647
|
default: I(() => [
|
|
12656
12648
|
q(c.$slots, "default")
|
|
@@ -12660,7 +12652,7 @@ const Kn = ca({
|
|
|
12660
12652
|
e.filterable && e.multiple ? {
|
|
12661
12653
|
name: "header",
|
|
12662
12654
|
fn: I(() => [
|
|
12663
|
-
d("div",
|
|
12655
|
+
d("div", Nt, [
|
|
12664
12656
|
B(Y, {
|
|
12665
12657
|
modelValue: t(u),
|
|
12666
12658
|
"onUpdate:modelValue": O[0] || (O[0] = (ee) => va(u) ? u.value = ee : null),
|
|
@@ -12669,13 +12661,13 @@ const Kn = ca({
|
|
|
12669
12661
|
onChange: k
|
|
12670
12662
|
}, {
|
|
12671
12663
|
default: I(() => [
|
|
12672
|
-
ce(
|
|
12664
|
+
ce(L(a.selectAllTxt), 1)
|
|
12673
12665
|
]),
|
|
12674
12666
|
_: 1
|
|
12675
12667
|
}, 8, ["modelValue", "indeterminate"]),
|
|
12676
|
-
d("div",
|
|
12677
|
-
d("span",
|
|
12678
|
-
t(W) ? (_(), E("span",
|
|
12668
|
+
d("div", $t, [
|
|
12669
|
+
d("span", It, L(t(F)) + "/" + L(t(J)), 1),
|
|
12670
|
+
t(W) ? (_(), E("span", jt, L(t(P)), 1)) : G("", !0)
|
|
12679
12671
|
])
|
|
12680
12672
|
])
|
|
12681
12673
|
]),
|
|
@@ -12684,14 +12676,14 @@ const Kn = ca({
|
|
|
12684
12676
|
e.multiple ? {
|
|
12685
12677
|
name: "footer",
|
|
12686
12678
|
fn: I(() => [
|
|
12687
|
-
d("div",
|
|
12679
|
+
d("div", Bt, [
|
|
12688
12680
|
B(Z, {
|
|
12689
12681
|
type: "primary",
|
|
12690
12682
|
size: "small",
|
|
12691
|
-
onClick:
|
|
12683
|
+
onClick: A
|
|
12692
12684
|
}, {
|
|
12693
12685
|
default: I(() => [
|
|
12694
|
-
ce(
|
|
12686
|
+
ce(L(a.confirmTxt), 1)
|
|
12695
12687
|
]),
|
|
12696
12688
|
_: 1
|
|
12697
12689
|
})
|
|
@@ -12703,16 +12695,16 @@ const Kn = ca({
|
|
|
12703
12695
|
], 6);
|
|
12704
12696
|
};
|
|
12705
12697
|
}
|
|
12706
|
-
}),
|
|
12698
|
+
}), Rt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
12707
12699
|
__proto__: null,
|
|
12708
|
-
default:
|
|
12709
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
12700
|
+
default: Dt
|
|
12701
|
+
}, Symbol.toStringTag, { value: "Module" })), Vt = {
|
|
12710
12702
|
key: 0,
|
|
12711
12703
|
class: "MvcFieldLabel"
|
|
12712
|
-
},
|
|
12704
|
+
}, Ft = { class: "flexMode hb vc" }, Gt = { class: "flexMode g4 vc" }, Kt = { class: "tag" }, Ut = {
|
|
12713
12705
|
key: 0,
|
|
12714
12706
|
class: "tag"
|
|
12715
|
-
},
|
|
12707
|
+
}, Ht = { class: "flexMode hr" }, Jt = /* @__PURE__ */ Object.assign({
|
|
12716
12708
|
name: "MvcSelectV2",
|
|
12717
12709
|
inheritAttrs: !1
|
|
12718
12710
|
}, {
|
|
@@ -12765,16 +12757,16 @@ const Kn = ca({
|
|
|
12765
12757
|
},
|
|
12766
12758
|
emits: ["update:modelValue", "change", "focus", "blur"],
|
|
12767
12759
|
setup(a, { emit: o }) {
|
|
12768
|
-
const e = a, l = ae(null), n = ae([]), i = ae(!1), u = ae(!1), y = ae(!1), v = ae(!1), b = fe(), r = o,
|
|
12760
|
+
const e = a, l = ae(null), n = ae([]), i = ae(!1), u = ae(!1), y = ae(!1), v = ae(!1), b = fe(), r = o, T = (c) => {
|
|
12769
12761
|
e.multiple ? (n.value = Array.isArray(c) ? [...c] : [], m()) : (r("update:modelValue", c), r("change", c));
|
|
12770
|
-
},
|
|
12762
|
+
}, S = (c) => {
|
|
12771
12763
|
if (i.value = c, c && e.multiple) {
|
|
12772
12764
|
const O = e.modelValue;
|
|
12773
12765
|
n.value = Array.isArray(O) ? [...O] : O ? [O] : [], m();
|
|
12774
12766
|
}
|
|
12775
|
-
},
|
|
12767
|
+
}, z = (c) => {
|
|
12776
12768
|
v.value = !0, r("focus", c);
|
|
12777
|
-
},
|
|
12769
|
+
}, $ = (c) => {
|
|
12778
12770
|
v.value = !1, r("blur", c);
|
|
12779
12771
|
}, N = () => {
|
|
12780
12772
|
var Z;
|
|
@@ -12807,7 +12799,7 @@ const Kn = ca({
|
|
|
12807
12799
|
n.value = n.value.filter((Z) => !Y.has(Z));
|
|
12808
12800
|
}
|
|
12809
12801
|
m();
|
|
12810
|
-
},
|
|
12802
|
+
}, A = () => {
|
|
12811
12803
|
var c, O;
|
|
12812
12804
|
e.multiple && (r("update:modelValue", n.value), r("change", n.value), (O = (c = l.value) == null ? void 0 : c.blur) == null || O.call(c));
|
|
12813
12805
|
}, g = () => {
|
|
@@ -12834,7 +12826,7 @@ const Kn = ca({
|
|
|
12834
12826
|
label: Y
|
|
12835
12827
|
}
|
|
12836
12828
|
};
|
|
12837
|
-
}),
|
|
12829
|
+
}), w = f(
|
|
12838
12830
|
() => e.nowrap ? {
|
|
12839
12831
|
collapseTags: !0,
|
|
12840
12832
|
collapseTagsTooltip: !0,
|
|
@@ -12845,7 +12837,7 @@ const Kn = ca({
|
|
|
12845
12837
|
const { class: c, ...O } = b;
|
|
12846
12838
|
return O;
|
|
12847
12839
|
}), D = f(() => ({
|
|
12848
|
-
...
|
|
12840
|
+
...w.value,
|
|
12849
12841
|
...x.value,
|
|
12850
12842
|
...j.value,
|
|
12851
12843
|
placeholder: b.placeholder ?? ""
|
|
@@ -12883,7 +12875,7 @@ const Kn = ca({
|
|
|
12883
12875
|
class: U(["MvcField MvcFieldSelectV2", t(R)]),
|
|
12884
12876
|
style: de(t(X))
|
|
12885
12877
|
}, [
|
|
12886
|
-
e.label ? (_(), E("label",
|
|
12878
|
+
e.label ? (_(), E("label", Vt, L(e.label), 1)) : G("", !0),
|
|
12887
12879
|
B(H, te({
|
|
12888
12880
|
ref_key: "selectRef",
|
|
12889
12881
|
ref: l,
|
|
@@ -12891,15 +12883,15 @@ const Kn = ca({
|
|
|
12891
12883
|
class: "MvcSelectV2",
|
|
12892
12884
|
"tag-effect": "plain"
|
|
12893
12885
|
}, t(D), {
|
|
12894
|
-
"onUpdate:modelValue":
|
|
12895
|
-
onVisibleChange:
|
|
12896
|
-
onFocus:
|
|
12897
|
-
onBlur:
|
|
12886
|
+
"onUpdate:modelValue": T,
|
|
12887
|
+
onVisibleChange: S,
|
|
12888
|
+
onFocus: z,
|
|
12889
|
+
onBlur: $
|
|
12898
12890
|
}), be({ _: 2 }, [
|
|
12899
12891
|
e.filterable && e.multiple ? {
|
|
12900
12892
|
name: "header",
|
|
12901
12893
|
fn: I(() => [
|
|
12902
|
-
d("div",
|
|
12894
|
+
d("div", Ft, [
|
|
12903
12895
|
B(Y, {
|
|
12904
12896
|
modelValue: t(u),
|
|
12905
12897
|
"onUpdate:modelValue": O[0] || (O[0] = (ee) => va(u) ? u.value = ee : null),
|
|
@@ -12908,13 +12900,13 @@ const Kn = ca({
|
|
|
12908
12900
|
onChange: k
|
|
12909
12901
|
}, {
|
|
12910
12902
|
default: I(() => [
|
|
12911
|
-
ce(
|
|
12903
|
+
ce(L(a.selectAllTxt), 1)
|
|
12912
12904
|
]),
|
|
12913
12905
|
_: 1
|
|
12914
12906
|
}, 8, ["modelValue", "indeterminate"]),
|
|
12915
|
-
d("div",
|
|
12916
|
-
d("span",
|
|
12917
|
-
t(W) ? (_(), E("span",
|
|
12907
|
+
d("div", Gt, [
|
|
12908
|
+
d("span", Kt, L(t(F)) + "/" + L(t(J)), 1),
|
|
12909
|
+
t(W) ? (_(), E("span", Ut, L(t(P)), 1)) : G("", !0)
|
|
12918
12910
|
])
|
|
12919
12911
|
])
|
|
12920
12912
|
]),
|
|
@@ -12930,14 +12922,14 @@ const Kn = ca({
|
|
|
12930
12922
|
e.multiple ? {
|
|
12931
12923
|
name: "footer",
|
|
12932
12924
|
fn: I(() => [
|
|
12933
|
-
d("div",
|
|
12925
|
+
d("div", Ht, [
|
|
12934
12926
|
B(Z, {
|
|
12935
12927
|
type: "primary",
|
|
12936
12928
|
size: "small",
|
|
12937
|
-
onClick:
|
|
12929
|
+
onClick: A
|
|
12938
12930
|
}, {
|
|
12939
12931
|
default: I(() => [
|
|
12940
|
-
ce(
|
|
12932
|
+
ce(L(a.confirmTxt), 1)
|
|
12941
12933
|
]),
|
|
12942
12934
|
_: 1
|
|
12943
12935
|
})
|
|
@@ -12949,10 +12941,10 @@ const Kn = ca({
|
|
|
12949
12941
|
], 6);
|
|
12950
12942
|
};
|
|
12951
12943
|
}
|
|
12952
|
-
}),
|
|
12944
|
+
}), Zt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
12953
12945
|
__proto__: null,
|
|
12954
|
-
default:
|
|
12955
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
12946
|
+
default: Jt
|
|
12947
|
+
}, Symbol.toStringTag, { value: "Module" })), Yt = ca({
|
|
12956
12948
|
name: "MvcTableColumnFilter",
|
|
12957
12949
|
props: {
|
|
12958
12950
|
tableName: {
|
|
@@ -12982,28 +12974,28 @@ const Kn = ca({
|
|
|
12982
12974
|
asa: [],
|
|
12983
12975
|
fixed: [],
|
|
12984
12976
|
columns: []
|
|
12985
|
-
}, r = a.tableName ? JSON.parse(localStorage.getItem(l)) : null,
|
|
12986
|
-
v.forEach((
|
|
12987
|
-
window.$getType(
|
|
12988
|
-
}), n.forEach((
|
|
12977
|
+
}, r = a.tableName ? JSON.parse(localStorage.getItem(l)) : null, T = [void 0];
|
|
12978
|
+
v.forEach((z) => {
|
|
12979
|
+
window.$getType(z.type) === "Symbol" ? n = n.concat(z.children) : n.push(z);
|
|
12980
|
+
}), n.forEach((z, $) => {
|
|
12989
12981
|
var N;
|
|
12990
|
-
if (window.$getType(
|
|
12982
|
+
if (window.$getType(z.type), ((N = z.type) == null ? void 0 : N.name) === "ElTableColumn") {
|
|
12991
12983
|
let p = {
|
|
12992
|
-
...
|
|
12993
|
-
sort:
|
|
12994
|
-
nomove:
|
|
12984
|
+
...z.props,
|
|
12985
|
+
sort: $,
|
|
12986
|
+
nomove: z.props.nomove || z.props.nomove === "" || z.props.type === "selection" || z.props.label === "Operation",
|
|
12995
12987
|
resizable: !0,
|
|
12996
|
-
visible:
|
|
12988
|
+
visible: z.props.visible !== !1
|
|
12997
12989
|
};
|
|
12998
|
-
if (p.labelKey || (p.labelKey = p.label), p.label = window.$l(p.labelKey), a.column && (r != null && r.length) &&
|
|
12999
|
-
const { data: s } = r.filter1((k) => k.prop ===
|
|
12990
|
+
if (p.labelKey || (p.labelKey = p.label), p.label = window.$l(p.labelKey), a.column && (r != null && r.length) && T.indexOf(z.props.prop) === -1) {
|
|
12991
|
+
const { data: s } = r.filter1((k) => k.prop === z.props.prop);
|
|
13000
12992
|
s && (p.sort = s.sort, p.fixed = s.fixed, p.visible = s.visible);
|
|
13001
12993
|
}
|
|
13002
|
-
|
|
12994
|
+
z.props.fixed && b.fixed.push(p), z.props.type === "mmp" ? b.mmp.push(p) : z.props.type === "asa" ? b.asa.push(p) : b.normal.push(p), z.props = p;
|
|
13003
12995
|
}
|
|
13004
12996
|
}), e.columnInfo = b;
|
|
13005
|
-
let
|
|
13006
|
-
a.tableName && (
|
|
12997
|
+
let S = [...b.normal, ...b.mmp, ...b.asa];
|
|
12998
|
+
a.tableName && (S = S.sort((z, $) => z.sort - $.sort), localStorage.setItem(l, JSON.stringify(S)));
|
|
13007
12999
|
})();
|
|
13008
13000
|
let u = [];
|
|
13009
13001
|
if (n.forEach((v) => {
|
|
@@ -13027,28 +13019,28 @@ const Kn = ca({
|
|
|
13027
13019
|
}
|
|
13028
13020
|
return u = u.sort((v, b) => v.props.sort - b.props.sort), () => u;
|
|
13029
13021
|
}
|
|
13030
|
-
}),
|
|
13022
|
+
}), Wt = { class: "hp100 flexMode" }, qt = { class: "w200 hp100 border-r fs14" }, Xt = { class: "flexMode vc h36 p8 bg-gray3 border-b txt-nowrap" }, Qt = { class: "p4" }, er = ["onClick"], ar = {
|
|
13031
13023
|
class: "flexMode vs hp100",
|
|
13032
13024
|
style: { width: "calc(100% - 200px)" }
|
|
13033
|
-
},
|
|
13025
|
+
}, lr = { class: "wp50 border-r fs14" }, nr = { class: "flexMode vc g8 h36 p8 bg-gray3 border-b txt-nowrap" }, or = { class: "tagArea blue small" }, tr = { class: "p4" }, rr = {
|
|
13034
13026
|
key: 0,
|
|
13035
13027
|
class: "absCenter fs12 txt-dark5 txt-nowrap"
|
|
13036
|
-
},
|
|
13028
|
+
}, ir = { class: "flexMode vc g8" }, sr = ["txt", "onClick"], ur = { class: "wp50 border-r fs14" }, cr = { class: "flexMode vc g8 h36 p8 bg-gray3 border-b txt-nowrap" }, dr = { class: "tagArea blue small" }, mr = {
|
|
13037
13029
|
class: "relative p4",
|
|
13038
13030
|
style: { height: "calc(100% - 36px)" }
|
|
13039
|
-
},
|
|
13031
|
+
}, br = {
|
|
13040
13032
|
class: "relative",
|
|
13041
13033
|
style: { height: "30%" }
|
|
13042
|
-
},
|
|
13034
|
+
}, vr = {
|
|
13043
13035
|
key: 0,
|
|
13044
13036
|
class: "absCenter fs12 txt-dark5 txt-nowrap"
|
|
13045
|
-
},
|
|
13037
|
+
}, pr = { class: "columnItem flexMode vc hb h40 g8 p4-8 mb4 radius4" }, fr = { class: "flexMode vc g8 txt-nowrap" }, hr = { class: "flexMode vc g8" }, _r = ["txt", "onClick"], gr = {
|
|
13046
13038
|
class: "relative",
|
|
13047
13039
|
style: { height: "calc(70% - 10px)" }
|
|
13048
|
-
},
|
|
13040
|
+
}, yr = {
|
|
13049
13041
|
key: 0,
|
|
13050
13042
|
class: "absCenter fs12 txt-dark5 txt-nowrap"
|
|
13051
|
-
},
|
|
13043
|
+
}, Ar = { class: "columnItem flexMode vc hb h40 g8 p4-8 mb4 radius4" }, wr = { class: "flexMode vc g8 txt-nowrap" }, zr = { class: "flexMode vc" }, Sr = ["txt", "onClick"], Tr = ["txt", "onClick"], Cr = /* @__PURE__ */ Object.assign({
|
|
13052
13044
|
name: "MvcTableColumnConfig",
|
|
13053
13045
|
inheritAttrs: !1
|
|
13054
13046
|
}, {
|
|
@@ -13082,8 +13074,8 @@ const Kn = ca({
|
|
|
13082
13074
|
const n = o, i = () => {
|
|
13083
13075
|
n("mounted");
|
|
13084
13076
|
const s = JSON.parse(localStorage.getItem(`${e.tableName}_Column`)), k = {};
|
|
13085
|
-
s.forEach((
|
|
13086
|
-
|
|
13077
|
+
s.forEach((A) => {
|
|
13078
|
+
A.type && (k[A.type] = !0), A.visible ? A.type === "selection" ? l.selection.push(A) : A.type === "operation" ? l.operation.push(A) : A.label && (A.fixed ? l.fixed.push(A) : l.visible.push(A)) : A.type === "mmp" ? l.columns.mmp.push(A) : A.type === "asa" ? l.columns.asa.push(A) : l.columns.normal.push(A);
|
|
13087
13079
|
}), l.columnType = k;
|
|
13088
13080
|
}, u = (s) => {
|
|
13089
13081
|
l.type = s;
|
|
@@ -13095,24 +13087,24 @@ const Kn = ca({
|
|
|
13095
13087
|
l.visible.unshift(s), l.fixed.splice(k, 1);
|
|
13096
13088
|
}, r = (s, k) => {
|
|
13097
13089
|
l.visible.splice(k, 1), s.type ? l.columns[s.type].unshift(s) : l.columns.normal.unshift(s);
|
|
13098
|
-
},
|
|
13090
|
+
}, T = async () => {
|
|
13099
13091
|
l.loading = !0, window.$pm(() => {
|
|
13100
|
-
const { fixed: s, visible: k, columns:
|
|
13092
|
+
const { fixed: s, visible: k, columns: A, selection: g, operation: m } = l;
|
|
13101
13093
|
let M = [];
|
|
13102
|
-
Object.keys(
|
|
13103
|
-
M = M.concat(
|
|
13104
|
-
}), s.forEach((
|
|
13094
|
+
Object.keys(A).map((w) => {
|
|
13095
|
+
M = M.concat(A[w]);
|
|
13096
|
+
}), s.forEach((w) => w.fixed = "left"), M.forEach((w) => w.visible = !1);
|
|
13105
13097
|
const j = g.concat(s, k, M, m);
|
|
13106
|
-
j.forEach((
|
|
13098
|
+
j.forEach((w, x) => w.sort = x), localStorage.setItem(`${e.tableName}_Column`, JSON.stringify(j)), l.loading = !1, n("close"), n("init-column");
|
|
13107
13099
|
});
|
|
13108
|
-
},
|
|
13100
|
+
}, S = () => {
|
|
13109
13101
|
l.loading = !0, localStorage.removeItem(`${e.tableName}_Column`), window.$pm(() => {
|
|
13110
13102
|
l.loading = !1, n("close"), n("init-column");
|
|
13111
13103
|
}, 4);
|
|
13112
|
-
},
|
|
13104
|
+
}, z = f(() => {
|
|
13113
13105
|
var s;
|
|
13114
13106
|
return ((s = globalThis.$config.options) == null ? void 0 : s.drawerHeight) || 540;
|
|
13115
|
-
}),
|
|
13107
|
+
}), $ = f(() => (z.value * 0.3).toFixed(0)), N = f(() => (z.value * 0.7 - 10).toFixed(0)), p = f(() => [
|
|
13116
13108
|
{
|
|
13117
13109
|
label: "Base Info",
|
|
13118
13110
|
value: "normal"
|
|
@@ -13129,51 +13121,51 @@ const Kn = ca({
|
|
|
13129
13121
|
}
|
|
13130
13122
|
]);
|
|
13131
13123
|
return (s, k) => {
|
|
13132
|
-
const
|
|
13124
|
+
const A = K("el-scrollbar"), g = K("DrawerArea");
|
|
13133
13125
|
return _(), le(g, {
|
|
13134
13126
|
loading: t(l).loading,
|
|
13135
13127
|
noscroll: "",
|
|
13136
13128
|
"cancel-txt": "Reset",
|
|
13137
13129
|
"cancel-icon": "im-sync",
|
|
13138
13130
|
class: "MvcTableColumnConfig",
|
|
13139
|
-
onCancel:
|
|
13140
|
-
onSubmit:
|
|
13131
|
+
onCancel: S,
|
|
13132
|
+
onSubmit: T
|
|
13141
13133
|
}, {
|
|
13142
13134
|
default: I(() => [
|
|
13143
|
-
d("div",
|
|
13144
|
-
d("div",
|
|
13145
|
-
d("div",
|
|
13146
|
-
d("div",
|
|
13135
|
+
d("div", Wt, [
|
|
13136
|
+
d("div", qt, [
|
|
13137
|
+
d("div", Xt, L(s.$l("Column Type")), 1),
|
|
13138
|
+
d("div", Qt, [
|
|
13147
13139
|
(_(!0), E(oe, null, ie(t(p), (m) => (_(), E("div", {
|
|
13148
13140
|
key: m.value,
|
|
13149
13141
|
class: U(["typeItem p8-16 mb4 radius4 txt-nowrap", [t(l).type === m.value && "active", m.hide && "hide"]]),
|
|
13150
13142
|
onClick: (M) => u(m.value)
|
|
13151
|
-
},
|
|
13143
|
+
}, L(m.label), 11, er))), 128))
|
|
13152
13144
|
])
|
|
13153
13145
|
]),
|
|
13154
|
-
d("div",
|
|
13155
|
-
d("div",
|
|
13156
|
-
d("div",
|
|
13157
|
-
d("span", null,
|
|
13158
|
-
d("span",
|
|
13146
|
+
d("div", ar, [
|
|
13147
|
+
d("div", lr, [
|
|
13148
|
+
d("div", nr, [
|
|
13149
|
+
d("span", null, L(s.$l("Columns")), 1),
|
|
13150
|
+
d("span", or, L(t(l).columns[t(l).type].length), 1)
|
|
13159
13151
|
]),
|
|
13160
|
-
B(
|
|
13152
|
+
B(A, { style: { height: "calc(100% - 36px)" } }, {
|
|
13161
13153
|
default: I(() => [
|
|
13162
|
-
d("div",
|
|
13163
|
-
t(l).columns[t(l).type].length === 0 ? (_(), E("span",
|
|
13154
|
+
d("div", tr, [
|
|
13155
|
+
t(l).columns[t(l).type].length === 0 ? (_(), E("span", rr, L(s.$l("No Columns")), 1)) : G("", !0),
|
|
13164
13156
|
(_(!0), E(oe, null, ie(t(l).columns[t(l).type], (m, M) => (_(), E("div", {
|
|
13165
13157
|
key: m.prop,
|
|
13166
13158
|
class: "columnItem flexMode vc hb h40 g8 p4-8 mb4 radius4 txt-nowrap"
|
|
13167
13159
|
}, [
|
|
13168
|
-
d("span", null,
|
|
13169
|
-
d("div",
|
|
13160
|
+
d("span", null, L(s.$l(m.label)), 1),
|
|
13161
|
+
d("div", ir, [
|
|
13170
13162
|
d("div", {
|
|
13171
13163
|
class: "tipbtn left",
|
|
13172
13164
|
txt: s.$l("Visible"),
|
|
13173
13165
|
onClick: (j) => y(m, M)
|
|
13174
13166
|
}, [...k[0] || (k[0] = [
|
|
13175
13167
|
d("i", { class: "imicon im-plus fs16" }, null, -1)
|
|
13176
|
-
])], 8,
|
|
13168
|
+
])], 8, sr)
|
|
13177
13169
|
])
|
|
13178
13170
|
]))), 128))
|
|
13179
13171
|
])
|
|
@@ -13181,15 +13173,15 @@ const Kn = ca({
|
|
|
13181
13173
|
_: 1
|
|
13182
13174
|
})
|
|
13183
13175
|
]),
|
|
13184
|
-
d("div",
|
|
13185
|
-
d("div",
|
|
13186
|
-
d("span", null,
|
|
13187
|
-
d("span",
|
|
13176
|
+
d("div", ur, [
|
|
13177
|
+
d("div", cr, [
|
|
13178
|
+
d("span", null, L(s.$l("Visible Columns")), 1),
|
|
13179
|
+
d("span", dr, L(t(l).visible.length), 1)
|
|
13188
13180
|
]),
|
|
13189
|
-
d("div",
|
|
13190
|
-
d("div",
|
|
13191
|
-
t(l).fixed.length === 0 ? (_(), E("span",
|
|
13192
|
-
B(
|
|
13181
|
+
d("div", mr, [
|
|
13182
|
+
d("div", br, [
|
|
13183
|
+
t(l).fixed.length === 0 ? (_(), E("span", vr, L(s.$l("No Fixed Columns")), 1)) : G("", !0),
|
|
13184
|
+
B(A, { height: t($) }, {
|
|
13193
13185
|
default: I(() => [
|
|
13194
13186
|
B(t(Ze), {
|
|
13195
13187
|
list: t(l).fixed,
|
|
@@ -13198,19 +13190,19 @@ const Kn = ca({
|
|
|
13198
13190
|
"ghost-class": "ghost"
|
|
13199
13191
|
}, {
|
|
13200
13192
|
item: I(({ element: m, index: M }) => [
|
|
13201
|
-
d("div",
|
|
13202
|
-
d("div",
|
|
13193
|
+
d("div", pr, [
|
|
13194
|
+
d("div", fr, [
|
|
13203
13195
|
k[1] || (k[1] = d("i", { class: "imicon im-handle cursor-grab" }, null, -1)),
|
|
13204
|
-
d("span", null,
|
|
13196
|
+
d("span", null, L(s.$l(m.label)), 1)
|
|
13205
13197
|
]),
|
|
13206
|
-
d("div",
|
|
13198
|
+
d("div", hr, [
|
|
13207
13199
|
d("div", {
|
|
13208
13200
|
class: "tipbtn red left",
|
|
13209
13201
|
txt: s.$l("Unfixed"),
|
|
13210
13202
|
onClick: (j) => b(m, M)
|
|
13211
13203
|
}, [...k[2] || (k[2] = [
|
|
13212
13204
|
d("i", { class: "imicon im-download1 fs14" }, null, -1)
|
|
13213
|
-
])], 8,
|
|
13205
|
+
])], 8, _r)
|
|
13214
13206
|
])
|
|
13215
13207
|
])
|
|
13216
13208
|
]),
|
|
@@ -13223,9 +13215,9 @@ const Kn = ca({
|
|
|
13223
13215
|
k[6] || (k[6] = d("div", { class: "p4-0" }, [
|
|
13224
13216
|
d("div", { class: "border-t" })
|
|
13225
13217
|
], -1)),
|
|
13226
|
-
d("div",
|
|
13227
|
-
t(l).visible.length === 0 ? (_(), E("span",
|
|
13228
|
-
B(
|
|
13218
|
+
d("div", gr, [
|
|
13219
|
+
t(l).visible.length === 0 ? (_(), E("span", yr, L(s.$l("No Columns")), 1)) : G("", !0),
|
|
13220
|
+
B(A, { height: t(N) }, {
|
|
13229
13221
|
default: I(() => [
|
|
13230
13222
|
B(t(Ze), {
|
|
13231
13223
|
list: t(l).visible,
|
|
@@ -13235,26 +13227,26 @@ const Kn = ca({
|
|
|
13235
13227
|
"ghost-class": "ghost"
|
|
13236
13228
|
}, {
|
|
13237
13229
|
item: I(({ element: m, index: M }) => [
|
|
13238
|
-
d("div",
|
|
13239
|
-
d("div",
|
|
13230
|
+
d("div", Ar, [
|
|
13231
|
+
d("div", wr, [
|
|
13240
13232
|
k[3] || (k[3] = d("i", { class: "imicon im-handle cursor-grab" }, null, -1)),
|
|
13241
|
-
d("span", null,
|
|
13233
|
+
d("span", null, L(s.$l(m.label)), 1)
|
|
13242
13234
|
]),
|
|
13243
|
-
d("div",
|
|
13235
|
+
d("div", zr, [
|
|
13244
13236
|
d("div", {
|
|
13245
13237
|
class: "tipbtn left",
|
|
13246
13238
|
txt: s.$l("Fixed"),
|
|
13247
13239
|
onClick: (j) => v(m, M)
|
|
13248
13240
|
}, [...k[4] || (k[4] = [
|
|
13249
13241
|
d("i", { class: "imicon im-download1 fs14 rotateZ180" }, null, -1)
|
|
13250
|
-
])], 8,
|
|
13242
|
+
])], 8, Sr),
|
|
13251
13243
|
d("div", {
|
|
13252
13244
|
class: "tipbtn red left",
|
|
13253
13245
|
txt: s.$l("Hide"),
|
|
13254
13246
|
onClick: (j) => r(m, M)
|
|
13255
13247
|
}, [...k[5] || (k[5] = [
|
|
13256
13248
|
d("i", { class: "imicon im-close fs14" }, null, -1)
|
|
13257
|
-
])], 8,
|
|
13249
|
+
])], 8, Tr)
|
|
13258
13250
|
])
|
|
13259
13251
|
])
|
|
13260
13252
|
]),
|
|
@@ -13273,10 +13265,10 @@ const Kn = ca({
|
|
|
13273
13265
|
}, 8, ["loading"]);
|
|
13274
13266
|
};
|
|
13275
13267
|
}
|
|
13276
|
-
}),
|
|
13268
|
+
}), Mr = /* @__PURE__ */ ne(Cr, [["__scopeId", "data-v-1927ce52"]]), kr = { class: "p16 border-b" }, Er = { class: "flexMode vc g8" }, Or = {
|
|
13277
13269
|
key: 0,
|
|
13278
13270
|
class: "flexMode vc g8"
|
|
13279
|
-
},
|
|
13271
|
+
}, xr = { class: "flexMode g16 hr vc" }, Pr = { class: "TheEnd p16" }, Lr = { class: "sticky flexMode vc hb p4-8 mt16 mb8 fs14 txt-dark9 z9 backdrop border-l4-primary bg-gray3 radius4" }, Nr = { class: "fw700" }, $r = { class: "flexMode vc g8" }, Ir = /* @__PURE__ */ Object.assign({
|
|
13280
13272
|
name: "MvcTableColumnDownload",
|
|
13281
13273
|
inheritAttrs: !1
|
|
13282
13274
|
}, {
|
|
@@ -13322,33 +13314,33 @@ const Kn = ca({
|
|
|
13322
13314
|
k.visible = !1;
|
|
13323
13315
|
});
|
|
13324
13316
|
}, b = () => {
|
|
13325
|
-
window.$copy(
|
|
13317
|
+
window.$copy(T());
|
|
13326
13318
|
}, r = async () => {
|
|
13327
13319
|
l.loading = !0;
|
|
13328
13320
|
try {
|
|
13329
|
-
const p =
|
|
13330
|
-
let s = l.fileName ||
|
|
13331
|
-
s && !s.toLowerCase().endsWith(".csv") && (s = `${s}.csv`), await
|
|
13321
|
+
const p = T("download");
|
|
13322
|
+
let s = l.fileName || S.value;
|
|
13323
|
+
s && !s.toLowerCase().endsWith(".csv") && (s = `${s}.csv`), await Ja({ content: p, filename: s, bom: !0 });
|
|
13332
13324
|
} finally {
|
|
13333
13325
|
l.loading = !1;
|
|
13334
13326
|
}
|
|
13335
|
-
},
|
|
13336
|
-
const s = l.onlySelection ? e.selection : e.list, k = {},
|
|
13327
|
+
}, T = (p) => {
|
|
13328
|
+
const s = l.onlySelection ? e.selection : e.list, k = {}, A = [];
|
|
13337
13329
|
l.columns.filter((x) => x.visible).forEach((x) => {
|
|
13338
|
-
|
|
13330
|
+
A.push(window.$l(x.label)), k[x.prop] = !0;
|
|
13339
13331
|
});
|
|
13340
13332
|
let g = "", m = [], M = p === "download" ? "," : " ";
|
|
13341
|
-
(l.useHead || p) && (g =
|
|
13333
|
+
(l.useHead || p) && (g = A.join(M) + `
|
|
13342
13334
|
`);
|
|
13343
|
-
let j = [],
|
|
13335
|
+
let j = [], w;
|
|
13344
13336
|
return Object.keys(k).forEach((x, D) => {
|
|
13345
|
-
x.includes("country") && (
|
|
13337
|
+
x.includes("country") && (w = D);
|
|
13346
13338
|
const F = [];
|
|
13347
13339
|
s.forEach((J) => {
|
|
13348
13340
|
J[x] !== void 0 && F.push(J[x]);
|
|
13349
13341
|
}), j.push(F);
|
|
13350
13342
|
}), j.forEach((x, D) => {
|
|
13351
|
-
!l.useCountryCode &&
|
|
13343
|
+
!l.useCountryCode && w === D ? x.forEach((F, J) => {
|
|
13352
13344
|
let P = F;
|
|
13353
13345
|
window.$getType(F) === "Array" ? P = F.map((W) => N[W.toUpperCase()].label.$l()).join(",") : window.$getType(F) === "String" ? P = F.split(",").map((W) => N[W.toUpperCase()].label.$l()).join(",") : P = JSON.stringify(F), m[J] ? m[J] += P + M : m[J] = P + M;
|
|
13354
13346
|
}) : x.forEach((F, J) => {
|
|
@@ -13356,23 +13348,23 @@ const Kn = ca({
|
|
|
13356
13348
|
});
|
|
13357
13349
|
}), `${g}${m.join(`
|
|
13358
13350
|
`)}`;
|
|
13359
|
-
},
|
|
13351
|
+
}, S = f(() => {
|
|
13360
13352
|
const p = window.$d().format("YYYYMMDDHHmmss");
|
|
13361
13353
|
return `${e.tableName}_${p}`;
|
|
13362
|
-
}),
|
|
13354
|
+
}), z = f(() => {
|
|
13363
13355
|
const p = {};
|
|
13364
13356
|
return l.columns.forEach((s) => {
|
|
13365
|
-
const k = s.type ? s.type : "normal",
|
|
13366
|
-
label:
|
|
13357
|
+
const k = s.type ? s.type : "normal", A = {
|
|
13358
|
+
label: $[k],
|
|
13367
13359
|
type: k,
|
|
13368
13360
|
visible: 0
|
|
13369
13361
|
};
|
|
13370
|
-
p[k] ? (p[k].children.push(s), s.visible && p[k].visible++) : (
|
|
13362
|
+
p[k] ? (p[k].children.push(s), s.visible && p[k].visible++) : (A.children = [s], s.visible && A.visible++, p[k] = A);
|
|
13371
13363
|
}), Object.keys(p).forEach((s) => {
|
|
13372
|
-
const k = p[s].visible === p[s].children.length,
|
|
13373
|
-
k ? (p[s].checkstatus = !0, p[s].indeterminate = !1) :
|
|
13364
|
+
const k = p[s].visible === p[s].children.length, A = p[s].visible === 0;
|
|
13365
|
+
k ? (p[s].checkstatus = !0, p[s].indeterminate = !1) : A ? (p[s].checkstatus = !1, p[s].indeterminate = !1) : (p[s].checkstatus = !1, p[s].indeterminate = !0);
|
|
13374
13366
|
}), p;
|
|
13375
|
-
}),
|
|
13367
|
+
}), $ = {
|
|
13376
13368
|
asa: "Asa Metrics",
|
|
13377
13369
|
normal: "Base Info",
|
|
13378
13370
|
mmp: "MMP Metrics"
|
|
@@ -13380,18 +13372,18 @@ const Kn = ca({
|
|
|
13380
13372
|
"Check All".$l(), "Cancel All".$l();
|
|
13381
13373
|
const N = Ge("asa.countryAll.obj");
|
|
13382
13374
|
return (p, s) => {
|
|
13383
|
-
const k = K("el-checkbox"),
|
|
13375
|
+
const k = K("el-checkbox"), A = K("el-button"), g = K("MvcAlert"), m = K("el-switch"), M = K("Input"), j = K("DrawerArea");
|
|
13384
13376
|
return _(), le(j, te(p.$attrs, { class: "MvcTableColumnDownload" }), {
|
|
13385
13377
|
cancel: I(() => [
|
|
13386
13378
|
B(M, {
|
|
13387
13379
|
modelValue: t(l).fileName,
|
|
13388
|
-
"onUpdate:modelValue": s[3] || (s[3] = (
|
|
13380
|
+
"onUpdate:modelValue": s[3] || (s[3] = (w) => t(l).fileName = w),
|
|
13389
13381
|
icon: "catalog",
|
|
13390
|
-
placeholder: t(
|
|
13382
|
+
placeholder: t(S),
|
|
13391
13383
|
class: "w600"
|
|
13392
13384
|
}, {
|
|
13393
13385
|
append: I(() => [
|
|
13394
|
-
B(
|
|
13386
|
+
B(A, {
|
|
13395
13387
|
loading: t(l).loading,
|
|
13396
13388
|
onClick: r
|
|
13397
13389
|
}, {
|
|
@@ -13399,7 +13391,7 @@ const Kn = ca({
|
|
|
13399
13391
|
d("i", { class: "imicon im-download1" }, null, -1)
|
|
13400
13392
|
])]),
|
|
13401
13393
|
default: I(() => [
|
|
13402
|
-
ce(" " +
|
|
13394
|
+
ce(" " + L(p.$l("Download")), 1)
|
|
13403
13395
|
]),
|
|
13404
13396
|
_: 1
|
|
13405
13397
|
}, 8, ["loading"])
|
|
@@ -13409,35 +13401,35 @@ const Kn = ca({
|
|
|
13409
13401
|
]),
|
|
13410
13402
|
submit: I(() => [...s[6] || (s[6] = [])]),
|
|
13411
13403
|
default: I(() => [
|
|
13412
|
-
d("div",
|
|
13404
|
+
d("div", kr, [
|
|
13413
13405
|
B(g, null, {
|
|
13414
13406
|
default: I(() => [
|
|
13415
|
-
d("div",
|
|
13416
|
-
d("span", null,
|
|
13417
|
-
d("span", null,
|
|
13407
|
+
d("div", Er, [
|
|
13408
|
+
d("span", null, L(p.$l("Total")), 1),
|
|
13409
|
+
d("span", null, L(e.list.length), 1)
|
|
13418
13410
|
]),
|
|
13419
|
-
e.selection.length ? (_(), E("div",
|
|
13420
|
-
d("span", null,
|
|
13421
|
-
d("span", null,
|
|
13411
|
+
e.selection.length ? (_(), E("div", Or, [
|
|
13412
|
+
d("span", null, L(p.$l("Selection")), 1),
|
|
13413
|
+
d("span", null, L(e.selection.length), 1),
|
|
13422
13414
|
B(k, {
|
|
13423
13415
|
modelValue: t(l).onlySelection,
|
|
13424
|
-
"onUpdate:modelValue": s[0] || (s[0] = (
|
|
13416
|
+
"onUpdate:modelValue": s[0] || (s[0] = (w) => t(l).onlySelection = w),
|
|
13425
13417
|
label: p.$l("Only Selection")
|
|
13426
13418
|
}, null, 8, ["modelValue", "label"])
|
|
13427
13419
|
])) : G("", !0),
|
|
13428
|
-
d("div",
|
|
13429
|
-
B(
|
|
13420
|
+
d("div", xr, [
|
|
13421
|
+
B(A, { onClick: b }, {
|
|
13430
13422
|
icon: I(() => [...s[4] || (s[4] = [
|
|
13431
13423
|
d("i", { class: "imicon im-copy" }, null, -1)
|
|
13432
13424
|
])]),
|
|
13433
13425
|
default: I(() => [
|
|
13434
|
-
ce(" " +
|
|
13426
|
+
ce(" " + L(p.$l("Copy to Clipboard")), 1)
|
|
13435
13427
|
]),
|
|
13436
13428
|
_: 1
|
|
13437
13429
|
}),
|
|
13438
13430
|
B(k, {
|
|
13439
13431
|
modelValue: t(l).useHead,
|
|
13440
|
-
"onUpdate:modelValue": s[1] || (s[1] = (
|
|
13432
|
+
"onUpdate:modelValue": s[1] || (s[1] = (w) => t(l).useHead = w),
|
|
13441
13433
|
label: p.$l("With Table Head")
|
|
13442
13434
|
}, null, 8, ["modelValue", "label"])
|
|
13443
13435
|
])
|
|
@@ -13445,21 +13437,21 @@ const Kn = ca({
|
|
|
13445
13437
|
_: 1
|
|
13446
13438
|
})
|
|
13447
13439
|
]),
|
|
13448
|
-
d("div",
|
|
13449
|
-
(_(!0), E(oe, null, ie(t(
|
|
13450
|
-
key:
|
|
13440
|
+
d("div", Pr, [
|
|
13441
|
+
(_(!0), E(oe, null, ie(t(z), (w) => (_(), E("div", {
|
|
13442
|
+
key: w.type
|
|
13451
13443
|
}, [
|
|
13452
|
-
d("div",
|
|
13453
|
-
d("span",
|
|
13444
|
+
d("div", Lr, [
|
|
13445
|
+
d("span", Nr, L(w.label), 1),
|
|
13454
13446
|
B(k, {
|
|
13455
|
-
modelValue:
|
|
13456
|
-
"onUpdate:modelValue": (x) =>
|
|
13457
|
-
indeterminate:
|
|
13447
|
+
modelValue: w.checkstatus,
|
|
13448
|
+
"onUpdate:modelValue": (x) => w.checkstatus = x,
|
|
13449
|
+
indeterminate: w.indeterminate,
|
|
13458
13450
|
label: p.$l("Check"),
|
|
13459
|
-
onChange: (x) => v(x,
|
|
13451
|
+
onChange: (x) => v(x, w)
|
|
13460
13452
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "indeterminate", "label", "onChange"])
|
|
13461
13453
|
]),
|
|
13462
|
-
(_(!0), E(oe, null, ie(
|
|
13454
|
+
(_(!0), E(oe, null, ie(w.children, (x, D) => (_(), le(k, {
|
|
13463
13455
|
modelValue: x.visible,
|
|
13464
13456
|
"onUpdate:modelValue": (F) => x.visible = F,
|
|
13465
13457
|
key: D,
|
|
@@ -13470,8 +13462,8 @@ const Kn = ca({
|
|
|
13470
13462
|
default: I(() => {
|
|
13471
13463
|
var F;
|
|
13472
13464
|
return [
|
|
13473
|
-
d("div",
|
|
13474
|
-
d("span", null,
|
|
13465
|
+
d("div", $r, [
|
|
13466
|
+
d("span", null, L(x.label), 1),
|
|
13475
13467
|
(F = x.prop) != null && F.includes("country") ? (_(), le(m, {
|
|
13476
13468
|
key: 0,
|
|
13477
13469
|
modelValue: t(l).useCountryCode,
|
|
@@ -13493,13 +13485,13 @@ const Kn = ca({
|
|
|
13493
13485
|
}, 16);
|
|
13494
13486
|
};
|
|
13495
13487
|
}
|
|
13496
|
-
}),
|
|
13488
|
+
}), jr = { class: "MvcTable" }, Br = {
|
|
13497
13489
|
key: 0,
|
|
13498
13490
|
class: "flexMode vc"
|
|
13499
|
-
},
|
|
13491
|
+
}, Dr = { class: "tableArea relative radius ctx-auto" }, Rr = {
|
|
13500
13492
|
key: 1,
|
|
13501
13493
|
class: "flexMode vc h56 p16 xscroll nobar fadeout"
|
|
13502
|
-
},
|
|
13494
|
+
}, Vr = /* @__PURE__ */ Object.assign({
|
|
13503
13495
|
name: "MvcTable",
|
|
13504
13496
|
inheritAttrs: !1
|
|
13505
13497
|
}, {
|
|
@@ -13604,26 +13596,26 @@ const Kn = ca({
|
|
|
13604
13596
|
{
|
|
13605
13597
|
title: "Table Column Customization",
|
|
13606
13598
|
size: 1024,
|
|
13607
|
-
cpt: Te(
|
|
13599
|
+
cpt: Te(Mr)
|
|
13608
13600
|
},
|
|
13609
13601
|
{
|
|
13610
13602
|
title: "Download from Current Table",
|
|
13611
|
-
cpt: Te(
|
|
13603
|
+
cpt: Te(Ir)
|
|
13612
13604
|
}
|
|
13613
13605
|
]
|
|
13614
13606
|
}), y = ae(null), { proxy: v } = pe();
|
|
13615
13607
|
Ga(() => {
|
|
13616
13608
|
r();
|
|
13617
13609
|
}), se(() => {
|
|
13618
|
-
|
|
13610
|
+
T();
|
|
13619
13611
|
});
|
|
13620
13612
|
const b = e, r = () => {
|
|
13621
13613
|
n.loading = l.defaultLoading, l.pageSize && (i.pageSize = l.pageSize);
|
|
13622
|
-
},
|
|
13623
|
-
|
|
13624
|
-
},
|
|
13625
|
-
|
|
13626
|
-
},
|
|
13614
|
+
}, T = () => {
|
|
13615
|
+
w(), l.defer === !1 && z();
|
|
13616
|
+
}, S = (C) => {
|
|
13617
|
+
z(C);
|
|
13618
|
+
}, z = async (C = {}) => {
|
|
13627
13619
|
var Y, Z;
|
|
13628
13620
|
if (C.refresh && n.loading)
|
|
13629
13621
|
return;
|
|
@@ -13634,8 +13626,8 @@ const Kn = ca({
|
|
|
13634
13626
|
};
|
|
13635
13627
|
C.refresh && (R.remote = !0);
|
|
13636
13628
|
const { list: X = [], total: c, summary: O } = await l.loadData(R) || {};
|
|
13637
|
-
i.list = X.map((H, ee) => (H.index = ee, H)), c === void 0 ? (i.total = i.list.length, i.nopagination = !0) : (i.total = c, i.nopagination = !1), (Z = (Y = globalThis.$config) == null ? void 0 : Y.table) != null && Z.scrollToTop && p(),
|
|
13638
|
-
},
|
|
13629
|
+
i.list = X.map((H, ee) => (H.index = ee, H)), c === void 0 ? (i.total = i.list.length, i.nopagination = !0) : (i.total = c, i.nopagination = !1), (Z = (Y = globalThis.$config) == null ? void 0 : Y.table) != null && Z.scrollToTop && p(), $(O), n.loading = !1;
|
|
13630
|
+
}, $ = (C) => {
|
|
13639
13631
|
C ? i.summary = C : i.summary = !1;
|
|
13640
13632
|
}, N = (C) => {
|
|
13641
13633
|
if (i.summaryType === "locale")
|
|
@@ -13649,18 +13641,18 @@ const Kn = ca({
|
|
|
13649
13641
|
const O = R(l.summaryMetric, c);
|
|
13650
13642
|
return O !== void 0 ? O : R((Z = (Y = globalThis.$config) == null ? void 0 : Y.table) == null ? void 0 : Z.summaryMetric, c);
|
|
13651
13643
|
};
|
|
13652
|
-
return
|
|
13644
|
+
return Za(C, i.summary, { resolveMetric: X });
|
|
13653
13645
|
}
|
|
13654
13646
|
return [];
|
|
13655
13647
|
}, p = () => {
|
|
13656
13648
|
y.value.$refs.scrollBarRef.setScrollTop(0);
|
|
13657
13649
|
}, s = () => {
|
|
13658
|
-
|
|
13650
|
+
z({
|
|
13659
13651
|
pageStart: 1
|
|
13660
13652
|
});
|
|
13661
13653
|
}, k = () => {
|
|
13662
|
-
|
|
13663
|
-
},
|
|
13654
|
+
z();
|
|
13655
|
+
}, A = (C) => {
|
|
13664
13656
|
if (n.selection = C, b("selection-change", C), n.shiftKey) {
|
|
13665
13657
|
const R = C[C.length - 2], X = C[C.length - 1], c = i.list.filter1((H) => H.id === R.id).index || 0, O = i.list.filter1((H) => H.id === X.id).index;
|
|
13666
13658
|
let Y = c, Z = O;
|
|
@@ -13669,14 +13661,14 @@ const Kn = ca({
|
|
|
13669
13661
|
v.$refs.body.toggleRowSelection(i.list[H], !0);
|
|
13670
13662
|
}
|
|
13671
13663
|
}, g = () => {
|
|
13672
|
-
n.loading || (
|
|
13664
|
+
n.loading || (z({ refresh: !0 }), b("refresh"));
|
|
13673
13665
|
}, m = () => {
|
|
13674
13666
|
u.current = 0;
|
|
13675
13667
|
}, M = () => {
|
|
13676
13668
|
u.current = 1;
|
|
13677
13669
|
}, j = () => {
|
|
13678
13670
|
n.tableKey++;
|
|
13679
|
-
},
|
|
13671
|
+
}, w = () => {
|
|
13680
13672
|
document.addEventListener("keydown", x), document.addEventListener("keyup", D);
|
|
13681
13673
|
}, x = (C) => {
|
|
13682
13674
|
C.keyCode === 16 && (n.shiftKey = !0);
|
|
@@ -13704,11 +13696,11 @@ const Kn = ca({
|
|
|
13704
13696
|
return ve(() => {
|
|
13705
13697
|
F();
|
|
13706
13698
|
}), o({
|
|
13707
|
-
initTable:
|
|
13699
|
+
initTable: S,
|
|
13708
13700
|
editRow: J
|
|
13709
13701
|
}), (C, R) => {
|
|
13710
13702
|
const X = K("el-button"), c = K("Loading"), O = K("el-table"), Y = K("el-pagination"), Z = K("Drawer");
|
|
13711
|
-
return _(), E("div",
|
|
13703
|
+
return _(), E("div", jr, [
|
|
13712
13704
|
l.noheader === !1 ? (_(), E("div", {
|
|
13713
13705
|
key: 0,
|
|
13714
13706
|
class: U(["flexMode hb g12 p16 bg-white", l.autoHeader ? "minh64" : "h64"])
|
|
@@ -13718,7 +13710,7 @@ const Kn = ca({
|
|
|
13718
13710
|
}, [
|
|
13719
13711
|
q(C.$slots, "header", {}, void 0, !0)
|
|
13720
13712
|
], 2),
|
|
13721
|
-
t(h) ? (_(), E("div",
|
|
13713
|
+
t(h) ? (_(), E("div", Br, [
|
|
13722
13714
|
t(h).refresh ? (_(), le(X, {
|
|
13723
13715
|
key: 0,
|
|
13724
13716
|
onClick: g
|
|
@@ -13727,7 +13719,7 @@ const Kn = ca({
|
|
|
13727
13719
|
d("i", { class: "imicon im-reload" }, null, -1)
|
|
13728
13720
|
])]),
|
|
13729
13721
|
default: I(() => [
|
|
13730
|
-
ce(" " +
|
|
13722
|
+
ce(" " + L(C.$l("Refresh")), 1)
|
|
13731
13723
|
]),
|
|
13732
13724
|
_: 1
|
|
13733
13725
|
})) : G("", !0),
|
|
@@ -13739,7 +13731,7 @@ const Kn = ca({
|
|
|
13739
13731
|
d("i", { class: "imicon im-layout" }, null, -1)
|
|
13740
13732
|
])]),
|
|
13741
13733
|
default: I(() => [
|
|
13742
|
-
ce(" " +
|
|
13734
|
+
ce(" " + L(C.$l("Columns")), 1)
|
|
13743
13735
|
]),
|
|
13744
13736
|
_: 1
|
|
13745
13737
|
})) : G("", !0),
|
|
@@ -13751,13 +13743,13 @@ const Kn = ca({
|
|
|
13751
13743
|
d("i", { class: "imicon im-download" }, null, -1)
|
|
13752
13744
|
])]),
|
|
13753
13745
|
default: I(() => [
|
|
13754
|
-
ce(" " +
|
|
13746
|
+
ce(" " + L(C.$l("Download")), 1)
|
|
13755
13747
|
]),
|
|
13756
13748
|
_: 1
|
|
13757
13749
|
})) : G("", !0)
|
|
13758
13750
|
])) : G("", !0)
|
|
13759
13751
|
], 2)) : G("", !0),
|
|
13760
|
-
d("div",
|
|
13752
|
+
d("div", Dr, [
|
|
13761
13753
|
B(c, {
|
|
13762
13754
|
loading: t(n).loading
|
|
13763
13755
|
}, null, 8, ["loading"]),
|
|
@@ -13774,10 +13766,10 @@ const Kn = ca({
|
|
|
13774
13766
|
"show-summary": t(W),
|
|
13775
13767
|
"summary-method": N,
|
|
13776
13768
|
class: "MainTable",
|
|
13777
|
-
onSelectionChange:
|
|
13769
|
+
onSelectionChange: A
|
|
13778
13770
|
}, {
|
|
13779
13771
|
default: I(() => [
|
|
13780
|
-
B(t(
|
|
13772
|
+
B(t(Yt), te({
|
|
13781
13773
|
"table-name": l.tableName,
|
|
13782
13774
|
column: t(h) ? t(h).column : !1
|
|
13783
13775
|
}, C.$attrs), {
|
|
@@ -13790,7 +13782,7 @@ const Kn = ca({
|
|
|
13790
13782
|
_: 3
|
|
13791
13783
|
}, 8, ["height", "data", "default-expand-all", "row-key", "show-summary"]))
|
|
13792
13784
|
]),
|
|
13793
|
-
l.nofooter === !1 ? (_(), E("div",
|
|
13785
|
+
l.nofooter === !1 ? (_(), E("div", Rr, [
|
|
13794
13786
|
B(Y, {
|
|
13795
13787
|
"current-page": t(i).page,
|
|
13796
13788
|
"onUpdate:currentPage": R[0] || (R[0] = (H) => t(i).page = H),
|
|
@@ -13817,10 +13809,10 @@ const Kn = ca({
|
|
|
13817
13809
|
]);
|
|
13818
13810
|
};
|
|
13819
13811
|
}
|
|
13820
|
-
}),
|
|
13812
|
+
}), Fr = /* @__PURE__ */ ne(Vr, [["__scopeId", "data-v-f79bf58d"]]), Gr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
13821
13813
|
__proto__: null,
|
|
13822
|
-
default:
|
|
13823
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
13814
|
+
default: Fr
|
|
13815
|
+
}, Symbol.toStringTag, { value: "Module" })), Kr = { class: "minh480 pt16" }, Ur = /* @__PURE__ */ Object.assign({
|
|
13824
13816
|
name: "MvcTabs",
|
|
13825
13817
|
inheritAttrs: !1
|
|
13826
13818
|
}, {
|
|
@@ -13869,8 +13861,8 @@ const Kn = ca({
|
|
|
13869
13861
|
setup(a, { emit: o }) {
|
|
13870
13862
|
const e = a, l = o, n = fe(), i = (r) => r == null ? r : ["Object", "Array"].includes(globalThis.$getType(r)) ? r[e.valueKey] : r, u = (r) => {
|
|
13871
13863
|
l("update:modelValue", r);
|
|
13872
|
-
const
|
|
13873
|
-
l("change", r,
|
|
13864
|
+
const T = e.options.find((S) => i(S) === r);
|
|
13865
|
+
l("change", r, T);
|
|
13874
13866
|
}, y = f(
|
|
13875
13867
|
() => e.options.find((r) => i(r) === e.modelValue)
|
|
13876
13868
|
), v = f(() => {
|
|
@@ -13881,10 +13873,10 @@ const Kn = ca({
|
|
|
13881
13873
|
const r = y.value;
|
|
13882
13874
|
return !r || !["Object", "Array"].includes(globalThis.$getType(r)) ? {} : r[e.panePropsKey] ?? {};
|
|
13883
13875
|
});
|
|
13884
|
-
return (r,
|
|
13885
|
-
const
|
|
13876
|
+
return (r, T) => {
|
|
13877
|
+
const S = K("BtnGroup");
|
|
13886
13878
|
return _(), E("div", te({ class: "MvcTabs" }, t(n)), [
|
|
13887
|
-
B(
|
|
13879
|
+
B(S, {
|
|
13888
13880
|
"model-value": e.modelValue,
|
|
13889
13881
|
options: e.options,
|
|
13890
13882
|
"value-key": e.valueKey,
|
|
@@ -13894,22 +13886,22 @@ const Kn = ca({
|
|
|
13894
13886
|
disabled: e.disabled,
|
|
13895
13887
|
"onUpdate:modelValue": u
|
|
13896
13888
|
}, null, 8, ["model-value", "options", "value-key", "label-key", "icon-key", "icon-class", "disabled"]),
|
|
13897
|
-
d("div",
|
|
13889
|
+
d("div", Kr, [
|
|
13898
13890
|
t(v) ? (_(), le(ua(t(v)), he(te({ key: 0 }, t(b))), null, 16)) : G("", !0)
|
|
13899
13891
|
])
|
|
13900
13892
|
], 16);
|
|
13901
13893
|
};
|
|
13902
13894
|
}
|
|
13903
|
-
}),
|
|
13895
|
+
}), Hr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
13904
13896
|
__proto__: null,
|
|
13905
|
-
default:
|
|
13906
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
13897
|
+
default: Ur
|
|
13898
|
+
}, Symbol.toStringTag, { value: "Module" })), Jr = {
|
|
13907
13899
|
key: 0,
|
|
13908
13900
|
class: "MvcFieldLabel"
|
|
13909
|
-
},
|
|
13901
|
+
}, Zr = {
|
|
13910
13902
|
key: 1,
|
|
13911
13903
|
class: "el-input__count"
|
|
13912
|
-
},
|
|
13904
|
+
}, Yr = /* @__PURE__ */ Object.assign({
|
|
13913
13905
|
name: "MvcTextarea",
|
|
13914
13906
|
inheritAttrs: !1
|
|
13915
13907
|
}, {
|
|
@@ -13979,17 +13971,17 @@ const Kn = ca({
|
|
|
13979
13971
|
se(() => {
|
|
13980
13972
|
var C, R;
|
|
13981
13973
|
const h = (C = n.value) == null ? void 0 : C.$el;
|
|
13982
|
-
i = (R = h == null ? void 0 : h.querySelector) == null ? void 0 : R.call(h, "textarea"), i && (i.addEventListener("compositionstart", r), i.addEventListener("compositionend",
|
|
13974
|
+
i = (R = h == null ? void 0 : h.querySelector) == null ? void 0 : R.call(h, "textarea"), i && (i.addEventListener("compositionstart", r), i.addEventListener("compositionend", T));
|
|
13983
13975
|
});
|
|
13984
13976
|
const r = () => {
|
|
13985
13977
|
u.isComposing = !0;
|
|
13986
|
-
},
|
|
13987
|
-
u.isComposing = !1, me(() =>
|
|
13988
|
-
},
|
|
13989
|
-
u.isComposing ||
|
|
13990
|
-
},
|
|
13978
|
+
}, T = () => {
|
|
13979
|
+
u.isComposing = !1, me(() => A(u.val));
|
|
13980
|
+
}, S = (h) => {
|
|
13981
|
+
u.isComposing || A(h);
|
|
13982
|
+
}, z = (h) => {
|
|
13991
13983
|
u.focused = !0, y("focus", h);
|
|
13992
|
-
},
|
|
13984
|
+
}, $ = (h) => {
|
|
13993
13985
|
u.focused = !1, y("blur", h);
|
|
13994
13986
|
}, N = (h) => {
|
|
13995
13987
|
const C = String(h ?? "").split(/\r?\n/);
|
|
@@ -13999,8 +13991,8 @@ const Kn = ca({
|
|
|
13999
13991
|
`), s = (h) => {
|
|
14000
13992
|
const C = N(h);
|
|
14001
13993
|
y("update:modelValue", C), y("input", C);
|
|
14002
|
-
}, k = (h) => !
|
|
14003
|
-
`),
|
|
13994
|
+
}, k = (h) => !w.value || !j.value ? h : String(h ?? "").split(/\r?\n/).slice(0, j.value).join(`
|
|
13995
|
+
`), A = (h) => {
|
|
14004
13996
|
const C = k(h);
|
|
14005
13997
|
C !== h && (u.val = C), s(C);
|
|
14006
13998
|
}, g = f(() => {
|
|
@@ -14010,7 +14002,7 @@ const Kn = ca({
|
|
|
14010
14002
|
}), m = f(() => e.wordLimtType === "word" && !!j.value), M = f(() => e.wordLimtType === "word" ? j.value : void 0), j = f(() => {
|
|
14011
14003
|
const h = Number(v.$attrs.max ?? v.$attrs.maxlength);
|
|
14012
14004
|
return Number.isFinite(h) && h > 0 ? Math.floor(h) : void 0;
|
|
14013
|
-
}),
|
|
14005
|
+
}), w = f(() => e.wordLimtType === "line"), x = f(() => w.value && !!j.value), D = f(() => {
|
|
14014
14006
|
const h = String(u.val ?? "");
|
|
14015
14007
|
return h ? h.split(/\r?\n/).length : 0;
|
|
14016
14008
|
}), F = f(() => String(u.val ?? "").length > 0), J = f(() => !!l.placeholder), P = f(
|
|
@@ -14028,21 +14020,21 @@ const Kn = ca({
|
|
|
14028
14020
|
() => e.materialLabel ? { "--mv-field-surface": "var(--mvframe-input-surface, var(--el-bg-color, #ffffff))" } : void 0
|
|
14029
14021
|
);
|
|
14030
14022
|
return re(
|
|
14031
|
-
[() => e.modelValue, j,
|
|
14023
|
+
[() => e.modelValue, j, w],
|
|
14032
14024
|
([h]) => {
|
|
14033
14025
|
const C = k(p(h));
|
|
14034
14026
|
u.val !== C && (u.val = C);
|
|
14035
14027
|
},
|
|
14036
14028
|
{ immediate: !0 }
|
|
14037
14029
|
), ve(() => {
|
|
14038
|
-
i && (i.removeEventListener("compositionstart", r), i.removeEventListener("compositionend",
|
|
14030
|
+
i && (i.removeEventListener("compositionstart", r), i.removeEventListener("compositionend", T), i = null);
|
|
14039
14031
|
}), (h, C) => {
|
|
14040
14032
|
const R = K("el-input");
|
|
14041
14033
|
return _(), E("div", {
|
|
14042
14034
|
class: U(["MvcField MvcFieldTextarea", t(W)]),
|
|
14043
14035
|
style: de(t(V))
|
|
14044
14036
|
}, [
|
|
14045
|
-
e.label ? (_(), E("label",
|
|
14037
|
+
e.label ? (_(), E("label", Jr, L(e.label), 1)) : G("", !0),
|
|
14046
14038
|
B(R, te({
|
|
14047
14039
|
ref_key: "inputRef",
|
|
14048
14040
|
ref: n,
|
|
@@ -14057,47 +14049,47 @@ const Kn = ca({
|
|
|
14057
14049
|
resize: e.resize,
|
|
14058
14050
|
class: "MvcTextarea"
|
|
14059
14051
|
}, t(b), {
|
|
14060
|
-
onInput:
|
|
14061
|
-
onFocus:
|
|
14062
|
-
onBlur:
|
|
14052
|
+
onInput: S,
|
|
14053
|
+
onFocus: z,
|
|
14054
|
+
onBlur: $
|
|
14063
14055
|
}), null, 16, ["modelValue", "rows", "style", "input-style", "show-word-limit", "maxlength", "resize"]),
|
|
14064
|
-
t(x) ? (_(), E("span",
|
|
14056
|
+
t(x) ? (_(), E("span", Zr, L(t(D)) + " / " + L(t(j)), 1)) : G("", !0)
|
|
14065
14057
|
], 6);
|
|
14066
14058
|
};
|
|
14067
14059
|
}
|
|
14068
|
-
}),
|
|
14060
|
+
}), Wr = /* @__PURE__ */ ne(Yr, [["__scopeId", "data-v-467a9b5a"]]), qr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
14069
14061
|
__proto__: null,
|
|
14070
|
-
default:
|
|
14062
|
+
default: Wr
|
|
14071
14063
|
}, Symbol.toStringTag, { value: "Module" })), oa = /* @__PURE__ */ Object.assign({
|
|
14072
|
-
"../component/BtnGroup/index.vue":
|
|
14073
|
-
"../component/Card/index.vue":
|
|
14074
|
-
"../component/Drawer/index.vue":
|
|
14075
|
-
"../component/DrawerArea/index.vue":
|
|
14076
|
-
"../component/Form/index.vue":
|
|
14077
|
-
"../component/Frame/index.vue":
|
|
14078
|
-
"../component/Icon/index.vue":
|
|
14079
|
-
"../component/Input/index.vue":
|
|
14080
|
-
"../component/InputNumber/index.vue":
|
|
14081
|
-
"../component/Lang/index.vue":
|
|
14082
|
-
"../component/List/index.vue":
|
|
14083
|
-
"../component/Loading/index.vue":
|
|
14084
|
-
"../component/Login/index.vue":
|
|
14085
|
-
"../component/Mention/index.vue":
|
|
14086
|
-
"../component/Note/index.vue":
|
|
14087
|
-
"../component/Page/index.vue":
|
|
14088
|
-
"../component/Select/index.vue":
|
|
14089
|
-
"../component/SelectV2/index.vue":
|
|
14090
|
-
"../component/Table/index.vue":
|
|
14091
|
-
"../component/Tabs/index.vue":
|
|
14092
|
-
"../component/Textarea/index.vue":
|
|
14093
|
-
}),
|
|
14064
|
+
"../component/BtnGroup/index.vue": Mn,
|
|
14065
|
+
"../component/Card/index.vue": xn,
|
|
14066
|
+
"../component/Drawer/index.vue": jn,
|
|
14067
|
+
"../component/DrawerArea/index.vue": Gn,
|
|
14068
|
+
"../component/Form/index.vue": Zn,
|
|
14069
|
+
"../component/Frame/index.vue": Po,
|
|
14070
|
+
"../component/Icon/index.vue": $o,
|
|
14071
|
+
"../component/Input/index.vue": Do,
|
|
14072
|
+
"../component/InputNumber/index.vue": Fo,
|
|
14073
|
+
"../component/Lang/index.vue": Zo,
|
|
14074
|
+
"../component/List/index.vue": Qo,
|
|
14075
|
+
"../component/Loading/index.vue": nt,
|
|
14076
|
+
"../component/Login/index.vue": ht,
|
|
14077
|
+
"../component/Mention/index.vue": At,
|
|
14078
|
+
"../component/Note/index.vue": St,
|
|
14079
|
+
"../component/Page/index.vue": Pt,
|
|
14080
|
+
"../component/Select/index.vue": Rt,
|
|
14081
|
+
"../component/SelectV2/index.vue": Zt,
|
|
14082
|
+
"../component/Table/index.vue": Gr,
|
|
14083
|
+
"../component/Tabs/index.vue": Hr,
|
|
14084
|
+
"../component/Textarea/index.vue": qr
|
|
14085
|
+
}), Xr = {
|
|
14094
14086
|
VTable: () => import("./vtable.js")
|
|
14095
|
-
},
|
|
14096
|
-
function
|
|
14087
|
+
}, Qr = ["VTable"];
|
|
14088
|
+
function ei(a) {
|
|
14097
14089
|
return a.match(/\.\.\/component\/(.*)\/index.vue/)[1];
|
|
14098
14090
|
}
|
|
14099
|
-
function
|
|
14100
|
-
const o = a == null ? void 0 : a.async, e = new Set(
|
|
14091
|
+
function ai(a = {}) {
|
|
14092
|
+
const o = a == null ? void 0 : a.async, e = new Set(Qr);
|
|
14101
14093
|
if (Array.isArray(o))
|
|
14102
14094
|
for (const l of o)
|
|
14103
14095
|
e.add(l);
|
|
@@ -14106,20 +14098,20 @@ function ei(a = {}) {
|
|
|
14106
14098
|
n ? e.add(l) : e.delete(l);
|
|
14107
14099
|
return e;
|
|
14108
14100
|
}
|
|
14109
|
-
const
|
|
14110
|
-
const e =
|
|
14101
|
+
const li = (a, o = {}) => {
|
|
14102
|
+
const e = ai(o);
|
|
14111
14103
|
for (let l in oa) {
|
|
14112
|
-
let n =
|
|
14104
|
+
let n = ei(l);
|
|
14113
14105
|
a.component(n, oa[l].default);
|
|
14114
14106
|
}
|
|
14115
14107
|
for (const l of e) {
|
|
14116
|
-
const n =
|
|
14108
|
+
const n = Xr[l];
|
|
14117
14109
|
n && a.component(l, da(n));
|
|
14118
14110
|
}
|
|
14119
|
-
},
|
|
14111
|
+
}, ni = {
|
|
14120
14112
|
name: "Matt Avias Frame",
|
|
14121
14113
|
copyright: "©2026",
|
|
14122
|
-
version: "1.1.
|
|
14114
|
+
version: "1.1.39",
|
|
14123
14115
|
author: "Matt Avias",
|
|
14124
14116
|
date: "2026-02-26",
|
|
14125
14117
|
/** 默认语言 key,与 `$getLang`、localStorage `lang` 一致;业务在 app.use(mvframe, { config }) 里覆盖 */
|
|
@@ -14142,36 +14134,36 @@ const ai = (a, o = {}) => {
|
|
|
14142
14134
|
loginPageName: "Entry",
|
|
14143
14135
|
// Login为保留名称
|
|
14144
14136
|
firstPageName: "Overview_Home"
|
|
14145
|
-
},
|
|
14137
|
+
}, oi = {
|
|
14146
14138
|
url: "//at.alicdn.com/t/c/font_4830641_s8ulvguq839.js",
|
|
14147
14139
|
prefix: "ant"
|
|
14148
|
-
},
|
|
14140
|
+
}, ti = (a, o = {}) => {
|
|
14149
14141
|
globalThis.$config = {
|
|
14150
|
-
...
|
|
14151
|
-
iconfont:
|
|
14142
|
+
...ni,
|
|
14143
|
+
iconfont: oi,
|
|
14152
14144
|
...o
|
|
14153
14145
|
};
|
|
14154
|
-
},
|
|
14155
|
-
a.use(
|
|
14146
|
+
}, wi = (a, o = {}) => {
|
|
14147
|
+
a.use(ti, o.config).use(pn, o.maps).use(Ya, o).use(li, o.components).use(Ia).use(qa, o.notify).use(ja).use(Ba, o.pinia).use(yn, o.vueRouter).use(Wa, o.lang);
|
|
14156
14148
|
};
|
|
14157
14149
|
export {
|
|
14158
|
-
|
|
14159
|
-
|
|
14150
|
+
In as D,
|
|
14151
|
+
tl as M,
|
|
14160
14152
|
ne as _,
|
|
14161
|
-
|
|
14162
|
-
|
|
14153
|
+
hi as a,
|
|
14154
|
+
bn as b,
|
|
14163
14155
|
Fe as c,
|
|
14164
|
-
|
|
14165
|
-
|
|
14166
|
-
|
|
14167
|
-
|
|
14168
|
-
|
|
14156
|
+
Ai as d,
|
|
14157
|
+
gi as e,
|
|
14158
|
+
yi as f,
|
|
14159
|
+
fi as g,
|
|
14160
|
+
pn as h,
|
|
14169
14161
|
ye as i,
|
|
14170
|
-
|
|
14171
|
-
|
|
14162
|
+
pi as j,
|
|
14163
|
+
wi as k,
|
|
14172
14164
|
ge as m,
|
|
14173
|
-
|
|
14174
|
-
|
|
14165
|
+
ol as n,
|
|
14166
|
+
_i as p,
|
|
14175
14167
|
ze as s,
|
|
14176
14168
|
Ge as u
|
|
14177
14169
|
};
|