@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.
Files changed (44) hide show
  1. package/esm2020/index.mjs +7 -0
  2. package/esm2020/layout.module.mjs +7 -3
  3. package/esm2020/package-metadata.mjs +2 -2
  4. package/esm2020/timeline/events/navigation-direction.mjs +5 -0
  5. package/esm2020/timeline/localization/custom-messages.component.mjs +41 -0
  6. package/esm2020/timeline/localization/localized-messages.directive.mjs +37 -0
  7. package/esm2020/timeline/localization/messages.mjs +25 -0
  8. package/esm2020/timeline/models/anchor-target.mjs +5 -0
  9. package/esm2020/timeline/models/default-model-fields.mjs +16 -0
  10. package/esm2020/timeline/models/model-fields.mjs +5 -0
  11. package/esm2020/timeline/models/timeline-event.mjs +5 -0
  12. package/esm2020/timeline/templates/timeline-card-actions.directive.mjs +29 -0
  13. package/esm2020/timeline/templates/timeline-card-body.directive.mjs +29 -0
  14. package/esm2020/timeline/templates/timeline-card-header.directive.mjs +29 -0
  15. package/esm2020/timeline/timeline-card.component.mjs +402 -0
  16. package/esm2020/timeline/timeline-horizontal.component.mjs +722 -0
  17. package/esm2020/timeline/timeline-vertical.component.mjs +175 -0
  18. package/esm2020/timeline/timeline.component.mjs +418 -0
  19. package/esm2020/timeline/timeline.service.mjs +31 -0
  20. package/esm2020/timeline/util.mjs +26 -0
  21. package/esm2020/timeline.module.mjs +65 -0
  22. package/fesm2015/progress-kendo-angular-layout.mjs +1996 -63
  23. package/fesm2020/progress-kendo-angular-layout.mjs +1969 -63
  24. package/index.d.ts +10 -0
  25. package/layout.module.d.ts +2 -1
  26. package/package.json +7 -7
  27. package/timeline/events/navigation-direction.d.ts +5 -0
  28. package/timeline/localization/custom-messages.component.d.ts +17 -0
  29. package/timeline/localization/localized-messages.directive.d.ts +16 -0
  30. package/timeline/localization/messages.d.ts +21 -0
  31. package/timeline/models/anchor-target.d.ts +5 -0
  32. package/timeline/models/default-model-fields.d.ts +9 -0
  33. package/timeline/models/model-fields.d.ts +51 -0
  34. package/timeline/models/timeline-event.d.ts +49 -0
  35. package/timeline/templates/timeline-card-actions.directive.d.ts +20 -0
  36. package/timeline/templates/timeline-card-body.directive.d.ts +20 -0
  37. package/timeline/templates/timeline-card-header.directive.d.ts +20 -0
  38. package/timeline/timeline-card.component.d.ts +59 -0
  39. package/timeline/timeline-horizontal.component.d.ts +110 -0
  40. package/timeline/timeline-vertical.component.d.ts +41 -0
  41. package/timeline/timeline.component.d.ts +186 -0
  42. package/timeline/timeline.service.d.ts +17 -0
  43. package/timeline/util.d.ts +18 -0
  44. package/timeline.module.d.ts +31 -0
package/esm2020/index.mjs CHANGED
@@ -70,6 +70,7 @@ export { ExpansionPanelModule } from './expansionpanel.module';
70
70
  export { TileLayoutModule } from './tilelayout.module';
71
71
  export { StackLayoutModule } from './stacklayout.module';
72
72
  export { GridLayoutModule } from './gridlayout.module';
73
+ export { TimelineModule } from './timeline.module';
73
74
  // StackLayout exports
74
75
  export { StackLayoutComponent } from './layouts/stack-layout.component';
75
76
  // GridLayout exports
@@ -78,3 +79,9 @@ export { GridLayoutItemComponent } from './layouts/gridlayout-item.component';
78
79
  // error NG3001: Unsupported private class
79
80
  export { TabComponent } from './tabstrip/rendering/tab.component';
80
81
  export { TileLayoutResizeHandleDirective } from './tilelayout/tilelayout-resize-handle.directive';
82
+ // Timeline exports
83
+ export { TimelineComponent } from './timeline/timeline.component';
84
+ export { TimelineCardHeaderTemplateDirective } from "./timeline/templates/timeline-card-header.directive";
85
+ export { TimelineCardBodyTemplateDirective } from "./timeline/templates/timeline-card-body.directive";
86
+ export { TimelineCardActionsTemplateDirective } from "./timeline/templates/timeline-card-actions.directive";
87
+ export { TimelineCustomMessagesComponent } from './timeline/localization/custom-messages.component';
@@ -14,6 +14,7 @@ import { TabStripModule } from './tabstrip.module';
14
14
  import { TileLayoutModule } from './tilelayout.module';
15
15
  import { StackLayoutModule } from './stacklayout.module';
16
16
  import { GridLayoutModule } from './gridlayout.module';
17
+ import { TimelineModule } from './timeline.module';
17
18
  import * as i0 from "@angular/core";
18
19
  /**
19
20
  * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
@@ -59,7 +60,8 @@ LayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
59
60
  TabStripModule,
60
61
  TileLayoutModule,
61
62
  StackLayoutModule,
62
- GridLayoutModule] });
63
+ GridLayoutModule,
64
+ TimelineModule] });
63
65
  LayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: LayoutModule, imports: [AvatarModule,
64
66
  CardModule,
65
67
  DrawerModule,
@@ -70,7 +72,8 @@ LayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
70
72
  TabStripModule,
71
73
  TileLayoutModule,
72
74
  StackLayoutModule,
73
- GridLayoutModule] });
75
+ GridLayoutModule,
76
+ TimelineModule] });
74
77
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: LayoutModule, decorators: [{
75
78
  type: NgModule,
76
79
  args: [{
@@ -85,7 +88,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
85
88
  TabStripModule,
86
89
  TileLayoutModule,
87
90
  StackLayoutModule,
88
- GridLayoutModule
91
+ GridLayoutModule,
92
+ TimelineModule,
89
93
  ]
90
94
  }]
91
95
  }] });
@@ -9,7 +9,7 @@ export const packageMetadata = {
9
9
  name: '@progress/kendo-angular-layout',
10
10
  productName: 'Kendo UI for Angular',
11
11
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
12
- publishDate: 1714109383,
13
- version: '16.0.0-develop.4',
12
+ publishDate: 1714129718,
13
+ version: '16.0.0-develop.5',
14
14
  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'
15
15
  };
@@ -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 {};
@@ -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 { Component, forwardRef } from '@angular/core';
6
+ import { LocalizationService } from '@progress/kendo-angular-l10n';
7
+ import { TimelineMessages } from './messages';
8
+ import * as i0 from "@angular/core";
9
+ import * as i1 from "@progress/kendo-angular-l10n";
10
+ /**
11
+ * Custom component messages override default component messages.
12
+ */
13
+ export class TimelineCustomMessagesComponent extends TimelineMessages {
14
+ constructor(service) {
15
+ super();
16
+ this.service = service;
17
+ }
18
+ get override() {
19
+ return true;
20
+ }
21
+ }
22
+ TimelineCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: TimelineCustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
23
+ TimelineCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: TimelineCustomMessagesComponent, selector: "kendo-timeline-messages", providers: [
24
+ {
25
+ provide: TimelineMessages,
26
+ useExisting: forwardRef(() => TimelineCustomMessagesComponent),
27
+ },
28
+ ], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
29
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: TimelineCustomMessagesComponent, decorators: [{
30
+ type: Component,
31
+ args: [{
32
+ providers: [
33
+ {
34
+ provide: TimelineMessages,
35
+ useExisting: forwardRef(() => TimelineCustomMessagesComponent),
36
+ },
37
+ ],
38
+ selector: 'kendo-timeline-messages',
39
+ template: ``,
40
+ }]
41
+ }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
@@ -0,0 +1,37 @@
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 { Directive, forwardRef } from '@angular/core';
6
+ import { LocalizationService } from '@progress/kendo-angular-l10n';
7
+ import { TimelineMessages } from './messages';
8
+ import * as i0 from "@angular/core";
9
+ import * as i1 from "@progress/kendo-angular-l10n";
10
+ /**
11
+ * @hidden
12
+ */
13
+ export class LocalizedTimelineMessagesDirective extends TimelineMessages {
14
+ constructor(service) {
15
+ super();
16
+ this.service = service;
17
+ }
18
+ }
19
+ LocalizedTimelineMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: LocalizedTimelineMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
20
+ LocalizedTimelineMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: LocalizedTimelineMessagesDirective, selector: "[kendoTimelineLocalizedMessages]", providers: [
21
+ {
22
+ provide: TimelineMessages,
23
+ useExisting: forwardRef(() => LocalizedTimelineMessagesDirective),
24
+ },
25
+ ], usesInheritance: true, ngImport: i0 });
26
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: LocalizedTimelineMessagesDirective, decorators: [{
27
+ type: Directive,
28
+ args: [{
29
+ providers: [
30
+ {
31
+ provide: TimelineMessages,
32
+ useExisting: forwardRef(() => LocalizedTimelineMessagesDirective),
33
+ },
34
+ ],
35
+ selector: `[kendoTimelineLocalizedMessages]`
36
+ }]
37
+ }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
@@ -0,0 +1,25 @@
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 { Directive, Input } from '@angular/core';
6
+ import { ComponentMessages } from '@progress/kendo-angular-l10n';
7
+ import * as i0 from "@angular/core";
8
+ /**
9
+ * @hidden
10
+ */
11
+ export class TimelineMessages extends ComponentMessages {
12
+ }
13
+ TimelineMessages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: TimelineMessages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
14
+ TimelineMessages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: TimelineMessages, selector: "kendo-timeline-messages-base", inputs: { previous: "previous", next: "next" }, usesInheritance: true, ngImport: i0 });
15
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: TimelineMessages, decorators: [{
16
+ type: Directive,
17
+ args: [{
18
+ // eslint-disable-next-line @angular-eslint/directive-selector
19
+ selector: 'kendo-timeline-messages-base'
20
+ }]
21
+ }], propDecorators: { previous: [{
22
+ type: Input
23
+ }], next: [{
24
+ type: Input
25
+ }] } });
@@ -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 {};
@@ -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
+ /**
6
+ * @hidden
7
+ */
8
+ export const defaultModelFields = {
9
+ title: 'title',
10
+ subtitle: 'subtitle',
11
+ description: 'description',
12
+ date: 'date',
13
+ expanded: 'expanded',
14
+ images: 'images',
15
+ actions: 'actions',
16
+ };
@@ -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 {};
@@ -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 {};
@@ -0,0 +1,29 @@
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 { Directive, Optional, 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 class TimelineCardActionsTemplateDirective {
16
+ constructor(templateRef) {
17
+ this.templateRef = templateRef;
18
+ }
19
+ }
20
+ TimelineCardActionsTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: TimelineCardActionsTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
21
+ TimelineCardActionsTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: TimelineCardActionsTemplateDirective, selector: "[kendoTimelineCardActionsTemplate]", ngImport: i0 });
22
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: TimelineCardActionsTemplateDirective, decorators: [{
23
+ type: Directive,
24
+ args: [{
25
+ selector: '[kendoTimelineCardActionsTemplate]'
26
+ }]
27
+ }], ctorParameters: function () { return [{ type: i0.TemplateRef, decorators: [{
28
+ type: Optional
29
+ }] }]; } });
@@ -0,0 +1,29 @@
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 { Directive, Optional, 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 class TimelineCardBodyTemplateDirective {
16
+ constructor(templateRef) {
17
+ this.templateRef = templateRef;
18
+ }
19
+ }
20
+ TimelineCardBodyTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: TimelineCardBodyTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
21
+ TimelineCardBodyTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: TimelineCardBodyTemplateDirective, selector: "[kendoTimelineCardBodyTemplate]", ngImport: i0 });
22
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: TimelineCardBodyTemplateDirective, decorators: [{
23
+ type: Directive,
24
+ args: [{
25
+ selector: '[kendoTimelineCardBodyTemplate]'
26
+ }]
27
+ }], ctorParameters: function () { return [{ type: i0.TemplateRef, decorators: [{
28
+ type: Optional
29
+ }] }]; } });
@@ -0,0 +1,29 @@
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 { Directive, Optional, 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 class TimelineCardHeaderTemplateDirective {
16
+ constructor(templateRef) {
17
+ this.templateRef = templateRef;
18
+ }
19
+ }
20
+ TimelineCardHeaderTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: TimelineCardHeaderTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
21
+ TimelineCardHeaderTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: TimelineCardHeaderTemplateDirective, selector: "[kendoTimelineCardHeaderTemplate]", ngImport: i0 });
22
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: TimelineCardHeaderTemplateDirective, decorators: [{
23
+ type: Directive,
24
+ args: [{
25
+ selector: '[kendoTimelineCardHeaderTemplate]'
26
+ }]
27
+ }], ctorParameters: function () { return [{ type: i0.TemplateRef, decorators: [{
28
+ type: Optional
29
+ }] }]; } });