import { OnChanges, OnInit } from '@angular/core'; import { BigCurrencyPipe, SymbolDisplay } from '@gorilainvest/ui-toolkit/pipes'; /** * CurrencyDisplayComponent * This component is used to format a number into currency format * * @example will display: US$ 5 */ export declare class CurrencyDisplayComponent implements OnInit, OnChanges { private bigCurrencyPipe; /** * @param number value A decimal number to be formatted as a currency number */ value: number; /** * @param string [currencyCode] A string containing a ISO 4217 code. Check: * https://en.wikipedia.org/wiki/ISO_4217 */ currencyCode: string; /** * @param SymbolDisplay [symbolDisplay] The format of displayed currency symbol. * Check SymbolDisplay to see the available options */ symbolDisplay: SymbolDisplay; /** * @param string [digitInfo] A string containing 3 numbers separeted by hyphen * Use the following format: x-y-z. * X=minIntegerDigits; * Y=minFractionDigits; * Z=maxFractionDigits; * * @example * if you put 1.3-3 and 5 as number input the result will be US$ 5.000 * if you put 1.0-3 and 5.10 as number input the result will be US$ 5.1 * if you put 3.0-3 and 5.10 as number input the result will be US$ 005.1 */ digitInfo: string; /** * @param Object. [currencyClass] currencyClass is ngClass input * check https://angular.io/api/common/NgClass */ currencyClass: {}; /** * @param boolean [hideNegative] If it's setted as true the negative * symbol will not be displayed for negative numbers */ hideNegative: boolean; valueToDisplay: string; symbolToDisplay: string; constructor(bigCurrencyPipe: BigCurrencyPipe); ngOnInit(): void; ngOnChanges(): void; private setDisplayableValues; }