@leanix/components 0.3.88 → 0.3.89

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.
@@ -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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leanix/components",
3
- "version": "0.3.88",
3
+ "version": "0.3.89",
4
4
  "license": "Apache-2.0",
5
5
  "author": "LeanIX GmbH",
6
6
  "repository": {