@progress/kendo-angular-layout 16.0.0-develop.2 → 16.0.0-develop.21
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/avatar/avatar.component.d.ts +1 -1
- package/avatar/l10n/custom-messages.component.d.ts +1 -1
- package/avatar/l10n/localized-messages.directive.d.ts +1 -1
- package/avatar/l10n/messages.d.ts +1 -1
- package/card/card-actions.component.d.ts +1 -1
- package/card/card-body.component.d.ts +1 -1
- package/card/card-footer.component.d.ts +1 -1
- package/card/card-header.component.d.ts +1 -1
- package/card/card.component.d.ts +1 -1
- package/card/directives/card-media.directive.d.ts +1 -1
- package/card/directives/card-separator.directive.d.ts +1 -1
- package/card/directives/card-subtitle.directive.d.ts +1 -1
- package/card/directives/card-title.directive.d.ts +1 -1
- package/drawer/drawer-container.component.d.ts +1 -1
- package/drawer/drawer-content.component.d.ts +1 -1
- package/drawer/drawer.component.d.ts +1 -1
- package/drawer/item.component.d.ts +1 -1
- package/drawer/list.component.d.ts +1 -1
- package/drawer/template-directives/drawer-template.directive.d.ts +1 -1
- package/drawer/template-directives/footer-template.directive.d.ts +1 -1
- package/drawer/template-directives/header-template.directive.d.ts +1 -1
- package/drawer/template-directives/item-template.directive.d.ts +1 -1
- package/esm2020/avatar/avatar.component.mjs +7 -7
- package/esm2020/avatar/l10n/custom-messages.component.mjs +3 -3
- package/esm2020/avatar/l10n/localized-messages.directive.mjs +3 -3
- package/esm2020/avatar/l10n/messages.mjs +3 -3
- package/esm2020/avatar.module.mjs +4 -4
- package/esm2020/card/card-actions.component.mjs +4 -4
- package/esm2020/card/card-body.component.mjs +3 -3
- package/esm2020/card/card-footer.component.mjs +3 -3
- package/esm2020/card/card-header.component.mjs +3 -3
- package/esm2020/card/card.component.mjs +3 -3
- package/esm2020/card/directives/card-media.directive.mjs +3 -3
- package/esm2020/card/directives/card-separator.directive.mjs +3 -3
- package/esm2020/card/directives/card-subtitle.directive.mjs +3 -3
- package/esm2020/card/directives/card-title.directive.mjs +3 -3
- package/esm2020/card.module.mjs +4 -4
- package/esm2020/drawer/drawer-container.component.mjs +4 -4
- package/esm2020/drawer/drawer-content.component.mjs +3 -3
- package/esm2020/drawer/drawer.component.mjs +6 -6
- package/esm2020/drawer/drawer.service.mjs +3 -3
- package/esm2020/drawer/item.component.mjs +8 -6
- package/esm2020/drawer/list.component.mjs +5 -5
- package/esm2020/drawer/template-directives/drawer-template.directive.mjs +3 -3
- package/esm2020/drawer/template-directives/footer-template.directive.mjs +3 -3
- package/esm2020/drawer/template-directives/header-template.directive.mjs +3 -3
- package/esm2020/drawer/template-directives/item-template.directive.mjs +3 -3
- package/esm2020/drawer.module.mjs +4 -4
- package/esm2020/expansionpanel/expansionpanel-title.directive.mjs +3 -3
- package/esm2020/expansionpanel/expansionpanel.component.mjs +6 -6
- package/esm2020/expansionpanel.module.mjs +4 -4
- package/esm2020/gridlayout.module.mjs +4 -4
- package/esm2020/index.mjs +7 -0
- package/esm2020/layout.module.mjs +11 -7
- package/esm2020/layouts/grid-layout.component.mjs +3 -3
- package/esm2020/layouts/gridlayout-item.component.mjs +3 -3
- package/esm2020/layouts/stack-layout.component.mjs +3 -3
- package/esm2020/package-metadata.mjs +2 -2
- package/esm2020/panelbar/panelbar-content.directive.mjs +3 -3
- package/esm2020/panelbar/panelbar-item-template.directive.mjs +3 -3
- package/esm2020/panelbar/panelbar-item-title.directive.mjs +3 -3
- package/esm2020/panelbar/panelbar-item.component.mjs +14 -20
- package/esm2020/panelbar/panelbar.component.mjs +6 -9
- package/esm2020/panelbar/panelbar.service.mjs +3 -3
- package/esm2020/panelbar.module.mjs +4 -4
- package/esm2020/splitter/splitter-bar.component.mjs +6 -6
- package/esm2020/splitter/splitter-pane.component.mjs +4 -4
- package/esm2020/splitter/splitter.component.mjs +7 -7
- package/esm2020/splitter/splitter.service.mjs +3 -3
- package/esm2020/splitter.module.mjs +6 -8
- package/esm2020/stacklayout.module.mjs +4 -4
- package/esm2020/stepper/list.component.mjs +5 -5
- package/esm2020/stepper/localization/custom-messages.component.mjs +3 -3
- package/esm2020/stepper/localization/localized-messages.directive.mjs +3 -3
- package/esm2020/stepper/localization/messages.mjs +3 -3
- package/esm2020/stepper/step.component.mjs +6 -6
- package/esm2020/stepper/stepper.component.mjs +7 -7
- package/esm2020/stepper/stepper.service.mjs +3 -3
- package/esm2020/stepper/template-directives/indicator-template.directive.mjs +3 -3
- package/esm2020/stepper/template-directives/label-template.directive.mjs +3 -3
- package/esm2020/stepper/template-directives/step-template.directive.mjs +3 -3
- package/esm2020/stepper.module.mjs +4 -4
- package/esm2020/tabstrip/directives/tab-content.directive.mjs +3 -3
- package/esm2020/tabstrip/directives/tab-title.directive.mjs +3 -3
- package/esm2020/tabstrip/directives/tab.directive.mjs +3 -3
- package/esm2020/tabstrip/localization/custom-messages.component.mjs +3 -3
- package/esm2020/tabstrip/localization/localized-messages.directive.mjs +3 -3
- package/esm2020/tabstrip/localization/messages.mjs +3 -3
- package/esm2020/tabstrip/models/tabstrip-tab.component.mjs +3 -3
- package/esm2020/tabstrip/rendering/tab.component.mjs +6 -6
- package/esm2020/tabstrip/scrollable-button.component.mjs +4 -4
- package/esm2020/tabstrip/tabstrip-scroll.service.mjs +3 -3
- package/esm2020/tabstrip/tabstrip.component.mjs +12 -12
- package/esm2020/tabstrip/tabstrip.service.mjs +3 -3
- package/esm2020/tabstrip.module.mjs +4 -4
- package/esm2020/tilelayout/dragging-service.mjs +3 -3
- package/esm2020/tilelayout/keyboard-navigation.service.mjs +3 -5
- package/esm2020/tilelayout/tilelayout-item-body.component.mjs +3 -3
- package/esm2020/tilelayout/tilelayout-item-header.component.mjs +3 -3
- package/esm2020/tilelayout/tilelayout-item.component.mjs +6 -6
- package/esm2020/tilelayout/tilelayout-resize-handle.directive.mjs +3 -3
- package/esm2020/tilelayout/tilelayout.component.mjs +6 -6
- package/esm2020/tilelayout.module.mjs +4 -4
- package/esm2020/timeline/events/navigation-direction.mjs +5 -0
- package/esm2020/timeline/localization/custom-messages.component.mjs +41 -0
- package/esm2020/timeline/localization/localized-messages.directive.mjs +37 -0
- package/esm2020/timeline/localization/messages.mjs +25 -0
- package/esm2020/timeline/models/anchor-target.mjs +5 -0
- package/esm2020/timeline/models/default-model-fields.mjs +16 -0
- package/esm2020/timeline/models/model-fields.mjs +5 -0
- package/esm2020/timeline/models/timeline-event.mjs +5 -0
- package/esm2020/timeline/templates/timeline-card-actions.directive.mjs +29 -0
- package/esm2020/timeline/templates/timeline-card-body.directive.mjs +29 -0
- package/esm2020/timeline/templates/timeline-card-header.directive.mjs +29 -0
- package/esm2020/timeline/timeline-card.component.mjs +400 -0
- package/esm2020/timeline/timeline-horizontal.component.mjs +729 -0
- package/esm2020/timeline/timeline-vertical.component.mjs +175 -0
- package/esm2020/timeline/timeline.component.mjs +418 -0
- package/esm2020/timeline/timeline.service.mjs +31 -0
- package/esm2020/timeline/util.mjs +26 -0
- package/esm2020/timeline.module.mjs +65 -0
- package/expansionpanel/expansionpanel-title.directive.d.ts +1 -1
- package/expansionpanel/expansionpanel.component.d.ts +1 -1
- package/fesm2015/progress-kendo-angular-layout.mjs +2537 -610
- package/fesm2020/progress-kendo-angular-layout.mjs +2268 -368
- package/index.d.ts +10 -0
- package/layout.module.d.ts +2 -1
- package/layouts/grid-layout.component.d.ts +1 -1
- package/layouts/gridlayout-item.component.d.ts +1 -1
- package/layouts/stack-layout.component.d.ts +1 -1
- package/package.json +14 -13
- package/panelbar/panelbar-content.directive.d.ts +1 -1
- package/panelbar/panelbar-item-template.directive.d.ts +1 -1
- package/panelbar/panelbar-item-title.directive.d.ts +1 -1
- package/panelbar/panelbar-item.component.d.ts +1 -2
- package/panelbar/panelbar.component.d.ts +1 -1
- package/splitter/splitter-bar.component.d.ts +1 -1
- package/splitter/splitter-pane.component.d.ts +1 -1
- package/splitter/splitter.component.d.ts +1 -1
- package/stepper/list.component.d.ts +1 -1
- package/stepper/localization/custom-messages.component.d.ts +1 -1
- package/stepper/localization/localized-messages.directive.d.ts +1 -1
- package/stepper/localization/messages.d.ts +1 -1
- package/stepper/step.component.d.ts +1 -1
- package/stepper/stepper.component.d.ts +1 -1
- package/stepper/template-directives/indicator-template.directive.d.ts +1 -1
- package/stepper/template-directives/label-template.directive.d.ts +1 -1
- package/stepper/template-directives/step-template.directive.d.ts +1 -1
- package/tabstrip/directives/tab-content.directive.d.ts +1 -1
- package/tabstrip/directives/tab-title.directive.d.ts +1 -1
- package/tabstrip/directives/tab.directive.d.ts +1 -1
- package/tabstrip/localization/custom-messages.component.d.ts +1 -1
- package/tabstrip/localization/localized-messages.directive.d.ts +1 -1
- package/tabstrip/localization/messages.d.ts +1 -1
- package/tabstrip/models/tabstrip-tab.component.d.ts +1 -1
- package/tabstrip/rendering/tab.component.d.ts +1 -1
- package/tabstrip/scrollable-button.component.d.ts +1 -1
- package/tabstrip/tabstrip.component.d.ts +1 -1
- package/tilelayout/tilelayout-item-body.component.d.ts +1 -1
- package/tilelayout/tilelayout-item-header.component.d.ts +1 -1
- package/tilelayout/tilelayout-item.component.d.ts +1 -1
- package/tilelayout/tilelayout-resize-handle.directive.d.ts +1 -1
- package/tilelayout/tilelayout.component.d.ts +1 -1
- package/timeline/events/navigation-direction.d.ts +5 -0
- package/timeline/localization/custom-messages.component.d.ts +17 -0
- package/timeline/localization/localized-messages.directive.d.ts +16 -0
- package/timeline/localization/messages.d.ts +21 -0
- package/timeline/models/anchor-target.d.ts +5 -0
- package/{progress-kendo-angular-layout.d.ts → timeline/models/default-model-fields.d.ts} +3 -3
- package/timeline/models/model-fields.d.ts +51 -0
- package/timeline/models/timeline-event.d.ts +49 -0
- package/timeline/templates/timeline-card-actions.directive.d.ts +20 -0
- package/timeline/templates/timeline-card-body.directive.d.ts +20 -0
- package/timeline/templates/timeline-card-header.directive.d.ts +20 -0
- package/timeline/timeline-card.component.d.ts +59 -0
- package/timeline/timeline-horizontal.component.d.ts +110 -0
- package/timeline/timeline-vertical.component.d.ts +41 -0
- package/timeline/timeline.component.d.ts +185 -0
- package/timeline/timeline.service.d.ts +17 -0
- package/timeline/util.d.ts +18 -0
- package/timeline.module.d.ts +31 -0
|
@@ -6,23 +6,25 @@ import * as i0 from '@angular/core';
|
|
|
6
6
|
import { Directive, Optional, Injectable, isDevMode, Component, SkipSelf, Host, Input, ViewChild, HostBinding, ViewChildren, ContentChildren, EventEmitter, Output, ContentChild, HostListener, Inject, QueryList, NgZone, forwardRef, ElementRef, ViewEncapsulation, TemplateRef, NgModule } from '@angular/core';
|
|
7
7
|
import * as i1 from '@progress/kendo-angular-l10n';
|
|
8
8
|
import { LocalizationService, L10N_PREFIX, ComponentMessages } from '@progress/kendo-angular-l10n';
|
|
9
|
-
import * as
|
|
10
|
-
import { Keys, shouldShowValidationUI, PreventableEvent as PreventableEvent$1, isDocumentAvailable, guid, hasObservers, focusableSelector, isChanged, WatermarkModule, EventsModule, DraggableModule, ResizeSensorModule } from '@progress/kendo-angular-common';
|
|
9
|
+
import * as i5 from '@progress/kendo-angular-common';
|
|
10
|
+
import { Keys, shouldShowValidationUI, PreventableEvent as PreventableEvent$1, isDocumentAvailable, guid, hasObservers, focusableSelector, isChanged, WatermarkModule, EventsModule, DraggableModule, ResizeSensorModule, isPresent as isPresent$1 } from '@progress/kendo-angular-common';
|
|
11
11
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
12
|
-
import * as i1$
|
|
12
|
+
import * as i1$1 from '@angular/animations';
|
|
13
13
|
import { trigger, state, style, transition, animate, AUTO_STYLE } from '@angular/animations';
|
|
14
|
-
import { Subject, BehaviorSubject, Subscription, of } from 'rxjs';
|
|
15
|
-
import { chevronUpIcon, chevronDownIcon, caretAltLeftIcon, caretAltRightIcon, caretAltUpIcon, caretAltDownIcon, xIcon, checkCircleIcon, exclamationCircleIcon } from '@progress/kendo-svg-icons';
|
|
16
|
-
import * as i2 from '@
|
|
17
|
-
import { IconsModule } from '@progress/kendo-angular-icons';
|
|
18
|
-
import * as i3 from '@angular/common';
|
|
14
|
+
import { Subject, BehaviorSubject, Subscription, of, fromEvent } from 'rxjs';
|
|
15
|
+
import { chevronUpIcon, chevronDownIcon, caretAltLeftIcon, caretAltRightIcon, caretAltUpIcon, caretAltDownIcon, xIcon, checkCircleIcon, exclamationCircleIcon, chevronRightIcon } from '@progress/kendo-svg-icons';
|
|
16
|
+
import * as i2 from '@angular/common';
|
|
19
17
|
import { CommonModule } from '@angular/common';
|
|
18
|
+
import * as i3 from '@progress/kendo-angular-icons';
|
|
19
|
+
import { IconsModule } from '@progress/kendo-angular-icons';
|
|
20
20
|
import { delay, takeUntil, map, tap, filter, switchMap, take } from 'rxjs/operators';
|
|
21
|
-
import * as
|
|
21
|
+
import * as i3$1 from '@progress/kendo-angular-buttons';
|
|
22
22
|
import { ButtonModule } from '@progress/kendo-angular-buttons';
|
|
23
23
|
import * as i4 from '@progress/kendo-angular-progressbar';
|
|
24
24
|
import { ProgressBarModule } from '@progress/kendo-angular-progressbar';
|
|
25
25
|
import { Draggable } from '@progress/kendo-draggable';
|
|
26
|
+
import * as i6 from '@progress/kendo-angular-intl';
|
|
27
|
+
import { IntlModule } from '@progress/kendo-angular-intl';
|
|
26
28
|
|
|
27
29
|
/**
|
|
28
30
|
* @hidden
|
|
@@ -31,8 +33,8 @@ const packageMetadata = {
|
|
|
31
33
|
name: '@progress/kendo-angular-layout',
|
|
32
34
|
productName: 'Kendo UI for Angular',
|
|
33
35
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
34
|
-
publishDate:
|
|
35
|
-
version: '16.0.0-develop.
|
|
36
|
+
publishDate: 1715351226,
|
|
37
|
+
version: '16.0.0-develop.21',
|
|
36
38
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
|
|
37
39
|
};
|
|
38
40
|
|
|
@@ -72,9 +74,9 @@ class PanelBarContentDirective {
|
|
|
72
74
|
this.templateRef = templateRef;
|
|
73
75
|
}
|
|
74
76
|
}
|
|
75
|
-
PanelBarContentDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
76
|
-
PanelBarContentDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
77
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
77
|
+
PanelBarContentDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PanelBarContentDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
78
|
+
PanelBarContentDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: PanelBarContentDirective, selector: "[kendoPanelBarContent]", ngImport: i0 });
|
|
79
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PanelBarContentDirective, decorators: [{
|
|
78
80
|
type: Directive,
|
|
79
81
|
args: [{
|
|
80
82
|
selector: "[kendoPanelBarContent]"
|
|
@@ -112,9 +114,9 @@ class PanelBarItemTitleDirective {
|
|
|
112
114
|
this.templateRef = templateRef;
|
|
113
115
|
}
|
|
114
116
|
}
|
|
115
|
-
PanelBarItemTitleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
116
|
-
PanelBarItemTitleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
117
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
117
|
+
PanelBarItemTitleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PanelBarItemTitleDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
118
|
+
PanelBarItemTitleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: PanelBarItemTitleDirective, selector: "[kendoPanelBarItemTitle]", ngImport: i0 });
|
|
119
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PanelBarItemTitleDirective, decorators: [{
|
|
118
120
|
type: Directive,
|
|
119
121
|
args: [{
|
|
120
122
|
selector: '[kendoPanelBarItemTitle]'
|
|
@@ -280,9 +282,9 @@ class PanelBarService {
|
|
|
280
282
|
this.parentSource.next(false);
|
|
281
283
|
}
|
|
282
284
|
}
|
|
283
|
-
PanelBarService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
284
|
-
PanelBarService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
285
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
285
|
+
PanelBarService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PanelBarService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
286
|
+
PanelBarService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PanelBarService });
|
|
287
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PanelBarService, decorators: [{
|
|
286
288
|
type: Injectable
|
|
287
289
|
}], ctorParameters: function () { return []; } });
|
|
288
290
|
|
|
@@ -374,9 +376,6 @@ class PanelBarItemComponent {
|
|
|
374
376
|
get animate() {
|
|
375
377
|
return this.eventService.animate;
|
|
376
378
|
}
|
|
377
|
-
get kStateDefaultClass() {
|
|
378
|
-
return !this.disabled;
|
|
379
|
-
}
|
|
380
379
|
get kStateExpandedClass() {
|
|
381
380
|
return !this.disabled && this.expanded && (this.hasChildItems || this.hasContent);
|
|
382
381
|
}
|
|
@@ -548,8 +547,8 @@ class PanelBarItemComponent {
|
|
|
548
547
|
this.wrapperFocused = focused;
|
|
549
548
|
}
|
|
550
549
|
}
|
|
551
|
-
PanelBarItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
552
|
-
PanelBarItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
550
|
+
PanelBarItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PanelBarItemComponent, deps: [{ token: PanelBarItemComponent, host: true, optional: true, skipSelf: true }, { token: PanelBarService }, { token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
551
|
+
PanelBarItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: PanelBarItemComponent, selector: "kendo-panelbar-item", inputs: { title: "title", id: "id", icon: "icon", iconClass: "iconClass", svgIcon: "svgIcon", imageUrl: "imageUrl", disabled: "disabled", expanded: "expanded", selected: "selected", content: "content", items: "items", template: "template" }, host: { properties: { "attr.role": "this.role", "attr.title": "this.titleAttribute", "class.k-panelbar-item": "this.kItemClass", "class.k-expanded": "this.kStateExpandedClass", "id": "this.itemId", "attr.aria-expanded": "this.ariaExpanded", "attr.aria-selected": "this.ariaSelected", "attr.aria-disabled": "this.ariaDisabled", "class.k-panelbar-header": "this.headerClass" } }, queries: [{ propertyName: "contentItems", predicate: PanelBarItemComponent }, { propertyName: "contentTemplate", predicate: PanelBarContentDirective }, { propertyName: "titleTemplates", predicate: PanelBarItemTitleDirective }], viewQueries: [{ propertyName: "header", first: true, predicate: ["header"], descendants: true }, { propertyName: "contentWrapper", first: true, predicate: ["contentWrapper"], descendants: true }, { propertyName: "viewChildItems", predicate: PanelBarItemComponent, descendants: true }], exportAs: ["kendoPanelbarItem"], ngImport: i0, template: `
|
|
553
552
|
<span
|
|
554
553
|
#header
|
|
555
554
|
[class.k-link]="true"
|
|
@@ -607,7 +606,7 @@ PanelBarItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
607
606
|
*ngIf="hasChildItems && !items?.length"
|
|
608
607
|
[style.overflow]="contentOverflow"
|
|
609
608
|
[style.height]="contentHeight"
|
|
610
|
-
class="k-
|
|
609
|
+
class="k-panelbar-group"
|
|
611
610
|
>
|
|
612
611
|
<ng-content select="kendo-panelbar-item"></ng-content>
|
|
613
612
|
</div>
|
|
@@ -615,7 +614,7 @@ PanelBarItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
615
614
|
*ngIf="hasContent && !content"
|
|
616
615
|
[style.overflow]="contentOverflow"
|
|
617
616
|
[style.height]="contentHeight"
|
|
618
|
-
class="k-
|
|
617
|
+
class="k-panelbar-content">
|
|
619
618
|
<ng-template
|
|
620
619
|
[ngTemplateOutlet]="contentTemplate.first.templateRef"
|
|
621
620
|
[ngTemplateOutletContext]="{
|
|
@@ -633,7 +632,7 @@ PanelBarItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
633
632
|
<div *ngIf="hasItems"
|
|
634
633
|
[style.overflow]="contentOverflow"
|
|
635
634
|
[style.height]="contentHeight"
|
|
636
|
-
class="k-
|
|
635
|
+
class="k-panelbar-group">
|
|
637
636
|
<ng-container *ngFor="let item of items">
|
|
638
637
|
<kendo-panelbar-item *ngIf="!item.hidden"
|
|
639
638
|
[title]="item.title"
|
|
@@ -655,7 +654,7 @@ PanelBarItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
655
654
|
*ngIf="content"
|
|
656
655
|
[style.overflow]="contentOverflow"
|
|
657
656
|
[style.height]="contentHeight"
|
|
658
|
-
class="k-
|
|
657
|
+
class="k-panelbar-content">
|
|
659
658
|
<ng-template
|
|
660
659
|
[ngTemplateOutlet]="template"
|
|
661
660
|
[ngTemplateOutletContext]="{
|
|
@@ -671,7 +670,7 @@ PanelBarItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
671
670
|
</ng-template>
|
|
672
671
|
<ng-template [ngIf]="!template">{{content}}</ng-template>
|
|
673
672
|
</div>
|
|
674
|
-
</div>`, isInline: true,
|
|
673
|
+
</div>`, isInline: true, dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i3.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "component", type: PanelBarItemComponent, selector: "kendo-panelbar-item", inputs: ["title", "id", "icon", "iconClass", "svgIcon", "imageUrl", "disabled", "expanded", "selected", "content", "items", "template"], exportAs: ["kendoPanelbarItem"] }], animations: [
|
|
675
674
|
trigger('toggle', [
|
|
676
675
|
state('inactive', style({ display: 'none' })),
|
|
677
676
|
transition('* => active', [
|
|
@@ -684,7 +683,7 @@ PanelBarItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
684
683
|
])
|
|
685
684
|
])
|
|
686
685
|
] });
|
|
687
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
686
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PanelBarItemComponent, decorators: [{
|
|
688
687
|
type: Component,
|
|
689
688
|
args: [{
|
|
690
689
|
animations: [
|
|
@@ -760,7 +759,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
760
759
|
*ngIf="hasChildItems && !items?.length"
|
|
761
760
|
[style.overflow]="contentOverflow"
|
|
762
761
|
[style.height]="contentHeight"
|
|
763
|
-
class="k-
|
|
762
|
+
class="k-panelbar-group"
|
|
764
763
|
>
|
|
765
764
|
<ng-content select="kendo-panelbar-item"></ng-content>
|
|
766
765
|
</div>
|
|
@@ -768,7 +767,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
768
767
|
*ngIf="hasContent && !content"
|
|
769
768
|
[style.overflow]="contentOverflow"
|
|
770
769
|
[style.height]="contentHeight"
|
|
771
|
-
class="k-
|
|
770
|
+
class="k-panelbar-content">
|
|
772
771
|
<ng-template
|
|
773
772
|
[ngTemplateOutlet]="contentTemplate.first.templateRef"
|
|
774
773
|
[ngTemplateOutletContext]="{
|
|
@@ -786,7 +785,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
786
785
|
<div *ngIf="hasItems"
|
|
787
786
|
[style.overflow]="contentOverflow"
|
|
788
787
|
[style.height]="contentHeight"
|
|
789
|
-
class="k-
|
|
788
|
+
class="k-panelbar-group">
|
|
790
789
|
<ng-container *ngFor="let item of items">
|
|
791
790
|
<kendo-panelbar-item *ngIf="!item.hidden"
|
|
792
791
|
[title]="item.title"
|
|
@@ -808,7 +807,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
808
807
|
*ngIf="content"
|
|
809
808
|
[style.overflow]="contentOverflow"
|
|
810
809
|
[style.height]="contentHeight"
|
|
811
|
-
class="k-
|
|
810
|
+
class="k-panelbar-content">
|
|
812
811
|
<ng-template
|
|
813
812
|
[ngTemplateOutlet]="template"
|
|
814
813
|
[ngTemplateOutletContext]="{
|
|
@@ -873,9 +872,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
873
872
|
}], kItemClass: [{
|
|
874
873
|
type: HostBinding,
|
|
875
874
|
args: ['class.k-panelbar-item']
|
|
876
|
-
}], kStateDefaultClass: [{
|
|
877
|
-
type: HostBinding,
|
|
878
|
-
args: ['class.k-state-default']
|
|
879
875
|
}], kStateExpandedClass: [{
|
|
880
876
|
type: HostBinding,
|
|
881
877
|
args: ['class.k-expanded']
|
|
@@ -916,9 +912,9 @@ class PanelBarItemTemplateDirective {
|
|
|
916
912
|
this.templateRef = templateRef;
|
|
917
913
|
}
|
|
918
914
|
}
|
|
919
|
-
PanelBarItemTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
920
|
-
PanelBarItemTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
921
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
915
|
+
PanelBarItemTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PanelBarItemTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
916
|
+
PanelBarItemTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: PanelBarItemTemplateDirective, selector: "[kendoPanelBarItemTemplate]", ngImport: i0 });
|
|
917
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PanelBarItemTemplateDirective, decorators: [{
|
|
922
918
|
type: Directive,
|
|
923
919
|
args: [{
|
|
924
920
|
selector: '[kendoPanelBarItemTemplate]'
|
|
@@ -1461,8 +1457,8 @@ class PanelBarComponent {
|
|
|
1461
1457
|
return flattedItems;
|
|
1462
1458
|
}
|
|
1463
1459
|
}
|
|
1464
|
-
PanelBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1465
|
-
PanelBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
1460
|
+
PanelBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PanelBarComponent, deps: [{ token: i0.ElementRef }, { token: PanelBarService }, { token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1461
|
+
PanelBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: PanelBarComponent, selector: "kendo-panelbar", inputs: { expandMode: "expandMode", selectable: "selectable", animate: "animate", height: "height", keepItemContent: "keepItemContent", items: "items" }, outputs: { stateChange: "stateChange", select: "select", expand: "expand", collapse: "collapse", itemClick: "itemClick" }, host: { listeners: { "click": "onComponentClick($event)", "focus": "onComponentFocus()", "blur": "onComponentBlur()", "keydown": "onComponentKeyDown($event)" }, properties: { "class.k-panelbar": "this.hostClasses", "attr.tabIndex": "this.tabIndex", "attr.role": "this.role", "attr.aria-activedescendant": "this.activeDescendant", "style.height": "this.hostHeight", "style.overflow": "this.overflow", "attr.dir": "this.dir" } }, providers: [
|
|
1466
1462
|
PanelBarService,
|
|
1467
1463
|
LocalizationService,
|
|
1468
1464
|
{
|
|
@@ -1492,8 +1488,8 @@ PanelBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
|
1492
1488
|
</ng-template>
|
|
1493
1489
|
|
|
1494
1490
|
<div kendoWatermarkOverlay *ngIf="showLicenseWatermark"></div>
|
|
1495
|
-
`, isInline: true,
|
|
1496
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1491
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i5.WatermarkOverlayComponent, selector: "div[kendoWatermarkOverlay]" }, { kind: "component", type: PanelBarItemComponent, selector: "kendo-panelbar-item", inputs: ["title", "id", "icon", "iconClass", "svgIcon", "imageUrl", "disabled", "expanded", "selected", "content", "items", "template"], exportAs: ["kendoPanelbarItem"] }] });
|
|
1492
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PanelBarComponent, decorators: [{
|
|
1497
1493
|
type: Component,
|
|
1498
1494
|
args: [{
|
|
1499
1495
|
exportAs: 'kendoPanelbar',
|
|
@@ -1556,9 +1552,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
1556
1552
|
}], hostClasses: [{
|
|
1557
1553
|
type: HostBinding,
|
|
1558
1554
|
args: ['class.k-panelbar']
|
|
1559
|
-
}, {
|
|
1560
|
-
type: HostBinding,
|
|
1561
|
-
args: ['class.k-pos-relative']
|
|
1562
1555
|
}], tabIndex: [{
|
|
1563
1556
|
type: HostBinding,
|
|
1564
1557
|
args: ['attr.tabIndex']
|
|
@@ -1759,12 +1752,12 @@ class SplitterPaneComponent {
|
|
|
1759
1752
|
this.renderer.setStyle(element, 'order', this.order);
|
|
1760
1753
|
}
|
|
1761
1754
|
}
|
|
1762
|
-
SplitterPaneComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1763
|
-
SplitterPaneComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
1755
|
+
SplitterPaneComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SplitterPaneComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
1756
|
+
SplitterPaneComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: SplitterPaneComponent, selector: "kendo-splitter-pane", inputs: { order: "order", size: "size", separatorLabel: "separatorLabel", min: "min", max: "max", resizable: "resizable", collapsible: "collapsible", scrollable: "scrollable", collapsed: "collapsed", orientation: "orientation", containsSplitter: "containsSplitter", overlayContent: "overlayContent" }, outputs: { sizeChange: "sizeChange", collapsedChange: "collapsedChange" }, host: { properties: { "attr.role": "this.ariaRole", "class.k-pane": "this.hostClass", "class.k-pane-static": "this.staticPaneClass", "class.k-scrollable": "this.scrollablePaneClass" } }, exportAs: ["kendoSplitterPane"], ngImport: i0, template: `
|
|
1764
1757
|
<ng-container *ngIf="!collapsed"><ng-content></ng-content></ng-container>
|
|
1765
1758
|
<div *ngIf="overlayContent" class="k-splitter-overlay k-overlay"></div>
|
|
1766
|
-
`, isInline: true,
|
|
1767
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1759
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
1760
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SplitterPaneComponent, decorators: [{
|
|
1768
1761
|
type: Component,
|
|
1769
1762
|
args: [{
|
|
1770
1763
|
exportAs: 'kendoSplitterPane',
|
|
@@ -2004,9 +1997,9 @@ class SplitterService {
|
|
|
2004
1997
|
}
|
|
2005
1998
|
}
|
|
2006
1999
|
}
|
|
2007
|
-
SplitterService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2008
|
-
SplitterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2009
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2000
|
+
SplitterService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SplitterService, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2001
|
+
SplitterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SplitterService });
|
|
2002
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SplitterService, decorators: [{
|
|
2010
2003
|
type: Injectable
|
|
2011
2004
|
}], ctorParameters: function () { return [{ type: i0.NgZone }]; } });
|
|
2012
2005
|
|
|
@@ -2211,8 +2204,8 @@ class SplitterBarComponent {
|
|
|
2211
2204
|
}
|
|
2212
2205
|
}
|
|
2213
2206
|
}
|
|
2214
|
-
SplitterBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2215
|
-
SplitterBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
2207
|
+
SplitterBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SplitterBarComponent, deps: [{ token: i5.DraggableDirective, host: true }, { token: i1.LocalizationService }, { token: SplitterService }, { token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
2208
|
+
SplitterBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: SplitterBarComponent, selector: "kendo-splitter-bar", inputs: { orientation: "orientation", index: "index" }, host: { properties: { "attr.role": "this.ariaRole", "class.k-focus": "this.focused", "attr.aria-orientation": "this.hostOrientation", "attr.tabindex": "this.tabIndex", "class": "this.hostClasses", "style.-ms-flex-order": "this.order", "style.order": "this.order" } }, ngImport: i0, template: `
|
|
2216
2209
|
<div *ngIf="shouldShowIcon('prev')" class="k-collapse-prev" (click)="togglePrevious()">
|
|
2217
2210
|
<kendo-icon-wrapper
|
|
2218
2211
|
size="xsmall"
|
|
@@ -2228,8 +2221,8 @@ SplitterBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
2228
2221
|
[svgIcon]="nextSVGArrowClass()"
|
|
2229
2222
|
></kendo-icon-wrapper>
|
|
2230
2223
|
</div>
|
|
2231
|
-
`, isInline: true,
|
|
2232
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2224
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i3.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }] });
|
|
2225
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SplitterBarComponent, decorators: [{
|
|
2233
2226
|
type: Component,
|
|
2234
2227
|
args: [{
|
|
2235
2228
|
selector: 'kendo-splitter-bar',
|
|
@@ -2252,7 +2245,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
2252
2245
|
`
|
|
2253
2246
|
}]
|
|
2254
2247
|
}], ctorParameters: function () {
|
|
2255
|
-
return [{ type:
|
|
2248
|
+
return [{ type: i5.DraggableDirective, decorators: [{
|
|
2256
2249
|
type: Host
|
|
2257
2250
|
}] }, { type: i1.LocalizationService }, { type: SplitterService }, { type: i0.ElementRef }, { type: i0.Renderer2 }];
|
|
2258
2251
|
}, propDecorators: { ariaRole: [{
|
|
@@ -2421,8 +2414,8 @@ class SplitterComponent {
|
|
|
2421
2414
|
return this.localization.rtl ? 'rtl' : 'ltr';
|
|
2422
2415
|
}
|
|
2423
2416
|
}
|
|
2424
|
-
SplitterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2425
|
-
SplitterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
2417
|
+
SplitterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SplitterComponent, deps: [{ token: i0.ElementRef }, { token: SplitterService }, { token: i1.LocalizationService }, { token: i0.Renderer2 }, { token: SplitterPaneComponent, host: true, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
2418
|
+
SplitterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: SplitterComponent, selector: "kendo-splitter", inputs: { orientation: "orientation", splitbarWidth: "splitbarWidth", resizeStep: "resizeStep" }, outputs: { layoutChange: "layoutChange" }, host: { properties: { "class.k-splitter": "this.hostClasses", "class.k-splitter-flex": "this.hostClasses", "class.k-splitter-horizontal": "this.horizontalHostClasses", "class.k-splitter-vertical": "this.verticalHostClasses", "attr.dir": "this.dir" } }, providers: [
|
|
2426
2419
|
SplitterService,
|
|
2427
2420
|
LocalizationService,
|
|
2428
2421
|
{
|
|
@@ -2447,8 +2440,8 @@ SplitterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
|
2447
2440
|
}">
|
|
2448
2441
|
</kendo-splitter-bar>
|
|
2449
2442
|
</ng-container>
|
|
2450
|
-
`, isInline: true,
|
|
2451
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2443
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i5.DraggableDirective, selector: "[kendoDraggable]", inputs: ["enableDrag"], outputs: ["kendoPress", "kendoDrag", "kendoRelease"] }, { kind: "component", type: SplitterBarComponent, selector: "kendo-splitter-bar", inputs: ["orientation", "index"] }] });
|
|
2444
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SplitterComponent, decorators: [{
|
|
2452
2445
|
type: Component,
|
|
2453
2446
|
args: [{
|
|
2454
2447
|
exportAs: 'kendoSplitter',
|
|
@@ -2556,9 +2549,9 @@ class TabContentDirective {
|
|
|
2556
2549
|
this.templateRef = templateRef;
|
|
2557
2550
|
}
|
|
2558
2551
|
}
|
|
2559
|
-
TabContentDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2560
|
-
TabContentDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
2561
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2552
|
+
TabContentDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TabContentDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2553
|
+
TabContentDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: TabContentDirective, selector: "[kendoTabContent]", ngImport: i0 });
|
|
2554
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TabContentDirective, decorators: [{
|
|
2562
2555
|
type: Directive,
|
|
2563
2556
|
args: [{
|
|
2564
2557
|
selector: '[kendoTabContent]'
|
|
@@ -2605,9 +2598,9 @@ class TabTitleDirective {
|
|
|
2605
2598
|
this.templateRef = templateRef;
|
|
2606
2599
|
}
|
|
2607
2600
|
}
|
|
2608
|
-
TabTitleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2609
|
-
TabTitleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
2610
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2601
|
+
TabTitleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TabTitleDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2602
|
+
TabTitleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: TabTitleDirective, selector: "[kendoTabTitle]", ngImport: i0 });
|
|
2603
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TabTitleDirective, decorators: [{
|
|
2611
2604
|
type: Directive,
|
|
2612
2605
|
args: [{
|
|
2613
2606
|
selector: '[kendoTabTitle]'
|
|
@@ -2622,9 +2615,9 @@ class TabTemplateDirective {
|
|
|
2622
2615
|
this.templateRef = templateRef;
|
|
2623
2616
|
}
|
|
2624
2617
|
}
|
|
2625
|
-
TabTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2626
|
-
TabTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
2627
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2618
|
+
TabTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TabTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2619
|
+
TabTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: TabTemplateDirective, selector: "[kendoTabTemplate]", ngImport: i0 });
|
|
2620
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TabTemplateDirective, decorators: [{
|
|
2628
2621
|
type: Directive,
|
|
2629
2622
|
args: [{
|
|
2630
2623
|
selector: '[kendoTabTemplate]'
|
|
@@ -2662,9 +2655,9 @@ class TabStripTabComponent {
|
|
|
2662
2655
|
return this._tabDirective.first;
|
|
2663
2656
|
}
|
|
2664
2657
|
}
|
|
2665
|
-
TabStripTabComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2666
|
-
TabStripTabComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
2667
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2658
|
+
TabStripTabComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TabStripTabComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2659
|
+
TabStripTabComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TabStripTabComponent, selector: "kendo-tabstrip-tab", inputs: { title: "title", disabled: "disabled", cssClass: "cssClass", cssStyle: "cssStyle", selected: "selected", closable: "closable", closeIcon: "closeIcon", closeIconClass: "closeIconClass", closeSVGIcon: "closeSVGIcon" }, queries: [{ propertyName: "_tabDirective", predicate: TabTemplateDirective }, { propertyName: "_tabContent", predicate: TabContentDirective }, { propertyName: "_tabTitleDirective", predicate: TabTitleDirective }], exportAs: ["kendoTabStripTab"], ngImport: i0, template: ``, isInline: true });
|
|
2660
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TabStripTabComponent, decorators: [{
|
|
2668
2661
|
type: Component,
|
|
2669
2662
|
args: [{
|
|
2670
2663
|
exportAs: 'kendoTabStripTab',
|
|
@@ -2979,9 +2972,9 @@ class TabStripService {
|
|
|
2979
2972
|
return selectedIndex + 1;
|
|
2980
2973
|
}
|
|
2981
2974
|
}
|
|
2982
|
-
TabStripService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2983
|
-
TabStripService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2984
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2975
|
+
TabStripService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TabStripService, deps: [{ token: i1.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2976
|
+
TabStripService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TabStripService });
|
|
2977
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TabStripService, decorators: [{
|
|
2985
2978
|
type: Injectable
|
|
2986
2979
|
}], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i0.NgZone }]; } });
|
|
2987
2980
|
|
|
@@ -3179,9 +3172,9 @@ class ScrollService {
|
|
|
3179
3172
|
this.scrollButtonActiveStateChange.next({ buttonType, active });
|
|
3180
3173
|
}
|
|
3181
3174
|
}
|
|
3182
|
-
ScrollService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3183
|
-
ScrollService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3184
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3175
|
+
ScrollService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ScrollService, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3176
|
+
ScrollService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ScrollService });
|
|
3177
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ScrollService, decorators: [{
|
|
3185
3178
|
type: Injectable
|
|
3186
3179
|
}], ctorParameters: function () { return [{ type: i0.NgZone }]; } });
|
|
3187
3180
|
|
|
@@ -3219,167 +3212,6 @@ class TabScrollEvent extends PreventableEvent$1 {
|
|
|
3219
3212
|
}
|
|
3220
3213
|
}
|
|
3221
3214
|
|
|
3222
|
-
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
3223
|
-
/**
|
|
3224
|
-
* @hidden
|
|
3225
|
-
*/
|
|
3226
|
-
class TabStripScrollableButtonComponent {
|
|
3227
|
-
constructor(host, renderer, ngZone, localization) {
|
|
3228
|
-
this.host = host;
|
|
3229
|
-
this.renderer = renderer;
|
|
3230
|
-
this.ngZone = ngZone;
|
|
3231
|
-
this.localization = localization;
|
|
3232
|
-
this.prev = false;
|
|
3233
|
-
this.tabScroll = new EventEmitter();
|
|
3234
|
-
this.onClick = new EventEmitter();
|
|
3235
|
-
this.caretAltLeftIcon = caretAltLeftIcon;
|
|
3236
|
-
this.caretAltRightIcon = caretAltRightIcon;
|
|
3237
|
-
this.caretAltUpIcon = caretAltUpIcon;
|
|
3238
|
-
this.caretAltDownIcon = caretAltDownIcon;
|
|
3239
|
-
this.subs = new Subscription();
|
|
3240
|
-
this.clickHandler = (scrollEvent) => {
|
|
3241
|
-
const tabStripScrollEvent = this.emitScrollEvent(scrollEvent);
|
|
3242
|
-
const isTabStripScrollEventPrevented = tabStripScrollEvent.isDefaultPrevented();
|
|
3243
|
-
if (isTabStripScrollEventPrevented) {
|
|
3244
|
-
return;
|
|
3245
|
-
}
|
|
3246
|
-
const buttonType = this.prev ? 'prev' : 'next';
|
|
3247
|
-
this.onClick.emit(buttonType);
|
|
3248
|
-
};
|
|
3249
|
-
}
|
|
3250
|
-
get prevClass() {
|
|
3251
|
-
return this.prev;
|
|
3252
|
-
}
|
|
3253
|
-
get nextClass() {
|
|
3254
|
-
return !this.prev;
|
|
3255
|
-
}
|
|
3256
|
-
get hostBoundingClientRect() {
|
|
3257
|
-
return this.host.nativeElement.getBoundingClientRect();
|
|
3258
|
-
}
|
|
3259
|
-
get iconClass() {
|
|
3260
|
-
return this.scrollButtonIconClass;
|
|
3261
|
-
}
|
|
3262
|
-
get customIconClass() {
|
|
3263
|
-
return this.customScrollButtonIconClass;
|
|
3264
|
-
}
|
|
3265
|
-
get svgIcon() {
|
|
3266
|
-
return this.scrollButtonSVGIcon;
|
|
3267
|
-
}
|
|
3268
|
-
ngAfterViewInit() {
|
|
3269
|
-
this.ngZone.runOutsideAngular(() => {
|
|
3270
|
-
this.subs.add(this.renderer.listen(this.host.nativeElement, 'click', this.clickHandler));
|
|
3271
|
-
});
|
|
3272
|
-
}
|
|
3273
|
-
ngOnDestroy() {
|
|
3274
|
-
this.subs.unsubscribe();
|
|
3275
|
-
}
|
|
3276
|
-
toggle(show) {
|
|
3277
|
-
this.renderer[show ? 'removeClass' : 'addClass'](this.host.nativeElement, HIDDEN_CLASS);
|
|
3278
|
-
}
|
|
3279
|
-
get scrollButtonIconClass() {
|
|
3280
|
-
const defaultPrevIcon = isTablistHorizontal(this.tabPosition) ?
|
|
3281
|
-
!this.localization.rtl ?
|
|
3282
|
-
DIRECTION_CLASSES.left :
|
|
3283
|
-
DIRECTION_CLASSES.right :
|
|
3284
|
-
DIRECTION_CLASSES.up;
|
|
3285
|
-
const defaultNextIcon = isTablistHorizontal(this.tabPosition) ?
|
|
3286
|
-
!this.localization.rtl ?
|
|
3287
|
-
DIRECTION_CLASSES.right :
|
|
3288
|
-
DIRECTION_CLASSES.left :
|
|
3289
|
-
DIRECTION_CLASSES.down;
|
|
3290
|
-
if (typeof this.scrollable === 'object') {
|
|
3291
|
-
const prevIcon = typeof this.scrollable.prevButtonIcon === 'undefined' ? defaultPrevIcon : '';
|
|
3292
|
-
const nextIcon = typeof this.scrollable.nextButtonIcon === 'undefined' ? defaultNextIcon : '';
|
|
3293
|
-
if (prevIcon && this.prev) {
|
|
3294
|
-
return prevIcon;
|
|
3295
|
-
}
|
|
3296
|
-
else if (nextIcon && !this.prev) {
|
|
3297
|
-
return nextIcon;
|
|
3298
|
-
}
|
|
3299
|
-
}
|
|
3300
|
-
}
|
|
3301
|
-
get customScrollButtonIconClass() {
|
|
3302
|
-
if (typeof this.scrollable === 'object') {
|
|
3303
|
-
const prevIcon = this.scrollable.prevButtonIcon;
|
|
3304
|
-
const nextIcon = this.scrollable.nextButtonIcon;
|
|
3305
|
-
if (prevIcon && this.prev) {
|
|
3306
|
-
return `k-icon ${prevIcon}`;
|
|
3307
|
-
}
|
|
3308
|
-
if (nextIcon && !this.prev) {
|
|
3309
|
-
return `k-icon ${nextIcon}`;
|
|
3310
|
-
}
|
|
3311
|
-
}
|
|
3312
|
-
}
|
|
3313
|
-
get scrollButtonSVGIcon() {
|
|
3314
|
-
const defaultPrevSVGIcon = isTablistHorizontal(this.tabPosition) ?
|
|
3315
|
-
!this.localization.rtl ?
|
|
3316
|
-
this.caretAltLeftIcon :
|
|
3317
|
-
this.caretAltRightIcon :
|
|
3318
|
-
this.caretAltUpIcon;
|
|
3319
|
-
const defaultNextSVGIcon = isTablistHorizontal(this.tabPosition) ?
|
|
3320
|
-
!this.localization.rtl ?
|
|
3321
|
-
this.caretAltRightIcon :
|
|
3322
|
-
this.caretAltLeftIcon :
|
|
3323
|
-
this.caretAltDownIcon;
|
|
3324
|
-
if (typeof this.scrollable === 'object') {
|
|
3325
|
-
const prevIcon = this.scrollable.prevSVGButtonIcon !== undefined ? this.scrollable.prevSVGButtonIcon : defaultPrevSVGIcon;
|
|
3326
|
-
const nextIcon = this.scrollable.nextSVGButtonIcon !== undefined ? this.scrollable.nextSVGButtonIcon : defaultNextSVGIcon;
|
|
3327
|
-
if (prevIcon || nextIcon) {
|
|
3328
|
-
return this.prev ? prevIcon : nextIcon;
|
|
3329
|
-
}
|
|
3330
|
-
}
|
|
3331
|
-
}
|
|
3332
|
-
emitScrollEvent(event) {
|
|
3333
|
-
const scrollEvent = new TabScrollEvent({
|
|
3334
|
-
originalEvent: event
|
|
3335
|
-
});
|
|
3336
|
-
this.tabScroll.emit(scrollEvent);
|
|
3337
|
-
return scrollEvent;
|
|
3338
|
-
}
|
|
3339
|
-
}
|
|
3340
|
-
TabStripScrollableButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TabStripScrollableButtonComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
3341
|
-
TabStripScrollableButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: TabStripScrollableButtonComponent, selector: "[kendoTabStripScrollableButton]", inputs: { prev: "prev", tabPosition: "tabPosition", scrollable: "scrollable" }, outputs: { tabScroll: "tabScroll", onClick: "onClick" }, host: { properties: { "class.k-tabstrip-prev": "this.prevClass", "class.k-tabstrip-next": "this.nextClass" } }, ngImport: i0, template: `
|
|
3342
|
-
<kendo-icon-wrapper
|
|
3343
|
-
[name]="iconClass"
|
|
3344
|
-
[customFontClass]="customIconClass"
|
|
3345
|
-
[svgIcon]="svgIcon"
|
|
3346
|
-
innerCssClass="k-button-icon"
|
|
3347
|
-
>
|
|
3348
|
-
</kendo-icon-wrapper>
|
|
3349
|
-
`, isInline: true, components: [{ type: i2.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }] });
|
|
3350
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TabStripScrollableButtonComponent, decorators: [{
|
|
3351
|
-
type: Component,
|
|
3352
|
-
args: [{
|
|
3353
|
-
template: `
|
|
3354
|
-
<kendo-icon-wrapper
|
|
3355
|
-
[name]="iconClass"
|
|
3356
|
-
[customFontClass]="customIconClass"
|
|
3357
|
-
[svgIcon]="svgIcon"
|
|
3358
|
-
innerCssClass="k-button-icon"
|
|
3359
|
-
>
|
|
3360
|
-
</kendo-icon-wrapper>
|
|
3361
|
-
`,
|
|
3362
|
-
// eslint-disable-next-line @angular-eslint/component-selector
|
|
3363
|
-
selector: '[kendoTabStripScrollableButton]'
|
|
3364
|
-
}]
|
|
3365
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.NgZone }, { type: i1.LocalizationService }]; }, propDecorators: { prevClass: [{
|
|
3366
|
-
type: HostBinding,
|
|
3367
|
-
args: ['class.k-tabstrip-prev']
|
|
3368
|
-
}], nextClass: [{
|
|
3369
|
-
type: HostBinding,
|
|
3370
|
-
args: ['class.k-tabstrip-next']
|
|
3371
|
-
}], prev: [{
|
|
3372
|
-
type: Input
|
|
3373
|
-
}], tabPosition: [{
|
|
3374
|
-
type: Input
|
|
3375
|
-
}], scrollable: [{
|
|
3376
|
-
type: Input
|
|
3377
|
-
}], tabScroll: [{
|
|
3378
|
-
type: Output
|
|
3379
|
-
}], onClick: [{
|
|
3380
|
-
type: Output
|
|
3381
|
-
}] } });
|
|
3382
|
-
|
|
3383
3215
|
/**
|
|
3384
3216
|
* @hidden
|
|
3385
3217
|
*/
|
|
@@ -3443,8 +3275,8 @@ class TabComponent {
|
|
|
3443
3275
|
this.tabClose.emit(closeArgs);
|
|
3444
3276
|
}
|
|
3445
3277
|
}
|
|
3446
|
-
TabComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3447
|
-
TabComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
3278
|
+
TabComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TabComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
3279
|
+
TabComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TabComponent, selector: "[kendoTabStripTab]", inputs: { tab: "tab", index: "index", tabStripClosable: "tabStripClosable", tabStripCloseIcon: "tabStripCloseIcon", customTabstripCloseIcon: "customTabstripCloseIcon", closeSVGIcon: "closeSVGIcon" }, outputs: { tabClose: "tabClose" }, host: { properties: { "class.k-item": "this.hostClasses", "class.k-tabstrip-item": "this.hostClasses", "attr.aria-selected": "this.activeClass", "class.k-active": "this.activeClass", "attr.aria-disabled": "this.disabledClass", "class.k-disabled": "this.disabledClass", "class.k-focus": "this.focusedClass", "attr.tabindex": "this.tabIndex" } }, ngImport: i0, template: `
|
|
3448
3280
|
<ng-container *ngIf="!tab.tabTemplate; else tabTemplate">
|
|
3449
3281
|
<span class="k-link" *ngIf="!tab.tabTitle">{{ tab.title }}</span>
|
|
3450
3282
|
<span class="k-link" *ngIf="tab.tabTitle">
|
|
@@ -3470,8 +3302,8 @@ TabComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version:
|
|
|
3470
3302
|
(click)="closeTab(index)"
|
|
3471
3303
|
class="k-remove-tab k-icon-button"
|
|
3472
3304
|
></button>
|
|
3473
|
-
`, isInline: true,
|
|
3474
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3305
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i3$1.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"] }] });
|
|
3306
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TabComponent, decorators: [{
|
|
3475
3307
|
type: Component,
|
|
3476
3308
|
args: [{
|
|
3477
3309
|
// eslint-disable-next-line @angular-eslint/component-selector
|
|
@@ -3549,9 +3381,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
3549
3381
|
*/
|
|
3550
3382
|
class TabStripMessages extends ComponentMessages {
|
|
3551
3383
|
}
|
|
3552
|
-
TabStripMessages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3553
|
-
TabStripMessages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
3554
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3384
|
+
TabStripMessages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TabStripMessages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
3385
|
+
TabStripMessages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: TabStripMessages, selector: "kendo-tabstrip-messages-base", inputs: { closeTitle: "closeTitle", previousTabButton: "previousTabButton", nextTabButton: "nextTabButton" }, usesInheritance: true, ngImport: i0 });
|
|
3386
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TabStripMessages, decorators: [{
|
|
3555
3387
|
type: Directive,
|
|
3556
3388
|
args: [{
|
|
3557
3389
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
@@ -3574,14 +3406,14 @@ class LocalizedTabStripMessagesDirective extends TabStripMessages {
|
|
|
3574
3406
|
this.service = service;
|
|
3575
3407
|
}
|
|
3576
3408
|
}
|
|
3577
|
-
LocalizedTabStripMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3578
|
-
LocalizedTabStripMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
3409
|
+
LocalizedTabStripMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LocalizedTabStripMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3410
|
+
LocalizedTabStripMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LocalizedTabStripMessagesDirective, selector: "[kendoTabStripLocalizedMessages]", providers: [
|
|
3579
3411
|
{
|
|
3580
3412
|
provide: TabStripMessages,
|
|
3581
3413
|
useExisting: forwardRef(() => LocalizedTabStripMessagesDirective)
|
|
3582
3414
|
}
|
|
3583
3415
|
], usesInheritance: true, ngImport: i0 });
|
|
3584
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3416
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LocalizedTabStripMessagesDirective, decorators: [{
|
|
3585
3417
|
type: Directive,
|
|
3586
3418
|
args: [{
|
|
3587
3419
|
providers: [
|
|
@@ -3594,96 +3426,257 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
3594
3426
|
}]
|
|
3595
3427
|
}], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
|
|
3596
3428
|
|
|
3429
|
+
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
3597
3430
|
/**
|
|
3598
|
-
*
|
|
3431
|
+
* @hidden
|
|
3599
3432
|
*/
|
|
3600
|
-
class
|
|
3601
|
-
constructor(
|
|
3602
|
-
this.
|
|
3433
|
+
class TabStripScrollableButtonComponent {
|
|
3434
|
+
constructor(host, renderer, ngZone, localization) {
|
|
3435
|
+
this.host = host;
|
|
3603
3436
|
this.renderer = renderer;
|
|
3604
|
-
this.wrapper = wrapper;
|
|
3605
|
-
this.tabstripService = tabstripService;
|
|
3606
|
-
this.scrollService = scrollService;
|
|
3607
3437
|
this.ngZone = ngZone;
|
|
3608
|
-
|
|
3609
|
-
|
|
3610
|
-
*
|
|
3611
|
-
* @default true
|
|
3612
|
-
*/
|
|
3613
|
-
this.animate = true;
|
|
3614
|
-
/**
|
|
3615
|
-
* Sets the position of the tabs. Defaults to `top`.
|
|
3616
|
-
*
|
|
3617
|
-
* @default 'top'
|
|
3618
|
-
*/
|
|
3619
|
-
this.tabPosition = 'top';
|
|
3620
|
-
/**
|
|
3621
|
-
* When set to `true`, the component renders all tabs and they are persisted in the DOM.
|
|
3622
|
-
* By default, `keepTabContent` is `false`.
|
|
3623
|
-
*
|
|
3624
|
-
* @default false
|
|
3625
|
-
*/
|
|
3626
|
-
this.keepTabContent = false;
|
|
3627
|
-
/**
|
|
3628
|
-
* When set to `true`, a close button will be rendered inside each tab.
|
|
3629
|
-
* By default, `closable` is `false`.
|
|
3630
|
-
*
|
|
3631
|
-
* @default false
|
|
3632
|
-
*/
|
|
3633
|
-
this.closable = false;
|
|
3634
|
-
/**
|
|
3635
|
-
* Defines the name for an existing font icon in the Kendo UI theme for the close icon.
|
|
3636
|
-
*/
|
|
3637
|
-
this.closeIcon = 'x';
|
|
3638
|
-
/**
|
|
3639
|
-
* Determines whether the content associated with each tab will be rendered.
|
|
3640
|
-
*
|
|
3641
|
-
* @default true
|
|
3642
|
-
*/
|
|
3643
|
-
this.showContentArea = true;
|
|
3644
|
-
/**
|
|
3645
|
-
* Fires each time the user selects a tab ([see example]({% slug overview_tabstrip %}#toc-basic-usage)).
|
|
3646
|
-
* The event data contains the index of the selected tab and its title.
|
|
3647
|
-
*/
|
|
3648
|
-
this.tabSelect = new EventEmitter();
|
|
3649
|
-
/**
|
|
3650
|
-
* Fires each time the user closes a tab.
|
|
3651
|
-
* The event data contains the index of the closed tab and its instance.
|
|
3652
|
-
*/
|
|
3653
|
-
this.tabClose = new EventEmitter();
|
|
3654
|
-
/**
|
|
3655
|
-
* Fires each time the user scrolls the TabStrip list.
|
|
3656
|
-
* The event is preventable.
|
|
3657
|
-
*/
|
|
3438
|
+
this.localization = localization;
|
|
3439
|
+
this.prev = false;
|
|
3658
3440
|
this.tabScroll = new EventEmitter();
|
|
3659
|
-
this.
|
|
3660
|
-
|
|
3661
|
-
|
|
3662
|
-
|
|
3663
|
-
this.
|
|
3664
|
-
|
|
3665
|
-
|
|
3666
|
-
|
|
3667
|
-
|
|
3668
|
-
|
|
3669
|
-
|
|
3670
|
-
|
|
3671
|
-
|
|
3672
|
-
|
|
3673
|
-
|
|
3674
|
-
|
|
3675
|
-
|
|
3676
|
-
this.
|
|
3677
|
-
|
|
3678
|
-
|
|
3679
|
-
|
|
3680
|
-
|
|
3681
|
-
|
|
3682
|
-
|
|
3683
|
-
|
|
3684
|
-
|
|
3685
|
-
|
|
3686
|
-
|
|
3441
|
+
this.onClick = new EventEmitter();
|
|
3442
|
+
this.caretAltLeftIcon = caretAltLeftIcon;
|
|
3443
|
+
this.caretAltRightIcon = caretAltRightIcon;
|
|
3444
|
+
this.caretAltUpIcon = caretAltUpIcon;
|
|
3445
|
+
this.caretAltDownIcon = caretAltDownIcon;
|
|
3446
|
+
this.subs = new Subscription();
|
|
3447
|
+
this.clickHandler = (scrollEvent) => {
|
|
3448
|
+
const tabStripScrollEvent = this.emitScrollEvent(scrollEvent);
|
|
3449
|
+
const isTabStripScrollEventPrevented = tabStripScrollEvent.isDefaultPrevented();
|
|
3450
|
+
if (isTabStripScrollEventPrevented) {
|
|
3451
|
+
return;
|
|
3452
|
+
}
|
|
3453
|
+
const buttonType = this.prev ? 'prev' : 'next';
|
|
3454
|
+
this.onClick.emit(buttonType);
|
|
3455
|
+
};
|
|
3456
|
+
}
|
|
3457
|
+
get prevClass() {
|
|
3458
|
+
return this.prev;
|
|
3459
|
+
}
|
|
3460
|
+
get nextClass() {
|
|
3461
|
+
return !this.prev;
|
|
3462
|
+
}
|
|
3463
|
+
get hostBoundingClientRect() {
|
|
3464
|
+
return this.host.nativeElement.getBoundingClientRect();
|
|
3465
|
+
}
|
|
3466
|
+
get iconClass() {
|
|
3467
|
+
return this.scrollButtonIconClass;
|
|
3468
|
+
}
|
|
3469
|
+
get customIconClass() {
|
|
3470
|
+
return this.customScrollButtonIconClass;
|
|
3471
|
+
}
|
|
3472
|
+
get svgIcon() {
|
|
3473
|
+
return this.scrollButtonSVGIcon;
|
|
3474
|
+
}
|
|
3475
|
+
ngAfterViewInit() {
|
|
3476
|
+
this.ngZone.runOutsideAngular(() => {
|
|
3477
|
+
this.subs.add(this.renderer.listen(this.host.nativeElement, 'click', this.clickHandler));
|
|
3478
|
+
});
|
|
3479
|
+
}
|
|
3480
|
+
ngOnDestroy() {
|
|
3481
|
+
this.subs.unsubscribe();
|
|
3482
|
+
}
|
|
3483
|
+
toggle(show) {
|
|
3484
|
+
this.renderer[show ? 'removeClass' : 'addClass'](this.host.nativeElement, HIDDEN_CLASS);
|
|
3485
|
+
}
|
|
3486
|
+
get scrollButtonIconClass() {
|
|
3487
|
+
const defaultPrevIcon = isTablistHorizontal(this.tabPosition) ?
|
|
3488
|
+
!this.localization.rtl ?
|
|
3489
|
+
DIRECTION_CLASSES.left :
|
|
3490
|
+
DIRECTION_CLASSES.right :
|
|
3491
|
+
DIRECTION_CLASSES.up;
|
|
3492
|
+
const defaultNextIcon = isTablistHorizontal(this.tabPosition) ?
|
|
3493
|
+
!this.localization.rtl ?
|
|
3494
|
+
DIRECTION_CLASSES.right :
|
|
3495
|
+
DIRECTION_CLASSES.left :
|
|
3496
|
+
DIRECTION_CLASSES.down;
|
|
3497
|
+
if (typeof this.scrollable === 'object') {
|
|
3498
|
+
const prevIcon = typeof this.scrollable.prevButtonIcon === 'undefined' ? defaultPrevIcon : '';
|
|
3499
|
+
const nextIcon = typeof this.scrollable.nextButtonIcon === 'undefined' ? defaultNextIcon : '';
|
|
3500
|
+
if (prevIcon && this.prev) {
|
|
3501
|
+
return prevIcon;
|
|
3502
|
+
}
|
|
3503
|
+
else if (nextIcon && !this.prev) {
|
|
3504
|
+
return nextIcon;
|
|
3505
|
+
}
|
|
3506
|
+
}
|
|
3507
|
+
}
|
|
3508
|
+
get customScrollButtonIconClass() {
|
|
3509
|
+
if (typeof this.scrollable === 'object') {
|
|
3510
|
+
const prevIcon = this.scrollable.prevButtonIcon;
|
|
3511
|
+
const nextIcon = this.scrollable.nextButtonIcon;
|
|
3512
|
+
if (prevIcon && this.prev) {
|
|
3513
|
+
return `k-icon ${prevIcon}`;
|
|
3514
|
+
}
|
|
3515
|
+
if (nextIcon && !this.prev) {
|
|
3516
|
+
return `k-icon ${nextIcon}`;
|
|
3517
|
+
}
|
|
3518
|
+
}
|
|
3519
|
+
}
|
|
3520
|
+
get scrollButtonSVGIcon() {
|
|
3521
|
+
const defaultPrevSVGIcon = isTablistHorizontal(this.tabPosition) ?
|
|
3522
|
+
!this.localization.rtl ?
|
|
3523
|
+
this.caretAltLeftIcon :
|
|
3524
|
+
this.caretAltRightIcon :
|
|
3525
|
+
this.caretAltUpIcon;
|
|
3526
|
+
const defaultNextSVGIcon = isTablistHorizontal(this.tabPosition) ?
|
|
3527
|
+
!this.localization.rtl ?
|
|
3528
|
+
this.caretAltRightIcon :
|
|
3529
|
+
this.caretAltLeftIcon :
|
|
3530
|
+
this.caretAltDownIcon;
|
|
3531
|
+
if (typeof this.scrollable === 'object') {
|
|
3532
|
+
const prevIcon = this.scrollable.prevSVGButtonIcon !== undefined ? this.scrollable.prevSVGButtonIcon : defaultPrevSVGIcon;
|
|
3533
|
+
const nextIcon = this.scrollable.nextSVGButtonIcon !== undefined ? this.scrollable.nextSVGButtonIcon : defaultNextSVGIcon;
|
|
3534
|
+
if (prevIcon || nextIcon) {
|
|
3535
|
+
return this.prev ? prevIcon : nextIcon;
|
|
3536
|
+
}
|
|
3537
|
+
}
|
|
3538
|
+
}
|
|
3539
|
+
emitScrollEvent(event) {
|
|
3540
|
+
const scrollEvent = new TabScrollEvent({
|
|
3541
|
+
originalEvent: event
|
|
3542
|
+
});
|
|
3543
|
+
this.tabScroll.emit(scrollEvent);
|
|
3544
|
+
return scrollEvent;
|
|
3545
|
+
}
|
|
3546
|
+
}
|
|
3547
|
+
TabStripScrollableButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TabStripScrollableButtonComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
3548
|
+
TabStripScrollableButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TabStripScrollableButtonComponent, selector: "[kendoTabStripScrollableButton]", inputs: { prev: "prev", tabPosition: "tabPosition", scrollable: "scrollable" }, outputs: { tabScroll: "tabScroll", onClick: "onClick" }, host: { properties: { "class.k-tabstrip-prev": "this.prevClass", "class.k-tabstrip-next": "this.nextClass" } }, ngImport: i0, template: `
|
|
3549
|
+
<kendo-icon-wrapper
|
|
3550
|
+
[name]="iconClass"
|
|
3551
|
+
[customFontClass]="customIconClass"
|
|
3552
|
+
[svgIcon]="svgIcon"
|
|
3553
|
+
innerCssClass="k-button-icon"
|
|
3554
|
+
>
|
|
3555
|
+
</kendo-icon-wrapper>
|
|
3556
|
+
`, isInline: true, dependencies: [{ kind: "component", type: i3.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }] });
|
|
3557
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TabStripScrollableButtonComponent, decorators: [{
|
|
3558
|
+
type: Component,
|
|
3559
|
+
args: [{
|
|
3560
|
+
template: `
|
|
3561
|
+
<kendo-icon-wrapper
|
|
3562
|
+
[name]="iconClass"
|
|
3563
|
+
[customFontClass]="customIconClass"
|
|
3564
|
+
[svgIcon]="svgIcon"
|
|
3565
|
+
innerCssClass="k-button-icon"
|
|
3566
|
+
>
|
|
3567
|
+
</kendo-icon-wrapper>
|
|
3568
|
+
`,
|
|
3569
|
+
// eslint-disable-next-line @angular-eslint/component-selector
|
|
3570
|
+
selector: '[kendoTabStripScrollableButton]'
|
|
3571
|
+
}]
|
|
3572
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.NgZone }, { type: i1.LocalizationService }]; }, propDecorators: { prevClass: [{
|
|
3573
|
+
type: HostBinding,
|
|
3574
|
+
args: ['class.k-tabstrip-prev']
|
|
3575
|
+
}], nextClass: [{
|
|
3576
|
+
type: HostBinding,
|
|
3577
|
+
args: ['class.k-tabstrip-next']
|
|
3578
|
+
}], prev: [{
|
|
3579
|
+
type: Input
|
|
3580
|
+
}], tabPosition: [{
|
|
3581
|
+
type: Input
|
|
3582
|
+
}], scrollable: [{
|
|
3583
|
+
type: Input
|
|
3584
|
+
}], tabScroll: [{
|
|
3585
|
+
type: Output
|
|
3586
|
+
}], onClick: [{
|
|
3587
|
+
type: Output
|
|
3588
|
+
}] } });
|
|
3589
|
+
|
|
3590
|
+
/**
|
|
3591
|
+
* Represents the [Kendo UI TabStrip component for Angular]({% slug overview_tabstrip %}).
|
|
3592
|
+
*/
|
|
3593
|
+
class TabStripComponent {
|
|
3594
|
+
constructor(localization, renderer, wrapper, tabstripService, scrollService, ngZone) {
|
|
3595
|
+
this.localization = localization;
|
|
3596
|
+
this.renderer = renderer;
|
|
3597
|
+
this.wrapper = wrapper;
|
|
3598
|
+
this.tabstripService = tabstripService;
|
|
3599
|
+
this.scrollService = scrollService;
|
|
3600
|
+
this.ngZone = ngZone;
|
|
3601
|
+
/**
|
|
3602
|
+
* Enables the tab animation.
|
|
3603
|
+
*
|
|
3604
|
+
* @default true
|
|
3605
|
+
*/
|
|
3606
|
+
this.animate = true;
|
|
3607
|
+
/**
|
|
3608
|
+
* Sets the position of the tabs. Defaults to `top`.
|
|
3609
|
+
*
|
|
3610
|
+
* @default 'top'
|
|
3611
|
+
*/
|
|
3612
|
+
this.tabPosition = 'top';
|
|
3613
|
+
/**
|
|
3614
|
+
* When set to `true`, the component renders all tabs and they are persisted in the DOM.
|
|
3615
|
+
* By default, `keepTabContent` is `false`.
|
|
3616
|
+
*
|
|
3617
|
+
* @default false
|
|
3618
|
+
*/
|
|
3619
|
+
this.keepTabContent = false;
|
|
3620
|
+
/**
|
|
3621
|
+
* When set to `true`, a close button will be rendered inside each tab.
|
|
3622
|
+
* By default, `closable` is `false`.
|
|
3623
|
+
*
|
|
3624
|
+
* @default false
|
|
3625
|
+
*/
|
|
3626
|
+
this.closable = false;
|
|
3627
|
+
/**
|
|
3628
|
+
* Defines the name for an existing font icon in the Kendo UI theme for the close icon.
|
|
3629
|
+
*/
|
|
3630
|
+
this.closeIcon = 'x';
|
|
3631
|
+
/**
|
|
3632
|
+
* Determines whether the content associated with each tab will be rendered.
|
|
3633
|
+
*
|
|
3634
|
+
* @default true
|
|
3635
|
+
*/
|
|
3636
|
+
this.showContentArea = true;
|
|
3637
|
+
/**
|
|
3638
|
+
* Fires each time the user selects a tab ([see example]({% slug overview_tabstrip %}#toc-basic-usage)).
|
|
3639
|
+
* The event data contains the index of the selected tab and its title.
|
|
3640
|
+
*/
|
|
3641
|
+
this.tabSelect = new EventEmitter();
|
|
3642
|
+
/**
|
|
3643
|
+
* Fires each time the user closes a tab.
|
|
3644
|
+
* The event data contains the index of the closed tab and its instance.
|
|
3645
|
+
*/
|
|
3646
|
+
this.tabClose = new EventEmitter();
|
|
3647
|
+
/**
|
|
3648
|
+
* Fires each time the user scrolls the TabStrip list.
|
|
3649
|
+
* The event is preventable.
|
|
3650
|
+
*/
|
|
3651
|
+
this.tabScroll = new EventEmitter();
|
|
3652
|
+
this.hostClasses = true;
|
|
3653
|
+
/**
|
|
3654
|
+
* A query list of all declared tabs.
|
|
3655
|
+
*/
|
|
3656
|
+
this.tabs = new QueryList();
|
|
3657
|
+
/**
|
|
3658
|
+
* @hidden
|
|
3659
|
+
*/
|
|
3660
|
+
this.showLicenseWatermark = false;
|
|
3661
|
+
this._scrollableSettings = normalizeScrollableSettings(false);
|
|
3662
|
+
this.subscriptions = new Subscription();
|
|
3663
|
+
this.subscriptionsArePresent = false;
|
|
3664
|
+
this.tabStripId = guid();
|
|
3665
|
+
const isValid = validatePackage(packageMetadata);
|
|
3666
|
+
this.showLicenseWatermark = shouldShowValidationUI(isValid);
|
|
3667
|
+
this.tabstripService.owner = this;
|
|
3668
|
+
this.scrollService.owner = this;
|
|
3669
|
+
this.subscriptions.add(this.scrollService.scrollButtonActiveStateChange.subscribe((activeButtonSettings) => {
|
|
3670
|
+
if (this.hasScrollButtons) {
|
|
3671
|
+
const action = activeButtonSettings.active ? 'remove' : 'add';
|
|
3672
|
+
this.renderer[`${action}Class`](this[`${activeButtonSettings.buttonType}ScrollButton`].host.nativeElement, 'k-disabled');
|
|
3673
|
+
}
|
|
3674
|
+
}));
|
|
3675
|
+
}
|
|
3676
|
+
/**
|
|
3677
|
+
* Sets the height of the TabStrip.
|
|
3678
|
+
*/
|
|
3679
|
+
set height(value) {
|
|
3687
3680
|
this._height = value;
|
|
3688
3681
|
this.renderer.setStyle(this.wrapper.nativeElement, 'height', value);
|
|
3689
3682
|
}
|
|
@@ -3756,8 +3749,10 @@ class TabStripComponent {
|
|
|
3756
3749
|
});
|
|
3757
3750
|
this.initDomEvents();
|
|
3758
3751
|
this.tabsChangesSub = this.tabs.changes.subscribe(() => {
|
|
3759
|
-
this.
|
|
3760
|
-
|
|
3752
|
+
this.ngZone.onStable.pipe(take(1)).subscribe(() => {
|
|
3753
|
+
this.toggleScrollButtons(this.scrollService.tabsOverflow);
|
|
3754
|
+
this.scrollService.toggleScrollButtonsState();
|
|
3755
|
+
});
|
|
3761
3756
|
});
|
|
3762
3757
|
}
|
|
3763
3758
|
ngOnChanges(changes) {
|
|
@@ -3976,8 +3971,8 @@ class TabStripComponent {
|
|
|
3976
3971
|
});
|
|
3977
3972
|
}
|
|
3978
3973
|
}
|
|
3979
|
-
TabStripComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3980
|
-
TabStripComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
3974
|
+
TabStripComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TabStripComponent, deps: [{ token: i1.LocalizationService }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: TabStripService }, { token: ScrollService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
3975
|
+
TabStripComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TabStripComponent, selector: "kendo-tabstrip", inputs: { height: "height", animate: "animate", tabAlignment: "tabAlignment", tabPosition: "tabPosition", keepTabContent: "keepTabContent", closable: "closable", scrollable: "scrollable", closeIcon: "closeIcon", closeIconClass: "closeIconClass", closeSVGIcon: "closeSVGIcon", showContentArea: "showContentArea" }, outputs: { tabSelect: "tabSelect", tabClose: "tabClose", tabScroll: "tabScroll" }, host: { properties: { "class.k-tabstrip": "this.hostClasses", "class.k-pos-relative": "this.hostClasses", "class.k-tabstrip-top": "this.tabsAtTop", "class.k-tabstrip-right": "this.tabsAtRight", "class.k-tabstrip-bottom": "this.tabsAtBottom", "class.k-tabstrip-left": "this.tabsAtLeft", "attr.dir": "this.dir", "class.k-tabstrip-scrollable": "this.tabStripScrollable" } }, providers: [
|
|
3981
3976
|
TabStripService,
|
|
3982
3977
|
ScrollService,
|
|
3983
3978
|
LocalizationService,
|
|
@@ -4075,7 +4070,6 @@ TabStripComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
|
4075
4070
|
role="tabpanel"
|
|
4076
4071
|
[id]="getTabPanelId(i)"
|
|
4077
4072
|
[attr.aria-hidden]="!tab.selected"
|
|
4078
|
-
[attr.aria-expanded]="tab.selected"
|
|
4079
4073
|
[attr.aria-labelledby]="getTabId(i)"
|
|
4080
4074
|
[attr.aria-disabled]="tab.disabled"
|
|
4081
4075
|
>
|
|
@@ -4086,7 +4080,7 @@ TabStripComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
|
4086
4080
|
</ng-template>
|
|
4087
4081
|
<kendo-resize-sensor *ngIf="isScrollable" (resize)="onResize()"></kendo-resize-sensor>
|
|
4088
4082
|
<div kendoWatermarkOverlay *ngIf="showLicenseWatermark"></div>
|
|
4089
|
-
`, isInline: true,
|
|
4083
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: i5.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { kind: "component", type: i5.WatermarkOverlayComponent, selector: "div[kendoWatermarkOverlay]" }, { kind: "component", type: TabComponent, selector: "[kendoTabStripTab]", inputs: ["tab", "index", "tabStripClosable", "tabStripCloseIcon", "customTabstripCloseIcon", "closeSVGIcon"], outputs: ["tabClose"] }, { kind: "directive", type: LocalizedTabStripMessagesDirective, selector: "[kendoTabStripLocalizedMessages]" }, { kind: "component", type: TabStripScrollableButtonComponent, selector: "[kendoTabStripScrollableButton]", inputs: ["prev", "tabPosition", "scrollable"], outputs: ["tabScroll", "onClick"] }], animations: [
|
|
4090
4084
|
trigger('state', [
|
|
4091
4085
|
state('active', style({ opacity: 1 })),
|
|
4092
4086
|
transition('* => active', [
|
|
@@ -4095,7 +4089,7 @@ TabStripComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
|
4095
4089
|
])
|
|
4096
4090
|
])
|
|
4097
4091
|
] });
|
|
4098
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4092
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TabStripComponent, decorators: [{
|
|
4099
4093
|
type: Component,
|
|
4100
4094
|
args: [{
|
|
4101
4095
|
animations: [
|
|
@@ -4208,7 +4202,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
4208
4202
|
role="tabpanel"
|
|
4209
4203
|
[id]="getTabPanelId(i)"
|
|
4210
4204
|
[attr.aria-hidden]="!tab.selected"
|
|
4211
|
-
[attr.aria-expanded]="tab.selected"
|
|
4212
4205
|
[attr.aria-labelledby]="getTabId(i)"
|
|
4213
4206
|
[attr.aria-disabled]="tab.disabled"
|
|
4214
4207
|
>
|
|
@@ -4303,14 +4296,14 @@ class TabStripCustomMessagesComponent extends TabStripMessages {
|
|
|
4303
4296
|
return true;
|
|
4304
4297
|
}
|
|
4305
4298
|
}
|
|
4306
|
-
TabStripCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4307
|
-
TabStripCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
4299
|
+
TabStripCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TabStripCustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
4300
|
+
TabStripCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TabStripCustomMessagesComponent, selector: "kendo-tabstrip-messages", providers: [
|
|
4308
4301
|
{
|
|
4309
4302
|
provide: TabStripMessages,
|
|
4310
4303
|
useExisting: forwardRef(() => TabStripCustomMessagesComponent)
|
|
4311
4304
|
}
|
|
4312
4305
|
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
4313
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4306
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TabStripCustomMessagesComponent, decorators: [{
|
|
4314
4307
|
type: Component,
|
|
4315
4308
|
args: [{
|
|
4316
4309
|
providers: [
|
|
@@ -4336,9 +4329,9 @@ class DrawerTemplateDirective {
|
|
|
4336
4329
|
this.templateRef = templateRef;
|
|
4337
4330
|
}
|
|
4338
4331
|
}
|
|
4339
|
-
DrawerTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4340
|
-
DrawerTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
4341
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4332
|
+
DrawerTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DrawerTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
4333
|
+
DrawerTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: DrawerTemplateDirective, selector: "[kendoDrawerTemplate]", ngImport: i0 });
|
|
4334
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DrawerTemplateDirective, decorators: [{
|
|
4342
4335
|
type: Directive,
|
|
4343
4336
|
args: [{
|
|
4344
4337
|
selector: '[kendoDrawerTemplate]'
|
|
@@ -4359,9 +4352,9 @@ class DrawerItemTemplateDirective {
|
|
|
4359
4352
|
this.templateRef = templateRef;
|
|
4360
4353
|
}
|
|
4361
4354
|
}
|
|
4362
|
-
DrawerItemTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4363
|
-
DrawerItemTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
4364
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4355
|
+
DrawerItemTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DrawerItemTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
4356
|
+
DrawerItemTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: DrawerItemTemplateDirective, selector: "[kendoDrawerItemTemplate]", ngImport: i0 });
|
|
4357
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DrawerItemTemplateDirective, decorators: [{
|
|
4365
4358
|
type: Directive,
|
|
4366
4359
|
args: [{
|
|
4367
4360
|
selector: '[kendoDrawerItemTemplate]'
|
|
@@ -4382,9 +4375,9 @@ class DrawerHeaderTemplateDirective {
|
|
|
4382
4375
|
this.templateRef = templateRef;
|
|
4383
4376
|
}
|
|
4384
4377
|
}
|
|
4385
|
-
DrawerHeaderTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4386
|
-
DrawerHeaderTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
4387
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4378
|
+
DrawerHeaderTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DrawerHeaderTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
4379
|
+
DrawerHeaderTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: DrawerHeaderTemplateDirective, selector: "[kendoDrawerHeaderTemplate]", ngImport: i0 });
|
|
4380
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DrawerHeaderTemplateDirective, decorators: [{
|
|
4388
4381
|
type: Directive,
|
|
4389
4382
|
args: [{
|
|
4390
4383
|
selector: '[kendoDrawerHeaderTemplate]'
|
|
@@ -4405,9 +4398,9 @@ class DrawerFooterTemplateDirective {
|
|
|
4405
4398
|
this.templateRef = templateRef;
|
|
4406
4399
|
}
|
|
4407
4400
|
}
|
|
4408
|
-
DrawerFooterTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4409
|
-
DrawerFooterTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
4410
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4401
|
+
DrawerFooterTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DrawerFooterTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
4402
|
+
DrawerFooterTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: DrawerFooterTemplateDirective, selector: "[kendoDrawerFooterTemplate]", ngImport: i0 });
|
|
4403
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DrawerFooterTemplateDirective, decorators: [{
|
|
4411
4404
|
type: Directive,
|
|
4412
4405
|
args: [{
|
|
4413
4406
|
selector: '[kendoDrawerFooterTemplate]'
|
|
@@ -4511,9 +4504,9 @@ class DrawerService {
|
|
|
4511
4504
|
this.selectedIndices = [];
|
|
4512
4505
|
}
|
|
4513
4506
|
}
|
|
4514
|
-
DrawerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4515
|
-
DrawerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4516
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4507
|
+
DrawerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DrawerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4508
|
+
DrawerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DrawerService });
|
|
4509
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DrawerService, decorators: [{
|
|
4517
4510
|
type: Injectable
|
|
4518
4511
|
}] });
|
|
4519
4512
|
|
|
@@ -4738,8 +4731,8 @@ class DrawerItemComponent {
|
|
|
4738
4731
|
return this.viewItem.item;
|
|
4739
4732
|
}
|
|
4740
4733
|
}
|
|
4741
|
-
DrawerItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4742
|
-
DrawerItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
4734
|
+
DrawerItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DrawerItemComponent, deps: [{ token: DrawerService }, { token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
4735
|
+
DrawerItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: DrawerItemComponent, selector: "[kendoDrawerItem]", inputs: { viewItem: "viewItem", index: "index", itemTemplate: "itemTemplate", mini: "mini", expanded: "expanded", disabled: "disabled", cssClass: "cssClass", cssStyle: "cssStyle" }, host: { properties: { "attr.aria-disabled": "this.disabledClass", "class.k-disabled": "this.disabledClass", "attr.aria-current": "this.selectedClass", "class.k-selected": "this.selectedClass", "attr.aria-label": "this.label" } }, ngImport: i0, template: `
|
|
4743
4736
|
<ng-template *ngIf="itemTemplate; else defaultTemplate"
|
|
4744
4737
|
[ngTemplateOutlet]="itemTemplate"
|
|
4745
4738
|
[ngTemplateOutletContext]="{
|
|
@@ -4762,6 +4755,7 @@ DrawerItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
4762
4755
|
</kendo-icon-wrapper>
|
|
4763
4756
|
|
|
4764
4757
|
<span class="k-item-text">{{ item.text }}</span>
|
|
4758
|
+
<span *ngIf="viewItem.hasChildren" class="k-spacer"></span>
|
|
4765
4759
|
<kendo-icon-wrapper
|
|
4766
4760
|
*ngIf="viewItem.hasChildren"
|
|
4767
4761
|
[name]="viewItem.isExpanded ? 'arrow-chevron-up' : 'arrow-chevron-down'"
|
|
@@ -4781,8 +4775,8 @@ DrawerItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
4781
4775
|
</kendo-icon-wrapper>
|
|
4782
4776
|
</ng-container>
|
|
4783
4777
|
</ng-template>
|
|
4784
|
-
`, isInline: true,
|
|
4785
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4778
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i3.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }] });
|
|
4779
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DrawerItemComponent, decorators: [{
|
|
4786
4780
|
type: Component,
|
|
4787
4781
|
args: [{
|
|
4788
4782
|
// eslint-disable-next-line @angular-eslint/component-selector
|
|
@@ -4810,6 +4804,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
4810
4804
|
</kendo-icon-wrapper>
|
|
4811
4805
|
|
|
4812
4806
|
<span class="k-item-text">{{ item.text }}</span>
|
|
4807
|
+
<span *ngIf="viewItem.hasChildren" class="k-spacer"></span>
|
|
4813
4808
|
<kendo-icon-wrapper
|
|
4814
4809
|
*ngIf="viewItem.hasChildren"
|
|
4815
4810
|
[name]="viewItem.isExpanded ? 'arrow-chevron-up' : 'arrow-chevron-down'"
|
|
@@ -4953,9 +4948,9 @@ class DrawerListComponent {
|
|
|
4953
4948
|
}
|
|
4954
4949
|
}
|
|
4955
4950
|
}
|
|
4956
|
-
DrawerListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4957
|
-
DrawerListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
4958
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4951
|
+
DrawerListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DrawerListComponent, deps: [{ token: DrawerService }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
4952
|
+
DrawerListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: DrawerListComponent, selector: "[kendoDrawerList]", inputs: { itemTemplate: "itemTemplate", mini: "mini", expanded: "expanded", view: "view" }, outputs: { select: "select" }, viewQueries: [{ propertyName: "items", predicate: DrawerItemComponent, descendants: true, read: ElementRef }], ngImport: i0, template: "\n <ng-container *ngFor=\"let v of view; trackBy:identifyItem; let idx = index\">\n <li *ngIf=\"!v.item.separator\" kendoDrawerItem\n class=\"k-drawer-item {{expanded ? ' k-level-' + v.level : ''}}\"\n role=\"menuitem\"\n [viewItem]=\"v\"\n [index]=\"idx\"\n [mini]=\"mini\"\n [expanded]=\"expanded\"\n [itemTemplate]=\"itemTemplate\"\n [attr.data-kendo-drawer-index]=\"v.index\"\n [ngClass]=\"v.item.cssClass\"\n [ngStyle]=\"v.item.cssStyle\"\n [tabindex]=\"v.index === 0 ? '0' : '-1'\">\n </li>\n\n <li *ngIf=\"v.item.separator\"\n role=\"separator\"\n class=\"k-drawer-item k-drawer-separator\"\n [ngClass]=\"v.item.cssClass\"\n [ngStyle]=\"v.item.cssStyle\">\n \n </li>\n </ng-container>\n ", isInline: true, dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: DrawerItemComponent, selector: "[kendoDrawerItem]", inputs: ["viewItem", "index", "itemTemplate", "mini", "expanded", "disabled", "cssClass", "cssStyle"] }] });
|
|
4953
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DrawerListComponent, decorators: [{
|
|
4959
4954
|
type: Component,
|
|
4960
4955
|
args: [{
|
|
4961
4956
|
// eslint-disable-next-line @angular-eslint/component-selector
|
|
@@ -5262,8 +5257,8 @@ class DrawerComponent {
|
|
|
5262
5257
|
return player;
|
|
5263
5258
|
}
|
|
5264
5259
|
}
|
|
5265
|
-
DrawerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5266
|
-
DrawerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
5260
|
+
DrawerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DrawerComponent, deps: [{ token: i0.ElementRef }, { token: i1$1.AnimationBuilder }, { token: i1.LocalizationService }, { token: DrawerService }], target: i0.ɵɵFactoryTarget.Component });
|
|
5261
|
+
DrawerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: DrawerComponent, selector: "kendo-drawer", inputs: { mode: "mode", position: "position", mini: "mini", expanded: "expanded", width: "width", miniWidth: "miniWidth", autoCollapse: "autoCollapse", items: "items", isItemExpanded: "isItemExpanded", animation: "animation" }, outputs: { expand: "expand", collapse: "collapse", select: "select", expandedChange: "expandedChange" }, host: { properties: { "class.k-drawer": "this.hostClasses", "class.k-drawer-start": "this.startPositionClass", "class.k-drawer-end": "this.endPositionClass", "style.transform": "this.overlayTransofrmStyles", "style.flexBasis.px": "this.flexStyles", "attr.dir": "this.direction" } }, providers: [
|
|
5267
5262
|
LocalizationService,
|
|
5268
5263
|
DrawerService,
|
|
5269
5264
|
{
|
|
@@ -5299,8 +5294,8 @@ DrawerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versio
|
|
|
5299
5294
|
</div>
|
|
5300
5295
|
|
|
5301
5296
|
<div kendoWatermarkOverlay *ngIf="showLicenseWatermark"></div>
|
|
5302
|
-
`, isInline: true,
|
|
5303
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5297
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i5.WatermarkOverlayComponent, selector: "div[kendoWatermarkOverlay]" }, { kind: "component", type: DrawerListComponent, selector: "[kendoDrawerList]", inputs: ["itemTemplate", "mini", "expanded", "view"], outputs: ["select"] }] });
|
|
5298
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DrawerComponent, decorators: [{
|
|
5304
5299
|
type: Component,
|
|
5305
5300
|
args: [{
|
|
5306
5301
|
exportAs: 'kendoDrawer',
|
|
@@ -5344,7 +5339,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
5344
5339
|
<div kendoWatermarkOverlay *ngIf="showLicenseWatermark"></div>
|
|
5345
5340
|
`
|
|
5346
5341
|
}]
|
|
5347
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1$
|
|
5342
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1$1.AnimationBuilder }, { type: i1.LocalizationService }, { type: DrawerService }]; }, propDecorators: { hostClasses: [{
|
|
5348
5343
|
type: HostBinding,
|
|
5349
5344
|
args: ['class.k-drawer']
|
|
5350
5345
|
}], startPositionClass: [{
|
|
@@ -5453,8 +5448,8 @@ class DrawerContainerComponent {
|
|
|
5453
5448
|
}
|
|
5454
5449
|
}
|
|
5455
5450
|
}
|
|
5456
|
-
DrawerContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5457
|
-
DrawerContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
5451
|
+
DrawerContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DrawerContainerComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
5452
|
+
DrawerContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: DrawerContainerComponent, selector: "kendo-drawer-container", host: { properties: { "class.k-drawer-container": "this.hostClass", "class.k-drawer-overlay": "this.overlayClass", "class.k-drawer-mini": "this.miniClass", "class.k-drawer-push": "this.pushClass", "class.k-drawer-expanded": "this.isExpandedClass", "attr.dir": "this.direction" } }, providers: [
|
|
5458
5453
|
LocalizationService,
|
|
5459
5454
|
{
|
|
5460
5455
|
provide: L10N_PREFIX,
|
|
@@ -5463,8 +5458,8 @@ DrawerContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0
|
|
|
5463
5458
|
], queries: [{ propertyName: "drawer", first: true, predicate: DrawerComponent, descendants: true }], ngImport: i0, template: `
|
|
5464
5459
|
<div class="k-overlay" *ngIf="overlay" (click)="closeDrawer()"></div>
|
|
5465
5460
|
<ng-content></ng-content>
|
|
5466
|
-
`, isInline: true,
|
|
5467
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5461
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
5462
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DrawerContainerComponent, decorators: [{
|
|
5468
5463
|
type: Component,
|
|
5469
5464
|
args: [{
|
|
5470
5465
|
selector: 'kendo-drawer-container',
|
|
@@ -5511,11 +5506,11 @@ class DrawerContentComponent {
|
|
|
5511
5506
|
this.hostClasses = true;
|
|
5512
5507
|
}
|
|
5513
5508
|
}
|
|
5514
|
-
DrawerContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5515
|
-
DrawerContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
5509
|
+
DrawerContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DrawerContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
5510
|
+
DrawerContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: DrawerContentComponent, selector: "kendo-drawer-content", host: { properties: { "class.k-drawer-content": "this.hostClasses" } }, ngImport: i0, template: `
|
|
5516
5511
|
<ng-content></ng-content>
|
|
5517
5512
|
`, isInline: true, encapsulation: i0.ViewEncapsulation.None });
|
|
5518
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5513
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DrawerContentComponent, decorators: [{
|
|
5519
5514
|
type: Component,
|
|
5520
5515
|
args: [{
|
|
5521
5516
|
selector: 'kendo-drawer-content',
|
|
@@ -5552,9 +5547,9 @@ class StepperStepTemplateDirective {
|
|
|
5552
5547
|
this.templateRef = templateRef;
|
|
5553
5548
|
}
|
|
5554
5549
|
}
|
|
5555
|
-
StepperStepTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5556
|
-
StepperStepTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
5557
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5550
|
+
StepperStepTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: StepperStepTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
5551
|
+
StepperStepTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: StepperStepTemplateDirective, selector: "[kendoStepperStepTemplate]", ngImport: i0 });
|
|
5552
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: StepperStepTemplateDirective, decorators: [{
|
|
5558
5553
|
type: Directive,
|
|
5559
5554
|
args: [{
|
|
5560
5555
|
selector: '[kendoStepperStepTemplate]'
|
|
@@ -5575,9 +5570,9 @@ class StepperLabelTemplateDirective {
|
|
|
5575
5570
|
this.templateRef = templateRef;
|
|
5576
5571
|
}
|
|
5577
5572
|
}
|
|
5578
|
-
StepperLabelTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5579
|
-
StepperLabelTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
5580
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5573
|
+
StepperLabelTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: StepperLabelTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
5574
|
+
StepperLabelTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: StepperLabelTemplateDirective, selector: "[kendoStepperLabelTemplate]", ngImport: i0 });
|
|
5575
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: StepperLabelTemplateDirective, decorators: [{
|
|
5581
5576
|
type: Directive,
|
|
5582
5577
|
args: [{
|
|
5583
5578
|
selector: '[kendoStepperLabelTemplate]'
|
|
@@ -5598,9 +5593,9 @@ class StepperIndicatorTemplateDirective {
|
|
|
5598
5593
|
this.templateRef = templateRef;
|
|
5599
5594
|
}
|
|
5600
5595
|
}
|
|
5601
|
-
StepperIndicatorTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5602
|
-
StepperIndicatorTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
5603
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5596
|
+
StepperIndicatorTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: StepperIndicatorTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
5597
|
+
StepperIndicatorTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: StepperIndicatorTemplateDirective, selector: "[kendoStepperIndicatorTemplate]", ngImport: i0 });
|
|
5598
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: StepperIndicatorTemplateDirective, decorators: [{
|
|
5604
5599
|
type: Directive,
|
|
5605
5600
|
args: [{
|
|
5606
5601
|
selector: '[kendoStepperIndicatorTemplate]'
|
|
@@ -5629,7 +5624,7 @@ handlersRTL[Keys.ArrowRight] = 'left';
|
|
|
5629
5624
|
/**
|
|
5630
5625
|
* @hidden
|
|
5631
5626
|
*/
|
|
5632
|
-
|
|
5627
|
+
let StepperActivateEvent$1 = class StepperActivateEvent extends PreventableEvent$1 {
|
|
5633
5628
|
/**
|
|
5634
5629
|
* @hidden
|
|
5635
5630
|
*/
|
|
@@ -5637,7 +5632,7 @@ class StepperActivateEvent$1 extends PreventableEvent$1 {
|
|
|
5637
5632
|
super();
|
|
5638
5633
|
Object.assign(this, args);
|
|
5639
5634
|
}
|
|
5640
|
-
}
|
|
5635
|
+
};
|
|
5641
5636
|
/**
|
|
5642
5637
|
* @hidden
|
|
5643
5638
|
*/
|
|
@@ -5758,9 +5753,9 @@ class StepperService {
|
|
|
5758
5753
|
return this.owner.orientation === 'horizontal';
|
|
5759
5754
|
}
|
|
5760
5755
|
}
|
|
5761
|
-
StepperService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5762
|
-
StepperService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5763
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5756
|
+
StepperService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: StepperService, deps: [{ token: i1.LocalizationService }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5757
|
+
StepperService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: StepperService });
|
|
5758
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: StepperService, decorators: [{
|
|
5764
5759
|
type: Injectable
|
|
5765
5760
|
}], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }]; } });
|
|
5766
5761
|
|
|
@@ -5941,8 +5936,8 @@ class StepperStepComponent {
|
|
|
5941
5936
|
}
|
|
5942
5937
|
}
|
|
5943
5938
|
}
|
|
5944
|
-
StepperStepComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5945
|
-
StepperStepComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
5939
|
+
StepperStepComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: StepperStepComponent, deps: [{ token: StepperService }, { token: i1.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
5940
|
+
StepperStepComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: StepperStepComponent, selector: "[kendoStepperStep]", inputs: { step: "step", index: "index", current: "current", type: "type", successIcon: "successIcon", successSVGIcon: "successSVGIcon", errorIcon: "errorIcon", errorSVGIcon: "errorSVGIcon", svgIcon: "svgIcon", indicatorTemplate: "indicatorTemplate", labelTemplate: "labelTemplate", stepTemplate: "stepTemplate" }, host: { properties: { "class.k-step-error": "this.errorStepClass", "class.k-step-success": "this.successStepClass" } }, viewQueries: [{ propertyName: "stepLink", first: true, predicate: ["stepLink"], descendants: true, static: true }], usesOnChanges: true, ngImport: i0, template: `
|
|
5946
5941
|
<a href='#' class='k-step-link' #stepLink
|
|
5947
5942
|
[attr.tabindex]='tabIndexAttr'
|
|
5948
5943
|
[attr.title]='step.label'
|
|
@@ -6000,8 +5995,8 @@ StepperStepComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
6000
5995
|
</span>
|
|
6001
5996
|
</ng-container>
|
|
6002
5997
|
</a>
|
|
6003
|
-
`, isInline: true,
|
|
6004
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5998
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i3.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }] });
|
|
5999
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: StepperStepComponent, decorators: [{
|
|
6005
6000
|
type: Component,
|
|
6006
6001
|
args: [{
|
|
6007
6002
|
// eslint-disable-next-line @angular-eslint/component-selector
|
|
@@ -6179,9 +6174,9 @@ class StepperListComponent {
|
|
|
6179
6174
|
}
|
|
6180
6175
|
}
|
|
6181
6176
|
}
|
|
6182
|
-
StepperListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6183
|
-
StepperListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
6184
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6177
|
+
StepperListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: StepperListComponent, deps: [{ token: i0.Renderer2 }, { token: i0.NgZone }, { token: StepperService }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
6178
|
+
StepperListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: StepperListComponent, selector: "[kendoStepperList]", inputs: { linear: "linear", stepType: "stepType", orientation: "orientation", currentStep: "currentStep", steps: "steps", successIcon: "successIcon", successSVGIcon: "successSVGIcon", errorIcon: "errorIcon", errorSVGIcon: "errorSVGIcon", svgIcon: "svgIcon", indicatorTemplate: "indicatorTemplate", labelTemplate: "labelTemplate", stepTemplate: "stepTemplate" }, outputs: { listKeydown: "listKeydown", listClick: "listClick" }, ngImport: i0, template: "\n <ng-container *ngFor='let step of steps; let idx = index'>\n <li kendoStepperStep\n [attr.data-kendo-stepper-index]='idx'\n [type]='stepType'\n [step]='step'\n [index]='idx'\n [current]='currentStep'\n [successIcon]='successIcon'\n [successSVGIcon]='successSVGIcon'\n [errorIcon]='errorIcon'\n [errorSVGIcon]='errorSVGIcon'\n [svgIcon]='svgIcon'\n [indicatorTemplate]='indicatorTemplate'\n [labelTemplate]='labelTemplate'\n [stepTemplate]='stepTemplate'\n class='k-step'\n [class.k-step-first]='idx === 0'\n [class.k-step-last]='idx === steps.length - 1'\n [class.k-step-done]='idx < currentStep'\n [class.k-step-current]='idx === currentStep'\n [class.k-step-optional]='step.optional'\n [class.k-disabled]='step.disabled'\n [class.k-focus]='idx === focusedStep'\n [ngClass]='step.cssClass'\n [ngStyle]='step.cssStyle'\n [style.max-width.%] = 'maxStepWidth'\n [style.max-height.%] = 'maxStepHeight'\n >\n </li>\n </ng-container>\n ", isInline: true, dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: StepperStepComponent, selector: "[kendoStepperStep]", inputs: ["step", "index", "current", "type", "successIcon", "successSVGIcon", "errorIcon", "errorSVGIcon", "svgIcon", "indicatorTemplate", "labelTemplate", "stepTemplate"] }] });
|
|
6179
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: StepperListComponent, decorators: [{
|
|
6185
6180
|
type: Component,
|
|
6186
6181
|
args: [{
|
|
6187
6182
|
// eslint-disable-next-line @angular-eslint/component-selector
|
|
@@ -6256,9 +6251,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
6256
6251
|
*/
|
|
6257
6252
|
class StepperMessages extends ComponentMessages {
|
|
6258
6253
|
}
|
|
6259
|
-
StepperMessages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6260
|
-
StepperMessages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
6261
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6254
|
+
StepperMessages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: StepperMessages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
6255
|
+
StepperMessages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: StepperMessages, selector: "kendo-stepper-messages-base", inputs: { optional: "optional" }, usesInheritance: true, ngImport: i0 });
|
|
6256
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: StepperMessages, decorators: [{
|
|
6262
6257
|
type: Directive,
|
|
6263
6258
|
args: [{
|
|
6264
6259
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
@@ -6277,14 +6272,14 @@ class LocalizedStepperMessagesDirective extends StepperMessages {
|
|
|
6277
6272
|
this.service = service;
|
|
6278
6273
|
}
|
|
6279
6274
|
}
|
|
6280
|
-
LocalizedStepperMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6281
|
-
LocalizedStepperMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
6275
|
+
LocalizedStepperMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LocalizedStepperMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
6276
|
+
LocalizedStepperMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LocalizedStepperMessagesDirective, selector: "\n [kendoStepperLocalizedMessages]\n ", providers: [
|
|
6282
6277
|
{
|
|
6283
6278
|
provide: StepperMessages,
|
|
6284
6279
|
useExisting: forwardRef(() => LocalizedStepperMessagesDirective)
|
|
6285
6280
|
}
|
|
6286
6281
|
], usesInheritance: true, ngImport: i0 });
|
|
6287
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6282
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LocalizedStepperMessagesDirective, decorators: [{
|
|
6288
6283
|
type: Directive,
|
|
6289
6284
|
args: [{
|
|
6290
6285
|
providers: [
|
|
@@ -6513,8 +6508,8 @@ class StepperComponent {
|
|
|
6513
6508
|
return this.orientation === 'horizontal';
|
|
6514
6509
|
}
|
|
6515
6510
|
}
|
|
6516
|
-
StepperComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6517
|
-
StepperComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
6511
|
+
StepperComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: StepperComponent, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i1.LocalizationService }, { token: StepperService }], target: i0.ɵɵFactoryTarget.Component });
|
|
6512
|
+
StepperComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: StepperComponent, selector: "kendo-stepper", inputs: { stepType: "stepType", linear: "linear", orientation: "orientation", currentStep: "currentStep", steps: "steps", svgIcon: "svgIcon", successSVGIcon: "successSVGIcon", errorSVGIcon: "errorSVGIcon", successIcon: "successIcon", errorIcon: "errorIcon", animation: "animation" }, outputs: { activate: "activate", currentStepChange: "currentStepChange" }, host: { properties: { "class.k-stepper": "this.hostClasses", "class.k-stepper-linear": "this.linearClass", "attr.role": "this.ariaRole", "attr.dir": "this.direction", "style.display": "this.displayStyle" } }, providers: [
|
|
6518
6513
|
LocalizationService,
|
|
6519
6514
|
StepperService,
|
|
6520
6515
|
{
|
|
@@ -6559,8 +6554,8 @@ StepperComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versi
|
|
|
6559
6554
|
[value]='currentStep'
|
|
6560
6555
|
[ngStyle]='progressBarStyling'>
|
|
6561
6556
|
</kendo-progressbar>
|
|
6562
|
-
`, isInline: true,
|
|
6563
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6557
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: i4.ProgressBarComponent, selector: "kendo-progressbar", inputs: ["label", "progressCssStyle", "progressCssClass", "emptyCssStyle", "emptyCssClass", "animation"], outputs: ["animationEnd"], exportAs: ["kendoProgressBar"] }, { kind: "component", type: StepperListComponent, selector: "[kendoStepperList]", inputs: ["linear", "stepType", "orientation", "currentStep", "steps", "successIcon", "successSVGIcon", "errorIcon", "errorSVGIcon", "svgIcon", "indicatorTemplate", "labelTemplate", "stepTemplate"], outputs: ["listKeydown", "listClick"] }, { kind: "directive", type: LocalizedStepperMessagesDirective, selector: "\n [kendoStepperLocalizedMessages]\n " }] });
|
|
6558
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: StepperComponent, decorators: [{
|
|
6564
6559
|
type: Component,
|
|
6565
6560
|
args: [{
|
|
6566
6561
|
exportAs: 'kendoStepper',
|
|
@@ -6691,14 +6686,14 @@ class StepperCustomMessagesComponent extends StepperMessages {
|
|
|
6691
6686
|
return true;
|
|
6692
6687
|
}
|
|
6693
6688
|
}
|
|
6694
|
-
StepperCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6695
|
-
StepperCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
6689
|
+
StepperCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: StepperCustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
6690
|
+
StepperCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: StepperCustomMessagesComponent, selector: "kendo-stepper-messages", providers: [
|
|
6696
6691
|
{
|
|
6697
6692
|
provide: StepperMessages,
|
|
6698
6693
|
useExisting: forwardRef(() => StepperCustomMessagesComponent)
|
|
6699
6694
|
}
|
|
6700
6695
|
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
6701
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6696
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: StepperCustomMessagesComponent, decorators: [{
|
|
6702
6697
|
type: Component,
|
|
6703
6698
|
args: [{
|
|
6704
6699
|
providers: [
|
|
@@ -6717,9 +6712,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
6717
6712
|
*/
|
|
6718
6713
|
class Messages extends ComponentMessages {
|
|
6719
6714
|
}
|
|
6720
|
-
Messages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6721
|
-
Messages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
6722
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6715
|
+
Messages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: Messages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
6716
|
+
Messages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: Messages, selector: "kendoAvatarMessages", inputs: { avatarAlt: "avatarAlt" }, usesInheritance: true, ngImport: i0 });
|
|
6717
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: Messages, decorators: [{
|
|
6723
6718
|
type: Directive,
|
|
6724
6719
|
args: [{
|
|
6725
6720
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
@@ -6739,14 +6734,14 @@ class LocalizedAvatarMessagesDirective extends Messages {
|
|
|
6739
6734
|
this.service = service;
|
|
6740
6735
|
}
|
|
6741
6736
|
}
|
|
6742
|
-
LocalizedAvatarMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6743
|
-
LocalizedAvatarMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
6737
|
+
LocalizedAvatarMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LocalizedAvatarMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
6738
|
+
LocalizedAvatarMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LocalizedAvatarMessagesDirective, selector: "[kendoAvatarLocalizedMessages]", providers: [
|
|
6744
6739
|
{
|
|
6745
6740
|
provide: Messages,
|
|
6746
6741
|
useExisting: forwardRef(() => LocalizedAvatarMessagesDirective)
|
|
6747
6742
|
}
|
|
6748
6743
|
], usesInheritance: true, ngImport: i0 });
|
|
6749
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6744
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LocalizedAvatarMessagesDirective, decorators: [{
|
|
6750
6745
|
type: Directive,
|
|
6751
6746
|
args: [{
|
|
6752
6747
|
providers: [
|
|
@@ -6986,8 +6981,8 @@ class AvatarComponent {
|
|
|
6986
6981
|
return this.localization.get(key);
|
|
6987
6982
|
}
|
|
6988
6983
|
}
|
|
6989
|
-
AvatarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6990
|
-
AvatarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
6984
|
+
AvatarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AvatarComponent, deps: [{ token: i1.LocalizationService }, { token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
6985
|
+
AvatarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: AvatarComponent, selector: "kendo-avatar", inputs: { shape: "shape", size: "size", rounded: "rounded", themeColor: "themeColor", fillMode: "fillMode", fill: "fill", border: "border", iconClass: "iconClass", width: "width", height: "height", cssStyle: "cssStyle", initials: "initials", icon: "icon", imageSrc: "imageSrc", svgIcon: "svgIcon" }, host: { properties: { "class.k-avatar": "this.hostClass", "class.k-avatar-bordered": "this.borderClass", "style.flexBasis": "this.flexBasis", "style.width": "this.avatarWidth", "style.height": "this.avatarHeight" } }, providers: [
|
|
6991
6986
|
LocalizationService,
|
|
6992
6987
|
{
|
|
6993
6988
|
provide: L10N_PREFIX,
|
|
@@ -7023,8 +7018,8 @@ AvatarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versio
|
|
|
7023
7018
|
</kendo-icon-wrapper>
|
|
7024
7019
|
</span>
|
|
7025
7020
|
</ng-container>
|
|
7026
|
-
`, isInline: true,
|
|
7027
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7021
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: i3.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: LocalizedAvatarMessagesDirective, selector: "[kendoAvatarLocalizedMessages]" }] });
|
|
7022
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AvatarComponent, decorators: [{
|
|
7028
7023
|
type: Component,
|
|
7029
7024
|
args: [{
|
|
7030
7025
|
providers: [
|
|
@@ -7128,14 +7123,14 @@ class AvatarCustomMessagesComponent extends Messages {
|
|
|
7128
7123
|
return true;
|
|
7129
7124
|
}
|
|
7130
7125
|
}
|
|
7131
|
-
AvatarCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7132
|
-
AvatarCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
7126
|
+
AvatarCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AvatarCustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
7127
|
+
AvatarCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: AvatarCustomMessagesComponent, selector: "kendo-avatar-messages", providers: [
|
|
7133
7128
|
{
|
|
7134
7129
|
provide: Messages,
|
|
7135
7130
|
useExisting: forwardRef(() => AvatarCustomMessagesComponent)
|
|
7136
7131
|
}
|
|
7137
7132
|
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
7138
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7133
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AvatarCustomMessagesComponent, decorators: [{
|
|
7139
7134
|
type: Component,
|
|
7140
7135
|
args: [{
|
|
7141
7136
|
providers: [
|
|
@@ -7192,8 +7187,8 @@ class CardComponent {
|
|
|
7192
7187
|
}
|
|
7193
7188
|
}
|
|
7194
7189
|
}
|
|
7195
|
-
CardComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7196
|
-
CardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
7190
|
+
CardComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CardComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
7191
|
+
CardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: CardComponent, selector: "kendo-card", inputs: { orientation: "orientation", width: "width" }, host: { properties: { "class.k-card": "this.hostClass", "style.width": "this.widthStyle", "class.k-card-vertical": "this.vertical", "class.k-card-horizontal": "this.horizontal", "attr.dir": "this.direction" } }, providers: [
|
|
7197
7192
|
LocalizationService,
|
|
7198
7193
|
{
|
|
7199
7194
|
provide: L10N_PREFIX,
|
|
@@ -7202,7 +7197,7 @@ CardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version:
|
|
|
7202
7197
|
], ngImport: i0, template: `
|
|
7203
7198
|
<ng-content></ng-content>
|
|
7204
7199
|
`, isInline: true });
|
|
7205
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7200
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CardComponent, decorators: [{
|
|
7206
7201
|
type: Component,
|
|
7207
7202
|
args: [{
|
|
7208
7203
|
selector: 'kendo-card',
|
|
@@ -7246,11 +7241,11 @@ class CardHeaderComponent {
|
|
|
7246
7241
|
this.hostClass = true;
|
|
7247
7242
|
}
|
|
7248
7243
|
}
|
|
7249
|
-
CardHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7250
|
-
CardHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
7244
|
+
CardHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CardHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
7245
|
+
CardHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: CardHeaderComponent, selector: "kendo-card-header", host: { properties: { "class.k-card-header": "this.hostClass" } }, ngImport: i0, template: `
|
|
7251
7246
|
<ng-content></ng-content>
|
|
7252
7247
|
`, isInline: true });
|
|
7253
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7248
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CardHeaderComponent, decorators: [{
|
|
7254
7249
|
type: Component,
|
|
7255
7250
|
args: [{
|
|
7256
7251
|
selector: 'kendo-card-header',
|
|
@@ -7271,11 +7266,11 @@ class CardBodyComponent {
|
|
|
7271
7266
|
this.hostClass = true;
|
|
7272
7267
|
}
|
|
7273
7268
|
}
|
|
7274
|
-
CardBodyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7275
|
-
CardBodyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
7269
|
+
CardBodyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CardBodyComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
7270
|
+
CardBodyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: CardBodyComponent, selector: "kendo-card-body", host: { properties: { "class.k-card-body": "this.hostClass" } }, ngImport: i0, template: `
|
|
7276
7271
|
<ng-content></ng-content>
|
|
7277
7272
|
`, isInline: true });
|
|
7278
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7273
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CardBodyComponent, decorators: [{
|
|
7279
7274
|
type: Component,
|
|
7280
7275
|
args: [{
|
|
7281
7276
|
selector: 'kendo-card-body',
|
|
@@ -7296,11 +7291,11 @@ class CardFooterComponent {
|
|
|
7296
7291
|
this.hostClass = true;
|
|
7297
7292
|
}
|
|
7298
7293
|
}
|
|
7299
|
-
CardFooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7300
|
-
CardFooterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
7294
|
+
CardFooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CardFooterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
7295
|
+
CardFooterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: CardFooterComponent, selector: "kendo-card-footer", host: { properties: { "class.k-card-footer": "this.hostClass" } }, ngImport: i0, template: `
|
|
7301
7296
|
<ng-content></ng-content>
|
|
7302
7297
|
`, isInline: true });
|
|
7303
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7298
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CardFooterComponent, decorators: [{
|
|
7304
7299
|
type: Component,
|
|
7305
7300
|
args: [{
|
|
7306
7301
|
selector: 'kendo-card-footer',
|
|
@@ -7381,8 +7376,8 @@ class CardActionsComponent {
|
|
|
7381
7376
|
this.action.emit(action);
|
|
7382
7377
|
}
|
|
7383
7378
|
}
|
|
7384
|
-
CardActionsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7385
|
-
CardActionsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
7379
|
+
CardActionsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CardActionsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
7380
|
+
CardActionsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: CardActionsComponent, selector: "kendo-card-actions", inputs: { orientation: "orientation", layout: "layout", actions: "actions" }, outputs: { action: "action" }, host: { properties: { "class.k-actions": "this.hostClass", "class.k-card-actions": "this.hostClass", "class.k-actions-stretched": "this.stretchedClass", "class.k-actions-start": "this.startClass", "class.k-actions-end": "this.endClass", "class.k-actions-center": "this.centerClass", "class.k-actions-vertical": "this.verticalClass", "class.k-actions-horizontal": "this.horizontalClass" } }, ngImport: i0, template: `
|
|
7386
7381
|
<ng-content *ngIf="!actionsArray && !actionsTemplate"></ng-content>
|
|
7387
7382
|
|
|
7388
7383
|
<ng-container *ngIf="actionsArray">
|
|
@@ -7403,8 +7398,8 @@ CardActionsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
7403
7398
|
</ng-container>
|
|
7404
7399
|
|
|
7405
7400
|
<ng-template [ngTemplateOutlet]="actionsTemplate" *ngIf="actionsTemplate"></ng-template>
|
|
7406
|
-
`, isInline: true,
|
|
7407
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7401
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
|
|
7402
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CardActionsComponent, decorators: [{
|
|
7408
7403
|
type: Component,
|
|
7409
7404
|
args: [{
|
|
7410
7405
|
selector: 'kendo-card-actions',
|
|
@@ -7487,9 +7482,9 @@ class CardSeparatorDirective {
|
|
|
7487
7482
|
return this.orientation === 'horizontal';
|
|
7488
7483
|
}
|
|
7489
7484
|
}
|
|
7490
|
-
CardSeparatorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7491
|
-
CardSeparatorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
7492
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7485
|
+
CardSeparatorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CardSeparatorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
7486
|
+
CardSeparatorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: CardSeparatorDirective, selector: "[kendoCardSeparator]", inputs: { color: "color", orientation: "orientation" }, host: { properties: { "class.k-card-separator": "this.hostClass", "class.k-separator-vertical": "this.verticalClass", "class.k-separator-horizontal": "this.horizontalClass", "style.color": "this.color" } }, ngImport: i0 });
|
|
7487
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CardSeparatorDirective, decorators: [{
|
|
7493
7488
|
type: Directive,
|
|
7494
7489
|
args: [{
|
|
7495
7490
|
selector: '[kendoCardSeparator]'
|
|
@@ -7520,9 +7515,9 @@ class CardTitleDirective {
|
|
|
7520
7515
|
this.hostClass = true;
|
|
7521
7516
|
}
|
|
7522
7517
|
}
|
|
7523
|
-
CardTitleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7524
|
-
CardTitleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
7525
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7518
|
+
CardTitleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CardTitleDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
7519
|
+
CardTitleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: CardTitleDirective, selector: "[kendoCardTitle]", host: { properties: { "class.k-card-title": "this.hostClass" } }, ngImport: i0 });
|
|
7520
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CardTitleDirective, decorators: [{
|
|
7526
7521
|
type: Directive,
|
|
7527
7522
|
args: [{
|
|
7528
7523
|
selector: '[kendoCardTitle]'
|
|
@@ -7540,9 +7535,9 @@ class CardSubtitleDirective {
|
|
|
7540
7535
|
this.hostClass = true;
|
|
7541
7536
|
}
|
|
7542
7537
|
}
|
|
7543
|
-
CardSubtitleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7544
|
-
CardSubtitleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
7545
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7538
|
+
CardSubtitleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CardSubtitleDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
7539
|
+
CardSubtitleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: CardSubtitleDirective, selector: "[kendoCardSubtitle]", host: { properties: { "class.k-card-subtitle": "this.hostClass" } }, ngImport: i0 });
|
|
7540
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CardSubtitleDirective, decorators: [{
|
|
7546
7541
|
type: Directive,
|
|
7547
7542
|
args: [{
|
|
7548
7543
|
selector: '[kendoCardSubtitle]'
|
|
@@ -7560,9 +7555,9 @@ class CardMediaDirective {
|
|
|
7560
7555
|
this.hostClass = true;
|
|
7561
7556
|
}
|
|
7562
7557
|
}
|
|
7563
|
-
CardMediaDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7564
|
-
CardMediaDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
7565
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7558
|
+
CardMediaDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CardMediaDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
7559
|
+
CardMediaDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: CardMediaDirective, selector: "[kendoCardMedia]", host: { properties: { "class.k-card-media": "this.hostClass" } }, ngImport: i0 });
|
|
7560
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CardMediaDirective, decorators: [{
|
|
7566
7561
|
type: Directive,
|
|
7567
7562
|
args: [{
|
|
7568
7563
|
selector: '[kendoCardMedia]'
|
|
@@ -7589,9 +7584,9 @@ class ExpansionPanelTitleDirective {
|
|
|
7589
7584
|
this.templateRef = templateRef;
|
|
7590
7585
|
}
|
|
7591
7586
|
}
|
|
7592
|
-
ExpansionPanelTitleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7593
|
-
ExpansionPanelTitleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
7594
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7587
|
+
ExpansionPanelTitleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ExpansionPanelTitleDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
7588
|
+
ExpansionPanelTitleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ExpansionPanelTitleDirective, selector: "[kendoExpansionPanelTitleDirective]", ngImport: i0 });
|
|
7589
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ExpansionPanelTitleDirective, decorators: [{
|
|
7595
7590
|
type: Directive,
|
|
7596
7591
|
args: [{
|
|
7597
7592
|
selector: '[kendoExpansionPanelTitleDirective]'
|
|
@@ -7952,8 +7947,8 @@ class ExpansionPanelComponent {
|
|
|
7952
7947
|
this.renderer.removeClass(this.content.nativeElement, CONTENT_HIDDEN_CLASS);
|
|
7953
7948
|
}
|
|
7954
7949
|
}
|
|
7955
|
-
ExpansionPanelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7956
|
-
ExpansionPanelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
7950
|
+
ExpansionPanelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ExpansionPanelComponent, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i1.LocalizationService }, { token: i1$1.AnimationBuilder }], target: i0.ɵɵFactoryTarget.Component });
|
|
7951
|
+
ExpansionPanelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ExpansionPanelComponent, selector: "kendo-expansionpanel", inputs: { title: "title", subtitle: "subtitle", disabled: "disabled", expanded: "expanded", svgExpandIcon: "svgExpandIcon", svgCollapseIcon: "svgCollapseIcon", expandIcon: "expandIcon", collapseIcon: "collapseIcon", animation: "animation" }, outputs: { expandedChange: "expandedChange", action: "action", expand: "expand", collapse: "collapse" }, host: { properties: { "class.k-expander": "this.hostClass", "class.k-expanded": "this.expandedClass", "attr.dir": "this.direction" } }, providers: [
|
|
7957
7952
|
LocalizationService,
|
|
7958
7953
|
{
|
|
7959
7954
|
provide: L10N_PREFIX,
|
|
@@ -7996,8 +7991,8 @@ ExpansionPanelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
|
|
|
7996
7991
|
<ng-content></ng-content>
|
|
7997
7992
|
</div>
|
|
7998
7993
|
</div>
|
|
7999
|
-
`, isInline: true,
|
|
8000
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7994
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i3.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }] });
|
|
7995
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ExpansionPanelComponent, decorators: [{
|
|
8001
7996
|
type: Component,
|
|
8002
7997
|
args: [{
|
|
8003
7998
|
exportAs: 'kendoExpansionPanel',
|
|
@@ -8048,7 +8043,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
8048
8043
|
</div>
|
|
8049
8044
|
`
|
|
8050
8045
|
}]
|
|
8051
|
-
}], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i1.LocalizationService }, { type: i1$
|
|
8046
|
+
}], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i1.LocalizationService }, { type: i1$1.AnimationBuilder }]; }, propDecorators: { title: [{
|
|
8052
8047
|
type: Input
|
|
8053
8048
|
}], subtitle: [{
|
|
8054
8049
|
type: Input
|
|
@@ -8734,9 +8729,9 @@ class TileLayoutDraggingService {
|
|
|
8734
8729
|
return hintHeight;
|
|
8735
8730
|
}
|
|
8736
8731
|
}
|
|
8737
|
-
TileLayoutDraggingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8738
|
-
TileLayoutDraggingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
8739
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
8732
|
+
TileLayoutDraggingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TileLayoutDraggingService, deps: [{ token: i0.NgZone }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }, { token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
8733
|
+
TileLayoutDraggingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TileLayoutDraggingService });
|
|
8734
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TileLayoutDraggingService, decorators: [{
|
|
8740
8735
|
type: Injectable
|
|
8741
8736
|
}], ctorParameters: function () { return [{ type: i0.NgZone }, { type: i0.Renderer2 }, { type: i0.ChangeDetectorRef }, { type: i1.LocalizationService }]; } });
|
|
8742
8737
|
|
|
@@ -8765,11 +8760,11 @@ class TileLayoutItemHeaderComponent {
|
|
|
8765
8760
|
}
|
|
8766
8761
|
}
|
|
8767
8762
|
}
|
|
8768
|
-
TileLayoutItemHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8769
|
-
TileLayoutItemHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
8763
|
+
TileLayoutItemHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TileLayoutItemHeaderComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
8764
|
+
TileLayoutItemHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TileLayoutItemHeaderComponent, selector: "kendo-tilelayout-item-header", inputs: { reorderable: "reorderable" }, host: { properties: { "class.k-tilelayout-item-header": "this.hostClass", "class.k-card-header": "this.hostClass" } }, ngImport: i0, template: `
|
|
8770
8765
|
<ng-content></ng-content>
|
|
8771
8766
|
`, isInline: true });
|
|
8772
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
8767
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TileLayoutItemHeaderComponent, decorators: [{
|
|
8773
8768
|
type: Component,
|
|
8774
8769
|
args: [{
|
|
8775
8770
|
selector: 'kendo-tilelayout-item-header',
|
|
@@ -8855,7 +8850,6 @@ class TileLayoutKeyboardNavigationService {
|
|
|
8855
8850
|
getAllFocusableChildren(parent) {
|
|
8856
8851
|
return Array.from(parent.querySelectorAll(focusableSelector)).filter((element) => element.offsetParent !== null);
|
|
8857
8852
|
}
|
|
8858
|
-
;
|
|
8859
8853
|
resizeItem(keyCode, focusedTile, settings, col) {
|
|
8860
8854
|
const { resizeRight, resizeLeft, resizeDown, resizeUp } = shouldResize(keyCode, col, focusedTile, settings);
|
|
8861
8855
|
const resizeHorizontal = resizeLeft || resizeRight;
|
|
@@ -8914,14 +8908,13 @@ class TileLayoutKeyboardNavigationService {
|
|
|
8914
8908
|
const lastFocusable = all.length > 0 ? all[all.length - 1] : parent;
|
|
8915
8909
|
return [firstFocusable, lastFocusable];
|
|
8916
8910
|
}
|
|
8917
|
-
;
|
|
8918
8911
|
targetTile(focusedTile, items, offset) {
|
|
8919
8912
|
return items.find(item => item.order === focusedTile.order + offset);
|
|
8920
8913
|
}
|
|
8921
8914
|
}
|
|
8922
|
-
TileLayoutKeyboardNavigationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8923
|
-
TileLayoutKeyboardNavigationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
8924
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
8915
|
+
TileLayoutKeyboardNavigationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TileLayoutKeyboardNavigationService, deps: [{ token: i0.NgZone }, { token: i0.Renderer2 }, { token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
8916
|
+
TileLayoutKeyboardNavigationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TileLayoutKeyboardNavigationService });
|
|
8917
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TileLayoutKeyboardNavigationService, decorators: [{
|
|
8925
8918
|
type: Injectable
|
|
8926
8919
|
}], ctorParameters: function () { return [{ type: i0.NgZone }, { type: i0.Renderer2 }, { type: i1.LocalizationService }]; } });
|
|
8927
8920
|
|
|
@@ -8962,9 +8955,9 @@ class TileLayoutResizeHandleDirective {
|
|
|
8962
8955
|
}
|
|
8963
8956
|
}
|
|
8964
8957
|
}
|
|
8965
|
-
TileLayoutResizeHandleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8966
|
-
TileLayoutResizeHandleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
8967
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
8958
|
+
TileLayoutResizeHandleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TileLayoutResizeHandleDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
|
|
8959
|
+
TileLayoutResizeHandleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: TileLayoutResizeHandleDirective, selector: "[kendoTileLayoutResizeHandle]", inputs: { resizeDirection: "resizeDirection", rtl: "rtl" }, ngImport: i0 });
|
|
8960
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TileLayoutResizeHandleDirective, decorators: [{
|
|
8968
8961
|
type: Directive,
|
|
8969
8962
|
args: [{
|
|
8970
8963
|
selector: '[kendoTileLayoutResizeHandle]'
|
|
@@ -9137,8 +9130,8 @@ class TileLayoutItemComponent {
|
|
|
9137
9130
|
}
|
|
9138
9131
|
}
|
|
9139
9132
|
}
|
|
9140
|
-
TileLayoutItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9141
|
-
TileLayoutItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
9133
|
+
TileLayoutItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TileLayoutItemComponent, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i1.LocalizationService }, { token: TileLayoutDraggingService }, { token: TileLayoutKeyboardNavigationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
9134
|
+
TileLayoutItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TileLayoutItemComponent, selector: "kendo-tilelayout-item", inputs: { title: "title", rowSpan: "rowSpan", colSpan: "colSpan", order: "order", col: "col", row: "row", reorderable: "reorderable", resizable: "resizable" }, host: { properties: { "class.k-tilelayout-item": "this.itemClass", "class.k-card": "this.itemClass", "attr.role": "this.hostRole", "attr.aria-dropeffect": "this.hostDropEffect", "attr.tabindex": "this.hostTabindex", "attr.aria-keyshortcuts": "this.ariaKeyShortcuts", "attr.aria-grabbed": "this.hostGrabbed", "attr.aria-labelledby": "this.hostLabelledBy", "style.grid-column-end": "this.colEnd", "style.grid-row-end": "this.rowEnd", "style.grid-column-start": "this.colStart", "style.grid-row-start": "this.rowStart" } }, queries: [{ propertyName: "headers", predicate: TileLayoutItemHeaderComponent }], usesOnChanges: true, ngImport: i0, template: `
|
|
9142
9135
|
<kendo-tilelayout-item-header [reorderable]="isReorderable" *ngIf="title">
|
|
9143
9136
|
<h5 [id]="titleId" class="k-card-title">{{ title }}</h5>
|
|
9144
9137
|
</kendo-tilelayout-item-header>
|
|
@@ -9152,8 +9145,8 @@ TileLayoutItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
|
|
|
9152
9145
|
[resizeDirection]="dir">
|
|
9153
9146
|
</div>
|
|
9154
9147
|
</ng-container>
|
|
9155
|
-
`, isInline: true,
|
|
9156
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9148
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: TileLayoutItemHeaderComponent, selector: "kendo-tilelayout-item-header", inputs: ["reorderable"] }, { kind: "directive", type: TileLayoutResizeHandleDirective, selector: "[kendoTileLayoutResizeHandle]", inputs: ["resizeDirection", "rtl"] }] });
|
|
9149
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TileLayoutItemComponent, decorators: [{
|
|
9157
9150
|
type: Component,
|
|
9158
9151
|
args: [{
|
|
9159
9152
|
selector: 'kendo-tilelayout-item',
|
|
@@ -9465,8 +9458,8 @@ class TileLayoutComponent {
|
|
|
9465
9458
|
});
|
|
9466
9459
|
}
|
|
9467
9460
|
}
|
|
9468
|
-
TileLayoutComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9469
|
-
TileLayoutComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
9461
|
+
TileLayoutComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TileLayoutComponent, deps: [{ token: i0.NgZone }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1.LocalizationService }, { token: TileLayoutDraggingService }, { token: TileLayoutKeyboardNavigationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
9462
|
+
TileLayoutComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TileLayoutComponent, selector: "kendo-tilelayout", inputs: { columns: "columns", columnWidth: "columnWidth", gap: "gap", reorderable: "reorderable", resizable: "resizable", rowHeight: "rowHeight", autoFlow: "autoFlow", navigable: "navigable" }, outputs: { reorder: "reorder", resize: "resize" }, host: { properties: { "class.k-tilelayout": "this.hostClass", "class.k-pos-relative": "this.hostClass", "attr.role": "this.hostRole", "style.gap": "this.gapStyle", "style.padding": "this.gapStyle", "attr.dir": "this.direction" } }, providers: [
|
|
9470
9463
|
LocalizationService,
|
|
9471
9464
|
TileLayoutDraggingService,
|
|
9472
9465
|
TileLayoutKeyboardNavigationService,
|
|
@@ -9486,8 +9479,8 @@ TileLayoutComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
9486
9479
|
[style.zIndex]="'1'">
|
|
9487
9480
|
</div>
|
|
9488
9481
|
<div kendoWatermarkOverlay *ngIf="showLicenseWatermark"></div>
|
|
9489
|
-
`, isInline: true,
|
|
9490
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9482
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i5.WatermarkOverlayComponent, selector: "div[kendoWatermarkOverlay]" }] });
|
|
9483
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TileLayoutComponent, decorators: [{
|
|
9491
9484
|
type: Component,
|
|
9492
9485
|
args: [{
|
|
9493
9486
|
selector: 'kendo-tilelayout',
|
|
@@ -9569,11 +9562,11 @@ class TileLayoutItemBodyComponent {
|
|
|
9569
9562
|
this.minHeight = 0;
|
|
9570
9563
|
}
|
|
9571
9564
|
}
|
|
9572
|
-
TileLayoutItemBodyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9573
|
-
TileLayoutItemBodyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
9565
|
+
TileLayoutItemBodyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TileLayoutItemBodyComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
9566
|
+
TileLayoutItemBodyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TileLayoutItemBodyComponent, selector: "kendo-tilelayout-item-body", host: { properties: { "class.k-tilelayout-item-body": "this.hostClass", "class.k-card-body": "this.hostClass", "style.min-height": "this.minHeight" } }, ngImport: i0, template: `
|
|
9574
9567
|
<ng-content></ng-content>
|
|
9575
9568
|
`, isInline: true });
|
|
9576
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9569
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TileLayoutItemBodyComponent, decorators: [{
|
|
9577
9570
|
type: Component,
|
|
9578
9571
|
args: [{
|
|
9579
9572
|
selector: 'kendo-tilelayout-item-body',
|
|
@@ -9592,13 +9585,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
9592
9585
|
args: ['style.min-height']
|
|
9593
9586
|
}] } });
|
|
9594
9587
|
|
|
9595
|
-
const exportedModules$
|
|
9588
|
+
const exportedModules$b = [
|
|
9596
9589
|
AvatarComponent,
|
|
9597
9590
|
AvatarCustomMessagesComponent
|
|
9598
9591
|
];
|
|
9599
|
-
const declarations$
|
|
9592
|
+
const declarations$b = [
|
|
9600
9593
|
LocalizedAvatarMessagesDirective,
|
|
9601
|
-
...exportedModules$
|
|
9594
|
+
...exportedModules$b
|
|
9602
9595
|
];
|
|
9603
9596
|
/**
|
|
9604
9597
|
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
@@ -9606,16 +9599,16 @@ const declarations$a = [
|
|
|
9606
9599
|
*/
|
|
9607
9600
|
class AvatarModule {
|
|
9608
9601
|
}
|
|
9609
|
-
AvatarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9610
|
-
AvatarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
9602
|
+
AvatarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AvatarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
9603
|
+
AvatarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: AvatarModule, declarations: [LocalizedAvatarMessagesDirective, AvatarComponent,
|
|
9611
9604
|
AvatarCustomMessagesComponent], imports: [CommonModule, IconsModule], exports: [AvatarComponent,
|
|
9612
9605
|
AvatarCustomMessagesComponent] });
|
|
9613
|
-
AvatarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
9614
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9606
|
+
AvatarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AvatarModule, imports: [CommonModule, IconsModule] });
|
|
9607
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AvatarModule, decorators: [{
|
|
9615
9608
|
type: NgModule,
|
|
9616
9609
|
args: [{
|
|
9617
|
-
declarations: [declarations$
|
|
9618
|
-
exports: [exportedModules$
|
|
9610
|
+
declarations: [declarations$b],
|
|
9611
|
+
exports: [exportedModules$b],
|
|
9619
9612
|
imports: [CommonModule, IconsModule]
|
|
9620
9613
|
}]
|
|
9621
9614
|
}] });
|
|
@@ -9626,7 +9619,7 @@ const cardDirectives = [
|
|
|
9626
9619
|
CardSeparatorDirective,
|
|
9627
9620
|
CardMediaDirective
|
|
9628
9621
|
];
|
|
9629
|
-
const exportedModules$
|
|
9622
|
+
const exportedModules$a = [
|
|
9630
9623
|
CardComponent,
|
|
9631
9624
|
CardHeaderComponent,
|
|
9632
9625
|
CardBodyComponent,
|
|
@@ -9634,15 +9627,15 @@ const exportedModules$9 = [
|
|
|
9634
9627
|
CardActionsComponent,
|
|
9635
9628
|
...cardDirectives
|
|
9636
9629
|
];
|
|
9637
|
-
const declarations$
|
|
9630
|
+
const declarations$a = [...exportedModules$a];
|
|
9638
9631
|
/**
|
|
9639
9632
|
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
9640
9633
|
* definition for the Card component.
|
|
9641
9634
|
*/
|
|
9642
9635
|
class CardModule {
|
|
9643
9636
|
}
|
|
9644
|
-
CardModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9645
|
-
CardModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
9637
|
+
CardModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CardModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
9638
|
+
CardModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: CardModule, declarations: [CardComponent,
|
|
9646
9639
|
CardHeaderComponent,
|
|
9647
9640
|
CardBodyComponent,
|
|
9648
9641
|
CardFooterComponent,
|
|
@@ -9657,12 +9650,12 @@ CardModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13
|
|
|
9657
9650
|
CardSubtitleDirective,
|
|
9658
9651
|
CardSeparatorDirective,
|
|
9659
9652
|
CardMediaDirective] });
|
|
9660
|
-
CardModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
9661
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9653
|
+
CardModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CardModule, imports: [CommonModule] });
|
|
9654
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CardModule, decorators: [{
|
|
9662
9655
|
type: NgModule,
|
|
9663
9656
|
args: [{
|
|
9664
|
-
declarations: [declarations$
|
|
9665
|
-
exports: [exportedModules$
|
|
9657
|
+
declarations: [declarations$a],
|
|
9658
|
+
exports: [exportedModules$a],
|
|
9666
9659
|
imports: [CommonModule]
|
|
9667
9660
|
}]
|
|
9668
9661
|
}] });
|
|
@@ -9673,16 +9666,16 @@ const templateDirectives$1 = [
|
|
|
9673
9666
|
DrawerFooterTemplateDirective,
|
|
9674
9667
|
DrawerItemTemplateDirective
|
|
9675
9668
|
];
|
|
9676
|
-
const exportedModules$
|
|
9669
|
+
const exportedModules$9 = [
|
|
9677
9670
|
DrawerComponent,
|
|
9678
9671
|
DrawerContainerComponent,
|
|
9679
9672
|
DrawerContentComponent,
|
|
9680
9673
|
...templateDirectives$1
|
|
9681
9674
|
];
|
|
9682
|
-
const declarations$
|
|
9675
|
+
const declarations$9 = [
|
|
9683
9676
|
DrawerItemComponent,
|
|
9684
9677
|
DrawerListComponent,
|
|
9685
|
-
...exportedModules$
|
|
9678
|
+
...exportedModules$9
|
|
9686
9679
|
];
|
|
9687
9680
|
/**
|
|
9688
9681
|
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
@@ -9690,8 +9683,8 @@ const declarations$8 = [
|
|
|
9690
9683
|
*/
|
|
9691
9684
|
class DrawerModule {
|
|
9692
9685
|
}
|
|
9693
|
-
DrawerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9694
|
-
DrawerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
9686
|
+
DrawerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DrawerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
9687
|
+
DrawerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: DrawerModule, declarations: [DrawerItemComponent,
|
|
9695
9688
|
DrawerListComponent, DrawerComponent,
|
|
9696
9689
|
DrawerContainerComponent,
|
|
9697
9690
|
DrawerContentComponent, DrawerTemplateDirective,
|
|
@@ -9703,22 +9696,22 @@ DrawerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
|
9703
9696
|
DrawerHeaderTemplateDirective,
|
|
9704
9697
|
DrawerFooterTemplateDirective,
|
|
9705
9698
|
DrawerItemTemplateDirective] });
|
|
9706
|
-
DrawerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
9707
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9699
|
+
DrawerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DrawerModule, imports: [CommonModule, IconsModule, WatermarkModule] });
|
|
9700
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DrawerModule, decorators: [{
|
|
9708
9701
|
type: NgModule,
|
|
9709
9702
|
args: [{
|
|
9710
|
-
declarations: [declarations$
|
|
9711
|
-
exports: [exportedModules$
|
|
9703
|
+
declarations: [declarations$9],
|
|
9704
|
+
exports: [exportedModules$9],
|
|
9712
9705
|
imports: [CommonModule, IconsModule, WatermarkModule]
|
|
9713
9706
|
}]
|
|
9714
9707
|
}] });
|
|
9715
9708
|
|
|
9716
|
-
const exportedModules$
|
|
9709
|
+
const exportedModules$8 = [
|
|
9717
9710
|
ExpansionPanelComponent,
|
|
9718
9711
|
ExpansionPanelTitleDirective
|
|
9719
9712
|
];
|
|
9720
|
-
const declarations$
|
|
9721
|
-
...exportedModules$
|
|
9713
|
+
const declarations$8 = [
|
|
9714
|
+
...exportedModules$8
|
|
9722
9715
|
];
|
|
9723
9716
|
/**
|
|
9724
9717
|
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
@@ -9726,29 +9719,29 @@ const declarations$7 = [
|
|
|
9726
9719
|
*/
|
|
9727
9720
|
class ExpansionPanelModule {
|
|
9728
9721
|
}
|
|
9729
|
-
ExpansionPanelModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9730
|
-
ExpansionPanelModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
9722
|
+
ExpansionPanelModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ExpansionPanelModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
9723
|
+
ExpansionPanelModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: ExpansionPanelModule, declarations: [ExpansionPanelComponent,
|
|
9731
9724
|
ExpansionPanelTitleDirective], imports: [CommonModule, EventsModule, IconsModule], exports: [ExpansionPanelComponent,
|
|
9732
9725
|
ExpansionPanelTitleDirective] });
|
|
9733
|
-
ExpansionPanelModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
9734
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9726
|
+
ExpansionPanelModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ExpansionPanelModule, imports: [CommonModule, EventsModule, IconsModule] });
|
|
9727
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ExpansionPanelModule, decorators: [{
|
|
9735
9728
|
type: NgModule,
|
|
9736
9729
|
args: [{
|
|
9737
|
-
declarations: [declarations$
|
|
9738
|
-
exports: [exportedModules$
|
|
9730
|
+
declarations: [declarations$8],
|
|
9731
|
+
exports: [exportedModules$8],
|
|
9739
9732
|
imports: [CommonModule, EventsModule, IconsModule]
|
|
9740
9733
|
}]
|
|
9741
9734
|
}] });
|
|
9742
9735
|
|
|
9743
|
-
const exportedModules$
|
|
9736
|
+
const exportedModules$7 = [
|
|
9744
9737
|
PanelBarComponent,
|
|
9745
9738
|
PanelBarItemComponent,
|
|
9746
9739
|
PanelBarContentDirective,
|
|
9747
9740
|
PanelBarItemTemplateDirective,
|
|
9748
9741
|
PanelBarItemTitleDirective
|
|
9749
9742
|
];
|
|
9750
|
-
const declarations$
|
|
9751
|
-
...exportedModules$
|
|
9743
|
+
const declarations$7 = [
|
|
9744
|
+
...exportedModules$7
|
|
9752
9745
|
];
|
|
9753
9746
|
/**
|
|
9754
9747
|
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
@@ -9763,8 +9756,8 @@ const declarations$6 = [
|
|
|
9763
9756
|
*/
|
|
9764
9757
|
class PanelBarModule {
|
|
9765
9758
|
}
|
|
9766
|
-
PanelBarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9767
|
-
PanelBarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
9759
|
+
PanelBarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PanelBarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
9760
|
+
PanelBarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: PanelBarModule, declarations: [PanelBarComponent,
|
|
9768
9761
|
PanelBarItemComponent,
|
|
9769
9762
|
PanelBarContentDirective,
|
|
9770
9763
|
PanelBarItemTemplateDirective,
|
|
@@ -9773,23 +9766,23 @@ PanelBarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version:
|
|
|
9773
9766
|
PanelBarContentDirective,
|
|
9774
9767
|
PanelBarItemTemplateDirective,
|
|
9775
9768
|
PanelBarItemTitleDirective] });
|
|
9776
|
-
PanelBarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
9777
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9769
|
+
PanelBarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PanelBarModule, imports: [CommonModule, IconsModule, WatermarkModule] });
|
|
9770
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PanelBarModule, decorators: [{
|
|
9778
9771
|
type: NgModule,
|
|
9779
9772
|
args: [{
|
|
9780
|
-
declarations: [declarations$
|
|
9781
|
-
exports: [exportedModules$
|
|
9773
|
+
declarations: [declarations$7],
|
|
9774
|
+
exports: [exportedModules$7],
|
|
9782
9775
|
imports: [CommonModule, IconsModule, WatermarkModule]
|
|
9783
9776
|
}]
|
|
9784
9777
|
}] });
|
|
9785
9778
|
|
|
9786
|
-
const exportedModules$
|
|
9779
|
+
const exportedModules$6 = [
|
|
9787
9780
|
SplitterComponent,
|
|
9788
9781
|
SplitterPaneComponent
|
|
9789
9782
|
];
|
|
9790
|
-
const declarations$
|
|
9783
|
+
const declarations$6 = [
|
|
9791
9784
|
SplitterBarComponent,
|
|
9792
|
-
...exportedModules$
|
|
9785
|
+
...exportedModules$6
|
|
9793
9786
|
];
|
|
9794
9787
|
/**
|
|
9795
9788
|
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
@@ -9801,22 +9794,20 @@ const declarations$5 = [
|
|
|
9801
9794
|
*/
|
|
9802
9795
|
class SplitterModule {
|
|
9803
9796
|
}
|
|
9804
|
-
SplitterModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9805
|
-
SplitterModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
9797
|
+
SplitterModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SplitterModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
9798
|
+
SplitterModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: SplitterModule, declarations: [SplitterBarComponent, SplitterComponent,
|
|
9806
9799
|
SplitterPaneComponent], imports: [CommonModule,
|
|
9807
9800
|
DraggableModule,
|
|
9808
9801
|
IconsModule], exports: [SplitterComponent,
|
|
9809
9802
|
SplitterPaneComponent] });
|
|
9810
|
-
SplitterModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
9811
|
-
|
|
9812
|
-
|
|
9813
|
-
|
|
9814
|
-
]] });
|
|
9815
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: SplitterModule, decorators: [{
|
|
9803
|
+
SplitterModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SplitterModule, imports: [CommonModule,
|
|
9804
|
+
DraggableModule,
|
|
9805
|
+
IconsModule] });
|
|
9806
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SplitterModule, decorators: [{
|
|
9816
9807
|
type: NgModule,
|
|
9817
9808
|
args: [{
|
|
9818
|
-
declarations: [declarations$
|
|
9819
|
-
exports: [exportedModules$
|
|
9809
|
+
declarations: [declarations$6],
|
|
9810
|
+
exports: [exportedModules$6],
|
|
9820
9811
|
imports: [
|
|
9821
9812
|
CommonModule,
|
|
9822
9813
|
DraggableModule,
|
|
@@ -9830,16 +9821,16 @@ const templateDirectives = [
|
|
|
9830
9821
|
StepperLabelTemplateDirective,
|
|
9831
9822
|
StepperIndicatorTemplateDirective
|
|
9832
9823
|
];
|
|
9833
|
-
const exportedModules$
|
|
9824
|
+
const exportedModules$5 = [
|
|
9834
9825
|
StepperComponent,
|
|
9835
9826
|
StepperCustomMessagesComponent,
|
|
9836
9827
|
...templateDirectives
|
|
9837
9828
|
];
|
|
9838
|
-
const declarations$
|
|
9829
|
+
const declarations$5 = [
|
|
9839
9830
|
StepperStepComponent,
|
|
9840
9831
|
StepperListComponent,
|
|
9841
9832
|
LocalizedStepperMessagesDirective,
|
|
9842
|
-
...exportedModules$
|
|
9833
|
+
...exportedModules$5
|
|
9843
9834
|
];
|
|
9844
9835
|
/**
|
|
9845
9836
|
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
@@ -9847,8 +9838,8 @@ const declarations$4 = [
|
|
|
9847
9838
|
*/
|
|
9848
9839
|
class StepperModule {
|
|
9849
9840
|
}
|
|
9850
|
-
StepperModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9851
|
-
StepperModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
9841
|
+
StepperModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: StepperModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
9842
|
+
StepperModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: StepperModule, declarations: [StepperStepComponent,
|
|
9852
9843
|
StepperListComponent,
|
|
9853
9844
|
LocalizedStepperMessagesDirective, StepperComponent,
|
|
9854
9845
|
StepperCustomMessagesComponent, StepperStepTemplateDirective,
|
|
@@ -9857,17 +9848,17 @@ StepperModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version:
|
|
|
9857
9848
|
StepperCustomMessagesComponent, StepperStepTemplateDirective,
|
|
9858
9849
|
StepperLabelTemplateDirective,
|
|
9859
9850
|
StepperIndicatorTemplateDirective] });
|
|
9860
|
-
StepperModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
9861
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9851
|
+
StepperModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: StepperModule, imports: [CommonModule, ProgressBarModule, IconsModule] });
|
|
9852
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: StepperModule, decorators: [{
|
|
9862
9853
|
type: NgModule,
|
|
9863
9854
|
args: [{
|
|
9864
|
-
declarations: [declarations$
|
|
9865
|
-
exports: [exportedModules$
|
|
9855
|
+
declarations: [declarations$5],
|
|
9856
|
+
exports: [exportedModules$5],
|
|
9866
9857
|
imports: [CommonModule, ProgressBarModule, IconsModule]
|
|
9867
9858
|
}]
|
|
9868
9859
|
}] });
|
|
9869
9860
|
|
|
9870
|
-
const exportedModules$
|
|
9861
|
+
const exportedModules$4 = [
|
|
9871
9862
|
TabStripComponent,
|
|
9872
9863
|
TabStripTabComponent,
|
|
9873
9864
|
TabContentDirective,
|
|
@@ -9877,8 +9868,8 @@ const exportedModules$3 = [
|
|
|
9877
9868
|
LocalizedTabStripMessagesDirective,
|
|
9878
9869
|
TabTemplateDirective
|
|
9879
9870
|
];
|
|
9880
|
-
const declarations$
|
|
9881
|
-
...exportedModules$
|
|
9871
|
+
const declarations$4 = [
|
|
9872
|
+
...exportedModules$4,
|
|
9882
9873
|
TabStripScrollableButtonComponent
|
|
9883
9874
|
];
|
|
9884
9875
|
/**
|
|
@@ -9893,8 +9884,8 @@ const declarations$3 = [
|
|
|
9893
9884
|
*/
|
|
9894
9885
|
class TabStripModule {
|
|
9895
9886
|
}
|
|
9896
|
-
TabStripModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9897
|
-
TabStripModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
9887
|
+
TabStripModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TabStripModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
9888
|
+
TabStripModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: TabStripModule, declarations: [TabStripComponent,
|
|
9898
9889
|
TabStripTabComponent,
|
|
9899
9890
|
TabContentDirective,
|
|
9900
9891
|
TabTitleDirective,
|
|
@@ -9909,25 +9900,25 @@ TabStripModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version:
|
|
|
9909
9900
|
TabStripCustomMessagesComponent,
|
|
9910
9901
|
LocalizedTabStripMessagesDirective,
|
|
9911
9902
|
TabTemplateDirective] });
|
|
9912
|
-
TabStripModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
9913
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9903
|
+
TabStripModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TabStripModule, imports: [CommonModule, ResizeSensorModule, IconsModule, ButtonModule, WatermarkModule] });
|
|
9904
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TabStripModule, decorators: [{
|
|
9914
9905
|
type: NgModule,
|
|
9915
9906
|
args: [{
|
|
9916
|
-
declarations: [declarations$
|
|
9917
|
-
exports: [exportedModules$
|
|
9907
|
+
declarations: [declarations$4],
|
|
9908
|
+
exports: [exportedModules$4],
|
|
9918
9909
|
imports: [CommonModule, ResizeSensorModule, IconsModule, ButtonModule, WatermarkModule]
|
|
9919
9910
|
}]
|
|
9920
9911
|
}] });
|
|
9921
9912
|
|
|
9922
|
-
const exportedModules$
|
|
9913
|
+
const exportedModules$3 = [
|
|
9923
9914
|
TileLayoutComponent,
|
|
9924
9915
|
TileLayoutItemComponent,
|
|
9925
9916
|
TileLayoutItemHeaderComponent,
|
|
9926
9917
|
TileLayoutItemBodyComponent,
|
|
9927
9918
|
TileLayoutResizeHandleDirective
|
|
9928
9919
|
];
|
|
9929
|
-
const declarations$
|
|
9930
|
-
...exportedModules$
|
|
9920
|
+
const declarations$3 = [
|
|
9921
|
+
...exportedModules$3
|
|
9931
9922
|
];
|
|
9932
9923
|
/**
|
|
9933
9924
|
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
@@ -9941,8 +9932,8 @@ const declarations$2 = [
|
|
|
9941
9932
|
*/
|
|
9942
9933
|
class TileLayoutModule {
|
|
9943
9934
|
}
|
|
9944
|
-
TileLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9945
|
-
TileLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
9935
|
+
TileLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TileLayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
9936
|
+
TileLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: TileLayoutModule, declarations: [TileLayoutComponent,
|
|
9946
9937
|
TileLayoutItemComponent,
|
|
9947
9938
|
TileLayoutItemHeaderComponent,
|
|
9948
9939
|
TileLayoutItemBodyComponent,
|
|
@@ -9951,12 +9942,12 @@ TileLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", versio
|
|
|
9951
9942
|
TileLayoutItemHeaderComponent,
|
|
9952
9943
|
TileLayoutItemBodyComponent,
|
|
9953
9944
|
TileLayoutResizeHandleDirective] });
|
|
9954
|
-
TileLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
9955
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9945
|
+
TileLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TileLayoutModule, imports: [CommonModule, WatermarkModule] });
|
|
9946
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TileLayoutModule, decorators: [{
|
|
9956
9947
|
type: NgModule,
|
|
9957
9948
|
args: [{
|
|
9958
|
-
declarations: [declarations$
|
|
9959
|
-
exports: [exportedModules$
|
|
9949
|
+
declarations: [declarations$3],
|
|
9950
|
+
exports: [exportedModules$3],
|
|
9960
9951
|
imports: [CommonModule, WatermarkModule]
|
|
9961
9952
|
}]
|
|
9962
9953
|
}] });
|
|
@@ -10147,8 +10138,8 @@ class StackLayoutComponent {
|
|
|
10147
10138
|
return this.localization.rtl ? 'rtl' : 'ltr';
|
|
10148
10139
|
}
|
|
10149
10140
|
}
|
|
10150
|
-
StackLayoutComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10151
|
-
StackLayoutComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
10141
|
+
StackLayoutComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: StackLayoutComponent, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
10142
|
+
StackLayoutComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: StackLayoutComponent, selector: "kendo-stacklayout", inputs: { align: "align", gap: "gap", orientation: "orientation" }, host: { properties: { "class.k-stack-layout": "this.hostClass", "class.k-hstack": "this.horizontalClass", "class.k-vstack": "this.verticalClass", "attr.dir": "this.dir" } }, providers: [
|
|
10152
10143
|
LocalizationService,
|
|
10153
10144
|
{
|
|
10154
10145
|
provide: L10N_PREFIX,
|
|
@@ -10157,7 +10148,7 @@ StackLayoutComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
10157
10148
|
], exportAs: ["kendoStackLayout"], usesOnChanges: true, ngImport: i0, template: `
|
|
10158
10149
|
<ng-content></ng-content>
|
|
10159
10150
|
`, isInline: true });
|
|
10160
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
10151
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: StackLayoutComponent, decorators: [{
|
|
10161
10152
|
type: Component,
|
|
10162
10153
|
args: [{
|
|
10163
10154
|
exportAs: 'kendoStackLayout',
|
|
@@ -10193,11 +10184,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
10193
10184
|
type: Input
|
|
10194
10185
|
}] } });
|
|
10195
10186
|
|
|
10196
|
-
const exportedModules$
|
|
10187
|
+
const exportedModules$2 = [
|
|
10197
10188
|
StackLayoutComponent
|
|
10198
10189
|
];
|
|
10199
|
-
const declarations$
|
|
10200
|
-
...exportedModules$
|
|
10190
|
+
const declarations$2 = [
|
|
10191
|
+
...exportedModules$2
|
|
10201
10192
|
];
|
|
10202
10193
|
/**
|
|
10203
10194
|
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
@@ -10205,14 +10196,14 @@ const declarations$1 = [
|
|
|
10205
10196
|
*/
|
|
10206
10197
|
class StackLayoutModule {
|
|
10207
10198
|
}
|
|
10208
|
-
StackLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10209
|
-
StackLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
10210
|
-
StackLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
10211
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
10199
|
+
StackLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: StackLayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
10200
|
+
StackLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: StackLayoutModule, declarations: [StackLayoutComponent], imports: [CommonModule], exports: [StackLayoutComponent] });
|
|
10201
|
+
StackLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: StackLayoutModule, imports: [CommonModule] });
|
|
10202
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: StackLayoutModule, decorators: [{
|
|
10212
10203
|
type: NgModule,
|
|
10213
10204
|
args: [{
|
|
10214
|
-
declarations: [declarations$
|
|
10215
|
-
exports: [exportedModules$
|
|
10205
|
+
declarations: [declarations$2],
|
|
10206
|
+
exports: [exportedModules$2],
|
|
10216
10207
|
imports: [CommonModule]
|
|
10217
10208
|
}]
|
|
10218
10209
|
}] });
|
|
@@ -10303,8 +10294,8 @@ class GridLayoutComponent {
|
|
|
10303
10294
|
return this.localization.rtl ? 'rtl' : 'ltr';
|
|
10304
10295
|
}
|
|
10305
10296
|
}
|
|
10306
|
-
GridLayoutComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10307
|
-
GridLayoutComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
10297
|
+
GridLayoutComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: GridLayoutComponent, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
10298
|
+
GridLayoutComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: GridLayoutComponent, selector: "kendo-gridlayout", inputs: { rows: "rows", cols: "cols", gap: "gap", align: "align" }, host: { properties: { "class.k-grid-layout": "this.hostClass", "attr.dir": "this.dir" } }, providers: [
|
|
10308
10299
|
LocalizationService,
|
|
10309
10300
|
{
|
|
10310
10301
|
provide: L10N_PREFIX,
|
|
@@ -10313,7 +10304,7 @@ GridLayoutComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
10313
10304
|
], exportAs: ["kendoGridLayout"], usesOnChanges: true, ngImport: i0, template: `
|
|
10314
10305
|
<ng-content></ng-content>
|
|
10315
10306
|
`, isInline: true });
|
|
10316
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
10307
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: GridLayoutComponent, decorators: [{
|
|
10317
10308
|
type: Component,
|
|
10318
10309
|
args: [{
|
|
10319
10310
|
exportAs: 'kendoGridLayout',
|
|
@@ -10365,11 +10356,11 @@ class GridLayoutItemComponent {
|
|
|
10365
10356
|
this.renderer.setStyle(this.element.nativeElement, 'grid-area', gridAreaStyle);
|
|
10366
10357
|
}
|
|
10367
10358
|
}
|
|
10368
|
-
GridLayoutItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10369
|
-
GridLayoutItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
10359
|
+
GridLayoutItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: GridLayoutItemComponent, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
10360
|
+
GridLayoutItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: GridLayoutItemComponent, selector: "kendo-gridlayout-item", inputs: { row: "row", col: "col", rowSpan: "rowSpan", colSpan: "colSpan" }, usesOnChanges: true, ngImport: i0, template: `
|
|
10370
10361
|
<ng-content></ng-content>
|
|
10371
10362
|
`, isInline: true });
|
|
10372
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
10363
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: GridLayoutItemComponent, decorators: [{
|
|
10373
10364
|
type: Component,
|
|
10374
10365
|
args: [{
|
|
10375
10366
|
selector: 'kendo-gridlayout-item',
|
|
@@ -10387,12 +10378,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
10387
10378
|
type: Input
|
|
10388
10379
|
}] } });
|
|
10389
10380
|
|
|
10390
|
-
const exportedModules = [
|
|
10381
|
+
const exportedModules$1 = [
|
|
10391
10382
|
GridLayoutComponent,
|
|
10392
10383
|
GridLayoutItemComponent
|
|
10393
10384
|
];
|
|
10394
|
-
const declarations = [
|
|
10395
|
-
...exportedModules
|
|
10385
|
+
const declarations$1 = [
|
|
10386
|
+
...exportedModules$1
|
|
10396
10387
|
];
|
|
10397
10388
|
/**
|
|
10398
10389
|
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
@@ -10400,20 +10391,1953 @@ const declarations = [
|
|
|
10400
10391
|
*/
|
|
10401
10392
|
class GridLayoutModule {
|
|
10402
10393
|
}
|
|
10403
|
-
GridLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10404
|
-
GridLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
10394
|
+
GridLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: GridLayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
10395
|
+
GridLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: GridLayoutModule, declarations: [GridLayoutComponent,
|
|
10405
10396
|
GridLayoutItemComponent], imports: [CommonModule], exports: [GridLayoutComponent,
|
|
10406
10397
|
GridLayoutItemComponent] });
|
|
10407
|
-
GridLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
10408
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
10398
|
+
GridLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: GridLayoutModule, imports: [CommonModule] });
|
|
10399
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: GridLayoutModule, decorators: [{
|
|
10409
10400
|
type: NgModule,
|
|
10410
10401
|
args: [{
|
|
10411
|
-
declarations: [declarations],
|
|
10412
|
-
exports: [exportedModules],
|
|
10402
|
+
declarations: [declarations$1],
|
|
10403
|
+
exports: [exportedModules$1],
|
|
10413
10404
|
imports: [CommonModule]
|
|
10414
10405
|
}]
|
|
10415
10406
|
}] });
|
|
10416
10407
|
|
|
10408
|
+
/**
|
|
10409
|
+
* @hidden
|
|
10410
|
+
*/
|
|
10411
|
+
const defaultModelFields = {
|
|
10412
|
+
title: 'title',
|
|
10413
|
+
subtitle: 'subtitle',
|
|
10414
|
+
description: 'description',
|
|
10415
|
+
date: 'date',
|
|
10416
|
+
expanded: 'expanded',
|
|
10417
|
+
images: 'images',
|
|
10418
|
+
actions: 'actions',
|
|
10419
|
+
};
|
|
10420
|
+
|
|
10421
|
+
/**
|
|
10422
|
+
* @hidden
|
|
10423
|
+
*/
|
|
10424
|
+
const processItems = (items, fields) => {
|
|
10425
|
+
return items.map((item) => parseItem(item, fields));
|
|
10426
|
+
};
|
|
10427
|
+
/**
|
|
10428
|
+
* @hidden
|
|
10429
|
+
*/
|
|
10430
|
+
const parseItem = (item, fields) => ({
|
|
10431
|
+
title: item[fields.title] || item.title,
|
|
10432
|
+
date: item[fields.date] || item.date,
|
|
10433
|
+
subtitle: item[fields.subtitle] || item.subtitle,
|
|
10434
|
+
description: item[fields.description] || item.description,
|
|
10435
|
+
expanded: item[fields.expanded] || item.expanded,
|
|
10436
|
+
images: item[fields.images] || item.images,
|
|
10437
|
+
actions: item[fields.actions] || item.actions,
|
|
10438
|
+
});
|
|
10439
|
+
/**
|
|
10440
|
+
* @hidden
|
|
10441
|
+
*/
|
|
10442
|
+
const MAX_VISIBLE_EVENTS = 3;
|
|
10443
|
+
|
|
10444
|
+
/**
|
|
10445
|
+
* @hidden
|
|
10446
|
+
*/
|
|
10447
|
+
class TimelineService {
|
|
10448
|
+
onToggle(event) {
|
|
10449
|
+
var _a;
|
|
10450
|
+
if (this.timeline) {
|
|
10451
|
+
(_a = this.timeline['onToggle']) === null || _a === void 0 ? void 0 : _a.emit(event);
|
|
10452
|
+
}
|
|
10453
|
+
}
|
|
10454
|
+
onActionClick(event) {
|
|
10455
|
+
var _a;
|
|
10456
|
+
if (this.timeline) {
|
|
10457
|
+
(_a = this.timeline['onActionClick']) === null || _a === void 0 ? void 0 : _a.emit(event);
|
|
10458
|
+
}
|
|
10459
|
+
}
|
|
10460
|
+
onNavigate(event) {
|
|
10461
|
+
var _a;
|
|
10462
|
+
if (this.timeline) {
|
|
10463
|
+
(_a = this.timeline['onNavigate']) === null || _a === void 0 ? void 0 : _a.emit(event);
|
|
10464
|
+
}
|
|
10465
|
+
}
|
|
10466
|
+
}
|
|
10467
|
+
TimelineService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimelineService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
10468
|
+
TimelineService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimelineService });
|
|
10469
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimelineService, decorators: [{
|
|
10470
|
+
type: Injectable
|
|
10471
|
+
}] });
|
|
10472
|
+
|
|
10473
|
+
/**
|
|
10474
|
+
* @hidden
|
|
10475
|
+
*/
|
|
10476
|
+
class TimelineCardComponent {
|
|
10477
|
+
constructor(element, timelineService, renderer) {
|
|
10478
|
+
this.element = element;
|
|
10479
|
+
this.timelineService = timelineService;
|
|
10480
|
+
this.renderer = renderer;
|
|
10481
|
+
this.expanded = false;
|
|
10482
|
+
this.collapsible = true;
|
|
10483
|
+
this.reversed = false;
|
|
10484
|
+
this.hostClass = true;
|
|
10485
|
+
this.calloutSvgIcon = chevronRightIcon;
|
|
10486
|
+
this.calloutFontIcon = 'arrow-chevron-right';
|
|
10487
|
+
this.animationState = this.expanded ? 'expanded' : 'collapsed';
|
|
10488
|
+
this.animationInProgress = false;
|
|
10489
|
+
}
|
|
10490
|
+
set calloutStyle(value) {
|
|
10491
|
+
// applies only to horizontal orientation where the callout points upwards
|
|
10492
|
+
if (!this.calloutElementRef || !this.calloutElementRef.nativeElement.classList.contains('k-callout-n')) {
|
|
10493
|
+
return;
|
|
10494
|
+
}
|
|
10495
|
+
this.calloutElementRef.nativeElement.style.left = value === null || value === void 0 ? void 0 : value.left;
|
|
10496
|
+
}
|
|
10497
|
+
get collapsedClass() {
|
|
10498
|
+
return !this.expanded && !this.animationInProgress && this.animationState === 'collapsed';
|
|
10499
|
+
}
|
|
10500
|
+
onComponentKeyDown(event) {
|
|
10501
|
+
if (!this.navigable) {
|
|
10502
|
+
return;
|
|
10503
|
+
}
|
|
10504
|
+
if (event.keyCode === Keys.Space || event.keyCode === Keys.Enter) {
|
|
10505
|
+
event.preventDefault();
|
|
10506
|
+
if (this.collapsible && this.orientation === 'vertical') {
|
|
10507
|
+
this.expanded = !this.expanded;
|
|
10508
|
+
}
|
|
10509
|
+
}
|
|
10510
|
+
}
|
|
10511
|
+
get role() {
|
|
10512
|
+
return this.orientation === 'vertical' ? 'button' : 'tabpanel';
|
|
10513
|
+
}
|
|
10514
|
+
get ariaLive() {
|
|
10515
|
+
return this.orientation === 'vertical' ? 'polite' : null;
|
|
10516
|
+
}
|
|
10517
|
+
get ariaExpanded() {
|
|
10518
|
+
return this.orientation === 'vertical' ? this.expanded : null;
|
|
10519
|
+
}
|
|
10520
|
+
ngAfterViewInit() {
|
|
10521
|
+
this.makeOverflowVisible();
|
|
10522
|
+
}
|
|
10523
|
+
ngOnChanges(changes) {
|
|
10524
|
+
if (isChanged('collapsible', changes, false)) {
|
|
10525
|
+
if (!this.collapsible) {
|
|
10526
|
+
this.expanded = true;
|
|
10527
|
+
}
|
|
10528
|
+
}
|
|
10529
|
+
}
|
|
10530
|
+
toggle() {
|
|
10531
|
+
if (this.orientation === 'vertical') {
|
|
10532
|
+
this.expanded = this.collapsible ? !this.expanded : true;
|
|
10533
|
+
this.timelineService.onToggle(this.index);
|
|
10534
|
+
}
|
|
10535
|
+
}
|
|
10536
|
+
expand() {
|
|
10537
|
+
if (!this.expanded) {
|
|
10538
|
+
this.expanded = true;
|
|
10539
|
+
this.timelineService.onToggle(this.index);
|
|
10540
|
+
}
|
|
10541
|
+
}
|
|
10542
|
+
collapse() {
|
|
10543
|
+
if (!this.collapsible || !this.expanded) {
|
|
10544
|
+
return;
|
|
10545
|
+
}
|
|
10546
|
+
this.expanded = false;
|
|
10547
|
+
this.timelineService.onToggle(this.index);
|
|
10548
|
+
}
|
|
10549
|
+
onActionClick(event) {
|
|
10550
|
+
event.stopPropagation();
|
|
10551
|
+
this.timelineService.onActionClick(this.index);
|
|
10552
|
+
}
|
|
10553
|
+
animationStart() {
|
|
10554
|
+
this.animationInProgress = true;
|
|
10555
|
+
}
|
|
10556
|
+
animationDone(event) {
|
|
10557
|
+
this.animationInProgress = false;
|
|
10558
|
+
if (event.toState === 'expanded' && event.fromState !== 'expanded') {
|
|
10559
|
+
this.animationState = 'expanded';
|
|
10560
|
+
this.makeOverflowVisible();
|
|
10561
|
+
}
|
|
10562
|
+
else if (event.toState === 'collapsed' && event.fromState !== 'collapsed') {
|
|
10563
|
+
this.animationState = 'collapsed';
|
|
10564
|
+
}
|
|
10565
|
+
}
|
|
10566
|
+
makeOverflowVisible() {
|
|
10567
|
+
var _a;
|
|
10568
|
+
if (this.orientation === 'vertical') {
|
|
10569
|
+
return;
|
|
10570
|
+
}
|
|
10571
|
+
const cardBody = (_a = this.element) === null || _a === void 0 ? void 0 : _a.nativeElement.querySelector('.k-card-body');
|
|
10572
|
+
if (cardBody) {
|
|
10573
|
+
this.renderer.setStyle(cardBody, 'overflow', 'auto');
|
|
10574
|
+
}
|
|
10575
|
+
}
|
|
10576
|
+
}
|
|
10577
|
+
TimelineCardComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimelineCardComponent, deps: [{ token: i0.ElementRef }, { token: TimelineService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
10578
|
+
TimelineCardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TimelineCardComponent, selector: "kendo-timeline-card", inputs: { event: "event", expanded: "expanded", collapsible: "collapsible", reversed: "reversed", orientation: "orientation", navigable: "navigable", tabIndex: "tabIndex", animationDuration: "animationDuration", index: "index", eventWidth: "eventWidth", eventHeight: "eventHeight", headerTemplate: "headerTemplate", bodyTemplate: "bodyTemplate", actionsTemplate: "actionsTemplate", calloutStyle: "calloutStyle" }, host: { listeners: { "keydown": "onComponentKeyDown($event)" }, properties: { "class.k-timeline-card": "this.hostClass", "class.k-collapsed": "this.collapsedClass" } }, providers: [], viewQueries: [{ propertyName: "calloutElementRef", first: true, predicate: ["callout"], descendants: true }], exportAs: ["kendoTimelineCard"], usesOnChanges: true, ngImport: i0, template: `
|
|
10579
|
+
<kendo-card
|
|
10580
|
+
[ngStyle]="{ 'height': orientation === 'horizontal' ? eventHeight + 'px' : null }"
|
|
10581
|
+
[width]="orientation === 'horizontal' ? 'auto' : eventWidth + 'px'"
|
|
10582
|
+
class="k-card-with-callout k-card-vertical"
|
|
10583
|
+
(click)="toggle()"
|
|
10584
|
+
[attr.role]="role"
|
|
10585
|
+
[attr.aria-live]="ariaLive"
|
|
10586
|
+
[attr.aria-expanded]="ariaExpanded"
|
|
10587
|
+
[attr.tabindex]="tabIndex"
|
|
10588
|
+
>
|
|
10589
|
+
<span
|
|
10590
|
+
#callout
|
|
10591
|
+
class="k-timeline-card-callout k-card-callout"
|
|
10592
|
+
[ngClass]="{
|
|
10593
|
+
'k-callout-n': orientation === 'horizontal',
|
|
10594
|
+
'k-callout-w': orientation === 'vertical' && !this.reversed,
|
|
10595
|
+
'k-callout-e': orientation === 'vertical' && this.reversed
|
|
10596
|
+
}"
|
|
10597
|
+
>
|
|
10598
|
+
</span>
|
|
10599
|
+
<div *ngIf="event" class="k-card-inner">
|
|
10600
|
+
<kendo-card-header>
|
|
10601
|
+
<ng-template
|
|
10602
|
+
*ngIf="headerTemplate"
|
|
10603
|
+
[ngTemplateOutlet]="headerTemplate?.templateRef"
|
|
10604
|
+
[ngTemplateOutletContext]="{ $implicit: event, index: index}">
|
|
10605
|
+
>
|
|
10606
|
+
</ng-template>
|
|
10607
|
+
|
|
10608
|
+
<div kendoCardTitle *ngIf="!headerTemplate">
|
|
10609
|
+
<span class="k-event-title">{{ event.title }}</span>
|
|
10610
|
+
<button
|
|
10611
|
+
kendoButton
|
|
10612
|
+
*ngIf="collapsible && orientation === 'vertical'"
|
|
10613
|
+
[icon]="calloutFontIcon"
|
|
10614
|
+
[svgIcon]="calloutSvgIcon"
|
|
10615
|
+
class="k-event-collapse"
|
|
10616
|
+
fillMode="flat"
|
|
10617
|
+
[attr.aria-hidden]="true"
|
|
10618
|
+
tabindex="-1"
|
|
10619
|
+
type="button"
|
|
10620
|
+
></button>
|
|
10621
|
+
</div>
|
|
10622
|
+
<div kendoCardSubtitle *ngIf="!headerTemplate">{{ event.subtitle }}</div>
|
|
10623
|
+
</kendo-card-header>
|
|
10624
|
+
|
|
10625
|
+
<kendo-card-body
|
|
10626
|
+
*ngIf="event.description || event.images"
|
|
10627
|
+
[@toggle]="{value: expanded ? 'expanded' : 'collapsed', params: {animationDuration: this.animationDuration || 0}}"
|
|
10628
|
+
(@toggle.start)="animationStart()"
|
|
10629
|
+
(@toggle.done)="animationDone($event)"
|
|
10630
|
+
>
|
|
10631
|
+
<ng-template
|
|
10632
|
+
*ngIf="bodyTemplate"
|
|
10633
|
+
[ngTemplateOutlet]="bodyTemplate?.templateRef"
|
|
10634
|
+
[ngTemplateOutletContext]="{ $implicit: event, index: index}">
|
|
10635
|
+
>
|
|
10636
|
+
</ng-template>
|
|
10637
|
+
|
|
10638
|
+
<div *ngIf="!bodyTemplate" class="k-card-description">
|
|
10639
|
+
<p *ngIf="event.description">{{ event.description }}</p>
|
|
10640
|
+
<ng-container *ngFor="let image of event.images">
|
|
10641
|
+
<img *ngIf="image.alt" kendoCardMedia [src]="image.src" [alt]="image.alt" />
|
|
10642
|
+
<img *ngIf="!image.alt" kendoCardMedia [src]="image.src" />
|
|
10643
|
+
</ng-container>
|
|
10644
|
+
</div>
|
|
10645
|
+
</kendo-card-body>
|
|
10646
|
+
|
|
10647
|
+
<kendo-card-actions
|
|
10648
|
+
*ngIf="event.actions"
|
|
10649
|
+
[@toggle]="{value: expanded ? 'expanded' : 'collapsed', params: {animationDuration: this.animationDuration || 0}}"
|
|
10650
|
+
>
|
|
10651
|
+
<ng-template
|
|
10652
|
+
*ngIf="actionsTemplate"
|
|
10653
|
+
[ngTemplateOutlet]="actionsTemplate?.templateRef"
|
|
10654
|
+
[ngTemplateOutletContext]="{ $implicit: event, index: index}">
|
|
10655
|
+
>
|
|
10656
|
+
</ng-template>
|
|
10657
|
+
|
|
10658
|
+
<ng-container *ngIf="!actionsTemplate">
|
|
10659
|
+
<a *ngFor="let action of event.actions"
|
|
10660
|
+
[href]="action.url"
|
|
10661
|
+
[target]="action.target === 'blank' ? '_blank' : '_self'"
|
|
10662
|
+
(click)="onActionClick($event)"
|
|
10663
|
+
class="k-button k-button-md k-rounded-md k-button-flat k-button-flat-primary"
|
|
10664
|
+
role="button"
|
|
10665
|
+
>
|
|
10666
|
+
{{ action.text }}
|
|
10667
|
+
</a>
|
|
10668
|
+
</ng-container>
|
|
10669
|
+
</kendo-card-actions>
|
|
10670
|
+
</div>
|
|
10671
|
+
</kendo-card>
|
|
10672
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: CardComponent, selector: "kendo-card", inputs: ["orientation", "width"] }, { kind: "component", type: CardHeaderComponent, selector: "kendo-card-header" }, { kind: "component", type: CardBodyComponent, selector: "kendo-card-body" }, { kind: "component", type: CardActionsComponent, selector: "kendo-card-actions", inputs: ["orientation", "layout", "actions"], outputs: ["action"] }, { kind: "directive", type: CardTitleDirective, selector: "[kendoCardTitle]" }, { kind: "directive", type: CardSubtitleDirective, selector: "[kendoCardSubtitle]" }, { kind: "directive", type: CardMediaDirective, selector: "[kendoCardMedia]" }, { kind: "component", type: i3$1.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"] }], animations: [
|
|
10673
|
+
trigger('toggle', [
|
|
10674
|
+
state('collapsed', style({
|
|
10675
|
+
height: '0',
|
|
10676
|
+
'overflow-y': 'hidden',
|
|
10677
|
+
display: 'none'
|
|
10678
|
+
})),
|
|
10679
|
+
state('expanded', style({
|
|
10680
|
+
height: '*',
|
|
10681
|
+
'overflow-y': 'hidden',
|
|
10682
|
+
display: 'block'
|
|
10683
|
+
})),
|
|
10684
|
+
transition('collapsed <=> expanded', [
|
|
10685
|
+
animate('{{animationDuration}}ms')
|
|
10686
|
+
], { params: { animationDuration: '400' } }),
|
|
10687
|
+
])
|
|
10688
|
+
] });
|
|
10689
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimelineCardComponent, decorators: [{
|
|
10690
|
+
type: Component,
|
|
10691
|
+
args: [{
|
|
10692
|
+
animations: [
|
|
10693
|
+
trigger('toggle', [
|
|
10694
|
+
state('collapsed', style({
|
|
10695
|
+
height: '0',
|
|
10696
|
+
'overflow-y': 'hidden',
|
|
10697
|
+
display: 'none'
|
|
10698
|
+
})),
|
|
10699
|
+
state('expanded', style({
|
|
10700
|
+
height: '*',
|
|
10701
|
+
'overflow-y': 'hidden',
|
|
10702
|
+
display: 'block'
|
|
10703
|
+
})),
|
|
10704
|
+
transition('collapsed <=> expanded', [
|
|
10705
|
+
animate('{{animationDuration}}ms')
|
|
10706
|
+
], { params: { animationDuration: '400' } }),
|
|
10707
|
+
])
|
|
10708
|
+
],
|
|
10709
|
+
providers: [],
|
|
10710
|
+
exportAs: 'kendoTimelineCard',
|
|
10711
|
+
selector: 'kendo-timeline-card',
|
|
10712
|
+
template: `
|
|
10713
|
+
<kendo-card
|
|
10714
|
+
[ngStyle]="{ 'height': orientation === 'horizontal' ? eventHeight + 'px' : null }"
|
|
10715
|
+
[width]="orientation === 'horizontal' ? 'auto' : eventWidth + 'px'"
|
|
10716
|
+
class="k-card-with-callout k-card-vertical"
|
|
10717
|
+
(click)="toggle()"
|
|
10718
|
+
[attr.role]="role"
|
|
10719
|
+
[attr.aria-live]="ariaLive"
|
|
10720
|
+
[attr.aria-expanded]="ariaExpanded"
|
|
10721
|
+
[attr.tabindex]="tabIndex"
|
|
10722
|
+
>
|
|
10723
|
+
<span
|
|
10724
|
+
#callout
|
|
10725
|
+
class="k-timeline-card-callout k-card-callout"
|
|
10726
|
+
[ngClass]="{
|
|
10727
|
+
'k-callout-n': orientation === 'horizontal',
|
|
10728
|
+
'k-callout-w': orientation === 'vertical' && !this.reversed,
|
|
10729
|
+
'k-callout-e': orientation === 'vertical' && this.reversed
|
|
10730
|
+
}"
|
|
10731
|
+
>
|
|
10732
|
+
</span>
|
|
10733
|
+
<div *ngIf="event" class="k-card-inner">
|
|
10734
|
+
<kendo-card-header>
|
|
10735
|
+
<ng-template
|
|
10736
|
+
*ngIf="headerTemplate"
|
|
10737
|
+
[ngTemplateOutlet]="headerTemplate?.templateRef"
|
|
10738
|
+
[ngTemplateOutletContext]="{ $implicit: event, index: index}">
|
|
10739
|
+
>
|
|
10740
|
+
</ng-template>
|
|
10741
|
+
|
|
10742
|
+
<div kendoCardTitle *ngIf="!headerTemplate">
|
|
10743
|
+
<span class="k-event-title">{{ event.title }}</span>
|
|
10744
|
+
<button
|
|
10745
|
+
kendoButton
|
|
10746
|
+
*ngIf="collapsible && orientation === 'vertical'"
|
|
10747
|
+
[icon]="calloutFontIcon"
|
|
10748
|
+
[svgIcon]="calloutSvgIcon"
|
|
10749
|
+
class="k-event-collapse"
|
|
10750
|
+
fillMode="flat"
|
|
10751
|
+
[attr.aria-hidden]="true"
|
|
10752
|
+
tabindex="-1"
|
|
10753
|
+
type="button"
|
|
10754
|
+
></button>
|
|
10755
|
+
</div>
|
|
10756
|
+
<div kendoCardSubtitle *ngIf="!headerTemplate">{{ event.subtitle }}</div>
|
|
10757
|
+
</kendo-card-header>
|
|
10758
|
+
|
|
10759
|
+
<kendo-card-body
|
|
10760
|
+
*ngIf="event.description || event.images"
|
|
10761
|
+
[@toggle]="{value: expanded ? 'expanded' : 'collapsed', params: {animationDuration: this.animationDuration || 0}}"
|
|
10762
|
+
(@toggle.start)="animationStart()"
|
|
10763
|
+
(@toggle.done)="animationDone($event)"
|
|
10764
|
+
>
|
|
10765
|
+
<ng-template
|
|
10766
|
+
*ngIf="bodyTemplate"
|
|
10767
|
+
[ngTemplateOutlet]="bodyTemplate?.templateRef"
|
|
10768
|
+
[ngTemplateOutletContext]="{ $implicit: event, index: index}">
|
|
10769
|
+
>
|
|
10770
|
+
</ng-template>
|
|
10771
|
+
|
|
10772
|
+
<div *ngIf="!bodyTemplate" class="k-card-description">
|
|
10773
|
+
<p *ngIf="event.description">{{ event.description }}</p>
|
|
10774
|
+
<ng-container *ngFor="let image of event.images">
|
|
10775
|
+
<img *ngIf="image.alt" kendoCardMedia [src]="image.src" [alt]="image.alt" />
|
|
10776
|
+
<img *ngIf="!image.alt" kendoCardMedia [src]="image.src" />
|
|
10777
|
+
</ng-container>
|
|
10778
|
+
</div>
|
|
10779
|
+
</kendo-card-body>
|
|
10780
|
+
|
|
10781
|
+
<kendo-card-actions
|
|
10782
|
+
*ngIf="event.actions"
|
|
10783
|
+
[@toggle]="{value: expanded ? 'expanded' : 'collapsed', params: {animationDuration: this.animationDuration || 0}}"
|
|
10784
|
+
>
|
|
10785
|
+
<ng-template
|
|
10786
|
+
*ngIf="actionsTemplate"
|
|
10787
|
+
[ngTemplateOutlet]="actionsTemplate?.templateRef"
|
|
10788
|
+
[ngTemplateOutletContext]="{ $implicit: event, index: index}">
|
|
10789
|
+
>
|
|
10790
|
+
</ng-template>
|
|
10791
|
+
|
|
10792
|
+
<ng-container *ngIf="!actionsTemplate">
|
|
10793
|
+
<a *ngFor="let action of event.actions"
|
|
10794
|
+
[href]="action.url"
|
|
10795
|
+
[target]="action.target === 'blank' ? '_blank' : '_self'"
|
|
10796
|
+
(click)="onActionClick($event)"
|
|
10797
|
+
class="k-button k-button-md k-rounded-md k-button-flat k-button-flat-primary"
|
|
10798
|
+
role="button"
|
|
10799
|
+
>
|
|
10800
|
+
{{ action.text }}
|
|
10801
|
+
</a>
|
|
10802
|
+
</ng-container>
|
|
10803
|
+
</kendo-card-actions>
|
|
10804
|
+
</div>
|
|
10805
|
+
</kendo-card>
|
|
10806
|
+
`,
|
|
10807
|
+
}]
|
|
10808
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: TimelineService }, { type: i0.Renderer2 }]; }, propDecorators: { event: [{
|
|
10809
|
+
type: Input
|
|
10810
|
+
}], expanded: [{
|
|
10811
|
+
type: Input
|
|
10812
|
+
}], collapsible: [{
|
|
10813
|
+
type: Input
|
|
10814
|
+
}], reversed: [{
|
|
10815
|
+
type: Input
|
|
10816
|
+
}], orientation: [{
|
|
10817
|
+
type: Input
|
|
10818
|
+
}], navigable: [{
|
|
10819
|
+
type: Input
|
|
10820
|
+
}], tabIndex: [{
|
|
10821
|
+
type: Input
|
|
10822
|
+
}], animationDuration: [{
|
|
10823
|
+
type: Input
|
|
10824
|
+
}], index: [{
|
|
10825
|
+
type: Input
|
|
10826
|
+
}], eventWidth: [{
|
|
10827
|
+
type: Input
|
|
10828
|
+
}], eventHeight: [{
|
|
10829
|
+
type: Input
|
|
10830
|
+
}], headerTemplate: [{
|
|
10831
|
+
type: Input
|
|
10832
|
+
}], bodyTemplate: [{
|
|
10833
|
+
type: Input
|
|
10834
|
+
}], actionsTemplate: [{
|
|
10835
|
+
type: Input
|
|
10836
|
+
}], calloutStyle: [{
|
|
10837
|
+
type: Input
|
|
10838
|
+
}], calloutElementRef: [{
|
|
10839
|
+
type: ViewChild,
|
|
10840
|
+
args: ['callout']
|
|
10841
|
+
}], hostClass: [{
|
|
10842
|
+
type: HostBinding,
|
|
10843
|
+
args: ['class.k-timeline-card']
|
|
10844
|
+
}], collapsedClass: [{
|
|
10845
|
+
type: HostBinding,
|
|
10846
|
+
args: ['class.k-collapsed']
|
|
10847
|
+
}], onComponentKeyDown: [{
|
|
10848
|
+
type: HostListener,
|
|
10849
|
+
args: ['keydown', ['$event']]
|
|
10850
|
+
}] } });
|
|
10851
|
+
|
|
10852
|
+
const DEFAULT_TAB_WIDTH = 200;
|
|
10853
|
+
const SPACE_BETWEEN_TABS = 25;
|
|
10854
|
+
const TRANSITION_EVENTS_COUNT = 3;
|
|
10855
|
+
/**
|
|
10856
|
+
* @hidden
|
|
10857
|
+
*/
|
|
10858
|
+
class TimelineHorizontalComponent {
|
|
10859
|
+
constructor(cdr, _zone, renderer, timelineService, localization) {
|
|
10860
|
+
this.cdr = cdr;
|
|
10861
|
+
this._zone = _zone;
|
|
10862
|
+
this.renderer = renderer;
|
|
10863
|
+
this.timelineService = timelineService;
|
|
10864
|
+
this.localization = localization;
|
|
10865
|
+
this.events = [];
|
|
10866
|
+
this.svgLeftIcon = caretAltLeftIcon;
|
|
10867
|
+
this.svgRightIcon = caretAltRightIcon;
|
|
10868
|
+
this.animationState = 'center';
|
|
10869
|
+
this.translateValue = 0;
|
|
10870
|
+
this.eventsInInterval = [0, 1, 2];
|
|
10871
|
+
this.selectedCardIndex = 0;
|
|
10872
|
+
this.tabWidth = DEFAULT_TAB_WIDTH;
|
|
10873
|
+
this.firstCircleInView = 0;
|
|
10874
|
+
this.visibleEvents = [];
|
|
10875
|
+
this.trackItems = [];
|
|
10876
|
+
this.previousTitle = 'previous';
|
|
10877
|
+
this.nextTitle = 'next';
|
|
10878
|
+
this.subscriptions = new Subscription();
|
|
10879
|
+
}
|
|
10880
|
+
get selectedEvent() {
|
|
10881
|
+
return this._selectedEvent;
|
|
10882
|
+
}
|
|
10883
|
+
set selectedEvent(value) {
|
|
10884
|
+
if (this._selectedEvent === value) {
|
|
10885
|
+
return;
|
|
10886
|
+
}
|
|
10887
|
+
const newSelectedIndex = this.events.findIndex(event => event === value);
|
|
10888
|
+
if (newSelectedIndex === -1 && value !== null) {
|
|
10889
|
+
return;
|
|
10890
|
+
}
|
|
10891
|
+
this._selectedEvent = value;
|
|
10892
|
+
this.selectedEventIndex = newSelectedIndex;
|
|
10893
|
+
this.calloutStyle = this.calloutOffset;
|
|
10894
|
+
}
|
|
10895
|
+
ngOnInit() {
|
|
10896
|
+
this._zone.runOutsideAngular(() => this.subscriptions.add(fromEvent(window, 'resize').subscribe(this.handleWindowResize.bind(this))));
|
|
10897
|
+
this.l10nChange();
|
|
10898
|
+
this.subscriptions.add(this.localization.changes.subscribe(this.l10nChange.bind(this)));
|
|
10899
|
+
if (this.events.length > 0) {
|
|
10900
|
+
this.selectedEvent = this.events[0];
|
|
10901
|
+
}
|
|
10902
|
+
this.events.forEach(event => {
|
|
10903
|
+
if (event.flag) {
|
|
10904
|
+
this.trackItems.push({ isFlag: event.flag });
|
|
10905
|
+
}
|
|
10906
|
+
this.trackItems.push(event);
|
|
10907
|
+
});
|
|
10908
|
+
}
|
|
10909
|
+
ngAfterViewInit() {
|
|
10910
|
+
this.subscriptions.add(this.renderer.listen(this.trackElementRef.nativeElement, 'keydown', this.onKeyDown.bind(this)));
|
|
10911
|
+
this.trackWrapWidth = this.trackElementRef.nativeElement.getBoundingClientRect().width;
|
|
10912
|
+
this.scrollableTrackWidth = this.scrollableTrackElementRef.nativeElement.getBoundingClientRect().width;
|
|
10913
|
+
this._zone.runOutsideAngular(() => {
|
|
10914
|
+
this.onCirclesChange();
|
|
10915
|
+
this.subscriptions.add(this.circleElementRefs.changes.subscribe(this.onCirclesChange.bind(this)));
|
|
10916
|
+
this.subscriptions.add(this.cardElementRefs.changes.subscribe(this.onCardsChange.bind(this)));
|
|
10917
|
+
});
|
|
10918
|
+
if (this.events.length === 0) {
|
|
10919
|
+
return;
|
|
10920
|
+
}
|
|
10921
|
+
this.onCardsChange();
|
|
10922
|
+
if (this.cardComponents.get(this.selectedCardIndex)) {
|
|
10923
|
+
this.cardComponents.get(this.selectedCardIndex).calloutStyle = this.calloutOffset;
|
|
10924
|
+
this.focusTrackItem(0);
|
|
10925
|
+
}
|
|
10926
|
+
}
|
|
10927
|
+
ngOnChanges(changes) {
|
|
10928
|
+
if (isChanged('events', changes)) {
|
|
10929
|
+
if (!this.events || this.events.length === 0) {
|
|
10930
|
+
this.selectedEvent = null;
|
|
10931
|
+
this.trackItems = [];
|
|
10932
|
+
this.visibleEvents = [];
|
|
10933
|
+
}
|
|
10934
|
+
else {
|
|
10935
|
+
this.trackItems = [];
|
|
10936
|
+
this.events.forEach(event => {
|
|
10937
|
+
if (event.flag) {
|
|
10938
|
+
this.trackItems.push({ isFlag: event.flag });
|
|
10939
|
+
}
|
|
10940
|
+
this.trackItems.push(event);
|
|
10941
|
+
});
|
|
10942
|
+
this.visibleEvents = this.trackItems
|
|
10943
|
+
.slice(this.firstCircleInView, this.firstCircleInView + this.visibleTabsCount)
|
|
10944
|
+
.filter(event => !event.isFlag);
|
|
10945
|
+
this.selectedEvent = this.events[0];
|
|
10946
|
+
this.cdr.detectChanges();
|
|
10947
|
+
this.calloutStyle = this.calloutOffset;
|
|
10948
|
+
this.focusTrackItem(0);
|
|
10949
|
+
}
|
|
10950
|
+
}
|
|
10951
|
+
}
|
|
10952
|
+
ngOnDestroy() {
|
|
10953
|
+
this.subscriptions.unsubscribe();
|
|
10954
|
+
}
|
|
10955
|
+
handleWindowResize() {
|
|
10956
|
+
if (this.trackWrapWidth === this.trackElementRef.nativeElement.getBoundingClientRect().width) {
|
|
10957
|
+
return;
|
|
10958
|
+
}
|
|
10959
|
+
this.cardWidth = this.cardComponents.get(this.selectedCardIndex).element.nativeElement.offsetWidth;
|
|
10960
|
+
this.transformCards();
|
|
10961
|
+
this.trackWrapWidth = this.trackElementRef.nativeElement.getBoundingClientRect().width;
|
|
10962
|
+
this.scrollableTrackWidth = this.scrollableTrackElementRef.nativeElement.getBoundingClientRect().width;
|
|
10963
|
+
this.changeTabsCount();
|
|
10964
|
+
this._zone.run(() => {
|
|
10965
|
+
this.cardComponents.get(this.selectedCardIndex).calloutStyle = this.calloutOffset;
|
|
10966
|
+
});
|
|
10967
|
+
}
|
|
10968
|
+
onTransitionEnd() {
|
|
10969
|
+
var _a;
|
|
10970
|
+
(_a = this.cardElementRefs) === null || _a === void 0 ? void 0 : _a.forEach(card => this.renderer.removeStyle(card.nativeElement, 'transition-duration'));
|
|
10971
|
+
this.cardComponents.get(this.selectedCardIndex).event = this.selectedEvent;
|
|
10972
|
+
this.calloutStyle = this.calloutOffset;
|
|
10973
|
+
}
|
|
10974
|
+
onTrackTransitionEnd() {
|
|
10975
|
+
this.calloutStyle = this.calloutOffset;
|
|
10976
|
+
}
|
|
10977
|
+
onSlideDone() {
|
|
10978
|
+
this.calloutStyle = this.calloutOffset;
|
|
10979
|
+
}
|
|
10980
|
+
previous() {
|
|
10981
|
+
if (this.firstCircleInView === 0) {
|
|
10982
|
+
return;
|
|
10983
|
+
}
|
|
10984
|
+
this.updateInterval(false);
|
|
10985
|
+
}
|
|
10986
|
+
previousClick() {
|
|
10987
|
+
this.previous();
|
|
10988
|
+
this.timelineService.onNavigate('previous');
|
|
10989
|
+
}
|
|
10990
|
+
next() {
|
|
10991
|
+
if (!this.visibleTabsCount || this.firstCircleInView + this.visibleTabsCount > this.trackItems.length) {
|
|
10992
|
+
return;
|
|
10993
|
+
}
|
|
10994
|
+
this.updateInterval(true);
|
|
10995
|
+
}
|
|
10996
|
+
nextClick() {
|
|
10997
|
+
this.next();
|
|
10998
|
+
this.timelineService.onNavigate('next');
|
|
10999
|
+
}
|
|
11000
|
+
open(index) {
|
|
11001
|
+
if (index < 0 || index >= this.events.length) {
|
|
11002
|
+
return;
|
|
11003
|
+
}
|
|
11004
|
+
if (this.visibleEvents.findIndex(event => event === this.events[index]) === -1) {
|
|
11005
|
+
// determine the start and end of the interval that the event belongs to, regardless of its position in the interval
|
|
11006
|
+
const trackItemIndex = this.trackItems.findIndex(event => event === this.events[index]);
|
|
11007
|
+
const start = Math.floor(trackItemIndex / this.visibleTabsCount) * this.visibleTabsCount;
|
|
11008
|
+
this.navigateToInterval(start, index);
|
|
11009
|
+
}
|
|
11010
|
+
this.selectedEvent = this.events[index];
|
|
11011
|
+
this.selectedCardIndex = this.getOtherSelectedCardIndex(index > this.selectedEventIndex);
|
|
11012
|
+
this.calloutStyle = this.calloutOffset;
|
|
11013
|
+
this.focusTrackItem(this.selectedEventIndex);
|
|
11014
|
+
this.animateCards();
|
|
11015
|
+
}
|
|
11016
|
+
navigateToEvent(index) {
|
|
11017
|
+
const eventIndex = this.events.findIndex(event => event === this.trackItems[index]);
|
|
11018
|
+
if (this.selectedEventIndex === eventIndex) {
|
|
11019
|
+
return;
|
|
11020
|
+
}
|
|
11021
|
+
this.selectedEvent = this.events[eventIndex];
|
|
11022
|
+
this.selectedCardIndex = this.getOtherSelectedCardIndex(index > eventIndex);
|
|
11023
|
+
this.calloutStyle = this.calloutOffset;
|
|
11024
|
+
this.animateCards();
|
|
11025
|
+
}
|
|
11026
|
+
getOtherSelectedCardIndex(forward) {
|
|
11027
|
+
// change the selected card which changes all cards' transform styles
|
|
11028
|
+
if (forward) {
|
|
11029
|
+
return this.selectedCardIndex === 0 ? TRANSITION_EVENTS_COUNT - 1 : this.selectedCardIndex - 1;
|
|
11030
|
+
}
|
|
11031
|
+
return this.selectedCardIndex === TRANSITION_EVENTS_COUNT - 1 ? 0 : this.selectedCardIndex + 1;
|
|
11032
|
+
}
|
|
11033
|
+
tabStyle() {
|
|
11034
|
+
if (!this.tabFlex) {
|
|
11035
|
+
return {};
|
|
11036
|
+
}
|
|
11037
|
+
return { 'flex': `1 0 ${this.tabFlex}%` };
|
|
11038
|
+
}
|
|
11039
|
+
getTransformation(width, position) {
|
|
11040
|
+
if (position === this.selectedCardIndex - 1 || position === this.selectedCardIndex + 2) {
|
|
11041
|
+
return `translate3d(${-width}px, 0, 0)`;
|
|
11042
|
+
}
|
|
11043
|
+
if (position === this.selectedCardIndex + 1 || position === this.selectedCardIndex - 2) {
|
|
11044
|
+
return `translate3d(${width}px, 0, 0)`;
|
|
11045
|
+
}
|
|
11046
|
+
return `translate3d(0, 0, 0)`;
|
|
11047
|
+
}
|
|
11048
|
+
getState(position) {
|
|
11049
|
+
if (position === this.selectedCardIndex) {
|
|
11050
|
+
return 'center';
|
|
11051
|
+
}
|
|
11052
|
+
if (position === this.selectedCardIndex - 1 || position === this.selectedCardIndex + 2) {
|
|
11053
|
+
return 'left';
|
|
11054
|
+
}
|
|
11055
|
+
return 'right';
|
|
11056
|
+
}
|
|
11057
|
+
get calloutOffset() {
|
|
11058
|
+
var _a;
|
|
11059
|
+
if (!((_a = this.circleElementRefs) === null || _a === void 0 ? void 0 : _a.first) || !this.trackElementRef || !isPresent$1(this.selectedEventIndex)) {
|
|
11060
|
+
return {};
|
|
11061
|
+
}
|
|
11062
|
+
const circleCenter = this.circleElementRefs.get(this.selectedEventIndex).nativeElement.getBoundingClientRect().left +
|
|
11063
|
+
this.circleElementRefs.get(this.selectedEventIndex).nativeElement.offsetWidth / 2;
|
|
11064
|
+
const trackOffset = this.trackElementRef.nativeElement.getBoundingClientRect().left;
|
|
11065
|
+
return { left: `${circleCenter - trackOffset}px` };
|
|
11066
|
+
}
|
|
11067
|
+
get isFirstRange() {
|
|
11068
|
+
return this.firstCircleInView === 0;
|
|
11069
|
+
}
|
|
11070
|
+
get isLastRange() {
|
|
11071
|
+
var _a, _b;
|
|
11072
|
+
if (!((_a = this.circleElementRefs) === null || _a === void 0 ? void 0 : _a.first) && !((_b = this.flagElementRefs) === null || _b === void 0 ? void 0 : _b.first)) {
|
|
11073
|
+
return false;
|
|
11074
|
+
}
|
|
11075
|
+
return this.trackItems.length === 0 ||
|
|
11076
|
+
this.firstCircleInView + this.visibleTabsCount >= this.trackItems.length;
|
|
11077
|
+
}
|
|
11078
|
+
onCardsChange() {
|
|
11079
|
+
var _a;
|
|
11080
|
+
if ((_a = this.cardElementRefs) === null || _a === void 0 ? void 0 : _a.get(this.selectedCardIndex)) {
|
|
11081
|
+
this.cardWidth = this.cardElementRefs.get(this.selectedCardIndex).nativeElement.offsetWidth;
|
|
11082
|
+
this.transformCards();
|
|
11083
|
+
}
|
|
11084
|
+
}
|
|
11085
|
+
onCirclesChange() {
|
|
11086
|
+
var _a;
|
|
11087
|
+
if (!((_a = this.circleElementRefs) === null || _a === void 0 ? void 0 : _a.first)) {
|
|
11088
|
+
return;
|
|
11089
|
+
}
|
|
11090
|
+
this.circleElementRefs
|
|
11091
|
+
.map(element => element.nativeElement)
|
|
11092
|
+
.forEach((element, index) => {
|
|
11093
|
+
this.subscriptions.add(this.renderer.listen(element, 'click', () => {
|
|
11094
|
+
this.focusTrackItem(index);
|
|
11095
|
+
}));
|
|
11096
|
+
});
|
|
11097
|
+
const width = this.circleElementRefs.first.nativeElement.getBoundingClientRect().width;
|
|
11098
|
+
if (width > DEFAULT_TAB_WIDTH) {
|
|
11099
|
+
this.tabWidth = this.circleElementRefs.first.nativeElement.getBoundingClientRect().width + SPACE_BETWEEN_TABS;
|
|
11100
|
+
}
|
|
11101
|
+
this.changeTabsCount();
|
|
11102
|
+
this.visibleEvents = this.trackItems
|
|
11103
|
+
.slice(this.firstCircleInView, this.firstCircleInView + this.visibleTabsCount)
|
|
11104
|
+
.filter(event => !event.isFlag);
|
|
11105
|
+
}
|
|
11106
|
+
onKeyDown(event) {
|
|
11107
|
+
if (!this.navigable) {
|
|
11108
|
+
return;
|
|
11109
|
+
}
|
|
11110
|
+
event.preventDefault();
|
|
11111
|
+
if (event.keyCode === Keys.Home) {
|
|
11112
|
+
this.onHomeKey();
|
|
11113
|
+
}
|
|
11114
|
+
else if (event.keyCode === Keys.End) {
|
|
11115
|
+
this.onEndKey();
|
|
11116
|
+
}
|
|
11117
|
+
else if (event.keyCode === Keys.ArrowRight) {
|
|
11118
|
+
this.onArrowRightKey();
|
|
11119
|
+
}
|
|
11120
|
+
else if (event.keyCode === Keys.ArrowLeft) {
|
|
11121
|
+
this.onArrowLeftKey();
|
|
11122
|
+
}
|
|
11123
|
+
}
|
|
11124
|
+
focusTrackItem(index) {
|
|
11125
|
+
if (!this.circleElementRefs || index < 0 || index >= this.circleElementRefs.length) {
|
|
11126
|
+
return;
|
|
11127
|
+
}
|
|
11128
|
+
const selectedTrackItem = this.circleElementRefs
|
|
11129
|
+
.find(element => element.nativeElement.hasAttribute('aria-selected'));
|
|
11130
|
+
if (selectedTrackItem) {
|
|
11131
|
+
this.removeTrackItemAttributes(selectedTrackItem);
|
|
11132
|
+
this.removeCardsAttributes();
|
|
11133
|
+
}
|
|
11134
|
+
const newTrackItem = this.circleElementRefs.get(index).nativeElement;
|
|
11135
|
+
this.setTrackItemAttributes(newTrackItem, index);
|
|
11136
|
+
}
|
|
11137
|
+
setTrackItemAttributes(element, index) {
|
|
11138
|
+
const innerCard = this.cardComponents.get(this.selectedCardIndex).element.nativeElement.querySelector('.k-card');
|
|
11139
|
+
const selectedCircle = this.circleElementRefs.get(index).nativeElement;
|
|
11140
|
+
this.renderer.addClass(element, 'k-focus');
|
|
11141
|
+
this.renderer.setAttribute(element, 'aria-selected', 'true');
|
|
11142
|
+
this.assignAriaLabel(innerCard, selectedCircle);
|
|
11143
|
+
this.assignAriaDescribedBy(innerCard, selectedCircle);
|
|
11144
|
+
}
|
|
11145
|
+
removeTrackItemAttributes(element) {
|
|
11146
|
+
this.renderer.removeClass(element.nativeElement, 'k-focus');
|
|
11147
|
+
this.renderer.removeAttribute(element.nativeElement, 'aria-selected');
|
|
11148
|
+
this.renderer.removeAttribute(element.nativeElement, 'id');
|
|
11149
|
+
this.renderer.removeAttribute(element.nativeElement, 'aria-describedby');
|
|
11150
|
+
}
|
|
11151
|
+
removeCardsAttributes() {
|
|
11152
|
+
this.cardElementRefs.forEach(card => {
|
|
11153
|
+
this.renderer.removeAttribute(card.nativeElement.querySelector('.k-card'), 'id');
|
|
11154
|
+
this.renderer.removeAttribute(card.nativeElement.querySelector('.k-card'), 'aria-label');
|
|
11155
|
+
});
|
|
11156
|
+
}
|
|
11157
|
+
assignAriaLabel(cardElement, dateElement) {
|
|
11158
|
+
const dateLabelId = `k-${guid()}`;
|
|
11159
|
+
this.renderer.setAttribute(dateElement, 'id', dateLabelId);
|
|
11160
|
+
this.renderer.setAttribute(cardElement, 'aria-label', dateLabelId);
|
|
11161
|
+
}
|
|
11162
|
+
assignAriaDescribedBy(cardElement, dateElement) {
|
|
11163
|
+
const cardId = `k-${guid()}`;
|
|
11164
|
+
this.renderer.setAttribute(cardElement, 'id', cardId);
|
|
11165
|
+
this.renderer.setAttribute(dateElement, 'aria-describedby', cardId);
|
|
11166
|
+
}
|
|
11167
|
+
updateInterval(forward) {
|
|
11168
|
+
let start = forward ? this.firstCircleInView + this.visibleTabsCount : this.firstCircleInView - this.visibleTabsCount;
|
|
11169
|
+
if (start < 0 || start >= this.trackItems.length) {
|
|
11170
|
+
start = 0;
|
|
11171
|
+
}
|
|
11172
|
+
this.navigateToInterval(start, 0, forward, !forward);
|
|
11173
|
+
}
|
|
11174
|
+
onHomeKey() {
|
|
11175
|
+
if (this.selectedEvent === this.events[0]) {
|
|
11176
|
+
return;
|
|
11177
|
+
}
|
|
11178
|
+
this.navigateToFirstInterval();
|
|
11179
|
+
}
|
|
11180
|
+
onEndKey() {
|
|
11181
|
+
if (this.selectedEvent === this.events[this.events.length - 1]) {
|
|
11182
|
+
return;
|
|
11183
|
+
}
|
|
11184
|
+
this.navigateToLastInterval();
|
|
11185
|
+
}
|
|
11186
|
+
onArrowRightKey() {
|
|
11187
|
+
this.navigateToOtherEvent(true);
|
|
11188
|
+
}
|
|
11189
|
+
onArrowLeftKey() {
|
|
11190
|
+
this.navigateToOtherEvent(false);
|
|
11191
|
+
}
|
|
11192
|
+
navigateToFirstInterval() {
|
|
11193
|
+
this.navigateToInterval(0);
|
|
11194
|
+
}
|
|
11195
|
+
navigateToLastInterval() {
|
|
11196
|
+
const start = Math.floor((this.trackItems.length - 1) / this.visibleTabsCount) * this.visibleTabsCount;
|
|
11197
|
+
this.navigateToInterval(start, this.events.length - 1);
|
|
11198
|
+
}
|
|
11199
|
+
navigateToOtherEvent(direction) {
|
|
11200
|
+
const offset = direction ? 1 : -1;
|
|
11201
|
+
const newIndex = this.selectedEventIndex + offset;
|
|
11202
|
+
if (newIndex < 0 || newIndex >= this.events.length) {
|
|
11203
|
+
return;
|
|
11204
|
+
}
|
|
11205
|
+
if (this.visibleEvents.findIndex(event => event === this.events[newIndex]) === -1) {
|
|
11206
|
+
this.updateInterval(direction);
|
|
11207
|
+
}
|
|
11208
|
+
else {
|
|
11209
|
+
this.selectedEvent = this.events[newIndex];
|
|
11210
|
+
this.selectedCardIndex = this.getOtherSelectedCardIndex(direction);
|
|
11211
|
+
this.focusTrackItem(this.selectedEventIndex);
|
|
11212
|
+
this.animateCards();
|
|
11213
|
+
this.cdr.markForCheck();
|
|
11214
|
+
}
|
|
11215
|
+
}
|
|
11216
|
+
navigateToInterval(start, selectedIndex = 0, selectFirst = false, selectLast = false) {
|
|
11217
|
+
const end = start + this.visibleTabsCount < this.trackItems.length ? start + this.visibleTabsCount : undefined;
|
|
11218
|
+
const forward = this.firstCircleInView < start;
|
|
11219
|
+
this.firstCircleInView = start;
|
|
11220
|
+
const interval = Math.floor(start / this.visibleTabsCount);
|
|
11221
|
+
this.translateValue = interval * -100;
|
|
11222
|
+
this.animationState = forward ? 'right' : 'left';
|
|
11223
|
+
this.visibleEvents = this.trackItems.slice(this.firstCircleInView, end).filter(event => !event.isFlag);
|
|
11224
|
+
if (selectFirst) {
|
|
11225
|
+
this.selectedEvent = this.visibleEvents[0];
|
|
11226
|
+
}
|
|
11227
|
+
else if (selectLast) {
|
|
11228
|
+
this.selectedEvent = this.visibleEvents[this.visibleEvents.length - 1];
|
|
11229
|
+
}
|
|
11230
|
+
else {
|
|
11231
|
+
this.selectedEvent = this.events[selectedIndex];
|
|
11232
|
+
}
|
|
11233
|
+
this.selectedCardIndex = this.getOtherSelectedCardIndex(forward);
|
|
11234
|
+
this.cdr.detectChanges();
|
|
11235
|
+
this.focusTrackItem(this.selectedEventIndex);
|
|
11236
|
+
this.animateCards();
|
|
11237
|
+
this.calloutStyle = this.calloutOffset;
|
|
11238
|
+
this.cdr.markForCheck();
|
|
11239
|
+
}
|
|
11240
|
+
animateCards() {
|
|
11241
|
+
if (this.animationDuration) {
|
|
11242
|
+
this.cardComponents.get(this.selectedCardIndex).event = null;
|
|
11243
|
+
}
|
|
11244
|
+
this.cardElementRefs.forEach((card, index) => {
|
|
11245
|
+
this.renderer.setStyle(card.nativeElement, 'transform', this.getTransformation(this.cardWidth, index));
|
|
11246
|
+
this.renderer.setStyle(card.nativeElement, 'transition-duration', `${this.animationDuration || 0}ms`);
|
|
11247
|
+
});
|
|
11248
|
+
}
|
|
11249
|
+
transformCards() {
|
|
11250
|
+
this.cardElementRefs.forEach((card, index) => this.renderer.setStyle(card.nativeElement, 'transform', this.getTransformation(this.cardWidth, index)));
|
|
11251
|
+
}
|
|
11252
|
+
changeTabsCount() {
|
|
11253
|
+
this.visibleTabsCount = Math.round(this.scrollableTrackWidth / this.tabWidth);
|
|
11254
|
+
if (this.tabFlex !== 100 / this.visibleTabsCount) {
|
|
11255
|
+
this.tabFlex = 100 / this.visibleTabsCount;
|
|
11256
|
+
this.circleElementRefs.forEach(item => this.renderer.setStyle(item.nativeElement, 'flex', `1 0 ${this.tabFlex}%`));
|
|
11257
|
+
this.flagElementRefs.forEach(item => this.renderer.setStyle(item.nativeElement, 'flex', `1 0 ${this.tabFlex}%`));
|
|
11258
|
+
this.cdr.detectChanges();
|
|
11259
|
+
this.visibleEvents = this.trackItems
|
|
11260
|
+
.slice(this.firstCircleInView, this.firstCircleInView + this.visibleTabsCount)
|
|
11261
|
+
.filter(event => !event.isFlag);
|
|
11262
|
+
if (!this.visibleEvents.find(event => event === this.selectedEvent)) {
|
|
11263
|
+
const trackItemIndex = this.trackItems.findIndex(event => event === this.selectedEvent);
|
|
11264
|
+
this.navigateToInterval(trackItemIndex, this.selectedEventIndex);
|
|
11265
|
+
}
|
|
11266
|
+
}
|
|
11267
|
+
}
|
|
11268
|
+
l10nChange() {
|
|
11269
|
+
if (this.localization.get('previous')) {
|
|
11270
|
+
this.previousTitle = this.localization.get('previous');
|
|
11271
|
+
}
|
|
11272
|
+
if (this.localization.get('next')) {
|
|
11273
|
+
this.nextTitle = this.localization.get('next');
|
|
11274
|
+
}
|
|
11275
|
+
this.cdr.markForCheck();
|
|
11276
|
+
}
|
|
11277
|
+
}
|
|
11278
|
+
TimelineHorizontalComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimelineHorizontalComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: TimelineService }, { token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
11279
|
+
TimelineHorizontalComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TimelineHorizontalComponent, selector: "kendo-timeline-horizontal", inputs: { events: "events", alterMode: "alterMode", collapsibleEvents: "collapsibleEvents", navigable: "navigable", showDateLabels: "showDateLabels", animationDuration: "animationDuration", eventHeight: "eventHeight", dateFormat: "dateFormat", headerTemplate: "headerTemplate", bodyTemplate: "bodyTemplate", actionsTemplate: "actionsTemplate" }, providers: [], viewQueries: [{ propertyName: "trackElementRef", first: true, predicate: ["track"], descendants: true }, { propertyName: "scrollableTrackElementRef", first: true, predicate: ["scrollableTrack"], descendants: true }, { propertyName: "cardElementRefs", predicate: ["card"], descendants: true, read: ElementRef }, { propertyName: "circleElementRefs", predicate: ["trackCircle"], descendants: true }, { propertyName: "flagElementRefs", predicate: ["trackFlag"], descendants: true }, { propertyName: "cardComponents", predicate: TimelineCardComponent, descendants: true }], exportAs: ["kendoTimelineHorizontal"], usesOnChanges: true, ngImport: i0, template: `
|
|
11280
|
+
<div class="k-timeline-track-wrap" #track>
|
|
11281
|
+
<button
|
|
11282
|
+
kendoButton
|
|
11283
|
+
[svgIcon]="svgLeftIcon"
|
|
11284
|
+
class="k-timeline-arrow k-timeline-arrow-left"
|
|
11285
|
+
rounded="full"
|
|
11286
|
+
[title]="previousTitle"
|
|
11287
|
+
(click)="previousClick()"
|
|
11288
|
+
[disabled]="isFirstRange"
|
|
11289
|
+
[attr.aria-hidden]="true"
|
|
11290
|
+
tabindex="-1"
|
|
11291
|
+
type="button"
|
|
11292
|
+
></button>
|
|
11293
|
+
<button
|
|
11294
|
+
kendoButton
|
|
11295
|
+
[svgIcon]="svgRightIcon"
|
|
11296
|
+
class="k-timeline-arrow k-timeline-arrow-right"
|
|
11297
|
+
rounded="full"
|
|
11298
|
+
[title]="nextTitle"
|
|
11299
|
+
(click)="nextClick()"
|
|
11300
|
+
[disabled]="isLastRange"
|
|
11301
|
+
[attr.aria-hidden]="true"
|
|
11302
|
+
tabindex="-1"
|
|
11303
|
+
type="button"
|
|
11304
|
+
></button>
|
|
11305
|
+
<div class="k-timeline-track">
|
|
11306
|
+
<ul class="k-timeline-scrollable-wrap"
|
|
11307
|
+
#scrollableTrack
|
|
11308
|
+
[attr.role]="'tablist'"
|
|
11309
|
+
[attr.tabindex]="'0'"
|
|
11310
|
+
[@trackSlide]="{value: animationState, params: {transformValue: this.translateValue}}"
|
|
11311
|
+
(@trackSlide.done)="onSlideDone()"
|
|
11312
|
+
(transitionend)="onTrackTransitionEnd()"
|
|
11313
|
+
>
|
|
11314
|
+
<ng-container *ngFor="let event of trackItems; let index = index">
|
|
11315
|
+
<li
|
|
11316
|
+
#trackFlag
|
|
11317
|
+
*ngIf="event.isFlag"
|
|
11318
|
+
class="k-timeline-flag-wrap k-timeline-track-item"
|
|
11319
|
+
[attr.role]="'none'"
|
|
11320
|
+
[attr.aria-hidden]="true"
|
|
11321
|
+
[ngStyle]="tabStyle()"
|
|
11322
|
+
>
|
|
11323
|
+
<span class="k-timeline-flag">{{ event.isFlag }}</span>
|
|
11324
|
+
</li>
|
|
11325
|
+
<li
|
|
11326
|
+
*ngIf="!event.isFlag"
|
|
11327
|
+
#trackCircle
|
|
11328
|
+
class="k-timeline-track-item"
|
|
11329
|
+
[attr.role]="'tab'"
|
|
11330
|
+
(click)="navigateToEvent(index)"
|
|
11331
|
+
[ngStyle]="tabStyle()"
|
|
11332
|
+
>
|
|
11333
|
+
<div class="k-timeline-date-wrap">
|
|
11334
|
+
<span *ngIf="showDateLabels" class="k-timeline-date">
|
|
11335
|
+
{{ event.date | kendoDate: dateFormat }}
|
|
11336
|
+
</span>
|
|
11337
|
+
</div>
|
|
11338
|
+
<span class="k-timeline-circle"></span>
|
|
11339
|
+
</li>
|
|
11340
|
+
</ng-container>
|
|
11341
|
+
</ul>
|
|
11342
|
+
</div>
|
|
11343
|
+
</div>
|
|
11344
|
+
<div class="k-timeline-events-list">
|
|
11345
|
+
<ul
|
|
11346
|
+
*ngIf="selectedEvent"
|
|
11347
|
+
class="k-timeline-scrollable-wrap"
|
|
11348
|
+
[@eventsSlide]="{value: animationState, params: {animationDuration: this.animationDuration || 0}}"
|
|
11349
|
+
(@eventsSlide.done)="onSlideDone()"
|
|
11350
|
+
[ngStyle]="{'transform-origin': 'left top'}"
|
|
11351
|
+
>
|
|
11352
|
+
<li *ngFor="let event of eventsInInterval; let index = index"
|
|
11353
|
+
#card
|
|
11354
|
+
class="k-timeline-event"
|
|
11355
|
+
(transitionend)="onTransitionEnd()"
|
|
11356
|
+
>
|
|
11357
|
+
<kendo-timeline-card
|
|
11358
|
+
[event]="selectedCardIndex === index ? selectedEvent : null"
|
|
11359
|
+
[expanded]="true"
|
|
11360
|
+
[collapsible]="collapsibleEvents"
|
|
11361
|
+
[calloutStyle]="selectedCardIndex === index ? calloutStyle : {}"
|
|
11362
|
+
[ngStyle]="{visibility: selectedCardIndex === index ? 'visible' : 'hidden' }"
|
|
11363
|
+
[tabIndex]="selectedCardIndex === index ? '0' : '-1'"
|
|
11364
|
+
[navigable]="navigable"
|
|
11365
|
+
[index]="selectedEventIndex"
|
|
11366
|
+
[headerTemplate]="headerTemplate"
|
|
11367
|
+
[bodyTemplate]="bodyTemplate"
|
|
11368
|
+
[actionsTemplate]="actionsTemplate"
|
|
11369
|
+
[eventHeight]="eventHeight"
|
|
11370
|
+
orientation="horizontal"
|
|
11371
|
+
>
|
|
11372
|
+
</kendo-timeline-card>
|
|
11373
|
+
</li>
|
|
11374
|
+
</ul>
|
|
11375
|
+
</div>
|
|
11376
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: i3$1.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: TimelineCardComponent, selector: "kendo-timeline-card", inputs: ["event", "expanded", "collapsible", "reversed", "orientation", "navigable", "tabIndex", "animationDuration", "index", "eventWidth", "eventHeight", "headerTemplate", "bodyTemplate", "actionsTemplate", "calloutStyle"], exportAs: ["kendoTimelineCard"] }, { kind: "pipe", type: i6.DatePipe, name: "kendoDate" }], animations: [
|
|
11377
|
+
trigger('trackSlide', [
|
|
11378
|
+
state('left', style({
|
|
11379
|
+
transform: `translateX({{transformValue}}%)`,
|
|
11380
|
+
}), { params: { transformValue: '0' } }),
|
|
11381
|
+
state('right', style({
|
|
11382
|
+
transform: `translateX({{transformValue}}%)`,
|
|
11383
|
+
}), { params: { transformValue: '0' } }),
|
|
11384
|
+
state('center', style({
|
|
11385
|
+
transform: `translateX(0)`,
|
|
11386
|
+
}))
|
|
11387
|
+
]),
|
|
11388
|
+
trigger('eventsSlide', [
|
|
11389
|
+
transition('* => right', [
|
|
11390
|
+
animate('{{animationDuration}}ms', style({ transform: `translateX(-100%)` }))
|
|
11391
|
+
], { params: { animationDuration: '400' } }),
|
|
11392
|
+
transition('* => left', [
|
|
11393
|
+
animate('{{animationDuration}}ms', style({ transform: `translateX(100%)` }))
|
|
11394
|
+
], { params: { animationDuration: '400' } })
|
|
11395
|
+
])
|
|
11396
|
+
] });
|
|
11397
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimelineHorizontalComponent, decorators: [{
|
|
11398
|
+
type: Component,
|
|
11399
|
+
args: [{
|
|
11400
|
+
animations: [
|
|
11401
|
+
trigger('trackSlide', [
|
|
11402
|
+
state('left', style({
|
|
11403
|
+
transform: `translateX({{transformValue}}%)`,
|
|
11404
|
+
}), { params: { transformValue: '0' } }),
|
|
11405
|
+
state('right', style({
|
|
11406
|
+
transform: `translateX({{transformValue}}%)`,
|
|
11407
|
+
}), { params: { transformValue: '0' } }),
|
|
11408
|
+
state('center', style({
|
|
11409
|
+
transform: `translateX(0)`,
|
|
11410
|
+
}))
|
|
11411
|
+
]),
|
|
11412
|
+
trigger('eventsSlide', [
|
|
11413
|
+
transition('* => right', [
|
|
11414
|
+
animate('{{animationDuration}}ms', style({ transform: `translateX(-100%)` }))
|
|
11415
|
+
], { params: { animationDuration: '400' } }),
|
|
11416
|
+
transition('* => left', [
|
|
11417
|
+
animate('{{animationDuration}}ms', style({ transform: `translateX(100%)` }))
|
|
11418
|
+
], { params: { animationDuration: '400' } })
|
|
11419
|
+
])
|
|
11420
|
+
],
|
|
11421
|
+
providers: [],
|
|
11422
|
+
exportAs: 'kendoTimelineHorizontal',
|
|
11423
|
+
selector: 'kendo-timeline-horizontal',
|
|
11424
|
+
template: `
|
|
11425
|
+
<div class="k-timeline-track-wrap" #track>
|
|
11426
|
+
<button
|
|
11427
|
+
kendoButton
|
|
11428
|
+
[svgIcon]="svgLeftIcon"
|
|
11429
|
+
class="k-timeline-arrow k-timeline-arrow-left"
|
|
11430
|
+
rounded="full"
|
|
11431
|
+
[title]="previousTitle"
|
|
11432
|
+
(click)="previousClick()"
|
|
11433
|
+
[disabled]="isFirstRange"
|
|
11434
|
+
[attr.aria-hidden]="true"
|
|
11435
|
+
tabindex="-1"
|
|
11436
|
+
type="button"
|
|
11437
|
+
></button>
|
|
11438
|
+
<button
|
|
11439
|
+
kendoButton
|
|
11440
|
+
[svgIcon]="svgRightIcon"
|
|
11441
|
+
class="k-timeline-arrow k-timeline-arrow-right"
|
|
11442
|
+
rounded="full"
|
|
11443
|
+
[title]="nextTitle"
|
|
11444
|
+
(click)="nextClick()"
|
|
11445
|
+
[disabled]="isLastRange"
|
|
11446
|
+
[attr.aria-hidden]="true"
|
|
11447
|
+
tabindex="-1"
|
|
11448
|
+
type="button"
|
|
11449
|
+
></button>
|
|
11450
|
+
<div class="k-timeline-track">
|
|
11451
|
+
<ul class="k-timeline-scrollable-wrap"
|
|
11452
|
+
#scrollableTrack
|
|
11453
|
+
[attr.role]="'tablist'"
|
|
11454
|
+
[attr.tabindex]="'0'"
|
|
11455
|
+
[@trackSlide]="{value: animationState, params: {transformValue: this.translateValue}}"
|
|
11456
|
+
(@trackSlide.done)="onSlideDone()"
|
|
11457
|
+
(transitionend)="onTrackTransitionEnd()"
|
|
11458
|
+
>
|
|
11459
|
+
<ng-container *ngFor="let event of trackItems; let index = index">
|
|
11460
|
+
<li
|
|
11461
|
+
#trackFlag
|
|
11462
|
+
*ngIf="event.isFlag"
|
|
11463
|
+
class="k-timeline-flag-wrap k-timeline-track-item"
|
|
11464
|
+
[attr.role]="'none'"
|
|
11465
|
+
[attr.aria-hidden]="true"
|
|
11466
|
+
[ngStyle]="tabStyle()"
|
|
11467
|
+
>
|
|
11468
|
+
<span class="k-timeline-flag">{{ event.isFlag }}</span>
|
|
11469
|
+
</li>
|
|
11470
|
+
<li
|
|
11471
|
+
*ngIf="!event.isFlag"
|
|
11472
|
+
#trackCircle
|
|
11473
|
+
class="k-timeline-track-item"
|
|
11474
|
+
[attr.role]="'tab'"
|
|
11475
|
+
(click)="navigateToEvent(index)"
|
|
11476
|
+
[ngStyle]="tabStyle()"
|
|
11477
|
+
>
|
|
11478
|
+
<div class="k-timeline-date-wrap">
|
|
11479
|
+
<span *ngIf="showDateLabels" class="k-timeline-date">
|
|
11480
|
+
{{ event.date | kendoDate: dateFormat }}
|
|
11481
|
+
</span>
|
|
11482
|
+
</div>
|
|
11483
|
+
<span class="k-timeline-circle"></span>
|
|
11484
|
+
</li>
|
|
11485
|
+
</ng-container>
|
|
11486
|
+
</ul>
|
|
11487
|
+
</div>
|
|
11488
|
+
</div>
|
|
11489
|
+
<div class="k-timeline-events-list">
|
|
11490
|
+
<ul
|
|
11491
|
+
*ngIf="selectedEvent"
|
|
11492
|
+
class="k-timeline-scrollable-wrap"
|
|
11493
|
+
[@eventsSlide]="{value: animationState, params: {animationDuration: this.animationDuration || 0}}"
|
|
11494
|
+
(@eventsSlide.done)="onSlideDone()"
|
|
11495
|
+
[ngStyle]="{'transform-origin': 'left top'}"
|
|
11496
|
+
>
|
|
11497
|
+
<li *ngFor="let event of eventsInInterval; let index = index"
|
|
11498
|
+
#card
|
|
11499
|
+
class="k-timeline-event"
|
|
11500
|
+
(transitionend)="onTransitionEnd()"
|
|
11501
|
+
>
|
|
11502
|
+
<kendo-timeline-card
|
|
11503
|
+
[event]="selectedCardIndex === index ? selectedEvent : null"
|
|
11504
|
+
[expanded]="true"
|
|
11505
|
+
[collapsible]="collapsibleEvents"
|
|
11506
|
+
[calloutStyle]="selectedCardIndex === index ? calloutStyle : {}"
|
|
11507
|
+
[ngStyle]="{visibility: selectedCardIndex === index ? 'visible' : 'hidden' }"
|
|
11508
|
+
[tabIndex]="selectedCardIndex === index ? '0' : '-1'"
|
|
11509
|
+
[navigable]="navigable"
|
|
11510
|
+
[index]="selectedEventIndex"
|
|
11511
|
+
[headerTemplate]="headerTemplate"
|
|
11512
|
+
[bodyTemplate]="bodyTemplate"
|
|
11513
|
+
[actionsTemplate]="actionsTemplate"
|
|
11514
|
+
[eventHeight]="eventHeight"
|
|
11515
|
+
orientation="horizontal"
|
|
11516
|
+
>
|
|
11517
|
+
</kendo-timeline-card>
|
|
11518
|
+
</li>
|
|
11519
|
+
</ul>
|
|
11520
|
+
</div>
|
|
11521
|
+
`,
|
|
11522
|
+
}]
|
|
11523
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: i0.Renderer2 }, { type: TimelineService }, { type: i1.LocalizationService }]; }, propDecorators: { events: [{
|
|
11524
|
+
type: Input
|
|
11525
|
+
}], alterMode: [{
|
|
11526
|
+
type: Input
|
|
11527
|
+
}], collapsibleEvents: [{
|
|
11528
|
+
type: Input
|
|
11529
|
+
}], navigable: [{
|
|
11530
|
+
type: Input
|
|
11531
|
+
}], showDateLabels: [{
|
|
11532
|
+
type: Input
|
|
11533
|
+
}], animationDuration: [{
|
|
11534
|
+
type: Input
|
|
11535
|
+
}], eventHeight: [{
|
|
11536
|
+
type: Input
|
|
11537
|
+
}], dateFormat: [{
|
|
11538
|
+
type: Input
|
|
11539
|
+
}], headerTemplate: [{
|
|
11540
|
+
type: Input
|
|
11541
|
+
}], bodyTemplate: [{
|
|
11542
|
+
type: Input
|
|
11543
|
+
}], actionsTemplate: [{
|
|
11544
|
+
type: Input
|
|
11545
|
+
}], cardElementRefs: [{
|
|
11546
|
+
type: ViewChildren,
|
|
11547
|
+
args: ['card', { read: ElementRef }]
|
|
11548
|
+
}], circleElementRefs: [{
|
|
11549
|
+
type: ViewChildren,
|
|
11550
|
+
args: ['trackCircle']
|
|
11551
|
+
}], flagElementRefs: [{
|
|
11552
|
+
type: ViewChildren,
|
|
11553
|
+
args: ['trackFlag']
|
|
11554
|
+
}], trackElementRef: [{
|
|
11555
|
+
type: ViewChild,
|
|
11556
|
+
args: ['track']
|
|
11557
|
+
}], scrollableTrackElementRef: [{
|
|
11558
|
+
type: ViewChild,
|
|
11559
|
+
args: ['scrollableTrack']
|
|
11560
|
+
}], cardComponents: [{
|
|
11561
|
+
type: ViewChildren,
|
|
11562
|
+
args: [TimelineCardComponent]
|
|
11563
|
+
}] } });
|
|
11564
|
+
|
|
11565
|
+
/**
|
|
11566
|
+
* @hidden
|
|
11567
|
+
*/
|
|
11568
|
+
class TimelineVerticalComponent {
|
|
11569
|
+
constructor(renderer) {
|
|
11570
|
+
this.renderer = renderer;
|
|
11571
|
+
this.events = [];
|
|
11572
|
+
this.subscriptions = new Subscription();
|
|
11573
|
+
}
|
|
11574
|
+
ngAfterViewInit() {
|
|
11575
|
+
this.ariaDescribedByAllEvents();
|
|
11576
|
+
this.subscriptions.add(this.innerDateElementRefs.changes.subscribe(() => {
|
|
11577
|
+
var _a;
|
|
11578
|
+
if (((_a = this.innerDateElementRefs) === null || _a === void 0 ? void 0 : _a.length) > 0) {
|
|
11579
|
+
this.ariaDescribedByAllEvents();
|
|
11580
|
+
}
|
|
11581
|
+
else {
|
|
11582
|
+
this.removeAriaDescribedBy();
|
|
11583
|
+
}
|
|
11584
|
+
}));
|
|
11585
|
+
}
|
|
11586
|
+
expand(index) {
|
|
11587
|
+
if (index < 0 || index >= this.cards.length) {
|
|
11588
|
+
return;
|
|
11589
|
+
}
|
|
11590
|
+
this.cards.get(index).expand();
|
|
11591
|
+
}
|
|
11592
|
+
collapse(index) {
|
|
11593
|
+
if (index < 0 || index >= this.cards.length) {
|
|
11594
|
+
return;
|
|
11595
|
+
}
|
|
11596
|
+
this.cards.get(index).collapse();
|
|
11597
|
+
}
|
|
11598
|
+
ariaDescribedByAllEvents() {
|
|
11599
|
+
var _a;
|
|
11600
|
+
(_a = this.cards) === null || _a === void 0 ? void 0 : _a.forEach((card, index) => {
|
|
11601
|
+
const innerCard = card.element.nativeElement.querySelector('.k-card');
|
|
11602
|
+
const innerDate = this.dateElementRefs.get(index).nativeElement.querySelector('.k-timeline-date');
|
|
11603
|
+
if (innerDate) {
|
|
11604
|
+
this.assignAriaDescribedBy(innerCard, innerDate);
|
|
11605
|
+
}
|
|
11606
|
+
});
|
|
11607
|
+
}
|
|
11608
|
+
removeAriaDescribedBy() {
|
|
11609
|
+
var _a;
|
|
11610
|
+
(_a = this.cards) === null || _a === void 0 ? void 0 : _a.forEach(card => {
|
|
11611
|
+
const innerCard = card.element.nativeElement.querySelector('.k-card');
|
|
11612
|
+
this.renderer.removeAttribute(innerCard, 'aria-describedby');
|
|
11613
|
+
});
|
|
11614
|
+
}
|
|
11615
|
+
assignAriaDescribedBy(cardElement, dateElement) {
|
|
11616
|
+
const dateLabelId = `k-${guid()}`;
|
|
11617
|
+
this.renderer.setAttribute(dateElement, 'id', dateLabelId);
|
|
11618
|
+
this.renderer.setAttribute(cardElement, 'aria-describedby', dateLabelId);
|
|
11619
|
+
}
|
|
11620
|
+
}
|
|
11621
|
+
TimelineVerticalComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimelineVerticalComponent, deps: [{ token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
11622
|
+
TimelineVerticalComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TimelineVerticalComponent, selector: "kendo-timeline-vertical", inputs: { events: "events", alterMode: "alterMode", collapsibleEvents: "collapsibleEvents", navigable: "navigable", showDateLabels: "showDateLabels", animationDuration: "animationDuration", eventWidth: "eventWidth", dateFormat: "dateFormat", headerTemplate: "headerTemplate", bodyTemplate: "bodyTemplate", actionsTemplate: "actionsTemplate" }, providers: [], viewQueries: [{ propertyName: "cards", predicate: ["card"], descendants: true }, { propertyName: "dateElementRefs", predicate: ["dateWrap"], descendants: true }, { propertyName: "innerDateElementRefs", predicate: ["innerDate"], descendants: true }], exportAs: ["kendoTimelineVertical"], ngImport: i0, template: `
|
|
11623
|
+
<ul *ngIf="events && events.length > 0">
|
|
11624
|
+
<ng-container *ngFor="let event of events; let i = index">
|
|
11625
|
+
<li class="k-timeline-flag-wrap" *ngIf="event.flag">
|
|
11626
|
+
<span class="k-timeline-flag">{{ event.flag }}</span>
|
|
11627
|
+
</li>
|
|
11628
|
+
<li class="k-timeline-event" [ngClass]="{ 'k-reverse': alterMode && i % 2 === 0 }">
|
|
11629
|
+
<div class="k-timeline-date-wrap" #dateWrap>
|
|
11630
|
+
<span *ngIf="showDateLabels" class="k-timeline-date" #innerDate>
|
|
11631
|
+
{{ event.date | kendoDate: dateFormat }}
|
|
11632
|
+
</span>
|
|
11633
|
+
</div>
|
|
11634
|
+
<span class="k-timeline-circle"></span>
|
|
11635
|
+
<kendo-timeline-card
|
|
11636
|
+
#card
|
|
11637
|
+
[event]="event"
|
|
11638
|
+
[expanded]="event.expanded || !collapsibleEvents"
|
|
11639
|
+
[collapsible]="collapsibleEvents"
|
|
11640
|
+
[reversed]="alterMode && i % 2 === 0"
|
|
11641
|
+
[tabIndex]="'0'"
|
|
11642
|
+
[navigable]="navigable"
|
|
11643
|
+
[animationDuration]="animationDuration"
|
|
11644
|
+
[headerTemplate]="headerTemplate"
|
|
11645
|
+
[bodyTemplate]="bodyTemplate"
|
|
11646
|
+
[actionsTemplate]="actionsTemplate"
|
|
11647
|
+
[index]="i"
|
|
11648
|
+
[eventWidth]="eventWidth"
|
|
11649
|
+
orientation="vertical"
|
|
11650
|
+
>
|
|
11651
|
+
</kendo-timeline-card>
|
|
11652
|
+
</li>
|
|
11653
|
+
</ng-container>
|
|
11654
|
+
</ul>
|
|
11655
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: TimelineCardComponent, selector: "kendo-timeline-card", inputs: ["event", "expanded", "collapsible", "reversed", "orientation", "navigable", "tabIndex", "animationDuration", "index", "eventWidth", "eventHeight", "headerTemplate", "bodyTemplate", "actionsTemplate", "calloutStyle"], exportAs: ["kendoTimelineCard"] }, { kind: "pipe", type: i6.DatePipe, name: "kendoDate" }] });
|
|
11656
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimelineVerticalComponent, decorators: [{
|
|
11657
|
+
type: Component,
|
|
11658
|
+
args: [{
|
|
11659
|
+
providers: [],
|
|
11660
|
+
exportAs: 'kendoTimelineVertical',
|
|
11661
|
+
selector: 'kendo-timeline-vertical',
|
|
11662
|
+
template: `
|
|
11663
|
+
<ul *ngIf="events && events.length > 0">
|
|
11664
|
+
<ng-container *ngFor="let event of events; let i = index">
|
|
11665
|
+
<li class="k-timeline-flag-wrap" *ngIf="event.flag">
|
|
11666
|
+
<span class="k-timeline-flag">{{ event.flag }}</span>
|
|
11667
|
+
</li>
|
|
11668
|
+
<li class="k-timeline-event" [ngClass]="{ 'k-reverse': alterMode && i % 2 === 0 }">
|
|
11669
|
+
<div class="k-timeline-date-wrap" #dateWrap>
|
|
11670
|
+
<span *ngIf="showDateLabels" class="k-timeline-date" #innerDate>
|
|
11671
|
+
{{ event.date | kendoDate: dateFormat }}
|
|
11672
|
+
</span>
|
|
11673
|
+
</div>
|
|
11674
|
+
<span class="k-timeline-circle"></span>
|
|
11675
|
+
<kendo-timeline-card
|
|
11676
|
+
#card
|
|
11677
|
+
[event]="event"
|
|
11678
|
+
[expanded]="event.expanded || !collapsibleEvents"
|
|
11679
|
+
[collapsible]="collapsibleEvents"
|
|
11680
|
+
[reversed]="alterMode && i % 2 === 0"
|
|
11681
|
+
[tabIndex]="'0'"
|
|
11682
|
+
[navigable]="navigable"
|
|
11683
|
+
[animationDuration]="animationDuration"
|
|
11684
|
+
[headerTemplate]="headerTemplate"
|
|
11685
|
+
[bodyTemplate]="bodyTemplate"
|
|
11686
|
+
[actionsTemplate]="actionsTemplate"
|
|
11687
|
+
[index]="i"
|
|
11688
|
+
[eventWidth]="eventWidth"
|
|
11689
|
+
orientation="vertical"
|
|
11690
|
+
>
|
|
11691
|
+
</kendo-timeline-card>
|
|
11692
|
+
</li>
|
|
11693
|
+
</ng-container>
|
|
11694
|
+
</ul>
|
|
11695
|
+
`,
|
|
11696
|
+
}]
|
|
11697
|
+
}], ctorParameters: function () { return [{ type: i0.Renderer2 }]; }, propDecorators: { events: [{
|
|
11698
|
+
type: Input
|
|
11699
|
+
}], alterMode: [{
|
|
11700
|
+
type: Input
|
|
11701
|
+
}], collapsibleEvents: [{
|
|
11702
|
+
type: Input
|
|
11703
|
+
}], navigable: [{
|
|
11704
|
+
type: Input
|
|
11705
|
+
}], showDateLabels: [{
|
|
11706
|
+
type: Input
|
|
11707
|
+
}], animationDuration: [{
|
|
11708
|
+
type: Input
|
|
11709
|
+
}], eventWidth: [{
|
|
11710
|
+
type: Input
|
|
11711
|
+
}], dateFormat: [{
|
|
11712
|
+
type: Input
|
|
11713
|
+
}], headerTemplate: [{
|
|
11714
|
+
type: Input
|
|
11715
|
+
}], bodyTemplate: [{
|
|
11716
|
+
type: Input
|
|
11717
|
+
}], actionsTemplate: [{
|
|
11718
|
+
type: Input
|
|
11719
|
+
}], cards: [{
|
|
11720
|
+
type: ViewChildren,
|
|
11721
|
+
args: ['card']
|
|
11722
|
+
}], dateElementRefs: [{
|
|
11723
|
+
type: ViewChildren,
|
|
11724
|
+
args: ['dateWrap']
|
|
11725
|
+
}], innerDateElementRefs: [{
|
|
11726
|
+
type: ViewChildren,
|
|
11727
|
+
args: ['innerDate']
|
|
11728
|
+
}] } });
|
|
11729
|
+
|
|
11730
|
+
/**
|
|
11731
|
+
* Specifies the body of each timeline card. To define a body template, nest an `<ng-template>` tag
|
|
11732
|
+
* with the `kendoTimelineCardBodyTemplate` directive inside the `<kendo-timeline>` tag.
|
|
11733
|
+
*
|
|
11734
|
+
* The following values are available as context variables:
|
|
11735
|
+
* - `let-event="event"` (`TimelineEvent`) - The current card's event. Also available as implicit context variable.
|
|
11736
|
+
* - `let-index="index"` (`number`) - The current event index.
|
|
11737
|
+
*/
|
|
11738
|
+
class TimelineCardBodyTemplateDirective {
|
|
11739
|
+
constructor(templateRef) {
|
|
11740
|
+
this.templateRef = templateRef;
|
|
11741
|
+
}
|
|
11742
|
+
}
|
|
11743
|
+
TimelineCardBodyTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimelineCardBodyTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
11744
|
+
TimelineCardBodyTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: TimelineCardBodyTemplateDirective, selector: "[kendoTimelineCardBodyTemplate]", ngImport: i0 });
|
|
11745
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimelineCardBodyTemplateDirective, decorators: [{
|
|
11746
|
+
type: Directive,
|
|
11747
|
+
args: [{
|
|
11748
|
+
selector: '[kendoTimelineCardBodyTemplate]'
|
|
11749
|
+
}]
|
|
11750
|
+
}], ctorParameters: function () {
|
|
11751
|
+
return [{ type: i0.TemplateRef, decorators: [{
|
|
11752
|
+
type: Optional
|
|
11753
|
+
}] }];
|
|
11754
|
+
} });
|
|
11755
|
+
|
|
11756
|
+
/**
|
|
11757
|
+
* Specifies the header of each timeline card. To define a header template, nest an `<ng-template>` tag
|
|
11758
|
+
* with the `kendoTimelineCardHeaderTemplate` directive inside the `<kendo-timeline>` tag.
|
|
11759
|
+
*
|
|
11760
|
+
* The following values are available as context variables:
|
|
11761
|
+
* - `let-event="event"` (`TimelineEvent`) - The current card's event. Also available as implicit context variable.
|
|
11762
|
+
* - `let-index="index"` (`number`) - The current event index.
|
|
11763
|
+
*/
|
|
11764
|
+
class TimelineCardHeaderTemplateDirective {
|
|
11765
|
+
constructor(templateRef) {
|
|
11766
|
+
this.templateRef = templateRef;
|
|
11767
|
+
}
|
|
11768
|
+
}
|
|
11769
|
+
TimelineCardHeaderTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimelineCardHeaderTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
11770
|
+
TimelineCardHeaderTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: TimelineCardHeaderTemplateDirective, selector: "[kendoTimelineCardHeaderTemplate]", ngImport: i0 });
|
|
11771
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimelineCardHeaderTemplateDirective, decorators: [{
|
|
11772
|
+
type: Directive,
|
|
11773
|
+
args: [{
|
|
11774
|
+
selector: '[kendoTimelineCardHeaderTemplate]'
|
|
11775
|
+
}]
|
|
11776
|
+
}], ctorParameters: function () {
|
|
11777
|
+
return [{ type: i0.TemplateRef, decorators: [{
|
|
11778
|
+
type: Optional
|
|
11779
|
+
}] }];
|
|
11780
|
+
} });
|
|
11781
|
+
|
|
11782
|
+
/**
|
|
11783
|
+
* Specifies the actions of each timeline card. To define an actions template, nest an `<ng-template>` tag
|
|
11784
|
+
* with the `kendoTimelineCardActionsTemplate` directive inside the `<kendo-timeline>` tag.
|
|
11785
|
+
*
|
|
11786
|
+
* The following values are available as context variables:
|
|
11787
|
+
* - `let-event="event"` (`TimelineEvent`) - The current card's event. Also available as implicit context variable.
|
|
11788
|
+
* - `let-index="index"` (`number`) - The current event index.
|
|
11789
|
+
*/
|
|
11790
|
+
class TimelineCardActionsTemplateDirective {
|
|
11791
|
+
constructor(templateRef) {
|
|
11792
|
+
this.templateRef = templateRef;
|
|
11793
|
+
}
|
|
11794
|
+
}
|
|
11795
|
+
TimelineCardActionsTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimelineCardActionsTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
11796
|
+
TimelineCardActionsTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: TimelineCardActionsTemplateDirective, selector: "[kendoTimelineCardActionsTemplate]", ngImport: i0 });
|
|
11797
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimelineCardActionsTemplateDirective, decorators: [{
|
|
11798
|
+
type: Directive,
|
|
11799
|
+
args: [{
|
|
11800
|
+
selector: '[kendoTimelineCardActionsTemplate]'
|
|
11801
|
+
}]
|
|
11802
|
+
}], ctorParameters: function () {
|
|
11803
|
+
return [{ type: i0.TemplateRef, decorators: [{
|
|
11804
|
+
type: Optional
|
|
11805
|
+
}] }];
|
|
11806
|
+
} });
|
|
11807
|
+
|
|
11808
|
+
/**
|
|
11809
|
+
* @hidden
|
|
11810
|
+
*/
|
|
11811
|
+
class TimelineMessages extends ComponentMessages {
|
|
11812
|
+
}
|
|
11813
|
+
TimelineMessages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimelineMessages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
11814
|
+
TimelineMessages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: TimelineMessages, selector: "kendo-timeline-messages-base", inputs: { previous: "previous", next: "next" }, usesInheritance: true, ngImport: i0 });
|
|
11815
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimelineMessages, decorators: [{
|
|
11816
|
+
type: Directive,
|
|
11817
|
+
args: [{
|
|
11818
|
+
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
11819
|
+
selector: 'kendo-timeline-messages-base'
|
|
11820
|
+
}]
|
|
11821
|
+
}], propDecorators: { previous: [{
|
|
11822
|
+
type: Input
|
|
11823
|
+
}], next: [{
|
|
11824
|
+
type: Input
|
|
11825
|
+
}] } });
|
|
11826
|
+
|
|
11827
|
+
/**
|
|
11828
|
+
* @hidden
|
|
11829
|
+
*/
|
|
11830
|
+
class LocalizedTimelineMessagesDirective extends TimelineMessages {
|
|
11831
|
+
constructor(service) {
|
|
11832
|
+
super();
|
|
11833
|
+
this.service = service;
|
|
11834
|
+
}
|
|
11835
|
+
}
|
|
11836
|
+
LocalizedTimelineMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LocalizedTimelineMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
11837
|
+
LocalizedTimelineMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LocalizedTimelineMessagesDirective, selector: "[kendoTimelineLocalizedMessages]", providers: [
|
|
11838
|
+
{
|
|
11839
|
+
provide: TimelineMessages,
|
|
11840
|
+
useExisting: forwardRef(() => LocalizedTimelineMessagesDirective),
|
|
11841
|
+
},
|
|
11842
|
+
], usesInheritance: true, ngImport: i0 });
|
|
11843
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LocalizedTimelineMessagesDirective, decorators: [{
|
|
11844
|
+
type: Directive,
|
|
11845
|
+
args: [{
|
|
11846
|
+
providers: [
|
|
11847
|
+
{
|
|
11848
|
+
provide: TimelineMessages,
|
|
11849
|
+
useExisting: forwardRef(() => LocalizedTimelineMessagesDirective),
|
|
11850
|
+
},
|
|
11851
|
+
],
|
|
11852
|
+
selector: `[kendoTimelineLocalizedMessages]`
|
|
11853
|
+
}]
|
|
11854
|
+
}], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
|
|
11855
|
+
|
|
11856
|
+
const DEFAULT_HORIZONTAL_ANIMATION_DURATION = 400;
|
|
11857
|
+
const DEFAULT_VERTICAL_ANIMATION_DURATION = 300;
|
|
11858
|
+
const DEFAULT_EVENT_WIDTH = 400;
|
|
11859
|
+
const DEFAULT_EVENT_HEIGHT = 600;
|
|
11860
|
+
const DEFAULT_DATE_FORMAT = 'MMMM dd, yyyy';
|
|
11861
|
+
/**
|
|
11862
|
+
* Represents the [Kendo UI Timeline component for Angular]({% slug overview_timeline %}).
|
|
11863
|
+
*/
|
|
11864
|
+
class TimelineComponent {
|
|
11865
|
+
constructor(timelineService) {
|
|
11866
|
+
this.timelineService = timelineService;
|
|
11867
|
+
/**
|
|
11868
|
+
* Specifies the orientation of the axis.
|
|
11869
|
+
*
|
|
11870
|
+
* @default 'vertical'
|
|
11871
|
+
*/
|
|
11872
|
+
this.orientation = 'vertical';
|
|
11873
|
+
/**
|
|
11874
|
+
* Specifies whether to render events alternatingly on both sides of the axis.
|
|
11875
|
+
* Applicable when `orientation` is set to `vertical`.
|
|
11876
|
+
*
|
|
11877
|
+
* @default false
|
|
11878
|
+
*/
|
|
11879
|
+
this.alterMode = false;
|
|
11880
|
+
/**
|
|
11881
|
+
* Specifies whether the event cards can be collapsed.
|
|
11882
|
+
*
|
|
11883
|
+
* @default true
|
|
11884
|
+
*/
|
|
11885
|
+
this.collapsibleEvents = true;
|
|
11886
|
+
/**
|
|
11887
|
+
* Specifies whether the user can use dedicated shortcuts to interact with the Timeline.
|
|
11888
|
+
*
|
|
11889
|
+
* @default true
|
|
11890
|
+
*/
|
|
11891
|
+
this.navigable = true;
|
|
11892
|
+
/**
|
|
11893
|
+
* Specifies whether an event's date label will be visible.
|
|
11894
|
+
*
|
|
11895
|
+
* @default true
|
|
11896
|
+
*/
|
|
11897
|
+
this.showDateLabels = true;
|
|
11898
|
+
this.hostClass = true;
|
|
11899
|
+
/**
|
|
11900
|
+
* Fires when a card is toggled.
|
|
11901
|
+
* This event is supported only in `vertical` mode.
|
|
11902
|
+
*/
|
|
11903
|
+
this.onToggle = new EventEmitter();
|
|
11904
|
+
/**
|
|
11905
|
+
* Fires when a card's action is clicked.
|
|
11906
|
+
*/
|
|
11907
|
+
this.onActionClick = new EventEmitter();
|
|
11908
|
+
/**
|
|
11909
|
+
* Fires when the left or right arrow is clicked.
|
|
11910
|
+
* This event is supported only in `horizontal` mode.
|
|
11911
|
+
*/
|
|
11912
|
+
this.onNavigate = new EventEmitter();
|
|
11913
|
+
this._events = [];
|
|
11914
|
+
this._modelFields = defaultModelFields;
|
|
11915
|
+
this._eventWidth = DEFAULT_EVENT_WIDTH;
|
|
11916
|
+
this._eventHeight = DEFAULT_EVENT_HEIGHT;
|
|
11917
|
+
this._dateFormat = DEFAULT_DATE_FORMAT;
|
|
11918
|
+
this.originalData = [];
|
|
11919
|
+
this.subscriptions = new Subscription();
|
|
11920
|
+
this.timelineService.timeline = this;
|
|
11921
|
+
}
|
|
11922
|
+
/**
|
|
11923
|
+
* An array of event instances which will be shown by the Timeline.
|
|
11924
|
+
*/
|
|
11925
|
+
set events(events) {
|
|
11926
|
+
if (!isPresent$1(events)) {
|
|
11927
|
+
return;
|
|
11928
|
+
}
|
|
11929
|
+
this.originalData = events;
|
|
11930
|
+
this._events = processItems(this.originalData, this.modelFields);
|
|
11931
|
+
this._events.sort((a, b) => {
|
|
11932
|
+
return a.date.getTime() - b.date.getTime();
|
|
11933
|
+
});
|
|
11934
|
+
if (this._events.length > 0) {
|
|
11935
|
+
let flag = this._events[0].date.getFullYear() - 1;
|
|
11936
|
+
this._events.forEach((event) => {
|
|
11937
|
+
if (event.date.getFullYear() !== flag) {
|
|
11938
|
+
flag = event.date.getFullYear();
|
|
11939
|
+
event.flag = flag;
|
|
11940
|
+
}
|
|
11941
|
+
});
|
|
11942
|
+
}
|
|
11943
|
+
}
|
|
11944
|
+
get events() {
|
|
11945
|
+
return this._events;
|
|
11946
|
+
}
|
|
11947
|
+
/**
|
|
11948
|
+
* The names of the model fields from which the Timeline will read its data.
|
|
11949
|
+
*/
|
|
11950
|
+
set modelFields(value) {
|
|
11951
|
+
this._modelFields = Object.assign(Object.assign({}, defaultModelFields), value);
|
|
11952
|
+
if (this.originalData) {
|
|
11953
|
+
this.events = this.originalData;
|
|
11954
|
+
}
|
|
11955
|
+
}
|
|
11956
|
+
get modelFields() {
|
|
11957
|
+
return this._modelFields;
|
|
11958
|
+
}
|
|
11959
|
+
/**
|
|
11960
|
+
* Sets a specific width for the event.
|
|
11961
|
+
* This setting is supported only in `vertical` mode.
|
|
11962
|
+
*
|
|
11963
|
+
* @default 400
|
|
11964
|
+
*/
|
|
11965
|
+
get eventWidth() {
|
|
11966
|
+
return this._eventWidth;
|
|
11967
|
+
}
|
|
11968
|
+
set eventWidth(value) {
|
|
11969
|
+
if (value) {
|
|
11970
|
+
this._eventWidth = value;
|
|
11971
|
+
}
|
|
11972
|
+
else {
|
|
11973
|
+
this._eventWidth = DEFAULT_EVENT_WIDTH;
|
|
11974
|
+
}
|
|
11975
|
+
}
|
|
11976
|
+
/**
|
|
11977
|
+
* Sets a specific height for the event.
|
|
11978
|
+
* This setting is supported only in `horizontal` mode.
|
|
11979
|
+
*
|
|
11980
|
+
* @default 600
|
|
11981
|
+
*/
|
|
11982
|
+
get eventHeight() {
|
|
11983
|
+
return this._eventHeight;
|
|
11984
|
+
}
|
|
11985
|
+
set eventHeight(value) {
|
|
11986
|
+
if (value) {
|
|
11987
|
+
this._eventHeight = value;
|
|
11988
|
+
}
|
|
11989
|
+
else {
|
|
11990
|
+
this._eventHeight = DEFAULT_EVENT_HEIGHT;
|
|
11991
|
+
}
|
|
11992
|
+
}
|
|
11993
|
+
/**
|
|
11994
|
+
* @hidden
|
|
11995
|
+
*/
|
|
11996
|
+
get animationDuration() {
|
|
11997
|
+
if (typeof this.animation === 'number') {
|
|
11998
|
+
return this.animation;
|
|
11999
|
+
}
|
|
12000
|
+
if ((typeof this.animation === 'boolean' && this.animation) || !isPresent$1(this.animation)) {
|
|
12001
|
+
return this.orientation === 'horizontal' ? DEFAULT_HORIZONTAL_ANIMATION_DURATION : DEFAULT_VERTICAL_ANIMATION_DURATION;
|
|
12002
|
+
}
|
|
12003
|
+
return 0;
|
|
12004
|
+
}
|
|
12005
|
+
/**
|
|
12006
|
+
* Specifies the date format for displaying the event date.
|
|
12007
|
+
*
|
|
12008
|
+
* @default 'MMMM dd, yyyy'
|
|
12009
|
+
*/
|
|
12010
|
+
set dateFormat(value) {
|
|
12011
|
+
if (isPresent$1(value) && value !== '') {
|
|
12012
|
+
this._dateFormat = value;
|
|
12013
|
+
}
|
|
12014
|
+
else {
|
|
12015
|
+
this._dateFormat = DEFAULT_DATE_FORMAT;
|
|
12016
|
+
}
|
|
12017
|
+
}
|
|
12018
|
+
get dateFormat() {
|
|
12019
|
+
return this._dateFormat;
|
|
12020
|
+
}
|
|
12021
|
+
get verticalClass() {
|
|
12022
|
+
return this.orientation === 'vertical';
|
|
12023
|
+
}
|
|
12024
|
+
get horizontalClass() {
|
|
12025
|
+
return this.orientation === 'horizontal';
|
|
12026
|
+
}
|
|
12027
|
+
get alternatingClass() {
|
|
12028
|
+
return this.alterMode === true && this.orientation === 'vertical';
|
|
12029
|
+
}
|
|
12030
|
+
get collapsibleClass() {
|
|
12031
|
+
return this.collapsibleEvents === true && this.orientation === 'vertical';
|
|
12032
|
+
}
|
|
12033
|
+
ngAfterContentInit() {
|
|
12034
|
+
this.initTemplates();
|
|
12035
|
+
}
|
|
12036
|
+
ngOnDestroy() {
|
|
12037
|
+
this.subscriptions.unsubscribe();
|
|
12038
|
+
}
|
|
12039
|
+
/**
|
|
12040
|
+
* Switches to the previous portion of events.
|
|
12041
|
+
* This method is supported only in `horizontal` mode.
|
|
12042
|
+
*/
|
|
12043
|
+
previous() {
|
|
12044
|
+
var _a;
|
|
12045
|
+
(_a = this.timelineHorizontal) === null || _a === void 0 ? void 0 : _a.previous();
|
|
12046
|
+
}
|
|
12047
|
+
/**
|
|
12048
|
+
* Switches to the next portion of events.
|
|
12049
|
+
* This method is supported only in `horizontal` mode.
|
|
12050
|
+
*/
|
|
12051
|
+
next() {
|
|
12052
|
+
var _a;
|
|
12053
|
+
(_a = this.timelineHorizontal) === null || _a === void 0 ? void 0 : _a.next();
|
|
12054
|
+
}
|
|
12055
|
+
/**
|
|
12056
|
+
* Open event details.
|
|
12057
|
+
* This method is supported only in `horizontal` mode.
|
|
12058
|
+
*/
|
|
12059
|
+
open(index) {
|
|
12060
|
+
var _a;
|
|
12061
|
+
(_a = this.timelineHorizontal) === null || _a === void 0 ? void 0 : _a.open(index);
|
|
12062
|
+
}
|
|
12063
|
+
/**
|
|
12064
|
+
* Expands an event.
|
|
12065
|
+
* This method is supported only in `vertical` mode.
|
|
12066
|
+
*/
|
|
12067
|
+
expand(index) {
|
|
12068
|
+
var _a;
|
|
12069
|
+
(_a = this.timelineVertical) === null || _a === void 0 ? void 0 : _a.expand(index);
|
|
12070
|
+
}
|
|
12071
|
+
/**
|
|
12072
|
+
* Collapses an event.
|
|
12073
|
+
* This method is supported only in `vertical` mode.
|
|
12074
|
+
*/
|
|
12075
|
+
collapse(index) {
|
|
12076
|
+
var _a;
|
|
12077
|
+
(_a = this.timelineVertical) === null || _a === void 0 ? void 0 : _a.collapse(index);
|
|
12078
|
+
}
|
|
12079
|
+
initTemplates() {
|
|
12080
|
+
var _a, _b, _c, _d, _e, _f;
|
|
12081
|
+
this.headerTemplate = (_a = this.cardHeaderTemplate) === null || _a === void 0 ? void 0 : _a.first;
|
|
12082
|
+
this.bodyTemplate = (_b = this.cardBodyTemplate) === null || _b === void 0 ? void 0 : _b.first;
|
|
12083
|
+
this.actionsTemplate = (_c = this.cardActionsTemplate) === null || _c === void 0 ? void 0 : _c.first;
|
|
12084
|
+
this.subscriptions.add((_d = this.cardHeaderTemplate) === null || _d === void 0 ? void 0 : _d.changes.subscribe(() => {
|
|
12085
|
+
var _a;
|
|
12086
|
+
this.headerTemplate = ((_a = this.cardHeaderTemplate) === null || _a === void 0 ? void 0 : _a.first) || null;
|
|
12087
|
+
}));
|
|
12088
|
+
this.subscriptions.add((_e = this.cardBodyTemplate) === null || _e === void 0 ? void 0 : _e.changes.subscribe(() => {
|
|
12089
|
+
var _a;
|
|
12090
|
+
this.bodyTemplate = ((_a = this.cardBodyTemplate) === null || _a === void 0 ? void 0 : _a.first) || null;
|
|
12091
|
+
}));
|
|
12092
|
+
this.subscriptions.add((_f = this.cardActionsTemplate) === null || _f === void 0 ? void 0 : _f.changes.subscribe(() => {
|
|
12093
|
+
var _a;
|
|
12094
|
+
this.actionsTemplate = ((_a = this.cardActionsTemplate) === null || _a === void 0 ? void 0 : _a.first) || null;
|
|
12095
|
+
}));
|
|
12096
|
+
}
|
|
12097
|
+
}
|
|
12098
|
+
TimelineComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimelineComponent, deps: [{ token: TimelineService }], target: i0.ɵɵFactoryTarget.Component });
|
|
12099
|
+
TimelineComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TimelineComponent, selector: "kendo-timeline", inputs: { events: "events", modelFields: "modelFields", orientation: "orientation", alterMode: "alterMode", collapsibleEvents: "collapsibleEvents", navigable: "navigable", showDateLabels: "showDateLabels", animation: "animation", eventWidth: "eventWidth", eventHeight: "eventHeight", dateFormat: "dateFormat" }, outputs: { onToggle: "onToggle", onActionClick: "onActionClick", onNavigate: "onNavigate" }, host: { properties: { "class.k-timeline": "this.hostClass", "class.k-timeline-vertical": "this.verticalClass", "class.k-timeline-horizontal": "this.horizontalClass", "class.k-timeline-alternating": "this.alternatingClass", "class.k-timeline-collapsible": "this.collapsibleClass" } }, providers: [
|
|
12100
|
+
TimelineService,
|
|
12101
|
+
LocalizationService,
|
|
12102
|
+
{
|
|
12103
|
+
provide: L10N_PREFIX,
|
|
12104
|
+
useValue: 'kendo.timeline'
|
|
12105
|
+
}
|
|
12106
|
+
], queries: [{ propertyName: "cardHeaderTemplate", predicate: TimelineCardHeaderTemplateDirective }, { propertyName: "cardBodyTemplate", predicate: TimelineCardBodyTemplateDirective }, { propertyName: "cardActionsTemplate", predicate: TimelineCardActionsTemplateDirective }], viewQueries: [{ propertyName: "timelineHorizontal", first: true, predicate: TimelineHorizontalComponent, descendants: true }, { propertyName: "timelineVertical", first: true, predicate: TimelineVerticalComponent, descendants: true }], exportAs: ["kendoTimeline"], ngImport: i0, template: `
|
|
12107
|
+
<ng-container kendoTimelineLocalizedMessages
|
|
12108
|
+
i18n-previous="kendo.timeline.previous|The title of the previous button in horizontal orientation."
|
|
12109
|
+
previous="previous"
|
|
12110
|
+
>
|
|
12111
|
+
</ng-container>
|
|
12112
|
+
<ng-container kendoTimelineLocalizedMessages
|
|
12113
|
+
i18n-next="kendo.timeline.next|The title of the next button in horizontal orientation."
|
|
12114
|
+
next="next"
|
|
12115
|
+
>
|
|
12116
|
+
</ng-container>
|
|
12117
|
+
<kendo-timeline-vertical
|
|
12118
|
+
*ngIf="orientation === 'vertical'"
|
|
12119
|
+
[events]="events"
|
|
12120
|
+
[alterMode]="alterMode"
|
|
12121
|
+
[collapsibleEvents]="collapsibleEvents"
|
|
12122
|
+
[navigable]="navigable"
|
|
12123
|
+
[showDateLabels]="showDateLabels"
|
|
12124
|
+
[animationDuration]="animationDuration"
|
|
12125
|
+
[eventWidth]="eventWidth"
|
|
12126
|
+
[dateFormat]="dateFormat"
|
|
12127
|
+
[headerTemplate]="headerTemplate"
|
|
12128
|
+
[bodyTemplate]="bodyTemplate"
|
|
12129
|
+
[actionsTemplate]="actionsTemplate"
|
|
12130
|
+
>
|
|
12131
|
+
</kendo-timeline-vertical>
|
|
12132
|
+
<kendo-timeline-horizontal
|
|
12133
|
+
*ngIf="orientation === 'horizontal'"
|
|
12134
|
+
[events]="events"
|
|
12135
|
+
[collapsibleEvents]="false"
|
|
12136
|
+
[navigable]="navigable"
|
|
12137
|
+
[showDateLabels]="showDateLabels"
|
|
12138
|
+
[animationDuration]="animationDuration"
|
|
12139
|
+
[eventHeight]="eventHeight"
|
|
12140
|
+
[dateFormat]="dateFormat"
|
|
12141
|
+
[headerTemplate]="headerTemplate"
|
|
12142
|
+
[bodyTemplate]="bodyTemplate"
|
|
12143
|
+
[actionsTemplate]="actionsTemplate"
|
|
12144
|
+
>
|
|
12145
|
+
</kendo-timeline-horizontal>
|
|
12146
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: TimelineVerticalComponent, selector: "kendo-timeline-vertical", inputs: ["events", "alterMode", "collapsibleEvents", "navigable", "showDateLabels", "animationDuration", "eventWidth", "dateFormat", "headerTemplate", "bodyTemplate", "actionsTemplate"], exportAs: ["kendoTimelineVertical"] }, { kind: "component", type: TimelineHorizontalComponent, selector: "kendo-timeline-horizontal", inputs: ["events", "alterMode", "collapsibleEvents", "navigable", "showDateLabels", "animationDuration", "eventHeight", "dateFormat", "headerTemplate", "bodyTemplate", "actionsTemplate"], exportAs: ["kendoTimelineHorizontal"] }, { kind: "directive", type: LocalizedTimelineMessagesDirective, selector: "[kendoTimelineLocalizedMessages]" }] });
|
|
12147
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimelineComponent, decorators: [{
|
|
12148
|
+
type: Component,
|
|
12149
|
+
args: [{
|
|
12150
|
+
providers: [
|
|
12151
|
+
TimelineService,
|
|
12152
|
+
LocalizationService,
|
|
12153
|
+
{
|
|
12154
|
+
provide: L10N_PREFIX,
|
|
12155
|
+
useValue: 'kendo.timeline'
|
|
12156
|
+
}
|
|
12157
|
+
],
|
|
12158
|
+
exportAs: 'kendoTimeline',
|
|
12159
|
+
selector: 'kendo-timeline',
|
|
12160
|
+
template: `
|
|
12161
|
+
<ng-container kendoTimelineLocalizedMessages
|
|
12162
|
+
i18n-previous="kendo.timeline.previous|The title of the previous button in horizontal orientation."
|
|
12163
|
+
previous="previous"
|
|
12164
|
+
>
|
|
12165
|
+
</ng-container>
|
|
12166
|
+
<ng-container kendoTimelineLocalizedMessages
|
|
12167
|
+
i18n-next="kendo.timeline.next|The title of the next button in horizontal orientation."
|
|
12168
|
+
next="next"
|
|
12169
|
+
>
|
|
12170
|
+
</ng-container>
|
|
12171
|
+
<kendo-timeline-vertical
|
|
12172
|
+
*ngIf="orientation === 'vertical'"
|
|
12173
|
+
[events]="events"
|
|
12174
|
+
[alterMode]="alterMode"
|
|
12175
|
+
[collapsibleEvents]="collapsibleEvents"
|
|
12176
|
+
[navigable]="navigable"
|
|
12177
|
+
[showDateLabels]="showDateLabels"
|
|
12178
|
+
[animationDuration]="animationDuration"
|
|
12179
|
+
[eventWidth]="eventWidth"
|
|
12180
|
+
[dateFormat]="dateFormat"
|
|
12181
|
+
[headerTemplate]="headerTemplate"
|
|
12182
|
+
[bodyTemplate]="bodyTemplate"
|
|
12183
|
+
[actionsTemplate]="actionsTemplate"
|
|
12184
|
+
>
|
|
12185
|
+
</kendo-timeline-vertical>
|
|
12186
|
+
<kendo-timeline-horizontal
|
|
12187
|
+
*ngIf="orientation === 'horizontal'"
|
|
12188
|
+
[events]="events"
|
|
12189
|
+
[collapsibleEvents]="false"
|
|
12190
|
+
[navigable]="navigable"
|
|
12191
|
+
[showDateLabels]="showDateLabels"
|
|
12192
|
+
[animationDuration]="animationDuration"
|
|
12193
|
+
[eventHeight]="eventHeight"
|
|
12194
|
+
[dateFormat]="dateFormat"
|
|
12195
|
+
[headerTemplate]="headerTemplate"
|
|
12196
|
+
[bodyTemplate]="bodyTemplate"
|
|
12197
|
+
[actionsTemplate]="actionsTemplate"
|
|
12198
|
+
>
|
|
12199
|
+
</kendo-timeline-horizontal>
|
|
12200
|
+
`,
|
|
12201
|
+
}]
|
|
12202
|
+
}], ctorParameters: function () { return [{ type: TimelineService }]; }, propDecorators: { events: [{
|
|
12203
|
+
type: Input
|
|
12204
|
+
}], modelFields: [{
|
|
12205
|
+
type: Input
|
|
12206
|
+
}], orientation: [{
|
|
12207
|
+
type: Input
|
|
12208
|
+
}], alterMode: [{
|
|
12209
|
+
type: Input
|
|
12210
|
+
}], collapsibleEvents: [{
|
|
12211
|
+
type: Input
|
|
12212
|
+
}], navigable: [{
|
|
12213
|
+
type: Input
|
|
12214
|
+
}], showDateLabels: [{
|
|
12215
|
+
type: Input
|
|
12216
|
+
}], animation: [{
|
|
12217
|
+
type: Input
|
|
12218
|
+
}], eventWidth: [{
|
|
12219
|
+
type: Input
|
|
12220
|
+
}], eventHeight: [{
|
|
12221
|
+
type: Input
|
|
12222
|
+
}], dateFormat: [{
|
|
12223
|
+
type: Input
|
|
12224
|
+
}], hostClass: [{
|
|
12225
|
+
type: HostBinding,
|
|
12226
|
+
args: ['class.k-timeline']
|
|
12227
|
+
}], verticalClass: [{
|
|
12228
|
+
type: HostBinding,
|
|
12229
|
+
args: ['class.k-timeline-vertical']
|
|
12230
|
+
}], horizontalClass: [{
|
|
12231
|
+
type: HostBinding,
|
|
12232
|
+
args: ['class.k-timeline-horizontal']
|
|
12233
|
+
}], alternatingClass: [{
|
|
12234
|
+
type: HostBinding,
|
|
12235
|
+
args: ['class.k-timeline-alternating']
|
|
12236
|
+
}], collapsibleClass: [{
|
|
12237
|
+
type: HostBinding,
|
|
12238
|
+
args: ['class.k-timeline-collapsible']
|
|
12239
|
+
}], timelineHorizontal: [{
|
|
12240
|
+
type: ViewChild,
|
|
12241
|
+
args: [TimelineHorizontalComponent]
|
|
12242
|
+
}], timelineVertical: [{
|
|
12243
|
+
type: ViewChild,
|
|
12244
|
+
args: [TimelineVerticalComponent]
|
|
12245
|
+
}], cardHeaderTemplate: [{
|
|
12246
|
+
type: ContentChildren,
|
|
12247
|
+
args: [TimelineCardHeaderTemplateDirective, { descendants: false }]
|
|
12248
|
+
}], cardBodyTemplate: [{
|
|
12249
|
+
type: ContentChildren,
|
|
12250
|
+
args: [TimelineCardBodyTemplateDirective, { descendants: false }]
|
|
12251
|
+
}], cardActionsTemplate: [{
|
|
12252
|
+
type: ContentChildren,
|
|
12253
|
+
args: [TimelineCardActionsTemplateDirective, { descendants: false }]
|
|
12254
|
+
}], onToggle: [{
|
|
12255
|
+
type: Output
|
|
12256
|
+
}], onActionClick: [{
|
|
12257
|
+
type: Output
|
|
12258
|
+
}], onNavigate: [{
|
|
12259
|
+
type: Output
|
|
12260
|
+
}] } });
|
|
12261
|
+
|
|
12262
|
+
/**
|
|
12263
|
+
* Custom component messages override default component messages.
|
|
12264
|
+
*/
|
|
12265
|
+
class TimelineCustomMessagesComponent extends TimelineMessages {
|
|
12266
|
+
constructor(service) {
|
|
12267
|
+
super();
|
|
12268
|
+
this.service = service;
|
|
12269
|
+
}
|
|
12270
|
+
get override() {
|
|
12271
|
+
return true;
|
|
12272
|
+
}
|
|
12273
|
+
}
|
|
12274
|
+
TimelineCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimelineCustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
12275
|
+
TimelineCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TimelineCustomMessagesComponent, selector: "kendo-timeline-messages", providers: [
|
|
12276
|
+
{
|
|
12277
|
+
provide: TimelineMessages,
|
|
12278
|
+
useExisting: forwardRef(() => TimelineCustomMessagesComponent),
|
|
12279
|
+
},
|
|
12280
|
+
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
12281
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimelineCustomMessagesComponent, decorators: [{
|
|
12282
|
+
type: Component,
|
|
12283
|
+
args: [{
|
|
12284
|
+
providers: [
|
|
12285
|
+
{
|
|
12286
|
+
provide: TimelineMessages,
|
|
12287
|
+
useExisting: forwardRef(() => TimelineCustomMessagesComponent),
|
|
12288
|
+
},
|
|
12289
|
+
],
|
|
12290
|
+
selector: 'kendo-timeline-messages',
|
|
12291
|
+
template: ``,
|
|
12292
|
+
}]
|
|
12293
|
+
}], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
|
|
12294
|
+
|
|
12295
|
+
const exportedModules = [
|
|
12296
|
+
TimelineComponent,
|
|
12297
|
+
TimelineCustomMessagesComponent,
|
|
12298
|
+
TimelineCardHeaderTemplateDirective,
|
|
12299
|
+
TimelineCardBodyTemplateDirective,
|
|
12300
|
+
TimelineCardActionsTemplateDirective
|
|
12301
|
+
];
|
|
12302
|
+
const declarations = [
|
|
12303
|
+
...exportedModules,
|
|
12304
|
+
TimelineVerticalComponent,
|
|
12305
|
+
TimelineHorizontalComponent,
|
|
12306
|
+
TimelineCardComponent,
|
|
12307
|
+
LocalizedTimelineMessagesDirective,
|
|
12308
|
+
];
|
|
12309
|
+
/**
|
|
12310
|
+
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
12311
|
+
* definition for the Timeline component.
|
|
12312
|
+
*
|
|
12313
|
+
* The module registers:
|
|
12314
|
+
* - `TimelineComponent`—The `TimelineComponent` component class.
|
|
12315
|
+
*/
|
|
12316
|
+
class TimelineModule {
|
|
12317
|
+
}
|
|
12318
|
+
TimelineModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimelineModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
12319
|
+
TimelineModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: TimelineModule, declarations: [TimelineComponent,
|
|
12320
|
+
TimelineCustomMessagesComponent,
|
|
12321
|
+
TimelineCardHeaderTemplateDirective,
|
|
12322
|
+
TimelineCardBodyTemplateDirective,
|
|
12323
|
+
TimelineCardActionsTemplateDirective, TimelineVerticalComponent,
|
|
12324
|
+
TimelineHorizontalComponent,
|
|
12325
|
+
TimelineCardComponent,
|
|
12326
|
+
LocalizedTimelineMessagesDirective], imports: [CommonModule, CardModule, ButtonModule, IconsModule, IntlModule], exports: [TimelineComponent,
|
|
12327
|
+
TimelineCustomMessagesComponent,
|
|
12328
|
+
TimelineCardHeaderTemplateDirective,
|
|
12329
|
+
TimelineCardBodyTemplateDirective,
|
|
12330
|
+
TimelineCardActionsTemplateDirective] });
|
|
12331
|
+
TimelineModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimelineModule, imports: [CommonModule, CardModule, ButtonModule, IconsModule, IntlModule] });
|
|
12332
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimelineModule, decorators: [{
|
|
12333
|
+
type: NgModule,
|
|
12334
|
+
args: [{
|
|
12335
|
+
declarations: [declarations],
|
|
12336
|
+
exports: [exportedModules],
|
|
12337
|
+
imports: [CommonModule, CardModule, ButtonModule, IconsModule, IntlModule]
|
|
12338
|
+
}]
|
|
12339
|
+
}] });
|
|
12340
|
+
|
|
10417
12341
|
/**
|
|
10418
12342
|
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
10419
12343
|
* definition for the Layout components.
|
|
@@ -10447,8 +12371,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
10447
12371
|
*/
|
|
10448
12372
|
class LayoutModule {
|
|
10449
12373
|
}
|
|
10450
|
-
LayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10451
|
-
LayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
12374
|
+
LayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
12375
|
+
LayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: LayoutModule, exports: [AvatarModule,
|
|
10452
12376
|
CardModule,
|
|
10453
12377
|
DrawerModule,
|
|
10454
12378
|
PanelBarModule,
|
|
@@ -10458,8 +12382,9 @@ LayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
|
10458
12382
|
TabStripModule,
|
|
10459
12383
|
TileLayoutModule,
|
|
10460
12384
|
StackLayoutModule,
|
|
10461
|
-
GridLayoutModule
|
|
10462
|
-
|
|
12385
|
+
GridLayoutModule,
|
|
12386
|
+
TimelineModule] });
|
|
12387
|
+
LayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LayoutModule, imports: [AvatarModule,
|
|
10463
12388
|
CardModule,
|
|
10464
12389
|
DrawerModule,
|
|
10465
12390
|
PanelBarModule,
|
|
@@ -10469,8 +12394,9 @@ LayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
|
10469
12394
|
TabStripModule,
|
|
10470
12395
|
TileLayoutModule,
|
|
10471
12396
|
StackLayoutModule,
|
|
10472
|
-
GridLayoutModule
|
|
10473
|
-
|
|
12397
|
+
GridLayoutModule,
|
|
12398
|
+
TimelineModule] });
|
|
12399
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LayoutModule, decorators: [{
|
|
10474
12400
|
type: NgModule,
|
|
10475
12401
|
args: [{
|
|
10476
12402
|
exports: [
|
|
@@ -10484,7 +12410,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
10484
12410
|
TabStripModule,
|
|
10485
12411
|
TileLayoutModule,
|
|
10486
12412
|
StackLayoutModule,
|
|
10487
|
-
GridLayoutModule
|
|
12413
|
+
GridLayoutModule,
|
|
12414
|
+
TimelineModule,
|
|
10488
12415
|
]
|
|
10489
12416
|
}]
|
|
10490
12417
|
}] });
|
|
@@ -10493,5 +12420,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
10493
12420
|
* Generated bundle index. Do not edit.
|
|
10494
12421
|
*/
|
|
10495
12422
|
|
|
10496
|
-
export { AvatarComponent, AvatarCustomMessagesComponent, AvatarModule, CardAction, CardActionsComponent, CardBodyComponent, CardComponent, CardFooterComponent, CardHeaderComponent, CardMediaDirective, CardModule, CardSeparatorDirective, CardSubtitleDirective, CardTitleDirective, DrawerComponent, DrawerContainerComponent, DrawerContentComponent, DrawerFooterTemplateDirective, DrawerHeaderTemplateDirective, DrawerItemTemplateDirective, DrawerModule, DrawerSelectEvent, DrawerTemplateDirective, ExpansionPanelActionEvent, ExpansionPanelComponent, ExpansionPanelModule, ExpansionPanelTitleDirective, GridLayoutComponent, GridLayoutItemComponent, GridLayoutModule, LayoutModule, LocalizedAvatarMessagesDirective, LocalizedStepperMessagesDirective, LocalizedTabStripMessagesDirective, PanelBarCollapseEvent, PanelBarComponent, PanelBarContentDirective, PanelBarExpandEvent, PanelBarExpandMode, PanelBarItemClickEvent, PanelBarItemComponent, PanelBarItemTemplateDirective, PanelBarItemTitleDirective, PanelBarModule, PanelBarSelectEvent, PanelBarStateChangeEvent, SelectEvent, SplitterComponent, SplitterModule, SplitterPaneComponent, StackLayoutComponent, StackLayoutModule, StepperActivateEvent, StepperComponent, StepperCustomMessagesComponent, StepperIndicatorTemplateDirective, StepperLabelTemplateDirective, StepperModule, StepperStepTemplateDirective, TabCloseEvent, TabComponent, TabContentDirective, TabStripComponent, TabStripCustomMessagesComponent, TabStripModule, TabStripTabComponent, TabTemplateDirective, TabTitleDirective, TileLayoutComponent, TileLayoutItemBodyComponent, TileLayoutItemComponent, TileLayoutItemHeaderComponent, TileLayoutModule, TileLayoutReorderEvent, TileLayoutResizeEvent, TileLayoutResizeHandleDirective };
|
|
12423
|
+
export { AvatarComponent, AvatarCustomMessagesComponent, AvatarModule, CardAction, CardActionsComponent, CardBodyComponent, CardComponent, CardFooterComponent, CardHeaderComponent, CardMediaDirective, CardModule, CardSeparatorDirective, CardSubtitleDirective, CardTitleDirective, DrawerComponent, DrawerContainerComponent, DrawerContentComponent, DrawerFooterTemplateDirective, DrawerHeaderTemplateDirective, DrawerItemTemplateDirective, DrawerModule, DrawerSelectEvent, DrawerTemplateDirective, ExpansionPanelActionEvent, ExpansionPanelComponent, ExpansionPanelModule, ExpansionPanelTitleDirective, GridLayoutComponent, GridLayoutItemComponent, GridLayoutModule, LayoutModule, LocalizedAvatarMessagesDirective, LocalizedStepperMessagesDirective, LocalizedTabStripMessagesDirective, PanelBarCollapseEvent, PanelBarComponent, PanelBarContentDirective, PanelBarExpandEvent, PanelBarExpandMode, PanelBarItemClickEvent, PanelBarItemComponent, PanelBarItemTemplateDirective, PanelBarItemTitleDirective, PanelBarModule, PanelBarSelectEvent, PanelBarStateChangeEvent, SelectEvent, SplitterComponent, SplitterModule, SplitterPaneComponent, StackLayoutComponent, StackLayoutModule, StepperActivateEvent, StepperComponent, StepperCustomMessagesComponent, StepperIndicatorTemplateDirective, StepperLabelTemplateDirective, StepperModule, StepperStepTemplateDirective, TabCloseEvent, TabComponent, TabContentDirective, TabStripComponent, TabStripCustomMessagesComponent, TabStripModule, TabStripTabComponent, TabTemplateDirective, TabTitleDirective, TileLayoutComponent, TileLayoutItemBodyComponent, TileLayoutItemComponent, TileLayoutItemHeaderComponent, TileLayoutModule, TileLayoutReorderEvent, TileLayoutResizeEvent, TileLayoutResizeHandleDirective, TimelineCardActionsTemplateDirective, TimelineCardBodyTemplateDirective, TimelineCardHeaderTemplateDirective, TimelineComponent, TimelineCustomMessagesComponent, TimelineModule };
|
|
10497
12424
|
|