@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,3 +1,4 @@
1
+ import { FormInst, FormRules } from 'naive-ui';
1
2
  import { ICartItemBase } from '@snabcentr/common-lib';
2
3
  import { IValue } from '../../../properties';
3
4
  import { nextTick } from 'vue';
@@ -24,7 +25,303 @@ declare const _default: import('vue').DefineComponent<IValue<ICartItemBase<IConf
24
25
  * Результаты валидации полей при выполнении запросов.
25
26
  */
26
27
  validation: IMetalForDorsValidation;
27
- }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
28
+ }, {
29
+ /**
30
+ * Валидирует форму.
31
+ */
32
+ validate: import('naive-ui/es/form/src/interface').FormValidate | undefined;
33
+ /**
34
+ * Ссылка на форму.
35
+ */
36
+ formReference: Readonly<import('vue').ShallowRef<import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
37
+ readonly inline: BooleanConstructor;
38
+ readonly labelWidth: import('vue').PropType<number | string>;
39
+ readonly labelAlign: import('vue').PropType<import('naive-ui/es/form/src/interface').LabelAlign>;
40
+ readonly labelPlacement: {
41
+ readonly type: import('vue').PropType<import('naive-ui/es/form/src/interface').LabelPlacement>;
42
+ readonly default: "top";
43
+ };
44
+ readonly model: {
45
+ readonly type: import('vue').PropType<Record<string, any>>;
46
+ readonly default: () => void;
47
+ };
48
+ readonly rules: import('vue').PropType<FormRules>;
49
+ readonly disabled: BooleanConstructor;
50
+ readonly size: import('vue').PropType<import('naive-ui/es/form/src/interface').Size>;
51
+ readonly showRequireMark: {
52
+ readonly type: import('vue').PropType<boolean | undefined>;
53
+ readonly default: undefined;
54
+ };
55
+ readonly requireMarkPlacement: import('vue').PropType<"left" | "right" | "right-hanging">;
56
+ readonly showFeedback: {
57
+ readonly type: BooleanConstructor;
58
+ readonly default: true;
59
+ };
60
+ readonly onSubmit: {
61
+ readonly type: import('vue').PropType<(e: Event) => void>;
62
+ readonly default: (e: Event) => void;
63
+ };
64
+ readonly showLabel: {
65
+ readonly type: import('vue').PropType<boolean | undefined>;
66
+ readonly default: undefined;
67
+ };
68
+ readonly validateMessages: import('vue').PropType<Partial<import('naive-ui/es/form/src/interface').FormValidateMessages>>;
69
+ readonly theme: import('vue').PropType<import('naive-ui/es/_mixins').Theme<"Form", {
70
+ blankHeightSmall: string;
71
+ blankHeightMedium: string;
72
+ blankHeightLarge: string;
73
+ lineHeight: string;
74
+ labelTextColor: string;
75
+ asteriskColor: string;
76
+ feedbackTextColorError: string;
77
+ feedbackTextColorWarning: string;
78
+ feedbackTextColor: string;
79
+ feedbackPadding: string;
80
+ feedbackHeightSmall: string;
81
+ feedbackHeightMedium: string;
82
+ feedbackHeightLarge: string;
83
+ feedbackFontSizeSmall: string;
84
+ feedbackFontSizeMedium: string;
85
+ feedbackFontSizeLarge: string;
86
+ labelFontSizeLeftSmall: string;
87
+ labelFontSizeLeftMedium: string;
88
+ labelFontSizeLeftLarge: string;
89
+ labelFontSizeTopSmall: string;
90
+ labelFontSizeTopMedium: string;
91
+ labelFontSizeTopLarge: string;
92
+ labelHeightSmall: string;
93
+ labelHeightMedium: string;
94
+ labelHeightLarge: string;
95
+ labelPaddingVertical: string;
96
+ labelPaddingHorizontal: string;
97
+ labelTextAlignVertical: string;
98
+ labelTextAlignHorizontal: string;
99
+ labelFontWeight: string;
100
+ }, any>>;
101
+ readonly themeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"Form", {
102
+ blankHeightSmall: string;
103
+ blankHeightMedium: string;
104
+ blankHeightLarge: string;
105
+ lineHeight: string;
106
+ labelTextColor: string;
107
+ asteriskColor: string;
108
+ feedbackTextColorError: string;
109
+ feedbackTextColorWarning: string;
110
+ feedbackTextColor: string;
111
+ feedbackPadding: string;
112
+ feedbackHeightSmall: string;
113
+ feedbackHeightMedium: string;
114
+ feedbackHeightLarge: string;
115
+ feedbackFontSizeSmall: string;
116
+ feedbackFontSizeMedium: string;
117
+ feedbackFontSizeLarge: string;
118
+ labelFontSizeLeftSmall: string;
119
+ labelFontSizeLeftMedium: string;
120
+ labelFontSizeLeftLarge: string;
121
+ labelFontSizeTopSmall: string;
122
+ labelFontSizeTopMedium: string;
123
+ labelFontSizeTopLarge: string;
124
+ labelHeightSmall: string;
125
+ labelHeightMedium: string;
126
+ labelHeightLarge: string;
127
+ labelPaddingVertical: string;
128
+ labelPaddingHorizontal: string;
129
+ labelTextAlignVertical: string;
130
+ labelTextAlignHorizontal: string;
131
+ labelFontWeight: string;
132
+ }, any>>>;
133
+ readonly builtinThemeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"Form", {
134
+ blankHeightSmall: string;
135
+ blankHeightMedium: string;
136
+ blankHeightLarge: string;
137
+ lineHeight: string;
138
+ labelTextColor: string;
139
+ asteriskColor: string;
140
+ feedbackTextColorError: string;
141
+ feedbackTextColorWarning: string;
142
+ feedbackTextColor: string;
143
+ feedbackPadding: string;
144
+ feedbackHeightSmall: string;
145
+ feedbackHeightMedium: string;
146
+ feedbackHeightLarge: string;
147
+ feedbackFontSizeSmall: string;
148
+ feedbackFontSizeMedium: string;
149
+ feedbackFontSizeLarge: string;
150
+ labelFontSizeLeftSmall: string;
151
+ labelFontSizeLeftMedium: string;
152
+ labelFontSizeLeftLarge: string;
153
+ labelFontSizeTopSmall: string;
154
+ labelFontSizeTopMedium: string;
155
+ labelFontSizeTopLarge: string;
156
+ labelHeightSmall: string;
157
+ labelHeightMedium: string;
158
+ labelHeightLarge: string;
159
+ labelPaddingVertical: string;
160
+ labelPaddingHorizontal: string;
161
+ labelTextAlignVertical: string;
162
+ labelTextAlignHorizontal: string;
163
+ labelFontWeight: string;
164
+ }, any>>>;
165
+ }>> & Readonly<{}>, FormInst & {
166
+ mergedClsPrefix: import('vue').Ref<string, string>;
167
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
168
+ readonly inline: boolean;
169
+ readonly disabled: boolean;
170
+ readonly onSubmit: (e: Event) => void;
171
+ readonly labelPlacement: import('naive-ui/es/form/src/interface').LabelPlacement;
172
+ readonly model: Record<string, any>;
173
+ readonly showRequireMark: boolean | undefined;
174
+ readonly showFeedback: boolean;
175
+ readonly showLabel: boolean | undefined;
176
+ }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
177
+ P: {};
178
+ B: {};
179
+ D: {};
180
+ C: {};
181
+ M: {};
182
+ Defaults: {};
183
+ }, Readonly<import('vue').ExtractPropTypes<{
184
+ readonly inline: BooleanConstructor;
185
+ readonly labelWidth: import('vue').PropType<number | string>;
186
+ readonly labelAlign: import('vue').PropType<import('naive-ui/es/form/src/interface').LabelAlign>;
187
+ readonly labelPlacement: {
188
+ readonly type: import('vue').PropType<import('naive-ui/es/form/src/interface').LabelPlacement>;
189
+ readonly default: "top";
190
+ };
191
+ readonly model: {
192
+ readonly type: import('vue').PropType<Record<string, any>>;
193
+ readonly default: () => void;
194
+ };
195
+ readonly rules: import('vue').PropType<FormRules>;
196
+ readonly disabled: BooleanConstructor;
197
+ readonly size: import('vue').PropType<import('naive-ui/es/form/src/interface').Size>;
198
+ readonly showRequireMark: {
199
+ readonly type: import('vue').PropType<boolean | undefined>;
200
+ readonly default: undefined;
201
+ };
202
+ readonly requireMarkPlacement: import('vue').PropType<"left" | "right" | "right-hanging">;
203
+ readonly showFeedback: {
204
+ readonly type: BooleanConstructor;
205
+ readonly default: true;
206
+ };
207
+ readonly onSubmit: {
208
+ readonly type: import('vue').PropType<(e: Event) => void>;
209
+ readonly default: (e: Event) => void;
210
+ };
211
+ readonly showLabel: {
212
+ readonly type: import('vue').PropType<boolean | undefined>;
213
+ readonly default: undefined;
214
+ };
215
+ readonly validateMessages: import('vue').PropType<Partial<import('naive-ui/es/form/src/interface').FormValidateMessages>>;
216
+ readonly theme: import('vue').PropType<import('naive-ui/es/_mixins').Theme<"Form", {
217
+ blankHeightSmall: string;
218
+ blankHeightMedium: string;
219
+ blankHeightLarge: string;
220
+ lineHeight: string;
221
+ labelTextColor: string;
222
+ asteriskColor: string;
223
+ feedbackTextColorError: string;
224
+ feedbackTextColorWarning: string;
225
+ feedbackTextColor: string;
226
+ feedbackPadding: string;
227
+ feedbackHeightSmall: string;
228
+ feedbackHeightMedium: string;
229
+ feedbackHeightLarge: string;
230
+ feedbackFontSizeSmall: string;
231
+ feedbackFontSizeMedium: string;
232
+ feedbackFontSizeLarge: string;
233
+ labelFontSizeLeftSmall: string;
234
+ labelFontSizeLeftMedium: string;
235
+ labelFontSizeLeftLarge: string;
236
+ labelFontSizeTopSmall: string;
237
+ labelFontSizeTopMedium: string;
238
+ labelFontSizeTopLarge: string;
239
+ labelHeightSmall: string;
240
+ labelHeightMedium: string;
241
+ labelHeightLarge: string;
242
+ labelPaddingVertical: string;
243
+ labelPaddingHorizontal: string;
244
+ labelTextAlignVertical: string;
245
+ labelTextAlignHorizontal: string;
246
+ labelFontWeight: string;
247
+ }, any>>;
248
+ readonly themeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"Form", {
249
+ blankHeightSmall: string;
250
+ blankHeightMedium: string;
251
+ blankHeightLarge: string;
252
+ lineHeight: string;
253
+ labelTextColor: string;
254
+ asteriskColor: string;
255
+ feedbackTextColorError: string;
256
+ feedbackTextColorWarning: string;
257
+ feedbackTextColor: string;
258
+ feedbackPadding: string;
259
+ feedbackHeightSmall: string;
260
+ feedbackHeightMedium: string;
261
+ feedbackHeightLarge: string;
262
+ feedbackFontSizeSmall: string;
263
+ feedbackFontSizeMedium: string;
264
+ feedbackFontSizeLarge: string;
265
+ labelFontSizeLeftSmall: string;
266
+ labelFontSizeLeftMedium: string;
267
+ labelFontSizeLeftLarge: string;
268
+ labelFontSizeTopSmall: string;
269
+ labelFontSizeTopMedium: string;
270
+ labelFontSizeTopLarge: string;
271
+ labelHeightSmall: string;
272
+ labelHeightMedium: string;
273
+ labelHeightLarge: string;
274
+ labelPaddingVertical: string;
275
+ labelPaddingHorizontal: string;
276
+ labelTextAlignVertical: string;
277
+ labelTextAlignHorizontal: string;
278
+ labelFontWeight: string;
279
+ }, any>>>;
280
+ readonly builtinThemeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"Form", {
281
+ blankHeightSmall: string;
282
+ blankHeightMedium: string;
283
+ blankHeightLarge: string;
284
+ lineHeight: string;
285
+ labelTextColor: string;
286
+ asteriskColor: string;
287
+ feedbackTextColorError: string;
288
+ feedbackTextColorWarning: string;
289
+ feedbackTextColor: string;
290
+ feedbackPadding: string;
291
+ feedbackHeightSmall: string;
292
+ feedbackHeightMedium: string;
293
+ feedbackHeightLarge: string;
294
+ feedbackFontSizeSmall: string;
295
+ feedbackFontSizeMedium: string;
296
+ feedbackFontSizeLarge: string;
297
+ labelFontSizeLeftSmall: string;
298
+ labelFontSizeLeftMedium: string;
299
+ labelFontSizeLeftLarge: string;
300
+ labelFontSizeTopSmall: string;
301
+ labelFontSizeTopMedium: string;
302
+ labelFontSizeTopLarge: string;
303
+ labelHeightSmall: string;
304
+ labelHeightMedium: string;
305
+ labelHeightLarge: string;
306
+ labelPaddingVertical: string;
307
+ labelPaddingHorizontal: string;
308
+ labelTextAlignVertical: string;
309
+ labelTextAlignHorizontal: string;
310
+ labelFontWeight: string;
311
+ }, any>>>;
312
+ }>> & Readonly<{}>, FormInst & {
313
+ mergedClsPrefix: import('vue').Ref<string, string>;
314
+ }, {}, {}, {}, {
315
+ readonly inline: boolean;
316
+ readonly disabled: boolean;
317
+ readonly onSubmit: (e: Event) => void;
318
+ readonly labelPlacement: import('naive-ui/es/form/src/interface').LabelPlacement;
319
+ readonly model: Record<string, any>;
320
+ readonly showRequireMark: boolean | undefined;
321
+ readonly showFeedback: boolean;
322
+ readonly showLabel: boolean | undefined;
323
+ }> | null>>;
324
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
28
325
  submit: (data: ICartItemBase<IConfiguratorParamsMetalForDoors>, validation?: import('@snabcentr/common-lib').IFormValidationResult | undefined, callback?: ((...additionalParams: any[]) => void) | undefined) => any;
29
326
  "update:params": (params: IConfiguratorParamsMetalForDoors, ...additionalParams: any[]) => any;
30
327
  "update:value": (value: ICartItemBase<IConfiguratorParamsMetalForDoors>, ...additionalParams: any[]) => any;
@@ -54,11 +351,299 @@ declare const _default: import('vue').DefineComponent<IValue<ICartItemBase<IConf
54
351
  isSubmitProcessing: boolean;
55
352
  validation: IMetalForDorsValidation;
56
353
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
354
+ 'form-reference': import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
355
+ readonly inline: BooleanConstructor;
356
+ readonly labelWidth: import('vue').PropType<number | string>;
357
+ readonly labelAlign: import('vue').PropType<import('naive-ui/es/form/src/interface').LabelAlign>;
358
+ readonly labelPlacement: {
359
+ readonly type: import('vue').PropType<import('naive-ui/es/form/src/interface').LabelPlacement>;
360
+ readonly default: "top";
361
+ };
362
+ readonly model: {
363
+ readonly type: import('vue').PropType<Record<string, any>>;
364
+ readonly default: () => void;
365
+ };
366
+ readonly rules: import('vue').PropType<FormRules>;
367
+ readonly disabled: BooleanConstructor;
368
+ readonly size: import('vue').PropType<import('naive-ui/es/form/src/interface').Size>;
369
+ readonly showRequireMark: {
370
+ readonly type: import('vue').PropType<boolean | undefined>;
371
+ readonly default: undefined;
372
+ };
373
+ readonly requireMarkPlacement: import('vue').PropType<"left" | "right" | "right-hanging">;
374
+ readonly showFeedback: {
375
+ readonly type: BooleanConstructor;
376
+ readonly default: true;
377
+ };
378
+ readonly onSubmit: {
379
+ readonly type: import('vue').PropType<(e: Event) => void>;
380
+ readonly default: (e: Event) => void;
381
+ };
382
+ readonly showLabel: {
383
+ readonly type: import('vue').PropType<boolean | undefined>;
384
+ readonly default: undefined;
385
+ };
386
+ readonly validateMessages: import('vue').PropType<Partial<import('naive-ui/es/form/src/interface').FormValidateMessages>>;
387
+ readonly theme: import('vue').PropType<import('naive-ui/es/_mixins').Theme<"Form", {
388
+ blankHeightSmall: string;
389
+ blankHeightMedium: string;
390
+ blankHeightLarge: string;
391
+ lineHeight: string;
392
+ labelTextColor: string;
393
+ asteriskColor: string;
394
+ feedbackTextColorError: string;
395
+ feedbackTextColorWarning: string;
396
+ feedbackTextColor: string;
397
+ feedbackPadding: string;
398
+ feedbackHeightSmall: string;
399
+ feedbackHeightMedium: string;
400
+ feedbackHeightLarge: string;
401
+ feedbackFontSizeSmall: string;
402
+ feedbackFontSizeMedium: string;
403
+ feedbackFontSizeLarge: string;
404
+ labelFontSizeLeftSmall: string;
405
+ labelFontSizeLeftMedium: string;
406
+ labelFontSizeLeftLarge: string;
407
+ labelFontSizeTopSmall: string;
408
+ labelFontSizeTopMedium: string;
409
+ labelFontSizeTopLarge: string;
410
+ labelHeightSmall: string;
411
+ labelHeightMedium: string;
412
+ labelHeightLarge: string;
413
+ labelPaddingVertical: string;
414
+ labelPaddingHorizontal: string;
415
+ labelTextAlignVertical: string;
416
+ labelTextAlignHorizontal: string;
417
+ labelFontWeight: string;
418
+ }, any>>;
419
+ readonly themeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"Form", {
420
+ blankHeightSmall: string;
421
+ blankHeightMedium: string;
422
+ blankHeightLarge: string;
423
+ lineHeight: string;
424
+ labelTextColor: string;
425
+ asteriskColor: string;
426
+ feedbackTextColorError: string;
427
+ feedbackTextColorWarning: string;
428
+ feedbackTextColor: string;
429
+ feedbackPadding: string;
430
+ feedbackHeightSmall: string;
431
+ feedbackHeightMedium: string;
432
+ feedbackHeightLarge: string;
433
+ feedbackFontSizeSmall: string;
434
+ feedbackFontSizeMedium: string;
435
+ feedbackFontSizeLarge: string;
436
+ labelFontSizeLeftSmall: string;
437
+ labelFontSizeLeftMedium: string;
438
+ labelFontSizeLeftLarge: string;
439
+ labelFontSizeTopSmall: string;
440
+ labelFontSizeTopMedium: string;
441
+ labelFontSizeTopLarge: string;
442
+ labelHeightSmall: string;
443
+ labelHeightMedium: string;
444
+ labelHeightLarge: string;
445
+ labelPaddingVertical: string;
446
+ labelPaddingHorizontal: string;
447
+ labelTextAlignVertical: string;
448
+ labelTextAlignHorizontal: string;
449
+ labelFontWeight: string;
450
+ }, any>>>;
451
+ readonly builtinThemeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"Form", {
452
+ blankHeightSmall: string;
453
+ blankHeightMedium: string;
454
+ blankHeightLarge: string;
455
+ lineHeight: string;
456
+ labelTextColor: string;
457
+ asteriskColor: string;
458
+ feedbackTextColorError: string;
459
+ feedbackTextColorWarning: string;
460
+ feedbackTextColor: string;
461
+ feedbackPadding: string;
462
+ feedbackHeightSmall: string;
463
+ feedbackHeightMedium: string;
464
+ feedbackHeightLarge: string;
465
+ feedbackFontSizeSmall: string;
466
+ feedbackFontSizeMedium: string;
467
+ feedbackFontSizeLarge: string;
468
+ labelFontSizeLeftSmall: string;
469
+ labelFontSizeLeftMedium: string;
470
+ labelFontSizeLeftLarge: string;
471
+ labelFontSizeTopSmall: string;
472
+ labelFontSizeTopMedium: string;
473
+ labelFontSizeTopLarge: string;
474
+ labelHeightSmall: string;
475
+ labelHeightMedium: string;
476
+ labelHeightLarge: string;
477
+ labelPaddingVertical: string;
478
+ labelPaddingHorizontal: string;
479
+ labelTextAlignVertical: string;
480
+ labelTextAlignHorizontal: string;
481
+ labelFontWeight: string;
482
+ }, any>>>;
483
+ }>> & Readonly<{}>, FormInst & {
484
+ mergedClsPrefix: import('vue').Ref<string, string>;
485
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
486
+ readonly inline: boolean;
487
+ readonly disabled: boolean;
488
+ readonly onSubmit: (e: Event) => void;
489
+ readonly labelPlacement: import('naive-ui/es/form/src/interface').LabelPlacement;
490
+ readonly model: Record<string, any>;
491
+ readonly showRequireMark: boolean | undefined;
492
+ readonly showFeedback: boolean;
493
+ readonly showLabel: boolean | undefined;
494
+ }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
495
+ P: {};
496
+ B: {};
497
+ D: {};
498
+ C: {};
499
+ M: {};
500
+ Defaults: {};
501
+ }, Readonly<import('vue').ExtractPropTypes<{
502
+ readonly inline: BooleanConstructor;
503
+ readonly labelWidth: import('vue').PropType<number | string>;
504
+ readonly labelAlign: import('vue').PropType<import('naive-ui/es/form/src/interface').LabelAlign>;
505
+ readonly labelPlacement: {
506
+ readonly type: import('vue').PropType<import('naive-ui/es/form/src/interface').LabelPlacement>;
507
+ readonly default: "top";
508
+ };
509
+ readonly model: {
510
+ readonly type: import('vue').PropType<Record<string, any>>;
511
+ readonly default: () => void;
512
+ };
513
+ readonly rules: import('vue').PropType<FormRules>;
514
+ readonly disabled: BooleanConstructor;
515
+ readonly size: import('vue').PropType<import('naive-ui/es/form/src/interface').Size>;
516
+ readonly showRequireMark: {
517
+ readonly type: import('vue').PropType<boolean | undefined>;
518
+ readonly default: undefined;
519
+ };
520
+ readonly requireMarkPlacement: import('vue').PropType<"left" | "right" | "right-hanging">;
521
+ readonly showFeedback: {
522
+ readonly type: BooleanConstructor;
523
+ readonly default: true;
524
+ };
525
+ readonly onSubmit: {
526
+ readonly type: import('vue').PropType<(e: Event) => void>;
527
+ readonly default: (e: Event) => void;
528
+ };
529
+ readonly showLabel: {
530
+ readonly type: import('vue').PropType<boolean | undefined>;
531
+ readonly default: undefined;
532
+ };
533
+ readonly validateMessages: import('vue').PropType<Partial<import('naive-ui/es/form/src/interface').FormValidateMessages>>;
534
+ readonly theme: import('vue').PropType<import('naive-ui/es/_mixins').Theme<"Form", {
535
+ blankHeightSmall: string;
536
+ blankHeightMedium: string;
537
+ blankHeightLarge: string;
538
+ lineHeight: string;
539
+ labelTextColor: string;
540
+ asteriskColor: string;
541
+ feedbackTextColorError: string;
542
+ feedbackTextColorWarning: string;
543
+ feedbackTextColor: string;
544
+ feedbackPadding: string;
545
+ feedbackHeightSmall: string;
546
+ feedbackHeightMedium: string;
547
+ feedbackHeightLarge: string;
548
+ feedbackFontSizeSmall: string;
549
+ feedbackFontSizeMedium: string;
550
+ feedbackFontSizeLarge: string;
551
+ labelFontSizeLeftSmall: string;
552
+ labelFontSizeLeftMedium: string;
553
+ labelFontSizeLeftLarge: string;
554
+ labelFontSizeTopSmall: string;
555
+ labelFontSizeTopMedium: string;
556
+ labelFontSizeTopLarge: string;
557
+ labelHeightSmall: string;
558
+ labelHeightMedium: string;
559
+ labelHeightLarge: string;
560
+ labelPaddingVertical: string;
561
+ labelPaddingHorizontal: string;
562
+ labelTextAlignVertical: string;
563
+ labelTextAlignHorizontal: string;
564
+ labelFontWeight: string;
565
+ }, any>>;
566
+ readonly themeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"Form", {
567
+ blankHeightSmall: string;
568
+ blankHeightMedium: string;
569
+ blankHeightLarge: string;
570
+ lineHeight: string;
571
+ labelTextColor: string;
572
+ asteriskColor: string;
573
+ feedbackTextColorError: string;
574
+ feedbackTextColorWarning: string;
575
+ feedbackTextColor: string;
576
+ feedbackPadding: string;
577
+ feedbackHeightSmall: string;
578
+ feedbackHeightMedium: string;
579
+ feedbackHeightLarge: string;
580
+ feedbackFontSizeSmall: string;
581
+ feedbackFontSizeMedium: string;
582
+ feedbackFontSizeLarge: string;
583
+ labelFontSizeLeftSmall: string;
584
+ labelFontSizeLeftMedium: string;
585
+ labelFontSizeLeftLarge: string;
586
+ labelFontSizeTopSmall: string;
587
+ labelFontSizeTopMedium: string;
588
+ labelFontSizeTopLarge: string;
589
+ labelHeightSmall: string;
590
+ labelHeightMedium: string;
591
+ labelHeightLarge: string;
592
+ labelPaddingVertical: string;
593
+ labelPaddingHorizontal: string;
594
+ labelTextAlignVertical: string;
595
+ labelTextAlignHorizontal: string;
596
+ labelFontWeight: string;
597
+ }, any>>>;
598
+ readonly builtinThemeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"Form", {
599
+ blankHeightSmall: string;
600
+ blankHeightMedium: string;
601
+ blankHeightLarge: string;
602
+ lineHeight: string;
603
+ labelTextColor: string;
604
+ asteriskColor: string;
605
+ feedbackTextColorError: string;
606
+ feedbackTextColorWarning: string;
607
+ feedbackTextColor: string;
608
+ feedbackPadding: string;
609
+ feedbackHeightSmall: string;
610
+ feedbackHeightMedium: string;
611
+ feedbackHeightLarge: string;
612
+ feedbackFontSizeSmall: string;
613
+ feedbackFontSizeMedium: string;
614
+ feedbackFontSizeLarge: string;
615
+ labelFontSizeLeftSmall: string;
616
+ labelFontSizeLeftMedium: string;
617
+ labelFontSizeLeftLarge: string;
618
+ labelFontSizeTopSmall: string;
619
+ labelFontSizeTopMedium: string;
620
+ labelFontSizeTopLarge: string;
621
+ labelHeightSmall: string;
622
+ labelHeightMedium: string;
623
+ labelHeightLarge: string;
624
+ labelPaddingVertical: string;
625
+ labelPaddingHorizontal: string;
626
+ labelTextAlignVertical: string;
627
+ labelTextAlignHorizontal: string;
628
+ labelFontWeight: string;
629
+ }, any>>>;
630
+ }>> & Readonly<{}>, FormInst & {
631
+ mergedClsPrefix: import('vue').Ref<string, string>;
632
+ }, {}, {}, {}, {
633
+ readonly inline: boolean;
634
+ readonly disabled: boolean;
635
+ readonly onSubmit: (e: Event) => void;
636
+ readonly labelPlacement: import('naive-ui/es/form/src/interface').LabelPlacement;
637
+ readonly model: Record<string, any>;
638
+ readonly showRequireMark: boolean | undefined;
639
+ readonly showFeedback: boolean;
640
+ readonly showLabel: boolean | undefined;
641
+ }> | null;
57
642
  'first-input-element': ({
58
643
  $: import('vue').ComponentInternalInstance;
59
644
  $data: {};
60
645
  $props: {
61
- readonly value: number | null | undefined;
646
+ readonly value: number | null;
62
647
  readonly clearable?: boolean | undefined;
63
648
  readonly debounceTime?: number | undefined;
64
649
  readonly placeholder?: string | undefined;
@@ -66,7 +651,11 @@ declare const _default: import('vue').DefineComponent<IValue<ICartItemBase<IConf
66
651
  readonly max?: number | undefined;
67
652
  readonly step?: number | undefined;
68
653
  readonly validator?: ((value: number) => boolean) | undefined | undefined;
69
- readonly "onUpdate:value"?: ((value: number | null | undefined, ...additionalParams: any[]) => any) | undefined;
654
+ readonly parse?: ((value: string) => number | null) | undefined;
655
+ readonly showButton?: boolean | undefined;
656
+ readonly onInput?: ((inputEvent: Event) => any) | undefined;
657
+ readonly onKeydown?: ((keyboardEvent: KeyboardEvent) => any) | undefined;
658
+ readonly "onUpdate:value"?: ((value: number | null, ...additionalParams: any[]) => any) | undefined;
70
659
  } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
71
660
  $attrs: {
72
661
  [x: string]: unknown;
@@ -2743,29 +3332,37 @@ declare const _default: import('vue').DefineComponent<IValue<ICartItemBase<IConf
2743
3332
  $root: import('vue').ComponentPublicInstance | null;
2744
3333
  $parent: import('vue').ComponentPublicInstance | null;
2745
3334
  $host: Element | null;
2746
- $emit: (event: "update:value", value: number | null | undefined, ...additionalParams: any[]) => void;
3335
+ $emit: ((event: "input", inputEvent: Event) => void) & ((event: "keydown", keyboardEvent: KeyboardEvent) => void) & ((event: "update:value", value: number | null, ...additionalParams: any[]) => void);
2747
3336
  $el: any;
2748
- $options: import('vue').ComponentOptionsBase<Readonly<IValue<number | null | undefined> & import('../../../properties').IClearable & import('../../../properties').IDebounced & import('../../../properties').IPlaceholder & {
3337
+ $options: import('vue').ComponentOptionsBase<Readonly<IValue<number | null> & import('../../../properties').IClearable & import('../../../properties').IDebounced & import('../../../properties').IPlaceholder & {
2749
3338
  min?: number;
2750
3339
  max?: number;
2751
3340
  step?: number;
2752
3341
  validator?: ((value: number) => boolean) | undefined;
3342
+ parse?: (value: string) => number | null;
3343
+ showButton?: boolean;
2753
3344
  }> & Readonly<{
2754
- "onUpdate:value"?: ((value: number | null | undefined, ...additionalParams: any[]) => any) | undefined;
3345
+ onInput?: ((inputEvent: Event) => any) | undefined;
3346
+ onKeydown?: ((keyboardEvent: KeyboardEvent) => any) | undefined;
3347
+ "onUpdate:value"?: ((value: number | null, ...additionalParams: any[]) => any) | undefined;
2755
3348
  }>, {
2756
3349
  focus: () => void | undefined;
2757
3350
  blur: () => void | undefined;
2758
3351
  select: () => void | undefined;
2759
3352
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
2760
- "update:value": (value: number | null | undefined, ...additionalParams: any[]) => any;
3353
+ input: (inputEvent: Event) => any;
3354
+ keydown: (keyboardEvent: KeyboardEvent) => any;
3355
+ "update:value": (value: number | null, ...additionalParams: any[]) => any;
2761
3356
  }, string, {
2762
- value: number | null | undefined;
3357
+ value: number | null;
2763
3358
  placeholder: string;
2764
3359
  clearable: boolean;
2765
3360
  validator: (value: number) => boolean;
2766
3361
  min: number;
2767
3362
  max: number;
2768
3363
  step: number;
3364
+ showButton: boolean;
3365
+ parse: (value: string) => number | null;
2769
3366
  debounceTime: number;
2770
3367
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
2771
3368
  beforeCreate?: (() => void) | (() => void)[];
@@ -2788,22 +3385,28 @@ declare const _default: import('vue').DefineComponent<IValue<ICartItemBase<IConf
2788
3385
  $nextTick: typeof nextTick;
2789
3386
  $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;
2790
3387
  } & Readonly<{
2791
- value: number | null | undefined;
3388
+ value: number | null;
2792
3389
  placeholder: string;
2793
3390
  clearable: boolean;
2794
3391
  validator: (value: number) => boolean;
2795
3392
  min: number;
2796
3393
  max: number;
2797
3394
  step: number;
3395
+ showButton: boolean;
3396
+ parse: (value: string) => number | null;
2798
3397
  debounceTime: number;
2799
- }> & Omit<Readonly<IValue<number | null | undefined> & import('../../../properties').IClearable & import('../../../properties').IDebounced & import('../../../properties').IPlaceholder & {
3398
+ }> & Omit<Readonly<IValue<number | null> & import('../../../properties').IClearable & import('../../../properties').IDebounced & import('../../../properties').IPlaceholder & {
2800
3399
  min?: number;
2801
3400
  max?: number;
2802
3401
  step?: number;
2803
3402
  validator?: ((value: number) => boolean) | undefined;
3403
+ parse?: (value: string) => number | null;
3404
+ showButton?: boolean;
2804
3405
  }> & Readonly<{
2805
- "onUpdate:value"?: ((value: number | null | undefined, ...additionalParams: any[]) => any) | undefined;
2806
- }>, "blur" | "focus" | "select" | ("value" | "placeholder" | "clearable" | "validator" | "min" | "max" | "step" | "debounceTime")> & import('vue').ShallowUnwrapRef<{
3406
+ onInput?: ((inputEvent: Event) => any) | undefined;
3407
+ onKeydown?: ((keyboardEvent: KeyboardEvent) => any) | undefined;
3408
+ "onUpdate:value"?: ((value: number | null, ...additionalParams: any[]) => any) | undefined;
3409
+ }>, "blur" | "focus" | "select" | ("value" | "placeholder" | "clearable" | "validator" | "min" | "max" | "step" | "showButton" | "parse" | "debounceTime")> & import('vue').ShallowUnwrapRef<{
2807
3410
  focus: () => void | undefined;
2808
3411
  blur: () => void | undefined;
2809
3412
  select: () => void | undefined;