@gonsin/gview 2.0.92 → 2.0.93
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
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var zt = (n, e, t) => (
|
|
1
|
+
var Wa = Object.defineProperty;
|
|
2
|
+
var Ya = (n, e, t) => e in n ? Wa(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t;
|
|
3
|
+
var zt = (n, e, t) => (Ya(n, typeof e != "symbol" ? e + "" : e, t), t);
|
|
4
4
|
import { useI18n as ke } from "gonsin-i18n";
|
|
5
|
-
import { useI18n as
|
|
6
|
-
import { defineComponent as ue, ref as Y, computed as V, resolveComponent as Q, openBlock as v, createBlock as $, normalizeClass as Z, withCtx as C, createElementBlock as W, Fragment as de, renderList as Se, createVNode as F, createElementVNode as ne, unref as h, createTextVNode as re, toDisplayString as te, createCommentVNode as X, withModifiers as Vt, nextTick as
|
|
7
|
-
import { useRouter as ft, useRoute as
|
|
8
|
-
import { defineStore as Ut, storeToRefs as
|
|
9
|
-
import
|
|
5
|
+
import { useI18n as Oc } from "gonsin-i18n";
|
|
6
|
+
import { defineComponent as ue, ref as Y, computed as V, resolveComponent as Q, openBlock as v, createBlock as $, normalizeClass as Z, withCtx as C, createElementBlock as W, Fragment as de, renderList as Se, createVNode as F, createElementVNode as ne, unref as h, createTextVNode as re, toDisplayString as te, createCommentVNode as X, withModifiers as Vt, nextTick as qa, inject as ze, normalizeStyle as bt, normalizeProps as Lt, mergeProps as Ee, guardReactiveProps as Yt, renderSlot as Ke, onMounted as Ue, onBeforeUnmount as Tt, isRef as Qa, Transition as Xa, watch as De, createSlots as qt, useSlots as Yo, resolveDynamicComponent as Za, TransitionGroup as Ja, toRefs as el, provide as At, reactive as $n, onBeforeMount as Jt, toRaw as _n, shallowRef as tl, defineAsyncComponent as qo, watchEffect as nl } from "vue";
|
|
7
|
+
import { useRouter as ft, useRoute as st, onBeforeRouteLeave as Qo, onBeforeRouteUpdate as Xo } from "vue-router";
|
|
8
|
+
import { defineStore as Ut, storeToRefs as ol } from "pinia";
|
|
9
|
+
import dt from "dayjs";
|
|
10
10
|
import to from "axios";
|
|
11
|
-
import { MessagePlugin as he, Button as
|
|
11
|
+
import { MessagePlugin as he, Button as al, Progress as Zo, Tooltip as St, Link as ll, Tree as rl, Card as sl, DialogPlugin as vn, ConfigProvider as il } from "tdesign-vue-next";
|
|
12
12
|
import { get as fe, set as je, cloneDeep as Xe, isPlainObject as ho, isArray as vo, isEqual as go } from "lodash-es";
|
|
13
|
-
import { customAlphabet as
|
|
14
|
-
import { RefreshIcon as Hn, CloseIcon as xt, ArrowLeftIcon as yo, ArrowRightIcon as bo, CloseCircleIcon as wo, MoreIcon as
|
|
15
|
-
import { useElementSize as
|
|
13
|
+
import { customAlphabet as ul } from "nanoid";
|
|
14
|
+
import { RefreshIcon as Hn, CloseIcon as xt, ArrowLeftIcon as yo, ArrowRightIcon as bo, CloseCircleIcon as wo, MoreIcon as cl, DeleteIcon as dl, ViewListIcon as ml, PoweroffIcon as fl, ChevronDownIcon as pl, Icon as To, AppIcon as gt, UploadIcon as Co, CheckCircleFilledIcon as hl, PlayCircleFilledIcon as vl, PauseCircleFilledIcon as gl, LinkIcon as yl, ErrorCircleFilledIcon as bl, FileImageIcon as Qt, FilePdfIcon as Jo, VideoIcon as Kn, FileIconIcon as Wn, FolderOpenIcon as wl, FolderIcon as Tl, FilterIcon as Cl, SearchIcon as kl, UserIcon as Bn, BrowseIcon as Ml, ChevronRightIcon as _l, ChevronUpIcon as Il, MoveIcon as Ll } from "tdesign-icons-vue-next";
|
|
15
|
+
import { useElementSize as Sl, onClickOutside as ko, useEventListener as Mo } from "@vueuse/core";
|
|
16
16
|
import gn from "number-precision";
|
|
17
17
|
import no from "qs";
|
|
18
|
-
import
|
|
19
|
-
import { default as
|
|
20
|
-
import
|
|
21
|
-
import { Toolbar as
|
|
18
|
+
import Dl from "nprogress";
|
|
19
|
+
import { default as Rc } from "nprogress";
|
|
20
|
+
import mt from "mustache";
|
|
21
|
+
import { Toolbar as Nl, Editor as El } from "@wangeditor/editor-for-vue";
|
|
22
22
|
import _o from "he";
|
|
23
23
|
function Ye(n, e, t) {
|
|
24
24
|
const o = n;
|
|
@@ -26,7 +26,7 @@ function Ye(n, e, t) {
|
|
|
26
26
|
a.component(e || l || o.name, n), t && a.directive(t.name, t.comp);
|
|
27
27
|
}, o;
|
|
28
28
|
}
|
|
29
|
-
const nn = "config", Io = "themeConfig",
|
|
29
|
+
const nn = "config", Io = "themeConfig", Al = "user", Lo = "langConfig", pc = "menu", Pn = "initTabMenuList", xn = "tabMenu", on = "sideMenuConfig", So = "token", Do = "tokenExpiredTime", hc = "dataId", Xt = "sessionId", an = "formDataCache", ln = "columnData", No = "permissions", Fl = {
|
|
30
30
|
brandTheme: "default",
|
|
31
31
|
// 主题色
|
|
32
32
|
displayMode: "light"
|
|
@@ -46,8 +46,8 @@ function bn(n, e, t) {
|
|
|
46
46
|
// 标记当前是否为分组
|
|
47
47
|
}));
|
|
48
48
|
}
|
|
49
|
-
function
|
|
50
|
-
return n.map((e) => (e.children && e.children.length > 0 && (e.children =
|
|
49
|
+
function ea(n) {
|
|
50
|
+
return n.map((e) => (e.children && e.children.length > 0 && (e.children = ea(e.children)), e.url && !e.path && (e.path = e.url), e));
|
|
51
51
|
}
|
|
52
52
|
const Yn = (n) => {
|
|
53
53
|
const e = [];
|
|
@@ -70,13 +70,13 @@ const Yn = (n) => {
|
|
|
70
70
|
return t(n, null), e.forEach((o, a) => {
|
|
71
71
|
o.sort = a;
|
|
72
72
|
}), e;
|
|
73
|
-
},
|
|
73
|
+
}, ta = (n, e = "") => {
|
|
74
74
|
for (const t of n) {
|
|
75
75
|
if (t.url) {
|
|
76
76
|
e = t.url;
|
|
77
77
|
break;
|
|
78
78
|
}
|
|
79
|
-
const o =
|
|
79
|
+
const o = ta(t.children || [], e);
|
|
80
80
|
if (o) {
|
|
81
81
|
e = o;
|
|
82
82
|
break;
|
|
@@ -84,7 +84,7 @@ const Yn = (n) => {
|
|
|
84
84
|
}
|
|
85
85
|
return e;
|
|
86
86
|
};
|
|
87
|
-
class
|
|
87
|
+
class na {
|
|
88
88
|
constructor(e = "local") {
|
|
89
89
|
/**
|
|
90
90
|
* 存储实例: 默认为 local
|
|
@@ -117,7 +117,7 @@ class ea {
|
|
|
117
117
|
this.storage.clear();
|
|
118
118
|
}
|
|
119
119
|
}
|
|
120
|
-
const Be = new
|
|
120
|
+
const Be = new na("session"), et = new na("local"), vc = [
|
|
121
121
|
"#0052d9",
|
|
122
122
|
"#0594fa",
|
|
123
123
|
"#00a870",
|
|
@@ -126,7 +126,7 @@ const Be = new ea("session"), et = new ea("local"), mc = [
|
|
|
126
126
|
"#ed7b2f",
|
|
127
127
|
"#ed49b4",
|
|
128
128
|
"#834ec2"
|
|
129
|
-
],
|
|
129
|
+
], gc = [
|
|
130
130
|
"#4582e6",
|
|
131
131
|
"#29a4fb",
|
|
132
132
|
"#03a56f",
|
|
@@ -135,7 +135,7 @@ const Be = new ea("session"), et = new ea("local"), mc = [
|
|
|
135
135
|
"#ea7b84",
|
|
136
136
|
"#f172c5",
|
|
137
137
|
"#ab87d5"
|
|
138
|
-
],
|
|
138
|
+
], oa = {
|
|
139
139
|
DEFAULT: {
|
|
140
140
|
"--td-brand-color": "#0052d9",
|
|
141
141
|
"--td-brand-color-1": "#f2f3ff",
|
|
@@ -240,7 +240,7 @@ const Be = new ea("session"), et = new ea("local"), mc = [
|
|
|
240
240
|
"--td-brand-color-9": "#dda204",
|
|
241
241
|
"--td-brand-color-10": "#603100"
|
|
242
242
|
}
|
|
243
|
-
},
|
|
243
|
+
}, yc = "GView", $l = (n) => {
|
|
244
244
|
const { origin: e, protocol: t } = window.location;
|
|
245
245
|
switch (t) {
|
|
246
246
|
case "http:":
|
|
@@ -249,7 +249,7 @@ const Be = new ea("session"), et = new ea("local"), mc = [
|
|
|
249
249
|
case "https:":
|
|
250
250
|
return `${e.replace(t, "wss:")}${n}`;
|
|
251
251
|
}
|
|
252
|
-
},
|
|
252
|
+
}, Bl = $l("/gview/websocket"), Vn = (n, e = "", t = "") => e ? {
|
|
253
253
|
head: "gonsin",
|
|
254
254
|
cmd: {
|
|
255
255
|
cmd: "gview_client",
|
|
@@ -266,15 +266,15 @@ const Be = new ea("session"), et = new ea("local"), mc = [
|
|
|
266
266
|
subcmd: n,
|
|
267
267
|
response: 0
|
|
268
268
|
}
|
|
269
|
-
},
|
|
270
|
-
function
|
|
269
|
+
}, Pl = 3e4, xl = 3e3, yn = "g-dialog-plugin", Vl = "g-common-dialog", rn = "g-common-form", sn = "g-common-header", Ol = "g-common-table", Ul = "g-board", bc = "g-dialog", Rl = "g-form", Eo = "g-form-item", wc = "g-header", jl = "g-tab", Pt = "g-table", tt = "g-layout", un = "g-uploader", _t = "g-login";
|
|
270
|
+
function zl(n) {
|
|
271
271
|
return n.replace(/([A-Z])/g, "_$1").toUpperCase();
|
|
272
272
|
}
|
|
273
|
-
function
|
|
274
|
-
const t = /^#[A-F\d]{6}$/i.test(n) ? n :
|
|
273
|
+
function aa(n, e) {
|
|
274
|
+
const t = /^#[A-F\d]{6}$/i.test(n) ? n : zl(n);
|
|
275
275
|
return e[t || "DEFAULT"];
|
|
276
276
|
}
|
|
277
|
-
function
|
|
277
|
+
function Gl(n, e) {
|
|
278
278
|
return `
|
|
279
279
|
return function (context) {
|
|
280
280
|
"use strict";
|
|
@@ -283,60 +283,60 @@ function jl(n, e) {
|
|
|
283
283
|
}
|
|
284
284
|
`;
|
|
285
285
|
}
|
|
286
|
-
function
|
|
287
|
-
let t =
|
|
286
|
+
function Hl(n, e) {
|
|
287
|
+
let t = Gl(n, e);
|
|
288
288
|
return Function(t)();
|
|
289
289
|
}
|
|
290
290
|
function qn(n, e = {}) {
|
|
291
|
-
return
|
|
291
|
+
return Hl(n, e)(e);
|
|
292
292
|
}
|
|
293
|
-
function
|
|
293
|
+
function Kl(n) {
|
|
294
294
|
return n === void 0 || n === null || n === "" ? "" : n === 0 ? 0 : n === "0" ? "0" : n;
|
|
295
295
|
}
|
|
296
|
-
window.v =
|
|
297
|
-
const
|
|
296
|
+
window.v = Kl;
|
|
297
|
+
const Wl = Object.prototype.toString;
|
|
298
298
|
function pt(n, e) {
|
|
299
|
-
return
|
|
299
|
+
return Wl.call(n) === `[object ${e}]`;
|
|
300
300
|
}
|
|
301
301
|
function Dt(n) {
|
|
302
302
|
return pt(n, "Function");
|
|
303
303
|
}
|
|
304
|
-
const
|
|
305
|
-
function
|
|
304
|
+
const Yl = (n) => typeof n < "u", la = (n) => !Yl(n), oo = (n) => n !== null && pt(n, "Object");
|
|
305
|
+
function Tc(n) {
|
|
306
306
|
return pt(n, "Date");
|
|
307
307
|
}
|
|
308
|
-
function
|
|
308
|
+
function Cc(n) {
|
|
309
309
|
return pt(n, "Number");
|
|
310
310
|
}
|
|
311
|
-
function
|
|
311
|
+
function kc(n) {
|
|
312
312
|
return pt(n, "AsyncFunction");
|
|
313
313
|
}
|
|
314
|
-
function
|
|
314
|
+
function ql(n) {
|
|
315
315
|
return pt(n, "Promise") && oo(n) && Dt(n.then) && Dt(n.catch);
|
|
316
316
|
}
|
|
317
|
-
function
|
|
317
|
+
function Mc(n) {
|
|
318
318
|
return pt(n, "String");
|
|
319
319
|
}
|
|
320
|
-
function
|
|
320
|
+
function Ql(n) {
|
|
321
321
|
return pt(n, "Boolean");
|
|
322
322
|
}
|
|
323
323
|
function Ct(n) {
|
|
324
324
|
return n && Array.isArray(n);
|
|
325
325
|
}
|
|
326
|
-
const
|
|
327
|
-
function
|
|
326
|
+
const _c = () => typeof window < "u", Ic = (n) => typeof window < "u" && pt(n, "Window"), Lc = (n) => oo(n) && !!n.tagName, Sc = typeof window > "u";
|
|
327
|
+
function lt(n) {
|
|
328
328
|
return n === null;
|
|
329
329
|
}
|
|
330
|
-
function
|
|
331
|
-
return
|
|
330
|
+
function Ao(n) {
|
|
331
|
+
return la(n) && lt(n);
|
|
332
332
|
}
|
|
333
333
|
function We(n) {
|
|
334
|
-
return
|
|
334
|
+
return la(n) || lt(n);
|
|
335
335
|
}
|
|
336
336
|
function wn(n) {
|
|
337
337
|
return We(n) || (n + "").trim() == "";
|
|
338
338
|
}
|
|
339
|
-
function
|
|
339
|
+
function Xl(n) {
|
|
340
340
|
let e = [];
|
|
341
341
|
return e.push({
|
|
342
342
|
colKey: "row-select",
|
|
@@ -360,11 +360,11 @@ function ql(n) {
|
|
|
360
360
|
ellipsis: { props: { theme: "light", showArrow: !1, placement: "bottom" } },
|
|
361
361
|
attrs: {
|
|
362
362
|
style: {
|
|
363
|
-
minWidth: `calc(${
|
|
363
|
+
minWidth: `calc(${Fo(
|
|
364
364
|
t.weight ?? 1,
|
|
365
365
|
a.length + 1
|
|
366
366
|
)} * 100vw - 32px)`,
|
|
367
|
-
width: `calc(${
|
|
367
|
+
width: `calc(${Fo(
|
|
368
368
|
t.weight ?? 1,
|
|
369
369
|
a.length + 1
|
|
370
370
|
)} * 100vw - 32px)`
|
|
@@ -386,18 +386,18 @@ function ql(n) {
|
|
|
386
386
|
}, l.fixed = "right";
|
|
387
387
|
}
|
|
388
388
|
o == n.length - 1 && (l.ellipsis = void 0, l.fixed = "right"), e.push(l);
|
|
389
|
-
}),
|
|
389
|
+
}), e;
|
|
390
390
|
}
|
|
391
|
-
function
|
|
391
|
+
function Zl(n) {
|
|
392
392
|
return n && n.length ? n.map((e) => ({
|
|
393
393
|
colKey: e.keyName !== "" ? e.keyName : e.name,
|
|
394
394
|
title: e.name
|
|
395
395
|
})) : [];
|
|
396
396
|
}
|
|
397
|
-
function
|
|
397
|
+
function Fo(n, e) {
|
|
398
398
|
return n / e;
|
|
399
399
|
}
|
|
400
|
-
function
|
|
400
|
+
function Jl(n, e) {
|
|
401
401
|
if (Object.keys(e).length > 0) {
|
|
402
402
|
let t = `${n}`;
|
|
403
403
|
return Object.keys(e).forEach((o) => {
|
|
@@ -422,11 +422,11 @@ function wt(n, e, t = !0) {
|
|
|
422
422
|
function en(n) {
|
|
423
423
|
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(n);
|
|
424
424
|
}
|
|
425
|
-
function
|
|
425
|
+
function er(n) {
|
|
426
426
|
return n.startsWith("/files") || n.startsWith("/temp") || n.startsWith("/lang");
|
|
427
427
|
}
|
|
428
428
|
const { T: cn } = ke();
|
|
429
|
-
function
|
|
429
|
+
function $o(n, e = "", t = "file") {
|
|
430
430
|
if (n == "") {
|
|
431
431
|
he.info(`${cn.t("未设置下载链接")}`);
|
|
432
432
|
return;
|
|
@@ -482,7 +482,7 @@ function In(n, e) {
|
|
|
482
482
|
}
|
|
483
483
|
}
|
|
484
484
|
}
|
|
485
|
-
function
|
|
485
|
+
function ra(n) {
|
|
486
486
|
const { list: e, keyName: t, valueName: o, titleName: a, parentKey: l, parentKeyName: r } = n, u = (i, d) => {
|
|
487
487
|
const s = [];
|
|
488
488
|
return d.forEach((c) => {
|
|
@@ -499,7 +499,7 @@ function aa(n) {
|
|
|
499
499
|
};
|
|
500
500
|
return u(l, e);
|
|
501
501
|
}
|
|
502
|
-
function
|
|
502
|
+
function tr(n, e) {
|
|
503
503
|
let t = [...e];
|
|
504
504
|
function o(l, r) {
|
|
505
505
|
return l.every((u) => r.includes(u.value));
|
|
@@ -522,14 +522,14 @@ function Rt(n) {
|
|
|
522
522
|
}
|
|
523
523
|
return !1;
|
|
524
524
|
}
|
|
525
|
-
function
|
|
525
|
+
function sa(n, e, t = []) {
|
|
526
526
|
const o = {};
|
|
527
527
|
for (let a in n)
|
|
528
528
|
if (!t.includes(a))
|
|
529
529
|
if (!(a in e))
|
|
530
530
|
je(o, a, n[a]);
|
|
531
531
|
else if (ho(n[a]) && ho(e[a])) {
|
|
532
|
-
const l =
|
|
532
|
+
const l = sa(n[a], e[a]);
|
|
533
533
|
Object.keys(l).length > 0 && je(o, a, l);
|
|
534
534
|
} else
|
|
535
535
|
vo(n[a]) || vo(e[a]) ? go(n[a], e[a]) || je(o, a, n[a]) : go(n[a], e[a]) || je(o, a, n[a]);
|
|
@@ -537,20 +537,20 @@ function la(n, e, t = []) {
|
|
|
537
537
|
t.includes(a) || a in n || je(o, a, e[a]);
|
|
538
538
|
return o;
|
|
539
539
|
}
|
|
540
|
-
const
|
|
540
|
+
const nr = {
|
|
541
541
|
refreshTokenUrl: "/api/base/token/refresh"
|
|
542
542
|
};
|
|
543
|
-
async function
|
|
543
|
+
async function or(n) {
|
|
544
544
|
const e = Be.getItem(Xt), { data: t } = await to.create()({
|
|
545
545
|
method: "POST",
|
|
546
|
-
url: `${
|
|
546
|
+
url: `${nr.refreshTokenUrl}?sessionId=${e}`,
|
|
547
547
|
headers: {
|
|
548
548
|
token: n
|
|
549
549
|
}
|
|
550
550
|
});
|
|
551
551
|
return t;
|
|
552
552
|
}
|
|
553
|
-
const
|
|
553
|
+
const ia = {
|
|
554
554
|
// 设置超时时间(10s)
|
|
555
555
|
timeout: 1e4
|
|
556
556
|
// 跨域时候允许携带凭证
|
|
@@ -558,12 +558,12 @@ const ra = {
|
|
|
558
558
|
// crossDomain: true,
|
|
559
559
|
};
|
|
560
560
|
function Zt(n) {
|
|
561
|
-
return
|
|
561
|
+
return ul(
|
|
562
562
|
"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",
|
|
563
563
|
32
|
|
564
564
|
)(n);
|
|
565
565
|
}
|
|
566
|
-
function
|
|
566
|
+
function ar() {
|
|
567
567
|
const n = sessionStorage.getItem(Xt);
|
|
568
568
|
if ((n ?? "") != "")
|
|
569
569
|
return n;
|
|
@@ -575,15 +575,15 @@ function nr() {
|
|
|
575
575
|
function dn(n, e) {
|
|
576
576
|
return e ? n.indexOf("?") > -1 ? n += "&sessionId=" + e : n += "?sessionId=" + e : n;
|
|
577
577
|
}
|
|
578
|
-
const
|
|
579
|
-
...
|
|
578
|
+
const Dc = {
|
|
579
|
+
...ia
|
|
580
580
|
};
|
|
581
|
-
class
|
|
581
|
+
class lr {
|
|
582
582
|
constructor(e) {
|
|
583
583
|
zt(this, "sessionId");
|
|
584
584
|
zt(this, "service");
|
|
585
585
|
zt(this, "router");
|
|
586
|
-
this.sessionId =
|
|
586
|
+
this.sessionId = ar, this.service = to.create(e), this.router = null, this.service.interceptors.request.use(
|
|
587
587
|
async (t) => {
|
|
588
588
|
const o = Ve();
|
|
589
589
|
o.checkUserToken();
|
|
@@ -663,7 +663,7 @@ class or {
|
|
|
663
663
|
this.router = e;
|
|
664
664
|
}
|
|
665
665
|
}
|
|
666
|
-
const Ze = new
|
|
666
|
+
const Ze = new lr(ia), ua = Ut("column", {
|
|
667
667
|
state: () => ({
|
|
668
668
|
columnDataMap: new Map(
|
|
669
669
|
Object.entries(Be.getItem(ln) || {})
|
|
@@ -701,7 +701,7 @@ const Ze = new or(ra), sa = Ut("column", {
|
|
|
701
701
|
}), Ve = Ut("setting", {
|
|
702
702
|
state: () => ({
|
|
703
703
|
// 登录标志
|
|
704
|
-
isUserLogin: !!Be.getItem(
|
|
704
|
+
isUserLogin: !!Be.getItem(Al) || !1,
|
|
705
705
|
// 加载标志
|
|
706
706
|
isGlobalLoaded: !0,
|
|
707
707
|
// 侧边栏是否显示
|
|
@@ -713,7 +713,7 @@ const Ze = new or(ra), sa = Ut("column", {
|
|
|
713
713
|
isSettingPanelShow: !1,
|
|
714
714
|
// 主题配置
|
|
715
715
|
themeConfig: et.getItem(Io) || {
|
|
716
|
-
...
|
|
716
|
+
...Fl
|
|
717
717
|
},
|
|
718
718
|
// 侧边菜单配置
|
|
719
719
|
sideMenuTree: et.getItem(on) || [],
|
|
@@ -735,13 +735,15 @@ const Ze = new or(ra), sa = Ut("column", {
|
|
|
735
735
|
// 用户token
|
|
736
736
|
token: Be.getItem(So) || "",
|
|
737
737
|
tokenExpiredTime: Be.getItem(Do) || 0,
|
|
738
|
-
isTokenRefreshing: !1
|
|
738
|
+
isTokenRefreshing: !1,
|
|
739
|
+
// 用户权限数据
|
|
740
|
+
userPermission: Be.getItem(No) || []
|
|
739
741
|
}),
|
|
740
742
|
getters: {
|
|
741
743
|
userType: (n) => n.userConfig.userInfo.userType || "",
|
|
742
744
|
userRealName: (n) => n.userConfig.userInfo.realName || "",
|
|
743
745
|
userEdificeKey: (n) => n.userConfig.userInfo.edificeKey || "",
|
|
744
|
-
homeUrl: (n) => (n.userConfig.homeUrl ?? "") != "" ? n.userConfig.homeUrl :
|
|
746
|
+
homeUrl: (n) => (n.userConfig.homeUrl ?? "") != "" ? n.userConfig.homeUrl : ta(n.sideMenuTree),
|
|
745
747
|
logoUrl: (n) => (n.userConfig.logoUrl ?? "") != "" ? n.userConfig.logoUrl : "",
|
|
746
748
|
displayMode: (n) => n.themeConfig.displayMode === "auto" ? window.matchMedia("(prefers-color-scheme:dark)").matches ? "dark" : "light" : n.themeConfig.displayMode,
|
|
747
749
|
userKey: (n) => n.userConfig.userInfo.userKey || ""
|
|
@@ -777,7 +779,7 @@ const Ze = new or(ra), sa = Ut("column", {
|
|
|
777
779
|
});
|
|
778
780
|
},
|
|
779
781
|
setSideMenuConfig(n) {
|
|
780
|
-
const e =
|
|
782
|
+
const e = ea(n);
|
|
781
783
|
this.sideMenuTree = e, et.setItem(on, e);
|
|
782
784
|
},
|
|
783
785
|
setUserConfig(n) {
|
|
@@ -796,7 +798,7 @@ const Ze = new or(ra), sa = Ut("column", {
|
|
|
796
798
|
this.token = n, this.tokenExpiredTime = e, Be.setItem(So, this.token), Be.setItem(Do, this.tokenExpiredTime);
|
|
797
799
|
},
|
|
798
800
|
initUserToken(n) {
|
|
799
|
-
const e = +
|
|
801
|
+
const e = +dt().add(24, "hours");
|
|
800
802
|
this.setUserToken(n, e);
|
|
801
803
|
},
|
|
802
804
|
/**
|
|
@@ -804,10 +806,10 @@ const Ze = new or(ra), sa = Ut("column", {
|
|
|
804
806
|
*/
|
|
805
807
|
async checkUserToken() {
|
|
806
808
|
if (this.token && this.tokenExpiredTime) {
|
|
807
|
-
const n = +
|
|
809
|
+
const n = +dt();
|
|
808
810
|
if (this.tokenExpiredTime - n <= 36e5 && !this.isTokenRefreshing) {
|
|
809
811
|
this.isTokenRefreshing = !0;
|
|
810
|
-
const t = await
|
|
812
|
+
const t = await or(this.token);
|
|
811
813
|
if (t.state == 200) {
|
|
812
814
|
const { token: o, expiredTime: a } = t.data;
|
|
813
815
|
o && a && this.setUserToken(o, a);
|
|
@@ -818,21 +820,26 @@ const Ze = new or(ra), sa = Ut("column", {
|
|
|
818
820
|
}
|
|
819
821
|
},
|
|
820
822
|
setSideMenuTree(n) {
|
|
821
|
-
|
|
822
|
-
|
|
823
|
+
if (n && Array.isArray(n)) {
|
|
824
|
+
const e = bn(n, null, 1);
|
|
825
|
+
this.sideMenuTree = e, et.setItem(on, e);
|
|
826
|
+
}
|
|
827
|
+
},
|
|
828
|
+
setUserPermission(n) {
|
|
829
|
+
n && Array.isArray(n) && (this.userPermission = n, Be.setItem(No, n), console.log("userPermission", this.userPermission));
|
|
823
830
|
},
|
|
824
831
|
/**
|
|
825
832
|
* @description 用户登录后初始化配置
|
|
826
833
|
*/
|
|
827
834
|
async initUserConfig(n) {
|
|
828
|
-
var
|
|
829
|
-
et.setItem(nn, n), this.userConfig = { ...n }, this.initUserToken(((
|
|
835
|
+
var r;
|
|
836
|
+
et.setItem(nn, n), this.userConfig = { ...n }, this.initUserToken(((r = n.userInfo) == null ? void 0 : r.token) ?? "");
|
|
830
837
|
const { userMenu: e } = n;
|
|
831
838
|
this.setSideMenuTree(e);
|
|
832
|
-
const { language: t } = n.userInfo;
|
|
833
|
-
this.initUserLang(t);
|
|
834
|
-
const { listHeaderSetting:
|
|
835
|
-
|
|
839
|
+
const { language: t, permissions: o } = n.userInfo ?? {};
|
|
840
|
+
this.initUserLang(t), this.setUserPermission(o);
|
|
841
|
+
const { listHeaderSetting: a } = n.userInfo;
|
|
842
|
+
ua().initColumnData(a), this.setUserLoginStatus(!0);
|
|
836
843
|
},
|
|
837
844
|
/**
|
|
838
845
|
* @description: 初始化各种变量的值
|
|
@@ -1080,17 +1087,17 @@ const Ze = new or(ra), sa = Ut("column", {
|
|
|
1080
1087
|
*/
|
|
1081
1088
|
initSocket() {
|
|
1082
1089
|
const n = this;
|
|
1083
|
-
this.isSocketLinked = !1, this.socket = new WebSocket(
|
|
1090
|
+
this.isSocketLinked = !1, this.socket = new WebSocket(Bl), this.socket.onopen = function(e) {
|
|
1084
1091
|
let t = Vn("heart");
|
|
1085
1092
|
n.socketInterval = setInterval(function() {
|
|
1086
1093
|
n.socket && n.socket.send(JSON.stringify(t));
|
|
1087
|
-
},
|
|
1094
|
+
}, Pl);
|
|
1088
1095
|
}, this.socket.onclose = function(e) {
|
|
1089
1096
|
console.log("WebSocket 断开连接"), n.socketInterval = null, n.isSocketResetting = !0, n.socket = null, n.socketTimeout = setTimeout(function() {
|
|
1090
1097
|
console.log("WebSocket 重新连接..."), n.isSocketResetting && (n.initSocket(), n.isSocketLinked && (clearTimeout(n.socketTimeout), setTimeout(() => {
|
|
1091
1098
|
window.dispatchEvent(new CustomEvent("onSocketReload"));
|
|
1092
1099
|
}, 2e3)));
|
|
1093
|
-
},
|
|
1100
|
+
}, xl);
|
|
1094
1101
|
}, this.socket.onerror = function(e) {
|
|
1095
1102
|
console.log("Websocket 出现错误", e);
|
|
1096
1103
|
}, this.socket.onmessage = function(e) {
|
|
@@ -1108,12 +1115,12 @@ const Ze = new or(ra), sa = Ut("column", {
|
|
|
1108
1115
|
sendRegisterMessage(n) {
|
|
1109
1116
|
const t = Ve().userEdificeKey ?? "";
|
|
1110
1117
|
let o = Vn("register", n, t);
|
|
1111
|
-
|
|
1118
|
+
Ao(this.socket) || this.socket.send(JSON.stringify(o));
|
|
1112
1119
|
},
|
|
1113
1120
|
sendUnregisterMessage(n) {
|
|
1114
1121
|
const t = Ve().userEdificeKey ?? "";
|
|
1115
1122
|
let o = Vn("unregister", n, t);
|
|
1116
|
-
|
|
1123
|
+
Ao(this.socket) || this.socket.send(JSON.stringify(o));
|
|
1117
1124
|
}
|
|
1118
1125
|
}
|
|
1119
1126
|
}), lo = Ut("props", {
|
|
@@ -1131,10 +1138,10 @@ const Ze = new or(ra), sa = Ut("column", {
|
|
|
1131
1138
|
}), e;
|
|
1132
1139
|
}
|
|
1133
1140
|
}
|
|
1134
|
-
}),
|
|
1141
|
+
}), rr = ["title"], sr = ["title"], ir = ["onClick"], ur = ["title"], cr = ["title"], dr = ["onClick"], mr = ["title"], fr = ["title"], pr = ["title"], hr = ["title"], vr = ["title"], gr = ["title"], yr = /* @__PURE__ */ ue({
|
|
1135
1142
|
__name: "GLayoutHeaderTab",
|
|
1136
1143
|
setup(n) {
|
|
1137
|
-
const { T: e } = ke(), t = `${tt}__layoutHeaderTab`, o = ft(), a =
|
|
1144
|
+
const { T: e } = ke(), t = `${tt}__layoutHeaderTab`, o = ft(), a = st(), l = Y(""), r = kt(), u = Ve(), i = V(() => r.tabMenuList), d = V(() => u.homeUrl), s = V(() => u.displayMode);
|
|
1138
1145
|
function c(k, x, D) {
|
|
1139
1146
|
x.trigger === "document" && (l.value = null), k && (l.value = D);
|
|
1140
1147
|
}
|
|
@@ -1155,7 +1162,7 @@ const Ze = new or(ra), sa = Ut("column", {
|
|
|
1155
1162
|
}
|
|
1156
1163
|
function y(k, x) {
|
|
1157
1164
|
const { path: D } = k;
|
|
1158
|
-
|
|
1165
|
+
qa(() => {
|
|
1159
1166
|
D === "/HomePage" ? o.push({ path: d.value, query: Kt(d.value) }) : o.push({ path: D, query: Kt(D) });
|
|
1160
1167
|
}), u.toggleGlobalReload(), l.value = null;
|
|
1161
1168
|
}
|
|
@@ -1182,7 +1189,7 @@ const Ze = new or(ra), sa = Ut("column", {
|
|
|
1182
1189
|
}
|
|
1183
1190
|
l.value = null;
|
|
1184
1191
|
}
|
|
1185
|
-
const _ = V(() => decodeURIComponent(a.fullPath)), I = Y(null), { width: m } =
|
|
1192
|
+
const _ = V(() => decodeURIComponent(a.fullPath)), I = Y(null), { width: m } = Sl(I, { width: 1e3, height: 64 }), w = V(() => m.value > 0 ? m.value / 140 : 5), M = V(
|
|
1186
1193
|
() => w.value > 0 ? i.value.slice(0, w.value) : i.value.slice(0)
|
|
1187
1194
|
), U = V(
|
|
1188
1195
|
() => w.value > 0 ? i.value.slice(w.value) : []
|
|
@@ -1282,10 +1289,10 @@ const Ze = new or(ra), sa = Ut("column", {
|
|
|
1282
1289
|
H.isHome ? (v(), W("span", {
|
|
1283
1290
|
key: 0,
|
|
1284
1291
|
title: h(e).t("首页")
|
|
1285
|
-
}, te(h(e).t("首页")), 9,
|
|
1292
|
+
}, te(h(e).t("首页")), 9, rr)) : (v(), W("span", {
|
|
1286
1293
|
key: 1,
|
|
1287
1294
|
title: H.title
|
|
1288
|
-
}, te(H.title), 9,
|
|
1295
|
+
}, te(H.title), 9, sr)),
|
|
1289
1296
|
H.isHome ? X("", !0) : (v(), W("div", {
|
|
1290
1297
|
key: 2,
|
|
1291
1298
|
class: "menu-item--close-button",
|
|
@@ -1298,7 +1305,7 @@ const Ze = new or(ra), sa = Ut("column", {
|
|
|
1298
1305
|
)
|
|
1299
1306
|
}, [
|
|
1300
1307
|
F(h(xt), { size: "16px" })
|
|
1301
|
-
], 8,
|
|
1308
|
+
], 8, ir))
|
|
1302
1309
|
]),
|
|
1303
1310
|
_: 2
|
|
1304
1311
|
}, 1032, ["value"])
|
|
@@ -1317,7 +1324,7 @@ const Ze = new or(ra), sa = Ut("column", {
|
|
|
1317
1324
|
value: P.value.includes(_.value) ? _.value : ""
|
|
1318
1325
|
}, {
|
|
1319
1326
|
title: C(() => [
|
|
1320
|
-
F(h(
|
|
1327
|
+
F(h(cl))
|
|
1321
1328
|
]),
|
|
1322
1329
|
default: C(() => [
|
|
1323
1330
|
(v(!0), W(de, null, Se(U.value, (H, ae) => (v(), $(B, {
|
|
@@ -1341,7 +1348,7 @@ const Ze = new or(ra), sa = Ut("column", {
|
|
|
1341
1348
|
}, [
|
|
1342
1349
|
F(h(Hn)),
|
|
1343
1350
|
re(" " + te(h(e).t("刷新")), 1)
|
|
1344
|
-
], 8,
|
|
1351
|
+
], 8, mr)
|
|
1345
1352
|
]),
|
|
1346
1353
|
_: 2
|
|
1347
1354
|
}, 1032, ["onClick"]),
|
|
@@ -1358,7 +1365,7 @@ const Ze = new or(ra), sa = Ut("column", {
|
|
|
1358
1365
|
}, [
|
|
1359
1366
|
F(h(xt)),
|
|
1360
1367
|
re(" " + te(h(e).t("关闭")), 1)
|
|
1361
|
-
], 8,
|
|
1368
|
+
], 8, fr)
|
|
1362
1369
|
]),
|
|
1363
1370
|
_: 2
|
|
1364
1371
|
}, 1032, ["onClick"])),
|
|
@@ -1375,7 +1382,7 @@ const Ze = new or(ra), sa = Ut("column", {
|
|
|
1375
1382
|
}, [
|
|
1376
1383
|
F(h(yo)),
|
|
1377
1384
|
re(" " + te(h(e).t("关闭左侧")), 1)
|
|
1378
|
-
], 8,
|
|
1385
|
+
], 8, pr)
|
|
1379
1386
|
]),
|
|
1380
1387
|
_: 2
|
|
1381
1388
|
}, 1032, ["onClick"])) : X("", !0),
|
|
@@ -1392,7 +1399,7 @@ const Ze = new or(ra), sa = Ut("column", {
|
|
|
1392
1399
|
}, [
|
|
1393
1400
|
F(h(bo)),
|
|
1394
1401
|
re(" " + te(h(e).t("关闭右侧")), 1)
|
|
1395
|
-
], 8,
|
|
1402
|
+
], 8, hr)
|
|
1396
1403
|
]),
|
|
1397
1404
|
_: 2
|
|
1398
1405
|
}, 1032, ["onClick"])) : X("", !0),
|
|
@@ -1409,7 +1416,7 @@ const Ze = new or(ra), sa = Ut("column", {
|
|
|
1409
1416
|
}, [
|
|
1410
1417
|
F(h(wo)),
|
|
1411
1418
|
re(" " + te(h(e).t("关闭其他")), 1)
|
|
1412
|
-
], 8,
|
|
1419
|
+
], 8, vr)
|
|
1413
1420
|
]),
|
|
1414
1421
|
_: 2
|
|
1415
1422
|
}, 1032, ["onClick"])) : X("", !0)
|
|
@@ -1425,10 +1432,10 @@ const Ze = new or(ra), sa = Ut("column", {
|
|
|
1425
1432
|
H.isHome ? (v(), W("span", {
|
|
1426
1433
|
key: 0,
|
|
1427
1434
|
title: h(e).t("首页")
|
|
1428
|
-
}, te(h(e).t("首页")), 9,
|
|
1435
|
+
}, te(h(e).t("首页")), 9, ur)) : (v(), W("span", {
|
|
1429
1436
|
key: 1,
|
|
1430
1437
|
title: H.title
|
|
1431
|
-
}, te(H.title), 9,
|
|
1438
|
+
}, te(H.title), 9, cr)),
|
|
1432
1439
|
ne("div", {
|
|
1433
1440
|
class: "menu-item--close-button",
|
|
1434
1441
|
onClick: Vt(
|
|
@@ -1440,7 +1447,7 @@ const Ze = new or(ra), sa = Ut("column", {
|
|
|
1440
1447
|
)
|
|
1441
1448
|
}, [
|
|
1442
1449
|
F(h(xt), { size: "16px" })
|
|
1443
|
-
], 8,
|
|
1450
|
+
], 8, dr)
|
|
1444
1451
|
]),
|
|
1445
1452
|
_: 2
|
|
1446
1453
|
}, 1032, ["value"])
|
|
@@ -1458,9 +1465,9 @@ const Ze = new or(ra), sa = Ut("column", {
|
|
|
1458
1465
|
ne("span", {
|
|
1459
1466
|
title: h(e).t("全部清空")
|
|
1460
1467
|
}, [
|
|
1461
|
-
F(h(
|
|
1468
|
+
F(h(dl)),
|
|
1462
1469
|
re(" " + te(h(e).t("全部清空")), 1)
|
|
1463
|
-
], 8,
|
|
1470
|
+
], 8, gr)
|
|
1464
1471
|
]),
|
|
1465
1472
|
_: 1
|
|
1466
1473
|
})
|
|
@@ -1473,51 +1480,51 @@ const Ze = new or(ra), sa = Ut("column", {
|
|
|
1473
1480
|
};
|
|
1474
1481
|
}
|
|
1475
1482
|
});
|
|
1476
|
-
const Ft = Symbol("PropsModel"), Qn = Symbol("ConfigProvider"), Sn = Symbol("formItemComponentProps"), ia = Symbol("viewTitle"), gr = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAToAAAAyCAYAAADMZheFAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAhdEVYdENyZWF0aW9uIFRpbWUAMjAyMjoxMTozMCAwODo0NDo0MviriswAACO4SURBVHhe7Z0JeFzFle+r6t5utSRvLLYx2JZaltQteQFjlpiEZ/wGskEmYRIYSL5MGGaBmSHMJEzCkrBNCBBIhkcSQhKYEIb5eElMMgmZELJiVhOCwau6W7tkgW2Mdy293Fvn/atVJpbVfW/dVsvW+77+2a2+VX37di2nTp3aWYUKFSpUqFChQoUKFSpUqFChQoUKFSpUqFChQoUKFSpUmABcvx81CL+5tbU1lN67166dMcOigzxcVWXb2XDOslxXZIgmLUwR/OM0kmns7n5Le00YxEd0NDaGsuFwyHaciOWGqinLwlLkQiJkC5bV9/Ec2cJyhy3HZURZlyhTFQqNRNLp3B/7+nKXMuaO3ll+Xp23oiZSPXIi8QyCa4ZKq9yIO9z6ZnK39powz6xaZZ848PY8xtLapzBORsjlAx1vaOeEeHXFihB7k4VY9d7QbKdWjEQyVjYXtma4jshUuYJD3iZT5hQqLQecwV2r+/q8Iw7658+vzlTNPDHtk0YK9dz9w5HdZ2xfP6y9CpKIxabbjj3L5JmHUM8eyYnBZf2b92qvCWMaDsk5LevsfBOZIrXXhDkqiu6pxsaqxpy93OFsKRe8hUvZjBIX5ZzVQsZsxMuCJhBKCeL2SQ2TJejzzd2pR7SzJFQ4Ewvjy4XFlxOx5ZzLpfBaiI/CcIcRLxvKzEbxEYhMXrmoP5y4JE5QdNxBnHPwycB7JzHaRIxvZIK9ti8za8M5Ay+PqO+Ui7b6pk8hKF9TIdBepiQ2n7l09aVr1pRFCW9tajlb5Oh/tNOLN+O9yeWlCvqGZctqI4PpsyUTZwnJViAfWpEf0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CBRpLoRuITcuihsOeRbDvk3gg93QPGux/XvQyL3cmN3d0lNt1Q0fiN+4FYlwNqrOAiITfT+pr7UWu1TkER97H3Ig59qpyeI56fjPUnfsyFM2BJtOstiAi0hj3zKr5mnfVBMP4ICu7MuwHGooxOIxT/j++p8EhhofATlZ0162Pn26Tu8D+JSlFXhHAK5Jra2ttqW61Zlcrlqi1dXsWwmDLPeFiSFY9vCd7uBALiO68J83b8zOnfXZJ0ipEC8OFuxwv7D/v3VMzPWNIu51ajOqlAGwkzY06Ft4YZCR45ALskmdjBL7n61EWmYWyOOnRtW6xQXDKzMFjqCsRyo6RfCkieqWkV7FcRx5JDXtIdSSNTF6sni0/x++xA5mB6Si/Tirja1VX3BLhC1RZB0xEmmzywHpNQZ9BrCJiGzrptz3BFJ2eoanpl+8ODw9pNPzq1Yv94ZVYilk19pY7MTTOKm0mpadrDLb/mX2uXXsbNm3Rc8t83LogoCIiAS0XhjSBQegVU1fZjxTCbD9iweaNtbStqp31AbVhwYmmmtOBnGaxnyoEKFChUqVKhQoUKFChUqVKhQoUKFChUqVKhQoQww9v8ADoTZZnPdorgAAAAASUVORK5CYII=", yr = {
|
|
1483
|
+
const Ft = Symbol("PropsModel"), Qn = Symbol("ConfigProvider"), Sn = Symbol("formItemComponentProps"), ca = Symbol("viewTitle"), br = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAToAAAAyCAYAAADMZheFAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAhdEVYdENyZWF0aW9uIFRpbWUAMjAyMjoxMTozMCAwODo0NDo0MviriswAACO4SURBVHhe7Z0JeFzFle+r6t5utSRvLLYx2JZaltQteQFjlpiEZ/wGskEmYRIYSL5MGGaBmSHMJEzCkrBNCBBIhkcSQhKYEIb5eElMMgmZELJiVhOCwau6W7tkgW2Mdy293Fvn/atVJpbVfW/dVsvW+77+2a2+VX37di2nTp3aWYUKFSpUqFChQoUKFSpUq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8ODw9pNPzq1Yv94ZVYilk19pY7MTTOKm0mpadrDLb/mX2uXXsbNm3Rc8t83LogoCIiAS0XhjSBQegVU1fZjxTCbD9iweaNtbStqp31AbVhwYmmmtOBnGaxnyoEKFChUqVKhQoUKFChUqVKhQoUKFChUqVKhQoQww9v8ADoTZZnPdorgAAAAASUVORK5CYII=", wr = {
|
|
1477
1484
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1478
1485
|
width: "24",
|
|
1479
1486
|
height: "24",
|
|
1480
1487
|
fill: "none",
|
|
1481
1488
|
viewBox: "0 0 48 48"
|
|
1482
|
-
},
|
|
1489
|
+
}, Tr = /* @__PURE__ */ ne("path", {
|
|
1483
1490
|
fill: "currentColor",
|
|
1484
1491
|
stroke: "currentColor",
|
|
1485
1492
|
"stroke-linecap": "square",
|
|
1486
1493
|
"stroke-linejoin": "round",
|
|
1487
1494
|
"stroke-width": "4",
|
|
1488
1495
|
d: "M24 20a7 7 0 1 0 0-14 7 7 0 0 0 0 14ZM6 40.8V42h36v-1.2c0-4.48 0-6.72-.872-8.432a8 8 0 0 0-3.496-3.496C35.92 28 33.68 28 29.2 28H18.8c-4.48 0-6.72 0-8.432.872a8 8 0 0 0-3.496 3.496C6 34.08 6 36.32 6 40.8Z"
|
|
1489
|
-
}, null, -1),
|
|
1490
|
-
|
|
1496
|
+
}, null, -1), Cr = [
|
|
1497
|
+
Tr
|
|
1491
1498
|
];
|
|
1492
|
-
function
|
|
1493
|
-
return v(), W("svg",
|
|
1499
|
+
function kr(n, e) {
|
|
1500
|
+
return v(), W("svg", wr, [...Cr]);
|
|
1494
1501
|
}
|
|
1495
|
-
const
|
|
1502
|
+
const Mr = { render: kr }, _r = {
|
|
1496
1503
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1497
1504
|
width: "24",
|
|
1498
1505
|
height: "24",
|
|
1499
1506
|
fill: "none",
|
|
1500
1507
|
viewBox: "0 0 48 48"
|
|
1501
|
-
},
|
|
1508
|
+
}, Ir = /* @__PURE__ */ ne("path", {
|
|
1502
1509
|
fill: "currentColor",
|
|
1503
1510
|
stroke: "currentColor",
|
|
1504
1511
|
"stroke-linejoin": "round",
|
|
1505
1512
|
"stroke-width": "4",
|
|
1506
1513
|
d: "m34 41 10-17L34 7H14L4 24l10 17h20Z"
|
|
1507
|
-
}, null, -1),
|
|
1514
|
+
}, null, -1), Lr = /* @__PURE__ */ ne("path", {
|
|
1508
1515
|
fill: "var(--td-bg-color-container)",
|
|
1509
1516
|
stroke: "var(--td-bg-color-container)",
|
|
1510
1517
|
"stroke-linejoin": "round",
|
|
1511
1518
|
"stroke-width": "4",
|
|
1512
1519
|
d: "M24 29a5 5 0 1 0 0-10 5 5 0 0 0 0 10Z"
|
|
1513
|
-
}, null, -1),
|
|
1514
|
-
|
|
1515
|
-
|
|
1520
|
+
}, null, -1), Sr = [
|
|
1521
|
+
Ir,
|
|
1522
|
+
Lr
|
|
1516
1523
|
];
|
|
1517
|
-
function
|
|
1518
|
-
return v(), W("svg",
|
|
1524
|
+
function Dr(n, e) {
|
|
1525
|
+
return v(), W("svg", _r, [...Sr]);
|
|
1519
1526
|
}
|
|
1520
|
-
const
|
|
1527
|
+
const da = { render: Dr }, Nr = { class: "username" }, Er = /* @__PURE__ */ ue({
|
|
1521
1528
|
__name: "GLayoutHeader",
|
|
1522
1529
|
setup(n) {
|
|
1523
1530
|
const { T: e } = ke(), t = `${tt}__header`, o = ft(), a = Ve(), l = ze(Qn, null), r = l == null ? void 0 : l.GLayoutHeaderOperationsRef, u = l == null ? void 0 : l.GLayoutHeaderConfigRef, i = l == null ? void 0 : l.SideMenuConfigRef, d = V(() => a.userType), s = V(() => {
|
|
@@ -1530,7 +1537,7 @@ const ua = { render: Lr }, Sr = { class: "username" }, Dr = /* @__PURE__ */ ue({
|
|
|
1530
1537
|
return e.t("管理员");
|
|
1531
1538
|
}
|
|
1532
1539
|
return a.userRealName;
|
|
1533
|
-
}), c = V(() => a.displayMode), f = V(() => a.logoUrl), p = V(() => (f.value ?? "") != "" ? { backgroundImage: `url(${f.value})` } : { backgroundImage: `url(${
|
|
1540
|
+
}), c = V(() => a.displayMode), f = V(() => a.logoUrl), p = V(() => (f.value ?? "") != "" ? { backgroundImage: `url(${f.value})` } : { backgroundImage: `url(${br})` }), y = V(() => a.isSideMenuCollapse);
|
|
1534
1541
|
function N() {
|
|
1535
1542
|
a.toggleSideMenuCollapse(), a.isSideHoverMenuShow && (a.isSideHoverMenuShow = !1);
|
|
1536
1543
|
}
|
|
@@ -1584,7 +1591,7 @@ const ua = { render: Lr }, Sr = { class: "username" }, Dr = /* @__PURE__ */ ue({
|
|
|
1584
1591
|
y.value ? (v(), $(h(xt), {
|
|
1585
1592
|
key: 1,
|
|
1586
1593
|
size: "large"
|
|
1587
|
-
})) : (v(), $(h(
|
|
1594
|
+
})) : (v(), $(h(ml), {
|
|
1588
1595
|
key: 0,
|
|
1589
1596
|
size: "large"
|
|
1590
1597
|
}))
|
|
@@ -1704,7 +1711,7 @@ const ua = { render: Lr }, Sr = { class: "username" }, Dr = /* @__PURE__ */ ue({
|
|
|
1704
1711
|
title: h(e).t("退出登录")
|
|
1705
1712
|
}, {
|
|
1706
1713
|
default: C(() => [
|
|
1707
|
-
F(h(
|
|
1714
|
+
F(h(fl)),
|
|
1708
1715
|
re(" " + te(h(e).t("退出登录")), 1)
|
|
1709
1716
|
]),
|
|
1710
1717
|
_: 1
|
|
@@ -1721,15 +1728,15 @@ const ua = { render: Lr }, Sr = { class: "username" }, Dr = /* @__PURE__ */ ue({
|
|
|
1721
1728
|
title: s.value
|
|
1722
1729
|
}, {
|
|
1723
1730
|
icon: C(() => [
|
|
1724
|
-
F(h(
|
|
1731
|
+
F(h(Mr), {
|
|
1725
1732
|
class: Z(`${t}--operations-icon`)
|
|
1726
1733
|
}, null, 8, ["class"])
|
|
1727
1734
|
]),
|
|
1728
1735
|
suffix: C(() => [
|
|
1729
|
-
F(h(
|
|
1736
|
+
F(h(pl), { size: "20" })
|
|
1730
1737
|
]),
|
|
1731
1738
|
default: C(() => [
|
|
1732
|
-
ne("span",
|
|
1739
|
+
ne("span", Nr, te(s.value), 1)
|
|
1733
1740
|
]),
|
|
1734
1741
|
_: 1
|
|
1735
1742
|
}, 8, ["title"])
|
|
@@ -1743,7 +1750,7 @@ const ua = { render: Lr }, Sr = { class: "username" }, Dr = /* @__PURE__ */ ue({
|
|
|
1743
1750
|
onClick: j
|
|
1744
1751
|
}, {
|
|
1745
1752
|
default: C(() => [
|
|
1746
|
-
F(h(
|
|
1753
|
+
F(h(da), {
|
|
1747
1754
|
style: {
|
|
1748
1755
|
marginRight: "5px",
|
|
1749
1756
|
width: "20px",
|
|
@@ -1759,7 +1766,7 @@ const ua = { render: Lr }, Sr = { class: "username" }, Dr = /* @__PURE__ */ ue({
|
|
|
1759
1766
|
];
|
|
1760
1767
|
}),
|
|
1761
1768
|
default: C(() => [
|
|
1762
|
-
F(
|
|
1769
|
+
F(yr)
|
|
1763
1770
|
]),
|
|
1764
1771
|
_: 1
|
|
1765
1772
|
}, 8, ["theme"])
|
|
@@ -1768,7 +1775,7 @@ const ua = { render: Lr }, Sr = { class: "username" }, Dr = /* @__PURE__ */ ue({
|
|
|
1768
1775
|
});
|
|
1769
1776
|
};
|
|
1770
1777
|
}
|
|
1771
|
-
}),
|
|
1778
|
+
}), Ar = /* @__PURE__ */ ue({
|
|
1772
1779
|
__name: "GLayoutContent",
|
|
1773
1780
|
setup(n) {
|
|
1774
1781
|
const e = Ve(), t = V(() => e.isSideMenuCollapse);
|
|
@@ -1794,16 +1801,16 @@ const ua = { render: Lr }, Sr = { class: "username" }, Dr = /* @__PURE__ */ ue({
|
|
|
1794
1801
|
}, 8, ["class"]);
|
|
1795
1802
|
};
|
|
1796
1803
|
}
|
|
1797
|
-
}),
|
|
1804
|
+
}), Fr = ["title"], Mt = /* @__PURE__ */ ue({
|
|
1798
1805
|
__name: "GLayoutSideMenuTitle",
|
|
1799
1806
|
props: {
|
|
1800
1807
|
item: {}
|
|
1801
1808
|
},
|
|
1802
1809
|
setup(n) {
|
|
1803
1810
|
const { T: e, i18n: t } = ke(), o = V(() => t.global.locale.value.toLowerCase() === "zh-cn"), a = n, l = V(() => a.item.translateTitle && a.item.translateTitle !== void 0 && a.item.translateTitle !== "" ? a.item.translateTitle : a.item.title), r = V(() => o.value ? a.item.title : l.value ?? "");
|
|
1804
|
-
return (u, i) => (v(), W("span", { title: r.value }, te(r.value), 9,
|
|
1811
|
+
return (u, i) => (v(), W("span", { title: r.value }, te(r.value), 9, Fr));
|
|
1805
1812
|
}
|
|
1806
|
-
}),
|
|
1813
|
+
}), $r = /* @__PURE__ */ ue({
|
|
1807
1814
|
__name: "GLayoutSideMenuContent",
|
|
1808
1815
|
props: {
|
|
1809
1816
|
sideMenuTree: {}
|
|
@@ -1887,12 +1894,12 @@ const ua = { render: Lr }, Sr = { class: "username" }, Dr = /* @__PURE__ */ ue({
|
|
|
1887
1894
|
], 2))), 128);
|
|
1888
1895
|
};
|
|
1889
1896
|
}
|
|
1890
|
-
}),
|
|
1897
|
+
}), Br = /* @__PURE__ */ ue({
|
|
1891
1898
|
__name: "GLayoutSideMenu",
|
|
1892
1899
|
setup(n) {
|
|
1893
1900
|
const e = `${tt}__side-menu`;
|
|
1894
1901
|
ft();
|
|
1895
|
-
const t =
|
|
1902
|
+
const t = st(), o = Ve(), a = V(() => o.sideMenuTree), l = V(() => o.displayMode), r = V({
|
|
1896
1903
|
get() {
|
|
1897
1904
|
return o.isSideMenuCollapse;
|
|
1898
1905
|
},
|
|
@@ -1902,7 +1909,7 @@ const ua = { render: Lr }, Sr = { class: "username" }, Dr = /* @__PURE__ */ ue({
|
|
|
1902
1909
|
}), u = V(() => {
|
|
1903
1910
|
const s = t.fullPath.split("/").length;
|
|
1904
1911
|
return t.fullPath.split("/")[s - 1];
|
|
1905
|
-
}), { sideMenuExpanded: i, sideMenuScrollTop: d } =
|
|
1912
|
+
}), { sideMenuExpanded: i, sideMenuScrollTop: d } = ol(o);
|
|
1906
1913
|
return Ue(() => {
|
|
1907
1914
|
const s = document.querySelector(".t-menu--scroll");
|
|
1908
1915
|
s && d.value && (s.scrollTop = d.value);
|
|
@@ -1929,10 +1936,10 @@ const ua = { render: Lr }, Sr = { class: "username" }, Dr = /* @__PURE__ */ ue({
|
|
|
1929
1936
|
theme: l.value,
|
|
1930
1937
|
value: u.value,
|
|
1931
1938
|
expanded: h(i),
|
|
1932
|
-
"onUpdate:expanded": c[0] || (c[0] = (y) =>
|
|
1939
|
+
"onUpdate:expanded": c[0] || (c[0] = (y) => Qa(i) ? i.value = y : null)
|
|
1933
1940
|
}, {
|
|
1934
1941
|
default: C(() => [
|
|
1935
|
-
F(
|
|
1942
|
+
F($r, { sideMenuTree: a.value }, null, 8, ["sideMenuTree"])
|
|
1936
1943
|
]),
|
|
1937
1944
|
_: 1
|
|
1938
1945
|
}, 8, ["theme", "value", "expanded"])
|
|
@@ -1941,7 +1948,7 @@ const ua = { render: Lr }, Sr = { class: "username" }, Dr = /* @__PURE__ */ ue({
|
|
|
1941
1948
|
}, 8, ["class", "visible"]);
|
|
1942
1949
|
};
|
|
1943
1950
|
}
|
|
1944
|
-
}),
|
|
1951
|
+
}), Pr = /* @__PURE__ */ ue({
|
|
1945
1952
|
__name: "GLayoutSettingPanel",
|
|
1946
1953
|
setup(n) {
|
|
1947
1954
|
const { T: e } = ke(), t = `${tt}__settingPanel`, o = Ve(), a = [
|
|
@@ -1968,7 +1975,7 @@ const ua = { render: Lr }, Sr = { class: "username" }, Dr = /* @__PURE__ */ ue({
|
|
|
1968
1975
|
}), i = () => {
|
|
1969
1976
|
o.changeTheme(r.value);
|
|
1970
1977
|
}, d = (s) => ({
|
|
1971
|
-
background:
|
|
1978
|
+
background: aa(s, oa)["--td-brand-color"]
|
|
1972
1979
|
});
|
|
1973
1980
|
return (s, c) => {
|
|
1974
1981
|
const f = Q("t-radio-button"), p = Q("t-radio-group"), y = Q("t-drawer");
|
|
@@ -1980,7 +1987,7 @@ const ua = { render: Lr }, Sr = { class: "username" }, Dr = /* @__PURE__ */ ue({
|
|
|
1980
1987
|
footer: !1
|
|
1981
1988
|
}, {
|
|
1982
1989
|
header: C(() => [
|
|
1983
|
-
F(h(
|
|
1990
|
+
F(h(da), { style: {
|
|
1984
1991
|
marginRight: "5px",
|
|
1985
1992
|
width: "20px",
|
|
1986
1993
|
height: "20px"
|
|
@@ -2053,9 +2060,9 @@ const ua = { render: Lr }, Sr = { class: "username" }, Dr = /* @__PURE__ */ ue({
|
|
|
2053
2060
|
for (const [o, a] of e)
|
|
2054
2061
|
t[o] = a;
|
|
2055
2062
|
return t;
|
|
2056
|
-
},
|
|
2057
|
-
function
|
|
2058
|
-
return v(), $(
|
|
2063
|
+
}, xr = {};
|
|
2064
|
+
function Vr(n, e) {
|
|
2065
|
+
return v(), $(Xa, {
|
|
2059
2066
|
name: "scale",
|
|
2060
2067
|
mode: "out-in",
|
|
2061
2068
|
appear: ""
|
|
@@ -2066,12 +2073,12 @@ function Pr(n, e) {
|
|
|
2066
2073
|
_: 3
|
|
2067
2074
|
});
|
|
2068
2075
|
}
|
|
2069
|
-
const
|
|
2076
|
+
const Or = /* @__PURE__ */ ht(xr, [["render", Vr]]), Ur = /* @__PURE__ */ ue({
|
|
2070
2077
|
__name: "GLayoutSideHoverMenu",
|
|
2071
2078
|
setup(n) {
|
|
2072
2079
|
const { T: e, i18n: t } = ke();
|
|
2073
2080
|
V(() => t.global.locale.value.toLowerCase() === "zh-cn");
|
|
2074
|
-
const o = `${tt}__side-hover-menu`, a = `${tt}__side-hover-menu-content`, l = ft(), r =
|
|
2081
|
+
const o = `${tt}__side-hover-menu`, a = `${tt}__side-hover-menu-content`, l = ft(), r = st(), u = Ve(), i = V(() => u.sideMenuTree), d = V(() => u.displayMode), s = V({
|
|
2075
2082
|
get: () => u.isSideHoverMenuShow,
|
|
2076
2083
|
set: (g) => u.isSideHoverMenuShow = g
|
|
2077
2084
|
}), c = V(() => {
|
|
@@ -2411,7 +2418,7 @@ const xr = /* @__PURE__ */ ht(Br, [["render", Pr]]), Vr = /* @__PURE__ */ ue({
|
|
|
2411
2418
|
};
|
|
2412
2419
|
}
|
|
2413
2420
|
});
|
|
2414
|
-
const
|
|
2421
|
+
const Rr = /* @__PURE__ */ ue({
|
|
2415
2422
|
__name: "GLayoutMain",
|
|
2416
2423
|
props: {
|
|
2417
2424
|
title: {}
|
|
@@ -2426,12 +2433,12 @@ const Or = /* @__PURE__ */ ue({
|
|
|
2426
2433
|
}, [
|
|
2427
2434
|
F(u, null, {
|
|
2428
2435
|
default: C(() => [
|
|
2429
|
-
F(
|
|
2436
|
+
F(Er),
|
|
2430
2437
|
F(r, null, {
|
|
2431
2438
|
default: C(() => [
|
|
2432
|
-
F(
|
|
2439
|
+
F(Ar, null, {
|
|
2433
2440
|
default: C(() => [
|
|
2434
|
-
F(
|
|
2441
|
+
F(Or, null, {
|
|
2435
2442
|
default: C(() => [
|
|
2436
2443
|
(v(), $(l, {
|
|
2437
2444
|
key: `${o.title}}`,
|
|
@@ -2456,14 +2463,14 @@ const Or = /* @__PURE__ */ ue({
|
|
|
2456
2463
|
]),
|
|
2457
2464
|
_: 3
|
|
2458
2465
|
}),
|
|
2459
|
-
F(
|
|
2460
|
-
F(
|
|
2466
|
+
F(Br),
|
|
2467
|
+
F(Pr)
|
|
2461
2468
|
], 2),
|
|
2462
|
-
F(
|
|
2469
|
+
F(Ur)
|
|
2463
2470
|
], 64);
|
|
2464
2471
|
};
|
|
2465
2472
|
}
|
|
2466
|
-
}),
|
|
2473
|
+
}), jr = /* @__PURE__ */ ue({
|
|
2467
2474
|
__name: "GLayout",
|
|
2468
2475
|
props: {
|
|
2469
2476
|
title: {}
|
|
@@ -2472,7 +2479,7 @@ const Or = /* @__PURE__ */ ue({
|
|
|
2472
2479
|
const e = Ve();
|
|
2473
2480
|
return Ue(() => {
|
|
2474
2481
|
e.loadLocalThemeConfig();
|
|
2475
|
-
}), (t, o) => (v(), $(
|
|
2482
|
+
}), (t, o) => (v(), $(Rr, { title: t.title }, {
|
|
2476
2483
|
default: C(() => [
|
|
2477
2484
|
Ke(t.$slots, "default")
|
|
2478
2485
|
]),
|
|
@@ -2480,7 +2487,7 @@ const Or = /* @__PURE__ */ ue({
|
|
|
2480
2487
|
}, 8, ["title"]));
|
|
2481
2488
|
}
|
|
2482
2489
|
});
|
|
2483
|
-
const
|
|
2490
|
+
const ma = Ye(jr), fa = /* @__PURE__ */ ue({
|
|
2484
2491
|
__name: "GCommonDialog",
|
|
2485
2492
|
props: {
|
|
2486
2493
|
commonDialogProps: {}
|
|
@@ -2489,7 +2496,7 @@ const ca = Ye(Ur), da = /* @__PURE__ */ ue({
|
|
|
2489
2496
|
return (e, t) => {
|
|
2490
2497
|
const o = Q("t-dialog");
|
|
2491
2498
|
return v(), $(o, Ee({
|
|
2492
|
-
class: h(
|
|
2499
|
+
class: h(Vl),
|
|
2493
2500
|
placement: "center"
|
|
2494
2501
|
}, e.commonDialogProps), qt({ _: 2 }, [
|
|
2495
2502
|
Se(e.$slots, (a, l) => ({
|
|
@@ -2502,7 +2509,7 @@ const ca = Ye(Ur), da = /* @__PURE__ */ ue({
|
|
|
2502
2509
|
};
|
|
2503
2510
|
}
|
|
2504
2511
|
});
|
|
2505
|
-
const
|
|
2512
|
+
const pa = Ye(fa), zr = /* @__PURE__ */ ue({
|
|
2506
2513
|
__name: "GCommonForm",
|
|
2507
2514
|
props: {
|
|
2508
2515
|
commonFormProps: {}
|
|
@@ -2540,7 +2547,7 @@ const ma = Ye(da), Rr = /* @__PURE__ */ ue({
|
|
|
2540
2547
|
};
|
|
2541
2548
|
}
|
|
2542
2549
|
});
|
|
2543
|
-
const ro = Ye(
|
|
2550
|
+
const ro = Ye(zr), Gr = /* @__PURE__ */ ue({
|
|
2544
2551
|
__name: "GCommonHeader",
|
|
2545
2552
|
setup(n) {
|
|
2546
2553
|
return (e, t) => {
|
|
@@ -2574,7 +2581,7 @@ const ro = Ye(Rr), jr = /* @__PURE__ */ ue({
|
|
|
2574
2581
|
};
|
|
2575
2582
|
}
|
|
2576
2583
|
});
|
|
2577
|
-
const
|
|
2584
|
+
const Hr = Ye(Gr), Kr = /* @__PURE__ */ ue({
|
|
2578
2585
|
__name: "GCommonTable",
|
|
2579
2586
|
props: {
|
|
2580
2587
|
tableType: { default: "primary" },
|
|
@@ -2596,7 +2603,7 @@ const zr = Ye(jr), Gr = /* @__PURE__ */ ue({
|
|
|
2596
2603
|
return (a, l) => {
|
|
2597
2604
|
const r = Q("t-table"), u = Q("t-primary-table"), i = Q("t-enhanced-table");
|
|
2598
2605
|
return v(), W("div", {
|
|
2599
|
-
class: Z(`${h(
|
|
2606
|
+
class: Z(`${h(Ol)}`)
|
|
2600
2607
|
}, [
|
|
2601
2608
|
a.tableType === "base" ? (v(), $(r, Ee({
|
|
2602
2609
|
key: 0,
|
|
@@ -2636,7 +2643,7 @@ const zr = Ye(jr), Gr = /* @__PURE__ */ ue({
|
|
|
2636
2643
|
};
|
|
2637
2644
|
}
|
|
2638
2645
|
});
|
|
2639
|
-
const
|
|
2646
|
+
const ha = Ye(Kr), On = () => {
|
|
2640
2647
|
}, Tn = {
|
|
2641
2648
|
// 普通上传文件 POST
|
|
2642
2649
|
baseUploadFile: "/api/base/upload",
|
|
@@ -2647,10 +2654,10 @@ const fa = Ye(Gr), On = () => {
|
|
|
2647
2654
|
// 获取文件url和md5 GET
|
|
2648
2655
|
getFileUrl: "/api/base/upload/files/url"
|
|
2649
2656
|
};
|
|
2650
|
-
function
|
|
2657
|
+
function Wr(n) {
|
|
2651
2658
|
return Ze.post(`${Tn.uploadReady}`, no.stringify(n));
|
|
2652
2659
|
}
|
|
2653
|
-
function
|
|
2660
|
+
function Yr(n) {
|
|
2654
2661
|
const e = Be.getItem(Xt);
|
|
2655
2662
|
return Ze.service.get(`${Tn.getFileUrl}?sessionId=${e}`, {
|
|
2656
2663
|
timeout: 0,
|
|
@@ -2670,7 +2677,7 @@ const Gt = (n) => {
|
|
|
2670
2677
|
return e;
|
|
2671
2678
|
}
|
|
2672
2679
|
return e;
|
|
2673
|
-
},
|
|
2680
|
+
}, Bo = (n, e) => Dt(n) ? n(e) : n, qr = ({
|
|
2674
2681
|
fileItem: n,
|
|
2675
2682
|
name: e,
|
|
2676
2683
|
data: t,
|
|
@@ -2686,7 +2693,7 @@ const Gt = (n) => {
|
|
|
2686
2693
|
onError: f = On
|
|
2687
2694
|
}) => {
|
|
2688
2695
|
var _;
|
|
2689
|
-
const p =
|
|
2696
|
+
const p = Bo(e, n) || "file", y = Bo(t, n), N = Be.getItem(Xt), j = r ? `${Tn.pieceUploadFiles}?sessionId=${N}` : `${Tn.baseUploadFile}?sessionId=${N}`, E = [];
|
|
2690
2697
|
function S(I, m) {
|
|
2691
2698
|
let w = 0;
|
|
2692
2699
|
E.forEach((M) => {
|
|
@@ -2783,9 +2790,9 @@ const Gt = (n) => {
|
|
|
2783
2790
|
}
|
|
2784
2791
|
};
|
|
2785
2792
|
}
|
|
2786
|
-
},
|
|
2793
|
+
}, va = (n) => (n.indexOf(".") > -1 ? `.${n.split(".").pop()}` : "").toLowerCase(), Qr = (n, e) => {
|
|
2787
2794
|
if (e && n) {
|
|
2788
|
-
const t = Ct(e) ? e : e.split(",").map((a) => a.trim()).filter((a) => a), o =
|
|
2795
|
+
const t = Ct(e) ? e : e.split(",").map((a) => a.trim()).filter((a) => a), o = va(n.name);
|
|
2789
2796
|
return t.some((a) => {
|
|
2790
2797
|
const l = a && a.toLowerCase(), r = (n.type || "").toLowerCase(), u = r.split("/")[0];
|
|
2791
2798
|
if (l === r || `${u}${o.replace(".", "/")}` === l || /^\*(\/\*)?$/.test(l))
|
|
@@ -2800,12 +2807,12 @@ const Gt = (n) => {
|
|
|
2800
2807
|
});
|
|
2801
2808
|
}
|
|
2802
2809
|
return !!n;
|
|
2803
|
-
},
|
|
2810
|
+
}, Po = (n, e) => {
|
|
2804
2811
|
if (!n)
|
|
2805
2812
|
return [];
|
|
2806
2813
|
const t = Array.from(n);
|
|
2807
|
-
return e ? t.filter((o) =>
|
|
2808
|
-
},
|
|
2814
|
+
return e ? t.filter((o) => Qr(o, e)) : t;
|
|
2815
|
+
}, ga = (n) => {
|
|
2809
2816
|
var t, o, a, l;
|
|
2810
2817
|
const e = { fileId: `${Zt(10)}-root`, filename: "root", childFiles: [] };
|
|
2811
2818
|
for (const r of n) {
|
|
@@ -2832,7 +2839,7 @@ const Gt = (n) => {
|
|
|
2832
2839
|
}
|
|
2833
2840
|
}
|
|
2834
2841
|
return e ?? [];
|
|
2835
|
-
}, $t = Symbol("GUploader"),
|
|
2842
|
+
}, $t = Symbol("GUploader"), Xr = ["disabled", "accept", "multiple"], Zr = /* @__PURE__ */ ue({
|
|
2836
2843
|
__name: "GUploaderButton",
|
|
2837
2844
|
props: {
|
|
2838
2845
|
uploaderText: {
|
|
@@ -2881,16 +2888,16 @@ const Gt = (n) => {
|
|
|
2881
2888
|
[`${t.value}-hide`]: a.hide
|
|
2882
2889
|
}
|
|
2883
2890
|
]), a = n;
|
|
2884
|
-
|
|
2891
|
+
Yo(), Y(!1);
|
|
2885
2892
|
const l = Y(null), r = Y(null);
|
|
2886
2893
|
Y(0);
|
|
2887
2894
|
const u = (c) => {
|
|
2888
2895
|
if (!a.disabled) {
|
|
2889
2896
|
if (Dt(a.onButtonClick)) {
|
|
2890
2897
|
const f = a.onButtonClick(c);
|
|
2891
|
-
if (
|
|
2898
|
+
if (ql(f)) {
|
|
2892
2899
|
f.then((p) => {
|
|
2893
|
-
a.uploadFiles(
|
|
2900
|
+
a.uploadFiles(Po(p));
|
|
2894
2901
|
});
|
|
2895
2902
|
return;
|
|
2896
2903
|
}
|
|
@@ -2899,7 +2906,7 @@ const Gt = (n) => {
|
|
|
2899
2906
|
}
|
|
2900
2907
|
}, i = (c) => {
|
|
2901
2908
|
const f = c.target;
|
|
2902
|
-
f.files && a.uploadFiles(
|
|
2909
|
+
f.files && a.uploadFiles(Po(f.files)), f.value = "";
|
|
2903
2910
|
}, d = V(() => a.fileList && Array.isArray(a.fileList) && a.fileList.some((c) => c.status === "uploading") ? "uploading" : "normal"), s = V(() => {
|
|
2904
2911
|
if (a.fileList && Array.isArray(a.fileList) && a.fileList.length > 0) {
|
|
2905
2912
|
const f = a.fileList.reduce((p, y) => p + (y.percent || 0), 0) / a.fileList.length * 100;
|
|
@@ -2921,8 +2928,8 @@ const Gt = (n) => {
|
|
|
2921
2928
|
disabled: n.disabled,
|
|
2922
2929
|
accept: n.accept,
|
|
2923
2930
|
multiple: n.multiple
|
|
2924
|
-
}, { ...n.directory ? { webkitdirectory: "webkitdirectory" } : {} }, { onChange: i }), null, 16,
|
|
2925
|
-
F(h(
|
|
2931
|
+
}, { ...n.directory ? { webkitdirectory: "webkitdirectory" } : {} }, { onChange: i }), null, 16, Xr),
|
|
2932
|
+
F(h(al), Ee({
|
|
2926
2933
|
variant: "outline",
|
|
2927
2934
|
disabled: n.disabled
|
|
2928
2935
|
}, n.buttonProps), {
|
|
@@ -2933,7 +2940,7 @@ const Gt = (n) => {
|
|
|
2933
2940
|
d.value == "normal" ? (v(), $(h(Co), {
|
|
2934
2941
|
key: 0,
|
|
2935
2942
|
size: "14"
|
|
2936
|
-
})) : (v(), $(h(
|
|
2943
|
+
})) : (v(), $(h(Zo), {
|
|
2937
2944
|
key: 1,
|
|
2938
2945
|
percentage: s.value,
|
|
2939
2946
|
label: !1,
|
|
@@ -2959,7 +2966,7 @@ const Gt = (n) => {
|
|
|
2959
2966
|
}, te(n.tip), 3)) : X("", !0)
|
|
2960
2967
|
], 2));
|
|
2961
2968
|
}
|
|
2962
|
-
}),
|
|
2969
|
+
}), Jr = /* @__PURE__ */ ue({
|
|
2963
2970
|
__name: "GUploaderProgress",
|
|
2964
2971
|
props: {
|
|
2965
2972
|
file: {
|
|
@@ -2975,7 +2982,7 @@ const Gt = (n) => {
|
|
|
2975
2982
|
class: Z(o)
|
|
2976
2983
|
}, [
|
|
2977
2984
|
["uploading"].includes(n.file.status ?? "") ? (v(), W(de, { key: 0 }, [
|
|
2978
|
-
F(h(
|
|
2985
|
+
F(h(Zo), {
|
|
2979
2986
|
percentage: l(((i = n.file) == null ? void 0 : i.percent) ?? 100),
|
|
2980
2987
|
label: !1,
|
|
2981
2988
|
size: 12,
|
|
@@ -3013,7 +3020,7 @@ const Gt = (n) => {
|
|
|
3013
3020
|
key: 2,
|
|
3014
3021
|
class: Z([(f = h(e)) == null ? void 0 : f.iconClass, `${(p = h(e)) == null ? void 0 : p.iconClass}-success`])
|
|
3015
3022
|
}, [
|
|
3016
|
-
F(h(
|
|
3023
|
+
F(h(hl))
|
|
3017
3024
|
], 2)) : n.file.status == "init" ? (v(), $(h(St), {
|
|
3018
3025
|
key: 3,
|
|
3019
3026
|
content: "开始上传",
|
|
@@ -3031,7 +3038,7 @@ const Gt = (n) => {
|
|
|
3031
3038
|
return (E = h(e)) == null ? void 0 : E.onUpload(n.file);
|
|
3032
3039
|
})
|
|
3033
3040
|
}, [
|
|
3034
|
-
F(h(
|
|
3041
|
+
F(h(vl))
|
|
3035
3042
|
], 2)
|
|
3036
3043
|
];
|
|
3037
3044
|
}),
|
|
@@ -3053,7 +3060,7 @@ const Gt = (n) => {
|
|
|
3053
3060
|
return (E = h(e)) == null ? void 0 : E.onAbort(n.file);
|
|
3054
3061
|
})
|
|
3055
3062
|
}, [
|
|
3056
|
-
F(h(
|
|
3063
|
+
F(h(gl))
|
|
3057
3064
|
], 2)
|
|
3058
3065
|
];
|
|
3059
3066
|
}),
|
|
@@ -3062,7 +3069,7 @@ const Gt = (n) => {
|
|
|
3062
3069
|
]);
|
|
3063
3070
|
};
|
|
3064
3071
|
}
|
|
3065
|
-
}),
|
|
3072
|
+
}), es = /* @__PURE__ */ ue({
|
|
3066
3073
|
__name: "GUploaderOperations",
|
|
3067
3074
|
props: {
|
|
3068
3075
|
file: {
|
|
@@ -3094,7 +3101,7 @@ const Gt = (n) => {
|
|
|
3094
3101
|
class: Z([(d = h(t)) == null ? void 0 : d.iconClass]),
|
|
3095
3102
|
onClick: u[0] || (u[0] = Vt((s) => l(n.file), ["stop"]))
|
|
3096
3103
|
}, [
|
|
3097
|
-
F(h(
|
|
3104
|
+
F(h(yl))
|
|
3098
3105
|
], 2)
|
|
3099
3106
|
];
|
|
3100
3107
|
}),
|
|
@@ -3113,13 +3120,13 @@ const Gt = (n) => {
|
|
|
3113
3120
|
ne("span", {
|
|
3114
3121
|
class: Z([(d = h(t)) == null ? void 0 : d.iconClass, `${(s = h(t)) == null ? void 0 : s.iconClass}-error`])
|
|
3115
3122
|
}, [
|
|
3116
|
-
F(h(
|
|
3123
|
+
F(h(bl))
|
|
3117
3124
|
], 2)
|
|
3118
3125
|
];
|
|
3119
3126
|
}),
|
|
3120
3127
|
_: 1
|
|
3121
3128
|
}, 8, ["content"])) : X("", !0),
|
|
3122
|
-
F(
|
|
3129
|
+
F(Jr, { file: n.file }, null, 8, ["file"]),
|
|
3123
3130
|
(i = h(t)) != null && i.showRemoveButton ? (v(), W("span", {
|
|
3124
3131
|
key: 2,
|
|
3125
3132
|
onClick: u[1] || (u[1] = Vt((d) => {
|
|
@@ -3147,7 +3154,7 @@ const Gt = (n) => {
|
|
|
3147
3154
|
};
|
|
3148
3155
|
}
|
|
3149
3156
|
});
|
|
3150
|
-
const
|
|
3157
|
+
const ya = /* @__PURE__ */ ht(es, [["__scopeId", "data-v-8a486150"]]), ts = /* @__PURE__ */ ue({
|
|
3151
3158
|
__name: "GUploaderListItem",
|
|
3152
3159
|
props: {
|
|
3153
3160
|
file: {
|
|
@@ -3169,7 +3176,7 @@ const va = /* @__PURE__ */ ht(Zr, [["__scopeId", "data-v-8a486150"]]), Jr = /* @
|
|
|
3169
3176
|
const s = ((d = l.file.filename) == null ? void 0 : d.split(".")[1]) ?? "";
|
|
3170
3177
|
["png", "jpg", "jpeg", "bmp", "gif", "webp"].includes(s) ? i = "image" : ["mp4", "m2v", "mkv", "m4v", "mov"].includes(s) ? i = "video" : ["mp3", "wav", "wmv", "m4a", "acc", "flac"].includes(s) && (i = "audio");
|
|
3171
3178
|
}
|
|
3172
|
-
return i.includes("image") ? Qt : i.includes("pdf") ?
|
|
3179
|
+
return i.includes("image") ? Qt : i.includes("pdf") ? Jo : i.includes("video") ? Kn : Wn;
|
|
3173
3180
|
}), u = V(() => l.file.filename ? l.file.filename.length > 25 ? l.file.filename.substring(0, 20) + "..." + l.file.filename.substring(l.file.filename.length - 5) : l.file.filename : "");
|
|
3174
3181
|
return (i, d) => {
|
|
3175
3182
|
var s;
|
|
@@ -3186,7 +3193,7 @@ const va = /* @__PURE__ */ ht(Zr, [["__scopeId", "data-v-8a486150"]]), Jr = /* @
|
|
|
3186
3193
|
key: 0,
|
|
3187
3194
|
class: Z(`${t.value}--icon ${a}-file-icon`)
|
|
3188
3195
|
}, [
|
|
3189
|
-
(v(), $(
|
|
3196
|
+
(v(), $(Za(r.value)))
|
|
3190
3197
|
], 2)) : X("", !0),
|
|
3191
3198
|
F(h(St), {
|
|
3192
3199
|
content: n.file.filename,
|
|
@@ -3197,7 +3204,7 @@ const va = /* @__PURE__ */ ht(Zr, [["__scopeId", "data-v-8a486150"]]), Jr = /* @
|
|
|
3197
3204
|
default: C(() => {
|
|
3198
3205
|
var c;
|
|
3199
3206
|
return [
|
|
3200
|
-
(c = h(e)) != null && c.showLink && l.file.url ? (v(), $(h(
|
|
3207
|
+
(c = h(e)) != null && c.showLink && l.file.url ? (v(), $(h(ll), {
|
|
3201
3208
|
key: 0,
|
|
3202
3209
|
class: Z(`${a}-name-text`),
|
|
3203
3210
|
theme: "primary",
|
|
@@ -3220,11 +3227,11 @@ const va = /* @__PURE__ */ ht(Zr, [["__scopeId", "data-v-8a486150"]]), Jr = /* @
|
|
|
3220
3227
|
}, 8, ["content"])
|
|
3221
3228
|
], 2)
|
|
3222
3229
|
], 2),
|
|
3223
|
-
F(
|
|
3230
|
+
F(ya, { file: n.file }, null, 8, ["file"])
|
|
3224
3231
|
], 2);
|
|
3225
3232
|
};
|
|
3226
3233
|
}
|
|
3227
|
-
}),
|
|
3234
|
+
}), ns = /* @__PURE__ */ ue({
|
|
3228
3235
|
__name: "GUploaderList",
|
|
3229
3236
|
props: {
|
|
3230
3237
|
fileList: {
|
|
@@ -3241,12 +3248,12 @@ const va = /* @__PURE__ */ ht(Zr, [["__scopeId", "data-v-8a486150"]]), Jr = /* @
|
|
|
3241
3248
|
`${t.value}__list`,
|
|
3242
3249
|
`${t.value}__list--type-${a.listType}`
|
|
3243
3250
|
]), a = n;
|
|
3244
|
-
return (l, r) => (v(), $(
|
|
3251
|
+
return (l, r) => (v(), $(Ja, {
|
|
3245
3252
|
tag: "div",
|
|
3246
3253
|
class: Z(o.value)
|
|
3247
3254
|
}, {
|
|
3248
3255
|
default: C(() => [
|
|
3249
|
-
(v(!0), W(de, null, Se(n.fileList, (u, i) => (v(), $(
|
|
3256
|
+
(v(!0), W(de, null, Se(n.fileList, (u, i) => (v(), $(ts, {
|
|
3250
3257
|
key: `fileItem-${i}`,
|
|
3251
3258
|
file: u,
|
|
3252
3259
|
listType: n.listType
|
|
@@ -3255,7 +3262,7 @@ const va = /* @__PURE__ */ ht(Zr, [["__scopeId", "data-v-8a486150"]]), Jr = /* @
|
|
|
3255
3262
|
_: 1
|
|
3256
3263
|
}, 8, ["class"]));
|
|
3257
3264
|
}
|
|
3258
|
-
}),
|
|
3265
|
+
}), os = /* @__PURE__ */ ue({
|
|
3259
3266
|
__name: "GUploaderTree",
|
|
3260
3267
|
props: {
|
|
3261
3268
|
fileTree: {
|
|
@@ -3268,7 +3275,7 @@ const va = /* @__PURE__ */ ht(Zr, [["__scopeId", "data-v-8a486150"]]), Jr = /* @
|
|
|
3268
3275
|
var c;
|
|
3269
3276
|
let s = null;
|
|
3270
3277
|
if (d.getChildren())
|
|
3271
|
-
d.expanded ? s =
|
|
3278
|
+
d.expanded ? s = wl : s = Tl;
|
|
3272
3279
|
else if (d.data.filename) {
|
|
3273
3280
|
let f = "";
|
|
3274
3281
|
if (d.data.type)
|
|
@@ -3277,14 +3284,14 @@ const va = /* @__PURE__ */ ht(Zr, [["__scopeId", "data-v-8a486150"]]), Jr = /* @
|
|
|
3277
3284
|
const p = ((c = d.data.filename) == null ? void 0 : c.split(".")[1]) ?? "";
|
|
3278
3285
|
["png", "jpg", "jpeg", "bmp", "gif", "webp"].includes(p) ? f = "image" : ["mp4", "m2v", "mkv", "m4v", "mov"].includes(p) ? f = "video" : ["mp3", "wav", "wmv", "m4a", "acc", "flac"].includes(p) && (f = "audio");
|
|
3279
3286
|
}
|
|
3280
|
-
f.includes("image") && (s = Qt), f.includes("pdf") && (s =
|
|
3287
|
+
f.includes("image") && (s = Qt), f.includes("pdf") && (s = Jo), f.includes("audio") && (s = Kn), f.includes("video") && (s = Kn), s = Wn;
|
|
3281
3288
|
} else
|
|
3282
3289
|
s = Wn;
|
|
3283
3290
|
return s && i(s, {});
|
|
3284
3291
|
}, u = V(() => l.fileTree.childFiles);
|
|
3285
3292
|
return (i, d) => {
|
|
3286
3293
|
var s, c;
|
|
3287
|
-
return n.fileTree && ((c = (s = n.fileTree) == null ? void 0 : s.childFiles) != null && c.length) ? (v(), $(h(
|
|
3294
|
+
return n.fileTree && ((c = (s = n.fileTree) == null ? void 0 : s.childFiles) != null && c.length) ? (v(), $(h(rl), {
|
|
3288
3295
|
key: 0,
|
|
3289
3296
|
hover: "",
|
|
3290
3297
|
icon: r,
|
|
@@ -3296,7 +3303,7 @@ const va = /* @__PURE__ */ ht(Zr, [["__scopeId", "data-v-8a486150"]]), Jr = /* @
|
|
|
3296
3303
|
keys: { value: "fileId", label: "filename", children: "childFiles" }
|
|
3297
3304
|
}, {
|
|
3298
3305
|
operations: C(({ node: f }) => [
|
|
3299
|
-
f.data.fileUploadType == "file" ? (v(), $(
|
|
3306
|
+
f.data.fileUploadType == "file" ? (v(), $(ya, {
|
|
3300
3307
|
key: 0,
|
|
3301
3308
|
file: f.data
|
|
3302
3309
|
}, null, 8, ["file"])) : X("", !0)
|
|
@@ -3306,7 +3313,7 @@ const va = /* @__PURE__ */ ht(Zr, [["__scopeId", "data-v-8a486150"]]), Jr = /* @
|
|
|
3306
3313
|
};
|
|
3307
3314
|
}
|
|
3308
3315
|
});
|
|
3309
|
-
|
|
3316
|
+
Dl.configure({
|
|
3310
3317
|
easing: "ease",
|
|
3311
3318
|
// 动画方式
|
|
3312
3319
|
speed: 600,
|
|
@@ -3319,7 +3326,7 @@ Ll.configure({
|
|
|
3319
3326
|
minimum: 0.1
|
|
3320
3327
|
// 初始化时的最小百分比
|
|
3321
3328
|
});
|
|
3322
|
-
const
|
|
3329
|
+
const as = /* @__PURE__ */ ue({
|
|
3323
3330
|
__name: "GUploader",
|
|
3324
3331
|
props: {
|
|
3325
3332
|
/**
|
|
@@ -3603,7 +3610,7 @@ const ns = /* @__PURE__ */ ue({
|
|
|
3603
3610
|
error: (n) => !0
|
|
3604
3611
|
},
|
|
3605
3612
|
setup(n, { emit: e }) {
|
|
3606
|
-
const { T: t } = ke(), o = n, a = e, l =
|
|
3613
|
+
const { T: t } = ke(), o = n, a = e, l = Yo(), {
|
|
3607
3614
|
fileList: r,
|
|
3608
3615
|
disabled: u,
|
|
3609
3616
|
listType: i,
|
|
@@ -3615,7 +3622,7 @@ const ns = /* @__PURE__ */ ue({
|
|
|
3615
3622
|
download: y,
|
|
3616
3623
|
showLink: N,
|
|
3617
3624
|
showButtonProgress: j
|
|
3618
|
-
} =
|
|
3625
|
+
} = el(o), E = /* @__PURE__ */ new Map(), S = /* @__PURE__ */ new Map(), L = Y([]), _ = V(() => o.directory ? L.value.length ? ga(L.value) : { fileId: "" } : { fileId: "" }), I = V(() => o.limit > 0 && L.value.length >= o.limit), m = V(() => o.buttonText ? o.buttonText : o.directory ? I.value ? `${t.t("重新选择")}` : `${t.t("上传文件夹")}` : I.value ? `${t.t("重新选择")}` : `${t.t("上传文件")}`), w = (g) => {
|
|
3619
3626
|
E.clear();
|
|
3620
3627
|
const b = g == null ? void 0 : g.map((z, G) => {
|
|
3621
3628
|
const H = z.status ? z.status : z.url ? "done" : "error", ae = $n({
|
|
@@ -3638,8 +3645,8 @@ const ns = /* @__PURE__ */ ue({
|
|
|
3638
3645
|
const M = (g) => {
|
|
3639
3646
|
a("update:fileList", L.value), a("change", L.value, g);
|
|
3640
3647
|
}, U = async (g) => {
|
|
3641
|
-
const b = await
|
|
3642
|
-
suffix:
|
|
3648
|
+
const b = await Wr({
|
|
3649
|
+
suffix: va(g.name).split(".")[1]
|
|
3643
3650
|
// url: file.name,
|
|
3644
3651
|
});
|
|
3645
3652
|
if (b.state == 200)
|
|
@@ -3655,7 +3662,7 @@ const ns = /* @__PURE__ */ ue({
|
|
|
3655
3662
|
}, ae = z ? (_e) => {
|
|
3656
3663
|
const ge = E.get(g.fileId);
|
|
3657
3664
|
ge && G != "" && _e.every((Ie) => Ie.state == 200) ? Promise.resolve(
|
|
3658
|
-
|
|
3665
|
+
Yr({
|
|
3659
3666
|
key: G
|
|
3660
3667
|
}).then((Ie) => {
|
|
3661
3668
|
Ie.state == 200 ? (S.delete(ge.fileId), ge.status = "done", ge.percent = 1, ge.response = Ie, ge.url = Ie.data.url, a("success", ge), M(ge)) : me(_e);
|
|
@@ -3686,7 +3693,7 @@ const ns = /* @__PURE__ */ ue({
|
|
|
3686
3693
|
onError: me
|
|
3687
3694
|
};
|
|
3688
3695
|
g.status = "uploading", g.percent = 0;
|
|
3689
|
-
const Me = Dt(o.customRequest) ? o.customRequest(J) :
|
|
3696
|
+
const Me = Dt(o.customRequest) ? o.customRequest(J) : qr(J);
|
|
3690
3697
|
S.set(g.fileId, Me);
|
|
3691
3698
|
}, k = (g) => {
|
|
3692
3699
|
var z;
|
|
@@ -3726,7 +3733,7 @@ const ns = /* @__PURE__ */ ue({
|
|
|
3726
3733
|
for (let b = 0; b < g.length; b++) {
|
|
3727
3734
|
const z = g[b];
|
|
3728
3735
|
Dt(o.onBeforeUpload) ? Promise.resolve(o.onBeforeUpload(z)).then((G) => {
|
|
3729
|
-
G && x(
|
|
3736
|
+
G && x(Ql(G) ? z : G);
|
|
3730
3737
|
}).catch((G) => {
|
|
3731
3738
|
console.error(G);
|
|
3732
3739
|
}) : x(z);
|
|
@@ -3770,7 +3777,7 @@ const ns = /* @__PURE__ */ ue({
|
|
|
3770
3777
|
return v(), W("div", {
|
|
3771
3778
|
class: Z([`${h(un)}`])
|
|
3772
3779
|
}, [
|
|
3773
|
-
n.showUploadButton ? (v(), $(
|
|
3780
|
+
n.showUploadButton ? (v(), $(Zr, Ee({
|
|
3774
3781
|
key: 0,
|
|
3775
3782
|
disabled: h(u),
|
|
3776
3783
|
listType: h(i),
|
|
@@ -3784,16 +3791,16 @@ const ns = /* @__PURE__ */ ue({
|
|
|
3784
3791
|
buttonProps: n.buttonProps,
|
|
3785
3792
|
fileList: L.value
|
|
3786
3793
|
}, { ...(z = L.value) != null && z.length ? {} : { tip: n.tip } }), null, 16, ["disabled", "listType", "uploaderText", "multiple", "directory", "hide", "accept", "onButtonClick", "buttonProps", "fileList"])) : X("", !0),
|
|
3787
|
-
n.showFileList && L.value.length ? (v(), $(h(
|
|
3794
|
+
n.showFileList && L.value.length ? (v(), $(h(sl), {
|
|
3788
3795
|
key: 1,
|
|
3789
3796
|
class: Z(`${h(un)}__card`),
|
|
3790
3797
|
size: "small"
|
|
3791
3798
|
}, {
|
|
3792
3799
|
default: C(() => [
|
|
3793
|
-
n.directory ? n.directory && _.value ? (v(), $(
|
|
3800
|
+
n.directory ? n.directory && _.value ? (v(), $(os, {
|
|
3794
3801
|
key: 1,
|
|
3795
3802
|
fileTree: _.value
|
|
3796
|
-
}, null, 8, ["fileTree"])) : X("", !0) : (v(), $(
|
|
3803
|
+
}, null, 8, ["fileTree"])) : X("", !0) : (v(), $(ns, {
|
|
3797
3804
|
key: 0,
|
|
3798
3805
|
fileList: L.value,
|
|
3799
3806
|
listType: h(i)
|
|
@@ -3805,7 +3812,7 @@ const ns = /* @__PURE__ */ ue({
|
|
|
3805
3812
|
};
|
|
3806
3813
|
}
|
|
3807
3814
|
});
|
|
3808
|
-
const Xn = Ye(
|
|
3815
|
+
const Xn = Ye(as), ls = { class: "display-column-checkbox" }, rs = { class: "footer" }, ss = /* @__PURE__ */ ue({
|
|
3809
3816
|
__name: "GColumnController",
|
|
3810
3817
|
props: {
|
|
3811
3818
|
columnOptions: { default: () => [] },
|
|
@@ -3847,7 +3854,7 @@ const Xn = Ye(ns), os = { class: "display-column-checkbox" }, as = { class: "foo
|
|
|
3847
3854
|
onVisibleChange: r
|
|
3848
3855
|
}, {
|
|
3849
3856
|
content: C(() => [
|
|
3850
|
-
ne("div",
|
|
3857
|
+
ne("div", ls, [
|
|
3851
3858
|
F(S, {
|
|
3852
3859
|
size: "8px",
|
|
3853
3860
|
direction: "vertical",
|
|
@@ -3872,7 +3879,7 @@ const Xn = Ye(ns), os = { class: "display-column-checkbox" }, as = { class: "foo
|
|
|
3872
3879
|
]),
|
|
3873
3880
|
_: 1
|
|
3874
3881
|
}),
|
|
3875
|
-
ne("div",
|
|
3882
|
+
ne("div", rs, [
|
|
3876
3883
|
F(N, {
|
|
3877
3884
|
theme: "default",
|
|
3878
3885
|
size: "small",
|
|
@@ -3900,7 +3907,7 @@ const Xn = Ye(ns), os = { class: "display-column-checkbox" }, as = { class: "foo
|
|
|
3900
3907
|
default: C(() => [
|
|
3901
3908
|
F(N, { theme: "default" }, {
|
|
3902
3909
|
icon: C(() => [
|
|
3903
|
-
F(h(
|
|
3910
|
+
F(h(Cl))
|
|
3904
3911
|
]),
|
|
3905
3912
|
default: C(() => [
|
|
3906
3913
|
re(te(h(o).t("表头")), 1)
|
|
@@ -3913,7 +3920,7 @@ const Xn = Ye(ns), os = { class: "display-column-checkbox" }, as = { class: "foo
|
|
|
3913
3920
|
};
|
|
3914
3921
|
}
|
|
3915
3922
|
});
|
|
3916
|
-
const
|
|
3923
|
+
const is = /* @__PURE__ */ ht(ss, [["__scopeId", "data-v-05da5ebe"]]), us = Ye(is), cs = /* @__PURE__ */ ue({
|
|
3917
3924
|
__name: "GSettingDialog",
|
|
3918
3925
|
props: {
|
|
3919
3926
|
visible: { type: Boolean },
|
|
@@ -3938,11 +3945,11 @@ const rs = /* @__PURE__ */ ht(ls, [["__scopeId", "data-v-05da5ebe"]]), ss = Ye(r
|
|
|
3938
3945
|
]), a = Ve(), l = V(() => a.themeConfig), r = () => {
|
|
3939
3946
|
a.changeTheme(l.value);
|
|
3940
3947
|
}, u = (i) => ({
|
|
3941
|
-
background:
|
|
3948
|
+
background: aa(i, oa)["--td-brand-color"]
|
|
3942
3949
|
});
|
|
3943
3950
|
return (i, d) => {
|
|
3944
3951
|
const s = Q("t-radio-button"), c = Q("t-radio-group"), f = Q("t-form-item"), p = Q("t-form");
|
|
3945
|
-
return v(), $(
|
|
3952
|
+
return v(), $(fa, {
|
|
3946
3953
|
commonDialogProps: {
|
|
3947
3954
|
visible: i.visible,
|
|
3948
3955
|
onClose: i.onClose,
|
|
@@ -4028,7 +4035,7 @@ const rs = /* @__PURE__ */ ht(ls, [["__scopeId", "data-v-05da5ebe"]]), ss = Ye(r
|
|
|
4028
4035
|
};
|
|
4029
4036
|
}
|
|
4030
4037
|
});
|
|
4031
|
-
const
|
|
4038
|
+
const Nc = Ye(cs), jt = {
|
|
4032
4039
|
// 视图 - 获取所有视图 GET
|
|
4033
4040
|
getAllView: "/restapi/s09/gview/boards/all",
|
|
4034
4041
|
// 视图 - 获取一个视图 GET
|
|
@@ -4045,7 +4052,7 @@ const Ic = Ye(is), jt = {
|
|
|
4045
4052
|
confirm: "/restapi/s09/gview/active/confirm",
|
|
4046
4053
|
// 触发 - 触发批量操作事件 POST
|
|
4047
4054
|
batch: "/restapi/s09/gview/active/batch"
|
|
4048
|
-
},
|
|
4055
|
+
}, ba = (n) => Ze.get(jt.getOneView, n), tn = (n) => Ze.post(jt.getBoardData, n), wa = (n) => Ze.post(jt.confirm, n), ds = (n) => Ze.post(jt.batch, n), ms = (n) => Ze.post(jt.activeFile, n), fs = (n) => Ze.post(jt.downloadFile, n), ps = /* @__PURE__ */ ue({
|
|
4049
4056
|
__name: "GFormLabel",
|
|
4050
4057
|
props: {
|
|
4051
4058
|
modelValue: { default: "" },
|
|
@@ -4056,12 +4063,12 @@ const Ic = Ye(is), jt = {
|
|
|
4056
4063
|
const e = n, t = V(() => e.formItem.keyName), o = V(() => {
|
|
4057
4064
|
if (e.formItem.value !== "")
|
|
4058
4065
|
try {
|
|
4059
|
-
return
|
|
4066
|
+
return mt.render(e.formItem.value, { item: e.formModel });
|
|
4060
4067
|
} catch (a) {
|
|
4061
4068
|
console.error("GTable returnValue Error", a);
|
|
4062
4069
|
}
|
|
4063
4070
|
else if ((t.value === "startTime" || t.value === "endTime") && typeof e.modelValue == "number")
|
|
4064
|
-
return
|
|
4071
|
+
return dt(e.modelValue).format("YYYY/MM/DD HH:mm:ss");
|
|
4065
4072
|
return e.modelValue;
|
|
4066
4073
|
});
|
|
4067
4074
|
return (a, l) => {
|
|
@@ -4075,7 +4082,7 @@ const Ic = Ye(is), jt = {
|
|
|
4075
4082
|
};
|
|
4076
4083
|
}
|
|
4077
4084
|
});
|
|
4078
|
-
const
|
|
4085
|
+
const Ta = /* @__PURE__ */ ht(ps, [["__scopeId", "data-v-b9a9d3f9"]]), Zn = /* @__PURE__ */ ue({
|
|
4079
4086
|
__name: "GFormInput",
|
|
4080
4087
|
props: {
|
|
4081
4088
|
inputType: {},
|
|
@@ -4149,7 +4156,7 @@ const ba = /* @__PURE__ */ ht(ms, [["__scopeId", "data-v-b9a9d3f9"]]), Zn = /* @
|
|
|
4149
4156
|
], 512);
|
|
4150
4157
|
};
|
|
4151
4158
|
}
|
|
4152
|
-
}),
|
|
4159
|
+
}), Ca = /* @__PURE__ */ ue({
|
|
4153
4160
|
__name: "GFormCheckBox",
|
|
4154
4161
|
props: {
|
|
4155
4162
|
modelValue: {},
|
|
@@ -4183,7 +4190,7 @@ const ba = /* @__PURE__ */ ht(ms, [["__scopeId", "data-v-b9a9d3f9"]]), Zn = /* @
|
|
|
4183
4190
|
}, null, 8, ["modelValue", "disabled"]);
|
|
4184
4191
|
};
|
|
4185
4192
|
}
|
|
4186
|
-
}),
|
|
4193
|
+
}), ka = /* @__PURE__ */ ue({
|
|
4187
4194
|
__name: "GFormSwitch",
|
|
4188
4195
|
props: {
|
|
4189
4196
|
modelValue: {},
|
|
@@ -4226,7 +4233,7 @@ const ba = /* @__PURE__ */ ht(ms, [["__scopeId", "data-v-b9a9d3f9"]]), Zn = /* @
|
|
|
4226
4233
|
};
|
|
4227
4234
|
}
|
|
4228
4235
|
});
|
|
4229
|
-
async function
|
|
4236
|
+
async function hs(n, e, t, o) {
|
|
4230
4237
|
const a = await tn({
|
|
4231
4238
|
viewName: e,
|
|
4232
4239
|
dataId: t,
|
|
@@ -4235,7 +4242,7 @@ async function fs(n, e, t, o) {
|
|
|
4235
4242
|
if (a.state === 200) {
|
|
4236
4243
|
const l = a.data;
|
|
4237
4244
|
if (!We(l) && l.length)
|
|
4238
|
-
return
|
|
4245
|
+
return ra({
|
|
4239
4246
|
list: l,
|
|
4240
4247
|
parentKey: null,
|
|
4241
4248
|
keyName: n == null ? void 0 : n.keyName,
|
|
@@ -4245,7 +4252,7 @@ async function fs(n, e, t, o) {
|
|
|
4245
4252
|
});
|
|
4246
4253
|
}
|
|
4247
4254
|
}
|
|
4248
|
-
async function
|
|
4255
|
+
async function vs(n, e, t, o) {
|
|
4249
4256
|
const a = await tn({
|
|
4250
4257
|
viewName: e,
|
|
4251
4258
|
dataId: t,
|
|
@@ -4254,7 +4261,7 @@ async function ps(n, e, t, o) {
|
|
|
4254
4261
|
if (a.state === 200) {
|
|
4255
4262
|
const l = a.data;
|
|
4256
4263
|
if (!We(l) && l.length)
|
|
4257
|
-
return
|
|
4264
|
+
return ra({
|
|
4258
4265
|
list: l,
|
|
4259
4266
|
parentKey: null,
|
|
4260
4267
|
keyName: n == null ? void 0 : n.valueName,
|
|
@@ -4264,7 +4271,7 @@ async function ps(n, e, t, o) {
|
|
|
4264
4271
|
});
|
|
4265
4272
|
}
|
|
4266
4273
|
}
|
|
4267
|
-
async function
|
|
4274
|
+
async function gs(n, e, t, o) {
|
|
4268
4275
|
const a = await tn({
|
|
4269
4276
|
viewName: e,
|
|
4270
4277
|
dataId: t,
|
|
@@ -4290,7 +4297,7 @@ function Dn(n) {
|
|
|
4290
4297
|
switch (n.itemType) {
|
|
4291
4298
|
case "tree_check_box": {
|
|
4292
4299
|
const { treeData: t, viewName: o, dataId: a, propsModel: l } = n;
|
|
4293
|
-
e.value = await
|
|
4300
|
+
e.value = await vs(
|
|
4294
4301
|
t,
|
|
4295
4302
|
o,
|
|
4296
4303
|
a,
|
|
@@ -4301,7 +4308,7 @@ function Dn(n) {
|
|
|
4301
4308
|
case "multi_tree_selector":
|
|
4302
4309
|
case "tree_selector": {
|
|
4303
4310
|
const { treeData: t, viewName: o, dataId: a, propsModel: l } = n;
|
|
4304
|
-
e.value = await
|
|
4311
|
+
e.value = await hs(
|
|
4305
4312
|
t,
|
|
4306
4313
|
o,
|
|
4307
4314
|
a,
|
|
@@ -4313,7 +4320,7 @@ function Dn(n) {
|
|
|
4313
4320
|
case "multi_selector":
|
|
4314
4321
|
case "radio": {
|
|
4315
4322
|
const { listData: t, viewName: o, dataId: a, propsModel: l } = n;
|
|
4316
|
-
e.value = await
|
|
4323
|
+
e.value = await gs(
|
|
4317
4324
|
t,
|
|
4318
4325
|
o,
|
|
4319
4326
|
a,
|
|
@@ -4326,7 +4333,7 @@ function Dn(n) {
|
|
|
4326
4333
|
options: e
|
|
4327
4334
|
};
|
|
4328
4335
|
}
|
|
4329
|
-
const
|
|
4336
|
+
const Ma = /* @__PURE__ */ ue({
|
|
4330
4337
|
__name: "GFormRadio",
|
|
4331
4338
|
props: {
|
|
4332
4339
|
modelValue: {},
|
|
@@ -4397,7 +4404,7 @@ const Ca = /* @__PURE__ */ ue({
|
|
|
4397
4404
|
}, 8, ["modelValue", "disabled"]);
|
|
4398
4405
|
};
|
|
4399
4406
|
}
|
|
4400
|
-
}),
|
|
4407
|
+
}), _a = /* @__PURE__ */ ue({
|
|
4401
4408
|
__name: "GFormSelect",
|
|
4402
4409
|
props: {
|
|
4403
4410
|
modelValue: {},
|
|
@@ -4492,7 +4499,7 @@ const Ca = /* @__PURE__ */ ue({
|
|
|
4492
4499
|
], 512);
|
|
4493
4500
|
};
|
|
4494
4501
|
}
|
|
4495
|
-
}),
|
|
4502
|
+
}), Ia = /* @__PURE__ */ ue({
|
|
4496
4503
|
__name: "GFormSelectDateTime",
|
|
4497
4504
|
props: {
|
|
4498
4505
|
modelValue: {},
|
|
@@ -4513,9 +4520,9 @@ const Ca = /* @__PURE__ */ ue({
|
|
|
4513
4520
|
() => t.modelValue,
|
|
4514
4521
|
() => {
|
|
4515
4522
|
var s;
|
|
4516
|
-
if (t.modelValue == 0 ||
|
|
4523
|
+
if (t.modelValue == 0 || lt(t.modelValue))
|
|
4517
4524
|
return "";
|
|
4518
|
-
t.modelValue && ((s = t.formItem) == null ? void 0 : s.itemType) == "time_selector" ? a.value =
|
|
4525
|
+
t.modelValue && ((s = t.formItem) == null ? void 0 : s.itemType) == "time_selector" ? a.value = dt(t.modelValue).format("HH:mm:ss") : a.value = t.modelValue;
|
|
4519
4526
|
},
|
|
4520
4527
|
{
|
|
4521
4528
|
deep: !0,
|
|
@@ -4588,7 +4595,7 @@ const Ca = /* @__PURE__ */ ue({
|
|
|
4588
4595
|
], 512);
|
|
4589
4596
|
};
|
|
4590
4597
|
}
|
|
4591
|
-
}),
|
|
4598
|
+
}), La = /* @__PURE__ */ ue({
|
|
4592
4599
|
__name: "GFormTreeCheckBox",
|
|
4593
4600
|
props: {
|
|
4594
4601
|
modelValue: {},
|
|
@@ -4639,7 +4646,7 @@ const Ca = /* @__PURE__ */ ue({
|
|
|
4639
4646
|
return De(
|
|
4640
4647
|
() => t.modelValue,
|
|
4641
4648
|
(y) => {
|
|
4642
|
-
t.modelValue ? p.value =
|
|
4649
|
+
t.modelValue ? p.value = tr(u.value, y) : p.value = y;
|
|
4643
4650
|
},
|
|
4644
4651
|
{
|
|
4645
4652
|
deep: !0,
|
|
@@ -4680,7 +4687,7 @@ const Ca = /* @__PURE__ */ ue({
|
|
|
4680
4687
|
], 512);
|
|
4681
4688
|
};
|
|
4682
4689
|
}
|
|
4683
|
-
}),
|
|
4690
|
+
}), Sa = /* @__PURE__ */ ue({
|
|
4684
4691
|
__name: "GFormCascader",
|
|
4685
4692
|
props: {
|
|
4686
4693
|
modelValue: {},
|
|
@@ -4772,7 +4779,7 @@ const Ca = /* @__PURE__ */ ue({
|
|
|
4772
4779
|
], 512);
|
|
4773
4780
|
};
|
|
4774
4781
|
}
|
|
4775
|
-
}),
|
|
4782
|
+
}), Da = /* @__PURE__ */ ue({
|
|
4776
4783
|
__name: "GFormUpload",
|
|
4777
4784
|
props: {
|
|
4778
4785
|
modelValue: {},
|
|
@@ -4859,15 +4866,15 @@ const Ca = /* @__PURE__ */ ue({
|
|
|
4859
4866
|
};
|
|
4860
4867
|
}
|
|
4861
4868
|
});
|
|
4862
|
-
var
|
|
4863
|
-
function
|
|
4869
|
+
var ys = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
4870
|
+
function bs(n) {
|
|
4864
4871
|
return n && n.__esModule && Object.prototype.hasOwnProperty.call(n, "default") ? n.default : n;
|
|
4865
4872
|
}
|
|
4866
|
-
var
|
|
4873
|
+
var Na = { exports: {} };
|
|
4867
4874
|
(function(n, e) {
|
|
4868
4875
|
(function(t, o) {
|
|
4869
4876
|
n.exports = o();
|
|
4870
|
-
})(
|
|
4877
|
+
})(ys, function() {
|
|
4871
4878
|
var t, o, a = 1e3, l = 6e4, r = 36e5, u = 864e5, i = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, d = 31536e6, s = 2628e6, c = /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/, f = { years: d, months: s, days: u, hours: r, minutes: l, seconds: a, milliseconds: 1, weeks: 6048e5 }, p = function(m) {
|
|
4872
4879
|
return m instanceof _;
|
|
4873
4880
|
}, y = function(m, w, M) {
|
|
@@ -4995,9 +5002,9 @@ var Sa = { exports: {} };
|
|
|
4995
5002
|
};
|
|
4996
5003
|
};
|
|
4997
5004
|
});
|
|
4998
|
-
})(
|
|
4999
|
-
var
|
|
5000
|
-
const
|
|
5005
|
+
})(Na);
|
|
5006
|
+
var ws = Na.exports;
|
|
5007
|
+
const Ts = /* @__PURE__ */ bs(ws), Cs = /* @__PURE__ */ ue({
|
|
5001
5008
|
__name: "GFormSelectDelay",
|
|
5002
5009
|
props: {
|
|
5003
5010
|
modelValue: {},
|
|
@@ -5009,7 +5016,7 @@ const bs = /* @__PURE__ */ gs(ys), ws = /* @__PURE__ */ ue({
|
|
|
5009
5016
|
},
|
|
5010
5017
|
emits: ["update:modelValue", "blur:modelValue"],
|
|
5011
5018
|
setup(n, { emit: e }) {
|
|
5012
|
-
|
|
5019
|
+
dt.extend(Ts);
|
|
5013
5020
|
const t = n, o = V(() => {
|
|
5014
5021
|
var s;
|
|
5015
5022
|
return (s = t.formItem) == null ? void 0 : s.itemType;
|
|
@@ -5017,13 +5024,13 @@ const bs = /* @__PURE__ */ gs(ys), ws = /* @__PURE__ */ ue({
|
|
|
5017
5024
|
De(
|
|
5018
5025
|
() => t.modelValue,
|
|
5019
5026
|
() => {
|
|
5020
|
-
t.modelValue == 0 ||
|
|
5027
|
+
t.modelValue == 0 || lt(t.modelValue) ? a.value = "" : a.value = dt.duration(t.modelValue).format("HH:mm:ss");
|
|
5021
5028
|
}
|
|
5022
5029
|
);
|
|
5023
5030
|
const l = e;
|
|
5024
5031
|
function r(s) {
|
|
5025
5032
|
if (s) {
|
|
5026
|
-
const c = s.split(":"), [f, p, y] = c, N =
|
|
5033
|
+
const c = s.split(":"), [f, p, y] = c, N = dt.duration({
|
|
5027
5034
|
hours: f,
|
|
5028
5035
|
minutes: p,
|
|
5029
5036
|
seconds: y
|
|
@@ -5033,7 +5040,7 @@ const bs = /* @__PURE__ */ gs(ys), ws = /* @__PURE__ */ ue({
|
|
|
5033
5040
|
l("update:modelValue", "");
|
|
5034
5041
|
}
|
|
5035
5042
|
function u(s) {
|
|
5036
|
-
const { value: c } = s, f = c.split(":"), [p, y, N] = f, j =
|
|
5043
|
+
const { value: c } = s, f = c.split(":"), [p, y, N] = f, j = dt.duration({
|
|
5037
5044
|
hours: p,
|
|
5038
5045
|
minutes: y,
|
|
5039
5046
|
seconds: N
|
|
@@ -5085,7 +5092,7 @@ const bs = /* @__PURE__ */ gs(ys), ws = /* @__PURE__ */ ue({
|
|
|
5085
5092
|
};
|
|
5086
5093
|
}
|
|
5087
5094
|
});
|
|
5088
|
-
const
|
|
5095
|
+
const ks = /* @__PURE__ */ ue({
|
|
5089
5096
|
__name: "GFormEditor",
|
|
5090
5097
|
props: {
|
|
5091
5098
|
modelValue: {},
|
|
@@ -5096,7 +5103,7 @@ const Ts = /* @__PURE__ */ ue({
|
|
|
5096
5103
|
},
|
|
5097
5104
|
emits: ["update:modelValue", "blur:modelValue"],
|
|
5098
5105
|
setup(n, { emit: e }) {
|
|
5099
|
-
const t = `${
|
|
5106
|
+
const t = `${Rl}__editor`, o = n;
|
|
5100
5107
|
V(() => {
|
|
5101
5108
|
var S;
|
|
5102
5109
|
return (S = o.formItem) == null ? void 0 : S.itemType;
|
|
@@ -5112,7 +5119,7 @@ const Ts = /* @__PURE__ */ ue({
|
|
|
5112
5119
|
immediate: !0
|
|
5113
5120
|
}
|
|
5114
5121
|
);
|
|
5115
|
-
const l = Y("simple"), r =
|
|
5122
|
+
const l = Y("simple"), r = tl();
|
|
5116
5123
|
Ue(() => {
|
|
5117
5124
|
});
|
|
5118
5125
|
const u = {
|
|
@@ -5150,13 +5157,13 @@ const Ts = /* @__PURE__ */ ue({
|
|
|
5150
5157
|
}), (S, L) => (v(), W("div", {
|
|
5151
5158
|
class: Z([`${t}`, `${p.value ? `${t}--focused` : ""}`])
|
|
5152
5159
|
}, [
|
|
5153
|
-
F(h(
|
|
5160
|
+
F(h(Nl), {
|
|
5154
5161
|
class: Z(`${t}--toolbar`),
|
|
5155
5162
|
editor: r.value,
|
|
5156
5163
|
defaultConfig: u,
|
|
5157
5164
|
mode: l.value
|
|
5158
5165
|
}, null, 8, ["class", "editor", "mode"]),
|
|
5159
|
-
F(h(
|
|
5166
|
+
F(h(El), {
|
|
5160
5167
|
class: Z(`${t}--main`),
|
|
5161
5168
|
style: { height: "300px" },
|
|
5162
5169
|
defaultConfig: i,
|
|
@@ -5171,7 +5178,7 @@ const Ts = /* @__PURE__ */ ue({
|
|
|
5171
5178
|
}, null, 8, ["class", "mode", "modelValue"])
|
|
5172
5179
|
], 2));
|
|
5173
5180
|
}
|
|
5174
|
-
}),
|
|
5181
|
+
}), Ms = /* @__PURE__ */ ue({
|
|
5175
5182
|
__name: "GFormTagInput",
|
|
5176
5183
|
props: {
|
|
5177
5184
|
inputType: {},
|
|
@@ -5290,7 +5297,7 @@ function so(n = {}) {
|
|
|
5290
5297
|
if (!We(o) && o !== 1) {
|
|
5291
5298
|
let l, r;
|
|
5292
5299
|
try {
|
|
5293
|
-
return l =
|
|
5300
|
+
return l = mt.render(o, { form: n.formModel.value }), r = qn(l, { form: n.formModel.value }), r;
|
|
5294
5301
|
} catch (u) {
|
|
5295
5302
|
console.error(o, u.message);
|
|
5296
5303
|
}
|
|
@@ -5301,7 +5308,7 @@ function so(n = {}) {
|
|
|
5301
5308
|
if (!We(o) && o !== 0) {
|
|
5302
5309
|
let l, r;
|
|
5303
5310
|
try {
|
|
5304
|
-
l =
|
|
5311
|
+
l = mt.render(o, { form: n.formModel.value }), r = qn(l, { form: n.formModel.value });
|
|
5305
5312
|
} catch (u) {
|
|
5306
5313
|
console.error(o, u.message);
|
|
5307
5314
|
}
|
|
@@ -5314,7 +5321,7 @@ function so(n = {}) {
|
|
|
5314
5321
|
handleItemDisableIf: t
|
|
5315
5322
|
};
|
|
5316
5323
|
}
|
|
5317
|
-
const
|
|
5324
|
+
const _s = ["id"], Is = /* @__PURE__ */ ue({
|
|
5318
5325
|
__name: "GFormItem",
|
|
5319
5326
|
props: {
|
|
5320
5327
|
formItem: {},
|
|
@@ -5380,7 +5387,7 @@ const ks = ["id"], Ms = /* @__PURE__ */ ue({
|
|
|
5380
5387
|
const M = Q("t-divider"), U = Q("t-tooltip"), P = Q("t-form-item");
|
|
5381
5388
|
return v(), W("div", {
|
|
5382
5389
|
ref: "formItemRef",
|
|
5383
|
-
class: Z(`${h(
|
|
5390
|
+
class: Z(`${h(Eo)}`),
|
|
5384
5391
|
id: N.value
|
|
5385
5392
|
}, [
|
|
5386
5393
|
f.value ? (v(), W(de, { key: 0 }, [
|
|
@@ -5398,7 +5405,7 @@ const ks = ["id"], Ms = /* @__PURE__ */ ue({
|
|
|
5398
5405
|
id: m.formItem.keyName,
|
|
5399
5406
|
requiredMark: m.formItem.required && !c.value,
|
|
5400
5407
|
name: m.formItem.inputType != "RE_PASSWORD" ? m.formItem.keyName : "rePassword",
|
|
5401
|
-
class: Z([`${m.isLabelNameShow ? "" : `${h(
|
|
5408
|
+
class: Z([`${m.isLabelNameShow ? "" : `${h(Eo)}-label--hidden`}`])
|
|
5402
5409
|
}, {
|
|
5403
5410
|
label: C(() => [
|
|
5404
5411
|
F(U, {
|
|
@@ -5428,7 +5435,7 @@ const ks = ["id"], Ms = /* @__PURE__ */ ue({
|
|
|
5428
5435
|
default: C(() => {
|
|
5429
5436
|
var k, x, D, A;
|
|
5430
5437
|
return [
|
|
5431
|
-
m.formItem.itemType === "label" ? (v(), $(
|
|
5438
|
+
m.formItem.itemType === "label" ? (v(), $(Ta, {
|
|
5432
5439
|
key: 0,
|
|
5433
5440
|
formItem: m.formItem,
|
|
5434
5441
|
formModel: r.value,
|
|
@@ -5450,26 +5457,26 @@ const ks = ["id"], Ms = /* @__PURE__ */ ue({
|
|
|
5450
5457
|
disabled: c.value,
|
|
5451
5458
|
"onUpdate:modelValue": w[1] || (w[1] = (T) => s("rePassword", T))
|
|
5452
5459
|
}), null, 16, ["formItem", "inputType", "modelValue", "placeholder", "disabled"])) : X("", !0),
|
|
5453
|
-
m.formItem.itemType === "check_box" ? (v(), $(
|
|
5460
|
+
m.formItem.itemType === "check_box" ? (v(), $(Ca, Ee({ key: 3 }, m.componentProps, {
|
|
5454
5461
|
modelValue: h(fe)(r.value, m.formItem.keyName, !1),
|
|
5455
5462
|
disabled: c.value,
|
|
5456
5463
|
"onUpdate:modelValue": w[2] || (w[2] = (T) => s(m.formItem.keyName, T))
|
|
5457
5464
|
}), null, 16, ["modelValue", "disabled"])) : X("", !0),
|
|
5458
|
-
m.formItem.itemType === "switch" ? (v(), $(
|
|
5465
|
+
m.formItem.itemType === "switch" ? (v(), $(ka, Ee({ key: 4 }, m.componentProps, {
|
|
5459
5466
|
formItem: m.formItem,
|
|
5460
5467
|
viewName: m.viewName,
|
|
5461
5468
|
modelValue: h(fe)(r.value, m.formItem.keyName, !1),
|
|
5462
5469
|
disabled: c.value,
|
|
5463
5470
|
"onUpdate:modelValue": w[3] || (w[3] = (T) => s(m.formItem.keyName, T))
|
|
5464
5471
|
}), null, 16, ["formItem", "viewName", "modelValue", "disabled"])) : X("", !0),
|
|
5465
|
-
m.formItem.itemType === "radio" ? (v(), $(
|
|
5472
|
+
m.formItem.itemType === "radio" ? (v(), $(Ma, Ee({ key: 5 }, m.componentProps, {
|
|
5466
5473
|
modelValue: h(fe)(r.value, m.formItem.keyName),
|
|
5467
5474
|
formItem: m.formItem,
|
|
5468
5475
|
viewName: m.viewName,
|
|
5469
5476
|
disabled: c.value,
|
|
5470
5477
|
"onUpdate:modelValue": w[4] || (w[4] = (T) => s(m.formItem.keyName, T))
|
|
5471
5478
|
}), null, 16, ["modelValue", "formItem", "viewName", "disabled"])) : X("", !0),
|
|
5472
|
-
m.formItem.itemType === "selector" || m.formItem.itemType === "multi_selector" ? (v(), $(
|
|
5479
|
+
m.formItem.itemType === "selector" || m.formItem.itemType === "multi_selector" ? (v(), $(_a, Ee({ key: 6 }, m.componentProps, {
|
|
5473
5480
|
key: (D = m.formItem.listData) == null ? void 0 : D.dataId,
|
|
5474
5481
|
modelValue: h(fe)(r.value, m.formItem.keyName),
|
|
5475
5482
|
formItem: m.formItem,
|
|
@@ -5479,7 +5486,7 @@ const ks = ["id"], Ms = /* @__PURE__ */ ue({
|
|
|
5479
5486
|
placeholder: E.value,
|
|
5480
5487
|
"onUpdate:modelValue": w[5] || (w[5] = (T) => s(m.formItem.keyName, T))
|
|
5481
5488
|
}), null, 16, ["modelValue", "formItem", "viewName", "multiple", "disabled", "placeholder"])) : X("", !0),
|
|
5482
|
-
m.formItem.itemType === "date_selector" || m.formItem.itemType === "time_selector" || m.formItem.itemType === "date_time_selector" ? (v(), $(
|
|
5489
|
+
m.formItem.itemType === "date_selector" || m.formItem.itemType === "time_selector" || m.formItem.itemType === "date_time_selector" ? (v(), $(Ia, Ee({ key: 7 }, m.componentProps, {
|
|
5483
5490
|
modelValue: h(fe)(r.value, m.formItem.keyName),
|
|
5484
5491
|
formItem: m.formItem,
|
|
5485
5492
|
viewName: m.viewName,
|
|
@@ -5487,7 +5494,7 @@ const ks = ["id"], Ms = /* @__PURE__ */ ue({
|
|
|
5487
5494
|
placeholder: E.value,
|
|
5488
5495
|
"onUpdate:modelValue": w[6] || (w[6] = (T) => s(m.formItem.keyName, T))
|
|
5489
5496
|
}), null, 16, ["modelValue", "formItem", "viewName", "disabled", "placeholder"])) : X("", !0),
|
|
5490
|
-
m.formItem.itemType == "delay_selector" ? (v(), $(
|
|
5497
|
+
m.formItem.itemType == "delay_selector" ? (v(), $(Cs, Ee({ key: 8 }, m.componentProps, {
|
|
5491
5498
|
modelValue: h(fe)(r.value, m.formItem.keyName),
|
|
5492
5499
|
formItem: m.formItem,
|
|
5493
5500
|
viewName: m.viewName,
|
|
@@ -5495,7 +5502,7 @@ const ks = ["id"], Ms = /* @__PURE__ */ ue({
|
|
|
5495
5502
|
placeholder: E.value,
|
|
5496
5503
|
"onUpdate:modelValue": w[7] || (w[7] = (T) => s(m.formItem.keyName, T))
|
|
5497
5504
|
}), null, 16, ["modelValue", "formItem", "viewName", "disabled", "placeholder"])) : X("", !0),
|
|
5498
|
-
m.formItem.itemType === "tree_check_box" ? (v(), $(
|
|
5505
|
+
m.formItem.itemType === "tree_check_box" ? (v(), $(La, Ee({ key: 9 }, m.componentProps, {
|
|
5499
5506
|
modelValue: h(fe)(r.value, m.formItem.keyName),
|
|
5500
5507
|
formItem: m.formItem,
|
|
5501
5508
|
viewName: m.viewName,
|
|
@@ -5503,7 +5510,7 @@ const ks = ["id"], Ms = /* @__PURE__ */ ue({
|
|
|
5503
5510
|
placeholder: E.value,
|
|
5504
5511
|
"onUpdate:modelValue": w[8] || (w[8] = (T) => s(m.formItem.keyName, T))
|
|
5505
5512
|
}), null, 16, ["modelValue", "formItem", "viewName", "disabled", "placeholder"])) : X("", !0),
|
|
5506
|
-
m.formItem.itemType === "multi_tree_selector" || m.formItem.itemType === "tree_selector" ? (v(), $(
|
|
5513
|
+
m.formItem.itemType === "multi_tree_selector" || m.formItem.itemType === "tree_selector" ? (v(), $(Sa, Ee({ key: 10 }, m.componentProps, {
|
|
5507
5514
|
modelValue: h(fe)(r.value, m.formItem.keyName),
|
|
5508
5515
|
formItem: m.formItem,
|
|
5509
5516
|
viewName: m.viewName,
|
|
@@ -5512,7 +5519,7 @@ const ks = ["id"], Ms = /* @__PURE__ */ ue({
|
|
|
5512
5519
|
placeholder: E.value,
|
|
5513
5520
|
"onUpdate:modelValue": w[9] || (w[9] = (T) => s(m.formItem.keyName, T))
|
|
5514
5521
|
}), null, 16, ["modelValue", "formItem", "viewName", "multiple", "disabled", "placeholder"])) : X("", !0),
|
|
5515
|
-
m.formItem.itemType === "file" ? (v(), $(
|
|
5522
|
+
m.formItem.itemType === "file" ? (v(), $(Da, Ee({ key: 11 }, m.componentProps, {
|
|
5516
5523
|
modelValue: h(fe)(r.value, m.formItem.keyName),
|
|
5517
5524
|
formItem: m.formItem,
|
|
5518
5525
|
viewName: m.viewName,
|
|
@@ -5522,7 +5529,7 @@ const ks = ["id"], Ms = /* @__PURE__ */ ue({
|
|
|
5522
5529
|
"onUpdate:fileName": w[10] || (w[10] = (T) => m.formItem.filenameKeyName && s(m.formItem.filenameKeyName, T)),
|
|
5523
5530
|
"onUpdate:modelValue": w[11] || (w[11] = (T) => s(m.formItem.keyName, T))
|
|
5524
5531
|
}), null, 16, ["modelValue", "formItem", "viewName", "disabled", "placeholder", "fileName"])) : X("", !0),
|
|
5525
|
-
m.formItem.itemType === "tag" ? (v(), $(
|
|
5532
|
+
m.formItem.itemType === "tag" ? (v(), $(Ms, Ee({ key: 12 }, m.componentProps, {
|
|
5526
5533
|
modelValue: h(fe)(r.value, m.formItem.keyName),
|
|
5527
5534
|
formItem: m.formItem,
|
|
5528
5535
|
viewName: m.viewName,
|
|
@@ -5530,7 +5537,7 @@ const ks = ["id"], Ms = /* @__PURE__ */ ue({
|
|
|
5530
5537
|
placeholder: E.value,
|
|
5531
5538
|
"onUpdate:modelValue": w[12] || (w[12] = (T) => s(m.formItem.keyName, T))
|
|
5532
5539
|
}), null, 16, ["modelValue", "formItem", "viewName", "disabled", "placeholder"])) : X("", !0),
|
|
5533
|
-
m.formItem.itemType === "rich_text" ? (v(), $(
|
|
5540
|
+
m.formItem.itemType === "rich_text" ? (v(), $(ks, Ee({ key: 13 }, m.componentProps, {
|
|
5534
5541
|
modelValue: h(fe)(r.value, m.formItem.keyName),
|
|
5535
5542
|
formItem: m.formItem,
|
|
5536
5543
|
viewName: m.viewName,
|
|
@@ -5543,11 +5550,11 @@ const ks = ["id"], Ms = /* @__PURE__ */ ue({
|
|
|
5543
5550
|
_: 1
|
|
5544
5551
|
}, 8, ["id", "requiredMark", "name", "class"])) : X("", !0)
|
|
5545
5552
|
], 64)) : X("", !0)
|
|
5546
|
-
], 10,
|
|
5553
|
+
], 10, _s);
|
|
5547
5554
|
};
|
|
5548
5555
|
}
|
|
5549
5556
|
});
|
|
5550
|
-
const Cn = /* @__PURE__ */ ht(
|
|
5557
|
+
const Cn = /* @__PURE__ */ ht(Is, [["__scopeId", "data-v-9b1bb63e"]]), Ls = ["id"], Ea = /* @__PURE__ */ ue({
|
|
5551
5558
|
__name: "GFormBlock",
|
|
5552
5559
|
props: {
|
|
5553
5560
|
name: {},
|
|
@@ -5583,9 +5590,9 @@ const Cn = /* @__PURE__ */ ht(Ms, [["__scopeId", "data-v-9b1bb63e"]]), _s = ["id
|
|
|
5583
5590
|
id: o.value,
|
|
5584
5591
|
ref_key: "blockRef",
|
|
5585
5592
|
ref: l
|
|
5586
|
-
}, null, 8,
|
|
5593
|
+
}, null, 8, Ls));
|
|
5587
5594
|
}
|
|
5588
|
-
}),
|
|
5595
|
+
}), Ss = /* @__PURE__ */ ue({
|
|
5589
5596
|
__name: "GDialogForm",
|
|
5590
5597
|
props: {
|
|
5591
5598
|
viewName: {},
|
|
@@ -5754,7 +5761,7 @@ const Cn = /* @__PURE__ */ ht(Ms, [["__scopeId", "data-v-9b1bb63e"]]), _s = ["id
|
|
|
5754
5761
|
(v(!0), W(de, null, Se(r.value, (D) => (v(), W(de, {
|
|
5755
5762
|
key: `${D.name}_${D.keyName}`
|
|
5756
5763
|
}, [
|
|
5757
|
-
D.itemType === "block_start" || D.itemType === "block_end" ? (v(), $(
|
|
5764
|
+
D.itemType === "block_start" || D.itemType === "block_end" ? (v(), $(Ea, {
|
|
5758
5765
|
key: 0,
|
|
5759
5766
|
ref_for: !0,
|
|
5760
5767
|
ref_key: "formBlockRef",
|
|
@@ -5816,7 +5823,7 @@ const Cn = /* @__PURE__ */ ht(Ms, [["__scopeId", "data-v-9b1bb63e"]]), _s = ["id
|
|
|
5816
5823
|
};
|
|
5817
5824
|
}
|
|
5818
5825
|
});
|
|
5819
|
-
const
|
|
5826
|
+
const Ds = /* @__PURE__ */ ue({
|
|
5820
5827
|
__name: "GDialogBoard",
|
|
5821
5828
|
props: {
|
|
5822
5829
|
board: {},
|
|
@@ -5826,7 +5833,7 @@ const Ls = /* @__PURE__ */ ue({
|
|
|
5826
5833
|
},
|
|
5827
5834
|
emits: ["close-dialog"],
|
|
5828
5835
|
setup(n, { emit: e }) {
|
|
5829
|
-
const t =
|
|
5836
|
+
const t = qo(() => Promise.resolve().then(() => Ga)), { T: o } = ke(), a = st(), l = n, r = V(() => {
|
|
5830
5837
|
var L, _, I;
|
|
5831
5838
|
return (L = l.board) != null && L.data ? (_ = l.board) == null ? void 0 : _.data.dataId : (I = l.board) != null && I.tableData ? l.board.tableData.dataId : null;
|
|
5832
5839
|
}), u = V(() => {
|
|
@@ -5851,7 +5858,7 @@ const Ls = /* @__PURE__ */ ue({
|
|
|
5851
5858
|
async function p(L, _) {
|
|
5852
5859
|
f.value && (f.value.formOkButtonLoading || (f.value.formOkButtonLoading = !0));
|
|
5853
5860
|
let I = {};
|
|
5854
|
-
return Object.keys(i.value).length && Object.assign(I, i.value), Object.assign(I, L), (await
|
|
5861
|
+
return Object.keys(i.value).length && Object.assign(I, i.value), Object.assign(I, L), (await wa({
|
|
5855
5862
|
buttonId: _,
|
|
5856
5863
|
props: I,
|
|
5857
5864
|
viewName: l.viewName
|
|
@@ -5866,7 +5873,7 @@ const Ls = /* @__PURE__ */ ue({
|
|
|
5866
5873
|
const j = Y({}), E = Y(!1);
|
|
5867
5874
|
async function S() {
|
|
5868
5875
|
try {
|
|
5869
|
-
if (E.value = !0, !
|
|
5876
|
+
if (E.value = !0, !lt(r.value) && !lt(l.viewName)) {
|
|
5870
5877
|
const L = await tn({
|
|
5871
5878
|
dataId: r.value,
|
|
5872
5879
|
viewName: l.viewName,
|
|
@@ -5874,6 +5881,7 @@ const Ls = /* @__PURE__ */ ue({
|
|
|
5874
5881
|
});
|
|
5875
5882
|
L.state === 200 && L.data && (j.value = L.data);
|
|
5876
5883
|
}
|
|
5884
|
+
lt(r.value) && (j.value = { ...i.value });
|
|
5877
5885
|
} catch (L) {
|
|
5878
5886
|
console.warn("getViewDataApi", L);
|
|
5879
5887
|
} finally {
|
|
@@ -5898,7 +5906,7 @@ const Ls = /* @__PURE__ */ ue({
|
|
|
5898
5906
|
size: "medium"
|
|
5899
5907
|
}, {
|
|
5900
5908
|
default: C(() => [
|
|
5901
|
-
F(
|
|
5909
|
+
F(Ss, {
|
|
5902
5910
|
ref_key: "gFormRef",
|
|
5903
5911
|
ref: f,
|
|
5904
5912
|
viewName: L.viewName,
|
|
@@ -5914,7 +5922,7 @@ const Ls = /* @__PURE__ */ ue({
|
|
|
5914
5922
|
}, 8, ["loading"]));
|
|
5915
5923
|
};
|
|
5916
5924
|
}
|
|
5917
|
-
}),
|
|
5925
|
+
}), Ns = ["src"], Es = /* @__PURE__ */ ue({
|
|
5918
5926
|
__name: "GDialog",
|
|
5919
5927
|
props: {
|
|
5920
5928
|
isDialogVisible: { type: Boolean, default: !1 },
|
|
@@ -5926,7 +5934,7 @@ const Ls = /* @__PURE__ */ ue({
|
|
|
5926
5934
|
emits: ["update:isDialogVisible", "close-dialog"],
|
|
5927
5935
|
setup(n, { emit: e }) {
|
|
5928
5936
|
const { T: t } = ke();
|
|
5929
|
-
|
|
5937
|
+
qo(() => Promise.resolve().then(() => Ga));
|
|
5930
5938
|
const o = n, a = e, l = lo(), r = V(() => o.dialogViewInfo.view), u = V(() => o.dialogViewInfo.name), i = V(() => {
|
|
5931
5939
|
var S;
|
|
5932
5940
|
return ((S = o.dialogViewBoard) == null ? void 0 : S.boardType) ?? "default";
|
|
@@ -5966,7 +5974,7 @@ const Ls = /* @__PURE__ */ ue({
|
|
|
5966
5974
|
}
|
|
5967
5975
|
return (S, L) => {
|
|
5968
5976
|
const _ = Q("t-loading");
|
|
5969
|
-
return v(), $(h(
|
|
5977
|
+
return v(), $(h(pa), {
|
|
5970
5978
|
commonDialogProps: {
|
|
5971
5979
|
visible: S.isDialogVisible,
|
|
5972
5980
|
width: d.value,
|
|
@@ -5983,7 +5991,7 @@ const Ls = /* @__PURE__ */ ue({
|
|
|
5983
5991
|
text: `${h(t).t("加载中")}`
|
|
5984
5992
|
}, {
|
|
5985
5993
|
default: C(() => [
|
|
5986
|
-
S.dialogType === "view" ? (v(), $(
|
|
5994
|
+
S.dialogType === "view" ? (v(), $(Ds, {
|
|
5987
5995
|
key: 0,
|
|
5988
5996
|
viewName: r.value,
|
|
5989
5997
|
board: S.dialogViewBoard,
|
|
@@ -5999,7 +6007,7 @@ const Ls = /* @__PURE__ */ ue({
|
|
|
5999
6007
|
frameborder: "0",
|
|
6000
6008
|
onload: E,
|
|
6001
6009
|
style: { width: "100%", height: "720px" }
|
|
6002
|
-
}, null, 8,
|
|
6010
|
+
}, null, 8, Ns)) : X("", !0)
|
|
6003
6011
|
]),
|
|
6004
6012
|
_: 1
|
|
6005
6013
|
}, 8, ["loading", "text"])
|
|
@@ -6009,7 +6017,7 @@ const Ls = /* @__PURE__ */ ue({
|
|
|
6009
6017
|
};
|
|
6010
6018
|
}
|
|
6011
6019
|
});
|
|
6012
|
-
const
|
|
6020
|
+
const As = Ye(Es), Fs = { class: "g-form" }, $s = { class: "g-form-header" }, Bs = { class: "title" }, Ps = /* @__PURE__ */ ue({
|
|
6013
6021
|
__name: "GForm",
|
|
6014
6022
|
props: {
|
|
6015
6023
|
viewName: {},
|
|
@@ -6018,10 +6026,10 @@ const Ns = Ye(Ds), Es = { class: "g-form" }, As = { class: "g-form-header" }, Fs
|
|
|
6018
6026
|
},
|
|
6019
6027
|
emits: ["confirm-form", "confirm-and-close", "close-dialog"],
|
|
6020
6028
|
setup(n, { expose: e, emit: t }) {
|
|
6021
|
-
const { T: o } = ke(), a = Ln(), l = kt(), r = ze(
|
|
6029
|
+
const { T: o } = ke(), a = Ln(), l = kt(), r = ze(ca, ""), u = n, i = V(() => "280px"), d = V(() => {
|
|
6022
6030
|
var B;
|
|
6023
6031
|
return (B = u.board) == null ? void 0 : B.formItems;
|
|
6024
|
-
}), s = Y({}), { handleItemShowIf: c } = so({ formModel: s }), f =
|
|
6032
|
+
}), s = Y({}), { handleItemShowIf: c } = so({ formModel: s }), f = st();
|
|
6025
6033
|
function p() {
|
|
6026
6034
|
const B = a.getFormData(f.fullPath);
|
|
6027
6035
|
B && Object.keys(B).length && Object.keys(s.value).forEach((g) => {
|
|
@@ -6030,7 +6038,7 @@ const Ns = Ye(Ds), Es = { class: "g-form" }, As = { class: "g-form-header" }, Fs
|
|
|
6030
6038
|
}
|
|
6031
6039
|
function y(B) {
|
|
6032
6040
|
if (l.findExistTabMenuItem({ path: B }) && Object.keys(s.value).length) {
|
|
6033
|
-
const b =
|
|
6041
|
+
const b = sa(s.value, u.formData);
|
|
6034
6042
|
b && Object.keys(b).length && a.setFormData(B, b);
|
|
6035
6043
|
}
|
|
6036
6044
|
}
|
|
@@ -6174,15 +6182,15 @@ const Ns = Ye(Ds), Es = { class: "g-form" }, As = { class: "g-form-header" }, Fs
|
|
|
6174
6182
|
const T = Y(!1);
|
|
6175
6183
|
return e({
|
|
6176
6184
|
formOkButtonLoading: T
|
|
6177
|
-
}), V(() => l.tabMenuList),
|
|
6185
|
+
}), V(() => l.tabMenuList), Qo((B, g) => {
|
|
6178
6186
|
y(g.fullPath);
|
|
6179
|
-
}),
|
|
6187
|
+
}), Xo((B, g) => {
|
|
6180
6188
|
y(g.fullPath);
|
|
6181
6189
|
}), (B, g) => {
|
|
6182
6190
|
const b = Q("t-button"), z = Q("t-space");
|
|
6183
|
-
return v(), W("div",
|
|
6184
|
-
ne("div",
|
|
6185
|
-
ne("div",
|
|
6191
|
+
return v(), W("div", Fs, [
|
|
6192
|
+
ne("div", $s, [
|
|
6193
|
+
ne("div", Bs, te(h(r)), 1),
|
|
6186
6194
|
F(z, {
|
|
6187
6195
|
size: "8px",
|
|
6188
6196
|
class: "buttons"
|
|
@@ -6240,7 +6248,7 @@ const Ns = Ye(Ds), Es = { class: "g-form" }, As = { class: "g-form-header" }, Fs
|
|
|
6240
6248
|
(v(!0), W(de, null, Se(d.value, (G) => (v(), W(de, {
|
|
6241
6249
|
key: `${G.name}_${G.keyName}`
|
|
6242
6250
|
}, [
|
|
6243
|
-
G.itemType === "block_start" || G.itemType === "block_end" ? (v(), $(
|
|
6251
|
+
G.itemType === "block_start" || G.itemType === "block_end" ? (v(), $(Ea, {
|
|
6244
6252
|
key: 0,
|
|
6245
6253
|
ref_for: !0,
|
|
6246
6254
|
ref_key: "formBlockRef",
|
|
@@ -6267,7 +6275,7 @@ const Ns = Ye(Ds), Es = { class: "g-form" }, As = { class: "g-form-header" }, Fs
|
|
|
6267
6275
|
};
|
|
6268
6276
|
}
|
|
6269
6277
|
});
|
|
6270
|
-
const
|
|
6278
|
+
const xs = /* @__PURE__ */ ht(Ps, [["__scopeId", "data-v-24093af1"]]), Vs = Ye(xs), Os = /* @__PURE__ */ ue({
|
|
6271
6279
|
__name: "GHeaderUpload",
|
|
6272
6280
|
props: {
|
|
6273
6281
|
button: {},
|
|
@@ -6284,7 +6292,7 @@ const Bs = /* @__PURE__ */ ht($s, [["__scopeId", "data-v-24093af1"]]), Ps = Ye(B
|
|
|
6284
6292
|
f && f.state == 200 && r({ fileUrls: [y], filenames: [p] });
|
|
6285
6293
|
}
|
|
6286
6294
|
} else if (((c = t.button) == null ? void 0 : c.fileUploadType) == "path" && d.length && i.every((f) => f.url)) {
|
|
6287
|
-
const f =
|
|
6295
|
+
const f = ga(d);
|
|
6288
6296
|
r({ folderTree: f });
|
|
6289
6297
|
}
|
|
6290
6298
|
}
|
|
@@ -6304,7 +6312,7 @@ const Bs = /* @__PURE__ */ ht($s, [["__scopeId", "data-v-24093af1"]]), Ps = Ye(B
|
|
|
6304
6312
|
...l.value
|
|
6305
6313
|
}
|
|
6306
6314
|
};
|
|
6307
|
-
console.log(d),
|
|
6315
|
+
console.log(d), ms(d).then((y) => {
|
|
6308
6316
|
y.state == 200 ? he.success(`${e.t("导入成功")}`) : console.log("导入失败", y.message);
|
|
6309
6317
|
});
|
|
6310
6318
|
}
|
|
@@ -6328,12 +6336,12 @@ const Bs = /* @__PURE__ */ ht($s, [["__scopeId", "data-v-24093af1"]]), Ps = Ye(B
|
|
|
6328
6336
|
}), null, 16, ["buttonText", "accept"]);
|
|
6329
6337
|
};
|
|
6330
6338
|
}
|
|
6331
|
-
}),
|
|
6339
|
+
}), Us = {
|
|
6332
6340
|
class: "g-header"
|
|
6333
|
-
},
|
|
6341
|
+
}, Rs = {
|
|
6334
6342
|
key: 0,
|
|
6335
6343
|
class: "g-header-form"
|
|
6336
|
-
},
|
|
6344
|
+
}, js = /* @__PURE__ */ ue({
|
|
6337
6345
|
__name: "GHeader",
|
|
6338
6346
|
props: {
|
|
6339
6347
|
board: {},
|
|
@@ -6381,7 +6389,7 @@ const Bs = /* @__PURE__ */ ht($s, [["__scopeId", "data-v-24093af1"]]), Ps = Ye(B
|
|
|
6381
6389
|
return _.itemType == "selector" ? {
|
|
6382
6390
|
filterable: !0
|
|
6383
6391
|
} : _.itemType == "text_input" ? {
|
|
6384
|
-
suffixIcon: () => F(
|
|
6392
|
+
suffixIcon: () => F(kl, null, null)
|
|
6385
6393
|
} : {};
|
|
6386
6394
|
}
|
|
6387
6395
|
function N() {
|
|
@@ -6397,7 +6405,7 @@ const Bs = /* @__PURE__ */ ht($s, [["__scopeId", "data-v-24093af1"]]), Ps = Ye(B
|
|
|
6397
6405
|
function E(_) {
|
|
6398
6406
|
a("display-columns-change", _);
|
|
6399
6407
|
}
|
|
6400
|
-
const S =
|
|
6408
|
+
const S = st(), L = Ln();
|
|
6401
6409
|
return Ue(() => {
|
|
6402
6410
|
const _ = L.getFormData(S.fullPath);
|
|
6403
6411
|
_ != null && _.formData && (c.value = {
|
|
@@ -6405,13 +6413,13 @@ const Bs = /* @__PURE__ */ ht($s, [["__scopeId", "data-v-24093af1"]]), Ps = Ye(B
|
|
|
6405
6413
|
}, a("header-filter-change", c.value));
|
|
6406
6414
|
}), (_, I) => {
|
|
6407
6415
|
const m = Q("t-button"), w = Q("t-space");
|
|
6408
|
-
return v(), W("div",
|
|
6416
|
+
return v(), W("div", Us, [F(w, {
|
|
6409
6417
|
class: "g-header-button",
|
|
6410
6418
|
size: "8px"
|
|
6411
6419
|
}, {
|
|
6412
6420
|
default: C(() => [(v(!0), W(de, null, Se(l.value, (M) => (v(), W(de, {
|
|
6413
6421
|
key: M.buttonId
|
|
6414
|
-
}, [M.action == "UPLOAD_FILE" ? (v(), $(
|
|
6422
|
+
}, [M.action == "UPLOAD_FILE" ? (v(), $(Os, {
|
|
6415
6423
|
key: 0,
|
|
6416
6424
|
button: M,
|
|
6417
6425
|
viewName: _.viewName
|
|
@@ -6424,7 +6432,7 @@ const Bs = /* @__PURE__ */ ht($s, [["__scopeId", "data-v-24093af1"]]), Ps = Ye(B
|
|
|
6424
6432
|
_: 2
|
|
6425
6433
|
}, 1032, ["onClick"]))], 64))), 128))]),
|
|
6426
6434
|
_: 1
|
|
6427
|
-
}), i.value.length || d.value.length ? (v(), W("div",
|
|
6435
|
+
}), i.value.length || d.value.length ? (v(), W("div", Rs, [F(w, {
|
|
6428
6436
|
size: "8px"
|
|
6429
6437
|
}, {
|
|
6430
6438
|
default: C(() => [(v(!0), W(de, null, Se(i.value, (M, U) => (v(), W("div", {
|
|
@@ -6456,7 +6464,7 @@ const Bs = /* @__PURE__ */ ht($s, [["__scopeId", "data-v-24093af1"]]), Ps = Ye(B
|
|
|
6456
6464
|
}, {
|
|
6457
6465
|
default: C(() => [re(te(h(t).t("重置")), 1)]),
|
|
6458
6466
|
_: 1
|
|
6459
|
-
}), F(h(
|
|
6467
|
+
}), F(h(us), {
|
|
6460
6468
|
columnOptions: j.value,
|
|
6461
6469
|
displayColumns: _.displayColumns,
|
|
6462
6470
|
onConfirm: E
|
|
@@ -6466,7 +6474,7 @@ const Bs = /* @__PURE__ */ ht($s, [["__scopeId", "data-v-24093af1"]]), Ps = Ye(B
|
|
|
6466
6474
|
};
|
|
6467
6475
|
}
|
|
6468
6476
|
});
|
|
6469
|
-
const
|
|
6477
|
+
const zs = /* @__PURE__ */ ht(js, [["__scopeId", "data-v-0d8085b8"]]), Gs = Ye(zs), Hs = /* @__PURE__ */ ue({
|
|
6470
6478
|
__name: "GTableForm",
|
|
6471
6479
|
props: {
|
|
6472
6480
|
col: {},
|
|
@@ -6494,7 +6502,7 @@ const Rs = /* @__PURE__ */ ht(Us, [["__scopeId", "data-v-0d8085b8"]]), js = Ye(R
|
|
|
6494
6502
|
return v(), W("div", {
|
|
6495
6503
|
key: f.keyName
|
|
6496
6504
|
}, [
|
|
6497
|
-
f.itemType === "label" ? (v(), $(
|
|
6505
|
+
f.itemType === "label" ? (v(), $(Ta, {
|
|
6498
6506
|
key: 0,
|
|
6499
6507
|
modelValue: h(fe)(u.value, s.col.colKey),
|
|
6500
6508
|
formItem: f,
|
|
@@ -6510,7 +6518,7 @@ const Rs = /* @__PURE__ */ ht(Us, [["__scopeId", "data-v-0d8085b8"]]), js = Ye(R
|
|
|
6510
6518
|
"onUpdate:modelValue": c[0] || (c[0] = (y) => s.col.colKey && i(s.col.colKey, y)),
|
|
6511
6519
|
"onBlur:modelValue": (y) => d(f)
|
|
6512
6520
|
}, null, 8, ["formItem", "viewName", "inputType", "originValue", "modelValue", "onBlur:modelValue"])) : X("", !0),
|
|
6513
|
-
f.itemType === "check_box" ? (v(), $(
|
|
6521
|
+
f.itemType === "check_box" ? (v(), $(Ca, {
|
|
6514
6522
|
key: 2,
|
|
6515
6523
|
formItem: f,
|
|
6516
6524
|
viewName: s.viewName,
|
|
@@ -6519,7 +6527,7 @@ const Rs = /* @__PURE__ */ ht(Us, [["__scopeId", "data-v-0d8085b8"]]), js = Ye(R
|
|
|
6519
6527
|
"onUpdate:modelValue": c[1] || (c[1] = (y) => s.col.colKey && i(s.col.colKey, y)),
|
|
6520
6528
|
"onBlur:modelValue": (y) => d(f)
|
|
6521
6529
|
}, null, 8, ["formItem", "viewName", "originValue", "modelValue", "onBlur:modelValue"])) : X("", !0),
|
|
6522
|
-
f.itemType === "switch" ? (v(), $(
|
|
6530
|
+
f.itemType === "switch" ? (v(), $(ka, {
|
|
6523
6531
|
key: 3,
|
|
6524
6532
|
formItem: f,
|
|
6525
6533
|
viewName: s.viewName,
|
|
@@ -6528,7 +6536,7 @@ const Rs = /* @__PURE__ */ ht(Us, [["__scopeId", "data-v-0d8085b8"]]), js = Ye(R
|
|
|
6528
6536
|
"onUpdate:modelValue": c[2] || (c[2] = (y) => s.col.colKey && i(s.col.colKey, y)),
|
|
6529
6537
|
"onBlur:modelValue": (y) => d(f)
|
|
6530
6538
|
}, null, 8, ["formItem", "viewName", "originValue", "modelValue", "onBlur:modelValue"])) : X("", !0),
|
|
6531
|
-
f.itemType === "radio" ? (v(), $(
|
|
6539
|
+
f.itemType === "radio" ? (v(), $(Ma, {
|
|
6532
6540
|
key: 4,
|
|
6533
6541
|
originValue: h(fe)(s.row, s.col.colKey),
|
|
6534
6542
|
modelValue: h(fe)(u.value, s.col.colKey),
|
|
@@ -6537,7 +6545,7 @@ const Rs = /* @__PURE__ */ ht(Us, [["__scopeId", "data-v-0d8085b8"]]), js = Ye(R
|
|
|
6537
6545
|
"onUpdate:modelValue": c[3] || (c[3] = (y) => s.col.colKey && i(s.col.colKey, y)),
|
|
6538
6546
|
"onBlur:modelValue": (y) => d(f)
|
|
6539
6547
|
}, null, 8, ["originValue", "modelValue", "formItem", "viewName", "onBlur:modelValue"])) : X("", !0),
|
|
6540
|
-
f.itemType === "selector" || f.itemType === "multi_selector" ? (v(), $(
|
|
6548
|
+
f.itemType === "selector" || f.itemType === "multi_selector" ? (v(), $(_a, {
|
|
6541
6549
|
key: 5,
|
|
6542
6550
|
originValue: h(fe)(s.row, s.col.colKey),
|
|
6543
6551
|
modelValue: h(fe)(u.value, s.col.colKey),
|
|
@@ -6547,7 +6555,7 @@ const Rs = /* @__PURE__ */ ht(Us, [["__scopeId", "data-v-0d8085b8"]]), js = Ye(R
|
|
|
6547
6555
|
"onUpdate:modelValue": c[4] || (c[4] = (y) => s.col.colKey && i(s.col.colKey, y)),
|
|
6548
6556
|
"onBlur:modelValue": (y) => d(f)
|
|
6549
6557
|
}, null, 8, ["originValue", "modelValue", "formItem", "viewName", "multiple", "onBlur:modelValue"])) : X("", !0),
|
|
6550
|
-
f.itemType === "date_selector" || f.itemType === "time_selector" || f.itemType === "date_time_selector" ? (v(), $(
|
|
6558
|
+
f.itemType === "date_selector" || f.itemType === "time_selector" || f.itemType === "date_time_selector" ? (v(), $(Ia, {
|
|
6551
6559
|
key: 6,
|
|
6552
6560
|
originValue: h(fe)(s.row, s.col.colKey),
|
|
6553
6561
|
modelValue: h(fe)(u.value, s.col.colKey),
|
|
@@ -6556,7 +6564,7 @@ const Rs = /* @__PURE__ */ ht(Us, [["__scopeId", "data-v-0d8085b8"]]), js = Ye(R
|
|
|
6556
6564
|
"onUpdate:modelValue": c[5] || (c[5] = (y) => s.col.colKey && i(s.col.colKey, y)),
|
|
6557
6565
|
"onBlur:modelValue": (y) => d(f)
|
|
6558
6566
|
}, null, 8, ["originValue", "modelValue", "formItem", "viewName", "onBlur:modelValue"])) : X("", !0),
|
|
6559
|
-
f.itemType === "tree_check_box" ? (v(), $(
|
|
6567
|
+
f.itemType === "tree_check_box" ? (v(), $(La, {
|
|
6560
6568
|
key: 7,
|
|
6561
6569
|
originValue: h(fe)(s.row, s.col.colKey),
|
|
6562
6570
|
modelValue: h(fe)(u.value, s.col.colKey),
|
|
@@ -6565,7 +6573,7 @@ const Rs = /* @__PURE__ */ ht(Us, [["__scopeId", "data-v-0d8085b8"]]), js = Ye(R
|
|
|
6565
6573
|
"onUpdate:modelValue": c[6] || (c[6] = (y) => s.col.colKey && i(s.col.colKey, y)),
|
|
6566
6574
|
"onBlur:modelValue": (y) => d(f)
|
|
6567
6575
|
}, null, 8, ["originValue", "modelValue", "formItem", "viewName", "onBlur:modelValue"])) : X("", !0),
|
|
6568
|
-
f.itemType === "multi_tree_selector" || f.itemType === "tree_selector" ? (v(), $(
|
|
6576
|
+
f.itemType === "multi_tree_selector" || f.itemType === "tree_selector" ? (v(), $(Sa, {
|
|
6569
6577
|
key: 8,
|
|
6570
6578
|
originValue: h(fe)(s.row, s.col.colKey),
|
|
6571
6579
|
modelValue: h(fe)(u.value, s.col.colKey),
|
|
@@ -6575,7 +6583,7 @@ const Rs = /* @__PURE__ */ ht(Us, [["__scopeId", "data-v-0d8085b8"]]), js = Ye(R
|
|
|
6575
6583
|
"onUpdate:modelValue": c[7] || (c[7] = (y) => s.col.colKey && i(s.col.colKey, y)),
|
|
6576
6584
|
"onBlur:modelValue": (y) => d(f)
|
|
6577
6585
|
}, null, 8, ["originValue", "modelValue", "formItem", "viewName", "multiple", "onBlur:modelValue"])) : X("", !0),
|
|
6578
|
-
f.itemType === "file" ? (v(), $(
|
|
6586
|
+
f.itemType === "file" ? (v(), $(Da, {
|
|
6579
6587
|
key: 9,
|
|
6580
6588
|
modelValue: h(fe)(u.value, s.col.colKey),
|
|
6581
6589
|
formItem: f,
|
|
@@ -6592,7 +6600,7 @@ const Rs = /* @__PURE__ */ ht(Us, [["__scopeId", "data-v-0d8085b8"]]), js = Ye(R
|
|
|
6592
6600
|
function Un(n) {
|
|
6593
6601
|
return n === "" ? n : n === "true" || n == "1";
|
|
6594
6602
|
}
|
|
6595
|
-
function
|
|
6603
|
+
function Ks(n, e) {
|
|
6596
6604
|
return new Promise((t, o) => {
|
|
6597
6605
|
var a = new XMLHttpRequest();
|
|
6598
6606
|
a.responseType = "blob", a.onload = function() {
|
|
@@ -6607,7 +6615,7 @@ function ot(n) {
|
|
|
6607
6615
|
if (typeof n != "string")
|
|
6608
6616
|
throw new TypeError("Path must be a string. Received " + JSON.stringify(n));
|
|
6609
6617
|
}
|
|
6610
|
-
function
|
|
6618
|
+
function xo(n, e) {
|
|
6611
6619
|
for (var t = "", o = 0, a = -1, l = 0, r, u = 0; u <= n.length; ++u) {
|
|
6612
6620
|
if (u < n.length)
|
|
6613
6621
|
r = n.charCodeAt(u);
|
|
@@ -6640,7 +6648,7 @@ function Po(n, e) {
|
|
|
6640
6648
|
}
|
|
6641
6649
|
return t;
|
|
6642
6650
|
}
|
|
6643
|
-
function
|
|
6651
|
+
function Ws(n, e) {
|
|
6644
6652
|
var t = e.dir || e.root, o = e.base || (e.name || "") + (e.ext || "");
|
|
6645
6653
|
return t ? t === e.root ? t + o : t + n + o : o;
|
|
6646
6654
|
}
|
|
@@ -6651,13 +6659,13 @@ var Nt = {
|
|
|
6651
6659
|
var l;
|
|
6652
6660
|
a >= 0 ? l = arguments[a] : (o === void 0 && (o = process.cwd()), l = o), ot(l), l.length !== 0 && (e = l + "/" + e, t = l.charCodeAt(0) === 47);
|
|
6653
6661
|
}
|
|
6654
|
-
return e =
|
|
6662
|
+
return e = xo(e, !t), t ? e.length > 0 ? "/" + e : "/" : e.length > 0 ? e : ".";
|
|
6655
6663
|
},
|
|
6656
6664
|
normalize: function(e) {
|
|
6657
6665
|
if (ot(e), e.length === 0)
|
|
6658
6666
|
return ".";
|
|
6659
6667
|
var t = e.charCodeAt(0) === 47, o = e.charCodeAt(e.length - 1) === 47;
|
|
6660
|
-
return e =
|
|
6668
|
+
return e = xo(e, !t), e.length === 0 && !t && (e = "."), e.length > 0 && o && (e += "/"), t ? "/" + e : e;
|
|
6661
6669
|
},
|
|
6662
6670
|
isAbsolute: function(e) {
|
|
6663
6671
|
return ot(e), e.length > 0 && e.charCodeAt(0) === 47;
|
|
@@ -6767,7 +6775,7 @@ var Nt = {
|
|
|
6767
6775
|
format: function(e) {
|
|
6768
6776
|
if (e === null || typeof e != "object")
|
|
6769
6777
|
throw new TypeError('The "pathObject" argument must be of type Object. Received type ' + typeof e);
|
|
6770
|
-
return
|
|
6778
|
+
return Ws("/", e);
|
|
6771
6779
|
},
|
|
6772
6780
|
parse: function(e) {
|
|
6773
6781
|
ot(e);
|
|
@@ -6796,8 +6804,8 @@ var Nt = {
|
|
|
6796
6804
|
posix: null
|
|
6797
6805
|
};
|
|
6798
6806
|
Nt.posix = Nt;
|
|
6799
|
-
const
|
|
6800
|
-
class
|
|
6807
|
+
const Ys = Nt.extname, Aa = Nt.basename;
|
|
6808
|
+
class qs {
|
|
6801
6809
|
constructor() {
|
|
6802
6810
|
let e = (() => typeof global > "u")(), t = "image/png", o = "image/jpeg", a = "image/jpeg", l = "image/webp", r = "application/pdf", u = "image/svg+xml";
|
|
6803
6811
|
Object.assign(this, {
|
|
@@ -6815,7 +6823,7 @@ class Ws {
|
|
|
6815
6823
|
return this.mimes[e];
|
|
6816
6824
|
}
|
|
6817
6825
|
}
|
|
6818
|
-
function
|
|
6826
|
+
function Qs(n, {
|
|
6819
6827
|
filename: e = "",
|
|
6820
6828
|
extension: t = "",
|
|
6821
6829
|
format: N,
|
|
@@ -6826,7 +6834,7 @@ function Ys(n, {
|
|
|
6826
6834
|
outline: i,
|
|
6827
6835
|
archive: p
|
|
6828
6836
|
} = {}) {
|
|
6829
|
-
var { fromMime: s, toMime: c, expected: f } = new
|
|
6837
|
+
var { fromMime: s, toMime: c, expected: f } = new qs(), p = p || "canvas", y = N || t.replace(/@\d+x$/i, "") || Ys(e), N = s(c(y) || y), j = c(N), E = n.length;
|
|
6830
6838
|
if (!y)
|
|
6831
6839
|
throw new Error(
|
|
6832
6840
|
"Cannot determine image format (use a filename extension or 'format' argument)"
|
|
@@ -6849,7 +6857,7 @@ function Ys(n, {
|
|
|
6849
6857
|
"The quality option must be an number in the 0.0–1.0 range"
|
|
6850
6858
|
);
|
|
6851
6859
|
if (u === void 0) {
|
|
6852
|
-
let m = (t ||
|
|
6860
|
+
let m = (t || Aa(e, y)).match(/@(\d+)x$/i);
|
|
6853
6861
|
u = m ? parseInt(m[1], 10) : 1;
|
|
6854
6862
|
} else if (typeof u != "number" || !Number.isInteger(u) || u < 1)
|
|
6855
6863
|
throw new TypeError("The density option must be a non-negative integer");
|
|
@@ -6953,33 +6961,33 @@ const io = (n, e, t, o) => {
|
|
|
6953
6961
|
u.fillStyle = o, u.fillRect(0, 0, a, l), u.drawImage(n, 0, 0), n = r;
|
|
6954
6962
|
}
|
|
6955
6963
|
return new Promise((a, l) => n.toBlob(a, e, t));
|
|
6956
|
-
},
|
|
6957
|
-
|
|
6958
|
-
},
|
|
6959
|
-
let u = (s) => l.replace("{}", String(s + 1).padStart(r, "0")), i =
|
|
6964
|
+
}, Xs = (...n) => io(...n).then((e) => e.arrayBuffer()), Zs = async (n, e, t, o, a) => {
|
|
6965
|
+
Fa(a, await io(n, e, t, o));
|
|
6966
|
+
}, Js = async (n, e, t, o, a, l, r) => {
|
|
6967
|
+
let u = (s) => l.replace("{}", String(s + 1).padStart(r, "0")), i = Aa(a, ".zip") || "archive", d = new En(i);
|
|
6960
6968
|
await Promise.all(
|
|
6961
6969
|
n.map(async (s, c) => {
|
|
6962
6970
|
let f = u(c);
|
|
6963
6971
|
await d.add(f, await io(s, e, t, o));
|
|
6964
6972
|
})
|
|
6965
|
-
),
|
|
6966
|
-
},
|
|
6973
|
+
), Fa(`${i}.zip`, d.blob);
|
|
6974
|
+
}, Fa = (n, e) => {
|
|
6967
6975
|
const t = window.URL.createObjectURL(e), o = document.createElement("a");
|
|
6968
6976
|
o.style.display = "none", o.href = t, o.setAttribute("download", n), typeof o.download > "u" && o.setAttribute("target", "_blank"), document.body.appendChild(o), o.click(), document.body.removeChild(o), setTimeout(() => window.URL.revokeObjectURL(t), 100);
|
|
6969
|
-
},
|
|
6977
|
+
}, ei = (n, e, t) => n.map((o) => {
|
|
6970
6978
|
if (e == 1 && !t)
|
|
6971
6979
|
return o.canvas;
|
|
6972
6980
|
let a = document.createElement("canvas"), l = a.getContext("2d"), r = o.canvas ? o.canvas : o;
|
|
6973
6981
|
return a.width = r.width * e, a.height = r.height * e, t && (l.fillStyle = t, l.fillRect(0, 0, a.width, a.height)), l.scale(e, e), l.drawImage(r, 0, 0), a;
|
|
6974
|
-
}),
|
|
6975
|
-
(e, t) => Object.assign(new
|
|
6982
|
+
}), ti = { asBuffer: Xs, asDownload: Zs, asZipDownload: Js, atScale: ei, options: Qs }, { asBuffer: jn, asDownload: ni, asZipDownload: oi, atScale: zn, options: Gn } = ti, Vo = Symbol.for("toDataURL"), ai = (n) => new Promise(
|
|
6983
|
+
(e, t) => Object.assign(new $a(), {
|
|
6976
6984
|
crossOrigin: "Anonymous",
|
|
6977
6985
|
onload: e,
|
|
6978
6986
|
onerror: t,
|
|
6979
6987
|
src: n
|
|
6980
6988
|
})
|
|
6981
6989
|
);
|
|
6982
|
-
let
|
|
6990
|
+
let li = class {
|
|
6983
6991
|
constructor(e, t) {
|
|
6984
6992
|
let o = document.createElement("canvas"), a = [];
|
|
6985
6993
|
Object.defineProperty(o, "async", {
|
|
@@ -7008,7 +7016,7 @@ let oi = class {
|
|
|
7008
7016
|
saveAs(u, i) {
|
|
7009
7017
|
i = typeof i == "number" ? { quality: i } : i;
|
|
7010
7018
|
let d = Gn(this.pages, { filename: u, ...i }), { pattern: s, padding: c, mime: f, quality: p, matte: y, density: N, archive: j } = d, E = zn(d.pages, N);
|
|
7011
|
-
return c == null ?
|
|
7019
|
+
return c == null ? ni(E[0], f, p, y, u) : oi(
|
|
7012
7020
|
E,
|
|
7013
7021
|
f,
|
|
7014
7022
|
p,
|
|
@@ -7023,37 +7031,37 @@ let oi = class {
|
|
|
7023
7031
|
let d = Gn(this.pages, { extension: u, ...i }), { mime: s, quality: c, matte: f, pages: p, density: y } = d, N = zn(p, y, f)[0];
|
|
7024
7032
|
return jn(N, s, c, f);
|
|
7025
7033
|
},
|
|
7026
|
-
[
|
|
7034
|
+
[Vo]: o.toDataURL.bind(o),
|
|
7027
7035
|
toDataURL(u = "png", i = {}) {
|
|
7028
7036
|
i = typeof i == "number" ? { quality: i } : i;
|
|
7029
|
-
let d = Gn(this.pages, { extension: u, ...i }), { mime: s, quality: c, matte: f, pages: p, density: y } = d, N = zn(p, y, f)[0], j = N[N === o ?
|
|
7037
|
+
let d = Gn(this.pages, { extension: u, ...i }), { mime: s, quality: c, matte: f, pages: p, density: y } = d, N = zn(p, y, f)[0], j = N[N === o ? Vo : "toDataURL"](s, c);
|
|
7030
7038
|
return Promise.resolve(j);
|
|
7031
7039
|
}
|
|
7032
7040
|
});
|
|
7033
7041
|
}
|
|
7034
7042
|
};
|
|
7035
7043
|
const {
|
|
7036
|
-
CanvasRenderingContext2D:
|
|
7037
|
-
CanvasGradient:
|
|
7038
|
-
CanvasPattern:
|
|
7039
|
-
Image:
|
|
7040
|
-
ImageData:
|
|
7041
|
-
Path2D:
|
|
7042
|
-
DOMMatrix:
|
|
7043
|
-
DOMRect:
|
|
7044
|
-
DOMPoint:
|
|
7045
|
-
} = window,
|
|
7046
|
-
Canvas:
|
|
7047
|
-
loadImage:
|
|
7048
|
-
CanvasRenderingContext2D:
|
|
7049
|
-
CanvasGradient:
|
|
7050
|
-
CanvasPattern:
|
|
7051
|
-
Image:
|
|
7052
|
-
ImageData:
|
|
7053
|
-
Path2D:
|
|
7054
|
-
DOMMatrix:
|
|
7055
|
-
DOMRect:
|
|
7056
|
-
DOMPoint:
|
|
7044
|
+
CanvasRenderingContext2D: ri,
|
|
7045
|
+
CanvasGradient: si,
|
|
7046
|
+
CanvasPattern: ii,
|
|
7047
|
+
Image: $a,
|
|
7048
|
+
ImageData: ui,
|
|
7049
|
+
Path2D: ci,
|
|
7050
|
+
DOMMatrix: di,
|
|
7051
|
+
DOMRect: mi,
|
|
7052
|
+
DOMPoint: fi
|
|
7053
|
+
} = window, pi = {
|
|
7054
|
+
Canvas: li,
|
|
7055
|
+
loadImage: ai,
|
|
7056
|
+
CanvasRenderingContext2D: ri,
|
|
7057
|
+
CanvasGradient: si,
|
|
7058
|
+
CanvasPattern: ii,
|
|
7059
|
+
Image: $a,
|
|
7060
|
+
ImageData: ui,
|
|
7061
|
+
Path2D: ci,
|
|
7062
|
+
DOMMatrix: di,
|
|
7063
|
+
DOMRect: mi,
|
|
7064
|
+
DOMPoint: fi
|
|
7057
7065
|
}, Wt = (n, e, t = {}, o = t) => {
|
|
7058
7066
|
if (Array.isArray(e))
|
|
7059
7067
|
e.forEach((a) => Wt(n, a, t, o));
|
|
@@ -7066,7 +7074,7 @@ const {
|
|
|
7066
7074
|
return t;
|
|
7067
7075
|
}, Et = (n, e) => (t, o, a, l) => {
|
|
7068
7076
|
e(t, o, a) && l(t, n, o, a);
|
|
7069
|
-
},
|
|
7077
|
+
}, hi = (n, e) => (t, o, a, l) => {
|
|
7070
7078
|
const r = [];
|
|
7071
7079
|
let u = t.pos;
|
|
7072
7080
|
for (; e(t, o, a); ) {
|
|
@@ -7076,18 +7084,18 @@ const {
|
|
|
7076
7084
|
u = t.pos, r.push(i);
|
|
7077
7085
|
}
|
|
7078
7086
|
return r;
|
|
7079
|
-
},
|
|
7087
|
+
}, vi = (n) => ({
|
|
7080
7088
|
data: n,
|
|
7081
7089
|
pos: 0
|
|
7082
|
-
}), nt = () => (n) => n.data[n.pos++],
|
|
7083
|
-
const t =
|
|
7090
|
+
}), nt = () => (n) => n.data[n.pos++], Ba = (n = 0) => (e) => e.data[e.pos + n], rt = (n) => (e) => e.data.subarray(e.pos, e.pos += n), An = (n) => (e) => e.data.subarray(e.pos, e.pos + n), Jn = (n) => (e) => Array.from(rt(n)(e)).map((t) => String.fromCharCode(t)).join(""), It = (n) => (e) => {
|
|
7091
|
+
const t = rt(2)(e);
|
|
7084
7092
|
return n ? (t[1] << 8) + t[0] : (t[0] << 8) + t[1];
|
|
7085
|
-
},
|
|
7086
|
-
const l = typeof e == "function" ? e(t, o, a) : e, r =
|
|
7093
|
+
}, Pa = (n, e) => (t, o, a) => {
|
|
7094
|
+
const l = typeof e == "function" ? e(t, o, a) : e, r = rt(n), u = new Array(l);
|
|
7087
7095
|
for (var i = 0; i < l; i++)
|
|
7088
7096
|
u[i] = r(t);
|
|
7089
7097
|
return u;
|
|
7090
|
-
},
|
|
7098
|
+
}, gi = (n, e, t) => {
|
|
7091
7099
|
for (var o = 0, a = 0; a < t; a++)
|
|
7092
7100
|
o += n[e + a] && 2 ** (t - a - 1);
|
|
7093
7101
|
return o;
|
|
@@ -7097,7 +7105,7 @@ const {
|
|
|
7097
7105
|
o[7 - a] = !!(t & 1 << a);
|
|
7098
7106
|
return Object.keys(n).reduce((l, r) => {
|
|
7099
7107
|
const u = n[r];
|
|
7100
|
-
return u.length ? l[r] =
|
|
7108
|
+
return u.length ? l[r] = gi(o, u.index, u.length) : l[r] = o[u.index], l;
|
|
7101
7109
|
}, {});
|
|
7102
7110
|
};
|
|
7103
7111
|
var Fn = {
|
|
@@ -7106,10 +7114,10 @@ var Fn = {
|
|
|
7106
7114
|
for (var a = 0, l = nt()(n); l !== 0 && l; l = nt()(n)) {
|
|
7107
7115
|
if (n.pos + l >= o) {
|
|
7108
7116
|
const d = o - n.pos;
|
|
7109
|
-
t.push(
|
|
7117
|
+
t.push(rt(d)(n)), a += d;
|
|
7110
7118
|
break;
|
|
7111
7119
|
}
|
|
7112
|
-
t.push(
|
|
7120
|
+
t.push(rt(l)(n)), a += l;
|
|
7113
7121
|
}
|
|
7114
7122
|
const r = new Uint8Array(a);
|
|
7115
7123
|
for (var u = 0, i = 0; i < t.length; i++)
|
|
@@ -7117,10 +7125,10 @@ var Fn = {
|
|
|
7117
7125
|
return r;
|
|
7118
7126
|
}
|
|
7119
7127
|
};
|
|
7120
|
-
const
|
|
7128
|
+
const yi = Et(
|
|
7121
7129
|
{
|
|
7122
7130
|
gce: [
|
|
7123
|
-
{ codes:
|
|
7131
|
+
{ codes: rt(2) },
|
|
7124
7132
|
{ byteSize: nt() },
|
|
7125
7133
|
{
|
|
7126
7134
|
extras: uo({
|
|
@@ -7139,7 +7147,7 @@ const vi = Et(
|
|
|
7139
7147
|
var e = An(2)(n);
|
|
7140
7148
|
return e[0] === 33 && e[1] === 249;
|
|
7141
7149
|
}
|
|
7142
|
-
),
|
|
7150
|
+
), bi = Et(
|
|
7143
7151
|
{
|
|
7144
7152
|
image: [
|
|
7145
7153
|
{ code: nt() },
|
|
@@ -7162,21 +7170,21 @@ const vi = Et(
|
|
|
7162
7170
|
},
|
|
7163
7171
|
Et(
|
|
7164
7172
|
{
|
|
7165
|
-
lct:
|
|
7173
|
+
lct: Pa(3, (n, e, t) => Math.pow(2, t.descriptor.lct.size + 1))
|
|
7166
7174
|
},
|
|
7167
7175
|
(n, e, t) => t.descriptor.lct.exists
|
|
7168
7176
|
),
|
|
7169
7177
|
{ data: [{ minCodeSize: nt() }, Fn] }
|
|
7170
7178
|
]
|
|
7171
7179
|
},
|
|
7172
|
-
(n) =>
|
|
7173
|
-
),
|
|
7180
|
+
(n) => Ba()(n) === 44
|
|
7181
|
+
), wi = Et(
|
|
7174
7182
|
{
|
|
7175
7183
|
text: [
|
|
7176
|
-
{ codes:
|
|
7184
|
+
{ codes: rt(2) },
|
|
7177
7185
|
{ blockSize: nt() },
|
|
7178
7186
|
{
|
|
7179
|
-
preData: (n, e, t) =>
|
|
7187
|
+
preData: (n, e, t) => rt(t.text.blockSize)(n)
|
|
7180
7188
|
},
|
|
7181
7189
|
Fn
|
|
7182
7190
|
]
|
|
@@ -7185,10 +7193,10 @@ const vi = Et(
|
|
|
7185
7193
|
var e = An(2)(n);
|
|
7186
7194
|
return e[0] === 33 && e[1] === 1;
|
|
7187
7195
|
}
|
|
7188
|
-
),
|
|
7196
|
+
), Ti = Et(
|
|
7189
7197
|
{
|
|
7190
7198
|
application: [
|
|
7191
|
-
{ codes:
|
|
7199
|
+
{ codes: rt(2) },
|
|
7192
7200
|
{ blockSize: nt() },
|
|
7193
7201
|
{ id: (n, e, t) => Jn(t.blockSize)(n) },
|
|
7194
7202
|
Fn
|
|
@@ -7198,15 +7206,15 @@ const vi = Et(
|
|
|
7198
7206
|
var e = An(2)(n);
|
|
7199
7207
|
return e[0] === 33 && e[1] === 255;
|
|
7200
7208
|
}
|
|
7201
|
-
),
|
|
7209
|
+
), Ci = Et(
|
|
7202
7210
|
{
|
|
7203
|
-
comment: [{ codes:
|
|
7211
|
+
comment: [{ codes: rt(2) }, Fn]
|
|
7204
7212
|
},
|
|
7205
7213
|
(n) => {
|
|
7206
7214
|
var e = An(2)(n);
|
|
7207
7215
|
return e[0] === 33 && e[1] === 254;
|
|
7208
7216
|
}
|
|
7209
|
-
),
|
|
7217
|
+
), ki = [
|
|
7210
7218
|
{ header: [{ signature: Jn(3) }, { version: Jn(3) }] },
|
|
7211
7219
|
{
|
|
7212
7220
|
lsd: [
|
|
@@ -7226,7 +7234,7 @@ const vi = Et(
|
|
|
7226
7234
|
},
|
|
7227
7235
|
Et(
|
|
7228
7236
|
{
|
|
7229
|
-
gct:
|
|
7237
|
+
gct: Pa(
|
|
7230
7238
|
3,
|
|
7231
7239
|
(n, e) => Math.pow(2, e.lsd.gct.size + 1)
|
|
7232
7240
|
)
|
|
@@ -7235,15 +7243,15 @@ const vi = Et(
|
|
|
7235
7243
|
),
|
|
7236
7244
|
// content frames
|
|
7237
7245
|
{
|
|
7238
|
-
frames:
|
|
7239
|
-
[
|
|
7246
|
+
frames: hi(
|
|
7247
|
+
[yi, Ti, Ci, bi, wi],
|
|
7240
7248
|
(n) => {
|
|
7241
|
-
var e =
|
|
7249
|
+
var e = Ba()(n);
|
|
7242
7250
|
return e === 33 || e === 44;
|
|
7243
7251
|
}
|
|
7244
7252
|
)
|
|
7245
7253
|
}
|
|
7246
|
-
],
|
|
7254
|
+
], Mi = (n, e) => {
|
|
7247
7255
|
const t = new Array(n.length), o = n.length / e, a = function(s, c) {
|
|
7248
7256
|
const f = n.slice(c * e, (c + 1) * e);
|
|
7249
7257
|
t.splice.apply(t, [s * e, e].concat(f));
|
|
@@ -7252,7 +7260,7 @@ const vi = Et(
|
|
|
7252
7260
|
for (var d = l[i]; d < o; d += r[i])
|
|
7253
7261
|
a(d, u), u++;
|
|
7254
7262
|
return t;
|
|
7255
|
-
},
|
|
7263
|
+
}, _i = (n, e, t) => {
|
|
7256
7264
|
const l = t;
|
|
7257
7265
|
var r, u, i, d, s, c, f, I, p, y, _, N, m, w, U, M;
|
|
7258
7266
|
const j = new Array(t), E = new Array(4096), S = new Array(4096), L = new Array(4096 + 1);
|
|
@@ -7284,24 +7292,24 @@ const vi = Et(
|
|
|
7284
7292
|
for (y = M; y < l; y++)
|
|
7285
7293
|
j[y] = 0;
|
|
7286
7294
|
return j;
|
|
7287
|
-
},
|
|
7295
|
+
}, Ii = (n) => {
|
|
7288
7296
|
const e = new Uint8Array(n);
|
|
7289
|
-
return Wt(
|
|
7290
|
-
},
|
|
7297
|
+
return Wt(vi(e), ki);
|
|
7298
|
+
}, Li = (n) => {
|
|
7291
7299
|
const e = n.pixels.length, t = new Uint8ClampedArray(e * 4);
|
|
7292
7300
|
for (var o = 0; o < e; o++) {
|
|
7293
7301
|
const a = o * 4, l = n.pixels[o], r = n.colorTable[l];
|
|
7294
7302
|
t[a] = r[0], t[a + 1] = r[1], t[a + 2] = r[2], t[a + 3] = l !== n.transparentIndex ? 255 : 0;
|
|
7295
7303
|
}
|
|
7296
7304
|
return t;
|
|
7297
|
-
},
|
|
7305
|
+
}, Si = (n, e, t) => {
|
|
7298
7306
|
if (!n.image) {
|
|
7299
7307
|
console.warn("gif frame does not have associated image.");
|
|
7300
7308
|
return;
|
|
7301
7309
|
}
|
|
7302
7310
|
const { image: o } = n, a = o.descriptor.width * o.descriptor.height;
|
|
7303
|
-
var l =
|
|
7304
|
-
o.descriptor.lct.interlaced && (l =
|
|
7311
|
+
var l = _i(o.data.minCodeSize, o.data.blocks, a);
|
|
7312
|
+
o.descriptor.lct.interlaced && (l = Mi(l, o.descriptor.width));
|
|
7305
7313
|
const r = {
|
|
7306
7314
|
pixels: l,
|
|
7307
7315
|
dims: {
|
|
@@ -7311,10 +7319,10 @@ const vi = Et(
|
|
|
7311
7319
|
height: n.image.descriptor.height
|
|
7312
7320
|
}
|
|
7313
7321
|
};
|
|
7314
|
-
return o.descriptor.lct && o.descriptor.lct.exists ? r.colorTable = o.lct : r.colorTable = e, n.gce && (r.delay = (n.gce.delay || 10) * 10, r.disposalType = n.gce.extras.disposal, n.gce.extras.transparentColorGiven && (r.transparentIndex = n.gce.transparentColorIndex)), t && (r.patch =
|
|
7315
|
-
},
|
|
7316
|
-
function
|
|
7317
|
-
const o =
|
|
7322
|
+
return o.descriptor.lct && o.descriptor.lct.exists ? r.colorTable = o.lct : r.colorTable = e, n.gce && (r.delay = (n.gce.delay || 10) * 10, r.disposalType = n.gce.extras.disposal, n.gce.extras.transparentColorGiven && (r.transparentIndex = n.gce.transparentColorIndex)), t && (r.patch = Li(r)), r;
|
|
7323
|
+
}, Di = (n, e) => n.frames.filter((t) => t.image).map((t) => Si(t, n.gct, e));
|
|
7324
|
+
function Ni(n, e, t) {
|
|
7325
|
+
const o = xa(e), a = n - 1;
|
|
7318
7326
|
let l = 0;
|
|
7319
7327
|
switch (t) {
|
|
7320
7328
|
case He.L:
|
|
@@ -7332,8 +7340,8 @@ function Si(n, e, t) {
|
|
|
7332
7340
|
}
|
|
7333
7341
|
return o <= l;
|
|
7334
7342
|
}
|
|
7335
|
-
function
|
|
7336
|
-
for (var t = 1, o =
|
|
7343
|
+
function Ei(n, e) {
|
|
7344
|
+
for (var t = 1, o = xa(n), a = 0, l = at.length; a < l; a++) {
|
|
7337
7345
|
var r = 0;
|
|
7338
7346
|
switch (e) {
|
|
7339
7347
|
case He.L:
|
|
@@ -7357,11 +7365,11 @@ function Di(n, e) {
|
|
|
7357
7365
|
throw new Error("Too long data");
|
|
7358
7366
|
return t;
|
|
7359
7367
|
}
|
|
7360
|
-
function
|
|
7368
|
+
function xa(n) {
|
|
7361
7369
|
var e = encodeURI(n).toString().replace(/\%[0-9a-fA-F]{2}/g, "a");
|
|
7362
7370
|
return e.length + (e.length != Number(n) ? 3 : 0);
|
|
7363
7371
|
}
|
|
7364
|
-
class
|
|
7372
|
+
class Ai {
|
|
7365
7373
|
constructor(e) {
|
|
7366
7374
|
this.mode = Qe.MODE_8BIT_BYTE, this.parsedData = [], this.data = e;
|
|
7367
7375
|
const t = [];
|
|
@@ -7385,14 +7393,14 @@ class yt {
|
|
|
7385
7393
|
}
|
|
7386
7394
|
addData(e) {
|
|
7387
7395
|
if (this.typeNumber <= 0)
|
|
7388
|
-
this.typeNumber =
|
|
7396
|
+
this.typeNumber = Ei(e, this.errorCorrectLevel);
|
|
7389
7397
|
else {
|
|
7390
7398
|
if (this.typeNumber > 40)
|
|
7391
7399
|
throw new Error(`Invalid QR version: ${this.typeNumber}`);
|
|
7392
|
-
if (!
|
|
7400
|
+
if (!Ni(this.typeNumber, e, this.errorCorrectLevel))
|
|
7393
7401
|
throw new Error(`Data is too long for QR version: ${this.typeNumber}`);
|
|
7394
7402
|
}
|
|
7395
|
-
const t = new
|
|
7403
|
+
const t = new Ai(e);
|
|
7396
7404
|
this.dataList.push(t), this.dataCache = void 0;
|
|
7397
7405
|
}
|
|
7398
7406
|
isDark(e, t) {
|
|
@@ -7422,7 +7430,7 @@ class yt {
|
|
|
7422
7430
|
t + a <= -1 || this.moduleCount <= t + a || (0 <= o && o <= 6 && (a == 0 || a == 6) || 0 <= a && a <= 6 && (o == 0 || o == 6) || 2 <= o && o <= 4 && 2 <= a && a <= 4 ? this.modules[e + o][t + a] = !0 : this.modules[e + o][t + a] = !1);
|
|
7423
7431
|
}
|
|
7424
7432
|
getBestMaskPattern() {
|
|
7425
|
-
if (Number.isInteger(this.maskPattern) && Object.values(
|
|
7433
|
+
if (Number.isInteger(this.maskPattern) && Object.values(ut).includes(this.maskPattern))
|
|
7426
7434
|
return this.maskPattern;
|
|
7427
7435
|
let e = 0, t = 0;
|
|
7428
7436
|
for (let o = 0; o < 8; o++) {
|
|
@@ -7488,7 +7496,7 @@ class yt {
|
|
|
7488
7496
|
}
|
|
7489
7497
|
}
|
|
7490
7498
|
static createData(e, t, o) {
|
|
7491
|
-
const a =
|
|
7499
|
+
const a = ct.getRSBlocks(e, t), l = new Fi();
|
|
7492
7500
|
for (var r = 0; r < o.length; r++) {
|
|
7493
7501
|
const i = o[r];
|
|
7494
7502
|
l.put(i.mode, 4), l.put(i.getLength(), Ne.getLengthInBits(i.mode, e)), i.write(l);
|
|
@@ -7536,7 +7544,7 @@ class yt {
|
|
|
7536
7544
|
}
|
|
7537
7545
|
yt.PAD0 = 236;
|
|
7538
7546
|
yt.PAD1 = 17;
|
|
7539
|
-
const He = { L: 1, M: 0, Q: 3, H: 2 }, Qe = { MODE_NUMBER: 1, MODE_ALPHA_NUM: 2, MODE_8BIT_BYTE: 4, MODE_KANJI: 8 },
|
|
7547
|
+
const He = { L: 1, M: 0, Q: 3, H: 2 }, Qe = { MODE_NUMBER: 1, MODE_ALPHA_NUM: 2, MODE_8BIT_BYTE: 4, MODE_KANJI: 8 }, ut = {
|
|
7540
7548
|
PATTERN000: 0,
|
|
7541
7549
|
PATTERN001: 1,
|
|
7542
7550
|
PATTERN010: 2,
|
|
@@ -7570,21 +7578,21 @@ class Ne {
|
|
|
7570
7578
|
}
|
|
7571
7579
|
static getMask(e, t, o) {
|
|
7572
7580
|
switch (e) {
|
|
7573
|
-
case
|
|
7581
|
+
case ut.PATTERN000:
|
|
7574
7582
|
return (t + o) % 2 == 0;
|
|
7575
|
-
case
|
|
7583
|
+
case ut.PATTERN001:
|
|
7576
7584
|
return t % 2 == 0;
|
|
7577
|
-
case
|
|
7585
|
+
case ut.PATTERN010:
|
|
7578
7586
|
return o % 3 == 0;
|
|
7579
|
-
case
|
|
7587
|
+
case ut.PATTERN011:
|
|
7580
7588
|
return (t + o) % 3 == 0;
|
|
7581
|
-
case
|
|
7589
|
+
case ut.PATTERN100:
|
|
7582
7590
|
return (Math.floor(t / 2) + Math.floor(o / 3)) % 2 == 0;
|
|
7583
|
-
case
|
|
7591
|
+
case ut.PATTERN101:
|
|
7584
7592
|
return t * o % 2 + t * o % 3 == 0;
|
|
7585
|
-
case
|
|
7593
|
+
case ut.PATTERN110:
|
|
7586
7594
|
return (t * o % 2 + t * o % 3) % 2 == 0;
|
|
7587
|
-
case
|
|
7595
|
+
case ut.PATTERN111:
|
|
7588
7596
|
return (t * o % 3 + (t + o) % 2) % 2 == 0;
|
|
7589
7597
|
default:
|
|
7590
7598
|
throw new Error(`bad maskPattern:${e}`);
|
|
@@ -7775,38 +7783,38 @@ class Ot {
|
|
|
7775
7783
|
return new Ot(o, 0).mod(e);
|
|
7776
7784
|
}
|
|
7777
7785
|
}
|
|
7778
|
-
class
|
|
7786
|
+
class ct {
|
|
7779
7787
|
constructor(e, t) {
|
|
7780
7788
|
this.totalCount = e, this.dataCount = t;
|
|
7781
7789
|
}
|
|
7782
7790
|
static getRSBlocks(e, t) {
|
|
7783
|
-
const o =
|
|
7791
|
+
const o = ct.getRsBlockTable(e, t);
|
|
7784
7792
|
if (o == null)
|
|
7785
7793
|
throw new Error(`bad rs block @ typeNumber:${e}/errorCorrectLevel:${t}`);
|
|
7786
7794
|
const a = o.length / 3, l = [];
|
|
7787
7795
|
for (let r = 0; r < a; r++) {
|
|
7788
7796
|
const u = o[r * 3 + 0], i = o[r * 3 + 1], d = o[r * 3 + 2];
|
|
7789
7797
|
for (let s = 0; s < u; s++)
|
|
7790
|
-
l.push(new
|
|
7798
|
+
l.push(new ct(i, d));
|
|
7791
7799
|
}
|
|
7792
7800
|
return l;
|
|
7793
7801
|
}
|
|
7794
7802
|
static getRsBlockTable(e, t) {
|
|
7795
7803
|
switch (t) {
|
|
7796
7804
|
case He.L:
|
|
7797
|
-
return
|
|
7805
|
+
return ct.RS_BLOCK_TABLE[(e - 1) * 4 + 0];
|
|
7798
7806
|
case He.M:
|
|
7799
|
-
return
|
|
7807
|
+
return ct.RS_BLOCK_TABLE[(e - 1) * 4 + 1];
|
|
7800
7808
|
case He.Q:
|
|
7801
|
-
return
|
|
7809
|
+
return ct.RS_BLOCK_TABLE[(e - 1) * 4 + 2];
|
|
7802
7810
|
case He.H:
|
|
7803
|
-
return
|
|
7811
|
+
return ct.RS_BLOCK_TABLE[(e - 1) * 4 + 3];
|
|
7804
7812
|
default:
|
|
7805
7813
|
return;
|
|
7806
7814
|
}
|
|
7807
7815
|
}
|
|
7808
7816
|
}
|
|
7809
|
-
|
|
7817
|
+
ct.RS_BLOCK_TABLE = [
|
|
7810
7818
|
[1, 26, 19],
|
|
7811
7819
|
[1, 26, 16],
|
|
7812
7820
|
[1, 26, 13],
|
|
@@ -7968,7 +7976,7 @@ ut.RS_BLOCK_TABLE = [
|
|
|
7968
7976
|
[34, 54, 24, 34, 55, 25],
|
|
7969
7977
|
[20, 45, 15, 61, 46, 16]
|
|
7970
7978
|
];
|
|
7971
|
-
class
|
|
7979
|
+
class Fi {
|
|
7972
7980
|
constructor() {
|
|
7973
7981
|
this.buffer = [], this.length = 0;
|
|
7974
7982
|
}
|
|
@@ -8030,8 +8038,8 @@ const at = [
|
|
|
8030
8038
|
[2809, 2213, 1579, 1219],
|
|
8031
8039
|
[2953, 2331, 1663, 1273]
|
|
8032
8040
|
];
|
|
8033
|
-
var
|
|
8034
|
-
function
|
|
8041
|
+
var $i = 100, Oe = 256, Oo = Oe - 1, vt = 4, Va = 16, co = 1 << Va, Oa = 10, mo = 10, Bi = co >> mo, Pi = co << Oa - mo, xi = Oe >> 3, eo = 6, Vi = 1 << eo, Oi = xi * Vi, Ui = 30, Ua = 10, mn = 1 << Ua, Ra = 8, Uo = 1 << Ra, Ri = Ua + Ra, Bt = 1 << Ri, Ro = 499, jo = 491, zo = 487, ja = 503, ji = 3 * ja;
|
|
8042
|
+
function zi(n, e) {
|
|
8035
8043
|
var t, o, a, l, r;
|
|
8036
8044
|
function u() {
|
|
8037
8045
|
t = [], o = new Int32Array(256), a = new Int32Array(Oe), l = new Int32Array(Oe), r = new Int32Array(Oe >> 3);
|
|
@@ -8053,8 +8061,8 @@ function Ri(n, e) {
|
|
|
8053
8061
|
function c(E, S, L) {
|
|
8054
8062
|
var _ = 2147483647, I = _, m = -1, w = m, M, U, P, k, x;
|
|
8055
8063
|
for (M = 0; M < Oe; M++)
|
|
8056
|
-
U = t[M], P = Math.abs(U[0] - E) + Math.abs(U[1] - S) + Math.abs(U[2] - L), P < _ && (_ = P, m = M), k = P - (a[M] >>
|
|
8057
|
-
return l[m] +=
|
|
8064
|
+
U = t[M], P = Math.abs(U[0] - E) + Math.abs(U[1] - S) + Math.abs(U[2] - L), P < _ && (_ = P, m = M), k = P - (a[M] >> Va - vt), k < I && (I = k, w = M), x = l[M] >> mo, l[M] -= x, a[M] += x << Oa;
|
|
8065
|
+
return l[m] += Bi, a[m] -= Pi, w;
|
|
8058
8066
|
}
|
|
8059
8067
|
function f() {
|
|
8060
8068
|
var E, S, L, _, I, m, w = 0, M = 0;
|
|
@@ -8067,8 +8075,8 @@ function Ri(n, e) {
|
|
|
8067
8075
|
w = m, M = E;
|
|
8068
8076
|
}
|
|
8069
8077
|
}
|
|
8070
|
-
for (o[w] = M +
|
|
8071
|
-
o[S] =
|
|
8078
|
+
for (o[w] = M + Oo >> 1, S = w + 1; S < 256; S++)
|
|
8079
|
+
o[S] = Oo;
|
|
8072
8080
|
}
|
|
8073
8081
|
function p(E, S, L) {
|
|
8074
8082
|
for (var _, I, m, w = 1e3, M = -1, U = o[S], P = U - 1; U < Oe || P >= 0; )
|
|
@@ -8076,16 +8084,16 @@ function Ri(n, e) {
|
|
|
8076
8084
|
return M;
|
|
8077
8085
|
}
|
|
8078
8086
|
function y() {
|
|
8079
|
-
var E, S = n.length, L = 30 + (e - 1) / 3, _ = S / (3 * e), I = ~~(_ /
|
|
8087
|
+
var E, S = n.length, L = 30 + (e - 1) / 3, _ = S / (3 * e), I = ~~(_ / $i), m = mn, w = Oi, M = w >> eo;
|
|
8080
8088
|
for (M <= 1 && (M = 0), E = 0; E < M; E++)
|
|
8081
|
-
r[E] = m * ((M * M - E * E) *
|
|
8089
|
+
r[E] = m * ((M * M - E * E) * Uo / (M * M));
|
|
8082
8090
|
var U;
|
|
8083
|
-
S <
|
|
8091
|
+
S < ji ? (e = 1, U = 3) : S % Ro !== 0 ? U = 3 * Ro : S % jo !== 0 ? U = 3 * jo : S % zo !== 0 ? U = 3 * zo : U = 3 * ja;
|
|
8084
8092
|
var P, k, x, D, A = 0;
|
|
8085
8093
|
for (E = 0; E < _; )
|
|
8086
8094
|
if (P = (n[A] & 255) << vt, k = (n[A + 1] & 255) << vt, x = (n[A + 2] & 255) << vt, D = c(P, k, x), d(m, D, P, k, x), M !== 0 && s(M, D, P, k, x), A += U, A >= S && (A -= S), E++, I === 0 && (I = 1), E % I === 0)
|
|
8087
|
-
for (m -= m / L, w -= w /
|
|
8088
|
-
r[D] = m * ((M * M - D * D) *
|
|
8095
|
+
for (m -= m / L, w -= w / Ui, M = w >> eo, M <= 1 && (M = 0), D = 0; D < M; D++)
|
|
8096
|
+
r[D] = m * ((M * M - D * D) * Uo / (M * M));
|
|
8089
8097
|
}
|
|
8090
8098
|
function N() {
|
|
8091
8099
|
u(), y(), i(), f();
|
|
@@ -8102,7 +8110,7 @@ function Ri(n, e) {
|
|
|
8102
8110
|
}
|
|
8103
8111
|
this.getColormap = j, this.lookupRGB = p;
|
|
8104
8112
|
}
|
|
8105
|
-
var
|
|
8113
|
+
var Go = -1, fn = 12, Ht = 5003, Gi = [
|
|
8106
8114
|
0,
|
|
8107
8115
|
1,
|
|
8108
8116
|
3,
|
|
@@ -8121,7 +8129,7 @@ var zo = -1, fn = 12, Ht = 5003, ji = [
|
|
|
8121
8129
|
32767,
|
|
8122
8130
|
65535
|
|
8123
8131
|
];
|
|
8124
|
-
function
|
|
8132
|
+
function Hi(n, e, t, o) {
|
|
8125
8133
|
var a = Math.max(2, o), l = new Uint8Array(256), r = new Int32Array(Ht), u = new Int32Array(Ht), i, d = 0, s, c = 0, f, p = !1, y, N, j, E, S, L;
|
|
8126
8134
|
function _(D, A) {
|
|
8127
8135
|
l[s++] = D, s >= 254 && U(A);
|
|
@@ -8139,7 +8147,7 @@ function zi(n, e, t, o) {
|
|
|
8139
8147
|
++H;
|
|
8140
8148
|
H = 8 - H, G = Ht, m(G), x(N, A);
|
|
8141
8149
|
e:
|
|
8142
|
-
for (; (B = k()) !=
|
|
8150
|
+
for (; (B = k()) != Go; ) {
|
|
8143
8151
|
if (T = (B << fn) + b, g = B << H ^ b, r[g] === T) {
|
|
8144
8152
|
b = u[g];
|
|
8145
8153
|
continue;
|
|
@@ -8167,13 +8175,13 @@ function zi(n, e, t, o) {
|
|
|
8167
8175
|
}
|
|
8168
8176
|
function k() {
|
|
8169
8177
|
if (E === 0)
|
|
8170
|
-
return
|
|
8178
|
+
return Go;
|
|
8171
8179
|
--E;
|
|
8172
8180
|
var D = t[S++];
|
|
8173
8181
|
return D & 255;
|
|
8174
8182
|
}
|
|
8175
8183
|
function x(D, A) {
|
|
8176
|
-
for (i &=
|
|
8184
|
+
for (i &= Gi[d], d > 0 ? i |= D << d : i = D, d += L; d >= 8; )
|
|
8177
8185
|
_(i & 255, A), i >>= 8, d -= 8;
|
|
8178
8186
|
if ((c > f || p) && (p ? (f = P(L = y), p = !1) : (++L, L == fn ? f = 1 << fn : f = P(L))), D == j) {
|
|
8179
8187
|
for (; d > 0; )
|
|
@@ -8261,7 +8269,7 @@ Fe.prototype.writeHeader = function() {
|
|
|
8261
8269
|
this.out.writeUTFBytes("GIF89a");
|
|
8262
8270
|
};
|
|
8263
8271
|
Fe.prototype.analyzePixels = function() {
|
|
8264
|
-
this.colorTab || (this.neuQuant = new
|
|
8272
|
+
this.colorTab || (this.neuQuant = new zi(this.pixels, this.sample), this.neuQuant.buildColormap(), this.colorTab = this.neuQuant.getColormap()), this.dither ? this.ditherPixels(this.dither.replace("-serpentine", ""), this.dither.match(/-serpentine/) !== null) : this.indexPixels(), this.pixels = null, this.colorDepth = 8, this.palSize = 7, this.transparent !== null && (this.transIndex = this.findClosest(this.transparent, !0));
|
|
8265
8273
|
};
|
|
8266
8274
|
Fe.prototype.indexPixels = function(n) {
|
|
8267
8275
|
var e = this.pixels.length / 3;
|
|
@@ -8385,13 +8393,13 @@ Fe.prototype.writeShort = function(n) {
|
|
|
8385
8393
|
this.out.writeByte(n & 255), this.out.writeByte(n >> 8 & 255);
|
|
8386
8394
|
};
|
|
8387
8395
|
Fe.prototype.writePixels = function() {
|
|
8388
|
-
var n = new
|
|
8396
|
+
var n = new Hi(this.width, this.height, this.indexedPixels, this.colorDepth);
|
|
8389
8397
|
n.encode(this.out);
|
|
8390
8398
|
};
|
|
8391
8399
|
Fe.prototype.stream = function() {
|
|
8392
8400
|
return this.out;
|
|
8393
8401
|
};
|
|
8394
|
-
var
|
|
8402
|
+
var Ki = globalThis && globalThis.__awaiter || function(n, e, t, o) {
|
|
8395
8403
|
function a(l) {
|
|
8396
8404
|
return l instanceof t ? l : new t(function(r) {
|
|
8397
8405
|
r(l);
|
|
@@ -8418,8 +8426,8 @@ var Gi = globalThis && globalThis.__awaiter || function(n, e, t, o) {
|
|
|
8418
8426
|
d((o = o.apply(n, e || [])).next());
|
|
8419
8427
|
});
|
|
8420
8428
|
};
|
|
8421
|
-
const { Canvas:
|
|
8422
|
-
function
|
|
8429
|
+
const { Canvas: it } = pi, hn = 0.4;
|
|
8430
|
+
function Ho(n) {
|
|
8423
8431
|
if (!n)
|
|
8424
8432
|
return;
|
|
8425
8433
|
function e(t) {
|
|
@@ -8463,7 +8471,7 @@ class Le {
|
|
|
8463
8471
|
throw new Error("dotScale should be in range (0, 1].");
|
|
8464
8472
|
t.components.data.scale = t.dotScale, t.components.timing.scale = t.dotScale, t.components.alignment.scale = t.dotScale;
|
|
8465
8473
|
}
|
|
8466
|
-
this.options = t, this.canvas = new
|
|
8474
|
+
this.options = t, this.canvas = new it(e.size, e.size), this.canvasContext = this.canvas.getContext("2d"), this.qrCode = new yt(-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();
|
|
8467
8475
|
}
|
|
8468
8476
|
draw() {
|
|
8469
8477
|
return new Promise((e) => this._draw().then(e));
|
|
@@ -8488,7 +8496,7 @@ class Le {
|
|
|
8488
8496
|
};
|
|
8489
8497
|
let i = 0;
|
|
8490
8498
|
l = e.naturalHeight || e.height, a = e.naturalWidth || e.width;
|
|
8491
|
-
const s = new
|
|
8499
|
+
const s = new it(a, l).getContext("2d");
|
|
8492
8500
|
if (!s)
|
|
8493
8501
|
return o;
|
|
8494
8502
|
s.drawImage(e, 0, 0);
|
|
@@ -8518,17 +8526,17 @@ class Le {
|
|
|
8518
8526
|
}
|
|
8519
8527
|
_draw() {
|
|
8520
8528
|
var e, t, o, a, l, r, u, i, d, s, c, f, p, y, N, j, E, S, L;
|
|
8521
|
-
return
|
|
8529
|
+
return Ki(this, void 0, void 0, function* () {
|
|
8522
8530
|
const _ = (e = this.qrCode) === null || e === void 0 ? void 0 : e.moduleCount, I = this.options.size;
|
|
8523
8531
|
let m = this.options.margin;
|
|
8524
8532
|
(m < 0 || m * 2 >= I) && (m = 0);
|
|
8525
|
-
const w = Math.ceil(m), M = I - 2 * m, U = this.options.whiteMargin, P = this.options.backgroundDimming, k = Math.ceil(M / _), x = k * _, D = x + 2 * w, A = new
|
|
8533
|
+
const w = Math.ceil(m), M = I - 2 * m, U = this.options.whiteMargin, P = this.options.backgroundDimming, k = Math.ceil(M / _), x = k * _, D = x + 2 * w, A = new it(D, D), T = A.getContext("2d");
|
|
8526
8534
|
this._clear(), T.save(), T.translate(w, w);
|
|
8527
|
-
const B = new
|
|
8535
|
+
const B = new it(D, D), g = B.getContext("2d");
|
|
8528
8536
|
let b = null, z = [];
|
|
8529
8537
|
if (this.options.gifBackground) {
|
|
8530
|
-
const le =
|
|
8531
|
-
if (b = le, z =
|
|
8538
|
+
const le = Ii(this.options.gifBackground);
|
|
8539
|
+
if (b = le, z = Di(le, !0), this.options.autoColor) {
|
|
8532
8540
|
let ce = 0, ve = 0, we = 0, Ae = 0;
|
|
8533
8541
|
for (let R = 0; R < z[0].colorTable.length; R++) {
|
|
8534
8542
|
const q = z[0].colorTable[R];
|
|
@@ -8537,7 +8545,7 @@ class Le {
|
|
|
8537
8545
|
ce = ~~(ce / Ae), ve = ~~(ve / Ae), we = ~~(we / Ae), this.options.colorDark = `rgb(${ce},${ve},${we})`;
|
|
8538
8546
|
}
|
|
8539
8547
|
} else if (this.options.backgroundImage) {
|
|
8540
|
-
const le = yield
|
|
8548
|
+
const le = yield Ho(this.options.backgroundImage);
|
|
8541
8549
|
if (this.options.autoColor) {
|
|
8542
8550
|
const ce = Le._getAverageRGB(le);
|
|
8543
8551
|
this.options.colorDark = `rgb(${ce.r},${ce.g},${ce.b})`;
|
|
@@ -8592,7 +8600,7 @@ class Le {
|
|
|
8592
8600
|
}
|
|
8593
8601
|
}
|
|
8594
8602
|
if (U && (T.fillStyle = this.options.backgroundColor, T.fillRect(-w, -w, D, w), T.fillRect(-w, x, D, w), T.fillRect(x, -w, w, D), T.fillRect(-w, -w, w, D)), this.options.logoImage) {
|
|
8595
|
-
const le = yield
|
|
8603
|
+
const le = yield Ho(this.options.logoImage);
|
|
8596
8604
|
let ce = this.options.logoScale, ve = this.options.logoMargin, we = this.options.logoCornerRadius;
|
|
8597
8605
|
(ce <= 0 || ce >= 1) && (ce = 0.2), ve < 0 && (ve = 0), we < 0 && (we = 0);
|
|
8598
8606
|
const Ae = x * ce, R = 0.5 * (D - Ae), q = R;
|
|
@@ -8605,24 +8613,24 @@ class Le {
|
|
|
8605
8613
|
if (z.forEach(function(q) {
|
|
8606
8614
|
le || (le = new Fe(I, I), le.setDelay(q.delay), le.setRepeat(0));
|
|
8607
8615
|
const { width: oe, height: ye } = q.dims;
|
|
8608
|
-
ce || (ce = new
|
|
8609
|
-
const Te = new
|
|
8616
|
+
ce || (ce = new it(oe, ye), ve = ce.getContext("2d"), ve.rect(0, 0, ce.width, ce.height), ve.fillStyle = "#ffffff", ve.fill()), (!we || !R || oe !== we.width || ye !== we.height) && (we = new it(oe, ye), Ae = we.getContext("2d"), R = Ae.createImageData(oe, ye)), R.data.set(q.patch), Ae.putImageData(R, 0, 0), ve.drawImage(we.getContext("2d").canvas, q.dims.left, q.dims.top);
|
|
8617
|
+
const Te = new it(D, D), ie = Te.getContext("2d");
|
|
8610
8618
|
ie.drawImage(ce.getContext("2d").canvas, 0, 0, D, D), ie.rect(0, 0, D, D), ie.fillStyle = P, ie.fill(), ie.drawImage(A.getContext("2d").canvas, 0, 0, D, D);
|
|
8611
|
-
const O = new
|
|
8619
|
+
const O = new it(I, I), K = O.getContext("2d");
|
|
8612
8620
|
K.drawImage(Te.getContext("2d").canvas, 0, 0, I, I), le.addFrame(K.getImageData(0, 0, O.width, O.height).data);
|
|
8613
8621
|
}), !le)
|
|
8614
8622
|
throw new Error("No frames.");
|
|
8615
|
-
if (le.finish(),
|
|
8623
|
+
if (le.finish(), Ko(this.canvas)) {
|
|
8616
8624
|
const oe = le.stream().toFlattenUint8Array().reduce((ye, Te) => ye + String.fromCharCode(Te), "");
|
|
8617
8625
|
return Promise.resolve(`data:image/gif;base64,${window.btoa(oe)}`);
|
|
8618
8626
|
}
|
|
8619
8627
|
return Promise.resolve(Buffer.from(le.stream().toFlattenUint8Array()));
|
|
8620
8628
|
} else {
|
|
8621
8629
|
g.drawImage(A.getContext("2d").canvas, 0, 0, D, D), T.drawImage(B.getContext("2d").canvas, -w, -w, D, D);
|
|
8622
|
-
const le = new
|
|
8630
|
+
const le = new it(I, I);
|
|
8623
8631
|
le.getContext("2d").drawImage(A.getContext("2d").canvas, 0, 0, I, I), this.canvas = le;
|
|
8624
8632
|
const ve = this.options.gifBackground ? "gif" : "png";
|
|
8625
|
-
return
|
|
8633
|
+
return Ko(this.canvas) ? Promise.resolve(this.canvas.toDataURL(ve)) : Promise.resolve(this.canvas.toBuffer(ve));
|
|
8626
8634
|
}
|
|
8627
8635
|
});
|
|
8628
8636
|
}
|
|
@@ -8664,14 +8672,14 @@ Le.defaultOptions = {
|
|
|
8664
8672
|
logoBackgroundColor: "#ffffff",
|
|
8665
8673
|
backgroundColor: "#ffffff"
|
|
8666
8674
|
};
|
|
8667
|
-
function
|
|
8675
|
+
function Ko(n) {
|
|
8668
8676
|
try {
|
|
8669
8677
|
return n instanceof HTMLElement;
|
|
8670
8678
|
} catch {
|
|
8671
8679
|
return typeof n == "object" && n.nodeType === 1 && typeof n.style == "object" && typeof n.ownerDocument == "object";
|
|
8672
8680
|
}
|
|
8673
8681
|
}
|
|
8674
|
-
const
|
|
8682
|
+
const Wi = {
|
|
8675
8683
|
props: {
|
|
8676
8684
|
text: {
|
|
8677
8685
|
type: String,
|
|
@@ -8811,7 +8819,7 @@ const Hi = {
|
|
|
8811
8819
|
methods: {
|
|
8812
8820
|
async main() {
|
|
8813
8821
|
if (this.gifBgSrc) {
|
|
8814
|
-
const t = await
|
|
8822
|
+
const t = await Ks(this.gifBgSrc), o = this.logoSrc;
|
|
8815
8823
|
this.render(void 0, o, t);
|
|
8816
8824
|
return;
|
|
8817
8825
|
}
|
|
@@ -8847,16 +8855,16 @@ const Hi = {
|
|
|
8847
8855
|
});
|
|
8848
8856
|
}
|
|
8849
8857
|
}
|
|
8850
|
-
},
|
|
8851
|
-
function
|
|
8858
|
+
}, Yi = ["src"];
|
|
8859
|
+
function qi(n, e, t, o, a, l) {
|
|
8852
8860
|
return t.bindElement ? (v(), W("img", {
|
|
8853
8861
|
key: 0,
|
|
8854
8862
|
style: { display: "inline-block" },
|
|
8855
8863
|
src: a.imgUrl
|
|
8856
|
-
}, null, 8,
|
|
8864
|
+
}, null, 8, Yi)) : X("", !0);
|
|
8857
8865
|
}
|
|
8858
|
-
const
|
|
8859
|
-
function
|
|
8866
|
+
const Qi = /* @__PURE__ */ ht(Wi, [["render", qi]]);
|
|
8867
|
+
function za(n = {}) {
|
|
8860
8868
|
const e = Y(!1);
|
|
8861
8869
|
return {
|
|
8862
8870
|
reloadFlag: e,
|
|
@@ -8867,7 +8875,7 @@ function Ra(n = {}) {
|
|
|
8867
8875
|
}
|
|
8868
8876
|
};
|
|
8869
8877
|
}
|
|
8870
|
-
const
|
|
8878
|
+
const Xi = { key: 0 }, Zi = ["innerHTML"], Ji = ["innerHTML"], eu = ["innerHTML"], tu = ["innerHTML"], nu = { style: { "text-align": "center" } }, ou = ["onClick"], au = /* @__PURE__ */ ue({
|
|
8871
8879
|
__name: "index",
|
|
8872
8880
|
props: {
|
|
8873
8881
|
viewName: {},
|
|
@@ -8887,7 +8895,7 @@ const qi = { key: 0 }, Qi = ["innerHTML"], Xi = ["innerHTML"], Zi = ["innerHTML"
|
|
|
8887
8895
|
"return-pagination-props"
|
|
8888
8896
|
],
|
|
8889
8897
|
setup(n, { emit: e }) {
|
|
8890
|
-
const { T: t } = ke(), { reload: o, reloadFlag: a } =
|
|
8898
|
+
const { T: t } = ke(), { reload: o, reloadFlag: a } = za(), l = n, r = e, u = V(() => {
|
|
8891
8899
|
var I, m, w, M;
|
|
8892
8900
|
return (m = (I = l.board) == null ? void 0 : I.tableData) != null && m.keyName ? (M = (w = l.board) == null ? void 0 : w.tableData) == null ? void 0 : M.keyName : "";
|
|
8893
8901
|
}), i = Y([]);
|
|
@@ -8912,15 +8920,15 @@ const qi = { key: 0 }, Qi = ["innerHTML"], Xi = ["innerHTML"], Zi = ["innerHTML"
|
|
|
8912
8920
|
function p(I, m) {
|
|
8913
8921
|
if (I.value != "")
|
|
8914
8922
|
try {
|
|
8915
|
-
return
|
|
8923
|
+
return mt.render(I.value, { item: m });
|
|
8916
8924
|
} catch (w) {
|
|
8917
8925
|
console.error("GTable returnValue Error", w);
|
|
8918
8926
|
}
|
|
8919
8927
|
else
|
|
8920
|
-
return Object.keys(f.value) ?
|
|
8928
|
+
return Object.keys(f.value) ? Jl(m[I.keyName], f.value) : m[I.keyName];
|
|
8921
8929
|
}
|
|
8922
8930
|
function y(I) {
|
|
8923
|
-
return !
|
|
8931
|
+
return !lt(I) && I !== "";
|
|
8924
8932
|
}
|
|
8925
8933
|
const N = () => "<span class='empty'>----</span>";
|
|
8926
8934
|
function j(I, m) {
|
|
@@ -8935,16 +8943,16 @@ const qi = { key: 0 }, Qi = ["innerHTML"], Xi = ["innerHTML"], Zi = ["innerHTML"
|
|
|
8935
8943
|
}
|
|
8936
8944
|
function E(I, m) {
|
|
8937
8945
|
if (I.value != "")
|
|
8938
|
-
return
|
|
8946
|
+
return mt.render(I.value, { item: m });
|
|
8939
8947
|
if (I.value == "")
|
|
8940
|
-
return y(m[I.keyName]) ?
|
|
8948
|
+
return y(m[I.keyName]) ? dt(m[I.keyName]).format("YYYY-MM-DD HH:mm:ss") : N();
|
|
8941
8949
|
}
|
|
8942
8950
|
function S(I, m) {
|
|
8943
8951
|
return I.filter((w) => {
|
|
8944
8952
|
if (w.showIf != "1") {
|
|
8945
8953
|
let M, U;
|
|
8946
8954
|
try {
|
|
8947
|
-
M =
|
|
8955
|
+
M = mt.render(w.showIf, { item: m }), U = qn(M, { item: m });
|
|
8948
8956
|
} catch (P) {
|
|
8949
8957
|
console.warn(P);
|
|
8950
8958
|
}
|
|
@@ -8965,7 +8973,7 @@ const qi = { key: 0 }, Qi = ["innerHTML"], Xi = ["innerHTML"], Zi = ["innerHTML"
|
|
|
8965
8973
|
{ deep: !0 }
|
|
8966
8974
|
), (I, m) => {
|
|
8967
8975
|
const w = Q("t-button"), M = Q("t-popup"), U = Q("t-image"), P = Q("t-image-viewer"), k = Q("t-space");
|
|
8968
|
-
return h(a) ? X("", !0) : (v(), $(h(
|
|
8976
|
+
return h(a) ? X("", !0) : (v(), $(h(ha), {
|
|
8969
8977
|
key: 0,
|
|
8970
8978
|
class: "g-table",
|
|
8971
8979
|
tableType: "primary",
|
|
@@ -8981,35 +8989,35 @@ const qi = { key: 0 }, Qi = ["innerHTML"], Xi = ["innerHTML"], Zi = ["innerHTML"
|
|
|
8981
8989
|
}
|
|
8982
8990
|
}, {
|
|
8983
8991
|
TEXT: C(({ col: x, row: D }) => [
|
|
8984
|
-
y(p(x, D)) ? (v(), W("span",
|
|
8992
|
+
y(p(x, D)) ? (v(), W("span", Xi, [
|
|
8985
8993
|
ne("span", {
|
|
8986
8994
|
innerHTML: p(x, D),
|
|
8987
8995
|
style: { "white-space": "pre-wrap" }
|
|
8988
|
-
}, null, 8,
|
|
8996
|
+
}, null, 8, Zi)
|
|
8989
8997
|
])) : (v(), W("span", {
|
|
8990
8998
|
key: 1,
|
|
8991
8999
|
innerHTML: N()
|
|
8992
|
-
}, null, 8,
|
|
9000
|
+
}, null, 8, Ji))
|
|
8993
9001
|
]),
|
|
8994
9002
|
ENUMS: C(({ col: x, row: D }) => [
|
|
8995
9003
|
ne("span", {
|
|
8996
9004
|
innerHTML: j(x, D)
|
|
8997
|
-
}, null, 8,
|
|
9005
|
+
}, null, 8, eu)
|
|
8998
9006
|
]),
|
|
8999
9007
|
DATE: C(({ col: x, row: D }) => [
|
|
9000
9008
|
ne("span", {
|
|
9001
9009
|
innerHTML: E(x, D)
|
|
9002
|
-
}, null, 8,
|
|
9010
|
+
}, null, 8, tu)
|
|
9003
9011
|
]),
|
|
9004
9012
|
QR_CODE: C(({ col: x, row: D }) => [
|
|
9005
9013
|
F(M, null, {
|
|
9006
9014
|
content: C(() => [
|
|
9007
|
-
F(
|
|
9015
|
+
F(Qi, {
|
|
9008
9016
|
text: p(x, D),
|
|
9009
9017
|
size: 80,
|
|
9010
9018
|
margin: 0
|
|
9011
9019
|
}, null, 8, ["text"]),
|
|
9012
|
-
ne("div",
|
|
9020
|
+
ne("div", nu, te(D.code), 1)
|
|
9013
9021
|
]),
|
|
9014
9022
|
default: C(() => [
|
|
9015
9023
|
F(w, {
|
|
@@ -9026,7 +9034,7 @@ const qi = { key: 0 }, Qi = ["innerHTML"], Xi = ["innerHTML"], Zi = ["innerHTML"
|
|
|
9026
9034
|
}, 1024)
|
|
9027
9035
|
]),
|
|
9028
9036
|
FORM_ITEM: C(({ col: x, row: D }) => [
|
|
9029
|
-
F(
|
|
9037
|
+
F(Hs, {
|
|
9030
9038
|
viewName: I.viewName,
|
|
9031
9039
|
col: x,
|
|
9032
9040
|
row: D,
|
|
@@ -9067,10 +9075,10 @@ const qi = { key: 0 }, Qi = ["innerHTML"], Xi = ["innerHTML"], Zi = ["innerHTML"
|
|
|
9067
9075
|
onClick: A
|
|
9068
9076
|
}, [
|
|
9069
9077
|
ne("span", null, [
|
|
9070
|
-
F(h(
|
|
9078
|
+
F(h(Ml), { size: "1.4em" }),
|
|
9071
9079
|
re(" " + te(h(t).t("预览")), 1)
|
|
9072
9080
|
])
|
|
9073
|
-
], 10,
|
|
9081
|
+
], 10, ou)
|
|
9074
9082
|
], 2)
|
|
9075
9083
|
]),
|
|
9076
9084
|
_: 2
|
|
@@ -9111,14 +9119,14 @@ const qi = { key: 0 }, Qi = ["innerHTML"], Xi = ["innerHTML"], Zi = ["innerHTML"
|
|
|
9111
9119
|
};
|
|
9112
9120
|
}
|
|
9113
9121
|
});
|
|
9114
|
-
const
|
|
9122
|
+
const lu = /* @__PURE__ */ ht(au, [["__scopeId", "data-v-45aeff49"]]), ru = /* @__PURE__ */ ue({
|
|
9115
9123
|
__name: "index",
|
|
9116
9124
|
props: {
|
|
9117
9125
|
viewName: {},
|
|
9118
9126
|
board: {}
|
|
9119
9127
|
},
|
|
9120
9128
|
setup(n) {
|
|
9121
|
-
const e = n, t = kt(), o =
|
|
9129
|
+
const e = n, t = kt(), o = st(), a = ft(), l = V(() => o.fullPath), r = V(() => {
|
|
9122
9130
|
var p;
|
|
9123
9131
|
return (p = e == null ? void 0 : e.board) == null ? void 0 : p.tabs;
|
|
9124
9132
|
}), u = Y(0), i = V(() => t.returnTabMenuItemActiveTab(l.value));
|
|
@@ -9148,7 +9156,7 @@ const ou = /* @__PURE__ */ ht(nu, [["__scopeId", "data-v-45aeff49"]]), au = /* @
|
|
|
9148
9156
|
return (p, y) => {
|
|
9149
9157
|
const N = Q("t-card"), j = Q("t-tab-panel"), E = Q("t-tabs");
|
|
9150
9158
|
return v(), $(E, {
|
|
9151
|
-
class: Z(`${h(
|
|
9159
|
+
class: Z(`${h(jl)}`),
|
|
9152
9160
|
placement: "left",
|
|
9153
9161
|
value: u.value,
|
|
9154
9162
|
onChange: d
|
|
@@ -9182,7 +9190,7 @@ const ou = /* @__PURE__ */ ht(nu, [["__scopeId", "data-v-45aeff49"]]), au = /* @
|
|
|
9182
9190
|
};
|
|
9183
9191
|
}
|
|
9184
9192
|
});
|
|
9185
|
-
const
|
|
9193
|
+
const su = /* @__PURE__ */ ue({
|
|
9186
9194
|
__name: "GBoard",
|
|
9187
9195
|
props: {
|
|
9188
9196
|
board: {},
|
|
@@ -9194,7 +9202,7 @@ const lu = /* @__PURE__ */ ue({
|
|
|
9194
9202
|
},
|
|
9195
9203
|
emits: ["close-dialog"],
|
|
9196
9204
|
setup(n, { emit: e }) {
|
|
9197
|
-
const { T: t } = ke(), o = ft(), a =
|
|
9205
|
+
const { T: t } = ke(), o = ft(), a = st(), l = Ve(), r = ao(), u = lo(), i = n, { reload: d } = za(), s = e, c = V(() => {
|
|
9198
9206
|
var O;
|
|
9199
9207
|
return (O = i.board) == null ? void 0 : O.boardType;
|
|
9200
9208
|
}), f = V(() => {
|
|
@@ -9234,7 +9242,7 @@ const lu = /* @__PURE__ */ ue({
|
|
|
9234
9242
|
...K.pagination
|
|
9235
9243
|
});
|
|
9236
9244
|
}
|
|
9237
|
-
if (!
|
|
9245
|
+
if (!lt(f.value) && !lt(i.viewName)) {
|
|
9238
9246
|
const K = await tn({
|
|
9239
9247
|
dataId: f.value,
|
|
9240
9248
|
viewName: i.viewName,
|
|
@@ -9268,9 +9276,9 @@ const lu = /* @__PURE__ */ ue({
|
|
|
9268
9276
|
pagination: se
|
|
9269
9277
|
});
|
|
9270
9278
|
}
|
|
9271
|
-
|
|
9279
|
+
Xo((O, K) => {
|
|
9272
9280
|
i.from != "dialog" && k(K.fullPath);
|
|
9273
|
-
}),
|
|
9281
|
+
}), Qo((O, K) => {
|
|
9274
9282
|
i.from != "dialog" && k(K.fullPath);
|
|
9275
9283
|
}), De(
|
|
9276
9284
|
() => i.board,
|
|
@@ -9285,7 +9293,7 @@ const lu = /* @__PURE__ */ ue({
|
|
|
9285
9293
|
async function b(O, K = {}) {
|
|
9286
9294
|
if ((O ?? "") != "") {
|
|
9287
9295
|
K.viewName = O;
|
|
9288
|
-
const se = await
|
|
9296
|
+
const se = await ba(K);
|
|
9289
9297
|
se.state === 200 && (B.value = se.data.boards[0], g.value = se.data.props);
|
|
9290
9298
|
}
|
|
9291
9299
|
}
|
|
@@ -9316,7 +9324,7 @@ const lu = /* @__PURE__ */ ue({
|
|
|
9316
9324
|
}
|
|
9317
9325
|
case "CONFIRM": {
|
|
9318
9326
|
let pe;
|
|
9319
|
-
O.confirmMessage && O.confirmMessage != "" ? pe =
|
|
9327
|
+
O.confirmMessage && O.confirmMessage != "" ? pe = mt.render(O.confirmMessage, { item: K }) : pe = `${t.t("是否进行%s")}`.replace("%s", `${O.name}`);
|
|
9320
9328
|
let be = {};
|
|
9321
9329
|
O.props ? O.props.forEach((Je) => {
|
|
9322
9330
|
Je.keyName && (K[Je.keyName] ?? "") != "" && (be[Je.keyName] = K[Je.keyName]);
|
|
@@ -9407,7 +9415,7 @@ const lu = /* @__PURE__ */ ue({
|
|
|
9407
9415
|
(Ce = O == null ? void 0 : O.props) == null || Ce.forEach((xe) => {
|
|
9408
9416
|
xe.keyName && (K[xe.keyName] ?? "") != "" && (pe[xe.keyName] = K[xe.keyName]);
|
|
9409
9417
|
});
|
|
9410
|
-
const be = _o.decode(
|
|
9418
|
+
const be = _o.decode(mt.render(O.link, { item: K }));
|
|
9411
9419
|
if (O.outLink) {
|
|
9412
9420
|
const xe = wt(`${location.origin}${be}`, {
|
|
9413
9421
|
...pe,
|
|
@@ -9418,7 +9426,7 @@ const lu = /* @__PURE__ */ ue({
|
|
|
9418
9426
|
return;
|
|
9419
9427
|
}
|
|
9420
9428
|
if (!en(be))
|
|
9421
|
-
|
|
9429
|
+
er(be) ? window.open(`${location.origin}${be}`) : o.push({
|
|
9422
9430
|
path: be,
|
|
9423
9431
|
query: {
|
|
9424
9432
|
...pe
|
|
@@ -9455,13 +9463,13 @@ const lu = /* @__PURE__ */ ue({
|
|
|
9455
9463
|
);
|
|
9456
9464
|
if (be) {
|
|
9457
9465
|
const { url: xe, filename: Je } = be;
|
|
9458
|
-
|
|
9466
|
+
$o(xe, Je, "blob");
|
|
9459
9467
|
}
|
|
9460
9468
|
} else if ((O.downloadUrl ?? "") != "") {
|
|
9461
|
-
const be = _o.decode(
|
|
9469
|
+
const be = _o.decode(mt.render(O.downloadUrl, { item: K })), xe = wt(be, pe, !1);
|
|
9462
9470
|
if ((be ?? "") != "" && (xe ?? !1)) {
|
|
9463
9471
|
const Je = be.split("/").slice(-1)[0];
|
|
9464
|
-
|
|
9472
|
+
$o(xe, Je, "file");
|
|
9465
9473
|
} else
|
|
9466
9474
|
he.info(`${t.t("未设置下载链接")}`);
|
|
9467
9475
|
}
|
|
@@ -9498,7 +9506,7 @@ const lu = /* @__PURE__ */ ue({
|
|
|
9498
9506
|
}
|
|
9499
9507
|
const _e = Y([]), ge = V(() => $e.value.length ? _e.value.filter(
|
|
9500
9508
|
(K) => K.colKey == "row-select" || $e.value.indexOf(K.colKey) !== -1
|
|
9501
|
-
) : _e.value), Ie = Y([]), $e = Y([]), le =
|
|
9509
|
+
) : _e.value), Ie = Y([]), $e = Y([]), le = ua();
|
|
9502
9510
|
async function ce(O) {
|
|
9503
9511
|
const K = `${i.viewName}_${c.value}`;
|
|
9504
9512
|
await le.setColumnData(K, O) && ($e.value = O, he.success(t.t("设置成功")), d());
|
|
@@ -9508,11 +9516,11 @@ const lu = /* @__PURE__ */ ue({
|
|
|
9508
9516
|
if (c.value == "table" && (O = i.board) != null && O.columns) {
|
|
9509
9517
|
let ee = [];
|
|
9510
9518
|
try {
|
|
9511
|
-
ee =
|
|
9519
|
+
ee = Xl((K = i.board) == null ? void 0 : K.columns);
|
|
9512
9520
|
} catch (be) {
|
|
9513
9521
|
console.error("生成tableColumn出错", be);
|
|
9514
9522
|
}
|
|
9515
|
-
_e.value = ee, Ie.value =
|
|
9523
|
+
_e.value = ee, Ie.value = Zl(
|
|
9516
9524
|
(se = i.board) == null ? void 0 : se.columns
|
|
9517
9525
|
);
|
|
9518
9526
|
const Ce = `${i.viewName}_${c.value}`, pe = le.getColumnData(Ce);
|
|
@@ -9530,7 +9538,7 @@ const lu = /* @__PURE__ */ ue({
|
|
|
9530
9538
|
async function Ae(O, K) {
|
|
9531
9539
|
G.value && (G.value.formOkButtonLoading || (G.value.formOkButtonLoading = !0));
|
|
9532
9540
|
let se = {};
|
|
9533
|
-
return Object.keys(I.value).length && Object.assign(se, I.value), Object.assign(se, O), (await
|
|
9541
|
+
return Object.keys(I.value).length && Object.assign(se, I.value), Object.assign(se, O), (await wa({
|
|
9534
9542
|
buttonId: K,
|
|
9535
9543
|
props: se,
|
|
9536
9544
|
viewName: i.viewName
|
|
@@ -9564,7 +9572,7 @@ const lu = /* @__PURE__ */ ue({
|
|
|
9564
9572
|
}
|
|
9565
9573
|
async function q(O, K) {
|
|
9566
9574
|
let se = {};
|
|
9567
|
-
return Object.keys(I.value).length && Object.assign(se, I.value), (await
|
|
9575
|
+
return Object.keys(I.value).length && Object.assign(se, I.value), (await ds({
|
|
9568
9576
|
viewName: i.viewName,
|
|
9569
9577
|
buttonId: O.buttonId,
|
|
9570
9578
|
props: se,
|
|
@@ -9574,7 +9582,7 @@ const lu = /* @__PURE__ */ ue({
|
|
|
9574
9582
|
async function oe(O, K) {
|
|
9575
9583
|
let se = {};
|
|
9576
9584
|
Object.keys(I.value).length && Object.assign(se, I.value), Object.assign(se, O);
|
|
9577
|
-
const ee = await
|
|
9585
|
+
const ee = await fs({
|
|
9578
9586
|
buttonId: K,
|
|
9579
9587
|
props: se,
|
|
9580
9588
|
viewName: O.viewName
|
|
@@ -9599,12 +9607,12 @@ const lu = /* @__PURE__ */ ue({
|
|
|
9599
9607
|
const se = Q("t-loading");
|
|
9600
9608
|
return v(), W(de, null, [
|
|
9601
9609
|
F(se, {
|
|
9602
|
-
class: Z(`${h(
|
|
9610
|
+
class: Z(`${h(Ul)}`),
|
|
9603
9611
|
loading: m.value,
|
|
9604
9612
|
size: "medium"
|
|
9605
9613
|
}, {
|
|
9606
9614
|
default: C(() => [
|
|
9607
|
-
S.value ? (v(), $(h(
|
|
9615
|
+
S.value ? (v(), $(h(Gs), {
|
|
9608
9616
|
key: 0,
|
|
9609
9617
|
viewName: O.viewName,
|
|
9610
9618
|
board: O.board,
|
|
@@ -9615,7 +9623,7 @@ const lu = /* @__PURE__ */ ue({
|
|
|
9615
9623
|
onHeaderFilterChange: ae,
|
|
9616
9624
|
onDisplayColumnsChange: ce
|
|
9617
9625
|
}, null, 8, ["viewName", "board", "headerInfo", "tableColumns", "displayColumns"])) : X("", !0),
|
|
9618
|
-
c.value === "form" ? (v(), $(h(
|
|
9626
|
+
c.value === "form" ? (v(), $(h(Vs), {
|
|
9619
9627
|
key: 1,
|
|
9620
9628
|
ref_key: "gFormRef",
|
|
9621
9629
|
ref: G,
|
|
@@ -9626,7 +9634,7 @@ const lu = /* @__PURE__ */ ue({
|
|
|
9626
9634
|
onConfirmAndClose: Te,
|
|
9627
9635
|
onCloseDialog: ie
|
|
9628
9636
|
}, null, 8, ["viewName", "board", "formData"])) : X("", !0),
|
|
9629
|
-
c.value === "table" ? (v(), $(
|
|
9637
|
+
c.value === "table" ? (v(), $(lu, {
|
|
9630
9638
|
key: 2,
|
|
9631
9639
|
viewName: O.viewName,
|
|
9632
9640
|
board: O.board,
|
|
@@ -9641,7 +9649,7 @@ const lu = /* @__PURE__ */ ue({
|
|
|
9641
9649
|
onReturnSelectedRow: Re,
|
|
9642
9650
|
onReturnPaginationProps: we
|
|
9643
9651
|
}, null, 8, ["viewName", "board", "tableColumns", "displayColumns", "tableData", "paginationProps", "headerFilterProps"])) : X("", !0),
|
|
9644
|
-
c.value === "tab" ? (v(), $(
|
|
9652
|
+
c.value === "tab" ? (v(), $(ru, {
|
|
9645
9653
|
key: 3,
|
|
9646
9654
|
viewName: O.viewName,
|
|
9647
9655
|
board: O.board
|
|
@@ -9649,7 +9657,7 @@ const lu = /* @__PURE__ */ ue({
|
|
|
9649
9657
|
]),
|
|
9650
9658
|
_: 1
|
|
9651
9659
|
}, 8, ["class", "loading"]),
|
|
9652
|
-
x.value ? (v(), $(h(
|
|
9660
|
+
x.value ? (v(), $(h(As), {
|
|
9653
9661
|
key: 0,
|
|
9654
9662
|
ref: "dialogRef",
|
|
9655
9663
|
dialogType: A.value,
|
|
@@ -9667,17 +9675,17 @@ const lu = /* @__PURE__ */ ue({
|
|
|
9667
9675
|
};
|
|
9668
9676
|
}
|
|
9669
9677
|
});
|
|
9670
|
-
const kn = Ye(
|
|
9678
|
+
const kn = Ye(su), Ga = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9671
9679
|
__proto__: null,
|
|
9672
9680
|
GBoard: kn,
|
|
9673
9681
|
default: kn
|
|
9674
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
9682
|
+
}, Symbol.toStringTag, { value: "Module" })), iu = /* @__PURE__ */ ue({
|
|
9675
9683
|
__name: "index",
|
|
9676
9684
|
props: {
|
|
9677
9685
|
config: {}
|
|
9678
9686
|
},
|
|
9679
9687
|
setup(n) {
|
|
9680
|
-
const e = ft(), t =
|
|
9688
|
+
const e = ft(), t = st(), o = Ve(), a = kt(), l = ao(), r = n, u = Y(""), i = V(() => o.isUserLogin), d = V(() => o.homeUrl);
|
|
9681
9689
|
Jt(async () => {
|
|
9682
9690
|
i.value || (await o.initUserConfig(r.config), await a.initTabMenu());
|
|
9683
9691
|
}), Ue(async () => {
|
|
@@ -9726,7 +9734,7 @@ const kn = Ye(lu), ja = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.def
|
|
|
9726
9734
|
let m = "";
|
|
9727
9735
|
We(L) || (m = JSON.stringify(L)), I.props = m;
|
|
9728
9736
|
try {
|
|
9729
|
-
const M = await
|
|
9737
|
+
const M = await ba(I);
|
|
9730
9738
|
if (M.state === 200 && M.data) {
|
|
9731
9739
|
f.value = M.data, u.value = (w = M.data) == null ? void 0 : w.title;
|
|
9732
9740
|
const U = decodeURIComponent(t.fullPath);
|
|
@@ -9751,7 +9759,7 @@ const kn = Ye(lu), ja = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.def
|
|
|
9751
9759
|
} : {}
|
|
9752
9760
|
};
|
|
9753
9761
|
});
|
|
9754
|
-
return At(
|
|
9762
|
+
return At(ca, u), (S, L) => (v(), $(h(ma), Ee({ key: u.value }, E.value), {
|
|
9755
9763
|
default: C(() => {
|
|
9756
9764
|
var _;
|
|
9757
9765
|
return [
|
|
@@ -9781,7 +9789,7 @@ var fo = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
9781
9789
|
* (c) 2023 tdesign
|
|
9782
9790
|
* @license MIT
|
|
9783
9791
|
*/
|
|
9784
|
-
var
|
|
9792
|
+
var uu = { exports: {} };
|
|
9785
9793
|
(function(n, e) {
|
|
9786
9794
|
(function(t, o) {
|
|
9787
9795
|
n.exports = o();
|
|
@@ -9796,8 +9804,8 @@ var su = { exports: {} };
|
|
|
9796
9804
|
}
|
|
9797
9805
|
};
|
|
9798
9806
|
});
|
|
9799
|
-
})(
|
|
9800
|
-
var
|
|
9807
|
+
})(uu);
|
|
9808
|
+
var cu = {
|
|
9801
9809
|
pagination: {
|
|
9802
9810
|
itemsPerPage: "{size} / page",
|
|
9803
9811
|
jumpTo: "jump to",
|
|
@@ -10024,7 +10032,7 @@ function Mn(n) {
|
|
|
10024
10032
|
* (c) 2023 tdesign
|
|
10025
10033
|
* @license MIT
|
|
10026
10034
|
*/
|
|
10027
|
-
var
|
|
10035
|
+
var Ha = { exports: {} };
|
|
10028
10036
|
(function(n, e) {
|
|
10029
10037
|
(function(t, o) {
|
|
10030
10038
|
n.exports = o();
|
|
@@ -10341,16 +10349,16 @@ var za = { exports: {} };
|
|
|
10341
10349
|
return U(1e3 * D);
|
|
10342
10350
|
}, U.en = m[I], U.Ls = m, U.p = {}, U;
|
|
10343
10351
|
});
|
|
10344
|
-
})(
|
|
10352
|
+
})(Ha);
|
|
10345
10353
|
/**
|
|
10346
10354
|
* tdesign v1.5.1
|
|
10347
10355
|
* (c) 2023 tdesign
|
|
10348
10356
|
* @license MIT
|
|
10349
10357
|
*/
|
|
10350
|
-
var
|
|
10358
|
+
var du = { exports: {} };
|
|
10351
10359
|
(function(n, e) {
|
|
10352
10360
|
(function(t, o) {
|
|
10353
|
-
n.exports = o(
|
|
10361
|
+
n.exports = o(Ha.exports);
|
|
10354
10362
|
})(fo, function(t) {
|
|
10355
10363
|
function o(r) {
|
|
10356
10364
|
return r && Mn(r) == "object" && "default" in r ? r : {
|
|
@@ -10403,8 +10411,8 @@ var uu = { exports: {} };
|
|
|
10403
10411
|
};
|
|
10404
10412
|
return a.default.locale(l, null, !0), l;
|
|
10405
10413
|
});
|
|
10406
|
-
})(
|
|
10407
|
-
var
|
|
10414
|
+
})(du);
|
|
10415
|
+
var mu = {
|
|
10408
10416
|
pagination: {
|
|
10409
10417
|
itemsPerPage: "{size} 条/页",
|
|
10410
10418
|
jumpTo: "跳至",
|
|
@@ -10613,7 +10621,7 @@ var cu = {
|
|
|
10613
10621
|
originalSizeTipText: "原始大小"
|
|
10614
10622
|
}
|
|
10615
10623
|
};
|
|
10616
|
-
const
|
|
10624
|
+
const fu = { class: "gConfigProvider" }, pu = /* @__PURE__ */ ue({
|
|
10617
10625
|
__name: "GConfigProvider",
|
|
10618
10626
|
props: {
|
|
10619
10627
|
layoutHeaderOperations: { default: () => [] },
|
|
@@ -10634,9 +10642,9 @@ const du = { class: "gConfigProvider" }, mu = /* @__PURE__ */ ue({
|
|
|
10634
10642
|
enableSideMenu: !0,
|
|
10635
10643
|
...o.sideMenuConfig
|
|
10636
10644
|
})), d = V(() => t.global.locale.value), s = Y({});
|
|
10637
|
-
return
|
|
10645
|
+
return nl(() => {
|
|
10638
10646
|
s.value = {
|
|
10639
|
-
...d.value === "zh-CN" ?
|
|
10647
|
+
...d.value === "zh-CN" ? mu : cu,
|
|
10640
10648
|
...o.globalConfig
|
|
10641
10649
|
};
|
|
10642
10650
|
}), At(Qn, {
|
|
@@ -10645,8 +10653,8 @@ const du = { class: "gConfigProvider" }, mu = /* @__PURE__ */ ue({
|
|
|
10645
10653
|
LocaleConfigRef: a,
|
|
10646
10654
|
DateLocaleConfigRef: l,
|
|
10647
10655
|
SideMenuConfigRef: i
|
|
10648
|
-
}), (c, f) => (v(), W("div",
|
|
10649
|
-
F(h(
|
|
10656
|
+
}), (c, f) => (v(), W("div", fu, [
|
|
10657
|
+
F(h(il), { globalConfig: s.value }, {
|
|
10650
10658
|
default: C(() => [
|
|
10651
10659
|
Ke(c.$slots, "default")
|
|
10652
10660
|
]),
|
|
@@ -10654,11 +10662,24 @@ const du = { class: "gConfigProvider" }, mu = /* @__PURE__ */ ue({
|
|
|
10654
10662
|
}, 8, ["globalConfig"])
|
|
10655
10663
|
]));
|
|
10656
10664
|
}
|
|
10657
|
-
}),
|
|
10665
|
+
}), hu = Ye(pu), vu = {
|
|
10666
|
+
mounted(n, e) {
|
|
10667
|
+
const { value: t } = e, a = Ve().userPermission;
|
|
10668
|
+
console.log(a, t), t && Array.isArray(t) && t.length > 0 && (a.some((r) => t.includes(r)) || n.parentNode && n.parentNode.removeChild(n));
|
|
10669
|
+
}
|
|
10670
|
+
}, Wo = {
|
|
10671
|
+
permission: vu
|
|
10672
|
+
}, gu = {
|
|
10673
|
+
install(n) {
|
|
10674
|
+
Object.keys(Wo).forEach((e) => {
|
|
10675
|
+
n.directive(e, Wo[e]);
|
|
10676
|
+
});
|
|
10677
|
+
}
|
|
10678
|
+
}, yu = "@gonsin/gview", bu = "2.0.93", wu = "dist/index.mjs", Tu = "dist/types/index.d.ts", Cu = [
|
|
10658
10679
|
"dist",
|
|
10659
10680
|
"README.md",
|
|
10660
10681
|
"CHANGELOG.md"
|
|
10661
|
-
],
|
|
10682
|
+
], ku = {
|
|
10662
10683
|
dev: "cd develop && vite --host",
|
|
10663
10684
|
preview: "cd develop && vite preview --host",
|
|
10664
10685
|
"build:preview": "cd develop && vite build",
|
|
@@ -10674,7 +10695,7 @@ const du = { class: "gConfigProvider" }, mu = /* @__PURE__ */ ue({
|
|
|
10674
10695
|
"build:springboot": "cd develop && vite build --outDir ../../server/gview_logic/src/main/resources/gview --mode springboot --emptyOutDir",
|
|
10675
10696
|
"publish-npm": "npm publish && cnpm sync @gonsin/gview",
|
|
10676
10697
|
"publish-sync": "cnpm sync @gonsin/gview"
|
|
10677
|
-
},
|
|
10698
|
+
}, Mu = {
|
|
10678
10699
|
"@gonsin/glicense": "^1.0.2",
|
|
10679
10700
|
"@vueuse/core": "^10.9.0",
|
|
10680
10701
|
"@wangeditor/editor": "^5.1.23",
|
|
@@ -10696,7 +10717,7 @@ const du = { class: "gConfigProvider" }, mu = /* @__PURE__ */ ue({
|
|
|
10696
10717
|
"vue-i18n": "^9.2.2",
|
|
10697
10718
|
"vue-qr": "^4.0.9",
|
|
10698
10719
|
"vue-router": "^4.1.6"
|
|
10699
|
-
},
|
|
10720
|
+
}, _u = {
|
|
10700
10721
|
"@rushstack/eslint-patch": "^1.2.0",
|
|
10701
10722
|
"@tsconfig/node18": "^18.2.4",
|
|
10702
10723
|
"@types/lodash-es": "^4.17.7",
|
|
@@ -10730,29 +10751,29 @@ const du = { class: "gConfigProvider" }, mu = /* @__PURE__ */ ue({
|
|
|
10730
10751
|
"vite-plugin-mkcert": "^1.16.0",
|
|
10731
10752
|
"vite-svg-loader": "^4.0.0",
|
|
10732
10753
|
"vue-tsc": "^1.2.0"
|
|
10733
|
-
},
|
|
10734
|
-
name:
|
|
10735
|
-
version:
|
|
10736
|
-
main:
|
|
10737
|
-
typings:
|
|
10738
|
-
files:
|
|
10739
|
-
scripts:
|
|
10740
|
-
dependencies:
|
|
10741
|
-
devDependencies:
|
|
10754
|
+
}, Ka = {
|
|
10755
|
+
name: yu,
|
|
10756
|
+
version: bu,
|
|
10757
|
+
main: wu,
|
|
10758
|
+
typings: Tu,
|
|
10759
|
+
files: Cu,
|
|
10760
|
+
scripts: ku,
|
|
10761
|
+
dependencies: Mu,
|
|
10762
|
+
devDependencies: _u
|
|
10742
10763
|
}, po = {
|
|
10743
10764
|
getMenus: "/restapi/menus",
|
|
10744
10765
|
saveMenus: "/restapi/menus"
|
|
10745
10766
|
};
|
|
10746
|
-
function
|
|
10767
|
+
function Iu(n) {
|
|
10747
10768
|
return Ze.put(po.saveMenus, n);
|
|
10748
10769
|
}
|
|
10749
|
-
function
|
|
10770
|
+
function Lu() {
|
|
10750
10771
|
return Ze.post(po.getMenus);
|
|
10751
10772
|
}
|
|
10752
|
-
function
|
|
10773
|
+
function Su() {
|
|
10753
10774
|
return Ze.post(po.getMenus, no.stringify({ currentMenu: !1 }));
|
|
10754
10775
|
}
|
|
10755
|
-
const
|
|
10776
|
+
const Du = [
|
|
10756
10777
|
{
|
|
10757
10778
|
stem: "app",
|
|
10758
10779
|
icon: "App"
|
|
@@ -11281,13 +11302,13 @@ const _u = [
|
|
|
11281
11302
|
stem: "zoom-out",
|
|
11282
11303
|
icon: "ZoomOut"
|
|
11283
11304
|
}
|
|
11284
|
-
],
|
|
11305
|
+
], Nu = { class: "menu-title" }, Eu = {
|
|
11285
11306
|
key: 0,
|
|
11286
11307
|
class: "counts"
|
|
11287
|
-
},
|
|
11308
|
+
}, Au = { class: "operations" }, Fu = { id: "icon-option" }, $u = { key: 0 }, Bu = {
|
|
11288
11309
|
key: 1,
|
|
11289
11310
|
style: { color: "#9f9f9f" }
|
|
11290
|
-
},
|
|
11311
|
+
}, Pu = /* @__PURE__ */ ue({
|
|
11291
11312
|
__name: "GMenuManage",
|
|
11292
11313
|
setup(n) {
|
|
11293
11314
|
const { T: e } = ke(), t = Ve(), o = Y(`${e.t("菜单管理")}`), a = [
|
|
@@ -11312,7 +11333,7 @@ const _u = [
|
|
|
11312
11333
|
r.value = !r.value, r.value ? j.value.expandAll() : j.value.foldAll();
|
|
11313
11334
|
}, i = Y(!1), d = Y(""), s = Y([]), c = Y([]);
|
|
11314
11335
|
async function f() {
|
|
11315
|
-
const R = await
|
|
11336
|
+
const R = await Lu();
|
|
11316
11337
|
if (R.state == 200) {
|
|
11317
11338
|
const q = bn(R.data, null, 1);
|
|
11318
11339
|
s.value = q, c.value = q;
|
|
@@ -11390,7 +11411,7 @@ const _u = [
|
|
|
11390
11411
|
label: R.title,
|
|
11391
11412
|
value: R.name
|
|
11392
11413
|
}))
|
|
11393
|
-
), w =
|
|
11414
|
+
), w = st(), M = kt();
|
|
11394
11415
|
function U() {
|
|
11395
11416
|
const { fullPath: R, query: q } = w, oe = decodeURIComponent(R);
|
|
11396
11417
|
M.appendTabMenuItem({
|
|
@@ -11411,7 +11432,7 @@ const _u = [
|
|
|
11411
11432
|
return P.value.length ? P.value.some((q) => q.url === R.url) : !1;
|
|
11412
11433
|
}
|
|
11413
11434
|
async function A() {
|
|
11414
|
-
const R = await
|
|
11435
|
+
const R = await Su();
|
|
11415
11436
|
R.state == 200 ? P.value = k(R.data) : console.error(`getInnerMenuOptionList ${R.message}`);
|
|
11416
11437
|
}
|
|
11417
11438
|
Ue(() => {
|
|
@@ -11622,7 +11643,7 @@ const _u = [
|
|
|
11622
11643
|
async function le() {
|
|
11623
11644
|
const R = Yn(L.value);
|
|
11624
11645
|
try {
|
|
11625
|
-
const q = await
|
|
11646
|
+
const q = await Iu({ menus: [...R] });
|
|
11626
11647
|
q.state == 200 && (t.setSideMenuConfig(L.value), c.value = bn(q.data, null, 1), he.success(`${e.t("保存菜单方案成功!")}`));
|
|
11627
11648
|
} catch (q) {
|
|
11628
11649
|
he.error(q.message);
|
|
@@ -11675,9 +11696,9 @@ const _u = [
|
|
|
11675
11696
|
}
|
|
11676
11697
|
return (R, q) => {
|
|
11677
11698
|
const oe = Q("t-button"), ye = Q("t-icon"), Te = Q("t-input"), ie = Q("t-form-item"), O = Q("t-option"), K = Q("t-select"), se = Q("t-input-group");
|
|
11678
|
-
return v(), $(h(
|
|
11699
|
+
return v(), $(h(ma), { title: o.value }, {
|
|
11679
11700
|
default: C(() => [
|
|
11680
|
-
F(h(
|
|
11701
|
+
F(h(Hr), null, {
|
|
11681
11702
|
"left-operations": C(() => [
|
|
11682
11703
|
F(oe, {
|
|
11683
11704
|
theme: "primary",
|
|
@@ -11720,7 +11741,7 @@ const _u = [
|
|
|
11720
11741
|
]),
|
|
11721
11742
|
_: 1
|
|
11722
11743
|
}),
|
|
11723
|
-
F(h(
|
|
11744
|
+
F(h(ha), {
|
|
11724
11745
|
ref_key: "commonTableRef",
|
|
11725
11746
|
ref: N,
|
|
11726
11747
|
id: "menu-table",
|
|
@@ -11743,13 +11764,13 @@ const _u = [
|
|
|
11743
11764
|
}
|
|
11744
11765
|
}, {
|
|
11745
11766
|
treeExpandAndFoldIcon: C(({ type: ee }) => [
|
|
11746
|
-
ee === "expand" ? (v(), $(h(
|
|
11767
|
+
ee === "expand" ? (v(), $(h(_l), { key: 0 })) : (v(), $(h(Il), { key: 1 }))
|
|
11747
11768
|
]),
|
|
11748
11769
|
drag: C(() => [
|
|
11749
|
-
F(h(
|
|
11770
|
+
F(h(Ll))
|
|
11750
11771
|
]),
|
|
11751
11772
|
title: C(({ row: ee }) => [
|
|
11752
|
-
ne("span",
|
|
11773
|
+
ne("span", Nu, [
|
|
11753
11774
|
ne("span", {
|
|
11754
11775
|
class: Z(["title", ee.isGroup ? "title-bold" : "title-child"])
|
|
11755
11776
|
}, [
|
|
@@ -11767,11 +11788,11 @@ const _u = [
|
|
|
11767
11788
|
], 64)) : X("", !0),
|
|
11768
11789
|
re(" " + te(ee.title), 1)
|
|
11769
11790
|
], 2),
|
|
11770
|
-
ee.isGroup ? (v(), W("span",
|
|
11791
|
+
ee.isGroup ? (v(), W("span", Eu, te(ee.children.length) + "项", 1)) : X("", !0)
|
|
11771
11792
|
])
|
|
11772
11793
|
]),
|
|
11773
11794
|
operations: C(({ row: ee }) => [
|
|
11774
|
-
ne("div",
|
|
11795
|
+
ne("div", Au, [
|
|
11775
11796
|
F(oe, {
|
|
11776
11797
|
variant: "text",
|
|
11777
11798
|
theme: "primary",
|
|
@@ -11828,7 +11849,7 @@ const _u = [
|
|
|
11828
11849
|
]),
|
|
11829
11850
|
_: 1
|
|
11830
11851
|
}, 8, ["commonTableProps"]),
|
|
11831
|
-
F(h(
|
|
11852
|
+
F(h(pa), {
|
|
11832
11853
|
commonDialogProps: {
|
|
11833
11854
|
visible: i.value,
|
|
11834
11855
|
onClose: Me,
|
|
@@ -11916,22 +11937,22 @@ const _u = [
|
|
|
11916
11937
|
clearable: !0
|
|
11917
11938
|
}, {
|
|
11918
11939
|
valueDisplay: C(() => [
|
|
11919
|
-
p.value.icon ? (v(), W("span",
|
|
11940
|
+
p.value.icon ? (v(), W("span", $u, [
|
|
11920
11941
|
F(ye, {
|
|
11921
11942
|
name: p.value.icon,
|
|
11922
11943
|
style: { marginRight: "8px" }
|
|
11923
11944
|
}, null, 8, ["name"]),
|
|
11924
11945
|
re(te(p.value.icon), 1)
|
|
11925
|
-
])) : (v(), W("span",
|
|
11946
|
+
])) : (v(), W("span", Bu, te(h(e).t("请选择图标标识")), 1))
|
|
11926
11947
|
]),
|
|
11927
11948
|
default: C(() => [
|
|
11928
|
-
(v(!0), W(de, null, Se(h(
|
|
11949
|
+
(v(!0), W(de, null, Se(h(Du), (ee) => (v(), $(O, {
|
|
11929
11950
|
value: ee.stem,
|
|
11930
11951
|
key: ee.stem,
|
|
11931
11952
|
class: "overlay-options"
|
|
11932
11953
|
}, {
|
|
11933
11954
|
default: C(() => [
|
|
11934
|
-
ne("span",
|
|
11955
|
+
ne("span", Fu, [
|
|
11935
11956
|
F(ye, {
|
|
11936
11957
|
name: ee.stem,
|
|
11937
11958
|
size: "small"
|
|
@@ -12201,7 +12222,7 @@ const _u = [
|
|
|
12201
12222
|
};
|
|
12202
12223
|
}
|
|
12203
12224
|
});
|
|
12204
|
-
const
|
|
12225
|
+
const Ac = Ye(Pu), xu = /* @__PURE__ */ ue({
|
|
12205
12226
|
__name: "GLoginTitle",
|
|
12206
12227
|
props: {
|
|
12207
12228
|
title: { default: "公信会务管理系统" },
|
|
@@ -12220,7 +12241,7 @@ const Sc = Ye(Au), Fu = /* @__PURE__ */ ue({
|
|
|
12220
12241
|
}, te(t.subTitle), 3)
|
|
12221
12242
|
], 2));
|
|
12222
12243
|
}
|
|
12223
|
-
}),
|
|
12244
|
+
}), Vu = /* @__PURE__ */ ue({
|
|
12224
12245
|
__name: "GLoginForm",
|
|
12225
12246
|
setup(n) {
|
|
12226
12247
|
const { T: e } = ke(), t = `${_t}__form`;
|
|
@@ -12235,12 +12256,12 @@ const Sc = Ye(Au), Fu = /* @__PURE__ */ ue({
|
|
|
12235
12256
|
], 2)
|
|
12236
12257
|
], 2));
|
|
12237
12258
|
}
|
|
12238
|
-
}),
|
|
12259
|
+
}), Ou = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxODAuMjAyIDIyIiBjbGFzcz0iZGVzaWduLWljb25mb250Ij4KICA8cGF0aCBkPSJNMTI0LjY1LDMzMi41NjdoMTVMMTM4LjMsMzQzLjFhMi44MTEsMi44MTEsMCwwLDEtMy4xLDIuNDVIMTI0LjFhMzEuNjU2LDMxLjY1NiwwLDAsMS01LjYtLjQ0MSw3LjczOSw3LjczOSwwLDAsMS0zLjU1LTEuMzIzLDcuNTEsNy41MSwwLDAsMS0zLjc1LTYuNzEzdi0uNTM5Yy4xLS41ODguMS0xLjIyNS4yLTEuOTExYTEyLjA5NCwxMi4wOTQsMCwwLDEsMy4zNS02Ljk1OCwxMS40LDExLjQsMCwwLDEsNS4wNS0zLjAzOCwyNy45NDgsMjcuOTQ4LDAsMCwxLDcuNy0uOThoMTQuOWwtMi45NSwzLjkyaC0xMS44YTEyLjcsMTIuNywwLDAsMC02LjEsMS4yMjVjLTEuNiwxLjAyOS0yLjU1LDIuODkxLTIu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TML"], ju = /* @__PURE__ */ ue({
|
|
12239
12260
|
__name: "GLoginFooter",
|
|
12240
12261
|
props: {
|
|
12241
12262
|
copyrightInfoEng: { default: "Copyright 2023 All Rights Reserved. " },
|
|
12242
12263
|
copyrightInfoCN: { default: '版权所有:广东公信智能会议股份有限公司  -  <a href="#">粤ICP备08010133号-4</a>' },
|
|
12243
|
-
copyrightLogoSrc: { default:
|
|
12264
|
+
copyrightLogoSrc: { default: Ou }
|
|
12244
12265
|
},
|
|
12245
12266
|
setup(n) {
|
|
12246
12267
|
const e = `${_t}__footer`;
|
|
@@ -12254,12 +12275,12 @@ const Sc = Ye(Au), Fu = /* @__PURE__ */ ue({
|
|
|
12254
12275
|
ne("div", {
|
|
12255
12276
|
class: Z(`${e}--copyright`)
|
|
12256
12277
|
}, [
|
|
12257
|
-
ne("div", { innerHTML: t.copyrightInfoEng }, null, 8,
|
|
12258
|
-
ne("div", { innerHTML: t.copyrightInfoCN }, null, 8,
|
|
12278
|
+
ne("div", { innerHTML: t.copyrightInfoEng }, null, 8, Uu),
|
|
12279
|
+
ne("div", { innerHTML: t.copyrightInfoCN }, null, 8, Ru)
|
|
12259
12280
|
], 2)
|
|
12260
12281
|
], 2));
|
|
12261
12282
|
}
|
|
12262
|
-
}),
|
|
12283
|
+
}), zu = ["poster"], Gu = ["src"], Hu = ["src"], Ku = /* @__PURE__ */ ue({
|
|
12263
12284
|
__name: "GLogin",
|
|
12264
12285
|
props: {
|
|
12265
12286
|
bgVideoMp4Src: {},
|
|
@@ -12286,30 +12307,30 @@ const Sc = Ye(Au), Fu = /* @__PURE__ */ ue({
|
|
|
12286
12307
|
ne("source", {
|
|
12287
12308
|
src: e.bgVideoMp4Src,
|
|
12288
12309
|
type: "video/mp4"
|
|
12289
|
-
}, null, 8,
|
|
12310
|
+
}, null, 8, Gu),
|
|
12290
12311
|
ne("source", {
|
|
12291
12312
|
src: e.bgVideoWebmSrc,
|
|
12292
12313
|
type: "video/webm"
|
|
12293
|
-
}, null, 8,
|
|
12294
|
-
], 14,
|
|
12314
|
+
}, null, 8, Hu)
|
|
12315
|
+
], 14, zu),
|
|
12295
12316
|
ne("div", {
|
|
12296
12317
|
class: Z(`${h(_t)}__overlay`)
|
|
12297
12318
|
}, null, 2),
|
|
12298
12319
|
ne("div", {
|
|
12299
12320
|
class: Z(`${h(_t)}__container`)
|
|
12300
12321
|
}, [
|
|
12301
|
-
F(
|
|
12322
|
+
F(xu, {
|
|
12302
12323
|
title: e.title,
|
|
12303
12324
|
subTitle: e.subTitle
|
|
12304
12325
|
}, null, 8, ["title", "subTitle"]),
|
|
12305
|
-
F(
|
|
12326
|
+
F(Vu, null, {
|
|
12306
12327
|
tabs: C(() => [
|
|
12307
12328
|
Ke(e.$slots, "tabs")
|
|
12308
12329
|
]),
|
|
12309
12330
|
_: 3
|
|
12310
12331
|
})
|
|
12311
12332
|
], 2),
|
|
12312
|
-
F(
|
|
12333
|
+
F(ju, {
|
|
12313
12334
|
copyrightInfoCN: e.copyrightInfoCN,
|
|
12314
12335
|
copyrightInfoEng: e.copyrightInfoEng,
|
|
12315
12336
|
copyrightLogoSrc: e.copyrightLogoSrc
|
|
@@ -12317,136 +12338,137 @@ const Sc = Ye(Au), Fu = /* @__PURE__ */ ue({
|
|
|
12317
12338
|
], 2));
|
|
12318
12339
|
}
|
|
12319
12340
|
});
|
|
12320
|
-
const
|
|
12321
|
-
function
|
|
12341
|
+
const Fc = Ye(Ku), Wu = Ka.name, Yu = Ka.version;
|
|
12342
|
+
function qu(n, e) {
|
|
12322
12343
|
console.info(
|
|
12323
|
-
`%c ${
|
|
12344
|
+
`%c ${Wu} %c ${Yu} `,
|
|
12324
12345
|
"padding: 2px 1px; border-radius: 3px 0 0 3px; color: #fff; background: #d82128; font-weight: bold;",
|
|
12325
12346
|
"padding: 2px 1px; border-radius: 0 3px 3px 0; color: #fff; background: #606060; "
|
|
12326
|
-
), n.component("GView",
|
|
12347
|
+
), n.component("GView", iu), n.component("GConfigProvider", hu), n.use(gu);
|
|
12327
12348
|
try {
|
|
12328
12349
|
e && (e != null && e.router) && Ze.initRouter(e.router);
|
|
12329
12350
|
} catch (t) {
|
|
12330
12351
|
console.error("初始化GView", t);
|
|
12331
12352
|
}
|
|
12332
12353
|
}
|
|
12333
|
-
function
|
|
12354
|
+
function $c(n) {
|
|
12334
12355
|
Ve(n), kt(n), lo(n), ao(n);
|
|
12335
12356
|
}
|
|
12336
|
-
const { i18n:
|
|
12357
|
+
const { i18n: Bc } = ke({
|
|
12337
12358
|
project: "venus"
|
|
12338
|
-
}),
|
|
12339
|
-
install:
|
|
12359
|
+
}), Pc = {
|
|
12360
|
+
install: qu
|
|
12340
12361
|
};
|
|
12341
12362
|
export {
|
|
12342
|
-
|
|
12343
|
-
|
|
12344
|
-
|
|
12345
|
-
|
|
12346
|
-
|
|
12347
|
-
|
|
12363
|
+
oa as COLOR_TOKEN,
|
|
12364
|
+
gc as DEFAULT_DARK_COLOR,
|
|
12365
|
+
vc as DEFAULT_LIGHT_COLOR,
|
|
12366
|
+
Fl as DEFAULT_THEME_CONFIG,
|
|
12367
|
+
us as GColumnController,
|
|
12368
|
+
pa as GCommonDialog,
|
|
12348
12369
|
ro as GCommonForm,
|
|
12349
|
-
|
|
12350
|
-
|
|
12351
|
-
|
|
12352
|
-
|
|
12353
|
-
|
|
12354
|
-
|
|
12355
|
-
|
|
12370
|
+
Hr as GCommonHeader,
|
|
12371
|
+
ha as GCommonTable,
|
|
12372
|
+
hu as GConfigProvider,
|
|
12373
|
+
ma as GLayout,
|
|
12374
|
+
Fc as GLogin,
|
|
12375
|
+
Ac as GMenuManage,
|
|
12376
|
+
Nc as GSettingDialog,
|
|
12356
12377
|
Xn as GUploader,
|
|
12357
12378
|
Vn as INIT_WS_MODEL,
|
|
12358
12379
|
Lo as LANG_CONFIG,
|
|
12359
12380
|
nn as LOCAL_CONFIG,
|
|
12360
|
-
|
|
12381
|
+
hc as LOCAL_DATA_ID,
|
|
12361
12382
|
Pn as LOCAL_INIT_TAB_MENU_LIST,
|
|
12362
|
-
|
|
12383
|
+
pc as LOCAL_MENU,
|
|
12363
12384
|
Xt as LOCAL_SESSION_ID,
|
|
12364
12385
|
on as LOCAL_SIDE_MENU_CONFIG,
|
|
12365
12386
|
xn as LOCAL_TAB_MENU,
|
|
12366
12387
|
Io as LOCAL_THEME_CONFIG,
|
|
12367
|
-
|
|
12368
|
-
|
|
12369
|
-
|
|
12370
|
-
|
|
12371
|
-
|
|
12388
|
+
Al as LOCAL_USER,
|
|
12389
|
+
Rc as NProgress,
|
|
12390
|
+
yc as PROJECT_PREFIX,
|
|
12391
|
+
Dc as RequestConfig,
|
|
12392
|
+
lr as RequestHttp,
|
|
12372
12393
|
ln as SESSION_COLUMN_DATA,
|
|
12373
12394
|
an as SESSION_FORM_DATA_CACHE,
|
|
12374
|
-
|
|
12395
|
+
No as SESSION_USER_PERMISSION,
|
|
12396
|
+
na as StorageUtils,
|
|
12375
12397
|
Do as TOKEN_EXPIRED_TIME,
|
|
12376
12398
|
So as TOKEN_NAME,
|
|
12377
|
-
|
|
12378
|
-
|
|
12379
|
-
|
|
12380
|
-
|
|
12399
|
+
Pl as WS_INTERVAL_TIMEOUT,
|
|
12400
|
+
xl as WS_RESET_TIMEOUT,
|
|
12401
|
+
Bl as WS_SERVICE_URL,
|
|
12402
|
+
Ul as boardClass,
|
|
12381
12403
|
Rt as checkPlaceholderIfHidden,
|
|
12382
|
-
|
|
12404
|
+
Vl as commonDialogClass,
|
|
12383
12405
|
rn as commonFormClass,
|
|
12384
12406
|
sn as commonHeaderClass,
|
|
12385
|
-
|
|
12386
|
-
|
|
12387
|
-
|
|
12388
|
-
|
|
12407
|
+
Ol as commonTableClass,
|
|
12408
|
+
sa as deepCompareObjects,
|
|
12409
|
+
Pc as default,
|
|
12410
|
+
bc as dialogClass,
|
|
12389
12411
|
yn as dialogPluginClass,
|
|
12390
|
-
|
|
12412
|
+
$o as downloadFile,
|
|
12391
12413
|
qn as evalContext,
|
|
12392
|
-
|
|
12414
|
+
tr as filterTreeValues,
|
|
12393
12415
|
Yn as flattenMenuData,
|
|
12394
|
-
|
|
12395
|
-
|
|
12416
|
+
Rl as formClass,
|
|
12417
|
+
Eo as formItemClass,
|
|
12396
12418
|
_t as gLoginClass,
|
|
12397
12419
|
bn as generateMenuTree,
|
|
12398
|
-
|
|
12399
|
-
|
|
12420
|
+
aa as getBrandColor,
|
|
12421
|
+
ta as getHomeUrl,
|
|
12400
12422
|
Kt as getUrlQuery,
|
|
12401
|
-
|
|
12402
|
-
|
|
12423
|
+
wc as headerClass,
|
|
12424
|
+
Jl as highlightSearchResult,
|
|
12403
12425
|
Ze as http,
|
|
12404
|
-
|
|
12426
|
+
Bc as i18n,
|
|
12405
12427
|
Ge as initEmptyFormItems,
|
|
12406
12428
|
In as initFormModel,
|
|
12407
|
-
|
|
12408
|
-
|
|
12409
|
-
|
|
12429
|
+
Xl as initTableColumns,
|
|
12430
|
+
Zl as initTableDisplayColumns,
|
|
12431
|
+
ra as initTreeSelectorData,
|
|
12410
12432
|
pt as is,
|
|
12411
12433
|
Ct as isArray,
|
|
12412
|
-
|
|
12413
|
-
|
|
12414
|
-
|
|
12415
|
-
|
|
12416
|
-
|
|
12417
|
-
|
|
12434
|
+
kc as isAsyncFunction,
|
|
12435
|
+
Ql as isBoolean,
|
|
12436
|
+
_c as isClient,
|
|
12437
|
+
Tc as isDate,
|
|
12438
|
+
Yl as isDef,
|
|
12439
|
+
Lc as isElement,
|
|
12418
12440
|
wn as isFormVoid,
|
|
12419
12441
|
Dt as isFunction,
|
|
12420
|
-
|
|
12421
|
-
|
|
12442
|
+
lt as isNull,
|
|
12443
|
+
Ao as isNullAndUnDef,
|
|
12422
12444
|
We as isNullOrUnDef,
|
|
12423
|
-
|
|
12445
|
+
Cc as isNumber,
|
|
12424
12446
|
oo as isObject,
|
|
12425
12447
|
en as isOuterUrl,
|
|
12426
|
-
|
|
12427
|
-
|
|
12428
|
-
|
|
12429
|
-
|
|
12430
|
-
|
|
12431
|
-
|
|
12448
|
+
ql as isPromise,
|
|
12449
|
+
er as isResourceUrl,
|
|
12450
|
+
Sc as isServer,
|
|
12451
|
+
Mc as isString,
|
|
12452
|
+
la as isUnDef,
|
|
12453
|
+
Ic as isWindow,
|
|
12432
12454
|
tt as layoutClass,
|
|
12433
|
-
|
|
12455
|
+
ar as loadNanoId,
|
|
12434
12456
|
et as localStorageUtils,
|
|
12435
12457
|
Zt as nanoid,
|
|
12436
12458
|
wt as resolveUrl,
|
|
12437
12459
|
Be as sessionStorageUtils,
|
|
12438
|
-
|
|
12439
|
-
|
|
12460
|
+
$c as setupStore,
|
|
12461
|
+
jl as tabClass,
|
|
12440
12462
|
Pt as tableClass,
|
|
12441
12463
|
un as uploaderClass,
|
|
12442
|
-
|
|
12464
|
+
ea as urlToPath,
|
|
12443
12465
|
Ln as useCacheStore,
|
|
12444
|
-
|
|
12445
|
-
|
|
12466
|
+
ua as useColumnStore,
|
|
12467
|
+
Oc as useI18n,
|
|
12446
12468
|
lo as usePropsStore,
|
|
12447
12469
|
Ve as useSettingStore,
|
|
12448
12470
|
ao as useSocketStore,
|
|
12449
12471
|
kt as useTabMenuStore,
|
|
12450
|
-
|
|
12472
|
+
Kl as v,
|
|
12451
12473
|
Ye as withInstall
|
|
12452
12474
|
};
|