raise-common-lib 0.0.149 → 0.0.151
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 +252 -160
- 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/dialog/common-delete-dialog/index.component.js +30 -2
- package/esm2015/lib/dialog/common-dialog/index.component.js +47 -11
- package/esm2015/lib/layout/multi-tab/index.component.js +17 -3
- package/esm2015/lib/raise-common-lib.module.js +7 -3
- package/esm2015/lib/service/dialog.service.js +1 -1
- package/esm2015/public-api.js +2 -1
- package/esm2015/raise-common-lib.js +3 -4
- package/esm5/lib/dialog/common-delete-dialog/index.component.js +35 -2
- package/esm5/lib/dialog/common-dialog/index.component.js +51 -12
- package/esm5/lib/layout/multi-tab/index.component.js +21 -3
- package/esm5/lib/raise-common-lib.module.js +7 -3
- package/esm5/lib/service/dialog.service.js +1 -1
- package/esm5/public-api.js +2 -1
- package/esm5/raise-common-lib.js +3 -4
- package/fesm2015/raise-common-lib.js +220 -139
- package/fesm2015/raise-common-lib.js.map +1 -1
- package/fesm5/raise-common-lib.js +248 -155
- package/fesm5/raise-common-lib.js.map +1 -1
- package/lib/dialog/common-delete-dialog/index.component.d.ts +4 -0
- package/lib/dialog/common-dialog/index.component.d.ts +6 -1
- package/lib/layout/multi-tab/index.component.d.ts +2 -0
- package/lib/service/dialog.service.d.ts +2 -0
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
- package/raise-common-lib.d.ts +1 -2
- package/raise-common-lib.metadata.json +1 -1
- package/src/assets/img/grow-icon.svg +6 -0
- package/src/assets/img/shrink-icon.svg +6 -0
|
@@ -10,6 +10,8 @@ export interface DialogConfig {
|
|
|
10
10
|
size?: string;
|
|
11
11
|
hideSaveBtn?: boolean;
|
|
12
12
|
hideCloseBtn?: boolean;
|
|
13
|
+
showZoomBtn?: boolean;
|
|
14
|
+
onCloseRequest?: (e: any) => Promise<boolean>;
|
|
13
15
|
}
|
|
14
16
|
export declare class CommonDeleteComponent implements OnInit {
|
|
15
17
|
data: DialogConfig;
|
|
@@ -20,7 +22,9 @@ export declare class CommonDeleteComponent implements OnInit {
|
|
|
20
22
|
cancelBtnLabel: string;
|
|
21
23
|
description: string;
|
|
22
24
|
size: string;
|
|
25
|
+
showZoomBtn: boolean;
|
|
23
26
|
constructor(data: DialogConfig, dialogRef: MatDialogRef<CommonDeleteComponent>);
|
|
24
27
|
ngOnInit(): void;
|
|
25
28
|
onSave(e: any): void;
|
|
29
|
+
onClose(e: any): void;
|
|
26
30
|
}
|
|
@@ -10,17 +10,22 @@ export declare class CommonDialogComponent implements OnInit {
|
|
|
10
10
|
saveBtnLabel: string;
|
|
11
11
|
cancelBtnLabel: string;
|
|
12
12
|
showErrorIcon: boolean;
|
|
13
|
+
showZoomBtn: boolean;
|
|
14
|
+
onCloseRequest: Function;
|
|
15
|
+
dialogStyle: {};
|
|
13
16
|
size: string;
|
|
14
17
|
title: string;
|
|
15
18
|
loading: boolean;
|
|
16
19
|
saveEmit: EventEmitter<Function>;
|
|
17
20
|
closeEmit: EventEmitter<Function>;
|
|
21
|
+
defaultSize: string;
|
|
18
22
|
constructor(dialogRef: MatDialogRef<CommonDialogComponent>);
|
|
19
23
|
footerContent: any;
|
|
20
24
|
customFooter: boolean;
|
|
21
25
|
ngAfterContentInit(): void;
|
|
22
26
|
ngOnInit(): void;
|
|
23
|
-
onClose(
|
|
27
|
+
onClose(): void;
|
|
28
|
+
onZoom(): void;
|
|
24
29
|
onSave(): void;
|
|
25
30
|
private getInfo;
|
|
26
31
|
}
|
|
@@ -4,6 +4,7 @@ import { RouteReuseStrategy } from "@angular/router";
|
|
|
4
4
|
import { CommonFunctionService } from "../../service/common-function.service";
|
|
5
5
|
import { DrawerService } from "../../service/drawer.service";
|
|
6
6
|
import { KeepAliveService } from "../../service/keep-alive.service";
|
|
7
|
+
import { CdkDragDrop } from "@angular/cdk/drag-drop";
|
|
7
8
|
export declare class MultiTabComponent implements OnInit, AfterViewInit, OnDestroy {
|
|
8
9
|
router: Router;
|
|
9
10
|
cf: CommonFunctionService;
|
|
@@ -44,6 +45,7 @@ export declare class MultiTabComponent implements OnInit, AfterViewInit, OnDestr
|
|
|
44
45
|
changeTab(tab: any, idx: any): void;
|
|
45
46
|
addTab(url: any, title: any): void;
|
|
46
47
|
setTab(url: any, pureUrl: any, title: any, noReused: any): void;
|
|
48
|
+
onTabDrop(event: CdkDragDrop<string[]>): void;
|
|
47
49
|
timer: any;
|
|
48
50
|
refreshTab(): void;
|
|
49
51
|
clearCache(url: any): void;
|
|
@@ -35,6 +35,8 @@ export declare class DialogService {
|
|
|
35
35
|
showErrorIcon?: boolean;
|
|
36
36
|
size?: string;
|
|
37
37
|
hideSaveBtn?: boolean;
|
|
38
|
+
onCloseRequest?: (e: any) => Promise<boolean>;
|
|
39
|
+
showZoomBtn?: boolean;
|
|
38
40
|
}): import("@angular/material/dialog").MatDialogRef<CommonDeleteComponent, any>;
|
|
39
41
|
showUnsavedChanges(data?: {
|
|
40
42
|
title?: string;
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -23,6 +23,7 @@ export * from "./lib/form/encrypted-input/index.component";
|
|
|
23
23
|
export * from "./lib/form/drawer-form/drawer-form.component";
|
|
24
24
|
export * from "./lib/form/drawer-form/constants";
|
|
25
25
|
export * from "./lib/form/toolbar-item/index.component";
|
|
26
|
+
export * from "./lib/dialog/common-dialog/index.component";
|
|
26
27
|
export * from "./lib/service/common-function.service";
|
|
27
28
|
export * from "./lib/service/icon-loader.service";
|
|
28
29
|
export * from "./lib/service/dialog.service";
|
package/raise-common-lib.d.ts
CHANGED
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
* Generated bundle index. Do not edit.
|
|
3
3
|
*/
|
|
4
4
|
export * from './public-api';
|
|
5
|
-
export { CommonDeleteComponent as
|
|
6
|
-
export { CommonDialogComponent as ɵc } from './lib/dialog/common-dialog/index.component';
|
|
5
|
+
export { CommonDeleteComponent as ɵc } from './lib/dialog/common-delete-dialog/index.component';
|
|
7
6
|
export { NewActionNotificationComponent as ɵb } from './lib/dialog/new-action-notification/new-action-notification.component';
|
|
8
7
|
export { Debounce as ɵa } from './lib/utils/decorator';
|