@vonage/vivid-vue 3.2.3 → 3.3.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/dist/generated/components/VAccordion.d.ts +9 -44
- package/dist/generated/components/VAccordion.vue2.d.ts +45 -0
- package/dist/generated/components/VAccordion.vue3.d.ts +53 -0
- package/dist/generated/components/VAccordionItem.d.ts +9 -151
- package/dist/generated/components/VAccordionItem.vue2.d.ts +152 -0
- package/dist/generated/components/VAccordionItem.vue3.d.ts +160 -0
- package/dist/generated/components/VActionGroup.d.ts +9 -90
- package/dist/generated/components/VActionGroup.vue2.d.ts +91 -0
- package/dist/generated/components/VActionGroup.vue3.d.ts +98 -0
- package/dist/generated/components/VAvatar.d.ts +9 -116
- package/dist/generated/components/VAvatar.vue2.d.ts +117 -0
- package/dist/generated/components/VAvatar.vue3.d.ts +124 -0
- package/dist/generated/components/VBadge.d.ts +9 -119
- package/dist/generated/components/VBadge.vue2.d.ts +120 -0
- package/dist/generated/components/VBadge.vue3.d.ts +127 -0
- package/dist/generated/components/VBanner.d.ts +9 -107
- package/dist/generated/components/VBanner.vue2.d.ts +108 -0
- package/dist/generated/components/VBanner.vue3.d.ts +115 -0
- package/dist/generated/components/VBreadcrumb.d.ts +9 -27
- package/dist/generated/components/VBreadcrumb.vue2.d.ts +28 -0
- package/dist/generated/components/VBreadcrumb.vue3.d.ts +35 -0
- package/dist/generated/components/VBreadcrumbItem.d.ts +9 -156
- package/dist/generated/components/VBreadcrumbItem.vue2.d.ts +157 -0
- package/dist/generated/components/VBreadcrumbItem.vue3.d.ts +164 -0
- package/dist/generated/components/VButton.d.ts +9 -369
- package/dist/generated/components/VButton.vue2.d.ts +370 -0
- package/dist/generated/components/VButton.vue3.d.ts +377 -0
- package/dist/generated/components/VCalendar.d.ts +9 -109
- package/dist/generated/components/VCalendar.vue2.d.ts +110 -0
- package/dist/generated/components/VCalendar.vue3.d.ts +117 -0
- package/dist/generated/components/VCalendarEvent.d.ts +9 -132
- package/dist/generated/components/VCalendarEvent.vue2.d.ts +133 -0
- package/dist/generated/components/VCalendarEvent.vue3.d.ts +140 -0
- package/dist/generated/components/VCard.d.ts +9 -110
- package/dist/generated/components/VCard.vue2.d.ts +111 -0
- package/dist/generated/components/VCard.vue3.d.ts +118 -0
- package/dist/generated/components/VCheckbox.d.ts +9 -180
- package/dist/generated/components/VCheckbox.vue2.d.ts +181 -0
- package/dist/generated/components/VCheckbox.vue3.d.ts +189 -0
- package/dist/generated/components/VCombobox.d.ts +9 -223
- package/dist/generated/components/VCombobox.vue2.d.ts +224 -0
- package/dist/generated/components/VCombobox.vue3.d.ts +232 -0
- package/dist/generated/components/VDataGrid.d.ts +9 -36
- package/dist/generated/components/VDataGrid.vue2.d.ts +37 -0
- package/dist/generated/components/VDataGrid.vue3.d.ts +44 -0
- package/dist/generated/components/VDialog.d.ts +9 -122
- package/dist/generated/components/VDialog.vue2.d.ts +123 -0
- package/dist/generated/components/VDialog.vue3.d.ts +131 -0
- package/dist/generated/components/VDivider.d.ts +9 -57
- package/dist/generated/components/VDivider.vue2.d.ts +58 -0
- package/dist/generated/components/VDivider.vue3.d.ts +65 -0
- package/dist/generated/components/VFab.d.ts +9 -309
- package/dist/generated/components/VFab.vue2.d.ts +310 -0
- package/dist/generated/components/VFab.vue3.d.ts +317 -0
- package/dist/generated/components/VHeader.d.ts +9 -57
- package/dist/generated/components/VHeader.vue2.d.ts +58 -0
- package/dist/generated/components/VHeader.vue3.d.ts +65 -0
- package/dist/generated/components/VIcon.d.ts +9 -65
- package/dist/generated/components/VIcon.vue2.d.ts +66 -0
- package/dist/generated/components/VIcon.vue3.d.ts +73 -0
- package/dist/generated/components/VLayout.d.ts +9 -87
- package/dist/generated/components/VLayout.vue2.d.ts +103 -0
- package/dist/generated/components/VLayout.vue3.d.ts +110 -0
- package/dist/generated/components/VMenu.d.ts +9 -72
- package/dist/generated/components/VMenu.vue2.d.ts +73 -0
- package/dist/generated/components/VMenu.vue3.d.ts +80 -0
- package/dist/generated/components/VMenuItem.d.ts +9 -134
- package/dist/generated/components/VMenuItem.vue2.d.ts +135 -0
- package/dist/generated/components/VMenuItem.vue3.d.ts +144 -0
- package/dist/generated/components/VNav.d.ts +9 -28
- package/dist/generated/components/VNav.vue2.d.ts +29 -0
- package/dist/generated/components/VNav.vue3.d.ts +36 -0
- package/dist/generated/components/VNavDisclosure.d.ts +9 -69
- package/dist/generated/components/VNavDisclosure.vue2.d.ts +70 -0
- package/dist/generated/components/VNavDisclosure.vue3.d.ts +77 -0
- package/dist/generated/components/VNavItem.d.ts +9 -180
- package/dist/generated/components/VNavItem.vue2.d.ts +181 -0
- package/dist/generated/components/VNavItem.vue3.d.ts +188 -0
- package/dist/generated/components/VNote.d.ts +9 -68
- package/dist/generated/components/VNote.vue2.d.ts +69 -0
- package/dist/generated/components/VNote.vue3.d.ts +76 -0
- package/dist/generated/components/VNumberField.d.ts +9 -381
- package/dist/generated/components/VNumberField.vue2.d.ts +382 -0
- package/dist/generated/components/VNumberField.vue3.d.ts +390 -0
- package/dist/generated/components/VOption.d.ts +9 -124
- package/dist/generated/components/VOption.vue2.d.ts +125 -0
- package/dist/generated/components/VOption.vue3.d.ts +132 -0
- package/dist/generated/components/VPopup.d.ts +9 -132
- package/dist/generated/components/VPopup.vue2.d.ts +133 -0
- package/dist/generated/components/VPopup.vue3.d.ts +140 -0
- package/dist/generated/components/VProgress.d.ts +9 -114
- package/dist/generated/components/VProgress.vue2.d.ts +115 -0
- package/dist/generated/components/VProgress.vue3.d.ts +122 -0
- package/dist/generated/components/VProgressRing.d.ts +9 -105
- package/dist/generated/components/VProgressRing.vue2.d.ts +106 -0
- package/dist/generated/components/VProgressRing.vue3.d.ts +113 -0
- package/dist/generated/components/VRadio.d.ts +9 -180
- package/dist/generated/components/VRadio.vue2.d.ts +181 -0
- package/dist/generated/components/VRadio.vue3.d.ts +189 -0
- package/dist/generated/components/VRadioGroup.d.ts +9 -119
- package/dist/generated/components/VRadioGroup.vue2.d.ts +120 -0
- package/dist/generated/components/VRadioGroup.vue3.d.ts +128 -0
- package/dist/generated/components/VSelect.d.ts +9 -237
- package/dist/generated/components/VSelect.vue2.d.ts +238 -0
- package/dist/generated/components/VSelect.vue3.d.ts +246 -0
- package/dist/generated/components/VSideDrawer.d.ts +9 -87
- package/dist/generated/components/VSideDrawer.vue2.d.ts +88 -0
- package/dist/generated/components/VSideDrawer.vue3.d.ts +95 -0
- package/dist/generated/components/VSlider.d.ts +9 -217
- package/dist/generated/components/VSlider.vue2.d.ts +218 -0
- package/dist/generated/components/VSlider.vue3.d.ts +226 -0
- package/dist/generated/components/VSwitch.d.ts +9 -51
- package/dist/generated/components/VSwitch.vue2.d.ts +52 -0
- package/dist/generated/components/VSwitch.vue3.d.ts +59 -0
- package/dist/generated/components/VTab.d.ts +9 -107
- package/dist/generated/components/VTab.vue2.d.ts +108 -0
- package/dist/generated/components/VTab.vue3.d.ts +115 -0
- package/dist/generated/components/VTabPanel.d.ts +9 -27
- package/dist/generated/components/VTabPanel.vue2.d.ts +28 -0
- package/dist/generated/components/VTabPanel.vue3.d.ts +35 -0
- package/dist/generated/components/VTabs.d.ts +9 -72
- package/dist/generated/components/VTabs.vue2.d.ts +73 -0
- package/dist/generated/components/VTabs.vue3.d.ts +81 -0
- package/dist/generated/components/VTag.d.ts +9 -164
- package/dist/generated/components/VTag.vue2.d.ts +165 -0
- package/dist/generated/components/VTag.vue3.d.ts +172 -0
- package/dist/generated/components/VTagGroup.d.ts +9 -27
- package/dist/generated/components/VTagGroup.vue2.d.ts +28 -0
- package/dist/generated/components/VTagGroup.vue3.d.ts +35 -0
- package/dist/generated/components/VTextArea.d.ts +9 -27
- package/dist/generated/components/VTextArea.vue2.d.ts +28 -0
- package/dist/generated/components/VTextArea.vue3.d.ts +35 -0
- package/dist/generated/components/VTextField.d.ts +9 -381
- package/dist/generated/components/VTextField.vue2.d.ts +382 -0
- package/dist/generated/components/VTextField.vue3.d.ts +390 -0
- package/dist/generated/components/VTooltip.d.ts +9 -149
- package/dist/generated/components/VTooltip.vue2.d.ts +72 -0
- package/dist/generated/components/VTooltip.vue3.d.ts +79 -0
- package/dist/generated/components/VTreeItem.d.ts +9 -104
- package/dist/generated/components/VTreeItem.vue2.d.ts +105 -0
- package/dist/generated/components/VTreeItem.vue3.d.ts +114 -0
- package/dist/generated/components/VTreeView.d.ts +9 -44
- package/dist/generated/components/VTreeView.vue2.d.ts +45 -0
- package/dist/generated/components/VTreeView.vue3.d.ts +52 -0
- package/dist/index.es.js +105 -95
- package/dist/index.umd.js +1 -1
- package/dist/web-types.json +14 -41
- package/package.json +6 -3
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import type { ProgressRing } from '@vonage/vivid/lib/progress-ring/progress-ring';
|
|
3
|
+
/**
|
|
4
|
+
* Base class for progress-ring
|
|
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
|
+
* The value of the progress
|
|
16
|
+
*/
|
|
17
|
+
value: {
|
|
18
|
+
type: PropType<number>;
|
|
19
|
+
default: undefined;
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* The minimum value
|
|
23
|
+
*/
|
|
24
|
+
min: {
|
|
25
|
+
type: PropType<number>;
|
|
26
|
+
default: undefined;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* The maximum value
|
|
30
|
+
*/
|
|
31
|
+
max: {
|
|
32
|
+
type: PropType<number>;
|
|
33
|
+
default: undefined;
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* Indicates the progress is paused
|
|
37
|
+
*/
|
|
38
|
+
paused: {
|
|
39
|
+
type: PropType<boolean>;
|
|
40
|
+
default: undefined;
|
|
41
|
+
};
|
|
42
|
+
connotation: {
|
|
43
|
+
type: PropType<"accent" | "cta" | "success" | "alert">;
|
|
44
|
+
default: undefined;
|
|
45
|
+
};
|
|
46
|
+
size: {
|
|
47
|
+
type: PropType<0 | 1 | 2 | 3 | 4 | 5 | -5 | -4 | -3 | -2 | -1>;
|
|
48
|
+
default: undefined;
|
|
49
|
+
};
|
|
50
|
+
}, {
|
|
51
|
+
componentName: import("vue").Ref<string>;
|
|
52
|
+
element: import("vue").Ref<ProgressRing | null>;
|
|
53
|
+
}, import("vue").Data, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, ("click" | "focus" | "blur" | "keydown" | "keyup" | "input")[], string, Readonly<import("vue").ExtractPropTypes<{
|
|
54
|
+
/**
|
|
55
|
+
* Indicates the element that represents the current item within a container or set of related elements.
|
|
56
|
+
*/
|
|
57
|
+
ariaCurrent: {
|
|
58
|
+
type: PropType<"page" | "step" | "location" | "date" | "time" | "true" | "false">;
|
|
59
|
+
default: undefined;
|
|
60
|
+
};
|
|
61
|
+
/**
|
|
62
|
+
* The value of the progress
|
|
63
|
+
*/
|
|
64
|
+
value: {
|
|
65
|
+
type: PropType<number>;
|
|
66
|
+
default: undefined;
|
|
67
|
+
};
|
|
68
|
+
/**
|
|
69
|
+
* The minimum value
|
|
70
|
+
*/
|
|
71
|
+
min: {
|
|
72
|
+
type: PropType<number>;
|
|
73
|
+
default: undefined;
|
|
74
|
+
};
|
|
75
|
+
/**
|
|
76
|
+
* The maximum value
|
|
77
|
+
*/
|
|
78
|
+
max: {
|
|
79
|
+
type: PropType<number>;
|
|
80
|
+
default: undefined;
|
|
81
|
+
};
|
|
82
|
+
/**
|
|
83
|
+
* Indicates the progress is paused
|
|
84
|
+
*/
|
|
85
|
+
paused: {
|
|
86
|
+
type: PropType<boolean>;
|
|
87
|
+
default: undefined;
|
|
88
|
+
};
|
|
89
|
+
connotation: {
|
|
90
|
+
type: PropType<"accent" | "cta" | "success" | "alert">;
|
|
91
|
+
default: undefined;
|
|
92
|
+
};
|
|
93
|
+
size: {
|
|
94
|
+
type: PropType<0 | 1 | 2 | 3 | 4 | 5 | -5 | -4 | -3 | -2 | -1>;
|
|
95
|
+
default: undefined;
|
|
96
|
+
};
|
|
97
|
+
}>>, {
|
|
98
|
+
ariaCurrent: "page" | "step" | "location" | "date" | "time" | "true" | "false";
|
|
99
|
+
value: number;
|
|
100
|
+
size: 0 | 1 | 2 | 3 | 4 | 5 | -5 | -4 | -3 | -2 | -1;
|
|
101
|
+
connotation: "accent" | "cta" | "success" | "alert";
|
|
102
|
+
max: number;
|
|
103
|
+
min: number;
|
|
104
|
+
paused: boolean;
|
|
105
|
+
}>;
|
|
106
|
+
export default _default;
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import type { ProgressRing } from '@vonage/vivid/lib/progress-ring/progress-ring';
|
|
3
|
+
/**
|
|
4
|
+
* Base class for progress-ring
|
|
5
|
+
*/
|
|
6
|
+
declare const _default: import("vue").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
|
+
* The value of the progress
|
|
16
|
+
*/
|
|
17
|
+
value: {
|
|
18
|
+
type: PropType<number>;
|
|
19
|
+
default: undefined;
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* The minimum value
|
|
23
|
+
*/
|
|
24
|
+
min: {
|
|
25
|
+
type: PropType<number>;
|
|
26
|
+
default: undefined;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* The maximum value
|
|
30
|
+
*/
|
|
31
|
+
max: {
|
|
32
|
+
type: PropType<number>;
|
|
33
|
+
default: undefined;
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* Indicates the progress is paused
|
|
37
|
+
*/
|
|
38
|
+
paused: {
|
|
39
|
+
type: PropType<boolean>;
|
|
40
|
+
default: undefined;
|
|
41
|
+
};
|
|
42
|
+
connotation: {
|
|
43
|
+
type: PropType<"accent" | "cta" | "success" | "alert">;
|
|
44
|
+
default: undefined;
|
|
45
|
+
};
|
|
46
|
+
size: {
|
|
47
|
+
type: PropType<0 | 1 | 2 | 3 | 4 | 5 | -5 | -4 | -3 | -2 | -1>;
|
|
48
|
+
default: undefined;
|
|
49
|
+
};
|
|
50
|
+
}, {
|
|
51
|
+
componentName: import("vue").Ref<string>;
|
|
52
|
+
element: import("vue").Ref<ProgressRing | null>;
|
|
53
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "focus" | "blur" | "keydown" | "keyup" | "input")[], "click" | "focus" | "blur" | "keydown" | "keyup" | "input", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
54
|
+
/**
|
|
55
|
+
* Indicates the element that represents the current item within a container or set of related elements.
|
|
56
|
+
*/
|
|
57
|
+
ariaCurrent: {
|
|
58
|
+
type: PropType<"page" | "step" | "location" | "date" | "time" | "true" | "false">;
|
|
59
|
+
default: undefined;
|
|
60
|
+
};
|
|
61
|
+
/**
|
|
62
|
+
* The value of the progress
|
|
63
|
+
*/
|
|
64
|
+
value: {
|
|
65
|
+
type: PropType<number>;
|
|
66
|
+
default: undefined;
|
|
67
|
+
};
|
|
68
|
+
/**
|
|
69
|
+
* The minimum value
|
|
70
|
+
*/
|
|
71
|
+
min: {
|
|
72
|
+
type: PropType<number>;
|
|
73
|
+
default: undefined;
|
|
74
|
+
};
|
|
75
|
+
/**
|
|
76
|
+
* The maximum value
|
|
77
|
+
*/
|
|
78
|
+
max: {
|
|
79
|
+
type: PropType<number>;
|
|
80
|
+
default: undefined;
|
|
81
|
+
};
|
|
82
|
+
/**
|
|
83
|
+
* Indicates the progress is paused
|
|
84
|
+
*/
|
|
85
|
+
paused: {
|
|
86
|
+
type: PropType<boolean>;
|
|
87
|
+
default: undefined;
|
|
88
|
+
};
|
|
89
|
+
connotation: {
|
|
90
|
+
type: PropType<"accent" | "cta" | "success" | "alert">;
|
|
91
|
+
default: undefined;
|
|
92
|
+
};
|
|
93
|
+
size: {
|
|
94
|
+
type: PropType<0 | 1 | 2 | 3 | 4 | 5 | -5 | -4 | -3 | -2 | -1>;
|
|
95
|
+
default: undefined;
|
|
96
|
+
};
|
|
97
|
+
}>> & {
|
|
98
|
+
onKeydown?: ((...args: any[]) => any) | undefined;
|
|
99
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
100
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
101
|
+
onBlur?: ((...args: any[]) => any) | undefined;
|
|
102
|
+
onKeyup?: ((...args: any[]) => any) | undefined;
|
|
103
|
+
onInput?: ((...args: any[]) => any) | undefined;
|
|
104
|
+
}, {
|
|
105
|
+
ariaCurrent: "page" | "step" | "location" | "date" | "time" | "true" | "false";
|
|
106
|
+
value: number;
|
|
107
|
+
size: 0 | 1 | 2 | 3 | 4 | 5 | -5 | -4 | -3 | -2 | -1;
|
|
108
|
+
connotation: "accent" | "cta" | "success" | "alert";
|
|
109
|
+
max: number;
|
|
110
|
+
min: number;
|
|
111
|
+
paused: boolean;
|
|
112
|
+
}>;
|
|
113
|
+
export default _default;
|
|
@@ -1,181 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
ariaCurrent: {
|
|
11
|
-
type: PropType<"page" | "step" | "location" | "date" | "time" | "true" | "false">;
|
|
12
|
-
default: undefined;
|
|
13
|
-
};
|
|
14
|
-
/**
|
|
15
|
-
* Sets the element's disabled state. A disabled element will not be included during form submission.
|
|
16
|
-
*/
|
|
17
|
-
disabled: {
|
|
18
|
-
type: PropType<boolean>;
|
|
19
|
-
default: undefined;
|
|
20
|
-
};
|
|
21
|
-
/**
|
|
22
|
-
* The initial value of the form. This value sets the `value` property
|
|
23
|
-
* only when the `value` property has not been explicitly set.
|
|
24
|
-
*/
|
|
25
|
-
value: {
|
|
26
|
-
type: PropType<string>;
|
|
27
|
-
default: undefined;
|
|
28
|
-
};
|
|
29
|
-
/**
|
|
30
|
-
* The current value of the element. This property serves as a mechanism
|
|
31
|
-
* to set the `value` property through both property assignment and the
|
|
32
|
-
* .setAttribute() method. This is useful for setting the field's value
|
|
33
|
-
* in UI libraries that bind data through the .setAttribute() API
|
|
34
|
-
* and don't support IDL attribute binding.
|
|
35
|
-
*/
|
|
36
|
-
currentValue: {
|
|
37
|
-
type: PropType<string>;
|
|
38
|
-
default: undefined;
|
|
39
|
-
};
|
|
40
|
-
/**
|
|
41
|
-
* The name of the element. This element's value will be surfaced during form submission under the provided name.
|
|
42
|
-
*/
|
|
43
|
-
name: {
|
|
44
|
-
type: PropType<string>;
|
|
45
|
-
default: undefined;
|
|
46
|
-
};
|
|
47
|
-
/**
|
|
48
|
-
* Require the field to be completed prior to form submission.
|
|
49
|
-
*/
|
|
50
|
-
required: {
|
|
51
|
-
type: PropType<boolean>;
|
|
52
|
-
default: undefined;
|
|
53
|
-
};
|
|
54
|
-
/**
|
|
55
|
-
* Provides the default checkedness of the input element
|
|
56
|
-
*/
|
|
57
|
-
checked: {
|
|
58
|
-
type: PropType<boolean>;
|
|
59
|
-
default: undefined;
|
|
60
|
-
};
|
|
61
|
-
/**
|
|
62
|
-
* The current checkedness of the element. This property serves as a mechanism
|
|
63
|
-
* to set the `checked` property through both property assignment and the
|
|
64
|
-
* .setAttribute() method. This is useful for setting the field's checkedness
|
|
65
|
-
* in UI libraries that bind data through the .setAttribute() API
|
|
66
|
-
* and don't support IDL attribute binding.
|
|
67
|
-
*/
|
|
68
|
-
currentChecked: {
|
|
69
|
-
type: PropType<boolean>;
|
|
70
|
-
default: undefined;
|
|
71
|
-
};
|
|
72
|
-
/**
|
|
73
|
-
* When true, the control will be immutable by user interaction. See https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly | readonly HTML attribute for more information.
|
|
74
|
-
*/
|
|
75
|
-
readonly: {
|
|
76
|
-
type: PropType<boolean>;
|
|
77
|
-
default: undefined;
|
|
78
|
-
};
|
|
79
|
-
/**
|
|
80
|
-
* Indicates the radio's label.
|
|
81
|
-
*/
|
|
82
|
-
label: {
|
|
83
|
-
type: PropType<string>;
|
|
84
|
-
default: undefined;
|
|
85
|
-
};
|
|
86
|
-
}, {
|
|
87
|
-
componentName: import("vue").Ref<string>;
|
|
88
|
-
element: import("vue").Ref<Radio | null>;
|
|
89
|
-
}, import("vue").Data, {}, {}, 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<{
|
|
90
|
-
/**
|
|
91
|
-
* Indicates the element that represents the current item within a container or set of related elements.
|
|
92
|
-
*/
|
|
93
|
-
ariaCurrent: {
|
|
94
|
-
type: PropType<"page" | "step" | "location" | "date" | "time" | "true" | "false">;
|
|
95
|
-
default: undefined;
|
|
96
|
-
};
|
|
97
|
-
/**
|
|
98
|
-
* Sets the element's disabled state. A disabled element will not be included during form submission.
|
|
99
|
-
*/
|
|
100
|
-
disabled: {
|
|
101
|
-
type: PropType<boolean>;
|
|
102
|
-
default: undefined;
|
|
103
|
-
};
|
|
104
|
-
/**
|
|
105
|
-
* The initial value of the form. This value sets the `value` property
|
|
106
|
-
* only when the `value` property has not been explicitly set.
|
|
107
|
-
*/
|
|
108
|
-
value: {
|
|
109
|
-
type: PropType<string>;
|
|
110
|
-
default: undefined;
|
|
111
|
-
};
|
|
112
|
-
/**
|
|
113
|
-
* The current value of the element. This property serves as a mechanism
|
|
114
|
-
* to set the `value` property through both property assignment and the
|
|
115
|
-
* .setAttribute() method. This is useful for setting the field's value
|
|
116
|
-
* in UI libraries that bind data through the .setAttribute() API
|
|
117
|
-
* and don't support IDL attribute binding.
|
|
118
|
-
*/
|
|
119
|
-
currentValue: {
|
|
120
|
-
type: PropType<string>;
|
|
121
|
-
default: undefined;
|
|
122
|
-
};
|
|
123
|
-
/**
|
|
124
|
-
* The name of the element. This element's value will be surfaced during form submission under the provided name.
|
|
125
|
-
*/
|
|
126
|
-
name: {
|
|
127
|
-
type: PropType<string>;
|
|
128
|
-
default: undefined;
|
|
129
|
-
};
|
|
130
|
-
/**
|
|
131
|
-
* Require the field to be completed prior to form submission.
|
|
132
|
-
*/
|
|
133
|
-
required: {
|
|
134
|
-
type: PropType<boolean>;
|
|
135
|
-
default: undefined;
|
|
136
|
-
};
|
|
137
|
-
/**
|
|
138
|
-
* Provides the default checkedness of the input element
|
|
139
|
-
*/
|
|
140
|
-
checked: {
|
|
141
|
-
type: PropType<boolean>;
|
|
142
|
-
default: undefined;
|
|
143
|
-
};
|
|
144
|
-
/**
|
|
145
|
-
* The current checkedness of the element. This property serves as a mechanism
|
|
146
|
-
* to set the `checked` property through both property assignment and the
|
|
147
|
-
* .setAttribute() method. This is useful for setting the field's checkedness
|
|
148
|
-
* in UI libraries that bind data through the .setAttribute() API
|
|
149
|
-
* and don't support IDL attribute binding.
|
|
150
|
-
*/
|
|
151
|
-
currentChecked: {
|
|
152
|
-
type: PropType<boolean>;
|
|
153
|
-
default: undefined;
|
|
154
|
-
};
|
|
155
|
-
/**
|
|
156
|
-
* When true, the control will be immutable by user interaction. See https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly | readonly HTML attribute for more information.
|
|
157
|
-
*/
|
|
158
|
-
readonly: {
|
|
159
|
-
type: PropType<boolean>;
|
|
160
|
-
default: undefined;
|
|
161
|
-
};
|
|
162
|
-
/**
|
|
163
|
-
* Indicates the radio's label.
|
|
164
|
-
*/
|
|
165
|
-
label: {
|
|
166
|
-
type: PropType<string>;
|
|
167
|
-
default: undefined;
|
|
168
|
-
};
|
|
169
|
-
}>>, {
|
|
170
|
-
ariaCurrent: "page" | "step" | "location" | "date" | "time" | "true" | "false";
|
|
171
|
-
name: string;
|
|
172
|
-
value: string;
|
|
173
|
-
disabled: boolean;
|
|
174
|
-
currentValue: string;
|
|
175
|
-
required: boolean;
|
|
176
|
-
label: string;
|
|
177
|
-
checked: boolean;
|
|
178
|
-
readonly: boolean;
|
|
179
|
-
currentChecked: boolean;
|
|
180
|
-
}>;
|
|
1
|
+
import { VNode } from 'vue';
|
|
2
|
+
import VRadioVue2 from './VRadio.vue2';
|
|
3
|
+
import VRadioVue3 from './VRadio.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 VRadioVue2 : typeof VRadioVue3;
|
|
181
10
|
export default _default;
|
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import type { Radio } from '@vonage/vivid/lib/radio/radio';
|
|
3
|
+
/**
|
|
4
|
+
* Base class for radio
|
|
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
|
+
* Sets the element's disabled state. A disabled element will not be included during form submission.
|
|
16
|
+
*/
|
|
17
|
+
disabled: {
|
|
18
|
+
type: PropType<boolean>;
|
|
19
|
+
default: undefined;
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* The initial value of the form. This value sets the `value` property
|
|
23
|
+
* only when the `value` property has not been explicitly set.
|
|
24
|
+
*/
|
|
25
|
+
value: {
|
|
26
|
+
type: PropType<string>;
|
|
27
|
+
default: undefined;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* The current value of the element. This property serves as a mechanism
|
|
31
|
+
* to set the `value` property through both property assignment and the
|
|
32
|
+
* .setAttribute() method. This is useful for setting the field's value
|
|
33
|
+
* in UI libraries that bind data through the .setAttribute() API
|
|
34
|
+
* and don't support IDL attribute binding.
|
|
35
|
+
*/
|
|
36
|
+
currentValue: {
|
|
37
|
+
type: PropType<string>;
|
|
38
|
+
default: undefined;
|
|
39
|
+
};
|
|
40
|
+
/**
|
|
41
|
+
* The name of the element. This element's value will be surfaced during form submission under the provided name.
|
|
42
|
+
*/
|
|
43
|
+
name: {
|
|
44
|
+
type: PropType<string>;
|
|
45
|
+
default: undefined;
|
|
46
|
+
};
|
|
47
|
+
/**
|
|
48
|
+
* Require the field to be completed prior to form submission.
|
|
49
|
+
*/
|
|
50
|
+
required: {
|
|
51
|
+
type: PropType<boolean>;
|
|
52
|
+
default: undefined;
|
|
53
|
+
};
|
|
54
|
+
/**
|
|
55
|
+
* Provides the default checkedness of the input element
|
|
56
|
+
*/
|
|
57
|
+
checked: {
|
|
58
|
+
type: PropType<boolean>;
|
|
59
|
+
default: undefined;
|
|
60
|
+
};
|
|
61
|
+
/**
|
|
62
|
+
* The current checkedness of the element. This property serves as a mechanism
|
|
63
|
+
* to set the `checked` property through both property assignment and the
|
|
64
|
+
* .setAttribute() method. This is useful for setting the field's checkedness
|
|
65
|
+
* in UI libraries that bind data through the .setAttribute() API
|
|
66
|
+
* and don't support IDL attribute binding.
|
|
67
|
+
*/
|
|
68
|
+
currentChecked: {
|
|
69
|
+
type: PropType<boolean>;
|
|
70
|
+
default: undefined;
|
|
71
|
+
};
|
|
72
|
+
/**
|
|
73
|
+
* When true, the control will be immutable by user interaction. See https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly | readonly HTML attribute for more information.
|
|
74
|
+
*/
|
|
75
|
+
readonly: {
|
|
76
|
+
type: PropType<boolean>;
|
|
77
|
+
default: undefined;
|
|
78
|
+
};
|
|
79
|
+
/**
|
|
80
|
+
* Indicates the radio's label.
|
|
81
|
+
*/
|
|
82
|
+
label: {
|
|
83
|
+
type: PropType<string>;
|
|
84
|
+
default: undefined;
|
|
85
|
+
};
|
|
86
|
+
}, {
|
|
87
|
+
componentName: import("vue").Ref<string>;
|
|
88
|
+
element: import("vue").Ref<Radio | null>;
|
|
89
|
+
}, import("vue").Data, {}, {}, 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<{
|
|
90
|
+
/**
|
|
91
|
+
* Indicates the element that represents the current item within a container or set of related elements.
|
|
92
|
+
*/
|
|
93
|
+
ariaCurrent: {
|
|
94
|
+
type: PropType<"page" | "step" | "location" | "date" | "time" | "true" | "false">;
|
|
95
|
+
default: undefined;
|
|
96
|
+
};
|
|
97
|
+
/**
|
|
98
|
+
* Sets the element's disabled state. A disabled element will not be included during form submission.
|
|
99
|
+
*/
|
|
100
|
+
disabled: {
|
|
101
|
+
type: PropType<boolean>;
|
|
102
|
+
default: undefined;
|
|
103
|
+
};
|
|
104
|
+
/**
|
|
105
|
+
* The initial value of the form. This value sets the `value` property
|
|
106
|
+
* only when the `value` property has not been explicitly set.
|
|
107
|
+
*/
|
|
108
|
+
value: {
|
|
109
|
+
type: PropType<string>;
|
|
110
|
+
default: undefined;
|
|
111
|
+
};
|
|
112
|
+
/**
|
|
113
|
+
* The current value of the element. This property serves as a mechanism
|
|
114
|
+
* to set the `value` property through both property assignment and the
|
|
115
|
+
* .setAttribute() method. This is useful for setting the field's value
|
|
116
|
+
* in UI libraries that bind data through the .setAttribute() API
|
|
117
|
+
* and don't support IDL attribute binding.
|
|
118
|
+
*/
|
|
119
|
+
currentValue: {
|
|
120
|
+
type: PropType<string>;
|
|
121
|
+
default: undefined;
|
|
122
|
+
};
|
|
123
|
+
/**
|
|
124
|
+
* The name of the element. This element's value will be surfaced during form submission under the provided name.
|
|
125
|
+
*/
|
|
126
|
+
name: {
|
|
127
|
+
type: PropType<string>;
|
|
128
|
+
default: undefined;
|
|
129
|
+
};
|
|
130
|
+
/**
|
|
131
|
+
* Require the field to be completed prior to form submission.
|
|
132
|
+
*/
|
|
133
|
+
required: {
|
|
134
|
+
type: PropType<boolean>;
|
|
135
|
+
default: undefined;
|
|
136
|
+
};
|
|
137
|
+
/**
|
|
138
|
+
* Provides the default checkedness of the input element
|
|
139
|
+
*/
|
|
140
|
+
checked: {
|
|
141
|
+
type: PropType<boolean>;
|
|
142
|
+
default: undefined;
|
|
143
|
+
};
|
|
144
|
+
/**
|
|
145
|
+
* The current checkedness of the element. This property serves as a mechanism
|
|
146
|
+
* to set the `checked` property through both property assignment and the
|
|
147
|
+
* .setAttribute() method. This is useful for setting the field's checkedness
|
|
148
|
+
* in UI libraries that bind data through the .setAttribute() API
|
|
149
|
+
* and don't support IDL attribute binding.
|
|
150
|
+
*/
|
|
151
|
+
currentChecked: {
|
|
152
|
+
type: PropType<boolean>;
|
|
153
|
+
default: undefined;
|
|
154
|
+
};
|
|
155
|
+
/**
|
|
156
|
+
* When true, the control will be immutable by user interaction. See https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly | readonly HTML attribute for more information.
|
|
157
|
+
*/
|
|
158
|
+
readonly: {
|
|
159
|
+
type: PropType<boolean>;
|
|
160
|
+
default: undefined;
|
|
161
|
+
};
|
|
162
|
+
/**
|
|
163
|
+
* Indicates the radio's label.
|
|
164
|
+
*/
|
|
165
|
+
label: {
|
|
166
|
+
type: PropType<string>;
|
|
167
|
+
default: undefined;
|
|
168
|
+
};
|
|
169
|
+
}>>, {
|
|
170
|
+
name: string;
|
|
171
|
+
ariaCurrent: "page" | "step" | "location" | "date" | "time" | "true" | "false";
|
|
172
|
+
value: string;
|
|
173
|
+
disabled: boolean;
|
|
174
|
+
currentValue: string;
|
|
175
|
+
required: boolean;
|
|
176
|
+
label: string;
|
|
177
|
+
checked: boolean;
|
|
178
|
+
readonly: boolean;
|
|
179
|
+
currentChecked: boolean;
|
|
180
|
+
}>;
|
|
181
|
+
export default _default;
|