@energycap/components 0.38.1-ECAP-19116-hierarchy-custom-item-templates.20230926-1543 → 0.38.1

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.
@@ -1,4 +1,4 @@
1
- import { Injector, OnInit, TemplateRef } from '@angular/core';
1
+ import { Injector, OnInit } from '@angular/core';
2
2
  import { Subject } from 'rxjs';
3
3
  import { ScrollService } from '../../../core/scroll.service';
4
4
  import { HierarchyBase, HierarchyItem } from '../hierarchy-base';
@@ -9,8 +9,6 @@ export declare class HierarchyTreeComponent extends HierarchyBase implements OnI
9
9
  id: string;
10
10
  /** Hide the root node */
11
11
  hideRootNode?: boolean;
12
- /** Custom item template to use in place of the default one */
13
- customItemTemplate?: TemplateRef<any>;
14
12
  /** Emits a HierarchyItem whenever one is selected by clicking */
15
13
  itemSelected: Subject<HierarchyItem>;
16
14
  /** The width of the spacing before a tree node, multipled by a HierarchyItem's level. Value is in pixels */
@@ -30,5 +28,5 @@ export declare class HierarchyTreeComponent extends HierarchyBase implements OnI
30
28
  */
31
29
  selectItem(item: HierarchyItem): void;
32
30
  static ɵfac: i0.ɵɵFactoryDeclaration<HierarchyTreeComponent, never>;
33
- static ɵcmp: i0.ɵɵComponentDeclaration<HierarchyTreeComponent, "ec-hierarchy-tree", never, { "id": "id"; "hideRootNode": "hideRootNode"; "customItemTemplate": "customItemTemplate"; }, { "itemSelected": "itemSelected"; }, never, never, false, never>;
31
+ static ɵcmp: i0.ɵɵComponentDeclaration<HierarchyTreeComponent, "ec-hierarchy-tree", never, { "id": "id"; "hideRootNode": "hideRootNode"; }, { "itemSelected": "itemSelected"; }, never, never, false, never>;
34
32
  }
@@ -33,8 +33,6 @@ export declare class TreeComponent {
33
33
  treeMenuMaintainSelectedItem: boolean;
34
34
  /** Used when a custom template is needed for the menu items when the tree is in menu mode */
35
35
  customTreeMenuTemplate?: TemplateRef<any>;
36
- /** Used when a custom template is needed for the hierarchy items when the tree is in hierarchy mode */
37
- customHierarchyItemTemplate?: TemplateRef<any>;
38
36
  /** Tree overlay */
39
37
  status?: Overlay;
40
38
  /** Display the tree items with a MenuComponent or a HierarchyTreeComponent */
@@ -67,5 +65,5 @@ export declare class TreeComponent {
67
65
  /** Scroll to the tree item that is currently selected. */
68
66
  scrollToSelectedItem(): void;
69
67
  static ɵfac: i0.ɵɵFactoryDeclaration<TreeComponent, never>;
70
- static ɵcmp: i0.ɵɵComponentDeclaration<TreeComponent, "ec-tree", never, { "id": "id"; "treeTitle": "treeTitle"; "hideTreeHeader": "hideTreeHeader"; "treeItems": "treeItems"; "treeHierarchyHideRootNode": "treeHierarchyHideRootNode"; "treeHierarchy": "treeHierarchy"; "treeMenuMaintainSelectedItem": "treeMenuMaintainSelectedItem"; "customTreeMenuTemplate": "customTreeMenuTemplate"; "customHierarchyItemTemplate": "customHierarchyItemTemplate"; "status": "status"; "type": "type"; "menuItems": "menuItems"; "menuStatus": "menuStatus"; "menuTemplateType": "menuTemplateType"; "preserveIconSpace": "preserveIconSpace"; "templateType": "templateType"; }, { "treeSelection": "treeSelection"; "getTreeItemChildren": "getTreeItemChildren"; }, never, never, false, never>;
68
+ static ɵcmp: i0.ɵɵComponentDeclaration<TreeComponent, "ec-tree", never, { "id": "id"; "treeTitle": "treeTitle"; "hideTreeHeader": "hideTreeHeader"; "treeItems": "treeItems"; "treeHierarchyHideRootNode": "treeHierarchyHideRootNode"; "treeHierarchy": "treeHierarchy"; "treeMenuMaintainSelectedItem": "treeMenuMaintainSelectedItem"; "customTreeMenuTemplate": "customTreeMenuTemplate"; "status": "status"; "type": "type"; "menuItems": "menuItems"; "menuStatus": "menuStatus"; "menuTemplateType": "menuTemplateType"; "preserveIconSpace": "preserveIconSpace"; "templateType": "templateType"; }, { "treeSelection": "treeSelection"; "getTreeItemChildren": "getTreeItemChildren"; }, never, never, false, never>;
71
69
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@energycap/components",
3
- "version": "0.38.1-ECAP-19116-hierarchy-custom-item-templates.20230926-1543",
3
+ "version": "0.38.1",
4
4
  "dependencies": {
5
5
  "tslib": "^2.0.0"
6
6
  },
@@ -198,6 +198,7 @@
198
198
 
199
199
  // Z-indexes
200
200
  --ec-z-index-sticky-header: 3;
201
+ --ec-z-index-sticky-page-header: 10;
201
202
  --ec-z-index-overlay: 20;
202
203
  --ec-z-index-splitter: 30;
203
204
  --ec-z-index-navbar: 40;