@progress/kendo-angular-layout 16.0.0-develop.2 → 16.0.0-develop.5
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 +6 -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 +6 -6
- package/esm2020/panelbar/panelbar.component.mjs +6 -6
- 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 +8 -8
- 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 +402 -0
- package/esm2020/timeline/timeline-horizontal.component.mjs +722 -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 +2513 -584
- package/fesm2020/progress-kendo-angular-layout.mjs +2249 -347
- 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 +13 -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 -1
- 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 +186 -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 { Injectable, Directive, Optional, 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: 1714129718,
|
|
37
|
+
version: '16.0.0-develop.5',
|
|
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
|
|
|
@@ -94,9 +96,9 @@ class PanelBarService {
|
|
|
94
96
|
this.parentSource.next(false);
|
|
95
97
|
}
|
|
96
98
|
}
|
|
97
|
-
PanelBarService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
98
|
-
PanelBarService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
99
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
99
|
+
PanelBarService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: PanelBarService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
100
|
+
PanelBarService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: PanelBarService });
|
|
101
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: PanelBarService, decorators: [{
|
|
100
102
|
type: Injectable
|
|
101
103
|
}], ctorParameters: function () { return []; } });
|
|
102
104
|
|
|
@@ -109,9 +111,9 @@ class PanelBarContentDirective {
|
|
|
109
111
|
this.templateRef = templateRef;
|
|
110
112
|
}
|
|
111
113
|
}
|
|
112
|
-
PanelBarContentDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
113
|
-
PanelBarContentDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
114
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
114
|
+
PanelBarContentDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: PanelBarContentDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
115
|
+
PanelBarContentDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: PanelBarContentDirective, selector: "[kendoPanelBarContent]", ngImport: i0 });
|
|
116
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: PanelBarContentDirective, decorators: [{
|
|
115
117
|
type: Directive,
|
|
116
118
|
args: [{
|
|
117
119
|
selector: "[kendoPanelBarContent]"
|
|
@@ -149,9 +151,9 @@ class PanelBarItemTitleDirective {
|
|
|
149
151
|
this.templateRef = templateRef;
|
|
150
152
|
}
|
|
151
153
|
}
|
|
152
|
-
PanelBarItemTitleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
153
|
-
PanelBarItemTitleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
154
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
154
|
+
PanelBarItemTitleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: PanelBarItemTitleDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
155
|
+
PanelBarItemTitleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: PanelBarItemTitleDirective, selector: "[kendoPanelBarItemTitle]", ngImport: i0 });
|
|
156
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: PanelBarItemTitleDirective, decorators: [{
|
|
155
157
|
type: Directive,
|
|
156
158
|
args: [{
|
|
157
159
|
selector: '[kendoPanelBarItemTitle]'
|
|
@@ -546,8 +548,8 @@ class PanelBarItemComponent {
|
|
|
546
548
|
this.wrapperFocused = focused;
|
|
547
549
|
}
|
|
548
550
|
}
|
|
549
|
-
PanelBarItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
550
|
-
PanelBarItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
551
|
+
PanelBarItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", 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 });
|
|
552
|
+
PanelBarItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", 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-state-default": "this.kStateDefaultClass", "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: `
|
|
551
553
|
<span
|
|
552
554
|
#header
|
|
553
555
|
[class.k-link]="true"
|
|
@@ -669,7 +671,7 @@ PanelBarItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
669
671
|
</ng-template>
|
|
670
672
|
<ng-template [ngIf]="!template">{{content}}</ng-template>
|
|
671
673
|
</div>
|
|
672
|
-
</div>`, isInline: true,
|
|
674
|
+
</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: [
|
|
673
675
|
trigger('toggle', [
|
|
674
676
|
state('inactive', style({ display: 'none' })),
|
|
675
677
|
transition('* => active', [
|
|
@@ -682,7 +684,7 @@ PanelBarItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
682
684
|
])
|
|
683
685
|
])
|
|
684
686
|
] });
|
|
685
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
687
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: PanelBarItemComponent, decorators: [{
|
|
686
688
|
type: Component,
|
|
687
689
|
args: [{
|
|
688
690
|
animations: [
|
|
@@ -912,9 +914,9 @@ class PanelBarItemTemplateDirective {
|
|
|
912
914
|
this.templateRef = templateRef;
|
|
913
915
|
}
|
|
914
916
|
}
|
|
915
|
-
PanelBarItemTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
916
|
-
PanelBarItemTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
917
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
917
|
+
PanelBarItemTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: PanelBarItemTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
918
|
+
PanelBarItemTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: PanelBarItemTemplateDirective, selector: "[kendoPanelBarItemTemplate]", ngImport: i0 });
|
|
919
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: PanelBarItemTemplateDirective, decorators: [{
|
|
918
920
|
type: Directive,
|
|
919
921
|
args: [{
|
|
920
922
|
selector: '[kendoPanelBarItemTemplate]'
|
|
@@ -1455,8 +1457,8 @@ class PanelBarComponent {
|
|
|
1455
1457
|
return flattedItems;
|
|
1456
1458
|
}
|
|
1457
1459
|
}
|
|
1458
|
-
PanelBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1459
|
-
PanelBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
1460
|
+
PanelBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", 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.0.4", 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", "class.k-pos-relative": "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: [
|
|
1460
1462
|
PanelBarService,
|
|
1461
1463
|
LocalizationService,
|
|
1462
1464
|
{
|
|
@@ -1486,8 +1488,8 @@ PanelBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
|
1486
1488
|
</ng-template>
|
|
1487
1489
|
|
|
1488
1490
|
<div kendoWatermarkOverlay *ngIf="showLicenseWatermark"></div>
|
|
1489
|
-
`, isInline: true,
|
|
1490
|
-
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.0.4", ngImport: i0, type: PanelBarComponent, decorators: [{
|
|
1491
1493
|
type: Component,
|
|
1492
1494
|
args: [{
|
|
1493
1495
|
exportAs: 'kendoPanelbar',
|
|
@@ -1753,12 +1755,12 @@ class SplitterPaneComponent {
|
|
|
1753
1755
|
this.renderer.setStyle(element, 'order', this.order);
|
|
1754
1756
|
}
|
|
1755
1757
|
}
|
|
1756
|
-
SplitterPaneComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1757
|
-
SplitterPaneComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
1758
|
+
SplitterPaneComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: SplitterPaneComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
1759
|
+
SplitterPaneComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", 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: `
|
|
1758
1760
|
<ng-container *ngIf="!collapsed"><ng-content></ng-content></ng-container>
|
|
1759
1761
|
<div *ngIf="overlayContent" class="k-splitter-overlay k-overlay"></div>
|
|
1760
|
-
`, isInline: true,
|
|
1761
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1762
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
1763
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: SplitterPaneComponent, decorators: [{
|
|
1762
1764
|
type: Component,
|
|
1763
1765
|
args: [{
|
|
1764
1766
|
exportAs: 'kendoSplitterPane',
|
|
@@ -1998,9 +2000,9 @@ class SplitterService {
|
|
|
1998
2000
|
}
|
|
1999
2001
|
}
|
|
2000
2002
|
}
|
|
2001
|
-
SplitterService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2002
|
-
SplitterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2003
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2003
|
+
SplitterService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: SplitterService, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2004
|
+
SplitterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: SplitterService });
|
|
2005
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: SplitterService, decorators: [{
|
|
2004
2006
|
type: Injectable
|
|
2005
2007
|
}], ctorParameters: function () { return [{ type: i0.NgZone }]; } });
|
|
2006
2008
|
|
|
@@ -2205,8 +2207,8 @@ class SplitterBarComponent {
|
|
|
2205
2207
|
}
|
|
2206
2208
|
}
|
|
2207
2209
|
}
|
|
2208
|
-
SplitterBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2209
|
-
SplitterBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
2210
|
+
SplitterBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", 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 });
|
|
2211
|
+
SplitterBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", 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: `
|
|
2210
2212
|
<div *ngIf="shouldShowIcon('prev')" class="k-collapse-prev" (click)="togglePrevious()">
|
|
2211
2213
|
<kendo-icon-wrapper
|
|
2212
2214
|
size="xsmall"
|
|
@@ -2222,8 +2224,8 @@ SplitterBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
2222
2224
|
[svgIcon]="nextSVGArrowClass()"
|
|
2223
2225
|
></kendo-icon-wrapper>
|
|
2224
2226
|
</div>
|
|
2225
|
-
`, isInline: true,
|
|
2226
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2227
|
+
`, 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"] }] });
|
|
2228
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: SplitterBarComponent, decorators: [{
|
|
2227
2229
|
type: Component,
|
|
2228
2230
|
args: [{
|
|
2229
2231
|
selector: 'kendo-splitter-bar',
|
|
@@ -2245,7 +2247,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
2245
2247
|
</div>
|
|
2246
2248
|
`
|
|
2247
2249
|
}]
|
|
2248
|
-
}], ctorParameters: function () { return [{ type:
|
|
2250
|
+
}], ctorParameters: function () { return [{ type: i5.DraggableDirective, decorators: [{
|
|
2249
2251
|
type: Host
|
|
2250
2252
|
}] }, { type: i1.LocalizationService }, { type: SplitterService }, { type: i0.ElementRef }, { type: i0.Renderer2 }]; }, propDecorators: { ariaRole: [{
|
|
2251
2253
|
type: HostBinding,
|
|
@@ -2413,8 +2415,8 @@ class SplitterComponent {
|
|
|
2413
2415
|
return this.localization.rtl ? 'rtl' : 'ltr';
|
|
2414
2416
|
}
|
|
2415
2417
|
}
|
|
2416
|
-
SplitterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2417
|
-
SplitterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
2418
|
+
SplitterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", 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 });
|
|
2419
|
+
SplitterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", 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: [
|
|
2418
2420
|
SplitterService,
|
|
2419
2421
|
LocalizationService,
|
|
2420
2422
|
{
|
|
@@ -2439,8 +2441,8 @@ SplitterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
|
2439
2441
|
}">
|
|
2440
2442
|
</kendo-splitter-bar>
|
|
2441
2443
|
</ng-container>
|
|
2442
|
-
`, isInline: true,
|
|
2443
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2444
|
+
`, 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"] }] });
|
|
2445
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: SplitterComponent, decorators: [{
|
|
2444
2446
|
type: Component,
|
|
2445
2447
|
args: [{
|
|
2446
2448
|
exportAs: 'kendoSplitter',
|
|
@@ -2546,9 +2548,9 @@ class TabContentDirective {
|
|
|
2546
2548
|
this.templateRef = templateRef;
|
|
2547
2549
|
}
|
|
2548
2550
|
}
|
|
2549
|
-
TabContentDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2550
|
-
TabContentDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
2551
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2551
|
+
TabContentDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: TabContentDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2552
|
+
TabContentDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: TabContentDirective, selector: "[kendoTabContent]", ngImport: i0 });
|
|
2553
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: TabContentDirective, decorators: [{
|
|
2552
2554
|
type: Directive,
|
|
2553
2555
|
args: [{
|
|
2554
2556
|
selector: '[kendoTabContent]'
|
|
@@ -2595,9 +2597,9 @@ class TabTitleDirective {
|
|
|
2595
2597
|
this.templateRef = templateRef;
|
|
2596
2598
|
}
|
|
2597
2599
|
}
|
|
2598
|
-
TabTitleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2599
|
-
TabTitleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
2600
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2600
|
+
TabTitleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: TabTitleDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2601
|
+
TabTitleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: TabTitleDirective, selector: "[kendoTabTitle]", ngImport: i0 });
|
|
2602
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: TabTitleDirective, decorators: [{
|
|
2601
2603
|
type: Directive,
|
|
2602
2604
|
args: [{
|
|
2603
2605
|
selector: '[kendoTabTitle]'
|
|
@@ -2612,9 +2614,9 @@ class TabTemplateDirective {
|
|
|
2612
2614
|
this.templateRef = templateRef;
|
|
2613
2615
|
}
|
|
2614
2616
|
}
|
|
2615
|
-
TabTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2616
|
-
TabTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
2617
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2617
|
+
TabTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: TabTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2618
|
+
TabTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: TabTemplateDirective, selector: "[kendoTabTemplate]", ngImport: i0 });
|
|
2619
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: TabTemplateDirective, decorators: [{
|
|
2618
2620
|
type: Directive,
|
|
2619
2621
|
args: [{
|
|
2620
2622
|
selector: '[kendoTabTemplate]'
|
|
@@ -2652,9 +2654,9 @@ class TabStripTabComponent {
|
|
|
2652
2654
|
return this._tabDirective.first;
|
|
2653
2655
|
}
|
|
2654
2656
|
}
|
|
2655
|
-
TabStripTabComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2656
|
-
TabStripTabComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
2657
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2657
|
+
TabStripTabComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: TabStripTabComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2658
|
+
TabStripTabComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", 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 });
|
|
2659
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: TabStripTabComponent, decorators: [{
|
|
2658
2660
|
type: Component,
|
|
2659
2661
|
args: [{
|
|
2660
2662
|
exportAs: 'kendoTabStripTab',
|
|
@@ -2969,9 +2971,9 @@ class TabStripService {
|
|
|
2969
2971
|
return selectedIndex + 1;
|
|
2970
2972
|
}
|
|
2971
2973
|
}
|
|
2972
|
-
TabStripService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2973
|
-
TabStripService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2974
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2974
|
+
TabStripService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: TabStripService, deps: [{ token: i1.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2975
|
+
TabStripService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: TabStripService });
|
|
2976
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: TabStripService, decorators: [{
|
|
2975
2977
|
type: Injectable
|
|
2976
2978
|
}], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i0.NgZone }]; } });
|
|
2977
2979
|
|
|
@@ -3169,9 +3171,9 @@ class ScrollService {
|
|
|
3169
3171
|
this.scrollButtonActiveStateChange.next({ buttonType, active });
|
|
3170
3172
|
}
|
|
3171
3173
|
}
|
|
3172
|
-
ScrollService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3173
|
-
ScrollService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3174
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3174
|
+
ScrollService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: ScrollService, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3175
|
+
ScrollService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: ScrollService });
|
|
3176
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: ScrollService, decorators: [{
|
|
3175
3177
|
type: Injectable
|
|
3176
3178
|
}], ctorParameters: function () { return [{ type: i0.NgZone }]; } });
|
|
3177
3179
|
|
|
@@ -3327,8 +3329,8 @@ class TabStripScrollableButtonComponent {
|
|
|
3327
3329
|
return scrollEvent;
|
|
3328
3330
|
}
|
|
3329
3331
|
}
|
|
3330
|
-
TabStripScrollableButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3331
|
-
TabStripScrollableButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
3332
|
+
TabStripScrollableButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: TabStripScrollableButtonComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
3333
|
+
TabStripScrollableButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", 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: `
|
|
3332
3334
|
<kendo-icon-wrapper
|
|
3333
3335
|
[name]="iconClass"
|
|
3334
3336
|
[customFontClass]="customIconClass"
|
|
@@ -3336,8 +3338,8 @@ TabStripScrollableButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion
|
|
|
3336
3338
|
innerCssClass="k-button-icon"
|
|
3337
3339
|
>
|
|
3338
3340
|
</kendo-icon-wrapper>
|
|
3339
|
-
`, isInline: true,
|
|
3340
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3341
|
+
`, isInline: true, dependencies: [{ kind: "component", type: i3.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }] });
|
|
3342
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: TabStripScrollableButtonComponent, decorators: [{
|
|
3341
3343
|
type: Component,
|
|
3342
3344
|
args: [{
|
|
3343
3345
|
template: `
|
|
@@ -3433,8 +3435,8 @@ class TabComponent {
|
|
|
3433
3435
|
this.tabClose.emit(closeArgs);
|
|
3434
3436
|
}
|
|
3435
3437
|
}
|
|
3436
|
-
TabComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3437
|
-
TabComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
3438
|
+
TabComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: TabComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
3439
|
+
TabComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", 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: `
|
|
3438
3440
|
<ng-container *ngIf="!tab.tabTemplate; else tabTemplate">
|
|
3439
3441
|
<span class="k-link" *ngIf="!tab.tabTitle">{{ tab.title }}</span>
|
|
3440
3442
|
<span class="k-link" *ngIf="tab.tabTitle">
|
|
@@ -3460,8 +3462,8 @@ TabComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version:
|
|
|
3460
3462
|
(click)="closeTab(index)"
|
|
3461
3463
|
class="k-remove-tab k-icon-button"
|
|
3462
3464
|
></button>
|
|
3463
|
-
`, isInline: true,
|
|
3464
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3465
|
+
`, 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"] }] });
|
|
3466
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: TabComponent, decorators: [{
|
|
3465
3467
|
type: Component,
|
|
3466
3468
|
args: [{
|
|
3467
3469
|
// eslint-disable-next-line @angular-eslint/component-selector
|
|
@@ -3539,9 +3541,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
3539
3541
|
*/
|
|
3540
3542
|
class TabStripMessages extends ComponentMessages {
|
|
3541
3543
|
}
|
|
3542
|
-
TabStripMessages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3543
|
-
TabStripMessages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
3544
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3544
|
+
TabStripMessages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: TabStripMessages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
3545
|
+
TabStripMessages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: TabStripMessages, selector: "kendo-tabstrip-messages-base", inputs: { closeTitle: "closeTitle", previousTabButton: "previousTabButton", nextTabButton: "nextTabButton" }, usesInheritance: true, ngImport: i0 });
|
|
3546
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: TabStripMessages, decorators: [{
|
|
3545
3547
|
type: Directive,
|
|
3546
3548
|
args: [{
|
|
3547
3549
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
@@ -3564,14 +3566,14 @@ class LocalizedTabStripMessagesDirective extends TabStripMessages {
|
|
|
3564
3566
|
this.service = service;
|
|
3565
3567
|
}
|
|
3566
3568
|
}
|
|
3567
|
-
LocalizedTabStripMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3568
|
-
LocalizedTabStripMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
3569
|
+
LocalizedTabStripMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: LocalizedTabStripMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3570
|
+
LocalizedTabStripMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: LocalizedTabStripMessagesDirective, selector: "[kendoTabStripLocalizedMessages]", providers: [
|
|
3569
3571
|
{
|
|
3570
3572
|
provide: TabStripMessages,
|
|
3571
3573
|
useExisting: forwardRef(() => LocalizedTabStripMessagesDirective)
|
|
3572
3574
|
}
|
|
3573
3575
|
], usesInheritance: true, ngImport: i0 });
|
|
3574
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3576
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: LocalizedTabStripMessagesDirective, decorators: [{
|
|
3575
3577
|
type: Directive,
|
|
3576
3578
|
args: [{
|
|
3577
3579
|
providers: [
|
|
@@ -3966,8 +3968,8 @@ class TabStripComponent {
|
|
|
3966
3968
|
});
|
|
3967
3969
|
}
|
|
3968
3970
|
}
|
|
3969
|
-
TabStripComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3970
|
-
TabStripComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
3971
|
+
TabStripComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", 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 });
|
|
3972
|
+
TabStripComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", 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: [
|
|
3971
3973
|
TabStripService,
|
|
3972
3974
|
ScrollService,
|
|
3973
3975
|
LocalizationService,
|
|
@@ -4076,7 +4078,7 @@ TabStripComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
|
4076
4078
|
</ng-template>
|
|
4077
4079
|
<kendo-resize-sensor *ngIf="isScrollable" (resize)="onResize()"></kendo-resize-sensor>
|
|
4078
4080
|
<div kendoWatermarkOverlay *ngIf="showLicenseWatermark"></div>
|
|
4079
|
-
`, isInline: true,
|
|
4081
|
+
`, 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: [
|
|
4080
4082
|
trigger('state', [
|
|
4081
4083
|
state('active', style({ opacity: 1 })),
|
|
4082
4084
|
transition('* => active', [
|
|
@@ -4085,7 +4087,7 @@ TabStripComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
|
4085
4087
|
])
|
|
4086
4088
|
])
|
|
4087
4089
|
] });
|
|
4088
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4090
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: TabStripComponent, decorators: [{
|
|
4089
4091
|
type: Component,
|
|
4090
4092
|
args: [{
|
|
4091
4093
|
animations: [
|
|
@@ -4293,14 +4295,14 @@ class TabStripCustomMessagesComponent extends TabStripMessages {
|
|
|
4293
4295
|
return true;
|
|
4294
4296
|
}
|
|
4295
4297
|
}
|
|
4296
|
-
TabStripCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4297
|
-
TabStripCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
4298
|
+
TabStripCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: TabStripCustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
4299
|
+
TabStripCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: TabStripCustomMessagesComponent, selector: "kendo-tabstrip-messages", providers: [
|
|
4298
4300
|
{
|
|
4299
4301
|
provide: TabStripMessages,
|
|
4300
4302
|
useExisting: forwardRef(() => TabStripCustomMessagesComponent)
|
|
4301
4303
|
}
|
|
4302
4304
|
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
4303
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4305
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: TabStripCustomMessagesComponent, decorators: [{
|
|
4304
4306
|
type: Component,
|
|
4305
4307
|
args: [{
|
|
4306
4308
|
providers: [
|
|
@@ -4326,9 +4328,9 @@ class DrawerTemplateDirective {
|
|
|
4326
4328
|
this.templateRef = templateRef;
|
|
4327
4329
|
}
|
|
4328
4330
|
}
|
|
4329
|
-
DrawerTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4330
|
-
DrawerTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
4331
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4331
|
+
DrawerTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: DrawerTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
4332
|
+
DrawerTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: DrawerTemplateDirective, selector: "[kendoDrawerTemplate]", ngImport: i0 });
|
|
4333
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: DrawerTemplateDirective, decorators: [{
|
|
4332
4334
|
type: Directive,
|
|
4333
4335
|
args: [{
|
|
4334
4336
|
selector: '[kendoDrawerTemplate]'
|
|
@@ -4347,9 +4349,9 @@ class DrawerItemTemplateDirective {
|
|
|
4347
4349
|
this.templateRef = templateRef;
|
|
4348
4350
|
}
|
|
4349
4351
|
}
|
|
4350
|
-
DrawerItemTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4351
|
-
DrawerItemTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
4352
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4352
|
+
DrawerItemTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: DrawerItemTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
4353
|
+
DrawerItemTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: DrawerItemTemplateDirective, selector: "[kendoDrawerItemTemplate]", ngImport: i0 });
|
|
4354
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: DrawerItemTemplateDirective, decorators: [{
|
|
4353
4355
|
type: Directive,
|
|
4354
4356
|
args: [{
|
|
4355
4357
|
selector: '[kendoDrawerItemTemplate]'
|
|
@@ -4368,9 +4370,9 @@ class DrawerHeaderTemplateDirective {
|
|
|
4368
4370
|
this.templateRef = templateRef;
|
|
4369
4371
|
}
|
|
4370
4372
|
}
|
|
4371
|
-
DrawerHeaderTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4372
|
-
DrawerHeaderTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
4373
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4373
|
+
DrawerHeaderTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: DrawerHeaderTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
4374
|
+
DrawerHeaderTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: DrawerHeaderTemplateDirective, selector: "[kendoDrawerHeaderTemplate]", ngImport: i0 });
|
|
4375
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: DrawerHeaderTemplateDirective, decorators: [{
|
|
4374
4376
|
type: Directive,
|
|
4375
4377
|
args: [{
|
|
4376
4378
|
selector: '[kendoDrawerHeaderTemplate]'
|
|
@@ -4389,9 +4391,9 @@ class DrawerFooterTemplateDirective {
|
|
|
4389
4391
|
this.templateRef = templateRef;
|
|
4390
4392
|
}
|
|
4391
4393
|
}
|
|
4392
|
-
DrawerFooterTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4393
|
-
DrawerFooterTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
4394
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4394
|
+
DrawerFooterTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: DrawerFooterTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
4395
|
+
DrawerFooterTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: DrawerFooterTemplateDirective, selector: "[kendoDrawerFooterTemplate]", ngImport: i0 });
|
|
4396
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: DrawerFooterTemplateDirective, decorators: [{
|
|
4395
4397
|
type: Directive,
|
|
4396
4398
|
args: [{
|
|
4397
4399
|
selector: '[kendoDrawerFooterTemplate]'
|
|
@@ -4493,9 +4495,9 @@ class DrawerService {
|
|
|
4493
4495
|
this.selectedIndices = [];
|
|
4494
4496
|
}
|
|
4495
4497
|
}
|
|
4496
|
-
DrawerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4497
|
-
DrawerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4498
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4498
|
+
DrawerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: DrawerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4499
|
+
DrawerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: DrawerService });
|
|
4500
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: DrawerService, decorators: [{
|
|
4499
4501
|
type: Injectable
|
|
4500
4502
|
}] });
|
|
4501
4503
|
|
|
@@ -4720,8 +4722,8 @@ class DrawerItemComponent {
|
|
|
4720
4722
|
return this.viewItem.item;
|
|
4721
4723
|
}
|
|
4722
4724
|
}
|
|
4723
|
-
DrawerItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4724
|
-
DrawerItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
4725
|
+
DrawerItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: DrawerItemComponent, deps: [{ token: DrawerService }, { token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
4726
|
+
DrawerItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", 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: `
|
|
4725
4727
|
<ng-template *ngIf="itemTemplate; else defaultTemplate"
|
|
4726
4728
|
[ngTemplateOutlet]="itemTemplate"
|
|
4727
4729
|
[ngTemplateOutletContext]="{
|
|
@@ -4763,8 +4765,8 @@ DrawerItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
4763
4765
|
</kendo-icon-wrapper>
|
|
4764
4766
|
</ng-container>
|
|
4765
4767
|
</ng-template>
|
|
4766
|
-
`, isInline: true,
|
|
4767
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4768
|
+
`, 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"] }] });
|
|
4769
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: DrawerItemComponent, decorators: [{
|
|
4768
4770
|
type: Component,
|
|
4769
4771
|
args: [{
|
|
4770
4772
|
// eslint-disable-next-line @angular-eslint/component-selector
|
|
@@ -4934,9 +4936,9 @@ class DrawerListComponent {
|
|
|
4934
4936
|
}
|
|
4935
4937
|
}
|
|
4936
4938
|
}
|
|
4937
|
-
DrawerListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4938
|
-
DrawerListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
4939
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4939
|
+
DrawerListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: DrawerListComponent, deps: [{ token: DrawerService }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
4940
|
+
DrawerListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", 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"] }] });
|
|
4941
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: DrawerListComponent, decorators: [{
|
|
4940
4942
|
type: Component,
|
|
4941
4943
|
args: [{
|
|
4942
4944
|
// eslint-disable-next-line @angular-eslint/component-selector
|
|
@@ -5243,8 +5245,8 @@ class DrawerComponent {
|
|
|
5243
5245
|
return player;
|
|
5244
5246
|
}
|
|
5245
5247
|
}
|
|
5246
|
-
DrawerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5247
|
-
DrawerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
5248
|
+
DrawerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: DrawerComponent, deps: [{ token: i0.ElementRef }, { token: i1$1.AnimationBuilder }, { token: i1.LocalizationService }, { token: DrawerService }], target: i0.ɵɵFactoryTarget.Component });
|
|
5249
|
+
DrawerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", 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: [
|
|
5248
5250
|
LocalizationService,
|
|
5249
5251
|
DrawerService,
|
|
5250
5252
|
{
|
|
@@ -5280,8 +5282,8 @@ DrawerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versio
|
|
|
5280
5282
|
</div>
|
|
5281
5283
|
|
|
5282
5284
|
<div kendoWatermarkOverlay *ngIf="showLicenseWatermark"></div>
|
|
5283
|
-
`, isInline: true,
|
|
5284
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5285
|
+
`, 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"] }] });
|
|
5286
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: DrawerComponent, decorators: [{
|
|
5285
5287
|
type: Component,
|
|
5286
5288
|
args: [{
|
|
5287
5289
|
exportAs: 'kendoDrawer',
|
|
@@ -5325,7 +5327,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
5325
5327
|
<div kendoWatermarkOverlay *ngIf="showLicenseWatermark"></div>
|
|
5326
5328
|
`
|
|
5327
5329
|
}]
|
|
5328
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1$
|
|
5330
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1$1.AnimationBuilder }, { type: i1.LocalizationService }, { type: DrawerService }]; }, propDecorators: { hostClasses: [{
|
|
5329
5331
|
type: HostBinding,
|
|
5330
5332
|
args: ['class.k-drawer']
|
|
5331
5333
|
}], startPositionClass: [{
|
|
@@ -5434,8 +5436,8 @@ class DrawerContainerComponent {
|
|
|
5434
5436
|
}
|
|
5435
5437
|
}
|
|
5436
5438
|
}
|
|
5437
|
-
DrawerContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5438
|
-
DrawerContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
5439
|
+
DrawerContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: DrawerContainerComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
5440
|
+
DrawerContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", 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: [
|
|
5439
5441
|
LocalizationService,
|
|
5440
5442
|
{
|
|
5441
5443
|
provide: L10N_PREFIX,
|
|
@@ -5444,8 +5446,8 @@ DrawerContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0
|
|
|
5444
5446
|
], queries: [{ propertyName: "drawer", first: true, predicate: DrawerComponent, descendants: true }], ngImport: i0, template: `
|
|
5445
5447
|
<div class="k-overlay" *ngIf="overlay" (click)="closeDrawer()"></div>
|
|
5446
5448
|
<ng-content></ng-content>
|
|
5447
|
-
`, isInline: true,
|
|
5448
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5449
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
5450
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: DrawerContainerComponent, decorators: [{
|
|
5449
5451
|
type: Component,
|
|
5450
5452
|
args: [{
|
|
5451
5453
|
selector: 'kendo-drawer-container',
|
|
@@ -5492,11 +5494,11 @@ class DrawerContentComponent {
|
|
|
5492
5494
|
this.hostClasses = true;
|
|
5493
5495
|
}
|
|
5494
5496
|
}
|
|
5495
|
-
DrawerContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5496
|
-
DrawerContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
5497
|
+
DrawerContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: DrawerContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
5498
|
+
DrawerContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: DrawerContentComponent, selector: "kendo-drawer-content", host: { properties: { "class.k-drawer-content": "this.hostClasses" } }, ngImport: i0, template: `
|
|
5497
5499
|
<ng-content></ng-content>
|
|
5498
5500
|
`, isInline: true, encapsulation: i0.ViewEncapsulation.None });
|
|
5499
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5501
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: DrawerContentComponent, decorators: [{
|
|
5500
5502
|
type: Component,
|
|
5501
5503
|
args: [{
|
|
5502
5504
|
selector: 'kendo-drawer-content',
|
|
@@ -5533,9 +5535,9 @@ class StepperStepTemplateDirective {
|
|
|
5533
5535
|
this.templateRef = templateRef;
|
|
5534
5536
|
}
|
|
5535
5537
|
}
|
|
5536
|
-
StepperStepTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5537
|
-
StepperStepTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
5538
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5538
|
+
StepperStepTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: StepperStepTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
5539
|
+
StepperStepTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: StepperStepTemplateDirective, selector: "[kendoStepperStepTemplate]", ngImport: i0 });
|
|
5540
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: StepperStepTemplateDirective, decorators: [{
|
|
5539
5541
|
type: Directive,
|
|
5540
5542
|
args: [{
|
|
5541
5543
|
selector: '[kendoStepperStepTemplate]'
|
|
@@ -5554,9 +5556,9 @@ class StepperLabelTemplateDirective {
|
|
|
5554
5556
|
this.templateRef = templateRef;
|
|
5555
5557
|
}
|
|
5556
5558
|
}
|
|
5557
|
-
StepperLabelTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5558
|
-
StepperLabelTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
5559
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5559
|
+
StepperLabelTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: StepperLabelTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
5560
|
+
StepperLabelTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: StepperLabelTemplateDirective, selector: "[kendoStepperLabelTemplate]", ngImport: i0 });
|
|
5561
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: StepperLabelTemplateDirective, decorators: [{
|
|
5560
5562
|
type: Directive,
|
|
5561
5563
|
args: [{
|
|
5562
5564
|
selector: '[kendoStepperLabelTemplate]'
|
|
@@ -5575,9 +5577,9 @@ class StepperIndicatorTemplateDirective {
|
|
|
5575
5577
|
this.templateRef = templateRef;
|
|
5576
5578
|
}
|
|
5577
5579
|
}
|
|
5578
|
-
StepperIndicatorTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5579
|
-
StepperIndicatorTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
5580
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5580
|
+
StepperIndicatorTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: StepperIndicatorTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
5581
|
+
StepperIndicatorTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: StepperIndicatorTemplateDirective, selector: "[kendoStepperIndicatorTemplate]", ngImport: i0 });
|
|
5582
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: StepperIndicatorTemplateDirective, decorators: [{
|
|
5581
5583
|
type: Directive,
|
|
5582
5584
|
args: [{
|
|
5583
5585
|
selector: '[kendoStepperIndicatorTemplate]'
|
|
@@ -5604,7 +5606,7 @@ handlersRTL[Keys.ArrowRight] = 'left';
|
|
|
5604
5606
|
/**
|
|
5605
5607
|
* @hidden
|
|
5606
5608
|
*/
|
|
5607
|
-
|
|
5609
|
+
let StepperActivateEvent$1 = class StepperActivateEvent extends PreventableEvent$1 {
|
|
5608
5610
|
/**
|
|
5609
5611
|
* @hidden
|
|
5610
5612
|
*/
|
|
@@ -5612,7 +5614,7 @@ class StepperActivateEvent$1 extends PreventableEvent$1 {
|
|
|
5612
5614
|
super();
|
|
5613
5615
|
Object.assign(this, args);
|
|
5614
5616
|
}
|
|
5615
|
-
}
|
|
5617
|
+
};
|
|
5616
5618
|
/**
|
|
5617
5619
|
* @hidden
|
|
5618
5620
|
*/
|
|
@@ -5733,9 +5735,9 @@ class StepperService {
|
|
|
5733
5735
|
return this.owner.orientation === 'horizontal';
|
|
5734
5736
|
}
|
|
5735
5737
|
}
|
|
5736
|
-
StepperService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5737
|
-
StepperService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5738
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5738
|
+
StepperService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: StepperService, deps: [{ token: i1.LocalizationService }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5739
|
+
StepperService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: StepperService });
|
|
5740
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: StepperService, decorators: [{
|
|
5739
5741
|
type: Injectable
|
|
5740
5742
|
}], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }]; } });
|
|
5741
5743
|
|
|
@@ -5916,8 +5918,8 @@ class StepperStepComponent {
|
|
|
5916
5918
|
}
|
|
5917
5919
|
}
|
|
5918
5920
|
}
|
|
5919
|
-
StepperStepComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5920
|
-
StepperStepComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
5921
|
+
StepperStepComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: StepperStepComponent, deps: [{ token: StepperService }, { token: i1.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
5922
|
+
StepperStepComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", 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: `
|
|
5921
5923
|
<a href='#' class='k-step-link' #stepLink
|
|
5922
5924
|
[attr.tabindex]='tabIndexAttr'
|
|
5923
5925
|
[attr.title]='step.label'
|
|
@@ -5975,8 +5977,8 @@ StepperStepComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
5975
5977
|
</span>
|
|
5976
5978
|
</ng-container>
|
|
5977
5979
|
</a>
|
|
5978
|
-
`, isInline: true,
|
|
5979
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5980
|
+
`, 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"] }] });
|
|
5981
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: StepperStepComponent, decorators: [{
|
|
5980
5982
|
type: Component,
|
|
5981
5983
|
args: [{
|
|
5982
5984
|
// eslint-disable-next-line @angular-eslint/component-selector
|
|
@@ -6154,9 +6156,9 @@ class StepperListComponent {
|
|
|
6154
6156
|
}
|
|
6155
6157
|
}
|
|
6156
6158
|
}
|
|
6157
|
-
StepperListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6158
|
-
StepperListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
6159
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6159
|
+
StepperListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: StepperListComponent, deps: [{ token: i0.Renderer2 }, { token: i0.NgZone }, { token: StepperService }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
6160
|
+
StepperListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", 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"] }] });
|
|
6161
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: StepperListComponent, decorators: [{
|
|
6160
6162
|
type: Component,
|
|
6161
6163
|
args: [{
|
|
6162
6164
|
// eslint-disable-next-line @angular-eslint/component-selector
|
|
@@ -6231,9 +6233,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
6231
6233
|
*/
|
|
6232
6234
|
class StepperMessages extends ComponentMessages {
|
|
6233
6235
|
}
|
|
6234
|
-
StepperMessages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6235
|
-
StepperMessages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
6236
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6236
|
+
StepperMessages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: StepperMessages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
6237
|
+
StepperMessages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: StepperMessages, selector: "kendo-stepper-messages-base", inputs: { optional: "optional" }, usesInheritance: true, ngImport: i0 });
|
|
6238
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: StepperMessages, decorators: [{
|
|
6237
6239
|
type: Directive,
|
|
6238
6240
|
args: [{
|
|
6239
6241
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
@@ -6252,14 +6254,14 @@ class LocalizedStepperMessagesDirective extends StepperMessages {
|
|
|
6252
6254
|
this.service = service;
|
|
6253
6255
|
}
|
|
6254
6256
|
}
|
|
6255
|
-
LocalizedStepperMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6256
|
-
LocalizedStepperMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
6257
|
+
LocalizedStepperMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: LocalizedStepperMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
6258
|
+
LocalizedStepperMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: LocalizedStepperMessagesDirective, selector: "\n [kendoStepperLocalizedMessages]\n ", providers: [
|
|
6257
6259
|
{
|
|
6258
6260
|
provide: StepperMessages,
|
|
6259
6261
|
useExisting: forwardRef(() => LocalizedStepperMessagesDirective)
|
|
6260
6262
|
}
|
|
6261
6263
|
], usesInheritance: true, ngImport: i0 });
|
|
6262
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6264
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: LocalizedStepperMessagesDirective, decorators: [{
|
|
6263
6265
|
type: Directive,
|
|
6264
6266
|
args: [{
|
|
6265
6267
|
providers: [
|
|
@@ -6488,8 +6490,8 @@ class StepperComponent {
|
|
|
6488
6490
|
return this.orientation === 'horizontal';
|
|
6489
6491
|
}
|
|
6490
6492
|
}
|
|
6491
|
-
StepperComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6492
|
-
StepperComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
6493
|
+
StepperComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: StepperComponent, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i1.LocalizationService }, { token: StepperService }], target: i0.ɵɵFactoryTarget.Component });
|
|
6494
|
+
StepperComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", 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: [
|
|
6493
6495
|
LocalizationService,
|
|
6494
6496
|
StepperService,
|
|
6495
6497
|
{
|
|
@@ -6534,8 +6536,8 @@ StepperComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versi
|
|
|
6534
6536
|
[value]='currentStep'
|
|
6535
6537
|
[ngStyle]='progressBarStyling'>
|
|
6536
6538
|
</kendo-progressbar>
|
|
6537
|
-
`, isInline: true,
|
|
6538
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6539
|
+
`, 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 " }] });
|
|
6540
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: StepperComponent, decorators: [{
|
|
6539
6541
|
type: Component,
|
|
6540
6542
|
args: [{
|
|
6541
6543
|
exportAs: 'kendoStepper',
|
|
@@ -6666,14 +6668,14 @@ class StepperCustomMessagesComponent extends StepperMessages {
|
|
|
6666
6668
|
return true;
|
|
6667
6669
|
}
|
|
6668
6670
|
}
|
|
6669
|
-
StepperCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6670
|
-
StepperCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
6671
|
+
StepperCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: StepperCustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
6672
|
+
StepperCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: StepperCustomMessagesComponent, selector: "kendo-stepper-messages", providers: [
|
|
6671
6673
|
{
|
|
6672
6674
|
provide: StepperMessages,
|
|
6673
6675
|
useExisting: forwardRef(() => StepperCustomMessagesComponent)
|
|
6674
6676
|
}
|
|
6675
6677
|
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
6676
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6678
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: StepperCustomMessagesComponent, decorators: [{
|
|
6677
6679
|
type: Component,
|
|
6678
6680
|
args: [{
|
|
6679
6681
|
providers: [
|
|
@@ -6692,9 +6694,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
6692
6694
|
*/
|
|
6693
6695
|
class Messages extends ComponentMessages {
|
|
6694
6696
|
}
|
|
6695
|
-
Messages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6696
|
-
Messages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
6697
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6697
|
+
Messages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: Messages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
6698
|
+
Messages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: Messages, selector: "kendoAvatarMessages", inputs: { avatarAlt: "avatarAlt" }, usesInheritance: true, ngImport: i0 });
|
|
6699
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: Messages, decorators: [{
|
|
6698
6700
|
type: Directive,
|
|
6699
6701
|
args: [{
|
|
6700
6702
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
@@ -6714,14 +6716,14 @@ class LocalizedAvatarMessagesDirective extends Messages {
|
|
|
6714
6716
|
this.service = service;
|
|
6715
6717
|
}
|
|
6716
6718
|
}
|
|
6717
|
-
LocalizedAvatarMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6718
|
-
LocalizedAvatarMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
6719
|
+
LocalizedAvatarMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: LocalizedAvatarMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
6720
|
+
LocalizedAvatarMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: LocalizedAvatarMessagesDirective, selector: "[kendoAvatarLocalizedMessages]", providers: [
|
|
6719
6721
|
{
|
|
6720
6722
|
provide: Messages,
|
|
6721
6723
|
useExisting: forwardRef(() => LocalizedAvatarMessagesDirective)
|
|
6722
6724
|
}
|
|
6723
6725
|
], usesInheritance: true, ngImport: i0 });
|
|
6724
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6726
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: LocalizedAvatarMessagesDirective, decorators: [{
|
|
6725
6727
|
type: Directive,
|
|
6726
6728
|
args: [{
|
|
6727
6729
|
providers: [
|
|
@@ -6961,8 +6963,8 @@ class AvatarComponent {
|
|
|
6961
6963
|
return this.localization.get(key);
|
|
6962
6964
|
}
|
|
6963
6965
|
}
|
|
6964
|
-
AvatarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6965
|
-
AvatarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
6966
|
+
AvatarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AvatarComponent, deps: [{ token: i1.LocalizationService }, { token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
6967
|
+
AvatarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", 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: [
|
|
6966
6968
|
LocalizationService,
|
|
6967
6969
|
{
|
|
6968
6970
|
provide: L10N_PREFIX,
|
|
@@ -6998,8 +7000,8 @@ AvatarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versio
|
|
|
6998
7000
|
</kendo-icon-wrapper>
|
|
6999
7001
|
</span>
|
|
7000
7002
|
</ng-container>
|
|
7001
|
-
`, isInline: true,
|
|
7002
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7003
|
+
`, 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]" }] });
|
|
7004
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AvatarComponent, decorators: [{
|
|
7003
7005
|
type: Component,
|
|
7004
7006
|
args: [{
|
|
7005
7007
|
providers: [
|
|
@@ -7103,14 +7105,14 @@ class AvatarCustomMessagesComponent extends Messages {
|
|
|
7103
7105
|
return true;
|
|
7104
7106
|
}
|
|
7105
7107
|
}
|
|
7106
|
-
AvatarCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7107
|
-
AvatarCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
7108
|
+
AvatarCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AvatarCustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
7109
|
+
AvatarCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: AvatarCustomMessagesComponent, selector: "kendo-avatar-messages", providers: [
|
|
7108
7110
|
{
|
|
7109
7111
|
provide: Messages,
|
|
7110
7112
|
useExisting: forwardRef(() => AvatarCustomMessagesComponent)
|
|
7111
7113
|
}
|
|
7112
7114
|
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
7113
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7115
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AvatarCustomMessagesComponent, decorators: [{
|
|
7114
7116
|
type: Component,
|
|
7115
7117
|
args: [{
|
|
7116
7118
|
providers: [
|
|
@@ -7167,8 +7169,8 @@ class CardComponent {
|
|
|
7167
7169
|
}
|
|
7168
7170
|
}
|
|
7169
7171
|
}
|
|
7170
|
-
CardComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7171
|
-
CardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
7172
|
+
CardComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: CardComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
7173
|
+
CardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", 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: [
|
|
7172
7174
|
LocalizationService,
|
|
7173
7175
|
{
|
|
7174
7176
|
provide: L10N_PREFIX,
|
|
@@ -7177,7 +7179,7 @@ CardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version:
|
|
|
7177
7179
|
], ngImport: i0, template: `
|
|
7178
7180
|
<ng-content></ng-content>
|
|
7179
7181
|
`, isInline: true });
|
|
7180
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7182
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: CardComponent, decorators: [{
|
|
7181
7183
|
type: Component,
|
|
7182
7184
|
args: [{
|
|
7183
7185
|
selector: 'kendo-card',
|
|
@@ -7221,11 +7223,11 @@ class CardHeaderComponent {
|
|
|
7221
7223
|
this.hostClass = true;
|
|
7222
7224
|
}
|
|
7223
7225
|
}
|
|
7224
|
-
CardHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7225
|
-
CardHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
7226
|
+
CardHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: CardHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
7227
|
+
CardHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: CardHeaderComponent, selector: "kendo-card-header", host: { properties: { "class.k-card-header": "this.hostClass" } }, ngImport: i0, template: `
|
|
7226
7228
|
<ng-content></ng-content>
|
|
7227
7229
|
`, isInline: true });
|
|
7228
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7230
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: CardHeaderComponent, decorators: [{
|
|
7229
7231
|
type: Component,
|
|
7230
7232
|
args: [{
|
|
7231
7233
|
selector: 'kendo-card-header',
|
|
@@ -7246,11 +7248,11 @@ class CardBodyComponent {
|
|
|
7246
7248
|
this.hostClass = true;
|
|
7247
7249
|
}
|
|
7248
7250
|
}
|
|
7249
|
-
CardBodyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7250
|
-
CardBodyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
7251
|
+
CardBodyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: CardBodyComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
7252
|
+
CardBodyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: CardBodyComponent, selector: "kendo-card-body", host: { properties: { "class.k-card-body": "this.hostClass" } }, ngImport: i0, template: `
|
|
7251
7253
|
<ng-content></ng-content>
|
|
7252
7254
|
`, isInline: true });
|
|
7253
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7255
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: CardBodyComponent, decorators: [{
|
|
7254
7256
|
type: Component,
|
|
7255
7257
|
args: [{
|
|
7256
7258
|
selector: 'kendo-card-body',
|
|
@@ -7271,11 +7273,11 @@ class CardFooterComponent {
|
|
|
7271
7273
|
this.hostClass = true;
|
|
7272
7274
|
}
|
|
7273
7275
|
}
|
|
7274
|
-
CardFooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7275
|
-
CardFooterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
7276
|
+
CardFooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: CardFooterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
7277
|
+
CardFooterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: CardFooterComponent, selector: "kendo-card-footer", host: { properties: { "class.k-card-footer": "this.hostClass" } }, ngImport: i0, template: `
|
|
7276
7278
|
<ng-content></ng-content>
|
|
7277
7279
|
`, isInline: true });
|
|
7278
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7280
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: CardFooterComponent, decorators: [{
|
|
7279
7281
|
type: Component,
|
|
7280
7282
|
args: [{
|
|
7281
7283
|
selector: 'kendo-card-footer',
|
|
@@ -7356,8 +7358,8 @@ class CardActionsComponent {
|
|
|
7356
7358
|
this.action.emit(action);
|
|
7357
7359
|
}
|
|
7358
7360
|
}
|
|
7359
|
-
CardActionsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7360
|
-
CardActionsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
7361
|
+
CardActionsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: CardActionsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
7362
|
+
CardActionsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", 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: `
|
|
7361
7363
|
<ng-content *ngIf="!actionsArray && !actionsTemplate"></ng-content>
|
|
7362
7364
|
|
|
7363
7365
|
<ng-container *ngIf="actionsArray">
|
|
@@ -7378,8 +7380,8 @@ CardActionsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
7378
7380
|
</ng-container>
|
|
7379
7381
|
|
|
7380
7382
|
<ng-template [ngTemplateOutlet]="actionsTemplate" *ngIf="actionsTemplate"></ng-template>
|
|
7381
|
-
`, isInline: true,
|
|
7382
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7383
|
+
`, 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"] }] });
|
|
7384
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: CardActionsComponent, decorators: [{
|
|
7383
7385
|
type: Component,
|
|
7384
7386
|
args: [{
|
|
7385
7387
|
selector: 'kendo-card-actions',
|
|
@@ -7462,9 +7464,9 @@ class CardSeparatorDirective {
|
|
|
7462
7464
|
return this.orientation === 'horizontal';
|
|
7463
7465
|
}
|
|
7464
7466
|
}
|
|
7465
|
-
CardSeparatorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7466
|
-
CardSeparatorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
7467
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7467
|
+
CardSeparatorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: CardSeparatorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
7468
|
+
CardSeparatorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", 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 });
|
|
7469
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: CardSeparatorDirective, decorators: [{
|
|
7468
7470
|
type: Directive,
|
|
7469
7471
|
args: [{
|
|
7470
7472
|
selector: '[kendoCardSeparator]'
|
|
@@ -7495,9 +7497,9 @@ class CardTitleDirective {
|
|
|
7495
7497
|
this.hostClass = true;
|
|
7496
7498
|
}
|
|
7497
7499
|
}
|
|
7498
|
-
CardTitleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7499
|
-
CardTitleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
7500
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7500
|
+
CardTitleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: CardTitleDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
7501
|
+
CardTitleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: CardTitleDirective, selector: "[kendoCardTitle]", host: { properties: { "class.k-card-title": "this.hostClass" } }, ngImport: i0 });
|
|
7502
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: CardTitleDirective, decorators: [{
|
|
7501
7503
|
type: Directive,
|
|
7502
7504
|
args: [{
|
|
7503
7505
|
selector: '[kendoCardTitle]'
|
|
@@ -7515,9 +7517,9 @@ class CardSubtitleDirective {
|
|
|
7515
7517
|
this.hostClass = true;
|
|
7516
7518
|
}
|
|
7517
7519
|
}
|
|
7518
|
-
CardSubtitleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7519
|
-
CardSubtitleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
7520
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7520
|
+
CardSubtitleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: CardSubtitleDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
7521
|
+
CardSubtitleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: CardSubtitleDirective, selector: "[kendoCardSubtitle]", host: { properties: { "class.k-card-subtitle": "this.hostClass" } }, ngImport: i0 });
|
|
7522
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: CardSubtitleDirective, decorators: [{
|
|
7521
7523
|
type: Directive,
|
|
7522
7524
|
args: [{
|
|
7523
7525
|
selector: '[kendoCardSubtitle]'
|
|
@@ -7535,9 +7537,9 @@ class CardMediaDirective {
|
|
|
7535
7537
|
this.hostClass = true;
|
|
7536
7538
|
}
|
|
7537
7539
|
}
|
|
7538
|
-
CardMediaDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7539
|
-
CardMediaDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
7540
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7540
|
+
CardMediaDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: CardMediaDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
7541
|
+
CardMediaDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: CardMediaDirective, selector: "[kendoCardMedia]", host: { properties: { "class.k-card-media": "this.hostClass" } }, ngImport: i0 });
|
|
7542
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: CardMediaDirective, decorators: [{
|
|
7541
7543
|
type: Directive,
|
|
7542
7544
|
args: [{
|
|
7543
7545
|
selector: '[kendoCardMedia]'
|
|
@@ -7564,9 +7566,9 @@ class ExpansionPanelTitleDirective {
|
|
|
7564
7566
|
this.templateRef = templateRef;
|
|
7565
7567
|
}
|
|
7566
7568
|
}
|
|
7567
|
-
ExpansionPanelTitleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7568
|
-
ExpansionPanelTitleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
7569
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7569
|
+
ExpansionPanelTitleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: ExpansionPanelTitleDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
7570
|
+
ExpansionPanelTitleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: ExpansionPanelTitleDirective, selector: "[kendoExpansionPanelTitleDirective]", ngImport: i0 });
|
|
7571
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: ExpansionPanelTitleDirective, decorators: [{
|
|
7570
7572
|
type: Directive,
|
|
7571
7573
|
args: [{
|
|
7572
7574
|
selector: '[kendoExpansionPanelTitleDirective]'
|
|
@@ -7925,8 +7927,8 @@ class ExpansionPanelComponent {
|
|
|
7925
7927
|
this.renderer.removeClass(this.content.nativeElement, CONTENT_HIDDEN_CLASS);
|
|
7926
7928
|
}
|
|
7927
7929
|
}
|
|
7928
|
-
ExpansionPanelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7929
|
-
ExpansionPanelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
7930
|
+
ExpansionPanelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", 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 });
|
|
7931
|
+
ExpansionPanelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", 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: [
|
|
7930
7932
|
LocalizationService,
|
|
7931
7933
|
{
|
|
7932
7934
|
provide: L10N_PREFIX,
|
|
@@ -7969,8 +7971,8 @@ ExpansionPanelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
|
|
|
7969
7971
|
<ng-content></ng-content>
|
|
7970
7972
|
</div>
|
|
7971
7973
|
</div>
|
|
7972
|
-
`, isInline: true,
|
|
7973
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7974
|
+
`, 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"] }] });
|
|
7975
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: ExpansionPanelComponent, decorators: [{
|
|
7974
7976
|
type: Component,
|
|
7975
7977
|
args: [{
|
|
7976
7978
|
exportAs: 'kendoExpansionPanel',
|
|
@@ -8021,7 +8023,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
8021
8023
|
</div>
|
|
8022
8024
|
`
|
|
8023
8025
|
}]
|
|
8024
|
-
}], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i1.LocalizationService }, { type: i1$
|
|
8026
|
+
}], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i1.LocalizationService }, { type: i1$1.AnimationBuilder }]; }, propDecorators: { title: [{
|
|
8025
8027
|
type: Input
|
|
8026
8028
|
}], subtitle: [{
|
|
8027
8029
|
type: Input
|
|
@@ -8707,9 +8709,9 @@ class TileLayoutDraggingService {
|
|
|
8707
8709
|
return hintHeight;
|
|
8708
8710
|
}
|
|
8709
8711
|
}
|
|
8710
|
-
TileLayoutDraggingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8711
|
-
TileLayoutDraggingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
8712
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
8712
|
+
TileLayoutDraggingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: TileLayoutDraggingService, deps: [{ token: i0.NgZone }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }, { token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
8713
|
+
TileLayoutDraggingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: TileLayoutDraggingService });
|
|
8714
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: TileLayoutDraggingService, decorators: [{
|
|
8713
8715
|
type: Injectable
|
|
8714
8716
|
}], ctorParameters: function () { return [{ type: i0.NgZone }, { type: i0.Renderer2 }, { type: i0.ChangeDetectorRef }, { type: i1.LocalizationService }]; } });
|
|
8715
8717
|
|
|
@@ -8780,7 +8782,6 @@ class TileLayoutKeyboardNavigationService {
|
|
|
8780
8782
|
getAllFocusableChildren(parent) {
|
|
8781
8783
|
return Array.from(parent.querySelectorAll(focusableSelector)).filter((element) => element.offsetParent !== null);
|
|
8782
8784
|
}
|
|
8783
|
-
;
|
|
8784
8785
|
resizeItem(keyCode, focusedTile, settings, col) {
|
|
8785
8786
|
const { resizeRight, resizeLeft, resizeDown, resizeUp } = shouldResize(keyCode, col, focusedTile, settings);
|
|
8786
8787
|
const resizeHorizontal = resizeLeft || resizeRight;
|
|
@@ -8839,14 +8840,13 @@ class TileLayoutKeyboardNavigationService {
|
|
|
8839
8840
|
const lastFocusable = all.length > 0 ? all[all.length - 1] : parent;
|
|
8840
8841
|
return [firstFocusable, lastFocusable];
|
|
8841
8842
|
}
|
|
8842
|
-
;
|
|
8843
8843
|
targetTile(focusedTile, items, offset) {
|
|
8844
8844
|
return items.find(item => item.order === focusedTile.order + offset);
|
|
8845
8845
|
}
|
|
8846
8846
|
}
|
|
8847
|
-
TileLayoutKeyboardNavigationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8848
|
-
TileLayoutKeyboardNavigationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
8849
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
8847
|
+
TileLayoutKeyboardNavigationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: TileLayoutKeyboardNavigationService, deps: [{ token: i0.NgZone }, { token: i0.Renderer2 }, { token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
8848
|
+
TileLayoutKeyboardNavigationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: TileLayoutKeyboardNavigationService });
|
|
8849
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: TileLayoutKeyboardNavigationService, decorators: [{
|
|
8850
8850
|
type: Injectable
|
|
8851
8851
|
}], ctorParameters: function () { return [{ type: i0.NgZone }, { type: i0.Renderer2 }, { type: i1.LocalizationService }]; } });
|
|
8852
8852
|
|
|
@@ -8875,11 +8875,11 @@ class TileLayoutItemHeaderComponent {
|
|
|
8875
8875
|
}
|
|
8876
8876
|
}
|
|
8877
8877
|
}
|
|
8878
|
-
TileLayoutItemHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8879
|
-
TileLayoutItemHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
8878
|
+
TileLayoutItemHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: TileLayoutItemHeaderComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
8879
|
+
TileLayoutItemHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", 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: `
|
|
8880
8880
|
<ng-content></ng-content>
|
|
8881
8881
|
`, isInline: true });
|
|
8882
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
8882
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: TileLayoutItemHeaderComponent, decorators: [{
|
|
8883
8883
|
type: Component,
|
|
8884
8884
|
args: [{
|
|
8885
8885
|
selector: 'kendo-tilelayout-item-header',
|
|
@@ -8934,9 +8934,9 @@ class TileLayoutResizeHandleDirective {
|
|
|
8934
8934
|
}
|
|
8935
8935
|
}
|
|
8936
8936
|
}
|
|
8937
|
-
TileLayoutResizeHandleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8938
|
-
TileLayoutResizeHandleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
8939
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
8937
|
+
TileLayoutResizeHandleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: TileLayoutResizeHandleDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
|
|
8938
|
+
TileLayoutResizeHandleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: TileLayoutResizeHandleDirective, selector: "[kendoTileLayoutResizeHandle]", inputs: { resizeDirection: "resizeDirection", rtl: "rtl" }, ngImport: i0 });
|
|
8939
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: TileLayoutResizeHandleDirective, decorators: [{
|
|
8940
8940
|
type: Directive,
|
|
8941
8941
|
args: [{
|
|
8942
8942
|
selector: '[kendoTileLayoutResizeHandle]'
|
|
@@ -9108,8 +9108,8 @@ class TileLayoutItemComponent {
|
|
|
9108
9108
|
}
|
|
9109
9109
|
}
|
|
9110
9110
|
}
|
|
9111
|
-
TileLayoutItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9112
|
-
TileLayoutItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
9111
|
+
TileLayoutItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", 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 });
|
|
9112
|
+
TileLayoutItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", 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: `
|
|
9113
9113
|
<kendo-tilelayout-item-header [reorderable]="isReorderable" *ngIf="title">
|
|
9114
9114
|
<h5 [id]="titleId" class="k-card-title">{{ title }}</h5>
|
|
9115
9115
|
</kendo-tilelayout-item-header>
|
|
@@ -9123,8 +9123,8 @@ TileLayoutItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
|
|
|
9123
9123
|
[resizeDirection]="dir">
|
|
9124
9124
|
</div>
|
|
9125
9125
|
</ng-container>
|
|
9126
|
-
`, isInline: true,
|
|
9127
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9126
|
+
`, 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"] }] });
|
|
9127
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: TileLayoutItemComponent, decorators: [{
|
|
9128
9128
|
type: Component,
|
|
9129
9129
|
args: [{
|
|
9130
9130
|
selector: 'kendo-tilelayout-item',
|
|
@@ -9436,8 +9436,8 @@ class TileLayoutComponent {
|
|
|
9436
9436
|
});
|
|
9437
9437
|
}
|
|
9438
9438
|
}
|
|
9439
|
-
TileLayoutComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9440
|
-
TileLayoutComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
9439
|
+
TileLayoutComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", 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 });
|
|
9440
|
+
TileLayoutComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", 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: [
|
|
9441
9441
|
LocalizationService,
|
|
9442
9442
|
TileLayoutDraggingService,
|
|
9443
9443
|
TileLayoutKeyboardNavigationService,
|
|
@@ -9457,8 +9457,8 @@ TileLayoutComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
9457
9457
|
[style.zIndex]="'1'">
|
|
9458
9458
|
</div>
|
|
9459
9459
|
<div kendoWatermarkOverlay *ngIf="showLicenseWatermark"></div>
|
|
9460
|
-
`, isInline: true,
|
|
9461
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9460
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i5.WatermarkOverlayComponent, selector: "div[kendoWatermarkOverlay]" }] });
|
|
9461
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: TileLayoutComponent, decorators: [{
|
|
9462
9462
|
type: Component,
|
|
9463
9463
|
args: [{
|
|
9464
9464
|
selector: 'kendo-tilelayout',
|
|
@@ -9540,11 +9540,11 @@ class TileLayoutItemBodyComponent {
|
|
|
9540
9540
|
this.minHeight = 0;
|
|
9541
9541
|
}
|
|
9542
9542
|
}
|
|
9543
|
-
TileLayoutItemBodyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9544
|
-
TileLayoutItemBodyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
9543
|
+
TileLayoutItemBodyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: TileLayoutItemBodyComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
9544
|
+
TileLayoutItemBodyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", 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: `
|
|
9545
9545
|
<ng-content></ng-content>
|
|
9546
9546
|
`, isInline: true });
|
|
9547
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9547
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: TileLayoutItemBodyComponent, decorators: [{
|
|
9548
9548
|
type: Component,
|
|
9549
9549
|
args: [{
|
|
9550
9550
|
selector: 'kendo-tilelayout-item-body',
|
|
@@ -9563,13 +9563,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
9563
9563
|
args: ['style.min-height']
|
|
9564
9564
|
}] } });
|
|
9565
9565
|
|
|
9566
|
-
const exportedModules$
|
|
9566
|
+
const exportedModules$b = [
|
|
9567
9567
|
AvatarComponent,
|
|
9568
9568
|
AvatarCustomMessagesComponent
|
|
9569
9569
|
];
|
|
9570
|
-
const declarations$
|
|
9570
|
+
const declarations$b = [
|
|
9571
9571
|
LocalizedAvatarMessagesDirective,
|
|
9572
|
-
...exportedModules$
|
|
9572
|
+
...exportedModules$b
|
|
9573
9573
|
];
|
|
9574
9574
|
/**
|
|
9575
9575
|
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
@@ -9577,16 +9577,16 @@ const declarations$a = [
|
|
|
9577
9577
|
*/
|
|
9578
9578
|
class AvatarModule {
|
|
9579
9579
|
}
|
|
9580
|
-
AvatarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9581
|
-
AvatarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
9580
|
+
AvatarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AvatarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
9581
|
+
AvatarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.4", ngImport: i0, type: AvatarModule, declarations: [LocalizedAvatarMessagesDirective, AvatarComponent,
|
|
9582
9582
|
AvatarCustomMessagesComponent], imports: [CommonModule, IconsModule], exports: [AvatarComponent,
|
|
9583
9583
|
AvatarCustomMessagesComponent] });
|
|
9584
|
-
AvatarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
9585
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9584
|
+
AvatarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AvatarModule, imports: [CommonModule, IconsModule] });
|
|
9585
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AvatarModule, decorators: [{
|
|
9586
9586
|
type: NgModule,
|
|
9587
9587
|
args: [{
|
|
9588
|
-
declarations: [declarations$
|
|
9589
|
-
exports: [exportedModules$
|
|
9588
|
+
declarations: [declarations$b],
|
|
9589
|
+
exports: [exportedModules$b],
|
|
9590
9590
|
imports: [CommonModule, IconsModule]
|
|
9591
9591
|
}]
|
|
9592
9592
|
}] });
|
|
@@ -9597,7 +9597,7 @@ const cardDirectives = [
|
|
|
9597
9597
|
CardSeparatorDirective,
|
|
9598
9598
|
CardMediaDirective
|
|
9599
9599
|
];
|
|
9600
|
-
const exportedModules$
|
|
9600
|
+
const exportedModules$a = [
|
|
9601
9601
|
CardComponent,
|
|
9602
9602
|
CardHeaderComponent,
|
|
9603
9603
|
CardBodyComponent,
|
|
@@ -9605,15 +9605,15 @@ const exportedModules$9 = [
|
|
|
9605
9605
|
CardActionsComponent,
|
|
9606
9606
|
...cardDirectives
|
|
9607
9607
|
];
|
|
9608
|
-
const declarations$
|
|
9608
|
+
const declarations$a = [...exportedModules$a];
|
|
9609
9609
|
/**
|
|
9610
9610
|
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
9611
9611
|
* definition for the Card component.
|
|
9612
9612
|
*/
|
|
9613
9613
|
class CardModule {
|
|
9614
9614
|
}
|
|
9615
|
-
CardModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9616
|
-
CardModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
9615
|
+
CardModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: CardModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
9616
|
+
CardModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.4", ngImport: i0, type: CardModule, declarations: [CardComponent,
|
|
9617
9617
|
CardHeaderComponent,
|
|
9618
9618
|
CardBodyComponent,
|
|
9619
9619
|
CardFooterComponent,
|
|
@@ -9628,12 +9628,12 @@ CardModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13
|
|
|
9628
9628
|
CardSubtitleDirective,
|
|
9629
9629
|
CardSeparatorDirective,
|
|
9630
9630
|
CardMediaDirective] });
|
|
9631
|
-
CardModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
9632
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9631
|
+
CardModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: CardModule, imports: [CommonModule] });
|
|
9632
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: CardModule, decorators: [{
|
|
9633
9633
|
type: NgModule,
|
|
9634
9634
|
args: [{
|
|
9635
|
-
declarations: [declarations$
|
|
9636
|
-
exports: [exportedModules$
|
|
9635
|
+
declarations: [declarations$a],
|
|
9636
|
+
exports: [exportedModules$a],
|
|
9637
9637
|
imports: [CommonModule]
|
|
9638
9638
|
}]
|
|
9639
9639
|
}] });
|
|
@@ -9644,16 +9644,16 @@ const templateDirectives$1 = [
|
|
|
9644
9644
|
DrawerFooterTemplateDirective,
|
|
9645
9645
|
DrawerItemTemplateDirective
|
|
9646
9646
|
];
|
|
9647
|
-
const exportedModules$
|
|
9647
|
+
const exportedModules$9 = [
|
|
9648
9648
|
DrawerComponent,
|
|
9649
9649
|
DrawerContainerComponent,
|
|
9650
9650
|
DrawerContentComponent,
|
|
9651
9651
|
...templateDirectives$1
|
|
9652
9652
|
];
|
|
9653
|
-
const declarations$
|
|
9653
|
+
const declarations$9 = [
|
|
9654
9654
|
DrawerItemComponent,
|
|
9655
9655
|
DrawerListComponent,
|
|
9656
|
-
...exportedModules$
|
|
9656
|
+
...exportedModules$9
|
|
9657
9657
|
];
|
|
9658
9658
|
/**
|
|
9659
9659
|
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
@@ -9661,8 +9661,8 @@ const declarations$8 = [
|
|
|
9661
9661
|
*/
|
|
9662
9662
|
class DrawerModule {
|
|
9663
9663
|
}
|
|
9664
|
-
DrawerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9665
|
-
DrawerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
9664
|
+
DrawerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: DrawerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
9665
|
+
DrawerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.4", ngImport: i0, type: DrawerModule, declarations: [DrawerItemComponent,
|
|
9666
9666
|
DrawerListComponent, DrawerComponent,
|
|
9667
9667
|
DrawerContainerComponent,
|
|
9668
9668
|
DrawerContentComponent, DrawerTemplateDirective,
|
|
@@ -9674,22 +9674,22 @@ DrawerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
|
9674
9674
|
DrawerHeaderTemplateDirective,
|
|
9675
9675
|
DrawerFooterTemplateDirective,
|
|
9676
9676
|
DrawerItemTemplateDirective] });
|
|
9677
|
-
DrawerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
9678
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9677
|
+
DrawerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: DrawerModule, imports: [CommonModule, IconsModule, WatermarkModule] });
|
|
9678
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: DrawerModule, decorators: [{
|
|
9679
9679
|
type: NgModule,
|
|
9680
9680
|
args: [{
|
|
9681
|
-
declarations: [declarations$
|
|
9682
|
-
exports: [exportedModules$
|
|
9681
|
+
declarations: [declarations$9],
|
|
9682
|
+
exports: [exportedModules$9],
|
|
9683
9683
|
imports: [CommonModule, IconsModule, WatermarkModule]
|
|
9684
9684
|
}]
|
|
9685
9685
|
}] });
|
|
9686
9686
|
|
|
9687
|
-
const exportedModules$
|
|
9687
|
+
const exportedModules$8 = [
|
|
9688
9688
|
ExpansionPanelComponent,
|
|
9689
9689
|
ExpansionPanelTitleDirective
|
|
9690
9690
|
];
|
|
9691
|
-
const declarations$
|
|
9692
|
-
...exportedModules$
|
|
9691
|
+
const declarations$8 = [
|
|
9692
|
+
...exportedModules$8
|
|
9693
9693
|
];
|
|
9694
9694
|
/**
|
|
9695
9695
|
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
@@ -9697,29 +9697,29 @@ const declarations$7 = [
|
|
|
9697
9697
|
*/
|
|
9698
9698
|
class ExpansionPanelModule {
|
|
9699
9699
|
}
|
|
9700
|
-
ExpansionPanelModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9701
|
-
ExpansionPanelModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
9700
|
+
ExpansionPanelModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: ExpansionPanelModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
9701
|
+
ExpansionPanelModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.4", ngImport: i0, type: ExpansionPanelModule, declarations: [ExpansionPanelComponent,
|
|
9702
9702
|
ExpansionPanelTitleDirective], imports: [CommonModule, EventsModule, IconsModule], exports: [ExpansionPanelComponent,
|
|
9703
9703
|
ExpansionPanelTitleDirective] });
|
|
9704
|
-
ExpansionPanelModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
9705
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9704
|
+
ExpansionPanelModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: ExpansionPanelModule, imports: [CommonModule, EventsModule, IconsModule] });
|
|
9705
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: ExpansionPanelModule, decorators: [{
|
|
9706
9706
|
type: NgModule,
|
|
9707
9707
|
args: [{
|
|
9708
|
-
declarations: [declarations$
|
|
9709
|
-
exports: [exportedModules$
|
|
9708
|
+
declarations: [declarations$8],
|
|
9709
|
+
exports: [exportedModules$8],
|
|
9710
9710
|
imports: [CommonModule, EventsModule, IconsModule]
|
|
9711
9711
|
}]
|
|
9712
9712
|
}] });
|
|
9713
9713
|
|
|
9714
|
-
const exportedModules$
|
|
9714
|
+
const exportedModules$7 = [
|
|
9715
9715
|
PanelBarComponent,
|
|
9716
9716
|
PanelBarItemComponent,
|
|
9717
9717
|
PanelBarContentDirective,
|
|
9718
9718
|
PanelBarItemTemplateDirective,
|
|
9719
9719
|
PanelBarItemTitleDirective
|
|
9720
9720
|
];
|
|
9721
|
-
const declarations$
|
|
9722
|
-
...exportedModules$
|
|
9721
|
+
const declarations$7 = [
|
|
9722
|
+
...exportedModules$7
|
|
9723
9723
|
];
|
|
9724
9724
|
/**
|
|
9725
9725
|
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
@@ -9734,8 +9734,8 @@ const declarations$6 = [
|
|
|
9734
9734
|
*/
|
|
9735
9735
|
class PanelBarModule {
|
|
9736
9736
|
}
|
|
9737
|
-
PanelBarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9738
|
-
PanelBarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
9737
|
+
PanelBarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: PanelBarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
9738
|
+
PanelBarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.4", ngImport: i0, type: PanelBarModule, declarations: [PanelBarComponent,
|
|
9739
9739
|
PanelBarItemComponent,
|
|
9740
9740
|
PanelBarContentDirective,
|
|
9741
9741
|
PanelBarItemTemplateDirective,
|
|
@@ -9744,23 +9744,23 @@ PanelBarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version:
|
|
|
9744
9744
|
PanelBarContentDirective,
|
|
9745
9745
|
PanelBarItemTemplateDirective,
|
|
9746
9746
|
PanelBarItemTitleDirective] });
|
|
9747
|
-
PanelBarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
9748
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9747
|
+
PanelBarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: PanelBarModule, imports: [CommonModule, IconsModule, WatermarkModule] });
|
|
9748
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: PanelBarModule, decorators: [{
|
|
9749
9749
|
type: NgModule,
|
|
9750
9750
|
args: [{
|
|
9751
|
-
declarations: [declarations$
|
|
9752
|
-
exports: [exportedModules$
|
|
9751
|
+
declarations: [declarations$7],
|
|
9752
|
+
exports: [exportedModules$7],
|
|
9753
9753
|
imports: [CommonModule, IconsModule, WatermarkModule]
|
|
9754
9754
|
}]
|
|
9755
9755
|
}] });
|
|
9756
9756
|
|
|
9757
|
-
const exportedModules$
|
|
9757
|
+
const exportedModules$6 = [
|
|
9758
9758
|
SplitterComponent,
|
|
9759
9759
|
SplitterPaneComponent
|
|
9760
9760
|
];
|
|
9761
|
-
const declarations$
|
|
9761
|
+
const declarations$6 = [
|
|
9762
9762
|
SplitterBarComponent,
|
|
9763
|
-
...exportedModules$
|
|
9763
|
+
...exportedModules$6
|
|
9764
9764
|
];
|
|
9765
9765
|
/**
|
|
9766
9766
|
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
@@ -9772,22 +9772,20 @@ const declarations$5 = [
|
|
|
9772
9772
|
*/
|
|
9773
9773
|
class SplitterModule {
|
|
9774
9774
|
}
|
|
9775
|
-
SplitterModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9776
|
-
SplitterModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
9775
|
+
SplitterModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: SplitterModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
9776
|
+
SplitterModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.4", ngImport: i0, type: SplitterModule, declarations: [SplitterBarComponent, SplitterComponent,
|
|
9777
9777
|
SplitterPaneComponent], imports: [CommonModule,
|
|
9778
9778
|
DraggableModule,
|
|
9779
9779
|
IconsModule], exports: [SplitterComponent,
|
|
9780
9780
|
SplitterPaneComponent] });
|
|
9781
|
-
SplitterModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
9782
|
-
|
|
9783
|
-
|
|
9784
|
-
|
|
9785
|
-
]] });
|
|
9786
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: SplitterModule, decorators: [{
|
|
9781
|
+
SplitterModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: SplitterModule, imports: [CommonModule,
|
|
9782
|
+
DraggableModule,
|
|
9783
|
+
IconsModule] });
|
|
9784
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: SplitterModule, decorators: [{
|
|
9787
9785
|
type: NgModule,
|
|
9788
9786
|
args: [{
|
|
9789
|
-
declarations: [declarations$
|
|
9790
|
-
exports: [exportedModules$
|
|
9787
|
+
declarations: [declarations$6],
|
|
9788
|
+
exports: [exportedModules$6],
|
|
9791
9789
|
imports: [
|
|
9792
9790
|
CommonModule,
|
|
9793
9791
|
DraggableModule,
|
|
@@ -9801,16 +9799,16 @@ const templateDirectives = [
|
|
|
9801
9799
|
StepperLabelTemplateDirective,
|
|
9802
9800
|
StepperIndicatorTemplateDirective
|
|
9803
9801
|
];
|
|
9804
|
-
const exportedModules$
|
|
9802
|
+
const exportedModules$5 = [
|
|
9805
9803
|
StepperComponent,
|
|
9806
9804
|
StepperCustomMessagesComponent,
|
|
9807
9805
|
...templateDirectives
|
|
9808
9806
|
];
|
|
9809
|
-
const declarations$
|
|
9807
|
+
const declarations$5 = [
|
|
9810
9808
|
StepperStepComponent,
|
|
9811
9809
|
StepperListComponent,
|
|
9812
9810
|
LocalizedStepperMessagesDirective,
|
|
9813
|
-
...exportedModules$
|
|
9811
|
+
...exportedModules$5
|
|
9814
9812
|
];
|
|
9815
9813
|
/**
|
|
9816
9814
|
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
@@ -9818,8 +9816,8 @@ const declarations$4 = [
|
|
|
9818
9816
|
*/
|
|
9819
9817
|
class StepperModule {
|
|
9820
9818
|
}
|
|
9821
|
-
StepperModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9822
|
-
StepperModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
9819
|
+
StepperModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: StepperModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
9820
|
+
StepperModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.4", ngImport: i0, type: StepperModule, declarations: [StepperStepComponent,
|
|
9823
9821
|
StepperListComponent,
|
|
9824
9822
|
LocalizedStepperMessagesDirective, StepperComponent,
|
|
9825
9823
|
StepperCustomMessagesComponent, StepperStepTemplateDirective,
|
|
@@ -9828,17 +9826,17 @@ StepperModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version:
|
|
|
9828
9826
|
StepperCustomMessagesComponent, StepperStepTemplateDirective,
|
|
9829
9827
|
StepperLabelTemplateDirective,
|
|
9830
9828
|
StepperIndicatorTemplateDirective] });
|
|
9831
|
-
StepperModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
9832
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9829
|
+
StepperModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: StepperModule, imports: [CommonModule, ProgressBarModule, IconsModule] });
|
|
9830
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: StepperModule, decorators: [{
|
|
9833
9831
|
type: NgModule,
|
|
9834
9832
|
args: [{
|
|
9835
|
-
declarations: [declarations$
|
|
9836
|
-
exports: [exportedModules$
|
|
9833
|
+
declarations: [declarations$5],
|
|
9834
|
+
exports: [exportedModules$5],
|
|
9837
9835
|
imports: [CommonModule, ProgressBarModule, IconsModule]
|
|
9838
9836
|
}]
|
|
9839
9837
|
}] });
|
|
9840
9838
|
|
|
9841
|
-
const exportedModules$
|
|
9839
|
+
const exportedModules$4 = [
|
|
9842
9840
|
TabStripComponent,
|
|
9843
9841
|
TabStripTabComponent,
|
|
9844
9842
|
TabContentDirective,
|
|
@@ -9848,8 +9846,8 @@ const exportedModules$3 = [
|
|
|
9848
9846
|
LocalizedTabStripMessagesDirective,
|
|
9849
9847
|
TabTemplateDirective
|
|
9850
9848
|
];
|
|
9851
|
-
const declarations$
|
|
9852
|
-
...exportedModules$
|
|
9849
|
+
const declarations$4 = [
|
|
9850
|
+
...exportedModules$4,
|
|
9853
9851
|
TabStripScrollableButtonComponent
|
|
9854
9852
|
];
|
|
9855
9853
|
/**
|
|
@@ -9864,8 +9862,8 @@ const declarations$3 = [
|
|
|
9864
9862
|
*/
|
|
9865
9863
|
class TabStripModule {
|
|
9866
9864
|
}
|
|
9867
|
-
TabStripModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9868
|
-
TabStripModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
9865
|
+
TabStripModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: TabStripModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
9866
|
+
TabStripModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.4", ngImport: i0, type: TabStripModule, declarations: [TabStripComponent,
|
|
9869
9867
|
TabStripTabComponent,
|
|
9870
9868
|
TabContentDirective,
|
|
9871
9869
|
TabTitleDirective,
|
|
@@ -9880,25 +9878,25 @@ TabStripModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version:
|
|
|
9880
9878
|
TabStripCustomMessagesComponent,
|
|
9881
9879
|
LocalizedTabStripMessagesDirective,
|
|
9882
9880
|
TabTemplateDirective] });
|
|
9883
|
-
TabStripModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
9884
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9881
|
+
TabStripModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: TabStripModule, imports: [CommonModule, ResizeSensorModule, IconsModule, ButtonModule, WatermarkModule] });
|
|
9882
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: TabStripModule, decorators: [{
|
|
9885
9883
|
type: NgModule,
|
|
9886
9884
|
args: [{
|
|
9887
|
-
declarations: [declarations$
|
|
9888
|
-
exports: [exportedModules$
|
|
9885
|
+
declarations: [declarations$4],
|
|
9886
|
+
exports: [exportedModules$4],
|
|
9889
9887
|
imports: [CommonModule, ResizeSensorModule, IconsModule, ButtonModule, WatermarkModule]
|
|
9890
9888
|
}]
|
|
9891
9889
|
}] });
|
|
9892
9890
|
|
|
9893
|
-
const exportedModules$
|
|
9891
|
+
const exportedModules$3 = [
|
|
9894
9892
|
TileLayoutComponent,
|
|
9895
9893
|
TileLayoutItemComponent,
|
|
9896
9894
|
TileLayoutItemHeaderComponent,
|
|
9897
9895
|
TileLayoutItemBodyComponent,
|
|
9898
9896
|
TileLayoutResizeHandleDirective
|
|
9899
9897
|
];
|
|
9900
|
-
const declarations$
|
|
9901
|
-
...exportedModules$
|
|
9898
|
+
const declarations$3 = [
|
|
9899
|
+
...exportedModules$3
|
|
9902
9900
|
];
|
|
9903
9901
|
/**
|
|
9904
9902
|
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
@@ -9912,8 +9910,8 @@ const declarations$2 = [
|
|
|
9912
9910
|
*/
|
|
9913
9911
|
class TileLayoutModule {
|
|
9914
9912
|
}
|
|
9915
|
-
TileLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9916
|
-
TileLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
9913
|
+
TileLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: TileLayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
9914
|
+
TileLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.4", ngImport: i0, type: TileLayoutModule, declarations: [TileLayoutComponent,
|
|
9917
9915
|
TileLayoutItemComponent,
|
|
9918
9916
|
TileLayoutItemHeaderComponent,
|
|
9919
9917
|
TileLayoutItemBodyComponent,
|
|
@@ -9922,12 +9920,12 @@ TileLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", versio
|
|
|
9922
9920
|
TileLayoutItemHeaderComponent,
|
|
9923
9921
|
TileLayoutItemBodyComponent,
|
|
9924
9922
|
TileLayoutResizeHandleDirective] });
|
|
9925
|
-
TileLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
9926
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9923
|
+
TileLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: TileLayoutModule, imports: [CommonModule, WatermarkModule] });
|
|
9924
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: TileLayoutModule, decorators: [{
|
|
9927
9925
|
type: NgModule,
|
|
9928
9926
|
args: [{
|
|
9929
|
-
declarations: [declarations$
|
|
9930
|
-
exports: [exportedModules$
|
|
9927
|
+
declarations: [declarations$3],
|
|
9928
|
+
exports: [exportedModules$3],
|
|
9931
9929
|
imports: [CommonModule, WatermarkModule]
|
|
9932
9930
|
}]
|
|
9933
9931
|
}] });
|
|
@@ -10118,8 +10116,8 @@ class StackLayoutComponent {
|
|
|
10118
10116
|
return this.localization.rtl ? 'rtl' : 'ltr';
|
|
10119
10117
|
}
|
|
10120
10118
|
}
|
|
10121
|
-
StackLayoutComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10122
|
-
StackLayoutComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
10119
|
+
StackLayoutComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: StackLayoutComponent, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
10120
|
+
StackLayoutComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", 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: [
|
|
10123
10121
|
LocalizationService,
|
|
10124
10122
|
{
|
|
10125
10123
|
provide: L10N_PREFIX,
|
|
@@ -10128,7 +10126,7 @@ StackLayoutComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
10128
10126
|
], exportAs: ["kendoStackLayout"], usesOnChanges: true, ngImport: i0, template: `
|
|
10129
10127
|
<ng-content></ng-content>
|
|
10130
10128
|
`, isInline: true });
|
|
10131
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
10129
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: StackLayoutComponent, decorators: [{
|
|
10132
10130
|
type: Component,
|
|
10133
10131
|
args: [{
|
|
10134
10132
|
exportAs: 'kendoStackLayout',
|
|
@@ -10164,11 +10162,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
10164
10162
|
type: Input
|
|
10165
10163
|
}] } });
|
|
10166
10164
|
|
|
10167
|
-
const exportedModules$
|
|
10165
|
+
const exportedModules$2 = [
|
|
10168
10166
|
StackLayoutComponent
|
|
10169
10167
|
];
|
|
10170
|
-
const declarations$
|
|
10171
|
-
...exportedModules$
|
|
10168
|
+
const declarations$2 = [
|
|
10169
|
+
...exportedModules$2
|
|
10172
10170
|
];
|
|
10173
10171
|
/**
|
|
10174
10172
|
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
@@ -10176,14 +10174,14 @@ const declarations$1 = [
|
|
|
10176
10174
|
*/
|
|
10177
10175
|
class StackLayoutModule {
|
|
10178
10176
|
}
|
|
10179
|
-
StackLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10180
|
-
StackLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
10181
|
-
StackLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
10182
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
10177
|
+
StackLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: StackLayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
10178
|
+
StackLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.4", ngImport: i0, type: StackLayoutModule, declarations: [StackLayoutComponent], imports: [CommonModule], exports: [StackLayoutComponent] });
|
|
10179
|
+
StackLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: StackLayoutModule, imports: [CommonModule] });
|
|
10180
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: StackLayoutModule, decorators: [{
|
|
10183
10181
|
type: NgModule,
|
|
10184
10182
|
args: [{
|
|
10185
|
-
declarations: [declarations$
|
|
10186
|
-
exports: [exportedModules$
|
|
10183
|
+
declarations: [declarations$2],
|
|
10184
|
+
exports: [exportedModules$2],
|
|
10187
10185
|
imports: [CommonModule]
|
|
10188
10186
|
}]
|
|
10189
10187
|
}] });
|
|
@@ -10274,8 +10272,8 @@ class GridLayoutComponent {
|
|
|
10274
10272
|
return this.localization.rtl ? 'rtl' : 'ltr';
|
|
10275
10273
|
}
|
|
10276
10274
|
}
|
|
10277
|
-
GridLayoutComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10278
|
-
GridLayoutComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
10275
|
+
GridLayoutComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: GridLayoutComponent, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
10276
|
+
GridLayoutComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", 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: [
|
|
10279
10277
|
LocalizationService,
|
|
10280
10278
|
{
|
|
10281
10279
|
provide: L10N_PREFIX,
|
|
@@ -10284,7 +10282,7 @@ GridLayoutComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
10284
10282
|
], exportAs: ["kendoGridLayout"], usesOnChanges: true, ngImport: i0, template: `
|
|
10285
10283
|
<ng-content></ng-content>
|
|
10286
10284
|
`, isInline: true });
|
|
10287
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
10285
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: GridLayoutComponent, decorators: [{
|
|
10288
10286
|
type: Component,
|
|
10289
10287
|
args: [{
|
|
10290
10288
|
exportAs: 'kendoGridLayout',
|
|
@@ -10336,11 +10334,11 @@ class GridLayoutItemComponent {
|
|
|
10336
10334
|
this.renderer.setStyle(this.element.nativeElement, 'grid-area', gridAreaStyle);
|
|
10337
10335
|
}
|
|
10338
10336
|
}
|
|
10339
|
-
GridLayoutItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10340
|
-
GridLayoutItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
10337
|
+
GridLayoutItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: GridLayoutItemComponent, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
10338
|
+
GridLayoutItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: GridLayoutItemComponent, selector: "kendo-gridlayout-item", inputs: { row: "row", col: "col", rowSpan: "rowSpan", colSpan: "colSpan" }, usesOnChanges: true, ngImport: i0, template: `
|
|
10341
10339
|
<ng-content></ng-content>
|
|
10342
10340
|
`, isInline: true });
|
|
10343
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
10341
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: GridLayoutItemComponent, decorators: [{
|
|
10344
10342
|
type: Component,
|
|
10345
10343
|
args: [{
|
|
10346
10344
|
selector: 'kendo-gridlayout-item',
|
|
@@ -10358,12 +10356,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
10358
10356
|
type: Input
|
|
10359
10357
|
}] } });
|
|
10360
10358
|
|
|
10361
|
-
const exportedModules = [
|
|
10359
|
+
const exportedModules$1 = [
|
|
10362
10360
|
GridLayoutComponent,
|
|
10363
10361
|
GridLayoutItemComponent
|
|
10364
10362
|
];
|
|
10365
|
-
const declarations = [
|
|
10366
|
-
...exportedModules
|
|
10363
|
+
const declarations$1 = [
|
|
10364
|
+
...exportedModules$1
|
|
10367
10365
|
];
|
|
10368
10366
|
/**
|
|
10369
10367
|
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
@@ -10371,20 +10369,1921 @@ const declarations = [
|
|
|
10371
10369
|
*/
|
|
10372
10370
|
class GridLayoutModule {
|
|
10373
10371
|
}
|
|
10374
|
-
GridLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10375
|
-
GridLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
10372
|
+
GridLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: GridLayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
10373
|
+
GridLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.4", ngImport: i0, type: GridLayoutModule, declarations: [GridLayoutComponent,
|
|
10376
10374
|
GridLayoutItemComponent], imports: [CommonModule], exports: [GridLayoutComponent,
|
|
10377
10375
|
GridLayoutItemComponent] });
|
|
10378
|
-
GridLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
10379
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
10376
|
+
GridLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: GridLayoutModule, imports: [CommonModule] });
|
|
10377
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: GridLayoutModule, decorators: [{
|
|
10380
10378
|
type: NgModule,
|
|
10381
10379
|
args: [{
|
|
10382
|
-
declarations: [declarations],
|
|
10383
|
-
exports: [exportedModules],
|
|
10380
|
+
declarations: [declarations$1],
|
|
10381
|
+
exports: [exportedModules$1],
|
|
10384
10382
|
imports: [CommonModule]
|
|
10385
10383
|
}]
|
|
10386
10384
|
}] });
|
|
10387
10385
|
|
|
10386
|
+
/**
|
|
10387
|
+
* @hidden
|
|
10388
|
+
*/
|
|
10389
|
+
const defaultModelFields = {
|
|
10390
|
+
title: 'title',
|
|
10391
|
+
subtitle: 'subtitle',
|
|
10392
|
+
description: 'description',
|
|
10393
|
+
date: 'date',
|
|
10394
|
+
expanded: 'expanded',
|
|
10395
|
+
images: 'images',
|
|
10396
|
+
actions: 'actions',
|
|
10397
|
+
};
|
|
10398
|
+
|
|
10399
|
+
/**
|
|
10400
|
+
* @hidden
|
|
10401
|
+
*/
|
|
10402
|
+
const processItems = (items, fields) => {
|
|
10403
|
+
return items.map((item) => parseItem(item, fields));
|
|
10404
|
+
};
|
|
10405
|
+
/**
|
|
10406
|
+
* @hidden
|
|
10407
|
+
*/
|
|
10408
|
+
const parseItem = (item, fields) => ({
|
|
10409
|
+
title: item[fields.title] || item.title,
|
|
10410
|
+
date: item[fields.date] || item.date,
|
|
10411
|
+
subtitle: item[fields.subtitle] || item.subtitle,
|
|
10412
|
+
description: item[fields.description] || item.description,
|
|
10413
|
+
expanded: item[fields.expanded] || item.expanded,
|
|
10414
|
+
images: item[fields.images] || item.images,
|
|
10415
|
+
actions: item[fields.actions] || item.actions,
|
|
10416
|
+
});
|
|
10417
|
+
/**
|
|
10418
|
+
* @hidden
|
|
10419
|
+
*/
|
|
10420
|
+
const MAX_VISIBLE_EVENTS = 3;
|
|
10421
|
+
|
|
10422
|
+
/**
|
|
10423
|
+
* @hidden
|
|
10424
|
+
*/
|
|
10425
|
+
class TimelineService {
|
|
10426
|
+
onToggle(event) {
|
|
10427
|
+
if (this.timeline) {
|
|
10428
|
+
this.timeline['onToggle']?.emit(event);
|
|
10429
|
+
}
|
|
10430
|
+
}
|
|
10431
|
+
onActionClick(event) {
|
|
10432
|
+
if (this.timeline) {
|
|
10433
|
+
this.timeline['onActionClick']?.emit(event);
|
|
10434
|
+
}
|
|
10435
|
+
}
|
|
10436
|
+
onNavigate(event) {
|
|
10437
|
+
if (this.timeline) {
|
|
10438
|
+
this.timeline['onNavigate']?.emit(event);
|
|
10439
|
+
}
|
|
10440
|
+
}
|
|
10441
|
+
}
|
|
10442
|
+
TimelineService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: TimelineService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
10443
|
+
TimelineService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: TimelineService });
|
|
10444
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: TimelineService, decorators: [{
|
|
10445
|
+
type: Injectable
|
|
10446
|
+
}] });
|
|
10447
|
+
|
|
10448
|
+
/**
|
|
10449
|
+
* Specifies the header of each timeline card. To define a header template, nest an `<ng-template>` tag
|
|
10450
|
+
* with the `kendoTimelineCardHeaderTemplate` directive inside the `<kendo-timeline>` tag.
|
|
10451
|
+
*
|
|
10452
|
+
* The following values are available as context variables:
|
|
10453
|
+
* - `let-event="event"` (`TimelineEvent`) - The current card's event. Also available as implicit context variable.
|
|
10454
|
+
* - `let-index="index"` (`number`) - The current event index.
|
|
10455
|
+
*/
|
|
10456
|
+
class TimelineCardHeaderTemplateDirective {
|
|
10457
|
+
constructor(templateRef) {
|
|
10458
|
+
this.templateRef = templateRef;
|
|
10459
|
+
}
|
|
10460
|
+
}
|
|
10461
|
+
TimelineCardHeaderTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: TimelineCardHeaderTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
10462
|
+
TimelineCardHeaderTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: TimelineCardHeaderTemplateDirective, selector: "[kendoTimelineCardHeaderTemplate]", ngImport: i0 });
|
|
10463
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: TimelineCardHeaderTemplateDirective, decorators: [{
|
|
10464
|
+
type: Directive,
|
|
10465
|
+
args: [{
|
|
10466
|
+
selector: '[kendoTimelineCardHeaderTemplate]'
|
|
10467
|
+
}]
|
|
10468
|
+
}], ctorParameters: function () { return [{ type: i0.TemplateRef, decorators: [{
|
|
10469
|
+
type: Optional
|
|
10470
|
+
}] }]; } });
|
|
10471
|
+
|
|
10472
|
+
/**
|
|
10473
|
+
* Specifies the body of each timeline card. To define a body template, nest an `<ng-template>` tag
|
|
10474
|
+
* with the `kendoTimelineCardBodyTemplate` directive inside the `<kendo-timeline>` tag.
|
|
10475
|
+
*
|
|
10476
|
+
* The following values are available as context variables:
|
|
10477
|
+
* - `let-event="event"` (`TimelineEvent`) - The current card's event. Also available as implicit context variable.
|
|
10478
|
+
* - `let-index="index"` (`number`) - The current event index.
|
|
10479
|
+
*/
|
|
10480
|
+
class TimelineCardBodyTemplateDirective {
|
|
10481
|
+
constructor(templateRef) {
|
|
10482
|
+
this.templateRef = templateRef;
|
|
10483
|
+
}
|
|
10484
|
+
}
|
|
10485
|
+
TimelineCardBodyTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: TimelineCardBodyTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
10486
|
+
TimelineCardBodyTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: TimelineCardBodyTemplateDirective, selector: "[kendoTimelineCardBodyTemplate]", ngImport: i0 });
|
|
10487
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: TimelineCardBodyTemplateDirective, decorators: [{
|
|
10488
|
+
type: Directive,
|
|
10489
|
+
args: [{
|
|
10490
|
+
selector: '[kendoTimelineCardBodyTemplate]'
|
|
10491
|
+
}]
|
|
10492
|
+
}], ctorParameters: function () { return [{ type: i0.TemplateRef, decorators: [{
|
|
10493
|
+
type: Optional
|
|
10494
|
+
}] }]; } });
|
|
10495
|
+
|
|
10496
|
+
/**
|
|
10497
|
+
* Specifies the actions of each timeline card. To define an actions template, nest an `<ng-template>` tag
|
|
10498
|
+
* with the `kendoTimelineCardActionsTemplate` directive inside the `<kendo-timeline>` tag.
|
|
10499
|
+
*
|
|
10500
|
+
* The following values are available as context variables:
|
|
10501
|
+
* - `let-event="event"` (`TimelineEvent`) - The current card's event. Also available as implicit context variable.
|
|
10502
|
+
* - `let-index="index"` (`number`) - The current event index.
|
|
10503
|
+
*/
|
|
10504
|
+
class TimelineCardActionsTemplateDirective {
|
|
10505
|
+
constructor(templateRef) {
|
|
10506
|
+
this.templateRef = templateRef;
|
|
10507
|
+
}
|
|
10508
|
+
}
|
|
10509
|
+
TimelineCardActionsTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: TimelineCardActionsTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
10510
|
+
TimelineCardActionsTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: TimelineCardActionsTemplateDirective, selector: "[kendoTimelineCardActionsTemplate]", ngImport: i0 });
|
|
10511
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: TimelineCardActionsTemplateDirective, decorators: [{
|
|
10512
|
+
type: Directive,
|
|
10513
|
+
args: [{
|
|
10514
|
+
selector: '[kendoTimelineCardActionsTemplate]'
|
|
10515
|
+
}]
|
|
10516
|
+
}], ctorParameters: function () { return [{ type: i0.TemplateRef, decorators: [{
|
|
10517
|
+
type: Optional
|
|
10518
|
+
}] }]; } });
|
|
10519
|
+
|
|
10520
|
+
/**
|
|
10521
|
+
* @hidden
|
|
10522
|
+
*/
|
|
10523
|
+
class TimelineCardComponent {
|
|
10524
|
+
constructor(element, timelineService, renderer) {
|
|
10525
|
+
this.element = element;
|
|
10526
|
+
this.timelineService = timelineService;
|
|
10527
|
+
this.renderer = renderer;
|
|
10528
|
+
this.expanded = false;
|
|
10529
|
+
this.collapsible = true;
|
|
10530
|
+
this.reversed = false;
|
|
10531
|
+
this.hostClass = true;
|
|
10532
|
+
this.calloutSvgIcon = chevronRightIcon;
|
|
10533
|
+
this.calloutFontIcon = 'arrow-chevron-right';
|
|
10534
|
+
this.animationState = this.expanded ? 'expanded' : 'collapsed';
|
|
10535
|
+
this.animationInProgress = false;
|
|
10536
|
+
}
|
|
10537
|
+
set calloutStyle(value) {
|
|
10538
|
+
// applies only to horizontal orientation where the callout points upwards
|
|
10539
|
+
if (!this.calloutElementRef || !this.calloutElementRef.nativeElement.classList.contains('k-callout-n')) {
|
|
10540
|
+
return;
|
|
10541
|
+
}
|
|
10542
|
+
this.calloutElementRef.nativeElement.style.left = value?.left;
|
|
10543
|
+
}
|
|
10544
|
+
get collapsedClass() {
|
|
10545
|
+
return !this.expanded && !this.animationInProgress && this.animationState === 'collapsed';
|
|
10546
|
+
}
|
|
10547
|
+
onComponentKeyDown(event) {
|
|
10548
|
+
if (!this.navigable) {
|
|
10549
|
+
return;
|
|
10550
|
+
}
|
|
10551
|
+
if (event.keyCode === Keys.Space || event.keyCode === Keys.Enter) {
|
|
10552
|
+
event.preventDefault();
|
|
10553
|
+
if (this.collapsible && this.orientation === 'vertical') {
|
|
10554
|
+
this.expanded = !this.expanded;
|
|
10555
|
+
}
|
|
10556
|
+
}
|
|
10557
|
+
}
|
|
10558
|
+
get role() {
|
|
10559
|
+
return this.orientation === 'vertical' ? 'button' : 'tabpanel';
|
|
10560
|
+
}
|
|
10561
|
+
get ariaLive() {
|
|
10562
|
+
return this.orientation === 'vertical' ? 'polite' : null;
|
|
10563
|
+
}
|
|
10564
|
+
get ariaExpanded() {
|
|
10565
|
+
return this.orientation === 'vertical' ? this.expanded : null;
|
|
10566
|
+
}
|
|
10567
|
+
ngAfterViewInit() {
|
|
10568
|
+
this.makeOverflowVisible();
|
|
10569
|
+
}
|
|
10570
|
+
ngOnChanges(changes) {
|
|
10571
|
+
if (isChanged('collapsible', changes, false)) {
|
|
10572
|
+
if (!this.collapsible) {
|
|
10573
|
+
this.expanded = true;
|
|
10574
|
+
}
|
|
10575
|
+
}
|
|
10576
|
+
}
|
|
10577
|
+
toggle() {
|
|
10578
|
+
if (this.orientation === 'vertical') {
|
|
10579
|
+
this.expanded = this.collapsible ? !this.expanded : true;
|
|
10580
|
+
this.timelineService.onToggle(this.index);
|
|
10581
|
+
}
|
|
10582
|
+
}
|
|
10583
|
+
expand() {
|
|
10584
|
+
if (!this.expanded) {
|
|
10585
|
+
this.expanded = true;
|
|
10586
|
+
this.timelineService.onToggle(this.index);
|
|
10587
|
+
}
|
|
10588
|
+
}
|
|
10589
|
+
collapse() {
|
|
10590
|
+
if (!this.collapsible || !this.expanded) {
|
|
10591
|
+
return;
|
|
10592
|
+
}
|
|
10593
|
+
this.expanded = false;
|
|
10594
|
+
this.timelineService.onToggle(this.index);
|
|
10595
|
+
}
|
|
10596
|
+
onActionClick(event) {
|
|
10597
|
+
event.stopPropagation();
|
|
10598
|
+
this.timelineService.onActionClick(this.index);
|
|
10599
|
+
}
|
|
10600
|
+
animationStart() {
|
|
10601
|
+
this.animationInProgress = true;
|
|
10602
|
+
}
|
|
10603
|
+
animationDone(event) {
|
|
10604
|
+
this.animationInProgress = false;
|
|
10605
|
+
if (event.toState === 'expanded' && event.fromState !== 'expanded') {
|
|
10606
|
+
this.animationState = 'expanded';
|
|
10607
|
+
this.makeOverflowVisible();
|
|
10608
|
+
}
|
|
10609
|
+
else if (event.toState === 'collapsed' && event.fromState !== 'collapsed') {
|
|
10610
|
+
this.animationState = 'collapsed';
|
|
10611
|
+
}
|
|
10612
|
+
}
|
|
10613
|
+
makeOverflowVisible() {
|
|
10614
|
+
if (this.orientation === 'vertical') {
|
|
10615
|
+
return;
|
|
10616
|
+
}
|
|
10617
|
+
const cardBody = this.element?.nativeElement.querySelector('.k-card-body');
|
|
10618
|
+
if (cardBody) {
|
|
10619
|
+
this.renderer.setStyle(cardBody, 'overflow', 'auto');
|
|
10620
|
+
}
|
|
10621
|
+
}
|
|
10622
|
+
}
|
|
10623
|
+
TimelineCardComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: TimelineCardComponent, deps: [{ token: i0.ElementRef }, { token: TimelineService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
10624
|
+
TimelineCardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", 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: `
|
|
10625
|
+
<kendo-card
|
|
10626
|
+
[ngStyle]="{ 'height': orientation === 'horizontal' ? eventHeight + 'px' : null }"
|
|
10627
|
+
[width]="orientation === 'horizontal' ? 'auto' : eventWidth + 'px'"
|
|
10628
|
+
class="k-card-with-callout k-card-vertical"
|
|
10629
|
+
(click)="toggle()"
|
|
10630
|
+
[attr.role]="role"
|
|
10631
|
+
[attr.aria-live]="ariaLive"
|
|
10632
|
+
[attr.aria-expanded]="ariaExpanded"
|
|
10633
|
+
[attr.tabindex]="tabIndex"
|
|
10634
|
+
>
|
|
10635
|
+
<span
|
|
10636
|
+
#callout
|
|
10637
|
+
*ngIf="event"
|
|
10638
|
+
class="k-timeline-card-callout k-card-callout"
|
|
10639
|
+
[ngClass]="{
|
|
10640
|
+
'k-callout-n': orientation === 'horizontal',
|
|
10641
|
+
'k-callout-w': orientation === 'vertical' && !this.reversed,
|
|
10642
|
+
'k-callout-e': orientation === 'vertical' && this.reversed
|
|
10643
|
+
}"
|
|
10644
|
+
>
|
|
10645
|
+
</span>
|
|
10646
|
+
<div *ngIf="event" class="k-card-inner">
|
|
10647
|
+
<kendo-card-header>
|
|
10648
|
+
<ng-template
|
|
10649
|
+
*ngIf="headerTemplate"
|
|
10650
|
+
[ngTemplateOutlet]="headerTemplate?.templateRef"
|
|
10651
|
+
[ngTemplateOutletContext]="{ $implicit: event, index: index}">
|
|
10652
|
+
>
|
|
10653
|
+
</ng-template>
|
|
10654
|
+
|
|
10655
|
+
<div kendoCardTitle *ngIf="!headerTemplate">
|
|
10656
|
+
<span class="k-event-title">{{ event.title }}</span>
|
|
10657
|
+
<button
|
|
10658
|
+
kendoButton
|
|
10659
|
+
*ngIf="collapsible && orientation === 'vertical'"
|
|
10660
|
+
[icon]="calloutFontIcon"
|
|
10661
|
+
[svgIcon]="calloutSvgIcon"
|
|
10662
|
+
class="k-event-collapse"
|
|
10663
|
+
fillMode="flat"
|
|
10664
|
+
[attr.aria-hidden]="true"
|
|
10665
|
+
tabindex="-1"
|
|
10666
|
+
type="button"
|
|
10667
|
+
></button>
|
|
10668
|
+
</div>
|
|
10669
|
+
<div kendoCardSubtitle *ngIf="!headerTemplate">{{ event.subtitle }}</div>
|
|
10670
|
+
</kendo-card-header>
|
|
10671
|
+
|
|
10672
|
+
<kendo-card-body
|
|
10673
|
+
*ngIf="event.description || event.images"
|
|
10674
|
+
[@toggle]="{value: expanded ? 'expanded' : 'collapsed', params: {animationDuration: this.animationDuration || 0}}"
|
|
10675
|
+
(@toggle.start)="animationStart()"
|
|
10676
|
+
(@toggle.done)="animationDone($event)"
|
|
10677
|
+
>
|
|
10678
|
+
<ng-template
|
|
10679
|
+
*ngIf="bodyTemplate"
|
|
10680
|
+
[ngTemplateOutlet]="bodyTemplate?.templateRef"
|
|
10681
|
+
[ngTemplateOutletContext]="{ $implicit: event, index: index}">
|
|
10682
|
+
>
|
|
10683
|
+
</ng-template>
|
|
10684
|
+
|
|
10685
|
+
<div *ngIf="!bodyTemplate" class="k-card-description">
|
|
10686
|
+
<p *ngIf="event.description">{{ event.description }}</p>
|
|
10687
|
+
<ng-container *ngFor="let image of event.images">
|
|
10688
|
+
<img *ngIf="image.alt" kendoCardMedia [src]="image.src" [alt]="image.alt" />
|
|
10689
|
+
<img *ngIf="!image.alt" kendoCardMedia [src]="image.src" />
|
|
10690
|
+
</ng-container>
|
|
10691
|
+
</div>
|
|
10692
|
+
</kendo-card-body>
|
|
10693
|
+
|
|
10694
|
+
<kendo-card-actions
|
|
10695
|
+
*ngIf="event.actions"
|
|
10696
|
+
[@toggle]="{value: expanded ? 'expanded' : 'collapsed', params: {animationDuration: this.animationDuration || 0}}"
|
|
10697
|
+
>
|
|
10698
|
+
<ng-template
|
|
10699
|
+
*ngIf="actionsTemplate"
|
|
10700
|
+
[ngTemplateOutlet]="actionsTemplate?.templateRef"
|
|
10701
|
+
[ngTemplateOutletContext]="{ $implicit: event, index: index}">
|
|
10702
|
+
>
|
|
10703
|
+
</ng-template>
|
|
10704
|
+
|
|
10705
|
+
<ng-container *ngIf="!actionsTemplate">
|
|
10706
|
+
<a *ngFor="let action of event.actions"
|
|
10707
|
+
[href]="action.url"
|
|
10708
|
+
[target]="action.target === 'blank' ? '_blank' : '_self'"
|
|
10709
|
+
(click)="onActionClick($event)"
|
|
10710
|
+
class="k-button k-button-md k-rounded-md k-button-flat k-button-flat-primary"
|
|
10711
|
+
role="button"
|
|
10712
|
+
>
|
|
10713
|
+
{{ action.text }}
|
|
10714
|
+
</a>
|
|
10715
|
+
</ng-container>
|
|
10716
|
+
</kendo-card-actions>
|
|
10717
|
+
</div>
|
|
10718
|
+
</kendo-card>
|
|
10719
|
+
`, 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: [
|
|
10720
|
+
trigger('toggle', [
|
|
10721
|
+
state('collapsed', style({
|
|
10722
|
+
height: '0',
|
|
10723
|
+
'overflow-y': 'hidden',
|
|
10724
|
+
display: 'none'
|
|
10725
|
+
})),
|
|
10726
|
+
state('expanded', style({
|
|
10727
|
+
height: '*',
|
|
10728
|
+
'overflow-y': 'hidden',
|
|
10729
|
+
display: 'block'
|
|
10730
|
+
})),
|
|
10731
|
+
transition('collapsed <=> expanded', [
|
|
10732
|
+
animate('{{animationDuration}}ms')
|
|
10733
|
+
], { params: { animationDuration: '400' } }),
|
|
10734
|
+
])
|
|
10735
|
+
] });
|
|
10736
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: TimelineCardComponent, decorators: [{
|
|
10737
|
+
type: Component,
|
|
10738
|
+
args: [{
|
|
10739
|
+
animations: [
|
|
10740
|
+
trigger('toggle', [
|
|
10741
|
+
state('collapsed', style({
|
|
10742
|
+
height: '0',
|
|
10743
|
+
'overflow-y': 'hidden',
|
|
10744
|
+
display: 'none'
|
|
10745
|
+
})),
|
|
10746
|
+
state('expanded', style({
|
|
10747
|
+
height: '*',
|
|
10748
|
+
'overflow-y': 'hidden',
|
|
10749
|
+
display: 'block'
|
|
10750
|
+
})),
|
|
10751
|
+
transition('collapsed <=> expanded', [
|
|
10752
|
+
animate('{{animationDuration}}ms')
|
|
10753
|
+
], { params: { animationDuration: '400' } }),
|
|
10754
|
+
])
|
|
10755
|
+
],
|
|
10756
|
+
providers: [],
|
|
10757
|
+
exportAs: 'kendoTimelineCard',
|
|
10758
|
+
selector: 'kendo-timeline-card',
|
|
10759
|
+
template: `
|
|
10760
|
+
<kendo-card
|
|
10761
|
+
[ngStyle]="{ 'height': orientation === 'horizontal' ? eventHeight + 'px' : null }"
|
|
10762
|
+
[width]="orientation === 'horizontal' ? 'auto' : eventWidth + 'px'"
|
|
10763
|
+
class="k-card-with-callout k-card-vertical"
|
|
10764
|
+
(click)="toggle()"
|
|
10765
|
+
[attr.role]="role"
|
|
10766
|
+
[attr.aria-live]="ariaLive"
|
|
10767
|
+
[attr.aria-expanded]="ariaExpanded"
|
|
10768
|
+
[attr.tabindex]="tabIndex"
|
|
10769
|
+
>
|
|
10770
|
+
<span
|
|
10771
|
+
#callout
|
|
10772
|
+
*ngIf="event"
|
|
10773
|
+
class="k-timeline-card-callout k-card-callout"
|
|
10774
|
+
[ngClass]="{
|
|
10775
|
+
'k-callout-n': orientation === 'horizontal',
|
|
10776
|
+
'k-callout-w': orientation === 'vertical' && !this.reversed,
|
|
10777
|
+
'k-callout-e': orientation === 'vertical' && this.reversed
|
|
10778
|
+
}"
|
|
10779
|
+
>
|
|
10780
|
+
</span>
|
|
10781
|
+
<div *ngIf="event" class="k-card-inner">
|
|
10782
|
+
<kendo-card-header>
|
|
10783
|
+
<ng-template
|
|
10784
|
+
*ngIf="headerTemplate"
|
|
10785
|
+
[ngTemplateOutlet]="headerTemplate?.templateRef"
|
|
10786
|
+
[ngTemplateOutletContext]="{ $implicit: event, index: index}">
|
|
10787
|
+
>
|
|
10788
|
+
</ng-template>
|
|
10789
|
+
|
|
10790
|
+
<div kendoCardTitle *ngIf="!headerTemplate">
|
|
10791
|
+
<span class="k-event-title">{{ event.title }}</span>
|
|
10792
|
+
<button
|
|
10793
|
+
kendoButton
|
|
10794
|
+
*ngIf="collapsible && orientation === 'vertical'"
|
|
10795
|
+
[icon]="calloutFontIcon"
|
|
10796
|
+
[svgIcon]="calloutSvgIcon"
|
|
10797
|
+
class="k-event-collapse"
|
|
10798
|
+
fillMode="flat"
|
|
10799
|
+
[attr.aria-hidden]="true"
|
|
10800
|
+
tabindex="-1"
|
|
10801
|
+
type="button"
|
|
10802
|
+
></button>
|
|
10803
|
+
</div>
|
|
10804
|
+
<div kendoCardSubtitle *ngIf="!headerTemplate">{{ event.subtitle }}</div>
|
|
10805
|
+
</kendo-card-header>
|
|
10806
|
+
|
|
10807
|
+
<kendo-card-body
|
|
10808
|
+
*ngIf="event.description || event.images"
|
|
10809
|
+
[@toggle]="{value: expanded ? 'expanded' : 'collapsed', params: {animationDuration: this.animationDuration || 0}}"
|
|
10810
|
+
(@toggle.start)="animationStart()"
|
|
10811
|
+
(@toggle.done)="animationDone($event)"
|
|
10812
|
+
>
|
|
10813
|
+
<ng-template
|
|
10814
|
+
*ngIf="bodyTemplate"
|
|
10815
|
+
[ngTemplateOutlet]="bodyTemplate?.templateRef"
|
|
10816
|
+
[ngTemplateOutletContext]="{ $implicit: event, index: index}">
|
|
10817
|
+
>
|
|
10818
|
+
</ng-template>
|
|
10819
|
+
|
|
10820
|
+
<div *ngIf="!bodyTemplate" class="k-card-description">
|
|
10821
|
+
<p *ngIf="event.description">{{ event.description }}</p>
|
|
10822
|
+
<ng-container *ngFor="let image of event.images">
|
|
10823
|
+
<img *ngIf="image.alt" kendoCardMedia [src]="image.src" [alt]="image.alt" />
|
|
10824
|
+
<img *ngIf="!image.alt" kendoCardMedia [src]="image.src" />
|
|
10825
|
+
</ng-container>
|
|
10826
|
+
</div>
|
|
10827
|
+
</kendo-card-body>
|
|
10828
|
+
|
|
10829
|
+
<kendo-card-actions
|
|
10830
|
+
*ngIf="event.actions"
|
|
10831
|
+
[@toggle]="{value: expanded ? 'expanded' : 'collapsed', params: {animationDuration: this.animationDuration || 0}}"
|
|
10832
|
+
>
|
|
10833
|
+
<ng-template
|
|
10834
|
+
*ngIf="actionsTemplate"
|
|
10835
|
+
[ngTemplateOutlet]="actionsTemplate?.templateRef"
|
|
10836
|
+
[ngTemplateOutletContext]="{ $implicit: event, index: index}">
|
|
10837
|
+
>
|
|
10838
|
+
</ng-template>
|
|
10839
|
+
|
|
10840
|
+
<ng-container *ngIf="!actionsTemplate">
|
|
10841
|
+
<a *ngFor="let action of event.actions"
|
|
10842
|
+
[href]="action.url"
|
|
10843
|
+
[target]="action.target === 'blank' ? '_blank' : '_self'"
|
|
10844
|
+
(click)="onActionClick($event)"
|
|
10845
|
+
class="k-button k-button-md k-rounded-md k-button-flat k-button-flat-primary"
|
|
10846
|
+
role="button"
|
|
10847
|
+
>
|
|
10848
|
+
{{ action.text }}
|
|
10849
|
+
</a>
|
|
10850
|
+
</ng-container>
|
|
10851
|
+
</kendo-card-actions>
|
|
10852
|
+
</div>
|
|
10853
|
+
</kendo-card>
|
|
10854
|
+
`,
|
|
10855
|
+
}]
|
|
10856
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: TimelineService }, { type: i0.Renderer2 }]; }, propDecorators: { event: [{
|
|
10857
|
+
type: Input
|
|
10858
|
+
}], expanded: [{
|
|
10859
|
+
type: Input
|
|
10860
|
+
}], collapsible: [{
|
|
10861
|
+
type: Input
|
|
10862
|
+
}], reversed: [{
|
|
10863
|
+
type: Input
|
|
10864
|
+
}], orientation: [{
|
|
10865
|
+
type: Input
|
|
10866
|
+
}], navigable: [{
|
|
10867
|
+
type: Input
|
|
10868
|
+
}], tabIndex: [{
|
|
10869
|
+
type: Input
|
|
10870
|
+
}], animationDuration: [{
|
|
10871
|
+
type: Input
|
|
10872
|
+
}], index: [{
|
|
10873
|
+
type: Input
|
|
10874
|
+
}], eventWidth: [{
|
|
10875
|
+
type: Input
|
|
10876
|
+
}], eventHeight: [{
|
|
10877
|
+
type: Input
|
|
10878
|
+
}], headerTemplate: [{
|
|
10879
|
+
type: Input
|
|
10880
|
+
}], bodyTemplate: [{
|
|
10881
|
+
type: Input
|
|
10882
|
+
}], actionsTemplate: [{
|
|
10883
|
+
type: Input
|
|
10884
|
+
}], calloutStyle: [{
|
|
10885
|
+
type: Input
|
|
10886
|
+
}], calloutElementRef: [{
|
|
10887
|
+
type: ViewChild,
|
|
10888
|
+
args: ['callout']
|
|
10889
|
+
}], hostClass: [{
|
|
10890
|
+
type: HostBinding,
|
|
10891
|
+
args: ['class.k-timeline-card']
|
|
10892
|
+
}], collapsedClass: [{
|
|
10893
|
+
type: HostBinding,
|
|
10894
|
+
args: ['class.k-collapsed']
|
|
10895
|
+
}], onComponentKeyDown: [{
|
|
10896
|
+
type: HostListener,
|
|
10897
|
+
args: ['keydown', ['$event']]
|
|
10898
|
+
}] } });
|
|
10899
|
+
|
|
10900
|
+
const DEFAULT_TAB_WIDTH = 200;
|
|
10901
|
+
const SPACE_BETWEEN_TABS = 25;
|
|
10902
|
+
const TRANSITION_EVENTS_COUNT = 3;
|
|
10903
|
+
/**
|
|
10904
|
+
* @hidden
|
|
10905
|
+
*/
|
|
10906
|
+
class TimelineHorizontalComponent {
|
|
10907
|
+
constructor(cdr, _zone, renderer, timelineService, localization) {
|
|
10908
|
+
this.cdr = cdr;
|
|
10909
|
+
this._zone = _zone;
|
|
10910
|
+
this.renderer = renderer;
|
|
10911
|
+
this.timelineService = timelineService;
|
|
10912
|
+
this.localization = localization;
|
|
10913
|
+
this.events = [];
|
|
10914
|
+
this.svgLeftIcon = caretAltLeftIcon;
|
|
10915
|
+
this.svgRightIcon = caretAltRightIcon;
|
|
10916
|
+
this.animationState = 'center';
|
|
10917
|
+
this.translateValue = 0;
|
|
10918
|
+
this.eventsInInterval = [0, 1, 2];
|
|
10919
|
+
this.selectedCardIndex = 0;
|
|
10920
|
+
this.tabWidth = DEFAULT_TAB_WIDTH;
|
|
10921
|
+
this.firstCircleInView = 0;
|
|
10922
|
+
this.visibleEvents = [];
|
|
10923
|
+
this.trackItems = [];
|
|
10924
|
+
this.previousTitle = 'previous';
|
|
10925
|
+
this.nextTitle = 'next';
|
|
10926
|
+
this.subscriptions = new Subscription();
|
|
10927
|
+
}
|
|
10928
|
+
get selectedEvent() {
|
|
10929
|
+
return this._selectedEvent;
|
|
10930
|
+
}
|
|
10931
|
+
set selectedEvent(value) {
|
|
10932
|
+
if (this._selectedEvent === value) {
|
|
10933
|
+
return;
|
|
10934
|
+
}
|
|
10935
|
+
const newSelectedIndex = this.events.findIndex(event => event === value);
|
|
10936
|
+
if (newSelectedIndex === -1 && value !== null) {
|
|
10937
|
+
return;
|
|
10938
|
+
}
|
|
10939
|
+
this._selectedEvent = value;
|
|
10940
|
+
this.selectedEventIndex = newSelectedIndex;
|
|
10941
|
+
this.calloutStyle = this.calloutOffset;
|
|
10942
|
+
}
|
|
10943
|
+
ngOnInit() {
|
|
10944
|
+
this._zone.runOutsideAngular(() => this.subscriptions.add(fromEvent(window, 'resize').subscribe(this.handleWindowResize.bind(this))));
|
|
10945
|
+
this.l10nChange();
|
|
10946
|
+
this.subscriptions.add(this.localization.changes.subscribe(this.l10nChange.bind(this)));
|
|
10947
|
+
if (this.events.length > 0) {
|
|
10948
|
+
this.selectedEvent = this.events[0];
|
|
10949
|
+
}
|
|
10950
|
+
this.events.forEach(event => {
|
|
10951
|
+
if (event.flag) {
|
|
10952
|
+
this.trackItems.push({ isFlag: event.flag });
|
|
10953
|
+
}
|
|
10954
|
+
this.trackItems.push(event);
|
|
10955
|
+
});
|
|
10956
|
+
}
|
|
10957
|
+
ngAfterViewInit() {
|
|
10958
|
+
this.subscriptions.add(this.renderer.listen(this.trackElementRef.nativeElement, 'keydown', this.onKeyDown.bind(this)));
|
|
10959
|
+
this.trackWrapWidth = this.trackElementRef.nativeElement.getBoundingClientRect().width;
|
|
10960
|
+
this.scrollableTrackWidth = this.scrollableTrackElementRef.nativeElement.getBoundingClientRect().width;
|
|
10961
|
+
this._zone.runOutsideAngular(() => {
|
|
10962
|
+
this.onCirclesChange();
|
|
10963
|
+
this.subscriptions.add(this.circleElementRefs.changes.subscribe(this.onCirclesChange.bind(this)));
|
|
10964
|
+
this.subscriptions.add(this.cardElementRefs.changes.subscribe(this.onCardsChange.bind(this)));
|
|
10965
|
+
});
|
|
10966
|
+
if (this.events.length === 0) {
|
|
10967
|
+
return;
|
|
10968
|
+
}
|
|
10969
|
+
this.onCardsChange();
|
|
10970
|
+
if (this.cardComponents.get(this.selectedCardIndex)) {
|
|
10971
|
+
this.cardComponents.get(this.selectedCardIndex).calloutStyle = this.calloutOffset;
|
|
10972
|
+
this.focusTrackItem(0);
|
|
10973
|
+
}
|
|
10974
|
+
}
|
|
10975
|
+
ngOnChanges(changes) {
|
|
10976
|
+
if (isChanged('events', changes)) {
|
|
10977
|
+
if (!this.events || this.events.length === 0) {
|
|
10978
|
+
this.selectedEvent = null;
|
|
10979
|
+
this.trackItems = [];
|
|
10980
|
+
this.visibleEvents = [];
|
|
10981
|
+
}
|
|
10982
|
+
else {
|
|
10983
|
+
this.trackItems = [];
|
|
10984
|
+
this.events.forEach(event => {
|
|
10985
|
+
if (event.flag) {
|
|
10986
|
+
this.trackItems.push({ isFlag: event.flag });
|
|
10987
|
+
}
|
|
10988
|
+
this.trackItems.push(event);
|
|
10989
|
+
});
|
|
10990
|
+
this.visibleEvents = this.trackItems
|
|
10991
|
+
.slice(this.firstCircleInView, this.firstCircleInView + this.visibleTabsCount)
|
|
10992
|
+
.filter(event => !event.isFlag);
|
|
10993
|
+
this.selectedEvent = this.events[0];
|
|
10994
|
+
this.cdr.detectChanges();
|
|
10995
|
+
this.calloutStyle = this.calloutOffset;
|
|
10996
|
+
this.focusTrackItem(0);
|
|
10997
|
+
}
|
|
10998
|
+
}
|
|
10999
|
+
}
|
|
11000
|
+
ngOnDestroy() {
|
|
11001
|
+
this.subscriptions.unsubscribe();
|
|
11002
|
+
}
|
|
11003
|
+
handleWindowResize() {
|
|
11004
|
+
if (this.trackWrapWidth === this.trackElementRef.nativeElement.getBoundingClientRect().width) {
|
|
11005
|
+
return;
|
|
11006
|
+
}
|
|
11007
|
+
this.cardWidth = this.cardComponents.get(this.selectedCardIndex).element.nativeElement.offsetWidth;
|
|
11008
|
+
this.transformCards();
|
|
11009
|
+
this.trackWrapWidth = this.trackElementRef.nativeElement.getBoundingClientRect().width;
|
|
11010
|
+
this.scrollableTrackWidth = this.scrollableTrackElementRef.nativeElement.getBoundingClientRect().width;
|
|
11011
|
+
this.changeTabsCount();
|
|
11012
|
+
this._zone.run(() => {
|
|
11013
|
+
this.cardComponents.get(this.selectedCardIndex).calloutStyle = this.calloutOffset;
|
|
11014
|
+
});
|
|
11015
|
+
}
|
|
11016
|
+
onTransitionEnd() {
|
|
11017
|
+
this.cardElementRefs?.forEach(card => this.renderer.removeStyle(card.nativeElement, 'transition-duration'));
|
|
11018
|
+
this.cardComponents.get(this.selectedCardIndex).event = this.selectedEvent;
|
|
11019
|
+
this.calloutStyle = this.calloutOffset;
|
|
11020
|
+
}
|
|
11021
|
+
onTrackTransitionEnd() {
|
|
11022
|
+
this.calloutStyle = this.calloutOffset;
|
|
11023
|
+
}
|
|
11024
|
+
onSlideDone() {
|
|
11025
|
+
this.calloutStyle = this.calloutOffset;
|
|
11026
|
+
}
|
|
11027
|
+
previous() {
|
|
11028
|
+
if (this.firstCircleInView === 0) {
|
|
11029
|
+
return;
|
|
11030
|
+
}
|
|
11031
|
+
this.updateInterval(false);
|
|
11032
|
+
}
|
|
11033
|
+
previousClick() {
|
|
11034
|
+
this.previous();
|
|
11035
|
+
this.timelineService.onNavigate('previous');
|
|
11036
|
+
}
|
|
11037
|
+
next() {
|
|
11038
|
+
if (!this.visibleTabsCount || this.firstCircleInView + this.visibleTabsCount > this.trackItems.length) {
|
|
11039
|
+
return;
|
|
11040
|
+
}
|
|
11041
|
+
this.updateInterval(true);
|
|
11042
|
+
}
|
|
11043
|
+
nextClick() {
|
|
11044
|
+
this.next();
|
|
11045
|
+
this.timelineService.onNavigate('next');
|
|
11046
|
+
}
|
|
11047
|
+
open(index) {
|
|
11048
|
+
if (index < 0 || index >= this.events.length) {
|
|
11049
|
+
return;
|
|
11050
|
+
}
|
|
11051
|
+
if (this.visibleEvents.findIndex(event => event === this.events[index]) === -1) {
|
|
11052
|
+
// determine the start and end of the interval that the event belongs to, regardless of its position in the interval
|
|
11053
|
+
const trackItemIndex = this.trackItems.findIndex(event => event === this.events[index]);
|
|
11054
|
+
const start = Math.floor(trackItemIndex / this.visibleTabsCount) * this.visibleTabsCount;
|
|
11055
|
+
this.navigateToInterval(start, index);
|
|
11056
|
+
}
|
|
11057
|
+
this.selectedEvent = this.events[index];
|
|
11058
|
+
this.selectedCardIndex = this.getOtherSelectedCardIndex(index > this.selectedEventIndex);
|
|
11059
|
+
this.calloutStyle = this.calloutOffset;
|
|
11060
|
+
this.focusTrackItem(this.selectedEventIndex);
|
|
11061
|
+
this.animateCards();
|
|
11062
|
+
}
|
|
11063
|
+
navigateToEvent(index) {
|
|
11064
|
+
const eventIndex = this.events.findIndex(event => event === this.trackItems[index]);
|
|
11065
|
+
if (this.selectedEventIndex === eventIndex) {
|
|
11066
|
+
return;
|
|
11067
|
+
}
|
|
11068
|
+
this.selectedEvent = this.events[eventIndex];
|
|
11069
|
+
this.selectedCardIndex = this.getOtherSelectedCardIndex(index > eventIndex);
|
|
11070
|
+
this.calloutStyle = this.calloutOffset;
|
|
11071
|
+
this.animateCards();
|
|
11072
|
+
}
|
|
11073
|
+
getOtherSelectedCardIndex(forward) {
|
|
11074
|
+
// change the selected card which changes all cards' transform styles
|
|
11075
|
+
if (forward) {
|
|
11076
|
+
return this.selectedCardIndex === 0 ? TRANSITION_EVENTS_COUNT - 1 : this.selectedCardIndex - 1;
|
|
11077
|
+
}
|
|
11078
|
+
return this.selectedCardIndex === TRANSITION_EVENTS_COUNT - 1 ? 0 : this.selectedCardIndex + 1;
|
|
11079
|
+
}
|
|
11080
|
+
tabStyle() {
|
|
11081
|
+
if (!this.tabFlex) {
|
|
11082
|
+
return {};
|
|
11083
|
+
}
|
|
11084
|
+
return { 'flex': `1 0 ${this.tabFlex}%` };
|
|
11085
|
+
}
|
|
11086
|
+
getTransformation(width, position) {
|
|
11087
|
+
if (position === this.selectedCardIndex - 1 || position === this.selectedCardIndex + 2) {
|
|
11088
|
+
return `translate3d(${-width}px, 0, 0)`;
|
|
11089
|
+
}
|
|
11090
|
+
if (position === this.selectedCardIndex + 1 || position === this.selectedCardIndex - 2) {
|
|
11091
|
+
return `translate3d(${width}px, 0, 0)`;
|
|
11092
|
+
}
|
|
11093
|
+
return `translate3d(0, 0, 0)`;
|
|
11094
|
+
}
|
|
11095
|
+
getState(position) {
|
|
11096
|
+
if (position === this.selectedCardIndex) {
|
|
11097
|
+
return 'center';
|
|
11098
|
+
}
|
|
11099
|
+
if (position === this.selectedCardIndex - 1 || position === this.selectedCardIndex + 2) {
|
|
11100
|
+
return 'left';
|
|
11101
|
+
}
|
|
11102
|
+
return 'right';
|
|
11103
|
+
}
|
|
11104
|
+
get calloutOffset() {
|
|
11105
|
+
if (!this.circleElementRefs?.first || !this.trackElementRef || !isPresent$1(this.selectedEventIndex)) {
|
|
11106
|
+
return {};
|
|
11107
|
+
}
|
|
11108
|
+
const circleCenter = this.circleElementRefs.get(this.selectedEventIndex).nativeElement.getBoundingClientRect().left +
|
|
11109
|
+
this.circleElementRefs.get(this.selectedEventIndex).nativeElement.offsetWidth / 2;
|
|
11110
|
+
const trackOffset = this.trackElementRef.nativeElement.getBoundingClientRect().left;
|
|
11111
|
+
return { left: `${circleCenter - trackOffset}px` };
|
|
11112
|
+
}
|
|
11113
|
+
get isFirstRange() {
|
|
11114
|
+
return this.firstCircleInView === 0;
|
|
11115
|
+
}
|
|
11116
|
+
get isLastRange() {
|
|
11117
|
+
if (!this.circleElementRefs?.first && !this.flagElementRefs?.first) {
|
|
11118
|
+
return false;
|
|
11119
|
+
}
|
|
11120
|
+
return this.trackItems.length === 0 ||
|
|
11121
|
+
this.firstCircleInView + this.visibleTabsCount >= this.trackItems.length;
|
|
11122
|
+
}
|
|
11123
|
+
onCardsChange() {
|
|
11124
|
+
if (this.cardElementRefs?.get(this.selectedCardIndex)) {
|
|
11125
|
+
this.cardWidth = this.cardElementRefs.get(this.selectedCardIndex).nativeElement.offsetWidth;
|
|
11126
|
+
this.transformCards();
|
|
11127
|
+
}
|
|
11128
|
+
}
|
|
11129
|
+
onCirclesChange() {
|
|
11130
|
+
if (!this.circleElementRefs?.first) {
|
|
11131
|
+
return;
|
|
11132
|
+
}
|
|
11133
|
+
this.circleElementRefs
|
|
11134
|
+
.map(element => element.nativeElement)
|
|
11135
|
+
.forEach((element, index) => {
|
|
11136
|
+
this.subscriptions.add(this.renderer.listen(element, 'click', () => {
|
|
11137
|
+
this.focusTrackItem(index);
|
|
11138
|
+
}));
|
|
11139
|
+
});
|
|
11140
|
+
const width = this.circleElementRefs.first.nativeElement.getBoundingClientRect().width;
|
|
11141
|
+
if (width > DEFAULT_TAB_WIDTH) {
|
|
11142
|
+
this.tabWidth = this.circleElementRefs.first.nativeElement.getBoundingClientRect().width + SPACE_BETWEEN_TABS;
|
|
11143
|
+
}
|
|
11144
|
+
this.changeTabsCount();
|
|
11145
|
+
this.visibleEvents = this.trackItems
|
|
11146
|
+
.slice(this.firstCircleInView, this.firstCircleInView + this.visibleTabsCount)
|
|
11147
|
+
.filter(event => !event.isFlag);
|
|
11148
|
+
}
|
|
11149
|
+
onKeyDown(event) {
|
|
11150
|
+
if (!this.navigable) {
|
|
11151
|
+
return;
|
|
11152
|
+
}
|
|
11153
|
+
if (event.keyCode === Keys.Home) {
|
|
11154
|
+
this.onHomeKey();
|
|
11155
|
+
}
|
|
11156
|
+
else if (event.keyCode === Keys.End) {
|
|
11157
|
+
this.onEndKey();
|
|
11158
|
+
}
|
|
11159
|
+
else if (event.keyCode === Keys.ArrowRight) {
|
|
11160
|
+
this.onArrowRightKey();
|
|
11161
|
+
}
|
|
11162
|
+
else if (event.keyCode === Keys.ArrowLeft) {
|
|
11163
|
+
this.onArrowLeftKey();
|
|
11164
|
+
}
|
|
11165
|
+
}
|
|
11166
|
+
focusTrackItem(index) {
|
|
11167
|
+
if (!this.circleElementRefs || index < 0 || index >= this.circleElementRefs.length) {
|
|
11168
|
+
return;
|
|
11169
|
+
}
|
|
11170
|
+
const selectedTrackItem = this.circleElementRefs
|
|
11171
|
+
.find(element => element.nativeElement.hasAttribute('aria-selected'));
|
|
11172
|
+
if (selectedTrackItem) {
|
|
11173
|
+
this.removeTrackItemAttributes(selectedTrackItem);
|
|
11174
|
+
this.removeCardsAttributes();
|
|
11175
|
+
}
|
|
11176
|
+
const newTrackItem = this.circleElementRefs.get(index).nativeElement;
|
|
11177
|
+
this.setTrackItemAttributes(newTrackItem, index);
|
|
11178
|
+
}
|
|
11179
|
+
setTrackItemAttributes(element, index) {
|
|
11180
|
+
const innerCard = this.cardComponents.get(this.selectedCardIndex).element.nativeElement.querySelector('.k-card');
|
|
11181
|
+
const selectedCircle = this.circleElementRefs.get(index).nativeElement;
|
|
11182
|
+
this.renderer.addClass(element, 'k-focus');
|
|
11183
|
+
this.renderer.setAttribute(element, 'aria-selected', 'true');
|
|
11184
|
+
this.assignAriaLabel(innerCard, selectedCircle);
|
|
11185
|
+
this.assignAriaDescribedBy(innerCard, selectedCircle);
|
|
11186
|
+
}
|
|
11187
|
+
removeTrackItemAttributes(element) {
|
|
11188
|
+
this.renderer.removeClass(element.nativeElement, 'k-focus');
|
|
11189
|
+
this.renderer.removeAttribute(element.nativeElement, 'aria-selected');
|
|
11190
|
+
this.renderer.removeAttribute(element.nativeElement, 'id');
|
|
11191
|
+
this.renderer.removeAttribute(element.nativeElement, 'aria-describedby');
|
|
11192
|
+
}
|
|
11193
|
+
removeCardsAttributes() {
|
|
11194
|
+
this.cardElementRefs.forEach(card => {
|
|
11195
|
+
this.renderer.removeAttribute(card.nativeElement.querySelector('.k-card'), 'id');
|
|
11196
|
+
this.renderer.removeAttribute(card.nativeElement.querySelector('.k-card'), 'aria-label');
|
|
11197
|
+
});
|
|
11198
|
+
}
|
|
11199
|
+
assignAriaLabel(cardElement, dateElement) {
|
|
11200
|
+
const dateLabelId = `k-${guid()}`;
|
|
11201
|
+
this.renderer.setAttribute(dateElement, 'id', dateLabelId);
|
|
11202
|
+
this.renderer.setAttribute(cardElement, 'aria-label', dateLabelId);
|
|
11203
|
+
}
|
|
11204
|
+
assignAriaDescribedBy(cardElement, dateElement) {
|
|
11205
|
+
const cardId = `k-${guid()}`;
|
|
11206
|
+
this.renderer.setAttribute(cardElement, 'id', cardId);
|
|
11207
|
+
this.renderer.setAttribute(dateElement, 'aria-describedby', cardId);
|
|
11208
|
+
}
|
|
11209
|
+
updateInterval(forward) {
|
|
11210
|
+
let start = forward ? this.firstCircleInView + this.visibleTabsCount : this.firstCircleInView - this.visibleTabsCount;
|
|
11211
|
+
if (start < 0 || start >= this.trackItems.length) {
|
|
11212
|
+
start = 0;
|
|
11213
|
+
}
|
|
11214
|
+
this.navigateToInterval(start, 0, forward, !forward);
|
|
11215
|
+
}
|
|
11216
|
+
onHomeKey() {
|
|
11217
|
+
this.navigateToFirstInterval();
|
|
11218
|
+
}
|
|
11219
|
+
onEndKey() {
|
|
11220
|
+
this.navigateToLastInterval();
|
|
11221
|
+
}
|
|
11222
|
+
onArrowRightKey() {
|
|
11223
|
+
this.navigateToOtherEvent(true);
|
|
11224
|
+
}
|
|
11225
|
+
onArrowLeftKey() {
|
|
11226
|
+
this.navigateToOtherEvent(false);
|
|
11227
|
+
}
|
|
11228
|
+
navigateToFirstInterval() {
|
|
11229
|
+
this.navigateToInterval(0);
|
|
11230
|
+
}
|
|
11231
|
+
navigateToLastInterval() {
|
|
11232
|
+
const start = Math.floor(this.trackItems.length / this.visibleTabsCount) * this.visibleTabsCount;
|
|
11233
|
+
this.navigateToInterval(start, this.events.length - 1);
|
|
11234
|
+
}
|
|
11235
|
+
navigateToOtherEvent(direction) {
|
|
11236
|
+
const offset = direction ? 1 : -1;
|
|
11237
|
+
const newIndex = this.selectedEventIndex + offset;
|
|
11238
|
+
if (newIndex < 0 || newIndex >= this.events.length) {
|
|
11239
|
+
return;
|
|
11240
|
+
}
|
|
11241
|
+
if (this.visibleEvents.findIndex(event => event === this.events[newIndex]) === -1) {
|
|
11242
|
+
this.updateInterval(direction);
|
|
11243
|
+
}
|
|
11244
|
+
else {
|
|
11245
|
+
this.selectedEvent = this.events[newIndex];
|
|
11246
|
+
this.selectedCardIndex = this.getOtherSelectedCardIndex(direction);
|
|
11247
|
+
this.focusTrackItem(this.selectedEventIndex);
|
|
11248
|
+
this.animateCards();
|
|
11249
|
+
this.cdr.markForCheck();
|
|
11250
|
+
}
|
|
11251
|
+
}
|
|
11252
|
+
navigateToInterval(start, selectedIndex = 0, selectFirst = false, selectLast = false) {
|
|
11253
|
+
const end = start + this.visibleTabsCount < this.trackItems.length ? start + this.visibleTabsCount : undefined;
|
|
11254
|
+
const forward = this.firstCircleInView < start;
|
|
11255
|
+
this.firstCircleInView = start;
|
|
11256
|
+
const interval = Math.floor(start / this.visibleTabsCount);
|
|
11257
|
+
this.translateValue = interval * -100;
|
|
11258
|
+
this.animationState = forward ? 'right' : 'left';
|
|
11259
|
+
this.visibleEvents = this.trackItems.slice(this.firstCircleInView, end).filter(event => !event.isFlag);
|
|
11260
|
+
if (selectFirst) {
|
|
11261
|
+
this.selectedEvent = this.visibleEvents[0];
|
|
11262
|
+
}
|
|
11263
|
+
else if (selectLast) {
|
|
11264
|
+
this.selectedEvent = this.visibleEvents[this.visibleEvents.length - 1];
|
|
11265
|
+
}
|
|
11266
|
+
else {
|
|
11267
|
+
this.selectedEvent = this.events[selectedIndex];
|
|
11268
|
+
}
|
|
11269
|
+
this.selectedCardIndex = this.getOtherSelectedCardIndex(forward);
|
|
11270
|
+
this.cdr.detectChanges();
|
|
11271
|
+
this.focusTrackItem(this.selectedEventIndex);
|
|
11272
|
+
this.animateCards();
|
|
11273
|
+
this.calloutStyle = this.calloutOffset;
|
|
11274
|
+
this.cdr.markForCheck();
|
|
11275
|
+
}
|
|
11276
|
+
animateCards() {
|
|
11277
|
+
if (this.animationDuration) {
|
|
11278
|
+
this.cardComponents.get(this.selectedCardIndex).event = null;
|
|
11279
|
+
}
|
|
11280
|
+
this.cardElementRefs.forEach((card, index) => {
|
|
11281
|
+
this.renderer.setStyle(card.nativeElement, 'transform', this.getTransformation(this.cardWidth, index));
|
|
11282
|
+
this.renderer.setStyle(card.nativeElement, 'transition-duration', `${this.animationDuration || 0}ms`);
|
|
11283
|
+
});
|
|
11284
|
+
}
|
|
11285
|
+
transformCards() {
|
|
11286
|
+
this.cardElementRefs.forEach((card, index) => this.renderer.setStyle(card.nativeElement, 'transform', this.getTransformation(this.cardWidth, index)));
|
|
11287
|
+
}
|
|
11288
|
+
changeTabsCount() {
|
|
11289
|
+
this.visibleTabsCount = Math.round(this.scrollableTrackWidth / this.tabWidth);
|
|
11290
|
+
if (this.tabFlex !== 100 / this.visibleTabsCount) {
|
|
11291
|
+
this.tabFlex = 100 / this.visibleTabsCount;
|
|
11292
|
+
this.circleElementRefs.forEach(item => this.renderer.setStyle(item.nativeElement, 'flex', `1 0 ${this.tabFlex}%`));
|
|
11293
|
+
this.flagElementRefs.forEach(item => this.renderer.setStyle(item.nativeElement, 'flex', `1 0 ${this.tabFlex}%`));
|
|
11294
|
+
this.cdr.detectChanges();
|
|
11295
|
+
this.visibleEvents = this.trackItems
|
|
11296
|
+
.slice(this.firstCircleInView, this.firstCircleInView + this.visibleTabsCount)
|
|
11297
|
+
.filter(event => !event.isFlag);
|
|
11298
|
+
if (!this.visibleEvents.find(event => event === this.selectedEvent)) {
|
|
11299
|
+
const trackItemIndex = this.trackItems.findIndex(event => event === this.selectedEvent);
|
|
11300
|
+
this.navigateToInterval(trackItemIndex, this.selectedEventIndex);
|
|
11301
|
+
}
|
|
11302
|
+
}
|
|
11303
|
+
}
|
|
11304
|
+
l10nChange() {
|
|
11305
|
+
if (this.localization.get('previous')) {
|
|
11306
|
+
this.previousTitle = this.localization.get('previous');
|
|
11307
|
+
}
|
|
11308
|
+
if (this.localization.get('next')) {
|
|
11309
|
+
this.nextTitle = this.localization.get('next');
|
|
11310
|
+
}
|
|
11311
|
+
this.cdr.markForCheck();
|
|
11312
|
+
}
|
|
11313
|
+
}
|
|
11314
|
+
TimelineHorizontalComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: TimelineHorizontalComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: TimelineService }, { token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
11315
|
+
TimelineHorizontalComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", 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: `
|
|
11316
|
+
<div class="k-timeline-track-wrap" #track>
|
|
11317
|
+
<button
|
|
11318
|
+
kendoButton
|
|
11319
|
+
[svgIcon]="svgLeftIcon"
|
|
11320
|
+
class="k-timeline-arrow k-timeline-arrow-left"
|
|
11321
|
+
rounded="full"
|
|
11322
|
+
[title]="previousTitle"
|
|
11323
|
+
(click)="previousClick()"
|
|
11324
|
+
[disabled]="isFirstRange"
|
|
11325
|
+
[attr.aria-hidden]="true"
|
|
11326
|
+
tabindex="-1"
|
|
11327
|
+
type="button"
|
|
11328
|
+
></button>
|
|
11329
|
+
<button
|
|
11330
|
+
kendoButton
|
|
11331
|
+
[svgIcon]="svgRightIcon"
|
|
11332
|
+
class="k-timeline-arrow k-timeline-arrow-right"
|
|
11333
|
+
rounded="full"
|
|
11334
|
+
[title]="nextTitle"
|
|
11335
|
+
(click)="nextClick()"
|
|
11336
|
+
[disabled]="isLastRange"
|
|
11337
|
+
[attr.aria-hidden]="true"
|
|
11338
|
+
tabindex="-1"
|
|
11339
|
+
type="button"
|
|
11340
|
+
></button>
|
|
11341
|
+
<div class="k-timeline-track">
|
|
11342
|
+
<ul class="k-timeline-scrollable-wrap"
|
|
11343
|
+
#scrollableTrack
|
|
11344
|
+
[attr.role]="'tablist'"
|
|
11345
|
+
[attr.tabindex]="'0'"
|
|
11346
|
+
[@trackSlide]="{value: animationState, params: {transformValue: this.translateValue}}"
|
|
11347
|
+
(@trackSlide.done)="onSlideDone()"
|
|
11348
|
+
(transitionend)="onTrackTransitionEnd()"
|
|
11349
|
+
>
|
|
11350
|
+
<ng-container *ngFor="let event of trackItems; let index = index">
|
|
11351
|
+
<li
|
|
11352
|
+
#trackFlag
|
|
11353
|
+
*ngIf="event.isFlag"
|
|
11354
|
+
class="k-timeline-flag-wrap k-timeline-track-item"
|
|
11355
|
+
[attr.role]="'none'"
|
|
11356
|
+
[attr.aria-hidden]="true"
|
|
11357
|
+
[ngStyle]="tabStyle()"
|
|
11358
|
+
>
|
|
11359
|
+
<span class="k-timeline-flag">{{ event.isFlag }}</span>
|
|
11360
|
+
</li>
|
|
11361
|
+
<li
|
|
11362
|
+
*ngIf="!event.isFlag"
|
|
11363
|
+
#trackCircle
|
|
11364
|
+
class="k-timeline-track-item"
|
|
11365
|
+
[attr.role]="'tab'"
|
|
11366
|
+
(click)="navigateToEvent(index)"
|
|
11367
|
+
[ngStyle]="tabStyle()"
|
|
11368
|
+
>
|
|
11369
|
+
<div class="k-timeline-date-wrap">
|
|
11370
|
+
<span *ngIf="showDateLabels" class="k-timeline-date">
|
|
11371
|
+
{{ event.date | kendoDate: dateFormat }}
|
|
11372
|
+
</span>
|
|
11373
|
+
</div>
|
|
11374
|
+
<span class="k-timeline-circle"></span>
|
|
11375
|
+
</li>
|
|
11376
|
+
</ng-container>
|
|
11377
|
+
</ul>
|
|
11378
|
+
</div>
|
|
11379
|
+
</div>
|
|
11380
|
+
<div class="k-timeline-events-list">
|
|
11381
|
+
<ul
|
|
11382
|
+
*ngIf="selectedEvent"
|
|
11383
|
+
class="k-timeline-scrollable-wrap"
|
|
11384
|
+
[@eventsSlide]="{value: animationState, params: {animationDuration: this.animationDuration || 0}}"
|
|
11385
|
+
(@eventsSlide.done)="onSlideDone()"
|
|
11386
|
+
[ngStyle]="{'transform-origin': 'left top'}"
|
|
11387
|
+
>
|
|
11388
|
+
<li *ngFor="let event of eventsInInterval; let index = index"
|
|
11389
|
+
#card
|
|
11390
|
+
class="k-timeline-event"
|
|
11391
|
+
(transitionend)="onTransitionEnd()"
|
|
11392
|
+
>
|
|
11393
|
+
<kendo-timeline-card
|
|
11394
|
+
[event]="selectedCardIndex === index ? selectedEvent : null"
|
|
11395
|
+
[expanded]="true"
|
|
11396
|
+
[collapsible]="collapsibleEvents"
|
|
11397
|
+
[calloutStyle]="selectedCardIndex === index ? calloutStyle : {}"
|
|
11398
|
+
[ngStyle]="{visibility: selectedCardIndex === index ? 'visible' : 'hidden' }"
|
|
11399
|
+
[tabIndex]="selectedCardIndex === index ? '0' : '-1'"
|
|
11400
|
+
[navigable]="navigable"
|
|
11401
|
+
[index]="selectedEventIndex"
|
|
11402
|
+
[headerTemplate]="headerTemplate"
|
|
11403
|
+
[bodyTemplate]="bodyTemplate"
|
|
11404
|
+
[actionsTemplate]="actionsTemplate"
|
|
11405
|
+
[eventHeight]="eventHeight"
|
|
11406
|
+
orientation="horizontal"
|
|
11407
|
+
>
|
|
11408
|
+
</kendo-timeline-card>
|
|
11409
|
+
</li>
|
|
11410
|
+
</ul>
|
|
11411
|
+
</div>
|
|
11412
|
+
`, 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: [
|
|
11413
|
+
trigger('trackSlide', [
|
|
11414
|
+
state('left', style({
|
|
11415
|
+
transform: `translateX({{transformValue}}%)`,
|
|
11416
|
+
}), { params: { transformValue: '0' } }),
|
|
11417
|
+
state('right', style({
|
|
11418
|
+
transform: `translateX({{transformValue}}%)`,
|
|
11419
|
+
}), { params: { transformValue: '0' } }),
|
|
11420
|
+
state('center', style({
|
|
11421
|
+
transform: `translateX(0)`,
|
|
11422
|
+
}))
|
|
11423
|
+
]),
|
|
11424
|
+
trigger('eventsSlide', [
|
|
11425
|
+
transition('* => right', [
|
|
11426
|
+
animate('{{animationDuration}}ms', style({ transform: `translateX(-100%)` }))
|
|
11427
|
+
], { params: { animationDuration: '400' } }),
|
|
11428
|
+
transition('* => left', [
|
|
11429
|
+
animate('{{animationDuration}}ms', style({ transform: `translateX(100%)` }))
|
|
11430
|
+
], { params: { animationDuration: '400' } })
|
|
11431
|
+
])
|
|
11432
|
+
] });
|
|
11433
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: TimelineHorizontalComponent, decorators: [{
|
|
11434
|
+
type: Component,
|
|
11435
|
+
args: [{
|
|
11436
|
+
animations: [
|
|
11437
|
+
trigger('trackSlide', [
|
|
11438
|
+
state('left', style({
|
|
11439
|
+
transform: `translateX({{transformValue}}%)`,
|
|
11440
|
+
}), { params: { transformValue: '0' } }),
|
|
11441
|
+
state('right', style({
|
|
11442
|
+
transform: `translateX({{transformValue}}%)`,
|
|
11443
|
+
}), { params: { transformValue: '0' } }),
|
|
11444
|
+
state('center', style({
|
|
11445
|
+
transform: `translateX(0)`,
|
|
11446
|
+
}))
|
|
11447
|
+
]),
|
|
11448
|
+
trigger('eventsSlide', [
|
|
11449
|
+
transition('* => right', [
|
|
11450
|
+
animate('{{animationDuration}}ms', style({ transform: `translateX(-100%)` }))
|
|
11451
|
+
], { params: { animationDuration: '400' } }),
|
|
11452
|
+
transition('* => left', [
|
|
11453
|
+
animate('{{animationDuration}}ms', style({ transform: `translateX(100%)` }))
|
|
11454
|
+
], { params: { animationDuration: '400' } })
|
|
11455
|
+
])
|
|
11456
|
+
],
|
|
11457
|
+
providers: [],
|
|
11458
|
+
exportAs: 'kendoTimelineHorizontal',
|
|
11459
|
+
selector: 'kendo-timeline-horizontal',
|
|
11460
|
+
template: `
|
|
11461
|
+
<div class="k-timeline-track-wrap" #track>
|
|
11462
|
+
<button
|
|
11463
|
+
kendoButton
|
|
11464
|
+
[svgIcon]="svgLeftIcon"
|
|
11465
|
+
class="k-timeline-arrow k-timeline-arrow-left"
|
|
11466
|
+
rounded="full"
|
|
11467
|
+
[title]="previousTitle"
|
|
11468
|
+
(click)="previousClick()"
|
|
11469
|
+
[disabled]="isFirstRange"
|
|
11470
|
+
[attr.aria-hidden]="true"
|
|
11471
|
+
tabindex="-1"
|
|
11472
|
+
type="button"
|
|
11473
|
+
></button>
|
|
11474
|
+
<button
|
|
11475
|
+
kendoButton
|
|
11476
|
+
[svgIcon]="svgRightIcon"
|
|
11477
|
+
class="k-timeline-arrow k-timeline-arrow-right"
|
|
11478
|
+
rounded="full"
|
|
11479
|
+
[title]="nextTitle"
|
|
11480
|
+
(click)="nextClick()"
|
|
11481
|
+
[disabled]="isLastRange"
|
|
11482
|
+
[attr.aria-hidden]="true"
|
|
11483
|
+
tabindex="-1"
|
|
11484
|
+
type="button"
|
|
11485
|
+
></button>
|
|
11486
|
+
<div class="k-timeline-track">
|
|
11487
|
+
<ul class="k-timeline-scrollable-wrap"
|
|
11488
|
+
#scrollableTrack
|
|
11489
|
+
[attr.role]="'tablist'"
|
|
11490
|
+
[attr.tabindex]="'0'"
|
|
11491
|
+
[@trackSlide]="{value: animationState, params: {transformValue: this.translateValue}}"
|
|
11492
|
+
(@trackSlide.done)="onSlideDone()"
|
|
11493
|
+
(transitionend)="onTrackTransitionEnd()"
|
|
11494
|
+
>
|
|
11495
|
+
<ng-container *ngFor="let event of trackItems; let index = index">
|
|
11496
|
+
<li
|
|
11497
|
+
#trackFlag
|
|
11498
|
+
*ngIf="event.isFlag"
|
|
11499
|
+
class="k-timeline-flag-wrap k-timeline-track-item"
|
|
11500
|
+
[attr.role]="'none'"
|
|
11501
|
+
[attr.aria-hidden]="true"
|
|
11502
|
+
[ngStyle]="tabStyle()"
|
|
11503
|
+
>
|
|
11504
|
+
<span class="k-timeline-flag">{{ event.isFlag }}</span>
|
|
11505
|
+
</li>
|
|
11506
|
+
<li
|
|
11507
|
+
*ngIf="!event.isFlag"
|
|
11508
|
+
#trackCircle
|
|
11509
|
+
class="k-timeline-track-item"
|
|
11510
|
+
[attr.role]="'tab'"
|
|
11511
|
+
(click)="navigateToEvent(index)"
|
|
11512
|
+
[ngStyle]="tabStyle()"
|
|
11513
|
+
>
|
|
11514
|
+
<div class="k-timeline-date-wrap">
|
|
11515
|
+
<span *ngIf="showDateLabels" class="k-timeline-date">
|
|
11516
|
+
{{ event.date | kendoDate: dateFormat }}
|
|
11517
|
+
</span>
|
|
11518
|
+
</div>
|
|
11519
|
+
<span class="k-timeline-circle"></span>
|
|
11520
|
+
</li>
|
|
11521
|
+
</ng-container>
|
|
11522
|
+
</ul>
|
|
11523
|
+
</div>
|
|
11524
|
+
</div>
|
|
11525
|
+
<div class="k-timeline-events-list">
|
|
11526
|
+
<ul
|
|
11527
|
+
*ngIf="selectedEvent"
|
|
11528
|
+
class="k-timeline-scrollable-wrap"
|
|
11529
|
+
[@eventsSlide]="{value: animationState, params: {animationDuration: this.animationDuration || 0}}"
|
|
11530
|
+
(@eventsSlide.done)="onSlideDone()"
|
|
11531
|
+
[ngStyle]="{'transform-origin': 'left top'}"
|
|
11532
|
+
>
|
|
11533
|
+
<li *ngFor="let event of eventsInInterval; let index = index"
|
|
11534
|
+
#card
|
|
11535
|
+
class="k-timeline-event"
|
|
11536
|
+
(transitionend)="onTransitionEnd()"
|
|
11537
|
+
>
|
|
11538
|
+
<kendo-timeline-card
|
|
11539
|
+
[event]="selectedCardIndex === index ? selectedEvent : null"
|
|
11540
|
+
[expanded]="true"
|
|
11541
|
+
[collapsible]="collapsibleEvents"
|
|
11542
|
+
[calloutStyle]="selectedCardIndex === index ? calloutStyle : {}"
|
|
11543
|
+
[ngStyle]="{visibility: selectedCardIndex === index ? 'visible' : 'hidden' }"
|
|
11544
|
+
[tabIndex]="selectedCardIndex === index ? '0' : '-1'"
|
|
11545
|
+
[navigable]="navigable"
|
|
11546
|
+
[index]="selectedEventIndex"
|
|
11547
|
+
[headerTemplate]="headerTemplate"
|
|
11548
|
+
[bodyTemplate]="bodyTemplate"
|
|
11549
|
+
[actionsTemplate]="actionsTemplate"
|
|
11550
|
+
[eventHeight]="eventHeight"
|
|
11551
|
+
orientation="horizontal"
|
|
11552
|
+
>
|
|
11553
|
+
</kendo-timeline-card>
|
|
11554
|
+
</li>
|
|
11555
|
+
</ul>
|
|
11556
|
+
</div>
|
|
11557
|
+
`,
|
|
11558
|
+
}]
|
|
11559
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: i0.Renderer2 }, { type: TimelineService }, { type: i1.LocalizationService }]; }, propDecorators: { events: [{
|
|
11560
|
+
type: Input
|
|
11561
|
+
}], alterMode: [{
|
|
11562
|
+
type: Input
|
|
11563
|
+
}], collapsibleEvents: [{
|
|
11564
|
+
type: Input
|
|
11565
|
+
}], navigable: [{
|
|
11566
|
+
type: Input
|
|
11567
|
+
}], showDateLabels: [{
|
|
11568
|
+
type: Input
|
|
11569
|
+
}], animationDuration: [{
|
|
11570
|
+
type: Input
|
|
11571
|
+
}], eventHeight: [{
|
|
11572
|
+
type: Input
|
|
11573
|
+
}], dateFormat: [{
|
|
11574
|
+
type: Input
|
|
11575
|
+
}], headerTemplate: [{
|
|
11576
|
+
type: Input
|
|
11577
|
+
}], bodyTemplate: [{
|
|
11578
|
+
type: Input
|
|
11579
|
+
}], actionsTemplate: [{
|
|
11580
|
+
type: Input
|
|
11581
|
+
}], cardElementRefs: [{
|
|
11582
|
+
type: ViewChildren,
|
|
11583
|
+
args: ['card', { read: ElementRef }]
|
|
11584
|
+
}], circleElementRefs: [{
|
|
11585
|
+
type: ViewChildren,
|
|
11586
|
+
args: ['trackCircle']
|
|
11587
|
+
}], flagElementRefs: [{
|
|
11588
|
+
type: ViewChildren,
|
|
11589
|
+
args: ['trackFlag']
|
|
11590
|
+
}], trackElementRef: [{
|
|
11591
|
+
type: ViewChild,
|
|
11592
|
+
args: ['track']
|
|
11593
|
+
}], scrollableTrackElementRef: [{
|
|
11594
|
+
type: ViewChild,
|
|
11595
|
+
args: ['scrollableTrack']
|
|
11596
|
+
}], cardComponents: [{
|
|
11597
|
+
type: ViewChildren,
|
|
11598
|
+
args: [TimelineCardComponent]
|
|
11599
|
+
}] } });
|
|
11600
|
+
|
|
11601
|
+
/**
|
|
11602
|
+
* @hidden
|
|
11603
|
+
*/
|
|
11604
|
+
class TimelineVerticalComponent {
|
|
11605
|
+
constructor(renderer) {
|
|
11606
|
+
this.renderer = renderer;
|
|
11607
|
+
this.events = [];
|
|
11608
|
+
this.subscriptions = new Subscription();
|
|
11609
|
+
}
|
|
11610
|
+
ngAfterViewInit() {
|
|
11611
|
+
this.ariaDescribedByAllEvents();
|
|
11612
|
+
this.subscriptions.add(this.innerDateElementRefs.changes.subscribe(() => {
|
|
11613
|
+
if (this.innerDateElementRefs?.length > 0) {
|
|
11614
|
+
this.ariaDescribedByAllEvents();
|
|
11615
|
+
}
|
|
11616
|
+
else {
|
|
11617
|
+
this.removeAriaDescribedBy();
|
|
11618
|
+
}
|
|
11619
|
+
}));
|
|
11620
|
+
}
|
|
11621
|
+
expand(index) {
|
|
11622
|
+
if (index < 0 || index >= this.cards.length) {
|
|
11623
|
+
return;
|
|
11624
|
+
}
|
|
11625
|
+
this.cards.get(index).expand();
|
|
11626
|
+
}
|
|
11627
|
+
collapse(index) {
|
|
11628
|
+
if (index < 0 || index >= this.cards.length) {
|
|
11629
|
+
return;
|
|
11630
|
+
}
|
|
11631
|
+
this.cards.get(index).collapse();
|
|
11632
|
+
}
|
|
11633
|
+
ariaDescribedByAllEvents() {
|
|
11634
|
+
this.cards?.forEach((card, index) => {
|
|
11635
|
+
const innerCard = card.element.nativeElement.querySelector('.k-card');
|
|
11636
|
+
const innerDate = this.dateElementRefs.get(index).nativeElement.querySelector('.k-timeline-date');
|
|
11637
|
+
if (innerDate) {
|
|
11638
|
+
this.assignAriaDescribedBy(innerCard, innerDate);
|
|
11639
|
+
}
|
|
11640
|
+
});
|
|
11641
|
+
}
|
|
11642
|
+
removeAriaDescribedBy() {
|
|
11643
|
+
this.cards?.forEach(card => {
|
|
11644
|
+
const innerCard = card.element.nativeElement.querySelector('.k-card');
|
|
11645
|
+
this.renderer.removeAttribute(innerCard, 'aria-describedby');
|
|
11646
|
+
});
|
|
11647
|
+
}
|
|
11648
|
+
assignAriaDescribedBy(cardElement, dateElement) {
|
|
11649
|
+
const dateLabelId = `k-${guid()}`;
|
|
11650
|
+
this.renderer.setAttribute(dateElement, 'id', dateLabelId);
|
|
11651
|
+
this.renderer.setAttribute(cardElement, 'aria-describedby', dateLabelId);
|
|
11652
|
+
}
|
|
11653
|
+
}
|
|
11654
|
+
TimelineVerticalComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: TimelineVerticalComponent, deps: [{ token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
11655
|
+
TimelineVerticalComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", 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: `
|
|
11656
|
+
<ul *ngIf="events && events.length > 0">
|
|
11657
|
+
<ng-container *ngFor="let event of events; let i = index">
|
|
11658
|
+
<li class="k-timeline-flag-wrap" *ngIf="event.flag">
|
|
11659
|
+
<span class="k-timeline-flag">{{ event.flag }}</span>
|
|
11660
|
+
</li>
|
|
11661
|
+
<li class="k-timeline-event" [ngClass]="{ 'k-reverse': alterMode && i % 2 === 0 }">
|
|
11662
|
+
<div class="k-timeline-date-wrap" #dateWrap>
|
|
11663
|
+
<span *ngIf="showDateLabels" class="k-timeline-date" #innerDate>
|
|
11664
|
+
{{ event.date | kendoDate: dateFormat }}
|
|
11665
|
+
</span>
|
|
11666
|
+
</div>
|
|
11667
|
+
<span class="k-timeline-circle"></span>
|
|
11668
|
+
<kendo-timeline-card
|
|
11669
|
+
#card
|
|
11670
|
+
[event]="event"
|
|
11671
|
+
[expanded]="event.expanded || !collapsibleEvents"
|
|
11672
|
+
[collapsible]="collapsibleEvents"
|
|
11673
|
+
[reversed]="alterMode && i % 2 === 0"
|
|
11674
|
+
[tabIndex]="'0'"
|
|
11675
|
+
[navigable]="navigable"
|
|
11676
|
+
[animationDuration]="animationDuration"
|
|
11677
|
+
[headerTemplate]="headerTemplate"
|
|
11678
|
+
[bodyTemplate]="bodyTemplate"
|
|
11679
|
+
[actionsTemplate]="actionsTemplate"
|
|
11680
|
+
[index]="i"
|
|
11681
|
+
[eventWidth]="eventWidth"
|
|
11682
|
+
orientation="vertical"
|
|
11683
|
+
>
|
|
11684
|
+
</kendo-timeline-card>
|
|
11685
|
+
</li>
|
|
11686
|
+
</ng-container>
|
|
11687
|
+
</ul>
|
|
11688
|
+
`, 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" }] });
|
|
11689
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: TimelineVerticalComponent, decorators: [{
|
|
11690
|
+
type: Component,
|
|
11691
|
+
args: [{
|
|
11692
|
+
providers: [],
|
|
11693
|
+
exportAs: 'kendoTimelineVertical',
|
|
11694
|
+
selector: 'kendo-timeline-vertical',
|
|
11695
|
+
template: `
|
|
11696
|
+
<ul *ngIf="events && events.length > 0">
|
|
11697
|
+
<ng-container *ngFor="let event of events; let i = index">
|
|
11698
|
+
<li class="k-timeline-flag-wrap" *ngIf="event.flag">
|
|
11699
|
+
<span class="k-timeline-flag">{{ event.flag }}</span>
|
|
11700
|
+
</li>
|
|
11701
|
+
<li class="k-timeline-event" [ngClass]="{ 'k-reverse': alterMode && i % 2 === 0 }">
|
|
11702
|
+
<div class="k-timeline-date-wrap" #dateWrap>
|
|
11703
|
+
<span *ngIf="showDateLabels" class="k-timeline-date" #innerDate>
|
|
11704
|
+
{{ event.date | kendoDate: dateFormat }}
|
|
11705
|
+
</span>
|
|
11706
|
+
</div>
|
|
11707
|
+
<span class="k-timeline-circle"></span>
|
|
11708
|
+
<kendo-timeline-card
|
|
11709
|
+
#card
|
|
11710
|
+
[event]="event"
|
|
11711
|
+
[expanded]="event.expanded || !collapsibleEvents"
|
|
11712
|
+
[collapsible]="collapsibleEvents"
|
|
11713
|
+
[reversed]="alterMode && i % 2 === 0"
|
|
11714
|
+
[tabIndex]="'0'"
|
|
11715
|
+
[navigable]="navigable"
|
|
11716
|
+
[animationDuration]="animationDuration"
|
|
11717
|
+
[headerTemplate]="headerTemplate"
|
|
11718
|
+
[bodyTemplate]="bodyTemplate"
|
|
11719
|
+
[actionsTemplate]="actionsTemplate"
|
|
11720
|
+
[index]="i"
|
|
11721
|
+
[eventWidth]="eventWidth"
|
|
11722
|
+
orientation="vertical"
|
|
11723
|
+
>
|
|
11724
|
+
</kendo-timeline-card>
|
|
11725
|
+
</li>
|
|
11726
|
+
</ng-container>
|
|
11727
|
+
</ul>
|
|
11728
|
+
`,
|
|
11729
|
+
}]
|
|
11730
|
+
}], ctorParameters: function () { return [{ type: i0.Renderer2 }]; }, propDecorators: { events: [{
|
|
11731
|
+
type: Input
|
|
11732
|
+
}], alterMode: [{
|
|
11733
|
+
type: Input
|
|
11734
|
+
}], collapsibleEvents: [{
|
|
11735
|
+
type: Input
|
|
11736
|
+
}], navigable: [{
|
|
11737
|
+
type: Input
|
|
11738
|
+
}], showDateLabels: [{
|
|
11739
|
+
type: Input
|
|
11740
|
+
}], animationDuration: [{
|
|
11741
|
+
type: Input
|
|
11742
|
+
}], eventWidth: [{
|
|
11743
|
+
type: Input
|
|
11744
|
+
}], dateFormat: [{
|
|
11745
|
+
type: Input
|
|
11746
|
+
}], headerTemplate: [{
|
|
11747
|
+
type: Input
|
|
11748
|
+
}], bodyTemplate: [{
|
|
11749
|
+
type: Input
|
|
11750
|
+
}], actionsTemplate: [{
|
|
11751
|
+
type: Input
|
|
11752
|
+
}], cards: [{
|
|
11753
|
+
type: ViewChildren,
|
|
11754
|
+
args: ['card']
|
|
11755
|
+
}], dateElementRefs: [{
|
|
11756
|
+
type: ViewChildren,
|
|
11757
|
+
args: ['dateWrap']
|
|
11758
|
+
}], innerDateElementRefs: [{
|
|
11759
|
+
type: ViewChildren,
|
|
11760
|
+
args: ['innerDate']
|
|
11761
|
+
}] } });
|
|
11762
|
+
|
|
11763
|
+
/**
|
|
11764
|
+
* @hidden
|
|
11765
|
+
*/
|
|
11766
|
+
class TimelineMessages extends ComponentMessages {
|
|
11767
|
+
}
|
|
11768
|
+
TimelineMessages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: TimelineMessages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
11769
|
+
TimelineMessages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: TimelineMessages, selector: "kendo-timeline-messages-base", inputs: { previous: "previous", next: "next" }, usesInheritance: true, ngImport: i0 });
|
|
11770
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: TimelineMessages, decorators: [{
|
|
11771
|
+
type: Directive,
|
|
11772
|
+
args: [{
|
|
11773
|
+
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
11774
|
+
selector: 'kendo-timeline-messages-base'
|
|
11775
|
+
}]
|
|
11776
|
+
}], propDecorators: { previous: [{
|
|
11777
|
+
type: Input
|
|
11778
|
+
}], next: [{
|
|
11779
|
+
type: Input
|
|
11780
|
+
}] } });
|
|
11781
|
+
|
|
11782
|
+
/**
|
|
11783
|
+
* @hidden
|
|
11784
|
+
*/
|
|
11785
|
+
class LocalizedTimelineMessagesDirective extends TimelineMessages {
|
|
11786
|
+
constructor(service) {
|
|
11787
|
+
super();
|
|
11788
|
+
this.service = service;
|
|
11789
|
+
}
|
|
11790
|
+
}
|
|
11791
|
+
LocalizedTimelineMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: LocalizedTimelineMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
11792
|
+
LocalizedTimelineMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: LocalizedTimelineMessagesDirective, selector: "[kendoTimelineLocalizedMessages]", providers: [
|
|
11793
|
+
{
|
|
11794
|
+
provide: TimelineMessages,
|
|
11795
|
+
useExisting: forwardRef(() => LocalizedTimelineMessagesDirective),
|
|
11796
|
+
},
|
|
11797
|
+
], usesInheritance: true, ngImport: i0 });
|
|
11798
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: LocalizedTimelineMessagesDirective, decorators: [{
|
|
11799
|
+
type: Directive,
|
|
11800
|
+
args: [{
|
|
11801
|
+
providers: [
|
|
11802
|
+
{
|
|
11803
|
+
provide: TimelineMessages,
|
|
11804
|
+
useExisting: forwardRef(() => LocalizedTimelineMessagesDirective),
|
|
11805
|
+
},
|
|
11806
|
+
],
|
|
11807
|
+
selector: `[kendoTimelineLocalizedMessages]`
|
|
11808
|
+
}]
|
|
11809
|
+
}], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
|
|
11810
|
+
|
|
11811
|
+
const DEFAULT_HORIZONTAL_ANIMATION_DURATION = 400;
|
|
11812
|
+
const DEFAULT_VERTICAL_ANIMATION_DURATION = 300;
|
|
11813
|
+
const DEFAULT_EVENT_WIDTH = 400;
|
|
11814
|
+
const DEFAULT_EVENT_HEIGHT = 600;
|
|
11815
|
+
const DEFAULT_DATE_FORMAT = 'MMMM dd, yyyy';
|
|
11816
|
+
/**
|
|
11817
|
+
* Represents the [Kendo UI Timeline component for Angular]({% slug overview_timeline %}).
|
|
11818
|
+
*/
|
|
11819
|
+
class TimelineComponent {
|
|
11820
|
+
constructor(timelineService) {
|
|
11821
|
+
this.timelineService = timelineService;
|
|
11822
|
+
/**
|
|
11823
|
+
* Specifies the orientation of the axis.
|
|
11824
|
+
*
|
|
11825
|
+
* @default 'vertical'
|
|
11826
|
+
*/
|
|
11827
|
+
this.orientation = 'vertical';
|
|
11828
|
+
/**
|
|
11829
|
+
* Specifies whether to render events alternatingly on both sides of the axis.
|
|
11830
|
+
* Applicable when `orientation` is set to `vertical`.
|
|
11831
|
+
*
|
|
11832
|
+
* @default true
|
|
11833
|
+
*/
|
|
11834
|
+
this.alterMode = true;
|
|
11835
|
+
/**
|
|
11836
|
+
* Specifies whether the event cards can be collapsed.
|
|
11837
|
+
*
|
|
11838
|
+
* @default true
|
|
11839
|
+
*/
|
|
11840
|
+
this.collapsibleEvents = true;
|
|
11841
|
+
/**
|
|
11842
|
+
* Specifies whether the user can use dedicated shortcuts to interact with the Timeline.
|
|
11843
|
+
*
|
|
11844
|
+
* @default true
|
|
11845
|
+
*/
|
|
11846
|
+
this.navigable = true;
|
|
11847
|
+
/**
|
|
11848
|
+
* Specifies whether an event's date label will be visible.
|
|
11849
|
+
*
|
|
11850
|
+
* @default true
|
|
11851
|
+
*/
|
|
11852
|
+
this.showDateLabels = true;
|
|
11853
|
+
this.hostClass = true;
|
|
11854
|
+
/**
|
|
11855
|
+
* Fires when a card is toggled.
|
|
11856
|
+
* > This event is emitted in vertical mode only.
|
|
11857
|
+
*/
|
|
11858
|
+
this.onToggle = new EventEmitter();
|
|
11859
|
+
/**
|
|
11860
|
+
* Fires when a card's action is clicked.
|
|
11861
|
+
*/
|
|
11862
|
+
this.onActionClick = new EventEmitter();
|
|
11863
|
+
/**
|
|
11864
|
+
* Fires when the left or right arrow is clicked.
|
|
11865
|
+
* > This event is emitted in horizontal mode only.
|
|
11866
|
+
*/
|
|
11867
|
+
this.onNavigate = new EventEmitter();
|
|
11868
|
+
this._events = [];
|
|
11869
|
+
this._modelFields = defaultModelFields;
|
|
11870
|
+
this._eventWidth = DEFAULT_EVENT_WIDTH;
|
|
11871
|
+
this._eventHeight = DEFAULT_EVENT_HEIGHT;
|
|
11872
|
+
this._dateFormat = DEFAULT_DATE_FORMAT;
|
|
11873
|
+
this.originalData = [];
|
|
11874
|
+
this.subscriptions = new Subscription();
|
|
11875
|
+
this.timelineService.timeline = this;
|
|
11876
|
+
}
|
|
11877
|
+
/**
|
|
11878
|
+
* An array of event instances which will be shown by the Timeline.
|
|
11879
|
+
*/
|
|
11880
|
+
set events(events) {
|
|
11881
|
+
if (!isPresent$1(events)) {
|
|
11882
|
+
return;
|
|
11883
|
+
}
|
|
11884
|
+
this.originalData = events;
|
|
11885
|
+
this._events = processItems(this.originalData, this.modelFields);
|
|
11886
|
+
this._events.sort((a, b) => {
|
|
11887
|
+
return a.date.getTime() - b.date.getTime();
|
|
11888
|
+
});
|
|
11889
|
+
if (this._events.length > 0) {
|
|
11890
|
+
let flag = this._events[0].date.getFullYear() - 1;
|
|
11891
|
+
this._events.forEach((event) => {
|
|
11892
|
+
if (event.date.getFullYear() !== flag) {
|
|
11893
|
+
flag = event.date.getFullYear();
|
|
11894
|
+
event.flag = flag;
|
|
11895
|
+
}
|
|
11896
|
+
});
|
|
11897
|
+
}
|
|
11898
|
+
}
|
|
11899
|
+
get events() {
|
|
11900
|
+
return this._events;
|
|
11901
|
+
}
|
|
11902
|
+
/**
|
|
11903
|
+
* The names of the model fields from which the Timeline will read its data.
|
|
11904
|
+
*/
|
|
11905
|
+
set modelFields(value) {
|
|
11906
|
+
this._modelFields = { ...defaultModelFields, ...value };
|
|
11907
|
+
if (this.originalData) {
|
|
11908
|
+
this.events = this.originalData;
|
|
11909
|
+
}
|
|
11910
|
+
}
|
|
11911
|
+
get modelFields() {
|
|
11912
|
+
return this._modelFields;
|
|
11913
|
+
}
|
|
11914
|
+
/**
|
|
11915
|
+
* Sets a specific width for the event.
|
|
11916
|
+
* This setting is supported only in vertical mode.
|
|
11917
|
+
*
|
|
11918
|
+
* @default 400
|
|
11919
|
+
*/
|
|
11920
|
+
get eventWidth() {
|
|
11921
|
+
return this._eventWidth;
|
|
11922
|
+
}
|
|
11923
|
+
set eventWidth(value) {
|
|
11924
|
+
if (value) {
|
|
11925
|
+
this._eventWidth = value;
|
|
11926
|
+
}
|
|
11927
|
+
else {
|
|
11928
|
+
this._eventWidth = DEFAULT_EVENT_WIDTH;
|
|
11929
|
+
}
|
|
11930
|
+
}
|
|
11931
|
+
/**
|
|
11932
|
+
* Sets a specific height for the event.
|
|
11933
|
+
* > This setting is supported only in horizontal mode.
|
|
11934
|
+
*
|
|
11935
|
+
* @default 600
|
|
11936
|
+
*/
|
|
11937
|
+
get eventHeight() {
|
|
11938
|
+
return this._eventHeight;
|
|
11939
|
+
}
|
|
11940
|
+
set eventHeight(value) {
|
|
11941
|
+
if (value) {
|
|
11942
|
+
this._eventHeight = value;
|
|
11943
|
+
}
|
|
11944
|
+
else {
|
|
11945
|
+
this._eventHeight = DEFAULT_EVENT_HEIGHT;
|
|
11946
|
+
}
|
|
11947
|
+
}
|
|
11948
|
+
/**
|
|
11949
|
+
* @hidden
|
|
11950
|
+
*/
|
|
11951
|
+
get animationDuration() {
|
|
11952
|
+
if (typeof this.animation === 'number') {
|
|
11953
|
+
return this.animation;
|
|
11954
|
+
}
|
|
11955
|
+
if (typeof this.animation === 'boolean' && this.animation) {
|
|
11956
|
+
return this.orientation === 'horizontal' ? DEFAULT_HORIZONTAL_ANIMATION_DURATION : DEFAULT_VERTICAL_ANIMATION_DURATION;
|
|
11957
|
+
}
|
|
11958
|
+
return 0;
|
|
11959
|
+
}
|
|
11960
|
+
/**
|
|
11961
|
+
* Specifies the date format for displaying the event date.
|
|
11962
|
+
*
|
|
11963
|
+
* @default 'MMMM dd, yyyy'
|
|
11964
|
+
*/
|
|
11965
|
+
set dateFormat(value) {
|
|
11966
|
+
if (isPresent$1(value) && value !== '') {
|
|
11967
|
+
this._dateFormat = value;
|
|
11968
|
+
}
|
|
11969
|
+
else {
|
|
11970
|
+
this._dateFormat = DEFAULT_DATE_FORMAT;
|
|
11971
|
+
}
|
|
11972
|
+
}
|
|
11973
|
+
get dateFormat() {
|
|
11974
|
+
return this._dateFormat;
|
|
11975
|
+
}
|
|
11976
|
+
get verticalClass() {
|
|
11977
|
+
return this.orientation === 'vertical';
|
|
11978
|
+
}
|
|
11979
|
+
get horizontalClass() {
|
|
11980
|
+
return this.orientation === 'horizontal';
|
|
11981
|
+
}
|
|
11982
|
+
get alternatingClass() {
|
|
11983
|
+
return this.alterMode === true && this.orientation === 'vertical';
|
|
11984
|
+
}
|
|
11985
|
+
get collapsibleClass() {
|
|
11986
|
+
return this.collapsibleEvents === true && this.orientation === 'vertical';
|
|
11987
|
+
}
|
|
11988
|
+
ngAfterContentInit() {
|
|
11989
|
+
this.initTemplates();
|
|
11990
|
+
}
|
|
11991
|
+
ngOnDestroy() {
|
|
11992
|
+
this.subscriptions.unsubscribe();
|
|
11993
|
+
}
|
|
11994
|
+
/**
|
|
11995
|
+
* Switches to the previous portion of events.
|
|
11996
|
+
* > This method is supported only in horizontal mode.
|
|
11997
|
+
*/
|
|
11998
|
+
previous() {
|
|
11999
|
+
this.timelineHorizontal?.previous();
|
|
12000
|
+
}
|
|
12001
|
+
/**
|
|
12002
|
+
* Switches to the next portion of events.
|
|
12003
|
+
* > This method is supported only in horizontal mode.
|
|
12004
|
+
*/
|
|
12005
|
+
next() {
|
|
12006
|
+
this.timelineHorizontal?.next();
|
|
12007
|
+
}
|
|
12008
|
+
/**
|
|
12009
|
+
* Open event details.
|
|
12010
|
+
* > This method is supported only in horizontal mode.
|
|
12011
|
+
*/
|
|
12012
|
+
open(index) {
|
|
12013
|
+
this.timelineHorizontal?.open(index);
|
|
12014
|
+
}
|
|
12015
|
+
/**
|
|
12016
|
+
* Expands an event.
|
|
12017
|
+
* > This method is supported only in vertical mode.
|
|
12018
|
+
*/
|
|
12019
|
+
expand(index) {
|
|
12020
|
+
this.timelineVertical?.expand(index);
|
|
12021
|
+
}
|
|
12022
|
+
/**
|
|
12023
|
+
* Collapses an event.
|
|
12024
|
+
* > This method is supported only in vertical mode.
|
|
12025
|
+
*/
|
|
12026
|
+
collapse(index) {
|
|
12027
|
+
this.timelineVertical?.collapse(index);
|
|
12028
|
+
}
|
|
12029
|
+
initTemplates() {
|
|
12030
|
+
this.headerTemplate = this.cardHeaderTemplate?.first;
|
|
12031
|
+
this.bodyTemplate = this.cardBodyTemplate?.first;
|
|
12032
|
+
this.actionsTemplate = this.cardActionsTemplate?.first;
|
|
12033
|
+
this.subscriptions.add(this.cardHeaderTemplate?.changes.subscribe(() => {
|
|
12034
|
+
this.headerTemplate = this.cardHeaderTemplate?.first || null;
|
|
12035
|
+
}));
|
|
12036
|
+
this.subscriptions.add(this.cardBodyTemplate?.changes.subscribe(() => {
|
|
12037
|
+
this.bodyTemplate = this.cardBodyTemplate?.first || null;
|
|
12038
|
+
}));
|
|
12039
|
+
this.subscriptions.add(this.cardActionsTemplate?.changes.subscribe(() => {
|
|
12040
|
+
this.actionsTemplate = this.cardActionsTemplate?.first || null;
|
|
12041
|
+
}));
|
|
12042
|
+
}
|
|
12043
|
+
}
|
|
12044
|
+
TimelineComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: TimelineComponent, deps: [{ token: TimelineService }], target: i0.ɵɵFactoryTarget.Component });
|
|
12045
|
+
TimelineComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", 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: [
|
|
12046
|
+
TimelineService,
|
|
12047
|
+
LocalizationService,
|
|
12048
|
+
{
|
|
12049
|
+
provide: L10N_PREFIX,
|
|
12050
|
+
useValue: 'kendo.timeline'
|
|
12051
|
+
}
|
|
12052
|
+
], 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: `
|
|
12053
|
+
<ng-container kendoTimelineLocalizedMessages
|
|
12054
|
+
i18n-previous="kendo.timeline.previous|The title of the previous button in horizontal orientation."
|
|
12055
|
+
previous="previous"
|
|
12056
|
+
>
|
|
12057
|
+
</ng-container>
|
|
12058
|
+
<ng-container kendoTimelineLocalizedMessages
|
|
12059
|
+
i18n-next="kendo.timeline.next|The title of the next button in horizontal orientation."
|
|
12060
|
+
next="next"
|
|
12061
|
+
>
|
|
12062
|
+
</ng-container>
|
|
12063
|
+
<kendo-timeline-vertical
|
|
12064
|
+
*ngIf="orientation === 'vertical'"
|
|
12065
|
+
[events]="events"
|
|
12066
|
+
[alterMode]="alterMode"
|
|
12067
|
+
[collapsibleEvents]="collapsibleEvents"
|
|
12068
|
+
[navigable]="navigable"
|
|
12069
|
+
[showDateLabels]="showDateLabels"
|
|
12070
|
+
[animationDuration]="animationDuration"
|
|
12071
|
+
[eventWidth]="eventWidth"
|
|
12072
|
+
[dateFormat]="dateFormat"
|
|
12073
|
+
[headerTemplate]="headerTemplate"
|
|
12074
|
+
[bodyTemplate]="bodyTemplate"
|
|
12075
|
+
[actionsTemplate]="actionsTemplate"
|
|
12076
|
+
>
|
|
12077
|
+
</kendo-timeline-vertical>
|
|
12078
|
+
<kendo-timeline-horizontal
|
|
12079
|
+
*ngIf="orientation === 'horizontal'"
|
|
12080
|
+
[events]="events"
|
|
12081
|
+
[collapsibleEvents]="false"
|
|
12082
|
+
[navigable]="navigable"
|
|
12083
|
+
[showDateLabels]="showDateLabels"
|
|
12084
|
+
[animationDuration]="animationDuration"
|
|
12085
|
+
[eventHeight]="eventHeight"
|
|
12086
|
+
[dateFormat]="dateFormat"
|
|
12087
|
+
[headerTemplate]="headerTemplate"
|
|
12088
|
+
[bodyTemplate]="bodyTemplate"
|
|
12089
|
+
[actionsTemplate]="actionsTemplate"
|
|
12090
|
+
>
|
|
12091
|
+
</kendo-timeline-horizontal>
|
|
12092
|
+
`, 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]" }] });
|
|
12093
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: TimelineComponent, decorators: [{
|
|
12094
|
+
type: Component,
|
|
12095
|
+
args: [{
|
|
12096
|
+
providers: [
|
|
12097
|
+
TimelineService,
|
|
12098
|
+
LocalizationService,
|
|
12099
|
+
{
|
|
12100
|
+
provide: L10N_PREFIX,
|
|
12101
|
+
useValue: 'kendo.timeline'
|
|
12102
|
+
}
|
|
12103
|
+
],
|
|
12104
|
+
exportAs: 'kendoTimeline',
|
|
12105
|
+
selector: 'kendo-timeline',
|
|
12106
|
+
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
|
+
`,
|
|
12147
|
+
}]
|
|
12148
|
+
}], ctorParameters: function () { return [{ type: TimelineService }]; }, propDecorators: { events: [{
|
|
12149
|
+
type: Input
|
|
12150
|
+
}], modelFields: [{
|
|
12151
|
+
type: Input
|
|
12152
|
+
}], orientation: [{
|
|
12153
|
+
type: Input
|
|
12154
|
+
}], alterMode: [{
|
|
12155
|
+
type: Input
|
|
12156
|
+
}], collapsibleEvents: [{
|
|
12157
|
+
type: Input
|
|
12158
|
+
}], navigable: [{
|
|
12159
|
+
type: Input
|
|
12160
|
+
}], showDateLabels: [{
|
|
12161
|
+
type: Input
|
|
12162
|
+
}], animation: [{
|
|
12163
|
+
type: Input
|
|
12164
|
+
}], eventWidth: [{
|
|
12165
|
+
type: Input
|
|
12166
|
+
}], eventHeight: [{
|
|
12167
|
+
type: Input
|
|
12168
|
+
}], dateFormat: [{
|
|
12169
|
+
type: Input
|
|
12170
|
+
}], hostClass: [{
|
|
12171
|
+
type: HostBinding,
|
|
12172
|
+
args: ['class.k-timeline']
|
|
12173
|
+
}], verticalClass: [{
|
|
12174
|
+
type: HostBinding,
|
|
12175
|
+
args: ['class.k-timeline-vertical']
|
|
12176
|
+
}], horizontalClass: [{
|
|
12177
|
+
type: HostBinding,
|
|
12178
|
+
args: ['class.k-timeline-horizontal']
|
|
12179
|
+
}], alternatingClass: [{
|
|
12180
|
+
type: HostBinding,
|
|
12181
|
+
args: ['class.k-timeline-alternating']
|
|
12182
|
+
}], collapsibleClass: [{
|
|
12183
|
+
type: HostBinding,
|
|
12184
|
+
args: ['class.k-timeline-collapsible']
|
|
12185
|
+
}], timelineHorizontal: [{
|
|
12186
|
+
type: ViewChild,
|
|
12187
|
+
args: [TimelineHorizontalComponent]
|
|
12188
|
+
}], timelineVertical: [{
|
|
12189
|
+
type: ViewChild,
|
|
12190
|
+
args: [TimelineVerticalComponent]
|
|
12191
|
+
}], cardHeaderTemplate: [{
|
|
12192
|
+
type: ContentChildren,
|
|
12193
|
+
args: [TimelineCardHeaderTemplateDirective, { descendants: false }]
|
|
12194
|
+
}], cardBodyTemplate: [{
|
|
12195
|
+
type: ContentChildren,
|
|
12196
|
+
args: [TimelineCardBodyTemplateDirective, { descendants: false }]
|
|
12197
|
+
}], cardActionsTemplate: [{
|
|
12198
|
+
type: ContentChildren,
|
|
12199
|
+
args: [TimelineCardActionsTemplateDirective, { descendants: false }]
|
|
12200
|
+
}], onToggle: [{
|
|
12201
|
+
type: Output
|
|
12202
|
+
}], onActionClick: [{
|
|
12203
|
+
type: Output
|
|
12204
|
+
}], onNavigate: [{
|
|
12205
|
+
type: Output
|
|
12206
|
+
}] } });
|
|
12207
|
+
|
|
12208
|
+
/**
|
|
12209
|
+
* Custom component messages override default component messages.
|
|
12210
|
+
*/
|
|
12211
|
+
class TimelineCustomMessagesComponent extends TimelineMessages {
|
|
12212
|
+
constructor(service) {
|
|
12213
|
+
super();
|
|
12214
|
+
this.service = service;
|
|
12215
|
+
}
|
|
12216
|
+
get override() {
|
|
12217
|
+
return true;
|
|
12218
|
+
}
|
|
12219
|
+
}
|
|
12220
|
+
TimelineCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: TimelineCustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
12221
|
+
TimelineCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: TimelineCustomMessagesComponent, selector: "kendo-timeline-messages", providers: [
|
|
12222
|
+
{
|
|
12223
|
+
provide: TimelineMessages,
|
|
12224
|
+
useExisting: forwardRef(() => TimelineCustomMessagesComponent),
|
|
12225
|
+
},
|
|
12226
|
+
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
12227
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: TimelineCustomMessagesComponent, decorators: [{
|
|
12228
|
+
type: Component,
|
|
12229
|
+
args: [{
|
|
12230
|
+
providers: [
|
|
12231
|
+
{
|
|
12232
|
+
provide: TimelineMessages,
|
|
12233
|
+
useExisting: forwardRef(() => TimelineCustomMessagesComponent),
|
|
12234
|
+
},
|
|
12235
|
+
],
|
|
12236
|
+
selector: 'kendo-timeline-messages',
|
|
12237
|
+
template: ``,
|
|
12238
|
+
}]
|
|
12239
|
+
}], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
|
|
12240
|
+
|
|
12241
|
+
const exportedModules = [
|
|
12242
|
+
TimelineComponent,
|
|
12243
|
+
TimelineCustomMessagesComponent,
|
|
12244
|
+
TimelineCardHeaderTemplateDirective,
|
|
12245
|
+
TimelineCardBodyTemplateDirective,
|
|
12246
|
+
TimelineCardActionsTemplateDirective
|
|
12247
|
+
];
|
|
12248
|
+
const declarations = [
|
|
12249
|
+
...exportedModules,
|
|
12250
|
+
TimelineVerticalComponent,
|
|
12251
|
+
TimelineHorizontalComponent,
|
|
12252
|
+
TimelineCardComponent,
|
|
12253
|
+
LocalizedTimelineMessagesDirective,
|
|
12254
|
+
];
|
|
12255
|
+
/**
|
|
12256
|
+
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
12257
|
+
* definition for the Timeline component.
|
|
12258
|
+
*
|
|
12259
|
+
* The module registers:
|
|
12260
|
+
* - `TimelineComponent`—The `TimelineComponent` component class.
|
|
12261
|
+
*/
|
|
12262
|
+
class TimelineModule {
|
|
12263
|
+
}
|
|
12264
|
+
TimelineModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: TimelineModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
12265
|
+
TimelineModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.4", ngImport: i0, type: TimelineModule, declarations: [TimelineComponent,
|
|
12266
|
+
TimelineCustomMessagesComponent,
|
|
12267
|
+
TimelineCardHeaderTemplateDirective,
|
|
12268
|
+
TimelineCardBodyTemplateDirective,
|
|
12269
|
+
TimelineCardActionsTemplateDirective, TimelineVerticalComponent,
|
|
12270
|
+
TimelineHorizontalComponent,
|
|
12271
|
+
TimelineCardComponent,
|
|
12272
|
+
LocalizedTimelineMessagesDirective], imports: [CommonModule, CardModule, ButtonModule, IconsModule, IntlModule], exports: [TimelineComponent,
|
|
12273
|
+
TimelineCustomMessagesComponent,
|
|
12274
|
+
TimelineCardHeaderTemplateDirective,
|
|
12275
|
+
TimelineCardBodyTemplateDirective,
|
|
12276
|
+
TimelineCardActionsTemplateDirective] });
|
|
12277
|
+
TimelineModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: TimelineModule, imports: [CommonModule, CardModule, ButtonModule, IconsModule, IntlModule] });
|
|
12278
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: TimelineModule, decorators: [{
|
|
12279
|
+
type: NgModule,
|
|
12280
|
+
args: [{
|
|
12281
|
+
declarations: [declarations],
|
|
12282
|
+
exports: [exportedModules],
|
|
12283
|
+
imports: [CommonModule, CardModule, ButtonModule, IconsModule, IntlModule]
|
|
12284
|
+
}]
|
|
12285
|
+
}] });
|
|
12286
|
+
|
|
10388
12287
|
/**
|
|
10389
12288
|
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
10390
12289
|
* definition for the Layout components.
|
|
@@ -10418,8 +12317,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
10418
12317
|
*/
|
|
10419
12318
|
class LayoutModule {
|
|
10420
12319
|
}
|
|
10421
|
-
LayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10422
|
-
LayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
12320
|
+
LayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: LayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
12321
|
+
LayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.4", ngImport: i0, type: LayoutModule, exports: [AvatarModule,
|
|
10423
12322
|
CardModule,
|
|
10424
12323
|
DrawerModule,
|
|
10425
12324
|
PanelBarModule,
|
|
@@ -10429,8 +12328,9 @@ LayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
|
10429
12328
|
TabStripModule,
|
|
10430
12329
|
TileLayoutModule,
|
|
10431
12330
|
StackLayoutModule,
|
|
10432
|
-
GridLayoutModule
|
|
10433
|
-
|
|
12331
|
+
GridLayoutModule,
|
|
12332
|
+
TimelineModule] });
|
|
12333
|
+
LayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: LayoutModule, imports: [AvatarModule,
|
|
10434
12334
|
CardModule,
|
|
10435
12335
|
DrawerModule,
|
|
10436
12336
|
PanelBarModule,
|
|
@@ -10440,8 +12340,9 @@ LayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
|
10440
12340
|
TabStripModule,
|
|
10441
12341
|
TileLayoutModule,
|
|
10442
12342
|
StackLayoutModule,
|
|
10443
|
-
GridLayoutModule
|
|
10444
|
-
|
|
12343
|
+
GridLayoutModule,
|
|
12344
|
+
TimelineModule] });
|
|
12345
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: LayoutModule, decorators: [{
|
|
10445
12346
|
type: NgModule,
|
|
10446
12347
|
args: [{
|
|
10447
12348
|
exports: [
|
|
@@ -10455,7 +12356,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
10455
12356
|
TabStripModule,
|
|
10456
12357
|
TileLayoutModule,
|
|
10457
12358
|
StackLayoutModule,
|
|
10458
|
-
GridLayoutModule
|
|
12359
|
+
GridLayoutModule,
|
|
12360
|
+
TimelineModule,
|
|
10459
12361
|
]
|
|
10460
12362
|
}]
|
|
10461
12363
|
}] });
|
|
@@ -10464,5 +12366,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
10464
12366
|
* Generated bundle index. Do not edit.
|
|
10465
12367
|
*/
|
|
10466
12368
|
|
|
10467
|
-
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 };
|
|
12369
|
+
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 };
|
|
10468
12370
|
|