@leanix/components 0.3.88 → 0.3.90
Sign up to get free protection for your applications and to get access to all the features.
- package/esm2020/lib/forms-ui/components/date-input/date-input.component.mjs +17 -8
- package/esm2020/lib/forms-ui/components/sorting-dropdown/sorting-dropdown.component.mjs +12 -3
- package/fesm2015/leanix-components.mjs +28 -10
- package/fesm2015/leanix-components.mjs.map +1 -1
- package/fesm2020/leanix-components.mjs +28 -10
- package/fesm2020/leanix-components.mjs.map +1 -1
- package/lib/forms-ui/components/date-input/date-input.component.d.ts +4 -3
- package/lib/forms-ui/components/sorting-dropdown/sorting-dropdown.component.d.ts +8 -1
- package/package.json +1 -1
@@ -46,7 +46,8 @@ export declare class DateInputComponent implements OnChanges, OnInit, OnDestroy,
|
|
46
46
|
mode: string;
|
47
47
|
}[];
|
48
48
|
autoFocus: boolean;
|
49
|
-
|
49
|
+
closeDatePicker: EventEmitter<void>;
|
50
|
+
openDatePicker: EventEmitter<void>;
|
50
51
|
input: ElementRef<HTMLInputElement>;
|
51
52
|
showDatepicker: boolean;
|
52
53
|
dateFormat: string;
|
@@ -62,8 +63,8 @@ export declare class DateInputComponent implements OnChanges, OnInit, OnDestroy,
|
|
62
63
|
ngOnDestroy(): void;
|
63
64
|
focus(): void;
|
64
65
|
showPopup(): void;
|
65
|
-
togglePopup(): void;
|
66
66
|
hidePopup(): void;
|
67
|
+
togglePopup(): void;
|
67
68
|
onDateStringChange(newDateString: string | null, emit?: boolean): void;
|
68
69
|
onSelectionDone(newDate: Date): void;
|
69
70
|
onBlur(): void;
|
@@ -82,5 +83,5 @@ export declare class DateInputComponent implements OnChanges, OnInit, OnDestroy,
|
|
82
83
|
};
|
83
84
|
} | null;
|
84
85
|
static ɵfac: i0.ɵɵFactoryDeclaration<DateInputComponent, [null, null, { optional: true; }]>;
|
85
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DateInputComponent, "lx-date-input", never, { "date": "date"; "dateString": "dateString"; "valueAccessor": "valueAccessor"; "inputId": "inputId"; "renderingStyle": "renderingStyle"; "placeholder": "placeholder"; "cdk": "cdk"; "datepickerMode": "datepickerMode"; "initDateString": "initDateString"; "minDate": "minDate"; "maxDate": "maxDate"; "minMode": "minMode"; "maxMode": "maxMode"; "showWeeks": "showWeeks"; "formatDay": "formatDay"; "formatMonth": "formatMonth"; "formatYear": "formatYear"; "formatDayHeader": "formatDayHeader"; "formatDayTitle": "formatDayTitle"; "formatMonthTitle": "formatMonthTitle"; "startingDay": "startingDay"; "yearRange": "yearRange"; "onlyCurrentMonth": "onlyCurrentMonth"; "shortcutPropagation": "shortcutPropagation"; "customClass": "customClass"; "disabled": "disabled"; "dateDisabled": "dateDisabled"; "autoFocus": "autoFocus"; }, { "dateChange": "dateChange"; "dateStringChange": "dateStringChange"; "
|
86
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DateInputComponent, "lx-date-input", never, { "date": "date"; "dateString": "dateString"; "valueAccessor": "valueAccessor"; "inputId": "inputId"; "renderingStyle": "renderingStyle"; "placeholder": "placeholder"; "cdk": "cdk"; "datepickerMode": "datepickerMode"; "initDateString": "initDateString"; "minDate": "minDate"; "maxDate": "maxDate"; "minMode": "minMode"; "maxMode": "maxMode"; "showWeeks": "showWeeks"; "formatDay": "formatDay"; "formatMonth": "formatMonth"; "formatYear": "formatYear"; "formatDayHeader": "formatDayHeader"; "formatDayTitle": "formatDayTitle"; "formatMonthTitle": "formatMonthTitle"; "startingDay": "startingDay"; "yearRange": "yearRange"; "onlyCurrentMonth": "onlyCurrentMonth"; "shortcutPropagation": "shortcutPropagation"; "customClass": "customClass"; "disabled": "disabled"; "dateDisabled": "dateDisabled"; "autoFocus": "autoFocus"; }, { "dateChange": "dateChange"; "dateStringChange": "dateStringChange"; "closeDatePicker": "closeDatePicker"; "openDatePicker": "openDatePicker"; }, never, never, false>;
|
86
87
|
}
|
@@ -1,9 +1,16 @@
|
|
1
1
|
import { EventEmitter, OnInit } from '@angular/core';
|
2
2
|
import { Sorting, SortingOrder } from '../../models/sorting.interface';
|
3
3
|
import * as i0 from "@angular/core";
|
4
|
+
/**
|
5
|
+
* Used for translation. The dash in the name ensures that this will not clash with a DataModel field.
|
6
|
+
* This key is used when there is no sorting parameter sent to the allFactSheets query, meaning that the ElasticSearch
|
7
|
+
* score will be used for sorting.
|
8
|
+
*/
|
9
|
+
export declare const RELEVANCE_SORTING_KEY = "lx-relevance";
|
4
10
|
export declare class SortingDropdownComponent implements OnInit {
|
5
11
|
currentSorting: Sorting | null;
|
6
12
|
sortingOptions: Sorting[];
|
13
|
+
showDirectionOptions: boolean;
|
7
14
|
apply: EventEmitter<Sorting>;
|
8
15
|
readonly NAME = "SortingDropdownComponent";
|
9
16
|
readonly sortingDirections: SortingOrder[];
|
@@ -12,5 +19,5 @@ export declare class SortingDropdownComponent implements OnInit {
|
|
12
19
|
applySortingDirection(sortDirection: SortingOrder): void;
|
13
20
|
getSortLabel(key: string | undefined): string;
|
14
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<SortingDropdownComponent, never>;
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SortingDropdownComponent, "lx-sorting-dropdown", never, { "currentSorting": "currentSorting"; "sortingOptions": "sortingOptions"; }, { "apply": "apply"; }, never, never, false>;
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SortingDropdownComponent, "lx-sorting-dropdown", never, { "currentSorting": "currentSorting"; "sortingOptions": "sortingOptions"; "showDirectionOptions": "showDirectionOptions"; }, { "apply": "apply"; }, never, never, false>;
|
16
23
|
}
|