@leanix/components 0.3.88 → 0.3.89
Sign up to get free protection for your applications and to get access to all the features.
- package/esm2020/lib/forms-ui/components/sorting-dropdown/sorting-dropdown.component.mjs +12 -3
- package/fesm2015/leanix-components.mjs +12 -3
- package/fesm2015/leanix-components.mjs.map +1 -1
- package/fesm2020/leanix-components.mjs +12 -3
- package/fesm2020/leanix-components.mjs.map +1 -1
- package/lib/forms-ui/components/sorting-dropdown/sorting-dropdown.component.d.ts +8 -1
- package/package.json +1 -1
@@ -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
|
}
|