mmhglobal-dynamicform 2.5.2 → 2.6.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 +6 -0
- package/esm2020/lib/components/buttonfieldbase.component.mjs +7 -5
- package/esm2020/lib/components/containerfieldbase.component.mjs +7 -5
- package/esm2020/lib/components/datalistingfieldbase.component.mjs +13 -9
- package/esm2020/lib/components/fieldbase.component.mjs +11 -9
- package/esm2020/lib/components/inputfieldbase.component.mjs +10 -5
- package/esm2020/lib/embed-components/input-field-addons/input-field-addons.component.mjs +8 -4
- package/esm2020/lib/input-error-message/input-error-message.component.mjs +8 -3
- package/esm2020/lib/kcard/kcard.component.mjs +20 -16
- package/esm2020/lib/services/zcomponent.service.mjs +20 -22
- package/esm2020/lib/sfquerybuilder/sfquerybuilder.component.mjs +64 -17
- package/esm2020/lib/uiactionbutton/uiactionbutton.component.mjs +12 -8
- package/esm2020/lib/uiappmenucontent/uiappmenucontent.component.mjs +3 -6
- package/esm2020/lib/uibulletin/uibulletin.component.mjs +1 -1
- package/esm2020/lib/uicontainer/uicontainer.component.mjs +1 -1
- package/esm2020/lib/uicontent/uicontent.component.mjs +1 -5
- package/esm2020/lib/uiheader/uiheader.component.mjs +8 -12
- package/esm2020/lib/uimenubutton/uimenubutton.component.mjs +3 -2
- package/esm2020/lib/uimenucontent/uimenucontent.component.mjs +5 -4
- package/esm2020/lib/uivalidationmessage/uivalidationmessage.component.mjs +5 -4
- package/esm2020/lib/zbullet/zbullet.component.mjs +6 -4
- package/esm2020/lib/zbuttons/zbuttons.component.mjs +14 -10
- package/esm2020/lib/zcard/zcard.component.mjs +9 -6
- package/esm2020/lib/zchart/zchart.component.mjs +10 -6
- package/esm2020/lib/zcheckbox/zcheckbox.component.mjs +14 -4
- package/esm2020/lib/zchip/zchip.component.mjs +16 -8
- package/esm2020/lib/zcodeeditor/zcodeeditor.component.mjs +3 -4
- package/esm2020/lib/zdaterange/zdaterange.component.mjs +3 -1
- package/esm2020/lib/zdatetime/dateParser.pipe.mjs +4 -4
- package/esm2020/lib/zdatetime/zdatetime.component.mjs +7 -4
- package/esm2020/lib/zdiv/zdiv.component.mjs +19 -11
- 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 +9 -5
- package/esm2020/lib/zgrid/container/zgrid-container.component.mjs +14 -6
- package/esm2020/lib/zgrid/zgrid.component.mjs +11 -6
- package/esm2020/lib/zimg/zimg.component.mjs +10 -6
- package/esm2020/lib/zinput-container/zinput-container.component.mjs +14 -8
- package/esm2020/lib/zinput-container/zinput-container.pipe.mjs +4 -4
- package/esm2020/lib/zlabel/zlabel.component.mjs +11 -5
- package/esm2020/lib/zmfb/zmfb.component.mjs +10 -6
- package/esm2020/lib/zmodal/zmodal-mobile.component.mjs +1 -1
- package/esm2020/lib/zmodal/zmodal.component.mjs +1 -1
- package/esm2020/lib/znumeric/znumeric.component.mjs +8 -3
- package/esm2020/lib/zpostselectinput/zpostselectinput.component.mjs +20 -16
- package/esm2020/lib/zprogressbar/zprogressbar.component.mjs +10 -8
- package/esm2020/lib/zquerybuilder/zquerybuilder.component.mjs +1 -1
- package/esm2020/lib/zreport/zreport.component.mjs +6 -4
- package/esm2020/lib/zscheduler/zscheduler.component.mjs +8 -4
- package/esm2020/lib/zselectmultiple/zselectmultiple.component.mjs +17 -18
- package/esm2020/lib/ztab/ztab.component.mjs +15 -7
- package/esm2020/lib/ztext/ztext.component.mjs +9 -5
- package/esm2020/lib/ztextarea/ztextarea.component.mjs +10 -7
- package/esm2020/lib/ztexteditor/ztexteditor.component.mjs +11 -7
- package/esm2020/lib/ztree/ztree.component.mjs +8 -12
- package/esm2020/lib/ztreelist/ztreelist.component.mjs +10 -6
- package/esm2020/lib/ztrendcard/ztrendcard.component.mjs +1 -1
- package/esm2020/lib/zudf/zudf.component.mjs +10 -12
- package/esm2020/lib/zupload/zupload.component.mjs +5 -4
- package/esm2020/lib/zworkflowbuttons/zworkflowbuttons.component.mjs +9 -5
- package/fesm2015/mmhglobal-dynamicform.mjs +400 -247
- package/fesm2015/mmhglobal-dynamicform.mjs.map +1 -1
- package/fesm2020/mmhglobal-dynamicform.mjs +401 -247
- package/fesm2020/mmhglobal-dynamicform.mjs.map +1 -1
- package/lib/components/buttonfieldbase.component.d.ts +6 -2
- package/lib/components/containerfieldbase.component.d.ts +7 -3
- package/lib/components/datalistingfieldbase.component.d.ts +6 -2
- package/lib/components/fieldbase.component.d.ts +6 -3
- package/lib/components/inputfieldbase.component.d.ts +4 -1
- package/lib/embed-components/input-field-addons/input-field-addons.component.d.ts +6 -2
- package/lib/input-error-message/input-error-message.component.d.ts +6 -3
- package/lib/kcard/kcard.component.d.ts +6 -3
- package/lib/services/zcomponent.service.d.ts +9 -8
- package/lib/sfquerybuilder/sfquerybuilder.component.d.ts +22 -6
- package/lib/uiactionbutton/uiactionbutton.component.d.ts +4 -2
- package/lib/uiappmenucontent/uiappmenucontent.component.d.ts +1 -1
- package/lib/uicontent/uicontent.component.d.ts +1 -1
- package/lib/uiheader/uiheader.component.d.ts +7 -4
- package/lib/uimenucontent/uimenucontent.component.d.ts +3 -0
- package/lib/zbullet/zbullet.component.d.ts +2 -1
- package/lib/zbuttons/zbuttons.component.d.ts +5 -5
- package/lib/zcard/zcard.component.d.ts +3 -2
- package/lib/zchart/zchart.component.d.ts +4 -2
- package/lib/zcheckbox/zcheckbox.component.d.ts +9 -3
- package/lib/zchip/zchip.component.d.ts +6 -2
- package/lib/zcodeeditor/zcodeeditor.component.d.ts +2 -2
- package/lib/zdaterange/zdaterange.component.d.ts +1 -0
- package/lib/zdatetime/dateParser.pipe.d.ts +2 -2
- package/lib/zdatetime/zdatetime.component.d.ts +4 -3
- package/lib/zdiv/zdiv.component.d.ts +8 -2
- package/lib/zform/zform.component.d.ts +1 -1
- package/lib/zformcontrol/zformcontrol.component.d.ts +2 -2
- package/lib/zgauge/zgauge.component.d.ts +4 -2
- package/lib/zgrid/container/zgrid-container.component.d.ts +5 -2
- package/lib/zgrid/zgrid.component.d.ts +6 -4
- package/lib/zimg/zimg.component.d.ts +5 -3
- package/lib/zinput-container/zinput-container.component.d.ts +6 -3
- package/lib/zinput-container/zinput-container.pipe.d.ts +2 -2
- package/lib/zlabel/zlabel.component.d.ts +6 -2
- package/lib/zmfb/zmfb.component.d.ts +4 -2
- package/lib/znumeric/znumeric.component.d.ts +6 -3
- package/lib/zpostselectinput/zpostselectinput.component.d.ts +7 -5
- package/lib/zprogressbar/zprogressbar.component.d.ts +5 -3
- package/lib/zreport/zreport.component.d.ts +5 -2
- package/lib/zscheduler/zscheduler.component.d.ts +3 -1
- package/lib/zselectmultiple/zselectmultiple.component.d.ts +8 -7
- package/lib/ztab/ztab.component.d.ts +6 -2
- package/lib/ztext/ztext.component.d.ts +5 -3
- package/lib/ztextarea/ztextarea.component.d.ts +4 -3
- package/lib/ztexteditor/ztexteditor.component.d.ts +5 -3
- package/lib/ztree/ztree.component.d.ts +4 -3
- package/lib/ztreelist/ztreelist.component.d.ts +5 -3
- package/lib/zudf/zudf.component.d.ts +3 -5
- package/lib/zupload/zupload.component.d.ts +4 -3
- package/lib/zworkflowbuttons/zworkflowbuttons.component.d.ts +5 -3
- package/package.json +1 -1
|
@@ -3,11 +3,12 @@ import { OnInit } from "@angular/core";
|
|
|
3
3
|
/********** Ionic **********/
|
|
4
4
|
/********** Plugin **********/
|
|
5
5
|
/********** Component & Service **********/
|
|
6
|
-
import { ZComponent } from 'mmhglobal-zcore';
|
|
7
6
|
import { FieldBase } from "../components/fieldbase.component";
|
|
8
7
|
import { ZComponentService } from "../services/zcomponent.service";
|
|
8
|
+
import { ZComponent } from 'mmhglobal-zcore';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
10
|
export declare class ZgaugeComponent extends FieldBase implements ZComponent, OnInit {
|
|
11
|
+
componentService: ZComponentService;
|
|
11
12
|
isLoading: boolean;
|
|
12
13
|
private value;
|
|
13
14
|
private title;
|
|
@@ -48,8 +49,9 @@ export declare class ZgaugeComponent extends FieldBase implements ZComponent, On
|
|
|
48
49
|
showLabels: boolean;
|
|
49
50
|
rangeSize: number;
|
|
50
51
|
};
|
|
51
|
-
constructor(
|
|
52
|
+
constructor(componentService: ZComponentService);
|
|
52
53
|
ngOnInit(): void;
|
|
54
|
+
ngAfterViewInit(): void;
|
|
53
55
|
getGaugeStyle(): any;
|
|
54
56
|
private getFieldDeclarationForSetup;
|
|
55
57
|
alignment(): {
|
|
@@ -1,18 +1,21 @@
|
|
|
1
1
|
/********** Angular **********/
|
|
2
2
|
import { OnInit, OnDestroy } from "@angular/core";
|
|
3
3
|
import { DrawerComponent } from "@progress/kendo-angular-layout";
|
|
4
|
+
/********** Component & Service **********/
|
|
4
5
|
import { FieldBase } from "../../components/fieldbase.component";
|
|
5
|
-
import { MainService } from "../../services/main.service";
|
|
6
6
|
import { ZComponentService } from "../../services/zcomponent.service";
|
|
7
|
+
import { MainService } from "../../services/main.service";
|
|
7
8
|
import * as i0 from "@angular/core";
|
|
8
9
|
export declare class ZgridContainerComponent extends FieldBase implements OnInit, OnDestroy {
|
|
10
|
+
componentService: ZComponentService;
|
|
9
11
|
private mainService;
|
|
10
12
|
formPage: any;
|
|
11
13
|
drawer: DrawerComponent;
|
|
12
14
|
innerWidth: any;
|
|
13
15
|
isShowFormPage: boolean;
|
|
14
|
-
constructor(
|
|
16
|
+
constructor(componentService: ZComponentService, mainService: MainService);
|
|
15
17
|
ngOnInit(): void;
|
|
18
|
+
ngAfterViewInit(): void;
|
|
16
19
|
ngOnDestroy(): void;
|
|
17
20
|
private displayFormPage;
|
|
18
21
|
private setupStyle3;
|
|
@@ -11,12 +11,12 @@ 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
|
+
import { DataListingFieldBase } from "../components/datalistingfieldbase.component";
|
|
15
|
+
import { ZComponentService } from "../services/zcomponent.service";
|
|
14
16
|
import { MainService } from "../services/main.service";
|
|
15
17
|
import { ZGridBindingDirective } from "./zgrid.binding.directive";
|
|
16
18
|
import { ElementContainerDirective } from "../directives/elementcontainer.directive";
|
|
17
19
|
import { AuthService, WebApiService, ToastService, ZField, ZGroup, ZComponent, ZComponentOutputEvent, ZCoreService, ZGridStatePersistingService, ZGridPostApiParams, ZGridCustomColumn, StorageSessionService, FontAweSomeService } from 'mmhglobal-zcore';
|
|
18
|
-
import { ZComponentService } from "../services/zcomponent.service";
|
|
19
|
-
import { DataListingFieldBase } from "../components/datalistingfieldbase.component";
|
|
20
20
|
import * as i0 from "@angular/core";
|
|
21
21
|
export interface ZGrid {
|
|
22
22
|
params: ZGridPostApiParams;
|
|
@@ -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
|
+
componentService: ZComponentService;
|
|
39
40
|
fontAweSomeService: FontAweSomeService;
|
|
40
41
|
private activatedRoute;
|
|
41
42
|
private router;
|
|
@@ -56,7 +57,6 @@ export declare class ZgridComponent extends DataListingFieldBase implements ZCom
|
|
|
56
57
|
selectableSettings: SelectableSettings;
|
|
57
58
|
mySelection: any[];
|
|
58
59
|
inlineEditedFormGroups: {};
|
|
59
|
-
private tempInlineEditedFormGroups;
|
|
60
60
|
formGroup: FormGroup;
|
|
61
61
|
previousNext: boolean;
|
|
62
62
|
gridBtn: any;
|
|
@@ -66,6 +66,7 @@ export declare class ZgridComponent extends DataListingFieldBase implements ZCom
|
|
|
66
66
|
isShowAdvFilter: boolean;
|
|
67
67
|
gridTitle: any;
|
|
68
68
|
isInlineEditInputFieldLoading: boolean;
|
|
69
|
+
private tempInlineEditedFormGroups;
|
|
69
70
|
private isColumnHeaderTranslated;
|
|
70
71
|
_state: State;
|
|
71
72
|
params: ZGridPostApiParams;
|
|
@@ -79,8 +80,9 @@ export declare class ZgridComponent extends DataListingFieldBase implements ZCom
|
|
|
79
80
|
gridDefaultStateExist: boolean;
|
|
80
81
|
isNew: boolean;
|
|
81
82
|
private editedRowIndex;
|
|
82
|
-
constructor(
|
|
83
|
+
constructor(componentService: 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);
|
|
83
84
|
ngOnInit(): void;
|
|
85
|
+
ngAfterViewInit(): void;
|
|
84
86
|
ngAfterViewChecked(): void;
|
|
85
87
|
ngOnDestroy(): void;
|
|
86
88
|
get state(): State;
|
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
/********** Angular **********/
|
|
2
2
|
import { OnInit } from "@angular/core";
|
|
3
3
|
/********** Component & Service **********/
|
|
4
|
-
import { ZComponent, AttachmentService } from "mmhglobal-zcore";
|
|
5
|
-
import { ZComponentService } from "../services/zcomponent.service";
|
|
6
4
|
import { InputFieldBase } from "../components/inputfieldbase.component";
|
|
5
|
+
import { ZComponentService } from "../services/zcomponent.service";
|
|
6
|
+
import { ZComponent, AttachmentService } from "mmhglobal-zcore";
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare class ZimgComponent extends InputFieldBase implements ZComponent, OnInit {
|
|
9
|
+
componentService: ZComponentService;
|
|
9
10
|
private attachmentService;
|
|
10
11
|
imgSource: any;
|
|
11
|
-
constructor(
|
|
12
|
+
constructor(componentService: ZComponentService, attachmentService: AttachmentService);
|
|
12
13
|
ngOnInit(): void;
|
|
14
|
+
ngAfterViewInit(): void;
|
|
13
15
|
setImageSource(): void;
|
|
14
16
|
private getImageSource;
|
|
15
17
|
private setImageSize;
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
/********** Angular **********/
|
|
2
2
|
import { OnInit } from "@angular/core";
|
|
3
3
|
import { FormGroup } from "@angular/forms";
|
|
4
|
-
|
|
5
|
-
import { ZComponentService } from "../services/zcomponent.service";
|
|
4
|
+
/********** Component & Service **********/
|
|
6
5
|
import { FieldBase } from "../components/fieldbase.component";
|
|
6
|
+
import { ZComponentService } from "../services/zcomponent.service";
|
|
7
|
+
import { ZComponent, ZComponentOutputEvent, ZField } from 'mmhglobal-zcore';
|
|
7
8
|
import * as i0 from "@angular/core";
|
|
8
9
|
export declare class ZInputContainerComponent extends FieldBase implements ZComponent, OnInit {
|
|
10
|
+
componentService: ZComponentService;
|
|
9
11
|
inputFieldAddOn: {
|
|
10
12
|
top: {};
|
|
11
13
|
left: {};
|
|
@@ -22,8 +24,9 @@ export declare class ZInputContainerComponent extends FieldBase implements ZComp
|
|
|
22
24
|
readonly zupload_type: string[];
|
|
23
25
|
readonly zimg_type: string[];
|
|
24
26
|
readonly ztexteditor_type: string[];
|
|
25
|
-
constructor(
|
|
27
|
+
constructor(componentService: ZComponentService);
|
|
26
28
|
ngOnInit(): void;
|
|
29
|
+
ngAfterViewInit(): void;
|
|
27
30
|
getClass(form: FormGroup, data: ZField): string;
|
|
28
31
|
triggerContainerEvent(event: ZComponentOutputEvent): void;
|
|
29
32
|
private setAddOnValue;
|
|
@@ -7,12 +7,12 @@ export declare class ZInputParser implements PipeTransform {
|
|
|
7
7
|
private resourceApiService;
|
|
8
8
|
private cacheService;
|
|
9
9
|
private webApiService;
|
|
10
|
-
private
|
|
10
|
+
private componentService;
|
|
11
11
|
private readonly zdate_type;
|
|
12
12
|
private readonly zcheckbox_type;
|
|
13
13
|
private readonly zselect_type;
|
|
14
14
|
private nullValueDefaultDisplayText;
|
|
15
|
-
constructor(resourceApiService: ResourceApiService, cacheService: CacheService, webApiService: WebApiService,
|
|
15
|
+
constructor(resourceApiService: ResourceApiService, cacheService: CacheService, webApiService: WebApiService, componentService: ZComponentService);
|
|
16
16
|
transform(value: any, data: ZField, group: ZGroup): Observable<string>;
|
|
17
17
|
private transformTimeValue;
|
|
18
18
|
private getDateTimeFormat;
|
|
@@ -1,13 +1,17 @@
|
|
|
1
|
+
/********** Angular **********/
|
|
1
2
|
import { OnInit } from "@angular/core";
|
|
2
|
-
|
|
3
|
+
/********** Component & Service **********/
|
|
3
4
|
import { InputFieldBase } from "../components/inputfieldbase.component";
|
|
4
5
|
import { ZComponentService } from "../services/zcomponent.service";
|
|
6
|
+
import { FontAweSomeService, ZComponent } from 'mmhglobal-zcore';
|
|
5
7
|
import * as i0 from "@angular/core";
|
|
6
8
|
export declare class ZlabelComponent extends InputFieldBase implements ZComponent, OnInit {
|
|
9
|
+
componentService: ZComponentService;
|
|
7
10
|
fontAweSomeService: FontAweSomeService;
|
|
8
11
|
labelText: string;
|
|
9
|
-
constructor(
|
|
12
|
+
constructor(componentService: ZComponentService, fontAweSomeService: FontAweSomeService);
|
|
10
13
|
ngOnInit(): void;
|
|
14
|
+
ngAfterViewInit(): void;
|
|
11
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<ZlabelComponent, never>;
|
|
12
16
|
static ɵcmp: i0.ɵɵComponentDeclaration<ZlabelComponent, "app-zlabel", never, {}, {}, never, never>;
|
|
13
17
|
}
|
|
@@ -4,11 +4,12 @@ import { OnInit } from "@angular/core";
|
|
|
4
4
|
/********** Plugin **********/
|
|
5
5
|
import { DialItemClickEvent, FabAlign, FabPositionMode } from '@progress/kendo-angular-buttons';
|
|
6
6
|
/********** Component & Service **********/
|
|
7
|
-
import { FieldService, ResourceApiService, WorkflowService, ZComponent } from 'mmhglobal-zcore';
|
|
8
7
|
import { ButtonFieldBase } from "../components/buttonfieldbase.component";
|
|
9
8
|
import { ZComponentService } from "../services/zcomponent.service";
|
|
9
|
+
import { FieldService, ResourceApiService, WorkflowService, ZComponent } from 'mmhglobal-zcore';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
11
|
export declare class ZmfbComponent extends ButtonFieldBase implements ZComponent, OnInit {
|
|
12
|
+
componentService: ZComponentService;
|
|
12
13
|
private fieldService;
|
|
13
14
|
private resourceApiService;
|
|
14
15
|
private workflowService;
|
|
@@ -19,8 +20,9 @@ export declare class ZmfbComponent extends ButtonFieldBase implements ZComponent
|
|
|
19
20
|
isWorkflowButton: boolean;
|
|
20
21
|
buttonColor: string;
|
|
21
22
|
private buttonField;
|
|
22
|
-
constructor(
|
|
23
|
+
constructor(componentService: ZComponentService, fieldService: FieldService, resourceApiService: ResourceApiService, workflowService: WorkflowService);
|
|
23
24
|
ngOnInit(): void;
|
|
25
|
+
ngAfterViewInit(): void;
|
|
24
26
|
private setupComponent;
|
|
25
27
|
onBlur(): void;
|
|
26
28
|
onFocus(): void;
|
|
@@ -1,19 +1,22 @@
|
|
|
1
1
|
/********** Angular **********/
|
|
2
2
|
import { OnInit } from '@angular/core';
|
|
3
3
|
/********** Ionic **********/
|
|
4
|
+
/********** Plugin **********/
|
|
5
|
+
import { NumericTextBoxComponent } from '@progress/kendo-angular-inputs';
|
|
4
6
|
/********** Component & Service **********/
|
|
5
|
-
import { ZComponent } from "mmhglobal-zcore";
|
|
6
7
|
import { InputFieldBase } from '../components/inputfieldbase.component';
|
|
7
8
|
import { ZComponentService } from '../services/zcomponent.service';
|
|
8
|
-
import {
|
|
9
|
+
import { ZComponent } from "mmhglobal-zcore";
|
|
9
10
|
import * as i0 from "@angular/core";
|
|
10
11
|
export declare class ZnumericComponent extends InputFieldBase implements ZComponent, OnInit {
|
|
12
|
+
componentService: ZComponentService;
|
|
11
13
|
numeric: NumericTextBoxComponent;
|
|
12
14
|
inputMode: string;
|
|
13
15
|
minValue: number;
|
|
14
16
|
maxValue: number;
|
|
15
|
-
constructor(
|
|
17
|
+
constructor(componentService: ZComponentService);
|
|
16
18
|
ngOnInit(): void;
|
|
19
|
+
ngAfterViewInit(): void;
|
|
17
20
|
setMinValue(newValue: number): void;
|
|
18
21
|
setMaxValue(newValue: number): void;
|
|
19
22
|
focus(): boolean;
|
|
@@ -4,13 +4,14 @@ import { OnInit, OnDestroy } from "@angular/core";
|
|
|
4
4
|
import { IonicSelectableComponent } from "ionic-selectable";
|
|
5
5
|
/********** Plugin **********/
|
|
6
6
|
import { Observable } from "rxjs";
|
|
7
|
+
import { ComboBoxComponent } from "@progress/kendo-angular-dropdowns";
|
|
7
8
|
/********** Component & Service **********/
|
|
8
|
-
import { CacheService, ResourceApiService, WebApiService, ZComponent } from "mmhglobal-zcore";
|
|
9
9
|
import { InputFieldBase } from "../components/inputfieldbase.component";
|
|
10
10
|
import { ZComponentService } from "../services/zcomponent.service";
|
|
11
|
-
import {
|
|
11
|
+
import { CacheService, ResourceApiService, WebApiService, ZComponent } from "mmhglobal-zcore";
|
|
12
12
|
import * as i0 from "@angular/core";
|
|
13
13
|
export declare class ZpostselectinputComponent extends InputFieldBase implements ZComponent, OnInit, OnDestroy {
|
|
14
|
+
componentService: ZComponentService;
|
|
14
15
|
private resourceApiService;
|
|
15
16
|
private webApiService;
|
|
16
17
|
private cacheService;
|
|
@@ -27,11 +28,12 @@ export declare class ZpostselectinputComponent extends InputFieldBase implements
|
|
|
27
28
|
itemTemplate: string;
|
|
28
29
|
infiniteScrollPageNo: number;
|
|
29
30
|
isLoading: boolean;
|
|
30
|
-
private debounceSub;
|
|
31
31
|
dataInfo: {};
|
|
32
|
-
|
|
33
|
-
|
|
32
|
+
private debounceSub;
|
|
33
|
+
constructor(componentService: ZComponentService, resourceApiService: ResourceApiService, webApiService: WebApiService, cacheService: CacheService);
|
|
34
34
|
ngOnInit(): void;
|
|
35
|
+
ngAfterViewInit(): void;
|
|
36
|
+
ngOnDestroy(): void;
|
|
35
37
|
lazyLoadDataOptions(): Observable<any>;
|
|
36
38
|
getItemsData(): any;
|
|
37
39
|
onChangeCC_desktop(event: any): void;
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
/********** Angular **********/
|
|
2
2
|
import { OnInit } from "@angular/core";
|
|
3
|
-
import { LabelSettings, ProgressBarAnimation } from "@progress/kendo-angular-progressbar";
|
|
4
3
|
/********** Ionic **********/
|
|
5
4
|
/********** Plugin **********/
|
|
5
|
+
import { LabelSettings, ProgressBarAnimation } from "@progress/kendo-angular-progressbar";
|
|
6
6
|
/********** Component & Service **********/
|
|
7
|
-
import { ZComponent } from 'mmhglobal-zcore';
|
|
8
7
|
import { FieldBase } from "../components/fieldbase.component";
|
|
9
8
|
import { ZComponentService } from "../services/zcomponent.service";
|
|
9
|
+
import { ZComponent } from 'mmhglobal-zcore';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
11
|
export declare class ZprogressbarComponent extends FieldBase implements ZComponent, OnInit {
|
|
12
|
+
componentService: ZComponentService;
|
|
12
13
|
private animation;
|
|
13
14
|
private label;
|
|
14
15
|
value: any;
|
|
@@ -21,8 +22,9 @@ export declare class ZprogressbarComponent extends FieldBase implements ZCompone
|
|
|
21
22
|
progressStyles: any;
|
|
22
23
|
emptyStyles: any;
|
|
23
24
|
};
|
|
24
|
-
constructor(
|
|
25
|
+
constructor(componentService: ZComponentService);
|
|
25
26
|
ngOnInit(): void;
|
|
27
|
+
ngAfterViewInit(): void;
|
|
26
28
|
static ɵfac: i0.ɵɵFactoryDeclaration<ZprogressbarComponent, never>;
|
|
27
29
|
static ɵcmp: i0.ɵɵComponentDeclaration<ZprogressbarComponent, "app-zprogressbar", never, {}, {}, never, never>;
|
|
28
30
|
}
|
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
/********** Angular **********/
|
|
2
2
|
import { OnInit, AfterViewInit } from "@angular/core";
|
|
3
|
+
/********** Ionic **********/
|
|
4
|
+
/********** Plugin **********/
|
|
3
5
|
import { TelerikReportViewerComponent } from "@progress/telerik-angular-report-viewer";
|
|
4
6
|
/********** Component & Service **********/
|
|
5
|
-
import { FontAweSomeService, ResourceApiService } from "mmhglobal-zcore";
|
|
6
7
|
import { FieldBase } from "../components/fieldbase.component";
|
|
7
8
|
import { ZComponentService } from "../services/zcomponent.service";
|
|
9
|
+
import { FontAweSomeService, ResourceApiService } from "mmhglobal-zcore";
|
|
8
10
|
import * as i0 from "@angular/core";
|
|
9
11
|
export declare class ZreportComponent extends FieldBase implements OnInit, AfterViewInit {
|
|
12
|
+
componentService: ZComponentService;
|
|
10
13
|
fontAweSomeService: FontAweSomeService;
|
|
11
14
|
private resourceApiService;
|
|
12
15
|
viewer: TelerikReportViewerComponent;
|
|
@@ -21,7 +24,7 @@ export declare class ZreportComponent extends FieldBase implements OnInit, After
|
|
|
21
24
|
resourceURL: any;
|
|
22
25
|
ReportSource: any;
|
|
23
26
|
private paramToResizeReportViewer;
|
|
24
|
-
constructor(
|
|
27
|
+
constructor(componentService: ZComponentService, fontAweSomeService: FontAweSomeService, resourceApiService: ResourceApiService);
|
|
25
28
|
ngOnInit(): void;
|
|
26
29
|
ngAfterViewInit(): void;
|
|
27
30
|
ready(): void;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
+
/********** Angular **********/
|
|
1
2
|
import { OnInit, ChangeDetectorRef, AfterViewInit } from "@angular/core";
|
|
2
|
-
import { ZComponent, ZGroup, ZField, ZComponentProperties, StorageSessionService, AuthService } from "mmhglobal-zcore";
|
|
3
3
|
import { FormGroup } from "@angular/forms";
|
|
4
4
|
import { DateChangeEvent, SlotClickEvent, EventClickEvent, EventStyleArgs, SlotClassArgs } from "@progress/kendo-angular-scheduler";
|
|
5
|
+
/********** Component & Service **********/
|
|
6
|
+
import { ZComponent, ZGroup, ZField, ZComponentProperties, StorageSessionService, AuthService } from "mmhglobal-zcore";
|
|
5
7
|
import * as i0 from "@angular/core";
|
|
6
8
|
export declare class ZschedulerComponent implements ZComponent, OnInit, AfterViewInit {
|
|
7
9
|
private changeDetector;
|
|
@@ -4,18 +4,19 @@ import { OnInit, OnDestroy } from "@angular/core";
|
|
|
4
4
|
import { IonicSelectableComponent } from "ionic-selectable";
|
|
5
5
|
/********** Plugin **********/
|
|
6
6
|
import { Observable } from "rxjs";
|
|
7
|
+
import { FilterExpandSettings } from "@progress/kendo-angular-treeview";
|
|
8
|
+
import { ComboBoxComponent, DropDownFilterSettings, MultiSelectComponent, MultiSelectTreeComponent } from "@progress/kendo-angular-dropdowns";
|
|
7
9
|
/********** Component & Service **********/
|
|
8
|
-
import { ResourceApiService, WebApiService, CacheService, ClickableIcons, ZComponent } from "mmhglobal-zcore";
|
|
9
10
|
import { InputFieldBase } from "../components/inputfieldbase.component";
|
|
10
11
|
import { ZComponentService } from "../services/zcomponent.service";
|
|
11
|
-
import {
|
|
12
|
-
import { ComboBoxComponent, DropDownFilterSettings, MultiSelectComponent, MultiSelectTreeComponent } from "@progress/kendo-angular-dropdowns";
|
|
12
|
+
import { ResourceApiService, WebApiService, CacheService, FieldService, ZComponent, ClickableIcons } from "mmhglobal-zcore";
|
|
13
13
|
import * as i0 from "@angular/core";
|
|
14
14
|
export declare class ZselectmultipleComponent extends InputFieldBase implements ZComponent, OnInit, OnDestroy {
|
|
15
|
+
componentService: ZComponentService;
|
|
15
16
|
private resourceApiService;
|
|
16
17
|
private webApiService;
|
|
17
18
|
private cacheService;
|
|
18
|
-
|
|
19
|
+
private fieldService;
|
|
19
20
|
comboboxComponent: ComboBoxComponent;
|
|
20
21
|
multiselect: MultiSelectComponent;
|
|
21
22
|
multiselecttree: MultiSelectTreeComponent;
|
|
@@ -32,17 +33,17 @@ export declare class ZselectmultipleComponent extends InputFieldBase implements
|
|
|
32
33
|
itemTemplate: string;
|
|
33
34
|
infiniteScrollPageNo: number;
|
|
34
35
|
isLoading: boolean;
|
|
35
|
-
private debounceSub;
|
|
36
36
|
allowCustomValue: boolean;
|
|
37
37
|
autoClose: boolean;
|
|
38
38
|
parsedItemsData: any[];
|
|
39
39
|
dataInfo: {};
|
|
40
|
+
private debounceSub;
|
|
40
41
|
filterSettings: DropDownFilterSettings;
|
|
41
|
-
constructor(resourceApiService: ResourceApiService, webApiService: WebApiService, cacheService: CacheService,
|
|
42
|
-
ngOnDestroy(): void;
|
|
42
|
+
constructor(componentService: ZComponentService, resourceApiService: ResourceApiService, webApiService: WebApiService, cacheService: CacheService, fieldService: FieldService);
|
|
43
43
|
virtual: any;
|
|
44
44
|
ngOnInit(): void;
|
|
45
45
|
ngAfterViewInit(): void;
|
|
46
|
+
ngOnDestroy(): void;
|
|
46
47
|
private autoSelectFirstOption;
|
|
47
48
|
lazyLoadDataOptions(): Observable<any>;
|
|
48
49
|
getInfiniteData(event: {
|
|
@@ -1,11 +1,14 @@
|
|
|
1
|
+
/********** Angular **********/
|
|
1
2
|
import { OnInit } from '@angular/core';
|
|
2
3
|
import { TabStripComponent } from '@progress/kendo-angular-layout';
|
|
3
|
-
|
|
4
|
+
/********** Component & Service **********/
|
|
4
5
|
import { ContainerFieldBase } from '../components/containerfieldbase.component';
|
|
5
6
|
import { ZComponentService } from '../services/zcomponent.service';
|
|
6
7
|
import { MainService } from '../services/main.service';
|
|
8
|
+
import { FontAweSomeService, StorageSessionService, TranslationService, ZComponent, ZTabItem } from 'mmhglobal-zcore';
|
|
7
9
|
import * as i0 from "@angular/core";
|
|
8
10
|
export declare class ZtabComponent extends ContainerFieldBase implements ZComponent, OnInit {
|
|
11
|
+
componentService: ZComponentService;
|
|
9
12
|
fontAweSomeService: FontAweSomeService;
|
|
10
13
|
private translationService;
|
|
11
14
|
private storageService;
|
|
@@ -16,8 +19,9 @@ export declare class ZtabComponent extends ContainerFieldBase implements ZCompon
|
|
|
16
19
|
currentTabs: ZTabItem[];
|
|
17
20
|
allTabs: ZTabItem[];
|
|
18
21
|
};
|
|
19
|
-
constructor(
|
|
22
|
+
constructor(componentService: ZComponentService, fontAweSomeService: FontAweSomeService, translationService: TranslationService, storageService: StorageSessionService, mainService: MainService);
|
|
20
23
|
ngOnInit(): void;
|
|
24
|
+
ngAfterViewInit(): void;
|
|
21
25
|
private setCurrentTabs;
|
|
22
26
|
private refreshCurrentTabs;
|
|
23
27
|
selectTab: (index: number) => void;
|
|
@@ -2,19 +2,21 @@
|
|
|
2
2
|
import { OnInit } from "@angular/core";
|
|
3
3
|
/********** Ionic **********/
|
|
4
4
|
/********** Plugin **********/
|
|
5
|
+
import { TextBoxComponent } from "@progress/kendo-angular-inputs";
|
|
5
6
|
/********** Component & Service **********/
|
|
6
|
-
import { ZComponent, ClickableIcons, AdornmentProperties } from 'mmhglobal-zcore';
|
|
7
7
|
import { InputFieldBase } from "../components/inputfieldbase.component";
|
|
8
8
|
import { ZComponentService } from "../services/zcomponent.service";
|
|
9
|
-
import {
|
|
9
|
+
import { ZComponent, ClickableIcons, AdornmentProperties } from 'mmhglobal-zcore';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
11
|
export declare class ZtextComponent extends InputFieldBase implements ZComponent, OnInit {
|
|
12
|
+
componentService: ZComponentService;
|
|
12
13
|
textbox: TextBoxComponent;
|
|
13
14
|
iconList: ClickableIcons[];
|
|
14
15
|
adornmentList: any[];
|
|
15
16
|
showClearButton: any;
|
|
16
|
-
constructor(
|
|
17
|
+
constructor(componentService: ZComponentService);
|
|
17
18
|
ngOnInit(): void;
|
|
19
|
+
ngAfterViewInit(): void;
|
|
18
20
|
private setupClickableIconList;
|
|
19
21
|
mapInputType(fieldType: string): string;
|
|
20
22
|
mapInputMode(fieldType: string): string;
|
|
@@ -2,17 +2,18 @@
|
|
|
2
2
|
import { OnInit } from '@angular/core';
|
|
3
3
|
/********** Ionic **********/
|
|
4
4
|
/********** Plugin **********/
|
|
5
|
+
import { TextAreaComponent } from '@progress/kendo-angular-inputs';
|
|
5
6
|
/********** Component & Service **********/
|
|
6
|
-
import { ZComponent } from 'mmhglobal-zcore';
|
|
7
7
|
import { InputFieldBase } from '../components/inputfieldbase.component';
|
|
8
8
|
import { ZComponentService } from '../services/zcomponent.service';
|
|
9
|
-
import {
|
|
9
|
+
import { ZComponent } from 'mmhglobal-zcore';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
11
|
export declare class ZtextareaComponent extends InputFieldBase implements ZComponent, OnInit {
|
|
12
12
|
textarea: TextAreaComponent;
|
|
13
|
-
constructor(
|
|
13
|
+
constructor(componentService: ZComponentService);
|
|
14
14
|
charCounterDisplayStr: string;
|
|
15
15
|
ngOnInit(): void;
|
|
16
|
+
ngAfterViewInit(): void;
|
|
16
17
|
private setCharCounterDisplayStr;
|
|
17
18
|
onChange(event: any, fieldValue?: any): void;
|
|
18
19
|
focus(): boolean;
|
|
@@ -1,17 +1,19 @@
|
|
|
1
1
|
/********** Angular **********/
|
|
2
2
|
import { OnInit } from '@angular/core';
|
|
3
|
-
import { EditorComponent } from '@progress/kendo-angular-editor';
|
|
4
3
|
/********** Ionic **********/
|
|
5
4
|
/********** Plugin **********/
|
|
5
|
+
import { EditorComponent } from '@progress/kendo-angular-editor';
|
|
6
6
|
/********** Component & Service **********/
|
|
7
|
-
import { ZComponent } from 'mmhglobal-zcore';
|
|
8
7
|
import { InputFieldBase } from '../components/inputfieldbase.component';
|
|
9
8
|
import { ZComponentService } from '../services/zcomponent.service';
|
|
9
|
+
import { ZComponent } from 'mmhglobal-zcore';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
11
|
export declare class ZtexteditorComponent extends InputFieldBase implements ZComponent, OnInit {
|
|
12
|
+
componentService: ZComponentService;
|
|
12
13
|
editor: EditorComponent;
|
|
13
|
-
constructor(
|
|
14
|
+
constructor(componentService: ZComponentService);
|
|
14
15
|
ngOnInit(): void;
|
|
16
|
+
ngAfterViewInit(): void;
|
|
15
17
|
onChange(value: any): void;
|
|
16
18
|
focus(): boolean;
|
|
17
19
|
openFileExplorer(): void;
|
|
@@ -4,16 +4,16 @@ import { OnInit, ElementRef, AfterViewInit } from "@angular/core";
|
|
|
4
4
|
/********** Plugin **********/
|
|
5
5
|
import { TreeItemDropEvent, TreeItemDragEvent, SelectableSettings } from "@progress/kendo-angular-treeview";
|
|
6
6
|
/********** Component & Service **********/
|
|
7
|
-
import { ZComponent, ZField, ZGroup } from "mmhglobal-zcore";
|
|
8
7
|
import { DataListingFieldBase } from "../components/datalistingfieldbase.component";
|
|
9
8
|
import { ZComponentService } from "../services/zcomponent.service";
|
|
9
|
+
import { ZComponent, ZField, ZGroup } from "mmhglobal-zcore";
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
11
|
export declare class ZtreeComponent extends DataListingFieldBase implements ZComponent, OnInit, AfterViewInit {
|
|
12
|
+
componentService: ZComponentService;
|
|
12
13
|
nodetemplate: ElementRef;
|
|
13
14
|
items: Array<any>;
|
|
14
15
|
originalItems: Array<any>;
|
|
15
16
|
isNodeDrop: boolean;
|
|
16
|
-
private clickActName;
|
|
17
17
|
state: {
|
|
18
18
|
expandedkeys: any[];
|
|
19
19
|
};
|
|
@@ -22,7 +22,8 @@ export declare class ZtreeComponent extends DataListingFieldBase implements ZCom
|
|
|
22
22
|
selection: SelectableSettings;
|
|
23
23
|
nodes: any[];
|
|
24
24
|
private allNodesWitoutHierachy;
|
|
25
|
-
|
|
25
|
+
private clickActName;
|
|
26
|
+
constructor(componentService: ZComponentService);
|
|
26
27
|
ngOnInit(): void;
|
|
27
28
|
ngAfterViewInit(): void;
|
|
28
29
|
private setAllOriginalItems;
|
|
@@ -6,9 +6,9 @@ import { ActivatedRoute, Router } from '@angular/router';
|
|
|
6
6
|
import { Subscription, Subject } from 'rxjs';
|
|
7
7
|
import { CellClickEvent, ExpandEvent, ScrollMode } from '@progress/kendo-angular-treelist';
|
|
8
8
|
/********** Component & Service **********/
|
|
9
|
-
import { ZComponent, FieldService, WebApiService, AuthService } from "mmhglobal-zcore";
|
|
10
|
-
import { ZComponentService } from "../services/zcomponent.service";
|
|
11
9
|
import { DataListingFieldBase } from "../components/datalistingfieldbase.component";
|
|
10
|
+
import { ZComponentService } from "../services/zcomponent.service";
|
|
11
|
+
import { FieldService, WebApiService, AuthService, ZComponent } from "mmhglobal-zcore";
|
|
12
12
|
import * as i0 from "@angular/core";
|
|
13
13
|
export interface ZTreeListColumn {
|
|
14
14
|
field: string;
|
|
@@ -43,6 +43,7 @@ export declare class ZTreeListOptions {
|
|
|
43
43
|
constructor(sortable?: boolean, resizable?: boolean, filterable?: boolean, reorderable?: boolean, columnMenu?: boolean, scrollable?: ScrollMode, refresh?: boolean, autoBind?: boolean, dataSource?: string, dataBound?: any, idField?: string, parentIdField?: string, columns?: Array<any>, aggregate?: any, pageAble?: any);
|
|
44
44
|
}
|
|
45
45
|
export declare class ZtreelistComponent extends DataListingFieldBase implements ZComponent, OnInit, OnDestroy {
|
|
46
|
+
componentService: ZComponentService;
|
|
46
47
|
private fieldService;
|
|
47
48
|
private webapiService;
|
|
48
49
|
private activatedRoute;
|
|
@@ -61,8 +62,9 @@ export declare class ZtreelistComponent extends DataListingFieldBase implements
|
|
|
61
62
|
isLoading: boolean;
|
|
62
63
|
treelistSubject: Subject<any>;
|
|
63
64
|
private expandedIds;
|
|
64
|
-
constructor(
|
|
65
|
+
constructor(componentService: ZComponentService, fieldService: FieldService, webapiService: WebApiService, activatedRoute: ActivatedRoute, router: Router, authService: AuthService);
|
|
65
66
|
ngOnInit(): void;
|
|
67
|
+
ngAfterViewInit(): void;
|
|
66
68
|
ngOnDestroy(): void;
|
|
67
69
|
setData: (gData: any) => void;
|
|
68
70
|
isButtonHidden(col: any, cellContain: any): any;
|
|
@@ -2,18 +2,16 @@
|
|
|
2
2
|
import { OnInit, ChangeDetectorRef } from "@angular/core";
|
|
3
3
|
import { FormGroup } from "@angular/forms";
|
|
4
4
|
/********** Component & Service **********/
|
|
5
|
-
import { ZComponent, ZField,
|
|
5
|
+
import { ZComponent, ZField, FieldService, ToastService, ZGroup, ZComponentProperties } from 'mmhglobal-zcore';
|
|
6
6
|
import { ComponentErrorHandlerService } from "../services/component-error-handler.service";
|
|
7
7
|
import { ContainerFieldBase } from "../components/containerfieldbase.component";
|
|
8
8
|
import { ZComponentService } from "../services/zcomponent.service";
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
10
|
export declare class ZudfComponent extends ContainerFieldBase implements ZComponent, OnInit {
|
|
11
|
-
|
|
12
|
-
private authService;
|
|
11
|
+
componentService: ZComponentService;
|
|
13
12
|
private fieldService;
|
|
14
13
|
private toastService;
|
|
15
14
|
private componentErrorHandlerService;
|
|
16
|
-
componentService: ZComponentService;
|
|
17
15
|
private cdr;
|
|
18
16
|
componentProperties: ZComponentProperties;
|
|
19
17
|
initialDataValue: any;
|
|
@@ -29,7 +27,7 @@ export declare class ZudfComponent extends ContainerFieldBase implements ZCompon
|
|
|
29
27
|
readonly prefixCustomAddButtonOnClick = "_CustomAddButtonOnClick";
|
|
30
28
|
readonly prefixCustomResetButtonOnClick = "_CustomResetButtonOnClick";
|
|
31
29
|
readonly prefixCustomRemoveButtonOnClick = "_CustomRemoveButtonOnClick";
|
|
32
|
-
constructor(
|
|
30
|
+
constructor(componentService: ZComponentService, fieldService: FieldService, toastService: ToastService, componentErrorHandlerService: ComponentErrorHandlerService, cdr: ChangeDetectorRef);
|
|
33
31
|
ngOnInit(): void;
|
|
34
32
|
/**
|
|
35
33
|
* Renders the field element and sets up the form.
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import { OnInit, NgZone } from "@angular/core";
|
|
3
3
|
import { FileInfo, SuccessEvent, RemoveEvent, UploadEvent, FileRestrictions, ChunkSettings, SelectEvent, UploadComponent } from "@progress/kendo-angular-upload";
|
|
4
4
|
/********** Component & Service **********/
|
|
5
|
-
import { AuthService, ZCoreService, CompressImageService, ZComponent } from "mmhglobal-zcore";
|
|
6
|
-
import { ZComponentService } from "../services/zcomponent.service";
|
|
7
5
|
import { InputFieldBase } from "../components/inputfieldbase.component";
|
|
6
|
+
import { ZComponentService } from "../services/zcomponent.service";
|
|
7
|
+
import { AuthService, ZCoreService, CompressImageService, ZComponent } from "mmhglobal-zcore";
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
export declare class MyFileInfo implements FileInfo {
|
|
10
10
|
name: string;
|
|
@@ -12,6 +12,7 @@ export declare class MyFileInfo implements FileInfo {
|
|
|
12
12
|
myUid?: string;
|
|
13
13
|
}
|
|
14
14
|
export declare class ZuploadComponent extends InputFieldBase implements ZComponent, OnInit {
|
|
15
|
+
componentService: ZComponentService;
|
|
15
16
|
private authService;
|
|
16
17
|
private compressImage;
|
|
17
18
|
private zcoreService;
|
|
@@ -30,7 +31,7 @@ export declare class ZuploadComponent extends InputFieldBase implements ZCompone
|
|
|
30
31
|
fileList: any[];
|
|
31
32
|
restrictions: FileRestrictions;
|
|
32
33
|
chunkSettings: ChunkSettings;
|
|
33
|
-
constructor(
|
|
34
|
+
constructor(componentService: ZComponentService, authService: AuthService, compressImage: CompressImageService, zcoreService: ZCoreService, ngZone: NgZone);
|
|
34
35
|
ngOnInit(): void;
|
|
35
36
|
onSuccess(e: SuccessEvent): void;
|
|
36
37
|
private compressionConfigHandler;
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
/********** Angular **********/
|
|
2
2
|
import { OnInit } from '@angular/core';
|
|
3
|
-
|
|
3
|
+
/********** Component & Service **********/
|
|
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
|
+
import { WebApiService, ResourceApiService, WorkflowService, FontAweSomeService, ZComponent } from 'mmhglobal-zcore';
|
|
7
8
|
import * as i0 from "@angular/core";
|
|
8
9
|
export declare class ZworkflowbuttonsComponent extends ButtonFieldBase implements ZComponent, OnInit {
|
|
9
|
-
|
|
10
|
+
componentService: ZComponentService;
|
|
10
11
|
fontAweSomeService: FontAweSomeService;
|
|
11
12
|
private webApiService;
|
|
12
13
|
private resourceApiService;
|
|
@@ -18,8 +19,9 @@ export declare class ZworkflowbuttonsComponent extends ButtonFieldBase implement
|
|
|
18
19
|
dataFormFields: any;
|
|
19
20
|
isLoading: boolean;
|
|
20
21
|
isLocalHostAPI: boolean;
|
|
21
|
-
constructor(
|
|
22
|
+
constructor(componentService: ZComponentService, fontAweSomeService: FontAweSomeService, webApiService: WebApiService, resourceApiService: ResourceApiService, componentErrorHandler: ComponentErrorHandlerService, workflowService: WorkflowService);
|
|
22
23
|
ngOnInit(): void;
|
|
24
|
+
ngAfterViewInit(): void;
|
|
23
25
|
loadButton(): void;
|
|
24
26
|
buttonClick(button: any): void;
|
|
25
27
|
private appendToAttributeUsefulDetail;
|