gamma-app-controller 1.1.2 → 1.1.4
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/esm2020/lib/application-controller/application-content.service.mjs +40 -1
- package/esm2020/lib/application-controller/application-controller.module.mjs +5 -1
- package/esm2020/lib/application-controller/application-dataset-component/application-dataset/application-dataset.component.mjs +3 -3
- package/esm2020/lib/application-controller/application-dataset-component/create-dataset-sql/create-dataset-sql.component.mjs +16 -6
- package/esm2020/lib/application-controller/application-filter/application-filter.component.mjs +2 -2
- package/esm2020/lib/application-controller/application-menu-controller/application-create-menu/application-create-menu.component.mjs +104 -27
- package/esm2020/lib/application-controller/application-menu-controller/application-menus/application-menus.component.mjs +95 -7
- package/esm2020/lib/application-controller/application-view-components/application-views/application-views.component.mjs +3 -3
- package/esm2020/lib/application-controller/common-header/common-header.component.mjs +6 -3
- package/esm2020/lib/application-controller/common.mjs +21 -1
- package/esm2020/lib/application-controller/page-controller/page-config/page-config.component.mjs +34 -8
- package/esm2020/lib/application-controller/page-controller/page-controller/page-controller.component.mjs +3 -3
- package/esm2020/lib/application-controller/shared/advanced-component/app-advance-header/app-header.component.mjs +1 -3
- package/fesm2015/gamma-app-controller.mjs +294 -48
- package/fesm2015/gamma-app-controller.mjs.map +1 -1
- package/fesm2020/gamma-app-controller.mjs +302 -48
- package/fesm2020/gamma-app-controller.mjs.map +1 -1
- package/lib/application-controller/application-content.service.d.ts +5 -0
- package/lib/application-controller/application-menu-controller/application-create-menu/application-create-menu.component.d.ts +15 -5
- package/lib/application-controller/application-menu-controller/application-menus/application-menus.component.d.ts +14 -1
- package/lib/application-controller/common-header/common-header.component.d.ts +1 -0
- package/lib/application-controller/common.d.ts +4 -0
- package/package.json +1 -1
|
@@ -80,6 +80,11 @@ export declare class ApplicationContentService extends AppHttpService {
|
|
|
80
80
|
getSrvTypeDataSource(): any;
|
|
81
81
|
pagintedActivityLogs(parms: any, api: any): Observable<any>;
|
|
82
82
|
getApiData(): any;
|
|
83
|
+
configureAppMenuConfig(manueConfig: any): Observable<any>;
|
|
84
|
+
getListOfParentAppMenu(): Observable<any>;
|
|
85
|
+
getAppAppMenuConfigById(manuid: any): Observable<any>;
|
|
86
|
+
updateAppMenuConfig(manueConfig: any): Observable<any>;
|
|
87
|
+
deleteAppMenuConfig(menuId: any): any;
|
|
83
88
|
static ɵfac: i0.ɵɵFactoryDeclaration<ApplicationContentService, never>;
|
|
84
89
|
static ɵprov: i0.ɵɵInjectableDeclaration<ApplicationContentService>;
|
|
85
90
|
}
|
|
@@ -1,21 +1,31 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
|
+
import { ActivatedRoute, Router } from '@angular/router';
|
|
2
3
|
import { CommonService } from '../../common';
|
|
4
|
+
import { ApplicationContentService } from '../../application-content.service';
|
|
5
|
+
import { ToastrService } from 'ngx-toastr';
|
|
3
6
|
import * as i0 from "@angular/core";
|
|
4
7
|
export declare class ApplicationCreateMenuComponent implements OnInit {
|
|
5
8
|
commonservice: CommonService;
|
|
9
|
+
private service;
|
|
10
|
+
private toasterService;
|
|
11
|
+
private activatedRoute;
|
|
12
|
+
private router;
|
|
6
13
|
menuObject: any;
|
|
7
14
|
ismenuContainer: boolean;
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}[];
|
|
15
|
+
isContentType: boolean;
|
|
16
|
+
menuType: string[];
|
|
17
|
+
paparentMenuDatasource: any;
|
|
12
18
|
userOptionContainer: any;
|
|
13
|
-
constructor(commonservice: CommonService);
|
|
19
|
+
constructor(commonservice: CommonService, service: ApplicationContentService, toasterService: ToastrService, activatedRoute: ActivatedRoute, router: Router);
|
|
14
20
|
ngOnInit(): void;
|
|
21
|
+
getParentMenuList(): void;
|
|
15
22
|
getMenuType(e: any): void;
|
|
16
23
|
addNewUser(): void;
|
|
17
24
|
deleteUser(i: any): void;
|
|
18
25
|
submitNewMenu(): void;
|
|
26
|
+
updateMenu(): void;
|
|
27
|
+
getMenuTidType(item: any): void;
|
|
28
|
+
menuList(): void;
|
|
19
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<ApplicationCreateMenuComponent, never>;
|
|
20
30
|
static ɵcmp: i0.ɵɵComponentDeclaration<ApplicationCreateMenuComponent, "lib-application-create-menu", never, {}, {}, never, never, false>;
|
|
21
31
|
}
|
|
@@ -1,13 +1,26 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
2
|
import { CommonService } from '../../common';
|
|
3
3
|
import { Router } from '@angular/router';
|
|
4
|
+
import { ApplicationContentService } from '../../application-content.service';
|
|
5
|
+
import { ToastrService } from 'ngx-toastr';
|
|
4
6
|
import * as i0 from "@angular/core";
|
|
5
7
|
export declare class ApplicationMenusComponent implements OnInit {
|
|
6
8
|
commonService: CommonService;
|
|
7
9
|
private router;
|
|
8
|
-
|
|
10
|
+
commonservice: CommonService;
|
|
11
|
+
private service;
|
|
12
|
+
private toasterService;
|
|
13
|
+
paparentMenuDatasource: any;
|
|
14
|
+
isLoader: boolean;
|
|
15
|
+
treviewDatasource: any;
|
|
16
|
+
constructor(commonService: CommonService, router: Router, commonservice: CommonService, service: ApplicationContentService, toasterService: ToastrService);
|
|
9
17
|
ngOnInit(): void;
|
|
18
|
+
getParentMenuList(): void;
|
|
19
|
+
editMenu(item: any): void;
|
|
20
|
+
deleteMenu(item: any): void;
|
|
21
|
+
getUsers(items: any): string;
|
|
10
22
|
createNewMenu(): void;
|
|
23
|
+
buildMenuTree(userName: string, menuData: any[]): any[];
|
|
11
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<ApplicationMenusComponent, never>;
|
|
12
25
|
static ɵcmp: i0.ɵɵComponentDeclaration<ApplicationMenusComponent, "lib-application-menus", never, {}, {}, never, never, false>;
|
|
13
26
|
}
|
|
@@ -10,6 +10,7 @@ export declare class CommonHeaderComponent {
|
|
|
10
10
|
gotoPages(): void;
|
|
11
11
|
gotoFilters(): void;
|
|
12
12
|
gotoDataSets(): void;
|
|
13
|
+
gotoMenuConfig(): void;
|
|
13
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<CommonHeaderComponent, never>;
|
|
14
15
|
static ɵcmp: i0.ɵɵComponentDeclaration<CommonHeaderComponent, "lib-common-header", never, { "pageTitle": "pageTitle"; }, {}, never, never, false>;
|
|
15
16
|
}
|
|
@@ -55,6 +55,9 @@ export declare class CommonService {
|
|
|
55
55
|
btn_light_lg: string;
|
|
56
56
|
btn_light_md: string;
|
|
57
57
|
btn_light_sm: string;
|
|
58
|
+
btn_purple_lg: string;
|
|
59
|
+
btn_purple_md: string;
|
|
60
|
+
btn_purple_sm: string;
|
|
58
61
|
btnDarkBlack: string;
|
|
59
62
|
btnLightWhite: string;
|
|
60
63
|
btnPrimaryBlue_sm: string;
|
|
@@ -143,6 +146,7 @@ export declare class CommonService {
|
|
|
143
146
|
removeDuplicates(jobArray: any, context: any): any;
|
|
144
147
|
getKey: (obj: any) => string;
|
|
145
148
|
convertString(input: any): any;
|
|
149
|
+
ThousandSeparatorWithTwoDecimals(value: any): number;
|
|
146
150
|
static ɵfac: i0.ɵɵFactoryDeclaration<CommonService, never>;
|
|
147
151
|
static ɵprov: i0.ɵɵInjectableDeclaration<CommonService>;
|
|
148
152
|
}
|