@vonage/vivid-vue 4.24.0 → 4.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/generated/components/VAccordionItem.vue3.d.ts +9 -1
- package/generated/components/VAlert.vue3.d.ts +1 -1
- package/generated/components/VBadge.types.d.ts +4 -0
- package/generated/components/VBadge.vue2.d.ts +15 -0
- package/generated/components/VBadge.vue3.d.ts +16 -1
- package/generated/components/VBanner.vue3.d.ts +1 -1
- package/generated/components/VBreadcrumbItem.types.d.ts +8 -12
- package/generated/components/VBreadcrumbItem.vue2.d.ts +16 -31
- package/generated/components/VBreadcrumbItem.vue3.d.ts +16 -31
- package/generated/components/VButton.types.d.ts +10 -14
- package/generated/components/VButton.vue2.d.ts +29 -28
- package/generated/components/VButton.vue3.d.ts +30 -29
- package/generated/components/VCard.types.d.ts +36 -0
- package/generated/components/VCard.vue2.d.ts +135 -0
- package/generated/components/VCard.vue3.d.ts +135 -0
- package/generated/components/VCheckbox.types.d.ts +11 -21
- package/generated/components/VCheckbox.vue2.d.ts +31 -42
- package/generated/components/VCheckbox.vue3.d.ts +31 -42
- package/generated/components/VCombobox.types.d.ts +8 -15
- package/generated/components/VCombobox.vue2.d.ts +27 -56
- package/generated/components/VCombobox.vue3.d.ts +27 -57
- package/generated/components/VDataGridCell.types.d.ts +9 -0
- package/generated/components/VDataGridCell.vue2.d.ts +30 -1
- package/generated/components/VDataGridCell.vue3.d.ts +33 -2
- package/generated/components/VDataGridRow.types.d.ts +4 -0
- package/generated/components/VDataGridRow.vue2.d.ts +16 -1
- package/generated/components/VDataGridRow.vue3.d.ts +16 -1
- package/generated/components/VDatePicker.types.d.ts +10 -4
- package/generated/components/VDatePicker.vue2.d.ts +38 -9
- package/generated/components/VDatePicker.vue3.d.ts +38 -9
- package/generated/components/VDateRangePicker.types.d.ts +9 -3
- package/generated/components/VDateRangePicker.vue2.d.ts +36 -7
- package/generated/components/VDateRangePicker.vue3.d.ts +36 -7
- package/generated/components/VDateTimePicker.types.d.ts +10 -4
- package/generated/components/VDateTimePicker.vue2.d.ts +38 -9
- package/generated/components/VDateTimePicker.vue3.d.ts +38 -9
- package/generated/components/VDialPad.types.d.ts +4 -0
- package/generated/components/VDialPad.vue2.d.ts +19 -0
- package/generated/components/VDialPad.vue3.d.ts +19 -0
- package/generated/components/VDialog.types.d.ts +4 -0
- package/generated/components/VDialog.vue2.d.ts +15 -0
- package/generated/components/VDialog.vue3.d.ts +15 -0
- package/generated/components/VDivider.types.d.ts +1 -1
- package/generated/components/VDivider.vue2.d.ts +3 -3
- package/generated/components/VDivider.vue3.d.ts +3 -3
- package/generated/components/VEmptyState.types.d.ts +0 -3
- package/generated/components/VEmptyState.vue2.d.ts +0 -6
- package/generated/components/VEmptyState.vue3.d.ts +0 -6
- package/generated/components/VFab.types.d.ts +2 -6
- package/generated/components/VFab.vue2.d.ts +13 -12
- package/generated/components/VFab.vue3.d.ts +14 -13
- package/generated/components/VFilePicker.types.d.ts +5 -8
- package/generated/components/VFilePicker.vue2.d.ts +19 -16
- package/generated/components/VFilePicker.vue3.d.ts +19 -16
- package/generated/components/VIcon.types.d.ts +4 -0
- package/generated/components/VIcon.vue2.d.ts +15 -0
- package/generated/components/VIcon.vue3.d.ts +15 -0
- package/generated/components/VMenuItem.types.d.ts +8 -4
- package/generated/components/VMenuItem.vue2.d.ts +15 -0
- package/generated/components/VMenuItem.vue3.d.ts +17 -2
- package/generated/components/VNavDisclosure.types.d.ts +4 -0
- package/generated/components/VNavDisclosure.vue2.d.ts +15 -0
- package/generated/components/VNavDisclosure.vue3.d.ts +16 -1
- package/generated/components/VNavItem.types.d.ts +14 -14
- package/generated/components/VNavItem.vue2.d.ts +34 -36
- package/generated/components/VNavItem.vue3.d.ts +35 -37
- package/generated/components/VNote.vue3.d.ts +1 -1
- package/generated/components/VNumberField.types.d.ts +7 -18
- package/generated/components/VNumberField.vue2.d.ts +23 -43
- package/generated/components/VNumberField.vue3.d.ts +23 -43
- package/generated/components/VOption.vue2.d.ts +1 -1
- package/generated/components/VOption.vue3.d.ts +2 -2
- package/generated/components/VProgressRing.types.d.ts +1 -1
- package/generated/components/VProgressRing.vue2.d.ts +3 -3
- package/generated/components/VProgressRing.vue3.d.ts +3 -3
- package/generated/components/VRadio.types.d.ts +11 -14
- package/generated/components/VRadio.vue2.d.ts +40 -29
- package/generated/components/VRadio.vue3.d.ts +40 -29
- package/generated/components/VRadioGroup.types.d.ts +11 -1
- package/generated/components/VRadioGroup.vue2.d.ts +43 -2
- package/generated/components/VRadioGroup.vue3.d.ts +47 -2
- package/generated/components/VRangeSlider.types.d.ts +2 -6
- package/generated/components/VRangeSlider.vue2.d.ts +13 -12
- package/generated/components/VRangeSlider.vue3.d.ts +13 -12
- package/generated/components/VRichTextEditor.vue2.d.ts +6 -0
- package/generated/components/VRichTextEditor.vue3.d.ts +6 -0
- package/generated/components/VSearchableSelect.types.d.ts +7 -14
- package/generated/components/VSearchableSelect.vue2.d.ts +25 -29
- package/generated/components/VSearchableSelect.vue3.d.ts +26 -30
- package/generated/components/VSelect.types.d.ts +7 -14
- package/generated/components/VSelect.vue2.d.ts +23 -29
- package/generated/components/VSelect.vue3.d.ts +24 -30
- package/generated/components/VSelectableBox.types.d.ts +0 -3
- package/generated/components/VSelectableBox.vue2.d.ts +1 -7
- package/generated/components/VSelectableBox.vue3.d.ts +1 -7
- package/generated/components/VSlider.types.d.ts +3 -11
- package/generated/components/VSlider.vue2.d.ts +15 -22
- package/generated/components/VSlider.vue3.d.ts +15 -22
- package/generated/components/VSplitButton.vue3.d.ts +1 -1
- package/generated/components/VSwitch.types.d.ts +6 -17
- package/generated/components/VSwitch.vue2.d.ts +23 -35
- package/generated/components/VSwitch.vue3.d.ts +23 -35
- package/generated/components/VTab.types.d.ts +1 -2
- package/generated/components/VTab.vue2.d.ts +2 -11
- package/generated/components/VTab.vue3.d.ts +3 -12
- package/generated/components/VTag.vue3.d.ts +1 -1
- package/generated/components/VTextArea.types.d.ts +9 -16
- package/generated/components/VTextArea.vue2.d.ts +28 -33
- package/generated/components/VTextArea.vue3.d.ts +28 -33
- package/generated/components/VTextField.types.d.ts +8 -15
- package/generated/components/VTextField.vue2.d.ts +26 -31
- package/generated/components/VTextField.vue3.d.ts +26 -31
- package/generated/components/VTimePicker.types.d.ts +10 -4
- package/generated/components/VTimePicker.vue2.d.ts +38 -9
- package/generated/components/VTimePicker.vue3.d.ts +38 -9
- package/generated/components/VTreeItem.vue3.d.ts +1 -1
- package/index.cjs +644 -333
- package/index.js +644 -334
- package/package.json +2 -2
- package/plugin/index.d.ts +8 -2
- package/web-types.json +349 -155
|
@@ -18,13 +18,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
18
18
|
type: PropType<boolean>;
|
|
19
19
|
default: undefined;
|
|
20
20
|
};
|
|
21
|
-
/**
|
|
22
|
-
* Whether to show the character count.
|
|
23
|
-
*/
|
|
24
|
-
charCount: {
|
|
25
|
-
type: PropType<boolean>;
|
|
26
|
-
default: undefined;
|
|
27
|
-
};
|
|
28
21
|
decrementButtonAriaLabel: {
|
|
29
22
|
type: PropType<string>;
|
|
30
23
|
default: undefined;
|
|
@@ -37,14 +30,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
37
30
|
default: undefined;
|
|
38
31
|
};
|
|
39
32
|
/**
|
|
40
|
-
*
|
|
33
|
+
* Provides a custom error message. Any current error state will be overridden.
|
|
41
34
|
*/
|
|
42
35
|
errorText: {
|
|
43
36
|
type: PropType<string>;
|
|
44
37
|
default: undefined;
|
|
45
38
|
};
|
|
46
39
|
/**
|
|
47
|
-
*
|
|
40
|
+
* Provides additional information to help the user enter the correct information.
|
|
41
|
+
* To add HTML to the helper text, use the helper-text slot instead.
|
|
48
42
|
*/
|
|
49
43
|
helperText: {
|
|
50
44
|
type: PropType<string>;
|
|
@@ -63,7 +57,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
63
57
|
default: undefined;
|
|
64
58
|
};
|
|
65
59
|
/**
|
|
66
|
-
* The
|
|
60
|
+
* The default value of the element. This value sets the `value` property
|
|
67
61
|
* only when the `value` property has not been explicitly set.
|
|
68
62
|
*/
|
|
69
63
|
initialValue: {
|
|
@@ -166,29 +160,21 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
166
160
|
default: undefined;
|
|
167
161
|
};
|
|
168
162
|
/**
|
|
169
|
-
*
|
|
163
|
+
* Provides a custom success message. Any current error state will be overridden.
|
|
170
164
|
*/
|
|
171
165
|
successText: {
|
|
172
166
|
type: PropType<string>;
|
|
173
167
|
default: undefined;
|
|
174
168
|
};
|
|
175
169
|
/**
|
|
176
|
-
* The current value of the element.
|
|
177
|
-
* to set the `value` property through both property assignment and the
|
|
178
|
-
* .setAttribute() method. This is useful for setting the field's value
|
|
179
|
-
* in UI libraries that bind data through the .setAttribute() API
|
|
180
|
-
* and don't support IDL attribute binding.
|
|
170
|
+
* The current value of the element.
|
|
181
171
|
*/
|
|
182
172
|
value: {
|
|
183
173
|
type: PropType<string>;
|
|
184
174
|
default: undefined;
|
|
185
175
|
};
|
|
186
176
|
/**
|
|
187
|
-
* The current value of the element.
|
|
188
|
-
* to set the `value` property through both property assignment and the
|
|
189
|
-
* .setAttribute() method. This is useful for setting the field's value
|
|
190
|
-
* in UI libraries that bind data through the .setAttribute() API
|
|
191
|
-
* and don't support IDL attribute binding.
|
|
177
|
+
* The current value of the element.
|
|
192
178
|
*/
|
|
193
179
|
modelValue: {
|
|
194
180
|
type: PropType<string>;
|
|
@@ -198,6 +184,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
198
184
|
componentName: import("vue").Ref<string>;
|
|
199
185
|
element: import("vue").Ref<VwcNumberFieldElement | null>;
|
|
200
186
|
}, unknown, {}, {
|
|
187
|
+
/**
|
|
188
|
+
* Return the current validity of the element.
|
|
189
|
+
*/
|
|
190
|
+
checkValidity(): boolean;
|
|
191
|
+
/**
|
|
192
|
+
* Return the current validity of the element.
|
|
193
|
+
* If false, fires an invalid event at the element.
|
|
194
|
+
*/
|
|
195
|
+
reportValidity(): boolean;
|
|
201
196
|
/**
|
|
202
197
|
* Selects all the text in the number field
|
|
203
198
|
*/
|
|
@@ -314,13 +309,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
314
309
|
type: PropType<boolean>;
|
|
315
310
|
default: undefined;
|
|
316
311
|
};
|
|
317
|
-
/**
|
|
318
|
-
* Whether to show the character count.
|
|
319
|
-
*/
|
|
320
|
-
charCount: {
|
|
321
|
-
type: PropType<boolean>;
|
|
322
|
-
default: undefined;
|
|
323
|
-
};
|
|
324
312
|
decrementButtonAriaLabel: {
|
|
325
313
|
type: PropType<string>;
|
|
326
314
|
default: undefined;
|
|
@@ -333,14 +321,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
333
321
|
default: undefined;
|
|
334
322
|
};
|
|
335
323
|
/**
|
|
336
|
-
*
|
|
324
|
+
* Provides a custom error message. Any current error state will be overridden.
|
|
337
325
|
*/
|
|
338
326
|
errorText: {
|
|
339
327
|
type: PropType<string>;
|
|
340
328
|
default: undefined;
|
|
341
329
|
};
|
|
342
330
|
/**
|
|
343
|
-
*
|
|
331
|
+
* Provides additional information to help the user enter the correct information.
|
|
332
|
+
* To add HTML to the helper text, use the helper-text slot instead.
|
|
344
333
|
*/
|
|
345
334
|
helperText: {
|
|
346
335
|
type: PropType<string>;
|
|
@@ -359,7 +348,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
359
348
|
default: undefined;
|
|
360
349
|
};
|
|
361
350
|
/**
|
|
362
|
-
* The
|
|
351
|
+
* The default value of the element. This value sets the `value` property
|
|
363
352
|
* only when the `value` property has not been explicitly set.
|
|
364
353
|
*/
|
|
365
354
|
initialValue: {
|
|
@@ -462,29 +451,21 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
462
451
|
default: undefined;
|
|
463
452
|
};
|
|
464
453
|
/**
|
|
465
|
-
*
|
|
454
|
+
* Provides a custom success message. Any current error state will be overridden.
|
|
466
455
|
*/
|
|
467
456
|
successText: {
|
|
468
457
|
type: PropType<string>;
|
|
469
458
|
default: undefined;
|
|
470
459
|
};
|
|
471
460
|
/**
|
|
472
|
-
* The current value of the element.
|
|
473
|
-
* to set the `value` property through both property assignment and the
|
|
474
|
-
* .setAttribute() method. This is useful for setting the field's value
|
|
475
|
-
* in UI libraries that bind data through the .setAttribute() API
|
|
476
|
-
* and don't support IDL attribute binding.
|
|
461
|
+
* The current value of the element.
|
|
477
462
|
*/
|
|
478
463
|
value: {
|
|
479
464
|
type: PropType<string>;
|
|
480
465
|
default: undefined;
|
|
481
466
|
};
|
|
482
467
|
/**
|
|
483
|
-
* The current value of the element.
|
|
484
|
-
* to set the `value` property through both property assignment and the
|
|
485
|
-
* .setAttribute() method. This is useful for setting the field's value
|
|
486
|
-
* in UI libraries that bind data through the .setAttribute() API
|
|
487
|
-
* and don't support IDL attribute binding.
|
|
468
|
+
* The current value of the element.
|
|
488
469
|
*/
|
|
489
470
|
modelValue: {
|
|
490
471
|
type: PropType<string>;
|
|
@@ -564,7 +545,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
564
545
|
max: number;
|
|
565
546
|
min: number;
|
|
566
547
|
autoComplete: string;
|
|
567
|
-
charCount: boolean;
|
|
568
548
|
decrementButtonAriaLabel: string;
|
|
569
549
|
incrementButtonAriaLabel: string;
|
|
570
550
|
maxlength: number;
|
|
@@ -152,8 +152,8 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
|
|
|
152
152
|
disabled: boolean;
|
|
153
153
|
initialValue: string;
|
|
154
154
|
label: string;
|
|
155
|
-
matchedText: string;
|
|
156
155
|
selected: boolean;
|
|
156
|
+
matchedText: string;
|
|
157
157
|
tagConnotation: "accent" | "cta";
|
|
158
158
|
}>;
|
|
159
159
|
export default _default;
|
|
@@ -263,12 +263,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
263
263
|
disabled: boolean;
|
|
264
264
|
initialValue: string;
|
|
265
265
|
label: string;
|
|
266
|
-
matchedText: string;
|
|
267
266
|
selected: boolean;
|
|
267
|
+
matchedText: string;
|
|
268
268
|
tagConnotation: "accent" | "cta";
|
|
269
269
|
}, SlotsType<{
|
|
270
270
|
/**
|
|
271
|
-
*
|
|
271
|
+
* The preferred way to add an icon to the component.
|
|
272
272
|
*/
|
|
273
273
|
icon: Record<string, never>;
|
|
274
274
|
}>>;
|
|
@@ -34,7 +34,7 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
|
|
|
34
34
|
* The value of the progress
|
|
35
35
|
*/
|
|
36
36
|
value: {
|
|
37
|
-
type: PropType<
|
|
37
|
+
type: PropType<number>;
|
|
38
38
|
default: undefined;
|
|
39
39
|
};
|
|
40
40
|
}, {
|
|
@@ -74,11 +74,11 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
|
|
|
74
74
|
* The value of the progress
|
|
75
75
|
*/
|
|
76
76
|
value: {
|
|
77
|
-
type: PropType<
|
|
77
|
+
type: PropType<number>;
|
|
78
78
|
default: undefined;
|
|
79
79
|
};
|
|
80
80
|
}>>, {
|
|
81
|
-
value:
|
|
81
|
+
value: number;
|
|
82
82
|
size: 0 | 1 | 2 | -1 | 3 | 4 | 5 | -6 | -5 | -4 | -3 | -2;
|
|
83
83
|
connotation: "accent" | "success" | "alert" | "cta";
|
|
84
84
|
max: number;
|
|
@@ -35,7 +35,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
35
35
|
* The value of the progress
|
|
36
36
|
*/
|
|
37
37
|
value: {
|
|
38
|
-
type: PropType<
|
|
38
|
+
type: PropType<number>;
|
|
39
39
|
default: undefined;
|
|
40
40
|
};
|
|
41
41
|
}, {
|
|
@@ -142,7 +142,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
142
142
|
* The value of the progress
|
|
143
143
|
*/
|
|
144
144
|
value: {
|
|
145
|
-
type: PropType<
|
|
145
|
+
type: PropType<number>;
|
|
146
146
|
default: undefined;
|
|
147
147
|
};
|
|
148
148
|
}>> & {
|
|
@@ -189,7 +189,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
189
189
|
currentTarget: VwcProgressRingElement;
|
|
190
190
|
}) => any) | undefined;
|
|
191
191
|
}, {
|
|
192
|
-
value:
|
|
192
|
+
value: number;
|
|
193
193
|
size: 0 | 1 | 2 | -1 | 3 | 4 | 5 | -6 | -5 | -4 | -3 | -2;
|
|
194
194
|
connotation: "accent" | "success" | "alert" | "cta";
|
|
195
195
|
max: number;
|
|
@@ -74,11 +74,7 @@ export interface VRadioEvents {
|
|
|
74
74
|
export interface VRadioProps {
|
|
75
75
|
ariaLabel?: string;
|
|
76
76
|
/**
|
|
77
|
-
* The current checkedness of the element.
|
|
78
|
-
* to set the `checked` property through both property assignment and the
|
|
79
|
-
* .setAttribute() method. This is useful for setting the field's checkedness
|
|
80
|
-
* in UI libraries that bind data through the .setAttribute() API
|
|
81
|
-
* and don't support IDL attribute binding.
|
|
77
|
+
* The current checkedness of the element.
|
|
82
78
|
*/
|
|
83
79
|
checked?: boolean;
|
|
84
80
|
/**
|
|
@@ -86,7 +82,8 @@ export interface VRadioProps {
|
|
|
86
82
|
*/
|
|
87
83
|
connotation?: 'accent' | 'cta';
|
|
88
84
|
/**
|
|
89
|
-
*
|
|
85
|
+
* The default checkedness of the element. This value sets the `checked` property
|
|
86
|
+
* only when the `checked` property has not been explicitly set.
|
|
90
87
|
*/
|
|
91
88
|
defaultChecked?: boolean;
|
|
92
89
|
/**
|
|
@@ -94,16 +91,20 @@ export interface VRadioProps {
|
|
|
94
91
|
*/
|
|
95
92
|
disabled?: boolean;
|
|
96
93
|
/**
|
|
97
|
-
*
|
|
94
|
+
* Provides a custom error message. Any current error state will be overridden.
|
|
95
|
+
*/
|
|
96
|
+
errorText?: string;
|
|
97
|
+
/**
|
|
98
|
+
* The default value of the element. This value sets the `value` property
|
|
98
99
|
* only when the `value` property has not been explicitly set.
|
|
99
100
|
*/
|
|
100
101
|
initialValue?: string;
|
|
101
102
|
/**
|
|
102
|
-
*
|
|
103
|
+
* The label for the form element.
|
|
103
104
|
*/
|
|
104
105
|
label?: string;
|
|
105
106
|
/**
|
|
106
|
-
* The name of the
|
|
107
|
+
* The name of the element. This element's value will be surfaced during form submission under the provided name.
|
|
107
108
|
*/
|
|
108
109
|
name?: string;
|
|
109
110
|
/**
|
|
@@ -115,11 +116,7 @@ export interface VRadioProps {
|
|
|
115
116
|
*/
|
|
116
117
|
required?: boolean;
|
|
117
118
|
/**
|
|
118
|
-
* The current value of the element.
|
|
119
|
-
* to set the `value` property through both property assignment and the
|
|
120
|
-
* .setAttribute() method. This is useful for setting the field's value
|
|
121
|
-
* in UI libraries that bind data through the .setAttribute() API
|
|
122
|
-
* and don't support IDL attribute binding.
|
|
119
|
+
* The current value of the element.
|
|
123
120
|
*/
|
|
124
121
|
value?: string;
|
|
125
122
|
/**
|
|
@@ -6,11 +6,7 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
|
|
|
6
6
|
default: undefined;
|
|
7
7
|
};
|
|
8
8
|
/**
|
|
9
|
-
* The current checkedness of the element.
|
|
10
|
-
* to set the `checked` property through both property assignment and the
|
|
11
|
-
* .setAttribute() method. This is useful for setting the field's checkedness
|
|
12
|
-
* in UI libraries that bind data through the .setAttribute() API
|
|
13
|
-
* and don't support IDL attribute binding.
|
|
9
|
+
* The current checkedness of the element.
|
|
14
10
|
*/
|
|
15
11
|
checked: {
|
|
16
12
|
type: PropType<boolean>;
|
|
@@ -24,7 +20,8 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
|
|
|
24
20
|
default: undefined;
|
|
25
21
|
};
|
|
26
22
|
/**
|
|
27
|
-
*
|
|
23
|
+
* The default checkedness of the element. This value sets the `checked` property
|
|
24
|
+
* only when the `checked` property has not been explicitly set.
|
|
28
25
|
*/
|
|
29
26
|
defaultChecked: {
|
|
30
27
|
type: PropType<boolean>;
|
|
@@ -38,7 +35,14 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
|
|
|
38
35
|
default: undefined;
|
|
39
36
|
};
|
|
40
37
|
/**
|
|
41
|
-
*
|
|
38
|
+
* Provides a custom error message. Any current error state will be overridden.
|
|
39
|
+
*/
|
|
40
|
+
errorText: {
|
|
41
|
+
type: PropType<string>;
|
|
42
|
+
default: undefined;
|
|
43
|
+
};
|
|
44
|
+
/**
|
|
45
|
+
* The default value of the element. This value sets the `value` property
|
|
42
46
|
* only when the `value` property has not been explicitly set.
|
|
43
47
|
*/
|
|
44
48
|
initialValue: {
|
|
@@ -46,14 +50,14 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
|
|
|
46
50
|
default: undefined;
|
|
47
51
|
};
|
|
48
52
|
/**
|
|
49
|
-
*
|
|
53
|
+
* The label for the form element.
|
|
50
54
|
*/
|
|
51
55
|
label: {
|
|
52
56
|
type: PropType<string>;
|
|
53
57
|
default: undefined;
|
|
54
58
|
};
|
|
55
59
|
/**
|
|
56
|
-
* The name of the
|
|
60
|
+
* The name of the element. This element's value will be surfaced during form submission under the provided name.
|
|
57
61
|
*/
|
|
58
62
|
name: {
|
|
59
63
|
type: PropType<string>;
|
|
@@ -74,11 +78,7 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
|
|
|
74
78
|
default: undefined;
|
|
75
79
|
};
|
|
76
80
|
/**
|
|
77
|
-
* The current value of the element.
|
|
78
|
-
* to set the `value` property through both property assignment and the
|
|
79
|
-
* .setAttribute() method. This is useful for setting the field's value
|
|
80
|
-
* in UI libraries that bind data through the .setAttribute() API
|
|
81
|
-
* and don't support IDL attribute binding.
|
|
81
|
+
* The current value of the element.
|
|
82
82
|
*/
|
|
83
83
|
value: {
|
|
84
84
|
type: PropType<string>;
|
|
@@ -87,17 +87,23 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
|
|
|
87
87
|
}, {
|
|
88
88
|
componentName: import("vue").Ref<string>;
|
|
89
89
|
element: import("vue").Ref<VwcRadioElement | null>;
|
|
90
|
-
}, import("vue").Data, {}, {
|
|
90
|
+
}, import("vue").Data, {}, {
|
|
91
|
+
/**
|
|
92
|
+
* Return the current validity of the element.
|
|
93
|
+
*/
|
|
94
|
+
checkValidity(): boolean;
|
|
95
|
+
/**
|
|
96
|
+
* Return the current validity of the element.
|
|
97
|
+
* If false, fires an invalid event at the element.
|
|
98
|
+
*/
|
|
99
|
+
reportValidity(): boolean;
|
|
100
|
+
}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, ("blur" | "change" | "click" | "focus" | "input" | "keydown" | "keyup")[], string, Readonly<import("vue").ExtractPropTypes<{
|
|
91
101
|
ariaLabel: {
|
|
92
102
|
type: PropType<string>;
|
|
93
103
|
default: undefined;
|
|
94
104
|
};
|
|
95
105
|
/**
|
|
96
|
-
* The current checkedness of the element.
|
|
97
|
-
* to set the `checked` property through both property assignment and the
|
|
98
|
-
* .setAttribute() method. This is useful for setting the field's checkedness
|
|
99
|
-
* in UI libraries that bind data through the .setAttribute() API
|
|
100
|
-
* and don't support IDL attribute binding.
|
|
106
|
+
* The current checkedness of the element.
|
|
101
107
|
*/
|
|
102
108
|
checked: {
|
|
103
109
|
type: PropType<boolean>;
|
|
@@ -111,7 +117,8 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
|
|
|
111
117
|
default: undefined;
|
|
112
118
|
};
|
|
113
119
|
/**
|
|
114
|
-
*
|
|
120
|
+
* The default checkedness of the element. This value sets the `checked` property
|
|
121
|
+
* only when the `checked` property has not been explicitly set.
|
|
115
122
|
*/
|
|
116
123
|
defaultChecked: {
|
|
117
124
|
type: PropType<boolean>;
|
|
@@ -125,7 +132,14 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
|
|
|
125
132
|
default: undefined;
|
|
126
133
|
};
|
|
127
134
|
/**
|
|
128
|
-
*
|
|
135
|
+
* Provides a custom error message. Any current error state will be overridden.
|
|
136
|
+
*/
|
|
137
|
+
errorText: {
|
|
138
|
+
type: PropType<string>;
|
|
139
|
+
default: undefined;
|
|
140
|
+
};
|
|
141
|
+
/**
|
|
142
|
+
* The default value of the element. This value sets the `value` property
|
|
129
143
|
* only when the `value` property has not been explicitly set.
|
|
130
144
|
*/
|
|
131
145
|
initialValue: {
|
|
@@ -133,14 +147,14 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
|
|
|
133
147
|
default: undefined;
|
|
134
148
|
};
|
|
135
149
|
/**
|
|
136
|
-
*
|
|
150
|
+
* The label for the form element.
|
|
137
151
|
*/
|
|
138
152
|
label: {
|
|
139
153
|
type: PropType<string>;
|
|
140
154
|
default: undefined;
|
|
141
155
|
};
|
|
142
156
|
/**
|
|
143
|
-
* The name of the
|
|
157
|
+
* The name of the element. This element's value will be surfaced during form submission under the provided name.
|
|
144
158
|
*/
|
|
145
159
|
name: {
|
|
146
160
|
type: PropType<string>;
|
|
@@ -161,11 +175,7 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
|
|
|
161
175
|
default: undefined;
|
|
162
176
|
};
|
|
163
177
|
/**
|
|
164
|
-
* The current value of the element.
|
|
165
|
-
* to set the `value` property through both property assignment and the
|
|
166
|
-
* .setAttribute() method. This is useful for setting the field's value
|
|
167
|
-
* in UI libraries that bind data through the .setAttribute() API
|
|
168
|
-
* and don't support IDL attribute binding.
|
|
178
|
+
* The current value of the element.
|
|
169
179
|
*/
|
|
170
180
|
value: {
|
|
171
181
|
type: PropType<string>;
|
|
@@ -181,6 +191,7 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
|
|
|
181
191
|
required: boolean;
|
|
182
192
|
checked: boolean;
|
|
183
193
|
defaultChecked: boolean;
|
|
194
|
+
errorText: string;
|
|
184
195
|
readonly: boolean;
|
|
185
196
|
ariaLabel: string;
|
|
186
197
|
}>;
|
|
@@ -7,11 +7,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
7
7
|
default: undefined;
|
|
8
8
|
};
|
|
9
9
|
/**
|
|
10
|
-
* The current checkedness of the element.
|
|
11
|
-
* to set the `checked` property through both property assignment and the
|
|
12
|
-
* .setAttribute() method. This is useful for setting the field's checkedness
|
|
13
|
-
* in UI libraries that bind data through the .setAttribute() API
|
|
14
|
-
* and don't support IDL attribute binding.
|
|
10
|
+
* The current checkedness of the element.
|
|
15
11
|
*/
|
|
16
12
|
checked: {
|
|
17
13
|
type: PropType<boolean>;
|
|
@@ -25,7 +21,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
25
21
|
default: undefined;
|
|
26
22
|
};
|
|
27
23
|
/**
|
|
28
|
-
*
|
|
24
|
+
* The default checkedness of the element. This value sets the `checked` property
|
|
25
|
+
* only when the `checked` property has not been explicitly set.
|
|
29
26
|
*/
|
|
30
27
|
defaultChecked: {
|
|
31
28
|
type: PropType<boolean>;
|
|
@@ -39,7 +36,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
39
36
|
default: undefined;
|
|
40
37
|
};
|
|
41
38
|
/**
|
|
42
|
-
*
|
|
39
|
+
* Provides a custom error message. Any current error state will be overridden.
|
|
40
|
+
*/
|
|
41
|
+
errorText: {
|
|
42
|
+
type: PropType<string>;
|
|
43
|
+
default: undefined;
|
|
44
|
+
};
|
|
45
|
+
/**
|
|
46
|
+
* The default value of the element. This value sets the `value` property
|
|
43
47
|
* only when the `value` property has not been explicitly set.
|
|
44
48
|
*/
|
|
45
49
|
initialValue: {
|
|
@@ -47,14 +51,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
47
51
|
default: undefined;
|
|
48
52
|
};
|
|
49
53
|
/**
|
|
50
|
-
*
|
|
54
|
+
* The label for the form element.
|
|
51
55
|
*/
|
|
52
56
|
label: {
|
|
53
57
|
type: PropType<string>;
|
|
54
58
|
default: undefined;
|
|
55
59
|
};
|
|
56
60
|
/**
|
|
57
|
-
* The name of the
|
|
61
|
+
* The name of the element. This element's value will be surfaced during form submission under the provided name.
|
|
58
62
|
*/
|
|
59
63
|
name: {
|
|
60
64
|
type: PropType<string>;
|
|
@@ -75,11 +79,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
75
79
|
default: undefined;
|
|
76
80
|
};
|
|
77
81
|
/**
|
|
78
|
-
* The current value of the element.
|
|
79
|
-
* to set the `value` property through both property assignment and the
|
|
80
|
-
* .setAttribute() method. This is useful for setting the field's value
|
|
81
|
-
* in UI libraries that bind data through the .setAttribute() API
|
|
82
|
-
* and don't support IDL attribute binding.
|
|
82
|
+
* The current value of the element.
|
|
83
83
|
*/
|
|
84
84
|
value: {
|
|
85
85
|
type: PropType<string>;
|
|
@@ -88,7 +88,17 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
88
88
|
}, {
|
|
89
89
|
componentName: import("vue").Ref<string>;
|
|
90
90
|
element: import("vue").Ref<VwcRadioElement | null>;
|
|
91
|
-
}, unknown, {}, {
|
|
91
|
+
}, unknown, {}, {
|
|
92
|
+
/**
|
|
93
|
+
* Return the current validity of the element.
|
|
94
|
+
*/
|
|
95
|
+
checkValidity(): boolean;
|
|
96
|
+
/**
|
|
97
|
+
* Return the current validity of the element.
|
|
98
|
+
* If false, fires an invalid event at the element.
|
|
99
|
+
*/
|
|
100
|
+
reportValidity(): boolean;
|
|
101
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
92
102
|
/**
|
|
93
103
|
* Fires when the element loses focus.
|
|
94
104
|
* @type {FocusEvent}
|
|
@@ -172,11 +182,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
172
182
|
default: undefined;
|
|
173
183
|
};
|
|
174
184
|
/**
|
|
175
|
-
* The current checkedness of the element.
|
|
176
|
-
* to set the `checked` property through both property assignment and the
|
|
177
|
-
* .setAttribute() method. This is useful for setting the field's checkedness
|
|
178
|
-
* in UI libraries that bind data through the .setAttribute() API
|
|
179
|
-
* and don't support IDL attribute binding.
|
|
185
|
+
* The current checkedness of the element.
|
|
180
186
|
*/
|
|
181
187
|
checked: {
|
|
182
188
|
type: PropType<boolean>;
|
|
@@ -190,7 +196,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
190
196
|
default: undefined;
|
|
191
197
|
};
|
|
192
198
|
/**
|
|
193
|
-
*
|
|
199
|
+
* The default checkedness of the element. This value sets the `checked` property
|
|
200
|
+
* only when the `checked` property has not been explicitly set.
|
|
194
201
|
*/
|
|
195
202
|
defaultChecked: {
|
|
196
203
|
type: PropType<boolean>;
|
|
@@ -204,7 +211,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
204
211
|
default: undefined;
|
|
205
212
|
};
|
|
206
213
|
/**
|
|
207
|
-
*
|
|
214
|
+
* Provides a custom error message. Any current error state will be overridden.
|
|
215
|
+
*/
|
|
216
|
+
errorText: {
|
|
217
|
+
type: PropType<string>;
|
|
218
|
+
default: undefined;
|
|
219
|
+
};
|
|
220
|
+
/**
|
|
221
|
+
* The default value of the element. This value sets the `value` property
|
|
208
222
|
* only when the `value` property has not been explicitly set.
|
|
209
223
|
*/
|
|
210
224
|
initialValue: {
|
|
@@ -212,14 +226,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
212
226
|
default: undefined;
|
|
213
227
|
};
|
|
214
228
|
/**
|
|
215
|
-
*
|
|
229
|
+
* The label for the form element.
|
|
216
230
|
*/
|
|
217
231
|
label: {
|
|
218
232
|
type: PropType<string>;
|
|
219
233
|
default: undefined;
|
|
220
234
|
};
|
|
221
235
|
/**
|
|
222
|
-
* The name of the
|
|
236
|
+
* The name of the element. This element's value will be surfaced during form submission under the provided name.
|
|
223
237
|
*/
|
|
224
238
|
name: {
|
|
225
239
|
type: PropType<string>;
|
|
@@ -240,11 +254,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
240
254
|
default: undefined;
|
|
241
255
|
};
|
|
242
256
|
/**
|
|
243
|
-
* The current value of the element.
|
|
244
|
-
* to set the `value` property through both property assignment and the
|
|
245
|
-
* .setAttribute() method. This is useful for setting the field's value
|
|
246
|
-
* in UI libraries that bind data through the .setAttribute() API
|
|
247
|
-
* and don't support IDL attribute binding.
|
|
257
|
+
* The current value of the element.
|
|
248
258
|
*/
|
|
249
259
|
value: {
|
|
250
260
|
type: PropType<string>;
|
|
@@ -310,6 +320,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
310
320
|
required: boolean;
|
|
311
321
|
checked: boolean;
|
|
312
322
|
defaultChecked: boolean;
|
|
323
|
+
errorText: string;
|
|
313
324
|
readonly: boolean;
|
|
314
325
|
ariaLabel: string;
|
|
315
326
|
}, SlotsType<Record<string, never>>>;
|
|
@@ -80,8 +80,14 @@ export interface VRadioGroupProps {
|
|
|
80
80
|
* Disables the radio group and child radios.
|
|
81
81
|
*/
|
|
82
82
|
disabled?: boolean;
|
|
83
|
+
errorText?: string;
|
|
83
84
|
/**
|
|
84
|
-
*
|
|
85
|
+
* Provides additional information to help the user enter the correct information.
|
|
86
|
+
* To add HTML to the helper text, use the helper-text slot instead.
|
|
87
|
+
*/
|
|
88
|
+
helperText?: string;
|
|
89
|
+
/**
|
|
90
|
+
* The label for the radio group
|
|
85
91
|
*/
|
|
86
92
|
label?: string;
|
|
87
93
|
/**
|
|
@@ -97,6 +103,10 @@ export interface VRadioGroupProps {
|
|
|
97
103
|
* When true, the child radios will be immutable by user interaction. See https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly | readonly HTML attribute for more information.
|
|
98
104
|
*/
|
|
99
105
|
readonly?: boolean;
|
|
106
|
+
/**
|
|
107
|
+
* When true, the radio group and all its radio buttons will be required
|
|
108
|
+
*/
|
|
109
|
+
required?: boolean;
|
|
100
110
|
/**
|
|
101
111
|
* The value of the checked radio
|
|
102
112
|
*/
|