123456789101112131415161718 |
- /**
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE
- */
- import { PipeTransform } from '@angular/core';
- import { DomSanitizer, SafeHtml, SafeResourceUrl, SafeStyle, SafeUrl } from '@angular/platform-browser';
- import { NzSafeAny } from 'ng-zorro-antd/core/types';
- import * as i0 from "@angular/core";
- export declare class NzSanitizerPipe implements PipeTransform {
- protected sanitizer: DomSanitizer;
- constructor(sanitizer: DomSanitizer);
- transform(value: NzSafeAny, type: 'html'): SafeHtml;
- transform(value: NzSafeAny, type: 'style'): SafeStyle;
- transform(value: NzSafeAny, type: 'url'): SafeUrl;
- transform(value: NzSafeAny, type: 'resourceUrl'): SafeResourceUrl;
- static ɵfac: i0.ɵɵFactoryDeclaration<NzSanitizerPipe, never>;
- static ɵpipe: i0.ɵɵPipeDeclaration<NzSanitizerPipe, "nzSanitizer", true>;
- }
|