@vonage/vivid-vue 4.16.2 → 4.18.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/VAccordion.vue2.d.ts +1 -1
- package/generated/components/VAccordion.vue3.d.ts +22 -22
- package/generated/components/VAccordionItem.vue2.d.ts +41 -41
- package/generated/components/VAccordionItem.vue3.d.ts +62 -62
- package/generated/components/VActionGroup.vue2.d.ts +16 -34
- package/generated/components/VActionGroup.vue3.d.ts +28 -46
- package/generated/components/VAlert.vue2.d.ts +64 -64
- package/generated/components/VAlert.vue3.d.ts +88 -88
- package/generated/components/VAudioPlayer.vue2.d.ts +64 -64
- package/generated/components/VAudioPlayer.vue3.d.ts +77 -77
- package/generated/components/VAvatar.vue2.d.ts +41 -41
- package/generated/components/VAvatar.vue3.d.ts +54 -54
- package/generated/components/VBadge.vue2.d.ts +37 -37
- package/generated/components/VBadge.vue3.d.ts +50 -50
- package/generated/components/VBanner.vue2.d.ts +33 -51
- package/generated/components/VBanner.vue3.d.ts +46 -64
- package/generated/components/VBreadcrumb.vue2.d.ts +1 -1
- package/generated/components/VBreadcrumb.vue3.d.ts +14 -14
- package/generated/components/VBreadcrumbItem.vue2.d.ts +31 -31
- package/generated/components/VBreadcrumbItem.vue3.d.ts +48 -48
- package/generated/components/VButton.vue2.d.ts +178 -178
- package/generated/components/VButton.vue3.d.ts +191 -191
- package/generated/components/VCalendar.vue2.d.ts +40 -25
- package/generated/components/VCalendar.vue3.d.ts +57 -42
- package/generated/components/VCalendarEvent.vue2.d.ts +33 -33
- package/generated/components/VCalendarEvent.vue3.d.ts +46 -46
- package/generated/components/VCard.vue2.d.ts +37 -37
- package/generated/components/VCard.vue3.d.ts +58 -58
- package/generated/components/VCheckbox.vue2.d.ts +102 -126
- package/generated/components/VCheckbox.vue3.d.ts +129 -153
- package/generated/components/VCombobox.vue2.d.ts +140 -140
- package/generated/components/VCombobox.vue3.d.ts +165 -165
- package/generated/components/VDataGrid.vue2.d.ts +25 -25
- package/generated/components/VDataGrid.vue3.d.ts +50 -50
- package/generated/components/VDataGridCell.vue2.d.ts +35 -35
- package/generated/components/VDataGridCell.vue3.d.ts +67 -67
- package/generated/components/VDataGridRow.vue2.d.ts +16 -16
- package/generated/components/VDataGridRow.vue3.d.ts +41 -41
- package/generated/components/VDatePicker.vue2.d.ts +57 -57
- package/generated/components/VDatePicker.vue3.d.ts +81 -91
- package/generated/components/VDateRangePicker.vue2.d.ts +85 -85
- package/generated/components/VDateRangePicker.vue3.d.ts +123 -133
- package/generated/components/VDateTimePicker.d.ts +7 -0
- package/generated/components/VDateTimePicker.vue2.d.ts +298 -0
- package/generated/components/VDateTimePicker.vue3.d.ts +386 -0
- package/generated/components/VDialPad.vue2.d.ts +64 -64
- package/generated/components/VDialPad.vue3.d.ts +97 -97
- package/generated/components/VDialog.vue2.d.ts +51 -60
- package/generated/components/VDialog.vue3.d.ts +83 -92
- package/generated/components/VDivider.vue2.d.ts +13 -13
- package/generated/components/VDivider.vue3.d.ts +26 -26
- package/generated/components/VEmptyState.vue2.d.ts +2 -2
- package/generated/components/VEmptyState.vue3.d.ts +19 -19
- package/generated/components/VFab.vue2.d.ts +105 -105
- package/generated/components/VFab.vue3.d.ts +118 -118
- package/generated/components/VFilePicker.vue2.d.ts +106 -106
- package/generated/components/VFilePicker.vue3.d.ts +126 -126
- package/generated/components/VHeader.vue2.d.ts +12 -12
- package/generated/components/VHeader.vue3.d.ts +32 -32
- package/generated/components/VIcon.vue2.d.ts +9 -9
- package/generated/components/VIcon.vue3.d.ts +22 -22
- package/generated/components/VLayout.vue2.d.ts +19 -19
- package/generated/components/VLayout.vue3.d.ts +32 -32
- package/generated/components/VMenu.vue2.d.ts +31 -40
- package/generated/components/VMenu.vue3.d.ts +57 -66
- package/generated/components/VMenuItem.vue2.d.ts +74 -74
- package/generated/components/VMenuItem.vue3.d.ts +103 -103
- package/generated/components/VNav.vue2.d.ts +1 -1
- package/generated/components/VNav.vue3.d.ts +14 -14
- package/generated/components/VNavDisclosure.vue2.d.ts +37 -31
- package/generated/components/VNavDisclosure.vue3.d.ts +55 -49
- package/generated/components/VNavItem.vue2.d.ts +66 -66
- package/generated/components/VNavItem.vue3.d.ts +97 -97
- package/generated/components/VNote.vue2.d.ts +19 -19
- package/generated/components/VNote.vue3.d.ts +35 -35
- package/generated/components/VNumberField.vue2.d.ts +179 -179
- package/generated/components/VNumberField.vue3.d.ts +199 -199
- package/generated/components/VOption.vue2.d.ts +35 -39
- package/generated/components/VOption.vue3.d.ts +48 -52
- package/generated/components/VPagination.vue2.d.ts +26 -26
- package/generated/components/VPagination.vue3.d.ts +39 -39
- package/generated/components/VProgress.vue2.d.ts +31 -40
- package/generated/components/VProgress.vue3.d.ts +44 -53
- package/generated/components/VProgressRing.vue2.d.ts +17 -26
- package/generated/components/VProgressRing.vue3.d.ts +30 -39
- package/generated/components/VRadio.vue2.d.ts +68 -68
- package/generated/components/VRadio.vue3.d.ts +89 -89
- package/generated/components/VRadioGroup.vue2.d.ts +35 -35
- package/generated/components/VRadioGroup.vue3.d.ts +56 -56
- package/generated/components/VRangeSlider.vue2.d.ts +129 -129
- package/generated/components/VRangeSlider.vue3.d.ts +165 -165
- package/generated/components/VRichTextEditor.d.ts +7 -0
- package/generated/components/VRichTextEditor.vue2.d.ts +46 -0
- package/generated/components/VRichTextEditor.vue3.d.ts +109 -0
- package/generated/components/VSearchableSelect.vue2.d.ts +135 -135
- package/generated/components/VSearchableSelect.vue3.d.ts +163 -163
- package/generated/components/VSelect.vue2.d.ts +108 -124
- package/generated/components/VSelect.vue3.d.ts +134 -150
- package/generated/components/VSelectableBox.vue2.d.ts +1 -10
- package/generated/components/VSelectableBox.vue3.d.ts +22 -31
- package/generated/components/VSideDrawer.vue2.d.ts +13 -13
- package/generated/components/VSideDrawer.vue3.d.ts +43 -43
- package/generated/components/VSlider.vue2.d.ts +101 -119
- package/generated/components/VSlider.vue3.d.ts +122 -140
- package/generated/components/VSplitButton.vue2.d.ts +56 -74
- package/generated/components/VSplitButton.vue3.d.ts +80 -98
- package/generated/components/VSwitch.vue2.d.ts +77 -86
- package/generated/components/VSwitch.vue3.d.ts +104 -113
- package/generated/components/VTab.vue2.d.ts +46 -46
- package/generated/components/VTab.vue3.d.ts +59 -59
- package/generated/components/VTabPanel.vue2.d.ts +1 -1
- package/generated/components/VTabPanel.vue3.d.ts +14 -14
- package/generated/components/VTabs.vue2.d.ts +29 -29
- package/generated/components/VTabs.vue3.d.ts +50 -50
- package/generated/components/VTag.vue2.d.ts +39 -39
- package/generated/components/VTag.vue3.d.ts +56 -56
- package/generated/components/VTagGroup.vue2.d.ts +1 -10
- package/generated/components/VTagGroup.vue3.d.ts +14 -23
- package/generated/components/VTextArea.vue2.d.ts +141 -141
- package/generated/components/VTextArea.vue3.d.ts +162 -162
- package/generated/components/VTextField.vue2.d.ts +164 -164
- package/generated/components/VTextField.vue3.d.ts +189 -189
- package/generated/components/VTimePicker.vue2.d.ts +71 -104
- package/generated/components/VTimePicker.vue3.d.ts +92 -125
- package/generated/components/VToggletip.vue2.d.ts +20 -20
- package/generated/components/VToggletip.vue3.d.ts +36 -36
- package/generated/components/VTooltip.vue2.d.ts +18 -18
- package/generated/components/VTooltip.vue3.d.ts +31 -31
- package/generated/components/VTreeItem.vue2.d.ts +31 -31
- package/generated/components/VTreeItem.vue3.d.ts +55 -55
- package/generated/components/VTreeView.vue2.d.ts +1 -1
- package/generated/components/VTreeView.vue3.d.ts +14 -14
- package/generated/components/VVideoPlayer.vue2.d.ts +32 -32
- package/generated/components/VVideoPlayer.vue3.d.ts +55 -55
- package/generated/components/index.d.ts +2 -0
- package/index.cjs +4827 -4524
- package/index.js +4827 -4526
- package/package.json +2 -2
- package/web-types.json +1654 -1584
|
@@ -3,38 +3,46 @@ import type { Checkbox } from '@vonage/vivid/lib/checkbox/checkbox';
|
|
|
3
3
|
import type { SlotsType } from 'vue';
|
|
4
4
|
declare const _default: import("vue").DefineComponent<{
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* Indicates the element that represents the current item within a container or set of related elements.
|
|
7
7
|
*/
|
|
8
|
-
|
|
9
|
-
type: PropType<
|
|
8
|
+
ariaCurrent: {
|
|
9
|
+
type: PropType<"page" | "step" | "location" | "date" | "time" | "true" | "false">;
|
|
10
10
|
default: undefined;
|
|
11
11
|
};
|
|
12
12
|
/**
|
|
13
|
-
* The
|
|
13
|
+
* The current checkedness of the element. This property serves as a mechanism
|
|
14
|
+
* to set the `checked` property through both property assignment and the
|
|
15
|
+
* .setAttribute() method. This is useful for setting the field's checkedness
|
|
16
|
+
* in UI libraries that bind data through the .setAttribute() API
|
|
17
|
+
* and don't support IDL attribute binding.
|
|
14
18
|
*/
|
|
15
|
-
|
|
16
|
-
type: PropType<
|
|
19
|
+
checked: {
|
|
20
|
+
type: PropType<boolean>;
|
|
17
21
|
default: undefined;
|
|
18
22
|
};
|
|
19
23
|
/**
|
|
20
|
-
* The
|
|
24
|
+
* The current checkedness of the element. This property serves as a mechanism
|
|
25
|
+
* to set the `checked` property through both property assignment and the
|
|
26
|
+
* .setAttribute() method. This is useful for setting the field's checkedness
|
|
27
|
+
* in UI libraries that bind data through the .setAttribute() API
|
|
28
|
+
* and don't support IDL attribute binding.
|
|
21
29
|
*/
|
|
22
|
-
|
|
23
|
-
type: PropType<
|
|
30
|
+
modelValue: {
|
|
31
|
+
type: PropType<boolean>;
|
|
24
32
|
default: undefined;
|
|
25
33
|
};
|
|
26
34
|
/**
|
|
27
|
-
* The
|
|
35
|
+
* The connotation the checklist should have.
|
|
28
36
|
*/
|
|
29
|
-
|
|
30
|
-
type: PropType<
|
|
37
|
+
connotation: {
|
|
38
|
+
type: PropType<"accent" | "cta">;
|
|
31
39
|
default: undefined;
|
|
32
40
|
};
|
|
33
41
|
/**
|
|
34
|
-
*
|
|
42
|
+
* Provides the default checkedness of the input element
|
|
35
43
|
*/
|
|
36
|
-
|
|
37
|
-
type: PropType<
|
|
44
|
+
defaultChecked: {
|
|
45
|
+
type: PropType<boolean>;
|
|
38
46
|
default: undefined;
|
|
39
47
|
};
|
|
40
48
|
/**
|
|
@@ -45,68 +53,59 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
45
53
|
default: undefined;
|
|
46
54
|
};
|
|
47
55
|
/**
|
|
48
|
-
* The
|
|
49
|
-
* only when the `value` property has not been explicitly set.
|
|
56
|
+
* The error text for the form element.
|
|
50
57
|
*/
|
|
51
|
-
|
|
58
|
+
errorText: {
|
|
52
59
|
type: PropType<string>;
|
|
53
60
|
default: undefined;
|
|
54
61
|
};
|
|
55
62
|
/**
|
|
56
|
-
* The
|
|
57
|
-
* to set the `value` property through both property assignment and the
|
|
58
|
-
* .setAttribute() method. This is useful for setting the field's value
|
|
59
|
-
* in UI libraries that bind data through the .setAttribute() API
|
|
60
|
-
* and don't support IDL attribute binding.
|
|
63
|
+
* The helper text for the form element.
|
|
61
64
|
*/
|
|
62
|
-
|
|
65
|
+
helperText: {
|
|
63
66
|
type: PropType<string>;
|
|
64
67
|
default: undefined;
|
|
65
68
|
};
|
|
66
69
|
/**
|
|
67
|
-
* The
|
|
70
|
+
* The initial value of the form. This value sets the `value` property
|
|
71
|
+
* only when the `value` property has not been explicitly set.
|
|
68
72
|
*/
|
|
69
|
-
|
|
73
|
+
initialValue: {
|
|
70
74
|
type: PropType<string>;
|
|
71
75
|
default: undefined;
|
|
72
76
|
};
|
|
73
77
|
/**
|
|
74
|
-
*
|
|
78
|
+
* The label for the form element.
|
|
75
79
|
*/
|
|
76
|
-
|
|
77
|
-
type: PropType<
|
|
80
|
+
label: {
|
|
81
|
+
type: PropType<string>;
|
|
78
82
|
default: undefined;
|
|
79
83
|
};
|
|
80
84
|
/**
|
|
81
|
-
*
|
|
85
|
+
* The name of the element. This element's value will be surfaced during form submission under the provided name.
|
|
82
86
|
*/
|
|
83
|
-
|
|
84
|
-
type: PropType<
|
|
87
|
+
name: {
|
|
88
|
+
type: PropType<string>;
|
|
85
89
|
default: undefined;
|
|
86
90
|
};
|
|
87
91
|
/**
|
|
88
|
-
*
|
|
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.
|
|
92
|
+
* When true, the control will be immutable by user interaction. See https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly | readonly HTML attribute for more information.
|
|
93
93
|
*/
|
|
94
|
-
|
|
94
|
+
readonly: {
|
|
95
95
|
type: PropType<boolean>;
|
|
96
96
|
default: undefined;
|
|
97
97
|
};
|
|
98
98
|
/**
|
|
99
|
-
*
|
|
100
|
-
* to set the `checked` property through both property assignment and the
|
|
101
|
-
* .setAttribute() method. This is useful for setting the field's checkedness
|
|
102
|
-
* in UI libraries that bind data through the .setAttribute() API
|
|
103
|
-
* and don't support IDL attribute binding.
|
|
99
|
+
* Require the field to be completed prior to form submission.
|
|
104
100
|
*/
|
|
105
|
-
|
|
101
|
+
required: {
|
|
106
102
|
type: PropType<boolean>;
|
|
107
103
|
default: undefined;
|
|
108
104
|
};
|
|
109
|
-
|
|
105
|
+
/**
|
|
106
|
+
* The success text for the form element.
|
|
107
|
+
*/
|
|
108
|
+
successText: {
|
|
110
109
|
type: PropType<string>;
|
|
111
110
|
default: undefined;
|
|
112
111
|
};
|
|
@@ -115,24 +114,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
115
114
|
default: undefined;
|
|
116
115
|
};
|
|
117
116
|
/**
|
|
118
|
-
* The
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
};
|
|
124
|
-
/**
|
|
125
|
-
* The current checkbox state
|
|
126
|
-
*/
|
|
127
|
-
ariaChecked: {
|
|
128
|
-
type: PropType<"true" | "false" | "mixed" | "undefined">;
|
|
129
|
-
default: undefined;
|
|
130
|
-
};
|
|
131
|
-
/**
|
|
132
|
-
* When true, the control will be immutable by user interaction. See https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly | readonly HTML attribute for more information.
|
|
117
|
+
* The current value of the element. This property serves as a mechanism
|
|
118
|
+
* to set the `value` property through both property assignment and the
|
|
119
|
+
* .setAttribute() method. This is useful for setting the field's value
|
|
120
|
+
* in UI libraries that bind data through the .setAttribute() API
|
|
121
|
+
* and don't support IDL attribute binding.
|
|
133
122
|
*/
|
|
134
|
-
|
|
135
|
-
type: PropType<
|
|
123
|
+
value: {
|
|
124
|
+
type: PropType<string>;
|
|
136
125
|
default: undefined;
|
|
137
126
|
};
|
|
138
127
|
}, {
|
|
@@ -141,6 +130,20 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
141
130
|
}, unknown, {}, {
|
|
142
131
|
ariaCheckedChanged(): unknown;
|
|
143
132
|
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
133
|
+
/**
|
|
134
|
+
* Fires when the element loses focus.
|
|
135
|
+
* @type {FocusEvent}
|
|
136
|
+
*/
|
|
137
|
+
blur(event: FocusEvent & {
|
|
138
|
+
target: Checkbox;
|
|
139
|
+
}): true;
|
|
140
|
+
/**
|
|
141
|
+
* Emitted when the checked state changes.
|
|
142
|
+
* @type {CustomEvent<undefined>}
|
|
143
|
+
*/
|
|
144
|
+
change(event: CustomEvent<undefined> & {
|
|
145
|
+
target: Checkbox;
|
|
146
|
+
}): true;
|
|
144
147
|
/**
|
|
145
148
|
* Fires when a pointing device button (such as a mouse's primary mouse button) is both pressed and released while the pointer is located inside the element.
|
|
146
149
|
* @type {MouseEvent}
|
|
@@ -156,10 +159,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
156
159
|
target: Checkbox;
|
|
157
160
|
}): true;
|
|
158
161
|
/**
|
|
159
|
-
*
|
|
160
|
-
* @type {
|
|
162
|
+
* Emitted when the checked state changes.
|
|
163
|
+
* @type {CustomEvent<undefined>}
|
|
161
164
|
*/
|
|
162
|
-
|
|
165
|
+
input(event: CustomEvent<undefined> & {
|
|
163
166
|
target: Checkbox;
|
|
164
167
|
}): true;
|
|
165
168
|
/**
|
|
@@ -176,20 +179,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
176
179
|
keyup(event: KeyboardEvent & {
|
|
177
180
|
target: Checkbox;
|
|
178
181
|
}): true;
|
|
179
|
-
/**
|
|
180
|
-
* Emitted when the checked state changes.
|
|
181
|
-
* @type {CustomEvent<undefined>}
|
|
182
|
-
*/
|
|
183
|
-
change(event: CustomEvent<undefined> & {
|
|
184
|
-
target: Checkbox;
|
|
185
|
-
}): true;
|
|
186
|
-
/**
|
|
187
|
-
* Emitted when the checked state changes.
|
|
188
|
-
* @type {CustomEvent<undefined>}
|
|
189
|
-
*/
|
|
190
|
-
input(event: CustomEvent<undefined> & {
|
|
191
|
-
target: Checkbox;
|
|
192
|
-
}): true;
|
|
193
182
|
/**
|
|
194
183
|
* Fires when the modelValue value changes
|
|
195
184
|
* @type {boolean}
|
|
@@ -199,38 +188,46 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
199
188
|
}): true;
|
|
200
189
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
201
190
|
/**
|
|
202
|
-
*
|
|
191
|
+
* Indicates the element that represents the current item within a container or set of related elements.
|
|
203
192
|
*/
|
|
204
|
-
|
|
205
|
-
type: PropType<
|
|
193
|
+
ariaCurrent: {
|
|
194
|
+
type: PropType<"page" | "step" | "location" | "date" | "time" | "true" | "false">;
|
|
206
195
|
default: undefined;
|
|
207
196
|
};
|
|
208
197
|
/**
|
|
209
|
-
* The
|
|
198
|
+
* The current checkedness of the element. This property serves as a mechanism
|
|
199
|
+
* to set the `checked` property through both property assignment and the
|
|
200
|
+
* .setAttribute() method. This is useful for setting the field's checkedness
|
|
201
|
+
* in UI libraries that bind data through the .setAttribute() API
|
|
202
|
+
* and don't support IDL attribute binding.
|
|
210
203
|
*/
|
|
211
|
-
|
|
212
|
-
type: PropType<
|
|
204
|
+
checked: {
|
|
205
|
+
type: PropType<boolean>;
|
|
213
206
|
default: undefined;
|
|
214
207
|
};
|
|
215
208
|
/**
|
|
216
|
-
* The
|
|
209
|
+
* The current checkedness of the element. This property serves as a mechanism
|
|
210
|
+
* to set the `checked` property through both property assignment and the
|
|
211
|
+
* .setAttribute() method. This is useful for setting the field's checkedness
|
|
212
|
+
* in UI libraries that bind data through the .setAttribute() API
|
|
213
|
+
* and don't support IDL attribute binding.
|
|
217
214
|
*/
|
|
218
|
-
|
|
219
|
-
type: PropType<
|
|
215
|
+
modelValue: {
|
|
216
|
+
type: PropType<boolean>;
|
|
220
217
|
default: undefined;
|
|
221
218
|
};
|
|
222
219
|
/**
|
|
223
|
-
* The
|
|
220
|
+
* The connotation the checklist should have.
|
|
224
221
|
*/
|
|
225
|
-
|
|
226
|
-
type: PropType<
|
|
222
|
+
connotation: {
|
|
223
|
+
type: PropType<"accent" | "cta">;
|
|
227
224
|
default: undefined;
|
|
228
225
|
};
|
|
229
226
|
/**
|
|
230
|
-
*
|
|
227
|
+
* Provides the default checkedness of the input element
|
|
231
228
|
*/
|
|
232
|
-
|
|
233
|
-
type: PropType<
|
|
229
|
+
defaultChecked: {
|
|
230
|
+
type: PropType<boolean>;
|
|
234
231
|
default: undefined;
|
|
235
232
|
};
|
|
236
233
|
/**
|
|
@@ -241,68 +238,59 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
241
238
|
default: undefined;
|
|
242
239
|
};
|
|
243
240
|
/**
|
|
244
|
-
* The
|
|
245
|
-
* only when the `value` property has not been explicitly set.
|
|
241
|
+
* The error text for the form element.
|
|
246
242
|
*/
|
|
247
|
-
|
|
243
|
+
errorText: {
|
|
248
244
|
type: PropType<string>;
|
|
249
245
|
default: undefined;
|
|
250
246
|
};
|
|
251
247
|
/**
|
|
252
|
-
* The
|
|
253
|
-
* to set the `value` property through both property assignment and the
|
|
254
|
-
* .setAttribute() method. This is useful for setting the field's value
|
|
255
|
-
* in UI libraries that bind data through the .setAttribute() API
|
|
256
|
-
* and don't support IDL attribute binding.
|
|
248
|
+
* The helper text for the form element.
|
|
257
249
|
*/
|
|
258
|
-
|
|
250
|
+
helperText: {
|
|
259
251
|
type: PropType<string>;
|
|
260
252
|
default: undefined;
|
|
261
253
|
};
|
|
262
254
|
/**
|
|
263
|
-
* The
|
|
255
|
+
* The initial value of the form. This value sets the `value` property
|
|
256
|
+
* only when the `value` property has not been explicitly set.
|
|
264
257
|
*/
|
|
265
|
-
|
|
258
|
+
initialValue: {
|
|
266
259
|
type: PropType<string>;
|
|
267
260
|
default: undefined;
|
|
268
261
|
};
|
|
269
262
|
/**
|
|
270
|
-
*
|
|
263
|
+
* The label for the form element.
|
|
271
264
|
*/
|
|
272
|
-
|
|
273
|
-
type: PropType<
|
|
265
|
+
label: {
|
|
266
|
+
type: PropType<string>;
|
|
274
267
|
default: undefined;
|
|
275
268
|
};
|
|
276
269
|
/**
|
|
277
|
-
*
|
|
270
|
+
* The name of the element. This element's value will be surfaced during form submission under the provided name.
|
|
278
271
|
*/
|
|
279
|
-
|
|
280
|
-
type: PropType<
|
|
272
|
+
name: {
|
|
273
|
+
type: PropType<string>;
|
|
281
274
|
default: undefined;
|
|
282
275
|
};
|
|
283
276
|
/**
|
|
284
|
-
*
|
|
285
|
-
* to set the `checked` property through both property assignment and the
|
|
286
|
-
* .setAttribute() method. This is useful for setting the field's checkedness
|
|
287
|
-
* in UI libraries that bind data through the .setAttribute() API
|
|
288
|
-
* and don't support IDL attribute binding.
|
|
277
|
+
* When true, the control will be immutable by user interaction. See https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly | readonly HTML attribute for more information.
|
|
289
278
|
*/
|
|
290
|
-
|
|
279
|
+
readonly: {
|
|
291
280
|
type: PropType<boolean>;
|
|
292
281
|
default: undefined;
|
|
293
282
|
};
|
|
294
283
|
/**
|
|
295
|
-
*
|
|
296
|
-
* to set the `checked` property through both property assignment and the
|
|
297
|
-
* .setAttribute() method. This is useful for setting the field's checkedness
|
|
298
|
-
* in UI libraries that bind data through the .setAttribute() API
|
|
299
|
-
* and don't support IDL attribute binding.
|
|
284
|
+
* Require the field to be completed prior to form submission.
|
|
300
285
|
*/
|
|
301
|
-
|
|
286
|
+
required: {
|
|
302
287
|
type: PropType<boolean>;
|
|
303
288
|
default: undefined;
|
|
304
289
|
};
|
|
305
|
-
|
|
290
|
+
/**
|
|
291
|
+
* The success text for the form element.
|
|
292
|
+
*/
|
|
293
|
+
successText: {
|
|
306
294
|
type: PropType<string>;
|
|
307
295
|
default: undefined;
|
|
308
296
|
};
|
|
@@ -311,46 +299,36 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
311
299
|
default: undefined;
|
|
312
300
|
};
|
|
313
301
|
/**
|
|
314
|
-
* The
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
};
|
|
320
|
-
/**
|
|
321
|
-
* The current checkbox state
|
|
322
|
-
*/
|
|
323
|
-
ariaChecked: {
|
|
324
|
-
type: PropType<"true" | "false" | "mixed" | "undefined">;
|
|
325
|
-
default: undefined;
|
|
326
|
-
};
|
|
327
|
-
/**
|
|
328
|
-
* When true, the control will be immutable by user interaction. See https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly | readonly HTML attribute for more information.
|
|
302
|
+
* The current value of the element. This property serves as a mechanism
|
|
303
|
+
* to set the `value` property through both property assignment and the
|
|
304
|
+
* .setAttribute() method. This is useful for setting the field's value
|
|
305
|
+
* in UI libraries that bind data through the .setAttribute() API
|
|
306
|
+
* and don't support IDL attribute binding.
|
|
329
307
|
*/
|
|
330
|
-
|
|
331
|
-
type: PropType<
|
|
308
|
+
value: {
|
|
309
|
+
type: PropType<string>;
|
|
332
310
|
default: undefined;
|
|
333
311
|
};
|
|
334
312
|
}>> & {
|
|
335
313
|
onKeydown?: ((event: KeyboardEvent & {
|
|
336
314
|
target: Checkbox;
|
|
337
315
|
}) => any) | undefined;
|
|
338
|
-
|
|
316
|
+
onBlur?: ((event: FocusEvent & {
|
|
339
317
|
target: Checkbox;
|
|
340
318
|
}) => any) | undefined;
|
|
341
|
-
|
|
319
|
+
onChange?: ((event: CustomEvent<undefined> & {
|
|
342
320
|
target: Checkbox;
|
|
343
321
|
}) => any) | undefined;
|
|
344
|
-
|
|
322
|
+
onClick?: ((event: MouseEvent & {
|
|
345
323
|
target: Checkbox;
|
|
346
324
|
}) => any) | undefined;
|
|
347
|
-
|
|
325
|
+
onFocus?: ((event: FocusEvent & {
|
|
348
326
|
target: Checkbox;
|
|
349
327
|
}) => any) | undefined;
|
|
350
328
|
onInput?: ((event: CustomEvent<undefined> & {
|
|
351
329
|
target: Checkbox;
|
|
352
330
|
}) => any) | undefined;
|
|
353
|
-
|
|
331
|
+
onKeyup?: ((event: KeyboardEvent & {
|
|
354
332
|
target: Checkbox;
|
|
355
333
|
}) => any) | undefined;
|
|
356
334
|
"onUpdate:modelValue"?: ((event: boolean & {
|
|
@@ -360,21 +338,19 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
360
338
|
name: string;
|
|
361
339
|
ariaCurrent: "page" | "step" | "location" | "date" | "time" | "true" | "false";
|
|
362
340
|
value: string;
|
|
363
|
-
ariaLabel: string;
|
|
364
341
|
connotation: "accent" | "cta";
|
|
365
342
|
disabled: boolean;
|
|
366
343
|
initialValue: string;
|
|
367
|
-
required: boolean;
|
|
368
344
|
label: string;
|
|
345
|
+
required: boolean;
|
|
369
346
|
modelValue: boolean;
|
|
370
|
-
|
|
347
|
+
checked: boolean;
|
|
348
|
+
defaultChecked: boolean;
|
|
371
349
|
errorText: string;
|
|
372
350
|
helperText: string;
|
|
373
|
-
defaultChecked: boolean;
|
|
374
|
-
checked: boolean;
|
|
375
|
-
tabindex: string;
|
|
376
|
-
ariaChecked: "undefined" | "true" | "false" | "mixed";
|
|
377
351
|
readonly: boolean;
|
|
352
|
+
successText: string;
|
|
353
|
+
tabindex: string;
|
|
378
354
|
}, SlotsType<{
|
|
379
355
|
/**
|
|
380
356
|
* The default slot allows you to use rich content as the checkbox's label.
|