@coolon/angular-ui-powerups 16.1.0-alpha.192 → 16.1.0-alpha.194

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.
@@ -8,7 +8,14 @@ export declare class HighlightPipe extends GarbageCollector implements PipeTrans
8
8
  private readonly highlightContext?;
9
9
  constructor(sanitizer: DomSanitizer, highlightContext?: HighlightTextModelDirective);
10
10
  ngOnDestroy(): void;
11
- transform(value: any, searchModel?: ValueModel<string>): any;
11
+ /**
12
+ * Highlights occurrences of `searchModel` within `value`.
13
+ *
14
+ * @param value The string to search within.
15
+ * @param searchModel The model holding the search text.
16
+ * @param ignorePrefix If provided, this prefix is stripped from `searchModel` before matching. I.e. if the search string is "ct:west-223" and the ignore prefix is "ct:", the value will be highlighted for "west-223".
17
+ */
18
+ transform(value: any, searchModel?: ValueModel<string>, ignorePrefix?: string): any;
12
19
  static ɵfac: i0.ɵɵFactoryDeclaration<HighlightPipe, [null, { optional: true; }]>;
13
20
  static ɵpipe: i0.ɵɵPipeDeclaration<HighlightPipe, "aupHighlight", false>;
14
21
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coolon/angular-ui-powerups",
3
- "version": "16.1.0-alpha.192",
3
+ "version": "16.1.0-alpha.194",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": "^16.2.9",
6
6
  "@angular/common": "^16.2.9",
@@ -12,7 +12,7 @@
12
12
  "@angular/platform-browser-dynamic": "^16.2.9",
13
13
  "@angular/material-moment-adapter": "^16.2.10",
14
14
  "@angular/router": "^16.2.9",
15
- "@coolon/pectin": "^5.0.0-alpha.101",
15
+ "@coolon/pectin": "^5.0.0-alpha.103",
16
16
  "fast-typescript-memoize": "^1.1.1",
17
17
  "lodash-es": "^4.17.21",
18
18
  "marked": "4.0.10",