myrta-ui 17.1.37 → 17.1.40

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.
@@ -1,2 +1,3 @@
1
1
  import { TimezoneType } from '../enum/timezone';
2
2
  export declare const formattingToMoscowTimezone: (date: any, tz: TimezoneType) => string;
3
+ export declare const formattingFromMoscowTimezone: (date: any, tz: TimezoneType) => string;
@@ -1,4 +1,4 @@
1
- import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
1
+ import { AfterViewInit, ElementRef, EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
2
2
  import { ControlValueAccessor } from '@angular/forms';
3
3
  import { ExtraTime, InputDateSizesTypes } from './input-date-time.enum';
4
4
  import { DateModel, TimeModel } from './helpers/validate-value-models';
@@ -7,9 +7,6 @@ import { Field } from '../../../services';
7
7
  import { InputDateTimeValueTypes, InputDateTimeValueWithId } from './models/input-date-time.model';
8
8
  import * as i0 from "@angular/core";
9
9
  export declare class InputDateTimeComponent implements ControlValueAccessor, OnChanges, AfterViewInit {
10
- private _detector;
11
- private _maxDate;
12
- private _minDate;
13
10
  dt: any;
14
11
  value: any;
15
12
  dateModel: DateModel;
@@ -42,18 +39,15 @@ export declare class InputDateTimeComponent implements ControlValueAccessor, OnC
42
39
  invalid: boolean;
43
40
  invalidMessage: string | string[];
44
41
  checkInvalid: true | false | null;
45
- set minDate(value: string);
46
- set maxDate(value: string);
42
+ minDate: string;
43
+ maxDate: string;
47
44
  dateInput: ElementRef;
48
45
  timeInput: ElementRef;
49
46
  changed: EventEmitter<InputDateTimeValueTypes>;
50
47
  modelChange: EventEmitter<InputDateTimeValueWithId>;
51
48
  blurred: EventEmitter<InputDateTimeValueWithId>;
52
- constructor(_detector: ChangeDetectorRef);
53
49
  ngAfterViewInit(): void;
54
50
  ngOnChanges(changes: SimpleChanges): void;
55
- get minDate(): string;
56
- get maxDate(): string;
57
51
  get getDateValue(): string;
58
52
  get getClasses(): string;
59
53
  private get isValidModels();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "myrta-ui",
3
- "version": "17.1.37",
3
+ "version": "17.1.40",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.3.0",
6
6
  "@angular/core": "^17.3.0",