@leanix/components 0.3.87 → 0.3.88
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 +3 -12
- package/fesm2015/leanix-components.mjs +3 -12
- package/fesm2015/leanix-components.mjs.map +1 -1
- package/fesm2020/leanix-components.mjs +3 -12
- package/fesm2020/leanix-components.mjs.map +1 -1
- package/lib/forms-ui/components/sorting-dropdown/sorting-dropdown.component.d.ts +1 -8
- package/package.json +1 -1
@@ -1,16 +1,9 @@
|
|
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";
|
10
4
|
export declare class SortingDropdownComponent implements OnInit {
|
11
5
|
currentSorting: Sorting | null;
|
12
6
|
sortingOptions: Sorting[];
|
13
|
-
showDirectionOptions: boolean;
|
14
7
|
apply: EventEmitter<Sorting>;
|
15
8
|
readonly NAME = "SortingDropdownComponent";
|
16
9
|
readonly sortingDirections: SortingOrder[];
|
@@ -19,5 +12,5 @@ export declare class SortingDropdownComponent implements OnInit {
|
|
19
12
|
applySortingDirection(sortDirection: SortingOrder): void;
|
20
13
|
getSortLabel(key: string | undefined): string;
|
21
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<SortingDropdownComponent, never>;
|
22
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SortingDropdownComponent, "lx-sorting-dropdown", never, { "currentSorting": "currentSorting"; "sortingOptions": "sortingOptions";
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SortingDropdownComponent, "lx-sorting-dropdown", never, { "currentSorting": "currentSorting"; "sortingOptions": "sortingOptions"; }, { "apply": "apply"; }, never, never, false>;
|
23
16
|
}
|