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,41 +1,11 @@
|
|
|
1
|
-
/********** Angular **********/
|
|
2
1
|
import { OnInit } from "@angular/core";
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
/********** Component & Service **********/
|
|
7
|
-
import { ZGroup, ZField, ZComponentProperties, ZComponent } from "mmhglobal-zcore";
|
|
2
|
+
import { ZComponent } from "mmhglobal-zcore";
|
|
3
|
+
import { InputFieldBase } from "../components/inputfieldbase.component";
|
|
4
|
+
import { ZComponentService } from "../services/zcomponent.service";
|
|
8
5
|
import * as i0 from "@angular/core";
|
|
9
|
-
export declare class ZcheckboxComponent implements ZComponent, OnInit {
|
|
10
|
-
|
|
11
|
-
group: ZGroup;
|
|
12
|
-
form: FormGroup;
|
|
13
|
-
componentProperties: ZComponentProperties;
|
|
14
|
-
showTooltipsInfoIcon: boolean;
|
|
15
|
-
showTooltipsInfoBySide: boolean;
|
|
16
|
-
tooltipsInfo: any;
|
|
17
|
-
tooltipsDisplayText: string;
|
|
18
|
-
tooltipsDisplayIcon: any;
|
|
19
|
-
useKendoSwitch: boolean;
|
|
20
|
-
constructor();
|
|
6
|
+
export declare class ZcheckboxComponent extends InputFieldBase implements ZComponent, OnInit {
|
|
7
|
+
constructor(compService: ZComponentService);
|
|
21
8
|
ngOnInit(): void;
|
|
22
|
-
isMobileScreen(): boolean;
|
|
23
|
-
onSwitchChange(event: any): void;
|
|
24
|
-
onChange(event: any): void;
|
|
25
|
-
setEnable: (status: boolean) => void;
|
|
26
|
-
setVisible: (status: boolean) => void;
|
|
27
|
-
setRequire: (status: boolean) => void;
|
|
28
|
-
getLabelStyle(): {
|
|
29
|
-
order: number;
|
|
30
|
-
"white-space": string;
|
|
31
|
-
};
|
|
32
|
-
getCheckboxClass(): string;
|
|
33
|
-
getClass(form: FormGroup, data: ZField): string;
|
|
34
|
-
/********** TooltipsInfo **********/
|
|
35
|
-
setTooltipsInfoColor(): any;
|
|
36
|
-
setTooltipsInfoIcon(displayIcon?: string): void;
|
|
37
|
-
setTooltipsDisplayText(displayText?: string): void;
|
|
38
|
-
setTooltipsInfoSideBySide(): "" | "tooltipsinfo-right" | "notooltipsinfo-adjustment";
|
|
39
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<ZcheckboxComponent, never>;
|
|
40
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ZcheckboxComponent, "app-zcheckbox", never, {
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ZcheckboxComponent, "app-zcheckbox", never, {}, {}, never, never>;
|
|
41
11
|
}
|
|
@@ -1,14 +1,10 @@
|
|
|
1
|
-
/********** Angular **********/
|
|
2
1
|
import { OnInit } from "@angular/core";
|
|
3
2
|
import { FormGroup } from '@angular/forms';
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
import {
|
|
7
|
-
/********** Component & Service **********/
|
|
8
|
-
import { ZComponent, ZGroup, ZField, ZComponentProperties, AuthService } from 'mmhglobal-zcore';
|
|
3
|
+
import { ZComponent, ZGroup, ZField, ZComponentProperties } from 'mmhglobal-zcore';
|
|
4
|
+
import { InputFieldBase } from "../components/inputfieldbase.component";
|
|
5
|
+
import { ZComponentService } from "../services/zcomponent.service";
|
|
9
6
|
import * as i0 from "@angular/core";
|
|
10
|
-
export declare class ZChipComponent implements ZComponent, OnInit {
|
|
11
|
-
private authService;
|
|
7
|
+
export declare class ZChipComponent extends InputFieldBase implements ZComponent, OnInit {
|
|
12
8
|
data: ZField;
|
|
13
9
|
group: ZGroup;
|
|
14
10
|
form: FormGroup;
|
|
@@ -16,20 +12,15 @@ export declare class ZChipComponent implements ZComponent, OnInit {
|
|
|
16
12
|
private selectedIcon;
|
|
17
13
|
componentProperties: ZComponentProperties;
|
|
18
14
|
dataSource: any;
|
|
19
|
-
|
|
20
|
-
constructor(authService: AuthService);
|
|
15
|
+
constructor(compService: ZComponentService);
|
|
21
16
|
ngOnInit(): void;
|
|
22
|
-
private setupDataSource;
|
|
23
|
-
getClass(): string;
|
|
24
17
|
getChipClass(chip: any): any;
|
|
25
|
-
setEnable: (status: boolean) => void;
|
|
26
|
-
setVisible: (status: boolean) => void;
|
|
27
|
-
setRequire: (status: boolean) => void;
|
|
28
18
|
chipListChangeSelection(selectedChipIndexes: any): void;
|
|
29
19
|
chipChangeSelection(chip: any): void;
|
|
30
20
|
getDataValue(): any;
|
|
31
21
|
mouseover(event: any, chip: any): void;
|
|
32
|
-
|
|
22
|
+
getClass(form: FormGroup, data: ZField): string;
|
|
23
|
+
private setupDataSource;
|
|
33
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<ZChipComponent, never>;
|
|
34
25
|
static ɵcmp: i0.ɵɵComponentDeclaration<ZChipComponent, "app-zchip", never, { "data": "data"; "group": "group"; "form": "form"; }, {}, never, never>;
|
|
35
26
|
}
|
|
@@ -1,29 +1,21 @@
|
|
|
1
1
|
/********** Angular **********/
|
|
2
2
|
import { OnInit } from "@angular/core";
|
|
3
|
-
import { FormGroup } from "@angular/forms";
|
|
4
3
|
/********** Ionic **********/
|
|
5
4
|
/********** Plugin **********/
|
|
6
5
|
import { PreventableEvent } from '@progress/kendo-angular-dateinputs';
|
|
7
6
|
/********** Component & Service **********/
|
|
8
|
-
import { ZComponent
|
|
7
|
+
import { ZComponent } from "mmhglobal-zcore";
|
|
8
|
+
import { InputFieldBase } from "../components/inputfieldbase.component";
|
|
9
|
+
import { ZComponentService } from "../services/zcomponent.service";
|
|
9
10
|
import * as i0 from "@angular/core";
|
|
10
|
-
export declare class ZdatetimeComponent implements ZComponent, OnInit {
|
|
11
|
-
data: ZField;
|
|
12
|
-
group: ZGroup;
|
|
13
|
-
form: FormGroup;
|
|
11
|
+
export declare class ZdatetimeComponent extends InputFieldBase implements ZComponent, OnInit {
|
|
14
12
|
dateFormat: string;
|
|
15
|
-
|
|
16
|
-
constructor();
|
|
13
|
+
constructor(compService: ZComponentService);
|
|
17
14
|
ngOnInit(): void;
|
|
18
15
|
toKendoDateFormat(): string;
|
|
19
|
-
getReadOnlyValue(): any;
|
|
20
|
-
isMobileScreen(): boolean;
|
|
21
16
|
getDateValue(): Date;
|
|
22
17
|
GetDate(date: Date): void;
|
|
23
18
|
onChange(value: Date): void;
|
|
24
|
-
setEnable: (status: boolean) => void;
|
|
25
|
-
setVisible: (status: boolean) => void;
|
|
26
|
-
setRequire: (status: boolean) => void;
|
|
27
19
|
SetDateRange: (MinDate: string, MaxDate: string) => any;
|
|
28
20
|
handlePreventableEvent(event: PreventableEvent, eventName: string, preventDefault: boolean): void;
|
|
29
21
|
private dateAppendEvent;
|
|
@@ -35,5 +27,5 @@ export declare class ZdatetimeComponent implements ZComponent, OnInit {
|
|
|
35
27
|
private currentDateTimeValue;
|
|
36
28
|
private setDateTimeToModel;
|
|
37
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<ZdatetimeComponent, never>;
|
|
38
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ZdatetimeComponent, "app-zdatetime", never, {
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ZdatetimeComponent, "app-zdatetime", never, {}, {}, never, never>;
|
|
39
31
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
|
-
/********** Angular **********/
|
|
2
1
|
import { OnInit } from "@angular/core";
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
/********** Component & Service **********/
|
|
7
|
-
import { ZComponent, ZField, ZGroup, ZComponentProperties, AuthService } from 'mmhglobal-zcore';
|
|
2
|
+
import { ZComponent } from 'mmhglobal-zcore';
|
|
3
|
+
import { ContainerFieldBase } from "../components/containerfieldbase.component";
|
|
4
|
+
import { ZComponentService } from "../services/zcomponent.service";
|
|
8
5
|
import * as i0 from "@angular/core";
|
|
9
|
-
export declare class ZdivComponent implements ZComponent, OnInit {
|
|
10
|
-
private
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
form: FormGroup;
|
|
14
|
-
componentProperties: ZComponentProperties;
|
|
15
|
-
constructor(authService: AuthService);
|
|
6
|
+
export declare class ZdivComponent extends ContainerFieldBase implements ZComponent, OnInit {
|
|
7
|
+
private readonly DEFAULT_LAYOUT;
|
|
8
|
+
private readonly DEFAULT_LAYOUT_ALIGN;
|
|
9
|
+
constructor(compService: ZComponentService);
|
|
16
10
|
ngOnInit(): void;
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
setRequire: (status: boolean) => void;
|
|
11
|
+
private setupDivLayout;
|
|
12
|
+
getFlexSize(field: any, size?: string): any;
|
|
13
|
+
private getDivClassValueByScreenSize;
|
|
21
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<ZdivComponent, never>;
|
|
22
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ZdivComponent, "app-zdiv", never, {
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ZdivComponent, "app-zdiv", never, {}, {}, never, never>;
|
|
23
16
|
}
|
|
@@ -14,11 +14,12 @@ export declare class ZformcontrolComponent implements OnInit, OnDestroy {
|
|
|
14
14
|
field: ZField;
|
|
15
15
|
group: ZGroup;
|
|
16
16
|
form: FormGroup;
|
|
17
|
+
containerField: ZField;
|
|
17
18
|
fieldElement: FieldElementDirective;
|
|
18
19
|
componentRef: any;
|
|
19
20
|
constructor(componentFactoryResolver: ComponentFactoryResolver, zcomponentService: ZComponentService);
|
|
20
21
|
ngOnInit(): void;
|
|
21
22
|
ngOnDestroy(): void;
|
|
22
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<ZformcontrolComponent, never>;
|
|
23
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ZformcontrolComponent, "app-zformcontrol", never, { "field": "field"; "group": "group"; "form": "form"; }, {}, never, never>;
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ZformcontrolComponent, "app-zformcontrol", never, { "field": "field"; "group": "group"; "form": "form"; "containerField": "containerField"; }, {}, never, never>;
|
|
24
25
|
}
|
|
@@ -1,17 +1,14 @@
|
|
|
1
1
|
/********** Angular **********/
|
|
2
2
|
import { OnInit } from "@angular/core";
|
|
3
|
-
import { FormGroup } from '@angular/forms';
|
|
4
3
|
/********** Ionic **********/
|
|
5
4
|
/********** Plugin **********/
|
|
6
5
|
/********** Component & Service **********/
|
|
7
|
-
import { ZComponent
|
|
6
|
+
import { ZComponent } from 'mmhglobal-zcore';
|
|
7
|
+
import { FieldBase } from "../components/fieldbase.component";
|
|
8
|
+
import { ZComponentService } from "../services/zcomponent.service";
|
|
8
9
|
import * as i0 from "@angular/core";
|
|
9
|
-
export declare class ZgaugeComponent implements ZComponent, OnInit {
|
|
10
|
-
data: ZField;
|
|
11
|
-
group: ZGroup;
|
|
12
|
-
form: FormGroup;
|
|
10
|
+
export declare class ZgaugeComponent extends FieldBase implements ZComponent, OnInit {
|
|
13
11
|
isLoading: boolean;
|
|
14
|
-
componentProperties: ZComponentProperties;
|
|
15
12
|
private value;
|
|
16
13
|
private title;
|
|
17
14
|
private color;
|
|
@@ -24,17 +21,19 @@ export declare class ZgaugeComponent implements ZComponent, OnInit {
|
|
|
24
21
|
options: {
|
|
25
22
|
value: number;
|
|
26
23
|
title: string;
|
|
24
|
+
chartInnerText1: string;
|
|
25
|
+
chartInnerText2: string;
|
|
27
26
|
scaleMax: number;
|
|
28
27
|
colors: any[];
|
|
29
28
|
transitions: boolean;
|
|
30
29
|
majorTicks: {
|
|
31
30
|
visible: boolean;
|
|
32
31
|
color: string;
|
|
33
|
-
}
|
|
32
|
+
};
|
|
34
33
|
minorTicks: {
|
|
35
34
|
visible: boolean;
|
|
36
35
|
color: string;
|
|
37
|
-
}
|
|
36
|
+
};
|
|
38
37
|
minValue: number;
|
|
39
38
|
maxValue: number;
|
|
40
39
|
reverse: boolean;
|
|
@@ -49,16 +48,14 @@ export declare class ZgaugeComponent implements ZComponent, OnInit {
|
|
|
49
48
|
showLabels: boolean;
|
|
50
49
|
rangeSize: number;
|
|
51
50
|
};
|
|
52
|
-
constructor();
|
|
51
|
+
constructor(compService: ZComponentService);
|
|
53
52
|
ngOnInit(): void;
|
|
53
|
+
getGaugeStyle(): any;
|
|
54
54
|
private getFieldDeclarationForSetup;
|
|
55
55
|
alignment(): {
|
|
56
56
|
"padding-right": any;
|
|
57
57
|
};
|
|
58
|
-
setEnable(status: boolean): void;
|
|
59
|
-
setVisible(status: boolean): void;
|
|
60
|
-
setRequire(status: boolean): void;
|
|
61
58
|
setData(gData: any): void;
|
|
62
59
|
static ɵfac: i0.ɵɵFactoryDeclaration<ZgaugeComponent, never>;
|
|
63
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ZgaugeComponent, "app-zgauge", never, {
|
|
60
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ZgaugeComponent, "app-zgauge", never, {}, {}, never, never>;
|
|
64
61
|
}
|
|
@@ -7,10 +7,11 @@ import { Observable, Subject } from "rxjs";
|
|
|
7
7
|
import { DataBindingDirective, DataStateChangeEvent, PageChangeEvent } from "@progress/kendo-angular-grid";
|
|
8
8
|
import { SortDescriptor, State } from "@progress/kendo-data-query";
|
|
9
9
|
/********** Component & Service **********/
|
|
10
|
-
import { AuthService, WebApiService, ZField, ZGridPostApiParams, ZGridStatePersistingService, ZGroup, StorageSessionService } from "mmhglobal-zcore";
|
|
10
|
+
import { AuthService, WebApiService, ZField, ZGridPostApiParams, ZGridStatePersistingService, ZGroup, StorageSessionService, ToastService } from "mmhglobal-zcore";
|
|
11
11
|
import * as i0 from "@angular/core";
|
|
12
12
|
export declare class ZGridBindingDirective extends DataBindingDirective implements OnInit, OnDestroy {
|
|
13
13
|
private webapiService;
|
|
14
|
+
private toastService;
|
|
14
15
|
private authService;
|
|
15
16
|
private storageService;
|
|
16
17
|
private router;
|
|
@@ -33,7 +34,7 @@ export declare class ZGridBindingDirective extends DataBindingDirective implemen
|
|
|
33
34
|
get gridSubject(): Subject<any>;
|
|
34
35
|
get params(): ZGridPostApiParams;
|
|
35
36
|
get getData(): any[] | import("@progress/kendo-angular-grid").GridDataResult;
|
|
36
|
-
constructor(grid: any, webapiService: WebApiService, authService: AuthService, storageService: StorageSessionService, router: Router, zGridStatePersistingService: ZGridStatePersistingService);
|
|
37
|
+
constructor(grid: any, webapiService: WebApiService, toastService: ToastService, authService: AuthService, storageService: StorageSessionService, router: Router, zGridStatePersistingService: ZGridStatePersistingService);
|
|
37
38
|
ngOnInit(): void;
|
|
38
39
|
private setFilterParamsByParentRefId;
|
|
39
40
|
private getFieldReferenceId;
|
|
@@ -48,6 +49,7 @@ export declare class ZGridBindingDirective extends DataBindingDirective implemen
|
|
|
48
49
|
private getGrantType;
|
|
49
50
|
private setHiddenColumn;
|
|
50
51
|
getDataBinding(): void;
|
|
52
|
+
private handleGetDataBindingComplete;
|
|
51
53
|
clearData(): void;
|
|
52
54
|
private aggregateHandling;
|
|
53
55
|
private aggregateResetValue;
|
|
@@ -6,14 +6,17 @@ import { ActivatedRoute, Router } from "@angular/router";
|
|
|
6
6
|
/********** Plugin **********/
|
|
7
7
|
import { Observable, Subject, Subscription } from "rxjs";
|
|
8
8
|
import { ExcelExportData } from '@progress/kendo-angular-excel-export';
|
|
9
|
-
import { GridItem,
|
|
9
|
+
import { GridItem, SelectableSettings } from '@progress/kendo-angular-grid';
|
|
10
10
|
import { SortDescriptor, State } from "@progress/kendo-data-query";
|
|
11
11
|
import { TooltipDirective } from '@progress/kendo-angular-tooltip';
|
|
12
12
|
import { GridDataResult, DataStateChangeEvent, PageChangeEvent, CellClickEvent, RowArgs, ColumnReorderEvent } from "@progress/kendo-angular-grid";
|
|
13
13
|
/********** Component & Service **********/
|
|
14
14
|
import { MainService } from "../services/main.service";
|
|
15
15
|
import { ZGridBindingDirective } from "./zgrid.binding.directive";
|
|
16
|
-
import {
|
|
16
|
+
import { ElementContainerDirective } from "../directives/elementcontainer.directive";
|
|
17
|
+
import { AuthService, WebApiService, ToastService, ZField, ZGroup, ZComponent, ZComponentOutputEvent, ZCoreService, ZGridStatePersistingService, ZGridPostApiParams, ZGridCustomColumn, StorageSessionService } from 'mmhglobal-zcore';
|
|
18
|
+
import { ZComponentService } from "../services/zcomponent.service";
|
|
19
|
+
import { DataListingFieldBase } from "../components/datalistingfieldbase.component";
|
|
17
20
|
import * as i0 from "@angular/core";
|
|
18
21
|
export interface ZGrid {
|
|
19
22
|
params: ZGridPostApiParams;
|
|
@@ -30,7 +33,7 @@ export interface ZGrid {
|
|
|
30
33
|
setData: (data: any) => void;
|
|
31
34
|
setColumns: (columnFieldsName: string, columns: Array<ZGridCustomColumn>) => void;
|
|
32
35
|
}
|
|
33
|
-
export declare class ZgridComponent implements ZComponent, OnInit, OnDestroy {
|
|
36
|
+
export declare class ZgridComponent extends DataListingFieldBase implements ZComponent, OnInit, OnDestroy {
|
|
34
37
|
private activatedRoute;
|
|
35
38
|
private router;
|
|
36
39
|
private formBuilder;
|
|
@@ -41,36 +44,34 @@ export declare class ZgridComponent implements ZComponent, OnInit, OnDestroy {
|
|
|
41
44
|
private zcoreService;
|
|
42
45
|
private storageService;
|
|
43
46
|
private mainService;
|
|
44
|
-
data: ZField;
|
|
45
|
-
group: ZGroup;
|
|
46
|
-
form: FormGroup;
|
|
47
47
|
tooltipDir: TooltipDirective;
|
|
48
|
+
elementContainer: ElementContainerDirective;
|
|
48
49
|
zgrid: any;
|
|
49
50
|
oauthUrl: string;
|
|
50
|
-
scrollMode: ScrollMode;
|
|
51
51
|
gridData: GridDataResult;
|
|
52
52
|
selectableSettings: SelectableSettings;
|
|
53
53
|
mySelection: any[];
|
|
54
|
-
inlineEditedFormGroups:
|
|
54
|
+
inlineEditedFormGroups: {};
|
|
55
55
|
formGroup: FormGroup;
|
|
56
56
|
previousNext: boolean;
|
|
57
|
-
|
|
57
|
+
gridBtn: any;
|
|
58
|
+
pageable: any;
|
|
59
|
+
filterGroup: ZGroup;
|
|
60
|
+
advfilterGroup: ZGroup;
|
|
61
|
+
isShowAdvFilter: boolean;
|
|
58
62
|
_state: State;
|
|
59
63
|
params: ZGridPostApiParams;
|
|
60
64
|
gridSubject: Subject<any>;
|
|
61
|
-
private widthReduce;
|
|
62
|
-
private heightReduce;
|
|
63
65
|
private gData;
|
|
64
66
|
columns: any[];
|
|
65
67
|
editableColumns: any[];
|
|
66
68
|
subscription: Subscription;
|
|
67
69
|
pageSizes: boolean | any[];
|
|
68
|
-
isLoading: boolean;
|
|
69
70
|
gridStorageKey: string;
|
|
70
71
|
gridDefaultStateExist: boolean;
|
|
71
72
|
isNew: boolean;
|
|
72
73
|
private editedRowIndex;
|
|
73
|
-
constructor(activatedRoute: ActivatedRoute, router: Router, formBuilder: FormBuilder, authService: AuthService, webApiService: WebApiService, zGridStatePersistingService: ZGridStatePersistingService, toastService: ToastService, zcoreService: ZCoreService, storageService: StorageSessionService, mainService: MainService);
|
|
74
|
+
constructor(compService: ZComponentService, activatedRoute: ActivatedRoute, router: Router, formBuilder: FormBuilder, authService: AuthService, webApiService: WebApiService, zGridStatePersistingService: ZGridStatePersistingService, toastService: ToastService, zcoreService: ZCoreService, storageService: StorageSessionService, mainService: MainService);
|
|
74
75
|
ngOnInit(): void;
|
|
75
76
|
ngOnDestroy(): void;
|
|
76
77
|
get state(): State;
|
|
@@ -79,11 +80,6 @@ export declare class ZgridComponent implements ZComponent, OnInit, OnDestroy {
|
|
|
79
80
|
filterable(value: any): boolean;
|
|
80
81
|
sortable(value: any): boolean;
|
|
81
82
|
locked(colSetting: any): boolean;
|
|
82
|
-
getGridStyle(): {
|
|
83
|
-
"height.px": number;
|
|
84
|
-
"width.px": number;
|
|
85
|
-
};
|
|
86
|
-
private getGridHeight;
|
|
87
83
|
isSelectOption(): boolean;
|
|
88
84
|
setColumns(columnName: string, columns: Array<ZGridCustomColumn>): void;
|
|
89
85
|
private wrapColumnNamesInFieldElement;
|
|
@@ -93,8 +89,6 @@ export declare class ZgridComponent implements ZComponent, OnInit, OnDestroy {
|
|
|
93
89
|
setData: (gData: any) => void;
|
|
94
90
|
getData(): void;
|
|
95
91
|
getGridData(): any;
|
|
96
|
-
getFormControl(rowIndex: number, property: string): import("@angular/forms").AbstractControl;
|
|
97
|
-
private createFormControls;
|
|
98
92
|
createFormGroup(dataItem: any, fieldName: any): FormGroup;
|
|
99
93
|
getGroupValue(value: string, group: ZGroup): any;
|
|
100
94
|
onBtnClick(event: any, colSetting: any, rowData: any, cellData: string): void;
|
|
@@ -113,26 +107,25 @@ export declare class ZgridComponent implements ZComponent, OnInit, OnDestroy {
|
|
|
113
107
|
getClass(dataItem: any, col: any): string;
|
|
114
108
|
getFormat(col: any, defaultFormat?: any): string;
|
|
115
109
|
setHeaderText(columnName: string, newHeaderTitle: string): void;
|
|
116
|
-
setGridIsLoading(triggered: boolean): void;
|
|
117
110
|
setGridSessionKey(group: ZGroup): void;
|
|
118
111
|
trackBy(index: number, item: GridItem): any;
|
|
119
112
|
saveGridSettings(): void;
|
|
120
113
|
restoreGridSettings(): void;
|
|
121
114
|
private getGridSettings;
|
|
115
|
+
private createFormControls;
|
|
122
116
|
getInlineField(value: any): any;
|
|
123
|
-
getInlineForm(rowIndex: number):
|
|
124
|
-
getFormControlData(value: any): any;
|
|
117
|
+
getInlineForm(data: any, rowIndex: number): any;
|
|
118
|
+
getFormControlData(value: any): any[];
|
|
125
119
|
beforeGridGetData(group: ZGroup, me: any): Observable<any>;
|
|
126
120
|
getGridSessionFilter(group: ZGroup, me: any): Promise<any>;
|
|
127
121
|
setGridSessionFilter(group: ZGroup, me: any): any;
|
|
128
|
-
|
|
129
|
-
setVisible: (status: boolean) => void;
|
|
130
|
-
setRequire: (status: boolean) => void;
|
|
122
|
+
adjustWidthUponResize(): void;
|
|
131
123
|
filterChange(event: any): void;
|
|
132
124
|
pageChange(event: PageChangeEvent): void;
|
|
133
125
|
sortChange(sort: SortDescriptor[]): void;
|
|
134
126
|
inCellCheckBoxOnChange(event: any, rowIndex: any, column: any): void;
|
|
135
127
|
columnsOrderChanged(event: ColumnReorderEvent): void;
|
|
128
|
+
private setupGridButtons;
|
|
136
129
|
addHandler({ sender }: {
|
|
137
130
|
sender: any;
|
|
138
131
|
}): void;
|
|
@@ -157,6 +150,12 @@ export declare class ZgridComponent implements ZComponent, OnInit, OnDestroy {
|
|
|
157
150
|
}): void;
|
|
158
151
|
private closeEditor;
|
|
159
152
|
private getItemIndex;
|
|
153
|
+
private setupFilterFeature;
|
|
154
|
+
search(): void;
|
|
155
|
+
cancelEdit(): void;
|
|
156
|
+
private clearFilterData;
|
|
157
|
+
advancedSearch(): void;
|
|
158
|
+
private mapFilterOperatorByFieldType;
|
|
160
159
|
static ɵfac: i0.ɵɵFactoryDeclaration<ZgridComponent, never>;
|
|
161
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ZgridComponent, "app-zgrid", never, {
|
|
160
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ZgridComponent, "app-zgrid", never, {}, {}, never, never>;
|
|
162
161
|
}
|
|
@@ -1,37 +1,18 @@
|
|
|
1
1
|
/********** Angular **********/
|
|
2
|
-
import { OnInit
|
|
3
|
-
import { FormGroup } from '@angular/forms';
|
|
4
|
-
/********** Ionic **********/
|
|
5
|
-
/********** Plugin **********/
|
|
6
|
-
import { Subscription } from "rxjs";
|
|
2
|
+
import { OnInit } from "@angular/core";
|
|
7
3
|
/********** Component & Service **********/
|
|
8
|
-
import { ZComponent,
|
|
4
|
+
import { ZComponent, AttachmentService } from "mmhglobal-zcore";
|
|
5
|
+
import { ZComponentService } from "../services/zcomponent.service";
|
|
6
|
+
import { InputFieldBase } from "../components/inputfieldbase.component";
|
|
9
7
|
import * as i0 from "@angular/core";
|
|
10
|
-
export declare class ZimgComponent implements ZComponent, OnInit
|
|
8
|
+
export declare class ZimgComponent extends InputFieldBase implements ZComponent, OnInit {
|
|
11
9
|
private attachmentService;
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
randomNumber: number;
|
|
19
|
-
componentProperties: ZComponentProperties;
|
|
20
|
-
subscription: Subscription;
|
|
21
|
-
Guid: any;
|
|
22
|
-
FileName: any;
|
|
23
|
-
Image: string;
|
|
24
|
-
constructor(attachmentService: AttachmentService);
|
|
25
|
-
ngOnInit(): Promise<void>;
|
|
26
|
-
ngOnDestroy(): void;
|
|
27
|
-
onDataSourceChange(): string;
|
|
28
|
-
getGroupValue(value: string, group: any): any;
|
|
29
|
-
getImgStyle(): any;
|
|
30
|
-
onIconClick(): any;
|
|
31
|
-
getIconName(): any;
|
|
32
|
-
setEnable: (status: boolean) => void;
|
|
33
|
-
setVisible: (status: boolean) => void;
|
|
34
|
-
setRequire: (status: boolean) => void;
|
|
10
|
+
imgSource: any;
|
|
11
|
+
constructor(compService: ZComponentService, attachmentService: AttachmentService);
|
|
12
|
+
ngOnInit(): void;
|
|
13
|
+
setImageSource(): void;
|
|
14
|
+
private getImageSource;
|
|
15
|
+
private setImageSize;
|
|
35
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<ZimgComponent, never>;
|
|
36
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ZimgComponent, "app-zimg", never, {
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ZimgComponent, "app-zimg", never, {}, {}, never, never>;
|
|
37
18
|
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/********** Angular **********/
|
|
2
|
+
import { OnInit } from "@angular/core";
|
|
3
|
+
import { FormGroup } from "@angular/forms";
|
|
4
|
+
import { ZComponent, ZField, ZGroup } from 'mmhglobal-zcore';
|
|
5
|
+
import { InputFieldBase } from "../components/inputfieldbase.component";
|
|
6
|
+
import { ZComponentService } from "../services/zcomponent.service";
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class ZInputContainerComponent extends InputFieldBase implements ZComponent, OnInit {
|
|
9
|
+
data: ZField;
|
|
10
|
+
group: ZGroup;
|
|
11
|
+
form: FormGroup;
|
|
12
|
+
readonly ztext_type: string[];
|
|
13
|
+
readonly zselect_type: string[];
|
|
14
|
+
readonly zdate_type: string[];
|
|
15
|
+
readonly zpostselectinput_type: string[];
|
|
16
|
+
readonly zcheckbox_type: string[];
|
|
17
|
+
readonly znumeric_type: string[];
|
|
18
|
+
readonly textarea_type: string[];
|
|
19
|
+
readonly zupload_type: string[];
|
|
20
|
+
readonly zimg_type: string[];
|
|
21
|
+
constructor(compService: ZComponentService);
|
|
22
|
+
ngOnInit(): void;
|
|
23
|
+
getClass(form: FormGroup, data: ZField): string;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ZInputContainerComponent, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ZInputContainerComponent, "app-zinput-container", never, { "data": "data"; "group": "group"; "form": "form"; }, {}, never, never>;
|
|
26
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { PipeTransform } from "@angular/core";
|
|
2
|
+
import { CacheService, ResourceApiService, WebApiService, ZField, ZGroup } from "mmhglobal-zcore";
|
|
3
|
+
import { Observable } from "rxjs";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class ZInputParser implements PipeTransform {
|
|
6
|
+
private resourceApiService;
|
|
7
|
+
private cacheService;
|
|
8
|
+
private webApiService;
|
|
9
|
+
private readonly zdate_type;
|
|
10
|
+
private readonly zcheckbox_type;
|
|
11
|
+
private readonly zselect_type;
|
|
12
|
+
constructor(resourceApiService: ResourceApiService, cacheService: CacheService, webApiService: WebApiService);
|
|
13
|
+
transform(value: any, data: ZField, group: ZGroup): Observable<string>;
|
|
14
|
+
private getDateTimeFormat;
|
|
15
|
+
private loadZData;
|
|
16
|
+
private getItemsData;
|
|
17
|
+
private getItemTemplate;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ZInputParser, never>;
|
|
19
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<ZInputParser, "inputText">;
|
|
20
|
+
}
|
|
@@ -1,31 +1,12 @@
|
|
|
1
|
-
/********** Angular **********/
|
|
2
1
|
import { OnInit } from "@angular/core";
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
/********** Component & Service **********/
|
|
7
|
-
import { ZComponent, ZField, ZGroup, ZComponentProperties } from 'mmhglobal-zcore';
|
|
2
|
+
import { ZComponent } from 'mmhglobal-zcore';
|
|
3
|
+
import { InputFieldBase } from "../components/inputfieldbase.component";
|
|
4
|
+
import { ZComponentService } from "../services/zcomponent.service";
|
|
8
5
|
import * as i0 from "@angular/core";
|
|
9
|
-
export declare class ZlabelComponent implements ZComponent, OnInit {
|
|
10
|
-
data: ZField;
|
|
11
|
-
group: ZGroup;
|
|
12
|
-
form: FormGroup;
|
|
13
|
-
componentProperties: ZComponentProperties;
|
|
6
|
+
export declare class ZlabelComponent extends InputFieldBase implements ZComponent, OnInit {
|
|
14
7
|
labelText: string;
|
|
15
|
-
|
|
16
|
-
constructor();
|
|
8
|
+
constructor(compService: ZComponentService);
|
|
17
9
|
ngOnInit(): void;
|
|
18
|
-
getReadOnlyValue(): any;
|
|
19
|
-
isVisible(): any;
|
|
20
|
-
setVisible: (status: boolean) => void;
|
|
21
|
-
getIon_InvalidClass(form: FormGroup, data: ZField): string;
|
|
22
|
-
getClass(form: FormGroup, data: ZField): string;
|
|
23
|
-
getFontAwesome(iconName: any): string;
|
|
24
|
-
setData: (data: any) => void;
|
|
25
|
-
getLabelData(): string;
|
|
26
|
-
setLabelList: (data: any) => void;
|
|
27
|
-
getLabelList(): any[];
|
|
28
|
-
private convertLabelToLabelList;
|
|
29
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<ZlabelComponent, never>;
|
|
30
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ZlabelComponent, "app-zlabel", never, {
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ZlabelComponent, "app-zlabel", never, {}, {}, never, never>;
|
|
31
12
|
}
|
|
@@ -1,48 +1,40 @@
|
|
|
1
1
|
/********** Angular **********/
|
|
2
2
|
import { OnInit } from "@angular/core";
|
|
3
|
-
import { FormGroup } from '@angular/forms';
|
|
4
3
|
/********** Ionic **********/
|
|
5
4
|
/********** Plugin **********/
|
|
6
5
|
import { DialItemClickEvent, FabAlign, FabPositionMode } from '@progress/kendo-angular-buttons';
|
|
7
6
|
/********** Component & Service **********/
|
|
8
|
-
import { FieldService, ResourceApiService, WorkflowService, ZComponent
|
|
7
|
+
import { FieldService, ResourceApiService, WorkflowService, ZComponent } from 'mmhglobal-zcore';
|
|
8
|
+
import { ButtonFieldBase } from "../components/buttonfieldbase.component";
|
|
9
|
+
import { ZComponentService } from "../services/zcomponent.service";
|
|
9
10
|
import * as i0 from "@angular/core";
|
|
10
|
-
export declare class ZmfbComponent implements ZComponent, OnInit {
|
|
11
|
+
export declare class ZmfbComponent extends ButtonFieldBase implements ZComponent, OnInit {
|
|
11
12
|
private fieldService;
|
|
12
13
|
private resourceApiService;
|
|
13
14
|
private workflowService;
|
|
14
|
-
data: ZField;
|
|
15
|
-
group: ZGroup;
|
|
16
|
-
form: FormGroup;
|
|
17
|
-
componentProperties: ZComponentProperties;
|
|
18
15
|
positionMode: FabPositionMode;
|
|
19
|
-
|
|
16
|
+
align: FabAlign;
|
|
20
17
|
items: Array<any>;
|
|
21
18
|
dialOpen: boolean;
|
|
22
19
|
isWorkflowButton: boolean;
|
|
23
20
|
buttonColor: string;
|
|
24
|
-
|
|
25
|
-
|
|
21
|
+
private buttonField;
|
|
22
|
+
constructor(compService: ZComponentService, fieldService: FieldService, resourceApiService: ResourceApiService, workflowService: WorkflowService);
|
|
26
23
|
ngOnInit(): void;
|
|
27
|
-
|
|
28
|
-
isBtnVisible(fieldExpr: any): any;
|
|
29
|
-
setVisible: (status: boolean) => void;
|
|
30
|
-
/******************** zButton ********************/
|
|
31
|
-
private getFirstzButton;
|
|
32
|
-
private getButtonLabel;
|
|
33
|
-
private buttonClick;
|
|
34
|
-
events: string[];
|
|
24
|
+
private setupComponent;
|
|
35
25
|
onBlur(): void;
|
|
36
26
|
onFocus(): void;
|
|
37
27
|
onOpen(e: any): void;
|
|
38
28
|
onClose(e: any): void;
|
|
39
29
|
onDialItemClick(e: DialItemClickEvent): void;
|
|
40
|
-
|
|
30
|
+
private setupDefaultDialItems;
|
|
31
|
+
private getFirstzButton;
|
|
32
|
+
getButtonLabel(button: any): any;
|
|
41
33
|
e1wfs_wfcGetWorkflowButtonURL: any;
|
|
42
34
|
e1wfs_wfc_getWorkflowInitialStatusURL: any;
|
|
43
35
|
e1wfs_wfc_getDocumentStatusURL: any;
|
|
44
36
|
private loadWorkflowButton;
|
|
45
37
|
workflowButtonClick(button: any): void;
|
|
46
38
|
static ɵfac: i0.ɵɵFactoryDeclaration<ZmfbComponent, never>;
|
|
47
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ZmfbComponent, "app-zmfb", never, {
|
|
39
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ZmfbComponent, "app-zmfb", never, {}, {}, never, never>;
|
|
48
40
|
}
|
|
@@ -5,16 +5,19 @@ import { OnInit, OnDestroy } from "@angular/core";
|
|
|
5
5
|
import { Subscription, Observable } from "rxjs";
|
|
6
6
|
/********** Component & Service **********/
|
|
7
7
|
import { WebApiService, ModalPageParams, ZGroup, ZCoreService, ZComponentOutputEvent, FieldService } from "mmhglobal-zcore";
|
|
8
|
+
import { ComponentErrorHandlerService } from "../services/component-error-handler.service";
|
|
8
9
|
import * as i0 from "@angular/core";
|
|
9
10
|
export declare class ZmodalMobileComponent implements OnInit, OnDestroy {
|
|
10
11
|
private webApiService;
|
|
11
12
|
private zcoreService;
|
|
13
|
+
private componentErrorHandler;
|
|
12
14
|
private fieldService;
|
|
13
15
|
modalParams: ModalPageParams;
|
|
14
16
|
group: ZGroup;
|
|
15
17
|
subscription: Subscription;
|
|
16
18
|
backButtonSubscription: Subscription;
|
|
17
|
-
constructor(webApiService: WebApiService, zcoreService: ZCoreService,
|
|
19
|
+
constructor(webApiService: WebApiService, zcoreService: ZCoreService, componentErrorHandler: ComponentErrorHandlerService, // Use in mmhglobal-zmodal.helper
|
|
20
|
+
fieldService: FieldService);
|
|
18
21
|
ngOnInit(): void;
|
|
19
22
|
ngOnDestroy(): void;
|
|
20
23
|
onCancel(event?: ZComponentOutputEvent): void;
|