@vonage/vivid-vue 3.16.0 → 3.18.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (102) hide show
  1. package/dist/generated/components/VAccordion.vue2.d.ts +4 -2
  2. package/dist/generated/components/VAccordion.vue3.d.ts +4 -2
  3. package/dist/generated/components/VAccordionItem.vue2.d.ts +8 -2
  4. package/dist/generated/components/VAccordionItem.vue3.d.ts +8 -2
  5. package/dist/generated/components/VActionGroup.vue2.d.ts +7 -2
  6. package/dist/generated/components/VActionGroup.vue3.d.ts +7 -2
  7. package/dist/generated/components/VAlert.vue2.d.ts +14 -2
  8. package/dist/generated/components/VAlert.vue3.d.ts +14 -2
  9. package/dist/generated/components/VAvatar.vue2.d.ts +8 -2
  10. package/dist/generated/components/VAvatar.vue3.d.ts +8 -2
  11. package/dist/generated/components/VBadge.vue2.d.ts +8 -2
  12. package/dist/generated/components/VBadge.vue3.d.ts +8 -2
  13. package/dist/generated/components/VBanner.vue2.d.ts +14 -2
  14. package/dist/generated/components/VBanner.vue3.d.ts +14 -2
  15. package/dist/generated/components/VBreadcrumbItem.vue2.d.ts +3 -2
  16. package/dist/generated/components/VBreadcrumbItem.vue3.d.ts +3 -2
  17. package/dist/generated/components/VButton.vue2.d.ts +21 -2
  18. package/dist/generated/components/VButton.vue3.d.ts +21 -2
  19. package/dist/generated/components/VCalendar.vue2.d.ts +70 -1
  20. package/dist/generated/components/VCalendar.vue3.d.ts +70 -1
  21. package/dist/generated/components/VCalendarEvent.vue2.d.ts +9 -2
  22. package/dist/generated/components/VCalendarEvent.vue3.d.ts +9 -2
  23. package/dist/generated/components/VCard.vue2.d.ts +9 -2
  24. package/dist/generated/components/VCard.vue3.d.ts +9 -2
  25. package/dist/generated/components/VCheckbox.vue2.d.ts +10 -2
  26. package/dist/generated/components/VCheckbox.vue3.d.ts +10 -2
  27. package/dist/generated/components/VCombobox.vue2.d.ts +28 -2
  28. package/dist/generated/components/VCombobox.vue3.d.ts +28 -2
  29. package/dist/generated/components/VDataGrid.vue2.d.ts +4 -2
  30. package/dist/generated/components/VDataGrid.vue3.d.ts +4 -2
  31. package/dist/generated/components/VDataGridCell.vue2.d.ts +12 -2
  32. package/dist/generated/components/VDataGridCell.vue3.d.ts +12 -2
  33. package/dist/generated/components/VDataGridRow.vue2.d.ts +3 -2
  34. package/dist/generated/components/VDataGridRow.vue3.d.ts +3 -2
  35. package/dist/generated/components/VDatePicker.d.ts +10 -0
  36. package/dist/generated/components/VDatePicker.vue2.d.ts +181 -0
  37. package/dist/generated/components/VDatePicker.vue3.d.ts +188 -0
  38. package/dist/generated/components/VDialog.vue2.d.ts +21 -2
  39. package/dist/generated/components/VDialog.vue3.d.ts +21 -2
  40. package/dist/generated/components/VEmptyState.vue2.d.ts +4 -2
  41. package/dist/generated/components/VEmptyState.vue3.d.ts +4 -2
  42. package/dist/generated/components/VFab.vue2.d.ts +7 -2
  43. package/dist/generated/components/VFab.vue3.d.ts +7 -2
  44. package/dist/generated/components/VHeader.vue2.d.ts +4 -2
  45. package/dist/generated/components/VHeader.vue3.d.ts +4 -2
  46. package/dist/generated/components/VIcon.vue2.d.ts +8 -2
  47. package/dist/generated/components/VIcon.vue3.d.ts +8 -2
  48. package/dist/generated/components/VLayout.vue2.d.ts +7 -2
  49. package/dist/generated/components/VLayout.vue3.d.ts +7 -2
  50. package/dist/generated/components/VMenu.vue2.d.ts +11 -2
  51. package/dist/generated/components/VMenu.vue3.d.ts +11 -2
  52. package/dist/generated/components/VMenuItem.vue2.d.ts +5 -2
  53. package/dist/generated/components/VMenuItem.vue3.d.ts +5 -2
  54. package/dist/generated/components/VNavDisclosure.vue2.d.ts +7 -2
  55. package/dist/generated/components/VNavDisclosure.vue3.d.ts +7 -2
  56. package/dist/generated/components/VNavItem.vue2.d.ts +5 -2
  57. package/dist/generated/components/VNavItem.vue3.d.ts +5 -2
  58. package/dist/generated/components/VNote.vue2.d.ts +5 -2
  59. package/dist/generated/components/VNote.vue3.d.ts +5 -2
  60. package/dist/generated/components/VNumberField.vue2.d.ts +15 -4
  61. package/dist/generated/components/VNumberField.vue3.d.ts +15 -4
  62. package/dist/generated/components/VOption.vue2.d.ts +8 -2
  63. package/dist/generated/components/VOption.vue3.d.ts +8 -2
  64. package/dist/generated/components/VPagination.vue2.d.ts +47 -2
  65. package/dist/generated/components/VPagination.vue3.d.ts +47 -2
  66. package/dist/generated/components/VProgress.vue2.d.ts +6 -3
  67. package/dist/generated/components/VProgress.vue3.d.ts +6 -3
  68. package/dist/generated/components/VProgressRing.vue2.d.ts +5 -3
  69. package/dist/generated/components/VProgressRing.vue3.d.ts +5 -3
  70. package/dist/generated/components/VRadio.vue2.d.ts +4 -2
  71. package/dist/generated/components/VRadio.vue3.d.ts +4 -2
  72. package/dist/generated/components/VRadioGroup.vue2.d.ts +3 -2
  73. package/dist/generated/components/VRadioGroup.vue3.d.ts +3 -2
  74. package/dist/generated/components/VSelect.vue2.d.ts +70 -2
  75. package/dist/generated/components/VSelect.vue3.d.ts +70 -2
  76. package/dist/generated/components/VSideDrawer.vue2.d.ts +8 -3
  77. package/dist/generated/components/VSideDrawer.vue3.d.ts +8 -3
  78. package/dist/generated/components/VSlider.vue2.d.ts +5 -4
  79. package/dist/generated/components/VSlider.vue3.d.ts +5 -4
  80. package/dist/generated/components/VSwitch.vue2.d.ts +4 -2
  81. package/dist/generated/components/VSwitch.vue3.d.ts +4 -2
  82. package/dist/generated/components/VTab.vue2.d.ts +9 -2
  83. package/dist/generated/components/VTab.vue3.d.ts +9 -2
  84. package/dist/generated/components/VTabs.vue2.d.ts +10 -2
  85. package/dist/generated/components/VTabs.vue3.d.ts +10 -2
  86. package/dist/generated/components/VTag.vue2.d.ts +14 -2
  87. package/dist/generated/components/VTag.vue3.d.ts +14 -2
  88. package/dist/generated/components/VTextArea.vue2.d.ts +11 -2
  89. package/dist/generated/components/VTextArea.vue3.d.ts +11 -2
  90. package/dist/generated/components/VTextField.vue2.d.ts +15 -2
  91. package/dist/generated/components/VTextField.vue3.d.ts +15 -2
  92. package/dist/generated/components/VToggletip.vue2.d.ts +10 -2
  93. package/dist/generated/components/VToggletip.vue3.d.ts +10 -2
  94. package/dist/generated/components/VTooltip.vue2.d.ts +9 -2
  95. package/dist/generated/components/VTooltip.vue3.d.ts +9 -2
  96. package/dist/generated/components/VTreeItem.vue2.d.ts +4 -2
  97. package/dist/generated/components/VTreeItem.vue3.d.ts +4 -2
  98. package/dist/generated/components/index.d.ts +1 -0
  99. package/dist/index.es.js +317 -150
  100. package/dist/index.umd.js +1 -1
  101. package/dist/web-types.json +127 -2
  102. package/package.json +2 -2
@@ -1,5 +1,4 @@
1
1
  import { PropType } from 'vue';
2
- import type { CalendarEvent } from '@vonage/vivid/lib/calendar-event/calendar-event';
3
2
  /**
4
3
  * Base class for calendar-event
5
4
  */
@@ -62,7 +61,15 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
62
61
  };
63
62
  }, {
64
63
  componentName: import("vue").Ref<string>;
65
- element: import("vue").Ref<CalendarEvent | null>;
64
+ element: import("vue").Ref<{
65
+ heading?: string | undefined;
66
+ description?: string | undefined;
67
+ connotation?: import("@vonage/vivid").CalendarEventConnotation | undefined;
68
+ appearance?: import("@vonage/vivid").CalendarEventAppearance | undefined;
69
+ overlapCount?: number | undefined;
70
+ start?: number | undefined;
71
+ duration?: number | undefined;
72
+ } | null>;
66
73
  }, 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<{
67
74
  /**
68
75
  * Indicates the element that represents the current item within a container or set of related elements.
@@ -1,5 +1,4 @@
1
1
  import { PropType } from 'vue';
2
- import type { CalendarEvent } from '@vonage/vivid/lib/calendar-event/calendar-event';
3
2
  /**
4
3
  * Base class for calendar-event
5
4
  */
@@ -62,7 +61,15 @@ declare const _default: import("vue").DefineComponent<{
62
61
  };
63
62
  }, {
64
63
  componentName: import("vue").Ref<string>;
65
- element: import("vue").Ref<CalendarEvent | null>;
64
+ element: import("vue").Ref<{
65
+ heading?: string | undefined;
66
+ description?: string | undefined;
67
+ connotation?: import("@vonage/vivid").CalendarEventConnotation | undefined;
68
+ appearance?: import("@vonage/vivid").CalendarEventAppearance | undefined;
69
+ overlapCount?: number | undefined;
70
+ start?: number | undefined;
71
+ duration?: number | undefined;
72
+ } | null>;
66
73
  }, 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<{
67
74
  /**
68
75
  * Indicates the element that represents the current item within a container or set of related elements.
@@ -1,5 +1,4 @@
1
1
  import { PropType } from 'vue';
2
- import type { Card } from '@vonage/vivid/lib/card/card';
3
2
  /**
4
3
  * Base class for card
5
4
  */
@@ -52,7 +51,15 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
52
51
  };
53
52
  }, {
54
53
  componentName: import("vue").Ref<string>;
55
- element: import("vue").Ref<Card | null>;
54
+ element: import("vue").Ref<{
55
+ headline?: string | undefined;
56
+ subtitle?: string | undefined;
57
+ text?: string | undefined;
58
+ icon?: string | undefined;
59
+ elevation?: 0 | 2 | 4 | 8 | 12 | 16 | 24 | undefined;
60
+ graphicSlottedContent?: HTMLElement[] | undefined;
61
+ hasMetaSlottedContent?: HTMLElement[] | undefined;
62
+ } | null>;
56
63
  }, 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<{
57
64
  /**
58
65
  * Indicates the element that represents the current item within a container or set of related elements.
@@ -1,5 +1,4 @@
1
1
  import { PropType } from 'vue';
2
- import type { Card } from '@vonage/vivid/lib/card/card';
3
2
  /**
4
3
  * Base class for card
5
4
  */
@@ -52,7 +51,15 @@ declare const _default: import("vue").DefineComponent<{
52
51
  };
53
52
  }, {
54
53
  componentName: import("vue").Ref<string>;
55
- element: import("vue").Ref<Card | null>;
54
+ element: import("vue").Ref<{
55
+ headline?: string | undefined;
56
+ subtitle?: string | undefined;
57
+ text?: string | undefined;
58
+ icon?: string | undefined;
59
+ elevation?: 0 | 2 | 4 | 8 | 12 | 16 | 24 | undefined;
60
+ graphicSlottedContent?: HTMLElement[] | undefined;
61
+ hasMetaSlottedContent?: HTMLElement[] | undefined;
62
+ } | null>;
56
63
  }, 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<{
57
64
  /**
58
65
  * Indicates the element that represents the current item within a container or set of related elements.
@@ -1,5 +1,4 @@
1
1
  import { PropType } from 'vue';
2
- import type { Checkbox } from '@vonage/vivid/lib/checkbox/checkbox';
3
2
  /**
4
3
  * Base class for checkbox
5
4
  */
@@ -113,7 +112,16 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
113
112
  };
114
113
  }, {
115
114
  componentName: import("vue").Ref<string>;
116
- element: import("vue").Ref<Checkbox | null>;
115
+ element: import("vue").Ref<{
116
+ connotation?: import("@vonage/vivid/lib/checkbox/checkbox").CheckboxConnotation | undefined;
117
+ errorValidationMessage: boolean;
118
+ label: string;
119
+ userValid: boolean;
120
+ dirtyValue: boolean;
121
+ helperText?: string | undefined;
122
+ errorText: string;
123
+ successText?: string | undefined;
124
+ } | null>;
117
125
  }, 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<{
118
126
  /**
119
127
  * The success text for the form element.
@@ -1,5 +1,4 @@
1
1
  import { PropType } from 'vue';
2
- import type { Checkbox } from '@vonage/vivid/lib/checkbox/checkbox';
3
2
  /**
4
3
  * Base class for checkbox
5
4
  */
@@ -113,7 +112,16 @@ declare const _default: import("vue").DefineComponent<{
113
112
  };
114
113
  }, {
115
114
  componentName: import("vue").Ref<string>;
116
- element: import("vue").Ref<Checkbox | null>;
115
+ element: import("vue").Ref<{
116
+ connotation?: import("@vonage/vivid/lib/checkbox/checkbox").CheckboxConnotation | undefined;
117
+ errorValidationMessage: boolean;
118
+ label: string;
119
+ userValid: boolean;
120
+ dirtyValue: boolean;
121
+ helperText?: string | undefined;
122
+ errorText: string;
123
+ successText?: string | undefined;
124
+ } | null>;
117
125
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "focus" | "blur" | "keydown" | "keyup" | "input" | "update:modelValue")[], "click" | "focus" | "blur" | "keydown" | "keyup" | "input" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
118
126
  /**
119
127
  * The success text for the form element.
@@ -1,5 +1,4 @@
1
1
  import { PropType } from 'vue';
2
- import type { Combobox } from '@vonage/vivid/lib/combobox/combobox';
3
2
  /**
4
3
  * Base class for combobox
5
4
  */
@@ -105,7 +104,34 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
105
104
  };
106
105
  }, {
107
106
  componentName: import("vue").Ref<string>;
108
- element: import("vue").Ref<Combobox | null>;
107
+ element: import("vue").Ref<{
108
+ placement?: import("@vonage/vivid").PopupPlacement | undefined;
109
+ _popup: {
110
+ popupEl: HTMLElement;
111
+ arrowEl: HTMLElement;
112
+ open: boolean;
113
+ openChanged: (_: boolean, newValue: boolean) => void;
114
+ dismissible: boolean;
115
+ arrow: boolean;
116
+ alternate: boolean;
117
+ placement?: any;
118
+ strategy?: any;
119
+ anchor?: string | HTMLElement | undefined;
120
+ disconnectedCallback: () => void;
121
+ attributeChangedCallback: (name: string, oldValue: string, newValue: string) => void;
122
+ updatePosition: () => Promise<void>;
123
+ readonly anchorEl: HTMLElement | null;
124
+ show: () => void;
125
+ hide: () => void;
126
+ };
127
+ _anchor: HTMLElement;
128
+ connectedCallback: () => void;
129
+ icon?: string | undefined;
130
+ errorValidationMessage: boolean;
131
+ label: string;
132
+ userValid: boolean;
133
+ dirtyValue: boolean;
134
+ } | null>;
109
135
  }, 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<{
110
136
  /**
111
137
  * The label for the form element.
@@ -1,5 +1,4 @@
1
1
  import { PropType } from 'vue';
2
- import type { Combobox } from '@vonage/vivid/lib/combobox/combobox';
3
2
  /**
4
3
  * Base class for combobox
5
4
  */
@@ -105,7 +104,34 @@ declare const _default: import("vue").DefineComponent<{
105
104
  };
106
105
  }, {
107
106
  componentName: import("vue").Ref<string>;
108
- element: import("vue").Ref<Combobox | null>;
107
+ element: import("vue").Ref<{
108
+ placement?: import("@vonage/vivid").PopupPlacement | undefined;
109
+ _popup: {
110
+ popupEl: HTMLElement;
111
+ arrowEl: HTMLElement;
112
+ open: boolean;
113
+ openChanged: (_: boolean, newValue: boolean) => void;
114
+ dismissible: boolean;
115
+ arrow: boolean;
116
+ alternate: boolean;
117
+ placement?: any;
118
+ strategy?: any;
119
+ anchor?: string | HTMLElement | undefined;
120
+ disconnectedCallback: () => void;
121
+ attributeChangedCallback: (name: string, oldValue: string, newValue: string) => void;
122
+ updatePosition: () => Promise<void>;
123
+ readonly anchorEl: HTMLElement | null;
124
+ show: () => void;
125
+ hide: () => void;
126
+ };
127
+ _anchor: HTMLElement;
128
+ connectedCallback: () => void;
129
+ icon?: string | undefined;
130
+ errorValidationMessage: boolean;
131
+ label: string;
132
+ userValid: boolean;
133
+ dirtyValue: boolean;
134
+ } | null>;
109
135
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "focus" | "blur" | "keydown" | "keyup" | "input" | "update:modelValue")[], "click" | "focus" | "blur" | "keydown" | "keyup" | "input" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
110
136
  /**
111
137
  * The label for the form element.
@@ -1,5 +1,4 @@
1
1
  import { PropType } from 'vue';
2
- import type { DataGrid } from '@vonage/vivid/lib/data-grid/data-grid';
3
2
  /**
4
3
  * Base class for data-grid
5
4
  */
@@ -46,7 +45,10 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
46
45
  };
47
46
  }, {
48
47
  componentName: import("vue").Ref<string>;
49
- element: import("vue").Ref<DataGrid | null>;
48
+ element: import("vue").Ref<{
49
+ selectionMode?: import("@vonage/vivid/lib/data-grid/data-grid").DataGridSelectionMode | undefined;
50
+ selectionModeChanged: (oldValue: import("@vonage/vivid/lib/data-grid/data-grid").DataGridSelectionMode) => void;
51
+ } | null>;
50
52
  }, 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<{
51
53
  /**
52
54
  * Indicates the element that represents the current item within a container or set of related elements.
@@ -1,5 +1,4 @@
1
1
  import { PropType } from 'vue';
2
- import type { DataGrid } from '@vonage/vivid/lib/data-grid/data-grid';
3
2
  /**
4
3
  * Base class for data-grid
5
4
  */
@@ -46,7 +45,10 @@ declare const _default: import("vue").DefineComponent<{
46
45
  };
47
46
  }, {
48
47
  componentName: import("vue").Ref<string>;
49
- element: import("vue").Ref<DataGrid | null>;
48
+ element: import("vue").Ref<{
49
+ selectionMode?: import("@vonage/vivid/lib/data-grid/data-grid").DataGridSelectionMode | undefined;
50
+ selectionModeChanged: (oldValue: import("@vonage/vivid/lib/data-grid/data-grid").DataGridSelectionMode) => void;
51
+ } | null>;
50
52
  }, 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<{
51
53
  /**
52
54
  * Indicates the element that represents the current item within a container or set of related elements.
@@ -1,5 +1,4 @@
1
1
  import { PropType } from 'vue';
2
- import type { DataGridCell } from '@vonage/vivid/lib/data-grid/data-grid-cell';
3
2
  /**
4
3
  * Base class for data-grid
5
4
  */
@@ -44,7 +43,18 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
44
43
  };
45
44
  }, {
46
45
  componentName: import("vue").Ref<string>;
47
- element: import("vue").Ref<DataGridCell | null>;
46
+ element: import("vue").Ref<{
47
+ ariaSelected: string | null;
48
+ ariaSort: string | null;
49
+ ariaSelectedChanged: (_: string | null, selectedState: string | null) => void;
50
+ connectedCallback: () => void;
51
+ handleFocusin: (e: FocusEvent) => void;
52
+ handleFocusout: (e: FocusEvent) => void;
53
+ columnDefinition: {
54
+ sortDirection?: import("@vonage/vivid/lib/data-grid/data-grid.options").DataGridCellSortStates | null | undefined;
55
+ sortable?: boolean | undefined;
56
+ } | null;
57
+ } | null>;
48
58
  }, import("vue").Data, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, ("click" | "focus" | "blur" | "keydown" | "keyup" | "input" | "cell-focused")[], string, Readonly<import("vue").ExtractPropTypes<{
49
59
  /**
50
60
  * Extends the data grid cell definition to hold more options.
@@ -1,5 +1,4 @@
1
1
  import { PropType } from 'vue';
2
- import type { DataGridCell } from '@vonage/vivid/lib/data-grid/data-grid-cell';
3
2
  /**
4
3
  * Base class for data-grid
5
4
  */
@@ -44,7 +43,18 @@ declare const _default: import("vue").DefineComponent<{
44
43
  };
45
44
  }, {
46
45
  componentName: import("vue").Ref<string>;
47
- element: import("vue").Ref<DataGridCell | null>;
46
+ element: import("vue").Ref<{
47
+ ariaSelected: string | null;
48
+ ariaSort: string | null;
49
+ ariaSelectedChanged: (_: string | null, selectedState: string | null) => void;
50
+ connectedCallback: () => void;
51
+ handleFocusin: (e: FocusEvent) => void;
52
+ handleFocusout: (e: FocusEvent) => void;
53
+ columnDefinition: {
54
+ sortDirection?: import("@vonage/vivid/lib/data-grid/data-grid.options").DataGridCellSortStates | null | undefined;
55
+ sortable?: boolean | undefined;
56
+ } | null;
57
+ } | null>;
48
58
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "focus" | "blur" | "keydown" | "keyup" | "input" | "cell-focused")[], "click" | "focus" | "blur" | "keydown" | "keyup" | "input" | "cell-focused", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
49
59
  /**
50
60
  * Extends the data grid cell definition to hold more options.
@@ -1,5 +1,4 @@
1
1
  import { PropType } from 'vue';
2
- import type { DataGridRow } from '@vonage/vivid/lib/data-grid/data-grid-row';
3
2
  /**
4
3
  * Base class for data-grid
5
4
  */
@@ -31,7 +30,9 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
31
30
  };
32
31
  }, {
33
32
  componentName: import("vue").Ref<string>;
34
- element: import("vue").Ref<DataGridRow | null>;
33
+ element: import("vue").Ref<{
34
+ ariaSelected: string | null;
35
+ } | null>;
35
36
  }, import("vue").Data, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, ("click" | "focus" | "blur" | "keydown" | "keyup" | "input" | "row-focused")[], string, Readonly<import("vue").ExtractPropTypes<{
36
37
  /**
37
38
  * Indicates the element that represents the current item within a container or set of related elements.
@@ -1,5 +1,4 @@
1
1
  import { PropType } from 'vue';
2
- import type { DataGridRow } from '@vonage/vivid/lib/data-grid/data-grid-row';
3
2
  /**
4
3
  * Base class for data-grid
5
4
  */
@@ -31,7 +30,9 @@ declare const _default: import("vue").DefineComponent<{
31
30
  };
32
31
  }, {
33
32
  componentName: import("vue").Ref<string>;
34
- element: import("vue").Ref<DataGridRow | null>;
33
+ element: import("vue").Ref<{
34
+ ariaSelected: string | null;
35
+ } | null>;
35
36
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "focus" | "blur" | "keydown" | "keyup" | "input" | "row-focused")[], "click" | "focus" | "blur" | "keydown" | "keyup" | "input" | "row-focused", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
36
37
  /**
37
38
  * 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 VDatePickerVue2 from './VDatePicker.vue2';
3
+ import VDatePickerVue3 from './VDatePicker.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 VDatePickerVue2 : typeof VDatePickerVue3;
10
+ export default _default;
@@ -0,0 +1,181 @@
1
+ import { PropType } from 'vue';
2
+ /**
3
+ * Base class for date-picker
4
+ */
5
+ declare const _default: import("vue/types/v3-define-component").DefineComponent<{
6
+ /**
7
+ * Indicates the element that represents the current item within a container or set of related elements.
8
+ */
9
+ ariaCurrent: {
10
+ type: PropType<"page" | "step" | "location" | "date" | "time" | "true" | "false">;
11
+ default: undefined;
12
+ };
13
+ /**
14
+ * The label text of the date-picker.
15
+ */
16
+ label: {
17
+ type: PropType<string>;
18
+ default: undefined;
19
+ };
20
+ /**
21
+ * The helper-text text of the date-picker.
22
+ */
23
+ helperText: {
24
+ type: PropType<string>;
25
+ default: undefined;
26
+ };
27
+ /**
28
+ * The error-text text of the date-picker.
29
+ */
30
+ errorText: {
31
+ type: PropType<string>;
32
+ default: undefined;
33
+ };
34
+ /**
35
+ * The earliest accepted date of the date-picker.
36
+ */
37
+ min: {
38
+ type: PropType<string>;
39
+ default: undefined;
40
+ };
41
+ /**
42
+ * The latest accepted date of the date-picker.
43
+ */
44
+ max: {
45
+ type: PropType<string>;
46
+ default: undefined;
47
+ };
48
+ /**
49
+ * The currently selected date of the date-picker.
50
+ */
51
+ modelValue: {
52
+ type: PropType<string>;
53
+ default: undefined;
54
+ };
55
+ /**
56
+ * Whether the date-picker is disabled.
57
+ */
58
+ disabled: {
59
+ type: PropType<boolean>;
60
+ default: undefined;
61
+ };
62
+ /**
63
+ * Whether the date-picker is readonly.
64
+ */
65
+ readonly: {
66
+ type: PropType<boolean>;
67
+ default: undefined;
68
+ };
69
+ }, {
70
+ componentName: import("vue").Ref<string>;
71
+ element: import("vue").Ref<{
72
+ label?: string | undefined;
73
+ helperText?: string | undefined;
74
+ errorText?: string | undefined;
75
+ min: string | null;
76
+ max: string | null;
77
+ value: string | null;
78
+ disabled: boolean;
79
+ readOnly: boolean;
80
+ connectedCallback: () => void;
81
+ disconnectedCallback: () => void;
82
+ readonly locale: {
83
+ datePicker: {
84
+ months: {
85
+ name: string[];
86
+ shorthand: string[];
87
+ };
88
+ weekdays: {
89
+ name: string[];
90
+ shorthand: string[];
91
+ };
92
+ firstDayOfWeek: number;
93
+ dateFormat: string;
94
+ dateFormatPlaceholder: string;
95
+ chooseDateLabel: string;
96
+ prevYearLabel: string;
97
+ prevMonthLabel: string;
98
+ nextMonthLabel: string;
99
+ nextYearLabel: string;
100
+ clearLabel: string;
101
+ okLabel: string;
102
+ invalidDateError: string;
103
+ };
104
+ };
105
+ } | null>;
106
+ }, import("vue").Data, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, ("click" | "focus" | "blur" | "keydown" | "keyup" | "update:modelValue")[], string, Readonly<import("vue").ExtractPropTypes<{
107
+ /**
108
+ * Indicates the element that represents the current item within a container or set of related elements.
109
+ */
110
+ ariaCurrent: {
111
+ type: PropType<"page" | "step" | "location" | "date" | "time" | "true" | "false">;
112
+ default: undefined;
113
+ };
114
+ /**
115
+ * The label text of the date-picker.
116
+ */
117
+ label: {
118
+ type: PropType<string>;
119
+ default: undefined;
120
+ };
121
+ /**
122
+ * The helper-text text of the date-picker.
123
+ */
124
+ helperText: {
125
+ type: PropType<string>;
126
+ default: undefined;
127
+ };
128
+ /**
129
+ * The error-text text of the date-picker.
130
+ */
131
+ errorText: {
132
+ type: PropType<string>;
133
+ default: undefined;
134
+ };
135
+ /**
136
+ * The earliest accepted date of the date-picker.
137
+ */
138
+ min: {
139
+ type: PropType<string>;
140
+ default: undefined;
141
+ };
142
+ /**
143
+ * The latest accepted date of the date-picker.
144
+ */
145
+ max: {
146
+ type: PropType<string>;
147
+ default: undefined;
148
+ };
149
+ /**
150
+ * The currently selected date of the date-picker.
151
+ */
152
+ modelValue: {
153
+ type: PropType<string>;
154
+ default: undefined;
155
+ };
156
+ /**
157
+ * Whether the date-picker is disabled.
158
+ */
159
+ disabled: {
160
+ type: PropType<boolean>;
161
+ default: undefined;
162
+ };
163
+ /**
164
+ * Whether the date-picker is readonly.
165
+ */
166
+ readonly: {
167
+ type: PropType<boolean>;
168
+ default: undefined;
169
+ };
170
+ }>>, {
171
+ ariaCurrent: "page" | "step" | "location" | "date" | "time" | "true" | "false";
172
+ disabled: boolean;
173
+ label: string;
174
+ modelValue: string;
175
+ errorText: string;
176
+ helperText: string;
177
+ readonly: boolean;
178
+ min: string;
179
+ max: string;
180
+ }>;
181
+ export default _default;