mmhglobal-dynamicform 2.36.2 → 2.36.5

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.
@@ -8,7 +8,7 @@ import { DialogRef, DialogService, DialogSettings } from '@progress/kendo-angula
8
8
  /********** Component & Service **********/
9
9
  import { ZComponentDebugService } from './zcomponent.debug.service';
10
10
  import { ModalService, ModalResponse } from 'mmhglobal-zmodal';
11
- import { AlertService, ModalPageParams, CacheService, FieldService, ResourceApiService, TranslationService, WebApiService, StorageSessionService, OAuth2Service, SignalrService, ComponentErrorHandlerService, ZComponentOutputEvent, ZCoreService, ZField, ZGroup, ToastService, AuthService, FormType, TriggerFromType } from 'mmhglobal-zcore';
11
+ import { AlertService, ModalPageParams, CacheService, FieldService, ResourceApiService, TranslationService, WebApiService, StorageSessionService, OAuth2Service, SignalrService, ComponentErrorHandlerService, ZComponentOutputEvent, ZCoreService, ZField, ZGroup, ToastService, AuthService, FormType, TriggerFromType, MenuService, OAuthMenuItem } from 'mmhglobal-zcore';
12
12
  import * as i0 from "@angular/core";
13
13
  export declare class MainService {
14
14
  private router;
@@ -31,6 +31,7 @@ export declare class MainService {
31
31
  private oauth2Service;
32
32
  private toastService;
33
33
  private authService;
34
+ private menuService;
34
35
  private group;
35
36
  private oauthEnvironmentUrl;
36
37
  private environment;
@@ -46,12 +47,12 @@ export declare class MainService {
46
47
  private readonly secretKey;
47
48
  private previousUrl;
48
49
  private navigationStartTime;
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
+ 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, menuService: MenuService);
50
51
  private dismissAllOverlays;
51
52
  private handleNavigationStart;
52
53
  private handleNavigationEnd;
53
54
  private handleNavigationError;
54
- private updateAppMonPerfomance;
55
+ private updateAppMonPerformance;
55
56
  getListFieldName: (fieldName: string) => Observable<string>;
56
57
  clearFormListFields: () => void;
57
58
  dialogOpen(options: DialogSettings): DialogRef;
@@ -71,6 +72,10 @@ export declare class MainService {
71
72
  setNavigationParams(urlParams: string[]): void;
72
73
  setRouteParam(routeParams: string[]): void;
73
74
  private isValueInLastElement;
75
+ menuOnClick(item: OAuthMenuItem): boolean;
76
+ private handleAppClientNavigation;
77
+ private getNavigationPath;
78
+ private navigateToPath;
74
79
  navigateFromMenu(pageName: string): void;
75
80
  resetRouteParam(): void;
76
81
  private getNavigationParams;
@@ -14,11 +14,13 @@ export declare class UiappmenucontentComponent implements OnInit {
14
14
  private zcoreService;
15
15
  private mainService;
16
16
  items: Array<OAuthMenuItem>;
17
+ MENU_TYPE_DROPDOWN_SUBMENU: string;
17
18
  constructor(router: Router, menuService: MenuService, authService: AuthService, zcoreService: ZCoreService, mainService: MainService);
18
19
  ngOnInit(): void;
19
20
  getDivClass(item: any): string;
20
- getMenuList(item: any): any;
21
- menuOnClick(pathName: string, appClientPath?: string): boolean;
21
+ getMenuList(item: any): any | null;
22
+ trackByFn(index: number, item: OAuthMenuItem): string;
23
+ menuOnClick(item: OAuthMenuItem): boolean;
22
24
  private setMapInput;
23
25
  static ɵfac: i0.ɵɵFactoryDeclaration<UiappmenucontentComponent, never>;
24
26
  static ɵcmp: i0.ɵɵComponentDeclaration<UiappmenucontentComponent, "app-uiappmenucontent", never, { "items": "items"; }, {}, never, never>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mmhglobal-dynamicform",
3
- "version": "2.36.2",
3
+ "version": "2.36.5",
4
4
  "peerDependencies": {},
5
5
  "dependencies": {
6
6
  "tslib": "^2.3.1"