@obliczeniowo/elementary
Version:
Library made in Angular version 20
57 lines (50 loc) • 1.81 kB
TypeScript
import * as i0 from '@angular/core';
import { PipeTransform } from '@angular/core';
declare function keys(object: {
[key: string]: any;
}): string[];
declare function assign(target: {
[key: string]: any;
}, source: {
[key: string]: any;
}): void;
declare function keysValues(object: {
[key: string]: any;
}): [string, any][];
declare function values(object: {
[key: string]: any;
}): any[];
declare function path(path: string, object: {
[key: string]: any;
}): any;
declare function toMap(object: {
[key: string]: any;
}): Map<string, any>;
declare function fromMap(map: Map<string, any>): {
[key: string]: any;
};
declare class MapPipe implements PipeTransform {
transform(value: any[], map: (value: any, index: number) => any): any[];
static ɵfac: i0.ɵɵFactoryDeclaration<MapPipe, never>;
static ɵpipe: i0.ɵɵPipeDeclaration<MapPipe, "oblMap", true>;
}
declare class IsObjectPipe implements PipeTransform {
transform(value: any): boolean;
static ɵfac: i0.ɵɵFactoryDeclaration<IsObjectPipe, never>;
static ɵpipe: i0.ɵɵPipeDeclaration<IsObjectPipe, "oblIsObject", true>;
}
declare class ExcludePipe implements PipeTransform {
transform(object: {
[key: string]: any;
}, fields: string[]): {
[key: string]: any;
};
static ɵfac: i0.ɵɵFactoryDeclaration<ExcludePipe, never>;
static ɵpipe: i0.ɵɵPipeDeclaration<ExcludePipe, "oblExclude", true>;
}
declare class ConcatPipe implements PipeTransform {
transform(objects: Object[]): Object;
static ɵfac: i0.ɵɵFactoryDeclaration<ConcatPipe, never>;
static ɵpipe: i0.ɵɵPipeDeclaration<ConcatPipe, "oblConcat", true>;
}
export { ConcatPipe, ExcludePipe, IsObjectPipe, MapPipe, assign, fromMap, keys, keysValues, path, toMap, values };