raise-common-lib 0.0.178 → 0.0.180

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,4 +1,4 @@
1
- import { ComponentFactoryResolver, ComponentRef, ElementRef } from "@angular/core";
1
+ import { ComponentFactoryResolver, ComponentRef, ElementRef, ChangeDetectorRef } from "@angular/core";
2
2
  import { DrawerConfig, DrawerService } from "../../service/drawer.service";
3
3
  declare type DrawerComponentCache = {
4
4
  ref: ComponentRef<any>;
@@ -10,6 +10,7 @@ declare type DrawerComponentCache = {
10
10
  export declare class DrawerComponent {
11
11
  private resolver;
12
12
  private service;
13
+ private ref;
13
14
  element: ElementRef<HTMLDivElement>;
14
15
  drawer: ElementRef<HTMLDivElement>;
15
16
  header: ElementRef<HTMLDivElement>;
@@ -23,7 +24,7 @@ export declare class DrawerComponent {
23
24
  isOpened: boolean;
24
25
  hiddenDrawer: boolean;
25
26
  private componentRefMap;
26
- constructor(resolver: ComponentFactoryResolver, service: DrawerService);
27
+ constructor(resolver: ComponentFactoryResolver, service: DrawerService, ref: ChangeDetectorRef);
27
28
  private createDynamicComponent;
28
29
  private destroyDynamicComponent;
29
30
  private setComponentData;
@@ -35,7 +36,7 @@ export declare class DrawerComponent {
35
36
  back(): void;
36
37
  deleteCache(cacheKey: string): void;
37
38
  onRouteChange(): void;
38
- toggleOpenStatus(isOpen: boolean, useTransition?: boolean): void;
39
+ toggleOpenStatus(isOpen: boolean, useAnimation?: boolean): void;
39
40
  onAnimationEnd(): void;
40
41
  }
41
42
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "raise-common-lib",
3
- "version": "0.0.178",
3
+ "version": "0.0.180",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^8.2.3 || ^9.0.0",
6
6
  "@angular/core": "^8.2.3 || ^9.0.0"