@progress/kendo-angular-layout 16.0.0-develop.4 → 16.0.0-develop.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/index.mjs +7 -0
- package/esm2020/layout.module.mjs +7 -3
- package/esm2020/package-metadata.mjs +2 -2
- package/esm2020/timeline/events/navigation-direction.mjs +5 -0
- package/esm2020/timeline/localization/custom-messages.component.mjs +41 -0
- package/esm2020/timeline/localization/localized-messages.directive.mjs +37 -0
- package/esm2020/timeline/localization/messages.mjs +25 -0
- package/esm2020/timeline/models/anchor-target.mjs +5 -0
- package/esm2020/timeline/models/default-model-fields.mjs +16 -0
- package/esm2020/timeline/models/model-fields.mjs +5 -0
- package/esm2020/timeline/models/timeline-event.mjs +5 -0
- package/esm2020/timeline/templates/timeline-card-actions.directive.mjs +29 -0
- package/esm2020/timeline/templates/timeline-card-body.directive.mjs +29 -0
- package/esm2020/timeline/templates/timeline-card-header.directive.mjs +29 -0
- package/esm2020/timeline/timeline-card.component.mjs +402 -0
- package/esm2020/timeline/timeline-horizontal.component.mjs +722 -0
- package/esm2020/timeline/timeline-vertical.component.mjs +175 -0
- package/esm2020/timeline/timeline.component.mjs +418 -0
- package/esm2020/timeline/timeline.service.mjs +31 -0
- package/esm2020/timeline/util.mjs +26 -0
- package/esm2020/timeline.module.mjs +65 -0
- package/fesm2015/progress-kendo-angular-layout.mjs +1996 -63
- package/fesm2020/progress-kendo-angular-layout.mjs +1969 -63
- package/index.d.ts +10 -0
- package/layout.module.d.ts +2 -1
- package/package.json +7 -7
- 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/timeline/models/default-model-fields.d.ts +9 -0
- package/timeline/models/model-fields.d.ts +51 -0
- package/timeline/models/timeline-event.d.ts +49 -0
- package/timeline/templates/timeline-card-actions.directive.d.ts +20 -0
- package/timeline/templates/timeline-card-body.directive.d.ts +20 -0
- package/timeline/templates/timeline-card-header.directive.d.ts +20 -0
- package/timeline/timeline-card.component.d.ts +59 -0
- package/timeline/timeline-horizontal.component.d.ts +110 -0
- package/timeline/timeline-vertical.component.d.ts +41 -0
- package/timeline/timeline.component.d.ts +186 -0
- package/timeline/timeline.service.d.ts +17 -0
- package/timeline/util.d.ts +18 -0
- package/timeline.module.d.ts +31 -0
package/index.d.ts
CHANGED
|
@@ -78,6 +78,7 @@ export { ExpansionPanelModule } from './expansionpanel.module';
|
|
|
78
78
|
export { TileLayoutModule } from './tilelayout.module';
|
|
79
79
|
export { StackLayoutModule } from './stacklayout.module';
|
|
80
80
|
export { GridLayoutModule } from './gridlayout.module';
|
|
81
|
+
export { TimelineModule } from './timeline.module';
|
|
81
82
|
export { StackLayoutComponent } from './layouts/stack-layout.component';
|
|
82
83
|
export { AlignSettings, HorizontalAlign, VerticalAlign } from './layouts/models';
|
|
83
84
|
export { GridLayoutComponent } from './layouts/grid-layout.component';
|
|
@@ -85,3 +86,12 @@ export { GridLayoutItemComponent } from './layouts/gridlayout-item.component';
|
|
|
85
86
|
export { GridLayoutRowSize, GridLayoutColSize, GridLayoutGapSettings } from './layouts/models';
|
|
86
87
|
export { TabComponent } from './tabstrip/rendering/tab.component';
|
|
87
88
|
export { TileLayoutResizeHandleDirective } from './tilelayout/tilelayout-resize-handle.directive';
|
|
89
|
+
export { TimelineComponent } from './timeline/timeline.component';
|
|
90
|
+
export { TimelineModelFields } from './timeline/models/model-fields';
|
|
91
|
+
export { TimelineEvent } from './timeline/models/timeline-event';
|
|
92
|
+
export { AnchorTarget } from './timeline/models/anchor-target';
|
|
93
|
+
export { NavigationDirection } from './timeline/events/navigation-direction';
|
|
94
|
+
export { TimelineCardHeaderTemplateDirective } from "./timeline/templates/timeline-card-header.directive";
|
|
95
|
+
export { TimelineCardBodyTemplateDirective } from "./timeline/templates/timeline-card-body.directive";
|
|
96
|
+
export { TimelineCardActionsTemplateDirective } from "./timeline/templates/timeline-card-actions.directive";
|
|
97
|
+
export { TimelineCustomMessagesComponent } from './timeline/localization/custom-messages.component';
|
package/layout.module.d.ts
CHANGED
|
@@ -14,6 +14,7 @@ import * as i8 from "./tabstrip.module";
|
|
|
14
14
|
import * as i9 from "./tilelayout.module";
|
|
15
15
|
import * as i10 from "./stacklayout.module";
|
|
16
16
|
import * as i11 from "./gridlayout.module";
|
|
17
|
+
import * as i12 from "./timeline.module";
|
|
17
18
|
/**
|
|
18
19
|
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
19
20
|
* definition for the Layout components.
|
|
@@ -47,6 +48,6 @@ import * as i11 from "./gridlayout.module";
|
|
|
47
48
|
*/
|
|
48
49
|
export declare class LayoutModule {
|
|
49
50
|
static ɵfac: i0.ɵɵFactoryDeclaration<LayoutModule, never>;
|
|
50
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<LayoutModule, never, never, [typeof i1.AvatarModule, typeof i2.CardModule, typeof i3.DrawerModule, typeof i4.PanelBarModule, typeof i5.ExpansionPanelModule, typeof i6.SplitterModule, typeof i7.StepperModule, typeof i8.TabStripModule, typeof i9.TileLayoutModule, typeof i10.StackLayoutModule, typeof i11.GridLayoutModule]>;
|
|
51
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<LayoutModule, never, never, [typeof i1.AvatarModule, typeof i2.CardModule, typeof i3.DrawerModule, typeof i4.PanelBarModule, typeof i5.ExpansionPanelModule, typeof i6.SplitterModule, typeof i7.StepperModule, typeof i8.TabStripModule, typeof i9.TileLayoutModule, typeof i10.StackLayoutModule, typeof i11.GridLayoutModule, typeof i12.TimelineModule]>;
|
|
51
52
|
static ɵinj: i0.ɵɵInjectorDeclaration<LayoutModule>;
|
|
52
53
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-layout",
|
|
3
|
-
"version": "16.0.0-develop.
|
|
3
|
+
"version": "16.0.0-develop.5",
|
|
4
4
|
"description": "Kendo UI for Angular Layout Package - a collection of components to create professional application layoyts",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -39,16 +39,16 @@
|
|
|
39
39
|
"@angular/core": "15 - 17",
|
|
40
40
|
"@angular/platform-browser": "15 - 17",
|
|
41
41
|
"@progress/kendo-licensing": "^1.0.2",
|
|
42
|
-
"@progress/kendo-angular-common": "16.0.0-develop.
|
|
43
|
-
"@progress/kendo-angular-l10n": "16.0.0-develop.
|
|
44
|
-
"@progress/kendo-angular-progressbar": "16.0.0-develop.
|
|
45
|
-
"@progress/kendo-angular-icons": "16.0.0-develop.
|
|
46
|
-
"@progress/kendo-angular-buttons": "16.0.0-develop.
|
|
42
|
+
"@progress/kendo-angular-common": "16.0.0-develop.5",
|
|
43
|
+
"@progress/kendo-angular-l10n": "16.0.0-develop.5",
|
|
44
|
+
"@progress/kendo-angular-progressbar": "16.0.0-develop.5",
|
|
45
|
+
"@progress/kendo-angular-icons": "16.0.0-develop.5",
|
|
46
|
+
"@progress/kendo-angular-buttons": "16.0.0-develop.5",
|
|
47
47
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
50
|
"tslib": "^2.3.1",
|
|
51
|
-
"@progress/kendo-angular-schematics": "16.0.0-develop.
|
|
51
|
+
"@progress/kendo-angular-schematics": "16.0.0-develop.5",
|
|
52
52
|
"@progress/kendo-draggable": "^3.0.2"
|
|
53
53
|
},
|
|
54
54
|
"schematics": "./schematics/collection.json",
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
export declare type NavigationDirection = 'previous' | 'next';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
6
|
+
import { TimelineMessages } from './messages';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
/**
|
|
9
|
+
* Custom component messages override default component messages.
|
|
10
|
+
*/
|
|
11
|
+
export declare class TimelineCustomMessagesComponent extends TimelineMessages {
|
|
12
|
+
protected service: LocalizationService;
|
|
13
|
+
constructor(service: LocalizationService);
|
|
14
|
+
protected get override(): boolean;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TimelineCustomMessagesComponent, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TimelineCustomMessagesComponent, "kendo-timeline-messages", never, {}, {}, never, never, false, never>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
6
|
+
import { TimelineMessages } from './messages';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
/**
|
|
9
|
+
* @hidden
|
|
10
|
+
*/
|
|
11
|
+
export declare class LocalizedTimelineMessagesDirective extends TimelineMessages {
|
|
12
|
+
protected service: LocalizationService;
|
|
13
|
+
constructor(service: LocalizationService);
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LocalizedTimelineMessagesDirective, never>;
|
|
15
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<LocalizedTimelineMessagesDirective, "[kendoTimelineLocalizedMessages]", never, {}, {}, never, never, false, never>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { ComponentMessages } from '@progress/kendo-angular-l10n';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
/**
|
|
8
|
+
* @hidden
|
|
9
|
+
*/
|
|
10
|
+
export declare class TimelineMessages extends ComponentMessages {
|
|
11
|
+
/**
|
|
12
|
+
* The title of the previous button in horizontal orientation.
|
|
13
|
+
*/
|
|
14
|
+
previous: string;
|
|
15
|
+
/**
|
|
16
|
+
* The title of the next button in horizontal orientation.
|
|
17
|
+
*/
|
|
18
|
+
next: string;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TimelineMessages, never>;
|
|
20
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TimelineMessages, "kendo-timeline-messages-base", never, { "previous": "previous"; "next": "next"; }, {}, never, never, false, never>;
|
|
21
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
export declare type AnchorTarget = 'self' | 'blank';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { TimelineModelFields } from "./model-fields";
|
|
6
|
+
/**
|
|
7
|
+
* @hidden
|
|
8
|
+
*/
|
|
9
|
+
export declare const defaultModelFields: TimelineModelFields;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
/**
|
|
6
|
+
* Defines the model fields that will be used for creating `TimelineEvent` instances.
|
|
7
|
+
*/
|
|
8
|
+
export interface TimelineModelFields {
|
|
9
|
+
/**
|
|
10
|
+
* The name of the `title` model field.
|
|
11
|
+
*
|
|
12
|
+
* @default "title"
|
|
13
|
+
*/
|
|
14
|
+
title: string;
|
|
15
|
+
/**
|
|
16
|
+
* The name of the `subtitle` model field.
|
|
17
|
+
*
|
|
18
|
+
* @default "subtitle"
|
|
19
|
+
*/
|
|
20
|
+
subtitle?: string;
|
|
21
|
+
/**
|
|
22
|
+
* The name of the `description` model field.
|
|
23
|
+
*
|
|
24
|
+
* @default "description"
|
|
25
|
+
*/
|
|
26
|
+
description?: string;
|
|
27
|
+
/**
|
|
28
|
+
* The name of the `date` model field.
|
|
29
|
+
*
|
|
30
|
+
* @default "date"
|
|
31
|
+
*/
|
|
32
|
+
date: string;
|
|
33
|
+
/**
|
|
34
|
+
* The name of the `expanded` model field.
|
|
35
|
+
*
|
|
36
|
+
* @default "expanded"
|
|
37
|
+
*/
|
|
38
|
+
expanded?: string;
|
|
39
|
+
/**
|
|
40
|
+
* The name of the `images` model field.
|
|
41
|
+
*
|
|
42
|
+
* @default "images"
|
|
43
|
+
*/
|
|
44
|
+
images?: string;
|
|
45
|
+
/**
|
|
46
|
+
* The name of the `actions` model field.
|
|
47
|
+
*
|
|
48
|
+
* @default "actions"
|
|
49
|
+
*/
|
|
50
|
+
actions?: string;
|
|
51
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { AnchorTarget } from "./anchor-target";
|
|
6
|
+
/**
|
|
7
|
+
* Represents the event model of the Timeline. These are the interface fields that the Timeline events use.
|
|
8
|
+
*/
|
|
9
|
+
export interface TimelineEvent {
|
|
10
|
+
/**
|
|
11
|
+
* Specifies the text that is rendered as title.
|
|
12
|
+
*/
|
|
13
|
+
title: string;
|
|
14
|
+
/**
|
|
15
|
+
* Specifies the text that is rendered under the title.
|
|
16
|
+
*/
|
|
17
|
+
subtitle?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Specifies the text that is rendered as body of the event card.
|
|
20
|
+
*/
|
|
21
|
+
description?: string;
|
|
22
|
+
/**
|
|
23
|
+
* Represents an event point on the axis.
|
|
24
|
+
*/
|
|
25
|
+
date: Date;
|
|
26
|
+
/**
|
|
27
|
+
* Specifies if the event card is expanded or collapsed by default.
|
|
28
|
+
*/
|
|
29
|
+
expanded?: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* Specifies the images that are rendered under the description.
|
|
32
|
+
*/
|
|
33
|
+
images?: Array<{
|
|
34
|
+
src: string;
|
|
35
|
+
alt?: string;
|
|
36
|
+
}>;
|
|
37
|
+
/**
|
|
38
|
+
* Specifies the corresponding links that are rendered under the images.
|
|
39
|
+
*/
|
|
40
|
+
actions?: Array<{
|
|
41
|
+
text: string;
|
|
42
|
+
url: string;
|
|
43
|
+
target?: AnchorTarget;
|
|
44
|
+
}>;
|
|
45
|
+
/**
|
|
46
|
+
* @hidden
|
|
47
|
+
*/
|
|
48
|
+
flag?: number;
|
|
49
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { TemplateRef } from '@angular/core';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
/**
|
|
8
|
+
* Specifies the actions of each timeline card. To define an actions template, nest an `<ng-template>` tag
|
|
9
|
+
* with the `kendoTimelineCardActionsTemplate` directive inside the `<kendo-timeline>` tag.
|
|
10
|
+
*
|
|
11
|
+
* The following values are available as context variables:
|
|
12
|
+
* - `let-event="event"` (`TimelineEvent`) - The current card's event. Also available as implicit context variable.
|
|
13
|
+
* - `let-index="index"` (`number`) - The current event index.
|
|
14
|
+
*/
|
|
15
|
+
export declare class TimelineCardActionsTemplateDirective {
|
|
16
|
+
templateRef: TemplateRef<any>;
|
|
17
|
+
constructor(templateRef: TemplateRef<any>);
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TimelineCardActionsTemplateDirective, [{ optional: true; }]>;
|
|
19
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TimelineCardActionsTemplateDirective, "[kendoTimelineCardActionsTemplate]", never, {}, {}, never, never, false, never>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { TemplateRef } from '@angular/core';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
/**
|
|
8
|
+
* Specifies the body of each timeline card. To define a body template, nest an `<ng-template>` tag
|
|
9
|
+
* with the `kendoTimelineCardBodyTemplate` directive inside the `<kendo-timeline>` tag.
|
|
10
|
+
*
|
|
11
|
+
* The following values are available as context variables:
|
|
12
|
+
* - `let-event="event"` (`TimelineEvent`) - The current card's event. Also available as implicit context variable.
|
|
13
|
+
* - `let-index="index"` (`number`) - The current event index.
|
|
14
|
+
*/
|
|
15
|
+
export declare class TimelineCardBodyTemplateDirective {
|
|
16
|
+
templateRef: TemplateRef<any>;
|
|
17
|
+
constructor(templateRef: TemplateRef<any>);
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TimelineCardBodyTemplateDirective, [{ optional: true; }]>;
|
|
19
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TimelineCardBodyTemplateDirective, "[kendoTimelineCardBodyTemplate]", never, {}, {}, never, never, false, never>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { TemplateRef } from '@angular/core';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
/**
|
|
8
|
+
* Specifies the header of each timeline card. To define a header template, nest an `<ng-template>` tag
|
|
9
|
+
* with the `kendoTimelineCardHeaderTemplate` directive inside the `<kendo-timeline>` tag.
|
|
10
|
+
*
|
|
11
|
+
* The following values are available as context variables:
|
|
12
|
+
* - `let-event="event"` (`TimelineEvent`) - The current card's event. Also available as implicit context variable.
|
|
13
|
+
* - `let-index="index"` (`number`) - The current event index.
|
|
14
|
+
*/
|
|
15
|
+
export declare class TimelineCardHeaderTemplateDirective {
|
|
16
|
+
templateRef: TemplateRef<any>;
|
|
17
|
+
constructor(templateRef: TemplateRef<any>);
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TimelineCardHeaderTemplateDirective, [{ optional: true; }]>;
|
|
19
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TimelineCardHeaderTemplateDirective, "[kendoTimelineCardHeaderTemplate]", never, {}, {}, never, never, false, never>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { AfterViewInit, ElementRef, OnChanges, Renderer2 } from '@angular/core';
|
|
6
|
+
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
7
|
+
import { TimelineEvent } from './models/timeline-event';
|
|
8
|
+
import { Orientation } from '../common/orientation';
|
|
9
|
+
import { TimelineService } from './timeline.service';
|
|
10
|
+
import { TimelineCardHeaderTemplateDirective } from './templates/timeline-card-header.directive';
|
|
11
|
+
import { TimelineCardBodyTemplateDirective } from './templates/timeline-card-body.directive';
|
|
12
|
+
import { TimelineCardActionsTemplateDirective } from './templates/timeline-card-actions.directive';
|
|
13
|
+
import * as i0 from "@angular/core";
|
|
14
|
+
/**
|
|
15
|
+
* @hidden
|
|
16
|
+
*/
|
|
17
|
+
export declare class TimelineCardComponent implements OnChanges, AfterViewInit {
|
|
18
|
+
element: ElementRef;
|
|
19
|
+
private timelineService;
|
|
20
|
+
private renderer;
|
|
21
|
+
event: TimelineEvent;
|
|
22
|
+
expanded: boolean;
|
|
23
|
+
collapsible: boolean;
|
|
24
|
+
reversed: boolean;
|
|
25
|
+
orientation: Orientation;
|
|
26
|
+
navigable: boolean;
|
|
27
|
+
tabIndex: string;
|
|
28
|
+
animationDuration: number;
|
|
29
|
+
index: number;
|
|
30
|
+
eventWidth: number;
|
|
31
|
+
eventHeight: number;
|
|
32
|
+
headerTemplate: TimelineCardHeaderTemplateDirective;
|
|
33
|
+
bodyTemplate: TimelineCardBodyTemplateDirective;
|
|
34
|
+
actionsTemplate: TimelineCardActionsTemplateDirective;
|
|
35
|
+
set calloutStyle(value: any);
|
|
36
|
+
calloutElementRef: ElementRef;
|
|
37
|
+
hostClass: boolean;
|
|
38
|
+
get collapsedClass(): boolean;
|
|
39
|
+
onComponentKeyDown(event: any): void;
|
|
40
|
+
get role(): string;
|
|
41
|
+
get ariaLive(): any;
|
|
42
|
+
get ariaExpanded(): any;
|
|
43
|
+
calloutSvgIcon: SVGIcon;
|
|
44
|
+
calloutFontIcon: string;
|
|
45
|
+
private animationState;
|
|
46
|
+
private animationInProgress;
|
|
47
|
+
constructor(element: ElementRef, timelineService: TimelineService, renderer: Renderer2);
|
|
48
|
+
ngAfterViewInit(): void;
|
|
49
|
+
ngOnChanges(changes: any): void;
|
|
50
|
+
toggle(): void;
|
|
51
|
+
expand(): void;
|
|
52
|
+
collapse(): void;
|
|
53
|
+
onActionClick(event: MouseEvent): void;
|
|
54
|
+
animationStart(): void;
|
|
55
|
+
animationDone(event: any): void;
|
|
56
|
+
private makeOverflowVisible;
|
|
57
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TimelineCardComponent, never>;
|
|
58
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TimelineCardComponent, "kendo-timeline-card", ["kendoTimelineCard"], { "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"; }, {}, never, never, false, never>;
|
|
59
|
+
}
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { AfterViewInit, ChangeDetectorRef, ElementRef, NgZone, OnChanges, OnDestroy, OnInit, QueryList, Renderer2, SimpleChanges } from '@angular/core';
|
|
6
|
+
import { TimelineEvent } from './models/timeline-event';
|
|
7
|
+
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
8
|
+
import { TimelineCardComponent } from './timeline-card.component';
|
|
9
|
+
import { TimelineService } from './timeline.service';
|
|
10
|
+
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
11
|
+
import { TimelineCardBodyTemplateDirective } from './templates/timeline-card-body.directive';
|
|
12
|
+
import { TimelineCardHeaderTemplateDirective } from './templates/timeline-card-header.directive';
|
|
13
|
+
import { TimelineCardActionsTemplateDirective } from './templates/timeline-card-actions.directive';
|
|
14
|
+
import * as i0 from "@angular/core";
|
|
15
|
+
/**
|
|
16
|
+
* @hidden
|
|
17
|
+
*/
|
|
18
|
+
export declare class TimelineHorizontalComponent implements OnInit, AfterViewInit, OnChanges, OnDestroy {
|
|
19
|
+
private cdr;
|
|
20
|
+
private _zone;
|
|
21
|
+
private renderer;
|
|
22
|
+
private timelineService;
|
|
23
|
+
private localization;
|
|
24
|
+
events: Array<TimelineEvent>;
|
|
25
|
+
alterMode: boolean;
|
|
26
|
+
collapsibleEvents: boolean;
|
|
27
|
+
navigable: boolean;
|
|
28
|
+
showDateLabels: boolean;
|
|
29
|
+
animationDuration: number;
|
|
30
|
+
eventHeight: number;
|
|
31
|
+
dateFormat: string;
|
|
32
|
+
headerTemplate: TimelineCardHeaderTemplateDirective;
|
|
33
|
+
bodyTemplate: TimelineCardBodyTemplateDirective;
|
|
34
|
+
actionsTemplate: TimelineCardActionsTemplateDirective;
|
|
35
|
+
cardElementRefs: QueryList<ElementRef>;
|
|
36
|
+
circleElementRefs: QueryList<ElementRef>;
|
|
37
|
+
flagElementRefs: QueryList<ElementRef>;
|
|
38
|
+
trackElementRef: ElementRef;
|
|
39
|
+
scrollableTrackElementRef: ElementRef;
|
|
40
|
+
cardComponents: QueryList<TimelineCardComponent>;
|
|
41
|
+
get selectedEvent(): TimelineEvent;
|
|
42
|
+
set selectedEvent(value: TimelineEvent);
|
|
43
|
+
trackWrapWidth: number;
|
|
44
|
+
scrollableTrackWidth: number;
|
|
45
|
+
cardWidth: number;
|
|
46
|
+
svgLeftIcon: SVGIcon;
|
|
47
|
+
svgRightIcon: SVGIcon;
|
|
48
|
+
calloutStyle: any;
|
|
49
|
+
animationState: string;
|
|
50
|
+
translateValue: number;
|
|
51
|
+
eventsInInterval: number[];
|
|
52
|
+
selectedCardIndex: number;
|
|
53
|
+
selectedEventIndex: number;
|
|
54
|
+
tabFlex: number;
|
|
55
|
+
tabWidth: number;
|
|
56
|
+
visibleTabsCount: number;
|
|
57
|
+
firstCircleInView: number;
|
|
58
|
+
visibleEvents: any[];
|
|
59
|
+
trackItems: any[];
|
|
60
|
+
previousTitle: string;
|
|
61
|
+
nextTitle: string;
|
|
62
|
+
private _selectedEvent;
|
|
63
|
+
private subscriptions;
|
|
64
|
+
constructor(cdr: ChangeDetectorRef, _zone: NgZone, renderer: Renderer2, timelineService: TimelineService, localization: LocalizationService);
|
|
65
|
+
ngOnInit(): void;
|
|
66
|
+
ngAfterViewInit(): void;
|
|
67
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
68
|
+
ngOnDestroy(): void;
|
|
69
|
+
handleWindowResize(): void;
|
|
70
|
+
onTransitionEnd(): void;
|
|
71
|
+
onTrackTransitionEnd(): void;
|
|
72
|
+
onSlideDone(): void;
|
|
73
|
+
previous(): void;
|
|
74
|
+
previousClick(): void;
|
|
75
|
+
next(): void;
|
|
76
|
+
nextClick(): void;
|
|
77
|
+
open(index: number): void;
|
|
78
|
+
navigateToEvent(index: number): void;
|
|
79
|
+
private getOtherSelectedCardIndex;
|
|
80
|
+
tabStyle(): any;
|
|
81
|
+
getTransformation(width: number, position: number): any;
|
|
82
|
+
getState(position: number): string;
|
|
83
|
+
get calloutOffset(): any;
|
|
84
|
+
get isFirstRange(): boolean;
|
|
85
|
+
get isLastRange(): boolean;
|
|
86
|
+
private onCardsChange;
|
|
87
|
+
private onCirclesChange;
|
|
88
|
+
private onKeyDown;
|
|
89
|
+
private focusTrackItem;
|
|
90
|
+
private setTrackItemAttributes;
|
|
91
|
+
private removeTrackItemAttributes;
|
|
92
|
+
private removeCardsAttributes;
|
|
93
|
+
private assignAriaLabel;
|
|
94
|
+
private assignAriaDescribedBy;
|
|
95
|
+
private updateInterval;
|
|
96
|
+
private onHomeKey;
|
|
97
|
+
private onEndKey;
|
|
98
|
+
private onArrowRightKey;
|
|
99
|
+
private onArrowLeftKey;
|
|
100
|
+
private navigateToFirstInterval;
|
|
101
|
+
private navigateToLastInterval;
|
|
102
|
+
private navigateToOtherEvent;
|
|
103
|
+
private navigateToInterval;
|
|
104
|
+
private animateCards;
|
|
105
|
+
private transformCards;
|
|
106
|
+
private changeTabsCount;
|
|
107
|
+
private l10nChange;
|
|
108
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TimelineHorizontalComponent, never>;
|
|
109
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TimelineHorizontalComponent, "kendo-timeline-horizontal", ["kendoTimelineHorizontal"], { "events": "events"; "alterMode": "alterMode"; "collapsibleEvents": "collapsibleEvents"; "navigable": "navigable"; "showDateLabels": "showDateLabels"; "animationDuration": "animationDuration"; "eventHeight": "eventHeight"; "dateFormat": "dateFormat"; "headerTemplate": "headerTemplate"; "bodyTemplate": "bodyTemplate"; "actionsTemplate": "actionsTemplate"; }, {}, never, never, false, never>;
|
|
110
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { ElementRef, QueryList, Renderer2 } from '@angular/core';
|
|
6
|
+
import { TimelineEvent } from './models/timeline-event';
|
|
7
|
+
import { TimelineCardComponent } from './timeline-card.component';
|
|
8
|
+
import { TimelineCardBodyTemplateDirective } from './templates/timeline-card-body.directive';
|
|
9
|
+
import { TimelineCardHeaderTemplateDirective } from './templates/timeline-card-header.directive';
|
|
10
|
+
import { TimelineCardActionsTemplateDirective } from './templates/timeline-card-actions.directive';
|
|
11
|
+
import * as i0 from "@angular/core";
|
|
12
|
+
/**
|
|
13
|
+
* @hidden
|
|
14
|
+
*/
|
|
15
|
+
export declare class TimelineVerticalComponent {
|
|
16
|
+
private renderer;
|
|
17
|
+
events: Array<TimelineEvent>;
|
|
18
|
+
alterMode: boolean;
|
|
19
|
+
collapsibleEvents: boolean;
|
|
20
|
+
navigable: boolean;
|
|
21
|
+
showDateLabels: boolean;
|
|
22
|
+
animationDuration: number;
|
|
23
|
+
eventWidth: number;
|
|
24
|
+
dateFormat: string;
|
|
25
|
+
headerTemplate: TimelineCardHeaderTemplateDirective;
|
|
26
|
+
bodyTemplate: TimelineCardBodyTemplateDirective;
|
|
27
|
+
actionsTemplate: TimelineCardActionsTemplateDirective;
|
|
28
|
+
cards: QueryList<TimelineCardComponent>;
|
|
29
|
+
dateElementRefs: QueryList<ElementRef>;
|
|
30
|
+
innerDateElementRefs: QueryList<ElementRef>;
|
|
31
|
+
private subscriptions;
|
|
32
|
+
constructor(renderer: Renderer2);
|
|
33
|
+
ngAfterViewInit(): void;
|
|
34
|
+
expand(index: number): void;
|
|
35
|
+
collapse(index: number): void;
|
|
36
|
+
private ariaDescribedByAllEvents;
|
|
37
|
+
private removeAriaDescribedBy;
|
|
38
|
+
private assignAriaDescribedBy;
|
|
39
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TimelineVerticalComponent, never>;
|
|
40
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TimelineVerticalComponent, "kendo-timeline-vertical", ["kendoTimelineVertical"], { "events": "events"; "alterMode": "alterMode"; "collapsibleEvents": "collapsibleEvents"; "navigable": "navigable"; "showDateLabels": "showDateLabels"; "animationDuration": "animationDuration"; "eventWidth": "eventWidth"; "dateFormat": "dateFormat"; "headerTemplate": "headerTemplate"; "bodyTemplate": "bodyTemplate"; "actionsTemplate": "actionsTemplate"; }, {}, never, never, false, never>;
|
|
41
|
+
}
|