"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.VARIANTS = exports.METRIC = exports.INPUT_TYPE = exports.INPUT = exports.FORM_STORAGE_KEY = exports.FORM_STORAGE_CACHE = exports.FORMAT_DATE_SHORT = exports.FORMAT_DATE = exports.FORMAT_CURRENCY = exports.FIELD = void 0;
var _ui = require("@mirai/ui");
var _components = require("./components");
const INPUT = exports.INPUT = {
  TEXT: 0,
  SELECT: 1,
  OPTION: 2,
  PHONE: 3,
  RADIO: 4,
  HTML: 5
};
const INPUT_TYPE = exports.INPUT_TYPE = {
  TEXT: 0,
  EMAIL: 1,
  NUMBER: 2
};
const FIELD = exports.FIELD = {
  [INPUT.OPTION]: _ui.InputOption,
  [INPUT.PHONE]: _ui.InputPhone,
  [INPUT.RADIO]: _components.InputRadio,
  [INPUT.SELECT]: _ui.InputSelect,
  [INPUT.TEXT]: _ui.InputText,
  [INPUT.HTML]: _ui.Text
};
const FORM_STORAGE_CACHE = exports.FORM_STORAGE_CACHE = 1000 * 60 * 60 * 24 * 7; // 7 days

const FORM_STORAGE_KEY = exports.FORM_STORAGE_KEY = 'MIRAI:CHECKOUT:FORM';
const FORMAT_CURRENCY = exports.FORMAT_CURRENCY = {
  currency: 'EUR'
};
const FORMAT_DATE = exports.FORMAT_DATE = {
  weekday: 'short',
  year: 'numeric',
  month: 'short',
  day: 'numeric'
};
const FORMAT_DATE_SHORT = exports.FORMAT_DATE_SHORT = {
  weekday: 'short',
  month: 'short',
  day: 'numeric'
};
const METRIC = exports.METRIC = 'CHECKOUT';
const VARIANTS = exports.VARIANTS = ['A', 'B'];
//# sourceMappingURL=Checkout.constants.js.map