mmhglobal-dynamicform 1.3.13 → 2.0.0-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (115) hide show
  1. package/esm2020/lib/animations/component-animations.mjs +12 -0
  2. package/esm2020/lib/components/buttonfieldbase.component.mjs +62 -0
  3. package/esm2020/lib/components/containerfieldbase.component.mjs +42 -0
  4. package/esm2020/lib/components/datalistingfieldbase.component.mjs +138 -0
  5. package/esm2020/lib/components/fieldbase.component.mjs +90 -0
  6. package/esm2020/lib/components/inputfieldbase.component.mjs +78 -0
  7. package/esm2020/lib/directives/scrollbar.theme.directive.mjs +13 -11
  8. package/esm2020/lib/embed-components/input-field-addons/input-field-addons.component.mjs +69 -0
  9. package/esm2020/lib/input-error-message/input-error-message.component.mjs +33 -0
  10. package/esm2020/lib/kcard/kcard.component.mjs +84 -0
  11. package/esm2020/lib/mmhglobal-dynamicform.module.mjs +53 -12
  12. package/esm2020/lib/pipe/htmlSanitize.pipe.mjs +18 -0
  13. package/esm2020/lib/services/component-error-handler.service.mjs +84 -0
  14. package/esm2020/lib/services/main.service.mjs +173 -73
  15. package/esm2020/lib/services/zcomponent.debug.service.mjs +17 -8
  16. package/esm2020/lib/services/zcomponent.service.mjs +133 -9
  17. package/esm2020/lib/uiappmenucontent/uiappmenucontent.component.mjs +15 -23
  18. package/esm2020/lib/uicontainer/uicontainer.component.mjs +2 -2
  19. package/esm2020/lib/uicontent/uicontent.component.mjs +21 -9
  20. package/esm2020/lib/uiheader/uiheader.component.mjs +61 -28
  21. package/esm2020/lib/uimenucontent/uimenucontent.component.mjs +3 -3
  22. package/esm2020/lib/uipage/uipage.component.mjs +41 -26
  23. package/esm2020/lib/uivalidationmessage/uivalidationmessage.component.mjs +2 -2
  24. package/esm2020/lib/zbullet/zbullet.component.mjs +3 -2
  25. package/esm2020/lib/zbuttons/zbuttons.component.mjs +45 -91
  26. package/esm2020/lib/zcard/zcard.component.mjs +13 -60
  27. package/esm2020/lib/zcheckbox/zcheckbox.component.mjs +14 -159
  28. package/esm2020/lib/zchip/zchip.component.mjs +34 -64
  29. package/esm2020/lib/zcodeeditor/zcodeeditor.component.mjs +4 -3
  30. package/esm2020/lib/zdaterange/zdaterange.component.mjs +3 -3
  31. package/esm2020/lib/zdatetime/zdatetime.component.mjs +22 -74
  32. package/esm2020/lib/zdiv/zdiv.component.mjs +63 -40
  33. package/esm2020/lib/zdiv/zdiv.pipe.mjs +2 -2
  34. package/esm2020/lib/zform/zform.component.mjs +9 -7
  35. package/esm2020/lib/zformcontrol/zformcontrol.component.mjs +5 -3
  36. package/esm2020/lib/zgauge/zgauge.component.mjs +34 -70
  37. package/esm2020/lib/zgrid/zgrid.binding.directive.mjs +32 -30
  38. package/esm2020/lib/zgrid/zgrid.component.mjs +246 -135
  39. package/esm2020/lib/zimg/zimg.component.mjs +44 -108
  40. package/esm2020/lib/zinput-container/zinput-container.component.mjs +63 -0
  41. package/esm2020/lib/zinput-container/zinput-container.pipe.mjs +120 -0
  42. package/esm2020/lib/zkcard/zkcard.component.mjs +2 -2
  43. package/esm2020/lib/zlabel/zlabel.component.mjs +18 -94
  44. package/esm2020/lib/zmfb/zmfb.component.mjs +70 -91
  45. package/esm2020/lib/zmodal/zmodal-mobile.component.mjs +15 -11
  46. package/esm2020/lib/zmodal/zmodal.component.mjs +14 -10
  47. package/esm2020/lib/znumeric/znumeric.component.mjs +18 -94
  48. package/esm2020/lib/zpostselectinput/zpostselectinput.component.mjs +35 -87
  49. package/esm2020/lib/zprogressbar/zprogressbar.component.mjs +59 -0
  50. package/esm2020/lib/zreport/zreport.component.mjs +25 -27
  51. package/esm2020/lib/zselectmultiple/zselectmultiple.component.mjs +39 -194
  52. package/esm2020/lib/ztab/ztab.component.mjs +17 -45
  53. package/esm2020/lib/ztab/ztab.pipe.mjs +6 -4
  54. package/esm2020/lib/ztext/ztext.component.mjs +20 -180
  55. package/esm2020/lib/ztextarea/ztextarea.component.mjs +23 -101
  56. package/esm2020/lib/ztexteditor/ztexteditor.component.mjs +3 -2
  57. package/esm2020/lib/ztree/ztree.component.mjs +25 -41
  58. package/esm2020/lib/ztreelist/ztreelist.component.mjs +104 -143
  59. package/esm2020/lib/zudf/zudf.component.mjs +12 -8
  60. package/esm2020/lib/zupload/zupload.component.mjs +18 -39
  61. package/esm2020/lib/zworkflowbuttons/zworkflowbuttons.component.mjs +45 -77
  62. package/esm2020/public-api.mjs +15 -2
  63. package/fesm2015/mmhglobal-dynamicform.mjs +4529 -4392
  64. package/fesm2015/mmhglobal-dynamicform.mjs.map +1 -1
  65. package/fesm2020/mmhglobal-dynamicform.mjs +4496 -4367
  66. package/fesm2020/mmhglobal-dynamicform.mjs.map +1 -1
  67. package/lib/animations/component-animations.d.ts +1 -0
  68. package/lib/components/buttonfieldbase.component.d.ts +18 -0
  69. package/lib/components/containerfieldbase.component.d.ts +19 -0
  70. package/lib/components/datalistingfieldbase.component.d.ts +30 -0
  71. package/lib/components/fieldbase.component.d.ts +30 -0
  72. package/lib/components/inputfieldbase.component.d.ts +19 -0
  73. package/lib/embed-components/input-field-addons/input-field-addons.component.d.ts +16 -0
  74. package/lib/input-error-message/input-error-message.component.d.ts +15 -0
  75. package/lib/kcard/kcard.component.d.ts +21 -0
  76. package/lib/mmhglobal-dynamicform.module.d.ts +40 -32
  77. package/lib/pipe/htmlSanitize.pipe.d.ts +10 -0
  78. package/lib/services/component-error-handler.service.d.ts +14 -0
  79. package/lib/services/main.service.d.ts +23 -5
  80. package/lib/services/zcomponent.debug.service.d.ts +4 -1
  81. package/lib/services/zcomponent.service.d.ts +20 -4
  82. package/lib/uiappmenucontent/uiappmenucontent.component.d.ts +4 -3
  83. package/lib/uicontent/uicontent.component.d.ts +6 -2
  84. package/lib/uiheader/uiheader.component.d.ts +13 -9
  85. package/lib/zbuttons/zbuttons.component.d.ts +11 -20
  86. package/lib/zcard/zcard.component.d.ts +6 -20
  87. package/lib/zcheckbox/zcheckbox.component.d.ts +6 -36
  88. package/lib/zchip/zchip.component.d.ts +7 -16
  89. package/lib/zdatetime/zdatetime.component.d.ts +6 -14
  90. package/lib/zdiv/zdiv.component.d.ts +11 -18
  91. package/lib/zformcontrol/zformcontrol.component.d.ts +2 -1
  92. package/lib/zgauge/zgauge.component.d.ts +11 -14
  93. package/lib/zgrid/zgrid.binding.directive.d.ts +4 -2
  94. package/lib/zgrid/zgrid.component.d.ts +26 -27
  95. package/lib/zimg/zimg.component.d.ts +12 -31
  96. package/lib/zinput-container/zinput-container.component.d.ts +26 -0
  97. package/lib/zinput-container/zinput-container.pipe.d.ts +20 -0
  98. package/lib/zlabel/zlabel.component.d.ts +6 -25
  99. package/lib/zmfb/zmfb.component.d.ts +12 -20
  100. package/lib/zmodal/zmodal-mobile.component.d.ts +4 -1
  101. package/lib/zmodal/zmodal.component.d.ts +4 -1
  102. package/lib/znumeric/znumeric.component.d.ts +7 -29
  103. package/lib/zpostselectinput/zpostselectinput.component.d.ts +9 -19
  104. package/lib/zprogressbar/zprogressbar.component.d.ts +28 -0
  105. package/lib/zreport/zreport.component.d.ts +8 -11
  106. package/lib/zselectmultiple/zselectmultiple.component.d.ts +10 -35
  107. package/lib/ztab/ztab.component.d.ts +6 -19
  108. package/lib/ztext/ztext.component.d.ts +7 -35
  109. package/lib/ztextarea/ztextarea.component.d.ts +9 -27
  110. package/lib/ztree/ztree.component.d.ts +6 -12
  111. package/lib/ztreelist/ztreelist.component.d.ts +17 -27
  112. package/lib/zupload/zupload.component.d.ts +6 -13
  113. package/lib/zworkflowbuttons/zworkflowbuttons.component.d.ts +6 -20
  114. package/package.json +1 -1
  115. package/public-api.d.ts +14 -1
@@ -0,0 +1 @@
1
+ export declare const hideAndShowVerticalAnimation: import("@angular/animations").AnimationTriggerMetadata;
@@ -0,0 +1,18 @@
1
+ import { FieldBase } from "./fieldbase.component";
2
+ import { ZComponentService } from "../services/zcomponent.service";
3
+ import { Observable } from "rxjs";
4
+ import * as i0 from "@angular/core";
5
+ export declare class ButtonFieldBase extends FieldBase {
6
+ leftBtns: Array<any>;
7
+ rightBtns: Array<any>;
8
+ items: Array<any>;
9
+ FirstZbtn: boolean;
10
+ constructor(compService: ZComponentService);
11
+ initComponent(): Observable<any>;
12
+ isBtnVisible(fieldExpr: any): any;
13
+ getButtonLabel(button: any): any;
14
+ buttonClick(button: any): void;
15
+ translateButtonsLabel(items: Array<any>): any;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<ButtonFieldBase, never>;
17
+ static ɵcmp: i0.ɵɵComponentDeclaration<ButtonFieldBase, "ng-component", never, {}, {}, never, never>;
18
+ }
@@ -0,0 +1,19 @@
1
+ import { ZField } from "mmhglobal-zcore";
2
+ import { FieldBase } from "./fieldbase.component";
3
+ import { ZComponentService } from "../services/zcomponent.service";
4
+ import { Observable } from "rxjs";
5
+ import * as i0 from "@angular/core";
6
+ export declare class ContainerFieldBase extends FieldBase {
7
+ toolbarItemList: {
8
+ name: string;
9
+ text: string;
10
+ }[];
11
+ constructor(compService: ZComponentService);
12
+ ComponentIsVisible(field: ZField): any;
13
+ initComponent(): Observable<any>;
14
+ translateToolBarItems(): Observable<any>;
15
+ getToolBarItemLabelName(name: string): string;
16
+ getClass(form: any, data: ZField): string;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<ContainerFieldBase, never>;
18
+ static ɵcmp: i0.ɵɵComponentDeclaration<ContainerFieldBase, "ng-component", never, {}, {}, never, never>;
19
+ }
@@ -0,0 +1,30 @@
1
+ import { FieldBase } from "./fieldbase.component";
2
+ import { ZComponentService } from "../services/zcomponent.service";
3
+ import { ZField } from "mmhglobal-zcore";
4
+ import { Observable } from "rxjs";
5
+ import * as i0 from "@angular/core";
6
+ export declare class DataListingFieldBase extends FieldBase {
7
+ private popovercontainer;
8
+ protected popoverData: any[];
9
+ toolbarItemList: {
10
+ name: string;
11
+ text: string;
12
+ }[];
13
+ constructor(compService: ZComponentService);
14
+ initComponent(): Observable<any>;
15
+ getGridColumnStyle(): any;
16
+ getGridHeaderStyle(): any;
17
+ getGridFooterStyle(): any;
18
+ getCellStyle(columnField: ZField, dataItem: any): any;
19
+ translateToolBarItems(): Observable<any>;
20
+ getToolBarItemLabelName(name: string): string;
21
+ translateColumnHeader(columns: any[]): Observable<any>;
22
+ setupPopoverFeature(columns: Array<any>, gridData: Array<any>): void;
23
+ showPopOver(columnField: ZField, event: any): void;
24
+ closePopOver(event: any): void;
25
+ getContextData(anchor: HTMLElement): any;
26
+ private getPopOverContentByCol;
27
+ private getPopOverContent;
28
+ static ɵfac: i0.ɵɵFactoryDeclaration<DataListingFieldBase, never>;
29
+ static ɵcmp: i0.ɵɵComponentDeclaration<DataListingFieldBase, "ng-component", never, {}, {}, never, never>;
30
+ }
@@ -0,0 +1,30 @@
1
+ import { FormGroup } from "@angular/forms";
2
+ import { ZComponentProperties, ZField, ZGroup } from "mmhglobal-zcore";
3
+ import { Observable } from "rxjs";
4
+ import { ZComponentService } from "../services/zcomponent.service";
5
+ import * as i0 from "@angular/core";
6
+ export declare class FieldBase {
7
+ compService: ZComponentService;
8
+ data: ZField;
9
+ group: ZGroup;
10
+ form: FormGroup;
11
+ containerField: ZField;
12
+ componentProperties: ZComponentProperties;
13
+ isLoading: boolean;
14
+ constructor(compService: ZComponentService);
15
+ initComponent(): Observable<any>;
16
+ isMobileScreen(): boolean;
17
+ getClass(form: FormGroup, data: ZField): string;
18
+ getIon_InvalidClass(form: FormGroup, data: ZField): string;
19
+ setStyle(style: string, ind?: string): void;
20
+ setIcon(icon: string): void;
21
+ setLabelText(label: string): void;
22
+ setContainerStyle(style: string, ind?: string): void;
23
+ setEnable: (status: boolean) => void;
24
+ setVisible: (status: boolean) => void;
25
+ setRequire: (status: boolean) => void;
26
+ getFontAwesome(iconName: any): any;
27
+ toggleEditMode(): void;
28
+ static ɵfac: i0.ɵɵFactoryDeclaration<FieldBase, never>;
29
+ static ɵcmp: i0.ɵɵComponentDeclaration<FieldBase, "ng-component", never, { "data": "data"; "group": "group"; "form": "form"; "containerField": "containerField"; "componentProperties": "componentProperties"; }, {}, never, never>;
30
+ }
@@ -0,0 +1,19 @@
1
+ import { FieldBase } from "./fieldbase.component";
2
+ import { ZComponentService } from "../services/zcomponent.service";
3
+ import * as i0 from "@angular/core";
4
+ export declare class InputFieldBase extends FieldBase {
5
+ constructor(compService: ZComponentService);
6
+ setupInnerField(): void;
7
+ onClick(event: any, fieldValue?: any): void;
8
+ onChangeCC(event: any, fieldValue?: any): void;
9
+ onChange(event: any, fieldValue?: any): void;
10
+ onItemClick(event: any, fieldValue?: any): void;
11
+ onIconClick(clickActionExpr: string): void;
12
+ getReadOnlyValue(): any;
13
+ getIsRequiredValue(): any;
14
+ setValue(value: string): void;
15
+ protected triggerEvent(type: string, target: any, event: any, fieldValue?: any): void;
16
+ private getFieldValue;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<InputFieldBase, never>;
18
+ static ɵcmp: i0.ɵɵComponentDeclaration<InputFieldBase, "ng-component", never, {}, {}, never, never>;
19
+ }
@@ -0,0 +1,16 @@
1
+ import { OnInit } from "@angular/core";
2
+ import { InputFieldAddOns, ZComponent } from 'mmhglobal-zcore';
3
+ import { InputFieldBase } from "../../components/inputfieldbase.component";
4
+ import { ZComponentService } from "../../services/zcomponent.service";
5
+ import * as i0 from "@angular/core";
6
+ export declare class InputFieldAddOnsComponent extends InputFieldBase implements ZComponent, OnInit {
7
+ position: 'top' | 'left' | 'right' | 'bottom';
8
+ constructor(compService: ZComponentService);
9
+ addOn: InputFieldAddOns;
10
+ ngOnInit(): void;
11
+ private setupIconList;
12
+ private setupButtonList;
13
+ private setupTextList;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<InputFieldAddOnsComponent, never>;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<InputFieldAddOnsComponent, "app-input-field-addons", never, { "position": "position"; }, {}, never, never>;
16
+ }
@@ -0,0 +1,15 @@
1
+ import { OnInit } from "@angular/core";
2
+ import { ZComponent } from 'mmhglobal-zcore';
3
+ import { FieldBase } from "../components/fieldbase.component";
4
+ import { ComponentErrorHandlerService } from "../services/component-error-handler.service";
5
+ import { ZComponentService } from "../services/zcomponent.service";
6
+ import * as i0 from "@angular/core";
7
+ export declare class InputErrorMessageComponent extends FieldBase implements ZComponent, OnInit {
8
+ private componentErrorHandler;
9
+ constructor(compService: ZComponentService, componentErrorHandler: ComponentErrorHandlerService);
10
+ errMsgList: any[];
11
+ ngOnInit(): void;
12
+ IsShow(): boolean;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<InputErrorMessageComponent, never>;
14
+ static ɵcmp: i0.ɵɵComponentDeclaration<InputErrorMessageComponent, "app-error", never, {}, {}, never, never>;
15
+ }
@@ -0,0 +1,21 @@
1
+ import { OnInit } from "@angular/core";
2
+ import { FormGroup } from "@angular/forms";
3
+ import { ZComponent } from "mmhglobal-zcore";
4
+ import { ContainerFieldBase } from "../components/containerfieldbase.component";
5
+ import { MainService } from "../services/main.service";
6
+ import { ZComponentService } from "../services/zcomponent.service";
7
+ import * as i0 from "@angular/core";
8
+ export declare class KcardComponent extends ContainerFieldBase implements ZComponent, OnInit {
9
+ private mainService;
10
+ myFormGroup: FormGroup;
11
+ private initValue;
12
+ private myModel;
13
+ constructor(mainService: MainService, compService: ZComponentService);
14
+ ngOnInit(): void;
15
+ saveData(): void;
16
+ cancelEdit(): void;
17
+ private getFieldValues;
18
+ private getFormControls;
19
+ static ɵfac: i0.ɵɵFactoryDeclaration<KcardComponent, never>;
20
+ static ɵcmp: i0.ɵɵComponentDeclaration<KcardComponent, "app-kcard", never, {}, {}, never, never>;
21
+ }
@@ -57,39 +57,47 @@ import * as i55 from "./zunknown/zunknown.component";
57
57
  import * as i56 from "./zudf/zudf.component";
58
58
  import * as i57 from "./zupload/zupload.component";
59
59
  import * as i58 from "./zworkflowbuttons/zworkflowbuttons.component";
60
- import * as i59 from "@ionic/angular";
61
- import * as i60 from "ionic-selectable";
62
- import * as i61 from "@angular/common";
63
- import * as i62 from "@angular/router";
64
- import * as i63 from "@angular/forms";
65
- import * as i64 from "ng2-ace-editor";
66
- import * as i65 from "@fortawesome/angular-fontawesome";
67
- import * as i66 from "angular2-query-builder";
68
- import * as i67 from "@progress/kendo-angular-gauges";
69
- import * as i68 from "@progress/kendo-angular-buttons";
70
- import * as i69 from "@progress/kendo-angular-charts";
71
- import * as i70 from "@progress/kendo-angular-dateinputs";
72
- import * as i71 from "@progress/kendo-angular-dropdowns";
73
- import * as i72 from "@progress/kendo-angular-editor";
74
- import * as i73 from "@progress/kendo-angular-grid";
75
- import * as i74 from "@progress/kendo-angular-indicators";
76
- import * as i75 from "@progress/kendo-angular-intl";
77
- import * as i76 from "@progress/kendo-angular-inputs";
78
- import * as i77 from "@progress/kendo-angular-label";
79
- import * as i78 from "@progress/kendo-angular-layout";
80
- import * as i79 from "@progress/kendo-angular-popup";
81
- import * as i80 from "@progress/kendo-angular-progressbar";
82
- import * as i81 from "@progress/telerik-angular-report-viewer";
83
- import * as i82 from "@progress/kendo-angular-scheduler";
84
- import * as i83 from "@progress/kendo-angular-treelist";
85
- import * as i84 from "@progress/kendo-angular-treeview";
86
- import * as i85 from "@progress/kendo-angular-tooltip";
87
- import * as i86 from "@progress/kendo-angular-upload";
88
- import * as i87 from "mmhglobal-zcore";
89
- import * as i88 from "mmhglobal-middleware";
90
- import * as i89 from "mmhglobal-zmodal";
60
+ import * as i59 from "./kcard/kcard.component";
61
+ import * as i60 from "./zinput-container/zinput-container.component";
62
+ import * as i61 from "./zprogressbar/zprogressbar.component";
63
+ import * as i62 from "./zinput-container/zinput-container.pipe";
64
+ import * as i63 from "./pipe/htmlSanitize.pipe";
65
+ import * as i64 from "./input-error-message/input-error-message.component";
66
+ import * as i65 from "./embed-components/input-field-addons/input-field-addons.component";
67
+ import * as i66 from "@ionic/angular";
68
+ import * as i67 from "ionic-selectable";
69
+ import * as i68 from "@angular/common";
70
+ import * as i69 from "@angular/router";
71
+ import * as i70 from "@angular/forms";
72
+ import * as i71 from "ng2-ace-editor";
73
+ import * as i72 from "@fortawesome/angular-fontawesome";
74
+ import * as i73 from "angular2-query-builder";
75
+ import * as i74 from "@progress/kendo-angular-gauges";
76
+ import * as i75 from "@progress/kendo-angular-buttons";
77
+ import * as i76 from "@progress/kendo-angular-charts";
78
+ import * as i77 from "@progress/kendo-angular-dateinputs";
79
+ import * as i78 from "@progress/kendo-angular-dropdowns";
80
+ import * as i79 from "@progress/kendo-angular-editor";
81
+ import * as i80 from "@progress/kendo-angular-grid";
82
+ import * as i81 from "@progress/kendo-angular-indicators";
83
+ import * as i82 from "@progress/kendo-angular-intl";
84
+ import * as i83 from "@progress/kendo-angular-inputs";
85
+ import * as i84 from "@progress/kendo-angular-label";
86
+ import * as i85 from "@progress/kendo-angular-layout";
87
+ import * as i86 from "@progress/kendo-angular-popup";
88
+ import * as i87 from "@progress/kendo-angular-progressbar";
89
+ import * as i88 from "@progress/telerik-angular-report-viewer";
90
+ import * as i89 from "@progress/kendo-angular-scheduler";
91
+ import * as i90 from "@progress/kendo-angular-treelist";
92
+ import * as i91 from "@progress/kendo-angular-treeview";
93
+ import * as i92 from "@progress/kendo-angular-tooltip";
94
+ import * as i93 from "@progress/kendo-angular-upload";
95
+ import * as i94 from "mmhglobal-zcore";
96
+ import * as i95 from "mmhglobal-zmodal";
97
+ import * as i96 from "@progress/kendo-angular-navigation";
98
+ import * as i97 from "@angular/flex-layout";
91
99
  export declare class MmhglobalDynamicformModule {
92
100
  static ɵfac: i0.ɵɵFactoryDeclaration<MmhglobalDynamicformModule, never>;
93
- static ɵmod: i0.ɵɵNgModuleDeclaration<MmhglobalDynamicformModule, [typeof i1.ScrollbarThemeDirective, typeof i2.FieldElementDirective, typeof i3.ZGridBindingDirective, typeof i4.ZGridPopupAnchorDirective, typeof i5.OpenOnFocusDirective, typeof i6.ElementContainerDirective, typeof i7.DateParserFilter, typeof i8.EditorFilter, typeof i9.DivzLayout, typeof i10.TabFilter, typeof i11.DateRangeFilterCellComponent, typeof i12.ZSchedulerToolBarComponent, typeof i13.UiheaderComponent, typeof i14.UicontainerComponent, typeof i15.UicontentComponent, typeof i16.UipageComponent, typeof i17.UiactionbuttonComponent, typeof i18.UimenucontentComponent, typeof i19.UimenubuttonComponent, typeof i20.UiappmenucontentComponent, typeof i21.UivalidationmessageComponent, typeof i22.ZBulletComponent, typeof i23.ZbuttonsComponent, typeof i24.ZcardComponent, typeof i25.ZchartComponent, typeof i26.ZcheckboxComponent, typeof i27.ZChipComponent, typeof i28.ZcodeeditorComponent, typeof i29.ZdaterangeComponent, typeof i30.ZdatetimeComponent, typeof i31.ZdivComponent, typeof i32.ZformComponent, typeof i33.ZformcontrolComponent, typeof i34.ZgaugeComponent, typeof i35.ZgridComponent, typeof i36.ZimgComponent, typeof i37.ZkcardComponent, typeof i38.ZlabelComponent, typeof i39.ZmfbComponent, typeof i40.ZmodalComponent, typeof i41.ZmodalMobileComponent, typeof i42.ZnumericComponent, typeof i43.ZpostselectinputComponent, typeof i44.ZquerybuilderComponent, typeof i45.ZreportComponent, typeof i46.ZschedulerComponent, typeof i47.ZselectmultipleComponent, typeof i48.ZtabComponent, typeof i49.ZtextComponent, typeof i50.ZtextareaComponent, typeof i51.ZtexteditorComponent, typeof i52.ZtreeComponent, typeof i53.ZtreelistComponent, typeof i54.ZtrendcardComponent, typeof i55.ZunknownComponent, typeof i56.ZudfComponent, typeof i57.ZuploadComponent, typeof i58.ZworkflowbuttonsComponent], [typeof i59.IonicModule, typeof i60.IonicSelectableModule, typeof i61.CommonModule, typeof i62.RouterModule, typeof i63.FormsModule, typeof i63.ReactiveFormsModule, typeof i64.AceEditorModule, typeof i65.FontAwesomeModule, typeof i66.QueryBuilderModule, typeof i67.ArcGaugeModule, typeof i68.ButtonsModule, typeof i69.ChartsModule, typeof i70.CalendarModule, typeof i70.DateInputsModule, typeof i71.DropDownsModule, typeof i72.EditorModule, typeof i73.GridModule, typeof i73.ExcelModule, typeof i74.IndicatorsModule, typeof i75.IntlModule, typeof i76.InputsModule, typeof i76.SwitchModule, typeof i76.TextBoxModule, typeof i77.LabelModule, typeof i78.LayoutModule, typeof i78.PanelBarModule, typeof i78.TabStripModule, typeof i79.PopupModule, typeof i80.ProgressBarModule, typeof i81.TelerikReportingModule, typeof i82.SchedulerModule, typeof i83.TreeListModule, typeof i84.TreeViewModule, typeof i85.TooltipModule, typeof i86.UploadModule, typeof i86.UploadsModule, typeof i87.ZCoreModule, typeof i88.MmhglobalMiddlewareModule, typeof i89.MmhglobalZmodalModule], [typeof i1.ScrollbarThemeDirective, typeof i2.FieldElementDirective, typeof i3.ZGridBindingDirective, typeof i4.ZGridPopupAnchorDirective, typeof i5.OpenOnFocusDirective, typeof i6.ElementContainerDirective, typeof i7.DateParserFilter, typeof i8.EditorFilter, typeof i9.DivzLayout, typeof i10.TabFilter, typeof i11.DateRangeFilterCellComponent, typeof i12.ZSchedulerToolBarComponent, typeof i13.UiheaderComponent, typeof i14.UicontainerComponent, typeof i15.UicontentComponent, typeof i16.UipageComponent, typeof i18.UimenucontentComponent, typeof i19.UimenubuttonComponent, typeof i20.UiappmenucontentComponent, typeof i17.UiactionbuttonComponent, typeof i21.UivalidationmessageComponent, typeof i22.ZBulletComponent, typeof i23.ZbuttonsComponent, typeof i24.ZcardComponent, typeof i25.ZchartComponent, typeof i26.ZcheckboxComponent, typeof i27.ZChipComponent, typeof i28.ZcodeeditorComponent, typeof i29.ZdaterangeComponent, typeof i30.ZdatetimeComponent, typeof i31.ZdivComponent, typeof i32.ZformComponent, typeof i33.ZformcontrolComponent, typeof i34.ZgaugeComponent, typeof i35.ZgridComponent, typeof i36.ZimgComponent, typeof i37.ZkcardComponent, typeof i38.ZlabelComponent, typeof i39.ZmfbComponent, typeof i40.ZmodalComponent, typeof i41.ZmodalMobileComponent, typeof i42.ZnumericComponent, typeof i43.ZpostselectinputComponent, typeof i44.ZquerybuilderComponent, typeof i45.ZreportComponent, typeof i46.ZschedulerComponent, typeof i47.ZselectmultipleComponent, typeof i48.ZtabComponent, typeof i49.ZtextComponent, typeof i50.ZtextareaComponent, typeof i51.ZtexteditorComponent, typeof i52.ZtreeComponent, typeof i53.ZtreelistComponent, typeof i54.ZtrendcardComponent, typeof i55.ZunknownComponent, typeof i56.ZudfComponent, typeof i57.ZuploadComponent, typeof i58.ZworkflowbuttonsComponent]>;
101
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MmhglobalDynamicformModule, [typeof i1.ScrollbarThemeDirective, typeof i2.FieldElementDirective, typeof i3.ZGridBindingDirective, typeof i4.ZGridPopupAnchorDirective, typeof i5.OpenOnFocusDirective, typeof i6.ElementContainerDirective, typeof i7.DateParserFilter, typeof i8.EditorFilter, typeof i9.DivzLayout, typeof i10.TabFilter, typeof i11.DateRangeFilterCellComponent, typeof i12.ZSchedulerToolBarComponent, typeof i13.UiheaderComponent, typeof i14.UicontainerComponent, typeof i15.UicontentComponent, typeof i16.UipageComponent, typeof i17.UiactionbuttonComponent, typeof i18.UimenucontentComponent, typeof i19.UimenubuttonComponent, typeof i20.UiappmenucontentComponent, typeof i21.UivalidationmessageComponent, typeof i22.ZBulletComponent, typeof i23.ZbuttonsComponent, typeof i24.ZcardComponent, typeof i25.ZchartComponent, typeof i26.ZcheckboxComponent, typeof i27.ZChipComponent, typeof i28.ZcodeeditorComponent, typeof i29.ZdaterangeComponent, typeof i30.ZdatetimeComponent, typeof i31.ZdivComponent, typeof i32.ZformComponent, typeof i33.ZformcontrolComponent, typeof i34.ZgaugeComponent, typeof i35.ZgridComponent, typeof i36.ZimgComponent, typeof i37.ZkcardComponent, typeof i38.ZlabelComponent, typeof i39.ZmfbComponent, typeof i40.ZmodalComponent, typeof i41.ZmodalMobileComponent, typeof i42.ZnumericComponent, typeof i43.ZpostselectinputComponent, typeof i44.ZquerybuilderComponent, typeof i45.ZreportComponent, typeof i46.ZschedulerComponent, typeof i47.ZselectmultipleComponent, typeof i48.ZtabComponent, typeof i49.ZtextComponent, typeof i50.ZtextareaComponent, typeof i51.ZtexteditorComponent, typeof i52.ZtreeComponent, typeof i53.ZtreelistComponent, typeof i54.ZtrendcardComponent, typeof i55.ZunknownComponent, typeof i56.ZudfComponent, typeof i57.ZuploadComponent, typeof i58.ZworkflowbuttonsComponent, typeof i59.KcardComponent, typeof i60.ZInputContainerComponent, typeof i61.ZprogressbarComponent, typeof i62.ZInputParser, typeof i63.HtmlSanitizePipe, typeof i64.InputErrorMessageComponent, typeof i65.InputFieldAddOnsComponent], [typeof i66.IonicModule, typeof i67.IonicSelectableModule, typeof i68.CommonModule, typeof i69.RouterModule, typeof i70.FormsModule, typeof i70.ReactiveFormsModule, typeof i71.AceEditorModule, typeof i72.FontAwesomeModule, typeof i73.QueryBuilderModule, typeof i74.ArcGaugeModule, typeof i75.ButtonsModule, typeof i76.ChartsModule, typeof i77.CalendarModule, typeof i77.DateInputsModule, typeof i78.DropDownsModule, typeof i79.EditorModule, typeof i80.GridModule, typeof i80.ExcelModule, typeof i81.IndicatorsModule, typeof i82.IntlModule, typeof i83.InputsModule, typeof i83.SwitchModule, typeof i83.TextBoxModule, typeof i84.LabelModule, typeof i85.LayoutModule, typeof i85.PanelBarModule, typeof i85.TabStripModule, typeof i86.PopupModule, typeof i87.ProgressBarModule, typeof i88.TelerikReportingModule, typeof i89.SchedulerModule, typeof i90.TreeListModule, typeof i91.TreeViewModule, typeof i92.TooltipModule, typeof i92.PopoverModule, typeof i93.UploadModule, typeof i93.UploadsModule, typeof i94.ZCoreModule, typeof i95.MmhglobalZmodalModule, typeof i96.NavigationModule, typeof i97.FlexLayoutModule], [typeof i1.ScrollbarThemeDirective, typeof i2.FieldElementDirective, typeof i3.ZGridBindingDirective, typeof i4.ZGridPopupAnchorDirective, typeof i5.OpenOnFocusDirective, typeof i6.ElementContainerDirective, typeof i7.DateParserFilter, typeof i8.EditorFilter, typeof i9.DivzLayout, typeof i10.TabFilter, typeof i11.DateRangeFilterCellComponent, typeof i12.ZSchedulerToolBarComponent, typeof i13.UiheaderComponent, typeof i14.UicontainerComponent, typeof i15.UicontentComponent, typeof i16.UipageComponent, typeof i18.UimenucontentComponent, typeof i19.UimenubuttonComponent, typeof i20.UiappmenucontentComponent, typeof i17.UiactionbuttonComponent, typeof i21.UivalidationmessageComponent, typeof i22.ZBulletComponent, typeof i23.ZbuttonsComponent, typeof i24.ZcardComponent, typeof i25.ZchartComponent, typeof i26.ZcheckboxComponent, typeof i27.ZChipComponent, typeof i28.ZcodeeditorComponent, typeof i29.ZdaterangeComponent, typeof i30.ZdatetimeComponent, typeof i31.ZdivComponent, typeof i32.ZformComponent, typeof i33.ZformcontrolComponent, typeof i34.ZgaugeComponent, typeof i35.ZgridComponent, typeof i36.ZimgComponent, typeof i37.ZkcardComponent, typeof i38.ZlabelComponent, typeof i39.ZmfbComponent, typeof i40.ZmodalComponent, typeof i41.ZmodalMobileComponent, typeof i42.ZnumericComponent, typeof i43.ZpostselectinputComponent, typeof i44.ZquerybuilderComponent, typeof i45.ZreportComponent, typeof i46.ZschedulerComponent, typeof i47.ZselectmultipleComponent, typeof i48.ZtabComponent, typeof i49.ZtextComponent, typeof i50.ZtextareaComponent, typeof i51.ZtexteditorComponent, typeof i52.ZtreeComponent, typeof i53.ZtreelistComponent, typeof i54.ZtrendcardComponent, typeof i55.ZunknownComponent, typeof i56.ZudfComponent, typeof i57.ZuploadComponent, typeof i58.ZworkflowbuttonsComponent, typeof i60.ZInputContainerComponent, typeof i61.ZprogressbarComponent, typeof i62.ZInputParser, typeof i63.HtmlSanitizePipe, typeof i64.InputErrorMessageComponent, typeof i65.InputFieldAddOnsComponent]>;
94
102
  static ɵinj: i0.ɵɵInjectorDeclaration<MmhglobalDynamicformModule>;
95
103
  }
@@ -0,0 +1,10 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
3
+ import * as i0 from "@angular/core";
4
+ export declare class HtmlSanitizePipe implements PipeTransform {
5
+ private domSanitizer;
6
+ constructor(domSanitizer: DomSanitizer);
7
+ transform(html: string): SafeHtml;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<HtmlSanitizePipe, never>;
9
+ static ɵpipe: i0.ɵɵPipeDeclaration<HtmlSanitizePipe, "htmlSanitize">;
10
+ }
@@ -0,0 +1,14 @@
1
+ import { FormGroup } from '@angular/forms';
2
+ import { AlertService, ZGroup } from 'mmhglobal-zcore';
3
+ import * as i0 from "@angular/core";
4
+ export declare class ComponentErrorHandlerService {
5
+ private alertService;
6
+ constructor(alertService: AlertService);
7
+ showFormGroupErrorMessage(group: ZGroup, formGroup?: FormGroup): void;
8
+ getErrorMessageForInvalidInput(group: ZGroup, formGroup?: FormGroup, controlName?: string): Array<string>;
9
+ private extractErrorMessageFromControl;
10
+ private getErrorMessageByErrorType;
11
+ private getErrorMsgAction_Required;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<ComponentErrorHandlerService, never>;
13
+ static ɵprov: i0.ɵɵInjectableDeclaration<ComponentErrorHandlerService>;
14
+ }
@@ -5,9 +5,10 @@ import { ModalController, NavController } from '@ionic/angular';
5
5
  /********** Plugin **********/
6
6
  import { Observable, Subscription } from 'rxjs';
7
7
  /********** Component & Service **********/
8
- import { AlertService, CacheService, FieldService, ResourceApiService, ToastService, WebApiService, ZComponentOutputEvent, ZComponentSize, ZCoreService, ZField, ZGroup } from 'mmhglobal-zcore';
8
+ import { AlertService, CacheService, FieldService, ResourceApiService, TranslationService, WebApiService, StorageSessionService, ZComponentOutputEvent, ZComponentSize, ZCoreService, ZField, ZGroup } from 'mmhglobal-zcore';
9
9
  import { ModalService, ModalResponse } from 'mmhglobal-zmodal';
10
10
  import { ZComponentDebugService } from './zcomponent.debug.service';
11
+ import { ComponentErrorHandlerService } from './component-error-handler.service';
11
12
  import * as i0 from "@angular/core";
12
13
  export declare class MainService {
13
14
  private router;
@@ -17,14 +18,19 @@ export declare class MainService {
17
18
  private cacheService;
18
19
  private fieldService;
19
20
  private resourceApiService;
20
- private toastService;
21
+ private componentErrorHandler;
21
22
  private webApiService;
22
23
  private zcoreService;
23
24
  private modalService;
25
+ private storageService;
24
26
  private debugService;
27
+ private translationService;
25
28
  private group;
26
29
  private oauthEnvironmentUrl;
27
- constructor(router: Router, modalCtrl: ModalController, navController: NavController, alertService: AlertService, cacheService: CacheService, fieldService: FieldService, resourceApiService: ResourceApiService, toastService: ToastService, webApiService: WebApiService, zcoreService: ZCoreService, modalService: ModalService, debugService: ZComponentDebugService);
30
+ private environment;
31
+ private backNaviagtionPath;
32
+ private routeParam;
33
+ constructor(router: Router, modalCtrl: ModalController, navController: NavController, alertService: AlertService, cacheService: CacheService, fieldService: FieldService, resourceApiService: ResourceApiService, componentErrorHandler: ComponentErrorHandlerService, webApiService: WebApiService, zcoreService: ZCoreService, modalService: ModalService, storageService: StorageSessionService, debugService: ZComponentDebugService, translationService: TranslationService);
28
34
  startUp(): void;
29
35
  setGroup(group: ZGroup): void;
30
36
  getResourceServerData(): Observable<any>;
@@ -32,11 +38,19 @@ export declare class MainService {
32
38
  initializeGroup(group: ZGroup, ctrlName: string, pageName: string, me: any): Subscription;
33
39
  getModel$(group: ZGroup, id: string): Observable<any>;
34
40
  canExit(form: FormGroup): boolean | Observable<boolean>;
35
- closeModalForm(): void;
41
+ closeModalForm(group?: ZGroup): void;
36
42
  subjectEvent(event: ZComponentOutputEvent, group: ZGroup, me: any): void;
37
43
  handleSuccess(res: Response | any, successMsg: string): Response;
44
+ private tryUpdateGroupTrigger;
38
45
  handleError(res: any): Observable<any>;
39
- private backNavigation;
46
+ routeNavigate(pageName: string, pageParams: string[]): void;
47
+ setNavigationParams(urlParams: string[]): void;
48
+ private getNavigationParams;
49
+ getNavigationParentParam(): string;
50
+ getNavigationCurrentParam(): string;
51
+ removeLastNavigateRecord(): void;
52
+ backNavigation(event: ZComponentOutputEvent, group: ZGroup, me: any): void;
53
+ private routerBackNavigate;
40
54
  private historyBack;
41
55
  refreshGrid(event: ZComponentOutputEvent, group: ZGroup, me: any, gridOptionName?: string): void;
42
56
  private refreshPage;
@@ -44,8 +58,10 @@ export declare class MainService {
44
58
  private newModel;
45
59
  createModel(event: ZComponentOutputEvent, group: ZGroup): void;
46
60
  updateModel(event: ZComponentOutputEvent, group: ZGroup): void;
61
+ updateModelObservable(event: ZComponentOutputEvent, group: ZGroup, form?: FormGroup, updateAPIObservable?: Observable<any>, isSkipDirty?: boolean): Observable<any>;
47
62
  private cloneNewModel;
48
63
  private deleteModel;
64
+ isFormDirtyAndValid(fg: FormGroup, group: ZGroup, isSkipDirty?: boolean): boolean;
49
65
  private beforeUpdateModel;
50
66
  private beforeDeleteModel;
51
67
  private beforeNewModel;
@@ -61,6 +77,8 @@ export declare class MainService {
61
77
  cookieStorePost(name: string, value: any): Observable<any>;
62
78
  cookieStoreGet(name: string, accessToken: string): Observable<any>;
63
79
  cookieStoreDeleteMultiple(name: string): Observable<any>;
80
+ scrollToElementById(id: string): void;
81
+ translationPageElement(group: ZGroup): Observable<any>;
64
82
  loadContainerView(elementContainer: any, containerPage: any, group?: ZGroup): Promise<void>;
65
83
  closeContainerView(group: ZGroup): Promise<void>;
66
84
  static ɵfac: i0.ɵɵFactoryDeclaration<MainService, never>;
@@ -4,6 +4,7 @@ import { Observable } from 'rxjs';
4
4
  /********** Component & Service **********/
5
5
  import { AlertService, AuthService, FieldService, ResourceApiService, ToastService, WebApiService, ZComponentOutputEvent, ZField, ZGroup } from "mmhglobal-zcore";
6
6
  import { ModalService } from 'mmhglobal-zmodal';
7
+ import { ComponentErrorHandlerService } from "./component-error-handler.service";
7
8
  import * as i0 from "@angular/core";
8
9
  export declare class ZComponentDebugService {
9
10
  private router;
@@ -11,15 +12,17 @@ export declare class ZComponentDebugService {
11
12
  private authService;
12
13
  private fieldService;
13
14
  private resourceApiService;
15
+ private componentErrorHandler;
14
16
  private toastService;
15
17
  private modalService;
16
18
  private webApiService;
17
- constructor(router: Router, alertService: AlertService, authService: AuthService, fieldService: FieldService, resourceApiService: ResourceApiService, toastService: ToastService, modalService: ModalService, webApiService: WebApiService);
19
+ constructor(router: Router, alertService: AlertService, authService: AuthService, fieldService: FieldService, resourceApiService: ResourceApiService, componentErrorHandler: ComponentErrorHandlerService, toastService: ToastService, modalService: ModalService, webApiService: WebApiService);
18
20
  private scope;
19
21
  get debug(): any;
20
22
  get group(): ZGroup;
21
23
  onInitDebugger(group: ZGroup): void;
22
24
  onStartDebugger(fieldElements: Array<ZField>, me: any): Observable<[any]>;
25
+ private patchFieldsProperty;
23
26
  private loadDebugZModel;
24
27
  private getProjectId;
25
28
  private getFieldzModel;
@@ -1,16 +1,32 @@
1
- /********** Angular **********/
2
1
  import { ComponentFactoryResolver } from "@angular/core";
3
2
  import { FormGroup } from '@angular/forms';
3
+ import { ZComponentProperties, ZCoreService, ZField, ZGroup, TranslationService } from 'mmhglobal-zcore';
4
4
  import { ComponentObjectService } from 'mmhglobal-middleware';
5
+ import { Observable } from "rxjs";
5
6
  import { FieldElementDirective } from '../directives/fieldelement.directive';
6
7
  import * as i0 from "@angular/core";
7
- /********** zComponent **********/
8
8
  export declare class ZComponentService {
9
9
  private componentObjectService;
10
- constructor(componentObjectService: ComponentObjectService);
10
+ private translateService;
11
+ private zcoreService;
12
+ environment: any;
13
+ constructor(componentObjectService: ComponentObjectService, translateService: TranslationService, zcoreService: ZCoreService);
11
14
  isSkipComponentType(componentType: string): boolean;
12
- loadComponent(componentFactoryResolver: ComponentFactoryResolver, fieldElement: FieldElementDirective, field: any, group: any, form: FormGroup): void;
15
+ loadComponent(componentFactoryResolver: ComponentFactoryResolver, fieldElement: FieldElementDirective, field: any, group: any, form: FormGroup, containerField: any): void;
13
16
  appendComponentToDynamicForm(componentFactoryResolver: ComponentFactoryResolver, injector: any, appRef: any, field: any, group: any, containerId: string): any;
17
+ private readonly DEFAULT_ISEDIT;
18
+ setEditMode(me: any): void;
19
+ setComponentAdditionalProperties(me: any): void;
20
+ setCompStylesByIndex(me: any): void;
21
+ setStyleByIndex(me: any, ind: string, style: string): void;
22
+ setContainerStyleByIndex(me: any, ind: string, style: string): void;
23
+ convertStyleStringToObject(styleString: string): any;
24
+ translateToolBarItems(items: Array<any>): Observable<any>;
25
+ translateGridColumnHeader(columns: Array<any>, group: ZGroup): Observable<any>;
26
+ translateButtonComponent(buttons: Array<any>, group: ZGroup): Observable<any>;
27
+ translateComponentField(data: ZField, group: ZGroup): Observable<any>;
28
+ translateComponentProperties(componentProperties: ZComponentProperties, group: ZGroup): Observable<any>;
29
+ private translateCompByProperty;
14
30
  static ɵfac: i0.ɵɵFactoryDeclaration<ZComponentService, never>;
15
31
  static ɵprov: i0.ɵɵInjectableDeclaration<ZComponentService>;
16
32
  }
@@ -5,17 +5,18 @@ import { Router } from '@angular/router';
5
5
  /********** Plugin **********/
6
6
  /********** Component & Service **********/
7
7
  import { OAuthMenuItem, MenuService, AuthService, ZCoreService } from 'mmhglobal-zcore';
8
+ import { MainService } from '../services/main.service';
8
9
  import * as i0 from "@angular/core";
9
10
  export declare class UiappmenucontentComponent implements OnInit {
10
11
  private router;
11
12
  private menuService;
12
13
  private authService;
13
14
  private zcoreService;
15
+ private mainService;
14
16
  items: Array<OAuthMenuItem>;
15
- colorArray: any[];
16
- constructor(router: Router, menuService: MenuService, authService: AuthService, zcoreService: ZCoreService);
17
+ constructor(router: Router, menuService: MenuService, authService: AuthService, zcoreService: ZCoreService, mainService: MainService);
17
18
  ngOnInit(): void;
18
- getDivClass(item: any): "flex-show" | "col-xs-4 col-sm-4 col-md-3 col-xl-2";
19
+ getDivClass(item: any): string;
19
20
  getMenuList(item: any): any;
20
21
  menuOnClick(pathName: string, appClientPath?: string): boolean;
21
22
  private setMapInput;
@@ -1,5 +1,6 @@
1
1
  /********** Angular **********/
2
2
  import { OnInit } from '@angular/core';
3
+ import { Router } from '@angular/router';
3
4
  /********** Ionic **********/
4
5
  /********** Plugin **********/
5
6
  /********** Component & Service **********/
@@ -7,12 +8,15 @@ import { ZGroup, ZCoreService } from 'mmhglobal-zcore';
7
8
  import * as i0 from "@angular/core";
8
9
  export declare class UicontentComponent implements OnInit {
9
10
  private zcoreService;
11
+ private router;
10
12
  group: ZGroup;
11
- constructor(zcoreService: ZCoreService);
13
+ cssClass: string;
14
+ constructor(zcoreService: ZCoreService, router: Router);
12
15
  ngOnInit(): void;
13
16
  isSITEnvironment(): boolean;
14
17
  isFieldElement(): boolean;
15
18
  isMobileScreen(): boolean;
19
+ onNavItemClick(navItem: any): void;
16
20
  static ɵfac: i0.ɵɵFactoryDeclaration<UicontentComponent, never>;
17
- static ɵcmp: i0.ɵɵComponentDeclaration<UicontentComponent, "app-uicontent", never, { "group": "group"; }, {}, never, never>;
21
+ static ɵcmp: i0.ɵɵComponentDeclaration<UicontentComponent, "app-uicontent", never, { "group": "group"; "cssClass": "cssClass"; }, {}, never, never>;
18
22
  }
@@ -1,26 +1,30 @@
1
- /********** Angular **********/
2
1
  import { OnInit } from "@angular/core";
3
2
  import { Router } from '@angular/router';
4
- /********** Ionic **********/
5
- /********** Plugin **********/
6
- /********** Component & Service **********/
7
- import { ZGroup, ZCoreService, AuthService } from "mmhglobal-zcore";
3
+ import { ZGroup, ZCoreService, AuthService, TranslationService } from 'mmhglobal-zcore';
8
4
  import * as i0 from "@angular/core";
9
5
  export declare class UiheaderComponent implements OnInit {
10
6
  private router;
7
+ private translationService;
11
8
  private zcoreService;
12
9
  private authService;
13
10
  group: ZGroup;
14
11
  topFormHeader: string;
15
- formHeader: string;
16
12
  profileImgUrl: string;
17
13
  username: string;
18
14
  userDisplayName: string;
19
- constructor(router: Router, zcoreService: ZCoreService, authService: AuthService);
15
+ isloading: boolean;
16
+ private environment;
17
+ userPanelItems: any;
18
+ constructor(router: Router, translationService: TranslationService, zcoreService: ZCoreService, authService: AuthService);
20
19
  ngOnInit(): void;
21
- bindFormHeader(): boolean;
22
- onLogout(): void;
20
+ private setUserProfile;
21
+ private translateUserMenu;
22
+ onDialItemClick(event: any): void;
23
+ private navToUserProfile;
24
+ private navLogout;
25
+ navHome(): void;
23
26
  isMobileScreen(): boolean;
27
+ onNavItemClick(navItem: any): void;
24
28
  static ɵfac: i0.ɵɵFactoryDeclaration<UiheaderComponent, never>;
25
29
  static ɵcmp: i0.ɵɵComponentDeclaration<UiheaderComponent, "app-uiheader", never, { "group": "group"; "topFormHeader": "topFormHeader"; }, {}, never, never>;
26
30
  }
@@ -1,33 +1,24 @@
1
1
  /********** Angular **********/
2
2
  import { OnInit } from '@angular/core';
3
- import { FormGroup } from '@angular/forms';
4
3
  /********** Ionic **********/
5
4
  /********** Plugin **********/
6
5
  /********** Component & Service **********/
7
- import { FieldService, ZComponent, ZComponentProperties, ZField, ZGroup } from 'mmhglobal-zcore';
6
+ import { FieldService, ZComponent } from 'mmhglobal-zcore';
7
+ import { ButtonFieldBase } from '../components/buttonfieldbase.component';
8
+ import { ZComponentService } from '../services/zcomponent.service';
8
9
  import * as i0 from "@angular/core";
9
- export declare class ZbuttonsComponent implements ZComponent, OnInit {
10
+ export declare class ZbuttonsComponent extends ButtonFieldBase implements ZComponent, OnInit {
10
11
  private fieldService;
11
- data: ZField;
12
- group: ZGroup;
13
- form: FormGroup;
14
12
  items: Array<any>;
13
+ leftBtns: Array<any>;
14
+ rightBtns: Array<any>;
15
15
  FirstZbtn: boolean;
16
- componentProperties: ZComponentProperties;
17
- expand: string;
18
- constructor(fieldService: FieldService);
16
+ constructor(compService: ZComponentService, fieldService: FieldService);
19
17
  ngOnInit(): void;
20
- setLabelText(newText: string, name: string): void;
21
- private buttonClick;
18
+ private loadButton;
19
+ setLabelText(newText: string, name?: string): void;
20
+ buttonClick(button: any): void;
22
21
  BtnClick(item: any): void;
23
- private getButtonLabel;
24
- private getButtonRole;
25
- isMobileScreen(): boolean;
26
- isBtnVisible(fieldExpr: any): any;
27
- getFontAwesome(iconName: string): string;
28
- setEnable: (status: boolean) => void;
29
- setVisible: (status: boolean) => void;
30
- setRequire: (status: boolean) => void;
31
22
  static ɵfac: i0.ɵɵFactoryDeclaration<ZbuttonsComponent, never>;
32
- static ɵcmp: i0.ɵɵComponentDeclaration<ZbuttonsComponent, "app-zbuttons", never, { "data": "data"; "group": "group"; "form": "form"; }, {}, never, never>;
23
+ static ɵcmp: i0.ɵɵComponentDeclaration<ZbuttonsComponent, "app-zbuttons", never, {}, {}, never, never>;
33
24
  }
@@ -1,29 +1,15 @@
1
1
  /********** Angular **********/
2
2
  import { OnInit } from "@angular/core";
3
- import { FormGroup } from "@angular/forms";
4
3
  /********** Ionic **********/
5
4
  /********** Plugin **********/
6
5
  /********** Component & Service **********/
7
- import { ZComponent, ZField, ZGroup, ZComponentProperties, AuthService } from "mmhglobal-zcore";
6
+ import { ZComponent } from "mmhglobal-zcore";
7
+ import { ContainerFieldBase } from "../components/containerfieldbase.component";
8
+ import { ZComponentService } from "../services/zcomponent.service";
8
9
  import * as i0 from "@angular/core";
9
- export declare class ZcardComponent implements ZComponent, OnInit {
10
- private authService;
11
- data: ZField;
12
- group: ZGroup;
13
- form: FormGroup;
14
- componentProperties: ZComponentProperties;
15
- constructor(authService: AuthService);
16
- options: {
17
- Title: string;
18
- Icon: string;
19
- };
10
+ export declare class ZcardComponent extends ContainerFieldBase implements ZComponent, OnInit {
11
+ constructor(compService: ZComponentService);
20
12
  ngOnInit(): void;
21
- ComponentIsVisible(field: ZField): any;
22
- setVisible: (status: boolean) => void;
23
- getReadOnlyValue(): any;
24
- private getFieldDeclarationForSetup;
25
- setData: (gData: any) => void;
26
- setEnable: (status: boolean) => void;
27
13
  static ɵfac: i0.ɵɵFactoryDeclaration<ZcardComponent, never>;
28
- static ɵcmp: i0.ɵɵComponentDeclaration<ZcardComponent, "app-zcard", never, { "data": "data"; "group": "group"; "form": "form"; }, {}, never, never>;
14
+ static ɵcmp: i0.ɵɵComponentDeclaration<ZcardComponent, "app-zcard", never, {}, {}, never, never>;
29
15
  }