Gazebo_simulation-Frontend/node_modules/.cache/babel-loader/5d80ea6c4be9b4538ec6de33b64...

1 line
2.7 KiB
JSON
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{"ast":null,"code":"import _inheritsLoose from \"@babel/runtime/helpers/esm/inheritsLoose\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\n/* eslint-disable react/no-multi-comp */\n\nimport classNames from 'classnames';\nimport React from 'react';\nimport SafeAnchor from './SafeAnchor';\nvar defaultProps = {\n active: false,\n disabled: false,\n activeLabel: '(current)'\n};\nvar PageItem = React.forwardRef(function (_ref, ref) {\n var active = _ref.active,\n disabled = _ref.disabled,\n className = _ref.className,\n style = _ref.style,\n activeLabel = _ref.activeLabel,\n children = _ref.children,\n props = _objectWithoutPropertiesLoose(_ref, [\"active\", \"disabled\", \"className\", \"style\", \"activeLabel\", \"children\"]);\n\n var Component = active || disabled ? 'span' : SafeAnchor;\n return React.createElement(\"li\", {\n ref: ref,\n style: style,\n className: classNames(className, 'page-item', {\n active: active,\n disabled: disabled\n })\n }, React.createElement(Component, _extends({\n className: \"page-link\",\n disabled: disabled\n }, props), children, active && activeLabel && React.createElement(\"span\", {\n className: \"sr-only\"\n }, activeLabel)));\n});\nPageItem.defaultProps = defaultProps;\nPageItem.displayName = 'PageItem';\nexport default PageItem;\n\nfunction createButton(name, defaultValue, label) {\n var _class, _temp;\n\n if (label === void 0) {\n label = name;\n }\n\n return _temp = _class = /*#__PURE__*/function (_React$Component) {\n _inheritsLoose(_class, _React$Component);\n\n function _class() {\n return _React$Component.apply(this, arguments) || this;\n }\n\n var _proto = _class.prototype;\n\n _proto.render = function render() {\n var _this$props = this.props,\n children = _this$props.children,\n props = _objectWithoutPropertiesLoose(_this$props, [\"children\"]);\n\n delete props.active;\n return React.createElement(PageItem, props, React.createElement(\"span\", {\n \"aria-hidden\": \"true\"\n }, children || defaultValue), React.createElement(\"span\", {\n className: \"sr-only\"\n }, label));\n };\n\n return _class;\n }(React.Component), _class.displayName = name, _temp;\n}\n\nexport var First = createButton('First', '«');\nexport var Prev = createButton('Prev', '', 'Previous');\nexport var Ellipsis = createButton('Ellipsis', '…', 'More');\nexport var Next = createButton('Next', '');\nexport var Last = createButton('Last', '»');","map":null,"metadata":{},"sourceType":"module"}