mmhglobal-dynamicform 2.31.0 → 2.32.2
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/README.md +14 -0
- package/esm2020/lib/services/main.service.mjs +12 -7
- package/esm2020/lib/uiheader/uiheader.component.mjs +27 -48
- package/esm2020/lib/uiheader/uiheader.service.mjs +27 -0
- package/esm2020/lib/zgrid/zgrid.component.mjs +28 -3
- package/esm2020/lib/zselectmultiple/zselectmultiple.component.mjs +2 -2
- package/fesm2015/mmhglobal-dynamicform.mjs +79 -48
- package/fesm2015/mmhglobal-dynamicform.mjs.map +1 -1
- package/fesm2020/mmhglobal-dynamicform.mjs +79 -48
- package/fesm2020/mmhglobal-dynamicform.mjs.map +1 -1
- package/lib/uiheader/uiheader.component.d.ts +4 -7
- package/lib/uiheader/uiheader.service.d.ts +11 -0
- package/lib/zgrid/zgrid.component.d.ts +1 -0
- package/package.json +1 -1
|
@@ -3,17 +3,17 @@ import { Router } from '@angular/router';
|
|
|
3
3
|
/********** Ionic **********/
|
|
4
4
|
/********** Plugin **********/
|
|
5
5
|
/********** Component & Service **********/
|
|
6
|
-
import { ZCoreService, AuthService,
|
|
6
|
+
import { ZCoreService, AuthService, FontAweSomeService, ZGroup } from 'mmhglobal-zcore';
|
|
7
7
|
import { ZComponentService } from "../services/zcomponent.service";
|
|
8
|
+
import { UiheaderService } from "./uiheader.service";
|
|
8
9
|
import * as i0 from "@angular/core";
|
|
9
10
|
export declare class UiheaderComponent implements OnInit {
|
|
10
11
|
private router;
|
|
11
|
-
private translationService;
|
|
12
12
|
private zcoreService;
|
|
13
13
|
private authService;
|
|
14
14
|
fontAweSomeService: FontAweSomeService;
|
|
15
15
|
private componentService;
|
|
16
|
-
private
|
|
16
|
+
private uiHeaderService;
|
|
17
17
|
group: ZGroup;
|
|
18
18
|
topFormHeader: string;
|
|
19
19
|
private environment;
|
|
@@ -25,12 +25,9 @@ export declare class UiheaderComponent implements OnInit {
|
|
|
25
25
|
showBulletinIcon: boolean;
|
|
26
26
|
userPanelItems: any;
|
|
27
27
|
private loadedEnvironmentProfileMenu;
|
|
28
|
-
constructor(router: Router,
|
|
28
|
+
constructor(router: Router, zcoreService: ZCoreService, authService: AuthService, fontAweSomeService: FontAweSomeService, componentService: ZComponentService, uiHeaderService: UiheaderService);
|
|
29
29
|
ngOnInit(): void;
|
|
30
30
|
private setUserProfile;
|
|
31
|
-
private setUsernameInitial;
|
|
32
|
-
private trySetUserProfileImage;
|
|
33
|
-
private translateUserMenu;
|
|
34
31
|
onDialItemClick(event: any): void;
|
|
35
32
|
private navToUserProfile;
|
|
36
33
|
private navLogout;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { TranslationService, ZGroup } from "mmhglobal-zcore";
|
|
2
|
+
import { Observable } from "rxjs";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class UiheaderService {
|
|
5
|
+
private translationService;
|
|
6
|
+
private translatedMenuItems;
|
|
7
|
+
constructor(translationService: TranslationService);
|
|
8
|
+
getTranslatedUserMenu(group: ZGroup, userPanelItems: Array<any>): Observable<Array<any>>;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiheaderService, never>;
|
|
10
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<UiheaderService>;
|
|
11
|
+
}
|
|
@@ -118,6 +118,7 @@ export declare class ZgridComponent extends DataListingFieldBase implements ZCom
|
|
|
118
118
|
showTooltip(e: MouseEvent): void;
|
|
119
119
|
rowSelectionKey: (context: RowArgs) => any;
|
|
120
120
|
getSelectedValues(): any;
|
|
121
|
+
clearSelection(): void;
|
|
121
122
|
getData(): void;
|
|
122
123
|
getGridData(): any;
|
|
123
124
|
setData: (gData: any) => void;
|