ele-admin-plus 1.1.9-beta.4 → 1.1.9-beta.5

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.
@@ -96,7 +96,7 @@
96
96
  height: auto;
97
97
  }
98
98
 
99
- &:not(.el-drawer-fade-leave-active, .el-drawer-fade-enter-active) {
99
+ &:not(.el-drawer-fade-leave-active):not(.el-drawer-fade-enter-active) {
100
100
  transition: (width $ele-transition, left $ele-transition);
101
101
  }
102
102
 
@@ -19,7 +19,6 @@ declare const _default: import("vue").DefineComponent<{
19
19
  firstPopperClass: StringConstructor;
20
20
  tooltipDisabled: BooleanConstructor;
21
21
  ellipsisProps: import("vue").PropType<import("./types").EllipsisProps>;
22
- handleClick: BooleanConstructor;
23
22
  mode: import("element-plus/es/utils/index").EpPropFinalized<StringConstructor, "horizontal" | "vertical", unknown, "vertical", boolean>;
24
23
  defaultActive: import("element-plus/es/utils/index").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
25
24
  defaultOpeneds: import("element-plus/es/utils/index").EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | ((new (...args: any[]) => string[]) | (() => string[]))[], unknown, unknown, () => [], boolean>;
@@ -44,9 +43,8 @@ declare const _default: import("vue").DefineComponent<{
44
43
  open: (index: string) => void;
45
44
  close: (index: string) => void;
46
45
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
47
- /** 是否是水平菜单 */
48
46
  itemClick: (_item: import("./types").MenuItem, _e: MouseEvent) => boolean;
49
- itemMouseenter: (_item: import("./types").MenuItem, _e: MouseEvent) => boolean;
47
+ itemMouseenter: (_item: import("./types").MenuItem, _e: MouseEvent) => boolean; /** 监听菜单尺寸变化并溢出省略 */
50
48
  itemMouseleave: (_item: import("./types").MenuItem, _e: MouseEvent) => boolean;
51
49
  close: (index: string, indexPath: string[]) => boolean;
52
50
  open: (index: string, indexPath: string[]) => boolean;
@@ -69,7 +67,6 @@ declare const _default: import("vue").DefineComponent<{
69
67
  firstPopperClass: StringConstructor;
70
68
  tooltipDisabled: BooleanConstructor;
71
69
  ellipsisProps: import("vue").PropType<import("./types").EllipsisProps>;
72
- handleClick: BooleanConstructor;
73
70
  mode: import("element-plus/es/utils/index").EpPropFinalized<StringConstructor, "horizontal" | "vertical", unknown, "vertical", boolean>;
74
71
  defaultActive: import("element-plus/es/utils/index").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
75
72
  defaultOpeneds: import("element-plus/es/utils/index").EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | ((new (...args: any[]) => string[]) | (() => string[]))[], unknown, unknown, () => [], boolean>;
@@ -112,7 +109,6 @@ declare const _default: import("vue").DefineComponent<{
112
109
  popperOffset: number;
113
110
  ellipsisIcon: import("element-plus/es/utils/index").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>;
114
111
  popperEffect: import("element-plus/es/utils/index").EpPropMergeType<StringConstructor, "light" | "dark", unknown>;
115
- handleClick: boolean;
116
112
  popupTheme: import("./types").PopupMenuTheme;
117
113
  colorful: boolean;
118
114
  popupColorful: import("./types").PopupColorful;
@@ -30,8 +30,6 @@ export declare const menusProps: {
30
30
  tooltipDisabled: BooleanConstructor;
31
31
  /** 省略菜单的属性 */
32
32
  ellipsisProps: PropType<EllipsisProps>;
33
- /** 是否完全自己处理子菜单项点击事件 */
34
- handleClick: BooleanConstructor;
35
33
  mode: import("element-plus/es/utils/index").EpPropFinalized<StringConstructor, "horizontal" | "vertical", unknown, "vertical", boolean>;
36
34
  defaultActive: import("element-plus/es/utils/index").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
37
35
  defaultOpeneds: import("element-plus/es/utils/index").EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | ((new (...args: any[]) => string[]) | (() => string[]))[], unknown, unknown, () => [], boolean>;
@@ -25,9 +25,7 @@ const menusProps = {
25
25
  /** 禁用 tooltip */
26
26
  tooltipDisabled: Boolean,
27
27
  /** 省略菜单的属性 */
28
- ellipsisProps: Object,
29
- /** 是否完全自己处理子菜单项点击事件 */
30
- handleClick: Boolean
28
+ ellipsisProps: Object
31
29
  };
32
30
  const menuPropKeys = Object.keys(menuProps);
33
31
  const menusEmits = {
@@ -258,7 +258,7 @@
258
258
  left: eleVar('sidebar', 'width', 0);
259
259
  }
260
260
 
261
- &:not(.dialog-fade-leave-active, .dialog-fade-enter-active) {
261
+ &:not(.dialog-fade-leave-active):not(.dialog-fade-enter-active) {
262
262
  transition: (width $ele-transition, left $ele-transition);
263
263
  }
264
264
 
@@ -18,7 +18,7 @@
18
18
  border: none;
19
19
  }
20
20
 
21
- &:not(.is-open, .is-static) {
21
+ &:not(.is-open):not(.is-static) {
22
22
  display: none;
23
23
  }
24
24
 
@@ -20,7 +20,7 @@
20
20
 
21
21
  /* 顶栏阴影改分割线 */
22
22
  .ele-admin-open-tab:not(.ele-admin-tab-card) {
23
- .ele-admin-header:not(.is-dark, .is-primary) {
23
+ .ele-admin-header:not(.is-dark):not(.is-primary) {
24
24
  box-shadow: 0 -0.8px 0 eleVar('header', 'line-color') inset;
25
25
  }
26
26
  }
@@ -96,7 +96,7 @@
96
96
  height: auto;
97
97
  }
98
98
 
99
- &:not(.el-drawer-fade-leave-active, .el-drawer-fade-enter-active) {
99
+ &:not(.el-drawer-fade-leave-active):not(.el-drawer-fade-enter-active) {
100
100
  transition: (width $ele-transition, left $ele-transition);
101
101
  }
102
102
 
@@ -19,7 +19,6 @@ declare const _default: import("vue").DefineComponent<{
19
19
  firstPopperClass: StringConstructor;
20
20
  tooltipDisabled: BooleanConstructor;
21
21
  ellipsisProps: import("vue").PropType<import("./types").EllipsisProps>;
22
- handleClick: BooleanConstructor;
23
22
  mode: import("element-plus/es/utils/index").EpPropFinalized<StringConstructor, "horizontal" | "vertical", unknown, "vertical", boolean>;
24
23
  defaultActive: import("element-plus/es/utils/index").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
25
24
  defaultOpeneds: import("element-plus/es/utils/index").EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | ((new (...args: any[]) => string[]) | (() => string[]))[], unknown, unknown, () => [], boolean>;
@@ -44,9 +43,8 @@ declare const _default: import("vue").DefineComponent<{
44
43
  open: (index: string) => void;
45
44
  close: (index: string) => void;
46
45
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
47
- /** 是否是水平菜单 */
48
46
  itemClick: (_item: import("./types").MenuItem, _e: MouseEvent) => boolean;
49
- itemMouseenter: (_item: import("./types").MenuItem, _e: MouseEvent) => boolean;
47
+ itemMouseenter: (_item: import("./types").MenuItem, _e: MouseEvent) => boolean; /** 监听菜单尺寸变化并溢出省略 */
50
48
  itemMouseleave: (_item: import("./types").MenuItem, _e: MouseEvent) => boolean;
51
49
  close: (index: string, indexPath: string[]) => boolean;
52
50
  open: (index: string, indexPath: string[]) => boolean;
@@ -69,7 +67,6 @@ declare const _default: import("vue").DefineComponent<{
69
67
  firstPopperClass: StringConstructor;
70
68
  tooltipDisabled: BooleanConstructor;
71
69
  ellipsisProps: import("vue").PropType<import("./types").EllipsisProps>;
72
- handleClick: BooleanConstructor;
73
70
  mode: import("element-plus/es/utils/index").EpPropFinalized<StringConstructor, "horizontal" | "vertical", unknown, "vertical", boolean>;
74
71
  defaultActive: import("element-plus/es/utils/index").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
75
72
  defaultOpeneds: import("element-plus/es/utils/index").EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | ((new (...args: any[]) => string[]) | (() => string[]))[], unknown, unknown, () => [], boolean>;
@@ -112,7 +109,6 @@ declare const _default: import("vue").DefineComponent<{
112
109
  popperOffset: number;
113
110
  ellipsisIcon: import("element-plus/es/utils/index").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>;
114
111
  popperEffect: import("element-plus/es/utils/index").EpPropMergeType<StringConstructor, "light" | "dark", unknown>;
115
- handleClick: boolean;
116
112
  popupTheme: import("./types").PopupMenuTheme;
117
113
  colorful: boolean;
118
114
  popupColorful: import("./types").PopupColorful;
@@ -27,9 +27,7 @@ const menusProps = {
27
27
  /** 禁用 tooltip */
28
28
  tooltipDisabled: Boolean,
29
29
  /** 省略菜单的属性 */
30
- ellipsisProps: Object,
31
- /** 是否完全自己处理子菜单项点击事件 */
32
- handleClick: Boolean
30
+ ellipsisProps: Object
33
31
  };
34
32
  const menuPropKeys = Object.keys(elementPlus.menuProps);
35
33
  const menusEmits = {
@@ -30,8 +30,6 @@ export declare const menusProps: {
30
30
  tooltipDisabled: BooleanConstructor;
31
31
  /** 省略菜单的属性 */
32
32
  ellipsisProps: PropType<EllipsisProps>;
33
- /** 是否完全自己处理子菜单项点击事件 */
34
- handleClick: BooleanConstructor;
35
33
  mode: import("element-plus/es/utils/index").EpPropFinalized<StringConstructor, "horizontal" | "vertical", unknown, "vertical", boolean>;
36
34
  defaultActive: import("element-plus/es/utils/index").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
37
35
  defaultOpeneds: import("element-plus/es/utils/index").EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | ((new (...args: any[]) => string[]) | (() => string[]))[], unknown, unknown, () => [], boolean>;
@@ -258,7 +258,7 @@
258
258
  left: eleVar('sidebar', 'width', 0);
259
259
  }
260
260
 
261
- &:not(.dialog-fade-leave-active, .dialog-fade-enter-active) {
261
+ &:not(.dialog-fade-leave-active):not(.dialog-fade-enter-active) {
262
262
  transition: (width $ele-transition, left $ele-transition);
263
263
  }
264
264
 
@@ -18,7 +18,7 @@
18
18
  border: none;
19
19
  }
20
20
 
21
- &:not(.is-open, .is-static) {
21
+ &:not(.is-open):not(.is-static) {
22
22
  display: none;
23
23
  }
24
24
 
@@ -20,7 +20,7 @@
20
20
 
21
21
  /* 顶栏阴影改分割线 */
22
22
  .ele-admin-open-tab:not(.ele-admin-tab-card) {
23
- .ele-admin-header:not(.is-dark, .is-primary) {
23
+ .ele-admin-header:not(.is-dark):not(.is-primary) {
24
24
  box-shadow: 0 -0.8px 0 eleVar('header', 'line-color') inset;
25
25
  }
26
26
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ele-admin-plus",
3
- "version": "1.1.9-beta.4",
3
+ "version": "1.1.9-beta.5",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "dev": "vite --host --config vite.global.ts",