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.
- package/bundles/raise-common-lib.umd.js +72 -42
- package/bundles/raise-common-lib.umd.js.map +1 -1
- package/bundles/raise-common-lib.umd.min.js +1 -1
- package/bundles/raise-common-lib.umd.min.js.map +1 -1
- package/esm2015/lib/form/confirm-select/index.component.js +2 -1
- package/esm2015/lib/form/drawer-form/drawer-form.component.js +50 -22
- package/esm2015/lib/layout/drawer/index.component.js +6 -7
- package/esm2015/lib/layout/multi-tab/index.component.js +3 -2
- package/esm2015/lib/service/drawer.service.js +3 -14
- package/esm5/lib/form/confirm-select/index.component.js +2 -1
- package/esm5/lib/form/drawer-form/drawer-form.component.js +60 -21
- package/esm5/lib/layout/drawer/index.component.js +6 -7
- package/esm5/lib/layout/multi-tab/index.component.js +3 -2
- package/esm5/lib/service/drawer.service.js +3 -15
- package/fesm2015/raise-common-lib.js +60 -40
- package/fesm2015/raise-common-lib.js.map +1 -1
- package/fesm5/raise-common-lib.js +70 -40
- package/fesm5/raise-common-lib.js.map +1 -1
- package/lib/form/drawer-form/drawer-form.component.d.ts +6 -4
- package/lib/layout/drawer/index.component.d.ts +1 -2
- package/lib/service/drawer.service.d.ts +0 -1
- package/package.json +1 -1
- package/raise-common-lib.metadata.json +1 -1
|
@@ -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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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);
|