@unipin/angular-applet 18.6.21 → 18.7.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,10 +1,17 @@
1
- import { OnInit, ViewContainerRef } from '@angular/core';
1
+ import { ComponentRef, OnDestroy, OnInit, ViewContainerRef } from '@angular/core';
2
+ import { ActivatedRoute, Router } from '@angular/router';
3
+ import { Subscription } from 'rxjs';
2
4
  import * as i0 from "@angular/core";
3
- export declare class LazyRouteDirective implements OnInit {
5
+ export declare class LazyRouteDirective implements OnInit, OnDestroy {
6
+ protected readonly router: Router;
4
7
  protected readonly vcr: ViewContainerRef;
8
+ protected readonly route: ActivatedRoute;
5
9
  loadRoute: any;
6
- constructor(vcr: ViewContainerRef);
10
+ protected sub?: Subscription;
11
+ constructor(router: Router, vcr: ViewContainerRef, route: ActivatedRoute);
7
12
  ngOnInit(): void;
13
+ ngOnDestroy(): void;
14
+ protected setInput(cr: ComponentRef<any>): void;
8
15
  static ɵfac: i0.ɵɵFactoryDeclaration<LazyRouteDirective, never>;
9
16
  static ɵdir: i0.ɵɵDirectiveDeclaration<LazyRouteDirective, "[loadRoute]", never, { "loadRoute": { "alias": "loadRoute"; "required": true; }; }, {}, never, never, true, never>;
10
17
  }
@@ -14,4 +14,14 @@ export interface User {
14
14
  status: string;
15
15
  isInternal: boolean;
16
16
  }[];
17
+ departments: {
18
+ department: {
19
+ guid: string;
20
+ hierarchyCode: string;
21
+ hierarchyPath: string;
22
+ name: string;
23
+ status: string;
24
+ };
25
+ isLead: boolean;
26
+ }[];
17
27
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unipin/angular-applet",
3
- "version": "18.6.21",
3
+ "version": "18.7.1",
4
4
  "sideEffects": false,
5
5
  "homepage": "https://backoffice.unipin.com/",
6
6
  "description": "Angular specific wrappers for UniPin applet",