@vonage/vivid-vue 3.51.0 → 3.52.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/generated/components/VAccordion.vue2.d.ts +0 -3
- package/generated/components/VAccordion.vue3.d.ts +0 -3
- package/generated/components/VActionGroup.vue2.d.ts +0 -3
- package/generated/components/VActionGroup.vue3.d.ts +0 -3
- package/generated/components/VAlert.vue2.d.ts +0 -3
- package/generated/components/VAlert.vue3.d.ts +0 -3
- package/generated/components/VAudioPlayer.vue2.d.ts +0 -3
- package/generated/components/VAudioPlayer.vue3.d.ts +0 -3
- package/generated/components/VBadge.vue2.d.ts +0 -3
- package/generated/components/VBadge.vue3.d.ts +0 -3
- package/generated/components/VBanner.vue2.d.ts +0 -3
- package/generated/components/VBanner.vue3.d.ts +0 -3
- package/generated/components/VBreadcrumb.vue2.d.ts +0 -3
- package/generated/components/VBreadcrumb.vue3.d.ts +0 -3
- package/generated/components/VBreadcrumbItem.vue2.d.ts +0 -3
- package/generated/components/VBreadcrumbItem.vue3.d.ts +0 -3
- package/generated/components/VButton.vue2.d.ts +15 -3
- package/generated/components/VButton.vue3.d.ts +15 -3
- package/generated/components/VCalendar.vue2.d.ts +0 -3
- package/generated/components/VCalendar.vue3.d.ts +0 -3
- package/generated/components/VCalendarEvent.vue2.d.ts +0 -3
- package/generated/components/VCalendarEvent.vue3.d.ts +0 -3
- package/generated/components/VCard.vue2.d.ts +0 -3
- package/generated/components/VCard.vue3.d.ts +0 -3
- package/generated/components/VCheckbox.vue2.d.ts +0 -3
- package/generated/components/VCheckbox.vue3.d.ts +0 -3
- package/generated/components/VCombobox.vue2.d.ts +0 -3
- package/generated/components/VCombobox.vue3.d.ts +0 -3
- package/generated/components/VDataGrid.vue2.d.ts +0 -3
- package/generated/components/VDataGrid.vue3.d.ts +0 -3
- package/generated/components/VDataGridCell.vue2.d.ts +1 -4
- package/generated/components/VDataGridCell.vue3.d.ts +1 -4
- package/generated/components/VDataGridRow.vue2.d.ts +0 -3
- package/generated/components/VDataGridRow.vue3.d.ts +0 -3
- package/generated/components/VDateRangePicker.vue2.d.ts +0 -3
- package/generated/components/VDateRangePicker.vue3.d.ts +0 -3
- package/generated/components/VDialog.vue2.d.ts +0 -3
- package/generated/components/VDialog.vue3.d.ts +0 -3
- package/generated/components/VDivider.vue2.d.ts +0 -3
- package/generated/components/VDivider.vue3.d.ts +0 -3
- package/generated/components/VFab.vue2.d.ts +0 -3
- package/generated/components/VFab.vue3.d.ts +0 -3
- package/generated/components/VFilePicker.vue2.d.ts +0 -3
- package/generated/components/VFilePicker.vue3.d.ts +0 -3
- package/generated/components/VHeader.vue2.d.ts +0 -3
- package/generated/components/VHeader.vue3.d.ts +0 -3
- package/generated/components/VLayout.vue2.d.ts +0 -2
- package/generated/components/VLayout.vue3.d.ts +0 -2
- package/generated/components/VMenu.vue2.d.ts +0 -3
- package/generated/components/VMenu.vue3.d.ts +0 -3
- package/generated/components/VMenuItem.vue2.d.ts +15 -3
- package/generated/components/VMenuItem.vue3.d.ts +15 -3
- package/generated/components/VNav.vue2.d.ts +0 -4
- package/generated/components/VNav.vue3.d.ts +0 -4
- package/generated/components/VNavDisclosure.vue2.d.ts +0 -4
- package/generated/components/VNavDisclosure.vue3.d.ts +0 -4
- package/generated/components/VNote.vue2.d.ts +0 -3
- package/generated/components/VNote.vue3.d.ts +0 -3
- package/generated/components/VNumberField.vue2.d.ts +0 -3
- package/generated/components/VNumberField.vue3.d.ts +0 -3
- package/generated/components/VOption.vue2.d.ts +0 -3
- package/generated/components/VOption.vue3.d.ts +0 -3
- package/generated/components/VPagination.vue2.d.ts +0 -3
- package/generated/components/VPagination.vue3.d.ts +0 -3
- package/generated/components/VProgress.vue2.d.ts +0 -3
- package/generated/components/VProgress.vue3.d.ts +0 -3
- package/generated/components/VProgressRing.vue2.d.ts +0 -3
- package/generated/components/VProgressRing.vue3.d.ts +0 -3
- package/generated/components/VRadio.vue2.d.ts +0 -3
- package/generated/components/VRadio.vue3.d.ts +0 -3
- package/generated/components/VRadioGroup.vue2.d.ts +0 -3
- package/generated/components/VRadioGroup.vue3.d.ts +0 -3
- package/generated/components/VRangeSlider.d.ts +10 -0
- package/generated/components/VRangeSlider.vue2.d.ts +296 -0
- package/generated/components/VRangeSlider.vue3.d.ts +308 -0
- package/generated/components/VSelect.vue2.d.ts +0 -3
- package/generated/components/VSelect.vue3.d.ts +0 -3
- package/generated/components/VSelectableBox.vue2.d.ts +0 -3
- package/generated/components/VSelectableBox.vue3.d.ts +0 -3
- package/generated/components/VSideDrawer.vue2.d.ts +0 -3
- package/generated/components/VSideDrawer.vue3.d.ts +0 -3
- package/generated/components/VSlider.vue2.d.ts +1 -4
- package/generated/components/VSlider.vue3.d.ts +1 -4
- package/generated/components/VSplitButton.vue2.d.ts +0 -3
- package/generated/components/VSplitButton.vue3.d.ts +0 -3
- package/generated/components/VSwitch.vue2.d.ts +0 -3
- package/generated/components/VSwitch.vue3.d.ts +0 -3
- package/generated/components/VTab.vue2.d.ts +1 -4
- package/generated/components/VTab.vue3.d.ts +1 -4
- package/generated/components/VTabPanel.vue2.d.ts +0 -3
- package/generated/components/VTabPanel.vue3.d.ts +0 -3
- package/generated/components/VTabs.vue2.d.ts +0 -3
- package/generated/components/VTabs.vue3.d.ts +0 -3
- package/generated/components/VTag.vue2.d.ts +0 -3
- package/generated/components/VTag.vue3.d.ts +0 -3
- package/generated/components/VTagGroup.vue2.d.ts +0 -3
- package/generated/components/VTagGroup.vue3.d.ts +0 -3
- package/generated/components/VTextArea.vue2.d.ts +0 -3
- package/generated/components/VTextArea.vue3.d.ts +0 -3
- package/generated/components/VTimePicker.vue2.d.ts +0 -3
- package/generated/components/VTimePicker.vue3.d.ts +0 -3
- package/generated/components/VToggletip.vue2.d.ts +0 -3
- package/generated/components/VToggletip.vue3.d.ts +0 -3
- package/generated/components/VTooltip.vue2.d.ts +0 -3
- package/generated/components/VTooltip.vue3.d.ts +0 -3
- package/generated/components/VTreeItem.vue2.d.ts +0 -3
- package/generated/components/VTreeItem.vue3.d.ts +0 -3
- package/generated/components/VTreeView.vue2.d.ts +0 -3
- package/generated/components/VTreeView.vue3.d.ts +0 -3
- package/generated/components/index.d.ts +3 -2
- package/index.cjs +1543 -1277
- package/index.js +1544 -1279
- package/package.json +2 -2
- package/web-types.json +463 -249
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import type { MenuItem } from '@vonage/vivid/lib/menu-item/menu-item';
|
|
3
|
-
/**
|
|
4
|
-
* Base class for menu-item
|
|
5
|
-
*/
|
|
6
3
|
declare const _default: import("vue/types/v3-define-component").DefineComponent<{
|
|
7
4
|
/**
|
|
8
5
|
* A decorative icon the custom element should have.
|
|
@@ -61,6 +58,13 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
|
|
|
61
58
|
type: PropType<string>;
|
|
62
59
|
default: undefined;
|
|
63
60
|
};
|
|
61
|
+
/**
|
|
62
|
+
* The connotation the fab should have.
|
|
63
|
+
*/
|
|
64
|
+
connotation: {
|
|
65
|
+
type: PropType<"accent" | "cta">;
|
|
66
|
+
default: undefined;
|
|
67
|
+
};
|
|
64
68
|
/**
|
|
65
69
|
* Controls the placement of the menu item's checkmark or radio icon.
|
|
66
70
|
*/
|
|
@@ -136,6 +140,13 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
|
|
|
136
140
|
type: PropType<string>;
|
|
137
141
|
default: undefined;
|
|
138
142
|
};
|
|
143
|
+
/**
|
|
144
|
+
* The connotation the fab should have.
|
|
145
|
+
*/
|
|
146
|
+
connotation: {
|
|
147
|
+
type: PropType<"accent" | "cta">;
|
|
148
|
+
default: undefined;
|
|
149
|
+
};
|
|
139
150
|
/**
|
|
140
151
|
* Controls the placement of the menu item's checkmark or radio icon.
|
|
141
152
|
*/
|
|
@@ -156,6 +167,7 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
|
|
|
156
167
|
expanded: boolean;
|
|
157
168
|
role: "presentation" | "menuitem" | "menuitemcheckbox" | "menuitemradio";
|
|
158
169
|
text: string;
|
|
170
|
+
connotation: "accent" | "cta";
|
|
159
171
|
disabled: boolean;
|
|
160
172
|
modelValue: boolean;
|
|
161
173
|
textSecondary: string;
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import type { MenuItem } from '@vonage/vivid/lib/menu-item/menu-item';
|
|
3
3
|
import type { SlotsType } from 'vue';
|
|
4
|
-
/**
|
|
5
|
-
* Base class for menu-item
|
|
6
|
-
*/
|
|
7
4
|
declare const _default: import("vue").DefineComponent<{
|
|
8
5
|
/**
|
|
9
6
|
* A decorative icon the custom element should have.
|
|
@@ -62,6 +59,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
62
59
|
type: PropType<string>;
|
|
63
60
|
default: undefined;
|
|
64
61
|
};
|
|
62
|
+
/**
|
|
63
|
+
* The connotation the fab should have.
|
|
64
|
+
*/
|
|
65
|
+
connotation: {
|
|
66
|
+
type: PropType<"accent" | "cta">;
|
|
67
|
+
default: undefined;
|
|
68
|
+
};
|
|
65
69
|
/**
|
|
66
70
|
* Controls the placement of the menu item's checkmark or radio icon.
|
|
67
71
|
*/
|
|
@@ -137,6 +141,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
137
141
|
type: PropType<string>;
|
|
138
142
|
default: undefined;
|
|
139
143
|
};
|
|
144
|
+
/**
|
|
145
|
+
* The connotation the fab should have.
|
|
146
|
+
*/
|
|
147
|
+
connotation: {
|
|
148
|
+
type: PropType<"accent" | "cta">;
|
|
149
|
+
default: undefined;
|
|
150
|
+
};
|
|
140
151
|
/**
|
|
141
152
|
* Controls the placement of the menu item's checkmark or radio icon.
|
|
142
153
|
*/
|
|
@@ -167,6 +178,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
167
178
|
expanded: boolean;
|
|
168
179
|
role: "presentation" | "menuitem" | "menuitemcheckbox" | "menuitemradio";
|
|
169
180
|
text: string;
|
|
181
|
+
connotation: "accent" | "cta";
|
|
170
182
|
disabled: boolean;
|
|
171
183
|
modelValue: boolean;
|
|
172
184
|
textSecondary: string;
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import type { Nav } from '@vonage/vivid/lib/nav/nav';
|
|
3
|
-
/**
|
|
4
|
-
* A Nav Item Custom HTML Element.
|
|
5
|
-
* Based largely on the https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element .
|
|
6
|
-
*/
|
|
7
3
|
declare const _default: import("vue/types/v3-define-component").DefineComponent<{
|
|
8
4
|
/**
|
|
9
5
|
* Indicates the element that represents the current item within a container or set of related elements.
|
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import type { Nav } from '@vonage/vivid/lib/nav/nav';
|
|
3
3
|
import type { SlotsType } from 'vue';
|
|
4
|
-
/**
|
|
5
|
-
* A Nav Item Custom HTML Element.
|
|
6
|
-
* Based largely on the https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element .
|
|
7
|
-
*/
|
|
8
4
|
declare const _default: import("vue").DefineComponent<{
|
|
9
5
|
/**
|
|
10
6
|
* Indicates the element that represents the current item within a container or set of related elements.
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import type { NavDisclosure } from '@vonage/vivid/lib/nav-disclosure/nav-disclosure';
|
|
3
|
-
/**
|
|
4
|
-
* A Nav Item Custom HTML Element.
|
|
5
|
-
* Based largely on the https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element .
|
|
6
|
-
*/
|
|
7
3
|
declare const _default: import("vue/types/v3-define-component").DefineComponent<{
|
|
8
4
|
/**
|
|
9
5
|
* A decorative icon the custom element should have.
|
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import type { NavDisclosure } from '@vonage/vivid/lib/nav-disclosure/nav-disclosure';
|
|
3
3
|
import type { SlotsType } from 'vue';
|
|
4
|
-
/**
|
|
5
|
-
* A Nav Item Custom HTML Element.
|
|
6
|
-
* Based largely on the https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element .
|
|
7
|
-
*/
|
|
8
4
|
declare const _default: import("vue").DefineComponent<{
|
|
9
5
|
/**
|
|
10
6
|
* A decorative icon the custom element should have.
|
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import type { Note } from '@vonage/vivid/lib/note/note';
|
|
3
|
-
/**
|
|
4
|
-
* Base class for note
|
|
5
|
-
*/
|
|
6
3
|
declare const _default: import("vue/types/v3-define-component").DefineComponent<{
|
|
7
4
|
/**
|
|
8
5
|
* A decorative icon the custom element should have.
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import type { Note } from '@vonage/vivid/lib/note/note';
|
|
3
3
|
import type { SlotsType } from 'vue';
|
|
4
|
-
/**
|
|
5
|
-
* Base class for note
|
|
6
|
-
*/
|
|
7
4
|
declare const _default: import("vue").DefineComponent<{
|
|
8
5
|
/**
|
|
9
6
|
* A decorative icon the custom element should have.
|
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import type { NumberField } from '@vonage/vivid/lib/number-field/number-field';
|
|
3
|
-
/**
|
|
4
|
-
* Base class for number-field
|
|
5
|
-
*/
|
|
6
3
|
declare const _default: import("vue/types/v3-define-component").DefineComponent<{
|
|
7
4
|
/**
|
|
8
5
|
* The success text for the form element.
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import type { NumberField } from '@vonage/vivid/lib/number-field/number-field';
|
|
3
3
|
import type { SlotsType } from 'vue';
|
|
4
|
-
/**
|
|
5
|
-
* Base class for number-field
|
|
6
|
-
*/
|
|
7
4
|
declare const _default: import("vue").DefineComponent<{
|
|
8
5
|
/**
|
|
9
6
|
* The success text for the form element.
|
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import type { ListboxOption } from '@vonage/vivid/lib/option/option';
|
|
3
|
-
/**
|
|
4
|
-
* Base class for option
|
|
5
|
-
*/
|
|
6
3
|
declare const _default: import("vue/types/v3-define-component").DefineComponent<{
|
|
7
4
|
/**
|
|
8
5
|
* A decorative icon the custom element should have.
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import type { ListboxOption } from '@vonage/vivid/lib/option/option';
|
|
3
3
|
import type { SlotsType } from 'vue';
|
|
4
|
-
/**
|
|
5
|
-
* Base class for option
|
|
6
|
-
*/
|
|
7
4
|
declare const _default: import("vue").DefineComponent<{
|
|
8
5
|
/**
|
|
9
6
|
* A decorative icon the custom element should have.
|
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import type { Pagination } from '@vonage/vivid/lib/pagination/pagination';
|
|
3
|
-
/**
|
|
4
|
-
* Base class for pagination
|
|
5
|
-
*/
|
|
6
3
|
declare const _default: import("vue/types/v3-define-component").DefineComponent<{
|
|
7
4
|
/**
|
|
8
5
|
* Indicates the element that represents the current item within a container or set of related elements.
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import type { Pagination } from '@vonage/vivid/lib/pagination/pagination';
|
|
3
3
|
import type { SlotsType } from 'vue';
|
|
4
|
-
/**
|
|
5
|
-
* Base class for pagination
|
|
6
|
-
*/
|
|
7
4
|
declare const _default: import("vue").DefineComponent<{
|
|
8
5
|
/**
|
|
9
6
|
* Indicates the element that represents the current item within a container or set of related elements.
|
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import type { Progress } from '@vonage/vivid/lib/progress/progress';
|
|
3
|
-
/**
|
|
4
|
-
* Base class for progress
|
|
5
|
-
*/
|
|
6
3
|
declare const _default: import("vue/types/v3-define-component").DefineComponent<{
|
|
7
4
|
/**
|
|
8
5
|
* Indicates the element that represents the current item within a container or set of related elements.
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import type { Progress } from '@vonage/vivid/lib/progress/progress';
|
|
3
3
|
import type { SlotsType } from 'vue';
|
|
4
|
-
/**
|
|
5
|
-
* Base class for progress
|
|
6
|
-
*/
|
|
7
4
|
declare const _default: import("vue").DefineComponent<{
|
|
8
5
|
/**
|
|
9
6
|
* Indicates the element that represents the current item within a container or set of related elements.
|
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import type { ProgressRing } from '@vonage/vivid/lib/progress-ring/progress-ring';
|
|
3
|
-
/**
|
|
4
|
-
* Base class for progress-ring
|
|
5
|
-
*/
|
|
6
3
|
declare const _default: import("vue/types/v3-define-component").DefineComponent<{
|
|
7
4
|
/**
|
|
8
5
|
* Indicates the element that represents the current item within a container or set of related elements.
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import type { ProgressRing } from '@vonage/vivid/lib/progress-ring/progress-ring';
|
|
3
3
|
import type { SlotsType } from 'vue';
|
|
4
|
-
/**
|
|
5
|
-
* Base class for progress-ring
|
|
6
|
-
*/
|
|
7
4
|
declare const _default: import("vue").DefineComponent<{
|
|
8
5
|
/**
|
|
9
6
|
* Indicates the element that represents the current item within a container or set of related elements.
|
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import type { Radio } from '@vonage/vivid/lib/radio/radio';
|
|
3
|
-
/**
|
|
4
|
-
* Base class for radio
|
|
5
|
-
*/
|
|
6
3
|
declare const _default: import("vue/types/v3-define-component").DefineComponent<{
|
|
7
4
|
/**
|
|
8
5
|
* Indicates the element that represents the current item within a container or set of related elements.
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import type { Radio } from '@vonage/vivid/lib/radio/radio';
|
|
3
3
|
import type { SlotsType } from 'vue';
|
|
4
|
-
/**
|
|
5
|
-
* Base class for radio
|
|
6
|
-
*/
|
|
7
4
|
declare const _default: import("vue").DefineComponent<{
|
|
8
5
|
/**
|
|
9
6
|
* Indicates the element that represents the current item within a container or set of related elements.
|
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import type { RadioGroup } from '@vonage/vivid/lib/radio-group/radio-group';
|
|
3
|
-
/**
|
|
4
|
-
* Base class for radio-group
|
|
5
|
-
*/
|
|
6
3
|
declare const _default: import("vue/types/v3-define-component").DefineComponent<{
|
|
7
4
|
/**
|
|
8
5
|
* Indicates the element that represents the current item within a container or set of related elements.
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import type { RadioGroup } from '@vonage/vivid/lib/radio-group/radio-group';
|
|
3
3
|
import type { SlotsType } from 'vue';
|
|
4
|
-
/**
|
|
5
|
-
* Base class for radio-group
|
|
6
|
-
*/
|
|
7
4
|
declare const _default: import("vue").DefineComponent<{
|
|
8
5
|
/**
|
|
9
6
|
* Indicates the element that represents the current item within a container or set of related elements.
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { VNode } from 'vue';
|
|
2
|
+
import VRangeSliderVue2 from './VRangeSlider.vue2';
|
|
3
|
+
import VRangeSliderVue3 from './VRangeSlider.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 VRangeSliderVue2 : typeof VRangeSliderVue3;
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,296 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import type { RangeSlider } from '@vonage/vivid/lib/range-slider/range-slider';
|
|
3
|
+
/**
|
|
4
|
+
* Base class for range-slider
|
|
5
|
+
*/
|
|
6
|
+
declare const _default: import("vue/types/v3-define-component").DefineComponent<{
|
|
7
|
+
/**
|
|
8
|
+
* The label for the form element.
|
|
9
|
+
*/
|
|
10
|
+
label: {
|
|
11
|
+
type: PropType<string>;
|
|
12
|
+
default: undefined;
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* Indicates the element that represents the current item within a container or set of related elements.
|
|
16
|
+
*/
|
|
17
|
+
ariaCurrent: {
|
|
18
|
+
type: PropType<"page" | "step" | "location" | "date" | "time" | "true" | "false">;
|
|
19
|
+
default: undefined;
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* Sets the element's disabled state. A disabled element will not be included during form submission.
|
|
23
|
+
*/
|
|
24
|
+
disabled: {
|
|
25
|
+
type: PropType<boolean>;
|
|
26
|
+
default: undefined;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* The initial value of the form. This value sets the `value` property
|
|
30
|
+
* only when the `value` property has not been explicitly set.
|
|
31
|
+
*/
|
|
32
|
+
value: {
|
|
33
|
+
type: PropType<string>;
|
|
34
|
+
default: undefined;
|
|
35
|
+
};
|
|
36
|
+
/**
|
|
37
|
+
* The current value of the element. This property serves as a mechanism
|
|
38
|
+
* to set the `value` property through both property assignment and the
|
|
39
|
+
* .setAttribute() method. This is useful for setting the field's value
|
|
40
|
+
* in UI libraries that bind data through the .setAttribute() API
|
|
41
|
+
* and don't support IDL attribute binding.
|
|
42
|
+
*/
|
|
43
|
+
currentValue: {
|
|
44
|
+
type: PropType<string>;
|
|
45
|
+
default: undefined;
|
|
46
|
+
};
|
|
47
|
+
/**
|
|
48
|
+
* The name of the element. This element's value will be surfaced during form submission under the provided name.
|
|
49
|
+
*/
|
|
50
|
+
name: {
|
|
51
|
+
type: PropType<string>;
|
|
52
|
+
default: undefined;
|
|
53
|
+
};
|
|
54
|
+
/**
|
|
55
|
+
* Require the field to be completed prior to form submission.
|
|
56
|
+
*/
|
|
57
|
+
required: {
|
|
58
|
+
type: PropType<boolean>;
|
|
59
|
+
default: undefined;
|
|
60
|
+
};
|
|
61
|
+
/**
|
|
62
|
+
* The current start value of the element. This property serves as a mechanism
|
|
63
|
+
* to set the `start` property through both property assignment and the
|
|
64
|
+
* .setAttribute() method. This is useful for setting the field's value
|
|
65
|
+
* in UI libraries that bind data through the .setAttribute() API
|
|
66
|
+
* and don't support IDL attribute binding.
|
|
67
|
+
*/
|
|
68
|
+
start: {
|
|
69
|
+
type: PropType<string>;
|
|
70
|
+
default: undefined;
|
|
71
|
+
};
|
|
72
|
+
/**
|
|
73
|
+
* The current end value of the element. This property serves as a mechanism
|
|
74
|
+
* to set the `end` property through both property assignment and the
|
|
75
|
+
* .setAttribute() method. This is useful for setting the field's value
|
|
76
|
+
* in UI libraries that bind data through the .setAttribute() API
|
|
77
|
+
* and don't support IDL attribute binding.
|
|
78
|
+
*/
|
|
79
|
+
end: {
|
|
80
|
+
type: PropType<string>;
|
|
81
|
+
default: undefined;
|
|
82
|
+
};
|
|
83
|
+
/**
|
|
84
|
+
* The minimum value of the range.
|
|
85
|
+
*/
|
|
86
|
+
min: {
|
|
87
|
+
type: PropType<number>;
|
|
88
|
+
default: undefined;
|
|
89
|
+
};
|
|
90
|
+
/**
|
|
91
|
+
* The maximum value of the range.
|
|
92
|
+
*/
|
|
93
|
+
max: {
|
|
94
|
+
type: PropType<number>;
|
|
95
|
+
default: undefined;
|
|
96
|
+
};
|
|
97
|
+
/**
|
|
98
|
+
* Value to increment or decrement via arrow keys, mouse click or drag.
|
|
99
|
+
*/
|
|
100
|
+
step: {
|
|
101
|
+
type: PropType<number>;
|
|
102
|
+
default: undefined;
|
|
103
|
+
};
|
|
104
|
+
/**
|
|
105
|
+
* The orientation of the slider.
|
|
106
|
+
*/
|
|
107
|
+
orientation: {
|
|
108
|
+
type: PropType<"horizontal" | "vertical">;
|
|
109
|
+
default: undefined;
|
|
110
|
+
};
|
|
111
|
+
/**
|
|
112
|
+
* Aria label for the start thumb
|
|
113
|
+
*/
|
|
114
|
+
ariaStartLabel: {
|
|
115
|
+
type: PropType<string>;
|
|
116
|
+
default: undefined;
|
|
117
|
+
};
|
|
118
|
+
/**
|
|
119
|
+
* Aria label for the end thumb
|
|
120
|
+
*/
|
|
121
|
+
ariaEndLabel: {
|
|
122
|
+
type: PropType<string>;
|
|
123
|
+
default: undefined;
|
|
124
|
+
};
|
|
125
|
+
/**
|
|
126
|
+
* Display markers on/off
|
|
127
|
+
*/
|
|
128
|
+
markers: {
|
|
129
|
+
type: PropType<boolean>;
|
|
130
|
+
default: undefined;
|
|
131
|
+
};
|
|
132
|
+
/**
|
|
133
|
+
* The connotation of the component
|
|
134
|
+
*/
|
|
135
|
+
connotation: {
|
|
136
|
+
type: PropType<"accent" | "cta">;
|
|
137
|
+
default: undefined;
|
|
138
|
+
};
|
|
139
|
+
}, {
|
|
140
|
+
componentName: import("vue").Ref<string>;
|
|
141
|
+
element: import("vue").Ref<RangeSlider | null>;
|
|
142
|
+
}, import("vue").Data, {}, {
|
|
143
|
+
formResetCallback(): unknown;
|
|
144
|
+
}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, ("click" | "focus" | "blur" | "keydown" | "keyup" | "input" | "input:start" | "input:end" | "update:start" | "update:end")[], string, Readonly<import("vue").ExtractPropTypes<{
|
|
145
|
+
/**
|
|
146
|
+
* The label for the form element.
|
|
147
|
+
*/
|
|
148
|
+
label: {
|
|
149
|
+
type: PropType<string>;
|
|
150
|
+
default: undefined;
|
|
151
|
+
};
|
|
152
|
+
/**
|
|
153
|
+
* Indicates the element that represents the current item within a container or set of related elements.
|
|
154
|
+
*/
|
|
155
|
+
ariaCurrent: {
|
|
156
|
+
type: PropType<"page" | "step" | "location" | "date" | "time" | "true" | "false">;
|
|
157
|
+
default: undefined;
|
|
158
|
+
};
|
|
159
|
+
/**
|
|
160
|
+
* Sets the element's disabled state. A disabled element will not be included during form submission.
|
|
161
|
+
*/
|
|
162
|
+
disabled: {
|
|
163
|
+
type: PropType<boolean>;
|
|
164
|
+
default: undefined;
|
|
165
|
+
};
|
|
166
|
+
/**
|
|
167
|
+
* The initial value of the form. This value sets the `value` property
|
|
168
|
+
* only when the `value` property has not been explicitly set.
|
|
169
|
+
*/
|
|
170
|
+
value: {
|
|
171
|
+
type: PropType<string>;
|
|
172
|
+
default: undefined;
|
|
173
|
+
};
|
|
174
|
+
/**
|
|
175
|
+
* The current value of the element. This property serves as a mechanism
|
|
176
|
+
* to set the `value` 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
|
+
currentValue: {
|
|
182
|
+
type: PropType<string>;
|
|
183
|
+
default: undefined;
|
|
184
|
+
};
|
|
185
|
+
/**
|
|
186
|
+
* The name of the element. This element's value will be surfaced during form submission under the provided name.
|
|
187
|
+
*/
|
|
188
|
+
name: {
|
|
189
|
+
type: PropType<string>;
|
|
190
|
+
default: undefined;
|
|
191
|
+
};
|
|
192
|
+
/**
|
|
193
|
+
* Require the field to be completed prior to form submission.
|
|
194
|
+
*/
|
|
195
|
+
required: {
|
|
196
|
+
type: PropType<boolean>;
|
|
197
|
+
default: undefined;
|
|
198
|
+
};
|
|
199
|
+
/**
|
|
200
|
+
* The current start value of the element. This property serves as a mechanism
|
|
201
|
+
* to set the `start` property through both property assignment and the
|
|
202
|
+
* .setAttribute() method. This is useful for setting the field's value
|
|
203
|
+
* in UI libraries that bind data through the .setAttribute() API
|
|
204
|
+
* and don't support IDL attribute binding.
|
|
205
|
+
*/
|
|
206
|
+
start: {
|
|
207
|
+
type: PropType<string>;
|
|
208
|
+
default: undefined;
|
|
209
|
+
};
|
|
210
|
+
/**
|
|
211
|
+
* The current end value of the element. This property serves as a mechanism
|
|
212
|
+
* to set the `end` property through both property assignment and the
|
|
213
|
+
* .setAttribute() method. This is useful for setting the field's value
|
|
214
|
+
* in UI libraries that bind data through the .setAttribute() API
|
|
215
|
+
* and don't support IDL attribute binding.
|
|
216
|
+
*/
|
|
217
|
+
end: {
|
|
218
|
+
type: PropType<string>;
|
|
219
|
+
default: undefined;
|
|
220
|
+
};
|
|
221
|
+
/**
|
|
222
|
+
* The minimum value of the range.
|
|
223
|
+
*/
|
|
224
|
+
min: {
|
|
225
|
+
type: PropType<number>;
|
|
226
|
+
default: undefined;
|
|
227
|
+
};
|
|
228
|
+
/**
|
|
229
|
+
* The maximum value of the range.
|
|
230
|
+
*/
|
|
231
|
+
max: {
|
|
232
|
+
type: PropType<number>;
|
|
233
|
+
default: undefined;
|
|
234
|
+
};
|
|
235
|
+
/**
|
|
236
|
+
* Value to increment or decrement via arrow keys, mouse click or drag.
|
|
237
|
+
*/
|
|
238
|
+
step: {
|
|
239
|
+
type: PropType<number>;
|
|
240
|
+
default: undefined;
|
|
241
|
+
};
|
|
242
|
+
/**
|
|
243
|
+
* The orientation of the slider.
|
|
244
|
+
*/
|
|
245
|
+
orientation: {
|
|
246
|
+
type: PropType<"horizontal" | "vertical">;
|
|
247
|
+
default: undefined;
|
|
248
|
+
};
|
|
249
|
+
/**
|
|
250
|
+
* Aria label for the start thumb
|
|
251
|
+
*/
|
|
252
|
+
ariaStartLabel: {
|
|
253
|
+
type: PropType<string>;
|
|
254
|
+
default: undefined;
|
|
255
|
+
};
|
|
256
|
+
/**
|
|
257
|
+
* Aria label for the end thumb
|
|
258
|
+
*/
|
|
259
|
+
ariaEndLabel: {
|
|
260
|
+
type: PropType<string>;
|
|
261
|
+
default: undefined;
|
|
262
|
+
};
|
|
263
|
+
/**
|
|
264
|
+
* Display markers on/off
|
|
265
|
+
*/
|
|
266
|
+
markers: {
|
|
267
|
+
type: PropType<boolean>;
|
|
268
|
+
default: undefined;
|
|
269
|
+
};
|
|
270
|
+
/**
|
|
271
|
+
* The connotation of the component
|
|
272
|
+
*/
|
|
273
|
+
connotation: {
|
|
274
|
+
type: PropType<"accent" | "cta">;
|
|
275
|
+
default: undefined;
|
|
276
|
+
};
|
|
277
|
+
}>>, {
|
|
278
|
+
name: string;
|
|
279
|
+
ariaCurrent: "page" | "step" | "location" | "date" | "time" | "true" | "false";
|
|
280
|
+
step: number;
|
|
281
|
+
value: string;
|
|
282
|
+
connotation: "accent" | "cta";
|
|
283
|
+
disabled: boolean;
|
|
284
|
+
currentValue: string;
|
|
285
|
+
required: boolean;
|
|
286
|
+
label: string;
|
|
287
|
+
start: string;
|
|
288
|
+
max: number;
|
|
289
|
+
min: number;
|
|
290
|
+
end: string;
|
|
291
|
+
orientation: "horizontal" | "vertical";
|
|
292
|
+
ariaStartLabel: string;
|
|
293
|
+
ariaEndLabel: string;
|
|
294
|
+
markers: boolean;
|
|
295
|
+
}>;
|
|
296
|
+
export default _default;
|