UNPKG

@empathyco/x-components

Version:
70 lines 2.25 kB
import type { Result } from '@empathyco/x-types'; import type { PropType } from 'vue'; import type { VueCSSClasses } from '../../utils/types'; /** * Component that renders the {@link @empathyco/x-types#Result} current price * that may or may not be on sale. * * @public */ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{ /** * (Required) The {@link @empathyco/x-types#Result} information. * * @public */ result: { type: PropType<Result>; required: true; }; /** * Optional value coming from https://en.wikipedia.org/wiki/ISO_4217#List_of_ISO_4217_currency_codes. * * @public */ currency: StringConstructor; /** * The currency format possibilities from Intl.NumberFormatOptions. * Allows customization of decimal places, grouping, etc. * * @public */ format: { type: PropType<Omit<Intl.NumberFormatOptions, "currency" | "style">>; default: () => {}; }; }>, { dynamicClasses: import("vue").ComputedRef<VueCSSClasses>; }, {}, {}, {}, 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; }; /** * Optional value coming from https://en.wikipedia.org/wiki/ISO_4217#List_of_ISO_4217_currency_codes. * * @public */ currency: StringConstructor; /** * The currency format possibilities from Intl.NumberFormatOptions. * Allows customization of decimal places, grouping, etc. * * @public */ format: { type: PropType<Omit<Intl.NumberFormatOptions, "currency" | "style">>; default: () => {}; }; }>> & Readonly<{}>, { format: Omit<Intl.NumberFormatOptions, "currency" | "style">; }, {}, { BaseCurrency: import("vue").DefineComponent<{}, {}, any>; }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; export default _default; //# sourceMappingURL=base-result-current-price.vue?vue&type=script&lang.d.ts.map