@antsoo-lib/components 0.1.4 → 0.1.6
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/index.mjs +6360 -6412
- package/dist/index.umd.js +83 -83
- package/dist/src/_util/ActionButton.d.ts +385 -0
- package/dist/src/_util/BaseInput.d.ts +80 -0
- package/dist/src/_util/BaseInputInner.d.ts +76 -0
- package/dist/src/_util/Portal.d.ts +22 -0
- package/dist/src/_util/PortalWrapper.d.ts +42 -0
- package/dist/src/alert/index.d.ts +158 -0
- package/dist/src/auto-complete/index.d.ts +773 -0
- package/dist/src/avatar/Avatar.d.ts +88 -0
- package/dist/src/badge/Badge.d.ts +128 -0
- package/dist/src/badge/Ribbon.d.ts +43 -0
- package/dist/src/badge/ScrollNumber.d.ts +28 -0
- package/dist/src/breadcrumb/Breadcrumb.d.ts +66 -0
- package/dist/src/breadcrumb/BreadcrumbItem.d.ts +1489 -0
- package/dist/src/button/button.d.ts +115 -0
- package/dist/src/button/buttonTypes.d.ts +59 -0
- package/dist/src/card/Card.d.ts +155 -0
- package/dist/src/carousel/index.d.ts +576 -0
- package/dist/src/cascader/index.d.ts +735 -0
- package/dist/src/checkbox/Checkbox.d.ts +117 -0
- package/dist/src/checkbox/interface.d.ts +168 -0
- package/dist/src/collapse/Collapse.d.ts +133 -0
- package/dist/src/collapse/CollapsePanel.d.ts +133 -0
- package/dist/src/collapse/PanelContent.d.ts +126 -0
- package/dist/src/collapse/commonProps.d.ts +125 -0
- package/dist/src/comment/index.d.ts +81 -0
- package/dist/src/date-picker/generatePicker/index.d.ts +7404 -0
- package/dist/src/descriptions/index.d.ts +173 -0
- package/dist/src/drawer/index.d.ts +501 -0
- package/dist/src/dropdown/dropdown-button.d.ts +556 -0
- package/dist/src/dropdown/dropdown.d.ts +503 -0
- package/dist/src/dropdown/props.d.ts +465 -0
- package/dist/src/float-button/BackTop.d.ts +67 -0
- package/dist/src/float-button/FloatButton.d.ts +57 -0
- package/dist/src/float-button/FloatButtonGroup.d.ts +92 -0
- package/dist/src/float-button/interface.d.ts +108 -0
- package/dist/src/form/Form.d.ts +796 -0
- package/dist/src/form/FormItem.d.ts +192 -0
- package/dist/src/image/index.d.ts +75 -0
- package/dist/src/input/Input.d.ts +198 -0
- package/dist/src/input/Password.d.ts +222 -0
- package/dist/src/input/ResizableTextArea.d.ts +222 -0
- package/dist/src/input/Search.d.ts +199 -0
- package/dist/src/input/TextArea.d.ts +223 -0
- package/dist/src/input/inputProps.d.ts +211 -0
- package/dist/src/input-number/index.d.ts +611 -0
- package/dist/src/layout/Sider.d.ts +115 -0
- package/dist/src/layout/index.d.ts +298 -0
- package/dist/src/list/Item.d.ts +48 -0
- package/dist/src/list/ItemMeta.d.ts +27 -0
- package/dist/src/list/index.d.ts +962 -0
- package/dist/src/mentions/index.d.ts +351 -0
- package/dist/src/menu/src/ItemGroup.d.ts +31 -0
- package/dist/src/menu/src/MenuItem.d.ts +75 -0
- package/dist/src/menu/src/SubMenu.d.ts +87 -0
- package/dist/src/modal/Modal.d.ts +1026 -0
- package/dist/src/page-header/index.d.ts +456 -0
- package/dist/src/pagination/Select.d.ts +723 -0
- package/dist/src/popconfirm/index.d.ts +1105 -0
- package/dist/src/radio/Group.d.ts +123 -0
- package/dist/src/radio/Radio.d.ts +155 -0
- package/dist/src/radio/RadioButton.d.ts +107 -0
- package/dist/src/rate/Star.d.ts +76 -0
- package/dist/src/rate/index.d.ts +160 -0
- package/dist/src/result/index.d.ts +70 -0
- package/dist/src/select/index.d.ts +567 -0
- package/dist/src/slider/SliderTooltip.d.ts +144 -0
- package/dist/src/spin/Spin.d.ts +44 -0
- package/dist/src/switch/index.d.ts +220 -0
- package/dist/src/table/Table.d.ts +1162 -0
- package/dist/src/table/index.d.ts +1494 -0
- package/dist/src/tabs/src/TabNavList/OperationNode.d.ts +150 -0
- package/dist/src/tabs/src/TabNavList/index.d.ts +171 -0
- package/dist/src/tabs/src/TabPanelList/TabPane.d.ts +105 -0
- package/dist/src/tabs/src/Tabs.d.ts +305 -0
- package/dist/src/tag/index.d.ts +102 -0
- package/dist/src/timeline/Timeline.d.ts +43 -0
- package/dist/src/timeline/TimelineItem.d.ts +50 -0
- package/dist/src/tooltip/Tooltip.d.ts +233 -0
- package/dist/src/tooltip/index.d.ts +251 -0
- package/dist/src/tour/index.d.ts +1024 -0
- package/dist/src/tour/interface.d.ts +208 -0
- package/dist/src/transfer/ListBody.d.ts +81 -0
- package/dist/src/transfer/ListItem.d.ts +70 -0
- package/dist/src/transfer/index.d.ts +712 -0
- package/dist/src/transfer/list.d.ts +166 -0
- package/dist/src/tree/DirectoryTree.d.ts +799 -0
- package/dist/src/tree/Tree.d.ts +895 -0
- package/dist/src/tree/index.d.ts +1636 -0
- package/dist/src/tree-select/index.d.ts +1078 -0
- package/dist/src/vc-cascader/Cascader.d.ts +973 -0
- package/dist/src/vc-checkbox/Checkbox.d.ts +78 -0
- package/dist/src/vc-dialog/Content.d.ts +182 -0
- package/dist/src/vc-dialog/Dialog.d.ts +170 -0
- package/dist/src/vc-dialog/DialogWrap.d.ts +167 -0
- package/dist/src/vc-dialog/IDialogPropTypes.d.ts +80 -0
- package/dist/src/vc-drawer/src/DrawerChild.d.ts +165 -0
- package/dist/src/vc-drawer/src/IDrawerPropTypes.d.ts +148 -0
- package/dist/src/vc-dropdown/Dropdown.d.ts +167 -0
- package/dist/src/vc-image/src/Image.d.ts +115 -0
- package/dist/src/vc-image/src/Preview.d.ts +293 -0
- package/dist/src/vc-input/BaseInput.d.ts +99 -0
- package/dist/src/vc-input/Input.d.ts +197 -0
- package/dist/src/vc-input/inputProps.d.ts +170 -0
- package/dist/src/vc-mentions/src/Mentions.d.ts +94 -0
- package/dist/src/vc-mentions/src/mentionsProps.d.ts +127 -0
- package/dist/src/vc-overflow/Item.d.ts +35 -0
- package/dist/src/vc-overflow/Overflow.d.ts +90 -0
- package/dist/src/vc-overflow/RawItem.d.ts +46 -0
- package/dist/src/vc-pagination/Options.d.ts +62 -0
- package/dist/src/vc-pagination/Pager.d.ts +76 -0
- package/dist/src/vc-pagination/Pagination.d.ts +246 -0
- package/dist/src/vc-select/BaseSelect.d.ts +579 -0
- package/dist/src/vc-select/Select.d.ts +510 -0
- package/dist/src/vc-select/Selector/Input.d.ts +187 -0
- package/dist/src/vc-slider/src/Range.d.ts +238 -0
- package/dist/src/vc-slider/src/Slider.d.ts +238 -0
- package/dist/src/vc-slider/src/common/createSlider.d.ts +237 -0
- package/dist/src/vc-steps/Step.d.ts +164 -0
- package/dist/src/vc-steps/Steps.d.ts +154 -0
- package/dist/src/vc-tooltip/src/Content.d.ts +18 -0
- package/dist/src/vc-tooltip/src/Tooltip.d.ts +195 -0
- package/dist/src/vc-tour/Tour.d.ts +654 -0
- package/dist/src/vc-tree/MotionTreeNode.d.ts +123 -0
- package/dist/src/vc-tree/Tree.d.ts +439 -0
- package/dist/src/vc-tree/TreeNode.d.ts +115 -0
- package/dist/src/vc-tree/props.d.ts +354 -0
- package/dist/src/vc-tree-select/TreeSelect.d.ts +708 -0
- package/dist/src/vc-trigger/Trigger.d.ts +358 -0
- package/dist/src/vc-trigger/interface.d.ts +208 -0
- package/dist/src/vc-virtual-list/List.d.ts +107 -0
- package/package.json +7 -7
|
@@ -0,0 +1,385 @@
|
|
|
1
|
+
import { ExtractPropTypes, PropType, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
import { LegacyButtonType, ButtonHTMLType } from '../button/buttonTypes';
|
|
3
|
+
import { ButtonType, ButtonShape, ButtonSize } from '../button';
|
|
4
|
+
import { VueTypeValidableDef } from 'vue-types';
|
|
5
|
+
import { MouseEventHandler } from './EventInterface';
|
|
6
|
+
declare const actionButtonProps: {
|
|
7
|
+
type: {
|
|
8
|
+
type: PropType<LegacyButtonType>;
|
|
9
|
+
};
|
|
10
|
+
actionFn: PropType<(...args: any[]) => any | PromiseLike<any>>;
|
|
11
|
+
close: FunctionConstructor;
|
|
12
|
+
autofocus: BooleanConstructor;
|
|
13
|
+
prefixCls: StringConstructor;
|
|
14
|
+
buttonProps: {
|
|
15
|
+
type: PropType<Partial<ExtractPropTypes<{
|
|
16
|
+
prefixCls: StringConstructor;
|
|
17
|
+
type: PropType< ButtonType>;
|
|
18
|
+
htmlType: {
|
|
19
|
+
type: PropType< ButtonHTMLType>;
|
|
20
|
+
default: string;
|
|
21
|
+
};
|
|
22
|
+
shape: {
|
|
23
|
+
type: PropType< ButtonShape>;
|
|
24
|
+
};
|
|
25
|
+
size: {
|
|
26
|
+
type: PropType< ButtonSize>;
|
|
27
|
+
};
|
|
28
|
+
loading: {
|
|
29
|
+
type: PropType<boolean | {
|
|
30
|
+
delay?: number;
|
|
31
|
+
}>;
|
|
32
|
+
default: () => boolean | {
|
|
33
|
+
delay?: number;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
disabled: {
|
|
37
|
+
type: BooleanConstructor;
|
|
38
|
+
default: undefined;
|
|
39
|
+
};
|
|
40
|
+
ghost: {
|
|
41
|
+
type: BooleanConstructor;
|
|
42
|
+
default: undefined;
|
|
43
|
+
};
|
|
44
|
+
block: {
|
|
45
|
+
type: BooleanConstructor;
|
|
46
|
+
default: undefined;
|
|
47
|
+
};
|
|
48
|
+
danger: {
|
|
49
|
+
type: BooleanConstructor;
|
|
50
|
+
default: undefined;
|
|
51
|
+
};
|
|
52
|
+
icon: VueTypeValidableDef<any>;
|
|
53
|
+
href: StringConstructor;
|
|
54
|
+
target: StringConstructor;
|
|
55
|
+
title: StringConstructor;
|
|
56
|
+
onClick: {
|
|
57
|
+
type: PropType< MouseEventHandler | MouseEventHandler[]>;
|
|
58
|
+
};
|
|
59
|
+
onMousedown: {
|
|
60
|
+
type: PropType< MouseEventHandler | MouseEventHandler[]>;
|
|
61
|
+
};
|
|
62
|
+
}>>>;
|
|
63
|
+
default: Partial<ExtractPropTypes<{
|
|
64
|
+
prefixCls: StringConstructor;
|
|
65
|
+
type: PropType< ButtonType>;
|
|
66
|
+
htmlType: {
|
|
67
|
+
type: PropType< ButtonHTMLType>;
|
|
68
|
+
default: string;
|
|
69
|
+
};
|
|
70
|
+
shape: {
|
|
71
|
+
type: PropType< ButtonShape>;
|
|
72
|
+
};
|
|
73
|
+
size: {
|
|
74
|
+
type: PropType< ButtonSize>;
|
|
75
|
+
};
|
|
76
|
+
loading: {
|
|
77
|
+
type: PropType<boolean | {
|
|
78
|
+
delay?: number;
|
|
79
|
+
}>;
|
|
80
|
+
default: () => boolean | {
|
|
81
|
+
delay?: number;
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
disabled: {
|
|
85
|
+
type: BooleanConstructor;
|
|
86
|
+
default: undefined;
|
|
87
|
+
};
|
|
88
|
+
ghost: {
|
|
89
|
+
type: BooleanConstructor;
|
|
90
|
+
default: undefined;
|
|
91
|
+
};
|
|
92
|
+
block: {
|
|
93
|
+
type: BooleanConstructor;
|
|
94
|
+
default: undefined;
|
|
95
|
+
};
|
|
96
|
+
danger: {
|
|
97
|
+
type: BooleanConstructor;
|
|
98
|
+
default: undefined;
|
|
99
|
+
};
|
|
100
|
+
icon: VueTypeValidableDef<any>;
|
|
101
|
+
href: StringConstructor;
|
|
102
|
+
target: StringConstructor;
|
|
103
|
+
title: StringConstructor;
|
|
104
|
+
onClick: {
|
|
105
|
+
type: PropType< MouseEventHandler | MouseEventHandler[]>;
|
|
106
|
+
};
|
|
107
|
+
onMousedown: {
|
|
108
|
+
type: PropType< MouseEventHandler | MouseEventHandler[]>;
|
|
109
|
+
};
|
|
110
|
+
}>>;
|
|
111
|
+
};
|
|
112
|
+
emitEvent: BooleanConstructor;
|
|
113
|
+
quitOnNullishReturnValue: BooleanConstructor;
|
|
114
|
+
};
|
|
115
|
+
export type ActionButtonProps = ExtractPropTypes<typeof actionButtonProps>;
|
|
116
|
+
declare const _default: DefineComponent<ExtractPropTypes<{
|
|
117
|
+
type: {
|
|
118
|
+
type: PropType<LegacyButtonType>;
|
|
119
|
+
};
|
|
120
|
+
actionFn: PropType<(...args: any[]) => any | PromiseLike<any>>;
|
|
121
|
+
close: FunctionConstructor;
|
|
122
|
+
autofocus: BooleanConstructor;
|
|
123
|
+
prefixCls: StringConstructor;
|
|
124
|
+
buttonProps: {
|
|
125
|
+
type: PropType<Partial<ExtractPropTypes<{
|
|
126
|
+
prefixCls: StringConstructor;
|
|
127
|
+
type: PropType< ButtonType>;
|
|
128
|
+
htmlType: {
|
|
129
|
+
type: PropType< ButtonHTMLType>;
|
|
130
|
+
default: string;
|
|
131
|
+
};
|
|
132
|
+
shape: {
|
|
133
|
+
type: PropType< ButtonShape>;
|
|
134
|
+
};
|
|
135
|
+
size: {
|
|
136
|
+
type: PropType< ButtonSize>;
|
|
137
|
+
};
|
|
138
|
+
loading: {
|
|
139
|
+
type: PropType<boolean | {
|
|
140
|
+
delay?: number;
|
|
141
|
+
}>;
|
|
142
|
+
default: () => boolean | {
|
|
143
|
+
delay?: number;
|
|
144
|
+
};
|
|
145
|
+
};
|
|
146
|
+
disabled: {
|
|
147
|
+
type: BooleanConstructor;
|
|
148
|
+
default: undefined;
|
|
149
|
+
};
|
|
150
|
+
ghost: {
|
|
151
|
+
type: BooleanConstructor;
|
|
152
|
+
default: undefined;
|
|
153
|
+
};
|
|
154
|
+
block: {
|
|
155
|
+
type: BooleanConstructor;
|
|
156
|
+
default: undefined;
|
|
157
|
+
};
|
|
158
|
+
danger: {
|
|
159
|
+
type: BooleanConstructor;
|
|
160
|
+
default: undefined;
|
|
161
|
+
};
|
|
162
|
+
icon: VueTypeValidableDef<any>;
|
|
163
|
+
href: StringConstructor;
|
|
164
|
+
target: StringConstructor;
|
|
165
|
+
title: StringConstructor;
|
|
166
|
+
onClick: {
|
|
167
|
+
type: PropType< MouseEventHandler | MouseEventHandler[]>;
|
|
168
|
+
};
|
|
169
|
+
onMousedown: {
|
|
170
|
+
type: PropType< MouseEventHandler | MouseEventHandler[]>;
|
|
171
|
+
};
|
|
172
|
+
}>>>;
|
|
173
|
+
default: Partial<ExtractPropTypes<{
|
|
174
|
+
prefixCls: StringConstructor;
|
|
175
|
+
type: PropType< ButtonType>;
|
|
176
|
+
htmlType: {
|
|
177
|
+
type: PropType< ButtonHTMLType>;
|
|
178
|
+
default: string;
|
|
179
|
+
};
|
|
180
|
+
shape: {
|
|
181
|
+
type: PropType< ButtonShape>;
|
|
182
|
+
};
|
|
183
|
+
size: {
|
|
184
|
+
type: PropType< ButtonSize>;
|
|
185
|
+
};
|
|
186
|
+
loading: {
|
|
187
|
+
type: PropType<boolean | {
|
|
188
|
+
delay?: number;
|
|
189
|
+
}>;
|
|
190
|
+
default: () => boolean | {
|
|
191
|
+
delay?: number;
|
|
192
|
+
};
|
|
193
|
+
};
|
|
194
|
+
disabled: {
|
|
195
|
+
type: BooleanConstructor;
|
|
196
|
+
default: undefined;
|
|
197
|
+
};
|
|
198
|
+
ghost: {
|
|
199
|
+
type: BooleanConstructor;
|
|
200
|
+
default: undefined;
|
|
201
|
+
};
|
|
202
|
+
block: {
|
|
203
|
+
type: BooleanConstructor;
|
|
204
|
+
default: undefined;
|
|
205
|
+
};
|
|
206
|
+
danger: {
|
|
207
|
+
type: BooleanConstructor;
|
|
208
|
+
default: undefined;
|
|
209
|
+
};
|
|
210
|
+
icon: VueTypeValidableDef<any>;
|
|
211
|
+
href: StringConstructor;
|
|
212
|
+
target: StringConstructor;
|
|
213
|
+
title: StringConstructor;
|
|
214
|
+
onClick: {
|
|
215
|
+
type: PropType< MouseEventHandler | MouseEventHandler[]>;
|
|
216
|
+
};
|
|
217
|
+
onMousedown: {
|
|
218
|
+
type: PropType< MouseEventHandler | MouseEventHandler[]>;
|
|
219
|
+
};
|
|
220
|
+
}>>;
|
|
221
|
+
};
|
|
222
|
+
emitEvent: BooleanConstructor;
|
|
223
|
+
quitOnNullishReturnValue: BooleanConstructor;
|
|
224
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{
|
|
225
|
+
type: {
|
|
226
|
+
type: PropType<LegacyButtonType>;
|
|
227
|
+
};
|
|
228
|
+
actionFn: PropType<(...args: any[]) => any | PromiseLike<any>>;
|
|
229
|
+
close: FunctionConstructor;
|
|
230
|
+
autofocus: BooleanConstructor;
|
|
231
|
+
prefixCls: StringConstructor;
|
|
232
|
+
buttonProps: {
|
|
233
|
+
type: PropType<Partial<ExtractPropTypes<{
|
|
234
|
+
prefixCls: StringConstructor;
|
|
235
|
+
type: PropType< ButtonType>;
|
|
236
|
+
htmlType: {
|
|
237
|
+
type: PropType< ButtonHTMLType>;
|
|
238
|
+
default: string;
|
|
239
|
+
};
|
|
240
|
+
shape: {
|
|
241
|
+
type: PropType< ButtonShape>;
|
|
242
|
+
};
|
|
243
|
+
size: {
|
|
244
|
+
type: PropType< ButtonSize>;
|
|
245
|
+
};
|
|
246
|
+
loading: {
|
|
247
|
+
type: PropType<boolean | {
|
|
248
|
+
delay?: number;
|
|
249
|
+
}>;
|
|
250
|
+
default: () => boolean | {
|
|
251
|
+
delay?: number;
|
|
252
|
+
};
|
|
253
|
+
};
|
|
254
|
+
disabled: {
|
|
255
|
+
type: BooleanConstructor;
|
|
256
|
+
default: undefined;
|
|
257
|
+
};
|
|
258
|
+
ghost: {
|
|
259
|
+
type: BooleanConstructor;
|
|
260
|
+
default: undefined;
|
|
261
|
+
};
|
|
262
|
+
block: {
|
|
263
|
+
type: BooleanConstructor;
|
|
264
|
+
default: undefined;
|
|
265
|
+
};
|
|
266
|
+
danger: {
|
|
267
|
+
type: BooleanConstructor;
|
|
268
|
+
default: undefined;
|
|
269
|
+
};
|
|
270
|
+
icon: VueTypeValidableDef<any>;
|
|
271
|
+
href: StringConstructor;
|
|
272
|
+
target: StringConstructor;
|
|
273
|
+
title: StringConstructor;
|
|
274
|
+
onClick: {
|
|
275
|
+
type: PropType< MouseEventHandler | MouseEventHandler[]>;
|
|
276
|
+
};
|
|
277
|
+
onMousedown: {
|
|
278
|
+
type: PropType< MouseEventHandler | MouseEventHandler[]>;
|
|
279
|
+
};
|
|
280
|
+
}>>>;
|
|
281
|
+
default: Partial<ExtractPropTypes<{
|
|
282
|
+
prefixCls: StringConstructor;
|
|
283
|
+
type: PropType< ButtonType>;
|
|
284
|
+
htmlType: {
|
|
285
|
+
type: PropType< ButtonHTMLType>;
|
|
286
|
+
default: string;
|
|
287
|
+
};
|
|
288
|
+
shape: {
|
|
289
|
+
type: PropType< ButtonShape>;
|
|
290
|
+
};
|
|
291
|
+
size: {
|
|
292
|
+
type: PropType< ButtonSize>;
|
|
293
|
+
};
|
|
294
|
+
loading: {
|
|
295
|
+
type: PropType<boolean | {
|
|
296
|
+
delay?: number;
|
|
297
|
+
}>;
|
|
298
|
+
default: () => boolean | {
|
|
299
|
+
delay?: number;
|
|
300
|
+
};
|
|
301
|
+
};
|
|
302
|
+
disabled: {
|
|
303
|
+
type: BooleanConstructor;
|
|
304
|
+
default: undefined;
|
|
305
|
+
};
|
|
306
|
+
ghost: {
|
|
307
|
+
type: BooleanConstructor;
|
|
308
|
+
default: undefined;
|
|
309
|
+
};
|
|
310
|
+
block: {
|
|
311
|
+
type: BooleanConstructor;
|
|
312
|
+
default: undefined;
|
|
313
|
+
};
|
|
314
|
+
danger: {
|
|
315
|
+
type: BooleanConstructor;
|
|
316
|
+
default: undefined;
|
|
317
|
+
};
|
|
318
|
+
icon: VueTypeValidableDef<any>;
|
|
319
|
+
href: StringConstructor;
|
|
320
|
+
target: StringConstructor;
|
|
321
|
+
title: StringConstructor;
|
|
322
|
+
onClick: {
|
|
323
|
+
type: PropType< MouseEventHandler | MouseEventHandler[]>;
|
|
324
|
+
};
|
|
325
|
+
onMousedown: {
|
|
326
|
+
type: PropType< MouseEventHandler | MouseEventHandler[]>;
|
|
327
|
+
};
|
|
328
|
+
}>>;
|
|
329
|
+
};
|
|
330
|
+
emitEvent: BooleanConstructor;
|
|
331
|
+
quitOnNullishReturnValue: BooleanConstructor;
|
|
332
|
+
}>> & Readonly<{}>, {
|
|
333
|
+
autofocus: boolean;
|
|
334
|
+
buttonProps: Partial<ExtractPropTypes<{
|
|
335
|
+
prefixCls: StringConstructor;
|
|
336
|
+
type: PropType< ButtonType>;
|
|
337
|
+
htmlType: {
|
|
338
|
+
type: PropType< ButtonHTMLType>;
|
|
339
|
+
default: string;
|
|
340
|
+
};
|
|
341
|
+
shape: {
|
|
342
|
+
type: PropType< ButtonShape>;
|
|
343
|
+
};
|
|
344
|
+
size: {
|
|
345
|
+
type: PropType< ButtonSize>;
|
|
346
|
+
};
|
|
347
|
+
loading: {
|
|
348
|
+
type: PropType<boolean | {
|
|
349
|
+
delay?: number;
|
|
350
|
+
}>;
|
|
351
|
+
default: () => boolean | {
|
|
352
|
+
delay?: number;
|
|
353
|
+
};
|
|
354
|
+
};
|
|
355
|
+
disabled: {
|
|
356
|
+
type: BooleanConstructor;
|
|
357
|
+
default: undefined;
|
|
358
|
+
};
|
|
359
|
+
ghost: {
|
|
360
|
+
type: BooleanConstructor;
|
|
361
|
+
default: undefined;
|
|
362
|
+
};
|
|
363
|
+
block: {
|
|
364
|
+
type: BooleanConstructor;
|
|
365
|
+
default: undefined;
|
|
366
|
+
};
|
|
367
|
+
danger: {
|
|
368
|
+
type: BooleanConstructor;
|
|
369
|
+
default: undefined;
|
|
370
|
+
};
|
|
371
|
+
icon: VueTypeValidableDef<any>;
|
|
372
|
+
href: StringConstructor;
|
|
373
|
+
target: StringConstructor;
|
|
374
|
+
title: StringConstructor;
|
|
375
|
+
onClick: {
|
|
376
|
+
type: PropType< MouseEventHandler | MouseEventHandler[]>;
|
|
377
|
+
};
|
|
378
|
+
onMousedown: {
|
|
379
|
+
type: PropType< MouseEventHandler | MouseEventHandler[]>;
|
|
380
|
+
};
|
|
381
|
+
}>>;
|
|
382
|
+
emitEvent: boolean;
|
|
383
|
+
quitOnNullishReturnValue: boolean;
|
|
384
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
385
|
+
export default _default;
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { PropType, DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
import { VueTypeValidableDef, VueTypeDef } from 'vue-types';
|
|
3
|
+
export interface BaseInputExpose {
|
|
4
|
+
focus: () => void;
|
|
5
|
+
blur: () => void;
|
|
6
|
+
input: HTMLInputElement | HTMLTextAreaElement | null;
|
|
7
|
+
setSelectionRange: (start: number, end: number, direction?: 'forward' | 'backward' | 'none') => void;
|
|
8
|
+
select: () => void;
|
|
9
|
+
getSelectionStart: () => number | null;
|
|
10
|
+
getSelectionEnd: () => number | null;
|
|
11
|
+
getScrollTop: () => number | null;
|
|
12
|
+
setScrollTop: (scrollTop: number) => void;
|
|
13
|
+
}
|
|
14
|
+
declare const BaseInput: DefineComponent<ExtractPropTypes<{
|
|
15
|
+
disabled: VueTypeValidableDef<boolean>;
|
|
16
|
+
type: VueTypeValidableDef<string> & {
|
|
17
|
+
default: string;
|
|
18
|
+
};
|
|
19
|
+
value: VueTypeValidableDef<any>;
|
|
20
|
+
lazy: VueTypeValidableDef<boolean> & {
|
|
21
|
+
default: boolean;
|
|
22
|
+
} & {
|
|
23
|
+
default: boolean;
|
|
24
|
+
};
|
|
25
|
+
tag: {
|
|
26
|
+
type: PropType<"input" | "textarea">;
|
|
27
|
+
default: string;
|
|
28
|
+
};
|
|
29
|
+
size: VueTypeValidableDef<string> & {
|
|
30
|
+
default: string;
|
|
31
|
+
};
|
|
32
|
+
style: VueTypeDef<string | {
|
|
33
|
+
[key: string]: any;
|
|
34
|
+
}>;
|
|
35
|
+
class: VueTypeValidableDef<string> & {
|
|
36
|
+
default: string;
|
|
37
|
+
};
|
|
38
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("input" | "change" | "blur" | "compositionend" | "compositionstart" | "focus" | "keydown" | "keyup" | "mousedown" | "paste")[], "input" | "change" | "blur" | "compositionend" | "compositionstart" | "focus" | "keydown" | "keyup" | "mousedown" | "paste", PublicProps, Readonly< ExtractPropTypes<{
|
|
39
|
+
disabled: VueTypeValidableDef<boolean>;
|
|
40
|
+
type: VueTypeValidableDef<string> & {
|
|
41
|
+
default: string;
|
|
42
|
+
};
|
|
43
|
+
value: VueTypeValidableDef<any>;
|
|
44
|
+
lazy: VueTypeValidableDef<boolean> & {
|
|
45
|
+
default: boolean;
|
|
46
|
+
} & {
|
|
47
|
+
default: boolean;
|
|
48
|
+
};
|
|
49
|
+
tag: {
|
|
50
|
+
type: PropType<"input" | "textarea">;
|
|
51
|
+
default: string;
|
|
52
|
+
};
|
|
53
|
+
size: VueTypeValidableDef<string> & {
|
|
54
|
+
default: string;
|
|
55
|
+
};
|
|
56
|
+
style: VueTypeDef<string | {
|
|
57
|
+
[key: string]: any;
|
|
58
|
+
}>;
|
|
59
|
+
class: VueTypeValidableDef<string> & {
|
|
60
|
+
default: string;
|
|
61
|
+
};
|
|
62
|
+
}>> & Readonly<{
|
|
63
|
+
onPaste?: ((...args: any[]) => any) | undefined;
|
|
64
|
+
onCompositionend?: ((...args: any[]) => any) | undefined;
|
|
65
|
+
onCompositionstart?: ((...args: any[]) => any) | undefined;
|
|
66
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
67
|
+
onBlur?: ((...args: any[]) => any) | undefined;
|
|
68
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
69
|
+
onInput?: ((...args: any[]) => any) | undefined;
|
|
70
|
+
onKeydown?: ((...args: any[]) => any) | undefined;
|
|
71
|
+
onKeyup?: ((...args: any[]) => any) | undefined;
|
|
72
|
+
onMousedown?: ((...args: any[]) => any) | undefined;
|
|
73
|
+
}>, {
|
|
74
|
+
size: string;
|
|
75
|
+
class: string;
|
|
76
|
+
type: string;
|
|
77
|
+
tag: "input" | "textarea";
|
|
78
|
+
lazy: boolean;
|
|
79
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
80
|
+
export default BaseInput;
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { PropType, DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
import { VueTypeValidableDef } from 'vue-types';
|
|
3
|
+
export interface BaseInputInnerExpose {
|
|
4
|
+
focus: () => void;
|
|
5
|
+
blur: () => void;
|
|
6
|
+
input: HTMLInputElement | HTMLTextAreaElement | null;
|
|
7
|
+
setSelectionRange: (start: number, end: number, direction?: 'forward' | 'backward' | 'none') => void;
|
|
8
|
+
select: () => void;
|
|
9
|
+
getSelectionStart: () => number | null;
|
|
10
|
+
getSelectionEnd: () => number | null;
|
|
11
|
+
getScrollTop: () => number | null;
|
|
12
|
+
setScrollTop: (scrollTop: number) => void;
|
|
13
|
+
}
|
|
14
|
+
declare const BaseInputInner: DefineComponent<ExtractPropTypes<{
|
|
15
|
+
disabled: VueTypeValidableDef<boolean>;
|
|
16
|
+
type: VueTypeValidableDef<string> & {
|
|
17
|
+
default: string;
|
|
18
|
+
};
|
|
19
|
+
value: VueTypeValidableDef<any>;
|
|
20
|
+
tag: {
|
|
21
|
+
type: PropType<"input" | "textarea">;
|
|
22
|
+
default: string;
|
|
23
|
+
};
|
|
24
|
+
size: VueTypeValidableDef<string> & {
|
|
25
|
+
default: string;
|
|
26
|
+
};
|
|
27
|
+
onChange: PropType<(e: Event) => void>;
|
|
28
|
+
onInput: PropType<(e: Event) => void>;
|
|
29
|
+
onBlur: PropType<(e: Event) => void>;
|
|
30
|
+
onFocus: PropType<(e: Event) => void>;
|
|
31
|
+
onKeydown: PropType<(e: Event) => void>;
|
|
32
|
+
onCompositionstart: PropType<(e: Event) => void>;
|
|
33
|
+
onCompositionend: PropType<(e: Event) => void>;
|
|
34
|
+
onKeyup: PropType<(e: Event) => void>;
|
|
35
|
+
onPaste: PropType<(e: Event) => void>;
|
|
36
|
+
onMousedown: PropType<(e: Event) => void>;
|
|
37
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("input" | "change" | "blur" | "compositionend" | "compositionstart" | "focus" | "keydown" | "keyup" | "mousedown" | "paste")[], "input" | "change" | "blur" | "compositionend" | "compositionstart" | "focus" | "keydown" | "keyup" | "mousedown" | "paste", PublicProps, Readonly< ExtractPropTypes<{
|
|
38
|
+
disabled: VueTypeValidableDef<boolean>;
|
|
39
|
+
type: VueTypeValidableDef<string> & {
|
|
40
|
+
default: string;
|
|
41
|
+
};
|
|
42
|
+
value: VueTypeValidableDef<any>;
|
|
43
|
+
tag: {
|
|
44
|
+
type: PropType<"input" | "textarea">;
|
|
45
|
+
default: string;
|
|
46
|
+
};
|
|
47
|
+
size: VueTypeValidableDef<string> & {
|
|
48
|
+
default: string;
|
|
49
|
+
};
|
|
50
|
+
onChange: PropType<(e: Event) => void>;
|
|
51
|
+
onInput: PropType<(e: Event) => void>;
|
|
52
|
+
onBlur: PropType<(e: Event) => void>;
|
|
53
|
+
onFocus: PropType<(e: Event) => void>;
|
|
54
|
+
onKeydown: PropType<(e: Event) => void>;
|
|
55
|
+
onCompositionstart: PropType<(e: Event) => void>;
|
|
56
|
+
onCompositionend: PropType<(e: Event) => void>;
|
|
57
|
+
onKeyup: PropType<(e: Event) => void>;
|
|
58
|
+
onPaste: PropType<(e: Event) => void>;
|
|
59
|
+
onMousedown: PropType<(e: Event) => void>;
|
|
60
|
+
}>> & Readonly<{
|
|
61
|
+
onPaste?: ((...args: any[]) => any) | undefined;
|
|
62
|
+
onCompositionend?: ((...args: any[]) => any) | undefined;
|
|
63
|
+
onCompositionstart?: ((...args: any[]) => any) | undefined;
|
|
64
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
65
|
+
onBlur?: ((...args: any[]) => any) | undefined;
|
|
66
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
67
|
+
onInput?: ((...args: any[]) => any) | undefined;
|
|
68
|
+
onKeydown?: ((...args: any[]) => any) | undefined;
|
|
69
|
+
onKeyup?: ((...args: any[]) => any) | undefined;
|
|
70
|
+
onMousedown?: ((...args: any[]) => any) | undefined;
|
|
71
|
+
}>, {
|
|
72
|
+
size: string;
|
|
73
|
+
type: string;
|
|
74
|
+
tag: "input" | "textarea";
|
|
75
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
76
|
+
export default BaseInputInner;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { DefineComponent, ExtractPropTypes, VNode, RendererNode, RendererElement, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
import { VueTypeValidableDef } from 'vue-types';
|
|
3
|
+
declare const _default: DefineComponent<ExtractPropTypes<{
|
|
4
|
+
getContainer: VueTypeValidableDef<(...args: any[]) => any> & {
|
|
5
|
+
default: (...args: any[]) => any;
|
|
6
|
+
} & {
|
|
7
|
+
required: true;
|
|
8
|
+
};
|
|
9
|
+
didUpdate: FunctionConstructor;
|
|
10
|
+
}>, () => VNode<RendererNode, RendererElement, {
|
|
11
|
+
[key: string]: any;
|
|
12
|
+
}>[] | import("vue/jsx-runtime").JSX.Element | null | undefined, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
13
|
+
getContainer: VueTypeValidableDef<(...args: any[]) => any> & {
|
|
14
|
+
default: (...args: any[]) => any;
|
|
15
|
+
} & {
|
|
16
|
+
required: true;
|
|
17
|
+
};
|
|
18
|
+
didUpdate: FunctionConstructor;
|
|
19
|
+
}>> & Readonly<{}>, {
|
|
20
|
+
getContainer: (...args: any[]) => any;
|
|
21
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
22
|
+
export default _default;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
import { VueTypeValidableDef } from 'vue-types';
|
|
3
|
+
export declare function getOpenCount(): number;
|
|
4
|
+
export type GetContainer = string | HTMLElement | (() => HTMLElement);
|
|
5
|
+
declare const _default: DefineComponent<ExtractPropTypes<{
|
|
6
|
+
wrapperClassName: StringConstructor;
|
|
7
|
+
forceRender: {
|
|
8
|
+
type: BooleanConstructor;
|
|
9
|
+
default: undefined;
|
|
10
|
+
};
|
|
11
|
+
getContainer: VueTypeValidableDef<any>;
|
|
12
|
+
visible: {
|
|
13
|
+
type: BooleanConstructor;
|
|
14
|
+
default: undefined;
|
|
15
|
+
};
|
|
16
|
+
autoLock: {
|
|
17
|
+
type: BooleanConstructor;
|
|
18
|
+
default: boolean;
|
|
19
|
+
};
|
|
20
|
+
didUpdate: FunctionConstructor;
|
|
21
|
+
}>, () => import("vue/jsx-runtime").JSX.Element | null, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
22
|
+
wrapperClassName: StringConstructor;
|
|
23
|
+
forceRender: {
|
|
24
|
+
type: BooleanConstructor;
|
|
25
|
+
default: undefined;
|
|
26
|
+
};
|
|
27
|
+
getContainer: VueTypeValidableDef<any>;
|
|
28
|
+
visible: {
|
|
29
|
+
type: BooleanConstructor;
|
|
30
|
+
default: undefined;
|
|
31
|
+
};
|
|
32
|
+
autoLock: {
|
|
33
|
+
type: BooleanConstructor;
|
|
34
|
+
default: boolean;
|
|
35
|
+
};
|
|
36
|
+
didUpdate: FunctionConstructor;
|
|
37
|
+
}>> & Readonly<{}>, {
|
|
38
|
+
visible: boolean;
|
|
39
|
+
forceRender: boolean;
|
|
40
|
+
autoLock: boolean;
|
|
41
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
42
|
+
export default _default;
|