@vonage/vivid-vue 4.18.0 → 4.19.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 +2 -2
- package/generated/components/VAccordion.vue3.d.ts +72 -16
- package/generated/components/VAccordionItem.vue2.d.ts +2 -2
- package/generated/components/VAccordionItem.vue3.d.ts +72 -16
- package/generated/components/VActionGroup.vue2.d.ts +2 -2
- package/generated/components/VActionGroup.vue3.d.ts +62 -14
- package/generated/components/VAlert.vue2.d.ts +2 -2
- package/generated/components/VAlert.vue3.d.ts +82 -18
- package/generated/components/VAudioPlayer.vue2.d.ts +2 -2
- package/generated/components/VAudioPlayer.vue3.d.ts +62 -14
- package/generated/components/VAvatar.vue2.d.ts +2 -2
- package/generated/components/VAvatar.vue3.d.ts +62 -14
- package/generated/components/VBadge.vue2.d.ts +2 -2
- package/generated/components/VBadge.vue3.d.ts +62 -14
- package/generated/components/VBanner.vue2.d.ts +2 -2
- package/generated/components/VBanner.vue3.d.ts +62 -14
- package/generated/components/VBreadcrumb.vue2.d.ts +2 -2
- package/generated/components/VBreadcrumb.vue3.d.ts +62 -14
- package/generated/components/VBreadcrumbItem.vue2.d.ts +2 -2
- package/generated/components/VBreadcrumbItem.vue3.d.ts +62 -14
- package/generated/components/VButton.vue3.d.ts +61 -13
- package/generated/components/VCalendar.vue2.d.ts +2 -2
- package/generated/components/VCalendar.vue3.d.ts +62 -14
- package/generated/components/VCalendarEvent.vue2.d.ts +2 -2
- package/generated/components/VCalendarEvent.vue3.d.ts +62 -14
- package/generated/components/VCard.vue2.d.ts +2 -2
- package/generated/components/VCard.vue3.d.ts +62 -14
- package/generated/components/VCheckbox.vue2.d.ts +2 -2
- package/generated/components/VCheckbox.vue3.d.ts +74 -22
- package/generated/components/VCombobox.vue3.d.ts +73 -21
- package/generated/components/VDataGrid.vue2.d.ts +2 -2
- package/generated/components/VDataGrid.vue3.d.ts +72 -16
- package/generated/components/VDataGridCell.vue2.d.ts +2 -2
- package/generated/components/VDataGridCell.vue3.d.ts +92 -20
- package/generated/components/VDataGridRow.vue2.d.ts +2 -2
- package/generated/components/VDataGridRow.vue3.d.ts +82 -18
- package/generated/components/VDatePicker.vue2.d.ts +2 -2
- package/generated/components/VDatePicker.vue3.d.ts +74 -22
- package/generated/components/VDateRangePicker.vue2.d.ts +2 -2
- package/generated/components/VDateRangePicker.vue3.d.ts +96 -32
- package/generated/components/VDateTimePicker.vue2.d.ts +2 -2
- package/generated/components/VDateTimePicker.vue3.d.ts +74 -22
- package/generated/components/VDialPad.vue2.d.ts +2 -2
- package/generated/components/VDialPad.vue3.d.ts +104 -28
- package/generated/components/VDialog.vue2.d.ts +2 -2
- package/generated/components/VDialog.vue3.d.ts +94 -26
- package/generated/components/VDivider.vue2.d.ts +2 -2
- package/generated/components/VDivider.vue3.d.ts +62 -14
- package/generated/components/VEmptyState.vue2.d.ts +2 -2
- package/generated/components/VEmptyState.vue3.d.ts +62 -14
- package/generated/components/VFab.vue3.d.ts +61 -13
- package/generated/components/VFilePicker.vue2.d.ts +2 -2
- package/generated/components/VFilePicker.vue3.d.ts +72 -16
- package/generated/components/VHeader.vue2.d.ts +2 -2
- package/generated/components/VHeader.vue3.d.ts +62 -14
- package/generated/components/VIcon.vue2.d.ts +2 -2
- package/generated/components/VIcon.vue3.d.ts +62 -14
- package/generated/components/VLayout.vue2.d.ts +2 -2
- package/generated/components/VLayout.vue3.d.ts +62 -14
- package/generated/components/VMenu.vue2.d.ts +2 -2
- package/generated/components/VMenu.vue3.d.ts +82 -18
- package/generated/components/VMenuItem.vue2.d.ts +2 -2
- package/generated/components/VMenuItem.vue3.d.ts +84 -24
- package/generated/components/VNav.vue2.d.ts +2 -2
- package/generated/components/VNav.vue3.d.ts +62 -14
- package/generated/components/VNavDisclosure.vue2.d.ts +2 -2
- package/generated/components/VNavDisclosure.vue3.d.ts +72 -16
- package/generated/components/VNavItem.vue2.d.ts +2 -2
- package/generated/components/VNavItem.vue3.d.ts +62 -14
- package/generated/components/VNote.vue2.d.ts +2 -2
- package/generated/components/VNote.vue3.d.ts +62 -14
- package/generated/components/VNumberField.vue2.d.ts +2 -2
- package/generated/components/VNumberField.vue3.d.ts +74 -22
- package/generated/components/VOption.vue2.d.ts +17 -2
- package/generated/components/VOption.vue3.d.ts +77 -14
- package/generated/components/VPagination.vue2.d.ts +2 -2
- package/generated/components/VPagination.vue3.d.ts +72 -16
- package/generated/components/VProgress.vue2.d.ts +2 -2
- package/generated/components/VProgress.vue3.d.ts +62 -14
- package/generated/components/VProgressRing.vue2.d.ts +2 -2
- package/generated/components/VProgressRing.vue3.d.ts +62 -14
- package/generated/components/VRadio.vue2.d.ts +2 -2
- package/generated/components/VRadio.vue3.d.ts +72 -16
- package/generated/components/VRadioGroup.vue2.d.ts +2 -2
- package/generated/components/VRadioGroup.vue3.d.ts +74 -22
- package/generated/components/VRangeSlider.vue2.d.ts +2 -2
- package/generated/components/VRangeSlider.vue3.d.ts +96 -32
- package/generated/components/VRichTextEditor.vue2.d.ts +3 -2
- package/generated/components/VRichTextEditor.vue3.d.ts +63 -14
- package/generated/components/VSearchableSelect.vue2.d.ts +33 -3
- package/generated/components/VSearchableSelect.vue3.d.ts +127 -27
- package/generated/components/VSelect.vue2.d.ts +2 -2
- package/generated/components/VSelect.vue3.d.ts +74 -22
- package/generated/components/VSelectableBox.vue2.d.ts +2 -2
- package/generated/components/VSelectableBox.vue3.d.ts +72 -16
- package/generated/components/VSideDrawer.vue2.d.ts +2 -2
- package/generated/components/VSideDrawer.vue3.d.ts +92 -20
- package/generated/components/VSlider.vue2.d.ts +2 -2
- package/generated/components/VSlider.vue3.d.ts +74 -22
- package/generated/components/VSplitButton.vue2.d.ts +2 -2
- package/generated/components/VSplitButton.vue3.d.ts +82 -18
- package/generated/components/VSwitch.vue2.d.ts +2 -2
- package/generated/components/VSwitch.vue3.d.ts +74 -22
- package/generated/components/VTab.vue2.d.ts +2 -2
- package/generated/components/VTab.vue3.d.ts +62 -14
- package/generated/components/VTabPanel.vue2.d.ts +2 -2
- package/generated/components/VTabPanel.vue3.d.ts +62 -14
- package/generated/components/VTabs.vue2.d.ts +2 -2
- package/generated/components/VTabs.vue3.d.ts +72 -16
- package/generated/components/VTag.vue2.d.ts +2 -2
- package/generated/components/VTag.vue3.d.ts +82 -18
- package/generated/components/VTagGroup.vue2.d.ts +2 -2
- package/generated/components/VTagGroup.vue3.d.ts +62 -14
- package/generated/components/VTextArea.vue2.d.ts +2 -2
- package/generated/components/VTextArea.vue3.d.ts +74 -22
- package/generated/components/VTextField.vue2.d.ts +2 -2
- package/generated/components/VTextField.vue3.d.ts +74 -22
- package/generated/components/VTimePicker.vue2.d.ts +2 -2
- package/generated/components/VTimePicker.vue3.d.ts +74 -22
- package/generated/components/VToggletip.vue2.d.ts +2 -2
- package/generated/components/VToggletip.vue3.d.ts +62 -14
- package/generated/components/VTooltip.vue2.d.ts +2 -2
- package/generated/components/VTooltip.vue3.d.ts +62 -14
- package/generated/components/VTreeItem.vue2.d.ts +2 -2
- package/generated/components/VTreeItem.vue3.d.ts +82 -18
- package/generated/components/VTreeView.vue2.d.ts +2 -2
- package/generated/components/VTreeView.vue3.d.ts +62 -14
- package/generated/components/VVideoPlayer.vue2.d.ts +2 -2
- package/generated/components/VVideoPlayer.vue3.d.ts +92 -20
- package/index.cjs +88 -133
- package/index.js +88 -133
- package/package.json +2 -2
- package/web-types.json +29 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import { IconId } from '../icons';
|
|
3
|
-
import type {
|
|
3
|
+
import type { VwcMenuItemElement } from '@vonage/vivid';
|
|
4
4
|
import type { SlotsType } from 'vue';
|
|
5
5
|
declare const _default: import("vue").DefineComponent<{
|
|
6
6
|
/**
|
|
@@ -90,71 +90,101 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
90
90
|
};
|
|
91
91
|
}, {
|
|
92
92
|
componentName: import("vue").Ref<string>;
|
|
93
|
-
element: import("vue").Ref<
|
|
93
|
+
element: import("vue").Ref<VwcMenuItemElement | null>;
|
|
94
94
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
95
95
|
/**
|
|
96
96
|
* Fires when the element loses focus.
|
|
97
97
|
* @type {FocusEvent}
|
|
98
98
|
*/
|
|
99
99
|
blur(event: FocusEvent & {
|
|
100
|
-
|
|
100
|
+
/**
|
|
101
|
+
* @deprecated Target may not refer to component in some cases. Use currentTarget instead.
|
|
102
|
+
*/
|
|
103
|
+
target: VwcMenuItemElement;
|
|
104
|
+
currentTarget: VwcMenuItemElement;
|
|
101
105
|
}): true;
|
|
102
106
|
/**
|
|
103
107
|
* Fires a custom 'change' event when a non-submenu item with a role of `menuitemcheckbox`, `menuitemradio`, or `menuitem` is invoked
|
|
104
108
|
* @type {CustomEvent<undefined>}
|
|
105
109
|
*/
|
|
106
110
|
change(event: CustomEvent<undefined> & {
|
|
107
|
-
|
|
111
|
+
/**
|
|
112
|
+
* @deprecated Target may not refer to component in some cases. Use currentTarget instead.
|
|
113
|
+
*/
|
|
114
|
+
target: VwcMenuItemElement;
|
|
115
|
+
currentTarget: VwcMenuItemElement;
|
|
108
116
|
}): true;
|
|
109
117
|
/**
|
|
110
118
|
* 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.
|
|
111
119
|
* @type {MouseEvent}
|
|
112
120
|
*/
|
|
113
121
|
click(event: MouseEvent & {
|
|
114
|
-
|
|
122
|
+
/**
|
|
123
|
+
* @deprecated Target may not refer to component in some cases. Use currentTarget instead.
|
|
124
|
+
*/
|
|
125
|
+
target: VwcMenuItemElement;
|
|
126
|
+
currentTarget: VwcMenuItemElement;
|
|
115
127
|
}): true;
|
|
116
128
|
/**
|
|
117
129
|
* Fires a custom 'expanded-change' event when the expanded state changes
|
|
118
130
|
* @type {CustomEvent<HTMLElement>}
|
|
119
131
|
*/
|
|
120
132
|
"expanded-change"(event: CustomEvent<HTMLElement> & {
|
|
121
|
-
|
|
133
|
+
/**
|
|
134
|
+
* @deprecated Target may not refer to component in some cases. Use currentTarget instead.
|
|
135
|
+
*/
|
|
136
|
+
target: VwcMenuItemElement;
|
|
137
|
+
currentTarget: VwcMenuItemElement;
|
|
122
138
|
}): true;
|
|
123
139
|
/**
|
|
124
140
|
* Fires when the element receives focus.
|
|
125
141
|
* @type {FocusEvent}
|
|
126
142
|
*/
|
|
127
143
|
focus(event: FocusEvent & {
|
|
128
|
-
|
|
144
|
+
/**
|
|
145
|
+
* @deprecated Target may not refer to component in some cases. Use currentTarget instead.
|
|
146
|
+
*/
|
|
147
|
+
target: VwcMenuItemElement;
|
|
148
|
+
currentTarget: VwcMenuItemElement;
|
|
129
149
|
}): true;
|
|
130
150
|
/**
|
|
131
151
|
* Fires when the value of an element has been changed.
|
|
132
152
|
* @type {Event}
|
|
133
153
|
*/
|
|
134
154
|
input(event: Event & {
|
|
135
|
-
|
|
155
|
+
/**
|
|
156
|
+
* @deprecated Target may not refer to component in some cases. Use currentTarget instead.
|
|
157
|
+
*/
|
|
158
|
+
target: VwcMenuItemElement;
|
|
159
|
+
currentTarget: VwcMenuItemElement;
|
|
136
160
|
}): true;
|
|
137
161
|
/**
|
|
138
162
|
* Fires when a key is pressed.
|
|
139
163
|
* @type {KeyboardEvent}
|
|
140
164
|
*/
|
|
141
165
|
keydown(event: KeyboardEvent & {
|
|
142
|
-
|
|
166
|
+
/**
|
|
167
|
+
* @deprecated Target may not refer to component in some cases. Use currentTarget instead.
|
|
168
|
+
*/
|
|
169
|
+
target: VwcMenuItemElement;
|
|
170
|
+
currentTarget: VwcMenuItemElement;
|
|
143
171
|
}): true;
|
|
144
172
|
/**
|
|
145
173
|
* Fires when a key is released.
|
|
146
174
|
* @type {KeyboardEvent}
|
|
147
175
|
*/
|
|
148
176
|
keyup(event: KeyboardEvent & {
|
|
149
|
-
|
|
177
|
+
/**
|
|
178
|
+
* @deprecated Target may not refer to component in some cases. Use currentTarget instead.
|
|
179
|
+
*/
|
|
180
|
+
target: VwcMenuItemElement;
|
|
181
|
+
currentTarget: VwcMenuItemElement;
|
|
150
182
|
}): true;
|
|
151
183
|
/**
|
|
152
184
|
* Fires when the modelValue value changes
|
|
153
185
|
* @type {boolean}
|
|
154
186
|
*/
|
|
155
|
-
"update:modelValue"(event: boolean
|
|
156
|
-
target: MenuItem;
|
|
157
|
-
}): true;
|
|
187
|
+
"update:modelValue"(event: boolean): true;
|
|
158
188
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
159
189
|
/**
|
|
160
190
|
* Indicates the element that represents the current item within a container or set of related elements.
|
|
@@ -243,31 +273,61 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
243
273
|
};
|
|
244
274
|
}>> & {
|
|
245
275
|
onKeydown?: ((event: KeyboardEvent & {
|
|
246
|
-
|
|
276
|
+
/**
|
|
277
|
+
* @deprecated Target may not refer to component in some cases. Use currentTarget instead.
|
|
278
|
+
*/
|
|
279
|
+
target: VwcMenuItemElement;
|
|
280
|
+
currentTarget: VwcMenuItemElement;
|
|
247
281
|
}) => any) | undefined;
|
|
248
282
|
onBlur?: ((event: FocusEvent & {
|
|
249
|
-
|
|
283
|
+
/**
|
|
284
|
+
* @deprecated Target may not refer to component in some cases. Use currentTarget instead.
|
|
285
|
+
*/
|
|
286
|
+
target: VwcMenuItemElement;
|
|
287
|
+
currentTarget: VwcMenuItemElement;
|
|
250
288
|
}) => any) | undefined;
|
|
251
289
|
onChange?: ((event: CustomEvent<undefined> & {
|
|
252
|
-
|
|
290
|
+
/**
|
|
291
|
+
* @deprecated Target may not refer to component in some cases. Use currentTarget instead.
|
|
292
|
+
*/
|
|
293
|
+
target: VwcMenuItemElement;
|
|
294
|
+
currentTarget: VwcMenuItemElement;
|
|
253
295
|
}) => any) | undefined;
|
|
254
296
|
onClick?: ((event: MouseEvent & {
|
|
255
|
-
|
|
297
|
+
/**
|
|
298
|
+
* @deprecated Target may not refer to component in some cases. Use currentTarget instead.
|
|
299
|
+
*/
|
|
300
|
+
target: VwcMenuItemElement;
|
|
301
|
+
currentTarget: VwcMenuItemElement;
|
|
256
302
|
}) => any) | undefined;
|
|
257
303
|
onFocus?: ((event: FocusEvent & {
|
|
258
|
-
|
|
304
|
+
/**
|
|
305
|
+
* @deprecated Target may not refer to component in some cases. Use currentTarget instead.
|
|
306
|
+
*/
|
|
307
|
+
target: VwcMenuItemElement;
|
|
308
|
+
currentTarget: VwcMenuItemElement;
|
|
259
309
|
}) => any) | undefined;
|
|
260
310
|
onInput?: ((event: Event & {
|
|
261
|
-
|
|
311
|
+
/**
|
|
312
|
+
* @deprecated Target may not refer to component in some cases. Use currentTarget instead.
|
|
313
|
+
*/
|
|
314
|
+
target: VwcMenuItemElement;
|
|
315
|
+
currentTarget: VwcMenuItemElement;
|
|
262
316
|
}) => any) | undefined;
|
|
263
317
|
onKeyup?: ((event: KeyboardEvent & {
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
target:
|
|
318
|
+
/**
|
|
319
|
+
* @deprecated Target may not refer to component in some cases. Use currentTarget instead.
|
|
320
|
+
*/
|
|
321
|
+
target: VwcMenuItemElement;
|
|
322
|
+
currentTarget: VwcMenuItemElement;
|
|
268
323
|
}) => any) | undefined;
|
|
324
|
+
"onUpdate:modelValue"?: ((event: boolean) => any) | undefined;
|
|
269
325
|
"onExpanded-change"?: ((event: CustomEvent<HTMLElement> & {
|
|
270
|
-
|
|
326
|
+
/**
|
|
327
|
+
* @deprecated Target may not refer to component in some cases. Use currentTarget instead.
|
|
328
|
+
*/
|
|
329
|
+
target: VwcMenuItemElement;
|
|
330
|
+
currentTarget: VwcMenuItemElement;
|
|
271
331
|
}) => any) | undefined;
|
|
272
332
|
}, {
|
|
273
333
|
ariaCurrent: "page" | "step" | "location" | "date" | "time" | "true" | "false";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import type {
|
|
2
|
+
import type { VwcNavElement } from '@vonage/vivid';
|
|
3
3
|
declare const _default: import("vue/types/v3-define-component").DefineComponent<{
|
|
4
4
|
/**
|
|
5
5
|
* Indicates the element that represents the current item within a container or set of related elements.
|
|
@@ -10,7 +10,7 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
|
|
|
10
10
|
};
|
|
11
11
|
}, {
|
|
12
12
|
componentName: import("vue").Ref<string>;
|
|
13
|
-
element: import("vue").Ref<
|
|
13
|
+
element: import("vue").Ref<VwcNavElement | null>;
|
|
14
14
|
}, import("vue").Data, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, ("blur" | "click" | "focus" | "input" | "keydown" | "keyup")[], string, Readonly<import("vue").ExtractPropTypes<{
|
|
15
15
|
/**
|
|
16
16
|
* Indicates the element that represents the current item within a container or set of related elements.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import type {
|
|
2
|
+
import type { VwcNavElement } from '@vonage/vivid';
|
|
3
3
|
import type { SlotsType } from 'vue';
|
|
4
4
|
declare const _default: import("vue").DefineComponent<{
|
|
5
5
|
/**
|
|
@@ -11,49 +11,73 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
11
11
|
};
|
|
12
12
|
}, {
|
|
13
13
|
componentName: import("vue").Ref<string>;
|
|
14
|
-
element: import("vue").Ref<
|
|
14
|
+
element: import("vue").Ref<VwcNavElement | null>;
|
|
15
15
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
16
16
|
/**
|
|
17
17
|
* Fires when the element loses focus.
|
|
18
18
|
* @type {FocusEvent}
|
|
19
19
|
*/
|
|
20
20
|
blur(event: FocusEvent & {
|
|
21
|
-
|
|
21
|
+
/**
|
|
22
|
+
* @deprecated Target may not refer to component in some cases. Use currentTarget instead.
|
|
23
|
+
*/
|
|
24
|
+
target: VwcNavElement;
|
|
25
|
+
currentTarget: VwcNavElement;
|
|
22
26
|
}): true;
|
|
23
27
|
/**
|
|
24
28
|
* 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.
|
|
25
29
|
* @type {MouseEvent}
|
|
26
30
|
*/
|
|
27
31
|
click(event: MouseEvent & {
|
|
28
|
-
|
|
32
|
+
/**
|
|
33
|
+
* @deprecated Target may not refer to component in some cases. Use currentTarget instead.
|
|
34
|
+
*/
|
|
35
|
+
target: VwcNavElement;
|
|
36
|
+
currentTarget: VwcNavElement;
|
|
29
37
|
}): true;
|
|
30
38
|
/**
|
|
31
39
|
* Fires when the element receives focus.
|
|
32
40
|
* @type {FocusEvent}
|
|
33
41
|
*/
|
|
34
42
|
focus(event: FocusEvent & {
|
|
35
|
-
|
|
43
|
+
/**
|
|
44
|
+
* @deprecated Target may not refer to component in some cases. Use currentTarget instead.
|
|
45
|
+
*/
|
|
46
|
+
target: VwcNavElement;
|
|
47
|
+
currentTarget: VwcNavElement;
|
|
36
48
|
}): true;
|
|
37
49
|
/**
|
|
38
50
|
* Fires when the value of an element has been changed.
|
|
39
51
|
* @type {Event}
|
|
40
52
|
*/
|
|
41
53
|
input(event: Event & {
|
|
42
|
-
|
|
54
|
+
/**
|
|
55
|
+
* @deprecated Target may not refer to component in some cases. Use currentTarget instead.
|
|
56
|
+
*/
|
|
57
|
+
target: VwcNavElement;
|
|
58
|
+
currentTarget: VwcNavElement;
|
|
43
59
|
}): true;
|
|
44
60
|
/**
|
|
45
61
|
* Fires when a key is pressed.
|
|
46
62
|
* @type {KeyboardEvent}
|
|
47
63
|
*/
|
|
48
64
|
keydown(event: KeyboardEvent & {
|
|
49
|
-
|
|
65
|
+
/**
|
|
66
|
+
* @deprecated Target may not refer to component in some cases. Use currentTarget instead.
|
|
67
|
+
*/
|
|
68
|
+
target: VwcNavElement;
|
|
69
|
+
currentTarget: VwcNavElement;
|
|
50
70
|
}): true;
|
|
51
71
|
/**
|
|
52
72
|
* Fires when a key is released.
|
|
53
73
|
* @type {KeyboardEvent}
|
|
54
74
|
*/
|
|
55
75
|
keyup(event: KeyboardEvent & {
|
|
56
|
-
|
|
76
|
+
/**
|
|
77
|
+
* @deprecated Target may not refer to component in some cases. Use currentTarget instead.
|
|
78
|
+
*/
|
|
79
|
+
target: VwcNavElement;
|
|
80
|
+
currentTarget: VwcNavElement;
|
|
57
81
|
}): true;
|
|
58
82
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
59
83
|
/**
|
|
@@ -65,22 +89,46 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
65
89
|
};
|
|
66
90
|
}>> & {
|
|
67
91
|
onKeydown?: ((event: KeyboardEvent & {
|
|
68
|
-
|
|
92
|
+
/**
|
|
93
|
+
* @deprecated Target may not refer to component in some cases. Use currentTarget instead.
|
|
94
|
+
*/
|
|
95
|
+
target: VwcNavElement;
|
|
96
|
+
currentTarget: VwcNavElement;
|
|
69
97
|
}) => any) | undefined;
|
|
70
98
|
onBlur?: ((event: FocusEvent & {
|
|
71
|
-
|
|
99
|
+
/**
|
|
100
|
+
* @deprecated Target may not refer to component in some cases. Use currentTarget instead.
|
|
101
|
+
*/
|
|
102
|
+
target: VwcNavElement;
|
|
103
|
+
currentTarget: VwcNavElement;
|
|
72
104
|
}) => any) | undefined;
|
|
73
105
|
onClick?: ((event: MouseEvent & {
|
|
74
|
-
|
|
106
|
+
/**
|
|
107
|
+
* @deprecated Target may not refer to component in some cases. Use currentTarget instead.
|
|
108
|
+
*/
|
|
109
|
+
target: VwcNavElement;
|
|
110
|
+
currentTarget: VwcNavElement;
|
|
75
111
|
}) => any) | undefined;
|
|
76
112
|
onFocus?: ((event: FocusEvent & {
|
|
77
|
-
|
|
113
|
+
/**
|
|
114
|
+
* @deprecated Target may not refer to component in some cases. Use currentTarget instead.
|
|
115
|
+
*/
|
|
116
|
+
target: VwcNavElement;
|
|
117
|
+
currentTarget: VwcNavElement;
|
|
78
118
|
}) => any) | undefined;
|
|
79
119
|
onInput?: ((event: Event & {
|
|
80
|
-
|
|
120
|
+
/**
|
|
121
|
+
* @deprecated Target may not refer to component in some cases. Use currentTarget instead.
|
|
122
|
+
*/
|
|
123
|
+
target: VwcNavElement;
|
|
124
|
+
currentTarget: VwcNavElement;
|
|
81
125
|
}) => any) | undefined;
|
|
82
126
|
onKeyup?: ((event: KeyboardEvent & {
|
|
83
|
-
|
|
127
|
+
/**
|
|
128
|
+
* @deprecated Target may not refer to component in some cases. Use currentTarget instead.
|
|
129
|
+
*/
|
|
130
|
+
target: VwcNavElement;
|
|
131
|
+
currentTarget: VwcNavElement;
|
|
84
132
|
}) => any) | undefined;
|
|
85
133
|
}, {
|
|
86
134
|
ariaCurrent: "page" | "step" | "location" | "date" | "time" | "true" | "false";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import { IconId } from '../icons';
|
|
3
|
-
import type {
|
|
3
|
+
import type { VwcNavDisclosureElement } from '@vonage/vivid';
|
|
4
4
|
declare const _default: import("vue/types/v3-define-component").DefineComponent<{
|
|
5
5
|
/**
|
|
6
6
|
* The appearance nav-disclosure should have.
|
|
@@ -44,7 +44,7 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
|
|
|
44
44
|
};
|
|
45
45
|
}, {
|
|
46
46
|
componentName: import("vue").Ref<string>;
|
|
47
|
-
element: import("vue").Ref<
|
|
47
|
+
element: import("vue").Ref<VwcNavDisclosureElement | null>;
|
|
48
48
|
}, import("vue").Data, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, ("blur" | "click" | "focus" | "input" | "keydown" | "keyup" | "toggle")[], string, Readonly<import("vue").ExtractPropTypes<{
|
|
49
49
|
/**
|
|
50
50
|
* The appearance nav-disclosure should have.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import { IconId } from '../icons';
|
|
3
|
-
import type {
|
|
3
|
+
import type { VwcNavDisclosureElement } from '@vonage/vivid';
|
|
4
4
|
import type { SlotsType } from 'vue';
|
|
5
5
|
declare const _default: import("vue").DefineComponent<{
|
|
6
6
|
/**
|
|
@@ -45,56 +45,84 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
45
45
|
};
|
|
46
46
|
}, {
|
|
47
47
|
componentName: import("vue").Ref<string>;
|
|
48
|
-
element: import("vue").Ref<
|
|
48
|
+
element: import("vue").Ref<VwcNavDisclosureElement | null>;
|
|
49
49
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
50
50
|
/**
|
|
51
51
|
* Fires when the element loses focus.
|
|
52
52
|
* @type {FocusEvent}
|
|
53
53
|
*/
|
|
54
54
|
blur(event: FocusEvent & {
|
|
55
|
-
|
|
55
|
+
/**
|
|
56
|
+
* @deprecated Target may not refer to component in some cases. Use currentTarget instead.
|
|
57
|
+
*/
|
|
58
|
+
target: VwcNavDisclosureElement;
|
|
59
|
+
currentTarget: VwcNavDisclosureElement;
|
|
56
60
|
}): true;
|
|
57
61
|
/**
|
|
58
62
|
* 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.
|
|
59
63
|
* @type {MouseEvent}
|
|
60
64
|
*/
|
|
61
65
|
click(event: MouseEvent & {
|
|
62
|
-
|
|
66
|
+
/**
|
|
67
|
+
* @deprecated Target may not refer to component in some cases. Use currentTarget instead.
|
|
68
|
+
*/
|
|
69
|
+
target: VwcNavDisclosureElement;
|
|
70
|
+
currentTarget: VwcNavDisclosureElement;
|
|
63
71
|
}): true;
|
|
64
72
|
/**
|
|
65
73
|
* Fires when the element receives focus.
|
|
66
74
|
* @type {FocusEvent}
|
|
67
75
|
*/
|
|
68
76
|
focus(event: FocusEvent & {
|
|
69
|
-
|
|
77
|
+
/**
|
|
78
|
+
* @deprecated Target may not refer to component in some cases. Use currentTarget instead.
|
|
79
|
+
*/
|
|
80
|
+
target: VwcNavDisclosureElement;
|
|
81
|
+
currentTarget: VwcNavDisclosureElement;
|
|
70
82
|
}): true;
|
|
71
83
|
/**
|
|
72
84
|
* Fires when the value of an element has been changed.
|
|
73
85
|
* @type {Event}
|
|
74
86
|
*/
|
|
75
87
|
input(event: Event & {
|
|
76
|
-
|
|
88
|
+
/**
|
|
89
|
+
* @deprecated Target may not refer to component in some cases. Use currentTarget instead.
|
|
90
|
+
*/
|
|
91
|
+
target: VwcNavDisclosureElement;
|
|
92
|
+
currentTarget: VwcNavDisclosureElement;
|
|
77
93
|
}): true;
|
|
78
94
|
/**
|
|
79
95
|
* Fires when a key is pressed.
|
|
80
96
|
* @type {KeyboardEvent}
|
|
81
97
|
*/
|
|
82
98
|
keydown(event: KeyboardEvent & {
|
|
83
|
-
|
|
99
|
+
/**
|
|
100
|
+
* @deprecated Target may not refer to component in some cases. Use currentTarget instead.
|
|
101
|
+
*/
|
|
102
|
+
target: VwcNavDisclosureElement;
|
|
103
|
+
currentTarget: VwcNavDisclosureElement;
|
|
84
104
|
}): true;
|
|
85
105
|
/**
|
|
86
106
|
* Fires when a key is released.
|
|
87
107
|
* @type {KeyboardEvent}
|
|
88
108
|
*/
|
|
89
109
|
keyup(event: KeyboardEvent & {
|
|
90
|
-
|
|
110
|
+
/**
|
|
111
|
+
* @deprecated Target may not refer to component in some cases. Use currentTarget instead.
|
|
112
|
+
*/
|
|
113
|
+
target: VwcNavDisclosureElement;
|
|
114
|
+
currentTarget: VwcNavDisclosureElement;
|
|
91
115
|
}): true;
|
|
92
116
|
/**
|
|
93
117
|
* Event emitted when the nav disclosure is toggled.
|
|
94
118
|
* @type {CustomEvent<undefined>}
|
|
95
119
|
*/
|
|
96
120
|
toggle(event: CustomEvent<undefined> & {
|
|
97
|
-
|
|
121
|
+
/**
|
|
122
|
+
* @deprecated Target may not refer to component in some cases. Use currentTarget instead.
|
|
123
|
+
*/
|
|
124
|
+
target: VwcNavDisclosureElement;
|
|
125
|
+
currentTarget: VwcNavDisclosureElement;
|
|
98
126
|
}): true;
|
|
99
127
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
100
128
|
/**
|
|
@@ -139,25 +167,53 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
139
167
|
};
|
|
140
168
|
}>> & {
|
|
141
169
|
onKeydown?: ((event: KeyboardEvent & {
|
|
142
|
-
|
|
170
|
+
/**
|
|
171
|
+
* @deprecated Target may not refer to component in some cases. Use currentTarget instead.
|
|
172
|
+
*/
|
|
173
|
+
target: VwcNavDisclosureElement;
|
|
174
|
+
currentTarget: VwcNavDisclosureElement;
|
|
143
175
|
}) => any) | undefined;
|
|
144
176
|
onBlur?: ((event: FocusEvent & {
|
|
145
|
-
|
|
177
|
+
/**
|
|
178
|
+
* @deprecated Target may not refer to component in some cases. Use currentTarget instead.
|
|
179
|
+
*/
|
|
180
|
+
target: VwcNavDisclosureElement;
|
|
181
|
+
currentTarget: VwcNavDisclosureElement;
|
|
146
182
|
}) => any) | undefined;
|
|
147
183
|
onClick?: ((event: MouseEvent & {
|
|
148
|
-
|
|
184
|
+
/**
|
|
185
|
+
* @deprecated Target may not refer to component in some cases. Use currentTarget instead.
|
|
186
|
+
*/
|
|
187
|
+
target: VwcNavDisclosureElement;
|
|
188
|
+
currentTarget: VwcNavDisclosureElement;
|
|
149
189
|
}) => any) | undefined;
|
|
150
190
|
onFocus?: ((event: FocusEvent & {
|
|
151
|
-
|
|
191
|
+
/**
|
|
192
|
+
* @deprecated Target may not refer to component in some cases. Use currentTarget instead.
|
|
193
|
+
*/
|
|
194
|
+
target: VwcNavDisclosureElement;
|
|
195
|
+
currentTarget: VwcNavDisclosureElement;
|
|
152
196
|
}) => any) | undefined;
|
|
153
197
|
onInput?: ((event: Event & {
|
|
154
|
-
|
|
198
|
+
/**
|
|
199
|
+
* @deprecated Target may not refer to component in some cases. Use currentTarget instead.
|
|
200
|
+
*/
|
|
201
|
+
target: VwcNavDisclosureElement;
|
|
202
|
+
currentTarget: VwcNavDisclosureElement;
|
|
155
203
|
}) => any) | undefined;
|
|
156
204
|
onKeyup?: ((event: KeyboardEvent & {
|
|
157
|
-
|
|
205
|
+
/**
|
|
206
|
+
* @deprecated Target may not refer to component in some cases. Use currentTarget instead.
|
|
207
|
+
*/
|
|
208
|
+
target: VwcNavDisclosureElement;
|
|
209
|
+
currentTarget: VwcNavDisclosureElement;
|
|
158
210
|
}) => any) | undefined;
|
|
159
211
|
onToggle?: ((event: CustomEvent<undefined> & {
|
|
160
|
-
|
|
212
|
+
/**
|
|
213
|
+
* @deprecated Target may not refer to component in some cases. Use currentTarget instead.
|
|
214
|
+
*/
|
|
215
|
+
target: VwcNavDisclosureElement;
|
|
216
|
+
currentTarget: VwcNavDisclosureElement;
|
|
161
217
|
}) => any) | undefined;
|
|
162
218
|
}, {
|
|
163
219
|
ariaCurrent: "page" | "step" | "location" | "date" | "time" | "true" | "false";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import { IconId } from '../icons';
|
|
3
|
-
import type {
|
|
3
|
+
import type { VwcNavItemElement } from '@vonage/vivid';
|
|
4
4
|
/**
|
|
5
5
|
* A Nav Item Custom HTML Element.
|
|
6
6
|
* Based largely on the https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element .
|
|
@@ -107,7 +107,7 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
|
|
|
107
107
|
};
|
|
108
108
|
}, {
|
|
109
109
|
componentName: import("vue").Ref<string>;
|
|
110
|
-
element: import("vue").Ref<
|
|
110
|
+
element: import("vue").Ref<VwcNavItemElement | null>;
|
|
111
111
|
}, import("vue").Data, {}, {
|
|
112
112
|
getBodyTemplate(): unknown;
|
|
113
113
|
}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, ("blur" | "click" | "focus" | "input" | "keydown" | "keyup")[], string, Readonly<import("vue").ExtractPropTypes<{
|