mmhglobal-dynamicform 2.3.2 → 2.5.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 +7 -0
- package/esm2020/lib/components/buttonfieldbase.component.mjs +4 -4
- package/esm2020/lib/components/containerfieldbase.component.mjs +4 -4
- package/esm2020/lib/components/datalistingfieldbase.component.mjs +4 -4
- package/esm2020/lib/components/fieldbase.component.mjs +6 -6
- package/esm2020/lib/components/inputfieldbase.component.mjs +4 -4
- package/esm2020/lib/directives/elementcontainer.directive.mjs +4 -4
- package/esm2020/lib/directives/fieldelement.directive.mjs +4 -4
- package/esm2020/lib/directives/scrollbar.theme.directive.mjs +4 -4
- package/esm2020/lib/embed-components/input-field-addons/input-field-addons.component.mjs +8 -7
- package/esm2020/lib/embed-components/page-loader/page-loader.component.mjs +4 -4
- package/esm2020/lib/embed-components/processing-record-loader/processing-record-loader.component.mjs +4 -4
- package/esm2020/lib/input-error-message/input-error-message.component.mjs +9 -8
- package/esm2020/lib/kcard/kcard.component.mjs +17 -15
- package/esm2020/lib/mmhglobal-dynamicform.module.mjs +5 -5
- package/esm2020/lib/pipe/htmlSanitize.pipe.mjs +4 -4
- package/esm2020/lib/services/component-error-handler.service.mjs +4 -4
- package/esm2020/lib/services/main.service.mjs +4 -4
- package/esm2020/lib/services/zcomponent.debug.service.mjs +4 -4
- package/esm2020/lib/services/zcomponent.service.mjs +4 -4
- package/esm2020/lib/sfquerybuilder/sfquerybuilder.component.mjs +4 -4
- package/esm2020/lib/uiactionbutton/uiactionbutton.component.mjs +5 -5
- package/esm2020/lib/uiappmenucontent/uiappmenucontent.component.mjs +4 -4
- package/esm2020/lib/uibulletin/uibulletin.component.mjs +4 -4
- package/esm2020/lib/uicontainer/uicontainer.component.mjs +4 -4
- package/esm2020/lib/uicontent/uicontent.component.mjs +4 -4
- package/esm2020/lib/uiheader/uiheader.component.mjs +4 -4
- package/esm2020/lib/uimenubutton/uimenubutton.component.mjs +5 -5
- package/esm2020/lib/uimenucontent/uimenucontent.component.mjs +4 -4
- package/esm2020/lib/uipage/uipage.component.mjs +4 -4
- package/esm2020/lib/uivalidationmessage/uivalidationmessage.component.mjs +4 -4
- package/esm2020/lib/zbullet/zbullet.component.mjs +4 -4
- package/esm2020/lib/zbuttons/zbuttons.component.mjs +8 -7
- package/esm2020/lib/zcard/zcard.component.mjs +4 -4
- package/esm2020/lib/zchart/zchart.component.mjs +4 -4
- package/esm2020/lib/zcheckbox/zcheckbox.component.mjs +4 -4
- package/esm2020/lib/zchip/zchip.component.mjs +4 -4
- package/esm2020/lib/zcodeeditor/zcodeeditor.component.mjs +4 -4
- package/esm2020/lib/zcodeeditor/zcodeeditor.pipe.mjs +4 -4
- package/esm2020/lib/zdaterange/zdaterange.component.mjs +4 -4
- package/esm2020/lib/zdatetime/dateIonicFormatParser.pipe.mjs +4 -4
- package/esm2020/lib/zdatetime/dateIonicMinMaxDate.pipe.mjs +4 -4
- package/esm2020/lib/zdatetime/dateKendoFormatParser.pipe.mjs +4 -4
- package/esm2020/lib/zdatetime/dateParser.pipe.mjs +4 -4
- package/esm2020/lib/zdatetime/zdatetime.component.mjs +4 -4
- package/esm2020/lib/zdiv/zdiv.component.mjs +4 -4
- package/esm2020/lib/zdiv/zdiv.pipe.mjs +4 -4
- package/esm2020/lib/zform/zform.component.mjs +4 -4
- package/esm2020/lib/zformcontrol/zformcontrol.component.mjs +4 -4
- package/esm2020/lib/zgauge/zgauge.component.mjs +4 -4
- package/esm2020/lib/zgrid/container/zgrid-container.component.mjs +4 -4
- package/esm2020/lib/zgrid/date-range-cell-filter.component.mjs +4 -4
- package/esm2020/lib/zgrid/zgrid.binding.directive.mjs +4 -4
- package/esm2020/lib/zgrid/zgrid.component.mjs +17 -10
- package/esm2020/lib/zgrid/zgrid.popup.anchor-target.directive.mjs +4 -4
- package/esm2020/lib/zimg/zimg.component.mjs +4 -4
- package/esm2020/lib/zinput-container/zinput-container.component.mjs +4 -4
- package/esm2020/lib/zinput-container/zinput-container.pipe.mjs +4 -4
- package/esm2020/lib/zkcard/zkcard.component.mjs +12 -11
- package/esm2020/lib/zlabel/zlabel.component.mjs +15 -13
- package/esm2020/lib/zmfb/zmfb.component.mjs +4 -4
- package/esm2020/lib/zmodal/zmodal-mobile.component.mjs +4 -4
- package/esm2020/lib/zmodal/zmodal.component.mjs +4 -4
- package/esm2020/lib/znumeric/znumeric.component.mjs +4 -4
- package/esm2020/lib/znumeric/znumeric.component.pipe.mjs +4 -4
- package/esm2020/lib/zpostselectinput/zpostselectinput.component.mjs +4 -4
- package/esm2020/lib/zprogressbar/zprogressbar.component.mjs +4 -4
- package/esm2020/lib/zquerybuilder/zquerybuilder.component.mjs +4 -4
- package/esm2020/lib/zreport/zreport.component.mjs +9 -8
- package/esm2020/lib/zscheduler/zscheduler.component.mjs +4 -4
- package/esm2020/lib/zscheduler/zscheduler.toolbar.component.mjs +4 -4
- package/esm2020/lib/zselectmultiple/zselectmultiple.component.mjs +4 -4
- package/esm2020/lib/zselectmultiple/zselectmultiple.directive.mjs +4 -4
- package/esm2020/lib/zselectmultiple/zselectmultiple.pipe.mjs +4 -4
- package/esm2020/lib/ztab/ztab.component.mjs +8 -7
- package/esm2020/lib/ztab/ztab.pipe.mjs +4 -4
- package/esm2020/lib/ztext/ztext.component.mjs +4 -4
- package/esm2020/lib/ztextarea/ztextarea.component.mjs +4 -4
- package/esm2020/lib/ztexteditor/ztexteditor.component.mjs +4 -4
- package/esm2020/lib/ztree/ztree.component.mjs +4 -4
- package/esm2020/lib/ztreelist/ztreelist.component.mjs +4 -4
- package/esm2020/lib/ztrendcard/ztrendcard.component.mjs +4 -4
- package/esm2020/lib/zudf/zudf.component.mjs +5 -5
- package/esm2020/lib/zunknown/zunknown.component.mjs +4 -4
- package/esm2020/lib/zupload/zupload.component.mjs +4 -4
- package/esm2020/lib/zworkflowbuttons/zworkflowbuttons.component.mjs +9 -7
- package/fesm2015/mmhglobal-dynamicform.mjs +359 -342
- package/fesm2015/mmhglobal-dynamicform.mjs.map +1 -1
- package/fesm2020/mmhglobal-dynamicform.mjs +359 -342
- package/fesm2020/mmhglobal-dynamicform.mjs.map +1 -1
- package/lib/components/fieldbase.component.d.ts +2 -2
- package/lib/embed-components/input-field-addons/input-field-addons.component.d.ts +3 -2
- package/lib/input-error-message/input-error-message.component.d.ts +3 -2
- package/lib/kcard/kcard.component.d.ts +3 -2
- package/lib/zbuttons/zbuttons.component.d.ts +3 -2
- package/lib/zgrid/zgrid.component.d.ts +4 -2
- package/lib/zkcard/zkcard.component.d.ts +4 -3
- package/lib/zlabel/zlabel.component.d.ts +3 -2
- package/lib/zreport/zreport.component.d.ts +4 -3
- package/lib/ztab/ztab.component.d.ts +3 -2
- package/lib/zworkflowbuttons/zworkflowbuttons.component.d.ts +4 -2
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FormGroup } from "@angular/forms";
|
|
2
|
-
import { ZComponentProperties, ZField, ZGroup } from "mmhglobal-zcore";
|
|
2
|
+
import { FontAweSomeService, ZComponentProperties, ZField, ZGroup } from "mmhglobal-zcore";
|
|
3
3
|
import { Observable } from "rxjs";
|
|
4
4
|
import { ZComponentService } from "../services/zcomponent.service";
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
@@ -24,7 +24,7 @@ export declare class FieldBase {
|
|
|
24
24
|
setEnable: (status: boolean) => void;
|
|
25
25
|
setVisible: (status: boolean) => void;
|
|
26
26
|
setRequire: (status: boolean) => void;
|
|
27
|
-
getFontAwesome(iconName: any): any;
|
|
27
|
+
getFontAwesome(iconName: any, fontAwesomeService: FontAweSomeService): any;
|
|
28
28
|
toggleEditMode(): void;
|
|
29
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<FieldBase, never>;
|
|
30
30
|
static ɵcmp: i0.ɵɵComponentDeclaration<FieldBase, "ng-component", never, { "data": "data"; "group": "group"; "form": "form"; "containerField": "containerField"; "componentProperties": "componentProperties"; }, {}, never, never>;
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { OnInit, SimpleChanges } from "@angular/core";
|
|
2
|
-
import { InputFieldAddOns, TranslationService, ZComponent } from 'mmhglobal-zcore';
|
|
2
|
+
import { FontAweSomeService, InputFieldAddOns, TranslationService, ZComponent } from 'mmhglobal-zcore';
|
|
3
3
|
import { InputFieldBase } from "../../components/inputfieldbase.component";
|
|
4
4
|
import { ZComponentService } from "../../services/zcomponent.service";
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class InputFieldAddOnsComponent extends InputFieldBase implements ZComponent, OnInit {
|
|
7
|
+
fontAweSomeService: FontAweSomeService;
|
|
7
8
|
private translationService;
|
|
8
9
|
position: 'top' | 'left' | 'right' | 'bottom';
|
|
9
10
|
addOn: InputFieldAddOns;
|
|
10
|
-
constructor(compService: ZComponentService, translationService: TranslationService);
|
|
11
|
+
constructor(compService: ZComponentService, fontAweSomeService: FontAweSomeService, translationService: TranslationService);
|
|
11
12
|
ngOnInit(): void;
|
|
12
13
|
ngOnChanges(changes: SimpleChanges): void;
|
|
13
14
|
private setupIconList;
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { OnInit } from "@angular/core";
|
|
2
|
-
import { TranslationService, ZComponent } from 'mmhglobal-zcore';
|
|
2
|
+
import { FontAweSomeService, TranslationService, ZComponent } from 'mmhglobal-zcore';
|
|
3
3
|
import { FieldBase } from "../components/fieldbase.component";
|
|
4
4
|
import { ComponentErrorHandlerService } from "../services/component-error-handler.service";
|
|
5
5
|
import { ZComponentService } from "../services/zcomponent.service";
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class InputErrorMessageComponent extends FieldBase implements ZComponent, OnInit {
|
|
8
|
+
fontAweSomeService: FontAweSomeService;
|
|
8
9
|
private componentErrorHandler;
|
|
9
10
|
private translationService;
|
|
10
|
-
constructor(compService: ZComponentService, componentErrorHandler: ComponentErrorHandlerService, translationService: TranslationService);
|
|
11
|
+
constructor(compService: ZComponentService, fontAweSomeService: FontAweSomeService, componentErrorHandler: ComponentErrorHandlerService, translationService: TranslationService);
|
|
11
12
|
errMsgList: any[];
|
|
12
13
|
ngOnInit(): void;
|
|
13
14
|
IsShow(): boolean;
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
import { OnInit } from "@angular/core";
|
|
2
2
|
import { FormGroup } from "@angular/forms";
|
|
3
|
-
import { ZComponent } from "mmhglobal-zcore";
|
|
3
|
+
import { FontAweSomeService, ZComponent } from "mmhglobal-zcore";
|
|
4
4
|
import { ContainerFieldBase } from "../components/containerfieldbase.component";
|
|
5
5
|
import { MainService } from "../services/main.service";
|
|
6
6
|
import { ZComponentService } from "../services/zcomponent.service";
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare class KcardComponent extends ContainerFieldBase implements ZComponent, OnInit {
|
|
9
|
+
fontAweSomeService: FontAweSomeService;
|
|
9
10
|
private mainService;
|
|
10
11
|
myFormGroup: FormGroup;
|
|
11
12
|
private initValue;
|
|
12
13
|
private myModel;
|
|
13
|
-
constructor(
|
|
14
|
+
constructor(compService: ZComponentService, fontAweSomeService: FontAweSomeService, mainService: MainService);
|
|
14
15
|
ngOnInit(): void;
|
|
15
16
|
saveData(): void;
|
|
16
17
|
cancelEdit(): void;
|
|
@@ -3,17 +3,18 @@ import { OnInit } from '@angular/core';
|
|
|
3
3
|
/********** Ionic **********/
|
|
4
4
|
/********** Plugin **********/
|
|
5
5
|
/********** Component & Service **********/
|
|
6
|
-
import { FieldService, ZComponent } from 'mmhglobal-zcore';
|
|
6
|
+
import { FieldService, ZComponent, FontAweSomeService } from 'mmhglobal-zcore';
|
|
7
7
|
import { ButtonFieldBase } from '../components/buttonfieldbase.component';
|
|
8
8
|
import { ZComponentService } from '../services/zcomponent.service';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
10
|
export declare class ZbuttonsComponent extends ButtonFieldBase implements ZComponent, OnInit {
|
|
11
|
+
fontAweSomeService: FontAweSomeService;
|
|
11
12
|
private fieldService;
|
|
12
13
|
items: Array<any>;
|
|
13
14
|
leftBtns: Array<any>;
|
|
14
15
|
rightBtns: Array<any>;
|
|
15
16
|
FirstZbtn: boolean;
|
|
16
|
-
constructor(compService: ZComponentService, fieldService: FieldService);
|
|
17
|
+
constructor(compService: ZComponentService, fontAweSomeService: FontAweSomeService, fieldService: FieldService);
|
|
17
18
|
ngOnInit(): void;
|
|
18
19
|
private loadButton;
|
|
19
20
|
buttonClick(item: any): void;
|
|
@@ -14,7 +14,7 @@ import { GridDataResult, DataStateChangeEvent, PageChangeEvent, CellClickEvent,
|
|
|
14
14
|
import { MainService } from "../services/main.service";
|
|
15
15
|
import { ZGridBindingDirective } from "./zgrid.binding.directive";
|
|
16
16
|
import { ElementContainerDirective } from "../directives/elementcontainer.directive";
|
|
17
|
-
import { AuthService, WebApiService, ToastService, ZField, ZGroup, ZComponent, ZComponentOutputEvent, ZCoreService, ZGridStatePersistingService, ZGridPostApiParams, ZGridCustomColumn, StorageSessionService } from 'mmhglobal-zcore';
|
|
17
|
+
import { AuthService, WebApiService, ToastService, ZField, ZGroup, ZComponent, ZComponentOutputEvent, ZCoreService, ZGridStatePersistingService, ZGridPostApiParams, ZGridCustomColumn, StorageSessionService, FontAweSomeService } from 'mmhglobal-zcore';
|
|
18
18
|
import { ZComponentService } from "../services/zcomponent.service";
|
|
19
19
|
import { DataListingFieldBase } from "../components/datalistingfieldbase.component";
|
|
20
20
|
import * as i0 from "@angular/core";
|
|
@@ -36,6 +36,7 @@ export interface ZGrid {
|
|
|
36
36
|
getFormControlData(): any[];
|
|
37
37
|
}
|
|
38
38
|
export declare class ZgridComponent extends DataListingFieldBase implements ZComponent, OnInit, AfterViewChecked, OnDestroy {
|
|
39
|
+
fontAweSomeService: FontAweSomeService;
|
|
39
40
|
private activatedRoute;
|
|
40
41
|
private router;
|
|
41
42
|
private formBuilder;
|
|
@@ -78,7 +79,7 @@ export declare class ZgridComponent extends DataListingFieldBase implements ZCom
|
|
|
78
79
|
gridDefaultStateExist: boolean;
|
|
79
80
|
isNew: boolean;
|
|
80
81
|
private editedRowIndex;
|
|
81
|
-
constructor(compService: ZComponentService, activatedRoute: ActivatedRoute, router: Router, formBuilder: FormBuilder, authService: AuthService, webApiService: WebApiService, zGridStatePersistingService: ZGridStatePersistingService, toastService: ToastService, zcoreService: ZCoreService, storageService: StorageSessionService, mainService: MainService, cdr: ChangeDetectorRef);
|
|
82
|
+
constructor(compService: ZComponentService, fontAweSomeService: FontAweSomeService, activatedRoute: ActivatedRoute, router: Router, formBuilder: FormBuilder, authService: AuthService, webApiService: WebApiService, zGridStatePersistingService: ZGridStatePersistingService, toastService: ToastService, zcoreService: ZCoreService, storageService: StorageSessionService, mainService: MainService, cdr: ChangeDetectorRef);
|
|
82
83
|
ngOnInit(): void;
|
|
83
84
|
ngAfterViewChecked(): void;
|
|
84
85
|
ngOnDestroy(): void;
|
|
@@ -94,6 +95,7 @@ export declare class ZgridComponent extends DataListingFieldBase implements ZCom
|
|
|
94
95
|
$setColumns(columnName: string, columns: Array<ZGridCustomColumn>): Observable<any>;
|
|
95
96
|
private wrapColumnNamesInFieldElement;
|
|
96
97
|
private generateGridColumns;
|
|
98
|
+
getIconName(gridCellReplaceValue: any, value: any): string | import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
97
99
|
cellStyleCondition(col: any, colValue: any): boolean;
|
|
98
100
|
setCellStyleCondition(col: any, colValue: any): string | false;
|
|
99
101
|
cellClickHandler(event: CellClickEvent): void;
|
|
@@ -8,16 +8,17 @@ import { Subscription } from 'rxjs';
|
|
|
8
8
|
import { LabelSettings } from '@progress/kendo-angular-progressbar';
|
|
9
9
|
import { State } from '@progress/kendo-data-query';
|
|
10
10
|
/********** Component & Service **********/
|
|
11
|
-
import { AuthService, ZField, ZGroup, ResourceApiService, WebApiService, ZComponent, ZGridStatePersistingService, ZGridPostApiParams } from 'mmhglobal-zcore';
|
|
11
|
+
import { AuthService, ZField, ZGroup, ResourceApiService, WebApiService, ZComponent, ZGridStatePersistingService, ZGridPostApiParams, FontAweSomeService } from 'mmhglobal-zcore';
|
|
12
12
|
import * as i0 from "@angular/core";
|
|
13
13
|
export declare class ZkcardComponent implements ZComponent, OnInit, OnDestroy {
|
|
14
|
+
fontAweSomeService: FontAweSomeService;
|
|
14
15
|
private activatedRoute;
|
|
15
16
|
private resourceApiService;
|
|
16
17
|
private authService;
|
|
17
18
|
private zGridStatePersistingService;
|
|
18
19
|
private webapiService;
|
|
19
20
|
private router;
|
|
20
|
-
constructor(activatedRoute: ActivatedRoute, resourceApiService: ResourceApiService, authService: AuthService, zGridStatePersistingService: ZGridStatePersistingService, webapiService: WebApiService, router: Router);
|
|
21
|
+
constructor(fontAweSomeService: FontAweSomeService, activatedRoute: ActivatedRoute, resourceApiService: ResourceApiService, authService: AuthService, zGridStatePersistingService: ZGridStatePersistingService, webapiService: WebApiService, router: Router);
|
|
21
22
|
data: ZField;
|
|
22
23
|
group: ZGroup;
|
|
23
24
|
form: FormGroup;
|
|
@@ -54,7 +55,7 @@ export declare class ZkcardComponent implements ZComponent, OnInit, OnDestroy {
|
|
|
54
55
|
private getFieldReferenceId;
|
|
55
56
|
private getFilterParamsColumns;
|
|
56
57
|
start(event: any): void;
|
|
57
|
-
getFontAwesome(iconName: string): string;
|
|
58
|
+
getFontAwesome(iconName: string, fontAweSomeService?: FontAweSomeService): string | import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
58
59
|
private getFilter;
|
|
59
60
|
valueChange(event: any): void;
|
|
60
61
|
static ɵfac: i0.ɵɵFactoryDeclaration<ZkcardComponent, never>;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { OnInit } from "@angular/core";
|
|
2
|
-
import { ZComponent } from 'mmhglobal-zcore';
|
|
2
|
+
import { FontAweSomeService, ZComponent } from 'mmhglobal-zcore';
|
|
3
3
|
import { InputFieldBase } from "../components/inputfieldbase.component";
|
|
4
4
|
import { ZComponentService } from "../services/zcomponent.service";
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class ZlabelComponent extends InputFieldBase implements ZComponent, OnInit {
|
|
7
|
+
fontAweSomeService: FontAweSomeService;
|
|
7
8
|
labelText: string;
|
|
8
|
-
constructor(compService: ZComponentService);
|
|
9
|
+
constructor(compService: ZComponentService, fontAweSomeService: FontAweSomeService);
|
|
9
10
|
ngOnInit(): void;
|
|
10
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<ZlabelComponent, never>;
|
|
11
12
|
static ɵcmp: i0.ɵɵComponentDeclaration<ZlabelComponent, "app-zlabel", never, {}, {}, never, never>;
|
|
@@ -2,11 +2,12 @@
|
|
|
2
2
|
import { OnInit, AfterViewInit } from "@angular/core";
|
|
3
3
|
import { TelerikReportViewerComponent } from "@progress/telerik-angular-report-viewer";
|
|
4
4
|
/********** Component & Service **********/
|
|
5
|
-
import { ResourceApiService } from "mmhglobal-zcore";
|
|
5
|
+
import { FontAweSomeService, ResourceApiService } from "mmhglobal-zcore";
|
|
6
6
|
import { FieldBase } from "../components/fieldbase.component";
|
|
7
7
|
import { ZComponentService } from "../services/zcomponent.service";
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
export declare class ZreportComponent extends FieldBase implements OnInit, AfterViewInit {
|
|
10
|
+
fontAweSomeService: FontAweSomeService;
|
|
10
11
|
private resourceApiService;
|
|
11
12
|
viewer: TelerikReportViewerComponent;
|
|
12
13
|
title: string;
|
|
@@ -20,7 +21,7 @@ export declare class ZreportComponent extends FieldBase implements OnInit, After
|
|
|
20
21
|
resourceURL: any;
|
|
21
22
|
ReportSource: any;
|
|
22
23
|
private paramToResizeReportViewer;
|
|
23
|
-
constructor(compService: ZComponentService, resourceApiService: ResourceApiService);
|
|
24
|
+
constructor(compService: ZComponentService, fontAweSomeService: FontAweSomeService, resourceApiService: ResourceApiService);
|
|
24
25
|
ngOnInit(): void;
|
|
25
26
|
ngAfterViewInit(): void;
|
|
26
27
|
ready(): void;
|
|
@@ -31,7 +32,7 @@ export declare class ZreportComponent extends FieldBase implements OnInit, After
|
|
|
31
32
|
exportEndHandler(e: any, args: any): void;
|
|
32
33
|
onRenderingEnd(e: any, args: any): void;
|
|
33
34
|
generateReport(): void;
|
|
34
|
-
getFontAwesome(iconName: string): string;
|
|
35
|
+
getFontAwesome(iconName: string, fontAweSomeService?: FontAweSomeService): string | import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
35
36
|
private resizeViewer;
|
|
36
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<ZreportComponent, never>;
|
|
37
38
|
static ɵcmp: i0.ɵɵComponentDeclaration<ZreportComponent, "app-zreport", never, {}, {}, never, never>;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
2
|
import { TabStripComponent } from '@progress/kendo-angular-layout';
|
|
3
|
-
import { StorageSessionService, TranslationService, ZComponent, ZTabItem } from 'mmhglobal-zcore';
|
|
3
|
+
import { FontAweSomeService, StorageSessionService, TranslationService, ZComponent, ZTabItem } from 'mmhglobal-zcore';
|
|
4
4
|
import { ContainerFieldBase } from '../components/containerfieldbase.component';
|
|
5
5
|
import { ZComponentService } from '../services/zcomponent.service';
|
|
6
6
|
import { MainService } from '../services/main.service';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare class ZtabComponent extends ContainerFieldBase implements ZComponent, OnInit {
|
|
9
|
+
fontAweSomeService: FontAweSomeService;
|
|
9
10
|
private translationService;
|
|
10
11
|
private storageService;
|
|
11
12
|
private mainService;
|
|
@@ -15,7 +16,7 @@ export declare class ZtabComponent extends ContainerFieldBase implements ZCompon
|
|
|
15
16
|
currentTabs: ZTabItem[];
|
|
16
17
|
allTabs: ZTabItem[];
|
|
17
18
|
};
|
|
18
|
-
constructor(compService: ZComponentService, translationService: TranslationService, storageService: StorageSessionService, mainService: MainService);
|
|
19
|
+
constructor(compService: ZComponentService, fontAweSomeService: FontAweSomeService, translationService: TranslationService, storageService: StorageSessionService, mainService: MainService);
|
|
19
20
|
ngOnInit(): void;
|
|
20
21
|
private setCurrentTabs;
|
|
21
22
|
private refreshCurrentTabs;
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
/********** Angular **********/
|
|
2
2
|
import { OnInit } from '@angular/core';
|
|
3
|
-
import { ZComponent, WebApiService, ResourceApiService, WorkflowService } from 'mmhglobal-zcore';
|
|
3
|
+
import { ZComponent, WebApiService, ResourceApiService, WorkflowService, FontAweSomeService } from 'mmhglobal-zcore';
|
|
4
4
|
import { ButtonFieldBase } from '../components/buttonfieldbase.component';
|
|
5
5
|
import { ZComponentService } from '../services/zcomponent.service';
|
|
6
6
|
import { ComponentErrorHandlerService } from '../services/component-error-handler.service';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare class ZworkflowbuttonsComponent extends ButtonFieldBase implements ZComponent, OnInit {
|
|
9
|
+
compService: ZComponentService;
|
|
10
|
+
fontAweSomeService: FontAweSomeService;
|
|
9
11
|
private webApiService;
|
|
10
12
|
private resourceApiService;
|
|
11
13
|
private componentErrorHandler;
|
|
@@ -16,7 +18,7 @@ export declare class ZworkflowbuttonsComponent extends ButtonFieldBase implement
|
|
|
16
18
|
dataFormFields: any;
|
|
17
19
|
isLoading: boolean;
|
|
18
20
|
isLocalHostAPI: boolean;
|
|
19
|
-
constructor(compService: ZComponentService, webApiService: WebApiService, resourceApiService: ResourceApiService, componentErrorHandler: ComponentErrorHandlerService, workflowService: WorkflowService);
|
|
21
|
+
constructor(compService: ZComponentService, fontAweSomeService: FontAweSomeService, webApiService: WebApiService, resourceApiService: ResourceApiService, componentErrorHandler: ComponentErrorHandlerService, workflowService: WorkflowService);
|
|
20
22
|
ngOnInit(): void;
|
|
21
23
|
loadButton(): void;
|
|
22
24
|
buttonClick(button: any): void;
|