@snabcentr/vue-ui-lib 3.4.13 → 3.5.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.
@@ -1,5 +1,5 @@
1
1
  import { nextTick, Ref } from 'vue';
2
- import { IFieldValidationResultData, IProduct } from '@snabcentr/common-lib';
2
+ import { IFormValidationResult, IProduct } from '@snabcentr/common-lib';
3
3
  import { IValue } from '../../../properties';
4
4
  import { IConfiguratorSettingsStrip } from './interfaces/i-configurator-settings-strip';
5
5
  import { DropdownMixedOption } from 'naive-ui/es/dropdown/src/interface';
@@ -11,6 +11,10 @@ declare const _default: import('vue').DefineComponent<IValue<number | null> & {
11
11
  * Индекс линии резки штрипса.
12
12
  */
13
13
  index: number;
14
+ /**
15
+ * Путь к полю в модели формы для валидации.
16
+ */
17
+ path: string;
14
18
  /**
15
19
  * Настройки конфигуратора резки штрипса.
16
20
  */
@@ -38,11 +42,401 @@ declare const _default: import('vue').DefineComponent<IValue<number | null> & {
38
42
  /**
39
43
  * Результат валидации поля при выполнении запросов.
40
44
  */
41
- validation?: IFieldValidationResultData;
45
+ validation: IFormValidationResult;
42
46
  }, {
43
- focusWidthInput: () => void;
47
+ /**
48
+ * Признак, что поле ввода валидно.
49
+ */
50
+ isValid: import('vue').ComputedRef<boolean>;
51
+ /**
52
+ * Ссылка на компонент формы.
53
+ */
54
+ formItemReference: Readonly<import('vue').ShallowRef<import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
55
+ readonly label: StringConstructor;
56
+ readonly labelWidth: import('vue').PropType<string | number>;
57
+ readonly labelStyle: import('vue').PropType<import('vue').CSSProperties | string>;
58
+ readonly labelAlign: import('vue').PropType<import('naive-ui/es/form/src/interface').LabelAlign>;
59
+ readonly labelPlacement: import('vue').PropType<import('naive-ui/es/form/src/interface').LabelPlacement>;
60
+ readonly path: StringConstructor;
61
+ readonly first: BooleanConstructor;
62
+ readonly rulePath: StringConstructor;
63
+ readonly required: BooleanConstructor;
64
+ readonly showRequireMark: {
65
+ readonly type: import('vue').PropType<boolean | undefined>;
66
+ readonly default: undefined;
67
+ };
68
+ readonly requireMarkPlacement: import('vue').PropType<"left" | "right" | "right-hanging">;
69
+ readonly showFeedback: {
70
+ readonly type: import('vue').PropType<boolean | undefined>;
71
+ readonly default: undefined;
72
+ };
73
+ readonly rule: import('vue').PropType<import('naive-ui').FormItemRule | import('naive-ui').FormItemRule[]>;
74
+ readonly size: import('vue').PropType<"small" | "medium" | "large">;
75
+ readonly ignorePathChange: BooleanConstructor;
76
+ readonly validationStatus: import('vue').PropType<"error" | "warning" | "success">;
77
+ readonly feedback: StringConstructor;
78
+ readonly feedbackClass: StringConstructor;
79
+ readonly feedbackStyle: import('vue').PropType<string | import('vue').CSSProperties>;
80
+ readonly showLabel: {
81
+ readonly type: import('vue').PropType<boolean | undefined>;
82
+ readonly default: undefined;
83
+ };
84
+ readonly labelProps: import('vue').PropType<import('vue').LabelHTMLAttributes>;
85
+ readonly contentClass: StringConstructor;
86
+ readonly contentStyle: import('vue').PropType<string | import('vue').CSSProperties>;
87
+ readonly theme: import('vue').PropType<import('naive-ui/es/_mixins').Theme<"Form", {
88
+ blankHeightSmall: string;
89
+ blankHeightMedium: string;
90
+ blankHeightLarge: string;
91
+ lineHeight: string;
92
+ labelTextColor: string;
93
+ asteriskColor: string;
94
+ feedbackTextColorError: string;
95
+ feedbackTextColorWarning: string;
96
+ feedbackTextColor: string;
97
+ feedbackPadding: string;
98
+ feedbackHeightSmall: string;
99
+ feedbackHeightMedium: string;
100
+ feedbackHeightLarge: string;
101
+ feedbackFontSizeSmall: string;
102
+ feedbackFontSizeMedium: string;
103
+ feedbackFontSizeLarge: string;
104
+ labelFontSizeLeftSmall: string;
105
+ labelFontSizeLeftMedium: string;
106
+ labelFontSizeLeftLarge: string;
107
+ labelFontSizeTopSmall: string;
108
+ labelFontSizeTopMedium: string;
109
+ labelFontSizeTopLarge: string;
110
+ labelHeightSmall: string;
111
+ labelHeightMedium: string;
112
+ labelHeightLarge: string;
113
+ labelPaddingVertical: string;
114
+ labelPaddingHorizontal: string;
115
+ labelTextAlignVertical: string;
116
+ labelTextAlignHorizontal: string;
117
+ labelFontWeight: string;
118
+ }, any>>;
119
+ readonly themeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"Form", {
120
+ blankHeightSmall: string;
121
+ blankHeightMedium: string;
122
+ blankHeightLarge: string;
123
+ lineHeight: string;
124
+ labelTextColor: string;
125
+ asteriskColor: string;
126
+ feedbackTextColorError: string;
127
+ feedbackTextColorWarning: string;
128
+ feedbackTextColor: string;
129
+ feedbackPadding: string;
130
+ feedbackHeightSmall: string;
131
+ feedbackHeightMedium: string;
132
+ feedbackHeightLarge: string;
133
+ feedbackFontSizeSmall: string;
134
+ feedbackFontSizeMedium: string;
135
+ feedbackFontSizeLarge: string;
136
+ labelFontSizeLeftSmall: string;
137
+ labelFontSizeLeftMedium: string;
138
+ labelFontSizeLeftLarge: string;
139
+ labelFontSizeTopSmall: string;
140
+ labelFontSizeTopMedium: string;
141
+ labelFontSizeTopLarge: string;
142
+ labelHeightSmall: string;
143
+ labelHeightMedium: string;
144
+ labelHeightLarge: string;
145
+ labelPaddingVertical: string;
146
+ labelPaddingHorizontal: string;
147
+ labelTextAlignVertical: string;
148
+ labelTextAlignHorizontal: string;
149
+ labelFontWeight: string;
150
+ }, any>>>;
151
+ readonly builtinThemeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"Form", {
152
+ blankHeightSmall: string;
153
+ blankHeightMedium: string;
154
+ blankHeightLarge: string;
155
+ lineHeight: string;
156
+ labelTextColor: string;
157
+ asteriskColor: string;
158
+ feedbackTextColorError: string;
159
+ feedbackTextColorWarning: string;
160
+ feedbackTextColor: string;
161
+ feedbackPadding: string;
162
+ feedbackHeightSmall: string;
163
+ feedbackHeightMedium: string;
164
+ feedbackHeightLarge: string;
165
+ feedbackFontSizeSmall: string;
166
+ feedbackFontSizeMedium: string;
167
+ feedbackFontSizeLarge: string;
168
+ labelFontSizeLeftSmall: string;
169
+ labelFontSizeLeftMedium: string;
170
+ labelFontSizeLeftLarge: string;
171
+ labelFontSizeTopSmall: string;
172
+ labelFontSizeTopMedium: string;
173
+ labelFontSizeTopLarge: string;
174
+ labelHeightSmall: string;
175
+ labelHeightMedium: string;
176
+ labelHeightLarge: string;
177
+ labelPaddingVertical: string;
178
+ labelPaddingHorizontal: string;
179
+ labelTextAlignVertical: string;
180
+ labelTextAlignHorizontal: string;
181
+ labelFontWeight: string;
182
+ }, any>>>;
183
+ }>> & Readonly<{}>, {
184
+ cssVars: import('vue').ComputedRef<{
185
+ "--n-bezier": string;
186
+ "--n-line-height": string;
187
+ "--n-blank-height": string;
188
+ "--n-label-font-size": string;
189
+ "--n-label-text-align": string;
190
+ "--n-label-height": string;
191
+ "--n-label-padding": string;
192
+ "--n-label-font-weight": string;
193
+ "--n-asterisk-color": string;
194
+ "--n-label-text-color": string;
195
+ "--n-feedback-padding": string;
196
+ "--n-feedback-font-size": string;
197
+ "--n-feedback-height": string;
198
+ "--n-feedback-text-color": string;
199
+ "--n-feedback-text-color-warning": string;
200
+ "--n-feedback-text-color-error": string;
201
+ }> | undefined;
202
+ themeClass: import('vue').Ref<string, string> | undefined;
203
+ onRender: (() => void) | undefined;
204
+ validate: import('naive-ui/es/form/src/interface').FormItemValidate;
205
+ restoreValidation: () => void;
206
+ path?: string;
207
+ internalValidate: import('naive-ui/es/form/src/interface').FormItemInternalValidate;
208
+ mergedSize: import('vue').ComputedRef<import('naive-ui/es/form/src/interface').Size>;
209
+ validationErrored: import('vue').Ref<boolean, boolean>;
210
+ validationWarned: import('vue').Ref<boolean, boolean>;
211
+ mergedLabelStyle: import('vue').ComputedRef<import('vue').StyleValue[]>;
212
+ mergedLabelPlacement: import('vue').ComputedRef<import('naive-ui/es/form/src/interface').LabelPlacement>;
213
+ mergedLabelAlign: import('vue').ComputedRef<import('naive-ui/es/form/src/interface').LabelAlign | undefined>;
214
+ mergedShowRequireMark: import('vue').ComputedRef<boolean | undefined>;
215
+ mergedRequireMarkPlacement: import('vue').ComputedRef<"left" | "right" | "right-hanging">;
216
+ mergedValidationStatus: import('vue').ComputedRef<"error" | "warning" | "success" | undefined>;
217
+ mergedShowFeedback: import('vue').ComputedRef<boolean>;
218
+ mergedShowLabel: import('vue').ComputedRef<boolean>;
219
+ isAutoLabelWidth: import('vue').ComputedRef<boolean>;
220
+ labelElementRef: import('vue').Ref<HTMLLabelElement | null, HTMLLabelElement | null>;
221
+ mergedClsPrefix: import('vue').Ref<string, string>;
222
+ mergedRequired: import('vue').ComputedRef<boolean>;
223
+ feedbackId: import('vue').Ref<string, string>;
224
+ renderExplains: import('vue').Ref<{
225
+ key: string;
226
+ render: () => import('vue').VNodeChild;
227
+ }[], {
228
+ key: string;
229
+ render: () => import('vue').VNodeChild;
230
+ }[] | {
231
+ key: string;
232
+ render: () => import('vue').VNodeChild;
233
+ }[]>;
234
+ reverseColSpace: import('vue').ComputedRef<boolean>;
235
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
236
+ readonly first: boolean;
237
+ readonly required: boolean;
238
+ readonly showRequireMark: boolean | undefined;
239
+ readonly showFeedback: boolean | undefined;
240
+ readonly showLabel: boolean | undefined;
241
+ readonly ignorePathChange: boolean;
242
+ }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
243
+ P: {};
244
+ B: {};
245
+ D: {};
246
+ C: {};
247
+ M: {};
248
+ Defaults: {};
249
+ }, Readonly<import('vue').ExtractPropTypes<{
250
+ readonly label: StringConstructor;
251
+ readonly labelWidth: import('vue').PropType<string | number>;
252
+ readonly labelStyle: import('vue').PropType<import('vue').CSSProperties | string>;
253
+ readonly labelAlign: import('vue').PropType<import('naive-ui/es/form/src/interface').LabelAlign>;
254
+ readonly labelPlacement: import('vue').PropType<import('naive-ui/es/form/src/interface').LabelPlacement>;
255
+ readonly path: StringConstructor;
256
+ readonly first: BooleanConstructor;
257
+ readonly rulePath: StringConstructor;
258
+ readonly required: BooleanConstructor;
259
+ readonly showRequireMark: {
260
+ readonly type: import('vue').PropType<boolean | undefined>;
261
+ readonly default: undefined;
262
+ };
263
+ readonly requireMarkPlacement: import('vue').PropType<"left" | "right" | "right-hanging">;
264
+ readonly showFeedback: {
265
+ readonly type: import('vue').PropType<boolean | undefined>;
266
+ readonly default: undefined;
267
+ };
268
+ readonly rule: import('vue').PropType<import('naive-ui').FormItemRule | import('naive-ui').FormItemRule[]>;
269
+ readonly size: import('vue').PropType<"small" | "medium" | "large">;
270
+ readonly ignorePathChange: BooleanConstructor;
271
+ readonly validationStatus: import('vue').PropType<"error" | "warning" | "success">;
272
+ readonly feedback: StringConstructor;
273
+ readonly feedbackClass: StringConstructor;
274
+ readonly feedbackStyle: import('vue').PropType<string | import('vue').CSSProperties>;
275
+ readonly showLabel: {
276
+ readonly type: import('vue').PropType<boolean | undefined>;
277
+ readonly default: undefined;
278
+ };
279
+ readonly labelProps: import('vue').PropType<import('vue').LabelHTMLAttributes>;
280
+ readonly contentClass: StringConstructor;
281
+ readonly contentStyle: import('vue').PropType<string | import('vue').CSSProperties>;
282
+ readonly theme: import('vue').PropType<import('naive-ui/es/_mixins').Theme<"Form", {
283
+ blankHeightSmall: string;
284
+ blankHeightMedium: string;
285
+ blankHeightLarge: string;
286
+ lineHeight: string;
287
+ labelTextColor: string;
288
+ asteriskColor: string;
289
+ feedbackTextColorError: string;
290
+ feedbackTextColorWarning: string;
291
+ feedbackTextColor: string;
292
+ feedbackPadding: string;
293
+ feedbackHeightSmall: string;
294
+ feedbackHeightMedium: string;
295
+ feedbackHeightLarge: string;
296
+ feedbackFontSizeSmall: string;
297
+ feedbackFontSizeMedium: string;
298
+ feedbackFontSizeLarge: string;
299
+ labelFontSizeLeftSmall: string;
300
+ labelFontSizeLeftMedium: string;
301
+ labelFontSizeLeftLarge: string;
302
+ labelFontSizeTopSmall: string;
303
+ labelFontSizeTopMedium: string;
304
+ labelFontSizeTopLarge: string;
305
+ labelHeightSmall: string;
306
+ labelHeightMedium: string;
307
+ labelHeightLarge: string;
308
+ labelPaddingVertical: string;
309
+ labelPaddingHorizontal: string;
310
+ labelTextAlignVertical: string;
311
+ labelTextAlignHorizontal: string;
312
+ labelFontWeight: string;
313
+ }, any>>;
314
+ readonly themeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"Form", {
315
+ blankHeightSmall: string;
316
+ blankHeightMedium: string;
317
+ blankHeightLarge: string;
318
+ lineHeight: string;
319
+ labelTextColor: string;
320
+ asteriskColor: string;
321
+ feedbackTextColorError: string;
322
+ feedbackTextColorWarning: string;
323
+ feedbackTextColor: string;
324
+ feedbackPadding: string;
325
+ feedbackHeightSmall: string;
326
+ feedbackHeightMedium: string;
327
+ feedbackHeightLarge: string;
328
+ feedbackFontSizeSmall: string;
329
+ feedbackFontSizeMedium: string;
330
+ feedbackFontSizeLarge: string;
331
+ labelFontSizeLeftSmall: string;
332
+ labelFontSizeLeftMedium: string;
333
+ labelFontSizeLeftLarge: string;
334
+ labelFontSizeTopSmall: string;
335
+ labelFontSizeTopMedium: string;
336
+ labelFontSizeTopLarge: string;
337
+ labelHeightSmall: string;
338
+ labelHeightMedium: string;
339
+ labelHeightLarge: string;
340
+ labelPaddingVertical: string;
341
+ labelPaddingHorizontal: string;
342
+ labelTextAlignVertical: string;
343
+ labelTextAlignHorizontal: string;
344
+ labelFontWeight: string;
345
+ }, any>>>;
346
+ readonly builtinThemeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"Form", {
347
+ blankHeightSmall: string;
348
+ blankHeightMedium: string;
349
+ blankHeightLarge: string;
350
+ lineHeight: string;
351
+ labelTextColor: string;
352
+ asteriskColor: string;
353
+ feedbackTextColorError: string;
354
+ feedbackTextColorWarning: string;
355
+ feedbackTextColor: string;
356
+ feedbackPadding: string;
357
+ feedbackHeightSmall: string;
358
+ feedbackHeightMedium: string;
359
+ feedbackHeightLarge: string;
360
+ feedbackFontSizeSmall: string;
361
+ feedbackFontSizeMedium: string;
362
+ feedbackFontSizeLarge: string;
363
+ labelFontSizeLeftSmall: string;
364
+ labelFontSizeLeftMedium: string;
365
+ labelFontSizeLeftLarge: string;
366
+ labelFontSizeTopSmall: string;
367
+ labelFontSizeTopMedium: string;
368
+ labelFontSizeTopLarge: string;
369
+ labelHeightSmall: string;
370
+ labelHeightMedium: string;
371
+ labelHeightLarge: string;
372
+ labelPaddingVertical: string;
373
+ labelPaddingHorizontal: string;
374
+ labelTextAlignVertical: string;
375
+ labelTextAlignHorizontal: string;
376
+ labelFontWeight: string;
377
+ }, any>>>;
378
+ }>> & Readonly<{}>, {
379
+ cssVars: import('vue').ComputedRef<{
380
+ "--n-bezier": string;
381
+ "--n-line-height": string;
382
+ "--n-blank-height": string;
383
+ "--n-label-font-size": string;
384
+ "--n-label-text-align": string;
385
+ "--n-label-height": string;
386
+ "--n-label-padding": string;
387
+ "--n-label-font-weight": string;
388
+ "--n-asterisk-color": string;
389
+ "--n-label-text-color": string;
390
+ "--n-feedback-padding": string;
391
+ "--n-feedback-font-size": string;
392
+ "--n-feedback-height": string;
393
+ "--n-feedback-text-color": string;
394
+ "--n-feedback-text-color-warning": string;
395
+ "--n-feedback-text-color-error": string;
396
+ }> | undefined;
397
+ themeClass: import('vue').Ref<string, string> | undefined;
398
+ onRender: (() => void) | undefined;
399
+ validate: import('naive-ui/es/form/src/interface').FormItemValidate;
400
+ restoreValidation: () => void;
401
+ path?: string;
402
+ internalValidate: import('naive-ui/es/form/src/interface').FormItemInternalValidate;
403
+ mergedSize: import('vue').ComputedRef<import('naive-ui/es/form/src/interface').Size>;
404
+ validationErrored: import('vue').Ref<boolean, boolean>;
405
+ validationWarned: import('vue').Ref<boolean, boolean>;
406
+ mergedLabelStyle: import('vue').ComputedRef<import('vue').StyleValue[]>;
407
+ mergedLabelPlacement: import('vue').ComputedRef<import('naive-ui/es/form/src/interface').LabelPlacement>;
408
+ mergedLabelAlign: import('vue').ComputedRef<import('naive-ui/es/form/src/interface').LabelAlign | undefined>;
409
+ mergedShowRequireMark: import('vue').ComputedRef<boolean | undefined>;
410
+ mergedRequireMarkPlacement: import('vue').ComputedRef<"left" | "right" | "right-hanging">;
411
+ mergedValidationStatus: import('vue').ComputedRef<"error" | "warning" | "success" | undefined>;
412
+ mergedShowFeedback: import('vue').ComputedRef<boolean>;
413
+ mergedShowLabel: import('vue').ComputedRef<boolean>;
414
+ isAutoLabelWidth: import('vue').ComputedRef<boolean>;
415
+ labelElementRef: import('vue').Ref<HTMLLabelElement | null, HTMLLabelElement | null>;
416
+ mergedClsPrefix: import('vue').Ref<string, string>;
417
+ mergedRequired: import('vue').ComputedRef<boolean>;
418
+ feedbackId: import('vue').Ref<string, string>;
419
+ renderExplains: import('vue').Ref<{
420
+ key: string;
421
+ render: () => import('vue').VNodeChild;
422
+ }[], {
423
+ key: string;
424
+ render: () => import('vue').VNodeChild;
425
+ }[] | {
426
+ key: string;
427
+ render: () => import('vue').VNodeChild;
428
+ }[]>;
429
+ reverseColSpace: import('vue').ComputedRef<boolean>;
430
+ }, {}, {}, {}, {
431
+ readonly first: boolean;
432
+ readonly required: boolean;
433
+ readonly showRequireMark: boolean | undefined;
434
+ readonly showFeedback: boolean | undefined;
435
+ readonly showLabel: boolean | undefined;
436
+ readonly ignorePathChange: boolean;
437
+ }> | null>>;
44
438
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
45
- "update:value": (value: number, ...additionalParams: any[]) => any;
439
+ "update:value": (value: number | null, ...additionalParams: any[]) => any;
46
440
  "click:add-line": (index: number) => any;
47
441
  "click:remove-line": (index: number) => any;
48
442
  }, string, import('vue').PublicProps, Readonly<IValue<number | null> & {
@@ -50,6 +444,10 @@ declare const _default: import('vue').DefineComponent<IValue<number | null> & {
50
444
  * Индекс линии резки штрипса.
51
445
  */
52
446
  index: number;
447
+ /**
448
+ * Путь к полю в модели формы для валидации.
449
+ */
450
+ path: string;
53
451
  /**
54
452
  * Настройки конфигуратора резки штрипса.
55
453
  */
@@ -77,24 +475,407 @@ declare const _default: import('vue').DefineComponent<IValue<number | null> & {
77
475
  /**
78
476
  * Результат валидации поля при выполнении запросов.
79
477
  */
80
- validation?: IFieldValidationResultData;
478
+ validation: IFormValidationResult;
81
479
  }> & Readonly<{
82
- "onUpdate:value"?: ((value: number, ...additionalParams: any[]) => any) | undefined;
480
+ "onUpdate:value"?: ((value: number | null, ...additionalParams: any[]) => any) | undefined;
83
481
  "onClick:add-line"?: ((index: number) => any) | undefined;
84
482
  "onClick:remove-line"?: ((index: number) => any) | undefined;
85
483
  }>, {
86
484
  product: IProduct;
87
- validation: IFieldValidationResultData;
88
485
  autoFocus: boolean;
89
486
  addLineButtonDisabled: boolean;
90
487
  removeLineButtonDisabled: boolean;
91
488
  suggestionOption: DropdownMixedOption[];
92
489
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
490
+ 'form-item-reference': import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
491
+ readonly label: StringConstructor;
492
+ readonly labelWidth: import('vue').PropType<string | number>;
493
+ readonly labelStyle: import('vue').PropType<import('vue').CSSProperties | string>;
494
+ readonly labelAlign: import('vue').PropType<import('naive-ui/es/form/src/interface').LabelAlign>;
495
+ readonly labelPlacement: import('vue').PropType<import('naive-ui/es/form/src/interface').LabelPlacement>;
496
+ readonly path: StringConstructor;
497
+ readonly first: BooleanConstructor;
498
+ readonly rulePath: StringConstructor;
499
+ readonly required: BooleanConstructor;
500
+ readonly showRequireMark: {
501
+ readonly type: import('vue').PropType<boolean | undefined>;
502
+ readonly default: undefined;
503
+ };
504
+ readonly requireMarkPlacement: import('vue').PropType<"left" | "right" | "right-hanging">;
505
+ readonly showFeedback: {
506
+ readonly type: import('vue').PropType<boolean | undefined>;
507
+ readonly default: undefined;
508
+ };
509
+ readonly rule: import('vue').PropType<import('naive-ui').FormItemRule | import('naive-ui').FormItemRule[]>;
510
+ readonly size: import('vue').PropType<"small" | "medium" | "large">;
511
+ readonly ignorePathChange: BooleanConstructor;
512
+ readonly validationStatus: import('vue').PropType<"error" | "warning" | "success">;
513
+ readonly feedback: StringConstructor;
514
+ readonly feedbackClass: StringConstructor;
515
+ readonly feedbackStyle: import('vue').PropType<string | import('vue').CSSProperties>;
516
+ readonly showLabel: {
517
+ readonly type: import('vue').PropType<boolean | undefined>;
518
+ readonly default: undefined;
519
+ };
520
+ readonly labelProps: import('vue').PropType<import('vue').LabelHTMLAttributes>;
521
+ readonly contentClass: StringConstructor;
522
+ readonly contentStyle: import('vue').PropType<string | import('vue').CSSProperties>;
523
+ readonly theme: import('vue').PropType<import('naive-ui/es/_mixins').Theme<"Form", {
524
+ blankHeightSmall: string;
525
+ blankHeightMedium: string;
526
+ blankHeightLarge: string;
527
+ lineHeight: string;
528
+ labelTextColor: string;
529
+ asteriskColor: string;
530
+ feedbackTextColorError: string;
531
+ feedbackTextColorWarning: string;
532
+ feedbackTextColor: string;
533
+ feedbackPadding: string;
534
+ feedbackHeightSmall: string;
535
+ feedbackHeightMedium: string;
536
+ feedbackHeightLarge: string;
537
+ feedbackFontSizeSmall: string;
538
+ feedbackFontSizeMedium: string;
539
+ feedbackFontSizeLarge: string;
540
+ labelFontSizeLeftSmall: string;
541
+ labelFontSizeLeftMedium: string;
542
+ labelFontSizeLeftLarge: string;
543
+ labelFontSizeTopSmall: string;
544
+ labelFontSizeTopMedium: string;
545
+ labelFontSizeTopLarge: string;
546
+ labelHeightSmall: string;
547
+ labelHeightMedium: string;
548
+ labelHeightLarge: string;
549
+ labelPaddingVertical: string;
550
+ labelPaddingHorizontal: string;
551
+ labelTextAlignVertical: string;
552
+ labelTextAlignHorizontal: string;
553
+ labelFontWeight: string;
554
+ }, any>>;
555
+ readonly themeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"Form", {
556
+ blankHeightSmall: string;
557
+ blankHeightMedium: string;
558
+ blankHeightLarge: string;
559
+ lineHeight: string;
560
+ labelTextColor: string;
561
+ asteriskColor: string;
562
+ feedbackTextColorError: string;
563
+ feedbackTextColorWarning: string;
564
+ feedbackTextColor: string;
565
+ feedbackPadding: string;
566
+ feedbackHeightSmall: string;
567
+ feedbackHeightMedium: string;
568
+ feedbackHeightLarge: string;
569
+ feedbackFontSizeSmall: string;
570
+ feedbackFontSizeMedium: string;
571
+ feedbackFontSizeLarge: string;
572
+ labelFontSizeLeftSmall: string;
573
+ labelFontSizeLeftMedium: string;
574
+ labelFontSizeLeftLarge: string;
575
+ labelFontSizeTopSmall: string;
576
+ labelFontSizeTopMedium: string;
577
+ labelFontSizeTopLarge: string;
578
+ labelHeightSmall: string;
579
+ labelHeightMedium: string;
580
+ labelHeightLarge: string;
581
+ labelPaddingVertical: string;
582
+ labelPaddingHorizontal: string;
583
+ labelTextAlignVertical: string;
584
+ labelTextAlignHorizontal: string;
585
+ labelFontWeight: string;
586
+ }, any>>>;
587
+ readonly builtinThemeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"Form", {
588
+ blankHeightSmall: string;
589
+ blankHeightMedium: string;
590
+ blankHeightLarge: string;
591
+ lineHeight: string;
592
+ labelTextColor: string;
593
+ asteriskColor: string;
594
+ feedbackTextColorError: string;
595
+ feedbackTextColorWarning: string;
596
+ feedbackTextColor: string;
597
+ feedbackPadding: string;
598
+ feedbackHeightSmall: string;
599
+ feedbackHeightMedium: string;
600
+ feedbackHeightLarge: string;
601
+ feedbackFontSizeSmall: string;
602
+ feedbackFontSizeMedium: string;
603
+ feedbackFontSizeLarge: string;
604
+ labelFontSizeLeftSmall: string;
605
+ labelFontSizeLeftMedium: string;
606
+ labelFontSizeLeftLarge: string;
607
+ labelFontSizeTopSmall: string;
608
+ labelFontSizeTopMedium: string;
609
+ labelFontSizeTopLarge: string;
610
+ labelHeightSmall: string;
611
+ labelHeightMedium: string;
612
+ labelHeightLarge: string;
613
+ labelPaddingVertical: string;
614
+ labelPaddingHorizontal: string;
615
+ labelTextAlignVertical: string;
616
+ labelTextAlignHorizontal: string;
617
+ labelFontWeight: string;
618
+ }, any>>>;
619
+ }>> & Readonly<{}>, {
620
+ cssVars: import('vue').ComputedRef<{
621
+ "--n-bezier": string;
622
+ "--n-line-height": string;
623
+ "--n-blank-height": string;
624
+ "--n-label-font-size": string;
625
+ "--n-label-text-align": string;
626
+ "--n-label-height": string;
627
+ "--n-label-padding": string;
628
+ "--n-label-font-weight": string;
629
+ "--n-asterisk-color": string;
630
+ "--n-label-text-color": string;
631
+ "--n-feedback-padding": string;
632
+ "--n-feedback-font-size": string;
633
+ "--n-feedback-height": string;
634
+ "--n-feedback-text-color": string;
635
+ "--n-feedback-text-color-warning": string;
636
+ "--n-feedback-text-color-error": string;
637
+ }> | undefined;
638
+ themeClass: import('vue').Ref<string, string> | undefined;
639
+ onRender: (() => void) | undefined;
640
+ validate: import('naive-ui/es/form/src/interface').FormItemValidate;
641
+ restoreValidation: () => void;
642
+ path?: string;
643
+ internalValidate: import('naive-ui/es/form/src/interface').FormItemInternalValidate;
644
+ mergedSize: import('vue').ComputedRef<import('naive-ui/es/form/src/interface').Size>;
645
+ validationErrored: import('vue').Ref<boolean, boolean>;
646
+ validationWarned: import('vue').Ref<boolean, boolean>;
647
+ mergedLabelStyle: import('vue').ComputedRef<import('vue').StyleValue[]>;
648
+ mergedLabelPlacement: import('vue').ComputedRef<import('naive-ui/es/form/src/interface').LabelPlacement>;
649
+ mergedLabelAlign: import('vue').ComputedRef<import('naive-ui/es/form/src/interface').LabelAlign | undefined>;
650
+ mergedShowRequireMark: import('vue').ComputedRef<boolean | undefined>;
651
+ mergedRequireMarkPlacement: import('vue').ComputedRef<"left" | "right" | "right-hanging">;
652
+ mergedValidationStatus: import('vue').ComputedRef<"error" | "warning" | "success" | undefined>;
653
+ mergedShowFeedback: import('vue').ComputedRef<boolean>;
654
+ mergedShowLabel: import('vue').ComputedRef<boolean>;
655
+ isAutoLabelWidth: import('vue').ComputedRef<boolean>;
656
+ labelElementRef: import('vue').Ref<HTMLLabelElement | null, HTMLLabelElement | null>;
657
+ mergedClsPrefix: import('vue').Ref<string, string>;
658
+ mergedRequired: import('vue').ComputedRef<boolean>;
659
+ feedbackId: import('vue').Ref<string, string>;
660
+ renderExplains: import('vue').Ref<{
661
+ key: string;
662
+ render: () => import('vue').VNodeChild;
663
+ }[], {
664
+ key: string;
665
+ render: () => import('vue').VNodeChild;
666
+ }[] | {
667
+ key: string;
668
+ render: () => import('vue').VNodeChild;
669
+ }[]>;
670
+ reverseColSpace: import('vue').ComputedRef<boolean>;
671
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
672
+ readonly first: boolean;
673
+ readonly required: boolean;
674
+ readonly showRequireMark: boolean | undefined;
675
+ readonly showFeedback: boolean | undefined;
676
+ readonly showLabel: boolean | undefined;
677
+ readonly ignorePathChange: boolean;
678
+ }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
679
+ P: {};
680
+ B: {};
681
+ D: {};
682
+ C: {};
683
+ M: {};
684
+ Defaults: {};
685
+ }, Readonly<import('vue').ExtractPropTypes<{
686
+ readonly label: StringConstructor;
687
+ readonly labelWidth: import('vue').PropType<string | number>;
688
+ readonly labelStyle: import('vue').PropType<import('vue').CSSProperties | string>;
689
+ readonly labelAlign: import('vue').PropType<import('naive-ui/es/form/src/interface').LabelAlign>;
690
+ readonly labelPlacement: import('vue').PropType<import('naive-ui/es/form/src/interface').LabelPlacement>;
691
+ readonly path: StringConstructor;
692
+ readonly first: BooleanConstructor;
693
+ readonly rulePath: StringConstructor;
694
+ readonly required: BooleanConstructor;
695
+ readonly showRequireMark: {
696
+ readonly type: import('vue').PropType<boolean | undefined>;
697
+ readonly default: undefined;
698
+ };
699
+ readonly requireMarkPlacement: import('vue').PropType<"left" | "right" | "right-hanging">;
700
+ readonly showFeedback: {
701
+ readonly type: import('vue').PropType<boolean | undefined>;
702
+ readonly default: undefined;
703
+ };
704
+ readonly rule: import('vue').PropType<import('naive-ui').FormItemRule | import('naive-ui').FormItemRule[]>;
705
+ readonly size: import('vue').PropType<"small" | "medium" | "large">;
706
+ readonly ignorePathChange: BooleanConstructor;
707
+ readonly validationStatus: import('vue').PropType<"error" | "warning" | "success">;
708
+ readonly feedback: StringConstructor;
709
+ readonly feedbackClass: StringConstructor;
710
+ readonly feedbackStyle: import('vue').PropType<string | import('vue').CSSProperties>;
711
+ readonly showLabel: {
712
+ readonly type: import('vue').PropType<boolean | undefined>;
713
+ readonly default: undefined;
714
+ };
715
+ readonly labelProps: import('vue').PropType<import('vue').LabelHTMLAttributes>;
716
+ readonly contentClass: StringConstructor;
717
+ readonly contentStyle: import('vue').PropType<string | import('vue').CSSProperties>;
718
+ readonly theme: import('vue').PropType<import('naive-ui/es/_mixins').Theme<"Form", {
719
+ blankHeightSmall: string;
720
+ blankHeightMedium: string;
721
+ blankHeightLarge: string;
722
+ lineHeight: string;
723
+ labelTextColor: string;
724
+ asteriskColor: string;
725
+ feedbackTextColorError: string;
726
+ feedbackTextColorWarning: string;
727
+ feedbackTextColor: string;
728
+ feedbackPadding: string;
729
+ feedbackHeightSmall: string;
730
+ feedbackHeightMedium: string;
731
+ feedbackHeightLarge: string;
732
+ feedbackFontSizeSmall: string;
733
+ feedbackFontSizeMedium: string;
734
+ feedbackFontSizeLarge: string;
735
+ labelFontSizeLeftSmall: string;
736
+ labelFontSizeLeftMedium: string;
737
+ labelFontSizeLeftLarge: string;
738
+ labelFontSizeTopSmall: string;
739
+ labelFontSizeTopMedium: string;
740
+ labelFontSizeTopLarge: string;
741
+ labelHeightSmall: string;
742
+ labelHeightMedium: string;
743
+ labelHeightLarge: string;
744
+ labelPaddingVertical: string;
745
+ labelPaddingHorizontal: string;
746
+ labelTextAlignVertical: string;
747
+ labelTextAlignHorizontal: string;
748
+ labelFontWeight: string;
749
+ }, any>>;
750
+ readonly themeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"Form", {
751
+ blankHeightSmall: string;
752
+ blankHeightMedium: string;
753
+ blankHeightLarge: string;
754
+ lineHeight: string;
755
+ labelTextColor: string;
756
+ asteriskColor: string;
757
+ feedbackTextColorError: string;
758
+ feedbackTextColorWarning: string;
759
+ feedbackTextColor: string;
760
+ feedbackPadding: string;
761
+ feedbackHeightSmall: string;
762
+ feedbackHeightMedium: string;
763
+ feedbackHeightLarge: string;
764
+ feedbackFontSizeSmall: string;
765
+ feedbackFontSizeMedium: string;
766
+ feedbackFontSizeLarge: string;
767
+ labelFontSizeLeftSmall: string;
768
+ labelFontSizeLeftMedium: string;
769
+ labelFontSizeLeftLarge: string;
770
+ labelFontSizeTopSmall: string;
771
+ labelFontSizeTopMedium: string;
772
+ labelFontSizeTopLarge: string;
773
+ labelHeightSmall: string;
774
+ labelHeightMedium: string;
775
+ labelHeightLarge: string;
776
+ labelPaddingVertical: string;
777
+ labelPaddingHorizontal: string;
778
+ labelTextAlignVertical: string;
779
+ labelTextAlignHorizontal: string;
780
+ labelFontWeight: string;
781
+ }, any>>>;
782
+ readonly builtinThemeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"Form", {
783
+ blankHeightSmall: string;
784
+ blankHeightMedium: string;
785
+ blankHeightLarge: string;
786
+ lineHeight: string;
787
+ labelTextColor: string;
788
+ asteriskColor: string;
789
+ feedbackTextColorError: string;
790
+ feedbackTextColorWarning: string;
791
+ feedbackTextColor: string;
792
+ feedbackPadding: string;
793
+ feedbackHeightSmall: string;
794
+ feedbackHeightMedium: string;
795
+ feedbackHeightLarge: string;
796
+ feedbackFontSizeSmall: string;
797
+ feedbackFontSizeMedium: string;
798
+ feedbackFontSizeLarge: string;
799
+ labelFontSizeLeftSmall: string;
800
+ labelFontSizeLeftMedium: string;
801
+ labelFontSizeLeftLarge: string;
802
+ labelFontSizeTopSmall: string;
803
+ labelFontSizeTopMedium: string;
804
+ labelFontSizeTopLarge: string;
805
+ labelHeightSmall: string;
806
+ labelHeightMedium: string;
807
+ labelHeightLarge: string;
808
+ labelPaddingVertical: string;
809
+ labelPaddingHorizontal: string;
810
+ labelTextAlignVertical: string;
811
+ labelTextAlignHorizontal: string;
812
+ labelFontWeight: string;
813
+ }, any>>>;
814
+ }>> & Readonly<{}>, {
815
+ cssVars: import('vue').ComputedRef<{
816
+ "--n-bezier": string;
817
+ "--n-line-height": string;
818
+ "--n-blank-height": string;
819
+ "--n-label-font-size": string;
820
+ "--n-label-text-align": string;
821
+ "--n-label-height": string;
822
+ "--n-label-padding": string;
823
+ "--n-label-font-weight": string;
824
+ "--n-asterisk-color": string;
825
+ "--n-label-text-color": string;
826
+ "--n-feedback-padding": string;
827
+ "--n-feedback-font-size": string;
828
+ "--n-feedback-height": string;
829
+ "--n-feedback-text-color": string;
830
+ "--n-feedback-text-color-warning": string;
831
+ "--n-feedback-text-color-error": string;
832
+ }> | undefined;
833
+ themeClass: import('vue').Ref<string, string> | undefined;
834
+ onRender: (() => void) | undefined;
835
+ validate: import('naive-ui/es/form/src/interface').FormItemValidate;
836
+ restoreValidation: () => void;
837
+ path?: string;
838
+ internalValidate: import('naive-ui/es/form/src/interface').FormItemInternalValidate;
839
+ mergedSize: import('vue').ComputedRef<import('naive-ui/es/form/src/interface').Size>;
840
+ validationErrored: import('vue').Ref<boolean, boolean>;
841
+ validationWarned: import('vue').Ref<boolean, boolean>;
842
+ mergedLabelStyle: import('vue').ComputedRef<import('vue').StyleValue[]>;
843
+ mergedLabelPlacement: import('vue').ComputedRef<import('naive-ui/es/form/src/interface').LabelPlacement>;
844
+ mergedLabelAlign: import('vue').ComputedRef<import('naive-ui/es/form/src/interface').LabelAlign | undefined>;
845
+ mergedShowRequireMark: import('vue').ComputedRef<boolean | undefined>;
846
+ mergedRequireMarkPlacement: import('vue').ComputedRef<"left" | "right" | "right-hanging">;
847
+ mergedValidationStatus: import('vue').ComputedRef<"error" | "warning" | "success" | undefined>;
848
+ mergedShowFeedback: import('vue').ComputedRef<boolean>;
849
+ mergedShowLabel: import('vue').ComputedRef<boolean>;
850
+ isAutoLabelWidth: import('vue').ComputedRef<boolean>;
851
+ labelElementRef: import('vue').Ref<HTMLLabelElement | null, HTMLLabelElement | null>;
852
+ mergedClsPrefix: import('vue').Ref<string, string>;
853
+ mergedRequired: import('vue').ComputedRef<boolean>;
854
+ feedbackId: import('vue').Ref<string, string>;
855
+ renderExplains: import('vue').Ref<{
856
+ key: string;
857
+ render: () => import('vue').VNodeChild;
858
+ }[], {
859
+ key: string;
860
+ render: () => import('vue').VNodeChild;
861
+ }[] | {
862
+ key: string;
863
+ render: () => import('vue').VNodeChild;
864
+ }[]>;
865
+ reverseColSpace: import('vue').ComputedRef<boolean>;
866
+ }, {}, {}, {}, {
867
+ readonly first: boolean;
868
+ readonly required: boolean;
869
+ readonly showRequireMark: boolean | undefined;
870
+ readonly showFeedback: boolean | undefined;
871
+ readonly showLabel: boolean | undefined;
872
+ readonly ignorePathChange: boolean;
873
+ }> | null;
93
874
  'width-input-element': ({
94
875
  $: import('vue').ComponentInternalInstance;
95
876
  $data: {};
96
877
  $props: {
97
- readonly value: number | null | undefined;
878
+ readonly value: number | null;
98
879
  readonly clearable?: boolean | undefined;
99
880
  readonly debounceTime?: number | undefined;
100
881
  readonly placeholder?: string | undefined;
@@ -102,7 +883,11 @@ declare const _default: import('vue').DefineComponent<IValue<number | null> & {
102
883
  readonly max?: number | undefined;
103
884
  readonly step?: number | undefined;
104
885
  readonly validator?: ((value: number) => boolean) | undefined | undefined;
105
- readonly "onUpdate:value"?: ((value: number | null | undefined, ...additionalParams: any[]) => any) | undefined;
886
+ readonly parse?: ((value: string) => number | null) | undefined;
887
+ readonly showButton?: boolean | undefined;
888
+ readonly onInput?: ((inputEvent: Event) => any) | undefined;
889
+ readonly onKeydown?: ((keyboardEvent: KeyboardEvent) => any) | undefined;
890
+ readonly "onUpdate:value"?: ((value: number | null, ...additionalParams: any[]) => any) | undefined;
106
891
  } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
107
892
  $attrs: {
108
893
  [x: string]: unknown;
@@ -2779,29 +3564,37 @@ declare const _default: import('vue').DefineComponent<IValue<number | null> & {
2779
3564
  $root: import('vue').ComponentPublicInstance | null;
2780
3565
  $parent: import('vue').ComponentPublicInstance | null;
2781
3566
  $host: Element | null;
2782
- $emit: (event: "update:value", value: number | null | undefined, ...additionalParams: any[]) => void;
3567
+ $emit: ((event: "input", inputEvent: Event) => void) & ((event: "keydown", keyboardEvent: KeyboardEvent) => void) & ((event: "update:value", value: number | null, ...additionalParams: any[]) => void);
2783
3568
  $el: any;
2784
- $options: import('vue').ComponentOptionsBase<Readonly<IValue<number | null | undefined> & import('../../../properties').IClearable & import('../../../properties').IDebounced & import('../../../properties').IPlaceholder & {
3569
+ $options: import('vue').ComponentOptionsBase<Readonly<IValue<number | null> & import('../../../properties').IClearable & import('../../../properties').IDebounced & import('../../../properties').IPlaceholder & {
2785
3570
  min?: number;
2786
3571
  max?: number;
2787
3572
  step?: number;
2788
3573
  validator?: ((value: number) => boolean) | undefined;
3574
+ parse?: (value: string) => number | null;
3575
+ showButton?: boolean;
2789
3576
  }> & Readonly<{
2790
- "onUpdate:value"?: ((value: number | null | undefined, ...additionalParams: any[]) => any) | undefined;
3577
+ onInput?: ((inputEvent: Event) => any) | undefined;
3578
+ onKeydown?: ((keyboardEvent: KeyboardEvent) => any) | undefined;
3579
+ "onUpdate:value"?: ((value: number | null, ...additionalParams: any[]) => any) | undefined;
2791
3580
  }>, {
2792
3581
  focus: () => void | undefined;
2793
3582
  blur: () => void | undefined;
2794
3583
  select: () => void | undefined;
2795
3584
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
2796
- "update:value": (value: number | null | undefined, ...additionalParams: any[]) => any;
3585
+ input: (inputEvent: Event) => any;
3586
+ keydown: (keyboardEvent: KeyboardEvent) => any;
3587
+ "update:value": (value: number | null, ...additionalParams: any[]) => any;
2797
3588
  }, string, {
2798
- value: number | null | undefined;
3589
+ value: number | null;
2799
3590
  placeholder: string;
2800
3591
  clearable: boolean;
2801
3592
  validator: (value: number) => boolean;
2802
3593
  min: number;
2803
3594
  max: number;
2804
3595
  step: number;
3596
+ showButton: boolean;
3597
+ parse: (value: string) => number | null;
2805
3598
  debounceTime: number;
2806
3599
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
2807
3600
  beforeCreate?: (() => void) | (() => void)[];
@@ -2824,22 +3617,28 @@ declare const _default: import('vue').DefineComponent<IValue<number | null> & {
2824
3617
  $nextTick: typeof nextTick;
2825
3618
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
2826
3619
  } & Readonly<{
2827
- value: number | null | undefined;
3620
+ value: number | null;
2828
3621
  placeholder: string;
2829
3622
  clearable: boolean;
2830
3623
  validator: (value: number) => boolean;
2831
3624
  min: number;
2832
3625
  max: number;
2833
3626
  step: number;
3627
+ showButton: boolean;
3628
+ parse: (value: string) => number | null;
2834
3629
  debounceTime: number;
2835
- }> & Omit<Readonly<IValue<number | null | undefined> & import('../../../properties').IClearable & import('../../../properties').IDebounced & import('../../../properties').IPlaceholder & {
3630
+ }> & Omit<Readonly<IValue<number | null> & import('../../../properties').IClearable & import('../../../properties').IDebounced & import('../../../properties').IPlaceholder & {
2836
3631
  min?: number;
2837
3632
  max?: number;
2838
3633
  step?: number;
2839
3634
  validator?: ((value: number) => boolean) | undefined;
3635
+ parse?: (value: string) => number | null;
3636
+ showButton?: boolean;
2840
3637
  }> & Readonly<{
2841
- "onUpdate:value"?: ((value: number | null | undefined, ...additionalParams: any[]) => any) | undefined;
2842
- }>, "blur" | "focus" | "select" | ("value" | "placeholder" | "clearable" | "validator" | "min" | "max" | "step" | "debounceTime")> & import('vue').ShallowUnwrapRef<{
3638
+ onInput?: ((inputEvent: Event) => any) | undefined;
3639
+ onKeydown?: ((keyboardEvent: KeyboardEvent) => any) | undefined;
3640
+ "onUpdate:value"?: ((value: number | null, ...additionalParams: any[]) => any) | undefined;
3641
+ }>, "blur" | "focus" | "select" | ("value" | "placeholder" | "clearable" | "validator" | "min" | "max" | "step" | "showButton" | "parse" | "debounceTime")> & import('vue').ShallowUnwrapRef<{
2843
3642
  focus: () => void | undefined;
2844
3643
  blur: () => void | undefined;
2845
3644
  select: () => void | undefined;