ele-admin-plus 1.2.0-beta.5 → 1.2.0
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/es/ele-admin-layout/index.js +11 -11
- package/es/ele-backtop/index.d.ts +2 -3
- package/es/ele-backtop/props.d.ts +1 -1
- package/es/ele-watermark/index.js +1 -0
- package/lib/ele-admin-layout/index.cjs +11 -11
- package/lib/ele-backtop/index.d.ts +2 -3
- package/lib/ele-backtop/props.d.ts +1 -1
- package/lib/ele-watermark/index.cjs +1 -0
- package/package.json +1 -1
|
@@ -420,10 +420,10 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
420
420
|
key: 0,
|
|
421
421
|
mode: "horizontal",
|
|
422
422
|
theme: _ctx.isDarkHeader || _ctx.isPrimaryHeader ? "dark" : "light",
|
|
423
|
-
popupTheme: _ctx.isDarkHeader ? "dark" : "light"
|
|
423
|
+
popupTheme: _ctx.isDarkHeader ? "dark" : "light",
|
|
424
|
+
defaultActive: _ctx.headerActive
|
|
424
425
|
}, _ctx.headerMenuProps || {}, {
|
|
425
426
|
items: _ctx.headerMenus,
|
|
426
|
-
defaultActive: _ctx.headerActive,
|
|
427
427
|
onOpen: _ctx.handleHeadMenuOpen,
|
|
428
428
|
onClose: _ctx.handleHeadMenuClose,
|
|
429
429
|
onItemClick: _ctx.handleHeadMenuItemClick,
|
|
@@ -444,7 +444,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
444
444
|
]),
|
|
445
445
|
key: "1"
|
|
446
446
|
} : void 0
|
|
447
|
-
]), 1040, ["theme", "popupTheme", "
|
|
447
|
+
]), 1040, ["theme", "popupTheme", "defaultActive", "items", "onOpen", "onClose", "onItemClick", "onItemMouseenter", "onItemMouseleave"])) : createCommentVNode("", true)
|
|
448
448
|
])) : createCommentVNode("", true),
|
|
449
449
|
_ctx.showHeaderTabs ? (openBlock(), createBlock(_component_LayoutTabs, {
|
|
450
450
|
key: 4,
|
|
@@ -521,11 +521,11 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
521
521
|
mode: "compact",
|
|
522
522
|
uniqueOpened: true,
|
|
523
523
|
collapseTransition: false,
|
|
524
|
-
theme: _ctx.sidebarStyle
|
|
524
|
+
theme: _ctx.sidebarStyle,
|
|
525
|
+
defaultActive: _ctx.sideboxActive,
|
|
526
|
+
collapse: _ctx.compact
|
|
525
527
|
}, _ctx.sideboxMenuProps || {}, {
|
|
526
528
|
items: _ctx.sideboxMenus,
|
|
527
|
-
defaultActive: _ctx.sideboxActive,
|
|
528
|
-
collapse: _ctx.compact,
|
|
529
529
|
onItemClick: _ctx.handleBoxMenuItemClick,
|
|
530
530
|
onItemMouseenter: _ctx.handleBoxMenuItemMouseenter,
|
|
531
531
|
onItemMouseleave: _ctx.handleBoxMenuItemMouseleave
|
|
@@ -544,7 +544,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
544
544
|
]),
|
|
545
545
|
key: "1"
|
|
546
546
|
} : void 0
|
|
547
|
-
]), 1040, ["theme", "
|
|
547
|
+
]), 1040, ["theme", "defaultActive", "collapse", "items", "onItemClick", "onItemMouseenter", "onItemMouseleave"])) : createCommentVNode("", true)
|
|
548
548
|
]),
|
|
549
549
|
_: 3
|
|
550
550
|
}),
|
|
@@ -585,11 +585,11 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
585
585
|
ref: "sidebarMenuRef",
|
|
586
586
|
uniqueOpened: true,
|
|
587
587
|
collapseTransition: false,
|
|
588
|
-
theme: _ctx.isMixSidebar && !_ctx.isDarkMixSidebar ? void 0 : _ctx.sidebarStyle
|
|
588
|
+
theme: _ctx.isMixSidebar && !_ctx.isDarkMixSidebar ? void 0 : _ctx.sidebarStyle,
|
|
589
|
+
defaultActive: _ctx.sidebarActive,
|
|
590
|
+
collapse: _ctx.isMixSidebar ? false : _ctx.isCollapseSidebar
|
|
589
591
|
}, _ctx.sidebarMenuProps || {}, {
|
|
590
592
|
items: _ctx.sidebarMenus,
|
|
591
|
-
defaultActive: _ctx.sidebarActive,
|
|
592
|
-
collapse: _ctx.isMixSidebar ? false : _ctx.isCollapseSidebar,
|
|
593
593
|
onOpen: _ctx.handleSideMenuOpen,
|
|
594
594
|
onClose: _ctx.handleSideMenuClose,
|
|
595
595
|
onItemClick: _ctx.handleSideMenuItemClick
|
|
@@ -608,7 +608,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
608
608
|
]),
|
|
609
609
|
key: "1"
|
|
610
610
|
} : void 0
|
|
611
|
-
]), 1040, ["theme", "
|
|
611
|
+
]), 1040, ["theme", "defaultActive", "collapse", "items", "onOpen", "onClose", "onItemClick"])) : createCommentVNode("", true)
|
|
612
612
|
]),
|
|
613
613
|
_: 3
|
|
614
614
|
}),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
declare const _default: import('vue').DefineComponent<{
|
|
2
|
-
target: import('vue').PropType<string | HTMLElement>;
|
|
2
|
+
target: import('vue').PropType<string | HTMLElement | null>;
|
|
3
3
|
visibilityHeight: {
|
|
4
4
|
type: NumberConstructor;
|
|
5
5
|
default: number;
|
|
@@ -20,10 +20,9 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
20
20
|
visible: import('vue').Ref<boolean>;
|
|
21
21
|
handleClick: (e: MouseEvent) => void;
|
|
22
22
|
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
23
|
-
/** 更新目标元素 */
|
|
24
23
|
click: (_e: MouseEvent) => boolean;
|
|
25
24
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
26
|
-
target: import('vue').PropType<string | HTMLElement>;
|
|
25
|
+
target: import('vue').PropType<string | HTMLElement | null>;
|
|
27
26
|
visibilityHeight: {
|
|
28
27
|
type: NumberConstructor;
|
|
29
28
|
default: number;
|
|
@@ -5,7 +5,7 @@ import { PropType, ExtractPropTypes } from 'vue';
|
|
|
5
5
|
*/
|
|
6
6
|
export declare const backtopProps: {
|
|
7
7
|
/** 触发滚动的对象 */
|
|
8
|
-
target: PropType<string | HTMLElement>;
|
|
8
|
+
target: PropType<string | HTMLElement | null>;
|
|
9
9
|
/** 滚动高度达到此参数值才出现 */
|
|
10
10
|
visibilityHeight: {
|
|
11
11
|
type: NumberConstructor;
|
|
@@ -421,10 +421,10 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
421
421
|
key: 0,
|
|
422
422
|
mode: "horizontal",
|
|
423
423
|
theme: _ctx.isDarkHeader || _ctx.isPrimaryHeader ? "dark" : "light",
|
|
424
|
-
popupTheme: _ctx.isDarkHeader ? "dark" : "light"
|
|
424
|
+
popupTheme: _ctx.isDarkHeader ? "dark" : "light",
|
|
425
|
+
defaultActive: _ctx.headerActive
|
|
425
426
|
}, _ctx.headerMenuProps || {}, {
|
|
426
427
|
items: _ctx.headerMenus,
|
|
427
|
-
defaultActive: _ctx.headerActive,
|
|
428
428
|
onOpen: _ctx.handleHeadMenuOpen,
|
|
429
429
|
onClose: _ctx.handleHeadMenuClose,
|
|
430
430
|
onItemClick: _ctx.handleHeadMenuItemClick,
|
|
@@ -445,7 +445,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
445
445
|
]),
|
|
446
446
|
key: "1"
|
|
447
447
|
} : void 0
|
|
448
|
-
]), 1040, ["theme", "popupTheme", "
|
|
448
|
+
]), 1040, ["theme", "popupTheme", "defaultActive", "items", "onOpen", "onClose", "onItemClick", "onItemMouseenter", "onItemMouseleave"])) : vue.createCommentVNode("", true)
|
|
449
449
|
])) : vue.createCommentVNode("", true),
|
|
450
450
|
_ctx.showHeaderTabs ? (vue.openBlock(), vue.createBlock(_component_LayoutTabs, {
|
|
451
451
|
key: 4,
|
|
@@ -522,11 +522,11 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
522
522
|
mode: "compact",
|
|
523
523
|
uniqueOpened: true,
|
|
524
524
|
collapseTransition: false,
|
|
525
|
-
theme: _ctx.sidebarStyle
|
|
525
|
+
theme: _ctx.sidebarStyle,
|
|
526
|
+
defaultActive: _ctx.sideboxActive,
|
|
527
|
+
collapse: _ctx.compact
|
|
526
528
|
}, _ctx.sideboxMenuProps || {}, {
|
|
527
529
|
items: _ctx.sideboxMenus,
|
|
528
|
-
defaultActive: _ctx.sideboxActive,
|
|
529
|
-
collapse: _ctx.compact,
|
|
530
530
|
onItemClick: _ctx.handleBoxMenuItemClick,
|
|
531
531
|
onItemMouseenter: _ctx.handleBoxMenuItemMouseenter,
|
|
532
532
|
onItemMouseleave: _ctx.handleBoxMenuItemMouseleave
|
|
@@ -545,7 +545,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
545
545
|
]),
|
|
546
546
|
key: "1"
|
|
547
547
|
} : void 0
|
|
548
|
-
]), 1040, ["theme", "
|
|
548
|
+
]), 1040, ["theme", "defaultActive", "collapse", "items", "onItemClick", "onItemMouseenter", "onItemMouseleave"])) : vue.createCommentVNode("", true)
|
|
549
549
|
]),
|
|
550
550
|
_: 3
|
|
551
551
|
}),
|
|
@@ -586,11 +586,11 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
586
586
|
ref: "sidebarMenuRef",
|
|
587
587
|
uniqueOpened: true,
|
|
588
588
|
collapseTransition: false,
|
|
589
|
-
theme: _ctx.isMixSidebar && !_ctx.isDarkMixSidebar ? void 0 : _ctx.sidebarStyle
|
|
589
|
+
theme: _ctx.isMixSidebar && !_ctx.isDarkMixSidebar ? void 0 : _ctx.sidebarStyle,
|
|
590
|
+
defaultActive: _ctx.sidebarActive,
|
|
591
|
+
collapse: _ctx.isMixSidebar ? false : _ctx.isCollapseSidebar
|
|
590
592
|
}, _ctx.sidebarMenuProps || {}, {
|
|
591
593
|
items: _ctx.sidebarMenus,
|
|
592
|
-
defaultActive: _ctx.sidebarActive,
|
|
593
|
-
collapse: _ctx.isMixSidebar ? false : _ctx.isCollapseSidebar,
|
|
594
594
|
onOpen: _ctx.handleSideMenuOpen,
|
|
595
595
|
onClose: _ctx.handleSideMenuClose,
|
|
596
596
|
onItemClick: _ctx.handleSideMenuItemClick
|
|
@@ -609,7 +609,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
609
609
|
]),
|
|
610
610
|
key: "1"
|
|
611
611
|
} : void 0
|
|
612
|
-
]), 1040, ["theme", "
|
|
612
|
+
]), 1040, ["theme", "defaultActive", "collapse", "items", "onOpen", "onClose", "onItemClick"])) : vue.createCommentVNode("", true)
|
|
613
613
|
]),
|
|
614
614
|
_: 3
|
|
615
615
|
}),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
declare const _default: import('vue').DefineComponent<{
|
|
2
|
-
target: import('vue').PropType<string | HTMLElement>;
|
|
2
|
+
target: import('vue').PropType<string | HTMLElement | null>;
|
|
3
3
|
visibilityHeight: {
|
|
4
4
|
type: NumberConstructor;
|
|
5
5
|
default: number;
|
|
@@ -20,10 +20,9 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
20
20
|
visible: import('vue').Ref<boolean>;
|
|
21
21
|
handleClick: (e: MouseEvent) => void;
|
|
22
22
|
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
23
|
-
/** 更新目标元素 */
|
|
24
23
|
click: (_e: MouseEvent) => boolean;
|
|
25
24
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
26
|
-
target: import('vue').PropType<string | HTMLElement>;
|
|
25
|
+
target: import('vue').PropType<string | HTMLElement | null>;
|
|
27
26
|
visibilityHeight: {
|
|
28
27
|
type: NumberConstructor;
|
|
29
28
|
default: number;
|
|
@@ -5,7 +5,7 @@ import { PropType, ExtractPropTypes } from 'vue';
|
|
|
5
5
|
*/
|
|
6
6
|
export declare const backtopProps: {
|
|
7
7
|
/** 触发滚动的对象 */
|
|
8
|
-
target: PropType<string | HTMLElement>;
|
|
8
|
+
target: PropType<string | HTMLElement | null>;
|
|
9
9
|
/** 滚动高度达到此参数值才出现 */
|
|
10
10
|
visibilityHeight: {
|
|
11
11
|
type: NumberConstructor;
|