mmhglobal-dynamicform 2.36.2 → 2.37.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +26 -0
- package/esm2020/lib/components/buttonfieldbase.component.mjs +10 -1
- package/esm2020/lib/components/datalistingfieldbase.component.mjs +37 -1
- package/esm2020/lib/components/fieldbase.component.mjs +3 -3
- package/esm2020/lib/dropdown_buttons/dropdown_buttons.component.mjs +109 -0
- package/esm2020/lib/kcard/kcard.component.mjs +2 -2
- package/esm2020/lib/ksplitter/ksplitter.component.mjs +19 -2
- package/esm2020/lib/mmhglobal-dynamicform.module.mjs +10 -5
- package/esm2020/lib/services/main.service.mjs +83 -18
- package/esm2020/lib/services/zcomponent.debug.service.mjs +7 -3
- package/esm2020/lib/uiappmenucontent/uiappmenucontent.component.mjs +15 -23
- package/esm2020/lib/zbuttons/zbuttons.component.mjs +14 -25
- package/esm2020/lib/zgrid/zgrid.binding.directive.mjs +21 -13
- package/esm2020/lib/zgrid/zgrid.component.mjs +98 -98
- package/esm2020/lib/ztextarea/ztextarea.component.mjs +3 -7
- package/esm2020/lib/ztreelist/ztreelist.component.mjs +38 -16
- package/esm2020/lib/zudf/zudf.component.mjs +3 -3
- package/esm2020/public-api.mjs +2 -1
- package/fesm2015/mmhglobal-dynamicform.mjs +431 -191
- package/fesm2015/mmhglobal-dynamicform.mjs.map +1 -1
- package/fesm2020/mmhglobal-dynamicform.mjs +430 -192
- package/fesm2020/mmhglobal-dynamicform.mjs.map +1 -1
- package/lib/components/buttonfieldbase.component.d.ts +3 -0
- package/lib/components/datalistingfieldbase.component.d.ts +2 -0
- package/lib/dropdown_buttons/dropdown_buttons.component.d.ts +21 -0
- package/lib/ksplitter/ksplitter.component.d.ts +2 -0
- package/lib/mmhglobal-dynamicform.module.d.ts +42 -41
- package/lib/services/main.service.d.ts +8 -3
- package/lib/uiappmenucontent/uiappmenucontent.component.d.ts +4 -2
- package/lib/zbuttons/zbuttons.component.d.ts +1 -3
- package/lib/zgrid/zgrid.component.d.ts +4 -4
- package/lib/ztreelist/ztreelist.component.d.ts +2 -1
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
|
@@ -4,6 +4,7 @@ import { Observable } from "rxjs";
|
|
|
4
4
|
/********** Component & Service **********/
|
|
5
5
|
import { FieldBase } from "./fieldbase.component";
|
|
6
6
|
import { ZComponentService } from "../services/zcomponent.service";
|
|
7
|
+
import { ZField } from "mmhglobal-zcore";
|
|
7
8
|
import * as i0 from "@angular/core";
|
|
8
9
|
export declare class ButtonFieldBase extends FieldBase {
|
|
9
10
|
componentService: ZComponentService;
|
|
@@ -18,6 +19,8 @@ export declare class ButtonFieldBase extends FieldBase {
|
|
|
18
19
|
buttonClick(button: any): void;
|
|
19
20
|
translateButtonsLabel(items: Array<any>): any;
|
|
20
21
|
setLabelText(newText: string, name?: string): void;
|
|
22
|
+
protected getButtonDisableTriggerValue(data: ZField, button: any): boolean;
|
|
23
|
+
disableButton(buttonName: string, isDisabled?: boolean): void;
|
|
21
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonFieldBase, never>;
|
|
22
25
|
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonFieldBase, "ng-component", never, {}, {}, never, never>;
|
|
23
26
|
}
|
|
@@ -26,6 +26,8 @@ export declare class DataListingFieldBase extends FieldBase {
|
|
|
26
26
|
getGridHeaderStyle(): any;
|
|
27
27
|
getGridFooterStyle(): any;
|
|
28
28
|
getCellStyle(columnField: ZField, dataItem: any): any;
|
|
29
|
+
cellStyleCondition(col: any, colValue: any): boolean;
|
|
30
|
+
setCellStyleCondition(col: any, colValue: any): string | false;
|
|
29
31
|
translateToolBarItems(): Observable<any>;
|
|
30
32
|
getToolBarItemLabelName(name: string): string;
|
|
31
33
|
translateColumnHeader(columns: any[]): Observable<any>;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/********** Angular **********/
|
|
2
|
+
import { OnInit } from '@angular/core';
|
|
3
|
+
/********** Ionic **********/
|
|
4
|
+
/********** Plugin **********/
|
|
5
|
+
/********** Component & Service **********/
|
|
6
|
+
import { ButtonFieldBase } from '../components/buttonfieldbase.component';
|
|
7
|
+
import { ZComponentService } from '../services/zcomponent.service';
|
|
8
|
+
import { FontAweSomeService, ZComponent } from 'mmhglobal-zcore';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
export declare class DropDownButtonsComponent extends ButtonFieldBase implements ZComponent, OnInit {
|
|
11
|
+
componentService: ZComponentService;
|
|
12
|
+
fontAweSomeService: FontAweSomeService;
|
|
13
|
+
constructor(componentService: ZComponentService, fontAweSomeService: FontAweSomeService);
|
|
14
|
+
ngOnInit(): void;
|
|
15
|
+
ngAfterViewInit(): void;
|
|
16
|
+
private loadButton;
|
|
17
|
+
private setupButtonAttributes;
|
|
18
|
+
buttonClick(item: any): void;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DropDownButtonsComponent, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DropDownButtonsComponent, "app-dropdown_buttons", never, {}, {}, never, never>;
|
|
21
|
+
}
|
|
@@ -10,7 +10,9 @@ export declare class KsplitterComponent extends ContainerFieldBase implements ZC
|
|
|
10
10
|
constructor(compService: ZComponentService);
|
|
11
11
|
ngOnInit(): void;
|
|
12
12
|
ngOnDestroy(): void;
|
|
13
|
+
resizePanelByIndex(index: number, size: string): void;
|
|
13
14
|
toggleCollapseStateByIndex(index: number, isCollapse?: boolean): void;
|
|
15
|
+
private getPanelByIndex;
|
|
14
16
|
ngAfterViewInit(): void;
|
|
15
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<KsplitterComponent, never>;
|
|
16
18
|
static ɵcmp: i0.ɵɵComponentDeclaration<KsplitterComponent, "app-ksplitter", never, {}, {}, never, never>;
|
|
@@ -84,48 +84,49 @@ import * as i82 from "./embed-components/context-menu/context-menu.component";
|
|
|
84
84
|
import * as i83 from "./ficon/ficon.component";
|
|
85
85
|
import * as i84 from "./sfdatetimepicker/sfdatetimepicker.component";
|
|
86
86
|
import * as i85 from "./zganttchart/zganttchart.component";
|
|
87
|
-
import * as i86 from "
|
|
88
|
-
import * as i87 from "ionic
|
|
89
|
-
import * as i88 from "
|
|
90
|
-
import * as i89 from "@angular/
|
|
91
|
-
import * as i90 from "@angular/
|
|
92
|
-
import * as i91 from "
|
|
93
|
-
import * as i92 from "
|
|
94
|
-
import * as i93 from "
|
|
95
|
-
import * as i94 from "
|
|
96
|
-
import * as i95 from "@progress/kendo-angular-
|
|
97
|
-
import * as i96 from "@progress/kendo-angular-
|
|
98
|
-
import * as i97 from "@progress/kendo-angular-
|
|
99
|
-
import * as i98 from "@progress/kendo-angular-
|
|
100
|
-
import * as i99 from "@progress/kendo-angular-
|
|
101
|
-
import * as i100 from "@progress/kendo-angular-
|
|
102
|
-
import * as i101 from "@progress/kendo-angular-
|
|
103
|
-
import * as i102 from "@progress/kendo-angular-
|
|
104
|
-
import * as i103 from "@progress/kendo-angular-
|
|
105
|
-
import * as i104 from "@progress/kendo-angular-
|
|
106
|
-
import * as i105 from "@progress/kendo-angular-
|
|
107
|
-
import * as i106 from "@progress/kendo-angular-
|
|
108
|
-
import * as i107 from "@progress/kendo-angular-
|
|
109
|
-
import * as i108 from "@progress/kendo-angular-
|
|
110
|
-
import * as i109 from "@progress/kendo-angular-
|
|
111
|
-
import * as i110 from "@progress/
|
|
112
|
-
import * as i111 from "@progress/
|
|
113
|
-
import * as i112 from "@progress/kendo-angular-
|
|
114
|
-
import * as i113 from "@progress/kendo-angular-
|
|
115
|
-
import * as i114 from "@progress/kendo-angular-
|
|
116
|
-
import * as i115 from "@progress/kendo-angular-
|
|
117
|
-
import * as i116 from "
|
|
118
|
-
import * as i117 from "mmhglobal-
|
|
119
|
-
import * as i118 from "
|
|
120
|
-
import * as i119 from "@
|
|
121
|
-
import * as i120 from "@
|
|
122
|
-
import * as i121 from "@angular
|
|
123
|
-
import * as i122 from "@
|
|
124
|
-
import * as i123 from "@progress/kendo-angular-
|
|
125
|
-
import * as i124 from "@
|
|
126
|
-
import * as i125 from "@
|
|
87
|
+
import * as i86 from "./dropdown_buttons/dropdown_buttons.component";
|
|
88
|
+
import * as i87 from "@ionic/angular";
|
|
89
|
+
import * as i88 from "ionic-selectable";
|
|
90
|
+
import * as i89 from "@angular/common";
|
|
91
|
+
import * as i90 from "@angular/router";
|
|
92
|
+
import * as i91 from "@angular/forms";
|
|
93
|
+
import * as i92 from "ng2-ace-editor";
|
|
94
|
+
import * as i93 from "@fortawesome/angular-fontawesome";
|
|
95
|
+
import * as i94 from "angular2-query-builder";
|
|
96
|
+
import * as i95 from "@progress/kendo-angular-gauges";
|
|
97
|
+
import * as i96 from "@progress/kendo-angular-buttons";
|
|
98
|
+
import * as i97 from "@progress/kendo-angular-charts";
|
|
99
|
+
import * as i98 from "@progress/kendo-angular-dateinputs";
|
|
100
|
+
import * as i99 from "@progress/kendo-angular-dropdowns";
|
|
101
|
+
import * as i100 from "@progress/kendo-angular-editor";
|
|
102
|
+
import * as i101 from "@progress/kendo-angular-grid";
|
|
103
|
+
import * as i102 from "@progress/kendo-angular-filter";
|
|
104
|
+
import * as i103 from "@progress/kendo-angular-indicators";
|
|
105
|
+
import * as i104 from "@progress/kendo-angular-intl";
|
|
106
|
+
import * as i105 from "@progress/kendo-angular-inputs";
|
|
107
|
+
import * as i106 from "@progress/kendo-angular-label";
|
|
108
|
+
import * as i107 from "@progress/kendo-angular-layout";
|
|
109
|
+
import * as i108 from "@progress/kendo-angular-notification";
|
|
110
|
+
import * as i109 from "@progress/kendo-angular-popup";
|
|
111
|
+
import * as i110 from "@progress/kendo-angular-progressbar";
|
|
112
|
+
import * as i111 from "@progress/telerik-angular-report-viewer";
|
|
113
|
+
import * as i112 from "@progress/kendo-angular-scheduler";
|
|
114
|
+
import * as i113 from "@progress/kendo-angular-treelist";
|
|
115
|
+
import * as i114 from "@progress/kendo-angular-treeview";
|
|
116
|
+
import * as i115 from "@progress/kendo-angular-tooltip";
|
|
117
|
+
import * as i116 from "@progress/kendo-angular-upload";
|
|
118
|
+
import * as i117 from "mmhglobal-zcore";
|
|
119
|
+
import * as i118 from "mmhglobal-zmodal";
|
|
120
|
+
import * as i119 from "@progress/kendo-angular-navigation";
|
|
121
|
+
import * as i120 from "@angular/flex-layout";
|
|
122
|
+
import * as i121 from "@syncfusion/ej2-angular-querybuilder";
|
|
123
|
+
import * as i122 from "@angular/cdk/scrolling";
|
|
124
|
+
import * as i123 from "@progress/kendo-angular-scrollview";
|
|
125
|
+
import * as i124 from "@progress/kendo-angular-menu";
|
|
126
|
+
import * as i125 from "@syncfusion/ej2-angular-calendars";
|
|
127
|
+
import * as i126 from "@progress/kendo-angular-gantt";
|
|
127
128
|
export declare class MmhglobalDynamicformModule {
|
|
128
129
|
static ɵfac: i0.ɵɵFactoryDeclaration<MmhglobalDynamicformModule, never>;
|
|
129
|
-
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.PanelAreaFilter, typeof i12.DateRangeFilterCellComponent, typeof i13.ZSchedulerToolBarComponent, typeof i14.UiheaderComponent, typeof i15.UicontainerComponent, typeof i16.UicontentComponent, typeof i17.UipageComponent, typeof i18.UibulletinComponent, typeof i19.UiactionbuttonComponent, typeof i20.UimenucontentComponent, typeof i21.UimenubuttonComponent, typeof i22.UiappmenucontentComponent, typeof i23.UivalidationmessageComponent, typeof i24.ZBulletComponent, typeof i25.ZbuttonsComponent, typeof i26.ZcardComponent, typeof i27.ZchartComponent, typeof i28.ZcheckboxComponent, typeof i29.ZChipComponent, typeof i30.ZcodeeditorComponent, typeof i31.ZdaterangeComponent, typeof i32.ZdatetimeComponent, typeof i33.ZdivComponent, typeof i34.ZformComponent, typeof i35.ZformcontrolComponent, typeof i36.ZgaugeComponent, typeof i37.ZgridComponent, typeof i38.ZimgComponent, typeof i39.ZlabelComponent, typeof i40.ZmfbComponent, typeof i41.ZmodalComponent, typeof i42.ZmodalMobileComponent, typeof i43.ZnumericComponent, typeof i44.ZpostselectinputComponent, 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.ZSelectTranslationParser, typeof i64.HtmlSanitizePipe, typeof i65.InputErrorMessageComponent, typeof i66.InputFieldAddOnsComponent, typeof i67.SpinnerComponent, typeof i68.PageLoaderComponent, typeof i69.ProcessingRecordLoaderComponent, typeof i70.ZNumericParser, typeof i71.ZgridContainerComponent, typeof i72.DateKendoFormatParser, typeof i73.DateIonicFormatParser, typeof i74.DateIonicMinMaxParser, typeof i75.SfquerybuilderComponent, typeof i76.ZloopComponent, typeof i77.KsplitterComponent, typeof i78.VirtualScrollComponent, typeof i79.ZcolorpickerComponent, typeof i80.KmenuComponent, typeof i81.KScrollViewComponent, typeof i82.ContextMenuComponent, typeof i83.FiconComponent, typeof i84.SfdatetimepickerComponent, typeof i85.ZganttchartComponent], [typeof
|
|
130
|
+
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.PanelAreaFilter, typeof i12.DateRangeFilterCellComponent, typeof i13.ZSchedulerToolBarComponent, typeof i14.UiheaderComponent, typeof i15.UicontainerComponent, typeof i16.UicontentComponent, typeof i17.UipageComponent, typeof i18.UibulletinComponent, typeof i19.UiactionbuttonComponent, typeof i20.UimenucontentComponent, typeof i21.UimenubuttonComponent, typeof i22.UiappmenucontentComponent, typeof i23.UivalidationmessageComponent, typeof i24.ZBulletComponent, typeof i25.ZbuttonsComponent, typeof i26.ZcardComponent, typeof i27.ZchartComponent, typeof i28.ZcheckboxComponent, typeof i29.ZChipComponent, typeof i30.ZcodeeditorComponent, typeof i31.ZdaterangeComponent, typeof i32.ZdatetimeComponent, typeof i33.ZdivComponent, typeof i34.ZformComponent, typeof i35.ZformcontrolComponent, typeof i36.ZgaugeComponent, typeof i37.ZgridComponent, typeof i38.ZimgComponent, typeof i39.ZlabelComponent, typeof i40.ZmfbComponent, typeof i41.ZmodalComponent, typeof i42.ZmodalMobileComponent, typeof i43.ZnumericComponent, typeof i44.ZpostselectinputComponent, 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.ZSelectTranslationParser, typeof i64.HtmlSanitizePipe, typeof i65.InputErrorMessageComponent, typeof i66.InputFieldAddOnsComponent, typeof i67.SpinnerComponent, typeof i68.PageLoaderComponent, typeof i69.ProcessingRecordLoaderComponent, typeof i70.ZNumericParser, typeof i71.ZgridContainerComponent, typeof i72.DateKendoFormatParser, typeof i73.DateIonicFormatParser, typeof i74.DateIonicMinMaxParser, typeof i75.SfquerybuilderComponent, typeof i76.ZloopComponent, typeof i77.KsplitterComponent, typeof i78.VirtualScrollComponent, typeof i79.ZcolorpickerComponent, typeof i80.KmenuComponent, typeof i81.KScrollViewComponent, typeof i82.ContextMenuComponent, typeof i83.FiconComponent, typeof i84.SfdatetimepickerComponent, typeof i85.ZganttchartComponent, typeof i86.DropDownButtonsComponent], [typeof i87.IonicModule, typeof i88.IonicSelectableModule, typeof i89.CommonModule, typeof i90.RouterModule, typeof i91.FormsModule, typeof i91.ReactiveFormsModule, typeof i92.AceEditorModule, typeof i93.FontAwesomeModule, typeof i94.QueryBuilderModule, typeof i95.ArcGaugeModule, typeof i96.ButtonsModule, typeof i97.ChartsModule, typeof i98.CalendarModule, typeof i98.DateInputsModule, typeof i99.DropDownsModule, typeof i100.EditorModule, typeof i101.ExcelModule, typeof i101.GridModule, typeof i102.FilterModule, typeof i103.IndicatorsModule, typeof i104.IntlModule, typeof i105.InputsModule, typeof i105.SwitchModule, typeof i105.TextBoxModule, typeof i106.LabelModule, typeof i107.LayoutModule, typeof i107.PanelBarModule, typeof i107.TabStripModule, typeof i108.NotificationModule, typeof i109.PopupModule, typeof i110.ProgressBarModule, typeof i111.TelerikReportingModule, typeof i112.SchedulerModule, typeof i113.TreeListModule, typeof i114.TreeViewModule, typeof i115.TooltipModule, typeof i115.PopoverModule, typeof i116.UploadModule, typeof i116.UploadsModule, typeof i117.ZCoreModule, typeof i118.MmhglobalZmodalModule, typeof i119.NavigationModule, typeof i120.FlexLayoutModule, typeof i121.QueryBuilderModule, typeof i122.ScrollingModule, typeof i94.QueryBuilderModule, typeof i105.ColorPickerModule, typeof i123.ScrollViewModule, typeof i124.MenusModule, typeof i125.DateTimePickerModule, typeof i126.GanttModule], [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.PanelAreaFilter, typeof i12.DateRangeFilterCellComponent, typeof i13.ZSchedulerToolBarComponent, typeof i14.UiheaderComponent, typeof i15.UicontainerComponent, typeof i16.UicontentComponent, typeof i17.UipageComponent, typeof i20.UimenucontentComponent, typeof i21.UimenubuttonComponent, typeof i22.UiappmenucontentComponent, typeof i18.UibulletinComponent, typeof i19.UiactionbuttonComponent, typeof i23.UivalidationmessageComponent, typeof i24.ZBulletComponent, typeof i25.ZbuttonsComponent, typeof i26.ZcardComponent, typeof i27.ZchartComponent, typeof i28.ZcheckboxComponent, typeof i29.ZChipComponent, typeof i30.ZcodeeditorComponent, typeof i31.ZdaterangeComponent, typeof i32.ZdatetimeComponent, typeof i33.ZdivComponent, typeof i34.ZformComponent, typeof i35.ZformcontrolComponent, typeof i36.ZgaugeComponent, typeof i37.ZgridComponent, typeof i38.ZimgComponent, typeof i39.ZlabelComponent, typeof i40.ZmfbComponent, typeof i41.ZmodalComponent, typeof i42.ZmodalMobileComponent, typeof i43.ZnumericComponent, typeof i44.ZpostselectinputComponent, 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.ZSelectTranslationParser, typeof i64.HtmlSanitizePipe, typeof i65.InputErrorMessageComponent, typeof i66.InputFieldAddOnsComponent, typeof i67.SpinnerComponent, typeof i68.PageLoaderComponent, typeof i69.ProcessingRecordLoaderComponent, typeof i70.ZNumericParser, typeof i71.ZgridContainerComponent, typeof i72.DateKendoFormatParser, typeof i73.DateIonicFormatParser, typeof i74.DateIonicMinMaxParser, typeof i75.SfquerybuilderComponent, typeof i76.ZloopComponent, typeof i77.KsplitterComponent, typeof i78.VirtualScrollComponent, typeof i79.ZcolorpickerComponent, typeof i80.KmenuComponent, typeof i81.KScrollViewComponent, typeof i83.FiconComponent, typeof i84.SfdatetimepickerComponent, typeof i85.ZganttchartComponent, typeof i86.DropDownButtonsComponent]>;
|
|
130
131
|
static ɵinj: i0.ɵɵInjectorDeclaration<MmhglobalDynamicformModule>;
|
|
131
132
|
}
|
|
@@ -8,7 +8,7 @@ import { DialogRef, DialogService, DialogSettings } from '@progress/kendo-angula
|
|
|
8
8
|
/********** Component & Service **********/
|
|
9
9
|
import { ZComponentDebugService } from './zcomponent.debug.service';
|
|
10
10
|
import { ModalService, ModalResponse } from 'mmhglobal-zmodal';
|
|
11
|
-
import { AlertService, ModalPageParams, CacheService, FieldService, ResourceApiService, TranslationService, WebApiService, StorageSessionService, OAuth2Service, SignalrService, ComponentErrorHandlerService, ZComponentOutputEvent, ZCoreService, ZField, ZGroup, ToastService, AuthService, FormType, TriggerFromType } from 'mmhglobal-zcore';
|
|
11
|
+
import { AlertService, ModalPageParams, CacheService, FieldService, ResourceApiService, TranslationService, WebApiService, StorageSessionService, OAuth2Service, SignalrService, ComponentErrorHandlerService, ZComponentOutputEvent, ZCoreService, ZField, ZGroup, ToastService, AuthService, FormType, TriggerFromType, MenuService, OAuthMenuItem } from 'mmhglobal-zcore';
|
|
12
12
|
import * as i0 from "@angular/core";
|
|
13
13
|
export declare class MainService {
|
|
14
14
|
private router;
|
|
@@ -31,6 +31,7 @@ export declare class MainService {
|
|
|
31
31
|
private oauth2Service;
|
|
32
32
|
private toastService;
|
|
33
33
|
private authService;
|
|
34
|
+
private menuService;
|
|
34
35
|
private group;
|
|
35
36
|
private oauthEnvironmentUrl;
|
|
36
37
|
private environment;
|
|
@@ -46,12 +47,12 @@ export declare class MainService {
|
|
|
46
47
|
private readonly secretKey;
|
|
47
48
|
private previousUrl;
|
|
48
49
|
private navigationStartTime;
|
|
49
|
-
constructor(router: Router, activatedRoute: ActivatedRoute, modalCtrl: ModalController, navController: NavController, alertService: AlertService, cacheService: CacheService, fieldService: FieldService, resourceApiService: ResourceApiService, componentErrorHandlerService: ComponentErrorHandlerService, webApiService: WebApiService, zcoreService: ZCoreService, modalService: ModalService, storageService: StorageSessionService, debugService: ZComponentDebugService, translationService: TranslationService, signalrService: SignalrService, dialogService: DialogService, oauth2Service: OAuth2Service, toastService: ToastService, authService: AuthService);
|
|
50
|
+
constructor(router: Router, activatedRoute: ActivatedRoute, modalCtrl: ModalController, navController: NavController, alertService: AlertService, cacheService: CacheService, fieldService: FieldService, resourceApiService: ResourceApiService, componentErrorHandlerService: ComponentErrorHandlerService, webApiService: WebApiService, zcoreService: ZCoreService, modalService: ModalService, storageService: StorageSessionService, debugService: ZComponentDebugService, translationService: TranslationService, signalrService: SignalrService, dialogService: DialogService, oauth2Service: OAuth2Service, toastService: ToastService, authService: AuthService, menuService: MenuService);
|
|
50
51
|
private dismissAllOverlays;
|
|
51
52
|
private handleNavigationStart;
|
|
52
53
|
private handleNavigationEnd;
|
|
53
54
|
private handleNavigationError;
|
|
54
|
-
private
|
|
55
|
+
private updateAppMonPerformance;
|
|
55
56
|
getListFieldName: (fieldName: string) => Observable<string>;
|
|
56
57
|
clearFormListFields: () => void;
|
|
57
58
|
dialogOpen(options: DialogSettings): DialogRef;
|
|
@@ -71,6 +72,10 @@ export declare class MainService {
|
|
|
71
72
|
setNavigationParams(urlParams: string[]): void;
|
|
72
73
|
setRouteParam(routeParams: string[]): void;
|
|
73
74
|
private isValueInLastElement;
|
|
75
|
+
menuOnClick(item: OAuthMenuItem): boolean;
|
|
76
|
+
private handleAppClientNavigation;
|
|
77
|
+
private getNavigationPath;
|
|
78
|
+
private navigateToPath;
|
|
74
79
|
navigateFromMenu(pageName: string): void;
|
|
75
80
|
resetRouteParam(): void;
|
|
76
81
|
private getNavigationParams;
|
|
@@ -14,11 +14,13 @@ export declare class UiappmenucontentComponent implements OnInit {
|
|
|
14
14
|
private zcoreService;
|
|
15
15
|
private mainService;
|
|
16
16
|
items: Array<OAuthMenuItem>;
|
|
17
|
+
MENU_TYPE_DROPDOWN_SUBMENU: string;
|
|
17
18
|
constructor(router: Router, menuService: MenuService, authService: AuthService, zcoreService: ZCoreService, mainService: MainService);
|
|
18
19
|
ngOnInit(): void;
|
|
19
20
|
getDivClass(item: any): string;
|
|
20
|
-
getMenuList(item: any): any;
|
|
21
|
-
|
|
21
|
+
getMenuList(item: any): any | null;
|
|
22
|
+
trackByFn(index: number, item: OAuthMenuItem): string;
|
|
23
|
+
menuOnClick(item: OAuthMenuItem): boolean;
|
|
22
24
|
private setMapInput;
|
|
23
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<UiappmenucontentComponent, never>;
|
|
24
26
|
static ɵcmp: i0.ɵɵComponentDeclaration<UiappmenucontentComponent, "app-uiappmenucontent", never, { "items": "items"; }, {}, never, never>;
|
|
@@ -16,12 +16,10 @@ export declare class ZbuttonsComponent extends ButtonFieldBase implements ZCompo
|
|
|
16
16
|
constructor(componentService: ZComponentService, fieldService: FieldService, fontAweSomeService: FontAweSomeService);
|
|
17
17
|
ngOnInit(): void;
|
|
18
18
|
ngAfterViewInit(): void;
|
|
19
|
+
private getFieldObByComponentType;
|
|
19
20
|
private loadButton;
|
|
20
21
|
private setupButtonAttributes;
|
|
21
22
|
buttonClick(item: any): void;
|
|
22
|
-
private updateEventId;
|
|
23
|
-
private getButtonDisableTriggerValue;
|
|
24
|
-
disableButton(buttonName: string, isDisabled?: boolean): void;
|
|
25
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<ZbuttonsComponent, never>;
|
|
26
24
|
static ɵcmp: i0.ɵɵComponentDeclaration<ZbuttonsComponent, "app-zbuttons", never, {}, {}, never, never>;
|
|
27
25
|
}
|
|
@@ -17,7 +17,7 @@ import { MainService } from "../services/main.service";
|
|
|
17
17
|
import { ElementContainerDirective } from "../directives/elementcontainer.directive";
|
|
18
18
|
import { ZGridBindingDirective } from "./zgrid.binding.directive";
|
|
19
19
|
import { ZGridService } from "./zgrid.service";
|
|
20
|
-
import { WebApiService, ToastService, ZField, ZGroup, ZComponent, ZComponentOutputEvent, ZCoreService, StorageSessionService, FontAweSomeService, ZGridPostApiParams, ZGridSettings, ZGridCustomColumn, ResourceApiService, AuthService, StateSettingService } from 'mmhglobal-zcore';
|
|
20
|
+
import { WebApiService, ToastService, ZField, ZGroup, ZComponent, ZComponentOutputEvent, ZCoreService, StorageSessionService, FontAweSomeService, ZGridPostApiParams, ZGridSettings, ZGridCustomColumn, ResourceApiService, AuthService, StateSettingService, AlertService } from 'mmhglobal-zcore';
|
|
21
21
|
import * as i0 from "@angular/core";
|
|
22
22
|
export interface ZGrid {
|
|
23
23
|
params: ZGridPostApiParams;
|
|
@@ -52,6 +52,7 @@ export declare class ZgridComponent extends DataListingFieldBase implements ZCom
|
|
|
52
52
|
private stateSettingService;
|
|
53
53
|
private resourceApiService;
|
|
54
54
|
private authService;
|
|
55
|
+
private alertService;
|
|
55
56
|
tooltipDir: TooltipDirective;
|
|
56
57
|
elementContainer: ElementContainerDirective;
|
|
57
58
|
zgrid: any;
|
|
@@ -87,7 +88,7 @@ export declare class ZgridComponent extends DataListingFieldBase implements ZCom
|
|
|
87
88
|
private editedRowIndex;
|
|
88
89
|
gridSetting: ZGridSettings;
|
|
89
90
|
private environment;
|
|
90
|
-
constructor(componentService: ZComponentService, fontAweSomeService: FontAweSomeService, activatedRoute: ActivatedRoute, router: Router, formBuilder: FormBuilder, webApiService: WebApiService, toastService: ToastService, zcoreService: ZCoreService, storageService: StorageSessionService, mainService: MainService, cdr: ChangeDetectorRef, gridService: ZGridService, stateSettingService: StateSettingService, resourceApiService: ResourceApiService, authService: AuthService);
|
|
91
|
+
constructor(componentService: ZComponentService, fontAweSomeService: FontAweSomeService, activatedRoute: ActivatedRoute, router: Router, formBuilder: FormBuilder, webApiService: WebApiService, toastService: ToastService, zcoreService: ZCoreService, storageService: StorageSessionService, mainService: MainService, cdr: ChangeDetectorRef, gridService: ZGridService, stateSettingService: StateSettingService, resourceApiService: ResourceApiService, authService: AuthService, alertService: AlertService);
|
|
91
92
|
ngOnInit(): void;
|
|
92
93
|
ngAfterViewInit(): void;
|
|
93
94
|
ngAfterViewChecked(): void;
|
|
@@ -103,8 +104,6 @@ export declare class ZgridComponent extends DataListingFieldBase implements ZCom
|
|
|
103
104
|
private wrapColumnNamesInFieldElement;
|
|
104
105
|
private generateGridColumns;
|
|
105
106
|
getIconName(gridCellReplaceValue: any, value: any): string | import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
106
|
-
cellStyleCondition(col: any, colValue: any): boolean;
|
|
107
|
-
setCellStyleCondition(col: any, colValue: any): string | false;
|
|
108
107
|
cellClickHandler(event: CellClickEvent): void;
|
|
109
108
|
editCellCloseHandler(args: any): void;
|
|
110
109
|
onNavigateTo(event: any, clickAction: any, rowData: any, cellData: string): void;
|
|
@@ -118,6 +117,7 @@ export declare class ZgridComponent extends DataListingFieldBase implements ZCom
|
|
|
118
117
|
refreshData(): void;
|
|
119
118
|
clearData(): void;
|
|
120
119
|
showTooltip(e: MouseEvent): void;
|
|
120
|
+
truncateText(text: string, limit?: number): string;
|
|
121
121
|
rowSelectionKey: (context: RowArgs) => any;
|
|
122
122
|
getSelectedValues(): any;
|
|
123
123
|
clearSelection(): void;
|
|
@@ -8,7 +8,7 @@ import { CellClickEvent, ExpandEvent, ScrollMode } from '@progress/kendo-angular
|
|
|
8
8
|
/********** Component & Service **********/
|
|
9
9
|
import { DataListingFieldBase } from "../components/datalistingfieldbase.component";
|
|
10
10
|
import { ZComponentService } from "../services/zcomponent.service";
|
|
11
|
-
import { FieldService, WebApiService, AuthService, ZComponent, ZGroup } from "mmhglobal-zcore";
|
|
11
|
+
import { FieldService, WebApiService, AuthService, ZComponent, ZField, ZGroup } from "mmhglobal-zcore";
|
|
12
12
|
import { TooltipDirective } from "@progress/kendo-angular-tooltip";
|
|
13
13
|
import * as i0 from "@angular/core";
|
|
14
14
|
export interface ZTreeListColumn {
|
|
@@ -104,6 +104,7 @@ export declare class ZtreelistComponent extends DataListingFieldBase implements
|
|
|
104
104
|
getInlineForm(data: any, rowIndex: number): any;
|
|
105
105
|
getFormControlData(): any[];
|
|
106
106
|
isInlineEditColVisible(dataItem: any, column: any): boolean;
|
|
107
|
+
getCellStyleForInlineEdit(columnField: ZField, dataItem: any, rowIndex: number): any;
|
|
107
108
|
static ɵfac: i0.ɵɵFactoryDeclaration<ZtreelistComponent, never>;
|
|
108
109
|
static ɵcmp: i0.ɵɵComponentDeclaration<ZtreelistComponent, "app-ztreelist", never, {}, {}, never, never>;
|
|
109
110
|
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -96,3 +96,4 @@ export * from './lib/embed-components/context-menu/context-menu.component';
|
|
|
96
96
|
export * from './lib/ficon/ficon.component';
|
|
97
97
|
export * from './lib/sfdatetimepicker/sfdatetimepicker.component';
|
|
98
98
|
export * from './lib/zganttchart/zganttchart.component';
|
|
99
|
+
export * from './lib/dropdown_buttons/dropdown_buttons.component';
|