@progress/kendo-angular-layout 7.0.0-next.202204011521 → 7.0.0

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/main.d.ts CHANGED
@@ -10,6 +10,7 @@ export { PanelBarItemTemplateDirective } from './panelbar/panelbar-item-template
10
10
  export { PanelBarItemTitleDirective } from './panelbar/panelbar-item-title.directive';
11
11
  export { PanelBarExpandMode } from './panelbar/panelbar-expand-mode';
12
12
  export { PanelBarItemModel } from './panelbar/panelbar-item-model';
13
+ export * from './panelbar/events';
13
14
  export { SplitterComponent } from './splitter/splitter.component';
14
15
  export { SplitterPaneComponent } from './splitter/splitter-pane.component';
15
16
  export { TabStripComponent } from './tabstrip/tabstrip.component';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-layout",
3
- "version": "7.0.0-next.202204011521",
3
+ "version": "7.0.0",
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",
@@ -43,12 +43,12 @@
43
43
  "tslib": "^2.3.1"
44
44
  },
45
45
  "peerDependencies": {
46
- "@angular/animations": "^12.0.0 || ^13.0.0",
47
- "@angular/common": "^12.0.0 || ^13.0.0",
48
- "@angular/core": "^12.0.0 || ^13.0.0",
49
- "@progress/kendo-angular-common": "next",
50
- "@progress/kendo-angular-l10n": "next",
51
- "@progress/kendo-angular-progressbar": "next",
46
+ "@angular/animations": "12 - 14",
47
+ "@angular/common": "12 - 14",
48
+ "@angular/core": "12 - 14",
49
+ "@progress/kendo-angular-common": "^3.0.0",
50
+ "@progress/kendo-angular-l10n": "^4.0.0",
51
+ "@progress/kendo-angular-progressbar": "^3.0.0",
52
52
  "@progress/kendo-licensing": "^1.0.2",
53
53
  "rxjs": "^6.5.3 || ^7.0.0"
54
54
  },
@@ -79,12 +79,10 @@
79
79
  "release": {
80
80
  "debug": false,
81
81
  "branchTags": {
82
- "develop": "dev",
83
- "ng12-update": "next"
82
+ "develop": "dev"
84
83
  },
85
84
  "fallbackTags": {
86
- "dev": "latest",
87
- "next": "latest"
85
+ "dev": "latest"
88
86
  },
89
87
  "analyzeCommits": "@telerik/semantic-prerelease/analyzeCommits",
90
88
  "generateNotes": "@progress/kendo-angular-tasks/lib/generateNotes",
@@ -0,0 +1,15 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2021 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import { PreventableEvent } from '../../common/preventable-event';
6
+ import { PanelBarItemModel } from '../panelbar-item-model';
7
+ /**
8
+ * Arguments for the `collapse` event of the PanelBar.
9
+ */
10
+ export declare class PanelBarCollapseEvent extends PreventableEvent {
11
+ /**
12
+ * The item that will be collapsed.
13
+ */
14
+ item: PanelBarItemModel;
15
+ }
@@ -0,0 +1,15 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2021 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import { PreventableEvent } from '../../common/preventable-event';
6
+ import { PanelBarItemModel } from '../panelbar-item-model';
7
+ /**
8
+ * Arguments for the `expand` event of the PanelBar.
9
+ */
10
+ export declare class PanelBarExpandEvent extends PreventableEvent {
11
+ /**
12
+ * The item that will be expanded.
13
+ */
14
+ item: PanelBarItemModel;
15
+ }
@@ -0,0 +1,15 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2021 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import { PreventableEvent } from '../../common/preventable-event';
6
+ import { PanelBarItemModel } from '../panelbar-item-model';
7
+ /**
8
+ * Arguments for the `select` event of the PanelBar.
9
+ */
10
+ export declare class PanelBarSelectEvent extends PreventableEvent {
11
+ /**
12
+ * The item that will be selected.
13
+ */
14
+ item: PanelBarItemModel;
15
+ }
@@ -0,0 +1,14 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2021 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import { PanelBarItemModel } from '../panelbar-item-model';
6
+ /**
7
+ * Arguments for the `stateChange` event of the PanelBar.
8
+ */
9
+ export declare class PanelBarStateChangeEvent {
10
+ /**
11
+ * A collection of all modified items.
12
+ */
13
+ items: Array<PanelBarItemModel>;
14
+ }
@@ -0,0 +1,8 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2021 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ export { PanelBarCollapseEvent } from './events/collapse-event';
6
+ export { PanelBarExpandEvent } from './events/expand-event';
7
+ export { PanelBarSelectEvent } from './events/select-event';
8
+ export { PanelBarStateChangeEvent } from './events/state-change-event';
@@ -9,6 +9,7 @@ import { PanelBarItemComponent } from './panelbar-item.component';
9
9
  import { PanelBarItemModel } from './panelbar-item-model';
10
10
  import { PanelBarService } from "./panelbar.service";
11
11
  import { PanelBarItemTemplateDirective } from "./panelbar-item-template.directive";
12
+ import { PanelBarSelectEvent, PanelBarExpandEvent, PanelBarCollapseEvent, PanelBarStateChangeEvent } from './events';
12
13
  import * as i0 from "@angular/core";
13
14
  /**
14
15
  * Represents the [Kendo UI PanelBar component for Angular]({% slug overview_panelbar %}).
@@ -55,9 +56,27 @@ export declare class PanelBarComponent implements AfterViewChecked, OnChanges, O
55
56
  /**
56
57
  * Fires each time the user interacts with a PanelBar item
57
58
  * ([see example]({% slug routing_panelbar %}#toc-getting-the-selected-item)).
58
- * The event data contains all items that are modified.
59
+ * The event data contains a collection of all items that are modified.
59
60
  */
60
- stateChange: EventEmitter<any>;
61
+ stateChange: EventEmitter<PanelBarStateChangeEvent>;
62
+ /**
63
+ * Fires when an item is about to be selected.
64
+ * ([see example]({% slug events_panelbar %}))
65
+ * This event is preventable. If you cancel it, the item will not be selected.
66
+ */
67
+ select: EventEmitter<PanelBarSelectEvent>;
68
+ /**
69
+ * Fires when an item is about to be expanded.
70
+ * ([see example]({% slug events_panelbar %}))
71
+ * This event is preventable. If you cancel it, the item will remain collapsed.
72
+ */
73
+ expand: EventEmitter<PanelBarExpandEvent>;
74
+ /**
75
+ * Fires when an item is about to be collapsed.
76
+ * ([see example]({% slug events_panelbar %}))
77
+ * This event is preventable. If you cancel it, the item will remain expanded.
78
+ */
79
+ collapse: EventEmitter<PanelBarCollapseEvent>;
61
80
  tabIndex: number;
62
81
  role: string;
63
82
  hostClass: boolean;
@@ -108,6 +127,10 @@ export declare class PanelBarComponent implements AfterViewChecked, OnChanges, O
108
127
  * @hidden
109
128
  */
110
129
  onComponentKeyDown(event: any): void;
130
+ /**
131
+ * @hidden
132
+ */
133
+ emitEvent(event: string, item: PanelBarItemComponent): any;
111
134
  private get viewItems();
112
135
  private validateConfiguration;
113
136
  private updateChildrenHeight;
@@ -126,5 +149,5 @@ export declare class PanelBarComponent implements AfterViewChecked, OnChanges, O
126
149
  private visibleItems;
127
150
  private flatVisibleItems;
128
151
  static ɵfac: i0.ɵɵFactoryDeclaration<PanelBarComponent, never>;
129
- static ɵcmp: i0.ɵɵComponentDeclaration<PanelBarComponent, "kendo-panelbar", ["kendoPanelbar"], { "expandMode": "expandMode"; "selectable": "selectable"; "animate": "animate"; "height": "height"; "keepItemContent": "keepItemContent"; "items": "items"; }, { "stateChange": "stateChange"; }, ["template", "contentItems", "contentChildItems"], ["kendo-panelbar-item"]>;
152
+ static ɵcmp: i0.ɵɵComponentDeclaration<PanelBarComponent, "kendo-panelbar", ["kendoPanelbar"], { "expandMode": "expandMode"; "selectable": "selectable"; "animate": "animate"; "height": "height"; "keepItemContent": "keepItemContent"; "items": "items"; }, { "stateChange": "stateChange"; "select": "select"; "expand": "expand"; "collapse": "collapse"; }, ["template", "contentItems", "contentChildItems"], ["kendo-panelbar-item"]>;
130
153
  }