@progress/kendo-angular-dateinputs 16.5.0 → 16.6.0-develop.2
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/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 +1 -1
- 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 +3 -4
- 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 +2 -3
- 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 +9 -8
- 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 +22 -28
- 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 +23 -27
- 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 -28
- 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 +1244 -1303
- package/fesm2020/progress-kendo-angular-dateinputs.mjs +989 -1042
- package/index.d.ts +14 -2
- package/package.json +9 -9
- 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 -4
- 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: 1721847042,
|
|
39
|
+
version: '16.6.0-develop.2',
|
|
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
|
|
|
@@ -8880,7 +8934,7 @@ class DateInputComponent {
|
|
|
8880
8934
|
}
|
|
8881
8935
|
}
|
|
8882
8936
|
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: [
|
|
8937
|
+
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
8938
|
{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => DateInputComponent), multi: true },
|
|
8885
8939
|
{ provide: NG_VALIDATORS, useExisting: forwardRef(() => DateInputComponent), multi: true },
|
|
8886
8940
|
{ provide: L10N_PREFIX, useValue: 'kendo.dateinput' },
|
|
@@ -8974,7 +9028,7 @@ DateInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ver
|
|
|
8974
9028
|
</kendo-icon-wrapper>
|
|
8975
9029
|
</button>
|
|
8976
9030
|
</span>
|
|
8977
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
9031
|
+
`, 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
9032
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateInputComponent, decorators: [{
|
|
8979
9033
|
type: Component,
|
|
8980
9034
|
args: [{
|
|
@@ -9076,7 +9130,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
9076
9130
|
</kendo-icon-wrapper>
|
|
9077
9131
|
</button>
|
|
9078
9132
|
</span>
|
|
9079
|
-
|
|
9133
|
+
`,
|
|
9134
|
+
standalone: true,
|
|
9135
|
+
imports: [DateInputLocalizedMessagesDirective, EventsOutsideAngularDirective, NgIf, IconWrapperComponent]
|
|
9080
9136
|
}]
|
|
9081
9137
|
}], ctorParameters: function () {
|
|
9082
9138
|
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 +9264,6 @@ class PreventableEvent {
|
|
|
9208
9264
|
}
|
|
9209
9265
|
}
|
|
9210
9266
|
|
|
9211
|
-
/**
|
|
9212
|
-
* @hidden
|
|
9213
|
-
*/
|
|
9214
|
-
const TOUCH_ENABLED = new InjectionToken('dateinputs-touch-enabled');
|
|
9215
|
-
|
|
9216
9267
|
/**
|
|
9217
9268
|
* @hidden
|
|
9218
9269
|
*/
|
|
@@ -9231,7 +9282,7 @@ const disabledDatesValidator = (isDateDisabled) => {
|
|
|
9231
9282
|
/**
|
|
9232
9283
|
* Custom component messages override default component messages ([see example]({% slug globalization_dateinputs %}#toc-custom-messages)).
|
|
9233
9284
|
*/
|
|
9234
|
-
class
|
|
9285
|
+
class CalendarCustomMessagesComponent extends CalendarMessages {
|
|
9235
9286
|
constructor(service) {
|
|
9236
9287
|
super();
|
|
9237
9288
|
this.service = service;
|
|
@@ -9240,31 +9291,32 @@ class DateInputCustomMessagesComponent extends DateInputMessages {
|
|
|
9240
9291
|
return true;
|
|
9241
9292
|
}
|
|
9242
9293
|
}
|
|
9243
|
-
|
|
9244
|
-
|
|
9294
|
+
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 });
|
|
9295
|
+
CalendarCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: CalendarCustomMessagesComponent, isStandalone: true, selector: "kendo-calendar-messages", providers: [
|
|
9245
9296
|
{
|
|
9246
|
-
provide:
|
|
9247
|
-
useExisting: forwardRef(() =>
|
|
9297
|
+
provide: CalendarMessages,
|
|
9298
|
+
useExisting: forwardRef(() => CalendarCustomMessagesComponent)
|
|
9248
9299
|
}
|
|
9249
9300
|
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
9250
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type:
|
|
9301
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CalendarCustomMessagesComponent, decorators: [{
|
|
9251
9302
|
type: Component,
|
|
9252
9303
|
args: [{
|
|
9253
9304
|
providers: [
|
|
9254
9305
|
{
|
|
9255
|
-
provide:
|
|
9256
|
-
useExisting: forwardRef(() =>
|
|
9306
|
+
provide: CalendarMessages,
|
|
9307
|
+
useExisting: forwardRef(() => CalendarCustomMessagesComponent)
|
|
9257
9308
|
}
|
|
9258
9309
|
],
|
|
9259
|
-
selector: 'kendo-
|
|
9260
|
-
template:
|
|
9310
|
+
selector: 'kendo-calendar-messages',
|
|
9311
|
+
template: ``,
|
|
9312
|
+
standalone: true
|
|
9261
9313
|
}]
|
|
9262
9314
|
}], ctorParameters: function () { return [{ type: i1$1.LocalizationService }]; } });
|
|
9263
9315
|
|
|
9264
9316
|
/**
|
|
9265
9317
|
* Custom component messages override default component messages ([see example]({% slug globalization_dateinputs %}#toc-custom-messages)).
|
|
9266
9318
|
*/
|
|
9267
|
-
class
|
|
9319
|
+
class DateInputCustomMessagesComponent extends DateInputMessages {
|
|
9268
9320
|
constructor(service) {
|
|
9269
9321
|
super();
|
|
9270
9322
|
this.service = service;
|
|
@@ -9273,24 +9325,25 @@ class CalendarCustomMessagesComponent extends CalendarMessages {
|
|
|
9273
9325
|
return true;
|
|
9274
9326
|
}
|
|
9275
9327
|
}
|
|
9276
|
-
|
|
9277
|
-
|
|
9328
|
+
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 });
|
|
9329
|
+
DateInputCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: DateInputCustomMessagesComponent, isStandalone: true, selector: "kendo-dateinput-messages", providers: [
|
|
9278
9330
|
{
|
|
9279
|
-
provide:
|
|
9280
|
-
useExisting: forwardRef(() =>
|
|
9331
|
+
provide: DateInputMessages,
|
|
9332
|
+
useExisting: forwardRef(() => DateInputCustomMessagesComponent)
|
|
9281
9333
|
}
|
|
9282
9334
|
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
9283
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type:
|
|
9335
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateInputCustomMessagesComponent, decorators: [{
|
|
9284
9336
|
type: Component,
|
|
9285
9337
|
args: [{
|
|
9286
9338
|
providers: [
|
|
9287
9339
|
{
|
|
9288
|
-
provide:
|
|
9289
|
-
useExisting: forwardRef(() =>
|
|
9340
|
+
provide: DateInputMessages,
|
|
9341
|
+
useExisting: forwardRef(() => DateInputCustomMessagesComponent)
|
|
9290
9342
|
}
|
|
9291
9343
|
],
|
|
9292
|
-
selector: 'kendo-
|
|
9293
|
-
template:
|
|
9344
|
+
selector: 'kendo-dateinput-messages',
|
|
9345
|
+
template: ``,
|
|
9346
|
+
standalone: true
|
|
9294
9347
|
}]
|
|
9295
9348
|
}], ctorParameters: function () { return [{ type: i1$1.LocalizationService }]; } });
|
|
9296
9349
|
|
|
@@ -9331,7 +9384,7 @@ class DatePickerLocalizedMessagesDirective extends DatePickerMessages {
|
|
|
9331
9384
|
}
|
|
9332
9385
|
}
|
|
9333
9386
|
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: [
|
|
9387
|
+
DatePickerLocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: DatePickerLocalizedMessagesDirective, isStandalone: true, selector: "[kendoDatePickerLocalizedMessages]", providers: [
|
|
9335
9388
|
{
|
|
9336
9389
|
provide: DatePickerMessages,
|
|
9337
9390
|
useExisting: forwardRef(() => DatePickerLocalizedMessagesDirective)
|
|
@@ -9346,7 +9399,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
9346
9399
|
useExisting: forwardRef(() => DatePickerLocalizedMessagesDirective)
|
|
9347
9400
|
}
|
|
9348
9401
|
],
|
|
9349
|
-
selector: '[kendoDatePickerLocalizedMessages]'
|
|
9402
|
+
selector: '[kendoDatePickerLocalizedMessages]',
|
|
9403
|
+
standalone: true
|
|
9350
9404
|
}]
|
|
9351
9405
|
}], ctorParameters: function () { return [{ type: i1$1.LocalizationService }]; } });
|
|
9352
9406
|
|
|
@@ -9359,7 +9413,7 @@ const TWO_DIGIT_YEAR_MAX$1 = 68;
|
|
|
9359
9413
|
* Represents the [Kendo UI DatePicker component for Angular](slug:overview_datepicker).
|
|
9360
9414
|
*/
|
|
9361
9415
|
class DatePickerComponent extends MultiTabStop {
|
|
9362
|
-
constructor(zone, localization, cdr, popupService, wrapper, renderer, injector, pickerService, disabledDatesService
|
|
9416
|
+
constructor(zone, localization, cdr, popupService, wrapper, renderer, injector, pickerService, disabledDatesService) {
|
|
9363
9417
|
super();
|
|
9364
9418
|
this.zone = zone;
|
|
9365
9419
|
this.localization = localization;
|
|
@@ -9370,7 +9424,6 @@ class DatePickerComponent extends MultiTabStop {
|
|
|
9370
9424
|
this.injector = injector;
|
|
9371
9425
|
this.pickerService = pickerService;
|
|
9372
9426
|
this.disabledDatesService = disabledDatesService;
|
|
9373
|
-
this.touchEnabled = touchEnabled;
|
|
9374
9427
|
/**
|
|
9375
9428
|
* @hidden
|
|
9376
9429
|
*/
|
|
@@ -10278,7 +10331,7 @@ class DatePickerComponent extends MultiTabStop {
|
|
|
10278
10331
|
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
10332
|
}
|
|
10280
10333
|
focusInput() {
|
|
10281
|
-
if (
|
|
10334
|
+
if (touchEnabled) {
|
|
10282
10335
|
return;
|
|
10283
10336
|
}
|
|
10284
10337
|
this.dateInput.focus();
|
|
@@ -10295,7 +10348,7 @@ class DatePickerComponent extends MultiTabStop {
|
|
|
10295
10348
|
this.calendar.focus();
|
|
10296
10349
|
}
|
|
10297
10350
|
}
|
|
10298
|
-
else if (!
|
|
10351
|
+
else if (!touchEnabled) {
|
|
10299
10352
|
this.dateInput.focus();
|
|
10300
10353
|
}
|
|
10301
10354
|
else if (!this.dateInput.isActive) {
|
|
@@ -10392,8 +10445,8 @@ class DatePickerComponent extends MultiTabStop {
|
|
|
10392
10445
|
}
|
|
10393
10446
|
}
|
|
10394
10447
|
}
|
|
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: [
|
|
10448
|
+
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 });
|
|
10449
|
+
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
10450
|
{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => DatePickerComponent), multi: true },
|
|
10398
10451
|
{ provide: NG_VALIDATORS, useExisting: forwardRef(() => DatePickerComponent), multi: true },
|
|
10399
10452
|
{ provide: KendoInput, useExisting: forwardRef(() => DatePickerComponent) },
|
|
@@ -10578,7 +10631,7 @@ DatePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ve
|
|
|
10578
10631
|
</kendo-calendar-messages>
|
|
10579
10632
|
</kendo-calendar>
|
|
10580
10633
|
</ng-template>
|
|
10581
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
10634
|
+
`, 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
10635
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DatePickerComponent, decorators: [{
|
|
10583
10636
|
type: Component,
|
|
10584
10637
|
args: [{
|
|
@@ -10771,16 +10824,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
10771
10824
|
</kendo-calendar-messages>
|
|
10772
10825
|
</kendo-calendar>
|
|
10773
10826
|
</ng-template>
|
|
10774
|
-
|
|
10827
|
+
`,
|
|
10828
|
+
standalone: true,
|
|
10829
|
+
imports: [DatePickerLocalizedMessagesDirective, DateInputComponent, DateInputCustomMessagesComponent, EventsOutsideAngularDirective, IconWrapperComponent, NgTemplateOutlet, NgIf, ResizeSensorComponent, ActionSheetComponent, ActionSheetTemplateDirective, ButtonComponent, CalendarComponent, CalendarCustomMessagesComponent]
|
|
10775
10830
|
}]
|
|
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: [{
|
|
10831
|
+
}], 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
10832
|
type: ViewChild,
|
|
10785
10833
|
args: ['container', { read: ViewContainerRef, static: true }]
|
|
10786
10834
|
}], popupTemplate: [{
|
|
@@ -10977,130 +11025,6 @@ const TIME_PART = {
|
|
|
10977
11025
|
second: 'second'
|
|
10978
11026
|
};
|
|
10979
11027
|
|
|
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
11028
|
const HOURS_IN_DAY = 24;
|
|
11105
11029
|
const clampToRange$3 = (rangeValue) => (value) => value % rangeValue;
|
|
11106
11030
|
const clamp$3 = clampToRange$3(HOURS_IN_DAY);
|
|
@@ -11208,9 +11132,12 @@ class HoursService {
|
|
|
11208
11132
|
}
|
|
11209
11133
|
}
|
|
11210
11134
|
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 });
|
|
11135
|
+
HoursService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HoursService, providedIn: 'root' });
|
|
11212
11136
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HoursService, decorators: [{
|
|
11213
|
-
type: Injectable
|
|
11137
|
+
type: Injectable,
|
|
11138
|
+
args: [{
|
|
11139
|
+
providedIn: 'root'
|
|
11140
|
+
}]
|
|
11214
11141
|
}], ctorParameters: function () { return [{ type: i1.IntlService }]; } });
|
|
11215
11142
|
|
|
11216
11143
|
const MINUTES_IN_HOUR = 60;
|
|
@@ -11318,9 +11245,12 @@ class MinutesService {
|
|
|
11318
11245
|
}
|
|
11319
11246
|
}
|
|
11320
11247
|
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 });
|
|
11248
|
+
MinutesService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MinutesService, providedIn: 'root' });
|
|
11322
11249
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MinutesService, decorators: [{
|
|
11323
|
-
type: Injectable
|
|
11250
|
+
type: Injectable,
|
|
11251
|
+
args: [{
|
|
11252
|
+
providedIn: 'root'
|
|
11253
|
+
}]
|
|
11324
11254
|
}], ctorParameters: function () { return [{ type: i1.IntlService }]; } });
|
|
11325
11255
|
|
|
11326
11256
|
const SECONDS_IN_HOUR = 60;
|
|
@@ -11428,9 +11358,12 @@ class SecondsService {
|
|
|
11428
11358
|
}
|
|
11429
11359
|
}
|
|
11430
11360
|
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 });
|
|
11361
|
+
SecondsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SecondsService, providedIn: 'root' });
|
|
11432
11362
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SecondsService, decorators: [{
|
|
11433
|
-
type: Injectable
|
|
11363
|
+
type: Injectable,
|
|
11364
|
+
args: [{
|
|
11365
|
+
providedIn: 'root'
|
|
11366
|
+
}]
|
|
11434
11367
|
}], ctorParameters: function () { return [{ type: i1.IntlService }]; } });
|
|
11435
11368
|
|
|
11436
11369
|
const MILLISECONDS_IN_SECOND = 1000;
|
|
@@ -11541,9 +11474,12 @@ class MillisecondsService {
|
|
|
11541
11474
|
}
|
|
11542
11475
|
}
|
|
11543
11476
|
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 });
|
|
11477
|
+
MillisecondsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MillisecondsService, providedIn: 'root' });
|
|
11545
11478
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MillisecondsService, decorators: [{
|
|
11546
|
-
type: Injectable
|
|
11479
|
+
type: Injectable,
|
|
11480
|
+
args: [{
|
|
11481
|
+
providedIn: 'root'
|
|
11482
|
+
}]
|
|
11547
11483
|
}], ctorParameters: function () { return [{ type: i1.IntlService }]; } });
|
|
11548
11484
|
|
|
11549
11485
|
const setHours = (date, hours) => {
|
|
@@ -11657,9 +11593,12 @@ class DayPeriodService {
|
|
|
11657
11593
|
}
|
|
11658
11594
|
}
|
|
11659
11595
|
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 });
|
|
11596
|
+
DayPeriodService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DayPeriodService, providedIn: 'root' });
|
|
11661
11597
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DayPeriodService, decorators: [{
|
|
11662
|
-
type: Injectable
|
|
11598
|
+
type: Injectable,
|
|
11599
|
+
args: [{
|
|
11600
|
+
providedIn: 'root'
|
|
11601
|
+
}]
|
|
11663
11602
|
}], ctorParameters: function () { return [{ type: i1.IntlService }]; } });
|
|
11664
11603
|
|
|
11665
11604
|
const div = domContainerFactory('div');
|
|
@@ -11732,9 +11671,12 @@ class TimePickerDOMService {
|
|
|
11732
11671
|
}
|
|
11733
11672
|
}
|
|
11734
11673
|
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 });
|
|
11674
|
+
TimePickerDOMService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimePickerDOMService, providedIn: 'root' });
|
|
11736
11675
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimePickerDOMService, decorators: [{
|
|
11737
|
-
type: Injectable
|
|
11676
|
+
type: Injectable,
|
|
11677
|
+
args: [{
|
|
11678
|
+
providedIn: 'root'
|
|
11679
|
+
}]
|
|
11738
11680
|
}] });
|
|
11739
11681
|
|
|
11740
11682
|
/* eslint-disable @angular-eslint/component-selector */
|
|
@@ -11974,7 +11916,7 @@ class TimeListComponent {
|
|
|
11974
11916
|
}
|
|
11975
11917
|
}
|
|
11976
11918
|
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: `
|
|
11919
|
+
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
11920
|
<kendo-virtualization
|
|
11979
11921
|
[skip]="skip"
|
|
11980
11922
|
[take]="total"
|
|
@@ -12002,7 +11944,7 @@ TimeListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", vers
|
|
|
12002
11944
|
</li>
|
|
12003
11945
|
</ul>
|
|
12004
11946
|
</kendo-virtualization>
|
|
12005
|
-
`, isInline: true, dependencies: [{ kind: "
|
|
11947
|
+
`, 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
11948
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimeListComponent, decorators: [{
|
|
12007
11949
|
type: Component,
|
|
12008
11950
|
args: [{
|
|
@@ -12035,7 +11977,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
12035
11977
|
</li>
|
|
12036
11978
|
</ul>
|
|
12037
11979
|
</kendo-virtualization>
|
|
12038
|
-
|
|
11980
|
+
`,
|
|
11981
|
+
standalone: true,
|
|
11982
|
+
imports: [VirtualizationComponent, NgStyle, EventsOutsideAngularDirective, NgFor]
|
|
12039
11983
|
}]
|
|
12040
11984
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Injector }, { type: TimePickerDOMService }, { type: i0.Renderer2 }, { type: i0.NgZone }, { type: i1$1.LocalizationService }]; }, propDecorators: { min: [{
|
|
12041
11985
|
type: Input
|
|
@@ -12137,6 +12081,47 @@ const snapTime = snappers => (candidate, min) => {
|
|
|
12137
12081
|
return date;
|
|
12138
12082
|
};
|
|
12139
12083
|
|
|
12084
|
+
/**
|
|
12085
|
+
* @hidden
|
|
12086
|
+
*/
|
|
12087
|
+
class TimePickerMessages extends ComponentMessages {
|
|
12088
|
+
}
|
|
12089
|
+
TimePickerMessages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimePickerMessages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
12090
|
+
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 });
|
|
12091
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimePickerMessages, decorators: [{
|
|
12092
|
+
type: Directive,
|
|
12093
|
+
args: [{
|
|
12094
|
+
// eslint-disable-next-line
|
|
12095
|
+
selector: 'kendo-timepicker-messages-base'
|
|
12096
|
+
}]
|
|
12097
|
+
}], propDecorators: { accept: [{
|
|
12098
|
+
type: Input
|
|
12099
|
+
}], acceptLabel: [{
|
|
12100
|
+
type: Input
|
|
12101
|
+
}], cancel: [{
|
|
12102
|
+
type: Input
|
|
12103
|
+
}], cancelLabel: [{
|
|
12104
|
+
type: Input
|
|
12105
|
+
}], now: [{
|
|
12106
|
+
type: Input
|
|
12107
|
+
}], nowLabel: [{
|
|
12108
|
+
type: Input
|
|
12109
|
+
}], toggle: [{
|
|
12110
|
+
type: Input
|
|
12111
|
+
}], hour: [{
|
|
12112
|
+
type: Input
|
|
12113
|
+
}], minute: [{
|
|
12114
|
+
type: Input
|
|
12115
|
+
}], second: [{
|
|
12116
|
+
type: Input
|
|
12117
|
+
}], millisecond: [{
|
|
12118
|
+
type: Input
|
|
12119
|
+
}], dayperiod: [{
|
|
12120
|
+
type: Input
|
|
12121
|
+
}], clearTitle: [{
|
|
12122
|
+
type: Input
|
|
12123
|
+
}] } });
|
|
12124
|
+
|
|
12140
12125
|
/**
|
|
12141
12126
|
* @hidden
|
|
12142
12127
|
*/
|
|
@@ -12147,7 +12132,7 @@ class TimeSelectorLocalizedMessagesDirective extends TimePickerMessages {
|
|
|
12147
12132
|
}
|
|
12148
12133
|
}
|
|
12149
12134
|
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: [
|
|
12135
|
+
TimeSelectorLocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: TimeSelectorLocalizedMessagesDirective, isStandalone: true, selector: "[kendoTimeSelectorLocalizedMessages]", providers: [
|
|
12151
12136
|
{
|
|
12152
12137
|
provide: TimePickerMessages,
|
|
12153
12138
|
useExisting: forwardRef(() => TimeSelectorLocalizedMessagesDirective)
|
|
@@ -12162,7 +12147,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
12162
12147
|
useExisting: forwardRef(() => TimeSelectorLocalizedMessagesDirective)
|
|
12163
12148
|
}
|
|
12164
12149
|
],
|
|
12165
|
-
selector: '[kendoTimeSelectorLocalizedMessages]'
|
|
12150
|
+
selector: '[kendoTimeSelectorLocalizedMessages]',
|
|
12151
|
+
standalone: true
|
|
12166
12152
|
}]
|
|
12167
12153
|
}], ctorParameters: function () { return [{ type: i1$1.LocalizationService }]; } });
|
|
12168
12154
|
|
|
@@ -12561,7 +12547,7 @@ class TimeSelectorComponent {
|
|
|
12561
12547
|
}
|
|
12562
12548
|
}
|
|
12563
12549
|
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: [
|
|
12550
|
+
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
12551
|
LocalizationService,
|
|
12566
12552
|
{
|
|
12567
12553
|
provide: L10N_PREFIX,
|
|
@@ -12675,7 +12661,7 @@ TimeSelectorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0",
|
|
|
12675
12661
|
[disabled]="disabled"
|
|
12676
12662
|
>{{localization.get('cancel')}}</button>
|
|
12677
12663
|
</div>
|
|
12678
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
12664
|
+
`, 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
12665
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimeSelectorComponent, decorators: [{
|
|
12680
12666
|
type: Component,
|
|
12681
12667
|
args: [{
|
|
@@ -12797,7 +12783,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
12797
12783
|
[disabled]="disabled"
|
|
12798
12784
|
>{{localization.get('cancel')}}</button>
|
|
12799
12785
|
</div>
|
|
12800
|
-
|
|
12786
|
+
`,
|
|
12787
|
+
standalone: true,
|
|
12788
|
+
imports: [TimeSelectorLocalizedMessagesDirective, NgIf, EventsOutsideAngularDirective, NgFor, TimeListComponent]
|
|
12801
12789
|
}]
|
|
12802
12790
|
}], ctorParameters: function () {
|
|
12803
12791
|
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,43 +12841,127 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
12853
12841
|
type: Output
|
|
12854
12842
|
}] } });
|
|
12855
12843
|
|
|
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
12844
|
/**
|
|
12861
|
-
*
|
|
12845
|
+
* @hidden
|
|
12862
12846
|
*/
|
|
12863
|
-
|
|
12864
|
-
|
|
12847
|
+
const timeRangeValidator = (min, max) => {
|
|
12848
|
+
return (control) => {
|
|
12849
|
+
if (!min || !max || !control.value) {
|
|
12850
|
+
return null;
|
|
12851
|
+
}
|
|
12852
|
+
const err = {
|
|
12853
|
+
timeRangeError: {
|
|
12854
|
+
maxValue: max,
|
|
12855
|
+
minValue: min,
|
|
12856
|
+
value: control.value
|
|
12857
|
+
}
|
|
12858
|
+
};
|
|
12859
|
+
return isInTimeRange(control.value, min, max) ? null : err;
|
|
12860
|
+
};
|
|
12861
|
+
};
|
|
12862
|
+
|
|
12863
|
+
/**
|
|
12864
|
+
* @hidden
|
|
12865
|
+
*
|
|
12866
|
+
* Custom component messages override default component messages.
|
|
12867
|
+
*/
|
|
12868
|
+
class TimeSelectorCustomMessagesComponent extends TimePickerMessages {
|
|
12869
|
+
constructor(service) {
|
|
12865
12870
|
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
|
-
|
|
12889
|
-
|
|
12890
|
-
|
|
12891
|
-
|
|
12892
|
-
|
|
12871
|
+
this.service = service;
|
|
12872
|
+
}
|
|
12873
|
+
get override() {
|
|
12874
|
+
return true;
|
|
12875
|
+
}
|
|
12876
|
+
}
|
|
12877
|
+
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 });
|
|
12878
|
+
TimeSelectorCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TimeSelectorCustomMessagesComponent, isStandalone: true, selector: "kendo-timeselector-messages", providers: [
|
|
12879
|
+
{
|
|
12880
|
+
provide: TimePickerMessages,
|
|
12881
|
+
useExisting: forwardRef(() => TimeSelectorCustomMessagesComponent)
|
|
12882
|
+
}
|
|
12883
|
+
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
12884
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimeSelectorCustomMessagesComponent, decorators: [{
|
|
12885
|
+
type: Component,
|
|
12886
|
+
args: [{
|
|
12887
|
+
providers: [
|
|
12888
|
+
{
|
|
12889
|
+
provide: TimePickerMessages,
|
|
12890
|
+
useExisting: forwardRef(() => TimeSelectorCustomMessagesComponent)
|
|
12891
|
+
}
|
|
12892
|
+
],
|
|
12893
|
+
selector: 'kendo-timeselector-messages',
|
|
12894
|
+
template: ``,
|
|
12895
|
+
standalone: true
|
|
12896
|
+
}]
|
|
12897
|
+
}], ctorParameters: function () { return [{ type: i1$1.LocalizationService }]; } });
|
|
12898
|
+
|
|
12899
|
+
/**
|
|
12900
|
+
* @hidden
|
|
12901
|
+
*/
|
|
12902
|
+
class TimePickerLocalizedMessagesDirective extends TimePickerMessages {
|
|
12903
|
+
constructor(service) {
|
|
12904
|
+
super();
|
|
12905
|
+
this.service = service;
|
|
12906
|
+
}
|
|
12907
|
+
}
|
|
12908
|
+
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 });
|
|
12909
|
+
TimePickerLocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: TimePickerLocalizedMessagesDirective, isStandalone: true, selector: "[kendoTimePickerLocalizedMessages]", providers: [
|
|
12910
|
+
{
|
|
12911
|
+
provide: TimePickerMessages,
|
|
12912
|
+
useExisting: forwardRef(() => TimePickerLocalizedMessagesDirective)
|
|
12913
|
+
}
|
|
12914
|
+
], usesInheritance: true, ngImport: i0 });
|
|
12915
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimePickerLocalizedMessagesDirective, decorators: [{
|
|
12916
|
+
type: Directive,
|
|
12917
|
+
args: [{
|
|
12918
|
+
providers: [
|
|
12919
|
+
{
|
|
12920
|
+
provide: TimePickerMessages,
|
|
12921
|
+
useExisting: forwardRef(() => TimePickerLocalizedMessagesDirective)
|
|
12922
|
+
}
|
|
12923
|
+
],
|
|
12924
|
+
selector: '[kendoTimePickerLocalizedMessages]',
|
|
12925
|
+
standalone: true
|
|
12926
|
+
}]
|
|
12927
|
+
}], ctorParameters: function () { return [{ type: i1$1.LocalizationService }]; } });
|
|
12928
|
+
|
|
12929
|
+
const VALUE_DOC_LINK$1 = 'https://www.telerik.com/kendo-angular-ui/components/dateinputs/timepicker/#toc-integration-with-json';
|
|
12930
|
+
const INTL_DATE_FORMAT = 'https://github.com/telerik/kendo-intl/blob/master/docs/date-formatting/index.md';
|
|
12931
|
+
const formatRegExp = new RegExp(`${TIME_PART.hour}|${TIME_PART.minute}|${TIME_PART.second}|${TIME_PART.millisecond}|${TIME_PART.dayperiod}|literal`);
|
|
12932
|
+
const ACCEPT_BUTTON_SELECTOR$1 = '.k-button.k-time-accept';
|
|
12933
|
+
/**
|
|
12934
|
+
* Represents the [Kendo UI TimePicker component for Angular](slug:overview_timepicker).
|
|
12935
|
+
*/
|
|
12936
|
+
class TimePickerComponent extends MultiTabStop {
|
|
12937
|
+
constructor(bus, zone, localization, cdr, popupService, wrapper, renderer, injector, pickerService, intl) {
|
|
12938
|
+
super();
|
|
12939
|
+
this.bus = bus;
|
|
12940
|
+
this.zone = zone;
|
|
12941
|
+
this.localization = localization;
|
|
12942
|
+
this.cdr = cdr;
|
|
12943
|
+
this.popupService = popupService;
|
|
12944
|
+
this.wrapper = wrapper;
|
|
12945
|
+
this.renderer = renderer;
|
|
12946
|
+
this.injector = injector;
|
|
12947
|
+
this.pickerService = pickerService;
|
|
12948
|
+
this.intl = intl;
|
|
12949
|
+
/**
|
|
12950
|
+
* @hidden
|
|
12951
|
+
*/
|
|
12952
|
+
this.clockIcon = clockIcon;
|
|
12953
|
+
/**
|
|
12954
|
+
* Sets or gets the `disabled` property of the TimePicker and
|
|
12955
|
+
* determines whether the component is active
|
|
12956
|
+
* ([see example]({% slug disabled_timepicker %})).
|
|
12957
|
+
* 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).
|
|
12958
|
+
*/
|
|
12959
|
+
this.disabled = false;
|
|
12960
|
+
/**
|
|
12961
|
+
* Sets the read-only state of the TimePicker
|
|
12962
|
+
* ([see example]({% slug readonly_timepicker %}#toc-read-only-timepicker)).
|
|
12963
|
+
*
|
|
12964
|
+
* @default false
|
|
12893
12965
|
*/
|
|
12894
12966
|
this.readonly = false;
|
|
12895
12967
|
/**
|
|
@@ -13683,7 +13755,7 @@ class TimePickerComponent extends MultiTabStop {
|
|
|
13683
13755
|
}
|
|
13684
13756
|
}
|
|
13685
13757
|
focusInput() {
|
|
13686
|
-
if (
|
|
13758
|
+
if (touchEnabled) {
|
|
13687
13759
|
return;
|
|
13688
13760
|
}
|
|
13689
13761
|
this.dateInput.focus();
|
|
@@ -13700,7 +13772,7 @@ class TimePickerComponent extends MultiTabStop {
|
|
|
13700
13772
|
this.timeSelector.focus();
|
|
13701
13773
|
}
|
|
13702
13774
|
}
|
|
13703
|
-
else if (!
|
|
13775
|
+
else if (!touchEnabled) {
|
|
13704
13776
|
this.dateInput.focus();
|
|
13705
13777
|
}
|
|
13706
13778
|
else if (!this.dateInput.isActive) {
|
|
@@ -13792,8 +13864,8 @@ class TimePickerComponent extends MultiTabStop {
|
|
|
13792
13864
|
}
|
|
13793
13865
|
}
|
|
13794
13866
|
}
|
|
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", autoCorrectParts: "autoCorrectParts", 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: [
|
|
13867
|
+
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 });
|
|
13868
|
+
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", autoCorrectParts: "autoCorrectParts", 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
13869
|
{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => TimePickerComponent), multi: true },
|
|
13798
13870
|
{ provide: NG_VALIDATORS, useExisting: forwardRef(() => TimePickerComponent), multi: true },
|
|
13799
13871
|
{ provide: KendoInput, useExisting: forwardRef(() => TimePickerComponent) },
|
|
@@ -14010,7 +14082,7 @@ TimePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ve
|
|
|
14010
14082
|
</kendo-timeselector-messages>
|
|
14011
14083
|
</kendo-timeselector>
|
|
14012
14084
|
</ng-template>
|
|
14013
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
14085
|
+
`, 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
14086
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimePickerComponent, decorators: [{
|
|
14015
14087
|
type: Component,
|
|
14016
14088
|
args: [{
|
|
@@ -14235,16 +14307,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
14235
14307
|
</kendo-timeselector-messages>
|
|
14236
14308
|
</kendo-timeselector>
|
|
14237
14309
|
</ng-template>
|
|
14238
|
-
|
|
14310
|
+
`,
|
|
14311
|
+
standalone: true,
|
|
14312
|
+
imports: [TimePickerLocalizedMessagesDirective, DateInputComponent, DateInputCustomMessagesComponent, EventsOutsideAngularDirective, IconWrapperComponent, NgTemplateOutlet, NgIf, ResizeSensorComponent, ActionSheetComponent, ActionSheetTemplateDirective, ButtonComponent, TimeSelectorComponent, TimeSelectorCustomMessagesComponent]
|
|
14239
14313
|
}]
|
|
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: [{
|
|
14314
|
+
}], 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
14315
|
type: ViewChild,
|
|
14249
14316
|
args: ['container', { read: ViewContainerRef, static: false }]
|
|
14250
14317
|
}], popupTemplate: [{
|
|
@@ -14413,7 +14480,7 @@ class LocalizedMessagesDirective extends DateTimePickerMessages {
|
|
|
14413
14480
|
}
|
|
14414
14481
|
}
|
|
14415
14482
|
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: [
|
|
14483
|
+
LocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LocalizedMessagesDirective, isStandalone: true, selector: "[kendoDateTimePickerLocalizedMessages]", providers: [
|
|
14417
14484
|
{
|
|
14418
14485
|
provide: DateTimePickerMessages,
|
|
14419
14486
|
useExisting: forwardRef(() => LocalizedMessagesDirective)
|
|
@@ -14428,7 +14495,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
14428
14495
|
useExisting: forwardRef(() => LocalizedMessagesDirective)
|
|
14429
14496
|
}
|
|
14430
14497
|
],
|
|
14431
|
-
selector: '[kendoDateTimePickerLocalizedMessages]'
|
|
14498
|
+
selector: '[kendoDateTimePickerLocalizedMessages]',
|
|
14499
|
+
standalone: true
|
|
14432
14500
|
}]
|
|
14433
14501
|
}], ctorParameters: function () { return [{ type: i1$1.LocalizationService }]; } });
|
|
14434
14502
|
|
|
@@ -14447,7 +14515,7 @@ const TIME_TAB_BUTTON_SELECTOR = '.k-button.k-group-end';
|
|
|
14447
14515
|
* Represents the [Kendo UI DateTimePicker component for Angular]({% slug overview_datetimepicker %}).
|
|
14448
14516
|
*/
|
|
14449
14517
|
class DateTimePickerComponent extends MultiTabStop {
|
|
14450
|
-
constructor(popupService, intl, cdr, pickerService, ngZone, wrapper,
|
|
14518
|
+
constructor(popupService, intl, cdr, pickerService, ngZone, wrapper, localization, disabledDatesService, renderer, injector) {
|
|
14451
14519
|
super();
|
|
14452
14520
|
this.popupService = popupService;
|
|
14453
14521
|
this.intl = intl;
|
|
@@ -14455,7 +14523,6 @@ class DateTimePickerComponent extends MultiTabStop {
|
|
|
14455
14523
|
this.pickerService = pickerService;
|
|
14456
14524
|
this.ngZone = ngZone;
|
|
14457
14525
|
this.wrapper = wrapper;
|
|
14458
|
-
this.touchEnabled = touchEnabled;
|
|
14459
14526
|
this.localization = localization;
|
|
14460
14527
|
this.disabledDatesService = disabledDatesService;
|
|
14461
14528
|
this.renderer = renderer;
|
|
@@ -15601,7 +15668,7 @@ class DateTimePickerComponent extends MultiTabStop {
|
|
|
15601
15668
|
if (this.isOpen) {
|
|
15602
15669
|
this.activeTabComponent.focus();
|
|
15603
15670
|
}
|
|
15604
|
-
else if (!
|
|
15671
|
+
else if (!touchEnabled) {
|
|
15605
15672
|
this.dateInput.focus();
|
|
15606
15673
|
}
|
|
15607
15674
|
else if (!this.dateInput.isActive) {
|
|
@@ -15728,8 +15795,8 @@ class DateTimePickerComponent extends MultiTabStop {
|
|
|
15728
15795
|
}
|
|
15729
15796
|
}
|
|
15730
15797
|
}
|
|
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: [
|
|
15798
|
+
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 });
|
|
15799
|
+
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
15800
|
PickerService,
|
|
15734
15801
|
LocalizationService,
|
|
15735
15802
|
DisabledDatesService,
|
|
@@ -16124,7 +16191,7 @@ DateTimePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0"
|
|
|
16124
16191
|
</div>
|
|
16125
16192
|
</div>
|
|
16126
16193
|
</ng-template>
|
|
16127
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
16194
|
+
`, 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
16195
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateTimePickerComponent, decorators: [{
|
|
16129
16196
|
type: Component,
|
|
16130
16197
|
args: [{
|
|
@@ -16527,14 +16594,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
16527
16594
|
</div>
|
|
16528
16595
|
</div>
|
|
16529
16596
|
</ng-template>
|
|
16530
|
-
|
|
16597
|
+
`,
|
|
16598
|
+
standalone: true,
|
|
16599
|
+
imports: [LocalizedMessagesDirective, DateInputComponent, EventsOutsideAngularDirective, DateInputCustomMessagesComponent, NgIf, IconWrapperComponent, NgTemplateOutlet, ResizeSensorComponent, ActionSheetComponent, ActionSheetTemplateDirective, ButtonComponent, NgClass, CalendarComponent, CalendarCustomMessagesComponent, TimeSelectorComponent, TimeSelectorCustomMessagesComponent]
|
|
16531
16600
|
}]
|
|
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: [{
|
|
16601
|
+
}], 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
16602
|
type: HostBinding,
|
|
16539
16603
|
args: ['class.k-datetimepicker']
|
|
16540
16604
|
}, {
|
|
@@ -16699,11 +16763,12 @@ class DateRangePopupTemplateDirective {
|
|
|
16699
16763
|
}
|
|
16700
16764
|
}
|
|
16701
16765
|
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 });
|
|
16766
|
+
DateRangePopupTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: DateRangePopupTemplateDirective, isStandalone: true, selector: "[kendoDateRangePopupTemplate]", ngImport: i0 });
|
|
16703
16767
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateRangePopupTemplateDirective, decorators: [{
|
|
16704
16768
|
type: Directive,
|
|
16705
16769
|
args: [{
|
|
16706
|
-
selector: '[kendoDateRangePopupTemplate]'
|
|
16770
|
+
selector: '[kendoDateRangePopupTemplate]',
|
|
16771
|
+
standalone: true
|
|
16707
16772
|
}]
|
|
16708
16773
|
}], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
|
|
16709
16774
|
|
|
@@ -17105,11 +17170,12 @@ class DateRangeSelectionDirective {
|
|
|
17105
17170
|
}
|
|
17106
17171
|
}
|
|
17107
17172
|
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 });
|
|
17173
|
+
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
17174
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateRangeSelectionDirective, decorators: [{
|
|
17110
17175
|
type: Directive,
|
|
17111
17176
|
args: [{
|
|
17112
|
-
selector: '[kendoDateRangeSelection]'
|
|
17177
|
+
selector: '[kendoDateRangeSelection]',
|
|
17178
|
+
standalone: true
|
|
17113
17179
|
}]
|
|
17114
17180
|
}], ctorParameters: function () {
|
|
17115
17181
|
return [{ type: MultiViewCalendarComponent }, { type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: DateRangeService, decorators: [{
|
|
@@ -17162,7 +17228,7 @@ class DateRangePopupLocalizedMessagesDirective extends DateRangePopupMessages {
|
|
|
17162
17228
|
}
|
|
17163
17229
|
}
|
|
17164
17230
|
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: [
|
|
17231
|
+
DateRangePopupLocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: DateRangePopupLocalizedMessagesDirective, isStandalone: true, selector: "[kendoDateRangePopupLocalizedMessages]", providers: [
|
|
17166
17232
|
{
|
|
17167
17233
|
provide: DateRangePopupMessages,
|
|
17168
17234
|
useExisting: forwardRef(() => DateRangePopupLocalizedMessagesDirective)
|
|
@@ -17177,7 +17243,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
17177
17243
|
useExisting: forwardRef(() => DateRangePopupLocalizedMessagesDirective)
|
|
17178
17244
|
}
|
|
17179
17245
|
],
|
|
17180
|
-
selector: '[kendoDateRangePopupLocalizedMessages]'
|
|
17246
|
+
selector: '[kendoDateRangePopupLocalizedMessages]',
|
|
17247
|
+
standalone: true
|
|
17181
17248
|
}]
|
|
17182
17249
|
}], ctorParameters: function () { return [{ type: i1$1.LocalizationService }]; } });
|
|
17183
17250
|
|
|
@@ -17658,7 +17725,7 @@ class DateRangePopupComponent {
|
|
|
17658
17725
|
}
|
|
17659
17726
|
}
|
|
17660
17727
|
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: [
|
|
17728
|
+
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
17729
|
LocalizationService,
|
|
17663
17730
|
{
|
|
17664
17731
|
provide: L10N_PREFIX,
|
|
@@ -17764,7 +17831,7 @@ DateRangePopupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0"
|
|
|
17764
17831
|
</div>
|
|
17765
17832
|
</ng-template>
|
|
17766
17833
|
</kendo-actionsheet>
|
|
17767
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
17834
|
+
`, 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
17835
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateRangePopupComponent, decorators: [{
|
|
17769
17836
|
type: Component,
|
|
17770
17837
|
args: [{
|
|
@@ -17877,7 +17944,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
17877
17944
|
</div>
|
|
17878
17945
|
</ng-template>
|
|
17879
17946
|
</kendo-actionsheet>
|
|
17880
|
-
|
|
17947
|
+
`,
|
|
17948
|
+
standalone: true,
|
|
17949
|
+
imports: [DateRangePopupLocalizedMessagesDirective, MultiViewCalendarComponent, ActionSheetComponent, ActionSheetTemplateDirective, NgIf, ResizeSensorComponent, ButtonComponent]
|
|
17881
17950
|
}]
|
|
17882
17951
|
}], ctorParameters: function () {
|
|
17883
17952
|
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 +18071,10 @@ class DateRangeComponent {
|
|
|
18002
18071
|
}
|
|
18003
18072
|
}
|
|
18004
18073
|
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: `
|
|
18074
|
+
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
18075
|
<ng-content></ng-content>
|
|
18007
18076
|
<kendo-daterange-popup *ngIf="showDefault" [size]="size"></kendo-daterange-popup>
|
|
18008
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
18077
|
+
`, 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
18078
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateRangeComponent, decorators: [{
|
|
18010
18079
|
type: Component,
|
|
18011
18080
|
args: [{
|
|
@@ -18014,7 +18083,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
18014
18083
|
template: `
|
|
18015
18084
|
<ng-content></ng-content>
|
|
18016
18085
|
<kendo-daterange-popup *ngIf="showDefault" [size]="size"></kendo-daterange-popup>
|
|
18017
|
-
|
|
18086
|
+
`,
|
|
18087
|
+
standalone: true,
|
|
18088
|
+
imports: [NgIf, DateRangePopupComponent]
|
|
18018
18089
|
}]
|
|
18019
18090
|
}], ctorParameters: function () { return [{ type: DateRangeService }]; }, propDecorators: { size: [{
|
|
18020
18091
|
type: Input
|
|
@@ -18212,11 +18283,12 @@ class DateRangeEndInputDirective extends DateRangeInput {
|
|
|
18212
18283
|
}
|
|
18213
18284
|
}
|
|
18214
18285
|
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 });
|
|
18286
|
+
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
18287
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateRangeEndInputDirective, decorators: [{
|
|
18217
18288
|
type: Directive,
|
|
18218
18289
|
args: [{
|
|
18219
|
-
selector: '[kendoDateRangeEndInput]'
|
|
18290
|
+
selector: '[kendoDateRangeEndInput]',
|
|
18291
|
+
standalone: true
|
|
18220
18292
|
}]
|
|
18221
18293
|
}], ctorParameters: function () { return [{ type: DateRangeService }, { type: DateInputComponent }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.NgZone }]; }, propDecorators: { autoCorrectOn: [{
|
|
18222
18294
|
type: Input
|
|
@@ -18293,11 +18365,12 @@ class DateRangeStartInputDirective extends DateRangeInput {
|
|
|
18293
18365
|
}
|
|
18294
18366
|
}
|
|
18295
18367
|
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 });
|
|
18368
|
+
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
18369
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateRangeStartInputDirective, decorators: [{
|
|
18298
18370
|
type: Directive,
|
|
18299
18371
|
args: [{
|
|
18300
|
-
selector: '[kendoDateRangeStartInput]'
|
|
18372
|
+
selector: '[kendoDateRangeStartInput]',
|
|
18373
|
+
standalone: true
|
|
18301
18374
|
}]
|
|
18302
18375
|
}], ctorParameters: function () { return [{ type: DateRangeService }, { type: DateInputComponent }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.NgZone }]; }, propDecorators: { autoCorrectOn: [{
|
|
18303
18376
|
type: Input
|
|
@@ -18306,114 +18379,255 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
18306
18379
|
}] } });
|
|
18307
18380
|
|
|
18308
18381
|
/**
|
|
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.
|
|
18382
|
+
* Custom component messages override default component messages ([see example]({% slug globalization_dateinputs %}#toc-custom-messages)).
|
|
18317
18383
|
*/
|
|
18318
|
-
class
|
|
18384
|
+
class DatePickerCustomMessagesComponent extends DatePickerMessages {
|
|
18385
|
+
constructor(service) {
|
|
18386
|
+
super();
|
|
18387
|
+
this.service = service;
|
|
18388
|
+
}
|
|
18389
|
+
get override() {
|
|
18390
|
+
return true;
|
|
18391
|
+
}
|
|
18319
18392
|
}
|
|
18320
|
-
|
|
18321
|
-
|
|
18322
|
-
|
|
18323
|
-
|
|
18324
|
-
|
|
18325
|
-
|
|
18326
|
-
|
|
18327
|
-
|
|
18328
|
-
|
|
18329
|
-
|
|
18330
|
-
|
|
18393
|
+
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 });
|
|
18394
|
+
DatePickerCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: DatePickerCustomMessagesComponent, isStandalone: true, selector: "kendo-datepicker-messages", providers: [
|
|
18395
|
+
{
|
|
18396
|
+
provide: DatePickerMessages,
|
|
18397
|
+
useExisting: forwardRef(() => DatePickerCustomMessagesComponent)
|
|
18398
|
+
}
|
|
18399
|
+
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
18400
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DatePickerCustomMessagesComponent, decorators: [{
|
|
18401
|
+
type: Component,
|
|
18402
|
+
args: [{
|
|
18403
|
+
providers: [
|
|
18404
|
+
{
|
|
18405
|
+
provide: DatePickerMessages,
|
|
18406
|
+
useExisting: forwardRef(() => DatePickerCustomMessagesComponent)
|
|
18407
|
+
}
|
|
18408
|
+
],
|
|
18409
|
+
selector: 'kendo-datepicker-messages',
|
|
18410
|
+
template: ``,
|
|
18411
|
+
standalone: true
|
|
18412
|
+
}]
|
|
18413
|
+
}], ctorParameters: function () { return [{ type: i1$1.LocalizationService }]; } });
|
|
18414
|
+
|
|
18415
|
+
/**
|
|
18416
|
+
* Custom component messages override default component messages ([see example]({% slug globalization_dateinputs %}#toc-custom-messages)).
|
|
18417
|
+
*/
|
|
18418
|
+
class DateRangePopupCustomMessagesComponent extends DateRangePopupMessages {
|
|
18419
|
+
constructor(service) {
|
|
18420
|
+
super();
|
|
18421
|
+
this.service = service;
|
|
18422
|
+
}
|
|
18423
|
+
get override() {
|
|
18424
|
+
return true;
|
|
18425
|
+
}
|
|
18426
|
+
}
|
|
18427
|
+
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 });
|
|
18428
|
+
DateRangePopupCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: DateRangePopupCustomMessagesComponent, isStandalone: true, selector: "kendo-daterange-popup-messages", providers: [
|
|
18429
|
+
{
|
|
18430
|
+
provide: DateRangePopupMessages,
|
|
18431
|
+
useExisting: forwardRef(() => DateRangePopupCustomMessagesComponent)
|
|
18432
|
+
}
|
|
18433
|
+
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
18434
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateRangePopupCustomMessagesComponent, decorators: [{
|
|
18435
|
+
type: Component,
|
|
18331
18436
|
args: [{
|
|
18332
|
-
|
|
18333
|
-
|
|
18334
|
-
|
|
18335
|
-
|
|
18336
|
-
|
|
18437
|
+
providers: [
|
|
18438
|
+
{
|
|
18439
|
+
provide: DateRangePopupMessages,
|
|
18440
|
+
useExisting: forwardRef(() => DateRangePopupCustomMessagesComponent)
|
|
18441
|
+
}
|
|
18337
18442
|
],
|
|
18338
|
-
|
|
18339
|
-
|
|
18340
|
-
|
|
18341
|
-
|
|
18342
|
-
|
|
18443
|
+
selector: 'kendo-daterange-popup-messages',
|
|
18444
|
+
template: ``,
|
|
18445
|
+
standalone: true
|
|
18446
|
+
}]
|
|
18447
|
+
}], ctorParameters: function () { return [{ type: i1$1.LocalizationService }]; } });
|
|
18448
|
+
|
|
18449
|
+
/**
|
|
18450
|
+
* Custom component messages override default component messages ([see example]({% slug globalization_dateinputs %}#toc-custom-messages)).
|
|
18451
|
+
*/
|
|
18452
|
+
class DateTimePickerCustomMessagesComponent extends DateTimePickerMessages {
|
|
18453
|
+
constructor(service) {
|
|
18454
|
+
super();
|
|
18455
|
+
this.service = service;
|
|
18456
|
+
}
|
|
18457
|
+
get override() {
|
|
18458
|
+
return true;
|
|
18459
|
+
}
|
|
18460
|
+
}
|
|
18461
|
+
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 });
|
|
18462
|
+
DateTimePickerCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: DateTimePickerCustomMessagesComponent, isStandalone: true, selector: "kendo-datetimepicker-messages", providers: [
|
|
18463
|
+
{
|
|
18464
|
+
provide: DateTimePickerMessages,
|
|
18465
|
+
useExisting: forwardRef(() => DateTimePickerCustomMessagesComponent)
|
|
18466
|
+
}
|
|
18467
|
+
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
18468
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateTimePickerCustomMessagesComponent, decorators: [{
|
|
18469
|
+
type: Component,
|
|
18470
|
+
args: [{
|
|
18471
|
+
providers: [
|
|
18472
|
+
{
|
|
18473
|
+
provide: DateTimePickerMessages,
|
|
18474
|
+
useExisting: forwardRef(() => DateTimePickerCustomMessagesComponent)
|
|
18475
|
+
}
|
|
18343
18476
|
],
|
|
18344
|
-
|
|
18477
|
+
selector: 'kendo-datetimepicker-messages',
|
|
18478
|
+
template: ``,
|
|
18479
|
+
standalone: true
|
|
18345
18480
|
}]
|
|
18346
|
-
}] });
|
|
18481
|
+
}], ctorParameters: function () { return [{ type: i1$1.LocalizationService }]; } });
|
|
18347
18482
|
|
|
18348
18483
|
/**
|
|
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.
|
|
18484
|
+
* Custom component messages override default component messages ([see example]({% slug globalization_dateinputs %}#toc-custom-messages)).
|
|
18362
18485
|
*/
|
|
18363
|
-
class
|
|
18486
|
+
class TimePickerCustomMessagesComponent extends TimePickerMessages {
|
|
18487
|
+
constructor(service) {
|
|
18488
|
+
super();
|
|
18489
|
+
this.service = service;
|
|
18490
|
+
}
|
|
18491
|
+
get override() {
|
|
18492
|
+
return true;
|
|
18493
|
+
}
|
|
18364
18494
|
}
|
|
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,
|
|
18495
|
+
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 });
|
|
18496
|
+
TimePickerCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TimePickerCustomMessagesComponent, isStandalone: true, selector: "kendo-timepicker-messages", providers: [
|
|
18497
|
+
{
|
|
18498
|
+
provide: TimePickerMessages,
|
|
18499
|
+
useExisting: forwardRef(() => TimePickerCustomMessagesComponent)
|
|
18500
|
+
}
|
|
18501
|
+
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
18502
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimePickerCustomMessagesComponent, decorators: [{
|
|
18503
|
+
type: Component,
|
|
18388
18504
|
args: [{
|
|
18389
|
-
|
|
18390
|
-
|
|
18391
|
-
|
|
18392
|
-
|
|
18393
|
-
|
|
18394
|
-
CenturyCellTemplateDirective,
|
|
18395
|
-
WeekNumberCellTemplateDirective,
|
|
18396
|
-
HeaderTitleTemplateDirective,
|
|
18397
|
-
NavigationItemTemplateDirective,
|
|
18398
|
-
HeaderTemplateDirective,
|
|
18399
|
-
FooterTemplateDirective
|
|
18505
|
+
providers: [
|
|
18506
|
+
{
|
|
18507
|
+
provide: TimePickerMessages,
|
|
18508
|
+
useExisting: forwardRef(() => TimePickerCustomMessagesComponent)
|
|
18509
|
+
}
|
|
18400
18510
|
],
|
|
18401
|
-
|
|
18402
|
-
|
|
18403
|
-
|
|
18404
|
-
YearCellTemplateDirective,
|
|
18405
|
-
DecadeCellTemplateDirective,
|
|
18406
|
-
CenturyCellTemplateDirective,
|
|
18407
|
-
WeekNumberCellTemplateDirective,
|
|
18408
|
-
HeaderTitleTemplateDirective,
|
|
18409
|
-
NavigationItemTemplateDirective,
|
|
18410
|
-
HeaderTemplateDirective,
|
|
18411
|
-
FooterTemplateDirective
|
|
18412
|
-
]
|
|
18511
|
+
selector: 'kendo-timepicker-messages',
|
|
18512
|
+
template: ``,
|
|
18513
|
+
standalone: true
|
|
18413
18514
|
}]
|
|
18414
|
-
}] });
|
|
18515
|
+
}], ctorParameters: function () { return [{ type: i1$1.LocalizationService }]; } });
|
|
18516
|
+
|
|
18517
|
+
/**
|
|
18518
|
+
* Utility array that contains all `Calendar` related components and directives
|
|
18519
|
+
*/
|
|
18520
|
+
const KENDO_CALENDAR = [
|
|
18521
|
+
CalendarCustomMessagesComponent,
|
|
18522
|
+
CalendarComponent,
|
|
18523
|
+
CellTemplateDirective,
|
|
18524
|
+
CenturyCellTemplateDirective,
|
|
18525
|
+
DecadeCellTemplateDirective,
|
|
18526
|
+
FooterTemplateDirective,
|
|
18527
|
+
HeaderTemplateDirective,
|
|
18528
|
+
HeaderTitleTemplateDirective,
|
|
18529
|
+
MonthCellTemplateDirective,
|
|
18530
|
+
NavigationItemTemplateDirective,
|
|
18531
|
+
WeekNumberCellTemplateDirective,
|
|
18532
|
+
YearCellTemplateDirective,
|
|
18533
|
+
NavigationItemTemplateDirective
|
|
18534
|
+
];
|
|
18535
|
+
/**
|
|
18536
|
+
* Utility array that contains all `MultiViewCalendar` related components and directives
|
|
18537
|
+
*/
|
|
18538
|
+
const KENDO_MULTIVIEWCALENDAR = [
|
|
18539
|
+
MultiViewCalendarCustomMessagesComponent,
|
|
18540
|
+
MultiViewCalendarComponent,
|
|
18541
|
+
CellTemplateDirective,
|
|
18542
|
+
CenturyCellTemplateDirective,
|
|
18543
|
+
DecadeCellTemplateDirective,
|
|
18544
|
+
FooterTemplateDirective,
|
|
18545
|
+
HeaderTemplateDirective,
|
|
18546
|
+
HeaderTitleTemplateDirective,
|
|
18547
|
+
MonthCellTemplateDirective,
|
|
18548
|
+
NavigationItemTemplateDirective,
|
|
18549
|
+
WeekNumberCellTemplateDirective,
|
|
18550
|
+
YearCellTemplateDirective
|
|
18551
|
+
];
|
|
18552
|
+
/**
|
|
18553
|
+
* Utility array that contains all `DateInput` related components and directives
|
|
18554
|
+
*/
|
|
18555
|
+
const KENDO_DATEINPUT = [
|
|
18556
|
+
DateInputCustomMessagesComponent,
|
|
18557
|
+
DateInputComponent
|
|
18558
|
+
];
|
|
18559
|
+
/**
|
|
18560
|
+
* Utility array that contains all `DatePicker` related components and directives
|
|
18561
|
+
*/
|
|
18562
|
+
const KENDO_DATEPICKER = [
|
|
18563
|
+
DatePickerCustomMessagesComponent,
|
|
18564
|
+
DatePickerComponent,
|
|
18565
|
+
CellTemplateDirective,
|
|
18566
|
+
CenturyCellTemplateDirective,
|
|
18567
|
+
DecadeCellTemplateDirective,
|
|
18568
|
+
FooterTemplateDirective,
|
|
18569
|
+
HeaderTemplateDirective,
|
|
18570
|
+
HeaderTitleTemplateDirective,
|
|
18571
|
+
MonthCellTemplateDirective,
|
|
18572
|
+
NavigationItemTemplateDirective,
|
|
18573
|
+
WeekNumberCellTemplateDirective,
|
|
18574
|
+
YearCellTemplateDirective,
|
|
18575
|
+
NavigationItemTemplateDirective
|
|
18576
|
+
];
|
|
18577
|
+
/**
|
|
18578
|
+
* Utility array that contains all `DateRange` related components and directives
|
|
18579
|
+
*/
|
|
18580
|
+
const KENDO_DATERANGE = [
|
|
18581
|
+
DateRangePopupCustomMessagesComponent,
|
|
18582
|
+
...KENDO_DATEINPUT,
|
|
18583
|
+
DateRangeEndInputDirective,
|
|
18584
|
+
DateRangePopupTemplateDirective,
|
|
18585
|
+
DateRangeComponent,
|
|
18586
|
+
DateRangePopupComponent,
|
|
18587
|
+
DateRangeSelectionDirective,
|
|
18588
|
+
DateRangeStartInputDirective
|
|
18589
|
+
];
|
|
18590
|
+
/**
|
|
18591
|
+
* Utility array that contains all `DateTimePicker` related components and directives
|
|
18592
|
+
*/
|
|
18593
|
+
const KENDO_DATETIMEPICKER = [
|
|
18594
|
+
DateTimePickerCustomMessagesComponent,
|
|
18595
|
+
DateTimePickerComponent,
|
|
18596
|
+
CellTemplateDirective,
|
|
18597
|
+
CenturyCellTemplateDirective,
|
|
18598
|
+
DecadeCellTemplateDirective,
|
|
18599
|
+
FooterTemplateDirective,
|
|
18600
|
+
HeaderTemplateDirective,
|
|
18601
|
+
HeaderTitleTemplateDirective,
|
|
18602
|
+
MonthCellTemplateDirective,
|
|
18603
|
+
NavigationItemTemplateDirective,
|
|
18604
|
+
WeekNumberCellTemplateDirective,
|
|
18605
|
+
YearCellTemplateDirective
|
|
18606
|
+
];
|
|
18607
|
+
/**
|
|
18608
|
+
* Utility array that contains all `TimePicker` related components and directives
|
|
18609
|
+
*/
|
|
18610
|
+
const KENDO_TIMEPICKER = [
|
|
18611
|
+
TimePickerCustomMessagesComponent,
|
|
18612
|
+
TimePickerComponent
|
|
18613
|
+
];
|
|
18614
|
+
/**
|
|
18615
|
+
* Utility array that contains all `@progress/kendo-angular-dateinputs` related components and directives
|
|
18616
|
+
*/
|
|
18617
|
+
const KENDO_DATEINPUTS = [
|
|
18618
|
+
...KENDO_CALENDAR,
|
|
18619
|
+
...KENDO_MULTIVIEWCALENDAR,
|
|
18620
|
+
...KENDO_DATEINPUT,
|
|
18621
|
+
...KENDO_DATEPICKER,
|
|
18622
|
+
...KENDO_DATERANGE,
|
|
18623
|
+
...KENDO_DATETIMEPICKER,
|
|
18624
|
+
...KENDO_TIMEPICKER
|
|
18625
|
+
];
|
|
18415
18626
|
|
|
18627
|
+
// IMPORTANT: NgModule export kept for backwards compatibility
|
|
18416
18628
|
/**
|
|
18629
|
+
* The exported package module.
|
|
18630
|
+
*
|
|
18417
18631
|
* The package exports:
|
|
18418
18632
|
* - `CellTemplateDirective`—The month cell template directive.
|
|
18419
18633
|
* - `MonthCellTemplateDirective`—The month cell template directive.
|
|
@@ -18422,134 +18636,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
18422
18636
|
* - `CenturyCellTemplateDirective`—The century cell template directive.
|
|
18423
18637
|
* - `WeekNumberCellTemplateDirective`—The month week number cell template directive.
|
|
18424
18638
|
* - `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);
|
|
18450
|
-
*/
|
|
18451
|
-
class MultiViewCalendarModule {
|
|
18452
|
-
}
|
|
18453
|
-
MultiViewCalendarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MultiViewCalendarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
18454
|
-
MultiViewCalendarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: MultiViewCalendarModule, declarations: [HorizontalViewListComponent,
|
|
18455
|
-
MultiViewCalendarLocalizedMessagesDirective,
|
|
18456
|
-
MultiViewCalendarCustomMessagesComponent,
|
|
18457
|
-
MultiViewCalendarComponent], imports: [CommonModule,
|
|
18458
|
-
CalendarCommonModule,
|
|
18459
|
-
IntlModule,
|
|
18460
|
-
TemplatesModule,
|
|
18461
|
-
PopupModule,
|
|
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,
|
|
18484
|
-
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
|
-
providers: [
|
|
18508
|
-
NavigationService,
|
|
18509
|
-
CenturyViewService,
|
|
18510
|
-
DecadeViewService,
|
|
18511
|
-
MonthViewService,
|
|
18512
|
-
YearViewService,
|
|
18513
|
-
WeekNamesService
|
|
18514
|
-
]
|
|
18515
|
-
}]
|
|
18516
|
-
}] });
|
|
18517
|
-
|
|
18518
|
-
const COMPONENT_DIRECTIVES$3 = [
|
|
18519
|
-
VirtualizationComponent
|
|
18520
|
-
];
|
|
18521
|
-
/**
|
|
18522
|
-
* @hidden
|
|
18523
|
-
*
|
|
18524
|
-
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
18525
|
-
* definition for the Virtualization component.
|
|
18526
|
-
*/
|
|
18527
|
-
class VirtualizationModule {
|
|
18528
|
-
}
|
|
18529
|
-
VirtualizationModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: VirtualizationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
18530
|
-
VirtualizationModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: VirtualizationModule, declarations: [VirtualizationComponent], imports: [CommonModule], exports: [VirtualizationComponent] });
|
|
18531
|
-
VirtualizationModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: VirtualizationModule, imports: [CommonModule] });
|
|
18532
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: VirtualizationModule, decorators: [{
|
|
18533
|
-
type: NgModule,
|
|
18534
|
-
args: [{
|
|
18535
|
-
declarations: [COMPONENT_DIRECTIVES$3],
|
|
18536
|
-
exports: [COMPONENT_DIRECTIVES$3],
|
|
18537
|
-
imports: [CommonModule]
|
|
18538
|
-
}]
|
|
18539
|
-
}] });
|
|
18540
|
-
|
|
18541
|
-
/**
|
|
18542
|
-
* The exported package module.
|
|
18543
|
-
*
|
|
18544
|
-
* The package exports:
|
|
18545
|
-
* - `CellTemplateDirective`—The month cell template directive.
|
|
18546
|
-
* - `MonthCellTemplateDirective`—The month cell template directive.
|
|
18547
|
-
* - `YearCellTemplateDirective`—The year cell template directive.
|
|
18548
|
-
* - `DecadeCellTemplateDirective`—The decade cell template directive.
|
|
18549
|
-
* - `CenturyCellTemplateDirective`—The century cell template directive.
|
|
18550
|
-
* - `WeekNumberCellTemplateDirective`—The month week number cell template directive.
|
|
18551
|
-
* - `HeaderTitleTemplateDirective`—The header title template directive.
|
|
18552
|
-
* - `NavigationItemTemplateDirective`—The navigation item template directive.
|
|
18639
|
+
* - `NavigationItemTemplateDirective`—The navigation item template directive.
|
|
18553
18640
|
*
|
|
18554
18641
|
* @example
|
|
18555
18642
|
*
|
|
@@ -18581,80 +18668,40 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
18581
18668
|
class CalendarModule {
|
|
18582
18669
|
}
|
|
18583
18670
|
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] });
|
|
18671
|
+
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
18672
|
CalendarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CalendarModule, providers: [
|
|
18673
|
+
IconsService,
|
|
18674
|
+
ResizeBatchService,
|
|
18603
18675
|
CalendarDOMService,
|
|
18604
18676
|
CenturyViewService,
|
|
18605
18677
|
DecadeViewService,
|
|
18606
18678
|
MonthViewService,
|
|
18607
18679
|
YearViewService,
|
|
18608
|
-
WeekNamesService
|
|
18609
|
-
|
|
18610
|
-
|
|
18611
|
-
|
|
18612
|
-
IntlModule,
|
|
18613
|
-
TemplatesModule,
|
|
18614
|
-
VirtualizationModule,
|
|
18615
|
-
EventsModule,
|
|
18616
|
-
ResizeSensorModule, CalendarCommonModule,
|
|
18617
|
-
TemplatesModule] });
|
|
18680
|
+
WeekNamesService,
|
|
18681
|
+
PopupService,
|
|
18682
|
+
NavigationService
|
|
18683
|
+
], imports: [CalendarCustomMessagesComponent, CalendarComponent] });
|
|
18618
18684
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CalendarModule, decorators: [{
|
|
18619
18685
|
type: NgModule,
|
|
18620
18686
|
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
|
-
],
|
|
18687
|
+
exports: [...KENDO_CALENDAR],
|
|
18688
|
+
imports: [...KENDO_CALENDAR],
|
|
18647
18689
|
providers: [
|
|
18690
|
+
IconsService,
|
|
18691
|
+
ResizeBatchService,
|
|
18648
18692
|
CalendarDOMService,
|
|
18649
18693
|
CenturyViewService,
|
|
18650
18694
|
DecadeViewService,
|
|
18651
18695
|
MonthViewService,
|
|
18652
18696
|
YearViewService,
|
|
18653
|
-
WeekNamesService
|
|
18697
|
+
WeekNamesService,
|
|
18698
|
+
PopupService,
|
|
18699
|
+
NavigationService
|
|
18654
18700
|
]
|
|
18655
18701
|
}]
|
|
18656
18702
|
}] });
|
|
18657
18703
|
|
|
18704
|
+
// IMPORTANT: NgModule export kept for backwards compatibility
|
|
18658
18705
|
/**
|
|
18659
18706
|
* The exported package module.
|
|
18660
18707
|
*
|
|
@@ -18692,26 +18739,40 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
18692
18739
|
class CalendarsModule {
|
|
18693
18740
|
}
|
|
18694
18741
|
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
|
-
|
|
18742
|
+
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] });
|
|
18743
|
+
CalendarsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CalendarsModule, providers: [
|
|
18744
|
+
IconsService,
|
|
18745
|
+
ResizeBatchService,
|
|
18746
|
+
CalendarDOMService,
|
|
18747
|
+
CenturyViewService,
|
|
18748
|
+
DecadeViewService,
|
|
18749
|
+
MonthViewService,
|
|
18750
|
+
YearViewService,
|
|
18751
|
+
WeekNamesService,
|
|
18752
|
+
PopupService,
|
|
18753
|
+
NavigationService
|
|
18754
|
+
], imports: [CalendarCustomMessagesComponent, CalendarComponent, MultiViewCalendarCustomMessagesComponent, MultiViewCalendarComponent] });
|
|
18701
18755
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CalendarsModule, decorators: [{
|
|
18702
18756
|
type: NgModule,
|
|
18703
18757
|
args: [{
|
|
18704
|
-
exports: [
|
|
18705
|
-
|
|
18706
|
-
|
|
18707
|
-
|
|
18708
|
-
|
|
18709
|
-
|
|
18710
|
-
|
|
18758
|
+
exports: [...KENDO_CALENDAR, ...KENDO_MULTIVIEWCALENDAR],
|
|
18759
|
+
imports: [...KENDO_CALENDAR, ...KENDO_MULTIVIEWCALENDAR],
|
|
18760
|
+
providers: [
|
|
18761
|
+
IconsService,
|
|
18762
|
+
ResizeBatchService,
|
|
18763
|
+
CalendarDOMService,
|
|
18764
|
+
CenturyViewService,
|
|
18765
|
+
DecadeViewService,
|
|
18766
|
+
MonthViewService,
|
|
18767
|
+
YearViewService,
|
|
18768
|
+
WeekNamesService,
|
|
18769
|
+
PopupService,
|
|
18770
|
+
NavigationService
|
|
18711
18771
|
]
|
|
18712
18772
|
}]
|
|
18713
18773
|
}] });
|
|
18714
18774
|
|
|
18775
|
+
// IMPORTANT: NgModule export kept for backwards compatibility
|
|
18715
18776
|
/**
|
|
18716
18777
|
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
18717
18778
|
* definition for the DateInput component.
|
|
@@ -18719,90 +18780,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
18719
18780
|
class DateInputModule {
|
|
18720
18781
|
}
|
|
18721
18782
|
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] });
|
|
18783
|
+
DateInputModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: DateInputModule, imports: [DateInputCustomMessagesComponent, DateInputComponent], exports: [DateInputCustomMessagesComponent, DateInputComponent] });
|
|
18784
|
+
DateInputModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateInputModule, providers: [
|
|
18785
|
+
IconsService
|
|
18786
|
+
], imports: [KENDO_DATEINPUT] });
|
|
18728
18787
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateInputModule, decorators: [{
|
|
18729
18788
|
type: NgModule,
|
|
18730
18789
|
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: [{
|
|
18790
|
+
exports: [...KENDO_DATEINPUT],
|
|
18791
|
+
imports: [...KENDO_DATEINPUT],
|
|
18767
18792
|
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]
|
|
18793
|
+
IconsService
|
|
18794
|
+
]
|
|
18803
18795
|
}]
|
|
18804
18796
|
}] });
|
|
18805
18797
|
|
|
18798
|
+
// IMPORTANT: NgModule export kept for backwards compatibility
|
|
18806
18799
|
/**
|
|
18807
18800
|
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
18808
18801
|
* definition for the DatePicker component.
|
|
@@ -18810,127 +18803,53 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
18810
18803
|
class DatePickerModule {
|
|
18811
18804
|
}
|
|
18812
18805
|
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] });
|
|
18806
|
+
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] });
|
|
18807
|
+
DatePickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DatePickerModule, providers: [
|
|
18808
|
+
// DateInputModule providers
|
|
18809
|
+
IconsService,
|
|
18810
|
+
// CalendarModule providers
|
|
18811
|
+
ResizeBatchService,
|
|
18812
|
+
CalendarDOMService,
|
|
18813
|
+
CenturyViewService,
|
|
18814
|
+
DecadeViewService,
|
|
18815
|
+
MonthViewService,
|
|
18816
|
+
YearViewService,
|
|
18817
|
+
WeekNamesService,
|
|
18818
|
+
PopupService,
|
|
18819
|
+
NavigationService
|
|
18820
|
+
], imports: [DatePickerCustomMessagesComponent, DatePickerComponent] });
|
|
18838
18821
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DatePickerModule, decorators: [{
|
|
18839
18822
|
type: NgModule,
|
|
18840
18823
|
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: [{
|
|
18824
|
+
exports: [...KENDO_DATEPICKER],
|
|
18825
|
+
imports: [...KENDO_DATEPICKER],
|
|
18890
18826
|
providers: [
|
|
18891
|
-
|
|
18892
|
-
|
|
18893
|
-
|
|
18894
|
-
|
|
18895
|
-
|
|
18896
|
-
|
|
18897
|
-
|
|
18827
|
+
// DateInputModule providers
|
|
18828
|
+
IconsService,
|
|
18829
|
+
// CalendarModule providers
|
|
18830
|
+
ResizeBatchService,
|
|
18831
|
+
CalendarDOMService,
|
|
18832
|
+
CenturyViewService,
|
|
18833
|
+
DecadeViewService,
|
|
18834
|
+
MonthViewService,
|
|
18835
|
+
YearViewService,
|
|
18836
|
+
WeekNamesService,
|
|
18837
|
+
PopupService,
|
|
18838
|
+
NavigationService
|
|
18839
|
+
]
|
|
18898
18840
|
}]
|
|
18899
|
-
}]
|
|
18841
|
+
}] });
|
|
18900
18842
|
|
|
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
|
-
];
|
|
18843
|
+
// IMPORTANT: NgModule export kept for backwards compatibility
|
|
18918
18844
|
/**
|
|
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.
|
|
18845
|
+
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
18846
|
+
* definition for the Date Inputs components.
|
|
18928
18847
|
*
|
|
18929
18848
|
* @example
|
|
18930
18849
|
*
|
|
18931
18850
|
* ```ts-no-run
|
|
18932
|
-
* // Import the
|
|
18933
|
-
* import {
|
|
18851
|
+
* // Import the Date Inputs module
|
|
18852
|
+
* import { DateInputsModule } from '@progress/kendo-angular-dateinputs';
|
|
18934
18853
|
*
|
|
18935
18854
|
* // The browser platform with a compiler
|
|
18936
18855
|
* import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
|
|
@@ -18942,8 +18861,8 @@ const COMPONENT_MODULES$2 = [
|
|
|
18942
18861
|
*
|
|
18943
18862
|
* // Define the app module
|
|
18944
18863
|
* _@NgModule({
|
|
18945
|
-
* declarations: [AppComponent], // declare app component
|
|
18946
|
-
* imports: [BrowserModule,
|
|
18864
|
+
* declarations: [AppComponent], // declare the app component
|
|
18865
|
+
* imports: [BrowserModule, DateInputsModule], // import the Date Inputs module
|
|
18947
18866
|
* bootstrap: [AppComponent]
|
|
18948
18867
|
* })
|
|
18949
18868
|
* export class AppModule {}
|
|
@@ -18953,102 +18872,59 @@ const COMPONENT_MODULES$2 = [
|
|
|
18953
18872
|
*
|
|
18954
18873
|
* ```
|
|
18955
18874
|
*/
|
|
18956
|
-
class
|
|
18875
|
+
class DateInputsModule {
|
|
18957
18876
|
}
|
|
18958
|
-
|
|
18959
|
-
|
|
18960
|
-
|
|
18961
|
-
|
|
18962
|
-
|
|
18963
|
-
|
|
18964
|
-
|
|
18965
|
-
|
|
18966
|
-
|
|
18967
|
-
|
|
18968
|
-
|
|
18969
|
-
|
|
18970
|
-
|
|
18971
|
-
|
|
18972
|
-
|
|
18973
|
-
|
|
18974
|
-
|
|
18975
|
-
|
|
18976
|
-
|
|
18977
|
-
|
|
18978
|
-
|
|
18979
|
-
|
|
18877
|
+
DateInputsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateInputsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
18878
|
+
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] });
|
|
18879
|
+
DateInputsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateInputsModule, providers: [
|
|
18880
|
+
// CalendarModule providers
|
|
18881
|
+
IconsService,
|
|
18882
|
+
ResizeBatchService,
|
|
18883
|
+
CalendarDOMService,
|
|
18884
|
+
CenturyViewService,
|
|
18885
|
+
DecadeViewService,
|
|
18886
|
+
MonthViewService,
|
|
18887
|
+
YearViewService,
|
|
18888
|
+
WeekNamesService,
|
|
18889
|
+
PopupService,
|
|
18890
|
+
NavigationService,
|
|
18891
|
+
// TimePickerModule providers
|
|
18892
|
+
TimePickerDOMService,
|
|
18893
|
+
HoursService,
|
|
18894
|
+
MinutesService,
|
|
18895
|
+
SecondsService,
|
|
18896
|
+
MillisecondsService,
|
|
18897
|
+
DayPeriodService
|
|
18898
|
+
], imports: [CalendarCustomMessagesComponent, CalendarComponent, MultiViewCalendarCustomMessagesComponent, MultiViewCalendarComponent, DateInputCustomMessagesComponent, DateInputComponent, DatePickerCustomMessagesComponent, DatePickerComponent, DateRangePopupCustomMessagesComponent, DateInputCustomMessagesComponent, DateInputComponent, DateRangeComponent, DateRangePopupComponent, DateTimePickerCustomMessagesComponent, DateTimePickerComponent, TimePickerCustomMessagesComponent, TimePickerComponent] });
|
|
18899
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateInputsModule, decorators: [{
|
|
18980
18900
|
type: NgModule,
|
|
18981
18901
|
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: [{
|
|
18902
|
+
exports: [...KENDO_DATEINPUTS],
|
|
18903
|
+
imports: [...KENDO_DATEINPUTS],
|
|
19010
18904
|
providers: [
|
|
19011
|
-
|
|
19012
|
-
|
|
19013
|
-
|
|
19014
|
-
|
|
19015
|
-
|
|
19016
|
-
|
|
19017
|
-
|
|
18905
|
+
// CalendarModule providers
|
|
18906
|
+
IconsService,
|
|
18907
|
+
ResizeBatchService,
|
|
18908
|
+
CalendarDOMService,
|
|
18909
|
+
CenturyViewService,
|
|
18910
|
+
DecadeViewService,
|
|
18911
|
+
MonthViewService,
|
|
18912
|
+
YearViewService,
|
|
18913
|
+
WeekNamesService,
|
|
18914
|
+
PopupService,
|
|
18915
|
+
NavigationService,
|
|
18916
|
+
// TimePickerModule providers
|
|
18917
|
+
TimePickerDOMService,
|
|
18918
|
+
HoursService,
|
|
18919
|
+
MinutesService,
|
|
18920
|
+
SecondsService,
|
|
18921
|
+
MillisecondsService,
|
|
18922
|
+
DayPeriodService
|
|
18923
|
+
]
|
|
19018
18924
|
}]
|
|
19019
|
-
}]
|
|
18925
|
+
}] });
|
|
19020
18926
|
|
|
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
|
-
];
|
|
18927
|
+
// IMPORTANT: NgModule export kept for backwards compatibility
|
|
19052
18928
|
/**
|
|
19053
18929
|
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
19054
18930
|
* definition for the TimePicker component.
|
|
@@ -19056,156 +18932,177 @@ const providers = [
|
|
|
19056
18932
|
class TimePickerModule {
|
|
19057
18933
|
}
|
|
19058
18934
|
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] });
|
|
18935
|
+
TimePickerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: TimePickerModule, imports: [TimePickerCustomMessagesComponent, TimePickerComponent], exports: [TimePickerCustomMessagesComponent, TimePickerComponent] });
|
|
18936
|
+
TimePickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimePickerModule, providers: [
|
|
18937
|
+
IconsService,
|
|
18938
|
+
PopupService,
|
|
18939
|
+
ResizeBatchService,
|
|
18940
|
+
TimePickerDOMService,
|
|
18941
|
+
HoursService,
|
|
18942
|
+
MinutesService,
|
|
18943
|
+
SecondsService,
|
|
18944
|
+
MillisecondsService,
|
|
18945
|
+
DayPeriodService,
|
|
18946
|
+
], imports: [KENDO_TIMEPICKER] });
|
|
19080
18947
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimePickerModule, decorators: [{
|
|
19081
18948
|
type: NgModule,
|
|
19082
18949
|
args: [{
|
|
19083
|
-
|
|
19084
|
-
|
|
19085
|
-
|
|
19086
|
-
|
|
18950
|
+
exports: [...KENDO_TIMEPICKER],
|
|
18951
|
+
imports: [...KENDO_TIMEPICKER],
|
|
18952
|
+
providers: [
|
|
18953
|
+
IconsService,
|
|
18954
|
+
PopupService,
|
|
18955
|
+
ResizeBatchService,
|
|
18956
|
+
TimePickerDOMService,
|
|
18957
|
+
HoursService,
|
|
18958
|
+
MinutesService,
|
|
18959
|
+
SecondsService,
|
|
18960
|
+
MillisecondsService,
|
|
18961
|
+
DayPeriodService,
|
|
18962
|
+
]
|
|
19087
18963
|
}]
|
|
19088
18964
|
}] });
|
|
19089
18965
|
|
|
18966
|
+
// IMPORTANT: NgModule export kept for backwards compatibility
|
|
19090
18967
|
/**
|
|
19091
|
-
*
|
|
18968
|
+
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
18969
|
+
* definition for the DateTimePicker component.
|
|
19092
18970
|
*/
|
|
19093
|
-
class
|
|
19094
|
-
constructor(service) {
|
|
19095
|
-
super();
|
|
19096
|
-
this.service = service;
|
|
19097
|
-
}
|
|
19098
|
-
get override() {
|
|
19099
|
-
return true;
|
|
19100
|
-
}
|
|
18971
|
+
class DateTimePickerModule {
|
|
19101
18972
|
}
|
|
19102
|
-
|
|
19103
|
-
|
|
19104
|
-
|
|
19105
|
-
|
|
19106
|
-
|
|
19107
|
-
|
|
19108
|
-
|
|
19109
|
-
|
|
19110
|
-
|
|
18973
|
+
DateTimePickerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateTimePickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
18974
|
+
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] });
|
|
18975
|
+
DateTimePickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateTimePickerModule, providers: [
|
|
18976
|
+
// CalendarModule providers
|
|
18977
|
+
IconsService,
|
|
18978
|
+
ResizeBatchService,
|
|
18979
|
+
CalendarDOMService,
|
|
18980
|
+
CenturyViewService,
|
|
18981
|
+
DecadeViewService,
|
|
18982
|
+
MonthViewService,
|
|
18983
|
+
YearViewService,
|
|
18984
|
+
WeekNamesService,
|
|
18985
|
+
PopupService,
|
|
18986
|
+
NavigationService,
|
|
18987
|
+
// TimePickerModule providers
|
|
18988
|
+
TimePickerDOMService,
|
|
18989
|
+
HoursService,
|
|
18990
|
+
MinutesService,
|
|
18991
|
+
SecondsService,
|
|
18992
|
+
MillisecondsService,
|
|
18993
|
+
DayPeriodService,
|
|
18994
|
+
], imports: [DateTimePickerCustomMessagesComponent, DateTimePickerComponent] });
|
|
18995
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateTimePickerModule, decorators: [{
|
|
18996
|
+
type: NgModule,
|
|
19111
18997
|
args: [{
|
|
18998
|
+
exports: [...KENDO_DATETIMEPICKER],
|
|
18999
|
+
imports: [...KENDO_DATETIMEPICKER],
|
|
19112
19000
|
providers: [
|
|
19113
|
-
|
|
19114
|
-
|
|
19115
|
-
|
|
19116
|
-
|
|
19117
|
-
|
|
19118
|
-
|
|
19119
|
-
|
|
19001
|
+
// CalendarModule providers
|
|
19002
|
+
IconsService,
|
|
19003
|
+
ResizeBatchService,
|
|
19004
|
+
CalendarDOMService,
|
|
19005
|
+
CenturyViewService,
|
|
19006
|
+
DecadeViewService,
|
|
19007
|
+
MonthViewService,
|
|
19008
|
+
YearViewService,
|
|
19009
|
+
WeekNamesService,
|
|
19010
|
+
PopupService,
|
|
19011
|
+
NavigationService,
|
|
19012
|
+
// TimePickerModule providers
|
|
19013
|
+
TimePickerDOMService,
|
|
19014
|
+
HoursService,
|
|
19015
|
+
MinutesService,
|
|
19016
|
+
SecondsService,
|
|
19017
|
+
MillisecondsService,
|
|
19018
|
+
DayPeriodService,
|
|
19019
|
+
]
|
|
19120
19020
|
}]
|
|
19121
|
-
}]
|
|
19021
|
+
}] });
|
|
19122
19022
|
|
|
19123
|
-
|
|
19124
|
-
DateTimePickerComponent,
|
|
19125
|
-
DateTimePickerCustomMessagesComponent,
|
|
19126
|
-
LocalizedMessagesDirective
|
|
19127
|
-
];
|
|
19023
|
+
// IMPORTANT: NgModule export kept for backwards compatibility
|
|
19128
19024
|
/**
|
|
19129
|
-
*
|
|
19130
|
-
*
|
|
19025
|
+
* The package exports:
|
|
19026
|
+
* - `CellTemplateDirective`—The month cell template directive.
|
|
19027
|
+
* - `MonthCellTemplateDirective`—The month cell template directive.
|
|
19028
|
+
* - `YearCellTemplateDirective`—The year cell template directive.
|
|
19029
|
+
* - `DecadeCellTemplateDirective`—The decade cell template directive.
|
|
19030
|
+
* - `CenturyCellTemplateDirective`—The century cell template directive.
|
|
19031
|
+
* - `WeekNumberCellTemplateDirective`—The month week number cell template directive.
|
|
19032
|
+
* - `HeaderTitleTemplateDirective`—The header title template directive.
|
|
19033
|
+
*
|
|
19034
|
+
* @example
|
|
19035
|
+
*
|
|
19036
|
+
* ```ts-no-run
|
|
19037
|
+
* // Import the MultiViewCalendar module
|
|
19038
|
+
* import { MultiViewCalendarModule } from '@progress/kendo-angular-dateinputs';
|
|
19039
|
+
*
|
|
19040
|
+
* // The browser platform with a compiler
|
|
19041
|
+
* import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
|
|
19042
|
+
*
|
|
19043
|
+
* import { NgModule } from '@angular/core';
|
|
19044
|
+
*
|
|
19045
|
+
* // Import the app component
|
|
19046
|
+
* import { AppComponent } from './app.component';
|
|
19047
|
+
*
|
|
19048
|
+
* // Define the app module
|
|
19049
|
+
* _@NgModule({
|
|
19050
|
+
* declarations: [AppComponent], // declare app component
|
|
19051
|
+
* imports: [BrowserModule, MultiViewCalendarModule], // import MultiViewCalendar module
|
|
19052
|
+
* bootstrap: [AppComponent]
|
|
19053
|
+
* })
|
|
19054
|
+
* export class AppModule {}
|
|
19055
|
+
*
|
|
19056
|
+
* // Compile and launch the module
|
|
19057
|
+
* platformBrowserDynamic().bootstrapModule(AppModule);
|
|
19131
19058
|
*/
|
|
19132
|
-
class
|
|
19059
|
+
class MultiViewCalendarModule {
|
|
19133
19060
|
}
|
|
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: [{
|
|
19061
|
+
MultiViewCalendarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MultiViewCalendarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
19062
|
+
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] });
|
|
19063
|
+
MultiViewCalendarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MultiViewCalendarModule, providers: [
|
|
19064
|
+
PopupService,
|
|
19065
|
+
NavigationService,
|
|
19066
|
+
CenturyViewService,
|
|
19067
|
+
DecadeViewService,
|
|
19068
|
+
MonthViewService,
|
|
19069
|
+
YearViewService,
|
|
19070
|
+
WeekNamesService
|
|
19071
|
+
], imports: [MultiViewCalendarCustomMessagesComponent, MultiViewCalendarComponent] });
|
|
19072
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MultiViewCalendarModule, decorators: [{
|
|
19164
19073
|
type: NgModule,
|
|
19165
19074
|
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
|
-
],
|
|
19075
|
+
exports: [...KENDO_MULTIVIEWCALENDAR],
|
|
19076
|
+
imports: [...KENDO_MULTIVIEWCALENDAR],
|
|
19186
19077
|
providers: [
|
|
19187
|
-
|
|
19078
|
+
PopupService,
|
|
19079
|
+
NavigationService,
|
|
19080
|
+
CenturyViewService,
|
|
19081
|
+
DecadeViewService,
|
|
19082
|
+
MonthViewService,
|
|
19083
|
+
YearViewService,
|
|
19084
|
+
WeekNamesService
|
|
19188
19085
|
]
|
|
19189
19086
|
}]
|
|
19190
19087
|
}] });
|
|
19191
19088
|
|
|
19192
|
-
|
|
19193
|
-
CalendarsModule,
|
|
19194
|
-
DateInputModule,
|
|
19195
|
-
DatePickerModule,
|
|
19196
|
-
TimePickerModule,
|
|
19197
|
-
DateRangeModule,
|
|
19198
|
-
DateTimePickerModule
|
|
19199
|
-
];
|
|
19089
|
+
// IMPORTANT: NgModule export kept for backwards compatibility
|
|
19200
19090
|
/**
|
|
19201
|
-
*
|
|
19202
|
-
*
|
|
19091
|
+
* The exported package module.
|
|
19092
|
+
*
|
|
19093
|
+
* The package exports:
|
|
19094
|
+
* - `DateRangeComponent`—The DateRange component class.
|
|
19095
|
+
* - `DateRangePopupComponent`—The DateRangePopup component class.
|
|
19096
|
+
* - `DateRangeSelectionDirective`—The MultiviewCalendar date range selection directive.
|
|
19097
|
+
* - `DateRangeEndInputDirective`—The end DateInput date range selection directive.
|
|
19098
|
+
* - `DateRangeStartInputDirective`—The start DateInput date range selection directive.
|
|
19099
|
+
* - `DateRangePopupTemplateDirective`—The DateRangePopup content template directive.
|
|
19203
19100
|
*
|
|
19204
19101
|
* @example
|
|
19205
19102
|
*
|
|
19206
19103
|
* ```ts-no-run
|
|
19207
|
-
* // Import the
|
|
19208
|
-
* import {
|
|
19104
|
+
* // Import the DateRange module
|
|
19105
|
+
* import { DateRangeModule } from '@progress/kendo-angular-dateinputs';
|
|
19209
19106
|
*
|
|
19210
19107
|
* // The browser platform with a compiler
|
|
19211
19108
|
* import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
|
|
@@ -19217,8 +19114,8 @@ const COMPONENT_MODULES = [
|
|
|
19217
19114
|
*
|
|
19218
19115
|
* // Define the app module
|
|
19219
19116
|
* _@NgModule({
|
|
19220
|
-
* declarations: [AppComponent], // declare
|
|
19221
|
-
* imports: [BrowserModule,
|
|
19117
|
+
* declarations: [AppComponent], // declare app component
|
|
19118
|
+
* imports: [BrowserModule, DateRangeModule], // import DateRange module
|
|
19222
19119
|
* bootstrap: [AppComponent]
|
|
19223
19120
|
* })
|
|
19224
19121
|
* export class AppModule {}
|
|
@@ -19228,31 +19125,75 @@ const COMPONENT_MODULES = [
|
|
|
19228
19125
|
*
|
|
19229
19126
|
* ```
|
|
19230
19127
|
*/
|
|
19231
|
-
class
|
|
19128
|
+
class DateRangeModule {
|
|
19232
19129
|
}
|
|
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: [{
|
|
19130
|
+
DateRangeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateRangeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
19131
|
+
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] });
|
|
19132
|
+
DateRangeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateRangeModule, providers: [
|
|
19133
|
+
// MultiViewCalendarModule providers
|
|
19134
|
+
PopupService,
|
|
19135
|
+
NavigationService,
|
|
19136
|
+
CenturyViewService,
|
|
19137
|
+
DecadeViewService,
|
|
19138
|
+
MonthViewService,
|
|
19139
|
+
YearViewService,
|
|
19140
|
+
WeekNamesService,
|
|
19141
|
+
// DateInputModule providers
|
|
19142
|
+
IconsService,
|
|
19143
|
+
// AdaptiveModule providers
|
|
19144
|
+
ResizeBatchService
|
|
19145
|
+
], imports: [DateRangePopupCustomMessagesComponent, DateInputCustomMessagesComponent, DateInputComponent, DateRangeComponent, DateRangePopupComponent] });
|
|
19146
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DateRangeModule, decorators: [{
|
|
19252
19147
|
type: NgModule,
|
|
19253
19148
|
args: [{
|
|
19254
|
-
exports:
|
|
19255
|
-
imports:
|
|
19149
|
+
exports: [...KENDO_DATERANGE],
|
|
19150
|
+
imports: [...KENDO_DATERANGE],
|
|
19151
|
+
providers: [
|
|
19152
|
+
// MultiViewCalendarModule providers
|
|
19153
|
+
PopupService,
|
|
19154
|
+
NavigationService,
|
|
19155
|
+
CenturyViewService,
|
|
19156
|
+
DecadeViewService,
|
|
19157
|
+
MonthViewService,
|
|
19158
|
+
YearViewService,
|
|
19159
|
+
WeekNamesService,
|
|
19160
|
+
// DateInputModule providers
|
|
19161
|
+
IconsService,
|
|
19162
|
+
// AdaptiveModule providers
|
|
19163
|
+
ResizeBatchService
|
|
19164
|
+
]
|
|
19165
|
+
}]
|
|
19166
|
+
}] });
|
|
19167
|
+
|
|
19168
|
+
const KENDO_ADAPTIVE = [
|
|
19169
|
+
...KENDO_RESIZESENSOR,
|
|
19170
|
+
...KENDO_BUTTON,
|
|
19171
|
+
...KENDO_NAVIGATION
|
|
19172
|
+
];
|
|
19173
|
+
//IMPORTANT: This module is not needed and can be removed in the following major release.
|
|
19174
|
+
//The reason to keep it is that the module used to be public prior the migration to standalone.
|
|
19175
|
+
/**
|
|
19176
|
+
* @hidden
|
|
19177
|
+
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
19178
|
+
* definition for the modules specific to the Adaptive Mode.
|
|
19179
|
+
*/
|
|
19180
|
+
class AdaptiveModule {
|
|
19181
|
+
}
|
|
19182
|
+
AdaptiveModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AdaptiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
19183
|
+
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] });
|
|
19184
|
+
AdaptiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AdaptiveModule, providers: [
|
|
19185
|
+
ResizeBatchService,
|
|
19186
|
+
IconsService
|
|
19187
|
+
], imports: [i1$2.ResizeSensorComponent, i2.ButtonComponent, i3.ActionSheetComponent, i3.AppBarComponent, i3.AppBarSectionComponent, i3.AppBarSpacerComponent, i3.BottomNavigationComponent, i3.BreadCrumbComponent] });
|
|
19188
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AdaptiveModule, decorators: [{
|
|
19189
|
+
type: NgModule,
|
|
19190
|
+
args: [{
|
|
19191
|
+
imports: [...KENDO_ADAPTIVE],
|
|
19192
|
+
exports: [...KENDO_ADAPTIVE],
|
|
19193
|
+
providers: [
|
|
19194
|
+
ResizeBatchService,
|
|
19195
|
+
IconsService
|
|
19196
|
+
]
|
|
19256
19197
|
}]
|
|
19257
19198
|
}] });
|
|
19258
19199
|
|
|
@@ -19260,5 +19201,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
19260
19201
|
* Generated bundle index. Do not edit.
|
|
19261
19202
|
*/
|
|
19262
19203
|
|
|
19263
|
-
export { AdaptiveModule,
|
|
19204
|
+
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
19205
|
|