raise-common-lib 0.0.170 → 0.0.172

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,11 +1,9 @@
1
1
  import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnChanges, OnInit, QueryList, SimpleChanges, TemplateRef, ViewContainerRef } from "@angular/core";
2
- import { DatePipe } from "@angular/common";
3
2
  import { FilteringEventArgs } from "@syncfusion/ej2-angular-dropdowns";
4
3
  import { FieldItem, SectionItem } from "./constants";
5
4
  export declare class DrawerFormComponent implements OnInit, OnChanges, AfterViewInit {
6
- private datePipe;
7
5
  private ref;
8
- sections: SectionItem[];
6
+ _sections: SectionItem[];
9
7
  optionsMap: Record<string, any[]>;
10
8
  customTemplate: TemplateRef<any>;
11
9
  customSectionTemplate: Record<string, TemplateRef<any>>;
@@ -27,9 +25,11 @@ export declare class DrawerFormComponent implements OnInit, OnChanges, AfterView
27
25
  rootEl: ElementRef<HTMLDivElement>;
28
26
  private containers;
29
27
  private sectionContainers;
28
+ sections: SectionItem[];
30
29
  filterOptionsMap: Record<string, any[]>;
31
30
  fieldValidMap: Record<string, boolean>;
32
- constructor(datePipe: DatePipe, ref: ChangeDetectorRef);
31
+ dateValidMap: Record<string, boolean>;
32
+ constructor(ref: ChangeDetectorRef);
33
33
  ngOnInit(): void;
34
34
  ngOnChanges(changes: SimpleChanges): void;
35
35
  ngAfterViewInit(): void;
@@ -44,7 +44,9 @@ export declare class DrawerFormComponent implements OnInit, OnChanges, AfterView
44
44
  getField(formKey: string): FieldItem;
45
45
  private callFunction;
46
46
  onInput(value: string, field: FieldItem): void;
47
+ onComponentChange(event: any, field: FieldItem): void;
47
48
  onChange(value: any, field: FieldItem): void;
49
+ onDatePickerBlur(event: any, field: FieldItem): void;
48
50
  onFocus(field: FieldItem): void;
49
51
  onBlur(field: FieldItem): void;
50
52
  onFiltering(event: FilteringEventArgs, field: FieldItem): void;
@@ -1,5 +1,4 @@
1
1
  import { ComponentFactoryResolver, ComponentRef, ElementRef } from "@angular/core";
2
- import { BehaviorSubject } from "rxjs";
3
2
  import { DrawerConfig, DrawerService } from "../../service/drawer.service";
4
3
  declare type DrawerComponentCache = {
5
4
  ref: ComponentRef<any>;
@@ -21,7 +20,7 @@ export declare class DrawerComponent {
21
20
  private container;
22
21
  config: DrawerConfig;
23
22
  useTransition: "yes" | "no";
24
- $isOpened: BehaviorSubject<boolean>;
23
+ isOpened: boolean;
25
24
  hiddenDrawer: boolean;
26
25
  private componentRefMap;
27
26
  constructor(resolver: ComponentFactoryResolver, service: DrawerService);
@@ -25,7 +25,6 @@ export declare class DrawerService implements OnDestroy {
25
25
  private router;
26
26
  private uniqueDrawerComponent;
27
27
  private resultPromiseResolveMap;
28
- private openedSubscription;
29
28
  private routerSubscription;
30
29
  private ListenChangeCbs;
31
30
  constructor(router: Router);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "raise-common-lib",
3
- "version": "0.0.170",
3
+ "version": "0.0.172",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^8.2.3 || ^9.0.0",
6
6
  "@angular/core": "^8.2.3 || ^9.0.0"