@ruc-lib/widget 2.0.2 → 3.1.0

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,24 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import { DomSanitizer } from '@angular/platform-browser';
3
- import * as i0 from "@angular/core";
4
- /**
5
- * @Pipe SafeHtmlPipe
6
- * @name safeHtml
7
- * @description A pipe that bypasses Angular's built-in security and sanitizes HTML content,
8
- * allowing it to be safely rendered in the DOM. Use with caution and only with trusted HTML sources.
9
- */
10
- export declare class SafeHtmlPipe implements PipeTransform {
11
- private sanitizer;
12
- /**
13
- * @param sanitizer - An instance of DomSanitizer used to bypass security.
14
- */
15
- constructor(sanitizer: DomSanitizer);
16
- /**
17
- * Transforms a string containing HTML into a SafeHtml object that can be bound to [innerHTML].
18
- * @param value - The HTML string to sanitize.
19
- * @returns A SafeHtml object, which Angular trusts as safe HTML.
20
- */
21
- transform(value: any): any;
22
- static ɵfac: i0.ɵɵFactoryDeclaration<SafeHtmlPipe, never>;
23
- static ɵpipe: i0.ɵɵPipeDeclaration<SafeHtmlPipe, "safeHtml", false>;
24
- }