mmhglobal-dynamicform 2.30.0 → 2.32.0
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 +17 -0
- package/esm2020/lib/services/main.service.mjs +69 -19
- package/esm2020/lib/services/zcomponent.debug.service.mjs +13 -9
- package/esm2020/lib/uibulletin/uibulletin.component.mjs +8 -5
- package/esm2020/lib/uiheader/uiheader.component.mjs +28 -23
- package/esm2020/lib/uiheader/uiheader.service.mjs +27 -0
- package/esm2020/lib/zform/zform.component.mjs +3 -3
- package/esm2020/lib/zgrid/zgrid.component.mjs +33 -9
- package/esm2020/lib/zselectmultiple/zselectmultiple.component.mjs +2 -2
- package/fesm2015/mmhglobal-dynamicform.mjs +167 -58
- package/fesm2015/mmhglobal-dynamicform.mjs.map +1 -1
- package/fesm2020/mmhglobal-dynamicform.mjs +165 -57
- package/fesm2020/mmhglobal-dynamicform.mjs.map +1 -1
- package/lib/services/main.service.d.ts +7 -0
- package/lib/services/zcomponent.debug.service.d.ts +5 -3
- package/lib/uiheader/uiheader.component.d.ts +5 -4
- package/lib/uiheader/uiheader.service.d.ts +11 -0
- package/lib/zgrid/zgrid.component.d.ts +4 -2
- package/package.json +1 -1
|
@@ -44,7 +44,14 @@ export declare class MainService {
|
|
|
44
44
|
private NAVIGATED_RELOAD_GRID_STORAGE_KEY;
|
|
45
45
|
private CLONE_NEW_MODEL_CACHE_KEY;
|
|
46
46
|
private readonly secretKey;
|
|
47
|
+
private previousUrl;
|
|
48
|
+
private navigationStartTime;
|
|
47
49
|
constructor(router: Router, activatedRoute: ActivatedRoute, modalCtrl: ModalController, navController: NavController, alertService: AlertService, cacheService: CacheService, fieldService: FieldService, resourceApiService: ResourceApiService, componentErrorHandlerService: ComponentErrorHandlerService, webApiService: WebApiService, zcoreService: ZCoreService, modalService: ModalService, storageService: StorageSessionService, debugService: ZComponentDebugService, translationService: TranslationService, signalrService: SignalrService, dialogService: DialogService, oauth2Service: OAuth2Service, toastService: ToastService, authService: AuthService);
|
|
50
|
+
private dismissAllOverlays;
|
|
51
|
+
private handleNavigationStart;
|
|
52
|
+
private handleNavigationEnd;
|
|
53
|
+
private handleNavigationError;
|
|
54
|
+
private updateAppMonPerfomance;
|
|
48
55
|
getListFieldName: (fieldName: string) => Observable<string>;
|
|
49
56
|
clearFormListFields: () => void;
|
|
50
57
|
dialogOpen(options: DialogSettings): DialogRef;
|
|
@@ -2,7 +2,7 @@ import { Router } from '@angular/router';
|
|
|
2
2
|
/********** Plugin **********/
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
4
|
/********** Component & Service **********/
|
|
5
|
-
import { AlertService, AuthService, ComponentErrorHandlerService, FieldService, ModalPageParams, ResourceApiService, SignalrService, ToastService, WebApiService, ZComponentOutputEvent, ZField, ZGroup } from "mmhglobal-zcore";
|
|
5
|
+
import { AlertService, AuthService, ComponentErrorHandlerService, FieldService, ModalPageParams, ResourceApiService, SignalrService, ToastService, WebApiService, ZComponentOutputEvent, ZCoreService, ZField, ZGroup } from "mmhglobal-zcore";
|
|
6
6
|
import { ModalResponse, ModalService } from 'mmhglobal-zmodal';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare class ZComponentDebugService {
|
|
@@ -16,14 +16,16 @@ export declare class ZComponentDebugService {
|
|
|
16
16
|
private modalService;
|
|
17
17
|
private webApiService;
|
|
18
18
|
private signalrService;
|
|
19
|
+
private zcoreService;
|
|
19
20
|
readonly groupsToSend: string[];
|
|
20
21
|
readonly eventName = "FieldElement";
|
|
21
|
-
|
|
22
|
+
private environment;
|
|
23
|
+
constructor(router: Router, alertService: AlertService, authService: AuthService, fieldService: FieldService, resourceApiService: ResourceApiService, componentErrorHandlerService: ComponentErrorHandlerService, toastService: ToastService, modalService: ModalService, webApiService: WebApiService, signalrService: SignalrService, zcoreService: ZCoreService);
|
|
22
24
|
private scope;
|
|
23
25
|
get debug(): any;
|
|
24
26
|
get group(): ZGroup;
|
|
25
27
|
onInitDebugger(group: ZGroup): void;
|
|
26
|
-
onStartDebugger(fieldElements: Array<ZField>, me: any): Observable<
|
|
28
|
+
onStartDebugger(fieldElements: Array<ZField>, me: any): Observable<{}>;
|
|
27
29
|
private patchFieldsProperty;
|
|
28
30
|
private loadDebugZModel;
|
|
29
31
|
private getProjectId;
|
|
@@ -3,30 +3,31 @@ 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 uiHeaderService;
|
|
16
17
|
group: ZGroup;
|
|
17
18
|
topFormHeader: string;
|
|
18
19
|
private environment;
|
|
19
20
|
isloading: boolean;
|
|
20
21
|
profileImgUrl: string;
|
|
22
|
+
usernameInitial: string;
|
|
21
23
|
username: string;
|
|
22
24
|
userDisplayName: string;
|
|
23
25
|
showBulletinIcon: boolean;
|
|
24
26
|
userPanelItems: any;
|
|
25
27
|
private loadedEnvironmentProfileMenu;
|
|
26
|
-
constructor(router: Router,
|
|
28
|
+
constructor(router: Router, zcoreService: ZCoreService, authService: AuthService, fontAweSomeService: FontAweSomeService, componentService: ZComponentService, uiHeaderService: UiheaderService);
|
|
27
29
|
ngOnInit(): void;
|
|
28
30
|
private setUserProfile;
|
|
29
|
-
private translateUserMenu;
|
|
30
31
|
onDialItemClick(event: any): void;
|
|
31
32
|
private navToUserProfile;
|
|
32
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
|
+
}
|
|
@@ -57,7 +57,8 @@ export declare class ZgridComponent extends DataListingFieldBase implements ZCom
|
|
|
57
57
|
oauthUrl: string;
|
|
58
58
|
gridData: GridDataResult;
|
|
59
59
|
selectableSettings: SelectableSettings;
|
|
60
|
-
|
|
60
|
+
rowSelection: string[];
|
|
61
|
+
mySelection: Map<any, any>;
|
|
61
62
|
inlineEditedFormGroups: {};
|
|
62
63
|
formGroup: FormGroup;
|
|
63
64
|
previousNext: boolean;
|
|
@@ -115,8 +116,9 @@ export declare class ZgridComponent extends DataListingFieldBase implements ZCom
|
|
|
115
116
|
refreshData(): void;
|
|
116
117
|
clearData(): void;
|
|
117
118
|
showTooltip(e: MouseEvent): void;
|
|
118
|
-
rowSelectionKey(context: RowArgs)
|
|
119
|
+
rowSelectionKey: (context: RowArgs) => any;
|
|
119
120
|
getSelectedValues(): any;
|
|
121
|
+
clearSelection(): void;
|
|
120
122
|
getData(): void;
|
|
121
123
|
getGridData(): any;
|
|
122
124
|
setData: (gData: any) => void;
|