@energycap/components 0.27.4 → 0.27.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/bundles/energycap-components.umd.js +50 -5
- package/bundles/energycap-components.umd.js.map +1 -1
- package/bundles/energycap-components.umd.min.js +1 -1
- package/bundles/energycap-components.umd.min.js.map +1 -1
- package/energycap-components.metadata.json +1 -1
- package/esm2015/lib/components.module.js +8 -4
- package/esm2015/lib/controls/menu/menu.component.js +16 -3
- package/esm2015/lib/display/hierarchy/hierarchy-base.js +1 -1
- package/esm2015/lib/shared/display/pipes/highlight-text.pipe.js +26 -0
- package/esm2015/public-api.js +2 -1
- package/fesm2015/energycap-components.js +47 -6
- package/fesm2015/energycap-components.js.map +1 -1
- package/lib/controls/menu/menu.component.d.ts +6 -0
- package/lib/display/hierarchy/hierarchy-base.d.ts +5 -0
- package/lib/shared/display/pipes/highlight-text.pipe.d.ts +6 -0
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
|
@@ -89,6 +89,12 @@ export declare class MenuComponent implements AfterContentInit, OnDestroy {
|
|
|
89
89
|
* Item currently highlighted by keyboard navigation
|
|
90
90
|
*/
|
|
91
91
|
highlightedItem: MenuItem | null;
|
|
92
|
+
/**
|
|
93
|
+
* Tells the menu to maintain the selected/lastSelected item. Turning this off is useful for
|
|
94
|
+
* action type menus that are displayed on the screen at all times and you do not
|
|
95
|
+
* want the item to be selected when clicked.
|
|
96
|
+
*/
|
|
97
|
+
maintainSelectedItem: boolean;
|
|
92
98
|
/**
|
|
93
99
|
* Emitted when `selected` is changed. Emits the referenced object.
|
|
94
100
|
*
|
|
@@ -42,6 +42,11 @@ export declare class HierarchyItem implements LinkItem {
|
|
|
42
42
|
* @see https://angular.io/guide/router#active-router-links
|
|
43
43
|
*/
|
|
44
44
|
isActiveExactMatch?: boolean;
|
|
45
|
+
/**
|
|
46
|
+
* Reference to the parent item. Useful if you need to walk the tree in reverse. An example usage
|
|
47
|
+
* would be to expand all parent items above a node that is the current selection.
|
|
48
|
+
*/
|
|
49
|
+
parentItem?: HierarchyItem;
|
|
45
50
|
}
|
|
46
51
|
export declare abstract class HierarchyBase implements OnChanges, OnDestroy {
|
|
47
52
|
/** First item to start the hierarchy structure */
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -51,6 +51,7 @@ export * from './lib/shared/display/pipes/date-display.pipe';
|
|
|
51
51
|
export * from './lib/shared/display/pipes/row-count.pipe';
|
|
52
52
|
export * from './lib/shared/display/pipes/time-display.pipe';
|
|
53
53
|
export * from './lib/shared/display/pipes/relative-date.pipe';
|
|
54
|
+
export * from './lib/shared/display/pipes/highlight-text.pipe';
|
|
54
55
|
export * from './lib/shared/user-preference.service';
|
|
55
56
|
export * from './lib/shared/lodash-helper';
|
|
56
57
|
export * from './lib/core/cache.service';
|