@a2simcode/ui 0.0.316 → 0.0.318
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/dist/components/menu/index.d.ts +15 -0
- package/dist/components/menu/src/hmenu/index.vue.d.ts +15 -0
- package/dist/components/menu/src/imenu/index.vue.d.ts +15 -0
- package/dist/components/menu/src/menu-item/index.vue.d.ts +15 -0
- package/dist/components/menu/src/menu.vue.d.ts +15 -0
- package/dist/components/menu/src/vmenu/index.vue.d.ts +15 -0
- package/dist/simcode-ui.es.js +2286 -2243
- package/dist/simcode-ui.umd.js +2 -2
- package/dist/stats.html +1 -1
- package/docs/components/meta/menu.ts +6 -0
- package/package.json +1 -1
|
@@ -17,6 +17,10 @@ declare const JMenu: {
|
|
|
17
17
|
type: import('vue').PropType<"vertical" | "horizontal" | "inline">;
|
|
18
18
|
default: string;
|
|
19
19
|
};
|
|
20
|
+
showChildIcon: {
|
|
21
|
+
type: BooleanConstructor;
|
|
22
|
+
default: boolean;
|
|
23
|
+
};
|
|
20
24
|
}>> & Readonly<{
|
|
21
25
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
22
26
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
@@ -25,6 +29,7 @@ declare const JMenu: {
|
|
|
25
29
|
mode: "inline" | "vertical" | "horizontal";
|
|
26
30
|
theme: "dark" | "light";
|
|
27
31
|
collapsed: boolean;
|
|
32
|
+
showChildIcon: boolean;
|
|
28
33
|
menus: Record<string, any>[];
|
|
29
34
|
activeId: string;
|
|
30
35
|
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
@@ -52,12 +57,17 @@ declare const JMenu: {
|
|
|
52
57
|
type: import('vue').PropType<"vertical" | "horizontal" | "inline">;
|
|
53
58
|
default: string;
|
|
54
59
|
};
|
|
60
|
+
showChildIcon: {
|
|
61
|
+
type: BooleanConstructor;
|
|
62
|
+
default: boolean;
|
|
63
|
+
};
|
|
55
64
|
}>> & Readonly<{
|
|
56
65
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
57
66
|
}>, {}, {}, {}, {}, {
|
|
58
67
|
mode: "inline" | "vertical" | "horizontal";
|
|
59
68
|
theme: "dark" | "light";
|
|
60
69
|
collapsed: boolean;
|
|
70
|
+
showChildIcon: boolean;
|
|
61
71
|
menus: Record<string, any>[];
|
|
62
72
|
activeId: string;
|
|
63
73
|
}>;
|
|
@@ -82,6 +92,10 @@ declare const JMenu: {
|
|
|
82
92
|
type: import('vue').PropType<"vertical" | "horizontal" | "inline">;
|
|
83
93
|
default: string;
|
|
84
94
|
};
|
|
95
|
+
showChildIcon: {
|
|
96
|
+
type: BooleanConstructor;
|
|
97
|
+
default: boolean;
|
|
98
|
+
};
|
|
85
99
|
}>> & Readonly<{
|
|
86
100
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
87
101
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
@@ -90,6 +104,7 @@ declare const JMenu: {
|
|
|
90
104
|
mode: "inline" | "vertical" | "horizontal";
|
|
91
105
|
theme: "dark" | "light";
|
|
92
106
|
collapsed: boolean;
|
|
107
|
+
showChildIcon: boolean;
|
|
93
108
|
menus: Record<string, any>[];
|
|
94
109
|
activeId: string;
|
|
95
110
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & {
|
|
@@ -4,6 +4,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
4
4
|
type: PropType<Record<string, any>[]>;
|
|
5
5
|
default: () => never[];
|
|
6
6
|
};
|
|
7
|
+
/**
|
|
8
|
+
* @zh 是否显示次级菜单图标。
|
|
9
|
+
*/
|
|
10
|
+
showChildIcon: {
|
|
11
|
+
type: BooleanConstructor;
|
|
12
|
+
default: boolean;
|
|
13
|
+
};
|
|
7
14
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
8
15
|
click: (...args: any[]) => void;
|
|
9
16
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
@@ -11,9 +18,17 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
11
18
|
type: PropType<Record<string, any>[]>;
|
|
12
19
|
default: () => never[];
|
|
13
20
|
};
|
|
21
|
+
/**
|
|
22
|
+
* @zh 是否显示次级菜单图标。
|
|
23
|
+
*/
|
|
24
|
+
showChildIcon: {
|
|
25
|
+
type: BooleanConstructor;
|
|
26
|
+
default: boolean;
|
|
27
|
+
};
|
|
14
28
|
}>> & Readonly<{
|
|
15
29
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
16
30
|
}>, {
|
|
31
|
+
showChildIcon: boolean;
|
|
17
32
|
menuList: Record<string, any>[];
|
|
18
33
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
19
34
|
menuRef: HTMLDivElement;
|
|
@@ -11,6 +11,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
11
11
|
* @zh 是否折叠。
|
|
12
12
|
*/
|
|
13
13
|
collapsed: BooleanConstructor;
|
|
14
|
+
/**
|
|
15
|
+
* @zh 是否显示次级菜单图标。
|
|
16
|
+
*/
|
|
17
|
+
showChildIcon: {
|
|
18
|
+
type: BooleanConstructor;
|
|
19
|
+
default: boolean;
|
|
20
|
+
};
|
|
14
21
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
15
22
|
click: (...args: any[]) => void;
|
|
16
23
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
@@ -25,10 +32,18 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
25
32
|
* @zh 是否折叠。
|
|
26
33
|
*/
|
|
27
34
|
collapsed: BooleanConstructor;
|
|
35
|
+
/**
|
|
36
|
+
* @zh 是否显示次级菜单图标。
|
|
37
|
+
*/
|
|
38
|
+
showChildIcon: {
|
|
39
|
+
type: BooleanConstructor;
|
|
40
|
+
default: boolean;
|
|
41
|
+
};
|
|
28
42
|
}>> & Readonly<{
|
|
29
43
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
30
44
|
}>, {
|
|
31
45
|
collapsed: boolean;
|
|
46
|
+
showChildIcon: boolean;
|
|
32
47
|
menuList: Record<string, any>[];
|
|
33
48
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
34
49
|
export default _default;
|
|
@@ -39,6 +39,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
39
39
|
* @zh 是否竖直弹窗菜单。
|
|
40
40
|
*/
|
|
41
41
|
isVertical: BooleanConstructor;
|
|
42
|
+
/**
|
|
43
|
+
* @zh 是否显示次级菜单图标。关闭后子项(indent > 0)的 icon 隐藏,父项不受影响。
|
|
44
|
+
*/
|
|
45
|
+
showChildIcon: {
|
|
46
|
+
type: BooleanConstructor;
|
|
47
|
+
default: boolean;
|
|
48
|
+
};
|
|
42
49
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
43
50
|
click: (...args: any[]) => void;
|
|
44
51
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
@@ -81,6 +88,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
81
88
|
* @zh 是否竖直弹窗菜单。
|
|
82
89
|
*/
|
|
83
90
|
isVertical: BooleanConstructor;
|
|
91
|
+
/**
|
|
92
|
+
* @zh 是否显示次级菜单图标。关闭后子项(indent > 0)的 icon 隐藏,父项不受影响。
|
|
93
|
+
*/
|
|
94
|
+
showChildIcon: {
|
|
95
|
+
type: BooleanConstructor;
|
|
96
|
+
default: boolean;
|
|
97
|
+
};
|
|
84
98
|
}>> & Readonly<{
|
|
85
99
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
86
100
|
}>, {
|
|
@@ -99,5 +113,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
99
113
|
isHorizontal: boolean;
|
|
100
114
|
isVertical: boolean;
|
|
101
115
|
parentActives: string[];
|
|
116
|
+
showChildIcon: boolean;
|
|
102
117
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
103
118
|
export default _default;
|
|
@@ -29,6 +29,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
29
29
|
type: PropType<"vertical" | "horizontal" | "inline">;
|
|
30
30
|
default: string;
|
|
31
31
|
};
|
|
32
|
+
/**
|
|
33
|
+
* @zh 是否显示次级菜单图标。
|
|
34
|
+
*/
|
|
35
|
+
showChildIcon: {
|
|
36
|
+
type: BooleanConstructor;
|
|
37
|
+
default: boolean;
|
|
38
|
+
};
|
|
32
39
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
33
40
|
click: (...args: any[]) => void;
|
|
34
41
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
@@ -61,12 +68,20 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
61
68
|
type: PropType<"vertical" | "horizontal" | "inline">;
|
|
62
69
|
default: string;
|
|
63
70
|
};
|
|
71
|
+
/**
|
|
72
|
+
* @zh 是否显示次级菜单图标。
|
|
73
|
+
*/
|
|
74
|
+
showChildIcon: {
|
|
75
|
+
type: BooleanConstructor;
|
|
76
|
+
default: boolean;
|
|
77
|
+
};
|
|
64
78
|
}>> & Readonly<{
|
|
65
79
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
66
80
|
}>, {
|
|
67
81
|
mode: "inline" | "vertical" | "horizontal";
|
|
68
82
|
theme: "dark" | "light";
|
|
69
83
|
collapsed: boolean;
|
|
84
|
+
showChildIcon: boolean;
|
|
70
85
|
menus: Record<string, any>[];
|
|
71
86
|
activeId: string;
|
|
72
87
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
@@ -4,6 +4,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
4
4
|
type: PropType<Record<string, any>[]>;
|
|
5
5
|
default: () => never[];
|
|
6
6
|
};
|
|
7
|
+
/**
|
|
8
|
+
* @zh 是否显示次级菜单图标。
|
|
9
|
+
*/
|
|
10
|
+
showChildIcon: {
|
|
11
|
+
type: BooleanConstructor;
|
|
12
|
+
default: boolean;
|
|
13
|
+
};
|
|
7
14
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
8
15
|
click: (...args: any[]) => void;
|
|
9
16
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
@@ -11,9 +18,17 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
11
18
|
type: PropType<Record<string, any>[]>;
|
|
12
19
|
default: () => never[];
|
|
13
20
|
};
|
|
21
|
+
/**
|
|
22
|
+
* @zh 是否显示次级菜单图标。
|
|
23
|
+
*/
|
|
24
|
+
showChildIcon: {
|
|
25
|
+
type: BooleanConstructor;
|
|
26
|
+
default: boolean;
|
|
27
|
+
};
|
|
14
28
|
}>> & Readonly<{
|
|
15
29
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
16
30
|
}>, {
|
|
31
|
+
showChildIcon: boolean;
|
|
17
32
|
menuList: Record<string, any>[];
|
|
18
33
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
19
34
|
export default _default;
|