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
|
@@ -1,13 +1,17 @@
|
|
|
1
|
+
/********** Ionic **********/
|
|
2
|
+
/********** Plugin **********/
|
|
3
|
+
import { Observable } from "rxjs";
|
|
4
|
+
/********** Component & Service **********/
|
|
1
5
|
import { FieldBase } from "./fieldbase.component";
|
|
2
6
|
import { ZComponentService } from "../services/zcomponent.service";
|
|
3
|
-
import { Observable } from "rxjs";
|
|
4
7
|
import * as i0 from "@angular/core";
|
|
5
8
|
export declare class ButtonFieldBase extends FieldBase {
|
|
9
|
+
componentService: ZComponentService;
|
|
6
10
|
leftBtns: Array<any>;
|
|
7
11
|
rightBtns: Array<any>;
|
|
8
12
|
items: Array<any>;
|
|
9
13
|
FirstZbtn: boolean;
|
|
10
|
-
constructor(
|
|
14
|
+
constructor(componentService: ZComponentService);
|
|
11
15
|
initComponent(): Observable<any>;
|
|
12
16
|
isBtnVisible(fieldExpr: any): any;
|
|
13
17
|
getButtonLabel(button: any): any;
|
|
@@ -1,14 +1,18 @@
|
|
|
1
|
-
|
|
1
|
+
/********** Ionic **********/
|
|
2
|
+
/********** Plugin **********/
|
|
3
|
+
import { Observable } from "rxjs";
|
|
4
|
+
/********** Component & Service **********/
|
|
2
5
|
import { FieldBase } from "./fieldbase.component";
|
|
3
6
|
import { ZComponentService } from "../services/zcomponent.service";
|
|
4
|
-
import {
|
|
7
|
+
import { ZField } from "mmhglobal-zcore";
|
|
5
8
|
import * as i0 from "@angular/core";
|
|
6
9
|
export declare class ContainerFieldBase extends FieldBase {
|
|
10
|
+
componentService: ZComponentService;
|
|
7
11
|
toolbarItemList: {
|
|
8
12
|
name: string;
|
|
9
13
|
text: string;
|
|
10
14
|
}[];
|
|
11
|
-
constructor(
|
|
15
|
+
constructor(componentService: ZComponentService);
|
|
12
16
|
ComponentIsVisible(field: ZField): any;
|
|
13
17
|
initComponent(): Observable<any>;
|
|
14
18
|
translateToolBarItems(): Observable<any>;
|
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
/********** Angular **********/
|
|
2
2
|
import { EventEmitter } from "@angular/core";
|
|
3
|
+
/********** Ionic **********/
|
|
4
|
+
/********** Plugin **********/
|
|
5
|
+
import { Observable } from "rxjs";
|
|
6
|
+
/********** Component & Service **********/
|
|
3
7
|
import { FieldBase } from "./fieldbase.component";
|
|
4
8
|
import { ZComponentService } from "../services/zcomponent.service";
|
|
5
9
|
import { ZField } from "mmhglobal-zcore";
|
|
6
|
-
import { Observable } from "rxjs";
|
|
7
10
|
import * as i0 from "@angular/core";
|
|
8
11
|
export declare class DataListingFieldBase extends FieldBase {
|
|
12
|
+
componentService: ZComponentService;
|
|
9
13
|
showFormPage: EventEmitter<boolean>;
|
|
10
14
|
private popovercontainer;
|
|
11
15
|
protected popoverData: any[];
|
|
@@ -13,7 +17,7 @@ export declare class DataListingFieldBase extends FieldBase {
|
|
|
13
17
|
name: string;
|
|
14
18
|
text: string;
|
|
15
19
|
}[];
|
|
16
|
-
constructor(
|
|
20
|
+
constructor(componentService: ZComponentService);
|
|
17
21
|
initComponent(): Observable<any>;
|
|
18
22
|
getGridColumnStyle(): any;
|
|
19
23
|
getGridHeaderStyle(): any;
|
|
@@ -1,17 +1,20 @@
|
|
|
1
1
|
import { FormGroup } from "@angular/forms";
|
|
2
|
-
|
|
2
|
+
/********** Ionic **********/
|
|
3
|
+
/********** Plugin **********/
|
|
3
4
|
import { Observable } from "rxjs";
|
|
5
|
+
/********** Component & Service **********/
|
|
4
6
|
import { ZComponentService } from "../services/zcomponent.service";
|
|
7
|
+
import { FontAweSomeService, ZComponentProperties, ZField, ZGroup } from "mmhglobal-zcore";
|
|
5
8
|
import * as i0 from "@angular/core";
|
|
6
9
|
export declare class FieldBase {
|
|
7
|
-
|
|
10
|
+
componentService: ZComponentService;
|
|
8
11
|
data: ZField;
|
|
9
12
|
group: ZGroup;
|
|
10
13
|
form: FormGroup;
|
|
11
14
|
containerField: ZField;
|
|
12
15
|
componentProperties: ZComponentProperties;
|
|
13
16
|
isLoading: boolean;
|
|
14
|
-
constructor(
|
|
17
|
+
constructor(componentService: ZComponentService);
|
|
15
18
|
initComponent(): Observable<any>;
|
|
16
19
|
setupInnerField(): void;
|
|
17
20
|
isMobileScreen(): boolean;
|
|
@@ -1,10 +1,13 @@
|
|
|
1
|
+
/********** Angular **********/
|
|
1
2
|
import { EventEmitter } from "@angular/core";
|
|
3
|
+
/********** Component & Service **********/
|
|
2
4
|
import { FieldBase } from "./fieldbase.component";
|
|
3
5
|
import { ZComponentService } from "../services/zcomponent.service";
|
|
4
6
|
import * as i0 from "@angular/core";
|
|
5
7
|
export declare class InputFieldBase extends FieldBase {
|
|
8
|
+
componentService: ZComponentService;
|
|
6
9
|
triggerContainerEvent: EventEmitter<any>;
|
|
7
|
-
constructor(
|
|
10
|
+
constructor(componentService: ZComponentService);
|
|
8
11
|
onClick(event: any, fieldValue?: any): void;
|
|
9
12
|
onChangeCC(event: any, fieldValue?: any): void;
|
|
10
13
|
onChange(event: any, fieldValue?: any): void;
|
|
@@ -1,14 +1,18 @@
|
|
|
1
|
+
/********** Angular **********/
|
|
1
2
|
import { OnInit, SimpleChanges } from "@angular/core";
|
|
2
|
-
|
|
3
|
+
/********** Ionic **********/
|
|
4
|
+
/********** Plugin **********/
|
|
5
|
+
/********** Component & Service **********/
|
|
3
6
|
import { InputFieldBase } from "../../components/inputfieldbase.component";
|
|
4
7
|
import { ZComponentService } from "../../services/zcomponent.service";
|
|
8
|
+
import { FontAweSomeService, InputFieldAddOns, TranslationService, ZComponent } from 'mmhglobal-zcore';
|
|
5
9
|
import * as i0 from "@angular/core";
|
|
6
10
|
export declare class InputFieldAddOnsComponent extends InputFieldBase implements ZComponent, OnInit {
|
|
7
11
|
fontAweSomeService: FontAweSomeService;
|
|
8
12
|
private translationService;
|
|
9
13
|
position: 'top' | 'left' | 'right' | 'bottom';
|
|
10
14
|
addOn: InputFieldAddOns;
|
|
11
|
-
constructor(
|
|
15
|
+
constructor(componentService: ZComponentService, fontAweSomeService: FontAweSomeService, translationService: TranslationService);
|
|
12
16
|
ngOnInit(): void;
|
|
13
17
|
ngOnChanges(changes: SimpleChanges): void;
|
|
14
18
|
private setupIconList;
|
|
@@ -1,14 +1,17 @@
|
|
|
1
|
+
/********** Angular **********/
|
|
1
2
|
import { OnInit } from "@angular/core";
|
|
2
|
-
|
|
3
|
+
/********** Component & Service **********/
|
|
3
4
|
import { FieldBase } from "../components/fieldbase.component";
|
|
4
|
-
import { ComponentErrorHandlerService } from "../services/component-error-handler.service";
|
|
5
5
|
import { ZComponentService } from "../services/zcomponent.service";
|
|
6
|
+
import { ComponentErrorHandlerService } from "../services/component-error-handler.service";
|
|
7
|
+
import { FontAweSomeService, TranslationService, ZComponent } from 'mmhglobal-zcore';
|
|
6
8
|
import * as i0 from "@angular/core";
|
|
7
9
|
export declare class InputErrorMessageComponent extends FieldBase implements ZComponent, OnInit {
|
|
10
|
+
componentService: ZComponentService;
|
|
8
11
|
fontAweSomeService: FontAweSomeService;
|
|
9
12
|
private componentErrorHandler;
|
|
10
13
|
private translationService;
|
|
11
|
-
constructor(
|
|
14
|
+
constructor(componentService: ZComponentService, fontAweSomeService: FontAweSomeService, componentErrorHandler: ComponentErrorHandlerService, translationService: TranslationService);
|
|
12
15
|
errMsgList: any[];
|
|
13
16
|
ngOnInit(): void;
|
|
14
17
|
IsShow(): boolean;
|
|
@@ -1,17 +1,20 @@
|
|
|
1
|
+
/********** Angular **********/
|
|
1
2
|
import { OnInit } from "@angular/core";
|
|
2
3
|
import { FormGroup } from "@angular/forms";
|
|
3
|
-
|
|
4
|
+
/********** Component & Service **********/
|
|
4
5
|
import { ContainerFieldBase } from "../components/containerfieldbase.component";
|
|
5
6
|
import { MainService } from "../services/main.service";
|
|
6
7
|
import { ZComponentService } from "../services/zcomponent.service";
|
|
8
|
+
import { FontAweSomeService, ZComponent } from "mmhglobal-zcore";
|
|
7
9
|
import * as i0 from "@angular/core";
|
|
8
10
|
export declare class KcardComponent extends ContainerFieldBase implements ZComponent, OnInit {
|
|
9
|
-
|
|
11
|
+
componentService: ZComponentService;
|
|
10
12
|
private mainService;
|
|
13
|
+
fontAweSomeService: FontAweSomeService;
|
|
11
14
|
myFormGroup: FormGroup;
|
|
12
15
|
private initValue;
|
|
13
16
|
private myModel;
|
|
14
|
-
constructor(
|
|
17
|
+
constructor(componentService: ZComponentService, mainService: MainService, fontAweSomeService: FontAweSomeService);
|
|
15
18
|
ngOnInit(): void;
|
|
16
19
|
saveData(): void;
|
|
17
20
|
cancelEdit(): void;
|
|
@@ -1,18 +1,21 @@
|
|
|
1
|
+
/********** Angular **********/
|
|
1
2
|
import { ComponentFactoryResolver } from "@angular/core";
|
|
2
3
|
import { FormGroup } from '@angular/forms';
|
|
3
|
-
|
|
4
|
-
|
|
4
|
+
/********** Ionic **********/
|
|
5
|
+
/********** Plugin **********/
|
|
5
6
|
import { Observable } from "rxjs";
|
|
7
|
+
/********** Component & Service **********/
|
|
6
8
|
import { FieldElementDirective } from '../directives/fieldelement.directive';
|
|
9
|
+
import { ComponentObjectService } from 'mmhglobal-middleware';
|
|
10
|
+
import { ZCoreService, TranslationService, FieldService, ZComponentProperties, ZField, ZGroup } from 'mmhglobal-zcore';
|
|
7
11
|
import * as i0 from "@angular/core";
|
|
8
12
|
export declare class ZComponentService {
|
|
9
13
|
private componentObjectService;
|
|
10
14
|
private translateService;
|
|
11
15
|
private zcoreService;
|
|
16
|
+
private fieldService;
|
|
12
17
|
environment: any;
|
|
13
|
-
|
|
14
|
-
private componentLoadSubject;
|
|
15
|
-
constructor(componentObjectService: ComponentObjectService, translateService: TranslationService, zcoreService: ZCoreService);
|
|
18
|
+
constructor(componentObjectService: ComponentObjectService, translateService: TranslationService, zcoreService: ZCoreService, fieldService: FieldService);
|
|
16
19
|
isSkipComponentType(componentType: string): boolean;
|
|
17
20
|
loadComponent(componentFactoryResolver: ComponentFactoryResolver, fieldElement: FieldElementDirective, field: any, group: any, form: FormGroup, containerField: any): void;
|
|
18
21
|
appendComponentToDynamicForm(componentFactoryResolver: ComponentFactoryResolver, injector: any, appRef: any, field: any, group: any, containerId: string): any;
|
|
@@ -33,9 +36,7 @@ export declare class ZComponentService {
|
|
|
33
36
|
localizeDateTimeByIgnoringTimeZone(value: string, data: ZField): Date;
|
|
34
37
|
private removeTimeZoneAndConvertToISOString;
|
|
35
38
|
private convertOffsetMinToHour;
|
|
36
|
-
|
|
37
|
-
incrementComponentCounter(): void;
|
|
38
|
-
decrementComponentCounter(): void;
|
|
39
|
+
decrementComponentCounterForField(field: ZField): void;
|
|
39
40
|
static ɵfac: i0.ɵɵFactoryDeclaration<ZComponentService, never>;
|
|
40
41
|
static ɵprov: i0.ɵɵInjectableDeclaration<ZComponentService>;
|
|
41
42
|
}
|
|
@@ -1,31 +1,28 @@
|
|
|
1
1
|
/********** Angular **********/
|
|
2
2
|
import { OnInit } from '@angular/core';
|
|
3
3
|
import { FormGroup } from '@angular/forms';
|
|
4
|
-
import {
|
|
4
|
+
import { RuleModel, QueryBuilderComponent, ColumnsModel, TemplateColumn, RuleChangeEventArgs } from '@syncfusion/ej2-angular-querybuilder';
|
|
5
5
|
/********** Component & Service **********/
|
|
6
6
|
import { FieldService, ZComponentProperties, ZField, ZGroup, WebApiService, ResourceApiService } from 'mmhglobal-zcore';
|
|
7
|
-
import { RuleModel, QueryBuilderComponent, ColumnsModel, TemplateColumn, RuleChangeEventArgs } from '@syncfusion/ej2-angular-querybuilder';
|
|
8
7
|
import * as i0 from "@angular/core";
|
|
9
8
|
export declare class SfquerybuilderComponent implements OnInit {
|
|
10
9
|
private fieldService;
|
|
11
10
|
private resourceApiService;
|
|
12
11
|
private webApiService;
|
|
13
12
|
qryBldrObj: QueryBuilderComponent;
|
|
14
|
-
classNames: QueryBuilderClassNames;
|
|
15
13
|
data: ZField;
|
|
16
14
|
group: ZGroup;
|
|
17
15
|
form: FormGroup;
|
|
18
16
|
qbItems: {};
|
|
19
17
|
componentProperties: ZComponentProperties;
|
|
18
|
+
issfLoaded: boolean;
|
|
20
19
|
queryCtrl: any;
|
|
21
|
-
currentConfig: QueryBuilderConfig;
|
|
22
20
|
allowRuleset: boolean;
|
|
23
21
|
allowCollapse: boolean;
|
|
24
22
|
persistValueOnFieldChange: boolean;
|
|
25
23
|
isDisabled: boolean;
|
|
26
24
|
rule: any;
|
|
27
25
|
filters: any;
|
|
28
|
-
issfLoaded: boolean;
|
|
29
26
|
private fields;
|
|
30
27
|
displayRule: any;
|
|
31
28
|
private loadedDropdownOptions;
|
|
@@ -33,7 +30,26 @@ export declare class SfquerybuilderComponent implements OnInit {
|
|
|
33
30
|
importRules: RuleModel;
|
|
34
31
|
sdFilter: ColumnsModel[];
|
|
35
32
|
sfQBTemplate: TemplateColumn;
|
|
33
|
+
private readonly equalOperator;
|
|
34
|
+
private readonly notequalOperator;
|
|
35
|
+
private readonly startswithOperator;
|
|
36
|
+
private readonly endswithOperator;
|
|
37
|
+
private readonly containsOperator;
|
|
38
|
+
private readonly isemptyOperator;
|
|
39
|
+
private readonly isnotemptyOperator;
|
|
40
|
+
private readonly isnullOperator;
|
|
41
|
+
private readonly isnotnullOperator;
|
|
42
|
+
private readonly inOperator;
|
|
43
|
+
private readonly notinOperator;
|
|
44
|
+
private readonly greaterthanOperator;
|
|
45
|
+
private readonly greaterthanorequalOperator;
|
|
46
|
+
private readonly lessthanOperator;
|
|
47
|
+
private readonly lessthanorequalOperator;
|
|
36
48
|
inOperators: string[];
|
|
49
|
+
dropdownOperators: any;
|
|
50
|
+
stringOperators: any;
|
|
51
|
+
integerOperators: any;
|
|
52
|
+
dateOperators: any;
|
|
37
53
|
selectionComponentList: any[];
|
|
38
54
|
constructor(fieldService: FieldService, resourceApiService: ResourceApiService, webApiService: WebApiService);
|
|
39
55
|
ngOnInit(): void;
|
|
@@ -49,5 +65,5 @@ export declare class SfquerybuilderComponent implements OnInit {
|
|
|
49
65
|
onChange(): void;
|
|
50
66
|
beforeLoadField(fieldElementData: any): any;
|
|
51
67
|
static ɵfac: i0.ɵɵFactoryDeclaration<SfquerybuilderComponent, never>;
|
|
52
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SfquerybuilderComponent, "app-sfquerybuilder", never, { "
|
|
68
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SfquerybuilderComponent, "app-sfquerybuilder", never, { "data": "data"; "group": "group"; "form": "form"; }, {}, never, never>;
|
|
53
69
|
}
|
|
@@ -3,11 +3,12 @@ import { OnInit } from '@angular/core';
|
|
|
3
3
|
/********** Ionic **********/
|
|
4
4
|
import { ActionSheetController } from '@ionic/angular';
|
|
5
5
|
/********** Component & Service **********/
|
|
6
|
-
import { FieldService, WebApiService, ResourceApiService, WorkflowService, ZField, ZComponent } from 'mmhglobal-zcore';
|
|
7
6
|
import { ButtonFieldBase } from '../components/buttonfieldbase.component';
|
|
8
7
|
import { ZComponentService } from '../services/zcomponent.service';
|
|
8
|
+
import { FieldService, WebApiService, ResourceApiService, WorkflowService, ZField, ZComponent } from 'mmhglobal-zcore';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
10
|
export declare class UiactionbuttonComponent extends ButtonFieldBase implements ZComponent, OnInit {
|
|
11
|
+
componentService: ZComponentService;
|
|
11
12
|
private fieldService;
|
|
12
13
|
private webApiService;
|
|
13
14
|
private resourceApiService;
|
|
@@ -16,9 +17,10 @@ export declare class UiactionbuttonComponent extends ButtonFieldBase implements
|
|
|
16
17
|
topRightActionButton: any[];
|
|
17
18
|
actionBtnList: Array<ZField>;
|
|
18
19
|
isWorkflowButton: boolean;
|
|
19
|
-
constructor(
|
|
20
|
+
constructor(componentService: ZComponentService, fieldService: FieldService, webApiService: WebApiService, resourceApiService: ResourceApiService, workflowService: WorkflowService, actionSheetCtrl: ActionSheetController);
|
|
20
21
|
/******************** Common function ********************/
|
|
21
22
|
ngOnInit(): void;
|
|
23
|
+
ngAfterViewInit(): void;
|
|
22
24
|
private loadButton;
|
|
23
25
|
/******************** zButton ********************/
|
|
24
26
|
getFirstzButton(data: any[]): any;
|
|
@@ -4,8 +4,8 @@ import { Router } from '@angular/router';
|
|
|
4
4
|
/********** Ionic **********/
|
|
5
5
|
/********** Plugin **********/
|
|
6
6
|
/********** Component & Service **********/
|
|
7
|
-
import { OAuthMenuItem, MenuService, AuthService, ZCoreService } from 'mmhglobal-zcore';
|
|
8
7
|
import { MainService } from '../services/main.service';
|
|
8
|
+
import { OAuthMenuItem, MenuService, AuthService, ZCoreService } from 'mmhglobal-zcore';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
10
|
export declare class UiappmenucontentComponent implements OnInit {
|
|
11
11
|
private router;
|
|
@@ -4,8 +4,8 @@ import { Router } from '@angular/router';
|
|
|
4
4
|
/********** Ionic **********/
|
|
5
5
|
/********** Plugin **********/
|
|
6
6
|
/********** Component & Service **********/
|
|
7
|
-
import { ZGroup, ZCoreService, CacheService } from 'mmhglobal-zcore';
|
|
8
7
|
import { MainService } from '../services/main.service';
|
|
8
|
+
import { ZGroup, ZCoreService, CacheService } from 'mmhglobal-zcore';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
10
|
export declare class UicontentComponent implements OnInit {
|
|
11
11
|
private zcoreService;
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
-
import { OnInit } from "@angular/core";
|
|
1
|
+
/********** Angular **********/ import { OnInit } from "@angular/core";
|
|
2
2
|
import { Router } from '@angular/router';
|
|
3
|
-
|
|
3
|
+
/********** Ionic **********/
|
|
4
|
+
/********** Plugin **********/
|
|
5
|
+
/********** Component & Service **********/
|
|
6
|
+
import { ZCoreService, AuthService, TranslationService, ZGroup } from 'mmhglobal-zcore';
|
|
4
7
|
import * as i0 from "@angular/core";
|
|
5
8
|
export declare class UiheaderComponent implements OnInit {
|
|
6
9
|
private router;
|
|
@@ -9,12 +12,12 @@ export declare class UiheaderComponent implements OnInit {
|
|
|
9
12
|
private authService;
|
|
10
13
|
group: ZGroup;
|
|
11
14
|
topFormHeader: string;
|
|
15
|
+
private environment;
|
|
16
|
+
isloading: boolean;
|
|
12
17
|
profileImgUrl: string;
|
|
13
18
|
username: string;
|
|
14
19
|
userDisplayName: string;
|
|
15
20
|
showBulletinIcon: boolean;
|
|
16
|
-
isloading: boolean;
|
|
17
|
-
private environment;
|
|
18
21
|
userPanelItems: any;
|
|
19
22
|
constructor(router: Router, translationService: TranslationService, zcoreService: ZCoreService, authService: AuthService);
|
|
20
23
|
ngOnInit(): void;
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
/********** Angular **********/
|
|
2
2
|
import { OnInit } from "@angular/core";
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
+
/********** Ionic **********/
|
|
5
|
+
/********** Plugin **********/
|
|
6
|
+
/********** Component & Service **********/
|
|
4
7
|
export interface UiMenuContentItem {
|
|
5
8
|
url: string;
|
|
6
9
|
icon: string | Array<string>;
|
|
@@ -4,7 +4,7 @@ import { FormGroup } from '@angular/forms';
|
|
|
4
4
|
/********** Ionic **********/
|
|
5
5
|
/********** Plugin **********/
|
|
6
6
|
/********** Component & Service **********/
|
|
7
|
-
import {
|
|
7
|
+
import { ZComponent, ZComponentProperties, ZField, ZGroup } from 'mmhglobal-zcore';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
export declare class ZBulletComponent implements ZComponent, OnInit {
|
|
10
10
|
data: ZField;
|
|
@@ -14,6 +14,7 @@ export declare class ZBulletComponent implements ZComponent, OnInit {
|
|
|
14
14
|
dataSource: Array<any>;
|
|
15
15
|
constructor();
|
|
16
16
|
ngOnInit(): void;
|
|
17
|
+
ngAfterViewInit(): void;
|
|
17
18
|
private setupDataSource;
|
|
18
19
|
getReadOnlyValue(): any;
|
|
19
20
|
isVisible(): any;
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
/********** Angular **********/
|
|
2
2
|
import { OnInit } from '@angular/core';
|
|
3
|
-
/********** Ionic **********/
|
|
4
|
-
/********** Plugin **********/
|
|
5
3
|
/********** Component & Service **********/
|
|
6
|
-
import { FieldService, ZComponent, FontAweSomeService } from 'mmhglobal-zcore';
|
|
7
4
|
import { ButtonFieldBase } from '../components/buttonfieldbase.component';
|
|
8
5
|
import { ZComponentService } from '../services/zcomponent.service';
|
|
6
|
+
import { FieldService, FontAweSomeService, ZComponent } from 'mmhglobal-zcore';
|
|
9
7
|
import * as i0 from "@angular/core";
|
|
10
8
|
export declare class ZbuttonsComponent extends ButtonFieldBase implements ZComponent, OnInit {
|
|
11
|
-
|
|
9
|
+
componentService: ZComponentService;
|
|
12
10
|
private fieldService;
|
|
11
|
+
fontAweSomeService: FontAweSomeService;
|
|
13
12
|
items: Array<any>;
|
|
14
13
|
leftBtns: Array<any>;
|
|
15
14
|
rightBtns: Array<any>;
|
|
16
15
|
FirstZbtn: boolean;
|
|
17
|
-
constructor(
|
|
16
|
+
constructor(componentService: ZComponentService, fieldService: FieldService, fontAweSomeService: FontAweSomeService);
|
|
18
17
|
ngOnInit(): void;
|
|
18
|
+
ngAfterViewInit(): void;
|
|
19
19
|
private loadButton;
|
|
20
20
|
buttonClick(item: any): void;
|
|
21
21
|
private getButtonDisableTriggerValue;
|
|
@@ -3,13 +3,14 @@ import { OnInit } from "@angular/core";
|
|
|
3
3
|
/********** Ionic **********/
|
|
4
4
|
/********** Plugin **********/
|
|
5
5
|
/********** Component & Service **********/
|
|
6
|
-
import { ZComponent } from "mmhglobal-zcore";
|
|
7
6
|
import { ContainerFieldBase } from "../components/containerfieldbase.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 ZcardComponent extends ContainerFieldBase implements ZComponent, OnInit {
|
|
11
|
-
constructor(
|
|
11
|
+
constructor(componentService: ZComponentService);
|
|
12
12
|
ngOnInit(): void;
|
|
13
|
+
ngAfterViewInit(): void;
|
|
13
14
|
setData: (gData: any) => void;
|
|
14
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<ZcardComponent, never>;
|
|
15
16
|
static ɵcmp: i0.ɵɵComponentDeclaration<ZcardComponent, "app-zcard", never, {}, {}, never, never>;
|
|
@@ -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 { DataListingFieldBase } from "../components/datalistingfieldbase.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 ZchartComponent extends DataListingFieldBase implements ZComponent, OnInit {
|
|
11
|
+
componentService: ZComponentService;
|
|
11
12
|
private series;
|
|
12
13
|
private categories;
|
|
13
14
|
options: {
|
|
@@ -50,8 +51,9 @@ export declare class ZchartComponent extends DataListingFieldBase implements ZCo
|
|
|
50
51
|
background: string;
|
|
51
52
|
};
|
|
52
53
|
};
|
|
53
|
-
constructor(
|
|
54
|
+
constructor(componentService: ZComponentService);
|
|
54
55
|
ngOnInit(): void;
|
|
56
|
+
ngAfterViewInit(): void;
|
|
55
57
|
private getFieldDeclarationForSetup;
|
|
56
58
|
setData: (gData: any) => void;
|
|
57
59
|
onRender(e: any): void;
|
|
@@ -1,13 +1,19 @@
|
|
|
1
|
+
/********** Angular **********/
|
|
1
2
|
import { OnInit } from "@angular/core";
|
|
2
|
-
import {
|
|
3
|
+
import { SwitchComponent } from "@progress/kendo-angular-inputs";
|
|
4
|
+
/********** Ionic **********/
|
|
5
|
+
/********** Plugin **********/
|
|
6
|
+
/********** Component & Service **********/
|
|
3
7
|
import { InputFieldBase } from "../components/inputfieldbase.component";
|
|
4
8
|
import { ZComponentService } from "../services/zcomponent.service";
|
|
5
|
-
import {
|
|
9
|
+
import { ZComponent } from "mmhglobal-zcore";
|
|
6
10
|
import * as i0 from "@angular/core";
|
|
7
11
|
export declare class ZcheckboxComponent extends InputFieldBase implements ZComponent, OnInit {
|
|
12
|
+
componentService: ZComponentService;
|
|
8
13
|
checkbox: SwitchComponent;
|
|
9
|
-
constructor(
|
|
14
|
+
constructor(componentService: ZComponentService);
|
|
10
15
|
ngOnInit(): void;
|
|
16
|
+
ngAfterViewInit(): void;
|
|
11
17
|
focus(): boolean;
|
|
12
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<ZcheckboxComponent, never>;
|
|
13
19
|
static ɵcmp: i0.ɵɵComponentDeclaration<ZcheckboxComponent, "app-zcheckbox", never, {}, {}, never, never>;
|
|
@@ -1,10 +1,13 @@
|
|
|
1
|
+
/********** Angular **********/
|
|
1
2
|
import { OnInit } from "@angular/core";
|
|
2
3
|
import { FormGroup } from '@angular/forms';
|
|
3
|
-
|
|
4
|
+
/********** Component & Service **********/
|
|
4
5
|
import { InputFieldBase } from "../components/inputfieldbase.component";
|
|
5
6
|
import { ZComponentService } from "../services/zcomponent.service";
|
|
7
|
+
import { ZComponent, ZGroup, ZField, ZComponentProperties } from 'mmhglobal-zcore';
|
|
6
8
|
import * as i0 from "@angular/core";
|
|
7
9
|
export declare class ZChipComponent extends InputFieldBase implements ZComponent, OnInit {
|
|
10
|
+
componentService: ZComponentService;
|
|
8
11
|
data: ZField;
|
|
9
12
|
group: ZGroup;
|
|
10
13
|
form: FormGroup;
|
|
@@ -12,8 +15,9 @@ export declare class ZChipComponent extends InputFieldBase implements ZComponent
|
|
|
12
15
|
private selectedIcon;
|
|
13
16
|
componentProperties: ZComponentProperties;
|
|
14
17
|
dataSource: any;
|
|
15
|
-
constructor(
|
|
18
|
+
constructor(componentService: ZComponentService);
|
|
16
19
|
ngOnInit(): void;
|
|
20
|
+
ngAfterViewInit(): void;
|
|
17
21
|
getChipClass(chip: any): any;
|
|
18
22
|
chipListChangeSelection(selectedChipIndexes: any): void;
|
|
19
23
|
chipChangeSelection(chip: any): void;
|
|
@@ -10,13 +10,13 @@ import "brace/theme/eclipse";
|
|
|
10
10
|
import "brace/mode/json";
|
|
11
11
|
import "brace/mode/javascript";
|
|
12
12
|
import "brace/mode/html";
|
|
13
|
-
/********** Component & Service **********/
|
|
14
13
|
import { ZComponent, ZField, ZGroup, ZComponentProperties } from "mmhglobal-zcore";
|
|
15
14
|
import * as i0 from "@angular/core";
|
|
16
15
|
export declare class ZcodeeditorComponent implements ZComponent, OnInit, OnDestroy {
|
|
17
16
|
data: ZField;
|
|
18
17
|
group: ZGroup;
|
|
19
18
|
form: FormGroup;
|
|
19
|
+
editor: AceEditorComponent;
|
|
20
20
|
code: string | string[];
|
|
21
21
|
theme: string;
|
|
22
22
|
mode: string;
|
|
@@ -24,9 +24,9 @@ export declare class ZcodeeditorComponent implements ZComponent, OnInit, OnDestr
|
|
|
24
24
|
componentProperties: ZComponentProperties;
|
|
25
25
|
private widthReduce;
|
|
26
26
|
private heightReduce;
|
|
27
|
-
editor: AceEditorComponent;
|
|
28
27
|
constructor();
|
|
29
28
|
ngOnInit(): void;
|
|
29
|
+
ngAfterViewInit(): void;
|
|
30
30
|
ngOnDestroy(): void;
|
|
31
31
|
getValue(): any;
|
|
32
32
|
getEditorStyle(): {
|
|
@@ -19,6 +19,7 @@ export declare class ZdaterangeComponent implements ZComponent, OnInit {
|
|
|
19
19
|
componentProperties: ZComponentProperties;
|
|
20
20
|
constructor();
|
|
21
21
|
ngOnInit(): void;
|
|
22
|
+
ngAfterViewInit(): void;
|
|
22
23
|
setNewRange(min: Date, max: Date): void;
|
|
23
24
|
setEnable: (status: boolean) => void;
|
|
24
25
|
setVisible: (status: boolean) => void;
|
|
@@ -3,8 +3,8 @@ import { ZField } from "mmhglobal-zcore";
|
|
|
3
3
|
import { ZComponentService } from "../services/zcomponent.service";
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class DateParserFilter implements PipeTransform {
|
|
6
|
-
|
|
7
|
-
constructor(
|
|
6
|
+
componentService: ZComponentService;
|
|
7
|
+
constructor(componentService: ZComponentService);
|
|
8
8
|
transform(value: any, data: ZField): any;
|
|
9
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<DateParserFilter, never>;
|
|
10
10
|
static ɵpipe: i0.ɵɵPipeDeclaration<DateParserFilter, "dateParser">;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/********** Angular **********/
|
|
2
2
|
import { OnInit } from "@angular/core";
|
|
3
|
+
import { DatePickerComponent, DateTimePickerComponent, TimePickerComponent } from "@progress/kendo-angular-dateinputs";
|
|
3
4
|
/********** Ionic **********/
|
|
4
5
|
/********** Component & Service **********/
|
|
5
|
-
import { ZComponent } from "mmhglobal-zcore";
|
|
6
6
|
import { InputFieldBase } from "../components/inputfieldbase.component";
|
|
7
7
|
import { ZComponentService } from "../services/zcomponent.service";
|
|
8
|
-
import {
|
|
8
|
+
import { ZComponent } from "mmhglobal-zcore";
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
10
|
export declare class ZdatetimeComponent extends InputFieldBase implements ZComponent, OnInit {
|
|
11
11
|
datepicker: DatePickerComponent;
|
|
@@ -14,8 +14,9 @@ export declare class ZdatetimeComponent extends InputFieldBase implements ZCompo
|
|
|
14
14
|
minDate: any;
|
|
15
15
|
maxDate: any;
|
|
16
16
|
stepValue: any;
|
|
17
|
-
constructor(
|
|
17
|
+
constructor(componentService: ZComponentService);
|
|
18
18
|
ngOnInit(): void;
|
|
19
|
+
ngAfterViewInit(): void;
|
|
19
20
|
getDateValue(): Date;
|
|
20
21
|
onChange(value: any): void;
|
|
21
22
|
SetDateRange: (MinDate: any, MaxDate: any) => any;
|
|
@@ -1,13 +1,19 @@
|
|
|
1
|
+
/********** Angular **********/
|
|
1
2
|
import { OnInit } from "@angular/core";
|
|
2
|
-
|
|
3
|
+
/********** Ionic **********/
|
|
4
|
+
/********** Plugin **********/
|
|
5
|
+
/********** Component & Service **********/
|
|
3
6
|
import { ContainerFieldBase } from "../components/containerfieldbase.component";
|
|
4
7
|
import { ZComponentService } from "../services/zcomponent.service";
|
|
8
|
+
import { ZComponent } from 'mmhglobal-zcore';
|
|
5
9
|
import * as i0 from "@angular/core";
|
|
6
10
|
export declare class ZdivComponent extends ContainerFieldBase implements ZComponent, OnInit {
|
|
11
|
+
componentService: ZComponentService;
|
|
7
12
|
private readonly DEFAULT_LAYOUT;
|
|
8
13
|
private readonly DEFAULT_LAYOUT_ALIGN;
|
|
9
|
-
constructor(
|
|
14
|
+
constructor(componentService: ZComponentService);
|
|
10
15
|
ngOnInit(): void;
|
|
16
|
+
ngAfterViewInit(): void;
|
|
11
17
|
private setupDivLayout;
|
|
12
18
|
getFlexSize(field: any, size?: string): any;
|
|
13
19
|
private getDivClassValueByScreenSize;
|
|
@@ -6,7 +6,7 @@ import { FormGroup } from "@angular/forms";
|
|
|
6
6
|
import { Subscription } from 'rxjs';
|
|
7
7
|
/********** Component & Service **********/
|
|
8
8
|
import { ZComponentDebugService } from '../services/zcomponent.debug.service';
|
|
9
|
-
import { AuthService, FieldService, ZGroup, ZField
|
|
9
|
+
import { AuthService, FieldService, ZCoreService, ZGroup, ZField } from 'mmhglobal-zcore';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
11
|
export declare class ZformComponent implements OnInit, OnDestroy {
|
|
12
12
|
private authService;
|
|
@@ -10,14 +10,14 @@ import { ZField, ZGroup } from "mmhglobal-zcore";
|
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
11
|
export declare class ZformcontrolComponent implements OnInit, OnDestroy {
|
|
12
12
|
private componentFactoryResolver;
|
|
13
|
-
|
|
13
|
+
componentService: ZComponentService;
|
|
14
14
|
field: ZField;
|
|
15
15
|
group: ZGroup;
|
|
16
16
|
form: FormGroup;
|
|
17
17
|
containerField: ZField;
|
|
18
18
|
fieldElement: FieldElementDirective;
|
|
19
19
|
componentRef: any;
|
|
20
|
-
constructor(componentFactoryResolver: ComponentFactoryResolver,
|
|
20
|
+
constructor(componentFactoryResolver: ComponentFactoryResolver, componentService: ZComponentService);
|
|
21
21
|
ngOnInit(): void;
|
|
22
22
|
ngOnDestroy(): void;
|
|
23
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<ZformcontrolComponent, never>;
|