@energycap/components 0.27.2 → 0.27.3-ECAPID-377-Implement-Sidebar.20220121-0740

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.
@@ -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 */
@@ -0,0 +1,6 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ export declare class HighlightTextPipe implements PipeTransform {
3
+ transform(value: string, searchText: string): string;
4
+ private strongWrap;
5
+ private escapeRegex;
6
+ }
@@ -7,6 +7,7 @@ import { NavItem } from '../../../controls/navigation/nav-item';
7
7
  import { ErrorService } from '../../../core/error.service';
8
8
  import { ScrollService } from '../../../core/scroll.service';
9
9
  import { DialogService } from '../../../display/dialog/dialog.service';
10
+ import { SplashService } from '../../../display/splash/splash.service';
10
11
  import { Help } from '../../../display/help/help-types';
11
12
  import { Overlay } from '../../../display/view-overlay/view-overlay.component';
12
13
  import { PageStatus } from '../page-statuses';
@@ -50,6 +51,10 @@ export declare abstract class PageBaseComponent implements OnInit, AfterViewInit
50
51
  * Default unknown save error message, override if a more specific message is needed
51
52
  */
52
53
  defaultUnknownSaveError: string;
54
+ /**
55
+ * Used to opt out of hiding the splash screen when the page is loaded
56
+ */
57
+ skipHideSplashOnComplete: boolean;
53
58
  /**
54
59
  * Used to unsubscribe from observables
55
60
  */
@@ -79,6 +84,7 @@ export declare abstract class PageBaseComponent implements OnInit, AfterViewInit
79
84
  protected router: Router;
80
85
  protected activatedRoute: ActivatedRoute;
81
86
  protected dialogService: DialogService;
87
+ protected splashService: SplashService;
82
88
  constructor(injector: Injector);
83
89
  /**
84
90
  * Errors to be shown for the component.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@energycap/components",
3
- "version": "0.27.2",
3
+ "version": "0.27.3-ECAPID-377-Implement-Sidebar.20220121-0740",
4
4
  "dependencies": {
5
5
  "tslib": "^2.0.0"
6
6
  },
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';