mis-crystal-design-system 18.0.25 → 18.1.0-signal-test
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/action-list/action-list.component.d.ts +17 -15
- package/async-search-dropdown/async-dropdown.component.d.ts +43 -61
- package/button/button.component.d.ts +35 -13
- package/button/button.directive.d.ts +10 -8
- package/button/button.directive.scss +13 -15
- package/checkbox/checkbox.component.d.ts +15 -12
- package/chip/chip.component.d.ts +9 -11
- package/datepicker_v2/models/dp-config.model.d.ts +1 -0
- package/datepicker_v2/tz-datepicker.directive.d.ts +15 -18
- package/datepicker_v2/tz-dp-container/tz-dp-container.component.d.ts +42 -21
- package/daterangepicker_v2/tz-daterangepicker.directive.d.ts +12 -14
- package/daterangepicker_v2/tz-drp-container/tz-drp-container.component.d.ts +46 -23
- package/drawer/drawer-body/drawer-body.component.d.ts +2 -2
- package/drawer/drawer.scss +1 -1
- package/dropdown/calculate-container-height.directive.d.ts +7 -8
- package/dropdown/dropdown.component.d.ts +41 -49
- package/dynamic-form/dynamic-form.component.d.ts +20 -16
- package/esm2022/action-list/action-list.component.mjs +113 -90
- package/esm2022/async-search-dropdown/async-dropdown.component.mjs +257 -327
- package/esm2022/button/button.component.mjs +56 -49
- package/esm2022/button/button.directive.mjs +36 -40
- package/esm2022/checkbox/checkbox.component.mjs +75 -70
- package/esm2022/chip/chip.component.mjs +20 -33
- package/esm2022/datepicker_v2/models/dp-config.model.mjs +1 -1
- package/esm2022/datepicker_v2/tz-datepicker.directive.mjs +42 -71
- package/esm2022/datepicker_v2/tz-dp-container/tz-dp-container.component.mjs +203 -173
- package/esm2022/datepicker_v2/utils/index.mjs +2 -1
- package/esm2022/daterangepicker_v2/tz-daterangepicker.directive.mjs +26 -51
- package/esm2022/daterangepicker_v2/tz-drp-container/tz-drp-container.component.mjs +283 -236
- package/esm2022/drawer/drawer-body/drawer-body.component.mjs +8 -7
- package/esm2022/dropdown/calculate-container-height.directive.mjs +25 -22
- package/esm2022/dropdown/dropdown.component.mjs +163 -187
- package/esm2022/dynamic-form/dynamic-form.component.mjs +119 -73
- package/esm2022/fab/fab.component.mjs +30 -34
- package/esm2022/filter/filter-panel/filter-panel.component.mjs +61 -59
- package/esm2022/input/directives/input/input.directive.mjs +22 -26
- package/esm2022/input/mis-input.component.mjs +42 -46
- package/esm2022/input-stepper/input-stepper/input-stepper.component.mjs +42 -52
- package/esm2022/loader/loader.component.mjs +8 -11
- package/esm2022/mobile-filter/mobile-filter.component.mjs +62 -62
- package/esm2022/modal/module-wrapper/module-wrapper.component.mjs +11 -9
- package/esm2022/multi-select-dropdown/multi-select-dropdown.component.mjs +235 -281
- package/esm2022/nested-multi-select-dropdown/nested-multi-select-dropdown.component.mjs +250 -287
- package/esm2022/phone-input/phone-input.component.mjs +21 -43
- package/esm2022/public-api.mjs +1 -1
- package/esm2022/radio-button/radio-button.component.mjs +15 -27
- package/esm2022/ske-loader/ske-loader.component.mjs +15 -29
- package/esm2022/slider/slider.component.mjs +23 -33
- package/esm2022/slider/slider.module.mjs +4 -11
- package/esm2022/snackbar/snackbar/snackbar.component.mjs +21 -15
- package/esm2022/snackbar/snackbar.service.mjs +3 -2
- package/esm2022/specificdatepicker/tz-sdp-container/tz-sdp-container.component.mjs +231 -344
- package/esm2022/specificdatepicker/tz-specificdatepicker.directive.mjs +77 -105
- package/esm2022/star-rating/star-rating.component.mjs +58 -72
- package/esm2022/switch/switch.component.mjs +34 -36
- package/esm2022/table/actions-cell/actions-cell.component.mjs +56 -55
- package/esm2022/table/custom-table-cell.directive.mjs +22 -18
- package/esm2022/table/filter/filter.component.mjs +60 -42
- package/esm2022/table/sort-icons.directive.mjs +16 -8
- package/esm2022/table/sub-table/sub-table.component.mjs +42 -45
- package/esm2022/table/table.component.mjs +182 -166
- package/esm2022/timepicker/timepicker.component.mjs +245 -160
- package/esm2022/timepicker/timepicker.directive.mjs +3 -2
- package/esm2022/timerangepicker/timerangepicker.component.mjs +200 -159
- package/esm2022/toast/toast.component.mjs +7 -8
- package/esm2022/toast/toast.data.service.mjs +15 -9
- package/esm2022/tooltip/tooltip-container/tooltip.component.mjs +12 -12
- package/esm2022/tooltip/tooltip.directive.mjs +4 -4
- package/esm2022/virtual-scroll/virtual-scroll.component.mjs +57 -59
- package/fab/fab.component.d.ts +12 -8
- package/fesm2022/mis-crystal-design-system-action-list.mjs +112 -89
- package/fesm2022/mis-crystal-design-system-action-list.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-async-search-dropdown.mjs +254 -325
- package/fesm2022/mis-crystal-design-system-async-search-dropdown.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-button.mjs +89 -86
- package/fesm2022/mis-crystal-design-system-button.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-checkbox.mjs +74 -69
- package/fesm2022/mis-crystal-design-system-checkbox.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-chip.mjs +19 -32
- package/fesm2022/mis-crystal-design-system-chip.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-datepicker_v2.mjs +243 -241
- package/fesm2022/mis-crystal-design-system-datepicker_v2.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-daterangepicker_v2.mjs +306 -284
- package/fesm2022/mis-crystal-design-system-daterangepicker_v2.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-drawer.mjs +7 -6
- package/fesm2022/mis-crystal-design-system-drawer.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-dropdown.mjs +184 -205
- package/fesm2022/mis-crystal-design-system-dropdown.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-dynamic-form.mjs +119 -73
- package/fesm2022/mis-crystal-design-system-dynamic-form.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-fab.mjs +29 -33
- package/fesm2022/mis-crystal-design-system-fab.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-filter.mjs +60 -58
- package/fesm2022/mis-crystal-design-system-filter.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-input-stepper.mjs +41 -51
- package/fesm2022/mis-crystal-design-system-input-stepper.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-input.mjs +62 -71
- package/fesm2022/mis-crystal-design-system-input.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-loader.mjs +7 -10
- package/fesm2022/mis-crystal-design-system-loader.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-mobile-filter.mjs +61 -61
- package/fesm2022/mis-crystal-design-system-mobile-filter.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-modal.mjs +10 -8
- package/fesm2022/mis-crystal-design-system-modal.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-multi-select-dropdown.mjs +233 -279
- package/fesm2022/mis-crystal-design-system-multi-select-dropdown.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-nested-multi-select-dropdown.mjs +249 -286
- package/fesm2022/mis-crystal-design-system-nested-multi-select-dropdown.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-phone-input.mjs +20 -42
- package/fesm2022/mis-crystal-design-system-phone-input.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-radio-button.mjs +14 -26
- package/fesm2022/mis-crystal-design-system-radio-button.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-ske-loader.mjs +14 -28
- package/fesm2022/mis-crystal-design-system-ske-loader.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-slider.mjs +25 -42
- package/fesm2022/mis-crystal-design-system-slider.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-snackbar.mjs +22 -15
- package/fesm2022/mis-crystal-design-system-snackbar.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-specificdatepicker.mjs +305 -446
- package/fesm2022/mis-crystal-design-system-specificdatepicker.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-star-rating.mjs +57 -71
- package/fesm2022/mis-crystal-design-system-star-rating.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-switch.mjs +33 -35
- package/fesm2022/mis-crystal-design-system-switch.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-table.mjs +368 -324
- package/fesm2022/mis-crystal-design-system-table.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-timepicker.mjs +246 -160
- package/fesm2022/mis-crystal-design-system-timepicker.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-timerangepicker.mjs +199 -158
- package/fesm2022/mis-crystal-design-system-timerangepicker.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-toast.mjs +19 -14
- package/fesm2022/mis-crystal-design-system-toast.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-tooltip.mjs +14 -14
- package/fesm2022/mis-crystal-design-system-tooltip.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-virtual-scroll.mjs +57 -59
- package/fesm2022/mis-crystal-design-system-virtual-scroll.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system.mjs.map +1 -1
- package/filter/filter-panel/filter-panel.component.d.ts +14 -14
- package/input/directives/input/input.directive.d.ts +6 -10
- package/input/mis-input.component.d.ts +12 -13
- package/input/mis-input.component.scss +18 -18
- package/input-stepper/input-stepper/input-stepper.component.d.ts +8 -7
- package/loader/loader.component.d.ts +3 -6
- package/mobile-filter/mobile-filter.component.d.ts +15 -15
- package/modal/modal.scss +1 -1
- package/modal/module-wrapper/module-wrapper.component.d.ts +2 -3
- package/multi-select-dropdown/multi-select-dropdown.component.d.ts +89 -51
- package/nested-multi-select-dropdown/nested-multi-select-dropdown.component.d.ts +99 -56
- package/package.json +17 -23
- package/phone-input/phone-input.component.d.ts +16 -18
- package/radio-button/radio-button.component.d.ts +9 -11
- package/ske-loader/ske-loader.component.d.ts +8 -11
- package/slider/slider.component.d.ts +8 -11
- package/slider/slider.module.d.ts +1 -2
- package/snackbar/snackbar/snackbar.component.d.ts +3 -3
- package/specificdatepicker/tz-sdp-container/tz-sdp-container.component.d.ts +35 -35
- package/specificdatepicker/tz-specificdatepicker.directive.d.ts +24 -28
- package/star-rating/star-rating.component.d.ts +18 -18
- package/styles/mis-color-constants.scss +0 -204
- package/styles/mis-icons.scss +56 -56
- package/styles/mis-old-icon-styles.scss +21 -21
- package/switch/switch.component.d.ts +8 -10
- package/table/actions-cell/actions-cell.component.d.ts +14 -14
- package/table/custom-table-cell.directive.d.ts +3 -3
- package/table/filter/filter.component.d.ts +9 -9
- package/table/sub-table/sub-table.component.d.ts +5 -5
- package/table/table.component.d.ts +38 -35
- package/timepicker/timepicker.component.d.ts +29 -28
- package/timerangepicker/timerangepicker.component.d.ts +36 -33
- package/toast/toast.data.service.d.ts +1 -1
- package/tooltip/tooltip-container/tooltip.component.d.ts +4 -4
- package/virtual-scroll/virtual-scroll.component.d.ts +8 -9
- package/dynamic-theme/branding.types.d.ts +0 -84
- package/dynamic-theme/dynamic-theme.module.d.ts +0 -9
- package/dynamic-theme/dynamic-theme.service.d.ts +0 -89
- package/dynamic-theme/index.d.ts +0 -1
- package/dynamic-theme/public_api.d.ts +0 -3
- package/esm2022/dynamic-theme/branding.types.mjs +0 -93
- package/esm2022/dynamic-theme/dynamic-theme.module.mjs +0 -25
- package/esm2022/dynamic-theme/dynamic-theme.service.mjs +0 -193
- package/esm2022/dynamic-theme/index.mjs +0 -2
- package/esm2022/dynamic-theme/mis-crystal-design-system-dynamic-theme.mjs +0 -5
- package/esm2022/dynamic-theme/public_api.mjs +0 -4
- package/fesm2022/mis-crystal-design-system-dynamic-theme.mjs +0 -313
- package/fesm2022/mis-crystal-design-system-dynamic-theme.mjs.map +0 -1
|
@@ -1,60 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ElementRef, EventEmitter, OnInit, TemplateRef, ViewContainerRef } from "@angular/core";
|
|
1
|
+
import { ElementRef, TemplateRef } from '@angular/core';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class NestedMultiSelectDropdownComponent implements OnInit {
|
|
5
|
-
private eRef;
|
|
6
|
-
private overlay;
|
|
7
|
-
private viewContainerRef;
|
|
8
|
-
searchInput: string;
|
|
9
|
-
isOpen: boolean;
|
|
10
|
-
localSelectedItems: NestedMultiSelectDropdownItem[];
|
|
11
|
-
localData: NestedMultiSelectDropdownItem[];
|
|
12
|
-
searchData: NestedMultiSelectDropdownItem[];
|
|
13
|
-
selectedCount: number;
|
|
14
|
-
set data(values: NestedMultiSelectDropdownItem[]);
|
|
15
|
-
label: string;
|
|
16
|
-
height: string;
|
|
17
|
-
width: string;
|
|
18
|
-
dropdownListHeight: string;
|
|
19
|
-
dropdownListWidth: string;
|
|
20
|
-
dropdownListPosition: "Left" | "Right";
|
|
21
|
-
searchEnabled: boolean;
|
|
22
|
-
showSelectedCount: boolean;
|
|
23
|
-
noDataMessage: string;
|
|
24
|
-
set selectedItems(values: NestedMultiSelectDropdownItem[]);
|
|
25
|
-
onChange: EventEmitter<any>;
|
|
26
|
-
selectElement: ElementRef;
|
|
27
|
-
popupContainer: TemplateRef<Element>;
|
|
28
|
-
private overlayRef;
|
|
29
|
-
constructor(eRef: ElementRef, overlay: Overlay, viewContainerRef: ViewContainerRef);
|
|
30
|
-
ngOnInit(): void;
|
|
31
|
-
handlerSetLocalSelectedItems(values: any): void;
|
|
32
|
-
isSearchInputFocused: boolean;
|
|
33
|
-
searchInputFocused(isFocused: boolean): void;
|
|
34
|
-
searchInputCanceled(event: any): void;
|
|
35
|
-
toggleDropdown(): void;
|
|
36
|
-
private openDropdown;
|
|
37
|
-
filterByValue(array: NestedMultiSelectDropdownItem[], string: string): {
|
|
38
|
-
children: {
|
|
39
|
-
label: string;
|
|
40
|
-
value: string;
|
|
41
|
-
checked?: boolean;
|
|
42
|
-
icon?: string;
|
|
43
|
-
}[];
|
|
44
|
-
label: string;
|
|
45
|
-
value: string;
|
|
46
|
-
checked?: boolean;
|
|
47
|
-
icon?: string;
|
|
48
|
-
}[];
|
|
49
|
-
searchInputOnChange(newValue: any): void;
|
|
50
|
-
formatValues(array: NestedMultiSelectDropdownItem[]): NestedMultiSelectDropdownItem[];
|
|
51
|
-
toggleSelectedItems(event: any, item: NestedMultiSelectDropdownItem, cItem?: any): void;
|
|
52
|
-
applyFilters(): void;
|
|
53
|
-
onReset(): void;
|
|
54
|
-
onCancel(): void;
|
|
55
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NestedMultiSelectDropdownComponent, never>;
|
|
56
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NestedMultiSelectDropdownComponent, "mis-nested-multi-select-dropdown", never, { "data": { "alias": "data"; "required": false; }; "label": { "alias": "label"; "required": false; }; "height": { "alias": "height"; "required": false; }; "width": { "alias": "width"; "required": false; }; "dropdownListHeight": { "alias": "dropdownListHeight"; "required": false; }; "dropdownListWidth": { "alias": "dropdownListWidth"; "required": false; }; "dropdownListPosition": { "alias": "dropdownListPosition"; "required": false; }; "searchEnabled": { "alias": "searchEnabled"; "required": false; }; "showSelectedCount": { "alias": "showSelectedCount"; "required": false; }; "noDataMessage": { "alias": "noDataMessage"; "required": false; }; "selectedItems": { "alias": "selectedItems"; "required": false; }; }, { "onChange": "onChange"; }, never, never, false, never>;
|
|
57
|
-
}
|
|
58
3
|
export interface NestedMultiSelectDropdownItem {
|
|
59
4
|
label: string;
|
|
60
5
|
value: string;
|
|
@@ -67,3 +12,101 @@ export interface NestedMultiSelectDropdownItem {
|
|
|
67
12
|
icon?: string;
|
|
68
13
|
}>;
|
|
69
14
|
}
|
|
15
|
+
export declare class NestedMultiSelectDropdownComponent {
|
|
16
|
+
private readonly eRef;
|
|
17
|
+
private readonly overlay;
|
|
18
|
+
private readonly viewContainerRef;
|
|
19
|
+
data: import("@angular/core").InputSignal<NestedMultiSelectDropdownItem[]>;
|
|
20
|
+
selectedItems: import("@angular/core").InputSignal<NestedMultiSelectDropdownItem[]>;
|
|
21
|
+
label: import("@angular/core").InputSignal<string>;
|
|
22
|
+
height: import("@angular/core").InputSignal<string>;
|
|
23
|
+
width: import("@angular/core").InputSignal<string>;
|
|
24
|
+
dropdownListHeight: import("@angular/core").InputSignal<string>;
|
|
25
|
+
dropdownListWidth: import("@angular/core").InputSignal<string>;
|
|
26
|
+
dropdownListPosition: import("@angular/core").InputSignal<"Left" | "Right">;
|
|
27
|
+
searchEnabled: import("@angular/core").InputSignal<boolean>;
|
|
28
|
+
showSelectedCount: import("@angular/core").InputSignal<boolean>;
|
|
29
|
+
noDataMessage: import("@angular/core").InputSignal<string>;
|
|
30
|
+
searchInputPlaceholder: import("@angular/core").InputSignal<string>;
|
|
31
|
+
onChange: import("@angular/core").OutputEmitterRef<NestedMultiSelectDropdownItem[]>;
|
|
32
|
+
isOpen: import("@angular/core").WritableSignal<boolean>;
|
|
33
|
+
searchInput: import("@angular/core").WritableSignal<string>;
|
|
34
|
+
isSearchInputFocused: import("@angular/core").WritableSignal<boolean>;
|
|
35
|
+
localData: import("@angular/core").WritableSignal<NestedMultiSelectDropdownItem[]>;
|
|
36
|
+
selectElement: ElementRef;
|
|
37
|
+
popupContainer: TemplateRef<Element>;
|
|
38
|
+
private overlayRef;
|
|
39
|
+
constructor();
|
|
40
|
+
/**
|
|
41
|
+
* Computed signal for the number of selected items.
|
|
42
|
+
*/
|
|
43
|
+
selectedCount: import("@angular/core").Signal<number>;
|
|
44
|
+
/**
|
|
45
|
+
* Computed signal for data to be displayed in the dropdown.
|
|
46
|
+
* Filters based on search input and sorts the parents.
|
|
47
|
+
*/
|
|
48
|
+
displayData: import("@angular/core").Signal<NestedMultiSelectDropdownItem[]>;
|
|
49
|
+
/**
|
|
50
|
+
* Initializes the data structure from inputs, setting checked states.
|
|
51
|
+
* @param data The input data array.
|
|
52
|
+
* @param selected The selected items from the parent.
|
|
53
|
+
*/
|
|
54
|
+
private initializeData;
|
|
55
|
+
/**
|
|
56
|
+
* Filters the data based on search string, including children.
|
|
57
|
+
* @param array The data to filter.
|
|
58
|
+
* @param search The search string.
|
|
59
|
+
*/
|
|
60
|
+
private filterByValue;
|
|
61
|
+
/**
|
|
62
|
+
* Sorts the parent items, placing checked parents at the top.
|
|
63
|
+
* @param data The data to sort.
|
|
64
|
+
*/
|
|
65
|
+
private sortData;
|
|
66
|
+
/**
|
|
67
|
+
* Toggles the dropdown's open/close state.
|
|
68
|
+
*/
|
|
69
|
+
toggleDropdown(): void;
|
|
70
|
+
/**
|
|
71
|
+
* Handles focus state of the search input.
|
|
72
|
+
* @param isFocused
|
|
73
|
+
*/
|
|
74
|
+
searchInputFocused(isFocused: boolean): void;
|
|
75
|
+
/**
|
|
76
|
+
* Clears the search input.
|
|
77
|
+
* @param event
|
|
78
|
+
*/
|
|
79
|
+
searchInputCanceled(event: Event): void;
|
|
80
|
+
/**
|
|
81
|
+
* Handles the change event from the search input.
|
|
82
|
+
* @param newValue
|
|
83
|
+
*/
|
|
84
|
+
searchInputOnChange(newValue: string): void;
|
|
85
|
+
/**
|
|
86
|
+
* Toggles the checked state of a specific item, handling parent-child relationships.
|
|
87
|
+
* @param event
|
|
88
|
+
* @param parent
|
|
89
|
+
* @param child
|
|
90
|
+
*/
|
|
91
|
+
toggleSelectedItems(event: Event, parent: NestedMultiSelectDropdownItem, child?: any): void;
|
|
92
|
+
/**
|
|
93
|
+
* Emits the selected items and closes the dropdown.
|
|
94
|
+
*/
|
|
95
|
+
applyFilters(): void;
|
|
96
|
+
/**
|
|
97
|
+
* Resets all selections to empty.
|
|
98
|
+
*/
|
|
99
|
+
onReset(): void;
|
|
100
|
+
/**
|
|
101
|
+
* Closes the dropdown and reverts any unapplied changes.
|
|
102
|
+
*/
|
|
103
|
+
onCancel(): void;
|
|
104
|
+
/**
|
|
105
|
+
* Creates and displays the overlay for the dropdown list.
|
|
106
|
+
* @param template
|
|
107
|
+
* @param origin
|
|
108
|
+
*/
|
|
109
|
+
private openDropdown;
|
|
110
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NestedMultiSelectDropdownComponent, never>;
|
|
111
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NestedMultiSelectDropdownComponent, "mis-nested-multi-select-dropdown", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; "selectedItems": { "alias": "selectedItems"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; "dropdownListHeight": { "alias": "dropdownListHeight"; "required": false; "isSignal": true; }; "dropdownListWidth": { "alias": "dropdownListWidth"; "required": false; "isSignal": true; }; "dropdownListPosition": { "alias": "dropdownListPosition"; "required": false; "isSignal": true; }; "searchEnabled": { "alias": "searchEnabled"; "required": false; "isSignal": true; }; "showSelectedCount": { "alias": "showSelectedCount"; "required": false; "isSignal": true; }; "noDataMessage": { "alias": "noDataMessage"; "required": false; "isSignal": true; }; "searchInputPlaceholder": { "alias": "searchInputPlaceholder"; "required": false; "isSignal": true; }; }, { "onChange": "onChange"; }, never, never, false, never>;
|
|
112
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mis-crystal-design-system",
|
|
3
|
-
"version": "18.0
|
|
3
|
+
"version": "18.1.0-signal-test",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": "*",
|
|
6
6
|
"@angular/core": "*",
|
|
@@ -34,11 +34,11 @@
|
|
|
34
34
|
"esm": "./esm2022/analytics/mis-crystal-design-system-analytics.mjs",
|
|
35
35
|
"default": "./fesm2022/mis-crystal-design-system-analytics.mjs"
|
|
36
36
|
},
|
|
37
|
-
"./
|
|
38
|
-
"types": "./
|
|
39
|
-
"esm2022": "./esm2022/
|
|
40
|
-
"esm": "./esm2022/
|
|
41
|
-
"default": "./fesm2022/mis-crystal-design-system-
|
|
37
|
+
"./button": {
|
|
38
|
+
"types": "./button/index.d.ts",
|
|
39
|
+
"esm2022": "./esm2022/button/mis-crystal-design-system-button.mjs",
|
|
40
|
+
"esm": "./esm2022/button/mis-crystal-design-system-button.mjs",
|
|
41
|
+
"default": "./fesm2022/mis-crystal-design-system-button.mjs"
|
|
42
42
|
},
|
|
43
43
|
"./checkbox": {
|
|
44
44
|
"types": "./checkbox/index.d.ts",
|
|
@@ -46,23 +46,23 @@
|
|
|
46
46
|
"esm": "./esm2022/checkbox/mis-crystal-design-system-checkbox.mjs",
|
|
47
47
|
"default": "./fesm2022/mis-crystal-design-system-checkbox.mjs"
|
|
48
48
|
},
|
|
49
|
+
"./datepicker_v2": {
|
|
50
|
+
"types": "./datepicker_v2/index.d.ts",
|
|
51
|
+
"esm2022": "./esm2022/datepicker_v2/mis-crystal-design-system-datepicker_v2.mjs",
|
|
52
|
+
"esm": "./esm2022/datepicker_v2/mis-crystal-design-system-datepicker_v2.mjs",
|
|
53
|
+
"default": "./fesm2022/mis-crystal-design-system-datepicker_v2.mjs"
|
|
54
|
+
},
|
|
49
55
|
"./chip": {
|
|
50
56
|
"types": "./chip/index.d.ts",
|
|
51
57
|
"esm2022": "./esm2022/chip/mis-crystal-design-system-chip.mjs",
|
|
52
58
|
"esm": "./esm2022/chip/mis-crystal-design-system-chip.mjs",
|
|
53
59
|
"default": "./fesm2022/mis-crystal-design-system-chip.mjs"
|
|
54
60
|
},
|
|
55
|
-
"./
|
|
56
|
-
"types": "./
|
|
57
|
-
"esm2022": "./esm2022/
|
|
58
|
-
"esm": "./esm2022/
|
|
59
|
-
"default": "./fesm2022/mis-crystal-design-system-
|
|
60
|
-
},
|
|
61
|
-
"./datepicker_v2": {
|
|
62
|
-
"types": "./datepicker_v2/index.d.ts",
|
|
63
|
-
"esm2022": "./esm2022/datepicker_v2/mis-crystal-design-system-datepicker_v2.mjs",
|
|
64
|
-
"esm": "./esm2022/datepicker_v2/mis-crystal-design-system-datepicker_v2.mjs",
|
|
65
|
-
"default": "./fesm2022/mis-crystal-design-system-datepicker_v2.mjs"
|
|
61
|
+
"./async-search-dropdown": {
|
|
62
|
+
"types": "./async-search-dropdown/index.d.ts",
|
|
63
|
+
"esm2022": "./esm2022/async-search-dropdown/mis-crystal-design-system-async-search-dropdown.mjs",
|
|
64
|
+
"esm": "./esm2022/async-search-dropdown/mis-crystal-design-system-async-search-dropdown.mjs",
|
|
65
|
+
"default": "./fesm2022/mis-crystal-design-system-async-search-dropdown.mjs"
|
|
66
66
|
},
|
|
67
67
|
"./daterangepicker_v2": {
|
|
68
68
|
"types": "./daterangepicker_v2/index.d.ts",
|
|
@@ -88,12 +88,6 @@
|
|
|
88
88
|
"esm": "./esm2022/dynamic-form/mis-crystal-design-system-dynamic-form.mjs",
|
|
89
89
|
"default": "./fesm2022/mis-crystal-design-system-dynamic-form.mjs"
|
|
90
90
|
},
|
|
91
|
-
"./dynamic-theme": {
|
|
92
|
-
"types": "./dynamic-theme/index.d.ts",
|
|
93
|
-
"esm2022": "./esm2022/dynamic-theme/mis-crystal-design-system-dynamic-theme.mjs",
|
|
94
|
-
"esm": "./esm2022/dynamic-theme/mis-crystal-design-system-dynamic-theme.mjs",
|
|
95
|
-
"default": "./fesm2022/mis-crystal-design-system-dynamic-theme.mjs"
|
|
96
|
-
},
|
|
97
91
|
"./fab": {
|
|
98
92
|
"types": "./fab/index.d.ts",
|
|
99
93
|
"esm2022": "./esm2022/fab/mis-crystal-design-system-fab.mjs",
|
|
@@ -1,26 +1,24 @@
|
|
|
1
|
-
import { EventEmitter
|
|
1
|
+
import { EventEmitter } from "@angular/core";
|
|
2
2
|
import { FormControl } from "@angular/forms";
|
|
3
3
|
import { DropdownItem } from "mis-crystal-design-system/dropdown";
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class PhoneInputComponent
|
|
6
|
-
dropdownHeight
|
|
7
|
-
dropdownWidth
|
|
8
|
-
inputHeight
|
|
9
|
-
dropdownData: DropdownItem[]
|
|
10
|
-
dropdownSelectedItem: DropdownItem
|
|
11
|
-
label: string
|
|
12
|
-
inputPlaceholder: string
|
|
13
|
-
inputFormControl: FormControl
|
|
5
|
+
export declare class PhoneInputComponent {
|
|
6
|
+
dropdownHeight: import("@angular/core").InputSignal<string>;
|
|
7
|
+
dropdownWidth: import("@angular/core").InputSignal<string>;
|
|
8
|
+
inputHeight: import("@angular/core").InputSignal<string>;
|
|
9
|
+
dropdownData: import("@angular/core").InputSignal<DropdownItem[]>;
|
|
10
|
+
dropdownSelectedItem: import("@angular/core").InputSignal<DropdownItem>;
|
|
11
|
+
label: import("@angular/core").InputSignal<string>;
|
|
12
|
+
inputPlaceholder: import("@angular/core").InputSignal<string>;
|
|
13
|
+
inputFormControl: import("@angular/core").InputSignal<FormControl<any>>;
|
|
14
|
+
dropdownListWidth: import("@angular/core").InputSignal<string>;
|
|
15
|
+
dropdownListHeight: import("@angular/core").InputSignal<string>;
|
|
16
|
+
searchEnabled: import("@angular/core").InputSignal<boolean>;
|
|
17
|
+
inputType: import("@angular/core").InputSignal<string>;
|
|
18
|
+
searchLabel: import("@angular/core").InputSignal<string>;
|
|
14
19
|
onDropdownSelection: EventEmitter<any>;
|
|
15
|
-
dropdownListWidth: any;
|
|
16
|
-
dropdownListHeight: any;
|
|
17
|
-
searchEnabled: boolean;
|
|
18
|
-
inputType: string;
|
|
19
|
-
searchLabel: string;
|
|
20
|
-
constructor();
|
|
21
|
-
ngOnInit(): void;
|
|
22
20
|
handleDropdownSelection(item: DropdownItem): void;
|
|
23
21
|
preventScroll(event: WheelEvent): void;
|
|
24
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<PhoneInputComponent, never>;
|
|
25
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PhoneInputComponent, "mis-phone-input", never, { "dropdownHeight": { "alias": "dropdownHeight"; "required": false; }; "dropdownWidth": { "alias": "dropdownWidth"; "required": false; }; "inputHeight": { "alias": "inputHeight"; "required": false; }; "dropdownData": { "alias": "dropdownData"; "required": false; }; "dropdownSelectedItem": { "alias": "dropdownSelectedItem"; "required": false; }; "label": { "alias": "label"; "required": false; }; "inputPlaceholder": { "alias": "inputPlaceholder"; "required": false; }; "inputFormControl": { "alias": "inputFormControl"; "required": false; }; "dropdownListWidth": { "alias": "dropdownListWidth"; "required": false; }; "dropdownListHeight": { "alias": "dropdownListHeight"; "required": false; }; "searchEnabled": { "alias": "searchEnabled"; "required": false; }; "inputType": { "alias": "inputType"; "required": false; }; "searchLabel": { "alias": "searchLabel"; "required": false; }; }, { "onDropdownSelection": "onDropdownSelection"; }, never, never, false, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PhoneInputComponent, "mis-phone-input", never, { "dropdownHeight": { "alias": "dropdownHeight"; "required": false; "isSignal": true; }; "dropdownWidth": { "alias": "dropdownWidth"; "required": false; "isSignal": true; }; "inputHeight": { "alias": "inputHeight"; "required": false; "isSignal": true; }; "dropdownData": { "alias": "dropdownData"; "required": false; "isSignal": true; }; "dropdownSelectedItem": { "alias": "dropdownSelectedItem"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "inputPlaceholder": { "alias": "inputPlaceholder"; "required": false; "isSignal": true; }; "inputFormControl": { "alias": "inputFormControl"; "required": false; "isSignal": true; }; "dropdownListWidth": { "alias": "dropdownListWidth"; "required": false; "isSignal": true; }; "dropdownListHeight": { "alias": "dropdownListHeight"; "required": false; "isSignal": true; }; "searchEnabled": { "alias": "searchEnabled"; "required": false; "isSignal": true; }; "inputType": { "alias": "inputType"; "required": false; "isSignal": true; }; "searchLabel": { "alias": "searchLabel"; "required": false; "isSignal": true; }; }, { "onDropdownSelection": "onDropdownSelection"; }, never, never, false, never>;
|
|
26
24
|
}
|
|
@@ -1,28 +1,26 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { EventEmitter } from "@angular/core";
|
|
2
2
|
import { AbstractControl } from "@angular/forms";
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class RadioButtonComponent
|
|
4
|
+
export declare class RadioButtonComponent {
|
|
5
5
|
/** When multiple radio input fields are used
|
|
6
6
|
* an "id" can be given to keep track of them */
|
|
7
|
-
id: string | number
|
|
7
|
+
id: import("@angular/core").InputSignal<string | number>;
|
|
8
8
|
/** Name of the attribute for which the radio
|
|
9
9
|
* selection is provided */
|
|
10
|
-
name: string | number
|
|
10
|
+
name: import("@angular/core").InputSignal<string | number>;
|
|
11
11
|
/** Value of the attribute which is to be emitted
|
|
12
12
|
* when selected */
|
|
13
|
-
value: string | number
|
|
13
|
+
value: import("@angular/core").InputSignal<string | number>;
|
|
14
14
|
/** Controls the state of the radio button */
|
|
15
|
-
disabled: boolean
|
|
15
|
+
disabled: import("@angular/core").InputSignal<boolean>;
|
|
16
16
|
/** Can be used to attach the radio input field
|
|
17
17
|
* to a reactive form by passing in a
|
|
18
|
-
*
|
|
18
|
+
* "FormControl" Object. It can also be
|
|
19
19
|
* used to set the default attribute value */
|
|
20
|
-
formControl: AbstractControl
|
|
20
|
+
formControl: import("@angular/core").InputSignal<AbstractControl<any, any>>;
|
|
21
21
|
/** Emits "value" of the radio button on selection */
|
|
22
22
|
valueChange: EventEmitter<any>;
|
|
23
|
-
constructor();
|
|
24
|
-
ngOnInit(): void;
|
|
25
23
|
onChange(event: any): void;
|
|
26
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<RadioButtonComponent, never>;
|
|
27
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RadioButtonComponent, "mis-radio", never, { "id": { "alias": "id"; "required": false; }; "name": { "alias": "name"; "required": false; }; "value": { "alias": "value"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "formControl": { "alias": "formControl"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, false, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RadioButtonComponent, "mis-radio", never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "formControl": { "alias": "formControl"; "required": false; "isSignal": true; }; }, { "valueChange": "valueChange"; }, never, never, false, never>;
|
|
28
26
|
}
|
|
@@ -1,14 +1,11 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
1
|
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class SkeLoaderComponent
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
constructor();
|
|
11
|
-
ngOnInit(): void;
|
|
2
|
+
export declare class SkeLoaderComponent {
|
|
3
|
+
count: import("@angular/core").InputSignal<number>;
|
|
4
|
+
lineHeight: import("@angular/core").InputSignal<string>;
|
|
5
|
+
height: import("@angular/core").InputSignal<string>;
|
|
6
|
+
width: import("@angular/core").InputSignal<string>;
|
|
7
|
+
gap: import("@angular/core").InputSignal<string>;
|
|
8
|
+
rowCount: import("@angular/core").Signal<any[]>;
|
|
12
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<SkeLoaderComponent, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SkeLoaderComponent, "mis-skeleton-loader", never, { "count": { "alias": "count"; "required": false; }; "lineHeight": { "alias": "lineHeight"; "required": false; }; "height": { "alias": "height"; "required": false; }; "width": { "alias": "width"; "required": false; }; "gap": { "alias": "gap"; "required": false; }; }, {}, never, never, false, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SkeLoaderComponent, "mis-skeleton-loader", never, { "count": { "alias": "count"; "required": false; "isSignal": true; }; "lineHeight": { "alias": "lineHeight"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; "gap": { "alias": "gap"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
|
|
14
11
|
}
|
|
@@ -1,16 +1,13 @@
|
|
|
1
|
-
import { EventEmitter,
|
|
2
|
-
import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
|
|
1
|
+
import { EventEmitter, WritableSignal } from '@angular/core';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class SliderComponent
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
value: number;
|
|
3
|
+
export declare class SliderComponent {
|
|
4
|
+
min: import("@angular/core").InputSignal<number>;
|
|
5
|
+
max: import("@angular/core").InputSignal<number>;
|
|
6
|
+
value: import("@angular/core").InputSignal<number>;
|
|
9
7
|
valueChange: EventEmitter<number>;
|
|
10
|
-
|
|
11
|
-
constructor(
|
|
12
|
-
ngOnInit(): void;
|
|
8
|
+
currentValue: WritableSignal<number>;
|
|
9
|
+
constructor();
|
|
13
10
|
onInputChange(value: number): void;
|
|
14
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<SliderComponent, never>;
|
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SliderComponent, "mis-slider", never, { "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, false, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SliderComponent, "mis-slider", never, { "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; }, { "valueChange": "valueChange"; }, never, never, false, never>;
|
|
16
13
|
}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./slider.component";
|
|
3
3
|
import * as i2 from "@angular/common";
|
|
4
|
-
import * as i3 from "@angular/forms";
|
|
5
4
|
export declare class SliderModule {
|
|
6
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<SliderModule, never>;
|
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SliderModule, [typeof i1.SliderComponent], [typeof i2.CommonModule
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SliderModule, [typeof i1.SliderComponent], [typeof i2.CommonModule], [typeof i1.SliderComponent]>;
|
|
8
7
|
static ɵinj: i0.ɵɵInjectorDeclaration<SliderModule>;
|
|
9
8
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
1
|
+
import { EventEmitter, WritableSignal } from '@angular/core';
|
|
2
2
|
import { ISnackBarConfig } from '../snackbar.service';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class SnackbarComponent {
|
|
5
|
-
config: ISnackBarConfig
|
|
5
|
+
config: WritableSignal<ISnackBarConfig | undefined>;
|
|
6
6
|
triggerAction: EventEmitter<void>;
|
|
7
7
|
constructor();
|
|
8
8
|
onActionClick(): void;
|
|
9
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<SnackbarComponent, never>;
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SnackbarComponent, "app-snackbar", never, {
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SnackbarComponent, "app-snackbar", never, {}, { "triggerAction": "triggerAction"; }, never, ["*"], false, never>;
|
|
11
11
|
}
|
|
@@ -1,53 +1,53 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ICurrentMonth, ICurrentMonthDates, IDatePickerData,
|
|
1
|
+
import { OnInit } from "@angular/core";
|
|
2
|
+
import { ICurrentMonth, ICurrentMonthDates, IDatePickerData, ISSelectedDatesConfig, IRSelectedDatesConfig } from "../models/sdp-config.model";
|
|
3
3
|
import { ToastService } from "mis-crystal-design-system/toast";
|
|
4
4
|
import { UntypedFormControl } from "@angular/forms";
|
|
5
5
|
import { TzDatepickerDirective } from "mis-crystal-design-system/datepicker_v2";
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class TzDrpContainerComponent implements OnInit {
|
|
8
|
+
private injectedData;
|
|
8
9
|
private toast;
|
|
9
|
-
|
|
10
|
-
data: IDatePickerData;
|
|
10
|
+
readonly data: import("@angular/core").WritableSignal<IDatePickerData>;
|
|
11
11
|
private dayjsInstance;
|
|
12
|
-
private rawWeekDays;
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
12
|
+
private readonly rawWeekDays;
|
|
13
|
+
readonly localSelectedDates: import("@angular/core").WritableSignal<ISSelectedDatesConfig[]>;
|
|
14
|
+
readonly localSelectedDatesRange: import("@angular/core").WritableSignal<IRSelectedDatesConfig>;
|
|
15
|
+
readonly isDatesValid: import("@angular/core").WritableSignal<boolean>;
|
|
16
|
+
readonly dateRangeSelected: import("@angular/core").WritableSignal<boolean>;
|
|
17
|
+
readonly singleDatePickerSelected: import("@angular/core").WritableSignal<boolean>;
|
|
18
|
+
readonly openElement: import("@angular/core").WritableSignal<boolean>;
|
|
19
|
+
readonly singleDateSelectedValue: import("@angular/core").WritableSignal<string>;
|
|
20
|
+
readonly selectionStarted: import("@angular/core").WritableSignal<boolean>;
|
|
21
|
+
readonly isSpecificPickerSelected: import("@angular/core").WritableSignal<boolean>;
|
|
22
|
+
readonly formControl: UntypedFormControl;
|
|
23
|
+
readonly datePickerValue: import("@angular/core").WritableSignal<string[]>;
|
|
24
|
+
readonly currentMonthNumber: import("@angular/core").WritableSignal<number>;
|
|
25
|
+
readonly currentYearNumber: import("@angular/core").WritableSignal<number>;
|
|
26
|
+
readonly nextMonthNumber: import("@angular/core").WritableSignal<number>;
|
|
27
|
+
readonly nextYearNumber: import("@angular/core").WritableSignal<number>;
|
|
28
|
+
readonly weekDays: import("@angular/core").Signal<{
|
|
29
|
+
label: string;
|
|
30
|
+
isCurrentDay: boolean;
|
|
31
|
+
}[]>;
|
|
32
|
+
readonly currentMonth: import("@angular/core").Signal<ICurrentMonth>;
|
|
33
|
+
readonly nextMonth: import("@angular/core").Signal<ICurrentMonth>;
|
|
34
|
+
readonly todayMonthNumber: import("@angular/core").Signal<number>;
|
|
35
|
+
readonly dateRangeLength: import("@angular/core").Signal<number>;
|
|
36
|
+
readonly isPreviousMonthDisabled: import("@angular/core").Signal<boolean>;
|
|
37
|
+
readonly isNextMonthDisabled: import("@angular/core").Signal<boolean>;
|
|
38
|
+
readonly currentMonthDates: import("@angular/core").Signal<ICurrentMonthDates[]>;
|
|
39
|
+
readonly nextMonthDates: import("@angular/core").Signal<ICurrentMonthDates[]>;
|
|
37
40
|
singleDatePickerElement: TzDatepickerDirective;
|
|
38
|
-
constructor(
|
|
41
|
+
constructor(injectedData: IDatePickerData, toast: ToastService);
|
|
39
42
|
ngOnInit(): void;
|
|
40
|
-
private currentDateInstance;
|
|
41
|
-
private calculateMinMaxDays;
|
|
42
|
-
navigateMonth(direction: "NEXT" | "PREVIOUS"): void;
|
|
43
43
|
private generateDates;
|
|
44
|
+
navigateMonth(direction: "NEXT" | "PREVIOUS"): void;
|
|
44
45
|
selectDay(from: "LEFT" | "RIGHT", day: ICurrentMonthDates): void;
|
|
45
46
|
applyDates(): void;
|
|
46
47
|
applyDatesRange(): void;
|
|
47
|
-
onSingleDateChange(
|
|
48
|
+
onSingleDateChange(event: string): void;
|
|
48
49
|
cancelDatePicker(): void;
|
|
49
50
|
changePicker(event: any): void;
|
|
50
|
-
calculateDateRangeLength(): void;
|
|
51
51
|
ngOnDestroy(): void;
|
|
52
52
|
static ɵfac: i0.ɵɵFactoryDeclaration<TzDrpContainerComponent, never>;
|
|
53
53
|
static ɵcmp: i0.ɵɵComponentDeclaration<TzDrpContainerComponent, "mis-tz-sdp", never, {}, {}, never, never, false, never>;
|
|
@@ -1,43 +1,39 @@
|
|
|
1
1
|
import { Overlay } from "@angular/cdk/overlay";
|
|
2
|
-
import { ElementRef,
|
|
2
|
+
import { ElementRef, ViewContainerRef } from "@angular/core";
|
|
3
3
|
import { NgControl } from "@angular/forms";
|
|
4
4
|
import { ISDatePickerConfig, ISDatePickerToastText, ISSelectedDatesConfig, IRSelectedDatesConfig } from "./models/sdp-config.model";
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class TzSpecificDatepickerDirective {
|
|
7
|
-
private control;
|
|
8
7
|
private element;
|
|
9
8
|
private overlay;
|
|
10
9
|
private viewContainerRef;
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
10
|
+
private control;
|
|
11
|
+
readonly dpConfig: import("@angular/core").InputSignal<ISDatePickerConfig>;
|
|
12
|
+
readonly selectedDates: import("@angular/core").InputSignal<ISSelectedDatesConfig[]>;
|
|
13
|
+
readonly selectedDatesRange: import("@angular/core").InputSignal<IRSelectedDatesConfig>;
|
|
14
|
+
readonly datesDisabled: import("@angular/core").InputSignal<string[]>;
|
|
15
|
+
readonly holidaysDates: import("@angular/core").InputSignal<string[]>;
|
|
16
|
+
readonly weekOffsSelection: import("@angular/core").InputSignal<string[]>;
|
|
17
|
+
readonly dateMessages: import("@angular/core").InputSignal<ISDatePickerToastText[]>;
|
|
18
|
+
readonly positionX: import("@angular/core").InputSignal<"start" | "center" | "end">;
|
|
19
|
+
readonly positionY: import("@angular/core").InputSignal<"center" | "top" | "bottom">;
|
|
20
|
+
readonly offsetX: import("@angular/core").InputSignal<number>;
|
|
21
|
+
readonly offsetY: import("@angular/core").InputSignal<number>;
|
|
22
|
+
readonly isSPickerSelected: import("@angular/core").InputSignal<boolean>;
|
|
23
|
+
readonly isSingleDatePickerEnable: import("@angular/core").InputSignal<boolean>;
|
|
24
|
+
readonly dateChange: import("@angular/core").OutputEmitterRef<ISSelectedDatesConfig[]>;
|
|
25
|
+
readonly dateChangeRange: import("@angular/core").OutputEmitterRef<IRSelectedDatesConfig>;
|
|
26
|
+
private readonly isOpen;
|
|
24
27
|
private overlayRef;
|
|
25
|
-
|
|
26
|
-
dateChangeRange: EventEmitter<IRSelectedDatesConfig>;
|
|
27
|
-
private isOpen;
|
|
28
|
-
dates: ISSelectedDatesConfig[];
|
|
29
|
-
datesRange: IRSelectedDatesConfig;
|
|
30
|
-
weekOffs: string[];
|
|
31
|
-
private dpDisabledDates;
|
|
32
|
-
private dpHolidays;
|
|
33
|
-
constructor(control: NgControl, element: ElementRef, overlay: Overlay, viewContainerRef: ViewContainerRef);
|
|
28
|
+
constructor(element: ElementRef, overlay: Overlay, viewContainerRef: ViewContainerRef, control: NgControl);
|
|
34
29
|
toggleDatePicker(): void;
|
|
30
|
+
toggleDatePickerOnEnter(): void;
|
|
31
|
+
closeOnEsc(): void;
|
|
35
32
|
private open;
|
|
36
|
-
updateOverlayPosition
|
|
33
|
+
private updateOverlayPosition;
|
|
37
34
|
applyDate(dates: ISSelectedDatesConfig[]): void;
|
|
38
35
|
applyDateRange(dates: IRSelectedDatesConfig): void;
|
|
39
36
|
close(): void;
|
|
40
|
-
|
|
41
|
-
static
|
|
42
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TzSpecificDatepickerDirective, "input[misTzSdp]", never, { "dpConfig": { "alias": "dpConfig"; "required": false; }; "selectedDates": { "alias": "selectedDates"; "required": false; }; "selectedDatesRange": { "alias": "selectedDatesRange"; "required": false; }; "datesDisabled": { "alias": "datesDisabled"; "required": false; }; "holidaysDates": { "alias": "holidaysDates"; "required": false; }; "weekOffsSelection": { "alias": "weekOffsSelection"; "required": false; }; "dateMessages": { "alias": "dateMessages"; "required": false; }; "positionX": { "alias": "positionX"; "required": false; }; "positionY": { "alias": "positionY"; "required": false; }; "offsetX": { "alias": "offsetX"; "required": false; }; "offsetY": { "alias": "offsetY"; "required": false; }; "isSPickerSelected": { "alias": "isSPickerSelected"; "required": false; }; "isSingleDatePickerEnable": { "alias": "isSingleDatePickerEnable"; "required": false; }; }, { "dateChange": "dateChange"; "dateChangeRange": "dateChangeRange"; }, never, never, false, never>;
|
|
37
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TzSpecificDatepickerDirective, [null, null, null, { optional: true; }]>;
|
|
38
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TzSpecificDatepickerDirective, "input[misTzSdp]", never, { "dpConfig": { "alias": "dpConfig"; "required": false; "isSignal": true; }; "selectedDates": { "alias": "selectedDates"; "required": false; "isSignal": true; }; "selectedDatesRange": { "alias": "selectedDatesRange"; "required": false; "isSignal": true; }; "datesDisabled": { "alias": "datesDisabled"; "required": false; "isSignal": true; }; "holidaysDates": { "alias": "holidaysDates"; "required": false; "isSignal": true; }; "weekOffsSelection": { "alias": "weekOffsSelection"; "required": false; "isSignal": true; }; "dateMessages": { "alias": "dateMessages"; "required": false; "isSignal": true; }; "positionX": { "alias": "positionX"; "required": false; "isSignal": true; }; "positionY": { "alias": "positionY"; "required": false; "isSignal": true; }; "offsetX": { "alias": "offsetX"; "required": false; "isSignal": true; }; "offsetY": { "alias": "offsetY"; "required": false; "isSignal": true; }; "isSPickerSelected": { "alias": "isSPickerSelected"; "required": false; "isSignal": true; }; "isSingleDatePickerEnable": { "alias": "isSingleDatePickerEnable"; "required": false; "isSignal": true; }; }, { "dateChange": "dateChange"; "dateChangeRange": "dateChangeRange"; }, never, never, false, never>;
|
|
43
39
|
}
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { OnInit
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class StarRatingComponent implements OnInit
|
|
4
|
-
noOfStars: number
|
|
5
|
-
selectedRating: number
|
|
6
|
-
selectedStarSvg: string
|
|
7
|
-
emptyStarSvg: string
|
|
8
|
-
starHeight: string
|
|
9
|
-
starWidth: string
|
|
10
|
-
starSelectionAllowed: boolean
|
|
11
|
-
starHoverAllowed: boolean
|
|
12
|
-
starRated:
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
constructor();
|
|
3
|
+
export declare class StarRatingComponent implements OnInit {
|
|
4
|
+
noOfStars: import("@angular/core").InputSignal<number>;
|
|
5
|
+
selectedRating: import("@angular/core").InputSignal<number>;
|
|
6
|
+
selectedStarSvg: import("@angular/core").InputSignal<string>;
|
|
7
|
+
emptyStarSvg: import("@angular/core").InputSignal<string>;
|
|
8
|
+
starHeight: import("@angular/core").InputSignal<string>;
|
|
9
|
+
starWidth: import("@angular/core").InputSignal<string>;
|
|
10
|
+
starSelectionAllowed: import("@angular/core").InputSignal<boolean>;
|
|
11
|
+
starHoverAllowed: import("@angular/core").InputSignal<boolean>;
|
|
12
|
+
starRated: import("@angular/core").OutputEmitterRef<number>;
|
|
13
|
+
private _hoverIndex;
|
|
14
|
+
private _selectedRating;
|
|
16
15
|
ngOnInit(): void;
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
starMouseOver(index:
|
|
16
|
+
constructor();
|
|
17
|
+
starData: import("@angular/core").Signal<STAR_DATA[]>;
|
|
18
|
+
starMouseOver(index: number): void;
|
|
20
19
|
starMouseLeave(): void;
|
|
21
20
|
selectedStarData(index: number): void;
|
|
21
|
+
trackById(_: number, item: STAR_DATA): number;
|
|
22
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<StarRatingComponent, never>;
|
|
23
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<StarRatingComponent, "mis-star-rating", never, { "noOfStars": { "alias": "noOfStars"; "required": false; }; "selectedRating": { "alias": "selectedRating"; "required": false; }; "selectedStarSvg": { "alias": "selectedStarSvg"; "required": false; }; "emptyStarSvg": { "alias": "emptyStarSvg"; "required": false; }; "starHeight": { "alias": "starHeight"; "required": false; }; "starWidth": { "alias": "starWidth"; "required": false; }; "starSelectionAllowed": { "alias": "starSelectionAllowed"; "required": false; }; "starHoverAllowed": { "alias": "starHoverAllowed"; "required": false; }; }, { "starRated": "starRated"; }, never, never, false, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StarRatingComponent, "mis-star-rating", never, { "noOfStars": { "alias": "noOfStars"; "required": false; "isSignal": true; }; "selectedRating": { "alias": "selectedRating"; "required": false; "isSignal": true; }; "selectedStarSvg": { "alias": "selectedStarSvg"; "required": false; "isSignal": true; }; "emptyStarSvg": { "alias": "emptyStarSvg"; "required": false; "isSignal": true; }; "starHeight": { "alias": "starHeight"; "required": false; "isSignal": true; }; "starWidth": { "alias": "starWidth"; "required": false; "isSignal": true; }; "starSelectionAllowed": { "alias": "starSelectionAllowed"; "required": false; "isSignal": true; }; "starHoverAllowed": { "alias": "starHoverAllowed"; "required": false; "isSignal": true; }; }, { "starRated": "starRated"; }, never, never, false, never>;
|
|
24
24
|
}
|
|
25
25
|
export interface STAR_DATA {
|
|
26
26
|
id: number;
|