import { objectSpread2 as _objectSpread2 } from '../../../_virtual/_rollupPluginBabelHelpers.js';

var createFormatterArgs = function createFormatterArgs(props, options) {
  return _objectSpread2({
    decimalScale: props.decimalScale,
    thousandsGroupStyle: props.thousandsGroupStyle,
    thousandSeparator: props.thousandSeparator,
    decimalSeparator: props.decimalSeparator,
    fixedDecimalScale: props.fixedDecimalScale,
    allowNegative: true,
    allowLeadingZeros: false
  }, options);
};
var createNormalizedFormatterArgs = function createNormalizedFormatterArgs(props) {
  return _objectSpread2(_objectSpread2({}, createFormatterArgs(props)), {}, {
    thousandSeparator: '',
    decimalSeparator: '.',
    thousandsGroupStyle: 'none'
  });
};

export { createFormatterArgs, createNormalizedFormatterArgs };
