@aplus-frontend/ui 0.0.1-beta.1 → 0.0.1-beta.2
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/src/base-button/button.vue.d.ts +5 -5
- package/es/src/base-button/index.d.ts +45 -40
- package/es/src/base-button/modal-button.vue.d.ts +8 -6
- package/es/src/base-button/pop-confirm-button.vue.d.ts +4 -3
- package/es/src/basic/arrow.vue.d.ts +4 -3
- package/es/src/basic/help.vue.d.ts +5 -5
- package/es/src/basic/index.d.ts +196 -70
- package/es/src/basic/title.vue.d.ts +5 -4
- package/es/src/button/index.d.ts +20 -15
- package/es/src/config-provider/config-provider-props.d.ts +21 -15
- package/es/src/config-provider/config-provider.d.ts +78 -67
- package/es/src/config-provider/hooks/use-global-config.d.ts +41 -32
- package/es/src/config-provider/hooks/use-namespace.d.ts +3 -3
- package/es/src/config-provider/index.d.ts +504 -155
- package/es/src/constants/component-setting.d.ts +2 -2
- package/es/src/container/collapse/header.vue.d.ts +3 -3
- package/es/src/container/collapse/index.vue.d.ts +3 -3
- package/es/src/container/index.d.ts +118 -37
- package/es/src/container/scroll-container.vue.d.ts +5 -4
- package/es/src/count-down/button.vue.d.ts +5 -4
- package/es/src/count-down/index.d.ts +88 -41
- package/es/src/count-down/input.vue.d.ts +5 -4
- package/es/src/cropper/cropper-avatar.vue.d.ts +6 -5
- package/es/src/cropper/cropper-image.vue.d.ts +6 -6
- package/es/src/cropper/cropper-modal.vue.d.ts +4 -4
- package/es/src/cropper/index.d.ts +307 -92
- package/es/src/description/description.vue.d.ts +3 -3
- package/es/src/description/index.d.ts +167 -46
- package/es/src/dropdown/dropdown.vue.d.ts +6 -5
- package/es/src/dropdown/index.d.ts +35 -28
- package/es/src/hooks/useMessage.d.ts +9 -7
- package/es/src/icon/icon.vue.d.ts +5 -4
- package/es/src/icon/index.d.ts +175 -52
- package/es/src/icon/svg-icon.vue.d.ts +5 -4
- package/es/src/icon-picker/icon-picker.vue.d.ts +6 -5
- package/es/src/icon-picker/index.d.ts +155 -46
- package/es/src/modal/basic.vue.d.ts +68 -62
- package/es/src/modal/components/modal-close.vue.d.ts +6 -5
- package/es/src/modal/components/modal-footer.vue.d.ts +67 -62
- package/es/src/modal/components/modal-header.vue.d.ts +4 -3
- package/es/src/modal/components/modal-wrapper.vue.d.ts +4 -3
- package/es/src/modal/components/modal.d.ts +67 -61
- package/es/src/modal/hooks/use-moda-full-screen.d.ts +2 -2
- package/es/src/modal/index.d.ts +138 -128
- package/es/src/modal/props.d.ts +19 -16
- package/es/src/pro-form/component-map.d.ts +2 -2
- package/es/src/pro-form/components/api-cascader.vue.d.ts +6 -5
- package/es/src/pro-form/components/api-radio-group.vue.d.ts +6 -5
- package/es/src/pro-form/components/api-select.vue.d.ts +6 -5
- package/es/src/pro-form/components/api-transfer.vue.d.ts +6 -5
- package/es/src/pro-form/components/api-tree-select.vue.d.ts +6 -5
- package/es/src/pro-form/components/api-tree.vue.d.ts +6 -5
- package/es/src/pro-form/components/form-action.vue.d.ts +6 -5
- package/es/src/pro-form/components/form-item.vue.d.ts +3 -3
- package/es/src/pro-form/components/radio-button-group.vue.d.ts +5 -4
- package/es/src/pro-form/hooks/use-advanced.d.ts +2 -2
- package/es/src/pro-form/hooks/use-break-point.d.ts +4 -3
- package/es/src/pro-form/hooks/use-label-width.d.ts +42 -41
- package/es/src/pro-form/pro-form.vue.d.ts +15 -12
- package/es/src/pro-table/component-map.d.ts +2 -2
- package/es/src/pro-table/components/edit-table-header-icon.vue.d.ts +3 -2
- package/es/src/pro-table/components/editable/cell-component.d.ts +2 -1
- package/es/src/pro-table/components/editable/editable-cell.vue.d.ts +19 -18
- package/es/src/pro-table/components/editable/index.d.ts +2 -2
- package/es/src/pro-table/components/header-cell.vue.d.ts +3 -3
- package/es/src/pro-table/components/settings/column-setting.vue.d.ts +3 -2
- package/es/src/pro-table/components/settings/full-screen-setting.vue.d.ts +2 -1
- package/es/src/pro-table/components/settings/index.vue.d.ts +4 -4
- package/es/src/pro-table/components/settings/redo-setting.vue.d.ts +2 -1
- package/es/src/pro-table/components/settings/size-setting.vue.d.ts +2 -1
- package/es/src/pro-table/components/table-action.vue.d.ts +3 -3
- package/es/src/pro-table/components/table-footer.vue.d.ts +7 -5
- package/es/src/pro-table/components/table-header.vue.d.ts +4 -4
- package/es/src/pro-table/components/table-image.vue.d.ts +5 -4
- package/es/src/pro-table/components/table-selection-bar.vue.d.ts +5 -4
- package/es/src/pro-table/components/table-title.vue.d.ts +3 -3
- package/es/src/pro-table/hooks/use-data-source.d.ts +2 -1
- package/es/src/pro-table/pro-table.vue.d.ts +42 -36
- package/es/src/prompt/dialog.vue.d.ts +4 -3
- package/es/src/prompt/index.d.ts +2 -2
- package/es/src/scroll-bar/bar-item.d.ts +4 -3
- package/es/src/scroll-bar/index.d.ts +52 -46
- package/es/src/scroll-bar/scroll-bar.vue.d.ts +8 -6
- package/es/src/strength-meter/index.d.ts +26 -21
- package/es/src/strength-meter/strength-meter.vue.d.ts +6 -5
- package/es/src/transition/collapse-transition.vue.d.ts +2 -1
- package/es/src/transition/create-transition.d.ts +5 -5
- package/es/src/transition/index.d.ts +97 -96
- package/es/src/utils/slot.d.ts +2 -2
- package/lib/src/base-button/button.vue.d.ts +5 -5
- package/lib/src/base-button/index.d.ts +45 -40
- package/lib/src/base-button/modal-button.vue.d.ts +8 -6
- package/lib/src/base-button/pop-confirm-button.vue.d.ts +4 -3
- package/lib/src/basic/arrow.vue.d.ts +4 -3
- package/lib/src/basic/help.vue.d.ts +5 -5
- package/lib/src/basic/index.d.ts +196 -70
- package/lib/src/basic/title.vue.d.ts +5 -4
- package/lib/src/button/index.d.ts +20 -15
- package/lib/src/config-provider/config-provider-props.d.ts +21 -15
- package/lib/src/config-provider/config-provider.d.ts +78 -67
- package/lib/src/config-provider/hooks/use-global-config.d.ts +41 -32
- package/lib/src/config-provider/hooks/use-namespace.d.ts +3 -3
- package/lib/src/config-provider/index.d.ts +504 -155
- package/lib/src/constants/component-setting.d.ts +2 -2
- package/lib/src/container/collapse/header.vue.d.ts +3 -3
- package/lib/src/container/collapse/index.vue.d.ts +3 -3
- package/lib/src/container/index.d.ts +118 -37
- package/lib/src/container/scroll-container.vue.d.ts +5 -4
- package/lib/src/count-down/button.vue.d.ts +5 -4
- package/lib/src/count-down/index.d.ts +88 -41
- package/lib/src/count-down/input.vue.d.ts +5 -4
- package/lib/src/cropper/cropper-avatar.vue.d.ts +6 -5
- package/lib/src/cropper/cropper-image.vue.d.ts +6 -6
- package/lib/src/cropper/cropper-modal.vue.d.ts +4 -4
- package/lib/src/cropper/index.d.ts +307 -92
- package/lib/src/description/description.vue.d.ts +3 -3
- package/lib/src/description/index.d.ts +167 -46
- package/lib/src/dropdown/dropdown.vue.d.ts +6 -5
- package/lib/src/dropdown/index.d.ts +35 -28
- package/lib/src/hooks/useMessage.d.ts +9 -7
- package/lib/src/icon/icon.vue.d.ts +5 -4
- package/lib/src/icon/index.d.ts +175 -52
- package/lib/src/icon/svg-icon.vue.d.ts +5 -4
- package/lib/src/icon-picker/icon-picker.vue.d.ts +6 -5
- package/lib/src/icon-picker/index.d.ts +155 -46
- package/lib/src/modal/basic.vue.d.ts +68 -62
- package/lib/src/modal/components/modal-close.vue.d.ts +6 -5
- package/lib/src/modal/components/modal-footer.vue.d.ts +67 -62
- package/lib/src/modal/components/modal-header.vue.d.ts +4 -3
- package/lib/src/modal/components/modal-wrapper.vue.d.ts +4 -3
- package/lib/src/modal/components/modal.d.ts +67 -61
- package/lib/src/modal/hooks/use-moda-full-screen.d.ts +2 -2
- package/lib/src/modal/index.d.ts +138 -128
- package/lib/src/modal/props.d.ts +19 -16
- package/lib/src/pro-form/component-map.d.ts +2 -2
- package/lib/src/pro-form/components/api-cascader.vue.d.ts +6 -5
- package/lib/src/pro-form/components/api-radio-group.vue.d.ts +6 -5
- package/lib/src/pro-form/components/api-select.vue.d.ts +6 -5
- package/lib/src/pro-form/components/api-transfer.vue.d.ts +6 -5
- package/lib/src/pro-form/components/api-tree-select.vue.d.ts +6 -5
- package/lib/src/pro-form/components/api-tree.vue.d.ts +6 -5
- package/lib/src/pro-form/components/form-action.vue.d.ts +6 -5
- package/lib/src/pro-form/components/form-item.vue.d.ts +3 -3
- package/lib/src/pro-form/components/radio-button-group.vue.d.ts +5 -4
- package/lib/src/pro-form/hooks/use-advanced.d.ts +2 -2
- package/lib/src/pro-form/hooks/use-break-point.d.ts +4 -3
- package/lib/src/pro-form/hooks/use-label-width.d.ts +42 -41
- package/lib/src/pro-form/pro-form.vue.d.ts +15 -12
- package/lib/src/pro-table/component-map.d.ts +2 -2
- package/lib/src/pro-table/components/edit-table-header-icon.vue.d.ts +3 -2
- package/lib/src/pro-table/components/editable/cell-component.d.ts +2 -1
- package/lib/src/pro-table/components/editable/editable-cell.vue.d.ts +19 -18
- package/lib/src/pro-table/components/editable/index.d.ts +2 -2
- package/lib/src/pro-table/components/header-cell.vue.d.ts +3 -3
- package/lib/src/pro-table/components/settings/column-setting.vue.d.ts +3 -2
- package/lib/src/pro-table/components/settings/full-screen-setting.vue.d.ts +2 -1
- package/lib/src/pro-table/components/settings/index.vue.d.ts +4 -4
- package/lib/src/pro-table/components/settings/redo-setting.vue.d.ts +2 -1
- package/lib/src/pro-table/components/settings/size-setting.vue.d.ts +2 -1
- package/lib/src/pro-table/components/table-action.vue.d.ts +3 -3
- package/lib/src/pro-table/components/table-footer.vue.d.ts +7 -5
- package/lib/src/pro-table/components/table-header.vue.d.ts +4 -4
- package/lib/src/pro-table/components/table-image.vue.d.ts +5 -4
- package/lib/src/pro-table/components/table-selection-bar.vue.d.ts +5 -4
- package/lib/src/pro-table/components/table-title.vue.d.ts +3 -3
- package/lib/src/pro-table/hooks/use-data-source.d.ts +2 -1
- package/lib/src/pro-table/pro-table.vue.d.ts +42 -36
- package/lib/src/prompt/dialog.vue.d.ts +4 -3
- package/lib/src/prompt/index.d.ts +2 -2
- package/lib/src/scroll-bar/bar-item.d.ts +4 -3
- package/lib/src/scroll-bar/index.d.ts +52 -46
- package/lib/src/scroll-bar/scroll-bar.vue.d.ts +8 -6
- package/lib/src/strength-meter/index.d.ts +26 -21
- package/lib/src/strength-meter/strength-meter.vue.d.ts +6 -5
- package/lib/src/transition/collapse-transition.vue.d.ts +2 -1
- package/lib/src/transition/create-transition.d.ts +5 -5
- package/lib/src/transition/index.d.ts +97 -96
- package/lib/src/utils/slot.d.ts +2 -2
- package/package.json +2 -2
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
import { DefineComponent, PropType, VNodeChild, VNode, RendererNode, RendererElement, CSSProperties, ExtractPropTypes, ComponentOptionsMixin, PublicProps } from 'vue';
|
|
2
|
+
import { ModalWrapperProps } from './interface';
|
|
3
|
+
import { ButtonType, ButtonShape, ButtonSize } from 'ant-design-vue/es/button';
|
|
4
|
+
import { ButtonHTMLType } from 'ant-design-vue/es/button/buttonTypes';
|
|
5
|
+
import { VueTypeValidableDef } from '../../node_modules/vue-types';
|
|
6
|
+
import { MouseEventHandler } from 'ant-design-vue/es/_util/EventInterface';
|
|
7
|
+
declare const _default: __VLS_WithTemplateSlots< DefineComponent<{
|
|
2
8
|
open: {
|
|
3
9
|
type: BooleanConstructor;
|
|
4
10
|
};
|
|
@@ -25,7 +31,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
25
31
|
okText: {
|
|
26
32
|
type: StringConstructor;
|
|
27
33
|
};
|
|
28
|
-
closeFunc:
|
|
34
|
+
closeFunc: PropType<() => Promise<boolean>>;
|
|
29
35
|
} & {
|
|
30
36
|
defaultFullscreen: {
|
|
31
37
|
type: BooleanConstructor;
|
|
@@ -38,7 +44,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
38
44
|
type: NumberConstructor;
|
|
39
45
|
default: number;
|
|
40
46
|
};
|
|
41
|
-
helpMessage:
|
|
47
|
+
helpMessage: PropType<string | string[]>;
|
|
42
48
|
useWrapper: {
|
|
43
49
|
type: BooleanConstructor;
|
|
44
50
|
default: boolean;
|
|
@@ -57,16 +63,16 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
57
63
|
type: BooleanConstructor;
|
|
58
64
|
default: boolean;
|
|
59
65
|
};
|
|
60
|
-
wrapperProps:
|
|
61
|
-
afterClose:
|
|
66
|
+
wrapperProps: PropType<Partial< ModalWrapperProps>>;
|
|
67
|
+
afterClose: PropType<() => Promise< VNodeChild | VNode<RendererNode, RendererElement, {
|
|
62
68
|
[key: string]: any;
|
|
63
69
|
}>>>;
|
|
64
|
-
bodyStyle:
|
|
70
|
+
bodyStyle: PropType<CSSProperties>;
|
|
65
71
|
closable: {
|
|
66
72
|
type: BooleanConstructor;
|
|
67
73
|
default: boolean;
|
|
68
74
|
};
|
|
69
|
-
closeIcon:
|
|
75
|
+
closeIcon: PropType< VNodeChild | VNode<RendererNode, RendererElement, {
|
|
70
76
|
[key: string]: any;
|
|
71
77
|
}>>;
|
|
72
78
|
confirmLoading: {
|
|
@@ -75,10 +81,10 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
75
81
|
destroyOnClose: {
|
|
76
82
|
type: BooleanConstructor;
|
|
77
83
|
};
|
|
78
|
-
footer:
|
|
84
|
+
footer: PropType< VNodeChild | VNode<RendererNode, RendererElement, {
|
|
79
85
|
[key: string]: any;
|
|
80
86
|
}>>;
|
|
81
|
-
getContainer:
|
|
87
|
+
getContainer: PropType<() => any>;
|
|
82
88
|
mask: {
|
|
83
89
|
type: BooleanConstructor;
|
|
84
90
|
default: boolean;
|
|
@@ -91,26 +97,26 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
91
97
|
type: BooleanConstructor;
|
|
92
98
|
default: boolean;
|
|
93
99
|
};
|
|
94
|
-
maskStyle:
|
|
100
|
+
maskStyle: PropType<CSSProperties>;
|
|
95
101
|
okType: {
|
|
96
|
-
type:
|
|
102
|
+
type: PropType<"danger" | ButtonType>;
|
|
97
103
|
default: string;
|
|
98
104
|
};
|
|
99
|
-
okButtonProps:
|
|
105
|
+
okButtonProps: PropType<Partial< ExtractPropTypes<{
|
|
100
106
|
prefixCls: StringConstructor;
|
|
101
|
-
type:
|
|
107
|
+
type: PropType<ButtonType>;
|
|
102
108
|
htmlType: {
|
|
103
|
-
type:
|
|
109
|
+
type: PropType<ButtonHTMLType>;
|
|
104
110
|
default: string;
|
|
105
111
|
};
|
|
106
112
|
shape: {
|
|
107
|
-
type:
|
|
113
|
+
type: PropType<ButtonShape>;
|
|
108
114
|
};
|
|
109
115
|
size: {
|
|
110
|
-
type:
|
|
116
|
+
type: PropType<ButtonSize>;
|
|
111
117
|
};
|
|
112
118
|
loading: {
|
|
113
|
-
type:
|
|
119
|
+
type: PropType<boolean | {
|
|
114
120
|
delay?: number | undefined;
|
|
115
121
|
}>;
|
|
116
122
|
default: () => boolean | {
|
|
@@ -133,32 +139,32 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
133
139
|
type: BooleanConstructor;
|
|
134
140
|
default: any;
|
|
135
141
|
};
|
|
136
|
-
icon:
|
|
142
|
+
icon: VueTypeValidableDef<any>;
|
|
137
143
|
href: StringConstructor;
|
|
138
144
|
target: StringConstructor;
|
|
139
145
|
title: StringConstructor;
|
|
140
146
|
onClick: {
|
|
141
|
-
type:
|
|
147
|
+
type: PropType< MouseEventHandler | MouseEventHandler[]>;
|
|
142
148
|
};
|
|
143
149
|
onMousedown: {
|
|
144
|
-
type:
|
|
150
|
+
type: PropType< MouseEventHandler | MouseEventHandler[]>;
|
|
145
151
|
};
|
|
146
152
|
}>>>;
|
|
147
|
-
cancelButtonProps:
|
|
153
|
+
cancelButtonProps: PropType<Partial< ExtractPropTypes<{
|
|
148
154
|
prefixCls: StringConstructor;
|
|
149
|
-
type:
|
|
155
|
+
type: PropType<ButtonType>;
|
|
150
156
|
htmlType: {
|
|
151
|
-
type:
|
|
157
|
+
type: PropType<ButtonHTMLType>;
|
|
152
158
|
default: string;
|
|
153
159
|
};
|
|
154
160
|
shape: {
|
|
155
|
-
type:
|
|
161
|
+
type: PropType<ButtonShape>;
|
|
156
162
|
};
|
|
157
163
|
size: {
|
|
158
|
-
type:
|
|
164
|
+
type: PropType<ButtonSize>;
|
|
159
165
|
};
|
|
160
166
|
loading: {
|
|
161
|
-
type:
|
|
167
|
+
type: PropType<boolean | {
|
|
162
168
|
delay?: number | undefined;
|
|
163
169
|
}>;
|
|
164
170
|
default: () => boolean | {
|
|
@@ -181,15 +187,15 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
181
187
|
type: BooleanConstructor;
|
|
182
188
|
default: any;
|
|
183
189
|
};
|
|
184
|
-
icon:
|
|
190
|
+
icon: VueTypeValidableDef<any>;
|
|
185
191
|
href: StringConstructor;
|
|
186
192
|
target: StringConstructor;
|
|
187
193
|
title: StringConstructor;
|
|
188
194
|
onClick: {
|
|
189
|
-
type:
|
|
195
|
+
type: PropType< MouseEventHandler | MouseEventHandler[]>;
|
|
190
196
|
};
|
|
191
197
|
onMousedown: {
|
|
192
|
-
type:
|
|
198
|
+
type: PropType< MouseEventHandler | MouseEventHandler[]>;
|
|
193
199
|
};
|
|
194
200
|
}>>>;
|
|
195
201
|
title: {
|
|
@@ -198,14 +204,14 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
198
204
|
open: {
|
|
199
205
|
type: BooleanConstructor;
|
|
200
206
|
};
|
|
201
|
-
width:
|
|
207
|
+
width: PropType<string | number>;
|
|
202
208
|
wrapClassName: {
|
|
203
209
|
type: StringConstructor;
|
|
204
210
|
};
|
|
205
211
|
zIndex: {
|
|
206
212
|
type: NumberConstructor;
|
|
207
213
|
};
|
|
208
|
-
}, {}, unknown, {}, {},
|
|
214
|
+
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
209
215
|
cancel: (...args: any[]) => void;
|
|
210
216
|
ok: (...args: any[]) => void;
|
|
211
217
|
"height-change": (...args: any[]) => void;
|
|
@@ -213,7 +219,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
213
219
|
"open-change": (...args: any[]) => void;
|
|
214
220
|
register: (...args: any[]) => void;
|
|
215
221
|
"update:open": (...args: any[]) => void;
|
|
216
|
-
}, string,
|
|
222
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
217
223
|
open: {
|
|
218
224
|
type: BooleanConstructor;
|
|
219
225
|
};
|
|
@@ -240,7 +246,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
240
246
|
okText: {
|
|
241
247
|
type: StringConstructor;
|
|
242
248
|
};
|
|
243
|
-
closeFunc:
|
|
249
|
+
closeFunc: PropType<() => Promise<boolean>>;
|
|
244
250
|
} & {
|
|
245
251
|
defaultFullscreen: {
|
|
246
252
|
type: BooleanConstructor;
|
|
@@ -253,7 +259,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
253
259
|
type: NumberConstructor;
|
|
254
260
|
default: number;
|
|
255
261
|
};
|
|
256
|
-
helpMessage:
|
|
262
|
+
helpMessage: PropType<string | string[]>;
|
|
257
263
|
useWrapper: {
|
|
258
264
|
type: BooleanConstructor;
|
|
259
265
|
default: boolean;
|
|
@@ -272,16 +278,16 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
272
278
|
type: BooleanConstructor;
|
|
273
279
|
default: boolean;
|
|
274
280
|
};
|
|
275
|
-
wrapperProps:
|
|
276
|
-
afterClose:
|
|
281
|
+
wrapperProps: PropType<Partial< ModalWrapperProps>>;
|
|
282
|
+
afterClose: PropType<() => Promise< VNodeChild | VNode<RendererNode, RendererElement, {
|
|
277
283
|
[key: string]: any;
|
|
278
284
|
}>>>;
|
|
279
|
-
bodyStyle:
|
|
285
|
+
bodyStyle: PropType<CSSProperties>;
|
|
280
286
|
closable: {
|
|
281
287
|
type: BooleanConstructor;
|
|
282
288
|
default: boolean;
|
|
283
289
|
};
|
|
284
|
-
closeIcon:
|
|
290
|
+
closeIcon: PropType< VNodeChild | VNode<RendererNode, RendererElement, {
|
|
285
291
|
[key: string]: any;
|
|
286
292
|
}>>;
|
|
287
293
|
confirmLoading: {
|
|
@@ -290,10 +296,10 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
290
296
|
destroyOnClose: {
|
|
291
297
|
type: BooleanConstructor;
|
|
292
298
|
};
|
|
293
|
-
footer:
|
|
299
|
+
footer: PropType< VNodeChild | VNode<RendererNode, RendererElement, {
|
|
294
300
|
[key: string]: any;
|
|
295
301
|
}>>;
|
|
296
|
-
getContainer:
|
|
302
|
+
getContainer: PropType<() => any>;
|
|
297
303
|
mask: {
|
|
298
304
|
type: BooleanConstructor;
|
|
299
305
|
default: boolean;
|
|
@@ -306,26 +312,26 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
306
312
|
type: BooleanConstructor;
|
|
307
313
|
default: boolean;
|
|
308
314
|
};
|
|
309
|
-
maskStyle:
|
|
315
|
+
maskStyle: PropType<CSSProperties>;
|
|
310
316
|
okType: {
|
|
311
|
-
type:
|
|
317
|
+
type: PropType<"danger" | ButtonType>;
|
|
312
318
|
default: string;
|
|
313
319
|
};
|
|
314
|
-
okButtonProps:
|
|
320
|
+
okButtonProps: PropType<Partial< ExtractPropTypes<{
|
|
315
321
|
prefixCls: StringConstructor;
|
|
316
|
-
type:
|
|
322
|
+
type: PropType<ButtonType>;
|
|
317
323
|
htmlType: {
|
|
318
|
-
type:
|
|
324
|
+
type: PropType<ButtonHTMLType>;
|
|
319
325
|
default: string;
|
|
320
326
|
};
|
|
321
327
|
shape: {
|
|
322
|
-
type:
|
|
328
|
+
type: PropType<ButtonShape>;
|
|
323
329
|
};
|
|
324
330
|
size: {
|
|
325
|
-
type:
|
|
331
|
+
type: PropType<ButtonSize>;
|
|
326
332
|
};
|
|
327
333
|
loading: {
|
|
328
|
-
type:
|
|
334
|
+
type: PropType<boolean | {
|
|
329
335
|
delay?: number | undefined;
|
|
330
336
|
}>;
|
|
331
337
|
default: () => boolean | {
|
|
@@ -348,32 +354,32 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
348
354
|
type: BooleanConstructor;
|
|
349
355
|
default: any;
|
|
350
356
|
};
|
|
351
|
-
icon:
|
|
357
|
+
icon: VueTypeValidableDef<any>;
|
|
352
358
|
href: StringConstructor;
|
|
353
359
|
target: StringConstructor;
|
|
354
360
|
title: StringConstructor;
|
|
355
361
|
onClick: {
|
|
356
|
-
type:
|
|
362
|
+
type: PropType< MouseEventHandler | MouseEventHandler[]>;
|
|
357
363
|
};
|
|
358
364
|
onMousedown: {
|
|
359
|
-
type:
|
|
365
|
+
type: PropType< MouseEventHandler | MouseEventHandler[]>;
|
|
360
366
|
};
|
|
361
367
|
}>>>;
|
|
362
|
-
cancelButtonProps:
|
|
368
|
+
cancelButtonProps: PropType<Partial< ExtractPropTypes<{
|
|
363
369
|
prefixCls: StringConstructor;
|
|
364
|
-
type:
|
|
370
|
+
type: PropType<ButtonType>;
|
|
365
371
|
htmlType: {
|
|
366
|
-
type:
|
|
372
|
+
type: PropType<ButtonHTMLType>;
|
|
367
373
|
default: string;
|
|
368
374
|
};
|
|
369
375
|
shape: {
|
|
370
|
-
type:
|
|
376
|
+
type: PropType<ButtonShape>;
|
|
371
377
|
};
|
|
372
378
|
size: {
|
|
373
|
-
type:
|
|
379
|
+
type: PropType<ButtonSize>;
|
|
374
380
|
};
|
|
375
381
|
loading: {
|
|
376
|
-
type:
|
|
382
|
+
type: PropType<boolean | {
|
|
377
383
|
delay?: number | undefined;
|
|
378
384
|
}>;
|
|
379
385
|
default: () => boolean | {
|
|
@@ -396,15 +402,15 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
396
402
|
type: BooleanConstructor;
|
|
397
403
|
default: any;
|
|
398
404
|
};
|
|
399
|
-
icon:
|
|
405
|
+
icon: VueTypeValidableDef<any>;
|
|
400
406
|
href: StringConstructor;
|
|
401
407
|
target: StringConstructor;
|
|
402
408
|
title: StringConstructor;
|
|
403
409
|
onClick: {
|
|
404
|
-
type:
|
|
410
|
+
type: PropType< MouseEventHandler | MouseEventHandler[]>;
|
|
405
411
|
};
|
|
406
412
|
onMousedown: {
|
|
407
|
-
type:
|
|
413
|
+
type: PropType< MouseEventHandler | MouseEventHandler[]>;
|
|
408
414
|
};
|
|
409
415
|
}>>>;
|
|
410
416
|
title: {
|
|
@@ -413,7 +419,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
413
419
|
open: {
|
|
414
420
|
type: BooleanConstructor;
|
|
415
421
|
};
|
|
416
|
-
width:
|
|
422
|
+
width: PropType<string | number>;
|
|
417
423
|
wrapClassName: {
|
|
418
424
|
type: StringConstructor;
|
|
419
425
|
};
|
|
@@ -432,7 +438,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
432
438
|
open: boolean;
|
|
433
439
|
closable: boolean;
|
|
434
440
|
centered: boolean;
|
|
435
|
-
okType: "danger" |
|
|
441
|
+
okType: "danger" | ButtonType;
|
|
436
442
|
mask: boolean;
|
|
437
443
|
maskClosable: boolean;
|
|
438
444
|
keyboard: boolean;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { ModalCloseProps } from '../interface';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
3
|
|
|
3
|
-
declare const _default:
|
|
4
|
+
declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ModalCloseProps>, {
|
|
4
5
|
canFullscreen: boolean;
|
|
5
|
-
}>, {}, unknown, {}, {},
|
|
6
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
6
7
|
cancel: (...args: any[]) => void;
|
|
7
8
|
fullscreen: (...args: any[]) => void;
|
|
8
|
-
}, string,
|
|
9
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ModalCloseProps>, {
|
|
9
10
|
canFullscreen: boolean;
|
|
10
11
|
}>>> & {
|
|
11
12
|
onCancel?: ((...args: any[]) => any) | undefined;
|
|
@@ -17,9 +18,9 @@ export default _default;
|
|
|
17
18
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
18
19
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
19
20
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
20
|
-
type:
|
|
21
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
21
22
|
} : {
|
|
22
|
-
type:
|
|
23
|
+
type: PropType<T[K]>;
|
|
23
24
|
required: true;
|
|
24
25
|
};
|
|
25
26
|
};
|