@progress/kendo-angular-dateinputs 7.0.0-next.202204010857 → 7.0.0-next.202204081436
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/bundles/kendo-angular-dateinputs.umd.js +1 -1
- package/calendar/calendar.component.d.ts +3 -0
- package/common/models/fillmode.d.ts +5 -5
- package/common/models/rounded.d.ts +6 -6
- package/common/models/size.d.ts +5 -5
- package/dateinput/dateinput.component.d.ts +13 -13
- package/datepicker/datepicker.component.d.ts +13 -13
- package/daterange/date-range-end-input.directive.d.ts +1 -2
- package/daterange/date-range-input.d.ts +1 -3
- package/daterange/date-range-popup.component.d.ts +2 -4
- package/daterange/date-range-start-input.directive.d.ts +1 -2
- package/daterange/date-range.service.d.ts +33 -0
- package/esm2015/calendar/calendar.component.js +3 -0
- package/esm2015/dateinput/dateinput.component.js +36 -33
- package/esm2015/datepicker/datepicker.component.js +29 -26
- package/esm2015/daterange/date-range-end-input.directive.js +4 -5
- package/esm2015/daterange/date-range-input.js +8 -11
- package/esm2015/daterange/date-range-popup.component.js +7 -9
- package/esm2015/daterange/date-range-start-input.directive.js +4 -5
- package/esm2015/daterange/date-range.component.js +2 -3
- package/esm2015/daterange/date-range.service.js +61 -0
- package/esm2015/main.js +0 -1
- package/esm2015/package-metadata.js +1 -1
- package/esm2015/util.js +12 -0
- package/fesm2015/kendo-angular-dateinputs.js +159 -162
- package/main.d.ts +0 -1
- package/package.json +6 -6
- package/util.d.ts +12 -0
- package/daterange/date-range-popup.service.d.ts +0 -52
- package/esm2015/daterange/date-range-popup.service.js +0 -87
|
@@ -28,7 +28,7 @@ const packageMetadata = {
|
|
|
28
28
|
name: '@progress/kendo-angular-dateinputs',
|
|
29
29
|
productName: 'Kendo UI for Angular',
|
|
30
30
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
31
|
-
publishDate:
|
|
31
|
+
publishDate: 1649428453,
|
|
32
32
|
version: '',
|
|
33
33
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
|
|
34
34
|
};
|
|
@@ -497,6 +497,18 @@ const getFillModeClass = (component, fillMode) => {
|
|
|
497
497
|
};
|
|
498
498
|
return FILLMODE_CLASSES[fillMode];
|
|
499
499
|
};
|
|
500
|
+
/**
|
|
501
|
+
* @hidden
|
|
502
|
+
*/
|
|
503
|
+
const DEFAULT_ROUNDED = 'medium';
|
|
504
|
+
/**
|
|
505
|
+
* @hidden
|
|
506
|
+
*/
|
|
507
|
+
const DEFAULT_SIZE = 'medium';
|
|
508
|
+
/**
|
|
509
|
+
* @hidden
|
|
510
|
+
*/
|
|
511
|
+
const DEFAULT_FILL_MODE = 'solid';
|
|
500
512
|
|
|
501
513
|
const EMPTY_DATA$3 = [[]];
|
|
502
514
|
const CELLS_LENGTH$3 = 4;
|
|
@@ -5977,6 +5989,9 @@ class CalendarComponent {
|
|
|
5977
5989
|
}
|
|
5978
5990
|
this.emitFocus();
|
|
5979
5991
|
}
|
|
5992
|
+
/**
|
|
5993
|
+
* @hidden
|
|
5994
|
+
*/
|
|
5980
5995
|
handleMultiViewCalendarKeydown(args) {
|
|
5981
5996
|
// Prevent form from submitting on enter if used in datepicker (classic view)
|
|
5982
5997
|
if (isPresent(this.pickerService) && args.keyCode === Keys.Enter) {
|
|
@@ -7137,9 +7152,9 @@ class DateInputComponent {
|
|
|
7137
7152
|
this.onControlChange = noop$2;
|
|
7138
7153
|
this.onControlTouched = noop$2;
|
|
7139
7154
|
this.onValidatorChange = noop$2;
|
|
7140
|
-
this._size =
|
|
7141
|
-
this._rounded =
|
|
7142
|
-
this._fillMode =
|
|
7155
|
+
this._size = DEFAULT_SIZE;
|
|
7156
|
+
this._rounded = DEFAULT_ROUNDED;
|
|
7157
|
+
this._fillMode = DEFAULT_FILL_MODE;
|
|
7143
7158
|
this.symbolsMap = this.dateSymbolMap();
|
|
7144
7159
|
this.updateFormatSections();
|
|
7145
7160
|
if (this.pickerService) {
|
|
@@ -7175,18 +7190,19 @@ class DateInputComponent {
|
|
|
7175
7190
|
* Sets the size of the component.
|
|
7176
7191
|
*
|
|
7177
7192
|
* The possible values are:
|
|
7178
|
-
* * `
|
|
7179
|
-
* * `
|
|
7180
|
-
* * `
|
|
7181
|
-
* * `
|
|
7193
|
+
* * `small`
|
|
7194
|
+
* * `medium` (Default)
|
|
7195
|
+
* * `large`
|
|
7196
|
+
* * `none`
|
|
7182
7197
|
*
|
|
7183
7198
|
*/
|
|
7184
7199
|
set size(size) {
|
|
7185
7200
|
this.renderer.removeClass(this.wrapper.nativeElement, getSizeClass('input', this.size));
|
|
7186
|
-
|
|
7187
|
-
|
|
7201
|
+
const newSize = size ? size : DEFAULT_SIZE;
|
|
7202
|
+
if (newSize !== 'none') {
|
|
7203
|
+
this.renderer.addClass(this.wrapper.nativeElement, getSizeClass('input', newSize));
|
|
7188
7204
|
}
|
|
7189
|
-
this._size =
|
|
7205
|
+
this._size = newSize;
|
|
7190
7206
|
}
|
|
7191
7207
|
get size() {
|
|
7192
7208
|
return this._size;
|
|
@@ -7195,19 +7211,20 @@ class DateInputComponent {
|
|
|
7195
7211
|
* Sets the border radius of the component.
|
|
7196
7212
|
*
|
|
7197
7213
|
* The possible values are:
|
|
7198
|
-
* * `
|
|
7199
|
-
* * `
|
|
7200
|
-
* * `
|
|
7201
|
-
* * `
|
|
7202
|
-
* * `
|
|
7214
|
+
* * `small`
|
|
7215
|
+
* * `medium` (Default)
|
|
7216
|
+
* * `large`
|
|
7217
|
+
* * `full`
|
|
7218
|
+
* * `none`
|
|
7203
7219
|
*
|
|
7204
7220
|
*/
|
|
7205
7221
|
set rounded(rounded) {
|
|
7206
7222
|
this.renderer.removeClass(this.wrapper.nativeElement, getRoundedClass(this.rounded));
|
|
7207
|
-
|
|
7208
|
-
|
|
7223
|
+
const newRounded = rounded ? rounded : DEFAULT_ROUNDED;
|
|
7224
|
+
if (newRounded !== 'none') {
|
|
7225
|
+
this.renderer.addClass(this.wrapper.nativeElement, getRoundedClass(newRounded));
|
|
7209
7226
|
}
|
|
7210
|
-
this._rounded =
|
|
7227
|
+
this._rounded = newRounded;
|
|
7211
7228
|
}
|
|
7212
7229
|
get rounded() {
|
|
7213
7230
|
return this._rounded;
|
|
@@ -7216,22 +7233,23 @@ class DateInputComponent {
|
|
|
7216
7233
|
* Sets the fillMode of the component.
|
|
7217
7234
|
*
|
|
7218
7235
|
* The possible values are:
|
|
7219
|
-
* * `
|
|
7220
|
-
* * `
|
|
7221
|
-
* * `
|
|
7222
|
-
* * `
|
|
7236
|
+
* * `solid` (Default)
|
|
7237
|
+
* * `flat`
|
|
7238
|
+
* * `outline`
|
|
7239
|
+
* * `none`
|
|
7223
7240
|
*
|
|
7224
7241
|
*/
|
|
7225
7242
|
set fillMode(fillMode) {
|
|
7226
7243
|
this.renderer.removeClass(this.wrapper.nativeElement, getFillModeClass('input', this.fillMode));
|
|
7227
|
-
|
|
7228
|
-
|
|
7244
|
+
const newFillMode = fillMode ? fillMode : DEFAULT_FILL_MODE;
|
|
7245
|
+
if (newFillMode !== 'none') {
|
|
7246
|
+
this.renderer.addClass(this.wrapper.nativeElement, getFillModeClass('input', newFillMode));
|
|
7229
7247
|
if (this.spinners && this.spinup && this.spindown) {
|
|
7230
|
-
this.setSpinnerFill(this.spinup.nativeElement,
|
|
7231
|
-
this.setSpinnerFill(this.spindown.nativeElement,
|
|
7248
|
+
this.setSpinnerFill(this.spinup.nativeElement, newFillMode, this.fillMode);
|
|
7249
|
+
this.setSpinnerFill(this.spindown.nativeElement, newFillMode, this.fillMode);
|
|
7232
7250
|
}
|
|
7233
7251
|
}
|
|
7234
|
-
this._fillMode =
|
|
7252
|
+
this._fillMode = newFillMode;
|
|
7235
7253
|
}
|
|
7236
7254
|
get fillMode() {
|
|
7237
7255
|
return this._fillMode;
|
|
@@ -7840,7 +7858,7 @@ class DateInputComponent {
|
|
|
7840
7858
|
}
|
|
7841
7859
|
}
|
|
7842
7860
|
setSpinnerFill(spinner, fill, oldFill) {
|
|
7843
|
-
if (oldFill) {
|
|
7861
|
+
if (oldFill !== 'none') {
|
|
7844
7862
|
this.renderer.removeClass(spinner, `k-button-${oldFill}`);
|
|
7845
7863
|
this.renderer.removeClass(spinner, `k-button-${oldFill}-base`);
|
|
7846
7864
|
}
|
|
@@ -7848,16 +7866,16 @@ class DateInputComponent {
|
|
|
7848
7866
|
this.renderer.addClass(spinner, `k-button-${fill}-base`);
|
|
7849
7867
|
}
|
|
7850
7868
|
setComponentClasses() {
|
|
7851
|
-
if (this.size) {
|
|
7869
|
+
if (this.size !== 'none') {
|
|
7852
7870
|
this.renderer.addClass(this.wrapper.nativeElement, getSizeClass('input', this.size));
|
|
7853
7871
|
}
|
|
7854
|
-
if (this.rounded) {
|
|
7872
|
+
if (this.rounded !== 'none') {
|
|
7855
7873
|
this.renderer.addClass(this.wrapper.nativeElement, getRoundedClass(this.rounded));
|
|
7856
7874
|
}
|
|
7857
|
-
if (this.fillMode) {
|
|
7875
|
+
if (this.fillMode !== 'none') {
|
|
7858
7876
|
this.renderer.addClass(this.wrapper.nativeElement, getFillModeClass('input', this.fillMode));
|
|
7859
7877
|
}
|
|
7860
|
-
if (this.spinners) {
|
|
7878
|
+
if (this.spinners && this.fillMode !== 'none') {
|
|
7861
7879
|
this.setSpinnerFill(this.spinup.nativeElement, this.fillMode);
|
|
7862
7880
|
this.setSpinnerFill(this.spindown.nativeElement, this.fillMode);
|
|
7863
7881
|
}
|
|
@@ -8462,9 +8480,9 @@ class DatePickerComponent {
|
|
|
8462
8480
|
this.incompleteValidator = noop$2;
|
|
8463
8481
|
this.resolvedPromise = Promise.resolve(null);
|
|
8464
8482
|
this.domEvents = [];
|
|
8465
|
-
this._size =
|
|
8466
|
-
this._rounded =
|
|
8467
|
-
this._fillMode =
|
|
8483
|
+
this._size = DEFAULT_SIZE;
|
|
8484
|
+
this._rounded = DEFAULT_ROUNDED;
|
|
8485
|
+
this._fillMode = DEFAULT_FILL_MODE;
|
|
8468
8486
|
validatePackage(packageMetadata);
|
|
8469
8487
|
this.pickerSubscriptions = this.pickerService.onFocus.subscribe(this.handleFocus.bind(this));
|
|
8470
8488
|
this.pickerSubscriptions.add(this.pickerService.onBlur.subscribe(this.handleBlur.bind(this)));
|
|
@@ -8570,20 +8588,21 @@ class DatePickerComponent {
|
|
|
8570
8588
|
* Sets the size of the component.
|
|
8571
8589
|
*
|
|
8572
8590
|
* The possible values are:
|
|
8573
|
-
* * `
|
|
8574
|
-
* * `
|
|
8575
|
-
* * `
|
|
8576
|
-
* * `
|
|
8591
|
+
* * `small`
|
|
8592
|
+
* * `medium` (Default)
|
|
8593
|
+
* * `large`
|
|
8594
|
+
* * `none`
|
|
8577
8595
|
*
|
|
8578
8596
|
*/
|
|
8579
8597
|
set size(size) {
|
|
8580
8598
|
this.renderer.removeClass(this.wrapper.nativeElement, getSizeClass('input', this.size));
|
|
8581
8599
|
this.renderer.removeClass(this.toggleButton.nativeElement, getSizeClass('input', this.size));
|
|
8582
|
-
|
|
8583
|
-
|
|
8584
|
-
this.renderer.addClass(this.
|
|
8600
|
+
const newSize = size ? size : DEFAULT_SIZE;
|
|
8601
|
+
if (newSize !== 'none') {
|
|
8602
|
+
this.renderer.addClass(this.wrapper.nativeElement, getSizeClass('input', newSize));
|
|
8603
|
+
this.renderer.addClass(this.toggleButton.nativeElement, getSizeClass('input', newSize));
|
|
8585
8604
|
}
|
|
8586
|
-
this._size =
|
|
8605
|
+
this._size = newSize;
|
|
8587
8606
|
}
|
|
8588
8607
|
get size() {
|
|
8589
8608
|
return this._size;
|
|
@@ -8592,19 +8611,20 @@ class DatePickerComponent {
|
|
|
8592
8611
|
* Sets the border radius of the component.
|
|
8593
8612
|
*
|
|
8594
8613
|
* The possible values are:
|
|
8595
|
-
* * `
|
|
8596
|
-
* * `
|
|
8597
|
-
* * `
|
|
8598
|
-
* * `
|
|
8599
|
-
* * `
|
|
8614
|
+
* * `small`
|
|
8615
|
+
* * `medium` (Default)
|
|
8616
|
+
* * `large`
|
|
8617
|
+
* * `full`
|
|
8618
|
+
* * `none`
|
|
8600
8619
|
*
|
|
8601
8620
|
*/
|
|
8602
8621
|
set rounded(rounded) {
|
|
8603
8622
|
this.renderer.removeClass(this.wrapper.nativeElement, getRoundedClass(this.rounded));
|
|
8604
|
-
|
|
8605
|
-
|
|
8623
|
+
const newRounded = rounded ? rounded : DEFAULT_ROUNDED;
|
|
8624
|
+
if (newRounded !== 'none') {
|
|
8625
|
+
this.renderer.addClass(this.wrapper.nativeElement, getRoundedClass(newRounded));
|
|
8606
8626
|
}
|
|
8607
|
-
this._rounded =
|
|
8627
|
+
this._rounded = newRounded;
|
|
8608
8628
|
}
|
|
8609
8629
|
get rounded() {
|
|
8610
8630
|
return this._rounded;
|
|
@@ -8613,22 +8633,23 @@ class DatePickerComponent {
|
|
|
8613
8633
|
* Sets the fillMode of the component.
|
|
8614
8634
|
*
|
|
8615
8635
|
* The possible values are:
|
|
8616
|
-
* * `
|
|
8617
|
-
* * `
|
|
8618
|
-
* * `
|
|
8619
|
-
* * `
|
|
8636
|
+
* * `solid` (Default)
|
|
8637
|
+
* * `flat`
|
|
8638
|
+
* * `outline`
|
|
8639
|
+
* * `none`
|
|
8620
8640
|
*
|
|
8621
8641
|
*/
|
|
8622
8642
|
set fillMode(fillMode) {
|
|
8623
8643
|
this.renderer.removeClass(this.wrapper.nativeElement, getFillModeClass('input', this.fillMode));
|
|
8624
8644
|
this.renderer.removeClass(this.toggleButton.nativeElement, getFillModeClass('button', this.fillMode));
|
|
8625
8645
|
this.renderer.removeClass(this.toggleButton.nativeElement, `k-button-${this.fillMode}-base`);
|
|
8626
|
-
|
|
8646
|
+
const newFillMode = fillMode ? fillMode : DEFAULT_FILL_MODE;
|
|
8647
|
+
if (newFillMode !== 'none') {
|
|
8627
8648
|
this.renderer.addClass(this.toggleButton.nativeElement, getFillModeClass('button', fillMode));
|
|
8628
8649
|
this.renderer.addClass(this.toggleButton.nativeElement, `k-button-${fillMode}-base`);
|
|
8629
8650
|
this.renderer.addClass(this.wrapper.nativeElement, getFillModeClass('input', fillMode));
|
|
8630
8651
|
}
|
|
8631
|
-
this._fillMode =
|
|
8652
|
+
this._fillMode = newFillMode;
|
|
8632
8653
|
}
|
|
8633
8654
|
get fillMode() {
|
|
8634
8655
|
return this._fillMode;
|
|
@@ -13894,6 +13915,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
13894
13915
|
}]
|
|
13895
13916
|
}], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
|
|
13896
13917
|
|
|
13918
|
+
const isActive = (cmp) => (cmp && cmp.isActive) || false;
|
|
13919
|
+
const hasActiveContent = (popup) => popup && popup.hasActiveContent();
|
|
13897
13920
|
/**
|
|
13898
13921
|
* A service that handles the communication between the components that are placed inside the DateRangeComponent.
|
|
13899
13922
|
* For example, the start and end `DateInput` and `DateRangePopup` components.
|
|
@@ -13918,6 +13941,10 @@ class DateRangeService {
|
|
|
13918
13941
|
* For example, when a new start `DateInput` is attached or the old one is detached.
|
|
13919
13942
|
*/
|
|
13920
13943
|
this.startInput$ = new BehaviorSubject(null);
|
|
13944
|
+
/**
|
|
13945
|
+
* An Observable instance that notifies when the `DateRangePopup` component is changed.
|
|
13946
|
+
*/
|
|
13947
|
+
this.dateRangePopup$ = new BehaviorSubject(null);
|
|
13921
13948
|
/**
|
|
13922
13949
|
* An Observable instance that notifies when the state of the selection range is changed.
|
|
13923
13950
|
*/
|
|
@@ -13955,73 +13982,6 @@ class DateRangeService {
|
|
|
13955
13982
|
get selectionRange() {
|
|
13956
13983
|
return this.range$.value;
|
|
13957
13984
|
}
|
|
13958
|
-
/**
|
|
13959
|
-
* Completes all observables to mitigate possible memory leaks.
|
|
13960
|
-
* Calls the method when a component that uses it is destroyed.
|
|
13961
|
-
*/
|
|
13962
|
-
destroy() {
|
|
13963
|
-
this.activeRangeEnd$.complete();
|
|
13964
|
-
this.focusedDate$.complete();
|
|
13965
|
-
this.endInput$.complete();
|
|
13966
|
-
this.startInput$.complete();
|
|
13967
|
-
this.range$.complete();
|
|
13968
|
-
}
|
|
13969
|
-
/**
|
|
13970
|
-
* Registers a new start `DateInput` component. Notifies all `startInput$` listeners.
|
|
13971
|
-
*/
|
|
13972
|
-
registerStartInput(startInput) {
|
|
13973
|
-
this.startInput$.next(startInput);
|
|
13974
|
-
}
|
|
13975
|
-
/**
|
|
13976
|
-
* Registers a new end `DateInput` component. Notifies all `endInput$` listeners.
|
|
13977
|
-
*/
|
|
13978
|
-
registerEndInput(endInput) {
|
|
13979
|
-
this.endInput$.next(endInput);
|
|
13980
|
-
}
|
|
13981
|
-
/**
|
|
13982
|
-
* Updates the `activeRangeEnd` value. Notifies all `activeRangeEnd$` listeners.
|
|
13983
|
-
*/
|
|
13984
|
-
setActiveRangeEnd(activeRange) {
|
|
13985
|
-
if (!activeRange || this.activeRangeEnd === activeRange) {
|
|
13986
|
-
return;
|
|
13987
|
-
}
|
|
13988
|
-
this.activeRangeEnd$.next(activeRange);
|
|
13989
|
-
}
|
|
13990
|
-
/**
|
|
13991
|
-
* Updates the focused date. Notifies all `focusedDate$` listeners.
|
|
13992
|
-
*/
|
|
13993
|
-
setFocusedDate(value) {
|
|
13994
|
-
if (isEqual(this.focusedDate$.value, value)) {
|
|
13995
|
-
return;
|
|
13996
|
-
}
|
|
13997
|
-
this.focusedDate$.next(value);
|
|
13998
|
-
}
|
|
13999
|
-
/**
|
|
14000
|
-
* Updates the selection range. Notifies all `range$` listeners.
|
|
14001
|
-
*/
|
|
14002
|
-
setRange(range = EMPTY_SELECTIONRANGE) {
|
|
14003
|
-
this.range$.next(range);
|
|
14004
|
-
}
|
|
14005
|
-
}
|
|
14006
|
-
DateRangeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DateRangeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
14007
|
-
DateRangeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DateRangeService });
|
|
14008
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DateRangeService, decorators: [{
|
|
14009
|
-
type: Injectable
|
|
14010
|
-
}] });
|
|
14011
|
-
|
|
14012
|
-
const isActive = (cmp) => (cmp && cmp.isActive) || false;
|
|
14013
|
-
const hasActiveContent = (popup) => popup && popup.hasActiveContent();
|
|
14014
|
-
/**
|
|
14015
|
-
* A service that handles the communication between the components that are placed inside the DateRangeComponent.
|
|
14016
|
-
* For example, the start and end `DateInput` and `DateRangePopup` components.
|
|
14017
|
-
*/
|
|
14018
|
-
class DateRangePopupService {
|
|
14019
|
-
constructor() {
|
|
14020
|
-
/**
|
|
14021
|
-
* An Observable instance that notifies when the `DateRangePopup` component is changed.
|
|
14022
|
-
*/
|
|
14023
|
-
this.dateRangePopup$ = new BehaviorSubject(null);
|
|
14024
|
-
}
|
|
14025
13985
|
/**
|
|
14026
13986
|
* Activates the registered `DateRangePopup` component.
|
|
14027
13987
|
* The method opens the popup and focuses the calendar.
|
|
@@ -14057,19 +14017,43 @@ class DateRangePopupService {
|
|
|
14057
14017
|
}
|
|
14058
14018
|
dateRangePopup.cancelPopup();
|
|
14059
14019
|
}
|
|
14020
|
+
/**
|
|
14021
|
+
* Completes all observables to mitigate possible memory leaks.
|
|
14022
|
+
* Calls the method when a component that uses it is destroyed.
|
|
14023
|
+
*/
|
|
14024
|
+
destroy() {
|
|
14025
|
+
this.activeRangeEnd$.complete();
|
|
14026
|
+
this.dateRangePopup$.complete();
|
|
14027
|
+
this.focusedDate$.complete();
|
|
14028
|
+
this.endInput$.complete();
|
|
14029
|
+
this.startInput$.complete();
|
|
14030
|
+
this.range$.complete();
|
|
14031
|
+
}
|
|
14060
14032
|
/**
|
|
14061
14033
|
* Returns `true` when an active component that is placed inside the `DateRangeComponent` is detected.
|
|
14062
14034
|
* For example, the opened popup or the focused DateInput.
|
|
14063
14035
|
*
|
|
14064
14036
|
* @returns `true` if an active component is present.
|
|
14065
14037
|
*/
|
|
14066
|
-
hasActiveComponent(
|
|
14038
|
+
hasActiveComponent() {
|
|
14067
14039
|
const popup = this.dateRangePopup$.value;
|
|
14068
14040
|
const isPopup = isActive(popup);
|
|
14069
|
-
const isStart = isActive(
|
|
14070
|
-
const isEnd = isActive(
|
|
14041
|
+
const isStart = isActive(this.startInput$.value);
|
|
14042
|
+
const isEnd = isActive(this.endInput$.value);
|
|
14071
14043
|
return isPopup || isStart || isEnd || hasActiveContent(popup) || false;
|
|
14072
14044
|
}
|
|
14045
|
+
/**
|
|
14046
|
+
* Registers a new start `DateInput` component. Notifies all `startInput$` listeners.
|
|
14047
|
+
*/
|
|
14048
|
+
registerStartInput(startInput) {
|
|
14049
|
+
this.startInput$.next(startInput);
|
|
14050
|
+
}
|
|
14051
|
+
/**
|
|
14052
|
+
* Registers a new end `DateInput` component. Notifies all `endInput$` listeners.
|
|
14053
|
+
*/
|
|
14054
|
+
registerEndInput(endInput) {
|
|
14055
|
+
this.endInput$.next(endInput);
|
|
14056
|
+
}
|
|
14073
14057
|
/**
|
|
14074
14058
|
* Registers a new `DateRangePopup` component. Notifies all `dateRangePopup$` listeners.
|
|
14075
14059
|
*/
|
|
@@ -14077,16 +14061,33 @@ class DateRangePopupService {
|
|
|
14077
14061
|
this.dateRangePopup$.next(dateRangePopup);
|
|
14078
14062
|
}
|
|
14079
14063
|
/**
|
|
14080
|
-
*
|
|
14081
|
-
* Calls the method when a component that uses it is destroyed.
|
|
14064
|
+
* Updates the `activeRangeEnd` value. Notifies all `activeRangeEnd$` listeners.
|
|
14082
14065
|
*/
|
|
14083
|
-
|
|
14084
|
-
this.
|
|
14066
|
+
setActiveRangeEnd(activeRange) {
|
|
14067
|
+
if (!activeRange || this.activeRangeEnd === activeRange) {
|
|
14068
|
+
return;
|
|
14069
|
+
}
|
|
14070
|
+
this.activeRangeEnd$.next(activeRange);
|
|
14071
|
+
}
|
|
14072
|
+
/**
|
|
14073
|
+
* Updates the focused date. Notifies all `focusedDate$` listeners.
|
|
14074
|
+
*/
|
|
14075
|
+
setFocusedDate(value) {
|
|
14076
|
+
if (isEqual(this.focusedDate$.value, value)) {
|
|
14077
|
+
return;
|
|
14078
|
+
}
|
|
14079
|
+
this.focusedDate$.next(value);
|
|
14080
|
+
}
|
|
14081
|
+
/**
|
|
14082
|
+
* Updates the selection range. Notifies all `range$` listeners.
|
|
14083
|
+
*/
|
|
14084
|
+
setRange(range = EMPTY_SELECTIONRANGE) {
|
|
14085
|
+
this.range$.next(range);
|
|
14085
14086
|
}
|
|
14086
14087
|
}
|
|
14087
|
-
|
|
14088
|
-
|
|
14089
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type:
|
|
14088
|
+
DateRangeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DateRangeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
14089
|
+
DateRangeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DateRangeService });
|
|
14090
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DateRangeService, decorators: [{
|
|
14090
14091
|
type: Injectable
|
|
14091
14092
|
}] });
|
|
14092
14093
|
|
|
@@ -14296,10 +14297,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
14296
14297
|
* ```
|
|
14297
14298
|
*/
|
|
14298
14299
|
class DateRangePopupComponent {
|
|
14299
|
-
constructor(popupService, dateRangeService,
|
|
14300
|
+
constructor(popupService, dateRangeService, ref, zone, rtl) {
|
|
14300
14301
|
this.popupService = popupService;
|
|
14301
14302
|
this.dateRangeService = dateRangeService;
|
|
14302
|
-
this.dateRangePopupService = dateRangePopupService;
|
|
14303
14303
|
this.ref = ref;
|
|
14304
14304
|
this.zone = zone;
|
|
14305
14305
|
this.rtl = rtl;
|
|
@@ -14392,7 +14392,7 @@ class DateRangePopupComponent {
|
|
|
14392
14392
|
return this._show;
|
|
14393
14393
|
}
|
|
14394
14394
|
ngOnInit() {
|
|
14395
|
-
this.
|
|
14395
|
+
this.dateRangeService.registerPopup(this);
|
|
14396
14396
|
}
|
|
14397
14397
|
ngAfterViewInit() {
|
|
14398
14398
|
this.calendarSubscriptions.add(this.contentCalendar.changes.subscribe((changes) => this.calendar = changes.first));
|
|
@@ -14551,7 +14551,7 @@ class DateRangePopupComponent {
|
|
|
14551
14551
|
}
|
|
14552
14552
|
}
|
|
14553
14553
|
}
|
|
14554
|
-
DateRangePopupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DateRangePopupComponent, deps: [{ token: i2.PopupService }, { token: DateRangeService }, { token:
|
|
14554
|
+
DateRangePopupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DateRangePopupComponent, deps: [{ token: i2.PopupService }, { token: DateRangeService }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: RTL, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
14555
14555
|
DateRangePopupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: DateRangePopupComponent, selector: "kendo-daterange-popup", inputs: { animate: "animate", anchor: "anchor", anchorAlign: "anchorAlign", appendTo: "appendTo", collision: "collision", popupAlign: "popupAlign", margin: "margin" }, outputs: { open: "open", close: "close", onBlur: "blur", onFocus: "focus", cancel: "cancel" }, queries: [{ propertyName: "contentTemplate", first: true, predicate: DateRangePopupTemplateDirective, descendants: true }, { propertyName: "contentCalendar", predicate: MultiViewCalendarComponent }], viewQueries: [{ propertyName: "container", first: true, predicate: ["container"], descendants: true, read: ViewContainerRef }, { propertyName: "defaultTemplate", first: true, predicate: ["defaultTemplate"], descendants: true }, { propertyName: "viewCalendar", predicate: MultiViewCalendarComponent, descendants: true }], exportAs: ["kendo-daterange-popup"], ngImport: i0, template: `
|
|
14556
14556
|
<ng-container #container></ng-container>
|
|
14557
14557
|
<ng-template #defaultTemplate>
|
|
@@ -14570,7 +14570,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
14570
14570
|
</ng-template>
|
|
14571
14571
|
`
|
|
14572
14572
|
}]
|
|
14573
|
-
}], ctorParameters: function () { return [{ type: i2.PopupService }, { type: DateRangeService }, { type:
|
|
14573
|
+
}], ctorParameters: function () { return [{ type: i2.PopupService }, { type: DateRangeService }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: undefined, decorators: [{
|
|
14574
14574
|
type: Optional
|
|
14575
14575
|
}, {
|
|
14576
14576
|
type: Inject,
|
|
@@ -14661,14 +14661,14 @@ class DateRangeComponent {
|
|
|
14661
14661
|
}
|
|
14662
14662
|
}
|
|
14663
14663
|
DateRangeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DateRangeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
14664
|
-
DateRangeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: DateRangeComponent, selector: "kendo-daterange", providers: [DateRangeService
|
|
14664
|
+
DateRangeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: DateRangeComponent, selector: "kendo-daterange", providers: [DateRangeService], queries: [{ propertyName: "contentPopup", predicate: DateRangePopupComponent }], ngImport: i0, template: `
|
|
14665
14665
|
<ng-content></ng-content>
|
|
14666
14666
|
<kendo-daterange-popup *ngIf="showDefault"></kendo-daterange-popup>
|
|
14667
14667
|
`, isInline: true, components: [{ type: DateRangePopupComponent, selector: "kendo-daterange-popup", inputs: ["animate", "anchor", "anchorAlign", "appendTo", "collision", "popupAlign", "margin"], outputs: ["open", "close", "blur", "focus", "cancel"], exportAs: ["kendo-daterange-popup"] }], directives: [{ type: i7.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
14668
14668
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DateRangeComponent, decorators: [{
|
|
14669
14669
|
type: Component,
|
|
14670
14670
|
args: [{
|
|
14671
|
-
providers: [DateRangeService
|
|
14671
|
+
providers: [DateRangeService],
|
|
14672
14672
|
selector: 'kendo-daterange',
|
|
14673
14673
|
template: `
|
|
14674
14674
|
<ng-content></ng-content>
|
|
@@ -14684,10 +14684,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
14684
14684
|
* @hidden
|
|
14685
14685
|
*/
|
|
14686
14686
|
class DateRangeInput {
|
|
14687
|
-
constructor(activeRangeEnd, dateRangeService,
|
|
14687
|
+
constructor(activeRangeEnd, dateRangeService, input, element, renderer, zone) {
|
|
14688
14688
|
this.activeRangeEnd = activeRangeEnd;
|
|
14689
14689
|
this.dateRangeService = dateRangeService;
|
|
14690
|
-
this.dateRangePopupService = dateRangePopupService;
|
|
14691
14690
|
this.input = input;
|
|
14692
14691
|
this.element = element;
|
|
14693
14692
|
this.renderer = renderer;
|
|
@@ -14700,7 +14699,7 @@ class DateRangeInput {
|
|
|
14700
14699
|
return this.dateRangeService.activeRangeEnd === this.activeRangeEnd;
|
|
14701
14700
|
}
|
|
14702
14701
|
get popupCalendarActivated() {
|
|
14703
|
-
const popup = this.
|
|
14702
|
+
const popup = this.dateRangeService.dateRangePopup$.value;
|
|
14704
14703
|
return isPresent(popup) && isPresent(popup.calendar);
|
|
14705
14704
|
}
|
|
14706
14705
|
init() {
|
|
@@ -14717,7 +14716,7 @@ class DateRangeInput {
|
|
|
14717
14716
|
}
|
|
14718
14717
|
this.toggleActiveClass(this.isActiveEnd);
|
|
14719
14718
|
}),
|
|
14720
|
-
this.
|
|
14719
|
+
this.dateRangeService.dateRangePopup$.subscribe(popup => this.initPopup(popup)),
|
|
14721
14720
|
this.dateRangeService.range$.subscribe(range => this.updateInputValue(range)),
|
|
14722
14721
|
fromEvent(this.element.nativeElement, 'click').subscribe(() => this.activate()),
|
|
14723
14722
|
fromEvent(this.element.nativeElement, 'keydown').subscribe((event) => this.togglePopup(event || {}))
|
|
@@ -14747,19 +14746,17 @@ class DateRangeInput {
|
|
|
14747
14746
|
}
|
|
14748
14747
|
activate() {
|
|
14749
14748
|
this.dateRangeService.setActiveRangeEnd(this.activeRangeEnd);
|
|
14750
|
-
this.
|
|
14749
|
+
this.dateRangeService.activatePopup();
|
|
14751
14750
|
}
|
|
14752
14751
|
deactivate() {
|
|
14753
14752
|
this.zone.runOutsideAngular(() => {
|
|
14754
14753
|
setTimeout(() => {
|
|
14755
14754
|
this.updateRange(this.input.value, 'blur');
|
|
14756
|
-
|
|
14757
|
-
const endInputValue = this.dateRangeService.endInput$.value;
|
|
14758
|
-
if (this.dateRangePopupService.hasActiveComponent(startInputValue, endInputValue)) {
|
|
14755
|
+
if (this.dateRangeService.hasActiveComponent()) {
|
|
14759
14756
|
return;
|
|
14760
14757
|
}
|
|
14761
14758
|
this.toggleActiveClass(false);
|
|
14762
|
-
this.zone.run(() => this.
|
|
14759
|
+
this.zone.run(() => this.dateRangeService.deactivatePopup());
|
|
14763
14760
|
});
|
|
14764
14761
|
});
|
|
14765
14762
|
}
|
|
@@ -14772,10 +14769,10 @@ class DateRangeInput {
|
|
|
14772
14769
|
}
|
|
14773
14770
|
togglePopup({ altKey, keyCode }) {
|
|
14774
14771
|
if (keyCode === Keys.Escape) {
|
|
14775
|
-
this.
|
|
14772
|
+
this.dateRangeService.cancelPopup();
|
|
14776
14773
|
}
|
|
14777
14774
|
else if (altKey && keyCode === Keys.ArrowDown) {
|
|
14778
|
-
this.
|
|
14775
|
+
this.dateRangeService.activatePopup();
|
|
14779
14776
|
}
|
|
14780
14777
|
}
|
|
14781
14778
|
focusActiveDate() {
|
|
@@ -14798,8 +14795,8 @@ class DateRangeInput {
|
|
|
14798
14795
|
* > You can use the DateRangeEndInputDirective only with a DateInput component.
|
|
14799
14796
|
*/
|
|
14800
14797
|
class DateRangeEndInputDirective extends DateRangeInput {
|
|
14801
|
-
constructor(rangeService, dateInput,
|
|
14802
|
-
super('end', rangeService,
|
|
14798
|
+
constructor(rangeService, dateInput, element, renderer, zone) {
|
|
14799
|
+
super('end', rangeService, dateInput, element, renderer, zone);
|
|
14803
14800
|
this.rangeService = rangeService;
|
|
14804
14801
|
this.dateInput = dateInput;
|
|
14805
14802
|
/**
|
|
@@ -14854,14 +14851,14 @@ class DateRangeEndInputDirective extends DateRangeInput {
|
|
|
14854
14851
|
this.dateInput.notify();
|
|
14855
14852
|
}
|
|
14856
14853
|
}
|
|
14857
|
-
DateRangeEndInputDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DateRangeEndInputDirective, deps: [{ token: DateRangeService }, { token: DateInputComponent }, { token:
|
|
14854
|
+
DateRangeEndInputDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DateRangeEndInputDirective, deps: [{ token: DateRangeService }, { token: DateInputComponent }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
|
|
14858
14855
|
DateRangeEndInputDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: DateRangeEndInputDirective, selector: "[kendoDateRangeEndInput]", inputs: { autoCorrectOn: "autoCorrectOn", navigateCalendarOnFocus: "navigateCalendarOnFocus" }, usesInheritance: true, ngImport: i0 });
|
|
14859
14856
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DateRangeEndInputDirective, decorators: [{
|
|
14860
14857
|
type: Directive,
|
|
14861
14858
|
args: [{
|
|
14862
14859
|
selector: '[kendoDateRangeEndInput]'
|
|
14863
14860
|
}]
|
|
14864
|
-
}], ctorParameters: function () { return [{ type: DateRangeService }, { type: DateInputComponent }, { type:
|
|
14861
|
+
}], ctorParameters: function () { return [{ type: DateRangeService }, { type: DateInputComponent }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.NgZone }]; }, propDecorators: { autoCorrectOn: [{
|
|
14865
14862
|
type: Input
|
|
14866
14863
|
}], navigateCalendarOnFocus: [{
|
|
14867
14864
|
type: Input
|
|
@@ -14873,8 +14870,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
14873
14870
|
* > You can use the DateRangeStartInputDirective only with a DateInput component.
|
|
14874
14871
|
*/
|
|
14875
14872
|
class DateRangeStartInputDirective extends DateRangeInput {
|
|
14876
|
-
constructor(rangeService, dateInput,
|
|
14877
|
-
super('start', rangeService,
|
|
14873
|
+
constructor(rangeService, dateInput, element, renderer, zone) {
|
|
14874
|
+
super('start', rangeService, dateInput, element, renderer, zone);
|
|
14878
14875
|
this.rangeService = rangeService;
|
|
14879
14876
|
this.dateInput = dateInput;
|
|
14880
14877
|
/**
|
|
@@ -14930,14 +14927,14 @@ class DateRangeStartInputDirective extends DateRangeInput {
|
|
|
14930
14927
|
this.dateInput.notify();
|
|
14931
14928
|
}
|
|
14932
14929
|
}
|
|
14933
|
-
DateRangeStartInputDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DateRangeStartInputDirective, deps: [{ token: DateRangeService }, { token: DateInputComponent }, { token:
|
|
14930
|
+
DateRangeStartInputDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DateRangeStartInputDirective, deps: [{ token: DateRangeService }, { token: DateInputComponent }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
|
|
14934
14931
|
DateRangeStartInputDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: DateRangeStartInputDirective, selector: "[kendoDateRangeStartInput]", inputs: { autoCorrectOn: "autoCorrectOn", navigateCalendarOnFocus: "navigateCalendarOnFocus" }, usesInheritance: true, ngImport: i0 });
|
|
14935
14932
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DateRangeStartInputDirective, decorators: [{
|
|
14936
14933
|
type: Directive,
|
|
14937
14934
|
args: [{
|
|
14938
14935
|
selector: '[kendoDateRangeStartInput]'
|
|
14939
14936
|
}]
|
|
14940
|
-
}], ctorParameters: function () { return [{ type: DateRangeService }, { type: DateInputComponent }, { type:
|
|
14937
|
+
}], ctorParameters: function () { return [{ type: DateRangeService }, { type: DateInputComponent }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.NgZone }]; }, propDecorators: { autoCorrectOn: [{
|
|
14941
14938
|
type: Input
|
|
14942
14939
|
}], navigateCalendarOnFocus: [{
|
|
14943
14940
|
type: Input
|
|
@@ -15835,5 +15832,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
15835
15832
|
* Generated bundle index. Do not edit.
|
|
15836
15833
|
*/
|
|
15837
15834
|
|
|
15838
|
-
export { CalendarCommonModule, CalendarComponent, CalendarCustomMessagesComponent, CalendarLocalizedMessagesDirective, CalendarModule, CalendarsModule, CellTemplateDirective, CenturyCellTemplateDirective, DateInputComponent, DateInputCustomMessagesComponent, DateInputLocalizedMessagesDirective, DateInputModule, DateInputsModule, DatePickerComponent, DatePickerCustomMessagesComponent, DatePickerLocalizedMessagesDirective, DatePickerModule, DateRangeComponent, DateRangeEndInputDirective, DateRangeModule, DateRangePopupComponent,
|
|
15835
|
+
export { CalendarCommonModule, CalendarComponent, CalendarCustomMessagesComponent, CalendarLocalizedMessagesDirective, CalendarModule, CalendarsModule, CellTemplateDirective, CenturyCellTemplateDirective, DateInputComponent, DateInputCustomMessagesComponent, DateInputLocalizedMessagesDirective, DateInputModule, DateInputsModule, DatePickerComponent, DatePickerCustomMessagesComponent, DatePickerLocalizedMessagesDirective, DatePickerModule, DateRangeComponent, DateRangeEndInputDirective, DateRangeModule, DateRangePopupComponent, DateRangePopupTemplateDirective, DateRangeSelectionDirective, DateRangeService, DateRangeStartInputDirective, DateTimePickerComponent, DateTimePickerCustomMessagesComponent, DateTimePickerModule, DecadeCellTemplateDirective, HeaderComponent, HeaderTitleTemplateDirective, HorizontalViewListComponent, KForOf, LocalizedMessagesDirective, MonthCellTemplateDirective, MultiViewCalendarComponent, MultiViewCalendarCustomMessagesComponent, MultiViewCalendarLocalizedMessagesDirective, MultiViewCalendarModule, NavigationComponent, NavigationItemTemplateDirective, PreventableEvent, TemplatesModule, TimeListComponent, TimePickerComponent, TimePickerCustomMessagesComponent, TimePickerLocalizedMessagesDirective, TimePickerModule, TimeSelectorComponent, TimeSelectorCustomMessagesComponent, TimeSelectorLocalizedMessagesDirective, ViewComponent, ViewListComponent, WeekNumberCellTemplateDirective, YearCellTemplateDirective };
|
|
15839
15836
|
|
package/main.d.ts
CHANGED
|
@@ -42,7 +42,6 @@ export { DateTimePickerModule } from './datetimepicker/datetimepicker.module';
|
|
|
42
42
|
export { MultiViewCalendarModule } from './calendar/multiview-calendar.module';
|
|
43
43
|
export { DateRangeModule } from './daterange/date-range.module';
|
|
44
44
|
export { DateRangeService } from './daterange/date-range.service';
|
|
45
|
-
export { DateRangePopupService } from './daterange/date-range-popup.service';
|
|
46
45
|
export { CalendarCustomMessagesComponent } from './calendar/localization/calendar-custom-messages.component';
|
|
47
46
|
export { DateInputCustomMessagesComponent } from './dateinput/localization/dateinput-custom-messages.component';
|
|
48
47
|
export { DatePickerCustomMessagesComponent } from './datepicker/localization/datepicker-custom-messages.component';
|