@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.
- 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 +12 -0
- package/dist/generated/components/VDataGridCell.vue3.d.ts +12 -0
- 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 +24 -29
- package/dist/generated/components/VDatePicker.vue3.d.ts +24 -29
- package/dist/generated/components/VDateRangePicker.d.ts +10 -0
- package/dist/generated/components/VDateRangePicker.vue2.d.ts +280 -0
- package/dist/generated/components/VDateRangePicker.vue3.d.ts +291 -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 +1 -1
- package/dist/generated/components/VNumberField.vue3.d.ts +1 -1
- package/dist/generated/components/VProgress.vue2.d.ts +19 -1
- package/dist/generated/components/VProgress.vue3.d.ts +19 -1
- package/dist/generated/components/VProgressRing.vue2.d.ts +1 -1
- package/dist/generated/components/VProgressRing.vue3.d.ts +1 -1
- 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 +1 -1
- package/dist/generated/components/VSlider.vue3.d.ts +1 -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/index.d.ts +1 -0
- package/dist/index.es.js +416 -181
- package/dist/index.umd.js +1 -1
- package/dist/web-types.json +323 -9
- package/package.json +2 -2
|
@@ -0,0 +1,280 @@
|
|
|
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
|
+
};
|
|
159
|
+
helperText?: string | undefined;
|
|
160
|
+
errorText: string;
|
|
161
|
+
errorValidationMessage: string;
|
|
162
|
+
userValid: boolean;
|
|
163
|
+
dirtyValue: boolean;
|
|
164
|
+
} | null>;
|
|
165
|
+
}, 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<{
|
|
166
|
+
/**
|
|
167
|
+
* The label for the form element.
|
|
168
|
+
*/
|
|
169
|
+
label: {
|
|
170
|
+
type: PropType<string>;
|
|
171
|
+
default: undefined;
|
|
172
|
+
};
|
|
173
|
+
/**
|
|
174
|
+
* The error text for the form element.
|
|
175
|
+
*/
|
|
176
|
+
errorText: {
|
|
177
|
+
type: PropType<string>;
|
|
178
|
+
default: undefined;
|
|
179
|
+
};
|
|
180
|
+
/**
|
|
181
|
+
* Indicates the element that represents the current item within a container or set of related elements.
|
|
182
|
+
*/
|
|
183
|
+
ariaCurrent: {
|
|
184
|
+
type: PropType<"page" | "step" | "location" | "date" | "time" | "true" | "false">;
|
|
185
|
+
default: undefined;
|
|
186
|
+
};
|
|
187
|
+
/**
|
|
188
|
+
* Sets the element's disabled state. A disabled element will not be included during form submission.
|
|
189
|
+
*/
|
|
190
|
+
disabled: {
|
|
191
|
+
type: PropType<boolean>;
|
|
192
|
+
default: undefined;
|
|
193
|
+
};
|
|
194
|
+
/**
|
|
195
|
+
* The name of the element. This element's value will be surfaced during form submission under the provided name.
|
|
196
|
+
*/
|
|
197
|
+
name: {
|
|
198
|
+
type: PropType<string>;
|
|
199
|
+
default: undefined;
|
|
200
|
+
};
|
|
201
|
+
/**
|
|
202
|
+
* Require the field to be completed prior to form submission.
|
|
203
|
+
*/
|
|
204
|
+
required: {
|
|
205
|
+
type: PropType<boolean>;
|
|
206
|
+
default: undefined;
|
|
207
|
+
};
|
|
208
|
+
/**
|
|
209
|
+
* The latest accepted date of the date-picker.
|
|
210
|
+
*/
|
|
211
|
+
max: {
|
|
212
|
+
type: PropType<string>;
|
|
213
|
+
default: undefined;
|
|
214
|
+
};
|
|
215
|
+
/**
|
|
216
|
+
* The current start value of the element. This property serves as a mechanism
|
|
217
|
+
* to set the `start` property through both property assignment and the
|
|
218
|
+
* .setAttribute() method. This is useful for setting the field's value
|
|
219
|
+
* in UI libraries that bind data through the .setAttribute() API
|
|
220
|
+
* and don't support IDL attribute binding.
|
|
221
|
+
*/
|
|
222
|
+
start: {
|
|
223
|
+
type: PropType<string>;
|
|
224
|
+
default: undefined;
|
|
225
|
+
};
|
|
226
|
+
/**
|
|
227
|
+
* The current end value of the element. This property serves as a mechanism
|
|
228
|
+
* to set the `end` property through both property assignment and the
|
|
229
|
+
* .setAttribute() method. This is useful for setting the field's value
|
|
230
|
+
* in UI libraries that bind data through the .setAttribute() API
|
|
231
|
+
* and don't support IDL attribute binding.
|
|
232
|
+
*/
|
|
233
|
+
end: {
|
|
234
|
+
type: PropType<string>;
|
|
235
|
+
default: undefined;
|
|
236
|
+
};
|
|
237
|
+
/**
|
|
238
|
+
* The earliest accepted date of the date-picker.
|
|
239
|
+
*/
|
|
240
|
+
min: {
|
|
241
|
+
type: PropType<string>;
|
|
242
|
+
default: undefined;
|
|
243
|
+
};
|
|
244
|
+
/**
|
|
245
|
+
* The initial value of the date-picker.
|
|
246
|
+
*/
|
|
247
|
+
value: {
|
|
248
|
+
type: PropType<string>;
|
|
249
|
+
default: undefined;
|
|
250
|
+
};
|
|
251
|
+
/**
|
|
252
|
+
* The current value of the date-picker.
|
|
253
|
+
*/
|
|
254
|
+
currentValue: {
|
|
255
|
+
type: PropType<string>;
|
|
256
|
+
default: undefined;
|
|
257
|
+
};
|
|
258
|
+
/**
|
|
259
|
+
* Whether the date-picker is readonly.
|
|
260
|
+
*/
|
|
261
|
+
readonly: {
|
|
262
|
+
type: PropType<boolean>;
|
|
263
|
+
default: undefined;
|
|
264
|
+
};
|
|
265
|
+
}>>, {
|
|
266
|
+
name: string;
|
|
267
|
+
ariaCurrent: "page" | "step" | "location" | "date" | "time" | "true" | "false";
|
|
268
|
+
value: string;
|
|
269
|
+
disabled: boolean;
|
|
270
|
+
currentValue: string;
|
|
271
|
+
required: boolean;
|
|
272
|
+
label: string;
|
|
273
|
+
start: string;
|
|
274
|
+
errorText: string;
|
|
275
|
+
readonly: boolean;
|
|
276
|
+
max: string;
|
|
277
|
+
min: string;
|
|
278
|
+
end: string;
|
|
279
|
+
}>;
|
|
280
|
+
export default _default;
|
|
@@ -0,0 +1,291 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
/**
|
|
3
|
+
* Base class for date-range-picker
|
|
4
|
+
*/
|
|
5
|
+
declare const _default: import("vue").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
|
+
};
|
|
159
|
+
helperText?: string | undefined;
|
|
160
|
+
errorText: string;
|
|
161
|
+
errorValidationMessage: string;
|
|
162
|
+
userValid: boolean;
|
|
163
|
+
dirtyValue: boolean;
|
|
164
|
+
} | null>;
|
|
165
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "focus" | "blur" | "keydown" | "keyup" | "input" | "input:start" | "input:end" | "update:start" | "update:end")[], "click" | "focus" | "blur" | "keydown" | "keyup" | "input" | "input:start" | "input:end" | "update:start" | "update:end", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
166
|
+
/**
|
|
167
|
+
* The label for the form element.
|
|
168
|
+
*/
|
|
169
|
+
label: {
|
|
170
|
+
type: PropType<string>;
|
|
171
|
+
default: undefined;
|
|
172
|
+
};
|
|
173
|
+
/**
|
|
174
|
+
* The error text for the form element.
|
|
175
|
+
*/
|
|
176
|
+
errorText: {
|
|
177
|
+
type: PropType<string>;
|
|
178
|
+
default: undefined;
|
|
179
|
+
};
|
|
180
|
+
/**
|
|
181
|
+
* Indicates the element that represents the current item within a container or set of related elements.
|
|
182
|
+
*/
|
|
183
|
+
ariaCurrent: {
|
|
184
|
+
type: PropType<"page" | "step" | "location" | "date" | "time" | "true" | "false">;
|
|
185
|
+
default: undefined;
|
|
186
|
+
};
|
|
187
|
+
/**
|
|
188
|
+
* Sets the element's disabled state. A disabled element will not be included during form submission.
|
|
189
|
+
*/
|
|
190
|
+
disabled: {
|
|
191
|
+
type: PropType<boolean>;
|
|
192
|
+
default: undefined;
|
|
193
|
+
};
|
|
194
|
+
/**
|
|
195
|
+
* The name of the element. This element's value will be surfaced during form submission under the provided name.
|
|
196
|
+
*/
|
|
197
|
+
name: {
|
|
198
|
+
type: PropType<string>;
|
|
199
|
+
default: undefined;
|
|
200
|
+
};
|
|
201
|
+
/**
|
|
202
|
+
* Require the field to be completed prior to form submission.
|
|
203
|
+
*/
|
|
204
|
+
required: {
|
|
205
|
+
type: PropType<boolean>;
|
|
206
|
+
default: undefined;
|
|
207
|
+
};
|
|
208
|
+
/**
|
|
209
|
+
* The latest accepted date of the date-picker.
|
|
210
|
+
*/
|
|
211
|
+
max: {
|
|
212
|
+
type: PropType<string>;
|
|
213
|
+
default: undefined;
|
|
214
|
+
};
|
|
215
|
+
/**
|
|
216
|
+
* The current start value of the element. This property serves as a mechanism
|
|
217
|
+
* to set the `start` property through both property assignment and the
|
|
218
|
+
* .setAttribute() method. This is useful for setting the field's value
|
|
219
|
+
* in UI libraries that bind data through the .setAttribute() API
|
|
220
|
+
* and don't support IDL attribute binding.
|
|
221
|
+
*/
|
|
222
|
+
start: {
|
|
223
|
+
type: PropType<string>;
|
|
224
|
+
default: undefined;
|
|
225
|
+
};
|
|
226
|
+
/**
|
|
227
|
+
* The current end value of the element. This property serves as a mechanism
|
|
228
|
+
* to set the `end` property through both property assignment and the
|
|
229
|
+
* .setAttribute() method. This is useful for setting the field's value
|
|
230
|
+
* in UI libraries that bind data through the .setAttribute() API
|
|
231
|
+
* and don't support IDL attribute binding.
|
|
232
|
+
*/
|
|
233
|
+
end: {
|
|
234
|
+
type: PropType<string>;
|
|
235
|
+
default: undefined;
|
|
236
|
+
};
|
|
237
|
+
/**
|
|
238
|
+
* The earliest accepted date of the date-picker.
|
|
239
|
+
*/
|
|
240
|
+
min: {
|
|
241
|
+
type: PropType<string>;
|
|
242
|
+
default: undefined;
|
|
243
|
+
};
|
|
244
|
+
/**
|
|
245
|
+
* The initial value of the date-picker.
|
|
246
|
+
*/
|
|
247
|
+
value: {
|
|
248
|
+
type: PropType<string>;
|
|
249
|
+
default: undefined;
|
|
250
|
+
};
|
|
251
|
+
/**
|
|
252
|
+
* The current value of the date-picker.
|
|
253
|
+
*/
|
|
254
|
+
currentValue: {
|
|
255
|
+
type: PropType<string>;
|
|
256
|
+
default: undefined;
|
|
257
|
+
};
|
|
258
|
+
/**
|
|
259
|
+
* Whether the date-picker is readonly.
|
|
260
|
+
*/
|
|
261
|
+
readonly: {
|
|
262
|
+
type: PropType<boolean>;
|
|
263
|
+
default: undefined;
|
|
264
|
+
};
|
|
265
|
+
}>> & {
|
|
266
|
+
onKeydown?: ((...args: any[]) => any) | undefined;
|
|
267
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
268
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
269
|
+
onBlur?: ((...args: any[]) => any) | undefined;
|
|
270
|
+
onKeyup?: ((...args: any[]) => any) | undefined;
|
|
271
|
+
onInput?: ((...args: any[]) => any) | undefined;
|
|
272
|
+
"onInput:start"?: ((...args: any[]) => any) | undefined;
|
|
273
|
+
"onInput:end"?: ((...args: any[]) => any) | undefined;
|
|
274
|
+
"onUpdate:start"?: ((...args: any[]) => any) | undefined;
|
|
275
|
+
"onUpdate:end"?: ((...args: any[]) => any) | undefined;
|
|
276
|
+
}, {
|
|
277
|
+
name: string;
|
|
278
|
+
ariaCurrent: "page" | "step" | "location" | "date" | "time" | "true" | "false";
|
|
279
|
+
value: string;
|
|
280
|
+
disabled: boolean;
|
|
281
|
+
currentValue: string;
|
|
282
|
+
required: boolean;
|
|
283
|
+
label: string;
|
|
284
|
+
start: string;
|
|
285
|
+
errorText: string;
|
|
286
|
+
readonly: boolean;
|
|
287
|
+
max: string;
|
|
288
|
+
min: string;
|
|
289
|
+
end: string;
|
|
290
|
+
}>;
|
|
291
|
+
export default _default;
|