myrta-ui 1.1.89 → 1.1.91

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,9 +1,9 @@
1
1
  import { AfterViewInit, ElementRef, EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
2
2
  import { ControlValueAccessor } from '@angular/forms';
3
- import { ExtraTime, InputDateSizesTypes } from './input-date-time.enum';
3
+ import { ExtraTime, InputDateTimeSizesTypes } from './input-date-time.enum';
4
4
  import { DateModel, TimeModel } from './helpers/validate-value-models';
5
5
  import { TimezoneType } from './enum/timezone';
6
- import { Field } from "../../../services";
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 {
@@ -15,7 +15,7 @@ export declare class InputDateTimeComponent implements ControlValueAccessor, OnC
15
15
  innerInvalidMessage: string;
16
16
  uuid: string;
17
17
  fields: Field[];
18
- size: InputDateSizesTypes;
18
+ size: InputDateTimeSizesTypes;
19
19
  customClasses: string;
20
20
  dateLabel: string;
21
21
  timeLabel: string;
@@ -26,8 +26,6 @@ export declare class InputDateTimeComponent implements ControlValueAccessor, OnC
26
26
  required: boolean;
27
27
  timepicker: boolean;
28
28
  range: boolean;
29
- minDate: string;
30
- maxDate: string;
31
29
  timezone: TimezoneType;
32
30
  inline: boolean;
33
31
  isManualInput: boolean;
@@ -36,16 +34,18 @@ export declare class InputDateTimeComponent implements ControlValueAccessor, OnC
36
34
  addMinTimeObj: ExtraTime;
37
35
  addMaxTimeObj: ExtraTime;
38
36
  disableValidate: boolean;
37
+ disableIncludes: boolean;
39
38
  container: string;
40
39
  invalid: boolean;
41
40
  invalidMessage: string | string[];
42
41
  checkInvalid: true | false | null;
42
+ minDate: string;
43
+ maxDate: string;
43
44
  dateInput: ElementRef;
44
45
  timeInput: ElementRef;
45
46
  changed: EventEmitter<InputDateTimeValueTypes>;
46
47
  modelChange: EventEmitter<InputDateTimeValueWithId>;
47
48
  blurred: EventEmitter<InputDateTimeValueWithId>;
48
- constructor();
49
49
  ngAfterViewInit(): void;
50
50
  ngOnChanges(changes: SimpleChanges): void;
51
51
  get getDateValue(): string;
@@ -53,6 +53,7 @@ export declare class InputDateTimeComponent implements ControlValueAccessor, OnC
53
53
  private get isValidModels();
54
54
  get isViewCleanIcon(): boolean;
55
55
  get checkValidClasses(): string;
56
+ private _getDateFromTimezone;
56
57
  private _checkExtraTime;
57
58
  clickToIconCalendar(): void;
58
59
  clickToIconClear(): void;
@@ -73,5 +74,5 @@ export declare class InputDateTimeComponent implements ControlValueAccessor, OnC
73
74
  updateValue(insideValue: InputDateTimeValueTypes): void;
74
75
  onBlur(event: Event): void;
75
76
  static ɵfac: i0.ɵɵFactoryDeclaration<InputDateTimeComponent, never>;
76
- static ɵcmp: i0.ɵɵComponentDeclaration<InputDateTimeComponent, "mrx-input-date-time", never, { "fields": "fields"; "size": "size"; "customClasses": "customClasses"; "dateLabel": "dateLabel"; "timeLabel": "timeLabel"; "datePlaceholder": "datePlaceholder"; "timePlaceholder": "timePlaceholder"; "disabled": "disabled"; "readonly": "readonly"; "required": "required"; "timepicker": "timepicker"; "range": "range"; "minDate": "minDate"; "maxDate": "maxDate"; "timezone": "timezone"; "inline": "inline"; "isManualInput": "isManualInput"; "addMinTime": "addMinTime"; "addMaxTime": "addMaxTime"; "addMinTimeObj": "addMinTimeObj"; "addMaxTimeObj": "addMaxTimeObj"; "disableValidate": "disableValidate"; "container": "container"; "invalid": "invalid"; "invalidMessage": "invalidMessage"; "checkInvalid": "checkInvalid"; }, { "changed": "changed"; "modelChange": "modelChange"; "blurred": "blurred"; }, never, never>;
77
+ static ɵcmp: i0.ɵɵComponentDeclaration<InputDateTimeComponent, "mrx-input-date-time", never, { "fields": "fields"; "size": "size"; "customClasses": "customClasses"; "dateLabel": "dateLabel"; "timeLabel": "timeLabel"; "datePlaceholder": "datePlaceholder"; "timePlaceholder": "timePlaceholder"; "disabled": "disabled"; "readonly": "readonly"; "required": "required"; "timepicker": "timepicker"; "range": "range"; "timezone": "timezone"; "inline": "inline"; "isManualInput": "isManualInput"; "addMinTime": "addMinTime"; "addMaxTime": "addMaxTime"; "addMinTimeObj": "addMinTimeObj"; "addMaxTimeObj": "addMaxTimeObj"; "disableValidate": "disableValidate"; "disableIncludes": "disableIncludes"; "container": "container"; "invalid": "invalid"; "invalidMessage": "invalidMessage"; "checkInvalid": "checkInvalid"; "minDate": "minDate"; "maxDate": "maxDate"; }, { "changed": "changed"; "modelChange": "modelChange"; "blurred": "blurred"; }, never, never>;
77
78
  }
@@ -1,9 +1,9 @@
1
- export declare enum InputDateSizesEnum {
1
+ export declare enum InputDateTimeSizesEnum {
2
2
  'small' = "mrx-input-date-sm",
3
3
  'medium' = "mrx-input-date-md",
4
4
  'large' = "mrx-input-date-lg"
5
5
  }
6
- export declare type InputDateSizesTypes = 'small' | 'medium' | 'large';
6
+ export declare type InputDateTimeSizesTypes = 'small' | 'medium' | 'large';
7
7
  /**
8
8
  * Пример использования <br/>
9
9
  * message="Не более {diff} дней" <br/>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "myrta-ui",
3
- "version": "1.1.89",
3
+ "version": "1.1.91",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^13.3.0",
6
6
  "@angular/core": "^13.3.0",