mis-crystal-design-system 18.0.24 → 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/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/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 +112 -89
- package/esm2022/async-search-dropdown/async-dropdown.component.mjs +256 -326
- package/esm2022/button/button.component.mjs +55 -48
- 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 +202 -172
- 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 +282 -235
- 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 +162 -186
- package/esm2022/dynamic-form/dynamic-form.component.mjs +118 -72
- package/esm2022/fab/fab.component.mjs +29 -33
- package/esm2022/filter/filter-panel/filter-panel.component.mjs +60 -58
- package/esm2022/input/directives/input/input.directive.mjs +22 -26
- package/esm2022/input/mis-input.component.mjs +41 -45
- package/esm2022/input-stepper/input-stepper/input-stepper.component.mjs +40 -50
- package/esm2022/loader/loader.component.mjs +8 -11
- package/esm2022/mobile-filter/mobile-filter.component.mjs +61 -61
- 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/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 +230 -343
- package/esm2022/specificdatepicker/tz-specificdatepicker.directive.mjs +77 -105
- package/esm2022/star-rating/star-rating.component.mjs +57 -71
- package/esm2022/switch/switch.component.mjs +34 -36
- package/esm2022/table/actions-cell/actions-cell.component.mjs +55 -54
- 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 +41 -44
- package/esm2022/table/table.component.mjs +181 -165
- package/esm2022/timepicker/timepicker.component.mjs +244 -159
- package/esm2022/timepicker/timepicker.directive.mjs +3 -2
- package/esm2022/timerangepicker/timerangepicker.component.mjs +200 -159
- package/esm2022/toast/toast.component.mjs +6 -7
- 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 +111 -88
- package/fesm2022/mis-crystal-design-system-action-list.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-async-search-dropdown.mjs +253 -324
- package/fesm2022/mis-crystal-design-system-async-search-dropdown.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-button.mjs +88 -85
- 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 +242 -240
- package/fesm2022/mis-crystal-design-system-datepicker_v2.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-daterangepicker_v2.mjs +305 -283
- 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 +183 -204
- package/fesm2022/mis-crystal-design-system-dropdown.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-dynamic-form.mjs +118 -72
- package/fesm2022/mis-crystal-design-system-dynamic-form.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-fab.mjs +28 -32
- package/fesm2022/mis-crystal-design-system-fab.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-filter.mjs +59 -57
- package/fesm2022/mis-crystal-design-system-filter.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-input-stepper.mjs +39 -49
- 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 +60 -60
- 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 +304 -445
- package/fesm2022/mis-crystal-design-system-specificdatepicker.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-star-rating.mjs +56 -70
- 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 +365 -321
- package/fesm2022/mis-crystal-design-system-table.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-timepicker.mjs +245 -159
- 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 +18 -13
- 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/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-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/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 -17
- 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/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
|
@@ -1,23 +1,25 @@
|
|
|
1
1
|
import { Overlay } from "@angular/cdk/overlay";
|
|
2
|
-
import { ElementRef,
|
|
2
|
+
import { ElementRef, OnInit, TemplateRef, ViewContainerRef } from "@angular/core";
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class ActionListComponent implements OnInit {
|
|
5
5
|
private eRef;
|
|
6
6
|
private overlay;
|
|
7
7
|
private viewContainerRef;
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
8
|
+
data: import("@angular/core").InputSignal<ActionItems[]>;
|
|
9
|
+
height: import("@angular/core").InputSignal<string>;
|
|
10
|
+
width: import("@angular/core").InputSignal<string>;
|
|
11
|
+
label: import("@angular/core").InputSignal<string>;
|
|
12
|
+
dropdownListHeight: import("@angular/core").InputSignal<string>;
|
|
13
|
+
dropdownListWidth: import("@angular/core").InputSignal<string>;
|
|
14
|
+
dropdownListPosition: import("@angular/core").InputSignal<"Left" | "Right">;
|
|
15
|
+
searchEnabled: import("@angular/core").InputSignal<boolean>;
|
|
16
|
+
noDataMessage: import("@angular/core").InputSignal<string>;
|
|
17
|
+
onChange: import("@angular/core").OutputEmitterRef<any>;
|
|
18
|
+
isOpen: import("@angular/core").WritableSignal<boolean>;
|
|
19
|
+
subItems: import("@angular/core").WritableSignal<ActionItem[]>;
|
|
20
|
+
selectedItems: import("@angular/core").WritableSignal<ActionItem[]>;
|
|
21
|
+
internalData: import("@angular/core").WritableSignal<ActionItems[]>;
|
|
22
|
+
internalLabel: import("@angular/core").WritableSignal<string>;
|
|
21
23
|
selectElement: ElementRef;
|
|
22
24
|
popupContainer: TemplateRef<Element>;
|
|
23
25
|
subPopupContainer: TemplateRef<Element>;
|
|
@@ -32,7 +34,7 @@ export declare class ActionListComponent implements OnInit {
|
|
|
32
34
|
onHover(item: ActionItem, isHovered: any, element?: any): void;
|
|
33
35
|
onCancel(): void;
|
|
34
36
|
static ɵfac: i0.ɵɵFactoryDeclaration<ActionListComponent, never>;
|
|
35
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ActionListComponent, "mis-action-list", never, { "data": { "alias": "data"; "required": false; }; "height": { "alias": "height"; "required": false; }; "width": { "alias": "width"; "required": false; }; "label": { "alias": "label"; "required": false; }; "dropdownListHeight": { "alias": "dropdownListHeight"; "required": false; }; "dropdownListWidth": { "alias": "dropdownListWidth"; "required": false; }; "dropdownListPosition": { "alias": "dropdownListPosition"; "required": false; }; "searchEnabled": { "alias": "searchEnabled"; "required": false; }; "noDataMessage": { "alias": "noDataMessage"; "required": false; }; }, { "onChange": "onChange"; }, never, never, false, never>;
|
|
37
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ActionListComponent, "mis-action-list", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "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; }; "noDataMessage": { "alias": "noDataMessage"; "required": false; "isSignal": true; }; }, { "onChange": "onChange"; }, never, never, false, never>;
|
|
36
38
|
}
|
|
37
39
|
export interface ActionItems {
|
|
38
40
|
label: ActionItemLabel | string;
|
|
@@ -1,87 +1,69 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { Observable, Subscription } from "rxjs";
|
|
1
|
+
import { ElementRef, Injector, NgZone, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
2
|
+
import { AbstractControl, UntypedFormControl } from '@angular/forms';
|
|
3
|
+
import { Overlay } from '@angular/cdk/overlay';
|
|
5
4
|
import * as i0 from "@angular/core";
|
|
6
5
|
type IListData = any;
|
|
7
|
-
export declare class AsyncDropdownComponent
|
|
6
|
+
export declare class AsyncDropdownComponent {
|
|
8
7
|
private overlay;
|
|
9
8
|
private viewContainerRef;
|
|
10
9
|
private _ngZone;
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
10
|
+
private injector;
|
|
11
|
+
constructor(overlay: Overlay, viewContainerRef: ViewContainerRef, _ngZone: NgZone, injector: Injector);
|
|
12
|
+
height: import("@angular/core").InputSignal<string>;
|
|
13
|
+
width: import("@angular/core").InputSignal<string>;
|
|
14
|
+
size: import("@angular/core").InputSignal<"md" | "sm">;
|
|
15
|
+
httpStream: import("@angular/core").InputSignal<(searchKey: string) => any>;
|
|
16
|
+
displayKey: import("@angular/core").InputSignal<string>;
|
|
17
|
+
secondaryDisplayKey: import("@angular/core").InputSignal<string>;
|
|
18
|
+
placeholder: import("@angular/core").InputSignal<string>;
|
|
19
|
+
debounceTime: import("@angular/core").InputSignal<number>;
|
|
20
|
+
minInputLength: import("@angular/core").InputSignal<number>;
|
|
21
|
+
multi: import("@angular/core").InputSignal<boolean>;
|
|
22
|
+
uniqueKey: import("@angular/core").InputSignal<string>;
|
|
23
|
+
control: import("@angular/core").InputSignal<AbstractControl<any, any>>;
|
|
24
|
+
disabled: import("@angular/core").InputSignal<boolean>;
|
|
25
|
+
readonly: import("@angular/core").InputSignal<boolean>;
|
|
26
|
+
disableCopyPaste: import("@angular/core").InputSignal<boolean>;
|
|
27
|
+
dropdownListWidth: import("@angular/core").InputSignal<string>;
|
|
28
|
+
dropdownListPosition: import("@angular/core").InputSignal<"Left" | "Right">;
|
|
29
|
+
customPlaceholderIcon: import("@angular/core").InputSignal<string>;
|
|
30
|
+
selections: import("@angular/core").InputSignal<Map<string, any>>;
|
|
31
|
+
searchValue: import("@angular/core").InputSignal<string>;
|
|
32
|
+
onSelect: import("@angular/core").OutputEmitterRef<any>;
|
|
33
|
+
searchQueryChange: import("@angular/core").OutputEmitterRef<string>;
|
|
34
|
+
clear: import("@angular/core").OutputEmitterRef<boolean>;
|
|
35
|
+
itemSelected: import("@angular/core").OutputEmitterRef<any>;
|
|
36
|
+
itemRemoved: import("@angular/core").OutputEmitterRef<any>;
|
|
30
37
|
origin: ElementRef;
|
|
31
|
-
|
|
38
|
+
inputRef: ElementRef;
|
|
32
39
|
dd: TemplateRef<Element>;
|
|
33
40
|
customItem: TemplateRef<Element>;
|
|
34
41
|
customLoader: TemplateRef<Element>;
|
|
35
|
-
onSelect: EventEmitter<IListData | IListData[]>;
|
|
36
42
|
searchInput: UntypedFormControl;
|
|
37
|
-
data: IListData[];
|
|
38
|
-
opened: boolean;
|
|
39
|
-
loading: boolean;
|
|
40
|
-
error: boolean;
|
|
41
|
-
openPopUpOnTab: boolean;
|
|
42
|
-
selections: Map<string, any>;
|
|
43
43
|
private httpStreamTrigger;
|
|
44
|
-
private
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
itemSelected: EventEmitter<any>;
|
|
52
|
-
itemRemoved: EventEmitter<any>;
|
|
44
|
+
private overlayRef?;
|
|
45
|
+
opened: import("@angular/core").WritableSignal<boolean>;
|
|
46
|
+
loading: import("@angular/core").WritableSignal<boolean>;
|
|
47
|
+
error: import("@angular/core").WritableSignal<boolean>;
|
|
48
|
+
openPopUpOnTab: import("@angular/core").WritableSignal<boolean>;
|
|
49
|
+
data: import("@angular/core").WritableSignal<any[]>;
|
|
50
|
+
private searchEffect;
|
|
53
51
|
ngOnInit(): void;
|
|
54
|
-
|
|
55
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
52
|
+
ngOnChanges(): void;
|
|
56
53
|
ngOnDestroy(): void;
|
|
54
|
+
refreshHttpStream(query: string): void;
|
|
57
55
|
private handleControlChanges;
|
|
58
56
|
private openDropdown;
|
|
59
|
-
/**
|
|
60
|
-
* closes the dropdown
|
|
61
|
-
*/
|
|
62
57
|
closeDropdown(): void;
|
|
63
58
|
enablePopUpOnTab(): void;
|
|
64
59
|
handleKeyDown(event: KeyboardEvent): void;
|
|
65
|
-
/**
|
|
66
|
-
*
|
|
67
|
-
* @param item item to select
|
|
68
|
-
* if item property disabled is set to true, selection will be disabled
|
|
69
|
-
* @param effectedFromOutside set to true if calling from parent component, if true will focus on search input
|
|
70
|
-
*/
|
|
71
60
|
selectData(item: IListData, effectedFromOutside?: boolean): void;
|
|
72
|
-
/**
|
|
73
|
-
*
|
|
74
|
-
* @param item remove item from selected list
|
|
75
|
-
*/
|
|
76
61
|
removeItem(item: IListData): void;
|
|
77
62
|
private setControlValue;
|
|
78
|
-
|
|
79
|
-
* @returns list of selected items
|
|
80
|
-
*/
|
|
81
|
-
get selectedItems(): Array<IListData>;
|
|
63
|
+
get selectedItems(): any[];
|
|
82
64
|
removeInputValue(): void;
|
|
83
65
|
defaultCall(): void;
|
|
84
66
|
static ɵfac: i0.ɵɵFactoryDeclaration<AsyncDropdownComponent, never>;
|
|
85
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AsyncDropdownComponent, "mis-async-search-dropdown", never, { "height": { "alias": "height"; "required": false; }; "width": { "alias": "width"; "required": false; }; "size": { "alias": "size"; "required": false; }; "httpStream": { "alias": "httpStream"; "required":
|
|
67
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AsyncDropdownComponent, "mis-async-search-dropdown", never, { "height": { "alias": "height"; "required": false; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "httpStream": { "alias": "httpStream"; "required": true; "isSignal": true; }; "displayKey": { "alias": "displayKey"; "required": true; "isSignal": true; }; "secondaryDisplayKey": { "alias": "secondaryDisplayKey"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "debounceTime": { "alias": "debounceTime"; "required": false; "isSignal": true; }; "minInputLength": { "alias": "minInputLength"; "required": false; "isSignal": true; }; "multi": { "alias": "multi"; "required": false; "isSignal": true; }; "uniqueKey": { "alias": "uniqueKey"; "required": false; "isSignal": true; }; "control": { "alias": "control"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "disableCopyPaste": { "alias": "disableCopyPaste"; "required": false; "isSignal": true; }; "dropdownListWidth": { "alias": "dropdownListWidth"; "required": false; "isSignal": true; }; "dropdownListPosition": { "alias": "dropdownListPosition"; "required": false; "isSignal": true; }; "customPlaceholderIcon": { "alias": "customPlaceholderIcon"; "required": false; "isSignal": true; }; "selections": { "alias": "selections"; "required": false; "isSignal": true; }; "searchValue": { "alias": "searchValue"; "required": false; "isSignal": true; }; }, { "onSelect": "onSelect"; "searchQueryChange": "searchQueryChange"; "clear": "clear"; "itemSelected": "itemSelected"; "itemRemoved": "itemRemoved"; }, ["customItem", "customLoader"], never, false, never>;
|
|
86
68
|
}
|
|
87
69
|
export {};
|
|
@@ -1,22 +1,44 @@
|
|
|
1
1
|
import { OnInit, EventEmitter } from "@angular/core";
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class ButtonComponent implements OnInit {
|
|
4
|
-
name: string
|
|
5
|
-
type: "Solid" | "Outline" | "Text"
|
|
6
|
-
size: "Small" | "Medium" | "Large" | "Small-M" | "Large-M"
|
|
7
|
-
width: string
|
|
8
|
-
showIcon: boolean
|
|
9
|
-
iconUrl: string
|
|
10
|
-
iconPosition: "Left" | "Right"
|
|
11
|
-
disabled: boolean
|
|
12
|
-
disableLeftBorderRadius: boolean
|
|
13
|
-
disableRightBorderRadius: boolean
|
|
14
|
-
showLoader: boolean
|
|
15
|
-
|
|
4
|
+
name: import("@angular/core").InputSignal<string>;
|
|
5
|
+
type: import("@angular/core").InputSignal<"Solid" | "Outline" | "Text">;
|
|
6
|
+
size: import("@angular/core").InputSignal<"Small" | "Medium" | "Large" | "Small-M" | "Large-M">;
|
|
7
|
+
width: import("@angular/core").InputSignal<string>;
|
|
8
|
+
showIcon: import("@angular/core").InputSignal<boolean>;
|
|
9
|
+
iconUrl: import("@angular/core").InputSignal<string>;
|
|
10
|
+
iconPosition: import("@angular/core").InputSignal<"Left" | "Right">;
|
|
11
|
+
disabled: import("@angular/core").InputSignal<boolean>;
|
|
12
|
+
disableLeftBorderRadius: import("@angular/core").InputSignal<boolean>;
|
|
13
|
+
disableRightBorderRadius: import("@angular/core").InputSignal<boolean>;
|
|
14
|
+
showLoader: import("@angular/core").InputSignal<boolean>;
|
|
15
|
+
readonly classes: import("@angular/core").Signal<{
|
|
16
|
+
solid: boolean;
|
|
17
|
+
outline: boolean;
|
|
18
|
+
text: boolean;
|
|
19
|
+
large: boolean;
|
|
20
|
+
medium: boolean;
|
|
21
|
+
small: boolean;
|
|
22
|
+
'large-mobile': boolean;
|
|
23
|
+
'small-mobile': boolean;
|
|
24
|
+
loading: boolean;
|
|
25
|
+
}>;
|
|
26
|
+
readonly styles: import("@angular/core").Signal<{
|
|
27
|
+
'border-top-left-radius': string;
|
|
28
|
+
'border-bottom-left-radius': string;
|
|
29
|
+
'border-top-right-radius': string;
|
|
30
|
+
'border-bottom-right-radius': string;
|
|
31
|
+
width: string;
|
|
32
|
+
}>;
|
|
33
|
+
readonly showLeftIcon: import("@angular/core").Signal<boolean>;
|
|
34
|
+
readonly showRightIcon: import("@angular/core").Signal<boolean>;
|
|
35
|
+
readonly showSpinner: import("@angular/core").Signal<boolean>;
|
|
36
|
+
readonly isDisabled: import("@angular/core").Signal<boolean>;
|
|
37
|
+
hostDisabled: boolean;
|
|
16
38
|
click: EventEmitter<any>;
|
|
17
39
|
constructor();
|
|
18
40
|
ngOnInit(): void;
|
|
19
41
|
onClick(event: any): void;
|
|
20
42
|
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonComponent, never>;
|
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "mis-button", never, { "name": { "alias": "name"; "required": false; }; "type": { "alias": "type"; "required": false; }; "size": { "alias": "size"; "required": false; }; "width": { "alias": "width"; "required": false; }; "showIcon": { "alias": "showIcon"; "required": false; }; "iconUrl": { "alias": "iconUrl"; "required": false; }; "iconPosition": { "alias": "iconPosition"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "disableLeftBorderRadius": { "alias": "disableLeftBorderRadius"; "required": false; }; "disableRightBorderRadius": { "alias": "disableRightBorderRadius"; "required": false; }; "showLoader": { "alias": "showLoader"; "required": false; }; }, { "click": "click"; }, never, never, false, never>;
|
|
43
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "mis-button", never, { "name": { "alias": "name"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; "showIcon": { "alias": "showIcon"; "required": false; "isSignal": true; }; "iconUrl": { "alias": "iconUrl"; "required": false; "isSignal": true; }; "iconPosition": { "alias": "iconPosition"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "disableLeftBorderRadius": { "alias": "disableLeftBorderRadius"; "required": false; "isSignal": true; }; "disableRightBorderRadius": { "alias": "disableRightBorderRadius"; "required": false; "isSignal": true; }; "showLoader": { "alias": "showLoader"; "required": false; "isSignal": true; }; }, { "click": "click"; }, never, never, false, never>;
|
|
22
44
|
}
|
|
@@ -1,15 +1,17 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ElementRef, Renderer2 } from "@angular/core";
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class ButtonDirective
|
|
3
|
+
export declare class ButtonDirective {
|
|
4
4
|
private el;
|
|
5
5
|
private renderer;
|
|
6
|
-
type: "
|
|
7
|
-
size: "sm" | "md" | "lg"
|
|
6
|
+
type: import("@angular/core").InputSignal<"outline" | "primary" | "none">;
|
|
7
|
+
size: import("@angular/core").InputSignal<"sm" | "md" | "lg">;
|
|
8
8
|
elementClass: string;
|
|
9
|
+
private previousTypeClass;
|
|
10
|
+
private previousSizeClass;
|
|
9
11
|
constructor(el: ElementRef, renderer: Renderer2);
|
|
10
|
-
|
|
11
|
-
private
|
|
12
|
-
private
|
|
12
|
+
private updateClass;
|
|
13
|
+
private typeClassMap;
|
|
14
|
+
private sizeClassMap;
|
|
13
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonDirective, never>;
|
|
14
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ButtonDirective, "[mis-button]", never, { "type": { "alias": "type"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, {}, never, never, false, never>;
|
|
16
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ButtonDirective, "[mis-button]", never, { "type": { "alias": "type"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
|
|
15
17
|
}
|
|
@@ -1,23 +1,26 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { EventEmitter, ElementRef, WritableSignal } from "@angular/core";
|
|
2
2
|
import { AbstractControl } from "@angular/forms";
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class CheckboxComponent
|
|
5
|
-
isError: boolean
|
|
6
|
-
isIndeterminate: boolean
|
|
4
|
+
export declare class CheckboxComponent {
|
|
5
|
+
isError: WritableSignal<boolean>;
|
|
6
|
+
isIndeterminate: WritableSignal<boolean>;
|
|
7
|
+
isChecked: WritableSignal<boolean>;
|
|
8
|
+
isDisabled: WritableSignal<boolean>;
|
|
7
9
|
inputBox: ElementRef;
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
name: string
|
|
13
|
-
formControl: AbstractControl
|
|
10
|
+
type: import("@angular/core").InputSignal<"Default" | "Error">;
|
|
11
|
+
indeterminate: import("@angular/core").InputSignal<boolean>;
|
|
12
|
+
checked: import("@angular/core").InputSignal<boolean>;
|
|
13
|
+
disabled: import("@angular/core").InputSignal<boolean>;
|
|
14
|
+
name: import("@angular/core").InputSignal<string>;
|
|
15
|
+
formControl: import("@angular/core").InputSignal<AbstractControl<any, any>>;
|
|
14
16
|
valueChange: EventEmitter<{
|
|
15
17
|
name: string;
|
|
16
18
|
value: boolean;
|
|
17
19
|
}>;
|
|
18
20
|
constructor();
|
|
19
|
-
ngOnInit(): void;
|
|
20
21
|
toggleState(): void;
|
|
22
|
+
get isErrorComputed(): boolean;
|
|
23
|
+
get isDisabledComputed(): boolean;
|
|
21
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxComponent, never>;
|
|
22
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxComponent, "mis-checkbox", never, { "type": { "alias": "type"; "required": false; }; "indeterminate": { "alias": "indeterminate"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "name": { "alias": "name"; "required": false; }; "formControl": { "alias": "formControl"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, false, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxComponent, "mis-checkbox", never, { "type": { "alias": "type"; "required": false; "isSignal": true; }; "indeterminate": { "alias": "indeterminate"; "required": false; "isSignal": true; }; "checked": { "alias": "checked"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "formControl": { "alias": "formControl"; "required": false; "isSignal": true; }; }, { "valueChange": "valueChange"; }, never, never, false, never>;
|
|
23
26
|
}
|
package/chip/chip.component.d.ts
CHANGED
|
@@ -1,15 +1,13 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { EventEmitter } from "@angular/core";
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class ChipComponent
|
|
4
|
-
label: string
|
|
5
|
-
value: any
|
|
6
|
-
size: "Small" | "Medium" | "Small-M" | "Medium-M"
|
|
7
|
-
iconUrl: string
|
|
8
|
-
count: number
|
|
9
|
-
dismissible: boolean
|
|
3
|
+
export declare class ChipComponent {
|
|
4
|
+
label: import("@angular/core").InputSignal<string>;
|
|
5
|
+
value: import("@angular/core").InputSignal<any>;
|
|
6
|
+
size: import("@angular/core").InputSignal<"Small" | "Medium" | "Small-M" | "Medium-M">;
|
|
7
|
+
iconUrl: import("@angular/core").InputSignal<string>;
|
|
8
|
+
count: import("@angular/core").InputSignal<number>;
|
|
9
|
+
dismissible: import("@angular/core").InputSignal<boolean>;
|
|
10
10
|
cancel: EventEmitter<any>;
|
|
11
|
-
constructor();
|
|
12
|
-
ngOnInit(): void;
|
|
13
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<ChipComponent, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ChipComponent, "mis-chip", never, { "label": { "alias": "label"; "required": false; }; "value": { "alias": "value"; "required": false; }; "size": { "alias": "size"; "required": false; }; "iconUrl": { "alias": "iconUrl"; "required": false; }; "count": { "alias": "count"; "required": false; }; "dismissible": { "alias": "dismissible"; "required": false; }; }, { "cancel": "cancel"; }, never, never, false, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ChipComponent, "mis-chip", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "iconUrl": { "alias": "iconUrl"; "required": false; "isSignal": true; }; "count": { "alias": "count"; "required": false; "isSignal": true; }; "dismissible": { "alias": "dismissible"; "required": false; "isSignal": true; }; }, { "cancel": "cancel"; }, never, never, false, never>;
|
|
15
13
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Overlay } from "@angular/cdk/overlay";
|
|
2
|
-
import { ElementRef,
|
|
2
|
+
import { ElementRef, OnInit, ViewContainerRef } from "@angular/core";
|
|
3
3
|
import { NgControl } from "@angular/forms";
|
|
4
4
|
import { IDatePickerConfig, IDatePickerToastText } from "./models/dp-config.model";
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
@@ -8,25 +8,22 @@ export declare class TzDatepickerDirective implements OnInit {
|
|
|
8
8
|
private element;
|
|
9
9
|
private overlay;
|
|
10
10
|
private viewContainerRef;
|
|
11
|
-
dpConfig: Partial<IDatePickerConfig
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
dateMessages: IDatePickerToastText[]
|
|
15
|
-
positionX: "start" | "center" | "end"
|
|
16
|
-
positionY: "
|
|
17
|
-
offsetX: number
|
|
18
|
-
offsetY: number
|
|
19
|
-
allowBookingOnDisabledDay: boolean
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
11
|
+
dpConfig: import("@angular/core").InputSignal<Partial<IDatePickerConfig>>;
|
|
12
|
+
selectedDate: import("@angular/core").InputSignal<string>;
|
|
13
|
+
datesDisabled: import("@angular/core").InputSignal<string[]>;
|
|
14
|
+
dateMessages: import("@angular/core").InputSignal<IDatePickerToastText[]>;
|
|
15
|
+
positionX: import("@angular/core").InputSignal<"start" | "center" | "end">;
|
|
16
|
+
positionY: import("@angular/core").InputSignal<"center" | "top" | "bottom">;
|
|
17
|
+
offsetX: import("@angular/core").InputSignal<number>;
|
|
18
|
+
offsetY: import("@angular/core").InputSignal<number>;
|
|
19
|
+
allowBookingOnDisabledDay: import("@angular/core").InputSignal<boolean>;
|
|
20
|
+
disableBoxShadow: import("@angular/core").InputSignal<boolean>;
|
|
21
|
+
disableOverLay: import("@angular/core").InputSignal<boolean>;
|
|
22
|
+
openElement: import("@angular/core").InputSignal<boolean>;
|
|
23
|
+
dateChange: import("@angular/core").OutputEmitterRef<string>;
|
|
24
24
|
private overlayRef;
|
|
25
25
|
private isOpen;
|
|
26
|
-
date: string;
|
|
27
|
-
private dpDisabledDates;
|
|
28
26
|
constructor(control: NgControl, element: ElementRef, overlay: Overlay, viewContainerRef: ViewContainerRef);
|
|
29
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
30
27
|
ngOnInit(): void;
|
|
31
28
|
toggleDatePicker(): void;
|
|
32
29
|
toggleDatePickerOnEnter(): void;
|
|
@@ -35,5 +32,5 @@ export declare class TzDatepickerDirective implements OnInit {
|
|
|
35
32
|
applyDate(date?: string): void;
|
|
36
33
|
close(): void;
|
|
37
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<TzDatepickerDirective, [{ optional: true; self: true; }, null, null, null]>;
|
|
38
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TzDatepickerDirective, "input[misTzDp]", never, { "dpConfig": { "alias": "dpConfig"; "required": false; }; "selectedDate": { "alias": "selectedDate"; "required": false; }; "datesDisabled": { "alias": "datesDisabled"; "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; }; "allowBookingOnDisabledDay": { "alias": "allowBookingOnDisabledDay"; "required": false; }; "disableBoxShadow": { "alias": "disableBoxShadow"; "required": false; }; "disableOverLay": { "alias": "disableOverLay"; "required": false; }; "openElement": { "alias": "openElement"; "required": false; }; }, { "dateChange": "dateChange"; }, never, never, false, never>;
|
|
35
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TzDatepickerDirective, "input[misTzDp]", never, { "dpConfig": { "alias": "dpConfig"; "required": false; "isSignal": true; }; "selectedDate": { "alias": "selectedDate"; "required": false; "isSignal": true; }; "datesDisabled": { "alias": "datesDisabled"; "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; }; "allowBookingOnDisabledDay": { "alias": "allowBookingOnDisabledDay"; "required": false; "isSignal": true; }; "disableBoxShadow": { "alias": "disableBoxShadow"; "required": false; "isSignal": true; }; "disableOverLay": { "alias": "disableOverLay"; "required": false; "isSignal": true; }; "openElement": { "alias": "openElement"; "required": false; "isSignal": true; }; }, { "dateChange": "dateChange"; }, never, never, false, never>;
|
|
39
36
|
}
|
|
@@ -7,27 +7,48 @@ export declare class TzDpContainerComponent implements OnInit {
|
|
|
7
7
|
data: IDatePickerData;
|
|
8
8
|
private parseZoneInstance;
|
|
9
9
|
private rawWeekDays;
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
10
|
+
private readonly weekDaysSignal;
|
|
11
|
+
private readonly currentMonthNumberSignal;
|
|
12
|
+
private readonly currentMonthSignal;
|
|
13
|
+
private readonly currentYearNumberSignal;
|
|
14
|
+
private readonly currentMonthDatesSignal;
|
|
15
|
+
private readonly isPreviousMonthDisabledSignal;
|
|
16
|
+
private readonly isNextMonthDisabledSignal;
|
|
17
|
+
private readonly localSelectedDateSignal;
|
|
18
|
+
private readonly allowBookingOnDisabledDaySignal;
|
|
19
|
+
private readonly currentSelectionSignal;
|
|
20
|
+
readonly selectedHourSignal: import("@angular/core").WritableSignal<number>;
|
|
21
|
+
readonly selectedMinuteSignal: import("@angular/core").WritableSignal<number>;
|
|
22
|
+
readonly selectedAmPmSignal: import("@angular/core").WritableSignal<string>;
|
|
23
|
+
private readonly isSelectingMonthSignal;
|
|
24
|
+
private readonly isSelectingYearSignal;
|
|
25
|
+
private readonly availableYearsSignal;
|
|
26
|
+
private readonly availableMonthsSignal;
|
|
27
|
+
private readonly disabledMonthsSignal;
|
|
28
|
+
private readonly disabledYearsSignal;
|
|
29
|
+
private readonly selectedYearSignal;
|
|
30
|
+
private readonly isYearSelectionFlowSignal;
|
|
31
|
+
weekDays: import("@angular/core").Signal<IWeekDay[]>;
|
|
32
|
+
currentMonthNumber: import("@angular/core").Signal<number>;
|
|
33
|
+
currentMonth: import("@angular/core").Signal<ICurrentMonth>;
|
|
34
|
+
currentYearNumber: import("@angular/core").Signal<number>;
|
|
35
|
+
currentMonthDates: import("@angular/core").Signal<ICurrentMonthDates[]>;
|
|
36
|
+
isPreviousMonthDisabled: import("@angular/core").Signal<boolean>;
|
|
37
|
+
isNextMonthDisabled: import("@angular/core").Signal<boolean>;
|
|
38
|
+
localSelectedDate: import("@angular/core").Signal<ICurrentMonthDates>;
|
|
39
|
+
allowBookingOnDisabledDay: import("@angular/core").Signal<boolean>;
|
|
40
|
+
currentSelection: import("@angular/core").Signal<any>;
|
|
41
|
+
selectedHour: import("@angular/core").Signal<number>;
|
|
42
|
+
selectedMinute: import("@angular/core").Signal<number>;
|
|
43
|
+
selectedAmPm: import("@angular/core").Signal<string>;
|
|
44
|
+
isSelectingMonth: import("@angular/core").Signal<boolean>;
|
|
45
|
+
isSelectingYear: import("@angular/core").Signal<boolean>;
|
|
46
|
+
availableYears: import("@angular/core").Signal<number[]>;
|
|
47
|
+
availableMonths: import("@angular/core").Signal<string[]>;
|
|
48
|
+
disabledMonths: import("@angular/core").Signal<boolean[]>;
|
|
49
|
+
disabledYears: import("@angular/core").Signal<boolean[]>;
|
|
50
|
+
selectedYear: import("@angular/core").Signal<number>;
|
|
51
|
+
isYearSelectionFlow: import("@angular/core").Signal<boolean>;
|
|
31
52
|
constructor(data: IDatePickerData, toast: ToastService);
|
|
32
53
|
onHourInput(event: any): void;
|
|
33
54
|
onMinuteInput(event: any): void;
|
|
@@ -1,5 +1,5 @@
|
|
|
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 { IDatePickerConfig, IDatePickerToastText, ISelectedDatesConfig } from "./models/drp-config.model";
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
@@ -8,20 +8,18 @@ export declare class TzDaterangepickerDirective {
|
|
|
8
8
|
private element;
|
|
9
9
|
private overlay;
|
|
10
10
|
private viewContainerRef;
|
|
11
|
-
dpConfig: Partial<IDatePickerConfig
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
selectedRangeLabel: string
|
|
15
|
-
dateMessages: IDatePickerToastText[]
|
|
16
|
-
positionX: "start" | "center" | "end"
|
|
17
|
-
positionY: "
|
|
18
|
-
offsetX: number
|
|
19
|
-
offsetY: number
|
|
11
|
+
dpConfig: import("@angular/core").InputSignal<Partial<IDatePickerConfig>>;
|
|
12
|
+
selectedDates: import("@angular/core").InputSignal<ISelectedDatesConfig>;
|
|
13
|
+
datesDisabled: import("@angular/core").InputSignal<string[]>;
|
|
14
|
+
selectedRangeLabel: import("@angular/core").InputSignal<string>;
|
|
15
|
+
dateMessages: import("@angular/core").InputSignal<IDatePickerToastText[]>;
|
|
16
|
+
positionX: import("@angular/core").InputSignal<"start" | "center" | "end">;
|
|
17
|
+
positionY: import("@angular/core").InputSignal<"center" | "top" | "bottom">;
|
|
18
|
+
offsetX: import("@angular/core").InputSignal<number>;
|
|
19
|
+
offsetY: import("@angular/core").InputSignal<number>;
|
|
20
|
+
dateChange: import("@angular/core").OutputEmitterRef<ISelectedDatesConfig>;
|
|
20
21
|
private overlayRef;
|
|
21
|
-
dateChange: EventEmitter<ISelectedDatesConfig>;
|
|
22
22
|
private isOpen;
|
|
23
|
-
dates: ISelectedDatesConfig;
|
|
24
|
-
private dpDisabledDates;
|
|
25
23
|
constructor(control: NgControl, element: ElementRef, overlay: Overlay, viewContainerRef: ViewContainerRef);
|
|
26
24
|
toggleDatePicker(): void;
|
|
27
25
|
toggleDatePickerOnEnter(): void;
|
|
@@ -30,5 +28,5 @@ export declare class TzDaterangepickerDirective {
|
|
|
30
28
|
applyDate(dates: ISelectedDatesConfig): void;
|
|
31
29
|
close(): void;
|
|
32
30
|
static ɵfac: i0.ɵɵFactoryDeclaration<TzDaterangepickerDirective, [{ optional: true; self: true; }, null, null, null]>;
|
|
33
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TzDaterangepickerDirective, "input[misTzDrp]", never, { "dpConfig": { "alias": "dpConfig"; "required": false; }; "selectedDates": { "alias": "selectedDates"; "required": false; }; "datesDisabled": { "alias": "datesDisabled"; "required": false; }; "selectedRangeLabel": { "alias": "selectedRangeLabel"; "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; }; }, { "dateChange": "dateChange"; }, never, never, false, never>;
|
|
31
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TzDaterangepickerDirective, "input[misTzDrp]", never, { "dpConfig": { "alias": "dpConfig"; "required": false; "isSignal": true; }; "selectedDates": { "alias": "selectedDates"; "required": false; "isSignal": true; }; "datesDisabled": { "alias": "datesDisabled"; "required": false; "isSignal": true; }; "selectedRangeLabel": { "alias": "selectedRangeLabel"; "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; }; }, { "dateChange": "dateChange"; }, never, never, false, never>;
|
|
34
32
|
}
|