@ng-doc/app
Version:
<!-- PROJECT LOGO --> <br /> <div align="center"> <a href="https://github.com/ng-doc/ng-doc"> <img src="https://ng-doc.com/assets/images/ng-doc.svg?raw=true" alt="Logo" height="150px"> </a>
30 lines (26 loc) • 1.11 kB
JavaScript
import * as i0 from '@angular/core';
import { Pipe } from '@angular/core';
class NgDocDecodeUriComponentPipe {
transform(value) {
try {
return decodeURIComponent(value);
}
catch {
return value;
}
}
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: NgDocDecodeUriComponentPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.0.6", ngImport: i0, type: NgDocDecodeUriComponentPipe, isStandalone: true, name: "decodeUriComponent" }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: NgDocDecodeUriComponentPipe, decorators: [{
type: Pipe,
args: [{
name: 'decodeUriComponent',
standalone: true,
}]
}] });
/**
* Generated bundle index. Do not edit.
*/
export { NgDocDecodeUriComponentPipe };
//# sourceMappingURL=ng-doc-app-pipes-decode-uri-component.mjs.map