@vonage/vivid-vue 3.19.0 → 3.20.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.
@@ -114,7 +114,7 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
114
114
  componentName: import("vue").Ref<string>;
115
115
  element: import("vue").Ref<{
116
116
  connotation?: import("@vonage/vivid/lib/checkbox/checkbox").CheckboxConnotation | undefined;
117
- errorValidationMessage: boolean;
117
+ errorValidationMessage: string;
118
118
  label: string;
119
119
  userValid: boolean;
120
120
  dirtyValue: boolean;
@@ -114,7 +114,7 @@ declare const _default: import("vue").DefineComponent<{
114
114
  componentName: import("vue").Ref<string>;
115
115
  element: import("vue").Ref<{
116
116
  connotation?: import("@vonage/vivid/lib/checkbox/checkbox").CheckboxConnotation | undefined;
117
- errorValidationMessage: boolean;
117
+ errorValidationMessage: string;
118
118
  label: string;
119
119
  userValid: boolean;
120
120
  dirtyValue: boolean;
@@ -127,7 +127,7 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
127
127
  _anchor: HTMLElement;
128
128
  connectedCallback: () => void;
129
129
  icon?: string | undefined;
130
- errorValidationMessage: boolean;
130
+ errorValidationMessage: string;
131
131
  label: string;
132
132
  userValid: boolean;
133
133
  dirtyValue: boolean;
@@ -127,7 +127,7 @@ declare const _default: import("vue").DefineComponent<{
127
127
  _anchor: HTMLElement;
128
128
  connectedCallback: () => void;
129
129
  icon?: string | undefined;
130
- errorValidationMessage: boolean;
130
+ errorValidationMessage: string;
131
131
  label: string;
132
132
  userValid: boolean;
133
133
  dirtyValue: boolean;
@@ -4,33 +4,54 @@ import { PropType } from 'vue';
4
4
  */
5
5
  declare const _default: import("vue/types/v3-define-component").DefineComponent<{
6
6
  /**
7
- * Indicates the element that represents the current item within a container or set of related elements.
7
+ * The helper text for the form element.
8
8
  */
9
- ariaCurrent: {
10
- type: PropType<"page" | "step" | "location" | "date" | "time" | "true" | "false">;
9
+ helperText: {
10
+ type: PropType<string>;
11
11
  default: undefined;
12
12
  };
13
13
  /**
14
- * The label text of the date-picker.
14
+ * The label for the form element.
15
15
  */
16
16
  label: {
17
17
  type: PropType<string>;
18
18
  default: undefined;
19
19
  };
20
20
  /**
21
- * The helper-text text of the date-picker.
21
+ * The error text for the form element.
22
22
  */
23
- helperText: {
23
+ errorText: {
24
24
  type: PropType<string>;
25
25
  default: undefined;
26
26
  };
27
27
  /**
28
- * The error-text text of the date-picker.
28
+ * Indicates the element that represents the current item within a container or set of related elements.
29
29
  */
30
- errorText: {
30
+ ariaCurrent: {
31
+ type: PropType<"page" | "step" | "location" | "date" | "time" | "true" | "false">;
32
+ default: undefined;
33
+ };
34
+ /**
35
+ * Sets the element's disabled state. A disabled element will not be included during form submission.
36
+ */
37
+ disabled: {
38
+ type: PropType<boolean>;
39
+ default: undefined;
40
+ };
41
+ /**
42
+ * The name of the element. This element's value will be surfaced during form submission under the provided name.
43
+ */
44
+ name: {
31
45
  type: PropType<string>;
32
46
  default: undefined;
33
47
  };
48
+ /**
49
+ * Require the field to be completed prior to form submission.
50
+ */
51
+ required: {
52
+ type: PropType<boolean>;
53
+ default: undefined;
54
+ };
34
55
  /**
35
56
  * The earliest accepted date of the date-picker.
36
57
  */
@@ -46,17 +67,17 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
46
67
  default: undefined;
47
68
  };
48
69
  /**
49
- * The currently selected date of the date-picker.
70
+ * The initial value of the date-picker.
50
71
  */
51
72
  modelValue: {
52
73
  type: PropType<string>;
53
74
  default: undefined;
54
75
  };
55
76
  /**
56
- * Whether the date-picker is disabled.
77
+ * The current value of the date-picker.
57
78
  */
58
- disabled: {
59
- type: PropType<boolean>;
79
+ currentValue: {
80
+ type: PropType<string>;
60
81
  default: undefined;
61
82
  };
62
83
  /**
@@ -69,16 +90,16 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
69
90
  }, {
70
91
  componentName: import("vue").Ref<string>;
71
92
  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;
93
+ min: string;
94
+ max: string;
95
+ initialValue: string;
96
+ currentValue: string;
79
97
  readOnly: boolean;
80
98
  connectedCallback: () => void;
81
99
  disconnectedCallback: () => void;
100
+ validate: () => void;
101
+ _presentationValueChanged: () => void;
102
+ proxy: HTMLInputElement;
82
103
  readonly locale: {
83
104
  datePicker: {
84
105
  months: {
@@ -102,36 +123,63 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
102
123
  invalidDateError: string;
103
124
  };
104
125
  };
126
+ errorText: string;
127
+ errorValidationMessage: string;
128
+ label: string;
129
+ userValid: boolean;
130
+ dirtyValue: boolean;
131
+ helperText?: string | undefined;
105
132
  } | null>;
106
133
  }, 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<{
107
134
  /**
108
- * Indicates the element that represents the current item within a container or set of related elements.
135
+ * The helper text for the form element.
109
136
  */
110
- ariaCurrent: {
111
- type: PropType<"page" | "step" | "location" | "date" | "time" | "true" | "false">;
137
+ helperText: {
138
+ type: PropType<string>;
112
139
  default: undefined;
113
140
  };
114
141
  /**
115
- * The label text of the date-picker.
142
+ * The label for the form element.
116
143
  */
117
144
  label: {
118
145
  type: PropType<string>;
119
146
  default: undefined;
120
147
  };
121
148
  /**
122
- * The helper-text text of the date-picker.
149
+ * The error text for the form element.
123
150
  */
124
- helperText: {
151
+ errorText: {
125
152
  type: PropType<string>;
126
153
  default: undefined;
127
154
  };
128
155
  /**
129
- * The error-text text of the date-picker.
156
+ * Indicates the element that represents the current item within a container or set of related elements.
130
157
  */
131
- errorText: {
158
+ ariaCurrent: {
159
+ type: PropType<"page" | "step" | "location" | "date" | "time" | "true" | "false">;
160
+ default: undefined;
161
+ };
162
+ /**
163
+ * Sets the element's disabled state. A disabled element will not be included during form submission.
164
+ */
165
+ disabled: {
166
+ type: PropType<boolean>;
167
+ default: undefined;
168
+ };
169
+ /**
170
+ * The name of the element. This element's value will be surfaced during form submission under the provided name.
171
+ */
172
+ name: {
132
173
  type: PropType<string>;
133
174
  default: undefined;
134
175
  };
176
+ /**
177
+ * Require the field to be completed prior to form submission.
178
+ */
179
+ required: {
180
+ type: PropType<boolean>;
181
+ default: undefined;
182
+ };
135
183
  /**
136
184
  * The earliest accepted date of the date-picker.
137
185
  */
@@ -147,17 +195,17 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
147
195
  default: undefined;
148
196
  };
149
197
  /**
150
- * The currently selected date of the date-picker.
198
+ * The initial value of the date-picker.
151
199
  */
152
200
  modelValue: {
153
201
  type: PropType<string>;
154
202
  default: undefined;
155
203
  };
156
204
  /**
157
- * Whether the date-picker is disabled.
205
+ * The current value of the date-picker.
158
206
  */
159
- disabled: {
160
- type: PropType<boolean>;
207
+ currentValue: {
208
+ type: PropType<string>;
161
209
  default: undefined;
162
210
  };
163
211
  /**
@@ -168,8 +216,11 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
168
216
  default: undefined;
169
217
  };
170
218
  }>>, {
219
+ name: string;
171
220
  ariaCurrent: "page" | "step" | "location" | "date" | "time" | "true" | "false";
172
221
  disabled: boolean;
222
+ currentValue: string;
223
+ required: boolean;
173
224
  label: string;
174
225
  modelValue: string;
175
226
  errorText: string;
@@ -4,33 +4,54 @@ import { PropType } from 'vue';
4
4
  */
5
5
  declare const _default: import("vue").DefineComponent<{
6
6
  /**
7
- * Indicates the element that represents the current item within a container or set of related elements.
7
+ * The helper text for the form element.
8
8
  */
9
- ariaCurrent: {
10
- type: PropType<"page" | "step" | "location" | "date" | "time" | "true" | "false">;
9
+ helperText: {
10
+ type: PropType<string>;
11
11
  default: undefined;
12
12
  };
13
13
  /**
14
- * The label text of the date-picker.
14
+ * The label for the form element.
15
15
  */
16
16
  label: {
17
17
  type: PropType<string>;
18
18
  default: undefined;
19
19
  };
20
20
  /**
21
- * The helper-text text of the date-picker.
21
+ * The error text for the form element.
22
22
  */
23
- helperText: {
23
+ errorText: {
24
24
  type: PropType<string>;
25
25
  default: undefined;
26
26
  };
27
27
  /**
28
- * The error-text text of the date-picker.
28
+ * Indicates the element that represents the current item within a container or set of related elements.
29
29
  */
30
- errorText: {
30
+ ariaCurrent: {
31
+ type: PropType<"page" | "step" | "location" | "date" | "time" | "true" | "false">;
32
+ default: undefined;
33
+ };
34
+ /**
35
+ * Sets the element's disabled state. A disabled element will not be included during form submission.
36
+ */
37
+ disabled: {
38
+ type: PropType<boolean>;
39
+ default: undefined;
40
+ };
41
+ /**
42
+ * The name of the element. This element's value will be surfaced during form submission under the provided name.
43
+ */
44
+ name: {
31
45
  type: PropType<string>;
32
46
  default: undefined;
33
47
  };
48
+ /**
49
+ * Require the field to be completed prior to form submission.
50
+ */
51
+ required: {
52
+ type: PropType<boolean>;
53
+ default: undefined;
54
+ };
34
55
  /**
35
56
  * The earliest accepted date of the date-picker.
36
57
  */
@@ -46,17 +67,17 @@ declare const _default: import("vue").DefineComponent<{
46
67
  default: undefined;
47
68
  };
48
69
  /**
49
- * The currently selected date of the date-picker.
70
+ * The initial value of the date-picker.
50
71
  */
51
72
  modelValue: {
52
73
  type: PropType<string>;
53
74
  default: undefined;
54
75
  };
55
76
  /**
56
- * Whether the date-picker is disabled.
77
+ * The current value of the date-picker.
57
78
  */
58
- disabled: {
59
- type: PropType<boolean>;
79
+ currentValue: {
80
+ type: PropType<string>;
60
81
  default: undefined;
61
82
  };
62
83
  /**
@@ -69,16 +90,16 @@ declare const _default: import("vue").DefineComponent<{
69
90
  }, {
70
91
  componentName: import("vue").Ref<string>;
71
92
  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;
93
+ min: string;
94
+ max: string;
95
+ initialValue: string;
96
+ currentValue: string;
79
97
  readOnly: boolean;
80
98
  connectedCallback: () => void;
81
99
  disconnectedCallback: () => void;
100
+ validate: () => void;
101
+ _presentationValueChanged: () => void;
102
+ proxy: HTMLInputElement;
82
103
  readonly locale: {
83
104
  datePicker: {
84
105
  months: {
@@ -102,36 +123,63 @@ declare const _default: import("vue").DefineComponent<{
102
123
  invalidDateError: string;
103
124
  };
104
125
  };
126
+ errorText: string;
127
+ errorValidationMessage: string;
128
+ label: string;
129
+ userValid: boolean;
130
+ dirtyValue: boolean;
131
+ helperText?: string | undefined;
105
132
  } | null>;
106
133
  }, 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<{
107
134
  /**
108
- * Indicates the element that represents the current item within a container or set of related elements.
135
+ * The helper text for the form element.
109
136
  */
110
- ariaCurrent: {
111
- type: PropType<"page" | "step" | "location" | "date" | "time" | "true" | "false">;
137
+ helperText: {
138
+ type: PropType<string>;
112
139
  default: undefined;
113
140
  };
114
141
  /**
115
- * The label text of the date-picker.
142
+ * The label for the form element.
116
143
  */
117
144
  label: {
118
145
  type: PropType<string>;
119
146
  default: undefined;
120
147
  };
121
148
  /**
122
- * The helper-text text of the date-picker.
149
+ * The error text for the form element.
123
150
  */
124
- helperText: {
151
+ errorText: {
125
152
  type: PropType<string>;
126
153
  default: undefined;
127
154
  };
128
155
  /**
129
- * The error-text text of the date-picker.
156
+ * Indicates the element that represents the current item within a container or set of related elements.
130
157
  */
131
- errorText: {
158
+ ariaCurrent: {
159
+ type: PropType<"page" | "step" | "location" | "date" | "time" | "true" | "false">;
160
+ default: undefined;
161
+ };
162
+ /**
163
+ * Sets the element's disabled state. A disabled element will not be included during form submission.
164
+ */
165
+ disabled: {
166
+ type: PropType<boolean>;
167
+ default: undefined;
168
+ };
169
+ /**
170
+ * The name of the element. This element's value will be surfaced during form submission under the provided name.
171
+ */
172
+ name: {
132
173
  type: PropType<string>;
133
174
  default: undefined;
134
175
  };
176
+ /**
177
+ * Require the field to be completed prior to form submission.
178
+ */
179
+ required: {
180
+ type: PropType<boolean>;
181
+ default: undefined;
182
+ };
135
183
  /**
136
184
  * The earliest accepted date of the date-picker.
137
185
  */
@@ -147,17 +195,17 @@ declare const _default: import("vue").DefineComponent<{
147
195
  default: undefined;
148
196
  };
149
197
  /**
150
- * The currently selected date of the date-picker.
198
+ * The initial value of the date-picker.
151
199
  */
152
200
  modelValue: {
153
201
  type: PropType<string>;
154
202
  default: undefined;
155
203
  };
156
204
  /**
157
- * Whether the date-picker is disabled.
205
+ * The current value of the date-picker.
158
206
  */
159
- disabled: {
160
- type: PropType<boolean>;
207
+ currentValue: {
208
+ type: PropType<string>;
161
209
  default: undefined;
162
210
  };
163
211
  /**
@@ -176,8 +224,11 @@ declare const _default: import("vue").DefineComponent<{
176
224
  onInput?: ((...args: any[]) => any) | undefined;
177
225
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
178
226
  }, {
227
+ name: string;
179
228
  ariaCurrent: "page" | "step" | "location" | "date" | "time" | "true" | "false";
180
229
  disabled: boolean;
230
+ currentValue: string;
231
+ required: boolean;
181
232
  label: string;
182
233
  modelValue: string;
183
234
  errorText: string;
@@ -31,6 +31,13 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
31
31
  type: PropType<string>;
32
32
  default: undefined;
33
33
  };
34
+ /**
35
+ * The error text for the form element.
36
+ */
37
+ errorText: {
38
+ type: PropType<string>;
39
+ default: undefined;
40
+ };
34
41
  /**
35
42
  * A decorative icon the custom element should have.
36
43
  * See the Vivid Icon Gallery for available icons: https://icons.vivid.vonage.com/
@@ -181,8 +188,13 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
181
188
  appearance?: import("@vonage/vivid").NumberFieldAppearance | undefined;
182
189
  shape?: import("@vonage/vivid").NumberFieldShape | undefined;
183
190
  autoComplete?: string | undefined;
191
+ stepChanged: (_previous: number, next: number) => void;
192
+ attributeChangedCallback: (name: string, previous: string, next: string) => void;
193
+ stepUp: () => void;
194
+ stepDown: () => void;
184
195
  icon?: string | undefined;
185
- errorValidationMessage: boolean;
196
+ errorText: string;
197
+ errorValidationMessage: string;
186
198
  label: string;
187
199
  userValid: boolean;
188
200
  dirtyValue: boolean;
@@ -219,6 +231,13 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
219
231
  type: PropType<string>;
220
232
  default: undefined;
221
233
  };
234
+ /**
235
+ * The error text for the form element.
236
+ */
237
+ errorText: {
238
+ type: PropType<string>;
239
+ default: undefined;
240
+ };
222
241
  /**
223
242
  * A decorative icon the custom element should have.
224
243
  * See the Vivid Icon Gallery for available icons: https://icons.vivid.vonage.com/
@@ -378,6 +397,7 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
378
397
  label: string;
379
398
  modelValue: string;
380
399
  successText: string;
400
+ errorText: string;
381
401
  helperText: string;
382
402
  readonly: boolean;
383
403
  list: string;
@@ -31,6 +31,13 @@ declare const _default: import("vue").DefineComponent<{
31
31
  type: PropType<string>;
32
32
  default: undefined;
33
33
  };
34
+ /**
35
+ * The error text for the form element.
36
+ */
37
+ errorText: {
38
+ type: PropType<string>;
39
+ default: undefined;
40
+ };
34
41
  /**
35
42
  * A decorative icon the custom element should have.
36
43
  * See the Vivid Icon Gallery for available icons: https://icons.vivid.vonage.com/
@@ -181,8 +188,13 @@ declare const _default: import("vue").DefineComponent<{
181
188
  appearance?: import("@vonage/vivid").NumberFieldAppearance | undefined;
182
189
  shape?: import("@vonage/vivid").NumberFieldShape | undefined;
183
190
  autoComplete?: string | undefined;
191
+ stepChanged: (_previous: number, next: number) => void;
192
+ attributeChangedCallback: (name: string, previous: string, next: string) => void;
193
+ stepUp: () => void;
194
+ stepDown: () => void;
184
195
  icon?: string | undefined;
185
- errorValidationMessage: boolean;
196
+ errorText: string;
197
+ errorValidationMessage: string;
186
198
  label: string;
187
199
  userValid: boolean;
188
200
  dirtyValue: boolean;
@@ -219,6 +231,13 @@ declare const _default: import("vue").DefineComponent<{
219
231
  type: PropType<string>;
220
232
  default: undefined;
221
233
  };
234
+ /**
235
+ * The error text for the form element.
236
+ */
237
+ errorText: {
238
+ type: PropType<string>;
239
+ default: undefined;
240
+ };
222
241
  /**
223
242
  * A decorative icon the custom element should have.
224
243
  * See the Vivid Icon Gallery for available icons: https://icons.vivid.vonage.com/
@@ -387,6 +406,7 @@ declare const _default: import("vue").DefineComponent<{
387
406
  label: string;
388
407
  modelValue: string;
389
408
  successText: string;
409
+ errorText: string;
390
410
  helperText: string;
391
411
  readonly: boolean;
392
412
  list: string;
@@ -173,7 +173,7 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
173
173
  setDefaultSelectedOption: () => void;
174
174
  iconTrailing: boolean;
175
175
  icon?: string | undefined;
176
- errorValidationMessage: boolean;
176
+ errorValidationMessage: string;
177
177
  label: string;
178
178
  userValid: boolean;
179
179
  dirtyValue: boolean;
@@ -173,7 +173,7 @@ declare const _default: import("vue").DefineComponent<{
173
173
  setDefaultSelectedOption: () => void;
174
174
  iconTrailing: boolean;
175
175
  icon?: string | undefined;
176
- errorValidationMessage: boolean;
176
+ errorValidationMessage: string;
177
177
  label: string;
178
178
  userValid: boolean;
179
179
  dirtyValue: boolean;
@@ -14,7 +14,7 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
14
14
  componentName: import("vue").Ref<string>;
15
15
  element: import("vue").Ref<{
16
16
  wrap?: import("@vonage/vivid").TextAreaWrap | undefined;
17
- errorValidationMessage: boolean;
17
+ errorValidationMessage: string;
18
18
  label: string;
19
19
  userValid: boolean;
20
20
  dirtyValue: boolean;
@@ -14,7 +14,7 @@ declare const _default: import("vue").DefineComponent<{
14
14
  componentName: import("vue").Ref<string>;
15
15
  element: import("vue").Ref<{
16
16
  wrap?: import("@vonage/vivid").TextAreaWrap | undefined;
17
- errorValidationMessage: boolean;
17
+ errorValidationMessage: string;
18
18
  label: string;
19
19
  userValid: boolean;
20
20
  dirtyValue: boolean;
@@ -184,7 +184,7 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
184
184
  leadingActionItemsSlottedContent?: HTMLElement[] | undefined;
185
185
  icon?: string | undefined;
186
186
  errorText: string;
187
- errorValidationMessage: boolean;
187
+ errorValidationMessage: string;
188
188
  label: string;
189
189
  userValid: boolean;
190
190
  dirtyValue: boolean;
@@ -184,7 +184,7 @@ declare const _default: import("vue").DefineComponent<{
184
184
  leadingActionItemsSlottedContent?: HTMLElement[] | undefined;
185
185
  icon?: string | undefined;
186
186
  errorText: string;
187
- errorValidationMessage: boolean;
187
+ errorValidationMessage: string;
188
188
  label: string;
189
189
  userValid: boolean;
190
190
  dirtyValue: boolean;