cmat 0.0.39 → 0.0.40

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,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { OnChanges, OnInit, OnDestroy, SimpleChanges, AfterViewInit, EventEmitter } from '@angular/core';
2
+ import { OnChanges, OnInit, OnDestroy, EventEmitter, SimpleChanges, AfterViewInit } from '@angular/core';
3
3
  import { ReplaySubject } from 'rxjs';
4
4
  import { IsActiveMatchOptions } from '@angular/router';
5
5
  import { BooleanInput } from '@angular/cdk/coercion';
@@ -41,37 +41,19 @@ type CmatVerticalNavigationPosition = 'left' | 'right';
41
41
  declare class CmatHorizontalNavigationComponent implements OnChanges, OnInit, OnDestroy {
42
42
  name: string;
43
43
  navigation: CmatNavigationItem[];
44
+ hasRouteReuseStrategy: boolean;
45
+ readonly routeReuseStrategyEmitUrl: EventEmitter<string>;
44
46
  onRefreshed: ReplaySubject<boolean>;
45
47
  private _changeDetectorRef;
46
48
  private _cmatNavigationService;
47
49
  private _unsubscribeAll;
48
- /**
49
- * On changes
50
- *
51
- * @param changes
52
- */
53
50
  ngOnChanges(changes: SimpleChanges): void;
54
- /**
55
- * On init
56
- */
57
51
  ngOnInit(): void;
58
- /**
59
- * On destroy
60
- */
61
52
  ngOnDestroy(): void;
62
- /**
63
- * Refresh the component to apply the changes
64
- */
65
53
  refresh(): void;
66
- /**
67
- * Track by function for ngFor loops
68
- *
69
- * @param index
70
- * @param item
71
- */
72
54
  trackByFn(index: number, item: any): any;
73
55
  static ɵfac: i0.ɵɵFactoryDeclaration<CmatHorizontalNavigationComponent, never>;
74
- static ɵcmp: i0.ɵɵComponentDeclaration<CmatHorizontalNavigationComponent, "cmat-horizontal-navigation", ["cmatHorizontalNavigation"], { "name": { "alias": "name"; "required": false; }; "navigation": { "alias": "navigation"; "required": false; }; }, {}, never, never, true, never>;
56
+ static ɵcmp: i0.ɵɵComponentDeclaration<CmatHorizontalNavigationComponent, "cmat-horizontal-navigation", ["cmatHorizontalNavigation"], { "name": { "alias": "name"; "required": false; }; "navigation": { "alias": "navigation"; "required": false; }; "hasRouteReuseStrategy": { "alias": "hasRouteReuseStrategy"; "required": false; }; }, { "routeReuseStrategyEmitUrl": "routeReuseStrategyEmitUrl"; }, never, never, true, never>;
75
57
  }
76
58
 
77
59
  declare class CmatVerticalNavigationComponent implements OnChanges, OnInit, AfterViewInit, OnDestroy {
@@ -88,6 +70,8 @@ declare class CmatVerticalNavigationComponent implements OnChanges, OnInit, Afte
88
70
  opened: boolean;
89
71
  position: CmatVerticalNavigationPosition;
90
72
  transparentOverlay: boolean;
73
+ hasRouteReuseStrategy: boolean;
74
+ readonly routeReuseStrategyEmitUrl: EventEmitter<string>;
91
75
  readonly appearanceChanged: EventEmitter<CmatVerticalNavigationAppearance>;
92
76
  readonly modeChanged: EventEmitter<CmatVerticalNavigationMode>;
93
77
  readonly openedChanged: EventEmitter<boolean>;
@@ -237,7 +221,7 @@ declare class CmatVerticalNavigationComponent implements OnChanges, OnInit, Afte
237
221
  */
238
222
  private _toggleOpened;
239
223
  static ɵfac: i0.ɵɵFactoryDeclaration<CmatVerticalNavigationComponent, never>;
240
- static ɵcmp: i0.ɵɵComponentDeclaration<CmatVerticalNavigationComponent, "cmat-vertical-navigation", ["cmatVerticalNavigation"], { "appearance": { "alias": "appearance"; "required": false; }; "autoCollapse": { "alias": "autoCollapse"; "required": false; }; "editState": { "alias": "editState"; "required": false; }; "inner": { "alias": "inner"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "name": { "alias": "name"; "required": false; }; "navigation": { "alias": "navigation"; "required": false; }; "opened": { "alias": "opened"; "required": false; }; "position": { "alias": "position"; "required": false; }; "transparentOverlay": { "alias": "transparentOverlay"; "required": false; }; }, { "appearanceChanged": "appearanceChanged"; "modeChanged": "modeChanged"; "openedChanged": "openedChanged"; "positionChanged": "positionChanged"; "editSelectedItemChanged": "editSelectedItemChanged"; }, never, ["[cmatVerticalNavigationHeader]", "[cmatVerticalNavigationContentHeader]", "[cmatVerticalNavigationContentFooter]", "[cmatVerticalNavigationFooter]"], true, never>;
224
+ static ɵcmp: i0.ɵɵComponentDeclaration<CmatVerticalNavigationComponent, "cmat-vertical-navigation", ["cmatVerticalNavigation"], { "appearance": { "alias": "appearance"; "required": false; }; "autoCollapse": { "alias": "autoCollapse"; "required": false; }; "editState": { "alias": "editState"; "required": false; }; "inner": { "alias": "inner"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "name": { "alias": "name"; "required": false; }; "navigation": { "alias": "navigation"; "required": false; }; "opened": { "alias": "opened"; "required": false; }; "position": { "alias": "position"; "required": false; }; "transparentOverlay": { "alias": "transparentOverlay"; "required": false; }; "hasRouteReuseStrategy": { "alias": "hasRouteReuseStrategy"; "required": false; }; }, { "routeReuseStrategyEmitUrl": "routeReuseStrategyEmitUrl"; "appearanceChanged": "appearanceChanged"; "modeChanged": "modeChanged"; "openedChanged": "openedChanged"; "positionChanged": "positionChanged"; "editSelectedItemChanged": "editSelectedItemChanged"; }, never, ["[cmatVerticalNavigationHeader]", "[cmatVerticalNavigationContentHeader]", "[cmatVerticalNavigationContentFooter]", "[cmatVerticalNavigationFooter]"], true, never>;
241
225
  }
242
226
 
243
227
  declare class CmatNavigationService {