mmhglobal-dynamicform 2.35.0 → 2.36.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.
@@ -38,6 +38,7 @@ export declare class FieldBase {
38
38
  setRequire: (status: boolean) => void;
39
39
  getFontAwesome(iconName: any, fontAwesomeService: FontAweSomeService): any;
40
40
  toggleEditMode(): void;
41
+ setEditMode(isEditable: boolean): void;
41
42
  protected triggerEvent(type: string, target: any, event: any, fieldValue?: any): void;
42
43
  protected getFieldValue(event: any, fieldValue?: any): any;
43
44
  static ɵfac: i0.ɵɵFactoryDeclaration<FieldBase, never>;
@@ -30,6 +30,7 @@ export declare class ZComponentDebugService {
30
30
  private loadDebugZModel;
31
31
  private getProjectId;
32
32
  private getFieldzModel;
33
+ private editInFormBuilder;
33
34
  private getFormFieldzModel;
34
35
  private getListFieldzModel;
35
36
  private getAssetFormFieldzModel;
@@ -7,6 +7,7 @@ import { Router } from '@angular/router';
7
7
  import { MainService } from '../services/main.service';
8
8
  import { ZGroup, ZCoreService, CacheService } from 'mmhglobal-zcore';
9
9
  import { ZComponentService } from '../services/zcomponent.service';
10
+ import { DebuggerFieldElementName } from 'mmhglobal-zcore';
10
11
  import * as i0 from "@angular/core";
11
12
  export declare class UicontentComponent implements OnInit {
12
13
  private zcoreService;
@@ -16,6 +17,7 @@ export declare class UicontentComponent implements OnInit {
16
17
  private componentService;
17
18
  group: ZGroup;
18
19
  cssClass: string;
20
+ debuggerSectionFieldElementName: DebuggerFieldElementName;
19
21
  constructor(zcoreService: ZCoreService, router: Router, mainService: MainService, cacheService: CacheService, componentService: ZComponentService);
20
22
  ngOnInit(): void;
21
23
  isSITEnvironment(): boolean;
@@ -39,6 +39,7 @@ export declare class VirtualScrollComponent extends ContainerFieldBase implement
39
39
  private computeDataItems;
40
40
  expandAll(): void;
41
41
  expandByGroupByValues(groupByValue: Array<string>): void;
42
+ onClick(event: any, dataItem: any): void;
42
43
  static ɵfac: i0.ɵɵFactoryDeclaration<VirtualScrollComponent, never>;
43
44
  static ɵcmp: i0.ɵɵComponentDeclaration<VirtualScrollComponent, "app-virtual-scroll", never, {}, {}, never, never>;
44
45
  }
@@ -48,7 +48,6 @@ export declare class ZreportComponent extends FieldBase implements OnInit, After
48
48
  printBegin(e: any, args: any): void;
49
49
  printEnd(e: any, args: any): void;
50
50
  generateReport(): void;
51
- getFontAwesome(iconName: string, fontAweSomeService?: FontAweSomeService): string | import("@fortawesome/fontawesome-common-types").IconDefinition;
52
51
  static ɵfac: i0.ɵɵFactoryDeclaration<ZreportComponent, never>;
53
52
  static ɵcmp: i0.ɵɵComponentDeclaration<ZreportComponent, "app-zreport", never, {}, {}, never, never>;
54
53
  }
@@ -2,7 +2,7 @@
2
2
  import { OnInit, ChangeDetectorRef } from "@angular/core";
3
3
  import { FormGroup } from "@angular/forms";
4
4
  /********** Component & Service **********/
5
- import { ZComponent, ZField, FieldService, ToastService, ZGroup, ZComponentProperties, ComponentErrorHandlerService, ResourceApiService } from 'mmhglobal-zcore';
5
+ import { ZComponent, ZField, FieldService, ToastService, ZGroup, ZComponentProperties, ComponentErrorHandlerService, ResourceApiService, WebApiService } from 'mmhglobal-zcore';
6
6
  import { ContainerFieldBase } from "../components/containerfieldbase.component";
7
7
  import { ZComponentService } from "../services/zcomponent.service";
8
8
  import * as i0 from "@angular/core";
@@ -10,6 +10,7 @@ export declare class ZudfComponent extends ContainerFieldBase implements ZCompon
10
10
  componentService: ZComponentService;
11
11
  private fieldService;
12
12
  private toastService;
13
+ private webApiService;
13
14
  private componentErrorHandlerService;
14
15
  private resourceApiService;
15
16
  private cdr;
@@ -27,7 +28,7 @@ export declare class ZudfComponent extends ContainerFieldBase implements ZCompon
27
28
  readonly prefixCustomAddButtonOnClick = "_CustomAddButtonOnClick";
28
29
  readonly prefixCustomResetButtonOnClick = "_CustomResetButtonOnClick";
29
30
  readonly prefixCustomRemoveButtonOnClick = "_CustomRemoveButtonOnClick";
30
- constructor(componentService: ZComponentService, fieldService: FieldService, toastService: ToastService, componentErrorHandlerService: ComponentErrorHandlerService, resourceApiService: ResourceApiService, cdr: ChangeDetectorRef);
31
+ constructor(componentService: ZComponentService, fieldService: FieldService, toastService: ToastService, webApiService: WebApiService, componentErrorHandlerService: ComponentErrorHandlerService, resourceApiService: ResourceApiService, cdr: ChangeDetectorRef);
31
32
  ngOnInit(): void;
32
33
  ngOnDestroy(): void;
33
34
  /**
@@ -205,6 +206,7 @@ export declare class ZudfComponent extends ContainerFieldBase implements ZCompon
205
206
  */
206
207
  clearZModel(): void;
207
208
  setMultiValueGroupButtonsEnabled(containerName: string, isEnabled: boolean): void;
209
+ private getFieldElement_FormPage;
208
210
  static ɵfac: i0.ɵɵFactoryDeclaration<ZudfComponent, never>;
209
211
  static ɵcmp: i0.ɵɵComponentDeclaration<ZudfComponent, "app-zudf", never, {}, {}, never, never>;
210
212
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mmhglobal-dynamicform",
3
- "version": "2.35.0",
3
+ "version": "2.36.0",
4
4
  "peerDependencies": {},
5
5
  "dependencies": {
6
6
  "tslib": "^2.3.1"