mmhglobal-dynamicform 2.41.4 → 2.42.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.
@@ -34,9 +34,7 @@ export declare class ZComponentService {
34
34
  translateComponentProperties(componentProperties: ZComponentProperties, group: ZGroup): Observable<any>;
35
35
  private translateCompByProperty;
36
36
  private readonly timePickerDateType;
37
- localizeDateTimeByIgnoringTimeZone(value: string, data: ZField): Date;
38
- private removeTimeZoneAndConvertToISOString;
39
- private convertOffsetMinToHour;
37
+ localizeDateTimeByIgnoringTimeZone(value: any, field: ZField): Date;
40
38
  decrementComponentCounterForField(field: ZField): void;
41
39
  isMobileScreen(): boolean;
42
40
  static ɵfac: i0.ɵɵFactoryDeclaration<ZComponentService, never>;
@@ -5,7 +5,7 @@ import * as i0 from "@angular/core";
5
5
  export declare class DateParserFilter implements PipeTransform {
6
6
  componentService: ZComponentService;
7
7
  constructor(componentService: ZComponentService);
8
- transform(value: any, data: ZField): any;
8
+ transform(rawValue: any, field: ZField): Date | null;
9
9
  static ɵfac: i0.ɵɵFactoryDeclaration<DateParserFilter, never>;
10
10
  static ɵpipe: i0.ɵɵPipeDeclaration<DateParserFilter, "dateParser">;
11
11
  }
@@ -26,6 +26,11 @@ export declare class ZdatetimeComponent extends InputFieldBase implements ZCompo
26
26
  private setStepValue;
27
27
  private setDisabledDates;
28
28
  private convertDateTimeValueToString;
29
+ /**
30
+ * Adjusts a Date so that its wall-clock time stays the same
31
+ * when ignoring the browser timezone.
32
+ */
33
+ private adjustForIgnoreTimeZone;
29
34
  private parseAnyValueToDate;
30
35
  private parseAnyValueToDateOnly;
31
36
  focus(): boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mmhglobal-dynamicform",
3
- "version": "2.41.4",
3
+ "version": "2.42.0",
4
4
  "peerDependencies": {},
5
5
  "dependencies": {
6
6
  "tslib": "^2.3.1"