@gonsin/gview 2.0.111 → 2.0.112
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/index.mjs +712 -713
- package/dist/types/stores/setting.d.ts +2 -2
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -3,30 +3,30 @@ var el = (o, e, t) => e in o ? Ja(o, e, { enumerable: !0, configurable: !0, writ
|
|
|
3
3
|
var it = (o, e, t) => (el(o, typeof e != "symbol" ? e + "" : e, t), t);
|
|
4
4
|
import { useI18n as me } from "gonsin-i18n";
|
|
5
5
|
import { useI18n as ld } from "gonsin-i18n";
|
|
6
|
-
import { defineComponent as ae, ref as K, computed as O, resolveComponent as Y, openBlock as p, createBlock as F, normalizeClass as Z, withCtx as L, createVNode as U, createElementVNode as ee, unref as h, createTextVNode as ie, toDisplayString as oe, createElementBlock as H, Fragment as se, renderList as _e, createCommentVNode as X, withModifiers as
|
|
7
|
-
import { useRouter as et, useRoute as pt, onBeforeRouteLeave as
|
|
6
|
+
import { defineComponent as ae, ref as K, computed as O, resolveComponent as Y, openBlock as p, createBlock as F, normalizeClass as Z, withCtx as L, createVNode as U, createElementVNode as ee, unref as h, createTextVNode as ie, toDisplayString as oe, createElementBlock as H, Fragment as se, renderList as _e, createCommentVNode as X, withModifiers as go, nextTick as tl, inject as $e, normalizeStyle as bt, normalizeProps as Dt, mergeProps as we, guardReactiveProps as Yt, renderSlot as Oe, onMounted as Ue, onBeforeUnmount as lt, isRef as ol, Transition as nl, watch as ye, createSlots as mo, useSlots as Xn, resolveDynamicComponent as Jn, TransitionGroup as al, toRefs as ll, provide as Tt, reactive as Do, onBeforeMount as Xt, toRaw as To, shallowRef as rl, defineAsyncComponent as ea, watchEffect as sl, createStaticVNode as nn } from "vue";
|
|
7
|
+
import { useRouter as et, useRoute as pt, onBeforeRouteLeave as ta, onBeforeRouteUpdate as oa } from "vue-router";
|
|
8
8
|
import { defineStore as Pt, storeToRefs as il } from "pinia";
|
|
9
9
|
import ft from "dayjs";
|
|
10
10
|
import an from "axios";
|
|
11
11
|
import { customAlphabet as ul } from "nanoid";
|
|
12
12
|
import cl from "nprogress";
|
|
13
13
|
import { default as sd } from "nprogress";
|
|
14
|
-
import { get as le, set as Ye, cloneDeep as
|
|
15
|
-
import { MessagePlugin as dl, Button as fl, Progress as
|
|
16
|
-
import { RefreshIcon as
|
|
14
|
+
import { get as le, set as Ye, cloneDeep as xe, isPlainObject as gn, isArray as vn, isEqual as yn } from "lodash-es";
|
|
15
|
+
import { MessagePlugin as dl, Button as fl, Progress as na, Tooltip as Et, Link as ml, Tree as pl, Card as hl, DialogPlugin as Eo, ConfigProvider as gl } from "tdesign-vue-next";
|
|
16
|
+
import { RefreshIcon as po, CloseIcon as Ct, ArrowLeftIcon as bn, ArrowRightIcon as wn, CloseCircleIcon as _n, MoreIcon as vl, DeleteIcon as yl, ViewListIcon as bl, PoweroffIcon as wl, ChevronDownIcon as _l, Icon as Tn, AppIcon as It, UploadIcon as kn, CheckCircleFilledIcon as Tl, PlayCircleFilledIcon as kl, PauseCircleFilledIcon as Ml, LinkIcon as Cl, ErrorCircleFilledIcon as Il, FileImageIcon as qt, FilePdfIcon as aa, VideoIcon as Wo, FileIconIcon as Yo, FolderOpenIcon as Sl, FolderIcon as Ll, FilterIcon as Nl, SearchIcon as Dl, UserIcon as Ao, BrowseIcon as El } from "tdesign-icons-vue-next";
|
|
17
17
|
import { useElementSize as Al, onClickOutside as Mn, useEventListener as Cn } from "@vueuse/core";
|
|
18
|
-
import
|
|
19
|
-
import
|
|
18
|
+
import ho from "number-precision";
|
|
19
|
+
import la from "qs";
|
|
20
20
|
import mt from "mustache";
|
|
21
21
|
import { Toolbar as Bl, Editor as Fl } from "@wangeditor/editor-for-vue";
|
|
22
|
-
import
|
|
22
|
+
import In from "he";
|
|
23
23
|
function Ge(o, e, t) {
|
|
24
24
|
const n = o;
|
|
25
25
|
return n.install = (a, l) => {
|
|
26
26
|
a.component(e || l || n.name, o), t && a.directive(t.name, t.comp);
|
|
27
27
|
}, n;
|
|
28
28
|
}
|
|
29
|
-
const
|
|
29
|
+
const ra = "VENUS_WEB", Ae = (o) => `${ra}_${o}`, Sn = Ae("WEBSITE_SETTING"), Ln = Ae("LOGIN_STATUS"), Dc = Ae("USER"), Ec = Ae("LOCAL_EDIFICE_INFO"), Bo = Ae("CONFIG"), Fo = Ae("BASE_PERMISSIONS"), Nn = Ae("USER_PERMISSIONS"), Po = Ae("THEME_CONFIG"), Dn = Ae("LANG"), Ac = Ae("MENU"), Ht = Ae("SIDE_MENU_CONFIG"), $o = Ae("INIT_TAB_MENU_LIST"), xo = Ae("TAB_MENU"), En = Ae("TOKEN"), An = Ae("TOKEN_EXPIRED_TIME"), Bn = Ae("SESSION_ID"), Bc = Ae("DATA_ID"), oo = Ae("COLUMN_DATA"), no = Ae("FORM_DATA_CACHE"), Pl = {
|
|
30
30
|
brandTheme: "default",
|
|
31
31
|
// 主题色
|
|
32
32
|
displayMode: "light"
|
|
@@ -38,7 +38,7 @@ function ht(o, e) {
|
|
|
38
38
|
function At(o) {
|
|
39
39
|
return ht(o, "Function");
|
|
40
40
|
}
|
|
41
|
-
const xl = (o) => typeof o < "u",
|
|
41
|
+
const xl = (o) => typeof o < "u", sa = (o) => !xl(o), ln = (o) => o !== null && ht(o, "Object");
|
|
42
42
|
function Fc(o) {
|
|
43
43
|
return ht(o, "Date");
|
|
44
44
|
}
|
|
@@ -65,18 +65,18 @@ function at(o) {
|
|
|
65
65
|
return o === null;
|
|
66
66
|
}
|
|
67
67
|
function jc(o) {
|
|
68
|
-
return
|
|
68
|
+
return sa(o) && at(o);
|
|
69
69
|
}
|
|
70
70
|
function je(o) {
|
|
71
|
-
return
|
|
71
|
+
return sa(o) || at(o);
|
|
72
72
|
}
|
|
73
|
-
function
|
|
73
|
+
function vo(o) {
|
|
74
74
|
return je(o) || (o + "").trim() == "";
|
|
75
75
|
}
|
|
76
|
-
function
|
|
76
|
+
function qo(o, e, t) {
|
|
77
77
|
return o.filter((n) => n.parent === e && n.menuMold != 3).map((n) => ({
|
|
78
78
|
...n,
|
|
79
|
-
children:
|
|
79
|
+
children: qo(o, n.name, t + 1),
|
|
80
80
|
path: n.url,
|
|
81
81
|
// 菜单路径
|
|
82
82
|
alias: n.title,
|
|
@@ -166,19 +166,19 @@ class ca {
|
|
|
166
166
|
}
|
|
167
167
|
}
|
|
168
168
|
const vt = new ca("session"), he = new ca("local");
|
|
169
|
-
function
|
|
169
|
+
function Zt(o) {
|
|
170
170
|
return ul(
|
|
171
171
|
"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",
|
|
172
172
|
32
|
|
173
173
|
)(o);
|
|
174
174
|
}
|
|
175
|
-
function
|
|
176
|
-
const o = localStorage.getItem(
|
|
175
|
+
function ko() {
|
|
176
|
+
const o = localStorage.getItem(Bn);
|
|
177
177
|
if ((o ?? "") != "")
|
|
178
178
|
return o;
|
|
179
179
|
{
|
|
180
|
-
const e =
|
|
181
|
-
return localStorage.setItem(
|
|
180
|
+
const e = Zt(32);
|
|
181
|
+
return localStorage.setItem(Bn, e), e;
|
|
182
182
|
}
|
|
183
183
|
}
|
|
184
184
|
cl.configure({
|
|
@@ -198,7 +198,7 @@ const Rl = {
|
|
|
198
198
|
refreshTokenUrl: "/api/base/token/refresh"
|
|
199
199
|
};
|
|
200
200
|
async function jl(o) {
|
|
201
|
-
const e =
|
|
201
|
+
const e = ko(), { data: t } = await an.create()({
|
|
202
202
|
method: "POST",
|
|
203
203
|
url: `${Rl.refreshTokenUrl}?sessionId=${e}`,
|
|
204
204
|
headers: {
|
|
@@ -258,11 +258,11 @@ function Wl(o) {
|
|
|
258
258
|
ellipsis: { props: { theme: "light", showArrow: !1, placement: "bottom" } },
|
|
259
259
|
attrs: {
|
|
260
260
|
style: {
|
|
261
|
-
minWidth: `calc(${
|
|
261
|
+
minWidth: `calc(${Fn(
|
|
262
262
|
t.weight ?? 1,
|
|
263
263
|
a.length + 1
|
|
264
264
|
)} * 100vw - 32px)`,
|
|
265
|
-
width: `calc(${
|
|
265
|
+
width: `calc(${Fn(
|
|
266
266
|
t.weight ?? 1,
|
|
267
267
|
a.length + 1
|
|
268
268
|
)} * 100vw - 32px)`
|
|
@@ -292,7 +292,7 @@ function Yl(o) {
|
|
|
292
292
|
title: e.name
|
|
293
293
|
})) : [];
|
|
294
294
|
}
|
|
295
|
-
function
|
|
295
|
+
function Fn(o, e) {
|
|
296
296
|
return o / e;
|
|
297
297
|
}
|
|
298
298
|
function ql(o, e) {
|
|
@@ -315,12 +315,12 @@ function Mt(o) {
|
|
|
315
315
|
}
|
|
316
316
|
function wt(o, e, t = !0) {
|
|
317
317
|
const n = new URLSearchParams(e), a = `?${n.toString()}`;
|
|
318
|
-
return t && !
|
|
318
|
+
return t && !Jt(o) && (o = `http://${o}`), n.toString() ? `${o}${a}` : o;
|
|
319
319
|
}
|
|
320
|
-
function
|
|
320
|
+
function Jt(o) {
|
|
321
321
|
return /^(?:https?|ftp):\/\/(?:(?:[A-Z0-9](?:[A-Z0-9-]{0,61}[A-Z0-9])?\.)+(?:[A-Z]{2,6}\.?|[A-Z0-9-]{2,}\.?)|localhost|(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}))(:\d+)?(\/[^\s]*)?$/i.test(o);
|
|
322
322
|
}
|
|
323
|
-
function
|
|
323
|
+
function Pn(o) {
|
|
324
324
|
return o.startsWith("/files") || o.startsWith("/temp") || o.startsWith("/lang");
|
|
325
325
|
}
|
|
326
326
|
class Zl {
|
|
@@ -386,7 +386,7 @@ class fa {
|
|
|
386
386
|
it(this, "service");
|
|
387
387
|
it(this, "router");
|
|
388
388
|
it(this, "token");
|
|
389
|
-
this.sessionId =
|
|
389
|
+
this.sessionId = ko, this.service = an.create({ ...Qo, ...e.config }), this.router = null, this.token = "", this.service.interceptors.request.use(
|
|
390
390
|
async (t) => {
|
|
391
391
|
const n = Ee();
|
|
392
392
|
e.checkToken && (this.token = await this.checkToken());
|
|
@@ -501,7 +501,7 @@ const Ql = (o) => new fa({
|
|
|
501
501
|
enableAuth: o.enableAuth ?? !0,
|
|
502
502
|
enableToken: o.enableToken ?? !0,
|
|
503
503
|
checkToken: o.checkToken ?? !0
|
|
504
|
-
}), Je = new fa(), { T:
|
|
504
|
+
}), Je = new fa(), { T: ao } = me();
|
|
505
505
|
function Xl(o) {
|
|
506
506
|
var l;
|
|
507
507
|
const e = /filename\*=(UTF-8|ISO-8859-1)''([\w%\-\.]+)/gi, t = [];
|
|
@@ -518,9 +518,9 @@ function Xl(o) {
|
|
|
518
518
|
const a = t.find((r) => r.encoding === "UTF-8");
|
|
519
519
|
return a ? a.fileName : ((l = t[0]) == null ? void 0 : l.fileName) || null;
|
|
520
520
|
}
|
|
521
|
-
function
|
|
521
|
+
function Oo(o, e = "", t = "blob", n = {}) {
|
|
522
522
|
if (o == "") {
|
|
523
|
-
Me.info(`${
|
|
523
|
+
Me.info(`${ao.t("未设置下载链接")}`);
|
|
524
524
|
return;
|
|
525
525
|
}
|
|
526
526
|
const a = Ee(), l = a.token ?? "", r = a.userLang ?? "zh-CN";
|
|
@@ -549,17 +549,17 @@ function Vo(o, e = "", t = "blob", n = {}) {
|
|
|
549
549
|
const d = i.headers["content-disposition"];
|
|
550
550
|
d && (u = Xl(d) ?? "");
|
|
551
551
|
const s = new Blob([i.data], { type: i.data.type }), c = window.URL.createObjectURL(s), m = document.createElement("a");
|
|
552
|
-
m.href = c, e !== "" ? m.download = e : u !== "" && (m.download = u), console.log(`下载链接:${c}`), Me.loading(`${
|
|
552
|
+
m.href = c, e !== "" ? m.download = e : u !== "" && (m.download = u), console.log(`下载链接:${c}`), Me.loading(`${ao.t("开始下载文件")} ${m.download}`), document.body.appendChild(m), m.click(), window.URL.revokeObjectURL(c);
|
|
553
553
|
}
|
|
554
554
|
}).catch((i) => {
|
|
555
|
-
Me.error(`${
|
|
555
|
+
Me.error(`${ao.t("下载失败")} ${i.message}`), console.error(i);
|
|
556
556
|
});
|
|
557
557
|
else if (t == "file") {
|
|
558
558
|
const i = document.createElement("a");
|
|
559
|
-
i.setAttribute("target", "_black"), i.setAttribute("download", e), i.setAttribute("href", o), document.body.appendChild(i), console.log(`下载链接:${o}`), Me.loading(`${
|
|
559
|
+
i.setAttribute("target", "_black"), i.setAttribute("download", e), i.setAttribute("href", o), document.body.appendChild(i), console.log(`下载链接:${o}`), Me.loading(`${ao.t("开始下载文件")} ${e}`), i.click(), i.remove();
|
|
560
560
|
}
|
|
561
561
|
}
|
|
562
|
-
function
|
|
562
|
+
function Ve(o, e = !1) {
|
|
563
563
|
switch (o) {
|
|
564
564
|
case "check_box":
|
|
565
565
|
case "switch":
|
|
@@ -578,25 +578,25 @@ function Oe(o, e = !1) {
|
|
|
578
578
|
return null;
|
|
579
579
|
}
|
|
580
580
|
}
|
|
581
|
-
function
|
|
581
|
+
function Qt(o, e, t = !1) {
|
|
582
582
|
if (!je(e) && e.length) {
|
|
583
583
|
if (Object.keys(o).length)
|
|
584
584
|
return e.forEach((n) => {
|
|
585
|
-
n.keyName &&
|
|
585
|
+
n.keyName && vo(le(o, n.keyName)) && (n.itemType === "check_box" || n.itemType === "switch") && Ye(
|
|
586
586
|
o,
|
|
587
587
|
n.keyName,
|
|
588
|
-
|
|
588
|
+
Ve(n.itemType, t)
|
|
589
589
|
);
|
|
590
|
-
}),
|
|
590
|
+
}), xe(o, {});
|
|
591
591
|
{
|
|
592
592
|
let n = {};
|
|
593
593
|
return e.forEach((a) => {
|
|
594
594
|
je(a.keyName) || Ye(
|
|
595
595
|
n,
|
|
596
596
|
a.keyName,
|
|
597
|
-
|
|
597
|
+
Ve(a.itemType, t)
|
|
598
598
|
);
|
|
599
|
-
}),
|
|
599
|
+
}), xe(n, {});
|
|
600
600
|
}
|
|
601
601
|
}
|
|
602
602
|
}
|
|
@@ -658,7 +658,7 @@ function pa(o, e, t = []) {
|
|
|
658
658
|
const ha = Pt("column", {
|
|
659
659
|
state: () => ({
|
|
660
660
|
columnDataMap: new Map(
|
|
661
|
-
Object.entries(he.getItem(
|
|
661
|
+
Object.entries(he.getItem(oo) || {})
|
|
662
662
|
)
|
|
663
663
|
}),
|
|
664
664
|
getters: {
|
|
@@ -667,15 +667,15 @@ const ha = Pt("column", {
|
|
|
667
667
|
actions: {
|
|
668
668
|
initColumnData(o) {
|
|
669
669
|
o && Object.keys(o) && (this.columnDataMap = new Map(Object.entries(o)), he.setItem(
|
|
670
|
-
|
|
670
|
+
oo,
|
|
671
671
|
Object.fromEntries(this.columnDataMap)
|
|
672
672
|
));
|
|
673
673
|
},
|
|
674
674
|
async setColumnData(o, e) {
|
|
675
|
-
return this.columnDataMap.set(o, e), he.setItem(
|
|
675
|
+
return this.columnDataMap.set(o, e), he.setItem(oo, Object.fromEntries(this.columnDataMap)), await this.saveColumnData();
|
|
676
676
|
},
|
|
677
677
|
removeColumnData(o, e) {
|
|
678
|
-
this.columnDataMap.delete(o), he.setItem(
|
|
678
|
+
this.columnDataMap.delete(o), he.setItem(oo, Object.fromEntries(this.columnDataMap));
|
|
679
679
|
},
|
|
680
680
|
async saveColumnData() {
|
|
681
681
|
const e = Ee().userKey;
|
|
@@ -687,10 +687,10 @@ const ha = Pt("column", {
|
|
|
687
687
|
)).state == 200);
|
|
688
688
|
}
|
|
689
689
|
}
|
|
690
|
-
}),
|
|
690
|
+
}), eo = Pt("cache", {
|
|
691
691
|
state: () => ({
|
|
692
692
|
formDataMap: new Map(
|
|
693
|
-
vt.getItem(
|
|
693
|
+
vt.getItem(no) || []
|
|
694
694
|
)
|
|
695
695
|
}),
|
|
696
696
|
getters: {
|
|
@@ -702,13 +702,13 @@ const ha = Pt("column", {
|
|
|
702
702
|
actions: {
|
|
703
703
|
setFormData(o, e) {
|
|
704
704
|
this.formDataMap.set(o, { path: o, data: e }), vt.setItem(
|
|
705
|
-
|
|
705
|
+
no,
|
|
706
706
|
Array.from(this.formDataMap.entries())
|
|
707
707
|
);
|
|
708
708
|
},
|
|
709
709
|
removeFormData(o) {
|
|
710
710
|
this.formDataMap.delete(o), vt.setItem(
|
|
711
|
-
|
|
711
|
+
no,
|
|
712
712
|
Array.from(this.formDataMap.entries())
|
|
713
713
|
);
|
|
714
714
|
},
|
|
@@ -717,7 +717,7 @@ const ha = Pt("column", {
|
|
|
717
717
|
* @param {string} path
|
|
718
718
|
*/
|
|
719
719
|
clearFormData() {
|
|
720
|
-
this.formDataMap.clear(), vt.removeItem(
|
|
720
|
+
this.formDataMap.clear(), vt.removeItem(no);
|
|
721
721
|
}
|
|
722
722
|
}
|
|
723
723
|
}), Ee = Pt("setting", {
|
|
@@ -736,13 +736,13 @@ const ha = Pt("column", {
|
|
|
736
736
|
...Pl
|
|
737
737
|
},
|
|
738
738
|
// 侧边菜单配置
|
|
739
|
-
sideMenuTree: he.getItem(
|
|
739
|
+
sideMenuTree: he.getItem(Ht) ?? [],
|
|
740
740
|
sideMenuExpanded: [],
|
|
741
741
|
sideMenuScrollTop: 0,
|
|
742
742
|
// 登录标志
|
|
743
743
|
isUserLogin: he.getItem(Ln) ?? !1,
|
|
744
744
|
// 用户传入GView的信息与配置
|
|
745
|
-
userConfig: he.getItem(
|
|
745
|
+
userConfig: he.getItem(Bo) ?? {
|
|
746
746
|
userInfo: {
|
|
747
747
|
realName: "",
|
|
748
748
|
token: "",
|
|
@@ -753,15 +753,15 @@ const ha = Pt("column", {
|
|
|
753
753
|
logoUrl: ""
|
|
754
754
|
},
|
|
755
755
|
// 用户语言
|
|
756
|
-
userLang: he.getItem(
|
|
756
|
+
userLang: he.getItem(Dn) ?? "zh-CN",
|
|
757
757
|
// 用户token
|
|
758
|
-
token: he.getItem(
|
|
759
|
-
tokenExpiredTime: he.getItem(
|
|
758
|
+
token: he.getItem(En) ?? "",
|
|
759
|
+
tokenExpiredTime: he.getItem(An) ?? 0,
|
|
760
760
|
isTokenRefreshing: !1,
|
|
761
761
|
// 基础权限数据
|
|
762
|
-
basePermission: he.getItem(
|
|
762
|
+
basePermission: he.getItem(Fo) ?? [],
|
|
763
763
|
// 用户权限数据
|
|
764
|
-
userPermission: he.getItem(
|
|
764
|
+
userPermission: he.getItem(Nn) ?? []
|
|
765
765
|
}),
|
|
766
766
|
getters: {
|
|
767
767
|
userType: (o) => o.userConfig.userInfo.userType ?? "",
|
|
@@ -837,15 +837,15 @@ const ha = Pt("column", {
|
|
|
837
837
|
*/
|
|
838
838
|
setSideMenuConfig(o) {
|
|
839
839
|
const e = ia(o);
|
|
840
|
-
this.sideMenuTree = e, he.setItem(
|
|
840
|
+
this.sideMenuTree = e, he.setItem(Ht, e);
|
|
841
841
|
},
|
|
842
842
|
setUserConfig(o) {
|
|
843
|
-
he.setItem(
|
|
843
|
+
he.setItem(Bo, o), this.userConfig = { ...o };
|
|
844
844
|
},
|
|
845
845
|
async setUserLang(o) {
|
|
846
846
|
if (o)
|
|
847
847
|
try {
|
|
848
|
-
this.userLang = o, he.setItem(
|
|
848
|
+
this.userLang = o, he.setItem(Dn, o);
|
|
849
849
|
const { setupI18n: e } = me();
|
|
850
850
|
await e(o);
|
|
851
851
|
} catch {
|
|
@@ -857,7 +857,7 @@ const ha = Pt("column", {
|
|
|
857
857
|
* @param {number} tokenExpiredTime
|
|
858
858
|
*/
|
|
859
859
|
setUserToken(o, e) {
|
|
860
|
-
this.token = o, this.tokenExpiredTime = e, he.setItem(
|
|
860
|
+
this.token = o, this.tokenExpiredTime = e, he.setItem(En, this.token), he.setItem(An, this.tokenExpiredTime);
|
|
861
861
|
},
|
|
862
862
|
/**
|
|
863
863
|
* @description: 初始化用户token ?? 重复
|
|
@@ -867,60 +867,59 @@ const ha = Pt("column", {
|
|
|
867
867
|
const e = +ft().add(24, "hours");
|
|
868
868
|
this.setUserToken(o, e);
|
|
869
869
|
},
|
|
870
|
-
setSideMenuTree(o) {
|
|
871
|
-
if (o &&
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
870
|
+
setSideMenuTree(o, e = !0) {
|
|
871
|
+
if (o && o.length)
|
|
872
|
+
if (this.basePermission && this.basePermission.length) {
|
|
873
|
+
const t = e ? o.filter((a) => this.basePermission.includes(a.name)) : o, n = qo(t, null, 1);
|
|
874
|
+
this.sideMenuTree = n, he.setItem(Ht, n);
|
|
875
|
+
} else {
|
|
876
|
+
const t = qo(o, null, 1);
|
|
877
|
+
this.sideMenuTree = t, he.setItem(Ht, t);
|
|
878
|
+
}
|
|
879
|
+
else
|
|
880
|
+
this.sideMenuTree = [], he.setItem(Ht, []);
|
|
875
881
|
},
|
|
876
882
|
setBasePermission(o) {
|
|
877
|
-
o && Array.isArray(o) && (this.basePermission = o, he.setItem(
|
|
883
|
+
o && Array.isArray(o) && (this.basePermission = o, he.setItem(Fo, o));
|
|
878
884
|
},
|
|
879
885
|
setUserPermission(o) {
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
const e = new Set(this.basePermission), t = o.filter(
|
|
883
|
-
(n) => e.has(n)
|
|
884
|
-
);
|
|
885
|
-
this.userPermission = t, he.setItem(Fo, t);
|
|
886
|
-
} else
|
|
887
|
-
this.userPermission = o, he.setItem(Fo, o);
|
|
888
|
-
else
|
|
889
|
-
console.error("Invalid permissions or basePermission");
|
|
886
|
+
let e = [];
|
|
887
|
+
!o || !o.length ? e = [] : e = o.map((t) => t.name), this.basePermission && this.basePermission.length && (e = o.filter((t) => t.menuMold == 1 || t.menuMold == 2 ? this.basePermission.includes(t.name) : this.basePermission.includes(t.name) || t.parent && this.basePermission.includes(t.parent)).map((t) => t.name)), this.userPermission = e, he.setItem(Nn, e);
|
|
890
888
|
},
|
|
891
889
|
/**
|
|
892
890
|
* @description 用户登录后初始化配置
|
|
893
891
|
*/
|
|
894
892
|
async initUserConfig(o) {
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
893
|
+
var i;
|
|
894
|
+
he.setItem(Bo, o), this.userConfig = { ...o };
|
|
895
|
+
const e = ((i = o.userInfo) == null ? void 0 : i.username) ?? "", t = xe(o.userMenu ?? []);
|
|
896
|
+
this.setUserPermission(t), this.setSideMenuTree(t, e && e !== "root");
|
|
897
|
+
const { language: n, permissions: a } = o.userInfo ?? {};
|
|
898
|
+
this.setUserLang(n);
|
|
899
|
+
const { listHeaderSetting: l } = o.userInfo;
|
|
900
|
+
ha().initColumnData(l), this.setUserLoginStatus(!0);
|
|
902
901
|
},
|
|
903
902
|
/**
|
|
904
903
|
* @description: 退出登录时初始化本地存储值
|
|
905
904
|
*/
|
|
906
905
|
async resetInitValue() {
|
|
907
906
|
this.isSideMenuCollapse = !1, this.isSideHoverMenuShow = !1, this.isSettingPanelShow = !1, this.sideMenuTree = [], this.sideMenuExpanded = [], this.sideMenuScrollTop = 0, Object.keys(localStorage).forEach((o) => {
|
|
908
|
-
o !== Po && o !==
|
|
907
|
+
o !== Po && o !== Fo && o.startsWith(ra) && he.removeItem(o);
|
|
909
908
|
}), this.token = "", this.tokenExpiredTime = 0, this.userPermission = [];
|
|
910
909
|
},
|
|
911
910
|
/**
|
|
912
911
|
* @description 用户退出登录清除存储值
|
|
913
912
|
*/
|
|
914
913
|
async userLogout() {
|
|
915
|
-
vt.clear(), await this.resetInitValue(), await this.setUserLoginStatus(!1),
|
|
914
|
+
vt.clear(), await this.resetInitValue(), await this.setUserLoginStatus(!1), eo().clearFormData();
|
|
916
915
|
}
|
|
917
916
|
}
|
|
918
917
|
}), $t = Pt("tabMenu", {
|
|
919
918
|
state: () => ({
|
|
920
919
|
// 初始化tab菜单列表
|
|
921
|
-
initTabMenuList: he.getItem(
|
|
920
|
+
initTabMenuList: he.getItem($o) || [],
|
|
922
921
|
// tab菜单列表
|
|
923
|
-
tabMenuList: vt.getItem(
|
|
922
|
+
tabMenuList: vt.getItem(xo) || []
|
|
924
923
|
}),
|
|
925
924
|
getters: {
|
|
926
925
|
returnTabMenuItemActiveTab: (o) => (e) => {
|
|
@@ -932,13 +931,13 @@ const ha = Pt("column", {
|
|
|
932
931
|
async clearTabMenu() {
|
|
933
932
|
this.tabMenuList.length && this.tabMenuList.forEach((o) => {
|
|
934
933
|
this.afterRemoveTab(o.path);
|
|
935
|
-
}), he.removeItem(
|
|
934
|
+
}), he.removeItem($o), vt.removeItem(xo), this.tabMenuList = [], this.initTabMenuList = [];
|
|
936
935
|
},
|
|
937
936
|
setInitTabMenuList(o) {
|
|
938
|
-
he.setItem(
|
|
937
|
+
he.setItem($o, o), this.initTabMenuList = o;
|
|
939
938
|
},
|
|
940
939
|
setTabMenuList(o) {
|
|
941
|
-
vt.setItem(
|
|
940
|
+
vt.setItem(xo, o), this.tabMenuList = o;
|
|
942
941
|
},
|
|
943
942
|
/**
|
|
944
943
|
* @description 初始化tab菜单列表
|
|
@@ -1050,7 +1049,7 @@ const ha = Pt("column", {
|
|
|
1050
1049
|
* @param {string} path
|
|
1051
1050
|
*/
|
|
1052
1051
|
afterRemoveTab(o) {
|
|
1053
|
-
o &&
|
|
1052
|
+
o && eo().removeFormData(o);
|
|
1054
1053
|
}
|
|
1055
1054
|
}
|
|
1056
1055
|
}), er = (o) => {
|
|
@@ -1062,7 +1061,7 @@ const ha = Pt("column", {
|
|
|
1062
1061
|
case "https:":
|
|
1063
1062
|
return `${e.replace(t, "wss:")}${o}`;
|
|
1064
1063
|
}
|
|
1065
|
-
}, tr = er("/gview/websocket"),
|
|
1064
|
+
}, tr = er("/gview/websocket"), Vo = (o, e = "", t = "") => e ? {
|
|
1066
1065
|
head: "gonsin",
|
|
1067
1066
|
cmd: {
|
|
1068
1067
|
cmd: "gview_client",
|
|
@@ -1102,7 +1101,7 @@ const ha = Pt("column", {
|
|
|
1102
1101
|
initSocket() {
|
|
1103
1102
|
const o = this;
|
|
1104
1103
|
this.isSocketLinked = !1, this.isSocketClose = !1, this.socket = new WebSocket(tr), this.socket.onopen = function(e) {
|
|
1105
|
-
let t =
|
|
1104
|
+
let t = Vo("heart");
|
|
1106
1105
|
clearInterval(o.socketInterval), o.socketInterval = setInterval(function() {
|
|
1107
1106
|
o.socket && o.socket.send(JSON.stringify(t));
|
|
1108
1107
|
}, or), o.registeredDataIdSet = /* @__PURE__ */ new Set();
|
|
@@ -1131,7 +1130,7 @@ const ha = Pt("column", {
|
|
|
1131
1130
|
},
|
|
1132
1131
|
sendRegisterMessage(o) {
|
|
1133
1132
|
const t = Ee().userEdificeKey ?? "";
|
|
1134
|
-
let n =
|
|
1133
|
+
let n = Vo("register", o, t);
|
|
1135
1134
|
if (this.socket)
|
|
1136
1135
|
if (this.registeredDataIdSet.has(o)) {
|
|
1137
1136
|
console.log("?registeredDataIdSet has", o);
|
|
@@ -1141,7 +1140,7 @@ const ha = Pt("column", {
|
|
|
1141
1140
|
},
|
|
1142
1141
|
sendUnregisterMessage(o) {
|
|
1143
1142
|
const t = Ee().userEdificeKey ?? "";
|
|
1144
|
-
let n =
|
|
1143
|
+
let n = Vo("unregister", o, t);
|
|
1145
1144
|
this.socket && (this.socket.send(JSON.stringify(n)), this.registeredDataIdSet.delete(o));
|
|
1146
1145
|
}
|
|
1147
1146
|
}
|
|
@@ -1160,7 +1159,7 @@ const ha = Pt("column", {
|
|
|
1160
1159
|
}), e;
|
|
1161
1160
|
}
|
|
1162
1161
|
}
|
|
1163
|
-
}),
|
|
1162
|
+
}), $n = {
|
|
1164
1163
|
title: "",
|
|
1165
1164
|
titleEn: "",
|
|
1166
1165
|
faviconUrl: "",
|
|
@@ -1171,7 +1170,7 @@ const ha = Pt("column", {
|
|
|
1171
1170
|
copyRightInfo: ""
|
|
1172
1171
|
}, ar = Pt("website", {
|
|
1173
1172
|
state: () => ({
|
|
1174
|
-
websiteSetting: he.getItem(
|
|
1173
|
+
websiteSetting: he.getItem(Sn) || xe($n),
|
|
1175
1174
|
edificeLogoUrl: ""
|
|
1176
1175
|
}),
|
|
1177
1176
|
getters: {
|
|
@@ -1190,30 +1189,30 @@ const ha = Pt("column", {
|
|
|
1190
1189
|
"/api/webSiteSet/getWebSiteSet"
|
|
1191
1190
|
);
|
|
1192
1191
|
if (o.state == 200)
|
|
1193
|
-
return this.websiteSetting = o.data, he.setItem(
|
|
1192
|
+
return this.websiteSetting = o.data, he.setItem(Sn, o.data), !0;
|
|
1194
1193
|
},
|
|
1195
1194
|
setInitWebsiteSetting() {
|
|
1196
|
-
this.websiteSetting =
|
|
1195
|
+
this.websiteSetting = xe($n), this.edificeLogoUrl = "";
|
|
1197
1196
|
},
|
|
1198
1197
|
setEdificeLogoUrl(o) {
|
|
1199
1198
|
this.edificeLogoUrl = o;
|
|
1200
1199
|
}
|
|
1201
1200
|
}
|
|
1202
|
-
}),
|
|
1201
|
+
}), Uo = "g-dialog-plugin", lr = "g-common-dialog", lo = "g-common-form", ro = "g-common-header", rr = "g-common-table", sr = "g-board", zc = "g-dialog", ir = "g-form", xn = "g-form-item", Hc = "g-header", ur = "g-tab", Ut = "g-table", Qe = "g-layout", so = "g-uploader", Lt = "g-login", cr = ["title"], dr = ["title"], fr = ["title"], mr = ["onClick"], pr = ["title"], hr = ["title"], gr = ["onClick"], vr = ["title"], yr = ["title"], br = ["title"], wr = ["title"], _r = ["title"], Tr = ["title"], kr = /* @__PURE__ */ ae({
|
|
1203
1202
|
__name: "GLayoutHeaderTab",
|
|
1204
1203
|
setup(o) {
|
|
1205
1204
|
const { T: e } = me(), t = `${Qe}__layoutHeaderTab`, n = et(), a = pt(), l = K(""), r = $t(), i = Ee(), u = O(() => r.tabMenuList), d = O(() => i.homeUrl), s = O(() => i.displayMode);
|
|
1206
|
-
function c(w, E,
|
|
1207
|
-
E.trigger === "document" && (l.value = null), w && (l.value =
|
|
1205
|
+
function c(w, E, S) {
|
|
1206
|
+
E.trigger === "document" && (l.value = null), w && (l.value = S);
|
|
1208
1207
|
}
|
|
1209
1208
|
function m(w) {
|
|
1210
1209
|
w === "/HomePage" ? n.push({ path: d.value, query: Mt(d.value) }) : n.push({ path: w, query: Mt(w) });
|
|
1211
1210
|
}
|
|
1212
1211
|
function T({ value: w, index: E }) {
|
|
1213
|
-
const { tabMenuList:
|
|
1214
|
-
if (
|
|
1212
|
+
const { tabMenuList: S } = r;
|
|
1213
|
+
if (S.length > 0) {
|
|
1215
1214
|
r.subtractCurrentTabMenuItem({ path: w, itemIdx: E });
|
|
1216
|
-
const N =
|
|
1215
|
+
const N = S.find((b, B) => B == E + 1) ?? S.find((b, B) => B == E - 1);
|
|
1217
1216
|
if (N) {
|
|
1218
1217
|
const b = decodeURIComponent(a.fullPath);
|
|
1219
1218
|
w === b && n.push({
|
|
@@ -1225,25 +1224,25 @@ const ha = Pt("column", {
|
|
|
1225
1224
|
}
|
|
1226
1225
|
}
|
|
1227
1226
|
function g(w, E) {
|
|
1228
|
-
const { path:
|
|
1227
|
+
const { path: S } = w;
|
|
1229
1228
|
tl(() => {
|
|
1230
|
-
|
|
1229
|
+
S === "/HomePage" ? n.push({ path: d.value, query: Mt(d.value) }) : n.push({ path: S, query: Mt(S) });
|
|
1231
1230
|
}), i.toggleGlobalReload(), l.value = null;
|
|
1232
1231
|
}
|
|
1233
1232
|
function D(w, E) {
|
|
1234
|
-
r.subtractTabMenuItemAhead({ path: w, itemIdx: E }),
|
|
1233
|
+
r.subtractTabMenuItemAhead({ path: w, itemIdx: E }), I("ahead", E);
|
|
1235
1234
|
}
|
|
1236
1235
|
function G(w, E) {
|
|
1237
|
-
r.subtractTabMenuItemBehind({ path: w, itemIdx: E }),
|
|
1236
|
+
r.subtractTabMenuItemBehind({ path: w, itemIdx: E }), I("behind", E);
|
|
1238
1237
|
}
|
|
1239
1238
|
function A(w, E) {
|
|
1240
|
-
u.value.length > 1 && (r.subtractTabMenuItemOther({ path: w, itemIdx: E }),
|
|
1239
|
+
u.value.length > 1 && (r.subtractTabMenuItemOther({ path: w, itemIdx: E }), I("other", E));
|
|
1241
1240
|
}
|
|
1242
1241
|
function _() {
|
|
1243
1242
|
r.clearTabMenu(), n.push({ path: d.value, query: Mt(d.value) });
|
|
1244
1243
|
}
|
|
1245
|
-
function
|
|
1246
|
-
const
|
|
1244
|
+
function I(w, E) {
|
|
1245
|
+
const S = a.fullPath, { tabMenuList: N } = r, b = N.findIndex((k) => k.path === S);
|
|
1247
1246
|
if (w === "other" && b !== E || w === "ahead" && b < E || w === "behind" && b === -1 || w == "all") {
|
|
1248
1247
|
const k = w !== "all" && w === "behind" ? N.length - 1 : 0, V = N[k];
|
|
1249
1248
|
n.push({
|
|
@@ -1257,7 +1256,7 @@ const ha = Pt("column", {
|
|
|
1257
1256
|
() => y.value > 0 ? u.value.slice(y.value) : u.value
|
|
1258
1257
|
), P = O(() => x.value.map((w) => w.path));
|
|
1259
1258
|
return (w, E) => {
|
|
1260
|
-
const
|
|
1259
|
+
const S = Y("t-menu-item"), N = Y("t-dropdown-item"), b = Y("t-dropdown-menu"), B = Y("t-dropdown"), k = Y("t-divider"), V = Y("t-button"), $ = Y("t-submenu"), j = Y("t-head-menu");
|
|
1261
1260
|
return p(), F(j, {
|
|
1262
1261
|
ref_key: "GLayoutHeaderRef",
|
|
1263
1262
|
ref: v,
|
|
@@ -1286,7 +1285,7 @@ const ha = Pt("column", {
|
|
|
1286
1285
|
ee("span", {
|
|
1287
1286
|
title: h(e).t("刷新")
|
|
1288
1287
|
}, [
|
|
1289
|
-
U(h(
|
|
1288
|
+
U(h(po)),
|
|
1290
1289
|
ie(" " + oe(h(e).t("刷新")), 1)
|
|
1291
1290
|
], 8, cr)
|
|
1292
1291
|
]),
|
|
@@ -1304,7 +1303,7 @@ const ha = Pt("column", {
|
|
|
1304
1303
|
})
|
|
1305
1304
|
]),
|
|
1306
1305
|
default: L(() => [
|
|
1307
|
-
U(
|
|
1306
|
+
U(S, { value: "/HomePage" }, {
|
|
1308
1307
|
default: L(() => [
|
|
1309
1308
|
ee("span", null, oe(h(e).t("首页")), 1)
|
|
1310
1309
|
]),
|
|
@@ -1330,7 +1329,7 @@ const ha = Pt("column", {
|
|
|
1330
1329
|
}, {
|
|
1331
1330
|
default: L(() => [
|
|
1332
1331
|
ee("span", null, [
|
|
1333
|
-
U(h(
|
|
1332
|
+
U(h(po)),
|
|
1334
1333
|
ie(" " + oe(h(e).t("刷新")), 1)
|
|
1335
1334
|
])
|
|
1336
1335
|
]),
|
|
@@ -1389,7 +1388,7 @@ const ha = Pt("column", {
|
|
|
1389
1388
|
}, 1024)
|
|
1390
1389
|
]),
|
|
1391
1390
|
default: L(() => [
|
|
1392
|
-
U(
|
|
1391
|
+
U(S, {
|
|
1393
1392
|
value: R.path
|
|
1394
1393
|
}, {
|
|
1395
1394
|
default: L(() => [
|
|
@@ -1403,7 +1402,7 @@ const ha = Pt("column", {
|
|
|
1403
1402
|
R.isHome ? X("", !0) : (p(), H("div", {
|
|
1404
1403
|
key: 2,
|
|
1405
1404
|
class: "menu-item--close-button",
|
|
1406
|
-
onClick:
|
|
1405
|
+
onClick: go(
|
|
1407
1406
|
() => T({
|
|
1408
1407
|
value: R.path,
|
|
1409
1408
|
index: J
|
|
@@ -1454,7 +1453,7 @@ const ha = Pt("column", {
|
|
|
1454
1453
|
ee("span", {
|
|
1455
1454
|
title: h(e).t("刷新")
|
|
1456
1455
|
}, [
|
|
1457
|
-
U(h(
|
|
1456
|
+
U(h(po)),
|
|
1458
1457
|
ie(" " + oe(h(e).t("刷新")), 1)
|
|
1459
1458
|
], 8, vr)
|
|
1460
1459
|
]),
|
|
@@ -1533,7 +1532,7 @@ const ha = Pt("column", {
|
|
|
1533
1532
|
}, 1024)
|
|
1534
1533
|
]),
|
|
1535
1534
|
default: L(() => [
|
|
1536
|
-
U(
|
|
1535
|
+
U(S, {
|
|
1537
1536
|
value: R.path
|
|
1538
1537
|
}, {
|
|
1539
1538
|
default: L(() => [
|
|
@@ -1546,7 +1545,7 @@ const ha = Pt("column", {
|
|
|
1546
1545
|
}, oe(R.title), 9, hr)),
|
|
1547
1546
|
ee("div", {
|
|
1548
1547
|
class: "menu-item--close-button",
|
|
1549
|
-
onClick:
|
|
1548
|
+
onClick: go(
|
|
1550
1549
|
() => T({
|
|
1551
1550
|
value: R.path,
|
|
1552
1551
|
index: C.value.length + J
|
|
@@ -1588,24 +1587,24 @@ const ha = Pt("column", {
|
|
|
1588
1587
|
};
|
|
1589
1588
|
}
|
|
1590
1589
|
});
|
|
1591
|
-
const xt = Symbol("PropsModel"), Xo = Symbol("ConfigProvider"), ko = Symbol("formItemComponentProps"), ga = Symbol("viewTitle"), Mr = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAToAAAAyCAYAAADMZheFAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAhdEVYdENyZWF0aW9uIFRpbWUAMjAyMjoxMTozMCAwODo0NDo0MviriswAACO4SURBVHhe7Z0JeFzFle+r6t5utSRvLLYx2JZaltQteQFjlpiEZ/wGskEmYRIYSL5MGGaBmSHMJEzCkrBNCBBIhkcSQhKYEIb5eElMMgmZELJiVhOCwau6W7tkgW2Mdy293Fvn/atVJpbVfW/dVsvW+77+2a2+VX37di2nTp3aWYUKFSpUqFChQoUKFSpUqFChQoUKFSpUqFChQoUKFSpUmABcvx81CL+5tbU1lN67166dMcOigzxcVWXb2XDOslxXZIgmLUwR/OM0kmns7n5Le00YxEd0NDaGsuFwyHaciOWGqinLwlLkQiJkC5bV9/Ec2cJyhy3HZURZlyhTFQqNRNLp3B/7+nKXMuaO3ll+Xp23oiZSPXIi8QyCa4ZKq9yIO9z6ZnK39powz6xaZZ848PY8xtLapzBORsjlAx1vaOeEeHXFihB7k4VY9d7QbKdWjEQyVjYXtma4jshUuYJD3iZT5hQqLQecwV2r+/q8Iw7658+vzlTNPDHtk0YK9dz9w5HdZ2xfP6y9CpKIxabbjj3L5JmHUM8eyYnBZf2b92qvCWMaDsk5LevsfBOZIrXXhDkqiu6pxsaqxpy93OFsKRe8hUvZjBIX5ZzVQsZsxMuCJhBKCeL2SQ2TJejzzd2pR7SzJFQ4Ewvjy4XFlxOx5ZzLpfBaiI/CcIcRLxvKzEbxEYhMXrmoP5y4JE5QdNxBnHPwycB7JzHaRIxvZIK9ti8za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ptWsfAeCJKKxm/Dsm/2kF2Hbsqk3+S6Tda4mtJ/SOF+GrPXI2hl+v30IlVi4tzctR1YqoR71HUuqvuls4uKXSLtAI9UTAeFCsCBRpLoRuITcuihsOeRbDvk3gg93QPGux/XvQyL3cmN3d0lNt1Q0fiN+4FYlwNqrOAiITfT+pr7UWu1TkER97H3Ig59qpyeI56fjPUnfsyFM2BJtOstiAi0hj3zKr5mnfVBMP4ICu7MuwHGooxOIxT/j++p8EhhofATlZ0162Pn26Tu8D+JSlFXhHAK5Jra2ttqW61Zlcrlqi1dXsWwmDLPeFiSFY9vCd7uBALiO68J83b8zOnfXZJ0ipEC8OFuxwv7D/v3VMzPWNIu51ajOqlAGwkzY06Ft4YZCR45ALskmdjBL7n61EWmYWyOOnRtW6xQXDKzMFjqCsRyo6RfCkieqWkV7FcRx5JDXtIdSSNTF6sni0/x++xA5mB6Si/Tirja1VX3BLhC1RZB0xEmmzywHpNQZ9BrCJiGzrptz3BFJ2eoanpl+8ODw9pNPzq1Yv94ZVYilk19pY7MTTOKm0mpadrDLb/mX2uXXsbNm3Rc8t83LogoCIiAS0XhjSBQegVU1fZjxTCbD9iweaNtbStqp31AbVhwYmmmtOBnGaxnyoEKFChUqVKhQoUKFChUqVKhQoUKFChUqVKhQoQww9v8ADoTZZnPdorgAAAAASUVORK5CYII=", Cr = {
|
|
1590
|
+
const xt = Symbol("PropsModel"), Xo = Symbol("ConfigProvider"), Mo = Symbol("formItemComponentProps"), ga = Symbol("viewTitle"), Mr = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAToAAAAyCAYAAADMZheFAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAhdEVYdENyZWF0aW9uIFRpbWUAMjAyMjoxMTozMCAwODo0NDo0MviriswAACO4SURBVHhe7Z0JeFzFle+r6t5utSRvLLYx2JZaltQteQFjlpiEZ/wGskEmYRIYSL5MGGaBmSHMJEzCkrBNCBBI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yo6RfCkieqWkV7FcRx5JDXtIdSSNTF6sni0/x++xA5mB6Si/Tirja1VX3BLhC1RZB0xEmmzywHpNQZ9BrCJiGzrptz3BFJ2eoanpl+8ODw9pNPzq1Yv94ZVYilk19pY7MTTOKm0mpadrDLb/mX2uXXsbNm3Rc8t83LogoCIiAS0XhjSBQegVU1fZjxTCbD9iweaNtbStqp31AbVhwYmmmtOBnGaxnyoEKFChUqVKhQoUKFChUqVKhQoUKFChUqVKhQoQww9v8ADoTZZnPdorgAAAAASUVORK5CYII=", Cr = {
|
|
1592
1591
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1593
1592
|
width: "24",
|
|
1594
1593
|
height: "24",
|
|
1595
1594
|
fill: "none",
|
|
1596
1595
|
viewBox: "0 0 48 48"
|
|
1597
|
-
},
|
|
1596
|
+
}, Ir = /* @__PURE__ */ ee("path", {
|
|
1598
1597
|
fill: "currentColor",
|
|
1599
1598
|
stroke: "currentColor",
|
|
1600
1599
|
"stroke-linecap": "square",
|
|
1601
1600
|
"stroke-linejoin": "round",
|
|
1602
1601
|
"stroke-width": "4",
|
|
1603
1602
|
d: "M24 20a7 7 0 1 0 0-14 7 7 0 0 0 0 14ZM6 40.8V42h36v-1.2c0-4.48 0-6.72-.872-8.432a8 8 0 0 0-3.496-3.496C35.92 28 33.68 28 29.2 28H18.8c-4.48 0-6.72 0-8.432.872a8 8 0 0 0-3.496 3.496C6 34.08 6 36.32 6 40.8Z"
|
|
1604
|
-
}, null, -1),
|
|
1605
|
-
|
|
1603
|
+
}, null, -1), Sr = [
|
|
1604
|
+
Ir
|
|
1606
1605
|
];
|
|
1607
1606
|
function Lr(o, e) {
|
|
1608
|
-
return p(), H("svg", Cr, [...
|
|
1607
|
+
return p(), H("svg", Cr, [...Sr]);
|
|
1609
1608
|
}
|
|
1610
1609
|
const Nr = { render: Lr }, Dr = {
|
|
1611
1610
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1653,7 +1652,7 @@ const va = { render: Fr }, Pr = { class: "username" }, $r = /* @__PURE__ */ ae({
|
|
|
1653
1652
|
a.toggleSettingPanel();
|
|
1654
1653
|
}
|
|
1655
1654
|
const _ = $t();
|
|
1656
|
-
function
|
|
1655
|
+
function I() {
|
|
1657
1656
|
n.push({ name: "login" }), a.userLogout(), _.clearTabMenu();
|
|
1658
1657
|
}
|
|
1659
1658
|
const M = O(() => a.sideHoverMenuTimer);
|
|
@@ -1666,7 +1665,7 @@ const va = { render: Fr }, Pr = { class: "username" }, $r = /* @__PURE__ */ ae({
|
|
|
1666
1665
|
}, 500);
|
|
1667
1666
|
}
|
|
1668
1667
|
return (y, C) => {
|
|
1669
|
-
const x = Y("t-button"), P = Y("t-icon"), w = Y("t-badge"), E = Y("t-popup"),
|
|
1668
|
+
const x = Y("t-button"), P = Y("t-icon"), w = Y("t-badge"), E = Y("t-popup"), S = Y("t-dropdown-item"), N = Y("t-dropdown-menu"), b = Y("t-dropdown"), B = Y("t-head-menu"), k = Y("t-header");
|
|
1670
1669
|
return p(), F(k, {
|
|
1671
1670
|
class: Z(t),
|
|
1672
1671
|
onMouseleave: f
|
|
@@ -1718,7 +1717,7 @@ const va = { render: Fr }, Pr = { class: "username" }, $r = /* @__PURE__ */ ae({
|
|
|
1718
1717
|
(p(!0), H(se, null, _e(h(r), ($, j) => (p(), H(se, { key: j }, [
|
|
1719
1718
|
$ != null && $.isPopup ? (p(), F(E, Dt(we({ key: 0 }, $ == null ? void 0 : $.popupProps)), {
|
|
1720
1719
|
default: L(() => [
|
|
1721
|
-
U(w, Dt(
|
|
1720
|
+
U(w, Dt(Yt($ == null ? void 0 : $.badgeProps)), {
|
|
1722
1721
|
default: L(() => [
|
|
1723
1722
|
U(x, we({
|
|
1724
1723
|
theme: "default",
|
|
@@ -1814,8 +1813,8 @@ const va = { render: Fr }, Pr = { class: "username" }, $r = /* @__PURE__ */ ae({
|
|
|
1814
1813
|
dropdown: L(() => [
|
|
1815
1814
|
U(N, null, {
|
|
1816
1815
|
default: L(() => [
|
|
1817
|
-
U(
|
|
1818
|
-
onClick:
|
|
1816
|
+
U(S, {
|
|
1817
|
+
onClick: I,
|
|
1819
1818
|
title: h(e).t("退出登录")
|
|
1820
1819
|
}, {
|
|
1821
1820
|
default: L(() => [
|
|
@@ -1900,7 +1899,7 @@ const va = { render: Fr }, Pr = { class: "username" }, $r = /* @__PURE__ */ ae({
|
|
|
1900
1899
|
])
|
|
1901
1900
|
}, {
|
|
1902
1901
|
default: L(() => [
|
|
1903
|
-
|
|
1902
|
+
Oe(n.$slots, "default")
|
|
1904
1903
|
]),
|
|
1905
1904
|
_: 3
|
|
1906
1905
|
}, 8, ["class"])
|
|
@@ -1909,7 +1908,7 @@ const va = { render: Fr }, Pr = { class: "username" }, $r = /* @__PURE__ */ ae({
|
|
|
1909
1908
|
}, 8, ["class"]);
|
|
1910
1909
|
};
|
|
1911
1910
|
}
|
|
1912
|
-
}), Or = ["title"],
|
|
1911
|
+
}), Or = ["title"], St = /* @__PURE__ */ ae({
|
|
1913
1912
|
__name: "GLayoutSideMenuTitle",
|
|
1914
1913
|
props: {
|
|
1915
1914
|
item: {}
|
|
@@ -1925,7 +1924,7 @@ const va = { render: Fr }, Pr = { class: "username" }, $r = /* @__PURE__ */ ae({
|
|
|
1925
1924
|
},
|
|
1926
1925
|
setup(o) {
|
|
1927
1926
|
const e = `${Qe}__side-menu-content`, t = Ee(), n = et(), a = (l) => {
|
|
1928
|
-
if (
|
|
1927
|
+
if (Jt(l)) {
|
|
1929
1928
|
const i = wt(l, {
|
|
1930
1929
|
token: t.token,
|
|
1931
1930
|
lang: t.userLang,
|
|
@@ -1960,14 +1959,14 @@ const va = { render: Fr }, Pr = { class: "username" }, $r = /* @__PURE__ */ ae({
|
|
|
1960
1959
|
key: 0,
|
|
1961
1960
|
name: s.icon,
|
|
1962
1961
|
size: "large"
|
|
1963
|
-
}, null, 8, ["name"])) : (p(), F(h(
|
|
1962
|
+
}, null, 8, ["name"])) : (p(), F(h(It), {
|
|
1964
1963
|
key: 1,
|
|
1965
1964
|
size: "large"
|
|
1966
1965
|
}))
|
|
1967
1966
|
], 64)) : X("", !0)
|
|
1968
1967
|
]),
|
|
1969
1968
|
content: L(() => [
|
|
1970
|
-
U(
|
|
1969
|
+
U(St, { item: s }, null, 8, ["item"])
|
|
1971
1970
|
]),
|
|
1972
1971
|
_: 2
|
|
1973
1972
|
}, 1032, ["class", "name", "value", "onClick"])) : (p(), F(d, {
|
|
@@ -1982,14 +1981,14 @@ const va = { render: Fr }, Pr = { class: "username" }, $r = /* @__PURE__ */ ae({
|
|
|
1982
1981
|
key: 0,
|
|
1983
1982
|
name: s.icon,
|
|
1984
1983
|
size: "large"
|
|
1985
|
-
}, null, 8, ["name"])) : (p(), F(h(
|
|
1984
|
+
}, null, 8, ["name"])) : (p(), F(h(It), {
|
|
1986
1985
|
key: 1,
|
|
1987
1986
|
size: "large"
|
|
1988
1987
|
}))
|
|
1989
1988
|
], 64)) : X("", !0)
|
|
1990
1989
|
]),
|
|
1991
1990
|
title: L(() => [
|
|
1992
|
-
U(
|
|
1991
|
+
U(St, { item: s }, null, 8, ["item"])
|
|
1993
1992
|
]),
|
|
1994
1993
|
default: L(() => [
|
|
1995
1994
|
s.children ? (p(), F(u, {
|
|
@@ -2018,7 +2017,7 @@ const va = { render: Fr }, Pr = { class: "username" }, $r = /* @__PURE__ */ ae({
|
|
|
2018
2017
|
const s = t.fullPath.split("/").length;
|
|
2019
2018
|
return t.fullPath.split("/")[s - 1];
|
|
2020
2019
|
}), { sideMenuExpanded: u, sideMenuScrollTop: d } = il(n);
|
|
2021
|
-
return
|
|
2020
|
+
return Ue(() => {
|
|
2022
2021
|
const s = document.querySelector(".t-menu--scroll");
|
|
2023
2022
|
s && d.value && (s.scrollTop = d.value);
|
|
2024
2023
|
}), lt(() => {
|
|
@@ -2299,7 +2298,7 @@ function zr(o, e) {
|
|
|
2299
2298
|
appear: ""
|
|
2300
2299
|
}, {
|
|
2301
2300
|
default: L(() => [
|
|
2302
|
-
|
|
2301
|
+
Oe(o.$slots, "default")
|
|
2303
2302
|
]),
|
|
2304
2303
|
_: 3
|
|
2305
2304
|
});
|
|
@@ -2316,7 +2315,7 @@ const Hr = /* @__PURE__ */ st(jr, [["render", zr]]), Gr = /* @__PURE__ */ ae({
|
|
|
2316
2315
|
const k = r.fullPath.split("/").length;
|
|
2317
2316
|
return r.fullPath.split("/")[k - 1];
|
|
2318
2317
|
}), m = (k) => {
|
|
2319
|
-
if (
|
|
2318
|
+
if (Jt(k)) {
|
|
2320
2319
|
const $ = wt(k, {
|
|
2321
2320
|
token: i.token,
|
|
2322
2321
|
lang: i.userLang,
|
|
@@ -2335,22 +2334,22 @@ const Hr = /* @__PURE__ */ st(jr, [["render", zr]]), Gr = /* @__PURE__ */ ae({
|
|
|
2335
2334
|
}, T = K(!1), g = K([]), D = K("");
|
|
2336
2335
|
function G(k) {
|
|
2337
2336
|
g.value = [], _.value = [], T.value = !1, A.value = !1, D.value = "", setTimeout(() => {
|
|
2338
|
-
k && k.children && (T.value = !0, g.value = [...k.children], D.value = k.name,
|
|
2337
|
+
k && k.children && (T.value = !0, g.value = [...k.children], D.value = k.name, I.value = "");
|
|
2339
2338
|
}, 100);
|
|
2340
2339
|
}
|
|
2341
|
-
const A = K(!1), _ = K([]),
|
|
2340
|
+
const A = K(!1), _ = K([]), I = K("");
|
|
2342
2341
|
function M(k) {
|
|
2343
|
-
A.value = !1,
|
|
2344
|
-
k && k.children && (A.value = !0, _.value = [...k.children],
|
|
2342
|
+
A.value = !1, I.value = "", setTimeout(() => {
|
|
2343
|
+
k && k.children && (A.value = !0, _.value = [...k.children], I.value = k.name);
|
|
2345
2344
|
}, 100);
|
|
2346
2345
|
}
|
|
2347
2346
|
function v() {
|
|
2348
|
-
_.value = [], A.value = !1,
|
|
2347
|
+
_.value = [], A.value = !1, I.value = "";
|
|
2349
2348
|
}
|
|
2350
2349
|
ye(
|
|
2351
2350
|
() => s.value,
|
|
2352
2351
|
(k) => {
|
|
2353
|
-
k || (T.value = !1, A.value = !1, D.value = "",
|
|
2352
|
+
k || (T.value = !1, A.value = !1, D.value = "", I.value = "");
|
|
2354
2353
|
}
|
|
2355
2354
|
);
|
|
2356
2355
|
const f = K(null), y = K(null), C = K(null);
|
|
@@ -2390,14 +2389,14 @@ const Hr = /* @__PURE__ */ st(jr, [["render", zr]]), Gr = /* @__PURE__ */ ae({
|
|
|
2390
2389
|
}), E = O(() => {
|
|
2391
2390
|
var k;
|
|
2392
2391
|
return (k = x.value.find((V) => V.url === c.value)) == null ? void 0 : k.parent;
|
|
2393
|
-
}),
|
|
2392
|
+
}), S = O(() => i.sideHoverMenuTimer);
|
|
2394
2393
|
function N(k) {
|
|
2395
2394
|
i.sideHoverMenuTimer = setTimeout(() => {
|
|
2396
|
-
i.isSideHoverMenuShow && (i.isSideHoverMenuShow = !1), clearTimeout(
|
|
2395
|
+
i.isSideHoverMenuShow && (i.isSideHoverMenuShow = !1), clearTimeout(S.value);
|
|
2397
2396
|
}, 500);
|
|
2398
2397
|
}
|
|
2399
2398
|
function b() {
|
|
2400
|
-
clearTimeout(
|
|
2399
|
+
clearTimeout(S.value), i.isSideHoverMenuShow = !0;
|
|
2401
2400
|
}
|
|
2402
2401
|
const B = K(null);
|
|
2403
2402
|
return Cn(B, "mouseleave", N), Cn(B, "mouseenter", b), (k, V) => {
|
|
@@ -2444,14 +2443,14 @@ const Hr = /* @__PURE__ */ st(jr, [["render", zr]]), Gr = /* @__PURE__ */ ae({
|
|
|
2444
2443
|
key: 0,
|
|
2445
2444
|
name: W.icon,
|
|
2446
2445
|
size: "large"
|
|
2447
|
-
}, null, 8, ["name"])) : (p(), F(h(
|
|
2446
|
+
}, null, 8, ["name"])) : (p(), F(h(It), {
|
|
2448
2447
|
key: 1,
|
|
2449
2448
|
size: "large"
|
|
2450
2449
|
}))
|
|
2451
2450
|
], 64)) : X("", !0)
|
|
2452
2451
|
]),
|
|
2453
2452
|
content: L(() => [
|
|
2454
|
-
U(
|
|
2453
|
+
U(St, { item: W }, null, 8, ["item"])
|
|
2455
2454
|
]),
|
|
2456
2455
|
_: 2
|
|
2457
2456
|
}, 1032, ["class", "name", "value", "onClick"])) : (p(), F(R, {
|
|
@@ -2476,14 +2475,14 @@ const Hr = /* @__PURE__ */ st(jr, [["render", zr]]), Gr = /* @__PURE__ */ ae({
|
|
|
2476
2475
|
key: 0,
|
|
2477
2476
|
name: W.icon,
|
|
2478
2477
|
size: "large"
|
|
2479
|
-
}, null, 8, ["name"])) : (p(), F(h(
|
|
2478
|
+
}, null, 8, ["name"])) : (p(), F(h(It), {
|
|
2480
2479
|
key: 1,
|
|
2481
2480
|
size: "large"
|
|
2482
2481
|
}))
|
|
2483
2482
|
], 64)) : X("", !0)
|
|
2484
2483
|
]),
|
|
2485
2484
|
title: L(() => [
|
|
2486
|
-
U(
|
|
2485
|
+
U(St, { item: W }, null, 8, ["item"])
|
|
2487
2486
|
]),
|
|
2488
2487
|
_: 2
|
|
2489
2488
|
}, 1032, ["class", "name", "value", "popup-props", "onMouseenter"]))
|
|
@@ -2536,14 +2535,14 @@ const Hr = /* @__PURE__ */ st(jr, [["render", zr]]), Gr = /* @__PURE__ */ ae({
|
|
|
2536
2535
|
key: 0,
|
|
2537
2536
|
name: W.icon,
|
|
2538
2537
|
size: "large"
|
|
2539
|
-
}, null, 8, ["name"])) : (p(), F(h(
|
|
2538
|
+
}, null, 8, ["name"])) : (p(), F(h(It), {
|
|
2540
2539
|
key: 1,
|
|
2541
2540
|
size: "large"
|
|
2542
2541
|
}))
|
|
2543
2542
|
], 64)) : X("", !0)
|
|
2544
2543
|
]),
|
|
2545
2544
|
content: L(() => [
|
|
2546
|
-
U(
|
|
2545
|
+
U(St, { item: W }, null, 8, ["item"])
|
|
2547
2546
|
]),
|
|
2548
2547
|
_: 2
|
|
2549
2548
|
}, 1032, ["class", "name", "value", "onClick"])) : (p(), F(R, {
|
|
@@ -2552,7 +2551,7 @@ const Hr = /* @__PURE__ */ st(jr, [["render", zr]]), Gr = /* @__PURE__ */ ae({
|
|
|
2552
2551
|
`${a}--sub-menu`,
|
|
2553
2552
|
`${a}--hover-menu-item`,
|
|
2554
2553
|
E.value == W.name ? "t-is-active" : "",
|
|
2555
|
-
|
|
2554
|
+
I.value == W.name ? "t-is-selected" : ""
|
|
2556
2555
|
]),
|
|
2557
2556
|
name: W.name,
|
|
2558
2557
|
value: W.name,
|
|
@@ -2568,14 +2567,14 @@ const Hr = /* @__PURE__ */ st(jr, [["render", zr]]), Gr = /* @__PURE__ */ ae({
|
|
|
2568
2567
|
key: 0,
|
|
2569
2568
|
name: W.icon,
|
|
2570
2569
|
size: "large"
|
|
2571
|
-
}, null, 8, ["name"])) : (p(), F(h(
|
|
2570
|
+
}, null, 8, ["name"])) : (p(), F(h(It), {
|
|
2572
2571
|
key: 1,
|
|
2573
2572
|
size: "large"
|
|
2574
2573
|
}))
|
|
2575
2574
|
], 64)) : X("", !0)
|
|
2576
2575
|
]),
|
|
2577
2576
|
title: L(() => [
|
|
2578
|
-
U(
|
|
2577
|
+
U(St, { item: W }, null, 8, ["item"])
|
|
2579
2578
|
]),
|
|
2580
2579
|
_: 2
|
|
2581
2580
|
}, 1032, ["class", "name", "value", "popup-props", "onMouseenter"]))
|
|
@@ -2627,14 +2626,14 @@ const Hr = /* @__PURE__ */ st(jr, [["render", zr]]), Gr = /* @__PURE__ */ ae({
|
|
|
2627
2626
|
key: 0,
|
|
2628
2627
|
name: W.icon,
|
|
2629
2628
|
size: "large"
|
|
2630
|
-
}, null, 8, ["name"])) : (p(), F(h(
|
|
2629
|
+
}, null, 8, ["name"])) : (p(), F(h(It), {
|
|
2631
2630
|
key: 1,
|
|
2632
2631
|
size: "large"
|
|
2633
2632
|
}))
|
|
2634
2633
|
], 64)) : X("", !0)
|
|
2635
2634
|
]),
|
|
2636
2635
|
content: L(() => [
|
|
2637
|
-
U(
|
|
2636
|
+
U(St, { item: W }, null, 8, ["item"])
|
|
2638
2637
|
]),
|
|
2639
2638
|
_: 2
|
|
2640
2639
|
}, 1032, ["class", "name", "value", "onClick"])) : X("", !0)
|
|
@@ -2678,7 +2677,7 @@ const Kr = /* @__PURE__ */ ae({
|
|
|
2678
2677
|
title: n.title
|
|
2679
2678
|
}, {
|
|
2680
2679
|
default: L(() => [
|
|
2681
|
-
|
|
2680
|
+
Oe(n.$slots, "default")
|
|
2682
2681
|
]),
|
|
2683
2682
|
_: 3
|
|
2684
2683
|
}, 8, ["class", "title"]))
|
|
@@ -2709,7 +2708,7 @@ const Kr = /* @__PURE__ */ ae({
|
|
|
2709
2708
|
setup(o) {
|
|
2710
2709
|
return (e, t) => (p(), F(Kr, { title: e.title }, {
|
|
2711
2710
|
default: L(() => [
|
|
2712
|
-
|
|
2711
|
+
Oe(e.$slots, "default")
|
|
2713
2712
|
]),
|
|
2714
2713
|
_: 3
|
|
2715
2714
|
}, 8, ["title"]));
|
|
@@ -2726,11 +2725,11 @@ const un = Ge(Wr), ba = /* @__PURE__ */ ae({
|
|
|
2726
2725
|
return p(), F(n, we({
|
|
2727
2726
|
class: h(lr),
|
|
2728
2727
|
placement: "center"
|
|
2729
|
-
}, e.commonDialogProps),
|
|
2728
|
+
}, e.commonDialogProps), mo({ _: 2 }, [
|
|
2730
2729
|
_e(e.$slots, (a, l) => ({
|
|
2731
2730
|
name: l,
|
|
2732
2731
|
fn: L((r) => [
|
|
2733
|
-
|
|
2732
|
+
Oe(e.$slots, l, Dt(Yt({ ...r })))
|
|
2734
2733
|
])
|
|
2735
2734
|
}))
|
|
2736
2735
|
]), 1040, ["class"]);
|
|
@@ -2749,27 +2748,27 @@ const Yr = Ge(ba), qr = /* @__PURE__ */ ae({
|
|
|
2749
2748
|
}), (n, a) => {
|
|
2750
2749
|
const l = Y("t-form");
|
|
2751
2750
|
return p(), H("div", {
|
|
2752
|
-
class: Z(`${h(
|
|
2751
|
+
class: Z(`${h(lo)}`)
|
|
2753
2752
|
}, [
|
|
2754
2753
|
U(l, we({
|
|
2755
2754
|
ref_key: "tFormRef",
|
|
2756
2755
|
ref: t,
|
|
2757
|
-
class: `${h(
|
|
2756
|
+
class: `${h(lo)}--main`
|
|
2758
2757
|
}, n.commonFormProps), {
|
|
2759
2758
|
default: L(() => [
|
|
2760
2759
|
ee("div", {
|
|
2761
|
-
class: Z(`${h(
|
|
2760
|
+
class: Z(`${h(lo)}--main-body`),
|
|
2762
2761
|
ref: "commonFormBodyRef"
|
|
2763
2762
|
}, [
|
|
2764
|
-
|
|
2763
|
+
Oe(n.$slots, "body")
|
|
2765
2764
|
], 2)
|
|
2766
2765
|
]),
|
|
2767
2766
|
_: 3
|
|
2768
2767
|
}, 16, ["class"]),
|
|
2769
2768
|
ee("div", {
|
|
2770
|
-
class: Z(`${h(
|
|
2769
|
+
class: Z(`${h(lo)}--footer`)
|
|
2771
2770
|
}, [
|
|
2772
|
-
|
|
2771
|
+
Oe(n.$slots, "footer")
|
|
2773
2772
|
], 2)
|
|
2774
2773
|
], 2);
|
|
2775
2774
|
};
|
|
@@ -2781,26 +2780,26 @@ const wa = Ge(qr), Zr = /* @__PURE__ */ ae({
|
|
|
2781
2780
|
return (e, t) => {
|
|
2782
2781
|
const n = Y("t-row");
|
|
2783
2782
|
return p(), H("div", {
|
|
2784
|
-
class: Z(`${h(
|
|
2783
|
+
class: Z(`${h(ro)}`)
|
|
2785
2784
|
}, [
|
|
2786
2785
|
U(n, { justify: "space-between" }, {
|
|
2787
2786
|
default: L(() => [
|
|
2788
2787
|
ee("div", {
|
|
2789
|
-
class: Z(`${h(
|
|
2788
|
+
class: Z(`${h(ro)}--left`)
|
|
2790
2789
|
}, [
|
|
2791
2790
|
U(n, {
|
|
2792
|
-
class: Z(`${h(
|
|
2791
|
+
class: Z(`${h(ro)}--left-row`)
|
|
2793
2792
|
}, {
|
|
2794
2793
|
default: L(() => [
|
|
2795
|
-
|
|
2794
|
+
Oe(e.$slots, "left-operations")
|
|
2796
2795
|
]),
|
|
2797
2796
|
_: 3
|
|
2798
2797
|
}, 8, ["class"])
|
|
2799
2798
|
], 2),
|
|
2800
2799
|
ee("div", {
|
|
2801
|
-
class: Z(`${h(
|
|
2800
|
+
class: Z(`${h(ro)}--right`)
|
|
2802
2801
|
}, [
|
|
2803
|
-
|
|
2802
|
+
Oe(e.$slots, "right-operations")
|
|
2804
2803
|
], 2)
|
|
2805
2804
|
]),
|
|
2806
2805
|
_: 3
|
|
@@ -2838,33 +2837,33 @@ const Wc = Ge(Zr), Qr = /* @__PURE__ */ ae({
|
|
|
2838
2837
|
key: 0,
|
|
2839
2838
|
ref_key: "tTableRef",
|
|
2840
2839
|
ref: t
|
|
2841
|
-
}, { ...n.value, ...a.commonTableProps }),
|
|
2840
|
+
}, { ...n.value, ...a.commonTableProps }), mo({ _: 2 }, [
|
|
2842
2841
|
_e(a.$slots, (d, s) => ({
|
|
2843
2842
|
name: s,
|
|
2844
2843
|
fn: L((c) => [
|
|
2845
|
-
|
|
2844
|
+
Oe(a.$slots, s, Dt(Yt({ ...c })))
|
|
2846
2845
|
])
|
|
2847
2846
|
}))
|
|
2848
2847
|
]), 1040)) : a.tableType == "primary" ? (p(), F(i, we({
|
|
2849
2848
|
key: 1,
|
|
2850
2849
|
ref_key: "tTableRef",
|
|
2851
2850
|
ref: t
|
|
2852
|
-
}, { ...n.value, ...a.commonTableProps }),
|
|
2851
|
+
}, { ...n.value, ...a.commonTableProps }), mo({ _: 2 }, [
|
|
2853
2852
|
_e(a.$slots, (d, s) => ({
|
|
2854
2853
|
name: s,
|
|
2855
2854
|
fn: L((c) => [
|
|
2856
|
-
|
|
2855
|
+
Oe(a.$slots, s, Dt(Yt({ ...c })))
|
|
2857
2856
|
])
|
|
2858
2857
|
}))
|
|
2859
2858
|
]), 1040)) : a.tableType === "enhanced" ? (p(), F(u, we({
|
|
2860
2859
|
key: 2,
|
|
2861
2860
|
ref_key: "tTableRef",
|
|
2862
2861
|
ref: t
|
|
2863
|
-
}, { ...n.value, ...a.commonTableProps }),
|
|
2862
|
+
}, { ...n.value, ...a.commonTableProps }), mo({ _: 2 }, [
|
|
2864
2863
|
_e(a.$slots, (d, s) => ({
|
|
2865
2864
|
name: s,
|
|
2866
2865
|
fn: L((c) => [
|
|
2867
|
-
|
|
2866
|
+
Oe(a.$slots, s, Dt(Yt({ ...c })))
|
|
2868
2867
|
])
|
|
2869
2868
|
}))
|
|
2870
2869
|
]), 1040)) : X("", !0)
|
|
@@ -2872,8 +2871,8 @@ const Wc = Ge(Zr), Qr = /* @__PURE__ */ ae({
|
|
|
2872
2871
|
};
|
|
2873
2872
|
}
|
|
2874
2873
|
});
|
|
2875
|
-
const Xr = Ge(Qr),
|
|
2876
|
-
},
|
|
2874
|
+
const Xr = Ge(Qr), Ro = () => {
|
|
2875
|
+
}, yo = {
|
|
2877
2876
|
// 普通上传文件 POST
|
|
2878
2877
|
baseUploadFile: "/api/base/upload",
|
|
2879
2878
|
// 准备上传文件 POST
|
|
@@ -2884,17 +2883,17 @@ const Xr = Ge(Qr), jo = () => {
|
|
|
2884
2883
|
getFileUrl: "/api/base/upload/files/url"
|
|
2885
2884
|
};
|
|
2886
2885
|
function Jr(o) {
|
|
2887
|
-
return Je.post(`${
|
|
2886
|
+
return Je.post(`${yo.uploadReady}`, la.stringify(o));
|
|
2888
2887
|
}
|
|
2889
2888
|
function es(o) {
|
|
2890
|
-
const e =
|
|
2891
|
-
return Je.service.get(`${
|
|
2889
|
+
const e = ko();
|
|
2890
|
+
return Je.service.get(`${yo.getFileUrl}?sessionId=${e}`, {
|
|
2892
2891
|
timeout: 0,
|
|
2893
2892
|
params: o
|
|
2894
2893
|
});
|
|
2895
2894
|
}
|
|
2896
|
-
|
|
2897
|
-
const
|
|
2895
|
+
ho.enableBoundaryChecking(!1);
|
|
2896
|
+
const Gt = (o) => {
|
|
2898
2897
|
const e = o.responseText || o.response;
|
|
2899
2898
|
if (!e)
|
|
2900
2899
|
return;
|
|
@@ -2906,7 +2905,7 @@ const Ht = (o) => {
|
|
|
2906
2905
|
return e;
|
|
2907
2906
|
}
|
|
2908
2907
|
return e;
|
|
2909
|
-
},
|
|
2908
|
+
}, On = (o, e) => At(o) ? o(e) : o, ts = ({
|
|
2910
2909
|
fileItem: o,
|
|
2911
2910
|
name: e,
|
|
2912
2911
|
data: t,
|
|
@@ -2917,19 +2916,19 @@ const Ht = (o) => {
|
|
|
2917
2916
|
fileReadyKey: i,
|
|
2918
2917
|
thread: u,
|
|
2919
2918
|
chunkSize: d,
|
|
2920
|
-
onProgress: s =
|
|
2921
|
-
onSuccess: c =
|
|
2922
|
-
onError: m =
|
|
2919
|
+
onProgress: s = Ro,
|
|
2920
|
+
onSuccess: c = Ro,
|
|
2921
|
+
onError: m = Ro
|
|
2923
2922
|
}) => {
|
|
2924
2923
|
var M;
|
|
2925
|
-
const T =
|
|
2924
|
+
const T = On(e, o) || "file", g = On(t, o), D = ko(), G = r ? `${yo.pieceUploadFiles}?sessionId=${D}` : `${yo.baseUploadFile}?sessionId=${D}`, A = [];
|
|
2926
2925
|
function _(v, f) {
|
|
2927
2926
|
let y = 0;
|
|
2928
2927
|
A.forEach((C) => {
|
|
2929
2928
|
y += C;
|
|
2930
|
-
}), v = y > 0 ?
|
|
2929
|
+
}), v = y > 0 ? ho.round(y / l, 2) : 0, s(v, f);
|
|
2931
2930
|
}
|
|
2932
|
-
function
|
|
2931
|
+
function I(v, f) {
|
|
2933
2932
|
let y = 0, C = 0, x = !1, P = [];
|
|
2934
2933
|
const w = v.length, E = async () => {
|
|
2935
2934
|
if (x)
|
|
@@ -2938,17 +2937,17 @@ const Ht = (o) => {
|
|
|
2938
2937
|
if (N) {
|
|
2939
2938
|
const b = C++, B = new XMLHttpRequest();
|
|
2940
2939
|
a && (B.withCredentials = !0), B.upload.onprogress = (k) => {
|
|
2941
|
-
const V = k.total > 0 ?
|
|
2940
|
+
const V = k.total > 0 ? ho.round(k.loaded / k.total, 2) : 0;
|
|
2942
2941
|
A[b] = k.loaded, _(V, k);
|
|
2943
2942
|
}, B.onerror = function(V) {
|
|
2944
2943
|
x = !0, m(V);
|
|
2945
2944
|
}, B.onload = () => {
|
|
2946
2945
|
if (B.status < 200 || B.status >= 300) {
|
|
2947
|
-
m(
|
|
2946
|
+
m(Gt(B));
|
|
2948
2947
|
return;
|
|
2949
2948
|
}
|
|
2950
2949
|
if (y == w - 1) {
|
|
2951
|
-
const k = P.map((V) =>
|
|
2950
|
+
const k = P.map((V) => Gt(V));
|
|
2952
2951
|
c(k);
|
|
2953
2952
|
} else
|
|
2954
2953
|
y++, E();
|
|
@@ -2957,13 +2956,13 @@ const Ht = (o) => {
|
|
|
2957
2956
|
B.setRequestHeader(k, n[k]);
|
|
2958
2957
|
B.send(N), P.push(B);
|
|
2959
2958
|
} else if (y === w) {
|
|
2960
|
-
const b = P.map((B) =>
|
|
2959
|
+
const b = P.map((B) => Gt(B));
|
|
2961
2960
|
c(b);
|
|
2962
2961
|
}
|
|
2963
|
-
},
|
|
2964
|
-
f <= 0 || x || (E(), setTimeout(
|
|
2962
|
+
}, S = () => {
|
|
2963
|
+
f <= 0 || x || (E(), setTimeout(S, Math.random() * 1e3), f--);
|
|
2965
2964
|
};
|
|
2966
|
-
return
|
|
2965
|
+
return S(), P;
|
|
2967
2966
|
}
|
|
2968
2967
|
if (r && i) {
|
|
2969
2968
|
let v = [];
|
|
@@ -2987,7 +2986,7 @@ const Ht = (o) => {
|
|
|
2987
2986
|
});
|
|
2988
2987
|
let y = [];
|
|
2989
2988
|
try {
|
|
2990
|
-
y =
|
|
2989
|
+
y = I(f, u ?? 1);
|
|
2991
2990
|
} catch (C) {
|
|
2992
2991
|
m(C);
|
|
2993
2992
|
}
|
|
@@ -2995,16 +2994,16 @@ const Ht = (o) => {
|
|
|
2995
2994
|
} else {
|
|
2996
2995
|
const v = new XMLHttpRequest();
|
|
2997
2996
|
a && (v.withCredentials = a), v.upload.onprogress = (y) => {
|
|
2998
|
-
const C = y.total > 0 ?
|
|
2997
|
+
const C = y.total > 0 ? ho.round(y.loaded / y.total, 2) : 0;
|
|
2999
2998
|
s(C, y);
|
|
3000
2999
|
}, v.onerror = function(C) {
|
|
3001
3000
|
m(C);
|
|
3002
3001
|
}, v.onload = () => {
|
|
3003
3002
|
if (v.status < 200 || v.status >= 300) {
|
|
3004
|
-
m(
|
|
3003
|
+
m(Gt(v));
|
|
3005
3004
|
return;
|
|
3006
3005
|
}
|
|
3007
|
-
c(
|
|
3006
|
+
c(Gt(v));
|
|
3008
3007
|
};
|
|
3009
3008
|
const f = new FormData();
|
|
3010
3009
|
if (g)
|
|
@@ -3036,14 +3035,14 @@ const Ht = (o) => {
|
|
|
3036
3035
|
});
|
|
3037
3036
|
}
|
|
3038
3037
|
return !!o;
|
|
3039
|
-
},
|
|
3038
|
+
}, Vn = (o, e) => {
|
|
3040
3039
|
if (!o)
|
|
3041
3040
|
return [];
|
|
3042
3041
|
const t = Array.from(o);
|
|
3043
3042
|
return e ? t.filter((n) => os(n, e)) : t;
|
|
3044
3043
|
}, Ta = (o) => {
|
|
3045
3044
|
var t, n, a, l;
|
|
3046
|
-
const e = { fileId: `${
|
|
3045
|
+
const e = { fileId: `${Zt(10)}-root`, filename: "root", childFiles: [] };
|
|
3047
3046
|
for (const r of o) {
|
|
3048
3047
|
const i = (t = r == null ? void 0 : r.relativePath) == null ? void 0 : t.split("/");
|
|
3049
3048
|
let u = e;
|
|
@@ -3053,7 +3052,7 @@ const Ht = (o) => {
|
|
|
3053
3052
|
(c) => c.filename === d
|
|
3054
3053
|
);
|
|
3055
3054
|
s || (s = {
|
|
3056
|
-
fileId: `${
|
|
3055
|
+
fileId: `${Zt(10)}-${d}`,
|
|
3057
3056
|
filename: d,
|
|
3058
3057
|
fileUploadType: "path",
|
|
3059
3058
|
childFiles: []
|
|
@@ -3117,7 +3116,7 @@ const Ht = (o) => {
|
|
|
3117
3116
|
[`${t.value}-hide`]: a.hide
|
|
3118
3117
|
}
|
|
3119
3118
|
]), a = o;
|
|
3120
|
-
|
|
3119
|
+
Xn(), K(!1);
|
|
3121
3120
|
const l = K(null), r = K(null);
|
|
3122
3121
|
K(0);
|
|
3123
3122
|
const i = (c) => {
|
|
@@ -3126,7 +3125,7 @@ const Ht = (o) => {
|
|
|
3126
3125
|
const m = a.onButtonClick(c);
|
|
3127
3126
|
if (Ol(m)) {
|
|
3128
3127
|
m.then((T) => {
|
|
3129
|
-
a.uploadFiles(
|
|
3128
|
+
a.uploadFiles(Vn(T));
|
|
3130
3129
|
});
|
|
3131
3130
|
return;
|
|
3132
3131
|
}
|
|
@@ -3135,7 +3134,7 @@ const Ht = (o) => {
|
|
|
3135
3134
|
}
|
|
3136
3135
|
}, u = (c) => {
|
|
3137
3136
|
const m = c.target;
|
|
3138
|
-
m.files && a.uploadFiles(
|
|
3137
|
+
m.files && a.uploadFiles(Vn(m.files)), m.value = "";
|
|
3139
3138
|
}, d = O(() => a.fileList && Array.isArray(a.fileList) && a.fileList.some((c) => c.status === "uploading") ? "uploading" : "normal"), s = O(() => {
|
|
3140
3139
|
if (a.fileList && Array.isArray(a.fileList) && a.fileList.length > 0) {
|
|
3141
3140
|
const m = a.fileList.reduce((T, g) => T + (g.percent || 0), 0) / a.fileList.length * 100;
|
|
@@ -3169,7 +3168,7 @@ const Ht = (o) => {
|
|
|
3169
3168
|
d.value == "normal" ? (p(), F(h(kn), {
|
|
3170
3169
|
key: 0,
|
|
3171
3170
|
size: "14"
|
|
3172
|
-
})) : (p(), F(h(
|
|
3171
|
+
})) : (p(), F(h(na), {
|
|
3173
3172
|
key: 1,
|
|
3174
3173
|
percentage: s.value,
|
|
3175
3174
|
label: !1,
|
|
@@ -3211,7 +3210,7 @@ const Ht = (o) => {
|
|
|
3211
3210
|
class: Z(a)
|
|
3212
3211
|
}, [
|
|
3213
3212
|
["uploading"].includes(o.file.status ?? "") ? (p(), H(se, { key: 0 }, [
|
|
3214
|
-
U(h(
|
|
3213
|
+
U(h(na), {
|
|
3215
3214
|
percentage: r(((d = o.file) == null ? void 0 : d.percent) ?? 100),
|
|
3216
3215
|
label: !1,
|
|
3217
3216
|
size: 12,
|
|
@@ -3240,7 +3239,7 @@ const Ht = (o) => {
|
|
|
3240
3239
|
default: L(() => {
|
|
3241
3240
|
var D;
|
|
3242
3241
|
return [
|
|
3243
|
-
(D = h(t)) != null && D.showRetryButton ? (p(), F(h(
|
|
3242
|
+
(D = h(t)) != null && D.showRetryButton ? (p(), F(h(po), { key: 0 })) : X("", !0)
|
|
3244
3243
|
];
|
|
3245
3244
|
}),
|
|
3246
3245
|
_: 1
|
|
@@ -3328,7 +3327,7 @@ const Ht = (o) => {
|
|
|
3328
3327
|
return [
|
|
3329
3328
|
ee("span", {
|
|
3330
3329
|
class: Z([(d = h(t)) == null ? void 0 : d.iconClass]),
|
|
3331
|
-
onClick: i[0] || (i[0] =
|
|
3330
|
+
onClick: i[0] || (i[0] = go((s) => l(o.file), ["stop"]))
|
|
3332
3331
|
}, [
|
|
3333
3332
|
U(h(Cl))
|
|
3334
3333
|
], 2)
|
|
@@ -3349,7 +3348,7 @@ const Ht = (o) => {
|
|
|
3349
3348
|
ee("span", {
|
|
3350
3349
|
class: Z([(d = h(t)) == null ? void 0 : d.iconClass, `${(s = h(t)) == null ? void 0 : s.iconClass}-error`])
|
|
3351
3350
|
}, [
|
|
3352
|
-
U(h(
|
|
3351
|
+
U(h(Il))
|
|
3353
3352
|
], 2)
|
|
3354
3353
|
];
|
|
3355
3354
|
}),
|
|
@@ -3358,7 +3357,7 @@ const Ht = (o) => {
|
|
|
3358
3357
|
U(ls, { file: o.file }, null, 8, ["file"]),
|
|
3359
3358
|
(u = h(t)) != null && u.showRemoveButton ? (p(), H("span", {
|
|
3360
3359
|
key: 2,
|
|
3361
|
-
onClick: i[1] || (i[1] =
|
|
3360
|
+
onClick: i[1] || (i[1] = go((d) => {
|
|
3362
3361
|
var s, c;
|
|
3363
3362
|
return (c = (s = h(t)) == null ? void 0 : s.onRemove) == null ? void 0 : c.call(s, o.file);
|
|
3364
3363
|
}, ["stop"]))
|
|
@@ -3405,7 +3404,7 @@ const ka = /* @__PURE__ */ st(rs, [["__scopeId", "data-v-8a486150"]]), ss = /* @
|
|
|
3405
3404
|
const s = ((d = l.file.filename) == null ? void 0 : d.split(".")[1]) ?? "";
|
|
3406
3405
|
["png", "jpg", "jpeg", "bmp", "gif", "webp"].includes(s) ? u = "image" : ["mp4", "m2v", "mkv", "m4v", "mov"].includes(s) ? u = "video" : ["mp3", "wav", "wmv", "m4a", "acc", "flac"].includes(s) && (u = "audio");
|
|
3407
3406
|
}
|
|
3408
|
-
return u.includes("image") ?
|
|
3407
|
+
return u.includes("image") ? qt : u.includes("pdf") ? aa : u.includes("video") ? Wo : Yo;
|
|
3409
3408
|
}), i = O(() => l.file.filename ? l.file.filename.length > 25 ? l.file.filename.substring(0, 20) + "..." + l.file.filename.substring(l.file.filename.length - 5) : l.file.filename : "");
|
|
3410
3409
|
return (u, d) => {
|
|
3411
3410
|
var s;
|
|
@@ -3422,7 +3421,7 @@ const ka = /* @__PURE__ */ st(rs, [["__scopeId", "data-v-8a486150"]]), ss = /* @
|
|
|
3422
3421
|
key: 0,
|
|
3423
3422
|
class: Z(`${t.value}--icon ${a}-file-icon`)
|
|
3424
3423
|
}, [
|
|
3425
|
-
(p(), F(
|
|
3424
|
+
(p(), F(Jn(r.value)))
|
|
3426
3425
|
], 2)) : X("", !0),
|
|
3427
3426
|
U(h(Et), {
|
|
3428
3427
|
content: o.file.filename,
|
|
@@ -3504,7 +3503,7 @@ const ka = /* @__PURE__ */ st(rs, [["__scopeId", "data-v-8a486150"]]), ss = /* @
|
|
|
3504
3503
|
var c;
|
|
3505
3504
|
let s = null;
|
|
3506
3505
|
if (d.getChildren())
|
|
3507
|
-
d.expanded ? s =
|
|
3506
|
+
d.expanded ? s = Sl : s = Ll;
|
|
3508
3507
|
else if (d.data.filename) {
|
|
3509
3508
|
let m = "";
|
|
3510
3509
|
if (d.data.type)
|
|
@@ -3513,9 +3512,9 @@ const ka = /* @__PURE__ */ st(rs, [["__scopeId", "data-v-8a486150"]]), ss = /* @
|
|
|
3513
3512
|
const T = ((c = d.data.filename) == null ? void 0 : c.split(".")[1]) ?? "";
|
|
3514
3513
|
["png", "jpg", "jpeg", "bmp", "gif", "webp"].includes(T) ? m = "image" : ["mp4", "m2v", "mkv", "m4v", "mov"].includes(T) ? m = "video" : ["mp3", "wav", "wmv", "m4a", "acc", "flac"].includes(T) && (m = "audio");
|
|
3515
3514
|
}
|
|
3516
|
-
m.includes("image") && (s =
|
|
3515
|
+
m.includes("image") && (s = qt), m.includes("pdf") && (s = aa), m.includes("audio") && (s = Wo), m.includes("video") && (s = Wo), s = Yo;
|
|
3517
3516
|
} else
|
|
3518
|
-
s =
|
|
3517
|
+
s = Yo;
|
|
3519
3518
|
return s && u(s, {});
|
|
3520
3519
|
}, i = O(() => l.fileTree.childFiles);
|
|
3521
3520
|
return (u, d) => {
|
|
@@ -3825,7 +3824,7 @@ const ka = /* @__PURE__ */ st(rs, [["__scopeId", "data-v-8a486150"]]), ss = /* @
|
|
|
3825
3824
|
error: (o) => !0
|
|
3826
3825
|
},
|
|
3827
3826
|
setup(o, { expose: e, emit: t }) {
|
|
3828
|
-
const { T: n } = me(), a = o, l = t, r =
|
|
3827
|
+
const { T: n } = me(), a = o, l = t, r = Xn(), {
|
|
3829
3828
|
fileList: i,
|
|
3830
3829
|
disabled: u,
|
|
3831
3830
|
listType: d,
|
|
@@ -3837,12 +3836,12 @@ const ka = /* @__PURE__ */ st(rs, [["__scopeId", "data-v-8a486150"]]), ss = /* @
|
|
|
3837
3836
|
download: D,
|
|
3838
3837
|
showLink: G,
|
|
3839
3838
|
showButtonProgress: A
|
|
3840
|
-
} = ll(a), _ = /* @__PURE__ */ new Map(),
|
|
3839
|
+
} = ll(a), _ = /* @__PURE__ */ new Map(), I = /* @__PURE__ */ new Map(), M = K([]), v = O(() => a.directory ? M.value.length ? Ta(M.value) : { fileId: "" } : { fileId: "" }), f = O(() => a.limit > 0 && M.value.length >= a.limit), y = O(() => a.buttonText ? a.buttonText : a.directory ? f.value ? `${n.t("重新选择")}` : `${n.t("上传文件夹")}` : f.value ? `${n.t("重新选择")}` : `${n.t("上传文件")}`), C = (j) => {
|
|
3841
3840
|
_.clear();
|
|
3842
3841
|
const R = j == null ? void 0 : j.map((J, te) => {
|
|
3843
|
-
const W = J.status ? J.status : J.url ? "done" : "error", ge =
|
|
3842
|
+
const W = J.status ? J.status : J.url ? "done" : "error", ge = Do({
|
|
3844
3843
|
...J,
|
|
3845
|
-
fileId: J.fileId ?? `${
|
|
3844
|
+
fileId: J.fileId ?? `${Zt(10)}-${J.filename}`,
|
|
3846
3845
|
status: W,
|
|
3847
3846
|
percent: J.percent ?? (["error", "init"].indexOf(W) > -1 ? 0 : 1)
|
|
3848
3847
|
});
|
|
@@ -3867,8 +3866,8 @@ const ka = /* @__PURE__ */ st(rs, [["__scopeId", "data-v-8a486150"]]), ss = /* @
|
|
|
3867
3866
|
if (R.state == 200)
|
|
3868
3867
|
return R.data;
|
|
3869
3868
|
}, w = async (j) => {
|
|
3870
|
-
var
|
|
3871
|
-
const R = ((
|
|
3869
|
+
var Ie;
|
|
3870
|
+
const R = ((Ie = j.file) == null ? void 0 : Ie.size) ?? 1, J = R > a.largeLimit;
|
|
3872
3871
|
let te = "";
|
|
3873
3872
|
J && (te = await P(j.file));
|
|
3874
3873
|
const W = (pe, q) => {
|
|
@@ -3880,17 +3879,17 @@ const ka = /* @__PURE__ */ st(rs, [["__scopeId", "data-v-8a486150"]]), ss = /* @
|
|
|
3880
3879
|
es({
|
|
3881
3880
|
key: te
|
|
3882
3881
|
}).then((ne) => {
|
|
3883
|
-
ne.state == 200 ? (
|
|
3882
|
+
ne.state == 200 ? (I.delete(q.fileId), q.status = "done", q.percent = 1, q.response = ne, q.url = ne.data.url, l("success", q), x(q)) : Se(pe);
|
|
3884
3883
|
}).catch(() => {
|
|
3885
|
-
|
|
3884
|
+
Se(pe);
|
|
3886
3885
|
})
|
|
3887
|
-
) :
|
|
3886
|
+
) : Se(pe);
|
|
3888
3887
|
} : (pe) => {
|
|
3889
3888
|
const q = _.get(j.fileId);
|
|
3890
|
-
q && (pe.state == 200 ? (q.status = "done", q.percent = 1, q.response = pe,
|
|
3891
|
-
},
|
|
3889
|
+
q && (pe.state == 200 ? (q.status = "done", q.percent = 1, q.response = pe, I.delete(q.fileId), q.url = pe.data.url, x(q), l("success", q)) : Se(pe));
|
|
3890
|
+
}, Se = (pe) => {
|
|
3892
3891
|
const q = _.get(j.fileId);
|
|
3893
|
-
console.warn("上传报错", pe, q), q && (q.status = "error", q.percent = 0, q.response = pe,
|
|
3892
|
+
console.warn("上传报错", pe, q), q && (q.status = "error", q.percent = 0, q.response = pe, I.delete(q.fileId), l("error", q), x(q));
|
|
3894
3893
|
}, Ke = {
|
|
3895
3894
|
fileItem: j,
|
|
3896
3895
|
action: a.action,
|
|
@@ -3905,14 +3904,14 @@ const ka = /* @__PURE__ */ st(rs, [["__scopeId", "data-v-8a486150"]]), ss = /* @
|
|
|
3905
3904
|
chunkSize: a.chunkSize,
|
|
3906
3905
|
onProgress: W,
|
|
3907
3906
|
onSuccess: ge,
|
|
3908
|
-
onError:
|
|
3907
|
+
onError: Se
|
|
3909
3908
|
};
|
|
3910
3909
|
j.status = "uploading", j.percent = 0;
|
|
3911
3910
|
const qe = At(a.customRequest) ? a.customRequest(Ke) : ts(Ke);
|
|
3912
|
-
|
|
3911
|
+
I.set(j.fileId, qe);
|
|
3913
3912
|
}, E = (j) => {
|
|
3914
3913
|
var J;
|
|
3915
|
-
const R =
|
|
3914
|
+
const R = I.get(j.fileId);
|
|
3916
3915
|
if (R)
|
|
3917
3916
|
if (_t(R)) {
|
|
3918
3917
|
R.forEach((W) => {
|
|
@@ -3922,11 +3921,11 @@ const ka = /* @__PURE__ */ st(rs, [["__scopeId", "data-v-8a486150"]]), ss = /* @
|
|
|
3922
3921
|
const te = _.get(j.fileId);
|
|
3923
3922
|
te && (te.status = "error", te.percent = 0, x(te));
|
|
3924
3923
|
} else {
|
|
3925
|
-
(J = R == null ? void 0 : R.abort) == null || J.call(R),
|
|
3924
|
+
(J = R == null ? void 0 : R.abort) == null || J.call(R), I.delete(j.fileId);
|
|
3926
3925
|
const te = _.get(j.fileId);
|
|
3927
3926
|
te && (te.status = "error", te.percent = 0, x(te));
|
|
3928
3927
|
}
|
|
3929
|
-
},
|
|
3928
|
+
}, S = () => {
|
|
3930
3929
|
if (M.value.length > 0)
|
|
3931
3930
|
for (const j of M.value)
|
|
3932
3931
|
E(j);
|
|
@@ -3935,7 +3934,7 @@ const ka = /* @__PURE__ */ st(rs, [["__scopeId", "data-v-8a486150"]]), ss = /* @
|
|
|
3935
3934
|
for (const j of M.value)
|
|
3936
3935
|
k(j);
|
|
3937
3936
|
}, b = async (j, R) => {
|
|
3938
|
-
const J = `${
|
|
3937
|
+
const J = `${Zt(10)}-${j.name}`, te = void 0, W = Do({
|
|
3939
3938
|
fileId: J,
|
|
3940
3939
|
file: j,
|
|
3941
3940
|
filename: j.name,
|
|
@@ -3977,11 +3976,11 @@ const ka = /* @__PURE__ */ st(rs, [["__scopeId", "data-v-8a486150"]]), ss = /* @
|
|
|
3977
3976
|
});
|
|
3978
3977
|
return Tt(
|
|
3979
3978
|
Ot,
|
|
3980
|
-
|
|
3979
|
+
Do({
|
|
3981
3980
|
disabled: u,
|
|
3982
3981
|
listType: d,
|
|
3983
|
-
uploaderClass:
|
|
3984
|
-
iconClass: `${
|
|
3982
|
+
uploaderClass: so,
|
|
3983
|
+
iconClass: `${so}--icon`,
|
|
3985
3984
|
showRemoveButton: m,
|
|
3986
3985
|
showRetryButton: s,
|
|
3987
3986
|
showCancelButton: c,
|
|
@@ -3996,12 +3995,12 @@ const ka = /* @__PURE__ */ st(rs, [["__scopeId", "data-v-8a486150"]]), ss = /* @
|
|
|
3996
3995
|
onRemove: V
|
|
3997
3996
|
})
|
|
3998
3997
|
), e({
|
|
3999
|
-
abortAllDownload:
|
|
3998
|
+
abortAllDownload: S,
|
|
4000
3999
|
clearAllFile: N
|
|
4001
4000
|
}), (j, R) => {
|
|
4002
4001
|
var J;
|
|
4003
4002
|
return p(), H("div", {
|
|
4004
|
-
class: Z([`${h(
|
|
4003
|
+
class: Z([`${h(so)}`])
|
|
4005
4004
|
}, [
|
|
4006
4005
|
o.showUploadButton ? (p(), F(as, we({
|
|
4007
4006
|
key: 0,
|
|
@@ -4019,7 +4018,7 @@ const ka = /* @__PURE__ */ st(rs, [["__scopeId", "data-v-8a486150"]]), ss = /* @
|
|
|
4019
4018
|
}, { ...(J = M.value) != null && J.length ? {} : { tip: o.tip } }), null, 16, ["disabled", "listType", "uploaderText", "multiple", "directory", "hide", "accept", "onButtonClick", "buttonProps", "fileList"])) : X("", !0),
|
|
4020
4019
|
o.showFileList && M.value.length ? (p(), F(h(hl), {
|
|
4021
4020
|
key: 1,
|
|
4022
|
-
class: Z(`${h(
|
|
4021
|
+
class: Z(`${h(so)}__card`),
|
|
4023
4022
|
size: "small"
|
|
4024
4023
|
}, {
|
|
4025
4024
|
default: L(() => [
|
|
@@ -4050,7 +4049,7 @@ const Jo = Ge(cs), ds = { class: "display-column-checkbox" }, fs = { class: "foo
|
|
|
4050
4049
|
ye(
|
|
4051
4050
|
() => t.displayColumns,
|
|
4052
4051
|
() => {
|
|
4053
|
-
l.value =
|
|
4052
|
+
l.value = xe(t.displayColumns);
|
|
4054
4053
|
},
|
|
4055
4054
|
{
|
|
4056
4055
|
deep: !0,
|
|
@@ -4058,7 +4057,7 @@ const Jo = Ge(cs), ds = { class: "display-column-checkbox" }, fs = { class: "foo
|
|
|
4058
4057
|
}
|
|
4059
4058
|
);
|
|
4060
4059
|
function r(T) {
|
|
4061
|
-
T && (l.value =
|
|
4060
|
+
T && (l.value = xe(t.displayColumns));
|
|
4062
4061
|
}
|
|
4063
4062
|
const i = (T) => {
|
|
4064
4063
|
l.value = T ? [...t.columnOptions.map((g) => g.value)] : [...t.columnOptions.filter((g) => g.disabled).map((g) => g.value)];
|
|
@@ -4071,8 +4070,8 @@ const Jo = Ge(cs), ds = { class: "display-column-checkbox" }, fs = { class: "foo
|
|
|
4071
4070
|
}, 1e3);
|
|
4072
4071
|
}
|
|
4073
4072
|
return (T, g) => {
|
|
4074
|
-
const D = Y("t-button"), G = Y("t-checkbox"), A = Y("t-checkbox-group"), _ = Y("t-space"),
|
|
4075
|
-
return p(), F(
|
|
4073
|
+
const D = Y("t-button"), G = Y("t-checkbox"), A = Y("t-checkbox-group"), _ = Y("t-space"), I = Y("t-popup");
|
|
4074
|
+
return p(), F(I, {
|
|
4076
4075
|
trigger: "click",
|
|
4077
4076
|
placement: "bottom-right",
|
|
4078
4077
|
visible: a.value,
|
|
@@ -4278,7 +4277,7 @@ const Yc = Ge(gs), zt = {
|
|
|
4278
4277
|
confirm: "/restapi/s09/gview/active/confirm",
|
|
4279
4278
|
// 触发 - 触发批量操作事件 POST
|
|
4280
4279
|
batch: "/restapi/s09/gview/active/batch"
|
|
4281
|
-
}, Ma = (o) => Je.get(zt.getOneView, o),
|
|
4280
|
+
}, Ma = (o) => Je.get(zt.getOneView, o), to = (o) => Je.post(zt.getBoardData, o), Ca = (o) => Je.post(zt.confirm, o), vs = (o) => Je.post(zt.batch, o), ys = (o) => Je.post(zt.activeFile, o), bs = (o) => Je.post(zt.downloadFile, o), ws = /* @__PURE__ */ ae({
|
|
4282
4281
|
__name: "GFormLabel",
|
|
4283
4282
|
props: {
|
|
4284
4283
|
modelValue: { default: "" },
|
|
@@ -4308,7 +4307,7 @@ const Yc = Ge(gs), zt = {
|
|
|
4308
4307
|
};
|
|
4309
4308
|
}
|
|
4310
4309
|
});
|
|
4311
|
-
const
|
|
4310
|
+
const Ia = /* @__PURE__ */ st(ws, [["__scopeId", "data-v-b9a9d3f9"]]), en = /* @__PURE__ */ ae({
|
|
4312
4311
|
__name: "GFormInput",
|
|
4313
4312
|
props: {
|
|
4314
4313
|
inputType: {},
|
|
@@ -4342,13 +4341,13 @@ const Sa = /* @__PURE__ */ st(ws, [["__scopeId", "data-v-b9a9d3f9"]]), en = /* @
|
|
|
4342
4341
|
t.originValue != m && r("blur:modelValue", m);
|
|
4343
4342
|
}
|
|
4344
4343
|
lt(() => {
|
|
4345
|
-
i(
|
|
4344
|
+
i(Ve(n.value));
|
|
4346
4345
|
});
|
|
4347
4346
|
const d = K(), s = K(!1);
|
|
4348
|
-
|
|
4347
|
+
Ue(() => {
|
|
4349
4348
|
s.value = jt(d.value);
|
|
4350
4349
|
});
|
|
4351
|
-
const c = $e(
|
|
4350
|
+
const c = $e(Mo);
|
|
4352
4351
|
return (m, T) => {
|
|
4353
4352
|
const g = Y("t-input"), D = Y("t-tooltip");
|
|
4354
4353
|
return p(), H("div", {
|
|
@@ -4382,7 +4381,7 @@ const Sa = /* @__PURE__ */ st(ws, [["__scopeId", "data-v-b9a9d3f9"]]), en = /* @
|
|
|
4382
4381
|
], 512);
|
|
4383
4382
|
};
|
|
4384
4383
|
}
|
|
4385
|
-
}),
|
|
4384
|
+
}), Sa = /* @__PURE__ */ ae({
|
|
4386
4385
|
__name: "GFormCheckBox",
|
|
4387
4386
|
props: {
|
|
4388
4387
|
modelValue: {},
|
|
@@ -4444,10 +4443,10 @@ const Sa = /* @__PURE__ */ st(ws, [["__scopeId", "data-v-b9a9d3f9"]]), en = /* @
|
|
|
4444
4443
|
return ye(
|
|
4445
4444
|
() => t.disabled,
|
|
4446
4445
|
() => {
|
|
4447
|
-
t.disabled && l("update:modelValue",
|
|
4446
|
+
t.disabled && l("update:modelValue", Ve(n.value));
|
|
4448
4447
|
}
|
|
4449
|
-
),
|
|
4450
|
-
l("update:modelValue",
|
|
4448
|
+
), Xt(() => {
|
|
4449
|
+
l("update:modelValue", Ve(n.value));
|
|
4451
4450
|
}), (i, u) => {
|
|
4452
4451
|
const d = Y("t-switch");
|
|
4453
4452
|
return p(), F(d, {
|
|
@@ -4460,7 +4459,7 @@ const Sa = /* @__PURE__ */ st(ws, [["__scopeId", "data-v-b9a9d3f9"]]), en = /* @
|
|
|
4460
4459
|
}
|
|
4461
4460
|
});
|
|
4462
4461
|
async function _s(o, e, t, n) {
|
|
4463
|
-
const a = await
|
|
4462
|
+
const a = await to({
|
|
4464
4463
|
viewName: e,
|
|
4465
4464
|
dataId: t,
|
|
4466
4465
|
props: n
|
|
@@ -4479,7 +4478,7 @@ async function _s(o, e, t, n) {
|
|
|
4479
4478
|
}
|
|
4480
4479
|
}
|
|
4481
4480
|
async function Ts(o, e, t, n) {
|
|
4482
|
-
const a = await
|
|
4481
|
+
const a = await to({
|
|
4483
4482
|
viewName: e,
|
|
4484
4483
|
dataId: t,
|
|
4485
4484
|
props: n
|
|
@@ -4498,7 +4497,7 @@ async function Ts(o, e, t, n) {
|
|
|
4498
4497
|
}
|
|
4499
4498
|
}
|
|
4500
4499
|
async function ks(o, e, t, n) {
|
|
4501
|
-
const a = await
|
|
4500
|
+
const a = await to({
|
|
4502
4501
|
viewName: e,
|
|
4503
4502
|
dataId: t,
|
|
4504
4503
|
props: n
|
|
@@ -4517,9 +4516,9 @@ async function ks(o, e, t, n) {
|
|
|
4517
4516
|
}
|
|
4518
4517
|
}
|
|
4519
4518
|
}
|
|
4520
|
-
function
|
|
4519
|
+
function Co(o) {
|
|
4521
4520
|
const e = K([]);
|
|
4522
|
-
return
|
|
4521
|
+
return Xt(async () => {
|
|
4523
4522
|
switch (o.itemType) {
|
|
4524
4523
|
case "tree_check_box": {
|
|
4525
4524
|
const { treeData: t, viewName: n, dataId: a, propsModel: l } = o;
|
|
@@ -4579,7 +4578,7 @@ const Na = /* @__PURE__ */ ae({
|
|
|
4579
4578
|
}), l = O(() => {
|
|
4580
4579
|
var c, m;
|
|
4581
4580
|
return ((m = (c = t.formItem) == null ? void 0 : c.listData) == null ? void 0 : m.dataId) ?? "";
|
|
4582
|
-
}), r = $e(xt, void 0), { options: i } =
|
|
4581
|
+
}), r = $e(xt, void 0), { options: i } = Co({
|
|
4583
4582
|
itemType: n.value,
|
|
4584
4583
|
viewName: t.viewName,
|
|
4585
4584
|
listData: a.value,
|
|
@@ -4603,10 +4602,10 @@ const Na = /* @__PURE__ */ ae({
|
|
|
4603
4602
|
return ye(
|
|
4604
4603
|
() => t.disabled,
|
|
4605
4604
|
() => {
|
|
4606
|
-
t.disabled && d("update:modelValue",
|
|
4605
|
+
t.disabled && d("update:modelValue", Ve(n.value));
|
|
4607
4606
|
}
|
|
4608
|
-
),
|
|
4609
|
-
d("update:modelValue",
|
|
4607
|
+
), Xt(() => {
|
|
4608
|
+
d("update:modelValue", Ve(n.value));
|
|
4610
4609
|
}), (c, m) => {
|
|
4611
4610
|
const T = Y("t-radio"), g = Y("t-radio-group");
|
|
4612
4611
|
return p(), F(g, {
|
|
@@ -4650,9 +4649,9 @@ const Na = /* @__PURE__ */ ae({
|
|
|
4650
4649
|
var _;
|
|
4651
4650
|
return (_ = n.formItem) == null ? void 0 : _.listData;
|
|
4652
4651
|
}), r = O(() => {
|
|
4653
|
-
var _,
|
|
4654
|
-
return ((
|
|
4655
|
-
}), i = $e(xt, void 0), { options: u } =
|
|
4652
|
+
var _, I;
|
|
4653
|
+
return ((I = (_ = n.formItem) == null ? void 0 : _.listData) == null ? void 0 : I.dataId) ?? "";
|
|
4654
|
+
}), i = $e(xt, void 0), { options: u } = Co({
|
|
4656
4655
|
itemType: a.value,
|
|
4657
4656
|
viewName: n.viewName,
|
|
4658
4657
|
listData: l.value,
|
|
@@ -4679,17 +4678,17 @@ const Na = /* @__PURE__ */ ae({
|
|
|
4679
4678
|
ye(
|
|
4680
4679
|
() => n.disabled,
|
|
4681
4680
|
() => {
|
|
4682
|
-
n.disabled || T(
|
|
4681
|
+
n.disabled || T(Ve(a.value, d));
|
|
4683
4682
|
}
|
|
4684
4683
|
), lt(() => {
|
|
4685
|
-
T(
|
|
4684
|
+
T(Ve(a.value, d));
|
|
4686
4685
|
});
|
|
4687
4686
|
const D = K(), G = K(!1);
|
|
4688
|
-
|
|
4687
|
+
Ue(() => {
|
|
4689
4688
|
D.value && (G.value = jt(D.value));
|
|
4690
4689
|
});
|
|
4691
|
-
const A = $e(
|
|
4692
|
-
return (_,
|
|
4690
|
+
const A = $e(Mo);
|
|
4691
|
+
return (_, I) => {
|
|
4693
4692
|
const M = Y("t-select"), v = Y("t-tooltip");
|
|
4694
4693
|
return p(), H("div", {
|
|
4695
4694
|
ref_key: "formSelectRef",
|
|
@@ -4707,7 +4706,7 @@ const Na = /* @__PURE__ */ ae({
|
|
|
4707
4706
|
default: L(() => [
|
|
4708
4707
|
U(M, we({
|
|
4709
4708
|
modelValue: c.value,
|
|
4710
|
-
"onUpdate:modelValue":
|
|
4709
|
+
"onUpdate:modelValue": I[0] || (I[0] = (f) => c.value = f)
|
|
4711
4710
|
}, h(A), {
|
|
4712
4711
|
placeholder: _.placeholder,
|
|
4713
4712
|
options: s.value,
|
|
@@ -4765,11 +4764,11 @@ const Na = /* @__PURE__ */ ae({
|
|
|
4765
4764
|
ye(
|
|
4766
4765
|
() => t.disabled,
|
|
4767
4766
|
() => {
|
|
4768
|
-
t.disabled && l("update:modelValue",
|
|
4767
|
+
t.disabled && l("update:modelValue", Ve(n.value));
|
|
4769
4768
|
}
|
|
4770
4769
|
);
|
|
4771
4770
|
const u = K(), d = K(!1);
|
|
4772
|
-
return
|
|
4771
|
+
return Ue(() => {
|
|
4773
4772
|
u.value && (d.value = jt(u.value));
|
|
4774
4773
|
}), (s, c) => {
|
|
4775
4774
|
const m = Y("t-date-picker"), T = Y("t-time-picker"), g = Y("t-tooltip");
|
|
@@ -4787,7 +4786,7 @@ const Na = /* @__PURE__ */ ae({
|
|
|
4787
4786
|
placement: "bottom"
|
|
4788
4787
|
}, {
|
|
4789
4788
|
default: L(() => {
|
|
4790
|
-
var D, G, A, _,
|
|
4789
|
+
var D, G, A, _, I;
|
|
4791
4790
|
return [
|
|
4792
4791
|
((D = s.formItem) == null ? void 0 : D.itemType) === "date_selector" || ((G = s.formItem) == null ? void 0 : G.itemType) === "date_time_selector" ? (p(), F(m, {
|
|
4793
4792
|
key: 0,
|
|
@@ -4810,7 +4809,7 @@ const Na = /* @__PURE__ */ ae({
|
|
|
4810
4809
|
"onUpdate:modelValue": c[1] || (c[1] = (M) => a.value = M),
|
|
4811
4810
|
onChange: r,
|
|
4812
4811
|
onBlur: i,
|
|
4813
|
-
format: ((
|
|
4812
|
+
format: ((I = s.formItem) == null ? void 0 : I.format) || "HH:mm:ss",
|
|
4814
4813
|
clearable: "",
|
|
4815
4814
|
allowInput: ""
|
|
4816
4815
|
}, null, 8, ["placeholder", "disabled", "modelValue", "format"])) : X("", !0)
|
|
@@ -4843,7 +4842,7 @@ const Na = /* @__PURE__ */ ae({
|
|
|
4843
4842
|
}), l = O(() => {
|
|
4844
4843
|
var g, D;
|
|
4845
4844
|
return ((D = (g = t.formItem) == null ? void 0 : g.treeData) == null ? void 0 : D.dataId) ?? "";
|
|
4846
|
-
}), r = $e(xt, void 0), { options: i } =
|
|
4845
|
+
}), r = $e(xt, void 0), { options: i } = Co({
|
|
4847
4846
|
itemType: n.value,
|
|
4848
4847
|
viewName: t.viewName,
|
|
4849
4848
|
treeData: a.value,
|
|
@@ -4859,13 +4858,13 @@ const Na = /* @__PURE__ */ ae({
|
|
|
4859
4858
|
ye(
|
|
4860
4859
|
() => t.disabled,
|
|
4861
4860
|
() => {
|
|
4862
|
-
t.disabled || d(
|
|
4861
|
+
t.disabled || d(Ve(n.value));
|
|
4863
4862
|
}
|
|
4864
4863
|
), lt(() => {
|
|
4865
|
-
d(
|
|
4864
|
+
d(Ve(n.value));
|
|
4866
4865
|
});
|
|
4867
4866
|
const c = K(), m = K(!1);
|
|
4868
|
-
|
|
4867
|
+
Ue(() => {
|
|
4869
4868
|
c.value && (m.value = jt(c.value));
|
|
4870
4869
|
});
|
|
4871
4870
|
const T = K(t.modelValue);
|
|
@@ -4935,7 +4934,7 @@ const Na = /* @__PURE__ */ ae({
|
|
|
4935
4934
|
}), l = O(() => {
|
|
4936
4935
|
var g, D;
|
|
4937
4936
|
return ((D = (g = t.formItem) == null ? void 0 : g.treeData) == null ? void 0 : D.dataId) ?? "";
|
|
4938
|
-
}), r = $e(xt, void 0), { options: i } =
|
|
4937
|
+
}), r = $e(xt, void 0), { options: i } = Co({
|
|
4939
4938
|
itemType: n.value,
|
|
4940
4939
|
viewName: t.viewName,
|
|
4941
4940
|
treeData: a.value,
|
|
@@ -4951,13 +4950,13 @@ const Na = /* @__PURE__ */ ae({
|
|
|
4951
4950
|
ye(
|
|
4952
4951
|
() => t.disabled,
|
|
4953
4952
|
() => {
|
|
4954
|
-
t.disabled || d(
|
|
4953
|
+
t.disabled || d(Ve(n.value));
|
|
4955
4954
|
}
|
|
4956
4955
|
), lt(() => {
|
|
4957
|
-
d(
|
|
4956
|
+
d(Ve(n.value));
|
|
4958
4957
|
});
|
|
4959
4958
|
const c = K(), m = K(!1);
|
|
4960
|
-
|
|
4959
|
+
Ue(() => {
|
|
4961
4960
|
c.value && (m.value = jt(c.value));
|
|
4962
4961
|
});
|
|
4963
4962
|
const T = K(t.modelValue);
|
|
@@ -5037,7 +5036,7 @@ const Na = /* @__PURE__ */ ae({
|
|
|
5037
5036
|
}
|
|
5038
5037
|
);
|
|
5039
5038
|
function r(d) {
|
|
5040
|
-
const s =
|
|
5039
|
+
const s = To(d);
|
|
5041
5040
|
if (n.formItem.fileUploadType == "file")
|
|
5042
5041
|
if (s.length && s.every((c) => c.status == "done")) {
|
|
5043
5042
|
const { response: c, filename: m, url: T } = s[0];
|
|
@@ -5113,7 +5112,7 @@ var Pa = { exports: {} };
|
|
|
5113
5112
|
return G(f) ? Math.ceil(f) : Math.floor(f);
|
|
5114
5113
|
}, _ = function(f) {
|
|
5115
5114
|
return Math.abs(f);
|
|
5116
|
-
},
|
|
5115
|
+
}, I = function(f, y) {
|
|
5117
5116
|
return f ? G(f) ? { negative: !0, format: "" + _(f) + y } : { negative: !1, format: "" + f + y } : { negative: !1, format: "" };
|
|
5118
5117
|
}, M = function() {
|
|
5119
5118
|
function f(C, x, P) {
|
|
@@ -5129,10 +5128,10 @@ var Pa = { exports: {} };
|
|
|
5129
5128
|
if (typeof C == "string") {
|
|
5130
5129
|
var E = C.match(c);
|
|
5131
5130
|
if (E) {
|
|
5132
|
-
var
|
|
5131
|
+
var S = E.slice(2).map(function(N) {
|
|
5133
5132
|
return N != null ? Number(N) : 0;
|
|
5134
5133
|
});
|
|
5135
|
-
return this.$d.years =
|
|
5134
|
+
return this.$d.years = S[0], this.$d.months = S[1], this.$d.weeks = S[2], this.$d.days = S[3], this.$d.hours = S[4], this.$d.minutes = S[5], this.$d.seconds = S[6], this.calMilliseconds(), this;
|
|
5136
5135
|
}
|
|
5137
5136
|
}
|
|
5138
5137
|
return this;
|
|
@@ -5147,11 +5146,11 @@ var Pa = { exports: {} };
|
|
|
5147
5146
|
var C = this.$ms;
|
|
5148
5147
|
this.$d.years = A(C / d), C %= d, this.$d.months = A(C / s), C %= s, this.$d.days = A(C / i), C %= i, this.$d.hours = A(C / r), C %= r, this.$d.minutes = A(C / l), C %= l, this.$d.seconds = A(C / a), C %= a, this.$d.milliseconds = C;
|
|
5149
5148
|
}, y.toISOString = function() {
|
|
5150
|
-
var C =
|
|
5149
|
+
var C = I(this.$d.years, "Y"), x = I(this.$d.months, "M"), P = +this.$d.days || 0;
|
|
5151
5150
|
this.$d.weeks && (P += 7 * this.$d.weeks);
|
|
5152
|
-
var w =
|
|
5151
|
+
var w = I(P, "D"), E = I(this.$d.hours, "H"), S = I(this.$d.minutes, "M"), N = this.$d.seconds || 0;
|
|
5153
5152
|
this.$d.milliseconds && (N += this.$d.milliseconds / 1e3, N = Math.round(1e3 * N) / 1e3);
|
|
5154
|
-
var b =
|
|
5153
|
+
var b = I(N, "S"), B = C.negative || x.negative || w.negative || E.negative || S.negative || b.negative, k = E.format || S.format || b.format ? "T" : "", V = (B ? "-" : "") + "P" + C.format + x.format + w.format + k + E.format + S.format + b.format;
|
|
5155
5154
|
return V === "P" || V === "-P" ? "P0D" : V;
|
|
5156
5155
|
}, y.toJSON = function() {
|
|
5157
5156
|
return this.toISOString();
|
|
@@ -5217,8 +5216,8 @@ var Pa = { exports: {} };
|
|
|
5217
5216
|
};
|
|
5218
5217
|
return function(f, y, C) {
|
|
5219
5218
|
t = C, n = C().$utils(), C.duration = function(w, E) {
|
|
5220
|
-
var
|
|
5221
|
-
return g(w, { $l:
|
|
5219
|
+
var S = C.locale();
|
|
5220
|
+
return g(w, { $l: S }, E);
|
|
5222
5221
|
}, C.isDuration = T;
|
|
5223
5222
|
var x = y.prototype.add, P = y.prototype.subtract;
|
|
5224
5223
|
y.prototype.add = function(w, E) {
|
|
@@ -5229,8 +5228,8 @@ var Pa = { exports: {} };
|
|
|
5229
5228
|
};
|
|
5230
5229
|
});
|
|
5231
5230
|
})(Pa);
|
|
5232
|
-
var
|
|
5233
|
-
const
|
|
5231
|
+
var Is = Pa.exports;
|
|
5232
|
+
const Ss = /* @__PURE__ */ Cs(Is), Ls = /* @__PURE__ */ ae({
|
|
5234
5233
|
__name: "GFormSelectDelay",
|
|
5235
5234
|
props: {
|
|
5236
5235
|
modelValue: {},
|
|
@@ -5242,7 +5241,7 @@ const Is = /* @__PURE__ */ Cs(Ss), Ls = /* @__PURE__ */ ae({
|
|
|
5242
5241
|
},
|
|
5243
5242
|
emits: ["update:modelValue", "blur:modelValue"],
|
|
5244
5243
|
setup(o, { emit: e }) {
|
|
5245
|
-
ft.extend(
|
|
5244
|
+
ft.extend(Ss);
|
|
5246
5245
|
const t = o, n = O(() => {
|
|
5247
5246
|
var s;
|
|
5248
5247
|
return (s = t.formItem) == null ? void 0 : s.itemType;
|
|
@@ -5276,11 +5275,11 @@ const Is = /* @__PURE__ */ Cs(Ss), Ls = /* @__PURE__ */ ae({
|
|
|
5276
5275
|
ye(
|
|
5277
5276
|
() => t.disabled,
|
|
5278
5277
|
() => {
|
|
5279
|
-
t.disabled && l("update:modelValue",
|
|
5278
|
+
t.disabled && l("update:modelValue", Ve(n.value));
|
|
5280
5279
|
}
|
|
5281
5280
|
);
|
|
5282
5281
|
const u = K(), d = K(!1);
|
|
5283
|
-
return
|
|
5282
|
+
return Ue(() => {
|
|
5284
5283
|
u.value && (d.value = jt(u.value));
|
|
5285
5284
|
}), (s, c) => {
|
|
5286
5285
|
const m = Y("t-time-picker"), T = Y("t-tooltip");
|
|
@@ -5346,7 +5345,7 @@ const Ns = /* @__PURE__ */ ae({
|
|
|
5346
5345
|
}
|
|
5347
5346
|
);
|
|
5348
5347
|
const l = K("simple"), r = rl();
|
|
5349
|
-
|
|
5348
|
+
Ue(() => {
|
|
5350
5349
|
});
|
|
5351
5350
|
const i = {
|
|
5352
5351
|
excludeKeys: ["insertLink", "group-image", "group-video", "fullScreen"]
|
|
@@ -5380,7 +5379,7 @@ const Ns = /* @__PURE__ */ ae({
|
|
|
5380
5379
|
}
|
|
5381
5380
|
), lt(() => {
|
|
5382
5381
|
d("update:modelValue", "");
|
|
5383
|
-
}), (_,
|
|
5382
|
+
}), (_, I) => (p(), H("div", {
|
|
5384
5383
|
class: Z([`${t}`, `${T.value ? `${t}--focused` : ""}`])
|
|
5385
5384
|
}, [
|
|
5386
5385
|
U(h(Bl), {
|
|
@@ -5395,7 +5394,7 @@ const Ns = /* @__PURE__ */ ae({
|
|
|
5395
5394
|
defaultConfig: u,
|
|
5396
5395
|
mode: l.value,
|
|
5397
5396
|
modelValue: a.value,
|
|
5398
|
-
"onUpdate:modelValue":
|
|
5397
|
+
"onUpdate:modelValue": I[0] || (I[0] = (M) => a.value = M),
|
|
5399
5398
|
onOnCreated: s,
|
|
5400
5399
|
onOnChange: c,
|
|
5401
5400
|
onOnDestroyed: m,
|
|
@@ -5456,7 +5455,7 @@ const Ns = /* @__PURE__ */ ae({
|
|
|
5456
5455
|
r("blur:modelValue", l.value);
|
|
5457
5456
|
}
|
|
5458
5457
|
return lt(() => {
|
|
5459
|
-
i(
|
|
5458
|
+
i(Ve(a.value));
|
|
5460
5459
|
}), (m, T) => {
|
|
5461
5460
|
const g = Y("t-button"), D = Y("t-input"), G = Y("t-input-group"), A = Y("t-space");
|
|
5462
5461
|
return p(), F(A, null, {
|
|
@@ -5475,27 +5474,27 @@ const Ns = /* @__PURE__ */ ae({
|
|
|
5475
5474
|
direction: "vertical"
|
|
5476
5475
|
}, {
|
|
5477
5476
|
default: L(() => [
|
|
5478
|
-
(p(!0), H(se, null, _e(l.value, (_,
|
|
5477
|
+
(p(!0), H(se, null, _e(l.value, (_, I) => (p(), F(G, { key: I }, {
|
|
5479
5478
|
default: L(() => [
|
|
5480
5479
|
U(D, {
|
|
5481
5480
|
style: { width: "200px" },
|
|
5482
5481
|
value: _,
|
|
5483
5482
|
placeholder: m.placeholder,
|
|
5484
|
-
onChange: (M) => d(M,
|
|
5483
|
+
onChange: (M) => d(M, I),
|
|
5485
5484
|
onBlur: c,
|
|
5486
5485
|
clearable: ""
|
|
5487
5486
|
}, null, 8, ["value", "placeholder", "onChange"]),
|
|
5488
5487
|
U(g, {
|
|
5489
5488
|
variant: "outline",
|
|
5490
5489
|
theme: "default",
|
|
5491
|
-
onClick: (M) => s(
|
|
5490
|
+
onClick: (M) => s(I)
|
|
5492
5491
|
}, {
|
|
5493
5492
|
default: L(() => [
|
|
5494
5493
|
ie("- ")
|
|
5495
5494
|
]),
|
|
5496
5495
|
_: 2
|
|
5497
5496
|
}, 1032, ["onClick"]),
|
|
5498
|
-
|
|
5497
|
+
I == l.value.length - 1 ? (p(), F(g, {
|
|
5499
5498
|
key: 0,
|
|
5500
5499
|
variant: "outline",
|
|
5501
5500
|
theme: "default",
|
|
@@ -5602,18 +5601,18 @@ const Es = ["id"], As = /* @__PURE__ */ ae({
|
|
|
5602
5601
|
getDisableFlag: T,
|
|
5603
5602
|
setBlockShowFlag: g
|
|
5604
5603
|
});
|
|
5605
|
-
const _ = O(() => l.formItem.name.replace(/:|:/, "")),
|
|
5606
|
-
return
|
|
5607
|
-
if (
|
|
5608
|
-
v.value =
|
|
5609
|
-
const f =
|
|
5604
|
+
const _ = O(() => l.formItem.name.replace(/:|:/, "")), I = K(), M = K(!1), v = K(0);
|
|
5605
|
+
return Ue(() => {
|
|
5606
|
+
if (I.value && l.isLabelNameShow) {
|
|
5607
|
+
v.value = I.value.parentElement.parentElement.clientWidth;
|
|
5608
|
+
const f = I.value.clientWidth;
|
|
5610
5609
|
f && f && f - v.value > -15 && (M.value = !0);
|
|
5611
5610
|
}
|
|
5612
|
-
}), Tt(
|
|
5611
|
+
}), Tt(Mo, l.componentProps), (f, y) => {
|
|
5613
5612
|
const C = Y("t-divider"), x = Y("t-tooltip"), P = Y("t-form-item");
|
|
5614
5613
|
return p(), H("div", {
|
|
5615
5614
|
ref: "formItemRef",
|
|
5616
|
-
class: Z(`${h(
|
|
5615
|
+
class: Z(`${h(xn)}`),
|
|
5617
5616
|
id: D.value
|
|
5618
5617
|
}, [
|
|
5619
5618
|
m.value ? (p(), H(se, { key: 0 }, [
|
|
@@ -5631,7 +5630,7 @@ const Es = ["id"], As = /* @__PURE__ */ ae({
|
|
|
5631
5630
|
id: f.formItem.keyName,
|
|
5632
5631
|
requiredMark: f.formItem.required && !c.value,
|
|
5633
5632
|
name: f.formItem.inputType != "RE_PASSWORD" ? f.formItem.keyName : "rePassword",
|
|
5634
|
-
class: Z([`${f.isLabelNameShow ? "" : `${h(
|
|
5633
|
+
class: Z([`${f.isLabelNameShow ? "" : `${h(xn)}-label--hidden`}`])
|
|
5635
5634
|
}, {
|
|
5636
5635
|
label: L(() => [
|
|
5637
5636
|
U(x, {
|
|
@@ -5645,7 +5644,7 @@ const Es = ["id"], As = /* @__PURE__ */ ae({
|
|
|
5645
5644
|
default: L(() => [
|
|
5646
5645
|
ee("span", {
|
|
5647
5646
|
ref_key: "formItemLabel",
|
|
5648
|
-
ref:
|
|
5647
|
+
ref: I,
|
|
5649
5648
|
class: Z([
|
|
5650
5649
|
"formItem__label",
|
|
5651
5650
|
M.value ? "formItem__label--ellipsis" : ""
|
|
@@ -5659,9 +5658,9 @@ const Es = ["id"], As = /* @__PURE__ */ ae({
|
|
|
5659
5658
|
}, 8, ["disabled", "content"])
|
|
5660
5659
|
]),
|
|
5661
5660
|
default: L(() => {
|
|
5662
|
-
var w, E,
|
|
5661
|
+
var w, E, S, N;
|
|
5663
5662
|
return [
|
|
5664
|
-
f.formItem.itemType === "label" ? (p(), F(
|
|
5663
|
+
f.formItem.itemType === "label" ? (p(), F(Ia, {
|
|
5665
5664
|
key: 0,
|
|
5666
5665
|
formItem: f.formItem,
|
|
5667
5666
|
formModel: r.value,
|
|
@@ -5683,7 +5682,7 @@ const Es = ["id"], As = /* @__PURE__ */ ae({
|
|
|
5683
5682
|
disabled: c.value,
|
|
5684
5683
|
"onUpdate:modelValue": y[1] || (y[1] = (b) => s("rePassword", b))
|
|
5685
5684
|
}), null, 16, ["formItem", "inputType", "modelValue", "placeholder", "disabled"])) : X("", !0),
|
|
5686
|
-
f.formItem.itemType === "check_box" ? (p(), F(
|
|
5685
|
+
f.formItem.itemType === "check_box" ? (p(), F(Sa, we({ key: 3 }, f.componentProps, {
|
|
5687
5686
|
modelValue: h(le)(r.value, f.formItem.keyName, !1),
|
|
5688
5687
|
disabled: c.value,
|
|
5689
5688
|
"onUpdate:modelValue": y[2] || (y[2] = (b) => s(f.formItem.keyName, b))
|
|
@@ -5703,7 +5702,7 @@ const Es = ["id"], As = /* @__PURE__ */ ae({
|
|
|
5703
5702
|
"onUpdate:modelValue": y[4] || (y[4] = (b) => s(f.formItem.keyName, b))
|
|
5704
5703
|
}), null, 16, ["modelValue", "formItem", "viewName", "disabled"])) : X("", !0),
|
|
5705
5704
|
f.formItem.itemType === "selector" || f.formItem.itemType === "multi_selector" ? (p(), F(Da, we({ key: 6 }, f.componentProps, {
|
|
5706
|
-
key: (
|
|
5705
|
+
key: (S = f.formItem.listData) == null ? void 0 : S.dataId,
|
|
5707
5706
|
modelValue: h(le)(r.value, f.formItem.keyName),
|
|
5708
5707
|
formItem: f.formItem,
|
|
5709
5708
|
viewName: f.viewName,
|
|
@@ -5780,7 +5779,7 @@ const Es = ["id"], As = /* @__PURE__ */ ae({
|
|
|
5780
5779
|
};
|
|
5781
5780
|
}
|
|
5782
5781
|
});
|
|
5783
|
-
const
|
|
5782
|
+
const bo = /* @__PURE__ */ st(As, [["__scopeId", "data-v-9b1bb63e"]]), Bs = ["id"], $a = /* @__PURE__ */ ae({
|
|
5784
5783
|
__name: "GFormBlock",
|
|
5785
5784
|
props: {
|
|
5786
5785
|
name: {},
|
|
@@ -5803,9 +5802,9 @@ const yo = /* @__PURE__ */ st(As, [["__scopeId", "data-v-9b1bb63e"]]), Bs = ["id
|
|
|
5803
5802
|
s.length && r("block-show-if-change", t.name, s, d);
|
|
5804
5803
|
}
|
|
5805
5804
|
}
|
|
5806
|
-
return
|
|
5805
|
+
return Xt(() => {
|
|
5807
5806
|
a();
|
|
5808
|
-
}),
|
|
5807
|
+
}), Ue(() => {
|
|
5809
5808
|
i();
|
|
5810
5809
|
}), ye(
|
|
5811
5810
|
() => t.showIf,
|
|
@@ -5834,7 +5833,7 @@ const yo = /* @__PURE__ */ st(As, [["__scopeId", "data-v-9b1bb63e"]]), Bs = ["id
|
|
|
5834
5833
|
ye(
|
|
5835
5834
|
() => a.formData,
|
|
5836
5835
|
() => {
|
|
5837
|
-
i.value =
|
|
5836
|
+
i.value = Qt(a.formData, r.value);
|
|
5838
5837
|
},
|
|
5839
5838
|
{
|
|
5840
5839
|
immediate: !0,
|
|
@@ -5848,49 +5847,49 @@ const yo = /* @__PURE__ */ st(As, [["__scopeId", "data-v-9b1bb63e"]]), Bs = ["id
|
|
|
5848
5847
|
async function m() {
|
|
5849
5848
|
let P = [];
|
|
5850
5849
|
return T.value && (P = T == null ? void 0 : T.value.map((w) => {
|
|
5851
|
-
const { formItem: E } = w,
|
|
5852
|
-
return E.required && E.keyName &&
|
|
5850
|
+
const { formItem: E } = w, S = [];
|
|
5851
|
+
return E.required && E.keyName && S.push({
|
|
5853
5852
|
validator: () => {
|
|
5854
5853
|
const N = le(i.value, E.keyName);
|
|
5855
|
-
return
|
|
5854
|
+
return vo(N) ? {
|
|
5856
5855
|
result: !1,
|
|
5857
5856
|
message: `${E.name.trim().replace(/[::]/g, "").replace(/ {2,}/g, "")}${n.t("为必填项")}`
|
|
5858
5857
|
} : { result: !0 };
|
|
5859
5858
|
},
|
|
5860
5859
|
trigger: "blur"
|
|
5861
|
-
}), E.inputType === "RE_PASSWORD" &&
|
|
5860
|
+
}), E.inputType === "RE_PASSWORD" && S.push({
|
|
5862
5861
|
validator: () => ({
|
|
5863
5862
|
result: le(i.value, "password") === le(i.value, "rePassword"),
|
|
5864
5863
|
message: `${n.t("两次输入密码不一致")}`
|
|
5865
5864
|
}),
|
|
5866
5865
|
trigger: "blur"
|
|
5867
|
-
}), (E.keyName === "startTime" || E.keyName === "endTime") &&
|
|
5866
|
+
}), (E.keyName === "startTime" || E.keyName === "endTime") && S.push({
|
|
5868
5867
|
validator: () => ({
|
|
5869
5868
|
result: le(i.value, "endTime") - le(i.value, "startTime") > 0,
|
|
5870
5869
|
message: `${n.t("结束时间不能早于开始时间")}`
|
|
5871
5870
|
})
|
|
5872
5871
|
}), {
|
|
5873
5872
|
keyName: E.inputType !== "RE_PASSWORD" ? E.keyName : "rePassword",
|
|
5874
|
-
rules:
|
|
5873
|
+
rules: S
|
|
5875
5874
|
};
|
|
5876
5875
|
})), P == null ? void 0 : P.reduce((w, E) => (E.rules.length && (w[E.keyName] = E.rules), w), {});
|
|
5877
5876
|
}
|
|
5878
5877
|
const T = K(), g = K();
|
|
5879
5878
|
function D(P, w, E) {
|
|
5880
|
-
T.value && T.value.forEach((
|
|
5881
|
-
|
|
5879
|
+
T.value && T.value.forEach((S) => {
|
|
5880
|
+
S.formItemId && w.includes(S.formItemId) && S.$el.classList.contains(P) && S.setBlockShowFlag(E);
|
|
5882
5881
|
});
|
|
5883
5882
|
}
|
|
5884
|
-
|
|
5883
|
+
Ue(async () => {
|
|
5885
5884
|
c.value = await m();
|
|
5886
5885
|
});
|
|
5887
5886
|
function G(P, w) {
|
|
5888
5887
|
Ye(i.value, P, w), s.value && A([P]);
|
|
5889
5888
|
}
|
|
5890
5889
|
async function A(P = []) {
|
|
5891
|
-
var
|
|
5890
|
+
var S;
|
|
5892
5891
|
const w = _();
|
|
5893
|
-
return (P.length ? P.some((N) => w.includes(N)) : !0) ? (
|
|
5892
|
+
return (P.length ? P.some((N) => w.includes(N)) : !0) ? (S = s.value) == null ? void 0 : S.validate({
|
|
5894
5893
|
fields: P.length ? P : w
|
|
5895
5894
|
}) : Promise.resolve({});
|
|
5896
5895
|
}
|
|
@@ -5900,7 +5899,7 @@ const yo = /* @__PURE__ */ st(As, [["__scopeId", "data-v-9b1bb63e"]]), Bs = ["id
|
|
|
5900
5899
|
const { formItem: E } = w;
|
|
5901
5900
|
return (E.keyName ?? "") != "" && !w.getDisableFlag() ? E.inputType !== "RE_PASSWORD" ? E.keyName : "rePassword" : [];
|
|
5902
5901
|
});
|
|
5903
|
-
},
|
|
5902
|
+
}, I = O(() => {
|
|
5904
5903
|
var P;
|
|
5905
5904
|
return (P = a.board) == null ? void 0 : P.okButton;
|
|
5906
5905
|
}), M = O(() => {
|
|
@@ -5909,19 +5908,19 @@ const yo = /* @__PURE__ */ st(As, [["__scopeId", "data-v-9b1bb63e"]]), Bs = ["id
|
|
|
5909
5908
|
}), v = t;
|
|
5910
5909
|
function f(P) {
|
|
5911
5910
|
for (const w in P) {
|
|
5912
|
-
const E = P[w].find((
|
|
5911
|
+
const E = P[w].find((S) => S.result === !1);
|
|
5913
5912
|
if (E)
|
|
5914
5913
|
return { ...E };
|
|
5915
5914
|
}
|
|
5916
5915
|
return null;
|
|
5917
5916
|
}
|
|
5918
5917
|
function y(P) {
|
|
5919
|
-
let w =
|
|
5918
|
+
let w = To(P);
|
|
5920
5919
|
const E = Object.keys(w);
|
|
5921
5920
|
if (r.value && E.length) {
|
|
5922
|
-
const
|
|
5921
|
+
const S = r.value.filter((b) => b.itemType == "file" && b.fileUploadType == "path").map((b) => b.keyName);
|
|
5923
5922
|
E.length && E.forEach((b) => {
|
|
5924
|
-
|
|
5923
|
+
S.includes(b) && w[b] && _t(w[b]) && (w[b] = w[b].filter(
|
|
5925
5924
|
(B) => B && B.url
|
|
5926
5925
|
));
|
|
5927
5926
|
});
|
|
@@ -5984,32 +5983,32 @@ const yo = /* @__PURE__ */ st(As, [["__scopeId", "data-v-9b1bb63e"]]), Bs = ["id
|
|
|
5984
5983
|
}
|
|
5985
5984
|
}, {
|
|
5986
5985
|
body: L(() => [
|
|
5987
|
-
(p(!0), H(se, null, _e(r.value, (
|
|
5988
|
-
key: `${
|
|
5986
|
+
(p(!0), H(se, null, _e(r.value, (S) => (p(), H(se, {
|
|
5987
|
+
key: `${S.name}_${S.keyName}`
|
|
5989
5988
|
}, [
|
|
5990
|
-
|
|
5989
|
+
S.itemType === "block_start" || S.itemType === "block_end" ? (p(), F($a, {
|
|
5991
5990
|
key: 0,
|
|
5992
5991
|
ref_for: !0,
|
|
5993
5992
|
ref_key: "formBlockRef",
|
|
5994
5993
|
ref: g,
|
|
5995
|
-
name:
|
|
5996
|
-
blockType:
|
|
5997
|
-
showIf: h(u)(
|
|
5994
|
+
name: S.name,
|
|
5995
|
+
blockType: S.itemType,
|
|
5996
|
+
showIf: h(u)(S.showIf),
|
|
5998
5997
|
onBlockShowIfChange: D
|
|
5999
|
-
}, null, 8, ["name", "blockType", "showIf"])) : (p(), F(
|
|
5998
|
+
}, null, 8, ["name", "blockType", "showIf"])) : (p(), F(bo, {
|
|
6000
5999
|
key: 1,
|
|
6001
6000
|
ref_for: !0,
|
|
6002
6001
|
ref_key: "formItemRef",
|
|
6003
6002
|
ref: T,
|
|
6004
6003
|
formModel: i.value,
|
|
6005
|
-
formItem:
|
|
6004
|
+
formItem: S,
|
|
6006
6005
|
viewName: P.viewName,
|
|
6007
6006
|
onAfterUpdateValue: G
|
|
6008
6007
|
}, null, 8, ["formModel", "formItem", "viewName"]))
|
|
6009
6008
|
], 64))), 128))
|
|
6010
6009
|
]),
|
|
6011
6010
|
footer: L(() => {
|
|
6012
|
-
var
|
|
6011
|
+
var S;
|
|
6013
6012
|
return [
|
|
6014
6013
|
M.value && M.value.name != "" && M.value.action !== "NONE" ? (p(), F(E, {
|
|
6015
6014
|
key: 0,
|
|
@@ -6024,10 +6023,10 @@ const yo = /* @__PURE__ */ st(As, [["__scopeId", "data-v-9b1bb63e"]]), Bs = ["id
|
|
|
6024
6023
|
}),
|
|
6025
6024
|
_: 1
|
|
6026
6025
|
})) : X("", !0),
|
|
6027
|
-
|
|
6026
|
+
I.value && I.value.name != "" && ((S = I.value) == null ? void 0 : S.action) !== "NONE" ? (p(), F(E, {
|
|
6028
6027
|
key: 1,
|
|
6029
6028
|
theme: "primary",
|
|
6030
|
-
onClick: w[1] || (w[1] = (N) =>
|
|
6029
|
+
onClick: w[1] || (w[1] = (N) => I.value && C(I.value)),
|
|
6031
6030
|
loading: x.value
|
|
6032
6031
|
}, {
|
|
6033
6032
|
default: L(() => {
|
|
@@ -6036,7 +6035,7 @@ const yo = /* @__PURE__ */ st(As, [["__scopeId", "data-v-9b1bb63e"]]), Bs = ["id
|
|
|
6036
6035
|
x.value ? (p(), H(se, { key: 1 }, [
|
|
6037
6036
|
ie(oe(h(n).t("提交中")), 1)
|
|
6038
6037
|
], 64)) : (p(), H(se, { key: 0 }, [
|
|
6039
|
-
ie(oe((N =
|
|
6038
|
+
ie(oe((N = I.value) == null ? void 0 : N.name), 1)
|
|
6040
6039
|
], 64))
|
|
6041
6040
|
];
|
|
6042
6041
|
}),
|
|
@@ -6059,39 +6058,39 @@ const Ps = /* @__PURE__ */ ae({
|
|
|
6059
6058
|
},
|
|
6060
6059
|
emits: ["close-dialog"],
|
|
6061
6060
|
setup(o, { emit: e }) {
|
|
6062
|
-
const t =
|
|
6063
|
-
var
|
|
6064
|
-
return (
|
|
6061
|
+
const t = ea(() => Promise.resolve().then(() => qa)), { T: n } = me(), a = pt(), l = o, r = O(() => {
|
|
6062
|
+
var I, M, v;
|
|
6063
|
+
return (I = l.board) != null && I.data ? (M = l.board) == null ? void 0 : M.data.dataId : (v = l.board) != null && v.tableData ? l.board.tableData.dataId : null;
|
|
6065
6064
|
}), i = O(() => {
|
|
6066
6065
|
if (je(a.query))
|
|
6067
6066
|
return {};
|
|
6068
6067
|
{
|
|
6069
|
-
const { viewName:
|
|
6068
|
+
const { viewName: I, ...M } = a.query;
|
|
6070
6069
|
return M;
|
|
6071
6070
|
}
|
|
6072
6071
|
}), u = O(() => {
|
|
6073
6072
|
var M;
|
|
6074
|
-
let
|
|
6075
|
-
return l.dialogProps && ((M = Object.keys(l.dialogProps)) != null && M.length) && Object.assign(
|
|
6073
|
+
let I = {};
|
|
6074
|
+
return l.dialogProps && ((M = Object.keys(l.dialogProps)) != null && M.length) && Object.assign(I, l.dialogProps), Object.assign(I, i.value), I;
|
|
6076
6075
|
}), d = O(() => {
|
|
6077
|
-
var
|
|
6078
|
-
return (
|
|
6076
|
+
var I;
|
|
6077
|
+
return (I = l.board) == null ? void 0 : I.boardType;
|
|
6079
6078
|
}), s = e;
|
|
6080
6079
|
function c() {
|
|
6081
6080
|
s("close-dialog");
|
|
6082
6081
|
}
|
|
6083
6082
|
const m = K();
|
|
6084
|
-
async function T(
|
|
6083
|
+
async function T(I, M) {
|
|
6085
6084
|
m.value && (m.value.formOkButtonLoading || (m.value.formOkButtonLoading = !0));
|
|
6086
6085
|
let v = {};
|
|
6087
|
-
return Object.keys(u.value).length && Object.assign(v, u.value), Object.assign(v,
|
|
6086
|
+
return Object.keys(u.value).length && Object.assign(v, u.value), Object.assign(v, I), (await Ca({
|
|
6088
6087
|
buttonId: M,
|
|
6089
6088
|
props: v,
|
|
6090
6089
|
viewName: l.viewName
|
|
6091
6090
|
})).state === 200 ? (Me.success(`${n.t("提交成功")}`), m.value && (m.value.formOkButtonLoading = !1), !0) : (m.value && (m.value.formOkButtonLoading = !1), !1);
|
|
6092
6091
|
}
|
|
6093
|
-
async function g(
|
|
6094
|
-
await T(
|
|
6092
|
+
async function g(I, M) {
|
|
6093
|
+
await T(I, M) && D();
|
|
6095
6094
|
}
|
|
6096
6095
|
function D() {
|
|
6097
6096
|
s("close-dialog");
|
|
@@ -6100,30 +6099,30 @@ const Ps = /* @__PURE__ */ ae({
|
|
|
6100
6099
|
async function _() {
|
|
6101
6100
|
try {
|
|
6102
6101
|
if (A.value = !0, !at(r.value) && !at(l.viewName)) {
|
|
6103
|
-
const
|
|
6102
|
+
const I = await to({
|
|
6104
6103
|
dataId: r.value,
|
|
6105
6104
|
viewName: l.viewName,
|
|
6106
6105
|
props: u.value
|
|
6107
6106
|
});
|
|
6108
|
-
|
|
6107
|
+
I.state === 200 && I.data && (G.value = I.data);
|
|
6109
6108
|
}
|
|
6110
6109
|
at(r.value) && (G.value = { ...u.value });
|
|
6111
|
-
} catch (
|
|
6112
|
-
console.warn("getViewDataApi",
|
|
6110
|
+
} catch (I) {
|
|
6111
|
+
console.warn("getViewDataApi", I);
|
|
6113
6112
|
} finally {
|
|
6114
6113
|
A.value = !1;
|
|
6115
6114
|
}
|
|
6116
6115
|
}
|
|
6117
|
-
return
|
|
6116
|
+
return Ue(() => {
|
|
6118
6117
|
d.value == "form" && _();
|
|
6119
|
-
}), Tt(xt, u.value), (
|
|
6118
|
+
}), Tt(xt, u.value), (I, M) => {
|
|
6120
6119
|
const v = Y("t-loading");
|
|
6121
6120
|
return d.value !== "form" ? (p(), F(h(t), {
|
|
6122
6121
|
from: "dialog",
|
|
6123
|
-
key:
|
|
6124
|
-
viewName:
|
|
6125
|
-
board:
|
|
6126
|
-
dialogProps:
|
|
6122
|
+
key: I.viewName,
|
|
6123
|
+
viewName: I.viewName,
|
|
6124
|
+
board: I.board,
|
|
6125
|
+
dialogProps: I.dialogProps,
|
|
6127
6126
|
onCloseDialog: c
|
|
6128
6127
|
}, null, 8, ["viewName", "board", "dialogProps"])) : (p(), F(v, {
|
|
6129
6128
|
key: 1,
|
|
@@ -6135,9 +6134,9 @@ const Ps = /* @__PURE__ */ ae({
|
|
|
6135
6134
|
U(Fs, {
|
|
6136
6135
|
ref_key: "gFormRef",
|
|
6137
6136
|
ref: m,
|
|
6138
|
-
viewName:
|
|
6139
|
-
board:
|
|
6140
|
-
dialogProps:
|
|
6137
|
+
viewName: I.viewName,
|
|
6138
|
+
board: I.board,
|
|
6139
|
+
dialogProps: I.dialogProps,
|
|
6141
6140
|
formData: G.value,
|
|
6142
6141
|
onConfirmForm: T,
|
|
6143
6142
|
onConfirmAndClose: g,
|
|
@@ -6160,7 +6159,7 @@ const Ps = /* @__PURE__ */ ae({
|
|
|
6160
6159
|
emits: ["update:isDialogVisible", "close-dialog"],
|
|
6161
6160
|
setup(o, { emit: e }) {
|
|
6162
6161
|
const { T: t } = me();
|
|
6163
|
-
|
|
6162
|
+
ea(() => Promise.resolve().then(() => qa));
|
|
6164
6163
|
const n = o, a = e, l = sn(), r = O(() => n.dialogViewInfo.view), i = O(() => n.dialogViewInfo.name), u = O(() => {
|
|
6165
6164
|
var _;
|
|
6166
6165
|
return ((_ = n.dialogViewBoard) == null ? void 0 : _.boardType) ?? "default";
|
|
@@ -6183,22 +6182,22 @@ const Ps = /* @__PURE__ */ ae({
|
|
|
6183
6182
|
a("close-dialog");
|
|
6184
6183
|
}
|
|
6185
6184
|
const T = et(), g = O(() => {
|
|
6186
|
-
const _ =
|
|
6187
|
-
let
|
|
6185
|
+
const _ = Jt(n.dialogViewInfo.link);
|
|
6186
|
+
let I = "";
|
|
6188
6187
|
if (_)
|
|
6189
|
-
|
|
6188
|
+
I = wt(n.dialogViewInfo.link ?? "", {
|
|
6190
6189
|
...s
|
|
6191
6190
|
});
|
|
6192
6191
|
else {
|
|
6193
6192
|
const M = n.dialogViewInfo.link && T.resolve({ path: n.dialogViewInfo.link, query: { ...s.value } }).href;
|
|
6194
|
-
|
|
6193
|
+
I = `${location.origin}/${M}`;
|
|
6195
6194
|
}
|
|
6196
|
-
return n.dialogViewInfo.link ?
|
|
6195
|
+
return n.dialogViewInfo.link ? I : "";
|
|
6197
6196
|
}), D = K(), G = K(!0);
|
|
6198
6197
|
function A() {
|
|
6199
6198
|
G.value = !1;
|
|
6200
6199
|
}
|
|
6201
|
-
return (_,
|
|
6200
|
+
return (_, I) => {
|
|
6202
6201
|
const M = Y("t-loading");
|
|
6203
6202
|
return p(), F(h(Yr), {
|
|
6204
6203
|
commonDialogProps: {
|
|
@@ -6252,14 +6251,14 @@ const Os = Ge(xs), Vs = { class: "g-form" }, Us = { class: "g-form-header" }, Rs
|
|
|
6252
6251
|
},
|
|
6253
6252
|
emits: ["confirm-form", "confirm-and-close", "close-dialog"],
|
|
6254
6253
|
setup(o, { expose: e, emit: t }) {
|
|
6255
|
-
const { T: n } = me(), a =
|
|
6254
|
+
const { T: n } = me(), a = eo(), l = $t(), r = $e(ga, ""), i = o, u = O(() => "280px"), d = O(() => {
|
|
6256
6255
|
var B;
|
|
6257
6256
|
return (B = i.board) == null ? void 0 : B.formItems;
|
|
6258
6257
|
}), s = K({}), { handleItemShowIf: c } = cn({ formModel: s }), m = pt();
|
|
6259
6258
|
function T() {
|
|
6260
6259
|
const B = a.getFormData(m.fullPath);
|
|
6261
6260
|
B && Object.keys(B).length && Object.keys(s.value).forEach((k) => {
|
|
6262
|
-
|
|
6261
|
+
vo(B[k]) || (s.value[k] = B[k]);
|
|
6263
6262
|
});
|
|
6264
6263
|
}
|
|
6265
6264
|
function g(B) {
|
|
@@ -6271,7 +6270,7 @@ const Os = Ge(xs), Vs = { class: "g-form" }, Us = { class: "g-form-header" }, Rs
|
|
|
6271
6270
|
ye(
|
|
6272
6271
|
() => i.formData,
|
|
6273
6272
|
() => {
|
|
6274
|
-
s.value =
|
|
6273
|
+
s.value = Qt(i.formData, d.value), T();
|
|
6275
6274
|
},
|
|
6276
6275
|
{
|
|
6277
6276
|
immediate: !0,
|
|
@@ -6284,12 +6283,12 @@ const Os = Ge(xs), Vs = { class: "g-form" }, Us = { class: "g-form-header" }, Rs
|
|
|
6284
6283
|
}), A = K({});
|
|
6285
6284
|
async function _() {
|
|
6286
6285
|
let B = [];
|
|
6287
|
-
return
|
|
6286
|
+
return I.value && (B = I == null ? void 0 : I.value.map((k) => {
|
|
6288
6287
|
const { formItem: V } = k, $ = [];
|
|
6289
6288
|
return V.required && V.keyName && $.push({
|
|
6290
6289
|
validator: () => {
|
|
6291
6290
|
const j = le(s.value, V.keyName);
|
|
6292
|
-
return
|
|
6291
|
+
return vo(j) ? {
|
|
6293
6292
|
result: !1,
|
|
6294
6293
|
message: `${V.name.trim().replace(/[::]/g, "").replace(/ {2,}/g, "")}${n.t("为必填项")}`
|
|
6295
6294
|
} : { result: !0 };
|
|
@@ -6312,13 +6311,13 @@ const Os = Ge(xs), Vs = { class: "g-form" }, Us = { class: "g-form-header" }, Rs
|
|
|
6312
6311
|
};
|
|
6313
6312
|
})), B == null ? void 0 : B.reduce((k, V) => (V.rules.length && (k[V.keyName] = V.rules), k), {});
|
|
6314
6313
|
}
|
|
6315
|
-
const
|
|
6314
|
+
const I = K(), M = K();
|
|
6316
6315
|
function v(B, k, V) {
|
|
6317
|
-
|
|
6316
|
+
I.value && I.value.forEach(($) => {
|
|
6318
6317
|
$.formItemId && k.includes($.formItemId) && $.$el.classList.contains(B) && $.setBlockShowFlag(V);
|
|
6319
6318
|
});
|
|
6320
6319
|
}
|
|
6321
|
-
|
|
6320
|
+
Ue(async () => {
|
|
6322
6321
|
A.value = await _();
|
|
6323
6322
|
});
|
|
6324
6323
|
function f(B, k) {
|
|
@@ -6333,7 +6332,7 @@ const Os = Ge(xs), Vs = { class: "g-form" }, Us = { class: "g-form-header" }, Rs
|
|
|
6333
6332
|
}
|
|
6334
6333
|
const C = () => {
|
|
6335
6334
|
var B;
|
|
6336
|
-
return (B =
|
|
6335
|
+
return (B = I == null ? void 0 : I.value) == null ? void 0 : B.flatMap((k) => {
|
|
6337
6336
|
const { formItem: V } = k;
|
|
6338
6337
|
return (V.keyName ?? "") != "" && !k.getDisableFlag() ? V.inputType !== "RE_PASSWORD" ? V.keyName : "rePassword" : [];
|
|
6339
6338
|
});
|
|
@@ -6352,8 +6351,8 @@ const Os = Ge(xs), Vs = { class: "g-form" }, Us = { class: "g-form-header" }, Rs
|
|
|
6352
6351
|
}
|
|
6353
6352
|
return null;
|
|
6354
6353
|
}
|
|
6355
|
-
function
|
|
6356
|
-
let k =
|
|
6354
|
+
function S(B) {
|
|
6355
|
+
let k = To(B);
|
|
6357
6356
|
const V = Object.keys(k);
|
|
6358
6357
|
if (d.value && V.length) {
|
|
6359
6358
|
const $ = d.value.filter((R) => R.itemType == "file" && R.fileUploadType == "path").map((R) => R.keyName);
|
|
@@ -6377,7 +6376,7 @@ const Os = Ge(xs), Vs = { class: "g-form" }, Us = { class: "g-form-header" }, Rs
|
|
|
6377
6376
|
const V = E(k);
|
|
6378
6377
|
Me.warning(V == null ? void 0 : V.message);
|
|
6379
6378
|
} else {
|
|
6380
|
-
const V =
|
|
6379
|
+
const V = S(s.value);
|
|
6381
6380
|
w("confirm-form", V, B.buttonId);
|
|
6382
6381
|
}
|
|
6383
6382
|
});
|
|
@@ -6389,7 +6388,7 @@ const Os = Ge(xs), Vs = { class: "g-form" }, Us = { class: "g-form-header" }, Rs
|
|
|
6389
6388
|
const V = E(k);
|
|
6390
6389
|
Me.warning(V == null ? void 0 : V.message);
|
|
6391
6390
|
} else {
|
|
6392
|
-
const V =
|
|
6391
|
+
const V = S(s.value);
|
|
6393
6392
|
w("confirm-and-close", V, B.buttonId);
|
|
6394
6393
|
}
|
|
6395
6394
|
});
|
|
@@ -6408,9 +6407,9 @@ const Os = Ge(xs), Vs = { class: "g-form" }, Us = { class: "g-form-header" }, Rs
|
|
|
6408
6407
|
const b = K(!1);
|
|
6409
6408
|
return e({
|
|
6410
6409
|
formOkButtonLoading: b
|
|
6411
|
-
}), O(() => l.tabMenuList),
|
|
6410
|
+
}), O(() => l.tabMenuList), ta((B, k) => {
|
|
6412
6411
|
g(k.fullPath);
|
|
6413
|
-
}),
|
|
6412
|
+
}), oa((B, k) => {
|
|
6414
6413
|
g(k.fullPath);
|
|
6415
6414
|
}), (B, k) => {
|
|
6416
6415
|
const V = Y("t-button"), $ = Y("t-space");
|
|
@@ -6483,11 +6482,11 @@ const Os = Ge(xs), Vs = { class: "g-form" }, Us = { class: "g-form-header" }, Rs
|
|
|
6483
6482
|
blockType: j.itemType,
|
|
6484
6483
|
showIf: h(c)(j.showIf),
|
|
6485
6484
|
onBlockShowIfChange: v
|
|
6486
|
-
}, null, 8, ["name", "blockType", "showIf"])) : (p(), F(
|
|
6485
|
+
}, null, 8, ["name", "blockType", "showIf"])) : (p(), F(bo, {
|
|
6487
6486
|
key: 1,
|
|
6488
6487
|
ref_for: !0,
|
|
6489
6488
|
ref_key: "formItemRef",
|
|
6490
|
-
ref:
|
|
6489
|
+
ref: I,
|
|
6491
6490
|
formModel: s.value,
|
|
6492
6491
|
formItem: j,
|
|
6493
6492
|
viewName: B.viewName,
|
|
@@ -6511,7 +6510,7 @@ const zs = /* @__PURE__ */ st(js, [["__scopeId", "data-v-bfa81006"]]), Hs = Ge(z
|
|
|
6511
6510
|
const { T: e } = me(), t = o;
|
|
6512
6511
|
function n(u) {
|
|
6513
6512
|
var s, c;
|
|
6514
|
-
const d =
|
|
6513
|
+
const d = To(u);
|
|
6515
6514
|
if (((s = t.button) == null ? void 0 : s.fileUploadType) == "file") {
|
|
6516
6515
|
if (d.length && d.every((m) => m.status == "done")) {
|
|
6517
6516
|
const { response: m, filename: T, url: g } = d[0];
|
|
@@ -6601,11 +6600,11 @@ const zs = /* @__PURE__ */ st(js, [["__scopeId", "data-v-bfa81006"]]), Hs = Ge(z
|
|
|
6601
6600
|
}), d = O(() => {
|
|
6602
6601
|
var v;
|
|
6603
6602
|
return _t((v = n.headerInfo.searchBar) == null ? void 0 : v.filters) ? n.headerInfo.searchBar.filters.filter((f) => f.itemType === "text_input") : [];
|
|
6604
|
-
}), s = O(() => u.value.length ? u.value.filter((v) => v.itemType === "selector").map((v) => v.keyName) : []), c =
|
|
6603
|
+
}), s = O(() => u.value.length ? u.value.filter((v) => v.itemType === "selector").map((v) => v.keyName) : []), c = Qt({}, i.value, !0), m = K(xe(c));
|
|
6605
6604
|
let T = K(0);
|
|
6606
6605
|
function g(v, f) {
|
|
6607
6606
|
f ?? !1 ? Ye(m.value, v, f) : s.value.includes(v) ? Ye(m.value, v, "all") : Ye(m.value, v, f), T.value && clearTimeout(T.value), T.value = setTimeout(() => {
|
|
6608
|
-
const y =
|
|
6607
|
+
const y = xe(m.value);
|
|
6609
6608
|
Object.keys(y).forEach((C) => {
|
|
6610
6609
|
s.value.includes(C) && y[C] == "all" && delete y[C], (y[C] === "" || y[C] === null) && delete y[C];
|
|
6611
6610
|
}), a("header-filter-change", y);
|
|
@@ -6619,8 +6618,8 @@ const zs = /* @__PURE__ */ st(js, [["__scopeId", "data-v-bfa81006"]]), Hs = Ge(z
|
|
|
6619
6618
|
} : {};
|
|
6620
6619
|
}
|
|
6621
6620
|
function G() {
|
|
6622
|
-
m.value =
|
|
6623
|
-
const v =
|
|
6621
|
+
m.value = xe(Qt({}, i.value, !0));
|
|
6622
|
+
const v = xe(m.value);
|
|
6624
6623
|
Object.keys(v).forEach((f) => {
|
|
6625
6624
|
s.value.includes(f) && v[f] == "all" && delete v[f], (v[f] === "" || v[f] === null) && delete v[f];
|
|
6626
6625
|
}), a("header-filter-change", v);
|
|
@@ -6633,9 +6632,9 @@ const zs = /* @__PURE__ */ st(js, [["__scopeId", "data-v-bfa81006"]]), Hs = Ge(z
|
|
|
6633
6632
|
function _(v) {
|
|
6634
6633
|
a("display-columns-change", v);
|
|
6635
6634
|
}
|
|
6636
|
-
const
|
|
6637
|
-
return
|
|
6638
|
-
const v = M.getFormData(
|
|
6635
|
+
const I = pt(), M = eo();
|
|
6636
|
+
return Ue(() => {
|
|
6637
|
+
const v = M.getFormData(I.fullPath);
|
|
6639
6638
|
v != null && v.formData && (m.value = {
|
|
6640
6639
|
...v.formData
|
|
6641
6640
|
}, Object.keys(m.value).length && a("header-filter-change", m.value));
|
|
@@ -6666,7 +6665,7 @@ const zs = /* @__PURE__ */ st(js, [["__scopeId", "data-v-bfa81006"]]), Hs = Ge(z
|
|
|
6666
6665
|
}, {
|
|
6667
6666
|
default: L(() => [(p(!0), H(se, null, _e(u.value, (x, P) => (p(), H("div", {
|
|
6668
6667
|
key: P
|
|
6669
|
-
}, [U(
|
|
6668
|
+
}, [U(bo, {
|
|
6670
6669
|
formItem: {
|
|
6671
6670
|
...x,
|
|
6672
6671
|
required: !1
|
|
@@ -6683,7 +6682,7 @@ const zs = /* @__PURE__ */ st(js, [["__scopeId", "data-v-bfa81006"]]), Hs = Ge(z
|
|
|
6683
6682
|
}, {
|
|
6684
6683
|
default: L(() => [(p(!0), H(se, null, _e(d.value, (x, P) => (p(), H("div", {
|
|
6685
6684
|
key: P
|
|
6686
|
-
}, [U(
|
|
6685
|
+
}, [U(bo, {
|
|
6687
6686
|
formItem: x,
|
|
6688
6687
|
formModel: m.value,
|
|
6689
6688
|
viewName: v.viewName,
|
|
@@ -6720,14 +6719,14 @@ const qs = /* @__PURE__ */ st(Ys, [["__scopeId", "data-v-91d13d54"]]), Zs = Ge(q
|
|
|
6720
6719
|
const { T: t } = me(), n = `${Ut}__form`, a = o, l = e, r = O(() => {
|
|
6721
6720
|
var s;
|
|
6722
6721
|
return (s = a.col) == null ? void 0 : s.formItems;
|
|
6723
|
-
}), i = O(() =>
|
|
6722
|
+
}), i = O(() => Qt(a.row, r.value));
|
|
6724
6723
|
function u(s, c) {
|
|
6725
6724
|
Ye(i.value, s, c);
|
|
6726
6725
|
}
|
|
6727
6726
|
function d(s, c) {
|
|
6728
6727
|
l("blur", s, i.value);
|
|
6729
6728
|
}
|
|
6730
|
-
return Tt(
|
|
6729
|
+
return Tt(Mo, {}), (s, c) => (p(), H("div", {
|
|
6731
6730
|
class: Z(`${n}`)
|
|
6732
6731
|
}, [
|
|
6733
6732
|
(p(!0), H(se, null, _e(r.value, (m) => {
|
|
@@ -6735,7 +6734,7 @@ const qs = /* @__PURE__ */ st(Ys, [["__scopeId", "data-v-91d13d54"]]), Zs = Ge(q
|
|
|
6735
6734
|
return p(), H("div", {
|
|
6736
6735
|
key: m.keyName
|
|
6737
6736
|
}, [
|
|
6738
|
-
m.itemType === "label" ? (p(), F(
|
|
6737
|
+
m.itemType === "label" ? (p(), F(Ia, {
|
|
6739
6738
|
key: 0,
|
|
6740
6739
|
modelValue: h(le)(i.value, s.col.colKey),
|
|
6741
6740
|
formItem: m,
|
|
@@ -6751,7 +6750,7 @@ const qs = /* @__PURE__ */ st(Ys, [["__scopeId", "data-v-91d13d54"]]), Zs = Ge(q
|
|
|
6751
6750
|
"onUpdate:modelValue": c[0] || (c[0] = (g) => s.col.colKey && u(s.col.colKey, g)),
|
|
6752
6751
|
"onBlur:modelValue": (g) => d(m)
|
|
6753
6752
|
}, null, 8, ["formItem", "viewName", "inputType", "originValue", "modelValue", "onBlur:modelValue"])) : X("", !0),
|
|
6754
|
-
m.itemType === "check_box" ? (p(), F(
|
|
6753
|
+
m.itemType === "check_box" ? (p(), F(Sa, {
|
|
6755
6754
|
key: 2,
|
|
6756
6755
|
formItem: m,
|
|
6757
6756
|
viewName: s.viewName,
|
|
@@ -6830,7 +6829,7 @@ const qs = /* @__PURE__ */ st(Ys, [["__scopeId", "data-v-91d13d54"]]), Zs = Ge(q
|
|
|
6830
6829
|
], 2));
|
|
6831
6830
|
}
|
|
6832
6831
|
});
|
|
6833
|
-
function
|
|
6832
|
+
function jo(o) {
|
|
6834
6833
|
return o === "" ? o : o === "true" || o == "1";
|
|
6835
6834
|
}
|
|
6836
6835
|
function Xs(o, e) {
|
|
@@ -6848,7 +6847,7 @@ function ot(o) {
|
|
|
6848
6847
|
if (typeof o != "string")
|
|
6849
6848
|
throw new TypeError("Path must be a string. Received " + JSON.stringify(o));
|
|
6850
6849
|
}
|
|
6851
|
-
function
|
|
6850
|
+
function Un(o, e) {
|
|
6852
6851
|
for (var t = "", n = 0, a = -1, l = 0, r, i = 0; i <= o.length; ++i) {
|
|
6853
6852
|
if (i < o.length)
|
|
6854
6853
|
r = o.charCodeAt(i);
|
|
@@ -6892,13 +6891,13 @@ var Bt = {
|
|
|
6892
6891
|
var l;
|
|
6893
6892
|
a >= 0 ? l = arguments[a] : (n === void 0 && (n = process.cwd()), l = n), ot(l), l.length !== 0 && (e = l + "/" + e, t = l.charCodeAt(0) === 47);
|
|
6894
6893
|
}
|
|
6895
|
-
return e =
|
|
6894
|
+
return e = Un(e, !t), t ? e.length > 0 ? "/" + e : "/" : e.length > 0 ? e : ".";
|
|
6896
6895
|
},
|
|
6897
6896
|
normalize: function(e) {
|
|
6898
6897
|
if (ot(e), e.length === 0)
|
|
6899
6898
|
return ".";
|
|
6900
6899
|
var t = e.charCodeAt(0) === 47, n = e.charCodeAt(e.length - 1) === 47;
|
|
6901
|
-
return e =
|
|
6900
|
+
return e = Un(e, !t), e.length === 0 && !t && (e = "."), e.length > 0 && n && (e += "/"), t ? "/" + e : e;
|
|
6902
6901
|
},
|
|
6903
6902
|
isAbsolute: function(e) {
|
|
6904
6903
|
return ot(e), e.length > 0 && e.charCodeAt(0) === 47;
|
|
@@ -7078,12 +7077,12 @@ function oi(o, {
|
|
|
7078
7077
|
throw new RangeError(
|
|
7079
7078
|
"Canvas has no associated contexts (try calling getContext or newPage first)"
|
|
7080
7079
|
);
|
|
7081
|
-
let _,
|
|
7080
|
+
let _, I, M = e.replace(/{(\d*)}/g, (f, y) => (I = !0, y = parseInt(y, 10), _ = isFinite(y) ? y : isFinite(_) ? _ : -1, "{}")), v = a > 0 ? a - 1 : a < 0 ? A + a : void 0;
|
|
7082
7081
|
if (isFinite(v) && v < 0 || v >= A)
|
|
7083
7082
|
throw new RangeError(
|
|
7084
7083
|
A == 1 ? `Canvas only has a ‘page 1’ (${v} is out of bounds)` : `Canvas has pages 1–${A} (${v} is out of bounds)`
|
|
7085
7084
|
);
|
|
7086
|
-
if (o = isFinite(v) ? [o[v]] :
|
|
7085
|
+
if (o = isFinite(v) ? [o[v]] : I || D == "pdf" ? o : o.slice(-1), l === void 0)
|
|
7087
7086
|
l = 0.92;
|
|
7088
7087
|
else if (typeof l != "number" || !isFinite(l) || l < 0 || l > 1)
|
|
7089
7088
|
throw new TypeError(
|
|
@@ -7108,9 +7107,9 @@ function oi(o, {
|
|
|
7108
7107
|
archive: T
|
|
7109
7108
|
};
|
|
7110
7109
|
}
|
|
7111
|
-
class
|
|
7110
|
+
class Io {
|
|
7112
7111
|
static for(e) {
|
|
7113
|
-
return new
|
|
7112
|
+
return new Io().append(e).get();
|
|
7114
7113
|
}
|
|
7115
7114
|
constructor() {
|
|
7116
7115
|
this.crc = -1;
|
|
@@ -7124,7 +7123,7 @@ class Co {
|
|
|
7124
7123
|
return this.crc = t, this;
|
|
7125
7124
|
}
|
|
7126
7125
|
}
|
|
7127
|
-
|
|
7126
|
+
Io.prototype.table = (() => {
|
|
7128
7127
|
var o, e, t, n = [];
|
|
7129
7128
|
for (o = 0; o < 256; o++) {
|
|
7130
7129
|
for (t = o, e = 0; e < 8; e++)
|
|
@@ -7133,7 +7132,7 @@ Co.prototype.table = (() => {
|
|
|
7133
7132
|
}
|
|
7134
7133
|
return n;
|
|
7135
7134
|
})();
|
|
7136
|
-
function
|
|
7135
|
+
function zo(o) {
|
|
7137
7136
|
let e = new Uint8Array(o), t = new DataView(e.buffer), n = {
|
|
7138
7137
|
array: e,
|
|
7139
7138
|
view: t,
|
|
@@ -7165,16 +7164,16 @@ class So {
|
|
|
7165
7164
|
}), this.add(e);
|
|
7166
7165
|
}
|
|
7167
7166
|
async add(e, t) {
|
|
7168
|
-
let n = !t, a = So.encoder.encode(`${this.directory}/${n ? "" : e}`), l = new Uint8Array(n ? 0 : await t.arrayBuffer()), r = 30 + a.length, i = r + l.length, u = 16, { offset: d } = this, s =
|
|
7167
|
+
let n = !t, a = So.encoder.encode(`${this.directory}/${n ? "" : e}`), l = new Uint8Array(n ? 0 : await t.arrayBuffer()), r = 30 + a.length, i = r + l.length, u = 16, { offset: d } = this, s = zo(26).set32(0, 134742036).set16(6, this.time).set16(8, this.date).set32(10, Io.for(l)).set32(14, l.length).set32(18, l.length).set16(22, a.length);
|
|
7169
7168
|
d += r;
|
|
7170
|
-
let c =
|
|
7169
|
+
let c = zo(r + l.length + u).set32(0, 67324752).bytes(4, s.array).bytes(30, a).bytes(r, l);
|
|
7171
7170
|
d += l.length, c.set32(i, 134695760).bytes(i + 4, s.array.slice(10, 22)), d += u, this.files.push({ offset: d, folder: n, name: a, header: s, payload: c }), this.offset = d;
|
|
7172
7171
|
}
|
|
7173
7172
|
toBuffer() {
|
|
7174
7173
|
let e = this.files.reduce(
|
|
7175
7174
|
(c, { name: m }) => 46 + m.length + c,
|
|
7176
7175
|
0
|
|
7177
|
-
), t =
|
|
7176
|
+
), t = zo(e + 22), n = 0;
|
|
7178
7177
|
for (var { offset: a, name: l, header: r, folder: i } of this.files)
|
|
7179
7178
|
t.set32(n, 33639248).set16(n + 4, 20).bytes(n + 6, r.array).set8(n + 38, i ? 16 : 0).set32(n + 42, a).bytes(n + 46, l), n += 46 + l.length;
|
|
7180
7179
|
t.set32(n, 101010256).set16(n + 8, this.files.length).set16(n + 10, this.files.length).set32(n + 12, e).set32(n + 16, this.offset);
|
|
@@ -7212,7 +7211,7 @@ const dn = (o, e, t, n) => {
|
|
|
7212
7211
|
return n.canvas;
|
|
7213
7212
|
let a = document.createElement("canvas"), l = a.getContext("2d"), r = n.canvas ? n.canvas : n;
|
|
7214
7213
|
return a.width = r.width * e, a.height = r.height * e, t && (l.fillStyle = t, l.fillRect(0, 0, a.width, a.height)), l.scale(e, e), l.drawImage(r, 0, 0), a;
|
|
7215
|
-
}), si = { asBuffer: ni, asDownload: ai, asZipDownload: li, atScale: ri, options: oi }, { asBuffer:
|
|
7214
|
+
}), si = { asBuffer: ni, asDownload: ai, asZipDownload: li, atScale: ri, options: oi }, { asBuffer: Ho, asDownload: ii, asZipDownload: ui, atScale: Go, options: Ko } = si, Rn = Symbol.for("toDataURL"), ci = (o) => new Promise(
|
|
7216
7215
|
(e, t) => Object.assign(new Va(), {
|
|
7217
7216
|
crossOrigin: "Anonymous",
|
|
7218
7217
|
onload: e,
|
|
@@ -7229,8 +7228,8 @@ let di = class {
|
|
|
7229
7228
|
enumerable: !0
|
|
7230
7229
|
});
|
|
7231
7230
|
for (var [l, r] of Object.entries({
|
|
7232
|
-
png: () =>
|
|
7233
|
-
jpg: () =>
|
|
7231
|
+
png: () => Ho(n, "image/png"),
|
|
7232
|
+
jpg: () => Ho(n, "image/jpeg"),
|
|
7234
7233
|
pages: () => a.concat(n).map((i) => i.getContext("2d"))
|
|
7235
7234
|
}))
|
|
7236
7235
|
Object.defineProperty(n, l, { get: r });
|
|
@@ -7248,7 +7247,7 @@ let di = class {
|
|
|
7248
7247
|
},
|
|
7249
7248
|
saveAs(i, u) {
|
|
7250
7249
|
u = typeof u == "number" ? { quality: u } : u;
|
|
7251
|
-
let d =
|
|
7250
|
+
let d = Ko(this.pages, { filename: i, ...u }), { pattern: s, padding: c, mime: m, quality: T, matte: g, density: D, archive: G } = d, A = Go(d.pages, D);
|
|
7252
7251
|
return c == null ? ii(A[0], m, T, g, i) : ui(
|
|
7253
7252
|
A,
|
|
7254
7253
|
m,
|
|
@@ -7261,13 +7260,13 @@ let di = class {
|
|
|
7261
7260
|
},
|
|
7262
7261
|
toBuffer(i = "png", u = {}) {
|
|
7263
7262
|
u = typeof u == "number" ? { quality: u } : u;
|
|
7264
|
-
let d =
|
|
7265
|
-
return
|
|
7263
|
+
let d = Ko(this.pages, { extension: i, ...u }), { mime: s, quality: c, matte: m, pages: T, density: g } = d, D = Go(T, g, m)[0];
|
|
7264
|
+
return Ho(D, s, c, m);
|
|
7266
7265
|
},
|
|
7267
|
-
[
|
|
7266
|
+
[Rn]: n.toDataURL.bind(n),
|
|
7268
7267
|
toDataURL(i = "png", u = {}) {
|
|
7269
7268
|
u = typeof u == "number" ? { quality: u } : u;
|
|
7270
|
-
let d =
|
|
7269
|
+
let d = Ko(this.pages, { extension: i, ...u }), { mime: s, quality: c, matte: m, pages: T, density: g } = d, D = Go(T, g, m)[0], G = D[D === n ? Rn : "toDataURL"](s, c);
|
|
7271
7270
|
return Promise.resolve(G);
|
|
7272
7271
|
}
|
|
7273
7272
|
});
|
|
@@ -7295,14 +7294,14 @@ const {
|
|
|
7295
7294
|
DOMMatrix: vi,
|
|
7296
7295
|
DOMRect: yi,
|
|
7297
7296
|
DOMPoint: bi
|
|
7298
|
-
},
|
|
7297
|
+
}, Wt = (o, e, t = {}, n = t) => {
|
|
7299
7298
|
if (Array.isArray(e))
|
|
7300
|
-
e.forEach((a) =>
|
|
7299
|
+
e.forEach((a) => Wt(o, a, t, n));
|
|
7301
7300
|
else if (typeof e == "function")
|
|
7302
|
-
e(o, t, n,
|
|
7301
|
+
e(o, t, n, Wt);
|
|
7303
7302
|
else {
|
|
7304
7303
|
const a = Object.keys(e)[0];
|
|
7305
|
-
Array.isArray(e[a]) ? (n[a] = {},
|
|
7304
|
+
Array.isArray(e[a]) ? (n[a] = {}, Wt(o, e[a], t, n[a])) : n[a] = e[a](o, t, n, Wt);
|
|
7306
7305
|
}
|
|
7307
7306
|
return t;
|
|
7308
7307
|
}, Ft = (o, e) => (t, n, a, l) => {
|
|
@@ -7320,7 +7319,7 @@ const {
|
|
|
7320
7319
|
}, Ti = (o) => ({
|
|
7321
7320
|
data: o,
|
|
7322
7321
|
pos: 0
|
|
7323
|
-
}), Xe = () => (o) => o.data[o.pos++], Ua = (o = 0) => (e) => e.data[e.pos + o], rt = (o) => (e) => e.data.subarray(e.pos, e.pos += o),
|
|
7322
|
+
}), Xe = () => (o) => o.data[o.pos++], Ua = (o = 0) => (e) => e.data[e.pos + o], rt = (o) => (e) => e.data.subarray(e.pos, e.pos += o), Lo = (o) => (e) => e.data.subarray(e.pos, e.pos + o), tn = (o) => (e) => Array.from(rt(o)(e)).map((t) => String.fromCharCode(t)).join(""), Nt = (o) => (e) => {
|
|
7324
7323
|
const t = rt(2)(e);
|
|
7325
7324
|
return o ? (t[1] << 8) + t[0] : (t[0] << 8) + t[1];
|
|
7326
7325
|
}, Ra = (o, e) => (t, n, a) => {
|
|
@@ -7341,7 +7340,7 @@ const {
|
|
|
7341
7340
|
return i.length ? l[r] = ki(n, i.index, i.length) : l[r] = n[i.index], l;
|
|
7342
7341
|
}, {});
|
|
7343
7342
|
};
|
|
7344
|
-
var
|
|
7343
|
+
var No = {
|
|
7345
7344
|
blocks: (o) => {
|
|
7346
7345
|
const t = [], n = o.data.length;
|
|
7347
7346
|
for (var a = 0, l = Xe()(o); l !== 0 && l; l = Xe()(o)) {
|
|
@@ -7377,7 +7376,7 @@ const Mi = Ft(
|
|
|
7377
7376
|
]
|
|
7378
7377
|
},
|
|
7379
7378
|
(o) => {
|
|
7380
|
-
var e =
|
|
7379
|
+
var e = Lo(2)(o);
|
|
7381
7380
|
return e[0] === 33 && e[1] === 249;
|
|
7382
7381
|
}
|
|
7383
7382
|
), Ci = Ft(
|
|
@@ -7407,11 +7406,11 @@ const Mi = Ft(
|
|
|
7407
7406
|
},
|
|
7408
7407
|
(o, e, t) => t.descriptor.lct.exists
|
|
7409
7408
|
),
|
|
7410
|
-
{ data: [{ minCodeSize: Xe() },
|
|
7409
|
+
{ data: [{ minCodeSize: Xe() }, No] }
|
|
7411
7410
|
]
|
|
7412
7411
|
},
|
|
7413
7412
|
(o) => Ua()(o) === 44
|
|
7414
|
-
),
|
|
7413
|
+
), Ii = Ft(
|
|
7415
7414
|
{
|
|
7416
7415
|
text: [
|
|
7417
7416
|
{ codes: rt(2) },
|
|
@@ -7419,32 +7418,32 @@ const Mi = Ft(
|
|
|
7419
7418
|
{
|
|
7420
7419
|
preData: (o, e, t) => rt(t.text.blockSize)(o)
|
|
7421
7420
|
},
|
|
7422
|
-
|
|
7421
|
+
No
|
|
7423
7422
|
]
|
|
7424
7423
|
},
|
|
7425
7424
|
(o) => {
|
|
7426
|
-
var e =
|
|
7425
|
+
var e = Lo(2)(o);
|
|
7427
7426
|
return e[0] === 33 && e[1] === 1;
|
|
7428
7427
|
}
|
|
7429
|
-
),
|
|
7428
|
+
), Si = Ft(
|
|
7430
7429
|
{
|
|
7431
7430
|
application: [
|
|
7432
7431
|
{ codes: rt(2) },
|
|
7433
7432
|
{ blockSize: Xe() },
|
|
7434
7433
|
{ id: (o, e, t) => tn(t.blockSize)(o) },
|
|
7435
|
-
|
|
7434
|
+
No
|
|
7436
7435
|
]
|
|
7437
7436
|
},
|
|
7438
7437
|
(o) => {
|
|
7439
|
-
var e =
|
|
7438
|
+
var e = Lo(2)(o);
|
|
7440
7439
|
return e[0] === 33 && e[1] === 255;
|
|
7441
7440
|
}
|
|
7442
7441
|
), Li = Ft(
|
|
7443
7442
|
{
|
|
7444
|
-
comment: [{ codes: rt(2) },
|
|
7443
|
+
comment: [{ codes: rt(2) }, No]
|
|
7445
7444
|
},
|
|
7446
7445
|
(o) => {
|
|
7447
|
-
var e =
|
|
7446
|
+
var e = Lo(2)(o);
|
|
7448
7447
|
return e[0] === 33 && e[1] === 254;
|
|
7449
7448
|
}
|
|
7450
7449
|
), Ni = [
|
|
@@ -7477,7 +7476,7 @@ const Mi = Ft(
|
|
|
7477
7476
|
// content frames
|
|
7478
7477
|
{
|
|
7479
7478
|
frames: _i(
|
|
7480
|
-
[Mi,
|
|
7479
|
+
[Mi, Si, Li, Ci, Ii],
|
|
7481
7480
|
(o) => {
|
|
7482
7481
|
var e = Ua()(o);
|
|
7483
7482
|
return e === 33 || e === 44;
|
|
@@ -7496,7 +7495,7 @@ const Mi = Ft(
|
|
|
7496
7495
|
}, Ei = (o, e, t) => {
|
|
7497
7496
|
const l = t;
|
|
7498
7497
|
var r, i, u, d, s, c, m, v, T, g, M, D, f, y, x, C;
|
|
7499
|
-
const G = new Array(t), A = new Array(4096), _ = new Array(4096),
|
|
7498
|
+
const G = new Array(t), A = new Array(4096), _ = new Array(4096), I = new Array(4096 + 1);
|
|
7500
7499
|
for (D = o, i = 1 << D, s = i + 1, r = i + 2, m = -1, d = D + 1, u = (1 << d) - 1, T = 0; T < i; T++)
|
|
7501
7500
|
A[T] = 0, _[T] = T;
|
|
7502
7501
|
var M, v, f, y, C, x;
|
|
@@ -7513,21 +7512,21 @@ const Mi = Ft(
|
|
|
7513
7512
|
continue;
|
|
7514
7513
|
}
|
|
7515
7514
|
if (m == -1) {
|
|
7516
|
-
|
|
7515
|
+
I[y++] = _[T], m = T, f = T;
|
|
7517
7516
|
continue;
|
|
7518
7517
|
}
|
|
7519
|
-
for (c = T, T == r && (
|
|
7520
|
-
|
|
7521
|
-
f = _[T] & 255,
|
|
7518
|
+
for (c = T, T == r && (I[y++] = f, T = m); T > i; )
|
|
7519
|
+
I[y++] = _[T], T = A[T];
|
|
7520
|
+
f = _[T] & 255, I[y++] = f, r < 4096 && (A[r] = m, _[r] = f, r++, !(r & u) && r < 4096 && (d++, u += r)), m = c;
|
|
7522
7521
|
}
|
|
7523
|
-
y--, G[C++] =
|
|
7522
|
+
y--, G[C++] = I[y], g++;
|
|
7524
7523
|
}
|
|
7525
7524
|
for (g = C; g < l; g++)
|
|
7526
7525
|
G[g] = 0;
|
|
7527
7526
|
return G;
|
|
7528
7527
|
}, Ai = (o) => {
|
|
7529
7528
|
const e = new Uint8Array(o);
|
|
7530
|
-
return
|
|
7529
|
+
return Wt(Ti(e), Ni);
|
|
7531
7530
|
}, Bi = (o) => {
|
|
7532
7531
|
const e = o.pixels.length, t = new Uint8ClampedArray(e * 4);
|
|
7533
7532
|
for (var n = 0; n < e; n++) {
|
|
@@ -7757,8 +7756,8 @@ class yt {
|
|
|
7757
7756
|
const D = be.getErrorCorrectPolynomial(g), A = new Rt(r[u], D.getLength() - 1).mod(D);
|
|
7758
7757
|
i[u] = new Array(D.getLength() - 1);
|
|
7759
7758
|
for (var d = 0; d < i[u].length; d++) {
|
|
7760
|
-
const
|
|
7761
|
-
i[u][d] =
|
|
7759
|
+
const I = d + A.getLength() - i[u].length;
|
|
7760
|
+
i[u][d] = I >= 0 ? A.get(I) : 0;
|
|
7762
7761
|
}
|
|
7763
7762
|
}
|
|
7764
7763
|
let s = 0;
|
|
@@ -8271,7 +8270,7 @@ const nt = [
|
|
|
8271
8270
|
[2809, 2213, 1579, 1219],
|
|
8272
8271
|
[2953, 2331, 1663, 1273]
|
|
8273
8272
|
];
|
|
8274
|
-
var Ui = 100, Fe = 256,
|
|
8273
|
+
var Ui = 100, Fe = 256, jn = Fe - 1, gt = 4, za = 16, mn = 1 << za, Ha = 10, pn = 10, Ri = mn >> pn, ji = mn << Ha - pn, zi = Fe >> 3, on = 6, Hi = 1 << on, Gi = zi * Hi, Ki = 30, Ga = 10, io = 1 << Ga, Ka = 8, zn = 1 << Ka, Wi = Ga + Ka, Vt = 1 << Wi, Hn = 499, Gn = 491, Kn = 487, Wa = 503, Yi = 3 * Wa;
|
|
8275
8274
|
function qi(o, e) {
|
|
8276
8275
|
var t, n, a, l, r;
|
|
8277
8276
|
function i() {
|
|
@@ -8284,57 +8283,57 @@ function qi(o, e) {
|
|
|
8284
8283
|
for (var A = 0; A < Fe; A++)
|
|
8285
8284
|
t[A][0] >>= gt, t[A][1] >>= gt, t[A][2] >>= gt, t[A][3] = A;
|
|
8286
8285
|
}
|
|
8287
|
-
function d(A, _,
|
|
8288
|
-
t[_][0] -= A * (t[_][0] -
|
|
8286
|
+
function d(A, _, I, M, v) {
|
|
8287
|
+
t[_][0] -= A * (t[_][0] - I) / io, t[_][1] -= A * (t[_][1] - M) / io, t[_][2] -= A * (t[_][2] - v) / io;
|
|
8289
8288
|
}
|
|
8290
|
-
function s(A, _,
|
|
8289
|
+
function s(A, _, I, M, v) {
|
|
8291
8290
|
for (var f = Math.abs(_ - A), y = Math.min(_ + A, Fe), C = _ + 1, x = _ - 1, P = 1, w, E; C < y || x > f; )
|
|
8292
|
-
E = r[P++], C < y && (w = t[C++], w[0] -= E * (w[0] -
|
|
8291
|
+
E = r[P++], C < y && (w = t[C++], w[0] -= E * (w[0] - I) / Vt, w[1] -= E * (w[1] - M) / Vt, w[2] -= E * (w[2] - v) / Vt), x > f && (w = t[x--], w[0] -= E * (w[0] - I) / Vt, w[1] -= E * (w[1] - M) / Vt, w[2] -= E * (w[2] - v) / Vt);
|
|
8293
8292
|
}
|
|
8294
|
-
function c(A, _,
|
|
8293
|
+
function c(A, _, I) {
|
|
8295
8294
|
var M = 2147483647, v = M, f = -1, y = f, C, x, P, w, E;
|
|
8296
8295
|
for (C = 0; C < Fe; C++)
|
|
8297
|
-
x = t[C], P = Math.abs(x[0] - A) + Math.abs(x[1] - _) + Math.abs(x[2] -
|
|
8296
|
+
x = t[C], P = Math.abs(x[0] - A) + Math.abs(x[1] - _) + Math.abs(x[2] - I), P < M && (M = P, f = C), w = P - (a[C] >> za - gt), w < v && (v = w, y = C), E = l[C] >> pn, l[C] -= E, a[C] += E << Ha;
|
|
8298
8297
|
return l[f] += Ri, a[f] -= ji, y;
|
|
8299
8298
|
}
|
|
8300
8299
|
function m() {
|
|
8301
|
-
var A, _,
|
|
8300
|
+
var A, _, I, M, v, f, y = 0, C = 0;
|
|
8302
8301
|
for (A = 0; A < Fe; A++) {
|
|
8303
|
-
for (
|
|
8302
|
+
for (I = t[A], v = A, f = I[1], _ = A + 1; _ < Fe; _++)
|
|
8304
8303
|
M = t[_], M[1] < f && (v = _, f = M[1]);
|
|
8305
|
-
if (M = t[v], A != v && (_ = M[0], M[0] =
|
|
8304
|
+
if (M = t[v], A != v && (_ = M[0], M[0] = I[0], I[0] = _, _ = M[1], M[1] = I[1], I[1] = _, _ = M[2], M[2] = I[2], I[2] = _, _ = M[3], M[3] = I[3], I[3] = _), f != y) {
|
|
8306
8305
|
for (n[y] = C + A >> 1, _ = y + 1; _ < f; _++)
|
|
8307
8306
|
n[_] = A;
|
|
8308
8307
|
y = f, C = A;
|
|
8309
8308
|
}
|
|
8310
8309
|
}
|
|
8311
|
-
for (n[y] = C +
|
|
8312
|
-
n[_] =
|
|
8310
|
+
for (n[y] = C + jn >> 1, _ = y + 1; _ < 256; _++)
|
|
8311
|
+
n[_] = jn;
|
|
8313
8312
|
}
|
|
8314
|
-
function T(A, _,
|
|
8313
|
+
function T(A, _, I) {
|
|
8315
8314
|
for (var M, v, f, y = 1e3, C = -1, x = n[_], P = x - 1; x < Fe || P >= 0; )
|
|
8316
|
-
x < Fe && (v = t[x], f = v[1] - _, f >= y ? x = Fe : (x++, f < 0 && (f = -f), M = v[0] - A, M < 0 && (M = -M), f += M, f < y && (M = v[2] -
|
|
8315
|
+
x < Fe && (v = t[x], f = v[1] - _, f >= y ? x = Fe : (x++, f < 0 && (f = -f), M = v[0] - A, M < 0 && (M = -M), f += M, f < y && (M = v[2] - I, M < 0 && (M = -M), f += M, f < y && (y = f, C = v[3])))), P >= 0 && (v = t[P], f = _ - v[1], f >= y ? P = -1 : (P--, f < 0 && (f = -f), M = v[0] - A, M < 0 && (M = -M), f += M, f < y && (M = v[2] - I, M < 0 && (M = -M), f += M, f < y && (y = f, C = v[3]))));
|
|
8317
8316
|
return C;
|
|
8318
8317
|
}
|
|
8319
8318
|
function g() {
|
|
8320
|
-
var A, _ = o.length,
|
|
8319
|
+
var A, _ = o.length, I = 30 + (e - 1) / 3, M = _ / (3 * e), v = ~~(M / Ui), f = io, y = Gi, C = y >> on;
|
|
8321
8320
|
for (C <= 1 && (C = 0), A = 0; A < C; A++)
|
|
8322
|
-
r[A] = f * ((C * C - A * A) *
|
|
8321
|
+
r[A] = f * ((C * C - A * A) * zn / (C * C));
|
|
8323
8322
|
var x;
|
|
8324
|
-
_ < Yi ? (e = 1, x = 3) : _ %
|
|
8325
|
-
var P, w, E,
|
|
8323
|
+
_ < Yi ? (e = 1, x = 3) : _ % Hn !== 0 ? x = 3 * Hn : _ % Gn !== 0 ? x = 3 * Gn : _ % Kn !== 0 ? x = 3 * Kn : x = 3 * Wa;
|
|
8324
|
+
var P, w, E, S, N = 0;
|
|
8326
8325
|
for (A = 0; A < M; )
|
|
8327
|
-
if (P = (o[N] & 255) << gt, w = (o[N + 1] & 255) << gt, E = (o[N + 2] & 255) << gt,
|
|
8328
|
-
for (f -= f /
|
|
8329
|
-
r[
|
|
8326
|
+
if (P = (o[N] & 255) << gt, w = (o[N + 1] & 255) << gt, E = (o[N + 2] & 255) << gt, S = c(P, w, E), d(f, S, P, w, E), C !== 0 && s(C, S, P, w, E), N += x, N >= _ && (N -= _), A++, v === 0 && (v = 1), A % v === 0)
|
|
8327
|
+
for (f -= f / I, y -= y / Ki, C = y >> on, C <= 1 && (C = 0), S = 0; S < C; S++)
|
|
8328
|
+
r[S] = f * ((C * C - S * S) * zn / (C * C));
|
|
8330
8329
|
}
|
|
8331
8330
|
function D() {
|
|
8332
8331
|
i(), g(), u(), m();
|
|
8333
8332
|
}
|
|
8334
8333
|
this.buildColormap = D;
|
|
8335
8334
|
function G() {
|
|
8336
|
-
for (var A = [], _ = [],
|
|
8337
|
-
_[t[
|
|
8335
|
+
for (var A = [], _ = [], I = 0; I < Fe; I++)
|
|
8336
|
+
_[t[I][3]] = I;
|
|
8338
8337
|
for (var M = 0, v = 0; v < Fe; v++) {
|
|
8339
8338
|
var f = _[v];
|
|
8340
8339
|
A[M++] = t[f][0], A[M++] = t[f][1], A[M++] = t[f][2];
|
|
@@ -8343,7 +8342,7 @@ function qi(o, e) {
|
|
|
8343
8342
|
}
|
|
8344
8343
|
this.getColormap = G, this.lookupRGB = T;
|
|
8345
8344
|
}
|
|
8346
|
-
var
|
|
8345
|
+
var Wn = -1, uo = 12, Kt = 5003, Zi = [
|
|
8347
8346
|
0,
|
|
8348
8347
|
1,
|
|
8349
8348
|
3,
|
|
@@ -8363,25 +8362,25 @@ var Kn = -1, io = 12, Gt = 5003, Zi = [
|
|
|
8363
8362
|
65535
|
|
8364
8363
|
];
|
|
8365
8364
|
function Qi(o, e, t, n) {
|
|
8366
|
-
var a = Math.max(2, n), l = new Uint8Array(256), r = new Int32Array(
|
|
8367
|
-
function M(
|
|
8368
|
-
l[s++] =
|
|
8365
|
+
var a = Math.max(2, n), l = new Uint8Array(256), r = new Int32Array(Kt), i = new Int32Array(Kt), u, d = 0, s, c = 0, m, T = !1, g, D, G, A, _, I;
|
|
8366
|
+
function M(S, N) {
|
|
8367
|
+
l[s++] = S, s >= 254 && x(N);
|
|
8369
8368
|
}
|
|
8370
|
-
function v(
|
|
8371
|
-
f(
|
|
8369
|
+
function v(S) {
|
|
8370
|
+
f(Kt), c = D + 2, T = !0, E(D, S);
|
|
8372
8371
|
}
|
|
8373
|
-
function f(
|
|
8374
|
-
for (var N = 0; N <
|
|
8372
|
+
function f(S) {
|
|
8373
|
+
for (var N = 0; N < S; ++N)
|
|
8375
8374
|
r[N] = -1;
|
|
8376
8375
|
}
|
|
8377
|
-
function y(
|
|
8376
|
+
function y(S, N) {
|
|
8378
8377
|
var b, B, k, V, $, j, R;
|
|
8379
|
-
for (g =
|
|
8378
|
+
for (g = S, T = !1, I = g, m = P(I), D = 1 << S - 1, G = D + 1, c = D + 2, s = 0, V = w(), R = 0, b = Kt; b < 65536; b *= 2)
|
|
8380
8379
|
++R;
|
|
8381
|
-
R = 8 - R, j =
|
|
8380
|
+
R = 8 - R, j = Kt, f(j), E(D, N);
|
|
8382
8381
|
e:
|
|
8383
|
-
for (; (B = w()) !=
|
|
8384
|
-
if (b = (B <<
|
|
8382
|
+
for (; (B = w()) != Wn; ) {
|
|
8383
|
+
if (b = (B << uo) + V, k = B << R ^ V, r[k] === b) {
|
|
8385
8384
|
V = i[k];
|
|
8386
8385
|
continue;
|
|
8387
8386
|
} else if (r[k] >= 0) {
|
|
@@ -8393,30 +8392,30 @@ function Qi(o, e, t, n) {
|
|
|
8393
8392
|
}
|
|
8394
8393
|
while (r[k] >= 0);
|
|
8395
8394
|
}
|
|
8396
|
-
E(V, N), V = B, c < 1 <<
|
|
8395
|
+
E(V, N), V = B, c < 1 << uo ? (i[k] = c++, r[k] = b) : v(N);
|
|
8397
8396
|
}
|
|
8398
8397
|
E(V, N), E(G, N);
|
|
8399
8398
|
}
|
|
8400
|
-
function C(
|
|
8401
|
-
|
|
8399
|
+
function C(S) {
|
|
8400
|
+
S.writeByte(a), A = o * e, _ = 0, y(a + 1, S), S.writeByte(0);
|
|
8402
8401
|
}
|
|
8403
|
-
function x(
|
|
8404
|
-
s > 0 && (
|
|
8402
|
+
function x(S) {
|
|
8403
|
+
s > 0 && (S.writeByte(s), S.writeBytes(l, 0, s), s = 0);
|
|
8405
8404
|
}
|
|
8406
|
-
function P(
|
|
8407
|
-
return (1 <<
|
|
8405
|
+
function P(S) {
|
|
8406
|
+
return (1 << S) - 1;
|
|
8408
8407
|
}
|
|
8409
8408
|
function w() {
|
|
8410
8409
|
if (A === 0)
|
|
8411
|
-
return
|
|
8410
|
+
return Wn;
|
|
8412
8411
|
--A;
|
|
8413
|
-
var
|
|
8414
|
-
return
|
|
8412
|
+
var S = t[_++];
|
|
8413
|
+
return S & 255;
|
|
8415
8414
|
}
|
|
8416
|
-
function E(
|
|
8417
|
-
for (u &= Zi[d], d > 0 ? u |=
|
|
8415
|
+
function E(S, N) {
|
|
8416
|
+
for (u &= Zi[d], d > 0 ? u |= S << d : u = S, d += I; d >= 8; )
|
|
8418
8417
|
M(u & 255, N), u >>= 8, d -= 8;
|
|
8419
|
-
if ((c > m || T) && (T ? (m = P(
|
|
8418
|
+
if ((c > m || T) && (T ? (m = P(I = g), T = !1) : (++I, I == uo ? m = 1 << uo : m = P(I))), S == G) {
|
|
8420
8419
|
for (; d > 0; )
|
|
8421
8420
|
M(u & 255, N), u >>= 8, d -= 8;
|
|
8422
8421
|
x(N);
|
|
@@ -8429,8 +8428,8 @@ function He() {
|
|
|
8429
8428
|
}
|
|
8430
8429
|
He.pageSize = 4096;
|
|
8431
8430
|
He.charMap = {};
|
|
8432
|
-
for (var
|
|
8433
|
-
He.charMap[
|
|
8431
|
+
for (var co = 0; co < 256; co++)
|
|
8432
|
+
He.charMap[co] = String.fromCharCode(co);
|
|
8434
8433
|
He.prototype.newPage = function() {
|
|
8435
8434
|
this.pages[++this.page] = new Uint8Array(He.pageSize), this.cursor = 0;
|
|
8436
8435
|
};
|
|
@@ -8558,11 +8557,11 @@ Te.prototype.ditherPixels = function(o, e) {
|
|
|
8558
8557
|
a = d * r + s;
|
|
8559
8558
|
var m = a * 3, T = i[m], g = i[m + 1], D = i[m + 2];
|
|
8560
8559
|
m = this.findClosestRGB(T, g, D), this.usedEntry[m] = !0, this.indexedPixels[a] = m, m *= 3;
|
|
8561
|
-
for (var G = this.colorTab[m], A = this.colorTab[m + 1], _ = this.colorTab[m + 2],
|
|
8560
|
+
for (var G = this.colorTab[m], A = this.colorTab[m + 1], _ = this.colorTab[m + 2], I = T - G, M = g - A, v = D - _, f = u == 1 ? 0 : n.length - 1, y = u == 1 ? n.length : 0; f !== y; f += u) {
|
|
8562
8561
|
var C = n[f][1], x = n[f][2];
|
|
8563
8562
|
if (C + s >= 0 && C + s < r && x + d >= 0 && x + d < l) {
|
|
8564
8563
|
var P = n[f][0];
|
|
8565
|
-
m = a + C + x * r, m *= 3, i[m] = Math.max(0, Math.min(255, i[m] +
|
|
8564
|
+
m = a + C + x * r, m *= 3, i[m] = Math.max(0, Math.min(255, i[m] + I * P)), i[m + 1] = Math.max(0, Math.min(255, i[m + 1] + M * P)), i[m + 2] = Math.max(0, Math.min(255, i[m + 2] + v * P));
|
|
8566
8565
|
}
|
|
8567
8566
|
}
|
|
8568
8567
|
}
|
|
@@ -8659,8 +8658,8 @@ var Xi = globalThis && globalThis.__awaiter || function(o, e, t, n) {
|
|
|
8659
8658
|
d((n = n.apply(o, e || [])).next());
|
|
8660
8659
|
});
|
|
8661
8660
|
};
|
|
8662
|
-
const { Canvas: ut } = wi,
|
|
8663
|
-
function
|
|
8661
|
+
const { Canvas: ut } = wi, fo = 0.4;
|
|
8662
|
+
function Yn(o) {
|
|
8664
8663
|
if (!o)
|
|
8665
8664
|
return;
|
|
8666
8665
|
function e(t) {
|
|
@@ -8758,14 +8757,14 @@ class ve {
|
|
|
8758
8757
|
})), e.fillStyle = d;
|
|
8759
8758
|
}
|
|
8760
8759
|
_draw() {
|
|
8761
|
-
var e, t, n, a, l, r, i, u, d, s, c, m, T, g, D, G, A, _,
|
|
8760
|
+
var e, t, n, a, l, r, i, u, d, s, c, m, T, g, D, G, A, _, I;
|
|
8762
8761
|
return Xi(this, void 0, void 0, function* () {
|
|
8763
8762
|
const M = (e = this.qrCode) === null || e === void 0 ? void 0 : e.moduleCount, v = this.options.size;
|
|
8764
8763
|
let f = this.options.margin;
|
|
8765
8764
|
(f < 0 || f * 2 >= v) && (f = 0);
|
|
8766
|
-
const y = Math.ceil(f), C = v - 2 * f, x = this.options.whiteMargin, P = this.options.backgroundDimming, w = Math.ceil(C / M), E = w * M,
|
|
8765
|
+
const y = Math.ceil(f), C = v - 2 * f, x = this.options.whiteMargin, P = this.options.backgroundDimming, w = Math.ceil(C / M), E = w * M, S = E + 2 * y, N = new ut(S, S), b = N.getContext("2d");
|
|
8767
8766
|
this._clear(), b.save(), b.translate(y, y);
|
|
8768
|
-
const B = new ut(
|
|
8767
|
+
const B = new ut(S, S), k = B.getContext("2d");
|
|
8769
8768
|
let V = null, $ = [];
|
|
8770
8769
|
if (this.options.gifBackground) {
|
|
8771
8770
|
const q = Ai(this.options.gifBackground);
|
|
@@ -8778,15 +8777,15 @@ class ve {
|
|
|
8778
8777
|
ne = ~~(ne / Ne), ce = ~~(ce / Ne), de = ~~(de / Ne), this.options.colorDark = `rgb(${ne},${ce},${de})`;
|
|
8779
8778
|
}
|
|
8780
8779
|
} else if (this.options.backgroundImage) {
|
|
8781
|
-
const q = yield
|
|
8780
|
+
const q = yield Yn(this.options.backgroundImage);
|
|
8782
8781
|
if (this.options.autoColor) {
|
|
8783
8782
|
const ne = ve._getAverageRGB(q);
|
|
8784
8783
|
this.options.colorDark = `rgb(${ne.r},${ne.g},${ne.b})`;
|
|
8785
8784
|
}
|
|
8786
|
-
k.drawImage(q, 0, 0, q.width, q.height, 0, 0,
|
|
8785
|
+
k.drawImage(q, 0, 0, q.width, q.height, 0, 0, S, S), k.rect(0, 0, S, S), k.fillStyle = P, k.fill();
|
|
8787
8786
|
} else
|
|
8788
|
-
k.rect(0, 0,
|
|
8789
|
-
const j = be.getPatternPosition(this.qrCode.typeNumber), R = ((n = (t = this.options.components) === null || t === void 0 ? void 0 : t.data) === null || n === void 0 ? void 0 : n.scale) ||
|
|
8787
|
+
k.rect(0, 0, S, S), k.fillStyle = this.options.colorLight, k.fill();
|
|
8788
|
+
const j = be.getPatternPosition(this.qrCode.typeNumber), R = ((n = (t = this.options.components) === null || t === void 0 ? void 0 : t.data) === null || n === void 0 ? void 0 : n.scale) || fo, J = (1 - R) * 0.5;
|
|
8790
8789
|
for (let q = 0; q < M; q++)
|
|
8791
8790
|
for (let ne = 0; ne < M; ne++) {
|
|
8792
8791
|
const ce = this.qrCode.isDark(q, ne), de = ne < 8 && (q < 8 || q >= M - 8) || ne >= M - 8 && q < 8, Ne = q == 6 && ne >= 8 && ne <= M - 8 || ne == 6 && q >= 8 && q <= M - 8;
|
|
@@ -8815,12 +8814,12 @@ class ve {
|
|
|
8815
8814
|
}
|
|
8816
8815
|
}
|
|
8817
8816
|
b.fillStyle = this.options.colorDark, b.fillRect(0, 0, 7 * w, w), b.fillRect((M - 7) * w, 0, 7 * w, w), b.fillRect(0, 6 * w, 7 * w, w), b.fillRect((M - 7) * w, 6 * w, 7 * w, w), b.fillRect(0, (M - 7) * w, 7 * w, w), b.fillRect(0, (M - 7 + 6) * w, 7 * w, w), b.fillRect(0, 0, w, 7 * w), b.fillRect(6 * w, 0, w, 7 * w), b.fillRect((M - 7) * w, 0, w, 7 * w), b.fillRect((M - 7 + 6) * w, 0, w, 7 * w), b.fillRect(0, (M - 7) * w, w, 7 * w), b.fillRect(6 * w, (M - 7) * w, w, 7 * w), b.fillRect(2 * w, 2 * w, 3 * w, 3 * w), b.fillRect((M - 7 + 2) * w, 2 * w, 3 * w, 3 * w), b.fillRect(2 * w, (M - 7 + 2) * w, 3 * w, 3 * w);
|
|
8818
|
-
const ge = ((c = (s = this.options.components) === null || s === void 0 ? void 0 : s.timing) === null || c === void 0 ? void 0 : c.scale) ||
|
|
8817
|
+
const ge = ((c = (s = this.options.components) === null || s === void 0 ? void 0 : s.timing) === null || c === void 0 ? void 0 : c.scale) || fo, Se = (1 - ge) * 0.5;
|
|
8819
8818
|
for (let q = 0; q < M - 8; q += 2)
|
|
8820
|
-
ve._drawDot(b, 8 + q, 6, w,
|
|
8821
|
-
const Ke = ((T = (m = this.options.components) === null || m === void 0 ? void 0 : m.cornerAlignment) === null || T === void 0 ? void 0 : T.scale) ||
|
|
8819
|
+
ve._drawDot(b, 8 + q, 6, w, Se, ge), ve._drawDot(b, 6, 8 + q, w, Se, ge);
|
|
8820
|
+
const Ke = ((T = (m = this.options.components) === null || m === void 0 ? void 0 : m.cornerAlignment) === null || T === void 0 ? void 0 : T.scale) || fo, qe = (1 - Ke) * 0.5;
|
|
8822
8821
|
ve._drawAlign(b, te, te, w, qe, Ke, this.options.colorDark, ((D = (g = this.options.components) === null || g === void 0 ? void 0 : g.cornerAlignment) === null || D === void 0 ? void 0 : D.protectors) || !1);
|
|
8823
|
-
const
|
|
8822
|
+
const Ie = ((A = (G = this.options.components) === null || G === void 0 ? void 0 : G.alignment) === null || A === void 0 ? void 0 : A.scale) || fo, pe = (1 - Ie) * 0.5;
|
|
8824
8823
|
for (let q = 0; q < j.length; q++)
|
|
8825
8824
|
for (let ne = 0; ne < j.length; ne++) {
|
|
8826
8825
|
const ce = j[ne], de = j[q];
|
|
@@ -8829,14 +8828,14 @@ class ve {
|
|
|
8829
8828
|
continue;
|
|
8830
8829
|
if (ce === te && de === te)
|
|
8831
8830
|
continue;
|
|
8832
|
-
ve._drawAlign(b, ce, de, w, pe,
|
|
8831
|
+
ve._drawAlign(b, ce, de, w, pe, Ie, this.options.colorDark, ((I = (_ = this.options.components) === null || _ === void 0 ? void 0 : _.alignment) === null || I === void 0 ? void 0 : I.protectors) || !1);
|
|
8833
8832
|
}
|
|
8834
8833
|
}
|
|
8835
|
-
if (x && (b.fillStyle = this.options.backgroundColor, b.fillRect(-y, -y,
|
|
8836
|
-
const q = yield
|
|
8834
|
+
if (x && (b.fillStyle = this.options.backgroundColor, b.fillRect(-y, -y, S, y), b.fillRect(-y, E, S, y), b.fillRect(E, -y, y, S), b.fillRect(-y, -y, y, S)), this.options.logoImage) {
|
|
8835
|
+
const q = yield Yn(this.options.logoImage);
|
|
8837
8836
|
let ne = this.options.logoScale, ce = this.options.logoMargin, de = this.options.logoCornerRadius;
|
|
8838
8837
|
(ne <= 0 || ne >= 1) && (ne = 0.2), ce < 0 && (ce = 0), de < 0 && (de = 0);
|
|
8839
|
-
const Ne = E * ne, ke = 0.5 * (
|
|
8838
|
+
const Ne = E * ne, ke = 0.5 * (S - Ne), Ce = ke;
|
|
8840
8839
|
b.restore(), b.fillStyle = this.options.logoBackgroundColor, b.save(), ve._prepareRoundedCornerClip(b, ke - ce, Ce - ce, Ne + 2 * ce, Ne + 2 * ce, de + ce), b.clip();
|
|
8841
8840
|
const ze = b.globalCompositeOperation;
|
|
8842
8841
|
b.globalCompositeOperation = "destination-out", b.fill(), b.globalCompositeOperation = ze, b.restore(), b.save(), ve._prepareRoundedCornerClip(b, ke, Ce, Ne, Ne, de), b.clip(), b.drawImage(q, ke, Ce, Ne, Ne), b.restore(), b.save(), b.translate(y, y);
|
|
@@ -8847,23 +8846,23 @@ class ve {
|
|
|
8847
8846
|
q || (q = new Te(v, v), q.setDelay(Ce.delay), q.setRepeat(0));
|
|
8848
8847
|
const { width: ze, height: Pe } = Ce.dims;
|
|
8849
8848
|
ne || (ne = new ut(ze, Pe), ce = ne.getContext("2d"), ce.rect(0, 0, ne.width, ne.height), ce.fillStyle = "#ffffff", ce.fill()), (!de || !ke || ze !== de.width || Pe !== de.height) && (de = new ut(ze, Pe), Ne = de.getContext("2d"), ke = Ne.createImageData(ze, Pe)), ke.data.set(Ce.patch), Ne.putImageData(ke, 0, 0), ce.drawImage(de.getContext("2d").canvas, Ce.dims.left, Ce.dims.top);
|
|
8850
|
-
const kt = new ut(
|
|
8851
|
-
z.drawImage(ne.getContext("2d").canvas, 0, 0,
|
|
8849
|
+
const kt = new ut(S, S), z = kt.getContext("2d");
|
|
8850
|
+
z.drawImage(ne.getContext("2d").canvas, 0, 0, S, S), z.rect(0, 0, S, S), z.fillStyle = P, z.fill(), z.drawImage(N.getContext("2d").canvas, 0, 0, S, S);
|
|
8852
8851
|
const Q = new ut(v, v), re = Q.getContext("2d");
|
|
8853
8852
|
re.drawImage(kt.getContext("2d").canvas, 0, 0, v, v), q.addFrame(re.getImageData(0, 0, Q.width, Q.height).data);
|
|
8854
8853
|
}), !q)
|
|
8855
8854
|
throw new Error("No frames.");
|
|
8856
|
-
if (q.finish(),
|
|
8855
|
+
if (q.finish(), qn(this.canvas)) {
|
|
8857
8856
|
const ze = q.stream().toFlattenUint8Array().reduce((Pe, kt) => Pe + String.fromCharCode(kt), "");
|
|
8858
8857
|
return Promise.resolve(`data:image/gif;base64,${window.btoa(ze)}`);
|
|
8859
8858
|
}
|
|
8860
8859
|
return Promise.resolve(Buffer.from(q.stream().toFlattenUint8Array()));
|
|
8861
8860
|
} else {
|
|
8862
|
-
k.drawImage(N.getContext("2d").canvas, 0, 0,
|
|
8861
|
+
k.drawImage(N.getContext("2d").canvas, 0, 0, S, S), b.drawImage(B.getContext("2d").canvas, -y, -y, S, S);
|
|
8863
8862
|
const q = new ut(v, v);
|
|
8864
8863
|
q.getContext("2d").drawImage(N.getContext("2d").canvas, 0, 0, v, v), this.canvas = q;
|
|
8865
8864
|
const ce = this.options.gifBackground ? "gif" : "png";
|
|
8866
|
-
return
|
|
8865
|
+
return qn(this.canvas) ? Promise.resolve(this.canvas.toDataURL(ce)) : Promise.resolve(this.canvas.toBuffer(ce));
|
|
8867
8866
|
}
|
|
8868
8867
|
});
|
|
8869
8868
|
}
|
|
@@ -8905,7 +8904,7 @@ ve.defaultOptions = {
|
|
|
8905
8904
|
logoBackgroundColor: "#ffffff",
|
|
8906
8905
|
backgroundColor: "#ffffff"
|
|
8907
8906
|
};
|
|
8908
|
-
function
|
|
8907
|
+
function qn(o) {
|
|
8909
8908
|
try {
|
|
8910
8909
|
return o instanceof HTMLElement;
|
|
8911
8910
|
} catch {
|
|
@@ -9077,10 +9076,10 @@ const Ji = {
|
|
|
9077
9076
|
correctLevel: n.correctLevel,
|
|
9078
9077
|
logoMargin: n.logoMargin,
|
|
9079
9078
|
logoCornerRadius: n.logoCornerRadius,
|
|
9080
|
-
whiteMargin:
|
|
9079
|
+
whiteMargin: jo(n.whiteMargin),
|
|
9081
9080
|
dotScale: n.dotScale,
|
|
9082
|
-
autoColor:
|
|
9083
|
-
binarize:
|
|
9081
|
+
autoColor: jo(n.autoColor),
|
|
9082
|
+
binarize: jo(n.binarize),
|
|
9084
9083
|
binarizeThreshold: n.binarizeThreshold,
|
|
9085
9084
|
components: n.components
|
|
9086
9085
|
}).draw().then((a) => {
|
|
@@ -9194,7 +9193,7 @@ const nu = { key: 0 }, au = ["innerHTML"], lu = ["innerHTML"], ru = ["innerHTML"
|
|
|
9194
9193
|
return y;
|
|
9195
9194
|
});
|
|
9196
9195
|
}
|
|
9197
|
-
function
|
|
9196
|
+
function I(v, f) {
|
|
9198
9197
|
r("table-button-action", v, f);
|
|
9199
9198
|
}
|
|
9200
9199
|
function M(v, f) {
|
|
@@ -9221,10 +9220,10 @@ const nu = { key: 0 }, au = ["innerHTML"], lu = ["innerHTML"], ru = ["innerHTML"
|
|
|
9221
9220
|
tableLayout: "auto"
|
|
9222
9221
|
}
|
|
9223
9222
|
}, {
|
|
9224
|
-
TEXT: L(({ col: E, row:
|
|
9225
|
-
g(T(E,
|
|
9223
|
+
TEXT: L(({ col: E, row: S }) => [
|
|
9224
|
+
g(T(E, S)) ? (p(), H("span", nu, [
|
|
9226
9225
|
ee("span", {
|
|
9227
|
-
innerHTML: T(E,
|
|
9226
|
+
innerHTML: T(E, S),
|
|
9228
9227
|
style: { "white-space": "pre-wrap" }
|
|
9229
9228
|
}, null, 8, au)
|
|
9230
9229
|
])) : (p(), H("span", {
|
|
@@ -9232,25 +9231,25 @@ const nu = { key: 0 }, au = ["innerHTML"], lu = ["innerHTML"], ru = ["innerHTML"
|
|
|
9232
9231
|
innerHTML: D()
|
|
9233
9232
|
}, null, 8, lu))
|
|
9234
9233
|
]),
|
|
9235
|
-
ENUMS: L(({ col: E, row:
|
|
9234
|
+
ENUMS: L(({ col: E, row: S }) => [
|
|
9236
9235
|
ee("span", {
|
|
9237
|
-
innerHTML: G(E,
|
|
9236
|
+
innerHTML: G(E, S)
|
|
9238
9237
|
}, null, 8, ru)
|
|
9239
9238
|
]),
|
|
9240
|
-
DATE: L(({ col: E, row:
|
|
9239
|
+
DATE: L(({ col: E, row: S }) => [
|
|
9241
9240
|
ee("span", {
|
|
9242
|
-
innerHTML: A(E,
|
|
9241
|
+
innerHTML: A(E, S)
|
|
9243
9242
|
}, null, 8, su)
|
|
9244
9243
|
]),
|
|
9245
|
-
QR_CODE: L(({ col: E, row:
|
|
9244
|
+
QR_CODE: L(({ col: E, row: S }) => [
|
|
9246
9245
|
U(C, null, {
|
|
9247
9246
|
content: L(() => [
|
|
9248
9247
|
U(ou, {
|
|
9249
|
-
text: T(E,
|
|
9248
|
+
text: T(E, S),
|
|
9250
9249
|
size: 80,
|
|
9251
9250
|
margin: 0
|
|
9252
9251
|
}, null, 8, ["text"]),
|
|
9253
|
-
ee("div", iu, oe(
|
|
9252
|
+
ee("div", iu, oe(S.code), 1)
|
|
9254
9253
|
]),
|
|
9255
9254
|
default: L(() => [
|
|
9256
9255
|
U(y, {
|
|
@@ -9266,25 +9265,25 @@ const nu = { key: 0 }, au = ["innerHTML"], lu = ["innerHTML"], ru = ["innerHTML"
|
|
|
9266
9265
|
_: 2
|
|
9267
9266
|
}, 1024)
|
|
9268
9267
|
]),
|
|
9269
|
-
FORM_ITEM: L(({ col: E, row:
|
|
9268
|
+
FORM_ITEM: L(({ col: E, row: S }) => [
|
|
9270
9269
|
E.formItems && E.formItems.length ? (p(), F(Qs, {
|
|
9271
9270
|
key: 0,
|
|
9272
9271
|
viewName: v.viewName,
|
|
9273
9272
|
col: E,
|
|
9274
|
-
row:
|
|
9273
|
+
row: S,
|
|
9275
9274
|
onBlur: M
|
|
9276
9275
|
}, null, 8, ["viewName", "col", "row"])) : (p(), H("span", {
|
|
9277
9276
|
key: 1,
|
|
9278
9277
|
innerHTML: D()
|
|
9279
9278
|
}, null, 8, uu))
|
|
9280
9279
|
]),
|
|
9281
|
-
IMAGE: L(({ col: E, row:
|
|
9280
|
+
IMAGE: L(({ col: E, row: S }) => [
|
|
9282
9281
|
ee("div", {
|
|
9283
9282
|
class: Z(`${h(Ut)}__imageViewer`)
|
|
9284
9283
|
}, [
|
|
9285
|
-
T(E,
|
|
9284
|
+
T(E, S) ? (p(), F(P, {
|
|
9286
9285
|
key: 0,
|
|
9287
|
-
images: [T(E,
|
|
9286
|
+
images: [T(E, S)]
|
|
9288
9287
|
}, {
|
|
9289
9288
|
trigger: L(({ open: N }) => [
|
|
9290
9289
|
ee("div", {
|
|
@@ -9292,15 +9291,15 @@ const nu = { key: 0 }, au = ["innerHTML"], lu = ["innerHTML"], ru = ["innerHTML"
|
|
|
9292
9291
|
}, [
|
|
9293
9292
|
U(x, {
|
|
9294
9293
|
class: Z(`${h(Ut)}__imageViewer--image-img`),
|
|
9295
|
-
src: T(E,
|
|
9294
|
+
src: T(E, S),
|
|
9296
9295
|
shape: "round",
|
|
9297
9296
|
fit: "scale-down"
|
|
9298
9297
|
}, {
|
|
9299
9298
|
error: L(() => [
|
|
9300
|
-
E.name == `${h(t).t("头像")}` ? (p(), F(h(
|
|
9299
|
+
E.name == `${h(t).t("头像")}` ? (p(), F(h(Ao), { key: 0 })) : (p(), F(h(qt), { key: 1 }))
|
|
9301
9300
|
]),
|
|
9302
9301
|
loading: L(() => [
|
|
9303
|
-
E.name == `${h(t).t("头像")}` ? (p(), F(h(
|
|
9302
|
+
E.name == `${h(t).t("头像")}` ? (p(), F(h(Ao), { key: 0 })) : (p(), F(h(qt), {
|
|
9304
9303
|
key: 1,
|
|
9305
9304
|
size: "large"
|
|
9306
9305
|
}))
|
|
@@ -9323,27 +9322,27 @@ const nu = { key: 0 }, au = ["innerHTML"], lu = ["innerHTML"], ru = ["innerHTML"
|
|
|
9323
9322
|
key: 1,
|
|
9324
9323
|
class: Z(`${h(Ut)}__imageViewer--placeholder`)
|
|
9325
9324
|
}, [
|
|
9326
|
-
E.name == `${h(t).t("头像")}` ? (p(), F(h(
|
|
9325
|
+
E.name == `${h(t).t("头像")}` ? (p(), F(h(Ao), {
|
|
9327
9326
|
key: 0,
|
|
9328
9327
|
size: "large"
|
|
9329
|
-
})) : (p(), F(h(
|
|
9328
|
+
})) : (p(), F(h(qt), {
|
|
9330
9329
|
key: 1,
|
|
9331
9330
|
size: "large"
|
|
9332
9331
|
}))
|
|
9333
9332
|
], 2))
|
|
9334
9333
|
], 2)
|
|
9335
9334
|
]),
|
|
9336
|
-
BUTTONS: L(({ col: E, row:
|
|
9335
|
+
BUTTONS: L(({ col: E, row: S }) => [
|
|
9337
9336
|
E.buttons && E.buttons.length > 0 ? (p(), F(w, {
|
|
9338
9337
|
key: 0,
|
|
9339
9338
|
size: "0"
|
|
9340
9339
|
}, {
|
|
9341
9340
|
default: L(() => [
|
|
9342
|
-
(p(!0), H(se, null, _e(_(E.buttons,
|
|
9341
|
+
(p(!0), H(se, null, _e(_(E.buttons, S), (N) => (p(), F(y, {
|
|
9343
9342
|
theme: "primary",
|
|
9344
9343
|
variant: "text",
|
|
9345
9344
|
key: N.buttonId,
|
|
9346
|
-
onClick: (b) =>
|
|
9345
|
+
onClick: (b) => I(N, S)
|
|
9347
9346
|
}, {
|
|
9348
9347
|
default: L(() => [
|
|
9349
9348
|
ie(oe(N.name), 1)
|
|
@@ -9405,16 +9404,16 @@ const mu = /* @__PURE__ */ st(fu, [["__scopeId", "data-v-cadacb0c"]]), pu = /* @
|
|
|
9405
9404
|
onChange: d
|
|
9406
9405
|
}, {
|
|
9407
9406
|
default: L(() => [
|
|
9408
|
-
(p(!0), H(se, null, _e(r.value, (_,
|
|
9409
|
-
key: `${
|
|
9410
|
-
value:
|
|
9407
|
+
(p(!0), H(se, null, _e(r.value, (_, I) => (p(), F(G, {
|
|
9408
|
+
key: `${I}${_.title}`,
|
|
9409
|
+
value: I,
|
|
9411
9410
|
label: _.title,
|
|
9412
9411
|
destroyOnHide: !0
|
|
9413
9412
|
}, {
|
|
9414
9413
|
default: L(() => [
|
|
9415
9414
|
U(D, { bordered: !1 }, {
|
|
9416
9415
|
content: L(() => [
|
|
9417
|
-
_.board ? (p(), F(h(
|
|
9416
|
+
_.board ? (p(), F(h(wo), {
|
|
9418
9417
|
key: _.title,
|
|
9419
9418
|
viewName: T.viewName,
|
|
9420
9419
|
board: _.board,
|
|
@@ -9468,7 +9467,7 @@ const hu = /* @__PURE__ */ ae({
|
|
|
9468
9467
|
const { viewName: z, ...Q } = a.query;
|
|
9469
9468
|
return Q;
|
|
9470
9469
|
}
|
|
9471
|
-
}),
|
|
9470
|
+
}), I = K({
|
|
9472
9471
|
count: 15,
|
|
9473
9472
|
page: 0,
|
|
9474
9473
|
totalCount: 0,
|
|
@@ -9476,24 +9475,24 @@ const hu = /* @__PURE__ */ ae({
|
|
|
9476
9475
|
}), M = O(() => {
|
|
9477
9476
|
var Q, re;
|
|
9478
9477
|
let z = {};
|
|
9479
|
-
return D.value && G.value && Object.assign(z, G.value), u.dialogProps && ((Q = Object.keys(u.dialogProps)) != null && Q.length) && Object.assign(z, u.dialogProps), c.value === "table" && Object.assign(z,
|
|
9478
|
+
return D.value && G.value && Object.assign(z, G.value), u.dialogProps && ((Q = Object.keys(u.dialogProps)) != null && Q.length) && Object.assign(z, u.dialogProps), c.value === "table" && Object.assign(z, I.value), u.serverProps && ((re = Object.keys(u.serverProps)) != null && re.length) && Object.assign(z, u.serverProps), Object.assign(z, _.value), z;
|
|
9480
9479
|
}), v = K(!1), f = K(!0);
|
|
9481
9480
|
async function y() {
|
|
9482
9481
|
var z;
|
|
9483
9482
|
try {
|
|
9484
9483
|
if (v.value = !0, f.value && u.from == "view" && c.value == "table") {
|
|
9485
9484
|
const Q = x.getFormData(a.fullPath);
|
|
9486
|
-
Q != null && Q.pagination && (
|
|
9485
|
+
Q != null && Q.pagination && (I.value = {
|
|
9487
9486
|
...Q.pagination
|
|
9488
9487
|
});
|
|
9489
9488
|
}
|
|
9490
9489
|
if (!at(m.value) && !at(u.viewName)) {
|
|
9491
|
-
const Q = await
|
|
9490
|
+
const Q = await to({
|
|
9492
9491
|
dataId: m.value,
|
|
9493
9492
|
viewName: u.viewName,
|
|
9494
9493
|
props: M.value
|
|
9495
9494
|
});
|
|
9496
|
-
Q.state === 200 && Q.data && (c.value == "table" && (
|
|
9495
|
+
Q.state === 200 && Q.data && (c.value == "table" && (I.value = {
|
|
9497
9496
|
count: Q.data.count,
|
|
9498
9497
|
page: Q.data.page,
|
|
9499
9498
|
pageCount: Q.data.pageCount,
|
|
@@ -9506,7 +9505,7 @@ const hu = /* @__PURE__ */ ae({
|
|
|
9506
9505
|
v.value = !1, f.value = !1;
|
|
9507
9506
|
}
|
|
9508
9507
|
}
|
|
9509
|
-
|
|
9508
|
+
Ue(() => {
|
|
9510
9509
|
f.value = !0, y(), ne(), window.addEventListener("onUpdateMessage", (z) => {
|
|
9511
9510
|
var re;
|
|
9512
9511
|
const Q = (re = z == null ? void 0 : z.detail) == null ? void 0 : re.args.dataId;
|
|
@@ -9515,17 +9514,17 @@ const hu = /* @__PURE__ */ ae({
|
|
|
9515
9514
|
}), lt(() => {
|
|
9516
9515
|
m.value && r.sendUnregisterMessage(m.value);
|
|
9517
9516
|
});
|
|
9518
|
-
const C = $t(), x =
|
|
9517
|
+
const C = $t(), x = eo();
|
|
9519
9518
|
function P(z) {
|
|
9520
|
-
const Q =
|
|
9519
|
+
const Q = xe(G.value), re = xe(I.value);
|
|
9521
9520
|
C.findExistTabMenuItem({ path: z }) && x.setFormData(z, {
|
|
9522
9521
|
...Q && Object.keys(Q).length ? { formData: Q } : {},
|
|
9523
9522
|
pagination: re
|
|
9524
9523
|
});
|
|
9525
9524
|
}
|
|
9526
|
-
|
|
9525
|
+
oa((z, Q) => {
|
|
9527
9526
|
u.from != "dialog" && P(Q.fullPath);
|
|
9528
|
-
}),
|
|
9527
|
+
}), ta((z, Q) => {
|
|
9529
9528
|
u.from != "dialog" && P(Q.fullPath);
|
|
9530
9529
|
}), ye(
|
|
9531
9530
|
() => u.board,
|
|
@@ -9536,7 +9535,7 @@ const hu = /* @__PURE__ */ ae({
|
|
|
9536
9535
|
deep: !0
|
|
9537
9536
|
}
|
|
9538
9537
|
);
|
|
9539
|
-
const w = K(!1), E = K(!1),
|
|
9538
|
+
const w = K(!1), E = K(!1), S = K(""), N = K({}), b = K(), B = K();
|
|
9540
9539
|
async function k(z, Q = {}) {
|
|
9541
9540
|
if ((z ?? "") != "") {
|
|
9542
9541
|
Q.viewName = z;
|
|
@@ -9553,7 +9552,7 @@ const hu = /* @__PURE__ */ ae({
|
|
|
9553
9552
|
try {
|
|
9554
9553
|
switch (z.action) {
|
|
9555
9554
|
case "VIEW_BY_DIALOG": {
|
|
9556
|
-
(z.view ?? "") != "" ? (
|
|
9555
|
+
(z.view ?? "") != "" ? (S.value = "view", await k(z.view), N.value = z, i.initPropsSource({ ...Q, ...u.serverProps }), await V(!0), E.value = !0) : (z.link ?? "") != "" && (S.value = "iframe", N.value = z, i.initPropsSource(Q), b.value = {}, B.value = (re = z.props) == null ? void 0 : re.map((fe) => fe.keyName), await V(!0), E.value = !0);
|
|
9557
9556
|
break;
|
|
9558
9557
|
}
|
|
9559
9558
|
case "VIEW": {
|
|
@@ -9576,11 +9575,11 @@ const hu = /* @__PURE__ */ ae({
|
|
|
9576
9575
|
z.props ? z.props.forEach((Ze) => {
|
|
9577
9576
|
Ze.keyName && (Q[Ze.keyName] ?? "") != "" && (ue[Ze.keyName] = Q[Ze.keyName]);
|
|
9578
9577
|
}) : ue = { ...Q };
|
|
9579
|
-
const De =
|
|
9578
|
+
const De = Eo.confirm({
|
|
9580
9579
|
theme: "info",
|
|
9581
9580
|
header: z.name,
|
|
9582
9581
|
body: fe,
|
|
9583
|
-
className:
|
|
9582
|
+
className: Uo,
|
|
9584
9583
|
confirmBtn: {
|
|
9585
9584
|
loading: !1,
|
|
9586
9585
|
content: `${t.t("确定")}`,
|
|
@@ -9614,11 +9613,11 @@ const hu = /* @__PURE__ */ ae({
|
|
|
9614
9613
|
break;
|
|
9615
9614
|
}
|
|
9616
9615
|
case "BATCH": {
|
|
9617
|
-
const fe =
|
|
9616
|
+
const fe = Eo.confirm({
|
|
9618
9617
|
theme: "info",
|
|
9619
9618
|
header: z.name,
|
|
9620
9619
|
body: `${t.t("是否继续批量操作?")} `,
|
|
9621
|
-
className:
|
|
9620
|
+
className: Uo,
|
|
9622
9621
|
confirmBtn: {
|
|
9623
9622
|
content: `${t.t("确定")}`,
|
|
9624
9623
|
variant: "text",
|
|
@@ -9662,7 +9661,7 @@ const hu = /* @__PURE__ */ ae({
|
|
|
9662
9661
|
(tt = z == null ? void 0 : z.props) == null || tt.forEach((De) => {
|
|
9663
9662
|
De.keyName && (Q[De.keyName] ?? "") != "" && (fe[De.keyName] = Q[De.keyName]);
|
|
9664
9663
|
});
|
|
9665
|
-
const ue =
|
|
9664
|
+
const ue = In.decode(mt.render(z.link, { item: Q }));
|
|
9666
9665
|
if (z.outLink) {
|
|
9667
9666
|
const De = wt(`${location.origin}${ue}`, {
|
|
9668
9667
|
...fe,
|
|
@@ -9672,8 +9671,8 @@ const hu = /* @__PURE__ */ ae({
|
|
|
9672
9671
|
window.open(`${De}`, "_blank");
|
|
9673
9672
|
return;
|
|
9674
9673
|
}
|
|
9675
|
-
if (!
|
|
9676
|
-
|
|
9674
|
+
if (!Jt(ue))
|
|
9675
|
+
Pn(ue) ? window.open(`${location.origin}${ue}`) : n.push({
|
|
9677
9676
|
path: ue,
|
|
9678
9677
|
query: {
|
|
9679
9678
|
...fe
|
|
@@ -9710,19 +9709,19 @@ const hu = /* @__PURE__ */ ae({
|
|
|
9710
9709
|
);
|
|
9711
9710
|
if (ue) {
|
|
9712
9711
|
const { url: De, filename: Ze } = ue;
|
|
9713
|
-
|
|
9712
|
+
Oo(De, Ze, "blob", fe);
|
|
9714
9713
|
}
|
|
9715
9714
|
} else if ((z.downloadUrl ?? "") != "") {
|
|
9716
|
-
const ue =
|
|
9717
|
-
if (
|
|
9715
|
+
const ue = In.decode(mt.render(z.downloadUrl, { item: Q }));
|
|
9716
|
+
if (Pn(ue)) {
|
|
9718
9717
|
const De = wt(ue, fe, !1);
|
|
9719
9718
|
if ((ue ?? "") != "" && (De ?? !1)) {
|
|
9720
9719
|
const Ze = ue.split("/").slice(-1)[0];
|
|
9721
|
-
|
|
9720
|
+
Oo(De, Ze, "file");
|
|
9722
9721
|
} else
|
|
9723
9722
|
Me.info(`${t.t("未设置下载链接")}`);
|
|
9724
9723
|
} else
|
|
9725
|
-
|
|
9724
|
+
Oo(ue, "", "blob", fe);
|
|
9726
9725
|
}
|
|
9727
9726
|
break;
|
|
9728
9727
|
}
|
|
@@ -9735,13 +9734,13 @@ const hu = /* @__PURE__ */ ae({
|
|
|
9735
9734
|
}
|
|
9736
9735
|
function R(z) {
|
|
9737
9736
|
var re, Be;
|
|
9738
|
-
G.value = z,
|
|
9737
|
+
G.value = z, I.value = {
|
|
9739
9738
|
count: 15,
|
|
9740
9739
|
page: 0,
|
|
9741
9740
|
totalCount: 0,
|
|
9742
9741
|
pageCount: 0
|
|
9743
9742
|
}, y();
|
|
9744
|
-
let Q =
|
|
9743
|
+
let Q = xe(z);
|
|
9745
9744
|
if (Object.keys(Q).length)
|
|
9746
9745
|
for (const tt in Q)
|
|
9747
9746
|
(((Be = (re = D.value) == null ? void 0 : re.searchBar.filters.find((fe) => fe.keyName == tt)) == null ? void 0 : Be.itemType) != "text_input" || Q[tt] == "") && delete Q[tt];
|
|
@@ -9755,12 +9754,12 @@ const hu = /* @__PURE__ */ ae({
|
|
|
9755
9754
|
function ge(z) {
|
|
9756
9755
|
W.value = z;
|
|
9757
9756
|
}
|
|
9758
|
-
const
|
|
9759
|
-
(Q, re) => Q.colKey == "row-select" ||
|
|
9760
|
-
) :
|
|
9757
|
+
const Se = K([]), Ke = O(() => Ie.value.length ? Se.value.filter(
|
|
9758
|
+
(Q, re) => Q.colKey == "row-select" || Ie.value.indexOf(Q.colKey) !== -1 || re == 0 || re == Se.value.length - 1
|
|
9759
|
+
) : Se.value), qe = K([]), Ie = K([]), pe = ha();
|
|
9761
9760
|
async function q(z) {
|
|
9762
9761
|
const Q = `${u.viewName}_${c.value}`;
|
|
9763
|
-
await pe.setColumnData(Q, z) && (
|
|
9762
|
+
await pe.setColumnData(Q, z) && (Ie.value = z, Me.success(t.t("设置成功")), d());
|
|
9764
9763
|
}
|
|
9765
9764
|
function ne() {
|
|
9766
9765
|
var z, Q, re;
|
|
@@ -9771,17 +9770,17 @@ const hu = /* @__PURE__ */ ae({
|
|
|
9771
9770
|
} catch (ue) {
|
|
9772
9771
|
console.error("生成tableColumn出错", ue);
|
|
9773
9772
|
}
|
|
9774
|
-
|
|
9773
|
+
Se.value = Be, qe.value = Yl(
|
|
9775
9774
|
(re = u.board) == null ? void 0 : re.columns
|
|
9776
9775
|
);
|
|
9777
9776
|
const tt = `${u.viewName}_${c.value}`, fe = pe.getColumnData(tt);
|
|
9778
|
-
fe ?
|
|
9777
|
+
fe ? Ie.value = xe(fe) : Ie.value = xe(
|
|
9779
9778
|
qe.value.map((ue) => ue.colKey)
|
|
9780
9779
|
);
|
|
9781
9780
|
}
|
|
9782
9781
|
}
|
|
9783
9782
|
function ce(z) {
|
|
9784
|
-
Object.assign(
|
|
9783
|
+
Object.assign(I.value, {
|
|
9785
9784
|
page: z.current - 1,
|
|
9786
9785
|
count: z.pageSize
|
|
9787
9786
|
}), y();
|
|
@@ -9797,10 +9796,10 @@ const hu = /* @__PURE__ */ ae({
|
|
|
9797
9796
|
}
|
|
9798
9797
|
function Ne(z, Q) {
|
|
9799
9798
|
if (z.itemType == "selector" || z.itemType == "time_selector" || z.itemType == "date_time_selector" || z.itemType == "tree_check_box" || z.itemType === "multi_tree_selector" || z.itemType === "tree_selector") {
|
|
9800
|
-
const re =
|
|
9799
|
+
const re = Eo.confirm({
|
|
9801
9800
|
theme: "info",
|
|
9802
9801
|
body: `${t.t("此操作将提交该修改,是否继续?")}`,
|
|
9803
|
-
className:
|
|
9802
|
+
className: Uo,
|
|
9804
9803
|
onConfirm: async () => {
|
|
9805
9804
|
await de(Q, z.buttonId) && re.destroy();
|
|
9806
9805
|
},
|
|
@@ -9869,7 +9868,7 @@ const hu = /* @__PURE__ */ ae({
|
|
|
9869
9868
|
board: z.board,
|
|
9870
9869
|
headerInfo: D.value,
|
|
9871
9870
|
tableColumns: qe.value,
|
|
9872
|
-
displayColumns:
|
|
9871
|
+
displayColumns: Ie.value,
|
|
9873
9872
|
onHeaderButtonAction: j,
|
|
9874
9873
|
onHeaderFilterChange: R,
|
|
9875
9874
|
onDisplayColumnsChange: q
|
|
@@ -9890,9 +9889,9 @@ const hu = /* @__PURE__ */ ae({
|
|
|
9890
9889
|
viewName: z.viewName,
|
|
9891
9890
|
board: z.board,
|
|
9892
9891
|
tableColumns: Ke.value,
|
|
9893
|
-
displayColumns:
|
|
9892
|
+
displayColumns: Ie.value,
|
|
9894
9893
|
tableData: T.value,
|
|
9895
|
-
paginationProps:
|
|
9894
|
+
paginationProps: I.value,
|
|
9896
9895
|
headerFilterProps: A.value,
|
|
9897
9896
|
onTableButtonAction: j,
|
|
9898
9897
|
onTableFormConfirm: Ne,
|
|
@@ -9911,7 +9910,7 @@ const hu = /* @__PURE__ */ ae({
|
|
|
9911
9910
|
w.value ? (p(), F(h(Os), {
|
|
9912
9911
|
key: 0,
|
|
9913
9912
|
ref: "dialogRef",
|
|
9914
|
-
dialogType:
|
|
9913
|
+
dialogType: S.value,
|
|
9915
9914
|
isDialogVisible: E.value,
|
|
9916
9915
|
"onUpdate:isDialogVisible": [
|
|
9917
9916
|
Q[0] || (Q[0] = (Be) => E.value = Be),
|
|
@@ -9926,10 +9925,10 @@ const hu = /* @__PURE__ */ ae({
|
|
|
9926
9925
|
};
|
|
9927
9926
|
}
|
|
9928
9927
|
});
|
|
9929
|
-
const
|
|
9928
|
+
const wo = Ge(hu), qa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9930
9929
|
__proto__: null,
|
|
9931
|
-
GBoard:
|
|
9932
|
-
default:
|
|
9930
|
+
GBoard: wo,
|
|
9931
|
+
default: wo
|
|
9933
9932
|
}, Symbol.toStringTag, { value: "Module" })), gu = /* @__PURE__ */ ae({
|
|
9934
9933
|
__name: "index",
|
|
9935
9934
|
props: {
|
|
@@ -9937,14 +9936,14 @@ const bo = Ge(hu), qa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.def
|
|
|
9937
9936
|
},
|
|
9938
9937
|
setup(o) {
|
|
9939
9938
|
const e = et(), t = pt(), n = Ee(), a = $t(), l = rn(), r = o, i = K(""), u = O(() => n.isUserLogin), d = O(() => n.homeUrl);
|
|
9940
|
-
|
|
9939
|
+
Xt(async () => {
|
|
9941
9940
|
u.value || (await n.initUserConfig(r.config), await a.initTabMenu());
|
|
9942
|
-
}),
|
|
9941
|
+
}), Ue(async () => {
|
|
9943
9942
|
var _;
|
|
9944
9943
|
if (l.initSocket(), window.addEventListener("onSocketReload", () => {
|
|
9945
9944
|
n.toggleGlobalReload();
|
|
9946
9945
|
}), (_ = t.query) != null && _.redirect) {
|
|
9947
|
-
const
|
|
9946
|
+
const I = t.query, M = decodeURIComponent(I.redirect), v = la.parse(M.split("?")[1]), f = M.split("?")[0];
|
|
9948
9947
|
f === "/view" && Object.keys(v).length == 0 ? e.push(d.value) : e.push({
|
|
9949
9948
|
path: f,
|
|
9950
9949
|
query: {
|
|
@@ -9963,8 +9962,8 @@ const bo = Ge(hu), qa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.def
|
|
|
9963
9962
|
if (je(t.query))
|
|
9964
9963
|
return {};
|
|
9965
9964
|
{
|
|
9966
|
-
const { viewName: _, ...
|
|
9967
|
-
return
|
|
9965
|
+
const { viewName: _, ...I } = t.query;
|
|
9966
|
+
return I;
|
|
9968
9967
|
}
|
|
9969
9968
|
}), m = K(), T = O(() => {
|
|
9970
9969
|
var _;
|
|
@@ -9980,12 +9979,12 @@ const bo = Ge(hu), qa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.def
|
|
|
9980
9979
|
immediate: !0
|
|
9981
9980
|
}
|
|
9982
9981
|
);
|
|
9983
|
-
async function g(_,
|
|
9982
|
+
async function g(_, I, M = void 0) {
|
|
9984
9983
|
var y;
|
|
9985
9984
|
const v = {};
|
|
9986
9985
|
v.viewName = _;
|
|
9987
9986
|
let f = "";
|
|
9988
|
-
je(
|
|
9987
|
+
je(I) || (f = JSON.stringify(I)), v.props = f;
|
|
9989
9988
|
try {
|
|
9990
9989
|
const C = await Ma(v);
|
|
9991
9990
|
if (C.state === 200 && C.data) {
|
|
@@ -10003,7 +10002,7 @@ const bo = Ge(hu), qa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.def
|
|
|
10003
10002
|
}
|
|
10004
10003
|
const D = O(() => n.isGlobalLoaded), G = O(() => {
|
|
10005
10004
|
var _;
|
|
10006
|
-
return ((_ = m.value) == null ? void 0 : _.boards.map((
|
|
10005
|
+
return ((_ = m.value) == null ? void 0 : _.boards.map((I) => I.boardType)) ?? [];
|
|
10007
10006
|
}), A = O(() => {
|
|
10008
10007
|
var _;
|
|
10009
10008
|
return {
|
|
@@ -10012,13 +10011,13 @@ const bo = Ge(hu), qa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.def
|
|
|
10012
10011
|
} : {}
|
|
10013
10012
|
};
|
|
10014
10013
|
});
|
|
10015
|
-
return Tt(ga, i), (_,
|
|
10014
|
+
return Tt(ga, i), (_, I) => (p(), F(h(un), we({ key: i.value }, A.value), {
|
|
10016
10015
|
default: L(() => {
|
|
10017
10016
|
var M;
|
|
10018
10017
|
return [
|
|
10019
10018
|
D.value ? (p(!0), H(se, { key: 0 }, _e((M = m.value) == null ? void 0 : M.boards, (v) => {
|
|
10020
10019
|
var f, y;
|
|
10021
|
-
return p(), F(h(
|
|
10020
|
+
return p(), F(h(wo), {
|
|
10022
10021
|
key: `${(f = m.value) == null ? void 0 : f.viewName}_${v.boardType}`,
|
|
10023
10022
|
board: v,
|
|
10024
10023
|
viewName: T.value,
|
|
@@ -10272,13 +10271,13 @@ var yu = {
|
|
|
10272
10271
|
* (c) 2023 tdesign
|
|
10273
10272
|
* @license MIT
|
|
10274
10273
|
*/
|
|
10275
|
-
function
|
|
10274
|
+
function _o(o) {
|
|
10276
10275
|
"@babel/helpers - typeof";
|
|
10277
|
-
return
|
|
10276
|
+
return _o = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
|
|
10278
10277
|
return typeof e;
|
|
10279
10278
|
} : function(e) {
|
|
10280
10279
|
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
10281
|
-
},
|
|
10280
|
+
}, _o(o);
|
|
10282
10281
|
}
|
|
10283
10282
|
/**
|
|
10284
10283
|
* tdesign v1.5.1
|
|
@@ -10298,18 +10297,18 @@ var Za = { exports: {} };
|
|
|
10298
10297
|
var b = ["th", "st", "nd", "rd"], B = N % 100;
|
|
10299
10298
|
return "[" + N + (b[(B - 20) % 10] || b[B] || b[0]) + "]";
|
|
10300
10299
|
}
|
|
10301
|
-
},
|
|
10300
|
+
}, I = function(N, b, B) {
|
|
10302
10301
|
var k = String(N);
|
|
10303
10302
|
return !k || k.length >= b ? N : "" + Array(b + 1 - k.length).join(B) + N;
|
|
10304
10303
|
}, M = {
|
|
10305
|
-
s:
|
|
10304
|
+
s: I,
|
|
10306
10305
|
z: function(N) {
|
|
10307
10306
|
var b = -N.utcOffset(), B = Math.abs(b), k = Math.floor(B / 60), V = B % 60;
|
|
10308
|
-
return (b <= 0 ? "+" : "-") +
|
|
10307
|
+
return (b <= 0 ? "+" : "-") + I(k, 2, "0") + ":" + I(V, 2, "0");
|
|
10309
10308
|
},
|
|
10310
|
-
m: function
|
|
10309
|
+
m: function S(N, b) {
|
|
10311
10310
|
if (N.date() < b.date())
|
|
10312
|
-
return -
|
|
10311
|
+
return -S(b, N);
|
|
10313
10312
|
var B = 12 * (b.year() - N.year()) + (b.month() - N.month()), k = N.clone().add(B, c), V = b - k < 0, $ = N.clone().add(B + (V ? -1 : 1), c);
|
|
10314
10313
|
return +(-(B + (b - k) / (V ? k - $ : $ - k)) || 0);
|
|
10315
10314
|
},
|
|
@@ -10337,7 +10336,7 @@ var Za = { exports: {} };
|
|
|
10337
10336
|
f[v] = _;
|
|
10338
10337
|
var y = function(N) {
|
|
10339
10338
|
return N instanceof w;
|
|
10340
|
-
}, C = function
|
|
10339
|
+
}, C = function S(N, b, B) {
|
|
10341
10340
|
var k;
|
|
10342
10341
|
if (!N)
|
|
10343
10342
|
return v;
|
|
@@ -10346,7 +10345,7 @@ var Za = { exports: {} };
|
|
|
10346
10345
|
f[V] && (k = V), b && (f[V] = b, k = V);
|
|
10347
10346
|
var $ = N.split("-");
|
|
10348
10347
|
if (!k && $.length > 1)
|
|
10349
|
-
return
|
|
10348
|
+
return S($[0]);
|
|
10350
10349
|
} else {
|
|
10351
10350
|
var j = N.name;
|
|
10352
10351
|
f[j] = N, k = j;
|
|
@@ -10355,11 +10354,11 @@ var Za = { exports: {} };
|
|
|
10355
10354
|
}, x = function(N, b) {
|
|
10356
10355
|
if (y(N))
|
|
10357
10356
|
return N.clone();
|
|
10358
|
-
var B =
|
|
10357
|
+
var B = _o(b) == "object" ? b : {};
|
|
10359
10358
|
return B.date = N, B.args = arguments, new w(B);
|
|
10360
10359
|
}, P = M;
|
|
10361
|
-
P.l = C, P.i = y, P.w = function(
|
|
10362
|
-
return x(
|
|
10360
|
+
P.l = C, P.i = y, P.w = function(S, N) {
|
|
10361
|
+
return x(S, {
|
|
10363
10362
|
locale: N.$L,
|
|
10364
10363
|
utc: N.$u,
|
|
10365
10364
|
x: N.$x,
|
|
@@ -10367,10 +10366,10 @@ var Za = { exports: {} };
|
|
|
10367
10366
|
});
|
|
10368
10367
|
};
|
|
10369
10368
|
var w = function() {
|
|
10370
|
-
function
|
|
10369
|
+
function S(b) {
|
|
10371
10370
|
this.$L = C(b.locale, null, !0), this.parse(b);
|
|
10372
10371
|
}
|
|
10373
|
-
var N =
|
|
10372
|
+
var N = S.prototype;
|
|
10374
10373
|
return N.parse = function(b) {
|
|
10375
10374
|
this.$d = function(B) {
|
|
10376
10375
|
var k = B.date, V = B.utc;
|
|
@@ -10410,11 +10409,11 @@ var Za = { exports: {} };
|
|
|
10410
10409
|
}, N.valueOf = function() {
|
|
10411
10410
|
return this.$d.getTime();
|
|
10412
10411
|
}, N.startOf = function(b, B) {
|
|
10413
|
-
var k = this, V = !!P.u(B) || B, $ = P.p(b), j = function(
|
|
10414
|
-
var q = P.w(k.$u ? Date.UTC(k.$y, pe,
|
|
10412
|
+
var k = this, V = !!P.u(B) || B, $ = P.p(b), j = function(Ie, pe) {
|
|
10413
|
+
var q = P.w(k.$u ? Date.UTC(k.$y, pe, Ie) : new Date(k.$y, pe, Ie), k);
|
|
10415
10414
|
return V ? q : q.endOf(d);
|
|
10416
|
-
}, R = function(
|
|
10417
|
-
return P.w(k.toDate()[
|
|
10415
|
+
}, R = function(Ie, pe) {
|
|
10416
|
+
return P.w(k.toDate()[Ie].apply(k.toDate("s"), (V ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(pe)), k);
|
|
10418
10417
|
}, J = this.$W, te = this.$M, W = this.$D, ge = "set" + (this.$u ? "UTC" : "");
|
|
10419
10418
|
switch ($) {
|
|
10420
10419
|
case T:
|
|
@@ -10422,7 +10421,7 @@ var Za = { exports: {} };
|
|
|
10422
10421
|
case c:
|
|
10423
10422
|
return V ? j(1, te) : j(0, te + 1);
|
|
10424
10423
|
case s:
|
|
10425
|
-
var
|
|
10424
|
+
var Se = this.$locale().weekStart || 0, Ke = (J < Se ? J + 7 : J) - Se;
|
|
10426
10425
|
return j(V ? W - Ke : W + (6 - Ke), te);
|
|
10427
10426
|
case d:
|
|
10428
10427
|
case g:
|
|
@@ -10473,15 +10472,15 @@ var Za = { exports: {} };
|
|
|
10473
10472
|
var B = this, k = this.$locale();
|
|
10474
10473
|
if (!this.isValid())
|
|
10475
10474
|
return k.invalidDate || D;
|
|
10476
|
-
var V = b || "YYYY-MM-DDTHH:mm:ssZ", $ = P.z(this), j = this.$H, R = this.$m, J = this.$M, te = k.weekdays, W = k.months, ge = k.meridiem,
|
|
10475
|
+
var V = b || "YYYY-MM-DDTHH:mm:ssZ", $ = P.z(this), j = this.$H, R = this.$m, J = this.$M, te = k.weekdays, W = k.months, ge = k.meridiem, Se = function(pe, q, ne, ce) {
|
|
10477
10476
|
return pe && (pe[q] || pe(B, V)) || ne[q].slice(0, ce);
|
|
10478
10477
|
}, Ke = function(pe) {
|
|
10479
10478
|
return P.s(j % 12 || 12, pe, "0");
|
|
10480
|
-
}, qe = ge || function(
|
|
10481
|
-
var ne =
|
|
10479
|
+
}, qe = ge || function(Ie, pe, q) {
|
|
10480
|
+
var ne = Ie < 12 ? "AM" : "PM";
|
|
10482
10481
|
return q ? ne.toLowerCase() : ne;
|
|
10483
10482
|
};
|
|
10484
|
-
return V.replace(A, function(
|
|
10483
|
+
return V.replace(A, function(Ie, pe) {
|
|
10485
10484
|
return pe || function(q) {
|
|
10486
10485
|
switch (q) {
|
|
10487
10486
|
case "YY":
|
|
@@ -10493,9 +10492,9 @@ var Za = { exports: {} };
|
|
|
10493
10492
|
case "MM":
|
|
10494
10493
|
return P.s(J + 1, 2, "0");
|
|
10495
10494
|
case "MMM":
|
|
10496
|
-
return
|
|
10495
|
+
return Se(k.monthsShort, J, W, 3);
|
|
10497
10496
|
case "MMMM":
|
|
10498
|
-
return
|
|
10497
|
+
return Se(W, J);
|
|
10499
10498
|
case "D":
|
|
10500
10499
|
return B.$D;
|
|
10501
10500
|
case "DD":
|
|
@@ -10503,9 +10502,9 @@ var Za = { exports: {} };
|
|
|
10503
10502
|
case "d":
|
|
10504
10503
|
return String(B.$W);
|
|
10505
10504
|
case "dd":
|
|
10506
|
-
return
|
|
10505
|
+
return Se(k.weekdaysMin, B.$W, te, 2);
|
|
10507
10506
|
case "ddd":
|
|
10508
|
-
return
|
|
10507
|
+
return Se(k.weekdaysShort, B.$W, te, 3);
|
|
10509
10508
|
case "dddd":
|
|
10510
10509
|
return te[B.$W];
|
|
10511
10510
|
case "H":
|
|
@@ -10534,7 +10533,7 @@ var Za = { exports: {} };
|
|
|
10534
10533
|
return $;
|
|
10535
10534
|
}
|
|
10536
10535
|
return null;
|
|
10537
|
-
}(
|
|
10536
|
+
}(Ie) || $.replace(":", "");
|
|
10538
10537
|
});
|
|
10539
10538
|
}, N.utcOffset = function() {
|
|
10540
10539
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
@@ -10590,16 +10589,16 @@ var Za = { exports: {} };
|
|
|
10590
10589
|
return this.$d.toISOString();
|
|
10591
10590
|
}, N.toString = function() {
|
|
10592
10591
|
return this.$d.toUTCString();
|
|
10593
|
-
},
|
|
10592
|
+
}, S;
|
|
10594
10593
|
}(), E = w.prototype;
|
|
10595
|
-
return x.prototype = E, [["$ms", l], ["$s", r], ["$m", i], ["$H", u], ["$W", d], ["$M", c], ["$y", T], ["$D", g]].forEach(function(
|
|
10596
|
-
E[
|
|
10597
|
-
return this.$g(N,
|
|
10594
|
+
return x.prototype = E, [["$ms", l], ["$s", r], ["$m", i], ["$H", u], ["$W", d], ["$M", c], ["$y", T], ["$D", g]].forEach(function(S) {
|
|
10595
|
+
E[S[1]] = function(N) {
|
|
10596
|
+
return this.$g(N, S[0], S[1]);
|
|
10598
10597
|
};
|
|
10599
|
-
}), x.extend = function(
|
|
10600
|
-
return
|
|
10601
|
-
}, x.locale = C, x.isDayjs = y, x.unix = function(
|
|
10602
|
-
return x(1e3 *
|
|
10598
|
+
}), x.extend = function(S, N) {
|
|
10599
|
+
return S.$i || (S(N, w, x), S.$i = !0), x;
|
|
10600
|
+
}, x.locale = C, x.isDayjs = y, x.unix = function(S) {
|
|
10601
|
+
return x(1e3 * S);
|
|
10603
10602
|
}, x.en = f[v], x.Ls = f, x.p = {}, x;
|
|
10604
10603
|
});
|
|
10605
10604
|
})(Za);
|
|
@@ -10614,7 +10613,7 @@ var bu = { exports: {} };
|
|
|
10614
10613
|
o.exports = n(Za.exports);
|
|
10615
10614
|
})(hn, function(t) {
|
|
10616
10615
|
function n(r) {
|
|
10617
|
-
return r &&
|
|
10616
|
+
return r && _o(r) == "object" && "default" in r ? r : {
|
|
10618
10617
|
default: r
|
|
10619
10618
|
};
|
|
10620
10619
|
}
|
|
@@ -10909,7 +10908,7 @@ const _u = { class: "gConfigProvider" }, Tu = /* @__PURE__ */ ae({
|
|
|
10909
10908
|
}), (c, m) => (p(), H("div", _u, [
|
|
10910
10909
|
U(h(gl), { globalConfig: s.value }, {
|
|
10911
10910
|
default: L(() => [
|
|
10912
|
-
|
|
10911
|
+
Oe(c.$slots, "default")
|
|
10913
10912
|
]),
|
|
10914
10913
|
_: 3
|
|
10915
10914
|
}, 8, ["globalConfig"])
|
|
@@ -10920,13 +10919,13 @@ const _u = { class: "gConfigProvider" }, Tu = /* @__PURE__ */ ae({
|
|
|
10920
10919
|
width: "200",
|
|
10921
10920
|
height: "140",
|
|
10922
10921
|
fill: "none"
|
|
10923
|
-
}, Cu = /* @__PURE__ */ nn('<g mask="url(#mask0_17_619)"><path fill="#97A3B7" d="M30 62h88v60H30V62Z"></path><g filter="url(#filter0_f_17_619)"><path fill="#E3E6EB" d="M12 84h80v60H12z"></path></g><g filter="url(#filter1_f_17_619)"><path fill="#E3E6EB" d="M80 54h80v60H80z"></path></g><path fill="#fff" d="M46 105h32v2H46zM46 98h32v2H46zM46 88h16v2H46z"></path></g><path fill="currentcolor" d="M63 20h88v10H63V20Z" opacity=".9"></path><mask id="a" width="88" height="50" x="63" y="30" maskUnits="userSpaceOnUse" style="mask-type:alpha;"><path fill="currentcolor" d="M63 30h88v50H63V30Z"></path></mask><g mask="url(#a)"><path fill="currentcolor" d="M63 30h88v50H63V30Z"></path><g filter="url(#filter2_f_17_619)" opacity=".3"><path fill="#97A3B7" d="M30 62h88v60H30V62Z"></path></g></g><path fill="#fff" fill-rule="evenodd" d="m95.686 40.858 10.278 10.277A4.03 4.03 0 0 1 107 51c2.213 0 4 1.786 4 4 0 .357-.047.704-.134 1.033l10.276 10.28-2.828 2.829-4.598-4.597A17.103 17.103 0 0 1 107 65.909c-7.273 0-13.484-4.524-16-10.91a17.29 17.29 0 0 1 5.696-7.472l-3.838-3.84 2.828-2.83ZM99 55a8.003 8.003 0 0 0 12.063 6.892l-3.029-3.026c-.33.087-.676.134-1.034.134-2.213 0-4-1.787-4-4 0-.358.047-.704.134-1.034l-3.027-3.027A7.96 7.96 0 0 0 99 54.999Zm8-10.91c7.273 0 13.484 4.524 16 10.91a17.273 17.273 0 0 1-4.166 6.177l-4.105-4.105a8.003 8.003 0 0 0-9.801-9.8l-2.55-2.551c1.47-.41 3.02-.63 4.622-.63Z" clip-rule="evenodd"></path><path fill="#fff" d="M68 24h2v2h-2zM74 24h2v2h-2zM80 24h66v2H80z"></path><path fill="#fff" stroke="#000" d="m157 54 24.249 42h-48.498L157 54Z"></path><path stroke="#000" d="M157 89V71"></path>', 8),
|
|
10922
|
+
}, Cu = /* @__PURE__ */ nn('<g mask="url(#mask0_17_619)"><path fill="#97A3B7" d="M30 62h88v60H30V62Z"></path><g filter="url(#filter0_f_17_619)"><path fill="#E3E6EB" d="M12 84h80v60H12z"></path></g><g filter="url(#filter1_f_17_619)"><path fill="#E3E6EB" d="M80 54h80v60H80z"></path></g><path fill="#fff" d="M46 105h32v2H46zM46 98h32v2H46zM46 88h16v2H46z"></path></g><path fill="currentcolor" d="M63 20h88v10H63V20Z" opacity=".9"></path><mask id="a" width="88" height="50" x="63" y="30" maskUnits="userSpaceOnUse" style="mask-type:alpha;"><path fill="currentcolor" d="M63 30h88v50H63V30Z"></path></mask><g mask="url(#a)"><path fill="currentcolor" d="M63 30h88v50H63V30Z"></path><g filter="url(#filter2_f_17_619)" opacity=".3"><path fill="#97A3B7" d="M30 62h88v60H30V62Z"></path></g></g><path fill="#fff" fill-rule="evenodd" d="m95.686 40.858 10.278 10.277A4.03 4.03 0 0 1 107 51c2.213 0 4 1.786 4 4 0 .357-.047.704-.134 1.033l10.276 10.28-2.828 2.829-4.598-4.597A17.103 17.103 0 0 1 107 65.909c-7.273 0-13.484-4.524-16-10.91a17.29 17.29 0 0 1 5.696-7.472l-3.838-3.84 2.828-2.83ZM99 55a8.003 8.003 0 0 0 12.063 6.892l-3.029-3.026c-.33.087-.676.134-1.034.134-2.213 0-4-1.787-4-4 0-.358.047-.704.134-1.034l-3.027-3.027A7.96 7.96 0 0 0 99 54.999Zm8-10.91c7.273 0 13.484 4.524 16 10.91a17.273 17.273 0 0 1-4.166 6.177l-4.105-4.105a8.003 8.003 0 0 0-9.801-9.8l-2.55-2.551c1.47-.41 3.02-.63 4.622-.63Z" clip-rule="evenodd"></path><path fill="#fff" d="M68 24h2v2h-2zM74 24h2v2h-2zM80 24h66v2H80z"></path><path fill="#fff" stroke="#000" d="m157 54 24.249 42h-48.498L157 54Z"></path><path stroke="#000" d="M157 89V71"></path>', 8), Iu = [
|
|
10924
10923
|
Cu
|
|
10925
10924
|
];
|
|
10926
|
-
function
|
|
10927
|
-
return p(), H("svg", Mu, [...
|
|
10925
|
+
function Su(o, e) {
|
|
10926
|
+
return p(), H("svg", Mu, [...Iu]);
|
|
10928
10927
|
}
|
|
10929
|
-
const
|
|
10928
|
+
const Zn = { render: Su }, Lu = {
|
|
10930
10929
|
xmlns: "http://www.w3.org/2000/svg",
|
|
10931
10930
|
width: "200",
|
|
10932
10931
|
height: "140",
|
|
@@ -10962,22 +10961,22 @@ const xu = { render: $u }, Ou = {
|
|
|
10962
10961
|
const e = o, t = O(() => {
|
|
10963
10962
|
switch (e.type) {
|
|
10964
10963
|
case "403":
|
|
10965
|
-
return
|
|
10964
|
+
return Zn;
|
|
10966
10965
|
case "404":
|
|
10967
10966
|
return Au;
|
|
10968
10967
|
case "500":
|
|
10969
10968
|
return xu;
|
|
10970
10969
|
default:
|
|
10971
|
-
return
|
|
10970
|
+
return Zn;
|
|
10972
10971
|
}
|
|
10973
10972
|
});
|
|
10974
10973
|
return (n, a) => (p(), H("div", Ou, [
|
|
10975
10974
|
ee("div", Vu, [
|
|
10976
|
-
(p(), F(
|
|
10975
|
+
(p(), F(Jn(t.value)))
|
|
10977
10976
|
]),
|
|
10978
10977
|
ee("div", Uu, oe(n.title), 1),
|
|
10979
10978
|
ee("div", Ru, oe(n.tip), 1),
|
|
10980
|
-
|
|
10979
|
+
Oe(n.$slots, "default", {}, void 0, !0)
|
|
10981
10980
|
]));
|
|
10982
10981
|
}
|
|
10983
10982
|
});
|
|
@@ -11060,15 +11059,15 @@ const Qa = /* @__PURE__ */ st(ju, [["__scopeId", "data-v-75fdffa5"]]), Zc = /* @
|
|
|
11060
11059
|
r || o.parentNode && o.parentNode.removeChild(o);
|
|
11061
11060
|
}
|
|
11062
11061
|
}
|
|
11063
|
-
},
|
|
11062
|
+
}, Qn = {
|
|
11064
11063
|
permission: zu
|
|
11065
11064
|
}, Hu = {
|
|
11066
11065
|
install(o) {
|
|
11067
|
-
Object.keys(
|
|
11068
|
-
o.directive(e,
|
|
11066
|
+
Object.keys(Qn).forEach((e) => {
|
|
11067
|
+
o.directive(e, Qn[e]);
|
|
11069
11068
|
});
|
|
11070
11069
|
}
|
|
11071
|
-
}, Gu = "@gonsin/gview", Ku = "2.0.
|
|
11070
|
+
}, Gu = "@gonsin/gview", Ku = "2.0.112", Wu = "dist/index.mjs", Yu = "dist/types/index.d.ts", qu = [
|
|
11072
11071
|
"dist",
|
|
11073
11072
|
"README.md",
|
|
11074
11073
|
"CHANGELOG.md"
|
|
@@ -11179,7 +11178,7 @@ const Qa = /* @__PURE__ */ st(ju, [["__scopeId", "data-v-75fdffa5"]]), Zc = /* @
|
|
|
11179
11178
|
return (n, a) => (p(), H("div", {
|
|
11180
11179
|
class: Z(`${t}`)
|
|
11181
11180
|
}, [
|
|
11182
|
-
|
|
11181
|
+
Oe(n.$slots, "tabs"),
|
|
11183
11182
|
ee("div", {
|
|
11184
11183
|
class: Z(`${t}--footer`)
|
|
11185
11184
|
}, [
|
|
@@ -11256,7 +11255,7 @@ const Qa = /* @__PURE__ */ st(ju, [["__scopeId", "data-v-75fdffa5"]]), Zc = /* @
|
|
|
11256
11255
|
}, null, 8, ["title", "subTitle"]),
|
|
11257
11256
|
U(ec, null, {
|
|
11258
11257
|
tabs: L(() => [
|
|
11259
|
-
|
|
11258
|
+
Oe(e.$slots, "tabs")
|
|
11260
11259
|
]),
|
|
11261
11260
|
_: 3
|
|
11262
11261
|
})
|
|
@@ -11305,56 +11304,56 @@ export {
|
|
|
11305
11304
|
Jc as GLogin,
|
|
11306
11305
|
Yc as GSettingDialog,
|
|
11307
11306
|
Jo as GUploader,
|
|
11308
|
-
|
|
11309
|
-
|
|
11310
|
-
|
|
11311
|
-
|
|
11312
|
-
|
|
11307
|
+
Vo as INIT_WS_MODEL,
|
|
11308
|
+
Dn as LANG_CONFIG,
|
|
11309
|
+
Fo as LOCAL_BASE_PERMISSIONS,
|
|
11310
|
+
oo as LOCAL_COLUMN_DATA,
|
|
11311
|
+
Bo as LOCAL_CONFIG,
|
|
11313
11312
|
Bc as LOCAL_DATA_ID,
|
|
11314
11313
|
Ec as LOCAL_EDIFICE_INFO,
|
|
11315
|
-
|
|
11314
|
+
$o as LOCAL_INIT_TAB_MENU_LIST,
|
|
11316
11315
|
Ln as LOCAL_LOGIN_STATUS,
|
|
11317
11316
|
Ac as LOCAL_MENU,
|
|
11318
|
-
|
|
11319
|
-
|
|
11320
|
-
|
|
11317
|
+
Bn as LOCAL_SESSION_ID,
|
|
11318
|
+
Ht as LOCAL_SIDE_MENU_CONFIG,
|
|
11319
|
+
xo as LOCAL_TAB_MENU,
|
|
11321
11320
|
Po as LOCAL_THEME_CONFIG,
|
|
11322
11321
|
Dc as LOCAL_USER,
|
|
11323
|
-
|
|
11324
|
-
|
|
11322
|
+
Nn as LOCAL_USER_PERMISSIONS,
|
|
11323
|
+
Sn as LOCAL_WEBSITE_SETTING_KEY,
|
|
11325
11324
|
Me as MessageManager,
|
|
11326
11325
|
sd as NProgress,
|
|
11327
11326
|
Qc as NoPermission,
|
|
11328
11327
|
Zc as NotFound,
|
|
11329
|
-
|
|
11328
|
+
ra as PREFIX,
|
|
11330
11329
|
Xc as PROJECT_PREFIX,
|
|
11331
11330
|
fa as RequestHttp,
|
|
11332
|
-
|
|
11331
|
+
no as SESSION_FORM_DATA_CACHE,
|
|
11333
11332
|
ca as StorageUtils,
|
|
11334
|
-
|
|
11335
|
-
|
|
11333
|
+
An as TOKEN_EXPIRED_TIME,
|
|
11334
|
+
En as TOKEN_NAME,
|
|
11336
11335
|
or as WS_INTERVAL_TIMEOUT,
|
|
11337
11336
|
nr as WS_RESET_TIMEOUT,
|
|
11338
11337
|
tr as WS_SERVICE_URL,
|
|
11339
11338
|
sr as boardClass,
|
|
11340
11339
|
jt as checkPlaceholderIfHidden,
|
|
11341
11340
|
lr as commonDialogClass,
|
|
11342
|
-
|
|
11343
|
-
|
|
11341
|
+
lo as commonFormClass,
|
|
11342
|
+
ro as commonHeaderClass,
|
|
11344
11343
|
rr as commonTableClass,
|
|
11345
11344
|
Ql as configHttp,
|
|
11346
11345
|
pa as deepCompareObjects,
|
|
11347
11346
|
od as default,
|
|
11348
11347
|
zc as dialogClass,
|
|
11349
|
-
|
|
11350
|
-
|
|
11348
|
+
Uo as dialogPluginClass,
|
|
11349
|
+
Oo as downloadFile,
|
|
11351
11350
|
Zo as evalContext,
|
|
11352
11351
|
Jl as filterTreeValues,
|
|
11353
11352
|
Ul as flattenMenuData,
|
|
11354
11353
|
ir as formClass,
|
|
11355
|
-
|
|
11354
|
+
xn as formItemClass,
|
|
11356
11355
|
Lt as gLoginClass,
|
|
11357
|
-
|
|
11356
|
+
qo as generateMenuTree,
|
|
11358
11357
|
da as getBrandColor,
|
|
11359
11358
|
Xl as getFileNameFromContentDisposition,
|
|
11360
11359
|
ua as getHomeUrl,
|
|
@@ -11363,8 +11362,8 @@ export {
|
|
|
11363
11362
|
ql as highlightSearchResult,
|
|
11364
11363
|
Je as http,
|
|
11365
11364
|
td as i18n,
|
|
11366
|
-
|
|
11367
|
-
|
|
11365
|
+
Ve as initEmptyFormItems,
|
|
11366
|
+
Qt as initFormModel,
|
|
11368
11367
|
Wl as initTableColumns,
|
|
11369
11368
|
Yl as initTableDisplayColumns,
|
|
11370
11369
|
ma as initTreeSelectorData,
|
|
@@ -11376,32 +11375,32 @@ export {
|
|
|
11376
11375
|
Fc as isDate,
|
|
11377
11376
|
xl as isDef,
|
|
11378
11377
|
Uc as isElement,
|
|
11379
|
-
|
|
11378
|
+
vo as isFormVoid,
|
|
11380
11379
|
At as isFunction,
|
|
11381
11380
|
at as isNull,
|
|
11382
11381
|
jc as isNullAndUnDef,
|
|
11383
11382
|
je as isNullOrUnDef,
|
|
11384
11383
|
Pc as isNumber,
|
|
11385
11384
|
ln as isObject,
|
|
11386
|
-
|
|
11385
|
+
Jt as isOuterUrl,
|
|
11387
11386
|
Ol as isPromise,
|
|
11388
|
-
|
|
11387
|
+
Pn as isResourceUrl,
|
|
11389
11388
|
Rc as isServer,
|
|
11390
11389
|
xc as isString,
|
|
11391
|
-
|
|
11390
|
+
sa as isUnDef,
|
|
11392
11391
|
Vc as isWindow,
|
|
11393
11392
|
Qe as layoutClass,
|
|
11394
|
-
|
|
11393
|
+
ko as loadSessionId,
|
|
11395
11394
|
he as localStorageUtils,
|
|
11396
|
-
|
|
11395
|
+
Zt as nanoid,
|
|
11397
11396
|
wt as resolveUrl,
|
|
11398
11397
|
vt as sessionStorageUtils,
|
|
11399
11398
|
ed as setupStore,
|
|
11400
11399
|
ur as tabClass,
|
|
11401
11400
|
Ut as tableClass,
|
|
11402
|
-
|
|
11401
|
+
so as uploaderClass,
|
|
11403
11402
|
ia as urlToPath,
|
|
11404
|
-
|
|
11403
|
+
eo as useCacheStore,
|
|
11405
11404
|
ha as useColumnStore,
|
|
11406
11405
|
ld as useI18n,
|
|
11407
11406
|
sn as usePropsStore,
|