@leanix/components 0.3.49 → 0.3.50
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/pipes/highlight-range.pipe.mjs +6 -1
- package/esm2020/lib/core-ui/pipes/highlight-term.pipe.mjs +13 -5
- package/fesm2015/leanix-components.mjs +16 -3
- package/fesm2015/leanix-components.mjs.map +1 -1
- package/fesm2020/leanix-components.mjs +16 -3
- package/fesm2020/leanix-components.mjs.map +1 -1
- package/lib/core-ui/pipes/highlight-range.pipe.d.ts +2 -1
- package/lib/core-ui/pipes/highlight-term.pipe.d.ts +1 -0
- package/package.json +2 -1
|
@@ -2,7 +2,8 @@ import { PipeTransform } from '@angular/core';
|
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class HighlightRangePipe implements PipeTransform {
|
|
4
4
|
transform(text: string, offset?: number, length?: number): string;
|
|
5
|
-
|
|
5
|
+
private doTransform;
|
|
6
|
+
private highlight;
|
|
6
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<HighlightRangePipe, never>;
|
|
7
8
|
static ɵpipe: i0.ɵɵPipeDeclaration<HighlightRangePipe, "lxHighlightRange", false>;
|
|
8
9
|
}
|
|
@@ -16,6 +16,7 @@ export declare class HighlightTermPipe implements PipeTransform {
|
|
|
16
16
|
* @returns The transformed text with highlighted search term.
|
|
17
17
|
*/
|
|
18
18
|
transform(text?: string, search?: string | null, options?: HighlightTermSearchOptions): string | undefined;
|
|
19
|
+
private doTransform;
|
|
19
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<HighlightTermPipe, never>;
|
|
20
21
|
static ɵpipe: i0.ɵɵPipeDeclaration<HighlightTermPipe, "lxHighlightTerm", false>;
|
|
21
22
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@leanix/components",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.50",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"author": "LeanIX GmbH",
|
|
6
6
|
"repository": {
|
|
@@ -29,6 +29,7 @@
|
|
|
29
29
|
"@ngx-translate/core": "^11.0.1",
|
|
30
30
|
"@types/marked": "4.0.2",
|
|
31
31
|
"rxjs": "^6.5.5",
|
|
32
|
+
"dompurify": "2.3.10",
|
|
32
33
|
"@angular/platform-browser-dynamic": "14.1.3"
|
|
33
34
|
},
|
|
34
35
|
"module": "fesm2015/leanix-components.mjs",
|