@sedeh/into-pipes
Version:
Have you ever wanted to transform data in different parts of your application into interactive objects without writing a single line of code?
25 lines (24 loc) • 1.27 kB
TypeScript
import { ViewContainerRef } from '@angular/core';
import { PipeComponentInterface } from './pipe.component.interface';
import * as i0 from "@angular/core";
export declare class ComponentPool {
private registeredPipes;
private registeredComponents;
private registeredServices;
private registeredPatterns;
getRegisteredPatterns(): any;
registerPipeTransformation(name: string, pipe: any): void;
registeredForPipeTransformationNamed(key: string): boolean;
registeredPipeTransformation(key: string, content: any, args: string[], callback?: any, data?: any): any;
removePipeTransformation(key: string): void;
registerComponent(name: string, component: any): void;
registeredForComponentWithNamed(name: string): boolean;
registeredComponent(name: string, viewRefrence: ViewContainerRef, el: HTMLElement): PipeComponentInterface;
removeComponent(name: string): void;
registerServiceForComponent(name: string, service: any): void;
registeredServiceForComponent(name: string): any;
registeredForServiceNamed(name: string): boolean;
removeServiceForComponent(name: string): void;
static ɵfac: i0.ɵɵFactoryDeclaration<ComponentPool, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<ComponentPool>;
}