@aplus-frontend/ui 0.4.1 → 0.4.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.
Files changed (116) hide show
  1. package/es/src/ap-field/number/index.vue.d.ts +322 -1
  2. package/es/src/ap-field/radio/index.vue.d.ts +98 -2
  3. package/es/src/ap-field/rate/index.vue.d.ts +82 -1
  4. package/es/src/ap-field/segmented/index.vue.d.ts +1 -7
  5. package/es/src/ap-field/select/index.vue.d.ts +423 -1
  6. package/es/src/ap-field/select/index.vue.mjs +4 -3
  7. package/es/src/ap-field/slider/index.vue.d.ts +257 -1
  8. package/es/src/ap-field/text/index.vue.d.ts +1 -13
  9. package/es/src/ap-field/text-area/index.vue.d.ts +267 -2
  10. package/es/src/ap-form/ap-form.vue.d.ts +636 -1
  11. package/es/src/ap-form/drawer-form/index.vue.d.ts +1454 -4
  12. package/es/src/ap-form/item/index.vue.d.ts +777 -1
  13. package/es/src/ap-form/items/number/index.vue.d.ts +783 -2
  14. package/es/src/ap-form/items/radio/index.vue.d.ts +221 -3
  15. package/es/src/ap-form/items/text/index.vue.d.ts +128 -15
  16. package/es/src/ap-form/items/text/password.vue.d.ts +148 -1
  17. package/es/src/ap-form/items/text-area/index.vue.d.ts +566 -3
  18. package/es/src/ap-form/modal-form/index.vue.d.ts +1454 -5
  19. package/es/src/ap-form/modal-form/index.vue.mjs +64 -66
  20. package/es/src/ap-form/search-form/index.vue.d.ts +1454 -3
  21. package/es/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue.d.ts +4 -1
  22. package/es/src/ap-list/index.vue.d.ts +1 -1
  23. package/es/src/ap-scroll-bar/ap-scroll-bar.vue.d.ts +3 -1
  24. package/es/src/ap-scroll-bar/index.d.ts +3 -1
  25. package/es/src/ap-table/ap-table.vue.d.ts +1 -1
  26. package/es/src/ap-table/ap-table.vue2.mjs +98 -97
  27. package/es/src/ap-table/constants.d.ts +2260 -26
  28. package/es/src/ap-table/context.d.ts +1 -0
  29. package/es/src/ap-table/context.mjs +11 -10
  30. package/es/src/ap-table/utils.d.ts +1168 -8
  31. package/es/src/ap-tag/ap-tag-group.vue.d.ts +3 -1
  32. package/es/src/ap-upload/apUpload.vue.d.ts +3 -1
  33. package/es/src/ap-upload/components/MultipleFile.vue.d.ts +453 -2
  34. package/es/src/ap-upload/components/Picture.vue.d.ts +3 -1
  35. package/es/src/ap-upload/components/SingleFile.vue.d.ts +3 -1
  36. package/es/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +1 -1
  37. package/es/src/business/ap-export-group/ApExportGroup.vue2.mjs +66 -61
  38. package/es/src/business/ap-group-search/ap-group-search.vue.d.ts +3 -1
  39. package/es/src/business/ap-group-search/ap-group-search.vue2.mjs +5 -4
  40. package/es/src/business/ap-group-search/extension-select/index.vue.d.ts +3 -1
  41. package/es/src/business/ap-group-search/extension-select/index.vue2.mjs +8 -7
  42. package/es/src/business/ap-group-search/index.d.ts +444 -4
  43. package/es/src/business/ap-group-search/popover-select/index.vue.d.ts +421 -3
  44. package/es/src/business/ap-group-search/popover-select/index.vue2.mjs +1 -0
  45. package/es/src/business/ap-select-layout/select-layout.vue.d.ts +1 -1
  46. package/es/src/business/ap-table-modal/index.d.ts +22 -2
  47. package/es/src/business/ap-table-modal/interface.d.ts +2 -2
  48. package/es/src/business/ap-table-modal/table-modal.vue.d.ts +22 -2
  49. package/es/src/business/batch-input-group/index.vue.d.ts +134 -3
  50. package/es/src/business/batch-input-group/popover-input/index.vue.d.ts +267 -2
  51. package/es/src/business/hooks/usePageListApTable.mjs +20 -18
  52. package/es/src/editable-table/form-item.vue.d.ts +1 -1
  53. package/es/src/editable-table/index.vue.d.ts +1 -1
  54. package/es/src/work-order-modal/work-order-modal.vue.d.ts +827 -2
  55. package/lib/src/ap-field/number/index.vue.d.ts +322 -1
  56. package/lib/src/ap-field/radio/index.vue.d.ts +98 -2
  57. package/lib/src/ap-field/rate/index.vue.d.ts +82 -1
  58. package/lib/src/ap-field/segmented/index.vue.d.ts +1 -7
  59. package/lib/src/ap-field/select/index.vue.d.ts +423 -1
  60. package/lib/src/ap-field/select/index.vue.js +1 -1
  61. package/lib/src/ap-field/slider/index.vue.d.ts +257 -1
  62. package/lib/src/ap-field/text/index.vue.d.ts +1 -13
  63. package/lib/src/ap-field/text-area/index.vue.d.ts +267 -2
  64. package/lib/src/ap-form/ap-form.vue.d.ts +636 -1
  65. package/lib/src/ap-form/drawer-form/index.vue.d.ts +1454 -4
  66. package/lib/src/ap-form/item/index.vue.d.ts +777 -1
  67. package/lib/src/ap-form/items/number/index.vue.d.ts +783 -2
  68. package/lib/src/ap-form/items/radio/index.vue.d.ts +221 -3
  69. package/lib/src/ap-form/items/text/index.vue.d.ts +128 -15
  70. package/lib/src/ap-form/items/text/password.vue.d.ts +148 -1
  71. package/lib/src/ap-form/items/text-area/index.vue.d.ts +566 -3
  72. package/lib/src/ap-form/modal-form/index.vue.d.ts +1454 -5
  73. package/lib/src/ap-form/modal-form/index.vue.js +1 -1
  74. package/lib/src/ap-form/search-form/index.vue.d.ts +1454 -3
  75. package/lib/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue.d.ts +4 -1
  76. package/lib/src/ap-list/index.vue.d.ts +1 -1
  77. package/lib/src/ap-scroll-bar/ap-scroll-bar.vue.d.ts +3 -1
  78. package/lib/src/ap-scroll-bar/index.d.ts +3 -1
  79. package/lib/src/ap-table/ap-table.vue.d.ts +1 -1
  80. package/lib/src/ap-table/ap-table.vue2.js +1 -1
  81. package/lib/src/ap-table/constants.d.ts +2260 -26
  82. package/lib/src/ap-table/context.d.ts +1 -0
  83. package/lib/src/ap-table/context.js +1 -1
  84. package/lib/src/ap-table/utils.d.ts +1168 -8
  85. package/lib/src/ap-tag/ap-tag-group.vue.d.ts +3 -1
  86. package/lib/src/ap-upload/apUpload.vue.d.ts +3 -1
  87. package/lib/src/ap-upload/components/MultipleFile.vue.d.ts +453 -2
  88. package/lib/src/ap-upload/components/Picture.vue.d.ts +3 -1
  89. package/lib/src/ap-upload/components/SingleFile.vue.d.ts +3 -1
  90. package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +1 -1
  91. package/lib/src/business/ap-export-group/ApExportGroup.vue2.js +1 -1
  92. package/lib/src/business/ap-group-search/ap-group-search.vue.d.ts +3 -1
  93. package/lib/src/business/ap-group-search/ap-group-search.vue2.js +1 -1
  94. package/lib/src/business/ap-group-search/extension-select/index.vue.d.ts +3 -1
  95. package/lib/src/business/ap-group-search/extension-select/index.vue2.js +1 -1
  96. package/lib/src/business/ap-group-search/index.d.ts +444 -4
  97. package/lib/src/business/ap-group-search/popover-select/index.vue.d.ts +421 -3
  98. package/lib/src/business/ap-group-search/popover-select/index.vue2.js +1 -1
  99. package/lib/src/business/ap-select-layout/select-layout.vue.d.ts +1 -1
  100. package/lib/src/business/ap-table-modal/index.d.ts +22 -2
  101. package/lib/src/business/ap-table-modal/interface.d.ts +2 -2
  102. package/lib/src/business/ap-table-modal/table-modal.vue.d.ts +22 -2
  103. package/lib/src/business/batch-input-group/index.vue.d.ts +134 -3
  104. package/lib/src/business/batch-input-group/popover-input/index.vue.d.ts +267 -2
  105. package/lib/src/business/hooks/usePageListApTable.js +1 -1
  106. package/lib/src/editable-table/form-item.vue.d.ts +1 -1
  107. package/lib/src/editable-table/index.vue.d.ts +1 -1
  108. package/lib/src/work-order-modal/work-order-modal.vue.d.ts +827 -2
  109. package/package.json +5 -5
  110. package/theme/ap-form/index.css +3 -4
  111. package/theme/ap-form/modal-form.css +3 -4
  112. package/theme/ap-form/modal-form.less +3 -4
  113. package/theme/ap-table/ap-table.css +3 -4
  114. package/theme/ap-table-modal/index.css +3 -4
  115. package/theme/editable-table/index.css +3 -4
  116. package/theme/index.css +3 -4
@@ -1,10 +1,12 @@
1
1
  import { ApFormItemNumberProps } from '../interface';
2
2
  import { ApFormItemSlots } from '../../interface';
3
- import { ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, ComponentOptionsMixin, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, DefineComponent, PublicProps } from 'vue';
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, ApFieldNumberProps } from '../../..';
5
5
  import { ButtonSize } from '@aplus-frontend/antdv/es/button';
6
6
  import { ValueType } from '@aplus-frontend/antdv/es/input-number/src/utils/MiniDecimal';
7
7
  import { KeyboardEventHandler } from '@aplus-frontend/antdv/es/_util/EventInterface';
8
+ import { VueTypeValidableDef } from '../../../../node_modules/vue-types';
9
+ import { VueNode, CustomSlotsType } from '@aplus-frontend/antdv/es/_util/type';
8
10
  import { OnCleanup } from '@vue/reactivity';
9
11
  declare function __VLS_template(): {
10
12
  attrs: Partial<{}>;
@@ -82,6 +84,327 @@ declare function __VLS_template(): {
82
84
  };
83
85
  $refs: {
84
86
  [x: string]: unknown;
87
+ } & {
88
+ inputRef: CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
89
+ size: {
90
+ type: PropType<ButtonSize>;
91
+ default: ButtonSize;
92
+ };
93
+ bordered: {
94
+ type: BooleanConstructor;
95
+ default: boolean;
96
+ };
97
+ placeholder: StringConstructor;
98
+ name: StringConstructor;
99
+ id: StringConstructor;
100
+ type: StringConstructor;
101
+ addonBefore: VueTypeValidableDef<any>;
102
+ addonAfter: VueTypeValidableDef<any>;
103
+ prefix: VueTypeValidableDef<any>;
104
+ suffix: VueTypeValidableDef<any>;
105
+ 'onUpdate:value': {
106
+ type: PropType<(value: ValueType) => void>;
107
+ default: (value: ValueType) => void;
108
+ };
109
+ valueModifiers: ObjectConstructor;
110
+ status: {
111
+ type: PropType<"" | "error" | "warning">;
112
+ default: "" | "error" | "warning";
113
+ };
114
+ stringMode: {
115
+ type: BooleanConstructor;
116
+ default: boolean;
117
+ };
118
+ defaultValue: {
119
+ type: PropType<ValueType>;
120
+ default: ValueType;
121
+ };
122
+ value: {
123
+ type: PropType<ValueType>;
124
+ default: ValueType;
125
+ };
126
+ prefixCls: {
127
+ type: PropType<string>;
128
+ default: string;
129
+ };
130
+ min: {
131
+ type: PropType<ValueType>;
132
+ default: ValueType;
133
+ };
134
+ max: {
135
+ type: PropType<ValueType>;
136
+ default: ValueType;
137
+ };
138
+ step: {
139
+ type: PropType<ValueType>;
140
+ default: ValueType;
141
+ };
142
+ tabindex: NumberConstructor;
143
+ controls: {
144
+ type: BooleanConstructor;
145
+ default: boolean;
146
+ };
147
+ readonly: {
148
+ type: BooleanConstructor;
149
+ default: boolean;
150
+ };
151
+ disabled: {
152
+ type: BooleanConstructor;
153
+ default: boolean;
154
+ };
155
+ autofocus: {
156
+ type: BooleanConstructor;
157
+ default: boolean;
158
+ };
159
+ keyboard: {
160
+ type: BooleanConstructor;
161
+ default: boolean;
162
+ };
163
+ parser: {
164
+ type: PropType<(displayValue: string) => ValueType>;
165
+ default: (displayValue: string) => ValueType;
166
+ };
167
+ formatter: {
168
+ type: PropType<(value: ValueType, info: {
169
+ userTyping: boolean;
170
+ input: string;
171
+ }) => string>;
172
+ default: (value: ValueType, info: {
173
+ userTyping: boolean;
174
+ input: string;
175
+ }) => string;
176
+ };
177
+ precision: NumberConstructor;
178
+ decimalSeparator: StringConstructor;
179
+ onInput: {
180
+ type: PropType<(text: string) => void>;
181
+ default: (text: string) => void;
182
+ };
183
+ onChange: {
184
+ type: PropType<(value: ValueType) => void>;
185
+ default: (value: ValueType) => void;
186
+ };
187
+ onPressEnter: {
188
+ type: PropType<KeyboardEventHandler>;
189
+ default: KeyboardEventHandler;
190
+ };
191
+ onStep: {
192
+ type: PropType<(value: ValueType, info: {
193
+ offset: ValueType;
194
+ type: "up" | "down";
195
+ }) => void>;
196
+ default: (value: ValueType, info: {
197
+ offset: ValueType;
198
+ type: "up" | "down";
199
+ }) => void;
200
+ };
201
+ onBlur: {
202
+ type: PropType<(e: FocusEvent) => void>;
203
+ default: (e: FocusEvent) => void;
204
+ };
205
+ onFocus: {
206
+ type: PropType<(e: FocusEvent) => void>;
207
+ default: (e: FocusEvent) => void;
208
+ };
209
+ }>> & Readonly<{}>, () => VueNode, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
210
+ size: ButtonSize;
211
+ value: ValueType;
212
+ onFocus: (e: FocusEvent) => void;
213
+ onBlur: (e: FocusEvent) => void;
214
+ onChange: (value: ValueType) => void;
215
+ onInput: (text: string) => void;
216
+ disabled: boolean;
217
+ max: ValueType;
218
+ min: ValueType;
219
+ prefixCls: string;
220
+ autofocus: boolean;
221
+ readonly: boolean;
222
+ status: "" | "error" | "warning";
223
+ defaultValue: ValueType;
224
+ 'onUpdate:value': (value: ValueType) => void;
225
+ step: ValueType;
226
+ bordered: boolean;
227
+ onPressEnter: KeyboardEventHandler;
228
+ formatter: (value: ValueType, info: {
229
+ userTyping: boolean;
230
+ input: string;
231
+ }) => string;
232
+ keyboard: boolean;
233
+ onStep: (value: ValueType, info: {
234
+ offset: ValueType;
235
+ type: "up" | "down";
236
+ }) => void;
237
+ stringMode: boolean;
238
+ controls: boolean;
239
+ parser: (displayValue: string) => ValueType;
240
+ }, true, {}, CustomSlotsType<{
241
+ addonBefore?: any;
242
+ addonAfter?: any;
243
+ prefix?: any;
244
+ suffix?: any;
245
+ default?: any;
246
+ upIcon?: any;
247
+ downIcon?: any;
248
+ }>, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
249
+ P: {};
250
+ B: {};
251
+ D: {};
252
+ C: {};
253
+ M: {};
254
+ Defaults: {};
255
+ }, Readonly< ExtractPropTypes<{
256
+ size: {
257
+ type: PropType<ButtonSize>;
258
+ default: ButtonSize;
259
+ };
260
+ bordered: {
261
+ type: BooleanConstructor;
262
+ default: boolean;
263
+ };
264
+ placeholder: StringConstructor;
265
+ name: StringConstructor;
266
+ id: StringConstructor;
267
+ type: StringConstructor;
268
+ addonBefore: VueTypeValidableDef<any>;
269
+ addonAfter: VueTypeValidableDef<any>;
270
+ prefix: VueTypeValidableDef<any>;
271
+ suffix: VueTypeValidableDef<any>;
272
+ 'onUpdate:value': {
273
+ type: PropType<(value: ValueType) => void>;
274
+ default: (value: ValueType) => void;
275
+ };
276
+ valueModifiers: ObjectConstructor;
277
+ status: {
278
+ type: PropType<"" | "error" | "warning">;
279
+ default: "" | "error" | "warning";
280
+ };
281
+ stringMode: {
282
+ type: BooleanConstructor;
283
+ default: boolean;
284
+ };
285
+ defaultValue: {
286
+ type: PropType<ValueType>;
287
+ default: ValueType;
288
+ };
289
+ value: {
290
+ type: PropType<ValueType>;
291
+ default: ValueType;
292
+ };
293
+ prefixCls: {
294
+ type: PropType<string>;
295
+ default: string;
296
+ };
297
+ min: {
298
+ type: PropType<ValueType>;
299
+ default: ValueType;
300
+ };
301
+ max: {
302
+ type: PropType<ValueType>;
303
+ default: ValueType;
304
+ };
305
+ step: {
306
+ type: PropType<ValueType>;
307
+ default: ValueType;
308
+ };
309
+ tabindex: NumberConstructor;
310
+ controls: {
311
+ type: BooleanConstructor;
312
+ default: boolean;
313
+ };
314
+ readonly: {
315
+ type: BooleanConstructor;
316
+ default: boolean;
317
+ };
318
+ disabled: {
319
+ type: BooleanConstructor;
320
+ default: boolean;
321
+ };
322
+ autofocus: {
323
+ type: BooleanConstructor;
324
+ default: boolean;
325
+ };
326
+ keyboard: {
327
+ type: BooleanConstructor;
328
+ default: boolean;
329
+ };
330
+ parser: {
331
+ type: PropType<(displayValue: string) => ValueType>;
332
+ default: (displayValue: string) => ValueType;
333
+ };
334
+ formatter: {
335
+ type: PropType<(value: ValueType, info: {
336
+ userTyping: boolean;
337
+ input: string;
338
+ }) => string>;
339
+ default: (value: ValueType, info: {
340
+ userTyping: boolean;
341
+ input: string;
342
+ }) => string;
343
+ };
344
+ precision: NumberConstructor;
345
+ decimalSeparator: StringConstructor;
346
+ onInput: {
347
+ type: PropType<(text: string) => void>;
348
+ default: (text: string) => void;
349
+ };
350
+ onChange: {
351
+ type: PropType<(value: ValueType) => void>;
352
+ default: (value: ValueType) => void;
353
+ };
354
+ onPressEnter: {
355
+ type: PropType<KeyboardEventHandler>;
356
+ default: KeyboardEventHandler;
357
+ };
358
+ onStep: {
359
+ type: PropType<(value: ValueType, info: {
360
+ offset: ValueType;
361
+ type: "up" | "down";
362
+ }) => void>;
363
+ default: (value: ValueType, info: {
364
+ offset: ValueType;
365
+ type: "up" | "down";
366
+ }) => void;
367
+ };
368
+ onBlur: {
369
+ type: PropType<(e: FocusEvent) => void>;
370
+ default: (e: FocusEvent) => void;
371
+ };
372
+ onFocus: {
373
+ type: PropType<(e: FocusEvent) => void>;
374
+ default: (e: FocusEvent) => void;
375
+ };
376
+ }>> & Readonly<{}>, () => VueNode, {}, {}, {}, {
377
+ size: ButtonSize;
378
+ value: ValueType;
379
+ onFocus: (e: FocusEvent) => void;
380
+ onBlur: (e: FocusEvent) => void;
381
+ onChange: (value: ValueType) => void;
382
+ onInput: (text: string) => void;
383
+ disabled: boolean;
384
+ max: ValueType;
385
+ min: ValueType;
386
+ prefixCls: string;
387
+ autofocus: boolean;
388
+ readonly: boolean;
389
+ status: "" | "error" | "warning";
390
+ defaultValue: ValueType;
391
+ 'onUpdate:value': (value: ValueType) => void;
392
+ step: ValueType;
393
+ bordered: boolean;
394
+ onPressEnter: KeyboardEventHandler;
395
+ formatter: (value: ValueType, info: {
396
+ userTyping: boolean;
397
+ input: string;
398
+ }) => string;
399
+ keyboard: boolean;
400
+ onStep: (value: ValueType, info: {
401
+ offset: ValueType;
402
+ type: "up" | "down";
403
+ }) => void;
404
+ stringMode: boolean;
405
+ controls: boolean;
406
+ parser: (displayValue: string) => ValueType;
407
+ }> | null;
85
408
  };
86
409
  $slots: Readonly<{
87
410
  [name: string]: Slot<any> | undefined;
@@ -175,7 +498,465 @@ declare const __VLS_component: DefineComponent<ApFormItemNumberProps, {
175
498
  hasFeedback: boolean;
176
499
  autoLink: boolean;
177
500
  validateFirst: boolean;
178
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
501
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {
502
+ inputNumberRef: ({
503
+ $: ComponentInternalInstance;
504
+ $data: {};
505
+ $props: {
506
+ readonly mode?: FieldMode | undefined;
507
+ readonly class?: unknown;
508
+ readonly style?: unknown;
509
+ readonly size?: ButtonSize;
510
+ readonly onBlur?: ((e: FocusEvent) => void) | undefined;
511
+ readonly onChange?: ((value: ValueType) => void) | undefined;
512
+ readonly onFocus?: ((e: FocusEvent) => void) | undefined;
513
+ readonly onInput?: ((text: string) => void) | undefined;
514
+ readonly value?: ValueType | undefined;
515
+ readonly disabled?: boolean | undefined;
516
+ readonly bordered?: boolean | undefined;
517
+ readonly prefixCls?: string | undefined;
518
+ readonly status?: "" | "error" | "warning" | undefined;
519
+ readonly keyboard?: boolean | undefined;
520
+ readonly autofocus?: boolean | undefined;
521
+ readonly 'onUpdate:value'?: (((value: ValueType) => void) & ((...args: any[]) => any)) | undefined;
522
+ readonly max?: ValueType | undefined;
523
+ readonly min?: ValueType | undefined;
524
+ readonly defaultValue?: ValueType | undefined;
525
+ readonly onPressEnter?: KeyboardEventHandler | undefined;
526
+ readonly readonly?: boolean | undefined;
527
+ readonly stringMode?: boolean | undefined;
528
+ readonly step?: ValueType | undefined;
529
+ readonly controls?: boolean | undefined;
530
+ readonly parser?: ((displayValue: string) => ValueType) | undefined;
531
+ readonly formatter?: ((value: ValueType, info: {
532
+ userTyping: boolean;
533
+ input: string;
534
+ }) => string) | undefined;
535
+ readonly onStep?: ((value: ValueType, info: {
536
+ offset: ValueType;
537
+ type: "up" | "down";
538
+ }) => void) | undefined;
539
+ readonly type?: string | undefined;
540
+ readonly name?: string | undefined;
541
+ readonly id?: string | undefined;
542
+ readonly placeholder?: string | undefined;
543
+ readonly tabindex?: number | undefined;
544
+ readonly prefix?: any;
545
+ readonly suffix?: any;
546
+ readonly valueModifiers?: Record<string, any> | undefined;
547
+ readonly addonBefore?: any;
548
+ readonly addonAfter?: any;
549
+ readonly precision?: number | undefined;
550
+ readonly decimalSeparator?: string | undefined;
551
+ readonly emptyText?: string | undefined;
552
+ readonly thousands?: boolean | undefined;
553
+ readonly limitDecimalsRetain?: boolean | undefined;
554
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
555
+ $attrs: {
556
+ [x: string]: unknown;
557
+ };
558
+ $refs: {
559
+ [x: string]: unknown;
560
+ } & {
561
+ inputRef: CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
562
+ size: {
563
+ type: PropType<ButtonSize>;
564
+ default: ButtonSize;
565
+ };
566
+ bordered: {
567
+ type: BooleanConstructor;
568
+ default: boolean;
569
+ };
570
+ placeholder: StringConstructor;
571
+ name: StringConstructor;
572
+ id: StringConstructor;
573
+ type: StringConstructor;
574
+ addonBefore: VueTypeValidableDef<any>;
575
+ addonAfter: VueTypeValidableDef<any>;
576
+ prefix: VueTypeValidableDef<any>;
577
+ suffix: VueTypeValidableDef<any>;
578
+ 'onUpdate:value': {
579
+ type: PropType<(value: ValueType) => void>;
580
+ default: (value: ValueType) => void;
581
+ };
582
+ valueModifiers: ObjectConstructor;
583
+ status: {
584
+ type: PropType<"" | "error" | "warning">;
585
+ default: "" | "error" | "warning";
586
+ };
587
+ stringMode: {
588
+ type: BooleanConstructor;
589
+ default: boolean;
590
+ };
591
+ defaultValue: {
592
+ type: PropType<ValueType>;
593
+ default: ValueType;
594
+ };
595
+ value: {
596
+ type: PropType<ValueType>;
597
+ default: ValueType;
598
+ };
599
+ prefixCls: {
600
+ type: PropType<string>;
601
+ default: string;
602
+ };
603
+ min: {
604
+ type: PropType<ValueType>;
605
+ default: ValueType;
606
+ };
607
+ max: {
608
+ type: PropType<ValueType>;
609
+ default: ValueType;
610
+ };
611
+ step: {
612
+ type: PropType<ValueType>;
613
+ default: ValueType;
614
+ };
615
+ tabindex: NumberConstructor;
616
+ controls: {
617
+ type: BooleanConstructor;
618
+ default: boolean;
619
+ };
620
+ readonly: {
621
+ type: BooleanConstructor;
622
+ default: boolean;
623
+ };
624
+ disabled: {
625
+ type: BooleanConstructor;
626
+ default: boolean;
627
+ };
628
+ autofocus: {
629
+ type: BooleanConstructor;
630
+ default: boolean;
631
+ };
632
+ keyboard: {
633
+ type: BooleanConstructor;
634
+ default: boolean;
635
+ };
636
+ parser: {
637
+ type: PropType<(displayValue: string) => ValueType>;
638
+ default: (displayValue: string) => ValueType;
639
+ };
640
+ formatter: {
641
+ type: PropType<(value: ValueType, info: {
642
+ userTyping: boolean;
643
+ input: string;
644
+ }) => string>;
645
+ default: (value: ValueType, info: {
646
+ userTyping: boolean;
647
+ input: string;
648
+ }) => string;
649
+ };
650
+ precision: NumberConstructor;
651
+ decimalSeparator: StringConstructor;
652
+ onInput: {
653
+ type: PropType<(text: string) => void>;
654
+ default: (text: string) => void;
655
+ };
656
+ onChange: {
657
+ type: PropType<(value: ValueType) => void>;
658
+ default: (value: ValueType) => void;
659
+ };
660
+ onPressEnter: {
661
+ type: PropType<KeyboardEventHandler>;
662
+ default: KeyboardEventHandler;
663
+ };
664
+ onStep: {
665
+ type: PropType<(value: ValueType, info: {
666
+ offset: ValueType;
667
+ type: "up" | "down";
668
+ }) => void>;
669
+ default: (value: ValueType, info: {
670
+ offset: ValueType;
671
+ type: "up" | "down";
672
+ }) => void;
673
+ };
674
+ onBlur: {
675
+ type: PropType<(e: FocusEvent) => void>;
676
+ default: (e: FocusEvent) => void;
677
+ };
678
+ onFocus: {
679
+ type: PropType<(e: FocusEvent) => void>;
680
+ default: (e: FocusEvent) => void;
681
+ };
682
+ }>> & Readonly<{}>, () => VueNode, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
683
+ size: ButtonSize;
684
+ value: ValueType;
685
+ onFocus: (e: FocusEvent) => void;
686
+ onBlur: (e: FocusEvent) => void;
687
+ onChange: (value: ValueType) => void;
688
+ onInput: (text: string) => void;
689
+ disabled: boolean;
690
+ max: ValueType;
691
+ min: ValueType;
692
+ prefixCls: string;
693
+ autofocus: boolean;
694
+ readonly: boolean;
695
+ status: "" | "error" | "warning";
696
+ defaultValue: ValueType;
697
+ 'onUpdate:value': (value: ValueType) => void;
698
+ step: ValueType;
699
+ bordered: boolean;
700
+ onPressEnter: KeyboardEventHandler;
701
+ formatter: (value: ValueType, info: {
702
+ userTyping: boolean;
703
+ input: string;
704
+ }) => string;
705
+ keyboard: boolean;
706
+ onStep: (value: ValueType, info: {
707
+ offset: ValueType;
708
+ type: "up" | "down";
709
+ }) => void;
710
+ stringMode: boolean;
711
+ controls: boolean;
712
+ parser: (displayValue: string) => ValueType;
713
+ }, true, {}, CustomSlotsType<{
714
+ addonBefore?: any;
715
+ addonAfter?: any;
716
+ prefix?: any;
717
+ suffix?: any;
718
+ default?: any;
719
+ upIcon?: any;
720
+ downIcon?: any;
721
+ }>, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
722
+ P: {};
723
+ B: {};
724
+ D: {};
725
+ C: {};
726
+ M: {};
727
+ Defaults: {};
728
+ }, Readonly< ExtractPropTypes<{
729
+ size: {
730
+ type: PropType<ButtonSize>;
731
+ default: ButtonSize;
732
+ };
733
+ bordered: {
734
+ type: BooleanConstructor;
735
+ default: boolean;
736
+ };
737
+ placeholder: StringConstructor;
738
+ name: StringConstructor;
739
+ id: StringConstructor;
740
+ type: StringConstructor;
741
+ addonBefore: VueTypeValidableDef<any>;
742
+ addonAfter: VueTypeValidableDef<any>;
743
+ prefix: VueTypeValidableDef<any>;
744
+ suffix: VueTypeValidableDef<any>;
745
+ 'onUpdate:value': {
746
+ type: PropType<(value: ValueType) => void>;
747
+ default: (value: ValueType) => void;
748
+ };
749
+ valueModifiers: ObjectConstructor;
750
+ status: {
751
+ type: PropType<"" | "error" | "warning">;
752
+ default: "" | "error" | "warning";
753
+ };
754
+ stringMode: {
755
+ type: BooleanConstructor;
756
+ default: boolean;
757
+ };
758
+ defaultValue: {
759
+ type: PropType<ValueType>;
760
+ default: ValueType;
761
+ };
762
+ value: {
763
+ type: PropType<ValueType>;
764
+ default: ValueType;
765
+ };
766
+ prefixCls: {
767
+ type: PropType<string>;
768
+ default: string;
769
+ };
770
+ min: {
771
+ type: PropType<ValueType>;
772
+ default: ValueType;
773
+ };
774
+ max: {
775
+ type: PropType<ValueType>;
776
+ default: ValueType;
777
+ };
778
+ step: {
779
+ type: PropType<ValueType>;
780
+ default: ValueType;
781
+ };
782
+ tabindex: NumberConstructor;
783
+ controls: {
784
+ type: BooleanConstructor;
785
+ default: boolean;
786
+ };
787
+ readonly: {
788
+ type: BooleanConstructor;
789
+ default: boolean;
790
+ };
791
+ disabled: {
792
+ type: BooleanConstructor;
793
+ default: boolean;
794
+ };
795
+ autofocus: {
796
+ type: BooleanConstructor;
797
+ default: boolean;
798
+ };
799
+ keyboard: {
800
+ type: BooleanConstructor;
801
+ default: boolean;
802
+ };
803
+ parser: {
804
+ type: PropType<(displayValue: string) => ValueType>;
805
+ default: (displayValue: string) => ValueType;
806
+ };
807
+ formatter: {
808
+ type: PropType<(value: ValueType, info: {
809
+ userTyping: boolean;
810
+ input: string;
811
+ }) => string>;
812
+ default: (value: ValueType, info: {
813
+ userTyping: boolean;
814
+ input: string;
815
+ }) => string;
816
+ };
817
+ precision: NumberConstructor;
818
+ decimalSeparator: StringConstructor;
819
+ onInput: {
820
+ type: PropType<(text: string) => void>;
821
+ default: (text: string) => void;
822
+ };
823
+ onChange: {
824
+ type: PropType<(value: ValueType) => void>;
825
+ default: (value: ValueType) => void;
826
+ };
827
+ onPressEnter: {
828
+ type: PropType<KeyboardEventHandler>;
829
+ default: KeyboardEventHandler;
830
+ };
831
+ onStep: {
832
+ type: PropType<(value: ValueType, info: {
833
+ offset: ValueType;
834
+ type: "up" | "down";
835
+ }) => void>;
836
+ default: (value: ValueType, info: {
837
+ offset: ValueType;
838
+ type: "up" | "down";
839
+ }) => void;
840
+ };
841
+ onBlur: {
842
+ type: PropType<(e: FocusEvent) => void>;
843
+ default: (e: FocusEvent) => void;
844
+ };
845
+ onFocus: {
846
+ type: PropType<(e: FocusEvent) => void>;
847
+ default: (e: FocusEvent) => void;
848
+ };
849
+ }>> & Readonly<{}>, () => VueNode, {}, {}, {}, {
850
+ size: ButtonSize;
851
+ value: ValueType;
852
+ onFocus: (e: FocusEvent) => void;
853
+ onBlur: (e: FocusEvent) => void;
854
+ onChange: (value: ValueType) => void;
855
+ onInput: (text: string) => void;
856
+ disabled: boolean;
857
+ max: ValueType;
858
+ min: ValueType;
859
+ prefixCls: string;
860
+ autofocus: boolean;
861
+ readonly: boolean;
862
+ status: "" | "error" | "warning";
863
+ defaultValue: ValueType;
864
+ 'onUpdate:value': (value: ValueType) => void;
865
+ step: ValueType;
866
+ bordered: boolean;
867
+ onPressEnter: KeyboardEventHandler;
868
+ formatter: (value: ValueType, info: {
869
+ userTyping: boolean;
870
+ input: string;
871
+ }) => string;
872
+ keyboard: boolean;
873
+ onStep: (value: ValueType, info: {
874
+ offset: ValueType;
875
+ type: "up" | "down";
876
+ }) => void;
877
+ stringMode: boolean;
878
+ controls: boolean;
879
+ parser: (displayValue: string) => ValueType;
880
+ }> | null;
881
+ };
882
+ $slots: Readonly<{
883
+ [name: string]: Slot<any> | undefined;
884
+ }>;
885
+ $root: ComponentPublicInstance | null;
886
+ $parent: ComponentPublicInstance | null;
887
+ $host: Element | null;
888
+ $emit: (event: "update:value", ...args: any[]) => void;
889
+ $el: any;
890
+ $options: ComponentOptionsBase<Readonly< ApFieldNumberProps> & Readonly<{
891
+ "onUpdate:value"?: ((...args: any[]) => any) | undefined;
892
+ }>, {
893
+ focus: () => void;
894
+ blur: () => void;
895
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
896
+ "update:value": (...args: any[]) => void;
897
+ }, string, {
898
+ disabled: boolean;
899
+ bordered: boolean;
900
+ keyboard: boolean;
901
+ max: ValueType;
902
+ min: ValueType;
903
+ step: ValueType;
904
+ controls: boolean;
905
+ emptyText: string;
906
+ thousands: boolean;
907
+ }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
908
+ beforeCreate?: (() => void) | (() => void)[];
909
+ created?: (() => void) | (() => void)[];
910
+ beforeMount?: (() => void) | (() => void)[];
911
+ mounted?: (() => void) | (() => void)[];
912
+ beforeUpdate?: (() => void) | (() => void)[];
913
+ updated?: (() => void) | (() => void)[];
914
+ activated?: (() => void) | (() => void)[];
915
+ deactivated?: (() => void) | (() => void)[];
916
+ beforeDestroy?: (() => void) | (() => void)[];
917
+ beforeUnmount?: (() => void) | (() => void)[];
918
+ destroyed?: (() => void) | (() => void)[];
919
+ unmounted?: (() => void) | (() => void)[];
920
+ renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
921
+ renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
922
+ errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
923
+ };
924
+ $forceUpdate: () => void;
925
+ $nextTick: nextTick;
926
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
927
+ } & Readonly<{
928
+ disabled: boolean;
929
+ bordered: boolean;
930
+ keyboard: boolean;
931
+ max: ValueType;
932
+ min: ValueType;
933
+ step: ValueType;
934
+ controls: boolean;
935
+ emptyText: string;
936
+ thousands: boolean;
937
+ }> & Omit<Readonly< ApFieldNumberProps> & Readonly<{
938
+ "onUpdate:value"?: ((...args: any[]) => any) | undefined;
939
+ }>, "blur" | "focus" | ("disabled" | "bordered" | "keyboard" | "max" | "min" | "step" | "controls" | "emptyText" | "thousands")> & ShallowUnwrapRef<{
940
+ focus: () => void;
941
+ blur: () => void;
942
+ }> & {} & ComponentCustomProperties & {} & {
943
+ $slots: Readonly<{
944
+ addonBefore?: any;
945
+ addonAfter?: any;
946
+ prefix?: any;
947
+ default?: any;
948
+ upIcon?: any;
949
+ downIcon?: any;
950
+ }> & {
951
+ addonBefore?: any;
952
+ addonAfter?: any;
953
+ prefix?: any;
954
+ default?: any;
955
+ upIcon?: any;
956
+ downIcon?: any;
957
+ };
958
+ }) | null;
959
+ }, any>;
179
960
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
180
961
  export default _default;
181
962
  type __VLS_WithTemplateSlots<T, S> = T & {