@leanix/components 0.3.45 → 0.3.47
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/esm2020/lib/core-ui/directives/autoclose.directive.mjs +2 -2
- package/esm2020/lib/core-ui/pipes/highlight-term.pipe.mjs +22 -14
- package/fesm2015/leanix-components.mjs +21 -13
- package/fesm2015/leanix-components.mjs.map +1 -1
- package/fesm2020/leanix-components.mjs +21 -13
- package/fesm2020/leanix-components.mjs.map +1 -1
- package/lib/core-ui/directives/autoclose.directive.d.ts +1 -1
- package/lib/core-ui/pipes/highlight-term.pipe.d.ts +15 -1
- package/package.json +1 -1
|
@@ -4,7 +4,7 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
export declare class AutocloseDirective implements OnInit, OnDestroy {
|
|
5
5
|
private elementRef;
|
|
6
6
|
private groupService;
|
|
7
|
-
autoclose: EventEmitter<
|
|
7
|
+
autoclose: EventEmitter<EventTarget | null>;
|
|
8
8
|
/**
|
|
9
9
|
* Allows to group lxAutoclose elements in order to prevent
|
|
10
10
|
* to open multiple of them in that same group. If no group
|
|
@@ -1,7 +1,21 @@
|
|
|
1
1
|
import { PipeTransform } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
+
export interface HighlightTermSearchOptions {
|
|
4
|
+
/**
|
|
5
|
+
* Whether the search term should be exactly matched in the given text. When set to true, the following
|
|
6
|
+
* characters and spaces between words are included in the search: - [ ] / { } ( ) * + ? . ^ $ |
|
|
7
|
+
*/
|
|
8
|
+
exactMatch: boolean;
|
|
9
|
+
}
|
|
3
10
|
export declare class HighlightTermPipe implements PipeTransform {
|
|
4
|
-
|
|
11
|
+
/**
|
|
12
|
+
* Transforms the input text with highlighted text according to the provided search term.
|
|
13
|
+
* @param text The input text.
|
|
14
|
+
* @param search The search term to highlight.
|
|
15
|
+
* @param options The highlight term search options.
|
|
16
|
+
* @returns The transformed text with highlighted search term.
|
|
17
|
+
*/
|
|
18
|
+
transform(text?: string, search?: string, options?: HighlightTermSearchOptions): string | undefined;
|
|
5
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<HighlightTermPipe, never>;
|
|
6
20
|
static ɵpipe: i0.ɵɵPipeDeclaration<HighlightTermPipe, "lxHighlightTerm", false>;
|
|
7
21
|
}
|