"use strict";

function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.propTypesDescription = exports.defaultProps = exports["default"] = void 0;

var _propTypes = _interopRequireDefault(require("prop-types"));

var _Box = _interopRequireDefault(require("./Box.constantProps"));

var _customClassName = _interopRequireWildcard(require("../../propTypes/customClassName.propTypes"));

var _automation = _interopRequireWildcard(require("../../propTypes/automation.propTypes"));

var _htmlAttributes = _interopRequireWildcard(require("../../propTypes/htmlAttributes.propTypes"));

var _Box2 = _interopRequireDefault(require("./Box.customIds"));

var _defaultProps, _propTypesDescription;

function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }

function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }

function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }

function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }

function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }

var _default = _objectSpread(_objectSpread(_objectSpread({
  basis: _propTypes["default"].bool,
  alignSelf: _propTypes["default"].oneOf([_Box["default"].alignSelf.start, _Box["default"].alignSelf.end, _Box["default"].alignSelf.center]),
  column: _propTypes["default"].oneOf([_Box["default"].column['1'], _Box["default"].column['2'], _Box["default"].column['3'], _Box["default"].column['4'], _Box["default"].column['5'], _Box["default"].column['6'], _Box["default"].column['7'], _Box["default"].column['8'], _Box["default"].column['9'], _Box["default"].column['10'], _Box["default"].column['11'], _Box["default"].column['12']]),
  getRef: _propTypes["default"].func,
  flexible: _propTypes["default"].bool,
  isFirst: _propTypes["default"].bool,
  isLast: _propTypes["default"].bool,
  shrink: _propTypes["default"].bool,
  autoFocus: _propTypes["default"].bool,
  focusLoop: _propTypes["default"].object,
  children: _propTypes["default"].node,
  isScrollAttribute: _propTypes["default"].bool,
  scroll: _propTypes["default"].oneOf([_Box["default"].scroll.vertical, _Box["default"].scroll.horizontal, _Box["default"].scroll.both, _Box["default"].scroll.none]),
  tagName: _propTypes["default"].string,
  isContainer: _propTypes["default"].bool,
  spacing: _propTypes["default"].oneOf([_Box["default"].spacing.none, _Box["default"].spacing.xSmall, _Box["default"].spacing.small, _Box["default"].spacing.medium, _Box["default"].spacing.large, _Box["default"].spacing.xLarge]),
  align: _propTypes["default"].oneOf([_Box["default"].align.vertical, _Box["default"].align.horizontal, _Box["default"].align.both, _Box["default"].align.top, _Box["default"].align.bottom, _Box["default"].align.baseline]),
  alignContent: _propTypes["default"].oneOf([_Box["default"].alignContent.start, _Box["default"].alignContent.end, _Box["default"].alignContent.center]),
  direction: _propTypes["default"].oneOf([_Box["default"].direction.row, _Box["default"].direction.column, _Box["default"].direction.rowReverse, _Box["default"].direction.columnReverse]),
  justifyContent: _propTypes["default"].oneOf([_Box["default"].justifyContent.start, _Box["default"].justifyContent.end, _Box["default"].justifyContent.center, _Box["default"].justifyContent.around, _Box["default"].justifyContent.between]),
  isCover: _propTypes["default"].bool,
  isInline: _propTypes["default"].bool,
  wrap: _propTypes["default"].oneOf([_Box["default"].wrap.wrap, _Box["default"].wrap.wrapReverse, _Box["default"].wrap.nowrap])
}, _automation["default"]), _customClassName["default"]), _htmlAttributes["default"]);

exports["default"] = _default;
var defaultProps = (_defaultProps = {
  isScrollAttribute: false,
  tagName: 'div',
  tagAttributeProps: {}
}, _defineProperty(_defaultProps, _automation.automationPropsName, _Box2["default"]), _defineProperty(_defaultProps, _customClassName.customClassPropName, {}), _defineProperty(_defaultProps, _htmlAttributes.tagAttributePropsName, {}), _defaultProps);
exports.defaultProps = defaultProps;
var propTypesDescription = (_propTypesDescription = {
  wrap: "this defines the wrap the children are not",
  isInline: "This defines the the children is inline element",
  isCover: "this defines the compoennt to act as cover element",
  justifyContent: "This defines the justify properties of the component",
  spacing: "this defines the spacing of the component",
  align: "this defines the alignment of the component",
  direction: "this defines the direction of alignment",
  tagname: "this defines the tagname that the user to render the component",
  shrink: "This defines the shrink property of the element",
  scroll: "This defines the scroll element of the box",
  isFirst: "this defines the the element to render as first element",
  isLast: "This defines the the element to render as last element",
  children: "This defines the children element in the component",
  basis: "this defines the basis property of the element"
}, _defineProperty(_propTypesDescription, "align", "this defines the align property of the element"), _defineProperty(_propTypesDescription, "alignContent", "this defines the alignContent property of the element"), _defineProperty(_propTypesDescription, "alignSelf", "this defines the alignSelf property of the element"), _defineProperty(_propTypesDescription, "column", "this defines the Columns property of the compoent variants"), _defineProperty(_propTypesDescription, "flexible", "this defines the element to be flexible"), _defineProperty(_propTypesDescription, "autoFocus", "this defines the autoFocus property to focus the children"), _defineProperty(_propTypesDescription, "focusLoop", "this function defines the Focused element "), _defineProperty(_propTypesDescription, "isContainer", "this defines the Component to act as container"), _propTypesDescription);
exports.propTypesDescription = propTypesDescription;