mmhglobal-dynamicform 1.3.13 → 2.0.0-beta.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/esm2020/lib/animations/component-animations.mjs +12 -0
- package/esm2020/lib/components/buttonfieldbase.component.mjs +62 -0
- package/esm2020/lib/components/containerfieldbase.component.mjs +42 -0
- package/esm2020/lib/components/datalistingfieldbase.component.mjs +138 -0
- package/esm2020/lib/components/fieldbase.component.mjs +90 -0
- package/esm2020/lib/components/inputfieldbase.component.mjs +78 -0
- package/esm2020/lib/directives/scrollbar.theme.directive.mjs +13 -11
- package/esm2020/lib/embed-components/input-field-addons/input-field-addons.component.mjs +69 -0
- package/esm2020/lib/input-error-message/input-error-message.component.mjs +33 -0
- package/esm2020/lib/kcard/kcard.component.mjs +84 -0
- package/esm2020/lib/mmhglobal-dynamicform.module.mjs +53 -12
- package/esm2020/lib/pipe/htmlSanitize.pipe.mjs +18 -0
- package/esm2020/lib/services/component-error-handler.service.mjs +84 -0
- package/esm2020/lib/services/main.service.mjs +173 -73
- package/esm2020/lib/services/zcomponent.debug.service.mjs +17 -8
- package/esm2020/lib/services/zcomponent.service.mjs +133 -9
- package/esm2020/lib/uiappmenucontent/uiappmenucontent.component.mjs +15 -23
- package/esm2020/lib/uicontainer/uicontainer.component.mjs +2 -2
- package/esm2020/lib/uicontent/uicontent.component.mjs +21 -9
- package/esm2020/lib/uiheader/uiheader.component.mjs +61 -28
- package/esm2020/lib/uimenucontent/uimenucontent.component.mjs +3 -3
- package/esm2020/lib/uipage/uipage.component.mjs +41 -26
- package/esm2020/lib/uivalidationmessage/uivalidationmessage.component.mjs +2 -2
- package/esm2020/lib/zbullet/zbullet.component.mjs +3 -2
- package/esm2020/lib/zbuttons/zbuttons.component.mjs +45 -91
- package/esm2020/lib/zcard/zcard.component.mjs +13 -60
- package/esm2020/lib/zcheckbox/zcheckbox.component.mjs +14 -159
- package/esm2020/lib/zchip/zchip.component.mjs +34 -64
- package/esm2020/lib/zcodeeditor/zcodeeditor.component.mjs +4 -3
- package/esm2020/lib/zdaterange/zdaterange.component.mjs +3 -3
- package/esm2020/lib/zdatetime/zdatetime.component.mjs +22 -74
- package/esm2020/lib/zdiv/zdiv.component.mjs +63 -40
- package/esm2020/lib/zdiv/zdiv.pipe.mjs +2 -2
- package/esm2020/lib/zform/zform.component.mjs +9 -7
- package/esm2020/lib/zformcontrol/zformcontrol.component.mjs +5 -3
- package/esm2020/lib/zgauge/zgauge.component.mjs +34 -70
- package/esm2020/lib/zgrid/zgrid.binding.directive.mjs +32 -30
- package/esm2020/lib/zgrid/zgrid.component.mjs +246 -135
- package/esm2020/lib/zimg/zimg.component.mjs +44 -108
- package/esm2020/lib/zinput-container/zinput-container.component.mjs +63 -0
- package/esm2020/lib/zinput-container/zinput-container.pipe.mjs +120 -0
- package/esm2020/lib/zkcard/zkcard.component.mjs +2 -2
- package/esm2020/lib/zlabel/zlabel.component.mjs +18 -94
- package/esm2020/lib/zmfb/zmfb.component.mjs +70 -91
- package/esm2020/lib/zmodal/zmodal-mobile.component.mjs +15 -11
- package/esm2020/lib/zmodal/zmodal.component.mjs +14 -10
- package/esm2020/lib/znumeric/znumeric.component.mjs +18 -94
- package/esm2020/lib/zpostselectinput/zpostselectinput.component.mjs +35 -87
- package/esm2020/lib/zprogressbar/zprogressbar.component.mjs +59 -0
- package/esm2020/lib/zreport/zreport.component.mjs +25 -27
- package/esm2020/lib/zselectmultiple/zselectmultiple.component.mjs +39 -194
- package/esm2020/lib/ztab/ztab.component.mjs +17 -45
- package/esm2020/lib/ztab/ztab.pipe.mjs +6 -4
- package/esm2020/lib/ztext/ztext.component.mjs +20 -180
- package/esm2020/lib/ztextarea/ztextarea.component.mjs +23 -101
- package/esm2020/lib/ztexteditor/ztexteditor.component.mjs +3 -2
- package/esm2020/lib/ztree/ztree.component.mjs +25 -41
- package/esm2020/lib/ztreelist/ztreelist.component.mjs +104 -143
- package/esm2020/lib/zudf/zudf.component.mjs +12 -8
- package/esm2020/lib/zupload/zupload.component.mjs +18 -39
- package/esm2020/lib/zworkflowbuttons/zworkflowbuttons.component.mjs +45 -77
- package/esm2020/public-api.mjs +15 -2
- package/fesm2015/mmhglobal-dynamicform.mjs +4529 -4392
- package/fesm2015/mmhglobal-dynamicform.mjs.map +1 -1
- package/fesm2020/mmhglobal-dynamicform.mjs +4496 -4367
- package/fesm2020/mmhglobal-dynamicform.mjs.map +1 -1
- package/lib/animations/component-animations.d.ts +1 -0
- package/lib/components/buttonfieldbase.component.d.ts +18 -0
- package/lib/components/containerfieldbase.component.d.ts +19 -0
- package/lib/components/datalistingfieldbase.component.d.ts +30 -0
- package/lib/components/fieldbase.component.d.ts +30 -0
- package/lib/components/inputfieldbase.component.d.ts +19 -0
- package/lib/embed-components/input-field-addons/input-field-addons.component.d.ts +16 -0
- package/lib/input-error-message/input-error-message.component.d.ts +15 -0
- package/lib/kcard/kcard.component.d.ts +21 -0
- package/lib/mmhglobal-dynamicform.module.d.ts +40 -32
- package/lib/pipe/htmlSanitize.pipe.d.ts +10 -0
- package/lib/services/component-error-handler.service.d.ts +14 -0
- package/lib/services/main.service.d.ts +23 -5
- package/lib/services/zcomponent.debug.service.d.ts +4 -1
- package/lib/services/zcomponent.service.d.ts +20 -4
- package/lib/uiappmenucontent/uiappmenucontent.component.d.ts +4 -3
- package/lib/uicontent/uicontent.component.d.ts +6 -2
- package/lib/uiheader/uiheader.component.d.ts +13 -9
- package/lib/zbuttons/zbuttons.component.d.ts +11 -20
- package/lib/zcard/zcard.component.d.ts +6 -20
- package/lib/zcheckbox/zcheckbox.component.d.ts +6 -36
- package/lib/zchip/zchip.component.d.ts +7 -16
- package/lib/zdatetime/zdatetime.component.d.ts +6 -14
- package/lib/zdiv/zdiv.component.d.ts +11 -18
- package/lib/zformcontrol/zformcontrol.component.d.ts +2 -1
- package/lib/zgauge/zgauge.component.d.ts +11 -14
- package/lib/zgrid/zgrid.binding.directive.d.ts +4 -2
- package/lib/zgrid/zgrid.component.d.ts +26 -27
- package/lib/zimg/zimg.component.d.ts +12 -31
- package/lib/zinput-container/zinput-container.component.d.ts +26 -0
- package/lib/zinput-container/zinput-container.pipe.d.ts +20 -0
- package/lib/zlabel/zlabel.component.d.ts +6 -25
- package/lib/zmfb/zmfb.component.d.ts +12 -20
- package/lib/zmodal/zmodal-mobile.component.d.ts +4 -1
- package/lib/zmodal/zmodal.component.d.ts +4 -1
- package/lib/znumeric/znumeric.component.d.ts +7 -29
- package/lib/zpostselectinput/zpostselectinput.component.d.ts +9 -19
- package/lib/zprogressbar/zprogressbar.component.d.ts +28 -0
- package/lib/zreport/zreport.component.d.ts +8 -11
- package/lib/zselectmultiple/zselectmultiple.component.d.ts +10 -35
- package/lib/ztab/ztab.component.d.ts +6 -19
- package/lib/ztext/ztext.component.d.ts +7 -35
- package/lib/ztextarea/ztextarea.component.d.ts +9 -27
- package/lib/ztree/ztree.component.d.ts +6 -12
- package/lib/ztreelist/ztreelist.component.d.ts +17 -27
- package/lib/zupload/zupload.component.d.ts +6 -13
- package/lib/zworkflowbuttons/zworkflowbuttons.component.d.ts +6 -20
- package/package.json +1 -1
- package/public-api.d.ts +14 -1
|
@@ -1,37 +1,23 @@
|
|
|
1
1
|
/********** Angular **********/
|
|
2
2
|
import { OnInit } from '@angular/core';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { ZComponent, WebApiService, ResourceApiService, WorkflowService } from 'mmhglobal-zcore';
|
|
4
|
+
import { ButtonFieldBase } from '../components/buttonfieldbase.component';
|
|
5
|
+
import { ZComponentService } from '../services/zcomponent.service';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class ZworkflowbuttonsComponent implements ZComponent, OnInit {
|
|
7
|
+
export declare class ZworkflowbuttonsComponent extends ButtonFieldBase implements ZComponent, OnInit {
|
|
7
8
|
private webApiService;
|
|
8
9
|
private resourceApiService;
|
|
9
10
|
private workflowService;
|
|
10
|
-
data: ZField;
|
|
11
|
-
group: ZGroup;
|
|
12
|
-
form: FormGroup;
|
|
13
|
-
componentProperties: ZComponentProperties;
|
|
14
11
|
e1wfs_wfcGetWorkflowButtonURL: any;
|
|
15
12
|
e1wfs_wfc_getWorkflowInitialStatusURL: any;
|
|
16
13
|
e1wfs_wfc_getDocumentStatusURL: any;
|
|
17
|
-
items: Array<any>;
|
|
18
14
|
dataFormFields: any;
|
|
19
|
-
FirstZbtn: boolean;
|
|
20
15
|
isLoading: boolean;
|
|
21
16
|
isLocalHostAPI: boolean;
|
|
22
|
-
constructor(webApiService: WebApiService, resourceApiService: ResourceApiService, workflowService: WorkflowService);
|
|
17
|
+
constructor(compService: ZComponentService, webApiService: WebApiService, resourceApiService: ResourceApiService, workflowService: WorkflowService);
|
|
23
18
|
ngOnInit(): void;
|
|
24
19
|
private loadButton;
|
|
25
20
|
buttonClick(button: any): void;
|
|
26
|
-
/******************** Button Config ********************/
|
|
27
|
-
private getButtonLabel;
|
|
28
|
-
setEnable: (status: boolean) => void;
|
|
29
|
-
setVisible: (status: boolean) => void;
|
|
30
|
-
setRequire: (status: boolean) => void;
|
|
31
|
-
/******************** Common ********************/
|
|
32
|
-
isMobileScreen(): boolean;
|
|
33
|
-
isBtnVisible(fieldExpr: any): any;
|
|
34
|
-
getFontAwesome(iconName: string): string;
|
|
35
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<ZworkflowbuttonsComponent, never>;
|
|
36
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ZworkflowbuttonsComponent, "app-zworkflowbuttons", never, {
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ZworkflowbuttonsComponent, "app-zworkflowbuttons", never, {}, {}, never, never>;
|
|
37
23
|
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/********** Service **********/
|
|
2
2
|
export * from './lib/services/main.service';
|
|
3
|
+
export * from './lib/services/component-error-handler.service';
|
|
3
4
|
/********** Directive **********/
|
|
4
5
|
export * from './lib/directives/scrollbar.theme.directive';
|
|
5
6
|
export * from './lib/directives/fieldelement.directive';
|
|
6
7
|
export * from './lib/zgrid/zgrid.binding.directive';
|
|
7
|
-
export * from './lib/zgrid/zgrid.popup.anchor-target.directive';
|
|
8
8
|
export * from './lib/zselectmultiple/zselectmultiple.directive';
|
|
9
9
|
export * from './lib/directives/elementcontainer.directive';
|
|
10
10
|
/********** Module **********/
|
|
@@ -14,6 +14,8 @@ export * from './lib/zdatetime/dateParser.pipe';
|
|
|
14
14
|
export * from './lib/zcodeeditor/zcodeeditor.pipe';
|
|
15
15
|
export * from './lib/zdiv/zdiv.pipe';
|
|
16
16
|
export * from './lib/ztab/ztab.pipe';
|
|
17
|
+
export * from './lib/zinput-container/zinput-container.pipe';
|
|
18
|
+
export * from './lib/pipe/htmlSanitize.pipe';
|
|
17
19
|
export * from './lib/zgrid/date-range-cell-filter.component';
|
|
18
20
|
export * from './lib/zscheduler/zscheduler.toolbar.component';
|
|
19
21
|
/********** zComponent **********/
|
|
@@ -40,6 +42,7 @@ export * from './lib/zform/zform.component';
|
|
|
40
42
|
export * from './lib/zformcontrol/zformcontrol.component';
|
|
41
43
|
export * from './lib/zgauge/zgauge.component';
|
|
42
44
|
export * from './lib/zgrid/zgrid.component';
|
|
45
|
+
export * from './lib/zgrid/zgrid.popup.anchor-target.directive';
|
|
43
46
|
export * from './lib/zimg/zimg.component';
|
|
44
47
|
export * from './lib/zkcard/zkcard.component';
|
|
45
48
|
export * from './lib/zlabel/zlabel.component';
|
|
@@ -63,3 +66,13 @@ export * from './lib/zudf/zudf.component';
|
|
|
63
66
|
export * from './lib/zunknown/zunknown.component';
|
|
64
67
|
export * from './lib/zupload/zupload.component';
|
|
65
68
|
export * from './lib/zworkflowbuttons/zworkflowbuttons.component';
|
|
69
|
+
export * from './lib/kcard/kcard.component';
|
|
70
|
+
export * from './lib/zinput-container/zinput-container.component';
|
|
71
|
+
export * from './lib/zprogressbar/zprogressbar.component';
|
|
72
|
+
export * from './lib/components/buttonfieldbase.component';
|
|
73
|
+
export * from './lib/components/containerfieldbase.component';
|
|
74
|
+
export * from './lib/components/datalistingfieldbase.component';
|
|
75
|
+
export * from './lib/components/fieldbase.component';
|
|
76
|
+
export * from './lib/components/inputfieldbase.component';
|
|
77
|
+
export * from './lib/input-error-message/input-error-message.component';
|
|
78
|
+
export * from './lib/embed-components/input-field-addons/input-field-addons.component';
|