myrta-ui 17.1.37 → 17.1.41
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.
- package/esm2022/lib/components/breadcrumbs/breadcrumbs.component.mjs +4 -5
- package/esm2022/lib/components/breadcrumbs/breadcrumbs.enum.mjs +1 -1
- package/esm2022/lib/components/form/input-date-time/helpers/formatting-moscow-timezone.mjs +15 -3
- package/esm2022/lib/components/form/input-date-time/input-date-time.component.mjs +19 -38
- package/esm2022/lib/components/loader/loader.component.mjs +2 -2
- package/fesm2022/myrta-ui.mjs +95 -103
- package/fesm2022/myrta-ui.mjs.map +1 -1
- package/lib/components/breadcrumbs/breadcrumbs.enum.d.ts +3 -4
- package/lib/components/form/input-date-time/helpers/formatting-moscow-timezone.d.ts +1 -0
- package/lib/components/form/input-date-time/input-date-time.component.d.ts +3 -9
- package/package.json +1 -1
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Params, QueryParamsHandling } from '@angular/router';
|
|
1
2
|
export declare enum BreadcrumbsTypeEnum {
|
|
2
3
|
'default' = "mrx-breadcrumbs-default",
|
|
3
4
|
'link' = "mrx-breadcrumbs-link"
|
|
@@ -5,12 +6,10 @@ export declare enum BreadcrumbsTypeEnum {
|
|
|
5
6
|
export type BreadcrumbsType = 'default' | 'link';
|
|
6
7
|
export interface BreadcrumbsItemI {
|
|
7
8
|
text: string;
|
|
8
|
-
path?: string;
|
|
9
9
|
href?: string;
|
|
10
10
|
routerLink?: string;
|
|
11
|
-
queryParams?:
|
|
12
|
-
|
|
13
|
-
};
|
|
11
|
+
queryParams?: Params;
|
|
12
|
+
queryParamsHandling?: QueryParamsHandling;
|
|
14
13
|
isLink?: boolean;
|
|
15
14
|
isShowArrow?: boolean;
|
|
16
15
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AfterViewInit,
|
|
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
|
-
|
|
46
|
-
|
|
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();
|