@empathyco/x-components
Version:
Empathy X Components
68 lines • 2.75 kB
TypeScript
import type { Result } from '@empathyco/x-types';
import type { PropType } from 'vue';
/**
* Component that renders the {@link @empathyco/x-types#Result} previous price.
*
* @public
*/
declare const _default: import("vue").DefineComponent<{
/**
* (Required) The {@link @empathyco/x-types#Result} information.
*
* @public
*/
result: {
type: PropType<Result>;
required: true;
};
/**
* Format or mask to be defined as string.
* - Use 'i' to define integer numbers.
* - Use 'd' to define decimal numbers. You can define the length of the decimal part. If the
* doesn't include decimals, it is filled with zeros until reach the length defined with 'd's.
* - Integer separator must be defined between the 3rd and the 4th integer 'i' of a group.
* - Decimal separator must be defined between the last 'i' and the first 'd'. It can be more
* than one character.
* - Set whatever you need around the integers and decimals marks.
*
* @remarks The number of 'd', which is the maximum decimal length, MUST match with the length
* of decimals provided from the adapter. Otherwise, when the component truncate the decimal
* part, delete significant digits.
*
* @public
*/
format: {
type: StringConstructor;
};
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
/**
* (Required) The {@link @empathyco/x-types#Result} information.
*
* @public
*/
result: {
type: PropType<Result>;
required: true;
};
/**
* Format or mask to be defined as string.
* - Use 'i' to define integer numbers.
* - Use 'd' to define decimal numbers. You can define the length of the decimal part. If the
* doesn't include decimals, it is filled with zeros until reach the length defined with 'd's.
* - Integer separator must be defined between the 3rd and the 4th integer 'i' of a group.
* - Decimal separator must be defined between the last 'i' and the first 'd'. It can be more
* than one character.
* - Set whatever you need around the integers and decimals marks.
*
* @remarks The number of 'd', which is the maximum decimal length, MUST match with the length
* of decimals provided from the adapter. Otherwise, when the component truncate the decimal
* part, delete significant digits.
*
* @public
*/
format: {
type: StringConstructor;
};
}>>, {}, {}>;
export default _default;
//# sourceMappingURL=base-result-previous-price.vue?vue&type=script&lang.d.ts.map