@vonage/vivid-vue 3.20.1 → 3.22.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/dist/generated/components/VAlert.vue2.d.ts +66 -0
- package/dist/generated/components/VAlert.vue3.d.ts +66 -0
- package/dist/generated/components/VBanner.vue2.d.ts +66 -0
- package/dist/generated/components/VBanner.vue3.d.ts +66 -0
- package/dist/generated/components/VCard.vue2.d.ts +16 -0
- package/dist/generated/components/VCard.vue3.d.ts +16 -0
- package/dist/generated/components/VCheckbox.vue2.d.ts +20 -0
- package/dist/generated/components/VCheckbox.vue3.d.ts +20 -0
- package/dist/generated/components/VDataGrid.vue2.d.ts +6 -0
- package/dist/generated/components/VDataGrid.vue3.d.ts +6 -0
- package/dist/generated/components/VDataGridCell.vue2.d.ts +13 -1
- package/dist/generated/components/VDataGridCell.vue3.d.ts +14 -1
- package/dist/generated/components/VDataGridRow.vue2.d.ts +6 -0
- package/dist/generated/components/VDataGridRow.vue3.d.ts +6 -0
- package/dist/generated/components/VDatePicker.vue2.d.ts +45 -29
- package/dist/generated/components/VDatePicker.vue3.d.ts +45 -29
- package/dist/generated/components/VDateRangePicker.d.ts +10 -0
- package/dist/generated/components/VDateRangePicker.vue2.d.ts +301 -0
- package/dist/generated/components/VDateRangePicker.vue3.d.ts +312 -0
- package/dist/generated/components/VDialog.vue2.d.ts +66 -0
- package/dist/generated/components/VDialog.vue3.d.ts +66 -0
- package/dist/generated/components/VMenuItem.vue2.d.ts +32 -0
- package/dist/generated/components/VMenuItem.vue3.d.ts +32 -0
- package/dist/generated/components/VNumberField.vue2.d.ts +77 -1
- package/dist/generated/components/VNumberField.vue3.d.ts +77 -1
- package/dist/generated/components/VProgress.vue2.d.ts +29 -1
- package/dist/generated/components/VProgress.vue3.d.ts +29 -1
- package/dist/generated/components/VProgressRing.vue2.d.ts +11 -1
- package/dist/generated/components/VProgressRing.vue3.d.ts +11 -1
- package/dist/generated/components/VRadio.vue2.d.ts +10 -0
- package/dist/generated/components/VRadio.vue3.d.ts +10 -0
- package/dist/generated/components/VSelectableBox.d.ts +10 -0
- package/dist/generated/components/VSelectableBox.vue2.d.ts +118 -0
- package/dist/generated/components/VSelectableBox.vue3.d.ts +126 -0
- package/dist/generated/components/VSideDrawer.vue2.d.ts +1 -1
- package/dist/generated/components/VSideDrawer.vue3.d.ts +3 -1
- package/dist/generated/components/VSlider.vue2.d.ts +37 -1
- package/dist/generated/components/VSlider.vue3.d.ts +37 -1
- package/dist/generated/components/VSwitch.vue2.d.ts +6 -0
- package/dist/generated/components/VSwitch.vue3.d.ts +6 -0
- package/dist/generated/components/VTagGroup.vue2.d.ts +12 -2
- package/dist/generated/components/VTagGroup.vue3.d.ts +12 -2
- package/dist/generated/components/VTextArea.vue2.d.ts +2 -0
- package/dist/generated/components/VTextArea.vue3.d.ts +2 -0
- package/dist/generated/components/VTextField.vue2.d.ts +3 -0
- package/dist/generated/components/VTextField.vue3.d.ts +3 -0
- package/dist/generated/components/index.d.ts +2 -0
- package/dist/index.es.js +820 -400
- package/dist/index.umd.js +1 -1
- package/dist/web-types.json +529 -9
- package/package.json +2 -2
|
@@ -1,15 +1,8 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
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
|
|
49
|
+
* The latest accepted date of the date-picker.
|
|
57
50
|
*/
|
|
58
|
-
|
|
51
|
+
max: {
|
|
59
52
|
type: PropType<string>;
|
|
60
53
|
default: undefined;
|
|
61
54
|
};
|
|
62
55
|
/**
|
|
63
|
-
* The
|
|
56
|
+
* The earliest accepted date of the date-picker.
|
|
64
57
|
*/
|
|
65
|
-
|
|
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,45 @@ 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;
|
|
128
|
+
};
|
|
129
|
+
audioPlayer: {
|
|
130
|
+
playButtonLabel: string;
|
|
131
|
+
pauseButtonLabel: string;
|
|
132
|
+
sliderLabel: string;
|
|
133
|
+
};
|
|
134
|
+
alert: {
|
|
135
|
+
dismissButtonLabel: string;
|
|
136
|
+
};
|
|
137
|
+
dialog: {
|
|
138
|
+
dismissButtonLabel: string;
|
|
139
|
+
};
|
|
140
|
+
banner: {
|
|
141
|
+
dismissButtonLabel: string;
|
|
142
|
+
};
|
|
143
|
+
numberField: {
|
|
144
|
+
incrementButtonLabel: string;
|
|
145
|
+
decrementButtonLabel: string;
|
|
146
|
+
};
|
|
147
|
+
splitButton: {
|
|
148
|
+
showMoreActionsLabel: string;
|
|
124
149
|
};
|
|
125
150
|
};
|
|
151
|
+
helperText?: string | undefined;
|
|
126
152
|
errorText: string;
|
|
127
153
|
errorValidationMessage: string;
|
|
128
|
-
label: string;
|
|
129
154
|
userValid: boolean;
|
|
130
155
|
dirtyValue: boolean;
|
|
131
|
-
helperText?: string | undefined;
|
|
132
156
|
} | null>;
|
|
133
157
|
}, 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
158
|
/**
|
|
142
159
|
* The label for the form element.
|
|
143
160
|
*/
|
|
@@ -181,16 +198,16 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
|
|
|
181
198
|
default: undefined;
|
|
182
199
|
};
|
|
183
200
|
/**
|
|
184
|
-
* The
|
|
201
|
+
* The latest accepted date of the date-picker.
|
|
185
202
|
*/
|
|
186
|
-
|
|
203
|
+
max: {
|
|
187
204
|
type: PropType<string>;
|
|
188
205
|
default: undefined;
|
|
189
206
|
};
|
|
190
207
|
/**
|
|
191
|
-
* The
|
|
208
|
+
* The earliest accepted date of the date-picker.
|
|
192
209
|
*/
|
|
193
|
-
|
|
210
|
+
min: {
|
|
194
211
|
type: PropType<string>;
|
|
195
212
|
default: undefined;
|
|
196
213
|
};
|
|
@@ -224,9 +241,8 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
|
|
|
224
241
|
label: string;
|
|
225
242
|
modelValue: string;
|
|
226
243
|
errorText: string;
|
|
227
|
-
helperText: string;
|
|
228
244
|
readonly: boolean;
|
|
229
|
-
min: string;
|
|
230
245
|
max: string;
|
|
246
|
+
min: string;
|
|
231
247
|
}>;
|
|
232
248
|
export default _default;
|
|
@@ -1,15 +1,8 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
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
|
|
49
|
+
* The latest accepted date of the date-picker.
|
|
57
50
|
*/
|
|
58
|
-
|
|
51
|
+
max: {
|
|
59
52
|
type: PropType<string>;
|
|
60
53
|
default: undefined;
|
|
61
54
|
};
|
|
62
55
|
/**
|
|
63
|
-
* The
|
|
56
|
+
* The earliest accepted date of the date-picker.
|
|
64
57
|
*/
|
|
65
|
-
|
|
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,45 @@ 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;
|
|
128
|
+
};
|
|
129
|
+
audioPlayer: {
|
|
130
|
+
playButtonLabel: string;
|
|
131
|
+
pauseButtonLabel: string;
|
|
132
|
+
sliderLabel: string;
|
|
133
|
+
};
|
|
134
|
+
alert: {
|
|
135
|
+
dismissButtonLabel: string;
|
|
136
|
+
};
|
|
137
|
+
dialog: {
|
|
138
|
+
dismissButtonLabel: string;
|
|
139
|
+
};
|
|
140
|
+
banner: {
|
|
141
|
+
dismissButtonLabel: string;
|
|
142
|
+
};
|
|
143
|
+
numberField: {
|
|
144
|
+
incrementButtonLabel: string;
|
|
145
|
+
decrementButtonLabel: string;
|
|
146
|
+
};
|
|
147
|
+
splitButton: {
|
|
148
|
+
showMoreActionsLabel: string;
|
|
124
149
|
};
|
|
125
150
|
};
|
|
151
|
+
helperText?: string | undefined;
|
|
126
152
|
errorText: string;
|
|
127
153
|
errorValidationMessage: string;
|
|
128
|
-
label: string;
|
|
129
154
|
userValid: boolean;
|
|
130
155
|
dirtyValue: boolean;
|
|
131
|
-
helperText?: string | undefined;
|
|
132
156
|
} | null>;
|
|
133
157
|
}, 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
158
|
/**
|
|
142
159
|
* The label for the form element.
|
|
143
160
|
*/
|
|
@@ -181,16 +198,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
181
198
|
default: undefined;
|
|
182
199
|
};
|
|
183
200
|
/**
|
|
184
|
-
* The
|
|
201
|
+
* The latest accepted date of the date-picker.
|
|
185
202
|
*/
|
|
186
|
-
|
|
203
|
+
max: {
|
|
187
204
|
type: PropType<string>;
|
|
188
205
|
default: undefined;
|
|
189
206
|
};
|
|
190
207
|
/**
|
|
191
|
-
* The
|
|
208
|
+
* The earliest accepted date of the date-picker.
|
|
192
209
|
*/
|
|
193
|
-
|
|
210
|
+
min: {
|
|
194
211
|
type: PropType<string>;
|
|
195
212
|
default: undefined;
|
|
196
213
|
};
|
|
@@ -232,9 +249,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
232
249
|
label: string;
|
|
233
250
|
modelValue: string;
|
|
234
251
|
errorText: string;
|
|
235
|
-
helperText: string;
|
|
236
252
|
readonly: boolean;
|
|
237
|
-
min: string;
|
|
238
253
|
max: string;
|
|
254
|
+
min: string;
|
|
239
255
|
}>;
|
|
240
256
|
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;
|
|
@@ -0,0 +1,301 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
/**
|
|
3
|
+
* Base class for date-range-picker
|
|
4
|
+
*/
|
|
5
|
+
declare const _default: import("vue/types/v3-define-component").DefineComponent<{
|
|
6
|
+
/**
|
|
7
|
+
* The label for the form element.
|
|
8
|
+
*/
|
|
9
|
+
label: {
|
|
10
|
+
type: PropType<string>;
|
|
11
|
+
default: undefined;
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* The error text for the form element.
|
|
15
|
+
*/
|
|
16
|
+
errorText: {
|
|
17
|
+
type: PropType<string>;
|
|
18
|
+
default: undefined;
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* Indicates the element that represents the current item within a container or set of related elements.
|
|
22
|
+
*/
|
|
23
|
+
ariaCurrent: {
|
|
24
|
+
type: PropType<"page" | "step" | "location" | "date" | "time" | "true" | "false">;
|
|
25
|
+
default: undefined;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* Sets the element's disabled state. A disabled element will not be included during form submission.
|
|
29
|
+
*/
|
|
30
|
+
disabled: {
|
|
31
|
+
type: PropType<boolean>;
|
|
32
|
+
default: undefined;
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* The name of the element. This element's value will be surfaced during form submission under the provided name.
|
|
36
|
+
*/
|
|
37
|
+
name: {
|
|
38
|
+
type: PropType<string>;
|
|
39
|
+
default: undefined;
|
|
40
|
+
};
|
|
41
|
+
/**
|
|
42
|
+
* Require the field to be completed prior to form submission.
|
|
43
|
+
*/
|
|
44
|
+
required: {
|
|
45
|
+
type: PropType<boolean>;
|
|
46
|
+
default: undefined;
|
|
47
|
+
};
|
|
48
|
+
/**
|
|
49
|
+
* The latest accepted date of the date-picker.
|
|
50
|
+
*/
|
|
51
|
+
max: {
|
|
52
|
+
type: PropType<string>;
|
|
53
|
+
default: undefined;
|
|
54
|
+
};
|
|
55
|
+
/**
|
|
56
|
+
* The current start value of the element. This property serves as a mechanism
|
|
57
|
+
* to set the `start` property through both property assignment and the
|
|
58
|
+
* .setAttribute() method. This is useful for setting the field's value
|
|
59
|
+
* in UI libraries that bind data through the .setAttribute() API
|
|
60
|
+
* and don't support IDL attribute binding.
|
|
61
|
+
*/
|
|
62
|
+
start: {
|
|
63
|
+
type: PropType<string>;
|
|
64
|
+
default: undefined;
|
|
65
|
+
};
|
|
66
|
+
/**
|
|
67
|
+
* The current end value of the element. This property serves as a mechanism
|
|
68
|
+
* to set the `end` property through both property assignment and the
|
|
69
|
+
* .setAttribute() method. This is useful for setting the field's value
|
|
70
|
+
* in UI libraries that bind data through the .setAttribute() API
|
|
71
|
+
* and don't support IDL attribute binding.
|
|
72
|
+
*/
|
|
73
|
+
end: {
|
|
74
|
+
type: PropType<string>;
|
|
75
|
+
default: undefined;
|
|
76
|
+
};
|
|
77
|
+
/**
|
|
78
|
+
* The earliest accepted date of the date-picker.
|
|
79
|
+
*/
|
|
80
|
+
min: {
|
|
81
|
+
type: PropType<string>;
|
|
82
|
+
default: undefined;
|
|
83
|
+
};
|
|
84
|
+
/**
|
|
85
|
+
* The initial value of the date-picker.
|
|
86
|
+
*/
|
|
87
|
+
value: {
|
|
88
|
+
type: PropType<string>;
|
|
89
|
+
default: undefined;
|
|
90
|
+
};
|
|
91
|
+
/**
|
|
92
|
+
* The current value of the date-picker.
|
|
93
|
+
*/
|
|
94
|
+
currentValue: {
|
|
95
|
+
type: PropType<string>;
|
|
96
|
+
default: undefined;
|
|
97
|
+
};
|
|
98
|
+
/**
|
|
99
|
+
* Whether the date-picker is readonly.
|
|
100
|
+
*/
|
|
101
|
+
readonly: {
|
|
102
|
+
type: PropType<boolean>;
|
|
103
|
+
default: undefined;
|
|
104
|
+
};
|
|
105
|
+
}, {
|
|
106
|
+
componentName: import("vue").Ref<string>;
|
|
107
|
+
element: import("vue").Ref<{
|
|
108
|
+
initialStart: string;
|
|
109
|
+
initialEnd: string;
|
|
110
|
+
start: string;
|
|
111
|
+
end: string;
|
|
112
|
+
currentStart: string;
|
|
113
|
+
currentEnd: string;
|
|
114
|
+
setFormValue: (value: string | File | FormData | null, state?: string | File | FormData | null | undefined) => void;
|
|
115
|
+
connectedCallback: () => void;
|
|
116
|
+
label: string;
|
|
117
|
+
min: string;
|
|
118
|
+
max: string;
|
|
119
|
+
initialValue: string;
|
|
120
|
+
currentValue: string;
|
|
121
|
+
readOnly: boolean;
|
|
122
|
+
disconnectedCallback: () => void;
|
|
123
|
+
proxy: HTMLInputElement;
|
|
124
|
+
readonly locale: {
|
|
125
|
+
datePicker: {
|
|
126
|
+
months: {
|
|
127
|
+
name: string[];
|
|
128
|
+
shorthand: string[];
|
|
129
|
+
};
|
|
130
|
+
weekdays: {
|
|
131
|
+
name: string[];
|
|
132
|
+
shorthand: string[];
|
|
133
|
+
};
|
|
134
|
+
firstDayOfWeek: number;
|
|
135
|
+
dateFormat: string;
|
|
136
|
+
dateFormatPlaceholder: string;
|
|
137
|
+
chooseDateLabel: string;
|
|
138
|
+
changeDateLabel: (date: string) => string;
|
|
139
|
+
chooseDatesLabel: string;
|
|
140
|
+
changeDatesLabel: (range: string) => string;
|
|
141
|
+
prevYearLabel: string;
|
|
142
|
+
prevMonthLabel: string;
|
|
143
|
+
nextMonthLabel: string;
|
|
144
|
+
nextYearLabel: string;
|
|
145
|
+
clearLabel: string;
|
|
146
|
+
okLabel: string;
|
|
147
|
+
invalidDateError: string;
|
|
148
|
+
invalidDateRangeError: string;
|
|
149
|
+
startDateAfterMinDateError: (minDate: string) => string;
|
|
150
|
+
endDateBeforeMaxDateError: (maxDate: string) => string;
|
|
151
|
+
};
|
|
152
|
+
filePicker: {
|
|
153
|
+
invalidFileTypeError: string;
|
|
154
|
+
maxFilesExceededError: string;
|
|
155
|
+
fileTooBigError: string;
|
|
156
|
+
removeFileLabel: string;
|
|
157
|
+
};
|
|
158
|
+
audioPlayer: {
|
|
159
|
+
playButtonLabel: string;
|
|
160
|
+
pauseButtonLabel: string;
|
|
161
|
+
sliderLabel: string;
|
|
162
|
+
};
|
|
163
|
+
alert: {
|
|
164
|
+
dismissButtonLabel: string;
|
|
165
|
+
};
|
|
166
|
+
dialog: {
|
|
167
|
+
dismissButtonLabel: string;
|
|
168
|
+
};
|
|
169
|
+
banner: {
|
|
170
|
+
dismissButtonLabel: string;
|
|
171
|
+
};
|
|
172
|
+
numberField: {
|
|
173
|
+
incrementButtonLabel: string;
|
|
174
|
+
decrementButtonLabel: string;
|
|
175
|
+
};
|
|
176
|
+
splitButton: {
|
|
177
|
+
showMoreActionsLabel: string;
|
|
178
|
+
};
|
|
179
|
+
};
|
|
180
|
+
helperText?: string | undefined;
|
|
181
|
+
errorText: string;
|
|
182
|
+
errorValidationMessage: string;
|
|
183
|
+
userValid: boolean;
|
|
184
|
+
dirtyValue: boolean;
|
|
185
|
+
} | null>;
|
|
186
|
+
}, import("vue").Data, {}, {}, 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<{
|
|
187
|
+
/**
|
|
188
|
+
* The label for the form element.
|
|
189
|
+
*/
|
|
190
|
+
label: {
|
|
191
|
+
type: PropType<string>;
|
|
192
|
+
default: undefined;
|
|
193
|
+
};
|
|
194
|
+
/**
|
|
195
|
+
* The error text for the form element.
|
|
196
|
+
*/
|
|
197
|
+
errorText: {
|
|
198
|
+
type: PropType<string>;
|
|
199
|
+
default: undefined;
|
|
200
|
+
};
|
|
201
|
+
/**
|
|
202
|
+
* Indicates the element that represents the current item within a container or set of related elements.
|
|
203
|
+
*/
|
|
204
|
+
ariaCurrent: {
|
|
205
|
+
type: PropType<"page" | "step" | "location" | "date" | "time" | "true" | "false">;
|
|
206
|
+
default: undefined;
|
|
207
|
+
};
|
|
208
|
+
/**
|
|
209
|
+
* Sets the element's disabled state. A disabled element will not be included during form submission.
|
|
210
|
+
*/
|
|
211
|
+
disabled: {
|
|
212
|
+
type: PropType<boolean>;
|
|
213
|
+
default: undefined;
|
|
214
|
+
};
|
|
215
|
+
/**
|
|
216
|
+
* The name of the element. This element's value will be surfaced during form submission under the provided name.
|
|
217
|
+
*/
|
|
218
|
+
name: {
|
|
219
|
+
type: PropType<string>;
|
|
220
|
+
default: undefined;
|
|
221
|
+
};
|
|
222
|
+
/**
|
|
223
|
+
* Require the field to be completed prior to form submission.
|
|
224
|
+
*/
|
|
225
|
+
required: {
|
|
226
|
+
type: PropType<boolean>;
|
|
227
|
+
default: undefined;
|
|
228
|
+
};
|
|
229
|
+
/**
|
|
230
|
+
* The latest accepted date of the date-picker.
|
|
231
|
+
*/
|
|
232
|
+
max: {
|
|
233
|
+
type: PropType<string>;
|
|
234
|
+
default: undefined;
|
|
235
|
+
};
|
|
236
|
+
/**
|
|
237
|
+
* The current start value of the element. This property serves as a mechanism
|
|
238
|
+
* to set the `start` property through both property assignment and the
|
|
239
|
+
* .setAttribute() method. This is useful for setting the field's value
|
|
240
|
+
* in UI libraries that bind data through the .setAttribute() API
|
|
241
|
+
* and don't support IDL attribute binding.
|
|
242
|
+
*/
|
|
243
|
+
start: {
|
|
244
|
+
type: PropType<string>;
|
|
245
|
+
default: undefined;
|
|
246
|
+
};
|
|
247
|
+
/**
|
|
248
|
+
* The current end value of the element. This property serves as a mechanism
|
|
249
|
+
* to set the `end` property through both property assignment and the
|
|
250
|
+
* .setAttribute() method. This is useful for setting the field's value
|
|
251
|
+
* in UI libraries that bind data through the .setAttribute() API
|
|
252
|
+
* and don't support IDL attribute binding.
|
|
253
|
+
*/
|
|
254
|
+
end: {
|
|
255
|
+
type: PropType<string>;
|
|
256
|
+
default: undefined;
|
|
257
|
+
};
|
|
258
|
+
/**
|
|
259
|
+
* The earliest accepted date of the date-picker.
|
|
260
|
+
*/
|
|
261
|
+
min: {
|
|
262
|
+
type: PropType<string>;
|
|
263
|
+
default: undefined;
|
|
264
|
+
};
|
|
265
|
+
/**
|
|
266
|
+
* The initial value of the date-picker.
|
|
267
|
+
*/
|
|
268
|
+
value: {
|
|
269
|
+
type: PropType<string>;
|
|
270
|
+
default: undefined;
|
|
271
|
+
};
|
|
272
|
+
/**
|
|
273
|
+
* The current value of the date-picker.
|
|
274
|
+
*/
|
|
275
|
+
currentValue: {
|
|
276
|
+
type: PropType<string>;
|
|
277
|
+
default: undefined;
|
|
278
|
+
};
|
|
279
|
+
/**
|
|
280
|
+
* Whether the date-picker is readonly.
|
|
281
|
+
*/
|
|
282
|
+
readonly: {
|
|
283
|
+
type: PropType<boolean>;
|
|
284
|
+
default: undefined;
|
|
285
|
+
};
|
|
286
|
+
}>>, {
|
|
287
|
+
name: string;
|
|
288
|
+
ariaCurrent: "page" | "step" | "location" | "date" | "time" | "true" | "false";
|
|
289
|
+
value: string;
|
|
290
|
+
disabled: boolean;
|
|
291
|
+
currentValue: string;
|
|
292
|
+
required: boolean;
|
|
293
|
+
label: string;
|
|
294
|
+
start: string;
|
|
295
|
+
errorText: string;
|
|
296
|
+
readonly: boolean;
|
|
297
|
+
max: string;
|
|
298
|
+
min: string;
|
|
299
|
+
end: string;
|
|
300
|
+
}>;
|
|
301
|
+
export default _default;
|