@gonsin/gview 2.0.133 → 2.0.135
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 +585 -569
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
1
|
+
var aa = Object.defineProperty;
|
|
2
|
+
var ia = (t, e, u) => e in t ? aa(t, e, { enumerable: !0, configurable: !0, writable: !0, value: u }) : t[e] = u;
|
|
3
|
+
var su = (t, e, u) => (ia(t, typeof e != "symbol" ? e + "" : e, u), u);
|
|
4
4
|
import { useI18n as de } from "gonsin-i18n";
|
|
5
5
|
import { useI18n as hr } from "gonsin-i18n";
|
|
6
|
-
import { defineComponent as ne, ref as B, computed as w, resolveComponent as K, openBlock as T, createBlock as S, normalizeClass as Z, withCtx as x, createVNode as Q, createElementVNode as ue, toDisplayString as oe, unref as d, createElementBlock as R, Fragment as Ne, renderList as me, createCommentVNode as J, createTextVNode as se, withModifiers as
|
|
7
|
-
import { useRouter as uu, useRoute as
|
|
8
|
-
import { defineStore as
|
|
9
|
-
import
|
|
6
|
+
import { defineComponent as ne, ref as B, computed as w, resolveComponent as K, openBlock as T, createBlock as S, normalizeClass as Z, withCtx as x, createVNode as Q, createElementVNode as ue, toDisplayString as oe, unref as d, createElementBlock as R, Fragment as Ne, renderList as me, createCommentVNode as J, createTextVNode as se, withModifiers as It, nextTick as tn, inject as Ye, normalizeStyle as Xe, normalizeProps as ku, mergeProps as ye, guardReactiveProps as Ju, renderSlot as _e, onMounted as Be, onBeforeUnmount as lu, watch as Te, isRef as la, Transition as Ma, createSlots as Tt, useSlots as on, resolveDynamicComponent as nn, TransitionGroup as ra, toRefs as sa, provide as ju, reactive as Ot, onBeforeMount as tt, toRaw as ft, shallowRef as ca, watchEffect as an, defineAsyncComponent as ln, createStaticVNode as ao } from "vue";
|
|
7
|
+
import { useRouter as uu, useRoute as Iu, onBeforeRouteLeave as Mn, onBeforeRouteUpdate as rn } from "vue-router";
|
|
8
|
+
import { defineStore as Qu, storeToRefs as Na } from "pinia";
|
|
9
|
+
import gu from "dayjs";
|
|
10
10
|
import io from "axios";
|
|
11
11
|
import { customAlphabet as Da } from "nanoid";
|
|
12
12
|
import ga from "nprogress";
|
|
13
13
|
import { default as kr } from "nprogress";
|
|
14
14
|
import { get as Me, set as Ze, cloneDeep as Fe, isPlainObject as Io, isArray as Ao, isEqual as yo } from "lodash-es";
|
|
15
|
-
import { MessagePlugin as Ta, Button as da, Progress as
|
|
16
|
-
import { CloseIcon as
|
|
17
|
-
import { useElementSize as
|
|
18
|
-
import
|
|
19
|
-
import
|
|
20
|
-
import
|
|
15
|
+
import { MessagePlugin as Ta, Button as da, Progress as sn, Tooltip as wu, Link as ja, Tree as Ia, Card as Aa, DialogPlugin as kt, ConfigProvider as ya } from "tdesign-vue-next";
|
|
16
|
+
import { CloseIcon as mu, RefreshIcon as dt, ArrowLeftIcon as mo, ArrowRightIcon as Eo, CloseCircleIcon as fo, MoreIcon as ma, DeleteIcon as Ea, ViewListIcon as fa, PoweroffIcon as pa, ChevronDownIcon as za, Icon as po, AppIcon as xa, UploadIcon as zo, CheckCircleFilledIcon as Ca, PlayCircleFilledIcon as La, PauseCircleFilledIcon as ha, LinkIcon as Oa, ErrorCircleFilledIcon as ka, FileImageIcon as Xu, FilePdfIcon as cn, VideoIcon as Zt, FileIconIcon as Kt, FolderOpenIcon as wa, FolderIcon as Sa, FilterIcon as va, SearchIcon as Ua, EllipsisIcon as Qa, UserIcon as wt, BrowseIcon as ba } from "tdesign-icons-vue-next";
|
|
17
|
+
import { useElementSize as Nn, onClickOutside as xo, useEventListener as Co, useDebounceFn as St } from "@vueuse/core";
|
|
18
|
+
import jt from "number-precision";
|
|
19
|
+
import Dn from "qs";
|
|
20
|
+
import du from "mustache";
|
|
21
21
|
import { Toolbar as Ya, Editor as Ba } from "@wangeditor/editor-for-vue";
|
|
22
22
|
import Lo from "he";
|
|
23
23
|
function Ge(t, e, u) {
|
|
@@ -26,51 +26,51 @@ function Ge(t, e, u) {
|
|
|
26
26
|
n.component(e || a || o.name, t), u && n.directive(u.name, u.comp);
|
|
27
27
|
}, o;
|
|
28
28
|
}
|
|
29
|
-
const
|
|
29
|
+
const gn = "VENUS_WEB", we = (t) => `${gn}_${t}`, ho = we("WEBSITE_SETTING"), Oo = we("LOGIN_STATUS"), er = we("USER"), ur = we("LOCAL_EDIFICE_INFO"), vt = we("CONFIG"), Ut = we("BASE_PERMISSIONS"), ko = we("USER_PERMISSIONS"), Qt = we("THEME_CONFIG"), wo = we("LANG"), tr = we("MENU"), Wu = we("SIDE_MENU_CONFIG"), So = we("SIDE_MENU_WIDTH"), bt = we("INIT_TAB_MENU_LIST"), Yt = we("TAB_MENU"), vo = we("TOKEN"), Uo = we("TOKEN_EXPIRED_TIME"), Qo = we("SESSION_ID"), or = we("DATA_ID"), Gu = we("COLUMN_DATA"), bo = we("COLUMN_WIDTH_DATA"), it = we("FORM_DATA_CACHE"), Fa = {
|
|
30
30
|
brandTheme: "default",
|
|
31
31
|
// 主题色
|
|
32
32
|
displayMode: "light"
|
|
33
33
|
// 主题模式 light | dark | auto
|
|
34
34
|
}, _a = Object.prototype.toString;
|
|
35
|
-
function
|
|
35
|
+
function Au(t, e) {
|
|
36
36
|
return _a.call(t) === `[object ${e}]`;
|
|
37
37
|
}
|
|
38
|
-
function
|
|
39
|
-
return
|
|
38
|
+
function Su(t) {
|
|
39
|
+
return Au(t, "Function");
|
|
40
40
|
}
|
|
41
|
-
const Pa = (t) => typeof t < "u",
|
|
41
|
+
const Pa = (t) => typeof t < "u", Tn = (t) => !Pa(t), lo = (t) => t !== null && Au(t, "Object");
|
|
42
42
|
function nr(t) {
|
|
43
|
-
return
|
|
43
|
+
return Au(t, "Date");
|
|
44
44
|
}
|
|
45
45
|
function ar(t) {
|
|
46
|
-
return
|
|
46
|
+
return Au(t, "Number");
|
|
47
47
|
}
|
|
48
48
|
function ir(t) {
|
|
49
|
-
return
|
|
49
|
+
return Au(t, "AsyncFunction");
|
|
50
50
|
}
|
|
51
51
|
function Va(t) {
|
|
52
|
-
return
|
|
52
|
+
return Au(t, "Promise") && lo(t) && Su(t.then) && Su(t.catch);
|
|
53
53
|
}
|
|
54
54
|
function lr(t) {
|
|
55
|
-
return
|
|
55
|
+
return Au(t, "String");
|
|
56
56
|
}
|
|
57
57
|
function $a(t) {
|
|
58
|
-
return
|
|
58
|
+
return Au(t, "Boolean");
|
|
59
59
|
}
|
|
60
|
-
function
|
|
60
|
+
function pu(t) {
|
|
61
61
|
return t && Array.isArray(t);
|
|
62
62
|
}
|
|
63
|
-
const Mr = () => typeof window < "u", rr = (t) => typeof window < "u" &&
|
|
63
|
+
const Mr = () => typeof window < "u", rr = (t) => typeof window < "u" && Au(t, "Window"), sr = (t) => lo(t) && !!t.tagName, cr = typeof window > "u";
|
|
64
64
|
function iu(t) {
|
|
65
65
|
return t === null;
|
|
66
66
|
}
|
|
67
67
|
function Nr(t) {
|
|
68
|
-
return
|
|
68
|
+
return Tn(t) && iu(t);
|
|
69
69
|
}
|
|
70
70
|
function $e(t) {
|
|
71
|
-
return
|
|
71
|
+
return Tn(t) || iu(t);
|
|
72
72
|
}
|
|
73
|
-
function
|
|
73
|
+
function At(t) {
|
|
74
74
|
return $e(t) || (t + "").trim() == "";
|
|
75
75
|
}
|
|
76
76
|
function qt(t, e, u) {
|
|
@@ -101,8 +101,8 @@ function qt(t, e, u) {
|
|
|
101
101
|
return o;
|
|
102
102
|
});
|
|
103
103
|
}
|
|
104
|
-
function
|
|
105
|
-
return t.map((e) => (e.children && e.children.length > 0 && (e.children =
|
|
104
|
+
function dn(t) {
|
|
105
|
+
return t.map((e) => (e.children && e.children.length > 0 && (e.children = dn(e.children)), e.url && !e.path && (e.path = e.url), e));
|
|
106
106
|
}
|
|
107
107
|
const Ra = (t) => {
|
|
108
108
|
const e = [];
|
|
@@ -126,13 +126,13 @@ const Ra = (t) => {
|
|
|
126
126
|
return u(t, null), e.forEach((o, n) => {
|
|
127
127
|
o.sort = n;
|
|
128
128
|
}), e;
|
|
129
|
-
},
|
|
129
|
+
}, jn = (t, e = "") => {
|
|
130
130
|
for (const u of t) {
|
|
131
131
|
if (u.url) {
|
|
132
132
|
e = u.url;
|
|
133
133
|
break;
|
|
134
134
|
}
|
|
135
|
-
const o =
|
|
135
|
+
const o = jn(u.children || [], e);
|
|
136
136
|
if (o) {
|
|
137
137
|
e = o;
|
|
138
138
|
break;
|
|
@@ -140,12 +140,12 @@ const Ra = (t) => {
|
|
|
140
140
|
}
|
|
141
141
|
return e;
|
|
142
142
|
};
|
|
143
|
-
class
|
|
143
|
+
class In {
|
|
144
144
|
constructor(e = "local") {
|
|
145
145
|
/**
|
|
146
146
|
* 存储实例: 默认为 local
|
|
147
147
|
*/
|
|
148
|
-
|
|
148
|
+
su(this, "storage");
|
|
149
149
|
switch (e) {
|
|
150
150
|
case "local":
|
|
151
151
|
this.storage = window.localStorage;
|
|
@@ -173,19 +173,19 @@ class jn {
|
|
|
173
173
|
this.storage.clear();
|
|
174
174
|
}
|
|
175
175
|
}
|
|
176
|
-
const
|
|
177
|
-
function
|
|
176
|
+
const Eu = new In("session"), ge = new In("local");
|
|
177
|
+
function et(t) {
|
|
178
178
|
return Da(
|
|
179
179
|
"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",
|
|
180
180
|
32
|
|
181
181
|
)(t);
|
|
182
182
|
}
|
|
183
|
-
function
|
|
183
|
+
function Mu() {
|
|
184
184
|
const t = localStorage.getItem(Qo);
|
|
185
185
|
if ((t ?? "") != "")
|
|
186
186
|
return t;
|
|
187
187
|
{
|
|
188
|
-
const e =
|
|
188
|
+
const e = et(32);
|
|
189
189
|
return localStorage.setItem(Qo, e), e;
|
|
190
190
|
}
|
|
191
191
|
}
|
|
@@ -206,7 +206,7 @@ const Wa = {
|
|
|
206
206
|
refreshTokenUrl: "/api/base/token/refresh"
|
|
207
207
|
};
|
|
208
208
|
async function Ga(t) {
|
|
209
|
-
const e =
|
|
209
|
+
const e = Mu(), { data: u } = await io.create()({
|
|
210
210
|
method: "POST",
|
|
211
211
|
url: `${Wa.refreshTokenUrl}?sessionId=${e}`,
|
|
212
212
|
headers: {
|
|
@@ -218,7 +218,7 @@ async function Ga(t) {
|
|
|
218
218
|
function Ha(t) {
|
|
219
219
|
return t.replace(/([A-Z])/g, "_$1").toUpperCase();
|
|
220
220
|
}
|
|
221
|
-
function
|
|
221
|
+
function An(t, e) {
|
|
222
222
|
const u = /^#[A-F\d]{6}$/i.test(t) ? t : Ha(t);
|
|
223
223
|
return e[u || "DEFAULT"];
|
|
224
224
|
}
|
|
@@ -242,9 +242,9 @@ function qa(t) {
|
|
|
242
242
|
return t === void 0 || t === null || t === "" ? "" : t === 0 ? 0 : t === "0" ? "0" : t;
|
|
243
243
|
}
|
|
244
244
|
window.v = qa;
|
|
245
|
-
const
|
|
245
|
+
const Fu = 15, Ja = 16 * 2, Xa = 32;
|
|
246
246
|
function ei(t) {
|
|
247
|
-
return /[\u4e00-\u9fa5]/.test(t) ?
|
|
247
|
+
return /[\u4e00-\u9fa5]/.test(t) ? Fu : /[A-Z]/.test(t) ? Fu * 0.6 : /[a-z]/.test(t) ? Fu * 0.5 : /[0-9]/.test(t) ? Fu * 0.6 : /\s/.test(t) ? Fu * 0.3 : Fu * 0.5;
|
|
248
248
|
}
|
|
249
249
|
function ui(t) {
|
|
250
250
|
return Array.from(t).reduce((e, u) => e + ei(u), 0);
|
|
@@ -338,17 +338,17 @@ function ai(t, e) {
|
|
|
338
338
|
}
|
|
339
339
|
return t;
|
|
340
340
|
}
|
|
341
|
-
function
|
|
341
|
+
function xu(t) {
|
|
342
342
|
let e = {};
|
|
343
343
|
return t.indexOf("?") !== -1 && t.split("?")[1].split("&").forEach((o) => {
|
|
344
344
|
e[o.split("=")[0]] = o.split("=")[1];
|
|
345
345
|
}), e;
|
|
346
346
|
}
|
|
347
|
-
function
|
|
347
|
+
function Tu(t, e, u = !0) {
|
|
348
348
|
const o = new URLSearchParams(e), n = `?${o.toString()}`;
|
|
349
|
-
return u && !
|
|
349
|
+
return u && !ot(t) && (t = `${window.location.protocol}//${t}`), o.toString() ? `${t}${n}` : t;
|
|
350
350
|
}
|
|
351
|
-
function
|
|
351
|
+
function ot(t) {
|
|
352
352
|
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(t);
|
|
353
353
|
}
|
|
354
354
|
function Yo(t) {
|
|
@@ -356,9 +356,9 @@ function Yo(t) {
|
|
|
356
356
|
}
|
|
357
357
|
class ii {
|
|
358
358
|
constructor(e) {
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
359
|
+
su(this, "messageQueue", /* @__PURE__ */ new Map());
|
|
360
|
+
su(this, "displayedMessages", /* @__PURE__ */ new Set());
|
|
361
|
+
su(this, "options", {
|
|
362
362
|
duration: 3e3,
|
|
363
363
|
maxCount: 3
|
|
364
364
|
});
|
|
@@ -405,7 +405,7 @@ const ze = new ii({ duration: 2e3, maxCount: 3 }), Xt = {
|
|
|
405
405
|
// withCredentials: true,
|
|
406
406
|
// crossDomain: true,
|
|
407
407
|
};
|
|
408
|
-
class
|
|
408
|
+
class yn {
|
|
409
409
|
constructor(e = {
|
|
410
410
|
config: Xt,
|
|
411
411
|
enableLog: !0,
|
|
@@ -413,11 +413,11 @@ class An {
|
|
|
413
413
|
enableToken: !0,
|
|
414
414
|
checkToken: !0
|
|
415
415
|
}) {
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
this.sessionId =
|
|
416
|
+
su(this, "sessionId");
|
|
417
|
+
su(this, "service");
|
|
418
|
+
su(this, "router");
|
|
419
|
+
su(this, "token");
|
|
420
|
+
this.sessionId = Mu, this.service = io.create({ ...Xt, ...e.config }), this.router = null, this.token = "", this.service.interceptors.request.use(
|
|
421
421
|
async (u) => {
|
|
422
422
|
const o = ve();
|
|
423
423
|
e.checkToken && (this.token = await this.checkToken());
|
|
@@ -486,7 +486,7 @@ class An {
|
|
|
486
486
|
de();
|
|
487
487
|
const e = ve(), { token: u, tokenExpiredTime: o } = e;
|
|
488
488
|
if (u && o) {
|
|
489
|
-
const i = +
|
|
489
|
+
const i = +gu(), M = o - i;
|
|
490
490
|
if (M > 0 && M <= 60 * 60 * 1e3) {
|
|
491
491
|
const r = await Ga(u);
|
|
492
492
|
if (r.state == 200) {
|
|
@@ -526,13 +526,13 @@ class An {
|
|
|
526
526
|
});
|
|
527
527
|
}
|
|
528
528
|
}
|
|
529
|
-
const li = (t) => new
|
|
529
|
+
const li = (t) => new yn({
|
|
530
530
|
config: t.config ?? Xt,
|
|
531
531
|
enableLog: t.enableLog ?? !0,
|
|
532
532
|
enableAuth: t.enableAuth ?? !0,
|
|
533
533
|
enableToken: t.enableToken ?? !0,
|
|
534
534
|
checkToken: t.checkToken ?? !0
|
|
535
|
-
}), Je = new
|
|
535
|
+
}), Je = new yn(), { T: Hu } = de();
|
|
536
536
|
function Mi(t) {
|
|
537
537
|
var a;
|
|
538
538
|
const e = /filename\*=(UTF-8|ISO-8859-1)''([\w%\-\.]+)/gi, u = [];
|
|
@@ -551,7 +551,7 @@ function Mi(t) {
|
|
|
551
551
|
}
|
|
552
552
|
function Bt(t, e = "", u = "blob", o = {}) {
|
|
553
553
|
if (t == "") {
|
|
554
|
-
ze.info(`${
|
|
554
|
+
ze.info(`${Hu.t("未设置下载链接")}`);
|
|
555
555
|
return;
|
|
556
556
|
}
|
|
557
557
|
const n = ve(), a = n.token ?? "", i = n.userLang ?? "zh-CN";
|
|
@@ -574,7 +574,7 @@ function Bt(t, e = "", u = "blob", o = {}) {
|
|
|
574
574
|
if (M.data.type == "application/json") {
|
|
575
575
|
const I = new Blob([M.data]).text(), f = JSON.parse(await I);
|
|
576
576
|
if (f !== null && Object.keys(f).includes("state") && f.state !== 200) {
|
|
577
|
-
ze.error(`${
|
|
577
|
+
ze.error(`${Hu.t("下载失败")} ${f.message}`);
|
|
578
578
|
return;
|
|
579
579
|
}
|
|
580
580
|
}
|
|
@@ -582,15 +582,15 @@ function Bt(t, e = "", u = "blob", o = {}) {
|
|
|
582
582
|
const N = M.headers["content-disposition"];
|
|
583
583
|
N && (r = Mi(N) ?? "");
|
|
584
584
|
const l = new Blob([M.data], { type: M.data.type }), s = window.URL.createObjectURL(l), D = document.createElement("a");
|
|
585
|
-
D.href = s, e !== "" ? D.download = e : r !== "" && (D.download = r), console.log(`下载链接:${s}`), ze.loading(`${
|
|
585
|
+
D.href = s, e !== "" ? D.download = e : r !== "" && (D.download = r), console.log(`下载链接:${s}`), ze.loading(`${Hu.t("开始下载文件")} ${D.download}`), document.body.appendChild(D), D.click(), window.URL.revokeObjectURL(s);
|
|
586
586
|
}
|
|
587
587
|
});
|
|
588
588
|
} catch (M) {
|
|
589
|
-
ze.error(`${
|
|
589
|
+
ze.error(`${Hu.t("下载失败")} ${M.message}`), console.error(M);
|
|
590
590
|
}
|
|
591
591
|
else if (u == "file") {
|
|
592
592
|
const M = document.createElement("a");
|
|
593
|
-
M.setAttribute("target", "_black"), M.setAttribute("download", e), M.setAttribute("href", t), document.body.appendChild(M), console.log(`下载链接:${t}`), ze.loading(`${
|
|
593
|
+
M.setAttribute("target", "_black"), M.setAttribute("download", e), M.setAttribute("href", t), document.body.appendChild(M), console.log(`下载链接:${t}`), ze.loading(`${Hu.t("开始下载文件")} ${e}`), M.click(), M.remove();
|
|
594
594
|
}
|
|
595
595
|
}
|
|
596
596
|
function Pe(t, e = !1) {
|
|
@@ -612,11 +612,11 @@ function Pe(t, e = !1) {
|
|
|
612
612
|
return null;
|
|
613
613
|
}
|
|
614
614
|
}
|
|
615
|
-
function
|
|
615
|
+
function ut(t, e, u = !1) {
|
|
616
616
|
if (!$e(e) && e.length) {
|
|
617
617
|
if (Object.keys(t).length)
|
|
618
618
|
return e.forEach((o) => {
|
|
619
|
-
o.keyName &&
|
|
619
|
+
o.keyName && At(Me(t, o.keyName)) && (o.itemType === "check_box" || o.itemType === "switch") && Ze(
|
|
620
620
|
t,
|
|
621
621
|
o.keyName,
|
|
622
622
|
Pe(o.itemType, u)
|
|
@@ -634,7 +634,7 @@ function et(t, e, u = !1) {
|
|
|
634
634
|
}
|
|
635
635
|
}
|
|
636
636
|
}
|
|
637
|
-
function
|
|
637
|
+
function mn(t) {
|
|
638
638
|
const { list: e, keyName: u, valueName: o, titleName: n, parentKey: a, parentKeyName: i } = t, M = (r, N) => {
|
|
639
639
|
const l = [];
|
|
640
640
|
return N.forEach((s) => {
|
|
@@ -664,7 +664,7 @@ function ri(t, e) {
|
|
|
664
664
|
}
|
|
665
665
|
return t.forEach((a) => n(a)), u;
|
|
666
666
|
}
|
|
667
|
-
function
|
|
667
|
+
function $u(t) {
|
|
668
668
|
const e = t.querySelector(".t-input__inner");
|
|
669
669
|
if (e) {
|
|
670
670
|
const u = e.clientWidth, o = document.createElement("span");
|
|
@@ -674,14 +674,14 @@ function Vu(t) {
|
|
|
674
674
|
}
|
|
675
675
|
return !1;
|
|
676
676
|
}
|
|
677
|
-
function
|
|
677
|
+
function En(t, e, u = []) {
|
|
678
678
|
const o = {};
|
|
679
679
|
for (let n in t)
|
|
680
680
|
if (!u.includes(n))
|
|
681
681
|
if (!(n in e))
|
|
682
682
|
Ze(o, n, t[n]);
|
|
683
683
|
else if (Io(t[n]) && Io(e[n])) {
|
|
684
|
-
const a =
|
|
684
|
+
const a = En(t[n], e[n]);
|
|
685
685
|
Object.keys(a).length > 0 && Ze(o, n, a);
|
|
686
686
|
} else
|
|
687
687
|
Ao(t[n]) || Ao(e[n]) ? yo(t[n], e[n]) || Ze(o, n, t[n]) : yo(t[n], e[n]) || Ze(o, n, t[n]);
|
|
@@ -689,10 +689,10 @@ function mn(t, e, u = []) {
|
|
|
689
689
|
u.includes(n) || n in t || Ze(o, n, e[n]);
|
|
690
690
|
return o;
|
|
691
691
|
}
|
|
692
|
-
const Mo =
|
|
692
|
+
const Mo = Qu("column", {
|
|
693
693
|
state: () => ({
|
|
694
694
|
columnDataMap: new Map(
|
|
695
|
-
Object.entries(ge.getItem(
|
|
695
|
+
Object.entries(ge.getItem(Gu) || {})
|
|
696
696
|
),
|
|
697
697
|
columnWidthDataMap: new Map(
|
|
698
698
|
Object.entries(ge.getItem(bo) || {})
|
|
@@ -705,15 +705,15 @@ const Mo = Uu("column", {
|
|
|
705
705
|
actions: {
|
|
706
706
|
initColumnData(t) {
|
|
707
707
|
t && Object.keys(t).length ? (this.columnDataMap = new Map(Object.entries(t)), ge.setItem(
|
|
708
|
-
|
|
708
|
+
Gu,
|
|
709
709
|
Object.fromEntries(this.columnDataMap)
|
|
710
|
-
)) : (ge.setItem(
|
|
710
|
+
)) : (ge.setItem(Gu, {}), this.columnDataMap = /* @__PURE__ */ new Map());
|
|
711
711
|
},
|
|
712
712
|
async setColumnData(t, e) {
|
|
713
|
-
return this.columnDataMap.set(t, e), ge.setItem(
|
|
713
|
+
return this.columnDataMap.set(t, e), ge.setItem(Gu, Object.fromEntries(this.columnDataMap)), await this.saveColumnData();
|
|
714
714
|
},
|
|
715
715
|
removeColumnData(t, e) {
|
|
716
|
-
this.columnDataMap.delete(t), ge.setItem(
|
|
716
|
+
this.columnDataMap.delete(t), ge.setItem(Gu, Object.fromEntries(this.columnDataMap));
|
|
717
717
|
},
|
|
718
718
|
async saveColumnData() {
|
|
719
719
|
const e = ve().userKey;
|
|
@@ -735,10 +735,10 @@ const Mo = Uu("column", {
|
|
|
735
735
|
return u && o.includes(e) ? Me(u, e, 0) : 0;
|
|
736
736
|
}
|
|
737
737
|
}
|
|
738
|
-
}),
|
|
738
|
+
}), nt = Qu("cache", {
|
|
739
739
|
state: () => ({
|
|
740
740
|
formDataMap: new Map(
|
|
741
|
-
|
|
741
|
+
Eu.getItem(it) || []
|
|
742
742
|
)
|
|
743
743
|
}),
|
|
744
744
|
getters: {
|
|
@@ -749,14 +749,14 @@ const Mo = Uu("column", {
|
|
|
749
749
|
},
|
|
750
750
|
actions: {
|
|
751
751
|
setFormData(t, e) {
|
|
752
|
-
this.formDataMap.set(t, { path: t, data: e }),
|
|
753
|
-
|
|
752
|
+
this.formDataMap.set(t, { path: t, data: e }), Eu.setItem(
|
|
753
|
+
it,
|
|
754
754
|
Array.from(this.formDataMap.entries())
|
|
755
755
|
);
|
|
756
756
|
},
|
|
757
757
|
removeFormData(t) {
|
|
758
|
-
this.formDataMap.delete(t),
|
|
759
|
-
|
|
758
|
+
this.formDataMap.delete(t), Eu.setItem(
|
|
759
|
+
it,
|
|
760
760
|
Array.from(this.formDataMap.entries())
|
|
761
761
|
);
|
|
762
762
|
},
|
|
@@ -765,10 +765,10 @@ const Mo = Uu("column", {
|
|
|
765
765
|
* @param {string} path
|
|
766
766
|
*/
|
|
767
767
|
clearFormData() {
|
|
768
|
-
this.formDataMap.clear(),
|
|
768
|
+
this.formDataMap.clear(), Eu.removeItem(it);
|
|
769
769
|
}
|
|
770
770
|
}
|
|
771
|
-
}), ve =
|
|
771
|
+
}), ve = Qu("setting", {
|
|
772
772
|
state: () => ({
|
|
773
773
|
// 加载标志
|
|
774
774
|
isGlobalLoaded: !0,
|
|
@@ -784,7 +784,7 @@ const Mo = Uu("column", {
|
|
|
784
784
|
...Fa
|
|
785
785
|
},
|
|
786
786
|
// 侧边菜单配置
|
|
787
|
-
sideMenuTree: ge.getItem(
|
|
787
|
+
sideMenuTree: ge.getItem(Wu) ?? [],
|
|
788
788
|
sideMenuExpanded: [],
|
|
789
789
|
sideMenuScrollTop: 0,
|
|
790
790
|
sideMenuWidth: ge.getItem(So) ?? 300,
|
|
@@ -819,7 +819,7 @@ const Mo = Uu("column", {
|
|
|
819
819
|
userType: (t) => t.userConfig.userInfo.userType ?? "",
|
|
820
820
|
userRealName: (t) => t.userConfig.userInfo.realName ?? "",
|
|
821
821
|
userEdificeKey: (t) => t.userConfig.userInfo.edificeKey ?? "",
|
|
822
|
-
homeUrl: (t) => (t.userConfig.homeUrl ?? "") != "" ? t.userConfig.homeUrl :
|
|
822
|
+
homeUrl: (t) => (t.userConfig.homeUrl ?? "") != "" ? t.userConfig.homeUrl : jn(t.sideMenuTree),
|
|
823
823
|
logoUrl: (t) => (t.userConfig.logoUrl ?? "") != "" ? t.userConfig.logoUrl : "",
|
|
824
824
|
displayMode: (t) => t.themeConfig.displayMode === "auto" ? window.matchMedia("(prefers-color-scheme:dark)").matches ? "dark" : "light" : t.themeConfig.displayMode,
|
|
825
825
|
userKey: (t) => t.userConfig.userInfo.userKey ?? ""
|
|
@@ -891,8 +891,8 @@ const Mo = Uu("column", {
|
|
|
891
891
|
* @param {SideMenu} menus
|
|
892
892
|
*/
|
|
893
893
|
setSideMenuConfig(t) {
|
|
894
|
-
const e =
|
|
895
|
-
this.sideMenuTree = e, ge.setItem(
|
|
894
|
+
const e = dn(t);
|
|
895
|
+
this.sideMenuTree = e, ge.setItem(Wu, e);
|
|
896
896
|
},
|
|
897
897
|
setUserConfig(t) {
|
|
898
898
|
ge.setItem(vt, t), this.userConfig = { ...t };
|
|
@@ -919,20 +919,20 @@ const Mo = Uu("column", {
|
|
|
919
919
|
* @param {string} token
|
|
920
920
|
*/
|
|
921
921
|
async initUserToken(t) {
|
|
922
|
-
const e = +
|
|
922
|
+
const e = +gu().add(24, "hours");
|
|
923
923
|
this.setUserToken(t, e);
|
|
924
924
|
},
|
|
925
925
|
setSideMenuTree(t, e = !0) {
|
|
926
926
|
if (t && t.length)
|
|
927
927
|
if (this.basePermission && this.basePermission.length) {
|
|
928
928
|
const u = e ? t.filter((n) => this.basePermission.includes(n.name)) : t, o = qt(u, null, 1);
|
|
929
|
-
this.sideMenuTree = o, ge.setItem(
|
|
929
|
+
this.sideMenuTree = o, ge.setItem(Wu, o);
|
|
930
930
|
} else {
|
|
931
931
|
const u = qt(t, null, 1);
|
|
932
|
-
this.sideMenuTree = u, ge.setItem(
|
|
932
|
+
this.sideMenuTree = u, ge.setItem(Wu, u);
|
|
933
933
|
}
|
|
934
934
|
else
|
|
935
|
-
this.sideMenuTree = [], ge.setItem(
|
|
935
|
+
this.sideMenuTree = [], ge.setItem(Wu, []);
|
|
936
936
|
},
|
|
937
937
|
setBasePermission(t) {
|
|
938
938
|
t && Array.isArray(t) && (this.basePermission = t, ge.setItem(Ut, t));
|
|
@@ -969,22 +969,22 @@ const Mo = Uu("column", {
|
|
|
969
969
|
*/
|
|
970
970
|
async resetInitValue() {
|
|
971
971
|
this.isSideMenuCollapse = !1, this.isSideHoverMenuShow = !1, this.isSettingPanelShow = !1, this.sideMenuTree = [], this.sideMenuExpanded = [], this.sideMenuScrollTop = 0, Object.keys(localStorage).forEach((t) => {
|
|
972
|
-
t !== Qt && t !== Ut && t.startsWith(
|
|
972
|
+
t !== Qt && t !== Ut && t.startsWith(gn) && ge.removeItem(t);
|
|
973
973
|
}), this.token = "", this.tokenExpiredTime = 0, this.userPermission = [];
|
|
974
974
|
},
|
|
975
975
|
/**
|
|
976
976
|
* @description 用户退出登录清除存储值
|
|
977
977
|
*/
|
|
978
978
|
async userLogout() {
|
|
979
|
-
this.isSideSelfDragging = !1,
|
|
979
|
+
this.isSideSelfDragging = !1, Eu.clear(), await this.resetInitValue(), await this.setUserLoginStatus(!1), nt().clearFormData();
|
|
980
980
|
}
|
|
981
981
|
}
|
|
982
|
-
}),
|
|
982
|
+
}), bu = Qu("tabMenu", {
|
|
983
983
|
state: () => ({
|
|
984
984
|
// 初始化tab菜单列表
|
|
985
985
|
initTabMenuList: ge.getItem(bt) || [],
|
|
986
986
|
// tab菜单列表
|
|
987
|
-
tabMenuList:
|
|
987
|
+
tabMenuList: Eu.getItem(Yt) || []
|
|
988
988
|
}),
|
|
989
989
|
getters: {
|
|
990
990
|
returnTabMenuItemActiveTab: (t) => (e) => {
|
|
@@ -996,13 +996,13 @@ const Mo = Uu("column", {
|
|
|
996
996
|
async clearTabMenu() {
|
|
997
997
|
this.tabMenuList.length && this.tabMenuList.forEach((t) => {
|
|
998
998
|
this.afterRemoveTab(t.path);
|
|
999
|
-
}), ge.removeItem(bt),
|
|
999
|
+
}), ge.removeItem(bt), Eu.removeItem(Yt), this.tabMenuList = [], this.initTabMenuList = [];
|
|
1000
1000
|
},
|
|
1001
1001
|
setInitTabMenuList(t) {
|
|
1002
1002
|
ge.setItem(bt, t), this.initTabMenuList = t;
|
|
1003
1003
|
},
|
|
1004
1004
|
setTabMenuList(t) {
|
|
1005
|
-
|
|
1005
|
+
Eu.setItem(Yt, t), this.tabMenuList = t;
|
|
1006
1006
|
},
|
|
1007
1007
|
/**
|
|
1008
1008
|
* @description 初始化tab菜单列表
|
|
@@ -1114,7 +1114,7 @@ const Mo = Uu("column", {
|
|
|
1114
1114
|
* @param {string} path
|
|
1115
1115
|
*/
|
|
1116
1116
|
afterRemoveTab(t) {
|
|
1117
|
-
t &&
|
|
1117
|
+
t && nt().removeFormData(t);
|
|
1118
1118
|
}
|
|
1119
1119
|
}
|
|
1120
1120
|
}), si = (t) => {
|
|
@@ -1143,7 +1143,7 @@ const Mo = Uu("column", {
|
|
|
1143
1143
|
subcmd: t,
|
|
1144
1144
|
response: 0
|
|
1145
1145
|
}
|
|
1146
|
-
}, Ni = 3e4, Di = 3e3, ro =
|
|
1146
|
+
}, Ni = 3e4, Di = 3e3, ro = Qu("socket", {
|
|
1147
1147
|
state: () => ({
|
|
1148
1148
|
socket: null,
|
|
1149
1149
|
socketInterval: void 0,
|
|
@@ -1209,7 +1209,7 @@ const Mo = Uu("column", {
|
|
|
1209
1209
|
this.socket && (this.socket.send(JSON.stringify(o)), this.registeredDataIdSet.delete(t));
|
|
1210
1210
|
}
|
|
1211
1211
|
}
|
|
1212
|
-
}), so =
|
|
1212
|
+
}), so = Qu("props", {
|
|
1213
1213
|
state: () => ({
|
|
1214
1214
|
propsSource: {}
|
|
1215
1215
|
}),
|
|
@@ -1233,7 +1233,7 @@ const Mo = Uu("column", {
|
|
|
1233
1233
|
logoUrl: "",
|
|
1234
1234
|
copyRight: "",
|
|
1235
1235
|
copyRightInfo: ""
|
|
1236
|
-
}, gi =
|
|
1236
|
+
}, gi = Qu("website", {
|
|
1237
1237
|
state: () => ({
|
|
1238
1238
|
websiteSetting: ge.getItem(ho) || Fe(Bo),
|
|
1239
1239
|
edificeLogoUrl: ""
|
|
@@ -1263,18 +1263,18 @@ const Mo = Uu("column", {
|
|
|
1263
1263
|
this.edificeLogoUrl = t;
|
|
1264
1264
|
}
|
|
1265
1265
|
}
|
|
1266
|
-
}), _t = "g-dialog-plugin", Ti = "g-common-dialog",
|
|
1266
|
+
}), _t = "g-dialog-plugin", Ti = "g-common-dialog", lt = "g-common-form", Mt = "g-common-header", di = "g-common-table", ji = "g-board", Dr = "g-dialog", Ii = "g-form", Fo = "g-form-item", gr = "g-header", Ai = "g-tab", Pu = "g-table", eu = "g-layout", rt = "g-uploader", hu = "g-login", yi = ["title"], mi = {
|
|
1267
1267
|
key: 0,
|
|
1268
1268
|
class: "menu-item--close-button"
|
|
1269
1269
|
}, Ei = ["title"], fi = ["title"], pi = ["title"], zi = ["onClick"], xi = ["title"], Ci = ["title"], Li = ["onClick"], hi = ["title"], Oi = ["title"], ki = ["title"], wi = ["title"], Si = ["title"], vi = ["title"], Ui = /* @__PURE__ */ ne({
|
|
1270
1270
|
__name: "GLayoutHeaderTab",
|
|
1271
1271
|
setup(t) {
|
|
1272
|
-
const { T: e } = de(), u = `${eu}__layoutHeaderTab`, o = uu(), n =
|
|
1272
|
+
const { T: e } = de(), u = `${eu}__layoutHeaderTab`, o = uu(), n = Iu(), a = B(""), i = bu(), M = ve(), r = w(() => i.tabMenuList), N = w(() => M.homeUrl), l = w(() => M.displayMode);
|
|
1273
1273
|
function s(G, m, b) {
|
|
1274
1274
|
m.trigger === "document" && (a.value = null), G && (a.value = b);
|
|
1275
1275
|
}
|
|
1276
1276
|
function D(G) {
|
|
1277
|
-
G === "/HomePage" ? o.push({ path: N.value, query:
|
|
1277
|
+
G === "/HomePage" ? o.push({ path: N.value, query: xu(N.value) }) : o.push({ path: G, query: xu(G) });
|
|
1278
1278
|
}
|
|
1279
1279
|
function A({ value: G, index: m }) {
|
|
1280
1280
|
const { tabMenuList: b } = i;
|
|
@@ -1288,13 +1288,13 @@ const Mo = Uu("column", {
|
|
|
1288
1288
|
query: k.query
|
|
1289
1289
|
});
|
|
1290
1290
|
} else
|
|
1291
|
-
o.push({ path: N.value, query:
|
|
1291
|
+
o.push({ path: N.value, query: xu(N.value) });
|
|
1292
1292
|
}
|
|
1293
1293
|
}
|
|
1294
1294
|
function I(G, m) {
|
|
1295
1295
|
const { path: b } = G;
|
|
1296
1296
|
tn(() => {
|
|
1297
|
-
b === "/HomePage" ? o.push({ path: N.value, query:
|
|
1297
|
+
b === "/HomePage" ? o.push({ path: N.value, query: xu(N.value) }) : o.push({ path: b, query: xu(b) });
|
|
1298
1298
|
}), M.toggleGlobalReload(), a.value = null;
|
|
1299
1299
|
}
|
|
1300
1300
|
function f(G, m) {
|
|
@@ -1307,7 +1307,7 @@ const Mo = Uu("column", {
|
|
|
1307
1307
|
r.value.length > 1 && (i.subtractTabMenuItemOther({ path: G, itemIdx: m }), L("other", m));
|
|
1308
1308
|
}
|
|
1309
1309
|
function j() {
|
|
1310
|
-
i.clearTabMenu(), o.push({ path: N.value, query:
|
|
1310
|
+
i.clearTabMenu(), o.push({ path: N.value, query: xu(N.value) }), a.value = null, M.toggleGlobalReload();
|
|
1311
1311
|
}
|
|
1312
1312
|
function L(G, m) {
|
|
1313
1313
|
const b = n.fullPath, { tabMenuList: k } = i, U = k.findIndex((ee) => ee.path === b);
|
|
@@ -1320,7 +1320,7 @@ const Mo = Uu("column", {
|
|
|
1320
1320
|
}
|
|
1321
1321
|
a.value = null;
|
|
1322
1322
|
}
|
|
1323
|
-
const y = w(() => decodeURIComponent(n.fullPath)), E = B(null), p = B(null), { width: z } =
|
|
1323
|
+
const y = w(() => decodeURIComponent(n.fullPath)), E = B(null), p = B(null), { width: z } = Nn(E, { width: 1920, height: 64 }), c = w(() => {
|
|
1324
1324
|
if (p.value && z.value) {
|
|
1325
1325
|
const G = p.value.$el.querySelectorAll(".t-menu__item");
|
|
1326
1326
|
if (Array.from(G).reduce((b, k) => {
|
|
@@ -1384,7 +1384,7 @@ const Mo = Uu("column", {
|
|
|
1384
1384
|
title: ae.title
|
|
1385
1385
|
}, oe(ae.title), 9, yi),
|
|
1386
1386
|
ae.isHome ? J("", !0) : (T(), R("div", mi, [
|
|
1387
|
-
Q(d(
|
|
1387
|
+
Q(d(mu), { size: "16px" })
|
|
1388
1388
|
]))
|
|
1389
1389
|
]),
|
|
1390
1390
|
_: 2
|
|
@@ -1410,7 +1410,7 @@ const Mo = Uu("column", {
|
|
|
1410
1410
|
ue("span", {
|
|
1411
1411
|
title: d(e).t("刷新")
|
|
1412
1412
|
}, [
|
|
1413
|
-
Q(d(
|
|
1413
|
+
Q(d(dt)),
|
|
1414
1414
|
se(" " + oe(d(e).t("刷新")), 1)
|
|
1415
1415
|
], 8, Ei)
|
|
1416
1416
|
]),
|
|
@@ -1418,7 +1418,7 @@ const Mo = Uu("column", {
|
|
|
1418
1418
|
}),
|
|
1419
1419
|
Q(U, { onClick: j }, {
|
|
1420
1420
|
default: x(() => [
|
|
1421
|
-
Q(d(
|
|
1421
|
+
Q(d(mu)),
|
|
1422
1422
|
se(oe(d(e).t("全部清空")), 1)
|
|
1423
1423
|
]),
|
|
1424
1424
|
_: 1
|
|
@@ -1454,7 +1454,7 @@ const Mo = Uu("column", {
|
|
|
1454
1454
|
}, {
|
|
1455
1455
|
default: x(() => [
|
|
1456
1456
|
ue("span", null, [
|
|
1457
|
-
Q(d(
|
|
1457
|
+
Q(d(dt)),
|
|
1458
1458
|
se(" " + oe(d(e).t("刷新")), 1)
|
|
1459
1459
|
])
|
|
1460
1460
|
]),
|
|
@@ -1466,7 +1466,7 @@ const Mo = Uu("column", {
|
|
|
1466
1466
|
}, {
|
|
1467
1467
|
default: x(() => [
|
|
1468
1468
|
ue("span", null, [
|
|
1469
|
-
Q(d(
|
|
1469
|
+
Q(d(mu)),
|
|
1470
1470
|
se(" " + oe(d(e).t("关闭")), 1)
|
|
1471
1471
|
])
|
|
1472
1472
|
]),
|
|
@@ -1527,7 +1527,7 @@ const Mo = Uu("column", {
|
|
|
1527
1527
|
ae.isHome ? J("", !0) : (T(), R("div", {
|
|
1528
1528
|
key: 2,
|
|
1529
1529
|
class: "menu-item--close-button",
|
|
1530
|
-
onClick:
|
|
1530
|
+
onClick: It(
|
|
1531
1531
|
() => A({
|
|
1532
1532
|
value: ae.path,
|
|
1533
1533
|
index: X
|
|
@@ -1535,7 +1535,7 @@ const Mo = Uu("column", {
|
|
|
1535
1535
|
["stop"]
|
|
1536
1536
|
)
|
|
1537
1537
|
}, [
|
|
1538
|
-
Q(d(
|
|
1538
|
+
Q(d(mu), { size: "16px" })
|
|
1539
1539
|
], 8, zi))
|
|
1540
1540
|
]),
|
|
1541
1541
|
_: 2
|
|
@@ -1586,7 +1586,7 @@ const Mo = Uu("column", {
|
|
|
1586
1586
|
ue("span", {
|
|
1587
1587
|
title: d(e).t("刷新")
|
|
1588
1588
|
}, [
|
|
1589
|
-
Q(d(
|
|
1589
|
+
Q(d(dt)),
|
|
1590
1590
|
se(" " + oe(d(e).t("刷新")), 1)
|
|
1591
1591
|
], 8, hi)
|
|
1592
1592
|
]),
|
|
@@ -1603,7 +1603,7 @@ const Mo = Uu("column", {
|
|
|
1603
1603
|
ue("span", {
|
|
1604
1604
|
title: d(e).t("关闭")
|
|
1605
1605
|
}, [
|
|
1606
|
-
Q(d(
|
|
1606
|
+
Q(d(mu)),
|
|
1607
1607
|
se(" " + oe(d(e).t("关闭")), 1)
|
|
1608
1608
|
], 8, Oi)
|
|
1609
1609
|
]),
|
|
@@ -1678,7 +1678,7 @@ const Mo = Uu("column", {
|
|
|
1678
1678
|
}, oe(ae.title), 9, Ci)),
|
|
1679
1679
|
ue("div", {
|
|
1680
1680
|
class: "menu-item--close-button",
|
|
1681
|
-
onClick:
|
|
1681
|
+
onClick: It(
|
|
1682
1682
|
() => A({
|
|
1683
1683
|
value: ae.path,
|
|
1684
1684
|
index: h.value.length + X
|
|
@@ -1686,7 +1686,7 @@ const Mo = Uu("column", {
|
|
|
1686
1686
|
["stop"]
|
|
1687
1687
|
)
|
|
1688
1688
|
}, [
|
|
1689
|
-
Q(d(
|
|
1689
|
+
Q(d(mu), { size: "16px" })
|
|
1690
1690
|
], 8, Li)
|
|
1691
1691
|
]),
|
|
1692
1692
|
_: 2
|
|
@@ -1721,7 +1721,7 @@ const Mo = Uu("column", {
|
|
|
1721
1721
|
};
|
|
1722
1722
|
}
|
|
1723
1723
|
});
|
|
1724
|
-
const bu = Symbol("PropsModel"), eo = Symbol("ConfigProvider"), pt = Symbol("formItemComponentProps"), En = Symbol("viewTitle"), Qi = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAToAAAAyCAYAAADMZheFAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAhdEVYdENyZWF0aW9uIFRpbWUAMjAyMjoxMTozMCAwODo0NDo0MviriswAACO4SURBVHhe7Z0JeFzFle+r6t5utSRvLLYx2JZaltQteQFjlpiEZ/wGskEmYRIYSL5MGGaBmSHMJEzCkrBNCBBIhkcSQhKYEIb5eElMMgmZELJiVhOCwau6W7tkgW2Mdy293Fvn/atVJpbVfW/dVsvW+77+2a2+VX37di2nTp3aWYUKFSpUqFChQoUKFSpUqFChQoUKFSpUqFChQoUKFSpUmABcvx81CL+5tbU1lN67166dMcOigzxcVWXb2XDOslxXZIgmLUwR/OM0kmns7n5Le00YxEd0NDaGsuFwyHaciOWGqinLwlLkQiJkC5bV9/Ec2cJyhy3HZURZlyhTFQqNRNLp3B/7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oQww9v8ADoTZZnPdorgAAAAASUVORK5CYII=", bi = {
|
|
1724
|
+
const Yu = Symbol("PropsModel"), eo = Symbol("ConfigProvider"), pt = Symbol("formItemComponentProps"), fn = Symbol("viewTitle"), Qi = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAToAAAAyCAYAAADMZheFAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAhdEVYdENyZWF0aW9uIFRpbWUAMjAyMjoxMTozMCAwODo0NDo0MviriswAACO4SURBVHhe7Z0JeFzFle+r6t5utSRvLLYx2JZaltQteQFjlpiEZ/wGskEmYRIYSL5MGGaBmSHMJEzCkrBNCBBIhkcSQhKYEIb5eElMMgmZELJiVhOCwau6W7tkgW2Mdy293Fvn/atVJpbVfW/dVsvW+77+2a2+VX37di2nTp3aWYUKFSpUqFChQoUKFSpUqFChQoUKFSpUqFChQoUKFSpUmABcvx81CL+5tbU1lN67166dMcOigzxcVWXb2XDOslxXZIgmLUwR/OM0kmns7n5Le00YxEd0NDaGsuFwyHaciOWGqinLwlLkQiJkC5bV9/Ec2cJyhy3HZURZlyhTFQqNRNLp3B/7+nKXMuaO3ll+Xp23oiZSPXIi8QyCa4ZKq9yIO9z6ZnK39powz6xaZZ848PY8xtLapzBORsjlAx1vaOeEeHXFihB7k4VY9d7QbKdWjEQyVjYXtma4jshUuYJD3iZT5hQqLQecwV2r+/q8Iw7658+vzlTNPDHtk0YK9dz9w5HdZ2xfP6y9CpKIxabbjj3L5JmHUM8eyYnBZf2b92qvCWMaDsk5LevsfBOZIrXXhDkqiu6pxsaqxpy93OFsKRe8hUvZjBIX5ZzVQsZsxMuCJhBKCeL2SQ2TJejzzd2pR7SzJFQ4Ewvjy4XFlxOx5ZzLpfBaiI/CcIcRLxvKzEbxEYhMXrmoP5y4JE5QdNxBnHPwycB7JzHaRIxvZIK9ti8za8M5Ay+PqO+Ui7b6pk8hKF9TIdBepiQ2n7l09aVr1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SOF+GrPXI2hl+v30IlVi4tzctR1YqoR71HUuqvuls4uKXSLtAI9UTAeFCsCBRpLoRuITcuihsOeRbDvk3gg93QPGux/XvQyL3cmN3d0lNt1Q0fiN+4FYlwNqrOAiITfT+pr7UWu1TkER97H3Ig59qpyeI56fjPUnfsyFM2BJtOstiAi0hj3zKr5mnfVBMP4ICu7MuwHGooxOIxT/j++p8EhhofATlZ0162Pn26Tu8D+JSlFXhHAK5Jra2ttqW61Zlcrlqi1dXsWwmDLPeFiSFY9vCd7uBALiO68J83b8zOnfXZJ0ipEC8OFuxwv7D/v3VMzPWNIu51ajOqlAGwkzY06Ft4YZCR45ALskmdjBL7n61EWmYWyOOnRtW6xQXDKzMFjqCsRyo6RfCkieqWkV7FcRx5JDXtIdSSNTF6sni0/x++xA5mB6Si/Tirja1VX3BLhC1RZB0xEmmzywHpNQZ9BrCJiGzrptz3BFJ2eoanpl+8ODw9pNPzq1Yv94ZVYilk19pY7MTTOKm0mpadrDLb/mX2uXXsbNm3Rc8t83LogoCIiAS0XhjSBQegVU1fZjxTCbD9iweaNtbStqp31AbVhwYmmmtOBnGaxnyoEKFChUqVKhQoUKFChUqVKhQoUKFChUqVKhQoQww9v8ADoTZZnPdorgAAAAASUVORK5CYII=", bi = {
|
|
1725
1725
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1726
1726
|
width: "24",
|
|
1727
1727
|
height: "24",
|
|
@@ -1765,7 +1765,7 @@ const _i = { render: Fi }, Pi = {
|
|
|
1765
1765
|
function Wi(t, e) {
|
|
1766
1766
|
return T(), R("svg", Pi, [...Ri]);
|
|
1767
1767
|
}
|
|
1768
|
-
const
|
|
1768
|
+
const pn = { render: Wi }, Gi = { class: "username" }, Hi = /* @__PURE__ */ ne({
|
|
1769
1769
|
__name: "GLayoutHeader",
|
|
1770
1770
|
setup(t) {
|
|
1771
1771
|
const { T: e } = de(), u = `${eu}__header`, o = uu(), n = ve(), a = Ye(eo, null), i = a == null ? void 0 : a.GLayoutHeaderOperationsRef, M = a == null ? void 0 : a.GLayoutHeaderConfigRef, r = a == null ? void 0 : a.SideMenuConfigRef, N = w(() => n.userType), l = w(() => {
|
|
@@ -1785,7 +1785,7 @@ const fn = { render: Wi }, Gi = { class: "username" }, Hi = /* @__PURE__ */ ne({
|
|
|
1785
1785
|
function O() {
|
|
1786
1786
|
n.toggleSettingPanel();
|
|
1787
1787
|
}
|
|
1788
|
-
const j =
|
|
1788
|
+
const j = bu();
|
|
1789
1789
|
function L() {
|
|
1790
1790
|
o.push({ name: "login" }), n.userLogout(), j.clearTabMenu();
|
|
1791
1791
|
}
|
|
@@ -1829,7 +1829,7 @@ const fn = { render: Wi }, Gi = { class: "username" }, Hi = /* @__PURE__ */ ne({
|
|
|
1829
1829
|
onClick: _
|
|
1830
1830
|
}, {
|
|
1831
1831
|
default: x(() => [
|
|
1832
|
-
f.value ? (T(), S(d(
|
|
1832
|
+
f.value ? (T(), S(d(mu), {
|
|
1833
1833
|
key: 1,
|
|
1834
1834
|
size: "large"
|
|
1835
1835
|
})) : (T(), S(d(fa), {
|
|
@@ -1849,9 +1849,9 @@ const fn = { render: Wi }, Gi = { class: "username" }, Hi = /* @__PURE__ */ ne({
|
|
|
1849
1849
|
class: Z(`${u}--operations`)
|
|
1850
1850
|
}, [
|
|
1851
1851
|
(T(!0), R(Ne, null, me(d(i), (k, U) => (T(), R(Ne, { key: U }, [
|
|
1852
|
-
k != null && k.isPopup ? (T(), S(v,
|
|
1852
|
+
k != null && k.isPopup ? (T(), S(v, ku(ye({ key: 0 }, k == null ? void 0 : k.popupProps)), {
|
|
1853
1853
|
default: x(() => [
|
|
1854
|
-
Q(g,
|
|
1854
|
+
Q(g, ku(Ju(k == null ? void 0 : k.badgeProps)), {
|
|
1855
1855
|
default: x(() => [
|
|
1856
1856
|
Q(h, ye({
|
|
1857
1857
|
theme: "default",
|
|
@@ -1895,7 +1895,7 @@ const fn = { render: Wi }, Gi = { class: "username" }, Hi = /* @__PURE__ */ ne({
|
|
|
1895
1895
|
}, 1040)
|
|
1896
1896
|
]),
|
|
1897
1897
|
_: 2
|
|
1898
|
-
}, 1040)) : (T(), S(g,
|
|
1898
|
+
}, 1040)) : (T(), S(g, ku(ye({ key: 1 }, k == null ? void 0 : k.badgeProps)), {
|
|
1899
1899
|
default: x(() => [
|
|
1900
1900
|
Q(h, ye({
|
|
1901
1901
|
theme: "default",
|
|
@@ -1991,7 +1991,7 @@ const fn = { render: Wi }, Gi = { class: "username" }, Hi = /* @__PURE__ */ ne({
|
|
|
1991
1991
|
onClick: O
|
|
1992
1992
|
}, {
|
|
1993
1993
|
default: x(() => [
|
|
1994
|
-
Q(d(
|
|
1994
|
+
Q(d(pn), {
|
|
1995
1995
|
style: {
|
|
1996
1996
|
marginRight: "5px",
|
|
1997
1997
|
width: "20px",
|
|
@@ -2042,7 +2042,7 @@ const fn = { render: Wi }, Gi = { class: "username" }, Hi = /* @__PURE__ */ ne({
|
|
|
2042
2042
|
}, 8, ["class"]);
|
|
2043
2043
|
};
|
|
2044
2044
|
}
|
|
2045
|
-
}), Ki = ["title"],
|
|
2045
|
+
}), Ki = ["title"], Cu = /* @__PURE__ */ ne({
|
|
2046
2046
|
__name: "GLayoutSideMenuTitle",
|
|
2047
2047
|
props: {
|
|
2048
2048
|
item: {}
|
|
@@ -2087,24 +2087,30 @@ const tu = (t, e) => {
|
|
|
2087
2087
|
for (const [o, n] of e)
|
|
2088
2088
|
u[o] = n;
|
|
2089
2089
|
return u;
|
|
2090
|
-
},
|
|
2090
|
+
}, Lu = /* @__PURE__ */ tu(qi, [["__scopeId", "data-v-b544410f"]]), Ji = /* @__PURE__ */ ne({
|
|
2091
2091
|
__name: "GLayoutSideMenuContent",
|
|
2092
2092
|
props: {
|
|
2093
2093
|
sideMenuTree: {}
|
|
2094
2094
|
},
|
|
2095
2095
|
setup(t) {
|
|
2096
2096
|
const e = `${eu}__side-menu-content`, u = ve(), o = uu(), n = (a) => {
|
|
2097
|
-
if (
|
|
2098
|
-
const M =
|
|
2097
|
+
if (ot(a)) {
|
|
2098
|
+
const M = Tu(a, {
|
|
2099
2099
|
token: u.token,
|
|
2100
|
+
sessionId: Mu(),
|
|
2100
2101
|
lang: u.userLang,
|
|
2101
2102
|
_venuServType: 2
|
|
2102
2103
|
});
|
|
2103
2104
|
window.open(M, "_blank");
|
|
2104
2105
|
} else if (a.startsWith(":")) {
|
|
2105
|
-
const M =
|
|
2106
|
+
const M = Tu(
|
|
2106
2107
|
`${window.location.protocol}//${window.location.hostname}${a}`,
|
|
2107
|
-
{
|
|
2108
|
+
{
|
|
2109
|
+
token: u.token,
|
|
2110
|
+
sessionId: Mu(),
|
|
2111
|
+
lang: u.userLang,
|
|
2112
|
+
_venuServType: 2
|
|
2113
|
+
}
|
|
2108
2114
|
);
|
|
2109
2115
|
window.open(M, "_blank");
|
|
2110
2116
|
} else
|
|
@@ -2124,14 +2130,14 @@ const tu = (t, e) => {
|
|
|
2124
2130
|
onClick: (s) => n(l.path)
|
|
2125
2131
|
}, {
|
|
2126
2132
|
icon: x(() => [
|
|
2127
|
-
l.level == 1 ? (T(), S(
|
|
2133
|
+
l.level == 1 ? (T(), S(Lu, {
|
|
2128
2134
|
key: 0,
|
|
2129
2135
|
title: l.title,
|
|
2130
2136
|
icon: l.icon
|
|
2131
2137
|
}, null, 8, ["title", "icon"])) : J("", !0)
|
|
2132
2138
|
]),
|
|
2133
2139
|
content: x(() => [
|
|
2134
|
-
Q(
|
|
2140
|
+
Q(Cu, { item: l }, null, 8, ["item"])
|
|
2135
2141
|
]),
|
|
2136
2142
|
_: 2
|
|
2137
2143
|
}, 1032, ["class", "name", "value", "onClick"])) : (T(), S(N, {
|
|
@@ -2144,14 +2150,14 @@ const tu = (t, e) => {
|
|
|
2144
2150
|
}
|
|
2145
2151
|
}, {
|
|
2146
2152
|
icon: x(() => [
|
|
2147
|
-
l.level == 1 ? (T(), S(
|
|
2153
|
+
l.level == 1 ? (T(), S(Lu, {
|
|
2148
2154
|
key: 0,
|
|
2149
2155
|
title: l.title,
|
|
2150
2156
|
icon: l.icon
|
|
2151
2157
|
}, null, 8, ["title", "icon"])) : J("", !0)
|
|
2152
2158
|
]),
|
|
2153
2159
|
title: x(() => [
|
|
2154
|
-
Q(
|
|
2160
|
+
Q(Cu, { item: l }, null, 8, ["item"])
|
|
2155
2161
|
]),
|
|
2156
2162
|
default: x(() => [
|
|
2157
2163
|
l.children ? (T(), S(r, {
|
|
@@ -2169,7 +2175,7 @@ const tu = (t, e) => {
|
|
|
2169
2175
|
setup(t) {
|
|
2170
2176
|
const e = `${eu}__side-menu`;
|
|
2171
2177
|
uu();
|
|
2172
|
-
const u =
|
|
2178
|
+
const u = Iu(), o = ve(), n = w(() => o.sideMenuTree), a = w(() => o.displayMode), i = w({
|
|
2173
2179
|
get() {
|
|
2174
2180
|
return o.isSideMenuCollapse;
|
|
2175
2181
|
},
|
|
@@ -2241,7 +2247,7 @@ const tu = (t, e) => {
|
|
|
2241
2247
|
theme: a.value,
|
|
2242
2248
|
value: r.value,
|
|
2243
2249
|
expanded: d(N),
|
|
2244
|
-
"onUpdate:expanded": L[0] || (L[0] = (p) =>
|
|
2250
|
+
"onUpdate:expanded": L[0] || (L[0] = (p) => la(N) ? N.value = p : null),
|
|
2245
2251
|
ref_key: "sideMenuRef",
|
|
2246
2252
|
ref: s,
|
|
2247
2253
|
onExpand: I,
|
|
@@ -2275,7 +2281,7 @@ const tu = (t, e) => {
|
|
|
2275
2281
|
"#ea7b84",
|
|
2276
2282
|
"#ff6699",
|
|
2277
2283
|
"#ab87d5"
|
|
2278
|
-
],
|
|
2284
|
+
], zn = {
|
|
2279
2285
|
DEFAULT: {
|
|
2280
2286
|
"--td-brand-color": "#0052d9",
|
|
2281
2287
|
"--td-brand-color-1": "#f2f3ff",
|
|
@@ -2407,7 +2413,7 @@ const tu = (t, e) => {
|
|
|
2407
2413
|
}), r = () => {
|
|
2408
2414
|
o.changeTheme(i.value);
|
|
2409
2415
|
}, N = (l) => ({
|
|
2410
|
-
background:
|
|
2416
|
+
background: An(l, zn)["--td-brand-color"]
|
|
2411
2417
|
});
|
|
2412
2418
|
return (l, s) => {
|
|
2413
2419
|
const D = K("t-radio-button"), A = K("t-radio-group"), I = K("t-drawer");
|
|
@@ -2419,7 +2425,7 @@ const tu = (t, e) => {
|
|
|
2419
2425
|
footer: !1
|
|
2420
2426
|
}, {
|
|
2421
2427
|
header: x(() => [
|
|
2422
|
-
Q(d(
|
|
2428
|
+
Q(d(pn), { style: {
|
|
2423
2429
|
marginRight: "5px",
|
|
2424
2430
|
width: "20px",
|
|
2425
2431
|
height: "20px"
|
|
@@ -2489,7 +2495,7 @@ const tu = (t, e) => {
|
|
|
2489
2495
|
}
|
|
2490
2496
|
}), u4 = {};
|
|
2491
2497
|
function t4(t, e) {
|
|
2492
|
-
return T(), S(
|
|
2498
|
+
return T(), S(Ma, {
|
|
2493
2499
|
name: "scale",
|
|
2494
2500
|
mode: "out-in",
|
|
2495
2501
|
appear: ""
|
|
@@ -2505,24 +2511,30 @@ const o4 = /* @__PURE__ */ tu(u4, [["render", t4]]), n4 = /* @__PURE__ */ ne({
|
|
|
2505
2511
|
setup(t) {
|
|
2506
2512
|
const { T: e, i18n: u } = de();
|
|
2507
2513
|
w(() => u.global.locale.value.toLowerCase() === "zh-cn");
|
|
2508
|
-
const o = `${eu}__side-hover-menu`, n = `${eu}__side-hover-menu-content`, a = uu(), i =
|
|
2514
|
+
const o = `${eu}__side-hover-menu`, n = `${eu}__side-hover-menu-content`, a = uu(), i = Iu(), M = ve(), r = w(() => M.sideMenuTree), N = w(() => M.displayMode), l = w({
|
|
2509
2515
|
get: () => M.isSideHoverMenuShow,
|
|
2510
2516
|
set: (X) => M.isSideHoverMenuShow = X
|
|
2511
2517
|
}), s = w(() => {
|
|
2512
2518
|
const X = i.fullPath.split("/").length;
|
|
2513
2519
|
return i.fullPath.split("/")[X - 1];
|
|
2514
2520
|
}), D = (X) => {
|
|
2515
|
-
if (
|
|
2516
|
-
const Ee =
|
|
2521
|
+
if (ot(X)) {
|
|
2522
|
+
const Ee = Tu(X, {
|
|
2517
2523
|
token: M.token,
|
|
2524
|
+
sessionId: Mu(),
|
|
2518
2525
|
lang: M.userLang,
|
|
2519
2526
|
_venuServType: 2
|
|
2520
2527
|
});
|
|
2521
2528
|
window.open(Ee, "_blank");
|
|
2522
2529
|
} else if (X.startsWith(":")) {
|
|
2523
|
-
const Ee =
|
|
2530
|
+
const Ee = Tu(
|
|
2524
2531
|
`${window.location.protocol}//${window.location.hostname}${X}`,
|
|
2525
|
-
{
|
|
2532
|
+
{
|
|
2533
|
+
token: M.token,
|
|
2534
|
+
sessionId: Mu(),
|
|
2535
|
+
lang: M.userLang,
|
|
2536
|
+
_venuServType: 2
|
|
2537
|
+
}
|
|
2526
2538
|
);
|
|
2527
2539
|
window.open(Ee, "_blank");
|
|
2528
2540
|
} else
|
|
@@ -2687,13 +2699,13 @@ const o4 = /* @__PURE__ */ tu(u4, [["render", t4]]), n4 = /* @__PURE__ */ ne({
|
|
|
2687
2699
|
onClick: (le) => D(W.path)
|
|
2688
2700
|
}, {
|
|
2689
2701
|
icon: x(() => [
|
|
2690
|
-
W.level == 1 ? (T(), S(
|
|
2702
|
+
W.level == 1 ? (T(), S(Lu, {
|
|
2691
2703
|
key: 0,
|
|
2692
2704
|
icon: W.icon
|
|
2693
2705
|
}, null, 8, ["icon"])) : J("", !0)
|
|
2694
2706
|
]),
|
|
2695
2707
|
content: x(() => [
|
|
2696
|
-
Q(
|
|
2708
|
+
Q(Cu, { item: W }, null, 8, ["item"])
|
|
2697
2709
|
]),
|
|
2698
2710
|
_: 2
|
|
2699
2711
|
}, 1032, ["class", "name", "value", "onClick"])) : (T(), S(je, {
|
|
@@ -2713,13 +2725,13 @@ const o4 = /* @__PURE__ */ tu(u4, [["render", t4]]), n4 = /* @__PURE__ */ ne({
|
|
|
2713
2725
|
onMouseenter: (le) => _(W)
|
|
2714
2726
|
}, {
|
|
2715
2727
|
icon: x(() => [
|
|
2716
|
-
W.level == 1 ? (T(), S(
|
|
2728
|
+
W.level == 1 ? (T(), S(Lu, {
|
|
2717
2729
|
key: 0,
|
|
2718
2730
|
icon: W.icon
|
|
2719
2731
|
}, null, 8, ["icon"])) : J("", !0)
|
|
2720
2732
|
]),
|
|
2721
2733
|
title: x(() => [
|
|
2722
|
-
Q(
|
|
2734
|
+
Q(Cu, { item: W }, null, 8, ["item"])
|
|
2723
2735
|
]),
|
|
2724
2736
|
_: 2
|
|
2725
2737
|
}, 1032, ["class", "name", "value", "popup-props", "onMouseenter"]))
|
|
@@ -2767,13 +2779,13 @@ const o4 = /* @__PURE__ */ tu(u4, [["render", t4]]), n4 = /* @__PURE__ */ ne({
|
|
|
2767
2779
|
onMouseenter: E
|
|
2768
2780
|
}, {
|
|
2769
2781
|
icon: x(() => [
|
|
2770
|
-
W.level == 1 ? (T(), S(
|
|
2782
|
+
W.level == 1 ? (T(), S(Lu, {
|
|
2771
2783
|
key: 0,
|
|
2772
2784
|
icon: W.icon
|
|
2773
2785
|
}, null, 8, ["icon"])) : J("", !0)
|
|
2774
2786
|
]),
|
|
2775
2787
|
content: x(() => [
|
|
2776
|
-
Q(
|
|
2788
|
+
Q(Cu, { item: W }, null, 8, ["item"])
|
|
2777
2789
|
]),
|
|
2778
2790
|
_: 2
|
|
2779
2791
|
}, 1032, ["class", "name", "value", "onClick"])) : (T(), S(je, {
|
|
@@ -2793,13 +2805,13 @@ const o4 = /* @__PURE__ */ tu(u4, [["render", t4]]), n4 = /* @__PURE__ */ ne({
|
|
|
2793
2805
|
onMouseenter: (le) => y(W)
|
|
2794
2806
|
}, {
|
|
2795
2807
|
icon: x(() => [
|
|
2796
|
-
W.level == 1 ? (T(), S(
|
|
2808
|
+
W.level == 1 ? (T(), S(Lu, {
|
|
2797
2809
|
key: 0,
|
|
2798
2810
|
icon: W.icon
|
|
2799
2811
|
}, null, 8, ["icon"])) : J("", !0)
|
|
2800
2812
|
]),
|
|
2801
2813
|
title: x(() => [
|
|
2802
|
-
Q(
|
|
2814
|
+
Q(Cu, { item: W }, null, 8, ["item"])
|
|
2803
2815
|
]),
|
|
2804
2816
|
_: 2
|
|
2805
2817
|
}, 1032, ["class", "name", "value", "popup-props", "onMouseenter"]))
|
|
@@ -2846,13 +2858,13 @@ const o4 = /* @__PURE__ */ tu(u4, [["render", t4]]), n4 = /* @__PURE__ */ ne({
|
|
|
2846
2858
|
onClick: (le) => D(W.path)
|
|
2847
2859
|
}, {
|
|
2848
2860
|
icon: x(() => [
|
|
2849
|
-
W.level == 1 ? (T(), S(
|
|
2861
|
+
W.level == 1 ? (T(), S(Lu, {
|
|
2850
2862
|
key: 0,
|
|
2851
2863
|
icon: W.icon
|
|
2852
2864
|
}, null, 8, ["icon"])) : J("", !0)
|
|
2853
2865
|
]),
|
|
2854
2866
|
content: x(() => [
|
|
2855
|
-
Q(
|
|
2867
|
+
Q(Cu, { item: W }, null, 8, ["item"])
|
|
2856
2868
|
]),
|
|
2857
2869
|
_: 2
|
|
2858
2870
|
}, 1032, ["class", "name", "value", "onClick"])) : J("", !0)
|
|
@@ -2933,7 +2945,7 @@ const a4 = /* @__PURE__ */ ne({
|
|
|
2933
2945
|
}, 8, ["title"]));
|
|
2934
2946
|
}
|
|
2935
2947
|
});
|
|
2936
|
-
const co = Ge(i4),
|
|
2948
|
+
const co = Ge(i4), xn = /* @__PURE__ */ ne({
|
|
2937
2949
|
__name: "GCommonDialog",
|
|
2938
2950
|
props: {
|
|
2939
2951
|
commonDialogProps: {}
|
|
@@ -2944,18 +2956,18 @@ const co = Ge(i4), zn = /* @__PURE__ */ ne({
|
|
|
2944
2956
|
return T(), S(o, ye({
|
|
2945
2957
|
class: d(Ti),
|
|
2946
2958
|
placement: "center"
|
|
2947
|
-
}, e.commonDialogProps),
|
|
2959
|
+
}, e.commonDialogProps), Tt({ _: 2 }, [
|
|
2948
2960
|
me(e.$slots, (n, a) => ({
|
|
2949
2961
|
name: a,
|
|
2950
2962
|
fn: x((i) => [
|
|
2951
|
-
_e(e.$slots, a,
|
|
2963
|
+
_e(e.$slots, a, ku(Ju({ ...i })))
|
|
2952
2964
|
])
|
|
2953
2965
|
}))
|
|
2954
2966
|
]), 1040, ["class"]);
|
|
2955
2967
|
};
|
|
2956
2968
|
}
|
|
2957
2969
|
});
|
|
2958
|
-
const l4 = Ge(
|
|
2970
|
+
const l4 = Ge(xn), M4 = /* @__PURE__ */ ne({
|
|
2959
2971
|
__name: "GCommonForm",
|
|
2960
2972
|
props: {
|
|
2961
2973
|
commonFormProps: {}
|
|
@@ -2967,16 +2979,16 @@ const l4 = Ge(zn), M4 = /* @__PURE__ */ ne({
|
|
|
2967
2979
|
}), (o, n) => {
|
|
2968
2980
|
const a = K("t-form");
|
|
2969
2981
|
return T(), R("div", {
|
|
2970
|
-
class: Z(`${d(
|
|
2982
|
+
class: Z(`${d(lt)}`)
|
|
2971
2983
|
}, [
|
|
2972
2984
|
Q(a, ye({
|
|
2973
2985
|
ref_key: "tFormRef",
|
|
2974
2986
|
ref: u,
|
|
2975
|
-
class: `${d(
|
|
2987
|
+
class: `${d(lt)}--main`
|
|
2976
2988
|
}, o.commonFormProps), {
|
|
2977
2989
|
default: x(() => [
|
|
2978
2990
|
ue("div", {
|
|
2979
|
-
class: Z(`${d(
|
|
2991
|
+
class: Z(`${d(lt)}--main-body`),
|
|
2980
2992
|
ref: "commonFormBodyRef"
|
|
2981
2993
|
}, [
|
|
2982
2994
|
_e(o.$slots, "body")
|
|
@@ -2985,7 +2997,7 @@ const l4 = Ge(zn), M4 = /* @__PURE__ */ ne({
|
|
|
2985
2997
|
_: 3
|
|
2986
2998
|
}, 16, ["class"]),
|
|
2987
2999
|
ue("div", {
|
|
2988
|
-
class: Z(`${d(
|
|
3000
|
+
class: Z(`${d(lt)}--footer`)
|
|
2989
3001
|
}, [
|
|
2990
3002
|
_e(o.$slots, "footer")
|
|
2991
3003
|
], 2)
|
|
@@ -2993,21 +3005,21 @@ const l4 = Ge(zn), M4 = /* @__PURE__ */ ne({
|
|
|
2993
3005
|
};
|
|
2994
3006
|
}
|
|
2995
3007
|
});
|
|
2996
|
-
const
|
|
3008
|
+
const Cn = Ge(M4), r4 = /* @__PURE__ */ ne({
|
|
2997
3009
|
__name: "GCommonHeader",
|
|
2998
3010
|
setup(t) {
|
|
2999
3011
|
return (e, u) => {
|
|
3000
3012
|
const o = K("t-row");
|
|
3001
3013
|
return T(), R("div", {
|
|
3002
|
-
class: Z(`${d(
|
|
3014
|
+
class: Z(`${d(Mt)}`)
|
|
3003
3015
|
}, [
|
|
3004
3016
|
Q(o, { justify: "space-between" }, {
|
|
3005
3017
|
default: x(() => [
|
|
3006
3018
|
ue("div", {
|
|
3007
|
-
class: Z(`${d(
|
|
3019
|
+
class: Z(`${d(Mt)}--left`)
|
|
3008
3020
|
}, [
|
|
3009
3021
|
Q(o, {
|
|
3010
|
-
class: Z(`${d(
|
|
3022
|
+
class: Z(`${d(Mt)}--left-row`)
|
|
3011
3023
|
}, {
|
|
3012
3024
|
default: x(() => [
|
|
3013
3025
|
_e(e.$slots, "left-operations")
|
|
@@ -3016,7 +3028,7 @@ const xn = Ge(M4), r4 = /* @__PURE__ */ ne({
|
|
|
3016
3028
|
}, 8, ["class"])
|
|
3017
3029
|
], 2),
|
|
3018
3030
|
ue("div", {
|
|
3019
|
-
class: Z(`${d(
|
|
3031
|
+
class: Z(`${d(Mt)}--right`)
|
|
3020
3032
|
}, [
|
|
3021
3033
|
_e(e.$slots, "right-operations")
|
|
3022
3034
|
], 2)
|
|
@@ -3056,33 +3068,33 @@ const jr = Ge(r4), s4 = /* @__PURE__ */ ne({
|
|
|
3056
3068
|
key: 0,
|
|
3057
3069
|
ref_key: "tTableRef",
|
|
3058
3070
|
ref: u
|
|
3059
|
-
}, { ...o.value, ...n.commonTableProps }),
|
|
3071
|
+
}, { ...o.value, ...n.commonTableProps }), Tt({ _: 2 }, [
|
|
3060
3072
|
me(n.$slots, (N, l) => ({
|
|
3061
3073
|
name: l,
|
|
3062
3074
|
fn: x((s) => [
|
|
3063
|
-
_e(n.$slots, l,
|
|
3075
|
+
_e(n.$slots, l, ku(Ju({ ...s })))
|
|
3064
3076
|
])
|
|
3065
3077
|
}))
|
|
3066
3078
|
]), 1040)) : n.tableType == "primary" ? (T(), S(M, ye({
|
|
3067
3079
|
key: 1,
|
|
3068
3080
|
ref_key: "tTableRef",
|
|
3069
3081
|
ref: u
|
|
3070
|
-
}, { ...o.value, ...n.commonTableProps }),
|
|
3082
|
+
}, { ...o.value, ...n.commonTableProps }), Tt({ _: 2 }, [
|
|
3071
3083
|
me(n.$slots, (N, l) => ({
|
|
3072
3084
|
name: l,
|
|
3073
3085
|
fn: x((s) => [
|
|
3074
|
-
_e(n.$slots, l,
|
|
3086
|
+
_e(n.$slots, l, ku(Ju({ ...s })))
|
|
3075
3087
|
])
|
|
3076
3088
|
}))
|
|
3077
3089
|
]), 1040)) : n.tableType === "enhanced" ? (T(), S(r, ye({
|
|
3078
3090
|
key: 2,
|
|
3079
3091
|
ref_key: "tTableRef",
|
|
3080
3092
|
ref: u
|
|
3081
|
-
}, { ...o.value, ...n.commonTableProps }),
|
|
3093
|
+
}, { ...o.value, ...n.commonTableProps }), Tt({ _: 2 }, [
|
|
3082
3094
|
me(n.$slots, (N, l) => ({
|
|
3083
3095
|
name: l,
|
|
3084
3096
|
fn: x((s) => [
|
|
3085
|
-
_e(n.$slots, l,
|
|
3097
|
+
_e(n.$slots, l, ku(Ju({ ...s })))
|
|
3086
3098
|
])
|
|
3087
3099
|
}))
|
|
3088
3100
|
]), 1040)) : J("", !0)
|
|
@@ -3091,7 +3103,7 @@ const jr = Ge(r4), s4 = /* @__PURE__ */ ne({
|
|
|
3091
3103
|
}
|
|
3092
3104
|
});
|
|
3093
3105
|
const c4 = Ge(s4), Pt = () => {
|
|
3094
|
-
},
|
|
3106
|
+
}, yt = {
|
|
3095
3107
|
// 普通上传文件 POST
|
|
3096
3108
|
baseUploadFile: "/api/base/upload",
|
|
3097
3109
|
// 准备上传文件 POST
|
|
@@ -3102,17 +3114,17 @@ const c4 = Ge(s4), Pt = () => {
|
|
|
3102
3114
|
getFileUrl: "/api/base/upload/files/url"
|
|
3103
3115
|
};
|
|
3104
3116
|
function N4(t) {
|
|
3105
|
-
return Je.post(`${
|
|
3117
|
+
return Je.post(`${yt.uploadReady}`, Dn.stringify(t));
|
|
3106
3118
|
}
|
|
3107
3119
|
function D4(t) {
|
|
3108
|
-
const e =
|
|
3109
|
-
return Je.service.get(`${
|
|
3120
|
+
const e = Mu();
|
|
3121
|
+
return Je.service.get(`${yt.getFileUrl}?sessionId=${e}`, {
|
|
3110
3122
|
timeout: 0,
|
|
3111
3123
|
params: t
|
|
3112
3124
|
});
|
|
3113
3125
|
}
|
|
3114
|
-
|
|
3115
|
-
const
|
|
3126
|
+
jt.enableBoundaryChecking(!1);
|
|
3127
|
+
const Zu = (t) => {
|
|
3116
3128
|
const e = t.responseText || t.response;
|
|
3117
3129
|
if (!e)
|
|
3118
3130
|
return;
|
|
@@ -3124,7 +3136,7 @@ const Hu = (t) => {
|
|
|
3124
3136
|
return e;
|
|
3125
3137
|
}
|
|
3126
3138
|
return e;
|
|
3127
|
-
}, _o = (t, e) =>
|
|
3139
|
+
}, _o = (t, e) => Su(t) ? t(e) : t, g4 = ({
|
|
3128
3140
|
fileItem: t,
|
|
3129
3141
|
name: e,
|
|
3130
3142
|
data: u,
|
|
@@ -3140,12 +3152,12 @@ const Hu = (t) => {
|
|
|
3140
3152
|
onError: D = Pt
|
|
3141
3153
|
}) => {
|
|
3142
3154
|
var y;
|
|
3143
|
-
const A = _o(e, t) || "file", I = _o(u, t), f =
|
|
3155
|
+
const A = _o(e, t) || "file", I = _o(u, t), f = Mu(), _ = i ? `${yt.pieceUploadFiles}?sessionId=${f}` : `${yt.baseUploadFile}?sessionId=${f}`, O = [];
|
|
3144
3156
|
function j(E, p) {
|
|
3145
3157
|
let z = 0;
|
|
3146
3158
|
O.forEach((c) => {
|
|
3147
3159
|
z += c;
|
|
3148
|
-
}), E = z > 0 ?
|
|
3160
|
+
}), E = z > 0 ? jt.round(z / a, 2) : 0, l(E, p);
|
|
3149
3161
|
}
|
|
3150
3162
|
function L(E, p) {
|
|
3151
3163
|
let z = 0, c = 0, h = !1, V = [];
|
|
@@ -3156,17 +3168,17 @@ const Hu = (t) => {
|
|
|
3156
3168
|
if (P) {
|
|
3157
3169
|
const F = c++, G = new XMLHttpRequest();
|
|
3158
3170
|
n && (G.withCredentials = !0), G.upload.onprogress = (m) => {
|
|
3159
|
-
const b = m.total > 0 ?
|
|
3171
|
+
const b = m.total > 0 ? jt.round(m.loaded / m.total, 2) : 0;
|
|
3160
3172
|
O[F] = m.loaded, j(b, m);
|
|
3161
3173
|
}, G.onerror = function(b) {
|
|
3162
3174
|
h = !0, D(b);
|
|
3163
3175
|
}, G.onload = () => {
|
|
3164
3176
|
if (G.status < 200 || G.status >= 300) {
|
|
3165
|
-
D(
|
|
3177
|
+
D(Zu(G));
|
|
3166
3178
|
return;
|
|
3167
3179
|
}
|
|
3168
3180
|
if (z == g - 1) {
|
|
3169
|
-
const m = V.map((b) =>
|
|
3181
|
+
const m = V.map((b) => Zu(b));
|
|
3170
3182
|
s(m);
|
|
3171
3183
|
} else
|
|
3172
3184
|
z++, v();
|
|
@@ -3175,7 +3187,7 @@ const Hu = (t) => {
|
|
|
3175
3187
|
G.setRequestHeader(m, o[m]);
|
|
3176
3188
|
G.send(P), V.push(G);
|
|
3177
3189
|
} else if (z === g) {
|
|
3178
|
-
const F = V.map((G) =>
|
|
3190
|
+
const F = V.map((G) => Zu(G));
|
|
3179
3191
|
s(F);
|
|
3180
3192
|
}
|
|
3181
3193
|
}, C = () => {
|
|
@@ -3213,16 +3225,16 @@ const Hu = (t) => {
|
|
|
3213
3225
|
} else {
|
|
3214
3226
|
const E = new XMLHttpRequest();
|
|
3215
3227
|
n && (E.withCredentials = n), E.upload.onprogress = (z) => {
|
|
3216
|
-
const c = z.total > 0 ?
|
|
3228
|
+
const c = z.total > 0 ? jt.round(z.loaded / z.total, 2) : 0;
|
|
3217
3229
|
l(c, z);
|
|
3218
3230
|
}, E.onerror = function(c) {
|
|
3219
3231
|
D(c);
|
|
3220
3232
|
}, E.onload = () => {
|
|
3221
3233
|
if (E.status < 200 || E.status >= 300) {
|
|
3222
|
-
D(
|
|
3234
|
+
D(Zu(E));
|
|
3223
3235
|
return;
|
|
3224
3236
|
}
|
|
3225
|
-
s(
|
|
3237
|
+
s(Zu(E));
|
|
3226
3238
|
};
|
|
3227
3239
|
const p = new FormData();
|
|
3228
3240
|
if (I)
|
|
@@ -3237,9 +3249,9 @@ const Hu = (t) => {
|
|
|
3237
3249
|
}
|
|
3238
3250
|
};
|
|
3239
3251
|
}
|
|
3240
|
-
},
|
|
3252
|
+
}, Ln = (t) => (t.indexOf(".") > -1 ? `.${t.split(".").pop()}` : "").toLowerCase(), T4 = (t, e) => {
|
|
3241
3253
|
if (e && t) {
|
|
3242
|
-
const u =
|
|
3254
|
+
const u = pu(e) ? e : e.split(",").map((n) => n.trim()).filter((n) => n), o = Ln(t.name);
|
|
3243
3255
|
return u.some((n) => {
|
|
3244
3256
|
const a = n && n.toLowerCase(), i = (t.type || "").toLowerCase(), M = i.split("/")[0];
|
|
3245
3257
|
if (a === i || `${M}${o.replace(".", "/")}` === a || /^\*(\/\*)?$/.test(a))
|
|
@@ -3259,9 +3271,9 @@ const Hu = (t) => {
|
|
|
3259
3271
|
return [];
|
|
3260
3272
|
const u = Array.from(t);
|
|
3261
3273
|
return e ? u.filter((o) => T4(o, e)) : u;
|
|
3262
|
-
},
|
|
3274
|
+
}, hn = (t) => {
|
|
3263
3275
|
var u, o, n, a;
|
|
3264
|
-
const e = { fileId: `${
|
|
3276
|
+
const e = { fileId: `${et(10)}-root`, filename: "root", childFiles: [] };
|
|
3265
3277
|
for (const i of t) {
|
|
3266
3278
|
const M = (u = i == null ? void 0 : i.relativePath) == null ? void 0 : u.split("/");
|
|
3267
3279
|
let r = e;
|
|
@@ -3271,7 +3283,7 @@ const Hu = (t) => {
|
|
|
3271
3283
|
(s) => s.filename === N
|
|
3272
3284
|
);
|
|
3273
3285
|
l || (l = {
|
|
3274
|
-
fileId: `${
|
|
3286
|
+
fileId: `${et(10)}-${N}`,
|
|
3275
3287
|
filename: N,
|
|
3276
3288
|
fileUploadType: "path",
|
|
3277
3289
|
childFiles: []
|
|
@@ -3286,7 +3298,7 @@ const Hu = (t) => {
|
|
|
3286
3298
|
}
|
|
3287
3299
|
}
|
|
3288
3300
|
return e ?? [];
|
|
3289
|
-
},
|
|
3301
|
+
}, Bu = Symbol("GUploader"), d4 = ["disabled", "accept", "multiple"], j4 = ["title"], I4 = /* @__PURE__ */ ne({
|
|
3290
3302
|
__name: "GUploaderButton",
|
|
3291
3303
|
props: {
|
|
3292
3304
|
uploaderText: {
|
|
@@ -3328,7 +3340,7 @@ const Hu = (t) => {
|
|
|
3328
3340
|
}
|
|
3329
3341
|
},
|
|
3330
3342
|
setup(t) {
|
|
3331
|
-
const e = Ye(
|
|
3343
|
+
const e = Ye(Bu, void 0), u = w(() => `${e == null ? void 0 : e.uploaderClass}__button`), o = w(() => [
|
|
3332
3344
|
u.value,
|
|
3333
3345
|
{
|
|
3334
3346
|
[`${u.value}-disabled`]: n.disabled,
|
|
@@ -3340,7 +3352,7 @@ const Hu = (t) => {
|
|
|
3340
3352
|
B(0);
|
|
3341
3353
|
const M = (s) => {
|
|
3342
3354
|
if (!n.disabled) {
|
|
3343
|
-
if (
|
|
3355
|
+
if (Su(n.onButtonClick)) {
|
|
3344
3356
|
const D = n.onButtonClick(s);
|
|
3345
3357
|
if (Va(D)) {
|
|
3346
3358
|
D.then((A) => {
|
|
@@ -3387,7 +3399,7 @@ const Hu = (t) => {
|
|
|
3387
3399
|
N.value == "normal" ? (T(), S(d(zo), {
|
|
3388
3400
|
key: 0,
|
|
3389
3401
|
size: "14"
|
|
3390
|
-
})) : (T(), S(d(
|
|
3402
|
+
})) : (T(), S(d(sn), {
|
|
3391
3403
|
key: 1,
|
|
3392
3404
|
percentage: l.value,
|
|
3393
3405
|
label: !1,
|
|
@@ -3423,14 +3435,14 @@ const Hu = (t) => {
|
|
|
3423
3435
|
}
|
|
3424
3436
|
},
|
|
3425
3437
|
setup(t) {
|
|
3426
|
-
const { T: e } = de(), u = Ye(
|
|
3438
|
+
const { T: e } = de(), u = Ye(Bu, void 0), n = `${w(() => `${u == null ? void 0 : u.uploaderClass}`).value}__progress`, a = (M) => `${Math.round(M * 1e4) / 100}%`, i = (M) => Math.round(M * 1e4) / 100;
|
|
3427
3439
|
return (M, r) => {
|
|
3428
3440
|
var N, l, s, D, A, I;
|
|
3429
3441
|
return T(), R("span", {
|
|
3430
3442
|
class: Z(n)
|
|
3431
3443
|
}, [
|
|
3432
3444
|
["uploading"].includes(t.file.status ?? "") ? (T(), R(Ne, { key: 0 }, [
|
|
3433
|
-
Q(d(
|
|
3445
|
+
Q(d(sn), {
|
|
3434
3446
|
percentage: i(((N = t.file) == null ? void 0 : N.percent) ?? 100),
|
|
3435
3447
|
label: !1,
|
|
3436
3448
|
size: 12,
|
|
@@ -3450,7 +3462,7 @@ const Hu = (t) => {
|
|
|
3450
3462
|
return (_ = d(u)) == null ? void 0 : _.onUpload(t.file);
|
|
3451
3463
|
})
|
|
3452
3464
|
}, [
|
|
3453
|
-
Q(d(
|
|
3465
|
+
Q(d(wu), {
|
|
3454
3466
|
content: d(e).t("重新上传"),
|
|
3455
3467
|
placement: "mouse",
|
|
3456
3468
|
showArrow: !1,
|
|
@@ -3459,7 +3471,7 @@ const Hu = (t) => {
|
|
|
3459
3471
|
default: x(() => {
|
|
3460
3472
|
var f;
|
|
3461
3473
|
return [
|
|
3462
|
-
(f = d(u)) != null && f.showRetryButton ? (T(), S(d(
|
|
3474
|
+
(f = d(u)) != null && f.showRetryButton ? (T(), S(d(dt), { key: 0 })) : J("", !0)
|
|
3463
3475
|
];
|
|
3464
3476
|
}),
|
|
3465
3477
|
_: 1
|
|
@@ -3469,7 +3481,7 @@ const Hu = (t) => {
|
|
|
3469
3481
|
class: Z([(A = d(u)) == null ? void 0 : A.iconClass, `${(I = d(u)) == null ? void 0 : I.iconClass}-success`])
|
|
3470
3482
|
}, [
|
|
3471
3483
|
Q(d(Ca))
|
|
3472
|
-
], 2)) : t.file.status == "init" ? (T(), S(d(
|
|
3484
|
+
], 2)) : t.file.status == "init" ? (T(), S(d(wu), {
|
|
3473
3485
|
key: 3,
|
|
3474
3486
|
content: d(e).t("开始上传"),
|
|
3475
3487
|
placement: "mouse",
|
|
@@ -3491,7 +3503,7 @@ const Hu = (t) => {
|
|
|
3491
3503
|
];
|
|
3492
3504
|
}),
|
|
3493
3505
|
_: 1
|
|
3494
|
-
}, 8, ["content"])) : (T(), S(d(
|
|
3506
|
+
}, 8, ["content"])) : (T(), S(d(wu), {
|
|
3495
3507
|
key: 4,
|
|
3496
3508
|
content: d(e).t("暂停上传"),
|
|
3497
3509
|
placement: "mouse",
|
|
@@ -3526,7 +3538,7 @@ const Hu = (t) => {
|
|
|
3526
3538
|
}
|
|
3527
3539
|
},
|
|
3528
3540
|
setup(t) {
|
|
3529
|
-
const { T: e } = de(), u = Ye(
|
|
3541
|
+
const { T: e } = de(), u = Ye(Bu, void 0), n = `${w(() => `${u == null ? void 0 : u.uploaderClass}`).value}__operations`;
|
|
3530
3542
|
function a(i) {
|
|
3531
3543
|
i.url && window.open(i.url, "_blank");
|
|
3532
3544
|
}
|
|
@@ -3535,7 +3547,7 @@ const Hu = (t) => {
|
|
|
3535
3547
|
return T(), R("div", {
|
|
3536
3548
|
class: Z(n)
|
|
3537
3549
|
}, [
|
|
3538
|
-
t.file.url ? (T(), S(d(
|
|
3550
|
+
t.file.url ? (T(), S(d(wu), {
|
|
3539
3551
|
key: 0,
|
|
3540
3552
|
content: d(e).t("打开文件"),
|
|
3541
3553
|
placement: "mouse",
|
|
@@ -3547,7 +3559,7 @@ const Hu = (t) => {
|
|
|
3547
3559
|
return [
|
|
3548
3560
|
ue("span", {
|
|
3549
3561
|
class: Z([(N = d(u)) == null ? void 0 : N.iconClass]),
|
|
3550
|
-
onClick: M[0] || (M[0] =
|
|
3562
|
+
onClick: M[0] || (M[0] = It((l) => a(t.file), ["stop"]))
|
|
3551
3563
|
}, [
|
|
3552
3564
|
Q(d(Oa))
|
|
3553
3565
|
], 2)
|
|
@@ -3555,7 +3567,7 @@ const Hu = (t) => {
|
|
|
3555
3567
|
}),
|
|
3556
3568
|
_: 1
|
|
3557
3569
|
}, 8, ["content"])) : J("", !0),
|
|
3558
|
-
t.file.status == "error" ? (T(), S(d(
|
|
3570
|
+
t.file.status == "error" ? (T(), S(d(wu), {
|
|
3559
3571
|
key: 1,
|
|
3560
3572
|
content: d(e).t("上传出错"),
|
|
3561
3573
|
placement: "mouse",
|
|
@@ -3577,12 +3589,12 @@ const Hu = (t) => {
|
|
|
3577
3589
|
Q(A4, { file: t.file }, null, 8, ["file"]),
|
|
3578
3590
|
(r = d(u)) != null && r.showRemoveButton ? (T(), R("span", {
|
|
3579
3591
|
key: 2,
|
|
3580
|
-
onClick: M[1] || (M[1] =
|
|
3592
|
+
onClick: M[1] || (M[1] = It((N) => {
|
|
3581
3593
|
var l, s;
|
|
3582
3594
|
return (s = (l = d(u)) == null ? void 0 : l.onRemove) == null ? void 0 : s.call(l, t.file);
|
|
3583
3595
|
}, ["stop"]))
|
|
3584
3596
|
}, [
|
|
3585
|
-
Q(d(
|
|
3597
|
+
Q(d(wu), {
|
|
3586
3598
|
content: d(e).t("移除文件"),
|
|
3587
3599
|
placement: "mouse",
|
|
3588
3600
|
showArrow: !1,
|
|
@@ -3592,7 +3604,7 @@ const Hu = (t) => {
|
|
|
3592
3604
|
ue("span", {
|
|
3593
3605
|
class: Z([d(u).iconClass, `${d(u).iconClass}-remove`])
|
|
3594
3606
|
}, [
|
|
3595
|
-
Q(d(
|
|
3607
|
+
Q(d(mu))
|
|
3596
3608
|
], 2)
|
|
3597
3609
|
]),
|
|
3598
3610
|
_: 1
|
|
@@ -3602,7 +3614,7 @@ const Hu = (t) => {
|
|
|
3602
3614
|
};
|
|
3603
3615
|
}
|
|
3604
3616
|
});
|
|
3605
|
-
const
|
|
3617
|
+
const On = /* @__PURE__ */ tu(y4, [["__scopeId", "data-v-8a486150"]]), m4 = /* @__PURE__ */ ne({
|
|
3606
3618
|
__name: "GUploaderListItem",
|
|
3607
3619
|
props: {
|
|
3608
3620
|
file: {
|
|
@@ -3615,7 +3627,7 @@ const hn = /* @__PURE__ */ tu(y4, [["__scopeId", "data-v-8a486150"]]), m4 = /* @
|
|
|
3615
3627
|
}
|
|
3616
3628
|
},
|
|
3617
3629
|
setup(t) {
|
|
3618
|
-
const e = Ye(
|
|
3630
|
+
const e = Ye(Bu, void 0), u = w(() => `${e == null ? void 0 : e.uploaderClass}`), n = `${`${u.value}__list`}-item`, a = t, i = w(() => {
|
|
3619
3631
|
var N;
|
|
3620
3632
|
let r = "";
|
|
3621
3633
|
if (a.file.file && a.file.file.type)
|
|
@@ -3624,7 +3636,7 @@ const hn = /* @__PURE__ */ tu(y4, [["__scopeId", "data-v-8a486150"]]), m4 = /* @
|
|
|
3624
3636
|
const l = ((N = a.file.filename) == null ? void 0 : N.split(".")[1]) ?? "";
|
|
3625
3637
|
["png", "jpg", "jpeg", "bmp", "gif", "webp"].includes(l) ? r = "image" : ["mp4", "m2v", "mkv", "m4v", "mov"].includes(l) ? r = "video" : ["mp3", "wav", "wmv", "m4a", "acc", "flac"].includes(l) && (r = "audio");
|
|
3626
3638
|
}
|
|
3627
|
-
return r.includes("image") ?
|
|
3639
|
+
return r.includes("image") ? Xu : r.includes("pdf") ? cn : r.includes("video") ? Zt : Kt;
|
|
3628
3640
|
}), M = w(() => a.file.filename ? a.file.filename.length > 25 ? a.file.filename.substring(0, 20) + "..." + a.file.filename.substring(a.file.filename.length - 5) : a.file.filename : "");
|
|
3629
3641
|
return (r, N) => {
|
|
3630
3642
|
var l;
|
|
@@ -3643,7 +3655,7 @@ const hn = /* @__PURE__ */ tu(y4, [["__scopeId", "data-v-8a486150"]]), m4 = /* @
|
|
|
3643
3655
|
}, [
|
|
3644
3656
|
(T(), S(nn(i.value)))
|
|
3645
3657
|
], 2)) : J("", !0),
|
|
3646
|
-
Q(d(
|
|
3658
|
+
Q(d(wu), {
|
|
3647
3659
|
content: t.file.filename,
|
|
3648
3660
|
placement: "mouse",
|
|
3649
3661
|
showArrow: !1,
|
|
@@ -3675,7 +3687,7 @@ const hn = /* @__PURE__ */ tu(y4, [["__scopeId", "data-v-8a486150"]]), m4 = /* @
|
|
|
3675
3687
|
}, 8, ["content"])
|
|
3676
3688
|
], 2)
|
|
3677
3689
|
], 2),
|
|
3678
|
-
Q(
|
|
3690
|
+
Q(On, { file: t.file }, null, 8, ["file"])
|
|
3679
3691
|
], 2);
|
|
3680
3692
|
};
|
|
3681
3693
|
}
|
|
@@ -3692,11 +3704,11 @@ const hn = /* @__PURE__ */ tu(y4, [["__scopeId", "data-v-8a486150"]]), m4 = /* @
|
|
|
3692
3704
|
}
|
|
3693
3705
|
},
|
|
3694
3706
|
setup(t) {
|
|
3695
|
-
const e = Ye(
|
|
3707
|
+
const e = Ye(Bu, void 0), u = w(() => `${e == null ? void 0 : e.uploaderClass}`), o = w(() => [
|
|
3696
3708
|
`${u.value}__list`,
|
|
3697
3709
|
`${u.value}__list--type-${n.listType}`
|
|
3698
3710
|
]), n = t;
|
|
3699
|
-
return (a, i) => (T(), S(
|
|
3711
|
+
return (a, i) => (T(), S(ra, {
|
|
3700
3712
|
tag: "div",
|
|
3701
3713
|
class: Z(o.value)
|
|
3702
3714
|
}, {
|
|
@@ -3719,7 +3731,7 @@ const hn = /* @__PURE__ */ tu(y4, [["__scopeId", "data-v-8a486150"]]), m4 = /* @
|
|
|
3719
3731
|
}
|
|
3720
3732
|
},
|
|
3721
3733
|
setup(t) {
|
|
3722
|
-
const e = Ye(
|
|
3734
|
+
const e = Ye(Bu, void 0), o = `${w(() => `${e == null ? void 0 : e.uploaderClass}`).value}`, n = w(() => [`${o}__tree`]), a = t, i = (r, N) => {
|
|
3723
3735
|
var s;
|
|
3724
3736
|
let l = null;
|
|
3725
3737
|
if (N.getChildren())
|
|
@@ -3732,7 +3744,7 @@ const hn = /* @__PURE__ */ tu(y4, [["__scopeId", "data-v-8a486150"]]), m4 = /* @
|
|
|
3732
3744
|
const A = ((s = N.data.filename) == null ? void 0 : s.split(".")[1]) ?? "";
|
|
3733
3745
|
["png", "jpg", "jpeg", "bmp", "gif", "webp"].includes(A) ? D = "image" : ["mp4", "m2v", "mkv", "m4v", "mov"].includes(A) ? D = "video" : ["mp3", "wav", "wmv", "m4a", "acc", "flac"].includes(A) && (D = "audio");
|
|
3734
3746
|
}
|
|
3735
|
-
D.includes("image") && (l =
|
|
3747
|
+
D.includes("image") && (l = Xu), D.includes("pdf") && (l = cn), D.includes("audio") && (l = Zt), D.includes("video") && (l = Zt), l = Kt;
|
|
3736
3748
|
} else
|
|
3737
3749
|
l = Kt;
|
|
3738
3750
|
return l && r(l, {});
|
|
@@ -3751,7 +3763,7 @@ const hn = /* @__PURE__ */ tu(y4, [["__scopeId", "data-v-8a486150"]]), m4 = /* @
|
|
|
3751
3763
|
keys: { value: "fileId", label: "filename", children: "childFiles" }
|
|
3752
3764
|
}, {
|
|
3753
3765
|
operations: x(({ node: D }) => [
|
|
3754
|
-
D.data.fileUploadType == "file" ? (T(), S(
|
|
3766
|
+
D.data.fileUploadType == "file" ? (T(), S(On, {
|
|
3755
3767
|
key: 0,
|
|
3756
3768
|
file: D.data
|
|
3757
3769
|
}, null, 8, ["file"])) : J("", !0)
|
|
@@ -4056,12 +4068,12 @@ const hn = /* @__PURE__ */ tu(y4, [["__scopeId", "data-v-8a486150"]]), m4 = /* @
|
|
|
4056
4068
|
download: f,
|
|
4057
4069
|
showLink: _,
|
|
4058
4070
|
showButtonProgress: O
|
|
4059
|
-
} =
|
|
4071
|
+
} = sa(n), j = /* @__PURE__ */ new Map(), L = /* @__PURE__ */ new Map(), y = B([]), E = w(() => n.directory ? y.value.length ? hn(y.value) : { fileId: "" } : { fileId: "" }), p = w(() => n.limit > 0 && y.value.length >= n.limit), z = w(() => n.buttonText ? n.buttonText : n.directory ? p.value ? `${o.t("重新选择")}` : `${o.t("上传文件夹")}` : p.value ? `${o.t("重新选择")}` : `${o.t("上传文件")}`), c = (U) => {
|
|
4060
4072
|
j.clear();
|
|
4061
4073
|
const H = U == null ? void 0 : U.map((ee, ie) => {
|
|
4062
4074
|
const Ce = ee.status ? ee.status : ee.url ? "done" : "error", Se = Ot({
|
|
4063
4075
|
...ee,
|
|
4064
|
-
fileId: ee.fileId ?? `${
|
|
4076
|
+
fileId: ee.fileId ?? `${et(10)}-${ee.filename}`,
|
|
4065
4077
|
status: Ce,
|
|
4066
4078
|
percent: ee.percent ?? (["error", "init"].indexOf(Ce) > -1 ? 0 : 1)
|
|
4067
4079
|
});
|
|
@@ -4080,7 +4092,7 @@ const hn = /* @__PURE__ */ tu(y4, [["__scopeId", "data-v-8a486150"]]), m4 = /* @
|
|
|
4080
4092
|
a("update:fileList", y.value), a("change", y.value, U);
|
|
4081
4093
|
}, V = async (U) => {
|
|
4082
4094
|
const H = await N4({
|
|
4083
|
-
suffix:
|
|
4095
|
+
suffix: Ln(U.name).split(".")[1]
|
|
4084
4096
|
// url: file.name,
|
|
4085
4097
|
});
|
|
4086
4098
|
if (H.state == 200)
|
|
@@ -4127,13 +4139,13 @@ const hn = /* @__PURE__ */ tu(y4, [["__scopeId", "data-v-8a486150"]]), m4 = /* @
|
|
|
4127
4139
|
onError: ae
|
|
4128
4140
|
};
|
|
4129
4141
|
U.status = "uploading", U.percent = 0;
|
|
4130
|
-
const Ie =
|
|
4142
|
+
const Ie = Su(n.customRequest) ? n.customRequest(X) : g4(X);
|
|
4131
4143
|
L.set(U.fileId, Ie);
|
|
4132
4144
|
}, v = (U) => {
|
|
4133
4145
|
var ee;
|
|
4134
4146
|
const H = L.get(U.fileId);
|
|
4135
4147
|
if (H)
|
|
4136
|
-
if (
|
|
4148
|
+
if (pu(H)) {
|
|
4137
4149
|
H.forEach((Ce) => {
|
|
4138
4150
|
var Se;
|
|
4139
4151
|
(Se = Ce.abort) == null || Se.call(Ce);
|
|
@@ -4154,7 +4166,7 @@ const hn = /* @__PURE__ */ tu(y4, [["__scopeId", "data-v-8a486150"]]), m4 = /* @
|
|
|
4154
4166
|
for (const U of y.value)
|
|
4155
4167
|
m(U);
|
|
4156
4168
|
}, F = async (U, H) => {
|
|
4157
|
-
const ee = `${
|
|
4169
|
+
const ee = `${et(10)}-${U.name}`, ie = void 0, Ce = Ot({
|
|
4158
4170
|
fileId: ee,
|
|
4159
4171
|
file: U,
|
|
4160
4172
|
filename: U.name,
|
|
@@ -4174,7 +4186,7 @@ const hn = /* @__PURE__ */ tu(y4, [["__scopeId", "data-v-8a486150"]]), m4 = /* @
|
|
|
4174
4186
|
n.directory && n.multiple == !1 && (y.value = []);
|
|
4175
4187
|
for (let H = 0; H < U.length; H++) {
|
|
4176
4188
|
const ee = U[H];
|
|
4177
|
-
|
|
4189
|
+
Su(n.onBeforeUpload) ? Promise.resolve(n.onBeforeUpload(ee)).then((ie) => {
|
|
4178
4190
|
ie && F($a(ie) ? ee : ie);
|
|
4179
4191
|
}).catch((ie) => {
|
|
4180
4192
|
console.error(ie);
|
|
@@ -4183,7 +4195,7 @@ const hn = /* @__PURE__ */ tu(y4, [["__scopeId", "data-v-8a486150"]]), m4 = /* @
|
|
|
4183
4195
|
}, m = (U) => {
|
|
4184
4196
|
y.value = y.value.filter((H) => H.fileId !== U.fileId), h(U);
|
|
4185
4197
|
}, b = (U) => {
|
|
4186
|
-
|
|
4198
|
+
Su(n.onBeforeRemove) ? Promise.resolve(n.onBeforeRemove(U)).then((H) => {
|
|
4187
4199
|
H && m(U);
|
|
4188
4200
|
}).catch((H) => {
|
|
4189
4201
|
console.error(H);
|
|
@@ -4194,13 +4206,13 @@ const hn = /* @__PURE__ */ tu(y4, [["__scopeId", "data-v-8a486150"]]), m4 = /* @
|
|
|
4194
4206
|
if (n.listType === "picture" || n.listType === "picture-card")
|
|
4195
4207
|
return "image/*";
|
|
4196
4208
|
});
|
|
4197
|
-
return
|
|
4198
|
-
|
|
4209
|
+
return ju(
|
|
4210
|
+
Bu,
|
|
4199
4211
|
Ot({
|
|
4200
4212
|
disabled: r,
|
|
4201
4213
|
listType: N,
|
|
4202
|
-
uploaderClass:
|
|
4203
|
-
iconClass: `${
|
|
4214
|
+
uploaderClass: rt,
|
|
4215
|
+
iconClass: `${rt}--icon`,
|
|
4204
4216
|
showRemoveButton: D,
|
|
4205
4217
|
showRetryButton: l,
|
|
4206
4218
|
showCancelButton: s,
|
|
@@ -4220,7 +4232,7 @@ const hn = /* @__PURE__ */ tu(y4, [["__scopeId", "data-v-8a486150"]]), m4 = /* @
|
|
|
4220
4232
|
}), (U, H) => {
|
|
4221
4233
|
var ee;
|
|
4222
4234
|
return T(), R("div", {
|
|
4223
|
-
class: Z([`${d(
|
|
4235
|
+
class: Z([`${d(rt)}`])
|
|
4224
4236
|
}, [
|
|
4225
4237
|
t.showUploadButton ? (T(), S(I4, ye({
|
|
4226
4238
|
key: 0,
|
|
@@ -4238,7 +4250,7 @@ const hn = /* @__PURE__ */ tu(y4, [["__scopeId", "data-v-8a486150"]]), m4 = /* @
|
|
|
4238
4250
|
}, { ...(ee = y.value) != null && ee.length ? {} : { tip: t.tip } }), null, 16, ["disabled", "listType", "uploaderText", "multiple", "directory", "hide", "accept", "onButtonClick", "buttonProps", "fileList"])) : J("", !0),
|
|
4239
4251
|
t.showFileList && y.value.length ? (T(), S(d(Aa), {
|
|
4240
4252
|
key: 1,
|
|
4241
|
-
class: Z(`${d(
|
|
4253
|
+
class: Z(`${d(rt)}__card`),
|
|
4242
4254
|
size: "small"
|
|
4243
4255
|
}, {
|
|
4244
4256
|
default: x(() => [
|
|
@@ -4390,11 +4402,11 @@ const L4 = /* @__PURE__ */ tu(C4, [["__scopeId", "data-v-05da5ebe"]]), h4 = Ge(L
|
|
|
4390
4402
|
]), n = ve(), a = w(() => n.themeConfig), i = () => {
|
|
4391
4403
|
n.changeTheme(a.value);
|
|
4392
4404
|
}, M = (r) => ({
|
|
4393
|
-
background:
|
|
4405
|
+
background: An(r, zn)["--td-brand-color"]
|
|
4394
4406
|
});
|
|
4395
4407
|
return (r, N) => {
|
|
4396
4408
|
const l = K("t-radio-button"), s = K("t-radio-group"), D = K("t-form-item"), A = K("t-form");
|
|
4397
|
-
return T(), S(
|
|
4409
|
+
return T(), S(xn, {
|
|
4398
4410
|
commonDialogProps: {
|
|
4399
4411
|
visible: r.visible,
|
|
4400
4412
|
onClose: r.onClose,
|
|
@@ -4480,7 +4492,7 @@ const L4 = /* @__PURE__ */ tu(C4, [["__scopeId", "data-v-05da5ebe"]]), h4 = Ge(L
|
|
|
4480
4492
|
};
|
|
4481
4493
|
}
|
|
4482
4494
|
});
|
|
4483
|
-
const Ir = Ge(O4),
|
|
4495
|
+
const Ir = Ge(O4), Ru = {
|
|
4484
4496
|
// 视图 - 获取所有视图 GET
|
|
4485
4497
|
getAllView: "/restapi/s09/gview/boards/all",
|
|
4486
4498
|
// 视图 - 获取一个视图 GET
|
|
@@ -4497,7 +4509,7 @@ const Ir = Ge(O4), $u = {
|
|
|
4497
4509
|
confirm: "/restapi/s09/gview/active/confirm",
|
|
4498
4510
|
// 触发 - 触发批量操作事件 POST
|
|
4499
4511
|
batch: "/restapi/s09/gview/active/batch"
|
|
4500
|
-
},
|
|
4512
|
+
}, kn = (t) => Je.get(Ru.getOneView, t), at = (t) => Je.post(Ru.getBoardData, t), wn = (t) => Je.post(Ru.confirm, t), k4 = (t) => Je.post(Ru.batch, t), w4 = (t) => Je.post(Ru.activeFile, t), S4 = (t) => Je.post(Ru.downloadFile, t), v4 = /* @__PURE__ */ ne({
|
|
4501
4513
|
__name: "GFormLabel",
|
|
4502
4514
|
props: {
|
|
4503
4515
|
modelValue: { default: "" },
|
|
@@ -4508,12 +4520,12 @@ const Ir = Ge(O4), $u = {
|
|
|
4508
4520
|
const e = t, u = w(() => e.formItem.keyName), o = w(() => {
|
|
4509
4521
|
if (e.formItem.value !== "")
|
|
4510
4522
|
try {
|
|
4511
|
-
return
|
|
4523
|
+
return du.render(e.formItem.value, { item: e.formModel });
|
|
4512
4524
|
} catch (n) {
|
|
4513
4525
|
console.error("GTable returnValue Error", n);
|
|
4514
4526
|
}
|
|
4515
4527
|
else if ((u.value === "startTime" || u.value === "endTime") && typeof e.modelValue == "number")
|
|
4516
|
-
return
|
|
4528
|
+
return gu(e.modelValue).format("YYYY/MM/DD HH:mm:ss");
|
|
4517
4529
|
return e.modelValue;
|
|
4518
4530
|
});
|
|
4519
4531
|
return (n, a) => {
|
|
@@ -4527,7 +4539,7 @@ const Ir = Ge(O4), $u = {
|
|
|
4527
4539
|
};
|
|
4528
4540
|
}
|
|
4529
4541
|
});
|
|
4530
|
-
const
|
|
4542
|
+
const Sn = /* @__PURE__ */ tu(v4, [["__scopeId", "data-v-b9a9d3f9"]]), U4 = ["title"], to = /* @__PURE__ */ ne({
|
|
4531
4543
|
__name: "GFormInput",
|
|
4532
4544
|
props: {
|
|
4533
4545
|
inputType: {},
|
|
@@ -4565,7 +4577,7 @@ const wn = /* @__PURE__ */ tu(v4, [["__scopeId", "data-v-b9a9d3f9"]]), U4 = ["ti
|
|
|
4565
4577
|
});
|
|
4566
4578
|
const N = B(), l = B(!1);
|
|
4567
4579
|
Be(() => {
|
|
4568
|
-
l.value =
|
|
4580
|
+
l.value = $u(N.value);
|
|
4569
4581
|
});
|
|
4570
4582
|
const s = Ye(pt);
|
|
4571
4583
|
return (D, A) => {
|
|
@@ -4590,7 +4602,7 @@ const wn = /* @__PURE__ */ tu(v4, [["__scopeId", "data-v-b9a9d3f9"]]), U4 = ["ti
|
|
|
4590
4602
|
], 8, U4);
|
|
4591
4603
|
};
|
|
4592
4604
|
}
|
|
4593
|
-
}),
|
|
4605
|
+
}), vn = /* @__PURE__ */ ne({
|
|
4594
4606
|
__name: "GFormCheckBox",
|
|
4595
4607
|
props: {
|
|
4596
4608
|
modelValue: {},
|
|
@@ -4624,7 +4636,7 @@ const wn = /* @__PURE__ */ tu(v4, [["__scopeId", "data-v-b9a9d3f9"]]), U4 = ["ti
|
|
|
4624
4636
|
}, null, 8, ["modelValue", "disabled"]);
|
|
4625
4637
|
};
|
|
4626
4638
|
}
|
|
4627
|
-
}),
|
|
4639
|
+
}), Un = /* @__PURE__ */ ne({
|
|
4628
4640
|
__name: "GFormSwitch",
|
|
4629
4641
|
props: {
|
|
4630
4642
|
modelValue: {},
|
|
@@ -4654,7 +4666,7 @@ const wn = /* @__PURE__ */ tu(v4, [["__scopeId", "data-v-b9a9d3f9"]]), U4 = ["ti
|
|
|
4654
4666
|
() => {
|
|
4655
4667
|
u.disabled && a("update:modelValue", Pe(o.value));
|
|
4656
4668
|
}
|
|
4657
|
-
),
|
|
4669
|
+
), tt(() => {
|
|
4658
4670
|
a("update:modelValue", Pe(o.value));
|
|
4659
4671
|
}), (M, r) => {
|
|
4660
4672
|
const N = K("t-switch");
|
|
@@ -4668,7 +4680,7 @@ const wn = /* @__PURE__ */ tu(v4, [["__scopeId", "data-v-b9a9d3f9"]]), U4 = ["ti
|
|
|
4668
4680
|
}
|
|
4669
4681
|
});
|
|
4670
4682
|
async function Q4(t, e, u, o) {
|
|
4671
|
-
const n = await
|
|
4683
|
+
const n = await at({
|
|
4672
4684
|
viewName: e,
|
|
4673
4685
|
dataId: u,
|
|
4674
4686
|
props: o
|
|
@@ -4676,7 +4688,7 @@ async function Q4(t, e, u, o) {
|
|
|
4676
4688
|
if (n.state === 200) {
|
|
4677
4689
|
const a = n.data;
|
|
4678
4690
|
if (!$e(a) && a.length)
|
|
4679
|
-
return
|
|
4691
|
+
return mn({
|
|
4680
4692
|
list: a,
|
|
4681
4693
|
parentKey: null,
|
|
4682
4694
|
keyName: t == null ? void 0 : t.keyName,
|
|
@@ -4687,7 +4699,7 @@ async function Q4(t, e, u, o) {
|
|
|
4687
4699
|
}
|
|
4688
4700
|
}
|
|
4689
4701
|
async function b4(t, e, u, o) {
|
|
4690
|
-
const n = await
|
|
4702
|
+
const n = await at({
|
|
4691
4703
|
viewName: e,
|
|
4692
4704
|
dataId: u,
|
|
4693
4705
|
props: o
|
|
@@ -4695,7 +4707,7 @@ async function b4(t, e, u, o) {
|
|
|
4695
4707
|
if (n.state === 200) {
|
|
4696
4708
|
const a = n.data;
|
|
4697
4709
|
if (!$e(a) && a.length)
|
|
4698
|
-
return
|
|
4710
|
+
return mn({
|
|
4699
4711
|
list: a,
|
|
4700
4712
|
parentKey: null,
|
|
4701
4713
|
keyName: t == null ? void 0 : t.valueName,
|
|
@@ -4706,7 +4718,7 @@ async function b4(t, e, u, o) {
|
|
|
4706
4718
|
}
|
|
4707
4719
|
}
|
|
4708
4720
|
async function Y4(t, e, u, o) {
|
|
4709
|
-
const n = await
|
|
4721
|
+
const n = await at({
|
|
4710
4722
|
viewName: e,
|
|
4711
4723
|
dataId: u,
|
|
4712
4724
|
props: o
|
|
@@ -4727,7 +4739,7 @@ async function Y4(t, e, u, o) {
|
|
|
4727
4739
|
}
|
|
4728
4740
|
function zt(t) {
|
|
4729
4741
|
const e = B([]);
|
|
4730
|
-
return
|
|
4742
|
+
return tt(async () => {
|
|
4731
4743
|
switch (t.itemType) {
|
|
4732
4744
|
case "tree_check_box": {
|
|
4733
4745
|
const { treeData: u, viewName: o, dataId: n, propsModel: a } = t;
|
|
@@ -4767,7 +4779,7 @@ function zt(t) {
|
|
|
4767
4779
|
options: e
|
|
4768
4780
|
};
|
|
4769
4781
|
}
|
|
4770
|
-
const
|
|
4782
|
+
const Qn = /* @__PURE__ */ ne({
|
|
4771
4783
|
__name: "GFormRadio",
|
|
4772
4784
|
props: {
|
|
4773
4785
|
modelValue: {},
|
|
@@ -4787,7 +4799,7 @@ const Un = /* @__PURE__ */ ne({
|
|
|
4787
4799
|
}), a = w(() => {
|
|
4788
4800
|
var s, D;
|
|
4789
4801
|
return ((D = (s = u.formItem) == null ? void 0 : s.listData) == null ? void 0 : D.dataId) ?? "";
|
|
4790
|
-
}), i = Ye(
|
|
4802
|
+
}), i = Ye(Yu, void 0), { options: M } = zt({
|
|
4791
4803
|
itemType: o.value,
|
|
4792
4804
|
viewName: u.viewName,
|
|
4793
4805
|
listData: n.value,
|
|
@@ -4813,7 +4825,7 @@ const Un = /* @__PURE__ */ ne({
|
|
|
4813
4825
|
() => {
|
|
4814
4826
|
u.disabled && N("update:modelValue", Pe(o.value));
|
|
4815
4827
|
}
|
|
4816
|
-
),
|
|
4828
|
+
), tt(() => {
|
|
4817
4829
|
N("update:modelValue", Pe(o.value));
|
|
4818
4830
|
}), (s, D) => {
|
|
4819
4831
|
const A = K("t-radio"), I = K("t-radio-group");
|
|
@@ -4838,7 +4850,7 @@ const Un = /* @__PURE__ */ ne({
|
|
|
4838
4850
|
}, 8, ["modelValue", "disabled"]);
|
|
4839
4851
|
};
|
|
4840
4852
|
}
|
|
4841
|
-
}), B4 = ["title"],
|
|
4853
|
+
}), B4 = ["title"], bn = /* @__PURE__ */ ne({
|
|
4842
4854
|
__name: "GFormSelect",
|
|
4843
4855
|
props: {
|
|
4844
4856
|
modelValue: {},
|
|
@@ -4860,7 +4872,7 @@ const Un = /* @__PURE__ */ ne({
|
|
|
4860
4872
|
}), i = w(() => {
|
|
4861
4873
|
var j, L;
|
|
4862
4874
|
return ((L = (j = o.formItem) == null ? void 0 : j.listData) == null ? void 0 : L.dataId) ?? "";
|
|
4863
|
-
}), M = Ye(
|
|
4875
|
+
}), M = Ye(Yu, void 0), { options: r } = zt({
|
|
4864
4876
|
itemType: n.value,
|
|
4865
4877
|
viewName: o.viewName,
|
|
4866
4878
|
listData: a.value,
|
|
@@ -4894,7 +4906,7 @@ const Un = /* @__PURE__ */ ne({
|
|
|
4894
4906
|
});
|
|
4895
4907
|
const f = B(), _ = B(!1);
|
|
4896
4908
|
Be(() => {
|
|
4897
|
-
f.value && (_.value =
|
|
4909
|
+
f.value && (_.value = $u(f.value));
|
|
4898
4910
|
});
|
|
4899
4911
|
const O = Ye(pt);
|
|
4900
4912
|
return (j, L) => {
|
|
@@ -4922,7 +4934,7 @@ const Un = /* @__PURE__ */ ne({
|
|
|
4922
4934
|
], 8, B4);
|
|
4923
4935
|
};
|
|
4924
4936
|
}
|
|
4925
|
-
}), F4 = ["title"],
|
|
4937
|
+
}), F4 = ["title"], Yn = /* @__PURE__ */ ne({
|
|
4926
4938
|
__name: "GFormSelectDateTime",
|
|
4927
4939
|
props: {
|
|
4928
4940
|
modelValue: {},
|
|
@@ -4945,7 +4957,7 @@ const Un = /* @__PURE__ */ ne({
|
|
|
4945
4957
|
var l;
|
|
4946
4958
|
if (u.modelValue == 0 || iu(u.modelValue))
|
|
4947
4959
|
return "";
|
|
4948
|
-
u.modelValue && ((l = u.formItem) == null ? void 0 : l.itemType) == "time_selector" ? n.value =
|
|
4960
|
+
u.modelValue && ((l = u.formItem) == null ? void 0 : l.itemType) == "time_selector" ? n.value = gu(u.modelValue).format("HH:mm:ss") : n.value = u.modelValue;
|
|
4949
4961
|
},
|
|
4950
4962
|
{
|
|
4951
4963
|
deep: !0,
|
|
@@ -4967,7 +4979,7 @@ const Un = /* @__PURE__ */ ne({
|
|
|
4967
4979
|
);
|
|
4968
4980
|
const r = B(), N = B(!1);
|
|
4969
4981
|
return Be(() => {
|
|
4970
|
-
r.value && (N.value =
|
|
4982
|
+
r.value && (N.value = $u(r.value));
|
|
4971
4983
|
}), (l, s) => {
|
|
4972
4984
|
var I, f, _, O, j;
|
|
4973
4985
|
const D = K("t-date-picker"), A = K("t-time-picker");
|
|
@@ -5005,7 +5017,7 @@ const Un = /* @__PURE__ */ ne({
|
|
|
5005
5017
|
], 8, F4);
|
|
5006
5018
|
};
|
|
5007
5019
|
}
|
|
5008
|
-
}), _4 = ["title"],
|
|
5020
|
+
}), _4 = ["title"], Bn = /* @__PURE__ */ ne({
|
|
5009
5021
|
__name: "GFormTreeCheckBox",
|
|
5010
5022
|
props: {
|
|
5011
5023
|
modelValue: {},
|
|
@@ -5034,7 +5046,7 @@ const Un = /* @__PURE__ */ ne({
|
|
|
5034
5046
|
}), a = w(() => {
|
|
5035
5047
|
var f, _;
|
|
5036
5048
|
return ((_ = (f = u.formItem) == null ? void 0 : f.treeData) == null ? void 0 : _.dataId) ?? "";
|
|
5037
|
-
}), i = Ye(
|
|
5049
|
+
}), i = Ye(Yu, void 0), {
|
|
5038
5050
|
options: M
|
|
5039
5051
|
} = zt({
|
|
5040
5052
|
itemType: o.value,
|
|
@@ -5056,7 +5068,7 @@ const Un = /* @__PURE__ */ ne({
|
|
|
5056
5068
|
});
|
|
5057
5069
|
const s = B(), D = B(!1);
|
|
5058
5070
|
Be(() => {
|
|
5059
|
-
s.value && (D.value =
|
|
5071
|
+
s.value && (D.value = $u(s.value));
|
|
5060
5072
|
});
|
|
5061
5073
|
const A = B(u.modelValue);
|
|
5062
5074
|
Te(() => u.modelValue, (f) => {
|
|
@@ -5095,7 +5107,7 @@ const Un = /* @__PURE__ */ ne({
|
|
|
5095
5107
|
}, null, 8, ["modelValue", "data", "placeholder", "multiple", "treeProps", "disabled"])], 8, _4);
|
|
5096
5108
|
};
|
|
5097
5109
|
}
|
|
5098
|
-
}), P4 = ["title"],
|
|
5110
|
+
}), P4 = ["title"], Fn = /* @__PURE__ */ ne({
|
|
5099
5111
|
__name: "GFormCascader",
|
|
5100
5112
|
props: {
|
|
5101
5113
|
modelValue: {},
|
|
@@ -5117,7 +5129,7 @@ const Un = /* @__PURE__ */ ne({
|
|
|
5117
5129
|
}), a = w(() => {
|
|
5118
5130
|
var I, f;
|
|
5119
5131
|
return ((f = (I = u.formItem) == null ? void 0 : I.treeData) == null ? void 0 : f.dataId) ?? "";
|
|
5120
|
-
}), i = Ye(
|
|
5132
|
+
}), i = Ye(Yu, void 0), { options: M } = zt({
|
|
5121
5133
|
itemType: o.value,
|
|
5122
5134
|
viewName: u.viewName,
|
|
5123
5135
|
treeData: n.value,
|
|
@@ -5140,7 +5152,7 @@ const Un = /* @__PURE__ */ ne({
|
|
|
5140
5152
|
});
|
|
5141
5153
|
const s = B(), D = B(!1);
|
|
5142
5154
|
Be(() => {
|
|
5143
|
-
s.value && (D.value =
|
|
5155
|
+
s.value && (D.value = $u(s.value));
|
|
5144
5156
|
});
|
|
5145
5157
|
const A = B(u.modelValue);
|
|
5146
5158
|
return Te(
|
|
@@ -5176,7 +5188,7 @@ const Un = /* @__PURE__ */ ne({
|
|
|
5176
5188
|
], 8, P4);
|
|
5177
5189
|
};
|
|
5178
5190
|
}
|
|
5179
|
-
}),
|
|
5191
|
+
}), _n = /* @__PURE__ */ ne({
|
|
5180
5192
|
__name: "GFormUpload",
|
|
5181
5193
|
props: {
|
|
5182
5194
|
modelValue: {},
|
|
@@ -5208,7 +5220,7 @@ const Un = /* @__PURE__ */ ne({
|
|
|
5208
5220
|
}
|
|
5209
5221
|
);
|
|
5210
5222
|
function i(N) {
|
|
5211
|
-
const l =
|
|
5223
|
+
const l = ft(N);
|
|
5212
5224
|
if (o.formItem.fileUploadType == "file")
|
|
5213
5225
|
if (l.length && l.every((s) => s.status == "done")) {
|
|
5214
5226
|
const { response: s, filename: D, url: A } = l[0];
|
|
@@ -5267,7 +5279,7 @@ var V4 = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
5267
5279
|
function $4(t) {
|
|
5268
5280
|
return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
|
|
5269
5281
|
}
|
|
5270
|
-
var
|
|
5282
|
+
var Pn = { exports: {} };
|
|
5271
5283
|
(function(t, e) {
|
|
5272
5284
|
(function(u, o) {
|
|
5273
5285
|
t.exports = o();
|
|
@@ -5399,8 +5411,8 @@ var _n = { exports: {} };
|
|
|
5399
5411
|
};
|
|
5400
5412
|
};
|
|
5401
5413
|
});
|
|
5402
|
-
})(
|
|
5403
|
-
var R4 =
|
|
5414
|
+
})(Pn);
|
|
5415
|
+
var R4 = Pn.exports;
|
|
5404
5416
|
const W4 = /* @__PURE__ */ $4(R4), G4 = ["title"], H4 = /* @__PURE__ */ ne({
|
|
5405
5417
|
__name: "GFormSelectDelay",
|
|
5406
5418
|
props: {
|
|
@@ -5413,7 +5425,7 @@ const W4 = /* @__PURE__ */ $4(R4), G4 = ["title"], H4 = /* @__PURE__ */ ne({
|
|
|
5413
5425
|
},
|
|
5414
5426
|
emits: ["update:modelValue", "blur:modelValue"],
|
|
5415
5427
|
setup(t, { emit: e }) {
|
|
5416
|
-
|
|
5428
|
+
gu.extend(W4);
|
|
5417
5429
|
const u = t, o = w(() => {
|
|
5418
5430
|
var l;
|
|
5419
5431
|
return (l = u.formItem) == null ? void 0 : l.itemType;
|
|
@@ -5421,13 +5433,13 @@ const W4 = /* @__PURE__ */ $4(R4), G4 = ["title"], H4 = /* @__PURE__ */ ne({
|
|
|
5421
5433
|
Te(
|
|
5422
5434
|
() => u.modelValue,
|
|
5423
5435
|
() => {
|
|
5424
|
-
u.modelValue == 0 || iu(u.modelValue) ? n.value = "" : n.value =
|
|
5436
|
+
u.modelValue == 0 || iu(u.modelValue) ? n.value = "" : n.value = gu.duration(u.modelValue).format("HH:mm:ss");
|
|
5425
5437
|
}
|
|
5426
5438
|
);
|
|
5427
5439
|
const a = e;
|
|
5428
5440
|
function i(l) {
|
|
5429
5441
|
if (l) {
|
|
5430
|
-
const s = l.split(":"), [D, A, I] = s, f =
|
|
5442
|
+
const s = l.split(":"), [D, A, I] = s, f = gu.duration({
|
|
5431
5443
|
hours: D,
|
|
5432
5444
|
minutes: A,
|
|
5433
5445
|
seconds: I
|
|
@@ -5437,7 +5449,7 @@ const W4 = /* @__PURE__ */ $4(R4), G4 = ["title"], H4 = /* @__PURE__ */ ne({
|
|
|
5437
5449
|
a("update:modelValue", "");
|
|
5438
5450
|
}
|
|
5439
5451
|
function M(l) {
|
|
5440
|
-
const { value: s } = l, D = s.split(":"), [A, I, f] = D, _ =
|
|
5452
|
+
const { value: s } = l, D = s.split(":"), [A, I, f] = D, _ = gu.duration({
|
|
5441
5453
|
hours: A,
|
|
5442
5454
|
minutes: I,
|
|
5443
5455
|
seconds: f
|
|
@@ -5452,7 +5464,7 @@ const W4 = /* @__PURE__ */ $4(R4), G4 = ["title"], H4 = /* @__PURE__ */ ne({
|
|
|
5452
5464
|
);
|
|
5453
5465
|
const r = B(), N = B(!1);
|
|
5454
5466
|
return Be(() => {
|
|
5455
|
-
r.value && (N.value =
|
|
5467
|
+
r.value && (N.value = $u(r.value));
|
|
5456
5468
|
}), (l, s) => {
|
|
5457
5469
|
var A;
|
|
5458
5470
|
const D = K("t-time-picker");
|
|
@@ -5503,7 +5515,7 @@ const Z4 = /* @__PURE__ */ ne({
|
|
|
5503
5515
|
immediate: !0
|
|
5504
5516
|
}
|
|
5505
5517
|
);
|
|
5506
|
-
const a = B("simple"), i =
|
|
5518
|
+
const a = B("simple"), i = ca();
|
|
5507
5519
|
Be(() => {
|
|
5508
5520
|
});
|
|
5509
5521
|
const M = {
|
|
@@ -5681,7 +5693,7 @@ function No(t = {}) {
|
|
|
5681
5693
|
if (!$e(o) && o !== 1) {
|
|
5682
5694
|
let a, i;
|
|
5683
5695
|
try {
|
|
5684
|
-
return a =
|
|
5696
|
+
return a = du.render(o, { form: t.formModel.value }), i = Jt(a, { form: t.formModel.value }), i;
|
|
5685
5697
|
} catch (M) {
|
|
5686
5698
|
console.error(o, M.message);
|
|
5687
5699
|
}
|
|
@@ -5692,7 +5704,7 @@ function No(t = {}) {
|
|
|
5692
5704
|
if (!$e(o) && o !== 0) {
|
|
5693
5705
|
let a, i;
|
|
5694
5706
|
try {
|
|
5695
|
-
a =
|
|
5707
|
+
a = du.render(o, { form: t.formModel.value }), i = Jt(a, { form: t.formModel.value });
|
|
5696
5708
|
} catch (M) {
|
|
5697
5709
|
console.error(o, M.message);
|
|
5698
5710
|
}
|
|
@@ -5763,7 +5775,7 @@ const q4 = ["id"], J4 = /* @__PURE__ */ ne({
|
|
|
5763
5775
|
}
|
|
5764
5776
|
return Be(() => {
|
|
5765
5777
|
a.isLabelNameShow && z();
|
|
5766
|
-
}),
|
|
5778
|
+
}), ju(pt, a.componentProps), e({
|
|
5767
5779
|
formItem: a.formItem,
|
|
5768
5780
|
formItemId: f.value,
|
|
5769
5781
|
getDisableFlag: A,
|
|
@@ -5819,7 +5831,7 @@ const q4 = ["id"], J4 = /* @__PURE__ */ ne({
|
|
|
5819
5831
|
default: x(() => {
|
|
5820
5832
|
var C, P, F, G;
|
|
5821
5833
|
return [
|
|
5822
|
-
c.formItem.itemType === "label" ? (T(), S(
|
|
5834
|
+
c.formItem.itemType === "label" ? (T(), S(Sn, {
|
|
5823
5835
|
key: 0,
|
|
5824
5836
|
formItem: c.formItem,
|
|
5825
5837
|
formModel: i.value,
|
|
@@ -5841,26 +5853,26 @@ const q4 = ["id"], J4 = /* @__PURE__ */ ne({
|
|
|
5841
5853
|
disabled: s.value,
|
|
5842
5854
|
"onUpdate:modelValue": h[1] || (h[1] = (m) => l("rePassword", m))
|
|
5843
5855
|
}), null, 16, ["formItem", "inputType", "modelValue", "placeholder", "disabled"])) : J("", !0),
|
|
5844
|
-
c.formItem.itemType === "check_box" ? (T(), S(
|
|
5856
|
+
c.formItem.itemType === "check_box" ? (T(), S(vn, ye({ key: 3 }, c.componentProps, {
|
|
5845
5857
|
modelValue: d(Me)(i.value, c.formItem.keyName, !1),
|
|
5846
5858
|
disabled: s.value,
|
|
5847
5859
|
"onUpdate:modelValue": h[2] || (h[2] = (m) => l(c.formItem.keyName, m))
|
|
5848
5860
|
}), null, 16, ["modelValue", "disabled"])) : J("", !0),
|
|
5849
|
-
c.formItem.itemType === "switch" ? (T(), S(
|
|
5861
|
+
c.formItem.itemType === "switch" ? (T(), S(Un, ye({ key: 4 }, c.componentProps, {
|
|
5850
5862
|
formItem: c.formItem,
|
|
5851
5863
|
viewName: c.viewName,
|
|
5852
5864
|
modelValue: d(Me)(i.value, c.formItem.keyName, !1),
|
|
5853
5865
|
disabled: s.value,
|
|
5854
5866
|
"onUpdate:modelValue": h[3] || (h[3] = (m) => l(c.formItem.keyName, m))
|
|
5855
5867
|
}), null, 16, ["formItem", "viewName", "modelValue", "disabled"])) : J("", !0),
|
|
5856
|
-
c.formItem.itemType === "radio" ? (T(), S(
|
|
5868
|
+
c.formItem.itemType === "radio" ? (T(), S(Qn, ye({ key: 5 }, c.componentProps, {
|
|
5857
5869
|
modelValue: d(Me)(i.value, c.formItem.keyName),
|
|
5858
5870
|
formItem: c.formItem,
|
|
5859
5871
|
viewName: c.viewName,
|
|
5860
5872
|
disabled: s.value,
|
|
5861
5873
|
"onUpdate:modelValue": h[4] || (h[4] = (m) => l(c.formItem.keyName, m))
|
|
5862
5874
|
}), null, 16, ["modelValue", "formItem", "viewName", "disabled"])) : J("", !0),
|
|
5863
|
-
c.formItem.itemType === "selector" || c.formItem.itemType === "multi_selector" ? (T(), S(
|
|
5875
|
+
c.formItem.itemType === "selector" || c.formItem.itemType === "multi_selector" ? (T(), S(bn, ye({ key: 6 }, c.componentProps, {
|
|
5864
5876
|
key: (F = c.formItem.listData) == null ? void 0 : F.dataId,
|
|
5865
5877
|
modelValue: d(Me)(i.value, c.formItem.keyName),
|
|
5866
5878
|
formItem: c.formItem,
|
|
@@ -5870,7 +5882,7 @@ const q4 = ["id"], J4 = /* @__PURE__ */ ne({
|
|
|
5870
5882
|
placeholder: O.value,
|
|
5871
5883
|
"onUpdate:modelValue": h[5] || (h[5] = (m) => l(c.formItem.keyName, m))
|
|
5872
5884
|
}), null, 16, ["modelValue", "formItem", "viewName", "multiple", "disabled", "placeholder"])) : J("", !0),
|
|
5873
|
-
c.formItem.itemType === "date_selector" || c.formItem.itemType === "time_selector" || c.formItem.itemType === "date_time_selector" ? (T(), S(
|
|
5885
|
+
c.formItem.itemType === "date_selector" || c.formItem.itemType === "time_selector" || c.formItem.itemType === "date_time_selector" ? (T(), S(Yn, ye({ key: 7 }, c.componentProps, {
|
|
5874
5886
|
modelValue: d(Me)(i.value, c.formItem.keyName),
|
|
5875
5887
|
formItem: c.formItem,
|
|
5876
5888
|
viewName: c.viewName,
|
|
@@ -5886,7 +5898,7 @@ const q4 = ["id"], J4 = /* @__PURE__ */ ne({
|
|
|
5886
5898
|
placeholder: O.value,
|
|
5887
5899
|
"onUpdate:modelValue": h[7] || (h[7] = (m) => l(c.formItem.keyName, m))
|
|
5888
5900
|
}), null, 16, ["modelValue", "formItem", "viewName", "disabled", "placeholder"])) : J("", !0),
|
|
5889
|
-
c.formItem.itemType === "tree_check_box" ? (T(), S(
|
|
5901
|
+
c.formItem.itemType === "tree_check_box" ? (T(), S(Bn, ye({ key: 9 }, c.componentProps, {
|
|
5890
5902
|
modelValue: d(Me)(i.value, c.formItem.keyName),
|
|
5891
5903
|
formItem: c.formItem,
|
|
5892
5904
|
viewName: c.viewName,
|
|
@@ -5894,7 +5906,7 @@ const q4 = ["id"], J4 = /* @__PURE__ */ ne({
|
|
|
5894
5906
|
placeholder: O.value,
|
|
5895
5907
|
"onUpdate:modelValue": h[8] || (h[8] = (m) => l(c.formItem.keyName, m))
|
|
5896
5908
|
}), null, 16, ["modelValue", "formItem", "viewName", "disabled", "placeholder"])) : J("", !0),
|
|
5897
|
-
c.formItem.itemType === "multi_tree_selector" || c.formItem.itemType === "tree_selector" ? (T(), S(
|
|
5909
|
+
c.formItem.itemType === "multi_tree_selector" || c.formItem.itemType === "tree_selector" ? (T(), S(Fn, ye({ key: 10 }, c.componentProps, {
|
|
5898
5910
|
modelValue: d(Me)(i.value, c.formItem.keyName),
|
|
5899
5911
|
formItem: c.formItem,
|
|
5900
5912
|
viewName: c.viewName,
|
|
@@ -5903,7 +5915,7 @@ const q4 = ["id"], J4 = /* @__PURE__ */ ne({
|
|
|
5903
5915
|
placeholder: O.value,
|
|
5904
5916
|
"onUpdate:modelValue": h[9] || (h[9] = (m) => l(c.formItem.keyName, m))
|
|
5905
5917
|
}), null, 16, ["modelValue", "formItem", "viewName", "multiple", "disabled", "placeholder"])) : J("", !0),
|
|
5906
|
-
c.formItem.itemType === "file" ? (T(), S(
|
|
5918
|
+
c.formItem.itemType === "file" ? (T(), S(_n, ye({ key: 11 }, c.componentProps, {
|
|
5907
5919
|
modelValue: d(Me)(i.value, c.formItem.keyName),
|
|
5908
5920
|
formItem: c.formItem,
|
|
5909
5921
|
viewName: c.viewName,
|
|
@@ -5938,7 +5950,7 @@ const q4 = ["id"], J4 = /* @__PURE__ */ ne({
|
|
|
5938
5950
|
};
|
|
5939
5951
|
}
|
|
5940
5952
|
});
|
|
5941
|
-
const
|
|
5953
|
+
const mt = /* @__PURE__ */ tu(J4, [["__scopeId", "data-v-a507a307"]]), X4 = ["id"], Vn = /* @__PURE__ */ ne({
|
|
5942
5954
|
__name: "GFormBlock",
|
|
5943
5955
|
props: {
|
|
5944
5956
|
name: {},
|
|
@@ -5961,7 +5973,7 @@ const yt = /* @__PURE__ */ tu(J4, [["__scopeId", "data-v-a507a307"]]), X4 = ["id
|
|
|
5961
5973
|
l.length && i("block-show-if-change", u.name, l, N);
|
|
5962
5974
|
}
|
|
5963
5975
|
}
|
|
5964
|
-
return
|
|
5976
|
+
return tt(() => {
|
|
5965
5977
|
n();
|
|
5966
5978
|
}), Be(() => {
|
|
5967
5979
|
M();
|
|
@@ -5992,7 +6004,7 @@ const yt = /* @__PURE__ */ tu(J4, [["__scopeId", "data-v-a507a307"]]), X4 = ["id
|
|
|
5992
6004
|
Te(
|
|
5993
6005
|
() => n.formData,
|
|
5994
6006
|
() => {
|
|
5995
|
-
M.value =
|
|
6007
|
+
M.value = ut(n.formData, i.value);
|
|
5996
6008
|
},
|
|
5997
6009
|
{
|
|
5998
6010
|
immediate: !0,
|
|
@@ -6010,7 +6022,7 @@ const yt = /* @__PURE__ */ tu(J4, [["__scopeId", "data-v-a507a307"]]), X4 = ["id
|
|
|
6010
6022
|
return C.required && C.keyName && P.push({
|
|
6011
6023
|
validator: () => {
|
|
6012
6024
|
const F = Me(M.value, C.keyName);
|
|
6013
|
-
return
|
|
6025
|
+
return At(F) ? {
|
|
6014
6026
|
result: !1,
|
|
6015
6027
|
message: `${C.name.trim().replace(/[::]/g, "").replace(/ {2,}/g, "")}${o.t("为必填项")}`
|
|
6016
6028
|
} : { result: !0 };
|
|
@@ -6040,7 +6052,7 @@ const yt = /* @__PURE__ */ tu(J4, [["__scopeId", "data-v-a507a307"]]), X4 = ["id
|
|
|
6040
6052
|
const v = g.querySelectorAll(".t-form__label label");
|
|
6041
6053
|
if (v) {
|
|
6042
6054
|
const C = Array.from(v).map((F) => F.offsetWidth), P = Math.max(...C);
|
|
6043
|
-
a.value = P +
|
|
6055
|
+
a.value = P + 30;
|
|
6044
6056
|
}
|
|
6045
6057
|
}
|
|
6046
6058
|
}
|
|
@@ -6052,10 +6064,10 @@ const yt = /* @__PURE__ */ tu(J4, [["__scopeId", "data-v-a507a307"]]), X4 = ["id
|
|
|
6052
6064
|
});
|
|
6053
6065
|
}
|
|
6054
6066
|
Be(async () => {
|
|
6055
|
-
|
|
6067
|
+
s.value = await D();
|
|
6056
6068
|
});
|
|
6057
6069
|
function O(g, v) {
|
|
6058
|
-
Ze(M.value, g, v), l.value && j([g]);
|
|
6070
|
+
Ze(M.value, g, v), l.value && j([g]), A();
|
|
6059
6071
|
}
|
|
6060
6072
|
async function j(g = []) {
|
|
6061
6073
|
var P;
|
|
@@ -6086,12 +6098,12 @@ const yt = /* @__PURE__ */ tu(J4, [["__scopeId", "data-v-a507a307"]]), X4 = ["id
|
|
|
6086
6098
|
return null;
|
|
6087
6099
|
}
|
|
6088
6100
|
function c(g) {
|
|
6089
|
-
let v =
|
|
6101
|
+
let v = ft(g);
|
|
6090
6102
|
const C = Object.keys(v);
|
|
6091
6103
|
if (i.value && C.length) {
|
|
6092
6104
|
const P = i.value.filter((G) => G.itemType == "file" && G.fileUploadType == "path").map((G) => G.keyName);
|
|
6093
6105
|
C.length && C.forEach((G) => {
|
|
6094
|
-
P.includes(G) && v[G] &&
|
|
6106
|
+
P.includes(G) && v[G] && pu(v[G]) && (v[G] = v[G].filter(
|
|
6095
6107
|
(m) => m && m.url
|
|
6096
6108
|
));
|
|
6097
6109
|
});
|
|
@@ -6141,9 +6153,11 @@ const yt = /* @__PURE__ */ tu(J4, [["__scopeId", "data-v-a507a307"]]), X4 = ["id
|
|
|
6141
6153
|
const V = B(!1);
|
|
6142
6154
|
return e({
|
|
6143
6155
|
formOkButtonLoading: V
|
|
6156
|
+
}), an(() => {
|
|
6157
|
+
A();
|
|
6144
6158
|
}), (g, v) => {
|
|
6145
6159
|
const C = K("t-button");
|
|
6146
|
-
return T(), S(d(
|
|
6160
|
+
return T(), S(d(Cn), {
|
|
6147
6161
|
ref_key: "commonFormRef",
|
|
6148
6162
|
ref: N,
|
|
6149
6163
|
commonFormProps: {
|
|
@@ -6157,7 +6171,7 @@ const yt = /* @__PURE__ */ tu(J4, [["__scopeId", "data-v-a507a307"]]), X4 = ["id
|
|
|
6157
6171
|
(T(!0), R(Ne, null, me(i.value, (P) => (T(), R(Ne, {
|
|
6158
6172
|
key: `${P.name}_${P.keyName}`
|
|
6159
6173
|
}, [
|
|
6160
|
-
P.itemType === "block_start" || P.itemType === "block_end" ? (T(), S(
|
|
6174
|
+
P.itemType === "block_start" || P.itemType === "block_end" ? (T(), S(Vn, {
|
|
6161
6175
|
key: 0,
|
|
6162
6176
|
ref_for: !0,
|
|
6163
6177
|
ref_key: "formBlockRef",
|
|
@@ -6166,7 +6180,7 @@ const yt = /* @__PURE__ */ tu(J4, [["__scopeId", "data-v-a507a307"]]), X4 = ["id
|
|
|
6166
6180
|
blockType: P.itemType,
|
|
6167
6181
|
showIf: d(r)(P.showIf),
|
|
6168
6182
|
onBlockShowIfChange: _
|
|
6169
|
-
}, null, 8, ["name", "blockType", "showIf"])) : (T(), S(
|
|
6183
|
+
}, null, 8, ["name", "blockType", "showIf"])) : (T(), S(mt, {
|
|
6170
6184
|
key: 1,
|
|
6171
6185
|
ref_for: !0,
|
|
6172
6186
|
ref_key: "formItemRef",
|
|
@@ -6229,7 +6243,7 @@ const ul = /* @__PURE__ */ ne({
|
|
|
6229
6243
|
},
|
|
6230
6244
|
emits: ["close-dialog"],
|
|
6231
6245
|
setup(t, { emit: e }) {
|
|
6232
|
-
const u =
|
|
6246
|
+
const u = ln(() => Promise.resolve().then(() => ta)), { T: o } = de(), n = Iu(), a = t, i = w(() => {
|
|
6233
6247
|
var L, y, E;
|
|
6234
6248
|
return (L = a.board) != null && L.data ? (y = a.board) == null ? void 0 : y.data.dataId : (E = a.board) != null && E.tableData ? a.board.tableData.dataId : null;
|
|
6235
6249
|
}), M = w(() => {
|
|
@@ -6254,7 +6268,7 @@ const ul = /* @__PURE__ */ ne({
|
|
|
6254
6268
|
async function A(L, y) {
|
|
6255
6269
|
D.value && (D.value.formOkButtonLoading || (D.value.formOkButtonLoading = !0));
|
|
6256
6270
|
let E = {};
|
|
6257
|
-
return Object.keys(r.value).length && Object.assign(E, r.value), Object.assign(E, L), (await
|
|
6271
|
+
return Object.keys(r.value).length && Object.assign(E, r.value), Object.assign(E, L), (await wn({
|
|
6258
6272
|
buttonId: y,
|
|
6259
6273
|
props: E,
|
|
6260
6274
|
viewName: a.viewName
|
|
@@ -6270,7 +6284,7 @@ const ul = /* @__PURE__ */ ne({
|
|
|
6270
6284
|
async function j() {
|
|
6271
6285
|
try {
|
|
6272
6286
|
if (O.value = !0, !iu(i.value) && !iu(a.viewName)) {
|
|
6273
|
-
const L = await
|
|
6287
|
+
const L = await at({
|
|
6274
6288
|
dataId: i.value,
|
|
6275
6289
|
viewName: a.viewName,
|
|
6276
6290
|
props: r.value
|
|
@@ -6286,7 +6300,7 @@ const ul = /* @__PURE__ */ ne({
|
|
|
6286
6300
|
}
|
|
6287
6301
|
return Be(() => {
|
|
6288
6302
|
N.value == "form" && j();
|
|
6289
|
-
}),
|
|
6303
|
+
}), ju(Yu, r.value), (L, y) => {
|
|
6290
6304
|
const E = K("t-loading");
|
|
6291
6305
|
return N.value !== "form" ? (T(), S(d(u), {
|
|
6292
6306
|
from: "dialog",
|
|
@@ -6330,7 +6344,7 @@ const ul = /* @__PURE__ */ ne({
|
|
|
6330
6344
|
emits: ["update:isDialogVisible", "close-dialog"],
|
|
6331
6345
|
setup(t, { emit: e }) {
|
|
6332
6346
|
const { T: u } = de();
|
|
6333
|
-
|
|
6347
|
+
ln(() => Promise.resolve().then(() => ta));
|
|
6334
6348
|
const o = t, n = e, a = so(), i = w(() => o.dialogViewInfo.view), M = w(() => o.dialogViewInfo.name), r = w(() => {
|
|
6335
6349
|
var j;
|
|
6336
6350
|
return ((j = o.dialogViewBoard) == null ? void 0 : j.boardType) ?? "default";
|
|
@@ -6353,10 +6367,10 @@ const ul = /* @__PURE__ */ ne({
|
|
|
6353
6367
|
n("close-dialog");
|
|
6354
6368
|
}
|
|
6355
6369
|
const A = uu(), I = w(() => {
|
|
6356
|
-
const j =
|
|
6370
|
+
const j = ot(o.dialogViewInfo.link);
|
|
6357
6371
|
let L = "";
|
|
6358
6372
|
if (j)
|
|
6359
|
-
L =
|
|
6373
|
+
L = Tu(o.dialogViewInfo.link ?? "", {
|
|
6360
6374
|
...l
|
|
6361
6375
|
});
|
|
6362
6376
|
else {
|
|
@@ -6422,26 +6436,26 @@ const nl = Ge(ol), al = { class: "g-form" }, il = { class: "g-form-header" }, ll
|
|
|
6422
6436
|
},
|
|
6423
6437
|
emits: ["confirm-form", "confirm-and-close", "close-dialog"],
|
|
6424
6438
|
setup(t, { expose: e, emit: u }) {
|
|
6425
|
-
const { T: o } = de(), n =
|
|
6439
|
+
const { T: o } = de(), n = nt(), a = bu(), i = Ye(fn, ""), M = t, r = B(200), N = w(() => {
|
|
6426
6440
|
var m;
|
|
6427
6441
|
return (m = M.board) == null ? void 0 : m.formItems;
|
|
6428
|
-
}), l = B({}), { handleItemShowIf: s } = No({ formModel: l }), D =
|
|
6442
|
+
}), l = B({}), { handleItemShowIf: s } = No({ formModel: l }), D = Iu();
|
|
6429
6443
|
function A() {
|
|
6430
6444
|
const m = n.getFormData(D.fullPath);
|
|
6431
6445
|
m && Object.keys(m).length && Object.keys(l.value).forEach((b) => {
|
|
6432
|
-
|
|
6446
|
+
At(m[b]) || (l.value[b] = m[b]);
|
|
6433
6447
|
});
|
|
6434
6448
|
}
|
|
6435
6449
|
function I(m) {
|
|
6436
6450
|
if (a.findExistTabMenuItem({ path: m }) && Object.keys(l.value).length) {
|
|
6437
|
-
const k =
|
|
6451
|
+
const k = En(l.value, M.formData);
|
|
6438
6452
|
k && Object.keys(k).length && n.setFormData(m, k);
|
|
6439
6453
|
}
|
|
6440
6454
|
}
|
|
6441
6455
|
Te(
|
|
6442
6456
|
() => M.formData,
|
|
6443
6457
|
() => {
|
|
6444
|
-
l.value =
|
|
6458
|
+
l.value = ut(M.formData, N.value), A();
|
|
6445
6459
|
},
|
|
6446
6460
|
{
|
|
6447
6461
|
immediate: !0,
|
|
@@ -6459,7 +6473,7 @@ const nl = Ge(ol), al = { class: "g-form" }, il = { class: "g-form-header" }, ll
|
|
|
6459
6473
|
return k.required && k.keyName && U.push({
|
|
6460
6474
|
validator: () => {
|
|
6461
6475
|
const H = Me(l.value, k.keyName);
|
|
6462
|
-
return
|
|
6476
|
+
return At(H) ? {
|
|
6463
6477
|
result: !1,
|
|
6464
6478
|
message: `${k.name.trim().replace(/[::]/g, "").replace(/ {2,}/g, "")}${o.t("为必填项")}`
|
|
6465
6479
|
} : { result: !0 };
|
|
@@ -6535,12 +6549,12 @@ const nl = Ge(ol), al = { class: "g-form" }, il = { class: "g-form-header" }, ll
|
|
|
6535
6549
|
return null;
|
|
6536
6550
|
}
|
|
6537
6551
|
function P(m) {
|
|
6538
|
-
let b =
|
|
6552
|
+
let b = ft(m);
|
|
6539
6553
|
const k = Object.keys(b);
|
|
6540
6554
|
if (N.value && k.length) {
|
|
6541
6555
|
const U = N.value.filter((ee) => ee.itemType == "file" && ee.fileUploadType == "path").map((ee) => ee.keyName);
|
|
6542
6556
|
k.length && k.forEach((ee) => {
|
|
6543
|
-
U.includes(ee) && b[ee] &&
|
|
6557
|
+
U.includes(ee) && b[ee] && pu(b[ee]) && (b[ee] = b[ee].filter(
|
|
6544
6558
|
(ie) => ie && ie.url
|
|
6545
6559
|
));
|
|
6546
6560
|
});
|
|
@@ -6590,9 +6604,9 @@ const nl = Ge(ol), al = { class: "g-form" }, il = { class: "g-form-header" }, ll
|
|
|
6590
6604
|
const G = B(!1);
|
|
6591
6605
|
return e({
|
|
6592
6606
|
formOkButtonLoading: G
|
|
6593
|
-
}), w(() => a.tabMenuList),
|
|
6607
|
+
}), w(() => a.tabMenuList), Mn((m, b) => {
|
|
6594
6608
|
I(b.fullPath);
|
|
6595
|
-
}),
|
|
6609
|
+
}), rn((m, b) => {
|
|
6596
6610
|
I(b.fullPath);
|
|
6597
6611
|
}), (m, b) => {
|
|
6598
6612
|
const k = K("t-button"), U = K("t-space");
|
|
@@ -6642,7 +6656,7 @@ const nl = Ge(ol), al = { class: "g-form" }, il = { class: "g-form-header" }, ll
|
|
|
6642
6656
|
_: 1
|
|
6643
6657
|
})
|
|
6644
6658
|
]),
|
|
6645
|
-
Q(d(
|
|
6659
|
+
Q(d(Cn), {
|
|
6646
6660
|
ref_key: "commonFormRef",
|
|
6647
6661
|
ref: f,
|
|
6648
6662
|
commonFormProps: {
|
|
@@ -6656,7 +6670,7 @@ const nl = Ge(ol), al = { class: "g-form" }, il = { class: "g-form-header" }, ll
|
|
|
6656
6670
|
(T(!0), R(Ne, null, me(N.value, (H) => (T(), R(Ne, {
|
|
6657
6671
|
key: `${H.name}_${H.keyName}`
|
|
6658
6672
|
}, [
|
|
6659
|
-
H.itemType === "block_start" || H.itemType === "block_end" ? (T(), S(
|
|
6673
|
+
H.itemType === "block_start" || H.itemType === "block_end" ? (T(), S(Vn, {
|
|
6660
6674
|
key: 0,
|
|
6661
6675
|
ref_for: !0,
|
|
6662
6676
|
ref_key: "formBlockRef",
|
|
@@ -6665,7 +6679,7 @@ const nl = Ge(ol), al = { class: "g-form" }, il = { class: "g-form-header" }, ll
|
|
|
6665
6679
|
blockType: H.itemType,
|
|
6666
6680
|
showIf: d(s)(H.showIf),
|
|
6667
6681
|
onBlockShowIfChange: p
|
|
6668
|
-
}, null, 8, ["name", "blockType", "showIf"])) : (T(), S(
|
|
6682
|
+
}, null, 8, ["name", "blockType", "showIf"])) : (T(), S(mt, {
|
|
6669
6683
|
key: 1,
|
|
6670
6684
|
ref_for: !0,
|
|
6671
6685
|
ref_key: "formItemRef",
|
|
@@ -6693,18 +6707,18 @@ const rl = /* @__PURE__ */ tu(Ml, [["__scopeId", "data-v-1d6a40aa"]]), sl = Ge(r
|
|
|
6693
6707
|
const { T: e } = de(), u = t;
|
|
6694
6708
|
function o(r) {
|
|
6695
6709
|
var l, s;
|
|
6696
|
-
const N =
|
|
6710
|
+
const N = ft(r);
|
|
6697
6711
|
if (((l = u.button) == null ? void 0 : l.fileUploadType) == "file") {
|
|
6698
6712
|
if (N.length && N.every((D) => D.status == "done")) {
|
|
6699
6713
|
const { response: D, filename: A, url: I } = N[0];
|
|
6700
6714
|
D && D.state == 200 && i({ fileUrls: [I], filenames: [A] });
|
|
6701
6715
|
}
|
|
6702
6716
|
} else if (((s = u.button) == null ? void 0 : s.fileUploadType) == "path" && N.length && r.every((D) => D.url)) {
|
|
6703
|
-
const D =
|
|
6717
|
+
const D = hn(N);
|
|
6704
6718
|
i({ folderTree: D });
|
|
6705
6719
|
}
|
|
6706
6720
|
}
|
|
6707
|
-
const n = Ye(
|
|
6721
|
+
const n = Ye(Yu, void 0), a = w(() => {
|
|
6708
6722
|
const { count: r, page: N, totalCount: l, pageCount: s, ...D } = n;
|
|
6709
6723
|
return D;
|
|
6710
6724
|
});
|
|
@@ -6779,11 +6793,11 @@ const rl = /* @__PURE__ */ tu(Ml, [["__scopeId", "data-v-1d6a40aa"]]), sl = Ge(r
|
|
|
6779
6793
|
return (p = (E = o.headerInfo) == null ? void 0 : E.searchBar) == null ? void 0 : p.filters;
|
|
6780
6794
|
}), r = w(() => {
|
|
6781
6795
|
var E;
|
|
6782
|
-
return
|
|
6796
|
+
return pu((E = o.headerInfo.searchBar) == null ? void 0 : E.filters) ? o.headerInfo.searchBar.filters.filter((p) => p.itemType !== "text_input") : [];
|
|
6783
6797
|
}), N = w(() => {
|
|
6784
6798
|
var E;
|
|
6785
|
-
return
|
|
6786
|
-
}), l = w(() => r.value.length ? r.value.filter((E) => E.itemType === "selector").map((E) => E.keyName) : []), s =
|
|
6799
|
+
return pu((E = o.headerInfo.searchBar) == null ? void 0 : E.filters) ? o.headerInfo.searchBar.filters.filter((p) => p.itemType === "text_input") : [];
|
|
6800
|
+
}), l = w(() => r.value.length ? r.value.filter((E) => E.itemType === "selector").map((E) => E.keyName) : []), s = ut({}, M.value, !0), D = B(Fe(s));
|
|
6787
6801
|
let A = B(0);
|
|
6788
6802
|
function I(E, p) {
|
|
6789
6803
|
p !== null && typeof p < "u" ? Ze(D.value, E, p) : l.value.includes(E) ? Ze(D.value, E, "all") : Ze(D.value, E, p), A.value && clearTimeout(A.value), A.value = setTimeout(() => {
|
|
@@ -6801,7 +6815,7 @@ const rl = /* @__PURE__ */ tu(Ml, [["__scopeId", "data-v-1d6a40aa"]]), sl = Ge(r
|
|
|
6801
6815
|
} : {};
|
|
6802
6816
|
}
|
|
6803
6817
|
function _() {
|
|
6804
|
-
D.value = Fe(
|
|
6818
|
+
D.value = Fe(ut({}, M.value, !0));
|
|
6805
6819
|
const E = Fe(D.value);
|
|
6806
6820
|
Object.keys(E).forEach((p) => {
|
|
6807
6821
|
l.value.includes(p) && E[p] == "all" && delete E[p], (E[p] === "" || E[p] === null) && delete E[p];
|
|
@@ -6815,13 +6829,13 @@ const rl = /* @__PURE__ */ tu(Ml, [["__scopeId", "data-v-1d6a40aa"]]), sl = Ge(r
|
|
|
6815
6829
|
function j(E) {
|
|
6816
6830
|
n("display-columns-change", E);
|
|
6817
6831
|
}
|
|
6818
|
-
const L =
|
|
6832
|
+
const L = Iu(), y = nt();
|
|
6819
6833
|
return Be(() => {
|
|
6820
6834
|
const E = y.getFormData(L.fullPath);
|
|
6821
6835
|
E != null && E.formData && (D.value = {
|
|
6822
6836
|
...E.formData
|
|
6823
6837
|
}, Object.keys(D.value).length && n("header-filter-change", D.value));
|
|
6824
|
-
}),
|
|
6838
|
+
}), ju("isHeaderFormItem", !0), (E, p) => {
|
|
6825
6839
|
const z = K("t-button"), c = K("t-space"), h = K("t-form");
|
|
6826
6840
|
return T(), R("div", Nl, [a.value && a.value.length ? (T(), S(c, {
|
|
6827
6841
|
key: 0,
|
|
@@ -6851,7 +6865,7 @@ const rl = /* @__PURE__ */ tu(Ml, [["__scopeId", "data-v-1d6a40aa"]]), sl = Ge(r
|
|
|
6851
6865
|
layout: "inline",
|
|
6852
6866
|
colon: ""
|
|
6853
6867
|
}, {
|
|
6854
|
-
default: x(() => [(T(!0), R(Ne, null, me(r.value, (V, g) => (T(), S(
|
|
6868
|
+
default: x(() => [(T(!0), R(Ne, null, me(r.value, (V, g) => (T(), S(mt, {
|
|
6855
6869
|
ref_for: !0,
|
|
6856
6870
|
ref: "gFormItemRefs",
|
|
6857
6871
|
key: g,
|
|
@@ -6874,7 +6888,7 @@ const rl = /* @__PURE__ */ tu(Ml, [["__scopeId", "data-v-1d6a40aa"]]), sl = Ge(r
|
|
|
6874
6888
|
}, {
|
|
6875
6889
|
default: x(() => [(T(!0), R(Ne, null, me(N.value, (V, g) => (T(), R("div", {
|
|
6876
6890
|
key: g
|
|
6877
|
-
}, [Q(
|
|
6891
|
+
}, [Q(mt, {
|
|
6878
6892
|
formItem: V,
|
|
6879
6893
|
formModel: D.value,
|
|
6880
6894
|
viewName: E.viewName,
|
|
@@ -6908,17 +6922,17 @@ const Tl = /* @__PURE__ */ tu(gl, [["__scopeId", "data-v-f74b066f"]]), dl = Ge(T
|
|
|
6908
6922
|
},
|
|
6909
6923
|
emits: ["blur"],
|
|
6910
6924
|
setup(t, { emit: e }) {
|
|
6911
|
-
const { T: u } = de(), o = `${
|
|
6925
|
+
const { T: u } = de(), o = `${Pu}__form`, n = t, a = e, i = w(() => {
|
|
6912
6926
|
var l;
|
|
6913
6927
|
return (l = n.col) == null ? void 0 : l.formItems;
|
|
6914
|
-
}), M = w(() =>
|
|
6928
|
+
}), M = w(() => ut(n.row, i.value));
|
|
6915
6929
|
function r(l, s) {
|
|
6916
6930
|
Ze(M.value, l, s);
|
|
6917
6931
|
}
|
|
6918
6932
|
function N(l, s) {
|
|
6919
6933
|
a("blur", l, M.value);
|
|
6920
6934
|
}
|
|
6921
|
-
return
|
|
6935
|
+
return ju(pt, {}), (l, s) => (T(), R("div", {
|
|
6922
6936
|
class: Z(`${o}`)
|
|
6923
6937
|
}, [
|
|
6924
6938
|
(T(!0), R(Ne, null, me(i.value, (D) => {
|
|
@@ -6926,7 +6940,7 @@ const Tl = /* @__PURE__ */ tu(gl, [["__scopeId", "data-v-f74b066f"]]), dl = Ge(T
|
|
|
6926
6940
|
return T(), R("div", {
|
|
6927
6941
|
key: D.keyName
|
|
6928
6942
|
}, [
|
|
6929
|
-
D.itemType === "label" ? (T(), S(
|
|
6943
|
+
D.itemType === "label" ? (T(), S(Sn, {
|
|
6930
6944
|
key: 0,
|
|
6931
6945
|
modelValue: d(Me)(M.value, l.col.colKey),
|
|
6932
6946
|
formItem: D,
|
|
@@ -6942,7 +6956,7 @@ const Tl = /* @__PURE__ */ tu(gl, [["__scopeId", "data-v-f74b066f"]]), dl = Ge(T
|
|
|
6942
6956
|
"onUpdate:modelValue": s[0] || (s[0] = (I) => l.col.colKey && r(l.col.colKey, I)),
|
|
6943
6957
|
"onBlur:modelValue": (I) => N(D)
|
|
6944
6958
|
}, null, 8, ["formItem", "viewName", "inputType", "originValue", "modelValue", "onBlur:modelValue"])) : J("", !0),
|
|
6945
|
-
D.itemType === "check_box" ? (T(), S(
|
|
6959
|
+
D.itemType === "check_box" ? (T(), S(vn, {
|
|
6946
6960
|
key: 2,
|
|
6947
6961
|
formItem: D,
|
|
6948
6962
|
viewName: l.viewName,
|
|
@@ -6951,7 +6965,7 @@ const Tl = /* @__PURE__ */ tu(gl, [["__scopeId", "data-v-f74b066f"]]), dl = Ge(T
|
|
|
6951
6965
|
"onUpdate:modelValue": s[1] || (s[1] = (I) => l.col.colKey && r(l.col.colKey, I)),
|
|
6952
6966
|
"onBlur:modelValue": (I) => N(D)
|
|
6953
6967
|
}, null, 8, ["formItem", "viewName", "originValue", "modelValue", "onBlur:modelValue"])) : J("", !0),
|
|
6954
|
-
D.itemType === "switch" ? (T(), S(
|
|
6968
|
+
D.itemType === "switch" ? (T(), S(Un, {
|
|
6955
6969
|
key: 3,
|
|
6956
6970
|
formItem: D,
|
|
6957
6971
|
viewName: l.viewName,
|
|
@@ -6960,7 +6974,7 @@ const Tl = /* @__PURE__ */ tu(gl, [["__scopeId", "data-v-f74b066f"]]), dl = Ge(T
|
|
|
6960
6974
|
"onUpdate:modelValue": s[2] || (s[2] = (I) => l.col.colKey && r(l.col.colKey, I)),
|
|
6961
6975
|
"onBlur:modelValue": (I) => N(D)
|
|
6962
6976
|
}, null, 8, ["formItem", "viewName", "originValue", "modelValue", "onBlur:modelValue"])) : J("", !0),
|
|
6963
|
-
D.itemType === "radio" ? (T(), S(
|
|
6977
|
+
D.itemType === "radio" ? (T(), S(Qn, {
|
|
6964
6978
|
key: 4,
|
|
6965
6979
|
originValue: d(Me)(l.row, l.col.colKey),
|
|
6966
6980
|
modelValue: d(Me)(M.value, l.col.colKey),
|
|
@@ -6969,7 +6983,7 @@ const Tl = /* @__PURE__ */ tu(gl, [["__scopeId", "data-v-f74b066f"]]), dl = Ge(T
|
|
|
6969
6983
|
"onUpdate:modelValue": s[3] || (s[3] = (I) => l.col.colKey && r(l.col.colKey, I)),
|
|
6970
6984
|
"onBlur:modelValue": (I) => N(D)
|
|
6971
6985
|
}, null, 8, ["originValue", "modelValue", "formItem", "viewName", "onBlur:modelValue"])) : J("", !0),
|
|
6972
|
-
D.itemType === "selector" || D.itemType === "multi_selector" ? (T(), S(
|
|
6986
|
+
D.itemType === "selector" || D.itemType === "multi_selector" ? (T(), S(bn, {
|
|
6973
6987
|
key: 5,
|
|
6974
6988
|
originValue: d(Me)(l.row, l.col.colKey),
|
|
6975
6989
|
modelValue: d(Me)(M.value, l.col.colKey),
|
|
@@ -6979,7 +6993,7 @@ const Tl = /* @__PURE__ */ tu(gl, [["__scopeId", "data-v-f74b066f"]]), dl = Ge(T
|
|
|
6979
6993
|
"onUpdate:modelValue": s[4] || (s[4] = (I) => l.col.colKey && r(l.col.colKey, I)),
|
|
6980
6994
|
"onBlur:modelValue": (I) => N(D)
|
|
6981
6995
|
}, null, 8, ["originValue", "modelValue", "formItem", "viewName", "multiple", "onBlur:modelValue"])) : J("", !0),
|
|
6982
|
-
D.itemType === "date_selector" || D.itemType === "time_selector" || D.itemType === "date_time_selector" ? (T(), S(
|
|
6996
|
+
D.itemType === "date_selector" || D.itemType === "time_selector" || D.itemType === "date_time_selector" ? (T(), S(Yn, {
|
|
6983
6997
|
key: 6,
|
|
6984
6998
|
originValue: d(Me)(l.row, l.col.colKey),
|
|
6985
6999
|
modelValue: d(Me)(M.value, l.col.colKey),
|
|
@@ -6988,7 +7002,7 @@ const Tl = /* @__PURE__ */ tu(gl, [["__scopeId", "data-v-f74b066f"]]), dl = Ge(T
|
|
|
6988
7002
|
"onUpdate:modelValue": s[5] || (s[5] = (I) => l.col.colKey && r(l.col.colKey, I)),
|
|
6989
7003
|
"onBlur:modelValue": (I) => N(D)
|
|
6990
7004
|
}, null, 8, ["originValue", "modelValue", "formItem", "viewName", "onBlur:modelValue"])) : J("", !0),
|
|
6991
|
-
D.itemType === "tree_check_box" ? (T(), S(
|
|
7005
|
+
D.itemType === "tree_check_box" ? (T(), S(Bn, {
|
|
6992
7006
|
key: 7,
|
|
6993
7007
|
originValue: d(Me)(l.row, l.col.colKey),
|
|
6994
7008
|
modelValue: d(Me)(M.value, l.col.colKey),
|
|
@@ -6997,7 +7011,7 @@ const Tl = /* @__PURE__ */ tu(gl, [["__scopeId", "data-v-f74b066f"]]), dl = Ge(T
|
|
|
6997
7011
|
"onUpdate:modelValue": s[6] || (s[6] = (I) => l.col.colKey && r(l.col.colKey, I)),
|
|
6998
7012
|
"onBlur:modelValue": (I) => N(D)
|
|
6999
7013
|
}, null, 8, ["originValue", "modelValue", "formItem", "viewName", "onBlur:modelValue"])) : J("", !0),
|
|
7000
|
-
D.itemType === "multi_tree_selector" || D.itemType === "tree_selector" ? (T(), S(
|
|
7014
|
+
D.itemType === "multi_tree_selector" || D.itemType === "tree_selector" ? (T(), S(Fn, {
|
|
7001
7015
|
key: 8,
|
|
7002
7016
|
originValue: d(Me)(l.row, l.col.colKey),
|
|
7003
7017
|
modelValue: d(Me)(M.value, l.col.colKey),
|
|
@@ -7007,7 +7021,7 @@ const Tl = /* @__PURE__ */ tu(gl, [["__scopeId", "data-v-f74b066f"]]), dl = Ge(T
|
|
|
7007
7021
|
"onUpdate:modelValue": s[7] || (s[7] = (I) => l.col.colKey && r(l.col.colKey, I)),
|
|
7008
7022
|
"onBlur:modelValue": (I) => N(D)
|
|
7009
7023
|
}, null, 8, ["originValue", "modelValue", "formItem", "viewName", "multiple", "onBlur:modelValue"])) : J("", !0),
|
|
7010
|
-
D.itemType === "file" ? (T(), S(
|
|
7024
|
+
D.itemType === "file" ? (T(), S(_n, {
|
|
7011
7025
|
key: 9,
|
|
7012
7026
|
modelValue: d(Me)(M.value, l.col.colKey),
|
|
7013
7027
|
formItem: D,
|
|
@@ -7020,7 +7034,7 @@ const Tl = /* @__PURE__ */ tu(gl, [["__scopeId", "data-v-f74b066f"]]), dl = Ge(T
|
|
|
7020
7034
|
}), 128))
|
|
7021
7035
|
], 2));
|
|
7022
7036
|
}
|
|
7023
|
-
}), Vt = 32,
|
|
7037
|
+
}), Vt = 32, st = 16 * 2, Il = /* @__PURE__ */ ne({
|
|
7024
7038
|
__name: "GTableOperations",
|
|
7025
7039
|
props: {
|
|
7026
7040
|
buttons: {},
|
|
@@ -7033,7 +7047,7 @@ const Tl = /* @__PURE__ */ tu(gl, [["__scopeId", "data-v-f74b066f"]]), dl = Ge(T
|
|
|
7033
7047
|
if (c.showIf === "1")
|
|
7034
7048
|
return !0;
|
|
7035
7049
|
try {
|
|
7036
|
-
const h =
|
|
7050
|
+
const h = du.render(c.showIf, { item: u.row });
|
|
7037
7051
|
return Jt(h, { item: u.row });
|
|
7038
7052
|
} catch (h) {
|
|
7039
7053
|
return console.warn("Button filter evaluation error:", h), !1;
|
|
@@ -7042,7 +7056,7 @@ const Tl = /* @__PURE__ */ tu(gl, [["__scopeId", "data-v-f74b066f"]]), dl = Ge(T
|
|
|
7042
7056
|
if (!N.value || !r.value)
|
|
7043
7057
|
return A.value.length;
|
|
7044
7058
|
if (r.value < D.value) {
|
|
7045
|
-
let c = r.value, h = 0, V =
|
|
7059
|
+
let c = r.value, h = 0, V = st;
|
|
7046
7060
|
A.value.length > s.value && (c -= Vt);
|
|
7047
7061
|
for (const g of A.value) {
|
|
7048
7062
|
const v = I(g);
|
|
@@ -7068,7 +7082,7 @@ const Tl = /* @__PURE__ */ tu(gl, [["__scopeId", "data-v-f74b066f"]]), dl = Ge(T
|
|
|
7068
7082
|
const g = A.value[V];
|
|
7069
7083
|
g && g.name && (h != null && h.$el) && l.value.set(g.name, h.$el.offsetWidth);
|
|
7070
7084
|
}), await tn();
|
|
7071
|
-
const c = f.value +
|
|
7085
|
+
const c = f.value + st;
|
|
7072
7086
|
D.value = c, r.value = c, N.value = !0;
|
|
7073
7087
|
};
|
|
7074
7088
|
Be(() => {
|
|
@@ -7078,9 +7092,9 @@ const Tl = /* @__PURE__ */ tu(gl, [["__scopeId", "data-v-f74b066f"]]), dl = Ge(T
|
|
|
7078
7092
|
if (!N.value)
|
|
7079
7093
|
return 0;
|
|
7080
7094
|
const c = A.value[0];
|
|
7081
|
-
return (c ? I(c) : 0) + (L.value ? Vt : 0) +
|
|
7095
|
+
return (c ? I(c) : 0) + (L.value ? Vt : 0) + st;
|
|
7082
7096
|
}), z = w(
|
|
7083
|
-
() => D.value || f.value +
|
|
7097
|
+
() => D.value || f.value + st
|
|
7084
7098
|
);
|
|
7085
7099
|
return Te(
|
|
7086
7100
|
() => [u.operationsWidth, z, p],
|
|
@@ -7243,7 +7257,7 @@ function yl(t, e) {
|
|
|
7243
7257
|
var u = e.dir || e.root, o = e.base || (e.name || "") + (e.ext || "");
|
|
7244
7258
|
return u ? u === e.root ? u + o : u + t + o : o;
|
|
7245
7259
|
}
|
|
7246
|
-
var
|
|
7260
|
+
var vu = {
|
|
7247
7261
|
// path.resolve([from ...], to)
|
|
7248
7262
|
resolve: function() {
|
|
7249
7263
|
for (var e = "", u = !1, o, n = arguments.length - 1; n >= -1 && !u; n--) {
|
|
@@ -7268,10 +7282,10 @@ var Su = {
|
|
|
7268
7282
|
var o = arguments[u];
|
|
7269
7283
|
nu(o), o.length > 0 && (e === void 0 ? e = o : e += "/" + o);
|
|
7270
7284
|
}
|
|
7271
|
-
return e === void 0 ? "." :
|
|
7285
|
+
return e === void 0 ? "." : vu.normalize(e);
|
|
7272
7286
|
},
|
|
7273
7287
|
relative: function(e, u) {
|
|
7274
|
-
if (nu(e), nu(u), e === u || (e =
|
|
7288
|
+
if (nu(e), nu(u), e === u || (e = vu.resolve(e), u = vu.resolve(u), e === u))
|
|
7275
7289
|
return "";
|
|
7276
7290
|
for (var o = 1; o < e.length && e.charCodeAt(o) === 47; ++o)
|
|
7277
7291
|
;
|
|
@@ -7394,8 +7408,8 @@ var Su = {
|
|
|
7394
7408
|
win32: null,
|
|
7395
7409
|
posix: null
|
|
7396
7410
|
};
|
|
7397
|
-
|
|
7398
|
-
const ml =
|
|
7411
|
+
vu.posix = vu;
|
|
7412
|
+
const ml = vu.extname, $n = vu.basename;
|
|
7399
7413
|
class El {
|
|
7400
7414
|
constructor() {
|
|
7401
7415
|
let e = (() => typeof global > "u")(), u = "image/png", o = "image/jpeg", n = "image/jpeg", a = "image/webp", i = "application/pdf", M = "image/svg+xml";
|
|
@@ -7448,7 +7462,7 @@ function fl(t, {
|
|
|
7448
7462
|
"The quality option must be an number in the 0.0–1.0 range"
|
|
7449
7463
|
);
|
|
7450
7464
|
if (M === void 0) {
|
|
7451
|
-
let p = (u ||
|
|
7465
|
+
let p = (u || $n(e, I)).match(/@(\d+)x$/i);
|
|
7452
7466
|
M = p ? parseInt(p[1], 10) : 1;
|
|
7453
7467
|
} else if (typeof M != "number" || !Number.isInteger(M) || M < 1)
|
|
7454
7468
|
throw new TypeError("The density option must be a non-negative integer");
|
|
@@ -7553,16 +7567,16 @@ const Do = (t, e, u, o) => {
|
|
|
7553
7567
|
}
|
|
7554
7568
|
return new Promise((n, a) => t.toBlob(n, e, u));
|
|
7555
7569
|
}, pl = (...t) => Do(...t).then((e) => e.arrayBuffer()), zl = async (t, e, u, o, n) => {
|
|
7556
|
-
|
|
7570
|
+
Rn(n, await Do(t, e, u, o));
|
|
7557
7571
|
}, xl = async (t, e, u, o, n, a, i) => {
|
|
7558
|
-
let M = (l) => a.replace("{}", String(l + 1).padStart(i, "0")), r =
|
|
7572
|
+
let M = (l) => a.replace("{}", String(l + 1).padStart(i, "0")), r = $n(n, ".zip") || "archive", N = new Ct(r);
|
|
7559
7573
|
await Promise.all(
|
|
7560
7574
|
t.map(async (l, s) => {
|
|
7561
7575
|
let D = M(s);
|
|
7562
7576
|
await N.add(D, await Do(l, e, u, o));
|
|
7563
7577
|
})
|
|
7564
|
-
),
|
|
7565
|
-
},
|
|
7578
|
+
), Rn(`${r}.zip`, N.blob);
|
|
7579
|
+
}, Rn = (t, e) => {
|
|
7566
7580
|
const u = window.URL.createObjectURL(e), o = document.createElement("a");
|
|
7567
7581
|
o.style.display = "none", o.href = u, o.setAttribute("download", t), typeof o.download > "u" && o.setAttribute("target", "_blank"), document.body.appendChild(o), o.click(), document.body.removeChild(o), setTimeout(() => window.URL.revokeObjectURL(u), 100);
|
|
7568
7582
|
}, Cl = (t, e, u) => t.map((o) => {
|
|
@@ -7571,7 +7585,7 @@ const Do = (t, e, u, o) => {
|
|
|
7571
7585
|
let n = document.createElement("canvas"), a = n.getContext("2d"), i = o.canvas ? o.canvas : o;
|
|
7572
7586
|
return n.width = i.width * e, n.height = i.height * e, u && (a.fillStyle = u, a.fillRect(0, 0, n.width, n.height)), a.scale(e, e), a.drawImage(i, 0, 0), n;
|
|
7573
7587
|
}), Ll = { asBuffer: pl, asDownload: zl, asZipDownload: xl, atScale: Cl, options: fl }, { asBuffer: Wt, asDownload: hl, asZipDownload: Ol, atScale: Gt, options: Ht } = Ll, $o = Symbol.for("toDataURL"), kl = (t) => new Promise(
|
|
7574
|
-
(e, u) => Object.assign(new
|
|
7588
|
+
(e, u) => Object.assign(new Wn(), {
|
|
7575
7589
|
crossOrigin: "Anonymous",
|
|
7576
7590
|
onload: e,
|
|
7577
7591
|
onerror: u,
|
|
@@ -7635,7 +7649,7 @@ const {
|
|
|
7635
7649
|
CanvasRenderingContext2D: Sl,
|
|
7636
7650
|
CanvasGradient: vl,
|
|
7637
7651
|
CanvasPattern: Ul,
|
|
7638
|
-
Image:
|
|
7652
|
+
Image: Wn,
|
|
7639
7653
|
ImageData: Ql,
|
|
7640
7654
|
Path2D: bl,
|
|
7641
7655
|
DOMMatrix: Yl,
|
|
@@ -7647,23 +7661,23 @@ const {
|
|
|
7647
7661
|
CanvasRenderingContext2D: Sl,
|
|
7648
7662
|
CanvasGradient: vl,
|
|
7649
7663
|
CanvasPattern: Ul,
|
|
7650
|
-
Image:
|
|
7664
|
+
Image: Wn,
|
|
7651
7665
|
ImageData: Ql,
|
|
7652
7666
|
Path2D: bl,
|
|
7653
7667
|
DOMMatrix: Yl,
|
|
7654
7668
|
DOMRect: Bl,
|
|
7655
7669
|
DOMPoint: Fl
|
|
7656
|
-
},
|
|
7670
|
+
}, qu = (t, e, u = {}, o = u) => {
|
|
7657
7671
|
if (Array.isArray(e))
|
|
7658
|
-
e.forEach((n) =>
|
|
7672
|
+
e.forEach((n) => qu(t, n, u, o));
|
|
7659
7673
|
else if (typeof e == "function")
|
|
7660
|
-
e(t, u, o,
|
|
7674
|
+
e(t, u, o, qu);
|
|
7661
7675
|
else {
|
|
7662
7676
|
const n = Object.keys(e)[0];
|
|
7663
|
-
Array.isArray(e[n]) ? (o[n] = {},
|
|
7677
|
+
Array.isArray(e[n]) ? (o[n] = {}, qu(t, e[n], u, o[n])) : o[n] = e[n](t, u, o, qu);
|
|
7664
7678
|
}
|
|
7665
7679
|
return u;
|
|
7666
|
-
},
|
|
7680
|
+
}, Uu = (t, e) => (u, o, n, a) => {
|
|
7667
7681
|
e(u, o, n) && a(u, t, o, n);
|
|
7668
7682
|
}, Pl = (t, e) => (u, o, n, a) => {
|
|
7669
7683
|
const i = [];
|
|
@@ -7678,11 +7692,11 @@ const {
|
|
|
7678
7692
|
}, Vl = (t) => ({
|
|
7679
7693
|
data: t,
|
|
7680
7694
|
pos: 0
|
|
7681
|
-
}), qe = () => (t) => t.data[t.pos++],
|
|
7682
|
-
const u =
|
|
7695
|
+
}), qe = () => (t) => t.data[t.pos++], Gn = (t = 0) => (e) => e.data[e.pos + t], ru = (t) => (e) => e.data.subarray(e.pos, e.pos += t), Lt = (t) => (e) => e.data.subarray(e.pos, e.pos + t), oo = (t) => (e) => Array.from(ru(t)(e)).map((u) => String.fromCharCode(u)).join(""), Ou = (t) => (e) => {
|
|
7696
|
+
const u = ru(2)(e);
|
|
7683
7697
|
return t ? (u[1] << 8) + u[0] : (u[0] << 8) + u[1];
|
|
7684
|
-
},
|
|
7685
|
-
const a = typeof e == "function" ? e(u, o, n) : e, i =
|
|
7698
|
+
}, Hn = (t, e) => (u, o, n) => {
|
|
7699
|
+
const a = typeof e == "function" ? e(u, o, n) : e, i = ru(t), M = new Array(a);
|
|
7686
7700
|
for (var r = 0; r < a; r++)
|
|
7687
7701
|
M[r] = i(u);
|
|
7688
7702
|
return M;
|
|
@@ -7705,10 +7719,10 @@ var ht = {
|
|
|
7705
7719
|
for (var n = 0, a = qe()(t); a !== 0 && a; a = qe()(t)) {
|
|
7706
7720
|
if (t.pos + a >= o) {
|
|
7707
7721
|
const N = o - t.pos;
|
|
7708
|
-
u.push(
|
|
7722
|
+
u.push(ru(N)(t)), n += N;
|
|
7709
7723
|
break;
|
|
7710
7724
|
}
|
|
7711
|
-
u.push(
|
|
7725
|
+
u.push(ru(a)(t)), n += a;
|
|
7712
7726
|
}
|
|
7713
7727
|
const i = new Uint8Array(n);
|
|
7714
7728
|
for (var M = 0, r = 0; r < u.length; r++)
|
|
@@ -7716,10 +7730,10 @@ var ht = {
|
|
|
7716
7730
|
return i;
|
|
7717
7731
|
}
|
|
7718
7732
|
};
|
|
7719
|
-
const Rl =
|
|
7733
|
+
const Rl = Uu(
|
|
7720
7734
|
{
|
|
7721
7735
|
gce: [
|
|
7722
|
-
{ codes:
|
|
7736
|
+
{ codes: ru(2) },
|
|
7723
7737
|
{ byteSize: qe() },
|
|
7724
7738
|
{
|
|
7725
7739
|
extras: go({
|
|
@@ -7729,7 +7743,7 @@ const Rl = vu(
|
|
|
7729
7743
|
transparentColorGiven: { index: 7 }
|
|
7730
7744
|
})
|
|
7731
7745
|
},
|
|
7732
|
-
{ delay:
|
|
7746
|
+
{ delay: Ou(!0) },
|
|
7733
7747
|
{ transparentColorIndex: qe() },
|
|
7734
7748
|
{ terminator: qe() }
|
|
7735
7749
|
]
|
|
@@ -7738,16 +7752,16 @@ const Rl = vu(
|
|
|
7738
7752
|
var e = Lt(2)(t);
|
|
7739
7753
|
return e[0] === 33 && e[1] === 249;
|
|
7740
7754
|
}
|
|
7741
|
-
), Wl =
|
|
7755
|
+
), Wl = Uu(
|
|
7742
7756
|
{
|
|
7743
7757
|
image: [
|
|
7744
7758
|
{ code: qe() },
|
|
7745
7759
|
{
|
|
7746
7760
|
descriptor: [
|
|
7747
|
-
{ left:
|
|
7748
|
-
{ top:
|
|
7749
|
-
{ width:
|
|
7750
|
-
{ height:
|
|
7761
|
+
{ left: Ou(!0) },
|
|
7762
|
+
{ top: Ou(!0) },
|
|
7763
|
+
{ width: Ou(!0) },
|
|
7764
|
+
{ height: Ou(!0) },
|
|
7751
7765
|
{
|
|
7752
7766
|
lct: go({
|
|
7753
7767
|
exists: { index: 0 },
|
|
@@ -7759,23 +7773,23 @@ const Rl = vu(
|
|
|
7759
7773
|
}
|
|
7760
7774
|
]
|
|
7761
7775
|
},
|
|
7762
|
-
|
|
7776
|
+
Uu(
|
|
7763
7777
|
{
|
|
7764
|
-
lct:
|
|
7778
|
+
lct: Hn(3, (t, e, u) => Math.pow(2, u.descriptor.lct.size + 1))
|
|
7765
7779
|
},
|
|
7766
7780
|
(t, e, u) => u.descriptor.lct.exists
|
|
7767
7781
|
),
|
|
7768
7782
|
{ data: [{ minCodeSize: qe() }, ht] }
|
|
7769
7783
|
]
|
|
7770
7784
|
},
|
|
7771
|
-
(t) =>
|
|
7772
|
-
), Gl =
|
|
7785
|
+
(t) => Gn()(t) === 44
|
|
7786
|
+
), Gl = Uu(
|
|
7773
7787
|
{
|
|
7774
7788
|
text: [
|
|
7775
|
-
{ codes:
|
|
7789
|
+
{ codes: ru(2) },
|
|
7776
7790
|
{ blockSize: qe() },
|
|
7777
7791
|
{
|
|
7778
|
-
preData: (t, e, u) =>
|
|
7792
|
+
preData: (t, e, u) => ru(u.text.blockSize)(t)
|
|
7779
7793
|
},
|
|
7780
7794
|
ht
|
|
7781
7795
|
]
|
|
@@ -7784,10 +7798,10 @@ const Rl = vu(
|
|
|
7784
7798
|
var e = Lt(2)(t);
|
|
7785
7799
|
return e[0] === 33 && e[1] === 1;
|
|
7786
7800
|
}
|
|
7787
|
-
), Hl =
|
|
7801
|
+
), Hl = Uu(
|
|
7788
7802
|
{
|
|
7789
7803
|
application: [
|
|
7790
|
-
{ codes:
|
|
7804
|
+
{ codes: ru(2) },
|
|
7791
7805
|
{ blockSize: qe() },
|
|
7792
7806
|
{ id: (t, e, u) => oo(u.blockSize)(t) },
|
|
7793
7807
|
ht
|
|
@@ -7797,9 +7811,9 @@ const Rl = vu(
|
|
|
7797
7811
|
var e = Lt(2)(t);
|
|
7798
7812
|
return e[0] === 33 && e[1] === 255;
|
|
7799
7813
|
}
|
|
7800
|
-
), Zl =
|
|
7814
|
+
), Zl = Uu(
|
|
7801
7815
|
{
|
|
7802
|
-
comment: [{ codes:
|
|
7816
|
+
comment: [{ codes: ru(2) }, ht]
|
|
7803
7817
|
},
|
|
7804
7818
|
(t) => {
|
|
7805
7819
|
var e = Lt(2)(t);
|
|
@@ -7809,8 +7823,8 @@ const Rl = vu(
|
|
|
7809
7823
|
{ header: [{ signature: oo(3) }, { version: oo(3) }] },
|
|
7810
7824
|
{
|
|
7811
7825
|
lsd: [
|
|
7812
|
-
{ width:
|
|
7813
|
-
{ height:
|
|
7826
|
+
{ width: Ou(!0) },
|
|
7827
|
+
{ height: Ou(!0) },
|
|
7814
7828
|
{
|
|
7815
7829
|
gct: go({
|
|
7816
7830
|
exists: { index: 0 },
|
|
@@ -7823,9 +7837,9 @@ const Rl = vu(
|
|
|
7823
7837
|
{ pixelAspectRatio: qe() }
|
|
7824
7838
|
]
|
|
7825
7839
|
},
|
|
7826
|
-
|
|
7840
|
+
Uu(
|
|
7827
7841
|
{
|
|
7828
|
-
gct:
|
|
7842
|
+
gct: Hn(
|
|
7829
7843
|
3,
|
|
7830
7844
|
(t, e) => Math.pow(2, e.lsd.gct.size + 1)
|
|
7831
7845
|
)
|
|
@@ -7837,7 +7851,7 @@ const Rl = vu(
|
|
|
7837
7851
|
frames: Pl(
|
|
7838
7852
|
[Rl, Hl, Zl, Wl, Gl],
|
|
7839
7853
|
(t) => {
|
|
7840
|
-
var e =
|
|
7854
|
+
var e = Gn()(t);
|
|
7841
7855
|
return e === 33 || e === 44;
|
|
7842
7856
|
}
|
|
7843
7857
|
)
|
|
@@ -7885,7 +7899,7 @@ const Rl = vu(
|
|
|
7885
7899
|
return _;
|
|
7886
7900
|
}, Xl = (t) => {
|
|
7887
7901
|
const e = new Uint8Array(t);
|
|
7888
|
-
return
|
|
7902
|
+
return qu(Vl(e), Kl);
|
|
7889
7903
|
}, e0 = (t) => {
|
|
7890
7904
|
const e = t.pixels.length, u = new Uint8ClampedArray(e * 4);
|
|
7891
7905
|
for (var o = 0; o < e; o++) {
|
|
@@ -7913,7 +7927,7 @@ const Rl = vu(
|
|
|
7913
7927
|
return o.descriptor.lct && o.descriptor.lct.exists ? i.colorTable = o.lct : i.colorTable = e, t.gce && (i.delay = (t.gce.delay || 10) * 10, i.disposalType = t.gce.extras.disposal, t.gce.extras.transparentColorGiven && (i.transparentIndex = t.gce.transparentColorIndex)), u && (i.patch = e0(i)), i;
|
|
7914
7928
|
}, t0 = (t, e) => t.frames.filter((u) => u.image).map((u) => u0(u, t.gct, e));
|
|
7915
7929
|
function o0(t, e, u) {
|
|
7916
|
-
const o =
|
|
7930
|
+
const o = Zn(e), n = t - 1;
|
|
7917
7931
|
let a = 0;
|
|
7918
7932
|
switch (u) {
|
|
7919
7933
|
case Ve.L:
|
|
@@ -7932,7 +7946,7 @@ function o0(t, e, u) {
|
|
|
7932
7946
|
return o <= a;
|
|
7933
7947
|
}
|
|
7934
7948
|
function n0(t, e) {
|
|
7935
|
-
for (var u = 1, o =
|
|
7949
|
+
for (var u = 1, o = Zn(t), n = 0, a = au.length; n < a; n++) {
|
|
7936
7950
|
var i = 0;
|
|
7937
7951
|
switch (e) {
|
|
7938
7952
|
case Ve.L:
|
|
@@ -7956,7 +7970,7 @@ function n0(t, e) {
|
|
|
7956
7970
|
throw new Error("Too long data");
|
|
7957
7971
|
return u;
|
|
7958
7972
|
}
|
|
7959
|
-
function
|
|
7973
|
+
function Zn(t) {
|
|
7960
7974
|
var e = encodeURI(t).toString().replace(/\%[0-9a-fA-F]{2}/g, "a");
|
|
7961
7975
|
return e.length + (e.length != Number(t) ? 3 : 0);
|
|
7962
7976
|
}
|
|
@@ -7978,7 +7992,7 @@ class a0 {
|
|
|
7978
7992
|
e.put(this.parsedData[u], 8);
|
|
7979
7993
|
}
|
|
7980
7994
|
}
|
|
7981
|
-
class
|
|
7995
|
+
class fu {
|
|
7982
7996
|
constructor(e = -1, u = Ve.L) {
|
|
7983
7997
|
this.moduleCount = 0, this.dataList = [], this.typeNumber = e, this.errorCorrectLevel = u, this.moduleCount = 0, this.dataList = [];
|
|
7984
7998
|
}
|
|
@@ -8012,7 +8026,7 @@ class Eu {
|
|
|
8012
8026
|
for (let n = 0; n < this.moduleCount; n++)
|
|
8013
8027
|
this.modules[o][n] = null;
|
|
8014
8028
|
}
|
|
8015
|
-
this.setupPositionProbePattern(0, 0), this.setupPositionProbePattern(this.moduleCount - 7, 0), this.setupPositionProbePattern(0, this.moduleCount - 7), this.setupPositionAdjustPattern(), this.setupTimingPattern(), this.setupTypeInfo(e, u), this.typeNumber >= 7 && this.setupTypeNumber(e), this.dataCache == null && (this.dataCache =
|
|
8029
|
+
this.setupPositionProbePattern(0, 0), this.setupPositionProbePattern(this.moduleCount - 7, 0), this.setupPositionProbePattern(0, this.moduleCount - 7), this.setupPositionAdjustPattern(), this.setupTimingPattern(), this.setupTypeInfo(e, u), this.typeNumber >= 7 && this.setupTypeNumber(e), this.dataCache == null && (this.dataCache = fu.createData(this.typeNumber, this.errorCorrectLevel, this.dataList)), this.mapData(this.dataCache, u);
|
|
8016
8030
|
}
|
|
8017
8031
|
setupPositionProbePattern(e, u) {
|
|
8018
8032
|
for (let o = -1; o <= 7; o++)
|
|
@@ -8021,7 +8035,7 @@ class Eu {
|
|
|
8021
8035
|
u + n <= -1 || this.moduleCount <= u + n || (0 <= o && o <= 6 && (n == 0 || n == 6) || 0 <= n && n <= 6 && (o == 0 || o == 6) || 2 <= o && o <= 4 && 2 <= n && n <= 4 ? this.modules[e + o][u + n] = !0 : this.modules[e + o][u + n] = !1);
|
|
8022
8036
|
}
|
|
8023
8037
|
getBestMaskPattern() {
|
|
8024
|
-
if (Number.isInteger(this.maskPattern) && Object.values(
|
|
8038
|
+
if (Number.isInteger(this.maskPattern) && Object.values(Nu).includes(this.maskPattern))
|
|
8025
8039
|
return this.maskPattern;
|
|
8026
8040
|
let e = 0, u = 0;
|
|
8027
8041
|
for (let o = 0; o < 8; o++) {
|
|
@@ -8087,7 +8101,7 @@ class Eu {
|
|
|
8087
8101
|
}
|
|
8088
8102
|
}
|
|
8089
8103
|
static createData(e, u, o) {
|
|
8090
|
-
const n =
|
|
8104
|
+
const n = Du.getRSBlocks(e, u), a = new i0();
|
|
8091
8105
|
for (var i = 0; i < o.length; i++) {
|
|
8092
8106
|
const r = o[i];
|
|
8093
8107
|
a.put(r.mode, 4), a.put(r.getLength(), pe.getLengthInBits(r.mode, e)), r.write(a);
|
|
@@ -8099,9 +8113,9 @@ class Eu {
|
|
|
8099
8113
|
throw new Error(`code length overflow. (${a.getLengthInBits()}>${M * 8})`);
|
|
8100
8114
|
for (a.getLengthInBits() + 4 <= M * 8 && a.put(0, 4); a.getLengthInBits() % 8 != 0; )
|
|
8101
8115
|
a.putBit(!1);
|
|
8102
|
-
for (; !(a.getLengthInBits() >= M * 8 || (a.put(
|
|
8103
|
-
a.put(
|
|
8104
|
-
return
|
|
8116
|
+
for (; !(a.getLengthInBits() >= M * 8 || (a.put(fu.PAD0, 8), a.getLengthInBits() >= M * 8)); )
|
|
8117
|
+
a.put(fu.PAD1, 8);
|
|
8118
|
+
return fu.createBytes(a, n);
|
|
8105
8119
|
}
|
|
8106
8120
|
static createBytes(e, u) {
|
|
8107
8121
|
let o = 0, n = 0, a = 0;
|
|
@@ -8112,7 +8126,7 @@ class Eu {
|
|
|
8112
8126
|
for (var N = 0; N < i[r].length; N++)
|
|
8113
8127
|
i[r][N] = 255 & e.buffer[N + o];
|
|
8114
8128
|
o += A;
|
|
8115
|
-
const f = pe.getErrorCorrectPolynomial(I), O = new
|
|
8129
|
+
const f = pe.getErrorCorrectPolynomial(I), O = new Vu(i[r], f.getLength() - 1).mod(f);
|
|
8116
8130
|
M[r] = new Array(f.getLength() - 1);
|
|
8117
8131
|
for (var N = 0; N < M[r].length; N++) {
|
|
8118
8132
|
const L = N + O.getLength() - M[r].length;
|
|
@@ -8133,9 +8147,9 @@ class Eu {
|
|
|
8133
8147
|
return s;
|
|
8134
8148
|
}
|
|
8135
8149
|
}
|
|
8136
|
-
|
|
8137
|
-
|
|
8138
|
-
const Ve = { L: 1, M: 0, Q: 3, H: 2 }, He = { MODE_NUMBER: 1, MODE_ALPHA_NUM: 2, MODE_8BIT_BYTE: 4, MODE_KANJI: 8 },
|
|
8150
|
+
fu.PAD0 = 236;
|
|
8151
|
+
fu.PAD1 = 17;
|
|
8152
|
+
const Ve = { L: 1, M: 0, Q: 3, H: 2 }, He = { MODE_NUMBER: 1, MODE_ALPHA_NUM: 2, MODE_8BIT_BYTE: 4, MODE_KANJI: 8 }, Nu = {
|
|
8139
8153
|
PATTERN000: 0,
|
|
8140
8154
|
PATTERN001: 1,
|
|
8141
8155
|
PATTERN010: 2,
|
|
@@ -8169,30 +8183,30 @@ class pe {
|
|
|
8169
8183
|
}
|
|
8170
8184
|
static getMask(e, u, o) {
|
|
8171
8185
|
switch (e) {
|
|
8172
|
-
case
|
|
8186
|
+
case Nu.PATTERN000:
|
|
8173
8187
|
return (u + o) % 2 == 0;
|
|
8174
|
-
case
|
|
8188
|
+
case Nu.PATTERN001:
|
|
8175
8189
|
return u % 2 == 0;
|
|
8176
|
-
case
|
|
8190
|
+
case Nu.PATTERN010:
|
|
8177
8191
|
return o % 3 == 0;
|
|
8178
|
-
case
|
|
8192
|
+
case Nu.PATTERN011:
|
|
8179
8193
|
return (u + o) % 3 == 0;
|
|
8180
|
-
case
|
|
8194
|
+
case Nu.PATTERN100:
|
|
8181
8195
|
return (Math.floor(u / 2) + Math.floor(o / 3)) % 2 == 0;
|
|
8182
|
-
case
|
|
8196
|
+
case Nu.PATTERN101:
|
|
8183
8197
|
return u * o % 2 + u * o % 3 == 0;
|
|
8184
|
-
case
|
|
8198
|
+
case Nu.PATTERN110:
|
|
8185
8199
|
return (u * o % 2 + u * o % 3) % 2 == 0;
|
|
8186
|
-
case
|
|
8200
|
+
case Nu.PATTERN111:
|
|
8187
8201
|
return (u * o % 3 + (u + o) % 2) % 2 == 0;
|
|
8188
8202
|
default:
|
|
8189
8203
|
throw new Error(`bad maskPattern:${e}`);
|
|
8190
8204
|
}
|
|
8191
8205
|
}
|
|
8192
8206
|
static getErrorCorrectPolynomial(e) {
|
|
8193
|
-
let u = new
|
|
8207
|
+
let u = new Vu([1], 0);
|
|
8194
8208
|
for (let o = 0; o < e; o++)
|
|
8195
|
-
u = u.multiply(new
|
|
8209
|
+
u = u.multiply(new Vu([1, ke.gexp(o)], 0));
|
|
8196
8210
|
return u;
|
|
8197
8211
|
}
|
|
8198
8212
|
static getLengthInBits(e, u) {
|
|
@@ -8339,7 +8353,7 @@ ke._constructor = function() {
|
|
|
8339
8353
|
for (var t = 0; t < 255; t++)
|
|
8340
8354
|
ke.LOG_TABLE[ke.EXP_TABLE[t]] = t;
|
|
8341
8355
|
}();
|
|
8342
|
-
class
|
|
8356
|
+
class Vu {
|
|
8343
8357
|
constructor(e, u) {
|
|
8344
8358
|
if (e.length == null)
|
|
8345
8359
|
throw new Error(`${e.length}/${u}`);
|
|
@@ -8361,7 +8375,7 @@ class Pu {
|
|
|
8361
8375
|
for (let o = 0; o < this.getLength(); o++)
|
|
8362
8376
|
for (let n = 0; n < e.getLength(); n++)
|
|
8363
8377
|
u[o + n] ^= ke.gexp(ke.glog(this.get(o)) + ke.glog(e.get(n)));
|
|
8364
|
-
return new
|
|
8378
|
+
return new Vu(u, 0);
|
|
8365
8379
|
}
|
|
8366
8380
|
mod(e) {
|
|
8367
8381
|
if (this.getLength() - e.getLength() < 0)
|
|
@@ -8371,41 +8385,41 @@ class Pu {
|
|
|
8371
8385
|
o[n] = this.get(n);
|
|
8372
8386
|
for (var n = 0; n < e.getLength(); n++)
|
|
8373
8387
|
o[n] ^= ke.gexp(ke.glog(e.get(n)) + u);
|
|
8374
|
-
return new
|
|
8388
|
+
return new Vu(o, 0).mod(e);
|
|
8375
8389
|
}
|
|
8376
8390
|
}
|
|
8377
|
-
class
|
|
8391
|
+
class Du {
|
|
8378
8392
|
constructor(e, u) {
|
|
8379
8393
|
this.totalCount = e, this.dataCount = u;
|
|
8380
8394
|
}
|
|
8381
8395
|
static getRSBlocks(e, u) {
|
|
8382
|
-
const o =
|
|
8396
|
+
const o = Du.getRsBlockTable(e, u);
|
|
8383
8397
|
if (o == null)
|
|
8384
8398
|
throw new Error(`bad rs block @ typeNumber:${e}/errorCorrectLevel:${u}`);
|
|
8385
8399
|
const n = o.length / 3, a = [];
|
|
8386
8400
|
for (let i = 0; i < n; i++) {
|
|
8387
8401
|
const M = o[i * 3 + 0], r = o[i * 3 + 1], N = o[i * 3 + 2];
|
|
8388
8402
|
for (let l = 0; l < M; l++)
|
|
8389
|
-
a.push(new
|
|
8403
|
+
a.push(new Du(r, N));
|
|
8390
8404
|
}
|
|
8391
8405
|
return a;
|
|
8392
8406
|
}
|
|
8393
8407
|
static getRsBlockTable(e, u) {
|
|
8394
8408
|
switch (u) {
|
|
8395
8409
|
case Ve.L:
|
|
8396
|
-
return
|
|
8410
|
+
return Du.RS_BLOCK_TABLE[(e - 1) * 4 + 0];
|
|
8397
8411
|
case Ve.M:
|
|
8398
|
-
return
|
|
8412
|
+
return Du.RS_BLOCK_TABLE[(e - 1) * 4 + 1];
|
|
8399
8413
|
case Ve.Q:
|
|
8400
|
-
return
|
|
8414
|
+
return Du.RS_BLOCK_TABLE[(e - 1) * 4 + 2];
|
|
8401
8415
|
case Ve.H:
|
|
8402
|
-
return
|
|
8416
|
+
return Du.RS_BLOCK_TABLE[(e - 1) * 4 + 3];
|
|
8403
8417
|
default:
|
|
8404
8418
|
return;
|
|
8405
8419
|
}
|
|
8406
8420
|
}
|
|
8407
8421
|
}
|
|
8408
|
-
|
|
8422
|
+
Du.RS_BLOCK_TABLE = [
|
|
8409
8423
|
[1, 26, 19],
|
|
8410
8424
|
[1, 26, 16],
|
|
8411
8425
|
[1, 26, 13],
|
|
@@ -8629,30 +8643,30 @@ const au = [
|
|
|
8629
8643
|
[2809, 2213, 1579, 1219],
|
|
8630
8644
|
[2953, 2331, 1663, 1273]
|
|
8631
8645
|
];
|
|
8632
|
-
var l0 = 100, Qe = 256, Ro = Qe - 1,
|
|
8646
|
+
var l0 = 100, Qe = 256, Ro = Qe - 1, yu = 4, Kn = 16, To = 1 << Kn, qn = 10, jo = 10, M0 = To >> jo, r0 = To << qn - jo, s0 = Qe >> 3, no = 6, c0 = 1 << no, N0 = s0 * c0, D0 = 30, Jn = 10, ct = 1 << Jn, Xn = 8, Wo = 1 << Xn, g0 = Jn + Xn, _u = 1 << g0, Go = 499, Ho = 491, Zo = 487, ea = 503, T0 = 3 * ea;
|
|
8633
8647
|
function d0(t, e) {
|
|
8634
8648
|
var u, o, n, a, i;
|
|
8635
8649
|
function M() {
|
|
8636
8650
|
u = [], o = new Int32Array(256), n = new Int32Array(Qe), a = new Int32Array(Qe), i = new Int32Array(Qe >> 3);
|
|
8637
8651
|
var O, j;
|
|
8638
8652
|
for (O = 0; O < Qe; O++)
|
|
8639
|
-
j = (O <<
|
|
8653
|
+
j = (O << yu + 8) / Qe, u[O] = new Float64Array([j, j, j, 0]), a[O] = To / Qe, n[O] = 0;
|
|
8640
8654
|
}
|
|
8641
8655
|
function r() {
|
|
8642
8656
|
for (var O = 0; O < Qe; O++)
|
|
8643
|
-
u[O][0] >>=
|
|
8657
|
+
u[O][0] >>= yu, u[O][1] >>= yu, u[O][2] >>= yu, u[O][3] = O;
|
|
8644
8658
|
}
|
|
8645
8659
|
function N(O, j, L, y, E) {
|
|
8646
|
-
u[j][0] -= O * (u[j][0] - L) /
|
|
8660
|
+
u[j][0] -= O * (u[j][0] - L) / ct, u[j][1] -= O * (u[j][1] - y) / ct, u[j][2] -= O * (u[j][2] - E) / ct;
|
|
8647
8661
|
}
|
|
8648
8662
|
function l(O, j, L, y, E) {
|
|
8649
8663
|
for (var p = Math.abs(j - O), z = Math.min(j + O, Qe), c = j + 1, h = j - 1, V = 1, g, v; c < z || h > p; )
|
|
8650
|
-
v = i[V++], c < z && (g = u[c++], g[0] -= v * (g[0] - L) /
|
|
8664
|
+
v = i[V++], c < z && (g = u[c++], g[0] -= v * (g[0] - L) / _u, g[1] -= v * (g[1] - y) / _u, g[2] -= v * (g[2] - E) / _u), h > p && (g = u[h--], g[0] -= v * (g[0] - L) / _u, g[1] -= v * (g[1] - y) / _u, g[2] -= v * (g[2] - E) / _u);
|
|
8651
8665
|
}
|
|
8652
8666
|
function s(O, j, L) {
|
|
8653
8667
|
var y = 2147483647, E = y, p = -1, z = p, c, h, V, g, v;
|
|
8654
8668
|
for (c = 0; c < Qe; c++)
|
|
8655
|
-
h = u[c], V = Math.abs(h[0] - O) + Math.abs(h[1] - j) + Math.abs(h[2] - L), V < y && (y = V, p = c), g = V - (n[c] >>
|
|
8669
|
+
h = u[c], V = Math.abs(h[0] - O) + Math.abs(h[1] - j) + Math.abs(h[2] - L), V < y && (y = V, p = c), g = V - (n[c] >> Kn - yu), g < E && (E = g, z = c), v = a[c] >> jo, a[c] -= v, n[c] += v << qn;
|
|
8656
8670
|
return a[p] += M0, n[p] -= r0, z;
|
|
8657
8671
|
}
|
|
8658
8672
|
function D() {
|
|
@@ -8675,14 +8689,14 @@ function d0(t, e) {
|
|
|
8675
8689
|
return c;
|
|
8676
8690
|
}
|
|
8677
8691
|
function I() {
|
|
8678
|
-
var O, j = t.length, L = 30 + (e - 1) / 3, y = j / (3 * e), E = ~~(y / l0), p =
|
|
8692
|
+
var O, j = t.length, L = 30 + (e - 1) / 3, y = j / (3 * e), E = ~~(y / l0), p = ct, z = N0, c = z >> no;
|
|
8679
8693
|
for (c <= 1 && (c = 0), O = 0; O < c; O++)
|
|
8680
8694
|
i[O] = p * ((c * c - O * O) * Wo / (c * c));
|
|
8681
8695
|
var h;
|
|
8682
|
-
j < T0 ? (e = 1, h = 3) : j % Go !== 0 ? h = 3 * Go : j % Ho !== 0 ? h = 3 * Ho : j % Zo !== 0 ? h = 3 * Zo : h = 3 *
|
|
8696
|
+
j < T0 ? (e = 1, h = 3) : j % Go !== 0 ? h = 3 * Go : j % Ho !== 0 ? h = 3 * Ho : j % Zo !== 0 ? h = 3 * Zo : h = 3 * ea;
|
|
8683
8697
|
var V, g, v, C, P = 0;
|
|
8684
8698
|
for (O = 0; O < y; )
|
|
8685
|
-
if (V = (t[P] & 255) <<
|
|
8699
|
+
if (V = (t[P] & 255) << yu, g = (t[P + 1] & 255) << yu, v = (t[P + 2] & 255) << yu, C = s(V, g, v), N(p, C, V, g, v), c !== 0 && l(c, C, V, g, v), P += h, P >= j && (P -= j), O++, E === 0 && (E = 1), O % E === 0)
|
|
8686
8700
|
for (p -= p / L, z -= z / D0, c = z >> no, c <= 1 && (c = 0), C = 0; C < c; C++)
|
|
8687
8701
|
i[C] = p * ((c * c - C * C) * Wo / (c * c));
|
|
8688
8702
|
}
|
|
@@ -8701,7 +8715,7 @@ function d0(t, e) {
|
|
|
8701
8715
|
}
|
|
8702
8716
|
this.getColormap = _, this.lookupRGB = A;
|
|
8703
8717
|
}
|
|
8704
|
-
var Ko = -1,
|
|
8718
|
+
var Ko = -1, Nt = 12, Ku = 5003, j0 = [
|
|
8705
8719
|
0,
|
|
8706
8720
|
1,
|
|
8707
8721
|
3,
|
|
@@ -8721,12 +8735,12 @@ var Ko = -1, ct = 12, Zu = 5003, j0 = [
|
|
|
8721
8735
|
65535
|
|
8722
8736
|
];
|
|
8723
8737
|
function I0(t, e, u, o) {
|
|
8724
|
-
var n = Math.max(2, o), a = new Uint8Array(256), i = new Int32Array(
|
|
8738
|
+
var n = Math.max(2, o), a = new Uint8Array(256), i = new Int32Array(Ku), M = new Int32Array(Ku), r, N = 0, l, s = 0, D, A = !1, I, f, _, O, j, L;
|
|
8725
8739
|
function y(C, P) {
|
|
8726
8740
|
a[l++] = C, l >= 254 && h(P);
|
|
8727
8741
|
}
|
|
8728
8742
|
function E(C) {
|
|
8729
|
-
p(
|
|
8743
|
+
p(Ku), s = f + 2, A = !0, v(f, C);
|
|
8730
8744
|
}
|
|
8731
8745
|
function p(C) {
|
|
8732
8746
|
for (var P = 0; P < C; ++P)
|
|
@@ -8734,12 +8748,12 @@ function I0(t, e, u, o) {
|
|
|
8734
8748
|
}
|
|
8735
8749
|
function z(C, P) {
|
|
8736
8750
|
var F, G, m, b, k, U, H;
|
|
8737
|
-
for (I = C, A = !1, L = I, D = V(L), f = 1 << C - 1, _ = f + 1, s = f + 2, l = 0, b = g(), H = 0, F =
|
|
8751
|
+
for (I = C, A = !1, L = I, D = V(L), f = 1 << C - 1, _ = f + 1, s = f + 2, l = 0, b = g(), H = 0, F = Ku; F < 65536; F *= 2)
|
|
8738
8752
|
++H;
|
|
8739
|
-
H = 8 - H, U =
|
|
8753
|
+
H = 8 - H, U = Ku, p(U), v(f, P);
|
|
8740
8754
|
e:
|
|
8741
8755
|
for (; (G = g()) != Ko; ) {
|
|
8742
|
-
if (F = (G <<
|
|
8756
|
+
if (F = (G << Nt) + b, m = G << H ^ b, i[m] === F) {
|
|
8743
8757
|
b = M[m];
|
|
8744
8758
|
continue;
|
|
8745
8759
|
} else if (i[m] >= 0) {
|
|
@@ -8751,7 +8765,7 @@ function I0(t, e, u, o) {
|
|
|
8751
8765
|
}
|
|
8752
8766
|
while (i[m] >= 0);
|
|
8753
8767
|
}
|
|
8754
|
-
v(b, P), b = G, s < 1 <<
|
|
8768
|
+
v(b, P), b = G, s < 1 << Nt ? (M[m] = s++, i[m] = F) : E(P);
|
|
8755
8769
|
}
|
|
8756
8770
|
v(b, P), v(_, P);
|
|
8757
8771
|
}
|
|
@@ -8774,7 +8788,7 @@ function I0(t, e, u, o) {
|
|
|
8774
8788
|
function v(C, P) {
|
|
8775
8789
|
for (r &= j0[N], N > 0 ? r |= C << N : r = C, N += L; N >= 8; )
|
|
8776
8790
|
y(r & 255, P), r >>= 8, N -= 8;
|
|
8777
|
-
if ((s > D || A) && (A ? (D = V(L = I), A = !1) : (++L, L ==
|
|
8791
|
+
if ((s > D || A) && (A ? (D = V(L = I), A = !1) : (++L, L == Nt ? D = 1 << Nt : D = V(L))), C == _) {
|
|
8778
8792
|
for (; N > 0; )
|
|
8779
8793
|
y(r & 255, P), r >>= 8, N -= 8;
|
|
8780
8794
|
h(P);
|
|
@@ -8787,8 +8801,8 @@ function We() {
|
|
|
8787
8801
|
}
|
|
8788
8802
|
We.pageSize = 4096;
|
|
8789
8803
|
We.charMap = {};
|
|
8790
|
-
for (var
|
|
8791
|
-
We.charMap[
|
|
8804
|
+
for (var Dt = 0; Dt < 256; Dt++)
|
|
8805
|
+
We.charMap[Dt] = String.fromCharCode(Dt);
|
|
8792
8806
|
We.prototype.newPage = function() {
|
|
8793
8807
|
this.pages[++this.page] = new Uint8Array(We.pageSize), this.cursor = 0;
|
|
8794
8808
|
};
|
|
@@ -9017,7 +9031,7 @@ var A0 = globalThis && globalThis.__awaiter || function(t, e, u, o) {
|
|
|
9017
9031
|
N((o = o.apply(t, e || [])).next());
|
|
9018
9032
|
});
|
|
9019
9033
|
};
|
|
9020
|
-
const { Canvas:
|
|
9034
|
+
const { Canvas: cu } = _l, gt = 0.4;
|
|
9021
9035
|
function qo(t) {
|
|
9022
9036
|
if (!t)
|
|
9023
9037
|
return;
|
|
@@ -9062,7 +9076,7 @@ class Ae {
|
|
|
9062
9076
|
throw new Error("dotScale should be in range (0, 1].");
|
|
9063
9077
|
u.components.data.scale = u.dotScale, u.components.timing.scale = u.dotScale, u.components.alignment.scale = u.dotScale;
|
|
9064
9078
|
}
|
|
9065
|
-
this.options = u, this.canvas = new
|
|
9079
|
+
this.options = u, this.canvas = new cu(e.size, e.size), this.canvasContext = this.canvas.getContext("2d"), this.qrCode = new fu(-1, this.options.correctLevel), Number.isInteger(this.options.maskPattern) && (this.qrCode.maskPattern = this.options.maskPattern), Number.isInteger(this.options.version) && (this.qrCode.typeNumber = this.options.version), this.qrCode.addData(this.options.text), this.qrCode.make();
|
|
9066
9080
|
}
|
|
9067
9081
|
draw() {
|
|
9068
9082
|
return new Promise((e) => this._draw().then(e));
|
|
@@ -9087,7 +9101,7 @@ class Ae {
|
|
|
9087
9101
|
};
|
|
9088
9102
|
let r = 0;
|
|
9089
9103
|
a = e.naturalHeight || e.height, n = e.naturalWidth || e.width;
|
|
9090
|
-
const l = new
|
|
9104
|
+
const l = new cu(n, a).getContext("2d");
|
|
9091
9105
|
if (!l)
|
|
9092
9106
|
return o;
|
|
9093
9107
|
l.drawImage(e, 0, 0);
|
|
@@ -9121,9 +9135,9 @@ class Ae {
|
|
|
9121
9135
|
const y = (e = this.qrCode) === null || e === void 0 ? void 0 : e.moduleCount, E = this.options.size;
|
|
9122
9136
|
let p = this.options.margin;
|
|
9123
9137
|
(p < 0 || p * 2 >= E) && (p = 0);
|
|
9124
|
-
const z = Math.ceil(p), c = E - 2 * p, h = this.options.whiteMargin, V = this.options.backgroundDimming, g = Math.ceil(c / y), v = g * y, C = v + 2 * z, P = new
|
|
9138
|
+
const z = Math.ceil(p), c = E - 2 * p, h = this.options.whiteMargin, V = this.options.backgroundDimming, g = Math.ceil(c / y), v = g * y, C = v + 2 * z, P = new cu(C, C), F = P.getContext("2d");
|
|
9125
9139
|
this._clear(), F.save(), F.translate(z, z);
|
|
9126
|
-
const G = new
|
|
9140
|
+
const G = new cu(C, C), m = G.getContext("2d");
|
|
9127
9141
|
let b = null, k = [];
|
|
9128
9142
|
if (this.options.gifBackground) {
|
|
9129
9143
|
const $ = Xl(this.options.gifBackground);
|
|
@@ -9144,7 +9158,7 @@ class Ae {
|
|
|
9144
9158
|
m.drawImage($, 0, 0, $.width, $.height, 0, 0, C, C), m.rect(0, 0, C, C), m.fillStyle = V, m.fill();
|
|
9145
9159
|
} else
|
|
9146
9160
|
m.rect(0, 0, C, C), m.fillStyle = this.options.colorLight, m.fill();
|
|
9147
|
-
const U = pe.getPatternPosition(this.qrCode.typeNumber), H = ((o = (u = this.options.components) === null || u === void 0 ? void 0 : u.data) === null || o === void 0 ? void 0 : o.scale) ||
|
|
9161
|
+
const U = pe.getPatternPosition(this.qrCode.typeNumber), H = ((o = (u = this.options.components) === null || u === void 0 ? void 0 : u.data) === null || o === void 0 ? void 0 : o.scale) || gt, ee = (1 - H) * 0.5;
|
|
9148
9162
|
for (let $ = 0; $ < y; $++)
|
|
9149
9163
|
for (let te = 0; te < y; te++) {
|
|
9150
9164
|
const W = this.qrCode.isDark($, te), le = te < 8 && ($ < 8 || $ >= y - 8) || te >= y - 8 && $ < 8, he = $ == 6 && te >= 8 && te <= y - 8 || te == 6 && $ >= 8 && $ <= y - 8;
|
|
@@ -9173,12 +9187,12 @@ class Ae {
|
|
|
9173
9187
|
}
|
|
9174
9188
|
}
|
|
9175
9189
|
F.fillStyle = this.options.colorDark, F.fillRect(0, 0, 7 * g, g), F.fillRect((y - 7) * g, 0, 7 * g, g), F.fillRect(0, 6 * g, 7 * g, g), F.fillRect((y - 7) * g, 6 * g, 7 * g, g), F.fillRect(0, (y - 7) * g, 7 * g, g), F.fillRect(0, (y - 7 + 6) * g, 7 * g, g), F.fillRect(0, 0, g, 7 * g), F.fillRect(6 * g, 0, g, 7 * g), F.fillRect((y - 7) * g, 0, g, 7 * g), F.fillRect((y - 7 + 6) * g, 0, g, 7 * g), F.fillRect(0, (y - 7) * g, g, 7 * g), F.fillRect(6 * g, (y - 7) * g, g, 7 * g), F.fillRect(2 * g, 2 * g, 3 * g, 3 * g), F.fillRect((y - 7 + 2) * g, 2 * g, 3 * g, 3 * g), F.fillRect(2 * g, (y - 7 + 2) * g, 3 * g, 3 * g);
|
|
9176
|
-
const Se = ((s = (l = this.options.components) === null || l === void 0 ? void 0 : l.timing) === null || s === void 0 ? void 0 : s.scale) ||
|
|
9190
|
+
const Se = ((s = (l = this.options.components) === null || l === void 0 ? void 0 : l.timing) === null || s === void 0 ? void 0 : s.scale) || gt, ae = (1 - Se) * 0.5;
|
|
9177
9191
|
for (let $ = 0; $ < y - 8; $ += 2)
|
|
9178
9192
|
Ae._drawDot(F, 8 + $, 6, g, ae, Se), Ae._drawDot(F, 6, 8 + $, g, ae, Se);
|
|
9179
|
-
const X = ((A = (D = this.options.components) === null || D === void 0 ? void 0 : D.cornerAlignment) === null || A === void 0 ? void 0 : A.scale) ||
|
|
9193
|
+
const X = ((A = (D = this.options.components) === null || D === void 0 ? void 0 : D.cornerAlignment) === null || A === void 0 ? void 0 : A.scale) || gt, Ie = (1 - X) * 0.5;
|
|
9180
9194
|
Ae._drawAlign(F, ie, ie, g, Ie, X, this.options.colorDark, ((f = (I = this.options.components) === null || I === void 0 ? void 0 : I.cornerAlignment) === null || f === void 0 ? void 0 : f.protectors) || !1);
|
|
9181
|
-
const Ee = ((O = (_ = this.options.components) === null || _ === void 0 ? void 0 : _.alignment) === null || O === void 0 ? void 0 : O.scale) ||
|
|
9195
|
+
const Ee = ((O = (_ = this.options.components) === null || _ === void 0 ? void 0 : _.alignment) === null || O === void 0 ? void 0 : O.scale) || gt, je = (1 - Ee) * 0.5;
|
|
9182
9196
|
for (let $ = 0; $ < U.length; $++)
|
|
9183
9197
|
for (let te = 0; te < U.length; te++) {
|
|
9184
9198
|
const W = U[te], le = U[$];
|
|
@@ -9204,21 +9218,21 @@ class Ae {
|
|
|
9204
9218
|
if (k.forEach(function(Le) {
|
|
9205
9219
|
$ || ($ = new xe(E, E), $.setDelay(Le.delay), $.setRepeat(0));
|
|
9206
9220
|
const { width: Re, height: be } = Le.dims;
|
|
9207
|
-
te || (te = new
|
|
9208
|
-
const
|
|
9221
|
+
te || (te = new cu(Re, be), W = te.getContext("2d"), W.rect(0, 0, te.width, te.height), W.fillStyle = "#ffffff", W.fill()), (!le || !fe || Re !== le.width || be !== le.height) && (le = new cu(Re, be), he = le.getContext("2d"), fe = he.createImageData(Re, be)), fe.data.set(Le.patch), he.putImageData(fe, 0, 0), W.drawImage(le.getContext("2d").canvas, Le.dims.left, Le.dims.top);
|
|
9222
|
+
const zu = new cu(C, C), Y = zu.getContext("2d");
|
|
9209
9223
|
Y.drawImage(te.getContext("2d").canvas, 0, 0, C, C), Y.rect(0, 0, C, C), Y.fillStyle = V, Y.fill(), Y.drawImage(P.getContext("2d").canvas, 0, 0, C, C);
|
|
9210
|
-
const q = new
|
|
9211
|
-
re.drawImage(
|
|
9224
|
+
const q = new cu(E, E), re = q.getContext("2d");
|
|
9225
|
+
re.drawImage(zu.getContext("2d").canvas, 0, 0, E, E), $.addFrame(re.getImageData(0, 0, q.width, q.height).data);
|
|
9212
9226
|
}), !$)
|
|
9213
9227
|
throw new Error("No frames.");
|
|
9214
9228
|
if ($.finish(), Jo(this.canvas)) {
|
|
9215
|
-
const Re = $.stream().toFlattenUint8Array().reduce((be,
|
|
9229
|
+
const Re = $.stream().toFlattenUint8Array().reduce((be, zu) => be + String.fromCharCode(zu), "");
|
|
9216
9230
|
return Promise.resolve(`data:image/gif;base64,${window.btoa(Re)}`);
|
|
9217
9231
|
}
|
|
9218
9232
|
return Promise.resolve(Buffer.from($.stream().toFlattenUint8Array()));
|
|
9219
9233
|
} else {
|
|
9220
9234
|
m.drawImage(P.getContext("2d").canvas, 0, 0, C, C), F.drawImage(G.getContext("2d").canvas, -z, -z, C, C);
|
|
9221
|
-
const $ = new
|
|
9235
|
+
const $ = new cu(E, E);
|
|
9222
9236
|
$.getContext("2d").drawImage(P.getContext("2d").canvas, 0, 0, E, E), this.canvas = $;
|
|
9223
9237
|
const W = this.options.gifBackground ? "gif" : "png";
|
|
9224
9238
|
return Jo(this.canvas) ? Promise.resolve(this.canvas.toDataURL(W)) : Promise.resolve(this.canvas.toBuffer(W));
|
|
@@ -9455,7 +9469,7 @@ function E0(t, e, u, o, n, a) {
|
|
|
9455
9469
|
}, null, 8, m0)) : J("", !0);
|
|
9456
9470
|
}
|
|
9457
9471
|
const f0 = /* @__PURE__ */ tu(y0, [["render", E0]]);
|
|
9458
|
-
function
|
|
9472
|
+
function ua(t = {}) {
|
|
9459
9473
|
const e = B(!1);
|
|
9460
9474
|
return {
|
|
9461
9475
|
reloadFlag: e,
|
|
@@ -9486,7 +9500,7 @@ const p0 = { key: 0 }, z0 = ["innerHTML"], x0 = ["innerHTML"], C0 = ["innerHTML"
|
|
|
9486
9500
|
"return-pagination-props"
|
|
9487
9501
|
],
|
|
9488
9502
|
setup(t, { emit: e }) {
|
|
9489
|
-
const { T: u } = de(), { reload: o, reloadFlag: n } =
|
|
9503
|
+
const { T: u } = de(), { reload: o, reloadFlag: n } = ua(), a = t, i = e, M = w(() => {
|
|
9490
9504
|
var g, v, C, P;
|
|
9491
9505
|
return (v = (g = a.board) == null ? void 0 : g.tableData) != null && v.keyName ? (P = (C = a.board) == null ? void 0 : C.tableData) == null ? void 0 : P.keyName : "";
|
|
9492
9506
|
}), r = B([]);
|
|
@@ -9511,7 +9525,7 @@ const p0 = { key: 0 }, z0 = ["innerHTML"], x0 = ["innerHTML"], C0 = ["innerHTML"
|
|
|
9511
9525
|
function A(g, v) {
|
|
9512
9526
|
if (g.value != "")
|
|
9513
9527
|
try {
|
|
9514
|
-
return
|
|
9528
|
+
return du.render(g.value, { item: v });
|
|
9515
9529
|
} catch (C) {
|
|
9516
9530
|
console.error("GTable returnValue Error", C);
|
|
9517
9531
|
}
|
|
@@ -9534,9 +9548,9 @@ const p0 = { key: 0 }, z0 = ["innerHTML"], x0 = ["innerHTML"], C0 = ["innerHTML"
|
|
|
9534
9548
|
}
|
|
9535
9549
|
function O(g, v) {
|
|
9536
9550
|
if (g.value != "")
|
|
9537
|
-
return
|
|
9551
|
+
return du.render(g.value, { item: v });
|
|
9538
9552
|
if (g.value == "")
|
|
9539
|
-
return I(v[g.keyName]) ?
|
|
9553
|
+
return I(v[g.keyName]) ? gu(v[g.keyName]).format("YYYY-MM-DD HH:mm:ss") : f();
|
|
9540
9554
|
}
|
|
9541
9555
|
function j(g, v) {
|
|
9542
9556
|
i("table-button-action", g, v);
|
|
@@ -9549,7 +9563,7 @@ const p0 = { key: 0 }, z0 = ["innerHTML"], x0 = ["innerHTML"], C0 = ["innerHTML"
|
|
|
9549
9563
|
() => o(),
|
|
9550
9564
|
{ deep: !0 }
|
|
9551
9565
|
);
|
|
9552
|
-
const y = B(null), { width: E } =
|
|
9566
|
+
const y = B(null), { width: E } = Nn(y), p = Mo(), z = B(/* @__PURE__ */ new Map());
|
|
9553
9567
|
function c(g) {
|
|
9554
9568
|
const { columnsWidth: v } = g, C = {};
|
|
9555
9569
|
h.value.forEach((m, b) => {
|
|
@@ -9587,7 +9601,7 @@ const p0 = { key: 0 }, z0 = ["innerHTML"], x0 = ["innerHTML"], C0 = ["innerHTML"
|
|
|
9587
9601
|
}
|
|
9588
9602
|
p.setColumnWidthData(a.viewName, C);
|
|
9589
9603
|
}
|
|
9590
|
-
|
|
9604
|
+
ju("tableLayoutSize", E);
|
|
9591
9605
|
const h = B([]);
|
|
9592
9606
|
Te(
|
|
9593
9607
|
() => a.tableColumns,
|
|
@@ -9697,7 +9711,7 @@ const p0 = { key: 0 }, z0 = ["innerHTML"], x0 = ["innerHTML"], C0 = ["innerHTML"
|
|
|
9697
9711
|
]),
|
|
9698
9712
|
IMAGE: x(({ col: m, row: b }) => [
|
|
9699
9713
|
ue("div", {
|
|
9700
|
-
class: Z(`${d(
|
|
9714
|
+
class: Z(`${d(Pu)}__imageViewer`)
|
|
9701
9715
|
}, [
|
|
9702
9716
|
A(m, b) ? (T(), S(G, {
|
|
9703
9717
|
key: 0,
|
|
@@ -9705,19 +9719,19 @@ const p0 = { key: 0 }, z0 = ["innerHTML"], x0 = ["innerHTML"], C0 = ["innerHTML"
|
|
|
9705
9719
|
}, {
|
|
9706
9720
|
trigger: x(({ open: k }) => [
|
|
9707
9721
|
ue("div", {
|
|
9708
|
-
class: Z(`${d(
|
|
9722
|
+
class: Z(`${d(Pu)}__imageViewer--image`)
|
|
9709
9723
|
}, [
|
|
9710
9724
|
Q(F, {
|
|
9711
|
-
class: Z(`${d(
|
|
9725
|
+
class: Z(`${d(Pu)}__imageViewer--image-img`),
|
|
9712
9726
|
src: A(m, b),
|
|
9713
9727
|
shape: "round",
|
|
9714
9728
|
fit: "scale-down"
|
|
9715
9729
|
}, {
|
|
9716
9730
|
error: x(() => [
|
|
9717
|
-
m.name == `${d(u).t("头像")}` ? (T(), S(d(wt), { key: 0 })) : (T(), S(d(
|
|
9731
|
+
m.name == `${d(u).t("头像")}` ? (T(), S(d(wt), { key: 0 })) : (T(), S(d(Xu), { key: 1 }))
|
|
9718
9732
|
]),
|
|
9719
9733
|
loading: x(() => [
|
|
9720
|
-
m.name == `${d(u).t("头像")}` ? (T(), S(d(wt), { key: 0 })) : (T(), S(d(
|
|
9734
|
+
m.name == `${d(u).t("头像")}` ? (T(), S(d(wt), { key: 0 })) : (T(), S(d(Xu), {
|
|
9721
9735
|
key: 1,
|
|
9722
9736
|
size: "large"
|
|
9723
9737
|
}))
|
|
@@ -9725,7 +9739,7 @@ const p0 = { key: 0 }, z0 = ["innerHTML"], x0 = ["innerHTML"], C0 = ["innerHTML"
|
|
|
9725
9739
|
_: 2
|
|
9726
9740
|
}, 1032, ["class", "src"]),
|
|
9727
9741
|
ue("div", {
|
|
9728
|
-
class: Z(`${d(
|
|
9742
|
+
class: Z(`${d(Pu)}__imageViewer--hover`),
|
|
9729
9743
|
onClick: k
|
|
9730
9744
|
}, [
|
|
9731
9745
|
ue("span", null, [
|
|
@@ -9738,12 +9752,12 @@ const p0 = { key: 0 }, z0 = ["innerHTML"], x0 = ["innerHTML"], C0 = ["innerHTML"
|
|
|
9738
9752
|
_: 2
|
|
9739
9753
|
}, 1032, ["images"])) : (T(), R("span", {
|
|
9740
9754
|
key: 1,
|
|
9741
|
-
class: Z(`${d(
|
|
9755
|
+
class: Z(`${d(Pu)}__imageViewer--placeholder`)
|
|
9742
9756
|
}, [
|
|
9743
9757
|
m.name == `${d(u).t("头像")}` ? (T(), S(d(wt), {
|
|
9744
9758
|
key: 0,
|
|
9745
9759
|
size: "large"
|
|
9746
|
-
})) : (T(), S(d(
|
|
9760
|
+
})) : (T(), S(d(Xu), {
|
|
9747
9761
|
key: 1,
|
|
9748
9762
|
size: "large"
|
|
9749
9763
|
}))
|
|
@@ -9774,7 +9788,7 @@ const v0 = /* @__PURE__ */ tu(S0, [["__scopeId", "data-v-a7f6de2d"]]), U0 = /* @
|
|
|
9774
9788
|
board: {}
|
|
9775
9789
|
},
|
|
9776
9790
|
setup(t) {
|
|
9777
|
-
const e = t, u =
|
|
9791
|
+
const e = t, u = bu(), o = Iu(), n = uu(), a = w(() => o.fullPath), i = w(() => {
|
|
9778
9792
|
var A;
|
|
9779
9793
|
return (A = e == null ? void 0 : e.board) == null ? void 0 : A.tabs;
|
|
9780
9794
|
}), M = B(0), r = w(() => u.returnTabMenuItemActiveTab(a.value));
|
|
@@ -9799,7 +9813,7 @@ const v0 = /* @__PURE__ */ tu(S0, [["__scopeId", "data-v-a7f6de2d"]]), U0 = /* @
|
|
|
9799
9813
|
const l = ve(), s = w(() => l.homeUrl);
|
|
9800
9814
|
function D() {
|
|
9801
9815
|
const A = o.fullPath, I = u.returnPrevTabMenuPathItemByPath(A);
|
|
9802
|
-
I && (u.removeTabMenuItemByPath(A), console.log(I), I != "/home" ? n.push(I) : s.value && n.push({ path: s.value, query:
|
|
9816
|
+
I && (u.removeTabMenuItemByPath(A), console.log(I), I != "/home" ? n.push(I) : s.value && n.push({ path: s.value, query: xu(s.value) }));
|
|
9803
9817
|
}
|
|
9804
9818
|
return (A, I) => {
|
|
9805
9819
|
const f = K("t-card"), _ = K("t-tab-panel"), O = K("t-tabs");
|
|
@@ -9819,7 +9833,7 @@ const v0 = /* @__PURE__ */ tu(S0, [["__scopeId", "data-v-a7f6de2d"]]), U0 = /* @
|
|
|
9819
9833
|
default: x(() => [
|
|
9820
9834
|
Q(f, { bordered: !1 }, {
|
|
9821
9835
|
content: x(() => [
|
|
9822
|
-
j.board ? (T(), S(d(
|
|
9836
|
+
j.board ? (T(), S(d(Et), {
|
|
9823
9837
|
key: j.title,
|
|
9824
9838
|
viewName: A.viewName,
|
|
9825
9839
|
board: j.board,
|
|
@@ -9850,7 +9864,7 @@ const Q0 = /* @__PURE__ */ ne({
|
|
|
9850
9864
|
},
|
|
9851
9865
|
emits: ["close-dialog"],
|
|
9852
9866
|
setup(t, { emit: e }) {
|
|
9853
|
-
const { T: u } = de(), o = uu(), n =
|
|
9867
|
+
const { T: u } = de(), o = uu(), n = Iu(), a = ve(), i = ro(), M = so(), r = t, { reload: N } = ua(), l = e, s = w(() => {
|
|
9854
9868
|
var Y;
|
|
9855
9869
|
return (Y = r.board) == null ? void 0 : Y.boardType;
|
|
9856
9870
|
}), D = w(() => {
|
|
@@ -9863,7 +9877,7 @@ const Q0 = /* @__PURE__ */ ne({
|
|
|
9863
9877
|
w(
|
|
9864
9878
|
() => {
|
|
9865
9879
|
var Y, q;
|
|
9866
|
-
return f.value && (
|
|
9880
|
+
return f.value && (pu(f.value.buttons) && f.value.buttons.length || pu((Y = f.value.searchBar) == null ? void 0 : Y.filters) && ((q = f.value.searchBar) == null ? void 0 : q.filters.length));
|
|
9867
9881
|
}
|
|
9868
9882
|
);
|
|
9869
9883
|
const j = w(() => {
|
|
@@ -9893,7 +9907,7 @@ const Q0 = /* @__PURE__ */ ne({
|
|
|
9893
9907
|
});
|
|
9894
9908
|
}
|
|
9895
9909
|
if (!iu(D.value) && !iu(r.viewName)) {
|
|
9896
|
-
const q = await
|
|
9910
|
+
const q = await at({
|
|
9897
9911
|
dataId: D.value,
|
|
9898
9912
|
viewName: r.viewName,
|
|
9899
9913
|
props: y.value
|
|
@@ -9920,7 +9934,7 @@ const Q0 = /* @__PURE__ */ ne({
|
|
|
9920
9934
|
}), lu(() => {
|
|
9921
9935
|
D.value && i.sendUnregisterMessage(D.value);
|
|
9922
9936
|
});
|
|
9923
|
-
const c =
|
|
9937
|
+
const c = bu(), h = nt();
|
|
9924
9938
|
function V(Y) {
|
|
9925
9939
|
const q = Fe(_.value), re = Fe(L.value);
|
|
9926
9940
|
c.findExistTabMenuItem({ path: Y }) && h.setFormData(Y, {
|
|
@@ -9928,9 +9942,9 @@ const Q0 = /* @__PURE__ */ ne({
|
|
|
9928
9942
|
pagination: re
|
|
9929
9943
|
});
|
|
9930
9944
|
}
|
|
9931
|
-
|
|
9945
|
+
rn((Y, q) => {
|
|
9932
9946
|
r.from != "dialog" && V(q.fullPath);
|
|
9933
|
-
}),
|
|
9947
|
+
}), Mn((Y, q) => {
|
|
9934
9948
|
r.from != "dialog" && V(q.fullPath);
|
|
9935
9949
|
}), Te(
|
|
9936
9950
|
() => r.board,
|
|
@@ -9945,7 +9959,7 @@ const Q0 = /* @__PURE__ */ ne({
|
|
|
9945
9959
|
async function m(Y, q = {}) {
|
|
9946
9960
|
if ((Y ?? "") != "") {
|
|
9947
9961
|
q.viewName = Y;
|
|
9948
|
-
const re = await
|
|
9962
|
+
const re = await kn(q);
|
|
9949
9963
|
re.state === 200 && (F.value = re.data.boards[0], G.value = re.data.props);
|
|
9950
9964
|
}
|
|
9951
9965
|
}
|
|
@@ -9976,7 +9990,7 @@ const Q0 = /* @__PURE__ */ ne({
|
|
|
9976
9990
|
}
|
|
9977
9991
|
case "CONFIRM": {
|
|
9978
9992
|
let De;
|
|
9979
|
-
Y.confirmMessage && Y.confirmMessage != "" ? De =
|
|
9993
|
+
Y.confirmMessage && Y.confirmMessage != "" ? De = du.render(Y.confirmMessage, { item: q }) : De = `${u.t("是否进行%s")}`.replace("%s", `${Y.name}`);
|
|
9980
9994
|
let ce = {};
|
|
9981
9995
|
Y.props ? Y.props.forEach((Ke) => {
|
|
9982
9996
|
Ke.keyName && (q[Ke.keyName] ?? "") != "" && (ce[Ke.keyName] = q[Ke.keyName]);
|
|
@@ -10067,17 +10081,18 @@ const Q0 = /* @__PURE__ */ ne({
|
|
|
10067
10081
|
(ou = Y == null ? void 0 : Y.props) == null || ou.forEach((Oe) => {
|
|
10068
10082
|
Oe.keyName && (q[Oe.keyName] ?? "") != "" && (De[Oe.keyName] = q[Oe.keyName]);
|
|
10069
10083
|
});
|
|
10070
|
-
const ce = Lo.decode(
|
|
10084
|
+
const ce = Lo.decode(du.render(Y.link, { item: q }));
|
|
10071
10085
|
if (Y.outLink) {
|
|
10072
|
-
const Oe =
|
|
10086
|
+
const Oe = Tu(`${location.origin}${ce}`, {
|
|
10073
10087
|
...De,
|
|
10074
10088
|
token: a.token,
|
|
10089
|
+
sessionId: Mu(),
|
|
10075
10090
|
lang: a.userLang
|
|
10076
10091
|
});
|
|
10077
10092
|
window.open(`${Oe}`, "_blank");
|
|
10078
10093
|
return;
|
|
10079
10094
|
}
|
|
10080
|
-
if (!
|
|
10095
|
+
if (!ot(ce))
|
|
10081
10096
|
Yo(ce) ? window.open(`${location.origin}${ce}`) : o.push({
|
|
10082
10097
|
path: ce,
|
|
10083
10098
|
query: {
|
|
@@ -10085,9 +10100,10 @@ const Q0 = /* @__PURE__ */ ne({
|
|
|
10085
10100
|
}
|
|
10086
10101
|
});
|
|
10087
10102
|
else {
|
|
10088
|
-
const Oe =
|
|
10103
|
+
const Oe = Tu(ce, {
|
|
10089
10104
|
...De,
|
|
10090
10105
|
token: a.token,
|
|
10106
|
+
sessionId: Mu(),
|
|
10091
10107
|
lang: a.userLang
|
|
10092
10108
|
});
|
|
10093
10109
|
window.open(Oe, "_blank");
|
|
@@ -10118,16 +10134,16 @@ const Q0 = /* @__PURE__ */ ne({
|
|
|
10118
10134
|
Bt(Oe, Ke, "blob", De);
|
|
10119
10135
|
}
|
|
10120
10136
|
} else if ((Y.downloadUrl ?? "") != "") {
|
|
10121
|
-
const ce = Lo.decode(
|
|
10137
|
+
const ce = Lo.decode(du.render(Y.downloadUrl, { item: q }));
|
|
10122
10138
|
if (Yo(ce)) {
|
|
10123
|
-
const Oe =
|
|
10139
|
+
const Oe = Tu(ce, De, !1);
|
|
10124
10140
|
if ((ce ?? "") != "" && (Oe ?? !1)) {
|
|
10125
10141
|
const Ke = ce.split("/").slice(-1)[0];
|
|
10126
10142
|
Bt(Oe, Ke, "file");
|
|
10127
10143
|
} else
|
|
10128
10144
|
ze.info(`${u.t("未设置下载链接")}`);
|
|
10129
10145
|
} else {
|
|
10130
|
-
const Oe =
|
|
10146
|
+
const Oe = Tu(ce, De, !1);
|
|
10131
10147
|
Bt(Oe, "", "blob");
|
|
10132
10148
|
}
|
|
10133
10149
|
}
|
|
@@ -10197,7 +10213,7 @@ const Q0 = /* @__PURE__ */ ne({
|
|
|
10197
10213
|
async function le(Y, q) {
|
|
10198
10214
|
k.value && (k.value.formOkButtonLoading || (k.value.formOkButtonLoading = !0));
|
|
10199
10215
|
let re = {};
|
|
10200
|
-
return Object.keys(y.value).length && Object.assign(re, y.value), Object.assign(re, Y), (await
|
|
10216
|
+
return Object.keys(y.value).length && Object.assign(re, y.value), Object.assign(re, Y), (await wn({
|
|
10201
10217
|
buttonId: q,
|
|
10202
10218
|
props: re,
|
|
10203
10219
|
viewName: r.viewName
|
|
@@ -10257,12 +10273,12 @@ const Q0 = /* @__PURE__ */ ne({
|
|
|
10257
10273
|
});
|
|
10258
10274
|
}
|
|
10259
10275
|
async function be(Y, q) {
|
|
10260
|
-
await le(Y, q) &&
|
|
10276
|
+
await le(Y, q) && zu();
|
|
10261
10277
|
}
|
|
10262
|
-
function
|
|
10278
|
+
function zu() {
|
|
10263
10279
|
l("close-dialog");
|
|
10264
10280
|
}
|
|
10265
|
-
return
|
|
10281
|
+
return ju(Yu, y.value), (Y, q) => {
|
|
10266
10282
|
const re = K("t-loading");
|
|
10267
10283
|
return T(), R(Ne, null, [
|
|
10268
10284
|
Q(re, {
|
|
@@ -10291,7 +10307,7 @@ const Q0 = /* @__PURE__ */ ne({
|
|
|
10291
10307
|
formData: I.value,
|
|
10292
10308
|
onConfirmForm: le,
|
|
10293
10309
|
onConfirmAndClose: be,
|
|
10294
|
-
onCloseDialog:
|
|
10310
|
+
onCloseDialog: zu
|
|
10295
10311
|
}, null, 8, ["viewName", "board", "formData"])) : J("", !0),
|
|
10296
10312
|
s.value === "table" ? (T(), S(v0, {
|
|
10297
10313
|
key: 2,
|
|
@@ -10334,25 +10350,25 @@ const Q0 = /* @__PURE__ */ ne({
|
|
|
10334
10350
|
};
|
|
10335
10351
|
}
|
|
10336
10352
|
});
|
|
10337
|
-
const
|
|
10353
|
+
const Et = Ge(Q0), ta = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
10338
10354
|
__proto__: null,
|
|
10339
|
-
GBoard:
|
|
10340
|
-
default:
|
|
10355
|
+
GBoard: Et,
|
|
10356
|
+
default: Et
|
|
10341
10357
|
}, Symbol.toStringTag, { value: "Module" })), b0 = /* @__PURE__ */ ne({
|
|
10342
10358
|
__name: "index",
|
|
10343
10359
|
props: {
|
|
10344
10360
|
config: {}
|
|
10345
10361
|
},
|
|
10346
10362
|
setup(t) {
|
|
10347
|
-
const e = uu(), u =
|
|
10348
|
-
|
|
10363
|
+
const e = uu(), u = Iu(), o = ve(), n = bu(), a = ro(), i = t, M = B(""), r = w(() => o.isUserLogin), N = w(() => o.homeUrl);
|
|
10364
|
+
tt(async () => {
|
|
10349
10365
|
r.value || (await o.initUserConfig(i.config), await n.initTabMenu());
|
|
10350
10366
|
}), Be(async () => {
|
|
10351
10367
|
var j;
|
|
10352
10368
|
if (a.initSocket(), window.addEventListener("onSocketReload", () => {
|
|
10353
10369
|
o.toggleGlobalReload();
|
|
10354
10370
|
}), (j = u.query) != null && j.redirect) {
|
|
10355
|
-
const L = u.query, y = decodeURIComponent(L.redirect), E =
|
|
10371
|
+
const L = u.query, y = decodeURIComponent(L.redirect), E = Dn.parse(y.split("?")[1]), p = y.split("?")[0];
|
|
10356
10372
|
p === "/view" && Object.keys(E).length == 0 ? e.push(N.value) : e.push({
|
|
10357
10373
|
path: p,
|
|
10358
10374
|
query: {
|
|
@@ -10395,7 +10411,7 @@ const mt = Ge(Q0), ua = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.def
|
|
|
10395
10411
|
let p = "";
|
|
10396
10412
|
$e(L) || (p = JSON.stringify(L)), E.props = p;
|
|
10397
10413
|
try {
|
|
10398
|
-
const c = await
|
|
10414
|
+
const c = await kn(E);
|
|
10399
10415
|
if (c.state === 200 && c.data) {
|
|
10400
10416
|
D.value = c.data, M.value = (z = c.data) == null ? void 0 : z.title;
|
|
10401
10417
|
const h = decodeURIComponent(u.fullPath);
|
|
@@ -10420,13 +10436,13 @@ const mt = Ge(Q0), ua = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.def
|
|
|
10420
10436
|
} : {}
|
|
10421
10437
|
};
|
|
10422
10438
|
});
|
|
10423
|
-
return
|
|
10439
|
+
return ju(fn, M), (j, L) => (T(), S(d(co), ye({ key: M.value }, O.value), {
|
|
10424
10440
|
default: x(() => {
|
|
10425
10441
|
var y;
|
|
10426
10442
|
return [
|
|
10427
10443
|
f.value ? (T(!0), R(Ne, { key: 0 }, me((y = D.value) == null ? void 0 : y.boards, (E) => {
|
|
10428
10444
|
var p, z;
|
|
10429
|
-
return T(), S(d(
|
|
10445
|
+
return T(), S(d(Et), {
|
|
10430
10446
|
key: `${(p = D.value) == null ? void 0 : p.viewName}_${E.boardType}`,
|
|
10431
10447
|
board: E,
|
|
10432
10448
|
viewName: A.value,
|
|
@@ -12415,9 +12431,9 @@ const R0 = { class: "gConfigProvider" }, W0 = /* @__PURE__ */ ne({
|
|
|
12415
12431
|
}
|
|
12416
12432
|
}
|
|
12417
12433
|
const s = B({});
|
|
12418
|
-
return
|
|
12434
|
+
return an(() => {
|
|
12419
12435
|
l();
|
|
12420
|
-
}),
|
|
12436
|
+
}), ju(eo, {
|
|
12421
12437
|
GLayoutHeaderOperationsRef: i,
|
|
12422
12438
|
GLayoutHeaderConfigRef: M,
|
|
12423
12439
|
LocaleConfigRef: n,
|
|
@@ -12498,7 +12514,7 @@ const lM = { render: iM }, MM = {
|
|
|
12498
12514
|
]));
|
|
12499
12515
|
}
|
|
12500
12516
|
});
|
|
12501
|
-
const
|
|
12517
|
+
const oa = /* @__PURE__ */ tu(NM, [["__scopeId", "data-v-75fdffa5"]]), yr = /* @__PURE__ */ ne({
|
|
12502
12518
|
__name: "404",
|
|
12503
12519
|
setup(t) {
|
|
12504
12520
|
const { T: e } = de(), u = uu();
|
|
@@ -12511,7 +12527,7 @@ const ta = /* @__PURE__ */ tu(NM, [["__scopeId", "data-v-75fdffa5"]]), yr = /* @
|
|
|
12511
12527
|
const i = K("t-button");
|
|
12512
12528
|
return T(), S(d(co), null, {
|
|
12513
12529
|
default: x(() => [
|
|
12514
|
-
Q(
|
|
12530
|
+
Q(oa, {
|
|
12515
12531
|
type: "404",
|
|
12516
12532
|
tip: "404 Not Found",
|
|
12517
12533
|
title: d(e).t("抱歉,您访问的页面不存在")
|
|
@@ -12544,7 +12560,7 @@ const ta = /* @__PURE__ */ tu(NM, [["__scopeId", "data-v-75fdffa5"]]), yr = /* @
|
|
|
12544
12560
|
const i = K("t-button");
|
|
12545
12561
|
return T(), S(d(co), null, {
|
|
12546
12562
|
default: x(() => [
|
|
12547
|
-
Q(
|
|
12563
|
+
Q(oa, {
|
|
12548
12564
|
type: "403",
|
|
12549
12565
|
tip: "403 Forbidden",
|
|
12550
12566
|
title: d(e).t("抱歉,您无权限访问此页面")
|
|
@@ -12585,7 +12601,7 @@ const ta = /* @__PURE__ */ tu(NM, [["__scopeId", "data-v-75fdffa5"]]), yr = /* @
|
|
|
12585
12601
|
t.directive(e, un[e]);
|
|
12586
12602
|
});
|
|
12587
12603
|
}
|
|
12588
|
-
}, TM = "@gonsin/gview", dM = "2.0.
|
|
12604
|
+
}, TM = "@gonsin/gview", dM = "2.0.135", jM = "dist/index.mjs", IM = "dist/types/index.d.ts", AM = [
|
|
12589
12605
|
"dist",
|
|
12590
12606
|
"README.md",
|
|
12591
12607
|
"CHANGELOG.md"
|
|
@@ -12661,7 +12677,7 @@ const ta = /* @__PURE__ */ tu(NM, [["__scopeId", "data-v-75fdffa5"]]), yr = /* @
|
|
|
12661
12677
|
"vite-plugin-mkcert": "^1.16.0",
|
|
12662
12678
|
"vite-svg-loader": "^4.0.0",
|
|
12663
12679
|
"vue-tsc": "^1.2.0"
|
|
12664
|
-
},
|
|
12680
|
+
}, na = {
|
|
12665
12681
|
name: TM,
|
|
12666
12682
|
version: dM,
|
|
12667
12683
|
main: jM,
|
|
@@ -12677,7 +12693,7 @@ const ta = /* @__PURE__ */ tu(NM, [["__scopeId", "data-v-75fdffa5"]]), yr = /* @
|
|
|
12677
12693
|
subTitle: { default: "Gonsin Conference affairs management system" }
|
|
12678
12694
|
},
|
|
12679
12695
|
setup(t) {
|
|
12680
|
-
const e = `${
|
|
12696
|
+
const e = `${hu}__title`;
|
|
12681
12697
|
return (u, o) => (T(), R("div", {
|
|
12682
12698
|
class: Z(`${e}`)
|
|
12683
12699
|
}, [
|
|
@@ -12692,7 +12708,7 @@ const ta = /* @__PURE__ */ tu(NM, [["__scopeId", "data-v-75fdffa5"]]), yr = /* @
|
|
|
12692
12708
|
}), pM = /* @__PURE__ */ ne({
|
|
12693
12709
|
__name: "GLoginForm",
|
|
12694
12710
|
setup(t) {
|
|
12695
|
-
const { T: e } = de(), u = `${
|
|
12711
|
+
const { T: e } = de(), u = `${hu}__form`;
|
|
12696
12712
|
return (o, n) => (T(), R("div", {
|
|
12697
12713
|
class: Z(`${u}`)
|
|
12698
12714
|
}, [
|
|
@@ -12712,7 +12728,7 @@ const ta = /* @__PURE__ */ tu(NM, [["__scopeId", "data-v-75fdffa5"]]), yr = /* @
|
|
|
12712
12728
|
copyrightLogoSrc: { default: zM }
|
|
12713
12729
|
},
|
|
12714
12730
|
setup(t) {
|
|
12715
|
-
const e = `${
|
|
12731
|
+
const e = `${hu}__footer`;
|
|
12716
12732
|
return (u, o) => (T(), R("div", {
|
|
12717
12733
|
class: Z(`${e}`)
|
|
12718
12734
|
}, [
|
|
@@ -12742,10 +12758,10 @@ const ta = /* @__PURE__ */ tu(NM, [["__scopeId", "data-v-75fdffa5"]]), yr = /* @
|
|
|
12742
12758
|
},
|
|
12743
12759
|
setup(t) {
|
|
12744
12760
|
return (e, u) => (T(), R("div", {
|
|
12745
|
-
class: Z(`${d(
|
|
12761
|
+
class: Z(`${d(hu)}`)
|
|
12746
12762
|
}, [
|
|
12747
12763
|
ue("video", {
|
|
12748
|
-
class: Z(`${d(
|
|
12764
|
+
class: Z(`${d(hu)}__bgVideo`),
|
|
12749
12765
|
style: Xe({ backgroundImage: `url(${e.bgImgSrc})` }),
|
|
12750
12766
|
poster: e.bgImgSrc,
|
|
12751
12767
|
autoplay: "",
|
|
@@ -12762,10 +12778,10 @@ const ta = /* @__PURE__ */ tu(NM, [["__scopeId", "data-v-75fdffa5"]]), yr = /* @
|
|
|
12762
12778
|
}, null, 8, kM)
|
|
12763
12779
|
], 14, hM),
|
|
12764
12780
|
ue("div", {
|
|
12765
|
-
class: Z(`${d(
|
|
12781
|
+
class: Z(`${d(hu)}__overlay`)
|
|
12766
12782
|
}, null, 2),
|
|
12767
12783
|
ue("div", {
|
|
12768
|
-
class: Z(`${d(
|
|
12784
|
+
class: Z(`${d(hu)}__container`)
|
|
12769
12785
|
}, [
|
|
12770
12786
|
Q(fM, {
|
|
12771
12787
|
title: e.title,
|
|
@@ -12786,7 +12802,7 @@ const ta = /* @__PURE__ */ tu(NM, [["__scopeId", "data-v-75fdffa5"]]), yr = /* @
|
|
|
12786
12802
|
], 2));
|
|
12787
12803
|
}
|
|
12788
12804
|
});
|
|
12789
|
-
const fr = Ge(wM), SM =
|
|
12805
|
+
const fr = Ge(wM), SM = na.name, vM = na.version;
|
|
12790
12806
|
function UM(t, e) {
|
|
12791
12807
|
console.info(
|
|
12792
12808
|
`%c ${SM} %c ${vM} `,
|
|
@@ -12800,7 +12816,7 @@ function UM(t, e) {
|
|
|
12800
12816
|
}
|
|
12801
12817
|
}
|
|
12802
12818
|
function pr(t) {
|
|
12803
|
-
ve(t),
|
|
12819
|
+
ve(t), bu(t), so(t), ro(t);
|
|
12804
12820
|
}
|
|
12805
12821
|
const { i18n: zr } = de({
|
|
12806
12822
|
project: "venus"
|
|
@@ -12808,13 +12824,13 @@ const { i18n: zr } = de({
|
|
|
12808
12824
|
install: UM
|
|
12809
12825
|
};
|
|
12810
12826
|
export {
|
|
12811
|
-
|
|
12827
|
+
zn as COLOR_TOKEN,
|
|
12812
12828
|
dr as DEFAULT_DARK_COLOR,
|
|
12813
12829
|
Tr as DEFAULT_LIGHT_COLOR,
|
|
12814
12830
|
Fa as DEFAULT_THEME_CONFIG,
|
|
12815
12831
|
h4 as GColumnController,
|
|
12816
12832
|
l4 as GCommonDialog,
|
|
12817
|
-
|
|
12833
|
+
Cn as GCommonForm,
|
|
12818
12834
|
jr as GCommonHeader,
|
|
12819
12835
|
c4 as GCommonTable,
|
|
12820
12836
|
G0 as GConfigProvider,
|
|
@@ -12825,7 +12841,7 @@ export {
|
|
|
12825
12841
|
Ft as INIT_WS_MODEL,
|
|
12826
12842
|
wo as LANG_CONFIG,
|
|
12827
12843
|
Ut as LOCAL_BASE_PERMISSIONS,
|
|
12828
|
-
|
|
12844
|
+
Gu as LOCAL_COLUMN_DATA,
|
|
12829
12845
|
bo as LOCAL_COLUMN_WIDTH_DATA,
|
|
12830
12846
|
vt as LOCAL_CONFIG,
|
|
12831
12847
|
or as LOCAL_DATA_ID,
|
|
@@ -12834,7 +12850,7 @@ export {
|
|
|
12834
12850
|
Oo as LOCAL_LOGIN_STATUS,
|
|
12835
12851
|
tr as LOCAL_MENU,
|
|
12836
12852
|
Qo as LOCAL_SESSION_ID,
|
|
12837
|
-
|
|
12853
|
+
Wu as LOCAL_SIDE_MENU_CONFIG,
|
|
12838
12854
|
So as LOCAL_SIDE_MENU_WIDTH,
|
|
12839
12855
|
Yt as LOCAL_TAB_MENU,
|
|
12840
12856
|
Qt as LOCAL_THEME_CONFIG,
|
|
@@ -12845,24 +12861,24 @@ export {
|
|
|
12845
12861
|
kr as NProgress,
|
|
12846
12862
|
mr as NoPermission,
|
|
12847
12863
|
yr as NotFound,
|
|
12848
|
-
|
|
12864
|
+
gn as PREFIX,
|
|
12849
12865
|
Er as PROJECT_PREFIX,
|
|
12850
|
-
|
|
12851
|
-
|
|
12852
|
-
|
|
12866
|
+
yn as RequestHttp,
|
|
12867
|
+
it as SESSION_FORM_DATA_CACHE,
|
|
12868
|
+
In as StorageUtils,
|
|
12853
12869
|
Uo as TOKEN_EXPIRED_TIME,
|
|
12854
12870
|
vo as TOKEN_NAME,
|
|
12855
12871
|
Ni as WS_INTERVAL_TIMEOUT,
|
|
12856
12872
|
Di as WS_RESET_TIMEOUT,
|
|
12857
12873
|
ci as WS_SERVICE_URL,
|
|
12858
12874
|
ji as boardClass,
|
|
12859
|
-
|
|
12875
|
+
$u as checkPlaceholderIfHidden,
|
|
12860
12876
|
Ti as commonDialogClass,
|
|
12861
|
-
|
|
12862
|
-
|
|
12877
|
+
lt as commonFormClass,
|
|
12878
|
+
Mt as commonHeaderClass,
|
|
12863
12879
|
di as commonTableClass,
|
|
12864
12880
|
li as configHttp,
|
|
12865
|
-
|
|
12881
|
+
En as deepCompareObjects,
|
|
12866
12882
|
xr as default,
|
|
12867
12883
|
Dr as dialogClass,
|
|
12868
12884
|
_t as dialogPluginClass,
|
|
@@ -12872,61 +12888,61 @@ export {
|
|
|
12872
12888
|
Ra as flattenMenuData,
|
|
12873
12889
|
Ii as formClass,
|
|
12874
12890
|
Fo as formItemClass,
|
|
12875
|
-
|
|
12891
|
+
hu as gLoginClass,
|
|
12876
12892
|
qt as generateMenuTree,
|
|
12877
|
-
|
|
12893
|
+
An as getBrandColor,
|
|
12878
12894
|
Mi as getFileNameFromContentDisposition,
|
|
12879
|
-
|
|
12880
|
-
|
|
12895
|
+
jn as getHomeUrl,
|
|
12896
|
+
xu as getUrlQuery,
|
|
12881
12897
|
gr as headerClass,
|
|
12882
12898
|
ai as highlightSearchResult,
|
|
12883
12899
|
Je as http,
|
|
12884
12900
|
zr as i18n,
|
|
12885
12901
|
Pe as initEmptyFormItems,
|
|
12886
|
-
|
|
12902
|
+
ut as initFormModel,
|
|
12887
12903
|
oi as initTableColumns,
|
|
12888
12904
|
ni as initTableDisplayColumns,
|
|
12889
|
-
|
|
12890
|
-
|
|
12891
|
-
|
|
12905
|
+
mn as initTreeSelectorData,
|
|
12906
|
+
Au as is,
|
|
12907
|
+
pu as isArray,
|
|
12892
12908
|
ir as isAsyncFunction,
|
|
12893
12909
|
$a as isBoolean,
|
|
12894
12910
|
Mr as isClient,
|
|
12895
12911
|
nr as isDate,
|
|
12896
12912
|
Pa as isDef,
|
|
12897
12913
|
sr as isElement,
|
|
12898
|
-
|
|
12899
|
-
|
|
12914
|
+
At as isFormVoid,
|
|
12915
|
+
Su as isFunction,
|
|
12900
12916
|
iu as isNull,
|
|
12901
12917
|
Nr as isNullAndUnDef,
|
|
12902
12918
|
$e as isNullOrUnDef,
|
|
12903
12919
|
ar as isNumber,
|
|
12904
12920
|
lo as isObject,
|
|
12905
|
-
|
|
12921
|
+
ot as isOuterUrl,
|
|
12906
12922
|
Va as isPromise,
|
|
12907
12923
|
Yo as isResourceUrl,
|
|
12908
12924
|
cr as isServer,
|
|
12909
12925
|
lr as isString,
|
|
12910
|
-
|
|
12926
|
+
Tn as isUnDef,
|
|
12911
12927
|
rr as isWindow,
|
|
12912
12928
|
eu as layoutClass,
|
|
12913
|
-
|
|
12929
|
+
Mu as loadSessionId,
|
|
12914
12930
|
ge as localStorageUtils,
|
|
12915
|
-
|
|
12916
|
-
|
|
12917
|
-
|
|
12931
|
+
et as nanoid,
|
|
12932
|
+
Tu as resolveUrl,
|
|
12933
|
+
Eu as sessionStorageUtils,
|
|
12918
12934
|
pr as setupStore,
|
|
12919
12935
|
Ai as tabClass,
|
|
12920
|
-
|
|
12921
|
-
|
|
12922
|
-
|
|
12923
|
-
|
|
12936
|
+
Pu as tableClass,
|
|
12937
|
+
rt as uploaderClass,
|
|
12938
|
+
dn as urlToPath,
|
|
12939
|
+
nt as useCacheStore,
|
|
12924
12940
|
Mo as useColumnStore,
|
|
12925
12941
|
hr as useI18n,
|
|
12926
12942
|
so as usePropsStore,
|
|
12927
12943
|
ve as useSettingStore,
|
|
12928
12944
|
ro as useSocketStore,
|
|
12929
|
-
|
|
12945
|
+
bu as useTabMenuStore,
|
|
12930
12946
|
gi as useWebsiteStore,
|
|
12931
12947
|
qa as v,
|
|
12932
12948
|
Ge as withInstall
|