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