@vonage/vivid-vue 3.49.0 → 3.50.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/generated/components/VAccordion.vue3.d.ts +7 -1
- package/generated/components/VAccordionItem.vue2.d.ts +3 -3
- package/generated/components/VAccordionItem.vue3.d.ts +14 -4
- package/generated/components/VActionGroup.vue3.d.ts +7 -1
- package/generated/components/VAlert.vue2.d.ts +3 -3
- package/generated/components/VAlert.vue3.d.ts +18 -4
- package/generated/components/VAudioPlayer.d.ts +10 -0
- package/generated/components/VAudioPlayer.vue2.d.ts +109 -0
- package/generated/components/VAudioPlayer.vue3.d.ts +117 -0
- package/generated/components/VAvatar.vue2.d.ts +3 -3
- package/generated/components/VAvatar.vue3.d.ts +10 -4
- package/generated/components/VBadge.vue2.d.ts +3 -3
- package/generated/components/VBadge.vue3.d.ts +10 -4
- package/generated/components/VBanner.vue2.d.ts +3 -3
- package/generated/components/VBanner.vue3.d.ts +14 -4
- package/generated/components/VBreadcrumb.vue3.d.ts +7 -1
- package/generated/components/VBreadcrumbItem.vue3.d.ts +2 -1
- package/generated/components/VButton.vue2.d.ts +3 -3
- package/generated/components/VButton.vue3.d.ts +10 -4
- package/generated/components/VCalendar.vue3.d.ts +35 -1
- package/generated/components/VCalendarEvent.vue3.d.ts +2 -1
- package/generated/components/VCard.vue2.d.ts +3 -3
- package/generated/components/VCard.vue3.d.ts +26 -4
- package/generated/components/VCheckbox.vue3.d.ts +2 -1
- package/generated/components/VCombobox.vue2.d.ts +3 -3
- package/generated/components/VCombobox.vue3.d.ts +10 -4
- package/generated/components/VDataGrid.vue3.d.ts +7 -1
- package/generated/components/VDataGridCell.vue3.d.ts +7 -1
- package/generated/components/VDataGridRow.vue2.d.ts +1 -1
- package/generated/components/VDataGridRow.vue3.d.ts +8 -2
- package/generated/components/VDatePicker.vue3.d.ts +2 -1
- package/generated/components/VDateRangePicker.vue3.d.ts +2 -1
- package/generated/components/VDialog.vue2.d.ts +3 -3
- package/generated/components/VDialog.vue3.d.ts +26 -4
- package/generated/components/VDivider.vue3.d.ts +2 -1
- package/generated/components/VEmptyState.vue2.d.ts +3 -3
- package/generated/components/VEmptyState.vue3.d.ts +18 -4
- package/generated/components/VFab.vue2.d.ts +3 -3
- package/generated/components/VFab.vue3.d.ts +10 -4
- package/generated/components/VFilePicker.d.ts +10 -0
- package/generated/components/VFilePicker.vue2.d.ts +225 -0
- package/generated/components/VFilePicker.vue3.d.ts +234 -0
- package/generated/components/VHeader.vue3.d.ts +15 -1
- package/generated/components/VIcon.vue2.d.ts +3 -3
- package/generated/components/VIcon.vue3.d.ts +10 -4
- package/generated/components/VLayout.vue3.d.ts +7 -1
- package/generated/components/VMenu.vue3.d.ts +15 -1
- package/generated/components/VMenuItem.vue2.d.ts +3 -3
- package/generated/components/VMenuItem.vue3.d.ts +18 -4
- package/generated/components/VNav.vue3.d.ts +7 -1
- package/generated/components/VNavDisclosure.vue2.d.ts +3 -3
- package/generated/components/VNavDisclosure.vue3.d.ts +18 -4
- package/generated/components/VNavItem.vue2.d.ts +3 -3
- package/generated/components/VNavItem.vue3.d.ts +14 -4
- package/generated/components/VNote.vue2.d.ts +3 -3
- package/generated/components/VNote.vue3.d.ts +14 -4
- package/generated/components/VNumberField.vue2.d.ts +3 -3
- package/generated/components/VNumberField.vue3.d.ts +5 -4
- package/generated/components/VOption.vue2.d.ts +3 -3
- package/generated/components/VOption.vue3.d.ts +10 -4
- package/generated/components/VPagination.vue3.d.ts +2 -1
- package/generated/components/VProgress.vue3.d.ts +2 -1
- package/generated/components/VProgressRing.vue3.d.ts +2 -1
- package/generated/components/VRadio.vue3.d.ts +2 -1
- package/generated/components/VRadioGroup.vue3.d.ts +7 -1
- package/generated/components/VSelect.vue2.d.ts +3 -3
- package/generated/components/VSelect.vue3.d.ts +18 -4
- package/generated/components/VSelectableBox.vue3.d.ts +7 -1
- package/generated/components/VSideDrawer.vue3.d.ts +11 -1
- package/generated/components/VSlider.vue3.d.ts +2 -1
- package/generated/components/VSplitButton.vue2.d.ts +3 -3
- package/generated/components/VSplitButton.vue3.d.ts +14 -4
- package/generated/components/VSwitch.vue2.d.ts +135 -12
- package/generated/components/VSwitch.vue3.d.ts +137 -13
- package/generated/components/VTab.vue2.d.ts +4 -4
- package/generated/components/VTab.vue3.d.ts +11 -5
- package/generated/components/VTabPanel.vue3.d.ts +7 -1
- package/generated/components/VTabs.vue3.d.ts +7 -1
- package/generated/components/VTag.vue2.d.ts +3 -3
- package/generated/components/VTag.vue3.d.ts +10 -4
- package/generated/components/VTagGroup.vue3.d.ts +7 -1
- package/generated/components/VTextArea.vue3.d.ts +2 -1
- package/generated/components/VTextField.vue2.d.ts +3 -3
- package/generated/components/VTextField.vue3.d.ts +14 -4
- package/generated/components/VTimePicker.d.ts +10 -0
- package/generated/components/VTimePicker.vue2.d.ts +248 -0
- package/generated/components/VTimePicker.vue3.d.ts +258 -0
- package/generated/components/VToggletip.vue3.d.ts +11 -1
- package/generated/components/VTooltip.vue3.d.ts +2 -1
- package/generated/components/VTreeItem.vue2.d.ts +3 -3
- package/generated/components/VTreeItem.vue3.d.ts +14 -4
- package/generated/components/VTreeView.vue3.d.ts +7 -1
- package/generated/components/index.d.ts +9 -6
- package/generated/icons.d.ts +22 -0
- package/index.cjs +1408 -787
- package/index.js +1407 -789
- package/package.json +2 -2
- package/web-types.json +943 -461
|
@@ -0,0 +1,225 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import type { FilePicker } from '@vonage/vivid/lib/file-picker/file-picker';
|
|
3
|
+
/**
|
|
4
|
+
* File-picker component
|
|
5
|
+
*/
|
|
6
|
+
declare const _default: import("vue/types/v3-define-component").DefineComponent<{
|
|
7
|
+
/**
|
|
8
|
+
* The label for the form element.
|
|
9
|
+
*/
|
|
10
|
+
label: {
|
|
11
|
+
type: PropType<string>;
|
|
12
|
+
default: undefined;
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* The error text for the form element.
|
|
16
|
+
*/
|
|
17
|
+
errorText: {
|
|
18
|
+
type: PropType<string>;
|
|
19
|
+
default: undefined;
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* The helper text for the form element.
|
|
23
|
+
*/
|
|
24
|
+
helperText: {
|
|
25
|
+
type: PropType<string>;
|
|
26
|
+
default: undefined;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* Indicates the element that represents the current item within a container or set of related elements.
|
|
30
|
+
*/
|
|
31
|
+
ariaCurrent: {
|
|
32
|
+
type: PropType<"page" | "step" | "location" | "date" | "time" | "true" | "false">;
|
|
33
|
+
default: undefined;
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* Sets the element's disabled state. A disabled element will not be included during form submission.
|
|
37
|
+
*/
|
|
38
|
+
disabled: {
|
|
39
|
+
type: PropType<boolean>;
|
|
40
|
+
default: undefined;
|
|
41
|
+
};
|
|
42
|
+
/**
|
|
43
|
+
* The initial value of the form. This value sets the `value` property
|
|
44
|
+
* only when the `value` property has not been explicitly set.
|
|
45
|
+
*/
|
|
46
|
+
value: {
|
|
47
|
+
type: PropType<string>;
|
|
48
|
+
default: undefined;
|
|
49
|
+
};
|
|
50
|
+
/**
|
|
51
|
+
* The current value of the element. This property serves as a mechanism
|
|
52
|
+
* to set the `value` property through both property assignment and the
|
|
53
|
+
* .setAttribute() method. This is useful for setting the field's value
|
|
54
|
+
* in UI libraries that bind data through the .setAttribute() API
|
|
55
|
+
* and don't support IDL attribute binding.
|
|
56
|
+
*/
|
|
57
|
+
currentValue: {
|
|
58
|
+
type: PropType<string>;
|
|
59
|
+
default: undefined;
|
|
60
|
+
};
|
|
61
|
+
/**
|
|
62
|
+
* The name of the element. This element's value will be surfaced during form submission under the provided name.
|
|
63
|
+
*/
|
|
64
|
+
name: {
|
|
65
|
+
type: PropType<string>;
|
|
66
|
+
default: undefined;
|
|
67
|
+
};
|
|
68
|
+
/**
|
|
69
|
+
* Require the field to be completed prior to form submission.
|
|
70
|
+
*/
|
|
71
|
+
required: {
|
|
72
|
+
type: PropType<boolean>;
|
|
73
|
+
default: undefined;
|
|
74
|
+
};
|
|
75
|
+
/**
|
|
76
|
+
* The max files that can be selected.
|
|
77
|
+
*/
|
|
78
|
+
maxFiles: {
|
|
79
|
+
type: PropType<number>;
|
|
80
|
+
default: undefined;
|
|
81
|
+
};
|
|
82
|
+
/**
|
|
83
|
+
* The max file size that can be selected.
|
|
84
|
+
*/
|
|
85
|
+
maxFileSize: {
|
|
86
|
+
type: PropType<number>;
|
|
87
|
+
default: undefined;
|
|
88
|
+
};
|
|
89
|
+
/**
|
|
90
|
+
* List of accepted files types
|
|
91
|
+
*/
|
|
92
|
+
accept: {
|
|
93
|
+
type: PropType<string>;
|
|
94
|
+
default: undefined;
|
|
95
|
+
};
|
|
96
|
+
/**
|
|
97
|
+
* The size the file-uploader should have.
|
|
98
|
+
*/
|
|
99
|
+
size: {
|
|
100
|
+
type: PropType<"expanded" | "normal">;
|
|
101
|
+
default: undefined;
|
|
102
|
+
};
|
|
103
|
+
}, {
|
|
104
|
+
componentName: import("vue").Ref<string>;
|
|
105
|
+
element: import("vue").Ref<FilePicker | null>;
|
|
106
|
+
}, import("vue").Data, {}, {
|
|
107
|
+
maxFilesChanged(_oldValue: number, newValue: number): void;
|
|
108
|
+
maxFileSizeChanged(_oldValue: number, newValue: number): void;
|
|
109
|
+
acceptChanged(_oldValue: string, newValue: string): void;
|
|
110
|
+
nameChanged(previous: string, next: string): unknown;
|
|
111
|
+
validate(): void;
|
|
112
|
+
formResetCallback(): void;
|
|
113
|
+
}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, ("click" | "focus" | "blur" | "keydown" | "keyup" | "input" | "change")[], string, Readonly<import("vue").ExtractPropTypes<{
|
|
114
|
+
/**
|
|
115
|
+
* The label for the form element.
|
|
116
|
+
*/
|
|
117
|
+
label: {
|
|
118
|
+
type: PropType<string>;
|
|
119
|
+
default: undefined;
|
|
120
|
+
};
|
|
121
|
+
/**
|
|
122
|
+
* The error text for the form element.
|
|
123
|
+
*/
|
|
124
|
+
errorText: {
|
|
125
|
+
type: PropType<string>;
|
|
126
|
+
default: undefined;
|
|
127
|
+
};
|
|
128
|
+
/**
|
|
129
|
+
* The helper text for the form element.
|
|
130
|
+
*/
|
|
131
|
+
helperText: {
|
|
132
|
+
type: PropType<string>;
|
|
133
|
+
default: undefined;
|
|
134
|
+
};
|
|
135
|
+
/**
|
|
136
|
+
* Indicates the element that represents the current item within a container or set of related elements.
|
|
137
|
+
*/
|
|
138
|
+
ariaCurrent: {
|
|
139
|
+
type: PropType<"page" | "step" | "location" | "date" | "time" | "true" | "false">;
|
|
140
|
+
default: undefined;
|
|
141
|
+
};
|
|
142
|
+
/**
|
|
143
|
+
* Sets the element's disabled state. A disabled element will not be included during form submission.
|
|
144
|
+
*/
|
|
145
|
+
disabled: {
|
|
146
|
+
type: PropType<boolean>;
|
|
147
|
+
default: undefined;
|
|
148
|
+
};
|
|
149
|
+
/**
|
|
150
|
+
* The initial value of the form. This value sets the `value` property
|
|
151
|
+
* only when the `value` property has not been explicitly set.
|
|
152
|
+
*/
|
|
153
|
+
value: {
|
|
154
|
+
type: PropType<string>;
|
|
155
|
+
default: undefined;
|
|
156
|
+
};
|
|
157
|
+
/**
|
|
158
|
+
* The current value of the element. This property serves as a mechanism
|
|
159
|
+
* to set the `value` property through both property assignment and the
|
|
160
|
+
* .setAttribute() method. This is useful for setting the field's value
|
|
161
|
+
* in UI libraries that bind data through the .setAttribute() API
|
|
162
|
+
* and don't support IDL attribute binding.
|
|
163
|
+
*/
|
|
164
|
+
currentValue: {
|
|
165
|
+
type: PropType<string>;
|
|
166
|
+
default: undefined;
|
|
167
|
+
};
|
|
168
|
+
/**
|
|
169
|
+
* The name of the element. This element's value will be surfaced during form submission under the provided name.
|
|
170
|
+
*/
|
|
171
|
+
name: {
|
|
172
|
+
type: PropType<string>;
|
|
173
|
+
default: undefined;
|
|
174
|
+
};
|
|
175
|
+
/**
|
|
176
|
+
* Require the field to be completed prior to form submission.
|
|
177
|
+
*/
|
|
178
|
+
required: {
|
|
179
|
+
type: PropType<boolean>;
|
|
180
|
+
default: undefined;
|
|
181
|
+
};
|
|
182
|
+
/**
|
|
183
|
+
* The max files that can be selected.
|
|
184
|
+
*/
|
|
185
|
+
maxFiles: {
|
|
186
|
+
type: PropType<number>;
|
|
187
|
+
default: undefined;
|
|
188
|
+
};
|
|
189
|
+
/**
|
|
190
|
+
* The max file size that can be selected.
|
|
191
|
+
*/
|
|
192
|
+
maxFileSize: {
|
|
193
|
+
type: PropType<number>;
|
|
194
|
+
default: undefined;
|
|
195
|
+
};
|
|
196
|
+
/**
|
|
197
|
+
* List of accepted files types
|
|
198
|
+
*/
|
|
199
|
+
accept: {
|
|
200
|
+
type: PropType<string>;
|
|
201
|
+
default: undefined;
|
|
202
|
+
};
|
|
203
|
+
/**
|
|
204
|
+
* The size the file-uploader should have.
|
|
205
|
+
*/
|
|
206
|
+
size: {
|
|
207
|
+
type: PropType<"expanded" | "normal">;
|
|
208
|
+
default: undefined;
|
|
209
|
+
};
|
|
210
|
+
}>>, {
|
|
211
|
+
name: string;
|
|
212
|
+
ariaCurrent: "page" | "step" | "location" | "date" | "time" | "true" | "false";
|
|
213
|
+
value: string;
|
|
214
|
+
size: "expanded" | "normal";
|
|
215
|
+
disabled: boolean;
|
|
216
|
+
currentValue: string;
|
|
217
|
+
required: boolean;
|
|
218
|
+
label: string;
|
|
219
|
+
errorText: string;
|
|
220
|
+
helperText: string;
|
|
221
|
+
maxFiles: number;
|
|
222
|
+
maxFileSize: number;
|
|
223
|
+
accept: string;
|
|
224
|
+
}>;
|
|
225
|
+
export default _default;
|
|
@@ -0,0 +1,234 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import type { FilePicker } from '@vonage/vivid/lib/file-picker/file-picker';
|
|
3
|
+
import type { SlotsType } from 'vue';
|
|
4
|
+
/**
|
|
5
|
+
* File-picker component
|
|
6
|
+
*/
|
|
7
|
+
declare const _default: import("vue").DefineComponent<{
|
|
8
|
+
/**
|
|
9
|
+
* The label for the form element.
|
|
10
|
+
*/
|
|
11
|
+
label: {
|
|
12
|
+
type: PropType<string>;
|
|
13
|
+
default: undefined;
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* The error text for the form element.
|
|
17
|
+
*/
|
|
18
|
+
errorText: {
|
|
19
|
+
type: PropType<string>;
|
|
20
|
+
default: undefined;
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* The helper text for the form element.
|
|
24
|
+
*/
|
|
25
|
+
helperText: {
|
|
26
|
+
type: PropType<string>;
|
|
27
|
+
default: undefined;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Indicates the element that represents the current item within a container or set of related elements.
|
|
31
|
+
*/
|
|
32
|
+
ariaCurrent: {
|
|
33
|
+
type: PropType<"page" | "step" | "location" | "date" | "time" | "true" | "false">;
|
|
34
|
+
default: undefined;
|
|
35
|
+
};
|
|
36
|
+
/**
|
|
37
|
+
* Sets the element's disabled state. A disabled element will not be included during form submission.
|
|
38
|
+
*/
|
|
39
|
+
disabled: {
|
|
40
|
+
type: PropType<boolean>;
|
|
41
|
+
default: undefined;
|
|
42
|
+
};
|
|
43
|
+
/**
|
|
44
|
+
* The initial value of the form. This value sets the `value` property
|
|
45
|
+
* only when the `value` property has not been explicitly set.
|
|
46
|
+
*/
|
|
47
|
+
value: {
|
|
48
|
+
type: PropType<string>;
|
|
49
|
+
default: undefined;
|
|
50
|
+
};
|
|
51
|
+
/**
|
|
52
|
+
* The current value of the element. This property serves as a mechanism
|
|
53
|
+
* to set the `value` property through both property assignment and the
|
|
54
|
+
* .setAttribute() method. This is useful for setting the field's value
|
|
55
|
+
* in UI libraries that bind data through the .setAttribute() API
|
|
56
|
+
* and don't support IDL attribute binding.
|
|
57
|
+
*/
|
|
58
|
+
currentValue: {
|
|
59
|
+
type: PropType<string>;
|
|
60
|
+
default: undefined;
|
|
61
|
+
};
|
|
62
|
+
/**
|
|
63
|
+
* The name of the element. This element's value will be surfaced during form submission under the provided name.
|
|
64
|
+
*/
|
|
65
|
+
name: {
|
|
66
|
+
type: PropType<string>;
|
|
67
|
+
default: undefined;
|
|
68
|
+
};
|
|
69
|
+
/**
|
|
70
|
+
* Require the field to be completed prior to form submission.
|
|
71
|
+
*/
|
|
72
|
+
required: {
|
|
73
|
+
type: PropType<boolean>;
|
|
74
|
+
default: undefined;
|
|
75
|
+
};
|
|
76
|
+
/**
|
|
77
|
+
* The max files that can be selected.
|
|
78
|
+
*/
|
|
79
|
+
maxFiles: {
|
|
80
|
+
type: PropType<number>;
|
|
81
|
+
default: undefined;
|
|
82
|
+
};
|
|
83
|
+
/**
|
|
84
|
+
* The max file size that can be selected.
|
|
85
|
+
*/
|
|
86
|
+
maxFileSize: {
|
|
87
|
+
type: PropType<number>;
|
|
88
|
+
default: undefined;
|
|
89
|
+
};
|
|
90
|
+
/**
|
|
91
|
+
* List of accepted files types
|
|
92
|
+
*/
|
|
93
|
+
accept: {
|
|
94
|
+
type: PropType<string>;
|
|
95
|
+
default: undefined;
|
|
96
|
+
};
|
|
97
|
+
/**
|
|
98
|
+
* The size the file-uploader should have.
|
|
99
|
+
*/
|
|
100
|
+
size: {
|
|
101
|
+
type: PropType<"expanded" | "normal">;
|
|
102
|
+
default: undefined;
|
|
103
|
+
};
|
|
104
|
+
}, {
|
|
105
|
+
componentName: import("vue").Ref<string>;
|
|
106
|
+
element: import("vue").Ref<FilePicker | null>;
|
|
107
|
+
}, unknown, {}, {
|
|
108
|
+
maxFilesChanged(_oldValue: number, newValue: number): void;
|
|
109
|
+
maxFileSizeChanged(_oldValue: number, newValue: number): void;
|
|
110
|
+
acceptChanged(_oldValue: string, newValue: string): void;
|
|
111
|
+
nameChanged(previous: string, next: string): unknown;
|
|
112
|
+
validate(): void;
|
|
113
|
+
formResetCallback(): void;
|
|
114
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "focus" | "blur" | "keydown" | "keyup" | "input" | "change")[], "click" | "focus" | "blur" | "keydown" | "keyup" | "input" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
115
|
+
/**
|
|
116
|
+
* The label for the form element.
|
|
117
|
+
*/
|
|
118
|
+
label: {
|
|
119
|
+
type: PropType<string>;
|
|
120
|
+
default: undefined;
|
|
121
|
+
};
|
|
122
|
+
/**
|
|
123
|
+
* The error text for the form element.
|
|
124
|
+
*/
|
|
125
|
+
errorText: {
|
|
126
|
+
type: PropType<string>;
|
|
127
|
+
default: undefined;
|
|
128
|
+
};
|
|
129
|
+
/**
|
|
130
|
+
* The helper text for the form element.
|
|
131
|
+
*/
|
|
132
|
+
helperText: {
|
|
133
|
+
type: PropType<string>;
|
|
134
|
+
default: undefined;
|
|
135
|
+
};
|
|
136
|
+
/**
|
|
137
|
+
* Indicates the element that represents the current item within a container or set of related elements.
|
|
138
|
+
*/
|
|
139
|
+
ariaCurrent: {
|
|
140
|
+
type: PropType<"page" | "step" | "location" | "date" | "time" | "true" | "false">;
|
|
141
|
+
default: undefined;
|
|
142
|
+
};
|
|
143
|
+
/**
|
|
144
|
+
* Sets the element's disabled state. A disabled element will not be included during form submission.
|
|
145
|
+
*/
|
|
146
|
+
disabled: {
|
|
147
|
+
type: PropType<boolean>;
|
|
148
|
+
default: undefined;
|
|
149
|
+
};
|
|
150
|
+
/**
|
|
151
|
+
* The initial value of the form. This value sets the `value` property
|
|
152
|
+
* only when the `value` property has not been explicitly set.
|
|
153
|
+
*/
|
|
154
|
+
value: {
|
|
155
|
+
type: PropType<string>;
|
|
156
|
+
default: undefined;
|
|
157
|
+
};
|
|
158
|
+
/**
|
|
159
|
+
* The current value of the element. This property serves as a mechanism
|
|
160
|
+
* to set the `value` property through both property assignment and the
|
|
161
|
+
* .setAttribute() method. This is useful for setting the field's value
|
|
162
|
+
* in UI libraries that bind data through the .setAttribute() API
|
|
163
|
+
* and don't support IDL attribute binding.
|
|
164
|
+
*/
|
|
165
|
+
currentValue: {
|
|
166
|
+
type: PropType<string>;
|
|
167
|
+
default: undefined;
|
|
168
|
+
};
|
|
169
|
+
/**
|
|
170
|
+
* The name of the element. This element's value will be surfaced during form submission under the provided name.
|
|
171
|
+
*/
|
|
172
|
+
name: {
|
|
173
|
+
type: PropType<string>;
|
|
174
|
+
default: undefined;
|
|
175
|
+
};
|
|
176
|
+
/**
|
|
177
|
+
* Require the field to be completed prior to form submission.
|
|
178
|
+
*/
|
|
179
|
+
required: {
|
|
180
|
+
type: PropType<boolean>;
|
|
181
|
+
default: undefined;
|
|
182
|
+
};
|
|
183
|
+
/**
|
|
184
|
+
* The max files that can be selected.
|
|
185
|
+
*/
|
|
186
|
+
maxFiles: {
|
|
187
|
+
type: PropType<number>;
|
|
188
|
+
default: undefined;
|
|
189
|
+
};
|
|
190
|
+
/**
|
|
191
|
+
* The max file size that can be selected.
|
|
192
|
+
*/
|
|
193
|
+
maxFileSize: {
|
|
194
|
+
type: PropType<number>;
|
|
195
|
+
default: undefined;
|
|
196
|
+
};
|
|
197
|
+
/**
|
|
198
|
+
* List of accepted files types
|
|
199
|
+
*/
|
|
200
|
+
accept: {
|
|
201
|
+
type: PropType<string>;
|
|
202
|
+
default: undefined;
|
|
203
|
+
};
|
|
204
|
+
/**
|
|
205
|
+
* The size the file-uploader should have.
|
|
206
|
+
*/
|
|
207
|
+
size: {
|
|
208
|
+
type: PropType<"expanded" | "normal">;
|
|
209
|
+
default: undefined;
|
|
210
|
+
};
|
|
211
|
+
}>> & {
|
|
212
|
+
onKeydown?: ((...args: any[]) => any) | undefined;
|
|
213
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
214
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
215
|
+
onBlur?: ((...args: any[]) => any) | undefined;
|
|
216
|
+
onKeyup?: ((...args: any[]) => any) | undefined;
|
|
217
|
+
onInput?: ((...args: any[]) => any) | undefined;
|
|
218
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
219
|
+
}, {
|
|
220
|
+
name: string;
|
|
221
|
+
ariaCurrent: "page" | "step" | "location" | "date" | "time" | "true" | "false";
|
|
222
|
+
value: string;
|
|
223
|
+
size: "expanded" | "normal";
|
|
224
|
+
disabled: boolean;
|
|
225
|
+
currentValue: string;
|
|
226
|
+
required: boolean;
|
|
227
|
+
label: string;
|
|
228
|
+
errorText: string;
|
|
229
|
+
helperText: string;
|
|
230
|
+
maxFiles: number;
|
|
231
|
+
maxFileSize: number;
|
|
232
|
+
accept: string;
|
|
233
|
+
}, SlotsType<Record<string, never>>>;
|
|
234
|
+
export default _default;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import type { Header } from '@vonage/vivid/lib/header/header';
|
|
3
|
+
import type { SlotsType } from 'vue';
|
|
3
4
|
/**
|
|
4
5
|
* Base class for header
|
|
5
6
|
*/
|
|
@@ -61,5 +62,18 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
61
62
|
ariaCurrent: "page" | "step" | "location" | "date" | "time" | "true" | "false";
|
|
62
63
|
elevationShadow: boolean;
|
|
63
64
|
alternate: boolean;
|
|
64
|
-
}, {
|
|
65
|
+
}, SlotsType<{
|
|
66
|
+
/**
|
|
67
|
+
* Default slot.
|
|
68
|
+
*/
|
|
69
|
+
default: Record<string, never>;
|
|
70
|
+
/**
|
|
71
|
+
* Nodes assigned to action-items slot will be set at the end of the header.
|
|
72
|
+
*/
|
|
73
|
+
'action-items': Record<string, never>;
|
|
74
|
+
/**
|
|
75
|
+
* Content vertically aligned with header.
|
|
76
|
+
*/
|
|
77
|
+
'app-content': Record<string, never>;
|
|
78
|
+
}>>;
|
|
65
79
|
export default _default;
|