@vonage/vivid-vue 4.21.1 → 4.22.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.
Files changed (126) hide show
  1. package/generated/components/VAccordion.types.d.ts +108 -0
  2. package/generated/components/VAccordionItem.types.d.ts +136 -0
  3. package/generated/components/VAccordionItem.vue2.d.ts +1 -1
  4. package/generated/components/VAccordionItem.vue3.d.ts +1 -1
  5. package/generated/components/VActionGroup.types.d.ts +101 -0
  6. package/generated/components/VAlert.types.d.ts +159 -0
  7. package/generated/components/VAlert.vue2.d.ts +1 -1
  8. package/generated/components/VAlert.vue3.d.ts +1 -1
  9. package/generated/components/VAudioPlayer.types.d.ts +115 -0
  10. package/generated/components/VAvatar.types.d.ts +115 -0
  11. package/generated/components/VAvatar.vue2.d.ts +1 -1
  12. package/generated/components/VAvatar.vue3.d.ts +1 -1
  13. package/generated/components/VBadge.types.d.ts +115 -0
  14. package/generated/components/VBadge.vue2.d.ts +1 -1
  15. package/generated/components/VBadge.vue3.d.ts +1 -1
  16. package/generated/components/VBanner.types.d.ts +101 -0
  17. package/generated/components/VBanner.vue2.d.ts +1 -1
  18. package/generated/components/VBanner.vue3.d.ts +1 -1
  19. package/generated/components/VBreadcrumb.types.d.ts +89 -0
  20. package/generated/components/VBreadcrumbItem.types.d.ts +126 -0
  21. package/generated/components/VButton.types.d.ts +224 -0
  22. package/generated/components/VButton.vue2.d.ts +1 -1
  23. package/generated/components/VButton.vue3.d.ts +1 -1
  24. package/generated/components/VCalendar.types.d.ts +120 -0
  25. package/generated/components/VCalendarEvent.types.d.ts +117 -0
  26. package/generated/components/VCard.types.d.ts +118 -0
  27. package/generated/components/VCard.vue2.d.ts +1 -1
  28. package/generated/components/VCard.vue3.d.ts +1 -1
  29. package/generated/components/VCheckbox.types.d.ts +185 -0
  30. package/generated/components/VCombobox.types.d.ts +200 -0
  31. package/generated/components/VCombobox.vue2.d.ts +1 -1
  32. package/generated/components/VCombobox.vue3.d.ts +1 -1
  33. package/generated/components/VDataGrid.types.d.ts +129 -0
  34. package/generated/components/VDataGridCell.types.d.ts +161 -0
  35. package/generated/components/VDataGridRow.types.d.ts +135 -0
  36. package/generated/components/VDatePicker.types.d.ts +155 -0
  37. package/generated/components/VDateRangePicker.types.d.ts +213 -0
  38. package/generated/components/VDateTimePicker.types.d.ts +183 -0
  39. package/generated/components/VDialPad.types.d.ts +195 -0
  40. package/generated/components/VDialog.types.d.ts +174 -0
  41. package/generated/components/VDialog.vue2.d.ts +1 -1
  42. package/generated/components/VDialog.vue3.d.ts +1 -1
  43. package/generated/components/VDivider.types.d.ts +97 -0
  44. package/generated/components/VEmptyState.types.d.ts +107 -0
  45. package/generated/components/VEmptyState.vue2.d.ts +1 -1
  46. package/generated/components/VEmptyState.vue3.d.ts +1 -1
  47. package/generated/components/VFab.types.d.ts +168 -0
  48. package/generated/components/VFab.vue2.d.ts +1 -1
  49. package/generated/components/VFab.vue3.d.ts +1 -1
  50. package/generated/components/VFilePicker.types.d.ts +172 -0
  51. package/generated/components/VHeader.types.d.ts +97 -0
  52. package/generated/components/VIcon.types.d.ts +100 -0
  53. package/generated/components/VIcon.vue2.d.ts +1 -1
  54. package/generated/components/VIcon.vue3.d.ts +1 -1
  55. package/generated/components/VLayout.types.d.ts +109 -0
  56. package/generated/components/VMenu.types.d.ts +141 -0
  57. package/generated/components/VMenuItem.types.d.ts +171 -0
  58. package/generated/components/VMenuItem.vue2.d.ts +1 -1
  59. package/generated/components/VMenuItem.vue3.d.ts +1 -1
  60. package/generated/components/VNav.types.d.ts +89 -0
  61. package/generated/components/VNavDisclosure.types.d.ts +122 -0
  62. package/generated/components/VNavDisclosure.vue2.d.ts +1 -1
  63. package/generated/components/VNavDisclosure.vue3.d.ts +1 -1
  64. package/generated/components/VNavItem.types.d.ts +143 -0
  65. package/generated/components/VNavItem.vue2.d.ts +1 -1
  66. package/generated/components/VNavItem.vue3.d.ts +1 -1
  67. package/generated/components/VNote.types.d.ts +100 -0
  68. package/generated/components/VNote.vue2.d.ts +1 -1
  69. package/generated/components/VNote.vue3.d.ts +1 -1
  70. package/generated/components/VNumberField.types.d.ts +219 -0
  71. package/generated/components/VNumberField.vue2.d.ts +1 -1
  72. package/generated/components/VNumberField.vue3.d.ts +1 -1
  73. package/generated/components/VOption.types.d.ts +126 -0
  74. package/generated/components/VOption.vue2.d.ts +16 -1
  75. package/generated/components/VOption.vue3.d.ts +16 -1
  76. package/generated/components/VPagination.types.d.ts +118 -0
  77. package/generated/components/VProgress.types.d.ts +117 -0
  78. package/generated/components/VProgressRing.types.d.ts +107 -0
  79. package/generated/components/VRadio.types.d.ts +153 -0
  80. package/generated/components/VRadioGroup.types.d.ts +140 -0
  81. package/generated/components/VRangeSlider.types.d.ts +238 -0
  82. package/generated/components/VRichTextEditor.types.d.ts +91 -0
  83. package/generated/components/VRichTextEditor.vue2.d.ts +2 -1
  84. package/generated/components/VRichTextEditor.vue3.d.ts +2 -1
  85. package/generated/components/VSearchableSelect.types.d.ts +216 -0
  86. package/generated/components/VSearchableSelect.vue2.d.ts +1 -1
  87. package/generated/components/VSearchableSelect.vue3.d.ts +1 -1
  88. package/generated/components/VSelect.types.d.ts +198 -0
  89. package/generated/components/VSelect.vue2.d.ts +1 -1
  90. package/generated/components/VSelect.vue3.d.ts +1 -1
  91. package/generated/components/VSelectableBox.types.d.ts +127 -0
  92. package/generated/components/VSideDrawer.types.d.ts +147 -0
  93. package/generated/components/VSlider.types.d.ts +180 -0
  94. package/generated/components/VSplitButton.types.d.ts +157 -0
  95. package/generated/components/VSplitButton.vue2.d.ts +1 -1
  96. package/generated/components/VSplitButton.vue3.d.ts +1 -1
  97. package/generated/components/VSwitch.types.d.ts +168 -0
  98. package/generated/components/VTab.types.d.ts +121 -0
  99. package/generated/components/VTab.vue2.d.ts +1 -1
  100. package/generated/components/VTab.vue3.d.ts +1 -1
  101. package/generated/components/VTabPanel.types.d.ts +89 -0
  102. package/generated/components/VTabs.types.d.ts +131 -0
  103. package/generated/components/VTag.types.d.ts +155 -0
  104. package/generated/components/VTag.vue2.d.ts +1 -1
  105. package/generated/components/VTag.vue3.d.ts +1 -1
  106. package/generated/components/VTagGroup.types.d.ts +89 -0
  107. package/generated/components/VTextArea.types.d.ts +213 -0
  108. package/generated/components/VTextField.types.d.ts +222 -0
  109. package/generated/components/VTextField.vue2.d.ts +1 -1
  110. package/generated/components/VTextField.vue3.d.ts +1 -1
  111. package/generated/components/VTimePicker.types.d.ts +167 -0
  112. package/generated/components/VToggletip.types.d.ts +109 -0
  113. package/generated/components/VTooltip.types.d.ts +100 -0
  114. package/generated/components/VTreeItem.types.d.ts +139 -0
  115. package/generated/components/VTreeItem.vue2.d.ts +1 -1
  116. package/generated/components/VTreeItem.vue3.d.ts +1 -1
  117. package/generated/components/VTreeView.types.d.ts +94 -0
  118. package/generated/components/VVideoPlayer.types.d.ts +155 -0
  119. package/generated/icons.d.ts +2 -0
  120. package/generated/types.d.ts +337 -0
  121. package/index.cjs +21 -7
  122. package/index.d.ts +1 -0
  123. package/index.js +21 -7
  124. package/package.json +2 -2
  125. package/utils/types.d.ts +7 -0
  126. package/web-types.json +34 -26
@@ -0,0 +1,238 @@
1
+ import type { VwcRangeSliderElement } from '@vonage/vivid';
2
+ export interface VRangeSliderEvents {
3
+ /**
4
+ * Fires when the element loses focus.
5
+ */
6
+ blur: FocusEvent & {
7
+ /**
8
+ * @deprecated Target may not refer to component in some cases. Use currentTarget instead.
9
+ */
10
+ target: VwcRangeSliderElement;
11
+ currentTarget: VwcRangeSliderElement;
12
+ };
13
+ /**
14
+ * Event emitted when either the start or end value changes.
15
+ */
16
+ change: CustomEvent<undefined> & {
17
+ /**
18
+ * @deprecated Target may not refer to component in some cases. Use currentTarget instead.
19
+ */
20
+ target: VwcRangeSliderElement;
21
+ currentTarget: VwcRangeSliderElement;
22
+ };
23
+ /**
24
+ * 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
+ */
26
+ click: MouseEvent & {
27
+ /**
28
+ * @deprecated Target may not refer to component in some cases. Use currentTarget instead.
29
+ */
30
+ target: VwcRangeSliderElement;
31
+ currentTarget: VwcRangeSliderElement;
32
+ };
33
+ /**
34
+ * Fires when the element receives focus.
35
+ */
36
+ focus: FocusEvent & {
37
+ /**
38
+ * @deprecated Target may not refer to component in some cases. Use currentTarget instead.
39
+ */
40
+ target: VwcRangeSliderElement;
41
+ currentTarget: VwcRangeSliderElement;
42
+ };
43
+ /**
44
+ * Event emitted when either the start or end value changes.
45
+ */
46
+ input: CustomEvent<undefined> & {
47
+ /**
48
+ * @deprecated Target may not refer to component in some cases. Use currentTarget instead.
49
+ */
50
+ target: VwcRangeSliderElement;
51
+ currentTarget: VwcRangeSliderElement;
52
+ };
53
+ /**
54
+ * Event emitted when the end value changes
55
+ */
56
+ 'input:end': CustomEvent<undefined> & {
57
+ /**
58
+ * @deprecated Target may not refer to component in some cases. Use currentTarget instead.
59
+ */
60
+ target: VwcRangeSliderElement;
61
+ currentTarget: VwcRangeSliderElement;
62
+ };
63
+ /**
64
+ * Event emitted when the start value changes
65
+ */
66
+ 'input:start': CustomEvent<undefined> & {
67
+ /**
68
+ * @deprecated Target may not refer to component in some cases. Use currentTarget instead.
69
+ */
70
+ target: VwcRangeSliderElement;
71
+ currentTarget: VwcRangeSliderElement;
72
+ };
73
+ /**
74
+ * Fires when a key is pressed.
75
+ */
76
+ keydown: KeyboardEvent & {
77
+ /**
78
+ * @deprecated Target may not refer to component in some cases. Use currentTarget instead.
79
+ */
80
+ target: VwcRangeSliderElement;
81
+ currentTarget: VwcRangeSliderElement;
82
+ };
83
+ /**
84
+ * Fires when a key is released.
85
+ */
86
+ keyup: KeyboardEvent & {
87
+ /**
88
+ * @deprecated Target may not refer to component in some cases. Use currentTarget instead.
89
+ */
90
+ target: VwcRangeSliderElement;
91
+ currentTarget: VwcRangeSliderElement;
92
+ };
93
+ /**
94
+ * Fires when the end value changes
95
+ */
96
+ 'update:end': string;
97
+ /**
98
+ * Fires when the start value changes
99
+ */
100
+ 'update:start': string;
101
+ }
102
+ export interface VRangeSliderProps {
103
+ /**
104
+ * Aria label for the end thumb
105
+ */
106
+ ariaEndLabel?: string;
107
+ /**
108
+ * Aria label for the start thumb
109
+ */
110
+ ariaStartLabel?: string;
111
+ /**
112
+ * The connotation of the component
113
+ */
114
+ connotation?: 'accent' | 'cta';
115
+ /**
116
+ * Sets the element's disabled state. A disabled element will not be included during form submission.
117
+ */
118
+ disabled?: boolean;
119
+ /**
120
+ * The current end value of the element. This property serves as a mechanism
121
+ * to set the `end` property through both property assignment and the
122
+ * .setAttribute() method. This is useful for setting the field's value
123
+ * in UI libraries that bind data through the .setAttribute() API
124
+ * and don't support IDL attribute binding.
125
+ */
126
+ end?: string;
127
+ /**
128
+ * The initial end value. This value sets the `end` property
129
+ * only when the `end` property has not been explicitly set.
130
+ */
131
+ initialEnd?: string;
132
+ /**
133
+ * The initial start value. This value sets the `start` property
134
+ * only when the `start` property has not been explicitly set.
135
+ */
136
+ initialStart?: string;
137
+ /**
138
+ * The initial value of the form. This value sets the `value` property
139
+ * only when the `value` property has not been explicitly set.
140
+ */
141
+ initialValue?: string;
142
+ /**
143
+ * The label for the form element.
144
+ */
145
+ label?: string;
146
+ /**
147
+ * Display markers on/off
148
+ */
149
+ markers?: boolean;
150
+ /**
151
+ * The maximum value of the range.
152
+ */
153
+ max?: number;
154
+ /**
155
+ * The minimum value of the range.
156
+ */
157
+ min?: number;
158
+ /**
159
+ * The name of the element. This element's value will be surfaced during form submission under the provided name.
160
+ */
161
+ name?: string;
162
+ /**
163
+ * The orientation of the slider.
164
+ */
165
+ orientation?: 'horizontal' | 'vertical';
166
+ /**
167
+ * Show current values on the thumbs.
168
+ */
169
+ pin?: boolean;
170
+ /**
171
+ * Require the field to be completed prior to form submission.
172
+ */
173
+ required?: boolean;
174
+ /**
175
+ * The current start value of the element. This property serves as a mechanism
176
+ * to set the `start` property through both property assignment and the
177
+ * .setAttribute() method. This is useful for setting the field's value
178
+ * in UI libraries that bind data through the .setAttribute() API
179
+ * and don't support IDL attribute binding.
180
+ */
181
+ start?: string;
182
+ /**
183
+ * Value to increment or decrement via arrow keys, mouse click or drag.
184
+ */
185
+ step?: number;
186
+ /**
187
+ * The current value of the element. This property serves as a mechanism
188
+ * to set the `value` property through both property assignment and the
189
+ * .setAttribute() method. This is useful for setting the field's value
190
+ * in UI libraries that bind data through the .setAttribute() API
191
+ * and don't support IDL attribute binding.
192
+ */
193
+ value?: string;
194
+ /**
195
+ * Fires when the element loses focus.
196
+ */
197
+ onBlur?: (event: VRangeSliderEvents['blur']) => void;
198
+ /**
199
+ * Event emitted when either the start or end value changes.
200
+ */
201
+ onChange?: (event: VRangeSliderEvents['change']) => void;
202
+ /**
203
+ * 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.
204
+ */
205
+ onClick?: (event: VRangeSliderEvents['click']) => void;
206
+ /**
207
+ * Fires when the element receives focus.
208
+ */
209
+ onFocus?: (event: VRangeSliderEvents['focus']) => void;
210
+ /**
211
+ * Event emitted when either the start or end value changes.
212
+ */
213
+ onInput?: (event: VRangeSliderEvents['input']) => void;
214
+ /**
215
+ * Event emitted when the end value changes
216
+ */
217
+ 'onInput:end'?: (event: VRangeSliderEvents['input:end']) => void;
218
+ /**
219
+ * Event emitted when the start value changes
220
+ */
221
+ 'onInput:start'?: (event: VRangeSliderEvents['input:start']) => void;
222
+ /**
223
+ * Fires when a key is pressed.
224
+ */
225
+ onKeydown?: (event: VRangeSliderEvents['keydown']) => void;
226
+ /**
227
+ * Fires when a key is released.
228
+ */
229
+ onKeyup?: (event: VRangeSliderEvents['keyup']) => void;
230
+ /**
231
+ * Fires when the end value changes
232
+ */
233
+ 'onUpdate:end'?: (event: VRangeSliderEvents['update:end']) => void;
234
+ /**
235
+ * Fires when the start value changes
236
+ */
237
+ 'onUpdate:start'?: (event: VRangeSliderEvents['update:start']) => void;
238
+ }
@@ -0,0 +1,91 @@
1
+ import type { VwcRichTextEditorElement } from '@vonage/vivid';
2
+ export interface VRichTextEditorEvents {
3
+ /**
4
+ * Fires when the element loses focus.
5
+ */
6
+ blur: FocusEvent & {
7
+ /**
8
+ * @deprecated Target may not refer to component in some cases. Use currentTarget instead.
9
+ */
10
+ target: VwcRichTextEditorElement;
11
+ currentTarget: VwcRichTextEditorElement;
12
+ };
13
+ /**
14
+ * 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.
15
+ */
16
+ click: MouseEvent & {
17
+ /**
18
+ * @deprecated Target may not refer to component in some cases. Use currentTarget instead.
19
+ */
20
+ target: VwcRichTextEditorElement;
21
+ currentTarget: VwcRichTextEditorElement;
22
+ };
23
+ /**
24
+ * Fires when the element receives focus.
25
+ */
26
+ focus: FocusEvent & {
27
+ /**
28
+ * @deprecated Target may not refer to component in some cases. Use currentTarget instead.
29
+ */
30
+ target: VwcRichTextEditorElement;
31
+ currentTarget: VwcRichTextEditorElement;
32
+ };
33
+ /**
34
+ * Fires when the value of an element has been changed.
35
+ */
36
+ input: Event & {
37
+ /**
38
+ * @deprecated Target may not refer to component in some cases. Use currentTarget instead.
39
+ */
40
+ target: VwcRichTextEditorElement;
41
+ currentTarget: VwcRichTextEditorElement;
42
+ };
43
+ /**
44
+ * Fires when a key is pressed.
45
+ */
46
+ keydown: KeyboardEvent & {
47
+ /**
48
+ * @deprecated Target may not refer to component in some cases. Use currentTarget instead.
49
+ */
50
+ target: VwcRichTextEditorElement;
51
+ currentTarget: VwcRichTextEditorElement;
52
+ };
53
+ /**
54
+ * Fires when a key is released.
55
+ */
56
+ keyup: KeyboardEvent & {
57
+ /**
58
+ * @deprecated Target may not refer to component in some cases. Use currentTarget instead.
59
+ */
60
+ target: VwcRichTextEditorElement;
61
+ currentTarget: VwcRichTextEditorElement;
62
+ };
63
+ }
64
+ export interface VRichTextEditorProps {
65
+ selectionEnd?: number;
66
+ selectionStart?: number;
67
+ /**
68
+ * Fires when the element loses focus.
69
+ */
70
+ onBlur?: (event: VRichTextEditorEvents['blur']) => void;
71
+ /**
72
+ * 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.
73
+ */
74
+ onClick?: (event: VRichTextEditorEvents['click']) => void;
75
+ /**
76
+ * Fires when the element receives focus.
77
+ */
78
+ onFocus?: (event: VRichTextEditorEvents['focus']) => void;
79
+ /**
80
+ * Fires when the value of an element has been changed.
81
+ */
82
+ onInput?: (event: VRichTextEditorEvents['input']) => void;
83
+ /**
84
+ * Fires when a key is pressed.
85
+ */
86
+ onKeydown?: (event: VRichTextEditorEvents['keydown']) => void;
87
+ /**
88
+ * Fires when a key is released.
89
+ */
90
+ onKeyup?: (event: VRichTextEditorEvents['keyup']) => void;
91
+ }
@@ -13,10 +13,11 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
13
13
  componentName: import("vue").Ref<string>;
14
14
  element: import("vue").Ref<VwcRichTextEditorElement | null>;
15
15
  }, import("vue").Data, {}, {
16
+ focus(): unknown;
16
17
  selectionEndChanged(): unknown;
17
18
  selectionStartChanged(): unknown;
18
19
  setSelectionDecoration(decoration: string): unknown;
19
- setTextSize(size: "title" | "subtitle" | "body"): unknown;
20
+ setTextBlock(blockType: "title" | "subtitle" | "body"): unknown;
20
21
  }, 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<{
21
22
  selectionEnd: {
22
23
  type: PropType<number>;
@@ -14,10 +14,11 @@ declare const _default: import("vue").DefineComponent<{
14
14
  componentName: import("vue").Ref<string>;
15
15
  element: import("vue").Ref<VwcRichTextEditorElement | null>;
16
16
  }, unknown, {}, {
17
+ focus(): unknown;
17
18
  selectionEndChanged(): unknown;
18
19
  selectionStartChanged(): unknown;
19
20
  setSelectionDecoration(decoration: string): unknown;
20
- setTextSize(size: "title" | "subtitle" | "body"): unknown;
21
+ setTextBlock(blockType: "title" | "subtitle" | "body"): unknown;
21
22
  }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
22
23
  /**
23
24
  * Fires when the element loses focus.
@@ -0,0 +1,216 @@
1
+ import type { VwcSearchableSelectElement } from '@vonage/vivid';
2
+ import type { IconId } from '../icons';
3
+ export interface VSearchableSelectEvents {
4
+ /**
5
+ * Fires when the element loses focus.
6
+ */
7
+ blur: FocusEvent & {
8
+ /**
9
+ * @deprecated Target may not refer to component in some cases. Use currentTarget instead.
10
+ */
11
+ target: VwcSearchableSelectElement;
12
+ currentTarget: VwcSearchableSelectElement;
13
+ };
14
+ /**
15
+ * Fired when the selected options change
16
+ */
17
+ change: CustomEvent<undefined> & {
18
+ /**
19
+ * @deprecated Target may not refer to component in some cases. Use currentTarget instead.
20
+ */
21
+ target: VwcSearchableSelectElement;
22
+ currentTarget: VwcSearchableSelectElement;
23
+ };
24
+ /**
25
+ * 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.
26
+ */
27
+ click: MouseEvent & {
28
+ /**
29
+ * @deprecated Target may not refer to component in some cases. Use currentTarget instead.
30
+ */
31
+ target: VwcSearchableSelectElement;
32
+ currentTarget: VwcSearchableSelectElement;
33
+ };
34
+ /**
35
+ * Fires when the element receives focus.
36
+ */
37
+ focus: FocusEvent & {
38
+ /**
39
+ * @deprecated Target may not refer to component in some cases. Use currentTarget instead.
40
+ */
41
+ target: VwcSearchableSelectElement;
42
+ currentTarget: VwcSearchableSelectElement;
43
+ };
44
+ /**
45
+ * Fired when the selected options change
46
+ */
47
+ input: CustomEvent<undefined> & {
48
+ /**
49
+ * @deprecated Target may not refer to component in some cases. Use currentTarget instead.
50
+ */
51
+ target: VwcSearchableSelectElement;
52
+ currentTarget: VwcSearchableSelectElement;
53
+ };
54
+ /**
55
+ * Fires when a key is pressed.
56
+ */
57
+ keydown: KeyboardEvent & {
58
+ /**
59
+ * @deprecated Target may not refer to component in some cases. Use currentTarget instead.
60
+ */
61
+ target: VwcSearchableSelectElement;
62
+ currentTarget: VwcSearchableSelectElement;
63
+ };
64
+ /**
65
+ * Fires when a key is released.
66
+ */
67
+ keyup: KeyboardEvent & {
68
+ /**
69
+ * @deprecated Target may not refer to component in some cases. Use currentTarget instead.
70
+ */
71
+ target: VwcSearchableSelectElement;
72
+ currentTarget: VwcSearchableSelectElement;
73
+ };
74
+ /**
75
+ * Fired when the search text changes
76
+ */
77
+ 'search-text-change': CustomEvent<undefined> & {
78
+ /**
79
+ * @deprecated Target may not refer to component in some cases. Use currentTarget instead.
80
+ */
81
+ target: VwcSearchableSelectElement;
82
+ currentTarget: VwcSearchableSelectElement;
83
+ };
84
+ /**
85
+ * Fires when the modelValue value changes
86
+ */
87
+ 'update:modelValue': string;
88
+ /**
89
+ * Fires when the values value changes
90
+ */
91
+ 'update:values': string[];
92
+ }
93
+ export interface VSearchableSelectProps {
94
+ appearance?: 'fieldset' | 'ghost';
95
+ /**
96
+ * Adds a clear button to the input field that clears the selected values.
97
+ */
98
+ clearable?: boolean;
99
+ /**
100
+ * Sets the element's disabled state. A disabled element will not be included during form submission.
101
+ */
102
+ disabled?: boolean;
103
+ /**
104
+ * The error text for the form element.
105
+ */
106
+ errorText?: string;
107
+ externalTags?: boolean;
108
+ fixedDropdown?: boolean;
109
+ /**
110
+ * The helper text for the form element.
111
+ */
112
+ helperText?: string;
113
+ /**
114
+ * A decorative icon the custom element should have.
115
+ * See the Vivid Icon Gallery for available icons: https://icons.vivid.vonage.com/
116
+ */
117
+ icon?: IconId;
118
+ /**
119
+ * Indicates the icon affix alignment.
120
+ */
121
+ iconTrailing?: boolean;
122
+ /**
123
+ * The initial value of the form. This value sets the `value` property
124
+ * only when the `value` property has not been explicitly set.
125
+ */
126
+ initialValue?: string;
127
+ /**
128
+ * The label for the form element.
129
+ */
130
+ label?: string;
131
+ /**
132
+ * Whether the component is in a loading state.
133
+ */
134
+ loading?: boolean;
135
+ maxLines?: number;
136
+ multiple?: boolean;
137
+ /**
138
+ * The name of the element. This element's value will be surfaced during form submission under the provided name.
139
+ */
140
+ name?: string;
141
+ open?: boolean;
142
+ /**
143
+ * Function to filter the options to display.
144
+ */
145
+ optionFilter?: any;
146
+ placeholder?: string;
147
+ /**
148
+ * Require the field to be completed prior to form submission.
149
+ */
150
+ required?: boolean;
151
+ shape?: 'rounded' | 'pill';
152
+ /**
153
+ * The success text for the form element.
154
+ */
155
+ successText?: string;
156
+ /**
157
+ * The current value of the element. This property serves as a mechanism
158
+ * to set the `value` property through both property assignment and the
159
+ * .setAttribute() method. This is useful for setting the field's value
160
+ * in UI libraries that bind data through the .setAttribute() API
161
+ * and don't support IDL attribute binding.
162
+ */
163
+ value?: string;
164
+ /**
165
+ * The current value of the element. This property serves as a mechanism
166
+ * to set the `value` property through both property assignment and the
167
+ * .setAttribute() method. This is useful for setting the field's value
168
+ * in UI libraries that bind data through the .setAttribute() API
169
+ * and don't support IDL attribute binding.
170
+ */
171
+ modelValue?: string;
172
+ /**
173
+ * List of selected option values.
174
+ */
175
+ values?: string[];
176
+ /**
177
+ * Fires when the element loses focus.
178
+ */
179
+ onBlur?: (event: VSearchableSelectEvents['blur']) => void;
180
+ /**
181
+ * Fired when the selected options change
182
+ */
183
+ onChange?: (event: VSearchableSelectEvents['change']) => void;
184
+ /**
185
+ * 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.
186
+ */
187
+ onClick?: (event: VSearchableSelectEvents['click']) => void;
188
+ /**
189
+ * Fires when the element receives focus.
190
+ */
191
+ onFocus?: (event: VSearchableSelectEvents['focus']) => void;
192
+ /**
193
+ * Fired when the selected options change
194
+ */
195
+ onInput?: (event: VSearchableSelectEvents['input']) => void;
196
+ /**
197
+ * Fires when a key is pressed.
198
+ */
199
+ onKeydown?: (event: VSearchableSelectEvents['keydown']) => void;
200
+ /**
201
+ * Fires when a key is released.
202
+ */
203
+ onKeyup?: (event: VSearchableSelectEvents['keyup']) => void;
204
+ /**
205
+ * Fired when the search text changes
206
+ */
207
+ onSearchTextChange?: (event: VSearchableSelectEvents['search-text-change']) => void;
208
+ /**
209
+ * Fires when the modelValue value changes
210
+ */
211
+ 'onUpdate:modelValue'?: (event: VSearchableSelectEvents['update:modelValue']) => void;
212
+ /**
213
+ * Fires when the values value changes
214
+ */
215
+ 'onUpdate:values'?: (event: VSearchableSelectEvents['update:values']) => void;
216
+ }