@esfaenza/core 20.3.46 → 20.3.48

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.
@@ -49,9 +49,11 @@ declare class Breadcrumb {
49
49
  private emb;
50
50
  MainLink: BreadcrumbItem;
51
51
  SubLinks: BreadcrumbItem[];
52
+ private destroyed$;
52
53
  constructor(_state: AppState, router: Router, _activatedRoute: ActivatedRoute, _titleService: Title, emb: AppEmbeddingExtensions);
53
54
  handleNavigation(title: string, internal: boolean, tree?: UrlTree): void;
54
55
  ngOnInit(): void;
56
+ ngOnDestroy(): void;
55
57
  onSubNavigation(tree: UrlTree, title: string): void;
56
58
  onMainNavigation(tree: UrlTree, title: string): void;
57
59
  private getRouterLink;
@@ -120,7 +122,9 @@ declare class PagesComponent {
120
122
  maxHeight: number;
121
123
  dynamicCSSUrl: SafeResourceUrl;
122
124
  loadedModuleCss: string;
125
+ private menuCollapsedDisposer;
123
126
  constructor(sanitizer: DomSanitizer, _state: AppState, _location: Location, router: Router);
127
+ ngOnDestroy(): void;
124
128
  ngOnInit(): void;
125
129
  getCurrentPageName(): void;
126
130
  hideMenu(): void;
@@ -178,6 +182,7 @@ declare class Navbar extends ReactiveComponent {
178
182
  CurrentIdentity: JaceIdentity;
179
183
  private newVersionWarned;
180
184
  navbar: ElementRef;
185
+ private stateDisposers;
181
186
  constructor(prefsService: PreferencesService, cacheService: CacheService, MessageDef: BaseMessageService, notifications: NotificationsService, msgExts: MessageService, lc: LocalizationService, http: HTTPService, cdr: ChangeDetectorRef, _state: AppState, sr: TokenService, router: Router, cjrService: CompletedJobRedirectionService, extensionComponents: Type<any>[], loginUrlLegacy: boolean, ANONYMOUS_MODE: boolean);
182
187
  ngOnDestroy(): void;
183
188
  private handleBaseNotifications;
@@ -247,7 +252,10 @@ declare class Sidebar {
247
252
  user: string;
248
253
  tenant: string;
249
254
  sidebar: ElementRef;
255
+ private stateDisposers;
256
+ private routerSub;
250
257
  constructor(lc: LocalizationService, lcMenu: Type<LocalizationService>, cdr: ChangeDetectorRef, _elementRef: ElementRef, _router: Router, _state: AppState, zone: NgZone, utiExts: UtilityService, aac: AccessControlService, menuItemsRaw: ApplicationMenu[], menuFilteringService: MenuFilteringService, sr: TokenService, globalSearchService: GlobalSearchService, profile: UserPreferencesService, msgExts: MessageService);
258
+ ngOnDestroy(): void;
251
259
  ngOnInit(): Promise<void>;
252
260
  private getMenuItems;
253
261
  private checkSubMenuOverClaims;
@@ -312,8 +320,10 @@ declare class JaceResourceComponent {
312
320
  };
313
321
  Height: number;
314
322
  sanitizedSourceResource: SafeResourceUrl;
323
+ private modulesDisposer;
315
324
  constructor(cdr: ChangeDetectorRef, _state: AppState, sanitizer: DomSanitizer);
316
325
  ngOnInit(): void;
326
+ ngOnDestroy(): void;
317
327
  ngAfterViewInit(): void;
318
328
  afterModulesRetrieve(modules: ActiveModuleView[]): Promise<void>;
319
329
  static ɵfac: i0.ɵɵFactoryDeclaration<JaceResourceComponent, never>;
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { ElementRef, NgZone, Renderer2, OnInit, ViewContainerRef, Type } from '@angular/core';
2
+ import { ElementRef, NgZone, Renderer2, OnInit, OnDestroy, ViewContainerRef, Type } from '@angular/core';
3
3
  import { AppEmbeddingExtensions } from '@esfaenza/extensions';
4
4
  import { LocationStrategy } from '@angular/common';
5
5
  import { RouterLinkWithHref, Router, ActivatedRoute, UrlTree } from '@angular/router';
@@ -11,8 +11,10 @@ declare class Draggable {
11
11
  private zone;
12
12
  private emb;
13
13
  handlerSelector: string;
14
+ private $draggable;
14
15
  constructor(_elementRef: ElementRef, zone: NgZone, emb: AppEmbeddingExtensions);
15
16
  ngOnInit(): void;
17
+ ngOnDestroy(): void;
16
18
  static ɵfac: i0.ɵɵFactoryDeclaration<Draggable, never>;
17
19
  static ɵdir: i0.ɵɵDirectiveDeclaration<Draggable, "[emaDraggable]", never, { "handlerSelector": { "alias": "emaDraggable"; "required": false; }; }, {}, never, never, true, never>;
18
20
  }
@@ -23,6 +25,7 @@ declare class SlimScroll {
23
25
  slimScrollOptions: Object;
24
26
  constructor(_elementRef: ElementRef, zone: NgZone);
25
27
  ngOnChanges(changes: any): void;
28
+ ngOnDestroy(): void;
26
29
  private _scroll;
27
30
  private _init;
28
31
  private _destroy;
@@ -40,10 +43,14 @@ declare class esRouterLinkWithHref extends RouterLinkWithHref {
40
43
  static ɵdir: i0.ɵɵDirectiveDeclaration<esRouterLinkWithHref, "a[esRouterLink],area[esRouterLink]", never, { "esRouterLink": { "alias": "esRouterLink"; "required": false; }; }, {}, never, never, true, never>;
41
44
  }
42
45
 
43
- declare class Widget implements OnInit {
46
+ declare class Widget implements OnInit, OnDestroy {
44
47
  $el: any;
48
+ private onClose;
49
+ private onFullscreened;
50
+ private onRestored;
45
51
  constructor(el: ElementRef);
46
52
  ngOnInit(): void;
53
+ ngOnDestroy(): void;
47
54
  static ɵfac: i0.ɵɵFactoryDeclaration<Widget, never>;
48
55
  static ɵdir: i0.ɵɵDirectiveDeclaration<Widget, "[widget]", never, {}, {}, never, never, true, never>;
49
56
  }