@aplus-frontend/ui 0.0.1-beta.34 → 0.0.1-beta.35
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/modal/basic.vue2.mjs +10 -11
- package/es/src/modal/style/index.css +0 -103
- package/es/src/pro-form/style/index.css +0 -3
- package/es/src/pro-table/components/editable/editable-cell.vue.d.ts +2 -82
- package/es/src/theme/antd-global-overwrite/admin/alert.css +16 -0
- package/es/src/theme/antd-global-overwrite/admin/index.css +26 -3
- package/es/src/theme/antd-global-overwrite/admin/modal.css +1 -1
- package/es/src/theme/antd-global-overwrite/admin/steps.css +2 -2
- package/es/src/theme/antd-global-overwrite/admin/table.css +7 -0
- package/es/src/theme/antd-global-overwrite/aplus/alert.css +16 -0
- package/es/src/theme/antd-global-overwrite/aplus/form.css +10 -0
- package/es/src/theme/antd-global-overwrite/aplus/index.css +37 -3
- package/es/src/theme/antd-global-overwrite/aplus/modal.css +1 -1
- package/es/src/theme/antd-global-overwrite/aplus/steps.css +2 -2
- package/es/src/theme/antd-global-overwrite/aplus/table.css +8 -0
- package/es/src/theme/modal/index.css +0 -103
- package/es/src/theme/pro-form/form.css +0 -3
- package/es/src/work-order-modal/work-order-modal.vue.mjs +28 -26
- package/lib/src/modal/basic.vue2.js +1 -1
- package/lib/src/modal/style/index.css +0 -103
- package/lib/src/pro-form/style/index.css +0 -3
- package/lib/src/pro-table/components/editable/editable-cell.vue.d.ts +2 -82
- package/lib/src/theme/antd-global-overwrite/admin/alert.css +16 -0
- package/lib/src/theme/antd-global-overwrite/admin/index.css +26 -3
- package/lib/src/theme/antd-global-overwrite/admin/modal.css +1 -1
- package/lib/src/theme/antd-global-overwrite/admin/steps.css +2 -2
- package/lib/src/theme/antd-global-overwrite/admin/table.css +7 -0
- package/lib/src/theme/antd-global-overwrite/aplus/alert.css +16 -0
- package/lib/src/theme/antd-global-overwrite/aplus/form.css +10 -0
- package/lib/src/theme/antd-global-overwrite/aplus/index.css +37 -3
- package/lib/src/theme/antd-global-overwrite/aplus/modal.css +1 -1
- package/lib/src/theme/antd-global-overwrite/aplus/steps.css +2 -2
- package/lib/src/theme/antd-global-overwrite/aplus/table.css +8 -0
- package/lib/src/theme/modal/index.css +0 -103
- package/lib/src/theme/pro-form/form.css +0 -3
- package/lib/src/work-order-modal/work-order-modal.vue.js +1 -1
- package/package.json +1 -1
- package/es/src/ap-action/item-popconfirm/index.vue.d.ts +0 -343
- package/es/src/ap-field/select/index.vue.d.ts +0 -235
- package/es/src/ap-form/modal-form/index.vue.d.ts +0 -378
- package/es/src/ap-table/constants.d.ts +0 -5666
- package/es/src/config-provider/config-provider-props.d.ts +0 -152
- package/es/src/config-provider/config-provider.d.ts +0 -323
- package/es/src/config-provider/hooks/use-global-config.d.ts +0 -154
- package/es/src/config-provider/index.d.ts +0 -691
- package/es/src/modal/basic.vue.d.ts +0 -465
- package/es/src/modal/components/modal-footer.vue.d.ts +0 -457
- package/es/src/modal/components/modal.d.ts +0 -443
- package/es/src/modal/index.d.ts +0 -963
- package/es/src/modal/props.d.ts +0 -283
- package/es/src/pro-form/hooks/use-label-width.d.ts +0 -312
- package/lib/src/ap-action/item-popconfirm/index.vue.d.ts +0 -343
- package/lib/src/ap-field/select/index.vue.d.ts +0 -235
- package/lib/src/ap-form/modal-form/index.vue.d.ts +0 -378
- package/lib/src/ap-table/constants.d.ts +0 -5666
- package/lib/src/config-provider/config-provider-props.d.ts +0 -152
- package/lib/src/config-provider/config-provider.d.ts +0 -323
- package/lib/src/config-provider/hooks/use-global-config.d.ts +0 -154
- package/lib/src/config-provider/index.d.ts +0 -691
- package/lib/src/modal/basic.vue.d.ts +0 -465
- package/lib/src/modal/components/modal-footer.vue.d.ts +0 -457
- package/lib/src/modal/components/modal.d.ts +0 -443
- package/lib/src/modal/index.d.ts +0 -963
- package/lib/src/modal/props.d.ts +0 -283
- package/lib/src/pro-form/hooks/use-label-width.d.ts +0 -312
|
@@ -1,343 +0,0 @@
|
|
|
1
|
-
import { ApActionItemPopconfirmProps, ActionColor } from '../interface';
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType, HTMLAttributes, CSSProperties } from 'vue';
|
|
3
|
-
import { LegacyButtonType, ButtonHTMLType } from 'ant-design-vue/es/button/buttonTypes';
|
|
4
|
-
import { ButtonType, ButtonShape, ButtonSize } from 'ant-design-vue/es/button';
|
|
5
|
-
import { VueTypeValidableDef } from '../../../node_modules/vue-types';
|
|
6
|
-
import { MouseEventHandler } from 'ant-design-vue/es/_util/EventInterface';
|
|
7
|
-
import { TriggerType } from 'ant-design-vue/es/tooltip/abstractTooltipProps';
|
|
8
|
-
import { TooltipPlacement, AdjustOverflow } from 'ant-design-vue/es/tooltip';
|
|
9
|
-
import { LiteralUnion } from 'ant-design-vue/es/_util/type';
|
|
10
|
-
import { PresetColorType } from 'ant-design-vue/es/_util/colors';
|
|
11
|
-
import { AlignType, BuildInPlacements } from 'ant-design-vue/es/vc-trigger/interface';
|
|
12
|
-
|
|
13
|
-
declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ApActionItemPopconfirmProps>, {
|
|
14
|
-
color: string;
|
|
15
|
-
disabled: boolean;
|
|
16
|
-
visible: boolean;
|
|
17
|
-
loading: boolean;
|
|
18
|
-
popconfirmProps: () => {};
|
|
19
|
-
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ApActionItemPopconfirmProps>, {
|
|
20
|
-
color: string;
|
|
21
|
-
disabled: boolean;
|
|
22
|
-
visible: boolean;
|
|
23
|
-
loading: boolean;
|
|
24
|
-
popconfirmProps: () => {};
|
|
25
|
-
}>>>, {
|
|
26
|
-
color: ActionColor;
|
|
27
|
-
disabled: boolean;
|
|
28
|
-
visible: boolean;
|
|
29
|
-
loading: boolean;
|
|
30
|
-
popconfirmProps: Partial< ExtractPropTypes<{
|
|
31
|
-
prefixCls: StringConstructor;
|
|
32
|
-
content: {
|
|
33
|
-
default: any;
|
|
34
|
-
type: PropType<any>;
|
|
35
|
-
};
|
|
36
|
-
title: {
|
|
37
|
-
default: string | number;
|
|
38
|
-
type: PropType<string | number>;
|
|
39
|
-
};
|
|
40
|
-
description: {
|
|
41
|
-
default: string | number;
|
|
42
|
-
type: PropType<string | number>;
|
|
43
|
-
};
|
|
44
|
-
okType: {
|
|
45
|
-
type: PropType<LegacyButtonType>;
|
|
46
|
-
default: LegacyButtonType;
|
|
47
|
-
};
|
|
48
|
-
disabled: {
|
|
49
|
-
type: BooleanConstructor;
|
|
50
|
-
default: boolean;
|
|
51
|
-
};
|
|
52
|
-
okText: {
|
|
53
|
-
default: any;
|
|
54
|
-
type: PropType<any>;
|
|
55
|
-
};
|
|
56
|
-
cancelText: {
|
|
57
|
-
default: any;
|
|
58
|
-
type: PropType<any>;
|
|
59
|
-
};
|
|
60
|
-
icon: {
|
|
61
|
-
default: any;
|
|
62
|
-
type: PropType<any>;
|
|
63
|
-
};
|
|
64
|
-
okButtonProps: {
|
|
65
|
-
type: PropType<Partial< ExtractPropTypes<{
|
|
66
|
-
prefixCls: StringConstructor;
|
|
67
|
-
type: PropType<ButtonType>;
|
|
68
|
-
htmlType: {
|
|
69
|
-
type: PropType<ButtonHTMLType>;
|
|
70
|
-
default: string;
|
|
71
|
-
};
|
|
72
|
-
shape: {
|
|
73
|
-
type: PropType<ButtonShape>;
|
|
74
|
-
};
|
|
75
|
-
size: {
|
|
76
|
-
type: PropType<ButtonSize>;
|
|
77
|
-
};
|
|
78
|
-
loading: {
|
|
79
|
-
type: PropType<boolean | {
|
|
80
|
-
delay?: number | undefined;
|
|
81
|
-
}>;
|
|
82
|
-
default: () => boolean | {
|
|
83
|
-
delay?: number | undefined;
|
|
84
|
-
};
|
|
85
|
-
};
|
|
86
|
-
disabled: {
|
|
87
|
-
type: BooleanConstructor;
|
|
88
|
-
default: any;
|
|
89
|
-
};
|
|
90
|
-
ghost: {
|
|
91
|
-
type: BooleanConstructor;
|
|
92
|
-
default: any;
|
|
93
|
-
};
|
|
94
|
-
block: {
|
|
95
|
-
type: BooleanConstructor;
|
|
96
|
-
default: any;
|
|
97
|
-
};
|
|
98
|
-
danger: {
|
|
99
|
-
type: BooleanConstructor;
|
|
100
|
-
default: any;
|
|
101
|
-
};
|
|
102
|
-
icon: VueTypeValidableDef<any>;
|
|
103
|
-
href: StringConstructor;
|
|
104
|
-
target: StringConstructor;
|
|
105
|
-
title: StringConstructor;
|
|
106
|
-
onClick: {
|
|
107
|
-
type: PropType< MouseEventHandler | MouseEventHandler[]>;
|
|
108
|
-
};
|
|
109
|
-
onMousedown: {
|
|
110
|
-
type: PropType< MouseEventHandler | MouseEventHandler[]>;
|
|
111
|
-
};
|
|
112
|
-
}>> & HTMLAttributes>;
|
|
113
|
-
default: Partial< ExtractPropTypes<{
|
|
114
|
-
prefixCls: StringConstructor;
|
|
115
|
-
type: PropType<ButtonType>;
|
|
116
|
-
htmlType: {
|
|
117
|
-
type: PropType<ButtonHTMLType>;
|
|
118
|
-
default: string;
|
|
119
|
-
};
|
|
120
|
-
shape: {
|
|
121
|
-
type: PropType<ButtonShape>;
|
|
122
|
-
};
|
|
123
|
-
size: {
|
|
124
|
-
type: PropType<ButtonSize>;
|
|
125
|
-
};
|
|
126
|
-
loading: {
|
|
127
|
-
type: PropType<boolean | {
|
|
128
|
-
delay?: number | undefined;
|
|
129
|
-
}>;
|
|
130
|
-
default: () => boolean | {
|
|
131
|
-
delay?: number | undefined;
|
|
132
|
-
};
|
|
133
|
-
};
|
|
134
|
-
disabled: {
|
|
135
|
-
type: BooleanConstructor;
|
|
136
|
-
default: any;
|
|
137
|
-
};
|
|
138
|
-
ghost: {
|
|
139
|
-
type: BooleanConstructor;
|
|
140
|
-
default: any;
|
|
141
|
-
};
|
|
142
|
-
block: {
|
|
143
|
-
type: BooleanConstructor;
|
|
144
|
-
default: any;
|
|
145
|
-
};
|
|
146
|
-
danger: {
|
|
147
|
-
type: BooleanConstructor;
|
|
148
|
-
default: any;
|
|
149
|
-
};
|
|
150
|
-
icon: VueTypeValidableDef<any>;
|
|
151
|
-
href: StringConstructor;
|
|
152
|
-
target: StringConstructor;
|
|
153
|
-
title: StringConstructor;
|
|
154
|
-
onClick: {
|
|
155
|
-
type: PropType< MouseEventHandler | MouseEventHandler[]>;
|
|
156
|
-
};
|
|
157
|
-
onMousedown: {
|
|
158
|
-
type: PropType< MouseEventHandler | MouseEventHandler[]>;
|
|
159
|
-
};
|
|
160
|
-
}>> & HTMLAttributes;
|
|
161
|
-
};
|
|
162
|
-
cancelButtonProps: {
|
|
163
|
-
type: PropType<Partial< ExtractPropTypes<{
|
|
164
|
-
prefixCls: StringConstructor;
|
|
165
|
-
type: PropType<ButtonType>;
|
|
166
|
-
htmlType: {
|
|
167
|
-
type: PropType<ButtonHTMLType>;
|
|
168
|
-
default: string;
|
|
169
|
-
};
|
|
170
|
-
shape: {
|
|
171
|
-
type: PropType<ButtonShape>;
|
|
172
|
-
};
|
|
173
|
-
size: {
|
|
174
|
-
type: PropType<ButtonSize>;
|
|
175
|
-
};
|
|
176
|
-
loading: {
|
|
177
|
-
type: PropType<boolean | {
|
|
178
|
-
delay?: number | undefined;
|
|
179
|
-
}>;
|
|
180
|
-
default: () => boolean | {
|
|
181
|
-
delay?: number | undefined;
|
|
182
|
-
};
|
|
183
|
-
};
|
|
184
|
-
disabled: {
|
|
185
|
-
type: BooleanConstructor;
|
|
186
|
-
default: any;
|
|
187
|
-
};
|
|
188
|
-
ghost: {
|
|
189
|
-
type: BooleanConstructor;
|
|
190
|
-
default: any;
|
|
191
|
-
};
|
|
192
|
-
block: {
|
|
193
|
-
type: BooleanConstructor;
|
|
194
|
-
default: any;
|
|
195
|
-
};
|
|
196
|
-
danger: {
|
|
197
|
-
type: BooleanConstructor;
|
|
198
|
-
default: any;
|
|
199
|
-
};
|
|
200
|
-
icon: VueTypeValidableDef<any>;
|
|
201
|
-
href: StringConstructor;
|
|
202
|
-
target: StringConstructor;
|
|
203
|
-
title: StringConstructor;
|
|
204
|
-
onClick: {
|
|
205
|
-
type: PropType< MouseEventHandler | MouseEventHandler[]>;
|
|
206
|
-
};
|
|
207
|
-
onMousedown: {
|
|
208
|
-
type: PropType< MouseEventHandler | MouseEventHandler[]>;
|
|
209
|
-
};
|
|
210
|
-
}>> & HTMLAttributes>;
|
|
211
|
-
default: Partial< ExtractPropTypes<{
|
|
212
|
-
prefixCls: StringConstructor;
|
|
213
|
-
type: PropType<ButtonType>;
|
|
214
|
-
htmlType: {
|
|
215
|
-
type: PropType<ButtonHTMLType>;
|
|
216
|
-
default: string;
|
|
217
|
-
};
|
|
218
|
-
shape: {
|
|
219
|
-
type: PropType<ButtonShape>;
|
|
220
|
-
};
|
|
221
|
-
size: {
|
|
222
|
-
type: PropType<ButtonSize>;
|
|
223
|
-
};
|
|
224
|
-
loading: {
|
|
225
|
-
type: PropType<boolean | {
|
|
226
|
-
delay?: number | undefined;
|
|
227
|
-
}>;
|
|
228
|
-
default: () => boolean | {
|
|
229
|
-
delay?: number | undefined;
|
|
230
|
-
};
|
|
231
|
-
};
|
|
232
|
-
disabled: {
|
|
233
|
-
type: BooleanConstructor;
|
|
234
|
-
default: any;
|
|
235
|
-
};
|
|
236
|
-
ghost: {
|
|
237
|
-
type: BooleanConstructor;
|
|
238
|
-
default: any;
|
|
239
|
-
};
|
|
240
|
-
block: {
|
|
241
|
-
type: BooleanConstructor;
|
|
242
|
-
default: any;
|
|
243
|
-
};
|
|
244
|
-
danger: {
|
|
245
|
-
type: BooleanConstructor;
|
|
246
|
-
default: any;
|
|
247
|
-
};
|
|
248
|
-
icon: VueTypeValidableDef<any>;
|
|
249
|
-
href: StringConstructor;
|
|
250
|
-
target: StringConstructor;
|
|
251
|
-
title: StringConstructor;
|
|
252
|
-
onClick: {
|
|
253
|
-
type: PropType< MouseEventHandler | MouseEventHandler[]>;
|
|
254
|
-
};
|
|
255
|
-
onMousedown: {
|
|
256
|
-
type: PropType< MouseEventHandler | MouseEventHandler[]>;
|
|
257
|
-
};
|
|
258
|
-
}>> & HTMLAttributes;
|
|
259
|
-
};
|
|
260
|
-
showCancel: {
|
|
261
|
-
type: BooleanConstructor;
|
|
262
|
-
default: boolean;
|
|
263
|
-
};
|
|
264
|
-
onConfirm: PropType<(e: MouseEvent) => void>;
|
|
265
|
-
onCancel: PropType<(e: MouseEvent) => void>;
|
|
266
|
-
trigger: PropType< TriggerType | TriggerType[]>;
|
|
267
|
-
open: {
|
|
268
|
-
type: BooleanConstructor;
|
|
269
|
-
default: any;
|
|
270
|
-
};
|
|
271
|
-
visible: {
|
|
272
|
-
type: BooleanConstructor;
|
|
273
|
-
default: any;
|
|
274
|
-
};
|
|
275
|
-
placement: PropType<TooltipPlacement>;
|
|
276
|
-
color: PropType<LiteralUnion<PresetColorType>>;
|
|
277
|
-
transitionName: StringConstructor;
|
|
278
|
-
overlayStyle: {
|
|
279
|
-
type: PropType<CSSProperties>;
|
|
280
|
-
default: CSSProperties;
|
|
281
|
-
};
|
|
282
|
-
overlayInnerStyle: {
|
|
283
|
-
type: PropType<CSSProperties>;
|
|
284
|
-
default: CSSProperties;
|
|
285
|
-
};
|
|
286
|
-
overlayClassName: StringConstructor;
|
|
287
|
-
openClassName: StringConstructor;
|
|
288
|
-
mouseEnterDelay: NumberConstructor;
|
|
289
|
-
mouseLeaveDelay: NumberConstructor;
|
|
290
|
-
getPopupContainer: PropType<(triggerNode: HTMLElement) => HTMLElement>;
|
|
291
|
-
arrowPointAtCenter: {
|
|
292
|
-
type: BooleanConstructor;
|
|
293
|
-
default: any;
|
|
294
|
-
};
|
|
295
|
-
arrow: {
|
|
296
|
-
type: PropType<boolean | {
|
|
297
|
-
pointAtCenter?: boolean | undefined;
|
|
298
|
-
}>;
|
|
299
|
-
default: boolean | {
|
|
300
|
-
pointAtCenter?: boolean | undefined;
|
|
301
|
-
};
|
|
302
|
-
};
|
|
303
|
-
autoAdjustOverflow: {
|
|
304
|
-
type: PropType<boolean | AdjustOverflow>;
|
|
305
|
-
default: boolean | AdjustOverflow;
|
|
306
|
-
};
|
|
307
|
-
destroyTooltipOnHide: {
|
|
308
|
-
type: BooleanConstructor;
|
|
309
|
-
default: any;
|
|
310
|
-
};
|
|
311
|
-
align: {
|
|
312
|
-
type: PropType<AlignType>;
|
|
313
|
-
default: AlignType;
|
|
314
|
-
};
|
|
315
|
-
builtinPlacements: {
|
|
316
|
-
type: PropType<BuildInPlacements>;
|
|
317
|
-
default: BuildInPlacements;
|
|
318
|
-
};
|
|
319
|
-
children: ArrayConstructor;
|
|
320
|
-
onVisibleChange: PropType<(vis: boolean) => void>;
|
|
321
|
-
'onUpdate:visible': PropType<(vis: boolean) => void>;
|
|
322
|
-
onOpenChange: PropType<(vis: boolean) => void>;
|
|
323
|
-
'onUpdate:open': PropType<(vis: boolean) => void>;
|
|
324
|
-
}>>;
|
|
325
|
-
}, {}>;
|
|
326
|
-
export default _default;
|
|
327
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
328
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
329
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
330
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
331
|
-
} : {
|
|
332
|
-
type: PropType<T[K]>;
|
|
333
|
-
required: true;
|
|
334
|
-
};
|
|
335
|
-
};
|
|
336
|
-
type __VLS_WithDefaults<P, D> = {
|
|
337
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
338
|
-
default: D[K];
|
|
339
|
-
}> : P[K];
|
|
340
|
-
};
|
|
341
|
-
type __VLS_Prettify<T> = {
|
|
342
|
-
[K in keyof T]: T[K];
|
|
343
|
-
} & {};
|
|
@@ -1,235 +0,0 @@
|
|
|
1
|
-
import { DefaultOptionType, SelectValue, LabeledValue } from 'ant-design-vue/es/select';
|
|
2
|
-
import { ApFieldSelectProps, FieldMode } from '../interface';
|
|
3
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType, CSSProperties } from 'vue';
|
|
4
|
-
import { VueTypeValidableDef } from '../../../node_modules/vue-types';
|
|
5
|
-
import { ButtonSize } from 'ant-design-vue/es/button';
|
|
6
|
-
import { VueNode } from 'ant-design-vue/es/_util/type';
|
|
7
|
-
import { SelectHandler, FieldNames, FilterFunc } from 'ant-design-vue/es/vc-select/Select';
|
|
8
|
-
import { RenderDOMFunc, DropdownRender, CustomTagProps } from 'ant-design-vue/es/vc-select/BaseSelect';
|
|
9
|
-
import { AlignType } from 'ant-design-vue/es/vc-trigger/interface';
|
|
10
|
-
|
|
11
|
-
type ApFieldSelectSlots = {
|
|
12
|
-
notFoundContent: any;
|
|
13
|
-
suffixIcon: any;
|
|
14
|
-
itemIcon: any;
|
|
15
|
-
removeIcon: any;
|
|
16
|
-
clearIcon: any;
|
|
17
|
-
dropdownRender: any;
|
|
18
|
-
option: any;
|
|
19
|
-
placeholder: any;
|
|
20
|
-
tagRender: any;
|
|
21
|
-
maxTagPlaceholder: any;
|
|
22
|
-
optionLabel: any;
|
|
23
|
-
default: any;
|
|
24
|
-
};
|
|
25
|
-
declare function focus(): void;
|
|
26
|
-
declare function blur(): void;
|
|
27
|
-
declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ApFieldSelectProps>, {
|
|
28
|
-
fieldProps: () => {};
|
|
29
|
-
emptyText: string;
|
|
30
|
-
mode: string;
|
|
31
|
-
}>, {
|
|
32
|
-
focus: typeof focus;
|
|
33
|
-
blur: typeof blur;
|
|
34
|
-
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
35
|
-
"update:value": (...args: any[]) => void;
|
|
36
|
-
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ApFieldSelectProps>, {
|
|
37
|
-
fieldProps: () => {};
|
|
38
|
-
emptyText: string;
|
|
39
|
-
mode: string;
|
|
40
|
-
}>>> & {
|
|
41
|
-
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
42
|
-
}, {
|
|
43
|
-
mode: FieldMode;
|
|
44
|
-
emptyText: string;
|
|
45
|
-
fieldProps: Omit<Partial< ExtractPropTypes<{
|
|
46
|
-
value: {
|
|
47
|
-
type: PropType<SelectValue>;
|
|
48
|
-
default: SelectValue;
|
|
49
|
-
};
|
|
50
|
-
defaultValue: {
|
|
51
|
-
type: PropType<SelectValue>;
|
|
52
|
-
default: SelectValue;
|
|
53
|
-
};
|
|
54
|
-
notFoundContent: VueTypeValidableDef<any>;
|
|
55
|
-
suffixIcon: VueTypeValidableDef<any>;
|
|
56
|
-
itemIcon: VueTypeValidableDef<any>;
|
|
57
|
-
size: {
|
|
58
|
-
type: PropType<ButtonSize>;
|
|
59
|
-
default: ButtonSize;
|
|
60
|
-
};
|
|
61
|
-
mode: {
|
|
62
|
-
type: PropType<"multiple" | "tags" | "SECRET_COMBOBOX_MODE_DO_NOT_USE">;
|
|
63
|
-
default: "multiple" | "tags" | "SECRET_COMBOBOX_MODE_DO_NOT_USE";
|
|
64
|
-
};
|
|
65
|
-
bordered: {
|
|
66
|
-
type: BooleanConstructor;
|
|
67
|
-
default: boolean;
|
|
68
|
-
};
|
|
69
|
-
transitionName: StringConstructor;
|
|
70
|
-
choiceTransitionName: {
|
|
71
|
-
type: PropType<"">;
|
|
72
|
-
default: "";
|
|
73
|
-
};
|
|
74
|
-
popupClassName: StringConstructor;
|
|
75
|
-
dropdownClassName: StringConstructor;
|
|
76
|
-
placement: {
|
|
77
|
-
type: PropType<"bottomLeft" | "bottomRight" | "topLeft" | "topRight">;
|
|
78
|
-
default: "bottomLeft" | "bottomRight" | "topLeft" | "topRight";
|
|
79
|
-
};
|
|
80
|
-
status: {
|
|
81
|
-
type: PropType<"" | "error" | "warning">;
|
|
82
|
-
default: "" | "error" | "warning";
|
|
83
|
-
};
|
|
84
|
-
'onUpdate:value': {
|
|
85
|
-
type: PropType<(val: SelectValue) => void>;
|
|
86
|
-
default: (val: SelectValue) => void;
|
|
87
|
-
};
|
|
88
|
-
children: PropType< VueNode[]>;
|
|
89
|
-
listHeight: NumberConstructor;
|
|
90
|
-
onMouseenter: PropType<(e: MouseEvent) => void>;
|
|
91
|
-
onMouseleave: PropType<(e: MouseEvent) => void>;
|
|
92
|
-
tabindex: NumberConstructor;
|
|
93
|
-
onClick: PropType<(e: MouseEvent) => void>;
|
|
94
|
-
onFocus: {
|
|
95
|
-
type: PropType<(e: FocusEvent) => void>;
|
|
96
|
-
};
|
|
97
|
-
onBlur: {
|
|
98
|
-
type: PropType<(e: FocusEvent) => void>;
|
|
99
|
-
};
|
|
100
|
-
onChange: PropType<(value: SelectValue, option: DefaultOptionType | DefaultOptionType[]) => void>;
|
|
101
|
-
onKeydown: PropType<(e: KeyboardEvent) => void>;
|
|
102
|
-
onKeyup: PropType<(e: KeyboardEvent) => void>;
|
|
103
|
-
onMousedown: PropType<(e: MouseEvent) => void>;
|
|
104
|
-
onSelect: PropType<SelectHandler<(string | number) | LabeledValue, DefaultOptionType>>;
|
|
105
|
-
open: {
|
|
106
|
-
type: BooleanConstructor;
|
|
107
|
-
default: any;
|
|
108
|
-
};
|
|
109
|
-
animation: StringConstructor;
|
|
110
|
-
direction: {
|
|
111
|
-
type: PropType<"ltr" | "rtl">;
|
|
112
|
-
};
|
|
113
|
-
disabled: {
|
|
114
|
-
type: BooleanConstructor;
|
|
115
|
-
default: any;
|
|
116
|
-
};
|
|
117
|
-
prefixCls: StringConstructor;
|
|
118
|
-
id: StringConstructor;
|
|
119
|
-
autofocus: BooleanConstructor;
|
|
120
|
-
getPopupContainer: {
|
|
121
|
-
type: PropType<RenderDOMFunc>;
|
|
122
|
-
};
|
|
123
|
-
virtual: {
|
|
124
|
-
type: BooleanConstructor;
|
|
125
|
-
default: any;
|
|
126
|
-
};
|
|
127
|
-
dropdownMatchSelectWidth: {
|
|
128
|
-
type: PropType<number | boolean>;
|
|
129
|
-
default: any;
|
|
130
|
-
};
|
|
131
|
-
options: PropType<DefaultOptionType[]>;
|
|
132
|
-
showAction: {
|
|
133
|
-
type: PropType<("click" | "focus")[]>;
|
|
134
|
-
};
|
|
135
|
-
placeholder: VueTypeValidableDef<any>;
|
|
136
|
-
onDeselect: PropType<SelectHandler<(string | number) | LabeledValue, DefaultOptionType>>;
|
|
137
|
-
loading: {
|
|
138
|
-
type: BooleanConstructor;
|
|
139
|
-
default: any;
|
|
140
|
-
};
|
|
141
|
-
clearIcon: VueTypeValidableDef<any>;
|
|
142
|
-
allowClear: {
|
|
143
|
-
type: BooleanConstructor;
|
|
144
|
-
default: any;
|
|
145
|
-
};
|
|
146
|
-
onSearch: PropType<(value: string) => void>;
|
|
147
|
-
fieldNames: PropType<FieldNames>;
|
|
148
|
-
dropdownStyle: {
|
|
149
|
-
type: PropType<CSSProperties>;
|
|
150
|
-
};
|
|
151
|
-
dropdownRender: {
|
|
152
|
-
type: PropType<DropdownRender>;
|
|
153
|
-
};
|
|
154
|
-
dropdownAlign: PropType<AlignType>;
|
|
155
|
-
showSearch: {
|
|
156
|
-
type: BooleanConstructor;
|
|
157
|
-
default: any;
|
|
158
|
-
};
|
|
159
|
-
searchValue: StringConstructor;
|
|
160
|
-
onInputKeyDown: PropType<(e: KeyboardEvent) => void>;
|
|
161
|
-
removeIcon: VueTypeValidableDef<any>;
|
|
162
|
-
maxTagCount: {
|
|
163
|
-
type: PropType<number | "responsive">;
|
|
164
|
-
};
|
|
165
|
-
maxTagTextLength: NumberConstructor;
|
|
166
|
-
maxTagPlaceholder: VueTypeValidableDef<any>;
|
|
167
|
-
tokenSeparators: {
|
|
168
|
-
type: PropType<string[]>;
|
|
169
|
-
};
|
|
170
|
-
tagRender: {
|
|
171
|
-
type: PropType<(props: CustomTagProps) => any>;
|
|
172
|
-
};
|
|
173
|
-
optionLabelRender: {
|
|
174
|
-
type: PropType<(option: Record<string, any>) => any>;
|
|
175
|
-
};
|
|
176
|
-
onClear: PropType<() => void>;
|
|
177
|
-
defaultOpen: {
|
|
178
|
-
type: BooleanConstructor;
|
|
179
|
-
default: any;
|
|
180
|
-
};
|
|
181
|
-
onDropdownVisibleChange: {
|
|
182
|
-
type: PropType<(open: boolean) => void>;
|
|
183
|
-
};
|
|
184
|
-
showArrow: {
|
|
185
|
-
type: BooleanConstructor;
|
|
186
|
-
default: any;
|
|
187
|
-
};
|
|
188
|
-
onPopupScroll: PropType<(e: UIEvent) => void>;
|
|
189
|
-
menuItemSelectedIcon: VueTypeValidableDef<any>;
|
|
190
|
-
listItemHeight: NumberConstructor;
|
|
191
|
-
inputValue: StringConstructor;
|
|
192
|
-
autoClearSearchValue: {
|
|
193
|
-
type: BooleanConstructor;
|
|
194
|
-
default: any;
|
|
195
|
-
};
|
|
196
|
-
filterOption: {
|
|
197
|
-
type: PropType<boolean | FilterFunc<DefaultOptionType>>;
|
|
198
|
-
default: any;
|
|
199
|
-
};
|
|
200
|
-
filterSort: PropType<(optionA: DefaultOptionType, optionB: DefaultOptionType) => number>;
|
|
201
|
-
optionFilterProp: StringConstructor;
|
|
202
|
-
optionLabelProp: StringConstructor;
|
|
203
|
-
defaultActiveFirstOption: {
|
|
204
|
-
type: BooleanConstructor;
|
|
205
|
-
default: any;
|
|
206
|
-
};
|
|
207
|
-
labelInValue: {
|
|
208
|
-
type: BooleanConstructor;
|
|
209
|
-
default: any;
|
|
210
|
-
};
|
|
211
|
-
}>>, "mode" | "value" | "onUpdate:value" | "onSearch">;
|
|
212
|
-
}, {}>, Readonly<ApFieldSelectSlots> & ApFieldSelectSlots>;
|
|
213
|
-
export default _default;
|
|
214
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
215
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
216
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
217
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
218
|
-
} : {
|
|
219
|
-
type: PropType<T[K]>;
|
|
220
|
-
required: true;
|
|
221
|
-
};
|
|
222
|
-
};
|
|
223
|
-
type __VLS_WithDefaults<P, D> = {
|
|
224
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
225
|
-
default: D[K];
|
|
226
|
-
}> : P[K];
|
|
227
|
-
};
|
|
228
|
-
type __VLS_Prettify<T> = {
|
|
229
|
-
[K in keyof T]: T[K];
|
|
230
|
-
} & {};
|
|
231
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
232
|
-
new (): {
|
|
233
|
-
$slots: S;
|
|
234
|
-
};
|
|
235
|
-
};
|