mis-crystal-design-system 18.2.2-test → 18.2.2
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/datepicker_v2/tz-dp-container/tz-dp-container.component.d.ts +1 -15
- package/dropdown/dropdown.component.d.ts +1 -3
- package/esm2022/datepicker_v2/tz-dp-container/tz-dp-container.component.mjs +76 -194
- package/esm2022/dropdown/dropdown.component.mjs +49 -60
- package/esm2022/multi-select-dropdown/multi-select-dropdown.component.mjs +74 -61
- package/fesm2022/mis-crystal-design-system-datepicker_v2.mjs +78 -196
- package/fesm2022/mis-crystal-design-system-datepicker_v2.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-dropdown.mjs +49 -60
- package/fesm2022/mis-crystal-design-system-dropdown.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-multi-select-dropdown.mjs +73 -60
- package/fesm2022/mis-crystal-design-system-multi-select-dropdown.mjs.map +1 -1
- package/multi-select-dropdown/multi-select-dropdown.component.d.ts +3 -0
- package/package.json +46 -46
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import { OnInit } from "@angular/core";
|
|
2
|
-
import { LiveAnnouncer } from "@angular/cdk/a11y";
|
|
3
2
|
import { ICurrentMonth, ICurrentMonthDates, IDatePickerData, IWeekDay } from "../models/dp-config.model";
|
|
4
3
|
import { ToastService } from "mis-crystal-design-system/toast";
|
|
5
4
|
import * as i0 from "@angular/core";
|
|
6
5
|
export declare class TzDpContainerComponent implements OnInit {
|
|
7
6
|
private toast;
|
|
8
|
-
private liveAnnouncer;
|
|
9
7
|
data: IDatePickerData;
|
|
10
8
|
private parseZoneInstance;
|
|
11
9
|
/**
|
|
@@ -21,16 +19,6 @@ export declare class TzDpContainerComponent implements OnInit {
|
|
|
21
19
|
private readonly isPreviousMonthDisabledSignal;
|
|
22
20
|
private readonly isNextMonthDisabledSignal;
|
|
23
21
|
private readonly localSelectedDateSignal;
|
|
24
|
-
readonly focusedDateSignal: import("@angular/core").WritableSignal<{
|
|
25
|
-
date: number;
|
|
26
|
-
month: number;
|
|
27
|
-
year: number;
|
|
28
|
-
}>;
|
|
29
|
-
focusedDate: import("@angular/core").Signal<{
|
|
30
|
-
date: number;
|
|
31
|
-
month: number;
|
|
32
|
-
year: number;
|
|
33
|
-
}>;
|
|
34
22
|
private readonly allowBookingOnDisabledDaySignal;
|
|
35
23
|
private readonly currentSelectionSignal;
|
|
36
24
|
readonly selectedHourSignal: import("@angular/core").WritableSignal<number>;
|
|
@@ -65,14 +53,13 @@ export declare class TzDpContainerComponent implements OnInit {
|
|
|
65
53
|
disabledYears: import("@angular/core").Signal<boolean[]>;
|
|
66
54
|
selectedYear: import("@angular/core").Signal<number>;
|
|
67
55
|
isYearSelectionFlow: import("@angular/core").Signal<boolean>;
|
|
68
|
-
constructor(data: IDatePickerData, toast: ToastService
|
|
56
|
+
constructor(data: IDatePickerData, toast: ToastService);
|
|
69
57
|
onHourInput(event: any): void;
|
|
70
58
|
onMinuteInput(event: any): void;
|
|
71
59
|
validateHourInput(): void;
|
|
72
60
|
validateMinuteInput(): void;
|
|
73
61
|
is12HourFormat(): boolean;
|
|
74
62
|
retractDayMonth(day: any, month: any, year: any): any;
|
|
75
|
-
isFocusedDay(day: ICurrentMonthDates): boolean;
|
|
76
63
|
ngOnInit(): void;
|
|
77
64
|
get yearRange(): string;
|
|
78
65
|
private initializeTimeValues;
|
|
@@ -85,7 +72,6 @@ export declare class TzDpContainerComponent implements OnInit {
|
|
|
85
72
|
private generateDates;
|
|
86
73
|
selectDay(day: ICurrentMonthDates): void;
|
|
87
74
|
applyDate(day?: ICurrentMonthDates): void;
|
|
88
|
-
onDayKeydown(event: KeyboardEvent, day: ICurrentMonthDates): void;
|
|
89
75
|
closeOnEsc(): void;
|
|
90
76
|
cancelDatePicker(): void;
|
|
91
77
|
toggleMonthSelector(): void;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ElementRef, TemplateRef, ViewContainerRef, ChangeDetectorRef } from "@angular/core";
|
|
2
2
|
import { Overlay } from "@angular/cdk/overlay";
|
|
3
|
-
import { LiveAnnouncer } from "@angular/cdk/a11y";
|
|
4
3
|
import { CdkVirtualScrollViewport } from "@angular/cdk/scrolling";
|
|
5
4
|
import * as i0 from "@angular/core";
|
|
6
5
|
export declare class DropdownComponent {
|
|
@@ -8,7 +7,6 @@ export declare class DropdownComponent {
|
|
|
8
7
|
private overlay;
|
|
9
8
|
private viewContainerRef;
|
|
10
9
|
private cdr;
|
|
11
|
-
private liveAnnouncer;
|
|
12
10
|
isOpen: import("@angular/core").WritableSignal<boolean>;
|
|
13
11
|
readonly loading: import("@angular/core").WritableSignal<boolean>;
|
|
14
12
|
readonly isSearchInputFocused: import("@angular/core").WritableSignal<boolean>;
|
|
@@ -47,7 +45,7 @@ export declare class DropdownComponent {
|
|
|
47
45
|
private _itemsContainer;
|
|
48
46
|
set itemsContainer(container: ElementRef | null);
|
|
49
47
|
private overlayRef;
|
|
50
|
-
constructor(eRef: ElementRef, overlay: Overlay, viewContainerRef: ViewContainerRef, cdr: ChangeDetectorRef
|
|
48
|
+
constructor(eRef: ElementRef, overlay: Overlay, viewContainerRef: ViewContainerRef, cdr: ChangeDetectorRef);
|
|
51
49
|
measureAndUpdateHeight(): void;
|
|
52
50
|
get currentData(): DropdownItem[];
|
|
53
51
|
get itemsContainerStyle(): {
|