ontimize-web-ngx
Version:
Ontimize Web framework using Angular 15
22 lines (21 loc) • 887 B
TypeScript
import { Injector, PipeTransform } from '@angular/core';
import { ORealPipe } from './o-real.pipe';
import * as i0 from "@angular/core";
export type OPercentageValueBaseType = 1 | 100;
export interface IPercentPipeArgument {
grouping?: boolean;
thousandSeparator?: string;
locale?: string;
decimalSeparator?: string;
minDecimalDigits?: number;
maxDecimalDigits?: number;
valueBase?: OPercentageValueBaseType;
}
export declare class OPercentPipe extends ORealPipe implements PipeTransform {
protected injector: Injector;
constructor(injector: Injector);
transform(text: string, args: IPercentPipeArgument): string;
protected parseValueBase(value: OPercentageValueBaseType): OPercentageValueBaseType;
static ɵfac: i0.ɵɵFactoryDeclaration<OPercentPipe, never>;
static ɵpipe: i0.ɵɵPipeDeclaration<OPercentPipe, "oPercent", false>;
}