@aplus-frontend/ui 7.17.0 → 7.17.1
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/ap-field/cascader/index.vue.mjs +86 -131
- package/es/src/ap-field/cascader/read.vue2.mjs +36 -35
- package/es/src/ap-field/checkbox/index.vue.d.ts +18 -1
- package/es/src/ap-field/checkbox/index.vue.mjs +42 -43
- package/es/src/ap-field/checkbox/read.vue2.mjs +1 -1
- package/es/src/ap-field/date/index.vue.mjs +48 -48
- package/es/src/ap-field/date/read.vue2.mjs +1 -1
- package/es/src/ap-field/date-range/index.vue.mjs +31 -31
- package/es/src/ap-field/date-range/read.vue2.mjs +1 -1
- package/es/src/ap-field/interface.d.ts +7 -22
- package/es/src/ap-field/number/index.vue.mjs +36 -34
- package/es/src/ap-field/number/read.vue2.mjs +1 -1
- package/es/src/ap-field/radio/index.vue.mjs +34 -42
- package/es/src/ap-field/radio/read.vue2.mjs +1 -1
- package/es/src/ap-field/rate/index.vue.mjs +23 -23
- package/es/src/ap-field/second/index.vue.mjs +27 -29
- package/es/src/ap-field/second/read.vue2.mjs +2 -2
- package/es/src/ap-field/segmented/index.vue.mjs +37 -37
- package/es/src/ap-field/select/index.vue.mjs +90 -92
- package/es/src/ap-field/select/read.vue2.mjs +1 -1
- package/es/src/ap-field/slider/index.vue.mjs +35 -37
- package/es/src/ap-field/switch/index.vue.mjs +38 -38
- package/es/src/ap-field/switch/read.vue2.mjs +3 -3
- package/es/src/ap-field/text/index.vue.d.ts +478 -3
- package/es/src/ap-field/text/index.vue2.mjs +47 -46
- package/es/src/ap-field/text/password.vue.d.ts +549 -3
- package/es/src/ap-field/text/password.vue.mjs +61 -56
- package/es/src/ap-field/text/read-password.vue2.mjs +16 -16
- package/es/src/ap-field/text/read.vue2.mjs +1 -1
- package/es/src/ap-field/text-area/index.vue.mjs +29 -31
- package/es/src/ap-field/text-area/read.vue2.mjs +1 -1
- package/es/src/ap-field/tree-select/index.vue.mjs +47 -47
- package/es/src/ap-field/tree-select/read.vue2.mjs +3 -3
- package/es/src/ap-form/drawer-form/index.vue.mjs +99 -90
- package/es/src/ap-form/hooks/use-regist-form.d.ts +7 -0
- package/es/src/ap-form/hooks/use-regist-form.mjs +24 -0
- package/es/src/ap-form/item/index.vue.d.ts +6 -6
- package/es/src/ap-form/item/index.vue.mjs +85 -94
- package/es/src/ap-form/item-group/index.vue.mjs +14 -14
- package/es/src/ap-form/items/cascader/index.vue.d.ts +2 -2
- package/es/src/ap-form/items/checkbox/index.vue.d.ts +159 -47
- package/es/src/ap-form/items/date/index.vue.d.ts +2 -2
- package/es/src/ap-form/items/date-range/index.vue.d.ts +2 -2
- package/es/src/ap-form/items/number/index.vue.d.ts +2 -2
- package/es/src/ap-form/items/select/index.vue.d.ts +2 -2
- package/es/src/ap-form/items/switch/index.vue.d.ts +2 -2
- package/es/src/ap-form/items/text/index.vue.d.ts +476 -4
- package/es/src/ap-form/items/text/password.vue.d.ts +547 -4
- package/es/src/ap-form/items/tree-select/index.vue.d.ts +2 -2
- package/es/src/ap-form/list/index.vue.mjs +29 -34
- package/es/src/ap-form/modal-form/index.vue.mjs +77 -68
- package/es/src/ap-form/set/index.vue.d.ts +2 -4
- package/es/src/ap-form/set/index.vue.mjs +23 -18
- package/es/src/ap-grid/index.vue.mjs +1 -1
- package/es/src/ap-table/constants.d.ts +593 -31
- package/es/src/ap-table/utils.d.ts +1 -1
- package/es/src/business/batch-input-group/index.vue.d.ts +240 -3
- package/es/src/business/batch-input-group/index.vue.mjs +1 -1
- package/es/src/version.d.ts +1 -1
- package/es/src/version.mjs +1 -1
- package/lib/src/ap-field/cascader/index.vue.js +1 -1
- package/lib/src/ap-field/cascader/read.vue2.js +1 -1
- package/lib/src/ap-field/checkbox/index.vue.d.ts +18 -1
- package/lib/src/ap-field/checkbox/index.vue.js +1 -1
- package/lib/src/ap-field/checkbox/read.vue2.js +1 -1
- package/lib/src/ap-field/date/index.vue.js +1 -1
- package/lib/src/ap-field/date/read.vue2.js +1 -1
- package/lib/src/ap-field/date-range/index.vue.js +1 -1
- package/lib/src/ap-field/date-range/read.vue2.js +1 -1
- package/lib/src/ap-field/interface.d.ts +7 -22
- package/lib/src/ap-field/number/index.vue.js +1 -1
- package/lib/src/ap-field/number/read.vue2.js +1 -1
- package/lib/src/ap-field/radio/index.vue.js +1 -1
- package/lib/src/ap-field/radio/read.vue2.js +1 -1
- package/lib/src/ap-field/rate/index.vue.js +1 -1
- package/lib/src/ap-field/second/index.vue.js +1 -1
- package/lib/src/ap-field/second/read.vue2.js +1 -1
- package/lib/src/ap-field/segmented/index.vue.js +1 -1
- package/lib/src/ap-field/select/index.vue.js +1 -1
- package/lib/src/ap-field/select/read.vue2.js +1 -1
- package/lib/src/ap-field/slider/index.vue.js +1 -1
- package/lib/src/ap-field/switch/index.vue.js +1 -1
- package/lib/src/ap-field/switch/read.vue2.js +1 -1
- package/lib/src/ap-field/text/index.vue.d.ts +478 -3
- package/lib/src/ap-field/text/index.vue2.js +1 -1
- package/lib/src/ap-field/text/password.vue.d.ts +549 -3
- package/lib/src/ap-field/text/password.vue.js +1 -1
- package/lib/src/ap-field/text/read-password.vue2.js +1 -1
- package/lib/src/ap-field/text/read.vue2.js +1 -1
- package/lib/src/ap-field/text-area/index.vue.js +1 -1
- package/lib/src/ap-field/text-area/read.vue2.js +1 -1
- package/lib/src/ap-field/tree-select/index.vue.js +1 -1
- package/lib/src/ap-field/tree-select/read.vue2.js +1 -1
- package/lib/src/ap-form/drawer-form/index.vue.js +1 -1
- package/lib/src/ap-form/hooks/use-regist-form.d.ts +7 -0
- package/lib/src/ap-form/hooks/use-regist-form.js +1 -0
- package/lib/src/ap-form/item/index.vue.d.ts +6 -6
- package/lib/src/ap-form/item/index.vue.js +1 -1
- package/lib/src/ap-form/item-group/index.vue.js +1 -1
- package/lib/src/ap-form/items/cascader/index.vue.d.ts +2 -2
- package/lib/src/ap-form/items/checkbox/index.vue.d.ts +159 -47
- package/lib/src/ap-form/items/date/index.vue.d.ts +2 -2
- package/lib/src/ap-form/items/date-range/index.vue.d.ts +2 -2
- package/lib/src/ap-form/items/number/index.vue.d.ts +2 -2
- package/lib/src/ap-form/items/select/index.vue.d.ts +2 -2
- package/lib/src/ap-form/items/switch/index.vue.d.ts +2 -2
- package/lib/src/ap-form/items/text/index.vue.d.ts +476 -4
- package/lib/src/ap-form/items/text/password.vue.d.ts +547 -4
- package/lib/src/ap-form/items/tree-select/index.vue.d.ts +2 -2
- package/lib/src/ap-form/list/index.vue.js +1 -1
- package/lib/src/ap-form/modal-form/index.vue.js +1 -1
- package/lib/src/ap-form/set/index.vue.d.ts +2 -4
- package/lib/src/ap-form/set/index.vue.js +1 -1
- package/lib/src/ap-grid/index.vue.js +1 -1
- package/lib/src/ap-table/constants.d.ts +593 -31
- package/lib/src/ap-table/utils.d.ts +1 -1
- package/lib/src/business/batch-input-group/index.vue.d.ts +240 -3
- package/lib/src/business/batch-input-group/index.vue.js +1 -1
- package/lib/src/version.d.ts +1 -1
- package/lib/src/version.js +1 -1
- package/package.json +1 -1
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { ApFormItemSlots } from '../../interface';
|
|
2
2
|
import { ApFormItemTextPasswordProps } from '../interface';
|
|
3
|
-
import { ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps,
|
|
3
|
+
import { ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, Slot, ComponentPublicInstance, ComponentOptionsBase, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, DefineComponent } from 'vue';
|
|
4
4
|
import { FieldMode, ApFieldTextPasswordProps } from '../../..';
|
|
5
|
-
import { ButtonSize } from '@aplus-frontend/antdv/es/button';
|
|
5
|
+
import { ButtonSize, SizeType } from '@aplus-frontend/antdv/es/button';
|
|
6
6
|
import { FocusEventHandler, ChangeEventHandler, CompositionEventHandler, KeyboardEventHandler, MouseEventHandler } from '@aplus-frontend/antdv/es/_util/EventInterface';
|
|
7
7
|
import { ShowCountProps } from '@aplus-frontend/antdv/es/vc-input/inputProps';
|
|
8
|
+
import { VueTypeValidableDef } from '../../../../node_modules/vue-types';
|
|
8
9
|
import { OnCleanup } from '@vue/reactivity';
|
|
9
10
|
declare function __VLS_template(): {
|
|
10
11
|
attrs: Partial<{}>;
|
|
@@ -31,6 +32,7 @@ declare function __VLS_template(): {
|
|
|
31
32
|
readonly mode?: FieldMode | undefined;
|
|
32
33
|
readonly class?: unknown;
|
|
33
34
|
readonly style?: unknown;
|
|
35
|
+
readonly emptyText?: string | undefined;
|
|
34
36
|
readonly type?: "number" | "reset" | "submit" | "button" | "search" | "time" | "month" | "date" | "week" | "hidden" | "checkbox" | "radio" | "color" | "text" | "range" | "image" | "url" | "email" | "datetime-local" | "file" | "password" | "tel" | undefined;
|
|
35
37
|
readonly variant?: "filled" | "outlined" | "borderless" | "underlined" | undefined;
|
|
36
38
|
readonly lazy?: boolean | undefined;
|
|
@@ -81,13 +83,283 @@ declare function __VLS_template(): {
|
|
|
81
83
|
readonly visibilityToggle?: boolean | undefined;
|
|
82
84
|
readonly visible?: boolean | undefined;
|
|
83
85
|
readonly 'onUpdate:visible'?: (((visible: boolean) => void) & ((...args: any[]) => any)) | undefined;
|
|
84
|
-
readonly emptyText?: string | undefined;
|
|
85
86
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
86
87
|
$attrs: {
|
|
87
88
|
[x: string]: unknown;
|
|
88
89
|
};
|
|
89
90
|
$refs: {
|
|
90
91
|
[x: string]: unknown;
|
|
92
|
+
} & {
|
|
93
|
+
inputRef: CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
|
|
94
|
+
prefixCls: StringConstructor;
|
|
95
|
+
inputPrefixCls: StringConstructor;
|
|
96
|
+
action: {
|
|
97
|
+
type: StringConstructor;
|
|
98
|
+
default: string;
|
|
99
|
+
};
|
|
100
|
+
visibilityToggle: {
|
|
101
|
+
type: BooleanConstructor;
|
|
102
|
+
default: boolean;
|
|
103
|
+
};
|
|
104
|
+
visible: {
|
|
105
|
+
type: BooleanConstructor;
|
|
106
|
+
default: any;
|
|
107
|
+
};
|
|
108
|
+
'onUpdate:visible': PropType<(visible: boolean) => void>;
|
|
109
|
+
iconRender: FunctionConstructor;
|
|
110
|
+
variant: {
|
|
111
|
+
type: PropType<"filled" | "outlined" | "borderless" | "underlined">;
|
|
112
|
+
default: "filled" | "outlined" | "borderless" | "underlined";
|
|
113
|
+
};
|
|
114
|
+
size: {
|
|
115
|
+
type: PropType<SizeType>;
|
|
116
|
+
};
|
|
117
|
+
value: {
|
|
118
|
+
type: PropType<string | number>;
|
|
119
|
+
default: any;
|
|
120
|
+
};
|
|
121
|
+
name: StringConstructor;
|
|
122
|
+
type: {
|
|
123
|
+
type: PropType<"number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "datetime-local" | "file" | "password" | "tel">;
|
|
124
|
+
default: "number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "datetime-local" | "file" | "password" | "tel";
|
|
125
|
+
};
|
|
126
|
+
onCompositionend: PropType<CompositionEventHandler>;
|
|
127
|
+
onCompositionstart: PropType<CompositionEventHandler>;
|
|
128
|
+
onFocus: PropType<FocusEventHandler>;
|
|
129
|
+
onBlur: PropType<FocusEventHandler>;
|
|
130
|
+
onChange: PropType<ChangeEventHandler>;
|
|
131
|
+
onInput: PropType<ChangeEventHandler>;
|
|
132
|
+
onKeydown: PropType<KeyboardEventHandler>;
|
|
133
|
+
onKeyup: PropType<KeyboardEventHandler>;
|
|
134
|
+
onMousedown: {
|
|
135
|
+
type: PropType<MouseEventHandler>;
|
|
136
|
+
default: any;
|
|
137
|
+
};
|
|
138
|
+
focused: {
|
|
139
|
+
type: BooleanConstructor;
|
|
140
|
+
default: any;
|
|
141
|
+
};
|
|
142
|
+
hidden: {
|
|
143
|
+
type: BooleanConstructor;
|
|
144
|
+
default: any;
|
|
145
|
+
};
|
|
146
|
+
disabled: {
|
|
147
|
+
type: BooleanConstructor;
|
|
148
|
+
default: any;
|
|
149
|
+
};
|
|
150
|
+
id: StringConstructor;
|
|
151
|
+
readonly: {
|
|
152
|
+
type: BooleanConstructor;
|
|
153
|
+
default: any;
|
|
154
|
+
};
|
|
155
|
+
autofocus: {
|
|
156
|
+
type: BooleanConstructor;
|
|
157
|
+
default: any;
|
|
158
|
+
};
|
|
159
|
+
autocomplete: StringConstructor;
|
|
160
|
+
placeholder: {
|
|
161
|
+
type: PropType<string | number>;
|
|
162
|
+
};
|
|
163
|
+
lazy: {
|
|
164
|
+
type: BooleanConstructor;
|
|
165
|
+
default: boolean;
|
|
166
|
+
};
|
|
167
|
+
maxlength: NumberConstructor;
|
|
168
|
+
loading: {
|
|
169
|
+
type: BooleanConstructor;
|
|
170
|
+
default: any;
|
|
171
|
+
};
|
|
172
|
+
bordered: {
|
|
173
|
+
type: BooleanConstructor;
|
|
174
|
+
default: any;
|
|
175
|
+
};
|
|
176
|
+
showCount: {
|
|
177
|
+
type: PropType<boolean | ShowCountProps>;
|
|
178
|
+
};
|
|
179
|
+
htmlSize: NumberConstructor;
|
|
180
|
+
onPressEnter: PropType<KeyboardEventHandler>;
|
|
181
|
+
onMouseUp: {
|
|
182
|
+
type: PropType<MouseEventHandler>;
|
|
183
|
+
default: any;
|
|
184
|
+
};
|
|
185
|
+
onRawInput: PropType<ChangeEventHandler>;
|
|
186
|
+
'onUpdate:value': PropType<(val: string) => void>;
|
|
187
|
+
valueModifiers: ObjectConstructor;
|
|
188
|
+
status: PropType<"" | "error" | "warning">;
|
|
189
|
+
defaultValue: {
|
|
190
|
+
type: PropType<string | number>;
|
|
191
|
+
default: any;
|
|
192
|
+
};
|
|
193
|
+
inputElement: VueTypeValidableDef<any>;
|
|
194
|
+
triggerFocus: PropType<() => void>;
|
|
195
|
+
handleReset: PropType<MouseEventHandler>;
|
|
196
|
+
addonBefore: VueTypeValidableDef<any>;
|
|
197
|
+
addonAfter: VueTypeValidableDef<any>;
|
|
198
|
+
prefix: VueTypeValidableDef<any>;
|
|
199
|
+
suffix: VueTypeValidableDef<any>;
|
|
200
|
+
clearIcon: VueTypeValidableDef<any>;
|
|
201
|
+
allowClear: {
|
|
202
|
+
type: BooleanConstructor;
|
|
203
|
+
default: any;
|
|
204
|
+
};
|
|
205
|
+
}>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
206
|
+
value: string | number;
|
|
207
|
+
type: "number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "datetime-local" | "file" | "password" | "tel";
|
|
208
|
+
onMousedown: MouseEventHandler;
|
|
209
|
+
focused: boolean;
|
|
210
|
+
hidden: boolean;
|
|
211
|
+
visible: boolean;
|
|
212
|
+
disabled: boolean;
|
|
213
|
+
readonly: boolean;
|
|
214
|
+
autofocus: boolean;
|
|
215
|
+
variant: "filled" | "outlined" | "borderless" | "underlined";
|
|
216
|
+
lazy: boolean;
|
|
217
|
+
loading: boolean;
|
|
218
|
+
bordered: boolean;
|
|
219
|
+
onMouseUp: MouseEventHandler;
|
|
220
|
+
defaultValue: string | number;
|
|
221
|
+
allowClear: boolean;
|
|
222
|
+
action: string;
|
|
223
|
+
visibilityToggle: boolean;
|
|
224
|
+
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
225
|
+
P: {};
|
|
226
|
+
B: {};
|
|
227
|
+
D: {};
|
|
228
|
+
C: {};
|
|
229
|
+
M: {};
|
|
230
|
+
Defaults: {};
|
|
231
|
+
}, Readonly< ExtractPropTypes<{
|
|
232
|
+
prefixCls: StringConstructor;
|
|
233
|
+
inputPrefixCls: StringConstructor;
|
|
234
|
+
action: {
|
|
235
|
+
type: StringConstructor;
|
|
236
|
+
default: string;
|
|
237
|
+
};
|
|
238
|
+
visibilityToggle: {
|
|
239
|
+
type: BooleanConstructor;
|
|
240
|
+
default: boolean;
|
|
241
|
+
};
|
|
242
|
+
visible: {
|
|
243
|
+
type: BooleanConstructor;
|
|
244
|
+
default: any;
|
|
245
|
+
};
|
|
246
|
+
'onUpdate:visible': PropType<(visible: boolean) => void>;
|
|
247
|
+
iconRender: FunctionConstructor;
|
|
248
|
+
variant: {
|
|
249
|
+
type: PropType<"filled" | "outlined" | "borderless" | "underlined">;
|
|
250
|
+
default: "filled" | "outlined" | "borderless" | "underlined";
|
|
251
|
+
};
|
|
252
|
+
size: {
|
|
253
|
+
type: PropType<SizeType>;
|
|
254
|
+
};
|
|
255
|
+
value: {
|
|
256
|
+
type: PropType<string | number>;
|
|
257
|
+
default: any;
|
|
258
|
+
};
|
|
259
|
+
name: StringConstructor;
|
|
260
|
+
type: {
|
|
261
|
+
type: PropType<"number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "datetime-local" | "file" | "password" | "tel">;
|
|
262
|
+
default: "number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "datetime-local" | "file" | "password" | "tel";
|
|
263
|
+
};
|
|
264
|
+
onCompositionend: PropType<CompositionEventHandler>;
|
|
265
|
+
onCompositionstart: PropType<CompositionEventHandler>;
|
|
266
|
+
onFocus: PropType<FocusEventHandler>;
|
|
267
|
+
onBlur: PropType<FocusEventHandler>;
|
|
268
|
+
onChange: PropType<ChangeEventHandler>;
|
|
269
|
+
onInput: PropType<ChangeEventHandler>;
|
|
270
|
+
onKeydown: PropType<KeyboardEventHandler>;
|
|
271
|
+
onKeyup: PropType<KeyboardEventHandler>;
|
|
272
|
+
onMousedown: {
|
|
273
|
+
type: PropType<MouseEventHandler>;
|
|
274
|
+
default: any;
|
|
275
|
+
};
|
|
276
|
+
focused: {
|
|
277
|
+
type: BooleanConstructor;
|
|
278
|
+
default: any;
|
|
279
|
+
};
|
|
280
|
+
hidden: {
|
|
281
|
+
type: BooleanConstructor;
|
|
282
|
+
default: any;
|
|
283
|
+
};
|
|
284
|
+
disabled: {
|
|
285
|
+
type: BooleanConstructor;
|
|
286
|
+
default: any;
|
|
287
|
+
};
|
|
288
|
+
id: StringConstructor;
|
|
289
|
+
readonly: {
|
|
290
|
+
type: BooleanConstructor;
|
|
291
|
+
default: any;
|
|
292
|
+
};
|
|
293
|
+
autofocus: {
|
|
294
|
+
type: BooleanConstructor;
|
|
295
|
+
default: any;
|
|
296
|
+
};
|
|
297
|
+
autocomplete: StringConstructor;
|
|
298
|
+
placeholder: {
|
|
299
|
+
type: PropType<string | number>;
|
|
300
|
+
};
|
|
301
|
+
lazy: {
|
|
302
|
+
type: BooleanConstructor;
|
|
303
|
+
default: boolean;
|
|
304
|
+
};
|
|
305
|
+
maxlength: NumberConstructor;
|
|
306
|
+
loading: {
|
|
307
|
+
type: BooleanConstructor;
|
|
308
|
+
default: any;
|
|
309
|
+
};
|
|
310
|
+
bordered: {
|
|
311
|
+
type: BooleanConstructor;
|
|
312
|
+
default: any;
|
|
313
|
+
};
|
|
314
|
+
showCount: {
|
|
315
|
+
type: PropType<boolean | ShowCountProps>;
|
|
316
|
+
};
|
|
317
|
+
htmlSize: NumberConstructor;
|
|
318
|
+
onPressEnter: PropType<KeyboardEventHandler>;
|
|
319
|
+
onMouseUp: {
|
|
320
|
+
type: PropType<MouseEventHandler>;
|
|
321
|
+
default: any;
|
|
322
|
+
};
|
|
323
|
+
onRawInput: PropType<ChangeEventHandler>;
|
|
324
|
+
'onUpdate:value': PropType<(val: string) => void>;
|
|
325
|
+
valueModifiers: ObjectConstructor;
|
|
326
|
+
status: PropType<"" | "error" | "warning">;
|
|
327
|
+
defaultValue: {
|
|
328
|
+
type: PropType<string | number>;
|
|
329
|
+
default: any;
|
|
330
|
+
};
|
|
331
|
+
inputElement: VueTypeValidableDef<any>;
|
|
332
|
+
triggerFocus: PropType<() => void>;
|
|
333
|
+
handleReset: PropType<MouseEventHandler>;
|
|
334
|
+
addonBefore: VueTypeValidableDef<any>;
|
|
335
|
+
addonAfter: VueTypeValidableDef<any>;
|
|
336
|
+
prefix: VueTypeValidableDef<any>;
|
|
337
|
+
suffix: VueTypeValidableDef<any>;
|
|
338
|
+
clearIcon: VueTypeValidableDef<any>;
|
|
339
|
+
allowClear: {
|
|
340
|
+
type: BooleanConstructor;
|
|
341
|
+
default: any;
|
|
342
|
+
};
|
|
343
|
+
}>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, {
|
|
344
|
+
value: string | number;
|
|
345
|
+
type: "number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "datetime-local" | "file" | "password" | "tel";
|
|
346
|
+
onMousedown: MouseEventHandler;
|
|
347
|
+
focused: boolean;
|
|
348
|
+
hidden: boolean;
|
|
349
|
+
visible: boolean;
|
|
350
|
+
disabled: boolean;
|
|
351
|
+
readonly: boolean;
|
|
352
|
+
autofocus: boolean;
|
|
353
|
+
variant: "filled" | "outlined" | "borderless" | "underlined";
|
|
354
|
+
lazy: boolean;
|
|
355
|
+
loading: boolean;
|
|
356
|
+
bordered: boolean;
|
|
357
|
+
onMouseUp: MouseEventHandler;
|
|
358
|
+
defaultValue: string | number;
|
|
359
|
+
allowClear: boolean;
|
|
360
|
+
action: string;
|
|
361
|
+
visibilityToggle: boolean;
|
|
362
|
+
}> | null;
|
|
91
363
|
};
|
|
92
364
|
$slots: Readonly<{
|
|
93
365
|
[name: string]: Slot<any> | undefined;
|
|
@@ -194,6 +466,7 @@ declare const __VLS_component: DefineComponent<ApFormItemTextPasswordProps, {
|
|
|
194
466
|
readonly mode?: FieldMode | undefined;
|
|
195
467
|
readonly class?: unknown;
|
|
196
468
|
readonly style?: unknown;
|
|
469
|
+
readonly emptyText?: string | undefined;
|
|
197
470
|
readonly type?: "number" | "reset" | "submit" | "button" | "search" | "time" | "month" | "date" | "week" | "hidden" | "checkbox" | "radio" | "color" | "text" | "range" | "image" | "url" | "email" | "datetime-local" | "file" | "password" | "tel" | undefined;
|
|
198
471
|
readonly variant?: "filled" | "outlined" | "borderless" | "underlined" | undefined;
|
|
199
472
|
readonly lazy?: boolean | undefined;
|
|
@@ -244,13 +517,283 @@ declare const __VLS_component: DefineComponent<ApFormItemTextPasswordProps, {
|
|
|
244
517
|
readonly visibilityToggle?: boolean | undefined;
|
|
245
518
|
readonly visible?: boolean | undefined;
|
|
246
519
|
readonly 'onUpdate:visible'?: (((visible: boolean) => void) & ((...args: any[]) => any)) | undefined;
|
|
247
|
-
readonly emptyText?: string | undefined;
|
|
248
520
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
249
521
|
$attrs: {
|
|
250
522
|
[x: string]: unknown;
|
|
251
523
|
};
|
|
252
524
|
$refs: {
|
|
253
525
|
[x: string]: unknown;
|
|
526
|
+
} & {
|
|
527
|
+
inputRef: CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
|
|
528
|
+
prefixCls: StringConstructor;
|
|
529
|
+
inputPrefixCls: StringConstructor;
|
|
530
|
+
action: {
|
|
531
|
+
type: StringConstructor;
|
|
532
|
+
default: string;
|
|
533
|
+
};
|
|
534
|
+
visibilityToggle: {
|
|
535
|
+
type: BooleanConstructor;
|
|
536
|
+
default: boolean;
|
|
537
|
+
};
|
|
538
|
+
visible: {
|
|
539
|
+
type: BooleanConstructor;
|
|
540
|
+
default: any;
|
|
541
|
+
};
|
|
542
|
+
'onUpdate:visible': PropType<(visible: boolean) => void>;
|
|
543
|
+
iconRender: FunctionConstructor;
|
|
544
|
+
variant: {
|
|
545
|
+
type: PropType<"filled" | "outlined" | "borderless" | "underlined">;
|
|
546
|
+
default: "filled" | "outlined" | "borderless" | "underlined";
|
|
547
|
+
};
|
|
548
|
+
size: {
|
|
549
|
+
type: PropType<SizeType>;
|
|
550
|
+
};
|
|
551
|
+
value: {
|
|
552
|
+
type: PropType<string | number>;
|
|
553
|
+
default: any;
|
|
554
|
+
};
|
|
555
|
+
name: StringConstructor;
|
|
556
|
+
type: {
|
|
557
|
+
type: PropType<"number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "datetime-local" | "file" | "password" | "tel">;
|
|
558
|
+
default: "number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "datetime-local" | "file" | "password" | "tel";
|
|
559
|
+
};
|
|
560
|
+
onCompositionend: PropType<CompositionEventHandler>;
|
|
561
|
+
onCompositionstart: PropType<CompositionEventHandler>;
|
|
562
|
+
onFocus: PropType<FocusEventHandler>;
|
|
563
|
+
onBlur: PropType<FocusEventHandler>;
|
|
564
|
+
onChange: PropType<ChangeEventHandler>;
|
|
565
|
+
onInput: PropType<ChangeEventHandler>;
|
|
566
|
+
onKeydown: PropType<KeyboardEventHandler>;
|
|
567
|
+
onKeyup: PropType<KeyboardEventHandler>;
|
|
568
|
+
onMousedown: {
|
|
569
|
+
type: PropType<MouseEventHandler>;
|
|
570
|
+
default: any;
|
|
571
|
+
};
|
|
572
|
+
focused: {
|
|
573
|
+
type: BooleanConstructor;
|
|
574
|
+
default: any;
|
|
575
|
+
};
|
|
576
|
+
hidden: {
|
|
577
|
+
type: BooleanConstructor;
|
|
578
|
+
default: any;
|
|
579
|
+
};
|
|
580
|
+
disabled: {
|
|
581
|
+
type: BooleanConstructor;
|
|
582
|
+
default: any;
|
|
583
|
+
};
|
|
584
|
+
id: StringConstructor;
|
|
585
|
+
readonly: {
|
|
586
|
+
type: BooleanConstructor;
|
|
587
|
+
default: any;
|
|
588
|
+
};
|
|
589
|
+
autofocus: {
|
|
590
|
+
type: BooleanConstructor;
|
|
591
|
+
default: any;
|
|
592
|
+
};
|
|
593
|
+
autocomplete: StringConstructor;
|
|
594
|
+
placeholder: {
|
|
595
|
+
type: PropType<string | number>;
|
|
596
|
+
};
|
|
597
|
+
lazy: {
|
|
598
|
+
type: BooleanConstructor;
|
|
599
|
+
default: boolean;
|
|
600
|
+
};
|
|
601
|
+
maxlength: NumberConstructor;
|
|
602
|
+
loading: {
|
|
603
|
+
type: BooleanConstructor;
|
|
604
|
+
default: any;
|
|
605
|
+
};
|
|
606
|
+
bordered: {
|
|
607
|
+
type: BooleanConstructor;
|
|
608
|
+
default: any;
|
|
609
|
+
};
|
|
610
|
+
showCount: {
|
|
611
|
+
type: PropType<boolean | ShowCountProps>;
|
|
612
|
+
};
|
|
613
|
+
htmlSize: NumberConstructor;
|
|
614
|
+
onPressEnter: PropType<KeyboardEventHandler>;
|
|
615
|
+
onMouseUp: {
|
|
616
|
+
type: PropType<MouseEventHandler>;
|
|
617
|
+
default: any;
|
|
618
|
+
};
|
|
619
|
+
onRawInput: PropType<ChangeEventHandler>;
|
|
620
|
+
'onUpdate:value': PropType<(val: string) => void>;
|
|
621
|
+
valueModifiers: ObjectConstructor;
|
|
622
|
+
status: PropType<"" | "error" | "warning">;
|
|
623
|
+
defaultValue: {
|
|
624
|
+
type: PropType<string | number>;
|
|
625
|
+
default: any;
|
|
626
|
+
};
|
|
627
|
+
inputElement: VueTypeValidableDef<any>;
|
|
628
|
+
triggerFocus: PropType<() => void>;
|
|
629
|
+
handleReset: PropType<MouseEventHandler>;
|
|
630
|
+
addonBefore: VueTypeValidableDef<any>;
|
|
631
|
+
addonAfter: VueTypeValidableDef<any>;
|
|
632
|
+
prefix: VueTypeValidableDef<any>;
|
|
633
|
+
suffix: VueTypeValidableDef<any>;
|
|
634
|
+
clearIcon: VueTypeValidableDef<any>;
|
|
635
|
+
allowClear: {
|
|
636
|
+
type: BooleanConstructor;
|
|
637
|
+
default: any;
|
|
638
|
+
};
|
|
639
|
+
}>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
640
|
+
value: string | number;
|
|
641
|
+
type: "number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "datetime-local" | "file" | "password" | "tel";
|
|
642
|
+
onMousedown: MouseEventHandler;
|
|
643
|
+
focused: boolean;
|
|
644
|
+
hidden: boolean;
|
|
645
|
+
visible: boolean;
|
|
646
|
+
disabled: boolean;
|
|
647
|
+
readonly: boolean;
|
|
648
|
+
autofocus: boolean;
|
|
649
|
+
variant: "filled" | "outlined" | "borderless" | "underlined";
|
|
650
|
+
lazy: boolean;
|
|
651
|
+
loading: boolean;
|
|
652
|
+
bordered: boolean;
|
|
653
|
+
onMouseUp: MouseEventHandler;
|
|
654
|
+
defaultValue: string | number;
|
|
655
|
+
allowClear: boolean;
|
|
656
|
+
action: string;
|
|
657
|
+
visibilityToggle: boolean;
|
|
658
|
+
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
659
|
+
P: {};
|
|
660
|
+
B: {};
|
|
661
|
+
D: {};
|
|
662
|
+
C: {};
|
|
663
|
+
M: {};
|
|
664
|
+
Defaults: {};
|
|
665
|
+
}, Readonly< ExtractPropTypes<{
|
|
666
|
+
prefixCls: StringConstructor;
|
|
667
|
+
inputPrefixCls: StringConstructor;
|
|
668
|
+
action: {
|
|
669
|
+
type: StringConstructor;
|
|
670
|
+
default: string;
|
|
671
|
+
};
|
|
672
|
+
visibilityToggle: {
|
|
673
|
+
type: BooleanConstructor;
|
|
674
|
+
default: boolean;
|
|
675
|
+
};
|
|
676
|
+
visible: {
|
|
677
|
+
type: BooleanConstructor;
|
|
678
|
+
default: any;
|
|
679
|
+
};
|
|
680
|
+
'onUpdate:visible': PropType<(visible: boolean) => void>;
|
|
681
|
+
iconRender: FunctionConstructor;
|
|
682
|
+
variant: {
|
|
683
|
+
type: PropType<"filled" | "outlined" | "borderless" | "underlined">;
|
|
684
|
+
default: "filled" | "outlined" | "borderless" | "underlined";
|
|
685
|
+
};
|
|
686
|
+
size: {
|
|
687
|
+
type: PropType<SizeType>;
|
|
688
|
+
};
|
|
689
|
+
value: {
|
|
690
|
+
type: PropType<string | number>;
|
|
691
|
+
default: any;
|
|
692
|
+
};
|
|
693
|
+
name: StringConstructor;
|
|
694
|
+
type: {
|
|
695
|
+
type: PropType<"number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "datetime-local" | "file" | "password" | "tel">;
|
|
696
|
+
default: "number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "datetime-local" | "file" | "password" | "tel";
|
|
697
|
+
};
|
|
698
|
+
onCompositionend: PropType<CompositionEventHandler>;
|
|
699
|
+
onCompositionstart: PropType<CompositionEventHandler>;
|
|
700
|
+
onFocus: PropType<FocusEventHandler>;
|
|
701
|
+
onBlur: PropType<FocusEventHandler>;
|
|
702
|
+
onChange: PropType<ChangeEventHandler>;
|
|
703
|
+
onInput: PropType<ChangeEventHandler>;
|
|
704
|
+
onKeydown: PropType<KeyboardEventHandler>;
|
|
705
|
+
onKeyup: PropType<KeyboardEventHandler>;
|
|
706
|
+
onMousedown: {
|
|
707
|
+
type: PropType<MouseEventHandler>;
|
|
708
|
+
default: any;
|
|
709
|
+
};
|
|
710
|
+
focused: {
|
|
711
|
+
type: BooleanConstructor;
|
|
712
|
+
default: any;
|
|
713
|
+
};
|
|
714
|
+
hidden: {
|
|
715
|
+
type: BooleanConstructor;
|
|
716
|
+
default: any;
|
|
717
|
+
};
|
|
718
|
+
disabled: {
|
|
719
|
+
type: BooleanConstructor;
|
|
720
|
+
default: any;
|
|
721
|
+
};
|
|
722
|
+
id: StringConstructor;
|
|
723
|
+
readonly: {
|
|
724
|
+
type: BooleanConstructor;
|
|
725
|
+
default: any;
|
|
726
|
+
};
|
|
727
|
+
autofocus: {
|
|
728
|
+
type: BooleanConstructor;
|
|
729
|
+
default: any;
|
|
730
|
+
};
|
|
731
|
+
autocomplete: StringConstructor;
|
|
732
|
+
placeholder: {
|
|
733
|
+
type: PropType<string | number>;
|
|
734
|
+
};
|
|
735
|
+
lazy: {
|
|
736
|
+
type: BooleanConstructor;
|
|
737
|
+
default: boolean;
|
|
738
|
+
};
|
|
739
|
+
maxlength: NumberConstructor;
|
|
740
|
+
loading: {
|
|
741
|
+
type: BooleanConstructor;
|
|
742
|
+
default: any;
|
|
743
|
+
};
|
|
744
|
+
bordered: {
|
|
745
|
+
type: BooleanConstructor;
|
|
746
|
+
default: any;
|
|
747
|
+
};
|
|
748
|
+
showCount: {
|
|
749
|
+
type: PropType<boolean | ShowCountProps>;
|
|
750
|
+
};
|
|
751
|
+
htmlSize: NumberConstructor;
|
|
752
|
+
onPressEnter: PropType<KeyboardEventHandler>;
|
|
753
|
+
onMouseUp: {
|
|
754
|
+
type: PropType<MouseEventHandler>;
|
|
755
|
+
default: any;
|
|
756
|
+
};
|
|
757
|
+
onRawInput: PropType<ChangeEventHandler>;
|
|
758
|
+
'onUpdate:value': PropType<(val: string) => void>;
|
|
759
|
+
valueModifiers: ObjectConstructor;
|
|
760
|
+
status: PropType<"" | "error" | "warning">;
|
|
761
|
+
defaultValue: {
|
|
762
|
+
type: PropType<string | number>;
|
|
763
|
+
default: any;
|
|
764
|
+
};
|
|
765
|
+
inputElement: VueTypeValidableDef<any>;
|
|
766
|
+
triggerFocus: PropType<() => void>;
|
|
767
|
+
handleReset: PropType<MouseEventHandler>;
|
|
768
|
+
addonBefore: VueTypeValidableDef<any>;
|
|
769
|
+
addonAfter: VueTypeValidableDef<any>;
|
|
770
|
+
prefix: VueTypeValidableDef<any>;
|
|
771
|
+
suffix: VueTypeValidableDef<any>;
|
|
772
|
+
clearIcon: VueTypeValidableDef<any>;
|
|
773
|
+
allowClear: {
|
|
774
|
+
type: BooleanConstructor;
|
|
775
|
+
default: any;
|
|
776
|
+
};
|
|
777
|
+
}>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, {
|
|
778
|
+
value: string | number;
|
|
779
|
+
type: "number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "datetime-local" | "file" | "password" | "tel";
|
|
780
|
+
onMousedown: MouseEventHandler;
|
|
781
|
+
focused: boolean;
|
|
782
|
+
hidden: boolean;
|
|
783
|
+
visible: boolean;
|
|
784
|
+
disabled: boolean;
|
|
785
|
+
readonly: boolean;
|
|
786
|
+
autofocus: boolean;
|
|
787
|
+
variant: "filled" | "outlined" | "borderless" | "underlined";
|
|
788
|
+
lazy: boolean;
|
|
789
|
+
loading: boolean;
|
|
790
|
+
bordered: boolean;
|
|
791
|
+
onMouseUp: MouseEventHandler;
|
|
792
|
+
defaultValue: string | number;
|
|
793
|
+
allowClear: boolean;
|
|
794
|
+
action: string;
|
|
795
|
+
visibilityToggle: boolean;
|
|
796
|
+
}> | null;
|
|
254
797
|
};
|
|
255
798
|
$slots: Readonly<{
|
|
256
799
|
[name: string]: Slot<any> | undefined;
|
|
@@ -51,6 +51,7 @@ declare function __VLS_template(): {
|
|
|
51
51
|
readonly mode?: FieldMode | undefined;
|
|
52
52
|
readonly class?: unknown;
|
|
53
53
|
readonly style?: unknown;
|
|
54
|
+
readonly emptyText?: string | undefined;
|
|
54
55
|
readonly size?: "small" | "large" | "middle" | undefined;
|
|
55
56
|
readonly onBlur?: ((e: FocusEvent) => void) | undefined;
|
|
56
57
|
readonly onChange?: ((value: unknown, labelList: any[], extra: ChangeEventExtra) => void) | undefined;
|
|
@@ -147,7 +148,6 @@ declare function __VLS_template(): {
|
|
|
147
148
|
readonly switcherIcon?: any;
|
|
148
149
|
readonly treeExpandAction?: ExpandAction | undefined;
|
|
149
150
|
readonly dropdownPopupAlign?: any;
|
|
150
|
-
readonly emptyText?: string | undefined;
|
|
151
151
|
readonly request?: ((currentNode?: LegacyDataNode, extraParams?: Recordable) => Promise< TreeSelectProps["treeData"]>) | undefined;
|
|
152
152
|
readonly lazy?: boolean | undefined;
|
|
153
153
|
readonly params?: Recordable | undefined;
|
|
@@ -855,6 +855,7 @@ declare const __VLS_component: DefineComponent<ApFormItemTreeSelectProps, {
|
|
|
855
855
|
readonly mode?: FieldMode | undefined;
|
|
856
856
|
readonly class?: unknown;
|
|
857
857
|
readonly style?: unknown;
|
|
858
|
+
readonly emptyText?: string | undefined;
|
|
858
859
|
readonly size?: "small" | "large" | "middle" | undefined;
|
|
859
860
|
readonly onBlur?: ((e: FocusEvent) => void) | undefined;
|
|
860
861
|
readonly onChange?: ((value: unknown, labelList: any[], extra: ChangeEventExtra) => void) | undefined;
|
|
@@ -951,7 +952,6 @@ declare const __VLS_component: DefineComponent<ApFormItemTreeSelectProps, {
|
|
|
951
952
|
readonly switcherIcon?: any;
|
|
952
953
|
readonly treeExpandAction?: ExpandAction | undefined;
|
|
953
954
|
readonly dropdownPopupAlign?: any;
|
|
954
|
-
readonly emptyText?: string | undefined;
|
|
955
955
|
readonly request?: ((currentNode?: LegacyDataNode, extraParams?: Recordable) => Promise< TreeSelectProps["treeData"]>) | undefined;
|
|
956
956
|
readonly lazy?: boolean | undefined;
|
|
957
957
|
readonly params?: Recordable | undefined;
|