@das-fed/ui 6.4.0-dev.52 → 6.4.0-dev.53
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/esm-map.json +3 -1
- package/i18n-collection/en.js +407 -406
- package/i18n-collection/zh-CN.js +437 -437
- package/package.json +5 -5
- package/packages/business-components/change-enterprises/i18n/index.d.ts +15 -0
- package/packages/business-components/change-enterprises/index.js +51 -45
- package/packages/business-components/change-enterprises/index.js.gz +0 -0
- package/packages/business-components/change-pwd/i18n/index.d.ts +77 -1
- package/packages/business-components/change-pwd/index.js +118 -99
- package/packages/business-components/change-pwd/index.js.gz +0 -0
- package/packages/business-components/currency-page/i18n/index.d.ts +19 -0
- package/packages/business-components/currency-page/index.js +27 -20
- package/packages/business-components/currency-page/index.js.gz +0 -0
- package/packages/business-components/device-panel/i18n/index.d.ts +767 -0
- package/packages/business-components/device-panel/index.js +4961 -4767
- package/packages/business-components/device-panel/index.js.gz +0 -0
- package/packages/business-components/device-panel/style.css +1 -1
- package/packages/business-components/device-panel/style.css.gz +0 -0
- package/packages/business-components/export-button/i18n/index.d.ts +51 -0
- package/packages/business-components/export-button/index.js +117 -102
- package/packages/business-components/export-button/index.js.gz +0 -0
- package/packages/business-components/import-button/i18n/index.d.ts +103 -0
- package/packages/business-components/import-button/index.js +220 -192
- package/packages/business-components/import-button/index.js.gz +0 -0
- package/packages/business-components/model-table-dialog/i18n/index.d.ts +27 -0
- package/packages/business-components/model-table-dialog/index.js +663 -660
- package/packages/business-components/model-table-dialog/index.js.gz +0 -0
- package/packages/business-components/model-table-dialog/src/ModelTable.vue.d.ts +48 -16
- package/packages/business-components/model-table-dialog/style.css +1 -1
- package/packages/business-components/model-table-dialog/style.css.gz +0 -0
- package/packages/business-components/process-configuration/i18n/index.d.ts +114 -1
- package/packages/business-components/process-configuration/index.js +158 -130
- package/packages/business-components/process-configuration/index.js.gz +0 -0
- package/packages/business-components/process-form/api-service/formPreView.d.ts +7 -0
- package/packages/business-components/process-form/apis.d.ts +1 -0
- package/packages/business-components/process-form/i18n/index.d.ts +279 -0
- package/packages/business-components/process-form/index.js +1170 -1071
- package/packages/business-components/process-form/index.js.gz +0 -0
- package/packages/business-components/process-form/src/widgets/store.d.ts +1 -0
- package/packages/business-components/process-form/style.css +1 -1
- package/packages/business-components/process-log/i18n/index.d.ts +33 -1
- package/packages/business-components/process-log/index.js +151 -146
- package/packages/business-components/process-log/index.js.gz +0 -0
- package/packages/business-components/process-search-form/i18n/index.d.ts +39 -0
- package/packages/business-components/process-search-form/index.d.ts +2 -2
- package/packages/business-components/process-search-form/index.js +420 -389
- package/packages/business-components/process-search-form/index.js.gz +0 -0
- package/packages/business-components/process-search-form/src/App.vue.d.ts +2 -2
- package/packages/business-components/process-search-form/src/type.d.ts +1 -1
- package/packages/business-components/process-table/i18n/index.d.ts +35 -0
- package/packages/business-components/process-table/index.js +265 -254
- package/packages/business-components/process-table/index.js.gz +0 -0
- package/packages/business-components/upload-file/i18n/index.d.ts +7 -0
- package/packages/business-components/upload-file/index.js +26 -22
- package/packages/business-components/upload-file/index.js.gz +0 -0
- package/packages/business-components/urgent-panel/i18n/index.d.ts +331 -0
- package/packages/business-components/urgent-panel/index.js +900 -814
- package/packages/business-components/urgent-panel/index.js.gz +0 -0
- package/packages/business-components/user-org-dialog/i18n/index.d.ts +53 -1
- package/packages/business-components/user-org-dialog/index.js +196 -186
- package/packages/business-components/user-org-dialog/index.js.gz +0 -0
- package/packages/business-components/video-dialog/i18n/index.d.ts +71 -0
- package/packages/business-components/video-dialog/index.js +199 -179
- package/packages/business-components/video-dialog/index.js.gz +0 -0
- package/packages/components/button/i18n/index.d.ts +1 -6
- package/packages/components/button/index.js +16 -21
- package/packages/components/button/index.js.gz +0 -0
- package/packages/components/calendar/i18n/index.d.ts +52 -44
- package/packages/components/calendar/index.js +77 -75
- package/packages/components/calendar/index.js.gz +0 -0
- package/packages/components/cascader/i18n/index.d.ts +7 -0
- package/packages/components/cascader/index.js +38 -35
- package/packages/components/cascader/index.js.gz +0 -0
- package/packages/components/color-picker/i18n/index.d.ts +7 -0
- package/packages/components/color-picker/index.js +37 -34
- package/packages/components/color-picker/index.js.gz +0 -0
- package/packages/components/custom-search-item/i18n/index.d.ts +7 -0
- package/packages/components/custom-search-item/index.js +27 -24
- package/packages/components/custom-search-item/index.js.gz +0 -0
- package/packages/components/date-picker/i18n/index.d.ts +15 -0
- package/packages/components/date-picker/index.js +81 -76
- package/packages/components/date-picker/index.js.gz +0 -0
- package/packages/components/dialog/i18n/index.d.ts +6 -6
- package/packages/components/dialog/index.js +58 -58
- package/packages/components/dialog/index.js.gz +0 -0
- package/packages/components/dimple-layout/i18n/index.d.ts +43 -0
- package/packages/components/dimple-layout/index.js +1077 -1064
- package/packages/components/dimple-layout/index.js.gz +0 -0
- package/packages/components/dropdown/i18n/index.d.ts +7 -0
- package/packages/components/dropdown/index.js +32 -29
- package/packages/components/dropdown/index.js.gz +0 -0
- package/packages/components/empty/index.js +14 -16
- package/packages/components/empty/index.js.gz +0 -0
- package/packages/components/image-upload/i18n/index.d.ts +27 -3
- package/packages/components/image-upload/index.js +84 -78
- package/packages/components/image-upload/index.js.gz +0 -0
- package/packages/components/image-viewer/i18n/index.d.ts +31 -0
- package/packages/components/image-viewer/index.js +246 -237
- package/packages/components/image-viewer/index.js.gz +0 -0
- package/packages/components/input/i18n/index.d.ts +15 -0
- package/packages/components/input/index.js +50 -45
- package/packages/components/input/index.js.gz +0 -0
- package/packages/components/input-dialog-select/i18n/index.d.ts +1 -1
- package/packages/components/input-dialog-select/index.js +20 -23
- package/packages/components/input-dialog-select/index.js.gz +0 -0
- package/packages/components/live-player/i18n/index.d.ts +15 -0
- package/packages/components/live-player/index.js +15 -9
- package/packages/components/live-player/index.js.gz +0 -0
- package/packages/components/loading/i18n/index.d.ts +7 -0
- package/packages/components/loading/index.js +93 -90
- package/packages/components/loading/index.js.gz +0 -0
- package/packages/components/map/i18n/index.d.ts +23 -0
- package/packages/components/map/index.js +355 -347
- package/packages/components/map/index.js.gz +0 -0
- package/packages/components/menu-aside/i18n/index.d.ts +7 -0
- package/packages/components/menu-aside/index.js +150 -147
- package/packages/components/menu-aside/index.js.gz +0 -0
- package/packages/components/message/i18n/index.d.ts +7 -0
- package/packages/components/message/index.js +17 -14
- package/packages/components/message/index.js.gz +0 -0
- package/packages/components/notification/i18n/index.d.ts +7 -0
- package/packages/components/notification/index.js +10 -7
- package/packages/components/notification/index.js.gz +0 -0
- package/packages/components/pagination/i18n/index.d.ts +19 -0
- package/packages/components/pagination/index.js +81 -75
- package/packages/components/pagination/index.js.gz +0 -0
- package/packages/components/popover/i18n/index.d.ts +2 -2
- package/packages/components/preview/i18n/index.d.ts +1 -1
- package/packages/components/preview/index.js +1 -1
- package/packages/components/preview/index.js.gz +0 -0
- package/packages/components/rich-editor/i18n/index.d.ts +10 -3
- package/packages/components/rich-editor/index.js +4 -3
- package/packages/components/rich-editor/index.js.gz +0 -0
- package/packages/components/search/i18n/index.d.ts +25 -1
- package/packages/components/search/index.js +31 -28
- package/packages/components/search/index.js.gz +0 -0
- package/packages/components/select/i18n/index.d.ts +23 -0
- package/packages/components/select/index.js +204 -197
- package/packages/components/select/index.js.gz +0 -0
- package/packages/components/select-list/i18n/index.d.ts +4 -4
- package/packages/components/select-list/index.js +4 -4
- package/packages/components/select-list/index.js.gz +0 -0
- package/packages/components/special-range-picker-month/i18n/index.d.ts +4 -4
- package/packages/components/special-range-picker-month/index.js +15 -15
- package/packages/components/special-range-picker-month/index.js.gz +0 -0
- package/packages/components/special-range-picker-year/i18n/index.d.ts +3 -3
- package/packages/components/special-range-picker-year/index.js +81 -81
- package/packages/components/special-range-picker-year/index.js.gz +0 -0
- package/packages/components/spin/i18n/index.d.ts +7 -0
- package/packages/components/spin/index.js +35 -32
- package/packages/components/spin/index.js.gz +0 -0
- package/packages/components/table/i18n/index.d.ts +72 -2
- package/packages/components/table/index.js +1245 -1225
- package/packages/components/table/index.js.gz +0 -0
- package/packages/components/tabs/i18n/index.d.ts +15 -0
- package/packages/components/tabs/index.js +70 -65
- package/packages/components/tabs/index.js.gz +0 -0
- package/packages/components/time-line/i18n/index.d.ts +1 -1
- package/packages/components/time-line/index.js +6 -9
- package/packages/components/time-line/index.js.gz +0 -0
- package/packages/components/tooltip/i18n/index.d.ts +7 -0
- package/packages/components/tooltip/index.js +38 -35
- package/packages/components/tooltip/index.js.gz +0 -0
- package/packages/components/tree/i18n/index.d.ts +35 -0
- package/packages/components/tree/index.js +692 -682
- package/packages/components/tree/index.js.gz +0 -0
- package/packages/components/upload/i18n/index.d.ts +5 -5
- package/packages/components/upload/index.js +50 -50
- package/packages/components/upload/index.js.gz +0 -0
- package/packages/components/virtual-tree/i18n/index.d.ts +7 -0
- package/packages/components/virtual-tree/index.js +35 -31
- package/packages/components/virtual-tree/index.js.gz +0 -0
- package/packages/icons/edit-3/index.d.ts +1 -0
- package/packages/icons/edit-3/index.js +17 -0
- package/packages/icons/edit-3/index.js.gz +0 -0
- package/packages/icons/edit-3/index.vue.d.ts +16 -0
- package/packages/icons/index.d.ts +2 -0
- package/packages/icons/index.js +2 -0
- package/packages/icons/right-3/index.d.ts +1 -0
- package/packages/icons/right-3/index.js +17 -0
- package/packages/icons/right-3/index.js.gz +0 -0
- package/packages/icons/right-3/index.vue.d.ts +16 -0
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import '@das-fed/ui/packages/components/menu-aside/style.css';
|
|
2
2
|
import { withInstall as Le } from "@das-fed/utils/with-install/index";
|
|
3
3
|
import { h as ve, nextTick as Ve, createVNode as _, defineComponent as fe, computed as I, openBlock as c, createElementBlock as g, normalizeStyle as Z, ref as Q, createBlock as T, unref as d, mergeProps as le, withCtx as A, createElementVNode as m, renderSlot as D, createCommentVNode as v, createTextVNode as We, toDisplayString as S, Fragment as O, withDirectives as ye, renderList as R, normalizeClass as M, withModifiers as be, watch as me, onMounted as qe, isRef as Ze } from "vue";
|
|
4
|
-
import { t as G } from "@das-fed/web/packages/i18n/index";
|
|
5
|
-
import { DasScrollbar as
|
|
6
|
-
import { DasTooltip as
|
|
4
|
+
import { t as G, setI18nRule as Ge } from "@das-fed/web/packages/i18n/index";
|
|
5
|
+
import { DasScrollbar as Je } from "@das-fed/ui/packages/components/scrollbar/index";
|
|
6
|
+
import { DasTooltip as Ye } from "@das-fed/ui/packages/components/tooltip/index";
|
|
7
7
|
import { pureImageSrc as X } from "@das-fed/utils/pure-image-src";
|
|
8
|
-
import { SubMenu as
|
|
8
|
+
import { SubMenu as Qe, MenuItem as J, Menu as Xe } from "ant-design-vue";
|
|
9
9
|
import "ant-design-vue/es/menu/style/css";
|
|
10
10
|
import { vOverlay as he } from "@das-fed/ui/packages/components/overlay/index";
|
|
11
|
-
import { DasAutoRegisterIcon as
|
|
12
|
-
import { useZIndex as
|
|
13
|
-
import { updateStyle as
|
|
14
|
-
import { setThemeRule as
|
|
11
|
+
import { DasAutoRegisterIcon as en } from "@das-fed/ui/packages/components/icon/index";
|
|
12
|
+
import { useZIndex as nn } from "@das-fed/utils/hooks/popup-manager/use-zindex";
|
|
13
|
+
import { updateStyle as rn, createStyle as tn } from "@das-fed/utils/style";
|
|
14
|
+
import { setThemeRule as an } from "@das-fed/web/packages/theme/index";
|
|
15
15
|
function C(e, r) {
|
|
16
|
-
|
|
17
|
-
var n =
|
|
16
|
+
on(e) && (e = "100%");
|
|
17
|
+
var n = ln(e);
|
|
18
18
|
return e = r === 360 ? e : Math.min(r, Math.max(0, parseFloat(e))), n && (e = parseInt(String(e * r), 10) / 100), Math.abs(e - r) < 1e-6 ? 1 : (r === 360 ? e = (e < 0 ? e % r + r : e % r) / parseFloat(String(r)) : e = e % r / parseFloat(String(r)), e);
|
|
19
19
|
}
|
|
20
|
-
function
|
|
20
|
+
function on(e) {
|
|
21
21
|
return typeof e == "string" && e.indexOf(".") !== -1 && parseFloat(e) === 1;
|
|
22
22
|
}
|
|
23
|
-
function
|
|
23
|
+
function ln(e) {
|
|
24
24
|
return typeof e == "string" && e.indexOf("%") !== -1;
|
|
25
25
|
}
|
|
26
|
-
function
|
|
26
|
+
function sn(e) {
|
|
27
27
|
return e = parseFloat(e), (isNaN(e) || e < 0 || e > 1) && (e = 1), e;
|
|
28
28
|
}
|
|
29
29
|
function V(e) {
|
|
@@ -32,7 +32,7 @@ function V(e) {
|
|
|
32
32
|
function ee(e) {
|
|
33
33
|
return e.length === 1 ? "0" + e : String(e);
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function un(e, r, n) {
|
|
36
36
|
return {
|
|
37
37
|
r: C(e, 255) * 255,
|
|
38
38
|
g: C(r, 255) * 255,
|
|
@@ -42,7 +42,7 @@ function sn(e, r, n) {
|
|
|
42
42
|
function ne(e, r, n) {
|
|
43
43
|
return n < 0 && (n += 1), n > 1 && (n -= 1), n < 1 / 6 ? e + (r - e) * (6 * n) : n < 1 / 2 ? r : n < 2 / 3 ? e + (r - e) * (2 / 3 - n) * 6 : e;
|
|
44
44
|
}
|
|
45
|
-
function
|
|
45
|
+
function cn(e, r, n) {
|
|
46
46
|
var t, a, o;
|
|
47
47
|
if (e = C(e, 360), r = C(r, 100), n = C(n, 100), r === 0)
|
|
48
48
|
a = n, o = n, t = n;
|
|
@@ -52,7 +52,7 @@ function un(e, r, n) {
|
|
|
52
52
|
}
|
|
53
53
|
return { r: t * 255, g: a * 255, b: o * 255 };
|
|
54
54
|
}
|
|
55
|
-
function
|
|
55
|
+
function fn(e, r, n) {
|
|
56
56
|
e = C(e, 255), r = C(r, 255), n = C(n, 255);
|
|
57
57
|
var t = Math.max(e, r, n), a = Math.min(e, r, n), o = 0, u = t, l = t - a, f = t === 0 ? 0 : l / t;
|
|
58
58
|
if (t === a)
|
|
@@ -73,12 +73,12 @@ function cn(e, r, n) {
|
|
|
73
73
|
}
|
|
74
74
|
return { h: o, s: f, v: u };
|
|
75
75
|
}
|
|
76
|
-
function
|
|
76
|
+
function dn(e, r, n) {
|
|
77
77
|
e = C(e, 360) * 6, r = C(r, 100), n = C(n, 100);
|
|
78
78
|
var t = Math.floor(e), a = e - t, o = n * (1 - r), u = n * (1 - a * r), l = n * (1 - (1 - a) * r), f = t % 6, i = [n, u, o, o, l, n][f], h = [l, n, n, u, o, o][f], y = [o, o, l, n, n, u][f];
|
|
79
79
|
return { r: i * 255, g: h * 255, b: y * 255 };
|
|
80
80
|
}
|
|
81
|
-
function
|
|
81
|
+
function pn(e, r, n, t) {
|
|
82
82
|
var a = [
|
|
83
83
|
ee(Math.round(e).toString(16)),
|
|
84
84
|
ee(Math.round(r).toString(16)),
|
|
@@ -244,7 +244,7 @@ var Ce = {
|
|
|
244
244
|
};
|
|
245
245
|
function B(e) {
|
|
246
246
|
var r = { r: 0, g: 0, b: 0 }, n = 1, t = null, a = null, o = null, u = !1, l = !1;
|
|
247
|
-
return typeof e == "string" && (e =
|
|
247
|
+
return typeof e == "string" && (e = yn(e)), typeof e == "object" && (j(e.r) && j(e.g) && j(e.b) ? (r = un(e.r, e.g, e.b), u = !0, l = String(e.r).substr(-1) === "%" ? "prgb" : "rgb") : j(e.h) && j(e.s) && j(e.v) ? (t = V(e.s), a = V(e.v), r = dn(e.h, t, a), u = !0, l = "hsv") : j(e.h) && j(e.s) && j(e.l) && (t = V(e.s), o = V(e.l), r = cn(e.h, t, o), u = !0, l = "hsl"), Object.prototype.hasOwnProperty.call(e, "a") && (n = e.a)), n = sn(n), {
|
|
248
248
|
ok: u,
|
|
249
249
|
format: e.format || l,
|
|
250
250
|
r: Math.min(255, Math.max(r.r, 0)),
|
|
@@ -253,7 +253,7 @@ function B(e) {
|
|
|
253
253
|
a: n
|
|
254
254
|
};
|
|
255
255
|
}
|
|
256
|
-
var
|
|
256
|
+
var gn = "[-\\+]?\\d+%?", vn = "[-\\+]?\\d*\\.\\d+%?", $ = "(?:".concat(vn, ")|(?:").concat(gn, ")"), re = "[\\s|\\(]+(".concat($, ")[,|\\s]+(").concat($, ")[,|\\s]+(").concat($, ")\\s*\\)?"), te = "[\\s|\\(]+(".concat($, ")[,|\\s]+(").concat($, ")[,|\\s]+(").concat($, ")[,|\\s]+(").concat($, ")\\s*\\)?"), F = {
|
|
257
257
|
CSS_UNIT: new RegExp($),
|
|
258
258
|
rgb: new RegExp("rgb" + re),
|
|
259
259
|
rgba: new RegExp("rgba" + te),
|
|
@@ -266,7 +266,7 @@ var pn = "[-\\+]?\\d+%?", gn = "[-\\+]?\\d*\\.\\d+%?", $ = "(?:".concat(gn, ")|(
|
|
|
266
266
|
hex4: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,
|
|
267
267
|
hex8: /^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/
|
|
268
268
|
};
|
|
269
|
-
function
|
|
269
|
+
function yn(e) {
|
|
270
270
|
if (e = e.trim().toLowerCase(), e.length === 0)
|
|
271
271
|
return !1;
|
|
272
272
|
var r = !1;
|
|
@@ -302,7 +302,7 @@ function vn(e) {
|
|
|
302
302
|
function j(e) {
|
|
303
303
|
return !!F.CSS_UNIT.exec(String(e));
|
|
304
304
|
}
|
|
305
|
-
var W = 2, Fe = 0.16,
|
|
305
|
+
var W = 2, Fe = 0.16, bn = 0.05, mn = 0.05, hn = 0.15, Ke = 5, Ne = 4, kn = [{
|
|
306
306
|
index: 7,
|
|
307
307
|
opacity: 0.15
|
|
308
308
|
}, {
|
|
@@ -334,7 +334,7 @@ var W = 2, Fe = 0.16, yn = 0.05, bn = 0.05, mn = 0.15, Ke = 5, Ne = 4, hn = [{
|
|
|
334
334
|
opacity: 0.98
|
|
335
335
|
}];
|
|
336
336
|
function Se(e) {
|
|
337
|
-
var r = e.r, n = e.g, t = e.b, a =
|
|
337
|
+
var r = e.r, n = e.g, t = e.b, a = fn(r, n, t);
|
|
338
338
|
return {
|
|
339
339
|
h: a.h * 360,
|
|
340
340
|
s: a.s,
|
|
@@ -343,9 +343,9 @@ function Se(e) {
|
|
|
343
343
|
}
|
|
344
344
|
function q(e) {
|
|
345
345
|
var r = e.r, n = e.g, t = e.b;
|
|
346
|
-
return "#".concat(
|
|
346
|
+
return "#".concat(pn(r, n, t));
|
|
347
347
|
}
|
|
348
|
-
function
|
|
348
|
+
function Cn(e, r, n) {
|
|
349
349
|
var t = n / 100, a = {
|
|
350
350
|
r: (r.r - e.r) * t + e.r,
|
|
351
351
|
g: (r.g - e.g) * t + e.g,
|
|
@@ -361,11 +361,11 @@ function Oe(e, r, n) {
|
|
|
361
361
|
if (e.h === 0 && e.s === 0)
|
|
362
362
|
return e.s;
|
|
363
363
|
var t;
|
|
364
|
-
return n ? t = e.s - Fe * r : r === Ne ? t = e.s + Fe : t = e.s +
|
|
364
|
+
return n ? t = e.s - Fe * r : r === Ne ? t = e.s + Fe : t = e.s + bn * r, t > 1 && (t = 1), n && r === Ke && t > 0.1 && (t = 0.1), t < 0.06 && (t = 0.06), Number(t.toFixed(2));
|
|
365
365
|
}
|
|
366
366
|
function xe(e, r, n) {
|
|
367
367
|
var t;
|
|
368
|
-
return n ? t = e.v +
|
|
368
|
+
return n ? t = e.v + mn * r : t = e.v - hn * r, t > 1 && (t = 1), Number(t.toFixed(2));
|
|
369
369
|
}
|
|
370
370
|
function se(e) {
|
|
371
371
|
for (var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = [], t = B(e), a = Ke; a > 0; a -= 1) {
|
|
@@ -385,8 +385,8 @@ function se(e) {
|
|
|
385
385
|
}));
|
|
386
386
|
n.push(i);
|
|
387
387
|
}
|
|
388
|
-
return r.theme === "dark" ?
|
|
389
|
-
var y = h.index, w = h.opacity, K = q(
|
|
388
|
+
return r.theme === "dark" ? kn.map(function(h) {
|
|
389
|
+
var y = h.index, w = h.opacity, K = q(Cn(B(r.backgroundColor || "#141414"), B(n[y]), w * 100));
|
|
390
390
|
return K;
|
|
391
391
|
}) : n;
|
|
392
392
|
}
|
|
@@ -411,18 +411,18 @@ Object.keys(ae).forEach(function(e) {
|
|
|
411
411
|
backgroundColor: "#141414"
|
|
412
412
|
}), ie[e].primary = ie[e][5];
|
|
413
413
|
});
|
|
414
|
-
var je = [], z = [],
|
|
415
|
-
function
|
|
414
|
+
var je = [], z = [], Fn = "insert-css: You need to provide a CSS string. Usage: insertCss(cssString[, options]).";
|
|
415
|
+
function Sn() {
|
|
416
416
|
var e = document.createElement("style");
|
|
417
417
|
return e.setAttribute("type", "text/css"), e;
|
|
418
418
|
}
|
|
419
|
-
function
|
|
419
|
+
function wn(e, r) {
|
|
420
420
|
if (r = r || {}, e === void 0)
|
|
421
|
-
throw new Error(
|
|
421
|
+
throw new Error(Fn);
|
|
422
422
|
var n = r.prepend === !0 ? "prepend" : "append", t = r.container !== void 0 ? r.container : document.querySelector("head"), a = je.indexOf(t);
|
|
423
423
|
a === -1 && (a = je.push(t) - 1, z[a] = {});
|
|
424
424
|
var o;
|
|
425
|
-
return z[a] !== void 0 && z[a][n] !== void 0 ? o = z[a][n] : (o = z[a][n] =
|
|
425
|
+
return z[a] !== void 0 && z[a][n] !== void 0 ? o = z[a][n] : (o = z[a][n] = Sn(), n === "prepend" ? t.insertBefore(o, t.childNodes[0]) : t.appendChild(o)), e.charCodeAt(0) === 65279 && (e = e.substr(1, e.length)), o.styleSheet ? o.styleSheet.cssText += e : o.textContent += e, o;
|
|
426
426
|
}
|
|
427
427
|
function Ae(e) {
|
|
428
428
|
for (var r = 1; r < arguments.length; r++) {
|
|
@@ -430,19 +430,19 @@ function Ae(e) {
|
|
|
430
430
|
typeof Object.getOwnPropertySymbols == "function" && (t = t.concat(Object.getOwnPropertySymbols(n).filter(function(a) {
|
|
431
431
|
return Object.getOwnPropertyDescriptor(n, a).enumerable;
|
|
432
432
|
}))), t.forEach(function(a) {
|
|
433
|
-
|
|
433
|
+
On(e, a, n[a]);
|
|
434
434
|
});
|
|
435
435
|
}
|
|
436
436
|
return e;
|
|
437
437
|
}
|
|
438
|
-
function
|
|
438
|
+
function On(e, r, n) {
|
|
439
439
|
return r in e ? Object.defineProperty(e, r, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = n, e;
|
|
440
440
|
}
|
|
441
|
-
function
|
|
441
|
+
function xn(e, r) {
|
|
442
442
|
process.env.NODE_ENV;
|
|
443
443
|
}
|
|
444
|
-
function
|
|
445
|
-
|
|
444
|
+
function jn(e, r) {
|
|
445
|
+
xn(e, "[@ant-design/icons-vue] ".concat(r));
|
|
446
446
|
}
|
|
447
447
|
function _e(e) {
|
|
448
448
|
return typeof e == "object" && typeof e.name == "string" && typeof e.theme == "string" && (typeof e.icon == "object" || typeof e.icon == "function");
|
|
@@ -464,7 +464,7 @@ function Be(e) {
|
|
|
464
464
|
function ze(e) {
|
|
465
465
|
return e ? Array.isArray(e) ? e : [e] : [];
|
|
466
466
|
}
|
|
467
|
-
var
|
|
467
|
+
var An = `
|
|
468
468
|
.anticon {
|
|
469
469
|
display: inline-block;
|
|
470
470
|
color: inherit;
|
|
@@ -518,17 +518,17 @@ var jn = `
|
|
|
518
518
|
transform: rotate(360deg);
|
|
519
519
|
}
|
|
520
520
|
}
|
|
521
|
-
`, Te = !1,
|
|
522
|
-
var r = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] :
|
|
521
|
+
`, Te = !1, _n = function() {
|
|
522
|
+
var r = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : An;
|
|
523
523
|
Ve(function() {
|
|
524
|
-
Te || (typeof window < "u" && window.document && window.document.documentElement &&
|
|
524
|
+
Te || (typeof window < "u" && window.document && window.document.documentElement && wn(r, {
|
|
525
525
|
prepend: !0
|
|
526
526
|
}), Te = !0);
|
|
527
527
|
});
|
|
528
|
-
},
|
|
529
|
-
function
|
|
528
|
+
}, Tn = ["icon", "primaryColor", "secondaryColor"];
|
|
529
|
+
function Mn(e, r) {
|
|
530
530
|
if (e == null) return {};
|
|
531
|
-
var n =
|
|
531
|
+
var n = $n(e, r), t, a;
|
|
532
532
|
if (Object.getOwnPropertySymbols) {
|
|
533
533
|
var o = Object.getOwnPropertySymbols(e);
|
|
534
534
|
for (a = 0; a < o.length; a++)
|
|
@@ -536,7 +536,7 @@ function Tn(e, r) {
|
|
|
536
536
|
}
|
|
537
537
|
return n;
|
|
538
538
|
}
|
|
539
|
-
function
|
|
539
|
+
function $n(e, r) {
|
|
540
540
|
if (e == null) return {};
|
|
541
541
|
var n = {}, t = Object.keys(e), a, o;
|
|
542
542
|
for (o = 0; o < t.length; o++)
|
|
@@ -549,12 +549,12 @@ function Y(e) {
|
|
|
549
549
|
typeof Object.getOwnPropertySymbols == "function" && (t = t.concat(Object.getOwnPropertySymbols(n).filter(function(a) {
|
|
550
550
|
return Object.getOwnPropertyDescriptor(n, a).enumerable;
|
|
551
551
|
}))), t.forEach(function(a) {
|
|
552
|
-
|
|
552
|
+
Pn(e, a, n[a]);
|
|
553
553
|
});
|
|
554
554
|
}
|
|
555
555
|
return e;
|
|
556
556
|
}
|
|
557
|
-
function
|
|
557
|
+
function Pn(e, r, n) {
|
|
558
558
|
return r in e ? Object.defineProperty(e, r, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = n, e;
|
|
559
559
|
}
|
|
560
560
|
var H = {
|
|
@@ -562,19 +562,19 @@ var H = {
|
|
|
562
562
|
secondaryColor: "#E6E6E6",
|
|
563
563
|
calculated: !1
|
|
564
564
|
};
|
|
565
|
-
function
|
|
565
|
+
function En(e) {
|
|
566
566
|
var r = e.primaryColor, n = e.secondaryColor;
|
|
567
567
|
H.primaryColor = r, H.secondaryColor = n || Be(r), H.calculated = !!n;
|
|
568
568
|
}
|
|
569
|
-
function
|
|
569
|
+
function Dn() {
|
|
570
570
|
return Y({}, H);
|
|
571
571
|
}
|
|
572
572
|
var P = function(r, n) {
|
|
573
|
-
var t = Y({}, r, n.attrs), a = t.icon, o = t.primaryColor, u = t.secondaryColor, l =
|
|
573
|
+
var t = Y({}, r, n.attrs), a = t.icon, o = t.primaryColor, u = t.secondaryColor, l = Mn(t, Tn), f = H;
|
|
574
574
|
if (o && (f = {
|
|
575
575
|
primaryColor: o,
|
|
576
576
|
secondaryColor: u || Be(o)
|
|
577
|
-
}),
|
|
577
|
+
}), _n(), jn(_e(a), "icon should be icon definiton, but got ".concat(a)), !_e(a))
|
|
578
578
|
return null;
|
|
579
579
|
var i = a;
|
|
580
580
|
return i && typeof i.icon == "function" && (i = Y({}, i, {
|
|
@@ -595,16 +595,16 @@ P.props = {
|
|
|
595
595
|
};
|
|
596
596
|
P.inheritAttrs = !1;
|
|
597
597
|
P.displayName = "IconBase";
|
|
598
|
-
P.getTwoToneColors =
|
|
599
|
-
P.setTwoToneColors =
|
|
600
|
-
function
|
|
601
|
-
return
|
|
598
|
+
P.getTwoToneColors = Dn;
|
|
599
|
+
P.setTwoToneColors = En;
|
|
600
|
+
function In(e, r) {
|
|
601
|
+
return zn(e) || Bn(e, r) || Nn(e, r) || Kn();
|
|
602
602
|
}
|
|
603
|
-
function
|
|
603
|
+
function Kn() {
|
|
604
604
|
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
605
605
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
606
606
|
}
|
|
607
|
-
function
|
|
607
|
+
function Nn(e, r) {
|
|
608
608
|
if (e) {
|
|
609
609
|
if (typeof e == "string") return Me(e, r);
|
|
610
610
|
var n = Object.prototype.toString.call(e).slice(8, -1);
|
|
@@ -618,7 +618,7 @@ function Me(e, r) {
|
|
|
618
618
|
t[n] = e[n];
|
|
619
619
|
return t;
|
|
620
620
|
}
|
|
621
|
-
function
|
|
621
|
+
function Bn(e, r) {
|
|
622
622
|
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
623
623
|
if (n != null) {
|
|
624
624
|
var t = [], a = !0, o = !1, u, l;
|
|
@@ -637,29 +637,29 @@ function Nn(e, r) {
|
|
|
637
637
|
return t;
|
|
638
638
|
}
|
|
639
639
|
}
|
|
640
|
-
function
|
|
640
|
+
function zn(e) {
|
|
641
641
|
if (Array.isArray(e)) return e;
|
|
642
642
|
}
|
|
643
643
|
function Re(e) {
|
|
644
|
-
var r = ze(e), n =
|
|
644
|
+
var r = ze(e), n = In(r, 2), t = n[0], a = n[1];
|
|
645
645
|
return P.setTwoToneColors({
|
|
646
646
|
primaryColor: t,
|
|
647
647
|
secondaryColor: a
|
|
648
648
|
});
|
|
649
649
|
}
|
|
650
|
-
function
|
|
650
|
+
function Rn() {
|
|
651
651
|
var e = P.getTwoToneColors();
|
|
652
652
|
return e.calculated ? [e.primaryColor, e.secondaryColor] : e.primaryColor;
|
|
653
653
|
}
|
|
654
|
-
var
|
|
655
|
-
function
|
|
656
|
-
return
|
|
654
|
+
var Hn = ["class", "icon", "spin", "rotate", "tabindex", "twoToneColor", "onClick"];
|
|
655
|
+
function Un(e, r) {
|
|
656
|
+
return qn(e) || Wn(e, r) || Vn(e, r) || Ln();
|
|
657
657
|
}
|
|
658
|
-
function
|
|
658
|
+
function Ln() {
|
|
659
659
|
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
660
660
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
661
661
|
}
|
|
662
|
-
function
|
|
662
|
+
function Vn(e, r) {
|
|
663
663
|
if (e) {
|
|
664
664
|
if (typeof e == "string") return $e(e, r);
|
|
665
665
|
var n = Object.prototype.toString.call(e).slice(8, -1);
|
|
@@ -673,7 +673,7 @@ function $e(e, r) {
|
|
|
673
673
|
t[n] = e[n];
|
|
674
674
|
return t;
|
|
675
675
|
}
|
|
676
|
-
function
|
|
676
|
+
function Wn(e, r) {
|
|
677
677
|
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
678
678
|
if (n != null) {
|
|
679
679
|
var t = [], a = !0, o = !1, u, l;
|
|
@@ -692,7 +692,7 @@ function Vn(e, r) {
|
|
|
692
692
|
return t;
|
|
693
693
|
}
|
|
694
694
|
}
|
|
695
|
-
function
|
|
695
|
+
function qn(e) {
|
|
696
696
|
if (Array.isArray(e)) return e;
|
|
697
697
|
}
|
|
698
698
|
function Pe(e) {
|
|
@@ -709,9 +709,9 @@ function Pe(e) {
|
|
|
709
709
|
function ce(e, r, n) {
|
|
710
710
|
return r in e ? Object.defineProperty(e, r, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = n, e;
|
|
711
711
|
}
|
|
712
|
-
function
|
|
712
|
+
function Zn(e, r) {
|
|
713
713
|
if (e == null) return {};
|
|
714
|
-
var n =
|
|
714
|
+
var n = Gn(e, r), t, a;
|
|
715
715
|
if (Object.getOwnPropertySymbols) {
|
|
716
716
|
var o = Object.getOwnPropertySymbols(e);
|
|
717
717
|
for (a = 0; a < o.length; a++)
|
|
@@ -719,7 +719,7 @@ function qn(e, r) {
|
|
|
719
719
|
}
|
|
720
720
|
return n;
|
|
721
721
|
}
|
|
722
|
-
function
|
|
722
|
+
function Gn(e, r) {
|
|
723
723
|
if (e == null) return {};
|
|
724
724
|
var n = {}, t = Object.keys(e), a, o;
|
|
725
725
|
for (o = 0; o < t.length; o++)
|
|
@@ -728,14 +728,14 @@ function Zn(e, r) {
|
|
|
728
728
|
}
|
|
729
729
|
Re("#1890ff");
|
|
730
730
|
var E = function(r, n) {
|
|
731
|
-
var t, a = Pe({}, r, n.attrs), o = a.class, u = a.icon, l = a.spin, f = a.rotate, i = a.tabindex, h = a.twoToneColor, y = a.onClick, w =
|
|
731
|
+
var t, a = Pe({}, r, n.attrs), o = a.class, u = a.icon, l = a.spin, f = a.rotate, i = a.tabindex, h = a.twoToneColor, y = a.onClick, w = Zn(a, Hn), K = (t = {
|
|
732
732
|
anticon: !0
|
|
733
733
|
}, ce(t, "anticon-".concat(u.name), !!u.name), ce(t, o, o), t), U = l === "" || l || u.name === "loading" ? "anticon-spin" : "", N = i;
|
|
734
734
|
N === void 0 && y && (N = -1, w.tabindex = N);
|
|
735
735
|
var p = f ? {
|
|
736
736
|
msTransform: "rotate(".concat(f, "deg)"),
|
|
737
737
|
transform: "rotate(".concat(f, "deg)")
|
|
738
|
-
} : void 0, b = ze(h), s =
|
|
738
|
+
} : void 0, b = ze(h), s = Un(b, 2), x = s[0], L = s[1];
|
|
739
739
|
return _("span", Pe({
|
|
740
740
|
role: "img",
|
|
741
741
|
"aria-label": u.name
|
|
@@ -758,55 +758,55 @@ E.props = {
|
|
|
758
758
|
};
|
|
759
759
|
E.displayName = "AntdIcon";
|
|
760
760
|
E.inheritAttrs = !1;
|
|
761
|
-
E.getTwoToneColor =
|
|
761
|
+
E.getTwoToneColor = Rn;
|
|
762
762
|
E.setTwoToneColor = Re;
|
|
763
|
-
var
|
|
763
|
+
var Jn = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M408 442h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm-8 204c0 4.4 3.6 8 8 8h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56zm504-486H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 632H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM115.4 518.9L271.7 642c5.8 4.6 14.4.5 14.4-6.9V388.9c0-7.4-8.5-11.5-14.4-6.9L115.4 505.1a8.74 8.74 0 000 13.8z" } }] }, name: "menu-fold", theme: "outlined" };
|
|
764
764
|
function Ee(e) {
|
|
765
765
|
for (var r = 1; r < arguments.length; r++) {
|
|
766
766
|
var n = arguments[r] != null ? Object(arguments[r]) : {}, t = Object.keys(n);
|
|
767
767
|
typeof Object.getOwnPropertySymbols == "function" && (t = t.concat(Object.getOwnPropertySymbols(n).filter(function(a) {
|
|
768
768
|
return Object.getOwnPropertyDescriptor(n, a).enumerable;
|
|
769
769
|
}))), t.forEach(function(a) {
|
|
770
|
-
|
|
770
|
+
Yn(e, a, n[a]);
|
|
771
771
|
});
|
|
772
772
|
}
|
|
773
773
|
return e;
|
|
774
774
|
}
|
|
775
|
-
function
|
|
775
|
+
function Yn(e, r, n) {
|
|
776
776
|
return r in e ? Object.defineProperty(e, r, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = n, e;
|
|
777
777
|
}
|
|
778
778
|
var de = function(r, n) {
|
|
779
779
|
var t = Ee({}, r, n.attrs);
|
|
780
780
|
return _(E, Ee({}, t, {
|
|
781
|
-
icon:
|
|
781
|
+
icon: Jn
|
|
782
782
|
}), null);
|
|
783
783
|
};
|
|
784
784
|
de.displayName = "MenuFoldOutlined";
|
|
785
785
|
de.inheritAttrs = !1;
|
|
786
|
-
var
|
|
786
|
+
var Qn = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M408 442h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm-8 204c0 4.4 3.6 8 8 8h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56zm504-486H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 632H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM142.4 642.1L298.7 519a8.84 8.84 0 000-13.9L142.4 381.9c-5.8-4.6-14.4-.5-14.4 6.9v246.3a8.9 8.9 0 0014.4 7z" } }] }, name: "menu-unfold", theme: "outlined" };
|
|
787
787
|
function De(e) {
|
|
788
788
|
for (var r = 1; r < arguments.length; r++) {
|
|
789
789
|
var n = arguments[r] != null ? Object(arguments[r]) : {}, t = Object.keys(n);
|
|
790
790
|
typeof Object.getOwnPropertySymbols == "function" && (t = t.concat(Object.getOwnPropertySymbols(n).filter(function(a) {
|
|
791
791
|
return Object.getOwnPropertyDescriptor(n, a).enumerable;
|
|
792
792
|
}))), t.forEach(function(a) {
|
|
793
|
-
|
|
793
|
+
Xn(e, a, n[a]);
|
|
794
794
|
});
|
|
795
795
|
}
|
|
796
796
|
return e;
|
|
797
797
|
}
|
|
798
|
-
function
|
|
798
|
+
function Xn(e, r, n) {
|
|
799
799
|
return r in e ? Object.defineProperty(e, r, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = n, e;
|
|
800
800
|
}
|
|
801
801
|
var pe = function(r, n) {
|
|
802
802
|
var t = De({}, r, n.attrs);
|
|
803
803
|
return _(E, De({}, t, {
|
|
804
|
-
icon:
|
|
804
|
+
icon: Qn
|
|
805
805
|
}), null);
|
|
806
806
|
};
|
|
807
807
|
pe.displayName = "MenuUnfoldOutlined";
|
|
808
808
|
pe.inheritAttrs = !1;
|
|
809
|
-
const
|
|
809
|
+
const er = ["src"], He = /* @__PURE__ */ fe({
|
|
810
810
|
__name: "menu-icon",
|
|
811
811
|
props: {
|
|
812
812
|
data: { default: () => ({}) },
|
|
@@ -834,9 +834,9 @@ const Xn = ["src"], He = /* @__PURE__ */ fe({
|
|
|
834
834
|
key: 1,
|
|
835
835
|
src: n.value,
|
|
836
836
|
alt: ""
|
|
837
|
-
}, null, 8,
|
|
837
|
+
}, null, 8, er));
|
|
838
838
|
}
|
|
839
|
-
}),
|
|
839
|
+
}), nr = (e, r) => ({
|
|
840
840
|
menuClick: (a, o) => {
|
|
841
841
|
var u;
|
|
842
842
|
(u = e.selectedKeys) != null && u.includes(o.id) || r("menuClick", { domEvent: a, item: o, key: o.id, keyPath: [o.parentId, o.id] });
|
|
@@ -844,29 +844,29 @@ const Xn = ["src"], He = /* @__PURE__ */ fe({
|
|
|
844
844
|
toggleAffix: (a, o) => {
|
|
845
845
|
r("toggleAffix", a, o);
|
|
846
846
|
}
|
|
847
|
-
}), Ue = (e, r = "children") => e.map((t) => (t[r] && t[r].length && (t[r] = Ue(t[r], r)), (!t[r] || !t[r].length) && (t[r] = null), t)),
|
|
847
|
+
}), Ue = (e, r = "children") => e.map((t) => (t[r] && t[r].length && (t[r] = Ue(t[r], r)), (!t[r] || !t[r].length) && (t[r] = null), t)), rr = (e, r) => {
|
|
848
848
|
for (var n = [], t = 0; t < e.length; t += r)
|
|
849
849
|
n.push(e.slice(t, t + r));
|
|
850
850
|
return n;
|
|
851
|
-
},
|
|
851
|
+
}, tr = { class: "aside-menu-title has-children" }, ar = {
|
|
852
852
|
key: 0,
|
|
853
853
|
class: "icon-box"
|
|
854
|
-
},
|
|
854
|
+
}, or = {
|
|
855
855
|
key: 1,
|
|
856
856
|
class: "menu-title"
|
|
857
|
-
},
|
|
857
|
+
}, ir = { class: "submenu-container" }, lr = { class: "title-bar" }, sr = { class: "title-left" }, ur = { class: "title" }, cr = { class: "item-container" }, fr = ["onClick"], dr = { class: "name" }, pr = {
|
|
858
858
|
key: 0,
|
|
859
859
|
class: "expired"
|
|
860
|
-
},
|
|
860
|
+
}, gr = { class: "name" }, vr = {
|
|
861
861
|
key: 0,
|
|
862
862
|
class: "expired"
|
|
863
|
-
},
|
|
863
|
+
}, yr = { class: "submenu-container is-collapse" }, br = { class: "title-bar is-collapse" }, mr = { class: "title-left" }, hr = { class: "title" }, kr = { class: "item-collapse-container" }, Cr = ["onClick"], Fr = { class: "name" }, Sr = {
|
|
864
864
|
key: 0,
|
|
865
865
|
class: "expired"
|
|
866
|
-
},
|
|
866
|
+
}, wr = {
|
|
867
867
|
name: "SubMenu"
|
|
868
|
-
},
|
|
869
|
-
...
|
|
868
|
+
}, Or = /* @__PURE__ */ fe({
|
|
869
|
+
...wr,
|
|
870
870
|
props: {
|
|
871
871
|
mode: { default: "vertical" },
|
|
872
872
|
collapse: { type: Boolean },
|
|
@@ -881,12 +881,12 @@ const Xn = ["src"], He = /* @__PURE__ */ fe({
|
|
|
881
881
|
emits: ["menuClick", "toggleAffix"],
|
|
882
882
|
setup(e, { emit: r }) {
|
|
883
883
|
const n = Q(""), t = e, a = r;
|
|
884
|
-
|
|
884
|
+
en({
|
|
885
885
|
unlock: import("@das-fed/ui/packages/icons/unlock"),
|
|
886
886
|
lock: import("@das-fed/ui/packages/icons/lock")
|
|
887
887
|
});
|
|
888
|
-
const { toggleAffix: o, menuClick: u } =
|
|
889
|
-
return (l, f) => (c(), T(d(
|
|
888
|
+
const { toggleAffix: o, menuClick: u } = nr(t, a);
|
|
889
|
+
return (l, f) => (c(), T(d(Qe), le({
|
|
890
890
|
class: ["das-ui-sub-menu", l.parentSelectKeys.includes(l.menuInfo.id) ? "is-active" : ""],
|
|
891
891
|
key: l.menuInfo.id,
|
|
892
892
|
"popup-offset": [0, 0]
|
|
@@ -897,8 +897,8 @@ const Xn = ["src"], He = /* @__PURE__ */ fe({
|
|
|
897
897
|
icon: A(() => {
|
|
898
898
|
var i;
|
|
899
899
|
return [
|
|
900
|
-
m("div",
|
|
901
|
-
l.menuInfo.hideIcon ? v("v-if", !0) : (c(), g("div",
|
|
900
|
+
m("div", tr, [
|
|
901
|
+
l.menuInfo.hideIcon ? v("v-if", !0) : (c(), g("div", ar, [
|
|
902
902
|
D(l.$slots, "icon", { menuInfo: l.menuInfo }, () => [
|
|
903
903
|
_(He, {
|
|
904
904
|
data: l.menuInfo,
|
|
@@ -906,7 +906,7 @@ const Xn = ["src"], He = /* @__PURE__ */ fe({
|
|
|
906
906
|
}, null, 8, ["data", "status"])
|
|
907
907
|
])
|
|
908
908
|
])),
|
|
909
|
-
l.collapse ? v("v-if", !0) : (c(), g("div",
|
|
909
|
+
l.collapse ? v("v-if", !0) : (c(), g("div", or, [
|
|
910
910
|
D(l.$slots, ((i = l.menuInfo) == null ? void 0 : i.code) + "-name", {}, () => [
|
|
911
911
|
We(
|
|
912
912
|
S(l.menuInfo.name),
|
|
@@ -931,12 +931,12 @@ const Xn = ["src"], He = /* @__PURE__ */ fe({
|
|
|
931
931
|
v(" 收起 "),
|
|
932
932
|
_(d(J), null, {
|
|
933
933
|
default: A(() => [
|
|
934
|
-
m("div",
|
|
935
|
-
m("div",
|
|
936
|
-
m("div",
|
|
934
|
+
m("div", yr, [
|
|
935
|
+
m("div", br, [
|
|
936
|
+
m("div", mr, [
|
|
937
937
|
m(
|
|
938
938
|
"div",
|
|
939
|
-
|
|
939
|
+
hr,
|
|
940
940
|
S(l.menuInfo.name),
|
|
941
941
|
1
|
|
942
942
|
/* TEXT */
|
|
@@ -959,7 +959,7 @@ const Xn = ["src"], He = /* @__PURE__ */ fe({
|
|
|
959
959
|
<div class="icon-title">{{ t('锁住') }}</div>\r
|
|
960
960
|
</div> `)
|
|
961
961
|
]),
|
|
962
|
-
ye((c(), g("div",
|
|
962
|
+
ye((c(), g("div", kr, [
|
|
963
963
|
(c(!0), g(
|
|
964
964
|
O,
|
|
965
965
|
null,
|
|
@@ -974,19 +974,19 @@ const Xn = ["src"], He = /* @__PURE__ */ fe({
|
|
|
974
974
|
}, [
|
|
975
975
|
m(
|
|
976
976
|
"div",
|
|
977
|
-
|
|
977
|
+
Fr,
|
|
978
978
|
S(i.name),
|
|
979
979
|
1
|
|
980
980
|
/* TEXT */
|
|
981
981
|
),
|
|
982
982
|
i != null && i.expired ? (c(), g(
|
|
983
983
|
"div",
|
|
984
|
-
|
|
984
|
+
Sr,
|
|
985
985
|
S(d(G)("已到期")),
|
|
986
986
|
1
|
|
987
987
|
/* TEXT */
|
|
988
988
|
)) : v("v-if", !0)
|
|
989
|
-
], 10,
|
|
989
|
+
], 10, Cr))),
|
|
990
990
|
128
|
|
991
991
|
/* KEYED_FRAGMENT */
|
|
992
992
|
))
|
|
@@ -1007,12 +1007,12 @@ const Xn = ["src"], He = /* @__PURE__ */ fe({
|
|
|
1007
1007
|
[
|
|
1008
1008
|
l.mode === "vertical" ? (c(), T(d(J), { key: 0 }, {
|
|
1009
1009
|
default: A(() => [
|
|
1010
|
-
m("div",
|
|
1011
|
-
m("div",
|
|
1012
|
-
m("div",
|
|
1010
|
+
m("div", ir, [
|
|
1011
|
+
m("div", lr, [
|
|
1012
|
+
m("div", sr, [
|
|
1013
1013
|
m(
|
|
1014
1014
|
"div",
|
|
1015
|
-
|
|
1015
|
+
ur,
|
|
1016
1016
|
S(l.menuInfo.name),
|
|
1017
1017
|
1
|
|
1018
1018
|
/* TEXT */
|
|
@@ -1035,11 +1035,11 @@ const Xn = ["src"], He = /* @__PURE__ */ fe({
|
|
|
1035
1035
|
<div class="icon-title">锁住</div>\r
|
|
1036
1036
|
</div> `)
|
|
1037
1037
|
]),
|
|
1038
|
-
ye((c(), g("div",
|
|
1038
|
+
ye((c(), g("div", cr, [
|
|
1039
1039
|
(c(!0), g(
|
|
1040
1040
|
O,
|
|
1041
1041
|
null,
|
|
1042
|
-
R(d(
|
|
1042
|
+
R(d(rr)(l.menuInfo.children, 4), (i, h) => (c(), g("div", {
|
|
1043
1043
|
key: h,
|
|
1044
1044
|
class: "sub-menu-row"
|
|
1045
1045
|
}, [
|
|
@@ -1057,19 +1057,19 @@ const Xn = ["src"], He = /* @__PURE__ */ fe({
|
|
|
1057
1057
|
}, [
|
|
1058
1058
|
m(
|
|
1059
1059
|
"div",
|
|
1060
|
-
|
|
1060
|
+
dr,
|
|
1061
1061
|
S(y.name),
|
|
1062
1062
|
1
|
|
1063
1063
|
/* TEXT */
|
|
1064
1064
|
),
|
|
1065
1065
|
y != null && y.expired ? (c(), g(
|
|
1066
1066
|
"div",
|
|
1067
|
-
|
|
1067
|
+
pr,
|
|
1068
1068
|
S(d(G)("已到期")),
|
|
1069
1069
|
1
|
|
1070
1070
|
/* TEXT */
|
|
1071
1071
|
)) : v("v-if", !0)
|
|
1072
|
-
], 10,
|
|
1072
|
+
], 10, fr))),
|
|
1073
1073
|
128
|
|
1074
1074
|
/* KEYED_FRAGMENT */
|
|
1075
1075
|
))
|
|
@@ -1108,14 +1108,14 @@ const Xn = ["src"], He = /* @__PURE__ */ fe({
|
|
|
1108
1108
|
[
|
|
1109
1109
|
m(
|
|
1110
1110
|
"div",
|
|
1111
|
-
|
|
1111
|
+
gr,
|
|
1112
1112
|
S(i.name),
|
|
1113
1113
|
1
|
|
1114
1114
|
/* TEXT */
|
|
1115
1115
|
),
|
|
1116
1116
|
i != null && i.expired ? (c(), g(
|
|
1117
1117
|
"div",
|
|
1118
|
-
|
|
1118
|
+
vr,
|
|
1119
1119
|
S(d(G)("已到期")),
|
|
1120
1120
|
1
|
|
1121
1121
|
/* TEXT */
|
|
@@ -1147,7 +1147,7 @@ const Xn = ["src"], He = /* @__PURE__ */ fe({
|
|
|
1147
1147
|
/* FORWARDED */
|
|
1148
1148
|
}, 16, ["class"]));
|
|
1149
1149
|
}
|
|
1150
|
-
}),
|
|
1150
|
+
}), xr = (e, r) => {
|
|
1151
1151
|
const n = Q([]), t = Q([]);
|
|
1152
1152
|
me(
|
|
1153
1153
|
() => n.value,
|
|
@@ -1177,7 +1177,7 @@ const Xn = ["src"], He = /* @__PURE__ */ fe({
|
|
|
1177
1177
|
}
|
|
1178
1178
|
n.value = [i[i.length - 1]];
|
|
1179
1179
|
}
|
|
1180
|
-
e.mode === "vertical" && (n.value = Array.from(new Set(i.concat(t.value))), i && i.length === 1 && document.documentElement.style.setProperty("--das-menu-submenu-popup-z-index",
|
|
1180
|
+
e.mode === "vertical" && (n.value = Array.from(new Set(i.concat(t.value))), i && i.length === 1 && document.documentElement.style.setProperty("--das-menu-submenu-popup-z-index", nn().nextZIndex() + ""));
|
|
1181
1181
|
}, u = (i) => {
|
|
1182
1182
|
!i || !i.key || r("menuClick", i);
|
|
1183
1183
|
}, l = I({
|
|
@@ -1278,23 +1278,23 @@ const Xn = ["src"], He = /* @__PURE__ */ fe({
|
|
|
1278
1278
|
ssl: "rgba(255, 255, 255, 0.3)",
|
|
1279
1279
|
cjb: "rgba(102, 102, 102, 0.3)"
|
|
1280
1280
|
}
|
|
1281
|
-
},
|
|
1281
|
+
}, jr = {
|
|
1282
1282
|
key: 0,
|
|
1283
1283
|
class: "icon-box"
|
|
1284
|
-
},
|
|
1284
|
+
}, Ar = {
|
|
1285
1285
|
key: 1,
|
|
1286
1286
|
class: "custom-left-icon"
|
|
1287
|
-
},
|
|
1287
|
+
}, _r = { class: "menu-item-content" }, Tr = {
|
|
1288
1288
|
key: 1,
|
|
1289
1289
|
class: "expired"
|
|
1290
|
-
},
|
|
1290
|
+
}, Mr = {
|
|
1291
1291
|
key: 2,
|
|
1292
1292
|
class: "ant-menu-submenu-arrow",
|
|
1293
1293
|
custom: "true"
|
|
1294
|
-
},
|
|
1294
|
+
}, $r = { class: "das-aside-menu-bottom-container" }, Pr = {
|
|
1295
1295
|
name: "DasMenuAside"
|
|
1296
|
-
},
|
|
1297
|
-
|
|
1296
|
+
}, Er = /* @__PURE__ */ fe({
|
|
1297
|
+
...Pr,
|
|
1298
1298
|
props: {
|
|
1299
1299
|
globalTheme: { default: "default" },
|
|
1300
1300
|
mode: { default: "vertical" },
|
|
@@ -1326,11 +1326,11 @@ const Xn = ["src"], He = /* @__PURE__ */ fe({
|
|
|
1326
1326
|
style: p
|
|
1327
1327
|
}
|
|
1328
1328
|
];
|
|
1329
|
-
return b ?
|
|
1329
|
+
return b ? rn(o, s) : tn(o, s), p;
|
|
1330
1330
|
}), f = I(() => {
|
|
1331
1331
|
const p = t.menus || [], b = JSON.parse(JSON.stringify(p));
|
|
1332
1332
|
return !b || !b.length ? [] : Ue(b);
|
|
1333
|
-
}), { isCollapse: i, openKeys: h, affixKeys: y, toggleAffix: w, openChange: K, menuClick: U, toggleCollapse: N } =
|
|
1333
|
+
}), { isCollapse: i, openKeys: h, affixKeys: y, toggleAffix: w, openChange: K, menuClick: U, toggleCollapse: N } = xr(
|
|
1334
1334
|
t,
|
|
1335
1335
|
a
|
|
1336
1336
|
);
|
|
@@ -1348,9 +1348,9 @@ const Xn = ["src"], He = /* @__PURE__ */ fe({
|
|
|
1348
1348
|
class: M(["das-ui-aside-menu", p.collapse ? "is-collapse" : ""])
|
|
1349
1349
|
},
|
|
1350
1350
|
[
|
|
1351
|
-
_(d(
|
|
1351
|
+
_(d(Je), { style: { height: "100%" } }, {
|
|
1352
1352
|
default: A(() => [
|
|
1353
|
-
f.value && f.value.length ? (c(), T(d(
|
|
1353
|
+
f.value && f.value.length ? (c(), T(d(Xe), le({
|
|
1354
1354
|
key: 0,
|
|
1355
1355
|
class: ["das-menu", p.collapse ? "is-collapse" : ""],
|
|
1356
1356
|
mode: p.mode,
|
|
@@ -1377,7 +1377,7 @@ const Xn = ["src"], He = /* @__PURE__ */ fe({
|
|
|
1377
1377
|
{ key: 1 },
|
|
1378
1378
|
[
|
|
1379
1379
|
v(" 有二级菜单 "),
|
|
1380
|
-
(c(), T(
|
|
1380
|
+
(c(), T(Or, le({
|
|
1381
1381
|
key: s.id,
|
|
1382
1382
|
mode: p.mode,
|
|
1383
1383
|
menuInfo: s,
|
|
@@ -1400,7 +1400,7 @@ const Xn = ["src"], He = /* @__PURE__ */ fe({
|
|
|
1400
1400
|
onMouseleave: b[0] || (b[0] = (x) => n.value = "")
|
|
1401
1401
|
}, {
|
|
1402
1402
|
icon: A(() => [
|
|
1403
|
-
_(d(
|
|
1403
|
+
_(d(Ye), {
|
|
1404
1404
|
content: s.name,
|
|
1405
1405
|
placement: "right",
|
|
1406
1406
|
disabled: !d(i)
|
|
@@ -1421,9 +1421,9 @@ const Xn = ["src"], He = /* @__PURE__ */ fe({
|
|
|
1421
1421
|
},
|
|
1422
1422
|
[
|
|
1423
1423
|
v(" 自定义leftIcon "),
|
|
1424
|
-
s.hideIcon ? v("v-if", !0) : (c(), g("div",
|
|
1424
|
+
s.hideIcon ? v("v-if", !0) : (c(), g("div", jr, [
|
|
1425
1425
|
v(" 第一种icon插槽 "),
|
|
1426
|
-
p.$slots[`${s == null ? void 0 : s.code}-leftIcon`] ? (c(), g("div",
|
|
1426
|
+
p.$slots[`${s == null ? void 0 : s.code}-leftIcon`] ? (c(), g("div", Ar, [
|
|
1427
1427
|
v(" 第二种icon插槽 "),
|
|
1428
1428
|
D(p.$slots, `${s == null ? void 0 : s.code}-leftIcon`)
|
|
1429
1429
|
])) : D(p.$slots, "icon", {
|
|
@@ -1436,7 +1436,7 @@ const Xn = ["src"], He = /* @__PURE__ */ fe({
|
|
|
1436
1436
|
}, null, 8, ["data", "status"])
|
|
1437
1437
|
])
|
|
1438
1438
|
])),
|
|
1439
|
-
m("div",
|
|
1439
|
+
m("div", _r, [
|
|
1440
1440
|
d(i) ? v("v-if", !0) : (c(), g(
|
|
1441
1441
|
"div",
|
|
1442
1442
|
{
|
|
@@ -1453,13 +1453,13 @@ const Xn = ["src"], He = /* @__PURE__ */ fe({
|
|
|
1453
1453
|
v(" 已到期标识 "),
|
|
1454
1454
|
s != null && s.expired ? (c(), g(
|
|
1455
1455
|
"div",
|
|
1456
|
-
|
|
1456
|
+
Tr,
|
|
1457
1457
|
S(d(G)("已到期")),
|
|
1458
1458
|
1
|
|
1459
1459
|
/* TEXT */
|
|
1460
1460
|
)) : v("v-if", !0),
|
|
1461
1461
|
v(" 箭头 "),
|
|
1462
|
-
s != null && s.disable && ((ge = s == null ? void 0 : s.originalChildren) != null && ge.length) ? (c(), g("i",
|
|
1462
|
+
s != null && s.disable && ((ge = s == null ? void 0 : s.originalChildren) != null && ge.length) ? (c(), g("i", Mr)) : v("v-if", !0),
|
|
1463
1463
|
v("@slots 右侧icon "),
|
|
1464
1464
|
D(p.$slots, (s == null ? void 0 : s.code) + "-rightIcon")
|
|
1465
1465
|
])
|
|
@@ -1488,7 +1488,7 @@ const Xn = ["src"], He = /* @__PURE__ */ fe({
|
|
|
1488
1488
|
/* FORWARDED */
|
|
1489
1489
|
}, 16, ["class", "mode", "openKeys", "selectedKeys", "inline-collapsed", "onOpenChange", "onClick"])) : v("v-if", !0),
|
|
1490
1490
|
v(" 底部插槽 "),
|
|
1491
|
-
m("div",
|
|
1491
|
+
m("div", $r, [
|
|
1492
1492
|
D(p.$slots, "bottom")
|
|
1493
1493
|
])
|
|
1494
1494
|
]),
|
|
@@ -1534,7 +1534,7 @@ const Xn = ["src"], He = /* @__PURE__ */ fe({
|
|
|
1534
1534
|
/* CLASS, STYLE */
|
|
1535
1535
|
));
|
|
1536
1536
|
}
|
|
1537
|
-
}),
|
|
1537
|
+
}), Dr = {
|
|
1538
1538
|
"--das-ui-layout-aside-menu-width": "214px",
|
|
1539
1539
|
"--das-ui-layout-aside-collapse-menu-width": "50px",
|
|
1540
1540
|
"--das-ui-layout-aside-menu-item-height": "50px",
|
|
@@ -1557,10 +1557,13 @@ const Xn = ["src"], He = /* @__PURE__ */ fe({
|
|
|
1557
1557
|
"--das-ui-layout-aside-collapse-icon-hover-bg-color": "#5582F3",
|
|
1558
1558
|
"--das-ui-layout-aside-divise-border-color": "rgba(255, 255, 255, 0.3)",
|
|
1559
1559
|
"--das-ui-layout-aside-menu-expired-color": "#BBBBBB"
|
|
1560
|
+
}, Ir = {
|
|
1561
|
+
已到期: { "zh-CN": "已到期", en: "Expired" }
|
|
1560
1562
|
};
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
+
Ge(Ir);
|
|
1564
|
+
an(Dr);
|
|
1565
|
+
const Jr = Le(Er), Yr = { title: "Menu-Aside 垂直导航栏" };
|
|
1563
1566
|
export {
|
|
1564
|
-
|
|
1565
|
-
|
|
1567
|
+
Jr as DasMenuAside,
|
|
1568
|
+
Yr as default
|
|
1566
1569
|
};
|