@vonage/vivid-vue 3.20.0 → 3.21.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 (32) hide show
  1. package/dist/generated/components/VDataGrid.vue2.d.ts +6 -0
  2. package/dist/generated/components/VDataGrid.vue3.d.ts +6 -0
  3. package/dist/generated/components/VDataGridCell.vue2.d.ts +12 -0
  4. package/dist/generated/components/VDataGridCell.vue3.d.ts +12 -0
  5. package/dist/generated/components/VDataGridRow.vue2.d.ts +6 -0
  6. package/dist/generated/components/VDataGridRow.vue3.d.ts +6 -0
  7. package/dist/generated/components/VDatePicker.vue2.d.ts +24 -29
  8. package/dist/generated/components/VDatePicker.vue3.d.ts +24 -29
  9. package/dist/generated/components/VDateRangePicker.d.ts +10 -0
  10. package/dist/generated/components/VDateRangePicker.vue2.d.ts +280 -0
  11. package/dist/generated/components/VDateRangePicker.vue3.d.ts +291 -0
  12. package/dist/generated/components/VMenuItem.vue2.d.ts +32 -0
  13. package/dist/generated/components/VMenuItem.vue3.d.ts +32 -0
  14. package/dist/generated/components/VNumberField.vue2.d.ts +1 -1
  15. package/dist/generated/components/VNumberField.vue3.d.ts +1 -1
  16. package/dist/generated/components/VProgress.vue2.d.ts +19 -1
  17. package/dist/generated/components/VProgress.vue3.d.ts +19 -1
  18. package/dist/generated/components/VProgressRing.vue2.d.ts +1 -1
  19. package/dist/generated/components/VProgressRing.vue3.d.ts +1 -1
  20. package/dist/generated/components/VSideDrawer.vue2.d.ts +1 -1
  21. package/dist/generated/components/VSideDrawer.vue3.d.ts +3 -1
  22. package/dist/generated/components/VSlider.vue2.d.ts +1 -1
  23. package/dist/generated/components/VSlider.vue3.d.ts +1 -1
  24. package/dist/generated/components/VSwitch.vue2.d.ts +6 -0
  25. package/dist/generated/components/VSwitch.vue3.d.ts +6 -0
  26. package/dist/generated/components/VTagGroup.vue2.d.ts +12 -2
  27. package/dist/generated/components/VTagGroup.vue3.d.ts +12 -2
  28. package/dist/generated/components/index.d.ts +1 -0
  29. package/dist/index.es.js +416 -181
  30. package/dist/index.umd.js +1 -1
  31. package/dist/web-types.json +323 -9
  32. package/package.json +2 -2
@@ -32,6 +32,9 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
32
32
  type: PropType<string>;
33
33
  default: undefined;
34
34
  };
35
+ /**
36
+ * Indicates the selection mode.
37
+ */
35
38
  selectionMode: {
36
39
  type: PropType<"none" | "single-row" | "multi-row" | "single-cell" | "multi-cell">;
37
40
  default: undefined;
@@ -79,6 +82,9 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
79
82
  type: PropType<string>;
80
83
  default: undefined;
81
84
  };
85
+ /**
86
+ * Indicates the selection mode.
87
+ */
82
88
  selectionMode: {
83
89
  type: PropType<"none" | "single-row" | "multi-row" | "single-cell" | "multi-cell">;
84
90
  default: undefined;
@@ -32,6 +32,9 @@ declare const _default: import("vue").DefineComponent<{
32
32
  type: PropType<string>;
33
33
  default: undefined;
34
34
  };
35
+ /**
36
+ * Indicates the selection mode.
37
+ */
35
38
  selectionMode: {
36
39
  type: PropType<"none" | "single-row" | "multi-row" | "single-cell" | "multi-cell">;
37
40
  default: undefined;
@@ -79,6 +82,9 @@ declare const _default: import("vue").DefineComponent<{
79
82
  type: PropType<string>;
80
83
  default: undefined;
81
84
  };
85
+ /**
86
+ * Indicates the selection mode.
87
+ */
82
88
  selectionMode: {
83
89
  type: PropType<"none" | "single-row" | "multi-row" | "single-cell" | "multi-cell">;
84
90
  default: undefined;
@@ -33,10 +33,16 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
33
33
  type: PropType<string>;
34
34
  default: undefined;
35
35
  };
36
+ /**
37
+ * Indicates the selected status.
38
+ */
36
39
  ariaSelected: {
37
40
  type: PropType<string>;
38
41
  default: undefined;
39
42
  };
43
+ /**
44
+ * Indicates the sort status.
45
+ */
40
46
  ariaSort: {
41
47
  type: PropType<string>;
42
48
  default: undefined;
@@ -86,10 +92,16 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
86
92
  type: PropType<string>;
87
93
  default: undefined;
88
94
  };
95
+ /**
96
+ * Indicates the selected status.
97
+ */
89
98
  ariaSelected: {
90
99
  type: PropType<string>;
91
100
  default: undefined;
92
101
  };
102
+ /**
103
+ * Indicates the sort status.
104
+ */
93
105
  ariaSort: {
94
106
  type: PropType<string>;
95
107
  default: undefined;
@@ -33,10 +33,16 @@ declare const _default: import("vue").DefineComponent<{
33
33
  type: PropType<string>;
34
34
  default: undefined;
35
35
  };
36
+ /**
37
+ * Indicates the selected status.
38
+ */
36
39
  ariaSelected: {
37
40
  type: PropType<string>;
38
41
  default: undefined;
39
42
  };
43
+ /**
44
+ * Indicates the sort status.
45
+ */
40
46
  ariaSort: {
41
47
  type: PropType<string>;
42
48
  default: undefined;
@@ -86,10 +92,16 @@ declare const _default: import("vue").DefineComponent<{
86
92
  type: PropType<string>;
87
93
  default: undefined;
88
94
  };
95
+ /**
96
+ * Indicates the selected status.
97
+ */
89
98
  ariaSelected: {
90
99
  type: PropType<string>;
91
100
  default: undefined;
92
101
  };
102
+ /**
103
+ * Indicates the sort status.
104
+ */
93
105
  ariaSort: {
94
106
  type: PropType<string>;
95
107
  default: undefined;
@@ -24,6 +24,9 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
24
24
  type: PropType<"default" | "header" | "sticky-header">;
25
25
  default: undefined;
26
26
  };
27
+ /**
28
+ * Indicates the selected status.
29
+ */
27
30
  ariaSelected: {
28
31
  type: PropType<string>;
29
32
  default: undefined;
@@ -55,6 +58,9 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
55
58
  type: PropType<"default" | "header" | "sticky-header">;
56
59
  default: undefined;
57
60
  };
61
+ /**
62
+ * Indicates the selected status.
63
+ */
58
64
  ariaSelected: {
59
65
  type: PropType<string>;
60
66
  default: undefined;
@@ -24,6 +24,9 @@ declare const _default: import("vue").DefineComponent<{
24
24
  type: PropType<"default" | "header" | "sticky-header">;
25
25
  default: undefined;
26
26
  };
27
+ /**
28
+ * Indicates the selected status.
29
+ */
27
30
  ariaSelected: {
28
31
  type: PropType<string>;
29
32
  default: undefined;
@@ -55,6 +58,9 @@ declare const _default: import("vue").DefineComponent<{
55
58
  type: PropType<"default" | "header" | "sticky-header">;
56
59
  default: undefined;
57
60
  };
61
+ /**
62
+ * Indicates the selected status.
63
+ */
58
64
  ariaSelected: {
59
65
  type: PropType<string>;
60
66
  default: undefined;
@@ -1,15 +1,8 @@
1
1
  import { PropType } from 'vue';
2
2
  /**
3
- * Base class for date-picker
3
+ * Single date picker component.
4
4
  */
5
5
  declare const _default: import("vue/types/v3-define-component").DefineComponent<{
6
- /**
7
- * The helper text for the form element.
8
- */
9
- helperText: {
10
- type: PropType<string>;
11
- default: undefined;
12
- };
13
6
  /**
14
7
  * The label for the form element.
15
8
  */
@@ -53,16 +46,16 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
53
46
  default: undefined;
54
47
  };
55
48
  /**
56
- * The earliest accepted date of the date-picker.
49
+ * The latest accepted date of the date-picker.
57
50
  */
58
- min: {
51
+ max: {
59
52
  type: PropType<string>;
60
53
  default: undefined;
61
54
  };
62
55
  /**
63
- * The latest accepted date of the date-picker.
56
+ * The earliest accepted date of the date-picker.
64
57
  */
65
- max: {
58
+ min: {
66
59
  type: PropType<string>;
67
60
  default: undefined;
68
61
  };
@@ -90,6 +83,7 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
90
83
  }, {
91
84
  componentName: import("vue").Ref<string>;
92
85
  element: import("vue").Ref<{
86
+ label: string;
93
87
  min: string;
94
88
  max: string;
95
89
  initialValue: string;
@@ -97,8 +91,6 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
97
91
  readOnly: boolean;
98
92
  connectedCallback: () => void;
99
93
  disconnectedCallback: () => void;
100
- validate: () => void;
101
- _presentationValueChanged: () => void;
102
94
  proxy: HTMLInputElement;
103
95
  readonly locale: {
104
96
  datePicker: {
@@ -114,6 +106,9 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
114
106
  dateFormat: string;
115
107
  dateFormatPlaceholder: string;
116
108
  chooseDateLabel: string;
109
+ changeDateLabel: (date: string) => string;
110
+ chooseDatesLabel: string;
111
+ changeDatesLabel: (range: string) => string;
117
112
  prevYearLabel: string;
118
113
  prevMonthLabel: string;
119
114
  nextMonthLabel: string;
@@ -121,23 +116,24 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
121
116
  clearLabel: string;
122
117
  okLabel: string;
123
118
  invalidDateError: string;
119
+ invalidDateRangeError: string;
120
+ startDateAfterMinDateError: (minDate: string) => string;
121
+ endDateBeforeMaxDateError: (maxDate: string) => string;
122
+ };
123
+ filePicker: {
124
+ invalidFileTypeError: string;
125
+ maxFilesExceededError: string;
126
+ fileTooBigError: string;
127
+ removeFileLabel: string;
124
128
  };
125
129
  };
130
+ helperText?: string | undefined;
126
131
  errorText: string;
127
132
  errorValidationMessage: string;
128
- label: string;
129
133
  userValid: boolean;
130
134
  dirtyValue: boolean;
131
- helperText?: string | undefined;
132
135
  } | null>;
133
136
  }, 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<{
134
- /**
135
- * The helper text for the form element.
136
- */
137
- helperText: {
138
- type: PropType<string>;
139
- default: undefined;
140
- };
141
137
  /**
142
138
  * The label for the form element.
143
139
  */
@@ -181,16 +177,16 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
181
177
  default: undefined;
182
178
  };
183
179
  /**
184
- * The earliest accepted date of the date-picker.
180
+ * The latest accepted date of the date-picker.
185
181
  */
186
- min: {
182
+ max: {
187
183
  type: PropType<string>;
188
184
  default: undefined;
189
185
  };
190
186
  /**
191
- * The latest accepted date of the date-picker.
187
+ * The earliest accepted date of the date-picker.
192
188
  */
193
- max: {
189
+ min: {
194
190
  type: PropType<string>;
195
191
  default: undefined;
196
192
  };
@@ -224,9 +220,8 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
224
220
  label: string;
225
221
  modelValue: string;
226
222
  errorText: string;
227
- helperText: string;
228
223
  readonly: boolean;
229
- min: string;
230
224
  max: string;
225
+ min: string;
231
226
  }>;
232
227
  export default _default;
@@ -1,15 +1,8 @@
1
1
  import { PropType } from 'vue';
2
2
  /**
3
- * Base class for date-picker
3
+ * Single date picker component.
4
4
  */
5
5
  declare const _default: import("vue").DefineComponent<{
6
- /**
7
- * The helper text for the form element.
8
- */
9
- helperText: {
10
- type: PropType<string>;
11
- default: undefined;
12
- };
13
6
  /**
14
7
  * The label for the form element.
15
8
  */
@@ -53,16 +46,16 @@ declare const _default: import("vue").DefineComponent<{
53
46
  default: undefined;
54
47
  };
55
48
  /**
56
- * The earliest accepted date of the date-picker.
49
+ * The latest accepted date of the date-picker.
57
50
  */
58
- min: {
51
+ max: {
59
52
  type: PropType<string>;
60
53
  default: undefined;
61
54
  };
62
55
  /**
63
- * The latest accepted date of the date-picker.
56
+ * The earliest accepted date of the date-picker.
64
57
  */
65
- max: {
58
+ min: {
66
59
  type: PropType<string>;
67
60
  default: undefined;
68
61
  };
@@ -90,6 +83,7 @@ declare const _default: import("vue").DefineComponent<{
90
83
  }, {
91
84
  componentName: import("vue").Ref<string>;
92
85
  element: import("vue").Ref<{
86
+ label: string;
93
87
  min: string;
94
88
  max: string;
95
89
  initialValue: string;
@@ -97,8 +91,6 @@ declare const _default: import("vue").DefineComponent<{
97
91
  readOnly: boolean;
98
92
  connectedCallback: () => void;
99
93
  disconnectedCallback: () => void;
100
- validate: () => void;
101
- _presentationValueChanged: () => void;
102
94
  proxy: HTMLInputElement;
103
95
  readonly locale: {
104
96
  datePicker: {
@@ -114,6 +106,9 @@ declare const _default: import("vue").DefineComponent<{
114
106
  dateFormat: string;
115
107
  dateFormatPlaceholder: string;
116
108
  chooseDateLabel: string;
109
+ changeDateLabel: (date: string) => string;
110
+ chooseDatesLabel: string;
111
+ changeDatesLabel: (range: string) => string;
117
112
  prevYearLabel: string;
118
113
  prevMonthLabel: string;
119
114
  nextMonthLabel: string;
@@ -121,23 +116,24 @@ declare const _default: import("vue").DefineComponent<{
121
116
  clearLabel: string;
122
117
  okLabel: string;
123
118
  invalidDateError: string;
119
+ invalidDateRangeError: string;
120
+ startDateAfterMinDateError: (minDate: string) => string;
121
+ endDateBeforeMaxDateError: (maxDate: string) => string;
122
+ };
123
+ filePicker: {
124
+ invalidFileTypeError: string;
125
+ maxFilesExceededError: string;
126
+ fileTooBigError: string;
127
+ removeFileLabel: string;
124
128
  };
125
129
  };
130
+ helperText?: string | undefined;
126
131
  errorText: string;
127
132
  errorValidationMessage: string;
128
- label: string;
129
133
  userValid: boolean;
130
134
  dirtyValue: boolean;
131
- helperText?: string | undefined;
132
135
  } | null>;
133
136
  }, 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<{
134
- /**
135
- * The helper text for the form element.
136
- */
137
- helperText: {
138
- type: PropType<string>;
139
- default: undefined;
140
- };
141
137
  /**
142
138
  * The label for the form element.
143
139
  */
@@ -181,16 +177,16 @@ declare const _default: import("vue").DefineComponent<{
181
177
  default: undefined;
182
178
  };
183
179
  /**
184
- * The earliest accepted date of the date-picker.
180
+ * The latest accepted date of the date-picker.
185
181
  */
186
- min: {
182
+ max: {
187
183
  type: PropType<string>;
188
184
  default: undefined;
189
185
  };
190
186
  /**
191
- * The latest accepted date of the date-picker.
187
+ * The earliest accepted date of the date-picker.
192
188
  */
193
- max: {
189
+ min: {
194
190
  type: PropType<string>;
195
191
  default: undefined;
196
192
  };
@@ -232,9 +228,8 @@ declare const _default: import("vue").DefineComponent<{
232
228
  label: string;
233
229
  modelValue: string;
234
230
  errorText: string;
235
- helperText: string;
236
231
  readonly: boolean;
237
- min: string;
238
232
  max: string;
233
+ min: string;
239
234
  }>;
240
235
  export default _default;
@@ -0,0 +1,10 @@
1
+ import { VNode } from 'vue';
2
+ import VDateRangePickerVue2 from './VDateRangePicker.vue2';
3
+ import VDateRangePickerVue3 from './VDateRangePicker.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 VDateRangePickerVue2 : typeof VDateRangePickerVue3;
10
+ export default _default;