UNPKG

ontimize-web-ngx

Version:
22 lines (21 loc) 887 B
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>; }