yuang-framework-ui-pc 1.1.129 → 1.1.130
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-menus/index.d.ts +31 -34
- package/es/ele-menus/index.js +14 -12
- package/lib/ele-menus/index.cjs +13 -11
- package/lib/ele-menus/index.d.ts +31 -34
- package/package.json +1 -1
package/es/ele-menus/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { nextTick } from 'vue';
|
|
1
2
|
import { NavigationFailure } from 'vue-router';
|
|
2
3
|
import { MenuItemClicked } from 'element-plus';
|
|
3
4
|
import { pick } from '../utils/core';
|
|
@@ -228,11 +229,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
228
229
|
namespace: import('vue').ComputedRef<string>;
|
|
229
230
|
b: (blockSuffix?: string) => string;
|
|
230
231
|
e: (element?: string | undefined) => string;
|
|
231
|
-
m: (modifier
|
|
232
|
-
be: (blockSuffix?: string | undefined, element
|
|
233
|
-
em: (element
|
|
234
|
-
bm: (blockSuffix
|
|
235
|
-
bem: (blockSuffix
|
|
232
|
+
m: (modifier?: string | undefined) => string;
|
|
233
|
+
be: (blockSuffix?: string | undefined, element? /** 菜单省略位置 */: string | undefined) => string;
|
|
234
|
+
em: (element?: string | undefined, modifier?: string | undefined) => string;
|
|
235
|
+
bm: (blockSuffix? /** 省略的菜单数据 */: string | undefined, modifier?: string | undefined) => string;
|
|
236
|
+
bem: (blockSuffix? /** 文本溢出提示单例目标 */: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;
|
|
236
237
|
is: {
|
|
237
238
|
(name: string, state: boolean | undefined): string;
|
|
238
239
|
(name: string): string;
|
|
@@ -244,13 +245,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
244
245
|
};
|
|
245
246
|
nsMenuItem: {
|
|
246
247
|
namespace: import('vue').ComputedRef<string>;
|
|
247
|
-
b: (blockSuffix
|
|
248
|
+
b: (blockSuffix? /** 菜单组件属性 */: string) => string;
|
|
248
249
|
e: (element?: string | undefined) => string;
|
|
249
250
|
m: (modifier?: string | undefined) => string;
|
|
250
251
|
be: (blockSuffix?: string | undefined, element?: string | undefined) => string;
|
|
251
252
|
em: (element?: string | undefined, modifier?: string | undefined) => string;
|
|
252
253
|
bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;
|
|
253
|
-
bem: (blockSuffix?: string | undefined, element
|
|
254
|
+
bem: (blockSuffix?: string | undefined, element? /** 关闭文本溢出提示 */: string | undefined, modifier?: string | undefined) => string;
|
|
254
255
|
is: {
|
|
255
256
|
(name: string, state: boolean | undefined): string;
|
|
256
257
|
(name: string): string;
|
|
@@ -276,9 +277,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
276
277
|
onClick?: ((item: import('element-plus').MenuItemRegistered) => any) | undefined;
|
|
277
278
|
}, {
|
|
278
279
|
readonly disabled: boolean;
|
|
279
|
-
readonly index: import('element-plus/es/utils/index').EpPropMergeType<(new (...args: any[]) => string & {}) | (() => string | null) | ((new (
|
|
280
|
-
/** 子菜单项点击事件 */
|
|
281
|
-
... /** 子菜单项点击事件 */args: any[]) => string & {}) | (() => string | null))[], unknown, unknown>;
|
|
280
|
+
readonly index: import('element-plus/es/utils/index').EpPropMergeType<(new (...args: any[]) => string & {}) | (() => string | null) | ((new (...args: any[]) => string & {}) | (() => string | null))[], unknown, unknown>;
|
|
282
281
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
283
282
|
MenuItemGroup: import('vue').DefineComponent<{
|
|
284
283
|
readonly title: StringConstructor;
|
|
@@ -318,7 +317,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
318
317
|
readonly teleported: import('element-plus/es/utils/index').EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
319
318
|
readonly popperOffset: NumberConstructor;
|
|
320
319
|
readonly expandCloseIcon: {
|
|
321
|
-
readonly type: import('vue').PropType<import('element-plus/es/utils/index').EpPropMergeType<(new (...
|
|
320
|
+
readonly type: import('vue').PropType<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>>;
|
|
322
321
|
readonly required: false;
|
|
323
322
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
324
323
|
__epPropKey: true;
|
|
@@ -399,7 +398,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
399
398
|
readonly teleported: import('element-plus/es/utils/index').EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
400
399
|
readonly popperOffset: NumberConstructor;
|
|
401
400
|
readonly expandCloseIcon: {
|
|
402
|
-
readonly type: import('vue').PropType<import('element-plus/es/utils/index').EpPropMergeType<(new (...
|
|
401
|
+
readonly type: import('vue').PropType<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>>;
|
|
403
402
|
readonly required: false;
|
|
404
403
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
405
404
|
__epPropKey: true;
|
|
@@ -468,7 +467,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
468
467
|
ElIcon: import('element-plus/es/utils/index').SFCWithInstall<{
|
|
469
468
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
470
469
|
readonly size: {
|
|
471
|
-
readonly type: import('vue').PropType<import('element-plus/es/utils/index').EpPropMergeType<(new (...args: any[]) => (string | number) & {}) | (() => string | number) | ((new (...
|
|
470
|
+
readonly type: import('vue').PropType<import('element-plus/es/utils/index').EpPropMergeType<(new (...args: any[]) => (string | number) & {}) | (() => string | number) | ((new (...args: any[]) => (string | number) & {}) | (() => string | number))[], unknown, unknown>>;
|
|
472
471
|
readonly required: false;
|
|
473
472
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
474
473
|
__epPropKey: true;
|
|
@@ -488,7 +487,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
488
487
|
Defaults: {};
|
|
489
488
|
}, Readonly<import('vue').ExtractPropTypes<{
|
|
490
489
|
readonly size: {
|
|
491
|
-
readonly type: import('vue').PropType<import('element-plus/es/utils/index').EpPropMergeType<(new (...args: any[]) => (string | number) & {}) | (() => string | number) | ((new (...
|
|
490
|
+
readonly type: import('vue').PropType<import('element-plus/es/utils/index').EpPropMergeType<(new (...args: any[]) => (string | number) & {}) | (() => string | number) | ((new (...args: any[]) => (string | number) & {}) | (() => string | number))[], unknown, unknown>>;
|
|
492
491
|
readonly required: false;
|
|
493
492
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
494
493
|
__epPropKey: true;
|
|
@@ -505,7 +504,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
505
504
|
__isSuspense?: never;
|
|
506
505
|
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
507
506
|
readonly size: {
|
|
508
|
-
readonly type: import('vue').PropType<import('element-plus/es/utils/index').EpPropMergeType<(new (...args: any[]) => (string | number) & {}) | (() => string | number) | ((new (...
|
|
507
|
+
readonly type: import('vue').PropType<import('element-plus/es/utils/index').EpPropMergeType<(new (...args: any[]) => (string | number) & {}) | (() => string | number) | ((new (...args: any[]) => (string | number) & {}) | (() => string | number))[], unknown, unknown>>;
|
|
509
508
|
readonly required: false;
|
|
510
509
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
511
510
|
__epPropKey: true;
|
|
@@ -544,7 +543,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
544
543
|
visible: import('element-plus/es/utils/index').EpPropFinalized<(new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null) | ((new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null))[], unknown, unknown, null, boolean>;
|
|
545
544
|
trigger: import('element-plus/es/utils/index').EpPropFinalized<(new (...args: any[]) => import('element-plus/es/utils/typescript').Arrayable<import('element-plus').TooltipTriggerType> & {}) | (() => import('element-plus/es/utils/typescript').Arrayable<import('element-plus').TooltipTriggerType>) | ((new (...args: any[]) => import('element-plus/es/utils/typescript').Arrayable<import('element-plus').TooltipTriggerType> & {}) | (() => import('element-plus/es/utils/typescript').Arrayable<import('element-plus').TooltipTriggerType>))[], unknown, unknown, "hover", boolean>;
|
|
546
545
|
popperOptions: import('element-plus/es/utils/index').EpPropFinalized<(new (...args: any[]) => Partial<import('element-plus/es/components/popper/index').Options>) | (() => Partial<import('element-plus/es/components/popper/index').Options>) | ((new (...args: any[]) => Partial<import('element-plus/es/components/popper/index').Options>) | (() => Partial<import('element-plus/es/components/popper/index').Options>))[], unknown, unknown, () => {}, boolean>;
|
|
547
|
-
triggerKeys: import('element-plus/es/utils/index').EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | ((new (...args: any[]) => string[]) | (() => string[]))[], unknown, unknown, () => string[], boolean>;
|
|
546
|
+
triggerKeys: import('element-plus/es/utils/index').EpPropFinalized<(new (... /** 省略的菜单数据 */args: any[]) => string[]) | (() => string[]) | ((new (...args: any[]) => string[]) | (() => string[]))[], unknown, unknown, () => string[], boolean>;
|
|
548
547
|
transition: StringConstructor;
|
|
549
548
|
content: import('element-plus/es/utils/index').EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
550
549
|
enterable: import('element-plus/es/utils/index').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
@@ -605,7 +604,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
605
604
|
visible: import('element-plus/es/utils/index').EpPropFinalized<(new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null) | ((new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null))[], unknown, unknown, null, boolean>;
|
|
606
605
|
trigger: import('element-plus/es/utils/index').EpPropFinalized<(new (...args: any[]) => import('element-plus/es/utils/typescript').Arrayable<import('element-plus').TooltipTriggerType> & {}) | (() => import('element-plus/es/utils/typescript').Arrayable<import('element-plus').TooltipTriggerType>) | ((new (...args: any[]) => import('element-plus/es/utils/typescript').Arrayable<import('element-plus').TooltipTriggerType> & {}) | (() => import('element-plus/es/utils/typescript').Arrayable<import('element-plus').TooltipTriggerType>))[], unknown, unknown, "hover", boolean>;
|
|
607
606
|
popperOptions: import('element-plus/es/utils/index').EpPropFinalized<(new (...args: any[]) => Partial<import('element-plus/es/components/popper/index').Options>) | (() => Partial<import('element-plus/es/components/popper/index').Options>) | ((new (...args: any[]) => Partial<import('element-plus/es/components/popper/index').Options>) | (() => Partial<import('element-plus/es/components/popper/index').Options>))[], unknown, unknown, () => {}, boolean>;
|
|
608
|
-
triggerKeys: import('element-plus/es/utils/index').EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | ((new (...args: any[]) => string[]) | (() => string[]))[], unknown, unknown, () => string[], boolean>;
|
|
607
|
+
triggerKeys: import('element-plus/es/utils/index').EpPropFinalized<(new (... /** 省略的菜单数据 */args: any[]) => string[]) | (() => string[]) | ((new (...args: any[]) => string[]) | (() => string[]))[], unknown, unknown, () => string[], boolean>;
|
|
609
608
|
transition: StringConstructor;
|
|
610
609
|
content: import('element-plus/es/utils/index').EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
611
610
|
enterable: import('element-plus/es/utils/index').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
@@ -1030,7 +1029,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1030
1029
|
errorCaptured?: (((err: unknown, instance: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void)[]) | undefined;
|
|
1031
1030
|
};
|
|
1032
1031
|
$forceUpdate: () => void;
|
|
1033
|
-
$nextTick: typeof import('vue').nextTick;
|
|
1032
|
+
$nextTick: typeof import('vue/dist/vue.js').nextTick;
|
|
1034
1033
|
$watch(source: string | Function, cb: Function, options?: import('vue').WatchOptions<boolean> | undefined): import('vue').WatchStopHandle;
|
|
1035
1034
|
} & Readonly<import('vue').ExtractPropTypes<{
|
|
1036
1035
|
readonly role: import('element-plus/es/utils/index').EpPropFinalized<StringConstructor, "dialog" | "menu" | "grid" | "listbox" | "tooltip" | "tree" | "group" | "navigation", unknown, "tooltip", boolean>;
|
|
@@ -1462,7 +1461,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1462
1461
|
errorCaptured?: (((err: unknown, instance: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void)[]) | undefined;
|
|
1463
1462
|
};
|
|
1464
1463
|
$forceUpdate: () => void;
|
|
1465
|
-
$nextTick: typeof import('vue').nextTick;
|
|
1464
|
+
$nextTick: typeof import('vue/dist/vue.js').nextTick;
|
|
1466
1465
|
$watch(source: string | Function, cb: Function, options?: import('vue').WatchOptions<boolean> | undefined): import('vue').WatchStopHandle;
|
|
1467
1466
|
} & Readonly<import('vue').ExtractPropTypes<{
|
|
1468
1467
|
readonly role: import('element-plus/es/utils/index').EpPropFinalized<StringConstructor, "dialog" | "menu" | "grid" | "listbox" | "tooltip" | "tree" | "group" | "navigation", unknown, "tooltip", boolean>;
|
|
@@ -1889,7 +1888,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1889
1888
|
errorCaptured?: (((err: unknown, instance: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void)[]) | undefined;
|
|
1890
1889
|
};
|
|
1891
1890
|
$forceUpdate: () => void;
|
|
1892
|
-
$nextTick: typeof import('vue').nextTick;
|
|
1891
|
+
$nextTick: typeof import('vue/dist/vue.js').nextTick;
|
|
1893
1892
|
$watch(source: string | Function, cb: Function, options?: import('vue').WatchOptions<boolean> | undefined): import('vue').WatchStopHandle;
|
|
1894
1893
|
} & Readonly<import('vue').ExtractPropTypes<{
|
|
1895
1894
|
readonly role: import('element-plus/es/utils/index').EpPropFinalized<StringConstructor, "dialog" | "menu" | "grid" | "listbox" | "tooltip" | "tree" | "group" | "navigation", unknown, "tooltip", boolean>;
|
|
@@ -2018,11 +2017,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
2018
2017
|
namespace: import('vue').ComputedRef<string>;
|
|
2019
2018
|
b: (blockSuffix?: string) => string;
|
|
2020
2019
|
e: (element?: string | undefined) => string;
|
|
2021
|
-
m: (modifier
|
|
2022
|
-
be: (blockSuffix?: string | undefined, element
|
|
2023
|
-
em: (element
|
|
2024
|
-
bm: (blockSuffix
|
|
2025
|
-
bem: (blockSuffix
|
|
2020
|
+
m: (modifier?: string | undefined) => string;
|
|
2021
|
+
be: (blockSuffix?: string | undefined, element? /** 菜单省略位置 */: string | undefined) => string;
|
|
2022
|
+
em: (element?: string | undefined, modifier?: string | undefined) => string;
|
|
2023
|
+
bm: (blockSuffix? /** 省略的菜单数据 */: string | undefined, modifier?: string | undefined) => string;
|
|
2024
|
+
bem: (blockSuffix? /** 文本溢出提示单例目标 */: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;
|
|
2026
2025
|
is: {
|
|
2027
2026
|
(name: string, state: boolean | undefined): string;
|
|
2028
2027
|
(name: string): string;
|
|
@@ -2034,13 +2033,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
2034
2033
|
};
|
|
2035
2034
|
nsMenuItem: {
|
|
2036
2035
|
namespace: import('vue').ComputedRef<string>;
|
|
2037
|
-
b: (blockSuffix
|
|
2036
|
+
b: (blockSuffix? /** 菜单组件属性 */: string) => string;
|
|
2038
2037
|
e: (element?: string | undefined) => string;
|
|
2039
2038
|
m: (modifier?: string | undefined) => string;
|
|
2040
2039
|
be: (blockSuffix?: string | undefined, element?: string | undefined) => string;
|
|
2041
2040
|
em: (element?: string | undefined, modifier?: string | undefined) => string;
|
|
2042
2041
|
bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;
|
|
2043
|
-
bem: (blockSuffix?: string | undefined, element
|
|
2042
|
+
bem: (blockSuffix?: string | undefined, element? /** 关闭文本溢出提示 */: string | undefined, modifier?: string | undefined) => string;
|
|
2044
2043
|
is: {
|
|
2045
2044
|
(name: string, state: boolean | undefined): string;
|
|
2046
2045
|
(name: string): string;
|
|
@@ -2066,9 +2065,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
2066
2065
|
onClick?: ((item: import('element-plus').MenuItemRegistered) => any) | undefined;
|
|
2067
2066
|
}, {
|
|
2068
2067
|
readonly disabled: boolean;
|
|
2069
|
-
readonly index: import('element-plus/es/utils/index').EpPropMergeType<(new (...args: any[]) => string & {}) | (() => string | null) | ((new (
|
|
2070
|
-
/** 子菜单项点击事件 */
|
|
2071
|
-
... /** 子菜单项点击事件 */args: any[]) => string & {}) | (() => string | null))[], unknown, unknown>;
|
|
2068
|
+
readonly index: import('element-plus/es/utils/index').EpPropMergeType<(new (...args: any[]) => string & {}) | (() => string | null) | ((new (...args: any[]) => string & {}) | (() => string | null))[], unknown, unknown>;
|
|
2072
2069
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>>;
|
|
2073
2070
|
ElSubMenu: import('element-plus/es/utils/index').SFCWithInstall<import('vue').DefineComponent<{
|
|
2074
2071
|
readonly index: {
|
|
@@ -2084,7 +2081,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
2084
2081
|
readonly teleported: import('element-plus/es/utils/index').EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
2085
2082
|
readonly popperOffset: NumberConstructor;
|
|
2086
2083
|
readonly expandCloseIcon: {
|
|
2087
|
-
readonly type: import('vue').PropType<import('element-plus/es/utils/index').EpPropMergeType<(new (...
|
|
2084
|
+
readonly type: import('vue').PropType<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>>;
|
|
2088
2085
|
readonly required: false;
|
|
2089
2086
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2090
2087
|
__epPropKey: true;
|
|
@@ -2214,7 +2211,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
2214
2211
|
ElIcon: import('element-plus/es/utils/index').SFCWithInstall<{
|
|
2215
2212
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
2216
2213
|
readonly size: {
|
|
2217
|
-
readonly type: import('vue').PropType<import('element-plus/es/utils/index').EpPropMergeType<(new (...args: any[]) => (string | number) & {}) | (() => string | number) | ((new (...
|
|
2214
|
+
readonly type: import('vue').PropType<import('element-plus/es/utils/index').EpPropMergeType<(new (...args: any[]) => (string | number) & {}) | (() => string | number) | ((new (...args: any[]) => (string | number) & {}) | (() => string | number))[], unknown, unknown>>;
|
|
2218
2215
|
readonly required: false;
|
|
2219
2216
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2220
2217
|
__epPropKey: true;
|
|
@@ -2234,7 +2231,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
2234
2231
|
Defaults: {};
|
|
2235
2232
|
}, Readonly<import('vue').ExtractPropTypes<{
|
|
2236
2233
|
readonly size: {
|
|
2237
|
-
readonly type: import('vue').PropType<import('element-plus/es/utils/index').EpPropMergeType<(new (...args: any[]) => (string | number) & {}) | (() => string | number) | ((new (...
|
|
2234
|
+
readonly type: import('vue').PropType<import('element-plus/es/utils/index').EpPropMergeType<(new (...args: any[]) => (string | number) & {}) | (() => string | number) | ((new (...args: any[]) => (string | number) & {}) | (() => string | number))[], unknown, unknown>>;
|
|
2238
2235
|
readonly required: false;
|
|
2239
2236
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2240
2237
|
__epPropKey: true;
|
|
@@ -2251,7 +2248,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
2251
2248
|
__isSuspense?: never;
|
|
2252
2249
|
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
2253
2250
|
readonly size: {
|
|
2254
|
-
readonly type: import('vue').PropType<import('element-plus/es/utils/index').EpPropMergeType<(new (...args: any[]) => (string | number) & {}) | (() => string | number) | ((new (...
|
|
2251
|
+
readonly type: import('vue').PropType<import('element-plus/es/utils/index').EpPropMergeType<(new (...args: any[]) => (string | number) & {}) | (() => string | number) | ((new (...args: any[]) => (string | number) & {}) | (() => string | number))[], unknown, unknown>>;
|
|
2255
2252
|
readonly required: false;
|
|
2256
2253
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2257
2254
|
__epPropKey: true;
|
package/es/ele-menus/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, ref, shallowRef, computed, onMounted, watch, resolveComponent, createBlock, openBlock, mergeProps, withCtx, createCommentVNode, createSlots, renderList, renderSlot, normalizeProps, guardReactiveProps, createVNode, resolveDynamicComponent, normalizeStyle } from "vue";
|
|
1
|
+
import { defineComponent, ref, shallowRef, computed, onMounted, watch, nextTick, resolveComponent, createBlock, openBlock, mergeProps, withCtx, createCommentVNode, createSlots, renderList, renderSlot, normalizeProps, guardReactiveProps, createVNode, resolveDynamicComponent, normalizeStyle } from "vue";
|
|
2
2
|
import { ElIcon, ElSubMenu, ElMenu } from "element-plus";
|
|
3
3
|
import { EllipsisOutlined } from "../icons";
|
|
4
4
|
import { pick, contentIsEllipsis } from "../utils/core";
|
|
@@ -63,19 +63,21 @@ const _sfc_main = defineComponent({
|
|
|
63
63
|
hideTooltip();
|
|
64
64
|
};
|
|
65
65
|
const handleOpen = (index2, indexPath) => {
|
|
66
|
-
var _a2;
|
|
67
66
|
emit("open", index2, indexPath);
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
if (currentItem == null ? void 0 : currentItem.children) {
|
|
74
|
-
const firstLeaf = findFirstLeaf(currentItem);
|
|
75
|
-
if (firstLeaf == null ? void 0 : firstLeaf.path) {
|
|
76
|
-
router.push(firstLeaf.path);
|
|
67
|
+
nextTick(() => {
|
|
68
|
+
var _a2;
|
|
69
|
+
function findFirstLeaf(menu) {
|
|
70
|
+
if (!menu.children || !menu.children.length) return menu;
|
|
71
|
+
return findFirstLeaf(menu.children[0]);
|
|
77
72
|
}
|
|
78
|
-
|
|
73
|
+
const currentItem = (_a2 = menuItems.value) == null ? void 0 : _a2.find((m) => m.index === index2);
|
|
74
|
+
if (currentItem == null ? void 0 : currentItem.children) {
|
|
75
|
+
const firstLeaf = findFirstLeaf(currentItem);
|
|
76
|
+
if (firstLeaf == null ? void 0 : firstLeaf.path) {
|
|
77
|
+
router.push(firstLeaf.path);
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
});
|
|
79
81
|
};
|
|
80
82
|
const handleClose = (index2, indexPath) => {
|
|
81
83
|
emit("close", index2, indexPath);
|
package/lib/ele-menus/index.cjs
CHANGED
|
@@ -64,19 +64,21 @@ const _sfc_main = vue.defineComponent({
|
|
|
64
64
|
hideTooltip();
|
|
65
65
|
};
|
|
66
66
|
const handleOpen = (index2, indexPath) => {
|
|
67
|
-
var _a2;
|
|
68
67
|
emit("open", index2, indexPath);
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
if (currentItem == null ? void 0 : currentItem.children) {
|
|
75
|
-
const firstLeaf = findFirstLeaf(currentItem);
|
|
76
|
-
if (firstLeaf == null ? void 0 : firstLeaf.path) {
|
|
77
|
-
router.push(firstLeaf.path);
|
|
68
|
+
vue.nextTick(() => {
|
|
69
|
+
var _a2;
|
|
70
|
+
function findFirstLeaf(menu) {
|
|
71
|
+
if (!menu.children || !menu.children.length) return menu;
|
|
72
|
+
return findFirstLeaf(menu.children[0]);
|
|
78
73
|
}
|
|
79
|
-
|
|
74
|
+
const currentItem = (_a2 = menuItems.value) == null ? void 0 : _a2.find((m) => m.index === index2);
|
|
75
|
+
if (currentItem == null ? void 0 : currentItem.children) {
|
|
76
|
+
const firstLeaf = findFirstLeaf(currentItem);
|
|
77
|
+
if (firstLeaf == null ? void 0 : firstLeaf.path) {
|
|
78
|
+
router.push(firstLeaf.path);
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
});
|
|
80
82
|
};
|
|
81
83
|
const handleClose = (index2, indexPath) => {
|
|
82
84
|
emit("close", index2, indexPath);
|
package/lib/ele-menus/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { nextTick } from 'vue';
|
|
1
2
|
import { NavigationFailure } from 'vue-router';
|
|
2
3
|
import { MenuItemClicked } from 'element-plus';
|
|
3
4
|
import { pick } from '../utils/core';
|
|
@@ -228,11 +229,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
228
229
|
namespace: import('vue').ComputedRef<string>;
|
|
229
230
|
b: (blockSuffix?: string) => string;
|
|
230
231
|
e: (element?: string | undefined) => string;
|
|
231
|
-
m: (modifier
|
|
232
|
-
be: (blockSuffix?: string | undefined, element
|
|
233
|
-
em: (element
|
|
234
|
-
bm: (blockSuffix
|
|
235
|
-
bem: (blockSuffix
|
|
232
|
+
m: (modifier?: string | undefined) => string;
|
|
233
|
+
be: (blockSuffix?: string | undefined, element? /** 菜单省略位置 */: string | undefined) => string;
|
|
234
|
+
em: (element?: string | undefined, modifier?: string | undefined) => string;
|
|
235
|
+
bm: (blockSuffix? /** 省略的菜单数据 */: string | undefined, modifier?: string | undefined) => string;
|
|
236
|
+
bem: (blockSuffix? /** 文本溢出提示单例目标 */: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;
|
|
236
237
|
is: {
|
|
237
238
|
(name: string, state: boolean | undefined): string;
|
|
238
239
|
(name: string): string;
|
|
@@ -244,13 +245,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
244
245
|
};
|
|
245
246
|
nsMenuItem: {
|
|
246
247
|
namespace: import('vue').ComputedRef<string>;
|
|
247
|
-
b: (blockSuffix
|
|
248
|
+
b: (blockSuffix? /** 菜单组件属性 */: string) => string;
|
|
248
249
|
e: (element?: string | undefined) => string;
|
|
249
250
|
m: (modifier?: string | undefined) => string;
|
|
250
251
|
be: (blockSuffix?: string | undefined, element?: string | undefined) => string;
|
|
251
252
|
em: (element?: string | undefined, modifier?: string | undefined) => string;
|
|
252
253
|
bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;
|
|
253
|
-
bem: (blockSuffix?: string | undefined, element
|
|
254
|
+
bem: (blockSuffix?: string | undefined, element? /** 关闭文本溢出提示 */: string | undefined, modifier?: string | undefined) => string;
|
|
254
255
|
is: {
|
|
255
256
|
(name: string, state: boolean | undefined): string;
|
|
256
257
|
(name: string): string;
|
|
@@ -276,9 +277,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
276
277
|
onClick?: ((item: import('element-plus').MenuItemRegistered) => any) | undefined;
|
|
277
278
|
}, {
|
|
278
279
|
readonly disabled: boolean;
|
|
279
|
-
readonly index: import('element-plus/es/utils/index').EpPropMergeType<(new (...args: any[]) => string & {}) | (() => string | null) | ((new (
|
|
280
|
-
/** 子菜单项点击事件 */
|
|
281
|
-
... /** 子菜单项点击事件 */args: any[]) => string & {}) | (() => string | null))[], unknown, unknown>;
|
|
280
|
+
readonly index: import('element-plus/es/utils/index').EpPropMergeType<(new (...args: any[]) => string & {}) | (() => string | null) | ((new (...args: any[]) => string & {}) | (() => string | null))[], unknown, unknown>;
|
|
282
281
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
283
282
|
MenuItemGroup: import('vue').DefineComponent<{
|
|
284
283
|
readonly title: StringConstructor;
|
|
@@ -318,7 +317,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
318
317
|
readonly teleported: import('element-plus/es/utils/index').EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
319
318
|
readonly popperOffset: NumberConstructor;
|
|
320
319
|
readonly expandCloseIcon: {
|
|
321
|
-
readonly type: import('vue').PropType<import('element-plus/es/utils/index').EpPropMergeType<(new (...
|
|
320
|
+
readonly type: import('vue').PropType<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>>;
|
|
322
321
|
readonly required: false;
|
|
323
322
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
324
323
|
__epPropKey: true;
|
|
@@ -399,7 +398,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
399
398
|
readonly teleported: import('element-plus/es/utils/index').EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
400
399
|
readonly popperOffset: NumberConstructor;
|
|
401
400
|
readonly expandCloseIcon: {
|
|
402
|
-
readonly type: import('vue').PropType<import('element-plus/es/utils/index').EpPropMergeType<(new (...
|
|
401
|
+
readonly type: import('vue').PropType<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>>;
|
|
403
402
|
readonly required: false;
|
|
404
403
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
405
404
|
__epPropKey: true;
|
|
@@ -468,7 +467,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
468
467
|
ElIcon: import('element-plus/es/utils/index').SFCWithInstall<{
|
|
469
468
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
470
469
|
readonly size: {
|
|
471
|
-
readonly type: import('vue').PropType<import('element-plus/es/utils/index').EpPropMergeType<(new (...args: any[]) => (string | number) & {}) | (() => string | number) | ((new (...
|
|
470
|
+
readonly type: import('vue').PropType<import('element-plus/es/utils/index').EpPropMergeType<(new (...args: any[]) => (string | number) & {}) | (() => string | number) | ((new (...args: any[]) => (string | number) & {}) | (() => string | number))[], unknown, unknown>>;
|
|
472
471
|
readonly required: false;
|
|
473
472
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
474
473
|
__epPropKey: true;
|
|
@@ -488,7 +487,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
488
487
|
Defaults: {};
|
|
489
488
|
}, Readonly<import('vue').ExtractPropTypes<{
|
|
490
489
|
readonly size: {
|
|
491
|
-
readonly type: import('vue').PropType<import('element-plus/es/utils/index').EpPropMergeType<(new (...args: any[]) => (string | number) & {}) | (() => string | number) | ((new (...
|
|
490
|
+
readonly type: import('vue').PropType<import('element-plus/es/utils/index').EpPropMergeType<(new (...args: any[]) => (string | number) & {}) | (() => string | number) | ((new (...args: any[]) => (string | number) & {}) | (() => string | number))[], unknown, unknown>>;
|
|
492
491
|
readonly required: false;
|
|
493
492
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
494
493
|
__epPropKey: true;
|
|
@@ -505,7 +504,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
505
504
|
__isSuspense?: never;
|
|
506
505
|
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
507
506
|
readonly size: {
|
|
508
|
-
readonly type: import('vue').PropType<import('element-plus/es/utils/index').EpPropMergeType<(new (...args: any[]) => (string | number) & {}) | (() => string | number) | ((new (...
|
|
507
|
+
readonly type: import('vue').PropType<import('element-plus/es/utils/index').EpPropMergeType<(new (...args: any[]) => (string | number) & {}) | (() => string | number) | ((new (...args: any[]) => (string | number) & {}) | (() => string | number))[], unknown, unknown>>;
|
|
509
508
|
readonly required: false;
|
|
510
509
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
511
510
|
__epPropKey: true;
|
|
@@ -544,7 +543,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
544
543
|
visible: import('element-plus/es/utils/index').EpPropFinalized<(new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null) | ((new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null))[], unknown, unknown, null, boolean>;
|
|
545
544
|
trigger: import('element-plus/es/utils/index').EpPropFinalized<(new (...args: any[]) => import('element-plus/es/utils/typescript').Arrayable<import('element-plus').TooltipTriggerType> & {}) | (() => import('element-plus/es/utils/typescript').Arrayable<import('element-plus').TooltipTriggerType>) | ((new (...args: any[]) => import('element-plus/es/utils/typescript').Arrayable<import('element-plus').TooltipTriggerType> & {}) | (() => import('element-plus/es/utils/typescript').Arrayable<import('element-plus').TooltipTriggerType>))[], unknown, unknown, "hover", boolean>;
|
|
546
545
|
popperOptions: import('element-plus/es/utils/index').EpPropFinalized<(new (...args: any[]) => Partial<import('element-plus/es/components/popper/index').Options>) | (() => Partial<import('element-plus/es/components/popper/index').Options>) | ((new (...args: any[]) => Partial<import('element-plus/es/components/popper/index').Options>) | (() => Partial<import('element-plus/es/components/popper/index').Options>))[], unknown, unknown, () => {}, boolean>;
|
|
547
|
-
triggerKeys: import('element-plus/es/utils/index').EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | ((new (...args: any[]) => string[]) | (() => string[]))[], unknown, unknown, () => string[], boolean>;
|
|
546
|
+
triggerKeys: import('element-plus/es/utils/index').EpPropFinalized<(new (... /** 省略的菜单数据 */args: any[]) => string[]) | (() => string[]) | ((new (...args: any[]) => string[]) | (() => string[]))[], unknown, unknown, () => string[], boolean>;
|
|
548
547
|
transition: StringConstructor;
|
|
549
548
|
content: import('element-plus/es/utils/index').EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
550
549
|
enterable: import('element-plus/es/utils/index').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
@@ -605,7 +604,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
605
604
|
visible: import('element-plus/es/utils/index').EpPropFinalized<(new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null) | ((new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null))[], unknown, unknown, null, boolean>;
|
|
606
605
|
trigger: import('element-plus/es/utils/index').EpPropFinalized<(new (...args: any[]) => import('element-plus/es/utils/typescript').Arrayable<import('element-plus').TooltipTriggerType> & {}) | (() => import('element-plus/es/utils/typescript').Arrayable<import('element-plus').TooltipTriggerType>) | ((new (...args: any[]) => import('element-plus/es/utils/typescript').Arrayable<import('element-plus').TooltipTriggerType> & {}) | (() => import('element-plus/es/utils/typescript').Arrayable<import('element-plus').TooltipTriggerType>))[], unknown, unknown, "hover", boolean>;
|
|
607
606
|
popperOptions: import('element-plus/es/utils/index').EpPropFinalized<(new (...args: any[]) => Partial<import('element-plus/es/components/popper/index').Options>) | (() => Partial<import('element-plus/es/components/popper/index').Options>) | ((new (...args: any[]) => Partial<import('element-plus/es/components/popper/index').Options>) | (() => Partial<import('element-plus/es/components/popper/index').Options>))[], unknown, unknown, () => {}, boolean>;
|
|
608
|
-
triggerKeys: import('element-plus/es/utils/index').EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | ((new (...args: any[]) => string[]) | (() => string[]))[], unknown, unknown, () => string[], boolean>;
|
|
607
|
+
triggerKeys: import('element-plus/es/utils/index').EpPropFinalized<(new (... /** 省略的菜单数据 */args: any[]) => string[]) | (() => string[]) | ((new (...args: any[]) => string[]) | (() => string[]))[], unknown, unknown, () => string[], boolean>;
|
|
609
608
|
transition: StringConstructor;
|
|
610
609
|
content: import('element-plus/es/utils/index').EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
611
610
|
enterable: import('element-plus/es/utils/index').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
@@ -1030,7 +1029,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1030
1029
|
errorCaptured?: (((err: unknown, instance: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void)[]) | undefined;
|
|
1031
1030
|
};
|
|
1032
1031
|
$forceUpdate: () => void;
|
|
1033
|
-
$nextTick: typeof import('vue').nextTick;
|
|
1032
|
+
$nextTick: typeof import('vue/dist/vue.js').nextTick;
|
|
1034
1033
|
$watch(source: string | Function, cb: Function, options?: import('vue').WatchOptions<boolean> | undefined): import('vue').WatchStopHandle;
|
|
1035
1034
|
} & Readonly<import('vue').ExtractPropTypes<{
|
|
1036
1035
|
readonly role: import('element-plus/es/utils/index').EpPropFinalized<StringConstructor, "dialog" | "menu" | "grid" | "listbox" | "tooltip" | "tree" | "group" | "navigation", unknown, "tooltip", boolean>;
|
|
@@ -1462,7 +1461,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1462
1461
|
errorCaptured?: (((err: unknown, instance: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void)[]) | undefined;
|
|
1463
1462
|
};
|
|
1464
1463
|
$forceUpdate: () => void;
|
|
1465
|
-
$nextTick: typeof import('vue').nextTick;
|
|
1464
|
+
$nextTick: typeof import('vue/dist/vue.js').nextTick;
|
|
1466
1465
|
$watch(source: string | Function, cb: Function, options?: import('vue').WatchOptions<boolean> | undefined): import('vue').WatchStopHandle;
|
|
1467
1466
|
} & Readonly<import('vue').ExtractPropTypes<{
|
|
1468
1467
|
readonly role: import('element-plus/es/utils/index').EpPropFinalized<StringConstructor, "dialog" | "menu" | "grid" | "listbox" | "tooltip" | "tree" | "group" | "navigation", unknown, "tooltip", boolean>;
|
|
@@ -1889,7 +1888,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1889
1888
|
errorCaptured?: (((err: unknown, instance: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void)[]) | undefined;
|
|
1890
1889
|
};
|
|
1891
1890
|
$forceUpdate: () => void;
|
|
1892
|
-
$nextTick: typeof import('vue').nextTick;
|
|
1891
|
+
$nextTick: typeof import('vue/dist/vue.js').nextTick;
|
|
1893
1892
|
$watch(source: string | Function, cb: Function, options?: import('vue').WatchOptions<boolean> | undefined): import('vue').WatchStopHandle;
|
|
1894
1893
|
} & Readonly<import('vue').ExtractPropTypes<{
|
|
1895
1894
|
readonly role: import('element-plus/es/utils/index').EpPropFinalized<StringConstructor, "dialog" | "menu" | "grid" | "listbox" | "tooltip" | "tree" | "group" | "navigation", unknown, "tooltip", boolean>;
|
|
@@ -2018,11 +2017,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
2018
2017
|
namespace: import('vue').ComputedRef<string>;
|
|
2019
2018
|
b: (blockSuffix?: string) => string;
|
|
2020
2019
|
e: (element?: string | undefined) => string;
|
|
2021
|
-
m: (modifier
|
|
2022
|
-
be: (blockSuffix?: string | undefined, element
|
|
2023
|
-
em: (element
|
|
2024
|
-
bm: (blockSuffix
|
|
2025
|
-
bem: (blockSuffix
|
|
2020
|
+
m: (modifier?: string | undefined) => string;
|
|
2021
|
+
be: (blockSuffix?: string | undefined, element? /** 菜单省略位置 */: string | undefined) => string;
|
|
2022
|
+
em: (element?: string | undefined, modifier?: string | undefined) => string;
|
|
2023
|
+
bm: (blockSuffix? /** 省略的菜单数据 */: string | undefined, modifier?: string | undefined) => string;
|
|
2024
|
+
bem: (blockSuffix? /** 文本溢出提示单例目标 */: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;
|
|
2026
2025
|
is: {
|
|
2027
2026
|
(name: string, state: boolean | undefined): string;
|
|
2028
2027
|
(name: string): string;
|
|
@@ -2034,13 +2033,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
2034
2033
|
};
|
|
2035
2034
|
nsMenuItem: {
|
|
2036
2035
|
namespace: import('vue').ComputedRef<string>;
|
|
2037
|
-
b: (blockSuffix
|
|
2036
|
+
b: (blockSuffix? /** 菜单组件属性 */: string) => string;
|
|
2038
2037
|
e: (element?: string | undefined) => string;
|
|
2039
2038
|
m: (modifier?: string | undefined) => string;
|
|
2040
2039
|
be: (blockSuffix?: string | undefined, element?: string | undefined) => string;
|
|
2041
2040
|
em: (element?: string | undefined, modifier?: string | undefined) => string;
|
|
2042
2041
|
bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;
|
|
2043
|
-
bem: (blockSuffix?: string | undefined, element
|
|
2042
|
+
bem: (blockSuffix?: string | undefined, element? /** 关闭文本溢出提示 */: string | undefined, modifier?: string | undefined) => string;
|
|
2044
2043
|
is: {
|
|
2045
2044
|
(name: string, state: boolean | undefined): string;
|
|
2046
2045
|
(name: string): string;
|
|
@@ -2066,9 +2065,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
2066
2065
|
onClick?: ((item: import('element-plus').MenuItemRegistered) => any) | undefined;
|
|
2067
2066
|
}, {
|
|
2068
2067
|
readonly disabled: boolean;
|
|
2069
|
-
readonly index: import('element-plus/es/utils/index').EpPropMergeType<(new (...args: any[]) => string & {}) | (() => string | null) | ((new (
|
|
2070
|
-
/** 子菜单项点击事件 */
|
|
2071
|
-
... /** 子菜单项点击事件 */args: any[]) => string & {}) | (() => string | null))[], unknown, unknown>;
|
|
2068
|
+
readonly index: import('element-plus/es/utils/index').EpPropMergeType<(new (...args: any[]) => string & {}) | (() => string | null) | ((new (...args: any[]) => string & {}) | (() => string | null))[], unknown, unknown>;
|
|
2072
2069
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>>;
|
|
2073
2070
|
ElSubMenu: import('element-plus/es/utils/index').SFCWithInstall<import('vue').DefineComponent<{
|
|
2074
2071
|
readonly index: {
|
|
@@ -2084,7 +2081,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
2084
2081
|
readonly teleported: import('element-plus/es/utils/index').EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
2085
2082
|
readonly popperOffset: NumberConstructor;
|
|
2086
2083
|
readonly expandCloseIcon: {
|
|
2087
|
-
readonly type: import('vue').PropType<import('element-plus/es/utils/index').EpPropMergeType<(new (...
|
|
2084
|
+
readonly type: import('vue').PropType<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>>;
|
|
2088
2085
|
readonly required: false;
|
|
2089
2086
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2090
2087
|
__epPropKey: true;
|
|
@@ -2214,7 +2211,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
2214
2211
|
ElIcon: import('element-plus/es/utils/index').SFCWithInstall<{
|
|
2215
2212
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
2216
2213
|
readonly size: {
|
|
2217
|
-
readonly type: import('vue').PropType<import('element-plus/es/utils/index').EpPropMergeType<(new (...args: any[]) => (string | number) & {}) | (() => string | number) | ((new (...
|
|
2214
|
+
readonly type: import('vue').PropType<import('element-plus/es/utils/index').EpPropMergeType<(new (...args: any[]) => (string | number) & {}) | (() => string | number) | ((new (...args: any[]) => (string | number) & {}) | (() => string | number))[], unknown, unknown>>;
|
|
2218
2215
|
readonly required: false;
|
|
2219
2216
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2220
2217
|
__epPropKey: true;
|
|
@@ -2234,7 +2231,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
2234
2231
|
Defaults: {};
|
|
2235
2232
|
}, Readonly<import('vue').ExtractPropTypes<{
|
|
2236
2233
|
readonly size: {
|
|
2237
|
-
readonly type: import('vue').PropType<import('element-plus/es/utils/index').EpPropMergeType<(new (...args: any[]) => (string | number) & {}) | (() => string | number) | ((new (...
|
|
2234
|
+
readonly type: import('vue').PropType<import('element-plus/es/utils/index').EpPropMergeType<(new (...args: any[]) => (string | number) & {}) | (() => string | number) | ((new (...args: any[]) => (string | number) & {}) | (() => string | number))[], unknown, unknown>>;
|
|
2238
2235
|
readonly required: false;
|
|
2239
2236
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2240
2237
|
__epPropKey: true;
|
|
@@ -2251,7 +2248,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
2251
2248
|
__isSuspense?: never;
|
|
2252
2249
|
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
2253
2250
|
readonly size: {
|
|
2254
|
-
readonly type: import('vue').PropType<import('element-plus/es/utils/index').EpPropMergeType<(new (...args: any[]) => (string | number) & {}) | (() => string | number) | ((new (...
|
|
2251
|
+
readonly type: import('vue').PropType<import('element-plus/es/utils/index').EpPropMergeType<(new (...args: any[]) => (string | number) & {}) | (() => string | number) | ((new (...args: any[]) => (string | number) & {}) | (() => string | number))[], unknown, unknown>>;
|
|
2255
2252
|
readonly required: false;
|
|
2256
2253
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2257
2254
|
__epPropKey: true;
|