@vonage/vivid-vue 3.52.0 → 3.54.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/generated/components/VAccordionItem.vue2.d.ts +3 -3
- package/generated/components/VAccordionItem.vue3.d.ts +3 -3
- package/generated/components/VAlert.vue2.d.ts +3 -3
- package/generated/components/VAlert.vue3.d.ts +3 -3
- package/generated/components/VAudioPlayer.vue2.d.ts +33 -0
- package/generated/components/VAudioPlayer.vue3.d.ts +33 -0
- package/generated/components/VAvatar.vue2.d.ts +3 -3
- package/generated/components/VAvatar.vue3.d.ts +3 -3
- package/generated/components/VBadge.vue2.d.ts +3 -3
- package/generated/components/VBadge.vue3.d.ts +3 -3
- package/generated/components/VBanner.vue2.d.ts +3 -3
- package/generated/components/VBanner.vue3.d.ts +3 -3
- package/generated/components/VButton.vue2.d.ts +3 -3
- package/generated/components/VButton.vue3.d.ts +3 -3
- package/generated/components/VCard.vue2.d.ts +3 -3
- package/generated/components/VCard.vue3.d.ts +3 -3
- package/generated/components/VCheckbox.vue2.d.ts +23 -0
- package/generated/components/VCheckbox.vue3.d.ts +29 -1
- package/generated/components/VCombobox.vue2.d.ts +26 -3
- package/generated/components/VCombobox.vue3.d.ts +26 -3
- package/generated/components/VDatePicker.vue2.d.ts +15 -0
- package/generated/components/VDatePicker.vue3.d.ts +21 -1
- package/generated/components/VDateRangePicker.vue2.d.ts +46 -0
- package/generated/components/VDateRangePicker.vue3.d.ts +52 -1
- package/generated/components/VDialPad.d.ts +10 -0
- package/generated/components/VDialPad.vue2.d.ts +183 -0
- package/generated/components/VDialPad.vue3.d.ts +196 -0
- package/generated/components/VDialog.vue2.d.ts +3 -3
- package/generated/components/VDialog.vue3.d.ts +3 -3
- package/generated/components/VEmptyState.vue2.d.ts +3 -3
- package/generated/components/VEmptyState.vue3.d.ts +3 -3
- package/generated/components/VFab.vue2.d.ts +3 -3
- package/generated/components/VFab.vue3.d.ts +3 -3
- package/generated/components/VFilePicker.vue3.d.ts +6 -1
- package/generated/components/VIcon.vue2.d.ts +3 -3
- package/generated/components/VIcon.vue3.d.ts +3 -3
- package/generated/components/VMenu.vue2.d.ts +15 -0
- package/generated/components/VMenu.vue3.d.ts +15 -0
- package/generated/components/VMenuItem.vue2.d.ts +18 -3
- package/generated/components/VMenuItem.vue3.d.ts +18 -3
- package/generated/components/VNavDisclosure.vue2.d.ts +33 -3
- package/generated/components/VNavDisclosure.vue3.d.ts +33 -3
- package/generated/components/VNavItem.vue2.d.ts +33 -3
- package/generated/components/VNavItem.vue3.d.ts +33 -3
- package/generated/components/VNote.vue2.d.ts +3 -3
- package/generated/components/VNote.vue3.d.ts +3 -3
- package/generated/components/VNumberField.vue2.d.ts +26 -3
- package/generated/components/VNumberField.vue3.d.ts +32 -4
- package/generated/components/VOption.vue2.d.ts +3 -3
- package/generated/components/VOption.vue3.d.ts +3 -3
- package/generated/components/VRadio.vue2.d.ts +1 -1
- package/generated/components/VRadio.vue3.d.ts +1 -1
- package/generated/components/VRadioGroup.vue2.d.ts +15 -0
- package/generated/components/VRadioGroup.vue3.d.ts +15 -0
- package/generated/components/VRangeSlider.vue2.d.ts +46 -0
- package/generated/components/VRangeSlider.vue3.d.ts +46 -0
- package/generated/components/VSelect.vue2.d.ts +26 -3
- package/generated/components/VSelect.vue3.d.ts +30 -3
- package/generated/components/VSlider.vue2.d.ts +23 -0
- package/generated/components/VSlider.vue3.d.ts +23 -0
- package/generated/components/VSplitButton.vue2.d.ts +3 -3
- package/generated/components/VSplitButton.vue3.d.ts +3 -3
- package/generated/components/VSwitch.vue2.d.ts +23 -0
- package/generated/components/VSwitch.vue3.d.ts +23 -0
- package/generated/components/VTab.vue2.d.ts +3 -3
- package/generated/components/VTab.vue3.d.ts +3 -3
- package/generated/components/VTag.vue2.d.ts +3 -3
- package/generated/components/VTag.vue3.d.ts +3 -3
- package/generated/components/VTextArea.vue2.d.ts +26 -3
- package/generated/components/VTextArea.vue3.d.ts +32 -4
- package/generated/components/VTextField.vue2.d.ts +27 -4
- package/generated/components/VTextField.vue3.d.ts +31 -4
- package/generated/components/VTimePicker.vue2.d.ts +23 -0
- package/generated/components/VTimePicker.vue3.d.ts +29 -1
- package/generated/components/VTreeItem.vue2.d.ts +3 -3
- package/generated/components/VTreeItem.vue3.d.ts +3 -3
- package/generated/components/VVideoPlayer.d.ts +10 -0
- package/generated/components/VVideoPlayer.vue2.d.ts +118 -0
- package/generated/components/VVideoPlayer.vue3.d.ts +134 -0
- package/generated/components/index.d.ts +2 -0
- package/generated/icons.d.ts +13 -0
- package/index.cjs +660 -58
- package/index.js +660 -60
- package/package.json +2 -2
- package/web-types.json +388 -32
|
@@ -61,6 +61,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
61
61
|
type: PropType<string>;
|
|
62
62
|
default: undefined;
|
|
63
63
|
};
|
|
64
|
+
/**
|
|
65
|
+
* The initial value of the date-picker.
|
|
66
|
+
*/
|
|
67
|
+
value: {
|
|
68
|
+
type: PropType<string>;
|
|
69
|
+
default: undefined;
|
|
70
|
+
};
|
|
64
71
|
/**
|
|
65
72
|
* The initial value of the date-picker.
|
|
66
73
|
*/
|
|
@@ -142,6 +149,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
142
149
|
type: PropType<string>;
|
|
143
150
|
default: undefined;
|
|
144
151
|
};
|
|
152
|
+
/**
|
|
153
|
+
* The initial value of the date-picker.
|
|
154
|
+
*/
|
|
155
|
+
value: {
|
|
156
|
+
type: PropType<string>;
|
|
157
|
+
default: undefined;
|
|
158
|
+
};
|
|
145
159
|
/**
|
|
146
160
|
* The initial value of the date-picker.
|
|
147
161
|
*/
|
|
@@ -175,6 +189,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
175
189
|
}, {
|
|
176
190
|
name: string;
|
|
177
191
|
ariaCurrent: "page" | "step" | "location" | "date" | "time" | "true" | "false";
|
|
192
|
+
value: string;
|
|
178
193
|
disabled: boolean;
|
|
179
194
|
currentValue: string;
|
|
180
195
|
required: boolean;
|
|
@@ -184,5 +199,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
184
199
|
readonly: boolean;
|
|
185
200
|
max: string;
|
|
186
201
|
min: string;
|
|
187
|
-
}, SlotsType<
|
|
202
|
+
}, SlotsType<{
|
|
203
|
+
/**
|
|
204
|
+
* Describes how to use the date-picker. Alternative to the `helper-text` attribute.
|
|
205
|
+
*/
|
|
206
|
+
'helper-text': Record<string, never>;
|
|
207
|
+
}>>;
|
|
188
208
|
export default _default;
|
|
@@ -50,6 +50,17 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
|
|
|
50
50
|
type: PropType<string>;
|
|
51
51
|
default: undefined;
|
|
52
52
|
};
|
|
53
|
+
/**
|
|
54
|
+
* The current start value of the element. This property serves as a mechanism
|
|
55
|
+
* to set the `start` property through both property assignment and the
|
|
56
|
+
* .setAttribute() method. This is useful for setting the field's value
|
|
57
|
+
* in UI libraries that bind data through the .setAttribute() API
|
|
58
|
+
* and don't support IDL attribute binding.
|
|
59
|
+
*/
|
|
60
|
+
currentStart: {
|
|
61
|
+
type: PropType<string>;
|
|
62
|
+
default: undefined;
|
|
63
|
+
};
|
|
53
64
|
/**
|
|
54
65
|
* The current start value of the element. This property serves as a mechanism
|
|
55
66
|
* to set the `start` property through both property assignment and the
|
|
@@ -61,6 +72,17 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
|
|
|
61
72
|
type: PropType<string>;
|
|
62
73
|
default: undefined;
|
|
63
74
|
};
|
|
75
|
+
/**
|
|
76
|
+
* The current end value of the element. This property serves as a mechanism
|
|
77
|
+
* to set the `end` property through both property assignment and the
|
|
78
|
+
* .setAttribute() method. This is useful for setting the field's value
|
|
79
|
+
* in UI libraries that bind data through the .setAttribute() API
|
|
80
|
+
* and don't support IDL attribute binding.
|
|
81
|
+
*/
|
|
82
|
+
currentEnd: {
|
|
83
|
+
type: PropType<string>;
|
|
84
|
+
default: undefined;
|
|
85
|
+
};
|
|
64
86
|
/**
|
|
65
87
|
* The current end value of the element. This property serves as a mechanism
|
|
66
88
|
* to set the `end` property through both property assignment and the
|
|
@@ -153,6 +175,17 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
|
|
|
153
175
|
type: PropType<string>;
|
|
154
176
|
default: undefined;
|
|
155
177
|
};
|
|
178
|
+
/**
|
|
179
|
+
* The current start value of the element. This property serves as a mechanism
|
|
180
|
+
* to set the `start` property through both property assignment and the
|
|
181
|
+
* .setAttribute() method. This is useful for setting the field's value
|
|
182
|
+
* in UI libraries that bind data through the .setAttribute() API
|
|
183
|
+
* and don't support IDL attribute binding.
|
|
184
|
+
*/
|
|
185
|
+
currentStart: {
|
|
186
|
+
type: PropType<string>;
|
|
187
|
+
default: undefined;
|
|
188
|
+
};
|
|
156
189
|
/**
|
|
157
190
|
* The current start value of the element. This property serves as a mechanism
|
|
158
191
|
* to set the `start` property through both property assignment and the
|
|
@@ -164,6 +197,17 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
|
|
|
164
197
|
type: PropType<string>;
|
|
165
198
|
default: undefined;
|
|
166
199
|
};
|
|
200
|
+
/**
|
|
201
|
+
* The current end value of the element. This property serves as a mechanism
|
|
202
|
+
* to set the `end` property through both property assignment and the
|
|
203
|
+
* .setAttribute() method. This is useful for setting the field's value
|
|
204
|
+
* in UI libraries that bind data through the .setAttribute() API
|
|
205
|
+
* and don't support IDL attribute binding.
|
|
206
|
+
*/
|
|
207
|
+
currentEnd: {
|
|
208
|
+
type: PropType<string>;
|
|
209
|
+
default: undefined;
|
|
210
|
+
};
|
|
167
211
|
/**
|
|
168
212
|
* The current end value of the element. This property serves as a mechanism
|
|
169
213
|
* to set the `end` property through both property assignment and the
|
|
@@ -216,6 +260,8 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
|
|
|
216
260
|
readonly: boolean;
|
|
217
261
|
max: string;
|
|
218
262
|
min: string;
|
|
263
|
+
currentStart: string;
|
|
264
|
+
currentEnd: string;
|
|
219
265
|
end: string;
|
|
220
266
|
}>;
|
|
221
267
|
export default _default;
|
|
@@ -51,6 +51,17 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
51
51
|
type: PropType<string>;
|
|
52
52
|
default: undefined;
|
|
53
53
|
};
|
|
54
|
+
/**
|
|
55
|
+
* The current start value of the element. This property serves as a mechanism
|
|
56
|
+
* to set the `start` property through both property assignment and the
|
|
57
|
+
* .setAttribute() method. This is useful for setting the field's value
|
|
58
|
+
* in UI libraries that bind data through the .setAttribute() API
|
|
59
|
+
* and don't support IDL attribute binding.
|
|
60
|
+
*/
|
|
61
|
+
currentStart: {
|
|
62
|
+
type: PropType<string>;
|
|
63
|
+
default: undefined;
|
|
64
|
+
};
|
|
54
65
|
/**
|
|
55
66
|
* The current start value of the element. This property serves as a mechanism
|
|
56
67
|
* to set the `start` property through both property assignment and the
|
|
@@ -62,6 +73,17 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
62
73
|
type: PropType<string>;
|
|
63
74
|
default: undefined;
|
|
64
75
|
};
|
|
76
|
+
/**
|
|
77
|
+
* The current end value of the element. This property serves as a mechanism
|
|
78
|
+
* to set the `end` property through both property assignment and the
|
|
79
|
+
* .setAttribute() method. This is useful for setting the field's value
|
|
80
|
+
* in UI libraries that bind data through the .setAttribute() API
|
|
81
|
+
* and don't support IDL attribute binding.
|
|
82
|
+
*/
|
|
83
|
+
currentEnd: {
|
|
84
|
+
type: PropType<string>;
|
|
85
|
+
default: undefined;
|
|
86
|
+
};
|
|
65
87
|
/**
|
|
66
88
|
* The current end value of the element. This property serves as a mechanism
|
|
67
89
|
* to set the `end` property through both property assignment and the
|
|
@@ -154,6 +176,17 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
154
176
|
type: PropType<string>;
|
|
155
177
|
default: undefined;
|
|
156
178
|
};
|
|
179
|
+
/**
|
|
180
|
+
* The current start value of the element. This property serves as a mechanism
|
|
181
|
+
* to set the `start` property through both property assignment and the
|
|
182
|
+
* .setAttribute() method. This is useful for setting the field's value
|
|
183
|
+
* in UI libraries that bind data through the .setAttribute() API
|
|
184
|
+
* and don't support IDL attribute binding.
|
|
185
|
+
*/
|
|
186
|
+
currentStart: {
|
|
187
|
+
type: PropType<string>;
|
|
188
|
+
default: undefined;
|
|
189
|
+
};
|
|
157
190
|
/**
|
|
158
191
|
* The current start value of the element. This property serves as a mechanism
|
|
159
192
|
* to set the `start` property through both property assignment and the
|
|
@@ -165,6 +198,17 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
165
198
|
type: PropType<string>;
|
|
166
199
|
default: undefined;
|
|
167
200
|
};
|
|
201
|
+
/**
|
|
202
|
+
* The current end value of the element. This property serves as a mechanism
|
|
203
|
+
* to set the `end` property through both property assignment and the
|
|
204
|
+
* .setAttribute() method. This is useful for setting the field's value
|
|
205
|
+
* in UI libraries that bind data through the .setAttribute() API
|
|
206
|
+
* and don't support IDL attribute binding.
|
|
207
|
+
*/
|
|
208
|
+
currentEnd: {
|
|
209
|
+
type: PropType<string>;
|
|
210
|
+
default: undefined;
|
|
211
|
+
};
|
|
168
212
|
/**
|
|
169
213
|
* The current end value of the element. This property serves as a mechanism
|
|
170
214
|
* to set the `end` property through both property assignment and the
|
|
@@ -229,6 +273,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
229
273
|
readonly: boolean;
|
|
230
274
|
max: string;
|
|
231
275
|
min: string;
|
|
276
|
+
currentStart: string;
|
|
277
|
+
currentEnd: string;
|
|
232
278
|
end: string;
|
|
233
|
-
}, SlotsType<
|
|
279
|
+
}, SlotsType<{
|
|
280
|
+
/**
|
|
281
|
+
* Describes how to use the date-range-picker. Alternative to the `helper-text` attribute.
|
|
282
|
+
*/
|
|
283
|
+
'helper-text': Record<string, never>;
|
|
284
|
+
}>>;
|
|
234
285
|
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { VNode } from 'vue';
|
|
2
|
+
import VDialPadVue2 from './VDialPad.vue2';
|
|
3
|
+
import VDialPadVue3 from './VDialPad.vue3';
|
|
4
|
+
|
|
5
|
+
// @ts-ignore
|
|
6
|
+
type VNodeData = VNode["data"];
|
|
7
|
+
type IsAny<T> = 0 extends (1 & T) ? true : false;
|
|
8
|
+
type VueVersion = IsAny<VNodeData> extends true ? 'v3' : 'v2';
|
|
9
|
+
declare const _default: VueVersion extends 'v2' ? typeof VDialPadVue2 : typeof VDialPadVue3;
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import type { DialPad } from '@vonage/vivid/lib/dial-pad/dial-pad';
|
|
3
|
+
/**
|
|
4
|
+
* Base class for dial-pad
|
|
5
|
+
*/
|
|
6
|
+
declare const _default: import("vue/types/v3-define-component").DefineComponent<{
|
|
7
|
+
/**
|
|
8
|
+
* Indicates the element that represents the current item within a container or set of related elements.
|
|
9
|
+
*/
|
|
10
|
+
ariaCurrent: {
|
|
11
|
+
type: PropType<"page" | "step" | "location" | "date" | "time" | "true" | "false">;
|
|
12
|
+
default: undefined;
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* Indicates the helper-text's text.
|
|
16
|
+
*/
|
|
17
|
+
helperText: {
|
|
18
|
+
type: PropType<string>;
|
|
19
|
+
default: undefined;
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* Indicates the placeholder's text.
|
|
23
|
+
*/
|
|
24
|
+
placeholder: {
|
|
25
|
+
type: PropType<string>;
|
|
26
|
+
default: undefined;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* Indicates the value's text.
|
|
30
|
+
*/
|
|
31
|
+
value: {
|
|
32
|
+
type: PropType<string>;
|
|
33
|
+
default: undefined;
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* Indicates the value's text.
|
|
37
|
+
*/
|
|
38
|
+
modelValue: {
|
|
39
|
+
type: PropType<string>;
|
|
40
|
+
default: undefined;
|
|
41
|
+
};
|
|
42
|
+
/**
|
|
43
|
+
* Indicates the dial pad's pattern.
|
|
44
|
+
*/
|
|
45
|
+
pattern: {
|
|
46
|
+
type: PropType<string>;
|
|
47
|
+
default: undefined;
|
|
48
|
+
};
|
|
49
|
+
/**
|
|
50
|
+
* Indicates the disabled state of the dial-pad.
|
|
51
|
+
*/
|
|
52
|
+
disabled: {
|
|
53
|
+
type: PropType<boolean>;
|
|
54
|
+
default: undefined;
|
|
55
|
+
};
|
|
56
|
+
/**
|
|
57
|
+
* Indicates the pending state of the dial-pad.
|
|
58
|
+
*/
|
|
59
|
+
pending: {
|
|
60
|
+
type: PropType<boolean>;
|
|
61
|
+
default: undefined;
|
|
62
|
+
};
|
|
63
|
+
/**
|
|
64
|
+
* Indicates the active state of the dial-pad.
|
|
65
|
+
*/
|
|
66
|
+
callActive: {
|
|
67
|
+
type: PropType<boolean>;
|
|
68
|
+
default: undefined;
|
|
69
|
+
};
|
|
70
|
+
/**
|
|
71
|
+
* Indicates the no-call state of the dial-pad.
|
|
72
|
+
*/
|
|
73
|
+
noCall: {
|
|
74
|
+
type: PropType<boolean>;
|
|
75
|
+
default: undefined;
|
|
76
|
+
};
|
|
77
|
+
endCallButtonLabel: {
|
|
78
|
+
type: PropType<string>;
|
|
79
|
+
default: undefined;
|
|
80
|
+
};
|
|
81
|
+
callButtonLabel: {
|
|
82
|
+
type: PropType<string>;
|
|
83
|
+
default: undefined;
|
|
84
|
+
};
|
|
85
|
+
}, {
|
|
86
|
+
componentName: import("vue").Ref<string>;
|
|
87
|
+
element: import("vue").Ref<DialPad | null>;
|
|
88
|
+
}, import("vue").Data, {}, {
|
|
89
|
+
valueChanged(_oldValue: string, newValue: string): unknown;
|
|
90
|
+
}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, ("click" | "focus" | "blur" | "keydown" | "keyup" | "input" | "change" | "update:modelValue" | "keypad-click" | "dial" | "end-call")[], string, Readonly<import("vue").ExtractPropTypes<{
|
|
91
|
+
/**
|
|
92
|
+
* Indicates the element that represents the current item within a container or set of related elements.
|
|
93
|
+
*/
|
|
94
|
+
ariaCurrent: {
|
|
95
|
+
type: PropType<"page" | "step" | "location" | "date" | "time" | "true" | "false">;
|
|
96
|
+
default: undefined;
|
|
97
|
+
};
|
|
98
|
+
/**
|
|
99
|
+
* Indicates the helper-text's text.
|
|
100
|
+
*/
|
|
101
|
+
helperText: {
|
|
102
|
+
type: PropType<string>;
|
|
103
|
+
default: undefined;
|
|
104
|
+
};
|
|
105
|
+
/**
|
|
106
|
+
* Indicates the placeholder's text.
|
|
107
|
+
*/
|
|
108
|
+
placeholder: {
|
|
109
|
+
type: PropType<string>;
|
|
110
|
+
default: undefined;
|
|
111
|
+
};
|
|
112
|
+
/**
|
|
113
|
+
* Indicates the value's text.
|
|
114
|
+
*/
|
|
115
|
+
value: {
|
|
116
|
+
type: PropType<string>;
|
|
117
|
+
default: undefined;
|
|
118
|
+
};
|
|
119
|
+
/**
|
|
120
|
+
* Indicates the value's text.
|
|
121
|
+
*/
|
|
122
|
+
modelValue: {
|
|
123
|
+
type: PropType<string>;
|
|
124
|
+
default: undefined;
|
|
125
|
+
};
|
|
126
|
+
/**
|
|
127
|
+
* Indicates the dial pad's pattern.
|
|
128
|
+
*/
|
|
129
|
+
pattern: {
|
|
130
|
+
type: PropType<string>;
|
|
131
|
+
default: undefined;
|
|
132
|
+
};
|
|
133
|
+
/**
|
|
134
|
+
* Indicates the disabled state of the dial-pad.
|
|
135
|
+
*/
|
|
136
|
+
disabled: {
|
|
137
|
+
type: PropType<boolean>;
|
|
138
|
+
default: undefined;
|
|
139
|
+
};
|
|
140
|
+
/**
|
|
141
|
+
* Indicates the pending state of the dial-pad.
|
|
142
|
+
*/
|
|
143
|
+
pending: {
|
|
144
|
+
type: PropType<boolean>;
|
|
145
|
+
default: undefined;
|
|
146
|
+
};
|
|
147
|
+
/**
|
|
148
|
+
* Indicates the active state of the dial-pad.
|
|
149
|
+
*/
|
|
150
|
+
callActive: {
|
|
151
|
+
type: PropType<boolean>;
|
|
152
|
+
default: undefined;
|
|
153
|
+
};
|
|
154
|
+
/**
|
|
155
|
+
* Indicates the no-call state of the dial-pad.
|
|
156
|
+
*/
|
|
157
|
+
noCall: {
|
|
158
|
+
type: PropType<boolean>;
|
|
159
|
+
default: undefined;
|
|
160
|
+
};
|
|
161
|
+
endCallButtonLabel: {
|
|
162
|
+
type: PropType<string>;
|
|
163
|
+
default: undefined;
|
|
164
|
+
};
|
|
165
|
+
callButtonLabel: {
|
|
166
|
+
type: PropType<string>;
|
|
167
|
+
default: undefined;
|
|
168
|
+
};
|
|
169
|
+
}>>, {
|
|
170
|
+
ariaCurrent: "page" | "step" | "location" | "date" | "time" | "true" | "false";
|
|
171
|
+
value: string;
|
|
172
|
+
disabled: boolean;
|
|
173
|
+
pending: boolean;
|
|
174
|
+
modelValue: string;
|
|
175
|
+
helperText: string;
|
|
176
|
+
placeholder: string;
|
|
177
|
+
pattern: string;
|
|
178
|
+
callActive: boolean;
|
|
179
|
+
noCall: boolean;
|
|
180
|
+
endCallButtonLabel: string;
|
|
181
|
+
callButtonLabel: string;
|
|
182
|
+
}>;
|
|
183
|
+
export default _default;
|
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import type { DialPad } from '@vonage/vivid/lib/dial-pad/dial-pad';
|
|
3
|
+
import type { SlotsType } from 'vue';
|
|
4
|
+
/**
|
|
5
|
+
* Base class for dial-pad
|
|
6
|
+
*/
|
|
7
|
+
declare const _default: import("vue").DefineComponent<{
|
|
8
|
+
/**
|
|
9
|
+
* Indicates the element that represents the current item within a container or set of related elements.
|
|
10
|
+
*/
|
|
11
|
+
ariaCurrent: {
|
|
12
|
+
type: PropType<"page" | "step" | "location" | "date" | "time" | "true" | "false">;
|
|
13
|
+
default: undefined;
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* Indicates the helper-text's text.
|
|
17
|
+
*/
|
|
18
|
+
helperText: {
|
|
19
|
+
type: PropType<string>;
|
|
20
|
+
default: undefined;
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* Indicates the placeholder's text.
|
|
24
|
+
*/
|
|
25
|
+
placeholder: {
|
|
26
|
+
type: PropType<string>;
|
|
27
|
+
default: undefined;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Indicates the value's text.
|
|
31
|
+
*/
|
|
32
|
+
value: {
|
|
33
|
+
type: PropType<string>;
|
|
34
|
+
default: undefined;
|
|
35
|
+
};
|
|
36
|
+
/**
|
|
37
|
+
* Indicates the value's text.
|
|
38
|
+
*/
|
|
39
|
+
modelValue: {
|
|
40
|
+
type: PropType<string>;
|
|
41
|
+
default: undefined;
|
|
42
|
+
};
|
|
43
|
+
/**
|
|
44
|
+
* Indicates the dial pad's pattern.
|
|
45
|
+
*/
|
|
46
|
+
pattern: {
|
|
47
|
+
type: PropType<string>;
|
|
48
|
+
default: undefined;
|
|
49
|
+
};
|
|
50
|
+
/**
|
|
51
|
+
* Indicates the disabled state of the dial-pad.
|
|
52
|
+
*/
|
|
53
|
+
disabled: {
|
|
54
|
+
type: PropType<boolean>;
|
|
55
|
+
default: undefined;
|
|
56
|
+
};
|
|
57
|
+
/**
|
|
58
|
+
* Indicates the pending state of the dial-pad.
|
|
59
|
+
*/
|
|
60
|
+
pending: {
|
|
61
|
+
type: PropType<boolean>;
|
|
62
|
+
default: undefined;
|
|
63
|
+
};
|
|
64
|
+
/**
|
|
65
|
+
* Indicates the active state of the dial-pad.
|
|
66
|
+
*/
|
|
67
|
+
callActive: {
|
|
68
|
+
type: PropType<boolean>;
|
|
69
|
+
default: undefined;
|
|
70
|
+
};
|
|
71
|
+
/**
|
|
72
|
+
* Indicates the no-call state of the dial-pad.
|
|
73
|
+
*/
|
|
74
|
+
noCall: {
|
|
75
|
+
type: PropType<boolean>;
|
|
76
|
+
default: undefined;
|
|
77
|
+
};
|
|
78
|
+
endCallButtonLabel: {
|
|
79
|
+
type: PropType<string>;
|
|
80
|
+
default: undefined;
|
|
81
|
+
};
|
|
82
|
+
callButtonLabel: {
|
|
83
|
+
type: PropType<string>;
|
|
84
|
+
default: undefined;
|
|
85
|
+
};
|
|
86
|
+
}, {
|
|
87
|
+
componentName: import("vue").Ref<string>;
|
|
88
|
+
element: import("vue").Ref<DialPad | null>;
|
|
89
|
+
}, unknown, {}, {
|
|
90
|
+
valueChanged(_oldValue: string, newValue: string): unknown;
|
|
91
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "focus" | "blur" | "keydown" | "keyup" | "input" | "change" | "update:modelValue" | "keypad-click" | "dial" | "end-call")[], "click" | "focus" | "blur" | "keydown" | "keyup" | "input" | "change" | "update:modelValue" | "keypad-click" | "dial" | "end-call", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
92
|
+
/**
|
|
93
|
+
* Indicates the element that represents the current item within a container or set of related elements.
|
|
94
|
+
*/
|
|
95
|
+
ariaCurrent: {
|
|
96
|
+
type: PropType<"page" | "step" | "location" | "date" | "time" | "true" | "false">;
|
|
97
|
+
default: undefined;
|
|
98
|
+
};
|
|
99
|
+
/**
|
|
100
|
+
* Indicates the helper-text's text.
|
|
101
|
+
*/
|
|
102
|
+
helperText: {
|
|
103
|
+
type: PropType<string>;
|
|
104
|
+
default: undefined;
|
|
105
|
+
};
|
|
106
|
+
/**
|
|
107
|
+
* Indicates the placeholder's text.
|
|
108
|
+
*/
|
|
109
|
+
placeholder: {
|
|
110
|
+
type: PropType<string>;
|
|
111
|
+
default: undefined;
|
|
112
|
+
};
|
|
113
|
+
/**
|
|
114
|
+
* Indicates the value's text.
|
|
115
|
+
*/
|
|
116
|
+
value: {
|
|
117
|
+
type: PropType<string>;
|
|
118
|
+
default: undefined;
|
|
119
|
+
};
|
|
120
|
+
/**
|
|
121
|
+
* Indicates the value's text.
|
|
122
|
+
*/
|
|
123
|
+
modelValue: {
|
|
124
|
+
type: PropType<string>;
|
|
125
|
+
default: undefined;
|
|
126
|
+
};
|
|
127
|
+
/**
|
|
128
|
+
* Indicates the dial pad's pattern.
|
|
129
|
+
*/
|
|
130
|
+
pattern: {
|
|
131
|
+
type: PropType<string>;
|
|
132
|
+
default: undefined;
|
|
133
|
+
};
|
|
134
|
+
/**
|
|
135
|
+
* Indicates the disabled state of the dial-pad.
|
|
136
|
+
*/
|
|
137
|
+
disabled: {
|
|
138
|
+
type: PropType<boolean>;
|
|
139
|
+
default: undefined;
|
|
140
|
+
};
|
|
141
|
+
/**
|
|
142
|
+
* Indicates the pending state of the dial-pad.
|
|
143
|
+
*/
|
|
144
|
+
pending: {
|
|
145
|
+
type: PropType<boolean>;
|
|
146
|
+
default: undefined;
|
|
147
|
+
};
|
|
148
|
+
/**
|
|
149
|
+
* Indicates the active state of the dial-pad.
|
|
150
|
+
*/
|
|
151
|
+
callActive: {
|
|
152
|
+
type: PropType<boolean>;
|
|
153
|
+
default: undefined;
|
|
154
|
+
};
|
|
155
|
+
/**
|
|
156
|
+
* Indicates the no-call state of the dial-pad.
|
|
157
|
+
*/
|
|
158
|
+
noCall: {
|
|
159
|
+
type: PropType<boolean>;
|
|
160
|
+
default: undefined;
|
|
161
|
+
};
|
|
162
|
+
endCallButtonLabel: {
|
|
163
|
+
type: PropType<string>;
|
|
164
|
+
default: undefined;
|
|
165
|
+
};
|
|
166
|
+
callButtonLabel: {
|
|
167
|
+
type: PropType<string>;
|
|
168
|
+
default: undefined;
|
|
169
|
+
};
|
|
170
|
+
}>> & {
|
|
171
|
+
onKeydown?: ((...args: any[]) => any) | undefined;
|
|
172
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
173
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
174
|
+
onBlur?: ((...args: any[]) => any) | undefined;
|
|
175
|
+
onKeyup?: ((...args: any[]) => any) | undefined;
|
|
176
|
+
onInput?: ((...args: any[]) => any) | undefined;
|
|
177
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
178
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
179
|
+
"onKeypad-click"?: ((...args: any[]) => any) | undefined;
|
|
180
|
+
onDial?: ((...args: any[]) => any) | undefined;
|
|
181
|
+
"onEnd-call"?: ((...args: any[]) => any) | undefined;
|
|
182
|
+
}, {
|
|
183
|
+
ariaCurrent: "page" | "step" | "location" | "date" | "time" | "true" | "false";
|
|
184
|
+
value: string;
|
|
185
|
+
disabled: boolean;
|
|
186
|
+
pending: boolean;
|
|
187
|
+
modelValue: string;
|
|
188
|
+
helperText: string;
|
|
189
|
+
placeholder: string;
|
|
190
|
+
pattern: string;
|
|
191
|
+
callActive: boolean;
|
|
192
|
+
noCall: boolean;
|
|
193
|
+
endCallButtonLabel: string;
|
|
194
|
+
callButtonLabel: string;
|
|
195
|
+
}, SlotsType<Record<string, never>>>;
|
|
196
|
+
export default _default;
|