@vaadin/date-time-picker 23.1.2 → 23.2.0-alpha3
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/date-time-picker",
|
|
3
|
-
"version": "23.
|
|
3
|
+
"version": "23.2.0-alpha3",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -34,19 +34,19 @@
|
|
|
34
34
|
],
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@polymer/polymer": "^3.0.0",
|
|
37
|
-
"@vaadin/component-base": "
|
|
38
|
-
"@vaadin/custom-field": "
|
|
39
|
-
"@vaadin/date-picker": "
|
|
40
|
-
"@vaadin/field-base": "
|
|
41
|
-
"@vaadin/time-picker": "
|
|
42
|
-
"@vaadin/vaadin-lumo-styles": "
|
|
43
|
-
"@vaadin/vaadin-material-styles": "
|
|
44
|
-
"@vaadin/vaadin-themable-mixin": "
|
|
37
|
+
"@vaadin/component-base": "23.2.0-alpha3",
|
|
38
|
+
"@vaadin/custom-field": "23.2.0-alpha3",
|
|
39
|
+
"@vaadin/date-picker": "23.2.0-alpha3",
|
|
40
|
+
"@vaadin/field-base": "23.2.0-alpha3",
|
|
41
|
+
"@vaadin/time-picker": "23.2.0-alpha3",
|
|
42
|
+
"@vaadin/vaadin-lumo-styles": "23.2.0-alpha3",
|
|
43
|
+
"@vaadin/vaadin-material-styles": "23.2.0-alpha3",
|
|
44
|
+
"@vaadin/vaadin-themable-mixin": "23.2.0-alpha3"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@esm-bundle/chai": "^4.3.4",
|
|
48
48
|
"@vaadin/testing-helpers": "^0.3.2",
|
|
49
49
|
"sinon": "^13.0.2"
|
|
50
50
|
},
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "06e5875be93ca50da2846dafc65a8531010c0576"
|
|
52
52
|
}
|
|
@@ -7,9 +7,9 @@ import { DisabledMixin } from '@vaadin/component-base/src/disabled-mixin.js';
|
|
|
7
7
|
import { ElementMixin } from '@vaadin/component-base/src/element-mixin.js';
|
|
8
8
|
import { FocusMixin } from '@vaadin/component-base/src/focus-mixin.js';
|
|
9
9
|
import { SlotMixin } from '@vaadin/component-base/src/slot-mixin.js';
|
|
10
|
-
import { DatePickerI18n } from '@vaadin/date-picker/src/vaadin-date-picker.js';
|
|
10
|
+
import type { DatePickerI18n } from '@vaadin/date-picker/src/vaadin-date-picker.js';
|
|
11
11
|
import { FieldMixin } from '@vaadin/field-base/src/field-mixin.js';
|
|
12
|
-
import { TimePickerI18n } from '@vaadin/time-picker/src/vaadin-time-picker.js';
|
|
12
|
+
import type { TimePickerI18n } from '@vaadin/time-picker/src/vaadin-time-picker.js';
|
|
13
13
|
import { ThemableMixin } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';
|
|
14
14
|
|
|
15
15
|
export interface DateTimePickerI18n extends DatePickerI18n, TimePickerI18n {}
|
|
@@ -31,10 +31,17 @@ export type DateTimePickerInvalidChangedEvent = CustomEvent<{ value: boolean }>;
|
|
|
31
31
|
*/
|
|
32
32
|
export type DateTimePickerValueChangedEvent = CustomEvent<{ value: string }>;
|
|
33
33
|
|
|
34
|
+
/**
|
|
35
|
+
* Fired whenever the field is validated.
|
|
36
|
+
*/
|
|
37
|
+
export type DateTimePickerValidatedEvent = CustomEvent<{ valid: boolean }>;
|
|
38
|
+
|
|
34
39
|
export interface DateTimePickerCustomEventMap {
|
|
35
40
|
'invalid-changed': DateTimePickerInvalidChangedEvent;
|
|
36
41
|
|
|
37
42
|
'value-changed': DateTimePickerValueChangedEvent;
|
|
43
|
+
|
|
44
|
+
validated: DateTimePickerValidatedEvent;
|
|
38
45
|
}
|
|
39
46
|
|
|
40
47
|
export interface DateTimePickerEventMap extends DateTimePickerCustomEventMap, HTMLElementEventMap {
|
|
@@ -95,6 +102,7 @@ export interface DateTimePickerEventMap extends DateTimePickerCustomEventMap, HT
|
|
|
95
102
|
* @fires {Event} change - Fired when the user commits a value change.
|
|
96
103
|
* @fires {CustomEvent} invalid-changed - Fired when the `invalid` property changes.
|
|
97
104
|
* @fires {CustomEvent} value-changed - Fired when the `value` property changes.
|
|
105
|
+
* @fires {CustomEvent} validated - Fired whenever the field is validated.
|
|
98
106
|
*/
|
|
99
107
|
declare class DateTimePicker extends FieldMixin(
|
|
100
108
|
SlotMixin(DisabledMixin(FocusMixin(ThemableMixin(ElementMixin(HTMLElement))))),
|
|
@@ -97,6 +97,7 @@ const timePickerI18nProps = Object.keys(timePickerI18nDefaults);
|
|
|
97
97
|
* @fires {Event} change - Fired when the user commits a value change.
|
|
98
98
|
* @fires {CustomEvent} invalid-changed - Fired when the `invalid` property changes.
|
|
99
99
|
* @fires {CustomEvent} value-changed - Fired when the `value` property changes.
|
|
100
|
+
* @fires {CustomEvent} validated - Fired whenever the field is validated.
|
|
100
101
|
*
|
|
101
102
|
* @extends HTMLElement
|
|
102
103
|
* @mixes ElementMixin
|