myrta-ui 1.1.38 → 1.1.39

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,9 +1,10 @@
1
1
  import { AfterViewInit, ElementRef, EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
2
2
  import { ControlValueAccessor } from '@angular/forms';
3
- import { ExtraTime, InputDateSizesTypes, InputDateTimeValueTypes, InputDateTimeValueWithId } from './input-date-time.enum';
3
+ import { ExtraTime, InputDateSizesTypes } from './input-date-time.enum';
4
4
  import { DateModel, TimeModel } from './helpers/validate-value-models';
5
5
  import { TimezoneType } from './enum/timezone';
6
6
  import { Field } from "../../../services";
7
+ import { InputDateTimeValueTypes, InputDateTimeValueWithId } from './models/input-date-time.model';
7
8
  import * as i0 from "@angular/core";
8
9
  export declare class InputDateTimeComponent implements ControlValueAccessor, OnChanges, AfterViewInit {
9
10
  dt: any;
@@ -4,11 +4,6 @@ export declare enum InputDateSizesEnum {
4
4
  'large' = "mrx-input-date-lg"
5
5
  }
6
6
  export declare type InputDateSizesTypes = 'small' | 'medium' | 'large';
7
- export declare type InputDateTimeValueTypes = string | string[];
8
- export interface InputDateTimeValueWithId {
9
- value: InputDateTimeValueTypes;
10
- id: string;
11
- }
12
7
  /**
13
8
  * Пример использования <br/>
14
9
  * message="Не более {diff} дней" <br/>
@@ -0,0 +1,5 @@
1
+ export declare type InputDateTimeValueTypes = string | string[];
2
+ export interface InputDateTimeValueWithId {
3
+ value: InputDateTimeValueTypes;
4
+ id: string;
5
+ }
@@ -1,8 +1,9 @@
1
1
  import { AfterViewInit, ElementRef, EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
2
2
  import { ControlValueAccessor } from '@angular/forms';
3
- import { InputDateSizesTypes, InputDateTimeValidation, InputDateTimeValueTypes, InputDateTimeValueWithId } from './input-datepicker.enum';
3
+ import { InputDateSizesTypes, InputDateTimeValidation } from './input-datepicker.enum';
4
4
  import { DateModel, TimeModel } from './helpers/validate-value-models';
5
5
  import { Field } from '../../../services';
6
+ import { InputDatepickerValueTypes, InputDatepickerValueWithId } from './models/input-datepicker.model';
6
7
  import * as i0 from "@angular/core";
7
8
  export declare class InputDatepickerComponent implements ControlValueAccessor, OnChanges, AfterViewInit {
8
9
  dt: any;
@@ -39,8 +40,8 @@ export declare class InputDatepickerComponent implements ControlValueAccessor, O
39
40
  checkInvalid: true | false | null;
40
41
  isShowMessages: boolean;
41
42
  dateInput: ElementRef;
42
- changed: EventEmitter<string>;
43
- modelChange: EventEmitter<InputDateTimeValueWithId>;
43
+ changed: EventEmitter<InputDatepickerValueTypes>;
44
+ modelChange: EventEmitter<InputDatepickerValueWithId>;
44
45
  constructor();
45
46
  ngAfterViewInit(): void;
46
47
  ngOnChanges(changes: SimpleChanges): void;
@@ -58,13 +59,13 @@ export declare class InputDatepickerComponent implements ControlValueAccessor, O
58
59
  updateDateValue(dateInput: HTMLInputElement): void;
59
60
  clickToInput(input: HTMLInputElement): void;
60
61
  private checkingInvalid;
61
- writeValue(outsideValue: InputDateTimeValueTypes): void;
62
+ writeValue(outsideValue: InputDatepickerValueTypes): void;
62
63
  private onChange;
63
64
  private onTouched;
64
65
  registerOnChange(fn: any): void;
65
66
  registerOnTouched(fn: () => {}): void;
66
67
  setDisabledState(isDisabled: boolean): void;
67
- updateValue(insideValue: InputDateTimeValueTypes): void;
68
+ updateValue(insideValue: InputDatepickerValueTypes): void;
68
69
  static ɵfac: i0.ɵɵFactoryDeclaration<InputDatepickerComponent, never>;
69
70
  static ɵcmp: i0.ɵɵComponentDeclaration<InputDatepickerComponent, "mrx-input-datepicker", never, { "fields": "fields"; "size": "size"; "format": "format"; "locale": "locale"; "customClasses": "customClasses"; "dateLabel": "dateLabel"; "timeLabel": "timeLabel"; "datePlaceholder": "datePlaceholder"; "placeholder": "placeholder"; "disabled": "disabled"; "readonly": "readonly"; "required": "required"; "timepicker": "timepicker"; "minDate": "minDate"; "maxDate": "maxDate"; "inline": "inline"; "closable": "closable"; "leadZeroDateTime": "leadZeroDateTime"; "mask": "mask"; "container": "container"; "validationType": "validationType"; "disableValidation": "disableValidation"; "invalid": "invalid"; "invalidMessage": "invalidMessage"; "checkInvalid": "checkInvalid"; "isShowMessages": "isShowMessages"; }, { "changed": "changed"; "modelChange": "modelChange"; }, never, never>;
70
71
  }
@@ -4,9 +4,4 @@ export declare enum InputDateSizesEnum {
4
4
  'large' = "mrx-input-date-lg"
5
5
  }
6
6
  export declare type InputDateSizesTypes = 'small' | 'medium' | 'large';
7
- export declare type InputDateTimeValueTypes = string;
8
- export interface InputDateTimeValueWithId {
9
- value: InputDateTimeValueTypes;
10
- id: string;
11
- }
12
7
  export declare type InputDateTimeValidation = 'default' | 'double';
@@ -0,0 +1,5 @@
1
+ export declare type InputDatepickerValueTypes = string;
2
+ export interface InputDatepickerValueWithId {
3
+ value: InputDatepickerValueTypes;
4
+ id: string;
5
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "myrta-ui",
3
- "version": "1.1.38",
3
+ "version": "1.1.39",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^13.3.0",
6
6
  "@angular/core": "^13.3.0",
package/public-api.d.ts CHANGED
@@ -97,14 +97,17 @@ export * from './lib/components/form/input-search/input-search.component';
97
97
  export * from './lib/components/form/input-search/input-search.enum';
98
98
  export * from './lib/components/form/input-datepicker/input-datepicker.module';
99
99
  export * from './lib/components/form/input-datepicker/input-datepicker.component';
100
+ export * from './lib/components/form/input-datepicker/models/input-datepicker.model';
100
101
  export * from './lib/components/form/input-datepicker/input-datepicker.enum';
101
102
  export * from './lib/components/form/input-date-time/input-date-time.module';
102
103
  export * from './lib/components/form/input-date-time/input-date-time.component';
104
+ export * from './lib/components/form/input-date-time/models/input-date-time.model';
103
105
  export * from './lib/components/form/input-date-time/enum/timezone';
104
106
  export * from './lib/components/form/input-timepicker/input-timepicker.module';
105
107
  export * from './lib/components/form/input-timepicker/input-timepicker.component';
106
108
  export * from './lib/components/form/editor/editor.module';
107
109
  export * from './lib/components/form/editor/editor.component';
110
+ export * from './lib/components/form/editor/editor.enum';
108
111
  export * from './lib/components/form/editor/models/toolbar.model';
109
112
  export * from './lib/components/form/document-editor/document-editor.module';
110
113
  export * from './lib/components/form/document-editor/document-editor.component';