@das-fed/ui 6.4.0-dev.52 → 6.4.0-dev.54
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/app-container/index.d.ts +1 -0
- package/packages/business-components/app-container/index.js +152 -120
- package/packages/business-components/app-container/index.js.gz +0 -0
- package/packages/business-components/app-container/src/index.vue.d.ts +1 -0
- package/packages/business-components/app-container/src/style-theme.d.ts +18 -0
- package/packages/business-components/app-container/src/type.d.ts +1 -0
- package/packages/business-components/app-container/style.css +1 -1
- package/packages/business-components/app-container/style.css.gz +0 -0
- package/packages/business-components/app-container/theme/index.d.ts +1 -0
- 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 +221 -212
- package/packages/components/menu-aside/index.js.gz +0 -0
- package/packages/components/menu-aside/src/style-theme.d.ts +5 -0
- package/packages/components/menu-aside/style.css +1 -1
- package/packages/components/menu-aside/style.css.gz +0 -0
- package/packages/components/menu-aside/theme/base.d.ts +1 -0
- package/packages/components/menu-header/index.js +32 -26
- package/packages/components/menu-header/index.js.gz +0 -0
- package/packages/components/menu-header/src/style-theme.d.ts +5 -0
- package/packages/components/menu-header/theme/base.d.ts +1 -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
|
-
import { h as ve, nextTick as Ve, createVNode as _, defineComponent as
|
|
4
|
-
import { t as G } from "@das-fed/web/packages/i18n/index";
|
|
5
|
-
import { DasScrollbar as
|
|
6
|
-
import { DasTooltip as
|
|
3
|
+
import { h as ve, nextTick as Ve, createVNode as _, defineComponent as de, computed as I, openBlock as c, createElementBlock as g, normalizeStyle as Z, ref as Q, createBlock as T, unref as f, mergeProps as le, withCtx as A, createElementVNode as m, renderSlot as E, 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, 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,9 +52,9 @@ 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 dn(e, r, n) {
|
|
56
56
|
e = C(e, 255), r = C(r, 255), n = C(n, 255);
|
|
57
|
-
var t = Math.max(e, r, n), a = Math.min(e, r, n), o = 0, u = t, l = t - a,
|
|
57
|
+
var t = Math.max(e, r, n), a = Math.min(e, r, n), o = 0, u = t, l = t - a, d = t === 0 ? 0 : l / t;
|
|
58
58
|
if (t === a)
|
|
59
59
|
o = 0;
|
|
60
60
|
else {
|
|
@@ -71,14 +71,14 @@ function cn(e, r, n) {
|
|
|
71
71
|
}
|
|
72
72
|
o /= 6;
|
|
73
73
|
}
|
|
74
|
-
return { h: o, s:
|
|
74
|
+
return { h: o, s: d, v: u };
|
|
75
75
|
}
|
|
76
76
|
function fn(e, r, n) {
|
|
77
77
|
e = C(e, 360) * 6, r = C(r, 100), n = C(n, 100);
|
|
78
|
-
var t = Math.floor(e), a = e - t, o = n * (1 - r), u = n * (1 - a * r), l = n * (1 - (1 - a) * r),
|
|
78
|
+
var t = Math.floor(e), a = e - t, o = n * (1 - r), u = n * (1 - a * r), l = n * (1 - (1 - a) * r), d = t % 6, i = [n, u, o, o, l, n][d], h = [l, n, n, u, o, o][d], y = [o, o, l, n, n, u][d];
|
|
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 = fn(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 = dn(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) {
|
|
@@ -378,15 +378,15 @@ function se(e) {
|
|
|
378
378
|
}
|
|
379
379
|
n.push(q(t));
|
|
380
380
|
for (var l = 1; l <= Ne; l += 1) {
|
|
381
|
-
var
|
|
382
|
-
h: we(
|
|
383
|
-
s: Oe(
|
|
384
|
-
v: xe(
|
|
381
|
+
var d = Se(t), i = q(B({
|
|
382
|
+
h: we(d, l),
|
|
383
|
+
s: Oe(d, l),
|
|
384
|
+
v: xe(d, l)
|
|
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,7 +562,7 @@ var H = {
|
|
|
562
562
|
secondaryColor: "#E6E6E6",
|
|
563
563
|
calculated: !1
|
|
564
564
|
};
|
|
565
|
-
function
|
|
565
|
+
function Dn(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
|
}
|
|
@@ -570,15 +570,15 @@ function En() {
|
|
|
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 =
|
|
574
|
-
if (o && (
|
|
573
|
+
var t = Y({}, r, n.attrs), a = t.icon, o = t.primaryColor, u = t.secondaryColor, l = Mn(t, Tn), d = H;
|
|
574
|
+
if (o && (d = {
|
|
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, {
|
|
581
|
-
icon: i.icon(
|
|
581
|
+
icon: i.icon(d.primaryColor, d.secondaryColor)
|
|
582
582
|
})), ue(i.icon, "svg-".concat(i.name), Y({}, l, {
|
|
583
583
|
"data-icon": i.name,
|
|
584
584
|
width: "1em",
|
|
@@ -596,15 +596,15 @@ P.props = {
|
|
|
596
596
|
P.inheritAttrs = !1;
|
|
597
597
|
P.displayName = "IconBase";
|
|
598
598
|
P.getTwoToneColors = En;
|
|
599
|
-
P.setTwoToneColors =
|
|
600
|
-
function
|
|
601
|
-
return
|
|
599
|
+
P.setTwoToneColors = Dn;
|
|
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,15 +618,15 @@ 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;
|
|
625
625
|
try {
|
|
626
626
|
for (n = n.call(e); !(a = (u = n.next()).done) && (t.push(u.value), !(r && t.length === r)); a = !0)
|
|
627
627
|
;
|
|
628
|
-
} catch (
|
|
629
|
-
o = !0, l =
|
|
628
|
+
} catch (d) {
|
|
629
|
+
o = !0, l = d;
|
|
630
630
|
} finally {
|
|
631
631
|
try {
|
|
632
632
|
!a && n.return != null && n.return();
|
|
@@ -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,15 +673,15 @@ 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;
|
|
680
680
|
try {
|
|
681
681
|
for (n = n.call(e); !(a = (u = n.next()).done) && (t.push(u.value), !(r && t.length === r)); a = !0)
|
|
682
682
|
;
|
|
683
|
-
} catch (
|
|
684
|
-
o = !0, l =
|
|
683
|
+
} catch (d) {
|
|
684
|
+
o = !0, l = d;
|
|
685
685
|
} finally {
|
|
686
686
|
try {
|
|
687
687
|
!a && n.return != null && n.return();
|
|
@@ -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++)
|
|
@@ -727,15 +727,15 @@ function Zn(e, r) {
|
|
|
727
727
|
return n;
|
|
728
728
|
}
|
|
729
729
|
Re("#1890ff");
|
|
730
|
-
var
|
|
731
|
-
var t, a = Pe({}, r, n.attrs), o = a.class, u = a.icon, l = a.spin,
|
|
730
|
+
var D = function(r, n) {
|
|
731
|
+
var t, a = Pe({}, r, n.attrs), o = a.class, u = a.icon, l = a.spin, d = 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
|
-
var p =
|
|
736
|
-
msTransform: "rotate(".concat(
|
|
737
|
-
transform: "rotate(".concat(
|
|
738
|
-
} : void 0, b = ze(h), s =
|
|
735
|
+
var p = d ? {
|
|
736
|
+
msTransform: "rotate(".concat(d, "deg)"),
|
|
737
|
+
transform: "rotate(".concat(d, "deg)")
|
|
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
|
|
@@ -750,63 +750,63 @@ var E = function(r, n) {
|
|
|
750
750
|
style: p
|
|
751
751
|
}, null)]);
|
|
752
752
|
};
|
|
753
|
-
|
|
753
|
+
D.props = {
|
|
754
754
|
spin: Boolean,
|
|
755
755
|
rotate: Number,
|
|
756
756
|
icon: Object,
|
|
757
757
|
twoToneColor: String
|
|
758
758
|
};
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
var
|
|
764
|
-
function
|
|
759
|
+
D.displayName = "AntdIcon";
|
|
760
|
+
D.inheritAttrs = !1;
|
|
761
|
+
D.getTwoToneColor = Rn;
|
|
762
|
+
D.setTwoToneColor = Re;
|
|
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
|
+
function De(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
|
-
var
|
|
779
|
-
var t =
|
|
780
|
-
return _(
|
|
781
|
-
icon:
|
|
778
|
+
var fe = function(r, n) {
|
|
779
|
+
var t = De({}, r, n.attrs);
|
|
780
|
+
return _(D, De({}, t, {
|
|
781
|
+
icon: Jn
|
|
782
782
|
}), null);
|
|
783
783
|
};
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
var
|
|
787
|
-
function
|
|
784
|
+
fe.displayName = "MenuFoldOutlined";
|
|
785
|
+
fe.inheritAttrs = !1;
|
|
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
|
+
function Ee(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
|
-
var t =
|
|
803
|
-
return _(
|
|
804
|
-
icon:
|
|
802
|
+
var t = Ee({}, r, n.attrs);
|
|
803
|
+
return _(D, Ee({}, t, {
|
|
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__ */ de({
|
|
810
810
|
__name: "menu-icon",
|
|
811
811
|
props: {
|
|
812
812
|
data: { default: () => ({}) },
|
|
@@ -814,8 +814,8 @@ const Xn = ["src"], He = /* @__PURE__ */ fe({
|
|
|
814
814
|
},
|
|
815
815
|
setup(e) {
|
|
816
816
|
const r = e, n = I(() => {
|
|
817
|
-
var o, u, l,
|
|
818
|
-
return r.status === "default" ? (((o = r.data) == null ? void 0 : o.host) || "") + X(r.data.iconUrl) : (u = r.data) != null && u.hoverIcon ? (((l = r.data) == null ? void 0 : l.host) || "") + X(r.data.hoverIcon) : (((
|
|
817
|
+
var o, u, l, d;
|
|
818
|
+
return r.status === "default" ? (((o = r.data) == null ? void 0 : o.host) || "") + X(r.data.iconUrl) : (u = r.data) != null && u.hoverIcon ? (((l = r.data) == null ? void 0 : l.host) || "") + X(r.data.hoverIcon) : (((d = r.data) == null ? void 0 : d.host) || "") + X(r.data.iconUrl);
|
|
819
819
|
}), t = I(() => ({
|
|
820
820
|
display: "block",
|
|
821
821
|
"background-color": "currentColor",
|
|
@@ -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" }, dr = ["onClick"], fr = { 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__ */ de({
|
|
869
|
+
...wr,
|
|
870
870
|
props: {
|
|
871
871
|
mode: { default: "vertical" },
|
|
872
872
|
collapse: { type: Boolean },
|
|
@@ -881,33 +881,33 @@ 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,
|
|
888
|
+
const { toggleAffix: o, menuClick: u } = nr(t, a);
|
|
889
|
+
return (l, d) => (c(), T(f(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]
|
|
893
893
|
}, l.$attrs, {
|
|
894
|
-
onMouseover:
|
|
895
|
-
onMouseleave:
|
|
894
|
+
onMouseover: d[0] || (d[0] = (i) => n.value = l.menuInfo.id),
|
|
895
|
+
onMouseleave: d[1] || (d[1] = (i) => n.value = -1)
|
|
896
896
|
}), {
|
|
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",
|
|
902
|
-
|
|
900
|
+
m("div", tr, [
|
|
901
|
+
l.menuInfo.hideIcon ? v("v-if", !0) : (c(), g("div", ar, [
|
|
902
|
+
E(l.$slots, "icon", { menuInfo: l.menuInfo }, () => [
|
|
903
903
|
_(He, {
|
|
904
904
|
data: l.menuInfo,
|
|
905
905
|
status: l.parentSelectKeys.includes(l.menuInfo.id) || n.value === l.menuInfo.id ? "hover" : "default"
|
|
906
906
|
}, null, 8, ["data", "status"])
|
|
907
907
|
])
|
|
908
908
|
])),
|
|
909
|
-
l.collapse ? v("v-if", !0) : (c(), g("div",
|
|
910
|
-
|
|
909
|
+
l.collapse ? v("v-if", !0) : (c(), g("div", or, [
|
|
910
|
+
E(l.$slots, ((i = l.menuInfo) == null ? void 0 : i.code) + "-name", {}, () => [
|
|
911
911
|
We(
|
|
912
912
|
S(l.menuInfo.name),
|
|
913
913
|
1
|
|
@@ -929,14 +929,14 @@ const Xn = ["src"], He = /* @__PURE__ */ fe({
|
|
|
929
929
|
{ key: 1 },
|
|
930
930
|
[
|
|
931
931
|
v(" 收起 "),
|
|
932
|
-
_(
|
|
932
|
+
_(f(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,
|
|
@@ -970,28 +970,28 @@ const Xn = ["src"], He = /* @__PURE__ */ fe({
|
|
|
970
970
|
l.selectedKeys.includes(i.id) ? "is-active" : "",
|
|
971
971
|
i != null && i.disable ? "is-disable" : ""
|
|
972
972
|
]),
|
|
973
|
-
onClick: be((h) =>
|
|
973
|
+
onClick: be((h) => f(u)(h, i), ["stop"])
|
|
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
|
-
|
|
985
|
-
S(
|
|
984
|
+
Sr,
|
|
985
|
+
S(f(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
|
))
|
|
993
993
|
])), [
|
|
994
|
-
[
|
|
994
|
+
[f(he), { x: !1 }]
|
|
995
995
|
])
|
|
996
996
|
])
|
|
997
997
|
]),
|
|
@@ -1005,14 +1005,14 @@ const Xn = ["src"], He = /* @__PURE__ */ fe({
|
|
|
1005
1005
|
O,
|
|
1006
1006
|
{ key: 0 },
|
|
1007
1007
|
[
|
|
1008
|
-
l.mode === "vertical" ? (c(), T(
|
|
1008
|
+
l.mode === "vertical" ? (c(), T(f(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(
|
|
1042
|
+
R(f(rr)(l.menuInfo.children, 4), (i, h) => (c(), g("div", {
|
|
1043
1043
|
key: h,
|
|
1044
1044
|
class: "sub-menu-row"
|
|
1045
1045
|
}, [
|
|
@@ -1053,7 +1053,7 @@ const Xn = ["src"], He = /* @__PURE__ */ fe({
|
|
|
1053
1053
|
l.selectedKeys.includes(y.id) ? "is-active" : "",
|
|
1054
1054
|
y != null && y.disable ? "is-disable" : ""
|
|
1055
1055
|
]),
|
|
1056
|
-
onClick: be((w) =>
|
|
1056
|
+
onClick: be((w) => f(u)(w, y), ["stop"])
|
|
1057
1057
|
}, [
|
|
1058
1058
|
m(
|
|
1059
1059
|
"div",
|
|
@@ -1064,12 +1064,12 @@ const Xn = ["src"], He = /* @__PURE__ */ fe({
|
|
|
1064
1064
|
),
|
|
1065
1065
|
y != null && y.expired ? (c(), g(
|
|
1066
1066
|
"div",
|
|
1067
|
-
|
|
1068
|
-
S(
|
|
1067
|
+
pr,
|
|
1068
|
+
S(f(G)("已到期")),
|
|
1069
1069
|
1
|
|
1070
1070
|
/* TEXT */
|
|
1071
1071
|
)) : v("v-if", !0)
|
|
1072
|
-
], 10,
|
|
1072
|
+
], 10, dr))),
|
|
1073
1073
|
128
|
|
1074
1074
|
/* KEYED_FRAGMENT */
|
|
1075
1075
|
))
|
|
@@ -1078,7 +1078,7 @@ const Xn = ["src"], He = /* @__PURE__ */ fe({
|
|
|
1078
1078
|
/* KEYED_FRAGMENT */
|
|
1079
1079
|
))
|
|
1080
1080
|
])), [
|
|
1081
|
-
[
|
|
1081
|
+
[f(he), { x: !1 }]
|
|
1082
1082
|
])
|
|
1083
1083
|
])
|
|
1084
1084
|
]),
|
|
@@ -1089,7 +1089,7 @@ const Xn = ["src"], He = /* @__PURE__ */ fe({
|
|
|
1089
1089
|
O,
|
|
1090
1090
|
{ key: 1 },
|
|
1091
1091
|
R(l.menuInfo.children, (i) => (c(), T(
|
|
1092
|
-
|
|
1092
|
+
f(J),
|
|
1093
1093
|
{
|
|
1094
1094
|
key: i.id
|
|
1095
1095
|
},
|
|
@@ -1108,15 +1108,15 @@ 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
|
-
|
|
1119
|
-
S(
|
|
1118
|
+
vr,
|
|
1119
|
+
S(f(G)("已到期")),
|
|
1120
1120
|
1
|
|
1121
1121
|
/* TEXT */
|
|
1122
1122
|
)) : v("v-if", !0)
|
|
@@ -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({
|
|
@@ -1198,6 +1198,11 @@ const Xn = ["src"], He = /* @__PURE__ */ fe({
|
|
|
1198
1198
|
}
|
|
1199
1199
|
};
|
|
1200
1200
|
}, Ie = {
|
|
1201
|
+
"--das-ui-layout-aside-border-color": {
|
|
1202
|
+
kjl: "#D9D9D9",
|
|
1203
|
+
ssl: "#1B1F40",
|
|
1204
|
+
cjb: "#D9D9D9"
|
|
1205
|
+
},
|
|
1201
1206
|
"--das-ui-layout-aside-background-color": {
|
|
1202
1207
|
kjl: "#FFFFFF",
|
|
1203
1208
|
ssl: "#1B1F40",
|
|
@@ -1278,23 +1283,23 @@ const Xn = ["src"], He = /* @__PURE__ */ fe({
|
|
|
1278
1283
|
ssl: "rgba(255, 255, 255, 0.3)",
|
|
1279
1284
|
cjb: "rgba(102, 102, 102, 0.3)"
|
|
1280
1285
|
}
|
|
1281
|
-
},
|
|
1286
|
+
}, jr = {
|
|
1282
1287
|
key: 0,
|
|
1283
1288
|
class: "icon-box"
|
|
1284
|
-
},
|
|
1289
|
+
}, Ar = {
|
|
1285
1290
|
key: 1,
|
|
1286
1291
|
class: "custom-left-icon"
|
|
1287
|
-
},
|
|
1292
|
+
}, _r = { class: "menu-item-content" }, Tr = {
|
|
1288
1293
|
key: 1,
|
|
1289
1294
|
class: "expired"
|
|
1290
|
-
},
|
|
1295
|
+
}, Mr = {
|
|
1291
1296
|
key: 2,
|
|
1292
1297
|
class: "ant-menu-submenu-arrow",
|
|
1293
1298
|
custom: "true"
|
|
1294
|
-
},
|
|
1299
|
+
}, $r = { class: "das-aside-menu-bottom-container" }, Pr = {
|
|
1295
1300
|
name: "DasMenuAside"
|
|
1296
|
-
},
|
|
1297
|
-
|
|
1301
|
+
}, Dr = /* @__PURE__ */ de({
|
|
1302
|
+
...Pr,
|
|
1298
1303
|
props: {
|
|
1299
1304
|
globalTheme: { default: "default" },
|
|
1300
1305
|
mode: { default: "vertical" },
|
|
@@ -1326,11 +1331,11 @@ const Xn = ["src"], He = /* @__PURE__ */ fe({
|
|
|
1326
1331
|
style: p
|
|
1327
1332
|
}
|
|
1328
1333
|
];
|
|
1329
|
-
return b ?
|
|
1330
|
-
}),
|
|
1334
|
+
return b ? rn(o, s) : tn(o, s), p;
|
|
1335
|
+
}), d = I(() => {
|
|
1331
1336
|
const p = t.menus || [], b = JSON.parse(JSON.stringify(p));
|
|
1332
1337
|
return !b || !b.length ? [] : Ue(b);
|
|
1333
|
-
}), { isCollapse: i, openKeys: h, affixKeys: y, toggleAffix: w, openChange: K, menuClick: U, toggleCollapse: N } =
|
|
1338
|
+
}), { isCollapse: i, openKeys: h, affixKeys: y, toggleAffix: w, openChange: K, menuClick: U, toggleCollapse: N } = xr(
|
|
1334
1339
|
t,
|
|
1335
1340
|
a
|
|
1336
1341
|
);
|
|
@@ -1348,26 +1353,26 @@ const Xn = ["src"], He = /* @__PURE__ */ fe({
|
|
|
1348
1353
|
class: M(["das-ui-aside-menu", p.collapse ? "is-collapse" : ""])
|
|
1349
1354
|
},
|
|
1350
1355
|
[
|
|
1351
|
-
_(
|
|
1356
|
+
_(f(Je), { style: { height: "100%" } }, {
|
|
1352
1357
|
default: A(() => [
|
|
1353
|
-
|
|
1358
|
+
d.value && d.value.length ? (c(), T(f(Xe), le({
|
|
1354
1359
|
key: 0,
|
|
1355
1360
|
class: ["das-menu", p.collapse ? "is-collapse" : ""],
|
|
1356
1361
|
mode: p.mode,
|
|
1357
|
-
openKeys:
|
|
1362
|
+
openKeys: f(h),
|
|
1358
1363
|
"onUpdate:openKeys": b[1] || (b[1] = (s) => Ze(h) ? h.value = s : null),
|
|
1359
1364
|
selectedKeys: p.currentSelectKeys,
|
|
1360
1365
|
theme: "dark",
|
|
1361
|
-
"inline-collapsed":
|
|
1366
|
+
"inline-collapsed": f(i)
|
|
1362
1367
|
}, p.$attrs, {
|
|
1363
|
-
onOpenChange:
|
|
1364
|
-
onClick:
|
|
1368
|
+
onOpenChange: f(K),
|
|
1369
|
+
onClick: f(U)
|
|
1365
1370
|
}), {
|
|
1366
1371
|
default: A(() => [
|
|
1367
1372
|
(c(!0), g(
|
|
1368
1373
|
O,
|
|
1369
1374
|
null,
|
|
1370
|
-
R(
|
|
1375
|
+
R(d.value, (s) => (c(), g(
|
|
1371
1376
|
O,
|
|
1372
1377
|
null,
|
|
1373
1378
|
[
|
|
@@ -1377,33 +1382,33 @@ const Xn = ["src"], He = /* @__PURE__ */ fe({
|
|
|
1377
1382
|
{ key: 1 },
|
|
1378
1383
|
[
|
|
1379
1384
|
v(" 有二级菜单 "),
|
|
1380
|
-
(c(), T(
|
|
1385
|
+
(c(), T(Or, le({
|
|
1381
1386
|
key: s.id,
|
|
1382
1387
|
mode: p.mode,
|
|
1383
1388
|
menuInfo: s,
|
|
1384
|
-
collapse:
|
|
1385
|
-
affixKeys:
|
|
1389
|
+
collapse: f(i),
|
|
1390
|
+
affixKeys: f(y),
|
|
1386
1391
|
parentSelectKeys: p.parentSelectKeys,
|
|
1387
1392
|
selectedKeys: p.currentSelectKeys,
|
|
1388
1393
|
ref_for: !0
|
|
1389
1394
|
}, u.value, {
|
|
1390
|
-
onMenuClick:
|
|
1391
|
-
onToggleAffix:
|
|
1395
|
+
onMenuClick: f(U),
|
|
1396
|
+
onToggleAffix: f(w)
|
|
1392
1397
|
}), null, 16, ["mode", "menuInfo", "collapse", "affixKeys", "parentSelectKeys", "selectedKeys", "onMenuClick", "onToggleAffix"]))
|
|
1393
1398
|
],
|
|
1394
1399
|
64
|
|
1395
1400
|
/* STABLE_FRAGMENT */
|
|
1396
|
-
)) : (c(), T(
|
|
1401
|
+
)) : (c(), T(f(J), {
|
|
1397
1402
|
class: M({ "divise-menu-item": s.divise }),
|
|
1398
1403
|
key: s.id,
|
|
1399
1404
|
onMouseover: (x) => n.value = s.id,
|
|
1400
1405
|
onMouseleave: b[0] || (b[0] = (x) => n.value = "")
|
|
1401
1406
|
}, {
|
|
1402
1407
|
icon: A(() => [
|
|
1403
|
-
_(
|
|
1408
|
+
_(f(Ye), {
|
|
1404
1409
|
content: s.name,
|
|
1405
1410
|
placement: "right",
|
|
1406
|
-
disabled: !
|
|
1411
|
+
disabled: !f(i)
|
|
1407
1412
|
}, {
|
|
1408
1413
|
default: A(() => {
|
|
1409
1414
|
var x, L, ge;
|
|
@@ -1421,12 +1426,12 @@ const Xn = ["src"], He = /* @__PURE__ */ fe({
|
|
|
1421
1426
|
},
|
|
1422
1427
|
[
|
|
1423
1428
|
v(" 自定义leftIcon "),
|
|
1424
|
-
s.hideIcon ? v("v-if", !0) : (c(), g("div",
|
|
1429
|
+
s.hideIcon ? v("v-if", !0) : (c(), g("div", jr, [
|
|
1425
1430
|
v(" 第一种icon插槽 "),
|
|
1426
|
-
p.$slots[`${s == null ? void 0 : s.code}-leftIcon`] ? (c(), g("div",
|
|
1431
|
+
p.$slots[`${s == null ? void 0 : s.code}-leftIcon`] ? (c(), g("div", Ar, [
|
|
1427
1432
|
v(" 第二种icon插槽 "),
|
|
1428
|
-
|
|
1429
|
-
])) :
|
|
1433
|
+
E(p.$slots, `${s == null ? void 0 : s.code}-leftIcon`)
|
|
1434
|
+
])) : E(p.$slots, "icon", {
|
|
1430
1435
|
key: 0,
|
|
1431
1436
|
menuInfo: s
|
|
1432
1437
|
}, () => [
|
|
@@ -1436,8 +1441,8 @@ const Xn = ["src"], He = /* @__PURE__ */ fe({
|
|
|
1436
1441
|
}, null, 8, ["data", "status"])
|
|
1437
1442
|
])
|
|
1438
1443
|
])),
|
|
1439
|
-
m("div",
|
|
1440
|
-
|
|
1444
|
+
m("div", _r, [
|
|
1445
|
+
f(i) ? v("v-if", !0) : (c(), g(
|
|
1441
1446
|
"div",
|
|
1442
1447
|
{
|
|
1443
1448
|
key: 0,
|
|
@@ -1453,15 +1458,15 @@ const Xn = ["src"], He = /* @__PURE__ */ fe({
|
|
|
1453
1458
|
v(" 已到期标识 "),
|
|
1454
1459
|
s != null && s.expired ? (c(), g(
|
|
1455
1460
|
"div",
|
|
1456
|
-
|
|
1457
|
-
S(
|
|
1461
|
+
Tr,
|
|
1462
|
+
S(f(G)("已到期")),
|
|
1458
1463
|
1
|
|
1459
1464
|
/* TEXT */
|
|
1460
1465
|
)) : v("v-if", !0),
|
|
1461
1466
|
v(" 箭头 "),
|
|
1462
|
-
s != null && s.disable && ((ge = s == null ? void 0 : s.originalChildren) != null && ge.length) ? (c(), g("i",
|
|
1467
|
+
s != null && s.disable && ((ge = s == null ? void 0 : s.originalChildren) != null && ge.length) ? (c(), g("i", Mr)) : v("v-if", !0),
|
|
1463
1468
|
v("@slots 右侧icon "),
|
|
1464
|
-
|
|
1469
|
+
E(p.$slots, (s == null ? void 0 : s.code) + "-rightIcon")
|
|
1465
1470
|
])
|
|
1466
1471
|
],
|
|
1467
1472
|
2
|
|
@@ -1488,8 +1493,8 @@ const Xn = ["src"], He = /* @__PURE__ */ fe({
|
|
|
1488
1493
|
/* FORWARDED */
|
|
1489
1494
|
}, 16, ["class", "mode", "openKeys", "selectedKeys", "inline-collapsed", "onOpenChange", "onClick"])) : v("v-if", !0),
|
|
1490
1495
|
v(" 底部插槽 "),
|
|
1491
|
-
m("div",
|
|
1492
|
-
|
|
1496
|
+
m("div", $r, [
|
|
1497
|
+
E(p.$slots, "bottom")
|
|
1493
1498
|
])
|
|
1494
1499
|
]),
|
|
1495
1500
|
_: 3
|
|
@@ -1502,21 +1507,21 @@ const Xn = ["src"], He = /* @__PURE__ */ fe({
|
|
|
1502
1507
|
m(
|
|
1503
1508
|
"div",
|
|
1504
1509
|
{
|
|
1505
|
-
class: M(["icon-container",
|
|
1510
|
+
class: M(["icon-container", f(i) ? "is-collapse" : ""])
|
|
1506
1511
|
},
|
|
1507
1512
|
[
|
|
1508
1513
|
m(
|
|
1509
1514
|
"div",
|
|
1510
1515
|
{
|
|
1511
|
-
style: Z({ "padding-left":
|
|
1512
|
-
onClick: b[2] || (b[2] = (s) =>
|
|
1516
|
+
style: Z({ "padding-left": f(i) ? "0" : "16px" }),
|
|
1517
|
+
onClick: b[2] || (b[2] = (s) => f(N)(!f(i)))
|
|
1513
1518
|
},
|
|
1514
1519
|
[
|
|
1515
1520
|
m("div", null, [
|
|
1516
|
-
|
|
1521
|
+
f(i) ? (c(), T(f(pe), {
|
|
1517
1522
|
key: 0,
|
|
1518
1523
|
class: "collapse-icon"
|
|
1519
|
-
})) : (c(), T(
|
|
1524
|
+
})) : (c(), T(f(fe), {
|
|
1520
1525
|
key: 1,
|
|
1521
1526
|
class: "collapse-icon"
|
|
1522
1527
|
}))
|
|
@@ -1538,6 +1543,7 @@ const Xn = ["src"], He = /* @__PURE__ */ fe({
|
|
|
1538
1543
|
"--das-ui-layout-aside-menu-width": "214px",
|
|
1539
1544
|
"--das-ui-layout-aside-collapse-menu-width": "50px",
|
|
1540
1545
|
"--das-ui-layout-aside-menu-item-height": "50px",
|
|
1546
|
+
"--das-ui-layout-aside-border-color": "#343848",
|
|
1541
1547
|
"--das-ui-layout-aside-background-color": "#343848",
|
|
1542
1548
|
"--das-ui-layout-aside--item-color": "rgba(255,255,255,0.65)",
|
|
1543
1549
|
"--das-ui-layout-aside--item-arrow-color": "rgba(255, 255, 255, 0.65)",
|
|
@@ -1557,10 +1563,13 @@ const Xn = ["src"], He = /* @__PURE__ */ fe({
|
|
|
1557
1563
|
"--das-ui-layout-aside-collapse-icon-hover-bg-color": "#5582F3",
|
|
1558
1564
|
"--das-ui-layout-aside-divise-border-color": "rgba(255, 255, 255, 0.3)",
|
|
1559
1565
|
"--das-ui-layout-aside-menu-expired-color": "#BBBBBB"
|
|
1566
|
+
}, Ir = {
|
|
1567
|
+
已到期: { "zh-CN": "已到期", en: "Expired" }
|
|
1560
1568
|
};
|
|
1561
|
-
|
|
1562
|
-
|
|
1569
|
+
Ge(Ir);
|
|
1570
|
+
an(Er);
|
|
1571
|
+
const Jr = Le(Dr), Yr = { title: "Menu-Aside 垂直导航栏" };
|
|
1563
1572
|
export {
|
|
1564
|
-
|
|
1565
|
-
|
|
1573
|
+
Jr as DasMenuAside,
|
|
1574
|
+
Yr as default
|
|
1566
1575
|
};
|