@vonage/vivid-vue 3.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/generated/components/VAccordion.d.ts +45 -0
- package/dist/generated/components/VAccordionItem.d.ts +152 -0
- package/dist/generated/components/VActionGroup.d.ts +91 -0
- package/dist/generated/components/VAvatar.d.ts +117 -0
- package/dist/generated/components/VBadge.d.ts +120 -0
- package/dist/generated/components/VBanner.d.ts +108 -0
- package/dist/generated/components/VBreadcrumb.d.ts +28 -0
- package/dist/generated/components/VBreadcrumbItem.d.ts +157 -0
- package/dist/generated/components/VButton.d.ts +370 -0
- package/dist/generated/components/VCalendar.d.ts +110 -0
- package/dist/generated/components/VCalendarEvent.d.ts +133 -0
- package/dist/generated/components/VCard.d.ts +111 -0
- package/dist/generated/components/VCheckbox.d.ts +181 -0
- package/dist/generated/components/VCombobox.d.ts +224 -0
- package/dist/generated/components/VDataGrid.d.ts +37 -0
- package/dist/generated/components/VDialog.d.ts +123 -0
- package/dist/generated/components/VDivider.d.ts +58 -0
- package/dist/generated/components/VFab.d.ts +310 -0
- package/dist/generated/components/VHeader.d.ts +58 -0
- package/dist/generated/components/VIcon.d.ts +66 -0
- package/dist/generated/components/VLayout.d.ts +88 -0
- package/dist/generated/components/VMenu.d.ts +73 -0
- package/dist/generated/components/VMenuItem.d.ts +135 -0
- package/dist/generated/components/VNav.d.ts +29 -0
- package/dist/generated/components/VNavDisclosure.d.ts +70 -0
- package/dist/generated/components/VNavItem.d.ts +181 -0
- package/dist/generated/components/VNote.d.ts +69 -0
- package/dist/generated/components/VNumberField.d.ts +382 -0
- package/dist/generated/components/VOption.d.ts +125 -0
- package/dist/generated/components/VPopup.d.ts +133 -0
- package/dist/generated/components/VProgress.d.ts +115 -0
- package/dist/generated/components/VProgressRing.d.ts +106 -0
- package/dist/generated/components/VRadio.d.ts +181 -0
- package/dist/generated/components/VRadioGroup.d.ts +120 -0
- package/dist/generated/components/VSelect.d.ts +223 -0
- package/dist/generated/components/VSideDrawer.d.ts +88 -0
- package/dist/generated/components/VSlider.d.ts +218 -0
- package/dist/generated/components/VSwitch.d.ts +52 -0
- package/dist/generated/components/VTab.d.ts +108 -0
- package/dist/generated/components/VTabPanel.d.ts +28 -0
- package/dist/generated/components/VTabs.d.ts +73 -0
- package/dist/generated/components/VTextArea.d.ts +97 -0
- package/dist/generated/components/VTextField.d.ts +367 -0
- package/dist/generated/components/VTooltip.d.ts +150 -0
- package/dist/generated/components/VTreeItem.d.ts +105 -0
- package/dist/generated/components/VTreeView.d.ts +45 -0
- package/dist/generated/components/index.d.ts +46 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.es.js +24162 -0
- package/dist/index.umd.js +5415 -0
- package/dist/init/prefix.d.ts +6 -0
- package/dist/utils/register.d.ts +8 -0
- package/dist/utils/slots.d.ts +7 -0
- package/dist/web-types.json +4789 -0
- package/package.json +46 -0
|
@@ -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,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
|
+
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
|
+
}>;
|
|
181
|
+
export default _default;
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import type { RadioGroup } from '@vonage/vivid/lib/radio-group/radio-group';
|
|
3
|
+
/**
|
|
4
|
+
* Base class for radio-group
|
|
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
|
+
* When true, the child radios will be immutable by user interaction. See https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly | readonly HTML attribute for more information.
|
|
16
|
+
*/
|
|
17
|
+
readonly: {
|
|
18
|
+
type: PropType<boolean>;
|
|
19
|
+
default: undefined;
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* Disables the radio group and child radios.
|
|
23
|
+
*/
|
|
24
|
+
disabled: {
|
|
25
|
+
type: PropType<boolean>;
|
|
26
|
+
default: undefined;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* The name of the radio group. Setting this value will set the name value
|
|
30
|
+
* for all child radio elements.
|
|
31
|
+
*/
|
|
32
|
+
name: {
|
|
33
|
+
type: PropType<string>;
|
|
34
|
+
default: undefined;
|
|
35
|
+
};
|
|
36
|
+
/**
|
|
37
|
+
* The value of the checked radio
|
|
38
|
+
*/
|
|
39
|
+
modelValue: {
|
|
40
|
+
type: PropType<string>;
|
|
41
|
+
default: undefined;
|
|
42
|
+
};
|
|
43
|
+
/**
|
|
44
|
+
* The orientation of the group
|
|
45
|
+
*/
|
|
46
|
+
orientation: {
|
|
47
|
+
type: PropType<"horizontal" | "vertical">;
|
|
48
|
+
default: undefined;
|
|
49
|
+
};
|
|
50
|
+
/**
|
|
51
|
+
* Indicates the group's label.
|
|
52
|
+
*/
|
|
53
|
+
label: {
|
|
54
|
+
type: PropType<string>;
|
|
55
|
+
default: undefined;
|
|
56
|
+
};
|
|
57
|
+
}, {
|
|
58
|
+
componentName: import("vue").Ref<string>;
|
|
59
|
+
element: import("vue").Ref<RadioGroup | null>;
|
|
60
|
+
}, import("vue").Data, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, ("click" | "focus" | "blur" | "keydown" | "keyup" | "input" | "update:modelValue")[], string, Readonly<import("vue").ExtractPropTypes<{
|
|
61
|
+
/**
|
|
62
|
+
* Indicates the element that represents the current item within a container or set of related elements.
|
|
63
|
+
*/
|
|
64
|
+
ariaCurrent: {
|
|
65
|
+
type: PropType<"page" | "step" | "location" | "date" | "time" | "true" | "false">;
|
|
66
|
+
default: undefined;
|
|
67
|
+
};
|
|
68
|
+
/**
|
|
69
|
+
* When true, the child radios will be immutable by user interaction. See https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly | readonly HTML attribute for more information.
|
|
70
|
+
*/
|
|
71
|
+
readonly: {
|
|
72
|
+
type: PropType<boolean>;
|
|
73
|
+
default: undefined;
|
|
74
|
+
};
|
|
75
|
+
/**
|
|
76
|
+
* Disables the radio group and child radios.
|
|
77
|
+
*/
|
|
78
|
+
disabled: {
|
|
79
|
+
type: PropType<boolean>;
|
|
80
|
+
default: undefined;
|
|
81
|
+
};
|
|
82
|
+
/**
|
|
83
|
+
* The name of the radio group. Setting this value will set the name value
|
|
84
|
+
* for all child radio elements.
|
|
85
|
+
*/
|
|
86
|
+
name: {
|
|
87
|
+
type: PropType<string>;
|
|
88
|
+
default: undefined;
|
|
89
|
+
};
|
|
90
|
+
/**
|
|
91
|
+
* The value of the checked radio
|
|
92
|
+
*/
|
|
93
|
+
modelValue: {
|
|
94
|
+
type: PropType<string>;
|
|
95
|
+
default: undefined;
|
|
96
|
+
};
|
|
97
|
+
/**
|
|
98
|
+
* The orientation of the group
|
|
99
|
+
*/
|
|
100
|
+
orientation: {
|
|
101
|
+
type: PropType<"horizontal" | "vertical">;
|
|
102
|
+
default: undefined;
|
|
103
|
+
};
|
|
104
|
+
/**
|
|
105
|
+
* Indicates the group's label.
|
|
106
|
+
*/
|
|
107
|
+
label: {
|
|
108
|
+
type: PropType<string>;
|
|
109
|
+
default: undefined;
|
|
110
|
+
};
|
|
111
|
+
}>>, {
|
|
112
|
+
ariaCurrent: "page" | "step" | "location" | "date" | "time" | "true" | "false";
|
|
113
|
+
name: string;
|
|
114
|
+
disabled: boolean;
|
|
115
|
+
label: string;
|
|
116
|
+
modelValue: string;
|
|
117
|
+
readonly: boolean;
|
|
118
|
+
orientation: "horizontal" | "vertical";
|
|
119
|
+
}>;
|
|
120
|
+
export default _default;
|