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.
- package/README.md +10 -1
- package/esm2020/lib/components/fieldbase.component.mjs +4 -1
- package/esm2020/lib/services/zcomponent.debug.service.mjs +60 -52
- package/esm2020/lib/uicontent/uicontent.component.mjs +5 -3
- package/esm2020/lib/virtual-scroll/virtual-scroll.component.mjs +20 -3
- package/esm2020/lib/zcard/zcard.component.mjs +2 -2
- package/esm2020/lib/zform/zform.component.mjs +4 -3
- package/esm2020/lib/zgrid/zgrid.binding.directive.mjs +7 -7
- package/esm2020/lib/zinput-container/zinput-container.component.mjs +2 -2
- package/esm2020/lib/zreport/zreport.component.mjs +11 -14
- package/esm2020/lib/ztab/ztab.component.mjs +2 -2
- package/esm2020/lib/zudf/zudf.component.mjs +43 -10
- package/fesm2015/mmhglobal-dynamicform.mjs +148 -90
- package/fesm2015/mmhglobal-dynamicform.mjs.map +1 -1
- package/fesm2020/mmhglobal-dynamicform.mjs +147 -90
- package/fesm2020/mmhglobal-dynamicform.mjs.map +1 -1
- package/lib/components/fieldbase.component.d.ts +1 -0
- package/lib/services/zcomponent.debug.service.d.ts +1 -0
- package/lib/uicontent/uicontent.component.d.ts +2 -0
- package/lib/virtual-scroll/virtual-scroll.component.d.ts +1 -0
- package/lib/zreport/zreport.component.d.ts +0 -1
- package/lib/zudf/zudf.component.d.ts +4 -2
- package/package.json +1 -1
|
@@ -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>;
|
|
@@ -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
|
}
|