@me-framework/me-ui-antdv-next 0.0.19 → 0.0.20
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/card/index.vue.d.ts +3 -3
- package/dist/components/menu/index.vue.d.ts +11 -8
- package/dist/components/menu/types.d.ts +6 -6
- package/dist/me-ui-antdv-next.css +1 -1
- package/dist/me-ui-antdv-next.js +420 -502
- package/dist/me-ui-antdv-next.umd.cjs +2 -2
- package/package.json +1 -1
|
@@ -65,8 +65,8 @@ declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPro
|
|
|
65
65
|
default: boolean;
|
|
66
66
|
};
|
|
67
67
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
68
|
-
"update:collapsed": (collapsed: boolean) => any;
|
|
69
68
|
"fullscreen-change": (fullscreen: boolean) => any;
|
|
69
|
+
"update:collapsed": (collapsed: boolean) => any;
|
|
70
70
|
"collapse-change": (collapsed: boolean) => any;
|
|
71
71
|
"update:fullscreen": (fullscreen: boolean) => any;
|
|
72
72
|
"update:loading": (loading: boolean) => any;
|
|
@@ -123,8 +123,8 @@ declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPro
|
|
|
123
123
|
default: boolean;
|
|
124
124
|
};
|
|
125
125
|
}>> & Readonly<{
|
|
126
|
-
"onUpdate:collapsed"?: ((collapsed: boolean) => any) | undefined;
|
|
127
126
|
"onFullscreen-change"?: ((fullscreen: boolean) => any) | undefined;
|
|
127
|
+
"onUpdate:collapsed"?: ((collapsed: boolean) => any) | undefined;
|
|
128
128
|
"onCollapse-change"?: ((collapsed: boolean) => any) | undefined;
|
|
129
129
|
"onUpdate:fullscreen"?: ((fullscreen: boolean) => any) | undefined;
|
|
130
130
|
"onUpdate:loading"?: ((loading: boolean) => any) | undefined;
|
|
@@ -133,11 +133,11 @@ declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPro
|
|
|
133
133
|
loading: boolean | undefined;
|
|
134
134
|
title: string;
|
|
135
135
|
height: string | number;
|
|
136
|
-
collapsed: boolean | undefined;
|
|
137
136
|
fullscreen: boolean | undefined;
|
|
138
137
|
defaultFullscreen: boolean;
|
|
139
138
|
collapsible: boolean;
|
|
140
139
|
defaultCollapsed: boolean;
|
|
140
|
+
collapsed: boolean | undefined;
|
|
141
141
|
fullscreenable: boolean;
|
|
142
142
|
defaultLoading: boolean;
|
|
143
143
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
@@ -1,28 +1,32 @@
|
|
|
1
1
|
import { MeMenuItem, MeMenuProps } from './types';
|
|
2
|
-
declare var __VLS_1: {},
|
|
2
|
+
declare var __VLS_1: {}, __VLS_13: {}, __VLS_63: {
|
|
3
|
+
collapsed: boolean;
|
|
4
|
+
};
|
|
3
5
|
type __VLS_Slots = {} & {
|
|
4
6
|
logo?: (props: typeof __VLS_1) => any;
|
|
5
7
|
} & {
|
|
6
|
-
footer?: (props: typeof
|
|
8
|
+
footer?: (props: typeof __VLS_13) => any;
|
|
9
|
+
} & {
|
|
10
|
+
'right-toggle'?: (props: typeof __VLS_63) => any;
|
|
7
11
|
};
|
|
8
12
|
declare const __VLS_base: import('vue').DefineComponent<MeMenuProps, {
|
|
9
13
|
setBadge: (key: string, badge: string | number | boolean, color?: string) => void;
|
|
10
14
|
removeBadge: (key: string) => void;
|
|
11
15
|
selectedItem: import('vue').ComputedRef<MeMenuItem | null>;
|
|
12
|
-
|
|
13
|
-
|
|
16
|
+
toggleRightCollapse: () => void;
|
|
17
|
+
rightCollapsed: import('vue').ComputedRef<boolean>;
|
|
14
18
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
15
19
|
select: (item: MeMenuItem) => any;
|
|
16
20
|
change: (item: MeMenuItem) => any;
|
|
17
21
|
"update:activeId": (value: string) => any;
|
|
18
22
|
"update:selectedId": (value: string) => any;
|
|
19
|
-
"update:
|
|
23
|
+
"update:rightCollapsed": (value: boolean) => any;
|
|
20
24
|
}, string, import('vue').PublicProps, Readonly<MeMenuProps> & Readonly<{
|
|
21
25
|
onSelect?: ((item: MeMenuItem) => any) | undefined;
|
|
22
26
|
onChange?: ((item: MeMenuItem) => any) | undefined;
|
|
23
27
|
"onUpdate:activeId"?: ((value: string) => any) | undefined;
|
|
24
28
|
"onUpdate:selectedId"?: ((value: string) => any) | undefined;
|
|
25
|
-
"onUpdate:
|
|
29
|
+
"onUpdate:rightCollapsed"?: ((value: boolean) => any) | undefined;
|
|
26
30
|
}>, {
|
|
27
31
|
data: MeMenuItem[];
|
|
28
32
|
router: boolean;
|
|
@@ -37,8 +41,7 @@ declare const __VLS_base: import('vue').DefineComponent<MeMenuProps, {
|
|
|
37
41
|
hideDisabled: boolean;
|
|
38
42
|
showHidden: boolean;
|
|
39
43
|
keyField: string;
|
|
40
|
-
|
|
41
|
-
collapsedWidth: string | number;
|
|
44
|
+
showRightToggle: boolean;
|
|
42
45
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
43
46
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
44
47
|
declare const _default: typeof __VLS_export;
|
|
@@ -229,13 +229,13 @@ export interface MeMenuProps {
|
|
|
229
229
|
*/
|
|
230
230
|
keyField?: string;
|
|
231
231
|
/**
|
|
232
|
-
*
|
|
232
|
+
* 是否折叠右侧子菜单(仅显示左侧一级菜单),点击已激活的一级菜单项可切换,支持 v-model
|
|
233
233
|
*/
|
|
234
|
-
|
|
234
|
+
rightCollapsed?: boolean;
|
|
235
235
|
/**
|
|
236
|
-
*
|
|
236
|
+
* 是否显示右侧面板折叠悬浮按钮,默认 true
|
|
237
237
|
*/
|
|
238
|
-
|
|
238
|
+
showRightToggle?: boolean;
|
|
239
239
|
}
|
|
240
240
|
/**
|
|
241
241
|
* MeMenu 组件 Emits
|
|
@@ -260,9 +260,9 @@ export interface MeMenuEmits {
|
|
|
260
260
|
*/
|
|
261
261
|
(e: 'change', item: MeMenuItem): void;
|
|
262
262
|
/**
|
|
263
|
-
*
|
|
263
|
+
* 右侧子菜单折叠状态变化时触发
|
|
264
264
|
*/
|
|
265
|
-
(e: 'update:
|
|
265
|
+
(e: 'update:rightCollapsed', value: boolean): void;
|
|
266
266
|
}
|
|
267
267
|
/**
|
|
268
268
|
* MeMenu 组件实例类型
|