mmhglobal-dynamicform 2.42.0 → 2.44.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.
Files changed (27) hide show
  1. package/README.md +26 -0
  2. package/esm2020/lib/embed-components/input-field-addons/input-field-addons.component.mjs +30 -6
  3. package/esm2020/lib/mmhglobal-dynamicform.module.mjs +17 -9
  4. package/esm2020/lib/zgauge/zgauge.component.mjs +24 -16
  5. package/esm2020/lib/zinput-container/zinput-container.component.mjs +14 -12
  6. package/esm2020/lib/zprogressbar/zprogressbar.component.mjs +3 -3
  7. package/esm2020/lib/zscheduler/zscheduler.component.mjs +8 -1
  8. package/esm2020/lib/zslider/zslider.component.mjs +140 -0
  9. package/esm2020/lib/ztexteditor/ztexteditor.component.mjs +348 -149
  10. package/esm2020/lib/ztreelist/ztreelist.component.mjs +22 -3
  11. package/esm2020/lib/zudf/zudf.component.mjs +2 -1
  12. package/esm2020/lib/zupload/zupload.component.mjs +402 -211
  13. package/esm2020/public-api.mjs +2 -1
  14. package/fesm2015/mmhglobal-dynamicform.mjs +1072 -461
  15. package/fesm2015/mmhglobal-dynamicform.mjs.map +1 -1
  16. package/fesm2020/mmhglobal-dynamicform.mjs +1045 -460
  17. package/fesm2020/mmhglobal-dynamicform.mjs.map +1 -1
  18. package/lib/embed-components/input-field-addons/input-field-addons.component.d.ts +3 -0
  19. package/lib/mmhglobal-dynamicform.module.d.ts +42 -41
  20. package/lib/zgauge/zgauge.component.d.ts +14 -3
  21. package/lib/zinput-container/zinput-container.component.d.ts +1 -0
  22. package/lib/zslider/zslider.component.d.ts +36 -0
  23. package/lib/ztexteditor/ztexteditor.component.d.ts +59 -18
  24. package/lib/ztreelist/ztreelist.component.d.ts +1 -0
  25. package/lib/zupload/zupload.component.d.ts +85 -18
  26. package/package.json +1 -1
  27. package/public-api.d.ts +1 -0
@@ -18,6 +18,9 @@ export declare class InputFieldAddOnsComponent extends InputFieldBase implements
18
18
  private setupIconList;
19
19
  private setupButtonList;
20
20
  private setupTextList;
21
+ private setupChipList;
22
+ onRemoveChip(chip: any): void;
23
+ onChipSelectionChange(selectedChipIndexes: any): void;
21
24
  static ɵfac: i0.ɵɵFactoryDeclaration<InputFieldAddOnsComponent, never>;
22
25
  static ɵcmp: i0.ɵɵComponentDeclaration<InputFieldAddOnsComponent, "app-input-field-addons", never, { "position": "position"; "addOn": "addOn"; }, {}, never, never>;
23
26
  }
@@ -87,48 +87,49 @@ import * as i85 from "./ficon/ficon.component";
87
87
  import * as i86 from "./sfdatetimepicker/sfdatetimepicker.component";
88
88
  import * as i87 from "./zganttchart/zganttchart.component";
89
89
  import * as i88 from "./dropdown_buttons/dropdown_buttons.component";
90
- import * as i89 from "@ionic/angular";
91
- import * as i90 from "ionic-selectable";
92
- import * as i91 from "@angular/common";
93
- import * as i92 from "@angular/router";
94
- import * as i93 from "@angular/forms";
95
- import * as i94 from "ng2-ace-editor";
96
- import * as i95 from "@fortawesome/angular-fontawesome";
97
- import * as i96 from "angular2-query-builder";
98
- import * as i97 from "@progress/kendo-angular-gauges";
99
- import * as i98 from "@progress/kendo-angular-buttons";
100
- import * as i99 from "@progress/kendo-angular-charts";
101
- import * as i100 from "@progress/kendo-angular-dateinputs";
102
- import * as i101 from "@progress/kendo-angular-dropdowns";
103
- import * as i102 from "@progress/kendo-angular-editor";
104
- import * as i103 from "@progress/kendo-angular-grid";
105
- import * as i104 from "@progress/kendo-angular-filter";
106
- import * as i105 from "@progress/kendo-angular-indicators";
107
- import * as i106 from "@progress/kendo-angular-intl";
108
- import * as i107 from "@progress/kendo-angular-inputs";
109
- import * as i108 from "@progress/kendo-angular-label";
110
- import * as i109 from "@progress/kendo-angular-layout";
111
- import * as i110 from "@progress/kendo-angular-notification";
112
- import * as i111 from "@progress/kendo-angular-popup";
113
- import * as i112 from "@progress/kendo-angular-progressbar";
114
- import * as i113 from "@progress/telerik-angular-report-viewer";
115
- import * as i114 from "@progress/kendo-angular-scheduler";
116
- import * as i115 from "@progress/kendo-angular-treelist";
117
- import * as i116 from "@progress/kendo-angular-treeview";
118
- import * as i117 from "@progress/kendo-angular-tooltip";
119
- import * as i118 from "@progress/kendo-angular-upload";
120
- import * as i119 from "mmhglobal-zcore";
121
- import * as i120 from "mmhglobal-zmodal";
122
- import * as i121 from "@progress/kendo-angular-navigation";
123
- import * as i122 from "@angular/flex-layout";
124
- import * as i123 from "@syncfusion/ej2-angular-querybuilder";
125
- import * as i124 from "@angular/cdk/scrolling";
126
- import * as i125 from "@progress/kendo-angular-scrollview";
127
- import * as i126 from "@progress/kendo-angular-menu";
128
- import * as i127 from "@syncfusion/ej2-angular-calendars";
129
- import * as i128 from "@progress/kendo-angular-gantt";
90
+ import * as i89 from "./zslider/zslider.component";
91
+ import * as i90 from "@ionic/angular";
92
+ import * as i91 from "ionic-selectable";
93
+ import * as i92 from "@angular/common";
94
+ import * as i93 from "@angular/router";
95
+ import * as i94 from "@angular/forms";
96
+ import * as i95 from "ng2-ace-editor";
97
+ import * as i96 from "@fortawesome/angular-fontawesome";
98
+ import * as i97 from "angular2-query-builder";
99
+ import * as i98 from "@progress/kendo-angular-gauges";
100
+ import * as i99 from "@progress/kendo-angular-buttons";
101
+ import * as i100 from "@progress/kendo-angular-charts";
102
+ import * as i101 from "@progress/kendo-angular-dateinputs";
103
+ import * as i102 from "@progress/kendo-angular-dropdowns";
104
+ import * as i103 from "@progress/kendo-angular-editor";
105
+ import * as i104 from "@progress/kendo-angular-grid";
106
+ import * as i105 from "@progress/kendo-angular-filter";
107
+ import * as i106 from "@progress/kendo-angular-indicators";
108
+ import * as i107 from "@progress/kendo-angular-intl";
109
+ import * as i108 from "@progress/kendo-angular-inputs";
110
+ import * as i109 from "@progress/kendo-angular-label";
111
+ import * as i110 from "@progress/kendo-angular-layout";
112
+ import * as i111 from "@progress/kendo-angular-notification";
113
+ import * as i112 from "@progress/kendo-angular-popup";
114
+ import * as i113 from "@progress/kendo-angular-progressbar";
115
+ import * as i114 from "@progress/telerik-angular-report-viewer";
116
+ import * as i115 from "@progress/kendo-angular-scheduler";
117
+ import * as i116 from "@progress/kendo-angular-treelist";
118
+ import * as i117 from "@progress/kendo-angular-treeview";
119
+ import * as i118 from "@progress/kendo-angular-tooltip";
120
+ import * as i119 from "@progress/kendo-angular-upload";
121
+ import * as i120 from "mmhglobal-zcore";
122
+ import * as i121 from "mmhglobal-zmodal";
123
+ import * as i122 from "@progress/kendo-angular-navigation";
124
+ import * as i123 from "@angular/flex-layout";
125
+ import * as i124 from "@syncfusion/ej2-angular-querybuilder";
126
+ import * as i125 from "@angular/cdk/scrolling";
127
+ import * as i126 from "@progress/kendo-angular-scrollview";
128
+ import * as i127 from "@progress/kendo-angular-menu";
129
+ import * as i128 from "@syncfusion/ej2-angular-calendars";
130
+ import * as i129 from "@progress/kendo-angular-gantt";
130
131
  export declare class MmhglobalDynamicformModule {
131
132
  static ɵfac: i0.ɵɵFactoryDeclaration<MmhglobalDynamicformModule, never>;
132
- 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.ZbreadcrumbComponent, typeof i27.ZcardComponent, typeof i28.ZchartComponent, typeof i29.ZcheckboxComponent, typeof i30.ZChipComponent, typeof i31.ZcodeeditorComponent, typeof i32.ZdaterangeComponent, typeof i33.ZdatetimeComponent, typeof i34.ZdivComponent, typeof i35.ZformComponent, typeof i36.ZformcontrolComponent, typeof i37.ZgaugeComponent, typeof i38.ZgridComponent, typeof i39.ZimgComponent, typeof i40.ZlabelComponent, typeof i41.ZmfbComponent, typeof i42.ZmodalComponent, typeof i43.ZmodalMobileComponent, typeof i44.ZnumericComponent, typeof i45.ZpostselectinputComponent, typeof i46.ZradiobuttonComponent, typeof i47.ZreportComponent, typeof i48.ZschedulerComponent, typeof i49.ZselectmultipleComponent, typeof i50.ZtabComponent, typeof i51.ZtextComponent, typeof i52.ZtextareaComponent, typeof i53.ZtexteditorComponent, typeof i54.ZtreeComponent, typeof i55.ZtreelistComponent, typeof i56.ZtrendcardComponent, typeof i57.ZunknownComponent, typeof i58.ZudfComponent, typeof i59.ZuploadComponent, typeof i60.ZworkflowbuttonsComponent, typeof i61.KcardComponent, typeof i62.ZInputContainerComponent, typeof i63.ZprogressbarComponent, typeof i64.ZInputParser, typeof i65.ZSelectTranslationParser, typeof i66.HtmlSanitizePipe, typeof i67.InputErrorMessageComponent, typeof i68.InputFieldAddOnsComponent, typeof i69.SpinnerComponent, typeof i70.PageLoaderComponent, typeof i71.ProcessingRecordLoaderComponent, typeof i72.ZNumericParser, typeof i73.ZgridContainerComponent, typeof i74.DateKendoFormatParser, typeof i75.DateIonicFormatParser, typeof i76.DateIonicMinMaxParser, typeof i77.SfquerybuilderComponent, typeof i78.ZloopComponent, typeof i79.KsplitterComponent, typeof i80.VirtualScrollComponent, typeof i81.ZcolorpickerComponent, typeof i82.KmenuComponent, typeof i83.KScrollViewComponent, typeof i84.ContextMenuComponent, typeof i85.FiconComponent, typeof i86.SfdatetimepickerComponent, typeof i87.ZganttchartComponent, typeof i88.DropDownButtonsComponent], [typeof i89.IonicModule, typeof i90.IonicSelectableModule, typeof i91.CommonModule, typeof i92.RouterModule, typeof i93.FormsModule, typeof i93.ReactiveFormsModule, typeof i94.AceEditorModule, typeof i95.FontAwesomeModule, typeof i96.QueryBuilderModule, typeof i97.ArcGaugeModule, typeof i98.ButtonsModule, typeof i99.ChartsModule, typeof i100.CalendarModule, typeof i100.DateInputsModule, typeof i101.DropDownsModule, typeof i102.EditorModule, typeof i103.ExcelModule, typeof i103.GridModule, typeof i104.FilterModule, typeof i105.IndicatorsModule, typeof i106.IntlModule, typeof i107.InputsModule, typeof i107.SwitchModule, typeof i107.TextBoxModule, typeof i108.LabelModule, typeof i109.LayoutModule, typeof i109.PanelBarModule, typeof i109.TabStripModule, typeof i110.NotificationModule, typeof i111.PopupModule, typeof i112.ProgressBarModule, typeof i113.TelerikReportingModule, typeof i114.SchedulerModule, typeof i115.TreeListModule, typeof i116.TreeViewModule, typeof i117.TooltipModule, typeof i117.PopoverModule, typeof i118.UploadModule, typeof i118.UploadsModule, typeof i119.ZCoreModule, typeof i120.MmhglobalZmodalModule, typeof i121.NavigationModule, typeof i122.FlexLayoutModule, typeof i123.QueryBuilderModule, typeof i124.ScrollingModule, typeof i96.QueryBuilderModule, typeof i107.ColorPickerModule, typeof i125.ScrollViewModule, typeof i126.MenusModule, typeof i127.DateTimePickerModule, typeof i128.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.ZbreadcrumbComponent, typeof i27.ZcardComponent, typeof i28.ZchartComponent, typeof i29.ZcheckboxComponent, typeof i30.ZChipComponent, typeof i31.ZcodeeditorComponent, typeof i32.ZdaterangeComponent, typeof i33.ZdatetimeComponent, typeof i34.ZdivComponent, typeof i35.ZformComponent, typeof i36.ZformcontrolComponent, typeof i37.ZgaugeComponent, typeof i38.ZgridComponent, typeof i39.ZimgComponent, typeof i40.ZlabelComponent, typeof i41.ZmfbComponent, typeof i42.ZmodalComponent, typeof i43.ZmodalMobileComponent, typeof i44.ZnumericComponent, typeof i45.ZpostselectinputComponent, typeof i46.ZradiobuttonComponent, typeof i47.ZreportComponent, typeof i48.ZschedulerComponent, typeof i49.ZselectmultipleComponent, typeof i50.ZtabComponent, typeof i51.ZtextComponent, typeof i52.ZtextareaComponent, typeof i53.ZtexteditorComponent, typeof i54.ZtreeComponent, typeof i55.ZtreelistComponent, typeof i56.ZtrendcardComponent, typeof i57.ZunknownComponent, typeof i58.ZudfComponent, typeof i59.ZuploadComponent, typeof i60.ZworkflowbuttonsComponent, typeof i62.ZInputContainerComponent, typeof i63.ZprogressbarComponent, typeof i64.ZInputParser, typeof i65.ZSelectTranslationParser, typeof i66.HtmlSanitizePipe, typeof i67.InputErrorMessageComponent, typeof i68.InputFieldAddOnsComponent, typeof i69.SpinnerComponent, typeof i70.PageLoaderComponent, typeof i71.ProcessingRecordLoaderComponent, typeof i72.ZNumericParser, typeof i73.ZgridContainerComponent, typeof i74.DateKendoFormatParser, typeof i75.DateIonicFormatParser, typeof i76.DateIonicMinMaxParser, typeof i77.SfquerybuilderComponent, typeof i78.ZloopComponent, typeof i79.KsplitterComponent, typeof i80.VirtualScrollComponent, typeof i81.ZcolorpickerComponent, typeof i82.KmenuComponent, typeof i83.KScrollViewComponent, typeof i85.FiconComponent, typeof i86.SfdatetimepickerComponent, typeof i87.ZganttchartComponent, typeof i88.DropDownButtonsComponent]>;
133
+ 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.ZbreadcrumbComponent, typeof i27.ZcardComponent, typeof i28.ZchartComponent, typeof i29.ZcheckboxComponent, typeof i30.ZChipComponent, typeof i31.ZcodeeditorComponent, typeof i32.ZdaterangeComponent, typeof i33.ZdatetimeComponent, typeof i34.ZdivComponent, typeof i35.ZformComponent, typeof i36.ZformcontrolComponent, typeof i37.ZgaugeComponent, typeof i38.ZgridComponent, typeof i39.ZimgComponent, typeof i40.ZlabelComponent, typeof i41.ZmfbComponent, typeof i42.ZmodalComponent, typeof i43.ZmodalMobileComponent, typeof i44.ZnumericComponent, typeof i45.ZpostselectinputComponent, typeof i46.ZradiobuttonComponent, typeof i47.ZreportComponent, typeof i48.ZschedulerComponent, typeof i49.ZselectmultipleComponent, typeof i50.ZtabComponent, typeof i51.ZtextComponent, typeof i52.ZtextareaComponent, typeof i53.ZtexteditorComponent, typeof i54.ZtreeComponent, typeof i55.ZtreelistComponent, typeof i56.ZtrendcardComponent, typeof i57.ZunknownComponent, typeof i58.ZudfComponent, typeof i59.ZuploadComponent, typeof i60.ZworkflowbuttonsComponent, typeof i61.KcardComponent, typeof i62.ZInputContainerComponent, typeof i63.ZprogressbarComponent, typeof i64.ZInputParser, typeof i65.ZSelectTranslationParser, typeof i66.HtmlSanitizePipe, typeof i67.InputErrorMessageComponent, typeof i68.InputFieldAddOnsComponent, typeof i69.SpinnerComponent, typeof i70.PageLoaderComponent, typeof i71.ProcessingRecordLoaderComponent, typeof i72.ZNumericParser, typeof i73.ZgridContainerComponent, typeof i74.DateKendoFormatParser, typeof i75.DateIonicFormatParser, typeof i76.DateIonicMinMaxParser, typeof i77.SfquerybuilderComponent, typeof i78.ZloopComponent, typeof i79.KsplitterComponent, typeof i80.VirtualScrollComponent, typeof i81.ZcolorpickerComponent, typeof i82.KmenuComponent, typeof i83.KScrollViewComponent, typeof i84.ContextMenuComponent, typeof i85.FiconComponent, typeof i86.SfdatetimepickerComponent, typeof i87.ZganttchartComponent, typeof i88.DropDownButtonsComponent, typeof i89.ZsliderComponent], [typeof i90.IonicModule, typeof i91.IonicSelectableModule, typeof i92.CommonModule, typeof i93.RouterModule, typeof i94.FormsModule, typeof i94.ReactiveFormsModule, typeof i95.AceEditorModule, typeof i96.FontAwesomeModule, typeof i97.QueryBuilderModule, typeof i98.ArcGaugeModule, typeof i99.ButtonsModule, typeof i100.ChartsModule, typeof i101.CalendarModule, typeof i101.DateInputsModule, typeof i102.DropDownsModule, typeof i103.EditorModule, typeof i104.ExcelModule, typeof i104.GridModule, typeof i105.FilterModule, typeof i106.IndicatorsModule, typeof i107.IntlModule, typeof i108.InputsModule, typeof i108.SwitchModule, typeof i108.TextBoxModule, typeof i109.LabelModule, typeof i110.LayoutModule, typeof i110.PanelBarModule, typeof i110.TabStripModule, typeof i111.NotificationModule, typeof i112.PopupModule, typeof i113.ProgressBarModule, typeof i114.TelerikReportingModule, typeof i115.SchedulerModule, typeof i116.TreeListModule, typeof i117.TreeViewModule, typeof i118.TooltipModule, typeof i118.PopoverModule, typeof i119.UploadModule, typeof i119.UploadsModule, typeof i120.ZCoreModule, typeof i121.MmhglobalZmodalModule, typeof i122.NavigationModule, typeof i123.FlexLayoutModule, typeof i124.QueryBuilderModule, typeof i125.ScrollingModule, typeof i97.QueryBuilderModule, typeof i108.ColorPickerModule, typeof i126.ScrollViewModule, typeof i127.MenusModule, typeof i128.DateTimePickerModule, typeof i129.GanttModule, typeof i108.SliderModule], [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.ZbreadcrumbComponent, typeof i27.ZcardComponent, typeof i28.ZchartComponent, typeof i29.ZcheckboxComponent, typeof i30.ZChipComponent, typeof i31.ZcodeeditorComponent, typeof i32.ZdaterangeComponent, typeof i33.ZdatetimeComponent, typeof i34.ZdivComponent, typeof i35.ZformComponent, typeof i36.ZformcontrolComponent, typeof i37.ZgaugeComponent, typeof i38.ZgridComponent, typeof i39.ZimgComponent, typeof i40.ZlabelComponent, typeof i41.ZmfbComponent, typeof i42.ZmodalComponent, typeof i43.ZmodalMobileComponent, typeof i44.ZnumericComponent, typeof i45.ZpostselectinputComponent, typeof i46.ZradiobuttonComponent, typeof i47.ZreportComponent, typeof i48.ZschedulerComponent, typeof i49.ZselectmultipleComponent, typeof i50.ZtabComponent, typeof i51.ZtextComponent, typeof i52.ZtextareaComponent, typeof i53.ZtexteditorComponent, typeof i54.ZtreeComponent, typeof i55.ZtreelistComponent, typeof i56.ZtrendcardComponent, typeof i57.ZunknownComponent, typeof i58.ZudfComponent, typeof i59.ZuploadComponent, typeof i60.ZworkflowbuttonsComponent, typeof i62.ZInputContainerComponent, typeof i63.ZprogressbarComponent, typeof i64.ZInputParser, typeof i65.ZSelectTranslationParser, typeof i66.HtmlSanitizePipe, typeof i67.InputErrorMessageComponent, typeof i68.InputFieldAddOnsComponent, typeof i69.SpinnerComponent, typeof i70.PageLoaderComponent, typeof i71.ProcessingRecordLoaderComponent, typeof i72.ZNumericParser, typeof i73.ZgridContainerComponent, typeof i74.DateKendoFormatParser, typeof i75.DateIonicFormatParser, typeof i76.DateIonicMinMaxParser, typeof i77.SfquerybuilderComponent, typeof i78.ZloopComponent, typeof i79.KsplitterComponent, typeof i80.VirtualScrollComponent, typeof i81.ZcolorpickerComponent, typeof i82.KmenuComponent, typeof i83.KScrollViewComponent, typeof i85.FiconComponent, typeof i86.SfdatetimepickerComponent, typeof i87.ZganttchartComponent, typeof i88.DropDownButtonsComponent, typeof i89.ZsliderComponent]>;
133
134
  static ɵinj: i0.ɵɵInjectorDeclaration<MmhglobalDynamicformModule>;
134
135
  }
@@ -10,13 +10,24 @@ import * as i0 from "@angular/core";
10
10
  export declare class ZgaugeComponent extends FieldBase implements ZComponent, OnInit {
11
11
  componentService: ZComponentService;
12
12
  isLoading: boolean;
13
+ private value;
14
+ private title;
15
+ private color;
16
+ private majorTicks;
17
+ private minorTicks;
18
+ private startAngle;
19
+ private endAngle;
20
+ private minValue;
21
+ private maxValue;
13
22
  options: {
14
23
  value: number;
15
24
  title: string;
16
25
  chartInnerText1: string;
17
26
  chartInnerText2: string;
18
27
  scaleMax: number;
19
- colors: any[];
28
+ colors: {
29
+ color: string;
30
+ }[];
20
31
  transitions: boolean;
21
32
  majorTicks: {
22
33
  visible: boolean;
@@ -33,12 +44,12 @@ export declare class ZgaugeComponent extends FieldBase implements ZComponent, On
33
44
  endAngle: number;
34
45
  rangePlaceholderColor: string;
35
46
  labelsColor: string;
36
- rangeFrom: number;
37
- rangeTo: number;
38
47
  rangeColor: string;
39
48
  rangeLineCap: string;
40
49
  showLabels: boolean;
41
50
  rangeSize: number;
51
+ labelStyle: string;
52
+ arcgaugeStyle: string;
42
53
  };
43
54
  constructor(componentService: ZComponentService);
44
55
  ngOnInit(): void;
@@ -27,6 +27,7 @@ export declare class ZInputContainerComponent extends FieldBase implements ZComp
27
27
  readonly ztexteditor_type: string[];
28
28
  readonly zcolorpicker_type: string[];
29
29
  readonly zradiobutton_type: string[];
30
+ readonly zslider_type: string[];
30
31
  constructor(componentService: ZComponentService);
31
32
  ngOnInit(): void;
32
33
  ngAfterViewInit(): void;
@@ -0,0 +1,36 @@
1
+ /********** Angular **********/
2
+ import { OnDestroy, OnInit } from '@angular/core';
3
+ /********** Component & Service **********/
4
+ import { InputFieldBase } from '../components/inputfieldbase.component';
5
+ import { ZComponentService } from '../services/zcomponent.service';
6
+ import { ZComponent, ZField, ZGroup, zSliderProperties } from "mmhglobal-zcore";
7
+ import { FormGroup } from '@angular/forms';
8
+ import * as i0 from "@angular/core";
9
+ export declare class ZsliderComponent extends InputFieldBase implements ZComponent, OnInit, OnDestroy {
10
+ componentService: ZComponentService;
11
+ data: ZField;
12
+ group: ZGroup;
13
+ form: FormGroup;
14
+ get sliderData(): zSliderProperties;
15
+ inputMode: string;
16
+ minValue: number;
17
+ maxValue: number;
18
+ private minValidator;
19
+ private maxValidator;
20
+ smallStep: number;
21
+ largeStep: number;
22
+ tickPlacement: string;
23
+ slidervalue: number;
24
+ constructor(componentService: ZComponentService);
25
+ ngOnInit(): void;
26
+ ngOnDestroy(): void;
27
+ ngAfterViewInit(): void;
28
+ setMinValue(newValue: number): void;
29
+ setMaxValue(newValue: number): void;
30
+ private setInitPropertyValue;
31
+ private addMinAndMaxValidator;
32
+ private removeMinAndMaxValidator;
33
+ get hasError(): boolean;
34
+ static ɵfac: i0.ɵɵFactoryDeclaration<ZsliderComponent, never>;
35
+ static ɵcmp: i0.ɵɵComponentDeclaration<ZsliderComponent, "app-zslider", never, { "data": "data"; "group": "group"; "form": "form"; }, {}, never, never>;
36
+ }
@@ -1,18 +1,17 @@
1
1
  /********** Angular **********/
2
- import { OnInit } from '@angular/core';
3
- /********** Ionic **********/
2
+ import { OnInit, AfterViewInit } from '@angular/core';
4
3
  /********** Plugin **********/
5
4
  import { EditorComponent, EditorPasteEvent } from '@progress/kendo-angular-editor';
5
+ import { ToolBarButtonComponent } from '@progress/kendo-angular-toolbar';
6
+ import { DialogRef, DialogService } from '@progress/kendo-angular-dialog';
6
7
  /********** Component & Service **********/
7
8
  import { InputFieldBase } from '../components/inputfieldbase.component';
8
9
  import { ZComponentService } from '../services/zcomponent.service';
9
- import { ZComponent, FontAweSomeService, CompressImageService, AlertService, ToastService } from 'mmhglobal-zcore';
10
- import { DialogService, DialogRef } from "@progress/kendo-angular-dialog";
11
- import { ToolBarButtonComponent } from '@progress/kendo-angular-toolbar';
10
+ import { AlertService, CompressImageService, FontAweSomeService, ToastService, ZComponent } from 'mmhglobal-zcore';
12
11
  import * as i0 from "@angular/core";
13
- export declare class ZtexteditorComponent extends InputFieldBase implements ZComponent, OnInit {
14
- componentService: ZComponentService;
15
- fontAweSomeService: FontAweSomeService;
12
+ export declare class ZtexteditorComponent extends InputFieldBase implements ZComponent, OnInit, AfterViewInit {
13
+ readonly componentService: ZComponentService;
14
+ readonly fontAweSomeService: FontAweSomeService;
16
15
  private readonly dialogService;
17
16
  private readonly alertService;
18
17
  private readonly compressImage;
@@ -23,35 +22,77 @@ export declare class ZtexteditorComponent extends InputFieldBase implements ZCom
23
22
  removeMsClasses: boolean;
24
23
  removeMsStyles: boolean;
25
24
  removeInvalidHTML: boolean;
25
+ [key: string]: any;
26
26
  };
27
27
  componentSettings: {
28
28
  iframe: boolean;
29
+ [key: string]: any;
29
30
  };
30
31
  isCompressModeOn: boolean;
31
32
  CloseEnlargeBtn: boolean;
32
- private style;
33
- private readonly CompressionEnableIcon;
34
- private readonly CompressionDisabledIcon;
35
- dialogRef: DialogRef;
33
+ dialogRef?: DialogRef;
34
+ private originalInlineStyle;
35
+ private readonly compressionEnableIcon;
36
+ private readonly compressionDisabledIcon;
36
37
  constructor(componentService: ZComponentService, fontAweSomeService: FontAweSomeService, dialogService: DialogService, alertService: AlertService, compressImage: CompressImageService, toastService: ToastService);
38
+ /** Initialize component state and editor configuration. */
37
39
  ngOnInit(): void;
40
+ /** Notify component service once view is ready. */
38
41
  ngAfterViewInit(): void;
39
- onChange(value: any): void;
40
- onPaste($event: EditorPasteEvent): Promise<void>;
41
- OnOffCompressMode($event: any): void;
42
+ /** Sync editor content to zModel and trigger configured change handler. */
43
+ onChange(value: unknown): void;
44
+ /** Handle paste: normalize plain-text special entities, then optionally compress pasted base64 images. */
45
+ onPaste(e: EditorPasteEvent): Promise<void>;
46
+ /**
47
+ * If the paste is plain text (no HTML tags and no images), normalize common entities and insert as real text.
48
+ * Returns true when the event is handled and default paste is prevented.
49
+ */
50
+ private handleCommonSymbolTags;
51
+ /**
52
+ * If compression is enabled and compress mode is ON, compress any pasted base64 images (data:image/*).
53
+ * IMPORTANT: modifies e.cleanedHtml (what gets pasted), not editor.value.
54
+ */
55
+ private handleImageCompression;
56
+ /**
57
+ * Toggle compress mode via confirmation dialog.
58
+ */
59
+ onOffCompressMode(event: Event): void;
60
+ /** Focus editor if available. Returns true if focus succeeded. */
42
61
  focus(): boolean;
43
- getFontAwesome(iconName: any, fontAwesomeService: FontAweSomeService): any;
62
+ getFontAwesome(iconName: string, fontAwesomeService: FontAweSomeService): unknown;
63
+ /** Merge paste cleanup options from data.Options (string expression or object) into pasteCleanupSettings. */
44
64
  private setupPasteCleanupSettings;
65
+ /** Trigger hidden file input click for image upload. */
45
66
  openFileExplorer(): void;
67
+ /** Open an enlarged popup editor. */
46
68
  openPopup(): void;
69
+ /** Close the popup editor if open. */
47
70
  onPopupClose(): void;
48
- uploadImage(fileInput: any): void;
71
+ /**
72
+ * Handle <input type="file"> change and insert selected image into editor.
73
+ * NOTE: Prefer typing fileInput as Event for better safety.
74
+ */
75
+ uploadImage(fileInput: Event): void;
76
+ /** Insert image into editor, optionally compressing first. */
49
77
  private insertImageIntoEditor;
78
+ /** Convert base64 (data URL) to File. */
50
79
  private base64ToFile;
51
- private ImageCompression;
80
+ /**
81
+ * Compress an image file if it is an image and above min threshold.
82
+ * Returns the compressed file, or null if not compressible / compression skipped.
83
+ */
84
+ private imageCompression;
85
+ /** Normalize image compression config into byte-based thresholds. */
52
86
  private compressionConfigHandler;
87
+ /**
88
+ * Convert size string like "100kb", "1 MB", "2gb" to bytes.
89
+ * If no unit is provided, bytes are assumed.
90
+ */
53
91
  private convertSizeToByte;
92
+ /** Read a File as base64 data URL. */
54
93
  private readFileAsDataURL;
94
+ /** Extract event target as HTMLElement safely. */
95
+ private getEventTargetElement;
55
96
  static ɵfac: i0.ɵɵFactoryDeclaration<ZtexteditorComponent, never>;
56
97
  static ɵcmp: i0.ɵɵComponentDeclaration<ZtexteditorComponent, "app-ztexteditor", never, {}, {}, never, never>;
57
98
  }
@@ -102,6 +102,7 @@ export declare class ZtreelistComponent extends DataListingFieldBase implements
102
102
  getFormControlData(): any[];
103
103
  isInlineEditColVisible(dataItem: any, column: any): boolean;
104
104
  getCellStyleForInlineEdit(columnField: ZField, dataItem: any, rowIndex: number): any;
105
+ private setDateColForFiltering;
105
106
  static ɵfac: i0.ɵɵFactoryDeclaration<ZtreelistComponent, never>;
106
107
  static ɵcmp: i0.ɵɵComponentDeclaration<ZtreelistComponent, "app-ztreelist", never, {}, {}, never, never>;
107
108
  }
@@ -1,50 +1,117 @@
1
1
  /********** Angular **********/
2
- import { OnInit, NgZone } from "@angular/core";
3
- import { FileInfo, SuccessEvent, RemoveEvent, UploadEvent, FileRestrictions, ChunkSettings, SelectEvent, UploadComponent } from "@progress/kendo-angular-upload";
2
+ import { NgZone, OnInit } from "@angular/core";
3
+ import { ChunkSettings, FileInfo, FileRestrictions, RemoveEvent, SelectEvent, SuccessEvent, UploadComponent, UploadEvent } from "@progress/kendo-angular-upload";
4
4
  /********** Component & Service **********/
5
5
  import { InputFieldBase } from "../components/inputfieldbase.component";
6
6
  import { ZComponentService } from "../services/zcomponent.service";
7
- import { AuthService, ZCoreService, CompressImageService, AlertService, ZComponent, SharePointService } from "mmhglobal-zcore";
7
+ import { AlertService, AuthService, CompressImageService, SharePointService, ZComponent, ZCoreService } from "mmhglobal-zcore";
8
8
  import * as i0 from "@angular/core";
9
+ /**
10
+ * Kendo FileInfo + optional base64 payload (used by SelectFileOnly mode).
11
+ * NOTE: Keeps runtime behavior the same; only improves type safety.
12
+ */
13
+ declare type SelectedFileData = FileInfo & {
14
+ /**
15
+ * Base64 Data URL or ArrayBuffer from FileReader.
16
+ * Present only when SelectFileOnly reads file content into memory.
17
+ */
18
+ file?: string | ArrayBuffer | null;
19
+ };
9
20
  export declare class MyFileInfo implements FileInfo {
10
21
  name: string;
11
22
  uid?: string;
23
+ /**
24
+ * Server or application-defined UID used for remove/download operations.
25
+ * (Set from API response fileUid when upload succeeds)
26
+ */
12
27
  myUid?: string;
13
28
  }
14
29
  export declare class ZuploadComponent extends InputFieldBase implements ZComponent, OnInit {
15
- componentService: ZComponentService;
16
- private authService;
17
- private compressImage;
18
- private zcoreService;
19
- private ngZone;
20
- private sharePointService;
21
- private alertService;
30
+ readonly componentService: ZComponentService;
31
+ private readonly authService;
32
+ private readonly compressImage;
33
+ private readonly zcoreService;
34
+ private readonly ngZone;
35
+ private readonly sharePointService;
36
+ private readonly alertService;
22
37
  uploadComponent: UploadComponent;
23
- uploadAttachmentUrl: string;
38
+ private readonly defaultUploadSaveUrl;
39
+ private readonly defaultUploadRemoveUrl;
40
+ uploadAttachmentUrl: string | null;
24
41
  uploadSaveUrl: string;
25
42
  uploadRemoveUrl: string;
26
- downloadFileUrl: string;
27
- getImageUrl: string;
43
+ readonly downloadFileUrl = "/Attachment/downloadFile";
44
+ readonly getImageUrl = "/Attachment/getImage";
28
45
  isAutoUpload: boolean;
29
46
  isMultiple: boolean;
30
- imagePreviews: any[];
31
- uid: string[];
32
47
  showFileList: boolean;
33
- fileList: any[];
48
+ imagePreviews: Array<Record<string, unknown>>;
49
+ uid: string[];
50
+ fileList: SelectedFileData[];
34
51
  restrictions: FileRestrictions;
35
- chunkSettings: ChunkSettings;
52
+ readonly chunkSettings: ChunkSettings;
36
53
  constructor(componentService: ZComponentService, authService: AuthService, compressImage: CompressImageService, zcoreService: ZCoreService, ngZone: NgZone, sharePointService: SharePointService, alertService: AlertService);
54
+ /**
55
+ * Angular lifecycle hook - initializes restrictions and upload behavior from field config.
56
+ */
37
57
  ngOnInit(): void;
58
+ /**
59
+ * Kendo Upload success callback for both upload and remove.
60
+ * Keeps zModel in sync and emits ZComponent output events.
61
+ */
38
62
  onSuccess(e: SuccessEvent): void;
63
+ /**
64
+ * Normalize and enrich image compression config with byte-based thresholds.
65
+ */
39
66
  private compressionConfigHandler;
67
+ /**
68
+ * Convert string size values like "10KB", "2 MB", "1gb", "1024" into bytes.
69
+ * If unit is omitted, bytes are assumed.
70
+ *
71
+ * @param sizeString Human readable size string.
72
+ * @returns Size in bytes. Returns 0 if parsing fails.
73
+ */
40
74
  private convertSizeToByte;
75
+ /**
76
+ * Kendo Upload upload event: validates files, builds image previews, injects metadata and auth header.
77
+ */
41
78
  uploadEventHandler(e: UploadEvent): void;
79
+ /**
80
+ * Kendo Upload remove event: updates component memory, fires project event if defined,
81
+ * otherwise attaches required payload and authorization headers.
82
+ */
42
83
  onRemove(e: RemoveEvent): void;
43
- onChange(file: FileInfo[]): void;
84
+ /**
85
+ * Kendo Upload change event handler. Emits project event if configured.
86
+ */
87
+ onChange(files: FileInfo[]): void;
88
+ /**
89
+ * Validate a selected/uploaded file against configured restrictions (size + extension).
90
+ *
91
+ * @param file Kendo FileInfo
92
+ * @returns true if file passes restrictions, otherwise false (and shows alert).
93
+ */
44
94
  private isValidUploadedFile;
95
+ /**
96
+ * Kendo Upload select event handler:
97
+ * - Handles SharePoint endpoint switching
98
+ * - Supports SelectFileOnly mode (read file content into memory and emit event)
99
+ * - Supports image compression when AutoUpload is false
100
+ */
45
101
  selectEventHandler(e: SelectEvent): void;
102
+ /**
103
+ * Clears UI-selected files and syncs group state.
104
+ * NOTE: Original behavior sets group value to fileList (not empty); preserved.
105
+ */
46
106
  clearFiles(): void;
107
+ /**
108
+ * Format bytes into human-readable string.
109
+ *
110
+ * @param bytes Raw byte size
111
+ * @returns Formatted file size string (e.g. "12.5MB")
112
+ */
47
113
  private formatFileSize;
48
114
  static ɵfac: i0.ɵɵFactoryDeclaration<ZuploadComponent, never>;
49
115
  static ɵcmp: i0.ɵɵComponentDeclaration<ZuploadComponent, "app-zupload", never, {}, {}, never, never>;
50
116
  }
117
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mmhglobal-dynamicform",
3
- "version": "2.42.0",
3
+ "version": "2.44.0",
4
4
  "peerDependencies": {},
5
5
  "dependencies": {
6
6
  "tslib": "^2.3.1"
package/public-api.d.ts CHANGED
@@ -99,3 +99,4 @@ export * from './lib/sfdatetimepicker/sfdatetimepicker.component';
99
99
  export * from './lib/zganttchart/zganttchart.component';
100
100
  export * from './lib/dropdown_buttons/dropdown_buttons.component';
101
101
  export * from './lib/zbreadcrumb/zbreadcrumb.component';
102
+ export * from './lib/zslider/zslider.component';