lew-ui 2.5.12 → 2.5.14
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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ExtractPropTypes } from 'vue';
|
|
2
|
-
import { LewColor } from '../../..';
|
|
2
|
+
import { LewColor, TagType } from '../../..';
|
|
3
3
|
|
|
4
4
|
export type MenuOptions = {
|
|
5
5
|
label: string;
|
|
@@ -10,6 +10,7 @@ export type MenuOptions = {
|
|
|
10
10
|
renderIcon?: string;
|
|
11
11
|
tagText?: string;
|
|
12
12
|
tagColor?: LewColor;
|
|
13
|
+
tagType?: TagType;
|
|
13
14
|
};
|
|
14
15
|
export declare const menuModel: {
|
|
15
16
|
modelValue: {
|
|
@@ -4,14 +4,23 @@ declare function __VLS_template(): {
|
|
|
4
4
|
readonly label: string;
|
|
5
5
|
readonly disabled: boolean;
|
|
6
6
|
readonly renderIcon: Function;
|
|
7
|
+
readonly tagText: string;
|
|
8
|
+
readonly tagType: string;
|
|
9
|
+
readonly tagColor: string;
|
|
7
10
|
readonly level: number;
|
|
8
11
|
readonly isLeaf: boolean;
|
|
12
|
+
readonly renderLabel: Function;
|
|
9
13
|
readonly menuKey?: string | number | undefined;
|
|
10
14
|
};
|
|
11
15
|
}): any;
|
|
12
16
|
default?(_: {}): any;
|
|
13
17
|
};
|
|
14
18
|
declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
|
|
19
|
+
renderLabel: {
|
|
20
|
+
type: FunctionConstructor;
|
|
21
|
+
default: () => void;
|
|
22
|
+
description: string;
|
|
23
|
+
};
|
|
15
24
|
menuKey: {
|
|
16
25
|
type: (StringConstructor | NumberConstructor)[];
|
|
17
26
|
required: boolean;
|
|
@@ -23,6 +32,21 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
23
32
|
default: () => void;
|
|
24
33
|
description: string;
|
|
25
34
|
};
|
|
35
|
+
tagText: {
|
|
36
|
+
type: StringConstructor;
|
|
37
|
+
default: string;
|
|
38
|
+
description: string;
|
|
39
|
+
};
|
|
40
|
+
tagType: {
|
|
41
|
+
type: StringConstructor;
|
|
42
|
+
default: string;
|
|
43
|
+
description: string;
|
|
44
|
+
};
|
|
45
|
+
tagColor: {
|
|
46
|
+
type: StringConstructor;
|
|
47
|
+
default: string;
|
|
48
|
+
description: string;
|
|
49
|
+
};
|
|
26
50
|
disabled: {
|
|
27
51
|
type: BooleanConstructor;
|
|
28
52
|
default: boolean;
|
|
@@ -46,6 +70,11 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
46
70
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
47
71
|
change: (...args: any[]) => void;
|
|
48
72
|
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
73
|
+
renderLabel: {
|
|
74
|
+
type: FunctionConstructor;
|
|
75
|
+
default: () => void;
|
|
76
|
+
description: string;
|
|
77
|
+
};
|
|
49
78
|
menuKey: {
|
|
50
79
|
type: (StringConstructor | NumberConstructor)[];
|
|
51
80
|
required: boolean;
|
|
@@ -57,6 +86,21 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
57
86
|
default: () => void;
|
|
58
87
|
description: string;
|
|
59
88
|
};
|
|
89
|
+
tagText: {
|
|
90
|
+
type: StringConstructor;
|
|
91
|
+
default: string;
|
|
92
|
+
description: string;
|
|
93
|
+
};
|
|
94
|
+
tagType: {
|
|
95
|
+
type: StringConstructor;
|
|
96
|
+
default: string;
|
|
97
|
+
description: string;
|
|
98
|
+
};
|
|
99
|
+
tagColor: {
|
|
100
|
+
type: StringConstructor;
|
|
101
|
+
default: string;
|
|
102
|
+
description: string;
|
|
103
|
+
};
|
|
60
104
|
disabled: {
|
|
61
105
|
type: BooleanConstructor;
|
|
62
106
|
default: boolean;
|
|
@@ -83,8 +127,12 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
83
127
|
label: string;
|
|
84
128
|
disabled: boolean;
|
|
85
129
|
renderIcon: Function;
|
|
130
|
+
tagText: string;
|
|
131
|
+
tagType: string;
|
|
132
|
+
tagColor: string;
|
|
86
133
|
level: number;
|
|
87
134
|
isLeaf: boolean;
|
|
135
|
+
renderLabel: Function;
|
|
88
136
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
89
137
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
90
138
|
export default _default;
|
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
import { ExtractPropTypes } from 'vue';
|
|
2
|
+
import { TagType, LewColor } from '../../..';
|
|
2
3
|
|
|
3
4
|
export type MenuTreeItem = {
|
|
4
5
|
label: string;
|
|
5
6
|
value: string | number;
|
|
6
7
|
active?: boolean;
|
|
7
8
|
disabled?: boolean;
|
|
8
|
-
renderIcon: () => any;
|
|
9
9
|
children?: MenuTreeItem[];
|
|
10
|
+
tagText?: string;
|
|
11
|
+
tagType?: TagType;
|
|
12
|
+
tagColor?: LewColor;
|
|
13
|
+
renderIcon?: () => any;
|
|
14
|
+
renderLabel?: () => any;
|
|
10
15
|
};
|
|
11
16
|
export declare const menuTreeModel: {
|
|
12
17
|
modelValue: {
|
|
@@ -58,6 +63,21 @@ export declare const menuTreeItemProps: {
|
|
|
58
63
|
default: () => void;
|
|
59
64
|
description: string;
|
|
60
65
|
};
|
|
66
|
+
tagText: {
|
|
67
|
+
type: StringConstructor;
|
|
68
|
+
default: string;
|
|
69
|
+
description: string;
|
|
70
|
+
};
|
|
71
|
+
tagType: {
|
|
72
|
+
type: StringConstructor;
|
|
73
|
+
default: string;
|
|
74
|
+
description: string;
|
|
75
|
+
};
|
|
76
|
+
tagColor: {
|
|
77
|
+
type: StringConstructor;
|
|
78
|
+
default: string;
|
|
79
|
+
description: string;
|
|
80
|
+
};
|
|
61
81
|
disabled: {
|
|
62
82
|
type: BooleanConstructor;
|
|
63
83
|
default: boolean;
|