@progress/kendo-angular-dateinputs 16.5.0 → 16.6.0-develop.10
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/NOTICE.txt +12 -19
- package/calendar/calendar.component.d.ts +1 -1
- package/calendar/calendar.module.d.ts +13 -13
- package/calendar/calendars.module.d.ts +15 -3
- package/calendar/footer.component.d.ts +1 -1
- package/calendar/for.directive.d.ts +1 -1
- package/calendar/header.component.d.ts +1 -1
- package/calendar/horizontal-view-list.component.d.ts +1 -1
- package/calendar/localization/calendar-custom-messages.component.d.ts +1 -1
- package/calendar/localization/calendar-localized-messages.directive.d.ts +1 -1
- package/calendar/localization/multiview-calendar-custom-messages.component.d.ts +1 -1
- package/calendar/localization/multiview-calendar-localized-messages.directive.d.ts +1 -1
- package/calendar/multiview-calendar.component.d.ts +1 -1
- package/calendar/multiview-calendar.module.d.ts +13 -11
- package/calendar/navigation.component.d.ts +1 -1
- package/calendar/templates/cell-template.directive.d.ts +1 -1
- package/calendar/templates/century-cell-template.directive.d.ts +1 -1
- package/calendar/templates/decade-cell-template.directive.d.ts +1 -1
- package/calendar/templates/footer-template.directive.d.ts +1 -1
- package/calendar/templates/header-template.directive.d.ts +1 -1
- package/calendar/templates/header-title-template.directive.d.ts +1 -1
- package/calendar/templates/month-cell-template.directive.d.ts +1 -1
- package/calendar/templates/navigation-item-template.directive.d.ts +1 -1
- package/calendar/templates/weeknumber-cell-template.directive.d.ts +1 -1
- package/calendar/templates/year-cell-template.directive.d.ts +1 -1
- package/calendar/view-list.component.d.ts +1 -1
- package/calendar/view.component.d.ts +1 -1
- package/common/adaptive.module.d.ts +5 -4
- package/dateinput/dateinput.component.d.ts +2 -5
- package/dateinput/dateinput.module.d.ts +3 -8
- package/dateinput/localization/dateinput-custom-messages.component.d.ts +1 -1
- package/dateinput/localization/dateinput-localized-messages.directive.d.ts +1 -1
- package/dateinputs.module.d.ts +30 -7
- package/datepicker/datepicker.component.d.ts +4 -8
- package/datepicker/datepicker.module.d.ts +13 -13
- package/datepicker/localization/datepicker-custom-messages.component.d.ts +1 -1
- package/datepicker/localization/datepicker-localized-messages.directive.d.ts +1 -1
- package/daterange/date-range-end-input.directive.d.ts +1 -1
- package/daterange/date-range-popup-template.directive.d.ts +1 -1
- package/daterange/date-range-popup.component.d.ts +1 -1
- package/daterange/date-range-selection.directive.d.ts +1 -1
- package/daterange/date-range-start-input.directive.d.ts +1 -1
- package/daterange/date-range.component.d.ts +1 -1
- package/daterange/date-range.module.d.ts +10 -15
- package/daterange/localization/daterange-popup-custom-messages.component.d.ts +1 -1
- package/daterange/localization/daterange-popup-localized-messages.directive.d.ts +1 -1
- package/datetimepicker/datetimepicker.component.d.ts +3 -7
- package/datetimepicker/datetimepicker.module.d.ts +13 -14
- package/datetimepicker/localization/datetimepicker-custom-messages.component.d.ts +1 -1
- package/datetimepicker/localization/localized-messages.directive.d.ts +1 -1
- package/directives.d.ts +65 -0
- package/esm2020/calendar/calendar.component.mjs +9 -11
- package/esm2020/calendar/calendar.module.mjs +34 -69
- package/esm2020/calendar/calendars.module.mjs +52 -15
- package/esm2020/calendar/footer.component.mjs +7 -5
- package/esm2020/calendar/for.directive.mjs +5 -2
- package/esm2020/calendar/header.component.mjs +8 -6
- package/esm2020/calendar/horizontal-view-list.component.mjs +8 -6
- package/esm2020/calendar/localization/calendar-custom-messages.component.mjs +3 -2
- package/esm2020/calendar/localization/calendar-localized-messages.directive.mjs +3 -2
- package/esm2020/calendar/localization/multiview-calendar-custom-messages.component.mjs +3 -2
- package/esm2020/calendar/localization/multiview-calendar-localized-messages.directive.mjs +3 -2
- package/esm2020/calendar/multiview-calendar.component.mjs +8 -8
- package/esm2020/calendar/multiview-calendar.module.mjs +23 -55
- package/esm2020/calendar/navigation.component.mjs +8 -7
- package/esm2020/calendar/services/century-view.service.mjs +5 -2
- package/esm2020/calendar/services/decade-view.service.mjs +5 -2
- package/esm2020/calendar/services/dom.service.mjs +5 -2
- package/esm2020/calendar/services/month-view.service.mjs +5 -2
- package/esm2020/calendar/services/navigation.service.mjs +5 -2
- package/esm2020/calendar/services/weeknames.service.mjs +5 -2
- package/esm2020/calendar/services/year-view.service.mjs +5 -2
- package/esm2020/calendar/templates/cell-template.directive.mjs +3 -2
- package/esm2020/calendar/templates/century-cell-template.directive.mjs +3 -2
- package/esm2020/calendar/templates/decade-cell-template.directive.mjs +3 -2
- package/esm2020/calendar/templates/footer-template.directive.mjs +3 -2
- package/esm2020/calendar/templates/header-template.directive.mjs +3 -2
- package/esm2020/calendar/templates/header-title-template.directive.mjs +3 -2
- package/esm2020/calendar/templates/month-cell-template.directive.mjs +3 -2
- package/esm2020/calendar/templates/navigation-item-template.directive.mjs +3 -2
- package/esm2020/calendar/templates/weeknumber-cell-template.directive.mjs +3 -2
- package/esm2020/calendar/templates/year-cell-template.directive.mjs +3 -2
- package/esm2020/calendar/view-list.component.mjs +9 -9
- package/esm2020/calendar/view.component.mjs +7 -5
- package/esm2020/common/adaptive.module.mjs +25 -17
- package/esm2020/dateinput/dateinput.component.mjs +11 -13
- package/esm2020/dateinput/dateinput.module.mjs +14 -24
- package/esm2020/dateinput/localization/dateinput-custom-messages.component.mjs +3 -2
- package/esm2020/dateinput/localization/dateinput-localized-messages.directive.mjs +3 -2
- package/esm2020/dateinputs.module.mjs +90 -33
- package/esm2020/datepicker/datepicker.component.mjs +23 -32
- package/esm2020/datepicker/datepicker.module.mjs +55 -63
- package/esm2020/datepicker/localization/datepicker-custom-messages.component.mjs +3 -2
- package/esm2020/datepicker/localization/datepicker-localized-messages.directive.mjs +3 -2
- package/esm2020/daterange/date-range-end-input.directive.mjs +3 -2
- package/esm2020/daterange/date-range-popup-template.directive.mjs +3 -2
- package/esm2020/daterange/date-range-popup.component.mjs +10 -11
- package/esm2020/daterange/date-range-selection.directive.mjs +3 -2
- package/esm2020/daterange/date-range-start-input.directive.mjs +3 -2
- package/esm2020/daterange/date-range.component.mjs +6 -5
- package/esm2020/daterange/date-range.module.mjs +51 -54
- package/esm2020/daterange/localization/daterange-popup-custom-messages.component.mjs +3 -2
- package/esm2020/daterange/localization/daterange-popup-localized-messages.directive.mjs +3 -2
- package/esm2020/datetimepicker/datetimepicker.component.mjs +24 -31
- package/esm2020/datetimepicker/datetimepicker.module.mjs +70 -68
- package/esm2020/datetimepicker/localization/datetimepicker-custom-messages.component.mjs +3 -2
- package/esm2020/datetimepicker/localization/localized-messages.directive.mjs +3 -2
- package/esm2020/directives.mjs +142 -0
- package/esm2020/index.mjs +14 -2
- package/esm2020/package-metadata.mjs +2 -2
- package/esm2020/timepicker/localization/timepicker-custom-messages.component.mjs +3 -2
- package/esm2020/timepicker/localization/timepicker-localized-messages.directive.mjs +3 -2
- package/esm2020/timepicker/localization/timeselector-custom-messages.component.mjs +3 -2
- package/esm2020/timepicker/localization/timeselector-localized-messages.directive.mjs +3 -2
- package/esm2020/timepicker/services/dayperiod.service.mjs +5 -2
- package/esm2020/timepicker/services/dom.service.mjs +5 -2
- package/esm2020/timepicker/services/hours.service.mjs +5 -2
- package/esm2020/timepicker/services/milliseconds.service.mjs +5 -2
- package/esm2020/timepicker/services/minutes.service.mjs +5 -2
- package/esm2020/timepicker/services/seconds.service.mjs +5 -2
- package/esm2020/timepicker/timelist.component.mjs +7 -7
- package/esm2020/timepicker/timepicker.component.mjs +22 -41
- package/esm2020/timepicker/timepicker.module.mjs +34 -75
- package/esm2020/timepicker/timeselector.component.mjs +8 -8
- package/esm2020/virtualization/virtualization.component.mjs +6 -4
- package/fesm2015/progress-kendo-angular-dateinputs.mjs +1229 -1310
- package/fesm2020/progress-kendo-angular-dateinputs.mjs +975 -1050
- package/index.d.ts +14 -2
- package/package.json +10 -10
- package/timepicker/localization/timepicker-custom-messages.component.d.ts +1 -1
- package/timepicker/localization/timepicker-localized-messages.directive.d.ts +1 -1
- package/timepicker/localization/timeselector-custom-messages.component.d.ts +1 -1
- package/timepicker/localization/timeselector-localized-messages.directive.d.ts +1 -1
- package/timepicker/timelist.component.d.ts +1 -1
- package/timepicker/timepicker.component.d.ts +3 -13
- package/timepicker/timepicker.module.d.ts +3 -16
- package/timepicker/timeselector.component.d.ts +1 -1
- package/virtualization/virtualization.component.d.ts +1 -1
- package/calendar/calendar-common.module.d.ts +0 -27
- package/calendar/templates.module.d.ts +0 -35
- package/esm2020/calendar/calendar-common.module.mjs +0 -52
- package/esm2020/calendar/templates.module.mjs +0 -83
- package/esm2020/touch-enabled.mjs +0 -9
- package/esm2020/virtualization/virtualization.module.mjs +0 -30
- package/touch-enabled.d.ts +0 -9
- package/virtualization/virtualization.module.d.ts +0 -18
|
@@ -3,32 +3,30 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as i0 from '@angular/core';
|
|
6
|
-
import {
|
|
6
|
+
import { Directive, Input, Injectable, EventEmitter, isDevMode, Component, Output, ChangeDetectionStrategy, HostListener, HostBinding, forwardRef, ElementRef, ContentChild, ViewChild, InjectionToken, Inject, NgZone, Optional, ViewContainerRef, ViewChildren, TemplateRef, ContentChildren, NgModule } from '@angular/core';
|
|
7
7
|
import { NG_VALUE_ACCESSOR, NG_VALIDATORS, NgControl } from '@angular/forms';
|
|
8
8
|
import * as i1$1 from '@progress/kendo-angular-l10n';
|
|
9
9
|
import { ComponentMessages, LocalizationService, L10N_PREFIX, RTL } from '@progress/kendo-angular-l10n';
|
|
10
10
|
import { cloneDate, MS_PER_HOUR, MS_PER_MINUTE, addDays, getDate, isEqual, addDecades, addCenturies, firstDecadeOfCentury, lastDecadeOfCentury, firstYearOfDecade, createDate, lastYearOfDecade, lastMonthOfYear, lastDayOfMonth, durationInCenturies, addYears, durationInDecades, addWeeks, addMonths, firstDayOfMonth, dayOfWeek, durationInMonths, firstMonthOfYear, durationInYears, weekInYear } from '@progress/kendo-date-math';
|
|
11
11
|
import * as i1$2 from '@progress/kendo-angular-common';
|
|
12
|
-
import { isDocumentAvailable, guid, Keys as Keys$1, hasObservers, isObject, KendoInput, isObjectPresent, removeHTMLAttributes, parseAttributes, anyChanged, isControlRequired, setHTMLAttributes, MultiTabStop,
|
|
12
|
+
import { isDocumentAvailable, EventsOutsideAngularDirective, guid, Keys as Keys$1, hasObservers, isObject, KendoInput, ResizeSensorComponent, isObjectPresent, removeHTMLAttributes, parseAttributes, anyChanged, isControlRequired, setHTMLAttributes, MultiTabStop, ResizeBatchService, KENDO_RESIZESENSOR } from '@progress/kendo-angular-common';
|
|
13
13
|
export { ToggleButtonTabStopDirective } from '@progress/kendo-angular-common';
|
|
14
14
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
15
|
-
import * as i1 from '@progress/kendo-angular-intl';
|
|
16
|
-
import { localeData, IntlModule } from '@progress/kendo-angular-intl';
|
|
17
|
-
import * as i4 from '@angular/common';
|
|
18
|
-
import { CommonModule } from '@angular/common';
|
|
19
15
|
import { Subject, Subscription, ReplaySubject, Observable, combineLatest, of, interval, animationFrameScheduler, fromEvent, EMPTY, from, BehaviorSubject, merge } from 'rxjs';
|
|
16
|
+
import { NgIf, NgTemplateOutlet, NgClass, NgFor, NgStyle } from '@angular/common';
|
|
17
|
+
import * as i1 from '@progress/kendo-angular-intl';
|
|
18
|
+
import { localeData } from '@progress/kendo-angular-intl';
|
|
20
19
|
import { chevronRightIcon, chevronLeftIcon, caretAltUpIcon, xIcon, caretAltDownIcon, calendarIcon, clockIcon } from '@progress/kendo-svg-icons';
|
|
21
|
-
import * as
|
|
22
|
-
import {
|
|
20
|
+
import * as i2 from '@progress/kendo-angular-buttons';
|
|
21
|
+
import { ButtonComponent, KENDO_BUTTON } from '@progress/kendo-angular-buttons';
|
|
23
22
|
import { map, scan, takeWhile, debounceTime, tap, filter } from 'rxjs/operators';
|
|
24
23
|
import { DateInput } from '@progress/kendo-dateinputs-common';
|
|
25
|
-
import
|
|
26
|
-
import
|
|
27
|
-
import
|
|
28
|
-
import { PopupModule } from '@progress/kendo-angular-popup';
|
|
29
|
-
import * as i12 from '@progress/kendo-angular-navigation';
|
|
30
|
-
import { NavigationModule } from '@progress/kendo-angular-navigation';
|
|
24
|
+
import { IconWrapperComponent, IconsService } from '@progress/kendo-angular-icons';
|
|
25
|
+
import * as i3 from '@progress/kendo-angular-navigation';
|
|
26
|
+
import { ActionSheetComponent, ActionSheetTemplateDirective, KENDO_NAVIGATION } from '@progress/kendo-angular-navigation';
|
|
31
27
|
import { touchEnabled } from '@progress/kendo-common';
|
|
28
|
+
import * as i1$3 from '@progress/kendo-angular-popup';
|
|
29
|
+
import { PopupService } from '@progress/kendo-angular-popup';
|
|
32
30
|
|
|
33
31
|
/**
|
|
34
32
|
* @hidden
|
|
@@ -37,8 +35,8 @@ const packageMetadata = {
|
|
|
37
35
|
name: '@progress/kendo-angular-dateinputs',
|
|
38
36
|
productName: 'Kendo UI for Angular',
|
|
39
37
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
40
|
-
publishDate:
|
|
41
|
-
version: '16.
|
|
38
|
+
publishDate: 1722606925,
|
|
39
|
+
version: '16.6.0-develop.10',
|
|
42
40
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
43
41
|
};
|
|
44
42
|
|
|
@@ -588,6 +586,128 @@ const windowSize = () => {
|
|
|
588
586
|
}
|
|
589
587
|
};
|
|
590
588
|
|
|
589
|
+
/**
|
|
590
|
+
* @hidden
|
|
591
|
+
*/
|
|
592
|
+
class KForOfContext {
|
|
593
|
+
constructor($implicit, kForOf, index, count) {
|
|
594
|
+
this.$implicit = $implicit;
|
|
595
|
+
this.kForOf = kForOf;
|
|
596
|
+
this.index = index;
|
|
597
|
+
this.count = count;
|
|
598
|
+
}
|
|
599
|
+
get first() { return this.index === 0; }
|
|
600
|
+
get last() { return this.index === this.count - 1; }
|
|
601
|
+
get even() { return this.index % 2 === 0; }
|
|
602
|
+
get odd() { return !this.even; }
|
|
603
|
+
}
|
|
604
|
+
/**
|
|
605
|
+
* @hidden
|
|
606
|
+
*/
|
|
607
|
+
// eslint-disable-next-line
|
|
608
|
+
class KForOf {
|
|
609
|
+
constructor(_viewContainer, _template, _differs) {
|
|
610
|
+
this._viewContainer = _viewContainer;
|
|
611
|
+
this._template = _template;
|
|
612
|
+
this._differs = _differs;
|
|
613
|
+
this._differ = null;
|
|
614
|
+
}
|
|
615
|
+
set kForTemplate(value) {
|
|
616
|
+
if (value) {
|
|
617
|
+
this._template = value;
|
|
618
|
+
}
|
|
619
|
+
}
|
|
620
|
+
ngOnChanges(changes) {
|
|
621
|
+
if ('kForOf' in changes) {
|
|
622
|
+
const value = changes['kForOf'].currentValue;
|
|
623
|
+
if (this._differ || !value) {
|
|
624
|
+
return;
|
|
625
|
+
}
|
|
626
|
+
try {
|
|
627
|
+
this._differ = this._differs.find(value).create(this.kForTrackBy);
|
|
628
|
+
}
|
|
629
|
+
catch (e) {
|
|
630
|
+
throw new Error(`Cannot find a differ supporting object '${value}' of type '${getTypeNameForDebugging(value)}'.`);
|
|
631
|
+
}
|
|
632
|
+
}
|
|
633
|
+
}
|
|
634
|
+
ngDoCheck() {
|
|
635
|
+
if (this._differ) {
|
|
636
|
+
const changes = this._differ.diff(this.kForOf);
|
|
637
|
+
if (changes) {
|
|
638
|
+
this._applyChanges(changes);
|
|
639
|
+
}
|
|
640
|
+
}
|
|
641
|
+
}
|
|
642
|
+
_applyChanges(changes) {
|
|
643
|
+
if (!isDocumentAvailable()) {
|
|
644
|
+
return;
|
|
645
|
+
}
|
|
646
|
+
const viewContainerLength = this._viewContainer.length;
|
|
647
|
+
const dataLength = this.kForOf.length;
|
|
648
|
+
const tuples = {};
|
|
649
|
+
changes.forEachOperation((record, _, currentIndex) => {
|
|
650
|
+
if (currentIndex !== null) {
|
|
651
|
+
tuples[currentIndex] = record.item;
|
|
652
|
+
}
|
|
653
|
+
});
|
|
654
|
+
for (let i = viewContainerLength; i < dataLength; i++) {
|
|
655
|
+
this._viewContainer.createEmbeddedView(this._template, new KForOfContext(null, this.kForOf, -1, -1), i);
|
|
656
|
+
}
|
|
657
|
+
for (let i = this._viewContainer.length; i > dataLength; i--) {
|
|
658
|
+
this._viewContainer.remove(i - 1);
|
|
659
|
+
}
|
|
660
|
+
for (let i = 0; i < this._viewContainer.length; i++) {
|
|
661
|
+
const view = this._viewContainer.get(i);
|
|
662
|
+
view.context.index = i;
|
|
663
|
+
view.context.count = length;
|
|
664
|
+
view.context.$implicit = tuples[i] || null;
|
|
665
|
+
}
|
|
666
|
+
}
|
|
667
|
+
}
|
|
668
|
+
KForOf.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: KForOf, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }, { token: i0.IterableDiffers }], target: i0.ɵɵFactoryTarget.Directive });
|
|
669
|
+
KForOf.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: KForOf, isStandalone: true, selector: "[kFor][kForOf]", inputs: { kForOf: "kForOf", kForTrackBy: "kForTrackBy", kForTemplate: "kForTemplate" }, usesOnChanges: true, ngImport: i0 });
|
|
670
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: KForOf, decorators: [{
|
|
671
|
+
type: Directive,
|
|
672
|
+
args: [{
|
|
673
|
+
selector: '[kFor][kForOf]',
|
|
674
|
+
standalone: true
|
|
675
|
+
}]
|
|
676
|
+
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }, { type: i0.TemplateRef }, { type: i0.IterableDiffers }]; }, propDecorators: { kForOf: [{
|
|
677
|
+
type: Input
|
|
678
|
+
}], kForTrackBy: [{
|
|
679
|
+
type: Input
|
|
680
|
+
}], kForTemplate: [{
|
|
681
|
+
type: Input
|
|
682
|
+
}] } });
|
|
683
|
+
/**
|
|
684
|
+
* @hidden
|
|
685
|
+
*/
|
|
686
|
+
function getTypeNameForDebugging(type) {
|
|
687
|
+
return type.name || typeof type;
|
|
688
|
+
}
|
|
689
|
+
|
|
690
|
+
/**
|
|
691
|
+
* @hidden
|
|
692
|
+
*/
|
|
693
|
+
const closestInScope = (node, predicate, scope) => {
|
|
694
|
+
while (node && node !== scope && !predicate(node)) {
|
|
695
|
+
node = node.parentNode;
|
|
696
|
+
}
|
|
697
|
+
if (node !== scope) {
|
|
698
|
+
return node;
|
|
699
|
+
}
|
|
700
|
+
};
|
|
701
|
+
/**
|
|
702
|
+
* @hidden
|
|
703
|
+
*/
|
|
704
|
+
const closest = (node, predicate) => {
|
|
705
|
+
while (node && !predicate(node)) {
|
|
706
|
+
node = node.parentNode;
|
|
707
|
+
}
|
|
708
|
+
return node;
|
|
709
|
+
};
|
|
710
|
+
|
|
591
711
|
const EMPTY_DATA$3 = [[]];
|
|
592
712
|
const CELLS_LENGTH$3 = 4;
|
|
593
713
|
const ROWS_LENGTH$3 = 3;
|
|
@@ -790,9 +910,12 @@ class CenturyViewService {
|
|
|
790
910
|
}
|
|
791
911
|
}
|
|
792
912
|
CenturyViewService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CenturyViewService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
793
|
-
CenturyViewService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CenturyViewService });
|
|
913
|
+
CenturyViewService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CenturyViewService, providedIn: 'root' });
|
|
794
914
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CenturyViewService, decorators: [{
|
|
795
|
-
type: Injectable
|
|
915
|
+
type: Injectable,
|
|
916
|
+
args: [{
|
|
917
|
+
providedIn: 'root'
|
|
918
|
+
}]
|
|
796
919
|
}] });
|
|
797
920
|
|
|
798
921
|
const EMPTY_DATA$2 = [[]];
|
|
@@ -996,9 +1119,12 @@ class DecadeViewService {
|
|
|
996
1119
|
}
|
|
997
1120
|
}
|
|
998
1121
|
DecadeViewService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DecadeViewService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
999
|
-
DecadeViewService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DecadeViewService });
|
|
1122
|
+
DecadeViewService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DecadeViewService, providedIn: 'root' });
|
|
1000
1123
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DecadeViewService, decorators: [{
|
|
1001
|
-
type: Injectable
|
|
1124
|
+
type: Injectable,
|
|
1125
|
+
args: [{
|
|
1126
|
+
providedIn: 'root'
|
|
1127
|
+
}]
|
|
1002
1128
|
}] });
|
|
1003
1129
|
|
|
1004
1130
|
const EMPTY_DATA$1 = [[]];
|
|
@@ -1203,9 +1329,12 @@ class MonthViewService {
|
|
|
1203
1329
|
}
|
|
1204
1330
|
}
|
|
1205
1331
|
MonthViewService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MonthViewService, deps: [{ token: i1.IntlService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1206
|
-
MonthViewService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MonthViewService });
|
|
1332
|
+
MonthViewService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MonthViewService, providedIn: 'root' });
|
|
1207
1333
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MonthViewService, decorators: [{
|
|
1208
|
-
type: Injectable
|
|
1334
|
+
type: Injectable,
|
|
1335
|
+
args: [{
|
|
1336
|
+
providedIn: 'root'
|
|
1337
|
+
}]
|
|
1209
1338
|
}], ctorParameters: function () { return [{ type: i1.IntlService }]; } });
|
|
1210
1339
|
|
|
1211
1340
|
const EMPTY_DATA = [[]];
|
|
@@ -1391,9 +1520,12 @@ class YearViewService {
|
|
|
1391
1520
|
}
|
|
1392
1521
|
}
|
|
1393
1522
|
YearViewService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: YearViewService, deps: [{ token: i1.IntlService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1394
|
-
YearViewService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: YearViewService });
|
|
1523
|
+
YearViewService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: YearViewService, providedIn: 'root' });
|
|
1395
1524
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: YearViewService, decorators: [{
|
|
1396
|
-
type: Injectable
|
|
1525
|
+
type: Injectable,
|
|
1526
|
+
args: [{
|
|
1527
|
+
providedIn: 'root'
|
|
1528
|
+
}]
|
|
1397
1529
|
}], ctorParameters: function () { return [{ type: i1.IntlService }]; } });
|
|
1398
1530
|
|
|
1399
1531
|
const services$1 = {
|
|
@@ -1467,243 +1599,106 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
1467
1599
|
type: Injectable
|
|
1468
1600
|
}], ctorParameters: function () { return [{ type: i0.Injector }]; } });
|
|
1469
1601
|
|
|
1602
|
+
const noop$1 = () => false;
|
|
1603
|
+
const DISABLED_DATES_DOC_LINK = 'https://www.telerik.com/kendo-angular-ui/components/dateinputs/calendar/disabled-dates/';
|
|
1470
1604
|
/**
|
|
1471
1605
|
* @hidden
|
|
1472
1606
|
*/
|
|
1473
|
-
class
|
|
1474
|
-
constructor(
|
|
1475
|
-
|
|
1607
|
+
class DisabledDatesService {
|
|
1608
|
+
constructor() {
|
|
1609
|
+
/**
|
|
1610
|
+
* Emits every time the `isDateDisabled` method changes.
|
|
1611
|
+
*/
|
|
1612
|
+
this.changes = new Subject();
|
|
1613
|
+
/**
|
|
1614
|
+
* Based on the user-defined `disabledDates` input evaluates if the date is disabled.
|
|
1615
|
+
* If not set, returns `false`.
|
|
1616
|
+
*/
|
|
1617
|
+
this.isDateDisabled = noop$1;
|
|
1476
1618
|
}
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1619
|
+
/**
|
|
1620
|
+
* Configures the `isDateDisabled` function.
|
|
1621
|
+
*
|
|
1622
|
+
* * If a function is provided, uses it as-is and passes each date to it for evaluation.
|
|
1623
|
+
* The time part is set to `midnight`.
|
|
1624
|
+
* * If a `Date[]` is provided, creates a function that checks the targeted date against
|
|
1625
|
+
* the listed dates and, if the targeted date is listed, marks it as disabled.
|
|
1626
|
+
* * If a `Day[]` is provided, creates a function that evaluates the provided days of the
|
|
1627
|
+
* week as disabled.
|
|
1628
|
+
*/
|
|
1629
|
+
initialize(disabledDates) {
|
|
1630
|
+
if (typeof disabledDates === 'function') {
|
|
1631
|
+
this.isDateDisabled = (date) => disabledDates(getDate(date));
|
|
1632
|
+
}
|
|
1633
|
+
else if (isNumberArray(disabledDates)) {
|
|
1634
|
+
const disabledWeekDays = new Set(disabledDates);
|
|
1635
|
+
this.isDateDisabled = (date) => disabledWeekDays.has(date.getDay());
|
|
1636
|
+
}
|
|
1637
|
+
else if (isDateArray(disabledDates)) {
|
|
1638
|
+
const normalizedDisabledDates = new Set(disabledDates.map(date => getDate(date).getTime()));
|
|
1639
|
+
this.isDateDisabled = (date) => normalizedDisabledDates.has(getDate(date).getTime());
|
|
1640
|
+
}
|
|
1641
|
+
else {
|
|
1642
|
+
this.isDateDisabled = noop$1;
|
|
1643
|
+
this.notifyInvalidInput(disabledDates);
|
|
1644
|
+
}
|
|
1645
|
+
this.notifyServiceChange();
|
|
1646
|
+
}
|
|
1647
|
+
notifyInvalidInput(disabledDates) {
|
|
1648
|
+
if (isPresent(disabledDates) && isDevMode()) {
|
|
1649
|
+
throw new Error(`The 'disabledDates' value should be a function, a Day array or a Date array. Check ${DISABLED_DATES_DOC_LINK} for more information.`);
|
|
1650
|
+
}
|
|
1651
|
+
}
|
|
1652
|
+
notifyServiceChange() {
|
|
1653
|
+
this.changes.next();
|
|
1480
1654
|
}
|
|
1481
1655
|
}
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type:
|
|
1656
|
+
DisabledDatesService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DisabledDatesService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1657
|
+
DisabledDatesService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DisabledDatesService });
|
|
1658
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DisabledDatesService, decorators: [{
|
|
1485
1659
|
type: Injectable
|
|
1486
|
-
}]
|
|
1660
|
+
}] });
|
|
1487
1661
|
|
|
1488
1662
|
/**
|
|
1489
1663
|
* @hidden
|
|
1490
1664
|
*/
|
|
1491
|
-
class
|
|
1492
|
-
constructor(
|
|
1493
|
-
this
|
|
1494
|
-
this.
|
|
1495
|
-
this.
|
|
1496
|
-
this.
|
|
1665
|
+
class ViewComponent {
|
|
1666
|
+
constructor(bus, intl, cdr, element, zone, renderer, disabledDatesService) {
|
|
1667
|
+
this.bus = bus;
|
|
1668
|
+
this.intl = intl;
|
|
1669
|
+
this.cdr = cdr;
|
|
1670
|
+
this.element = element;
|
|
1671
|
+
this.zone = zone;
|
|
1672
|
+
this.renderer = renderer;
|
|
1673
|
+
this.disabledDatesService = disabledDatesService;
|
|
1674
|
+
this.direction = 'vertical';
|
|
1675
|
+
this.isActive = true;
|
|
1676
|
+
this.selectedDates = [];
|
|
1677
|
+
this.cellClick = new EventEmitter();
|
|
1678
|
+
this.weekNumberCellClick = new EventEmitter();
|
|
1679
|
+
this.cellEnter = new EventEmitter();
|
|
1680
|
+
this.cellLeave = new EventEmitter();
|
|
1681
|
+
this.focusedCellId = new EventEmitter();
|
|
1682
|
+
this.colSpan = 0;
|
|
1683
|
+
this.subscriptions = new Subscription();
|
|
1684
|
+
this.domEvents = [];
|
|
1685
|
+
this.subscriptions.add(this.intl.changes.subscribe(this.intlChange.bind(this)));
|
|
1686
|
+
this.subscriptions.add(this.disabledDatesService.changes.subscribe(this.disabledDatesChange.bind(this)));
|
|
1497
1687
|
}
|
|
1498
|
-
get
|
|
1499
|
-
|
|
1500
|
-
get even() { return this.index % 2 === 0; }
|
|
1501
|
-
get odd() { return !this.even; }
|
|
1502
|
-
}
|
|
1503
|
-
/**
|
|
1504
|
-
* @hidden
|
|
1505
|
-
*/
|
|
1506
|
-
// eslint-disable-next-line
|
|
1507
|
-
class KForOf {
|
|
1508
|
-
constructor(_viewContainer, _template, _differs) {
|
|
1509
|
-
this._viewContainer = _viewContainer;
|
|
1510
|
-
this._template = _template;
|
|
1511
|
-
this._differs = _differs;
|
|
1512
|
-
this._differ = null;
|
|
1688
|
+
get weekNumber() {
|
|
1689
|
+
return this.showWeekNumbers && this.activeView === CalendarViewEnum.month;
|
|
1513
1690
|
}
|
|
1514
|
-
set
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
}
|
|
1525
|
-
try {
|
|
1526
|
-
this._differ = this._differs.find(value).create(this.kForTrackBy);
|
|
1527
|
-
}
|
|
1528
|
-
catch (e) {
|
|
1529
|
-
throw new Error(`Cannot find a differ supporting object '${value}' of type '${getTypeNameForDebugging(value)}'.`);
|
|
1530
|
-
}
|
|
1531
|
-
}
|
|
1532
|
-
}
|
|
1533
|
-
ngDoCheck() {
|
|
1534
|
-
if (this._differ) {
|
|
1535
|
-
const changes = this._differ.diff(this.kForOf);
|
|
1536
|
-
if (changes) {
|
|
1537
|
-
this._applyChanges(changes);
|
|
1538
|
-
}
|
|
1539
|
-
}
|
|
1540
|
-
}
|
|
1541
|
-
_applyChanges(changes) {
|
|
1542
|
-
if (!isDocumentAvailable()) {
|
|
1543
|
-
return;
|
|
1544
|
-
}
|
|
1545
|
-
const viewContainerLength = this._viewContainer.length;
|
|
1546
|
-
const dataLength = this.kForOf.length;
|
|
1547
|
-
const tuples = {};
|
|
1548
|
-
changes.forEachOperation((record, _, currentIndex) => {
|
|
1549
|
-
if (currentIndex !== null) {
|
|
1550
|
-
tuples[currentIndex] = record.item;
|
|
1551
|
-
}
|
|
1552
|
-
});
|
|
1553
|
-
for (let i = viewContainerLength; i < dataLength; i++) {
|
|
1554
|
-
this._viewContainer.createEmbeddedView(this._template, new KForOfContext(null, this.kForOf, -1, -1), i);
|
|
1555
|
-
}
|
|
1556
|
-
for (let i = this._viewContainer.length; i > dataLength; i--) {
|
|
1557
|
-
this._viewContainer.remove(i - 1);
|
|
1558
|
-
}
|
|
1559
|
-
for (let i = 0; i < this._viewContainer.length; i++) {
|
|
1560
|
-
const view = this._viewContainer.get(i);
|
|
1561
|
-
view.context.index = i;
|
|
1562
|
-
view.context.count = length;
|
|
1563
|
-
view.context.$implicit = tuples[i] || null;
|
|
1564
|
-
}
|
|
1565
|
-
}
|
|
1566
|
-
}
|
|
1567
|
-
KForOf.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: KForOf, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }, { token: i0.IterableDiffers }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1568
|
-
KForOf.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: KForOf, selector: "[kFor][kForOf]", inputs: { kForOf: "kForOf", kForTrackBy: "kForTrackBy", kForTemplate: "kForTemplate" }, usesOnChanges: true, ngImport: i0 });
|
|
1569
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: KForOf, decorators: [{
|
|
1570
|
-
type: Directive,
|
|
1571
|
-
args: [{ selector: '[kFor][kForOf]' }]
|
|
1572
|
-
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }, { type: i0.TemplateRef }, { type: i0.IterableDiffers }]; }, propDecorators: { kForOf: [{
|
|
1573
|
-
type: Input
|
|
1574
|
-
}], kForTrackBy: [{
|
|
1575
|
-
type: Input
|
|
1576
|
-
}], kForTemplate: [{
|
|
1577
|
-
type: Input
|
|
1578
|
-
}] } });
|
|
1579
|
-
/**
|
|
1580
|
-
* @hidden
|
|
1581
|
-
*/
|
|
1582
|
-
function getTypeNameForDebugging(type) {
|
|
1583
|
-
return type.name || typeof type;
|
|
1584
|
-
}
|
|
1585
|
-
|
|
1586
|
-
/**
|
|
1587
|
-
* @hidden
|
|
1588
|
-
*/
|
|
1589
|
-
const closestInScope = (node, predicate, scope) => {
|
|
1590
|
-
while (node && node !== scope && !predicate(node)) {
|
|
1591
|
-
node = node.parentNode;
|
|
1592
|
-
}
|
|
1593
|
-
if (node !== scope) {
|
|
1594
|
-
return node;
|
|
1595
|
-
}
|
|
1596
|
-
};
|
|
1597
|
-
/**
|
|
1598
|
-
* @hidden
|
|
1599
|
-
*/
|
|
1600
|
-
const closest = (node, predicate) => {
|
|
1601
|
-
while (node && !predicate(node)) {
|
|
1602
|
-
node = node.parentNode;
|
|
1603
|
-
}
|
|
1604
|
-
return node;
|
|
1605
|
-
};
|
|
1606
|
-
|
|
1607
|
-
const noop$1 = () => false;
|
|
1608
|
-
const DISABLED_DATES_DOC_LINK = 'https://www.telerik.com/kendo-angular-ui/components/dateinputs/calendar/disabled-dates/';
|
|
1609
|
-
/**
|
|
1610
|
-
* @hidden
|
|
1611
|
-
*/
|
|
1612
|
-
class DisabledDatesService {
|
|
1613
|
-
constructor() {
|
|
1614
|
-
/**
|
|
1615
|
-
* Emits every time the `isDateDisabled` method changes.
|
|
1616
|
-
*/
|
|
1617
|
-
this.changes = new Subject();
|
|
1618
|
-
/**
|
|
1619
|
-
* Based on the user-defined `disabledDates` input evaluates if the date is disabled.
|
|
1620
|
-
* If not set, returns `false`.
|
|
1621
|
-
*/
|
|
1622
|
-
this.isDateDisabled = noop$1;
|
|
1623
|
-
}
|
|
1624
|
-
/**
|
|
1625
|
-
* Configures the `isDateDisabled` function.
|
|
1626
|
-
*
|
|
1627
|
-
* * If a function is provided, uses it as-is and passes each date to it for evaluation.
|
|
1628
|
-
* The time part is set to `midnight`.
|
|
1629
|
-
* * If a `Date[]` is provided, creates a function that checks the targeted date against
|
|
1630
|
-
* the listed dates and, if the targeted date is listed, marks it as disabled.
|
|
1631
|
-
* * If a `Day[]` is provided, creates a function that evaluates the provided days of the
|
|
1632
|
-
* week as disabled.
|
|
1633
|
-
*/
|
|
1634
|
-
initialize(disabledDates) {
|
|
1635
|
-
if (typeof disabledDates === 'function') {
|
|
1636
|
-
this.isDateDisabled = (date) => disabledDates(getDate(date));
|
|
1637
|
-
}
|
|
1638
|
-
else if (isNumberArray(disabledDates)) {
|
|
1639
|
-
const disabledWeekDays = new Set(disabledDates);
|
|
1640
|
-
this.isDateDisabled = (date) => disabledWeekDays.has(date.getDay());
|
|
1641
|
-
}
|
|
1642
|
-
else if (isDateArray(disabledDates)) {
|
|
1643
|
-
const normalizedDisabledDates = new Set(disabledDates.map(date => getDate(date).getTime()));
|
|
1644
|
-
this.isDateDisabled = (date) => normalizedDisabledDates.has(getDate(date).getTime());
|
|
1645
|
-
}
|
|
1646
|
-
else {
|
|
1647
|
-
this.isDateDisabled = noop$1;
|
|
1648
|
-
this.notifyInvalidInput(disabledDates);
|
|
1649
|
-
}
|
|
1650
|
-
this.notifyServiceChange();
|
|
1651
|
-
}
|
|
1652
|
-
notifyInvalidInput(disabledDates) {
|
|
1653
|
-
if (isPresent(disabledDates) && isDevMode()) {
|
|
1654
|
-
throw new Error(`The 'disabledDates' value should be a function, a Day array or a Date array. Check ${DISABLED_DATES_DOC_LINK} for more information.`);
|
|
1655
|
-
}
|
|
1656
|
-
}
|
|
1657
|
-
notifyServiceChange() {
|
|
1658
|
-
this.changes.next();
|
|
1659
|
-
}
|
|
1660
|
-
}
|
|
1661
|
-
DisabledDatesService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DisabledDatesService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1662
|
-
DisabledDatesService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DisabledDatesService });
|
|
1663
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DisabledDatesService, decorators: [{
|
|
1664
|
-
type: Injectable
|
|
1665
|
-
}] });
|
|
1666
|
-
|
|
1667
|
-
/**
|
|
1668
|
-
* @hidden
|
|
1669
|
-
*/
|
|
1670
|
-
class ViewComponent {
|
|
1671
|
-
constructor(bus, intl, cdr, element, zone, renderer, disabledDatesService) {
|
|
1672
|
-
this.bus = bus;
|
|
1673
|
-
this.intl = intl;
|
|
1674
|
-
this.cdr = cdr;
|
|
1675
|
-
this.element = element;
|
|
1676
|
-
this.zone = zone;
|
|
1677
|
-
this.renderer = renderer;
|
|
1678
|
-
this.disabledDatesService = disabledDatesService;
|
|
1679
|
-
this.direction = 'vertical';
|
|
1680
|
-
this.isActive = true;
|
|
1681
|
-
this.selectedDates = [];
|
|
1682
|
-
this.cellClick = new EventEmitter();
|
|
1683
|
-
this.weekNumberCellClick = new EventEmitter();
|
|
1684
|
-
this.cellEnter = new EventEmitter();
|
|
1685
|
-
this.cellLeave = new EventEmitter();
|
|
1686
|
-
this.focusedCellId = new EventEmitter();
|
|
1687
|
-
this.colSpan = 0;
|
|
1688
|
-
this.subscriptions = new Subscription();
|
|
1689
|
-
this.domEvents = [];
|
|
1690
|
-
this.subscriptions.add(this.intl.changes.subscribe(this.intlChange.bind(this)));
|
|
1691
|
-
this.subscriptions.add(this.disabledDatesService.changes.subscribe(this.disabledDatesChange.bind(this)));
|
|
1692
|
-
}
|
|
1693
|
-
get weekNumber() {
|
|
1694
|
-
return this.showWeekNumbers && this.activeView === CalendarViewEnum.month;
|
|
1695
|
-
}
|
|
1696
|
-
set weekNumber(showWeekNumbers) {
|
|
1697
|
-
this.showWeekNumbers = showWeekNumbers;
|
|
1698
|
-
}
|
|
1699
|
-
get ariaHidden() {
|
|
1700
|
-
return this.headerTitle === this.title ? null : true;
|
|
1701
|
-
}
|
|
1702
|
-
ngOnInit() {
|
|
1703
|
-
if (this.element) {
|
|
1704
|
-
this.zone.runOutsideAngular(() => {
|
|
1705
|
-
this.bindEvents();
|
|
1706
|
-
});
|
|
1691
|
+
set weekNumber(showWeekNumbers) {
|
|
1692
|
+
this.showWeekNumbers = showWeekNumbers;
|
|
1693
|
+
}
|
|
1694
|
+
get ariaHidden() {
|
|
1695
|
+
return this.headerTitle === this.title ? null : true;
|
|
1696
|
+
}
|
|
1697
|
+
ngOnInit() {
|
|
1698
|
+
if (this.element) {
|
|
1699
|
+
this.zone.runOutsideAngular(() => {
|
|
1700
|
+
this.bindEvents();
|
|
1701
|
+
});
|
|
1707
1702
|
}
|
|
1708
1703
|
}
|
|
1709
1704
|
ngOnChanges(changes) {
|
|
@@ -1881,7 +1876,7 @@ class ViewComponent {
|
|
|
1881
1876
|
}
|
|
1882
1877
|
}
|
|
1883
1878
|
ViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ViewComponent, deps: [{ token: BusViewService }, { token: i1.IntlService }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: DisabledDatesService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1884
|
-
ViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ViewComponent, selector: "[kendoCalendarView]", inputs: { allowReverse: "allowReverse", showOtherMonthDays: "showOtherMonthDays", direction: "direction", isActive: "isActive", activeView: "activeView", cellUID: "cellUID", focusedDate: "focusedDate", viewDate: "viewDate", activeRangeEnd: "activeRangeEnd", selectionRange: "selectionRange", min: "min", max: "max", selectedDates: "selectedDates", weekNumber: "weekNumber", viewIndex: "viewIndex", templateRef: "templateRef", weekNumberTemplateRef: "weekNumberTemplateRef", headerTitle: "headerTitle" }, outputs: { cellClick: "cellClick", weekNumberCellClick: "weekNumberCellClick", cellEnter: "cellEnter", cellLeave: "cellLeave", focusedCellId: "focusedCellId" }, usesOnChanges: true, ngImport: i0, template: `
|
|
1879
|
+
ViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ViewComponent, isStandalone: true, selector: "[kendoCalendarView]", inputs: { allowReverse: "allowReverse", showOtherMonthDays: "showOtherMonthDays", direction: "direction", isActive: "isActive", activeView: "activeView", cellUID: "cellUID", focusedDate: "focusedDate", viewDate: "viewDate", activeRangeEnd: "activeRangeEnd", selectionRange: "selectionRange", min: "min", max: "max", selectedDates: "selectedDates", weekNumber: "weekNumber", viewIndex: "viewIndex", templateRef: "templateRef", weekNumberTemplateRef: "weekNumberTemplateRef", headerTitle: "headerTitle" }, outputs: { cellClick: "cellClick", weekNumberCellClick: "weekNumberCellClick", cellEnter: "cellEnter", cellLeave: "cellLeave", focusedCellId: "focusedCellId" }, usesOnChanges: true, ngImport: i0, template: `
|
|
1885
1880
|
<ng-template #emptyCell><td class="k-empty k-calendar-td" role="gridcell"> </td></ng-template>
|
|
1886
1881
|
<tr *ngIf="!isHorizontal()" class="k-calendar-tr" role="row" [attr.aria-hidden]="ariaHidden"><th class="k-calendar-caption" scope="col" [colSpan]="colSpan">{{title}}</th></tr>
|
|
1887
1882
|
<tr *kFor="let row of data; let rowIndex = index" class="k-calendar-tr" role="row">
|
|
@@ -1928,7 +1923,7 @@ ViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version:
|
|
|
1928
1923
|
</td>
|
|
1929
1924
|
</ng-container>
|
|
1930
1925
|
</tr>
|
|
1931
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
1926
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: KForOf, selector: "[kFor][kForOf]", inputs: ["kForOf", "kForTrackBy", "kForTemplate"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
1932
1927
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ViewComponent, decorators: [{
|
|
1933
1928
|
type: Component,
|
|
1934
1929
|
args: [{
|
|
@@ -1981,7 +1976,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
1981
1976
|
</td>
|
|
1982
1977
|
</ng-container>
|
|
1983
1978
|
</tr>
|
|
1984
|
-
|
|
1979
|
+
`,
|
|
1980
|
+
standalone: true,
|
|
1981
|
+
imports: [NgIf, KForOf, NgTemplateOutlet, NgClass]
|
|
1985
1982
|
}]
|
|
1986
1983
|
}], ctorParameters: function () { return [{ type: BusViewService }, { type: i1.IntlService }, { type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.Renderer2 }, { type: DisabledDatesService }]; }, propDecorators: { allowReverse: [{
|
|
1987
1984
|
type: Input
|
|
@@ -2031,6 +2028,27 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
2031
2028
|
type: Output
|
|
2032
2029
|
}] } });
|
|
2033
2030
|
|
|
2031
|
+
/**
|
|
2032
|
+
* @hidden
|
|
2033
|
+
*/
|
|
2034
|
+
class WeekNamesService {
|
|
2035
|
+
constructor(intl) {
|
|
2036
|
+
this.intl = intl;
|
|
2037
|
+
}
|
|
2038
|
+
getWeekNames(includeWeekNumber = false, nameType) {
|
|
2039
|
+
const weekNames = shiftWeekNames(this.intl.dateFormatNames({ nameType: nameType, type: 'days' }), this.intl.firstDay());
|
|
2040
|
+
return includeWeekNumber ? [''].concat(weekNames) : weekNames;
|
|
2041
|
+
}
|
|
2042
|
+
}
|
|
2043
|
+
WeekNamesService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WeekNamesService, deps: [{ token: i1.IntlService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2044
|
+
WeekNamesService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WeekNamesService, providedIn: 'root' });
|
|
2045
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WeekNamesService, decorators: [{
|
|
2046
|
+
type: Injectable,
|
|
2047
|
+
args: [{
|
|
2048
|
+
providedIn: 'root'
|
|
2049
|
+
}]
|
|
2050
|
+
}], ctorParameters: function () { return [{ type: i1.IntlService }]; } });
|
|
2051
|
+
|
|
2034
2052
|
/* eslint-disable @angular-eslint/component-selector */
|
|
2035
2053
|
const DEFAULT_VIEWS_LENGTH = 2;
|
|
2036
2054
|
/**
|
|
@@ -2274,7 +2292,7 @@ class HorizontalViewListComponent {
|
|
|
2274
2292
|
}
|
|
2275
2293
|
}
|
|
2276
2294
|
HorizontalViewListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HorizontalViewListComponent, deps: [{ token: BusViewService }, { token: i1.IntlService }, { token: WeekNamesService }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
2277
|
-
HorizontalViewListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: HorizontalViewListComponent, selector: "kendo-calendar-horizontal", inputs: { showOtherMonthDays: "showOtherMonthDays", cellTemplateRef: "cellTemplateRef", weekNumberTemplateRef: "weekNumberTemplateRef", allowReverse: "allowReverse", activeRangeEnd: "activeRangeEnd", activeView: "activeView", cellUID: "cellUID", focusedDate: "focusedDate", isActive: "isActive", min: "min", max: "max", selectionRange: "selectionRange", selectedDates: "selectedDates", views: "views", showViewHeader: "showViewHeader", animateNavigation: "animateNavigation", orientation: "orientation", activeDescendant: "activeDescendant", tabIndex: "tabIndex", disabled: "disabled", id: "id", weekDaysFormat: "weekDaysFormat", weekNumber: "weekNumber" }, outputs: { cellClick: "cellClick", weekNumberCellClick: "weekNumberCellClick", cellEnter: "cellEnter", cellLeave: "cellLeave", activeDateChange: "activeDateChange", focusCalendar: "focusCalendar", blurCalendar: "blurCalendar", focusedCellChange: "focusedCellChange" }, host: { listeners: { "focus": "handleMultiViewCalendarFocus()", "blur": "handleMultiViewCalendarBlur($event)" }, properties: { "class.k-calendar-view": "this.getComponentClass", "class.k-align-items-start": "this.getComponentClass", "class.k-justify-content-center": "this.getComponentClass", "class.k-hstack": "this.horizontalHostClass", "class.k-vstack": "this.verticalHostClass", "class.k-calendar-monthview": "this.getComponentMonthClass", "class.k-calendar-yearview": "this.getComponentYearClass", "class.k-calendar-decadeview": "this.getComponentDecadeClass", "class.k-calendar-centuryview": "this.getComponentCenturyClass", "attr.role": "this.role", "attr.tabindex": "this.tabindex" } }, usesOnChanges: true, ngImport: i0, template: `
|
|
2295
|
+
HorizontalViewListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: HorizontalViewListComponent, isStandalone: true, selector: "kendo-calendar-horizontal", inputs: { showOtherMonthDays: "showOtherMonthDays", cellTemplateRef: "cellTemplateRef", weekNumberTemplateRef: "weekNumberTemplateRef", allowReverse: "allowReverse", activeRangeEnd: "activeRangeEnd", activeView: "activeView", cellUID: "cellUID", focusedDate: "focusedDate", isActive: "isActive", min: "min", max: "max", selectionRange: "selectionRange", selectedDates: "selectedDates", views: "views", showViewHeader: "showViewHeader", animateNavigation: "animateNavigation", orientation: "orientation", activeDescendant: "activeDescendant", tabIndex: "tabIndex", disabled: "disabled", id: "id", weekDaysFormat: "weekDaysFormat", weekNumber: "weekNumber" }, outputs: { cellClick: "cellClick", weekNumberCellClick: "weekNumberCellClick", cellEnter: "cellEnter", cellLeave: "cellLeave", activeDateChange: "activeDateChange", focusCalendar: "focusCalendar", blurCalendar: "blurCalendar", focusedCellChange: "focusedCellChange" }, host: { listeners: { "focus": "handleMultiViewCalendarFocus()", "blur": "handleMultiViewCalendarBlur($event)" }, properties: { "class.k-calendar-view": "this.getComponentClass", "class.k-align-items-start": "this.getComponentClass", "class.k-justify-content-center": "this.getComponentClass", "class.k-hstack": "this.horizontalHostClass", "class.k-vstack": "this.verticalHostClass", "class.k-calendar-monthview": "this.getComponentMonthClass", "class.k-calendar-yearview": "this.getComponentYearClass", "class.k-calendar-decadeview": "this.getComponentDecadeClass", "class.k-calendar-centuryview": "this.getComponentCenturyClass", "attr.role": "this.role", "attr.tabindex": "this.tabindex" } }, usesOnChanges: true, ngImport: i0, template: `
|
|
2278
2296
|
<ng-template #tableTemplate let-date="date" let-class="className">
|
|
2279
2297
|
<table
|
|
2280
2298
|
[attr.role]="views >= 2 ? 'none' : 'grid'"
|
|
@@ -2357,7 +2375,7 @@ HorizontalViewListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.
|
|
|
2357
2375
|
}"
|
|
2358
2376
|
>
|
|
2359
2377
|
</ng-template>
|
|
2360
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
2378
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: ViewComponent, selector: "[kendoCalendarView]", inputs: ["allowReverse", "showOtherMonthDays", "direction", "isActive", "activeView", "cellUID", "focusedDate", "viewDate", "activeRangeEnd", "selectionRange", "min", "max", "selectedDates", "weekNumber", "viewIndex", "templateRef", "weekNumberTemplateRef", "headerTitle"], outputs: ["cellClick", "weekNumberCellClick", "cellEnter", "cellLeave", "focusedCellId"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: KForOf, selector: "[kFor][kForOf]", inputs: ["kForOf", "kForTrackBy", "kForTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2361
2379
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HorizontalViewListComponent, decorators: [{
|
|
2362
2380
|
type: Component,
|
|
2363
2381
|
args: [{
|
|
@@ -2446,7 +2464,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
2446
2464
|
}"
|
|
2447
2465
|
>
|
|
2448
2466
|
</ng-template>
|
|
2449
|
-
|
|
2467
|
+
`,
|
|
2468
|
+
standalone: true,
|
|
2469
|
+
imports: [NgClass, NgIf, NgFor, ViewComponent, NgTemplateOutlet, KForOf]
|
|
2450
2470
|
}]
|
|
2451
2471
|
}], ctorParameters: function () { return [{ type: BusViewService }, { type: i1.IntlService }, { type: WeekNamesService }, { type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.Renderer2 }]; }, propDecorators: { handleMultiViewCalendarFocus: [{
|
|
2452
2472
|
type: HostListener,
|
|
@@ -2658,7 +2678,7 @@ class HeaderComponent {
|
|
|
2658
2678
|
}
|
|
2659
2679
|
}
|
|
2660
2680
|
HeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HeaderComponent, deps: [{ token: BusViewService }, { token: i0.ChangeDetectorRef }, { token: i1$1.LocalizationService }, { token: i1.IntlService }, { token: DisabledDatesService }], target: i0.ɵɵFactoryTarget.Component });
|
|
2661
|
-
HeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: HeaderComponent, selector: "kendo-calendar-header", inputs: { activeView: "activeView", currentDate: "currentDate", min: "min", max: "max", rangeLength: "rangeLength", titleTemplateRef: "titleTemplateRef", headerTemplateRef: "headerTemplateRef", isPrevDisabled: "isPrevDisabled", isNextDisabled: "isNextDisabled", showNavigationButtons: "showNavigationButtons", orientation: "orientation", id: "id", size: "size" }, outputs: { todayButtonClick: "todayButtonClick", prevButtonClick: "prevButtonClick", nextButtonClick: "nextButtonClick" }, host: { properties: { "class.k-calendar-header": "this.getComponentClass", "class.k-vstack": "this.verticalHostClass" } }, usesOnChanges: true, ngImport: i0, template: `
|
|
2681
|
+
HeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: HeaderComponent, isStandalone: true, selector: "kendo-calendar-header", inputs: { activeView: "activeView", currentDate: "currentDate", min: "min", max: "max", rangeLength: "rangeLength", titleTemplateRef: "titleTemplateRef", headerTemplateRef: "headerTemplateRef", isPrevDisabled: "isPrevDisabled", isNextDisabled: "isNextDisabled", showNavigationButtons: "showNavigationButtons", orientation: "orientation", id: "id", size: "size" }, outputs: { todayButtonClick: "todayButtonClick", prevButtonClick: "prevButtonClick", nextButtonClick: "nextButtonClick" }, host: { properties: { "class.k-calendar-header": "this.getComponentClass", "class.k-vstack": "this.verticalHostClass" } }, usesOnChanges: true, ngImport: i0, template: `
|
|
2662
2682
|
<ng-template *ngIf="headerTemplateRef; else defaultRendering"
|
|
2663
2683
|
[ngTemplateOutlet]="headerTemplateRef"
|
|
2664
2684
|
[ngTemplateOutletContext]="{ title: title, activeView: activeViewValue, date: currentDate }">
|
|
@@ -2739,7 +2759,7 @@ HeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", versio
|
|
|
2739
2759
|
</button>
|
|
2740
2760
|
</span>
|
|
2741
2761
|
</ng-template>
|
|
2742
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
2762
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "directive", type: EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }] });
|
|
2743
2763
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HeaderComponent, decorators: [{
|
|
2744
2764
|
type: Component,
|
|
2745
2765
|
args: [{
|
|
@@ -2825,7 +2845,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
2825
2845
|
</button>
|
|
2826
2846
|
</span>
|
|
2827
2847
|
</ng-template>
|
|
2828
|
-
|
|
2848
|
+
`,
|
|
2849
|
+
standalone: true,
|
|
2850
|
+
imports: [NgIf, NgTemplateOutlet, ButtonComponent, EventsOutsideAngularDirective]
|
|
2829
2851
|
}]
|
|
2830
2852
|
}], ctorParameters: function () { return [{ type: BusViewService }, { type: i0.ChangeDetectorRef }, { type: i1$1.LocalizationService }, { type: i1.IntlService }, { type: DisabledDatesService }]; }, propDecorators: { activeView: [{
|
|
2831
2853
|
type: Input
|
|
@@ -2951,11 +2973,12 @@ class CellTemplateDirective {
|
|
|
2951
2973
|
}
|
|
2952
2974
|
}
|
|
2953
2975
|
CellTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CellTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2954
|
-
CellTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: CellTemplateDirective, selector: "[kendoCalendarCellTemplate]", ngImport: i0 });
|
|
2976
|
+
CellTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: CellTemplateDirective, isStandalone: true, selector: "[kendoCalendarCellTemplate]", ngImport: i0 });
|
|
2955
2977
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CellTemplateDirective, decorators: [{
|
|
2956
2978
|
type: Directive,
|
|
2957
2979
|
args: [{
|
|
2958
|
-
selector: '[kendoCalendarCellTemplate]'
|
|
2980
|
+
selector: '[kendoCalendarCellTemplate]',
|
|
2981
|
+
standalone: true
|
|
2959
2982
|
}]
|
|
2960
2983
|
}], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
|
|
2961
2984
|
|
|
@@ -2989,11 +3012,12 @@ class MonthCellTemplateDirective {
|
|
|
2989
3012
|
}
|
|
2990
3013
|
}
|
|
2991
3014
|
MonthCellTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MonthCellTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2992
|
-
MonthCellTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: MonthCellTemplateDirective, selector: "[kendoCalendarMonthCellTemplate]", ngImport: i0 });
|
|
3015
|
+
MonthCellTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: MonthCellTemplateDirective, isStandalone: true, selector: "[kendoCalendarMonthCellTemplate]", ngImport: i0 });
|
|
2993
3016
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MonthCellTemplateDirective, decorators: [{
|
|
2994
3017
|
type: Directive,
|
|
2995
3018
|
args: [{
|
|
2996
|
-
selector: '[kendoCalendarMonthCellTemplate]'
|
|
3019
|
+
selector: '[kendoCalendarMonthCellTemplate]',
|
|
3020
|
+
standalone: true
|
|
2997
3021
|
}]
|
|
2998
3022
|
}], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
|
|
2999
3023
|
|
|
@@ -3030,11 +3054,12 @@ class YearCellTemplateDirective {
|
|
|
3030
3054
|
}
|
|
3031
3055
|
}
|
|
3032
3056
|
YearCellTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: YearCellTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3033
|
-
YearCellTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: YearCellTemplateDirective, selector: "[kendoCalendarYearCellTemplate]", ngImport: i0 });
|
|
3057
|
+
YearCellTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: YearCellTemplateDirective, isStandalone: true, selector: "[kendoCalendarYearCellTemplate]", ngImport: i0 });
|
|
3034
3058
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: YearCellTemplateDirective, decorators: [{
|
|
3035
3059
|
type: Directive,
|
|
3036
3060
|
args: [{
|
|
3037
|
-
selector: '[kendoCalendarYearCellTemplate]'
|
|
3061
|
+
selector: '[kendoCalendarYearCellTemplate]',
|
|
3062
|
+
standalone: true
|
|
3038
3063
|
}]
|
|
3039
3064
|
}], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
|
|
3040
3065
|
|
|
@@ -3070,11 +3095,12 @@ class DecadeCellTemplateDirective {
|
|
|
3070
3095
|
}
|
|
3071
3096
|
}
|
|
3072
3097
|
DecadeCellTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DecadeCellTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3073
|
-
DecadeCellTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: DecadeCellTemplateDirective, selector: "[kendoCalendarDecadeCellTemplate]", ngImport: i0 });
|
|
3098
|
+
DecadeCellTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: DecadeCellTemplateDirective, isStandalone: true, selector: "[kendoCalendarDecadeCellTemplate]", ngImport: i0 });
|
|
3074
3099
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DecadeCellTemplateDirective, decorators: [{
|
|
3075
3100
|
type: Directive,
|
|
3076
3101
|
args: [{
|
|
3077
|
-
selector: '[kendoCalendarDecadeCellTemplate]'
|
|
3102
|
+
selector: '[kendoCalendarDecadeCellTemplate]',
|
|
3103
|
+
standalone: true
|
|
3078
3104
|
}]
|
|
3079
3105
|
}], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
|
|
3080
3106
|
|
|
@@ -3110,11 +3136,12 @@ class CenturyCellTemplateDirective {
|
|
|
3110
3136
|
}
|
|
3111
3137
|
}
|
|
3112
3138
|
CenturyCellTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CenturyCellTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3113
|
-
CenturyCellTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: CenturyCellTemplateDirective, selector: "[kendoCalendarCenturyCellTemplate]", ngImport: i0 });
|
|
3139
|
+
CenturyCellTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: CenturyCellTemplateDirective, isStandalone: true, selector: "[kendoCalendarCenturyCellTemplate]", ngImport: i0 });
|
|
3114
3140
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CenturyCellTemplateDirective, decorators: [{
|
|
3115
3141
|
type: Directive,
|
|
3116
3142
|
args: [{
|
|
3117
|
-
selector: '[kendoCalendarCenturyCellTemplate]'
|
|
3143
|
+
selector: '[kendoCalendarCenturyCellTemplate]',
|
|
3144
|
+
standalone: true
|
|
3118
3145
|
}]
|
|
3119
3146
|
}], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
|
|
3120
3147
|
|
|
@@ -3148,11 +3175,12 @@ class WeekNumberCellTemplateDirective {
|
|
|
3148
3175
|
}
|
|
3149
3176
|
}
|
|
3150
3177
|
WeekNumberCellTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WeekNumberCellTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3151
|
-
WeekNumberCellTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: WeekNumberCellTemplateDirective, selector: "[kendoCalendarWeekNumberCellTemplate]", ngImport: i0 });
|
|
3178
|
+
WeekNumberCellTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: WeekNumberCellTemplateDirective, isStandalone: true, selector: "[kendoCalendarWeekNumberCellTemplate]", ngImport: i0 });
|
|
3152
3179
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WeekNumberCellTemplateDirective, decorators: [{
|
|
3153
3180
|
type: Directive,
|
|
3154
3181
|
args: [{
|
|
3155
|
-
selector: '[kendoCalendarWeekNumberCellTemplate]'
|
|
3182
|
+
selector: '[kendoCalendarWeekNumberCellTemplate]',
|
|
3183
|
+
standalone: true
|
|
3156
3184
|
}]
|
|
3157
3185
|
}], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
|
|
3158
3186
|
|
|
@@ -3187,11 +3215,12 @@ class HeaderTitleTemplateDirective {
|
|
|
3187
3215
|
}
|
|
3188
3216
|
}
|
|
3189
3217
|
HeaderTitleTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HeaderTitleTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3190
|
-
HeaderTitleTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: HeaderTitleTemplateDirective, selector: "[kendoCalendarHeaderTitleTemplate]", ngImport: i0 });
|
|
3218
|
+
HeaderTitleTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: HeaderTitleTemplateDirective, isStandalone: true, selector: "[kendoCalendarHeaderTitleTemplate]", ngImport: i0 });
|
|
3191
3219
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HeaderTitleTemplateDirective, decorators: [{
|
|
3192
3220
|
type: Directive,
|
|
3193
3221
|
args: [{
|
|
3194
|
-
selector: '[kendoCalendarHeaderTitleTemplate]'
|
|
3222
|
+
selector: '[kendoCalendarHeaderTitleTemplate]',
|
|
3223
|
+
standalone: true
|
|
3195
3224
|
}]
|
|
3196
3225
|
}], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
|
|
3197
3226
|
|
|
@@ -3329,9 +3358,12 @@ class NavigationService {
|
|
|
3329
3358
|
}
|
|
3330
3359
|
}
|
|
3331
3360
|
NavigationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NavigationService, deps: [{ token: BusViewService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3332
|
-
NavigationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NavigationService });
|
|
3361
|
+
NavigationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NavigationService, providedIn: 'root' });
|
|
3333
3362
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NavigationService, decorators: [{
|
|
3334
|
-
type: Injectable
|
|
3363
|
+
type: Injectable,
|
|
3364
|
+
args: [{
|
|
3365
|
+
providedIn: 'root'
|
|
3366
|
+
}]
|
|
3335
3367
|
}], ctorParameters: function () { return [{ type: BusViewService }]; } });
|
|
3336
3368
|
|
|
3337
3369
|
/**
|
|
@@ -3365,11 +3397,12 @@ class HeaderTemplateDirective {
|
|
|
3365
3397
|
}
|
|
3366
3398
|
}
|
|
3367
3399
|
HeaderTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HeaderTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3368
|
-
HeaderTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: HeaderTemplateDirective, selector: "[kendoCalendarHeaderTemplate]", ngImport: i0 });
|
|
3400
|
+
HeaderTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: HeaderTemplateDirective, isStandalone: true, selector: "[kendoCalendarHeaderTemplate]", ngImport: i0 });
|
|
3369
3401
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HeaderTemplateDirective, decorators: [{
|
|
3370
3402
|
type: Directive,
|
|
3371
3403
|
args: [{
|
|
3372
|
-
selector: '[kendoCalendarHeaderTemplate]'
|
|
3404
|
+
selector: '[kendoCalendarHeaderTemplate]',
|
|
3405
|
+
standalone: true
|
|
3373
3406
|
}]
|
|
3374
3407
|
}], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
|
|
3375
3408
|
|
|
@@ -3403,11 +3436,12 @@ class FooterTemplateDirective {
|
|
|
3403
3436
|
}
|
|
3404
3437
|
}
|
|
3405
3438
|
FooterTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FooterTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3406
|
-
FooterTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: FooterTemplateDirective, selector: "[kendoCalendarFooterTemplate]", ngImport: i0 });
|
|
3439
|
+
FooterTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: FooterTemplateDirective, isStandalone: true, selector: "[kendoCalendarFooterTemplate]", ngImport: i0 });
|
|
3407
3440
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FooterTemplateDirective, decorators: [{
|
|
3408
3441
|
type: Directive,
|
|
3409
3442
|
args: [{
|
|
3410
|
-
selector: '[kendoCalendarFooterTemplate]'
|
|
3443
|
+
selector: '[kendoCalendarFooterTemplate]',
|
|
3444
|
+
standalone: true
|
|
3411
3445
|
}]
|
|
3412
3446
|
}], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
|
|
3413
3447
|
|
|
@@ -3422,7 +3456,7 @@ class FooterComponent {
|
|
|
3422
3456
|
}
|
|
3423
3457
|
}
|
|
3424
3458
|
FooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FooterComponent, deps: [{ token: i1.IntlService }], target: i0.ɵɵFactoryTarget.Component });
|
|
3425
|
-
FooterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: FooterComponent, selector: "kendo-calendar-footer", inputs: { footerTemplateRef: "footerTemplateRef", activeViewValue: "activeViewValue", currentDate: "currentDate" }, host: { properties: { "class.k-calendar-footer": "this.showFooter" } }, ngImport: i0, template: `
|
|
3459
|
+
FooterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: FooterComponent, isStandalone: true, selector: "kendo-calendar-footer", inputs: { footerTemplateRef: "footerTemplateRef", activeViewValue: "activeViewValue", currentDate: "currentDate" }, host: { properties: { "class.k-calendar-footer": "this.showFooter" } }, ngImport: i0, template: `
|
|
3426
3460
|
<ng-template *ngIf="footerTemplateRef; else defaultRendering"
|
|
3427
3461
|
[ngTemplateOutlet]="footerTemplateRef"
|
|
3428
3462
|
[ngTemplateOutletContext]="{ activeView: activeViewValue, date: currentDate }">
|
|
@@ -3437,7 +3471,7 @@ FooterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", versio
|
|
|
3437
3471
|
{{intl.formatDate(getToday(), 'D')}}
|
|
3438
3472
|
</button>
|
|
3439
3473
|
</ng-template>
|
|
3440
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
3474
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
|
|
3441
3475
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FooterComponent, decorators: [{
|
|
3442
3476
|
type: Component,
|
|
3443
3477
|
args: [{
|
|
@@ -3457,7 +3491,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
3457
3491
|
{{intl.formatDate(getToday(), 'D')}}
|
|
3458
3492
|
</button>
|
|
3459
3493
|
</ng-template>
|
|
3460
|
-
|
|
3494
|
+
`,
|
|
3495
|
+
standalone: true,
|
|
3496
|
+
imports: [NgIf, NgTemplateOutlet, ButtonComponent]
|
|
3461
3497
|
}]
|
|
3462
3498
|
}], ctorParameters: function () { return [{ type: i1.IntlService }]; }, propDecorators: { showFooter: [{
|
|
3463
3499
|
type: HostBinding,
|
|
@@ -3503,7 +3539,7 @@ class MultiViewCalendarLocalizedMessagesDirective extends Messages {
|
|
|
3503
3539
|
}
|
|
3504
3540
|
}
|
|
3505
3541
|
MultiViewCalendarLocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MultiViewCalendarLocalizedMessagesDirective, deps: [{ token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3506
|
-
MultiViewCalendarLocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: MultiViewCalendarLocalizedMessagesDirective, selector: "[kendoMultiViewCalendarLocalizedMessages]", providers: [
|
|
3542
|
+
MultiViewCalendarLocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: MultiViewCalendarLocalizedMessagesDirective, isStandalone: true, selector: "[kendoMultiViewCalendarLocalizedMessages]", providers: [
|
|
3507
3543
|
{
|
|
3508
3544
|
provide: Messages,
|
|
3509
3545
|
useExisting: forwardRef(() => MultiViewCalendarLocalizedMessagesDirective)
|
|
@@ -3518,7 +3554,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
3518
3554
|
useExisting: forwardRef(() => MultiViewCalendarLocalizedMessagesDirective)
|
|
3519
3555
|
}
|
|
3520
3556
|
],
|
|
3521
|
-
selector: '[kendoMultiViewCalendarLocalizedMessages]'
|
|
3557
|
+
selector: '[kendoMultiViewCalendarLocalizedMessages]',
|
|
3558
|
+
standalone: true
|
|
3522
3559
|
}]
|
|
3523
3560
|
}], ctorParameters: function () { return [{ type: i1$1.LocalizationService }]; } });
|
|
3524
3561
|
|
|
@@ -4578,7 +4615,7 @@ class MultiViewCalendarComponent {
|
|
|
4578
4615
|
}
|
|
4579
4616
|
}
|
|
4580
4617
|
MultiViewCalendarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MultiViewCalendarComponent, deps: [{ token: BusViewService }, { token: i0.ElementRef }, { token: NavigationService }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: DisabledDatesService }, { token: SelectionService }], target: i0.ɵɵFactoryTarget.Component });
|
|
4581
|
-
MultiViewCalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: MultiViewCalendarComponent, selector: "kendo-multiviewcalendar", inputs: { showOtherMonthDays: "showOtherMonthDays", showCalendarHeader: "showCalendarHeader", size: "size", id: "id", focusedDate: "focusedDate", footer: "footer", min: "min", max: "max", rangeValidation: "rangeValidation", disabledDatesRangeValidation: "disabledDatesRangeValidation", selection: "selection", allowReverse: "allowReverse", value: "value", disabled: "disabled", tabindex: "tabindex", tabIndex: "tabIndex", weekDaysFormat: "weekDaysFormat", isActive: "isActive", disabledDates: "disabledDates", activeView: "activeView", bottomView: "bottomView", topView: "topView", showViewHeader: "showViewHeader", animateNavigation: "animateNavigation", weekNumber: "weekNumber", activeRangeEnd: "activeRangeEnd", selectionRange: "selectionRange", views: "views", orientation: "orientation", cellTemplateRef: ["cellTemplate", "cellTemplateRef"], monthCellTemplateRef: ["monthCellTemplate", "monthCellTemplateRef"], yearCellTemplateRef: ["yearCellTemplate", "yearCellTemplateRef"], decadeCellTemplateRef: ["decadeCellTemplate", "decadeCellTemplateRef"], centuryCellTemplateRef: ["centuryCellTemplate", "centuryCellTemplateRef"], weekNumberTemplateRef: ["weekNumberTemplate", "weekNumberTemplateRef"], footerTemplateRef: ["footerTemplate", "footerTemplateRef"], headerTitleTemplateRef: ["headerTitleTemplate", "headerTitleTemplateRef"], headerTemplateRef: ["headerTemplate", "headerTemplateRef"] }, outputs: { activeViewChange: "activeViewChange", navigate: "navigate", cellEnter: "cellEnter", cellLeave: "cellLeave", valueChange: "valueChange", rangeSelectionChange: "rangeSelectionChange", blurEvent: "blur", focusEvent: "focus", focusCalendar: "focusCalendar", onClosePopup: "onClosePopup", onTabPress: "onTabPress", onShiftTabPress: "onShiftTabPress" }, host: { listeners: { "mouseenter": "handleMouseEnter()", "mouseleave": "handleMouseLeave()", "mousedown": "handleMousedown($event)", "click": "handleClick()", "keydown": "keydown($event)" }, properties: { "attr.id": "this.widgetId", "attr.aria-disabled": "this.ariaDisabled", "class.k-disabled": "this.ariaDisabled" } }, providers: [
|
|
4618
|
+
MultiViewCalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: MultiViewCalendarComponent, isStandalone: true, selector: "kendo-multiviewcalendar", inputs: { showOtherMonthDays: "showOtherMonthDays", showCalendarHeader: "showCalendarHeader", size: "size", id: "id", focusedDate: "focusedDate", footer: "footer", min: "min", max: "max", rangeValidation: "rangeValidation", disabledDatesRangeValidation: "disabledDatesRangeValidation", selection: "selection", allowReverse: "allowReverse", value: "value", disabled: "disabled", tabindex: "tabindex", tabIndex: "tabIndex", weekDaysFormat: "weekDaysFormat", isActive: "isActive", disabledDates: "disabledDates", activeView: "activeView", bottomView: "bottomView", topView: "topView", showViewHeader: "showViewHeader", animateNavigation: "animateNavigation", weekNumber: "weekNumber", activeRangeEnd: "activeRangeEnd", selectionRange: "selectionRange", views: "views", orientation: "orientation", cellTemplateRef: ["cellTemplate", "cellTemplateRef"], monthCellTemplateRef: ["monthCellTemplate", "monthCellTemplateRef"], yearCellTemplateRef: ["yearCellTemplate", "yearCellTemplateRef"], decadeCellTemplateRef: ["decadeCellTemplate", "decadeCellTemplateRef"], centuryCellTemplateRef: ["centuryCellTemplate", "centuryCellTemplateRef"], weekNumberTemplateRef: ["weekNumberTemplate", "weekNumberTemplateRef"], footerTemplateRef: ["footerTemplate", "footerTemplateRef"], headerTitleTemplateRef: ["headerTitleTemplate", "headerTitleTemplateRef"], headerTemplateRef: ["headerTemplate", "headerTemplateRef"] }, outputs: { activeViewChange: "activeViewChange", navigate: "navigate", cellEnter: "cellEnter", cellLeave: "cellLeave", valueChange: "valueChange", rangeSelectionChange: "rangeSelectionChange", blurEvent: "blur", focusEvent: "focus", focusCalendar: "focusCalendar", onClosePopup: "onClosePopup", onTabPress: "onTabPress", onShiftTabPress: "onShiftTabPress" }, host: { listeners: { "mouseenter": "handleMouseEnter()", "mouseleave": "handleMouseLeave()", "mousedown": "handleMousedown($event)", "click": "handleClick()", "keydown": "keydown($event)" }, properties: { "attr.id": "this.widgetId", "attr.aria-disabled": "this.ariaDisabled", "class.k-disabled": "this.ariaDisabled" } }, providers: [
|
|
4582
4619
|
BusViewService,
|
|
4583
4620
|
RANGE_CALENDAR_VALUE_ACCESSOR,
|
|
4584
4621
|
RANGE_CALENDAR_RANGE_VALIDATORS,
|
|
@@ -4665,7 +4702,7 @@ MultiViewCalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0
|
|
|
4665
4702
|
[activeViewValue]="activeView"
|
|
4666
4703
|
[currentDate]="activeDate">
|
|
4667
4704
|
</kendo-calendar-footer>
|
|
4668
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
4705
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: MultiViewCalendarLocalizedMessagesDirective, selector: "[kendoMultiViewCalendarLocalizedMessages]" }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: HeaderComponent, selector: "kendo-calendar-header", inputs: ["activeView", "currentDate", "min", "max", "rangeLength", "titleTemplateRef", "headerTemplateRef", "isPrevDisabled", "isNextDisabled", "showNavigationButtons", "orientation", "id", "size"], outputs: ["todayButtonClick", "prevButtonClick", "nextButtonClick"] }, { kind: "component", type: HorizontalViewListComponent, selector: "kendo-calendar-horizontal", inputs: ["showOtherMonthDays", "cellTemplateRef", "weekNumberTemplateRef", "allowReverse", "activeRangeEnd", "activeView", "cellUID", "focusedDate", "isActive", "min", "max", "selectionRange", "selectedDates", "views", "showViewHeader", "animateNavigation", "orientation", "activeDescendant", "tabIndex", "disabled", "id", "weekDaysFormat", "weekNumber"], outputs: ["cellClick", "weekNumberCellClick", "cellEnter", "cellLeave", "activeDateChange", "focusCalendar", "blurCalendar", "focusedCellChange"] }, { kind: "component", type: FooterComponent, selector: "kendo-calendar-footer", inputs: ["footerTemplateRef", "activeViewValue", "currentDate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
4669
4706
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MultiViewCalendarComponent, decorators: [{
|
|
4670
4707
|
type: Component,
|
|
4671
4708
|
args: [{
|
|
@@ -4760,7 +4797,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
4760
4797
|
[activeViewValue]="activeView"
|
|
4761
4798
|
[currentDate]="activeDate">
|
|
4762
4799
|
</kendo-calendar-footer>
|
|
4763
|
-
|
|
4800
|
+
`,
|
|
4801
|
+
standalone: true,
|
|
4802
|
+
imports: [MultiViewCalendarLocalizedMessagesDirective, NgIf, HeaderComponent, HorizontalViewListComponent, FooterComponent]
|
|
4764
4803
|
}]
|
|
4765
4804
|
}], ctorParameters: function () { return [{ type: BusViewService }, { type: i0.ElementRef }, { type: NavigationService }, { type: i0.Renderer2 }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: DisabledDatesService }, { type: SelectionService }]; }, propDecorators: { showOtherMonthDays: [{
|
|
4766
4805
|
type: Input
|
|
@@ -5316,7 +5355,7 @@ class VirtualizationComponent {
|
|
|
5316
5355
|
}
|
|
5317
5356
|
}
|
|
5318
5357
|
VirtualizationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: VirtualizationComponent, deps: [{ token: SCROLLER_FACTORY_TOKEN }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: i1$2.ScrollbarWidthService }], target: i0.ɵɵFactoryTarget.Component });
|
|
5319
|
-
VirtualizationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: VirtualizationComponent, selector: "kendo-virtualization", inputs: { direction: "direction", itemHeight: "itemHeight", itemWidth: "itemWidth", topOffset: "topOffset", bottomOffset: "bottomOffset", maxScrollDifference: "maxScrollDifference", scrollOffsetSize: "scrollOffsetSize", scrollDuration: "scrollDuration", skip: "skip", take: "take", total: "total" }, outputs: { activeIndexChange: "activeIndexChange", pageChange: "pageChange", scrollChange: "scrollChange" }, host: { properties: { "class.k-flex": "this.wrapperClasses", "class.k-content": "this.wrapperClasses", "class.k-scrollable": "this.wrapperClasses", "class.k-scrollable-horizontal": "this.horizontalClass" } }, providers: [{
|
|
5358
|
+
VirtualizationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: VirtualizationComponent, isStandalone: true, selector: "kendo-virtualization", inputs: { direction: "direction", itemHeight: "itemHeight", itemWidth: "itemWidth", topOffset: "topOffset", bottomOffset: "bottomOffset", maxScrollDifference: "maxScrollDifference", scrollOffsetSize: "scrollOffsetSize", scrollDuration: "scrollDuration", skip: "skip", take: "take", total: "total" }, outputs: { activeIndexChange: "activeIndexChange", pageChange: "pageChange", scrollChange: "scrollChange" }, host: { properties: { "class.k-flex": "this.wrapperClasses", "class.k-content": "this.wrapperClasses", "class.k-scrollable": "this.wrapperClasses", "class.k-scrollable-horizontal": "this.horizontalClass" } }, providers: [{
|
|
5320
5359
|
provide: SCROLLER_FACTORY_TOKEN,
|
|
5321
5360
|
useValue: DEFAULT_SCROLLER_FACTORY
|
|
5322
5361
|
}], usesOnChanges: true, ngImport: i0, template: `
|
|
@@ -5326,7 +5365,7 @@ VirtualizationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0"
|
|
|
5326
5365
|
[class.k-scrollable-horizontal-placeholder]="direction === 'horizontal'"
|
|
5327
5366
|
[ngStyle]="totalVertexLength"
|
|
5328
5367
|
></div>
|
|
5329
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
5368
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] });
|
|
5330
5369
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: VirtualizationComponent, decorators: [{
|
|
5331
5370
|
type: Component,
|
|
5332
5371
|
args: [{
|
|
@@ -5342,7 +5381,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
5342
5381
|
[class.k-scrollable-horizontal-placeholder]="direction === 'horizontal'"
|
|
5343
5382
|
[ngStyle]="totalVertexLength"
|
|
5344
5383
|
></div>
|
|
5345
|
-
|
|
5384
|
+
`,
|
|
5385
|
+
standalone: true,
|
|
5386
|
+
imports: [NgStyle]
|
|
5346
5387
|
}]
|
|
5347
5388
|
}], ctorParameters: function () {
|
|
5348
5389
|
return [{ type: undefined, decorators: [{
|
|
@@ -5551,9 +5592,12 @@ class CalendarDOMService {
|
|
|
5551
5592
|
}
|
|
5552
5593
|
}
|
|
5553
5594
|
CalendarDOMService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CalendarDOMService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5554
|
-
CalendarDOMService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CalendarDOMService });
|
|
5595
|
+
CalendarDOMService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CalendarDOMService, providedIn: 'root' });
|
|
5555
5596
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CalendarDOMService, decorators: [{
|
|
5556
|
-
type: Injectable
|
|
5597
|
+
type: Injectable,
|
|
5598
|
+
args: [{
|
|
5599
|
+
providedIn: 'root'
|
|
5600
|
+
}]
|
|
5557
5601
|
}] });
|
|
5558
5602
|
|
|
5559
5603
|
/* eslint-disable @angular-eslint/component-selector */
|
|
@@ -5654,7 +5698,7 @@ class NavigationComponent {
|
|
|
5654
5698
|
}
|
|
5655
5699
|
}
|
|
5656
5700
|
NavigationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NavigationComponent, deps: [{ token: BusViewService }, { token: CalendarDOMService }, { token: i1.IntlService }, { token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
5657
|
-
NavigationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: NavigationComponent, selector: "kendo-calendar-navigation", inputs: { activeView: "activeView", min: "min", max: "max", focusedDate: "focusedDate", templateRef: "templateRef" }, outputs: { valueChange: "valueChange", pageChange: "pageChange" }, host: { properties: { "class.k-calendar-navigation": "this.getComponentClass" } }, viewQueries: [{ propertyName: "virtualization", first: true, predicate: VirtualizationComponent, descendants: true }, { propertyName: "list", first: true, predicate: ["list"], descendants: true, static: true }], usesOnChanges: true, ngImport: i0, template: `
|
|
5701
|
+
NavigationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: NavigationComponent, isStandalone: true, selector: "kendo-calendar-navigation", inputs: { activeView: "activeView", min: "min", max: "max", focusedDate: "focusedDate", templateRef: "templateRef" }, outputs: { valueChange: "valueChange", pageChange: "pageChange" }, host: { properties: { "class.k-calendar-navigation": "this.getComponentClass" } }, viewQueries: [{ propertyName: "virtualization", first: true, predicate: VirtualizationComponent, descendants: true }, { propertyName: "list", first: true, predicate: ["list"], descendants: true, static: true }], usesOnChanges: true, ngImport: i0, template: `
|
|
5658
5702
|
<span class="k-calendar-navigation-highlight"></span>
|
|
5659
5703
|
<kendo-virtualization
|
|
5660
5704
|
[skip]="skip"
|
|
@@ -5680,7 +5724,7 @@ NavigationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ve
|
|
|
5680
5724
|
</li>
|
|
5681
5725
|
</ul>
|
|
5682
5726
|
</kendo-virtualization>
|
|
5683
|
-
`, isInline: true, dependencies: [{ kind: "
|
|
5727
|
+
`, isInline: true, dependencies: [{ kind: "component", type: VirtualizationComponent, selector: "kendo-virtualization", inputs: ["direction", "itemHeight", "itemWidth", "topOffset", "bottomOffset", "maxScrollDifference", "scrollOffsetSize", "scrollDuration", "skip", "take", "total"], outputs: ["activeIndexChange", "pageChange", "scrollChange"] }, { kind: "directive", type: EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { kind: "directive", type: KForOf, selector: "[kFor][kForOf]", inputs: ["kForOf", "kForTrackBy", "kForTemplate"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
5684
5728
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NavigationComponent, decorators: [{
|
|
5685
5729
|
type: Component,
|
|
5686
5730
|
args: [{
|
|
@@ -5712,7 +5756,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
5712
5756
|
</li>
|
|
5713
5757
|
</ul>
|
|
5714
5758
|
</kendo-virtualization>
|
|
5715
|
-
|
|
5759
|
+
`,
|
|
5760
|
+
standalone: true,
|
|
5761
|
+
imports: [VirtualizationComponent, EventsOutsideAngularDirective, KForOf, NgIf, NgTemplateOutlet]
|
|
5716
5762
|
}]
|
|
5717
5763
|
}], ctorParameters: function () { return [{ type: BusViewService }, { type: CalendarDOMService }, { type: i1.IntlService }, { type: i0.ChangeDetectorRef }, { type: i0.Renderer2 }]; }, propDecorators: { activeView: [{
|
|
5718
5764
|
type: Input
|
|
@@ -5915,7 +5961,7 @@ class ViewListComponent {
|
|
|
5915
5961
|
}
|
|
5916
5962
|
}
|
|
5917
5963
|
ViewListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ViewListComponent, deps: [{ token: BusViewService }, { token: i0.ChangeDetectorRef }, { token: i1.IntlService }, { token: CalendarDOMService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
5918
|
-
ViewListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ViewListComponent, selector: "kendo-calendar-viewlist", inputs: { allowReverse: "allowReverse", cellTemplateRef: "cellTemplateRef", weekNumberTemplateRef: "weekNumberTemplateRef", headerTitleTemplateRef: "headerTitleTemplateRef", headerTemplateRef: "headerTemplateRef", footerTemplateRef: "footerTemplateRef", showOtherMonthDays: "showOtherMonthDays", activeView: "activeView", cellUID: "cellUID", focusedDate: "focusedDate", isActive: "isActive", min: "min", max: "max", selectedDates: "selectedDates", tabIndex: "tabIndex", disabled: "disabled", id: "id", showFooter: "showFooter", weekDaysFormat: "weekDaysFormat", activeRangeEnd: "activeRangeEnd", selectionRange: "selectionRange", size: "size", weekNumber: "weekNumber" }, outputs: { cellEnter: "cellEnter", cellClick: "cellClick", weekNumberCellClick: "weekNumberCellClick", activeDateChange: "activeDateChange", todayButtonClick: "todayButtonClick", pageChange: "pageChange", focusCalendar: "focusCalendar", blurCalendar: "blurCalendar", focusedCellChange: "focusedCellChange" }, host: { properties: { "class.k-vstack": "this.getComponentClass", "class.k-calendar-view": "this.getComponentClass", "class.k-calendar-monthview": "this.getComponentMonthClass", "class.k-calendar-yearview": "this.getComponentYearClass", "class.k-calendar-decadeview": "this.getComponentDecadeClass", "class.k-calendar-centuryview": "this.getComponentCenturyClass" } }, viewQueries: [{ propertyName: "virtualization", first: true, predicate: VirtualizationComponent, descendants: true }, { propertyName: "headerComponent", first: true, predicate: HeaderComponent, descendants: true }, { propertyName: "list", first: true, predicate: ["list"], descendants: true, static: true }], usesOnChanges: true, ngImport: i0, template: `
|
|
5964
|
+
ViewListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ViewListComponent, isStandalone: true, selector: "kendo-calendar-viewlist", inputs: { allowReverse: "allowReverse", cellTemplateRef: "cellTemplateRef", weekNumberTemplateRef: "weekNumberTemplateRef", headerTitleTemplateRef: "headerTitleTemplateRef", headerTemplateRef: "headerTemplateRef", footerTemplateRef: "footerTemplateRef", showOtherMonthDays: "showOtherMonthDays", activeView: "activeView", cellUID: "cellUID", focusedDate: "focusedDate", isActive: "isActive", min: "min", max: "max", selectedDates: "selectedDates", tabIndex: "tabIndex", disabled: "disabled", id: "id", showFooter: "showFooter", weekDaysFormat: "weekDaysFormat", activeRangeEnd: "activeRangeEnd", selectionRange: "selectionRange", size: "size", weekNumber: "weekNumber" }, outputs: { cellEnter: "cellEnter", cellClick: "cellClick", weekNumberCellClick: "weekNumberCellClick", activeDateChange: "activeDateChange", todayButtonClick: "todayButtonClick", pageChange: "pageChange", focusCalendar: "focusCalendar", blurCalendar: "blurCalendar", focusedCellChange: "focusedCellChange" }, host: { properties: { "class.k-vstack": "this.getComponentClass", "class.k-calendar-view": "this.getComponentClass", "class.k-calendar-monthview": "this.getComponentMonthClass", "class.k-calendar-yearview": "this.getComponentYearClass", "class.k-calendar-decadeview": "this.getComponentDecadeClass", "class.k-calendar-centuryview": "this.getComponentCenturyClass" } }, viewQueries: [{ propertyName: "virtualization", first: true, predicate: VirtualizationComponent, descendants: true }, { propertyName: "headerComponent", first: true, predicate: HeaderComponent, descendants: true }, { propertyName: "list", first: true, predicate: ["list"], descendants: true, static: true }], usesOnChanges: true, ngImport: i0, template: `
|
|
5919
5965
|
<kendo-calendar-header
|
|
5920
5966
|
[currentDate]="activeDate"
|
|
5921
5967
|
[size]="size"
|
|
@@ -5992,7 +6038,7 @@ ViewListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", vers
|
|
|
5992
6038
|
[activeViewValue]="activeViewValue"
|
|
5993
6039
|
[currentDate]="activeDate">
|
|
5994
6040
|
</kendo-calendar-footer>
|
|
5995
|
-
`, isInline: true, dependencies: [{ kind: "
|
|
6041
|
+
`, isInline: true, dependencies: [{ kind: "component", type: HeaderComponent, selector: "kendo-calendar-header", inputs: ["activeView", "currentDate", "min", "max", "rangeLength", "titleTemplateRef", "headerTemplateRef", "isPrevDisabled", "isNextDisabled", "showNavigationButtons", "orientation", "id", "size"], outputs: ["todayButtonClick", "prevButtonClick", "nextButtonClick"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: VirtualizationComponent, selector: "kendo-virtualization", inputs: ["direction", "itemHeight", "itemWidth", "topOffset", "bottomOffset", "maxScrollDifference", "scrollOffsetSize", "scrollDuration", "skip", "take", "total"], outputs: ["activeIndexChange", "pageChange", "scrollChange"] }, { kind: "directive", type: KForOf, selector: "[kFor][kForOf]", inputs: ["kForOf", "kForTrackBy", "kForTemplate"] }, { kind: "component", type: ViewComponent, selector: "[kendoCalendarView]", inputs: ["allowReverse", "showOtherMonthDays", "direction", "isActive", "activeView", "cellUID", "focusedDate", "viewDate", "activeRangeEnd", "selectionRange", "min", "max", "selectedDates", "weekNumber", "viewIndex", "templateRef", "weekNumberTemplateRef", "headerTitle"], outputs: ["cellClick", "weekNumberCellClick", "cellEnter", "cellLeave", "focusedCellId"] }, { kind: "component", type: FooterComponent, selector: "kendo-calendar-footer", inputs: ["footerTemplateRef", "activeViewValue", "currentDate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
5996
6042
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ViewListComponent, decorators: [{
|
|
5997
6043
|
type: Component,
|
|
5998
6044
|
args: [{
|
|
@@ -6075,7 +6121,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
6075
6121
|
[activeViewValue]="activeViewValue"
|
|
6076
6122
|
[currentDate]="activeDate">
|
|
6077
6123
|
</kendo-calendar-footer>
|
|
6078
|
-
|
|
6124
|
+
`,
|
|
6125
|
+
standalone: true,
|
|
6126
|
+
imports: [HeaderComponent, NgIf, NgFor, VirtualizationComponent, KForOf, ViewComponent, FooterComponent]
|
|
6079
6127
|
}]
|
|
6080
6128
|
}], ctorParameters: function () { return [{ type: BusViewService }, { type: i0.ChangeDetectorRef }, { type: i1.IntlService }, { type: CalendarDOMService }, { type: i0.Renderer2 }]; }, propDecorators: { allowReverse: [{
|
|
6081
6129
|
type: Input
|
|
@@ -6275,26 +6323,15 @@ class NavigationItemTemplateDirective {
|
|
|
6275
6323
|
}
|
|
6276
6324
|
}
|
|
6277
6325
|
NavigationItemTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NavigationItemTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
6278
|
-
NavigationItemTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: NavigationItemTemplateDirective, selector: "[kendoCalendarNavigationItemTemplate]", ngImport: i0 });
|
|
6326
|
+
NavigationItemTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: NavigationItemTemplateDirective, isStandalone: true, selector: "[kendoCalendarNavigationItemTemplate]", ngImport: i0 });
|
|
6279
6327
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NavigationItemTemplateDirective, decorators: [{
|
|
6280
6328
|
type: Directive,
|
|
6281
6329
|
args: [{
|
|
6282
|
-
selector: '[kendoCalendarNavigationItemTemplate]'
|
|
6330
|
+
selector: '[kendoCalendarNavigationItemTemplate]',
|
|
6331
|
+
standalone: true
|
|
6283
6332
|
}]
|
|
6284
6333
|
}], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
|
|
6285
6334
|
|
|
6286
|
-
/**
|
|
6287
|
-
* @hidden
|
|
6288
|
-
*/
|
|
6289
|
-
class PickerService {
|
|
6290
|
-
constructor() {
|
|
6291
|
-
this.onFocus = new EventEmitter();
|
|
6292
|
-
this.onBlur = new EventEmitter();
|
|
6293
|
-
this.sameDateSelected = new EventEmitter();
|
|
6294
|
-
this.dateCompletenessChange = new EventEmitter();
|
|
6295
|
-
}
|
|
6296
|
-
}
|
|
6297
|
-
|
|
6298
6335
|
/**
|
|
6299
6336
|
* Custom component messages override default component messages ([see example]({% slug globalization_dateinputs %}#toc-custom-messages)).
|
|
6300
6337
|
*/
|
|
@@ -6308,7 +6345,7 @@ class MultiViewCalendarCustomMessagesComponent extends Messages {
|
|
|
6308
6345
|
}
|
|
6309
6346
|
}
|
|
6310
6347
|
MultiViewCalendarCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MultiViewCalendarCustomMessagesComponent, deps: [{ token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
6311
|
-
MultiViewCalendarCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: MultiViewCalendarCustomMessagesComponent, selector: "kendo-multiviewcalendar-messages", providers: [
|
|
6348
|
+
MultiViewCalendarCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: MultiViewCalendarCustomMessagesComponent, isStandalone: true, selector: "kendo-multiviewcalendar-messages", providers: [
|
|
6312
6349
|
{
|
|
6313
6350
|
provide: Messages,
|
|
6314
6351
|
useExisting: forwardRef(() => MultiViewCalendarCustomMessagesComponent)
|
|
@@ -6324,7 +6361,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
6324
6361
|
}
|
|
6325
6362
|
],
|
|
6326
6363
|
selector: 'kendo-multiviewcalendar-messages',
|
|
6327
|
-
template:
|
|
6364
|
+
template: ``,
|
|
6365
|
+
standalone: true
|
|
6328
6366
|
}]
|
|
6329
6367
|
}], ctorParameters: function () { return [{ type: i1$1.LocalizationService }]; } });
|
|
6330
6368
|
|
|
@@ -6361,7 +6399,7 @@ class CalendarLocalizedMessagesDirective extends CalendarMessages {
|
|
|
6361
6399
|
}
|
|
6362
6400
|
}
|
|
6363
6401
|
CalendarLocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CalendarLocalizedMessagesDirective, deps: [{ token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
6364
|
-
CalendarLocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: CalendarLocalizedMessagesDirective, selector: "[kendoCalendarLocalizedMessages]", providers: [
|
|
6402
|
+
CalendarLocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: CalendarLocalizedMessagesDirective, isStandalone: true, selector: "[kendoCalendarLocalizedMessages]", providers: [
|
|
6365
6403
|
{
|
|
6366
6404
|
provide: CalendarMessages,
|
|
6367
6405
|
useExisting: forwardRef(() => CalendarLocalizedMessagesDirective)
|
|
@@ -6376,10 +6414,23 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
6376
6414
|
useExisting: forwardRef(() => CalendarLocalizedMessagesDirective)
|
|
6377
6415
|
}
|
|
6378
6416
|
],
|
|
6379
|
-
selector: '[kendoCalendarLocalizedMessages]'
|
|
6417
|
+
selector: '[kendoCalendarLocalizedMessages]',
|
|
6418
|
+
standalone: true
|
|
6380
6419
|
}]
|
|
6381
6420
|
}], ctorParameters: function () { return [{ type: i1$1.LocalizationService }]; } });
|
|
6382
6421
|
|
|
6422
|
+
/**
|
|
6423
|
+
* @hidden
|
|
6424
|
+
*/
|
|
6425
|
+
class PickerService {
|
|
6426
|
+
constructor() {
|
|
6427
|
+
this.onFocus = new EventEmitter();
|
|
6428
|
+
this.onBlur = new EventEmitter();
|
|
6429
|
+
this.sameDateSelected = new EventEmitter();
|
|
6430
|
+
this.dateCompletenessChange = new EventEmitter();
|
|
6431
|
+
}
|
|
6432
|
+
}
|
|
6433
|
+
|
|
6383
6434
|
const BOTTOM_VIEW_DOC_LINK = 'http://www.telerik.com/kendo-angular-ui/components/dateinputs/api/CalendarComponent/#toc-bottomview';
|
|
6384
6435
|
const TOP_VIEW_DOC_LINK = 'http://www.telerik.com/kendo-angular-ui/components/dateinputs/api/CalendarComponent/#toc-topview';
|
|
6385
6436
|
const MIN_DOC_LINK$2 = 'http://www.telerik.com/kendo-angular-ui/components/dateinputs/api/CalendarComponent/#toc-min';
|
|
@@ -7518,7 +7569,7 @@ class CalendarComponent {
|
|
|
7518
7569
|
}
|
|
7519
7570
|
}
|
|
7520
7571
|
CalendarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CalendarComponent, deps: [{ token: BusViewService }, { token: CalendarDOMService }, { token: i0.ElementRef }, { token: NavigationService }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: i0.Injector }, { token: ScrollSyncService }, { token: DisabledDatesService }, { token: i1$1.LocalizationService }, { token: SelectionService }, { token: PickerService, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
7521
|
-
CalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: CalendarComponent, selector: "kendo-calendar", inputs: { showOtherMonthDays: "showOtherMonthDays", id: "id", focusedDate: "focusedDate", min: "min", max: "max", rangeValidation: "rangeValidation", weekDaysFormat: "weekDaysFormat", footer: "footer", selection: "selection", allowReverse: "allowReverse", value: "value", disabled: "disabled", tabindex: "tabindex", tabIndex: "tabIndex", disabledDates: "disabledDates", navigation: "navigation", activeView: "activeView", bottomView: "bottomView", topView: "topView", type: "type", animateNavigation: "animateNavigation", weekNumber: "weekNumber", cellTemplateRef: ["cellTemplate", "cellTemplateRef"], monthCellTemplateRef: ["monthCellTemplate", "monthCellTemplateRef"], yearCellTemplateRef: ["yearCellTemplate", "yearCellTemplateRef"], decadeCellTemplateRef: ["decadeCellTemplate", "decadeCellTemplateRef"], centuryCellTemplateRef: ["centuryCellTemplate", "centuryCellTemplateRef"], weekNumberTemplateRef: ["weekNumberTemplate", "weekNumberTemplateRef"], headerTitleTemplateRef: ["headerTitleTemplate", "headerTitleTemplateRef"], headerTemplateRef: ["headerTemplate", "headerTemplateRef"], footerTemplateRef: ["footerTemplate", "footerTemplateRef"], navigationItemTemplateRef: ["navigationItemTemplate", "navigationItemTemplateRef"], size: "size", activeRangeEnd: "activeRangeEnd" }, outputs: { activeViewChange: "activeViewChange", navigate: "navigate", activeViewDateChange: "activeViewDateChange", onBlur: "blur", onFocus: "focus", valueChange: "valueChange" }, host: { properties: { "class.k-week-number": "this.weekNumber", "attr.id": "this.widgetId", "attr.aria-disabled": "this.ariaDisabled", "class.k-disabled": "this.ariaDisabled" } }, providers: [
|
|
7572
|
+
CalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: CalendarComponent, isStandalone: true, selector: "kendo-calendar", inputs: { showOtherMonthDays: "showOtherMonthDays", id: "id", focusedDate: "focusedDate", min: "min", max: "max", rangeValidation: "rangeValidation", weekDaysFormat: "weekDaysFormat", footer: "footer", selection: "selection", allowReverse: "allowReverse", value: "value", disabled: "disabled", tabindex: "tabindex", tabIndex: "tabIndex", disabledDates: "disabledDates", navigation: "navigation", activeView: "activeView", bottomView: "bottomView", topView: "topView", type: "type", animateNavigation: "animateNavigation", weekNumber: "weekNumber", cellTemplateRef: ["cellTemplate", "cellTemplateRef"], monthCellTemplateRef: ["monthCellTemplate", "monthCellTemplateRef"], yearCellTemplateRef: ["yearCellTemplate", "yearCellTemplateRef"], decadeCellTemplateRef: ["decadeCellTemplate", "decadeCellTemplateRef"], centuryCellTemplateRef: ["centuryCellTemplate", "centuryCellTemplateRef"], weekNumberTemplateRef: ["weekNumberTemplate", "weekNumberTemplateRef"], headerTitleTemplateRef: ["headerTitleTemplate", "headerTitleTemplateRef"], headerTemplateRef: ["headerTemplate", "headerTemplateRef"], footerTemplateRef: ["footerTemplate", "footerTemplateRef"], navigationItemTemplateRef: ["navigationItemTemplate", "navigationItemTemplateRef"], size: "size", activeRangeEnd: "activeRangeEnd" }, outputs: { activeViewChange: "activeViewChange", navigate: "navigate", activeViewDateChange: "activeViewDateChange", onBlur: "blur", onFocus: "focus", valueChange: "valueChange" }, host: { properties: { "class.k-week-number": "this.weekNumber", "attr.id": "this.widgetId", "attr.aria-disabled": "this.ariaDisabled", "class.k-disabled": "this.ariaDisabled" } }, providers: [
|
|
7522
7573
|
BusViewService,
|
|
7523
7574
|
CALENDAR_VALUE_ACCESSOR,
|
|
7524
7575
|
CALENDAR_RANGE_VALIDATORS,
|
|
@@ -7650,7 +7701,7 @@ CalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", vers
|
|
|
7650
7701
|
</kendo-multiviewcalendar-messages>
|
|
7651
7702
|
</kendo-multiviewcalendar>
|
|
7652
7703
|
</ng-container>
|
|
7653
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
7704
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: CalendarLocalizedMessagesDirective, selector: "[kendoCalendarLocalizedMessages]" }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: NavigationComponent, selector: "kendo-calendar-navigation", inputs: ["activeView", "min", "max", "focusedDate", "templateRef"], outputs: ["valueChange", "pageChange"] }, { kind: "component", type: ViewListComponent, selector: "kendo-calendar-viewlist", inputs: ["allowReverse", "cellTemplateRef", "weekNumberTemplateRef", "headerTitleTemplateRef", "headerTemplateRef", "footerTemplateRef", "showOtherMonthDays", "activeView", "cellUID", "focusedDate", "isActive", "min", "max", "selectedDates", "tabIndex", "disabled", "id", "showFooter", "weekDaysFormat", "activeRangeEnd", "selectionRange", "size", "weekNumber"], outputs: ["cellEnter", "cellClick", "weekNumberCellClick", "activeDateChange", "todayButtonClick", "pageChange", "focusCalendar", "blurCalendar", "focusedCellChange"] }, { kind: "component", type: ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { kind: "component", type: MultiViewCalendarComponent, selector: "kendo-multiviewcalendar", inputs: ["showOtherMonthDays", "showCalendarHeader", "size", "id", "focusedDate", "footer", "min", "max", "rangeValidation", "disabledDatesRangeValidation", "selection", "allowReverse", "value", "disabled", "tabindex", "tabIndex", "weekDaysFormat", "isActive", "disabledDates", "activeView", "bottomView", "topView", "showViewHeader", "animateNavigation", "weekNumber", "activeRangeEnd", "selectionRange", "views", "orientation", "cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "footerTemplate", "headerTitleTemplate", "headerTemplate"], outputs: ["activeViewChange", "navigate", "cellEnter", "cellLeave", "valueChange", "rangeSelectionChange", "blur", "focus", "focusCalendar", "onClosePopup", "onTabPress", "onShiftTabPress"], exportAs: ["kendo-multiviewcalendar"] }, { kind: "component", type: MultiViewCalendarCustomMessagesComponent, selector: "kendo-multiviewcalendar-messages" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
7654
7705
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CalendarComponent, decorators: [{
|
|
7655
7706
|
type: Component,
|
|
7656
7707
|
args: [{
|
|
@@ -7790,7 +7841,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
7790
7841
|
</kendo-multiviewcalendar-messages>
|
|
7791
7842
|
</kendo-multiviewcalendar>
|
|
7792
7843
|
</ng-container>
|
|
7793
|
-
|
|
7844
|
+
`,
|
|
7845
|
+
standalone: true,
|
|
7846
|
+
imports: [CalendarLocalizedMessagesDirective, NgIf, NavigationComponent, ViewListComponent, ResizeSensorComponent, MultiViewCalendarComponent, MultiViewCalendarCustomMessagesComponent]
|
|
7794
7847
|
}]
|
|
7795
7848
|
}], ctorParameters: function () {
|
|
7796
7849
|
return [{ type: BusViewService }, { type: CalendarDOMService }, { type: i0.ElementRef }, { type: NavigationService }, { type: i0.Renderer2 }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: i0.Injector }, { type: ScrollSyncService }, { type: DisabledDatesService }, { type: i1$1.LocalizationService }, { type: SelectionService }, { type: PickerService, decorators: [{
|
|
@@ -7996,7 +8049,7 @@ class DateInputLocalizedMessagesDirective extends DateInputMessages {
|
|
|
7996
8049
|
}
|
|
7997
8050
|
}
|
|
7998
8051
|
DateInputLocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateInputLocalizedMessagesDirective, deps: [{ token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
7999
|
-
DateInputLocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: DateInputLocalizedMessagesDirective, selector: "[kendoDateInputLocalizedMessages]", providers: [
|
|
8052
|
+
DateInputLocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: DateInputLocalizedMessagesDirective, isStandalone: true, selector: "[kendoDateInputLocalizedMessages]", providers: [
|
|
8000
8053
|
{
|
|
8001
8054
|
provide: DateInputMessages,
|
|
8002
8055
|
useExisting: forwardRef(() => DateInputLocalizedMessagesDirective)
|
|
@@ -8011,7 +8064,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
8011
8064
|
useExisting: forwardRef(() => DateInputLocalizedMessagesDirective)
|
|
8012
8065
|
}
|
|
8013
8066
|
],
|
|
8014
|
-
selector: '[kendoDateInputLocalizedMessages]'
|
|
8067
|
+
selector: '[kendoDateInputLocalizedMessages]',
|
|
8068
|
+
standalone: true
|
|
8015
8069
|
}]
|
|
8016
8070
|
}], ctorParameters: function () { return [{ type: i1$1.LocalizationService }]; } });
|
|
8017
8071
|
|
|
@@ -8167,10 +8221,7 @@ class DateInputComponent {
|
|
|
8167
8221
|
*/
|
|
8168
8222
|
this.rangeValidation = true;
|
|
8169
8223
|
/**
|
|
8170
|
-
*
|
|
8171
|
-
*
|
|
8172
|
-
* Determines whether to auto correct invalid segments automatically.
|
|
8173
|
-
* TODO: To be fixed in common package before enabling: https://github.com/telerik/kendo-dateinputs-common/issues/24
|
|
8224
|
+
* Determines whether to autocorrect invalid segments automatically.
|
|
8174
8225
|
*
|
|
8175
8226
|
* @default true
|
|
8176
8227
|
*/
|
|
@@ -8602,7 +8653,7 @@ class DateInputComponent {
|
|
|
8602
8653
|
(_a = this.kendoDate) === null || _a === void 0 ? void 0 : _a.setOptions(this.options, true);
|
|
8603
8654
|
this.updateFormatSections();
|
|
8604
8655
|
}
|
|
8605
|
-
if (anyChanged(['enableMouseWheel', 'autoFill', 'autoSwitchParts', 'autoSwitchKeys', 'twoDigitYearMax', 'allowCaretMode'], changes)) {
|
|
8656
|
+
if (anyChanged(['enableMouseWheel', 'autoFill', 'autoSwitchParts', 'autoSwitchKeys', 'twoDigitYearMax', 'allowCaretMode', 'autoCorrectParts'], changes)) {
|
|
8606
8657
|
if (!this.kendoDate) {
|
|
8607
8658
|
return;
|
|
8608
8659
|
}
|
|
@@ -8880,7 +8931,7 @@ class DateInputComponent {
|
|
|
8880
8931
|
}
|
|
8881
8932
|
}
|
|
8882
8933
|
DateInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateInputComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1.IntlService }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Injector }, { token: i1$1.LocalizationService }, { token: PickerService, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
8883
|
-
DateInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: DateInputComponent, selector: "kendo-dateinput", inputs: { focusableId: "focusableId", pickerType: "pickerType", clearButton: "clearButton", disabled: "disabled", readonly: "readonly", title: "title", tabindex: "tabindex", role: "role", ariaReadOnly: "ariaReadOnly", tabIndex: "tabIndex", isRequired: "isRequired", format: "format", formatPlaceholder: "formatPlaceholder", placeholder: "placeholder", steps: "steps", max: "max", min: "min", rangeValidation: "rangeValidation", autoCorrectParts: "autoCorrectParts", autoSwitchParts: "autoSwitchParts", autoSwitchKeys: "autoSwitchKeys", allowCaretMode: "allowCaretMode", autoFill: "autoFill", incompleteDateValidation: "incompleteDateValidation", twoDigitYearMax: "twoDigitYearMax", enableMouseWheel: "enableMouseWheel", value: "value", spinners: "spinners", isPopupOpen: "isPopupOpen", hasPopup: "hasPopup", size: "size", rounded: "rounded", fillMode: "fillMode", inputAttributes: "inputAttributes" }, outputs: { valueChange: "valueChange", valueUpdate: "valueUpdate", onFocus: "focus", onBlur: "blur" }, host: { properties: { "class.k-readonly": "this.readonly", "class.k-input": "this.wrapperClass", "class.k-dateinput": "this.wrapperClass", "class.k-disabled": "this.disabledClass" } }, providers: [
|
|
8934
|
+
DateInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: DateInputComponent, isStandalone: true, selector: "kendo-dateinput", inputs: { focusableId: "focusableId", pickerType: "pickerType", clearButton: "clearButton", disabled: "disabled", readonly: "readonly", title: "title", tabindex: "tabindex", role: "role", ariaReadOnly: "ariaReadOnly", tabIndex: "tabIndex", isRequired: "isRequired", format: "format", formatPlaceholder: "formatPlaceholder", placeholder: "placeholder", steps: "steps", max: "max", min: "min", rangeValidation: "rangeValidation", autoCorrectParts: "autoCorrectParts", autoSwitchParts: "autoSwitchParts", autoSwitchKeys: "autoSwitchKeys", allowCaretMode: "allowCaretMode", autoFill: "autoFill", incompleteDateValidation: "incompleteDateValidation", twoDigitYearMax: "twoDigitYearMax", enableMouseWheel: "enableMouseWheel", value: "value", spinners: "spinners", isPopupOpen: "isPopupOpen", hasPopup: "hasPopup", size: "size", rounded: "rounded", fillMode: "fillMode", inputAttributes: "inputAttributes" }, outputs: { valueChange: "valueChange", valueUpdate: "valueUpdate", onFocus: "focus", onBlur: "blur" }, host: { properties: { "class.k-readonly": "this.readonly", "class.k-input": "this.wrapperClass", "class.k-dateinput": "this.wrapperClass", "class.k-disabled": "this.disabledClass" } }, providers: [
|
|
8884
8935
|
{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => DateInputComponent), multi: true },
|
|
8885
8936
|
{ provide: NG_VALIDATORS, useExisting: forwardRef(() => DateInputComponent), multi: true },
|
|
8886
8937
|
{ provide: L10N_PREFIX, useValue: 'kendo.dateinput' },
|
|
@@ -8974,7 +9025,7 @@ DateInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ver
|
|
|
8974
9025
|
</kendo-icon-wrapper>
|
|
8975
9026
|
</button>
|
|
8976
9027
|
</span>
|
|
8977
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
9028
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: DateInputLocalizedMessagesDirective, selector: "[kendoDateInputLocalizedMessages]" }, { kind: "directive", type: EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
8978
9029
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateInputComponent, decorators: [{
|
|
8979
9030
|
type: Component,
|
|
8980
9031
|
args: [{
|
|
@@ -9076,7 +9127,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
9076
9127
|
</kendo-icon-wrapper>
|
|
9077
9128
|
</button>
|
|
9078
9129
|
</span>
|
|
9079
|
-
|
|
9130
|
+
`,
|
|
9131
|
+
standalone: true,
|
|
9132
|
+
imports: [DateInputLocalizedMessagesDirective, EventsOutsideAngularDirective, NgIf, IconWrapperComponent]
|
|
9080
9133
|
}]
|
|
9081
9134
|
}], ctorParameters: function () {
|
|
9082
9135
|
return [{ type: i0.ChangeDetectorRef }, { type: i1.IntlService }, { type: i0.Renderer2 }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.Injector }, { type: i1$1.LocalizationService }, { type: PickerService, decorators: [{
|
|
@@ -9208,11 +9261,6 @@ class PreventableEvent {
|
|
|
9208
9261
|
}
|
|
9209
9262
|
}
|
|
9210
9263
|
|
|
9211
|
-
/**
|
|
9212
|
-
* @hidden
|
|
9213
|
-
*/
|
|
9214
|
-
const TOUCH_ENABLED = new InjectionToken('dateinputs-touch-enabled');
|
|
9215
|
-
|
|
9216
9264
|
/**
|
|
9217
9265
|
* @hidden
|
|
9218
9266
|
*/
|
|
@@ -9231,7 +9279,7 @@ const disabledDatesValidator = (isDateDisabled) => {
|
|
|
9231
9279
|
/**
|
|
9232
9280
|
* Custom component messages override default component messages ([see example]({% slug globalization_dateinputs %}#toc-custom-messages)).
|
|
9233
9281
|
*/
|
|
9234
|
-
class
|
|
9282
|
+
class CalendarCustomMessagesComponent extends CalendarMessages {
|
|
9235
9283
|
constructor(service) {
|
|
9236
9284
|
super();
|
|
9237
9285
|
this.service = service;
|
|
@@ -9240,31 +9288,32 @@ class DateInputCustomMessagesComponent extends DateInputMessages {
|
|
|
9240
9288
|
return true;
|
|
9241
9289
|
}
|
|
9242
9290
|
}
|
|
9243
|
-
|
|
9244
|
-
|
|
9291
|
+
CalendarCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CalendarCustomMessagesComponent, deps: [{ token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
9292
|
+
CalendarCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: CalendarCustomMessagesComponent, isStandalone: true, selector: "kendo-calendar-messages", providers: [
|
|
9245
9293
|
{
|
|
9246
|
-
provide:
|
|
9247
|
-
useExisting: forwardRef(() =>
|
|
9294
|
+
provide: CalendarMessages,
|
|
9295
|
+
useExisting: forwardRef(() => CalendarCustomMessagesComponent)
|
|
9248
9296
|
}
|
|
9249
9297
|
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
9250
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type:
|
|
9298
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CalendarCustomMessagesComponent, decorators: [{
|
|
9251
9299
|
type: Component,
|
|
9252
9300
|
args: [{
|
|
9253
9301
|
providers: [
|
|
9254
9302
|
{
|
|
9255
|
-
provide:
|
|
9256
|
-
useExisting: forwardRef(() =>
|
|
9303
|
+
provide: CalendarMessages,
|
|
9304
|
+
useExisting: forwardRef(() => CalendarCustomMessagesComponent)
|
|
9257
9305
|
}
|
|
9258
9306
|
],
|
|
9259
|
-
selector: 'kendo-
|
|
9260
|
-
template:
|
|
9307
|
+
selector: 'kendo-calendar-messages',
|
|
9308
|
+
template: ``,
|
|
9309
|
+
standalone: true
|
|
9261
9310
|
}]
|
|
9262
9311
|
}], ctorParameters: function () { return [{ type: i1$1.LocalizationService }]; } });
|
|
9263
9312
|
|
|
9264
9313
|
/**
|
|
9265
9314
|
* Custom component messages override default component messages ([see example]({% slug globalization_dateinputs %}#toc-custom-messages)).
|
|
9266
9315
|
*/
|
|
9267
|
-
class
|
|
9316
|
+
class DateInputCustomMessagesComponent extends DateInputMessages {
|
|
9268
9317
|
constructor(service) {
|
|
9269
9318
|
super();
|
|
9270
9319
|
this.service = service;
|
|
@@ -9273,24 +9322,25 @@ class CalendarCustomMessagesComponent extends CalendarMessages {
|
|
|
9273
9322
|
return true;
|
|
9274
9323
|
}
|
|
9275
9324
|
}
|
|
9276
|
-
|
|
9277
|
-
|
|
9325
|
+
DateInputCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateInputCustomMessagesComponent, deps: [{ token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
9326
|
+
DateInputCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: DateInputCustomMessagesComponent, isStandalone: true, selector: "kendo-dateinput-messages", providers: [
|
|
9278
9327
|
{
|
|
9279
|
-
provide:
|
|
9280
|
-
useExisting: forwardRef(() =>
|
|
9328
|
+
provide: DateInputMessages,
|
|
9329
|
+
useExisting: forwardRef(() => DateInputCustomMessagesComponent)
|
|
9281
9330
|
}
|
|
9282
9331
|
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
9283
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type:
|
|
9332
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateInputCustomMessagesComponent, decorators: [{
|
|
9284
9333
|
type: Component,
|
|
9285
9334
|
args: [{
|
|
9286
9335
|
providers: [
|
|
9287
9336
|
{
|
|
9288
|
-
provide:
|
|
9289
|
-
useExisting: forwardRef(() =>
|
|
9337
|
+
provide: DateInputMessages,
|
|
9338
|
+
useExisting: forwardRef(() => DateInputCustomMessagesComponent)
|
|
9290
9339
|
}
|
|
9291
9340
|
],
|
|
9292
|
-
selector: 'kendo-
|
|
9293
|
-
template:
|
|
9341
|
+
selector: 'kendo-dateinput-messages',
|
|
9342
|
+
template: ``,
|
|
9343
|
+
standalone: true
|
|
9294
9344
|
}]
|
|
9295
9345
|
}], ctorParameters: function () { return [{ type: i1$1.LocalizationService }]; } });
|
|
9296
9346
|
|
|
@@ -9331,7 +9381,7 @@ class DatePickerLocalizedMessagesDirective extends DatePickerMessages {
|
|
|
9331
9381
|
}
|
|
9332
9382
|
}
|
|
9333
9383
|
DatePickerLocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DatePickerLocalizedMessagesDirective, deps: [{ token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
9334
|
-
DatePickerLocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: DatePickerLocalizedMessagesDirective, selector: "[kendoDatePickerLocalizedMessages]", providers: [
|
|
9384
|
+
DatePickerLocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: DatePickerLocalizedMessagesDirective, isStandalone: true, selector: "[kendoDatePickerLocalizedMessages]", providers: [
|
|
9335
9385
|
{
|
|
9336
9386
|
provide: DatePickerMessages,
|
|
9337
9387
|
useExisting: forwardRef(() => DatePickerLocalizedMessagesDirective)
|
|
@@ -9346,7 +9396,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
9346
9396
|
useExisting: forwardRef(() => DatePickerLocalizedMessagesDirective)
|
|
9347
9397
|
}
|
|
9348
9398
|
],
|
|
9349
|
-
selector: '[kendoDatePickerLocalizedMessages]'
|
|
9399
|
+
selector: '[kendoDatePickerLocalizedMessages]',
|
|
9400
|
+
standalone: true
|
|
9350
9401
|
}]
|
|
9351
9402
|
}], ctorParameters: function () { return [{ type: i1$1.LocalizationService }]; } });
|
|
9352
9403
|
|
|
@@ -9359,7 +9410,7 @@ const TWO_DIGIT_YEAR_MAX$1 = 68;
|
|
|
9359
9410
|
* Represents the [Kendo UI DatePicker component for Angular](slug:overview_datepicker).
|
|
9360
9411
|
*/
|
|
9361
9412
|
class DatePickerComponent extends MultiTabStop {
|
|
9362
|
-
constructor(zone, localization, cdr, popupService, wrapper, renderer, injector, pickerService, disabledDatesService
|
|
9413
|
+
constructor(zone, localization, cdr, popupService, wrapper, renderer, injector, pickerService, disabledDatesService) {
|
|
9363
9414
|
super();
|
|
9364
9415
|
this.zone = zone;
|
|
9365
9416
|
this.localization = localization;
|
|
@@ -9370,7 +9421,6 @@ class DatePickerComponent extends MultiTabStop {
|
|
|
9370
9421
|
this.injector = injector;
|
|
9371
9422
|
this.pickerService = pickerService;
|
|
9372
9423
|
this.disabledDatesService = disabledDatesService;
|
|
9373
|
-
this.touchEnabled = touchEnabled;
|
|
9374
9424
|
/**
|
|
9375
9425
|
* @hidden
|
|
9376
9426
|
*/
|
|
@@ -9466,10 +9516,7 @@ class DatePickerComponent extends MultiTabStop {
|
|
|
9466
9516
|
*/
|
|
9467
9517
|
this.incompleteDateValidation = false;
|
|
9468
9518
|
/**
|
|
9469
|
-
*
|
|
9470
|
-
*
|
|
9471
|
-
* Determines whether to auto correct invalid segments automatically.
|
|
9472
|
-
* TODO: To be fixed in common package before enabling: https://github.com/telerik/kendo-dateinputs-common/issues/24
|
|
9519
|
+
* Determines whether to autocorrect invalid segments automatically.
|
|
9473
9520
|
*
|
|
9474
9521
|
* @default true
|
|
9475
9522
|
*/
|
|
@@ -10278,7 +10325,7 @@ class DatePickerComponent extends MultiTabStop {
|
|
|
10278
10325
|
this.ariaActiveDescendantSubscription = focusedCellChangeEvent.subscribe((id) => { var _a; return this.renderer.setAttribute((_a = this.dateInput) === null || _a === void 0 ? void 0 : _a.inputElement, attributeNames.ariaActiveDescendant, id); });
|
|
10279
10326
|
}
|
|
10280
10327
|
focusInput() {
|
|
10281
|
-
if (
|
|
10328
|
+
if (touchEnabled) {
|
|
10282
10329
|
return;
|
|
10283
10330
|
}
|
|
10284
10331
|
this.dateInput.focus();
|
|
@@ -10295,7 +10342,7 @@ class DatePickerComponent extends MultiTabStop {
|
|
|
10295
10342
|
this.calendar.focus();
|
|
10296
10343
|
}
|
|
10297
10344
|
}
|
|
10298
|
-
else if (!
|
|
10345
|
+
else if (!touchEnabled) {
|
|
10299
10346
|
this.dateInput.focus();
|
|
10300
10347
|
}
|
|
10301
10348
|
else if (!this.dateInput.isActive) {
|
|
@@ -10392,8 +10439,8 @@ class DatePickerComponent extends MultiTabStop {
|
|
|
10392
10439
|
}
|
|
10393
10440
|
}
|
|
10394
10441
|
}
|
|
10395
|
-
DatePickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DatePickerComponent, deps: [{ token: i0.NgZone }, { token: i1$1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i1$3.PopupService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.Injector }, { token: PickerService }, { token: DisabledDatesService }
|
|
10396
|
-
DatePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: DatePickerComponent, selector: "kendo-datepicker", inputs: { focusableId: "focusableId", cellTemplateRef: ["cellTemplate", "cellTemplateRef"], clearButton: "clearButton", inputAttributes: "inputAttributes", monthCellTemplateRef: ["monthCellTemplate", "monthCellTemplateRef"], yearCellTemplateRef: ["yearCellTemplate", "yearCellTemplateRef"], decadeCellTemplateRef: ["decadeCellTemplate", "decadeCellTemplateRef"], centuryCellTemplateRef: ["centuryCellTemplate", "centuryCellTemplateRef"], weekNumberTemplateRef: ["weekNumberTemplate", "weekNumberTemplateRef"], headerTitleTemplateRef: ["headerTitleTemplate", "headerTitleTemplateRef"], headerTemplateRef: ["headerTemplate", "headerTemplateRef"], footerTemplateRef: ["footerTemplate", "footerTemplateRef"], footer: "footer", navigationItemTemplateRef: ["navigationItemTemplate", "navigationItemTemplateRef"], weekDaysFormat: "weekDaysFormat", showOtherMonthDays: "showOtherMonthDays", activeView: "activeView", bottomView: "bottomView", topView: "topView", calendarType: "calendarType", animateCalendarNavigation: "animateCalendarNavigation", disabled: "disabled", readonly: "readonly", readOnlyInput: "readOnlyInput", popupSettings: "popupSettings", navigation: "navigation", min: "min", max: "max", incompleteDateValidation: "incompleteDateValidation", autoCorrectParts: "autoCorrectParts", autoSwitchParts: "autoSwitchParts", autoSwitchKeys: "autoSwitchKeys", enableMouseWheel: "enableMouseWheel", allowCaretMode: "allowCaretMode", autoFill: "autoFill", focusedDate: "focusedDate", value: "value", format: "format", twoDigitYearMax: "twoDigitYearMax", formatPlaceholder: "formatPlaceholder", placeholder: "placeholder", tabindex: "tabindex", tabIndex: "tabIndex", disabledDates: "disabledDates", title: "title", subtitle: "subtitle", rangeValidation: "rangeValidation", disabledDatesValidation: "disabledDatesValidation", weekNumber: "weekNumber", size: "size", rounded: "rounded", fillMode: "fillMode", adaptiveMode: "adaptiveMode" }, outputs: { valueChange: "valueChange", onFocus: "focus", onBlur: "blur", open: "open", close: "close", escape: "escape" }, host: { properties: { "class.k-readonly": "this.readonly", "class.k-datepicker": "this.wrapperClasses", "class.k-input": "this.wrapperClasses", "class.k-disabled": "this.disabledClass" } }, providers: [
|
|
10442
|
+
DatePickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DatePickerComponent, deps: [{ token: i0.NgZone }, { token: i1$1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i1$3.PopupService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.Injector }, { token: PickerService }, { token: DisabledDatesService }], target: i0.ɵɵFactoryTarget.Component });
|
|
10443
|
+
DatePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: DatePickerComponent, isStandalone: true, selector: "kendo-datepicker", inputs: { focusableId: "focusableId", cellTemplateRef: ["cellTemplate", "cellTemplateRef"], clearButton: "clearButton", inputAttributes: "inputAttributes", monthCellTemplateRef: ["monthCellTemplate", "monthCellTemplateRef"], yearCellTemplateRef: ["yearCellTemplate", "yearCellTemplateRef"], decadeCellTemplateRef: ["decadeCellTemplate", "decadeCellTemplateRef"], centuryCellTemplateRef: ["centuryCellTemplate", "centuryCellTemplateRef"], weekNumberTemplateRef: ["weekNumberTemplate", "weekNumberTemplateRef"], headerTitleTemplateRef: ["headerTitleTemplate", "headerTitleTemplateRef"], headerTemplateRef: ["headerTemplate", "headerTemplateRef"], footerTemplateRef: ["footerTemplate", "footerTemplateRef"], footer: "footer", navigationItemTemplateRef: ["navigationItemTemplate", "navigationItemTemplateRef"], weekDaysFormat: "weekDaysFormat", showOtherMonthDays: "showOtherMonthDays", activeView: "activeView", bottomView: "bottomView", topView: "topView", calendarType: "calendarType", animateCalendarNavigation: "animateCalendarNavigation", disabled: "disabled", readonly: "readonly", readOnlyInput: "readOnlyInput", popupSettings: "popupSettings", navigation: "navigation", min: "min", max: "max", incompleteDateValidation: "incompleteDateValidation", autoCorrectParts: "autoCorrectParts", autoSwitchParts: "autoSwitchParts", autoSwitchKeys: "autoSwitchKeys", enableMouseWheel: "enableMouseWheel", allowCaretMode: "allowCaretMode", autoFill: "autoFill", focusedDate: "focusedDate", value: "value", format: "format", twoDigitYearMax: "twoDigitYearMax", formatPlaceholder: "formatPlaceholder", placeholder: "placeholder", tabindex: "tabindex", tabIndex: "tabIndex", disabledDates: "disabledDates", title: "title", subtitle: "subtitle", rangeValidation: "rangeValidation", disabledDatesValidation: "disabledDatesValidation", weekNumber: "weekNumber", size: "size", rounded: "rounded", fillMode: "fillMode", adaptiveMode: "adaptiveMode" }, outputs: { valueChange: "valueChange", onFocus: "focus", onBlur: "blur", open: "open", close: "close", escape: "escape" }, host: { properties: { "class.k-readonly": "this.readonly", "class.k-datepicker": "this.wrapperClasses", "class.k-input": "this.wrapperClasses", "class.k-disabled": "this.disabledClass" } }, providers: [
|
|
10397
10444
|
{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => DatePickerComponent), multi: true },
|
|
10398
10445
|
{ provide: NG_VALIDATORS, useExisting: forwardRef(() => DatePickerComponent), multi: true },
|
|
10399
10446
|
{ provide: KendoInput, useExisting: forwardRef(() => DatePickerComponent) },
|
|
@@ -10578,7 +10625,7 @@ DatePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ve
|
|
|
10578
10625
|
</kendo-calendar-messages>
|
|
10579
10626
|
</kendo-calendar>
|
|
10580
10627
|
</ng-template>
|
|
10581
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
10628
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: DatePickerLocalizedMessagesDirective, selector: "[kendoDatePickerLocalizedMessages]" }, { kind: "component", type: DateInputComponent, selector: "kendo-dateinput", inputs: ["focusableId", "pickerType", "clearButton", "disabled", "readonly", "title", "tabindex", "role", "ariaReadOnly", "tabIndex", "isRequired", "format", "formatPlaceholder", "placeholder", "steps", "max", "min", "rangeValidation", "autoCorrectParts", "autoSwitchParts", "autoSwitchKeys", "allowCaretMode", "autoFill", "incompleteDateValidation", "twoDigitYearMax", "enableMouseWheel", "value", "spinners", "isPopupOpen", "hasPopup", "size", "rounded", "fillMode", "inputAttributes"], outputs: ["valueChange", "valueUpdate", "focus", "blur"], exportAs: ["kendo-dateinput"] }, { kind: "component", type: DateInputCustomMessagesComponent, selector: "kendo-dateinput-messages" }, { kind: "directive", type: EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { kind: "component", type: ActionSheetComponent, selector: "kendo-actionsheet", inputs: ["title", "subtitle", "items", "cssClass", "animation", "expanded", "titleId"], outputs: ["expandedChange", "expand", "collapse", "itemClick", "overlayClick"], exportAs: ["kendoActionSheet"] }, { kind: "directive", type: ActionSheetTemplateDirective, selector: "[kendoActionSheetTemplate]" }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "component", type: CalendarComponent, selector: "kendo-calendar", inputs: ["showOtherMonthDays", "id", "focusedDate", "min", "max", "rangeValidation", "weekDaysFormat", "footer", "selection", "allowReverse", "value", "disabled", "tabindex", "tabIndex", "disabledDates", "navigation", "activeView", "bottomView", "topView", "type", "animateNavigation", "weekNumber", "cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "headerTitleTemplate", "headerTemplate", "footerTemplate", "navigationItemTemplate", "size", "activeRangeEnd"], outputs: ["activeViewChange", "navigate", "activeViewDateChange", "blur", "focus", "valueChange"], exportAs: ["kendo-calendar"] }, { kind: "component", type: CalendarCustomMessagesComponent, selector: "kendo-calendar-messages" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
10582
10629
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DatePickerComponent, decorators: [{
|
|
10583
10630
|
type: Component,
|
|
10584
10631
|
args: [{
|
|
@@ -10771,16 +10818,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
10771
10818
|
</kendo-calendar-messages>
|
|
10772
10819
|
</kendo-calendar>
|
|
10773
10820
|
</ng-template>
|
|
10774
|
-
|
|
10821
|
+
`,
|
|
10822
|
+
standalone: true,
|
|
10823
|
+
imports: [DatePickerLocalizedMessagesDirective, DateInputComponent, DateInputCustomMessagesComponent, EventsOutsideAngularDirective, IconWrapperComponent, NgTemplateOutlet, NgIf, ResizeSensorComponent, ActionSheetComponent, ActionSheetTemplateDirective, ButtonComponent, CalendarComponent, CalendarCustomMessagesComponent]
|
|
10775
10824
|
}]
|
|
10776
|
-
}], ctorParameters: function () {
|
|
10777
|
-
return [{ type: i0.NgZone }, { type: i1$1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: i1$3.PopupService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.Injector }, { type: PickerService }, { type: DisabledDatesService }, { type: undefined, decorators: [{
|
|
10778
|
-
type: Optional
|
|
10779
|
-
}, {
|
|
10780
|
-
type: Inject,
|
|
10781
|
-
args: [TOUCH_ENABLED]
|
|
10782
|
-
}] }];
|
|
10783
|
-
}, propDecorators: { container: [{
|
|
10825
|
+
}], ctorParameters: function () { return [{ type: i0.NgZone }, { type: i1$1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: i1$3.PopupService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.Injector }, { type: PickerService }, { type: DisabledDatesService }]; }, propDecorators: { container: [{
|
|
10784
10826
|
type: ViewChild,
|
|
10785
10827
|
args: ['container', { read: ViewContainerRef, static: true }]
|
|
10786
10828
|
}], popupTemplate: [{
|
|
@@ -10977,130 +11019,6 @@ const TIME_PART = {
|
|
|
10977
11019
|
second: 'second'
|
|
10978
11020
|
};
|
|
10979
11021
|
|
|
10980
|
-
/**
|
|
10981
|
-
* @hidden
|
|
10982
|
-
*/
|
|
10983
|
-
const timeRangeValidator = (min, max) => {
|
|
10984
|
-
return (control) => {
|
|
10985
|
-
if (!min || !max || !control.value) {
|
|
10986
|
-
return null;
|
|
10987
|
-
}
|
|
10988
|
-
const err = {
|
|
10989
|
-
timeRangeError: {
|
|
10990
|
-
maxValue: max,
|
|
10991
|
-
minValue: min,
|
|
10992
|
-
value: control.value
|
|
10993
|
-
}
|
|
10994
|
-
};
|
|
10995
|
-
return isInTimeRange(control.value, min, max) ? null : err;
|
|
10996
|
-
};
|
|
10997
|
-
};
|
|
10998
|
-
|
|
10999
|
-
/**
|
|
11000
|
-
* @hidden
|
|
11001
|
-
*/
|
|
11002
|
-
class TimePickerMessages extends ComponentMessages {
|
|
11003
|
-
}
|
|
11004
|
-
TimePickerMessages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimePickerMessages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
11005
|
-
TimePickerMessages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: TimePickerMessages, selector: "kendo-timepicker-messages-base", inputs: { accept: "accept", acceptLabel: "acceptLabel", cancel: "cancel", cancelLabel: "cancelLabel", now: "now", nowLabel: "nowLabel", toggle: "toggle", hour: "hour", minute: "minute", second: "second", millisecond: "millisecond", dayperiod: "dayperiod", clearTitle: "clearTitle" }, usesInheritance: true, ngImport: i0 });
|
|
11006
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimePickerMessages, decorators: [{
|
|
11007
|
-
type: Directive,
|
|
11008
|
-
args: [{
|
|
11009
|
-
// eslint-disable-next-line
|
|
11010
|
-
selector: 'kendo-timepicker-messages-base'
|
|
11011
|
-
}]
|
|
11012
|
-
}], propDecorators: { accept: [{
|
|
11013
|
-
type: Input
|
|
11014
|
-
}], acceptLabel: [{
|
|
11015
|
-
type: Input
|
|
11016
|
-
}], cancel: [{
|
|
11017
|
-
type: Input
|
|
11018
|
-
}], cancelLabel: [{
|
|
11019
|
-
type: Input
|
|
11020
|
-
}], now: [{
|
|
11021
|
-
type: Input
|
|
11022
|
-
}], nowLabel: [{
|
|
11023
|
-
type: Input
|
|
11024
|
-
}], toggle: [{
|
|
11025
|
-
type: Input
|
|
11026
|
-
}], hour: [{
|
|
11027
|
-
type: Input
|
|
11028
|
-
}], minute: [{
|
|
11029
|
-
type: Input
|
|
11030
|
-
}], second: [{
|
|
11031
|
-
type: Input
|
|
11032
|
-
}], millisecond: [{
|
|
11033
|
-
type: Input
|
|
11034
|
-
}], dayperiod: [{
|
|
11035
|
-
type: Input
|
|
11036
|
-
}], clearTitle: [{
|
|
11037
|
-
type: Input
|
|
11038
|
-
}] } });
|
|
11039
|
-
|
|
11040
|
-
/**
|
|
11041
|
-
* @hidden
|
|
11042
|
-
*/
|
|
11043
|
-
class TimePickerLocalizedMessagesDirective extends TimePickerMessages {
|
|
11044
|
-
constructor(service) {
|
|
11045
|
-
super();
|
|
11046
|
-
this.service = service;
|
|
11047
|
-
}
|
|
11048
|
-
}
|
|
11049
|
-
TimePickerLocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimePickerLocalizedMessagesDirective, deps: [{ token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
11050
|
-
TimePickerLocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: TimePickerLocalizedMessagesDirective, selector: "[kendoTimePickerLocalizedMessages]", providers: [
|
|
11051
|
-
{
|
|
11052
|
-
provide: TimePickerMessages,
|
|
11053
|
-
useExisting: forwardRef(() => TimePickerLocalizedMessagesDirective)
|
|
11054
|
-
}
|
|
11055
|
-
], usesInheritance: true, ngImport: i0 });
|
|
11056
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimePickerLocalizedMessagesDirective, decorators: [{
|
|
11057
|
-
type: Directive,
|
|
11058
|
-
args: [{
|
|
11059
|
-
providers: [
|
|
11060
|
-
{
|
|
11061
|
-
provide: TimePickerMessages,
|
|
11062
|
-
useExisting: forwardRef(() => TimePickerLocalizedMessagesDirective)
|
|
11063
|
-
}
|
|
11064
|
-
],
|
|
11065
|
-
selector: '[kendoTimePickerLocalizedMessages]'
|
|
11066
|
-
}]
|
|
11067
|
-
}], ctorParameters: function () { return [{ type: i1$1.LocalizationService }]; } });
|
|
11068
|
-
|
|
11069
|
-
/**
|
|
11070
|
-
* @hidden
|
|
11071
|
-
*
|
|
11072
|
-
* Custom component messages override default component messages.
|
|
11073
|
-
*/
|
|
11074
|
-
class TimeSelectorCustomMessagesComponent extends TimePickerMessages {
|
|
11075
|
-
constructor(service) {
|
|
11076
|
-
super();
|
|
11077
|
-
this.service = service;
|
|
11078
|
-
}
|
|
11079
|
-
get override() {
|
|
11080
|
-
return true;
|
|
11081
|
-
}
|
|
11082
|
-
}
|
|
11083
|
-
TimeSelectorCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimeSelectorCustomMessagesComponent, deps: [{ token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
11084
|
-
TimeSelectorCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TimeSelectorCustomMessagesComponent, selector: "kendo-timeselector-messages", providers: [
|
|
11085
|
-
{
|
|
11086
|
-
provide: TimePickerMessages,
|
|
11087
|
-
useExisting: forwardRef(() => TimeSelectorCustomMessagesComponent)
|
|
11088
|
-
}
|
|
11089
|
-
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
11090
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimeSelectorCustomMessagesComponent, decorators: [{
|
|
11091
|
-
type: Component,
|
|
11092
|
-
args: [{
|
|
11093
|
-
providers: [
|
|
11094
|
-
{
|
|
11095
|
-
provide: TimePickerMessages,
|
|
11096
|
-
useExisting: forwardRef(() => TimeSelectorCustomMessagesComponent)
|
|
11097
|
-
}
|
|
11098
|
-
],
|
|
11099
|
-
selector: 'kendo-timeselector-messages',
|
|
11100
|
-
template: ``
|
|
11101
|
-
}]
|
|
11102
|
-
}], ctorParameters: function () { return [{ type: i1$1.LocalizationService }]; } });
|
|
11103
|
-
|
|
11104
11022
|
const HOURS_IN_DAY = 24;
|
|
11105
11023
|
const clampToRange$3 = (rangeValue) => (value) => value % rangeValue;
|
|
11106
11024
|
const clamp$3 = clampToRange$3(HOURS_IN_DAY);
|
|
@@ -11208,9 +11126,12 @@ class HoursService {
|
|
|
11208
11126
|
}
|
|
11209
11127
|
}
|
|
11210
11128
|
HoursService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HoursService, deps: [{ token: i1.IntlService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
11211
|
-
HoursService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HoursService });
|
|
11129
|
+
HoursService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HoursService, providedIn: 'root' });
|
|
11212
11130
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HoursService, decorators: [{
|
|
11213
|
-
type: Injectable
|
|
11131
|
+
type: Injectable,
|
|
11132
|
+
args: [{
|
|
11133
|
+
providedIn: 'root'
|
|
11134
|
+
}]
|
|
11214
11135
|
}], ctorParameters: function () { return [{ type: i1.IntlService }]; } });
|
|
11215
11136
|
|
|
11216
11137
|
const MINUTES_IN_HOUR = 60;
|
|
@@ -11318,9 +11239,12 @@ class MinutesService {
|
|
|
11318
11239
|
}
|
|
11319
11240
|
}
|
|
11320
11241
|
MinutesService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MinutesService, deps: [{ token: i1.IntlService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
11321
|
-
MinutesService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MinutesService });
|
|
11242
|
+
MinutesService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MinutesService, providedIn: 'root' });
|
|
11322
11243
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MinutesService, decorators: [{
|
|
11323
|
-
type: Injectable
|
|
11244
|
+
type: Injectable,
|
|
11245
|
+
args: [{
|
|
11246
|
+
providedIn: 'root'
|
|
11247
|
+
}]
|
|
11324
11248
|
}], ctorParameters: function () { return [{ type: i1.IntlService }]; } });
|
|
11325
11249
|
|
|
11326
11250
|
const SECONDS_IN_HOUR = 60;
|
|
@@ -11428,9 +11352,12 @@ class SecondsService {
|
|
|
11428
11352
|
}
|
|
11429
11353
|
}
|
|
11430
11354
|
SecondsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SecondsService, deps: [{ token: i1.IntlService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
11431
|
-
SecondsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SecondsService });
|
|
11355
|
+
SecondsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SecondsService, providedIn: 'root' });
|
|
11432
11356
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SecondsService, decorators: [{
|
|
11433
|
-
type: Injectable
|
|
11357
|
+
type: Injectable,
|
|
11358
|
+
args: [{
|
|
11359
|
+
providedIn: 'root'
|
|
11360
|
+
}]
|
|
11434
11361
|
}], ctorParameters: function () { return [{ type: i1.IntlService }]; } });
|
|
11435
11362
|
|
|
11436
11363
|
const MILLISECONDS_IN_SECOND = 1000;
|
|
@@ -11541,9 +11468,12 @@ class MillisecondsService {
|
|
|
11541
11468
|
}
|
|
11542
11469
|
}
|
|
11543
11470
|
MillisecondsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MillisecondsService, deps: [{ token: i1.IntlService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
11544
|
-
MillisecondsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MillisecondsService });
|
|
11471
|
+
MillisecondsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MillisecondsService, providedIn: 'root' });
|
|
11545
11472
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MillisecondsService, decorators: [{
|
|
11546
|
-
type: Injectable
|
|
11473
|
+
type: Injectable,
|
|
11474
|
+
args: [{
|
|
11475
|
+
providedIn: 'root'
|
|
11476
|
+
}]
|
|
11547
11477
|
}], ctorParameters: function () { return [{ type: i1.IntlService }]; } });
|
|
11548
11478
|
|
|
11549
11479
|
const setHours = (date, hours) => {
|
|
@@ -11657,9 +11587,12 @@ class DayPeriodService {
|
|
|
11657
11587
|
}
|
|
11658
11588
|
}
|
|
11659
11589
|
DayPeriodService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DayPeriodService, deps: [{ token: i1.IntlService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
11660
|
-
DayPeriodService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DayPeriodService });
|
|
11590
|
+
DayPeriodService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DayPeriodService, providedIn: 'root' });
|
|
11661
11591
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DayPeriodService, decorators: [{
|
|
11662
|
-
type: Injectable
|
|
11592
|
+
type: Injectable,
|
|
11593
|
+
args: [{
|
|
11594
|
+
providedIn: 'root'
|
|
11595
|
+
}]
|
|
11663
11596
|
}], ctorParameters: function () { return [{ type: i1.IntlService }]; } });
|
|
11664
11597
|
|
|
11665
11598
|
const div = domContainerFactory('div');
|
|
@@ -11732,9 +11665,12 @@ class TimePickerDOMService {
|
|
|
11732
11665
|
}
|
|
11733
11666
|
}
|
|
11734
11667
|
TimePickerDOMService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimePickerDOMService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
11735
|
-
TimePickerDOMService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimePickerDOMService });
|
|
11668
|
+
TimePickerDOMService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimePickerDOMService, providedIn: 'root' });
|
|
11736
11669
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimePickerDOMService, decorators: [{
|
|
11737
|
-
type: Injectable
|
|
11670
|
+
type: Injectable,
|
|
11671
|
+
args: [{
|
|
11672
|
+
providedIn: 'root'
|
|
11673
|
+
}]
|
|
11738
11674
|
}] });
|
|
11739
11675
|
|
|
11740
11676
|
/* eslint-disable @angular-eslint/component-selector */
|
|
@@ -11974,7 +11910,7 @@ class TimeListComponent {
|
|
|
11974
11910
|
}
|
|
11975
11911
|
}
|
|
11976
11912
|
TimeListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimeListComponent, deps: [{ token: i0.ElementRef }, { token: i0.Injector }, { token: TimePickerDOMService }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
11977
|
-
TimeListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TimeListComponent, selector: "kendo-timelist", inputs: { min: "min", max: "max", part: "part", step: "step", disabled: "disabled", value: "value", isLast: "isLast" }, outputs: { valueChange: "valueChange", tabOutLastPart: "tabOutLastPart" }, host: { properties: { "attr.role": "this.roleAttribute", "attr.aria-label": "this.ariaLabel", "attr.tabindex": "this.tabIndex", "class.k-time-list": "this.componentClass" } }, viewQueries: [{ propertyName: "virtualization", first: true, predicate: VirtualizationComponent, descendants: true, static: true }], usesOnChanges: true, ngImport: i0, template: `
|
|
11913
|
+
TimeListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TimeListComponent, isStandalone: true, selector: "kendo-timelist", inputs: { min: "min", max: "max", part: "part", step: "step", disabled: "disabled", value: "value", isLast: "isLast" }, outputs: { valueChange: "valueChange", tabOutLastPart: "tabOutLastPart" }, host: { properties: { "attr.role": "this.roleAttribute", "attr.aria-label": "this.ariaLabel", "attr.tabindex": "this.tabIndex", "class.k-time-list": "this.componentClass" } }, viewQueries: [{ propertyName: "virtualization", first: true, predicate: VirtualizationComponent, descendants: true, static: true }], usesOnChanges: true, ngImport: i0, template: `
|
|
11978
11914
|
<kendo-virtualization
|
|
11979
11915
|
[skip]="skip"
|
|
11980
11916
|
[take]="total"
|
|
@@ -12002,7 +11938,7 @@ TimeListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", vers
|
|
|
12002
11938
|
</li>
|
|
12003
11939
|
</ul>
|
|
12004
11940
|
</kendo-virtualization>
|
|
12005
|
-
`, isInline: true, dependencies: [{ kind: "
|
|
11941
|
+
`, isInline: true, dependencies: [{ kind: "component", type: VirtualizationComponent, selector: "kendo-virtualization", inputs: ["direction", "itemHeight", "itemWidth", "topOffset", "bottomOffset", "maxScrollDifference", "scrollOffsetSize", "scrollDuration", "skip", "take", "total"], outputs: ["activeIndexChange", "pageChange", "scrollChange"] }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
|
|
12006
11942
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimeListComponent, decorators: [{
|
|
12007
11943
|
type: Component,
|
|
12008
11944
|
args: [{
|
|
@@ -12035,7 +11971,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
12035
11971
|
</li>
|
|
12036
11972
|
</ul>
|
|
12037
11973
|
</kendo-virtualization>
|
|
12038
|
-
|
|
11974
|
+
`,
|
|
11975
|
+
standalone: true,
|
|
11976
|
+
imports: [VirtualizationComponent, NgStyle, EventsOutsideAngularDirective, NgFor]
|
|
12039
11977
|
}]
|
|
12040
11978
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Injector }, { type: TimePickerDOMService }, { type: i0.Renderer2 }, { type: i0.NgZone }, { type: i1$1.LocalizationService }]; }, propDecorators: { min: [{
|
|
12041
11979
|
type: Input
|
|
@@ -12137,6 +12075,47 @@ const snapTime = snappers => (candidate, min) => {
|
|
|
12137
12075
|
return date;
|
|
12138
12076
|
};
|
|
12139
12077
|
|
|
12078
|
+
/**
|
|
12079
|
+
* @hidden
|
|
12080
|
+
*/
|
|
12081
|
+
class TimePickerMessages extends ComponentMessages {
|
|
12082
|
+
}
|
|
12083
|
+
TimePickerMessages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimePickerMessages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
12084
|
+
TimePickerMessages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: TimePickerMessages, selector: "kendo-timepicker-messages-base", inputs: { accept: "accept", acceptLabel: "acceptLabel", cancel: "cancel", cancelLabel: "cancelLabel", now: "now", nowLabel: "nowLabel", toggle: "toggle", hour: "hour", minute: "minute", second: "second", millisecond: "millisecond", dayperiod: "dayperiod", clearTitle: "clearTitle" }, usesInheritance: true, ngImport: i0 });
|
|
12085
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimePickerMessages, decorators: [{
|
|
12086
|
+
type: Directive,
|
|
12087
|
+
args: [{
|
|
12088
|
+
// eslint-disable-next-line
|
|
12089
|
+
selector: 'kendo-timepicker-messages-base'
|
|
12090
|
+
}]
|
|
12091
|
+
}], propDecorators: { accept: [{
|
|
12092
|
+
type: Input
|
|
12093
|
+
}], acceptLabel: [{
|
|
12094
|
+
type: Input
|
|
12095
|
+
}], cancel: [{
|
|
12096
|
+
type: Input
|
|
12097
|
+
}], cancelLabel: [{
|
|
12098
|
+
type: Input
|
|
12099
|
+
}], now: [{
|
|
12100
|
+
type: Input
|
|
12101
|
+
}], nowLabel: [{
|
|
12102
|
+
type: Input
|
|
12103
|
+
}], toggle: [{
|
|
12104
|
+
type: Input
|
|
12105
|
+
}], hour: [{
|
|
12106
|
+
type: Input
|
|
12107
|
+
}], minute: [{
|
|
12108
|
+
type: Input
|
|
12109
|
+
}], second: [{
|
|
12110
|
+
type: Input
|
|
12111
|
+
}], millisecond: [{
|
|
12112
|
+
type: Input
|
|
12113
|
+
}], dayperiod: [{
|
|
12114
|
+
type: Input
|
|
12115
|
+
}], clearTitle: [{
|
|
12116
|
+
type: Input
|
|
12117
|
+
}] } });
|
|
12118
|
+
|
|
12140
12119
|
/**
|
|
12141
12120
|
* @hidden
|
|
12142
12121
|
*/
|
|
@@ -12147,7 +12126,7 @@ class TimeSelectorLocalizedMessagesDirective extends TimePickerMessages {
|
|
|
12147
12126
|
}
|
|
12148
12127
|
}
|
|
12149
12128
|
TimeSelectorLocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimeSelectorLocalizedMessagesDirective, deps: [{ token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
12150
|
-
TimeSelectorLocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: TimeSelectorLocalizedMessagesDirective, selector: "[kendoTimeSelectorLocalizedMessages]", providers: [
|
|
12129
|
+
TimeSelectorLocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: TimeSelectorLocalizedMessagesDirective, isStandalone: true, selector: "[kendoTimeSelectorLocalizedMessages]", providers: [
|
|
12151
12130
|
{
|
|
12152
12131
|
provide: TimePickerMessages,
|
|
12153
12132
|
useExisting: forwardRef(() => TimeSelectorLocalizedMessagesDirective)
|
|
@@ -12162,7 +12141,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
12162
12141
|
useExisting: forwardRef(() => TimeSelectorLocalizedMessagesDirective)
|
|
12163
12142
|
}
|
|
12164
12143
|
],
|
|
12165
|
-
selector: '[kendoTimeSelectorLocalizedMessages]'
|
|
12144
|
+
selector: '[kendoTimeSelectorLocalizedMessages]',
|
|
12145
|
+
standalone: true
|
|
12166
12146
|
}]
|
|
12167
12147
|
}], ctorParameters: function () { return [{ type: i1$1.LocalizationService }]; } });
|
|
12168
12148
|
|
|
@@ -12561,7 +12541,7 @@ class TimeSelectorComponent {
|
|
|
12561
12541
|
}
|
|
12562
12542
|
}
|
|
12563
12543
|
TimeSelectorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimeSelectorComponent, deps: [{ token: i1$1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i1.IntlService }, { token: TimePickerDOMService }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: PickerService, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
12564
|
-
TimeSelectorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TimeSelectorComponent, selector: "kendo-timeselector", inputs: { format: "format", min: "min", max: "max", cancelButton: "cancelButton", setButton: "setButton", nowButton: "nowButton", disabled: "disabled", isAdaptiveEnabled: "isAdaptiveEnabled", isDateTimePicker: "isDateTimePicker", steps: "steps", value: "value" }, outputs: { valueChange: "valueChange", valueReject: "valueReject", tabOutLastPart: "tabOutLastPart", tabOutNow: "tabOutNow" }, host: { properties: { "class.k-disabled": "this.disabledClass" } }, providers: [
|
|
12544
|
+
TimeSelectorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TimeSelectorComponent, isStandalone: true, selector: "kendo-timeselector", inputs: { format: "format", min: "min", max: "max", cancelButton: "cancelButton", setButton: "setButton", nowButton: "nowButton", disabled: "disabled", isAdaptiveEnabled: "isAdaptiveEnabled", isDateTimePicker: "isDateTimePicker", steps: "steps", value: "value" }, outputs: { valueChange: "valueChange", valueReject: "valueReject", tabOutLastPart: "tabOutLastPart", tabOutNow: "tabOutNow" }, host: { properties: { "class.k-disabled": "this.disabledClass" } }, providers: [
|
|
12565
12545
|
LocalizationService,
|
|
12566
12546
|
{
|
|
12567
12547
|
provide: L10N_PREFIX,
|
|
@@ -12675,7 +12655,7 @@ TimeSelectorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0",
|
|
|
12675
12655
|
[disabled]="disabled"
|
|
12676
12656
|
>{{localization.get('cancel')}}</button>
|
|
12677
12657
|
</div>
|
|
12678
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
12658
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: TimeSelectorLocalizedMessagesDirective, selector: "[kendoTimeSelectorLocalizedMessages]" }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: TimeListComponent, selector: "kendo-timelist", inputs: ["min", "max", "part", "step", "disabled", "value", "isLast"], outputs: ["valueChange", "tabOutLastPart"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
12679
12659
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimeSelectorComponent, decorators: [{
|
|
12680
12660
|
type: Component,
|
|
12681
12661
|
args: [{
|
|
@@ -12797,7 +12777,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
12797
12777
|
[disabled]="disabled"
|
|
12798
12778
|
>{{localization.get('cancel')}}</button>
|
|
12799
12779
|
</div>
|
|
12800
|
-
|
|
12780
|
+
`,
|
|
12781
|
+
standalone: true,
|
|
12782
|
+
imports: [TimeSelectorLocalizedMessagesDirective, NgIf, EventsOutsideAngularDirective, NgFor, TimeListComponent]
|
|
12801
12783
|
}]
|
|
12802
12784
|
}], ctorParameters: function () {
|
|
12803
12785
|
return [{ type: i1$1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i1.IntlService }, { type: TimePickerDOMService }, { type: i0.NgZone }, { type: i0.Renderer2 }, { type: PickerService, decorators: [{
|
|
@@ -12853,39 +12835,123 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
12853
12835
|
type: Output
|
|
12854
12836
|
}] } });
|
|
12855
12837
|
|
|
12856
|
-
const VALUE_DOC_LINK$1 = 'https://www.telerik.com/kendo-angular-ui/components/dateinputs/timepicker/#toc-integration-with-json';
|
|
12857
|
-
const INTL_DATE_FORMAT = 'https://github.com/telerik/kendo-intl/blob/master/docs/date-formatting/index.md';
|
|
12858
|
-
const formatRegExp = new RegExp(`${TIME_PART.hour}|${TIME_PART.minute}|${TIME_PART.second}|${TIME_PART.millisecond}|${TIME_PART.dayperiod}|literal`);
|
|
12859
|
-
const ACCEPT_BUTTON_SELECTOR$1 = '.k-button.k-time-accept';
|
|
12860
12838
|
/**
|
|
12861
|
-
*
|
|
12839
|
+
* @hidden
|
|
12862
12840
|
*/
|
|
12863
|
-
|
|
12864
|
-
|
|
12841
|
+
const timeRangeValidator = (min, max) => {
|
|
12842
|
+
return (control) => {
|
|
12843
|
+
if (!min || !max || !control.value) {
|
|
12844
|
+
return null;
|
|
12845
|
+
}
|
|
12846
|
+
const err = {
|
|
12847
|
+
timeRangeError: {
|
|
12848
|
+
maxValue: max,
|
|
12849
|
+
minValue: min,
|
|
12850
|
+
value: control.value
|
|
12851
|
+
}
|
|
12852
|
+
};
|
|
12853
|
+
return isInTimeRange(control.value, min, max) ? null : err;
|
|
12854
|
+
};
|
|
12855
|
+
};
|
|
12856
|
+
|
|
12857
|
+
/**
|
|
12858
|
+
* @hidden
|
|
12859
|
+
*
|
|
12860
|
+
* Custom component messages override default component messages.
|
|
12861
|
+
*/
|
|
12862
|
+
class TimeSelectorCustomMessagesComponent extends TimePickerMessages {
|
|
12863
|
+
constructor(service) {
|
|
12865
12864
|
super();
|
|
12866
|
-
this.
|
|
12867
|
-
|
|
12868
|
-
|
|
12869
|
-
|
|
12870
|
-
|
|
12871
|
-
|
|
12872
|
-
|
|
12873
|
-
|
|
12874
|
-
|
|
12875
|
-
|
|
12876
|
-
|
|
12877
|
-
|
|
12878
|
-
|
|
12879
|
-
|
|
12880
|
-
|
|
12881
|
-
|
|
12882
|
-
|
|
12883
|
-
|
|
12884
|
-
|
|
12885
|
-
|
|
12886
|
-
|
|
12887
|
-
|
|
12888
|
-
|
|
12865
|
+
this.service = service;
|
|
12866
|
+
}
|
|
12867
|
+
get override() {
|
|
12868
|
+
return true;
|
|
12869
|
+
}
|
|
12870
|
+
}
|
|
12871
|
+
TimeSelectorCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimeSelectorCustomMessagesComponent, deps: [{ token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
12872
|
+
TimeSelectorCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TimeSelectorCustomMessagesComponent, isStandalone: true, selector: "kendo-timeselector-messages", providers: [
|
|
12873
|
+
{
|
|
12874
|
+
provide: TimePickerMessages,
|
|
12875
|
+
useExisting: forwardRef(() => TimeSelectorCustomMessagesComponent)
|
|
12876
|
+
}
|
|
12877
|
+
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
12878
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimeSelectorCustomMessagesComponent, decorators: [{
|
|
12879
|
+
type: Component,
|
|
12880
|
+
args: [{
|
|
12881
|
+
providers: [
|
|
12882
|
+
{
|
|
12883
|
+
provide: TimePickerMessages,
|
|
12884
|
+
useExisting: forwardRef(() => TimeSelectorCustomMessagesComponent)
|
|
12885
|
+
}
|
|
12886
|
+
],
|
|
12887
|
+
selector: 'kendo-timeselector-messages',
|
|
12888
|
+
template: ``,
|
|
12889
|
+
standalone: true
|
|
12890
|
+
}]
|
|
12891
|
+
}], ctorParameters: function () { return [{ type: i1$1.LocalizationService }]; } });
|
|
12892
|
+
|
|
12893
|
+
/**
|
|
12894
|
+
* @hidden
|
|
12895
|
+
*/
|
|
12896
|
+
class TimePickerLocalizedMessagesDirective extends TimePickerMessages {
|
|
12897
|
+
constructor(service) {
|
|
12898
|
+
super();
|
|
12899
|
+
this.service = service;
|
|
12900
|
+
}
|
|
12901
|
+
}
|
|
12902
|
+
TimePickerLocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimePickerLocalizedMessagesDirective, deps: [{ token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
12903
|
+
TimePickerLocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: TimePickerLocalizedMessagesDirective, isStandalone: true, selector: "[kendoTimePickerLocalizedMessages]", providers: [
|
|
12904
|
+
{
|
|
12905
|
+
provide: TimePickerMessages,
|
|
12906
|
+
useExisting: forwardRef(() => TimePickerLocalizedMessagesDirective)
|
|
12907
|
+
}
|
|
12908
|
+
], usesInheritance: true, ngImport: i0 });
|
|
12909
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimePickerLocalizedMessagesDirective, decorators: [{
|
|
12910
|
+
type: Directive,
|
|
12911
|
+
args: [{
|
|
12912
|
+
providers: [
|
|
12913
|
+
{
|
|
12914
|
+
provide: TimePickerMessages,
|
|
12915
|
+
useExisting: forwardRef(() => TimePickerLocalizedMessagesDirective)
|
|
12916
|
+
}
|
|
12917
|
+
],
|
|
12918
|
+
selector: '[kendoTimePickerLocalizedMessages]',
|
|
12919
|
+
standalone: true
|
|
12920
|
+
}]
|
|
12921
|
+
}], ctorParameters: function () { return [{ type: i1$1.LocalizationService }]; } });
|
|
12922
|
+
|
|
12923
|
+
const VALUE_DOC_LINK$1 = 'https://www.telerik.com/kendo-angular-ui/components/dateinputs/timepicker/#toc-integration-with-json';
|
|
12924
|
+
const INTL_DATE_FORMAT = 'https://github.com/telerik/kendo-intl/blob/master/docs/date-formatting/index.md';
|
|
12925
|
+
const formatRegExp = new RegExp(`${TIME_PART.hour}|${TIME_PART.minute}|${TIME_PART.second}|${TIME_PART.millisecond}|${TIME_PART.dayperiod}|literal`);
|
|
12926
|
+
const ACCEPT_BUTTON_SELECTOR$1 = '.k-button.k-time-accept';
|
|
12927
|
+
/**
|
|
12928
|
+
* Represents the [Kendo UI TimePicker component for Angular](slug:overview_timepicker).
|
|
12929
|
+
*/
|
|
12930
|
+
class TimePickerComponent extends MultiTabStop {
|
|
12931
|
+
constructor(bus, zone, localization, cdr, popupService, wrapper, renderer, injector, pickerService, intl) {
|
|
12932
|
+
super();
|
|
12933
|
+
this.bus = bus;
|
|
12934
|
+
this.zone = zone;
|
|
12935
|
+
this.localization = localization;
|
|
12936
|
+
this.cdr = cdr;
|
|
12937
|
+
this.popupService = popupService;
|
|
12938
|
+
this.wrapper = wrapper;
|
|
12939
|
+
this.renderer = renderer;
|
|
12940
|
+
this.injector = injector;
|
|
12941
|
+
this.pickerService = pickerService;
|
|
12942
|
+
this.intl = intl;
|
|
12943
|
+
/**
|
|
12944
|
+
* @hidden
|
|
12945
|
+
*/
|
|
12946
|
+
this.clockIcon = clockIcon;
|
|
12947
|
+
/**
|
|
12948
|
+
* Sets or gets the `disabled` property of the TimePicker and
|
|
12949
|
+
* determines whether the component is active
|
|
12950
|
+
* ([see example]({% slug disabled_timepicker %})).
|
|
12951
|
+
* To learn how to disable the component in reactive forms, refer to the article on [Forms Support](slug:formssupport_timepicker#toc-managing-the-timepicker-disabled-state-in-reactive-forms).
|
|
12952
|
+
*/
|
|
12953
|
+
this.disabled = false;
|
|
12954
|
+
/**
|
|
12889
12955
|
* Sets the read-only state of the TimePicker
|
|
12890
12956
|
* ([see example]({% slug readonly_timepicker %}#toc-read-only-timepicker)).
|
|
12891
12957
|
*
|
|
@@ -12932,15 +12998,6 @@ class TimePickerComponent extends MultiTabStop {
|
|
|
12932
12998
|
* Determines whether the built-in validation for incomplete dates is to be enforced when a form is being validated.
|
|
12933
12999
|
*/
|
|
12934
13000
|
this.incompleteDateValidation = false;
|
|
12935
|
-
/**
|
|
12936
|
-
* @hidden
|
|
12937
|
-
*
|
|
12938
|
-
* Determines whether to auto correct invalid segments automatically.
|
|
12939
|
-
* TODO: To be fixed in common package before enabling: https://github.com/telerik/kendo-dateinputs-common/issues/24
|
|
12940
|
-
*
|
|
12941
|
-
* @default true
|
|
12942
|
-
*/
|
|
12943
|
-
this.autoCorrectParts = true;
|
|
12944
13001
|
/**
|
|
12945
13002
|
* Determines whether to automatically move to the next segment after the user completes the current one.
|
|
12946
13003
|
*
|
|
@@ -13683,7 +13740,7 @@ class TimePickerComponent extends MultiTabStop {
|
|
|
13683
13740
|
}
|
|
13684
13741
|
}
|
|
13685
13742
|
focusInput() {
|
|
13686
|
-
if (
|
|
13743
|
+
if (touchEnabled) {
|
|
13687
13744
|
return;
|
|
13688
13745
|
}
|
|
13689
13746
|
this.dateInput.focus();
|
|
@@ -13700,7 +13757,7 @@ class TimePickerComponent extends MultiTabStop {
|
|
|
13700
13757
|
this.timeSelector.focus();
|
|
13701
13758
|
}
|
|
13702
13759
|
}
|
|
13703
|
-
else if (!
|
|
13760
|
+
else if (!touchEnabled) {
|
|
13704
13761
|
this.dateInput.focus();
|
|
13705
13762
|
}
|
|
13706
13763
|
else if (!this.dateInput.isActive) {
|
|
@@ -13792,8 +13849,8 @@ class TimePickerComponent extends MultiTabStop {
|
|
|
13792
13849
|
}
|
|
13793
13850
|
}
|
|
13794
13851
|
}
|
|
13795
|
-
TimePickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimePickerComponent, deps: [{ token: BusViewService }, { token: i0.NgZone }, { token: i1$1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i1$3.PopupService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.Injector }, { token: PickerService }, { token: i1.IntlService }
|
|
13796
|
-
TimePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TimePickerComponent, selector: "kendo-timepicker", inputs: { focusableId: "focusableId", disabled: "disabled", readonly: "readonly", readOnlyInput: "readOnlyInput", clearButton: "clearButton", format: "format", formatPlaceholder: "formatPlaceholder", placeholder: "placeholder", min: "min", max: "max", incompleteDateValidation: "incompleteDateValidation",
|
|
13852
|
+
TimePickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimePickerComponent, deps: [{ token: BusViewService }, { token: i0.NgZone }, { token: i1$1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i1$3.PopupService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.Injector }, { token: PickerService }, { token: i1.IntlService }], target: i0.ɵɵFactoryTarget.Component });
|
|
13853
|
+
TimePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TimePickerComponent, isStandalone: true, selector: "kendo-timepicker", inputs: { focusableId: "focusableId", disabled: "disabled", readonly: "readonly", readOnlyInput: "readOnlyInput", clearButton: "clearButton", format: "format", formatPlaceholder: "formatPlaceholder", placeholder: "placeholder", min: "min", max: "max", incompleteDateValidation: "incompleteDateValidation", autoSwitchParts: "autoSwitchParts", autoSwitchKeys: "autoSwitchKeys", enableMouseWheel: "enableMouseWheel", allowCaretMode: "allowCaretMode", cancelButton: "cancelButton", nowButton: "nowButton", steps: "steps", popupSettings: "popupSettings", tabindex: "tabindex", tabIndex: "tabIndex", title: "title", subtitle: "subtitle", rangeValidation: "rangeValidation", adaptiveMode: "adaptiveMode", value: "value", size: "size", rounded: "rounded", fillMode: "fillMode", inputAttributes: "inputAttributes" }, outputs: { valueChange: "valueChange", onFocus: "focus", onBlur: "blur", open: "open", close: "close", escape: "escape" }, host: { properties: { "class.k-readonly": "this.readonly", "class.k-timepicker": "this.wrapperClasses", "class.k-input": "this.wrapperClasses", "class.k-disabled": "this.disabledClass" } }, providers: [
|
|
13797
13854
|
{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => TimePickerComponent), multi: true },
|
|
13798
13855
|
{ provide: NG_VALIDATORS, useExisting: forwardRef(() => TimePickerComponent), multi: true },
|
|
13799
13856
|
{ provide: KendoInput, useExisting: forwardRef(() => TimePickerComponent) },
|
|
@@ -13864,7 +13921,6 @@ TimePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ve
|
|
|
13864
13921
|
[min]="normalizeTime(min)"
|
|
13865
13922
|
[max]="normalizeTime(max)"
|
|
13866
13923
|
[incompleteDateValidation]="incompleteDateValidation"
|
|
13867
|
-
[autoCorrectParts]="autoCorrectParts"
|
|
13868
13924
|
[autoSwitchParts]="autoSwitchParts"
|
|
13869
13925
|
[autoSwitchKeys]="autoSwitchKeys"
|
|
13870
13926
|
[enableMouseWheel]="enableMouseWheel"
|
|
@@ -14010,7 +14066,7 @@ TimePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ve
|
|
|
14010
14066
|
</kendo-timeselector-messages>
|
|
14011
14067
|
</kendo-timeselector>
|
|
14012
14068
|
</ng-template>
|
|
14013
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
14069
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: TimePickerLocalizedMessagesDirective, selector: "[kendoTimePickerLocalizedMessages]" }, { kind: "component", type: DateInputComponent, selector: "kendo-dateinput", inputs: ["focusableId", "pickerType", "clearButton", "disabled", "readonly", "title", "tabindex", "role", "ariaReadOnly", "tabIndex", "isRequired", "format", "formatPlaceholder", "placeholder", "steps", "max", "min", "rangeValidation", "autoCorrectParts", "autoSwitchParts", "autoSwitchKeys", "allowCaretMode", "autoFill", "incompleteDateValidation", "twoDigitYearMax", "enableMouseWheel", "value", "spinners", "isPopupOpen", "hasPopup", "size", "rounded", "fillMode", "inputAttributes"], outputs: ["valueChange", "valueUpdate", "focus", "blur"], exportAs: ["kendo-dateinput"] }, { kind: "component", type: DateInputCustomMessagesComponent, selector: "kendo-dateinput-messages" }, { kind: "directive", type: EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { kind: "component", type: ActionSheetComponent, selector: "kendo-actionsheet", inputs: ["title", "subtitle", "items", "cssClass", "animation", "expanded", "titleId"], outputs: ["expandedChange", "expand", "collapse", "itemClick", "overlayClick"], exportAs: ["kendoActionSheet"] }, { kind: "directive", type: ActionSheetTemplateDirective, selector: "[kendoActionSheetTemplate]" }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "component", type: TimeSelectorComponent, selector: "kendo-timeselector", inputs: ["format", "min", "max", "cancelButton", "setButton", "nowButton", "disabled", "isAdaptiveEnabled", "isDateTimePicker", "steps", "value"], outputs: ["valueChange", "valueReject", "tabOutLastPart", "tabOutNow"], exportAs: ["kendo-timeselector"] }, { kind: "component", type: TimeSelectorCustomMessagesComponent, selector: "kendo-timeselector-messages" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
14014
14070
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimePickerComponent, decorators: [{
|
|
14015
14071
|
type: Component,
|
|
14016
14072
|
args: [{
|
|
@@ -14089,7 +14145,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
14089
14145
|
[min]="normalizeTime(min)"
|
|
14090
14146
|
[max]="normalizeTime(max)"
|
|
14091
14147
|
[incompleteDateValidation]="incompleteDateValidation"
|
|
14092
|
-
[autoCorrectParts]="autoCorrectParts"
|
|
14093
14148
|
[autoSwitchParts]="autoSwitchParts"
|
|
14094
14149
|
[autoSwitchKeys]="autoSwitchKeys"
|
|
14095
14150
|
[enableMouseWheel]="enableMouseWheel"
|
|
@@ -14235,16 +14290,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
14235
14290
|
</kendo-timeselector-messages>
|
|
14236
14291
|
</kendo-timeselector>
|
|
14237
14292
|
</ng-template>
|
|
14238
|
-
|
|
14293
|
+
`,
|
|
14294
|
+
standalone: true,
|
|
14295
|
+
imports: [TimePickerLocalizedMessagesDirective, DateInputComponent, DateInputCustomMessagesComponent, EventsOutsideAngularDirective, IconWrapperComponent, NgTemplateOutlet, NgIf, ResizeSensorComponent, ActionSheetComponent, ActionSheetTemplateDirective, ButtonComponent, TimeSelectorComponent, TimeSelectorCustomMessagesComponent]
|
|
14239
14296
|
}]
|
|
14240
|
-
}], ctorParameters: function () {
|
|
14241
|
-
return [{ type: BusViewService }, { type: i0.NgZone }, { type: i1$1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: i1$3.PopupService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.Injector }, { type: PickerService }, { type: i1.IntlService }, { type: undefined, decorators: [{
|
|
14242
|
-
type: Optional
|
|
14243
|
-
}, {
|
|
14244
|
-
type: Inject,
|
|
14245
|
-
args: [TOUCH_ENABLED]
|
|
14246
|
-
}] }];
|
|
14247
|
-
}, propDecorators: { container: [{
|
|
14297
|
+
}], ctorParameters: function () { return [{ type: BusViewService }, { type: i0.NgZone }, { type: i1$1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: i1$3.PopupService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.Injector }, { type: PickerService }, { type: i1.IntlService }]; }, propDecorators: { container: [{
|
|
14248
14298
|
type: ViewChild,
|
|
14249
14299
|
args: ['container', { read: ViewContainerRef, static: false }]
|
|
14250
14300
|
}], popupTemplate: [{
|
|
@@ -14281,8 +14331,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
14281
14331
|
type: Input
|
|
14282
14332
|
}], incompleteDateValidation: [{
|
|
14283
14333
|
type: Input
|
|
14284
|
-
}], autoCorrectParts: [{
|
|
14285
|
-
type: Input
|
|
14286
14334
|
}], autoSwitchParts: [{
|
|
14287
14335
|
type: Input
|
|
14288
14336
|
}], autoSwitchKeys: [{
|
|
@@ -14413,7 +14461,7 @@ class LocalizedMessagesDirective extends DateTimePickerMessages {
|
|
|
14413
14461
|
}
|
|
14414
14462
|
}
|
|
14415
14463
|
LocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LocalizedMessagesDirective, deps: [{ token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
14416
|
-
LocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LocalizedMessagesDirective, selector: "[kendoDateTimePickerLocalizedMessages]", providers: [
|
|
14464
|
+
LocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LocalizedMessagesDirective, isStandalone: true, selector: "[kendoDateTimePickerLocalizedMessages]", providers: [
|
|
14417
14465
|
{
|
|
14418
14466
|
provide: DateTimePickerMessages,
|
|
14419
14467
|
useExisting: forwardRef(() => LocalizedMessagesDirective)
|
|
@@ -14428,7 +14476,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
14428
14476
|
useExisting: forwardRef(() => LocalizedMessagesDirective)
|
|
14429
14477
|
}
|
|
14430
14478
|
],
|
|
14431
|
-
selector: '[kendoDateTimePickerLocalizedMessages]'
|
|
14479
|
+
selector: '[kendoDateTimePickerLocalizedMessages]',
|
|
14480
|
+
standalone: true
|
|
14432
14481
|
}]
|
|
14433
14482
|
}], ctorParameters: function () { return [{ type: i1$1.LocalizationService }]; } });
|
|
14434
14483
|
|
|
@@ -14447,7 +14496,7 @@ const TIME_TAB_BUTTON_SELECTOR = '.k-button.k-group-end';
|
|
|
14447
14496
|
* Represents the [Kendo UI DateTimePicker component for Angular]({% slug overview_datetimepicker %}).
|
|
14448
14497
|
*/
|
|
14449
14498
|
class DateTimePickerComponent extends MultiTabStop {
|
|
14450
|
-
constructor(popupService, intl, cdr, pickerService, ngZone, wrapper,
|
|
14499
|
+
constructor(popupService, intl, cdr, pickerService, ngZone, wrapper, localization, disabledDatesService, renderer, injector) {
|
|
14451
14500
|
super();
|
|
14452
14501
|
this.popupService = popupService;
|
|
14453
14502
|
this.intl = intl;
|
|
@@ -14455,7 +14504,6 @@ class DateTimePickerComponent extends MultiTabStop {
|
|
|
14455
14504
|
this.pickerService = pickerService;
|
|
14456
14505
|
this.ngZone = ngZone;
|
|
14457
14506
|
this.wrapper = wrapper;
|
|
14458
|
-
this.touchEnabled = touchEnabled;
|
|
14459
14507
|
this.localization = localization;
|
|
14460
14508
|
this.disabledDatesService = disabledDatesService;
|
|
14461
14509
|
this.renderer = renderer;
|
|
@@ -14560,10 +14608,7 @@ class DateTimePickerComponent extends MultiTabStop {
|
|
|
14560
14608
|
*/
|
|
14561
14609
|
this.incompleteDateValidation = false;
|
|
14562
14610
|
/**
|
|
14563
|
-
*
|
|
14564
|
-
*
|
|
14565
|
-
* Determines whether to auto correct invalid segments automatically.
|
|
14566
|
-
* TODO: To be fixed in common package before enabling: https://github.com/telerik/kendo-dateinputs-common/issues/24
|
|
14611
|
+
* Determines whether to autocorrect invalid segments automatically.
|
|
14567
14612
|
*
|
|
14568
14613
|
* @default true
|
|
14569
14614
|
*/
|
|
@@ -15601,7 +15646,7 @@ class DateTimePickerComponent extends MultiTabStop {
|
|
|
15601
15646
|
if (this.isOpen) {
|
|
15602
15647
|
this.activeTabComponent.focus();
|
|
15603
15648
|
}
|
|
15604
|
-
else if (!
|
|
15649
|
+
else if (!touchEnabled) {
|
|
15605
15650
|
this.dateInput.focus();
|
|
15606
15651
|
}
|
|
15607
15652
|
else if (!this.dateInput.isActive) {
|
|
@@ -15728,8 +15773,8 @@ class DateTimePickerComponent extends MultiTabStop {
|
|
|
15728
15773
|
}
|
|
15729
15774
|
}
|
|
15730
15775
|
}
|
|
15731
|
-
DateTimePickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateTimePickerComponent, deps: [{ token: i1$3.PopupService }, { token: i1.IntlService }, { token: i0.ChangeDetectorRef }, { token: PickerService }, { token: i0.NgZone }, { token: i0.ElementRef }, { token:
|
|
15732
|
-
DateTimePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: DateTimePickerComponent, selector: "kendo-datetimepicker", inputs: { focusableId: "focusableId", weekDaysFormat: "weekDaysFormat", showOtherMonthDays: "showOtherMonthDays", value: "value", format: "format", twoDigitYearMax: "twoDigitYearMax", tabindex: "tabindex", disabledDates: "disabledDates", popupSettings: "popupSettings", title: "title", subtitle: "subtitle", disabled: "disabled", readonly: "readonly", readOnlyInput: "readOnlyInput", cancelButton: "cancelButton", formatPlaceholder: "formatPlaceholder", placeholder: "placeholder", steps: "steps", focusedDate: "focusedDate", calendarType: "calendarType", animateCalendarNavigation: "animateCalendarNavigation", weekNumber: "weekNumber", min: "min", max: "max", rangeValidation: "rangeValidation", disabledDatesValidation: "disabledDatesValidation", incompleteDateValidation: "incompleteDateValidation", autoCorrectParts: "autoCorrectParts", autoSwitchParts: "autoSwitchParts", autoSwitchKeys: "autoSwitchKeys", enableMouseWheel: "enableMouseWheel", allowCaretMode: "allowCaretMode", clearButton: "clearButton", autoFill: "autoFill", adaptiveMode: "adaptiveMode", inputAttributes: "inputAttributes", defaultTab: "defaultTab", size: "size", rounded: "rounded", fillMode: "fillMode", headerTemplateRef: ["headerTemplate", "headerTemplateRef"], footerTemplateRef: ["footerTemplate", "footerTemplateRef"], footer: "footer" }, outputs: { valueChange: "valueChange", open: "open", close: "close", onFocus: "focus", onBlur: "blur", escape: "escape" }, host: { properties: { "class.k-datetimepicker": "this.hostClasses", "class.k-input": "this.hostClasses", "class.k-disabled": "this.disabledClass", "class.k-readonly": "this.readonly" } }, providers: [
|
|
15776
|
+
DateTimePickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateTimePickerComponent, deps: [{ token: i1$3.PopupService }, { token: i1.IntlService }, { token: i0.ChangeDetectorRef }, { token: PickerService }, { token: i0.NgZone }, { token: i0.ElementRef }, { token: i1$1.LocalizationService }, { token: DisabledDatesService }, { token: i0.Renderer2 }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
15777
|
+
DateTimePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: DateTimePickerComponent, isStandalone: true, selector: "kendo-datetimepicker", inputs: { focusableId: "focusableId", weekDaysFormat: "weekDaysFormat", showOtherMonthDays: "showOtherMonthDays", value: "value", format: "format", twoDigitYearMax: "twoDigitYearMax", tabindex: "tabindex", disabledDates: "disabledDates", popupSettings: "popupSettings", title: "title", subtitle: "subtitle", disabled: "disabled", readonly: "readonly", readOnlyInput: "readOnlyInput", cancelButton: "cancelButton", formatPlaceholder: "formatPlaceholder", placeholder: "placeholder", steps: "steps", focusedDate: "focusedDate", calendarType: "calendarType", animateCalendarNavigation: "animateCalendarNavigation", weekNumber: "weekNumber", min: "min", max: "max", rangeValidation: "rangeValidation", disabledDatesValidation: "disabledDatesValidation", incompleteDateValidation: "incompleteDateValidation", autoCorrectParts: "autoCorrectParts", autoSwitchParts: "autoSwitchParts", autoSwitchKeys: "autoSwitchKeys", enableMouseWheel: "enableMouseWheel", allowCaretMode: "allowCaretMode", clearButton: "clearButton", autoFill: "autoFill", adaptiveMode: "adaptiveMode", inputAttributes: "inputAttributes", defaultTab: "defaultTab", size: "size", rounded: "rounded", fillMode: "fillMode", headerTemplateRef: ["headerTemplate", "headerTemplateRef"], footerTemplateRef: ["footerTemplate", "footerTemplateRef"], footer: "footer" }, outputs: { valueChange: "valueChange", open: "open", close: "close", onFocus: "focus", onBlur: "blur", escape: "escape" }, host: { properties: { "class.k-datetimepicker": "this.hostClasses", "class.k-input": "this.hostClasses", "class.k-disabled": "this.disabledClass", "class.k-readonly": "this.readonly" } }, providers: [
|
|
15733
15778
|
PickerService,
|
|
15734
15779
|
LocalizationService,
|
|
15735
15780
|
DisabledDatesService,
|
|
@@ -16124,7 +16169,7 @@ DateTimePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0"
|
|
|
16124
16169
|
</div>
|
|
16125
16170
|
</div>
|
|
16126
16171
|
</ng-template>
|
|
16127
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
16172
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: LocalizedMessagesDirective, selector: "[kendoDateTimePickerLocalizedMessages]" }, { kind: "component", type: DateInputComponent, selector: "kendo-dateinput", inputs: ["focusableId", "pickerType", "clearButton", "disabled", "readonly", "title", "tabindex", "role", "ariaReadOnly", "tabIndex", "isRequired", "format", "formatPlaceholder", "placeholder", "steps", "max", "min", "rangeValidation", "autoCorrectParts", "autoSwitchParts", "autoSwitchKeys", "allowCaretMode", "autoFill", "incompleteDateValidation", "twoDigitYearMax", "enableMouseWheel", "value", "spinners", "isPopupOpen", "hasPopup", "size", "rounded", "fillMode", "inputAttributes"], outputs: ["valueChange", "valueUpdate", "focus", "blur"], exportAs: ["kendo-dateinput"] }, { kind: "directive", type: EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { kind: "component", type: DateInputCustomMessagesComponent, selector: "kendo-dateinput-messages" }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { kind: "component", type: ActionSheetComponent, selector: "kendo-actionsheet", inputs: ["title", "subtitle", "items", "cssClass", "animation", "expanded", "titleId"], outputs: ["expandedChange", "expand", "collapse", "itemClick", "overlayClick"], exportAs: ["kendoActionSheet"] }, { kind: "directive", type: ActionSheetTemplateDirective, selector: "[kendoActionSheetTemplate]" }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: CalendarComponent, selector: "kendo-calendar", inputs: ["showOtherMonthDays", "id", "focusedDate", "min", "max", "rangeValidation", "weekDaysFormat", "footer", "selection", "allowReverse", "value", "disabled", "tabindex", "tabIndex", "disabledDates", "navigation", "activeView", "bottomView", "topView", "type", "animateNavigation", "weekNumber", "cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "headerTitleTemplate", "headerTemplate", "footerTemplate", "navigationItemTemplate", "size", "activeRangeEnd"], outputs: ["activeViewChange", "navigate", "activeViewDateChange", "blur", "focus", "valueChange"], exportAs: ["kendo-calendar"] }, { kind: "component", type: CalendarCustomMessagesComponent, selector: "kendo-calendar-messages" }, { kind: "component", type: TimeSelectorComponent, selector: "kendo-timeselector", inputs: ["format", "min", "max", "cancelButton", "setButton", "nowButton", "disabled", "isAdaptiveEnabled", "isDateTimePicker", "steps", "value"], outputs: ["valueChange", "valueReject", "tabOutLastPart", "tabOutNow"], exportAs: ["kendo-timeselector"] }, { kind: "component", type: TimeSelectorCustomMessagesComponent, selector: "kendo-timeselector-messages" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
16128
16173
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateTimePickerComponent, decorators: [{
|
|
16129
16174
|
type: Component,
|
|
16130
16175
|
args: [{
|
|
@@ -16527,14 +16572,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
16527
16572
|
</div>
|
|
16528
16573
|
</div>
|
|
16529
16574
|
</ng-template>
|
|
16530
|
-
|
|
16575
|
+
`,
|
|
16576
|
+
standalone: true,
|
|
16577
|
+
imports: [LocalizedMessagesDirective, DateInputComponent, EventsOutsideAngularDirective, DateInputCustomMessagesComponent, NgIf, IconWrapperComponent, NgTemplateOutlet, ResizeSensorComponent, ActionSheetComponent, ActionSheetTemplateDirective, ButtonComponent, NgClass, CalendarComponent, CalendarCustomMessagesComponent, TimeSelectorComponent, TimeSelectorCustomMessagesComponent]
|
|
16531
16578
|
}]
|
|
16532
|
-
}], ctorParameters: function () {
|
|
16533
|
-
return [{ type: i1$3.PopupService }, { type: i1.IntlService }, { type: i0.ChangeDetectorRef }, { type: PickerService }, { type: i0.NgZone }, { type: i0.ElementRef }, { type: undefined, decorators: [{
|
|
16534
|
-
type: Inject,
|
|
16535
|
-
args: [TOUCH_ENABLED]
|
|
16536
|
-
}] }, { type: i1$1.LocalizationService }, { type: DisabledDatesService }, { type: i0.Renderer2 }, { type: i0.Injector }];
|
|
16537
|
-
}, propDecorators: { hostClasses: [{
|
|
16579
|
+
}], ctorParameters: function () { return [{ type: i1$3.PopupService }, { type: i1.IntlService }, { type: i0.ChangeDetectorRef }, { type: PickerService }, { type: i0.NgZone }, { type: i0.ElementRef }, { type: i1$1.LocalizationService }, { type: DisabledDatesService }, { type: i0.Renderer2 }, { type: i0.Injector }]; }, propDecorators: { hostClasses: [{
|
|
16538
16580
|
type: HostBinding,
|
|
16539
16581
|
args: ['class.k-datetimepicker']
|
|
16540
16582
|
}, {
|
|
@@ -16699,11 +16741,12 @@ class DateRangePopupTemplateDirective {
|
|
|
16699
16741
|
}
|
|
16700
16742
|
}
|
|
16701
16743
|
DateRangePopupTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateRangePopupTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
16702
|
-
DateRangePopupTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: DateRangePopupTemplateDirective, selector: "[kendoDateRangePopupTemplate]", ngImport: i0 });
|
|
16744
|
+
DateRangePopupTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: DateRangePopupTemplateDirective, isStandalone: true, selector: "[kendoDateRangePopupTemplate]", ngImport: i0 });
|
|
16703
16745
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateRangePopupTemplateDirective, decorators: [{
|
|
16704
16746
|
type: Directive,
|
|
16705
16747
|
args: [{
|
|
16706
|
-
selector: '[kendoDateRangePopupTemplate]'
|
|
16748
|
+
selector: '[kendoDateRangePopupTemplate]',
|
|
16749
|
+
standalone: true
|
|
16707
16750
|
}]
|
|
16708
16751
|
}], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
|
|
16709
16752
|
|
|
@@ -17105,11 +17148,12 @@ class DateRangeSelectionDirective {
|
|
|
17105
17148
|
}
|
|
17106
17149
|
}
|
|
17107
17150
|
DateRangeSelectionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateRangeSelectionDirective, deps: [{ token: MultiViewCalendarComponent }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: DateRangeService, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
17108
|
-
DateRangeSelectionDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: DateRangeSelectionDirective, selector: "[kendoDateRangeSelection]", inputs: { autoCorrectOn: "autoCorrectOn", selectionRange: "selectionRange", activeRangeEnd: "activeRangeEnd", shouldSetRange: "shouldSetRange" }, outputs: { activeRangeEndChange: "activeRangeEndChange", selectionRangeChange: "selectionRangeChange" }, ngImport: i0 });
|
|
17151
|
+
DateRangeSelectionDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: DateRangeSelectionDirective, isStandalone: true, selector: "[kendoDateRangeSelection]", inputs: { autoCorrectOn: "autoCorrectOn", selectionRange: "selectionRange", activeRangeEnd: "activeRangeEnd", shouldSetRange: "shouldSetRange" }, outputs: { activeRangeEndChange: "activeRangeEndChange", selectionRangeChange: "selectionRangeChange" }, ngImport: i0 });
|
|
17109
17152
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateRangeSelectionDirective, decorators: [{
|
|
17110
17153
|
type: Directive,
|
|
17111
17154
|
args: [{
|
|
17112
|
-
selector: '[kendoDateRangeSelection]'
|
|
17155
|
+
selector: '[kendoDateRangeSelection]',
|
|
17156
|
+
standalone: true
|
|
17113
17157
|
}]
|
|
17114
17158
|
}], ctorParameters: function () {
|
|
17115
17159
|
return [{ type: MultiViewCalendarComponent }, { type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: DateRangeService, decorators: [{
|
|
@@ -17162,7 +17206,7 @@ class DateRangePopupLocalizedMessagesDirective extends DateRangePopupMessages {
|
|
|
17162
17206
|
}
|
|
17163
17207
|
}
|
|
17164
17208
|
DateRangePopupLocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateRangePopupLocalizedMessagesDirective, deps: [{ token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
17165
|
-
DateRangePopupLocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: DateRangePopupLocalizedMessagesDirective, selector: "[kendoDateRangePopupLocalizedMessages]", providers: [
|
|
17209
|
+
DateRangePopupLocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: DateRangePopupLocalizedMessagesDirective, isStandalone: true, selector: "[kendoDateRangePopupLocalizedMessages]", providers: [
|
|
17166
17210
|
{
|
|
17167
17211
|
provide: DateRangePopupMessages,
|
|
17168
17212
|
useExisting: forwardRef(() => DateRangePopupLocalizedMessagesDirective)
|
|
@@ -17177,7 +17221,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
17177
17221
|
useExisting: forwardRef(() => DateRangePopupLocalizedMessagesDirective)
|
|
17178
17222
|
}
|
|
17179
17223
|
],
|
|
17180
|
-
selector: '[kendoDateRangePopupLocalizedMessages]'
|
|
17224
|
+
selector: '[kendoDateRangePopupLocalizedMessages]',
|
|
17225
|
+
standalone: true
|
|
17181
17226
|
}]
|
|
17182
17227
|
}], ctorParameters: function () { return [{ type: i1$1.LocalizationService }]; } });
|
|
17183
17228
|
|
|
@@ -17658,7 +17703,7 @@ class DateRangePopupComponent {
|
|
|
17658
17703
|
}
|
|
17659
17704
|
}
|
|
17660
17705
|
DateRangePopupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateRangePopupComponent, deps: [{ token: i1$3.PopupService }, { token: DateRangeService }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i1$1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: RTL, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
17661
|
-
DateRangePopupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: DateRangePopupComponent, selector: "kendo-daterange-popup", inputs: { allowReverse: "allowReverse", animate: "animate", anchor: "anchor", anchorAlign: "anchorAlign", appendTo: "appendTo", collision: "collision", popupAlign: "popupAlign", margin: "margin", adaptiveMode: "adaptiveMode", title: "title", subtitle: "subtitle", size: "size" }, outputs: { open: "open", close: "close", onBlur: "blur", onFocus: "focus", cancel: "cancel" }, providers: [
|
|
17706
|
+
DateRangePopupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: DateRangePopupComponent, isStandalone: true, selector: "kendo-daterange-popup", inputs: { allowReverse: "allowReverse", animate: "animate", anchor: "anchor", anchorAlign: "anchorAlign", appendTo: "appendTo", collision: "collision", popupAlign: "popupAlign", margin: "margin", adaptiveMode: "adaptiveMode", title: "title", subtitle: "subtitle", size: "size" }, outputs: { open: "open", close: "close", onBlur: "blur", onFocus: "focus", cancel: "cancel" }, providers: [
|
|
17662
17707
|
LocalizationService,
|
|
17663
17708
|
{
|
|
17664
17709
|
provide: L10N_PREFIX,
|
|
@@ -17764,7 +17809,7 @@ DateRangePopupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0"
|
|
|
17764
17809
|
</div>
|
|
17765
17810
|
</ng-template>
|
|
17766
17811
|
</kendo-actionsheet>
|
|
17767
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
17812
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: DateRangePopupLocalizedMessagesDirective, selector: "[kendoDateRangePopupLocalizedMessages]" }, { kind: "component", type: MultiViewCalendarComponent, selector: "kendo-multiviewcalendar", inputs: ["showOtherMonthDays", "showCalendarHeader", "size", "id", "focusedDate", "footer", "min", "max", "rangeValidation", "disabledDatesRangeValidation", "selection", "allowReverse", "value", "disabled", "tabindex", "tabIndex", "weekDaysFormat", "isActive", "disabledDates", "activeView", "bottomView", "topView", "showViewHeader", "animateNavigation", "weekNumber", "activeRangeEnd", "selectionRange", "views", "orientation", "cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "footerTemplate", "headerTitleTemplate", "headerTemplate"], outputs: ["activeViewChange", "navigate", "cellEnter", "cellLeave", "valueChange", "rangeSelectionChange", "blur", "focus", "focusCalendar", "onClosePopup", "onTabPress", "onShiftTabPress"], exportAs: ["kendo-multiviewcalendar"] }, { kind: "component", type: ActionSheetComponent, selector: "kendo-actionsheet", inputs: ["title", "subtitle", "items", "cssClass", "animation", "expanded", "titleId"], outputs: ["expandedChange", "expand", "collapse", "itemClick", "overlayClick"], exportAs: ["kendoActionSheet"] }, { kind: "directive", type: ActionSheetTemplateDirective, selector: "[kendoActionSheetTemplate]" }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
|
|
17768
17813
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateRangePopupComponent, decorators: [{
|
|
17769
17814
|
type: Component,
|
|
17770
17815
|
args: [{
|
|
@@ -17877,7 +17922,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
17877
17922
|
</div>
|
|
17878
17923
|
</ng-template>
|
|
17879
17924
|
</kendo-actionsheet>
|
|
17880
|
-
|
|
17925
|
+
`,
|
|
17926
|
+
standalone: true,
|
|
17927
|
+
imports: [DateRangePopupLocalizedMessagesDirective, MultiViewCalendarComponent, ActionSheetComponent, ActionSheetTemplateDirective, NgIf, ResizeSensorComponent, ButtonComponent]
|
|
17881
17928
|
}]
|
|
17882
17929
|
}], ctorParameters: function () {
|
|
17883
17930
|
return [{ type: i1$3.PopupService }, { type: DateRangeService }, { type: i0.NgZone }, { type: i0.Renderer2 }, { type: i1$1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: undefined, decorators: [{
|
|
@@ -18002,10 +18049,10 @@ class DateRangeComponent {
|
|
|
18002
18049
|
}
|
|
18003
18050
|
}
|
|
18004
18051
|
DateRangeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateRangeComponent, deps: [{ token: DateRangeService }], target: i0.ɵɵFactoryTarget.Component });
|
|
18005
|
-
DateRangeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: DateRangeComponent, selector: "kendo-daterange", inputs: { size: "size" }, host: { listeners: { "keydown": "keydown($event)" }, properties: { "class.k-daterangepicker": "this.wrapperClass" } }, providers: [DateRangeService], queries: [{ propertyName: "contentPopup", predicate: DateRangePopupComponent }], ngImport: i0, template: `
|
|
18052
|
+
DateRangeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: DateRangeComponent, isStandalone: true, selector: "kendo-daterange", inputs: { size: "size" }, host: { listeners: { "keydown": "keydown($event)" }, properties: { "class.k-daterangepicker": "this.wrapperClass" } }, providers: [DateRangeService], queries: [{ propertyName: "contentPopup", predicate: DateRangePopupComponent }], ngImport: i0, template: `
|
|
18006
18053
|
<ng-content></ng-content>
|
|
18007
18054
|
<kendo-daterange-popup *ngIf="showDefault" [size]="size"></kendo-daterange-popup>
|
|
18008
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
18055
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: DateRangePopupComponent, selector: "kendo-daterange-popup", inputs: ["allowReverse", "animate", "anchor", "anchorAlign", "appendTo", "collision", "popupAlign", "margin", "adaptiveMode", "title", "subtitle", "size"], outputs: ["open", "close", "blur", "focus", "cancel"], exportAs: ["kendo-daterange-popup"] }] });
|
|
18009
18056
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateRangeComponent, decorators: [{
|
|
18010
18057
|
type: Component,
|
|
18011
18058
|
args: [{
|
|
@@ -18014,7 +18061,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
18014
18061
|
template: `
|
|
18015
18062
|
<ng-content></ng-content>
|
|
18016
18063
|
<kendo-daterange-popup *ngIf="showDefault" [size]="size"></kendo-daterange-popup>
|
|
18017
|
-
|
|
18064
|
+
`,
|
|
18065
|
+
standalone: true,
|
|
18066
|
+
imports: [NgIf, DateRangePopupComponent]
|
|
18018
18067
|
}]
|
|
18019
18068
|
}], ctorParameters: function () { return [{ type: DateRangeService }]; }, propDecorators: { size: [{
|
|
18020
18069
|
type: Input
|
|
@@ -18212,11 +18261,12 @@ class DateRangeEndInputDirective extends DateRangeInput {
|
|
|
18212
18261
|
}
|
|
18213
18262
|
}
|
|
18214
18263
|
DateRangeEndInputDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateRangeEndInputDirective, deps: [{ token: DateRangeService }, { token: DateInputComponent }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
|
|
18215
|
-
DateRangeEndInputDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: DateRangeEndInputDirective, selector: "[kendoDateRangeEndInput]", inputs: { autoCorrectOn: "autoCorrectOn", navigateCalendarOnFocus: "navigateCalendarOnFocus" }, usesInheritance: true, ngImport: i0 });
|
|
18264
|
+
DateRangeEndInputDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: DateRangeEndInputDirective, isStandalone: true, selector: "[kendoDateRangeEndInput]", inputs: { autoCorrectOn: "autoCorrectOn", navigateCalendarOnFocus: "navigateCalendarOnFocus" }, usesInheritance: true, ngImport: i0 });
|
|
18216
18265
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateRangeEndInputDirective, decorators: [{
|
|
18217
18266
|
type: Directive,
|
|
18218
18267
|
args: [{
|
|
18219
|
-
selector: '[kendoDateRangeEndInput]'
|
|
18268
|
+
selector: '[kendoDateRangeEndInput]',
|
|
18269
|
+
standalone: true
|
|
18220
18270
|
}]
|
|
18221
18271
|
}], ctorParameters: function () { return [{ type: DateRangeService }, { type: DateInputComponent }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.NgZone }]; }, propDecorators: { autoCorrectOn: [{
|
|
18222
18272
|
type: Input
|
|
@@ -18293,11 +18343,12 @@ class DateRangeStartInputDirective extends DateRangeInput {
|
|
|
18293
18343
|
}
|
|
18294
18344
|
}
|
|
18295
18345
|
DateRangeStartInputDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateRangeStartInputDirective, deps: [{ token: DateRangeService }, { token: DateInputComponent }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
|
|
18296
|
-
DateRangeStartInputDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: DateRangeStartInputDirective, selector: "[kendoDateRangeStartInput]", inputs: { autoCorrectOn: "autoCorrectOn", navigateCalendarOnFocus: "navigateCalendarOnFocus" }, usesInheritance: true, ngImport: i0 });
|
|
18346
|
+
DateRangeStartInputDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: DateRangeStartInputDirective, isStandalone: true, selector: "[kendoDateRangeStartInput]", inputs: { autoCorrectOn: "autoCorrectOn", navigateCalendarOnFocus: "navigateCalendarOnFocus" }, usesInheritance: true, ngImport: i0 });
|
|
18297
18347
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateRangeStartInputDirective, decorators: [{
|
|
18298
18348
|
type: Directive,
|
|
18299
18349
|
args: [{
|
|
18300
|
-
selector: '[kendoDateRangeStartInput]'
|
|
18350
|
+
selector: '[kendoDateRangeStartInput]',
|
|
18351
|
+
standalone: true
|
|
18301
18352
|
}]
|
|
18302
18353
|
}], ctorParameters: function () { return [{ type: DateRangeService }, { type: DateInputComponent }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.NgZone }]; }, propDecorators: { autoCorrectOn: [{
|
|
18303
18354
|
type: Input
|
|
@@ -18306,238 +18357,252 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
18306
18357
|
}] } });
|
|
18307
18358
|
|
|
18308
18359
|
/**
|
|
18309
|
-
*
|
|
18310
|
-
*
|
|
18311
|
-
* The exported package module.
|
|
18312
|
-
*
|
|
18313
|
-
* The package exports:
|
|
18314
|
-
* - `HeaderComponent`—The component that renders the UI for vertical navigation.
|
|
18315
|
-
* - `ViewComponent`—The component that renders the active Calendar view.
|
|
18316
|
-
* - `FooterComponent`—The component that renders the Calendar footer.
|
|
18360
|
+
* Custom component messages override default component messages ([see example]({% slug globalization_dateinputs %}#toc-custom-messages)).
|
|
18317
18361
|
*/
|
|
18318
|
-
class
|
|
18362
|
+
class DatePickerCustomMessagesComponent extends DatePickerMessages {
|
|
18363
|
+
constructor(service) {
|
|
18364
|
+
super();
|
|
18365
|
+
this.service = service;
|
|
18366
|
+
}
|
|
18367
|
+
get override() {
|
|
18368
|
+
return true;
|
|
18369
|
+
}
|
|
18319
18370
|
}
|
|
18320
|
-
|
|
18321
|
-
|
|
18322
|
-
|
|
18323
|
-
|
|
18324
|
-
|
|
18325
|
-
|
|
18326
|
-
|
|
18327
|
-
|
|
18328
|
-
|
|
18329
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CalendarCommonModule, decorators: [{
|
|
18330
|
-
type: NgModule,
|
|
18371
|
+
DatePickerCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DatePickerCustomMessagesComponent, deps: [{ token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
18372
|
+
DatePickerCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: DatePickerCustomMessagesComponent, isStandalone: true, selector: "kendo-datepicker-messages", providers: [
|
|
18373
|
+
{
|
|
18374
|
+
provide: DatePickerMessages,
|
|
18375
|
+
useExisting: forwardRef(() => DatePickerCustomMessagesComponent)
|
|
18376
|
+
}
|
|
18377
|
+
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
18378
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DatePickerCustomMessagesComponent, decorators: [{
|
|
18379
|
+
type: Component,
|
|
18331
18380
|
args: [{
|
|
18332
|
-
|
|
18333
|
-
|
|
18334
|
-
|
|
18335
|
-
|
|
18336
|
-
|
|
18337
|
-
],
|
|
18338
|
-
exports: [
|
|
18339
|
-
KForOf,
|
|
18340
|
-
HeaderComponent,
|
|
18341
|
-
FooterComponent,
|
|
18342
|
-
ViewComponent
|
|
18381
|
+
providers: [
|
|
18382
|
+
{
|
|
18383
|
+
provide: DatePickerMessages,
|
|
18384
|
+
useExisting: forwardRef(() => DatePickerCustomMessagesComponent)
|
|
18385
|
+
}
|
|
18343
18386
|
],
|
|
18344
|
-
|
|
18387
|
+
selector: 'kendo-datepicker-messages',
|
|
18388
|
+
template: ``,
|
|
18389
|
+
standalone: true
|
|
18345
18390
|
}]
|
|
18346
|
-
}] });
|
|
18391
|
+
}], ctorParameters: function () { return [{ type: i1$1.LocalizationService }]; } });
|
|
18347
18392
|
|
|
18348
18393
|
/**
|
|
18349
|
-
*
|
|
18350
|
-
*
|
|
18351
|
-
* The exported package module.
|
|
18352
|
-
*
|
|
18353
|
-
* The package exports:
|
|
18354
|
-
* - `CellTemplateDirective`—The month cell template directive.
|
|
18355
|
-
* - `MonthCellTemplateDirective`—The month cell template directive.
|
|
18356
|
-
* - `YearCellTemplateDirective`—The year cell template directive.
|
|
18357
|
-
* - `DecadeCellTemplateDirective`—The decade cell template directive.
|
|
18358
|
-
* - `CenturyCellTemplateDirective`—The century cell template directive.
|
|
18359
|
-
* - `WeekNumberCellTemplateDirective`—The month week number cell template directive.
|
|
18360
|
-
* - `HeaderTitleTemplateDirective`—The header title template directive.
|
|
18361
|
-
* - `NavigationItemTemplateDirective`—The navigation item template directive.
|
|
18394
|
+
* Custom component messages override default component messages ([see example]({% slug globalization_dateinputs %}#toc-custom-messages)).
|
|
18362
18395
|
*/
|
|
18363
|
-
class
|
|
18396
|
+
class DateRangePopupCustomMessagesComponent extends DateRangePopupMessages {
|
|
18397
|
+
constructor(service) {
|
|
18398
|
+
super();
|
|
18399
|
+
this.service = service;
|
|
18400
|
+
}
|
|
18401
|
+
get override() {
|
|
18402
|
+
return true;
|
|
18403
|
+
}
|
|
18364
18404
|
}
|
|
18365
|
-
|
|
18366
|
-
|
|
18367
|
-
|
|
18368
|
-
|
|
18369
|
-
|
|
18370
|
-
|
|
18371
|
-
|
|
18372
|
-
|
|
18373
|
-
|
|
18374
|
-
HeaderTemplateDirective,
|
|
18375
|
-
FooterTemplateDirective], exports: [CellTemplateDirective,
|
|
18376
|
-
MonthCellTemplateDirective,
|
|
18377
|
-
YearCellTemplateDirective,
|
|
18378
|
-
DecadeCellTemplateDirective,
|
|
18379
|
-
CenturyCellTemplateDirective,
|
|
18380
|
-
WeekNumberCellTemplateDirective,
|
|
18381
|
-
HeaderTitleTemplateDirective,
|
|
18382
|
-
NavigationItemTemplateDirective,
|
|
18383
|
-
HeaderTemplateDirective,
|
|
18384
|
-
FooterTemplateDirective] });
|
|
18385
|
-
TemplatesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TemplatesModule });
|
|
18386
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TemplatesModule, decorators: [{
|
|
18387
|
-
type: NgModule,
|
|
18405
|
+
DateRangePopupCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateRangePopupCustomMessagesComponent, deps: [{ token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
18406
|
+
DateRangePopupCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: DateRangePopupCustomMessagesComponent, isStandalone: true, selector: "kendo-daterange-popup-messages", providers: [
|
|
18407
|
+
{
|
|
18408
|
+
provide: DateRangePopupMessages,
|
|
18409
|
+
useExisting: forwardRef(() => DateRangePopupCustomMessagesComponent)
|
|
18410
|
+
}
|
|
18411
|
+
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
18412
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateRangePopupCustomMessagesComponent, decorators: [{
|
|
18413
|
+
type: Component,
|
|
18388
18414
|
args: [{
|
|
18389
|
-
|
|
18390
|
-
|
|
18391
|
-
|
|
18392
|
-
|
|
18393
|
-
|
|
18394
|
-
CenturyCellTemplateDirective,
|
|
18395
|
-
WeekNumberCellTemplateDirective,
|
|
18396
|
-
HeaderTitleTemplateDirective,
|
|
18397
|
-
NavigationItemTemplateDirective,
|
|
18398
|
-
HeaderTemplateDirective,
|
|
18399
|
-
FooterTemplateDirective
|
|
18415
|
+
providers: [
|
|
18416
|
+
{
|
|
18417
|
+
provide: DateRangePopupMessages,
|
|
18418
|
+
useExisting: forwardRef(() => DateRangePopupCustomMessagesComponent)
|
|
18419
|
+
}
|
|
18400
18420
|
],
|
|
18401
|
-
|
|
18402
|
-
|
|
18403
|
-
|
|
18404
|
-
YearCellTemplateDirective,
|
|
18405
|
-
DecadeCellTemplateDirective,
|
|
18406
|
-
CenturyCellTemplateDirective,
|
|
18407
|
-
WeekNumberCellTemplateDirective,
|
|
18408
|
-
HeaderTitleTemplateDirective,
|
|
18409
|
-
NavigationItemTemplateDirective,
|
|
18410
|
-
HeaderTemplateDirective,
|
|
18411
|
-
FooterTemplateDirective
|
|
18412
|
-
]
|
|
18421
|
+
selector: 'kendo-daterange-popup-messages',
|
|
18422
|
+
template: ``,
|
|
18423
|
+
standalone: true
|
|
18413
18424
|
}]
|
|
18414
|
-
}] });
|
|
18425
|
+
}], ctorParameters: function () { return [{ type: i1$1.LocalizationService }]; } });
|
|
18415
18426
|
|
|
18416
18427
|
/**
|
|
18417
|
-
*
|
|
18418
|
-
* - `CellTemplateDirective`—The month cell template directive.
|
|
18419
|
-
* - `MonthCellTemplateDirective`—The month cell template directive.
|
|
18420
|
-
* - `YearCellTemplateDirective`—The year cell template directive.
|
|
18421
|
-
* - `DecadeCellTemplateDirective`—The decade cell template directive.
|
|
18422
|
-
* - `CenturyCellTemplateDirective`—The century cell template directive.
|
|
18423
|
-
* - `WeekNumberCellTemplateDirective`—The month week number cell template directive.
|
|
18424
|
-
* - `HeaderTitleTemplateDirective`—The header title template directive.
|
|
18425
|
-
*
|
|
18426
|
-
* @example
|
|
18427
|
-
*
|
|
18428
|
-
* ```ts-no-run
|
|
18429
|
-
* // Import the MultiViewCalendar module
|
|
18430
|
-
* import { MultiViewCalendarModule } from '@progress/kendo-angular-dateinputs';
|
|
18431
|
-
*
|
|
18432
|
-
* // The browser platform with a compiler
|
|
18433
|
-
* import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
|
|
18434
|
-
*
|
|
18435
|
-
* import { NgModule } from '@angular/core';
|
|
18436
|
-
*
|
|
18437
|
-
* // Import the app component
|
|
18438
|
-
* import { AppComponent } from './app.component';
|
|
18439
|
-
*
|
|
18440
|
-
* // Define the app module
|
|
18441
|
-
* _@NgModule({
|
|
18442
|
-
* declarations: [AppComponent], // declare app component
|
|
18443
|
-
* imports: [BrowserModule, MultiViewCalendarModule], // import MultiViewCalendar module
|
|
18444
|
-
* bootstrap: [AppComponent]
|
|
18445
|
-
* })
|
|
18446
|
-
* export class AppModule {}
|
|
18447
|
-
*
|
|
18448
|
-
* // Compile and launch the module
|
|
18449
|
-
* platformBrowserDynamic().bootstrapModule(AppModule);
|
|
18428
|
+
* Custom component messages override default component messages ([see example]({% slug globalization_dateinputs %}#toc-custom-messages)).
|
|
18450
18429
|
*/
|
|
18451
|
-
class
|
|
18430
|
+
class DateTimePickerCustomMessagesComponent extends DateTimePickerMessages {
|
|
18431
|
+
constructor(service) {
|
|
18432
|
+
super();
|
|
18433
|
+
this.service = service;
|
|
18434
|
+
}
|
|
18435
|
+
get override() {
|
|
18436
|
+
return true;
|
|
18437
|
+
}
|
|
18452
18438
|
}
|
|
18453
|
-
|
|
18454
|
-
|
|
18455
|
-
|
|
18456
|
-
|
|
18457
|
-
|
|
18458
|
-
|
|
18459
|
-
|
|
18460
|
-
|
|
18461
|
-
|
|
18462
|
-
EventsModule], exports: [HorizontalViewListComponent,
|
|
18463
|
-
MultiViewCalendarLocalizedMessagesDirective,
|
|
18464
|
-
MultiViewCalendarCustomMessagesComponent,
|
|
18465
|
-
MultiViewCalendarComponent,
|
|
18466
|
-
CalendarCommonModule,
|
|
18467
|
-
TemplatesModule] });
|
|
18468
|
-
MultiViewCalendarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MultiViewCalendarModule, providers: [
|
|
18469
|
-
NavigationService,
|
|
18470
|
-
CenturyViewService,
|
|
18471
|
-
DecadeViewService,
|
|
18472
|
-
MonthViewService,
|
|
18473
|
-
YearViewService,
|
|
18474
|
-
WeekNamesService
|
|
18475
|
-
], imports: [CommonModule,
|
|
18476
|
-
CalendarCommonModule,
|
|
18477
|
-
IntlModule,
|
|
18478
|
-
TemplatesModule,
|
|
18479
|
-
PopupModule,
|
|
18480
|
-
EventsModule, CalendarCommonModule,
|
|
18481
|
-
TemplatesModule] });
|
|
18482
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MultiViewCalendarModule, decorators: [{
|
|
18483
|
-
type: NgModule,
|
|
18439
|
+
DateTimePickerCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateTimePickerCustomMessagesComponent, deps: [{ token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
18440
|
+
DateTimePickerCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: DateTimePickerCustomMessagesComponent, isStandalone: true, selector: "kendo-datetimepicker-messages", providers: [
|
|
18441
|
+
{
|
|
18442
|
+
provide: DateTimePickerMessages,
|
|
18443
|
+
useExisting: forwardRef(() => DateTimePickerCustomMessagesComponent)
|
|
18444
|
+
}
|
|
18445
|
+
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
18446
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateTimePickerCustomMessagesComponent, decorators: [{
|
|
18447
|
+
type: Component,
|
|
18484
18448
|
args: [{
|
|
18485
|
-
declarations: [
|
|
18486
|
-
HorizontalViewListComponent,
|
|
18487
|
-
MultiViewCalendarLocalizedMessagesDirective,
|
|
18488
|
-
MultiViewCalendarCustomMessagesComponent,
|
|
18489
|
-
MultiViewCalendarComponent
|
|
18490
|
-
],
|
|
18491
|
-
exports: [
|
|
18492
|
-
HorizontalViewListComponent,
|
|
18493
|
-
MultiViewCalendarLocalizedMessagesDirective,
|
|
18494
|
-
MultiViewCalendarCustomMessagesComponent,
|
|
18495
|
-
MultiViewCalendarComponent,
|
|
18496
|
-
CalendarCommonModule,
|
|
18497
|
-
TemplatesModule
|
|
18498
|
-
],
|
|
18499
|
-
imports: [
|
|
18500
|
-
CommonModule,
|
|
18501
|
-
CalendarCommonModule,
|
|
18502
|
-
IntlModule,
|
|
18503
|
-
TemplatesModule,
|
|
18504
|
-
PopupModule,
|
|
18505
|
-
EventsModule
|
|
18506
|
-
],
|
|
18507
18449
|
providers: [
|
|
18508
|
-
|
|
18509
|
-
|
|
18510
|
-
|
|
18511
|
-
|
|
18512
|
-
|
|
18513
|
-
|
|
18514
|
-
|
|
18450
|
+
{
|
|
18451
|
+
provide: DateTimePickerMessages,
|
|
18452
|
+
useExisting: forwardRef(() => DateTimePickerCustomMessagesComponent)
|
|
18453
|
+
}
|
|
18454
|
+
],
|
|
18455
|
+
selector: 'kendo-datetimepicker-messages',
|
|
18456
|
+
template: ``,
|
|
18457
|
+
standalone: true
|
|
18515
18458
|
}]
|
|
18516
|
-
}] });
|
|
18459
|
+
}], ctorParameters: function () { return [{ type: i1$1.LocalizationService }]; } });
|
|
18517
18460
|
|
|
18518
|
-
const COMPONENT_DIRECTIVES$3 = [
|
|
18519
|
-
VirtualizationComponent
|
|
18520
|
-
];
|
|
18521
18461
|
/**
|
|
18522
|
-
*
|
|
18523
|
-
*
|
|
18524
|
-
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
18525
|
-
* definition for the Virtualization component.
|
|
18462
|
+
* Custom component messages override default component messages ([see example]({% slug globalization_dateinputs %}#toc-custom-messages)).
|
|
18526
18463
|
*/
|
|
18527
|
-
class
|
|
18464
|
+
class TimePickerCustomMessagesComponent extends TimePickerMessages {
|
|
18465
|
+
constructor(service) {
|
|
18466
|
+
super();
|
|
18467
|
+
this.service = service;
|
|
18468
|
+
}
|
|
18469
|
+
get override() {
|
|
18470
|
+
return true;
|
|
18471
|
+
}
|
|
18528
18472
|
}
|
|
18529
|
-
|
|
18530
|
-
|
|
18531
|
-
|
|
18532
|
-
|
|
18533
|
-
|
|
18473
|
+
TimePickerCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimePickerCustomMessagesComponent, deps: [{ token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
18474
|
+
TimePickerCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TimePickerCustomMessagesComponent, isStandalone: true, selector: "kendo-timepicker-messages", providers: [
|
|
18475
|
+
{
|
|
18476
|
+
provide: TimePickerMessages,
|
|
18477
|
+
useExisting: forwardRef(() => TimePickerCustomMessagesComponent)
|
|
18478
|
+
}
|
|
18479
|
+
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
18480
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimePickerCustomMessagesComponent, decorators: [{
|
|
18481
|
+
type: Component,
|
|
18534
18482
|
args: [{
|
|
18535
|
-
|
|
18536
|
-
|
|
18537
|
-
|
|
18483
|
+
providers: [
|
|
18484
|
+
{
|
|
18485
|
+
provide: TimePickerMessages,
|
|
18486
|
+
useExisting: forwardRef(() => TimePickerCustomMessagesComponent)
|
|
18487
|
+
}
|
|
18488
|
+
],
|
|
18489
|
+
selector: 'kendo-timepicker-messages',
|
|
18490
|
+
template: ``,
|
|
18491
|
+
standalone: true
|
|
18538
18492
|
}]
|
|
18539
|
-
}] });
|
|
18493
|
+
}], ctorParameters: function () { return [{ type: i1$1.LocalizationService }]; } });
|
|
18494
|
+
|
|
18495
|
+
/**
|
|
18496
|
+
* Utility array that contains all `Calendar` related components and directives
|
|
18497
|
+
*/
|
|
18498
|
+
const KENDO_CALENDAR = [
|
|
18499
|
+
CalendarCustomMessagesComponent,
|
|
18500
|
+
CalendarComponent,
|
|
18501
|
+
CellTemplateDirective,
|
|
18502
|
+
CenturyCellTemplateDirective,
|
|
18503
|
+
DecadeCellTemplateDirective,
|
|
18504
|
+
FooterTemplateDirective,
|
|
18505
|
+
HeaderTemplateDirective,
|
|
18506
|
+
HeaderTitleTemplateDirective,
|
|
18507
|
+
MonthCellTemplateDirective,
|
|
18508
|
+
NavigationItemTemplateDirective,
|
|
18509
|
+
WeekNumberCellTemplateDirective,
|
|
18510
|
+
YearCellTemplateDirective,
|
|
18511
|
+
NavigationItemTemplateDirective
|
|
18512
|
+
];
|
|
18513
|
+
/**
|
|
18514
|
+
* Utility array that contains all `MultiViewCalendar` related components and directives
|
|
18515
|
+
*/
|
|
18516
|
+
const KENDO_MULTIVIEWCALENDAR = [
|
|
18517
|
+
MultiViewCalendarCustomMessagesComponent,
|
|
18518
|
+
MultiViewCalendarComponent,
|
|
18519
|
+
CellTemplateDirective,
|
|
18520
|
+
CenturyCellTemplateDirective,
|
|
18521
|
+
DecadeCellTemplateDirective,
|
|
18522
|
+
FooterTemplateDirective,
|
|
18523
|
+
HeaderTemplateDirective,
|
|
18524
|
+
HeaderTitleTemplateDirective,
|
|
18525
|
+
MonthCellTemplateDirective,
|
|
18526
|
+
NavigationItemTemplateDirective,
|
|
18527
|
+
WeekNumberCellTemplateDirective,
|
|
18528
|
+
YearCellTemplateDirective
|
|
18529
|
+
];
|
|
18530
|
+
/**
|
|
18531
|
+
* Utility array that contains all `DateInput` related components and directives
|
|
18532
|
+
*/
|
|
18533
|
+
const KENDO_DATEINPUT = [
|
|
18534
|
+
DateInputCustomMessagesComponent,
|
|
18535
|
+
DateInputComponent
|
|
18536
|
+
];
|
|
18537
|
+
/**
|
|
18538
|
+
* Utility array that contains all `DatePicker` related components and directives
|
|
18539
|
+
*/
|
|
18540
|
+
const KENDO_DATEPICKER = [
|
|
18541
|
+
DatePickerCustomMessagesComponent,
|
|
18542
|
+
DatePickerComponent,
|
|
18543
|
+
CellTemplateDirective,
|
|
18544
|
+
CenturyCellTemplateDirective,
|
|
18545
|
+
DecadeCellTemplateDirective,
|
|
18546
|
+
FooterTemplateDirective,
|
|
18547
|
+
HeaderTemplateDirective,
|
|
18548
|
+
HeaderTitleTemplateDirective,
|
|
18549
|
+
MonthCellTemplateDirective,
|
|
18550
|
+
NavigationItemTemplateDirective,
|
|
18551
|
+
WeekNumberCellTemplateDirective,
|
|
18552
|
+
YearCellTemplateDirective,
|
|
18553
|
+
NavigationItemTemplateDirective
|
|
18554
|
+
];
|
|
18555
|
+
/**
|
|
18556
|
+
* Utility array that contains all `DateRange` related components and directives
|
|
18557
|
+
*/
|
|
18558
|
+
const KENDO_DATERANGE = [
|
|
18559
|
+
DateRangePopupCustomMessagesComponent,
|
|
18560
|
+
...KENDO_DATEINPUT,
|
|
18561
|
+
DateRangeEndInputDirective,
|
|
18562
|
+
DateRangePopupTemplateDirective,
|
|
18563
|
+
DateRangeComponent,
|
|
18564
|
+
DateRangePopupComponent,
|
|
18565
|
+
DateRangeSelectionDirective,
|
|
18566
|
+
DateRangeStartInputDirective
|
|
18567
|
+
];
|
|
18568
|
+
/**
|
|
18569
|
+
* Utility array that contains all `DateTimePicker` related components and directives
|
|
18570
|
+
*/
|
|
18571
|
+
const KENDO_DATETIMEPICKER = [
|
|
18572
|
+
DateTimePickerCustomMessagesComponent,
|
|
18573
|
+
DateTimePickerComponent,
|
|
18574
|
+
CellTemplateDirective,
|
|
18575
|
+
CenturyCellTemplateDirective,
|
|
18576
|
+
DecadeCellTemplateDirective,
|
|
18577
|
+
FooterTemplateDirective,
|
|
18578
|
+
HeaderTemplateDirective,
|
|
18579
|
+
HeaderTitleTemplateDirective,
|
|
18580
|
+
MonthCellTemplateDirective,
|
|
18581
|
+
NavigationItemTemplateDirective,
|
|
18582
|
+
WeekNumberCellTemplateDirective,
|
|
18583
|
+
YearCellTemplateDirective
|
|
18584
|
+
];
|
|
18585
|
+
/**
|
|
18586
|
+
* Utility array that contains all `TimePicker` related components and directives
|
|
18587
|
+
*/
|
|
18588
|
+
const KENDO_TIMEPICKER = [
|
|
18589
|
+
TimePickerCustomMessagesComponent,
|
|
18590
|
+
TimePickerComponent
|
|
18591
|
+
];
|
|
18592
|
+
/**
|
|
18593
|
+
* Utility array that contains all `@progress/kendo-angular-dateinputs` related components and directives
|
|
18594
|
+
*/
|
|
18595
|
+
const KENDO_DATEINPUTS = [
|
|
18596
|
+
...KENDO_CALENDAR,
|
|
18597
|
+
...KENDO_MULTIVIEWCALENDAR,
|
|
18598
|
+
...KENDO_DATEINPUT,
|
|
18599
|
+
...KENDO_DATEPICKER,
|
|
18600
|
+
...KENDO_DATERANGE,
|
|
18601
|
+
...KENDO_DATETIMEPICKER,
|
|
18602
|
+
...KENDO_TIMEPICKER
|
|
18603
|
+
];
|
|
18540
18604
|
|
|
18605
|
+
// IMPORTANT: NgModule export kept for backwards compatibility
|
|
18541
18606
|
/**
|
|
18542
18607
|
* The exported package module.
|
|
18543
18608
|
*
|
|
@@ -18581,80 +18646,40 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
18581
18646
|
class CalendarModule {
|
|
18582
18647
|
}
|
|
18583
18648
|
CalendarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CalendarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
18584
|
-
CalendarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: CalendarModule,
|
|
18585
|
-
NavigationComponent,
|
|
18586
|
-
CalendarCustomMessagesComponent,
|
|
18587
|
-
CalendarLocalizedMessagesDirective,
|
|
18588
|
-
ViewListComponent], imports: [CommonModule,
|
|
18589
|
-
CalendarCommonModule,
|
|
18590
|
-
MultiViewCalendarModule,
|
|
18591
|
-
IntlModule,
|
|
18592
|
-
TemplatesModule,
|
|
18593
|
-
VirtualizationModule,
|
|
18594
|
-
EventsModule,
|
|
18595
|
-
ResizeSensorModule], exports: [CalendarComponent,
|
|
18596
|
-
NavigationComponent,
|
|
18597
|
-
CalendarCustomMessagesComponent,
|
|
18598
|
-
CalendarLocalizedMessagesDirective,
|
|
18599
|
-
ViewListComponent,
|
|
18600
|
-
CalendarCommonModule,
|
|
18601
|
-
TemplatesModule] });
|
|
18649
|
+
CalendarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: CalendarModule, imports: [CalendarCustomMessagesComponent, CalendarComponent, CellTemplateDirective, CenturyCellTemplateDirective, DecadeCellTemplateDirective, FooterTemplateDirective, HeaderTemplateDirective, HeaderTitleTemplateDirective, MonthCellTemplateDirective, NavigationItemTemplateDirective, WeekNumberCellTemplateDirective, YearCellTemplateDirective, NavigationItemTemplateDirective], exports: [CalendarCustomMessagesComponent, CalendarComponent, CellTemplateDirective, CenturyCellTemplateDirective, DecadeCellTemplateDirective, FooterTemplateDirective, HeaderTemplateDirective, HeaderTitleTemplateDirective, MonthCellTemplateDirective, NavigationItemTemplateDirective, WeekNumberCellTemplateDirective, YearCellTemplateDirective, NavigationItemTemplateDirective] });
|
|
18602
18650
|
CalendarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CalendarModule, providers: [
|
|
18651
|
+
IconsService,
|
|
18652
|
+
ResizeBatchService,
|
|
18603
18653
|
CalendarDOMService,
|
|
18604
18654
|
CenturyViewService,
|
|
18605
18655
|
DecadeViewService,
|
|
18606
18656
|
MonthViewService,
|
|
18607
18657
|
YearViewService,
|
|
18608
|
-
WeekNamesService
|
|
18609
|
-
|
|
18610
|
-
|
|
18611
|
-
|
|
18612
|
-
IntlModule,
|
|
18613
|
-
TemplatesModule,
|
|
18614
|
-
VirtualizationModule,
|
|
18615
|
-
EventsModule,
|
|
18616
|
-
ResizeSensorModule, CalendarCommonModule,
|
|
18617
|
-
TemplatesModule] });
|
|
18658
|
+
WeekNamesService,
|
|
18659
|
+
PopupService,
|
|
18660
|
+
NavigationService
|
|
18661
|
+
], imports: [CalendarCustomMessagesComponent, CalendarComponent] });
|
|
18618
18662
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CalendarModule, decorators: [{
|
|
18619
18663
|
type: NgModule,
|
|
18620
18664
|
args: [{
|
|
18621
|
-
|
|
18622
|
-
|
|
18623
|
-
NavigationComponent,
|
|
18624
|
-
CalendarCustomMessagesComponent,
|
|
18625
|
-
CalendarLocalizedMessagesDirective,
|
|
18626
|
-
ViewListComponent
|
|
18627
|
-
],
|
|
18628
|
-
exports: [
|
|
18629
|
-
CalendarComponent,
|
|
18630
|
-
NavigationComponent,
|
|
18631
|
-
CalendarCustomMessagesComponent,
|
|
18632
|
-
CalendarLocalizedMessagesDirective,
|
|
18633
|
-
ViewListComponent,
|
|
18634
|
-
CalendarCommonModule,
|
|
18635
|
-
TemplatesModule
|
|
18636
|
-
],
|
|
18637
|
-
imports: [
|
|
18638
|
-
CommonModule,
|
|
18639
|
-
CalendarCommonModule,
|
|
18640
|
-
MultiViewCalendarModule,
|
|
18641
|
-
IntlModule,
|
|
18642
|
-
TemplatesModule,
|
|
18643
|
-
VirtualizationModule,
|
|
18644
|
-
EventsModule,
|
|
18645
|
-
ResizeSensorModule
|
|
18646
|
-
],
|
|
18665
|
+
exports: [...KENDO_CALENDAR],
|
|
18666
|
+
imports: [...KENDO_CALENDAR],
|
|
18647
18667
|
providers: [
|
|
18668
|
+
IconsService,
|
|
18669
|
+
ResizeBatchService,
|
|
18648
18670
|
CalendarDOMService,
|
|
18649
18671
|
CenturyViewService,
|
|
18650
18672
|
DecadeViewService,
|
|
18651
18673
|
MonthViewService,
|
|
18652
18674
|
YearViewService,
|
|
18653
|
-
WeekNamesService
|
|
18675
|
+
WeekNamesService,
|
|
18676
|
+
PopupService,
|
|
18677
|
+
NavigationService
|
|
18654
18678
|
]
|
|
18655
18679
|
}]
|
|
18656
18680
|
}] });
|
|
18657
18681
|
|
|
18682
|
+
// IMPORTANT: NgModule export kept for backwards compatibility
|
|
18658
18683
|
/**
|
|
18659
18684
|
* The exported package module.
|
|
18660
18685
|
*
|
|
@@ -18692,26 +18717,40 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
18692
18717
|
class CalendarsModule {
|
|
18693
18718
|
}
|
|
18694
18719
|
CalendarsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CalendarsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
18695
|
-
CalendarsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: CalendarsModule, imports: [
|
|
18696
|
-
|
|
18697
|
-
|
|
18698
|
-
|
|
18699
|
-
|
|
18700
|
-
|
|
18720
|
+
CalendarsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: CalendarsModule, imports: [CalendarCustomMessagesComponent, CalendarComponent, CellTemplateDirective, CenturyCellTemplateDirective, DecadeCellTemplateDirective, FooterTemplateDirective, HeaderTemplateDirective, HeaderTitleTemplateDirective, MonthCellTemplateDirective, NavigationItemTemplateDirective, WeekNumberCellTemplateDirective, YearCellTemplateDirective, NavigationItemTemplateDirective, MultiViewCalendarCustomMessagesComponent, MultiViewCalendarComponent, CellTemplateDirective, CenturyCellTemplateDirective, DecadeCellTemplateDirective, FooterTemplateDirective, HeaderTemplateDirective, HeaderTitleTemplateDirective, MonthCellTemplateDirective, NavigationItemTemplateDirective, WeekNumberCellTemplateDirective, YearCellTemplateDirective], exports: [CalendarCustomMessagesComponent, CalendarComponent, CellTemplateDirective, CenturyCellTemplateDirective, DecadeCellTemplateDirective, FooterTemplateDirective, HeaderTemplateDirective, HeaderTitleTemplateDirective, MonthCellTemplateDirective, NavigationItemTemplateDirective, WeekNumberCellTemplateDirective, YearCellTemplateDirective, NavigationItemTemplateDirective, MultiViewCalendarCustomMessagesComponent, MultiViewCalendarComponent, CellTemplateDirective, CenturyCellTemplateDirective, DecadeCellTemplateDirective, FooterTemplateDirective, HeaderTemplateDirective, HeaderTitleTemplateDirective, MonthCellTemplateDirective, NavigationItemTemplateDirective, WeekNumberCellTemplateDirective, YearCellTemplateDirective] });
|
|
18721
|
+
CalendarsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CalendarsModule, providers: [
|
|
18722
|
+
IconsService,
|
|
18723
|
+
ResizeBatchService,
|
|
18724
|
+
CalendarDOMService,
|
|
18725
|
+
CenturyViewService,
|
|
18726
|
+
DecadeViewService,
|
|
18727
|
+
MonthViewService,
|
|
18728
|
+
YearViewService,
|
|
18729
|
+
WeekNamesService,
|
|
18730
|
+
PopupService,
|
|
18731
|
+
NavigationService
|
|
18732
|
+
], imports: [CalendarCustomMessagesComponent, CalendarComponent, MultiViewCalendarCustomMessagesComponent, MultiViewCalendarComponent] });
|
|
18701
18733
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CalendarsModule, decorators: [{
|
|
18702
18734
|
type: NgModule,
|
|
18703
18735
|
args: [{
|
|
18704
|
-
exports: [
|
|
18705
|
-
|
|
18706
|
-
|
|
18707
|
-
|
|
18708
|
-
|
|
18709
|
-
|
|
18710
|
-
|
|
18736
|
+
exports: [...KENDO_CALENDAR, ...KENDO_MULTIVIEWCALENDAR],
|
|
18737
|
+
imports: [...KENDO_CALENDAR, ...KENDO_MULTIVIEWCALENDAR],
|
|
18738
|
+
providers: [
|
|
18739
|
+
IconsService,
|
|
18740
|
+
ResizeBatchService,
|
|
18741
|
+
CalendarDOMService,
|
|
18742
|
+
CenturyViewService,
|
|
18743
|
+
DecadeViewService,
|
|
18744
|
+
MonthViewService,
|
|
18745
|
+
YearViewService,
|
|
18746
|
+
WeekNamesService,
|
|
18747
|
+
PopupService,
|
|
18748
|
+
NavigationService
|
|
18711
18749
|
]
|
|
18712
18750
|
}]
|
|
18713
18751
|
}] });
|
|
18714
18752
|
|
|
18753
|
+
// IMPORTANT: NgModule export kept for backwards compatibility
|
|
18715
18754
|
/**
|
|
18716
18755
|
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
18717
18756
|
* definition for the DateInput component.
|
|
@@ -18719,90 +18758,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
18719
18758
|
class DateInputModule {
|
|
18720
18759
|
}
|
|
18721
18760
|
DateInputModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateInputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
18722
|
-
DateInputModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: DateInputModule,
|
|
18723
|
-
|
|
18724
|
-
|
|
18725
|
-
|
|
18726
|
-
DateInputLocalizedMessagesDirective] });
|
|
18727
|
-
DateInputModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateInputModule, imports: [CommonModule, IntlModule, EventsModule, IconsModule] });
|
|
18761
|
+
DateInputModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: DateInputModule, imports: [DateInputCustomMessagesComponent, DateInputComponent], exports: [DateInputCustomMessagesComponent, DateInputComponent] });
|
|
18762
|
+
DateInputModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateInputModule, providers: [
|
|
18763
|
+
IconsService
|
|
18764
|
+
], imports: [KENDO_DATEINPUT] });
|
|
18728
18765
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateInputModule, decorators: [{
|
|
18729
18766
|
type: NgModule,
|
|
18730
18767
|
args: [{
|
|
18731
|
-
|
|
18732
|
-
|
|
18733
|
-
DateInputCustomMessagesComponent,
|
|
18734
|
-
DateInputLocalizedMessagesDirective
|
|
18735
|
-
],
|
|
18736
|
-
exports: [
|
|
18737
|
-
DateInputComponent,
|
|
18738
|
-
DateInputCustomMessagesComponent,
|
|
18739
|
-
DateInputLocalizedMessagesDirective
|
|
18740
|
-
],
|
|
18741
|
-
imports: [CommonModule, IntlModule, EventsModule, IconsModule]
|
|
18742
|
-
}]
|
|
18743
|
-
}] });
|
|
18744
|
-
|
|
18745
|
-
/**
|
|
18746
|
-
* Custom component messages override default component messages ([see example]({% slug globalization_dateinputs %}#toc-custom-messages)).
|
|
18747
|
-
*/
|
|
18748
|
-
class DatePickerCustomMessagesComponent extends DatePickerMessages {
|
|
18749
|
-
constructor(service) {
|
|
18750
|
-
super();
|
|
18751
|
-
this.service = service;
|
|
18752
|
-
}
|
|
18753
|
-
get override() {
|
|
18754
|
-
return true;
|
|
18755
|
-
}
|
|
18756
|
-
}
|
|
18757
|
-
DatePickerCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DatePickerCustomMessagesComponent, deps: [{ token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
18758
|
-
DatePickerCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: DatePickerCustomMessagesComponent, selector: "kendo-datepicker-messages", providers: [
|
|
18759
|
-
{
|
|
18760
|
-
provide: DatePickerMessages,
|
|
18761
|
-
useExisting: forwardRef(() => DatePickerCustomMessagesComponent)
|
|
18762
|
-
}
|
|
18763
|
-
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
18764
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DatePickerCustomMessagesComponent, decorators: [{
|
|
18765
|
-
type: Component,
|
|
18766
|
-
args: [{
|
|
18768
|
+
exports: [...KENDO_DATEINPUT],
|
|
18769
|
+
imports: [...KENDO_DATEINPUT],
|
|
18767
18770
|
providers: [
|
|
18768
|
-
|
|
18769
|
-
|
|
18770
|
-
useExisting: forwardRef(() => DatePickerCustomMessagesComponent)
|
|
18771
|
-
}
|
|
18772
|
-
],
|
|
18773
|
-
selector: 'kendo-datepicker-messages',
|
|
18774
|
-
template: ``
|
|
18775
|
-
}]
|
|
18776
|
-
}], ctorParameters: function () { return [{ type: i1$1.LocalizationService }]; } });
|
|
18777
|
-
|
|
18778
|
-
const ADAPTIVE_MODULES = [
|
|
18779
|
-
NavigationModule,
|
|
18780
|
-
ResizeSensorModule,
|
|
18781
|
-
ButtonModule
|
|
18782
|
-
];
|
|
18783
|
-
/**
|
|
18784
|
-
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
18785
|
-
* definition for the modules specific to the Adaptive Mode.
|
|
18786
|
-
*/
|
|
18787
|
-
class AdaptiveModule {
|
|
18788
|
-
}
|
|
18789
|
-
AdaptiveModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AdaptiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
18790
|
-
AdaptiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: AdaptiveModule, imports: [NavigationModule,
|
|
18791
|
-
ResizeSensorModule,
|
|
18792
|
-
ButtonModule], exports: [NavigationModule,
|
|
18793
|
-
ResizeSensorModule,
|
|
18794
|
-
ButtonModule] });
|
|
18795
|
-
AdaptiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AdaptiveModule, imports: [ADAPTIVE_MODULES, NavigationModule,
|
|
18796
|
-
ResizeSensorModule,
|
|
18797
|
-
ButtonModule] });
|
|
18798
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AdaptiveModule, decorators: [{
|
|
18799
|
-
type: NgModule,
|
|
18800
|
-
args: [{
|
|
18801
|
-
imports: [...ADAPTIVE_MODULES],
|
|
18802
|
-
exports: [...ADAPTIVE_MODULES]
|
|
18771
|
+
IconsService
|
|
18772
|
+
]
|
|
18803
18773
|
}]
|
|
18804
18774
|
}] });
|
|
18805
18775
|
|
|
18776
|
+
// IMPORTANT: NgModule export kept for backwards compatibility
|
|
18806
18777
|
/**
|
|
18807
18778
|
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
18808
18779
|
* definition for the DatePicker component.
|
|
@@ -18810,127 +18781,53 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
18810
18781
|
class DatePickerModule {
|
|
18811
18782
|
}
|
|
18812
18783
|
DatePickerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DatePickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
18813
|
-
DatePickerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: DatePickerModule,
|
|
18814
|
-
|
|
18815
|
-
|
|
18816
|
-
|
|
18817
|
-
CalendarModule
|
|
18818
|
-
|
|
18819
|
-
|
|
18820
|
-
|
|
18821
|
-
|
|
18822
|
-
|
|
18823
|
-
|
|
18824
|
-
|
|
18825
|
-
|
|
18826
|
-
|
|
18827
|
-
|
|
18828
|
-
DatePickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DatePickerModule, providers: [{ provide: TOUCH_ENABLED, useValue: touchEnabled }], imports: [CommonModule,
|
|
18829
|
-
DateInputModule,
|
|
18830
|
-
CalendarModule,
|
|
18831
|
-
IntlModule,
|
|
18832
|
-
PopupModule,
|
|
18833
|
-
TemplatesModule,
|
|
18834
|
-
EventsModule,
|
|
18835
|
-
IconsModule,
|
|
18836
|
-
AdaptiveModule, TemplatesModule,
|
|
18837
|
-
ToggleButtonTabStopModule] });
|
|
18784
|
+
DatePickerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: DatePickerModule, imports: [DatePickerCustomMessagesComponent, DatePickerComponent, CellTemplateDirective, CenturyCellTemplateDirective, DecadeCellTemplateDirective, FooterTemplateDirective, HeaderTemplateDirective, HeaderTitleTemplateDirective, MonthCellTemplateDirective, NavigationItemTemplateDirective, WeekNumberCellTemplateDirective, YearCellTemplateDirective, NavigationItemTemplateDirective], exports: [DatePickerCustomMessagesComponent, DatePickerComponent, CellTemplateDirective, CenturyCellTemplateDirective, DecadeCellTemplateDirective, FooterTemplateDirective, HeaderTemplateDirective, HeaderTitleTemplateDirective, MonthCellTemplateDirective, NavigationItemTemplateDirective, WeekNumberCellTemplateDirective, YearCellTemplateDirective, NavigationItemTemplateDirective] });
|
|
18785
|
+
DatePickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DatePickerModule, providers: [
|
|
18786
|
+
// DateInputModule providers
|
|
18787
|
+
IconsService,
|
|
18788
|
+
// CalendarModule providers
|
|
18789
|
+
ResizeBatchService,
|
|
18790
|
+
CalendarDOMService,
|
|
18791
|
+
CenturyViewService,
|
|
18792
|
+
DecadeViewService,
|
|
18793
|
+
MonthViewService,
|
|
18794
|
+
YearViewService,
|
|
18795
|
+
WeekNamesService,
|
|
18796
|
+
PopupService,
|
|
18797
|
+
NavigationService
|
|
18798
|
+
], imports: [DatePickerCustomMessagesComponent, DatePickerComponent] });
|
|
18838
18799
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DatePickerModule, decorators: [{
|
|
18839
18800
|
type: NgModule,
|
|
18840
18801
|
args: [{
|
|
18841
|
-
|
|
18842
|
-
|
|
18843
|
-
DatePickerCustomMessagesComponent,
|
|
18844
|
-
DatePickerLocalizedMessagesDirective
|
|
18845
|
-
],
|
|
18846
|
-
exports: [
|
|
18847
|
-
DatePickerComponent,
|
|
18848
|
-
DatePickerCustomMessagesComponent,
|
|
18849
|
-
DatePickerLocalizedMessagesDirective,
|
|
18850
|
-
TemplatesModule,
|
|
18851
|
-
ToggleButtonTabStopModule
|
|
18852
|
-
],
|
|
18853
|
-
imports: [
|
|
18854
|
-
CommonModule,
|
|
18855
|
-
DateInputModule,
|
|
18856
|
-
CalendarModule,
|
|
18857
|
-
IntlModule,
|
|
18858
|
-
PopupModule,
|
|
18859
|
-
TemplatesModule,
|
|
18860
|
-
EventsModule,
|
|
18861
|
-
IconsModule,
|
|
18862
|
-
AdaptiveModule
|
|
18863
|
-
],
|
|
18864
|
-
providers: [{ provide: TOUCH_ENABLED, useValue: touchEnabled }]
|
|
18865
|
-
}]
|
|
18866
|
-
}] });
|
|
18867
|
-
|
|
18868
|
-
/**
|
|
18869
|
-
* Custom component messages override default component messages ([see example]({% slug globalization_dateinputs %}#toc-custom-messages)).
|
|
18870
|
-
*/
|
|
18871
|
-
class DateRangePopupCustomMessagesComponent extends DateRangePopupMessages {
|
|
18872
|
-
constructor(service) {
|
|
18873
|
-
super();
|
|
18874
|
-
this.service = service;
|
|
18875
|
-
}
|
|
18876
|
-
get override() {
|
|
18877
|
-
return true;
|
|
18878
|
-
}
|
|
18879
|
-
}
|
|
18880
|
-
DateRangePopupCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateRangePopupCustomMessagesComponent, deps: [{ token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
18881
|
-
DateRangePopupCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: DateRangePopupCustomMessagesComponent, selector: "kendo-daterange-popup-messages", providers: [
|
|
18882
|
-
{
|
|
18883
|
-
provide: DateRangePopupMessages,
|
|
18884
|
-
useExisting: forwardRef(() => DateRangePopupCustomMessagesComponent)
|
|
18885
|
-
}
|
|
18886
|
-
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
18887
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateRangePopupCustomMessagesComponent, decorators: [{
|
|
18888
|
-
type: Component,
|
|
18889
|
-
args: [{
|
|
18802
|
+
exports: [...KENDO_DATEPICKER],
|
|
18803
|
+
imports: [...KENDO_DATEPICKER],
|
|
18890
18804
|
providers: [
|
|
18891
|
-
|
|
18892
|
-
|
|
18893
|
-
|
|
18894
|
-
|
|
18895
|
-
|
|
18896
|
-
|
|
18897
|
-
|
|
18805
|
+
// DateInputModule providers
|
|
18806
|
+
IconsService,
|
|
18807
|
+
// CalendarModule providers
|
|
18808
|
+
ResizeBatchService,
|
|
18809
|
+
CalendarDOMService,
|
|
18810
|
+
CenturyViewService,
|
|
18811
|
+
DecadeViewService,
|
|
18812
|
+
MonthViewService,
|
|
18813
|
+
YearViewService,
|
|
18814
|
+
WeekNamesService,
|
|
18815
|
+
PopupService,
|
|
18816
|
+
NavigationService
|
|
18817
|
+
]
|
|
18898
18818
|
}]
|
|
18899
|
-
}]
|
|
18819
|
+
}] });
|
|
18900
18820
|
|
|
18901
|
-
|
|
18902
|
-
DateRangeComponent,
|
|
18903
|
-
DateRangePopupComponent,
|
|
18904
|
-
DateRangePopupTemplateDirective,
|
|
18905
|
-
DateRangeSelectionDirective,
|
|
18906
|
-
DateRangeStartInputDirective,
|
|
18907
|
-
DateRangeEndInputDirective,
|
|
18908
|
-
DateRangePopupCustomMessagesComponent,
|
|
18909
|
-
DateRangePopupLocalizedMessagesDirective
|
|
18910
|
-
];
|
|
18911
|
-
const COMPONENT_MODULES$2 = [
|
|
18912
|
-
MultiViewCalendarModule,
|
|
18913
|
-
DateInputModule,
|
|
18914
|
-
PopupModule,
|
|
18915
|
-
EventsModule,
|
|
18916
|
-
AdaptiveModule
|
|
18917
|
-
];
|
|
18821
|
+
// IMPORTANT: NgModule export kept for backwards compatibility
|
|
18918
18822
|
/**
|
|
18919
|
-
*
|
|
18920
|
-
*
|
|
18921
|
-
* The package exports:
|
|
18922
|
-
* - `DateRangeComponent`—The DateRange component class.
|
|
18923
|
-
* - `DateRangePopupComponent`—The DateRangePopup component class.
|
|
18924
|
-
* - `DateRangeSelectionDirective`—The MultiviewCalendar date range selection directive.
|
|
18925
|
-
* - `DateRangeEndInputDirective`—The end DateInput date range selection directive.
|
|
18926
|
-
* - `DateRangeStartInputDirective`—The start DateInput date range selection directive.
|
|
18927
|
-
* - `DateRangePopupTemplateDirective`—The DateRangePopup content template directive.
|
|
18823
|
+
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
18824
|
+
* definition for the Date Inputs components.
|
|
18928
18825
|
*
|
|
18929
18826
|
* @example
|
|
18930
18827
|
*
|
|
18931
18828
|
* ```ts-no-run
|
|
18932
|
-
* // Import the
|
|
18933
|
-
* import {
|
|
18829
|
+
* // Import the Date Inputs module
|
|
18830
|
+
* import { DateInputsModule } from '@progress/kendo-angular-dateinputs';
|
|
18934
18831
|
*
|
|
18935
18832
|
* // The browser platform with a compiler
|
|
18936
18833
|
* import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
|
|
@@ -18942,8 +18839,8 @@ const COMPONENT_MODULES$2 = [
|
|
|
18942
18839
|
*
|
|
18943
18840
|
* // Define the app module
|
|
18944
18841
|
* _@NgModule({
|
|
18945
|
-
* declarations: [AppComponent], // declare app component
|
|
18946
|
-
* imports: [BrowserModule,
|
|
18842
|
+
* declarations: [AppComponent], // declare the app component
|
|
18843
|
+
* imports: [BrowserModule, DateInputsModule], // import the Date Inputs module
|
|
18947
18844
|
* bootstrap: [AppComponent]
|
|
18948
18845
|
* })
|
|
18949
18846
|
* export class AppModule {}
|
|
@@ -18953,102 +18850,59 @@ const COMPONENT_MODULES$2 = [
|
|
|
18953
18850
|
*
|
|
18954
18851
|
* ```
|
|
18955
18852
|
*/
|
|
18956
|
-
class
|
|
18853
|
+
class DateInputsModule {
|
|
18957
18854
|
}
|
|
18958
|
-
|
|
18959
|
-
|
|
18960
|
-
|
|
18961
|
-
|
|
18962
|
-
|
|
18963
|
-
|
|
18964
|
-
|
|
18965
|
-
|
|
18966
|
-
|
|
18967
|
-
|
|
18968
|
-
|
|
18969
|
-
|
|
18970
|
-
|
|
18971
|
-
|
|
18972
|
-
|
|
18973
|
-
|
|
18974
|
-
|
|
18975
|
-
|
|
18976
|
-
|
|
18977
|
-
|
|
18978
|
-
|
|
18979
|
-
|
|
18855
|
+
DateInputsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateInputsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
18856
|
+
DateInputsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: DateInputsModule, imports: [CalendarCustomMessagesComponent, CalendarComponent, CellTemplateDirective, CenturyCellTemplateDirective, DecadeCellTemplateDirective, FooterTemplateDirective, HeaderTemplateDirective, HeaderTitleTemplateDirective, MonthCellTemplateDirective, NavigationItemTemplateDirective, WeekNumberCellTemplateDirective, YearCellTemplateDirective, NavigationItemTemplateDirective, MultiViewCalendarCustomMessagesComponent, MultiViewCalendarComponent, CellTemplateDirective, CenturyCellTemplateDirective, DecadeCellTemplateDirective, FooterTemplateDirective, HeaderTemplateDirective, HeaderTitleTemplateDirective, MonthCellTemplateDirective, NavigationItemTemplateDirective, WeekNumberCellTemplateDirective, YearCellTemplateDirective, DateInputCustomMessagesComponent, DateInputComponent, DatePickerCustomMessagesComponent, DatePickerComponent, CellTemplateDirective, CenturyCellTemplateDirective, DecadeCellTemplateDirective, FooterTemplateDirective, HeaderTemplateDirective, HeaderTitleTemplateDirective, MonthCellTemplateDirective, NavigationItemTemplateDirective, WeekNumberCellTemplateDirective, YearCellTemplateDirective, NavigationItemTemplateDirective, DateRangePopupCustomMessagesComponent, DateInputCustomMessagesComponent, DateInputComponent, DateRangeEndInputDirective, DateRangePopupTemplateDirective, DateRangeComponent, DateRangePopupComponent, DateRangeSelectionDirective, DateRangeStartInputDirective, DateTimePickerCustomMessagesComponent, DateTimePickerComponent, CellTemplateDirective, CenturyCellTemplateDirective, DecadeCellTemplateDirective, FooterTemplateDirective, HeaderTemplateDirective, HeaderTitleTemplateDirective, MonthCellTemplateDirective, NavigationItemTemplateDirective, WeekNumberCellTemplateDirective, YearCellTemplateDirective, TimePickerCustomMessagesComponent, TimePickerComponent], exports: [CalendarCustomMessagesComponent, CalendarComponent, CellTemplateDirective, CenturyCellTemplateDirective, DecadeCellTemplateDirective, FooterTemplateDirective, HeaderTemplateDirective, HeaderTitleTemplateDirective, MonthCellTemplateDirective, NavigationItemTemplateDirective, WeekNumberCellTemplateDirective, YearCellTemplateDirective, NavigationItemTemplateDirective, MultiViewCalendarCustomMessagesComponent, MultiViewCalendarComponent, CellTemplateDirective, CenturyCellTemplateDirective, DecadeCellTemplateDirective, FooterTemplateDirective, HeaderTemplateDirective, HeaderTitleTemplateDirective, MonthCellTemplateDirective, NavigationItemTemplateDirective, WeekNumberCellTemplateDirective, YearCellTemplateDirective, DateInputCustomMessagesComponent, DateInputComponent, DatePickerCustomMessagesComponent, DatePickerComponent, CellTemplateDirective, CenturyCellTemplateDirective, DecadeCellTemplateDirective, FooterTemplateDirective, HeaderTemplateDirective, HeaderTitleTemplateDirective, MonthCellTemplateDirective, NavigationItemTemplateDirective, WeekNumberCellTemplateDirective, YearCellTemplateDirective, NavigationItemTemplateDirective, DateRangePopupCustomMessagesComponent, DateInputCustomMessagesComponent, DateInputComponent, DateRangeEndInputDirective, DateRangePopupTemplateDirective, DateRangeComponent, DateRangePopupComponent, DateRangeSelectionDirective, DateRangeStartInputDirective, DateTimePickerCustomMessagesComponent, DateTimePickerComponent, CellTemplateDirective, CenturyCellTemplateDirective, DecadeCellTemplateDirective, FooterTemplateDirective, HeaderTemplateDirective, HeaderTitleTemplateDirective, MonthCellTemplateDirective, NavigationItemTemplateDirective, WeekNumberCellTemplateDirective, YearCellTemplateDirective, TimePickerCustomMessagesComponent, TimePickerComponent] });
|
|
18857
|
+
DateInputsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateInputsModule, providers: [
|
|
18858
|
+
// CalendarModule providers
|
|
18859
|
+
IconsService,
|
|
18860
|
+
ResizeBatchService,
|
|
18861
|
+
CalendarDOMService,
|
|
18862
|
+
CenturyViewService,
|
|
18863
|
+
DecadeViewService,
|
|
18864
|
+
MonthViewService,
|
|
18865
|
+
YearViewService,
|
|
18866
|
+
WeekNamesService,
|
|
18867
|
+
PopupService,
|
|
18868
|
+
NavigationService,
|
|
18869
|
+
// TimePickerModule providers
|
|
18870
|
+
TimePickerDOMService,
|
|
18871
|
+
HoursService,
|
|
18872
|
+
MinutesService,
|
|
18873
|
+
SecondsService,
|
|
18874
|
+
MillisecondsService,
|
|
18875
|
+
DayPeriodService
|
|
18876
|
+
], imports: [CalendarCustomMessagesComponent, CalendarComponent, MultiViewCalendarCustomMessagesComponent, MultiViewCalendarComponent, DateInputCustomMessagesComponent, DateInputComponent, DatePickerCustomMessagesComponent, DatePickerComponent, DateRangePopupCustomMessagesComponent, DateInputCustomMessagesComponent, DateInputComponent, DateRangeComponent, DateRangePopupComponent, DateTimePickerCustomMessagesComponent, DateTimePickerComponent, TimePickerCustomMessagesComponent, TimePickerComponent] });
|
|
18877
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateInputsModule, decorators: [{
|
|
18980
18878
|
type: NgModule,
|
|
18981
18879
|
args: [{
|
|
18982
|
-
|
|
18983
|
-
|
|
18984
|
-
imports: [CommonModule, COMPONENT_MODULES$2]
|
|
18985
|
-
}]
|
|
18986
|
-
}] });
|
|
18987
|
-
|
|
18988
|
-
/**
|
|
18989
|
-
* Custom component messages override default component messages ([see example]({% slug globalization_dateinputs %}#toc-custom-messages)).
|
|
18990
|
-
*/
|
|
18991
|
-
class TimePickerCustomMessagesComponent extends TimePickerMessages {
|
|
18992
|
-
constructor(service) {
|
|
18993
|
-
super();
|
|
18994
|
-
this.service = service;
|
|
18995
|
-
}
|
|
18996
|
-
get override() {
|
|
18997
|
-
return true;
|
|
18998
|
-
}
|
|
18999
|
-
}
|
|
19000
|
-
TimePickerCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimePickerCustomMessagesComponent, deps: [{ token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
19001
|
-
TimePickerCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TimePickerCustomMessagesComponent, selector: "kendo-timepicker-messages", providers: [
|
|
19002
|
-
{
|
|
19003
|
-
provide: TimePickerMessages,
|
|
19004
|
-
useExisting: forwardRef(() => TimePickerCustomMessagesComponent)
|
|
19005
|
-
}
|
|
19006
|
-
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
19007
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimePickerCustomMessagesComponent, decorators: [{
|
|
19008
|
-
type: Component,
|
|
19009
|
-
args: [{
|
|
18880
|
+
exports: [...KENDO_DATEINPUTS],
|
|
18881
|
+
imports: [...KENDO_DATEINPUTS],
|
|
19010
18882
|
providers: [
|
|
19011
|
-
|
|
19012
|
-
|
|
19013
|
-
|
|
19014
|
-
|
|
19015
|
-
|
|
19016
|
-
|
|
19017
|
-
|
|
18883
|
+
// CalendarModule providers
|
|
18884
|
+
IconsService,
|
|
18885
|
+
ResizeBatchService,
|
|
18886
|
+
CalendarDOMService,
|
|
18887
|
+
CenturyViewService,
|
|
18888
|
+
DecadeViewService,
|
|
18889
|
+
MonthViewService,
|
|
18890
|
+
YearViewService,
|
|
18891
|
+
WeekNamesService,
|
|
18892
|
+
PopupService,
|
|
18893
|
+
NavigationService,
|
|
18894
|
+
// TimePickerModule providers
|
|
18895
|
+
TimePickerDOMService,
|
|
18896
|
+
HoursService,
|
|
18897
|
+
MinutesService,
|
|
18898
|
+
SecondsService,
|
|
18899
|
+
MillisecondsService,
|
|
18900
|
+
DayPeriodService
|
|
18901
|
+
]
|
|
19018
18902
|
}]
|
|
19019
|
-
}]
|
|
18903
|
+
}] });
|
|
19020
18904
|
|
|
19021
|
-
|
|
19022
|
-
TimePickerLocalizedMessagesDirective,
|
|
19023
|
-
TimeListComponent,
|
|
19024
|
-
TimePickerCustomMessagesComponent,
|
|
19025
|
-
TimePickerComponent,
|
|
19026
|
-
TimeSelectorLocalizedMessagesDirective,
|
|
19027
|
-
TimeSelectorCustomMessagesComponent,
|
|
19028
|
-
TimeSelectorComponent
|
|
19029
|
-
];
|
|
19030
|
-
const COMPONENT_MODULES$1 = [
|
|
19031
|
-
DateInputModule,
|
|
19032
|
-
IntlModule,
|
|
19033
|
-
PopupModule,
|
|
19034
|
-
VirtualizationModule,
|
|
19035
|
-
EventsModule,
|
|
19036
|
-
IconsModule,
|
|
19037
|
-
AdaptiveModule,
|
|
19038
|
-
ToggleButtonTabStopModule
|
|
19039
|
-
];
|
|
19040
|
-
const providers = [
|
|
19041
|
-
TimePickerDOMService,
|
|
19042
|
-
HoursService,
|
|
19043
|
-
MinutesService,
|
|
19044
|
-
SecondsService,
|
|
19045
|
-
MillisecondsService,
|
|
19046
|
-
DayPeriodService,
|
|
19047
|
-
{
|
|
19048
|
-
provide: TOUCH_ENABLED,
|
|
19049
|
-
useValue: touchEnabled
|
|
19050
|
-
}
|
|
19051
|
-
];
|
|
18905
|
+
// IMPORTANT: NgModule export kept for backwards compatibility
|
|
19052
18906
|
/**
|
|
19053
18907
|
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
19054
18908
|
* definition for the TimePicker component.
|
|
@@ -19056,156 +18910,177 @@ const providers = [
|
|
|
19056
18910
|
class TimePickerModule {
|
|
19057
18911
|
}
|
|
19058
18912
|
TimePickerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimePickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
19059
|
-
TimePickerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: TimePickerModule,
|
|
19060
|
-
|
|
19061
|
-
|
|
19062
|
-
|
|
19063
|
-
|
|
19064
|
-
|
|
19065
|
-
|
|
19066
|
-
|
|
19067
|
-
|
|
19068
|
-
|
|
19069
|
-
|
|
19070
|
-
|
|
19071
|
-
AdaptiveModule,
|
|
19072
|
-
ToggleButtonTabStopModule], exports: [TimePickerLocalizedMessagesDirective,
|
|
19073
|
-
TimeListComponent,
|
|
19074
|
-
TimePickerCustomMessagesComponent,
|
|
19075
|
-
TimePickerComponent,
|
|
19076
|
-
TimeSelectorLocalizedMessagesDirective,
|
|
19077
|
-
TimeSelectorCustomMessagesComponent,
|
|
19078
|
-
TimeSelectorComponent] });
|
|
19079
|
-
TimePickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimePickerModule, providers: providers, imports: [CommonModule, COMPONENT_MODULES$1] });
|
|
18913
|
+
TimePickerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: TimePickerModule, imports: [TimePickerCustomMessagesComponent, TimePickerComponent], exports: [TimePickerCustomMessagesComponent, TimePickerComponent] });
|
|
18914
|
+
TimePickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimePickerModule, providers: [
|
|
18915
|
+
IconsService,
|
|
18916
|
+
PopupService,
|
|
18917
|
+
ResizeBatchService,
|
|
18918
|
+
TimePickerDOMService,
|
|
18919
|
+
HoursService,
|
|
18920
|
+
MinutesService,
|
|
18921
|
+
SecondsService,
|
|
18922
|
+
MillisecondsService,
|
|
18923
|
+
DayPeriodService,
|
|
18924
|
+
], imports: [KENDO_TIMEPICKER] });
|
|
19080
18925
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimePickerModule, decorators: [{
|
|
19081
18926
|
type: NgModule,
|
|
19082
18927
|
args: [{
|
|
19083
|
-
|
|
19084
|
-
|
|
19085
|
-
|
|
19086
|
-
|
|
18928
|
+
exports: [...KENDO_TIMEPICKER],
|
|
18929
|
+
imports: [...KENDO_TIMEPICKER],
|
|
18930
|
+
providers: [
|
|
18931
|
+
IconsService,
|
|
18932
|
+
PopupService,
|
|
18933
|
+
ResizeBatchService,
|
|
18934
|
+
TimePickerDOMService,
|
|
18935
|
+
HoursService,
|
|
18936
|
+
MinutesService,
|
|
18937
|
+
SecondsService,
|
|
18938
|
+
MillisecondsService,
|
|
18939
|
+
DayPeriodService,
|
|
18940
|
+
]
|
|
19087
18941
|
}]
|
|
19088
18942
|
}] });
|
|
19089
18943
|
|
|
18944
|
+
// IMPORTANT: NgModule export kept for backwards compatibility
|
|
19090
18945
|
/**
|
|
19091
|
-
*
|
|
18946
|
+
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
18947
|
+
* definition for the DateTimePicker component.
|
|
19092
18948
|
*/
|
|
19093
|
-
class
|
|
19094
|
-
constructor(service) {
|
|
19095
|
-
super();
|
|
19096
|
-
this.service = service;
|
|
19097
|
-
}
|
|
19098
|
-
get override() {
|
|
19099
|
-
return true;
|
|
19100
|
-
}
|
|
18949
|
+
class DateTimePickerModule {
|
|
19101
18950
|
}
|
|
19102
|
-
|
|
19103
|
-
|
|
19104
|
-
|
|
19105
|
-
|
|
19106
|
-
|
|
19107
|
-
|
|
19108
|
-
|
|
19109
|
-
|
|
19110
|
-
|
|
18951
|
+
DateTimePickerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateTimePickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
18952
|
+
DateTimePickerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: DateTimePickerModule, imports: [DateTimePickerCustomMessagesComponent, DateTimePickerComponent, CellTemplateDirective, CenturyCellTemplateDirective, DecadeCellTemplateDirective, FooterTemplateDirective, HeaderTemplateDirective, HeaderTitleTemplateDirective, MonthCellTemplateDirective, NavigationItemTemplateDirective, WeekNumberCellTemplateDirective, YearCellTemplateDirective], exports: [DateTimePickerCustomMessagesComponent, DateTimePickerComponent, CellTemplateDirective, CenturyCellTemplateDirective, DecadeCellTemplateDirective, FooterTemplateDirective, HeaderTemplateDirective, HeaderTitleTemplateDirective, MonthCellTemplateDirective, NavigationItemTemplateDirective, WeekNumberCellTemplateDirective, YearCellTemplateDirective] });
|
|
18953
|
+
DateTimePickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateTimePickerModule, providers: [
|
|
18954
|
+
// CalendarModule providers
|
|
18955
|
+
IconsService,
|
|
18956
|
+
ResizeBatchService,
|
|
18957
|
+
CalendarDOMService,
|
|
18958
|
+
CenturyViewService,
|
|
18959
|
+
DecadeViewService,
|
|
18960
|
+
MonthViewService,
|
|
18961
|
+
YearViewService,
|
|
18962
|
+
WeekNamesService,
|
|
18963
|
+
PopupService,
|
|
18964
|
+
NavigationService,
|
|
18965
|
+
// TimePickerModule providers
|
|
18966
|
+
TimePickerDOMService,
|
|
18967
|
+
HoursService,
|
|
18968
|
+
MinutesService,
|
|
18969
|
+
SecondsService,
|
|
18970
|
+
MillisecondsService,
|
|
18971
|
+
DayPeriodService,
|
|
18972
|
+
], imports: [DateTimePickerCustomMessagesComponent, DateTimePickerComponent] });
|
|
18973
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateTimePickerModule, decorators: [{
|
|
18974
|
+
type: NgModule,
|
|
19111
18975
|
args: [{
|
|
18976
|
+
exports: [...KENDO_DATETIMEPICKER],
|
|
18977
|
+
imports: [...KENDO_DATETIMEPICKER],
|
|
19112
18978
|
providers: [
|
|
19113
|
-
|
|
19114
|
-
|
|
19115
|
-
|
|
19116
|
-
|
|
19117
|
-
|
|
19118
|
-
|
|
19119
|
-
|
|
18979
|
+
// CalendarModule providers
|
|
18980
|
+
IconsService,
|
|
18981
|
+
ResizeBatchService,
|
|
18982
|
+
CalendarDOMService,
|
|
18983
|
+
CenturyViewService,
|
|
18984
|
+
DecadeViewService,
|
|
18985
|
+
MonthViewService,
|
|
18986
|
+
YearViewService,
|
|
18987
|
+
WeekNamesService,
|
|
18988
|
+
PopupService,
|
|
18989
|
+
NavigationService,
|
|
18990
|
+
// TimePickerModule providers
|
|
18991
|
+
TimePickerDOMService,
|
|
18992
|
+
HoursService,
|
|
18993
|
+
MinutesService,
|
|
18994
|
+
SecondsService,
|
|
18995
|
+
MillisecondsService,
|
|
18996
|
+
DayPeriodService,
|
|
18997
|
+
]
|
|
19120
18998
|
}]
|
|
19121
|
-
}]
|
|
18999
|
+
}] });
|
|
19122
19000
|
|
|
19123
|
-
|
|
19124
|
-
DateTimePickerComponent,
|
|
19125
|
-
DateTimePickerCustomMessagesComponent,
|
|
19126
|
-
LocalizedMessagesDirective
|
|
19127
|
-
];
|
|
19001
|
+
// IMPORTANT: NgModule export kept for backwards compatibility
|
|
19128
19002
|
/**
|
|
19129
|
-
*
|
|
19130
|
-
*
|
|
19003
|
+
* The package exports:
|
|
19004
|
+
* - `CellTemplateDirective`—The month cell template directive.
|
|
19005
|
+
* - `MonthCellTemplateDirective`—The month cell template directive.
|
|
19006
|
+
* - `YearCellTemplateDirective`—The year cell template directive.
|
|
19007
|
+
* - `DecadeCellTemplateDirective`—The decade cell template directive.
|
|
19008
|
+
* - `CenturyCellTemplateDirective`—The century cell template directive.
|
|
19009
|
+
* - `WeekNumberCellTemplateDirective`—The month week number cell template directive.
|
|
19010
|
+
* - `HeaderTitleTemplateDirective`—The header title template directive.
|
|
19011
|
+
*
|
|
19012
|
+
* @example
|
|
19013
|
+
*
|
|
19014
|
+
* ```ts-no-run
|
|
19015
|
+
* // Import the MultiViewCalendar module
|
|
19016
|
+
* import { MultiViewCalendarModule } from '@progress/kendo-angular-dateinputs';
|
|
19017
|
+
*
|
|
19018
|
+
* // The browser platform with a compiler
|
|
19019
|
+
* import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
|
|
19020
|
+
*
|
|
19021
|
+
* import { NgModule } from '@angular/core';
|
|
19022
|
+
*
|
|
19023
|
+
* // Import the app component
|
|
19024
|
+
* import { AppComponent } from './app.component';
|
|
19025
|
+
*
|
|
19026
|
+
* // Define the app module
|
|
19027
|
+
* _@NgModule({
|
|
19028
|
+
* declarations: [AppComponent], // declare app component
|
|
19029
|
+
* imports: [BrowserModule, MultiViewCalendarModule], // import MultiViewCalendar module
|
|
19030
|
+
* bootstrap: [AppComponent]
|
|
19031
|
+
* })
|
|
19032
|
+
* export class AppModule {}
|
|
19033
|
+
*
|
|
19034
|
+
* // Compile and launch the module
|
|
19035
|
+
* platformBrowserDynamic().bootstrapModule(AppModule);
|
|
19131
19036
|
*/
|
|
19132
|
-
class
|
|
19037
|
+
class MultiViewCalendarModule {
|
|
19133
19038
|
}
|
|
19134
|
-
|
|
19135
|
-
|
|
19136
|
-
|
|
19137
|
-
|
|
19138
|
-
|
|
19139
|
-
|
|
19140
|
-
|
|
19141
|
-
|
|
19142
|
-
|
|
19143
|
-
|
|
19144
|
-
|
|
19145
|
-
|
|
19146
|
-
AdaptiveModule], exports: [DateTimePickerComponent,
|
|
19147
|
-
DateTimePickerCustomMessagesComponent,
|
|
19148
|
-
LocalizedMessagesDirective, TemplatesModule,
|
|
19149
|
-
ToggleButtonTabStopModule] });
|
|
19150
|
-
DateTimePickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateTimePickerModule, providers: [
|
|
19151
|
-
{ provide: TOUCH_ENABLED, useValue: touchEnabled }
|
|
19152
|
-
], imports: [CommonModule,
|
|
19153
|
-
IntlModule,
|
|
19154
|
-
DateInputModule,
|
|
19155
|
-
CalendarModule,
|
|
19156
|
-
TimePickerModule,
|
|
19157
|
-
PopupModule,
|
|
19158
|
-
EventsModule,
|
|
19159
|
-
TemplatesModule,
|
|
19160
|
-
IconsModule,
|
|
19161
|
-
AdaptiveModule, TemplatesModule,
|
|
19162
|
-
ToggleButtonTabStopModule] });
|
|
19163
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateTimePickerModule, decorators: [{
|
|
19039
|
+
MultiViewCalendarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MultiViewCalendarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
19040
|
+
MultiViewCalendarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: MultiViewCalendarModule, imports: [MultiViewCalendarCustomMessagesComponent, MultiViewCalendarComponent, CellTemplateDirective, CenturyCellTemplateDirective, DecadeCellTemplateDirective, FooterTemplateDirective, HeaderTemplateDirective, HeaderTitleTemplateDirective, MonthCellTemplateDirective, NavigationItemTemplateDirective, WeekNumberCellTemplateDirective, YearCellTemplateDirective], exports: [MultiViewCalendarCustomMessagesComponent, MultiViewCalendarComponent, CellTemplateDirective, CenturyCellTemplateDirective, DecadeCellTemplateDirective, FooterTemplateDirective, HeaderTemplateDirective, HeaderTitleTemplateDirective, MonthCellTemplateDirective, NavigationItemTemplateDirective, WeekNumberCellTemplateDirective, YearCellTemplateDirective] });
|
|
19041
|
+
MultiViewCalendarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MultiViewCalendarModule, providers: [
|
|
19042
|
+
PopupService,
|
|
19043
|
+
NavigationService,
|
|
19044
|
+
CenturyViewService,
|
|
19045
|
+
DecadeViewService,
|
|
19046
|
+
MonthViewService,
|
|
19047
|
+
YearViewService,
|
|
19048
|
+
WeekNamesService
|
|
19049
|
+
], imports: [MultiViewCalendarCustomMessagesComponent, MultiViewCalendarComponent] });
|
|
19050
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MultiViewCalendarModule, decorators: [{
|
|
19164
19051
|
type: NgModule,
|
|
19165
19052
|
args: [{
|
|
19166
|
-
|
|
19167
|
-
|
|
19168
|
-
],
|
|
19169
|
-
exports: [
|
|
19170
|
-
...COMPONENT_DIRECTIVES,
|
|
19171
|
-
TemplatesModule,
|
|
19172
|
-
ToggleButtonTabStopModule
|
|
19173
|
-
],
|
|
19174
|
-
imports: [
|
|
19175
|
-
CommonModule,
|
|
19176
|
-
IntlModule,
|
|
19177
|
-
DateInputModule,
|
|
19178
|
-
CalendarModule,
|
|
19179
|
-
TimePickerModule,
|
|
19180
|
-
PopupModule,
|
|
19181
|
-
EventsModule,
|
|
19182
|
-
TemplatesModule,
|
|
19183
|
-
IconsModule,
|
|
19184
|
-
AdaptiveModule
|
|
19185
|
-
],
|
|
19053
|
+
exports: [...KENDO_MULTIVIEWCALENDAR],
|
|
19054
|
+
imports: [...KENDO_MULTIVIEWCALENDAR],
|
|
19186
19055
|
providers: [
|
|
19187
|
-
|
|
19056
|
+
PopupService,
|
|
19057
|
+
NavigationService,
|
|
19058
|
+
CenturyViewService,
|
|
19059
|
+
DecadeViewService,
|
|
19060
|
+
MonthViewService,
|
|
19061
|
+
YearViewService,
|
|
19062
|
+
WeekNamesService
|
|
19188
19063
|
]
|
|
19189
19064
|
}]
|
|
19190
19065
|
}] });
|
|
19191
19066
|
|
|
19192
|
-
|
|
19193
|
-
CalendarsModule,
|
|
19194
|
-
DateInputModule,
|
|
19195
|
-
DatePickerModule,
|
|
19196
|
-
TimePickerModule,
|
|
19197
|
-
DateRangeModule,
|
|
19198
|
-
DateTimePickerModule
|
|
19199
|
-
];
|
|
19067
|
+
// IMPORTANT: NgModule export kept for backwards compatibility
|
|
19200
19068
|
/**
|
|
19201
|
-
*
|
|
19202
|
-
*
|
|
19069
|
+
* The exported package module.
|
|
19070
|
+
*
|
|
19071
|
+
* The package exports:
|
|
19072
|
+
* - `DateRangeComponent`—The DateRange component class.
|
|
19073
|
+
* - `DateRangePopupComponent`—The DateRangePopup component class.
|
|
19074
|
+
* - `DateRangeSelectionDirective`—The MultiviewCalendar date range selection directive.
|
|
19075
|
+
* - `DateRangeEndInputDirective`—The end DateInput date range selection directive.
|
|
19076
|
+
* - `DateRangeStartInputDirective`—The start DateInput date range selection directive.
|
|
19077
|
+
* - `DateRangePopupTemplateDirective`—The DateRangePopup content template directive.
|
|
19203
19078
|
*
|
|
19204
19079
|
* @example
|
|
19205
19080
|
*
|
|
19206
19081
|
* ```ts-no-run
|
|
19207
|
-
* // Import the
|
|
19208
|
-
* import {
|
|
19082
|
+
* // Import the DateRange module
|
|
19083
|
+
* import { DateRangeModule } from '@progress/kendo-angular-dateinputs';
|
|
19209
19084
|
*
|
|
19210
19085
|
* // The browser platform with a compiler
|
|
19211
19086
|
* import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
|
|
@@ -19217,8 +19092,8 @@ const COMPONENT_MODULES = [
|
|
|
19217
19092
|
*
|
|
19218
19093
|
* // Define the app module
|
|
19219
19094
|
* _@NgModule({
|
|
19220
|
-
* declarations: [AppComponent], // declare
|
|
19221
|
-
* imports: [BrowserModule,
|
|
19095
|
+
* declarations: [AppComponent], // declare app component
|
|
19096
|
+
* imports: [BrowserModule, DateRangeModule], // import DateRange module
|
|
19222
19097
|
* bootstrap: [AppComponent]
|
|
19223
19098
|
* })
|
|
19224
19099
|
* export class AppModule {}
|
|
@@ -19228,31 +19103,75 @@ const COMPONENT_MODULES = [
|
|
|
19228
19103
|
*
|
|
19229
19104
|
* ```
|
|
19230
19105
|
*/
|
|
19231
|
-
class
|
|
19106
|
+
class DateRangeModule {
|
|
19232
19107
|
}
|
|
19233
|
-
|
|
19234
|
-
|
|
19235
|
-
|
|
19236
|
-
|
|
19237
|
-
|
|
19238
|
-
|
|
19239
|
-
|
|
19240
|
-
|
|
19241
|
-
|
|
19242
|
-
|
|
19243
|
-
|
|
19244
|
-
|
|
19245
|
-
|
|
19246
|
-
|
|
19247
|
-
|
|
19248
|
-
|
|
19249
|
-
|
|
19250
|
-
DateTimePickerModule] });
|
|
19251
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateInputsModule, decorators: [{
|
|
19108
|
+
DateRangeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateRangeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
19109
|
+
DateRangeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: DateRangeModule, imports: [DateRangePopupCustomMessagesComponent, DateInputCustomMessagesComponent, DateInputComponent, DateRangeEndInputDirective, DateRangePopupTemplateDirective, DateRangeComponent, DateRangePopupComponent, DateRangeSelectionDirective, DateRangeStartInputDirective], exports: [DateRangePopupCustomMessagesComponent, DateInputCustomMessagesComponent, DateInputComponent, DateRangeEndInputDirective, DateRangePopupTemplateDirective, DateRangeComponent, DateRangePopupComponent, DateRangeSelectionDirective, DateRangeStartInputDirective] });
|
|
19110
|
+
DateRangeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateRangeModule, providers: [
|
|
19111
|
+
// MultiViewCalendarModule providers
|
|
19112
|
+
PopupService,
|
|
19113
|
+
NavigationService,
|
|
19114
|
+
CenturyViewService,
|
|
19115
|
+
DecadeViewService,
|
|
19116
|
+
MonthViewService,
|
|
19117
|
+
YearViewService,
|
|
19118
|
+
WeekNamesService,
|
|
19119
|
+
// DateInputModule providers
|
|
19120
|
+
IconsService,
|
|
19121
|
+
// AdaptiveModule providers
|
|
19122
|
+
ResizeBatchService
|
|
19123
|
+
], imports: [DateRangePopupCustomMessagesComponent, DateInputCustomMessagesComponent, DateInputComponent, DateRangeComponent, DateRangePopupComponent] });
|
|
19124
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateRangeModule, decorators: [{
|
|
19252
19125
|
type: NgModule,
|
|
19253
19126
|
args: [{
|
|
19254
|
-
exports:
|
|
19255
|
-
imports:
|
|
19127
|
+
exports: [...KENDO_DATERANGE],
|
|
19128
|
+
imports: [...KENDO_DATERANGE],
|
|
19129
|
+
providers: [
|
|
19130
|
+
// MultiViewCalendarModule providers
|
|
19131
|
+
PopupService,
|
|
19132
|
+
NavigationService,
|
|
19133
|
+
CenturyViewService,
|
|
19134
|
+
DecadeViewService,
|
|
19135
|
+
MonthViewService,
|
|
19136
|
+
YearViewService,
|
|
19137
|
+
WeekNamesService,
|
|
19138
|
+
// DateInputModule providers
|
|
19139
|
+
IconsService,
|
|
19140
|
+
// AdaptiveModule providers
|
|
19141
|
+
ResizeBatchService
|
|
19142
|
+
]
|
|
19143
|
+
}]
|
|
19144
|
+
}] });
|
|
19145
|
+
|
|
19146
|
+
const KENDO_ADAPTIVE = [
|
|
19147
|
+
...KENDO_RESIZESENSOR,
|
|
19148
|
+
...KENDO_BUTTON,
|
|
19149
|
+
...KENDO_NAVIGATION
|
|
19150
|
+
];
|
|
19151
|
+
//IMPORTANT: This module is not needed and can be removed in the following major release.
|
|
19152
|
+
//The reason to keep it is that the module used to be public prior the migration to standalone.
|
|
19153
|
+
/**
|
|
19154
|
+
* @hidden
|
|
19155
|
+
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
19156
|
+
* definition for the modules specific to the Adaptive Mode.
|
|
19157
|
+
*/
|
|
19158
|
+
class AdaptiveModule {
|
|
19159
|
+
}
|
|
19160
|
+
AdaptiveModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AdaptiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
19161
|
+
AdaptiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: AdaptiveModule, imports: [i1$2.ResizeSensorComponent, i2.ButtonComponent, i3.ActionSheetComponent, i3.ActionSheetHeaderTemplateDirective, i3.ActionSheetItemTemplateDirective, i3.ActionSheetContentTemplateDirective, i3.ActionSheetFooterTemplateDirective, i3.ActionSheetTemplateDirective, i3.AppBarComponent, i3.AppBarSectionComponent, i3.AppBarSpacerComponent, i3.BottomNavigationComponent, i3.BottomNavigationItemTemplateDirective, i3.BreadCrumbComponent, i3.BreadCrumbItemTemplateDirective], exports: [i1$2.ResizeSensorComponent, i2.ButtonComponent, i3.ActionSheetComponent, i3.ActionSheetHeaderTemplateDirective, i3.ActionSheetItemTemplateDirective, i3.ActionSheetContentTemplateDirective, i3.ActionSheetFooterTemplateDirective, i3.ActionSheetTemplateDirective, i3.AppBarComponent, i3.AppBarSectionComponent, i3.AppBarSpacerComponent, i3.BottomNavigationComponent, i3.BottomNavigationItemTemplateDirective, i3.BreadCrumbComponent, i3.BreadCrumbItemTemplateDirective] });
|
|
19162
|
+
AdaptiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AdaptiveModule, providers: [
|
|
19163
|
+
ResizeBatchService,
|
|
19164
|
+
IconsService
|
|
19165
|
+
], imports: [i1$2.ResizeSensorComponent, i2.ButtonComponent, i3.ActionSheetComponent, i3.AppBarComponent, i3.AppBarSectionComponent, i3.AppBarSpacerComponent, i3.BottomNavigationComponent, i3.BreadCrumbComponent] });
|
|
19166
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AdaptiveModule, decorators: [{
|
|
19167
|
+
type: NgModule,
|
|
19168
|
+
args: [{
|
|
19169
|
+
imports: [...KENDO_ADAPTIVE],
|
|
19170
|
+
exports: [...KENDO_ADAPTIVE],
|
|
19171
|
+
providers: [
|
|
19172
|
+
ResizeBatchService,
|
|
19173
|
+
IconsService
|
|
19174
|
+
]
|
|
19256
19175
|
}]
|
|
19257
19176
|
}] });
|
|
19258
19177
|
|
|
@@ -19260,5 +19179,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
19260
19179
|
* Generated bundle index. Do not edit.
|
|
19261
19180
|
*/
|
|
19262
19181
|
|
|
19263
|
-
export { AdaptiveModule,
|
|
19182
|
+
export { AdaptiveModule, CalendarComponent, CalendarCustomMessagesComponent, CalendarDOMService, CalendarLocalizedMessagesDirective, CalendarModule, CalendarViewEnum, CalendarsModule, CellTemplateDirective, CenturyCellTemplateDirective, CenturyViewService, DateInputComponent, DateInputCustomMessagesComponent, DateInputLocalizedMessagesDirective, DateInputModule, DateInputsModule, DatePickerComponent, DatePickerCustomMessagesComponent, DatePickerLocalizedMessagesDirective, DatePickerModule, DateRangeComponent, DateRangeEndInputDirective, DateRangeModule, DateRangePopupComponent, DateRangePopupCustomMessagesComponent, DateRangePopupLocalizedMessagesDirective, DateRangePopupTemplateDirective, DateRangeSelectionDirective, DateRangeService, DateRangeStartInputDirective, DateTimePickerComponent, DateTimePickerCustomMessagesComponent, DateTimePickerModule, DayPeriodService, DecadeCellTemplateDirective, DecadeViewService, FooterComponent, FooterTemplateDirective, HeaderComponent, HeaderTemplateDirective, HeaderTitleTemplateDirective, HorizontalViewListComponent, HoursService, KENDO_CALENDAR, KENDO_DATEINPUT, KENDO_DATEINPUTS, KENDO_DATEPICKER, KENDO_DATERANGE, KENDO_DATETIMEPICKER, KENDO_MULTIVIEWCALENDAR, KENDO_TIMEPICKER, KForOf, LocalizedMessagesDirective, MillisecondsService, MinutesService, MonthCellTemplateDirective, MonthViewService, MultiViewCalendarComponent, MultiViewCalendarCustomMessagesComponent, MultiViewCalendarLocalizedMessagesDirective, MultiViewCalendarModule, NavigationComponent, NavigationItemTemplateDirective, NavigationService, PreventableEvent, SecondsService, TimeListComponent, TimePickerComponent, TimePickerCustomMessagesComponent, TimePickerDOMService, TimePickerLocalizedMessagesDirective, TimePickerModule, TimeSelectorComponent, TimeSelectorCustomMessagesComponent, TimeSelectorLocalizedMessagesDirective, ViewComponent, ViewListComponent, WeekNamesService, WeekNumberCellTemplateDirective, YearCellTemplateDirective, YearViewService };
|
|
19264
19183
|
|