mis-crystal-design-system 14.0.45 → 14.0.48
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/async-search-dropdown/async-dropdown.component.d.ts +3 -0
- package/async-search-dropdown/async-dropdown.module.d.ts +2 -1
- package/datepicker_v2/datepicker.module.d.ts +2 -1
- package/datepicker_v2/tz-datepicker.directive.d.ts +2 -0
- package/datepicker_v2/tz-dp-container/tz-dp-container.component.d.ts +2 -0
- package/daterangepicker_v2/daterangepicker.module.d.ts +2 -1
- package/daterangepicker_v2/tz-daterangepicker.directive.d.ts +2 -0
- package/daterangepicker_v2/tz-drp-container/tz-drp-container.component.d.ts +2 -0
- package/dropdown/dropdown.component.d.ts +1 -0
- package/dropdown/dropdown.module.d.ts +2 -1
- package/dynamic-form/dynamic-form.component.d.ts +2 -1
- package/esm2020/async-search-dropdown/async-dropdown.component.mjs +75 -47
- package/esm2020/async-search-dropdown/async-dropdown.module.mjs +5 -4
- package/esm2020/checkbox/checkbox.component.mjs +4 -4
- package/esm2020/chip/chip.component.mjs +14 -14
- package/esm2020/datepicker_v2/datepicker.module.mjs +5 -4
- package/esm2020/datepicker_v2/tz-datepicker.directive.mjs +21 -2
- package/esm2020/datepicker_v2/tz-dp-container/tz-dp-container.component.mjs +55 -40
- package/esm2020/daterangepicker_v2/daterangepicker.module.mjs +5 -4
- package/esm2020/daterangepicker_v2/tz-daterangepicker.directive.mjs +21 -2
- package/esm2020/daterangepicker_v2/tz-drp-container/tz-drp-container.component.mjs +90 -68
- package/esm2020/dropdown/dropdown.component.mjs +52 -38
- package/esm2020/dropdown/dropdown.module.mjs +5 -4
- package/esm2020/dynamic-form/dynamic-form.component.mjs +46 -20
- package/esm2020/mobile-filter/mobile-filter.component.mjs +18 -16
- package/esm2020/radio-button/radio-button.component.mjs +4 -4
- package/esm2020/table/table.component.mjs +2 -2
- package/fesm2015/mis-crystal-design-system-async-search-dropdown.mjs +80 -49
- package/fesm2015/mis-crystal-design-system-async-search-dropdown.mjs.map +1 -1
- package/fesm2015/mis-crystal-design-system-checkbox.mjs +3 -3
- package/fesm2015/mis-crystal-design-system-checkbox.mjs.map +1 -1
- package/fesm2015/mis-crystal-design-system-chip.mjs +13 -13
- package/fesm2015/mis-crystal-design-system-chip.mjs.map +1 -1
- package/fesm2015/mis-crystal-design-system-datepicker_v2.mjs +80 -43
- package/fesm2015/mis-crystal-design-system-datepicker_v2.mjs.map +1 -1
- package/fesm2015/mis-crystal-design-system-daterangepicker_v2.mjs +115 -71
- package/fesm2015/mis-crystal-design-system-daterangepicker_v2.mjs.map +1 -1
- package/fesm2015/mis-crystal-design-system-dropdown.mjs +57 -40
- package/fesm2015/mis-crystal-design-system-dropdown.mjs.map +1 -1
- package/fesm2015/mis-crystal-design-system-dynamic-form.mjs +45 -19
- package/fesm2015/mis-crystal-design-system-dynamic-form.mjs.map +1 -1
- package/fesm2015/mis-crystal-design-system-mobile-filter.mjs +17 -15
- package/fesm2015/mis-crystal-design-system-mobile-filter.mjs.map +1 -1
- package/fesm2015/mis-crystal-design-system-radio-button.mjs +3 -3
- package/fesm2015/mis-crystal-design-system-radio-button.mjs.map +1 -1
- package/fesm2015/mis-crystal-design-system-table.mjs +2 -2
- package/fesm2015/mis-crystal-design-system-table.mjs.map +1 -1
- package/fesm2020/mis-crystal-design-system-async-search-dropdown.mjs +78 -49
- package/fesm2020/mis-crystal-design-system-async-search-dropdown.mjs.map +1 -1
- package/fesm2020/mis-crystal-design-system-checkbox.mjs +3 -3
- package/fesm2020/mis-crystal-design-system-checkbox.mjs.map +1 -1
- package/fesm2020/mis-crystal-design-system-chip.mjs +13 -13
- package/fesm2020/mis-crystal-design-system-chip.mjs.map +1 -1
- package/fesm2020/mis-crystal-design-system-datepicker_v2.mjs +78 -43
- package/fesm2020/mis-crystal-design-system-datepicker_v2.mjs.map +1 -1
- package/fesm2020/mis-crystal-design-system-daterangepicker_v2.mjs +113 -71
- package/fesm2020/mis-crystal-design-system-daterangepicker_v2.mjs.map +1 -1
- package/fesm2020/mis-crystal-design-system-dropdown.mjs +55 -40
- package/fesm2020/mis-crystal-design-system-dropdown.mjs.map +1 -1
- package/fesm2020/mis-crystal-design-system-dynamic-form.mjs +45 -19
- package/fesm2020/mis-crystal-design-system-dynamic-form.mjs.map +1 -1
- package/fesm2020/mis-crystal-design-system-mobile-filter.mjs +17 -15
- package/fesm2020/mis-crystal-design-system-mobile-filter.mjs.map +1 -1
- package/fesm2020/mis-crystal-design-system-radio-button.mjs +3 -3
- package/fesm2020/mis-crystal-design-system-radio-button.mjs.map +1 -1
- package/fesm2020/mis-crystal-design-system-table.mjs +2 -2
- package/fesm2020/mis-crystal-design-system-table.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -34,6 +34,7 @@ export declare class AsyncDropdownComponent implements OnInit, OnChanges, OnDest
|
|
|
34
34
|
opened: boolean;
|
|
35
35
|
loading: boolean;
|
|
36
36
|
error: boolean;
|
|
37
|
+
openPopUpOnTab: boolean;
|
|
37
38
|
selections: Map<string, any>;
|
|
38
39
|
private searchSubscription;
|
|
39
40
|
private defaultCallSubscription;
|
|
@@ -53,6 +54,8 @@ export declare class AsyncDropdownComponent implements OnInit, OnChanges, OnDest
|
|
|
53
54
|
* closes the dropdown
|
|
54
55
|
*/
|
|
55
56
|
closeDropdown(): void;
|
|
57
|
+
enablePopUpOnTab(): void;
|
|
58
|
+
handleKeyDown(event: KeyboardEvent): void;
|
|
56
59
|
/**
|
|
57
60
|
*
|
|
58
61
|
* @param item item to select
|
|
@@ -4,8 +4,9 @@ import * as i2 from "@angular/common";
|
|
|
4
4
|
import * as i3 from "@angular/cdk/overlay";
|
|
5
5
|
import * as i4 from "@angular/forms";
|
|
6
6
|
import * as i5 from "mis-crystal-design-system/loader";
|
|
7
|
+
import * as i6 from "@angular/cdk/a11y";
|
|
7
8
|
export declare class AsyncDropdownModule {
|
|
8
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<AsyncDropdownModule, never>;
|
|
9
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AsyncDropdownModule, [typeof i1.AsyncDropdownComponent], [typeof i2.CommonModule, typeof i3.OverlayModule, typeof i4.ReactiveFormsModule, typeof i4.FormsModule, typeof i5.LoaderModule], [typeof i1.AsyncDropdownComponent]>;
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AsyncDropdownModule, [typeof i1.AsyncDropdownComponent], [typeof i2.CommonModule, typeof i3.OverlayModule, typeof i4.ReactiveFormsModule, typeof i4.FormsModule, typeof i5.LoaderModule, typeof i6.A11yModule], [typeof i1.AsyncDropdownComponent]>;
|
|
10
11
|
static ɵinj: i0.ɵɵInjectorDeclaration<AsyncDropdownModule>;
|
|
11
12
|
}
|
|
@@ -5,8 +5,9 @@ import * as i3 from "@angular/common";
|
|
|
5
5
|
import * as i4 from "@angular/cdk/overlay";
|
|
6
6
|
import * as i5 from "mis-crystal-design-system/toast";
|
|
7
7
|
import * as i6 from "mis-crystal-design-system/button";
|
|
8
|
+
import * as i7 from "@angular/cdk/a11y";
|
|
8
9
|
export declare class DatepickerModuleV2 {
|
|
9
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<DatepickerModuleV2, never>;
|
|
10
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DatepickerModuleV2, [typeof i1.TzDpContainerComponent, typeof i2.TzDatepickerDirective], [typeof i3.CommonModule, typeof i4.OverlayModule, typeof i5.ToastModule, typeof i6.ButtonModule], [typeof i1.TzDpContainerComponent, typeof i2.TzDatepickerDirective]>;
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DatepickerModuleV2, [typeof i1.TzDpContainerComponent, typeof i2.TzDatepickerDirective], [typeof i3.CommonModule, typeof i4.OverlayModule, typeof i5.ToastModule, typeof i6.ButtonModule, typeof i7.A11yModule], [typeof i1.TzDpContainerComponent, typeof i2.TzDatepickerDirective]>;
|
|
11
12
|
static ɵinj: i0.ɵɵInjectorDeclaration<DatepickerModuleV2>;
|
|
12
13
|
}
|
|
@@ -29,6 +29,8 @@ export declare class TzDatepickerDirective implements OnInit {
|
|
|
29
29
|
ngOnChanges(changes: SimpleChanges): void;
|
|
30
30
|
ngOnInit(): void;
|
|
31
31
|
toggleDatePicker(): void;
|
|
32
|
+
toggleDatePickerOnEnter(): void;
|
|
33
|
+
closeOnEsc(): void;
|
|
32
34
|
private open;
|
|
33
35
|
applyDate(date?: string): void;
|
|
34
36
|
close(): void;
|
|
@@ -18,6 +18,7 @@ export declare class TzDpContainerComponent implements OnInit {
|
|
|
18
18
|
allowBookingOnDisabledDay: boolean;
|
|
19
19
|
currentSelection: any;
|
|
20
20
|
constructor(data: IDatePickerData, toast: ToastService);
|
|
21
|
+
retractDayMonth(day: any, month: any, year: any): any;
|
|
21
22
|
ngOnInit(): void;
|
|
22
23
|
private currentDateInstance;
|
|
23
24
|
private calculateMinMaxDays;
|
|
@@ -25,6 +26,7 @@ export declare class TzDpContainerComponent implements OnInit {
|
|
|
25
26
|
private generateDates;
|
|
26
27
|
selectDay(day: ICurrentMonthDates): void;
|
|
27
28
|
applyDate(day?: ICurrentMonthDates): void;
|
|
29
|
+
closeOnEsc(): void;
|
|
28
30
|
cancelDatePicker(): void;
|
|
29
31
|
static ɵfac: i0.ɵɵFactoryDeclaration<TzDpContainerComponent, never>;
|
|
30
32
|
static ɵcmp: i0.ɵɵComponentDeclaration<TzDpContainerComponent, "mis-tz-dp", never, {}, {}, never, never, false>;
|
|
@@ -5,8 +5,9 @@ import * as i3 from "@angular/common";
|
|
|
5
5
|
import * as i4 from "@angular/cdk/overlay";
|
|
6
6
|
import * as i5 from "mis-crystal-design-system/toast";
|
|
7
7
|
import * as i6 from "mis-crystal-design-system/button";
|
|
8
|
+
import * as i7 from "@angular/cdk/a11y";
|
|
8
9
|
export declare class DateRangepickerModuleV2 {
|
|
9
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<DateRangepickerModuleV2, never>;
|
|
10
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DateRangepickerModuleV2, [typeof i1.TzDrpContainerComponent, typeof i2.TzDaterangepickerDirective], [typeof i3.CommonModule, typeof i4.OverlayModule, typeof i5.ToastModule, typeof i6.ButtonModule], [typeof i1.TzDrpContainerComponent, typeof i2.TzDaterangepickerDirective]>;
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DateRangepickerModuleV2, [typeof i1.TzDrpContainerComponent, typeof i2.TzDaterangepickerDirective], [typeof i3.CommonModule, typeof i4.OverlayModule, typeof i5.ToastModule, typeof i6.ButtonModule, typeof i7.A11yModule], [typeof i1.TzDrpContainerComponent, typeof i2.TzDaterangepickerDirective]>;
|
|
11
12
|
static ɵinj: i0.ɵɵInjectorDeclaration<DateRangepickerModuleV2>;
|
|
12
13
|
}
|
|
@@ -23,6 +23,8 @@ export declare class TzDaterangepickerDirective {
|
|
|
23
23
|
private dpDisabledDates;
|
|
24
24
|
constructor(control: NgControl, element: ElementRef, overlay: Overlay, viewContainerRef: ViewContainerRef);
|
|
25
25
|
toggleDatePicker(): void;
|
|
26
|
+
toggleDatePickerOnEnter(): void;
|
|
27
|
+
closeOnEsc(): void;
|
|
26
28
|
private open;
|
|
27
29
|
applyDate(dates: ISelectedDatesConfig): void;
|
|
28
30
|
close(): void;
|
|
@@ -23,6 +23,8 @@ export declare class TzDrpContainerComponent implements OnInit {
|
|
|
23
23
|
isDatesValid: boolean;
|
|
24
24
|
constructor(data: IDatePickerData, toast: ToastService);
|
|
25
25
|
ngOnInit(): void;
|
|
26
|
+
retractDayMonth(day: any, month: any, year: any): any;
|
|
27
|
+
closeOnEsc(): void;
|
|
26
28
|
private currentDateInstance;
|
|
27
29
|
private calculateMinMaxDays;
|
|
28
30
|
navigateMonth(direction: "NEXT" | "PREVIOUS"): void;
|
|
@@ -54,6 +54,7 @@ export declare class DropdownComponent implements OnInit {
|
|
|
54
54
|
private openDropdown;
|
|
55
55
|
selectItem(item: any): void;
|
|
56
56
|
onCancel(): void;
|
|
57
|
+
closeOnEsc(event: KeyboardEvent): void;
|
|
57
58
|
static ɵfac: i0.ɵɵFactoryDeclaration<DropdownComponent, never>;
|
|
58
59
|
static ɵcmp: i0.ɵɵComponentDeclaration<DropdownComponent, "mis-dropdown", never, { "data": "data"; "height": "height"; "width": "width"; "label": "label"; "itemSizeForCdk": "itemSizeForCdk"; "showOnlyIcon": "showOnlyIcon"; "higlightSelectedValue": "higlightSelectedValue"; "dropdownListHeight": "dropdownListHeight"; "dropdownListWidth": "dropdownListWidth"; "dropdownListPosition": "dropdownListPosition"; "config": "config"; "searchEnabled": "searchEnabled"; "selectedItem": "selectedItem"; "noDataMessage": "noDataMessage"; "multiLine": "multiLine"; "additionalInfoMessage": "additionalInfoMessage"; "scrollIntoView": "scrollIntoView"; "searchLabel": "searchLabel"; "customStyles": "customStyles"; "activeItem": "activeItem"; }, { "onChange": "onChange"; }, never, never, false>;
|
|
59
60
|
}
|
|
@@ -7,9 +7,10 @@ import * as i4 from "@angular/forms";
|
|
|
7
7
|
import * as i5 from "@angular/cdk/overlay";
|
|
8
8
|
import * as i6 from "@angular/cdk-experimental/scrolling";
|
|
9
9
|
import * as i7 from "mis-crystal-design-system/loader";
|
|
10
|
+
import * as i8 from "@angular/cdk/a11y";
|
|
10
11
|
export declare class DropdownModule {
|
|
11
12
|
static forRoot(): ModuleWithProviders<DropdownModule>;
|
|
12
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<DropdownModule, never>;
|
|
13
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DropdownModule, [typeof i1.DropdownComponent, typeof i2.CalculateContainerHeightDirective], [typeof i3.CommonModule, typeof i4.FormsModule, typeof i5.OverlayModule, typeof i6.ScrollingModule, typeof i7.LoaderModule], [typeof i1.DropdownComponent]>;
|
|
14
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DropdownModule, [typeof i1.DropdownComponent, typeof i2.CalculateContainerHeightDirective], [typeof i3.CommonModule, typeof i4.FormsModule, typeof i5.OverlayModule, typeof i6.ScrollingModule, typeof i7.LoaderModule, typeof i8.A11yModule], [typeof i1.DropdownComponent]>;
|
|
14
15
|
static ɵinj: i0.ɵɵInjectorDeclaration<DropdownModule>;
|
|
15
16
|
}
|
|
@@ -17,6 +17,7 @@ export declare class DynamicFormComponent implements OnInit, OnDestroy {
|
|
|
17
17
|
activeBtnIconUrl: string;
|
|
18
18
|
calendarIconUrl: string;
|
|
19
19
|
removeIconUrl: string;
|
|
20
|
+
removeSepratorForSubFields: boolean;
|
|
20
21
|
/**
|
|
21
22
|
* dynamicForm: Constructed using formFields and formValues(in case of edit)
|
|
22
23
|
*/
|
|
@@ -68,6 +69,6 @@ export declare class DynamicFormComponent implements OnInit, OnDestroy {
|
|
|
68
69
|
mapFormValueToFormField(formField: NsDynamicForm.IDynamicField, formValue: any): any;
|
|
69
70
|
mapFormFieldToFormValue(formField: NsDynamicForm.IDynamicField, formValue: any): any;
|
|
70
71
|
static ɵfac: i0.ɵɵFactoryDeclaration<DynamicFormComponent, never>;
|
|
71
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DynamicFormComponent, "mis-dynamic-form", never, { "formFields": "formFields"; "formValues": "formValues"; "activeBtnIconUrl": "activeBtnIconUrl"; "calendarIconUrl": "calendarIconUrl"; "removeIconUrl": "removeIconUrl"; }, { "formUpdated": "formUpdated"; "formValid": "formValid"; "formInitialized": "formInitialized"; "fieldRemoved": "fieldRemoved"; }, never, never, false>;
|
|
72
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DynamicFormComponent, "mis-dynamic-form", never, { "formFields": "formFields"; "formValues": "formValues"; "activeBtnIconUrl": "activeBtnIconUrl"; "calendarIconUrl": "calendarIconUrl"; "removeIconUrl": "removeIconUrl"; "removeSepratorForSubFields": "removeSepratorForSubFields"; }, { "formUpdated": "formUpdated"; "formValid": "formValid"; "formInitialized": "formInitialized"; "fieldRemoved": "fieldRemoved"; }, never, never, false>;
|
|
72
73
|
}
|
|
73
74
|
export declare const dynamicFieldValidator: (validators: Array<NsDynamicForm.IDynamicFieldValidator>) => ValidatorFn;
|