@vonage/vivid-vue 4.23.0 → 4.25.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 +1 -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 +10 -20
- package/generated/components/VCheckbox.vue2.d.ts +29 -40
- package/generated/components/VCheckbox.vue3.d.ts +29 -40
- 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/VDataGrid.types.d.ts +1 -1
- package/generated/components/VDataGrid.vue2.d.ts +2 -2
- package/generated/components/VDataGrid.vue3.d.ts +2 -2
- package/generated/components/VDataGridRow.vue2.d.ts +1 -1
- package/generated/components/VDataGridRow.vue3.d.ts +1 -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/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 +22 -16
- package/generated/components/VFilePicker.vue3.d.ts +22 -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.vue3.d.ts +1 -1
- 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 +8 -14
- package/generated/components/VSearchableSelect.vue2.d.ts +34 -29
- package/generated/components/VSearchableSelect.vue3.d.ts +35 -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/VTabs.types.d.ts +1 -1
- package/generated/components/VTabs.vue2.d.ts +4 -3
- package/generated/components/VTabs.vue3.d.ts +4 -3
- 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 +607 -319
- package/index.js +607 -320
- package/package.json +2 -2
- package/plugin/index.d.ts +8 -2
- package/web-types.json +317 -156
|
@@ -18,7 +18,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
18
18
|
default: undefined;
|
|
19
19
|
};
|
|
20
20
|
/**
|
|
21
|
-
*
|
|
21
|
+
* Provides a custom error message. Any current error state will be overridden.
|
|
22
22
|
*/
|
|
23
23
|
errorText: {
|
|
24
24
|
type: PropType<string>;
|
|
@@ -32,7 +32,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
32
32
|
default: undefined;
|
|
33
33
|
};
|
|
34
34
|
/**
|
|
35
|
-
*
|
|
35
|
+
* Provides additional information to help the user enter the correct information.
|
|
36
|
+
* To add HTML to the helper text, use the helper-text slot instead.
|
|
36
37
|
*/
|
|
37
38
|
helperText: {
|
|
38
39
|
type: PropType<string>;
|
|
@@ -54,7 +55,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
54
55
|
default: undefined;
|
|
55
56
|
};
|
|
56
57
|
/**
|
|
57
|
-
* The
|
|
58
|
+
* The default value of the element. This value sets the `value` property
|
|
58
59
|
* only when the `value` property has not been explicitly set.
|
|
59
60
|
*/
|
|
60
61
|
initialValue: {
|
|
@@ -118,29 +119,21 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
118
119
|
default: undefined;
|
|
119
120
|
};
|
|
120
121
|
/**
|
|
121
|
-
*
|
|
122
|
+
* Provides a custom success message. Any current error state will be overridden.
|
|
122
123
|
*/
|
|
123
124
|
successText: {
|
|
124
125
|
type: PropType<string>;
|
|
125
126
|
default: undefined;
|
|
126
127
|
};
|
|
127
128
|
/**
|
|
128
|
-
* The current value of the element.
|
|
129
|
-
* to set the `value` property through both property assignment and the
|
|
130
|
-
* .setAttribute() method. This is useful for setting the field's value
|
|
131
|
-
* in UI libraries that bind data through the .setAttribute() API
|
|
132
|
-
* and don't support IDL attribute binding.
|
|
129
|
+
* The current value of the element.
|
|
133
130
|
*/
|
|
134
131
|
value: {
|
|
135
132
|
type: PropType<string>;
|
|
136
133
|
default: undefined;
|
|
137
134
|
};
|
|
138
135
|
/**
|
|
139
|
-
* The current value of the element.
|
|
140
|
-
* to set the `value` property through both property assignment and the
|
|
141
|
-
* .setAttribute() method. This is useful for setting the field's value
|
|
142
|
-
* in UI libraries that bind data through the .setAttribute() API
|
|
143
|
-
* and don't support IDL attribute binding.
|
|
136
|
+
* The current value of the element.
|
|
144
137
|
*/
|
|
145
138
|
modelValue: {
|
|
146
139
|
type: PropType<string>;
|
|
@@ -150,8 +143,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
150
143
|
componentName: import("vue").Ref<string>;
|
|
151
144
|
element: import("vue").Ref<VwcSelectElement | null>;
|
|
152
145
|
}, unknown, {}, {
|
|
146
|
+
/**
|
|
147
|
+
* Return the current validity of the element.
|
|
148
|
+
*/
|
|
149
|
+
checkValidity(): boolean;
|
|
153
150
|
formResetCallback(): unknown;
|
|
154
|
-
|
|
151
|
+
/**
|
|
152
|
+
* Return the current validity of the element.
|
|
153
|
+
* If false, fires an invalid event at the element.
|
|
154
|
+
*/
|
|
155
|
+
reportValidity(): boolean;
|
|
155
156
|
/**
|
|
156
157
|
* Moves focus to the first selectable option.
|
|
157
158
|
*/
|
|
@@ -261,7 +262,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
261
262
|
default: undefined;
|
|
262
263
|
};
|
|
263
264
|
/**
|
|
264
|
-
*
|
|
265
|
+
* Provides a custom error message. Any current error state will be overridden.
|
|
265
266
|
*/
|
|
266
267
|
errorText: {
|
|
267
268
|
type: PropType<string>;
|
|
@@ -275,7 +276,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
275
276
|
default: undefined;
|
|
276
277
|
};
|
|
277
278
|
/**
|
|
278
|
-
*
|
|
279
|
+
* Provides additional information to help the user enter the correct information.
|
|
280
|
+
* To add HTML to the helper text, use the helper-text slot instead.
|
|
279
281
|
*/
|
|
280
282
|
helperText: {
|
|
281
283
|
type: PropType<string>;
|
|
@@ -297,7 +299,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
297
299
|
default: undefined;
|
|
298
300
|
};
|
|
299
301
|
/**
|
|
300
|
-
* The
|
|
302
|
+
* The default value of the element. This value sets the `value` property
|
|
301
303
|
* only when the `value` property has not been explicitly set.
|
|
302
304
|
*/
|
|
303
305
|
initialValue: {
|
|
@@ -361,29 +363,21 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
361
363
|
default: undefined;
|
|
362
364
|
};
|
|
363
365
|
/**
|
|
364
|
-
*
|
|
366
|
+
* Provides a custom success message. Any current error state will be overridden.
|
|
365
367
|
*/
|
|
366
368
|
successText: {
|
|
367
369
|
type: PropType<string>;
|
|
368
370
|
default: undefined;
|
|
369
371
|
};
|
|
370
372
|
/**
|
|
371
|
-
* The current value of the element.
|
|
372
|
-
* to set the `value` property through both property assignment and the
|
|
373
|
-
* .setAttribute() method. This is useful for setting the field's value
|
|
374
|
-
* in UI libraries that bind data through the .setAttribute() API
|
|
375
|
-
* and don't support IDL attribute binding.
|
|
373
|
+
* The current value of the element.
|
|
376
374
|
*/
|
|
377
375
|
value: {
|
|
378
376
|
type: PropType<string>;
|
|
379
377
|
default: undefined;
|
|
380
378
|
};
|
|
381
379
|
/**
|
|
382
|
-
* The current value of the element.
|
|
383
|
-
* to set the `value` property through both property assignment and the
|
|
384
|
-
* .setAttribute() method. This is useful for setting the field's value
|
|
385
|
-
* in UI libraries that bind data through the .setAttribute() API
|
|
386
|
-
* and don't support IDL attribute binding.
|
|
380
|
+
* The current value of the element.
|
|
387
381
|
*/
|
|
388
382
|
modelValue: {
|
|
389
383
|
type: PropType<string>;
|
|
@@ -470,7 +464,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
470
464
|
*/
|
|
471
465
|
'helper-text': Record<string, never>;
|
|
472
466
|
/**
|
|
473
|
-
*
|
|
467
|
+
* The preferred way to add an icon to the select control.
|
|
474
468
|
*/
|
|
475
469
|
icon: Record<string, never>;
|
|
476
470
|
/**
|
|
@@ -8,9 +8,6 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
|
|
|
8
8
|
type: PropType<boolean>;
|
|
9
9
|
default: undefined;
|
|
10
10
|
};
|
|
11
|
-
/**
|
|
12
|
-
* DEPRECATED: Replaced by the clickable-box prop
|
|
13
|
-
*/
|
|
14
11
|
clickable: {
|
|
15
12
|
type: PropType<boolean>;
|
|
16
13
|
default: undefined;
|
|
@@ -54,9 +51,6 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
|
|
|
54
51
|
type: PropType<boolean>;
|
|
55
52
|
default: undefined;
|
|
56
53
|
};
|
|
57
|
-
/**
|
|
58
|
-
* DEPRECATED: Replaced by the clickable-box prop
|
|
59
|
-
*/
|
|
60
54
|
clickable: {
|
|
61
55
|
type: PropType<boolean>;
|
|
62
56
|
default: undefined;
|
|
@@ -93,8 +87,8 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
|
|
|
93
87
|
tight: boolean;
|
|
94
88
|
connotation: "accent" | "cta";
|
|
95
89
|
checked: boolean;
|
|
90
|
+
controlType: "checkbox" | "radio";
|
|
96
91
|
clickable: boolean;
|
|
97
92
|
clickableBox: boolean;
|
|
98
|
-
controlType: "checkbox" | "radio";
|
|
99
93
|
}>;
|
|
100
94
|
export default _default;
|
|
@@ -9,9 +9,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
9
9
|
type: PropType<boolean>;
|
|
10
10
|
default: undefined;
|
|
11
11
|
};
|
|
12
|
-
/**
|
|
13
|
-
* DEPRECATED: Replaced by the clickable-box prop
|
|
14
|
-
*/
|
|
15
12
|
clickable: {
|
|
16
13
|
type: PropType<boolean>;
|
|
17
14
|
default: undefined;
|
|
@@ -133,9 +130,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
133
130
|
type: PropType<boolean>;
|
|
134
131
|
default: undefined;
|
|
135
132
|
};
|
|
136
|
-
/**
|
|
137
|
-
* DEPRECATED: Replaced by the clickable-box prop
|
|
138
|
-
*/
|
|
139
133
|
clickable: {
|
|
140
134
|
type: PropType<boolean>;
|
|
141
135
|
default: undefined;
|
|
@@ -222,9 +216,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
222
216
|
tight: boolean;
|
|
223
217
|
connotation: "accent" | "cta";
|
|
224
218
|
checked: boolean;
|
|
219
|
+
controlType: "checkbox" | "radio";
|
|
225
220
|
clickable: boolean;
|
|
226
221
|
clickableBox: boolean;
|
|
227
|
-
controlType: "checkbox" | "radio";
|
|
228
222
|
}, SlotsType<{
|
|
229
223
|
/**
|
|
230
224
|
* Slot for box's content.
|
|
@@ -85,7 +85,7 @@ export interface VSliderProps {
|
|
|
85
85
|
*/
|
|
86
86
|
disabled?: boolean;
|
|
87
87
|
/**
|
|
88
|
-
* The
|
|
88
|
+
* The default value of the element. This value sets the `value` property
|
|
89
89
|
* only when the `value` property has not been explicitly set.
|
|
90
90
|
*/
|
|
91
91
|
initialValue?: string;
|
|
@@ -130,19 +130,11 @@ export interface VSliderProps {
|
|
|
130
130
|
*/
|
|
131
131
|
step?: number;
|
|
132
132
|
/**
|
|
133
|
-
* The current value of the element.
|
|
134
|
-
* to set the `value` property through both property assignment and the
|
|
135
|
-
* .setAttribute() method. This is useful for setting the field's value
|
|
136
|
-
* in UI libraries that bind data through the .setAttribute() API
|
|
137
|
-
* and don't support IDL attribute binding.
|
|
133
|
+
* The current value of the element.
|
|
138
134
|
*/
|
|
139
135
|
value?: string;
|
|
140
136
|
/**
|
|
141
|
-
* The current value of the element.
|
|
142
|
-
* to set the `value` property through both property assignment and the
|
|
143
|
-
* .setAttribute() method. This is useful for setting the field's value
|
|
144
|
-
* in UI libraries that bind data through the .setAttribute() API
|
|
145
|
-
* and don't support IDL attribute binding.
|
|
137
|
+
* The current value of the element.
|
|
146
138
|
*/
|
|
147
139
|
modelValue?: string;
|
|
148
140
|
/**
|
|
@@ -16,7 +16,7 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
|
|
|
16
16
|
default: undefined;
|
|
17
17
|
};
|
|
18
18
|
/**
|
|
19
|
-
* The
|
|
19
|
+
* The default value of the element. This value sets the `value` property
|
|
20
20
|
* only when the `value` property has not been explicitly set.
|
|
21
21
|
*/
|
|
22
22
|
initialValue: {
|
|
@@ -94,22 +94,14 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
|
|
|
94
94
|
default: undefined;
|
|
95
95
|
};
|
|
96
96
|
/**
|
|
97
|
-
* The current value of the element.
|
|
98
|
-
* to set the `value` property through both property assignment and the
|
|
99
|
-
* .setAttribute() method. This is useful for setting the field's value
|
|
100
|
-
* in UI libraries that bind data through the .setAttribute() API
|
|
101
|
-
* and don't support IDL attribute binding.
|
|
97
|
+
* The current value of the element.
|
|
102
98
|
*/
|
|
103
99
|
value: {
|
|
104
100
|
type: PropType<string>;
|
|
105
101
|
default: undefined;
|
|
106
102
|
};
|
|
107
103
|
/**
|
|
108
|
-
* The current value of the element.
|
|
109
|
-
* to set the `value` property through both property assignment and the
|
|
110
|
-
* .setAttribute() method. This is useful for setting the field's value
|
|
111
|
-
* in UI libraries that bind data through the .setAttribute() API
|
|
112
|
-
* and don't support IDL attribute binding.
|
|
104
|
+
* The current value of the element.
|
|
113
105
|
*/
|
|
114
106
|
modelValue: {
|
|
115
107
|
type: PropType<string>;
|
|
@@ -119,6 +111,10 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
|
|
|
119
111
|
componentName: import("vue").Ref<string>;
|
|
120
112
|
element: import("vue").Ref<VwcSliderElement | null>;
|
|
121
113
|
}, import("vue").Data, {}, {
|
|
114
|
+
/**
|
|
115
|
+
* Return the current validity of the element.
|
|
116
|
+
*/
|
|
117
|
+
checkValidity(): boolean;
|
|
122
118
|
/**
|
|
123
119
|
* Decrement the value by the step
|
|
124
120
|
*/
|
|
@@ -127,6 +123,11 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
|
|
|
127
123
|
* Increment the value by the step
|
|
128
124
|
*/
|
|
129
125
|
increment(): void;
|
|
126
|
+
/**
|
|
127
|
+
* Return the current validity of the element.
|
|
128
|
+
* If false, fires an invalid event at the element.
|
|
129
|
+
*/
|
|
130
|
+
reportValidity(): boolean;
|
|
130
131
|
/**
|
|
131
132
|
* Places the thumb based on the current value
|
|
132
133
|
*/
|
|
@@ -147,7 +148,7 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
|
|
|
147
148
|
default: undefined;
|
|
148
149
|
};
|
|
149
150
|
/**
|
|
150
|
-
* The
|
|
151
|
+
* The default value of the element. This value sets the `value` property
|
|
151
152
|
* only when the `value` property has not been explicitly set.
|
|
152
153
|
*/
|
|
153
154
|
initialValue: {
|
|
@@ -225,22 +226,14 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
|
|
|
225
226
|
default: undefined;
|
|
226
227
|
};
|
|
227
228
|
/**
|
|
228
|
-
* The current value of the element.
|
|
229
|
-
* to set the `value` property through both property assignment and the
|
|
230
|
-
* .setAttribute() method. This is useful for setting the field's value
|
|
231
|
-
* in UI libraries that bind data through the .setAttribute() API
|
|
232
|
-
* and don't support IDL attribute binding.
|
|
229
|
+
* The current value of the element.
|
|
233
230
|
*/
|
|
234
231
|
value: {
|
|
235
232
|
type: PropType<string>;
|
|
236
233
|
default: undefined;
|
|
237
234
|
};
|
|
238
235
|
/**
|
|
239
|
-
* The current value of the element.
|
|
240
|
-
* to set the `value` property through both property assignment and the
|
|
241
|
-
* .setAttribute() method. This is useful for setting the field's value
|
|
242
|
-
* in UI libraries that bind data through the .setAttribute() API
|
|
243
|
-
* and don't support IDL attribute binding.
|
|
236
|
+
* The current value of the element.
|
|
244
237
|
*/
|
|
245
238
|
modelValue: {
|
|
246
239
|
type: PropType<string>;
|
|
@@ -17,7 +17,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
17
17
|
default: undefined;
|
|
18
18
|
};
|
|
19
19
|
/**
|
|
20
|
-
* The
|
|
20
|
+
* The default value of the element. This value sets the `value` property
|
|
21
21
|
* only when the `value` property has not been explicitly set.
|
|
22
22
|
*/
|
|
23
23
|
initialValue: {
|
|
@@ -95,22 +95,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
95
95
|
default: undefined;
|
|
96
96
|
};
|
|
97
97
|
/**
|
|
98
|
-
* The current value of the element.
|
|
99
|
-
* to set the `value` property through both property assignment and the
|
|
100
|
-
* .setAttribute() method. This is useful for setting the field's value
|
|
101
|
-
* in UI libraries that bind data through the .setAttribute() API
|
|
102
|
-
* and don't support IDL attribute binding.
|
|
98
|
+
* The current value of the element.
|
|
103
99
|
*/
|
|
104
100
|
value: {
|
|
105
101
|
type: PropType<string>;
|
|
106
102
|
default: undefined;
|
|
107
103
|
};
|
|
108
104
|
/**
|
|
109
|
-
* The current value of the element.
|
|
110
|
-
* to set the `value` property through both property assignment and the
|
|
111
|
-
* .setAttribute() method. This is useful for setting the field's value
|
|
112
|
-
* in UI libraries that bind data through the .setAttribute() API
|
|
113
|
-
* and don't support IDL attribute binding.
|
|
105
|
+
* The current value of the element.
|
|
114
106
|
*/
|
|
115
107
|
modelValue: {
|
|
116
108
|
type: PropType<string>;
|
|
@@ -120,6 +112,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
120
112
|
componentName: import("vue").Ref<string>;
|
|
121
113
|
element: import("vue").Ref<VwcSliderElement | null>;
|
|
122
114
|
}, unknown, {}, {
|
|
115
|
+
/**
|
|
116
|
+
* Return the current validity of the element.
|
|
117
|
+
*/
|
|
118
|
+
checkValidity(): boolean;
|
|
123
119
|
/**
|
|
124
120
|
* Decrement the value by the step
|
|
125
121
|
*/
|
|
@@ -128,6 +124,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
128
124
|
* Increment the value by the step
|
|
129
125
|
*/
|
|
130
126
|
increment(): void;
|
|
127
|
+
/**
|
|
128
|
+
* Return the current validity of the element.
|
|
129
|
+
* If false, fires an invalid event at the element.
|
|
130
|
+
*/
|
|
131
|
+
reportValidity(): boolean;
|
|
131
132
|
/**
|
|
132
133
|
* Places the thumb based on the current value
|
|
133
134
|
*/
|
|
@@ -231,7 +232,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
231
232
|
default: undefined;
|
|
232
233
|
};
|
|
233
234
|
/**
|
|
234
|
-
* The
|
|
235
|
+
* The default value of the element. This value sets the `value` property
|
|
235
236
|
* only when the `value` property has not been explicitly set.
|
|
236
237
|
*/
|
|
237
238
|
initialValue: {
|
|
@@ -309,22 +310,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
309
310
|
default: undefined;
|
|
310
311
|
};
|
|
311
312
|
/**
|
|
312
|
-
* The current value of the element.
|
|
313
|
-
* to set the `value` property through both property assignment and the
|
|
314
|
-
* .setAttribute() method. This is useful for setting the field's value
|
|
315
|
-
* in UI libraries that bind data through the .setAttribute() API
|
|
316
|
-
* and don't support IDL attribute binding.
|
|
313
|
+
* The current value of the element.
|
|
317
314
|
*/
|
|
318
315
|
value: {
|
|
319
316
|
type: PropType<string>;
|
|
320
317
|
default: undefined;
|
|
321
318
|
};
|
|
322
319
|
/**
|
|
323
|
-
* The current value of the element.
|
|
324
|
-
* to set the `value` property through both property assignment and the
|
|
325
|
-
* .setAttribute() method. This is useful for setting the field's value
|
|
326
|
-
* in UI libraries that bind data through the .setAttribute() API
|
|
327
|
-
* and don't support IDL attribute binding.
|
|
320
|
+
* The current value of the element.
|
|
328
321
|
*/
|
|
329
322
|
modelValue: {
|
|
330
323
|
type: PropType<string>;
|
|
@@ -77,19 +77,11 @@ export interface VSwitchEvents {
|
|
|
77
77
|
}
|
|
78
78
|
export interface VSwitchProps {
|
|
79
79
|
/**
|
|
80
|
-
* The current checkedness of the element.
|
|
81
|
-
* to set the `checked` property through both property assignment and the
|
|
82
|
-
* .setAttribute() method. This is useful for setting the field's checkedness
|
|
83
|
-
* in UI libraries that bind data through the .setAttribute() API
|
|
84
|
-
* and don't support IDL attribute binding.
|
|
80
|
+
* The current checkedness of the element.
|
|
85
81
|
*/
|
|
86
82
|
checked?: boolean;
|
|
87
83
|
/**
|
|
88
|
-
* The current checkedness of the element.
|
|
89
|
-
* to set the `checked` property through both property assignment and the
|
|
90
|
-
* .setAttribute() method. This is useful for setting the field's checkedness
|
|
91
|
-
* in UI libraries that bind data through the .setAttribute() API
|
|
92
|
-
* and don't support IDL attribute binding.
|
|
84
|
+
* The current checkedness of the element.
|
|
93
85
|
*/
|
|
94
86
|
modelValue?: boolean;
|
|
95
87
|
/**
|
|
@@ -97,7 +89,8 @@ export interface VSwitchProps {
|
|
|
97
89
|
*/
|
|
98
90
|
connotation?: 'accent' | 'alert' | 'announcement' | 'success' | 'cta';
|
|
99
91
|
/**
|
|
100
|
-
*
|
|
92
|
+
* The default checkedness of the element. This value sets the `checked` property
|
|
93
|
+
* only when the `checked` property has not been explicitly set.
|
|
101
94
|
*/
|
|
102
95
|
defaultChecked?: boolean;
|
|
103
96
|
/**
|
|
@@ -105,7 +98,7 @@ export interface VSwitchProps {
|
|
|
105
98
|
*/
|
|
106
99
|
disabled?: boolean;
|
|
107
100
|
/**
|
|
108
|
-
* The
|
|
101
|
+
* The default value of the element. This value sets the `value` property
|
|
109
102
|
* only when the `value` property has not been explicitly set.
|
|
110
103
|
*/
|
|
111
104
|
initialValue?: string;
|
|
@@ -126,11 +119,7 @@ export interface VSwitchProps {
|
|
|
126
119
|
*/
|
|
127
120
|
required?: boolean;
|
|
128
121
|
/**
|
|
129
|
-
* The current value of the element.
|
|
130
|
-
* to set the `value` property through both property assignment and the
|
|
131
|
-
* .setAttribute() method. This is useful for setting the field's value
|
|
132
|
-
* in UI libraries that bind data through the .setAttribute() API
|
|
133
|
-
* and don't support IDL attribute binding.
|
|
122
|
+
* The current value of the element.
|
|
134
123
|
*/
|
|
135
124
|
value?: string;
|
|
136
125
|
/**
|
|
@@ -2,22 +2,14 @@ import { PropType } from 'vue';
|
|
|
2
2
|
import type { VwcSwitchElement } from '@vonage/vivid';
|
|
3
3
|
declare const _default: import("vue/types/v3-define-component").DefineComponent<{
|
|
4
4
|
/**
|
|
5
|
-
* The current checkedness of the element.
|
|
6
|
-
* to set the `checked` property through both property assignment and the
|
|
7
|
-
* .setAttribute() method. This is useful for setting the field's checkedness
|
|
8
|
-
* in UI libraries that bind data through the .setAttribute() API
|
|
9
|
-
* and don't support IDL attribute binding.
|
|
5
|
+
* The current checkedness of the element.
|
|
10
6
|
*/
|
|
11
7
|
checked: {
|
|
12
8
|
type: PropType<boolean>;
|
|
13
9
|
default: undefined;
|
|
14
10
|
};
|
|
15
11
|
/**
|
|
16
|
-
* The current checkedness of the element.
|
|
17
|
-
* to set the `checked` property through both property assignment and the
|
|
18
|
-
* .setAttribute() method. This is useful for setting the field's checkedness
|
|
19
|
-
* in UI libraries that bind data through the .setAttribute() API
|
|
20
|
-
* and don't support IDL attribute binding.
|
|
12
|
+
* The current checkedness of the element.
|
|
21
13
|
*/
|
|
22
14
|
modelValue: {
|
|
23
15
|
type: PropType<boolean>;
|
|
@@ -31,7 +23,8 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
|
|
|
31
23
|
default: undefined;
|
|
32
24
|
};
|
|
33
25
|
/**
|
|
34
|
-
*
|
|
26
|
+
* The default checkedness of the element. This value sets the `checked` property
|
|
27
|
+
* only when the `checked` property has not been explicitly set.
|
|
35
28
|
*/
|
|
36
29
|
defaultChecked: {
|
|
37
30
|
type: PropType<boolean>;
|
|
@@ -45,7 +38,7 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
|
|
|
45
38
|
default: undefined;
|
|
46
39
|
};
|
|
47
40
|
/**
|
|
48
|
-
* The
|
|
41
|
+
* The default value of the element. This value sets the `value` property
|
|
49
42
|
* only when the `value` property has not been explicitly set.
|
|
50
43
|
*/
|
|
51
44
|
initialValue: {
|
|
@@ -81,11 +74,7 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
|
|
|
81
74
|
default: undefined;
|
|
82
75
|
};
|
|
83
76
|
/**
|
|
84
|
-
* The current value of the element.
|
|
85
|
-
* to set the `value` property through both property assignment and the
|
|
86
|
-
* .setAttribute() method. This is useful for setting the field's value
|
|
87
|
-
* in UI libraries that bind data through the .setAttribute() API
|
|
88
|
-
* and don't support IDL attribute binding.
|
|
77
|
+
* The current value of the element.
|
|
89
78
|
*/
|
|
90
79
|
value: {
|
|
91
80
|
type: PropType<string>;
|
|
@@ -94,24 +83,26 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
|
|
|
94
83
|
}, {
|
|
95
84
|
componentName: import("vue").Ref<string>;
|
|
96
85
|
element: import("vue").Ref<VwcSwitchElement | null>;
|
|
97
|
-
}, import("vue").Data, {}, {
|
|
86
|
+
}, import("vue").Data, {}, {
|
|
98
87
|
/**
|
|
99
|
-
*
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
*
|
|
88
|
+
* Return the current validity of the element.
|
|
89
|
+
*/
|
|
90
|
+
checkValidity(): boolean;
|
|
91
|
+
/**
|
|
92
|
+
* Return the current validity of the element.
|
|
93
|
+
* If false, fires an invalid event at the element.
|
|
94
|
+
*/
|
|
95
|
+
reportValidity(): boolean;
|
|
96
|
+
}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, ("blur" | "change" | "click" | "focus" | "input" | "keydown" | "keyup" | "update:modelValue")[], string, Readonly<import("vue").ExtractPropTypes<{
|
|
97
|
+
/**
|
|
98
|
+
* The current checkedness of the element.
|
|
104
99
|
*/
|
|
105
100
|
checked: {
|
|
106
101
|
type: PropType<boolean>;
|
|
107
102
|
default: undefined;
|
|
108
103
|
};
|
|
109
104
|
/**
|
|
110
|
-
* The current checkedness of the element.
|
|
111
|
-
* to set the `checked` property through both property assignment and the
|
|
112
|
-
* .setAttribute() method. This is useful for setting the field's checkedness
|
|
113
|
-
* in UI libraries that bind data through the .setAttribute() API
|
|
114
|
-
* and don't support IDL attribute binding.
|
|
105
|
+
* The current checkedness of the element.
|
|
115
106
|
*/
|
|
116
107
|
modelValue: {
|
|
117
108
|
type: PropType<boolean>;
|
|
@@ -125,7 +116,8 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
|
|
|
125
116
|
default: undefined;
|
|
126
117
|
};
|
|
127
118
|
/**
|
|
128
|
-
*
|
|
119
|
+
* The default checkedness of the element. This value sets the `checked` property
|
|
120
|
+
* only when the `checked` property has not been explicitly set.
|
|
129
121
|
*/
|
|
130
122
|
defaultChecked: {
|
|
131
123
|
type: PropType<boolean>;
|
|
@@ -139,7 +131,7 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
|
|
|
139
131
|
default: undefined;
|
|
140
132
|
};
|
|
141
133
|
/**
|
|
142
|
-
* The
|
|
134
|
+
* The default value of the element. This value sets the `value` property
|
|
143
135
|
* only when the `value` property has not been explicitly set.
|
|
144
136
|
*/
|
|
145
137
|
initialValue: {
|
|
@@ -175,11 +167,7 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
|
|
|
175
167
|
default: undefined;
|
|
176
168
|
};
|
|
177
169
|
/**
|
|
178
|
-
* The current value of the element.
|
|
179
|
-
* to set the `value` property through both property assignment and the
|
|
180
|
-
* .setAttribute() method. This is useful for setting the field's value
|
|
181
|
-
* in UI libraries that bind data through the .setAttribute() API
|
|
182
|
-
* and don't support IDL attribute binding.
|
|
170
|
+
* The current value of the element.
|
|
183
171
|
*/
|
|
184
172
|
value: {
|
|
185
173
|
type: PropType<string>;
|