raise-common-lib 0.0.131 → 0.0.133
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 +116 -20
- package/bundles/raise-common-lib.umd.js.map +1 -1
- package/bundles/raise-common-lib.umd.min.js +1 -15
- package/bundles/raise-common-lib.umd.min.js.map +1 -1
- package/esm2015/lib/form/drawer-form/constants.js +2 -2
- package/esm2015/lib/layout/main-container/index.component.js +66 -5
- package/esm2015/lib/layout/multi-tab/index.component.js +29 -12
- package/esm2015/lib/layout/rs-aside/index.component.js +2 -2
- package/esm5/lib/form/drawer-form/constants.js +2 -2
- package/esm5/lib/layout/main-container/index.component.js +82 -4
- package/esm5/lib/layout/multi-tab/index.component.js +33 -13
- package/esm5/lib/layout/rs-aside/index.component.js +2 -2
- package/fesm2015/raise-common-lib.js +93 -17
- package/fesm2015/raise-common-lib.js.map +1 -1
- package/fesm5/raise-common-lib.js +113 -18
- package/fesm5/raise-common-lib.js.map +1 -1
- package/lib/form/drawer-form/constants.d.ts +1 -6
- package/lib/layout/main-container/index.component.d.ts +8 -2
- package/lib/layout/multi-tab/index.component.d.ts +2 -1
- package/package.json +1 -1
- package/raise-common-lib.metadata.json +1 -1
|
@@ -25,10 +25,5 @@ export declare type SectionItem = {
|
|
|
25
25
|
title: string;
|
|
26
26
|
fields: FieldItem[];
|
|
27
27
|
};
|
|
28
|
-
export declare function filterShowSection(sections: SectionItem[]):
|
|
29
|
-
fields: FieldItem[];
|
|
30
|
-
show?: (...args: any[]) => boolean;
|
|
31
|
-
customKey?: string;
|
|
32
|
-
title: string;
|
|
33
|
-
}[];
|
|
28
|
+
export declare function filterShowSection(sections: SectionItem[]): SectionItem[];
|
|
34
29
|
export declare const EmailPattern: RegExp;
|
|
@@ -1,15 +1,21 @@
|
|
|
1
|
-
import { OnInit } from "@angular/core";
|
|
1
|
+
import { ElementRef, EventEmitter, OnInit } from "@angular/core";
|
|
2
2
|
import { DrawerComponent } from "../drawer/index.component";
|
|
3
3
|
import { DrawerService } from "../../service/drawer.service";
|
|
4
4
|
export declare class MainContainerComponent implements OnInit {
|
|
5
5
|
private globalDrawer;
|
|
6
|
+
private elementRef;
|
|
6
7
|
headerRef: any;
|
|
8
|
+
multiTabRef: any;
|
|
7
9
|
drawer: DrawerComponent;
|
|
8
10
|
isCollapsed: boolean;
|
|
9
11
|
singleReuseUrls: string[];
|
|
10
|
-
|
|
12
|
+
onWidthChange: EventEmitter<any>;
|
|
13
|
+
private resizeObserver;
|
|
14
|
+
private debouncedHandleResize;
|
|
15
|
+
constructor(globalDrawer: DrawerService, elementRef: ElementRef);
|
|
11
16
|
ngOnInit(): void;
|
|
12
17
|
onResize(event: any): void;
|
|
13
18
|
ngAfterViewInit(): void;
|
|
19
|
+
ngOnDestroy(): void;
|
|
14
20
|
onRightAsideClick(): void;
|
|
15
21
|
}
|
|
@@ -38,12 +38,13 @@ export declare class MultiTabComponent implements OnInit, AfterViewInit, OnDestr
|
|
|
38
38
|
rightWidth: any;
|
|
39
39
|
};
|
|
40
40
|
initTab(): void;
|
|
41
|
-
closeTab(idx: any,
|
|
41
|
+
closeTab(idx: any, noChange?: any): void;
|
|
42
42
|
changeTab(tab: any, idx: any): void;
|
|
43
43
|
addTab(url: any, title: any): void;
|
|
44
44
|
setTab(url: any, pureUrl: any, title: any, noReused: any): void;
|
|
45
45
|
timer: any;
|
|
46
46
|
refreshTab(): void;
|
|
47
47
|
clearCache(url: any): void;
|
|
48
|
+
cleanAllCache(): void;
|
|
48
49
|
private urlWithoutQuery;
|
|
49
50
|
}
|