From c4a08c2e326641465e54723a728fa055af375b6e Mon Sep 17 00:00:00 2001 From: release-bot Date: Fri, 19 Mar 2021 12:01:34 +0000 Subject: [PATCH] Released 1.7.1 --- CHANGELOG.md | 8 +- dist/.lib/tsconfig.type.tsbuildinfo | 32 +- dist/index.esm.js | 2338 +++++++++++++-------------- dist/index.js | 1414 ++++++++-------- dist/index.js.map | 2 +- dist/index.umd.js | 2019 +++++++++++------------ package.json | 2 +- 7 files changed, 2773 insertions(+), 3042 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 51a3f15ce5..791a46c7ab 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,9 +1,5 @@ ------------------- - **v1.7.1-0** (2021-03-10) + **v1.7.1** (2021-03-19) -* f82cf3b v1.7.1-0 -* 031f821 chore(Dropzone): adds dropzone with fileList story -* 1640bbf feat(FileList): adds size prop in FileItemProp -* c52f193 feat(dropdown): adds searchDebounceDuration prop and fixes option value prop -* 58c594d fix: adds ev.stopPropagation in trigger element onClick +* c4d1e95 v1.7.1 diff --git a/dist/.lib/tsconfig.type.tsbuildinfo b/dist/.lib/tsconfig.type.tsbuildinfo index a87da88a8b..aebb61e80e 100644 --- a/dist/.lib/tsconfig.type.tsbuildinfo +++ b/dist/.lib/tsconfig.type.tsbuildinfo @@ -2037,8 +2037,8 @@ "affectsGlobalScope": false }, "../../node_modules/@types/node/child_process.d.ts": { - "version": "89a3409a743c2a408d02bd68255a61d8416225b76c2c66d8e2e74dad3e00bc5d", - "signature": "89a3409a743c2a408d02bd68255a61d8416225b76c2c66d8e2e74dad3e00bc5d", + "version": "674bedbfd2004e233e2a266a3d2286e524f0d58787a98522d834d6ccda1d215a", + "signature": "674bedbfd2004e233e2a266a3d2286e524f0d58787a98522d834d6ccda1d215a", "affectsGlobalScope": false }, "../../node_modules/@types/node/cluster.d.ts": { @@ -2097,8 +2097,8 @@ "affectsGlobalScope": false }, "../../node_modules/@types/node/http2.d.ts": { - "version": "4c260129d649d69f0608cd123e7016e61364b553a5ca2de9b66b0398594959cf", - "signature": "4c260129d649d69f0608cd123e7016e61364b553a5ca2de9b66b0398594959cf", + "version": "9aff68f1b847b846d3d50a58c9f8f99389bedd0258d1b1c201f11b97ecfd36f8", + "signature": "9aff68f1b847b846d3d50a58c9f8f99389bedd0258d1b1c201f11b97ecfd36f8", "affectsGlobalScope": false }, "../../node_modules/@types/node/https.d.ts": { @@ -2341,9 +2341,9 @@ "signature": "b25c5f2970d06c729f464c0aeaa64b1a5b5f1355aa93554bb5f9c199b8624b1e", "affectsGlobalScope": false }, - "../../node_modules/@types/babel__traverse/index.d.ts": { - "version": "8a278bfba7b081cd849434c1130655046639ae90617a682436ed6954e2b57403", - "signature": "8a278bfba7b081cd849434c1130655046639ae90617a682436ed6954e2b57403", + "../../node_modules/@types/babel__traverse/ts4.1/index.d.ts": { + "version": "e60cdc881a28c83e48b0e6f4e335845c7bd83ff9d900a5ed7cc292747580450f", + "signature": "e60cdc881a28c83e48b0e6f4e335845c7bd83ff9d900a5ed7cc292747580450f", "affectsGlobalScope": false }, "../../node_modules/@babel/parser/typings/babel-parser.d.ts": { @@ -2357,13 +2357,13 @@ "affectsGlobalScope": false }, "../../node_modules/@types/babel__core/index.d.ts": { - "version": "a66e700ed470a0cb52d14f3376c1605c70fec8e9659e45f7e22ad07fcd06ae04", - "signature": "a66e700ed470a0cb52d14f3376c1605c70fec8e9659e45f7e22ad07fcd06ae04", + "version": "f90b5f1a70d869ed6e275628b7483352d4b344e8d99155d5252b45d17fa9cd13", + "signature": "f90b5f1a70d869ed6e275628b7483352d4b344e8d99155d5252b45d17fa9cd13", "affectsGlobalScope": false }, "../../node_modules/@types/cheerio/index.d.ts": { - "version": "ca40f2302e9e53f81310ce59d9887579171d7399e0f52d9c9c0d1eabaab392a5", - "signature": "ca40f2302e9e53f81310ce59d9887579171d7399e0f52d9c9c0d1eabaab392a5", + "version": "99169805c2f7bdfc478ac41fdbc960f039db458984cb8a2ee7fb9b351ee74f3d", + "signature": "99169805c2f7bdfc478ac41fdbc960f039db458984cb8a2ee7fb9b351ee74f3d", "affectsGlobalScope": true }, "../../node_modules/@types/enzyme/index.d.ts": { @@ -5148,7 +5148,7 @@ "../../node_modules/@babel/types/lib/index.d.ts", "../../node_modules/@types/babel__generator/index.d.ts", "../../node_modules/@types/babel__template/index.d.ts", - "../../node_modules/@types/babel__traverse/index.d.ts" + "../../node_modules/@types/babel__traverse/ts4.1/index.d.ts" ], "../../node_modules/@types/babel__generator/index.d.ts": [ "../../node_modules/@babel/types/lib/index.d.ts" @@ -5157,7 +5157,7 @@ "../../node_modules/@babel/parser/typings/babel-parser.d.ts", "../../node_modules/@babel/types/lib/index.d.ts" ], - "../../node_modules/@types/babel__traverse/index.d.ts": [ + "../../node_modules/@types/babel__traverse/ts4.1/index.d.ts": [ "../../node_modules/@babel/types/lib/index.d.ts" ], "../../node_modules/@types/cheerio/index.d.ts": [ @@ -5952,7 +5952,7 @@ "../../node_modules/@babel/types/lib/index.d.ts", "../../node_modules/@types/babel__generator/index.d.ts", "../../node_modules/@types/babel__template/index.d.ts", - "../../node_modules/@types/babel__traverse/index.d.ts" + "../../node_modules/@types/babel__traverse/ts4.1/index.d.ts" ], "../../node_modules/@types/babel__generator/index.d.ts": [ "../../node_modules/@babel/types/lib/index.d.ts" @@ -5961,7 +5961,7 @@ "../../node_modules/@babel/parser/typings/babel-parser.d.ts", "../../node_modules/@babel/types/lib/index.d.ts" ], - "../../node_modules/@types/babel__traverse/index.d.ts": [ + "../../node_modules/@types/babel__traverse/ts4.1/index.d.ts": [ "../../node_modules/@babel/types/lib/index.d.ts" ], "../../node_modules/@types/cheerio/index.d.ts": [ @@ -6827,7 +6827,7 @@ "../../node_modules/@types/babel__core/index.d.ts", "../../node_modules/@types/babel__generator/index.d.ts", "../../node_modules/@types/babel__template/index.d.ts", - "../../node_modules/@types/babel__traverse/index.d.ts", + "../../node_modules/@types/babel__traverse/ts4.1/index.d.ts", "../../node_modules/@types/cheerio/index.d.ts", "../../node_modules/@types/classnames/index.d.ts", "../../node_modules/@types/classnames/types.d.ts", diff --git a/dist/index.esm.js b/dist/index.esm.js index e997fabc6e..6e3b87d24a 100644 --- a/dist/index.esm.js +++ b/dist/index.esm.js @@ -1,15 +1,16 @@ /** - * Generated on: 1615366415968 + * Generated on: 1616155250715 * Package: @innovaccer/design-system - * Version: v1.7.1-0 + * Version: v1.7.1 * License: MIT * Docs: https://innovaccer.github.io/design-system */ -import React, { createElement, useState as useState$3, useEffect as useEffect$2, forwardRef, isValidElement, useRef, useImperativeHandle, Fragment as Fragment$1, createRef, cloneElement, Component, Children, PureComponent, useCallback, useReducer, useMemo } from 'react'; -import { createPortal, findDOMNode } from 'react-dom'; +import * as React from 'react'; +import React__default, { Children, PureComponent, cloneElement, Component, isValidElement, createElement, useRef, useReducer, useCallback, useEffect as useEffect$2, useMemo } from 'react'; +import * as ReactDOM from 'react-dom'; var colorToHex = function colorToHex(color) { return getComputedStyle(document.documentElement).getPropertyValue("--".concat(color)); @@ -276,27 +277,27 @@ function _createSuper(Derived) { }; } -function _slicedToArray$6(arr, i) { - return _arrayWithHoles$7(arr) || _iterableToArrayLimit$6(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest$7(); +function _slicedToArray$7(arr, i) { + return _arrayWithHoles$8(arr) || _iterableToArrayLimit$7(arr, i) || _unsupportedIterableToArray$2(arr, i) || _nonIterableRest$8(); } -function _toConsumableArray$9(arr) { - return _arrayWithoutHoles$9(arr) || _iterableToArray$a(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread$9(); +function _toConsumableArray$b(arr) { + return _arrayWithoutHoles$b(arr) || _iterableToArray$c(arr) || _unsupportedIterableToArray$2(arr) || _nonIterableSpread$b(); } -function _arrayWithoutHoles$9(arr) { - if (Array.isArray(arr)) return _arrayLikeToArray(arr); +function _arrayWithoutHoles$b(arr) { + if (Array.isArray(arr)) return _arrayLikeToArray$2(arr); } -function _arrayWithHoles$7(arr) { +function _arrayWithHoles$8(arr) { if (Array.isArray(arr)) return arr; } -function _iterableToArray$a(iter) { +function _iterableToArray$c(iter) { if (typeof Symbol !== "undefined" && Symbol.iterator in Object(iter)) return Array.from(iter); } -function _iterableToArrayLimit$6(arr, i) { +function _iterableToArrayLimit$7(arr, i) { if (typeof Symbol === "undefined" || !(Symbol.iterator in Object(arr))) return; var _arr = []; var _n = true; @@ -323,16 +324,16 @@ function _iterableToArrayLimit$6(arr, i) { return _arr; } -function _unsupportedIterableToArray(o, minLen) { +function _unsupportedIterableToArray$2(o, minLen) { if (!o) return; - if (typeof o === "string") return _arrayLikeToArray(o, minLen); + if (typeof o === "string") return _arrayLikeToArray$2(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); - if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); + if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$2(o, minLen); } -function _arrayLikeToArray(arr, len) { +function _arrayLikeToArray$2(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; @@ -340,11 +341,11 @@ function _arrayLikeToArray(arr, len) { return arr2; } -function _nonIterableSpread$9() { +function _nonIterableSpread$b() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } -function _nonIterableRest$7() { +function _nonIterableRest$8() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } @@ -352,7 +353,7 @@ function _createForOfIteratorHelper(o, allowArrayLike) { var it; if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) { - if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { + if (Array.isArray(o) || (it = _unsupportedIterableToArray$2(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; @@ -664,10 +665,6 @@ function createCommonjsModule(fn, module) { return module = { exports: {} }, fn(module, module.exports), module.exports; } -function getCjsExportFromNamespace (n) { - return n && n['default'] || n; -} - var classnames = createCommonjsModule(function (module) { /*! Copyright (c) 2017 Jed Watson. @@ -764,15 +761,15 @@ var Avatar = function Avatar(props) { var IconClass = classnames(_defineProperty$w({}, "Avatar-content--".concat(AvatarAppearance), AvatarAppearance)); var renderAvatar = function renderAvatar() { - return /*#__PURE__*/createElement("span", _extends$p({ + return /*#__PURE__*/React.createElement("span", _extends$p({ "data-test": "DesignSystem-Avatar" }, baseProps, { className: classes - }), initials && /*#__PURE__*/createElement(Text$1, { + }), initials && /*#__PURE__*/React.createElement(Text$1, { weight: "medium", appearance: 'white', className: ContentClass - }, initials), !initials && /*#__PURE__*/createElement(Icon, { + }, initials), !initials && /*#__PURE__*/React.createElement(Icon, { "data-test": "DesignSystem-AvatarIcon", name: "person", size: size === 'regular' ? 16 : 12, @@ -783,7 +780,7 @@ var Avatar = function Avatar(props) { var renderTooltip = function renderTooltip() { if (withTooltip && initials) { - return /*#__PURE__*/createElement(Tooltip, { + return /*#__PURE__*/React.createElement(Tooltip, { tooltip: tooltip, position: tooltipPosition, triggerClass: 'flex-grow-0' @@ -832,10 +829,10 @@ var AvatarGroup = function AvatarGroup(props) { }; var AvatarGroupClass = classnames(_defineProperty$w({}, 'AvatarGroup', true), className); var popperClass = classnames(_defineProperty$w({}, 'AvatarGroup-Popper', true), popperClassName); - var trigger = /*#__PURE__*/createElement("div", { + var trigger = /*#__PURE__*/React.createElement("div", { "data-test": "DesignSystem-AvatarGroup--TriggerAvatar", style: style - }, /*#__PURE__*/createElement(Avatar, { + }, /*#__PURE__*/React.createElement(Avatar, { appearance: "secondary", firstName: "+", lastName: "".concat(extraAvatars), @@ -849,9 +846,9 @@ var AvatarGroup = function AvatarGroup(props) { return popperRenderer(extraAvatarsList); } - return /*#__PURE__*/createElement("div", { + return /*#__PURE__*/React.createElement("div", { className: "py-6 pr-4 pl-6" - }, /*#__PURE__*/createElement("div", { + }, /*#__PURE__*/React.createElement("div", { className: "AvatarGroup-TextWrapper", style: { maxHeight: maxHeight @@ -862,7 +859,7 @@ var AvatarGroup = function AvatarGroup(props) { _item$lastName = item.lastName, lastName = _item$lastName === void 0 ? '' : _item$lastName; var name = "".concat(firstName, " ").concat(lastName); - return /*#__PURE__*/createElement(Text$1, { + return /*#__PURE__*/React.createElement(Text$1, { key: ind, appearance: dark ? 'white' : 'default', className: ind < extraAvatars - 1 ? 'mb-5' : '', @@ -876,12 +873,12 @@ var AvatarGroup = function AvatarGroup(props) { var appearance = item.appearance, firstName = item.firstName, lastName = item.lastName; - return /*#__PURE__*/createElement("div", { + return /*#__PURE__*/React.createElement("div", { "data-test": "DesignSystem-AvatarGroup--Avatar", className: "AvatarGroup-item", style: style, key: index - }, /*#__PURE__*/createElement(Avatar, { + }, /*#__PURE__*/React.createElement(Avatar, { appearance: appearance, firstName: firstName, lastName: lastName, @@ -892,11 +889,11 @@ var AvatarGroup = function AvatarGroup(props) { return avatars; }; - return /*#__PURE__*/createElement("div", _extends$p({ + return /*#__PURE__*/React.createElement("div", _extends$p({ "data-test": "DesignSystem-AvatarGroup" }, baseProps, { className: "".concat(AvatarGroupClass, " d-inline-flex") - }), renderAvatars(), list.length - max > 0 && /*#__PURE__*/createElement(Popover, { + }), renderAvatars(), list.length - max > 0 && /*#__PURE__*/React.createElement(Popover, { on: on, dark: dark, trigger: trigger, @@ -913,24 +910,24 @@ AvatarGroup.defaultProps = { popoverOptions: {} }; -var useEffect$1 = useEffect$2, - useState$2 = useState$3; +var useEffect$1 = React.useEffect, + useState$2 = React.useState; var Backdrop = function Backdrop(props) { var className = props.className; var baseProps = extractBaseProps(props); var _useState = useState$2(null), - _useState2 = _slicedToArray$6(_useState, 2), + _useState2 = _slicedToArray$7(_useState, 2), savedBodyOverflow = _useState2[0], setBodyOverflow = _useState2[1]; - var _React$useState = useState$3(props.open), - _React$useState2 = _slicedToArray$6(_React$useState, 2), + var _React$useState = React.useState(props.open), + _React$useState2 = _slicedToArray$7(_React$useState, 2), open = _React$useState2[0], setOpen = _React$useState2[1]; - var _React$useState3 = useState$3(props.open), - _React$useState4 = _slicedToArray$6(_React$useState3, 2), + var _React$useState3 = React.useState(props.open), + _React$useState4 = _slicedToArray$7(_React$useState3, 2), animate = _React$useState4[0], setAnimate = _React$useState4[1]; @@ -966,7 +963,7 @@ var Backdrop = function Backdrop(props) { enableBodyScroll(); } }, [props.open]); - var BackdropElement = /*#__PURE__*/createPortal( /*#__PURE__*/createElement("div", _extends$p({ + var BackdropElement = /*#__PURE__*/ReactDOM.createPortal( /*#__PURE__*/React.createElement("div", _extends$p({ "data-test": "DesignSystem-Backdrop", "data-layer": true }, baseProps, { @@ -987,7 +984,7 @@ var Badge = function Badge(props) { var classes = classnames((_classNames = { Badge: true }, _defineProperty$w(_classNames, "Badge--".concat(appearance), appearance && !subtle), _defineProperty$w(_classNames, "Badge--subtle-".concat(appearance), subtle), _classNames), className); - return /*#__PURE__*/createElement("span", _extends$p({ + return /*#__PURE__*/React.createElement("span", _extends$p({ "data-test": "DesignSystem-Badge" }, baseProps, { className: classes @@ -1197,7 +1194,7 @@ var getSelectAll$1 = function getSelectAll(selected, optionsLength, disabledOpti }; }; -var DropdownButton = /*#__PURE__*/forwardRef(function (props, ref) { +var DropdownButton = /*#__PURE__*/React.forwardRef(function (props, ref) { var _classNames, _classNames2; var _props$triggerSize = props.triggerSize, @@ -1220,7 +1217,7 @@ var DropdownButton = /*#__PURE__*/forwardRef(function (props, ref) { var iconName = !menu ? 'keyboard_arrow_down' : icon ? icon : 'more_horiz'; var buttonClass = classnames((_classNames = {}, _defineProperty$w(_classNames, 'Button', true), _defineProperty$w(_classNames, 'DropdownButton', true), _defineProperty$w(_classNames, "DropdownButton--".concat(triggerSize), triggerSize), _defineProperty$w(_classNames, "DropdownButton--".concat(triggerSize, "Square"), menu), _defineProperty$w(_classNames, 'DropdownButton--placeholder', !children && !menu), _defineProperty$w(_classNames, 'DropdownButton--icon', icon), _defineProperty$w(_classNames, 'DropdownButton--open', open), _defineProperty$w(_classNames, 'DropdownButton--error', error), _classNames)); var textClass = classnames((_classNames2 = {}, _defineProperty$w(_classNames2, 'Text', true), _defineProperty$w(_classNames2, 'Text--regular', true), _defineProperty$w(_classNames2, 'DropdownButton-text', true), _classNames2)); - return /*#__PURE__*/createElement("button", _extends$p({ + return /*#__PURE__*/React.createElement("button", _extends$p({ ref: ref, type: "button", value: children, @@ -1228,18 +1225,18 @@ var DropdownButton = /*#__PURE__*/forwardRef(function (props, ref) { disabled: disabled, tabIndex: 0, "data-test": "DesignSystem-DropdownTrigger" - }, rest), !menu && /*#__PURE__*/createElement("div", { + }, rest), !menu && /*#__PURE__*/React.createElement("div", { className: "DropdownButton-wrapper" - }, inlineLabel && /*#__PURE__*/createElement(Text$1, { + }, inlineLabel && /*#__PURE__*/React.createElement(Text$1, { appearance: "subtle", className: "mr-4" - }, "".concat(inlineLabel.trim().charAt(0).toUpperCase()).concat(inlineLabel.trim().slice(1))), icon && !inlineLabel && /*#__PURE__*/createElement(Icon, { + }, "".concat(inlineLabel.trim().charAt(0).toUpperCase()).concat(inlineLabel.trim().slice(1))), icon && !inlineLabel && /*#__PURE__*/React.createElement(Icon, { appearance: buttonDisabled, className: "d-flex align-items-center mr-4", name: icon - }), value && /*#__PURE__*/createElement("span", { + }), value && /*#__PURE__*/React.createElement("span", { className: textClass - }, value)), /*#__PURE__*/createElement(Icon, { + }, value)), /*#__PURE__*/React.createElement(Icon, { appearance: buttonDisabled, name: iconName })); @@ -1253,7 +1250,7 @@ var GenericText = function GenericText(_ref) { className = _ref.className, props = _objectWithoutProperties$a(_ref, ["children", "componentType", "className"]); - return /*#__PURE__*/createElement(componentType, _objectSpread2(_objectSpread2({}, props), {}, { + return /*#__PURE__*/React.createElement(componentType, _objectSpread2(_objectSpread2({}, props), {}, { className: className }), children); }; @@ -1271,7 +1268,7 @@ var Text$1 = function Text(props) { var classes = classnames((_classNames = { Text: true }, _defineProperty$w(_classNames, "Text--".concat(appearance), appearance), _defineProperty$w(_classNames, "Text--".concat(weight), weight), _defineProperty$w(_classNames, "Text--".concat(size), size), _defineProperty$w(_classNames, 'Text--small', size === 'small' || small), _classNames), className); - return /*#__PURE__*/createElement(GenericText, _extends$p({ + return /*#__PURE__*/React.createElement(GenericText, _extends$p({ "data-test": "DesignSystem-Text" }, baseProps, { className: classes, @@ -1308,13 +1305,13 @@ var Icon = function Icon(props) { width: "".concat(size, "px") }; // change `children` to {name} after migration - if (children && /*#__PURE__*/isValidElement(children)) { - return /*#__PURE__*/createElement("span", _extends$p({}, baseProps, { + if (children && /*#__PURE__*/React.isValidElement(children)) { + return /*#__PURE__*/React.createElement("span", _extends$p({}, baseProps, { className: className }), children); } - return /*#__PURE__*/createElement("i", _extends$p({}, baseProps, { + return /*#__PURE__*/React.createElement("i", _extends$p({}, baseProps, { className: iconClass, style: styles, onClick: onClick @@ -1341,7 +1338,7 @@ var uidGenerator = function uidGenerator() { * - [Controlled Checkbox](https://reactjs.org/docs/forms.html#controlled-components) * - [Uncontrolled Checkbox](https://reactjs.org/docs/uncontrolled-components.html) */ -var Checkbox = /*#__PURE__*/forwardRef(function (props, forwardedRef) { +var Checkbox = /*#__PURE__*/React.forwardRef(function (props, forwardedRef) { var _classNames, _classNames3, _classNames4, _classNames5; var _props$size = props.size, @@ -1356,21 +1353,21 @@ var Checkbox = /*#__PURE__*/forwardRef(function (props, forwardedRef) { name = props.name, value = props.value, className = props.className; - var ref = useRef(null); + var ref = React.useRef(null); var baseProps = extractBaseProps(props); - useImperativeHandle(forwardedRef, function () { + React.useImperativeHandle(forwardedRef, function () { return ref.current; }); - var _React$useState = useState$3(props.checked === undefined ? defaultChecked : props.checked), - _React$useState2 = _slicedToArray$6(_React$useState, 2), + var _React$useState = React.useState(props.checked === undefined ? defaultChecked : props.checked), + _React$useState2 = _slicedToArray$7(_React$useState, 2), checked = _React$useState2[0], setChecked = _React$useState2[1]; - useEffect$2(function () { + React.useEffect(function () { setIndeterminate(indeterminate); }, [indeterminate]); - useEffect$2(function () { + React.useEffect(function () { if (props.checked !== undefined) { setChecked(props.checked); } @@ -1397,11 +1394,11 @@ var Checkbox = /*#__PURE__*/forwardRef(function (props, forwardedRef) { var id = "".concat(name, "-").concat(label, "-").concat(uidGenerator()); var IconName = indeterminate ? 'remove' : checked ? 'check' : ''; var IconSize = size === 'tiny' ? 8 : 16; - return /*#__PURE__*/createElement("div", { + return /*#__PURE__*/React.createElement("div", { className: CheckboxClass - }, /*#__PURE__*/createElement("div", { + }, /*#__PURE__*/React.createElement("div", { className: CheckboxOuterWrapper - }, /*#__PURE__*/createElement("input", _extends$p({}, baseProps, { + }, /*#__PURE__*/React.createElement("input", _extends$p({}, baseProps, { type: "checkbox", defaultChecked: defaultChecked, onChange: onChangeHandler, @@ -1413,16 +1410,16 @@ var Checkbox = /*#__PURE__*/forwardRef(function (props, forwardedRef) { className: CheckboxInputWrapper, tabIndex: tabIndex, id: id - })), /*#__PURE__*/createElement("span", { + })), /*#__PURE__*/React.createElement("span", { className: CheckboxWrapper - }, IconName && /*#__PURE__*/createElement(Icon, { + }, IconName && /*#__PURE__*/React.createElement(Icon, { name: IconName, size: IconSize, appearance: 'white' - }))), label && label.trim() && /*#__PURE__*/createElement("label", { + }))), label && label.trim() && /*#__PURE__*/React.createElement("label", { htmlFor: id, className: CheckboxTextClass - }, /*#__PURE__*/createElement(Text$1, { + }, /*#__PURE__*/React.createElement(Text$1, { size: size === 'tiny' ? 'small' : 'regular', appearance: disabled ? 'disabled' : 'default' }, label.trim()))); @@ -1438,12 +1435,12 @@ var CheckboxOption = function CheckboxOption(props) { dataTest = props.dataTest; var label = optionData.label, disabled = optionData.disabled; - return /*#__PURE__*/createElement("div", { + return /*#__PURE__*/React.createElement("div", { className: className, onMouseEnter: onUpdateActiveOption, "data-test": dataTest, "data-disabled": disabled - }, /*#__PURE__*/createElement(Checkbox, { + }, /*#__PURE__*/React.createElement(Checkbox, { label: label, disabled: disabled, checked: selected, @@ -1463,15 +1460,15 @@ var DefaultOption = function DefaultOption(props) { dataTest = props.dataTest; var label = optionData.label, disabled = optionData.disabled; - return /*#__PURE__*/createElement("div", { + return /*#__PURE__*/React.createElement("div", { className: className, onClick: onClickHandler, onMouseEnter: onUpdateActiveOption, "data-test": dataTest, "data-disabled": disabled - }, /*#__PURE__*/createElement("div", { + }, /*#__PURE__*/React.createElement("div", { className: 'Option-label' - }, /*#__PURE__*/createElement(Text$1, { + }, /*#__PURE__*/React.createElement(Text$1, { className: textClassName, appearance: appearance }, label))); @@ -1489,15 +1486,15 @@ var MetaOption = function MetaOption(props) { var subInfo = optionData.subInfo, label = optionData.label, disabled = optionData.disabled; - return /*#__PURE__*/createElement("div", { + return /*#__PURE__*/React.createElement("div", { className: className, onClick: onClickHandler, onMouseEnter: onUpdateActiveOption, "data-test": dataTest, "data-disabled": disabled - }, /*#__PURE__*/createElement("div", { + }, /*#__PURE__*/React.createElement("div", { className: 'Option-label' - }, /*#__PURE__*/createElement(Text$1, { + }, /*#__PURE__*/React.createElement(Text$1, { className: textClassName, appearance: appearance }, label), subInfo && renderSubInfo(subInfo))); @@ -1517,19 +1514,19 @@ var IconOption = function IconOption(props) { icon = optionData.icon, disabled = optionData.disabled; var OptionClass = classnames((_classNames = {}, _defineProperty$w(_classNames, "".concat(className), true), _defineProperty$w(_classNames, 'Option--icon', icon), _classNames)); - return /*#__PURE__*/createElement("div", { + return /*#__PURE__*/React.createElement("div", { className: OptionClass, onClick: onClickHandler, onMouseEnter: onUpdateActiveOption, "data-test": dataTest, "data-disabled": disabled - }, icon && /*#__PURE__*/createElement(Icon, { + }, icon && /*#__PURE__*/React.createElement(Icon, { className: "Option-icon mr-4", name: icon, appearance: appearance - }), /*#__PURE__*/createElement("div", { + }), /*#__PURE__*/React.createElement("div", { className: 'Option-label' - }, /*#__PURE__*/createElement(Text$1, { + }, /*#__PURE__*/React.createElement(Text$1, { className: textClassName, appearance: appearance }, label))); @@ -1551,19 +1548,19 @@ var IconWithMetaOption = function IconWithMetaOption(props) { icon = optionData.icon, disabled = optionData.disabled; var OptionClass = classnames((_classNames = {}, _defineProperty$w(_classNames, "".concat(className), true), _defineProperty$w(_classNames, 'Option--icon', icon), _classNames)); - return /*#__PURE__*/createElement("div", { + return /*#__PURE__*/React.createElement("div", { className: OptionClass, onClick: onClickHandler, onMouseEnter: onUpdateActiveOption, "data-test": dataTest, "data-disabled": disabled - }, icon && /*#__PURE__*/createElement(Icon, { + }, icon && /*#__PURE__*/React.createElement(Icon, { className: "Option-icon mr-4", name: icon, appearance: appearance - }), /*#__PURE__*/createElement("div", { + }), /*#__PURE__*/React.createElement("div", { className: 'Option-label' - }, /*#__PURE__*/createElement(Text$1, { + }, /*#__PURE__*/React.createElement(Text$1, { className: textClassName, appearance: appearance }, label), subInfo && renderSubInfo(subInfo))); @@ -1613,7 +1610,7 @@ var Option = function Option(props) { }; if (props.optionRenderer) { - return /*#__PURE__*/createElement("div", _extends$p({ + return /*#__PURE__*/React.createElement("div", _extends$p({ className: customOptionClass, "data-disabled": disabled, onMouseEnter: onUpdateActiveOption @@ -1633,7 +1630,7 @@ var Option = function Option(props) { var iconAppearance = selected ? 'white' : 'disabled'; if (typeof subInfo === 'string') { - return /*#__PURE__*/createElement(Text$1, { + return /*#__PURE__*/React.createElement(Text$1, { appearance: labelAppearance }, subInfo); } @@ -1641,7 +1638,7 @@ var Option = function Option(props) { var _subInfo$list = subInfo.list, list = _subInfo$list === void 0 ? [] : _subInfo$list, seperator = subInfo.seperator; - return /*#__PURE__*/createElement(MetaList, { + return /*#__PURE__*/React.createElement(MetaList, { list: list, seperator: seperator, iconAppearance: iconAppearance, @@ -1682,9 +1679,9 @@ var PlaceholderParagraph = function PlaceholderParagraph(props) { var wrapperClass = classnames((_classNames2 = { 'PlaceholderParagraph-wrapper': true }, _defineProperty$w(_classNames2, "PlaceholderParagraph-wrapper--length-".concat(length), length), _defineProperty$w(_classNames2, "PlaceholderParagraph-wrapper--size-".concat(size), size), _classNames2), className); - return /*#__PURE__*/createElement("div", _extends$p({}, baseProps, { + return /*#__PURE__*/React.createElement("div", _extends$p({}, baseProps, { className: wrapperClass - }), /*#__PURE__*/createElement("span", { + }), /*#__PURE__*/React.createElement("span", { className: classes })); }; @@ -1705,7 +1702,7 @@ var PlaceholderImage = function PlaceholderImage(props) { PlaceholderImage: true, 'Placeholder--animation': true }, _defineProperty$w(_classNames, 'PlaceholderImage--round', round), _defineProperty$w(_classNames, "PlaceholderImage--".concat(size), size), _classNames), className); - return /*#__PURE__*/createElement("span", _extends$p({}, baseProps, { + return /*#__PURE__*/React.createElement("span", _extends$p({}, baseProps, { className: classes })); }; @@ -1725,15 +1722,15 @@ var Placeholder = function Placeholder(props) { 'Placeholder-paragraph': true }, 'Placeholder-paragraph--withImage', withImage)); var classes = classnames(_defineProperty$w({}, 'Placeholder', true), className); - return /*#__PURE__*/createElement("div", _extends$p({ + return /*#__PURE__*/React.createElement("div", _extends$p({ "data-test": "DesignSystem-Placeholder" }, baseProps, { className: classes - }), withImage && /*#__PURE__*/createElement(PlaceholderImage, { + }), withImage && /*#__PURE__*/React.createElement(PlaceholderImage, { round: round, size: imageSize, "data-test": "DesignSystem-Placeholder--Image" - }), children && /*#__PURE__*/createElement("div", { + }), children && /*#__PURE__*/React.createElement("div", { className: paragraphClasses, "data-test": "DesignSystem-Placeholder--Paragraph" }, children)); @@ -1749,43 +1746,43 @@ var Loading = function Loading(props) { switch (loadingType) { case 'DEFAULT': - return /*#__PURE__*/React.createElement(PlaceholderParagraph, { + return /*#__PURE__*/React__default.createElement(PlaceholderParagraph, { length: 'large' }); case 'WITH_ICON': - return /*#__PURE__*/React.createElement(Placeholder, { + return /*#__PURE__*/React__default.createElement(Placeholder, { withImage: true, round: true - }, /*#__PURE__*/React.createElement(PlaceholderParagraph, { + }, /*#__PURE__*/React__default.createElement(PlaceholderParagraph, { length: "large" })); case 'WITH_META': - return /*#__PURE__*/React.createElement(Placeholder, { + return /*#__PURE__*/React__default.createElement(Placeholder, { withImage: false - }, /*#__PURE__*/React.createElement(PlaceholderParagraph, { + }, /*#__PURE__*/React__default.createElement(PlaceholderParagraph, { length: "large" - }), /*#__PURE__*/React.createElement(PlaceholderParagraph, { + }), /*#__PURE__*/React__default.createElement(PlaceholderParagraph, { length: "medium", size: "xxs" })); case 'WITH_CHECKBOX': - return /*#__PURE__*/React.createElement(Placeholder, { + return /*#__PURE__*/React__default.createElement(Placeholder, { withImage: true - }, /*#__PURE__*/React.createElement(PlaceholderParagraph, { + }, /*#__PURE__*/React__default.createElement(PlaceholderParagraph, { length: "large" })); case 'ICON_WITH_META': - return /*#__PURE__*/React.createElement(Placeholder, { + return /*#__PURE__*/React__default.createElement(Placeholder, { withImage: true, round: true, imageSize: 'medium' - }, /*#__PURE__*/React.createElement(PlaceholderParagraph, { + }, /*#__PURE__*/React__default.createElement(PlaceholderParagraph, { length: "large" - }), /*#__PURE__*/React.createElement(PlaceholderParagraph, { + }), /*#__PURE__*/React__default.createElement(PlaceholderParagraph, { length: "medium", size: "xxs" })); @@ -1839,23 +1836,23 @@ var DropdownList = function DropdownList(props) { toggleDropdown = props.toggleDropdown, className = props.className; var baseProps = extractBaseProps(props); - var dropdownRef = /*#__PURE__*/createRef(); - var triggerRef = /*#__PURE__*/createRef(); - var dropdownTriggerRef = /*#__PURE__*/createRef(); - var dropdownCancelButtonRef = /*#__PURE__*/createRef(); - var dropdownApplyButtonRef = /*#__PURE__*/createRef(); - - var _React$useState = useState$3(), - _React$useState2 = _slicedToArray$6(_React$useState, 2), + var dropdownRef = /*#__PURE__*/React.createRef(); + var triggerRef = /*#__PURE__*/React.createRef(); + var dropdownTriggerRef = /*#__PURE__*/React.createRef(); + var dropdownCancelButtonRef = /*#__PURE__*/React.createRef(); + var dropdownApplyButtonRef = /*#__PURE__*/React.createRef(); + + var _React$useState = React.useState(), + _React$useState2 = _slicedToArray$7(_React$useState, 2), popoverStyle = _React$useState2[0], setPopoverStyle = _React$useState2[1]; - var _React$useState3 = useState$3(firstEnabledOption), - _React$useState4 = _slicedToArray$6(_React$useState3, 2), + var _React$useState3 = React.useState(firstEnabledOption), + _React$useState4 = _slicedToArray$7(_React$useState3, 2), cursor = _React$useState4[0], setCursor = _React$useState4[1]; - useEffect$2(function () { + React.useEffect(function () { if (dropdownOpen) { var _triggerRef$current; @@ -1872,7 +1869,7 @@ var DropdownList = function DropdownList(props) { setPopoverStyle(popperWrapperStyle); } }, [dropdownOpen]); - useEffect$2(function () { + React.useEffect(function () { if (firstEnabledOption !== cursor) setCursor(firstEnabledOption); }, [firstEnabledOption]); var _props$triggerSize = props.triggerSize, @@ -1884,12 +1881,12 @@ var DropdownList = function DropdownList(props) { disabled = props.disabled, inlineLabel = props.inlineLabel, triggerLabel = props.triggerLabel; - var CustomTrigger = customTrigger ? customTrigger(triggerLabel ? triggerLabel : placeholder) : /*#__PURE__*/createElement(Fragment$1, null); - var NewCustomTrigger = /*#__PURE__*/cloneElement(CustomTrigger, { + var CustomTrigger = customTrigger ? customTrigger(triggerLabel ? triggerLabel : placeholder) : /*#__PURE__*/React.createElement(React.Fragment, null); + var NewCustomTrigger = /*#__PURE__*/React.cloneElement(CustomTrigger, { tabindex: 0, ref: dropdownTriggerRef }); - var trigger = customTrigger ? NewCustomTrigger : /*#__PURE__*/createElement(DropdownButton, { + var trigger = customTrigger ? NewCustomTrigger : /*#__PURE__*/React.createElement(DropdownButton, { placeholder: placeholder, triggerSize: triggerSize, open: dropdownOpen, @@ -1968,9 +1965,9 @@ var DropdownList = function DropdownList(props) { var renderFooter = function renderFooter() { var _props$footerLabel = props.footerLabel, footerLabel = _props$footerLabel === void 0 ? 'Search for more options' : _props$footerLabel; - return /*#__PURE__*/createElement("div", { + return /*#__PURE__*/React.createElement("div", { className: 'Dropdown-footer' - }, /*#__PURE__*/createElement(Text$1, { + }, /*#__PURE__*/React.createElement(Text$1, { size: "small", appearance: 'subtle' }, footerLabel)); @@ -1981,12 +1978,12 @@ var DropdownList = function DropdownList(props) { var isClearDisabled = selected.every(function (option) { return option.disabled; }); - return /*#__PURE__*/createElement("div", { + return /*#__PURE__*/React.createElement("div", { className: getDropdownSectionClass(selectedGroup) - }, /*#__PURE__*/createElement(Text$1, { + }, /*#__PURE__*/React.createElement(Text$1, { size: "small", appearance: 'subtle' - }, group), selectedGroup && /*#__PURE__*/createElement(Button, { + }, group), selectedGroup && /*#__PURE__*/React.createElement(Button, { onClick: onClearOptions, disabled: isClearDisabled, appearance: "transparent", @@ -1997,16 +1994,16 @@ var DropdownList = function DropdownList(props) { var renderApplyButton = function renderApplyButton() { var disable = _isEqual(previousSelected, tempSelected); - return /*#__PURE__*/createElement("div", { + return /*#__PURE__*/React.createElement("div", { className: 'Dropdown-buttonWrapper' - }, /*#__PURE__*/createElement(Button, { + }, /*#__PURE__*/React.createElement(Button, { ref: dropdownCancelButtonRef, className: "mr-4", appearance: 'basic', onClick: onCancelOptions, size: 'tiny', tabIndex: -1 - }, cancelButtonLabel), /*#__PURE__*/createElement(Button, { + }, cancelButtonLabel), /*#__PURE__*/React.createElement(Button, { ref: dropdownApplyButtonRef, appearance: 'primary', disabled: disable, @@ -2019,9 +2016,9 @@ var DropdownList = function DropdownList(props) { var loadingOptions = props.loadingOptions, searchInit = props.searchInit; var disable = loadingOptions && !searchInit; - return /*#__PURE__*/createElement("div", { + return /*#__PURE__*/React.createElement("div", { className: 'Dropdown-inputWrapper' - }, /*#__PURE__*/createElement(Input, { + }, /*#__PURE__*/React.createElement(Input, { name: "Dropdown-search", icon: 'search', value: searchTerm, @@ -2040,10 +2037,10 @@ var DropdownList = function DropdownList(props) { var arr = Array(loadersLength).fill('Loading'); var type = withCheckbox ? 'WITH_CHECKBOX' : optionType; return arr.map(function (option, ind) { - return /*#__PURE__*/createElement("div", { + return /*#__PURE__*/React.createElement("div", { className: "Option-loading", key: "".concat(option, "-").concat(ind) - }, /*#__PURE__*/createElement(Loading, { + }, /*#__PURE__*/React.createElement(Loading, { loadingType: type })); }); @@ -2055,12 +2052,12 @@ var DropdownList = function DropdownList(props) { selectAll = props.selectAll, onSelectAll = props.onSelectAll; var label = selectAllLabel.trim() ? selectAllLabel.trim() : 'Select All'; - return /*#__PURE__*/createElement("div", { + return /*#__PURE__*/React.createElement("div", { className: SelectAllClass, onMouseEnter: function onMouseEnter(_e) { return updateActiveOption(0, true); } - }, /*#__PURE__*/createElement(Checkbox, { + }, /*#__PURE__*/React.createElement(Checkbox, { label: label, onChange: onSelectAll, checked: selectAll.checked, @@ -2081,7 +2078,7 @@ var DropdownList = function DropdownList(props) { var optionIsSelected = tempSelected.findIndex(function (option) { return option.value === item.value; }) !== -1; - return /*#__PURE__*/createElement(Option, { + return /*#__PURE__*/React.createElement(Option, { optionData: item, truncateOption: truncateOption, selected: optionIsSelected, @@ -2111,9 +2108,9 @@ var DropdownList = function DropdownList(props) { var selectAllPresent = _isSelectAllPresent(searchTerm, remainingOptions, withSelectAll, withCheckbox); if (loadersCount && loadingOptions) { - return /*#__PURE__*/createElement("div", { + return /*#__PURE__*/React.createElement("div", { className: 'Dropdown-loading' - }, /*#__PURE__*/createElement("div", { + }, /*#__PURE__*/React.createElement("div", { className: "Dropdown-wrapper", style: dropdownStyle }, renderLoading(loadersCount))); @@ -2122,16 +2119,16 @@ var DropdownList = function DropdownList(props) { if (listOptions.length === 0 && !loadingOptions) { var _props$noResultMessag = props.noResultMessage, noResultMessage = _props$noResultMessag === void 0 ? 'No result found' : _props$noResultMessag; - return /*#__PURE__*/createElement("div", { + return /*#__PURE__*/React.createElement("div", { className: 'Dropdown-errorWrapper' - }, /*#__PURE__*/createElement("div", { + }, /*#__PURE__*/React.createElement("div", { className: 'Option' - }, /*#__PURE__*/createElement("div", { + }, /*#__PURE__*/React.createElement("div", { className: 'Option-subinfo' }, noResultMessage))); } - return /*#__PURE__*/createElement("div", { + return /*#__PURE__*/React.createElement("div", { className: dropdownWrapperClass, style: dropdownStyle, ref: dropdownRef @@ -2142,7 +2139,7 @@ var DropdownList = function DropdownList(props) { var currentGroup = option.group; var isGroup = prevGroup !== currentGroup; var updatedIndex = index + selected.length; - return /*#__PURE__*/createElement("div", { + return /*#__PURE__*/React.createElement("div", { className: getDropdownClass(updatedIndex, isGroup), key: index }, isGroup && currentGroup && renderGroups(currentGroup), renderOptions(option, updatedIndex)); @@ -2237,11 +2234,11 @@ var DropdownList = function DropdownList(props) { } }; - return /*#__PURE__*/createElement("div", _extends$p({}, baseProps, { + return /*#__PURE__*/React.createElement("div", _extends$p({}, baseProps, { className: dropdownClass, ref: triggerRef, onKeyDown: onkeydown - }), /*#__PURE__*/createElement(Popover, _extends$p({ + }), /*#__PURE__*/React.createElement(Popover, _extends$p({ onToggle: onToggleDropdown, trigger: trigger, triggerClass: !menu ? 'w-100' : '', @@ -2253,7 +2250,7 @@ var DropdownList = function DropdownList(props) { DropdownList.displayName = 'DropdownList'; -var inputRef = /*#__PURE__*/createRef(); +var inputRef = /*#__PURE__*/React.createRef(); /** * ###Note: @@ -2579,9 +2576,9 @@ var Dropdown = /*#__PURE__*/function (_React$Component) { var selectedDisabledArray = selectedArr.filter(function (option) { return option.disabled; }); - var selectedArray = event.target.checked ? [].concat(_toConsumableArray$9(options.filter(function (option) { + var selectedArray = event.target.checked ? [].concat(_toConsumableArray$b(options.filter(function (option) { return !option.disabled; - })), _toConsumableArray$9(selectedDisabledArray)) : selectedDisabledArray; + })), _toConsumableArray$b(selectedDisabledArray)) : selectedDisabledArray; _this.updateSelectedOptions(selectedArray, false); }); @@ -2855,7 +2852,7 @@ var Dropdown = /*#__PURE__*/function (_React$Component) { var firstEnabledOption = _isSelectAllPresent(searchTerm, remainingOptionsLen, withSelectAll, withCheckbox) ? 0 : options.findIndex(function (option) { return !option.disabled; }); - return /*#__PURE__*/createElement(DropdownList, _extends$p({ + return /*#__PURE__*/React.createElement(DropdownList, _extends$p({ listOptions: options, inputRef: inputRef, remainingOptions: remainingOptionsLen, @@ -2884,7 +2881,7 @@ var Dropdown = /*#__PURE__*/function (_React$Component) { }]); return Dropdown; -}(Component); +}(React.Component); _defineProperty$w(Dropdown, "defaultProps", { triggerOptions: {}, @@ -2904,7 +2901,7 @@ var SubtleLink = function SubtleLink(props) { onClick(); }; - return /*#__PURE__*/createElement("a", { + return /*#__PURE__*/React.createElement("a", { className: "SubtleLink", href: href, onClick: onClickHandler @@ -2912,7 +2909,7 @@ var SubtleLink = function SubtleLink(props) { }; var renderLink = function renderLink(item, _onClick) { - return /*#__PURE__*/createElement(SubtleLink, { + return /*#__PURE__*/React.createElement(SubtleLink, { href: item.link, onClick: function onClick() { return _onClick(item.link); @@ -2929,14 +2926,14 @@ var renderDropdown = function renderDropdown(list, onClick) { }); var customTrigger = function customTrigger() { - return /*#__PURE__*/createElement(Button, { + return /*#__PURE__*/React.createElement(Button, { size: "tiny", appearance: "transparent", icon: "more_horiz_filled" }); }; - return /*#__PURE__*/createElement(Dropdown, { + return /*#__PURE__*/React.createElement(Dropdown, { triggerSize: 'tiny', triggerOptions: { customTrigger: customTrigger @@ -2955,32 +2952,32 @@ var Breadcrumbs = function Breadcrumbs(props) { className = props.className; var baseProps = extractBaseProps(props); var BreadcrumbClass = classnames(_defineProperty$w({}, 'Breadcrumbs', true), className); - return /*#__PURE__*/createElement("div", _extends$p({}, baseProps, { + return /*#__PURE__*/React.createElement("div", _extends$p({}, baseProps, { className: BreadcrumbClass }), list.length <= 4 ? list.map(function (item, index) { - return /*#__PURE__*/createElement("div", { + return /*#__PURE__*/React.createElement("div", { key: index, className: "Breadcrumbs-item" - }, /*#__PURE__*/createElement("span", { + }, /*#__PURE__*/React.createElement("span", { className: "Breadcrumbs-link" - }, renderLink(item, onClick)), /*#__PURE__*/createElement("span", { + }, renderLink(item, onClick)), /*#__PURE__*/React.createElement("span", { className: "Breadcrumbs-itemSeparator" }, "/")); - }) : /*#__PURE__*/createElement(Fragment$1, null, /*#__PURE__*/createElement("div", { + }) : /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", { className: "Breadcrumbs-item" - }, /*#__PURE__*/createElement("span", { + }, /*#__PURE__*/React.createElement("span", { className: "Breadcrumbs-link" - }, renderLink(list[0], onClick)), /*#__PURE__*/createElement("span", { + }, renderLink(list[0], onClick)), /*#__PURE__*/React.createElement("span", { className: "Breadcrumbs-itemSeparator" - }, "/")), /*#__PURE__*/createElement("div", { + }, "/")), /*#__PURE__*/React.createElement("div", { className: "Breadcrumbs-dropdown" - }, renderDropdown(list.slice(1, list.length - 1), onClick), /*#__PURE__*/createElement("span", { + }, renderDropdown(list.slice(1, list.length - 1), onClick), /*#__PURE__*/React.createElement("span", { className: "Breadcrumbs-itemSeparator" - }, "/")), /*#__PURE__*/createElement("div", { + }, "/")), /*#__PURE__*/React.createElement("div", { className: "Breadcrumbs-item" - }, /*#__PURE__*/createElement("span", { + }, /*#__PURE__*/React.createElement("span", { className: "Breadcrumbs-link" - }, renderLink(list[list.length - 1], onClick)), /*#__PURE__*/createElement("span", { + }, renderLink(list[list.length - 1], onClick)), /*#__PURE__*/React.createElement("span", { className: "Breadcrumbs-itemSeparator" }, "/")))); }; @@ -3007,9 +3004,9 @@ var Spinner = function Spinner(props) { strokeMiterlimit: '10', strokeWidth: '4' }; - return /*#__PURE__*/createElement("svg", _extends$p({}, baseProps, { + return /*#__PURE__*/React.createElement("svg", _extends$p({}, baseProps, { className: wrapperClasses - }, svgProps), /*#__PURE__*/createElement("circle", _extends$p({ + }, svgProps), /*#__PURE__*/React.createElement("circle", _extends$p({ className: circleClasses }, circleProps))); }; @@ -3024,7 +3021,7 @@ var sizeMapping$1 = { regular: 16, large: 20 }; -var Button = /*#__PURE__*/forwardRef(function (props, ref) { +var Button = /*#__PURE__*/React.forwardRef(function (props, ref) { var _classNames, _classNames2, _classNames3; var _props$size = props.size, @@ -3048,20 +3045,20 @@ var Button = /*#__PURE__*/forwardRef(function (props, ref) { var buttonClass = classnames((_classNames = {}, _defineProperty$w(_classNames, 'Button', true), _defineProperty$w(_classNames, 'Button--expanded', expanded), _defineProperty$w(_classNames, "Button--".concat(size), size), _defineProperty$w(_classNames, "Button--".concat(size, "Square"), !children), _defineProperty$w(_classNames, "Button--".concat(appearance), appearance), _defineProperty$w(_classNames, 'Button--selected', selected && (appearance === 'basic' || appearance === 'transparent')), _defineProperty$w(_classNames, "Button--iconAlign-".concat(iconAlign), children && iconAlign), _defineProperty$w(_classNames, "".concat(className), className), _classNames)); var iconClass = classnames((_classNames2 = {}, _defineProperty$w(_classNames2, 'Button-icon', true), _defineProperty$w(_classNames2, "Button-icon--".concat(iconAlign), children && iconAlign), _classNames2)); var spinnerClass = classnames((_classNames3 = {}, _defineProperty$w(_classNames3, 'Button-spinner', true), _defineProperty$w(_classNames3, "Button-spinner--".concat(iconAlign), children && iconAlign), _classNames3)); - return /*#__PURE__*/createElement("button", _extends$p({ + return /*#__PURE__*/React.createElement("button", _extends$p({ ref: ref, type: type, className: buttonClass, disabled: disabled || loading, tabIndex: tabIndex - }, rest), loading && /*#__PURE__*/createElement("span", { + }, rest), loading && /*#__PURE__*/React.createElement("span", { className: spinnerClass - }, /*#__PURE__*/createElement(Spinner, { + }, /*#__PURE__*/React.createElement(Spinner, { size: "small", appearance: appearance === 'basic' || appearance === 'transparent' ? 'secondary' : 'white' - })), icon && !loading && /*#__PURE__*/createElement("div", { + })), icon && !loading && /*#__PURE__*/React.createElement("div", { className: iconClass - }, /*#__PURE__*/createElement(Icon, { + }, /*#__PURE__*/React.createElement(Icon, { name: icon, appearance: disabled ? 'disabled' : appearance === 'basic' || appearance === 'transparent' ? selected ? 'info' : 'default' : 'white', size: sizeMapping$1[size] @@ -3069,7 +3066,7 @@ var Button = /*#__PURE__*/forwardRef(function (props, ref) { }); Button.displayName = 'Button'; -var Card = /*#__PURE__*/forwardRef(function (props, ref) { +var Card = /*#__PURE__*/React.forwardRef(function (props, ref) { var _classNames; var _props$shadow = props.shadow, @@ -3081,7 +3078,7 @@ var Card = /*#__PURE__*/forwardRef(function (props, ref) { var classes = classnames((_classNames = { Card: true }, _defineProperty$w(_classNames, "Card--shadow-".concat(shadow), shadow), _defineProperty$w(_classNames, "".concat(className), className), _classNames)); - return /*#__PURE__*/createElement("div", _extends$p({ + return /*#__PURE__*/React.createElement("div", _extends$p({ ref: ref }, rest, { className: classes @@ -3115,16 +3112,16 @@ var GenericChip = function GenericChip(props) { if (onClick) onClick(); }; - return /*#__PURE__*/createElement("div", _extends$p({}, baseProps, { + return /*#__PURE__*/React.createElement("div", _extends$p({}, baseProps, { className: "Chip-wrapper ".concat(className), onClick: onClickHandler - }), icon && /*#__PURE__*/createElement(Icon, { + }), icon && /*#__PURE__*/React.createElement(Icon, { name: icon, appearance: disabled ? 'disabled' : selected ? 'info' : 'default', className: iconClass('left') - }), /*#__PURE__*/createElement(Text$1, { + }), /*#__PURE__*/React.createElement(Text$1, { appearance: disabled ? 'disabled' : 'default' - }, label), clearButton && /*#__PURE__*/createElement(Icon, { + }, label), clearButton && /*#__PURE__*/React.createElement(Icon, { name: "clear", appearance: disabled ? 'disabled' : selected ? 'info' : 'subtle', className: iconClass('right'), @@ -3161,7 +3158,7 @@ var Chip = function Chip(props) { }, _defineProperty$w(_classNames, "Chip-".concat(type, "--disabled"), disabled), _defineProperty$w(_classNames, "Chip--".concat(type), type && !disabled), _defineProperty$w(_classNames, "Chip-".concat(type, "--selected"), selected && !disabled), _classNames), className); var clearbutton = type === 'action' ? false : clearButton; var select = type === 'selection' && selected ? true : false; - return /*#__PURE__*/createElement(GenericChip, _extends$p({}, baseProps, { + return /*#__PURE__*/React.createElement(GenericChip, _extends$p({}, baseProps, { label: label, selected: select, icon: icon, @@ -3194,7 +3191,7 @@ var ChipGroup = function ChipGroup(props) { }; var ChipGroupClass = classnames(_defineProperty$w({}, 'ChipGroup', true), className); - return /*#__PURE__*/createElement("div", _extends$p({}, baseProps, { + return /*#__PURE__*/React.createElement("div", _extends$p({}, baseProps, { className: ChipGroupClass }), list.map(function (item, ind) { var _item$label = item.label, @@ -3205,10 +3202,10 @@ var ChipGroup = function ChipGroup(props) { selected = item.selected, clearButton = item.clearButton, name = item.name; - return /*#__PURE__*/createElement("span", { + return /*#__PURE__*/React.createElement("span", { key: ind, className: "ChipGroup-item" - }, /*#__PURE__*/createElement(Chip, { + }, /*#__PURE__*/React.createElement(Chip, { name: name, label: label, selected: selected, @@ -3227,7 +3224,7 @@ var ChipGroup = function ChipGroup(props) { }; ChipGroup.displayName = 'ChipGroup'; -var Column = /*#__PURE__*/forwardRef(function (props, ref) { +var Column = /*#__PURE__*/React.forwardRef(function (props, ref) { var _classNames; var size = props.size, @@ -3241,7 +3238,7 @@ var Column = /*#__PURE__*/forwardRef(function (props, ref) { rest = _objectWithoutProperties$a(props, ["size", "sizeXS", "sizeS", "sizeM", "sizeL", "sizeXL", "className", "children"]); var classes = classnames((_classNames = {}, _defineProperty$w(_classNames, 'Col', true), _defineProperty$w(_classNames, "Col--".concat(size), size), _defineProperty$w(_classNames, "Col--xs-".concat(sizeXS), sizeXS), _defineProperty$w(_classNames, "Col--s-".concat(sizeS), sizeS), _defineProperty$w(_classNames, "Col--m-".concat(sizeM), sizeM), _defineProperty$w(_classNames, "Col--l-".concat(sizeL), sizeL), _defineProperty$w(_classNames, "Col--xl-".concat(sizeXL), sizeXL), _defineProperty$w(_classNames, "".concat(className), className), _classNames)); - return /*#__PURE__*/createElement("div", _extends$p({ + return /*#__PURE__*/React.createElement("div", _extends$p({ ref: ref }, rest, { className: classes @@ -3267,7 +3264,7 @@ var Heading = function Heading(props) { var classes = classnames((_classNames = { Heading: true }, _defineProperty$w(_classNames, "Heading--".concat(size), size), _defineProperty$w(_classNames, "Heading--".concat(appearance), appearance), _classNames), className); - return /*#__PURE__*/createElement(GenericText, _extends$p({ + return /*#__PURE__*/React.createElement(GenericText, _extends$p({ "data-test": "DesignSystem-Heading" }, baseProps, { className: classes, @@ -3288,7 +3285,7 @@ var Subheading = function Subheading(props) { var classes = classnames(_defineProperty$w({ Subheading: true }, "Subheading--".concat(appearance), appearance), className); - return /*#__PURE__*/createElement(GenericText, _extends$p({ + return /*#__PURE__*/React.createElement(GenericText, _extends$p({ "data-test": "DesignSystem-Subheading" }, baseProps, { className: classes, @@ -3726,7 +3723,7 @@ var Calendar = /*#__PURE__*/function (_React$Component) { 'Calendar-headerIcon': true, 'Calendar-headerIcon--disabled': disabled }); - return /*#__PURE__*/createElement(Icon, { + return /*#__PURE__*/React.createElement(Icon, { name: "arrow_".concat(type === 'next' ? 'forward' : 'back'), className: headerIconClass, onClick: function onClick() { @@ -3776,25 +3773,25 @@ var Calendar = /*#__PURE__*/function (_React$Component) { if (view === 'year') headerContent = "".concat(yearBlockNav, " - ").concat(yearBlockNav + (yearBlockRange - 1)); if (view === 'month') headerContent = "".concat(yearNavVal); - return /*#__PURE__*/createElement("div", { + return /*#__PURE__*/React.createElement("div", { className: headerContentClass - }, view !== 'date' && /*#__PURE__*/createElement("span", { + }, view !== 'date' && /*#__PURE__*/React.createElement("span", { onClick: function onClick() { return onClickHandler(view); } - }, /*#__PURE__*/createElement(Heading, { + }, /*#__PURE__*/React.createElement(Heading, { size: "s" - }, headerContent)), view === 'date' && /*#__PURE__*/createElement(Fragment$1, null, /*#__PURE__*/createElement("span", { + }, headerContent)), view === 'date' && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("span", { onClick: function onClick() { return onClickHandler(view); } - }, /*#__PURE__*/createElement(Heading, { + }, /*#__PURE__*/React.createElement(Heading, { size: "s" - }, months[monthNavVal])), "\xA0", /*#__PURE__*/createElement("span", { + }, months[monthNavVal])), "\xA0", /*#__PURE__*/React.createElement("span", { onClick: function onClick() { return onClickHandler('month'); } - }, /*#__PURE__*/createElement(Heading, { + }, /*#__PURE__*/React.createElement(Heading, { size: "s" }, yearNavVal)))); }); @@ -3813,7 +3810,7 @@ var Calendar = /*#__PURE__*/function (_React$Component) { return Array.from({ length: noOfRows }, function (_y, row) { - return /*#__PURE__*/createElement("div", { + return /*#__PURE__*/React.createElement("div", { key: row, className: "Calendar-valueRow" }, Array.from({ @@ -3829,13 +3826,13 @@ var Calendar = /*#__PURE__*/function (_React$Component) { 'Calendar-value--active': active, 'Calendar-value--disabled': disabled }); - return /*#__PURE__*/createElement("div", { + return /*#__PURE__*/React.createElement("div", { key: "".concat(row, "-").concat(col), className: valueClass, onClick: function onClick() { return _this.selectYear(year); } - }, /*#__PURE__*/createElement(Text$1, { + }, /*#__PURE__*/React.createElement(Text$1, { appearance: active ? 'white' : disabled ? 'disabled' : 'default' }, "".concat(year))); })); @@ -3857,7 +3854,7 @@ var Calendar = /*#__PURE__*/function (_React$Component) { return Array.from({ length: noOfRows }, function (_y, row) { - return /*#__PURE__*/createElement("div", { + return /*#__PURE__*/React.createElement("div", { key: row, className: "Calendar-valueRow" }, Array.from({ @@ -3871,13 +3868,13 @@ var Calendar = /*#__PURE__*/function (_React$Component) { 'Calendar-value--active': active, 'Calendar-value--dummy': disabled }); - return /*#__PURE__*/createElement("div", { + return /*#__PURE__*/React.createElement("div", { key: "".concat(row, "-").concat(col), className: valueClass, onClick: function onClick() { return _this.selectMonth(month); } - }, /*#__PURE__*/createElement(Text$1, { + }, /*#__PURE__*/React.createElement(Text$1, { appearance: active ? 'white' : disabled ? 'disabled' : 'default' }, months[month])); })); @@ -3899,7 +3896,7 @@ var Calendar = /*#__PURE__*/function (_React$Component) { } }; - return /*#__PURE__*/createElement(Fragment$1, null, /*#__PURE__*/createElement("div", { + return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", { className: "Calendar-dayValues" }, Array.from({ length: 7 @@ -3909,12 +3906,12 @@ var Calendar = /*#__PURE__*/function (_React$Component) { 'Calendar-value--dummy': true }); var dayValue = (day + daysInRow + getIndexOfDay(firstDayOfWeek)) % daysInRow; - return /*#__PURE__*/createElement(Subheading, { + return /*#__PURE__*/React.createElement(Subheading, { key: day, className: valueClass, appearance: "disabled" }, days[dayValue]); - })), /*#__PURE__*/createElement("div", { + })), /*#__PURE__*/React.createElement("div", { className: "Calendar-dateValues", onMouseLeave: onMouseLeaveHandler }, _this.renderDateValues(index))); @@ -3975,7 +3972,7 @@ var Calendar = /*#__PURE__*/function (_React$Component) { length: noOfRows }, function (_y, row) { if (dummyDays < daysInRow) { - return /*#__PURE__*/createElement("div", { + return /*#__PURE__*/React.createElement("div", { key: row, className: "Calendar-valueRow" }, Array.from({ @@ -4018,10 +4015,10 @@ var Calendar = /*#__PURE__*/function (_React$Component) { 'Calendar-value--dummy': dummy || disabled, 'Calendar-value--disabled': disabled }); - return /*#__PURE__*/createElement("div", { + return /*#__PURE__*/React.createElement("div", { key: "".concat(row, "-").concat(col), className: wrapperClass - }, /*#__PURE__*/createElement("span", { + }, /*#__PURE__*/React.createElement("span", { className: valueClass, onClick: function onClick() { return onClickHandler(date); @@ -4029,7 +4026,7 @@ var Calendar = /*#__PURE__*/function (_React$Component) { onMouseOver: function onMouseOver() { return onMouseOverHandler(date); } - }, !dummy && /*#__PURE__*/createElement(Text$1, { + }, !dummy && /*#__PURE__*/React.createElement(Text$1, { appearance: active ? 'white' : disabled ? 'disabled' : 'default' }, "".concat(date)))); })); @@ -4051,12 +4048,12 @@ var Calendar = /*#__PURE__*/function (_React$Component) { var bodyClass = classnames({ 'Calendar-body': true }); - return /*#__PURE__*/createElement("div", { + return /*#__PURE__*/React.createElement("div", { key: index, className: wrapperClass - }, /*#__PURE__*/createElement("div", { + }, /*#__PURE__*/React.createElement("div", { className: headerClass - }, index === 0 && _this.renderJumpButton('prev'), _this.renderHeaderContent(index), index === monthsInView - 1 && _this.renderJumpButton('next')), /*#__PURE__*/createElement("div", { + }, index === 0 && _this.renderJumpButton('prev'), _this.renderHeaderContent(index), index === monthsInView - 1 && _this.renderJumpButton('next')), /*#__PURE__*/React.createElement("div", { className: bodyClass }, view === 'year' && _this.renderBodyYear(), view === 'month' && _this.renderBodyMonth(), view === 'date' && _this.renderBodyDate(index))); }); @@ -4257,7 +4254,7 @@ var Calendar = /*#__PURE__*/function (_React$Component) { monthsInView = _this$props10.monthsInView, className = _this$props10.className; var baseProps = extractBaseProps(this.props); - return /*#__PURE__*/createElement("div", _extends$p({}, baseProps, { + return /*#__PURE__*/React.createElement("div", _extends$p({}, baseProps, { className: "Calendar-wrapper ".concat(className) }), Array.from({ length: monthsInView @@ -4268,7 +4265,7 @@ var Calendar = /*#__PURE__*/function (_React$Component) { }]); return Calendar; -}(Component); +}(React.Component); _defineProperty$w(Calendar, "defaultProps", { monthsInView: 1, @@ -4328,7 +4325,7 @@ var Trigger$1 = function Trigger(props) { }; var mask = date$2[inputFormat]; - return /*#__PURE__*/createElement(InputMask, _extends$p({ + return /*#__PURE__*/React.createElement(InputMask, _extends$p({ icon: "events", placeholder: inputFormat }, inputOptions, { @@ -4479,7 +4476,7 @@ var DatePicker = /*#__PURE__*/function (_React$Component) { var rest = _objectWithoutProperties$a(_this$props4, ["date", "open", "position", "inputFormat", "outputFormat", "inputOptions", "validators", "withInput", "disabledBefore", "disabledAfter", "onDateChange", "closeOnSelect"]); var date = this.state.date; - return /*#__PURE__*/createElement(Calendar, _extends$p({}, rest, { + return /*#__PURE__*/React.createElement(Calendar, _extends$p({}, rest, { date: convertToDate(date, inputFormat, validators), disabledBefore: convertToDate(disabledBefore, inputFormat, validators), disabledAfter: convertToDate(disabledAfter, inputFormat, validators), @@ -4498,8 +4495,8 @@ var DatePicker = /*#__PURE__*/function (_React$Component) { var open = this.state.open; if (withInput) { - return /*#__PURE__*/createElement(Popover, { - trigger: /*#__PURE__*/createElement(Trigger$1, { + return /*#__PURE__*/React.createElement(Popover, { + trigger: /*#__PURE__*/React.createElement(Trigger$1, { inputFormat: inputFormat, inputOptions: inputOptions, validators: validators, @@ -4519,7 +4516,7 @@ var DatePicker = /*#__PURE__*/function (_React$Component) { }]); return DatePicker; -}(Component); +}(React.Component); _defineProperty$w(DatePicker, "defaultProps", _objectSpread2(_objectSpread2({}, Calendar.defaultProps), {}, { position: 'bottom-start', @@ -4538,19 +4535,19 @@ var TimePicker = function TimePicker(props) { onTimeChange = props.onTimeChange, timeProp = props.time; - var _React$useState = useState$3(timeProp), - _React$useState2 = _slicedToArray$6(_React$useState, 2), + var _React$useState = React.useState(timeProp), + _React$useState2 = _slicedToArray$7(_React$useState, 2), time = _React$useState2[0], setTime = _React$useState2[1]; - var _React$useState3 = useState$3(false), - _React$useState4 = _slicedToArray$6(_React$useState3, 2), + var _React$useState3 = React.useState(false), + _React$useState4 = _slicedToArray$7(_React$useState3, 2), init = _React$useState4[0], setInit = _React$useState4[1]; var _inputOptions$placeho = inputOptions.placeholderChar, placeholderChar = _inputOptions$placeho === void 0 ? '_' : _inputOptions$placeho; - useEffect$2(function () { + React.useEffect(function () { var timeStr = translateToTime(inputFormat, time); var updatedTime = timeProp === undefined && timeStr.includes(placeholderChar) ? time : timeProp; setTime(updatedTime); @@ -4591,7 +4588,7 @@ var TimePicker = function TimePicker(props) { }; var mask = time$1[inputFormat]; - return /*#__PURE__*/createElement(InputMask, _extends$p({ + return /*#__PURE__*/React.createElement(InputMask, _extends$p({ placeholder: placeholders[inputFormat], placeholderChar: placeholderChar }, inputOptions, { @@ -6874,7 +6871,7 @@ var FUNC_ERROR_TEXT$4 = 'Expected a function'; * // Replace `_.memoize.Cache`. * _.memoize.Cache = WeakMap; */ -function memoize(func, resolver) { +function memoize$1(func, resolver) { if (typeof func != 'function' || (resolver != null && typeof resolver != 'function')) { throw new TypeError(FUNC_ERROR_TEXT$4); } @@ -6890,14 +6887,14 @@ function memoize(func, resolver) { memoized.cache = cache.set(key, result) || cache; return result; }; - memoized.cache = new (memoize.Cache || _MapCache); + memoized.cache = new (memoize$1.Cache || _MapCache); return memoized; } // Expose `MapCache`. -memoize.Cache = _MapCache; +memoize$1.Cache = _MapCache; -var memoize_1 = memoize; +var memoize_1 = memoize$1; /** Used as the maximum memoize cache size. */ var MAX_MEMOIZE_SIZE = 500; @@ -7288,7 +7285,7 @@ var hasDuplicate = function hasDuplicate(ary) { return false; }; -var interpolateNumber$1 = function interpolateNumber(numberA, numberB) { +var interpolateNumber$2 = function interpolateNumber(numberA, numberB) { if (isNumber(numberA) && isNumber(numberB)) { return function (t) { return numberA + t * (numberB - numberA); @@ -7326,13 +7323,13 @@ function shallowEqual(a, b) { return true; } -function _toConsumableArray$8(arr) { return _arrayWithoutHoles$8(arr) || _iterableToArray$9(arr) || _nonIterableSpread$8(); } +function _toConsumableArray$a(arr) { return _arrayWithoutHoles$a(arr) || _iterableToArray$b(arr) || _nonIterableSpread$a(); } -function _nonIterableSpread$8() { throw new TypeError("Invalid attempt to spread non-iterable instance"); } +function _nonIterableSpread$a() { throw new TypeError("Invalid attempt to spread non-iterable instance"); } -function _iterableToArray$9(iter) { if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter); } +function _iterableToArray$b(iter) { if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter); } -function _arrayWithoutHoles$8(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } } +function _arrayWithoutHoles$a(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } } function _objectWithoutProperties$9(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$a(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; } @@ -7536,7 +7533,7 @@ var findAllByType = function findAllByType(children, type) { types = [getDisplayName(type)]; } - React.Children.forEach(children, function (child) { + React__default.Children.forEach(children, function (child) { var childType = child && child.type && (child.type.displayName || child.type.name); if (types.indexOf(childType) !== -1) { @@ -7565,7 +7562,7 @@ var getPresentationAttributes = function getPresentationAttributes(el) { return null; } - var props = React.isValidElement(el) ? el.props : el; + var props = React__default.isValidElement(el) ? el.props : el; if (!isObject_1(props)) { return null; @@ -7605,7 +7602,7 @@ var filterEventAttributes = function filterEventAttributes(el, newHandler) { return null; } - var props = React.isValidElement(el) ? el.props : el; + var props = React__default.isValidElement(el) ? el.props : el; if (!isObject_1(props)) { return null; @@ -7760,7 +7757,7 @@ var renderByOrder = function renderByOrder(children, renderMap) { var results = handler(child, displayName, index); if (isArray_1(results)) { - elements = [elements].concat(_toConsumableArray$8(results)); + elements = [elements].concat(_toConsumableArray$a(results)); } else { elements.push(results); } @@ -7826,7 +7823,7 @@ function Surface(props) { }; var layerClass = classnames('recharts-surface', className); var attrs = getPresentationAttributes(others); - return React.createElement("svg", _extends$o({}, attrs, { + return React__default.createElement("svg", _extends$o({}, attrs, { className: layerClass, width: width, height: height, @@ -7854,7 +7851,7 @@ function Layer(props) { others = _objectWithoutProperties$7(props, ["children", "className"]); var layerClass = classnames('recharts-layer', className); - return React.createElement("g", _extends$n({ + return React__default.createElement("g", _extends$n({ className: layerClass }, others), children); } @@ -9444,11 +9441,11 @@ var _baseMatchesProperty = baseMatchesProperty; * console.log(_.identity(object) === object); * // => true */ -function identity$4(value) { +function identity$5(value) { return value; } -var identity_1 = identity$4; +var identity_1 = identity$5; /** * The base implementation of `_.property` without support for deep paths. @@ -10866,7 +10863,7 @@ function (_PureComponent) { size = _this$props2.size; if (cx === +cx && cy === +cy && size === +size) { - return React.createElement("path", _extends$m({}, getPresentationAttributes(this.props), filterEventAttributes(this.props), { + return React__default.createElement("path", _extends$m({}, getPresentationAttributes(this.props), filterEventAttributes(this.props), { className: classnames('recharts-symbols', className), transform: "translate(".concat(cx, ", ").concat(cy, ")"), d: this.getPath() @@ -10948,7 +10945,7 @@ function (_PureComponent) { var color = data.inactive ? inactiveColor : data.color; if (data.type === 'plainline') { - return React.createElement("line", { + return React__default.createElement("line", { strokeWidth: 4, fill: "none", stroke: color, @@ -10962,7 +10959,7 @@ function (_PureComponent) { } if (data.type === 'line') { - return React.createElement("path", { + return React__default.createElement("path", { strokeWidth: 4, fill: "none", stroke: color, @@ -10972,7 +10969,7 @@ function (_PureComponent) { } if (data.type === 'rect') { - return React.createElement("path", { + return React__default.createElement("path", { stroke: "none", fill: color, d: "M0,".concat(SIZE / 8, "h").concat(SIZE, "v").concat(SIZE * 3 / 4, "h").concat(-SIZE, "z"), @@ -10980,7 +10977,7 @@ function (_PureComponent) { }); } - return React.createElement(Symbols, { + return React__default.createElement(Symbols, { fill: color, cx: halfSize, cy: halfSize, @@ -11031,17 +11028,17 @@ function (_PureComponent) { return null; } - return React.createElement("li", _extends$l({ + return React__default.createElement("li", _extends$l({ className: className, style: itemStyle, key: "legend-item-".concat(i) // eslint-disable-line react/no-array-index-key - }, filterEventsOfChild(_this.props, entry, i)), React.createElement(Surface, { + }, filterEventsOfChild(_this.props, entry, i)), React__default.createElement(Surface, { width: iconSize, height: iconSize, viewBox: viewBox, style: svgStyle - }, _this.renderIcon(entry)), React.createElement("span", { + }, _this.renderIcon(entry)), React__default.createElement("span", { className: "recharts-legend-item-text" }, finalFormatter ? finalFormatter(entry.value, entry, i) : entry.value)); }); @@ -11063,7 +11060,7 @@ function (_PureComponent) { margin: 0, textAlign: layout === 'horizontal' ? align : 'left' }; - return React.createElement("ul", { + return React__default.createElement("ul", { className: "recharts-default-legend", style: finalStyle }, this.renderItems()); @@ -11141,15 +11138,15 @@ var getUniqPaylod$1 = function getUniqPaylod(option, payload) { }; var renderContent$1 = function renderContent(content, props) { - if (React.isValidElement(content)) { - return React.cloneElement(content, props); + if (React__default.isValidElement(content)) { + return React__default.cloneElement(content, props); } if (isFunction_1(content)) { return content(props); } - return React.createElement(DefaultLegendContent, props); + return React__default.createElement(DefaultLegendContent, props); }; var EPS$2 = 1; @@ -11307,7 +11304,7 @@ function (_PureComponent) { height: height || 'auto' }, this.getDefaultPosition(wrapperStyle), {}, wrapperStyle); - return React.createElement("div", { + return React__default.createElement("div", { className: "recharts-legend-wrapper", style: outerStyle, ref: function ref(node) { @@ -11449,7 +11446,7 @@ var performanceNow = createCommonjsModule(function (module) { }).call(commonjsGlobal); - +//# sourceMappingURL=performance-now.js.map }); var root$2 = typeof window === 'undefined' ? commonjsGlobal : window @@ -11551,13 +11548,13 @@ function setRafTimeout(callback) { function _typeof$l(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof$l = function _typeof(obj) { return typeof obj; }; } else { _typeof$l = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof$l(obj); } -function _toArray(arr) { return _arrayWithHoles$6(arr) || _iterableToArray$8(arr) || _nonIterableRest$6(); } +function _toArray(arr) { return _arrayWithHoles$7(arr) || _iterableToArray$a(arr) || _nonIterableRest$7(); } -function _nonIterableRest$6() { throw new TypeError("Invalid attempt to destructure non-iterable instance"); } +function _nonIterableRest$7() { throw new TypeError("Invalid attempt to destructure non-iterable instance"); } -function _iterableToArray$8(iter) { if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter); } +function _iterableToArray$a(iter) { if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter); } -function _arrayWithHoles$6(arr) { if (Array.isArray(arr)) return arr; } +function _arrayWithHoles$7(arr) { if (Array.isArray(arr)) return arr; } function createAnimateManager() { var currStyle = {}; @@ -11948,7 +11945,7 @@ var IN_COMPATIBLE_PROPERTY = ['transform', 'transformOrigin', 'transition']; var getIntersectionKeys = function getIntersectionKeys(preObj, nextObj) { return intersection_1(Object.keys(preObj), Object.keys(nextObj)); }; -var identity$3 = function identity(param) { +var identity$4 = function identity(param) { return param; }; /* @@ -12010,21 +12007,21 @@ var getTransitionVal = function getTransitionVal(props, duration, easing) { }).join(','); }; -function _slicedToArray$5(arr, i) { return _arrayWithHoles$5(arr) || _iterableToArrayLimit$5(arr, i) || _nonIterableRest$5(); } +function _slicedToArray$6(arr, i) { return _arrayWithHoles$6(arr) || _iterableToArrayLimit$6(arr, i) || _nonIterableRest$6(); } -function _nonIterableRest$5() { throw new TypeError("Invalid attempt to destructure non-iterable instance"); } +function _nonIterableRest$6() { throw new TypeError("Invalid attempt to destructure non-iterable instance"); } -function _iterableToArrayLimit$5(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; } +function _iterableToArrayLimit$6(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; } -function _arrayWithHoles$5(arr) { if (Array.isArray(arr)) return arr; } +function _arrayWithHoles$6(arr) { if (Array.isArray(arr)) return arr; } -function _toConsumableArray$7(arr) { return _arrayWithoutHoles$7(arr) || _iterableToArray$7(arr) || _nonIterableSpread$7(); } +function _toConsumableArray$9(arr) { return _arrayWithoutHoles$9(arr) || _iterableToArray$9(arr) || _nonIterableSpread$9(); } -function _nonIterableSpread$7() { throw new TypeError("Invalid attempt to spread non-iterable instance"); } +function _nonIterableSpread$9() { throw new TypeError("Invalid attempt to spread non-iterable instance"); } -function _iterableToArray$7(iter) { if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter); } +function _iterableToArray$9(iter) { if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter); } -function _arrayWithoutHoles$7(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } } +function _arrayWithoutHoles$9(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } } var ACCURACY = 1e-4; var cubicBezierFactor = function cubicBezierFactor(c1, c2) { @@ -12050,7 +12047,7 @@ var derivativeCubicBezier = function derivativeCubicBezier(c1, c2) { return function (t) { var params = cubicBezierFactor(c1, c2); - var newParams = _toConsumableArray$7(params.map(function (param, i) { + var newParams = _toConsumableArray$9(params.map(function (param, i) { return param * i; }).slice(1)).concat([0]); @@ -12115,7 +12112,7 @@ var configBezier = function configBezier() { return parseFloat(x); }); - var _easing$1$split$0$spl2 = _slicedToArray$5(_easing$1$split$0$spl, 4); + var _easing$1$split$0$spl2 = _slicedToArray$6(_easing$1$split$0$spl, 4); x1 = _easing$1$split$0$spl2[0]; y1 = _easing$1$split$0$spl2[1]; @@ -12384,25 +12381,25 @@ function filter(collection, predicate) { var filter_1 = filter; -function _toConsumableArray$6(arr) { return _arrayWithoutHoles$6(arr) || _iterableToArray$6(arr) || _nonIterableSpread$6(); } +function _toConsumableArray$8(arr) { return _arrayWithoutHoles$8(arr) || _iterableToArray$8(arr) || _nonIterableSpread$8(); } -function _nonIterableSpread$6() { throw new TypeError("Invalid attempt to spread non-iterable instance"); } +function _nonIterableSpread$8() { throw new TypeError("Invalid attempt to spread non-iterable instance"); } -function _iterableToArray$6(iter) { if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter); } +function _iterableToArray$8(iter) { if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter); } -function _arrayWithoutHoles$6(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } } +function _arrayWithoutHoles$8(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } } function _objectSpread$o(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty$q(target, key, source[key]); }); } return target; } function _defineProperty$q(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; } -function _slicedToArray$4(arr, i) { return _arrayWithHoles$4(arr) || _iterableToArrayLimit$4(arr, i) || _nonIterableRest$4(); } +function _slicedToArray$5(arr, i) { return _arrayWithHoles$5(arr) || _iterableToArrayLimit$5(arr, i) || _nonIterableRest$5(); } -function _nonIterableRest$4() { throw new TypeError("Invalid attempt to destructure non-iterable instance"); } +function _nonIterableRest$5() { throw new TypeError("Invalid attempt to destructure non-iterable instance"); } -function _iterableToArrayLimit$4(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; } +function _iterableToArrayLimit$5(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; } -function _arrayWithHoles$4(arr) { if (Array.isArray(arr)) return arr; } +function _arrayWithHoles$5(arr) { if (Array.isArray(arr)) return arr; } var alpha = function alpha(begin, end, k) { return begin + (end - begin) * k; @@ -12423,7 +12420,7 @@ var calStepperVals = function calStepperVals(easing, preVals, steps) { var nextStepVals = mapObject(function (key, val) { if (needContinue(val)) { var _easing = easing(val.from, val.to, val.velocity), - _easing2 = _slicedToArray$4(_easing, 2), + _easing2 = _slicedToArray$5(_easing, 2), newX = _easing2[0], newV = _easing2[1]; @@ -12509,7 +12506,7 @@ var configUpdate = (function (from, to, easing, duration, render) { var t = (now - beginTime) / duration; var currStyle = mapObject(function (key, val) { - return alpha.apply(void 0, _toConsumableArray$6(val).concat([easing(t)])); + return alpha.apply(void 0, _toConsumableArray$8(val).concat([easing(t)])); }, timingStyle); // get union set and add compatible prefix render(_objectSpread$o({}, from, to, currStyle)); @@ -12518,7 +12515,7 @@ var configUpdate = (function (from, to, easing, duration, render) { cafId = raf_1(update); } else { var finalStyle = mapObject(function (key, val) { - return alpha.apply(void 0, _toConsumableArray$6(val).concat([easing(1)])); + return alpha.apply(void 0, _toConsumableArray$8(val).concat([easing(1)])); }, timingStyle); render(_objectSpread$o({}, from, to, finalStyle)); } @@ -12541,13 +12538,13 @@ function _objectWithoutProperties$6(source, excluded) { if (source == null) retu function _objectWithoutPropertiesLoose$7(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; } -function _toConsumableArray$5(arr) { return _arrayWithoutHoles$5(arr) || _iterableToArray$5(arr) || _nonIterableSpread$5(); } +function _toConsumableArray$7(arr) { return _arrayWithoutHoles$7(arr) || _iterableToArray$7(arr) || _nonIterableSpread$7(); } -function _nonIterableSpread$5() { throw new TypeError("Invalid attempt to spread non-iterable instance"); } +function _nonIterableSpread$7() { throw new TypeError("Invalid attempt to spread non-iterable instance"); } -function _iterableToArray$5(iter) { if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter); } +function _iterableToArray$7(iter) { if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter); } -function _arrayWithoutHoles$5(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } } +function _arrayWithoutHoles$7(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } } function _objectSpread$n(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty$p(target, key, source[key]); }); } return target; } @@ -12768,7 +12765,7 @@ function (_PureComponent) { var properties = nextProperties || Object.keys(style); if (typeof easing === 'function' || easing === 'spring') { - return _toConsumableArray$5(sequence).concat([_this3.runJSAnimation.bind(_this3, { + return _toConsumableArray$7(sequence).concat([_this3.runJSAnimation.bind(_this3, { from: preItem.style, to: style, duration: duration, @@ -12782,10 +12779,10 @@ function (_PureComponent) { transition: transition }); - return _toConsumableArray$5(sequence).concat([newStyle, duration, onAnimationEnd]).filter(identity$3); + return _toConsumableArray$7(sequence).concat([newStyle, duration, onAnimationEnd]).filter(identity$4); }; - return this.manager.start([onAnimationStart].concat(_toConsumableArray$5(steps.reduce(addStyle, [initialStyle, Math.max(initialTime, begin)])), [props.onAnimationEnd])); + return this.manager.start([onAnimationStart].concat(_toConsumableArray$7(steps.reduce(addStyle, [initialStyle, Math.max(initialTime, begin)])), [props.onAnimationEnd])); } }, { key: "runAnimation", @@ -12882,7 +12879,7 @@ function (_PureComponent) { return cloneContainer(Children.only(children)); } - return React.createElement("div", null, Children.map(children, function (child) { + return React__default.createElement("div", null, Children.map(children, function (child) { return cloneContainer(child); })); } @@ -13236,13 +13233,13 @@ var sortBy_1 = sortBy; function _typeof$j(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof$j = function _typeof(obj) { return typeof obj; }; } else { _typeof$j = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof$j(obj); } -function _slicedToArray$3(arr, i) { return _arrayWithHoles$3(arr) || _iterableToArrayLimit$3(arr, i) || _nonIterableRest$3(); } +function _slicedToArray$4(arr, i) { return _arrayWithHoles$4(arr) || _iterableToArrayLimit$4(arr, i) || _nonIterableRest$4(); } -function _nonIterableRest$3() { throw new TypeError("Invalid attempt to destructure non-iterable instance"); } +function _nonIterableRest$4() { throw new TypeError("Invalid attempt to destructure non-iterable instance"); } -function _iterableToArrayLimit$3(arr, i) { if (!(Symbol.iterator in Object(arr) || Object.prototype.toString.call(arr) === "[object Arguments]")) { return; } var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; } +function _iterableToArrayLimit$4(arr, i) { if (!(Symbol.iterator in Object(arr) || Object.prototype.toString.call(arr) === "[object Arguments]")) { return; } var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; } -function _arrayWithHoles$3(arr) { if (Array.isArray(arr)) return arr; } +function _arrayWithHoles$4(arr) { if (Array.isArray(arr)) return arr; } function ownKeys$m(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } @@ -13316,7 +13313,7 @@ function (_PureComponent) { var formatted = finalFormatter(value, name, entry, i); if (Array.isArray(formatted)) { - var _formatted = _slicedToArray$3(formatted, 2); + var _formatted = _slicedToArray$4(formatted, 2); value = _formatted[0]; name = _formatted[1]; @@ -13326,22 +13323,22 @@ function (_PureComponent) { } return (// eslint-disable-next-line react/no-array-index-key - React.createElement("li", { + React__default.createElement("li", { className: "recharts-tooltip-item", key: "tooltip-item-".concat(i), style: finalItemStyle - }, isNumOrStr(name) ? React.createElement("span", { + }, isNumOrStr(name) ? React__default.createElement("span", { className: "recharts-tooltip-item-name" - }, name) : null, isNumOrStr(name) ? React.createElement("span", { + }, name) : null, isNumOrStr(name) ? React__default.createElement("span", { className: "recharts-tooltip-item-separator" - }, separator) : null, React.createElement("span", { + }, separator) : null, React__default.createElement("span", { className: "recharts-tooltip-item-value" - }, value), React.createElement("span", { + }, value), React__default.createElement("span", { className: "recharts-tooltip-item-unit" }, entry.unit || '')) ); }); - return React.createElement("ul", { + return React__default.createElement("ul", { className: "recharts-tooltip-item-list", style: listStyle }, items); @@ -13381,10 +13378,10 @@ function (_PureComponent) { finalLabel = labelFormatter(label); } - return React.createElement("div", { + return React__default.createElement("div", { className: wrapperCN, style: finalStyle - }, React.createElement("p", { + }, React__default.createElement("p", { className: labelCN, style: finalLabelStyle }, finalLabel), this.renderContent()); @@ -13537,15 +13534,15 @@ var defaultProps$3 = { }; var renderContent = function renderContent(content, props) { - if (React.isValidElement(content)) { - return React.cloneElement(content, props); + if (React__default.isValidElement(content)) { + return React__default.cloneElement(content, props); } if (isFunction_1(content)) { return content(props); } - return React.createElement(DefaultTooltipContent, props); + return React__default.createElement(DefaultTooltipContent, props); }; var Tooltip$1 = @@ -13707,7 +13704,7 @@ function (_PureComponent) { } var cls = classnames(CLS_PREFIX, (_classNames = {}, _defineProperty$n(_classNames, "".concat(CLS_PREFIX, "-right"), isNumber(translateX) && coordinate && isNumber(coordinate.x) && translateX >= coordinate.x), _defineProperty$n(_classNames, "".concat(CLS_PREFIX, "-left"), isNumber(translateX) && coordinate && isNumber(coordinate.x) && translateX < coordinate.x), _defineProperty$n(_classNames, "".concat(CLS_PREFIX, "-bottom"), isNumber(translateY) && coordinate && isNumber(coordinate.y) && translateY >= coordinate.y), _defineProperty$n(_classNames, "".concat(CLS_PREFIX, "-top"), isNumber(translateY) && coordinate && isNumber(coordinate.y) && translateY < coordinate.y), _classNames)); - return React.createElement("div", { + return React__default.createElement("div", { className: cls, style: outerStyle, ref: function ref(node) { @@ -15790,7 +15787,7 @@ var _createClass = function () { function defineProperties(target, props) { for -var _react2 = _interopRequireDefault(React); +var _react2 = _interopRequireDefault(React__default); @@ -15902,7 +15899,7 @@ var ResizeDetector = function (_PureComponent) { }]); return ResizeDetector; -}(React.PureComponent); +}(React__default.PureComponent); exports.default = ResizeDetector; @@ -15932,7 +15929,7 @@ ResizeDetector.defaultProps = { unwrapExports(ResizeDetector_1); -var lib$2 = createCommonjsModule(function (module, exports) { +var lib$1 = createCommonjsModule(function (module, exports) { Object.defineProperty(exports, "__esModule", { value: true @@ -15947,7 +15944,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de exports.default = _ResizeDetector2.default; }); -var ReactResizeDetector = unwrapExports(lib$2); +var ReactResizeDetector = unwrapExports(lib$1); /* eslint no-console: 0 */ var warn = function warn(condition, format, a, b, c, d, e, f) { @@ -16081,7 +16078,7 @@ function (_Component) { calculatedHeight = maxHeight; } } - return React.cloneElement(children, { + return React__default.cloneElement(children, { width: calculatedWidth, height: calculatedHeight }); @@ -16106,14 +16103,14 @@ function (_Component) { minHeight: minHeight, maxHeight: maxHeight }; - return React.createElement("div", { + return React__default.createElement("div", { id: id, className: classnames('recharts-responsive-container', className), style: style, ref: function ref(node) { _this2.container = node; } - }, this.renderChart(), React.createElement(ReactResizeDetector, { + }, this.renderChart(), React__default.createElement(ReactResizeDetector, { handleWidth: true, handleHeight: true, onResize: this.handleResize @@ -16161,7 +16158,7 @@ function balanced$1(a, b, str) { if (a instanceof RegExp) a = maybeMatch$1(a, str); if (b instanceof RegExp) b = maybeMatch$1(b, str); - var r = range$2(a, b, str); + var r = range$3(a, b, str); return r && { start: r[0], @@ -16177,8 +16174,8 @@ function maybeMatch$1(reg, str) { return m ? m[0] : null; } -balanced$1.range = range$2; -function range$2(a, b, str) { +balanced$1.range = range$3; +function range$3(a, b, str) { var begs, beg, left, right, result; var ai = str.indexOf(a); var bi = str.indexOf(b, ai + 1); @@ -16220,7 +16217,7 @@ function balanced(a, b, str) { if (a instanceof RegExp) a = maybeMatch(a, str); if (b instanceof RegExp) b = maybeMatch(b, str); - var r = range$1(a, b, str); + var r = range$2(a, b, str); return r && { start: r[0], @@ -16236,8 +16233,8 @@ function maybeMatch(reg, str) { return m ? m[0] : null; } -balanced.range = range$1; -function range$1(a, b, str) { +balanced.range = range$2; +function range$2(a, b, str) { var begs, beg, left, right, result; var ai = str.indexOf(a); var bi = str.indexOf(b, ai + 1); @@ -17252,13 +17249,13 @@ function _objectSpread$j(target) { for (var i = 1; i < arguments.length; i++) { function _defineProperty$l(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; } -function _toConsumableArray$4(arr) { return _arrayWithoutHoles$4(arr) || _iterableToArray$4(arr) || _nonIterableSpread$4(); } +function _toConsumableArray$6(arr) { return _arrayWithoutHoles$6(arr) || _iterableToArray$6(arr) || _nonIterableSpread$6(); } -function _nonIterableSpread$4() { throw new TypeError("Invalid attempt to spread non-iterable instance"); } +function _nonIterableSpread$6() { throw new TypeError("Invalid attempt to spread non-iterable instance"); } -function _iterableToArray$4(iter) { if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter); } +function _iterableToArray$6(iter) { if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter); } -function _arrayWithoutHoles$4(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } } +function _arrayWithoutHoles$6(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } } var stringCache = { widthCache: {}, cacheCount: 0 @@ -17288,10 +17285,10 @@ function camelToMiddleLine(text) { var strs = text.split(''); var formatStrs = strs.reduce(function (result, entry) { if (entry === entry.toUpperCase()) { - return [].concat(_toConsumableArray$4(result), ['-', entry.toLowerCase()]); + return [].concat(_toConsumableArray$6(result), ['-', entry.toLowerCase()]); } - return [].concat(_toConsumableArray$4(result), [entry]); + return [].concat(_toConsumableArray$6(result), [entry]); }, []); return formatStrs.join(''); } @@ -17585,14 +17582,14 @@ function (_Component) { textProps.transform = transforms.join(' '); } - return React.createElement("text", _extends$k({}, getPresentationAttributes(textProps), filterEventAttributes(textProps), { + return React__default.createElement("text", _extends$k({}, getPresentationAttributes(textProps), filterEventAttributes(textProps), { x: x, y: y, className: classnames('recharts-text', className), textAnchor: textAnchor }), wordsByLines.map(function (line, index) { return (// eslint-disable-next-line react/no-array-index-key - React.createElement("tspan", { + React__default.createElement("tspan", { x: x, dy: index === 0 ? startDy : lineHeight, key: index @@ -17779,12 +17776,12 @@ var min_1 = min; * _.map(users, 'user'); * // => ['barney', 'fred'] */ -function map$3(collection, iteratee) { +function map$4(collection, iteratee) { var func = isArray_1(collection) ? _arrayMap : _baseMap; return func(collection, _baseIteratee(iteratee)); } -var map_1 = map$3; +var map_1 = map$4; /** * Creates a flattened array of values by running each element in `collection` @@ -19799,35 +19796,25 @@ ONE = new Decimal(1); var Decimal$1 = Decimal; -var decimal = /*#__PURE__*/Object.freeze({ - __proto__: null, - get Decimal () { return Decimal; }, - 'default': Decimal$1 -}); +function _toConsumableArray$5(arr) { return _arrayWithoutHoles$5(arr) || _iterableToArray$5(arr) || _unsupportedIterableToArray$1(arr) || _nonIterableSpread$5(); } -var utils = createCommonjsModule(function (module, exports) { +function _nonIterableSpread$5() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.memoize = exports.reverse = exports.compose = exports.map = exports.range = exports.curry = exports.PLACE_HOLDER = void 0; +function _unsupportedIterableToArray$1(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray$1(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$1(o, minLen); } -function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _nonIterableSpread(); } - -function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance"); } +function _iterableToArray$5(iter) { if (typeof Symbol !== "undefined" && Symbol.iterator in Object(iter)) return Array.from(iter); } -function _iterableToArray(iter) { if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter); } +function _arrayWithoutHoles$5(arr) { if (Array.isArray(arr)) return _arrayLikeToArray$1(arr); } -function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } } +function _arrayLikeToArray$1(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; } -var identity = function identity(i) { +var identity$3 = function identity(i) { return i; }; var PLACE_HOLDER = { '@@functional/placeholder': true }; -exports.PLACE_HOLDER = PLACE_HOLDER; var isPlaceHolder = function isPlaceHolder(val) { return val === PLACE_HOLDER; @@ -19869,7 +19856,7 @@ var curryN = function curryN(n, fn) { var newArgs = args.map(function (arg) { return isPlaceHolder(arg) ? restArgs.shift() : arg; }); - return fn.apply(void 0, _toConsumableArray(newArgs).concat(restArgs)); + return fn.apply(void 0, _toConsumableArray$5(newArgs).concat(restArgs)); })); }); }; @@ -19877,10 +19864,7 @@ var curryN = function curryN(n, fn) { var curry = function curry(fn) { return curryN(fn.length, fn); }; - -exports.curry = curry; - -var range = function range(begin, end) { +var range$1 = function range(begin, end) { var arr = []; for (var i = begin; i < end; ++i) { @@ -19889,9 +19873,7 @@ var range = function range(begin, end) { return arr; }; - -exports.range = range; -var map = curry(function (fn, arr) { +var map$3 = curry(function (fn, arr) { if (Array.isArray(arr)) { return arr.map(fn); } @@ -19900,15 +19882,13 @@ var map = curry(function (fn, arr) { return arr[key]; }).map(fn); }); -exports.map = map; - var compose = function compose() { for (var _len3 = arguments.length, args = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) { args[_key3] = arguments[_key3]; } if (!args.length) { - return identity; + return identity$3; } var fns = args.reverse(); // first function can receive multiply arguments @@ -19921,9 +19901,6 @@ var compose = function compose() { }, firstFn.apply(void 0, arguments)); }; }; - -exports.compose = compose; - var reverse = function reverse(arr) { if (Array.isArray(arr)) { return arr.reverse(); @@ -19932,9 +19909,6 @@ var reverse = function reverse(arr) { return arr.split('').reverse.join(''); }; - -exports.reverse = reverse; - var memoize = function memoize(fn) { var lastArgs = null; var lastResult = null; @@ -19955,39 +19929,11 @@ var memoize = function memoize(fn) { }; }; -exports.memoize = memoize; -}); - -unwrapExports(utils); -utils.memoize; -utils.reverse; -utils.compose; -utils.map; -utils.range; -utils.curry; -utils.PLACE_HOLDER; - -var require$$0 = getCjsExportFromNamespace(decimal); - -var arithmetic = createCommonjsModule(function (module, exports) { - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default = void 0; - -var _decimal = _interopRequireDefault(require$$0); - - - -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } - /** * @fileOverview 一些公用的运算方法 * @author xile611 * @date 2015-09-17 */ - /** * 获取数值的位数 * 其中绝对值属于区间[0.1, 1), 得到的值为0 @@ -19997,13 +19943,14 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de * @param {Number} value 数值 * @return {Integer} 位数 */ + function getDigitCount(value) { var result; if (value === 0) { result = 1; } else { - result = Math.floor(new _decimal.default(value).abs().log(10).toNumber()) + 1; + result = Math.floor(new Decimal$1(value).abs().log(10).toNumber()) + 1; } return result; @@ -20020,7 +19967,7 @@ function getDigitCount(value) { function rangeStep(start, end, step) { - var num = new _decimal.default(start); + var num = new Decimal$1(start); var i = 0; var result = []; // magic number to prevent infinite loop @@ -20042,7 +19989,7 @@ function rangeStep(start, end, step) { */ -var interpolateNumber = (0, utils.curry)(function (a, b, t) { +var interpolateNumber$1 = curry(function (a, b, t) { var newA = +a; var newB = +b; return newA + t * (newB - newA); @@ -20056,7 +20003,7 @@ var interpolateNumber = (0, utils.curry)(function (a, b, t) { * @return {Number} 当x在 a ~ b这个范围内时,返回值属于[0, 1] */ -var uninterpolateNumber = (0, utils.curry)(function (a, b, x) { +var uninterpolateNumber = curry(function (a, b, x) { var diff = b - +a; diff = diff || Infinity; return (x - a) / diff; @@ -20071,54 +20018,38 @@ var uninterpolateNumber = (0, utils.curry)(function (a, b, x) { * 当x不在 a ~ b这个区间时,会截断到 a ~ b 这个区间 */ -var uninterpolateTruncation = (0, utils.curry)(function (a, b, x) { +var uninterpolateTruncation = curry(function (a, b, x) { var diff = b - +a; diff = diff || Infinity; return Math.max(0, Math.min(1, (x - a) / diff)); }); -var _default = { +var Arithmetic = { rangeStep: rangeStep, getDigitCount: getDigitCount, - interpolateNumber: interpolateNumber, + interpolateNumber: interpolateNumber$1, uninterpolateNumber: uninterpolateNumber, uninterpolateTruncation: uninterpolateTruncation }; -exports.default = _default; -}); - -unwrapExports(arithmetic); -var getNiceTickValues_1 = createCommonjsModule(function (module, exports) { +function _toConsumableArray$4(arr) { return _arrayWithoutHoles$4(arr) || _iterableToArray$4(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread$4(); } -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.getTickValuesFixedDomain = exports.getTickValues = exports.getNiceTickValues = void 0; - -var _decimal = _interopRequireDefault(require$$0); +function _nonIterableSpread$4() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } +function _iterableToArray$4(iter) { if (typeof Symbol !== "undefined" && Symbol.iterator in Object(iter)) return Array.from(iter); } +function _arrayWithoutHoles$4(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); } -var _arithmetic = _interopRequireDefault(arithmetic); - -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } - -function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _nonIterableSpread(); } - -function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance"); } - -function _iterableToArray(iter) { if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter); } - -function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } } +function _slicedToArray$3(arr, i) { return _arrayWithHoles$3(arr) || _iterableToArrayLimit$3(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest$3(); } -function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest(); } +function _nonIterableRest$3() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } -function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance"); } +function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); } -function _iterableToArrayLimit(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; } +function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; } -function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; } +function _iterableToArrayLimit$3(arr, i) { if (typeof Symbol === "undefined" || !(Symbol.iterator in Object(arr))) return; var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; } +function _arrayWithHoles$3(arr) { if (Array.isArray(arr)) return arr; } /** * Calculate a interval of a minimum value and a maximum value * @@ -20126,8 +20057,9 @@ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; } * @param {Number} max The maximum value * @return {Array} An interval */ + function getValidInterval(_ref) { - var _ref2 = _slicedToArray(_ref, 2), + var _ref2 = _slicedToArray$3(_ref, 2), min = _ref2[0], max = _ref2[1]; @@ -20154,20 +20086,19 @@ function getValidInterval(_ref) { function getFormatStep(roughStep, allowDecimals, correctionFactor) { if (roughStep.lte(0)) { - return new _decimal.default(0); + return new Decimal$1(0); } - var digitCount = _arithmetic.default.getDigitCount(roughStep.toNumber()); // The ratio between the rough step and the smallest number which has a bigger + var digitCount = Arithmetic.getDigitCount(roughStep.toNumber()); // The ratio between the rough step and the smallest number which has a bigger // order of magnitudes than the rough step - - var digitCountValue = new _decimal.default(10).pow(digitCount); + var digitCountValue = new Decimal$1(10).pow(digitCount); var stepRatio = roughStep.div(digitCountValue); // When an integer and a float multiplied, the accuracy of result may be wrong var stepRatioScale = digitCount !== 1 ? 0.05 : 0.1; - var amendStepRatio = new _decimal.default(Math.ceil(stepRatio.div(stepRatioScale).toNumber())).add(correctionFactor).mul(stepRatioScale); + var amendStepRatio = new Decimal$1(Math.ceil(stepRatio.div(stepRatioScale).toNumber())).add(correctionFactor).mul(stepRatioScale); var formatStep = amendStepRatio.mul(digitCountValue); - return allowDecimals ? formatStep : new _decimal.default(Math.ceil(formatStep)); + return allowDecimals ? formatStep : new Decimal$1(Math.ceil(formatStep)); } /** * calculate the ticks when the minimum value equals to the maximum value @@ -20182,29 +20113,29 @@ function getFormatStep(roughStep, allowDecimals, correctionFactor) { function getTickOfSingleValue(value, tickCount, allowDecimals) { var step = 1; // calculate the middle value of ticks - var middle = new _decimal.default(value); + var middle = new Decimal$1(value); if (!middle.isint() && allowDecimals) { var absVal = Math.abs(value); if (absVal < 1) { // The step should be a float number when the difference is smaller than 1 - step = new _decimal.default(10).pow(_arithmetic.default.getDigitCount(value) - 1); - middle = new _decimal.default(Math.floor(middle.div(step).toNumber())).mul(step); + step = new Decimal$1(10).pow(Arithmetic.getDigitCount(value) - 1); + middle = new Decimal$1(Math.floor(middle.div(step).toNumber())).mul(step); } else if (absVal > 1) { // Return the maximum integer which is smaller than 'value' when 'value' is greater than 1 - middle = new _decimal.default(Math.floor(value)); + middle = new Decimal$1(Math.floor(value)); } } else if (value === 0) { - middle = new _decimal.default(Math.floor((tickCount - 1) / 2)); + middle = new Decimal$1(Math.floor((tickCount - 1) / 2)); } else if (!allowDecimals) { - middle = new _decimal.default(Math.floor(value)); + middle = new Decimal$1(Math.floor(value)); } var middleIndex = Math.floor((tickCount - 1) / 2); - var fn = (0, utils.compose)((0, utils.map)(function (n) { - return middle.add(new _decimal.default(n - middleIndex).mul(step)).toNumber(); - }), utils.range); + var fn = compose(map$3(function (n) { + return middle.add(new Decimal$1(n - middleIndex).mul(step)).toNumber(); + }), range$1); return fn(0, tickCount); } /** @@ -20225,28 +20156,28 @@ function calculateStep(min, max, tickCount, allowDecimals) { // dirty hack (for recharts' test) if (!Number.isFinite((max - min) / (tickCount - 1))) { return { - step: new _decimal.default(0), - tickMin: new _decimal.default(0), - tickMax: new _decimal.default(0) + step: new Decimal$1(0), + tickMin: new Decimal$1(0), + tickMax: new Decimal$1(0) }; } // The step which is easy to understand between two ticks - var step = getFormatStep(new _decimal.default(max).sub(min).div(tickCount - 1), allowDecimals, correctionFactor); // A medial value of ticks + var step = getFormatStep(new Decimal$1(max).sub(min).div(tickCount - 1), allowDecimals, correctionFactor); // A medial value of ticks var middle; // When 0 is inside the interval, 0 should be a tick if (min <= 0 && max >= 0) { - middle = new _decimal.default(0); + middle = new Decimal$1(0); } else { // calculate the middle value - middle = new _decimal.default(min).add(max).div(2); // minus modulo value + middle = new Decimal$1(min).add(max).div(2); // minus modulo value - middle = middle.sub(new _decimal.default(middle).mod(step)); + middle = middle.sub(new Decimal$1(middle).mod(step)); } var belowCount = Math.ceil(middle.sub(min).div(step).toNumber()); - var upCount = Math.ceil(new _decimal.default(max).sub(middle).div(step).toNumber()); + var upCount = Math.ceil(new Decimal$1(max).sub(middle).div(step).toNumber()); var scaleCount = belowCount + upCount + 1; if (scaleCount > tickCount) { @@ -20262,8 +20193,8 @@ function calculateStep(min, max, tickCount, allowDecimals) { return { step: step, - tickMin: middle.sub(new _decimal.default(belowCount).mul(step)), - tickMax: middle.add(new _decimal.default(upCount).mul(step)) + tickMin: middle.sub(new Decimal$1(belowCount).mul(step)), + tickMax: middle.add(new Decimal$1(upCount).mul(step)) }; } /** @@ -20277,7 +20208,7 @@ function calculateStep(min, max, tickCount, allowDecimals) { function getNiceTickValuesFn(_ref3) { - var _ref4 = _slicedToArray(_ref3, 2), + var _ref4 = _slicedToArray$3(_ref3, 2), min = _ref4[0], max = _ref4[1]; @@ -20287,18 +20218,18 @@ function getNiceTickValuesFn(_ref3) { var count = Math.max(tickCount, 2); var _getValidInterval = getValidInterval([min, max]), - _getValidInterval2 = _slicedToArray(_getValidInterval, 2), + _getValidInterval2 = _slicedToArray$3(_getValidInterval, 2), cormin = _getValidInterval2[0], cormax = _getValidInterval2[1]; if (cormin === -Infinity || cormax === Infinity) { - var _values = cormax === Infinity ? [cormin].concat(_toConsumableArray((0, utils.range)(0, tickCount - 1).map(function () { + var _values = cormax === Infinity ? [cormin].concat(_toConsumableArray$4(range$1(0, tickCount - 1).map(function () { return Infinity; - }))) : _toConsumableArray((0, utils.range)(0, tickCount - 1).map(function () { + }))) : [].concat(_toConsumableArray$4(range$1(0, tickCount - 1).map(function () { return -Infinity; - })).concat([cormax]); + })), [cormax]); - return min > max ? (0, utils.reverse)(_values) : _values; + return min > max ? reverse(_values) : _values; } if (cormin === cormax) { @@ -20311,51 +20242,8 @@ function getNiceTickValuesFn(_ref3) { tickMin = _calculateStep.tickMin, tickMax = _calculateStep.tickMax; - var values = _arithmetic.default.rangeStep(tickMin, tickMax.add(new _decimal.default(0.1).mul(step)), step); - - return min > max ? (0, utils.reverse)(values) : values; -} -/** - * Calculate the ticks of an interval, the count of ticks won't be guraranteed - * - * @param {Number} min, max min: The minimum value, max: The maximum value - * @param {Integer} tickCount The count of ticks - * @param {Boolean} allowDecimals Allow the ticks to be decimals or not - * @return {Array} ticks - */ - - -function getTickValuesFn(_ref5) { - var _ref6 = _slicedToArray(_ref5, 2), - min = _ref6[0], - max = _ref6[1]; - - var tickCount = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 6; - var allowDecimals = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true; - // More than two ticks should be return - var count = Math.max(tickCount, 2); - - var _getValidInterval3 = getValidInterval([min, max]), - _getValidInterval4 = _slicedToArray(_getValidInterval3, 2), - cormin = _getValidInterval4[0], - cormax = _getValidInterval4[1]; - - if (cormin === -Infinity || cormax === Infinity) { - return [min, max]; - } - - if (cormin === cormax) { - return getTickOfSingleValue(cormin, tickCount, allowDecimals); - } - - var step = getFormatStep(new _decimal.default(cormax).sub(cormin).div(count - 1), allowDecimals, 0); - var fn = (0, utils.compose)((0, utils.map)(function (n) { - return new _decimal.default(cormin).add(new _decimal.default(n).mul(step)).toNumber(); - }), utils.range); - var values = fn(0, count).filter(function (entry) { - return entry >= cormin && entry <= cormax; - }); - return min > max ? (0, utils.reverse)(values) : values; + var values = Arithmetic.rangeStep(tickMin, tickMax.add(new Decimal$1(0.1).mul(step)), step); + return min > max ? reverse(values) : values; } /** * Calculate the ticks of an interval, the count of ticks won't be guraranteed, @@ -20369,7 +20257,7 @@ function getTickValuesFn(_ref5) { function getTickValuesFixedDomainFn(_ref7, tickCount) { - var _ref8 = _slicedToArray(_ref7, 2), + var _ref8 = _slicedToArray$3(_ref7, 2), min = _ref8[0], max = _ref8[1]; @@ -20377,7 +20265,7 @@ function getTickValuesFixedDomainFn(_ref7, tickCount) { // More than two ticks should be return var _getValidInterval5 = getValidInterval([min, max]), - _getValidInterval6 = _slicedToArray(_getValidInterval5, 2), + _getValidInterval6 = _slicedToArray$3(_getValidInterval5, 2), cormin = _getValidInterval6[0], cormax = _getValidInterval6[1]; @@ -20390,55 +20278,13 @@ function getTickValuesFixedDomainFn(_ref7, tickCount) { } var count = Math.max(tickCount, 2); - var step = getFormatStep(new _decimal.default(cormax).sub(cormin).div(count - 1), allowDecimals, 0); - - var values = _toConsumableArray(_arithmetic.default.rangeStep(new _decimal.default(cormin), new _decimal.default(cormax).sub(new _decimal.default(0.99).mul(step)), step)).concat([cormax]); - - return min > max ? (0, utils.reverse)(values) : values; + var step = getFormatStep(new Decimal$1(cormax).sub(cormin).div(count - 1), allowDecimals, 0); + var values = [].concat(_toConsumableArray$4(Arithmetic.rangeStep(new Decimal$1(cormin), new Decimal$1(cormax).sub(new Decimal$1(0.99).mul(step)), step)), [cormax]); + return min > max ? reverse(values) : values; } -var getNiceTickValues = (0, utils.memoize)(getNiceTickValuesFn); -exports.getNiceTickValues = getNiceTickValues; -var getTickValues = (0, utils.memoize)(getTickValuesFn); -exports.getTickValues = getTickValues; -var getTickValuesFixedDomain = (0, utils.memoize)(getTickValuesFixedDomainFn); -exports.getTickValuesFixedDomain = getTickValuesFixedDomain; -}); - -unwrapExports(getNiceTickValues_1); -getNiceTickValues_1.getTickValuesFixedDomain; -getNiceTickValues_1.getTickValues; -getNiceTickValues_1.getNiceTickValues; - -var lib$1 = createCommonjsModule(function (module, exports) { - -Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "getTickValues", { - enumerable: true, - get: function get() { - return getNiceTickValues_1.getTickValues; - } -}); -Object.defineProperty(exports, "getNiceTickValues", { - enumerable: true, - get: function get() { - return getNiceTickValues_1.getNiceTickValues; - } -}); -Object.defineProperty(exports, "getTickValuesFixedDomain", { - enumerable: true, - get: function get() { - return getNiceTickValues_1.getTickValuesFixedDomain; - } -}); -}); - -unwrapExports(lib$1); -lib$1.getTickValues; -var lib_2 = lib$1.getNiceTickValues; -var lib_3 = lib$1.getTickValuesFixedDomain; +var getNiceTickValues = memoize(getNiceTickValuesFn); +var getTickValuesFixedDomain = memoize(getTickValuesFixedDomainFn); function ascending(a, b) { return a < b ? -1 : a > b ? 1 : a >= b ? 0 : NaN; @@ -23842,17 +23688,17 @@ function (_Component) { } return (// eslint-disable-next-line react/no-array-index-key - React.createElement(Layer, _extends$j({ + React__default.createElement(Layer, _extends$j({ className: "recharts-errorBar", key: "bar-".concat(i) - }, props), React.createElement("line", coordsTop), React.createElement("line", coordsMid), React.createElement("line", coordsBot)) + }, props), React__default.createElement("line", coordsTop), React__default.createElement("line", coordsMid), React__default.createElement("line", coordsBot)) ); }); } }, { key: "render", value: function render() { - return React.createElement(Layer, { + return React__default.createElement(Layer, { className: "recharts-errorBars" }, this.renderErrorBars()); } @@ -24694,7 +24540,7 @@ var getTicksOfScale = function getTicksOfScale(scale, opts) { if (tickCount && type === 'number' && originalDomain && (originalDomain[0] === 'auto' || originalDomain[1] === 'auto')) { // Calculate the ticks by the number of grid when the axis is a number axis var domain = scale.domain(); - var tickValues = lib_2(domain, tickCount, allowDecimals); + var tickValues = getNiceTickValues(domain, tickCount, allowDecimals); scale.domain(calculateDomainOfTicks(tickValues, type)); return { niceTicks: tickValues @@ -24704,7 +24550,7 @@ var getTicksOfScale = function getTicksOfScale(scale, opts) { if (tickCount && type === 'number') { var _domain = scale.domain(); - var _tickValues = lib_3(_domain, tickCount, allowDecimals); + var _tickValues = getTickValuesFixedDomain(_domain, tickCount, allowDecimals); return { niceTicks: _tickValues @@ -25164,13 +25010,13 @@ var renderRadialLabel = function renderRadialLabel(labelProps, label, attrs) { var endPoint = polarToCartesian(cx, cy, radius, labelAngle + (direction ? 1 : -1) * 359); var path = "M".concat(startPoint.x, ",").concat(startPoint.y, "\n A").concat(radius, ",").concat(radius, ",0,1,").concat(direction ? 0 : 1, ",\n ").concat(endPoint.x, ",").concat(endPoint.y); var id = isNil_1(labelProps.id) ? uniqueId('recharts-radial-line-') : labelProps.id; - return React.createElement("text", _extends$i({}, attrs, { + return React__default.createElement("text", _extends$i({}, attrs, { dominantBaseline: "central", className: classnames('recharts-radial-bar-label', className) - }), React.createElement("defs", null, React.createElement("path", { + }), React__default.createElement("defs", null, React__default.createElement("path", { id: id, d: path - })), React.createElement("textPath", { + })), React__default.createElement("textPath", { xlinkHref: "#".concat(id) }, label)); }; @@ -25418,7 +25264,7 @@ function Label$1(props) { } var positionAttrs = isPolarLabel ? getAttrsOfPolarLabel(props) : getAttrsOfCartesianLabel(props); - return React.createElement(Text, _extends$i({ + return React__default.createElement(Text, _extends$i({ className: classnames('recharts-label', className) }, attrs, positionAttrs, events), label); } @@ -25499,14 +25345,14 @@ var parseLabel = function parseLabel(label, viewBox) { } if (label === true) { - return React.createElement(Label$1, { + return React__default.createElement(Label$1, { key: "label-implicit", viewBox: viewBox }); } if (isNumOrStr(label)) { - return React.createElement(Label$1, { + return React__default.createElement(Label$1, { key: "label-implicit", viewBox: viewBox, value: label @@ -25521,7 +25367,7 @@ var parseLabel = function parseLabel(label, viewBox) { }); } - return React.createElement(Label$1, { + return React__default.createElement(Label$1, { key: "label-implicit", content: label, viewBox: viewBox @@ -25529,7 +25375,7 @@ var parseLabel = function parseLabel(label, viewBox) { } if (isFunction_1(label)) { - return React.createElement(Label$1, { + return React__default.createElement(Label$1, { key: "label-implicit", content: label, viewBox: viewBox @@ -25537,7 +25383,7 @@ var parseLabel = function parseLabel(label, viewBox) { } if (isObject_1(label)) { - return React.createElement(Label$1, _extends$i({ + return React__default.createElement(Label$1, _extends$i({ viewBox: viewBox }, label, { key: "label-implicit" @@ -25639,14 +25485,14 @@ function LabelList(props) { return null; } - return React.createElement(Layer, { + return React__default.createElement(Layer, { className: "recharts-label-list" }, data.map(function (entry, index) { var value = isNil_1(dataKey) ? valueAccessor(entry, index) : getValueByDataKey(entry && entry.payload, dataKey); var idProps = isNil_1(id) ? {} : { id: "".concat(id, "-").concat(index) }; - return React.createElement(Label$1, _extends$h({}, getPresentationAttributes(entry), others, idProps, { + return React__default.createElement(Label$1, _extends$h({}, getPresentationAttributes(entry), others, idProps, { index: index, value: value, viewBox: Label$1.parseViewBox(isNil_1(clockWise) ? entry : _objectSpread$e({}, entry, { @@ -25667,14 +25513,14 @@ var parseLabelList = function parseLabelList(label, data) { } if (label === true) { - return React.createElement(LabelList, { + return React__default.createElement(LabelList, { key: "labelList-implicit", data: data }); } - if (React.isValidElement(label) || isFunction_1(label)) { - return React.createElement(LabelList, { + if (React__default.isValidElement(label) || isFunction_1(label)) { + return React__default.createElement(LabelList, { key: "labelList-implicit", data: data, content: label @@ -25682,7 +25528,7 @@ var parseLabelList = function parseLabelList(label, data) { } if (isObject_1(label)) { - return React.createElement(LabelList, _extends$h({ + return React__default.createElement(LabelList, _extends$h({ data: data }, label, { key: "labelList-implicit" @@ -25959,7 +25805,7 @@ function (_PureComponent) { }); } - return React.createElement("path", _extends$g({}, getPresentationAttributes(this.props), filterEventAttributes(this.props), { + return React__default.createElement("path", _extends$g({}, getPresentationAttributes(this.props), filterEventAttributes(this.props), { className: layerClass, d: path })); @@ -26139,7 +25985,7 @@ function (_PureComponent) { } var realPath = points && points.length ? this.getPath() : path; - return React.createElement("path", _extends$f({}, getPresentationAttributes(this.props), filterEventAttributes(this.props, null, true), { + return React__default.createElement("path", _extends$f({}, getPresentationAttributes(this.props), filterEventAttributes(this.props, null, true), { className: classnames('recharts-curve', className), d: realPath, ref: pathRef @@ -26311,13 +26157,13 @@ function (_PureComponent) { var layerClass = classnames('recharts-rectangle', className); if (!isUpdateAnimationActive) { - return React.createElement("path", _extends$e({}, getPresentationAttributes(this.props), filterEventAttributes(this.props), { + return React__default.createElement("path", _extends$e({}, getPresentationAttributes(this.props), filterEventAttributes(this.props), { className: layerClass, d: getRectangePath(x, y, width, height, radius) })); } - return React.createElement(Animate, { + return React__default.createElement(Animate, { canBegin: totalLength > 0, from: { width: width, @@ -26339,7 +26185,7 @@ function (_PureComponent) { currHeight = _ref.height, currX = _ref.x, currY = _ref.y; - return React.createElement(Animate, { + return React__default.createElement(Animate, { canBegin: totalLength > 0, from: "0px ".concat(totalLength === -1 ? 1 : totalLength, "px"), to: "".concat(totalLength, "px 0px"), @@ -26348,7 +26194,7 @@ function (_PureComponent) { duration: animationDuration, isActive: isAnimationActive, easing: animationEasing - }, React.createElement("path", _extends$e({}, getPresentationAttributes(_this2.props), filterEventAttributes(_this2.props), { + }, React__default.createElement("path", _extends$e({}, getPresentationAttributes(_this2.props), filterEventAttributes(_this2.props), { className: layerClass, d: getRectangePath(currX, currY, currWidth, currHeight, radius), ref: function ref(node) { @@ -26451,7 +26297,7 @@ function (_PureComponent) { } var layerClass = classnames('recharts-polygon', className); - return React.createElement("polygon", _extends$d({}, getPresentationAttributes(this.props), filterEventAttributes(this.props), { + return React__default.createElement("polygon", _extends$d({}, getPresentationAttributes(this.props), filterEventAttributes(this.props), { className: layerClass, points: getPolygonPoints(points) })); @@ -26512,7 +26358,7 @@ function (_PureComponent) { var layerClass = classnames('recharts-dot', className); if (cx === +cx && cy === +cy && r === +r) { - return React.createElement("circle", _extends$c({}, getPresentationAttributes(this.props), filterEventAttributes(this.props, null, true), { + return React__default.createElement("circle", _extends$c({}, getPresentationAttributes(this.props), filterEventAttributes(this.props, null, true), { className: layerClass, cx: cx, cy: cy, @@ -26588,7 +26434,7 @@ function (_PureComponent) { return null; } - return React.createElement("path", _extends$b({}, getPresentationAttributes(this.props), { + return React__default.createElement("path", _extends$b({}, getPresentationAttributes(this.props), { className: classnames('recharts-cross', className), d: this.constructor.getPath(x, y, width, height, top, left) })); @@ -26815,7 +26661,7 @@ function (_PureComponent) { y2: point1.y }); - return React.createElement("line", _extends$a({ + return React__default.createElement("line", _extends$a({ className: "recharts-polar-radius-axis-line" }, props)); } @@ -26850,13 +26696,13 @@ function (_PureComponent) { payload: entry }); - return React.createElement(Layer, _extends$a({ + return React__default.createElement(Layer, _extends$a({ className: "recharts-polar-radius-axis-tick", key: "tick-".concat(i) // eslint-disable-line react/no-array-index-key }, filterEventsOfChild(_this.props, entry, i)), _this.constructor.renderTickItem(tick, tickProps, tickFormatter ? tickFormatter(entry.value) : entry.value)); }); - return React.createElement(Layer, { + return React__default.createElement(Layer, { className: "recharts-polar-radius-axis-ticks" }, items); } @@ -26872,7 +26718,7 @@ function (_PureComponent) { return null; } - return React.createElement(Layer, { + return React__default.createElement(Layer, { className: "recharts-polar-radius-axis" }, axisLine && this.renderAxisLine(), tick && this.renderTicks(), Label$1.renderCallByParent(this.props, this.getViewBox())); } @@ -26881,12 +26727,12 @@ function (_PureComponent) { value: function renderTickItem(option, props, value) { var tickItem; - if (React.isValidElement(option)) { - tickItem = React.cloneElement(option, props); + if (React__default.isValidElement(option)) { + tickItem = React__default.cloneElement(option, props); } else if (isFunction_1(option)) { tickItem = option(props); } else { - tickItem = React.createElement(Text, _extends$a({}, props, { + tickItem = React__default.createElement(Text, _extends$a({}, props, { className: "recharts-polar-radius-axis-tick-value" }), value); } @@ -27043,7 +26889,7 @@ function (_PureComponent) { }, getPresentationAttributes(axisLine)); if (axisLineType === 'circle') { - return React.createElement(Dot, _extends$9({ + return React__default.createElement(Dot, _extends$9({ className: "recharts-polar-angle-axis-line" }, props, { cx: cx, @@ -27056,7 +26902,7 @@ function (_PureComponent) { var points = ticks.map(function (entry) { return polarToCartesian(cx, cy, radius, entry.coordinate); }); - return React.createElement(Polygon, _extends$9({ + return React__default.createElement(Polygon, _extends$9({ className: "recharts-polar-angle-axis-line" }, props, { points: points @@ -27097,15 +26943,15 @@ function (_PureComponent) { y: lineCoord.y2 }); - return React.createElement(Layer, _extends$9({ + return React__default.createElement(Layer, _extends$9({ className: "recharts-polar-angle-axis-tick", key: "tick-".concat(i) // eslint-disable-line react/no-array-index-key - }, filterEventsOfChild(_this.props, entry, i)), tickLine && React.createElement("line", _extends$9({ + }, filterEventsOfChild(_this.props, entry, i)), tickLine && React__default.createElement("line", _extends$9({ className: "recharts-polar-angle-axis-tick-line" }, tickLineProps, lineCoord)), tick && _this.constructor.renderTickItem(tick, tickProps, tickFormatter ? tickFormatter(entry.value) : entry.value)); }); - return React.createElement(Layer, { + return React__default.createElement(Layer, { className: "recharts-polar-angle-axis-ticks" }, items); } @@ -27121,7 +26967,7 @@ function (_PureComponent) { return null; } - return React.createElement(Layer, { + return React__default.createElement(Layer, { className: "recharts-polar-angle-axis" }, axisLine && this.renderAxisLine(), this.renderTicks()); } @@ -27130,12 +26976,12 @@ function (_PureComponent) { value: function renderTickItem(option, props, value) { var tickItem; - if (React.isValidElement(option)) { - tickItem = React.cloneElement(option, props); + if (React__default.isValidElement(option)) { + tickItem = React__default.cloneElement(option, props); } else if (isFunction_1(option)) { tickItem = option(props); } else { - tickItem = React.createElement(Text, _extends$9({}, props, { + tickItem = React__default.createElement(Text, _extends$9({}, props, { className: "recharts-polar-angle-axis-tick-value" }), value); } @@ -27405,12 +27251,12 @@ function (_PureComponent) { } return (// eslint-disable-next-line react/no-array-index-key - React.createElement(Layer, { + React__default.createElement(Layer, { key: "label-".concat(i) }, labelLine && _this2.constructor.renderLabelLineItem(labelLine, lineProps), _this2.constructor.renderLabelItem(label, labelProps, getValueByDataKey(entry, realDataKey))) ); }); - return React.createElement(Layer, { + return React__default.createElement(Layer, { className: "recharts-pie-labels" }, labels); } @@ -27429,7 +27275,7 @@ function (_PureComponent) { stroke: blendStroke ? entry.fill : entry.stroke }); - return React.createElement(Layer, _extends$8({ + return React__default.createElement(Layer, _extends$8({ className: "recharts-pie-sector" }, filterEventsOfChild(_this3.props, entry, i), { key: "sector-".concat(i) // eslint-disable-line react/no-array-index-key @@ -27450,7 +27296,7 @@ function (_PureComponent) { animationEasing = _this$props4.animationEasing, animationId = _this$props4.animationId; var prevSectors = this.state.prevSectors; - return React.createElement(Animate, { + return React__default.createElement(Animate, { begin: animationBegin, duration: animationDuration, isActive: isAnimationActive, @@ -27474,7 +27320,7 @@ function (_PureComponent) { var paddingAngle = index > 0 ? get_1(entry, 'paddingAngle', 0) : 0; if (prev) { - var angleIp = interpolateNumber$1(prev.endAngle - prev.startAngle, entry.endAngle - entry.startAngle); + var angleIp = interpolateNumber$2(prev.endAngle - prev.startAngle, entry.endAngle - entry.startAngle); var latest = _objectSpread$6({}, entry, { startAngle: curAngle + paddingAngle, @@ -27486,7 +27332,7 @@ function (_PureComponent) { } else { var endAngle = entry.endAngle, startAngle = entry.startAngle; - var interpolatorAngle = interpolateNumber$1(0, endAngle - startAngle); + var interpolatorAngle = interpolateNumber$2(0, endAngle - startAngle); var deltaAngle = interpolatorAngle(t); var _latest = _objectSpread$6({}, entry, { @@ -27498,7 +27344,7 @@ function (_PureComponent) { curAngle = _latest.endAngle; } }); - return React.createElement(Layer, null, _this4.renderSectorsStatically(stepData)); + return React__default.createElement(Layer, null, _this4.renderSectorsStatically(stepData)); }); } }, { @@ -27535,7 +27381,7 @@ function (_PureComponent) { } var layerClass = classnames('recharts-pie', className); - return React.createElement(Layer, { + return React__default.createElement(Layer, { className: layerClass }, this.renderSectors(), label && this.renderLabels(sectors), Label$1.renderCallByParent(this.props, null, false), (!isAnimationActive || prevSectors && isEqual_1(prevSectors, sectors)) && LabelList.renderCallByParent(this.props, sectors, false)); } @@ -27555,15 +27401,15 @@ function (_PureComponent) { }, { key: "renderLabelLineItem", value: function renderLabelLineItem(option, props) { - if (React.isValidElement(option)) { - return React.cloneElement(option, props); + if (React__default.isValidElement(option)) { + return React__default.cloneElement(option, props); } if (isFunction_1(option)) { return option(props); } - return React.createElement(Curve, _extends$8({}, props, { + return React__default.createElement(Curve, _extends$8({}, props, { type: "linear", className: "recharts-pie-label-line" })); @@ -27571,8 +27417,8 @@ function (_PureComponent) { }, { key: "renderLabelItem", value: function renderLabelItem(option, props, value) { - if (React.isValidElement(option)) { - return React.cloneElement(option, props); + if (React__default.isValidElement(option)) { + return React__default.cloneElement(option, props); } var label = value; @@ -27580,12 +27426,12 @@ function (_PureComponent) { if (isFunction_1(option)) { label = option(props); - if (React.isValidElement(label)) { + if (React__default.isValidElement(label)) { return label; } } - return React.createElement(Text, _extends$8({}, props, { + return React__default.createElement(Text, _extends$8({}, props, { alignmentBaseline: "middle", className: "recharts-pie-label-text" }), label); @@ -27593,8 +27439,8 @@ function (_PureComponent) { }, { key: "renderSectorItem", value: function renderSectorItem(option, props) { - if (React.isValidElement(option)) { - return React.cloneElement(option, props); + if (React__default.isValidElement(option)) { + return React__default.cloneElement(option, props); } if (isFunction_1(option)) { @@ -27602,10 +27448,10 @@ function (_PureComponent) { } if (isPlainObject_1(option)) { - return React.createElement(Sector, _extends$8({}, props, option)); + return React__default.createElement(Sector, _extends$8({}, props, option)); } - return React.createElement(Sector, props); + return React__default.createElement(Sector, props); } }]); @@ -28286,7 +28132,7 @@ function (_PureComponent) { height = _this$props6.height, fill = _this$props6.fill, stroke = _this$props6.stroke; - return React.createElement("rect", { + return React__default.createElement("rect", { stroke: stroke, fill: fill, x: x, @@ -28312,7 +28158,7 @@ function (_PureComponent) { return null; } - return React.cloneElement(chartElement, { + return React__default.cloneElement(chartElement, { x: x, y: y, width: width, @@ -28332,7 +28178,7 @@ function (_PureComponent) { stroke = _this$props8.stroke; var lineY = Math.floor(y + height / 2) - 1; var x = Math.max(travellerX, this.props.x); - return React.createElement(Layer, { + return React__default.createElement(Layer, { className: "recharts-brush-traveller", onMouseEnter: this.handleEnterSlideOrTraveller, onMouseLeave: this.handleLeaveSlideOrTraveller, @@ -28341,21 +28187,21 @@ function (_PureComponent) { style: { cursor: 'col-resize' } - }, React.createElement("rect", { + }, React__default.createElement("rect", { x: x, y: y, width: travellerWidth, height: height, fill: stroke, stroke: "none" - }), React.createElement("line", { + }), React__default.createElement("line", { x1: x + 1, y1: lineY, x2: x + travellerWidth - 1, y2: lineY, fill: "none", stroke: "#fff" - }), React.createElement("line", { + }), React__default.createElement("line", { x1: x + 1, y1: lineY + 2, x2: x + travellerWidth - 1, @@ -28371,7 +28217,7 @@ function (_PureComponent) { y = _this$props9.y, height = _this$props9.height, stroke = _this$props9.stroke; - return React.createElement("rect", { + return React__default.createElement("rect", { className: "recharts-brush-slide", onMouseEnter: this.handleEnterSlideOrTraveller, onMouseLeave: this.handleLeaveSlideOrTraveller, @@ -28407,14 +28253,14 @@ function (_PureComponent) { pointerEvents: 'none', fill: stroke }; - return React.createElement(Layer, { + return React__default.createElement(Layer, { className: "recharts-brush-texts" - }, React.createElement(Text, _extends$7({ + }, React__default.createElement(Text, _extends$7({ textAnchor: "end", verticalAnchor: "middle", x: Math.min(startX, endX) - offset, y: y + height / 2 - }, attrs), this.getTextOfTick(startIndex)), React.createElement(Text, _extends$7({ + }, attrs), this.getTextOfTick(startIndex)), React__default.createElement(Text, _extends$7({ textAnchor: "start", verticalAnchor: "middle", x: Math.max(startX, endX) + travellerWidth + offset, @@ -28445,9 +28291,9 @@ function (_PureComponent) { } var layerClass = classnames('recharts-brush', className); - var isPanoramic = React.Children.count(children) === 1; + var isPanoramic = React__default.Children.count(children) === 1; var style = generatePrefixStyle('userSelect', 'none'); - return React.createElement(Layer, { + return React__default.createElement(Layer, { className: layerClass, onMouseMove: this.handleDrag, onMouseLeave: this.handleLeaveWrapper, @@ -28978,12 +28824,12 @@ function _extends$6() { _extends$6 = Object.assign || function (target) { for (v var renderLine = function renderLine(option, props) { var line; - if (React.isValidElement(option)) { - line = React.cloneElement(option, props); + if (React__default.isValidElement(option)) { + line = React__default.cloneElement(option, props); } else if (isFunction_1(option)) { line = option(props); } else { - line = React.createElement("line", _extends$6({}, props, { + line = React__default.createElement("line", _extends$6({}, props, { className: "recharts-reference-line-line" })); } @@ -29123,7 +28969,7 @@ function (_PureComponent) { y2: y2 }); - return React.createElement(Layer, { + return React__default.createElement(Layer, { className: classnames('recharts-reference-line', className) }, renderLine(shape, props), Label$1.renderCallByParent(this.props, rectWithCoords({ x1: x1, @@ -29272,7 +29118,7 @@ function (_PureComponent) { cy: cy }); - return React.createElement(Layer, { + return React__default.createElement(Layer, { className: classnames('recharts-reference-dot', className) }, this.constructor.renderDot(shape, dotProps), Label$1.renderCallByParent(this.props, { x: cx - r, @@ -29286,12 +29132,12 @@ function (_PureComponent) { value: function renderDot(option, props) { var dot; - if (React.isValidElement(option)) { - dot = React.cloneElement(option, props); + if (React__default.isValidElement(option)) { + dot = React__default.cloneElement(option, props); } else if (isFunction_1(option)) { dot = option(props); } else { - dot = React.createElement(Dot, _extends$5({}, props, { + dot = React__default.createElement(Dot, _extends$5({}, props, { cx: props.cx, cy: props.cy, className: "recharts-reference-dot-dot" @@ -29431,7 +29277,7 @@ function (_PureComponent) { } var clipPath = ifOverflowMatches(this.props, 'hidden') ? "url(#".concat(clipPathId, ")") : undefined; - return React.createElement(Layer, { + return React__default.createElement(Layer, { className: classnames('recharts-reference-area', className) }, this.constructor.renderRect(shape, _objectSpread$2({ clipPath: clipPath @@ -29442,12 +29288,12 @@ function (_PureComponent) { value: function renderRect(option, props) { var rect; - if (React.isValidElement(option)) { - rect = React.cloneElement(option, props); + if (React__default.isValidElement(option)) { + rect = React__default.cloneElement(option, props); } else if (isFunction_1(option)) { rect = option(props); } else { - rect = React.createElement(Rectangle, _extends$4({}, props, { + rect = React__default.createElement(Rectangle, _extends$4({}, props, { className: "recharts-reference-area-rect" })); } @@ -29702,7 +29548,7 @@ function (_Component) { }); } - return React.createElement("line", _extends$3({ + return React__default.createElement("line", _extends$3({ className: "recharts-cartesian-axis-line" }, props)); } @@ -29752,15 +29598,15 @@ function (_Component) { visibleTicksCount: finalTicks.length }); - return React.createElement(Layer, _extends$3({ + return React__default.createElement(Layer, _extends$3({ className: "recharts-cartesian-axis-tick", key: "tick-".concat(i) // eslint-disable-line react/no-array-index-key - }, filterEventsOfChild(_this.props, entry, i)), tickLine && React.createElement("line", _extends$3({ + }, filterEventsOfChild(_this.props, entry, i)), tickLine && React__default.createElement("line", _extends$3({ className: "recharts-cartesian-axis-tick-line" }, tickLineProps, lineCoord)), tick && _this.constructor.renderTickItem(tick, tickProps, "".concat(isFunction_1(tickFormatter) ? tickFormatter(entry.value) : entry.value).concat(unit || ''))); }); - return React.createElement("g", { + return React__default.createElement("g", { className: "recharts-cartesian-axis-ticks" }, items); } @@ -29793,7 +29639,7 @@ function (_Component) { return null; } - return React.createElement(Layer, { + return React__default.createElement(Layer, { className: classnames('recharts-cartesian-axis', className) }, axisLine && this.renderAxisLine(), this.renderTicks(finalTicks), Label$1.renderCallByParent(this.props)); } @@ -29999,12 +29845,12 @@ function (_Component) { value: function renderTickItem(option, props, value) { var tickItem; - if (React.isValidElement(option)) { - tickItem = React.cloneElement(option, props); + if (React__default.isValidElement(option)) { + tickItem = React__default.cloneElement(option, props); } else if (isFunction_1(option)) { tickItem = option(props); } else { - tickItem = React.createElement(Text, _extends$3({}, props, { + tickItem = React__default.createElement(Text, _extends$3({}, props, { className: "recharts-cartesian-axis-tick-value" }), value); } @@ -32379,7 +32225,7 @@ var generateCategoricalChart = function generateCategoricalChart(_ref) { var _this$props5 = this.props, width = _this$props5.width, height = _this$props5.height; - return React.createElement(CartesianAxis, _extends$2({}, axisOptions, { + return React__default.createElement(CartesianAxis, _extends$2({}, axisOptions, { className: "recharts-".concat(axisOptions.axisType, " ").concat(axisOptions.axisType), key: element.key || "".concat(displayName, "-").concat(index), viewBox: { @@ -32523,9 +32369,9 @@ var generateCategoricalChart = function generateCategoricalChart(_ref) { top = _this$state$offset.top, height = _this$state$offset.height, width = _this$state$offset.width; - return React.createElement("defs", null, React.createElement("clipPath", { + return React__default.createElement("defs", null, React__default.createElement("clipPath", { id: clipPathId - }, React.createElement("rect", { + }, React__default.createElement("rect", { x: left, y: top, height: height, @@ -32619,14 +32465,14 @@ var generateCategoricalChart = function generateCategoricalChart(_ref) { }; // The "compact" mode is mainly used as the panorama within Brush if (compact) { - return React.createElement(Surface, _extends$2({}, attrs, { + return React__default.createElement(Surface, _extends$2({}, attrs, { width: width, height: height }), this.renderClipPath(), renderByOrder(children, map)); } var events = this.parseEventsOfWrapper(); - return React.createElement("div", _extends$2({ + return React__default.createElement("div", _extends$2({ className: classnames('recharts-wrapper', className), style: _objectSpread({ position: 'relative', @@ -32638,7 +32484,7 @@ var generateCategoricalChart = function generateCategoricalChart(_ref) { ref: function ref(node) { _this7.container = node; } - }), React.createElement(Surface, _extends$2({}, attrs, { + }), React__default.createElement(Surface, _extends$2({}, attrs, { width: width, height: height }), this.renderClipPath(), renderByOrder(children, map)), this.renderLegend(), this.renderTooltip()); @@ -32682,10 +32528,10 @@ var generateCategoricalChart = function generateCategoricalChart(_ref) { } else if (isFunction_1(option)) { dot = option(props); } else { - dot = React.createElement(Dot, props); + dot = React__default.createElement(Dot, props); } - return React.createElement(Layer, { + return React__default.createElement(Layer, { className: "recharts-active-dot", key: props.key }, dot); @@ -32873,7 +32719,7 @@ var DonutChart = function DonutChart(props) { if (payload) { if (customTooltip) return customTooltip(payload); - return /*#__PURE__*/createElement("div", { + return /*#__PURE__*/React.createElement("div", { className: "DonutChart-tooltip" }, "".concat(payload.name).concat(chartProps.separator).concat((+payload.value).toLocaleString())); } @@ -32906,19 +32752,19 @@ var DonutChart = function DonutChart(props) { var ey = my; var textAnchor = cos >= 0 ? 'start' : 'end'; var total = Math.ceil(value / percent); - return /*#__PURE__*/createElement("g", null, withCenterText && /*#__PURE__*/createElement(Fragment$1, null, /*#__PURE__*/createElement("text", { + return /*#__PURE__*/React.createElement("g", null, withCenterText && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("text", { x: cx, y: cy, "font-size": 'var(--font-size-xl)', textAnchor: "middle" - }, "Total"), /*#__PURE__*/createElement("text", { + }, "Total"), /*#__PURE__*/React.createElement("text", { x: cx, y: cy, dy: 22, "font-size": 'var(--font-size-l)', textAnchor: "middle", fill: colorToHex$1(colorOfTotalCount) - }, total.toLocaleString())), /*#__PURE__*/createElement(Sector, { + }, total.toLocaleString())), /*#__PURE__*/React.createElement(Sector, { cx: cx, cy: cy, innerRadius: innerRadius, @@ -32926,7 +32772,7 @@ var DonutChart = function DonutChart(props) { startAngle: startAngle, endAngle: endAngle, fill: fill - }), withActiveSegment && /*#__PURE__*/createElement(Fragment$1, null, /*#__PURE__*/createElement(Sector, { + }), withActiveSegment && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Sector, { cx: cx, cy: cy, startAngle: startAngle, @@ -32934,28 +32780,28 @@ var DonutChart = function DonutChart(props) { innerRadius: outerRadius + 6, outerRadius: outerRadius + 10, fill: fill - }), /*#__PURE__*/createElement("path", { + }), /*#__PURE__*/React.createElement("path", { d: "M".concat(sx, ",").concat(sy, "L").concat(mx, ",").concat(my, "L").concat(ex, ",").concat(ey), stroke: fill, fill: "none" - }), /*#__PURE__*/createElement("circle", { + }), /*#__PURE__*/React.createElement("circle", { cx: ex, cy: ey, r: 2, fill: fill, stroke: "none" - }), /*#__PURE__*/createElement("text", { + }), /*#__PURE__*/React.createElement("text", { x: ex + (cos >= 0 ? 1 : -1) * 12, y: ey, dy: -18, textAnchor: textAnchor, fill: fill - }, "".concat(payload.name)), /*#__PURE__*/createElement("text", { + }, "".concat(payload.name)), /*#__PURE__*/React.createElement("text", { x: ex + (cos >= 0 ? 1 : -1) * 12, y: ey, textAnchor: textAnchor, fill: "#333" - }, "".concat(value.toLocaleString())), /*#__PURE__*/createElement("text", { + }, "".concat(value.toLocaleString())), /*#__PURE__*/React.createElement("text", { x: ex + (cos >= 0 ? 1 : -1) * 12, y: ey, dy: 18, @@ -32964,8 +32810,8 @@ var DonutChart = function DonutChart(props) { }, "".concat((percent * 100).toFixed(0), "%")))); }; - var _React$useState = useState$3(0), - _React$useState2 = _slicedToArray$6(_React$useState, 2), + var _React$useState = React.useState(0), + _React$useState2 = _slicedToArray$7(_React$useState, 2), activeIndex = _React$useState2[0], setActiveIndex = _React$useState2[1]; @@ -32989,9 +32835,9 @@ var DonutChart = function DonutChart(props) { // }, []); var classes = classnames(_defineProperty$w({}, 'DonutChart', true), className); - return /*#__PURE__*/createElement(Row, _extends$p({}, baseProps, { + return /*#__PURE__*/React.createElement(Row, _extends$p({}, baseProps, { className: classes - }), /*#__PURE__*/createElement(Column, columnOptions.chart, /*#__PURE__*/createElement(ResponsiveContainer, null, /*#__PURE__*/createElement(PieChart, null, /*#__PURE__*/createElement(Pie, { + }), /*#__PURE__*/React.createElement(Column, columnOptions.chart, /*#__PURE__*/React.createElement(ResponsiveContainer, null, /*#__PURE__*/React.createElement(PieChart, null, /*#__PURE__*/React.createElement(Pie, { data: data, dataKey: "value", activeIndex: activeIndex, @@ -33000,17 +32846,17 @@ var DonutChart = function DonutChart(props) { outerRadius: oRadius, innerRadius: iRadius }, data.map(function (_entry, index) { - return /*#__PURE__*/createElement(Cell$1, { + return /*#__PURE__*/React.createElement(Cell$1, { fill: getColor(index, 'hex'), key: index }); - })), withTooltip && /*#__PURE__*/createElement(Tooltip$1, { + })), withTooltip && /*#__PURE__*/React.createElement(Tooltip$1, { separator: ": ", - content: /*#__PURE__*/createElement(ChartTooltip, null) - })))), withLegends && /*#__PURE__*/createElement(Column, _extends$p({ + content: /*#__PURE__*/React.createElement(ChartTooltip, null) + })))), withLegends && /*#__PURE__*/React.createElement(Column, _extends$p({ className: "DonutChart-legends" }, columnOptions.legends), data.map(function (d, i) { - return /*#__PURE__*/createElement(Legend, { + return /*#__PURE__*/React.createElement(Legend, { key: i, iconAppearance: getColor(i) }, "".concat(d.name, " - ").concat((+d.value).toLocaleString())); @@ -33036,7 +32882,7 @@ var sizeMapping = { * - [Uncontrolled Input](https://reactjs.org/docs/uncontrolled-components.html) */ -var Input = /*#__PURE__*/forwardRef(function (props, forwardedRef) { +var Input = /*#__PURE__*/React.forwardRef(function (props, forwardedRef) { var _classNames, _classNames2, _classNames3, _classNames4; var _props$size = props.size, @@ -33066,11 +32912,11 @@ var Input = /*#__PURE__*/forwardRef(function (props, forwardedRef) { readOnly = props.readOnly, rest = _objectWithoutProperties$a(props, ["size", "type", "minWidth", "defaultValue", "name", "placeholder", "value", "icon", "inlineLabel", "required", "error", "info", "onChange", "onClick", "onClear", "onBlur", "onFocus", "actionIcon", "className", "autoFocus", "disabled", "readOnly"]); - var ref = useRef(null); - useImperativeHandle(forwardedRef, function () { + var ref = React.useRef(null); + React.useImperativeHandle(forwardedRef, function () { return ref.current; }); - useEffect$2(function () { + React.useEffect(function () { var _ref$current; if (autoFocus) (_ref$current = ref.current) === null || _ref$current === void 0 ? void 0 : _ref$current.focus({ @@ -33082,13 +32928,13 @@ var Input = /*#__PURE__*/forwardRef(function (props, forwardedRef) { var inputClass = classnames((_classNames2 = {}, _defineProperty$w(_classNames2, 'Input-input', true), _defineProperty$w(_classNames2, "Input-input--".concat(size), size), _classNames2)); var leftIconClass = classnames((_classNames3 = {}, _defineProperty$w(_classNames3, 'Input-icon', true), _defineProperty$w(_classNames3, 'Input-icon--left', true), _defineProperty$w(_classNames3, 'Input-icon--disabled', !value), _classNames3)); var rightIconClass = classnames((_classNames4 = {}, _defineProperty$w(_classNames4, 'Input-icon', true), _defineProperty$w(_classNames4, 'Input-icon--right', true), _classNames4)); - var trigger = /*#__PURE__*/createElement("div", { + var trigger = /*#__PURE__*/React.createElement("div", { className: rightIconClass - }, /*#__PURE__*/createElement(Icon, { + }, /*#__PURE__*/React.createElement(Icon, { name: 'info', size: sizeMapping[size] })); - return /*#__PURE__*/createElement("div", { + return /*#__PURE__*/React.createElement("div", { "data-test": "DesignSystem-InputWrapper", className: classes, style: { @@ -33099,16 +32945,16 @@ var Input = /*#__PURE__*/forwardRef(function (props, forwardedRef) { return (_ref$current2 = ref.current) === null || _ref$current2 === void 0 ? void 0 : _ref$current2.focus(); } - }, inlineLabel && /*#__PURE__*/createElement("div", { + }, inlineLabel && /*#__PURE__*/React.createElement("div", { className: "Input-inlineLabel" - }, /*#__PURE__*/createElement(Text$1, { + }, /*#__PURE__*/React.createElement(Text$1, { appearance: "subtle" - }, inlineLabel)), size !== 'tiny' && icon && /*#__PURE__*/createElement("div", { + }, inlineLabel)), size !== 'tiny' && icon && /*#__PURE__*/React.createElement("div", { className: leftIconClass - }, /*#__PURE__*/createElement(Icon, { + }, /*#__PURE__*/React.createElement(Icon, { name: icon, size: sizeMapping[size] - })), /*#__PURE__*/createElement("input", _extends$p({ + })), /*#__PURE__*/React.createElement("input", _extends$p({ "data-test": "DesignSystem-Input" }, baseProps, rest, { ref: ref, @@ -33125,15 +32971,15 @@ var Input = /*#__PURE__*/forwardRef(function (props, forwardedRef) { onBlur: onBlur, onClick: onClick, onFocus: onFocus - })), !value && !disabled || value && disabled || defaultValue && disabled ? info && /*#__PURE__*/createElement(Tooltip, { + })), !value && !disabled || value && disabled || defaultValue && disabled ? info && /*#__PURE__*/React.createElement(Tooltip, { position: "top", tooltip: info - }, trigger) : actionIcon ? actionIcon : onClear && value && !disabled && /*#__PURE__*/createElement("div", { + }, trigger) : actionIcon ? actionIcon : onClear && value && !disabled && /*#__PURE__*/React.createElement("div", { className: rightIconClass, onClick: function onClick(e) { return onClear(e); } - }, /*#__PURE__*/createElement(Icon, { + }, /*#__PURE__*/React.createElement(Icon, { name: 'close', size: sizeMapping[size] }))); @@ -33158,7 +33004,7 @@ var getDefaultValue = function getDefaultValue(mask, placeholderChar) { * * **Updated value can be passed** */ -var InputMask = /*#__PURE__*/forwardRef(function (props, forwardRef) { +var InputMask = /*#__PURE__*/React.forwardRef(function (props, forwardRef) { props.mask; var valueProp = props.value, _props$placeholderCha = props.placeholderChar, @@ -33221,24 +33067,24 @@ var InputMask = /*#__PURE__*/forwardRef(function (props, forwardRef) { return _typeof$p(mask[pos]) === 'object'; }; - var deferId = useRef(); - var selectionRef = useRef(0); + var deferId = React.useRef(); + var selectionRef = React.useRef(0); - var _React$useState = useState$3(defaultValue || valueProp || ''), - _React$useState2 = _slicedToArray$6(_React$useState, 2), + var _React$useState = React.useState(defaultValue || valueProp || ''), + _React$useState2 = _slicedToArray$7(_React$useState, 2), value = _React$useState2[0], setValue = _React$useState2[1]; - var _React$useState3 = useState$3(getDefaultSelection()), - _React$useState4 = _slicedToArray$6(_React$useState3, 2), + var _React$useState3 = React.useState(getDefaultSelection()), + _React$useState4 = _slicedToArray$7(_React$useState3, 2), selection = _React$useState4[0], setSelection = _React$useState4[1]; - var ref = useRef(null); - useImperativeHandle(forwardRef, function () { + var ref = React.useRef(null); + React.useImperativeHandle(forwardRef, function () { return ref.current; }); - useEffect$2(function () { + React.useEffect(function () { setValue(valueProp || ''); }, [valueProp]); @@ -33396,9 +33242,9 @@ var InputMask = /*#__PURE__*/forwardRef(function (props, forwardRef) { var classes = classnames({ 'd-flex flex-column flex-grow-1': true }, className); - return /*#__PURE__*/createElement("div", { + return /*#__PURE__*/React.createElement("div", { className: classes - }, /*#__PURE__*/createElement(Input, _extends$p({}, rest, { + }, /*#__PURE__*/React.createElement(Input, _extends$p({}, rest, { value: value, error: error, required: required, @@ -33408,7 +33254,7 @@ var InputMask = /*#__PURE__*/forwardRef(function (props, forwardRef) { onBlur: onBlurHandler, autoComplete: 'off', ref: ref - })), /*#__PURE__*/createElement(Caption, { + })), /*#__PURE__*/React.createElement(Caption, { error: error, withInput: true, hide: !caption @@ -33441,14 +33287,14 @@ var Label = function Label(props) { 'Label-label': true, 'Label--disabled': disabled }); - return /*#__PURE__*/createElement("div", _extends$p({ + return /*#__PURE__*/React.createElement("div", _extends$p({ "data-test": "DesignSystem-Label" }, baseProps, { className: LabelClass - }), /*#__PURE__*/createElement(GenericText, _extends$p({ + }), /*#__PURE__*/React.createElement(GenericText, _extends$p({ className: classes, componentType: "label" - }, rest), children), required && /*#__PURE__*/createElement("span", { + }, rest), children), required && /*#__PURE__*/React.createElement("span", { className: "Label-requiredIndicator", "data-test": "DesignSystem-Label--RequiredIndicator" })); @@ -33468,15 +33314,15 @@ var Caption = function Caption(props) { Caption: true }, _defineProperty$w(_classNames, 'Caption--hidden', hide), _defineProperty$w(_classNames, 'Caption--withInput', withInput), _classNames), className); var errorIconClass = classnames(_defineProperty$w({}, 'Caption-icon', true)); - return /*#__PURE__*/createElement("div", _extends$p({}, baseProps, { + return /*#__PURE__*/React.createElement("div", _extends$p({}, baseProps, { className: classes - }), error && /*#__PURE__*/createElement("div", { + }), error && /*#__PURE__*/React.createElement("div", { className: errorIconClass - }, /*#__PURE__*/createElement(Icon, { + }, /*#__PURE__*/React.createElement(Icon, { size: 14, name: 'error', appearance: 'alert' - })), /*#__PURE__*/createElement(Text$1, { + })), /*#__PURE__*/React.createElement(Text$1, { appearance: error ? 'destructive' : 'subtle', size: "small", weight: "medium" @@ -33501,7 +33347,7 @@ var Legend = function Legend(props) { height: "".concat(iconSize, "px"), width: "".concat(iconSize, "px") }; - return /*#__PURE__*/createElement("div", _extends$p({}, baseProps, { + return /*#__PURE__*/React.createElement("div", _extends$p({}, baseProps, { className: legendClass, onClick: function onClick(e) { return _onClick && _onClick(e); @@ -33512,10 +33358,10 @@ var Legend = function Legend(props) { onMouseLeave: function onMouseLeave(e) { return _onMouseLeave && _onMouseLeave(e); } - }), /*#__PURE__*/createElement("span", { + }), /*#__PURE__*/React.createElement("span", { className: "Legend-icon", style: styles - }), /*#__PURE__*/createElement(Text$1, { + }), /*#__PURE__*/React.createElement(Text$1, { appearance: labelAppearance, weight: labelWeight }, children)); @@ -33533,11 +33379,11 @@ var Editable = function Editable(props) { children = props.children; var baseProps = extractBaseProps(props); var EditableClass = classnames(_defineProperty$w({}, 'Editable', true), className); - return /*#__PURE__*/createElement("div", _extends$p({ + return /*#__PURE__*/React.createElement("div", _extends$p({ "data-test": "DesignSystem-Editable" }, baseProps, { className: EditableClass - }), /*#__PURE__*/createElement("div", { + }), /*#__PURE__*/React.createElement("div", { "data-test": "DesignSystem-EditableWrapper", onClick: function onClick() { return onChange('edit'); @@ -33564,18 +33410,18 @@ var EditableDropdown = function EditableDropdown(props) { onDropdownClose = dropdownOptions.onClose, rest = _objectWithoutProperties$a(dropdownOptions, ["onChange", "onClose"]); - var _React$useState = useState$3(placeholder), - _React$useState2 = _slicedToArray$6(_React$useState, 2), + var _React$useState = React.useState(placeholder), + _React$useState2 = _slicedToArray$7(_React$useState, 2), label = _React$useState2[0], setLabel = _React$useState2[1]; - var _React$useState3 = useState$3(false), - _React$useState4 = _slicedToArray$6(_React$useState3, 2), + var _React$useState3 = React.useState(false), + _React$useState4 = _slicedToArray$7(_React$useState3, 2), editing = _React$useState4[0], setEditing = _React$useState4[1]; - var _React$useState5 = useState$3(false), - _React$useState6 = _slicedToArray$6(_React$useState5, 2), + var _React$useState5 = React.useState(false), + _React$useState6 = _slicedToArray$7(_React$useState5, 2), showComponent = _React$useState6[0], setShowComponent = _React$useState6[1]; @@ -33620,21 +33466,21 @@ var EditableDropdown = function EditableDropdown(props) { return componentLabel; }; - return /*#__PURE__*/createElement("div", _extends$p({ + return /*#__PURE__*/React.createElement("div", _extends$p({ "data-test": "DesignSystem-EditableDropdown" }, baseProps, { className: CompClass - }), /*#__PURE__*/createElement(Editable, { + }), /*#__PURE__*/React.createElement(Editable, { onChange: onChangeHandler, editing: editing - }, /*#__PURE__*/createElement(Dropdown, _extends$p({ + }, /*#__PURE__*/React.createElement(Dropdown, _extends$p({ placeholder: placeholder, onChange: onChange, getLabel: getLabel, onClose: onClose, className: EditableDropdownClass, "data-test": "DesignSystem-EditableDropdown--Dropdown" - }, rest)), /*#__PURE__*/createElement("div", { + }, rest)), /*#__PURE__*/React.createElement("div", { className: DefaultCompClass, "data-test": "DesignSystem-EditableDropdown--Default" }, renderComponent(label || placeholder)))); @@ -33652,7 +33498,7 @@ var Link = function Link(props) { var classes = classnames({ Link: true }, className); - return /*#__PURE__*/createElement(GenericText, _extends$p({ + return /*#__PURE__*/React.createElement(GenericText, _extends$p({ className: classes, componentType: "a" }, rest), children); @@ -33675,23 +33521,23 @@ var Message = function Message(props) { var baseProps = extractBaseProps(props); var MessageClass = classnames((_classNames = {}, _defineProperty$w(_classNames, 'Message', true), _defineProperty$w(_classNames, "Message--".concat(appearance), appearance), _classNames), className); var MessageIcon = classnames((_classNames2 = {}, _defineProperty$w(_classNames2, 'Message-icon', true), _defineProperty$w(_classNames2, "Message-icon--".concat(appearance), appearance), _defineProperty$w(_classNames2, 'Message-icon--withTitle', title), _classNames2)); - return /*#__PURE__*/createElement("div", _extends$p({ + return /*#__PURE__*/React.createElement("div", _extends$p({ "data-test": "DesignSystem-Message" }, baseProps, { className: MessageClass - }), appearance !== 'default' && /*#__PURE__*/createElement("div", { + }), appearance !== 'default' && /*#__PURE__*/React.createElement("div", { className: MessageIcon, "data-test": "DesignSystem-Message--Icon" - }, /*#__PURE__*/createElement(Icon, { + }, /*#__PURE__*/React.createElement(Icon, { name: IconMapping$1[appearance], appearance: appearance - })), /*#__PURE__*/createElement("div", { + })), /*#__PURE__*/React.createElement("div", { "data-test": "DesignSystem-Message--Title" - }, title && /*#__PURE__*/createElement("div", { + }, title && /*#__PURE__*/React.createElement("div", { className: "Message-title" - }, /*#__PURE__*/createElement(Heading, { + }, /*#__PURE__*/React.createElement(Heading, { size: "s" - }, title)), /*#__PURE__*/createElement("div", { + }, title)), /*#__PURE__*/React.createElement("div", { "data-test": "DesignSystem-Message--Description", className: "Message-description" }, children))); @@ -33706,13 +33552,13 @@ var Meta = function Meta(props) { icon = props.icon, iconAppearance = props.iconAppearance, labelAppearance = props.labelAppearance; - return /*#__PURE__*/createElement("span", { + return /*#__PURE__*/React.createElement("span", { className: 'Meta' - }, icon && /*#__PURE__*/createElement(Icon, { + }, icon && /*#__PURE__*/React.createElement(Icon, { name: icon, appearance: iconAppearance, className: 'Meta-icon' - }), /*#__PURE__*/createElement(Text$1, { + }), /*#__PURE__*/React.createElement(Text$1, { appearance: labelAppearance }, label)); }; @@ -33731,9 +33577,9 @@ var MetaList = function MetaList(props) { var MetaClass = classnames(_defineProperty$w({}, 'MetaList', true), className); var SeperatorClass = classnames(_defineProperty$w({}, 'MetaList-seperator', true)); var LeftSeperatorClass = classnames((_classNames3 = {}, _defineProperty$w(_classNames3, 'MetaList-seperator', true), _defineProperty$w(_classNames3, 'MetaList-seperator--left', true), _classNames3)); - return /*#__PURE__*/createElement("div", _extends$p({}, baseProps, { + return /*#__PURE__*/React.createElement("div", _extends$p({}, baseProps, { className: MetaClass - }), seperator && /*#__PURE__*/createElement(Icon, { + }), seperator && /*#__PURE__*/React.createElement(Icon, { name: "fiber_manual_record", size: 8, className: LeftSeperatorClass, @@ -33743,15 +33589,15 @@ var MetaList = function MetaList(props) { label = _item$label === void 0 ? '' : _item$label, icon = item.icon; var rightSeperator = ind !== list.length - 1; - return /*#__PURE__*/createElement("span", { + return /*#__PURE__*/React.createElement("span", { key: ind, className: "MetaList-item" - }, /*#__PURE__*/createElement(Meta, { + }, /*#__PURE__*/React.createElement(Meta, { label: label, icon: icon, iconAppearance: iconAppearance, labelAppearance: labelAppearance - }), rightSeperator && /*#__PURE__*/createElement(Icon, { + }), rightSeperator && /*#__PURE__*/React.createElement(Icon, { name: "fiber_manual_record", size: 8, className: SeperatorClass, @@ -33766,35 +33612,35 @@ MetaList.defaultProps = { labelAppearance: 'subtle' }; -var OutsideClick = /*#__PURE__*/forwardRef(function (props, ref) { +var OutsideClick = /*#__PURE__*/React.forwardRef(function (props, ref) { var children = props.children, className = props.className, onOutsideClick = props.onOutsideClick, rest = _objectWithoutProperties$a(props, ["children", "className", "onOutsideClick"]); - var innerRef = useRef(null); - useImperativeHandle(ref, function () { + var innerRef = React.useRef(null); + React.useImperativeHandle(ref, function () { return innerRef.current; }, [innerRef]); - useEffect$2(function () { + React.useEffect(function () { document.addEventListener('click', handleOutsideClick, true); return function () { document.removeEventListener('click', handleOutsideClick); }; }, []); - var handleOutsideClick = useCallback(function (event) { + var handleOutsideClick = React.useCallback(function (event) { var element = innerRef; if (!event.target || !element.current) { return; } - if (!findDOMNode(element.current).contains(event.target)) { + if (!ReactDOM.findDOMNode(element.current).contains(event.target)) { onOutsideClick(event); } }, []); var classes = classnames(_defineProperty$w({}, 'OutsideClick', true), className); - return /*#__PURE__*/createElement("div", _extends$p({ + return /*#__PURE__*/React.createElement("div", _extends$p({ ref: innerRef }, rest, { className: classes @@ -33810,7 +33656,7 @@ var Paragraph = function Paragraph(props) { var classes = classnames(_defineProperty$w({ Text: true }, "Text--".concat(appearance), appearance), className); - return /*#__PURE__*/createElement(GenericText, _extends$p({ + return /*#__PURE__*/React.createElement(GenericText, _extends$p({ "data-test": "DesignSystem-Paragraph" }, baseProps, { className: classes, @@ -33833,11 +33679,11 @@ var ProgressBar = function ProgressBar(props) { var ProgressBarClass = classnames({ ProgressBar: true }, className); - return /*#__PURE__*/createElement("div", _extends$p({ + return /*#__PURE__*/React.createElement("div", _extends$p({ "data-test": "DesignSystem-ProgressBar" }, baseProps, { className: ProgressBarClass - }), /*#__PURE__*/createElement("div", { + }), /*#__PURE__*/React.createElement("div", { className: 'ProgressBar-indicator', style: style })); @@ -33847,7 +33693,7 @@ ProgressBar.defaultProps = { max: 100 }; -var Radio = /*#__PURE__*/forwardRef(function (props, forwardedRef) { +var Radio = /*#__PURE__*/React.forwardRef(function (props, forwardedRef) { var _classNames, _classNames2, _classNames3; var _props$size = props.size, @@ -33861,19 +33707,19 @@ var Radio = /*#__PURE__*/forwardRef(function (props, forwardedRef) { defaultChecked = props.defaultChecked, className = props.className; var baseProps = extractBaseProps(props); - var ref = useRef(null); - useImperativeHandle(forwardedRef, function () { + var ref = React.useRef(null); + React.useImperativeHandle(forwardedRef, function () { return ref.current; }); var RadioClass = classnames((_classNames = {}, _defineProperty$w(_classNames, 'Radio', true), _defineProperty$w(_classNames, 'Radio--disabled', disabled), _defineProperty$w(_classNames, "Radio--".concat(size), size), _classNames), className); var RadioWrapper = classnames((_classNames2 = {}, _defineProperty$w(_classNames2, 'Radio-wrapper', true), _defineProperty$w(_classNames2, "Radio-wrapper--".concat(size), size), _classNames2)); var RadioOuterWrapper = classnames((_classNames3 = {}, _defineProperty$w(_classNames3, 'Radio-outerWrapper', true), _defineProperty$w(_classNames3, "Radio-outerWrapper--".concat(size), size), _classNames3)); var id = "".concat(name, "-").concat(label, "-").concat(uidGenerator()); - return /*#__PURE__*/createElement("div", { + return /*#__PURE__*/React.createElement("div", { className: RadioClass - }, /*#__PURE__*/createElement("div", { + }, /*#__PURE__*/React.createElement("div", { className: RadioOuterWrapper - }, /*#__PURE__*/createElement("input", _extends$p({}, baseProps, { + }, /*#__PURE__*/React.createElement("input", _extends$p({}, baseProps, { type: "radio", disabled: disabled, checked: checked, @@ -33884,19 +33730,19 @@ var Radio = /*#__PURE__*/forwardRef(function (props, forwardedRef) { onChange: onChange, className: "Radio-input", id: id - })), /*#__PURE__*/createElement("span", { + })), /*#__PURE__*/React.createElement("span", { className: RadioWrapper - })), label && /*#__PURE__*/createElement("label", { + })), label && /*#__PURE__*/React.createElement("label", { className: "Radio-label", htmlFor: id - }, /*#__PURE__*/createElement(Text$1, { + }, /*#__PURE__*/React.createElement(Text$1, { size: size === 'tiny' ? 'small' : 'regular', appearance: disabled ? 'disabled' : 'default' }, label))); }); Radio.displayName = 'Radio'; -var Row = /*#__PURE__*/forwardRef(function (props, ref) { +var Row = /*#__PURE__*/React.forwardRef(function (props, ref) { var className = props.className, children = props.children, rest = _objectWithoutProperties$a(props, ["className", "children"]); @@ -33904,7 +33750,7 @@ var Row = /*#__PURE__*/forwardRef(function (props, ref) { var classes = classnames(_defineProperty$w({ Row: true }, "".concat(className), className)); - return /*#__PURE__*/createElement("div", _extends$p({ + return /*#__PURE__*/React.createElement("div", _extends$p({ "data-test": "DesignSystem-Row", ref: ref }, rest, { @@ -33925,7 +33771,7 @@ var StatusHint = function StatusHint(props) { var baseProps = extractBaseProps(props); var StatusHintClass = classnames(_defineProperty$w({}, 'StatusHint', true), className); var StatusHintIconClass = classnames((_classNames2 = {}, _defineProperty$w(_classNames2, 'StatusHint-icon', true), _defineProperty$w(_classNames2, "StatusHint--".concat(appearance), appearance), _classNames2)); - return /*#__PURE__*/createElement("div", _extends$p({ + return /*#__PURE__*/React.createElement("div", _extends$p({ "data-test": "DesignSystem-StatusHint" }, baseProps, { className: StatusHintClass, @@ -33938,10 +33784,10 @@ var StatusHint = function StatusHint(props) { onMouseLeave: function onMouseLeave(e) { return _onMouseLeave && _onMouseLeave(e); } - }), /*#__PURE__*/createElement("span", { + }), /*#__PURE__*/React.createElement("span", { "data-test": "DesignSystem-StatusHint--Icon", className: StatusHintIconClass - }), /*#__PURE__*/createElement(Text$1, { + }), /*#__PURE__*/React.createElement(Text$1, { "data-test": "DesignSystem-StatusHint--Text", weight: 'medium' }, children)); @@ -33962,7 +33808,7 @@ var Pills = function Pills(props) { var classes = classnames((_classNames = { Pills: true }, _defineProperty$w(_classNames, "Badge--".concat(appearance), appearance && !subtle), _defineProperty$w(_classNames, "Badge--subtle-".concat(appearance), subtle), _classNames), className); - return /*#__PURE__*/createElement("span", _extends$p({ + return /*#__PURE__*/React.createElement("span", _extends$p({ "data-test": "DesignSystem-Pills" }, baseProps, { className: classes @@ -34233,7 +34079,7 @@ var Handle = /*#__PURE__*/function (_React$Component) { left: offsetCalc }; var className = classnames((_classNames = {}, _defineProperty$w(_classNames, 'Slider-handle', true), _defineProperty$w(_classNames, 'Slider-handle--disabled', disabled), _defineProperty$w(_classNames, 'Slider-handle--active', this.state.isMoving), _classNames)); - return /*#__PURE__*/createElement("div", { + return /*#__PURE__*/React.createElement("div", { className: className, onMouseDown: this.beginHandleMovement, onKeyDown: this.handleKeyDown, @@ -34241,18 +34087,18 @@ var Handle = /*#__PURE__*/function (_React$Component) { ref: this.refHandlers.handle, style: style, tabIndex: 1 - }, !this.state.isMoving && /*#__PURE__*/createElement(Tooltip, { + }, !this.state.isMoving && /*#__PURE__*/React.createElement(Tooltip, { tooltip: label, position: "top", triggerClass: 'Slider-tooltip' - }, /*#__PURE__*/createElement("span", { + }, /*#__PURE__*/React.createElement("span", { className: "h-100 w-100" }))); } }]); return Handle; -}(Component); +}(React.Component); var MultiSliderHandle = function MultiSliderHandle() { return null; @@ -34291,7 +34137,7 @@ var MultiSlider = /*#__PURE__*/function (_React$Component) { }); _defineProperty$w(_assertThisInitialized$p(_this), "getHandleValues", function (props) { - var maybeHandles = Children.map(props.children, function (child) { + var maybeHandles = React.Children.map(props.children, function (child) { return isElementOfType(child) ? child.props : null; }); var handles = maybeHandles != null ? maybeHandles : []; @@ -34439,7 +34285,7 @@ var MultiSlider = /*#__PURE__*/function (_React$Component) { return handleProps.map(function (_ref2, index) { var value = _ref2.value; - return /*#__PURE__*/createElement(Handle, { + return /*#__PURE__*/React.createElement(Handle, { disabled: disabled, key: "".concat(index, "-").concat(handleProps.length), max: max, @@ -34492,13 +34338,13 @@ var MultiSlider = /*#__PURE__*/function (_React$Component) { left: offsetPercentage }; var active = !disabled && activeLabels.indexOf(i.toFixed(_this.state.labelPrecision)) !== -1; - labels.push( /*#__PURE__*/createElement("div", { + labels.push( /*#__PURE__*/React.createElement("div", { className: 'Slider-label', key: i, style: style - }, /*#__PURE__*/createElement("span", { + }, /*#__PURE__*/React.createElement("span", { className: 'Slider-ticks' - }), labelRenderer !== false && /*#__PURE__*/createElement(Text$1, { + }), labelRenderer !== false && /*#__PURE__*/React.createElement(Text$1, { size: "small", appearance: active ? 'default' : 'disabled' }, _this.formatLabel(i)))); @@ -34513,7 +34359,7 @@ var MultiSlider = /*#__PURE__*/function (_React$Component) { var _sort = [_this.getOffsetRatio(start.value), _this.getOffsetRatio(end.value)].sort(function (left, right) { return left - right; }), - _sort2 = _slicedToArray$6(_sort, 2), + _sort2 = _slicedToArray$7(_sort, 2), startRatio = _sort2[0], endRatio = _sort2[1]; @@ -34529,7 +34375,7 @@ var MultiSlider = /*#__PURE__*/function (_React$Component) { var fillTrack = _this.getTrackFill(start, end); var classes = classnames((_classNames = {}, _defineProperty$w(_classNames, 'Slider-progress', true), _defineProperty$w(_classNames, 'Slider-progress--disabled', _this.props.disabled), _defineProperty$w(_classNames, 'Slider-progress--inRange', fillTrack), _defineProperty$w(_classNames, 'Slider-progress--inRangeDisabled', fillTrack && _this.props.disabled), _classNames)); - return /*#__PURE__*/createElement("div", { + return /*#__PURE__*/React.createElement("div", { key: "track-".concat(index), className: classes, style: style @@ -34608,26 +34454,26 @@ var MultiSlider = /*#__PURE__*/function (_React$Component) { var baseProps = extractBaseProps(this.props); var SliderClass = classnames(_defineProperty$w({}, 'Slider', true), className); var WrapperClass = classnames((_classNames3 = {}, _defineProperty$w(_classNames3, 'Slider-wrapper', true), _defineProperty$w(_classNames3, 'Slider-wrapper--disabled', this.props.disabled), _classNames3)); - return /*#__PURE__*/createElement("div", _extends$p({}, baseProps, { + return /*#__PURE__*/React.createElement("div", _extends$p({}, baseProps, { className: SliderClass - }), label && /*#__PURE__*/createElement(Label, { + }), label && /*#__PURE__*/React.createElement(Label, { withInput: true - }, label), /*#__PURE__*/createElement("div", { + }, label), /*#__PURE__*/React.createElement("div", { className: WrapperClass, onMouseDown: this.maybeHandleTrackClick - }, /*#__PURE__*/createElement("div", { + }, /*#__PURE__*/React.createElement("div", { className: "Slider-track", ref: function ref(_ref3) { return _this2.trackElement = _ref3; } - }, this.renderTracks()), /*#__PURE__*/createElement("div", { + }, this.renderTracks()), /*#__PURE__*/React.createElement("div", { className: "Slider-axis'" }, this.renderLabels()), this.renderHandles())); } }]); return MultiSlider; -}(Component); +}(React.Component); _defineProperty$w(MultiSlider, "defaultProps", { labelStepSize: 1, @@ -34646,12 +34492,12 @@ var Slider = function Slider(props) { onChange = props.onChange, rest = _objectWithoutProperties$a(props, ["value", "defaultValue", "onRelease", "onChange"]); - var _React$useState = useState$3(valueProp === undefined ? defaultValue : valueProp), - _React$useState2 = _slicedToArray$6(_React$useState, 2), + var _React$useState = React.useState(valueProp === undefined ? defaultValue : valueProp), + _React$useState2 = _slicedToArray$7(_React$useState, 2), value = _React$useState2[0], setValue = _React$useState2[1]; - useEffect$2(function () { + React.useEffect(function () { if (valueProp !== undefined) { setValue(valueProp); } @@ -34665,7 +34511,7 @@ var Slider = function Slider(props) { if (onChange) onChange(newValue); }; - return /*#__PURE__*/createElement(MultiSlider, rest, /*#__PURE__*/createElement(MultiSlider.Handle, { + return /*#__PURE__*/React.createElement(MultiSlider, rest, /*#__PURE__*/React.createElement(MultiSlider.Handle, { value: value, onChange: onChangeHandler, onRelease: onRelease, @@ -34691,12 +34537,12 @@ var RangeSlider = function RangeSlider(props) { onRelease = props.onRelease, rest = _objectWithoutProperties$a(props, ["value", "defaultValue", "onChange", "onRelease"]); - var _React$useState = useState$3(valueProp === undefined ? defaultValue : valueProp), - _React$useState2 = _slicedToArray$6(_React$useState, 2), + var _React$useState = React.useState(valueProp === undefined ? defaultValue : valueProp), + _React$useState2 = _slicedToArray$7(_React$useState, 2), value = _React$useState2[0], setValue = _React$useState2[1]; - useEffect$2(function () { + React.useEffect(function () { if (valueProp !== undefined) { setValue(valueProp); } @@ -34710,13 +34556,13 @@ var RangeSlider = function RangeSlider(props) { if (onChange) onChange(range); }; - return /*#__PURE__*/createElement(MultiSlider, _extends$p({ + return /*#__PURE__*/React.createElement(MultiSlider, _extends$p({ onRangeChange: onChangeHandler, onRangeRelease: onRelease - }, rest), /*#__PURE__*/createElement(MultiSlider.Handle, { + }, rest), /*#__PURE__*/React.createElement(MultiSlider.Handle, { value: value[RangeIndex.START], fillAfter: true - }), /*#__PURE__*/createElement(MultiSlider.Handle, { + }), /*#__PURE__*/React.createElement(MultiSlider.Handle, { value: value[RangeIndex.END] })); }; @@ -34730,7 +34576,7 @@ RangeSlider.defaultProps = _objectSpread2(_objectSpread2({}, MultiSlider.default * - [Controlled Switch](https://reactjs.org/docs/forms.html#controlled-components) * - [Uncontrolled Switch](https://reactjs.org/docs/uncontrolled-components.html) */ -var Switch = /*#__PURE__*/forwardRef(function (props, ref) { +var Switch = /*#__PURE__*/React.forwardRef(function (props, ref) { var _classNames, _classNames2; var _props$size = props.size, @@ -34745,12 +34591,12 @@ var Switch = /*#__PURE__*/forwardRef(function (props, ref) { className = props.className; var baseProps = extractBaseProps(props); - var _React$useState = useState$3(props.checked === undefined ? defaultChecked : props.checked), - _React$useState2 = _slicedToArray$6(_React$useState, 2), + var _React$useState = React.useState(props.checked === undefined ? defaultChecked : props.checked), + _React$useState2 = _slicedToArray$7(_React$useState, 2), checked = _React$useState2[0], setChecked = _React$useState2[1]; - useEffect$2(function () { + React.useEffect(function () { if (props.checked !== undefined) setChecked(props.checked); }, [props.checked]); var SwitchClass = classnames((_classNames = {}, _defineProperty$w(_classNames, 'Switch', true), _defineProperty$w(_classNames, 'Switch--disabled', disabled), _defineProperty$w(_classNames, "Switch--".concat(size), size), _classNames), className); @@ -34761,9 +34607,9 @@ var Switch = /*#__PURE__*/forwardRef(function (props, ref) { if (onChange) onChange(event, !checked); }; - return /*#__PURE__*/createElement("div", { + return /*#__PURE__*/React.createElement("div", { className: SwitchClass - }, /*#__PURE__*/createElement("input", _extends$p({}, baseProps, { + }, /*#__PURE__*/React.createElement("input", _extends$p({}, baseProps, { type: "checkbox", defaultChecked: defaultChecked, disabled: disabled, @@ -34773,13 +34619,13 @@ var Switch = /*#__PURE__*/forwardRef(function (props, ref) { name: name, value: value, className: "Switch-input" - })), /*#__PURE__*/createElement("span", { + })), /*#__PURE__*/React.createElement("span", { className: SwitchWrapper })); }); Switch.displayName = 'Switch'; -var Textarea = /*#__PURE__*/forwardRef(function (props, ref) { +var Textarea = /*#__PURE__*/React.forwardRef(function (props, ref) { var _classNames2; var _props$rows = props.rows, @@ -34801,9 +34647,9 @@ var Textarea = /*#__PURE__*/forwardRef(function (props, ref) { var baseProps = extractBaseProps(props); var classes = classnames(_defineProperty$w({}, 'Textarea', true), className); var TextareaClass = classnames((_classNames2 = {}, _defineProperty$w(_classNames2, 'Textarea-textarea', true), _defineProperty$w(_classNames2, 'Textarea-textarea--resize', resize), _defineProperty$w(_classNames2, 'Textarea-textarea--error', error), _classNames2)); - return /*#__PURE__*/createElement("div", { + return /*#__PURE__*/React.createElement("div", { className: classes - }, /*#__PURE__*/createElement("textarea", _extends$p({ + }, /*#__PURE__*/React.createElement("textarea", _extends$p({ "data-test": "DesignSystem-Textarea" }, baseProps, { ref: ref, @@ -34836,10 +34682,10 @@ var ActionButton = function ActionButton(props) { if (onClick) onClick(e); }; - return /*#__PURE__*/createElement("button", { + return /*#__PURE__*/React.createElement("button", { className: buttonClass, onClick: onClickHandler - }, /*#__PURE__*/createElement(Text$1, { + }, /*#__PURE__*/React.createElement(Text$1, { appearance: "white" }, label)); }; @@ -34879,35 +34725,35 @@ var Toast = function Toast(props) { if (onClose) onClose(); }; - return /*#__PURE__*/createElement("div", _extends$p({}, baseProps, { + return /*#__PURE__*/React.createElement("div", _extends$p({}, baseProps, { className: wrapperClass - }), icon && /*#__PURE__*/createElement("div", { + }), icon && /*#__PURE__*/React.createElement("div", { className: iconClass('left') - }, /*#__PURE__*/createElement(Icon, { + }, /*#__PURE__*/React.createElement(Icon, { name: icon, appearance: appearance !== 'warning' ? 'white' : 'default' - })), /*#__PURE__*/createElement("div", { + })), /*#__PURE__*/React.createElement("div", { className: "Toast-body" - }, /*#__PURE__*/createElement("div", { + }, /*#__PURE__*/React.createElement("div", { className: titleClass - }, /*#__PURE__*/createElement(Heading, { + }, /*#__PURE__*/React.createElement(Heading, { size: "s", appearance: appearance !== 'warning' ? 'white' : 'default' - }, title), /*#__PURE__*/createElement("div", { + }, title), /*#__PURE__*/React.createElement("div", { onClick: onCloseHandler - }, /*#__PURE__*/createElement("div", { + }, /*#__PURE__*/React.createElement("div", { className: iconClass('right') - }, /*#__PURE__*/createElement(Icon, { + }, /*#__PURE__*/React.createElement(Icon, { name: 'close', appearance: appearance !== 'warning' ? 'white' : 'default' - })))), message && /*#__PURE__*/createElement("div", { + })))), message && /*#__PURE__*/React.createElement("div", { className: "Toast-message" - }, /*#__PURE__*/createElement(Text$1, { + }, /*#__PURE__*/React.createElement(Text$1, { appearance: appearance !== 'warning' ? 'white' : 'default' - }, message)), !!(actions !== null && actions !== void 0 && actions.length) && /*#__PURE__*/createElement("div", { + }, message)), !!(actions !== null && actions !== void 0 && actions.length) && /*#__PURE__*/React.createElement("div", { className: "Toast-actions" }, actions.slice(0, 2).map(function (action, index) { - return /*#__PURE__*/createElement(ActionButton, { + return /*#__PURE__*/React.createElement(ActionButton, { key: index, label: action.label, appearance: appearance, @@ -38731,7 +38577,7 @@ exports.__esModule = true; -_interopRequireDefault(React); +_interopRequireDefault(React__default); @@ -38843,7 +38689,7 @@ function createReactContext(defaultValue, calculateChangedBits) { }; return Provider; - }(React.Component); + }(React__default.Component); Provider.childContextTypes = (_Provider$childContex = {}, _Provider$childContex[contextProp] = _propTypes2.default.object.isRequired, _Provider$childContex); @@ -38905,7 +38751,7 @@ function createReactContext(defaultValue, calculateChangedBits) { }; return Consumer; - }(React.Component); + }(React__default.Component); Consumer.contextTypes = (_Consumer$contextType = {}, _Consumer$contextType[contextProp] = _propTypes2.default.object, _Consumer$contextType); @@ -38928,7 +38774,7 @@ exports.__esModule = true; -var _react2 = _interopRequireDefault(React); +var _react2 = _interopRequireDefault(React__default); @@ -38979,15 +38825,15 @@ function (_React$Component) { }; _proto.render = function render() { - return createElement(ManagerReferenceNodeContext.Provider, { + return React.createElement(ManagerReferenceNodeContext.Provider, { value: this.referenceNode - }, createElement(ManagerReferenceNodeSetterContext.Provider, { + }, React.createElement(ManagerReferenceNodeSetterContext.Provider, { value: this.setReferenceNode }, this.props.children)); }; return Manager; -}(Component); +}(React.Component); /** * Takes an argument and if it's an array, returns the first item in the array, @@ -39190,7 +39036,7 @@ function (_React$Component) { }; return InnerPopper; -}(Component); +}(React.Component); _defineProperty(InnerPopper, "defaultProps", { placement: 'bottom', @@ -39202,8 +39048,8 @@ function Popper(_ref) { var referenceElement = _ref.referenceElement, props = _objectWithoutPropertiesLoose(_ref, ["referenceElement"]); - return createElement(ManagerReferenceNodeContext.Consumer, null, function (referenceNode) { - return createElement(InnerPopper, _extends$1({ + return React.createElement(ManagerReferenceNodeContext.Consumer, null, function (referenceNode) { + return React.createElement(InnerPopper, _extends$1({ referenceElement: referenceElement !== undefined ? referenceElement : referenceNode }, props)); }); @@ -39245,11 +39091,11 @@ function (_React$Component) { }; return InnerReference; -}(Component); +}(React.Component); function Reference(props) { - return createElement(ManagerReferenceNodeSetterContext.Consumer, null, function (setReferenceNode) { - return createElement(InnerReference, _extends$1({ + return React.createElement(ManagerReferenceNodeSetterContext.Consumer, null, function (setReferenceNode) { + return React.createElement(InnerReference, _extends$1({ setReferenceNode: setReferenceNode }, props)); }); @@ -39287,7 +39133,7 @@ var PopperWrapper = /*#__PURE__*/function (_React$Component) { }); _defineProperty$w(_assertThisInitialized$p(_this), "findDOMNode", function (ref) { - return findDOMNode(ref.current); + return ReactDOM.findDOMNode(ref.current); }); _defineProperty$w(_assertThisInitialized$p(_this), "doesEventContainsElement", function (event, ref) { @@ -39331,8 +39177,8 @@ var PopperWrapper = /*#__PURE__*/function (_React$Component) { medium: '4px', large: '8px' }; - _this.triggerRef = /*#__PURE__*/createRef(); - _this.popupRef = /*#__PURE__*/createRef(); + _this.triggerRef = /*#__PURE__*/React.createRef(); + _this.popupRef = /*#__PURE__*/React.createRef(); _this.getPopperChildren = _this.getPopperChildren.bind(_assertThisInitialized$p(_this)); _this.mouseMoveHandler = _this.mouseMoveHandler.bind(_assertThisInitialized$p(_this)); _this.handleMouseEnter = _this.handleMouseEnter.bind(_assertThisInitialized$p(_this)); @@ -39487,7 +39333,7 @@ var PopperWrapper = /*#__PURE__*/function (_React$Component) { } }; - return /*#__PURE__*/createElement(OutsideClick, _extends$p({ + return /*#__PURE__*/React.createElement(OutsideClick, _extends$p({ className: classes, onOutsideClick: onOutsideClickHandler }, options), trigger); @@ -39504,7 +39350,7 @@ var PopperWrapper = /*#__PURE__*/function (_React$Component) { children = _this$props5.children; var zIndex = this.state.zIndex; var newStyle = offset ? this.getUpdatedStyle(style, placement, offset) : style; - var element = /*#__PURE__*/cloneElement(children, { + var element = /*#__PURE__*/React.cloneElement(children, { ref: ref, style: _objectSpread2(_objectSpread2({}, newStyle), {}, { zIndex: zIndex @@ -39527,12 +39373,12 @@ var PopperWrapper = /*#__PURE__*/function (_React$Component) { open = _this$props6.open, hide = _this$props6.hide, boundaryElement = _this$props6.boundaryElement; - return /*#__PURE__*/createElement(Manager, null, /*#__PURE__*/createElement(Reference, { + return /*#__PURE__*/React.createElement(Manager, null, /*#__PURE__*/React.createElement(Reference, { innerRef: this.triggerRef }, function (_ref2) { var ref = _ref2.ref; return _this4.getTriggerElement(ref); - }), open && appendToBody && /*#__PURE__*/createPortal( /*#__PURE__*/createElement(Popper, { + }), open && appendToBody && /*#__PURE__*/ReactDOM.createPortal( /*#__PURE__*/React.createElement(Popper, { placement: placement, innerRef: this.popupRef, modifiers: { @@ -39543,7 +39389,7 @@ var PopperWrapper = /*#__PURE__*/function (_React$Component) { enabled: hide } } - }, this.getPopperChildren), document.body), open && !appendToBody && /*#__PURE__*/createElement(Popper, { + }, this.getPopperChildren), document.body), open && !appendToBody && /*#__PURE__*/React.createElement(Popper, { placement: placement, innerRef: this.popupRef }, this.getPopperChildren)); @@ -39551,7 +39397,7 @@ var PopperWrapper = /*#__PURE__*/function (_React$Component) { }]); return PopperWrapper; -}(Component); +}(React.Component); _defineProperty$w(PopperWrapper, "defaultProps", { on: 'click', @@ -39574,23 +39420,23 @@ var Popover = function Popover(props) { boundaryElement = props.boundaryElement, rest = _objectWithoutProperties$a(props, ["position", "customStyle", "dark", "children", "onToggle", "className", "hideOnReferenceEscape", "boundaryElement"]); - var _React$useState = useState$3(!!props.open), - _React$useState2 = _slicedToArray$6(_React$useState, 2), + var _React$useState = React.useState(!!props.open), + _React$useState2 = _slicedToArray$7(_React$useState, 2), open = _React$useState2[0], setOpen = _React$useState2[1]; - var _React$useState3 = useState$3(false), - _React$useState4 = _slicedToArray$6(_React$useState3, 2), + var _React$useState3 = React.useState(false), + _React$useState4 = _slicedToArray$7(_React$useState3, 2), init = _React$useState4[0], setInit = _React$useState4[1]; - useEffect$2(function () { + React.useEffect(function () { if (props.open !== undefined) setOpen(props.open); }, [props.open]); - var defaultOnToggle = useCallback(function (newOpen) { + var defaultOnToggle = React.useCallback(function (newOpen) { setOpen(newOpen); }, []); - useEffect$2(function () { + React.useEffect(function () { if (!init) { if ('current' in boundaryElement && boundaryElement.current) { setInit(true); @@ -39600,12 +39446,12 @@ var Popover = function Popover(props) { var classes = classnames(_defineProperty$w({ Popover: true }, 'Popover--dark', dark), className); - var PopoverWrapper = /*#__PURE__*/createElement("div", { + var PopoverWrapper = /*#__PURE__*/React.createElement("div", { "data-test": "DesignSystem-Popover", className: classes, "data-layer": true }, children); - return /*#__PURE__*/createElement(PopperWrapper, _extends$p({}, rest, { + return /*#__PURE__*/React.createElement(PopperWrapper, _extends$p({}, rest, { init: init, boundaryElement: 'current' in boundaryElement ? boundaryElement.current : boundaryElement, open: open, @@ -39637,13 +39483,13 @@ var Tooltip = function Tooltip(props) { tooltip = props.tooltip, rest = _objectWithoutProperties$a(props, ["children", "tooltip"]); - var tooltipWrapper = /*#__PURE__*/createElement("div", { + var tooltipWrapper = /*#__PURE__*/React.createElement("div", { className: "Tooltip" - }, /*#__PURE__*/createElement(Text$1, { + }, /*#__PURE__*/React.createElement(Text$1, { className: "Tooltip-text", appearance: "white" }, tooltip)); - return /*#__PURE__*/createElement(Popover, _extends$p({ + return /*#__PURE__*/React.createElement(Popover, _extends$p({ trigger: children, on: 'hover', offset: 'medium' @@ -39671,7 +39517,7 @@ var Dialog = function Dialog(props) { secondaryButtonLabel = props.secondaryButtonLabel, secondaryButtonCallback = props.secondaryButtonCallback; var baseProps = extractBaseProps(props); - return /*#__PURE__*/createElement(Modal, _extends$p({ + return /*#__PURE__*/React.createElement(Modal, _extends$p({ "data-test": "DesignSystem-Dialog" }, baseProps, { open: open, @@ -39680,17 +39526,17 @@ var Dialog = function Dialog(props) { headerOptions: { heading: heading }, - footer: /*#__PURE__*/createElement(Fragment$1, null, /*#__PURE__*/createElement(Button, { + footer: /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Button, { "data-test": "DesignSystem-Dialog--SecondaryButton", appearance: secondaryButtonAppearance, onClick: secondaryButtonCallback - }, secondaryButtonLabel), /*#__PURE__*/createElement(Button, { + }, secondaryButtonLabel), /*#__PURE__*/React.createElement(Button, { className: "ml-4", "data-test": "DesignSystem-Dialog--PrimaryButton", appearance: primaryButtonAppearance, onClick: primaryButtonCallback }, primaryButtonLabel)) - }), /*#__PURE__*/createElement(ModalDescription, { + }), /*#__PURE__*/React.createElement(ModalDescription, { title: title, description: description })); @@ -39751,7 +39597,7 @@ var Modal = /*#__PURE__*/function (_React$Component) { _this = _super.call(this, props); - _defineProperty$w(_assertThisInitialized$p(_this), "modalRef", /*#__PURE__*/createRef()); + _defineProperty$w(_assertThisInitialized$p(_this), "modalRef", /*#__PURE__*/React.createRef()); _defineProperty$w(_assertThisInitialized$p(_this), "element", void 0); @@ -39851,41 +39697,41 @@ var Modal = /*#__PURE__*/function (_React$Component) { sizeXS: '10' } }; - var ModalContainer = /*#__PURE__*/createElement(Row, { + var ModalContainer = /*#__PURE__*/React.createElement(Row, { "data-test": "DesignSystem-ModalContainer", className: ContainerClass, "data-layer": true, style: { zIndex: zIndex } - }, /*#__PURE__*/createElement(Column, _extends$p({ + }, /*#__PURE__*/React.createElement(Column, _extends$p({ "data-test": "DesignSystem-Modal" }, baseProps, { className: classes }, sizeMap[dimension], { ref: this.modalRef - }), headerOptions && /*#__PURE__*/createElement(ModalHeader, _extends$p({ + }), headerOptions && /*#__PURE__*/React.createElement(ModalHeader, _extends$p({ onClose: function onClose(event, reason) { if (_onClose) _onClose(event, reason); } - }, headerOptions)), children && /*#__PURE__*/createElement(Fragment$1, null, headerOptions || footer ? /*#__PURE__*/createElement(ModalBody, { + }, headerOptions)), children && /*#__PURE__*/React.createElement(React.Fragment, null, headerOptions || footer ? /*#__PURE__*/React.createElement(ModalBody, { withFooter: !!footer - }, children) : children), footer && /*#__PURE__*/createElement(ModalFooter, { + }, children) : children), footer && /*#__PURE__*/React.createElement(ModalFooter, { open: open }, footer))); - var ModalWrapper = backdropClose ? /*#__PURE__*/createElement(OutsideClick, { + var ModalWrapper = backdropClose ? /*#__PURE__*/React.createElement(OutsideClick, { "data-test": "DesignSystem-Modal--OutsideClick", onOutsideClick: this.onOutsideClickHandler }, ModalContainer) : ModalContainer; - var WrapperElement = /*#__PURE__*/createPortal(ModalWrapper, this.element); - return /*#__PURE__*/createElement(Fragment$1, null, WrapperElement, /*#__PURE__*/createElement(Backdrop, { + var WrapperElement = /*#__PURE__*/ReactDOM.createPortal(ModalWrapper, this.element); + return /*#__PURE__*/React.createElement(React.Fragment, null, WrapperElement, /*#__PURE__*/React.createElement(Backdrop, { open: this.state.animate })); } }]); return Modal; -}(Component); +}(React.Component); _defineProperty$w(Modal, "defaultProps", { dimension: 'medium' @@ -39901,18 +39747,18 @@ var ModalHeader$1 = function ModalHeader(props) { var classes = classnames(_defineProperty$w({ 'FullscreenModal-header': true }, 'FullscreenModal-header--backButton', backButton), className); - return /*#__PURE__*/createElement("div", _extends$p({ + return /*#__PURE__*/React.createElement("div", _extends$p({ "data-test": "DesignSystem-ModalHeader" }, baseProps, { className: classes - }), /*#__PURE__*/createElement("div", { + }), /*#__PURE__*/React.createElement("div", { className: "FullscreenModal-headerWrapper" - }, backButton && /*#__PURE__*/createElement(Icon, { + }, backButton && /*#__PURE__*/React.createElement(Icon, { name: "keyboard_backspace", size: 20, className: "mr-5 cursor-pointer", onClick: backButtonCallback - }), heading && /*#__PURE__*/createElement(Heading, null, heading)), subHeading && /*#__PURE__*/createElement(Text$1, { + }), heading && /*#__PURE__*/React.createElement(Heading, null, heading)), subHeading && /*#__PURE__*/React.createElement(Text$1, { "data-test": "DesignSystem-ModalHeader--Subheading", appearance: "subtle", className: "mt-2" @@ -39924,8 +39770,8 @@ var ModalFooter$1 = function ModalFooter(props) { var open = props.open, actions = props.actions; var baseProps = extractBaseProps(props); - var wrapperRef = /*#__PURE__*/createRef(); - useEffect$2(function () { + var wrapperRef = /*#__PURE__*/React.createRef(); + React.useEffect(function () { if (open) { if (wrapperRef.current) { var _wrapperRef$current; @@ -39943,7 +39789,7 @@ var ModalFooter$1 = function ModalFooter(props) { } } }, [open]); - return /*#__PURE__*/createElement("div", _extends$p({ + return /*#__PURE__*/React.createElement("div", _extends$p({ ref: wrapperRef }, baseProps, { className: "d-flex" @@ -39951,7 +39797,7 @@ var ModalFooter$1 = function ModalFooter(props) { _ref.label; var options = _objectWithoutProperties$a(_ref, ["label"]); - return /*#__PURE__*/createElement(Button, _extends$p({}, options, { + return /*#__PURE__*/React.createElement(Button, _extends$p({}, options, { key: index })); })); @@ -39973,7 +39819,7 @@ var FullscreenModal = /*#__PURE__*/function (_React$Component) { _this = _super.call(this, props); - _defineProperty$w(_assertThisInitialized$p(_this), "modalRef", /*#__PURE__*/createRef()); + _defineProperty$w(_assertThisInitialized$p(_this), "modalRef", /*#__PURE__*/React.createRef()); _defineProperty$w(_assertThisInitialized$p(_this), "element", void 0); @@ -40055,28 +39901,28 @@ var FullscreenModal = /*#__PURE__*/function (_React$Component) { sizeXS: '12' } }; - var ModalContainer = /*#__PURE__*/createElement("div", { + var ModalContainer = /*#__PURE__*/React.createElement("div", { "data-test": "DesignSystem-FullscreenModalContainer", className: ContainerClass, "data-layer": true, style: { zIndex: zIndex } - }, /*#__PURE__*/createElement("div", _extends$p({ + }, /*#__PURE__*/React.createElement("div", _extends$p({ "data-test": "DesignSystem-FullscreenModal" }, baseProps, { className: classes, ref: this.modalRef - }), /*#__PURE__*/createElement(Row, { + }), /*#__PURE__*/React.createElement(Row, { className: "justify-content-center" - }, /*#__PURE__*/createElement(Column, sizeMap[dimension], /*#__PURE__*/createElement(Row, { + }, /*#__PURE__*/React.createElement(Column, sizeMap[dimension], /*#__PURE__*/React.createElement(Row, { className: "justify-content-between pt-6 pr-6 pb-5 pl-7" - }, /*#__PURE__*/createElement(Column, { + }, /*#__PURE__*/React.createElement(Column, { size: "auto" - }, !header && /*#__PURE__*/createElement(ModalHeader$1, headerOptions), !!header && header), /*#__PURE__*/createElement(Column, { + }, !header && /*#__PURE__*/React.createElement(ModalHeader$1, headerOptions), !!header && header), /*#__PURE__*/React.createElement(Column, { size: "auto", className: "pr-2" - }, /*#__PURE__*/createElement(Icon, { + }, /*#__PURE__*/React.createElement(Icon, { size: 20, name: 'close', className: "cursor-pointer pt-3", @@ -40084,22 +39930,22 @@ var FullscreenModal = /*#__PURE__*/function (_React$Component) { onClick: function onClick(event) { if (onClose) onClose(event, 'IconClick'); } - }))), /*#__PURE__*/createElement("div", { + }))), /*#__PURE__*/React.createElement("div", { "data-test": "DesignSystem-ModalBody", className: "FullscreenModal-body" - }, children), (!!footer || !!footerOptions) && /*#__PURE__*/createElement("div", { + }, children), (!!footer || !!footerOptions) && /*#__PURE__*/React.createElement("div", { "data-test": "DesignSystem-ModalFooter", className: "d-flex justify-content-end p-7" - }, !footer && /*#__PURE__*/createElement(ModalFooter$1, _extends$p({}, footerOptions, { + }, !footer && /*#__PURE__*/React.createElement(ModalFooter$1, _extends$p({}, footerOptions, { open: open })), !!footer && footer))))); - var WrapperElement = /*#__PURE__*/createPortal(ModalContainer, this.element); - return /*#__PURE__*/createElement(Fragment$1, null, WrapperElement); + var WrapperElement = /*#__PURE__*/ReactDOM.createPortal(ModalContainer, this.element); + return /*#__PURE__*/React.createElement(React.Fragment, null, WrapperElement); } }]); return FullscreenModal; -}(Component); +}(React.Component); _defineProperty$w(FullscreenModal, "defaultProps", { dimension: 'medium' @@ -40122,7 +39968,7 @@ var Sidesheet = /*#__PURE__*/function (_React$Component) { _this = _super.call(this, props); - _defineProperty$w(_assertThisInitialized$p(_this), "sidesheetRef", /*#__PURE__*/createRef()); + _defineProperty$w(_assertThisInitialized$p(_this), "sidesheetRef", /*#__PURE__*/React.createRef()); _defineProperty$w(_assertThisInitialized$p(_this), "element", void 0); @@ -40206,7 +40052,7 @@ var Sidesheet = /*#__PURE__*/function (_React$Component) { seperator: seperator }); - var SidesheetContainer = /*#__PURE__*/createElement(Row, { + var SidesheetContainer = /*#__PURE__*/React.createElement(Row, { "data-test": "DesignSystem-SidesheetContainer", className: ContainerClass, "data-layer": true, @@ -40214,36 +40060,36 @@ var Sidesheet = /*#__PURE__*/function (_React$Component) { zIndex: zIndex }, ref: this.sidesheetRef - }, /*#__PURE__*/createElement(Column, _extends$p({ + }, /*#__PURE__*/React.createElement(Column, _extends$p({ "data-test": "DesignSystem-Sidesheet" }, baseProps, { className: classes, size: sidesheetWidth[dimension] - }), /*#__PURE__*/createElement(ModalHeader, _extends$p({ + }), /*#__PURE__*/React.createElement(ModalHeader, _extends$p({ onClose: function onClose(event, reason) { if (_onClose) _onClose(event, reason); } - }, headerObj)), /*#__PURE__*/createElement(ModalBody, { + }, headerObj)), /*#__PURE__*/React.createElement(ModalBody, { stickFooter: stickFooter, withFooter: !!footer - }, this.props.children), footer && /*#__PURE__*/createElement(ModalFooter, { + }, this.props.children), footer && /*#__PURE__*/React.createElement(ModalFooter, { inSidesheet: true, stickToBottom: stickFooter, seperator: seperator }, footer))); - var SidesheetWrapper = backdropClose ? /*#__PURE__*/createElement(OutsideClick, { + var SidesheetWrapper = backdropClose ? /*#__PURE__*/React.createElement(OutsideClick, { "data-test": "DesignSystem-Sidesheet--OutsideClick", onOutsideClick: this.onOutsideClickHandler }, SidesheetContainer) : SidesheetContainer; - var WrapperElement = /*#__PURE__*/createPortal(SidesheetWrapper, this.element); - return /*#__PURE__*/createElement(Fragment$1, null, WrapperElement, /*#__PURE__*/createElement(Backdrop, { + var WrapperElement = /*#__PURE__*/ReactDOM.createPortal(SidesheetWrapper, this.element); + return /*#__PURE__*/React.createElement(React.Fragment, null, WrapperElement, /*#__PURE__*/React.createElement(Backdrop, { open: this.state.animate })); } }]); return Sidesheet; -}(Component); +}(React.Component); _defineProperty$w(Sidesheet, "defaultProps", { dimension: 'regular', @@ -40280,17 +40126,17 @@ var Status = function Status(props) { switch (type) { case 'failed': - return /*#__PURE__*/createElement("div", _extends$p({}, baseProps, { + return /*#__PURE__*/React.createElement("div", _extends$p({}, baseProps, { className: StatusClass - }), /*#__PURE__*/createElement(Icon, { + }), /*#__PURE__*/React.createElement(Icon, { name: "error", type: "outlined", appearance: "destructive" - }), /*#__PURE__*/createElement(Text$1, { + }), /*#__PURE__*/React.createElement(Text$1, { appearance: "destructive", size: "small", className: "ml-1" - }, "Failed"), /*#__PURE__*/createElement(MetaList, { + }, "Failed"), /*#__PURE__*/React.createElement(MetaList, { list: [{ label: failedText }], @@ -40298,17 +40144,17 @@ var Status = function Status(props) { })); case 'urgent': - return /*#__PURE__*/createElement("div", _extends$p({}, baseProps, { + return /*#__PURE__*/React.createElement("div", _extends$p({}, baseProps, { className: StatusClass - }), /*#__PURE__*/createElement(Icon, { + }), /*#__PURE__*/React.createElement(Icon, { name: "notification_important", type: "outlined", appearance: "destructive" - }), /*#__PURE__*/createElement(Text$1, { + }), /*#__PURE__*/React.createElement(Text$1, { appearance: "destructive", size: "small", className: "ml-1" - }, "Urgent"), time && /*#__PURE__*/createElement(MetaList, { + }, "Urgent"), time && /*#__PURE__*/React.createElement(MetaList, { list: [{ label: getTime(time) }], @@ -40316,12 +40162,12 @@ var Status = function Status(props) { })); case 'read': - return /*#__PURE__*/createElement("div", _extends$p({}, baseProps, { + return /*#__PURE__*/React.createElement("div", _extends$p({}, baseProps, { className: StatusClass - }), time && /*#__PURE__*/createElement(Text$1, { + }), time && /*#__PURE__*/React.createElement(Text$1, { appearance: "subtle", size: "small" - }, getTime(time)), /*#__PURE__*/createElement(MetaList, { + }, getTime(time)), /*#__PURE__*/React.createElement(MetaList, { list: [{ label: readText }], @@ -40329,14 +40175,14 @@ var Status = function Status(props) { })); case 'sending': - return /*#__PURE__*/createElement(Text$1, _extends$p({}, baseProps, { + return /*#__PURE__*/React.createElement(Text$1, _extends$p({}, baseProps, { appearance: "subtle", size: "small", className: TextClass }), sendingText); case 'sent': - return /*#__PURE__*/createElement(Fragment$1, null, time && /*#__PURE__*/createElement(Text$1, _extends$p({}, baseProps, { + return /*#__PURE__*/React.createElement(React.Fragment, null, time && /*#__PURE__*/React.createElement(Text$1, _extends$p({}, baseProps, { appearance: "subtle", size: "small", className: TextClass @@ -40360,7 +40206,7 @@ var Box = function Box(props) { className = props.className; var baseProps = extractBaseProps(props); var MessageClass = classnames((_classNames = {}, _defineProperty$w(_classNames, 'Box', true), _defineProperty$w(_classNames, "Box--".concat(type), type), _defineProperty$w(_classNames, 'Box--typing', isTyping), _defineProperty$w(_classNames, 'Box--urgent', statusType === 'urgent'), _defineProperty$w(_classNames, "Box-".concat(type, "--withStatus"), withStatus || isTyping), _classNames), className); - return /*#__PURE__*/createElement("div", _extends$p({}, baseProps, { + return /*#__PURE__*/React.createElement("div", _extends$p({}, baseProps, { className: MessageClass, onClick: onClick }), children); @@ -40377,14 +40223,14 @@ var MessageText = function MessageText(props) { var baseProps = extractBaseProps(props); if (isTyping && type === 'incoming') { - return /*#__PURE__*/createElement(Text$1, _extends$p({}, baseProps, { + return /*#__PURE__*/React.createElement(Text$1, _extends$p({}, baseProps, { appearance: 'subtle', size: 'small', className: className }), typingText); } - return /*#__PURE__*/createElement(Text$1, _extends$p({}, baseProps, { + return /*#__PURE__*/React.createElement(Text$1, _extends$p({}, baseProps, { className: className, appearance: statusType === 'sending' ? 'subtle' : 'default' }), text); @@ -40408,20 +40254,20 @@ var ChatMessage = function ChatMessage(props) { var _ref = statusOptions || {}, statusType = _ref.type; - return /*#__PURE__*/createElement(Box, _extends$p({}, baseProps, { + return /*#__PURE__*/React.createElement(Box, _extends$p({}, baseProps, { type: type, className: className, onClick: onClick, isTyping: isTyping, statusType: statusType, withStatus: statusOptions !== undefined - }), /*#__PURE__*/createElement(MessageText, { + }), /*#__PURE__*/React.createElement(MessageText, { type: type, text: text, typingText: typingText, isTyping: isTyping, statusType: statusType - }), !isTyping && statusOptions && /*#__PURE__*/createElement(Status, statusOptions)); + }), !isTyping && statusOptions && /*#__PURE__*/React.createElement(Status, statusOptions)); }; ChatMessage.displayName = 'ChatMessage'; @@ -40450,15 +40296,15 @@ var EmptyState = function EmptyState(props) { var WrapperClass = classnames(_defineProperty$w({}, 'EmptyState', true), className); var HeadingClass = classnames((_classNames2 = {}, _defineProperty$w(_classNames2, 'EmptyState-title', true), _defineProperty$w(_classNames2, "EmptyState-title--".concat(size), true), _classNames2)); var TextClass = classnames((_classNames3 = {}, _defineProperty$w(_classNames3, 'EmptyState-description', true), _defineProperty$w(_classNames3, "EmptyState-description--".concat(size), children !== undefined), _classNames3)); - return /*#__PURE__*/createElement("div", _extends$p({}, baseProps, { + return /*#__PURE__*/React.createElement("div", _extends$p({}, baseProps, { className: WrapperClass - }), /*#__PURE__*/createElement("img", { + }), /*#__PURE__*/React.createElement("img", { src: imageSrc, height: imageHeight[size] - }), /*#__PURE__*/createElement(Heading, { + }), /*#__PURE__*/React.createElement(Heading, { size: HeadingSize[size], className: HeadingClass - }, title), /*#__PURE__*/createElement(Text$1, { + }, title), /*#__PURE__*/React.createElement(Text$1, { size: textSize[size], className: TextClass, appearance: "subtle" @@ -40483,20 +40329,20 @@ var ModalHeader = function ModalHeader(props) { var wrapperClass = classnames(_defineProperty$w({ 'Modal-headerWrapper': true }, 'Modal-headerWrapper--backIcon', backIcon)); - return /*#__PURE__*/createElement("div", _extends$p({ + return /*#__PURE__*/React.createElement("div", _extends$p({ "data-test": "DesignSystem-ModalHeader" }, baseProps, { className: classes - }), /*#__PURE__*/createElement("div", { + }), /*#__PURE__*/React.createElement("div", { className: wrapperClass - }, backIcon && /*#__PURE__*/createElement(Icon, { + }, backIcon && /*#__PURE__*/React.createElement(Icon, { name: "keyboard_backspace", size: 20, className: "ml-3 mr-5 my-3 px-2 py-2 cursor-pointer", onClick: backIconCallback - }), /*#__PURE__*/createElement("div", { + }), /*#__PURE__*/React.createElement("div", { className: "Modal-headerHeading" - }, /*#__PURE__*/createElement(Heading, null, heading), /*#__PURE__*/createElement(Icon, { + }, /*#__PURE__*/React.createElement(Heading, null, heading), /*#__PURE__*/React.createElement(Icon, { size: 20, name: 'close', className: 'mx-2 cursor-pointer', @@ -40504,7 +40350,7 @@ var ModalHeader = function ModalHeader(props) { onClick: function onClick(event) { return onClose(event, 'IconClick'); } - }))), subHeading && /*#__PURE__*/createElement(Text$1, { + }))), subHeading && /*#__PURE__*/React.createElement(Text$1, { "data-test": "DesignSystem-ModalHeader--Subheading", appearance: "subtle", className: "mt-2 ml-7" @@ -40525,8 +40371,8 @@ var ModalFooter = function ModalFooter(props) { var classes = classnames((_classNames = { 'Modal-footer': true }, _defineProperty$w(_classNames, 'Modal-footer--inModal', !inSidesheet), _defineProperty$w(_classNames, 'Modal-footer--seperator', seperator), _defineProperty$w(_classNames, 'Modal-footer--stickToBottom', stickToBottom), _classNames), className); - var wrapperRef = /*#__PURE__*/createRef(); - useEffect$2(function () { + var wrapperRef = /*#__PURE__*/React.createRef(); + React.useEffect(function () { if (open) { if (wrapperRef.current) { var _wrapperRef$current; @@ -40544,7 +40390,7 @@ var ModalFooter = function ModalFooter(props) { } } }, [open]); - return /*#__PURE__*/createElement("div", _extends$p({ + return /*#__PURE__*/React.createElement("div", _extends$p({ "data-test": "DesignSystem-ModalFooter", ref: wrapperRef }, baseProps, { @@ -40566,7 +40412,7 @@ var ModalBody = function ModalBody(props) { var classes = classnames(_defineProperty$w({ 'Modal-body': true }, 'Modal-body--stickFooter', withFooter && stickFooter), className); - return /*#__PURE__*/createElement("div", _extends$p({ + return /*#__PURE__*/React.createElement("div", _extends$p({ "data-test": "DesignSystem-ModalBody" }, baseProps, { className: classes @@ -40586,14 +40432,14 @@ var ModalDescription = function ModalDescription(props) { var classes = classnames({ 'Modal-description': true }, className); - return /*#__PURE__*/createElement("div", _extends$p({ + return /*#__PURE__*/React.createElement("div", _extends$p({ "data-test": "DesignSystem-ModalDescription" }, baseProps, { className: classes - }), title && /*#__PURE__*/createElement(Text$1, { + }), title && /*#__PURE__*/React.createElement(Text$1, { weight: "strong", "data-test": "DesignSystem-ModalDescription--Title" - }, title), title && description && /*#__PURE__*/createElement("br", null), description && /*#__PURE__*/createElement(Text$1, { + }, title), title && description && /*#__PURE__*/React.createElement("br", null), description && /*#__PURE__*/React.createElement(Text$1, { "data-test": "DesignSystem-ModalDescription--Description" }, description)); }; @@ -40608,23 +40454,23 @@ var Pagination = function Pagination(props) { className = props.className; var baseProps = extractBaseProps(props); - var _React$useState = useState$3(props.page), - _React$useState2 = _slicedToArray$6(_React$useState, 2), + var _React$useState = React.useState(props.page), + _React$useState2 = _slicedToArray$7(_React$useState, 2), page = _React$useState2[0], setPage = _React$useState2[1]; - var _React$useState3 = useState$3(false), - _React$useState4 = _slicedToArray$6(_React$useState3, 2), + var _React$useState3 = React.useState(false), + _React$useState4 = _slicedToArray$7(_React$useState3, 2), init = _React$useState4[0], setInit = _React$useState4[1]; - useEffect$2(function () { + React.useEffect(function () { setPage(props.page); }, [props.page]); var wrapperClass = classnames((_classNames = {}, _defineProperty$w(_classNames, 'Pagination', true), _defineProperty$w(_classNames, "Pagination--".concat(type), type), _classNames), className); var nextButtonWrapperClass = classnames((_classNames2 = {}, _defineProperty$w(_classNames2, 'Pagination-buttonWrapper', true), _defineProperty$w(_classNames2, 'Pagination-buttonWrapper--next', true), _classNames2)); var prevButtonWrapperClass = classnames((_classNames3 = {}, _defineProperty$w(_classNames3, 'Pagination-buttonWrapper', true), _defineProperty$w(_classNames3, 'Pagination-buttonWrapper--previous', true), _classNames3)); - useEffect$2(function () { + React.useEffect(function () { if (init) { if (page >= 1 && page <= totalPages) onPageChange(page); } @@ -40664,13 +40510,13 @@ var Pagination = function Pagination(props) { var buttonHelper = []; if (type === 'basic') buttonHelper.push('mx-3');else buttonHelper.push('mx-4'); - return /*#__PURE__*/createElement("div", _extends$p({ + return /*#__PURE__*/React.createElement("div", _extends$p({ "data-test": "DesignSystem-Pagination" }, baseProps, { className: wrapperClass - }), /*#__PURE__*/createElement("div", { + }), /*#__PURE__*/React.createElement("div", { className: prevButtonWrapperClass - }, /*#__PURE__*/createElement(Button, { + }, /*#__PURE__*/React.createElement(Button, { onClick: function onClick() { return onClickHandler('first'); }, @@ -40679,10 +40525,10 @@ var Pagination = function Pagination(props) { size: "large", icon: "first_page", "data-test": "DesignSystem-Pagination--FirstButton" - }), /*#__PURE__*/createElement("div", { + }), /*#__PURE__*/React.createElement("div", { "data-test": "DesignSystem-Pagination--Prev", className: ['ml-4'].concat(buttonHelper).join(' ') - }, /*#__PURE__*/createElement(Button, { + }, /*#__PURE__*/React.createElement(Button, { onClick: function onClick() { return onClickHandler('prev'); }, @@ -40690,20 +40536,20 @@ var Pagination = function Pagination(props) { size: "large", icon: "navigate_before", "data-test": "DesignSystem-Pagination--PrevButton" - }))), type === 'jump' && /*#__PURE__*/createElement("div", { + }))), type === 'jump' && /*#__PURE__*/React.createElement("div", { className: "Pagination-pageIndex" - }, /*#__PURE__*/createElement(Input, { + }, /*#__PURE__*/React.createElement(Input, { name: "page", type: "number", size: "large", onChange: inputChangeHandler, value: "".concat(page === 0 ? '' : page), "data-test": "DesignSystem-Pagination--Input" - }), /*#__PURE__*/createElement(Text$1, null, " of ".concat(totalPages, " pages"))), /*#__PURE__*/createElement("div", { + }), /*#__PURE__*/React.createElement(Text$1, null, " of ".concat(totalPages, " pages"))), /*#__PURE__*/React.createElement("div", { className: nextButtonWrapperClass - }, /*#__PURE__*/createElement("div", { + }, /*#__PURE__*/React.createElement("div", { className: ['mr-4'].concat(buttonHelper).join(' ') - }, /*#__PURE__*/createElement(Button, { + }, /*#__PURE__*/React.createElement(Button, { onClick: function onClick() { return onClickHandler('next'); }, @@ -40711,7 +40557,7 @@ var Pagination = function Pagination(props) { size: "large", icon: "navigate_next", "data-test": "DesignSystem-Pagination--NextButton" - })), /*#__PURE__*/createElement(Button, { + })), /*#__PURE__*/React.createElement(Button, { onClick: function onClick() { return onClickHandler('last'); }, @@ -40745,28 +40591,28 @@ var EditableInput = function EditableInput(props) { var onInputChange = inputOptions.onChange, rest = _objectWithoutProperties$a(inputOptions, ["onChange"]); - var _React$useState = useState$3(value), - _React$useState2 = _slicedToArray$6(_React$useState, 2), + var _React$useState = React.useState(value), + _React$useState2 = _slicedToArray$7(_React$useState, 2), inputValue = _React$useState2[0], setInputValue = _React$useState2[1]; - var _React$useState3 = useState$3(false), - _React$useState4 = _slicedToArray$6(_React$useState3, 2), + var _React$useState3 = React.useState(false), + _React$useState4 = _slicedToArray$7(_React$useState3, 2), editing = _React$useState4[0], setEditing = _React$useState4[1]; - var _React$useState5 = useState$3(false), - _React$useState6 = _slicedToArray$6(_React$useState5, 2), + var _React$useState5 = React.useState(false), + _React$useState6 = _slicedToArray$7(_React$useState5, 2), showComponent = _React$useState6[0], setShowComponent = _React$useState6[1]; - var inputRef = /*#__PURE__*/createRef(); + var inputRef = /*#__PURE__*/React.createRef(); var baseProps = extractBaseProps(props); var EditableInputClass = classnames(_defineProperty$w({}, 'EditableInput', true), className); var EditableDefaultClass = classnames((_classNames2 = {}, _defineProperty$w(_classNames2, 'EditableInput-default', true), _defineProperty$w(_classNames2, "EditableInput-default--".concat(size), size), _classNames2)); var InputClass = classnames(_defineProperty$w({}, 'EditableInput-Input--tiny', size === 'tiny')); var ActionClass = classnames((_classNames4 = {}, _defineProperty$w(_classNames4, 'EditableInput-actions', true), _defineProperty$w(_classNames4, "EditableInput-actions--".concat(size), size), _classNames4)); - useEffect$2(function () { + React.useEffect(function () { setDefaultComponent(); }, [value]); @@ -40802,7 +40648,7 @@ var EditableInput = function EditableInput(props) { } }; - var inputComponent = /*#__PURE__*/createElement(Input, _extends$p({ + var inputComponent = /*#__PURE__*/React.createElement(Input, _extends$p({ defaultValue: inputValue, placeholder: placeholder, className: InputClass, @@ -40830,46 +40676,46 @@ var EditableInput = function EditableInput(props) { var renderChildren = function renderChildren() { if (showComponent) { - return error && errorMessage && editing ? /*#__PURE__*/createElement(Popover, { + return error && errorMessage && editing ? /*#__PURE__*/React.createElement(Popover, { trigger: inputComponent, position: "right", className: "px-6 py-6 d-flex align-items-center", on: "hover" - }, /*#__PURE__*/createElement(Icon, { + }, /*#__PURE__*/React.createElement(Icon, { name: "error", appearance: 'alert', className: "mr-4" - }), /*#__PURE__*/createElement(Text$1, { + }), /*#__PURE__*/React.createElement(Text$1, { "data-test": "DesignSystem-EditableInput--ErrorPopper", appearance: "destructive", weight: "medium" }, errorMessage)) : inputComponent; } - return /*#__PURE__*/createElement("div", { + return /*#__PURE__*/React.createElement("div", { className: EditableDefaultClass, "data-test": "DesignSystem-EditableInput--Default" }, value || placeholder); }; - return /*#__PURE__*/createElement("div", _extends$p({ + return /*#__PURE__*/React.createElement("div", _extends$p({ "data-test": "DesignSystem-EditableInput" }, baseProps, { className: EditableInputClass, onKeyDown: onKeyDown - }), /*#__PURE__*/createElement(Editable, { + }), /*#__PURE__*/React.createElement(Editable, { onChange: onChangeHandler, editing: editing - }, renderChildren()), editing && /*#__PURE__*/createElement("div", { + }, renderChildren()), editing && /*#__PURE__*/React.createElement("div", { className: ActionClass, "data-test": "DesignSystem-EditableInput--Actions" - }, /*#__PURE__*/createElement(Button, { + }, /*#__PURE__*/React.createElement(Button, { icon: "clear", className: "mr-3", size: "tiny", onClick: setDefaultComponent, "data-test": "DesignSystem-EditableInput--Discard" - }), /*#__PURE__*/createElement(Button, { + }), /*#__PURE__*/React.createElement(Button, { icon: "check", appearance: "primary", size: "tiny", @@ -40908,13 +40754,13 @@ var ProgressRing = function ProgressRing(props) { strokeWidth: '8', strokeDasharray: "".concat(circumference, " ").concat(circumference) }; - return /*#__PURE__*/createElement("svg", _extends$p({ + return /*#__PURE__*/React.createElement("svg", _extends$p({ "data-test": "DesignSystem-ProgressRing" }, baseProps, { className: ProgressRingClass - }, svgProps), /*#__PURE__*/createElement("circle", _extends$p({ + }, svgProps), /*#__PURE__*/React.createElement("circle", _extends$p({ className: "Ring-background" - }, circleProps)), /*#__PURE__*/createElement("circle", _extends$p({ + }, circleProps)), /*#__PURE__*/React.createElement("circle", _extends$p({ className: "Ring-indicator", strokeDashoffset: circumference - updatedValue / 100 * circumference }, circleProps, { @@ -40944,16 +40790,16 @@ var Step = function Step(props) { }; var iconAppearance = completed ? 'info' : disabled ? 'disabled' : 'default'; - return /*#__PURE__*/createElement("div", { + return /*#__PURE__*/React.createElement("div", { "data-test": "DesignSystem-Step", className: StepClass, onClick: onClickHandle - }, /*#__PURE__*/createElement(Icon, { + }, /*#__PURE__*/React.createElement(Icon, { "data-test": "DesignSystem-StepIcon", name: completed ? 'check_circle' : 'radio_button_unchecked', appearance: iconAppearance, className: "mr-3 my-4" - }), label && /*#__PURE__*/createElement(Text$1, { + }), label && /*#__PURE__*/React.createElement(Text$1, { weight: "medium", appearance: disabled ? 'disabled' : 'default' }, label)); @@ -40973,7 +40819,7 @@ var Stepper = function Stepper(props) { }; var StepperClass = classnames(_defineProperty$w({}, 'Stepper', true), className); - return /*#__PURE__*/createElement("div", _extends$p({ + return /*#__PURE__*/React.createElement("div", _extends$p({ "data-test": "DesignSystem-Stepper" }, baseProps, { className: StepperClass @@ -40983,7 +40829,7 @@ var Stepper = function Stepper(props) { var activeStep = active === index; var completedStep = completed >= index; var disabled = completed + 1 < index; - return /*#__PURE__*/createElement(Step, { + return /*#__PURE__*/React.createElement(Step, { key: index, label: label, value: value, @@ -41149,14 +40995,14 @@ var Trigger = function Trigger(props) { return isValid(validators, val, inputFormat); }; - return /*#__PURE__*/createElement(Row, null, /*#__PURE__*/createElement(Column, { + return /*#__PURE__*/React.createElement(Row, null, /*#__PURE__*/React.createElement(Column, { size: '6', sizeXS: '12', className: "DateRangePicker-input DateRangePicker-input--startDate" - }, startLabel && /*#__PURE__*/createElement(Label, { + }, startLabel && /*#__PURE__*/React.createElement(Label, { required: startInputOptions.required, withInput: true - }, startLabel), /*#__PURE__*/createElement(InputMask, _extends$p({ + }, startLabel), /*#__PURE__*/React.createElement(InputMask, _extends$p({ icon: "events", placeholder: inputFormat }, startInputOptions, { @@ -41179,14 +41025,14 @@ var Trigger = function Trigger(props) { caption: showStartError ? startErrorMessage : '', validators: [inputValidator], clearOnEmptyBlur: false - }))), /*#__PURE__*/createElement(Column, { + }))), /*#__PURE__*/React.createElement(Column, { size: '6', sizeXS: '12', className: "DateRangePicker-input DateRangePicker-input--endDate" - }, endLabel && /*#__PURE__*/createElement(Label, { + }, endLabel && /*#__PURE__*/React.createElement(Label, { required: endInputOptions.required, withInput: true - }, endLabel), /*#__PURE__*/createElement(InputMask, _extends$p({ + }, endLabel), /*#__PURE__*/React.createElement(InputMask, _extends$p({ icon: "events", placeholder: inputFormat }, endInputOptions, { @@ -41238,7 +41084,7 @@ var SingleInputTrigger = function SingleInputTrigger(props) { var inputValidator = function inputValidator(val) { var _val$split = val.split(' - '), - _val$split2 = _slicedToArray$6(_val$split, 2), + _val$split2 = _slicedToArray$7(_val$split, 2), startVal = _val$split2[0], endVal = _val$split2[1]; @@ -41318,10 +41164,10 @@ var SingleInputTrigger = function SingleInputTrigger(props) { }); }; - return /*#__PURE__*/createElement(Row, null, /*#__PURE__*/createElement(Column, null, label && /*#__PURE__*/createElement(Label, { + return /*#__PURE__*/React.createElement(Row, null, /*#__PURE__*/React.createElement(Column, null, label && /*#__PURE__*/React.createElement(Label, { required: inputOptions.required, withInput: true - }, label), /*#__PURE__*/createElement(InputMask, _extends$p({ + }, label), /*#__PURE__*/React.createElement(InputMask, _extends$p({ icon: "events", placeholder: "".concat(inputFormat, " - ").concat(inputFormat) }, inputOptions, { @@ -41662,7 +41508,7 @@ var DateRangePicker = /*#__PURE__*/function (_React$Component) { endDate = _this$state3.endDate, yearNav = _this$state3.yearNav, monthNav = _this$state3.monthNav; - return /*#__PURE__*/createElement(Calendar, _extends$p({}, rest, { + return /*#__PURE__*/React.createElement(Calendar, _extends$p({}, rest, { monthsInView: this.monthsInView, rangePicker: true, startDate: convertToDate(startDate, inputFormat, validators), @@ -41695,13 +41541,13 @@ var DateRangePicker = /*#__PURE__*/function (_React$Component) { var RangePickerClass = classnames((_classNames = {}, _defineProperty$w(_classNames, 'DateRangePicker', true), _defineProperty$w(_classNames, "DateRangePicker--".concat(contentAlign), contentAlign), _classNames)); if (withInput) { - var trigger = singleInput ? /*#__PURE__*/createElement(SingleInputTrigger, { + var trigger = singleInput ? /*#__PURE__*/React.createElement(SingleInputTrigger, { inputFormat: inputFormat, inputOptions: inputOptions, validators: validators, state: this.state, setState: this.setState.bind(this) - }) : /*#__PURE__*/createElement(Trigger, { + }) : /*#__PURE__*/React.createElement(Trigger, { inputFormat: inputFormat, startInputOptions: startInputOptions, endInputOptions: endInputOptions, @@ -41709,7 +41555,7 @@ var DateRangePicker = /*#__PURE__*/function (_React$Component) { state: this.state, setState: this.setState.bind(this) }); - return /*#__PURE__*/createElement(Popover, { + return /*#__PURE__*/React.createElement(Popover, { trigger: trigger, triggerClass: "w-100", className: RangePickerClass, @@ -41725,10 +41571,10 @@ var DateRangePicker = /*#__PURE__*/function (_React$Component) { }]); return DateRangePicker; -}(Component); // @ts-ignore +}(React.Component); // @ts-ignore _defineProperty$w(DateRangePicker, "defaultProps", _objectSpread2(_objectSpread2({}, Calendar.defaultProps), {}, { - children: /*#__PURE__*/createElement(Fragment$1, null), + children: /*#__PURE__*/React.createElement(React.Fragment, null), contentAlign: 'left', monthsInView: undefined, position: 'bottom-start', @@ -41764,12 +41610,12 @@ var TabsWrapper = function TabsWrapper(props) { var tabs = Array.isArray(children) ? children : [children]; var totalTabs = tabs.length; - var _React$useState = useState$3(props.active && props.active < totalTabs ? props.active : 0), - _React$useState2 = _slicedToArray$6(_React$useState, 2), + var _React$useState = React.useState(props.active && props.active < totalTabs ? props.active : 0), + _React$useState2 = _slicedToArray$7(_React$useState, 2), active = _React$useState2[0], setActiveTab = _React$useState2[1]; - useEffect$2(function () { + React.useEffect(function () { setActiveTab(props.active && props.active < totalTabs ? props.active : 0); }, [props.active]); var wrapperClass = classnames(_defineProperty$w({}, 'TabsWrapper', true), className); @@ -41786,7 +41632,7 @@ var TabsWrapper = function TabsWrapper(props) { label = _child$props.label, disabled = _child$props.disabled; var tabHeaderClass = classnames((_classNames2 = {}, _defineProperty$w(_classNames2, 'Tab', true), _defineProperty$w(_classNames2, 'Tab--disabled', disabled), _defineProperty$w(_classNames2, 'Tab--active', !disabled && active === index), _classNames2)); - return /*#__PURE__*/createElement("div", { + return /*#__PURE__*/React.createElement("div", { "data-test": "DesignSystem-Tabs--Header", key: index, className: tabHeaderClass, @@ -41795,13 +41641,13 @@ var TabsWrapper = function TabsWrapper(props) { } }, label); }); - return /*#__PURE__*/createElement("div", _extends$p({ + return /*#__PURE__*/React.createElement("div", _extends$p({ "data-test": "DesignSystem-TabsWrapper" }, baseProps, { className: wrapperClass - }), /*#__PURE__*/createElement("div", { + }), /*#__PURE__*/React.createElement("div", { className: "TabsWrapper-header" - }, TabsHeader), /*#__PURE__*/createElement("div", { + }, TabsHeader), /*#__PURE__*/React.createElement("div", { className: "TabsWrapper-content", "data-test": "DesignSystem-Tabs--Content" }, tabs[active])); @@ -41810,7 +41656,7 @@ TabsWrapper.displayName = 'TabsWrapper'; var Tab = function Tab(props) { var children = props.children; - return /*#__PURE__*/createElement(Fragment$1, null, children); + return /*#__PURE__*/React.createElement(React.Fragment, null, children); }; Tab.displayName = 'Tab'; @@ -41992,14 +41838,14 @@ var getFileError = function getFileError(options) { var typeError = files.every(function (file) { var _fileAccepted = fileAccepted(file, accept), - _fileAccepted2 = _slicedToArray$6(_fileAccepted, 1), + _fileAccepted2 = _slicedToArray$7(_fileAccepted, 1), accepted = _fileAccepted2[0]; return !accepted; }); var sizeError = files.every(function (file) { var _fileMatchSize = fileMatchSize(file, minSize, maxSize), - _fileMatchSize2 = _slicedToArray$6(_fileMatchSize, 1), + _fileMatchSize2 = _slicedToArray$7(_fileMatchSize, 1), sizeMatch = _fileMatchSize2[0]; return !sizeMatch; @@ -42019,11 +41865,11 @@ var allFilesAccepted = function allFilesAccepted(options) { return files.every(function (file) { var _fileAccepted3 = fileAccepted(file, accept), - _fileAccepted4 = _slicedToArray$6(_fileAccepted3, 1), + _fileAccepted4 = _slicedToArray$7(_fileAccepted3, 1), accepted = _fileAccepted4[0]; var _fileMatchSize3 = fileMatchSize(file, minSize, maxSize), - _fileMatchSize4 = _slicedToArray$6(_fileMatchSize3, 1), + _fileMatchSize4 = _slicedToArray$7(_fileMatchSize3, 1), sizeMatch = _fileMatchSize4[0]; return accepted && sizeMatch; @@ -42190,7 +42036,7 @@ function toFilePromises(item) { function flatten(items) { return items.reduce(function (acc, files) { - return [].concat(_toConsumableArray$9(acc), _toConsumableArray$9(Array.isArray(files) ? flatten(files) : [files])); + return [].concat(_toConsumableArray$b(acc), _toConsumableArray$b(Array.isArray(files) ? flatten(files) : [files])); }, []); } @@ -42349,7 +42195,7 @@ var DropzoneBase = function DropzoneBase(props) { var inputRef = useRef(null); var _useReducer = useReducer(reducer, initialState), - _useReducer2 = _slicedToArray$6(_useReducer, 2), + _useReducer2 = _slicedToArray$7(_useReducer, 2), state = _useReducer2[0], dispatch = _useReducer2[1]; @@ -42447,7 +42293,7 @@ var DropzoneBase = function DropzoneBase(props) { event.preventDefault(); event.persist(); // @ts-ignore - dragTargetsRef.current = [].concat(_toConsumableArray$9(dragTargetsRef.current), [event.target]); + dragTargetsRef.current = [].concat(_toConsumableArray$b(dragTargetsRef.current), [event.target]); if (isEvtWithFiles(event)) { Promise.resolve(getFilesFromEvent(event)).then(function (files) { @@ -42531,12 +42377,12 @@ var DropzoneBase = function DropzoneBase(props) { var fileRejections = []; files.forEach(function (file) { var _fileAccepted = fileAccepted(file, accept), - _fileAccepted2 = _slicedToArray$6(_fileAccepted, 2), + _fileAccepted2 = _slicedToArray$7(_fileAccepted, 2), accepted = _fileAccepted2[0], acceptError = _fileAccepted2[1]; var _fileMatchSize = fileMatchSize(file, minSize, maxSize), - _fileMatchSize2 = _slicedToArray$6(_fileMatchSize, 2), + _fileMatchSize2 = _slicedToArray$7(_fileMatchSize, 2), sizeMatch = _fileMatchSize2[0], sizeError = _fileMatchSize2[1]; @@ -42698,12 +42544,12 @@ var DropzoneActive = function DropzoneActive(props) { var type = props.type; var IconClass = classnames((_classNames = {}, _defineProperty$w(_classNames, 'Dropzone-stateIcon', true), _defineProperty$w(_classNames, "Dropzone-stateIcon--".concat(type), type), _classNames)); - return /*#__PURE__*/createElement(Fragment$1, null, type !== 'tight' && /*#__PURE__*/createElement(Icon, { + return /*#__PURE__*/React.createElement(React.Fragment, null, type !== 'tight' && /*#__PURE__*/React.createElement(Icon, { name: "archive", size: 64, appearance: "info", className: IconClass - }), /*#__PURE__*/createElement(Text$1, { + }), /*#__PURE__*/React.createElement(Text$1, { appearance: "link", size: "large", weight: "strong" @@ -42717,12 +42563,12 @@ var DropzoneError = function DropzoneError(props) { var type = props.type, error = props.error; var IconClass = classnames((_classNames = {}, _defineProperty$w(_classNames, 'Dropzone-stateIcon', true), _defineProperty$w(_classNames, "Dropzone-stateIcon--".concat(type), type), _classNames)); - return /*#__PURE__*/createElement(Fragment$1, null, type !== 'tight' && /*#__PURE__*/createElement(Icon, { + return /*#__PURE__*/React.createElement(React.Fragment, null, type !== 'tight' && /*#__PURE__*/React.createElement(Icon, { name: "error", size: 64, appearance: "alert", className: IconClass - }), /*#__PURE__*/createElement(Text$1, { + }), /*#__PURE__*/React.createElement(Text$1, { appearance: "destructive", size: "large", weight: "strong" @@ -42754,58 +42600,58 @@ var Dropzone = function Dropzone(props) { var WrapperClass = classnames((_classNames3 = {}, _defineProperty$w(_classNames3, 'DropzoneWrapper', true), _defineProperty$w(_classNames3, "DropzoneWrapper--".concat(type), true), _classNames3)); if (isDragReject) { - return /*#__PURE__*/React.createElement("div", _extends$p({}, getRootProps(), baseProps, { + return /*#__PURE__*/React__default.createElement("div", _extends$p({}, getRootProps(), baseProps, { className: DropzoneClass - }), /*#__PURE__*/React.createElement(DropzoneError, { + }), /*#__PURE__*/React__default.createElement(DropzoneError, { type: type, error: fileErrorMessages[fileError] })); } if (isDragActive) { - return /*#__PURE__*/React.createElement("div", _extends$p({}, getRootProps(), baseProps, { + return /*#__PURE__*/React__default.createElement("div", _extends$p({}, getRootProps(), baseProps, { className: DropzoneClass - }), /*#__PURE__*/React.createElement(DropzoneActive, { + }), /*#__PURE__*/React__default.createElement(DropzoneActive, { type: type })); } var renderDropzone = function renderDropzone() { - if (isDragReject) return /*#__PURE__*/React.createElement(DropzoneError, { + if (isDragReject) return /*#__PURE__*/React__default.createElement(DropzoneError, { type: type, error: fileErrorMessages[fileError] }); - if (isDragActive) return /*#__PURE__*/React.createElement(DropzoneActive, { + if (isDragActive) return /*#__PURE__*/React__default.createElement(DropzoneActive, { type: type }); - return /*#__PURE__*/React.createElement(React.Fragment, null, type !== 'tight' && /*#__PURE__*/React.createElement(Icon, { + return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, type !== 'tight' && /*#__PURE__*/React__default.createElement(Icon, { name: "backup", size: 64, className: IconClass - }), /*#__PURE__*/React.createElement("div", { + }), /*#__PURE__*/React__default.createElement("div", { className: WrapperClass - }, /*#__PURE__*/React.createElement("span", null, /*#__PURE__*/React.createElement(Text$1, { + }, /*#__PURE__*/React__default.createElement("span", null, /*#__PURE__*/React__default.createElement(Text$1, { size: "large", weight: "strong", className: "mr-2", appearance: disabled ? 'disabled' : 'default' - }, "Drag your files here or"), /*#__PURE__*/React.createElement("span", { + }, "Drag your files here or"), /*#__PURE__*/React__default.createElement("span", { className: "cursor-pointer", onClick: open - }, /*#__PURE__*/React.createElement(Text$1, { + }, /*#__PURE__*/React__default.createElement(Text$1, { size: "large", weight: "strong", appearance: disabled ? 'disabled' : 'link' - }, " browse files")), /*#__PURE__*/React.createElement("input", getInputProps())), formatLabel && /*#__PURE__*/React.createElement(Text$1, { + }, " browse files")), /*#__PURE__*/React__default.createElement("input", getInputProps())), formatLabel && /*#__PURE__*/React__default.createElement(Text$1, { appearance: disabled ? 'disabled' : 'subtle' - }, formatLabel), sizeLabel && /*#__PURE__*/React.createElement(Text$1, { + }, formatLabel), sizeLabel && /*#__PURE__*/React__default.createElement(Text$1, { appearance: disabled ? 'disabled' : 'subtle' - }, sizeLabel), sampleFileLink && /*#__PURE__*/React.createElement("div", { + }, sizeLabel), sampleFileLink && /*#__PURE__*/React__default.createElement("div", { className: "mt-5" }, sampleFileLink))); }; - return /*#__PURE__*/React.createElement("div", _extends$p({}, getRootProps(), baseProps, { + return /*#__PURE__*/React__default.createElement("div", _extends$p({}, getRootProps(), baseProps, { className: DropzoneClass }), renderDropzone()); }; @@ -42818,7 +42664,7 @@ var FileUploaderFormat = function FileUploaderFormat(props) { var formatLabel = props.formatLabel; if (formatLabel) { - return /*#__PURE__*/createElement(Text$1, { + return /*#__PURE__*/React.createElement(Text$1, { size: "small", appearance: "subtle", className: "mt-4" @@ -42840,12 +42686,12 @@ var FileUploaderButton = function FileUploaderButton(props) { _onChange = props.onChange; var baseProps = extractBaseProps(props); var FileUploaderButtonClass = classnames(_defineProperty$w({}, 'FileUploaderButton', true), className); - return /*#__PURE__*/createElement("div", _extends$p({}, baseProps, { + return /*#__PURE__*/React.createElement("div", _extends$p({}, baseProps, { className: FileUploaderButtonClass - }), /*#__PURE__*/createElement(Button, { + }), /*#__PURE__*/React.createElement(Button, { disabled: disabled, icon: "backup" - }, uploadButtonLabel), /*#__PURE__*/createElement("input", { + }, uploadButtonLabel), /*#__PURE__*/React.createElement("input", { name: name, id: id, accept: accept && accept.join(', '), @@ -42882,19 +42728,19 @@ var FileUploader = function FileUploader(props) { onChange = props.onChange; var baseProps = extractBaseProps(props); var FileUploaderClass = classnames(_defineProperty$w({}, 'FileUploader', true), className); - return /*#__PURE__*/createElement("div", _extends$p({}, baseProps, { + return /*#__PURE__*/React.createElement("div", _extends$p({}, baseProps, { className: FileUploaderClass - }), /*#__PURE__*/createElement(Text$1, { + }), /*#__PURE__*/React.createElement(Text$1, { weight: "medium" - }, title), /*#__PURE__*/createElement(FileUploaderFormat, { + }, title), /*#__PURE__*/React.createElement(FileUploaderFormat, { formatLabel: formatLabel - }), /*#__PURE__*/createElement(Text$1, { + }), /*#__PURE__*/React.createElement(Text$1, { size: "small", appearance: "subtle", className: !formatLabel ? 'mt-4' : '' - }, sizeLabel), sampleFileLink && /*#__PURE__*/createElement("div", { + }, sizeLabel), sampleFileLink && /*#__PURE__*/React.createElement("div", { className: "mt-4" - }, sampleFileLink), /*#__PURE__*/createElement(FileUploaderButton, { + }, sampleFileLink), /*#__PURE__*/React.createElement(FileUploaderButton, { id: id, name: name, accept: accept, @@ -42918,14 +42764,14 @@ var FileUploaderStatus = function FileUploaderStatus(props) { switch (status) { case 'uploading': - return /*#__PURE__*/createElement(ProgressRing, { + return /*#__PURE__*/React.createElement(ProgressRing, { size: "small", value: progress, className: "mr-4" }); case 'error': - return /*#__PURE__*/createElement(Icon, { + return /*#__PURE__*/React.createElement(Icon, { name: "refresh", size: 20, onClick: onRetry, @@ -42955,19 +42801,19 @@ var FileUploaderItem = function FileUploaderItem(props) { var name = file.name; var baseProps = extractBaseProps(props); var FileItemClass = classnames(_defineProperty$w({}, 'FileUploaderItem', true), className); - return /*#__PURE__*/createElement("div", _extends$p({}, baseProps, { + return /*#__PURE__*/React.createElement("div", _extends$p({}, baseProps, { className: FileItemClass, onClick: function onClick() { return _onClick && _onClick(file, id); } - }), /*#__PURE__*/createElement("div", { + }), /*#__PURE__*/React.createElement("div", { className: "FileUploaderItem-file" - }, /*#__PURE__*/createElement(Text$1, { + }, /*#__PURE__*/React.createElement(Text$1, { className: "FileUploaderItem-text", appearance: status === 'completed' ? 'default' : 'subtle' - }, name), /*#__PURE__*/createElement("div", { + }, name), /*#__PURE__*/React.createElement("div", { className: "d-flex align-items-center" - }, /*#__PURE__*/createElement(FileUploaderStatus, { + }, /*#__PURE__*/React.createElement(FileUploaderStatus, { file: file, id: id, status: status, @@ -42975,14 +42821,14 @@ var FileUploaderItem = function FileUploaderItem(props) { onRetry: function onRetry() { return _onRetry && _onRetry(file, id); } - }), /*#__PURE__*/createElement(Icon, { + }), /*#__PURE__*/React.createElement(Icon, { name: "close", size: 20, onClick: function onClick() { return onDelete && onDelete(file, id); }, className: "py-2 px-2 my-3 mx-3 cursor-pointer" - }))), status === 'error' && /*#__PURE__*/createElement(Caption, { + }))), status === 'error' && /*#__PURE__*/React.createElement(Caption, { error: true }, errorMessage)); }; @@ -43002,10 +42848,10 @@ var FileUploaderList = function FileUploaderList(props) { var baseProps = extractBaseProps(props); var FileListClass = classnames(_defineProperty$w({}, 'FileUploaderList', true), className); if (fileList.length === 0) return null; - return /*#__PURE__*/createElement("div", _extends$p({}, baseProps, { + return /*#__PURE__*/React.createElement("div", _extends$p({}, baseProps, { className: FileListClass }), fileList.map(function (fileName, i) { - return /*#__PURE__*/createElement(FileUploaderItem, _extends$p({ + return /*#__PURE__*/React.createElement(FileUploaderItem, _extends$p({ key: i, onDelete: onDelete, onRetry: onRetry, @@ -43037,14 +42883,14 @@ var resizeCol = function resizeCol(_this, name, el) { }); }; function sortColumn(name, type) { - var sortingList = _toConsumableArray$9(this.props.sortingList); + var sortingList = _toConsumableArray$b(this.props.sortingList); var index = sortingList.findIndex(function (l) { return l.name === name; }); if (index !== -1) { - sortingList = [].concat(_toConsumableArray$9(sortingList.slice(0, index)), _toConsumableArray$9(sortingList.slice(index + 1))); + sortingList = [].concat(_toConsumableArray$b(sortingList.slice(0, index)), _toConsumableArray$b(sortingList.slice(index + 1))); } if (type !== 'unsort') sortingList.push({ @@ -43109,7 +42955,7 @@ function getCellSize(cellType) { } var updateBatchData = function updateBatchData(data, rowIndexes, dataUpdate) { - var updatedData = _toConsumableArray$9(data); + var updatedData = _toConsumableArray$b(data); var _iterator = _createForOfIteratorHelper(rowIndexes), _step; @@ -43172,7 +43018,7 @@ var sortData = function sortData() { var data = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : []; var sortingList = arguments.length > 2 ? arguments[2] : undefined; - var sortedData = _toConsumableArray$9(data); + var sortedData = _toConsumableArray$b(data); sortingList === null || sortingList === void 0 ? void 0 : sortingList.forEach(function (l) { var sIndex = schema.findIndex(function (s) { @@ -43209,9 +43055,9 @@ var moveToIndex = function moveToIndex(arr, from, to) { var newArr = arr; if (from < to) { - newArr = [].concat(_toConsumableArray$9(arr.slice(0, from)), _toConsumableArray$9(arr.slice(from + 1, to + 1)), [arr[from]], _toConsumableArray$9(arr.slice(to + 1))); + newArr = [].concat(_toConsumableArray$b(arr.slice(0, from)), _toConsumableArray$b(arr.slice(from + 1, to + 1)), [arr[from]], _toConsumableArray$b(arr.slice(to + 1))); } else { - newArr = [].concat(_toConsumableArray$9(arr.slice(0, to)), [arr[from]], _toConsumableArray$9(arr.slice(to, from)), _toConsumableArray$9(arr.slice(from + 1))); + newArr = [].concat(_toConsumableArray$b(arr.slice(0, to)), [arr[from]], _toConsumableArray$b(arr.slice(to, from)), _toConsumableArray$b(arr.slice(from + 1))); } return newArr; @@ -43327,7 +43173,7 @@ var HeaderCell = function HeaderCell(props) { return l.name === name; }); var sorted = listIndex !== -1 ? sortingList[listIndex].type : null; - var el = /*#__PURE__*/createRef(); + var el = /*#__PURE__*/React.createRef(); var sortOptions = [{ label: 'Sort Ascending', value: 'sortAsc', @@ -43366,7 +43212,7 @@ var HeaderCell = function HeaderCell(props) { if (sorted === 'asc') sortOptions[0] = unsortOption; if (sorted === 'desc') sortOptions[1] = unsortOption; var options = [].concat(pinOptions, hideOptions); - if (sorting) options = [].concat(sortOptions, _toConsumableArray$9(options)); + if (sorting) options = [].concat(sortOptions, _toConsumableArray$b(options)); var classes = classnames({ 'Grid-headCell': true, 'Grid-headCell--draggable': draggable @@ -43380,25 +43226,25 @@ var HeaderCell = function HeaderCell(props) { }) : []; var renderLabel = function renderLabel() { - return /*#__PURE__*/createElement(Fragment$1, null, /*#__PURE__*/createElement(Text$1, { + return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Text$1, { weight: "strong", className: "ellipsis--noWrap" - }, schema.displayName), sorting && /*#__PURE__*/createElement("div", { + }, schema.displayName), sorting && /*#__PURE__*/React.createElement("div", { className: "Grid-sortingIcons" - }, sorted ? sorted === 'asc' ? /*#__PURE__*/createElement(Icon, { + }, sorted ? sorted === 'asc' ? /*#__PURE__*/React.createElement(Icon, { name: "arrow_downward" - }) : /*#__PURE__*/createElement(Icon, { + }) : /*#__PURE__*/React.createElement(Icon, { name: "arrow_upward" - }) : /*#__PURE__*/createElement(Icon, { + }) : /*#__PURE__*/React.createElement(Icon, { name: "unfold_more" }))); }; - return /*#__PURE__*/createElement("div", { + return /*#__PURE__*/React.createElement("div", { key: name, className: classes, ref: el - }, /*#__PURE__*/createElement("div", { + }, /*#__PURE__*/React.createElement("div", { className: "Grid-cellContent", onClick: function onClick() { if (!loading && sorting) { @@ -43407,21 +43253,21 @@ var HeaderCell = function HeaderCell(props) { if (!sorted) _this.onMenuChange(name, 'sortAsc'); } } - }, loading && !init ? /*#__PURE__*/createElement(Placeholder, { + }, loading && !init ? /*#__PURE__*/React.createElement(Placeholder, { withImage: false - }, /*#__PURE__*/createElement(PlaceholderParagraph, { + }, /*#__PURE__*/React.createElement(PlaceholderParagraph, { length: "medium" - })) : /*#__PURE__*/createElement(Fragment$1, null, headCellTooltip ? /*#__PURE__*/createElement(Tooltip, { + })) : /*#__PURE__*/React.createElement(React.Fragment, null, headCellTooltip ? /*#__PURE__*/React.createElement(Tooltip, { position: "top-start", triggerClass: "w-100 overflow-hidden", tooltip: schema.displayName - }, renderLabel()) : renderLabel())), showFilters && filters && /*#__PURE__*/createElement(Fragment$1, null, loading && !init ? /*#__PURE__*/createElement("span", null, /*#__PURE__*/createElement(Placeholder, null)) : /*#__PURE__*/createElement("div", null, /*#__PURE__*/createElement(Dropdown, { + }, renderLabel()) : renderLabel())), showFilters && filters && /*#__PURE__*/React.createElement(React.Fragment, null, loading && !init ? /*#__PURE__*/React.createElement("span", null, /*#__PURE__*/React.createElement(Placeholder, null)) : /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Dropdown, { menu: true, showApplyButton: true, withCheckbox: true, triggerOptions: { customTrigger: function customTrigger() { - return /*#__PURE__*/createElement(Button, { + return /*#__PURE__*/React.createElement(Button, { icon: "filter_list", appearance: "transparent" }); @@ -43433,15 +43279,15 @@ var HeaderCell = function HeaderCell(props) { return _this.onFilterChange(name, selected); }, minWidth: 176 - }))), showMenu && /*#__PURE__*/createElement(Fragment$1, null, loading && !init ? /*#__PURE__*/createElement("span", { + }))), showMenu && /*#__PURE__*/React.createElement(React.Fragment, null, loading && !init ? /*#__PURE__*/React.createElement("span", { className: "ml-4" - }, /*#__PURE__*/createElement(Placeholder, null)) : /*#__PURE__*/createElement("div", null, /*#__PURE__*/createElement(Dropdown, { + }, /*#__PURE__*/React.createElement(Placeholder, null)) : /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Dropdown, { key: "".concat(name, "-").concat(sorted, "-").concat(pinned), menu: true, optionType: "WITH_ICON", triggerOptions: { customTrigger: function customTrigger() { - return /*#__PURE__*/createElement(Button, { + return /*#__PURE__*/React.createElement(Button, { icon: "more_vert_filled", appearance: "transparent" }); @@ -43453,7 +43299,7 @@ var HeaderCell = function HeaderCell(props) { return _this.onMenuChange(name, selected); }, minWidth: 176 - }))), schema.resizable && /*#__PURE__*/createElement("span", { + }))), schema.resizable && /*#__PURE__*/React.createElement("span", { className: "Grid-cellResize", onMouseDown: function onMouseDown() { resizeCol(_this, name, el.current); @@ -43473,7 +43319,7 @@ var BodyCell = function BodyCell(props) { loading = _this$props2.loading, nestedRows = _this$props2.nestedRows; - var _expandedState = _slicedToArray$6(expandedState, 2), + var _expandedState = _slicedToArray$7(expandedState, 2), expanded = _expandedState[0], setExpanded = _expandedState[1]; @@ -43492,9 +43338,9 @@ var BodyCell = function BodyCell(props) { rowIndex: rowIndex }; var isNestedRowDisabled = !GridNestedRow(nestedProps); - return /*#__PURE__*/createElement("div", { + return /*#__PURE__*/React.createElement("div", { className: "Grid-cellContent" - }, colIndex === 0 && nestedRows && /*#__PURE__*/createElement(Fragment$1, null, !isNestedRowDisabled ? /*#__PURE__*/createElement(Icon, { + }, colIndex === 0 && nestedRows && /*#__PURE__*/React.createElement(React.Fragment, null, !isNestedRowDisabled ? /*#__PURE__*/React.createElement(Icon, { className: 'Grid-nestedRowTrigger', name: expanded ? 'keyboard_arrow_up' : 'keyboard_arrow_down', size: 20, @@ -43505,9 +43351,9 @@ var BodyCell = function BodyCell(props) { setExpanded(!expanded); } } - }) : /*#__PURE__*/createElement("span", { + }) : /*#__PURE__*/React.createElement("span", { className: "Grid-nestedRowPlaceholder" - })), schema.cellRenderer ? schema.cellRenderer(cellProps) : /*#__PURE__*/createElement(GridCell, _extends$p({ + })), schema.cellRenderer ? schema.cellRenderer(cellProps) : /*#__PURE__*/React.createElement(GridCell, _extends$p({ key: "".concat(rowIndex, "-").concat(colIndex) }, cellProps))); }; @@ -43547,7 +43393,7 @@ var Cell = function Cell(props) { 'Grid-cell--nestedRow': !head && colIndex === 0 && nestedRows }); if (hidden) return null; - return /*#__PURE__*/createElement("div", { + return /*#__PURE__*/React.createElement("div", { key: "".concat(rowIndex, "-").concat(colIndex), className: cellClass, draggable: head && draggable, @@ -43579,12 +43425,12 @@ var Cell = function Cell(props) { minWidth: getWidth.call(_this, schema.minWidth || minWidth), maxWidth: getWidth.call(_this, schema.maxWidth || maxWidth) } - }, head ? /*#__PURE__*/createElement(HeaderCell, { + }, head ? /*#__PURE__*/React.createElement(HeaderCell, { _this: _this, draggable: draggable, colIndex: colIndex, schema: schema - }) : /*#__PURE__*/createElement(BodyCell, { + }) : /*#__PURE__*/React.createElement(BodyCell, { _this: _this, rowIndex: rowIndex, colIndex: colIndex, @@ -43618,9 +43464,9 @@ var GridHead = function GridHead(props) { var renderCheckbox = function renderCheckbox(show) { if (!show || !withCheckbox) return null; - return /*#__PURE__*/createElement("div", { + return /*#__PURE__*/React.createElement("div", { className: "Grid-cell Grid-cell--head Grid-cell--checkbox" - }, loading ? /*#__PURE__*/createElement(Placeholder, null) : /*#__PURE__*/createElement(Checkbox, _extends$p({}, selectAll, { + }, loading ? /*#__PURE__*/React.createElement(Placeholder, null) : /*#__PURE__*/React.createElement(Checkbox, _extends$p({}, selectAll, { onChange: _this.onSelectAll }))); }; @@ -43633,12 +43479,12 @@ var GridHead = function GridHead(props) { 'Grid-cellGroup': true, 'Grid-cellGroup--pinned': pinned }, _defineProperty$w(_classNames, "Grid-cellGroup--pinned-".concat(pinned), pinned), _defineProperty$w(_classNames, 'Grid-cellGroup--main', !pinned), _classNames)); - return /*#__PURE__*/createElement("div", { + return /*#__PURE__*/React.createElement("div", { className: classes }, renderCheckbox(shouldRenderCheckbox), currSchema.map(function (s, index) { var cI = pinned === 'left' ? index : leftPinnedSchema.length + index; if (pinned === 'right') cI += unpinnedSchema.length; - return /*#__PURE__*/createElement(Cell, { + return /*#__PURE__*/React.createElement(Cell, { key: "".concat(cI), _this: _this, head: true, @@ -43653,9 +43499,9 @@ var GridHead = function GridHead(props) { return null; }; - return /*#__PURE__*/createElement("div", { + return /*#__PURE__*/React.createElement("div", { className: "Grid-head" - }, /*#__PURE__*/createElement("div", { + }, /*#__PURE__*/React.createElement("div", { className: "Grid-row Grid-row--head" }, renderSchema(leftPinnedSchema, !!leftPinnedSchema.length, 'left'), renderSchema(unpinnedSchema, !leftPinnedSchema.length && !!unpinnedSchema.length), renderSchema(rightPinnedSchema, false, 'right'))); }; @@ -43666,10 +43512,10 @@ var GridRow = function GridRow(props) { data = props.data, withCheckbox = props.withCheckbox, rI = props.rowIndex; - var rowRef = useRef(null); + var rowRef = React.useRef(null); - var _React$useState = useState$3(false), - _React$useState2 = _slicedToArray$6(_React$useState, 2), + var _React$useState = React.useState(false), + _React$useState2 = _slicedToArray$7(_React$useState, 2), expanded = _React$useState2[0], setExpanded = _React$useState2[1]; @@ -43707,12 +43553,12 @@ var GridRow = function GridRow(props) { var renderCheckbox = function renderCheckbox(show) { if (!show || !withCheckbox) return null; - return /*#__PURE__*/createElement("div", { + return /*#__PURE__*/React.createElement("div", { className: "Grid-cell Grid-cell--body Grid-cell--checkbox", onClick: function onClick(e) { return e.stopPropagation(); } - }, loading ? /*#__PURE__*/createElement(Placeholder, null) : /*#__PURE__*/createElement(Checkbox, { + }, loading ? /*#__PURE__*/React.createElement(Placeholder, null) : /*#__PURE__*/React.createElement(Checkbox, { checked: !!data._selected, onChange: function onChange(event) { _this.onSelect(rI, event.target.checked); @@ -43728,12 +43574,12 @@ var GridRow = function GridRow(props) { 'Grid-cellGroup': true, 'Grid-cellGroup--pinned': pinned }, _defineProperty$w(_classNames, "Grid-cellGroup--pinned-".concat(pinned), pinned), _defineProperty$w(_classNames, 'Grid-cellGroup--main', !pinned), _classNames)); - return /*#__PURE__*/createElement("div", { + return /*#__PURE__*/React.createElement("div", { className: classes }, renderCheckbox(shouldRenderCheckbox), currSchema.map(function (s, index) { var cI = pinned === 'left' ? index : leftPinnedSchema.length + index; if (pinned === 'right') cI += unpinnedSchema.length; - return /*#__PURE__*/createElement(Cell, { + return /*#__PURE__*/React.createElement(Cell, { key: "".concat(rI, "-").concat(cI), _this: _this, rowIndex: rI, @@ -43749,17 +43595,17 @@ var GridRow = function GridRow(props) { return null; }; - return /*#__PURE__*/createElement("div", { + return /*#__PURE__*/React.createElement("div", { className: "Grid-rowWrapper" - }, /*#__PURE__*/createElement("div", { + }, /*#__PURE__*/React.createElement("div", { className: rowClasses, onClick: onClickHandler, ref: rowRef - }, renderSchema(leftPinnedSchema, !!leftPinnedSchema.length, 'left'), renderSchema(unpinnedSchema, !leftPinnedSchema.length && !!unpinnedSchema.length), renderSchema(rightPinnedSchema, false, 'right')), nestedRows && expanded && /*#__PURE__*/createElement("div", { + }, renderSchema(leftPinnedSchema, !!leftPinnedSchema.length, 'left'), renderSchema(unpinnedSchema, !leftPinnedSchema.length && !!unpinnedSchema.length), renderSchema(rightPinnedSchema, false, 'right')), nestedRows && expanded && /*#__PURE__*/React.createElement("div", { style: { width: rowRef.current ? rowRef.current.clientWidth : 0 } - }, /*#__PURE__*/createElement(GridNestedRow, { + }, /*#__PURE__*/React.createElement(GridNestedRow, { _this: _this, data: data, rowIndex: rI @@ -43797,15 +43643,15 @@ var GridBody = function GridBody(props) { }) : data.slice(offset, offset + buffer); var topPadding = Math.max(0, offset * avgRowHeight); var bottomPadding = Math.max(0, ((withPagination ? dummyRows : data.length) - inView - offset - 1) * avgRowHeight); - return /*#__PURE__*/createElement("div", { + return /*#__PURE__*/React.createElement("div", { className: "Grid-body" - }, !loading && /*#__PURE__*/createElement("div", { + }, !loading && /*#__PURE__*/React.createElement("div", { className: "GridBody-padding", style: { height: topPadding } }), rows.map(function (d, rI) { - return /*#__PURE__*/createElement(GridRow, { + return /*#__PURE__*/React.createElement(GridRow, { key: offset + rI, _this: _this, rowIndex: offset + rI, @@ -43813,7 +43659,7 @@ var GridBody = function GridBody(props) { schema: schema, withCheckbox: withCheckbox }); - }), !loading && /*#__PURE__*/createElement("div", { + }), !loading && /*#__PURE__*/React.createElement("div", { className: "GridBody-padding", style: { height: bottomPadding @@ -43853,12 +43699,12 @@ var MainGrid = function MainGrid(props) { inView: 20 }; - var _React$useState = useState$3(initialState), - _React$useState2 = _slicedToArray$6(_React$useState, 2), + var _React$useState = React.useState(initialState), + _React$useState2 = _slicedToArray$7(_React$useState, 2), state = _React$useState2[0], setState = _React$useState2[1]; - useEffect$2(function () { + React.useEffect(function () { if (init) { setState({ offset: offset, @@ -43867,7 +43713,7 @@ var MainGrid = function MainGrid(props) { }); } }, [init]); - useEffect$2(function () { + React.useEffect(function () { setState(initialState); var el = _this.gridRef.querySelector('.Grid'); @@ -43940,16 +43786,16 @@ var MainGrid = function MainGrid(props) { } }; - return /*#__PURE__*/createElement("div", _extends$p({}, baseProps, { + return /*#__PURE__*/React.createElement("div", _extends$p({}, baseProps, { className: classes, onScroll: onScrollHandler - }), showHead && /*#__PURE__*/createElement(GridHead, { + }), showHead && /*#__PURE__*/React.createElement(GridHead, { key: 'GridHead', _this: _this, schema: schema, draggable: draggable, withCheckbox: withCheckbox - }), /*#__PURE__*/createElement(GridBody, { + }), /*#__PURE__*/React.createElement(GridBody, { key: 'GridBody', _this: _this, schema: schema, @@ -43986,7 +43832,7 @@ var Grid = /*#__PURE__*/function (_React$Component) { _defineProperty$w(_assertThisInitialized$p(_this), "updateColumnSchema", function (name, schemaUpdate) { var schema = _this.props.schema; - var newSchema = _toConsumableArray$9(schema); + var newSchema = _toConsumableArray$b(schema); var ind = newSchema.findIndex(function (s) { return s.name === name; @@ -44094,7 +43940,7 @@ var Grid = /*#__PURE__*/function (_React$Component) { var baseProps = extractBaseProps(this.props); var schema = getSchema(this); - return /*#__PURE__*/createElement("div", { + return /*#__PURE__*/React.createElement("div", { className: "Grid-wrapper", ref: function ref(el) { _this2.gridRef = el; @@ -44105,7 +43951,7 @@ var Grid = /*#__PURE__*/function (_React$Component) { }); } } - }, /*#__PURE__*/createElement(MainGrid, _extends$p({}, baseProps, { + }, /*#__PURE__*/React.createElement(MainGrid, _extends$p({}, baseProps, { _this: this, schema: schema }))); @@ -44113,7 +43959,7 @@ var Grid = /*#__PURE__*/function (_React$Component) { }]); return Grid; -}(Component); +}(React.Component); _defineProperty$w(Grid, "defaultProps", { showHead: true, @@ -44138,16 +43984,16 @@ var renderTitle = function renderTitle(props) { if (children !== undefined && children !== null) { if (tooltip) { - return /*#__PURE__*/createElement(Tooltip, { + return /*#__PURE__*/React.createElement(Tooltip, { tooltip: children, position: 'top-start', triggerClass: "w-100 overflow-hidden" - }, /*#__PURE__*/createElement(Text$1, { + }, /*#__PURE__*/React.createElement(Text$1, { className: "w-100 ellipsis" }, children)); } - return /*#__PURE__*/createElement(Text$1, { + return /*#__PURE__*/React.createElement(Text$1, { className: "w-100 ellipsis" }, children); } @@ -44160,10 +44006,10 @@ var renderMetaList = function renderMetaList(props) { var metaList = cellData.metaList; if (metaList) { - return /*#__PURE__*/createElement("div", { + return /*#__PURE__*/React.createElement("div", { className: "GridCell-metaList" }, metaList.map(function (list, index) { - return /*#__PURE__*/createElement(Text$1, { + return /*#__PURE__*/React.createElement(Text$1, { key: index, className: "ellipsis", appearance: 'subtle', @@ -44182,7 +44028,7 @@ var renderAvatar = function renderAvatar(props) { title = cellData.title; if (firstName || lastName) { - return /*#__PURE__*/createElement(Avatar, { + return /*#__PURE__*/React.createElement(Avatar, { className: "mr-5", firstName: firstName, lastName: lastName @@ -44190,7 +44036,7 @@ var renderAvatar = function renderAvatar(props) { } if (title) { - return /*#__PURE__*/createElement(Avatar, { + return /*#__PURE__*/React.createElement(Avatar, { className: "mr-5" }, title); } @@ -44203,7 +44049,7 @@ var renderIcon = function renderIcon(props) { var icon = cellData.icon; if (icon) { - return /*#__PURE__*/createElement(Icon, { + return /*#__PURE__*/React.createElement(Icon, { name: icon }); } @@ -44217,7 +44063,7 @@ var renderStatusHint = function renderStatusHint(props) { var children = cellData.title; if (children) { - return /*#__PURE__*/createElement(StatusHint, { + return /*#__PURE__*/React.createElement(StatusHint, { appearance: statusAppearance }, children); } @@ -44241,9 +44087,9 @@ var GridCell = function GridCell(props) { switch (cellType) { case 'DEFAULT': - return /*#__PURE__*/createElement("div", { + return /*#__PURE__*/React.createElement("div", { className: "".concat(cellClass, " GridCell--align-").concat(align, " GridCell--default") - }, loading ? /*#__PURE__*/createElement(PlaceholderParagraph, { + }, loading ? /*#__PURE__*/React.createElement(PlaceholderParagraph, { length: "medium" }) : renderTitle({ tooltip: tooltip, @@ -44251,14 +44097,14 @@ var GridCell = function GridCell(props) { })); case 'WITH_META_LIST': - return /*#__PURE__*/createElement("div", { + return /*#__PURE__*/React.createElement("div", { className: "".concat(cellClass, " GridCell--metaList") - }, loading ? /*#__PURE__*/createElement(Fragment$1, null, /*#__PURE__*/createElement(PlaceholderParagraph, { + }, loading ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(PlaceholderParagraph, { length: "medium" - }), /*#__PURE__*/createElement(PlaceholderParagraph, { + }), /*#__PURE__*/React.createElement(PlaceholderParagraph, { length: "large", size: "xxs" - })) : /*#__PURE__*/createElement(Fragment$1, null, renderTitle({ + })) : /*#__PURE__*/React.createElement(React.Fragment, null, renderTitle({ tooltip: tooltip, cellData: cellData }), renderMetaList({ @@ -44267,14 +44113,14 @@ var GridCell = function GridCell(props) { case 'AVATAR': if (loading) { - return /*#__PURE__*/createElement(Placeholder, { + return /*#__PURE__*/React.createElement(Placeholder, { className: "GridCell--align-".concat(align), imageSize: 'medium', round: true }); } - return /*#__PURE__*/createElement("div", { + return /*#__PURE__*/React.createElement("div", { className: "".concat(cellClass, " GridCell--align-").concat(align, " GridCell--avatar") }, size !== 'tight' && renderAvatar({ cellData: cellData @@ -44282,16 +44128,16 @@ var GridCell = function GridCell(props) { case 'AVATAR_WITH_TEXT': if (loading) { - return /*#__PURE__*/createElement(Placeholder, { + return /*#__PURE__*/React.createElement(Placeholder, { imageSize: 'medium', round: true - }, /*#__PURE__*/createElement(PlaceholderParagraph, { + }, /*#__PURE__*/React.createElement(PlaceholderParagraph, { className: "ml-3", length: "medium" })); } - return /*#__PURE__*/createElement("div", { + return /*#__PURE__*/React.createElement("div", { className: "".concat(cellClass, " GridCell--avatarWithText") }, size !== 'tight' && renderAvatar({ cellData: cellData @@ -44302,23 +44148,23 @@ var GridCell = function GridCell(props) { case 'AVATAR_WITH_META_LIST': if (loading) { - return /*#__PURE__*/createElement(Placeholder, { + return /*#__PURE__*/React.createElement(Placeholder, { imageSize: 'medium', round: true - }, /*#__PURE__*/createElement(PlaceholderParagraph, { + }, /*#__PURE__*/React.createElement(PlaceholderParagraph, { className: "ml-3", length: "medium" - }), /*#__PURE__*/createElement(PlaceholderParagraph, { + }), /*#__PURE__*/React.createElement(PlaceholderParagraph, { className: "ml-3", length: "large" })); } - return /*#__PURE__*/createElement("div", { + return /*#__PURE__*/React.createElement("div", { className: "".concat(cellClass, " GridCell--avatarWithText") }, size !== 'tight' && renderAvatar({ cellData: cellData - }), /*#__PURE__*/createElement("div", { + }), /*#__PURE__*/React.createElement("div", { className: "GridCell-metaListWrapper" }, renderTitle({ tooltip: tooltip, @@ -44329,27 +44175,27 @@ var GridCell = function GridCell(props) { case 'ICON': if (loading) { - return /*#__PURE__*/createElement(Placeholder, { + return /*#__PURE__*/React.createElement(Placeholder, { className: "GridCell--align-".concat(align), imageSize: 'small', round: true }); } - return /*#__PURE__*/createElement("div", { + return /*#__PURE__*/React.createElement("div", { className: "".concat(cellClass, " GridCell--align-").concat(align, " GridCell--icon") }, renderIcon({ cellData: cellData })); case 'STATUS_HINT': - return /*#__PURE__*/createElement("div", { + return /*#__PURE__*/React.createElement("div", { className: "".concat(cellClass, " GridCell--align-").concat(align, " GridCell--statusHint") - }, loading ? /*#__PURE__*/createElement(Placeholder, { + }, loading ? /*#__PURE__*/React.createElement(Placeholder, { className: "w-75 flex-grow-0", imageSize: 'small', round: true - }, /*#__PURE__*/createElement(PlaceholderParagraph, { + }, /*#__PURE__*/React.createElement(PlaceholderParagraph, { length: "large" })) : renderStatusHint({ cellData: cellData @@ -44364,22 +44210,22 @@ var DraggableDropdown = function DraggableDropdown(props) { var options = props.options, onChange = props.onChange; - var _React$useState = useState$3(false), - _React$useState2 = _slicedToArray$6(_React$useState, 2), + var _React$useState = React.useState(false), + _React$useState2 = _slicedToArray$7(_React$useState, 2), open = _React$useState2[0], setOpen = _React$useState2[1]; - var _React$useState3 = useState$3(options), - _React$useState4 = _slicedToArray$6(_React$useState3, 2), + var _React$useState3 = React.useState(options), + _React$useState4 = _slicedToArray$7(_React$useState3, 2), tempOptions = _React$useState4[0], setTempOptions = _React$useState4[1]; - var _React$useState5 = useState$3('var(--spacing-8)'), - _React$useState6 = _slicedToArray$6(_React$useState5, 2), + var _React$useState5 = React.useState('var(--spacing-8)'), + _React$useState6 = _slicedToArray$7(_React$useState5, 2), triggerWidth = _React$useState6[0], setTriggerWidth = _React$useState6[1]; - useEffect$2(function () { + React.useEffect(function () { setTempOptions(options); }, [open]); @@ -44392,7 +44238,7 @@ var DraggableDropdown = function DraggableDropdown(props) { }; var handleChildChange = function handleChildChange(e, index) { - var newOptions = _toConsumableArray$9(tempOptions); + var newOptions = _toConsumableArray$b(tempOptions); newOptions[index] = _objectSpread2(_objectSpread2({}, newOptions[index]), {}, { selected: e.target.checked @@ -44413,12 +44259,12 @@ var DraggableDropdown = function DraggableDropdown(props) { if (onChange) onChange(tempOptions); }; - return /*#__PURE__*/createElement("div", { + return /*#__PURE__*/React.createElement("div", { className: "Dropdown" - }, /*#__PURE__*/createElement(Popover, { + }, /*#__PURE__*/React.createElement(Popover, { open: open, onToggle: onToggleHandler, - trigger: /*#__PURE__*/createElement(Button, { + trigger: /*#__PURE__*/React.createElement(Button, { ref: function ref(el) { setTriggerWidth("".concat(el === null || el === void 0 ? void 0 : el.clientWidth, "px")); }, @@ -44434,11 +44280,11 @@ var DraggableDropdown = function DraggableDropdown(props) { width: triggerWidth }, className: "Header-draggableDropdown" - }, /*#__PURE__*/createElement("div", { + }, /*#__PURE__*/React.createElement("div", { className: "Dropdown-wrapper" - }, /*#__PURE__*/createElement("div", { + }, /*#__PURE__*/React.createElement("div", { className: "OptionWrapper" - }, /*#__PURE__*/createElement(Checkbox, { + }, /*#__PURE__*/React.createElement(Checkbox, { className: "OptionCheckbox", label: "Select All", checked: tempOptions.every(function (option) { @@ -44451,7 +44297,7 @@ var DraggableDropdown = function DraggableDropdown(props) { }), onChange: handleParentChange })), tempOptions.map(function (option, index) { - return /*#__PURE__*/createElement("div", { + return /*#__PURE__*/React.createElement("div", { key: option.value, className: "OptionWrapper d-flex flex-space-between align-items-center cursor-pointer", draggable: true, @@ -44466,7 +44312,7 @@ var DraggableDropdown = function DraggableDropdown(props) { var to = index; if (from !== to) setTempOptions(moveToIndex(tempOptions, from, to)); } - }, /*#__PURE__*/createElement(Checkbox, { + }, /*#__PURE__*/React.createElement(Checkbox, { className: "OptionCheckbox", name: option.value, label: option.label, @@ -44474,17 +44320,17 @@ var DraggableDropdown = function DraggableDropdown(props) { onChange: function onChange(e) { return handleChildChange(e, index); } - }), /*#__PURE__*/createElement(Icon, { + }), /*#__PURE__*/React.createElement(Icon, { name: "drag_handle", className: "mr-4" })); - })), /*#__PURE__*/createElement("div", { + })), /*#__PURE__*/React.createElement("div", { className: "Dropdown-buttonWrapper" - }, /*#__PURE__*/createElement(Button, { + }, /*#__PURE__*/React.createElement(Button, { className: "mr-4", size: "tiny", onClick: onCancelHandler - }, "Cancel"), /*#__PURE__*/createElement(Button, { + }, "Cancel"), /*#__PURE__*/React.createElement(Button, { appearance: "primary", size: "tiny", onClick: onApplyHandler @@ -44516,25 +44362,25 @@ var Header = function Header(props) { allowSelectAll = props.allowSelectAll, showFilters = props.showFilters; - var _React$useState = useState$3(false), - _React$useState2 = _slicedToArray$6(_React$useState, 2), + var _React$useState = React.useState(false), + _React$useState2 = _slicedToArray$7(_React$useState, 2), selectAllRecords = _React$useState2[0], setSelectAllRecords = _React$useState2[1]; - var _React$useState3 = useState$3(true), - _React$useState4 = _slicedToArray$6(_React$useState3, 2), + var _React$useState3 = React.useState(true), + _React$useState4 = _slicedToArray$7(_React$useState3, 2), flag = _React$useState4[0], setFlag = _React$useState4[1]; - useEffect$2(function () { + React.useEffect(function () { setFlag(!flag); }, [schema]); - useEffect$2(function () { + React.useEffect(function () { if (selectAll && selectAll.checked) { if (onSelectAll) onSelectAll(true, selectAllRecords); } }, [selectAllRecords]); - useEffect$2(function () { + React.useEffect(function () { if (selectAll && !selectAll.checked) setSelectAllRecords(false); }, [selectAll]); var filterSchema = schema.filter(function (s) { @@ -44584,13 +44430,13 @@ var Header = function Header(props) { return d._selected; }).length; var label = withCheckbox && selectedCount ? selectAllRecords ? "Selected all ".concat(totalRecords, " items") : "Selected ".concat(selectedCount, " items on this page") : "Showing ".concat(!error ? totalRecords : 0, " items"); - return /*#__PURE__*/createElement("div", { + return /*#__PURE__*/React.createElement("div", { className: "Header" - }, /*#__PURE__*/createElement("div", { + }, /*#__PURE__*/React.createElement("div", { className: "Header-content Header-content--top" - }, withSearch && /*#__PURE__*/createElement("div", { + }, withSearch && /*#__PURE__*/React.createElement("div", { className: "Header-search" - }, /*#__PURE__*/createElement(Input, { + }, /*#__PURE__*/React.createElement(Input, { name: "GridHeader-search", icon: "search", placeholder: searchPlaceholder, @@ -44600,9 +44446,9 @@ var Header = function Header(props) { return updateSearchTerm && updateSearchTerm(''); }, disabled: loading && !getInit(schema) - })), showFilters && filterSchema.length > 0 && /*#__PURE__*/createElement("div", { + })), showFilters && filterSchema.length > 0 && /*#__PURE__*/React.createElement("div", { className: "Header-dropdown" - }, /*#__PURE__*/createElement("div", { + }, /*#__PURE__*/React.createElement("div", { className: "Header-filters" }, filterSchema.map(function (s) { var name = s.name, @@ -44615,7 +44461,7 @@ var Header = function Header(props) { }) !== -1 }); }) : []; - return /*#__PURE__*/createElement(Dropdown, { + return /*#__PURE__*/React.createElement(Dropdown, { key: name, withCheckbox: true, showApplyButton: true, @@ -44626,36 +44472,36 @@ var Header = function Header(props) { return onFilterChange(name, selected); } }); - }))), children && /*#__PURE__*/createElement("div", { + }))), children && /*#__PURE__*/React.createElement("div", { className: "Header-actions" - }, children)), /*#__PURE__*/createElement("div", { + }, children)), /*#__PURE__*/React.createElement("div", { className: "Header-content Header-content--bottom" - }, /*#__PURE__*/createElement("div", { + }, /*#__PURE__*/React.createElement("div", { className: "Header-label" - }, !showHead && withCheckbox && !loading && /*#__PURE__*/createElement(Checkbox, _extends$p({}, selectAll, { + }, !showHead && withCheckbox && !loading && /*#__PURE__*/React.createElement(Checkbox, _extends$p({}, selectAll, { onChange: function onChange(event) { if (onSelectAll) onSelectAll(event.target.checked); } - })), loading ? /*#__PURE__*/createElement(Placeholder, { + })), loading ? /*#__PURE__*/React.createElement(Placeholder, { withImage: !showHead && withCheckbox - }, /*#__PURE__*/createElement(PlaceholderParagraph, { + }, /*#__PURE__*/React.createElement(PlaceholderParagraph, { length: 'small', size: 's' - })) : /*#__PURE__*/createElement(Fragment$1, null, /*#__PURE__*/createElement(Label, null, label), withPagination && (selectAll === null || selectAll === void 0 ? void 0 : selectAll.checked) && allowSelectAll && /*#__PURE__*/createElement("div", { + })) : /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Label, null, label), withPagination && (selectAll === null || selectAll === void 0 ? void 0 : selectAll.checked) && allowSelectAll && /*#__PURE__*/React.createElement("div", { className: "ml-4" - }, !selectAllRecords ? /*#__PURE__*/createElement(Button, { + }, !selectAllRecords ? /*#__PURE__*/React.createElement(Button, { size: "tiny", onClick: function onClick() { return setSelectAllRecords(true); } - }, "Select all ".concat(totalRecords, " items")) : /*#__PURE__*/createElement(Button, { + }, "Select all ".concat(totalRecords, " items")) : /*#__PURE__*/React.createElement(Button, { size: "tiny", onClick: function onClick() { return setSelectAllRecords(false); } - }, "Clear Selection")))), dynamicColumn && /*#__PURE__*/createElement("div", { + }, "Clear Selection")))), dynamicColumn && /*#__PURE__*/React.createElement("div", { className: "Header-hideColumns" - }, /*#__PURE__*/createElement(DraggableDropdown, { + }, /*#__PURE__*/React.createElement(DraggableDropdown, { options: columnOptions, onChange: onDynamicColumnUpdate })))); @@ -44676,7 +44522,7 @@ var defaultErrorTemplate = function defaultErrorTemplate(props) { NO_RECORDS_FOUND: 'No results found', DEFAULT: 'No results found' }; - return /*#__PURE__*/createElement(Heading, null, errorMessages[errorType]); + return /*#__PURE__*/React.createElement(Heading, null, errorMessages[errorType]); }; var defaultProps = { @@ -44897,7 +44743,7 @@ var Table = /*#__PURE__*/function (_React$Component) { var multipleSorting = _this.props.multipleSorting; _this.setState({ - sortingList: multipleSorting ? _toConsumableArray$9(newSortingList) : newSortingList.slice(-1), + sortingList: multipleSorting ? _toConsumableArray$b(newSortingList) : newSortingList.slice(-1), page: 1 }); }); @@ -45027,11 +44873,11 @@ var Table = /*#__PURE__*/function (_React$Component) { var classes = className ? " ".concat(className) : ''; var totalRecords = this.state.totalRecords; var totalPages = getTotalPages(totalRecords, pageSize); - return /*#__PURE__*/createElement("div", _extends$p({}, baseProps, { + return /*#__PURE__*/React.createElement("div", _extends$p({}, baseProps, { className: "Table".concat(classes) - }), withHeader && /*#__PURE__*/createElement("div", { + }), withHeader && /*#__PURE__*/React.createElement("div", { className: "Table-header" - }, /*#__PURE__*/createElement(Header, _extends$p({}, this.state, { + }, /*#__PURE__*/React.createElement(Header, _extends$p({}, this.state, { // updateData={updateData} updateSchema: this.updateSchema // updateSortingList={updateSortingList} , @@ -45042,9 +44888,9 @@ var Table = /*#__PURE__*/function (_React$Component) { withCheckbox: withCheckbox, withPagination: withPagination, showFilters: filterPosition === 'HEADER' - }, headerAttr), headerChildren)), /*#__PURE__*/createElement("div", { + }, headerAttr), headerChildren)), /*#__PURE__*/React.createElement("div", { className: "Table-grid" - }, /*#__PURE__*/createElement(Grid, _extends$p({}, this.state, { + }, /*#__PURE__*/React.createElement(Grid, _extends$p({}, this.state, { updateData: this.updateData, updateSchema: this.updateSchema, updateSortingList: this.updateSortingList, @@ -45069,9 +44915,9 @@ var Table = /*#__PURE__*/function (_React$Component) { }), onRowClick: onRowClick, showFilters: filterPosition === 'GRID' - }))), withPagination && !this.state.loading && !this.state.error && totalPages > 1 && /*#__PURE__*/createElement("div", { + }))), withPagination && !this.state.loading && !this.state.error && totalPages > 1 && /*#__PURE__*/React.createElement("div", { className: "Table-pagination" - }, /*#__PURE__*/createElement(Pagination, { + }, /*#__PURE__*/React.createElement(Pagination, { page: this.state.page, totalPages: getTotalPages(totalRecords, pageSize), type: paginationType, @@ -45081,7 +44927,7 @@ var Table = /*#__PURE__*/function (_React$Component) { }]); return Table; -}(Component); +}(React.Component); _defineProperty$w(Table, "defaultProps", defaultProps); @@ -45091,14 +44937,14 @@ _defineProperty$w(Table, "defaultProps", defaultProps); * Please refer to stories of Table for examples. Simply replace `Table` with `List` to use it. */ var List = function List(props) { - return /*#__PURE__*/createElement(Table, _extends$p({}, props, { + return /*#__PURE__*/React.createElement(Table, _extends$p({}, props, { showHead: false, filterPosition: 'HEADER' })); }; List.defaultProps = defaultProps; -var useState$1 = useState$3; +var useState$1 = React.useState; /** * ####NOTE: Navigation(vertical) sets first subMenu(if present) active if the Navigation is collapsed. @@ -45120,11 +44966,11 @@ var Navigation = function Navigation(props) { var baseProps = extractBaseProps(props); var _useState = useState$1({}), - _useState2 = _slicedToArray$6(_useState, 2), + _useState2 = _slicedToArray$7(_useState, 2), menuState = _useState2[0], setMenuState = _useState2[1]; - useEffect$2(function () { + React.useEffect(function () { if (props.active) { var currMenu = getMenu(props.active); if (currMenu) updateMenuState(currMenu, true); @@ -45223,17 +45069,17 @@ var Navigation = function Navigation(props) { var menuClasses = classnames((_classNames = { 'Navigation-menu': true }, _defineProperty$w(_classNames, "Navigation-menu--".concat(type), type), _defineProperty$w(_classNames, 'Navigation-menu--active', isMenuActive), _classNames)); - return /*#__PURE__*/createElement("div", { + return /*#__PURE__*/React.createElement("div", { key: index, className: menuClasses, onClick: function onClick() { return onClickHandler(menu); } - }, menu.icon && /*#__PURE__*/createElement(Icon, { + }, menu.icon && /*#__PURE__*/React.createElement(Icon, { className: "mr-3", name: menu.icon, appearance: getIconAppearance(isMenuActive, menu.disabled) - }), /*#__PURE__*/createElement(Text$1, { + }), /*#__PURE__*/React.createElement(Text$1, { appearance: getTextAppearance(isMenuActive, menu.disabled) }, menu.label)); }); @@ -45253,39 +45099,39 @@ var Navigation = function Navigation(props) { 'Navigation-menuIcon': true, 'Navigation-menuIcon--active': activeMenuIcon }); - return /*#__PURE__*/createElement("div", { + return /*#__PURE__*/React.createElement("div", { key: index - }, /*#__PURE__*/createElement("div", { + }, /*#__PURE__*/React.createElement("div", { className: menuClasses, onClick: function onClick() { return onClickHandler(menu); } - }, menu.icon && /*#__PURE__*/createElement(Icon, { + }, menu.icon && /*#__PURE__*/React.createElement(Icon, { className: menuIconClasses, name: menu.icon, appearance: getIconAppearance(activeMenuIcon, menu.disabled) - }), expanded && /*#__PURE__*/createElement(Fragment$1, null, /*#__PURE__*/createElement("span", { + }), expanded && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("span", { className: "Navigation-menuLabel" - }, /*#__PURE__*/createElement(Text$1, { + }, /*#__PURE__*/React.createElement(Text$1, { appearance: getTextAppearance(activeMenu, menu.disabled) - }, menu.label)), menu.subMenu && menu.subMenu.length > 0 && /*#__PURE__*/createElement(Icon, { + }, menu.label)), menu.subMenu && menu.subMenu.length > 0 && /*#__PURE__*/React.createElement(Icon, { className: "mx-4", name: menuState[menu.name] ? 'keyboard_arrow_up' : 'keyboard_arrow_down', appearance: "subtle" - }))), /*#__PURE__*/createElement("div", { + }))), /*#__PURE__*/React.createElement("div", { className: "Navigation-subMenu" }, menuState[menu.name] && menu.subMenu && expanded && menu.subMenu.map(function (subMenu, ind) { var _classNames3; var isMenuActive = isActive(subMenu); var subMenuClasses = classnames(menuClasses, (_classNames3 = {}, _defineProperty$w(_classNames3, 'Navigation-menu--subMenu', type), _defineProperty$w(_classNames3, 'Navigation-menu--active', isMenuActive), _classNames3)); - return /*#__PURE__*/createElement("div", { + return /*#__PURE__*/React.createElement("div", { key: ind, className: subMenuClasses, onClick: function onClick() { return onClickHandler(subMenu); } - }, /*#__PURE__*/createElement(Text$1, { + }, /*#__PURE__*/React.createElement(Text$1, { appearance: getTextAppearance(isMenuActive, subMenu.disabled) }, subMenu.label)); }))); @@ -45293,11 +45139,11 @@ var Navigation = function Navigation(props) { var footerClasses = classnames(_defineProperty$w({ 'Navigation-footer': true }, 'Navigation-footer--border', true)); - return /*#__PURE__*/createElement(Fragment$1, null, /*#__PURE__*/createElement("div", { + return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", { className: "Navigation-body" - }, list), footer && /*#__PURE__*/createElement("div", { + }, list), footer && /*#__PURE__*/React.createElement("div", { className: footerClasses - }, /*#__PURE__*/createElement(Icon, { + }, /*#__PURE__*/React.createElement(Icon, { className: "Navigation-menuIcon Navigation-menuIcon--footer", name: "menu_open", size: 16, @@ -45308,7 +45154,7 @@ var Navigation = function Navigation(props) { }; var classes = classnames((_classNames5 = {}, _defineProperty$w(_classNames5, 'Navigation', true), _defineProperty$w(_classNames5, "Navigation--".concat(type), type), _defineProperty$w(_classNames5, 'justify-content-center', type === 'horizontal' && align === 'center'), _defineProperty$w(_classNames5, 'justify-content-start', type === 'horizontal' && align === 'left'), _defineProperty$w(_classNames5, 'Navigation--collapsed', !expanded), _classNames5), className); - return /*#__PURE__*/createElement("div", _extends$p({}, baseProps, { + return /*#__PURE__*/React.createElement("div", _extends$p({}, baseProps, { className: classes }), type === 'horizontal' ? getHorizontalMenu(menus) : getVerticalMenu()); }; @@ -45347,41 +45193,41 @@ var PageHeader = function PageHeader(props) { return navigation ? navigation : stepper; }; - return /*#__PURE__*/createElement("div", _extends$p({}, baseProps, { + return /*#__PURE__*/React.createElement("div", _extends$p({}, baseProps, { className: wrapperClasses - }), breadcrumbs, /*#__PURE__*/createElement("div", { + }), breadcrumbs, /*#__PURE__*/React.createElement("div", { className: classes - }, /*#__PURE__*/createElement(Row, null, /*#__PURE__*/createElement(Column, { + }, /*#__PURE__*/React.createElement(Row, null, /*#__PURE__*/React.createElement(Column, { size: "4", sizeXL: "4", sizeM: "4" - }, /*#__PURE__*/createElement("div", { + }, /*#__PURE__*/React.createElement("div", { className: "PageHeader-titleWrapper" - }, /*#__PURE__*/createElement(Heading, { + }, /*#__PURE__*/React.createElement(Heading, { className: "PageHeader-title" - }, title), badge)), /*#__PURE__*/createElement(Column, { + }, title), badge)), /*#__PURE__*/React.createElement(Column, { size: "4", sizeXL: "4", sizeM: "4" - }, /*#__PURE__*/createElement("div", { + }, /*#__PURE__*/React.createElement("div", { className: "PageHeader-navigationWrapper" - }, (!breadcrumbs || navigationPosition === 'center') && renderCenter())), /*#__PURE__*/createElement(Column, { + }, (!breadcrumbs || navigationPosition === 'center') && renderCenter())), /*#__PURE__*/React.createElement(Column, { size: "4", sizeXL: "4", sizeM: "4" - }, actions))), (status || meta) && /*#__PURE__*/createElement("div", { + }, actions))), (status || meta) && /*#__PURE__*/React.createElement("div", { className: "PageHeader-statusWrapper" - }, status, meta), breadcrumbs && navigationPosition === 'bottom' && /*#__PURE__*/createElement("div", { + }, status, meta), breadcrumbs && navigationPosition === 'bottom' && /*#__PURE__*/React.createElement("div", { className: "PageHeader-navigationWrapper" - }, renderCenter()), tabs && /*#__PURE__*/createElement("div", null, tabs)); + }, renderCenter()), tabs && /*#__PURE__*/React.createElement("div", null, tabs)); }; PageHeader.defaultProps = { navigationPosition: 'center', separator: true }; -var useEffect = useEffect$2, - useState = useState$3; +var useEffect = React.useEffect, + useState = React.useState; var IconMapping = { audio: 'audiotrack', image: 'image', @@ -45397,7 +45243,7 @@ var FileIcon = function FileIcon(props) { file = props.file; var _useState = useState(false), - _useState2 = _slicedToArray$6(_useState, 2), + _useState2 = _slicedToArray$7(_useState, 2), animate = _useState2[0], setAnimate = _useState2[1]; @@ -45414,14 +45260,14 @@ var FileIcon = function FileIcon(props) { }, [status]); if (status === 'uploading') { - return /*#__PURE__*/createElement(ProgressRing, { + return /*#__PURE__*/React.createElement(ProgressRing, { size: "small", value: progress || 0, className: uploadingIconClass }); } - return /*#__PURE__*/createElement(Icon, { + return /*#__PURE__*/React.createElement(Icon, { name: IconMapping[fileType], className: iconClass }); @@ -45452,26 +45298,26 @@ var FileListItem = function FileListItem(props) { } }; - return /*#__PURE__*/createElement("div", _extends$p({}, baseProps, { + return /*#__PURE__*/React.createElement("div", _extends$p({}, baseProps, { className: FileItemClass, onClick: onClickHandler - }), /*#__PURE__*/createElement("div", { + }), /*#__PURE__*/React.createElement("div", { className: "FileItem-file" - }, /*#__PURE__*/createElement("div", { + }, /*#__PURE__*/React.createElement("div", { className: "FileItem-fileContent" - }, /*#__PURE__*/createElement(FileIcon, { + }, /*#__PURE__*/React.createElement(FileIcon, { file: file, status: status, progress: progress - }), /*#__PURE__*/createElement(Text$1, { + }), /*#__PURE__*/React.createElement(Text$1, { className: "FileItem-text", appearance: status === 'completed' ? 'default' : 'subtle' - }, name)), /*#__PURE__*/createElement("div", { + }, name)), /*#__PURE__*/React.createElement("div", { className: "FileItem-actions" - }, /*#__PURE__*/createElement(Text$1, { + }, /*#__PURE__*/React.createElement(Text$1, { className: "FileItem-size", appearance: 'subtle' - }, fileSize || file.size), !!actions && actions)), status === 'error' && /*#__PURE__*/createElement(Caption, { + }, fileSize || file.size), !!actions && actions)), status === 'error' && /*#__PURE__*/React.createElement(Caption, { className: 'FileItem-error', error: true }, errorMessage)); @@ -45489,11 +45335,11 @@ var FileList = function FileList(props) { className = props.className; var baseProps = extractBaseProps(props); if (fileList.length === 0) return null; - return /*#__PURE__*/createElement(Card, _extends$p({}, baseProps, { + return /*#__PURE__*/React.createElement(Card, _extends$p({}, baseProps, { shadow: 'none', className: className }), fileList.map(function (fileItem, index) { - return /*#__PURE__*/createElement(FileListItem, _extends$p({ + return /*#__PURE__*/React.createElement(FileListItem, _extends$p({ key: index, onClick: onClick, actions: actionRenderer && actionRenderer(fileItem), @@ -45506,6 +45352,6 @@ FileList.defaultProps = { }; FileList.displayName = 'FileList'; -var version = "1.7.1-0"; +var version = "1.7.1"; export { Avatar, AvatarGroup, Backdrop, Badge, Breadcrumbs, Button, Caption, Card, ChatMessage, Checkbox, Chip, ChipGroup, Column, DatePicker, DateRangePicker, Dialog, DonutChart, Dropdown, Dropzone, EditableDropdown, EditableInput, EmptyState, FileList, FileUploader, FileUploaderList, FullscreenModal, Grid, GridCell, Heading, Icon, Input, InputMask, Label, Legend, Link, List, Message, MetaList, Modal, ModalBody, ModalDescription, ModalFooter, ModalHeader, Navigation, OutsideClick, PageHeader, Pagination, Paragraph, Pills, Placeholder, PlaceholderParagraph, Popover, ProgressBar, ProgressRing, Radio, RangeSlider, Row, Sidesheet, Slider, Spinner, StatusHint, Stepper, Subheading, Switch, Tab, Table, TabsWrapper, Text$1 as Text, Textarea, TimePicker, Toast, Tooltip, index$1 as Utils, version }; diff --git a/dist/index.js b/dist/index.js index 5f50aecee2..7750599363 100644 --- a/dist/index.js +++ b/dist/index.js @@ -1,8 +1,8 @@ /** - * Generated on: 1615366416344 + * Generated on: 1616155251059 * Package: @innovaccer/design-system - * Version: v1.7.1-0 + * Version: v1.7.1 * License: MIT * Docs: https://innovaccer.github.io/design-system */ @@ -16,8 +16,30 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; } + function _interopNamespace(e) { + if (e && e.__esModule) return e; + var n = Object.create(null); + if (e) { + Object.keys(e).forEach(function (k) { + if (k !== 'default') { + var d = Object.getOwnPropertyDescriptor(e, k); + Object.defineProperty(n, k, d.get ? d : { + enumerable: true, + get: function () { + return e[k]; + } + }); + } + }); + } + n['default'] = e; + return Object.freeze(n); + } + + var React__namespace = /*#__PURE__*/_interopNamespace(React); var React__default = /*#__PURE__*/_interopDefaultLegacy(React); var classNames__default = /*#__PURE__*/_interopDefaultLegacy(classNames); + var ReactDOM__namespace = /*#__PURE__*/_interopNamespace(ReactDOM); var colorToHex = function colorToHex(color) { return getComputedStyle(document.documentElement).getPropertyValue("--" + color); @@ -418,15 +440,15 @@ var IconClass = classNames__default['default']((_c = {}, _c["Avatar-content--" + AvatarAppearance] = AvatarAppearance, _c)); var renderAvatar = function renderAvatar() { - return /*#__PURE__*/React.createElement("span", __assign({ + return /*#__PURE__*/React__namespace.createElement("span", __assign({ "data-test": "DesignSystem-Avatar" }, baseProps, { className: classes - }), initials && /*#__PURE__*/React.createElement(Text, { + }), initials && /*#__PURE__*/React__namespace.createElement(Text, { weight: "medium", appearance: 'white', className: ContentClass - }, initials), !initials && /*#__PURE__*/React.createElement(Icon, { + }, initials), !initials && /*#__PURE__*/React__namespace.createElement(Icon, { "data-test": "DesignSystem-AvatarIcon", name: "person", size: size === 'regular' ? 16 : 12, @@ -437,7 +459,7 @@ var renderTooltip = function renderTooltip() { if (withTooltip && initials) { - return /*#__PURE__*/React.createElement(Tooltip, { + return /*#__PURE__*/React__namespace.createElement(Tooltip, { tooltip: tooltip, position: tooltipPosition, triggerClass: 'flex-grow-0' @@ -488,10 +510,10 @@ }; var AvatarGroupClass = classNames__default['default']((_a = {}, _a['AvatarGroup'] = true, _a), className); var popperClass = classNames__default['default']((_b = {}, _b['AvatarGroup-Popper'] = true, _b), popperClassName); - var trigger = /*#__PURE__*/React.createElement("div", { + var trigger = /*#__PURE__*/React__namespace.createElement("div", { "data-test": "DesignSystem-AvatarGroup--TriggerAvatar", style: style - }, /*#__PURE__*/React.createElement(Avatar, { + }, /*#__PURE__*/React__namespace.createElement(Avatar, { appearance: "secondary", firstName: "+", lastName: "" + extraAvatars, @@ -505,9 +527,9 @@ return popperRenderer(extraAvatarsList); } - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { className: "py-6 pr-4 pl-6" - }, /*#__PURE__*/React.createElement("div", { + }, /*#__PURE__*/React__namespace.createElement("div", { className: "AvatarGroup-TextWrapper", style: { maxHeight: maxHeight @@ -518,7 +540,7 @@ _b = item.lastName, lastName = _b === void 0 ? '' : _b; var name = firstName + " " + lastName; - return /*#__PURE__*/React.createElement(Text, { + return /*#__PURE__*/React__namespace.createElement(Text, { key: ind, appearance: dark ? 'white' : 'default', className: ind < extraAvatars - 1 ? 'mb-5' : '', @@ -532,12 +554,12 @@ var appearance = item.appearance, firstName = item.firstName, lastName = item.lastName; - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { "data-test": "DesignSystem-AvatarGroup--Avatar", className: "AvatarGroup-item", style: style, key: index - }, /*#__PURE__*/React.createElement(Avatar, { + }, /*#__PURE__*/React__namespace.createElement(Avatar, { appearance: appearance, firstName: firstName, lastName: lastName, @@ -548,11 +570,11 @@ return avatars; }; - return /*#__PURE__*/React.createElement("div", __assign({ + return /*#__PURE__*/React__namespace.createElement("div", __assign({ "data-test": "DesignSystem-AvatarGroup" }, baseProps, { className: AvatarGroupClass + " d-inline-flex" - }), renderAvatars(), list.length - max > 0 && /*#__PURE__*/React.createElement(Popover, { + }), renderAvatars(), list.length - max > 0 && /*#__PURE__*/React__namespace.createElement(Popover, { on: on, dark: dark, trigger: trigger, @@ -569,8 +591,8 @@ popoverOptions: {} }; - var useEffect$1 = React.useEffect, - useState$2 = React.useState; + var useEffect$1 = React__namespace.useEffect, + useState$2 = React__namespace.useState; var Backdrop = function Backdrop(props) { var className = props.className; var baseProps = extractBaseProps(props); @@ -579,11 +601,11 @@ savedBodyOverflow = _a[0], setBodyOverflow = _a[1]; - var _b = React.useState(props.open), + var _b = React__namespace.useState(props.open), open = _b[0], setOpen = _b[1]; - var _c = React.useState(props.open), + var _c = React__namespace.useState(props.open), animate = _c[0], setAnimate = _c[1]; @@ -619,7 +641,7 @@ enableBodyScroll(); } }, [props.open]); - var BackdropElement = /*#__PURE__*/ReactDOM.createPortal( /*#__PURE__*/React.createElement("div", __assign({ + var BackdropElement = /*#__PURE__*/ReactDOM__namespace.createPortal( /*#__PURE__*/React__namespace.createElement("div", __assign({ "data-test": "DesignSystem-Backdrop", "data-layer": true }, baseProps, { @@ -640,7 +662,7 @@ var classes = classNames__default['default']((_a = { Badge: true }, _a["Badge--" + appearance] = appearance && !subtle, _a["Badge--subtle-" + appearance] = subtle, _a), className); - return /*#__PURE__*/React.createElement("span", __assign({ + return /*#__PURE__*/React__namespace.createElement("span", __assign({ "data-test": "DesignSystem-Badge" }, baseProps, { className: classes @@ -850,7 +872,7 @@ }; }; - var DropdownButton = /*#__PURE__*/React.forwardRef(function (props, ref) { + var DropdownButton = /*#__PURE__*/React__namespace.forwardRef(function (props, ref) { var _a, _b; var _c = props.triggerSize, @@ -873,7 +895,7 @@ var iconName = !menu ? 'keyboard_arrow_down' : icon ? icon : 'more_horiz'; var buttonClass = classNames__default['default']((_a = {}, _a['Button'] = true, _a['DropdownButton'] = true, _a["DropdownButton--" + triggerSize] = triggerSize, _a["DropdownButton--" + triggerSize + "Square"] = menu, _a['DropdownButton--placeholder'] = !children && !menu, _a['DropdownButton--icon'] = icon, _a['DropdownButton--open'] = open, _a['DropdownButton--error'] = error, _a)); var textClass = classNames__default['default']((_b = {}, _b['Text'] = true, _b['Text--regular'] = true, _b['DropdownButton-text'] = true, _b)); - return /*#__PURE__*/React.createElement("button", __assign({ + return /*#__PURE__*/React__namespace.createElement("button", __assign({ ref: ref, type: "button", value: children, @@ -881,18 +903,18 @@ disabled: disabled, tabIndex: 0, "data-test": "DesignSystem-DropdownTrigger" - }, rest), !menu && /*#__PURE__*/React.createElement("div", { + }, rest), !menu && /*#__PURE__*/React__namespace.createElement("div", { className: "DropdownButton-wrapper" - }, inlineLabel && /*#__PURE__*/React.createElement(Text, { + }, inlineLabel && /*#__PURE__*/React__namespace.createElement(Text, { appearance: "subtle", className: "mr-4" - }, "" + inlineLabel.trim().charAt(0).toUpperCase() + inlineLabel.trim().slice(1)), icon && !inlineLabel && /*#__PURE__*/React.createElement(Icon, { + }, "" + inlineLabel.trim().charAt(0).toUpperCase() + inlineLabel.trim().slice(1)), icon && !inlineLabel && /*#__PURE__*/React__namespace.createElement(Icon, { appearance: buttonDisabled, className: "d-flex align-items-center mr-4", name: icon - }), value && /*#__PURE__*/React.createElement("span", { + }), value && /*#__PURE__*/React__namespace.createElement("span", { className: textClass - }, value)), /*#__PURE__*/React.createElement(Icon, { + }, value)), /*#__PURE__*/React__namespace.createElement(Icon, { appearance: buttonDisabled, name: iconName })); @@ -906,7 +928,7 @@ className = _a.className, props = __rest(_a, ["children", "componentType", "className"]); - return /*#__PURE__*/React.createElement(componentType, __assign(__assign({}, props), { + return /*#__PURE__*/React__namespace.createElement(componentType, __assign(__assign({}, props), { className: className }), children); }; @@ -924,7 +946,7 @@ var classes = classNames__default['default']((_a = { Text: true }, _a["Text--" + appearance] = appearance, _a["Text--" + weight] = weight, _a["Text--" + size] = size, _a['Text--small'] = size === 'small' || small, _a), className); - return /*#__PURE__*/React.createElement(GenericText, __assign({ + return /*#__PURE__*/React__namespace.createElement(GenericText, __assign({ "data-test": "DesignSystem-Text" }, baseProps, { className: classes, @@ -961,13 +983,13 @@ width: size + "px" }; - if (children && /*#__PURE__*/React.isValidElement(children)) { - return /*#__PURE__*/React.createElement("span", __assign({}, baseProps, { + if (children && /*#__PURE__*/React__namespace.isValidElement(children)) { + return /*#__PURE__*/React__namespace.createElement("span", __assign({}, baseProps, { className: className }), children); } - return /*#__PURE__*/React.createElement("i", __assign({}, baseProps, { + return /*#__PURE__*/React__namespace.createElement("i", __assign({}, baseProps, { className: iconClass, style: styles, onClick: onClick @@ -989,7 +1011,7 @@ return uuid; }; - var Checkbox = /*#__PURE__*/React.forwardRef(function (props, forwardedRef) { + var Checkbox = /*#__PURE__*/React__namespace.forwardRef(function (props, forwardedRef) { var _a, _b, _c, _d, _e; var _f = props.size, @@ -1004,20 +1026,20 @@ name = props.name, value = props.value, className = props.className; - var ref = React.useRef(null); + var ref = React__namespace.useRef(null); var baseProps = extractBaseProps(props); - React.useImperativeHandle(forwardedRef, function () { + React__namespace.useImperativeHandle(forwardedRef, function () { return ref.current; }); - var _h = React.useState(props.checked === undefined ? defaultChecked : props.checked), + var _h = React__namespace.useState(props.checked === undefined ? defaultChecked : props.checked), checked = _h[0], setChecked = _h[1]; - React.useEffect(function () { + React__namespace.useEffect(function () { setIndeterminate(indeterminate); }, [indeterminate]); - React.useEffect(function () { + React__namespace.useEffect(function () { if (props.checked !== undefined) { setChecked(props.checked); } @@ -1044,11 +1066,11 @@ var id = name + "-" + label + "-" + uidGenerator(); var IconName = indeterminate ? 'remove' : checked ? 'check' : ''; var IconSize = size === 'tiny' ? 8 : 16; - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { className: CheckboxClass - }, /*#__PURE__*/React.createElement("div", { + }, /*#__PURE__*/React__namespace.createElement("div", { className: CheckboxOuterWrapper - }, /*#__PURE__*/React.createElement("input", __assign({}, baseProps, { + }, /*#__PURE__*/React__namespace.createElement("input", __assign({}, baseProps, { type: "checkbox", defaultChecked: defaultChecked, onChange: onChangeHandler, @@ -1060,16 +1082,16 @@ className: CheckboxInputWrapper, tabIndex: tabIndex, id: id - })), /*#__PURE__*/React.createElement("span", { + })), /*#__PURE__*/React__namespace.createElement("span", { className: CheckboxWrapper - }, IconName && /*#__PURE__*/React.createElement(Icon, { + }, IconName && /*#__PURE__*/React__namespace.createElement(Icon, { name: IconName, size: IconSize, appearance: 'white' - }))), label && label.trim() && /*#__PURE__*/React.createElement("label", { + }))), label && label.trim() && /*#__PURE__*/React__namespace.createElement("label", { htmlFor: id, className: CheckboxTextClass - }, /*#__PURE__*/React.createElement(Text, { + }, /*#__PURE__*/React__namespace.createElement(Text, { size: size === 'tiny' ? 'small' : 'regular', appearance: disabled ? 'disabled' : 'default' }, label.trim()))); @@ -1085,12 +1107,12 @@ dataTest = props.dataTest; var label = optionData.label, disabled = optionData.disabled; - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { className: className, onMouseEnter: onUpdateActiveOption, "data-test": dataTest, "data-disabled": disabled - }, /*#__PURE__*/React.createElement(Checkbox, { + }, /*#__PURE__*/React__namespace.createElement(Checkbox, { label: label, disabled: disabled, checked: selected, @@ -1110,15 +1132,15 @@ dataTest = props.dataTest; var label = optionData.label, disabled = optionData.disabled; - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { className: className, onClick: onClickHandler, onMouseEnter: onUpdateActiveOption, "data-test": dataTest, "data-disabled": disabled - }, /*#__PURE__*/React.createElement("div", { + }, /*#__PURE__*/React__namespace.createElement("div", { className: 'Option-label' - }, /*#__PURE__*/React.createElement(Text, { + }, /*#__PURE__*/React__namespace.createElement(Text, { className: textClassName, appearance: appearance }, label))); @@ -1136,15 +1158,15 @@ var subInfo = optionData.subInfo, label = optionData.label, disabled = optionData.disabled; - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { className: className, onClick: onClickHandler, onMouseEnter: onUpdateActiveOption, "data-test": dataTest, "data-disabled": disabled - }, /*#__PURE__*/React.createElement("div", { + }, /*#__PURE__*/React__namespace.createElement("div", { className: 'Option-label' - }, /*#__PURE__*/React.createElement(Text, { + }, /*#__PURE__*/React__namespace.createElement(Text, { className: textClassName, appearance: appearance }, label), subInfo && renderSubInfo(subInfo))); @@ -1164,19 +1186,19 @@ icon = optionData.icon, disabled = optionData.disabled; var OptionClass = classNames__default['default']((_a = {}, _a["" + className] = true, _a['Option--icon'] = icon, _a)); - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { className: OptionClass, onClick: onClickHandler, onMouseEnter: onUpdateActiveOption, "data-test": dataTest, "data-disabled": disabled - }, icon && /*#__PURE__*/React.createElement(Icon, { + }, icon && /*#__PURE__*/React__namespace.createElement(Icon, { className: "Option-icon mr-4", name: icon, appearance: appearance - }), /*#__PURE__*/React.createElement("div", { + }), /*#__PURE__*/React__namespace.createElement("div", { className: 'Option-label' - }, /*#__PURE__*/React.createElement(Text, { + }, /*#__PURE__*/React__namespace.createElement(Text, { className: textClassName, appearance: appearance }, label))); @@ -1198,19 +1220,19 @@ icon = optionData.icon, disabled = optionData.disabled; var OptionClass = classNames__default['default']((_a = {}, _a["" + className] = true, _a['Option--icon'] = icon, _a)); - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { className: OptionClass, onClick: onClickHandler, onMouseEnter: onUpdateActiveOption, "data-test": dataTest, "data-disabled": disabled - }, icon && /*#__PURE__*/React.createElement(Icon, { + }, icon && /*#__PURE__*/React__namespace.createElement(Icon, { className: "Option-icon mr-4", name: icon, appearance: appearance - }), /*#__PURE__*/React.createElement("div", { + }), /*#__PURE__*/React__namespace.createElement("div", { className: 'Option-label' - }, /*#__PURE__*/React.createElement(Text, { + }, /*#__PURE__*/React__namespace.createElement(Text, { className: textClassName, appearance: appearance }, label), subInfo && renderSubInfo(subInfo))); @@ -1257,7 +1279,7 @@ }; if (props.optionRenderer) { - return /*#__PURE__*/React.createElement("div", __assign({ + return /*#__PURE__*/React__namespace.createElement("div", __assign({ className: customOptionClass, "data-disabled": disabled, onMouseEnter: onUpdateActiveOption @@ -1277,7 +1299,7 @@ var iconAppearance = selected ? 'white' : 'disabled'; if (typeof subInfo === 'string') { - return /*#__PURE__*/React.createElement(Text, { + return /*#__PURE__*/React__namespace.createElement(Text, { appearance: labelAppearance }, subInfo); } @@ -1285,7 +1307,7 @@ var _a = subInfo.list, list = _a === void 0 ? [] : _a, seperator = subInfo.seperator; - return /*#__PURE__*/React.createElement(MetaList, { + return /*#__PURE__*/React__namespace.createElement(MetaList, { list: list, seperator: seperator, iconAppearance: iconAppearance, @@ -1326,9 +1348,9 @@ var wrapperClass = classNames__default['default']((_b = { 'PlaceholderParagraph-wrapper': true }, _b["PlaceholderParagraph-wrapper--length-" + length] = length, _b["PlaceholderParagraph-wrapper--size-" + size] = size, _b), className); - return /*#__PURE__*/React.createElement("div", __assign({}, baseProps, { + return /*#__PURE__*/React__namespace.createElement("div", __assign({}, baseProps, { className: wrapperClass - }), /*#__PURE__*/React.createElement("span", { + }), /*#__PURE__*/React__namespace.createElement("span", { className: classes })); }; @@ -1349,7 +1371,7 @@ PlaceholderImage: true, 'Placeholder--animation': true }, _a['PlaceholderImage--round'] = round, _a["PlaceholderImage--" + size] = size, _a), className); - return /*#__PURE__*/React.createElement("span", __assign({}, baseProps, { + return /*#__PURE__*/React__namespace.createElement("span", __assign({}, baseProps, { className: classes })); }; @@ -1371,15 +1393,15 @@ 'Placeholder-paragraph': true }, _a['Placeholder-paragraph--withImage'] = withImage, _a)); var classes = classNames__default['default']((_b = {}, _b['Placeholder'] = true, _b), className); - return /*#__PURE__*/React.createElement("div", __assign({ + return /*#__PURE__*/React__namespace.createElement("div", __assign({ "data-test": "DesignSystem-Placeholder" }, baseProps, { className: classes - }), withImage && /*#__PURE__*/React.createElement(PlaceholderImage, { + }), withImage && /*#__PURE__*/React__namespace.createElement(PlaceholderImage, { round: round, size: imageSize, "data-test": "DesignSystem-Placeholder--Image" - }), children && /*#__PURE__*/React.createElement("div", { + }), children && /*#__PURE__*/React__namespace.createElement("div", { className: paragraphClasses, "data-test": "DesignSystem-Placeholder--Paragraph" }, children)); @@ -1485,21 +1507,21 @@ toggleDropdown = props.toggleDropdown, className = props.className; var baseProps = extractBaseProps(props); - var dropdownRef = /*#__PURE__*/React.createRef(); - var triggerRef = /*#__PURE__*/React.createRef(); - var dropdownTriggerRef = /*#__PURE__*/React.createRef(); - var dropdownCancelButtonRef = /*#__PURE__*/React.createRef(); - var dropdownApplyButtonRef = /*#__PURE__*/React.createRef(); + var dropdownRef = /*#__PURE__*/React__namespace.createRef(); + var triggerRef = /*#__PURE__*/React__namespace.createRef(); + var dropdownTriggerRef = /*#__PURE__*/React__namespace.createRef(); + var dropdownCancelButtonRef = /*#__PURE__*/React__namespace.createRef(); + var dropdownApplyButtonRef = /*#__PURE__*/React__namespace.createRef(); - var _o = React.useState(), + var _o = React__namespace.useState(), popoverStyle = _o[0], setPopoverStyle = _o[1]; - var _p = React.useState(firstEnabledOption), + var _p = React__namespace.useState(firstEnabledOption), cursor = _p[0], setCursor = _p[1]; - React.useEffect(function () { + React__namespace.useEffect(function () { var _a; if (dropdownOpen) { @@ -1516,7 +1538,7 @@ setPopoverStyle(popperWrapperStyle); } }, [dropdownOpen]); - React.useEffect(function () { + React__namespace.useEffect(function () { if (firstEnabledOption !== cursor) setCursor(firstEnabledOption); }, [firstEnabledOption]); var _q = props.triggerSize, @@ -1528,12 +1550,12 @@ disabled = props.disabled, inlineLabel = props.inlineLabel, triggerLabel = props.triggerLabel; - var CustomTrigger = customTrigger ? customTrigger(triggerLabel ? triggerLabel : placeholder) : /*#__PURE__*/React.createElement(React.Fragment, null); - var NewCustomTrigger = /*#__PURE__*/React.cloneElement(CustomTrigger, { + var CustomTrigger = customTrigger ? customTrigger(triggerLabel ? triggerLabel : placeholder) : /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null); + var NewCustomTrigger = /*#__PURE__*/React__namespace.cloneElement(CustomTrigger, { tabindex: 0, ref: dropdownTriggerRef }); - var trigger = customTrigger ? NewCustomTrigger : /*#__PURE__*/React.createElement(DropdownButton, { + var trigger = customTrigger ? NewCustomTrigger : /*#__PURE__*/React__namespace.createElement(DropdownButton, { placeholder: placeholder, triggerSize: triggerSize, open: dropdownOpen, @@ -1614,9 +1636,9 @@ var renderFooter = function renderFooter() { var _a = props.footerLabel, footerLabel = _a === void 0 ? 'Search for more options' : _a; - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { className: 'Dropdown-footer' - }, /*#__PURE__*/React.createElement(Text, { + }, /*#__PURE__*/React__namespace.createElement(Text, { size: "small", appearance: 'subtle' }, footerLabel)); @@ -1627,12 +1649,12 @@ var isClearDisabled = selected.every(function (option) { return option.disabled; }); - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { className: getDropdownSectionClass(selectedGroup) - }, /*#__PURE__*/React.createElement(Text, { + }, /*#__PURE__*/React__namespace.createElement(Text, { size: "small", appearance: 'subtle' - }, group), selectedGroup && /*#__PURE__*/React.createElement(Button, { + }, group), selectedGroup && /*#__PURE__*/React__namespace.createElement(Button, { onClick: onClearOptions, disabled: isClearDisabled, appearance: "transparent", @@ -1643,16 +1665,16 @@ var renderApplyButton = function renderApplyButton() { var disable = _isEqual(previousSelected, tempSelected); - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { className: 'Dropdown-buttonWrapper' - }, /*#__PURE__*/React.createElement(Button, { + }, /*#__PURE__*/React__namespace.createElement(Button, { ref: dropdownCancelButtonRef, className: "mr-4", appearance: 'basic', onClick: onCancelOptions, size: 'tiny', tabIndex: -1 - }, cancelButtonLabel), /*#__PURE__*/React.createElement(Button, { + }, cancelButtonLabel), /*#__PURE__*/React__namespace.createElement(Button, { ref: dropdownApplyButtonRef, appearance: 'primary', disabled: disable, @@ -1665,9 +1687,9 @@ var loadingOptions = props.loadingOptions, searchInit = props.searchInit; var disable = loadingOptions && !searchInit; - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { className: 'Dropdown-inputWrapper' - }, /*#__PURE__*/React.createElement(Input, { + }, /*#__PURE__*/React__namespace.createElement(Input, { name: "Dropdown-search", icon: 'search', value: searchTerm, @@ -1686,10 +1708,10 @@ var arr = Array(loadersLength).fill('Loading'); var type = withCheckbox ? 'WITH_CHECKBOX' : optionType; return arr.map(function (option, ind) { - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { className: "Option-loading", key: option + "-" + ind - }, /*#__PURE__*/React.createElement(Loading, { + }, /*#__PURE__*/React__namespace.createElement(Loading, { loadingType: type })); }); @@ -1701,12 +1723,12 @@ selectAll = props.selectAll, onSelectAll = props.onSelectAll; var label = selectAllLabel.trim() ? selectAllLabel.trim() : 'Select All'; - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { className: SelectAllClass, onMouseEnter: function onMouseEnter(_e) { return updateActiveOption(0, true); } - }, /*#__PURE__*/React.createElement(Checkbox, { + }, /*#__PURE__*/React__namespace.createElement(Checkbox, { label: label, onChange: onSelectAll, checked: selectAll.checked, @@ -1723,7 +1745,7 @@ var optionIsSelected = tempSelected.findIndex(function (option) { return option.value === item.value; }) !== -1; - return /*#__PURE__*/React.createElement(Option, { + return /*#__PURE__*/React__namespace.createElement(Option, { optionData: item, truncateOption: truncateOption, selected: optionIsSelected, @@ -1753,9 +1775,9 @@ var selectAllPresent = _isSelectAllPresent(searchTerm, remainingOptions, withSelectAll, withCheckbox); if (loadersCount && loadingOptions) { - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { className: 'Dropdown-loading' - }, /*#__PURE__*/React.createElement("div", { + }, /*#__PURE__*/React__namespace.createElement("div", { className: "Dropdown-wrapper", style: dropdownStyle }, renderLoading(loadersCount))); @@ -1764,16 +1786,16 @@ if (listOptions.length === 0 && !loadingOptions) { var _c = props.noResultMessage, noResultMessage = _c === void 0 ? 'No result found' : _c; - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { className: 'Dropdown-errorWrapper' - }, /*#__PURE__*/React.createElement("div", { + }, /*#__PURE__*/React__namespace.createElement("div", { className: 'Option' - }, /*#__PURE__*/React.createElement("div", { + }, /*#__PURE__*/React__namespace.createElement("div", { className: 'Option-subinfo' }, noResultMessage))); } - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { className: dropdownWrapperClass, style: dropdownStyle, ref: dropdownRef @@ -1784,7 +1806,7 @@ var currentGroup = option.group; var isGroup = prevGroup !== currentGroup; var updatedIndex = index + selected.length; - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { className: getDropdownClass(updatedIndex, isGroup), key: index }, isGroup && currentGroup && renderGroups(currentGroup), renderOptions(option, updatedIndex)); @@ -1875,11 +1897,11 @@ } }; - return /*#__PURE__*/React.createElement("div", __assign({}, baseProps, { + return /*#__PURE__*/React__namespace.createElement("div", __assign({}, baseProps, { className: dropdownClass, ref: triggerRef, onKeyDown: onkeydown - }), /*#__PURE__*/React.createElement(Popover, __assign({ + }), /*#__PURE__*/React__namespace.createElement(Popover, __assign({ onToggle: onToggleDropdown, trigger: trigger, triggerClass: !menu ? 'w-100' : '', @@ -1891,7 +1913,7 @@ DropdownList.displayName = 'DropdownList'; - var inputRef = /*#__PURE__*/React.createRef(); + var inputRef = /*#__PURE__*/React__namespace.createRef(); var Dropdown = function (_super) { __extends(Dropdown, _super); @@ -2465,7 +2487,7 @@ var firstEnabledOption = _isSelectAllPresent(searchTerm, remainingOptionsLen, withSelectAll, withCheckbox) ? 0 : options.findIndex(function (option) { return !option.disabled; }); - return /*#__PURE__*/React.createElement(DropdownList, __assign({ + return /*#__PURE__*/React__namespace.createElement(DropdownList, __assign({ listOptions: options, inputRef: inputRef, remainingOptions: remainingOptionsLen, @@ -2500,7 +2522,7 @@ searchDebounceDuration: 300 }; return Dropdown; - }(React.Component); + }(React__namespace.Component); var SubtleLink = function SubtleLink(props) { var onClick = props.onClick, @@ -2512,7 +2534,7 @@ onClick(); }; - return /*#__PURE__*/React.createElement("a", { + return /*#__PURE__*/React__namespace.createElement("a", { className: "SubtleLink", href: href, onClick: onClickHandler @@ -2520,7 +2542,7 @@ }; var renderLink = function renderLink(item, _onClick) { - return /*#__PURE__*/React.createElement(SubtleLink, { + return /*#__PURE__*/React__namespace.createElement(SubtleLink, { href: item.link, onClick: function onClick() { return _onClick(item.link); @@ -2537,14 +2559,14 @@ }); var customTrigger = function customTrigger() { - return /*#__PURE__*/React.createElement(Button, { + return /*#__PURE__*/React__namespace.createElement(Button, { size: "tiny", appearance: "transparent", icon: "more_horiz_filled" }); }; - return /*#__PURE__*/React.createElement(Dropdown, { + return /*#__PURE__*/React__namespace.createElement(Dropdown, { triggerSize: 'tiny', triggerOptions: { customTrigger: customTrigger @@ -2565,32 +2587,32 @@ className = props.className; var baseProps = extractBaseProps(props); var BreadcrumbClass = classNames__default['default']((_a = {}, _a['Breadcrumbs'] = true, _a), className); - return /*#__PURE__*/React.createElement("div", __assign({}, baseProps, { + return /*#__PURE__*/React__namespace.createElement("div", __assign({}, baseProps, { className: BreadcrumbClass }), list.length <= 4 ? list.map(function (item, index) { - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { key: index, className: "Breadcrumbs-item" - }, /*#__PURE__*/React.createElement("span", { + }, /*#__PURE__*/React__namespace.createElement("span", { className: "Breadcrumbs-link" - }, renderLink(item, onClick)), /*#__PURE__*/React.createElement("span", { + }, renderLink(item, onClick)), /*#__PURE__*/React__namespace.createElement("span", { className: "Breadcrumbs-itemSeparator" }, "/")); - }) : /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", { + }) : /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, /*#__PURE__*/React__namespace.createElement("div", { className: "Breadcrumbs-item" - }, /*#__PURE__*/React.createElement("span", { + }, /*#__PURE__*/React__namespace.createElement("span", { className: "Breadcrumbs-link" - }, renderLink(list[0], onClick)), /*#__PURE__*/React.createElement("span", { + }, renderLink(list[0], onClick)), /*#__PURE__*/React__namespace.createElement("span", { className: "Breadcrumbs-itemSeparator" - }, "/")), /*#__PURE__*/React.createElement("div", { + }, "/")), /*#__PURE__*/React__namespace.createElement("div", { className: "Breadcrumbs-dropdown" - }, renderDropdown(list.slice(1, list.length - 1), onClick), /*#__PURE__*/React.createElement("span", { + }, renderDropdown(list.slice(1, list.length - 1), onClick), /*#__PURE__*/React__namespace.createElement("span", { className: "Breadcrumbs-itemSeparator" - }, "/")), /*#__PURE__*/React.createElement("div", { + }, "/")), /*#__PURE__*/React__namespace.createElement("div", { className: "Breadcrumbs-item" - }, /*#__PURE__*/React.createElement("span", { + }, /*#__PURE__*/React__namespace.createElement("span", { className: "Breadcrumbs-link" - }, renderLink(list[list.length - 1], onClick)), /*#__PURE__*/React.createElement("span", { + }, renderLink(list[list.length - 1], onClick)), /*#__PURE__*/React__namespace.createElement("span", { className: "Breadcrumbs-itemSeparator" }, "/")))); }; @@ -2619,9 +2641,9 @@ strokeMiterlimit: '10', strokeWidth: '4' }; - return /*#__PURE__*/React.createElement("svg", __assign({}, baseProps, { + return /*#__PURE__*/React__namespace.createElement("svg", __assign({}, baseProps, { className: wrapperClasses - }, svgProps), /*#__PURE__*/React.createElement("circle", __assign({ + }, svgProps), /*#__PURE__*/React__namespace.createElement("circle", __assign({ className: circleClasses }, circleProps))); }; @@ -2636,7 +2658,7 @@ regular: 16, large: 20 }; - var Button = /*#__PURE__*/React.forwardRef(function (props, ref) { + var Button = /*#__PURE__*/React__namespace.forwardRef(function (props, ref) { var _a, _b, _c; var _d = props.size, @@ -2660,20 +2682,20 @@ var buttonClass = classNames__default['default']((_a = {}, _a['Button'] = true, _a['Button--expanded'] = expanded, _a["Button--" + size] = size, _a["Button--" + size + "Square"] = !children, _a["Button--" + appearance] = appearance, _a['Button--selected'] = selected && (appearance === 'basic' || appearance === 'transparent'), _a["Button--iconAlign-" + iconAlign] = children && iconAlign, _a["" + className] = className, _a)); var iconClass = classNames__default['default']((_b = {}, _b['Button-icon'] = true, _b["Button-icon--" + iconAlign] = children && iconAlign, _b)); var spinnerClass = classNames__default['default']((_c = {}, _c['Button-spinner'] = true, _c["Button-spinner--" + iconAlign] = children && iconAlign, _c)); - return /*#__PURE__*/React.createElement("button", __assign({ + return /*#__PURE__*/React__namespace.createElement("button", __assign({ ref: ref, type: type, className: buttonClass, disabled: disabled || loading, tabIndex: tabIndex - }, rest), loading && /*#__PURE__*/React.createElement("span", { + }, rest), loading && /*#__PURE__*/React__namespace.createElement("span", { className: spinnerClass - }, /*#__PURE__*/React.createElement(Spinner, { + }, /*#__PURE__*/React__namespace.createElement(Spinner, { size: "small", appearance: appearance === 'basic' || appearance === 'transparent' ? 'secondary' : 'white' - })), icon && !loading && /*#__PURE__*/React.createElement("div", { + })), icon && !loading && /*#__PURE__*/React__namespace.createElement("div", { className: iconClass - }, /*#__PURE__*/React.createElement(Icon, { + }, /*#__PURE__*/React__namespace.createElement(Icon, { name: icon, appearance: disabled ? 'disabled' : appearance === 'basic' || appearance === 'transparent' ? selected ? 'info' : 'default' : 'white', size: sizeMapping$1[size] @@ -2681,7 +2703,7 @@ }); Button.displayName = 'Button'; - var Card = /*#__PURE__*/React.forwardRef(function (props, ref) { + var Card = /*#__PURE__*/React__namespace.forwardRef(function (props, ref) { var _a; var _b = props.shadow, @@ -2693,7 +2715,7 @@ var classes = classNames__default['default']((_a = { Card: true }, _a["Card--shadow-" + shadow] = shadow, _a["" + className] = className, _a)); - return /*#__PURE__*/React.createElement("div", __assign({ + return /*#__PURE__*/React__namespace.createElement("div", __assign({ ref: ref }, rest, { className: classes @@ -2727,16 +2749,16 @@ if (onClick) onClick(); }; - return /*#__PURE__*/React.createElement("div", __assign({}, baseProps, { + return /*#__PURE__*/React__namespace.createElement("div", __assign({}, baseProps, { className: "Chip-wrapper " + className, onClick: onClickHandler - }), icon && /*#__PURE__*/React.createElement(Icon, { + }), icon && /*#__PURE__*/React__namespace.createElement(Icon, { name: icon, appearance: disabled ? 'disabled' : selected ? 'info' : 'default', className: iconClass('left') - }), /*#__PURE__*/React.createElement(Text, { + }), /*#__PURE__*/React__namespace.createElement(Text, { appearance: disabled ? 'disabled' : 'default' - }, label), clearButton && /*#__PURE__*/React.createElement(Icon, { + }, label), clearButton && /*#__PURE__*/React__namespace.createElement(Icon, { name: "clear", appearance: disabled ? 'disabled' : selected ? 'info' : 'subtle', className: iconClass('right'), @@ -2773,7 +2795,7 @@ }, _a["Chip-" + type + "--disabled"] = disabled, _a["Chip--" + type] = type && !disabled, _a["Chip-" + type + "--selected"] = selected && !disabled, _a), className); var clearbutton = type === 'action' ? false : clearButton; var select = type === 'selection' && selected ? true : false; - return /*#__PURE__*/React.createElement(GenericChip, __assign({}, baseProps, { + return /*#__PURE__*/React__namespace.createElement(GenericChip, __assign({}, baseProps, { label: label, selected: select, icon: icon, @@ -2808,7 +2830,7 @@ }; var ChipGroupClass = classNames__default['default']((_a = {}, _a['ChipGroup'] = true, _a), className); - return /*#__PURE__*/React.createElement("div", __assign({}, baseProps, { + return /*#__PURE__*/React__namespace.createElement("div", __assign({}, baseProps, { className: ChipGroupClass }), list.map(function (item, ind) { var _a = item.label, @@ -2819,10 +2841,10 @@ selected = item.selected, clearButton = item.clearButton, name = item.name; - return /*#__PURE__*/React.createElement("span", { + return /*#__PURE__*/React__namespace.createElement("span", { key: ind, className: "ChipGroup-item" - }, /*#__PURE__*/React.createElement(Chip, { + }, /*#__PURE__*/React__namespace.createElement(Chip, { name: name, label: label, selected: selected, @@ -2841,7 +2863,7 @@ }; ChipGroup.displayName = 'ChipGroup'; - var Column = /*#__PURE__*/React.forwardRef(function (props, ref) { + var Column = /*#__PURE__*/React__namespace.forwardRef(function (props, ref) { var _a; var size = props.size, @@ -2855,7 +2877,7 @@ rest = __rest(props, ["size", "sizeXS", "sizeS", "sizeM", "sizeL", "sizeXL", "className", "children"]); var classes = classNames__default['default']((_a = {}, _a['Col'] = true, _a["Col--" + size] = size, _a["Col--xs-" + sizeXS] = sizeXS, _a["Col--s-" + sizeS] = sizeS, _a["Col--m-" + sizeM] = sizeM, _a["Col--l-" + sizeL] = sizeL, _a["Col--xl-" + sizeXL] = sizeXL, _a["" + className] = className, _a)); - return /*#__PURE__*/React.createElement("div", __assign({ + return /*#__PURE__*/React__namespace.createElement("div", __assign({ ref: ref }, rest, { className: classes @@ -2881,7 +2903,7 @@ var classes = classNames__default['default']((_a = { Heading: true }, _a["Heading--" + size] = size, _a["Heading--" + appearance] = appearance, _a), className); - return /*#__PURE__*/React.createElement(GenericText, __assign({ + return /*#__PURE__*/React__namespace.createElement(GenericText, __assign({ "data-test": "DesignSystem-Heading" }, baseProps, { className: classes, @@ -2904,7 +2926,7 @@ var classes = classNames__default['default']((_a = { Subheading: true }, _a["Subheading--" + appearance] = appearance, _a), className); - return /*#__PURE__*/React.createElement(GenericText, __assign({ + return /*#__PURE__*/React__namespace.createElement(GenericText, __assign({ "data-test": "DesignSystem-Subheading" }, baseProps, { className: classes, @@ -3337,7 +3359,7 @@ 'Calendar-headerIcon': true, 'Calendar-headerIcon--disabled': disabled }); - return /*#__PURE__*/React.createElement(Icon, { + return /*#__PURE__*/React__namespace.createElement(Icon, { name: "arrow_" + (type === 'next' ? 'forward' : 'back'), className: headerIconClass, onClick: function onClick() { @@ -3387,25 +3409,25 @@ if (view === 'year') headerContent = yearBlockNav + " - " + (yearBlockNav + (yearBlockRange - 1)); if (view === 'month') headerContent = "" + yearNavVal; - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { className: headerContentClass - }, view !== 'date' && /*#__PURE__*/React.createElement("span", { + }, view !== 'date' && /*#__PURE__*/React__namespace.createElement("span", { onClick: function onClick() { return onClickHandler(view); } - }, /*#__PURE__*/React.createElement(Heading, { + }, /*#__PURE__*/React__namespace.createElement(Heading, { size: "s" - }, headerContent)), view === 'date' && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("span", { + }, headerContent)), view === 'date' && /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, /*#__PURE__*/React__namespace.createElement("span", { onClick: function onClick() { return onClickHandler(view); } - }, /*#__PURE__*/React.createElement(Heading, { + }, /*#__PURE__*/React__namespace.createElement(Heading, { size: "s" - }, months[monthNavVal])), "\xA0", /*#__PURE__*/React.createElement("span", { + }, months[monthNavVal])), "\xA0", /*#__PURE__*/React__namespace.createElement("span", { onClick: function onClick() { return onClickHandler('month'); } - }, /*#__PURE__*/React.createElement(Heading, { + }, /*#__PURE__*/React__namespace.createElement(Heading, { size: "s" }, yearNavVal)))); }; @@ -3424,7 +3446,7 @@ return Array.from({ length: noOfRows }, function (_y, row) { - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { key: row, className: "Calendar-valueRow" }, Array.from({ @@ -3440,13 +3462,13 @@ 'Calendar-value--active': active, 'Calendar-value--disabled': disabled }); - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { key: row + "-" + col, className: valueClass, onClick: function onClick() { return _this.selectYear(year); } - }, /*#__PURE__*/React.createElement(Text, { + }, /*#__PURE__*/React__namespace.createElement(Text, { appearance: active ? 'white' : disabled ? 'disabled' : 'default' }, "" + year)); })); @@ -3468,7 +3490,7 @@ return Array.from({ length: noOfRows }, function (_y, row) { - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { key: row, className: "Calendar-valueRow" }, Array.from({ @@ -3482,13 +3504,13 @@ 'Calendar-value--active': active, 'Calendar-value--dummy': disabled }); - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { key: row + "-" + col, className: valueClass, onClick: function onClick() { return _this.selectMonth(month); } - }, /*#__PURE__*/React.createElement(Text, { + }, /*#__PURE__*/React__namespace.createElement(Text, { appearance: active ? 'white' : disabled ? 'disabled' : 'default' }, months[month])); })); @@ -3510,7 +3532,7 @@ } }; - return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, /*#__PURE__*/React__namespace.createElement("div", { className: "Calendar-dayValues" }, Array.from({ length: 7 @@ -3520,12 +3542,12 @@ 'Calendar-value--dummy': true }); var dayValue = (day + daysInRow + getIndexOfDay(firstDayOfWeek)) % daysInRow; - return /*#__PURE__*/React.createElement(Subheading, { + return /*#__PURE__*/React__namespace.createElement(Subheading, { key: day, className: valueClass, appearance: "disabled" }, days[dayValue]); - })), /*#__PURE__*/React.createElement("div", { + })), /*#__PURE__*/React__namespace.createElement("div", { className: "Calendar-dateValues", onMouseLeave: onMouseLeaveHandler }, _this.renderDateValues(index))); @@ -3586,7 +3608,7 @@ length: noOfRows }, function (_y, row) { if (dummyDays < daysInRow) { - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { key: row, className: "Calendar-valueRow" }, Array.from({ @@ -3629,10 +3651,10 @@ 'Calendar-value--dummy': dummy || disabled, 'Calendar-value--disabled': disabled }); - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { key: row + "-" + col, className: wrapperClass - }, /*#__PURE__*/React.createElement("span", { + }, /*#__PURE__*/React__namespace.createElement("span", { className: valueClass, onClick: function onClick() { return onClickHandler(date); @@ -3640,7 +3662,7 @@ onMouseOver: function onMouseOver() { return onMouseOverHandler(date); } - }, !dummy && /*#__PURE__*/React.createElement(Text, { + }, !dummy && /*#__PURE__*/React__namespace.createElement(Text, { appearance: active ? 'white' : disabled ? 'disabled' : 'default' }, "" + date))); })); @@ -3662,12 +3684,12 @@ var bodyClass = classNames__default['default']({ 'Calendar-body': true }); - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { key: index, className: wrapperClass - }, /*#__PURE__*/React.createElement("div", { + }, /*#__PURE__*/React__namespace.createElement("div", { className: headerClass - }, index === 0 && _this.renderJumpButton('prev'), _this.renderHeaderContent(index), index === monthsInView - 1 && _this.renderJumpButton('next')), /*#__PURE__*/React.createElement("div", { + }, index === 0 && _this.renderJumpButton('prev'), _this.renderHeaderContent(index), index === monthsInView - 1 && _this.renderJumpButton('next')), /*#__PURE__*/React__namespace.createElement("div", { className: bodyClass }, view === 'year' && _this.renderBodyYear(), view === 'month' && _this.renderBodyMonth(), view === 'date' && _this.renderBodyDate(index))); }; @@ -3861,7 +3883,7 @@ monthsInView = _a.monthsInView, className = _a.className; var baseProps = extractBaseProps(this.props); - return /*#__PURE__*/React.createElement("div", __assign({}, baseProps, { + return /*#__PURE__*/React__namespace.createElement("div", __assign({}, baseProps, { className: "Calendar-wrapper " + className }), Array.from({ length: monthsInView @@ -3876,7 +3898,7 @@ firstDayOfWeek: 'sunday' }; return Calendar; - }(React.Component); + }(React__namespace.Component); var Trigger$1 = function Trigger(props) { var inputFormat = props.inputFormat, @@ -3930,7 +3952,7 @@ }; var mask = date[inputFormat]; - return /*#__PURE__*/React.createElement(InputMask, __assign({ + return /*#__PURE__*/React__namespace.createElement(InputMask, __assign({ icon: "events", placeholder: inputFormat }, inputOptions, { @@ -4070,7 +4092,7 @@ var rest = __rest(_a, ["date", "open", "position", "inputFormat", "outputFormat", "inputOptions", "validators", "withInput", "disabledBefore", "disabledAfter", "onDateChange", "closeOnSelect"]); var date = this.state.date; - return /*#__PURE__*/React.createElement(Calendar, __assign({}, rest, { + return /*#__PURE__*/React__namespace.createElement(Calendar, __assign({}, rest, { date: convertToDate(date, inputFormat, validators), disabledBefore: convertToDate(disabledBefore, inputFormat, validators), disabledAfter: convertToDate(disabledAfter, inputFormat, validators), @@ -4088,8 +4110,8 @@ var open = this.state.open; if (withInput) { - return /*#__PURE__*/React.createElement(Popover, { - trigger: /*#__PURE__*/React.createElement(Trigger$1, { + return /*#__PURE__*/React__namespace.createElement(Popover, { + trigger: /*#__PURE__*/React__namespace.createElement(Trigger$1, { inputFormat: inputFormat, inputOptions: inputOptions, validators: validators, @@ -4116,7 +4138,7 @@ closeOnSelect: true }); return DatePicker; - }(React.Component); + }(React__namespace.Component); var TimePicker = function TimePicker(props) { var validators = props.validators, @@ -4126,17 +4148,17 @@ onTimeChange = props.onTimeChange, timeProp = props.time; - var _a = React.useState(timeProp), + var _a = React__namespace.useState(timeProp), time$1 = _a[0], setTime = _a[1]; - var _b = React.useState(false), + var _b = React__namespace.useState(false), init = _b[0], setInit = _b[1]; var _c = inputOptions.placeholderChar, placeholderChar = _c === void 0 ? '_' : _c; - React.useEffect(function () { + React__namespace.useEffect(function () { var timeStr = translateToTime(inputFormat, time$1); var updatedTime = timeProp === undefined && timeStr.includes(placeholderChar) ? time$1 : timeProp; setTime(updatedTime); @@ -4183,7 +4205,7 @@ }; var mask = time[inputFormat]; - return /*#__PURE__*/React.createElement(InputMask, __assign({ + return /*#__PURE__*/React__namespace.createElement(InputMask, __assign({ placeholder: placeholders[inputFormat], placeholderChar: placeholderChar }, inputOptions, { @@ -4239,7 +4261,7 @@ if (payload) { if (customTooltip) return customTooltip(payload); - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { className: "DonutChart-tooltip" }, "" + payload.name + chartProps.separator + (+payload.value).toLocaleString()); } @@ -4272,19 +4294,19 @@ var ey = my; var textAnchor = cos >= 0 ? 'start' : 'end'; var total = Math.ceil(value / percent); - return /*#__PURE__*/React.createElement("g", null, withCenterText && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("text", { + return /*#__PURE__*/React__namespace.createElement("g", null, withCenterText && /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, /*#__PURE__*/React__namespace.createElement("text", { x: cx, y: cy, "font-size": 'var(--font-size-xl)', textAnchor: "middle" - }, "Total"), /*#__PURE__*/React.createElement("text", { + }, "Total"), /*#__PURE__*/React__namespace.createElement("text", { x: cx, y: cy, dy: 22, "font-size": 'var(--font-size-l)', textAnchor: "middle", fill: colorToHex$1(colorOfTotalCount) - }, total.toLocaleString())), /*#__PURE__*/React.createElement(recharts.Sector, { + }, total.toLocaleString())), /*#__PURE__*/React__namespace.createElement(recharts.Sector, { cx: cx, cy: cy, innerRadius: innerRadius, @@ -4292,7 +4314,7 @@ startAngle: startAngle, endAngle: endAngle, fill: fill - }), withActiveSegment && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(recharts.Sector, { + }), withActiveSegment && /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, /*#__PURE__*/React__namespace.createElement(recharts.Sector, { cx: cx, cy: cy, startAngle: startAngle, @@ -4300,28 +4322,28 @@ innerRadius: outerRadius + 6, outerRadius: outerRadius + 10, fill: fill - }), /*#__PURE__*/React.createElement("path", { + }), /*#__PURE__*/React__namespace.createElement("path", { d: "M" + sx + "," + sy + "L" + mx + "," + my + "L" + ex + "," + ey, stroke: fill, fill: "none" - }), /*#__PURE__*/React.createElement("circle", { + }), /*#__PURE__*/React__namespace.createElement("circle", { cx: ex, cy: ey, r: 2, fill: fill, stroke: "none" - }), /*#__PURE__*/React.createElement("text", { + }), /*#__PURE__*/React__namespace.createElement("text", { x: ex + (cos >= 0 ? 1 : -1) * 12, y: ey, dy: -18, textAnchor: textAnchor, fill: fill - }, "" + payload.name), /*#__PURE__*/React.createElement("text", { + }, "" + payload.name), /*#__PURE__*/React__namespace.createElement("text", { x: ex + (cos >= 0 ? 1 : -1) * 12, y: ey, textAnchor: textAnchor, fill: "#333" - }, "" + value.toLocaleString()), /*#__PURE__*/React.createElement("text", { + }, "" + value.toLocaleString()), /*#__PURE__*/React__namespace.createElement("text", { x: ex + (cos >= 0 ? 1 : -1) * 12, y: ey, dy: 18, @@ -4330,7 +4352,7 @@ }, (percent * 100).toFixed(0) + "%"))); }; - var _b = React.useState(0), + var _b = React__namespace.useState(0), activeIndex = _b[0], setActiveIndex = _b[1]; @@ -4347,9 +4369,9 @@ var oRadius = withActiveSegment ? radius ? .7 * radius : '70%' : radius || '100%'; var iRadius = withActiveSegment ? radius ? (100 - width) / 100 * oRadius : (100 - width) / 100 * 70 + "%" : radius ? (100 - width) / 100 * radius : 100 - width + "%"; var classes = classNames__default['default']((_a = {}, _a['DonutChart'] = true, _a), className); - return /*#__PURE__*/React.createElement(Row, __assign({}, baseProps, { + return /*#__PURE__*/React__namespace.createElement(Row, __assign({}, baseProps, { className: classes - }), /*#__PURE__*/React.createElement(Column, __assign({}, columnOptions.chart), /*#__PURE__*/React.createElement(recharts.ResponsiveContainer, null, /*#__PURE__*/React.createElement(recharts.PieChart, null, /*#__PURE__*/React.createElement(recharts.Pie, { + }), /*#__PURE__*/React__namespace.createElement(Column, __assign({}, columnOptions.chart), /*#__PURE__*/React__namespace.createElement(recharts.ResponsiveContainer, null, /*#__PURE__*/React__namespace.createElement(recharts.PieChart, null, /*#__PURE__*/React__namespace.createElement(recharts.Pie, { data: data, dataKey: "value", activeIndex: activeIndex, @@ -4358,17 +4380,17 @@ outerRadius: oRadius, innerRadius: iRadius }, data.map(function (_entry, index) { - return /*#__PURE__*/React.createElement(recharts.Cell, { + return /*#__PURE__*/React__namespace.createElement(recharts.Cell, { fill: getColor(index, 'hex'), key: index }); - })), withTooltip && /*#__PURE__*/React.createElement(recharts.Tooltip, { + })), withTooltip && /*#__PURE__*/React__namespace.createElement(recharts.Tooltip, { separator: ": ", - content: /*#__PURE__*/React.createElement(ChartTooltip, null) - })))), withLegends && /*#__PURE__*/React.createElement(Column, __assign({ + content: /*#__PURE__*/React__namespace.createElement(ChartTooltip, null) + })))), withLegends && /*#__PURE__*/React__namespace.createElement(Column, __assign({ className: "DonutChart-legends" }, columnOptions.legends), data.map(function (d, i) { - return /*#__PURE__*/React.createElement(Legend, { + return /*#__PURE__*/React__namespace.createElement(Legend, { key: i, iconAppearance: getColor(i) }, d.name + " - " + (+d.value).toLocaleString()); @@ -4388,7 +4410,7 @@ regular: 16, large: 20 }; - var Input = /*#__PURE__*/React.forwardRef(function (props, forwardedRef) { + var Input = /*#__PURE__*/React__namespace.forwardRef(function (props, forwardedRef) { var _a, _b, _c, _d; var _e = props.size, @@ -4418,11 +4440,11 @@ readOnly = props.readOnly, rest = __rest(props, ["size", "type", "minWidth", "defaultValue", "name", "placeholder", "value", "icon", "inlineLabel", "required", "error", "info", "onChange", "onClick", "onClear", "onBlur", "onFocus", "actionIcon", "className", "autoFocus", "disabled", "readOnly"]); - var ref = React.useRef(null); - React.useImperativeHandle(forwardedRef, function () { + var ref = React__namespace.useRef(null); + React__namespace.useImperativeHandle(forwardedRef, function () { return ref.current; }); - React.useEffect(function () { + React__namespace.useEffect(function () { var _a; if (autoFocus) (_a = ref.current) === null || _a === void 0 ? void 0 : _a.focus({ @@ -4434,13 +4456,13 @@ var inputClass = classNames__default['default']((_b = {}, _b['Input-input'] = true, _b["Input-input--" + size] = size, _b)); var leftIconClass = classNames__default['default']((_c = {}, _c['Input-icon'] = true, _c['Input-icon--left'] = true, _c['Input-icon--disabled'] = !value, _c)); var rightIconClass = classNames__default['default']((_d = {}, _d['Input-icon'] = true, _d['Input-icon--right'] = true, _d)); - var trigger = /*#__PURE__*/React.createElement("div", { + var trigger = /*#__PURE__*/React__namespace.createElement("div", { className: rightIconClass - }, /*#__PURE__*/React.createElement(Icon, { + }, /*#__PURE__*/React__namespace.createElement(Icon, { name: 'info', size: sizeMapping[size] })); - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { "data-test": "DesignSystem-InputWrapper", className: classes, style: { @@ -4451,16 +4473,16 @@ return (_a = ref.current) === null || _a === void 0 ? void 0 : _a.focus(); } - }, inlineLabel && /*#__PURE__*/React.createElement("div", { + }, inlineLabel && /*#__PURE__*/React__namespace.createElement("div", { className: "Input-inlineLabel" - }, /*#__PURE__*/React.createElement(Text, { + }, /*#__PURE__*/React__namespace.createElement(Text, { appearance: "subtle" - }, inlineLabel)), size !== 'tiny' && icon && /*#__PURE__*/React.createElement("div", { + }, inlineLabel)), size !== 'tiny' && icon && /*#__PURE__*/React__namespace.createElement("div", { className: leftIconClass - }, /*#__PURE__*/React.createElement(Icon, { + }, /*#__PURE__*/React__namespace.createElement(Icon, { name: icon, size: sizeMapping[size] - })), /*#__PURE__*/React.createElement("input", __assign({ + })), /*#__PURE__*/React__namespace.createElement("input", __assign({ "data-test": "DesignSystem-Input" }, baseProps, rest, { ref: ref, @@ -4477,15 +4499,15 @@ onBlur: onBlur, onClick: onClick, onFocus: onFocus - })), !value && !disabled || value && disabled || defaultValue && disabled ? info && /*#__PURE__*/React.createElement(Tooltip, { + })), !value && !disabled || value && disabled || defaultValue && disabled ? info && /*#__PURE__*/React__namespace.createElement(Tooltip, { position: "top", tooltip: info - }, trigger) : actionIcon ? actionIcon : onClear && value && !disabled && /*#__PURE__*/React.createElement("div", { + }, trigger) : actionIcon ? actionIcon : onClear && value && !disabled && /*#__PURE__*/React__namespace.createElement("div", { className: rightIconClass, onClick: function onClick(e) { return onClear(e); } - }, /*#__PURE__*/React.createElement(Icon, { + }, /*#__PURE__*/React__namespace.createElement(Icon, { name: 'close', size: sizeMapping[size] }))); @@ -4521,7 +4543,7 @@ return val; }; - var InputMask = /*#__PURE__*/React.forwardRef(function (props, forwardRef) { + var InputMask = /*#__PURE__*/React__namespace.forwardRef(function (props, forwardRef) { props.mask; var valueProp = props.value, _a = props.placeholderChar, @@ -4590,22 +4612,22 @@ return _typeof(mask[pos]) === 'object'; }; - var deferId = React.useRef(); - var selectionRef = React.useRef(0); + var deferId = React__namespace.useRef(); + var selectionRef = React__namespace.useRef(0); - var _d = React.useState(defaultValue || valueProp || ''), + var _d = React__namespace.useState(defaultValue || valueProp || ''), value = _d[0], setValue = _d[1]; - var _e = React.useState(getDefaultSelection()), + var _e = React__namespace.useState(getDefaultSelection()), selection = _e[0], setSelection = _e[1]; - var ref = React.useRef(null); - React.useImperativeHandle(forwardRef, function () { + var ref = React__namespace.useRef(null); + React__namespace.useImperativeHandle(forwardRef, function () { return ref.current; }); - React.useEffect(function () { + React__namespace.useEffect(function () { setValue(valueProp || ''); }, [valueProp]); @@ -4764,9 +4786,9 @@ var classes = classNames__default['default']({ 'd-flex flex-column flex-grow-1': true }, className); - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { className: classes - }, /*#__PURE__*/React.createElement(Input, __assign({}, rest, { + }, /*#__PURE__*/React__namespace.createElement(Input, __assign({}, rest, { value: value, error: error, required: required, @@ -4776,7 +4798,7 @@ onBlur: onBlurHandler, autoComplete: 'off', ref: ref - })), /*#__PURE__*/React.createElement(Caption, { + })), /*#__PURE__*/React__namespace.createElement(Caption, { error: error, withInput: true, hide: !caption @@ -4805,14 +4827,14 @@ 'Label-label': true, 'Label--disabled': disabled }); - return /*#__PURE__*/React.createElement("div", __assign({ + return /*#__PURE__*/React__namespace.createElement("div", __assign({ "data-test": "DesignSystem-Label" }, baseProps, { className: LabelClass - }), /*#__PURE__*/React.createElement(GenericText, __assign({ + }), /*#__PURE__*/React__namespace.createElement(GenericText, __assign({ className: classes, componentType: "label" - }, rest), children), required && /*#__PURE__*/React.createElement("span", { + }, rest), children), required && /*#__PURE__*/React__namespace.createElement("span", { className: "Label-requiredIndicator", "data-test": "DesignSystem-Label--RequiredIndicator" })); @@ -4832,15 +4854,15 @@ Caption: true }, _a['Caption--hidden'] = hide, _a['Caption--withInput'] = withInput, _a), className); var errorIconClass = classNames__default['default']((_b = {}, _b['Caption-icon'] = true, _b)); - return /*#__PURE__*/React.createElement("div", __assign({}, baseProps, { + return /*#__PURE__*/React__namespace.createElement("div", __assign({}, baseProps, { className: classes - }), error && /*#__PURE__*/React.createElement("div", { + }), error && /*#__PURE__*/React__namespace.createElement("div", { className: errorIconClass - }, /*#__PURE__*/React.createElement(Icon, { + }, /*#__PURE__*/React__namespace.createElement(Icon, { size: 14, name: 'error', appearance: 'alert' - })), /*#__PURE__*/React.createElement(Text, { + })), /*#__PURE__*/React__namespace.createElement(Text, { appearance: error ? 'destructive' : 'subtle', size: "small", weight: "medium" @@ -4867,7 +4889,7 @@ height: iconSize + "px", width: iconSize + "px" }; - return /*#__PURE__*/React.createElement("div", __assign({}, baseProps, { + return /*#__PURE__*/React__namespace.createElement("div", __assign({}, baseProps, { className: legendClass, onClick: function onClick(e) { return _onClick && _onClick(e); @@ -4878,10 +4900,10 @@ onMouseLeave: function onMouseLeave(e) { return _onMouseLeave && _onMouseLeave(e); } - }), /*#__PURE__*/React.createElement("span", { + }), /*#__PURE__*/React__namespace.createElement("span", { className: "Legend-icon", style: styles - }), /*#__PURE__*/React.createElement(Text, { + }), /*#__PURE__*/React__namespace.createElement(Text, { appearance: labelAppearance, weight: labelWeight }, children)); @@ -4901,11 +4923,11 @@ children = props.children; var baseProps = extractBaseProps(props); var EditableClass = classNames__default['default']((_a = {}, _a['Editable'] = true, _a), className); - return /*#__PURE__*/React.createElement("div", __assign({ + return /*#__PURE__*/React__namespace.createElement("div", __assign({ "data-test": "DesignSystem-Editable" }, baseProps, { className: EditableClass - }), /*#__PURE__*/React.createElement("div", { + }), /*#__PURE__*/React__namespace.createElement("div", { "data-test": "DesignSystem-EditableWrapper", onClick: function onClick() { return onChange('edit'); @@ -4932,15 +4954,15 @@ onDropdownClose = dropdownOptions.onClose, rest = __rest(dropdownOptions, ["onChange", "onClose"]); - var _d = React.useState(placeholder), + var _d = React__namespace.useState(placeholder), label = _d[0], setLabel = _d[1]; - var _e = React.useState(false), + var _e = React__namespace.useState(false), editing = _e[0], setEditing = _e[1]; - var _f = React.useState(false), + var _f = React__namespace.useState(false), showComponent = _f[0], setShowComponent = _f[1]; @@ -4985,21 +5007,21 @@ return componentLabel; }; - return /*#__PURE__*/React.createElement("div", __assign({ + return /*#__PURE__*/React__namespace.createElement("div", __assign({ "data-test": "DesignSystem-EditableDropdown" }, baseProps, { className: CompClass - }), /*#__PURE__*/React.createElement(Editable, { + }), /*#__PURE__*/React__namespace.createElement(Editable, { onChange: onChangeHandler, editing: editing - }, /*#__PURE__*/React.createElement(Dropdown, __assign({ + }, /*#__PURE__*/React__namespace.createElement(Dropdown, __assign({ placeholder: placeholder, onChange: onChange, getLabel: getLabel, onClose: onClose, className: EditableDropdownClass, "data-test": "DesignSystem-EditableDropdown--Dropdown" - }, rest)), /*#__PURE__*/React.createElement("div", { + }, rest)), /*#__PURE__*/React__namespace.createElement("div", { className: DefaultCompClass, "data-test": "DesignSystem-EditableDropdown--Default" }, renderComponent(label || placeholder)))); @@ -5017,7 +5039,7 @@ var classes = classNames__default['default']({ Link: true }, className); - return /*#__PURE__*/React.createElement(GenericText, __assign({ + return /*#__PURE__*/React__namespace.createElement(GenericText, __assign({ className: classes, componentType: "a" }, rest), children); @@ -5040,23 +5062,23 @@ var baseProps = extractBaseProps(props); var MessageClass = classNames__default['default']((_a = {}, _a['Message'] = true, _a["Message--" + appearance] = appearance, _a), className); var MessageIcon = classNames__default['default']((_b = {}, _b['Message-icon'] = true, _b["Message-icon--" + appearance] = appearance, _b['Message-icon--withTitle'] = title, _b)); - return /*#__PURE__*/React.createElement("div", __assign({ + return /*#__PURE__*/React__namespace.createElement("div", __assign({ "data-test": "DesignSystem-Message" }, baseProps, { className: MessageClass - }), appearance !== 'default' && /*#__PURE__*/React.createElement("div", { + }), appearance !== 'default' && /*#__PURE__*/React__namespace.createElement("div", { className: MessageIcon, "data-test": "DesignSystem-Message--Icon" - }, /*#__PURE__*/React.createElement(Icon, { + }, /*#__PURE__*/React__namespace.createElement(Icon, { name: IconMapping$1[appearance], appearance: appearance - })), /*#__PURE__*/React.createElement("div", { + })), /*#__PURE__*/React__namespace.createElement("div", { "data-test": "DesignSystem-Message--Title" - }, title && /*#__PURE__*/React.createElement("div", { + }, title && /*#__PURE__*/React__namespace.createElement("div", { className: "Message-title" - }, /*#__PURE__*/React.createElement(Heading, { + }, /*#__PURE__*/React__namespace.createElement(Heading, { size: "s" - }, title)), /*#__PURE__*/React.createElement("div", { + }, title)), /*#__PURE__*/React__namespace.createElement("div", { "data-test": "DesignSystem-Message--Description", className: "Message-description" }, children))); @@ -5071,13 +5093,13 @@ icon = props.icon, iconAppearance = props.iconAppearance, labelAppearance = props.labelAppearance; - return /*#__PURE__*/React.createElement("span", { + return /*#__PURE__*/React__namespace.createElement("span", { className: 'Meta' - }, icon && /*#__PURE__*/React.createElement(Icon, { + }, icon && /*#__PURE__*/React__namespace.createElement(Icon, { name: icon, appearance: iconAppearance, className: 'Meta-icon' - }), /*#__PURE__*/React.createElement(Text, { + }), /*#__PURE__*/React__namespace.createElement(Text, { appearance: labelAppearance }, label)); }; @@ -5096,9 +5118,9 @@ var MetaClass = classNames__default['default']((_a = {}, _a['MetaList'] = true, _a), className); var SeperatorClass = classNames__default['default']((_b = {}, _b['MetaList-seperator'] = true, _b)); var LeftSeperatorClass = classNames__default['default']((_c = {}, _c['MetaList-seperator'] = true, _c['MetaList-seperator--left'] = true, _c)); - return /*#__PURE__*/React.createElement("div", __assign({}, baseProps, { + return /*#__PURE__*/React__namespace.createElement("div", __assign({}, baseProps, { className: MetaClass - }), seperator && /*#__PURE__*/React.createElement(Icon, { + }), seperator && /*#__PURE__*/React__namespace.createElement(Icon, { name: "fiber_manual_record", size: 8, className: LeftSeperatorClass, @@ -5108,15 +5130,15 @@ label = _a === void 0 ? '' : _a, icon = item.icon; var rightSeperator = ind !== list.length - 1; - return /*#__PURE__*/React.createElement("span", { + return /*#__PURE__*/React__namespace.createElement("span", { key: ind, className: "MetaList-item" - }, /*#__PURE__*/React.createElement(Meta, { + }, /*#__PURE__*/React__namespace.createElement(Meta, { label: label, icon: icon, iconAppearance: iconAppearance, labelAppearance: labelAppearance - }), rightSeperator && /*#__PURE__*/React.createElement(Icon, { + }), rightSeperator && /*#__PURE__*/React__namespace.createElement(Icon, { name: "fiber_manual_record", size: 8, className: SeperatorClass, @@ -5131,7 +5153,7 @@ labelAppearance: 'subtle' }; - var OutsideClick = /*#__PURE__*/React.forwardRef(function (props, ref) { + var OutsideClick = /*#__PURE__*/React__namespace.forwardRef(function (props, ref) { var _a; var children = props.children, @@ -5139,29 +5161,29 @@ onOutsideClick = props.onOutsideClick, rest = __rest(props, ["children", "className", "onOutsideClick"]); - var innerRef = React.useRef(null); - React.useImperativeHandle(ref, function () { + var innerRef = React__namespace.useRef(null); + React__namespace.useImperativeHandle(ref, function () { return innerRef.current; }, [innerRef]); - React.useEffect(function () { + React__namespace.useEffect(function () { document.addEventListener('click', handleOutsideClick, true); return function () { document.removeEventListener('click', handleOutsideClick); }; }, []); - var handleOutsideClick = React.useCallback(function (event) { + var handleOutsideClick = React__namespace.useCallback(function (event) { var element = innerRef; if (!event.target || !element.current) { return; } - if (!ReactDOM.findDOMNode(element.current).contains(event.target)) { + if (!ReactDOM__namespace.findDOMNode(element.current).contains(event.target)) { onOutsideClick(event); } }, []); var classes = classNames__default['default']((_a = {}, _a['OutsideClick'] = true, _a), className); - return /*#__PURE__*/React.createElement("div", __assign({ + return /*#__PURE__*/React__namespace.createElement("div", __assign({ ref: innerRef }, rest, { className: classes @@ -5179,7 +5201,7 @@ var classes = classNames__default['default']((_a = { Text: true }, _a["Text--" + appearance] = appearance, _a), className); - return /*#__PURE__*/React.createElement(GenericText, __assign({ + return /*#__PURE__*/React__namespace.createElement(GenericText, __assign({ "data-test": "DesignSystem-Paragraph" }, baseProps, { className: classes, @@ -5202,11 +5224,11 @@ var ProgressBarClass = classNames__default['default']({ ProgressBar: true }, className); - return /*#__PURE__*/React.createElement("div", __assign({ + return /*#__PURE__*/React__namespace.createElement("div", __assign({ "data-test": "DesignSystem-ProgressBar" }, baseProps, { className: ProgressBarClass - }), /*#__PURE__*/React.createElement("div", { + }), /*#__PURE__*/React__namespace.createElement("div", { className: 'ProgressBar-indicator', style: style })); @@ -5216,7 +5238,7 @@ max: 100 }; - var Radio = /*#__PURE__*/React.forwardRef(function (props, forwardedRef) { + var Radio = /*#__PURE__*/React__namespace.forwardRef(function (props, forwardedRef) { var _a, _b, _c; var _d = props.size, @@ -5230,19 +5252,19 @@ defaultChecked = props.defaultChecked, className = props.className; var baseProps = extractBaseProps(props); - var ref = React.useRef(null); - React.useImperativeHandle(forwardedRef, function () { + var ref = React__namespace.useRef(null); + React__namespace.useImperativeHandle(forwardedRef, function () { return ref.current; }); var RadioClass = classNames__default['default']((_a = {}, _a['Radio'] = true, _a['Radio--disabled'] = disabled, _a["Radio--" + size] = size, _a), className); var RadioWrapper = classNames__default['default']((_b = {}, _b['Radio-wrapper'] = true, _b["Radio-wrapper--" + size] = size, _b)); var RadioOuterWrapper = classNames__default['default']((_c = {}, _c['Radio-outerWrapper'] = true, _c["Radio-outerWrapper--" + size] = size, _c)); var id = name + "-" + label + "-" + uidGenerator(); - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { className: RadioClass - }, /*#__PURE__*/React.createElement("div", { + }, /*#__PURE__*/React__namespace.createElement("div", { className: RadioOuterWrapper - }, /*#__PURE__*/React.createElement("input", __assign({}, baseProps, { + }, /*#__PURE__*/React__namespace.createElement("input", __assign({}, baseProps, { type: "radio", disabled: disabled, checked: checked, @@ -5253,19 +5275,19 @@ onChange: onChange, className: "Radio-input", id: id - })), /*#__PURE__*/React.createElement("span", { + })), /*#__PURE__*/React__namespace.createElement("span", { className: RadioWrapper - })), label && /*#__PURE__*/React.createElement("label", { + })), label && /*#__PURE__*/React__namespace.createElement("label", { className: "Radio-label", htmlFor: id - }, /*#__PURE__*/React.createElement(Text, { + }, /*#__PURE__*/React__namespace.createElement(Text, { size: size === 'tiny' ? 'small' : 'regular', appearance: disabled ? 'disabled' : 'default' }, label))); }); Radio.displayName = 'Radio'; - var Row = /*#__PURE__*/React.forwardRef(function (props, ref) { + var Row = /*#__PURE__*/React__namespace.forwardRef(function (props, ref) { var _a; var className = props.className, @@ -5275,7 +5297,7 @@ var classes = classNames__default['default']((_a = { Row: true }, _a["" + className] = className, _a)); - return /*#__PURE__*/React.createElement("div", __assign({ + return /*#__PURE__*/React__namespace.createElement("div", __assign({ "data-test": "DesignSystem-Row", ref: ref }, rest, { @@ -5296,7 +5318,7 @@ var baseProps = extractBaseProps(props); var StatusHintClass = classNames__default['default']((_a = {}, _a['StatusHint'] = true, _a), className); var StatusHintIconClass = classNames__default['default']((_b = {}, _b['StatusHint-icon'] = true, _b["StatusHint--" + appearance] = appearance, _b)); - return /*#__PURE__*/React.createElement("div", __assign({ + return /*#__PURE__*/React__namespace.createElement("div", __assign({ "data-test": "DesignSystem-StatusHint" }, baseProps, { className: StatusHintClass, @@ -5309,10 +5331,10 @@ onMouseLeave: function onMouseLeave(e) { return _onMouseLeave && _onMouseLeave(e); } - }), /*#__PURE__*/React.createElement("span", { + }), /*#__PURE__*/React__namespace.createElement("span", { "data-test": "DesignSystem-StatusHint--Icon", className: StatusHintIconClass - }), /*#__PURE__*/React.createElement(Text, { + }), /*#__PURE__*/React__namespace.createElement(Text, { "data-test": "DesignSystem-StatusHint--Text", weight: 'medium' }, children)); @@ -5333,7 +5355,7 @@ var classes = classNames__default['default']((_a = { Pills: true }, _a["Badge--" + appearance] = appearance && !subtle, _a["Badge--subtle-" + appearance] = subtle, _a), className); - return /*#__PURE__*/React.createElement("span", __assign({ + return /*#__PURE__*/React__namespace.createElement("span", __assign({ "data-test": "DesignSystem-Pills" }, baseProps, { className: classes @@ -5590,7 +5612,7 @@ left: offsetCalc }; var className = classNames__default['default']((_a = {}, _a['Slider-handle'] = true, _a['Slider-handle--disabled'] = disabled, _a['Slider-handle--active'] = this.state.isMoving, _a)); - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { className: className, onMouseDown: this.beginHandleMovement, onKeyDown: this.handleKeyDown, @@ -5598,17 +5620,17 @@ ref: this.refHandlers.handle, style: style, tabIndex: 1 - }, !this.state.isMoving && /*#__PURE__*/React.createElement(Tooltip, { + }, !this.state.isMoving && /*#__PURE__*/React__namespace.createElement(Tooltip, { tooltip: label, position: "top", triggerClass: 'Slider-tooltip' - }, /*#__PURE__*/React.createElement("span", { + }, /*#__PURE__*/React__namespace.createElement("span", { className: "h-100 w-100" }))); }; return Handle; - }(React.Component); + }(React__namespace.Component); var MultiSliderHandle = function MultiSliderHandle() { return null; @@ -5640,7 +5662,7 @@ }; _this.getHandleValues = function (props) { - var maybeHandles = React.Children.map(props.children, function (child) { + var maybeHandles = React__namespace.Children.map(props.children, function (child) { return isElementOfType(child) ? child.props : null; }); var handles = maybeHandles != null ? maybeHandles : []; @@ -5784,7 +5806,7 @@ return handleProps.map(function (_a, index) { var value = _a.value; - return /*#__PURE__*/React.createElement(Handle, { + return /*#__PURE__*/React__namespace.createElement(Handle, { disabled: disabled, key: index + "-" + handleProps.length, max: max, @@ -5837,13 +5859,13 @@ left: offsetPercentage }; var active = !disabled && activeLabels.indexOf(i.toFixed(_this.state.labelPrecision)) !== -1; - labels.push( /*#__PURE__*/React.createElement("div", { + labels.push( /*#__PURE__*/React__namespace.createElement("div", { className: 'Slider-label', key: i, style: style - }, /*#__PURE__*/React.createElement("span", { + }, /*#__PURE__*/React__namespace.createElement("span", { className: 'Slider-ticks' - }), labelRenderer !== false && /*#__PURE__*/React.createElement(Text, { + }), labelRenderer !== false && /*#__PURE__*/React__namespace.createElement(Text, { size: "small", appearance: active ? 'default' : 'disabled' }, _this.formatLabel(i)))); @@ -5873,7 +5895,7 @@ var fillTrack = _this.getTrackFill(start, end); var classes = classNames__default['default']((_a = {}, _a['Slider-progress'] = true, _a['Slider-progress--disabled'] = _this.props.disabled, _a['Slider-progress--inRange'] = fillTrack, _a['Slider-progress--inRangeDisabled'] = fillTrack && _this.props.disabled, _a)); - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { key: "track-" + index, className: classes, style: style @@ -5947,19 +5969,19 @@ var baseProps = extractBaseProps(this.props); var SliderClass = classNames__default['default']((_a = {}, _a['Slider'] = true, _a), className); var WrapperClass = classNames__default['default']((_b = {}, _b['Slider-wrapper'] = true, _b['Slider-wrapper--disabled'] = this.props.disabled, _b)); - return /*#__PURE__*/React.createElement("div", __assign({}, baseProps, { + return /*#__PURE__*/React__namespace.createElement("div", __assign({}, baseProps, { className: SliderClass - }), label && /*#__PURE__*/React.createElement(Label, { + }), label && /*#__PURE__*/React__namespace.createElement(Label, { withInput: true - }, label), /*#__PURE__*/React.createElement("div", { + }, label), /*#__PURE__*/React__namespace.createElement("div", { className: WrapperClass, onMouseDown: this.maybeHandleTrackClick - }, /*#__PURE__*/React.createElement("div", { + }, /*#__PURE__*/React__namespace.createElement("div", { className: "Slider-track", ref: function ref(_ref) { return _this.trackElement = _ref; } - }, this.renderTracks()), /*#__PURE__*/React.createElement("div", { + }, this.renderTracks()), /*#__PURE__*/React__namespace.createElement("div", { className: "Slider-axis'" }, this.renderLabels()), this.renderHandles())); }; @@ -5973,7 +5995,7 @@ }; MultiSlider.Handle = MultiSliderHandle; return MultiSlider; - }(React.Component); + }(React__namespace.Component); var Slider = function Slider(props) { var valueProp = props.value, @@ -5982,11 +6004,11 @@ onChange = props.onChange, rest = __rest(props, ["value", "defaultValue", "onRelease", "onChange"]); - var _a = React.useState(valueProp === undefined ? defaultValue : valueProp), + var _a = React__namespace.useState(valueProp === undefined ? defaultValue : valueProp), value = _a[0], setValue = _a[1]; - React.useEffect(function () { + React__namespace.useEffect(function () { if (valueProp !== undefined) { setValue(valueProp); } @@ -6000,7 +6022,7 @@ if (onChange) onChange(newValue); }; - return /*#__PURE__*/React.createElement(MultiSlider, __assign({}, rest), /*#__PURE__*/React.createElement(MultiSlider.Handle, { + return /*#__PURE__*/React__namespace.createElement(MultiSlider, __assign({}, rest), /*#__PURE__*/React__namespace.createElement(MultiSlider.Handle, { value: value, onChange: onChangeHandler, onRelease: onRelease, @@ -6026,11 +6048,11 @@ onRelease = props.onRelease, rest = __rest(props, ["value", "defaultValue", "onChange", "onRelease"]); - var _a = React.useState(valueProp === undefined ? defaultValue : valueProp), + var _a = React__namespace.useState(valueProp === undefined ? defaultValue : valueProp), value = _a[0], setValue = _a[1]; - React.useEffect(function () { + React__namespace.useEffect(function () { if (valueProp !== undefined) { setValue(valueProp); } @@ -6044,13 +6066,13 @@ if (onChange) onChange(range); }; - return /*#__PURE__*/React.createElement(MultiSlider, __assign({ + return /*#__PURE__*/React__namespace.createElement(MultiSlider, __assign({ onRangeChange: onChangeHandler, onRangeRelease: onRelease - }, rest), /*#__PURE__*/React.createElement(MultiSlider.Handle, { + }, rest), /*#__PURE__*/React__namespace.createElement(MultiSlider.Handle, { value: value[RangeIndex.START], fillAfter: true - }), /*#__PURE__*/React.createElement(MultiSlider.Handle, { + }), /*#__PURE__*/React__namespace.createElement(MultiSlider.Handle, { value: value[RangeIndex.END] })); }; @@ -6059,7 +6081,7 @@ defaultValue: [0, 10] }); - var Switch = /*#__PURE__*/React.forwardRef(function (props, ref) { + var Switch = /*#__PURE__*/React__namespace.forwardRef(function (props, ref) { var _a, _b; var _c = props.size, @@ -6074,11 +6096,11 @@ className = props.className; var baseProps = extractBaseProps(props); - var _e = React.useState(props.checked === undefined ? defaultChecked : props.checked), + var _e = React__namespace.useState(props.checked === undefined ? defaultChecked : props.checked), checked = _e[0], setChecked = _e[1]; - React.useEffect(function () { + React__namespace.useEffect(function () { if (props.checked !== undefined) setChecked(props.checked); }, [props.checked]); var SwitchClass = classNames__default['default']((_a = {}, _a['Switch'] = true, _a['Switch--disabled'] = disabled, _a["Switch--" + size] = size, _a), className); @@ -6089,9 +6111,9 @@ if (onChange) onChange(event, !checked); }; - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { className: SwitchClass - }, /*#__PURE__*/React.createElement("input", __assign({}, baseProps, { + }, /*#__PURE__*/React__namespace.createElement("input", __assign({}, baseProps, { type: "checkbox", defaultChecked: defaultChecked, disabled: disabled, @@ -6101,13 +6123,13 @@ name: name, value: value, className: "Switch-input" - })), /*#__PURE__*/React.createElement("span", { + })), /*#__PURE__*/React__namespace.createElement("span", { className: SwitchWrapper })); }); Switch.displayName = 'Switch'; - var Textarea = /*#__PURE__*/React.forwardRef(function (props, ref) { + var Textarea = /*#__PURE__*/React__namespace.forwardRef(function (props, ref) { var _a, _b; var _c = props.rows, @@ -6129,9 +6151,9 @@ var baseProps = extractBaseProps(props); var classes = classNames__default['default']((_a = {}, _a['Textarea'] = true, _a), className); var TextareaClass = classNames__default['default']((_b = {}, _b['Textarea-textarea'] = true, _b['Textarea-textarea--resize'] = resize, _b['Textarea-textarea--error'] = error, _b)); - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { className: classes - }, /*#__PURE__*/React.createElement("textarea", __assign({ + }, /*#__PURE__*/React__namespace.createElement("textarea", __assign({ "data-test": "DesignSystem-Textarea" }, baseProps, { ref: ref, @@ -6164,10 +6186,10 @@ if (onClick) onClick(e); }; - return /*#__PURE__*/React.createElement("button", { + return /*#__PURE__*/React__namespace.createElement("button", { className: buttonClass, onClick: onClickHandler - }, /*#__PURE__*/React.createElement(Text, { + }, /*#__PURE__*/React__namespace.createElement(Text, { appearance: "white" }, label)); }; @@ -6207,35 +6229,35 @@ if (onClose) onClose(); }; - return /*#__PURE__*/React.createElement("div", __assign({}, baseProps, { + return /*#__PURE__*/React__namespace.createElement("div", __assign({}, baseProps, { className: wrapperClass - }), icon && /*#__PURE__*/React.createElement("div", { + }), icon && /*#__PURE__*/React__namespace.createElement("div", { className: iconClass('left') - }, /*#__PURE__*/React.createElement(Icon, { + }, /*#__PURE__*/React__namespace.createElement(Icon, { name: icon, appearance: appearance !== 'warning' ? 'white' : 'default' - })), /*#__PURE__*/React.createElement("div", { + })), /*#__PURE__*/React__namespace.createElement("div", { className: "Toast-body" - }, /*#__PURE__*/React.createElement("div", { + }, /*#__PURE__*/React__namespace.createElement("div", { className: titleClass - }, /*#__PURE__*/React.createElement(Heading, { + }, /*#__PURE__*/React__namespace.createElement(Heading, { size: "s", appearance: appearance !== 'warning' ? 'white' : 'default' - }, title), /*#__PURE__*/React.createElement("div", { + }, title), /*#__PURE__*/React__namespace.createElement("div", { onClick: onCloseHandler - }, /*#__PURE__*/React.createElement("div", { + }, /*#__PURE__*/React__namespace.createElement("div", { className: iconClass('right') - }, /*#__PURE__*/React.createElement(Icon, { + }, /*#__PURE__*/React__namespace.createElement(Icon, { name: 'close', appearance: appearance !== 'warning' ? 'white' : 'default' - })))), message && /*#__PURE__*/React.createElement("div", { + })))), message && /*#__PURE__*/React__namespace.createElement("div", { className: "Toast-message" - }, /*#__PURE__*/React.createElement(Text, { + }, /*#__PURE__*/React__namespace.createElement(Text, { appearance: appearance !== 'warning' ? 'white' : 'default' - }, message)), !!(actions === null || actions === void 0 ? void 0 : actions.length) && /*#__PURE__*/React.createElement("div", { + }, message)), !!(actions === null || actions === void 0 ? void 0 : actions.length) && /*#__PURE__*/React__namespace.createElement("div", { className: "Toast-actions" }, actions.slice(0, 2).map(function (action, index) { - return /*#__PURE__*/React.createElement(ActionButton, { + return /*#__PURE__*/React__namespace.createElement(ActionButton, { key: index, label: action.label, appearance: appearance, @@ -6262,7 +6284,7 @@ }; _this.findDOMNode = function (ref) { - return ReactDOM.findDOMNode(ref.current); + return ReactDOM__namespace.findDOMNode(ref.current); }; _this.doesEventContainsElement = function (event, ref) { @@ -6306,8 +6328,8 @@ medium: '4px', large: '8px' }; - _this.triggerRef = /*#__PURE__*/React.createRef(); - _this.popupRef = /*#__PURE__*/React.createRef(); + _this.triggerRef = /*#__PURE__*/React__namespace.createRef(); + _this.popupRef = /*#__PURE__*/React__namespace.createRef(); _this.getPopperChildren = _this.getPopperChildren.bind(_this); _this.mouseMoveHandler = _this.mouseMoveHandler.bind(_this); _this.handleMouseEnter = _this.handleMouseEnter.bind(_this); @@ -6450,7 +6472,7 @@ } }; - return /*#__PURE__*/React.createElement(OutsideClick, __assign({ + return /*#__PURE__*/React__namespace.createElement(OutsideClick, __assign({ className: classes, onOutsideClick: onOutsideClickHandler }, options), trigger); @@ -6466,7 +6488,7 @@ children = _b.children; var zIndex = this.state.zIndex; var newStyle = offset ? this.getUpdatedStyle(style, placement, offset) : style; - var element = /*#__PURE__*/React.cloneElement(children, { + var element = /*#__PURE__*/React__namespace.cloneElement(children, { ref: ref, style: __assign(__assign({}, newStyle), { zIndex: zIndex @@ -6488,12 +6510,12 @@ open = _a.open, hide = _a.hide, boundaryElement = _a.boundaryElement; - return /*#__PURE__*/React.createElement(reactPopper.Manager, null, /*#__PURE__*/React.createElement(reactPopper.Reference, { + return /*#__PURE__*/React__namespace.createElement(reactPopper.Manager, null, /*#__PURE__*/React__namespace.createElement(reactPopper.Reference, { innerRef: this.triggerRef }, function (_a) { var ref = _a.ref; return _this.getTriggerElement(ref); - }), open && appendToBody && /*#__PURE__*/ReactDOM.createPortal( /*#__PURE__*/React.createElement(reactPopper.Popper, { + }), open && appendToBody && /*#__PURE__*/ReactDOM__namespace.createPortal( /*#__PURE__*/React__namespace.createElement(reactPopper.Popper, { placement: placement, innerRef: this.popupRef, modifiers: { @@ -6504,7 +6526,7 @@ enabled: hide } } - }, this.getPopperChildren), document.body), open && !appendToBody && /*#__PURE__*/React.createElement(reactPopper.Popper, { + }, this.getPopperChildren), document.body), open && !appendToBody && /*#__PURE__*/React__namespace.createElement(reactPopper.Popper, { placement: placement, innerRef: this.popupRef }, this.getPopperChildren)); @@ -6519,7 +6541,7 @@ style: {} }; return PopperWrapper; - }(React.Component); + }(React__namespace.Component); var propsList$1 = ['appendToBody', 'trigger', 'hoverable', 'on', 'open', 'closeOnBackdropClick', 'offset', 'closeOnScroll']; var Popover = function Popover(props) { @@ -6535,21 +6557,21 @@ boundaryElement = props.boundaryElement, rest = __rest(props, ["position", "customStyle", "dark", "children", "onToggle", "className", "hideOnReferenceEscape", "boundaryElement"]); - var _b = React.useState(!!props.open), + var _b = React__namespace.useState(!!props.open), open = _b[0], setOpen = _b[1]; - var _c = React.useState(false), + var _c = React__namespace.useState(false), init = _c[0], setInit = _c[1]; - React.useEffect(function () { + React__namespace.useEffect(function () { if (props.open !== undefined) setOpen(props.open); }, [props.open]); - var defaultOnToggle = React.useCallback(function (newOpen) { + var defaultOnToggle = React__namespace.useCallback(function (newOpen) { setOpen(newOpen); }, []); - React.useEffect(function () { + React__namespace.useEffect(function () { if (!init) { if ('current' in boundaryElement && boundaryElement.current) { setInit(true); @@ -6559,12 +6581,12 @@ var classes = classNames__default['default']((_a = { Popover: true }, _a['Popover--dark'] = dark, _a), className); - var PopoverWrapper = /*#__PURE__*/React.createElement("div", { + var PopoverWrapper = /*#__PURE__*/React__namespace.createElement("div", { "data-test": "DesignSystem-Popover", className: classes, "data-layer": true }, children); - return /*#__PURE__*/React.createElement(PopperWrapper, __assign({}, rest, { + return /*#__PURE__*/React__namespace.createElement(PopperWrapper, __assign({}, rest, { init: init, boundaryElement: 'current' in boundaryElement ? boundaryElement.current : boundaryElement, open: open, @@ -6589,13 +6611,13 @@ tooltip = props.tooltip, rest = __rest(props, ["children", "tooltip"]); - var tooltipWrapper = /*#__PURE__*/React.createElement("div", { + var tooltipWrapper = /*#__PURE__*/React__namespace.createElement("div", { className: "Tooltip" - }, /*#__PURE__*/React.createElement(Text, { + }, /*#__PURE__*/React__namespace.createElement(Text, { className: "Tooltip-text", appearance: "white" }, tooltip)); - return /*#__PURE__*/React.createElement(Popover, __assign({ + return /*#__PURE__*/React__namespace.createElement(Popover, __assign({ trigger: children, on: 'hover', offset: 'medium' @@ -6619,7 +6641,7 @@ secondaryButtonLabel = props.secondaryButtonLabel, secondaryButtonCallback = props.secondaryButtonCallback; var baseProps = extractBaseProps(props); - return /*#__PURE__*/React.createElement(Modal, __assign({ + return /*#__PURE__*/React__namespace.createElement(Modal, __assign({ "data-test": "DesignSystem-Dialog" }, baseProps, { open: open, @@ -6628,17 +6650,17 @@ headerOptions: { heading: heading }, - footer: /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Button, { + footer: /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, /*#__PURE__*/React__namespace.createElement(Button, { "data-test": "DesignSystem-Dialog--SecondaryButton", appearance: secondaryButtonAppearance, onClick: secondaryButtonCallback - }, secondaryButtonLabel), /*#__PURE__*/React.createElement(Button, { + }, secondaryButtonLabel), /*#__PURE__*/React__namespace.createElement(Button, { className: "ml-4", "data-test": "DesignSystem-Dialog--PrimaryButton", appearance: primaryButtonAppearance, onClick: primaryButtonCallback }, primaryButtonLabel)) - }), /*#__PURE__*/React.createElement(ModalDescription, { + }), /*#__PURE__*/React__namespace.createElement(ModalDescription, { title: title, description: description })); @@ -6686,7 +6708,7 @@ function Modal(props) { var _this = _super.call(this, props) || this; - _this.modalRef = /*#__PURE__*/React.createRef(); + _this.modalRef = /*#__PURE__*/React__namespace.createRef(); _this.element = getWrapperElement(); _this.state = { open: props.open, @@ -6779,34 +6801,34 @@ sizeXS: '10' } }; - var ModalContainer = /*#__PURE__*/React.createElement(Row, { + var ModalContainer = /*#__PURE__*/React__namespace.createElement(Row, { "data-test": "DesignSystem-ModalContainer", className: ContainerClass, "data-layer": true, style: { zIndex: zIndex } - }, /*#__PURE__*/React.createElement(Column, __assign({ + }, /*#__PURE__*/React__namespace.createElement(Column, __assign({ "data-test": "DesignSystem-Modal" }, baseProps, { className: classes }, sizeMap[dimension], { ref: this.modalRef - }), headerOptions && /*#__PURE__*/React.createElement(ModalHeader, __assign({ + }), headerOptions && /*#__PURE__*/React__namespace.createElement(ModalHeader, __assign({ onClose: function onClose(event, reason) { if (_onClose) _onClose(event, reason); } - }, headerOptions)), children && /*#__PURE__*/React.createElement(React.Fragment, null, headerOptions || footer ? /*#__PURE__*/React.createElement(ModalBody, { + }, headerOptions)), children && /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, headerOptions || footer ? /*#__PURE__*/React__namespace.createElement(ModalBody, { withFooter: !!footer - }, children) : children), footer && /*#__PURE__*/React.createElement(ModalFooter, { + }, children) : children), footer && /*#__PURE__*/React__namespace.createElement(ModalFooter, { open: open }, footer))); - var ModalWrapper = backdropClose ? /*#__PURE__*/React.createElement(OutsideClick, { + var ModalWrapper = backdropClose ? /*#__PURE__*/React__namespace.createElement(OutsideClick, { "data-test": "DesignSystem-Modal--OutsideClick", onOutsideClick: this.onOutsideClickHandler }, ModalContainer) : ModalContainer; - var WrapperElement = /*#__PURE__*/ReactDOM.createPortal(ModalWrapper, this.element); - return /*#__PURE__*/React.createElement(React.Fragment, null, WrapperElement, /*#__PURE__*/React.createElement(Backdrop, { + var WrapperElement = /*#__PURE__*/ReactDOM__namespace.createPortal(ModalWrapper, this.element); + return /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, WrapperElement, /*#__PURE__*/React__namespace.createElement(Backdrop, { open: this.state.animate })); }; @@ -6815,7 +6837,7 @@ dimension: 'medium' }; return Modal; - }(React.Component); + }(React__namespace.Component); var ModalHeader$1 = function ModalHeader(props) { var _a; @@ -6829,18 +6851,18 @@ var classes = classNames__default['default']((_a = { 'FullscreenModal-header': true }, _a['FullscreenModal-header--backButton'] = backButton, _a), className); - return /*#__PURE__*/React.createElement("div", __assign({ + return /*#__PURE__*/React__namespace.createElement("div", __assign({ "data-test": "DesignSystem-ModalHeader" }, baseProps, { className: classes - }), /*#__PURE__*/React.createElement("div", { + }), /*#__PURE__*/React__namespace.createElement("div", { className: "FullscreenModal-headerWrapper" - }, backButton && /*#__PURE__*/React.createElement(Icon, { + }, backButton && /*#__PURE__*/React__namespace.createElement(Icon, { name: "keyboard_backspace", size: 20, className: "mr-5 cursor-pointer", onClick: backButtonCallback - }), heading && /*#__PURE__*/React.createElement(Heading, null, heading)), subHeading && /*#__PURE__*/React.createElement(Text, { + }), heading && /*#__PURE__*/React__namespace.createElement(Heading, null, heading)), subHeading && /*#__PURE__*/React__namespace.createElement(Text, { "data-test": "DesignSystem-ModalHeader--Subheading", appearance: "subtle", className: "mt-2" @@ -6852,8 +6874,8 @@ var open = props.open, actions = props.actions; var baseProps = extractBaseProps(props); - var wrapperRef = /*#__PURE__*/React.createRef(); - React.useEffect(function () { + var wrapperRef = /*#__PURE__*/React__namespace.createRef(); + React__namespace.useEffect(function () { var _a; if (open) { @@ -6871,7 +6893,7 @@ } } }, [open]); - return /*#__PURE__*/React.createElement("div", __assign({ + return /*#__PURE__*/React__namespace.createElement("div", __assign({ ref: wrapperRef }, baseProps, { className: "d-flex" @@ -6879,7 +6901,7 @@ _a.label; var options = __rest(_a, ["label"]); - return /*#__PURE__*/React.createElement(Button, __assign({}, options, { + return /*#__PURE__*/React__namespace.createElement(Button, __assign({}, options, { key: index })); })); @@ -6895,7 +6917,7 @@ function FullscreenModal(props) { var _this = _super.call(this, props) || this; - _this.modalRef = /*#__PURE__*/React.createRef(); + _this.modalRef = /*#__PURE__*/React__namespace.createRef(); _this.element = getWrapperElement(); _this.state = { open: props.open, @@ -6971,28 +6993,28 @@ sizeXS: '12' } }; - var ModalContainer = /*#__PURE__*/React.createElement("div", { + var ModalContainer = /*#__PURE__*/React__namespace.createElement("div", { "data-test": "DesignSystem-FullscreenModalContainer", className: ContainerClass, "data-layer": true, style: { zIndex: zIndex } - }, /*#__PURE__*/React.createElement("div", __assign({ + }, /*#__PURE__*/React__namespace.createElement("div", __assign({ "data-test": "DesignSystem-FullscreenModal" }, baseProps, { className: classes, ref: this.modalRef - }), /*#__PURE__*/React.createElement(Row, { + }), /*#__PURE__*/React__namespace.createElement(Row, { className: "justify-content-center" - }, /*#__PURE__*/React.createElement(Column, __assign({}, sizeMap[dimension]), /*#__PURE__*/React.createElement(Row, { + }, /*#__PURE__*/React__namespace.createElement(Column, __assign({}, sizeMap[dimension]), /*#__PURE__*/React__namespace.createElement(Row, { className: "justify-content-between pt-6 pr-6 pb-5 pl-7" - }, /*#__PURE__*/React.createElement(Column, { + }, /*#__PURE__*/React__namespace.createElement(Column, { size: "auto" - }, !header && /*#__PURE__*/React.createElement(ModalHeader$1, __assign({}, headerOptions)), !!header && header), /*#__PURE__*/React.createElement(Column, { + }, !header && /*#__PURE__*/React__namespace.createElement(ModalHeader$1, __assign({}, headerOptions)), !!header && header), /*#__PURE__*/React__namespace.createElement(Column, { size: "auto", className: "pr-2" - }, /*#__PURE__*/React.createElement(Icon, { + }, /*#__PURE__*/React__namespace.createElement(Icon, { size: 20, name: 'close', className: "cursor-pointer pt-3", @@ -7000,24 +7022,24 @@ onClick: function onClick(event) { if (onClose) onClose(event, 'IconClick'); } - }))), /*#__PURE__*/React.createElement("div", { + }))), /*#__PURE__*/React__namespace.createElement("div", { "data-test": "DesignSystem-ModalBody", className: "FullscreenModal-body" - }, children), (!!footer || !!footerOptions) && /*#__PURE__*/React.createElement("div", { + }, children), (!!footer || !!footerOptions) && /*#__PURE__*/React__namespace.createElement("div", { "data-test": "DesignSystem-ModalFooter", className: "d-flex justify-content-end p-7" - }, !footer && /*#__PURE__*/React.createElement(ModalFooter$1, __assign({}, footerOptions, { + }, !footer && /*#__PURE__*/React__namespace.createElement(ModalFooter$1, __assign({}, footerOptions, { open: open })), !!footer && footer))))); - var WrapperElement = /*#__PURE__*/ReactDOM.createPortal(ModalContainer, this.element); - return /*#__PURE__*/React.createElement(React.Fragment, null, WrapperElement); + var WrapperElement = /*#__PURE__*/ReactDOM__namespace.createPortal(ModalContainer, this.element); + return /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, WrapperElement); }; FullscreenModal.defaultProps = { dimension: 'medium' }; return FullscreenModal; - }(React.Component); + }(React__namespace.Component); var sidesheetWidth = { regular: '6', @@ -7030,7 +7052,7 @@ function Sidesheet(props) { var _this = _super.call(this, props) || this; - _this.sidesheetRef = /*#__PURE__*/React.createRef(); + _this.sidesheetRef = /*#__PURE__*/React__namespace.createRef(); _this.element = getWrapperElement(); _this.state = { open: props.open, @@ -7107,7 +7129,7 @@ seperator: seperator }); - var SidesheetContainer = /*#__PURE__*/React.createElement(Row, { + var SidesheetContainer = /*#__PURE__*/React__namespace.createElement(Row, { "data-test": "DesignSystem-SidesheetContainer", className: ContainerClass, "data-layer": true, @@ -7115,29 +7137,29 @@ zIndex: zIndex }, ref: this.sidesheetRef - }, /*#__PURE__*/React.createElement(Column, __assign({ + }, /*#__PURE__*/React__namespace.createElement(Column, __assign({ "data-test": "DesignSystem-Sidesheet" }, baseProps, { className: classes, size: sidesheetWidth[dimension] - }), /*#__PURE__*/React.createElement(ModalHeader, __assign({ + }), /*#__PURE__*/React__namespace.createElement(ModalHeader, __assign({ onClose: function onClose(event, reason) { if (_onClose) _onClose(event, reason); } - }, headerObj)), /*#__PURE__*/React.createElement(ModalBody, { + }, headerObj)), /*#__PURE__*/React__namespace.createElement(ModalBody, { stickFooter: stickFooter, withFooter: !!footer - }, this.props.children), footer && /*#__PURE__*/React.createElement(ModalFooter, { + }, this.props.children), footer && /*#__PURE__*/React__namespace.createElement(ModalFooter, { inSidesheet: true, stickToBottom: stickFooter, seperator: seperator }, footer))); - var SidesheetWrapper = backdropClose ? /*#__PURE__*/React.createElement(OutsideClick, { + var SidesheetWrapper = backdropClose ? /*#__PURE__*/React__namespace.createElement(OutsideClick, { "data-test": "DesignSystem-Sidesheet--OutsideClick", onOutsideClick: this.onOutsideClickHandler }, SidesheetContainer) : SidesheetContainer; - var WrapperElement = /*#__PURE__*/ReactDOM.createPortal(SidesheetWrapper, this.element); - return /*#__PURE__*/React.createElement(React.Fragment, null, WrapperElement, /*#__PURE__*/React.createElement(Backdrop, { + var WrapperElement = /*#__PURE__*/ReactDOM__namespace.createPortal(SidesheetWrapper, this.element); + return /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, WrapperElement, /*#__PURE__*/React__namespace.createElement(Backdrop, { open: this.state.animate })); }; @@ -7148,7 +7170,7 @@ headerOptions: {} }; return Sidesheet; - }(React.Component); + }(React__namespace.Component); var Status = function Status(props) { var _a, _b; @@ -7181,17 +7203,17 @@ switch (type) { case 'failed': - return /*#__PURE__*/React.createElement("div", __assign({}, baseProps, { + return /*#__PURE__*/React__namespace.createElement("div", __assign({}, baseProps, { className: StatusClass - }), /*#__PURE__*/React.createElement(Icon, { + }), /*#__PURE__*/React__namespace.createElement(Icon, { name: "error", type: "outlined", appearance: "destructive" - }), /*#__PURE__*/React.createElement(Text, { + }), /*#__PURE__*/React__namespace.createElement(Text, { appearance: "destructive", size: "small", className: "ml-1" - }, "Failed"), /*#__PURE__*/React.createElement(MetaList, { + }, "Failed"), /*#__PURE__*/React__namespace.createElement(MetaList, { list: [{ label: failedText }], @@ -7199,17 +7221,17 @@ })); case 'urgent': - return /*#__PURE__*/React.createElement("div", __assign({}, baseProps, { + return /*#__PURE__*/React__namespace.createElement("div", __assign({}, baseProps, { className: StatusClass - }), /*#__PURE__*/React.createElement(Icon, { + }), /*#__PURE__*/React__namespace.createElement(Icon, { name: "notification_important", type: "outlined", appearance: "destructive" - }), /*#__PURE__*/React.createElement(Text, { + }), /*#__PURE__*/React__namespace.createElement(Text, { appearance: "destructive", size: "small", className: "ml-1" - }, "Urgent"), time && /*#__PURE__*/React.createElement(MetaList, { + }, "Urgent"), time && /*#__PURE__*/React__namespace.createElement(MetaList, { list: [{ label: getTime(time) }], @@ -7217,12 +7239,12 @@ })); case 'read': - return /*#__PURE__*/React.createElement("div", __assign({}, baseProps, { + return /*#__PURE__*/React__namespace.createElement("div", __assign({}, baseProps, { className: StatusClass - }), time && /*#__PURE__*/React.createElement(Text, { + }), time && /*#__PURE__*/React__namespace.createElement(Text, { appearance: "subtle", size: "small" - }, getTime(time)), /*#__PURE__*/React.createElement(MetaList, { + }, getTime(time)), /*#__PURE__*/React__namespace.createElement(MetaList, { list: [{ label: readText }], @@ -7230,14 +7252,14 @@ })); case 'sending': - return /*#__PURE__*/React.createElement(Text, __assign({}, baseProps, { + return /*#__PURE__*/React__namespace.createElement(Text, __assign({}, baseProps, { appearance: "subtle", size: "small", className: TextClass }), sendingText); case 'sent': - return /*#__PURE__*/React.createElement(React.Fragment, null, time && /*#__PURE__*/React.createElement(Text, __assign({}, baseProps, { + return /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, time && /*#__PURE__*/React__namespace.createElement(Text, __assign({}, baseProps, { appearance: "subtle", size: "small", className: TextClass @@ -7261,7 +7283,7 @@ className = props.className; var baseProps = extractBaseProps(props); var MessageClass = classNames__default['default']((_a = {}, _a['Box'] = true, _a["Box--" + type] = type, _a['Box--typing'] = isTyping, _a['Box--urgent'] = statusType === 'urgent', _a["Box-" + type + "--withStatus"] = withStatus || isTyping, _a), className); - return /*#__PURE__*/React.createElement("div", __assign({}, baseProps, { + return /*#__PURE__*/React__namespace.createElement("div", __assign({}, baseProps, { className: MessageClass, onClick: onClick }), children); @@ -7278,14 +7300,14 @@ var baseProps = extractBaseProps(props); if (isTyping && type === 'incoming') { - return /*#__PURE__*/React.createElement(Text, __assign({}, baseProps, { + return /*#__PURE__*/React__namespace.createElement(Text, __assign({}, baseProps, { appearance: 'subtle', size: 'small', className: className }), typingText); } - return /*#__PURE__*/React.createElement(Text, __assign({}, baseProps, { + return /*#__PURE__*/React__namespace.createElement(Text, __assign({}, baseProps, { className: className, appearance: statusType === 'sending' ? 'subtle' : 'default' }), text); @@ -7306,20 +7328,20 @@ className = props.className; var baseProps = extractBaseProps(props); var statusType = (statusOptions || {}).type; - return /*#__PURE__*/React.createElement(Box, __assign({}, baseProps, { + return /*#__PURE__*/React__namespace.createElement(Box, __assign({}, baseProps, { type: type, className: className, onClick: onClick, isTyping: isTyping, statusType: statusType, withStatus: statusOptions !== undefined - }), /*#__PURE__*/React.createElement(MessageText, { + }), /*#__PURE__*/React__namespace.createElement(MessageText, { type: type, text: text, typingText: typingText, isTyping: isTyping, statusType: statusType - }), !isTyping && statusOptions && /*#__PURE__*/React.createElement(Status, __assign({}, statusOptions))); + }), !isTyping && statusOptions && /*#__PURE__*/React__namespace.createElement(Status, __assign({}, statusOptions))); }; ChatMessage.displayName = 'ChatMessage'; @@ -7348,15 +7370,15 @@ var WrapperClass = classNames__default['default']((_a = {}, _a['EmptyState'] = true, _a), className); var HeadingClass = classNames__default['default']((_b = {}, _b['EmptyState-title'] = true, _b["EmptyState-title--" + size] = true, _b)); var TextClass = classNames__default['default']((_c = {}, _c['EmptyState-description'] = true, _c["EmptyState-description--" + size] = children !== undefined, _c)); - return /*#__PURE__*/React.createElement("div", __assign({}, baseProps, { + return /*#__PURE__*/React__namespace.createElement("div", __assign({}, baseProps, { className: WrapperClass - }), /*#__PURE__*/React.createElement("img", { + }), /*#__PURE__*/React__namespace.createElement("img", { src: imageSrc, height: imageHeight[size] - }), /*#__PURE__*/React.createElement(Heading, { + }), /*#__PURE__*/React__namespace.createElement(Heading, { size: HeadingSize[size], className: HeadingClass - }, title), /*#__PURE__*/React.createElement(Text, { + }, title), /*#__PURE__*/React__namespace.createElement(Text, { size: textSize[size], className: TextClass, appearance: "subtle" @@ -7381,20 +7403,20 @@ var wrapperClass = classNames__default['default']((_b = { 'Modal-headerWrapper': true }, _b['Modal-headerWrapper--backIcon'] = backIcon, _b)); - return /*#__PURE__*/React.createElement("div", __assign({ + return /*#__PURE__*/React__namespace.createElement("div", __assign({ "data-test": "DesignSystem-ModalHeader" }, baseProps, { className: classes - }), /*#__PURE__*/React.createElement("div", { + }), /*#__PURE__*/React__namespace.createElement("div", { className: wrapperClass - }, backIcon && /*#__PURE__*/React.createElement(Icon, { + }, backIcon && /*#__PURE__*/React__namespace.createElement(Icon, { name: "keyboard_backspace", size: 20, className: "ml-3 mr-5 my-3 px-2 py-2 cursor-pointer", onClick: backIconCallback - }), /*#__PURE__*/React.createElement("div", { + }), /*#__PURE__*/React__namespace.createElement("div", { className: "Modal-headerHeading" - }, /*#__PURE__*/React.createElement(Heading, null, heading), /*#__PURE__*/React.createElement(Icon, { + }, /*#__PURE__*/React__namespace.createElement(Heading, null, heading), /*#__PURE__*/React__namespace.createElement(Icon, { size: 20, name: 'close', className: 'mx-2 cursor-pointer', @@ -7402,7 +7424,7 @@ onClick: function onClick(event) { return onClose(event, 'IconClick'); } - }))), subHeading && /*#__PURE__*/React.createElement(Text, { + }))), subHeading && /*#__PURE__*/React__namespace.createElement(Text, { "data-test": "DesignSystem-ModalHeader--Subheading", appearance: "subtle", className: "mt-2 ml-7" @@ -7423,8 +7445,8 @@ var classes = classNames__default['default']((_a = { 'Modal-footer': true }, _a['Modal-footer--inModal'] = !inSidesheet, _a['Modal-footer--seperator'] = seperator, _a['Modal-footer--stickToBottom'] = stickToBottom, _a), className); - var wrapperRef = /*#__PURE__*/React.createRef(); - React.useEffect(function () { + var wrapperRef = /*#__PURE__*/React__namespace.createRef(); + React__namespace.useEffect(function () { var _a; if (open) { @@ -7442,7 +7464,7 @@ } } }, [open]); - return /*#__PURE__*/React.createElement("div", __assign({ + return /*#__PURE__*/React__namespace.createElement("div", __assign({ "data-test": "DesignSystem-ModalFooter", ref: wrapperRef }, baseProps, { @@ -7466,7 +7488,7 @@ var classes = classNames__default['default']((_a = { 'Modal-body': true }, _a['Modal-body--stickFooter'] = withFooter && stickFooter, _a), className); - return /*#__PURE__*/React.createElement("div", __assign({ + return /*#__PURE__*/React__namespace.createElement("div", __assign({ "data-test": "DesignSystem-ModalBody" }, baseProps, { className: classes @@ -7486,14 +7508,14 @@ var classes = classNames__default['default']({ 'Modal-description': true }, className); - return /*#__PURE__*/React.createElement("div", __assign({ + return /*#__PURE__*/React__namespace.createElement("div", __assign({ "data-test": "DesignSystem-ModalDescription" }, baseProps, { className: classes - }), title && /*#__PURE__*/React.createElement(Text, { + }), title && /*#__PURE__*/React__namespace.createElement(Text, { weight: "strong", "data-test": "DesignSystem-ModalDescription--Title" - }, title), title && description && /*#__PURE__*/React.createElement("br", null), description && /*#__PURE__*/React.createElement(Text, { + }, title), title && description && /*#__PURE__*/React__namespace.createElement("br", null), description && /*#__PURE__*/React__namespace.createElement(Text, { "data-test": "DesignSystem-ModalDescription--Description" }, description)); }; @@ -7508,21 +7530,21 @@ className = props.className; var baseProps = extractBaseProps(props); - var _d = React.useState(props.page), + var _d = React__namespace.useState(props.page), page = _d[0], setPage = _d[1]; - var _e = React.useState(false), + var _e = React__namespace.useState(false), init = _e[0], setInit = _e[1]; - React.useEffect(function () { + React__namespace.useEffect(function () { setPage(props.page); }, [props.page]); var wrapperClass = classNames__default['default']((_a = {}, _a['Pagination'] = true, _a["Pagination--" + type] = type, _a), className); var nextButtonWrapperClass = classNames__default['default']((_b = {}, _b['Pagination-buttonWrapper'] = true, _b['Pagination-buttonWrapper--next'] = true, _b)); var prevButtonWrapperClass = classNames__default['default']((_c = {}, _c['Pagination-buttonWrapper'] = true, _c['Pagination-buttonWrapper--previous'] = true, _c)); - React.useEffect(function () { + React__namespace.useEffect(function () { if (init) { if (page >= 1 && page <= totalPages) onPageChange(page); } @@ -7562,13 +7584,13 @@ var buttonHelper = []; if (type === 'basic') buttonHelper.push('mx-3');else buttonHelper.push('mx-4'); - return /*#__PURE__*/React.createElement("div", __assign({ + return /*#__PURE__*/React__namespace.createElement("div", __assign({ "data-test": "DesignSystem-Pagination" }, baseProps, { className: wrapperClass - }), /*#__PURE__*/React.createElement("div", { + }), /*#__PURE__*/React__namespace.createElement("div", { className: prevButtonWrapperClass - }, /*#__PURE__*/React.createElement(Button, { + }, /*#__PURE__*/React__namespace.createElement(Button, { onClick: function onClick() { return onClickHandler('first'); }, @@ -7577,10 +7599,10 @@ size: "large", icon: "first_page", "data-test": "DesignSystem-Pagination--FirstButton" - }), /*#__PURE__*/React.createElement("div", { + }), /*#__PURE__*/React__namespace.createElement("div", { "data-test": "DesignSystem-Pagination--Prev", className: __spreadArrays(['ml-4'], buttonHelper).join(' ') - }, /*#__PURE__*/React.createElement(Button, { + }, /*#__PURE__*/React__namespace.createElement(Button, { onClick: function onClick() { return onClickHandler('prev'); }, @@ -7588,20 +7610,20 @@ size: "large", icon: "navigate_before", "data-test": "DesignSystem-Pagination--PrevButton" - }))), type === 'jump' && /*#__PURE__*/React.createElement("div", { + }))), type === 'jump' && /*#__PURE__*/React__namespace.createElement("div", { className: "Pagination-pageIndex" - }, /*#__PURE__*/React.createElement(Input, { + }, /*#__PURE__*/React__namespace.createElement(Input, { name: "page", type: "number", size: "large", onChange: inputChangeHandler, value: "" + (page === 0 ? '' : page), "data-test": "DesignSystem-Pagination--Input" - }), /*#__PURE__*/React.createElement(Text, null, " of " + totalPages + " pages")), /*#__PURE__*/React.createElement("div", { + }), /*#__PURE__*/React__namespace.createElement(Text, null, " of " + totalPages + " pages")), /*#__PURE__*/React__namespace.createElement("div", { className: nextButtonWrapperClass - }, /*#__PURE__*/React.createElement("div", { + }, /*#__PURE__*/React__namespace.createElement("div", { className: __spreadArrays(['mr-4'], buttonHelper).join(' ') - }, /*#__PURE__*/React.createElement(Button, { + }, /*#__PURE__*/React__namespace.createElement(Button, { onClick: function onClick() { return onClickHandler('next'); }, @@ -7609,7 +7631,7 @@ size: "large", icon: "navigate_next", "data-test": "DesignSystem-Pagination--NextButton" - })), /*#__PURE__*/React.createElement(Button, { + })), /*#__PURE__*/React__namespace.createElement(Button, { onClick: function onClick() { return onClickHandler('last'); }, @@ -7643,25 +7665,25 @@ var onInputChange = inputOptions.onChange, rest = __rest(inputOptions, ["onChange"]); - var _e = React.useState(value), + var _e = React__namespace.useState(value), inputValue = _e[0], setInputValue = _e[1]; - var _f = React.useState(false), + var _f = React__namespace.useState(false), editing = _f[0], setEditing = _f[1]; - var _g = React.useState(false), + var _g = React__namespace.useState(false), showComponent = _g[0], setShowComponent = _g[1]; - var inputRef = /*#__PURE__*/React.createRef(); + var inputRef = /*#__PURE__*/React__namespace.createRef(); var baseProps = extractBaseProps(props); var EditableInputClass = classNames__default['default']((_a = {}, _a['EditableInput'] = true, _a), className); var EditableDefaultClass = classNames__default['default']((_b = {}, _b['EditableInput-default'] = true, _b["EditableInput-default--" + size] = size, _b)); var InputClass = classNames__default['default']((_c = {}, _c['EditableInput-Input--tiny'] = size === 'tiny', _c)); var ActionClass = classNames__default['default']((_d = {}, _d['EditableInput-actions'] = true, _d["EditableInput-actions--" + size] = size, _d)); - React.useEffect(function () { + React__namespace.useEffect(function () { setDefaultComponent(); }, [value]); @@ -7697,7 +7719,7 @@ } }; - var inputComponent = /*#__PURE__*/React.createElement(Input, __assign({ + var inputComponent = /*#__PURE__*/React__namespace.createElement(Input, __assign({ defaultValue: inputValue, placeholder: placeholder, className: InputClass, @@ -7725,46 +7747,46 @@ var renderChildren = function renderChildren() { if (showComponent) { - return error && errorMessage && editing ? /*#__PURE__*/React.createElement(Popover, { + return error && errorMessage && editing ? /*#__PURE__*/React__namespace.createElement(Popover, { trigger: inputComponent, position: "right", className: "px-6 py-6 d-flex align-items-center", on: "hover" - }, /*#__PURE__*/React.createElement(Icon, { + }, /*#__PURE__*/React__namespace.createElement(Icon, { name: "error", appearance: 'alert', className: "mr-4" - }), /*#__PURE__*/React.createElement(Text, { + }), /*#__PURE__*/React__namespace.createElement(Text, { "data-test": "DesignSystem-EditableInput--ErrorPopper", appearance: "destructive", weight: "medium" }, errorMessage)) : inputComponent; } - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { className: EditableDefaultClass, "data-test": "DesignSystem-EditableInput--Default" }, value || placeholder); }; - return /*#__PURE__*/React.createElement("div", __assign({ + return /*#__PURE__*/React__namespace.createElement("div", __assign({ "data-test": "DesignSystem-EditableInput" }, baseProps, { className: EditableInputClass, onKeyDown: onKeyDown - }), /*#__PURE__*/React.createElement(Editable, { + }), /*#__PURE__*/React__namespace.createElement(Editable, { onChange: onChangeHandler, editing: editing - }, renderChildren()), editing && /*#__PURE__*/React.createElement("div", { + }, renderChildren()), editing && /*#__PURE__*/React__namespace.createElement("div", { className: ActionClass, "data-test": "DesignSystem-EditableInput--Actions" - }, /*#__PURE__*/React.createElement(Button, { + }, /*#__PURE__*/React__namespace.createElement(Button, { icon: "clear", className: "mr-3", size: "tiny", onClick: setDefaultComponent, "data-test": "DesignSystem-EditableInput--Discard" - }), /*#__PURE__*/React.createElement(Button, { + }), /*#__PURE__*/React__namespace.createElement(Button, { icon: "check", appearance: "primary", size: "tiny", @@ -7805,13 +7827,13 @@ strokeWidth: '8', strokeDasharray: circumference + " " + circumference }; - return /*#__PURE__*/React.createElement("svg", __assign({ + return /*#__PURE__*/React__namespace.createElement("svg", __assign({ "data-test": "DesignSystem-ProgressRing" }, baseProps, { className: ProgressRingClass - }, svgProps), /*#__PURE__*/React.createElement("circle", __assign({ + }, svgProps), /*#__PURE__*/React__namespace.createElement("circle", __assign({ className: "Ring-background" - }, circleProps)), /*#__PURE__*/React.createElement("circle", __assign({ + }, circleProps)), /*#__PURE__*/React__namespace.createElement("circle", __assign({ className: "Ring-indicator", strokeDashoffset: circumference - updatedValue / 100 * circumference }, circleProps, { @@ -7841,16 +7863,16 @@ }; var iconAppearance = completed ? 'info' : disabled ? 'disabled' : 'default'; - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { "data-test": "DesignSystem-Step", className: StepClass, onClick: onClickHandle - }, /*#__PURE__*/React.createElement(Icon, { + }, /*#__PURE__*/React__namespace.createElement(Icon, { "data-test": "DesignSystem-StepIcon", name: completed ? 'check_circle' : 'radio_button_unchecked', appearance: iconAppearance, className: "mr-3 my-4" - }), label && /*#__PURE__*/React.createElement(Text, { + }), label && /*#__PURE__*/React__namespace.createElement(Text, { weight: "medium", appearance: disabled ? 'disabled' : 'default' }, label)); @@ -7872,7 +7894,7 @@ }; var StepperClass = classNames__default['default']((_a = {}, _a['Stepper'] = true, _a), className); - return /*#__PURE__*/React.createElement("div", __assign({ + return /*#__PURE__*/React__namespace.createElement("div", __assign({ "data-test": "DesignSystem-Stepper" }, baseProps, { className: StepperClass @@ -7882,7 +7904,7 @@ var activeStep = active === index; var completedStep = completed >= index; var disabled = completed + 1 < index; - return /*#__PURE__*/React.createElement(Step, { + return /*#__PURE__*/React__namespace.createElement(Step, { key: index, label: label, value: value, @@ -8046,14 +8068,14 @@ return isValid(validators, val, inputFormat); }; - return /*#__PURE__*/React.createElement(Row, null, /*#__PURE__*/React.createElement(Column, { + return /*#__PURE__*/React__namespace.createElement(Row, null, /*#__PURE__*/React__namespace.createElement(Column, { size: '6', sizeXS: '12', className: "DateRangePicker-input DateRangePicker-input--startDate" - }, startLabel && /*#__PURE__*/React.createElement(Label, { + }, startLabel && /*#__PURE__*/React__namespace.createElement(Label, { required: startInputOptions.required, withInput: true - }, startLabel), /*#__PURE__*/React.createElement(InputMask, __assign({ + }, startLabel), /*#__PURE__*/React__namespace.createElement(InputMask, __assign({ icon: "events", placeholder: inputFormat }, startInputOptions, { @@ -8075,14 +8097,14 @@ caption: showStartError ? startErrorMessage : '', validators: [inputValidator], clearOnEmptyBlur: false - }))), /*#__PURE__*/React.createElement(Column, { + }))), /*#__PURE__*/React__namespace.createElement(Column, { size: '6', sizeXS: '12', className: "DateRangePicker-input DateRangePicker-input--endDate" - }, endLabel && /*#__PURE__*/React.createElement(Label, { + }, endLabel && /*#__PURE__*/React__namespace.createElement(Label, { required: endInputOptions.required, withInput: true - }, endLabel), /*#__PURE__*/React.createElement(InputMask, __assign({ + }, endLabel), /*#__PURE__*/React__namespace.createElement(InputMask, __assign({ icon: "events", placeholder: inputFormat }, endInputOptions, { @@ -8211,10 +8233,10 @@ }); }; - return /*#__PURE__*/React.createElement(Row, null, /*#__PURE__*/React.createElement(Column, null, label && /*#__PURE__*/React.createElement(Label, { + return /*#__PURE__*/React__namespace.createElement(Row, null, /*#__PURE__*/React__namespace.createElement(Column, null, label && /*#__PURE__*/React__namespace.createElement(Label, { required: inputOptions.required, withInput: true - }, label), /*#__PURE__*/React.createElement(InputMask, __assign({ + }, label), /*#__PURE__*/React__namespace.createElement(InputMask, __assign({ icon: "events", placeholder: inputFormat + " - " + inputFormat }, inputOptions, { @@ -8539,7 +8561,7 @@ endDate = _b.endDate, yearNav = _b.yearNav, monthNav = _b.monthNav; - return /*#__PURE__*/React.createElement(Calendar, __assign({}, rest, { + return /*#__PURE__*/React__namespace.createElement(Calendar, __assign({}, rest, { monthsInView: this.monthsInView, rangePicker: true, startDate: convertToDate(startDate, inputFormat, validators), @@ -8571,13 +8593,13 @@ var RangePickerClass = classNames__default['default']((_a = {}, _a['DateRangePicker'] = true, _a["DateRangePicker--" + contentAlign] = contentAlign, _a)); if (withInput) { - var trigger = singleInput ? /*#__PURE__*/React.createElement(SingleInputTrigger, { + var trigger = singleInput ? /*#__PURE__*/React__namespace.createElement(SingleInputTrigger, { inputFormat: inputFormat, inputOptions: inputOptions, validators: validators, state: this.state, setState: this.setState.bind(this) - }) : /*#__PURE__*/React.createElement(Trigger, { + }) : /*#__PURE__*/React__namespace.createElement(Trigger, { inputFormat: inputFormat, startInputOptions: startInputOptions, endInputOptions: endInputOptions, @@ -8585,7 +8607,7 @@ state: this.state, setState: this.setState.bind(this) }); - return /*#__PURE__*/React.createElement(Popover, { + return /*#__PURE__*/React__namespace.createElement(Popover, { trigger: trigger, triggerClass: "w-100", className: RangePickerClass, @@ -8600,7 +8622,7 @@ }; DateRangePicker.defaultProps = __assign(__assign({}, Calendar.defaultProps), { - children: /*#__PURE__*/React.createElement(React.Fragment, null), + children: /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null), contentAlign: 'left', monthsInView: undefined, position: 'bottom-start', @@ -8618,7 +8640,7 @@ } }); return DateRangePicker; - }(React.Component); + }(React__namespace.Component); DateRangePicker.utils = { getCurrentWeek: getCurrentWeek, getPreviousWeek: getPreviousWeek, @@ -8639,11 +8661,11 @@ var tabs = Array.isArray(children) ? children : [children]; var totalTabs = tabs.length; - var _b = React.useState(props.active && props.active < totalTabs ? props.active : 0), + var _b = React__namespace.useState(props.active && props.active < totalTabs ? props.active : 0), active = _b[0], setActiveTab = _b[1]; - React.useEffect(function () { + React__namespace.useEffect(function () { setActiveTab(props.active && props.active < totalTabs ? props.active : 0); }, [props.active]); var wrapperClass = classNames__default['default']((_a = {}, _a['TabsWrapper'] = true, _a), className); @@ -8660,7 +8682,7 @@ label = _b.label, disabled = _b.disabled; var tabHeaderClass = classNames__default['default']((_a = {}, _a['Tab'] = true, _a['Tab--disabled'] = disabled, _a['Tab--active'] = !disabled && active === index, _a)); - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { "data-test": "DesignSystem-Tabs--Header", key: index, className: tabHeaderClass, @@ -8669,13 +8691,13 @@ } }, label); }); - return /*#__PURE__*/React.createElement("div", __assign({ + return /*#__PURE__*/React__namespace.createElement("div", __assign({ "data-test": "DesignSystem-TabsWrapper" }, baseProps, { className: wrapperClass - }), /*#__PURE__*/React.createElement("div", { + }), /*#__PURE__*/React__namespace.createElement("div", { className: "TabsWrapper-header" - }, TabsHeader), /*#__PURE__*/React.createElement("div", { + }, TabsHeader), /*#__PURE__*/React__namespace.createElement("div", { className: "TabsWrapper-content", "data-test": "DesignSystem-Tabs--Content" }, tabs[active])); @@ -8684,7 +8706,7 @@ var Tab = function Tab(props) { var children = props.children; - return /*#__PURE__*/React.createElement(React.Fragment, null, children); + return /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, children); }; Tab.displayName = 'Tab'; @@ -9484,12 +9506,12 @@ var type = props.type; var IconClass = classNames__default['default']((_a = {}, _a['Dropzone-stateIcon'] = true, _a["Dropzone-stateIcon--" + type] = type, _a)); - return /*#__PURE__*/React.createElement(React.Fragment, null, type !== 'tight' && /*#__PURE__*/React.createElement(Icon, { + return /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, type !== 'tight' && /*#__PURE__*/React__namespace.createElement(Icon, { name: "archive", size: 64, appearance: "info", className: IconClass - }), /*#__PURE__*/React.createElement(Text, { + }), /*#__PURE__*/React__namespace.createElement(Text, { appearance: "link", size: "large", weight: "strong" @@ -9503,12 +9525,12 @@ var type = props.type, error = props.error; var IconClass = classNames__default['default']((_a = {}, _a['Dropzone-stateIcon'] = true, _a["Dropzone-stateIcon--" + type] = type, _a)); - return /*#__PURE__*/React.createElement(React.Fragment, null, type !== 'tight' && /*#__PURE__*/React.createElement(Icon, { + return /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, type !== 'tight' && /*#__PURE__*/React__namespace.createElement(Icon, { name: "error", size: 64, appearance: "alert", className: IconClass - }), /*#__PURE__*/React.createElement(Text, { + }), /*#__PURE__*/React__namespace.createElement(Text, { appearance: "destructive", size: "large", weight: "strong" @@ -9604,7 +9626,7 @@ var formatLabel = props.formatLabel; if (formatLabel) { - return /*#__PURE__*/React.createElement(Text, { + return /*#__PURE__*/React__namespace.createElement(Text, { size: "small", appearance: "subtle", className: "mt-4" @@ -9628,12 +9650,12 @@ _onChange = props.onChange; var baseProps = extractBaseProps(props); var FileUploaderButtonClass = classNames__default['default']((_a = {}, _a['FileUploaderButton'] = true, _a), className); - return /*#__PURE__*/React.createElement("div", __assign({}, baseProps, { + return /*#__PURE__*/React__namespace.createElement("div", __assign({}, baseProps, { className: FileUploaderButtonClass - }), /*#__PURE__*/React.createElement(Button, { + }), /*#__PURE__*/React__namespace.createElement(Button, { disabled: disabled, icon: "backup" - }, uploadButtonLabel), /*#__PURE__*/React.createElement("input", { + }, uploadButtonLabel), /*#__PURE__*/React__namespace.createElement("input", { name: name, id: id, accept: accept && accept.join(', '), @@ -9672,19 +9694,19 @@ onChange = props.onChange; var baseProps = extractBaseProps(props); var FileUploaderClass = classNames__default['default']((_a = {}, _a['FileUploader'] = true, _a), className); - return /*#__PURE__*/React.createElement("div", __assign({}, baseProps, { + return /*#__PURE__*/React__namespace.createElement("div", __assign({}, baseProps, { className: FileUploaderClass - }), /*#__PURE__*/React.createElement(Text, { + }), /*#__PURE__*/React__namespace.createElement(Text, { weight: "medium" - }, title), /*#__PURE__*/React.createElement(FileUploaderFormat, { + }, title), /*#__PURE__*/React__namespace.createElement(FileUploaderFormat, { formatLabel: formatLabel - }), /*#__PURE__*/React.createElement(Text, { + }), /*#__PURE__*/React__namespace.createElement(Text, { size: "small", appearance: "subtle", className: !formatLabel ? 'mt-4' : '' - }, sizeLabel), sampleFileLink && /*#__PURE__*/React.createElement("div", { + }, sizeLabel), sampleFileLink && /*#__PURE__*/React__namespace.createElement("div", { className: "mt-4" - }, sampleFileLink), /*#__PURE__*/React.createElement(FileUploaderButton, { + }, sampleFileLink), /*#__PURE__*/React__namespace.createElement(FileUploaderButton, { id: id, name: name, accept: accept, @@ -9708,14 +9730,14 @@ switch (status) { case 'uploading': - return /*#__PURE__*/React.createElement(ProgressRing, { + return /*#__PURE__*/React__namespace.createElement(ProgressRing, { size: "small", value: progress, className: "mr-4" }); case 'error': - return /*#__PURE__*/React.createElement(Icon, { + return /*#__PURE__*/React__namespace.createElement(Icon, { name: "refresh", size: 20, onClick: onRetry, @@ -9747,19 +9769,19 @@ var name = file.name; var baseProps = extractBaseProps(props); var FileItemClass = classNames__default['default']((_a = {}, _a['FileUploaderItem'] = true, _a), className); - return /*#__PURE__*/React.createElement("div", __assign({}, baseProps, { + return /*#__PURE__*/React__namespace.createElement("div", __assign({}, baseProps, { className: FileItemClass, onClick: function onClick() { return _onClick && _onClick(file, id); } - }), /*#__PURE__*/React.createElement("div", { + }), /*#__PURE__*/React__namespace.createElement("div", { className: "FileUploaderItem-file" - }, /*#__PURE__*/React.createElement(Text, { + }, /*#__PURE__*/React__namespace.createElement(Text, { className: "FileUploaderItem-text", appearance: status === 'completed' ? 'default' : 'subtle' - }, name), /*#__PURE__*/React.createElement("div", { + }, name), /*#__PURE__*/React__namespace.createElement("div", { className: "d-flex align-items-center" - }, /*#__PURE__*/React.createElement(FileUploaderStatus, { + }, /*#__PURE__*/React__namespace.createElement(FileUploaderStatus, { file: file, id: id, status: status, @@ -9767,14 +9789,14 @@ onRetry: function onRetry() { return _onRetry && _onRetry(file, id); } - }), /*#__PURE__*/React.createElement(Icon, { + }), /*#__PURE__*/React__namespace.createElement(Icon, { name: "close", size: 20, onClick: function onClick() { return onDelete && onDelete(file, id); }, className: "py-2 px-2 my-3 mx-3 cursor-pointer" - }))), status === 'error' && /*#__PURE__*/React.createElement(Caption, { + }))), status === 'error' && /*#__PURE__*/React__namespace.createElement(Caption, { error: true }, errorMessage)); }; @@ -9796,10 +9818,10 @@ var baseProps = extractBaseProps(props); var FileListClass = classNames__default['default']((_a = {}, _a['FileUploaderList'] = true, _a), className); if (fileList.length === 0) return null; - return /*#__PURE__*/React.createElement("div", __assign({}, baseProps, { + return /*#__PURE__*/React__namespace.createElement("div", __assign({}, baseProps, { className: FileListClass }), fileList.map(function (fileName, i) { - return /*#__PURE__*/React.createElement(FileUploaderItem, __assign({ + return /*#__PURE__*/React__namespace.createElement(FileUploaderItem, __assign({ key: i, onDelete: onDelete, onRetry: onRetry, @@ -10091,7 +10113,7 @@ return l.name === name; }); var sorted = listIndex !== -1 ? sortingList[listIndex].type : null; - var el = /*#__PURE__*/React.createRef(); + var el = /*#__PURE__*/React__namespace.createRef(); var sortOptions = [{ label: 'Sort Ascending', value: 'sortAsc', @@ -10146,25 +10168,25 @@ }) : []; var renderLabel = function renderLabel() { - return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Text, { + return /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, /*#__PURE__*/React__namespace.createElement(Text, { weight: "strong", className: "ellipsis--noWrap" - }, schema.displayName), sorting && /*#__PURE__*/React.createElement("div", { + }, schema.displayName), sorting && /*#__PURE__*/React__namespace.createElement("div", { className: "Grid-sortingIcons" - }, sorted ? sorted === 'asc' ? /*#__PURE__*/React.createElement(Icon, { + }, sorted ? sorted === 'asc' ? /*#__PURE__*/React__namespace.createElement(Icon, { name: "arrow_downward" - }) : /*#__PURE__*/React.createElement(Icon, { + }) : /*#__PURE__*/React__namespace.createElement(Icon, { name: "arrow_upward" - }) : /*#__PURE__*/React.createElement(Icon, { + }) : /*#__PURE__*/React__namespace.createElement(Icon, { name: "unfold_more" }))); }; - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { key: name, className: classes, ref: el - }, /*#__PURE__*/React.createElement("div", { + }, /*#__PURE__*/React__namespace.createElement("div", { className: "Grid-cellContent", onClick: function onClick() { if (!loading && sorting) { @@ -10173,21 +10195,21 @@ if (!sorted) _this.onMenuChange(name, 'sortAsc'); } } - }, loading && !init ? /*#__PURE__*/React.createElement(Placeholder, { + }, loading && !init ? /*#__PURE__*/React__namespace.createElement(Placeholder, { withImage: false - }, /*#__PURE__*/React.createElement(PlaceholderParagraph, { + }, /*#__PURE__*/React__namespace.createElement(PlaceholderParagraph, { length: "medium" - })) : /*#__PURE__*/React.createElement(React.Fragment, null, headCellTooltip ? /*#__PURE__*/React.createElement(Tooltip, { + })) : /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, headCellTooltip ? /*#__PURE__*/React__namespace.createElement(Tooltip, { position: "top-start", triggerClass: "w-100 overflow-hidden", tooltip: schema.displayName - }, renderLabel()) : renderLabel())), showFilters && filters && /*#__PURE__*/React.createElement(React.Fragment, null, loading && !init ? /*#__PURE__*/React.createElement("span", null, /*#__PURE__*/React.createElement(Placeholder, null)) : /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Dropdown, { + }, renderLabel()) : renderLabel())), showFilters && filters && /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, loading && !init ? /*#__PURE__*/React__namespace.createElement("span", null, /*#__PURE__*/React__namespace.createElement(Placeholder, null)) : /*#__PURE__*/React__namespace.createElement("div", null, /*#__PURE__*/React__namespace.createElement(Dropdown, { menu: true, showApplyButton: true, withCheckbox: true, triggerOptions: { customTrigger: function customTrigger() { - return /*#__PURE__*/React.createElement(Button, { + return /*#__PURE__*/React__namespace.createElement(Button, { icon: "filter_list", appearance: "transparent" }); @@ -10199,15 +10221,15 @@ return _this.onFilterChange(name, selected); }, minWidth: 176 - }))), showMenu && /*#__PURE__*/React.createElement(React.Fragment, null, loading && !init ? /*#__PURE__*/React.createElement("span", { + }))), showMenu && /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, loading && !init ? /*#__PURE__*/React__namespace.createElement("span", { className: "ml-4" - }, /*#__PURE__*/React.createElement(Placeholder, null)) : /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Dropdown, { + }, /*#__PURE__*/React__namespace.createElement(Placeholder, null)) : /*#__PURE__*/React__namespace.createElement("div", null, /*#__PURE__*/React__namespace.createElement(Dropdown, { key: name + "-" + sorted + "-" + pinned, menu: true, optionType: "WITH_ICON", triggerOptions: { customTrigger: function customTrigger() { - return /*#__PURE__*/React.createElement(Button, { + return /*#__PURE__*/React__namespace.createElement(Button, { icon: "more_vert_filled", appearance: "transparent" }); @@ -10219,7 +10241,7 @@ return _this.onMenuChange(name, selected); }, minWidth: 176 - }))), schema.resizable && /*#__PURE__*/React.createElement("span", { + }))), schema.resizable && /*#__PURE__*/React__namespace.createElement("span", { className: "Grid-cellResize", onMouseDown: function onMouseDown() { resizeCol(_this, name, el.current); @@ -10255,9 +10277,9 @@ rowIndex: rowIndex }; var isNestedRowDisabled = !GridNestedRow(nestedProps); - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { className: "Grid-cellContent" - }, colIndex === 0 && nestedRows && /*#__PURE__*/React.createElement(React.Fragment, null, !isNestedRowDisabled ? /*#__PURE__*/React.createElement(Icon, { + }, colIndex === 0 && nestedRows && /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, !isNestedRowDisabled ? /*#__PURE__*/React__namespace.createElement(Icon, { className: 'Grid-nestedRowTrigger', name: expanded ? 'keyboard_arrow_up' : 'keyboard_arrow_down', size: 20, @@ -10268,9 +10290,9 @@ setExpanded(!expanded); } } - }) : /*#__PURE__*/React.createElement("span", { + }) : /*#__PURE__*/React__namespace.createElement("span", { className: "Grid-nestedRowPlaceholder" - })), schema.cellRenderer ? schema.cellRenderer(cellProps) : /*#__PURE__*/React.createElement(GridCell, __assign({ + })), schema.cellRenderer ? schema.cellRenderer(cellProps) : /*#__PURE__*/React__namespace.createElement(GridCell, __assign({ key: rowIndex + "-" + colIndex }, cellProps))); }; @@ -10310,7 +10332,7 @@ 'Grid-cell--nestedRow': !head && colIndex === 0 && nestedRows }); if (hidden) return null; - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { key: rowIndex + "-" + colIndex, className: cellClass, draggable: head && draggable, @@ -10342,12 +10364,12 @@ minWidth: getWidth.call(_this, schema.minWidth || minWidth), maxWidth: getWidth.call(_this, schema.maxWidth || maxWidth) } - }, head ? /*#__PURE__*/React.createElement(HeaderCell, { + }, head ? /*#__PURE__*/React__namespace.createElement(HeaderCell, { _this: _this, draggable: draggable, colIndex: colIndex, schema: schema - }) : /*#__PURE__*/React.createElement(BodyCell, { + }) : /*#__PURE__*/React__namespace.createElement(BodyCell, { _this: _this, rowIndex: rowIndex, colIndex: colIndex, @@ -10381,9 +10403,9 @@ var renderCheckbox = function renderCheckbox(show) { if (!show || !withCheckbox) return null; - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { className: "Grid-cell Grid-cell--head Grid-cell--checkbox" - }, loading ? /*#__PURE__*/React.createElement(Placeholder, null) : /*#__PURE__*/React.createElement(Checkbox, __assign({}, selectAll, { + }, loading ? /*#__PURE__*/React__namespace.createElement(Placeholder, null) : /*#__PURE__*/React__namespace.createElement(Checkbox, __assign({}, selectAll, { onChange: _this.onSelectAll }))); }; @@ -10396,12 +10418,12 @@ 'Grid-cellGroup': true, 'Grid-cellGroup--pinned': pinned }, _a["Grid-cellGroup--pinned-" + pinned] = pinned, _a['Grid-cellGroup--main'] = !pinned, _a)); - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { className: classes }, renderCheckbox(shouldRenderCheckbox), currSchema.map(function (s, index) { var cI = pinned === 'left' ? index : leftPinnedSchema.length + index; if (pinned === 'right') cI += unpinnedSchema.length; - return /*#__PURE__*/React.createElement(Cell, { + return /*#__PURE__*/React__namespace.createElement(Cell, { key: "" + cI, _this: _this, head: true, @@ -10416,9 +10438,9 @@ return null; }; - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { className: "Grid-head" - }, /*#__PURE__*/React.createElement("div", { + }, /*#__PURE__*/React__namespace.createElement("div", { className: "Grid-row Grid-row--head" }, renderSchema(leftPinnedSchema, !!leftPinnedSchema.length, 'left'), renderSchema(unpinnedSchema, !leftPinnedSchema.length && !!unpinnedSchema.length), renderSchema(rightPinnedSchema, false, 'right'))); }; @@ -10429,9 +10451,9 @@ data = props.data, withCheckbox = props.withCheckbox, rI = props.rowIndex; - var rowRef = React.useRef(null); + var rowRef = React__namespace.useRef(null); - var _a = React.useState(false), + var _a = React__namespace.useState(false), expanded = _a[0], setExpanded = _a[1]; @@ -10469,12 +10491,12 @@ var renderCheckbox = function renderCheckbox(show) { if (!show || !withCheckbox) return null; - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { className: "Grid-cell Grid-cell--body Grid-cell--checkbox", onClick: function onClick(e) { return e.stopPropagation(); } - }, loading ? /*#__PURE__*/React.createElement(Placeholder, null) : /*#__PURE__*/React.createElement(Checkbox, { + }, loading ? /*#__PURE__*/React__namespace.createElement(Placeholder, null) : /*#__PURE__*/React__namespace.createElement(Checkbox, { checked: !!data._selected, onChange: function onChange(event) { _this.onSelect(rI, event.target.checked); @@ -10490,12 +10512,12 @@ 'Grid-cellGroup': true, 'Grid-cellGroup--pinned': pinned }, _a["Grid-cellGroup--pinned-" + pinned] = pinned, _a['Grid-cellGroup--main'] = !pinned, _a)); - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { className: classes }, renderCheckbox(shouldRenderCheckbox), currSchema.map(function (s, index) { var cI = pinned === 'left' ? index : leftPinnedSchema.length + index; if (pinned === 'right') cI += unpinnedSchema.length; - return /*#__PURE__*/React.createElement(Cell, { + return /*#__PURE__*/React__namespace.createElement(Cell, { key: rI + "-" + cI, _this: _this, rowIndex: rI, @@ -10511,17 +10533,17 @@ return null; }; - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { className: "Grid-rowWrapper" - }, /*#__PURE__*/React.createElement("div", { + }, /*#__PURE__*/React__namespace.createElement("div", { className: rowClasses, onClick: onClickHandler, ref: rowRef - }, renderSchema(leftPinnedSchema, !!leftPinnedSchema.length, 'left'), renderSchema(unpinnedSchema, !leftPinnedSchema.length && !!unpinnedSchema.length), renderSchema(rightPinnedSchema, false, 'right')), nestedRows && expanded && /*#__PURE__*/React.createElement("div", { + }, renderSchema(leftPinnedSchema, !!leftPinnedSchema.length, 'left'), renderSchema(unpinnedSchema, !leftPinnedSchema.length && !!unpinnedSchema.length), renderSchema(rightPinnedSchema, false, 'right')), nestedRows && expanded && /*#__PURE__*/React__namespace.createElement("div", { style: { width: rowRef.current ? rowRef.current.clientWidth : 0 } - }, /*#__PURE__*/React.createElement(GridNestedRow, { + }, /*#__PURE__*/React__namespace.createElement(GridNestedRow, { _this: _this, data: data, rowIndex: rI @@ -10559,15 +10581,15 @@ }) : data.slice(offset, offset + buffer); var topPadding = Math.max(0, offset * avgRowHeight); var bottomPadding = Math.max(0, ((withPagination ? dummyRows : data.length) - inView - offset - 1) * avgRowHeight); - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { className: "Grid-body" - }, !loading && /*#__PURE__*/React.createElement("div", { + }, !loading && /*#__PURE__*/React__namespace.createElement("div", { className: "GridBody-padding", style: { height: topPadding } }), rows.map(function (d, rI) { - return /*#__PURE__*/React.createElement(GridRow, { + return /*#__PURE__*/React__namespace.createElement(GridRow, { key: offset + rI, _this: _this, rowIndex: offset + rI, @@ -10575,7 +10597,7 @@ schema: schema, withCheckbox: withCheckbox }); - }), !loading && /*#__PURE__*/React.createElement("div", { + }), !loading && /*#__PURE__*/React__namespace.createElement("div", { className: "GridBody-padding", style: { height: bottomPadding @@ -10615,11 +10637,11 @@ inView: 20 }; - var _c = React.useState(initialState), + var _c = React__namespace.useState(initialState), state = _c[0], setState = _c[1]; - React.useEffect(function () { + React__namespace.useEffect(function () { if (init) { setState({ offset: offset, @@ -10628,7 +10650,7 @@ }); } }, [init]); - React.useEffect(function () { + React__namespace.useEffect(function () { setState(initialState); var el = _this.gridRef.querySelector('.Grid'); @@ -10700,16 +10722,16 @@ } }; - return /*#__PURE__*/React.createElement("div", __assign({}, baseProps, { + return /*#__PURE__*/React__namespace.createElement("div", __assign({}, baseProps, { className: classes, onScroll: onScrollHandler - }), showHead && /*#__PURE__*/React.createElement(GridHead, { + }), showHead && /*#__PURE__*/React__namespace.createElement(GridHead, { key: 'GridHead', _this: _this, schema: schema, draggable: draggable, withCheckbox: withCheckbox - }), /*#__PURE__*/React.createElement(GridBody, { + }), /*#__PURE__*/React__namespace.createElement(GridBody, { key: 'GridBody', _this: _this, schema: schema, @@ -10848,7 +10870,7 @@ var baseProps = extractBaseProps(this.props); var schema = getSchema(this); - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { className: "Grid-wrapper", ref: function ref(el) { _this_1.gridRef = el; @@ -10859,7 +10881,7 @@ }); } } - }, /*#__PURE__*/React.createElement(MainGrid, __assign({}, baseProps, { + }, /*#__PURE__*/React__namespace.createElement(MainGrid, __assign({}, baseProps, { _this: this, schema: schema }))); @@ -10881,7 +10903,7 @@ showFilters: true }; return Grid; - }(React.Component); + }(React__namespace.Component); var renderTitle = function renderTitle(props) { var tooltip = props.tooltip, @@ -10890,16 +10912,16 @@ if (children !== undefined && children !== null) { if (tooltip) { - return /*#__PURE__*/React.createElement(Tooltip, { + return /*#__PURE__*/React__namespace.createElement(Tooltip, { tooltip: children, position: 'top-start', triggerClass: "w-100 overflow-hidden" - }, /*#__PURE__*/React.createElement(Text, { + }, /*#__PURE__*/React__namespace.createElement(Text, { className: "w-100 ellipsis" }, children)); } - return /*#__PURE__*/React.createElement(Text, { + return /*#__PURE__*/React__namespace.createElement(Text, { className: "w-100 ellipsis" }, children); } @@ -10912,10 +10934,10 @@ var metaList = cellData.metaList; if (metaList) { - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { className: "GridCell-metaList" }, metaList.map(function (list, index) { - return /*#__PURE__*/React.createElement(Text, { + return /*#__PURE__*/React__namespace.createElement(Text, { key: index, className: "ellipsis", appearance: 'subtle', @@ -10934,7 +10956,7 @@ title = cellData.title; if (firstName || lastName) { - return /*#__PURE__*/React.createElement(Avatar, { + return /*#__PURE__*/React__namespace.createElement(Avatar, { className: "mr-5", firstName: firstName, lastName: lastName @@ -10942,7 +10964,7 @@ } if (title) { - return /*#__PURE__*/React.createElement(Avatar, { + return /*#__PURE__*/React__namespace.createElement(Avatar, { className: "mr-5" }, title); } @@ -10955,7 +10977,7 @@ var icon = cellData.icon; if (icon) { - return /*#__PURE__*/React.createElement(Icon, { + return /*#__PURE__*/React__namespace.createElement(Icon, { name: icon }); } @@ -10969,7 +10991,7 @@ var children = cellData.title; if (children) { - return /*#__PURE__*/React.createElement(StatusHint, { + return /*#__PURE__*/React__namespace.createElement(StatusHint, { appearance: statusAppearance }, children); } @@ -10995,9 +11017,9 @@ switch (cellType) { case 'DEFAULT': - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { className: cellClass + " GridCell--align-" + align + " GridCell--default" - }, loading ? /*#__PURE__*/React.createElement(PlaceholderParagraph, { + }, loading ? /*#__PURE__*/React__namespace.createElement(PlaceholderParagraph, { length: "medium" }) : renderTitle({ tooltip: tooltip, @@ -11005,14 +11027,14 @@ })); case 'WITH_META_LIST': - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { className: cellClass + " GridCell--metaList" - }, loading ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(PlaceholderParagraph, { + }, loading ? /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, /*#__PURE__*/React__namespace.createElement(PlaceholderParagraph, { length: "medium" - }), /*#__PURE__*/React.createElement(PlaceholderParagraph, { + }), /*#__PURE__*/React__namespace.createElement(PlaceholderParagraph, { length: "large", size: "xxs" - })) : /*#__PURE__*/React.createElement(React.Fragment, null, renderTitle({ + })) : /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, renderTitle({ tooltip: tooltip, cellData: cellData }), renderMetaList({ @@ -11021,14 +11043,14 @@ case 'AVATAR': if (loading) { - return /*#__PURE__*/React.createElement(Placeholder, { + return /*#__PURE__*/React__namespace.createElement(Placeholder, { className: "GridCell--align-" + align, imageSize: 'medium', round: true }); } - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { className: cellClass + " GridCell--align-" + align + " GridCell--avatar" }, size !== 'tight' && renderAvatar({ cellData: cellData @@ -11036,16 +11058,16 @@ case 'AVATAR_WITH_TEXT': if (loading) { - return /*#__PURE__*/React.createElement(Placeholder, { + return /*#__PURE__*/React__namespace.createElement(Placeholder, { imageSize: 'medium', round: true - }, /*#__PURE__*/React.createElement(PlaceholderParagraph, { + }, /*#__PURE__*/React__namespace.createElement(PlaceholderParagraph, { className: "ml-3", length: "medium" })); } - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { className: cellClass + " GridCell--avatarWithText" }, size !== 'tight' && renderAvatar({ cellData: cellData @@ -11056,23 +11078,23 @@ case 'AVATAR_WITH_META_LIST': if (loading) { - return /*#__PURE__*/React.createElement(Placeholder, { + return /*#__PURE__*/React__namespace.createElement(Placeholder, { imageSize: 'medium', round: true - }, /*#__PURE__*/React.createElement(PlaceholderParagraph, { + }, /*#__PURE__*/React__namespace.createElement(PlaceholderParagraph, { className: "ml-3", length: "medium" - }), /*#__PURE__*/React.createElement(PlaceholderParagraph, { + }), /*#__PURE__*/React__namespace.createElement(PlaceholderParagraph, { className: "ml-3", length: "large" })); } - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { className: cellClass + " GridCell--avatarWithText" }, size !== 'tight' && renderAvatar({ cellData: cellData - }), /*#__PURE__*/React.createElement("div", { + }), /*#__PURE__*/React__namespace.createElement("div", { className: "GridCell-metaListWrapper" }, renderTitle({ tooltip: tooltip, @@ -11083,27 +11105,27 @@ case 'ICON': if (loading) { - return /*#__PURE__*/React.createElement(Placeholder, { + return /*#__PURE__*/React__namespace.createElement(Placeholder, { className: "GridCell--align-" + align, imageSize: 'small', round: true }); } - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { className: cellClass + " GridCell--align-" + align + " GridCell--icon" }, renderIcon({ cellData: cellData })); case 'STATUS_HINT': - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { className: cellClass + " GridCell--align-" + align + " GridCell--statusHint" - }, loading ? /*#__PURE__*/React.createElement(Placeholder, { + }, loading ? /*#__PURE__*/React__namespace.createElement(Placeholder, { className: "w-75 flex-grow-0", imageSize: 'small', round: true - }, /*#__PURE__*/React.createElement(PlaceholderParagraph, { + }, /*#__PURE__*/React__namespace.createElement(PlaceholderParagraph, { length: "large" })) : renderStatusHint({ cellData: cellData @@ -11118,19 +11140,19 @@ var options = props.options, onChange = props.onChange; - var _a = React.useState(false), + var _a = React__namespace.useState(false), open = _a[0], setOpen = _a[1]; - var _b = React.useState(options), + var _b = React__namespace.useState(options), tempOptions = _b[0], setTempOptions = _b[1]; - var _c = React.useState('var(--spacing-8)'), + var _c = React__namespace.useState('var(--spacing-8)'), triggerWidth = _c[0], setTriggerWidth = _c[1]; - React.useEffect(function () { + React__namespace.useEffect(function () { setTempOptions(options); }, [open]); @@ -11164,12 +11186,12 @@ if (onChange) onChange(tempOptions); }; - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { className: "Dropdown" - }, /*#__PURE__*/React.createElement(Popover, { + }, /*#__PURE__*/React__namespace.createElement(Popover, { open: open, onToggle: onToggleHandler, - trigger: /*#__PURE__*/React.createElement(Button, { + trigger: /*#__PURE__*/React__namespace.createElement(Button, { ref: function ref(el) { setTriggerWidth((el === null || el === void 0 ? void 0 : el.clientWidth) + "px"); }, @@ -11185,11 +11207,11 @@ width: triggerWidth }, className: "Header-draggableDropdown" - }, /*#__PURE__*/React.createElement("div", { + }, /*#__PURE__*/React__namespace.createElement("div", { className: "Dropdown-wrapper" - }, /*#__PURE__*/React.createElement("div", { + }, /*#__PURE__*/React__namespace.createElement("div", { className: "OptionWrapper" - }, /*#__PURE__*/React.createElement(Checkbox, { + }, /*#__PURE__*/React__namespace.createElement(Checkbox, { className: "OptionCheckbox", label: "Select All", checked: tempOptions.every(function (option) { @@ -11202,7 +11224,7 @@ }), onChange: handleParentChange })), tempOptions.map(function (option, index) { - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { key: option.value, className: "OptionWrapper d-flex flex-space-between align-items-center cursor-pointer", draggable: true, @@ -11217,7 +11239,7 @@ var to = index; if (from !== to) setTempOptions(moveToIndex(tempOptions, from, to)); } - }, /*#__PURE__*/React.createElement(Checkbox, { + }, /*#__PURE__*/React__namespace.createElement(Checkbox, { className: "OptionCheckbox", name: option.value, label: option.label, @@ -11225,17 +11247,17 @@ onChange: function onChange(e) { return handleChildChange(e, index); } - }), /*#__PURE__*/React.createElement(Icon, { + }), /*#__PURE__*/React__namespace.createElement(Icon, { name: "drag_handle", className: "mr-4" })); - })), /*#__PURE__*/React.createElement("div", { + })), /*#__PURE__*/React__namespace.createElement("div", { className: "Dropdown-buttonWrapper" - }, /*#__PURE__*/React.createElement(Button, { + }, /*#__PURE__*/React__namespace.createElement(Button, { className: "mr-4", size: "tiny", onClick: onCancelHandler - }, "Cancel"), /*#__PURE__*/React.createElement(Button, { + }, "Cancel"), /*#__PURE__*/React__namespace.createElement(Button, { appearance: "primary", size: "tiny", onClick: onApplyHandler @@ -11267,23 +11289,23 @@ allowSelectAll = props.allowSelectAll, showFilters = props.showFilters; - var _c = React.useState(false), + var _c = React__namespace.useState(false), selectAllRecords = _c[0], setSelectAllRecords = _c[1]; - var _d = React.useState(true), + var _d = React__namespace.useState(true), flag = _d[0], setFlag = _d[1]; - React.useEffect(function () { + React__namespace.useEffect(function () { setFlag(!flag); }, [schema]); - React.useEffect(function () { + React__namespace.useEffect(function () { if (selectAll && selectAll.checked) { if (onSelectAll) onSelectAll(true, selectAllRecords); } }, [selectAllRecords]); - React.useEffect(function () { + React__namespace.useEffect(function () { if (selectAll && !selectAll.checked) setSelectAllRecords(false); }, [selectAll]); var filterSchema = schema.filter(function (s) { @@ -11331,13 +11353,13 @@ return d._selected; }).length; var label = withCheckbox && selectedCount ? selectAllRecords ? "Selected all " + totalRecords + " items" : "Selected " + selectedCount + " items on this page" : "Showing " + (!error ? totalRecords : 0) + " items"; - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { className: "Header" - }, /*#__PURE__*/React.createElement("div", { + }, /*#__PURE__*/React__namespace.createElement("div", { className: "Header-content Header-content--top" - }, withSearch && /*#__PURE__*/React.createElement("div", { + }, withSearch && /*#__PURE__*/React__namespace.createElement("div", { className: "Header-search" - }, /*#__PURE__*/React.createElement(Input, { + }, /*#__PURE__*/React__namespace.createElement(Input, { name: "GridHeader-search", icon: "search", placeholder: searchPlaceholder, @@ -11347,9 +11369,9 @@ return updateSearchTerm && updateSearchTerm(''); }, disabled: loading && !getInit(schema) - })), showFilters && filterSchema.length > 0 && /*#__PURE__*/React.createElement("div", { + })), showFilters && filterSchema.length > 0 && /*#__PURE__*/React__namespace.createElement("div", { className: "Header-dropdown" - }, /*#__PURE__*/React.createElement("div", { + }, /*#__PURE__*/React__namespace.createElement("div", { className: "Header-filters" }, filterSchema.map(function (s) { var name = s.name, @@ -11362,7 +11384,7 @@ }) !== -1 }); }) : []; - return /*#__PURE__*/React.createElement(Dropdown, { + return /*#__PURE__*/React__namespace.createElement(Dropdown, { key: name, withCheckbox: true, showApplyButton: true, @@ -11373,36 +11395,36 @@ return onFilterChange(name, selected); } }); - }))), children && /*#__PURE__*/React.createElement("div", { + }))), children && /*#__PURE__*/React__namespace.createElement("div", { className: "Header-actions" - }, children)), /*#__PURE__*/React.createElement("div", { + }, children)), /*#__PURE__*/React__namespace.createElement("div", { className: "Header-content Header-content--bottom" - }, /*#__PURE__*/React.createElement("div", { + }, /*#__PURE__*/React__namespace.createElement("div", { className: "Header-label" - }, !showHead && withCheckbox && !loading && /*#__PURE__*/React.createElement(Checkbox, __assign({}, selectAll, { + }, !showHead && withCheckbox && !loading && /*#__PURE__*/React__namespace.createElement(Checkbox, __assign({}, selectAll, { onChange: function onChange(event) { if (onSelectAll) onSelectAll(event.target.checked); } - })), loading ? /*#__PURE__*/React.createElement(Placeholder, { + })), loading ? /*#__PURE__*/React__namespace.createElement(Placeholder, { withImage: !showHead && withCheckbox - }, /*#__PURE__*/React.createElement(PlaceholderParagraph, { + }, /*#__PURE__*/React__namespace.createElement(PlaceholderParagraph, { length: 'small', size: 's' - })) : /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Label, null, label), withPagination && (selectAll === null || selectAll === void 0 ? void 0 : selectAll.checked) && allowSelectAll && /*#__PURE__*/React.createElement("div", { + })) : /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, /*#__PURE__*/React__namespace.createElement(Label, null, label), withPagination && (selectAll === null || selectAll === void 0 ? void 0 : selectAll.checked) && allowSelectAll && /*#__PURE__*/React__namespace.createElement("div", { className: "ml-4" - }, !selectAllRecords ? /*#__PURE__*/React.createElement(Button, { + }, !selectAllRecords ? /*#__PURE__*/React__namespace.createElement(Button, { size: "tiny", onClick: function onClick() { return setSelectAllRecords(true); } - }, "Select all " + totalRecords + " items") : /*#__PURE__*/React.createElement(Button, { + }, "Select all " + totalRecords + " items") : /*#__PURE__*/React__namespace.createElement(Button, { size: "tiny", onClick: function onClick() { return setSelectAllRecords(false); } - }, "Clear Selection")))), dynamicColumn && /*#__PURE__*/React.createElement("div", { + }, "Clear Selection")))), dynamicColumn && /*#__PURE__*/React__namespace.createElement("div", { className: "Header-hideColumns" - }, /*#__PURE__*/React.createElement(DraggableDropdown, { + }, /*#__PURE__*/React__namespace.createElement(DraggableDropdown, { options: columnOptions, onChange: onDynamicColumnUpdate })))); @@ -11423,7 +11445,7 @@ NO_RECORDS_FOUND: 'No results found', DEFAULT: 'No results found' }; - return /*#__PURE__*/React.createElement(Heading, null, errorMessages[errorType]); + return /*#__PURE__*/React__namespace.createElement(Heading, null, errorMessages[errorType]); }; var defaultProps = { @@ -11724,11 +11746,11 @@ var classes = className ? " " + className : ''; var totalRecords = this.state.totalRecords; var totalPages = getTotalPages(totalRecords, pageSize); - return /*#__PURE__*/React.createElement("div", __assign({}, baseProps, { + return /*#__PURE__*/React__namespace.createElement("div", __assign({}, baseProps, { className: "Table" + classes - }), withHeader && /*#__PURE__*/React.createElement("div", { + }), withHeader && /*#__PURE__*/React__namespace.createElement("div", { className: "Table-header" - }, /*#__PURE__*/React.createElement(Header, __assign({}, this.state, { + }, /*#__PURE__*/React__namespace.createElement(Header, __assign({}, this.state, { updateSchema: this.updateSchema, updateFilterList: this.updateFilterList, updateSearchTerm: this.updateSearchTerm, @@ -11737,9 +11759,9 @@ withCheckbox: withCheckbox, withPagination: withPagination, showFilters: filterPosition === 'HEADER' - }, headerAttr), headerChildren)), /*#__PURE__*/React.createElement("div", { + }, headerAttr), headerChildren)), /*#__PURE__*/React__namespace.createElement("div", { className: "Table-grid" - }, /*#__PURE__*/React.createElement(Grid, __assign({}, this.state, { + }, /*#__PURE__*/React__namespace.createElement(Grid, __assign({}, this.state, { updateData: this.updateData, updateSchema: this.updateSchema, updateSortingList: this.updateSortingList, @@ -11764,9 +11786,9 @@ }), onRowClick: onRowClick, showFilters: filterPosition === 'GRID' - }))), withPagination && !this.state.loading && !this.state.error && totalPages > 1 && /*#__PURE__*/React.createElement("div", { + }))), withPagination && !this.state.loading && !this.state.error && totalPages > 1 && /*#__PURE__*/React__namespace.createElement("div", { className: "Table-pagination" - }, /*#__PURE__*/React.createElement(Pagination, { + }, /*#__PURE__*/React__namespace.createElement(Pagination, { page: this.state.page, totalPages: getTotalPages(totalRecords, pageSize), type: paginationType, @@ -11776,17 +11798,17 @@ Table.defaultProps = defaultProps; return Table; - }(React.Component); + }(React__namespace.Component); var List = function List(props) { - return /*#__PURE__*/React.createElement(Table, __assign({}, props, { + return /*#__PURE__*/React__namespace.createElement(Table, __assign({}, props, { showHead: false, filterPosition: 'HEADER' })); }; List.defaultProps = defaultProps; - var useState$1 = React.useState; + var useState$1 = React__namespace.useState; var Navigation = function Navigation(props) { var _a; @@ -11807,7 +11829,7 @@ menuState = _b[0], setMenuState = _b[1]; - React.useEffect(function () { + React__namespace.useEffect(function () { if (props.active) { var currMenu = getMenu(props.active); if (currMenu) updateMenuState(currMenu, true); @@ -11899,17 +11921,17 @@ var menuClasses = classNames__default['default']((_a = { 'Navigation-menu': true }, _a["Navigation-menu--" + type] = type, _a['Navigation-menu--active'] = isMenuActive, _a)); - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { key: index, className: menuClasses, onClick: function onClick() { return onClickHandler(menu); } - }, menu.icon && /*#__PURE__*/React.createElement(Icon, { + }, menu.icon && /*#__PURE__*/React__namespace.createElement(Icon, { className: "mr-3", name: menu.icon, appearance: getIconAppearance(isMenuActive, menu.disabled) - }), /*#__PURE__*/React.createElement(Text, { + }), /*#__PURE__*/React__namespace.createElement(Text, { appearance: getTextAppearance(isMenuActive, menu.disabled) }, menu.label)); }); @@ -11931,39 +11953,39 @@ 'Navigation-menuIcon': true, 'Navigation-menuIcon--active': activeMenuIcon }); - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { key: index - }, /*#__PURE__*/React.createElement("div", { + }, /*#__PURE__*/React__namespace.createElement("div", { className: menuClasses, onClick: function onClick() { return onClickHandler(menu); } - }, menu.icon && /*#__PURE__*/React.createElement(Icon, { + }, menu.icon && /*#__PURE__*/React__namespace.createElement(Icon, { className: menuIconClasses, name: menu.icon, appearance: getIconAppearance(activeMenuIcon, menu.disabled) - }), expanded && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("span", { + }), expanded && /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, /*#__PURE__*/React__namespace.createElement("span", { className: "Navigation-menuLabel" - }, /*#__PURE__*/React.createElement(Text, { + }, /*#__PURE__*/React__namespace.createElement(Text, { appearance: getTextAppearance(activeMenu, menu.disabled) - }, menu.label)), menu.subMenu && menu.subMenu.length > 0 && /*#__PURE__*/React.createElement(Icon, { + }, menu.label)), menu.subMenu && menu.subMenu.length > 0 && /*#__PURE__*/React__namespace.createElement(Icon, { className: "mx-4", name: menuState[menu.name] ? 'keyboard_arrow_up' : 'keyboard_arrow_down', appearance: "subtle" - }))), /*#__PURE__*/React.createElement("div", { + }))), /*#__PURE__*/React__namespace.createElement("div", { className: "Navigation-subMenu" }, menuState[menu.name] && menu.subMenu && expanded && menu.subMenu.map(function (subMenu, ind) { var _a; var isMenuActive = isActive(subMenu); var subMenuClasses = classNames__default['default'](menuClasses, (_a = {}, _a['Navigation-menu--subMenu'] = type, _a['Navigation-menu--active'] = isMenuActive, _a)); - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { key: ind, className: subMenuClasses, onClick: function onClick() { return onClickHandler(subMenu); } - }, /*#__PURE__*/React.createElement(Text, { + }, /*#__PURE__*/React__namespace.createElement(Text, { appearance: getTextAppearance(isMenuActive, subMenu.disabled) }, subMenu.label)); }))); @@ -11971,11 +11993,11 @@ var footerClasses = classNames__default['default']((_a = { 'Navigation-footer': true }, _a['Navigation-footer--border'] = true, _a)); - return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, /*#__PURE__*/React__namespace.createElement("div", { className: "Navigation-body" - }, list), footer && /*#__PURE__*/React.createElement("div", { + }, list), footer && /*#__PURE__*/React__namespace.createElement("div", { className: footerClasses - }, /*#__PURE__*/React.createElement(Icon, { + }, /*#__PURE__*/React__namespace.createElement(Icon, { className: "Navigation-menuIcon Navigation-menuIcon--footer", name: "menu_open", size: 16, @@ -11986,7 +12008,7 @@ }; var classes = classNames__default['default']((_a = {}, _a['Navigation'] = true, _a["Navigation--" + type] = type, _a['justify-content-center'] = type === 'horizontal' && align === 'center', _a['justify-content-start'] = type === 'horizontal' && align === 'left', _a['Navigation--collapsed'] = !expanded, _a), className); - return /*#__PURE__*/React.createElement("div", __assign({}, baseProps, { + return /*#__PURE__*/React__namespace.createElement("div", __assign({}, baseProps, { className: classes }), type === 'horizontal' ? getHorizontalMenu(menus) : getVerticalMenu()); }; @@ -12025,41 +12047,41 @@ return navigation ? navigation : stepper; }; - return /*#__PURE__*/React.createElement("div", __assign({}, baseProps, { + return /*#__PURE__*/React__namespace.createElement("div", __assign({}, baseProps, { className: wrapperClasses - }), breadcrumbs, /*#__PURE__*/React.createElement("div", { + }), breadcrumbs, /*#__PURE__*/React__namespace.createElement("div", { className: classes - }, /*#__PURE__*/React.createElement(Row, null, /*#__PURE__*/React.createElement(Column, { + }, /*#__PURE__*/React__namespace.createElement(Row, null, /*#__PURE__*/React__namespace.createElement(Column, { size: "4", sizeXL: "4", sizeM: "4" - }, /*#__PURE__*/React.createElement("div", { + }, /*#__PURE__*/React__namespace.createElement("div", { className: "PageHeader-titleWrapper" - }, /*#__PURE__*/React.createElement(Heading, { + }, /*#__PURE__*/React__namespace.createElement(Heading, { className: "PageHeader-title" - }, title), badge)), /*#__PURE__*/React.createElement(Column, { + }, title), badge)), /*#__PURE__*/React__namespace.createElement(Column, { size: "4", sizeXL: "4", sizeM: "4" - }, /*#__PURE__*/React.createElement("div", { + }, /*#__PURE__*/React__namespace.createElement("div", { className: "PageHeader-navigationWrapper" - }, (!breadcrumbs || navigationPosition === 'center') && renderCenter())), /*#__PURE__*/React.createElement(Column, { + }, (!breadcrumbs || navigationPosition === 'center') && renderCenter())), /*#__PURE__*/React__namespace.createElement(Column, { size: "4", sizeXL: "4", sizeM: "4" - }, actions))), (status || meta) && /*#__PURE__*/React.createElement("div", { + }, actions))), (status || meta) && /*#__PURE__*/React__namespace.createElement("div", { className: "PageHeader-statusWrapper" - }, status, meta), breadcrumbs && navigationPosition === 'bottom' && /*#__PURE__*/React.createElement("div", { + }, status, meta), breadcrumbs && navigationPosition === 'bottom' && /*#__PURE__*/React__namespace.createElement("div", { className: "PageHeader-navigationWrapper" - }, renderCenter()), tabs && /*#__PURE__*/React.createElement("div", null, tabs)); + }, renderCenter()), tabs && /*#__PURE__*/React__namespace.createElement("div", null, tabs)); }; PageHeader.defaultProps = { navigationPosition: 'center', separator: true }; - var useEffect = React.useEffect, - useState = React.useState; + var useEffect = React__namespace.useEffect, + useState = React__namespace.useState; var IconMapping = { audio: 'audiotrack', image: 'image', @@ -12091,14 +12113,14 @@ }, [status]); if (status === 'uploading') { - return /*#__PURE__*/React.createElement(ProgressRing, { + return /*#__PURE__*/React__namespace.createElement(ProgressRing, { size: "small", value: progress || 0, className: uploadingIconClass }); } - return /*#__PURE__*/React.createElement(Icon, { + return /*#__PURE__*/React__namespace.createElement(Icon, { name: IconMapping[fileType], className: iconClass }); @@ -12131,26 +12153,26 @@ } }; - return /*#__PURE__*/React.createElement("div", __assign({}, baseProps, { + return /*#__PURE__*/React__namespace.createElement("div", __assign({}, baseProps, { className: FileItemClass, onClick: onClickHandler - }), /*#__PURE__*/React.createElement("div", { + }), /*#__PURE__*/React__namespace.createElement("div", { className: "FileItem-file" - }, /*#__PURE__*/React.createElement("div", { + }, /*#__PURE__*/React__namespace.createElement("div", { className: "FileItem-fileContent" - }, /*#__PURE__*/React.createElement(FileIcon, { + }, /*#__PURE__*/React__namespace.createElement(FileIcon, { file: file, status: status, progress: progress - }), /*#__PURE__*/React.createElement(Text, { + }), /*#__PURE__*/React__namespace.createElement(Text, { className: "FileItem-text", appearance: status === 'completed' ? 'default' : 'subtle' - }, name)), /*#__PURE__*/React.createElement("div", { + }, name)), /*#__PURE__*/React__namespace.createElement("div", { className: "FileItem-actions" - }, /*#__PURE__*/React.createElement(Text, { + }, /*#__PURE__*/React__namespace.createElement(Text, { className: "FileItem-size", appearance: 'subtle' - }, fileSize || file.size), !!actions && actions)), status === 'error' && /*#__PURE__*/React.createElement(Caption, { + }, fileSize || file.size), !!actions && actions)), status === 'error' && /*#__PURE__*/React__namespace.createElement(Caption, { className: 'FileItem-error', error: true }, errorMessage)); @@ -12168,11 +12190,11 @@ className = props.className; var baseProps = extractBaseProps(props); if (fileList.length === 0) return null; - return /*#__PURE__*/React.createElement(Card, __assign({}, baseProps, { + return /*#__PURE__*/React__namespace.createElement(Card, __assign({}, baseProps, { shadow: 'none', className: className }), fileList.map(function (fileItem, index) { - return /*#__PURE__*/React.createElement(FileListItem, __assign({ + return /*#__PURE__*/React__namespace.createElement(FileListItem, __assign({ key: index, onClick: onClick, actions: actionRenderer && actionRenderer(fileItem), @@ -12185,7 +12207,7 @@ }; FileList.displayName = 'FileList'; - var version = "1.7.1-0"; + var version = "1.7.1"; exports.Avatar = Avatar; exports.AvatarGroup = AvatarGroup; diff --git a/dist/index.js.map b/dist/index.js.map index f50bffb315..199e91312f 100644 --- a/dist/index.js.map +++ b/dist/index.js.map @@ -1 +1 @@ -{"version":3,"file":"index.js","sources":["../../../core/utils/css.ts","../../../core/components/organisms/timePicker/utils.tsx","../../../core/utils/validators.ts","../../../core/utils/masks.ts","../node_modules/tslib/tslib.es6.js","../../../core/utils/types.tsx","../../../core/components/atoms/avatar/Avatar.tsx","../../../core/components/atoms/avatarGroup/AvatarGroup.tsx","../../../core/components/atoms/backdrop/Backdrop.tsx","../../../core/components/atoms/badge/Badge.tsx","../node_modules/throttle-debounce/index.esm.js","../../../core/components/atoms/dropdown/utility.tsx","../../../core/components/atoms/dropdown/DropdownButton.tsx","../../../core/components/atoms/_text/index.tsx","../../../core/components/atoms/text/Text.tsx","../../../core/components/atoms/icon/Icon.tsx","../../../core/utils/uidGenerator.tsx","../../../core/components/atoms/checkbox/Checkbox.tsx","../../../core/components/atoms/dropdown/option/CheckboxOption.tsx","../../../core/components/atoms/dropdown/option/DefaultOption.tsx","../../../core/components/atoms/dropdown/option/MetaOption.tsx","../../../core/components/atoms/dropdown/option/IconOption.tsx","../../../core/components/atoms/dropdown/option/IconWithMetaOption.tsx","../../../core/components/atoms/dropdown/option/index.tsx","../../../core/components/atoms/placeholderParagraph/PlaceholderParagraph.tsx","../../../core/components/atoms/placeholderImage/PlaceholderImage.tsx","../../../core/components/molecules/placeholder/Placeholder.tsx","../../../core/components/atoms/dropdown/Loading.tsx","../../../core/components/atoms/dropdown/DropdownList.tsx","../../../core/components/atoms/dropdown/Dropdown.tsx","../../../core/components/atoms/breadcrumbs/SubtleLink.tsx","../../../core/components/atoms/breadcrumbs/Breadcrumbs.tsx","../../../core/components/atoms/spinner/Spinner.tsx","../../../core/components/atoms/button/Button.tsx","../../../core/components/atoms/card/Card.tsx","../../../core/components/atoms/_chip/index.tsx","../../../core/components/atoms/chip/Chip.tsx","../../../core/components/atoms/chipGroup/ChipGroup.tsx","../../../core/components/atoms/column/Column.tsx","../../../core/components/atoms/heading/Heading.tsx","../../../core/components/atoms/subheading/Subheading.tsx","../../../core/components/organisms/calendar/config.ts","../../../core/components/organisms/calendar/utility.ts","../../../core/components/organisms/calendar/Calendar.tsx","../../../core/components/organisms/datePicker/Trigger.tsx","../../../core/components/organisms/datePicker/DatePicker.tsx","../../../core/components/organisms/timePicker/TimePicker.tsx","../../../core/components/organisms/donutChart/DonutChart.tsx","../../../core/components/atoms/input/Input.tsx","../../../core/components/molecules/inputMask/utilites.tsx","../../../core/components/molecules/inputMask/InputMask.tsx","../../../core/components/atoms/label/Label.tsx","../../../core/components/atoms/caption/Caption.tsx","../../../core/components/atoms/legend/Legend.tsx","../../../core/components/atoms/editable/Editable.tsx","../../../core/components/molecules/editableDropdown/EditableDropdown.tsx","../../../core/components/atoms/link/Link.tsx","../../../core/components/atoms/message/Message.tsx","../../../core/components/atoms/metaList/Meta.tsx","../../../core/components/atoms/metaList/MetaList.tsx","../../../core/components/atoms/outsideClick/OutsideClick.tsx","../../../core/components/atoms/paragraph/Paragraph.tsx","../../../core/components/atoms/progressBar/ProgressBar.tsx","../../../core/components/atoms/radio/Radio.tsx","../../../core/components/atoms/row/Row.tsx","../../../core/components/atoms/statusHint/StatusHint.tsx","../../../core/components/atoms/pills/Pills.tsx","../../../core/utils/Keys.ts","../../../core/components/atoms/multiSlider/SliderUtils.tsx","../../../core/components/atoms/multiSlider/Handle.tsx","../../../core/components/atoms/multiSlider/index.tsx","../../../core/components/atoms/slider/Slider.tsx","../../../core/components/atoms/rangeSlider/RangeSlider.tsx","../../../core/components/atoms/switchInput/Switch.tsx","../../../core/components/atoms/textarea/Textarea.tsx","../../../core/components/atoms/toast/ActionButton.tsx","../../../core/components/atoms/toast/Toast.tsx","../../../core/components/atoms/popperWrapper/PopperWrapper.tsx","../../../core/components/molecules/popover/Popover.tsx","../../../core/components/molecules/tooltip/Tooltip.tsx","../../../core/components/molecules/dialog/Dialog.tsx","../../../core/utils/overlayHelper.ts","../../../core/components/molecules/modal/Modal.tsx","../../../core/components/molecules/fullscreenModal/ModalHeader.tsx","../../../core/components/molecules/fullscreenModal/ModalFooter.tsx","../../../core/components/molecules/fullscreenModal/Modal.tsx","../../../core/components/molecules/sidesheet/Sidesheet.tsx","../../../core/components/molecules/chatMessage/Status.tsx","../../../core/components/molecules/chatMessage/Box.tsx","../../../core/components/molecules/chatMessage/MessageText.tsx","../../../core/components/molecules/chatMessage/ChatMessage.tsx","../../../core/components/molecules/emptyState/EmptyState.tsx","../../../core/components/molecules/modalHeader/ModalHeader.tsx","../../../core/components/molecules/modalFooter/ModalFooter.tsx","../../../core/components/molecules/modalBody/ModalBody.tsx","../../../core/components/molecules/modalDescription/ModalDescription.tsx","../../../core/components/molecules/pagination/Pagination.tsx","../../../core/components/molecules/editableInput/EditableInput.tsx","../../../core/components/atoms/progressRing/ProgressRing.tsx","../../../core/components/molecules/stepper/Step.tsx","../../../core/components/molecules/stepper/Stepper.tsx","../../../core/components/organisms/dateRangePicker/Trigger.tsx","../../../core/components/organisms/dateRangePicker/SingleInputTrigger.tsx","../../../core/components/organisms/dateRangePicker/utilities.tsx","../../../core/components/organisms/dateRangePicker/DateRangePicker.tsx","../../../core/components/molecules/tabs/TabsWrapper.tsx","../../../core/components/molecules/tabs/Tab.tsx","../../../core/components/molecules/dropzone/utils.tsx","../../../core/components/molecules/dropzone/FileErrors.tsx","../../../core/components/molecules/dropzone/FileSelectorUtils.tsx","../../../core/components/molecules/dropzone/DropzoneBase.tsx","../../../core/components/molecules/dropzone/DropzoneActive.tsx","../../../core/components/molecules/dropzone/DropzoneError.tsx","../../../core/components/molecules/dropzone/Dropzone.tsx","../../../core/components/molecules/fileUploader/FileUploaderFormat.tsx","../../../core/components/molecules/fileUploader/FileUploaderButton.tsx","../../../core/components/molecules/fileUploader/FileUploader.tsx","../../../core/components/molecules/fileUploader/FileUploaderStatus.tsx","../../../core/components/molecules/fileUploader/FileUploaderItem.tsx","../../../core/components/molecules/fileUploader/FileUploaderList.tsx","../../../core/components/organisms/grid/columnUtility.tsx","../../../core/components/organisms/grid/rowUtility.tsx","../../../core/components/organisms/grid/utility.tsx","../../../core/components/organisms/grid/GridNestedRow.tsx","../../../core/components/organisms/grid/Cell.tsx","../../../core/components/organisms/grid/GridHead.tsx","../../../core/components/organisms/grid/GridRow.tsx","../../../core/components/organisms/grid/GridBody.tsx","../../../core/components/organisms/grid/MainGrid.tsx","../../../core/components/organisms/grid/Grid.tsx","../../../core/components/organisms/grid/GridCell.tsx","../../../core/components/organisms/grid/DraggableDropdown.tsx","../../../core/components/organisms/grid/Header.tsx","../../../core/components/organisms/table/Table.tsx","../../../core/components/organisms/list/List.tsx","../../../core/components/organisms/navigation/Navigation.tsx","../../../core/components/organisms/pageHeader/PageHeader.tsx","../../../core/components/molecules/fileList/FileIcon.tsx","../../../core/components/molecules/fileList/FileListItem.tsx","../../../core/components/molecules/fileList/FileList.tsx"],"sourcesContent":[null,null,null,null,"/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport function __createBinding(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n}\r\n\r\nexport function __exportStar(m, exports) {\r\n for (var p in m) if (p !== \"default\" && !exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n};\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\r\n result.default = mod;\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, privateMap) {\r\n if (!privateMap.has(receiver)) {\r\n throw new TypeError(\"attempted to get private field on non-instance\");\r\n }\r\n return privateMap.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, privateMap, value) {\r\n if (!privateMap.has(receiver)) {\r\n throw new TypeError(\"attempted to set private field on non-instance\");\r\n }\r\n privateMap.set(receiver, value);\r\n return value;\r\n}\r\n",null,null,null,null,null,"/* eslint-disable no-undefined,no-param-reassign,no-shadow */\n\n/**\n * Throttle execution of a function. Especially useful for rate limiting\n * execution of handlers on events like resize and scroll.\n *\n * @param {number} delay - A zero-or-greater delay in milliseconds. For event callbacks, values around 100 or 250 (or even higher) are most useful.\n * @param {boolean} [noTrailing] - Optional, defaults to false. If noTrailing is true, callback will only execute every `delay` milliseconds while the\n * throttled-function is being called. If noTrailing is false or unspecified, callback will be executed one final time\n * after the last throttled-function call. (After the throttled-function has not been called for `delay` milliseconds,\n * the internal counter is reset).\n * @param {Function} callback - A function to be executed after delay milliseconds. The `this` context and all arguments are passed through, as-is,\n * to `callback` when the throttled-function is executed.\n * @param {boolean} [debounceMode] - If `debounceMode` is true (at begin), schedule `clear` to execute after `delay` ms. If `debounceMode` is false (at end),\n * schedule `callback` to execute after `delay` ms.\n *\n * @returns {Function} A new, throttled, function.\n */\nfunction throttle (delay, noTrailing, callback, debounceMode) {\n /*\n * After wrapper has stopped being called, this timeout ensures that\n * `callback` is executed at the proper times in `throttle` and `end`\n * debounce modes.\n */\n var timeoutID;\n var cancelled = false; // Keep track of the last time `callback` was executed.\n\n var lastExec = 0; // Function to clear existing timeout\n\n function clearExistingTimeout() {\n if (timeoutID) {\n clearTimeout(timeoutID);\n }\n } // Function to cancel next exec\n\n\n function cancel() {\n clearExistingTimeout();\n cancelled = true;\n } // `noTrailing` defaults to falsy.\n\n\n if (typeof noTrailing !== 'boolean') {\n debounceMode = callback;\n callback = noTrailing;\n noTrailing = undefined;\n }\n /*\n * The `wrapper` function encapsulates all of the throttling / debouncing\n * functionality and when executed will limit the rate at which `callback`\n * is executed.\n */\n\n\n function wrapper() {\n for (var _len = arguments.length, arguments_ = new Array(_len), _key = 0; _key < _len; _key++) {\n arguments_[_key] = arguments[_key];\n }\n\n var self = this;\n var elapsed = Date.now() - lastExec;\n\n if (cancelled) {\n return;\n } // Execute `callback` and update the `lastExec` timestamp.\n\n\n function exec() {\n lastExec = Date.now();\n callback.apply(self, arguments_);\n }\n /*\n * If `debounceMode` is true (at begin) this is used to clear the flag\n * to allow future `callback` executions.\n */\n\n\n function clear() {\n timeoutID = undefined;\n }\n\n if (debounceMode && !timeoutID) {\n /*\n * Since `wrapper` is being called for the first time and\n * `debounceMode` is true (at begin), execute `callback`.\n */\n exec();\n }\n\n clearExistingTimeout();\n\n if (debounceMode === undefined && elapsed > delay) {\n /*\n * In throttle mode, if `delay` time has been exceeded, execute\n * `callback`.\n */\n exec();\n } else if (noTrailing !== true) {\n /*\n * In trailing throttle mode, since `delay` time has not been\n * exceeded, schedule `callback` to execute `delay` ms after most\n * recent execution.\n *\n * If `debounceMode` is true (at begin), schedule `clear` to execute\n * after `delay` ms.\n *\n * If `debounceMode` is false (at end), schedule `callback` to\n * execute after `delay` ms.\n */\n timeoutID = setTimeout(debounceMode ? clear : exec, debounceMode === undefined ? delay - elapsed : delay);\n }\n }\n\n wrapper.cancel = cancel; // Return the wrapper function.\n\n return wrapper;\n}\n\n/* eslint-disable no-undefined */\n/**\n * Debounce execution of a function. Debouncing, unlike throttling,\n * guarantees that a function is only executed a single time, either at the\n * very beginning of a series of calls, or at the very end.\n *\n * @param {number} delay - A zero-or-greater delay in milliseconds. For event callbacks, values around 100 or 250 (or even higher) are most useful.\n * @param {boolean} [atBegin] - Optional, defaults to false. If atBegin is false or unspecified, callback will only be executed `delay` milliseconds\n * after the last debounced-function call. If atBegin is true, callback will be executed only at the first debounced-function call.\n * (After the throttled-function has not been called for `delay` milliseconds, the internal counter is reset).\n * @param {Function} callback - A function to be executed after delay milliseconds. The `this` context and all arguments are passed through, as-is,\n * to `callback` when the debounced-function is executed.\n *\n * @returns {Function} A new, debounced function.\n */\n\nfunction debounce (delay, atBegin, callback) {\n return callback === undefined ? throttle(delay, atBegin, false) : throttle(delay, callback, atBegin !== false);\n}\n\nexport { debounce, throttle };\n//# sourceMappingURL=index.esm.js.map\n",null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],"names":["colorToHex","color","getComputedStyle","document","documentElement","getPropertyValue","placeholders","_a","isPlaceholderPresent","placeholderChar","time","includes","isFormat12hour","format","get12hourFormat","hours","AMPM","hrs","get24hourFormat","am_pm","convertedHours","translateToTime","timeObj","getTimeObjectFromNumber","translateToString","d","Date","getHours","minutes","getMinutes","seconds","getSeconds","getTimeObjFromStr","separator","len","length","timeLength","lastChars","substring","is12hrFormat","timeFormat","inputFormat","v","split","forEach","f","i","getOutputTimeString","outputFormat","timeStr","val","isValid","validators","_i","value","iterator","Array","isArray","every","validator","date","validate","month","year","monthLength","p","hoursCond","rangeDate","extractBaseProps","props","baseProps","basePropsObj","reduce","acc","curr","filterProps","propsList","include","Object","entries","filter","obj","initialsLength","Avatar","withTooltip","tooltipPosition","size","children","firstName","lastName","className","appearance","initials","trim","slice","tooltip","DefaultAppearance","colors","AvatarAppearance","charCodeAt","classes","classNames","ContentClass","_b","IconClass","_c","renderAvatar","React","Text","weight","Icon","name","renderTooltip","Tooltip","position","triggerClass","displayName","defaultProps","AvatarGroup","max","borderColor","popoverOptions","list","popperRenderer","maxHeight","_d","_e","on","_f","dark","_g","appendToBody","_h","popperClassName","extraAvatars","style","borderRadius","backgroundColor","border","boxShadow","AvatarGroupClass","popperClass","trigger","renderPopper","extraAvatarsList","map","item","ind","key","renderAvatars","avatars","index","Popover","useEffect","useState","Backdrop","savedBodyOverflow","setBodyOverflow","open","setOpen","animate","setAnimate","disableBodyScroll","body","setProperty","enableBodyScroll","overflow","window","setTimeout","BackdropElement","ReactDOM","Badge","subtle","getSearchedOptions","options","searchTerm","result","option","label","toLowerCase","_isEqual","arr1","arr2","_isControlled","selected","undefined","_isOpenControlled","_showSelectedItems","bulk","withCheckbox","_isSelectAllPresent","bulkOptions","withSelectAll","scrollTo","element","top","scrollIntoView","menuElement","focusedElement","menuRect","getBoundingClientRect","focusedRect","overscroll","offsetHeight","bottom","offsetTop","height","getSelectAll","optionsLength","disabledOptionsLength","indeterminate","checked","DropdownButton","ref","triggerSize","placeholder","menu","icon","disabled","inlineLabel","error","rest","buttonDisabled","trimmedPlaceholder","iconName","buttonClass","textClass","type","tabIndex","charAt","toUpperCase","GenericText","componentType","small","onClick","mapper","iconClass","styles","fontSize","width","uidGenerator","dt","getTime","uuid","replace","c","r","Math","random","floor","s","toString","Checkbox","forwardedRef","defaultChecked","onChange","current","setChecked","setIndeterminate","CheckboxClass","CheckboxOuterWrapper","CheckboxTextClass","CheckboxInputWrapper","CheckboxWrapper","indeterminateValue","onChangeHandler","e","target","id","IconName","IconSize","htmlFor","CheckboxOption","optionData","onUpdateActiveOption","dataTest","onMouseEnter","DefaultOption","textClassName","onClickHandler","MetaOption","renderSubInfo","subInfo","IconOption","OptionClass","IconWithMetaOption","OptionTypeMapping","Option","updateActiveOption","active","checkboxes","optionType","OptionClassName","CheckboxClassName","truncateOption","customOptionClass","stopPropagation","optionRenderer","labelAppearance","iconAppearance","seperator","MetaList","seperatorAppearance","component","PlaceholderParagraph","wrapperClass","PlaceholderImage","round","Placeholder","imageSize","withImage","paragraphClasses","Loading","loadingType","alignmentMapping","right","left","DropdownList","listOptions","inputRef","align","applyButtonLabel","_j","cancelButtonLabel","_k","_l","_m","customTrigger","tempSelected","previousSelected","remainingOptions","firstEnabledOption","dropdownOpen","showApplyButton","withSearch","onSearchChange","applyOptions","cancelOptions","toggleDropdown","dropdownRef","triggerRef","dropdownTriggerRef","dropdownCancelButtonRef","dropdownApplyButtonRef","_o","popoverStyle","setPopoverStyle","_p","cursor","setCursor","minWidth","maxWidth","popperWidth","clientWidth","popperMinWidth","popperWrapperStyle","_q","_r","triggerLabel","CustomTrigger","NewCustomTrigger","tabindex","dropdownStyle","overflowY","overflowX","getDropdownClass","isGroup","Dropdown","getDropdownSectionClass","showClearButton","dropdownClass","dropdownWrapperClass","SelectAllClass","onToggleDropdown","focus","onCancelOptions","onApplyOptions","optionClickHandler","onOptionSelect","searchClearHandler","searchHandler","event","parentCheckbox","updatedIndex","async","renderFooter","footerLabel","renderGroups","group","selectedGroup","onClearOptions","isClearDisabled","Button","renderApplyButton","disable","renderSearch","loadingOptions","searchInit","Input","autoFocus","onClear","autoComplete","renderLoading","loadersLength","arr","fill","renderSelectAll","selectAllLabel","selectAll","onSelectAll","renderOptions","selectAllPresent","optionIsSelected","findIndex","onSelect","renderDropdownSection","selectedSectionLabel","loadersCount","noResultMessage","prevGroup","currentGroup","focusOption","direction","elements","querySelectorAll","updatedCursor","startIndex","endIndex","node","getAttribute","onkeydown","optionClass","preventDefault","activeElement","click","currentElement","disabledApplyButton","onKeyDown","onToggle","customStyle","__extends","_super","_this","filteredOptions","Promise","resolve","count","init","state","selected_1","unSelectedGroup","updatedAsync","fetchOptions","fetchFunction","fetchOptionsFunction","then","res","staticLimit","getUnSelectedOptions","getSelectedOptions","disabledOptions","getDisabledOptions","setState","loading","searchedOptionsLength","updateTriggerLabel","search","onClose","popperIsOpen","disabledOptionsCount","temporarySelected","moveSelectedGroup","updateOptions","values","selectedArray","totalOptions","selectedLength","triggerOptions","getLabel","customLabel","labelLimit","join","isSingleSelect","isControlled","closeOnSelect","onPopperToggle","updatePreviousSelected","isClearClicked","debounceClear","selectedValues","onUpdate","updateSelectedOptions","splice","concat","selectedArr","selectedDisabledArray","debounce","searchDebounceDuration","onTogglePopper","optionsApplied","updatedOpen","min","prevProps","prevState","updateOnPopperToggle","debounceSearch","remainingOptionsLen","updateSearchTerm","SubtleLink","href","renderLink","link","renderDropdown","Breadcrumbs","BreadcrumbClass","Spinner","wrapperClasses","circleClasses","Circle","svgProps","viewBox","circleProps","cx","cy","strokeMiterlimit","strokeWidth","sizeMapping","tiny","regular","large","iconAlign","expanded","spinnerClass","Card","shadow","GenericChip","clearButton","onCloseHandler","Chip","chipClass","clearbutton","select","ChipGroup","ChipGroupClass","Column","sizeXS","sizeS","sizeM","sizeL","sizeXL","sizeMap","m","l","xl","xxl","Heading","Subheading","yearBlockRange","yearsInRow","monthBlock","monthsInRow","daysInRow","months","days","config","getIndexOfDay","day","indexOf","getYearBlock","getDaysInMonth","getDate","getFirstDayOfMonth","getDay","getDateInfo","dateVal","convertToDate","getFullYear","getMonth","decadeYear","translateToDate","compareDecade","operator","currDecade","limitDecade","compareDate","currYear","currMonth","currDate","limitYear","limitMonth","limitDate","year_1","month_1","date_1","separator_1","f_1","out","year_2","month_2","date_2","v_1","disabledBefore","disabledAfter","yearBlockNav","yearNav","monthNav","yearBlock","rangePicker","rangeLimit","startDateState","endDateState","hoverDateState","startYear","startMonth","startDate","endYear","endMonth","endDate","hoverYear","hoverMonth","hoverDate","setDate","updateState","view","getNavDateInfo","getDateValue","headerIconClass","navClickHandler","monthsInView","jumpView","yearNavVal","monthNavVal","headerContentClass","headerContent","currView","noOfRows","ceil","from","_y","row","_x","col","offset","valueClass","selectYear","selectMonth","firstDayOfWeek","onMouseLeaveHandler","dayValue","onMouseLeave","renderDateValues","yearState","monthState","dateState","dayRange","dayDiff","dummyDays","inRangeError","getInRangeError","selectDate","onMouseOverHandler","dummy","startActive","endActive","inRange","inRangeLast","onMouseOver","headerClass","bodyClass","renderJumpButton","renderHeaderContent","renderBodyYear","renderBodyMonth","renderBodyDate","now","Calendar","onDateChange","onRangeChange","renderCalendar","Trigger","inputOptions","onBlurHandler","onClearHandler","showError","required","errorMessage","caption","inputValidator","Utils","mask","InputMask","utils","getDefaultValue","onBlur","clearOnEmptyBlur","dbYear","dbMonth","dbDate","daYear","daMonth","daDate","o","getError","DatePicker","newError","dVal","onDateChangeHandler","withInput","bind","onToggleHandler","TimePicker","onTimeChange","timeProp","setTime","setInit","updatedTime","outputTimeStr","DonutChart","legendWidth","withCenterText","colorOfTotalCount","data","radius","withLegends","customTooltip","withActiveSegment","legendSize","chartSize","columnOptions","chart","legends","ChartTooltip","chartProps","payload","toLocaleString","renderActiveShape","activeShapeProps","RADIAN","PI","midAngle","innerRadius","outerRadius","startAngle","endAngle","percent","sin","cos","sx","sy","mx","my","ex","ey","textAnchor","total","x","y","dy","Sector","stroke","toFixed","activeIndex","setActiveIndex","onPieEnter","_data","getColor","colorHex","oRadius","iRadius","Row","ResponsiveContainer","PieChart","Pie","dataKey","activeShape","_entry","Cell","content","Legend","defaultValue","info","onFocus","actionIcon","readOnly","preventScroll","inputClass","leftIconClass","rightIconClass","isEditable","pos","forwardRef","valueProp","getNewCursorPosition","getDefaultSelection","start","end","getPlaceholderValue","getSelectionLength","abs","deferId","selectionRef","setValue","selection","setSelection","setCursorPosition","setSelectionPos","getCurrSelection","selectionStart","selectionEnd","el","setSelectionRange","updateSelection","requestAnimationFrame","insertAtIndex","currValue","newValue","newIndex","newIterator","match","inputVal","currentTarget","currSelection","cursorPosition","enteredVal","updatedVal","removedLength","insertedStringLength","maskedVal","newCursorPosition","cancelAnimationFrame","onFocusHandler","Caption","hide","Label","LabelClass","errorIconClass","iconSize","labelWeight","legendClass","background","Editable","editing","EditableClass","EditableDropdown","dropdownOptions","customTriggerRenderer","onDropdownChange","onDropdownClose","setLabel","setEditing","showComponent","setShowComponent","CompClass","DefaultCompClass","EditableDropdownClass","updatedLabel","eventType","renderComponent","componentLabel","Link","IconMapping","success","warning","alert","Message","title","MessageClass","MessageIcon","Meta","MetaClass","SeperatorClass","LeftSeperatorClass","rightSeperator","OutsideClick","onOutsideClick","innerRef","addEventListener","handleOutsideClick","removeEventListener","contains","Paragraph","ProgressBar","ProgressBarClass","Radio","RadioClass","RadioWrapper","RadioOuterWrapper","StatusHint","StatusHintClass","StatusHintIconClass","Pills","ARROW_LEFT","ARROW_RIGHT","formatPercentage","ratio","countDecimalPlaces","isFinite","valueArray","approxEqual","a","b","tolerance","clamp","arraysEqual","oldValues","newValues","argMin","argFn","minValue","minArg","arg","fillValues","fillValue","inc","isElementOfType","_ComponentType","isMoving","handle","handleElement","clientX","clientPixel","stepSize","tickSize","clientPixelNormalized","getHandleMidpointAndOffset","handleMidpoint","handleOffset","handleCenterPixel","pixelDelta","isNaN","callback","updatedValue","mouseEventClientOffset","onRelease","removeDocumentEventListeners","finalValue","changeValue","clientToValue","continueHandleMovement","endHandleMovement","which","Keys","useOppositeDimension","handleRect","sizeKey","Handle","_prevProps","tickSizeRatio","offsetRatio","offsetCalc","onMouseDown","beginHandleMovement","handleKeyDown","onKeyUp","handleKeyUp","refHandlers","MultiSliderHandle","labelPrecision","handleElements","push","maybeHandles","child","handles","sort","trackElement","trackSize","fillAfter","fillBefore","canHandleTrackEvent","closest","foundHandle","nearestHandleForValue","oldIndex","handleProps","getHandleValues","lockIndex","getLockedHandleIndex","lockValue","onRangeRelease","getNewHandleValues","range","onReleaseHandler","addHandleRef","labelRenderer","labelStepSize","labels","stepSizeRatio","activeLabels","offsetPercentage","formatLabel","getOffsetRatio","startRatio","endRatio","startOffset","Number","endOffset","orientationStyle","fillTrack","getTrackFill","trackStops","previous","track","renderTrackFill","getLabelPrecision","MultiSlider","prevHandleProps","newHandleProps","updateTickSize","getOffset","offsetValue","handleValue","SliderClass","WrapperClass","maybeHandleTrackClick","renderTracks","renderLabels","renderHandles","Slider","RangeIndex","RangeSlider","START","END","Switch","SwitchClass","SwitchWrapper","Textarea","rows","resize","TextareaClass","ActionButton","Toast","message","actions","titleClass","action","findDOMNode","oldStyle","placement","newStyle","marginBottom","offsetMapping","marginTop","marginRight","marginLeft","hoverableDelay","medium","popupRef","getPopperChildren","mouseMoveHandler","handleMouseEnter","handleMouseLeave","boundaryScrollHandler","PopperWrapper","addBoundaryScrollHandler","boundaryElement","removeBoundaryScrollHandler","_throttleWait","triggerElement","zIndex","getZIndexForLayer","closeOnScroll","togglePopper","_timer","clearTimeout","hoverable","layerNode","parseInt","ev","onOutsideClickHandler","closeOnBackdropClick","doesEventContainsElement","outOfBoundaries","getUpdatedStyle","Manager","Reference","getTriggerElement","Popper","modifiers","preventOverflow","boundariesElement","enabled","hideOnReferenceEscape","defaultOnToggle","newOpen","PopoverWrapper","assign","tooltipWrapper","Dialog","dimension","primaryButtonAppearance","secondaryButtonAppearance","heading","description","primaryButtonLabel","primaryButtonCallback","secondaryButtonLabel","secondaryButtonCallback","Modal","headerOptions","footer","ModalDescription","getWrapperElement","querySelector","createElement","classList","add","appendChild","getUpdatedZIndex","ele","containerClassName","elementRef","siblings","prevZIndex","modalRef","backdropClose","ContainerClass","ModalContainer","ModalHeader","reason","ModalBody","withFooter","ModalFooter","ModalWrapper","WrapperElement","subHeading","backButton","backButtonCallback","wrapperRef","secondaryBtns","secondaryBtn_1","FullscreenModal","header","footerOptions","sidesheetWidth","Sidesheet","sidesheetRef","stickFooter","headerObj","SidesheetContainer","inSidesheet","stickToBottom","SidesheetWrapper","Status","readText","failedText","sendingText","StatusClass","TextClass","t","Box","isTyping","statusType","withStatus","MessageText","text","typingText","ChatMessage","statusOptions","imageHeight","HeadingSize","textSize","EmptyState","imageSrc","HeadingClass","src","backIcon","backIconCallback","Pagination","totalPages","onPageChange","page","setPage","nextButtonWrapperClass","prevButtonWrapperClass","inputChangeHandler","buttonType","buttonHelper","__spreadArrays","EditableInput","disableSaveAction","onInputChange","inputValue","setInputValue","EditableInputClass","EditableDefaultClass","InputClass","ActionClass","setDefaultComponent","onSaveChanges","onInputChangeHandler","inputComponent","renderChildren","ProgressRing","circumference","ProgressRingClass","Ring","strokeDasharray","strokeDashoffset","Step","completed","StepClass","onClickHandle","Stepper","steps","stepLabel","stepValue","StepperClass","step","activeStep","completedStep","steplabel","stepvalue","startInputOptions","endInputOptions","startError","endError","updateNav","eYear","eMonth","eDate","startPlaceholderChar","endPlaceholderChar","showStartError","showEndError","startErrorMessage","endErrorMessage","startLabel","endLabel","SingleInputTrigger","startValue","endValue","sValue","eValue","startVal","endVal","startD","isEndDateValid","endD","isStartDateValid","getCurrentYear","currentYear","getCurrentMonth","currentMonth","getCurrentWeek","currentDate","currentDay","getPreviousWeek","getPreviousMonth","getPrevious90Days","getCustomDates","isError","sYear","sMonth","sDate","getErrors","DateRangePicker","onRangeChangeHandler","singleInput","contentAlign","RangePickerClass","TabsWrapper","onTabChange","tabs","totalTabs","setActiveTab","tabClickHandler","TabsHeader","tabHeaderClass","Tab","accepts","file","acceptedFiles","acceptedFilesArray","fileName_1","mimeType_1","baseMimeType_1","some","validType","endsWith","isPropagationStopped","cancelBubble","isEvtWithFiles","dataTransfer","files","prototype","call","types","onDocumentDragOver","composeEventHandlers","fns","args","fn","reducer","isFocused","isFileDialogActive","isDragActive","draggedFiles","fileRejections","fileErrorMessages","FILE_INVALID_TYPE","FILE_TOO_LARGE","FILE_TOO_SMALL","TOO_MANY_FILES","isDefined","getInvalidTypeRejectionErr","accept","updatedAccept","messageSuffix","getTooLargeRejectionErr","maxSize","getTooSmallRejectionErr","minSize","fileAccepted","isAcceptable","fileMatchSize","getFileError","multiple","typeError","accepted","sizeError","sizeMatch","allFilesAccepted","COMMON_MIME_TYPES","Map","FILES_TO_IGNORE","fromEvent","evt","isDragEvt","getDataTransferFiles","getInputFiles","toFileWithPath","path","withMimeType","webkitRelativePath","defineProperty","writable","configurable","enumerable","hasExtension","lastIndexOf","ext","pop","get","isInput","fromList","items","kind","all","toFilePromises","noIgnoredFiles","flatten","webkitGetAsEntry","fromDataTransferItem","entry","isDirectory","fromDirEntry","getAsFile","reject","fwp","fromEntry","fromFileEntry","reader","createReader","readEntries","batch","err_1","err","fullPath","initialState","isDragAccept","isDragReject","DropzoneBase","onDragEnter","onDragLeave","onDragOver","onDrop","onDropAccepted","onDropRejected","onFileDialogCancel","getFilesFromEvent","preventDropOnDocument","rootRef","useRef","useReducer","dispatch","openFileDialog","useCallback","onWindowFocus","onKeyDownCb","isEqualNode","keyCode","onFocusCb","onBlurCb","dragTargetsRef","onDocumentDrop","onDragEnterCb","persist","onDragOverCb","dropEffect","onDragLeaveCb","targets","targetIdx","onDropCb","acceptError","customErrors","errors","composeHandler","composeKeyboardHandler","_fn","composeDragHandler","getRootProps","useMemo","refKey","onDragEnterCallback","onDragOverCallback","onDragLeaveCallback","onDropCallback","onInputElementClick","getInputProps","inputProps","display","fileCount","fileError","Infinity","DropzoneActive","DropzoneError","Dropzone","sizeLabel","sampleFileLink","DropzoneClass","renderDropzone","Fragment","FileUploaderFormat","FileUploaderButton","uploadButtonLabel","FileUploaderButtonClass","fileList","FileUploader","FileUploaderClass","FileUploaderStatus","progress","status","onRetry","FileUploaderItem","onDelete","FileItemClass","FileUploaderList","FileListClass","fileName","resizeCol","elX","resizable","updateColumnSchema","pageX","sortColumn","sortingList","updateSortingList","pinColumn","schemaUpdate","pinned","hideColumn","hidden","getWidth","isPercent","checkboxCell","gridRef","checkboxWidth","gridWidth","getCellSize","cellType","sizes","AVATAR","AVATAR_WITH_TEXT","AVATAR_WITH_META_LIST","ICON","minWdth","STATUS_HINT","WITH_META_LIST","DEFAULT","updateBatchData","rowIndexes","dataUpdate","updatedData","rowIndexes_1","rowIndex","translateData","schema","newData","translate","translatedData","filterData","filterList","filteredData","keys","schemaName","filters","sIndex","onFilterChange","sortData","sortedData","defaultComparator","aData","bData","localeCompare","comparator","reverse","paginateData","pageSize","paginatedData","moveToIndex","to","newArr","getTotalPages","totalRecords","anyUnSelected","_selected","allUnSelected","getInit","getSchema","loaderSchema","GridNestedRow","nestedRowRenderer","HeaderCell","draggable","schemaProp","showMenu","headCellTooltip","showFilters","sorting","listIndex","sorted","sortOptions","pinOptions","unpinOption","hideOptions","unsortOption","filterOptions","fl","renderLabel","onMenuChange","BodyCell","expandedState","colIndex","nestedRows","setExpanded","cellProps","nestedProps","isNestedRowDisabled","cellRenderer","GridCell","head","firstCell","cellClass","onDragStart","setData","getData","reorderCol","visibility","GridHead","pinnedSchema","leftPinnedSchema","rightPinnedSchema","unpinnedSchema","renderCheckbox","show","renderSchema","currSchema","shouldRenderCheckbox","cI","GridRow","rI","rowRef","rowClasses","onRowClick","GridBody","inView","avgRowHeight","buffer","withPagination","errorTemplate","dummyRows","topPadding","bottomPadding","MainGrid","showHead","Grid","minRowHeight","comfortable","standard","compressed","tight","scrollHeight","scrollTop","onScrollHandler","newScroll","newInView","currScroll","clientHeight","rowHeight","newOffset","newAvgHeight","diff","onScroll","_this_1","newSchema","updateSchema","updateRenderedSchema","fromInd","toInd","updateFilterList","newFilterList","renderTitle","cellData","renderMetaList","metaList","renderIcon","renderStatusHint","statusAppearance","DraggableDropdown","tempOptions","setTempOptions","triggerWidth","setTriggerWidth","handleParentChange","handleChildChange","newOptions","onCancelHandler","onApplyHandler","Header","searchPlaceholder","dynamicColumn","allowSelectAll","selectAllRecords","setSelectAllRecords","flag","setFlag","filterSchema","onDynamicColumnUpdate","__assign","find","colSchema","selectedCount","defaultErrorTemplate","errorType","errorMessages","FAILED_TO_FETCH","NO_RECORDS_FOUND","multipleSorting","paginationType","filterPosition","searchUpdate","debounceUpdate","updateDataFn","fetchData","dataProp","onSearch","opts","searchedData","renderedData","renderedSchema","indexes","_","newPage","newSortingList","newSearchTerm","Table","updateData","withHeader","headerChildren","headerAttr","List","Navigation","menus","rounded","autoCollapse","menuState","setMenuState","currMenu","getMenu","updateMenuState","menus_1","subMenu","activeMenu","sm","nameSplit","name_1","menuData","isActive","getTextAppearance","isMenuActive","getIconAppearance","getHorizontalMenu","menuClasses","getVerticalMenu","activeMenuIcon","menuIconClasses","subMenuClasses","footerClasses","PageHeader","navigation","stepper","breadcrumbs","badge","meta","navigationPosition","renderCenter","audio","image","video","application","others","FileIcon","fileType","uploadingIconClass","FileListItem","fileItem","fileSize","FileList","actionRenderer"],"mappings":";;;;;;;;;;;;;;;;;;;;;IAAO,IAAMA,UAAU,GAAG,SAAbA,UAAa,C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;IACtBuyC,EAAAA,QAAQ,EAAE;IADY,CAAxB;IAIAyR,QAAQ,CAACjkD,WAAT,GAAuB,UAAvB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"} \ No newline at end of file +{"version":3,"file":"index.js","sources":["../../../core/utils/css.ts","../../../core/components/organisms/timePicker/utils.tsx","../../../core/utils/validators.ts","../../../core/utils/masks.ts","../node_modules/tslib/tslib.es6.js","../../../core/utils/types.tsx","../../../core/components/atoms/avatar/Avatar.tsx","../../../core/components/atoms/avatarGroup/AvatarGroup.tsx","../../../core/components/atoms/backdrop/Backdrop.tsx","../../../core/components/atoms/badge/Badge.tsx","../node_modules/throttle-debounce/index.esm.js","../../../core/components/atoms/dropdown/utility.tsx","../../../core/components/atoms/dropdown/DropdownButton.tsx","../../../core/components/atoms/_text/index.tsx","../../../core/components/atoms/text/Text.tsx","../../../core/components/atoms/icon/Icon.tsx","../../../core/utils/uidGenerator.tsx","../../../core/components/atoms/checkbox/Checkbox.tsx","../../../core/components/atoms/dropdown/option/CheckboxOption.tsx","../../../core/components/atoms/dropdown/option/DefaultOption.tsx","../../../core/components/atoms/dropdown/option/MetaOption.tsx","../../../core/components/atoms/dropdown/option/IconOption.tsx","../../../core/components/atoms/dropdown/option/IconWithMetaOption.tsx","../../../core/components/atoms/dropdown/option/index.tsx","../../../core/components/atoms/placeholderParagraph/PlaceholderParagraph.tsx","../../../core/components/atoms/placeholderImage/PlaceholderImage.tsx","../../../core/components/molecules/placeholder/Placeholder.tsx","../../../core/components/atoms/dropdown/Loading.tsx","../../../core/components/atoms/dropdown/DropdownList.tsx","../../../core/components/atoms/dropdown/Dropdown.tsx","../../../core/components/atoms/breadcrumbs/SubtleLink.tsx","../../../core/components/atoms/breadcrumbs/Breadcrumbs.tsx","../../../core/components/atoms/spinner/Spinner.tsx","../../../core/components/atoms/button/Button.tsx","../../../core/components/atoms/card/Card.tsx","../../../core/components/atoms/_chip/index.tsx","../../../core/components/atoms/chip/Chip.tsx","../../../core/components/atoms/chipGroup/ChipGroup.tsx","../../../core/components/atoms/column/Column.tsx","../../../core/components/atoms/heading/Heading.tsx","../../../core/components/atoms/subheading/Subheading.tsx","../../../core/components/organisms/calendar/config.ts","../../../core/components/organisms/calendar/utility.ts","../../../core/components/organisms/calendar/Calendar.tsx","../../../core/components/organisms/datePicker/Trigger.tsx","../../../core/components/organisms/datePicker/DatePicker.tsx","../../../core/components/organisms/timePicker/TimePicker.tsx","../../../core/components/organisms/donutChart/DonutChart.tsx","../../../core/components/atoms/input/Input.tsx","../../../core/components/molecules/inputMask/utilites.tsx","../../../core/components/molecules/inputMask/InputMask.tsx","../../../core/components/atoms/label/Label.tsx","../../../core/components/atoms/caption/Caption.tsx","../../../core/components/atoms/legend/Legend.tsx","../../../core/components/atoms/editable/Editable.tsx","../../../core/components/molecules/editableDropdown/EditableDropdown.tsx","../../../core/components/atoms/link/Link.tsx","../../../core/components/atoms/message/Message.tsx","../../../core/components/atoms/metaList/Meta.tsx","../../../core/components/atoms/metaList/MetaList.tsx","../../../core/components/atoms/outsideClick/OutsideClick.tsx","../../../core/components/atoms/paragraph/Paragraph.tsx","../../../core/components/atoms/progressBar/ProgressBar.tsx","../../../core/components/atoms/radio/Radio.tsx","../../../core/components/atoms/row/Row.tsx","../../../core/components/atoms/statusHint/StatusHint.tsx","../../../core/components/atoms/pills/Pills.tsx","../../../core/utils/Keys.ts","../../../core/components/atoms/multiSlider/SliderUtils.tsx","../../../core/components/atoms/multiSlider/Handle.tsx","../../../core/components/atoms/multiSlider/index.tsx","../../../core/components/atoms/slider/Slider.tsx","../../../core/components/atoms/rangeSlider/RangeSlider.tsx","../../../core/components/atoms/switchInput/Switch.tsx","../../../core/components/atoms/textarea/Textarea.tsx","../../../core/components/atoms/toast/ActionButton.tsx","../../../core/components/atoms/toast/Toast.tsx","../../../core/components/atoms/popperWrapper/PopperWrapper.tsx","../../../core/components/molecules/popover/Popover.tsx","../../../core/components/molecules/tooltip/Tooltip.tsx","../../../core/components/molecules/dialog/Dialog.tsx","../../../core/utils/overlayHelper.ts","../../../core/components/molecules/modal/Modal.tsx","../../../core/components/molecules/fullscreenModal/ModalHeader.tsx","../../../core/components/molecules/fullscreenModal/ModalFooter.tsx","../../../core/components/molecules/fullscreenModal/Modal.tsx","../../../core/components/molecules/sidesheet/Sidesheet.tsx","../../../core/components/molecules/chatMessage/Status.tsx","../../../core/components/molecules/chatMessage/Box.tsx","../../../core/components/molecules/chatMessage/MessageText.tsx","../../../core/components/molecules/chatMessage/ChatMessage.tsx","../../../core/components/molecules/emptyState/EmptyState.tsx","../../../core/components/molecules/modalHeader/ModalHeader.tsx","../../../core/components/molecules/modalFooter/ModalFooter.tsx","../../../core/components/molecules/modalBody/ModalBody.tsx","../../../core/components/molecules/modalDescription/ModalDescription.tsx","../../../core/components/molecules/pagination/Pagination.tsx","../../../core/components/molecules/editableInput/EditableInput.tsx","../../../core/components/atoms/progressRing/ProgressRing.tsx","../../../core/components/molecules/stepper/Step.tsx","../../../core/components/molecules/stepper/Stepper.tsx","../../../core/components/organisms/dateRangePicker/Trigger.tsx","../../../core/components/organisms/dateRangePicker/SingleInputTrigger.tsx","../../../core/components/organisms/dateRangePicker/utilities.tsx","../../../core/components/organisms/dateRangePicker/DateRangePicker.tsx","../../../core/components/molecules/tabs/TabsWrapper.tsx","../../../core/components/molecules/tabs/Tab.tsx","../../../core/components/molecules/dropzone/utils.tsx","../../../core/components/molecules/dropzone/FileErrors.tsx","../../../core/components/molecules/dropzone/FileSelectorUtils.tsx","../../../core/components/molecules/dropzone/DropzoneBase.tsx","../../../core/components/molecules/dropzone/DropzoneActive.tsx","../../../core/components/molecules/dropzone/DropzoneError.tsx","../../../core/components/molecules/dropzone/Dropzone.tsx","../../../core/components/molecules/fileUploader/FileUploaderFormat.tsx","../../../core/components/molecules/fileUploader/FileUploaderButton.tsx","../../../core/components/molecules/fileUploader/FileUploader.tsx","../../../core/components/molecules/fileUploader/FileUploaderStatus.tsx","../../../core/components/molecules/fileUploader/FileUploaderItem.tsx","../../../core/components/molecules/fileUploader/FileUploaderList.tsx","../../../core/components/organisms/grid/columnUtility.tsx","../../../core/components/organisms/grid/rowUtility.tsx","../../../core/components/organisms/grid/utility.tsx","../../../core/components/organisms/grid/GridNestedRow.tsx","../../../core/components/organisms/grid/Cell.tsx","../../../core/components/organisms/grid/GridHead.tsx","../../../core/components/organisms/grid/GridRow.tsx","../../../core/components/organisms/grid/GridBody.tsx","../../../core/components/organisms/grid/MainGrid.tsx","../../../core/components/organisms/grid/Grid.tsx","../../../core/components/organisms/grid/GridCell.tsx","../../../core/components/organisms/grid/DraggableDropdown.tsx","../../../core/components/organisms/grid/Header.tsx","../../../core/components/organisms/table/Table.tsx","../../../core/components/organisms/list/List.tsx","../../../core/components/organisms/navigation/Navigation.tsx","../../../core/components/organisms/pageHeader/PageHeader.tsx","../../../core/components/molecules/fileList/FileIcon.tsx","../../../core/components/molecules/fileList/FileListItem.tsx","../../../core/components/molecules/fileList/FileList.tsx"],"sourcesContent":[null,null,null,null,"/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport function __createBinding(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n}\r\n\r\nexport function __exportStar(m, exports) {\r\n for (var p in m) if (p !== \"default\" && !exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n};\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\r\n result.default = mod;\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, privateMap) {\r\n if (!privateMap.has(receiver)) {\r\n throw new TypeError(\"attempted to get private field on non-instance\");\r\n }\r\n return privateMap.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, privateMap, value) {\r\n if (!privateMap.has(receiver)) {\r\n throw new TypeError(\"attempted to set private field on non-instance\");\r\n }\r\n privateMap.set(receiver, value);\r\n return value;\r\n}\r\n",null,null,null,null,null,"/* eslint-disable no-undefined,no-param-reassign,no-shadow */\n\n/**\n * Throttle execution of a function. Especially useful for rate limiting\n * execution of handlers on events like resize and scroll.\n *\n * @param {number} delay - A zero-or-greater delay in milliseconds. For event callbacks, values around 100 or 250 (or even higher) are most useful.\n * @param {boolean} [noTrailing] - Optional, defaults to false. If noTrailing is true, callback will only execute every `delay` milliseconds while the\n * throttled-function is being called. If noTrailing is false or unspecified, callback will be executed one final time\n * after the last throttled-function call. (After the throttled-function has not been called for `delay` milliseconds,\n * the internal counter is reset).\n * @param {Function} callback - A function to be executed after delay milliseconds. The `this` context and all arguments are passed through, as-is,\n * to `callback` when the throttled-function is executed.\n * @param {boolean} [debounceMode] - If `debounceMode` is true (at begin), schedule `clear` to execute after `delay` ms. If `debounceMode` is false (at end),\n * schedule `callback` to execute after `delay` ms.\n *\n * @returns {Function} A new, throttled, function.\n */\nfunction throttle (delay, noTrailing, callback, debounceMode) {\n /*\n * After wrapper has stopped being called, this timeout ensures that\n * `callback` is executed at the proper times in `throttle` and `end`\n * debounce modes.\n */\n var timeoutID;\n var cancelled = false; // Keep track of the last time `callback` was executed.\n\n var lastExec = 0; // Function to clear existing timeout\n\n function clearExistingTimeout() {\n if (timeoutID) {\n clearTimeout(timeoutID);\n }\n } // Function to cancel next exec\n\n\n function cancel() {\n clearExistingTimeout();\n cancelled = true;\n } // `noTrailing` defaults to falsy.\n\n\n if (typeof noTrailing !== 'boolean') {\n debounceMode = callback;\n callback = noTrailing;\n noTrailing = undefined;\n }\n /*\n * The `wrapper` function encapsulates all of the throttling / debouncing\n * functionality and when executed will limit the rate at which `callback`\n * is executed.\n */\n\n\n function wrapper() {\n for (var _len = arguments.length, arguments_ = new Array(_len), _key = 0; _key < _len; _key++) {\n arguments_[_key] = arguments[_key];\n }\n\n var self = this;\n var elapsed = Date.now() - lastExec;\n\n if (cancelled) {\n return;\n } // Execute `callback` and update the `lastExec` timestamp.\n\n\n function exec() {\n lastExec = Date.now();\n callback.apply(self, arguments_);\n }\n /*\n * If `debounceMode` is true (at begin) this is used to clear the flag\n * to allow future `callback` executions.\n */\n\n\n function clear() {\n timeoutID = undefined;\n }\n\n if (debounceMode && !timeoutID) {\n /*\n * Since `wrapper` is being called for the first time and\n * `debounceMode` is true (at begin), execute `callback`.\n */\n exec();\n }\n\n clearExistingTimeout();\n\n if (debounceMode === undefined && elapsed > delay) {\n /*\n * In throttle mode, if `delay` time has been exceeded, execute\n * `callback`.\n */\n exec();\n } else if (noTrailing !== true) {\n /*\n * In trailing throttle mode, since `delay` time has not been\n * exceeded, schedule `callback` to execute `delay` ms after most\n * recent execution.\n *\n * If `debounceMode` is true (at begin), schedule `clear` to execute\n * after `delay` ms.\n *\n * If `debounceMode` is false (at end), schedule `callback` to\n * execute after `delay` ms.\n */\n timeoutID = setTimeout(debounceMode ? clear : exec, debounceMode === undefined ? delay - elapsed : delay);\n }\n }\n\n wrapper.cancel = cancel; // Return the wrapper function.\n\n return wrapper;\n}\n\n/* eslint-disable no-undefined */\n/**\n * Debounce execution of a function. Debouncing, unlike throttling,\n * guarantees that a function is only executed a single time, either at the\n * very beginning of a series of calls, or at the very end.\n *\n * @param {number} delay - A zero-or-greater delay in milliseconds. For event callbacks, values around 100 or 250 (or even higher) are most useful.\n * @param {boolean} [atBegin] - Optional, defaults to false. If atBegin is false or unspecified, callback will only be executed `delay` milliseconds\n * after the last debounced-function call. If atBegin is true, callback will be executed only at the first debounced-function call.\n * (After the throttled-function has not been called for `delay` milliseconds, the internal counter is reset).\n * @param {Function} callback - A function to be executed after delay milliseconds. The `this` context and all arguments are passed through, as-is,\n * to `callback` when the debounced-function is executed.\n *\n * @returns {Function} A new, debounced function.\n */\n\nfunction debounce (delay, atBegin, callback) {\n return callback === undefined ? throttle(delay, atBegin, false) : throttle(delay, callback, atBegin !== false);\n}\n\nexport { debounce, throttle };\n//# sourceMappingURL=index.esm.js.map\n",null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],"names":["colorToHex","color","getComputedStyle","document","documentElement","getPropertyValue","placeholders","_a","isPlaceholderPresent","placeholderChar","time","includes","isFormat12hour","format","get12hourFormat","hours","AMPM","hrs","get24hourFormat","am_pm","convertedHours","translateToTime","timeObj","getTimeObjectFromNumber","translateToString","d","Date","getHours","minutes","getMinutes","seconds","getSeconds","getTimeObjFromStr","separator","len","length","timeLength","lastChars","substring","is12hrFormat","timeFormat","inputFormat","v","split","forEach","f","i","getOutputTimeString","outputFormat","timeStr","val","isValid","validators","_i","value","iterator","Array","isArray","every","validator","date","validate","month","year","monthLength","p","hoursCond","rangeDate","extractBaseProps","props","baseProps","basePropsObj","reduce","acc","curr","filterProps","propsList","include","Object","entries","filter","obj","initialsLength","Avatar","withTooltip","tooltipPosition","size","children","firstName","lastName","className","appearance","initials","trim","slice","tooltip","DefaultAppearance","colors","AvatarAppearance","charCodeAt","classes","classNames","ContentClass","_b","IconClass","_c","renderAvatar","React","Text","weight","Icon","name","renderTooltip","Tooltip","position","triggerClass","displayName","defaultProps","AvatarGroup","max","borderColor","popoverOptions","list","popperRenderer","maxHeight","_d","_e","on","_f","dark","_g","appendToBody","_h","popperClassName","extraAvatars","style","borderRadius","backgroundColor","border","boxShadow","AvatarGroupClass","popperClass","trigger","renderPopper","extraAvatarsList","map","item","ind","key","renderAvatars","avatars","index","Popover","useEffect","useState","Backdrop","savedBodyOverflow","setBodyOverflow","open","setOpen","animate","setAnimate","disableBodyScroll","body","setProperty","enableBodyScroll","overflow","window","setTimeout","BackdropElement","ReactDOM","createPortal","Badge","subtle","getSearchedOptions","options","searchTerm","result","option","label","toLowerCase","_isEqual","arr1","arr2","_isControlled","selected","undefined","_isOpenControlled","_showSelectedItems","bulk","withCheckbox","_isSelectAllPresent","bulkOptions","withSelectAll","scrollTo","element","top","scrollIntoView","menuElement","focusedElement","menuRect","getBoundingClientRect","focusedRect","overscroll","offsetHeight","bottom","offsetTop","height","getSelectAll","optionsLength","disabledOptionsLength","indeterminate","checked","DropdownButton","forwardRef","ref","triggerSize","placeholder","menu","icon","disabled","inlineLabel","error","rest","buttonDisabled","trimmedPlaceholder","iconName","buttonClass","textClass","type","tabIndex","charAt","toUpperCase","GenericText","componentType","createElement","small","onClick","mapper","iconClass","styles","fontSize","width","isValidElement","uidGenerator","dt","getTime","uuid","replace","c","r","Math","random","floor","s","toString","Checkbox","forwardedRef","defaultChecked","onChange","useRef","useImperativeHandle","current","setChecked","setIndeterminate","CheckboxClass","CheckboxOuterWrapper","CheckboxTextClass","CheckboxInputWrapper","CheckboxWrapper","indeterminateValue","onChangeHandler","e","target","id","IconName","IconSize","htmlFor","CheckboxOption","optionData","onUpdateActiveOption","dataTest","onMouseEnter","DefaultOption","textClassName","onClickHandler","MetaOption","renderSubInfo","subInfo","IconOption","OptionClass","IconWithMetaOption","OptionTypeMapping","Option","updateActiveOption","active","checkboxes","optionType","OptionClassName","CheckboxClassName","truncateOption","customOptionClass","stopPropagation","optionRenderer","labelAppearance","iconAppearance","seperator","MetaList","seperatorAppearance","component","PlaceholderParagraph","wrapperClass","PlaceholderImage","round","Placeholder","imageSize","withImage","paragraphClasses","Loading","loadingType","alignmentMapping","right","left","DropdownList","listOptions","inputRef","align","applyButtonLabel","_j","cancelButtonLabel","_k","_l","_m","customTrigger","tempSelected","previousSelected","remainingOptions","firstEnabledOption","dropdownOpen","showApplyButton","withSearch","onSearchChange","applyOptions","cancelOptions","toggleDropdown","dropdownRef","createRef","triggerRef","dropdownTriggerRef","dropdownCancelButtonRef","dropdownApplyButtonRef","_o","popoverStyle","setPopoverStyle","_p","cursor","setCursor","minWidth","maxWidth","popperWidth","clientWidth","popperMinWidth","popperWrapperStyle","_q","_r","triggerLabel","CustomTrigger","NewCustomTrigger","cloneElement","tabindex","dropdownStyle","overflowY","overflowX","getDropdownClass","isGroup","Dropdown","getDropdownSectionClass","showClearButton","dropdownClass","dropdownWrapperClass","SelectAllClass","onToggleDropdown","focus","onCancelOptions","onApplyOptions","optionClickHandler","onOptionSelect","searchClearHandler","searchHandler","event","parentCheckbox","updatedIndex","async","renderFooter","footerLabel","renderGroups","group","selectedGroup","onClearOptions","isClearDisabled","Button","renderApplyButton","disable","renderSearch","loadingOptions","searchInit","Input","autoFocus","onClear","autoComplete","renderLoading","loadersLength","arr","fill","renderSelectAll","selectAllLabel","selectAll","onSelectAll","renderOptions","selectAllPresent","optionIsSelected","findIndex","onSelect","renderDropdownSection","selectedSectionLabel","loadersCount","noResultMessage","prevGroup","currentGroup","focusOption","direction","elements","querySelectorAll","updatedCursor","startIndex","endIndex","node","getAttribute","onkeydown","optionClass","preventDefault","activeElement","click","currentElement","disabledApplyButton","onKeyDown","onToggle","customStyle","__extends","_super","_this","filteredOptions","Promise","resolve","count","init","state","selected_1","unSelectedGroup","updatedAsync","fetchOptions","fetchFunction","fetchOptionsFunction","then","res","staticLimit","getUnSelectedOptions","getSelectedOptions","disabledOptions","getDisabledOptions","setState","loading","searchedOptionsLength","updateTriggerLabel","search","onClose","popperIsOpen","disabledOptionsCount","temporarySelected","moveSelectedGroup","updateOptions","values","selectedArray","totalOptions","selectedLength","triggerOptions","getLabel","customLabel","labelLimit","join","isSingleSelect","isControlled","closeOnSelect","onPopperToggle","updatePreviousSelected","isClearClicked","debounceClear","selectedValues","onUpdate","updateSelectedOptions","splice","concat","selectedArr","selectedDisabledArray","debounce","searchDebounceDuration","onTogglePopper","optionsApplied","updatedOpen","min","prevProps","prevState","updateOnPopperToggle","debounceSearch","remainingOptionsLen","updateSearchTerm","Component","SubtleLink","href","renderLink","link","renderDropdown","Breadcrumbs","BreadcrumbClass","Spinner","wrapperClasses","circleClasses","Circle","svgProps","viewBox","circleProps","cx","cy","strokeMiterlimit","strokeWidth","sizeMapping","tiny","regular","large","iconAlign","expanded","spinnerClass","Card","shadow","GenericChip","clearButton","onCloseHandler","Chip","chipClass","clearbutton","select","ChipGroup","ChipGroupClass","Column","sizeXS","sizeS","sizeM","sizeL","sizeXL","sizeMap","m","l","xl","xxl","Heading","Subheading","yearBlockRange","yearsInRow","monthBlock","monthsInRow","daysInRow","months","days","config","getIndexOfDay","day","indexOf","getYearBlock","getDaysInMonth","getDate","getFirstDayOfMonth","getDay","getDateInfo","dateVal","convertToDate","getFullYear","getMonth","decadeYear","translateToDate","compareDecade","operator","currDecade","limitDecade","compareDate","currYear","currMonth","currDate","limitYear","limitMonth","limitDate","year_1","month_1","date_1","separator_1","f_1","out","year_2","month_2","date_2","v_1","disabledBefore","disabledAfter","yearBlockNav","yearNav","monthNav","yearBlock","rangePicker","rangeLimit","startDateState","endDateState","hoverDateState","startYear","startMonth","startDate","endYear","endMonth","endDate","hoverYear","hoverMonth","hoverDate","setDate","updateState","view","getNavDateInfo","getDateValue","headerIconClass","navClickHandler","monthsInView","jumpView","yearNavVal","monthNavVal","headerContentClass","headerContent","currView","noOfRows","ceil","from","_y","row","_x","col","offset","valueClass","selectYear","selectMonth","firstDayOfWeek","onMouseLeaveHandler","dayValue","onMouseLeave","renderDateValues","yearState","monthState","dateState","dayRange","dayDiff","dummyDays","inRangeError","getInRangeError","selectDate","onMouseOverHandler","dummy","startActive","endActive","inRange","inRangeLast","onMouseOver","headerClass","bodyClass","renderJumpButton","renderHeaderContent","renderBodyYear","renderBodyMonth","renderBodyDate","now","Calendar","onDateChange","onRangeChange","renderCalendar","Trigger","inputOptions","onBlurHandler","onClearHandler","showError","required","errorMessage","caption","inputValidator","Utils","mask","InputMask","utils","getDefaultValue","onBlur","clearOnEmptyBlur","dbYear","dbMonth","dbDate","daYear","daMonth","daDate","o","getError","DatePicker","newError","dVal","onDateChangeHandler","withInput","bind","onToggleHandler","TimePicker","onTimeChange","timeProp","setTime","setInit","updatedTime","outputTimeStr","DonutChart","legendWidth","withCenterText","colorOfTotalCount","data","radius","withLegends","customTooltip","withActiveSegment","legendSize","chartSize","columnOptions","chart","legends","ChartTooltip","chartProps","payload","toLocaleString","renderActiveShape","activeShapeProps","RADIAN","PI","midAngle","innerRadius","outerRadius","startAngle","endAngle","percent","sin","cos","sx","sy","mx","my","ex","ey","textAnchor","total","x","y","dy","Sector","stroke","toFixed","activeIndex","setActiveIndex","onPieEnter","_data","getColor","colorHex","oRadius","iRadius","Row","ResponsiveContainer","PieChart","Pie","dataKey","activeShape","_entry","Cell","content","Legend","defaultValue","info","onFocus","actionIcon","readOnly","preventScroll","inputClass","leftIconClass","rightIconClass","isEditable","pos","valueProp","getNewCursorPosition","getDefaultSelection","start","end","getPlaceholderValue","getSelectionLength","abs","deferId","selectionRef","setValue","selection","setSelection","setCursorPosition","setSelectionPos","getCurrSelection","selectionStart","selectionEnd","el","setSelectionRange","updateSelection","requestAnimationFrame","insertAtIndex","currValue","newValue","newIndex","newIterator","match","inputVal","currentTarget","currSelection","cursorPosition","enteredVal","updatedVal","removedLength","insertedStringLength","maskedVal","newCursorPosition","cancelAnimationFrame","onFocusHandler","Caption","hide","Label","LabelClass","errorIconClass","iconSize","labelWeight","legendClass","background","Editable","editing","EditableClass","EditableDropdown","dropdownOptions","customTriggerRenderer","onDropdownChange","onDropdownClose","setLabel","setEditing","showComponent","setShowComponent","CompClass","DefaultCompClass","EditableDropdownClass","updatedLabel","eventType","renderComponent","componentLabel","Link","IconMapping","success","warning","alert","Message","title","MessageClass","MessageIcon","Meta","MetaClass","SeperatorClass","LeftSeperatorClass","rightSeperator","OutsideClick","onOutsideClick","innerRef","addEventListener","handleOutsideClick","removeEventListener","useCallback","findDOMNode","contains","Paragraph","ProgressBar","ProgressBarClass","Radio","RadioClass","RadioWrapper","RadioOuterWrapper","StatusHint","StatusHintClass","StatusHintIconClass","Pills","ARROW_LEFT","ARROW_RIGHT","formatPercentage","ratio","countDecimalPlaces","isFinite","valueArray","approxEqual","a","b","tolerance","clamp","arraysEqual","oldValues","newValues","argMin","argFn","minValue","minArg","arg","fillValues","fillValue","inc","isElementOfType","_ComponentType","isMoving","handle","handleElement","clientX","clientPixel","stepSize","tickSize","clientPixelNormalized","getHandleMidpointAndOffset","handleMidpoint","handleOffset","handleCenterPixel","pixelDelta","isNaN","callback","updatedValue","mouseEventClientOffset","onRelease","removeDocumentEventListeners","finalValue","changeValue","clientToValue","continueHandleMovement","endHandleMovement","which","Keys","useOppositeDimension","handleRect","sizeKey","Handle","_prevProps","tickSizeRatio","offsetRatio","offsetCalc","onMouseDown","beginHandleMovement","handleKeyDown","onKeyUp","handleKeyUp","refHandlers","MultiSliderHandle","labelPrecision","handleElements","push","maybeHandles","Children","child","handles","sort","trackElement","trackSize","fillAfter","fillBefore","canHandleTrackEvent","closest","foundHandle","nearestHandleForValue","oldIndex","handleProps","getHandleValues","lockIndex","getLockedHandleIndex","lockValue","onRangeRelease","getNewHandleValues","range","onReleaseHandler","addHandleRef","labelRenderer","labelStepSize","labels","stepSizeRatio","activeLabels","offsetPercentage","formatLabel","getOffsetRatio","startRatio","endRatio","startOffset","Number","endOffset","orientationStyle","fillTrack","getTrackFill","trackStops","previous","track","renderTrackFill","getLabelPrecision","MultiSlider","prevHandleProps","newHandleProps","updateTickSize","getOffset","offsetValue","handleValue","SliderClass","WrapperClass","maybeHandleTrackClick","renderTracks","renderLabels","renderHandles","Slider","RangeIndex","RangeSlider","START","END","Switch","SwitchClass","SwitchWrapper","Textarea","rows","resize","TextareaClass","ActionButton","Toast","message","actions","titleClass","action","oldStyle","placement","newStyle","marginBottom","offsetMapping","marginTop","marginRight","marginLeft","hoverableDelay","medium","popupRef","getPopperChildren","mouseMoveHandler","handleMouseEnter","handleMouseLeave","boundaryScrollHandler","PopperWrapper","addBoundaryScrollHandler","boundaryElement","removeBoundaryScrollHandler","_throttleWait","triggerElement","zIndex","getZIndexForLayer","closeOnScroll","togglePopper","_timer","clearTimeout","hoverable","layerNode","parseInt","ev","onOutsideClickHandler","closeOnBackdropClick","doesEventContainsElement","outOfBoundaries","getUpdatedStyle","Manager","Reference","getTriggerElement","Popper","modifiers","preventOverflow","boundariesElement","enabled","hideOnReferenceEscape","defaultOnToggle","newOpen","PopoverWrapper","assign","tooltipWrapper","Dialog","dimension","primaryButtonAppearance","secondaryButtonAppearance","heading","description","primaryButtonLabel","primaryButtonCallback","secondaryButtonLabel","secondaryButtonCallback","Modal","headerOptions","footer","ModalDescription","getWrapperElement","querySelector","classList","add","appendChild","getUpdatedZIndex","ele","containerClassName","elementRef","siblings","prevZIndex","modalRef","backdropClose","ContainerClass","ModalContainer","ModalHeader","reason","ModalBody","withFooter","ModalFooter","ModalWrapper","WrapperElement","subHeading","backButton","backButtonCallback","wrapperRef","secondaryBtns","secondaryBtn_1","FullscreenModal","header","footerOptions","sidesheetWidth","Sidesheet","sidesheetRef","stickFooter","headerObj","SidesheetContainer","inSidesheet","stickToBottom","SidesheetWrapper","Status","readText","failedText","sendingText","StatusClass","TextClass","t","Box","isTyping","statusType","withStatus","MessageText","text","typingText","ChatMessage","statusOptions","imageHeight","HeadingSize","textSize","EmptyState","imageSrc","HeadingClass","src","backIcon","backIconCallback","Pagination","totalPages","onPageChange","page","setPage","nextButtonWrapperClass","prevButtonWrapperClass","inputChangeHandler","buttonType","buttonHelper","__spreadArrays","EditableInput","disableSaveAction","onInputChange","inputValue","setInputValue","EditableInputClass","EditableDefaultClass","InputClass","ActionClass","setDefaultComponent","onSaveChanges","onInputChangeHandler","inputComponent","renderChildren","ProgressRing","circumference","ProgressRingClass","Ring","strokeDasharray","strokeDashoffset","Step","completed","StepClass","onClickHandle","Stepper","steps","stepLabel","stepValue","StepperClass","step","activeStep","completedStep","steplabel","stepvalue","startInputOptions","endInputOptions","startError","endError","updateNav","eYear","eMonth","eDate","startPlaceholderChar","endPlaceholderChar","showStartError","showEndError","startErrorMessage","endErrorMessage","startLabel","endLabel","SingleInputTrigger","startValue","endValue","sValue","eValue","startVal","endVal","startD","isEndDateValid","endD","isStartDateValid","getCurrentYear","currentYear","getCurrentMonth","currentMonth","getCurrentWeek","currentDate","currentDay","getPreviousWeek","getPreviousMonth","getPrevious90Days","getCustomDates","isError","sYear","sMonth","sDate","getErrors","DateRangePicker","onRangeChangeHandler","singleInput","contentAlign","RangePickerClass","TabsWrapper","onTabChange","tabs","totalTabs","setActiveTab","tabClickHandler","TabsHeader","tabHeaderClass","Tab","Fragment","accepts","file","acceptedFiles","acceptedFilesArray","fileName_1","mimeType_1","baseMimeType_1","some","validType","endsWith","isPropagationStopped","cancelBubble","isEvtWithFiles","dataTransfer","files","prototype","call","types","onDocumentDragOver","composeEventHandlers","fns","args","fn","reducer","isFocused","isFileDialogActive","isDragActive","draggedFiles","fileRejections","fileErrorMessages","FILE_INVALID_TYPE","FILE_TOO_LARGE","FILE_TOO_SMALL","TOO_MANY_FILES","isDefined","getInvalidTypeRejectionErr","accept","updatedAccept","messageSuffix","getTooLargeRejectionErr","maxSize","getTooSmallRejectionErr","minSize","fileAccepted","isAcceptable","fileMatchSize","getFileError","multiple","typeError","accepted","sizeError","sizeMatch","allFilesAccepted","COMMON_MIME_TYPES","Map","FILES_TO_IGNORE","fromEvent","evt","isDragEvt","getDataTransferFiles","getInputFiles","toFileWithPath","path","withMimeType","webkitRelativePath","defineProperty","writable","configurable","enumerable","hasExtension","lastIndexOf","ext","pop","get","isInput","fromList","items","kind","all","toFilePromises","noIgnoredFiles","flatten","webkitGetAsEntry","fromDataTransferItem","entry","isDirectory","fromDirEntry","getAsFile","reject","fwp","fromEntry","fromFileEntry","reader","createReader","readEntries","batch","err_1","err","fullPath","initialState","isDragAccept","isDragReject","DropzoneBase","onDragEnter","onDragLeave","onDragOver","onDrop","onDropAccepted","onDropRejected","onFileDialogCancel","getFilesFromEvent","preventDropOnDocument","rootRef","useReducer","dispatch","openFileDialog","onWindowFocus","onKeyDownCb","isEqualNode","keyCode","onFocusCb","onBlurCb","dragTargetsRef","onDocumentDrop","onDragEnterCb","persist","onDragOverCb","dropEffect","onDragLeaveCb","targets","targetIdx","onDropCb","acceptError","customErrors","errors","composeHandler","composeKeyboardHandler","_fn","composeDragHandler","getRootProps","useMemo","refKey","onDragEnterCallback","onDragOverCallback","onDragLeaveCallback","onDropCallback","onInputElementClick","getInputProps","inputProps","display","fileCount","fileError","Infinity","DropzoneActive","DropzoneError","Dropzone","sizeLabel","sampleFileLink","DropzoneClass","renderDropzone","FileUploaderFormat","FileUploaderButton","uploadButtonLabel","FileUploaderButtonClass","fileList","FileUploader","FileUploaderClass","FileUploaderStatus","progress","status","onRetry","FileUploaderItem","onDelete","FileItemClass","FileUploaderList","FileListClass","fileName","resizeCol","elX","resizable","updateColumnSchema","pageX","sortColumn","sortingList","updateSortingList","pinColumn","schemaUpdate","pinned","hideColumn","hidden","getWidth","isPercent","checkboxCell","gridRef","checkboxWidth","gridWidth","getCellSize","cellType","sizes","AVATAR","AVATAR_WITH_TEXT","AVATAR_WITH_META_LIST","ICON","minWdth","STATUS_HINT","WITH_META_LIST","DEFAULT","updateBatchData","rowIndexes","dataUpdate","updatedData","rowIndexes_1","rowIndex","translateData","schema","newData","translate","translatedData","filterData","filterList","filteredData","keys","schemaName","filters","sIndex","onFilterChange","sortData","sortedData","defaultComparator","aData","bData","localeCompare","comparator","reverse","paginateData","pageSize","paginatedData","moveToIndex","to","newArr","getTotalPages","totalRecords","anyUnSelected","_selected","allUnSelected","getInit","getSchema","loaderSchema","GridNestedRow","nestedRowRenderer","HeaderCell","draggable","schemaProp","showMenu","headCellTooltip","showFilters","sorting","listIndex","sorted","sortOptions","pinOptions","unpinOption","hideOptions","unsortOption","filterOptions","fl","renderLabel","onMenuChange","BodyCell","expandedState","colIndex","nestedRows","setExpanded","cellProps","nestedProps","isNestedRowDisabled","cellRenderer","GridCell","head","firstCell","cellClass","onDragStart","setData","getData","reorderCol","visibility","GridHead","pinnedSchema","leftPinnedSchema","rightPinnedSchema","unpinnedSchema","renderCheckbox","show","renderSchema","currSchema","shouldRenderCheckbox","cI","GridRow","rI","rowRef","rowClasses","onRowClick","GridBody","inView","avgRowHeight","buffer","withPagination","errorTemplate","dummyRows","topPadding","bottomPadding","MainGrid","showHead","Grid","minRowHeight","comfortable","standard","compressed","tight","scrollHeight","scrollTop","onScrollHandler","newScroll","newInView","currScroll","clientHeight","rowHeight","newOffset","newAvgHeight","diff","onScroll","_this_1","newSchema","updateSchema","updateRenderedSchema","fromInd","toInd","updateFilterList","newFilterList","renderTitle","cellData","renderMetaList","metaList","renderIcon","renderStatusHint","statusAppearance","DraggableDropdown","tempOptions","setTempOptions","triggerWidth","setTriggerWidth","handleParentChange","handleChildChange","newOptions","onCancelHandler","onApplyHandler","Header","searchPlaceholder","dynamicColumn","allowSelectAll","selectAllRecords","setSelectAllRecords","flag","setFlag","filterSchema","onDynamicColumnUpdate","__assign","find","colSchema","selectedCount","defaultErrorTemplate","errorType","errorMessages","FAILED_TO_FETCH","NO_RECORDS_FOUND","multipleSorting","paginationType","filterPosition","searchUpdate","debounceUpdate","updateDataFn","fetchData","dataProp","onSearch","opts","searchedData","renderedData","renderedSchema","indexes","_","newPage","newSortingList","newSearchTerm","Table","updateData","withHeader","headerChildren","headerAttr","List","Navigation","menus","rounded","autoCollapse","menuState","setMenuState","currMenu","getMenu","updateMenuState","menus_1","subMenu","activeMenu","sm","nameSplit","name_1","menuData","isActive","getTextAppearance","isMenuActive","getIconAppearance","getHorizontalMenu","menuClasses","getVerticalMenu","activeMenuIcon","menuIconClasses","subMenuClasses","footerClasses","PageHeader","navigation","stepper","breadcrumbs","badge","meta","navigationPosition","renderCenter","audio","image","video","application","others","FileIcon","fileType","uploadingIconClass","FileListItem","fileItem","fileSize","FileList","actionRenderer"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAAO,IAAMA,UAAU,GAAG,SAAbA,UAAa,CAACC,KAAD;IAAmB,SAAAC,gBAAgB,CAACC,QAAQ,CAACC,eAAV,CAAhB,CAA2CC,gBAA3C,CAA4D,OAAKJ,KAAjE,CAAA;IAAyE,CAA/G;;;;;;;;;ICSA,IAAMK,YAAY,eACvBC,KAAC,QAAD,GAAW,SACXA,KAAC,WAAD,GAAc,gBAFS,CAAlB;IAKA,IAAMC,oBAAoB,GAAG,SAAvBA,oBAAuB,CAACC,eAAD,EAA0BC,IAA1B;IAClC,SAAOA,IAAI,IAAIA,IAAI,CAACC,QAAL,CAAcF,eAAd,CAAf;IACD,CAFM;IAIA,IAAMG,cAAc,GAAG,SAAjBA,cAAiB,CAACC,MAAD;IAC5B,SAAOA,MAAM,KAAK,UAAlB;IACD,CAFM;;IAIP,IAAMC,eAAe,GAAG,SAAlBA,eAAkB,CAACC,KAAD;IACtB,MAAMC,IAAI,GAAGD,KAAK,GAAG,EAAR,GAAa,IAAb,GAAoB,IAAjC;IACA,MAAME,GAAG,GAAGF,KAAK,GAAG,EAAR,IAAc,EAA1B;IACA,SAAO;IAAEE,IAAAA,GAAG,KAAL;IAAOD,IAAAA,IAA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GAAT,CAAa,UAACyiD,QAAD,EAAWniD,KAAX;IAAqB,wBAChC5C,8BAAA,CAAC8kD,YAAD;IACEriD,MAAAA,GAAG,EAAEG;IACLsF,MAAAA,OAAO,EAAEA;IACTsyB,MAAAA,OAAO,EAAE0qB,cAAc,IAAIA,cAAc,CAACH,QAAD;IACzCA,MAAAA,QAAQ,EAAEA;WACNA,SALN,CADgC;IAQjC,GARD,CADF,CADF;IAaD;IAEDE,QAAQ,CAACvkD,YAAT,GAAwB;IACtB8yC,EAAAA,QAAQ,EAAE;IADY,CAAxB;IAIAyR,QAAQ,CAACxkD,WAAT,GAAuB,UAAvB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"} \ No newline at end of file diff --git a/dist/index.umd.js b/dist/index.umd.js index f138a03c4c..7c60d590dc 100644 --- a/dist/index.umd.js +++ b/dist/index.umd.js @@ -1,8 +1,8 @@ /** - * Generated on: 1615366415968 + * Generated on: 1616155250715 * Package: @innovaccer/design-system - * Version: v1.7.1-0 + * Version: v1.7.1 * License: MIT * Docs: https://innovaccer.github.io/design-system */ @@ -16,7 +16,29 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; } + function _interopNamespace(e) { + if (e && e.__esModule) return e; + var n = Object.create(null); + if (e) { + Object.keys(e).forEach(function (k) { + if (k !== 'default') { + var d = Object.getOwnPropertyDescriptor(e, k); + Object.defineProperty(n, k, d.get ? d : { + enumerable: true, + get: function () { + return e[k]; + } + }); + } + }); + } + n['default'] = e; + return Object.freeze(n); + } + + var React__namespace = /*#__PURE__*/_interopNamespace(React); var React__default = /*#__PURE__*/_interopDefaultLegacy(React); + var ReactDOM__namespace = /*#__PURE__*/_interopNamespace(ReactDOM); var colorToHex = function colorToHex(color) { return getComputedStyle(document.documentElement).getPropertyValue("--".concat(color)); @@ -283,27 +305,27 @@ }; } - function _slicedToArray$6(arr, i) { - return _arrayWithHoles$7(arr) || _iterableToArrayLimit$6(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest$7(); + function _slicedToArray$7(arr, i) { + return _arrayWithHoles$8(arr) || _iterableToArrayLimit$7(arr, i) || _unsupportedIterableToArray$2(arr, i) || _nonIterableRest$8(); } - function _toConsumableArray$9(arr) { - return _arrayWithoutHoles$9(arr) || _iterableToArray$a(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread$9(); + function _toConsumableArray$b(arr) { + return _arrayWithoutHoles$b(arr) || _iterableToArray$c(arr) || _unsupportedIterableToArray$2(arr) || _nonIterableSpread$b(); } - function _arrayWithoutHoles$9(arr) { - if (Array.isArray(arr)) return _arrayLikeToArray(arr); + function _arrayWithoutHoles$b(arr) { + if (Array.isArray(arr)) return _arrayLikeToArray$2(arr); } - function _arrayWithHoles$7(arr) { + function _arrayWithHoles$8(arr) { if (Array.isArray(arr)) return arr; } - function _iterableToArray$a(iter) { + function _iterableToArray$c(iter) { if (typeof Symbol !== "undefined" && Symbol.iterator in Object(iter)) return Array.from(iter); } - function _iterableToArrayLimit$6(arr, i) { + function _iterableToArrayLimit$7(arr, i) { if (typeof Symbol === "undefined" || !(Symbol.iterator in Object(arr))) return; var _arr = []; var _n = true; @@ -330,16 +352,16 @@ return _arr; } - function _unsupportedIterableToArray(o, minLen) { + function _unsupportedIterableToArray$2(o, minLen) { if (!o) return; - if (typeof o === "string") return _arrayLikeToArray(o, minLen); + if (typeof o === "string") return _arrayLikeToArray$2(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); - if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); + if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$2(o, minLen); } - function _arrayLikeToArray(arr, len) { + function _arrayLikeToArray$2(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; @@ -347,11 +369,11 @@ return arr2; } - function _nonIterableSpread$9() { + function _nonIterableSpread$b() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } - function _nonIterableRest$7() { + function _nonIterableRest$8() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } @@ -359,7 +381,7 @@ var it; if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) { - if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { + if (Array.isArray(o) || (it = _unsupportedIterableToArray$2(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; @@ -671,10 +693,6 @@ return module = { exports: {} }, fn(module, module.exports), module.exports; } - function getCjsExportFromNamespace (n) { - return n && n['default'] || n; - } - var classnames = createCommonjsModule(function (module) { /*! Copyright (c) 2017 Jed Watson. @@ -771,15 +789,15 @@ var IconClass = classnames(_defineProperty$w({}, "Avatar-content--".concat(AvatarAppearance), AvatarAppearance)); var renderAvatar = function renderAvatar() { - return /*#__PURE__*/React.createElement("span", _extends$p({ + return /*#__PURE__*/React__namespace.createElement("span", _extends$p({ "data-test": "DesignSystem-Avatar" }, baseProps, { className: classes - }), initials && /*#__PURE__*/React.createElement(Text$1, { + }), initials && /*#__PURE__*/React__namespace.createElement(Text$1, { weight: "medium", appearance: 'white', className: ContentClass - }, initials), !initials && /*#__PURE__*/React.createElement(Icon, { + }, initials), !initials && /*#__PURE__*/React__namespace.createElement(Icon, { "data-test": "DesignSystem-AvatarIcon", name: "person", size: size === 'regular' ? 16 : 12, @@ -790,7 +808,7 @@ var renderTooltip = function renderTooltip() { if (withTooltip && initials) { - return /*#__PURE__*/React.createElement(Tooltip, { + return /*#__PURE__*/React__namespace.createElement(Tooltip, { tooltip: tooltip, position: tooltipPosition, triggerClass: 'flex-grow-0' @@ -839,10 +857,10 @@ }; var AvatarGroupClass = classnames(_defineProperty$w({}, 'AvatarGroup', true), className); var popperClass = classnames(_defineProperty$w({}, 'AvatarGroup-Popper', true), popperClassName); - var trigger = /*#__PURE__*/React.createElement("div", { + var trigger = /*#__PURE__*/React__namespace.createElement("div", { "data-test": "DesignSystem-AvatarGroup--TriggerAvatar", style: style - }, /*#__PURE__*/React.createElement(Avatar, { + }, /*#__PURE__*/React__namespace.createElement(Avatar, { appearance: "secondary", firstName: "+", lastName: "".concat(extraAvatars), @@ -856,9 +874,9 @@ return popperRenderer(extraAvatarsList); } - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { className: "py-6 pr-4 pl-6" - }, /*#__PURE__*/React.createElement("div", { + }, /*#__PURE__*/React__namespace.createElement("div", { className: "AvatarGroup-TextWrapper", style: { maxHeight: maxHeight @@ -869,7 +887,7 @@ _item$lastName = item.lastName, lastName = _item$lastName === void 0 ? '' : _item$lastName; var name = "".concat(firstName, " ").concat(lastName); - return /*#__PURE__*/React.createElement(Text$1, { + return /*#__PURE__*/React__namespace.createElement(Text$1, { key: ind, appearance: dark ? 'white' : 'default', className: ind < extraAvatars - 1 ? 'mb-5' : '', @@ -883,12 +901,12 @@ var appearance = item.appearance, firstName = item.firstName, lastName = item.lastName; - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { "data-test": "DesignSystem-AvatarGroup--Avatar", className: "AvatarGroup-item", style: style, key: index - }, /*#__PURE__*/React.createElement(Avatar, { + }, /*#__PURE__*/React__namespace.createElement(Avatar, { appearance: appearance, firstName: firstName, lastName: lastName, @@ -899,11 +917,11 @@ return avatars; }; - return /*#__PURE__*/React.createElement("div", _extends$p({ + return /*#__PURE__*/React__namespace.createElement("div", _extends$p({ "data-test": "DesignSystem-AvatarGroup" }, baseProps, { className: "".concat(AvatarGroupClass, " d-inline-flex") - }), renderAvatars(), list.length - max > 0 && /*#__PURE__*/React.createElement(Popover, { + }), renderAvatars(), list.length - max > 0 && /*#__PURE__*/React__namespace.createElement(Popover, { on: on, dark: dark, trigger: trigger, @@ -920,24 +938,24 @@ popoverOptions: {} }; - var useEffect$1 = React.useEffect, - useState$2 = React.useState; + var useEffect$1 = React__namespace.useEffect, + useState$2 = React__namespace.useState; var Backdrop = function Backdrop(props) { var className = props.className; var baseProps = extractBaseProps(props); var _useState = useState$2(null), - _useState2 = _slicedToArray$6(_useState, 2), + _useState2 = _slicedToArray$7(_useState, 2), savedBodyOverflow = _useState2[0], setBodyOverflow = _useState2[1]; - var _React$useState = React.useState(props.open), - _React$useState2 = _slicedToArray$6(_React$useState, 2), + var _React$useState = React__namespace.useState(props.open), + _React$useState2 = _slicedToArray$7(_React$useState, 2), open = _React$useState2[0], setOpen = _React$useState2[1]; - var _React$useState3 = React.useState(props.open), - _React$useState4 = _slicedToArray$6(_React$useState3, 2), + var _React$useState3 = React__namespace.useState(props.open), + _React$useState4 = _slicedToArray$7(_React$useState3, 2), animate = _React$useState4[0], setAnimate = _React$useState4[1]; @@ -973,7 +991,7 @@ enableBodyScroll(); } }, [props.open]); - var BackdropElement = /*#__PURE__*/ReactDOM.createPortal( /*#__PURE__*/React.createElement("div", _extends$p({ + var BackdropElement = /*#__PURE__*/ReactDOM__namespace.createPortal( /*#__PURE__*/React__namespace.createElement("div", _extends$p({ "data-test": "DesignSystem-Backdrop", "data-layer": true }, baseProps, { @@ -994,7 +1012,7 @@ var classes = classnames((_classNames = { Badge: true }, _defineProperty$w(_classNames, "Badge--".concat(appearance), appearance && !subtle), _defineProperty$w(_classNames, "Badge--subtle-".concat(appearance), subtle), _classNames), className); - return /*#__PURE__*/React.createElement("span", _extends$p({ + return /*#__PURE__*/React__namespace.createElement("span", _extends$p({ "data-test": "DesignSystem-Badge" }, baseProps, { className: classes @@ -1204,7 +1222,7 @@ }; }; - var DropdownButton = /*#__PURE__*/React.forwardRef(function (props, ref) { + var DropdownButton = /*#__PURE__*/React__namespace.forwardRef(function (props, ref) { var _classNames, _classNames2; var _props$triggerSize = props.triggerSize, @@ -1227,7 +1245,7 @@ var iconName = !menu ? 'keyboard_arrow_down' : icon ? icon : 'more_horiz'; var buttonClass = classnames((_classNames = {}, _defineProperty$w(_classNames, 'Button', true), _defineProperty$w(_classNames, 'DropdownButton', true), _defineProperty$w(_classNames, "DropdownButton--".concat(triggerSize), triggerSize), _defineProperty$w(_classNames, "DropdownButton--".concat(triggerSize, "Square"), menu), _defineProperty$w(_classNames, 'DropdownButton--placeholder', !children && !menu), _defineProperty$w(_classNames, 'DropdownButton--icon', icon), _defineProperty$w(_classNames, 'DropdownButton--open', open), _defineProperty$w(_classNames, 'DropdownButton--error', error), _classNames)); var textClass = classnames((_classNames2 = {}, _defineProperty$w(_classNames2, 'Text', true), _defineProperty$w(_classNames2, 'Text--regular', true), _defineProperty$w(_classNames2, 'DropdownButton-text', true), _classNames2)); - return /*#__PURE__*/React.createElement("button", _extends$p({ + return /*#__PURE__*/React__namespace.createElement("button", _extends$p({ ref: ref, type: "button", value: children, @@ -1235,18 +1253,18 @@ disabled: disabled, tabIndex: 0, "data-test": "DesignSystem-DropdownTrigger" - }, rest), !menu && /*#__PURE__*/React.createElement("div", { + }, rest), !menu && /*#__PURE__*/React__namespace.createElement("div", { className: "DropdownButton-wrapper" - }, inlineLabel && /*#__PURE__*/React.createElement(Text$1, { + }, inlineLabel && /*#__PURE__*/React__namespace.createElement(Text$1, { appearance: "subtle", className: "mr-4" - }, "".concat(inlineLabel.trim().charAt(0).toUpperCase()).concat(inlineLabel.trim().slice(1))), icon && !inlineLabel && /*#__PURE__*/React.createElement(Icon, { + }, "".concat(inlineLabel.trim().charAt(0).toUpperCase()).concat(inlineLabel.trim().slice(1))), icon && !inlineLabel && /*#__PURE__*/React__namespace.createElement(Icon, { appearance: buttonDisabled, className: "d-flex align-items-center mr-4", name: icon - }), value && /*#__PURE__*/React.createElement("span", { + }), value && /*#__PURE__*/React__namespace.createElement("span", { className: textClass - }, value)), /*#__PURE__*/React.createElement(Icon, { + }, value)), /*#__PURE__*/React__namespace.createElement(Icon, { appearance: buttonDisabled, name: iconName })); @@ -1260,7 +1278,7 @@ className = _ref.className, props = _objectWithoutProperties$a(_ref, ["children", "componentType", "className"]); - return /*#__PURE__*/React.createElement(componentType, _objectSpread2(_objectSpread2({}, props), {}, { + return /*#__PURE__*/React__namespace.createElement(componentType, _objectSpread2(_objectSpread2({}, props), {}, { className: className }), children); }; @@ -1278,7 +1296,7 @@ var classes = classnames((_classNames = { Text: true }, _defineProperty$w(_classNames, "Text--".concat(appearance), appearance), _defineProperty$w(_classNames, "Text--".concat(weight), weight), _defineProperty$w(_classNames, "Text--".concat(size), size), _defineProperty$w(_classNames, 'Text--small', size === 'small' || small), _classNames), className); - return /*#__PURE__*/React.createElement(GenericText, _extends$p({ + return /*#__PURE__*/React__namespace.createElement(GenericText, _extends$p({ "data-test": "DesignSystem-Text" }, baseProps, { className: classes, @@ -1315,13 +1333,13 @@ width: "".concat(size, "px") }; // change `children` to {name} after migration - if (children && /*#__PURE__*/React.isValidElement(children)) { - return /*#__PURE__*/React.createElement("span", _extends$p({}, baseProps, { + if (children && /*#__PURE__*/React__namespace.isValidElement(children)) { + return /*#__PURE__*/React__namespace.createElement("span", _extends$p({}, baseProps, { className: className }), children); } - return /*#__PURE__*/React.createElement("i", _extends$p({}, baseProps, { + return /*#__PURE__*/React__namespace.createElement("i", _extends$p({}, baseProps, { className: iconClass, style: styles, onClick: onClick @@ -1348,7 +1366,7 @@ * - [Controlled Checkbox](https://reactjs.org/docs/forms.html#controlled-components) * - [Uncontrolled Checkbox](https://reactjs.org/docs/uncontrolled-components.html) */ - var Checkbox = /*#__PURE__*/React.forwardRef(function (props, forwardedRef) { + var Checkbox = /*#__PURE__*/React__namespace.forwardRef(function (props, forwardedRef) { var _classNames, _classNames3, _classNames4, _classNames5; var _props$size = props.size, @@ -1363,21 +1381,21 @@ name = props.name, value = props.value, className = props.className; - var ref = React.useRef(null); + var ref = React__namespace.useRef(null); var baseProps = extractBaseProps(props); - React.useImperativeHandle(forwardedRef, function () { + React__namespace.useImperativeHandle(forwardedRef, function () { return ref.current; }); - var _React$useState = React.useState(props.checked === undefined ? defaultChecked : props.checked), - _React$useState2 = _slicedToArray$6(_React$useState, 2), + var _React$useState = React__namespace.useState(props.checked === undefined ? defaultChecked : props.checked), + _React$useState2 = _slicedToArray$7(_React$useState, 2), checked = _React$useState2[0], setChecked = _React$useState2[1]; - React.useEffect(function () { + React__namespace.useEffect(function () { setIndeterminate(indeterminate); }, [indeterminate]); - React.useEffect(function () { + React__namespace.useEffect(function () { if (props.checked !== undefined) { setChecked(props.checked); } @@ -1404,11 +1422,11 @@ var id = "".concat(name, "-").concat(label, "-").concat(uidGenerator()); var IconName = indeterminate ? 'remove' : checked ? 'check' : ''; var IconSize = size === 'tiny' ? 8 : 16; - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { className: CheckboxClass - }, /*#__PURE__*/React.createElement("div", { + }, /*#__PURE__*/React__namespace.createElement("div", { className: CheckboxOuterWrapper - }, /*#__PURE__*/React.createElement("input", _extends$p({}, baseProps, { + }, /*#__PURE__*/React__namespace.createElement("input", _extends$p({}, baseProps, { type: "checkbox", defaultChecked: defaultChecked, onChange: onChangeHandler, @@ -1420,16 +1438,16 @@ className: CheckboxInputWrapper, tabIndex: tabIndex, id: id - })), /*#__PURE__*/React.createElement("span", { + })), /*#__PURE__*/React__namespace.createElement("span", { className: CheckboxWrapper - }, IconName && /*#__PURE__*/React.createElement(Icon, { + }, IconName && /*#__PURE__*/React__namespace.createElement(Icon, { name: IconName, size: IconSize, appearance: 'white' - }))), label && label.trim() && /*#__PURE__*/React.createElement("label", { + }))), label && label.trim() && /*#__PURE__*/React__namespace.createElement("label", { htmlFor: id, className: CheckboxTextClass - }, /*#__PURE__*/React.createElement(Text$1, { + }, /*#__PURE__*/React__namespace.createElement(Text$1, { size: size === 'tiny' ? 'small' : 'regular', appearance: disabled ? 'disabled' : 'default' }, label.trim()))); @@ -1445,12 +1463,12 @@ dataTest = props.dataTest; var label = optionData.label, disabled = optionData.disabled; - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { className: className, onMouseEnter: onUpdateActiveOption, "data-test": dataTest, "data-disabled": disabled - }, /*#__PURE__*/React.createElement(Checkbox, { + }, /*#__PURE__*/React__namespace.createElement(Checkbox, { label: label, disabled: disabled, checked: selected, @@ -1470,15 +1488,15 @@ dataTest = props.dataTest; var label = optionData.label, disabled = optionData.disabled; - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { className: className, onClick: onClickHandler, onMouseEnter: onUpdateActiveOption, "data-test": dataTest, "data-disabled": disabled - }, /*#__PURE__*/React.createElement("div", { + }, /*#__PURE__*/React__namespace.createElement("div", { className: 'Option-label' - }, /*#__PURE__*/React.createElement(Text$1, { + }, /*#__PURE__*/React__namespace.createElement(Text$1, { className: textClassName, appearance: appearance }, label))); @@ -1496,15 +1514,15 @@ var subInfo = optionData.subInfo, label = optionData.label, disabled = optionData.disabled; - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { className: className, onClick: onClickHandler, onMouseEnter: onUpdateActiveOption, "data-test": dataTest, "data-disabled": disabled - }, /*#__PURE__*/React.createElement("div", { + }, /*#__PURE__*/React__namespace.createElement("div", { className: 'Option-label' - }, /*#__PURE__*/React.createElement(Text$1, { + }, /*#__PURE__*/React__namespace.createElement(Text$1, { className: textClassName, appearance: appearance }, label), subInfo && renderSubInfo(subInfo))); @@ -1524,19 +1542,19 @@ icon = optionData.icon, disabled = optionData.disabled; var OptionClass = classnames((_classNames = {}, _defineProperty$w(_classNames, "".concat(className), true), _defineProperty$w(_classNames, 'Option--icon', icon), _classNames)); - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { className: OptionClass, onClick: onClickHandler, onMouseEnter: onUpdateActiveOption, "data-test": dataTest, "data-disabled": disabled - }, icon && /*#__PURE__*/React.createElement(Icon, { + }, icon && /*#__PURE__*/React__namespace.createElement(Icon, { className: "Option-icon mr-4", name: icon, appearance: appearance - }), /*#__PURE__*/React.createElement("div", { + }), /*#__PURE__*/React__namespace.createElement("div", { className: 'Option-label' - }, /*#__PURE__*/React.createElement(Text$1, { + }, /*#__PURE__*/React__namespace.createElement(Text$1, { className: textClassName, appearance: appearance }, label))); @@ -1558,19 +1576,19 @@ icon = optionData.icon, disabled = optionData.disabled; var OptionClass = classnames((_classNames = {}, _defineProperty$w(_classNames, "".concat(className), true), _defineProperty$w(_classNames, 'Option--icon', icon), _classNames)); - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { className: OptionClass, onClick: onClickHandler, onMouseEnter: onUpdateActiveOption, "data-test": dataTest, "data-disabled": disabled - }, icon && /*#__PURE__*/React.createElement(Icon, { + }, icon && /*#__PURE__*/React__namespace.createElement(Icon, { className: "Option-icon mr-4", name: icon, appearance: appearance - }), /*#__PURE__*/React.createElement("div", { + }), /*#__PURE__*/React__namespace.createElement("div", { className: 'Option-label' - }, /*#__PURE__*/React.createElement(Text$1, { + }, /*#__PURE__*/React__namespace.createElement(Text$1, { className: textClassName, appearance: appearance }, label), subInfo && renderSubInfo(subInfo))); @@ -1620,7 +1638,7 @@ }; if (props.optionRenderer) { - return /*#__PURE__*/React.createElement("div", _extends$p({ + return /*#__PURE__*/React__namespace.createElement("div", _extends$p({ className: customOptionClass, "data-disabled": disabled, onMouseEnter: onUpdateActiveOption @@ -1640,7 +1658,7 @@ var iconAppearance = selected ? 'white' : 'disabled'; if (typeof subInfo === 'string') { - return /*#__PURE__*/React.createElement(Text$1, { + return /*#__PURE__*/React__namespace.createElement(Text$1, { appearance: labelAppearance }, subInfo); } @@ -1648,7 +1666,7 @@ var _subInfo$list = subInfo.list, list = _subInfo$list === void 0 ? [] : _subInfo$list, seperator = subInfo.seperator; - return /*#__PURE__*/React.createElement(MetaList, { + return /*#__PURE__*/React__namespace.createElement(MetaList, { list: list, seperator: seperator, iconAppearance: iconAppearance, @@ -1689,9 +1707,9 @@ var wrapperClass = classnames((_classNames2 = { 'PlaceholderParagraph-wrapper': true }, _defineProperty$w(_classNames2, "PlaceholderParagraph-wrapper--length-".concat(length), length), _defineProperty$w(_classNames2, "PlaceholderParagraph-wrapper--size-".concat(size), size), _classNames2), className); - return /*#__PURE__*/React.createElement("div", _extends$p({}, baseProps, { + return /*#__PURE__*/React__namespace.createElement("div", _extends$p({}, baseProps, { className: wrapperClass - }), /*#__PURE__*/React.createElement("span", { + }), /*#__PURE__*/React__namespace.createElement("span", { className: classes })); }; @@ -1712,7 +1730,7 @@ PlaceholderImage: true, 'Placeholder--animation': true }, _defineProperty$w(_classNames, 'PlaceholderImage--round', round), _defineProperty$w(_classNames, "PlaceholderImage--".concat(size), size), _classNames), className); - return /*#__PURE__*/React.createElement("span", _extends$p({}, baseProps, { + return /*#__PURE__*/React__namespace.createElement("span", _extends$p({}, baseProps, { className: classes })); }; @@ -1732,15 +1750,15 @@ 'Placeholder-paragraph': true }, 'Placeholder-paragraph--withImage', withImage)); var classes = classnames(_defineProperty$w({}, 'Placeholder', true), className); - return /*#__PURE__*/React.createElement("div", _extends$p({ + return /*#__PURE__*/React__namespace.createElement("div", _extends$p({ "data-test": "DesignSystem-Placeholder" }, baseProps, { className: classes - }), withImage && /*#__PURE__*/React.createElement(PlaceholderImage, { + }), withImage && /*#__PURE__*/React__namespace.createElement(PlaceholderImage, { round: round, size: imageSize, "data-test": "DesignSystem-Placeholder--Image" - }), children && /*#__PURE__*/React.createElement("div", { + }), children && /*#__PURE__*/React__namespace.createElement("div", { className: paragraphClasses, "data-test": "DesignSystem-Placeholder--Paragraph" }, children)); @@ -1846,23 +1864,23 @@ toggleDropdown = props.toggleDropdown, className = props.className; var baseProps = extractBaseProps(props); - var dropdownRef = /*#__PURE__*/React.createRef(); - var triggerRef = /*#__PURE__*/React.createRef(); - var dropdownTriggerRef = /*#__PURE__*/React.createRef(); - var dropdownCancelButtonRef = /*#__PURE__*/React.createRef(); - var dropdownApplyButtonRef = /*#__PURE__*/React.createRef(); - - var _React$useState = React.useState(), - _React$useState2 = _slicedToArray$6(_React$useState, 2), + var dropdownRef = /*#__PURE__*/React__namespace.createRef(); + var triggerRef = /*#__PURE__*/React__namespace.createRef(); + var dropdownTriggerRef = /*#__PURE__*/React__namespace.createRef(); + var dropdownCancelButtonRef = /*#__PURE__*/React__namespace.createRef(); + var dropdownApplyButtonRef = /*#__PURE__*/React__namespace.createRef(); + + var _React$useState = React__namespace.useState(), + _React$useState2 = _slicedToArray$7(_React$useState, 2), popoverStyle = _React$useState2[0], setPopoverStyle = _React$useState2[1]; - var _React$useState3 = React.useState(firstEnabledOption), - _React$useState4 = _slicedToArray$6(_React$useState3, 2), + var _React$useState3 = React__namespace.useState(firstEnabledOption), + _React$useState4 = _slicedToArray$7(_React$useState3, 2), cursor = _React$useState4[0], setCursor = _React$useState4[1]; - React.useEffect(function () { + React__namespace.useEffect(function () { if (dropdownOpen) { var _triggerRef$current; @@ -1879,7 +1897,7 @@ setPopoverStyle(popperWrapperStyle); } }, [dropdownOpen]); - React.useEffect(function () { + React__namespace.useEffect(function () { if (firstEnabledOption !== cursor) setCursor(firstEnabledOption); }, [firstEnabledOption]); var _props$triggerSize = props.triggerSize, @@ -1891,12 +1909,12 @@ disabled = props.disabled, inlineLabel = props.inlineLabel, triggerLabel = props.triggerLabel; - var CustomTrigger = customTrigger ? customTrigger(triggerLabel ? triggerLabel : placeholder) : /*#__PURE__*/React.createElement(React.Fragment, null); - var NewCustomTrigger = /*#__PURE__*/React.cloneElement(CustomTrigger, { + var CustomTrigger = customTrigger ? customTrigger(triggerLabel ? triggerLabel : placeholder) : /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null); + var NewCustomTrigger = /*#__PURE__*/React__namespace.cloneElement(CustomTrigger, { tabindex: 0, ref: dropdownTriggerRef }); - var trigger = customTrigger ? NewCustomTrigger : /*#__PURE__*/React.createElement(DropdownButton, { + var trigger = customTrigger ? NewCustomTrigger : /*#__PURE__*/React__namespace.createElement(DropdownButton, { placeholder: placeholder, triggerSize: triggerSize, open: dropdownOpen, @@ -1975,9 +1993,9 @@ var renderFooter = function renderFooter() { var _props$footerLabel = props.footerLabel, footerLabel = _props$footerLabel === void 0 ? 'Search for more options' : _props$footerLabel; - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { className: 'Dropdown-footer' - }, /*#__PURE__*/React.createElement(Text$1, { + }, /*#__PURE__*/React__namespace.createElement(Text$1, { size: "small", appearance: 'subtle' }, footerLabel)); @@ -1988,12 +2006,12 @@ var isClearDisabled = selected.every(function (option) { return option.disabled; }); - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { className: getDropdownSectionClass(selectedGroup) - }, /*#__PURE__*/React.createElement(Text$1, { + }, /*#__PURE__*/React__namespace.createElement(Text$1, { size: "small", appearance: 'subtle' - }, group), selectedGroup && /*#__PURE__*/React.createElement(Button, { + }, group), selectedGroup && /*#__PURE__*/React__namespace.createElement(Button, { onClick: onClearOptions, disabled: isClearDisabled, appearance: "transparent", @@ -2004,16 +2022,16 @@ var renderApplyButton = function renderApplyButton() { var disable = _isEqual(previousSelected, tempSelected); - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { className: 'Dropdown-buttonWrapper' - }, /*#__PURE__*/React.createElement(Button, { + }, /*#__PURE__*/React__namespace.createElement(Button, { ref: dropdownCancelButtonRef, className: "mr-4", appearance: 'basic', onClick: onCancelOptions, size: 'tiny', tabIndex: -1 - }, cancelButtonLabel), /*#__PURE__*/React.createElement(Button, { + }, cancelButtonLabel), /*#__PURE__*/React__namespace.createElement(Button, { ref: dropdownApplyButtonRef, appearance: 'primary', disabled: disable, @@ -2026,9 +2044,9 @@ var loadingOptions = props.loadingOptions, searchInit = props.searchInit; var disable = loadingOptions && !searchInit; - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { className: 'Dropdown-inputWrapper' - }, /*#__PURE__*/React.createElement(Input, { + }, /*#__PURE__*/React__namespace.createElement(Input, { name: "Dropdown-search", icon: 'search', value: searchTerm, @@ -2047,10 +2065,10 @@ var arr = Array(loadersLength).fill('Loading'); var type = withCheckbox ? 'WITH_CHECKBOX' : optionType; return arr.map(function (option, ind) { - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { className: "Option-loading", key: "".concat(option, "-").concat(ind) - }, /*#__PURE__*/React.createElement(Loading, { + }, /*#__PURE__*/React__namespace.createElement(Loading, { loadingType: type })); }); @@ -2062,12 +2080,12 @@ selectAll = props.selectAll, onSelectAll = props.onSelectAll; var label = selectAllLabel.trim() ? selectAllLabel.trim() : 'Select All'; - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { className: SelectAllClass, onMouseEnter: function onMouseEnter(_e) { return updateActiveOption(0, true); } - }, /*#__PURE__*/React.createElement(Checkbox, { + }, /*#__PURE__*/React__namespace.createElement(Checkbox, { label: label, onChange: onSelectAll, checked: selectAll.checked, @@ -2088,7 +2106,7 @@ var optionIsSelected = tempSelected.findIndex(function (option) { return option.value === item.value; }) !== -1; - return /*#__PURE__*/React.createElement(Option, { + return /*#__PURE__*/React__namespace.createElement(Option, { optionData: item, truncateOption: truncateOption, selected: optionIsSelected, @@ -2118,9 +2136,9 @@ var selectAllPresent = _isSelectAllPresent(searchTerm, remainingOptions, withSelectAll, withCheckbox); if (loadersCount && loadingOptions) { - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { className: 'Dropdown-loading' - }, /*#__PURE__*/React.createElement("div", { + }, /*#__PURE__*/React__namespace.createElement("div", { className: "Dropdown-wrapper", style: dropdownStyle }, renderLoading(loadersCount))); @@ -2129,16 +2147,16 @@ if (listOptions.length === 0 && !loadingOptions) { var _props$noResultMessag = props.noResultMessage, noResultMessage = _props$noResultMessag === void 0 ? 'No result found' : _props$noResultMessag; - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { className: 'Dropdown-errorWrapper' - }, /*#__PURE__*/React.createElement("div", { + }, /*#__PURE__*/React__namespace.createElement("div", { className: 'Option' - }, /*#__PURE__*/React.createElement("div", { + }, /*#__PURE__*/React__namespace.createElement("div", { className: 'Option-subinfo' }, noResultMessage))); } - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { className: dropdownWrapperClass, style: dropdownStyle, ref: dropdownRef @@ -2149,7 +2167,7 @@ var currentGroup = option.group; var isGroup = prevGroup !== currentGroup; var updatedIndex = index + selected.length; - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { className: getDropdownClass(updatedIndex, isGroup), key: index }, isGroup && currentGroup && renderGroups(currentGroup), renderOptions(option, updatedIndex)); @@ -2244,11 +2262,11 @@ } }; - return /*#__PURE__*/React.createElement("div", _extends$p({}, baseProps, { + return /*#__PURE__*/React__namespace.createElement("div", _extends$p({}, baseProps, { className: dropdownClass, ref: triggerRef, onKeyDown: onkeydown - }), /*#__PURE__*/React.createElement(Popover, _extends$p({ + }), /*#__PURE__*/React__namespace.createElement(Popover, _extends$p({ onToggle: onToggleDropdown, trigger: trigger, triggerClass: !menu ? 'w-100' : '', @@ -2260,7 +2278,7 @@ DropdownList.displayName = 'DropdownList'; - var inputRef = /*#__PURE__*/React.createRef(); + var inputRef = /*#__PURE__*/React__namespace.createRef(); /** * ###Note: @@ -2586,9 +2604,9 @@ var selectedDisabledArray = selectedArr.filter(function (option) { return option.disabled; }); - var selectedArray = event.target.checked ? [].concat(_toConsumableArray$9(options.filter(function (option) { + var selectedArray = event.target.checked ? [].concat(_toConsumableArray$b(options.filter(function (option) { return !option.disabled; - })), _toConsumableArray$9(selectedDisabledArray)) : selectedDisabledArray; + })), _toConsumableArray$b(selectedDisabledArray)) : selectedDisabledArray; _this.updateSelectedOptions(selectedArray, false); }); @@ -2862,7 +2880,7 @@ var firstEnabledOption = _isSelectAllPresent(searchTerm, remainingOptionsLen, withSelectAll, withCheckbox) ? 0 : options.findIndex(function (option) { return !option.disabled; }); - return /*#__PURE__*/React.createElement(DropdownList, _extends$p({ + return /*#__PURE__*/React__namespace.createElement(DropdownList, _extends$p({ listOptions: options, inputRef: inputRef, remainingOptions: remainingOptionsLen, @@ -2891,7 +2909,7 @@ }]); return Dropdown; - }(React.Component); + }(React__namespace.Component); _defineProperty$w(Dropdown, "defaultProps", { triggerOptions: {}, @@ -2911,7 +2929,7 @@ onClick(); }; - return /*#__PURE__*/React.createElement("a", { + return /*#__PURE__*/React__namespace.createElement("a", { className: "SubtleLink", href: href, onClick: onClickHandler @@ -2919,7 +2937,7 @@ }; var renderLink = function renderLink(item, _onClick) { - return /*#__PURE__*/React.createElement(SubtleLink, { + return /*#__PURE__*/React__namespace.createElement(SubtleLink, { href: item.link, onClick: function onClick() { return _onClick(item.link); @@ -2936,14 +2954,14 @@ }); var customTrigger = function customTrigger() { - return /*#__PURE__*/React.createElement(Button, { + return /*#__PURE__*/React__namespace.createElement(Button, { size: "tiny", appearance: "transparent", icon: "more_horiz_filled" }); }; - return /*#__PURE__*/React.createElement(Dropdown, { + return /*#__PURE__*/React__namespace.createElement(Dropdown, { triggerSize: 'tiny', triggerOptions: { customTrigger: customTrigger @@ -2962,32 +2980,32 @@ className = props.className; var baseProps = extractBaseProps(props); var BreadcrumbClass = classnames(_defineProperty$w({}, 'Breadcrumbs', true), className); - return /*#__PURE__*/React.createElement("div", _extends$p({}, baseProps, { + return /*#__PURE__*/React__namespace.createElement("div", _extends$p({}, baseProps, { className: BreadcrumbClass }), list.length <= 4 ? list.map(function (item, index) { - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { key: index, className: "Breadcrumbs-item" - }, /*#__PURE__*/React.createElement("span", { + }, /*#__PURE__*/React__namespace.createElement("span", { className: "Breadcrumbs-link" - }, renderLink(item, onClick)), /*#__PURE__*/React.createElement("span", { + }, renderLink(item, onClick)), /*#__PURE__*/React__namespace.createElement("span", { className: "Breadcrumbs-itemSeparator" }, "/")); - }) : /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", { + }) : /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, /*#__PURE__*/React__namespace.createElement("div", { className: "Breadcrumbs-item" - }, /*#__PURE__*/React.createElement("span", { + }, /*#__PURE__*/React__namespace.createElement("span", { className: "Breadcrumbs-link" - }, renderLink(list[0], onClick)), /*#__PURE__*/React.createElement("span", { + }, renderLink(list[0], onClick)), /*#__PURE__*/React__namespace.createElement("span", { className: "Breadcrumbs-itemSeparator" - }, "/")), /*#__PURE__*/React.createElement("div", { + }, "/")), /*#__PURE__*/React__namespace.createElement("div", { className: "Breadcrumbs-dropdown" - }, renderDropdown(list.slice(1, list.length - 1), onClick), /*#__PURE__*/React.createElement("span", { + }, renderDropdown(list.slice(1, list.length - 1), onClick), /*#__PURE__*/React__namespace.createElement("span", { className: "Breadcrumbs-itemSeparator" - }, "/")), /*#__PURE__*/React.createElement("div", { + }, "/")), /*#__PURE__*/React__namespace.createElement("div", { className: "Breadcrumbs-item" - }, /*#__PURE__*/React.createElement("span", { + }, /*#__PURE__*/React__namespace.createElement("span", { className: "Breadcrumbs-link" - }, renderLink(list[list.length - 1], onClick)), /*#__PURE__*/React.createElement("span", { + }, renderLink(list[list.length - 1], onClick)), /*#__PURE__*/React__namespace.createElement("span", { className: "Breadcrumbs-itemSeparator" }, "/")))); }; @@ -3014,9 +3032,9 @@ strokeMiterlimit: '10', strokeWidth: '4' }; - return /*#__PURE__*/React.createElement("svg", _extends$p({}, baseProps, { + return /*#__PURE__*/React__namespace.createElement("svg", _extends$p({}, baseProps, { className: wrapperClasses - }, svgProps), /*#__PURE__*/React.createElement("circle", _extends$p({ + }, svgProps), /*#__PURE__*/React__namespace.createElement("circle", _extends$p({ className: circleClasses }, circleProps))); }; @@ -3031,7 +3049,7 @@ regular: 16, large: 20 }; - var Button = /*#__PURE__*/React.forwardRef(function (props, ref) { + var Button = /*#__PURE__*/React__namespace.forwardRef(function (props, ref) { var _classNames, _classNames2, _classNames3; var _props$size = props.size, @@ -3055,20 +3073,20 @@ var buttonClass = classnames((_classNames = {}, _defineProperty$w(_classNames, 'Button', true), _defineProperty$w(_classNames, 'Button--expanded', expanded), _defineProperty$w(_classNames, "Button--".concat(size), size), _defineProperty$w(_classNames, "Button--".concat(size, "Square"), !children), _defineProperty$w(_classNames, "Button--".concat(appearance), appearance), _defineProperty$w(_classNames, 'Button--selected', selected && (appearance === 'basic' || appearance === 'transparent')), _defineProperty$w(_classNames, "Button--iconAlign-".concat(iconAlign), children && iconAlign), _defineProperty$w(_classNames, "".concat(className), className), _classNames)); var iconClass = classnames((_classNames2 = {}, _defineProperty$w(_classNames2, 'Button-icon', true), _defineProperty$w(_classNames2, "Button-icon--".concat(iconAlign), children && iconAlign), _classNames2)); var spinnerClass = classnames((_classNames3 = {}, _defineProperty$w(_classNames3, 'Button-spinner', true), _defineProperty$w(_classNames3, "Button-spinner--".concat(iconAlign), children && iconAlign), _classNames3)); - return /*#__PURE__*/React.createElement("button", _extends$p({ + return /*#__PURE__*/React__namespace.createElement("button", _extends$p({ ref: ref, type: type, className: buttonClass, disabled: disabled || loading, tabIndex: tabIndex - }, rest), loading && /*#__PURE__*/React.createElement("span", { + }, rest), loading && /*#__PURE__*/React__namespace.createElement("span", { className: spinnerClass - }, /*#__PURE__*/React.createElement(Spinner, { + }, /*#__PURE__*/React__namespace.createElement(Spinner, { size: "small", appearance: appearance === 'basic' || appearance === 'transparent' ? 'secondary' : 'white' - })), icon && !loading && /*#__PURE__*/React.createElement("div", { + })), icon && !loading && /*#__PURE__*/React__namespace.createElement("div", { className: iconClass - }, /*#__PURE__*/React.createElement(Icon, { + }, /*#__PURE__*/React__namespace.createElement(Icon, { name: icon, appearance: disabled ? 'disabled' : appearance === 'basic' || appearance === 'transparent' ? selected ? 'info' : 'default' : 'white', size: sizeMapping$1[size] @@ -3076,7 +3094,7 @@ }); Button.displayName = 'Button'; - var Card = /*#__PURE__*/React.forwardRef(function (props, ref) { + var Card = /*#__PURE__*/React__namespace.forwardRef(function (props, ref) { var _classNames; var _props$shadow = props.shadow, @@ -3088,7 +3106,7 @@ var classes = classnames((_classNames = { Card: true }, _defineProperty$w(_classNames, "Card--shadow-".concat(shadow), shadow), _defineProperty$w(_classNames, "".concat(className), className), _classNames)); - return /*#__PURE__*/React.createElement("div", _extends$p({ + return /*#__PURE__*/React__namespace.createElement("div", _extends$p({ ref: ref }, rest, { className: classes @@ -3122,16 +3140,16 @@ if (onClick) onClick(); }; - return /*#__PURE__*/React.createElement("div", _extends$p({}, baseProps, { + return /*#__PURE__*/React__namespace.createElement("div", _extends$p({}, baseProps, { className: "Chip-wrapper ".concat(className), onClick: onClickHandler - }), icon && /*#__PURE__*/React.createElement(Icon, { + }), icon && /*#__PURE__*/React__namespace.createElement(Icon, { name: icon, appearance: disabled ? 'disabled' : selected ? 'info' : 'default', className: iconClass('left') - }), /*#__PURE__*/React.createElement(Text$1, { + }), /*#__PURE__*/React__namespace.createElement(Text$1, { appearance: disabled ? 'disabled' : 'default' - }, label), clearButton && /*#__PURE__*/React.createElement(Icon, { + }, label), clearButton && /*#__PURE__*/React__namespace.createElement(Icon, { name: "clear", appearance: disabled ? 'disabled' : selected ? 'info' : 'subtle', className: iconClass('right'), @@ -3168,7 +3186,7 @@ }, _defineProperty$w(_classNames, "Chip-".concat(type, "--disabled"), disabled), _defineProperty$w(_classNames, "Chip--".concat(type), type && !disabled), _defineProperty$w(_classNames, "Chip-".concat(type, "--selected"), selected && !disabled), _classNames), className); var clearbutton = type === 'action' ? false : clearButton; var select = type === 'selection' && selected ? true : false; - return /*#__PURE__*/React.createElement(GenericChip, _extends$p({}, baseProps, { + return /*#__PURE__*/React__namespace.createElement(GenericChip, _extends$p({}, baseProps, { label: label, selected: select, icon: icon, @@ -3201,7 +3219,7 @@ }; var ChipGroupClass = classnames(_defineProperty$w({}, 'ChipGroup', true), className); - return /*#__PURE__*/React.createElement("div", _extends$p({}, baseProps, { + return /*#__PURE__*/React__namespace.createElement("div", _extends$p({}, baseProps, { className: ChipGroupClass }), list.map(function (item, ind) { var _item$label = item.label, @@ -3212,10 +3230,10 @@ selected = item.selected, clearButton = item.clearButton, name = item.name; - return /*#__PURE__*/React.createElement("span", { + return /*#__PURE__*/React__namespace.createElement("span", { key: ind, className: "ChipGroup-item" - }, /*#__PURE__*/React.createElement(Chip, { + }, /*#__PURE__*/React__namespace.createElement(Chip, { name: name, label: label, selected: selected, @@ -3234,7 +3252,7 @@ }; ChipGroup.displayName = 'ChipGroup'; - var Column = /*#__PURE__*/React.forwardRef(function (props, ref) { + var Column = /*#__PURE__*/React__namespace.forwardRef(function (props, ref) { var _classNames; var size = props.size, @@ -3248,7 +3266,7 @@ rest = _objectWithoutProperties$a(props, ["size", "sizeXS", "sizeS", "sizeM", "sizeL", "sizeXL", "className", "children"]); var classes = classnames((_classNames = {}, _defineProperty$w(_classNames, 'Col', true), _defineProperty$w(_classNames, "Col--".concat(size), size), _defineProperty$w(_classNames, "Col--xs-".concat(sizeXS), sizeXS), _defineProperty$w(_classNames, "Col--s-".concat(sizeS), sizeS), _defineProperty$w(_classNames, "Col--m-".concat(sizeM), sizeM), _defineProperty$w(_classNames, "Col--l-".concat(sizeL), sizeL), _defineProperty$w(_classNames, "Col--xl-".concat(sizeXL), sizeXL), _defineProperty$w(_classNames, "".concat(className), className), _classNames)); - return /*#__PURE__*/React.createElement("div", _extends$p({ + return /*#__PURE__*/React__namespace.createElement("div", _extends$p({ ref: ref }, rest, { className: classes @@ -3274,7 +3292,7 @@ var classes = classnames((_classNames = { Heading: true }, _defineProperty$w(_classNames, "Heading--".concat(size), size), _defineProperty$w(_classNames, "Heading--".concat(appearance), appearance), _classNames), className); - return /*#__PURE__*/React.createElement(GenericText, _extends$p({ + return /*#__PURE__*/React__namespace.createElement(GenericText, _extends$p({ "data-test": "DesignSystem-Heading" }, baseProps, { className: classes, @@ -3295,7 +3313,7 @@ var classes = classnames(_defineProperty$w({ Subheading: true }, "Subheading--".concat(appearance), appearance), className); - return /*#__PURE__*/React.createElement(GenericText, _extends$p({ + return /*#__PURE__*/React__namespace.createElement(GenericText, _extends$p({ "data-test": "DesignSystem-Subheading" }, baseProps, { className: classes, @@ -3733,7 +3751,7 @@ 'Calendar-headerIcon': true, 'Calendar-headerIcon--disabled': disabled }); - return /*#__PURE__*/React.createElement(Icon, { + return /*#__PURE__*/React__namespace.createElement(Icon, { name: "arrow_".concat(type === 'next' ? 'forward' : 'back'), className: headerIconClass, onClick: function onClick() { @@ -3783,25 +3801,25 @@ if (view === 'year') headerContent = "".concat(yearBlockNav, " - ").concat(yearBlockNav + (yearBlockRange - 1)); if (view === 'month') headerContent = "".concat(yearNavVal); - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { className: headerContentClass - }, view !== 'date' && /*#__PURE__*/React.createElement("span", { + }, view !== 'date' && /*#__PURE__*/React__namespace.createElement("span", { onClick: function onClick() { return onClickHandler(view); } - }, /*#__PURE__*/React.createElement(Heading, { + }, /*#__PURE__*/React__namespace.createElement(Heading, { size: "s" - }, headerContent)), view === 'date' && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("span", { + }, headerContent)), view === 'date' && /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, /*#__PURE__*/React__namespace.createElement("span", { onClick: function onClick() { return onClickHandler(view); } - }, /*#__PURE__*/React.createElement(Heading, { + }, /*#__PURE__*/React__namespace.createElement(Heading, { size: "s" - }, months[monthNavVal])), "\xA0", /*#__PURE__*/React.createElement("span", { + }, months[monthNavVal])), "\xA0", /*#__PURE__*/React__namespace.createElement("span", { onClick: function onClick() { return onClickHandler('month'); } - }, /*#__PURE__*/React.createElement(Heading, { + }, /*#__PURE__*/React__namespace.createElement(Heading, { size: "s" }, yearNavVal)))); }); @@ -3820,7 +3838,7 @@ return Array.from({ length: noOfRows }, function (_y, row) { - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { key: row, className: "Calendar-valueRow" }, Array.from({ @@ -3836,13 +3854,13 @@ 'Calendar-value--active': active, 'Calendar-value--disabled': disabled }); - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { key: "".concat(row, "-").concat(col), className: valueClass, onClick: function onClick() { return _this.selectYear(year); } - }, /*#__PURE__*/React.createElement(Text$1, { + }, /*#__PURE__*/React__namespace.createElement(Text$1, { appearance: active ? 'white' : disabled ? 'disabled' : 'default' }, "".concat(year))); })); @@ -3864,7 +3882,7 @@ return Array.from({ length: noOfRows }, function (_y, row) { - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { key: row, className: "Calendar-valueRow" }, Array.from({ @@ -3878,13 +3896,13 @@ 'Calendar-value--active': active, 'Calendar-value--dummy': disabled }); - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { key: "".concat(row, "-").concat(col), className: valueClass, onClick: function onClick() { return _this.selectMonth(month); } - }, /*#__PURE__*/React.createElement(Text$1, { + }, /*#__PURE__*/React__namespace.createElement(Text$1, { appearance: active ? 'white' : disabled ? 'disabled' : 'default' }, months[month])); })); @@ -3906,7 +3924,7 @@ } }; - return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, /*#__PURE__*/React__namespace.createElement("div", { className: "Calendar-dayValues" }, Array.from({ length: 7 @@ -3916,12 +3934,12 @@ 'Calendar-value--dummy': true }); var dayValue = (day + daysInRow + getIndexOfDay(firstDayOfWeek)) % daysInRow; - return /*#__PURE__*/React.createElement(Subheading, { + return /*#__PURE__*/React__namespace.createElement(Subheading, { key: day, className: valueClass, appearance: "disabled" }, days[dayValue]); - })), /*#__PURE__*/React.createElement("div", { + })), /*#__PURE__*/React__namespace.createElement("div", { className: "Calendar-dateValues", onMouseLeave: onMouseLeaveHandler }, _this.renderDateValues(index))); @@ -3982,7 +4000,7 @@ length: noOfRows }, function (_y, row) { if (dummyDays < daysInRow) { - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { key: row, className: "Calendar-valueRow" }, Array.from({ @@ -4025,10 +4043,10 @@ 'Calendar-value--dummy': dummy || disabled, 'Calendar-value--disabled': disabled }); - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { key: "".concat(row, "-").concat(col), className: wrapperClass - }, /*#__PURE__*/React.createElement("span", { + }, /*#__PURE__*/React__namespace.createElement("span", { className: valueClass, onClick: function onClick() { return onClickHandler(date); @@ -4036,7 +4054,7 @@ onMouseOver: function onMouseOver() { return onMouseOverHandler(date); } - }, !dummy && /*#__PURE__*/React.createElement(Text$1, { + }, !dummy && /*#__PURE__*/React__namespace.createElement(Text$1, { appearance: active ? 'white' : disabled ? 'disabled' : 'default' }, "".concat(date)))); })); @@ -4058,12 +4076,12 @@ var bodyClass = classnames({ 'Calendar-body': true }); - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { key: index, className: wrapperClass - }, /*#__PURE__*/React.createElement("div", { + }, /*#__PURE__*/React__namespace.createElement("div", { className: headerClass - }, index === 0 && _this.renderJumpButton('prev'), _this.renderHeaderContent(index), index === monthsInView - 1 && _this.renderJumpButton('next')), /*#__PURE__*/React.createElement("div", { + }, index === 0 && _this.renderJumpButton('prev'), _this.renderHeaderContent(index), index === monthsInView - 1 && _this.renderJumpButton('next')), /*#__PURE__*/React__namespace.createElement("div", { className: bodyClass }, view === 'year' && _this.renderBodyYear(), view === 'month' && _this.renderBodyMonth(), view === 'date' && _this.renderBodyDate(index))); }); @@ -4264,7 +4282,7 @@ monthsInView = _this$props10.monthsInView, className = _this$props10.className; var baseProps = extractBaseProps(this.props); - return /*#__PURE__*/React.createElement("div", _extends$p({}, baseProps, { + return /*#__PURE__*/React__namespace.createElement("div", _extends$p({}, baseProps, { className: "Calendar-wrapper ".concat(className) }), Array.from({ length: monthsInView @@ -4275,7 +4293,7 @@ }]); return Calendar; - }(React.Component); + }(React__namespace.Component); _defineProperty$w(Calendar, "defaultProps", { monthsInView: 1, @@ -4335,7 +4353,7 @@ }; var mask = date$2[inputFormat]; - return /*#__PURE__*/React.createElement(InputMask, _extends$p({ + return /*#__PURE__*/React__namespace.createElement(InputMask, _extends$p({ icon: "events", placeholder: inputFormat }, inputOptions, { @@ -4486,7 +4504,7 @@ var rest = _objectWithoutProperties$a(_this$props4, ["date", "open", "position", "inputFormat", "outputFormat", "inputOptions", "validators", "withInput", "disabledBefore", "disabledAfter", "onDateChange", "closeOnSelect"]); var date = this.state.date; - return /*#__PURE__*/React.createElement(Calendar, _extends$p({}, rest, { + return /*#__PURE__*/React__namespace.createElement(Calendar, _extends$p({}, rest, { date: convertToDate(date, inputFormat, validators), disabledBefore: convertToDate(disabledBefore, inputFormat, validators), disabledAfter: convertToDate(disabledAfter, inputFormat, validators), @@ -4505,8 +4523,8 @@ var open = this.state.open; if (withInput) { - return /*#__PURE__*/React.createElement(Popover, { - trigger: /*#__PURE__*/React.createElement(Trigger$1, { + return /*#__PURE__*/React__namespace.createElement(Popover, { + trigger: /*#__PURE__*/React__namespace.createElement(Trigger$1, { inputFormat: inputFormat, inputOptions: inputOptions, validators: validators, @@ -4526,7 +4544,7 @@ }]); return DatePicker; - }(React.Component); + }(React__namespace.Component); _defineProperty$w(DatePicker, "defaultProps", _objectSpread2(_objectSpread2({}, Calendar.defaultProps), {}, { position: 'bottom-start', @@ -4545,19 +4563,19 @@ onTimeChange = props.onTimeChange, timeProp = props.time; - var _React$useState = React.useState(timeProp), - _React$useState2 = _slicedToArray$6(_React$useState, 2), + var _React$useState = React__namespace.useState(timeProp), + _React$useState2 = _slicedToArray$7(_React$useState, 2), time = _React$useState2[0], setTime = _React$useState2[1]; - var _React$useState3 = React.useState(false), - _React$useState4 = _slicedToArray$6(_React$useState3, 2), + var _React$useState3 = React__namespace.useState(false), + _React$useState4 = _slicedToArray$7(_React$useState3, 2), init = _React$useState4[0], setInit = _React$useState4[1]; var _inputOptions$placeho = inputOptions.placeholderChar, placeholderChar = _inputOptions$placeho === void 0 ? '_' : _inputOptions$placeho; - React.useEffect(function () { + React__namespace.useEffect(function () { var timeStr = translateToTime(inputFormat, time); var updatedTime = timeProp === undefined && timeStr.includes(placeholderChar) ? time : timeProp; setTime(updatedTime); @@ -4598,7 +4616,7 @@ }; var mask = time$1[inputFormat]; - return /*#__PURE__*/React.createElement(InputMask, _extends$p({ + return /*#__PURE__*/React__namespace.createElement(InputMask, _extends$p({ placeholder: placeholders[inputFormat], placeholderChar: placeholderChar }, inputOptions, { @@ -6881,7 +6899,7 @@ * // Replace `_.memoize.Cache`. * _.memoize.Cache = WeakMap; */ - function memoize(func, resolver) { + function memoize$1(func, resolver) { if (typeof func != 'function' || (resolver != null && typeof resolver != 'function')) { throw new TypeError(FUNC_ERROR_TEXT$4); } @@ -6897,14 +6915,14 @@ memoized.cache = cache.set(key, result) || cache; return result; }; - memoized.cache = new (memoize.Cache || _MapCache); + memoized.cache = new (memoize$1.Cache || _MapCache); return memoized; } // Expose `MapCache`. - memoize.Cache = _MapCache; + memoize$1.Cache = _MapCache; - var memoize_1 = memoize; + var memoize_1 = memoize$1; /** Used as the maximum memoize cache size. */ var MAX_MEMOIZE_SIZE = 500; @@ -7295,7 +7313,7 @@ return false; }; - var interpolateNumber$1 = function interpolateNumber(numberA, numberB) { + var interpolateNumber$2 = function interpolateNumber(numberA, numberB) { if (isNumber(numberA) && isNumber(numberB)) { return function (t) { return numberA + t * (numberB - numberA); @@ -7333,13 +7351,13 @@ return true; } - function _toConsumableArray$8(arr) { return _arrayWithoutHoles$8(arr) || _iterableToArray$9(arr) || _nonIterableSpread$8(); } + function _toConsumableArray$a(arr) { return _arrayWithoutHoles$a(arr) || _iterableToArray$b(arr) || _nonIterableSpread$a(); } - function _nonIterableSpread$8() { throw new TypeError("Invalid attempt to spread non-iterable instance"); } + function _nonIterableSpread$a() { throw new TypeError("Invalid attempt to spread non-iterable instance"); } - function _iterableToArray$9(iter) { if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter); } + function _iterableToArray$b(iter) { if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter); } - function _arrayWithoutHoles$8(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } } + function _arrayWithoutHoles$a(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } } function _objectWithoutProperties$9(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$a(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; } @@ -7767,7 +7785,7 @@ var results = handler(child, displayName, index); if (isArray_1(results)) { - elements = [elements].concat(_toConsumableArray$8(results)); + elements = [elements].concat(_toConsumableArray$a(results)); } else { elements.push(results); } @@ -9451,11 +9469,11 @@ * console.log(_.identity(object) === object); * // => true */ - function identity$4(value) { + function identity$5(value) { return value; } - var identity_1 = identity$4; + var identity_1 = identity$5; /** * The base implementation of `_.property` without support for deep paths. @@ -11456,7 +11474,7 @@ }).call(commonjsGlobal); - + //# sourceMappingURL=performance-now.js.map }); var root$2 = typeof window === 'undefined' ? commonjsGlobal : window @@ -11558,13 +11576,13 @@ function _typeof$l(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof$l = function _typeof(obj) { return typeof obj; }; } else { _typeof$l = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof$l(obj); } - function _toArray(arr) { return _arrayWithHoles$6(arr) || _iterableToArray$8(arr) || _nonIterableRest$6(); } + function _toArray(arr) { return _arrayWithHoles$7(arr) || _iterableToArray$a(arr) || _nonIterableRest$7(); } - function _nonIterableRest$6() { throw new TypeError("Invalid attempt to destructure non-iterable instance"); } + function _nonIterableRest$7() { throw new TypeError("Invalid attempt to destructure non-iterable instance"); } - function _iterableToArray$8(iter) { if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter); } + function _iterableToArray$a(iter) { if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter); } - function _arrayWithHoles$6(arr) { if (Array.isArray(arr)) return arr; } + function _arrayWithHoles$7(arr) { if (Array.isArray(arr)) return arr; } function createAnimateManager() { var currStyle = {}; @@ -11955,7 +11973,7 @@ var getIntersectionKeys = function getIntersectionKeys(preObj, nextObj) { return intersection_1(Object.keys(preObj), Object.keys(nextObj)); }; - var identity$3 = function identity(param) { + var identity$4 = function identity(param) { return param; }; /* @@ -12017,21 +12035,21 @@ }).join(','); }; - function _slicedToArray$5(arr, i) { return _arrayWithHoles$5(arr) || _iterableToArrayLimit$5(arr, i) || _nonIterableRest$5(); } + function _slicedToArray$6(arr, i) { return _arrayWithHoles$6(arr) || _iterableToArrayLimit$6(arr, i) || _nonIterableRest$6(); } - function _nonIterableRest$5() { throw new TypeError("Invalid attempt to destructure non-iterable instance"); } + function _nonIterableRest$6() { throw new TypeError("Invalid attempt to destructure non-iterable instance"); } - function _iterableToArrayLimit$5(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; } + function _iterableToArrayLimit$6(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; } - function _arrayWithHoles$5(arr) { if (Array.isArray(arr)) return arr; } + function _arrayWithHoles$6(arr) { if (Array.isArray(arr)) return arr; } - function _toConsumableArray$7(arr) { return _arrayWithoutHoles$7(arr) || _iterableToArray$7(arr) || _nonIterableSpread$7(); } + function _toConsumableArray$9(arr) { return _arrayWithoutHoles$9(arr) || _iterableToArray$9(arr) || _nonIterableSpread$9(); } - function _nonIterableSpread$7() { throw new TypeError("Invalid attempt to spread non-iterable instance"); } + function _nonIterableSpread$9() { throw new TypeError("Invalid attempt to spread non-iterable instance"); } - function _iterableToArray$7(iter) { if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter); } + function _iterableToArray$9(iter) { if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter); } - function _arrayWithoutHoles$7(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } } + function _arrayWithoutHoles$9(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } } var ACCURACY = 1e-4; var cubicBezierFactor = function cubicBezierFactor(c1, c2) { @@ -12057,7 +12075,7 @@ return function (t) { var params = cubicBezierFactor(c1, c2); - var newParams = _toConsumableArray$7(params.map(function (param, i) { + var newParams = _toConsumableArray$9(params.map(function (param, i) { return param * i; }).slice(1)).concat([0]); @@ -12122,7 +12140,7 @@ return parseFloat(x); }); - var _easing$1$split$0$spl2 = _slicedToArray$5(_easing$1$split$0$spl, 4); + var _easing$1$split$0$spl2 = _slicedToArray$6(_easing$1$split$0$spl, 4); x1 = _easing$1$split$0$spl2[0]; y1 = _easing$1$split$0$spl2[1]; @@ -12391,25 +12409,25 @@ var filter_1 = filter; - function _toConsumableArray$6(arr) { return _arrayWithoutHoles$6(arr) || _iterableToArray$6(arr) || _nonIterableSpread$6(); } + function _toConsumableArray$8(arr) { return _arrayWithoutHoles$8(arr) || _iterableToArray$8(arr) || _nonIterableSpread$8(); } - function _nonIterableSpread$6() { throw new TypeError("Invalid attempt to spread non-iterable instance"); } + function _nonIterableSpread$8() { throw new TypeError("Invalid attempt to spread non-iterable instance"); } - function _iterableToArray$6(iter) { if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter); } + function _iterableToArray$8(iter) { if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter); } - function _arrayWithoutHoles$6(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } } + function _arrayWithoutHoles$8(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } } function _objectSpread$o(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty$q(target, key, source[key]); }); } return target; } function _defineProperty$q(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; } - function _slicedToArray$4(arr, i) { return _arrayWithHoles$4(arr) || _iterableToArrayLimit$4(arr, i) || _nonIterableRest$4(); } + function _slicedToArray$5(arr, i) { return _arrayWithHoles$5(arr) || _iterableToArrayLimit$5(arr, i) || _nonIterableRest$5(); } - function _nonIterableRest$4() { throw new TypeError("Invalid attempt to destructure non-iterable instance"); } + function _nonIterableRest$5() { throw new TypeError("Invalid attempt to destructure non-iterable instance"); } - function _iterableToArrayLimit$4(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; } + function _iterableToArrayLimit$5(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; } - function _arrayWithHoles$4(arr) { if (Array.isArray(arr)) return arr; } + function _arrayWithHoles$5(arr) { if (Array.isArray(arr)) return arr; } var alpha = function alpha(begin, end, k) { return begin + (end - begin) * k; @@ -12430,7 +12448,7 @@ var nextStepVals = mapObject(function (key, val) { if (needContinue(val)) { var _easing = easing(val.from, val.to, val.velocity), - _easing2 = _slicedToArray$4(_easing, 2), + _easing2 = _slicedToArray$5(_easing, 2), newX = _easing2[0], newV = _easing2[1]; @@ -12516,7 +12534,7 @@ var t = (now - beginTime) / duration; var currStyle = mapObject(function (key, val) { - return alpha.apply(void 0, _toConsumableArray$6(val).concat([easing(t)])); + return alpha.apply(void 0, _toConsumableArray$8(val).concat([easing(t)])); }, timingStyle); // get union set and add compatible prefix render(_objectSpread$o({}, from, to, currStyle)); @@ -12525,7 +12543,7 @@ cafId = raf_1(update); } else { var finalStyle = mapObject(function (key, val) { - return alpha.apply(void 0, _toConsumableArray$6(val).concat([easing(1)])); + return alpha.apply(void 0, _toConsumableArray$8(val).concat([easing(1)])); }, timingStyle); render(_objectSpread$o({}, from, to, finalStyle)); } @@ -12548,13 +12566,13 @@ function _objectWithoutPropertiesLoose$7(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; } - function _toConsumableArray$5(arr) { return _arrayWithoutHoles$5(arr) || _iterableToArray$5(arr) || _nonIterableSpread$5(); } + function _toConsumableArray$7(arr) { return _arrayWithoutHoles$7(arr) || _iterableToArray$7(arr) || _nonIterableSpread$7(); } - function _nonIterableSpread$5() { throw new TypeError("Invalid attempt to spread non-iterable instance"); } + function _nonIterableSpread$7() { throw new TypeError("Invalid attempt to spread non-iterable instance"); } - function _iterableToArray$5(iter) { if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter); } + function _iterableToArray$7(iter) { if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter); } - function _arrayWithoutHoles$5(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } } + function _arrayWithoutHoles$7(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } } function _objectSpread$n(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty$p(target, key, source[key]); }); } return target; } @@ -12775,7 +12793,7 @@ var properties = nextProperties || Object.keys(style); if (typeof easing === 'function' || easing === 'spring') { - return _toConsumableArray$5(sequence).concat([_this3.runJSAnimation.bind(_this3, { + return _toConsumableArray$7(sequence).concat([_this3.runJSAnimation.bind(_this3, { from: preItem.style, to: style, duration: duration, @@ -12789,10 +12807,10 @@ transition: transition }); - return _toConsumableArray$5(sequence).concat([newStyle, duration, onAnimationEnd]).filter(identity$3); + return _toConsumableArray$7(sequence).concat([newStyle, duration, onAnimationEnd]).filter(identity$4); }; - return this.manager.start([onAnimationStart].concat(_toConsumableArray$5(steps.reduce(addStyle, [initialStyle, Math.max(initialTime, begin)])), [props.onAnimationEnd])); + return this.manager.start([onAnimationStart].concat(_toConsumableArray$7(steps.reduce(addStyle, [initialStyle, Math.max(initialTime, begin)])), [props.onAnimationEnd])); } }, { key: "runAnimation", @@ -13243,13 +13261,13 @@ function _typeof$j(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof$j = function _typeof(obj) { return typeof obj; }; } else { _typeof$j = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof$j(obj); } - function _slicedToArray$3(arr, i) { return _arrayWithHoles$3(arr) || _iterableToArrayLimit$3(arr, i) || _nonIterableRest$3(); } + function _slicedToArray$4(arr, i) { return _arrayWithHoles$4(arr) || _iterableToArrayLimit$4(arr, i) || _nonIterableRest$4(); } - function _nonIterableRest$3() { throw new TypeError("Invalid attempt to destructure non-iterable instance"); } + function _nonIterableRest$4() { throw new TypeError("Invalid attempt to destructure non-iterable instance"); } - function _iterableToArrayLimit$3(arr, i) { if (!(Symbol.iterator in Object(arr) || Object.prototype.toString.call(arr) === "[object Arguments]")) { return; } var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; } + function _iterableToArrayLimit$4(arr, i) { if (!(Symbol.iterator in Object(arr) || Object.prototype.toString.call(arr) === "[object Arguments]")) { return; } var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; } - function _arrayWithHoles$3(arr) { if (Array.isArray(arr)) return arr; } + function _arrayWithHoles$4(arr) { if (Array.isArray(arr)) return arr; } function ownKeys$m(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } @@ -13323,7 +13341,7 @@ var formatted = finalFormatter(value, name, entry, i); if (Array.isArray(formatted)) { - var _formatted = _slicedToArray$3(formatted, 2); + var _formatted = _slicedToArray$4(formatted, 2); value = _formatted[0]; name = _formatted[1]; @@ -15939,7 +15957,7 @@ unwrapExports(ResizeDetector_1); - var lib$2 = createCommonjsModule(function (module, exports) { + var lib$1 = createCommonjsModule(function (module, exports) { Object.defineProperty(exports, "__esModule", { value: true @@ -15954,7 +15972,7 @@ exports.default = _ResizeDetector2.default; }); - var ReactResizeDetector = unwrapExports(lib$2); + var ReactResizeDetector = unwrapExports(lib$1); /* eslint no-console: 0 */ var warn = function warn(condition, format, a, b, c, d, e, f) { @@ -16168,7 +16186,7 @@ if (a instanceof RegExp) a = maybeMatch$1(a, str); if (b instanceof RegExp) b = maybeMatch$1(b, str); - var r = range$2(a, b, str); + var r = range$3(a, b, str); return r && { start: r[0], @@ -16184,8 +16202,8 @@ return m ? m[0] : null; } - balanced$1.range = range$2; - function range$2(a, b, str) { + balanced$1.range = range$3; + function range$3(a, b, str) { var begs, beg, left, right, result; var ai = str.indexOf(a); var bi = str.indexOf(b, ai + 1); @@ -16227,7 +16245,7 @@ if (a instanceof RegExp) a = maybeMatch(a, str); if (b instanceof RegExp) b = maybeMatch(b, str); - var r = range$1(a, b, str); + var r = range$2(a, b, str); return r && { start: r[0], @@ -16243,8 +16261,8 @@ return m ? m[0] : null; } - balanced.range = range$1; - function range$1(a, b, str) { + balanced.range = range$2; + function range$2(a, b, str) { var begs, beg, left, right, result; var ai = str.indexOf(a); var bi = str.indexOf(b, ai + 1); @@ -17259,13 +17277,13 @@ function _defineProperty$l(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; } - function _toConsumableArray$4(arr) { return _arrayWithoutHoles$4(arr) || _iterableToArray$4(arr) || _nonIterableSpread$4(); } + function _toConsumableArray$6(arr) { return _arrayWithoutHoles$6(arr) || _iterableToArray$6(arr) || _nonIterableSpread$6(); } - function _nonIterableSpread$4() { throw new TypeError("Invalid attempt to spread non-iterable instance"); } + function _nonIterableSpread$6() { throw new TypeError("Invalid attempt to spread non-iterable instance"); } - function _iterableToArray$4(iter) { if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter); } + function _iterableToArray$6(iter) { if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter); } - function _arrayWithoutHoles$4(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } } + function _arrayWithoutHoles$6(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } } var stringCache = { widthCache: {}, cacheCount: 0 @@ -17295,10 +17313,10 @@ var strs = text.split(''); var formatStrs = strs.reduce(function (result, entry) { if (entry === entry.toUpperCase()) { - return [].concat(_toConsumableArray$4(result), ['-', entry.toLowerCase()]); + return [].concat(_toConsumableArray$6(result), ['-', entry.toLowerCase()]); } - return [].concat(_toConsumableArray$4(result), [entry]); + return [].concat(_toConsumableArray$6(result), [entry]); }, []); return formatStrs.join(''); } @@ -17786,12 +17804,12 @@ * _.map(users, 'user'); * // => ['barney', 'fred'] */ - function map$3(collection, iteratee) { + function map$4(collection, iteratee) { var func = isArray_1(collection) ? _arrayMap : _baseMap; return func(collection, _baseIteratee(iteratee)); } - var map_1 = map$3; + var map_1 = map$4; /** * Creates a flattened array of values by running each element in `collection` @@ -19806,35 +19824,25 @@ var Decimal$1 = Decimal; - var decimal = /*#__PURE__*/Object.freeze({ - __proto__: null, - get Decimal () { return Decimal; }, - 'default': Decimal$1 - }); - - var utils = createCommonjsModule(function (module, exports) { + function _toConsumableArray$5(arr) { return _arrayWithoutHoles$5(arr) || _iterableToArray$5(arr) || _unsupportedIterableToArray$1(arr) || _nonIterableSpread$5(); } - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.memoize = exports.reverse = exports.compose = exports.map = exports.range = exports.curry = exports.PLACE_HOLDER = void 0; + function _nonIterableSpread$5() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } - function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _nonIterableSpread(); } + function _unsupportedIterableToArray$1(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray$1(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$1(o, minLen); } - function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance"); } + function _iterableToArray$5(iter) { if (typeof Symbol !== "undefined" && Symbol.iterator in Object(iter)) return Array.from(iter); } - function _iterableToArray(iter) { if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter); } + function _arrayWithoutHoles$5(arr) { if (Array.isArray(arr)) return _arrayLikeToArray$1(arr); } - function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } } + function _arrayLikeToArray$1(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; } - var identity = function identity(i) { + var identity$3 = function identity(i) { return i; }; var PLACE_HOLDER = { '@@functional/placeholder': true }; - exports.PLACE_HOLDER = PLACE_HOLDER; var isPlaceHolder = function isPlaceHolder(val) { return val === PLACE_HOLDER; @@ -19876,7 +19884,7 @@ var newArgs = args.map(function (arg) { return isPlaceHolder(arg) ? restArgs.shift() : arg; }); - return fn.apply(void 0, _toConsumableArray(newArgs).concat(restArgs)); + return fn.apply(void 0, _toConsumableArray$5(newArgs).concat(restArgs)); })); }); }; @@ -19884,10 +19892,7 @@ var curry = function curry(fn) { return curryN(fn.length, fn); }; - - exports.curry = curry; - - var range = function range(begin, end) { + var range$1 = function range(begin, end) { var arr = []; for (var i = begin; i < end; ++i) { @@ -19896,9 +19901,7 @@ return arr; }; - - exports.range = range; - var map = curry(function (fn, arr) { + var map$3 = curry(function (fn, arr) { if (Array.isArray(arr)) { return arr.map(fn); } @@ -19907,15 +19910,13 @@ return arr[key]; }).map(fn); }); - exports.map = map; - var compose = function compose() { for (var _len3 = arguments.length, args = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) { args[_key3] = arguments[_key3]; } if (!args.length) { - return identity; + return identity$3; } var fns = args.reverse(); // first function can receive multiply arguments @@ -19928,9 +19929,6 @@ }, firstFn.apply(void 0, arguments)); }; }; - - exports.compose = compose; - var reverse = function reverse(arr) { if (Array.isArray(arr)) { return arr.reverse(); @@ -19939,9 +19937,6 @@ return arr.split('').reverse.join(''); }; - - exports.reverse = reverse; - var memoize = function memoize(fn) { var lastArgs = null; var lastResult = null; @@ -19962,39 +19957,11 @@ }; }; - exports.memoize = memoize; - }); - - unwrapExports(utils); - utils.memoize; - utils.reverse; - utils.compose; - utils.map; - utils.range; - utils.curry; - utils.PLACE_HOLDER; - - var require$$0 = getCjsExportFromNamespace(decimal); - - var arithmetic = createCommonjsModule(function (module, exports) { - - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.default = void 0; - - var _decimal = _interopRequireDefault(require$$0); - - - - function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } - /** * @fileOverview 一些公用的运算方法 * @author xile611 * @date 2015-09-17 */ - /** * 获取数值的位数 * 其中绝对值属于区间[0.1, 1), 得到的值为0 @@ -20004,13 +19971,14 @@ * @param {Number} value 数值 * @return {Integer} 位数 */ + function getDigitCount(value) { var result; if (value === 0) { result = 1; } else { - result = Math.floor(new _decimal.default(value).abs().log(10).toNumber()) + 1; + result = Math.floor(new Decimal$1(value).abs().log(10).toNumber()) + 1; } return result; @@ -20027,7 +19995,7 @@ function rangeStep(start, end, step) { - var num = new _decimal.default(start); + var num = new Decimal$1(start); var i = 0; var result = []; // magic number to prevent infinite loop @@ -20049,7 +20017,7 @@ */ - var interpolateNumber = (0, utils.curry)(function (a, b, t) { + var interpolateNumber$1 = curry(function (a, b, t) { var newA = +a; var newB = +b; return newA + t * (newB - newA); @@ -20063,7 +20031,7 @@ * @return {Number} 当x在 a ~ b这个范围内时,返回值属于[0, 1] */ - var uninterpolateNumber = (0, utils.curry)(function (a, b, x) { + var uninterpolateNumber = curry(function (a, b, x) { var diff = b - +a; diff = diff || Infinity; return (x - a) / diff; @@ -20078,54 +20046,38 @@ * 当x不在 a ~ b这个区间时,会截断到 a ~ b 这个区间 */ - var uninterpolateTruncation = (0, utils.curry)(function (a, b, x) { + var uninterpolateTruncation = curry(function (a, b, x) { var diff = b - +a; diff = diff || Infinity; return Math.max(0, Math.min(1, (x - a) / diff)); }); - var _default = { + var Arithmetic = { rangeStep: rangeStep, getDigitCount: getDigitCount, - interpolateNumber: interpolateNumber, + interpolateNumber: interpolateNumber$1, uninterpolateNumber: uninterpolateNumber, uninterpolateTruncation: uninterpolateTruncation }; - exports.default = _default; - }); - unwrapExports(arithmetic); + function _toConsumableArray$4(arr) { return _arrayWithoutHoles$4(arr) || _iterableToArray$4(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread$4(); } - var getNiceTickValues_1 = createCommonjsModule(function (module, exports) { + function _nonIterableSpread$4() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.getTickValuesFixedDomain = exports.getTickValues = exports.getNiceTickValues = void 0; - - var _decimal = _interopRequireDefault(require$$0); - - - - var _arithmetic = _interopRequireDefault(arithmetic); - - function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } - - function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _nonIterableSpread(); } - - function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance"); } + function _iterableToArray$4(iter) { if (typeof Symbol !== "undefined" && Symbol.iterator in Object(iter)) return Array.from(iter); } - function _iterableToArray(iter) { if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter); } + function _arrayWithoutHoles$4(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); } - function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } } + function _slicedToArray$3(arr, i) { return _arrayWithHoles$3(arr) || _iterableToArrayLimit$3(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest$3(); } - function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest(); } + function _nonIterableRest$3() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } - function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance"); } + function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); } - function _iterableToArrayLimit(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; } + function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; } - function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; } + function _iterableToArrayLimit$3(arr, i) { if (typeof Symbol === "undefined" || !(Symbol.iterator in Object(arr))) return; var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; } + function _arrayWithHoles$3(arr) { if (Array.isArray(arr)) return arr; } /** * Calculate a interval of a minimum value and a maximum value * @@ -20133,8 +20085,9 @@ * @param {Number} max The maximum value * @return {Array} An interval */ + function getValidInterval(_ref) { - var _ref2 = _slicedToArray(_ref, 2), + var _ref2 = _slicedToArray$3(_ref, 2), min = _ref2[0], max = _ref2[1]; @@ -20161,20 +20114,19 @@ function getFormatStep(roughStep, allowDecimals, correctionFactor) { if (roughStep.lte(0)) { - return new _decimal.default(0); + return new Decimal$1(0); } - var digitCount = _arithmetic.default.getDigitCount(roughStep.toNumber()); // The ratio between the rough step and the smallest number which has a bigger + var digitCount = Arithmetic.getDigitCount(roughStep.toNumber()); // The ratio between the rough step and the smallest number which has a bigger // order of magnitudes than the rough step - - var digitCountValue = new _decimal.default(10).pow(digitCount); + var digitCountValue = new Decimal$1(10).pow(digitCount); var stepRatio = roughStep.div(digitCountValue); // When an integer and a float multiplied, the accuracy of result may be wrong var stepRatioScale = digitCount !== 1 ? 0.05 : 0.1; - var amendStepRatio = new _decimal.default(Math.ceil(stepRatio.div(stepRatioScale).toNumber())).add(correctionFactor).mul(stepRatioScale); + var amendStepRatio = new Decimal$1(Math.ceil(stepRatio.div(stepRatioScale).toNumber())).add(correctionFactor).mul(stepRatioScale); var formatStep = amendStepRatio.mul(digitCountValue); - return allowDecimals ? formatStep : new _decimal.default(Math.ceil(formatStep)); + return allowDecimals ? formatStep : new Decimal$1(Math.ceil(formatStep)); } /** * calculate the ticks when the minimum value equals to the maximum value @@ -20189,29 +20141,29 @@ function getTickOfSingleValue(value, tickCount, allowDecimals) { var step = 1; // calculate the middle value of ticks - var middle = new _decimal.default(value); + var middle = new Decimal$1(value); if (!middle.isint() && allowDecimals) { var absVal = Math.abs(value); if (absVal < 1) { // The step should be a float number when the difference is smaller than 1 - step = new _decimal.default(10).pow(_arithmetic.default.getDigitCount(value) - 1); - middle = new _decimal.default(Math.floor(middle.div(step).toNumber())).mul(step); + step = new Decimal$1(10).pow(Arithmetic.getDigitCount(value) - 1); + middle = new Decimal$1(Math.floor(middle.div(step).toNumber())).mul(step); } else if (absVal > 1) { // Return the maximum integer which is smaller than 'value' when 'value' is greater than 1 - middle = new _decimal.default(Math.floor(value)); + middle = new Decimal$1(Math.floor(value)); } } else if (value === 0) { - middle = new _decimal.default(Math.floor((tickCount - 1) / 2)); + middle = new Decimal$1(Math.floor((tickCount - 1) / 2)); } else if (!allowDecimals) { - middle = new _decimal.default(Math.floor(value)); + middle = new Decimal$1(Math.floor(value)); } var middleIndex = Math.floor((tickCount - 1) / 2); - var fn = (0, utils.compose)((0, utils.map)(function (n) { - return middle.add(new _decimal.default(n - middleIndex).mul(step)).toNumber(); - }), utils.range); + var fn = compose(map$3(function (n) { + return middle.add(new Decimal$1(n - middleIndex).mul(step)).toNumber(); + }), range$1); return fn(0, tickCount); } /** @@ -20232,28 +20184,28 @@ // dirty hack (for recharts' test) if (!Number.isFinite((max - min) / (tickCount - 1))) { return { - step: new _decimal.default(0), - tickMin: new _decimal.default(0), - tickMax: new _decimal.default(0) + step: new Decimal$1(0), + tickMin: new Decimal$1(0), + tickMax: new Decimal$1(0) }; } // The step which is easy to understand between two ticks - var step = getFormatStep(new _decimal.default(max).sub(min).div(tickCount - 1), allowDecimals, correctionFactor); // A medial value of ticks + var step = getFormatStep(new Decimal$1(max).sub(min).div(tickCount - 1), allowDecimals, correctionFactor); // A medial value of ticks var middle; // When 0 is inside the interval, 0 should be a tick if (min <= 0 && max >= 0) { - middle = new _decimal.default(0); + middle = new Decimal$1(0); } else { // calculate the middle value - middle = new _decimal.default(min).add(max).div(2); // minus modulo value + middle = new Decimal$1(min).add(max).div(2); // minus modulo value - middle = middle.sub(new _decimal.default(middle).mod(step)); + middle = middle.sub(new Decimal$1(middle).mod(step)); } var belowCount = Math.ceil(middle.sub(min).div(step).toNumber()); - var upCount = Math.ceil(new _decimal.default(max).sub(middle).div(step).toNumber()); + var upCount = Math.ceil(new Decimal$1(max).sub(middle).div(step).toNumber()); var scaleCount = belowCount + upCount + 1; if (scaleCount > tickCount) { @@ -20269,8 +20221,8 @@ return { step: step, - tickMin: middle.sub(new _decimal.default(belowCount).mul(step)), - tickMax: middle.add(new _decimal.default(upCount).mul(step)) + tickMin: middle.sub(new Decimal$1(belowCount).mul(step)), + tickMax: middle.add(new Decimal$1(upCount).mul(step)) }; } /** @@ -20284,7 +20236,7 @@ function getNiceTickValuesFn(_ref3) { - var _ref4 = _slicedToArray(_ref3, 2), + var _ref4 = _slicedToArray$3(_ref3, 2), min = _ref4[0], max = _ref4[1]; @@ -20294,18 +20246,18 @@ var count = Math.max(tickCount, 2); var _getValidInterval = getValidInterval([min, max]), - _getValidInterval2 = _slicedToArray(_getValidInterval, 2), + _getValidInterval2 = _slicedToArray$3(_getValidInterval, 2), cormin = _getValidInterval2[0], cormax = _getValidInterval2[1]; if (cormin === -Infinity || cormax === Infinity) { - var _values = cormax === Infinity ? [cormin].concat(_toConsumableArray((0, utils.range)(0, tickCount - 1).map(function () { + var _values = cormax === Infinity ? [cormin].concat(_toConsumableArray$4(range$1(0, tickCount - 1).map(function () { return Infinity; - }))) : _toConsumableArray((0, utils.range)(0, tickCount - 1).map(function () { + }))) : [].concat(_toConsumableArray$4(range$1(0, tickCount - 1).map(function () { return -Infinity; - })).concat([cormax]); + })), [cormax]); - return min > max ? (0, utils.reverse)(_values) : _values; + return min > max ? reverse(_values) : _values; } if (cormin === cormax) { @@ -20318,51 +20270,8 @@ tickMin = _calculateStep.tickMin, tickMax = _calculateStep.tickMax; - var values = _arithmetic.default.rangeStep(tickMin, tickMax.add(new _decimal.default(0.1).mul(step)), step); - - return min > max ? (0, utils.reverse)(values) : values; - } - /** - * Calculate the ticks of an interval, the count of ticks won't be guraranteed - * - * @param {Number} min, max min: The minimum value, max: The maximum value - * @param {Integer} tickCount The count of ticks - * @param {Boolean} allowDecimals Allow the ticks to be decimals or not - * @return {Array} ticks - */ - - - function getTickValuesFn(_ref5) { - var _ref6 = _slicedToArray(_ref5, 2), - min = _ref6[0], - max = _ref6[1]; - - var tickCount = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 6; - var allowDecimals = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true; - // More than two ticks should be return - var count = Math.max(tickCount, 2); - - var _getValidInterval3 = getValidInterval([min, max]), - _getValidInterval4 = _slicedToArray(_getValidInterval3, 2), - cormin = _getValidInterval4[0], - cormax = _getValidInterval4[1]; - - if (cormin === -Infinity || cormax === Infinity) { - return [min, max]; - } - - if (cormin === cormax) { - return getTickOfSingleValue(cormin, tickCount, allowDecimals); - } - - var step = getFormatStep(new _decimal.default(cormax).sub(cormin).div(count - 1), allowDecimals, 0); - var fn = (0, utils.compose)((0, utils.map)(function (n) { - return new _decimal.default(cormin).add(new _decimal.default(n).mul(step)).toNumber(); - }), utils.range); - var values = fn(0, count).filter(function (entry) { - return entry >= cormin && entry <= cormax; - }); - return min > max ? (0, utils.reverse)(values) : values; + var values = Arithmetic.rangeStep(tickMin, tickMax.add(new Decimal$1(0.1).mul(step)), step); + return min > max ? reverse(values) : values; } /** * Calculate the ticks of an interval, the count of ticks won't be guraranteed, @@ -20376,7 +20285,7 @@ function getTickValuesFixedDomainFn(_ref7, tickCount) { - var _ref8 = _slicedToArray(_ref7, 2), + var _ref8 = _slicedToArray$3(_ref7, 2), min = _ref8[0], max = _ref8[1]; @@ -20384,7 +20293,7 @@ // More than two ticks should be return var _getValidInterval5 = getValidInterval([min, max]), - _getValidInterval6 = _slicedToArray(_getValidInterval5, 2), + _getValidInterval6 = _slicedToArray$3(_getValidInterval5, 2), cormin = _getValidInterval6[0], cormax = _getValidInterval6[1]; @@ -20397,55 +20306,13 @@ } var count = Math.max(tickCount, 2); - var step = getFormatStep(new _decimal.default(cormax).sub(cormin).div(count - 1), allowDecimals, 0); - - var values = _toConsumableArray(_arithmetic.default.rangeStep(new _decimal.default(cormin), new _decimal.default(cormax).sub(new _decimal.default(0.99).mul(step)), step)).concat([cormax]); - - return min > max ? (0, utils.reverse)(values) : values; + var step = getFormatStep(new Decimal$1(cormax).sub(cormin).div(count - 1), allowDecimals, 0); + var values = [].concat(_toConsumableArray$4(Arithmetic.rangeStep(new Decimal$1(cormin), new Decimal$1(cormax).sub(new Decimal$1(0.99).mul(step)), step)), [cormax]); + return min > max ? reverse(values) : values; } - var getNiceTickValues = (0, utils.memoize)(getNiceTickValuesFn); - exports.getNiceTickValues = getNiceTickValues; - var getTickValues = (0, utils.memoize)(getTickValuesFn); - exports.getTickValues = getTickValues; - var getTickValuesFixedDomain = (0, utils.memoize)(getTickValuesFixedDomainFn); - exports.getTickValuesFixedDomain = getTickValuesFixedDomain; - }); - - unwrapExports(getNiceTickValues_1); - getNiceTickValues_1.getTickValuesFixedDomain; - getNiceTickValues_1.getTickValues; - getNiceTickValues_1.getNiceTickValues; - - var lib$1 = createCommonjsModule(function (module, exports) { - - Object.defineProperty(exports, "__esModule", { - value: true - }); - Object.defineProperty(exports, "getTickValues", { - enumerable: true, - get: function get() { - return getNiceTickValues_1.getTickValues; - } - }); - Object.defineProperty(exports, "getNiceTickValues", { - enumerable: true, - get: function get() { - return getNiceTickValues_1.getNiceTickValues; - } - }); - Object.defineProperty(exports, "getTickValuesFixedDomain", { - enumerable: true, - get: function get() { - return getNiceTickValues_1.getTickValuesFixedDomain; - } - }); - }); - - unwrapExports(lib$1); - lib$1.getTickValues; - var lib_2 = lib$1.getNiceTickValues; - var lib_3 = lib$1.getTickValuesFixedDomain; + var getNiceTickValues = memoize(getNiceTickValuesFn); + var getTickValuesFixedDomain = memoize(getTickValuesFixedDomainFn); function ascending(a, b) { return a < b ? -1 : a > b ? 1 : a >= b ? 0 : NaN; @@ -24701,7 +24568,7 @@ if (tickCount && type === 'number' && originalDomain && (originalDomain[0] === 'auto' || originalDomain[1] === 'auto')) { // Calculate the ticks by the number of grid when the axis is a number axis var domain = scale.domain(); - var tickValues = lib_2(domain, tickCount, allowDecimals); + var tickValues = getNiceTickValues(domain, tickCount, allowDecimals); scale.domain(calculateDomainOfTicks(tickValues, type)); return { niceTicks: tickValues @@ -24711,7 +24578,7 @@ if (tickCount && type === 'number') { var _domain = scale.domain(); - var _tickValues = lib_3(_domain, tickCount, allowDecimals); + var _tickValues = getTickValuesFixedDomain(_domain, tickCount, allowDecimals); return { niceTicks: _tickValues @@ -27481,7 +27348,7 @@ var paddingAngle = index > 0 ? get_1(entry, 'paddingAngle', 0) : 0; if (prev) { - var angleIp = interpolateNumber$1(prev.endAngle - prev.startAngle, entry.endAngle - entry.startAngle); + var angleIp = interpolateNumber$2(prev.endAngle - prev.startAngle, entry.endAngle - entry.startAngle); var latest = _objectSpread$6({}, entry, { startAngle: curAngle + paddingAngle, @@ -27493,7 +27360,7 @@ } else { var endAngle = entry.endAngle, startAngle = entry.startAngle; - var interpolatorAngle = interpolateNumber$1(0, endAngle - startAngle); + var interpolatorAngle = interpolateNumber$2(0, endAngle - startAngle); var deltaAngle = interpolatorAngle(t); var _latest = _objectSpread$6({}, entry, { @@ -32880,7 +32747,7 @@ if (payload) { if (customTooltip) return customTooltip(payload); - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { className: "DonutChart-tooltip" }, "".concat(payload.name).concat(chartProps.separator).concat((+payload.value).toLocaleString())); } @@ -32913,19 +32780,19 @@ var ey = my; var textAnchor = cos >= 0 ? 'start' : 'end'; var total = Math.ceil(value / percent); - return /*#__PURE__*/React.createElement("g", null, withCenterText && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("text", { + return /*#__PURE__*/React__namespace.createElement("g", null, withCenterText && /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, /*#__PURE__*/React__namespace.createElement("text", { x: cx, y: cy, "font-size": 'var(--font-size-xl)', textAnchor: "middle" - }, "Total"), /*#__PURE__*/React.createElement("text", { + }, "Total"), /*#__PURE__*/React__namespace.createElement("text", { x: cx, y: cy, dy: 22, "font-size": 'var(--font-size-l)', textAnchor: "middle", fill: colorToHex$1(colorOfTotalCount) - }, total.toLocaleString())), /*#__PURE__*/React.createElement(Sector, { + }, total.toLocaleString())), /*#__PURE__*/React__namespace.createElement(Sector, { cx: cx, cy: cy, innerRadius: innerRadius, @@ -32933,7 +32800,7 @@ startAngle: startAngle, endAngle: endAngle, fill: fill - }), withActiveSegment && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Sector, { + }), withActiveSegment && /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, /*#__PURE__*/React__namespace.createElement(Sector, { cx: cx, cy: cy, startAngle: startAngle, @@ -32941,28 +32808,28 @@ innerRadius: outerRadius + 6, outerRadius: outerRadius + 10, fill: fill - }), /*#__PURE__*/React.createElement("path", { + }), /*#__PURE__*/React__namespace.createElement("path", { d: "M".concat(sx, ",").concat(sy, "L").concat(mx, ",").concat(my, "L").concat(ex, ",").concat(ey), stroke: fill, fill: "none" - }), /*#__PURE__*/React.createElement("circle", { + }), /*#__PURE__*/React__namespace.createElement("circle", { cx: ex, cy: ey, r: 2, fill: fill, stroke: "none" - }), /*#__PURE__*/React.createElement("text", { + }), /*#__PURE__*/React__namespace.createElement("text", { x: ex + (cos >= 0 ? 1 : -1) * 12, y: ey, dy: -18, textAnchor: textAnchor, fill: fill - }, "".concat(payload.name)), /*#__PURE__*/React.createElement("text", { + }, "".concat(payload.name)), /*#__PURE__*/React__namespace.createElement("text", { x: ex + (cos >= 0 ? 1 : -1) * 12, y: ey, textAnchor: textAnchor, fill: "#333" - }, "".concat(value.toLocaleString())), /*#__PURE__*/React.createElement("text", { + }, "".concat(value.toLocaleString())), /*#__PURE__*/React__namespace.createElement("text", { x: ex + (cos >= 0 ? 1 : -1) * 12, y: ey, dy: 18, @@ -32971,8 +32838,8 @@ }, "".concat((percent * 100).toFixed(0), "%")))); }; - var _React$useState = React.useState(0), - _React$useState2 = _slicedToArray$6(_React$useState, 2), + var _React$useState = React__namespace.useState(0), + _React$useState2 = _slicedToArray$7(_React$useState, 2), activeIndex = _React$useState2[0], setActiveIndex = _React$useState2[1]; @@ -32996,9 +32863,9 @@ // }, []); var classes = classnames(_defineProperty$w({}, 'DonutChart', true), className); - return /*#__PURE__*/React.createElement(Row, _extends$p({}, baseProps, { + return /*#__PURE__*/React__namespace.createElement(Row, _extends$p({}, baseProps, { className: classes - }), /*#__PURE__*/React.createElement(Column, columnOptions.chart, /*#__PURE__*/React.createElement(ResponsiveContainer, null, /*#__PURE__*/React.createElement(PieChart, null, /*#__PURE__*/React.createElement(Pie, { + }), /*#__PURE__*/React__namespace.createElement(Column, columnOptions.chart, /*#__PURE__*/React__namespace.createElement(ResponsiveContainer, null, /*#__PURE__*/React__namespace.createElement(PieChart, null, /*#__PURE__*/React__namespace.createElement(Pie, { data: data, dataKey: "value", activeIndex: activeIndex, @@ -33007,17 +32874,17 @@ outerRadius: oRadius, innerRadius: iRadius }, data.map(function (_entry, index) { - return /*#__PURE__*/React.createElement(Cell$1, { + return /*#__PURE__*/React__namespace.createElement(Cell$1, { fill: getColor(index, 'hex'), key: index }); - })), withTooltip && /*#__PURE__*/React.createElement(Tooltip$1, { + })), withTooltip && /*#__PURE__*/React__namespace.createElement(Tooltip$1, { separator: ": ", - content: /*#__PURE__*/React.createElement(ChartTooltip, null) - })))), withLegends && /*#__PURE__*/React.createElement(Column, _extends$p({ + content: /*#__PURE__*/React__namespace.createElement(ChartTooltip, null) + })))), withLegends && /*#__PURE__*/React__namespace.createElement(Column, _extends$p({ className: "DonutChart-legends" }, columnOptions.legends), data.map(function (d, i) { - return /*#__PURE__*/React.createElement(Legend, { + return /*#__PURE__*/React__namespace.createElement(Legend, { key: i, iconAppearance: getColor(i) }, "".concat(d.name, " - ").concat((+d.value).toLocaleString())); @@ -33043,7 +32910,7 @@ * - [Uncontrolled Input](https://reactjs.org/docs/uncontrolled-components.html) */ - var Input = /*#__PURE__*/React.forwardRef(function (props, forwardedRef) { + var Input = /*#__PURE__*/React__namespace.forwardRef(function (props, forwardedRef) { var _classNames, _classNames2, _classNames3, _classNames4; var _props$size = props.size, @@ -33073,11 +32940,11 @@ readOnly = props.readOnly, rest = _objectWithoutProperties$a(props, ["size", "type", "minWidth", "defaultValue", "name", "placeholder", "value", "icon", "inlineLabel", "required", "error", "info", "onChange", "onClick", "onClear", "onBlur", "onFocus", "actionIcon", "className", "autoFocus", "disabled", "readOnly"]); - var ref = React.useRef(null); - React.useImperativeHandle(forwardedRef, function () { + var ref = React__namespace.useRef(null); + React__namespace.useImperativeHandle(forwardedRef, function () { return ref.current; }); - React.useEffect(function () { + React__namespace.useEffect(function () { var _ref$current; if (autoFocus) (_ref$current = ref.current) === null || _ref$current === void 0 ? void 0 : _ref$current.focus({ @@ -33089,13 +32956,13 @@ var inputClass = classnames((_classNames2 = {}, _defineProperty$w(_classNames2, 'Input-input', true), _defineProperty$w(_classNames2, "Input-input--".concat(size), size), _classNames2)); var leftIconClass = classnames((_classNames3 = {}, _defineProperty$w(_classNames3, 'Input-icon', true), _defineProperty$w(_classNames3, 'Input-icon--left', true), _defineProperty$w(_classNames3, 'Input-icon--disabled', !value), _classNames3)); var rightIconClass = classnames((_classNames4 = {}, _defineProperty$w(_classNames4, 'Input-icon', true), _defineProperty$w(_classNames4, 'Input-icon--right', true), _classNames4)); - var trigger = /*#__PURE__*/React.createElement("div", { + var trigger = /*#__PURE__*/React__namespace.createElement("div", { className: rightIconClass - }, /*#__PURE__*/React.createElement(Icon, { + }, /*#__PURE__*/React__namespace.createElement(Icon, { name: 'info', size: sizeMapping[size] })); - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { "data-test": "DesignSystem-InputWrapper", className: classes, style: { @@ -33106,16 +32973,16 @@ return (_ref$current2 = ref.current) === null || _ref$current2 === void 0 ? void 0 : _ref$current2.focus(); } - }, inlineLabel && /*#__PURE__*/React.createElement("div", { + }, inlineLabel && /*#__PURE__*/React__namespace.createElement("div", { className: "Input-inlineLabel" - }, /*#__PURE__*/React.createElement(Text$1, { + }, /*#__PURE__*/React__namespace.createElement(Text$1, { appearance: "subtle" - }, inlineLabel)), size !== 'tiny' && icon && /*#__PURE__*/React.createElement("div", { + }, inlineLabel)), size !== 'tiny' && icon && /*#__PURE__*/React__namespace.createElement("div", { className: leftIconClass - }, /*#__PURE__*/React.createElement(Icon, { + }, /*#__PURE__*/React__namespace.createElement(Icon, { name: icon, size: sizeMapping[size] - })), /*#__PURE__*/React.createElement("input", _extends$p({ + })), /*#__PURE__*/React__namespace.createElement("input", _extends$p({ "data-test": "DesignSystem-Input" }, baseProps, rest, { ref: ref, @@ -33132,15 +32999,15 @@ onBlur: onBlur, onClick: onClick, onFocus: onFocus - })), !value && !disabled || value && disabled || defaultValue && disabled ? info && /*#__PURE__*/React.createElement(Tooltip, { + })), !value && !disabled || value && disabled || defaultValue && disabled ? info && /*#__PURE__*/React__namespace.createElement(Tooltip, { position: "top", tooltip: info - }, trigger) : actionIcon ? actionIcon : onClear && value && !disabled && /*#__PURE__*/React.createElement("div", { + }, trigger) : actionIcon ? actionIcon : onClear && value && !disabled && /*#__PURE__*/React__namespace.createElement("div", { className: rightIconClass, onClick: function onClick(e) { return onClear(e); } - }, /*#__PURE__*/React.createElement(Icon, { + }, /*#__PURE__*/React__namespace.createElement(Icon, { name: 'close', size: sizeMapping[size] }))); @@ -33165,7 +33032,7 @@ * * **Updated value can be passed** */ - var InputMask = /*#__PURE__*/React.forwardRef(function (props, forwardRef) { + var InputMask = /*#__PURE__*/React__namespace.forwardRef(function (props, forwardRef) { props.mask; var valueProp = props.value, _props$placeholderCha = props.placeholderChar, @@ -33228,24 +33095,24 @@ return _typeof$p(mask[pos]) === 'object'; }; - var deferId = React.useRef(); - var selectionRef = React.useRef(0); + var deferId = React__namespace.useRef(); + var selectionRef = React__namespace.useRef(0); - var _React$useState = React.useState(defaultValue || valueProp || ''), - _React$useState2 = _slicedToArray$6(_React$useState, 2), + var _React$useState = React__namespace.useState(defaultValue || valueProp || ''), + _React$useState2 = _slicedToArray$7(_React$useState, 2), value = _React$useState2[0], setValue = _React$useState2[1]; - var _React$useState3 = React.useState(getDefaultSelection()), - _React$useState4 = _slicedToArray$6(_React$useState3, 2), + var _React$useState3 = React__namespace.useState(getDefaultSelection()), + _React$useState4 = _slicedToArray$7(_React$useState3, 2), selection = _React$useState4[0], setSelection = _React$useState4[1]; - var ref = React.useRef(null); - React.useImperativeHandle(forwardRef, function () { + var ref = React__namespace.useRef(null); + React__namespace.useImperativeHandle(forwardRef, function () { return ref.current; }); - React.useEffect(function () { + React__namespace.useEffect(function () { setValue(valueProp || ''); }, [valueProp]); @@ -33403,9 +33270,9 @@ var classes = classnames({ 'd-flex flex-column flex-grow-1': true }, className); - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { className: classes - }, /*#__PURE__*/React.createElement(Input, _extends$p({}, rest, { + }, /*#__PURE__*/React__namespace.createElement(Input, _extends$p({}, rest, { value: value, error: error, required: required, @@ -33415,7 +33282,7 @@ onBlur: onBlurHandler, autoComplete: 'off', ref: ref - })), /*#__PURE__*/React.createElement(Caption, { + })), /*#__PURE__*/React__namespace.createElement(Caption, { error: error, withInput: true, hide: !caption @@ -33448,14 +33315,14 @@ 'Label-label': true, 'Label--disabled': disabled }); - return /*#__PURE__*/React.createElement("div", _extends$p({ + return /*#__PURE__*/React__namespace.createElement("div", _extends$p({ "data-test": "DesignSystem-Label" }, baseProps, { className: LabelClass - }), /*#__PURE__*/React.createElement(GenericText, _extends$p({ + }), /*#__PURE__*/React__namespace.createElement(GenericText, _extends$p({ className: classes, componentType: "label" - }, rest), children), required && /*#__PURE__*/React.createElement("span", { + }, rest), children), required && /*#__PURE__*/React__namespace.createElement("span", { className: "Label-requiredIndicator", "data-test": "DesignSystem-Label--RequiredIndicator" })); @@ -33475,15 +33342,15 @@ Caption: true }, _defineProperty$w(_classNames, 'Caption--hidden', hide), _defineProperty$w(_classNames, 'Caption--withInput', withInput), _classNames), className); var errorIconClass = classnames(_defineProperty$w({}, 'Caption-icon', true)); - return /*#__PURE__*/React.createElement("div", _extends$p({}, baseProps, { + return /*#__PURE__*/React__namespace.createElement("div", _extends$p({}, baseProps, { className: classes - }), error && /*#__PURE__*/React.createElement("div", { + }), error && /*#__PURE__*/React__namespace.createElement("div", { className: errorIconClass - }, /*#__PURE__*/React.createElement(Icon, { + }, /*#__PURE__*/React__namespace.createElement(Icon, { size: 14, name: 'error', appearance: 'alert' - })), /*#__PURE__*/React.createElement(Text$1, { + })), /*#__PURE__*/React__namespace.createElement(Text$1, { appearance: error ? 'destructive' : 'subtle', size: "small", weight: "medium" @@ -33508,7 +33375,7 @@ height: "".concat(iconSize, "px"), width: "".concat(iconSize, "px") }; - return /*#__PURE__*/React.createElement("div", _extends$p({}, baseProps, { + return /*#__PURE__*/React__namespace.createElement("div", _extends$p({}, baseProps, { className: legendClass, onClick: function onClick(e) { return _onClick && _onClick(e); @@ -33519,10 +33386,10 @@ onMouseLeave: function onMouseLeave(e) { return _onMouseLeave && _onMouseLeave(e); } - }), /*#__PURE__*/React.createElement("span", { + }), /*#__PURE__*/React__namespace.createElement("span", { className: "Legend-icon", style: styles - }), /*#__PURE__*/React.createElement(Text$1, { + }), /*#__PURE__*/React__namespace.createElement(Text$1, { appearance: labelAppearance, weight: labelWeight }, children)); @@ -33540,11 +33407,11 @@ children = props.children; var baseProps = extractBaseProps(props); var EditableClass = classnames(_defineProperty$w({}, 'Editable', true), className); - return /*#__PURE__*/React.createElement("div", _extends$p({ + return /*#__PURE__*/React__namespace.createElement("div", _extends$p({ "data-test": "DesignSystem-Editable" }, baseProps, { className: EditableClass - }), /*#__PURE__*/React.createElement("div", { + }), /*#__PURE__*/React__namespace.createElement("div", { "data-test": "DesignSystem-EditableWrapper", onClick: function onClick() { return onChange('edit'); @@ -33571,18 +33438,18 @@ onDropdownClose = dropdownOptions.onClose, rest = _objectWithoutProperties$a(dropdownOptions, ["onChange", "onClose"]); - var _React$useState = React.useState(placeholder), - _React$useState2 = _slicedToArray$6(_React$useState, 2), + var _React$useState = React__namespace.useState(placeholder), + _React$useState2 = _slicedToArray$7(_React$useState, 2), label = _React$useState2[0], setLabel = _React$useState2[1]; - var _React$useState3 = React.useState(false), - _React$useState4 = _slicedToArray$6(_React$useState3, 2), + var _React$useState3 = React__namespace.useState(false), + _React$useState4 = _slicedToArray$7(_React$useState3, 2), editing = _React$useState4[0], setEditing = _React$useState4[1]; - var _React$useState5 = React.useState(false), - _React$useState6 = _slicedToArray$6(_React$useState5, 2), + var _React$useState5 = React__namespace.useState(false), + _React$useState6 = _slicedToArray$7(_React$useState5, 2), showComponent = _React$useState6[0], setShowComponent = _React$useState6[1]; @@ -33627,21 +33494,21 @@ return componentLabel; }; - return /*#__PURE__*/React.createElement("div", _extends$p({ + return /*#__PURE__*/React__namespace.createElement("div", _extends$p({ "data-test": "DesignSystem-EditableDropdown" }, baseProps, { className: CompClass - }), /*#__PURE__*/React.createElement(Editable, { + }), /*#__PURE__*/React__namespace.createElement(Editable, { onChange: onChangeHandler, editing: editing - }, /*#__PURE__*/React.createElement(Dropdown, _extends$p({ + }, /*#__PURE__*/React__namespace.createElement(Dropdown, _extends$p({ placeholder: placeholder, onChange: onChange, getLabel: getLabel, onClose: onClose, className: EditableDropdownClass, "data-test": "DesignSystem-EditableDropdown--Dropdown" - }, rest)), /*#__PURE__*/React.createElement("div", { + }, rest)), /*#__PURE__*/React__namespace.createElement("div", { className: DefaultCompClass, "data-test": "DesignSystem-EditableDropdown--Default" }, renderComponent(label || placeholder)))); @@ -33659,7 +33526,7 @@ var classes = classnames({ Link: true }, className); - return /*#__PURE__*/React.createElement(GenericText, _extends$p({ + return /*#__PURE__*/React__namespace.createElement(GenericText, _extends$p({ className: classes, componentType: "a" }, rest), children); @@ -33682,23 +33549,23 @@ var baseProps = extractBaseProps(props); var MessageClass = classnames((_classNames = {}, _defineProperty$w(_classNames, 'Message', true), _defineProperty$w(_classNames, "Message--".concat(appearance), appearance), _classNames), className); var MessageIcon = classnames((_classNames2 = {}, _defineProperty$w(_classNames2, 'Message-icon', true), _defineProperty$w(_classNames2, "Message-icon--".concat(appearance), appearance), _defineProperty$w(_classNames2, 'Message-icon--withTitle', title), _classNames2)); - return /*#__PURE__*/React.createElement("div", _extends$p({ + return /*#__PURE__*/React__namespace.createElement("div", _extends$p({ "data-test": "DesignSystem-Message" }, baseProps, { className: MessageClass - }), appearance !== 'default' && /*#__PURE__*/React.createElement("div", { + }), appearance !== 'default' && /*#__PURE__*/React__namespace.createElement("div", { className: MessageIcon, "data-test": "DesignSystem-Message--Icon" - }, /*#__PURE__*/React.createElement(Icon, { + }, /*#__PURE__*/React__namespace.createElement(Icon, { name: IconMapping$1[appearance], appearance: appearance - })), /*#__PURE__*/React.createElement("div", { + })), /*#__PURE__*/React__namespace.createElement("div", { "data-test": "DesignSystem-Message--Title" - }, title && /*#__PURE__*/React.createElement("div", { + }, title && /*#__PURE__*/React__namespace.createElement("div", { className: "Message-title" - }, /*#__PURE__*/React.createElement(Heading, { + }, /*#__PURE__*/React__namespace.createElement(Heading, { size: "s" - }, title)), /*#__PURE__*/React.createElement("div", { + }, title)), /*#__PURE__*/React__namespace.createElement("div", { "data-test": "DesignSystem-Message--Description", className: "Message-description" }, children))); @@ -33713,13 +33580,13 @@ icon = props.icon, iconAppearance = props.iconAppearance, labelAppearance = props.labelAppearance; - return /*#__PURE__*/React.createElement("span", { + return /*#__PURE__*/React__namespace.createElement("span", { className: 'Meta' - }, icon && /*#__PURE__*/React.createElement(Icon, { + }, icon && /*#__PURE__*/React__namespace.createElement(Icon, { name: icon, appearance: iconAppearance, className: 'Meta-icon' - }), /*#__PURE__*/React.createElement(Text$1, { + }), /*#__PURE__*/React__namespace.createElement(Text$1, { appearance: labelAppearance }, label)); }; @@ -33738,9 +33605,9 @@ var MetaClass = classnames(_defineProperty$w({}, 'MetaList', true), className); var SeperatorClass = classnames(_defineProperty$w({}, 'MetaList-seperator', true)); var LeftSeperatorClass = classnames((_classNames3 = {}, _defineProperty$w(_classNames3, 'MetaList-seperator', true), _defineProperty$w(_classNames3, 'MetaList-seperator--left', true), _classNames3)); - return /*#__PURE__*/React.createElement("div", _extends$p({}, baseProps, { + return /*#__PURE__*/React__namespace.createElement("div", _extends$p({}, baseProps, { className: MetaClass - }), seperator && /*#__PURE__*/React.createElement(Icon, { + }), seperator && /*#__PURE__*/React__namespace.createElement(Icon, { name: "fiber_manual_record", size: 8, className: LeftSeperatorClass, @@ -33750,15 +33617,15 @@ label = _item$label === void 0 ? '' : _item$label, icon = item.icon; var rightSeperator = ind !== list.length - 1; - return /*#__PURE__*/React.createElement("span", { + return /*#__PURE__*/React__namespace.createElement("span", { key: ind, className: "MetaList-item" - }, /*#__PURE__*/React.createElement(Meta, { + }, /*#__PURE__*/React__namespace.createElement(Meta, { label: label, icon: icon, iconAppearance: iconAppearance, labelAppearance: labelAppearance - }), rightSeperator && /*#__PURE__*/React.createElement(Icon, { + }), rightSeperator && /*#__PURE__*/React__namespace.createElement(Icon, { name: "fiber_manual_record", size: 8, className: SeperatorClass, @@ -33773,35 +33640,35 @@ labelAppearance: 'subtle' }; - var OutsideClick = /*#__PURE__*/React.forwardRef(function (props, ref) { + var OutsideClick = /*#__PURE__*/React__namespace.forwardRef(function (props, ref) { var children = props.children, className = props.className, onOutsideClick = props.onOutsideClick, rest = _objectWithoutProperties$a(props, ["children", "className", "onOutsideClick"]); - var innerRef = React.useRef(null); - React.useImperativeHandle(ref, function () { + var innerRef = React__namespace.useRef(null); + React__namespace.useImperativeHandle(ref, function () { return innerRef.current; }, [innerRef]); - React.useEffect(function () { + React__namespace.useEffect(function () { document.addEventListener('click', handleOutsideClick, true); return function () { document.removeEventListener('click', handleOutsideClick); }; }, []); - var handleOutsideClick = React.useCallback(function (event) { + var handleOutsideClick = React__namespace.useCallback(function (event) { var element = innerRef; if (!event.target || !element.current) { return; } - if (!ReactDOM.findDOMNode(element.current).contains(event.target)) { + if (!ReactDOM__namespace.findDOMNode(element.current).contains(event.target)) { onOutsideClick(event); } }, []); var classes = classnames(_defineProperty$w({}, 'OutsideClick', true), className); - return /*#__PURE__*/React.createElement("div", _extends$p({ + return /*#__PURE__*/React__namespace.createElement("div", _extends$p({ ref: innerRef }, rest, { className: classes @@ -33817,7 +33684,7 @@ var classes = classnames(_defineProperty$w({ Text: true }, "Text--".concat(appearance), appearance), className); - return /*#__PURE__*/React.createElement(GenericText, _extends$p({ + return /*#__PURE__*/React__namespace.createElement(GenericText, _extends$p({ "data-test": "DesignSystem-Paragraph" }, baseProps, { className: classes, @@ -33840,11 +33707,11 @@ var ProgressBarClass = classnames({ ProgressBar: true }, className); - return /*#__PURE__*/React.createElement("div", _extends$p({ + return /*#__PURE__*/React__namespace.createElement("div", _extends$p({ "data-test": "DesignSystem-ProgressBar" }, baseProps, { className: ProgressBarClass - }), /*#__PURE__*/React.createElement("div", { + }), /*#__PURE__*/React__namespace.createElement("div", { className: 'ProgressBar-indicator', style: style })); @@ -33854,7 +33721,7 @@ max: 100 }; - var Radio = /*#__PURE__*/React.forwardRef(function (props, forwardedRef) { + var Radio = /*#__PURE__*/React__namespace.forwardRef(function (props, forwardedRef) { var _classNames, _classNames2, _classNames3; var _props$size = props.size, @@ -33868,19 +33735,19 @@ defaultChecked = props.defaultChecked, className = props.className; var baseProps = extractBaseProps(props); - var ref = React.useRef(null); - React.useImperativeHandle(forwardedRef, function () { + var ref = React__namespace.useRef(null); + React__namespace.useImperativeHandle(forwardedRef, function () { return ref.current; }); var RadioClass = classnames((_classNames = {}, _defineProperty$w(_classNames, 'Radio', true), _defineProperty$w(_classNames, 'Radio--disabled', disabled), _defineProperty$w(_classNames, "Radio--".concat(size), size), _classNames), className); var RadioWrapper = classnames((_classNames2 = {}, _defineProperty$w(_classNames2, 'Radio-wrapper', true), _defineProperty$w(_classNames2, "Radio-wrapper--".concat(size), size), _classNames2)); var RadioOuterWrapper = classnames((_classNames3 = {}, _defineProperty$w(_classNames3, 'Radio-outerWrapper', true), _defineProperty$w(_classNames3, "Radio-outerWrapper--".concat(size), size), _classNames3)); var id = "".concat(name, "-").concat(label, "-").concat(uidGenerator()); - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { className: RadioClass - }, /*#__PURE__*/React.createElement("div", { + }, /*#__PURE__*/React__namespace.createElement("div", { className: RadioOuterWrapper - }, /*#__PURE__*/React.createElement("input", _extends$p({}, baseProps, { + }, /*#__PURE__*/React__namespace.createElement("input", _extends$p({}, baseProps, { type: "radio", disabled: disabled, checked: checked, @@ -33891,19 +33758,19 @@ onChange: onChange, className: "Radio-input", id: id - })), /*#__PURE__*/React.createElement("span", { + })), /*#__PURE__*/React__namespace.createElement("span", { className: RadioWrapper - })), label && /*#__PURE__*/React.createElement("label", { + })), label && /*#__PURE__*/React__namespace.createElement("label", { className: "Radio-label", htmlFor: id - }, /*#__PURE__*/React.createElement(Text$1, { + }, /*#__PURE__*/React__namespace.createElement(Text$1, { size: size === 'tiny' ? 'small' : 'regular', appearance: disabled ? 'disabled' : 'default' }, label))); }); Radio.displayName = 'Radio'; - var Row = /*#__PURE__*/React.forwardRef(function (props, ref) { + var Row = /*#__PURE__*/React__namespace.forwardRef(function (props, ref) { var className = props.className, children = props.children, rest = _objectWithoutProperties$a(props, ["className", "children"]); @@ -33911,7 +33778,7 @@ var classes = classnames(_defineProperty$w({ Row: true }, "".concat(className), className)); - return /*#__PURE__*/React.createElement("div", _extends$p({ + return /*#__PURE__*/React__namespace.createElement("div", _extends$p({ "data-test": "DesignSystem-Row", ref: ref }, rest, { @@ -33932,7 +33799,7 @@ var baseProps = extractBaseProps(props); var StatusHintClass = classnames(_defineProperty$w({}, 'StatusHint', true), className); var StatusHintIconClass = classnames((_classNames2 = {}, _defineProperty$w(_classNames2, 'StatusHint-icon', true), _defineProperty$w(_classNames2, "StatusHint--".concat(appearance), appearance), _classNames2)); - return /*#__PURE__*/React.createElement("div", _extends$p({ + return /*#__PURE__*/React__namespace.createElement("div", _extends$p({ "data-test": "DesignSystem-StatusHint" }, baseProps, { className: StatusHintClass, @@ -33945,10 +33812,10 @@ onMouseLeave: function onMouseLeave(e) { return _onMouseLeave && _onMouseLeave(e); } - }), /*#__PURE__*/React.createElement("span", { + }), /*#__PURE__*/React__namespace.createElement("span", { "data-test": "DesignSystem-StatusHint--Icon", className: StatusHintIconClass - }), /*#__PURE__*/React.createElement(Text$1, { + }), /*#__PURE__*/React__namespace.createElement(Text$1, { "data-test": "DesignSystem-StatusHint--Text", weight: 'medium' }, children)); @@ -33969,7 +33836,7 @@ var classes = classnames((_classNames = { Pills: true }, _defineProperty$w(_classNames, "Badge--".concat(appearance), appearance && !subtle), _defineProperty$w(_classNames, "Badge--subtle-".concat(appearance), subtle), _classNames), className); - return /*#__PURE__*/React.createElement("span", _extends$p({ + return /*#__PURE__*/React__namespace.createElement("span", _extends$p({ "data-test": "DesignSystem-Pills" }, baseProps, { className: classes @@ -34240,7 +34107,7 @@ left: offsetCalc }; var className = classnames((_classNames = {}, _defineProperty$w(_classNames, 'Slider-handle', true), _defineProperty$w(_classNames, 'Slider-handle--disabled', disabled), _defineProperty$w(_classNames, 'Slider-handle--active', this.state.isMoving), _classNames)); - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { className: className, onMouseDown: this.beginHandleMovement, onKeyDown: this.handleKeyDown, @@ -34248,18 +34115,18 @@ ref: this.refHandlers.handle, style: style, tabIndex: 1 - }, !this.state.isMoving && /*#__PURE__*/React.createElement(Tooltip, { + }, !this.state.isMoving && /*#__PURE__*/React__namespace.createElement(Tooltip, { tooltip: label, position: "top", triggerClass: 'Slider-tooltip' - }, /*#__PURE__*/React.createElement("span", { + }, /*#__PURE__*/React__namespace.createElement("span", { className: "h-100 w-100" }))); } }]); return Handle; - }(React.Component); + }(React__namespace.Component); var MultiSliderHandle = function MultiSliderHandle() { return null; @@ -34298,7 +34165,7 @@ }); _defineProperty$w(_assertThisInitialized$p(_this), "getHandleValues", function (props) { - var maybeHandles = React.Children.map(props.children, function (child) { + var maybeHandles = React__namespace.Children.map(props.children, function (child) { return isElementOfType(child) ? child.props : null; }); var handles = maybeHandles != null ? maybeHandles : []; @@ -34446,7 +34313,7 @@ return handleProps.map(function (_ref2, index) { var value = _ref2.value; - return /*#__PURE__*/React.createElement(Handle, { + return /*#__PURE__*/React__namespace.createElement(Handle, { disabled: disabled, key: "".concat(index, "-").concat(handleProps.length), max: max, @@ -34499,13 +34366,13 @@ left: offsetPercentage }; var active = !disabled && activeLabels.indexOf(i.toFixed(_this.state.labelPrecision)) !== -1; - labels.push( /*#__PURE__*/React.createElement("div", { + labels.push( /*#__PURE__*/React__namespace.createElement("div", { className: 'Slider-label', key: i, style: style - }, /*#__PURE__*/React.createElement("span", { + }, /*#__PURE__*/React__namespace.createElement("span", { className: 'Slider-ticks' - }), labelRenderer !== false && /*#__PURE__*/React.createElement(Text$1, { + }), labelRenderer !== false && /*#__PURE__*/React__namespace.createElement(Text$1, { size: "small", appearance: active ? 'default' : 'disabled' }, _this.formatLabel(i)))); @@ -34520,7 +34387,7 @@ var _sort = [_this.getOffsetRatio(start.value), _this.getOffsetRatio(end.value)].sort(function (left, right) { return left - right; }), - _sort2 = _slicedToArray$6(_sort, 2), + _sort2 = _slicedToArray$7(_sort, 2), startRatio = _sort2[0], endRatio = _sort2[1]; @@ -34536,7 +34403,7 @@ var fillTrack = _this.getTrackFill(start, end); var classes = classnames((_classNames = {}, _defineProperty$w(_classNames, 'Slider-progress', true), _defineProperty$w(_classNames, 'Slider-progress--disabled', _this.props.disabled), _defineProperty$w(_classNames, 'Slider-progress--inRange', fillTrack), _defineProperty$w(_classNames, 'Slider-progress--inRangeDisabled', fillTrack && _this.props.disabled), _classNames)); - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { key: "track-".concat(index), className: classes, style: style @@ -34615,26 +34482,26 @@ var baseProps = extractBaseProps(this.props); var SliderClass = classnames(_defineProperty$w({}, 'Slider', true), className); var WrapperClass = classnames((_classNames3 = {}, _defineProperty$w(_classNames3, 'Slider-wrapper', true), _defineProperty$w(_classNames3, 'Slider-wrapper--disabled', this.props.disabled), _classNames3)); - return /*#__PURE__*/React.createElement("div", _extends$p({}, baseProps, { + return /*#__PURE__*/React__namespace.createElement("div", _extends$p({}, baseProps, { className: SliderClass - }), label && /*#__PURE__*/React.createElement(Label, { + }), label && /*#__PURE__*/React__namespace.createElement(Label, { withInput: true - }, label), /*#__PURE__*/React.createElement("div", { + }, label), /*#__PURE__*/React__namespace.createElement("div", { className: WrapperClass, onMouseDown: this.maybeHandleTrackClick - }, /*#__PURE__*/React.createElement("div", { + }, /*#__PURE__*/React__namespace.createElement("div", { className: "Slider-track", ref: function ref(_ref3) { return _this2.trackElement = _ref3; } - }, this.renderTracks()), /*#__PURE__*/React.createElement("div", { + }, this.renderTracks()), /*#__PURE__*/React__namespace.createElement("div", { className: "Slider-axis'" }, this.renderLabels()), this.renderHandles())); } }]); return MultiSlider; - }(React.Component); + }(React__namespace.Component); _defineProperty$w(MultiSlider, "defaultProps", { labelStepSize: 1, @@ -34653,12 +34520,12 @@ onChange = props.onChange, rest = _objectWithoutProperties$a(props, ["value", "defaultValue", "onRelease", "onChange"]); - var _React$useState = React.useState(valueProp === undefined ? defaultValue : valueProp), - _React$useState2 = _slicedToArray$6(_React$useState, 2), + var _React$useState = React__namespace.useState(valueProp === undefined ? defaultValue : valueProp), + _React$useState2 = _slicedToArray$7(_React$useState, 2), value = _React$useState2[0], setValue = _React$useState2[1]; - React.useEffect(function () { + React__namespace.useEffect(function () { if (valueProp !== undefined) { setValue(valueProp); } @@ -34672,7 +34539,7 @@ if (onChange) onChange(newValue); }; - return /*#__PURE__*/React.createElement(MultiSlider, rest, /*#__PURE__*/React.createElement(MultiSlider.Handle, { + return /*#__PURE__*/React__namespace.createElement(MultiSlider, rest, /*#__PURE__*/React__namespace.createElement(MultiSlider.Handle, { value: value, onChange: onChangeHandler, onRelease: onRelease, @@ -34698,12 +34565,12 @@ onRelease = props.onRelease, rest = _objectWithoutProperties$a(props, ["value", "defaultValue", "onChange", "onRelease"]); - var _React$useState = React.useState(valueProp === undefined ? defaultValue : valueProp), - _React$useState2 = _slicedToArray$6(_React$useState, 2), + var _React$useState = React__namespace.useState(valueProp === undefined ? defaultValue : valueProp), + _React$useState2 = _slicedToArray$7(_React$useState, 2), value = _React$useState2[0], setValue = _React$useState2[1]; - React.useEffect(function () { + React__namespace.useEffect(function () { if (valueProp !== undefined) { setValue(valueProp); } @@ -34717,13 +34584,13 @@ if (onChange) onChange(range); }; - return /*#__PURE__*/React.createElement(MultiSlider, _extends$p({ + return /*#__PURE__*/React__namespace.createElement(MultiSlider, _extends$p({ onRangeChange: onChangeHandler, onRangeRelease: onRelease - }, rest), /*#__PURE__*/React.createElement(MultiSlider.Handle, { + }, rest), /*#__PURE__*/React__namespace.createElement(MultiSlider.Handle, { value: value[RangeIndex.START], fillAfter: true - }), /*#__PURE__*/React.createElement(MultiSlider.Handle, { + }), /*#__PURE__*/React__namespace.createElement(MultiSlider.Handle, { value: value[RangeIndex.END] })); }; @@ -34737,7 +34604,7 @@ * - [Controlled Switch](https://reactjs.org/docs/forms.html#controlled-components) * - [Uncontrolled Switch](https://reactjs.org/docs/uncontrolled-components.html) */ - var Switch = /*#__PURE__*/React.forwardRef(function (props, ref) { + var Switch = /*#__PURE__*/React__namespace.forwardRef(function (props, ref) { var _classNames, _classNames2; var _props$size = props.size, @@ -34752,12 +34619,12 @@ className = props.className; var baseProps = extractBaseProps(props); - var _React$useState = React.useState(props.checked === undefined ? defaultChecked : props.checked), - _React$useState2 = _slicedToArray$6(_React$useState, 2), + var _React$useState = React__namespace.useState(props.checked === undefined ? defaultChecked : props.checked), + _React$useState2 = _slicedToArray$7(_React$useState, 2), checked = _React$useState2[0], setChecked = _React$useState2[1]; - React.useEffect(function () { + React__namespace.useEffect(function () { if (props.checked !== undefined) setChecked(props.checked); }, [props.checked]); var SwitchClass = classnames((_classNames = {}, _defineProperty$w(_classNames, 'Switch', true), _defineProperty$w(_classNames, 'Switch--disabled', disabled), _defineProperty$w(_classNames, "Switch--".concat(size), size), _classNames), className); @@ -34768,9 +34635,9 @@ if (onChange) onChange(event, !checked); }; - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { className: SwitchClass - }, /*#__PURE__*/React.createElement("input", _extends$p({}, baseProps, { + }, /*#__PURE__*/React__namespace.createElement("input", _extends$p({}, baseProps, { type: "checkbox", defaultChecked: defaultChecked, disabled: disabled, @@ -34780,13 +34647,13 @@ name: name, value: value, className: "Switch-input" - })), /*#__PURE__*/React.createElement("span", { + })), /*#__PURE__*/React__namespace.createElement("span", { className: SwitchWrapper })); }); Switch.displayName = 'Switch'; - var Textarea = /*#__PURE__*/React.forwardRef(function (props, ref) { + var Textarea = /*#__PURE__*/React__namespace.forwardRef(function (props, ref) { var _classNames2; var _props$rows = props.rows, @@ -34808,9 +34675,9 @@ var baseProps = extractBaseProps(props); var classes = classnames(_defineProperty$w({}, 'Textarea', true), className); var TextareaClass = classnames((_classNames2 = {}, _defineProperty$w(_classNames2, 'Textarea-textarea', true), _defineProperty$w(_classNames2, 'Textarea-textarea--resize', resize), _defineProperty$w(_classNames2, 'Textarea-textarea--error', error), _classNames2)); - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { className: classes - }, /*#__PURE__*/React.createElement("textarea", _extends$p({ + }, /*#__PURE__*/React__namespace.createElement("textarea", _extends$p({ "data-test": "DesignSystem-Textarea" }, baseProps, { ref: ref, @@ -34843,10 +34710,10 @@ if (onClick) onClick(e); }; - return /*#__PURE__*/React.createElement("button", { + return /*#__PURE__*/React__namespace.createElement("button", { className: buttonClass, onClick: onClickHandler - }, /*#__PURE__*/React.createElement(Text$1, { + }, /*#__PURE__*/React__namespace.createElement(Text$1, { appearance: "white" }, label)); }; @@ -34886,35 +34753,35 @@ if (onClose) onClose(); }; - return /*#__PURE__*/React.createElement("div", _extends$p({}, baseProps, { + return /*#__PURE__*/React__namespace.createElement("div", _extends$p({}, baseProps, { className: wrapperClass - }), icon && /*#__PURE__*/React.createElement("div", { + }), icon && /*#__PURE__*/React__namespace.createElement("div", { className: iconClass('left') - }, /*#__PURE__*/React.createElement(Icon, { + }, /*#__PURE__*/React__namespace.createElement(Icon, { name: icon, appearance: appearance !== 'warning' ? 'white' : 'default' - })), /*#__PURE__*/React.createElement("div", { + })), /*#__PURE__*/React__namespace.createElement("div", { className: "Toast-body" - }, /*#__PURE__*/React.createElement("div", { + }, /*#__PURE__*/React__namespace.createElement("div", { className: titleClass - }, /*#__PURE__*/React.createElement(Heading, { + }, /*#__PURE__*/React__namespace.createElement(Heading, { size: "s", appearance: appearance !== 'warning' ? 'white' : 'default' - }, title), /*#__PURE__*/React.createElement("div", { + }, title), /*#__PURE__*/React__namespace.createElement("div", { onClick: onCloseHandler - }, /*#__PURE__*/React.createElement("div", { + }, /*#__PURE__*/React__namespace.createElement("div", { className: iconClass('right') - }, /*#__PURE__*/React.createElement(Icon, { + }, /*#__PURE__*/React__namespace.createElement(Icon, { name: 'close', appearance: appearance !== 'warning' ? 'white' : 'default' - })))), message && /*#__PURE__*/React.createElement("div", { + })))), message && /*#__PURE__*/React__namespace.createElement("div", { className: "Toast-message" - }, /*#__PURE__*/React.createElement(Text$1, { + }, /*#__PURE__*/React__namespace.createElement(Text$1, { appearance: appearance !== 'warning' ? 'white' : 'default' - }, message)), !!(actions !== null && actions !== void 0 && actions.length) && /*#__PURE__*/React.createElement("div", { + }, message)), !!(actions !== null && actions !== void 0 && actions.length) && /*#__PURE__*/React__namespace.createElement("div", { className: "Toast-actions" }, actions.slice(0, 2).map(function (action, index) { - return /*#__PURE__*/React.createElement(ActionButton, { + return /*#__PURE__*/React__namespace.createElement(ActionButton, { key: index, label: action.label, appearance: appearance, @@ -38986,15 +38853,15 @@ }; _proto.render = function render() { - return React.createElement(ManagerReferenceNodeContext.Provider, { + return React__namespace.createElement(ManagerReferenceNodeContext.Provider, { value: this.referenceNode - }, React.createElement(ManagerReferenceNodeSetterContext.Provider, { + }, React__namespace.createElement(ManagerReferenceNodeSetterContext.Provider, { value: this.setReferenceNode }, this.props.children)); }; return Manager; - }(React.Component); + }(React__namespace.Component); /** * Takes an argument and if it's an array, returns the first item in the array, @@ -39197,7 +39064,7 @@ }; return InnerPopper; - }(React.Component); + }(React__namespace.Component); _defineProperty(InnerPopper, "defaultProps", { placement: 'bottom', @@ -39209,8 +39076,8 @@ var referenceElement = _ref.referenceElement, props = _objectWithoutPropertiesLoose(_ref, ["referenceElement"]); - return React.createElement(ManagerReferenceNodeContext.Consumer, null, function (referenceNode) { - return React.createElement(InnerPopper, _extends$1({ + return React__namespace.createElement(ManagerReferenceNodeContext.Consumer, null, function (referenceNode) { + return React__namespace.createElement(InnerPopper, _extends$1({ referenceElement: referenceElement !== undefined ? referenceElement : referenceNode }, props)); }); @@ -39252,11 +39119,11 @@ }; return InnerReference; - }(React.Component); + }(React__namespace.Component); function Reference(props) { - return React.createElement(ManagerReferenceNodeSetterContext.Consumer, null, function (setReferenceNode) { - return React.createElement(InnerReference, _extends$1({ + return React__namespace.createElement(ManagerReferenceNodeSetterContext.Consumer, null, function (setReferenceNode) { + return React__namespace.createElement(InnerReference, _extends$1({ setReferenceNode: setReferenceNode }, props)); }); @@ -39294,7 +39161,7 @@ }); _defineProperty$w(_assertThisInitialized$p(_this), "findDOMNode", function (ref) { - return ReactDOM.findDOMNode(ref.current); + return ReactDOM__namespace.findDOMNode(ref.current); }); _defineProperty$w(_assertThisInitialized$p(_this), "doesEventContainsElement", function (event, ref) { @@ -39338,8 +39205,8 @@ medium: '4px', large: '8px' }; - _this.triggerRef = /*#__PURE__*/React.createRef(); - _this.popupRef = /*#__PURE__*/React.createRef(); + _this.triggerRef = /*#__PURE__*/React__namespace.createRef(); + _this.popupRef = /*#__PURE__*/React__namespace.createRef(); _this.getPopperChildren = _this.getPopperChildren.bind(_assertThisInitialized$p(_this)); _this.mouseMoveHandler = _this.mouseMoveHandler.bind(_assertThisInitialized$p(_this)); _this.handleMouseEnter = _this.handleMouseEnter.bind(_assertThisInitialized$p(_this)); @@ -39494,7 +39361,7 @@ } }; - return /*#__PURE__*/React.createElement(OutsideClick, _extends$p({ + return /*#__PURE__*/React__namespace.createElement(OutsideClick, _extends$p({ className: classes, onOutsideClick: onOutsideClickHandler }, options), trigger); @@ -39511,7 +39378,7 @@ children = _this$props5.children; var zIndex = this.state.zIndex; var newStyle = offset ? this.getUpdatedStyle(style, placement, offset) : style; - var element = /*#__PURE__*/React.cloneElement(children, { + var element = /*#__PURE__*/React__namespace.cloneElement(children, { ref: ref, style: _objectSpread2(_objectSpread2({}, newStyle), {}, { zIndex: zIndex @@ -39534,12 +39401,12 @@ open = _this$props6.open, hide = _this$props6.hide, boundaryElement = _this$props6.boundaryElement; - return /*#__PURE__*/React.createElement(Manager, null, /*#__PURE__*/React.createElement(Reference, { + return /*#__PURE__*/React__namespace.createElement(Manager, null, /*#__PURE__*/React__namespace.createElement(Reference, { innerRef: this.triggerRef }, function (_ref2) { var ref = _ref2.ref; return _this4.getTriggerElement(ref); - }), open && appendToBody && /*#__PURE__*/ReactDOM.createPortal( /*#__PURE__*/React.createElement(Popper, { + }), open && appendToBody && /*#__PURE__*/ReactDOM__namespace.createPortal( /*#__PURE__*/React__namespace.createElement(Popper, { placement: placement, innerRef: this.popupRef, modifiers: { @@ -39550,7 +39417,7 @@ enabled: hide } } - }, this.getPopperChildren), document.body), open && !appendToBody && /*#__PURE__*/React.createElement(Popper, { + }, this.getPopperChildren), document.body), open && !appendToBody && /*#__PURE__*/React__namespace.createElement(Popper, { placement: placement, innerRef: this.popupRef }, this.getPopperChildren)); @@ -39558,7 +39425,7 @@ }]); return PopperWrapper; - }(React.Component); + }(React__namespace.Component); _defineProperty$w(PopperWrapper, "defaultProps", { on: 'click', @@ -39581,23 +39448,23 @@ boundaryElement = props.boundaryElement, rest = _objectWithoutProperties$a(props, ["position", "customStyle", "dark", "children", "onToggle", "className", "hideOnReferenceEscape", "boundaryElement"]); - var _React$useState = React.useState(!!props.open), - _React$useState2 = _slicedToArray$6(_React$useState, 2), + var _React$useState = React__namespace.useState(!!props.open), + _React$useState2 = _slicedToArray$7(_React$useState, 2), open = _React$useState2[0], setOpen = _React$useState2[1]; - var _React$useState3 = React.useState(false), - _React$useState4 = _slicedToArray$6(_React$useState3, 2), + var _React$useState3 = React__namespace.useState(false), + _React$useState4 = _slicedToArray$7(_React$useState3, 2), init = _React$useState4[0], setInit = _React$useState4[1]; - React.useEffect(function () { + React__namespace.useEffect(function () { if (props.open !== undefined) setOpen(props.open); }, [props.open]); - var defaultOnToggle = React.useCallback(function (newOpen) { + var defaultOnToggle = React__namespace.useCallback(function (newOpen) { setOpen(newOpen); }, []); - React.useEffect(function () { + React__namespace.useEffect(function () { if (!init) { if ('current' in boundaryElement && boundaryElement.current) { setInit(true); @@ -39607,12 +39474,12 @@ var classes = classnames(_defineProperty$w({ Popover: true }, 'Popover--dark', dark), className); - var PopoverWrapper = /*#__PURE__*/React.createElement("div", { + var PopoverWrapper = /*#__PURE__*/React__namespace.createElement("div", { "data-test": "DesignSystem-Popover", className: classes, "data-layer": true }, children); - return /*#__PURE__*/React.createElement(PopperWrapper, _extends$p({}, rest, { + return /*#__PURE__*/React__namespace.createElement(PopperWrapper, _extends$p({}, rest, { init: init, boundaryElement: 'current' in boundaryElement ? boundaryElement.current : boundaryElement, open: open, @@ -39644,13 +39511,13 @@ tooltip = props.tooltip, rest = _objectWithoutProperties$a(props, ["children", "tooltip"]); - var tooltipWrapper = /*#__PURE__*/React.createElement("div", { + var tooltipWrapper = /*#__PURE__*/React__namespace.createElement("div", { className: "Tooltip" - }, /*#__PURE__*/React.createElement(Text$1, { + }, /*#__PURE__*/React__namespace.createElement(Text$1, { className: "Tooltip-text", appearance: "white" }, tooltip)); - return /*#__PURE__*/React.createElement(Popover, _extends$p({ + return /*#__PURE__*/React__namespace.createElement(Popover, _extends$p({ trigger: children, on: 'hover', offset: 'medium' @@ -39678,7 +39545,7 @@ secondaryButtonLabel = props.secondaryButtonLabel, secondaryButtonCallback = props.secondaryButtonCallback; var baseProps = extractBaseProps(props); - return /*#__PURE__*/React.createElement(Modal, _extends$p({ + return /*#__PURE__*/React__namespace.createElement(Modal, _extends$p({ "data-test": "DesignSystem-Dialog" }, baseProps, { open: open, @@ -39687,17 +39554,17 @@ headerOptions: { heading: heading }, - footer: /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Button, { + footer: /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, /*#__PURE__*/React__namespace.createElement(Button, { "data-test": "DesignSystem-Dialog--SecondaryButton", appearance: secondaryButtonAppearance, onClick: secondaryButtonCallback - }, secondaryButtonLabel), /*#__PURE__*/React.createElement(Button, { + }, secondaryButtonLabel), /*#__PURE__*/React__namespace.createElement(Button, { className: "ml-4", "data-test": "DesignSystem-Dialog--PrimaryButton", appearance: primaryButtonAppearance, onClick: primaryButtonCallback }, primaryButtonLabel)) - }), /*#__PURE__*/React.createElement(ModalDescription, { + }), /*#__PURE__*/React__namespace.createElement(ModalDescription, { title: title, description: description })); @@ -39758,7 +39625,7 @@ _this = _super.call(this, props); - _defineProperty$w(_assertThisInitialized$p(_this), "modalRef", /*#__PURE__*/React.createRef()); + _defineProperty$w(_assertThisInitialized$p(_this), "modalRef", /*#__PURE__*/React__namespace.createRef()); _defineProperty$w(_assertThisInitialized$p(_this), "element", void 0); @@ -39858,41 +39725,41 @@ sizeXS: '10' } }; - var ModalContainer = /*#__PURE__*/React.createElement(Row, { + var ModalContainer = /*#__PURE__*/React__namespace.createElement(Row, { "data-test": "DesignSystem-ModalContainer", className: ContainerClass, "data-layer": true, style: { zIndex: zIndex } - }, /*#__PURE__*/React.createElement(Column, _extends$p({ + }, /*#__PURE__*/React__namespace.createElement(Column, _extends$p({ "data-test": "DesignSystem-Modal" }, baseProps, { className: classes }, sizeMap[dimension], { ref: this.modalRef - }), headerOptions && /*#__PURE__*/React.createElement(ModalHeader, _extends$p({ + }), headerOptions && /*#__PURE__*/React__namespace.createElement(ModalHeader, _extends$p({ onClose: function onClose(event, reason) { if (_onClose) _onClose(event, reason); } - }, headerOptions)), children && /*#__PURE__*/React.createElement(React.Fragment, null, headerOptions || footer ? /*#__PURE__*/React.createElement(ModalBody, { + }, headerOptions)), children && /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, headerOptions || footer ? /*#__PURE__*/React__namespace.createElement(ModalBody, { withFooter: !!footer - }, children) : children), footer && /*#__PURE__*/React.createElement(ModalFooter, { + }, children) : children), footer && /*#__PURE__*/React__namespace.createElement(ModalFooter, { open: open }, footer))); - var ModalWrapper = backdropClose ? /*#__PURE__*/React.createElement(OutsideClick, { + var ModalWrapper = backdropClose ? /*#__PURE__*/React__namespace.createElement(OutsideClick, { "data-test": "DesignSystem-Modal--OutsideClick", onOutsideClick: this.onOutsideClickHandler }, ModalContainer) : ModalContainer; - var WrapperElement = /*#__PURE__*/ReactDOM.createPortal(ModalWrapper, this.element); - return /*#__PURE__*/React.createElement(React.Fragment, null, WrapperElement, /*#__PURE__*/React.createElement(Backdrop, { + var WrapperElement = /*#__PURE__*/ReactDOM__namespace.createPortal(ModalWrapper, this.element); + return /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, WrapperElement, /*#__PURE__*/React__namespace.createElement(Backdrop, { open: this.state.animate })); } }]); return Modal; - }(React.Component); + }(React__namespace.Component); _defineProperty$w(Modal, "defaultProps", { dimension: 'medium' @@ -39908,18 +39775,18 @@ var classes = classnames(_defineProperty$w({ 'FullscreenModal-header': true }, 'FullscreenModal-header--backButton', backButton), className); - return /*#__PURE__*/React.createElement("div", _extends$p({ + return /*#__PURE__*/React__namespace.createElement("div", _extends$p({ "data-test": "DesignSystem-ModalHeader" }, baseProps, { className: classes - }), /*#__PURE__*/React.createElement("div", { + }), /*#__PURE__*/React__namespace.createElement("div", { className: "FullscreenModal-headerWrapper" - }, backButton && /*#__PURE__*/React.createElement(Icon, { + }, backButton && /*#__PURE__*/React__namespace.createElement(Icon, { name: "keyboard_backspace", size: 20, className: "mr-5 cursor-pointer", onClick: backButtonCallback - }), heading && /*#__PURE__*/React.createElement(Heading, null, heading)), subHeading && /*#__PURE__*/React.createElement(Text$1, { + }), heading && /*#__PURE__*/React__namespace.createElement(Heading, null, heading)), subHeading && /*#__PURE__*/React__namespace.createElement(Text$1, { "data-test": "DesignSystem-ModalHeader--Subheading", appearance: "subtle", className: "mt-2" @@ -39931,8 +39798,8 @@ var open = props.open, actions = props.actions; var baseProps = extractBaseProps(props); - var wrapperRef = /*#__PURE__*/React.createRef(); - React.useEffect(function () { + var wrapperRef = /*#__PURE__*/React__namespace.createRef(); + React__namespace.useEffect(function () { if (open) { if (wrapperRef.current) { var _wrapperRef$current; @@ -39950,7 +39817,7 @@ } } }, [open]); - return /*#__PURE__*/React.createElement("div", _extends$p({ + return /*#__PURE__*/React__namespace.createElement("div", _extends$p({ ref: wrapperRef }, baseProps, { className: "d-flex" @@ -39958,7 +39825,7 @@ _ref.label; var options = _objectWithoutProperties$a(_ref, ["label"]); - return /*#__PURE__*/React.createElement(Button, _extends$p({}, options, { + return /*#__PURE__*/React__namespace.createElement(Button, _extends$p({}, options, { key: index })); })); @@ -39980,7 +39847,7 @@ _this = _super.call(this, props); - _defineProperty$w(_assertThisInitialized$p(_this), "modalRef", /*#__PURE__*/React.createRef()); + _defineProperty$w(_assertThisInitialized$p(_this), "modalRef", /*#__PURE__*/React__namespace.createRef()); _defineProperty$w(_assertThisInitialized$p(_this), "element", void 0); @@ -40062,28 +39929,28 @@ sizeXS: '12' } }; - var ModalContainer = /*#__PURE__*/React.createElement("div", { + var ModalContainer = /*#__PURE__*/React__namespace.createElement("div", { "data-test": "DesignSystem-FullscreenModalContainer", className: ContainerClass, "data-layer": true, style: { zIndex: zIndex } - }, /*#__PURE__*/React.createElement("div", _extends$p({ + }, /*#__PURE__*/React__namespace.createElement("div", _extends$p({ "data-test": "DesignSystem-FullscreenModal" }, baseProps, { className: classes, ref: this.modalRef - }), /*#__PURE__*/React.createElement(Row, { + }), /*#__PURE__*/React__namespace.createElement(Row, { className: "justify-content-center" - }, /*#__PURE__*/React.createElement(Column, sizeMap[dimension], /*#__PURE__*/React.createElement(Row, { + }, /*#__PURE__*/React__namespace.createElement(Column, sizeMap[dimension], /*#__PURE__*/React__namespace.createElement(Row, { className: "justify-content-between pt-6 pr-6 pb-5 pl-7" - }, /*#__PURE__*/React.createElement(Column, { + }, /*#__PURE__*/React__namespace.createElement(Column, { size: "auto" - }, !header && /*#__PURE__*/React.createElement(ModalHeader$1, headerOptions), !!header && header), /*#__PURE__*/React.createElement(Column, { + }, !header && /*#__PURE__*/React__namespace.createElement(ModalHeader$1, headerOptions), !!header && header), /*#__PURE__*/React__namespace.createElement(Column, { size: "auto", className: "pr-2" - }, /*#__PURE__*/React.createElement(Icon, { + }, /*#__PURE__*/React__namespace.createElement(Icon, { size: 20, name: 'close', className: "cursor-pointer pt-3", @@ -40091,22 +39958,22 @@ onClick: function onClick(event) { if (onClose) onClose(event, 'IconClick'); } - }))), /*#__PURE__*/React.createElement("div", { + }))), /*#__PURE__*/React__namespace.createElement("div", { "data-test": "DesignSystem-ModalBody", className: "FullscreenModal-body" - }, children), (!!footer || !!footerOptions) && /*#__PURE__*/React.createElement("div", { + }, children), (!!footer || !!footerOptions) && /*#__PURE__*/React__namespace.createElement("div", { "data-test": "DesignSystem-ModalFooter", className: "d-flex justify-content-end p-7" - }, !footer && /*#__PURE__*/React.createElement(ModalFooter$1, _extends$p({}, footerOptions, { + }, !footer && /*#__PURE__*/React__namespace.createElement(ModalFooter$1, _extends$p({}, footerOptions, { open: open })), !!footer && footer))))); - var WrapperElement = /*#__PURE__*/ReactDOM.createPortal(ModalContainer, this.element); - return /*#__PURE__*/React.createElement(React.Fragment, null, WrapperElement); + var WrapperElement = /*#__PURE__*/ReactDOM__namespace.createPortal(ModalContainer, this.element); + return /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, WrapperElement); } }]); return FullscreenModal; - }(React.Component); + }(React__namespace.Component); _defineProperty$w(FullscreenModal, "defaultProps", { dimension: 'medium' @@ -40129,7 +39996,7 @@ _this = _super.call(this, props); - _defineProperty$w(_assertThisInitialized$p(_this), "sidesheetRef", /*#__PURE__*/React.createRef()); + _defineProperty$w(_assertThisInitialized$p(_this), "sidesheetRef", /*#__PURE__*/React__namespace.createRef()); _defineProperty$w(_assertThisInitialized$p(_this), "element", void 0); @@ -40213,7 +40080,7 @@ seperator: seperator }); - var SidesheetContainer = /*#__PURE__*/React.createElement(Row, { + var SidesheetContainer = /*#__PURE__*/React__namespace.createElement(Row, { "data-test": "DesignSystem-SidesheetContainer", className: ContainerClass, "data-layer": true, @@ -40221,36 +40088,36 @@ zIndex: zIndex }, ref: this.sidesheetRef - }, /*#__PURE__*/React.createElement(Column, _extends$p({ + }, /*#__PURE__*/React__namespace.createElement(Column, _extends$p({ "data-test": "DesignSystem-Sidesheet" }, baseProps, { className: classes, size: sidesheetWidth[dimension] - }), /*#__PURE__*/React.createElement(ModalHeader, _extends$p({ + }), /*#__PURE__*/React__namespace.createElement(ModalHeader, _extends$p({ onClose: function onClose(event, reason) { if (_onClose) _onClose(event, reason); } - }, headerObj)), /*#__PURE__*/React.createElement(ModalBody, { + }, headerObj)), /*#__PURE__*/React__namespace.createElement(ModalBody, { stickFooter: stickFooter, withFooter: !!footer - }, this.props.children), footer && /*#__PURE__*/React.createElement(ModalFooter, { + }, this.props.children), footer && /*#__PURE__*/React__namespace.createElement(ModalFooter, { inSidesheet: true, stickToBottom: stickFooter, seperator: seperator }, footer))); - var SidesheetWrapper = backdropClose ? /*#__PURE__*/React.createElement(OutsideClick, { + var SidesheetWrapper = backdropClose ? /*#__PURE__*/React__namespace.createElement(OutsideClick, { "data-test": "DesignSystem-Sidesheet--OutsideClick", onOutsideClick: this.onOutsideClickHandler }, SidesheetContainer) : SidesheetContainer; - var WrapperElement = /*#__PURE__*/ReactDOM.createPortal(SidesheetWrapper, this.element); - return /*#__PURE__*/React.createElement(React.Fragment, null, WrapperElement, /*#__PURE__*/React.createElement(Backdrop, { + var WrapperElement = /*#__PURE__*/ReactDOM__namespace.createPortal(SidesheetWrapper, this.element); + return /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, WrapperElement, /*#__PURE__*/React__namespace.createElement(Backdrop, { open: this.state.animate })); } }]); return Sidesheet; - }(React.Component); + }(React__namespace.Component); _defineProperty$w(Sidesheet, "defaultProps", { dimension: 'regular', @@ -40287,17 +40154,17 @@ switch (type) { case 'failed': - return /*#__PURE__*/React.createElement("div", _extends$p({}, baseProps, { + return /*#__PURE__*/React__namespace.createElement("div", _extends$p({}, baseProps, { className: StatusClass - }), /*#__PURE__*/React.createElement(Icon, { + }), /*#__PURE__*/React__namespace.createElement(Icon, { name: "error", type: "outlined", appearance: "destructive" - }), /*#__PURE__*/React.createElement(Text$1, { + }), /*#__PURE__*/React__namespace.createElement(Text$1, { appearance: "destructive", size: "small", className: "ml-1" - }, "Failed"), /*#__PURE__*/React.createElement(MetaList, { + }, "Failed"), /*#__PURE__*/React__namespace.createElement(MetaList, { list: [{ label: failedText }], @@ -40305,17 +40172,17 @@ })); case 'urgent': - return /*#__PURE__*/React.createElement("div", _extends$p({}, baseProps, { + return /*#__PURE__*/React__namespace.createElement("div", _extends$p({}, baseProps, { className: StatusClass - }), /*#__PURE__*/React.createElement(Icon, { + }), /*#__PURE__*/React__namespace.createElement(Icon, { name: "notification_important", type: "outlined", appearance: "destructive" - }), /*#__PURE__*/React.createElement(Text$1, { + }), /*#__PURE__*/React__namespace.createElement(Text$1, { appearance: "destructive", size: "small", className: "ml-1" - }, "Urgent"), time && /*#__PURE__*/React.createElement(MetaList, { + }, "Urgent"), time && /*#__PURE__*/React__namespace.createElement(MetaList, { list: [{ label: getTime(time) }], @@ -40323,12 +40190,12 @@ })); case 'read': - return /*#__PURE__*/React.createElement("div", _extends$p({}, baseProps, { + return /*#__PURE__*/React__namespace.createElement("div", _extends$p({}, baseProps, { className: StatusClass - }), time && /*#__PURE__*/React.createElement(Text$1, { + }), time && /*#__PURE__*/React__namespace.createElement(Text$1, { appearance: "subtle", size: "small" - }, getTime(time)), /*#__PURE__*/React.createElement(MetaList, { + }, getTime(time)), /*#__PURE__*/React__namespace.createElement(MetaList, { list: [{ label: readText }], @@ -40336,14 +40203,14 @@ })); case 'sending': - return /*#__PURE__*/React.createElement(Text$1, _extends$p({}, baseProps, { + return /*#__PURE__*/React__namespace.createElement(Text$1, _extends$p({}, baseProps, { appearance: "subtle", size: "small", className: TextClass }), sendingText); case 'sent': - return /*#__PURE__*/React.createElement(React.Fragment, null, time && /*#__PURE__*/React.createElement(Text$1, _extends$p({}, baseProps, { + return /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, time && /*#__PURE__*/React__namespace.createElement(Text$1, _extends$p({}, baseProps, { appearance: "subtle", size: "small", className: TextClass @@ -40367,7 +40234,7 @@ className = props.className; var baseProps = extractBaseProps(props); var MessageClass = classnames((_classNames = {}, _defineProperty$w(_classNames, 'Box', true), _defineProperty$w(_classNames, "Box--".concat(type), type), _defineProperty$w(_classNames, 'Box--typing', isTyping), _defineProperty$w(_classNames, 'Box--urgent', statusType === 'urgent'), _defineProperty$w(_classNames, "Box-".concat(type, "--withStatus"), withStatus || isTyping), _classNames), className); - return /*#__PURE__*/React.createElement("div", _extends$p({}, baseProps, { + return /*#__PURE__*/React__namespace.createElement("div", _extends$p({}, baseProps, { className: MessageClass, onClick: onClick }), children); @@ -40384,14 +40251,14 @@ var baseProps = extractBaseProps(props); if (isTyping && type === 'incoming') { - return /*#__PURE__*/React.createElement(Text$1, _extends$p({}, baseProps, { + return /*#__PURE__*/React__namespace.createElement(Text$1, _extends$p({}, baseProps, { appearance: 'subtle', size: 'small', className: className }), typingText); } - return /*#__PURE__*/React.createElement(Text$1, _extends$p({}, baseProps, { + return /*#__PURE__*/React__namespace.createElement(Text$1, _extends$p({}, baseProps, { className: className, appearance: statusType === 'sending' ? 'subtle' : 'default' }), text); @@ -40415,20 +40282,20 @@ var _ref = statusOptions || {}, statusType = _ref.type; - return /*#__PURE__*/React.createElement(Box, _extends$p({}, baseProps, { + return /*#__PURE__*/React__namespace.createElement(Box, _extends$p({}, baseProps, { type: type, className: className, onClick: onClick, isTyping: isTyping, statusType: statusType, withStatus: statusOptions !== undefined - }), /*#__PURE__*/React.createElement(MessageText, { + }), /*#__PURE__*/React__namespace.createElement(MessageText, { type: type, text: text, typingText: typingText, isTyping: isTyping, statusType: statusType - }), !isTyping && statusOptions && /*#__PURE__*/React.createElement(Status, statusOptions)); + }), !isTyping && statusOptions && /*#__PURE__*/React__namespace.createElement(Status, statusOptions)); }; ChatMessage.displayName = 'ChatMessage'; @@ -40457,15 +40324,15 @@ var WrapperClass = classnames(_defineProperty$w({}, 'EmptyState', true), className); var HeadingClass = classnames((_classNames2 = {}, _defineProperty$w(_classNames2, 'EmptyState-title', true), _defineProperty$w(_classNames2, "EmptyState-title--".concat(size), true), _classNames2)); var TextClass = classnames((_classNames3 = {}, _defineProperty$w(_classNames3, 'EmptyState-description', true), _defineProperty$w(_classNames3, "EmptyState-description--".concat(size), children !== undefined), _classNames3)); - return /*#__PURE__*/React.createElement("div", _extends$p({}, baseProps, { + return /*#__PURE__*/React__namespace.createElement("div", _extends$p({}, baseProps, { className: WrapperClass - }), /*#__PURE__*/React.createElement("img", { + }), /*#__PURE__*/React__namespace.createElement("img", { src: imageSrc, height: imageHeight[size] - }), /*#__PURE__*/React.createElement(Heading, { + }), /*#__PURE__*/React__namespace.createElement(Heading, { size: HeadingSize[size], className: HeadingClass - }, title), /*#__PURE__*/React.createElement(Text$1, { + }, title), /*#__PURE__*/React__namespace.createElement(Text$1, { size: textSize[size], className: TextClass, appearance: "subtle" @@ -40490,20 +40357,20 @@ var wrapperClass = classnames(_defineProperty$w({ 'Modal-headerWrapper': true }, 'Modal-headerWrapper--backIcon', backIcon)); - return /*#__PURE__*/React.createElement("div", _extends$p({ + return /*#__PURE__*/React__namespace.createElement("div", _extends$p({ "data-test": "DesignSystem-ModalHeader" }, baseProps, { className: classes - }), /*#__PURE__*/React.createElement("div", { + }), /*#__PURE__*/React__namespace.createElement("div", { className: wrapperClass - }, backIcon && /*#__PURE__*/React.createElement(Icon, { + }, backIcon && /*#__PURE__*/React__namespace.createElement(Icon, { name: "keyboard_backspace", size: 20, className: "ml-3 mr-5 my-3 px-2 py-2 cursor-pointer", onClick: backIconCallback - }), /*#__PURE__*/React.createElement("div", { + }), /*#__PURE__*/React__namespace.createElement("div", { className: "Modal-headerHeading" - }, /*#__PURE__*/React.createElement(Heading, null, heading), /*#__PURE__*/React.createElement(Icon, { + }, /*#__PURE__*/React__namespace.createElement(Heading, null, heading), /*#__PURE__*/React__namespace.createElement(Icon, { size: 20, name: 'close', className: 'mx-2 cursor-pointer', @@ -40511,7 +40378,7 @@ onClick: function onClick(event) { return onClose(event, 'IconClick'); } - }))), subHeading && /*#__PURE__*/React.createElement(Text$1, { + }))), subHeading && /*#__PURE__*/React__namespace.createElement(Text$1, { "data-test": "DesignSystem-ModalHeader--Subheading", appearance: "subtle", className: "mt-2 ml-7" @@ -40532,8 +40399,8 @@ var classes = classnames((_classNames = { 'Modal-footer': true }, _defineProperty$w(_classNames, 'Modal-footer--inModal', !inSidesheet), _defineProperty$w(_classNames, 'Modal-footer--seperator', seperator), _defineProperty$w(_classNames, 'Modal-footer--stickToBottom', stickToBottom), _classNames), className); - var wrapperRef = /*#__PURE__*/React.createRef(); - React.useEffect(function () { + var wrapperRef = /*#__PURE__*/React__namespace.createRef(); + React__namespace.useEffect(function () { if (open) { if (wrapperRef.current) { var _wrapperRef$current; @@ -40551,7 +40418,7 @@ } } }, [open]); - return /*#__PURE__*/React.createElement("div", _extends$p({ + return /*#__PURE__*/React__namespace.createElement("div", _extends$p({ "data-test": "DesignSystem-ModalFooter", ref: wrapperRef }, baseProps, { @@ -40573,7 +40440,7 @@ var classes = classnames(_defineProperty$w({ 'Modal-body': true }, 'Modal-body--stickFooter', withFooter && stickFooter), className); - return /*#__PURE__*/React.createElement("div", _extends$p({ + return /*#__PURE__*/React__namespace.createElement("div", _extends$p({ "data-test": "DesignSystem-ModalBody" }, baseProps, { className: classes @@ -40593,14 +40460,14 @@ var classes = classnames({ 'Modal-description': true }, className); - return /*#__PURE__*/React.createElement("div", _extends$p({ + return /*#__PURE__*/React__namespace.createElement("div", _extends$p({ "data-test": "DesignSystem-ModalDescription" }, baseProps, { className: classes - }), title && /*#__PURE__*/React.createElement(Text$1, { + }), title && /*#__PURE__*/React__namespace.createElement(Text$1, { weight: "strong", "data-test": "DesignSystem-ModalDescription--Title" - }, title), title && description && /*#__PURE__*/React.createElement("br", null), description && /*#__PURE__*/React.createElement(Text$1, { + }, title), title && description && /*#__PURE__*/React__namespace.createElement("br", null), description && /*#__PURE__*/React__namespace.createElement(Text$1, { "data-test": "DesignSystem-ModalDescription--Description" }, description)); }; @@ -40615,23 +40482,23 @@ className = props.className; var baseProps = extractBaseProps(props); - var _React$useState = React.useState(props.page), - _React$useState2 = _slicedToArray$6(_React$useState, 2), + var _React$useState = React__namespace.useState(props.page), + _React$useState2 = _slicedToArray$7(_React$useState, 2), page = _React$useState2[0], setPage = _React$useState2[1]; - var _React$useState3 = React.useState(false), - _React$useState4 = _slicedToArray$6(_React$useState3, 2), + var _React$useState3 = React__namespace.useState(false), + _React$useState4 = _slicedToArray$7(_React$useState3, 2), init = _React$useState4[0], setInit = _React$useState4[1]; - React.useEffect(function () { + React__namespace.useEffect(function () { setPage(props.page); }, [props.page]); var wrapperClass = classnames((_classNames = {}, _defineProperty$w(_classNames, 'Pagination', true), _defineProperty$w(_classNames, "Pagination--".concat(type), type), _classNames), className); var nextButtonWrapperClass = classnames((_classNames2 = {}, _defineProperty$w(_classNames2, 'Pagination-buttonWrapper', true), _defineProperty$w(_classNames2, 'Pagination-buttonWrapper--next', true), _classNames2)); var prevButtonWrapperClass = classnames((_classNames3 = {}, _defineProperty$w(_classNames3, 'Pagination-buttonWrapper', true), _defineProperty$w(_classNames3, 'Pagination-buttonWrapper--previous', true), _classNames3)); - React.useEffect(function () { + React__namespace.useEffect(function () { if (init) { if (page >= 1 && page <= totalPages) onPageChange(page); } @@ -40671,13 +40538,13 @@ var buttonHelper = []; if (type === 'basic') buttonHelper.push('mx-3');else buttonHelper.push('mx-4'); - return /*#__PURE__*/React.createElement("div", _extends$p({ + return /*#__PURE__*/React__namespace.createElement("div", _extends$p({ "data-test": "DesignSystem-Pagination" }, baseProps, { className: wrapperClass - }), /*#__PURE__*/React.createElement("div", { + }), /*#__PURE__*/React__namespace.createElement("div", { className: prevButtonWrapperClass - }, /*#__PURE__*/React.createElement(Button, { + }, /*#__PURE__*/React__namespace.createElement(Button, { onClick: function onClick() { return onClickHandler('first'); }, @@ -40686,10 +40553,10 @@ size: "large", icon: "first_page", "data-test": "DesignSystem-Pagination--FirstButton" - }), /*#__PURE__*/React.createElement("div", { + }), /*#__PURE__*/React__namespace.createElement("div", { "data-test": "DesignSystem-Pagination--Prev", className: ['ml-4'].concat(buttonHelper).join(' ') - }, /*#__PURE__*/React.createElement(Button, { + }, /*#__PURE__*/React__namespace.createElement(Button, { onClick: function onClick() { return onClickHandler('prev'); }, @@ -40697,20 +40564,20 @@ size: "large", icon: "navigate_before", "data-test": "DesignSystem-Pagination--PrevButton" - }))), type === 'jump' && /*#__PURE__*/React.createElement("div", { + }))), type === 'jump' && /*#__PURE__*/React__namespace.createElement("div", { className: "Pagination-pageIndex" - }, /*#__PURE__*/React.createElement(Input, { + }, /*#__PURE__*/React__namespace.createElement(Input, { name: "page", type: "number", size: "large", onChange: inputChangeHandler, value: "".concat(page === 0 ? '' : page), "data-test": "DesignSystem-Pagination--Input" - }), /*#__PURE__*/React.createElement(Text$1, null, " of ".concat(totalPages, " pages"))), /*#__PURE__*/React.createElement("div", { + }), /*#__PURE__*/React__namespace.createElement(Text$1, null, " of ".concat(totalPages, " pages"))), /*#__PURE__*/React__namespace.createElement("div", { className: nextButtonWrapperClass - }, /*#__PURE__*/React.createElement("div", { + }, /*#__PURE__*/React__namespace.createElement("div", { className: ['mr-4'].concat(buttonHelper).join(' ') - }, /*#__PURE__*/React.createElement(Button, { + }, /*#__PURE__*/React__namespace.createElement(Button, { onClick: function onClick() { return onClickHandler('next'); }, @@ -40718,7 +40585,7 @@ size: "large", icon: "navigate_next", "data-test": "DesignSystem-Pagination--NextButton" - })), /*#__PURE__*/React.createElement(Button, { + })), /*#__PURE__*/React__namespace.createElement(Button, { onClick: function onClick() { return onClickHandler('last'); }, @@ -40752,28 +40619,28 @@ var onInputChange = inputOptions.onChange, rest = _objectWithoutProperties$a(inputOptions, ["onChange"]); - var _React$useState = React.useState(value), - _React$useState2 = _slicedToArray$6(_React$useState, 2), + var _React$useState = React__namespace.useState(value), + _React$useState2 = _slicedToArray$7(_React$useState, 2), inputValue = _React$useState2[0], setInputValue = _React$useState2[1]; - var _React$useState3 = React.useState(false), - _React$useState4 = _slicedToArray$6(_React$useState3, 2), + var _React$useState3 = React__namespace.useState(false), + _React$useState4 = _slicedToArray$7(_React$useState3, 2), editing = _React$useState4[0], setEditing = _React$useState4[1]; - var _React$useState5 = React.useState(false), - _React$useState6 = _slicedToArray$6(_React$useState5, 2), + var _React$useState5 = React__namespace.useState(false), + _React$useState6 = _slicedToArray$7(_React$useState5, 2), showComponent = _React$useState6[0], setShowComponent = _React$useState6[1]; - var inputRef = /*#__PURE__*/React.createRef(); + var inputRef = /*#__PURE__*/React__namespace.createRef(); var baseProps = extractBaseProps(props); var EditableInputClass = classnames(_defineProperty$w({}, 'EditableInput', true), className); var EditableDefaultClass = classnames((_classNames2 = {}, _defineProperty$w(_classNames2, 'EditableInput-default', true), _defineProperty$w(_classNames2, "EditableInput-default--".concat(size), size), _classNames2)); var InputClass = classnames(_defineProperty$w({}, 'EditableInput-Input--tiny', size === 'tiny')); var ActionClass = classnames((_classNames4 = {}, _defineProperty$w(_classNames4, 'EditableInput-actions', true), _defineProperty$w(_classNames4, "EditableInput-actions--".concat(size), size), _classNames4)); - React.useEffect(function () { + React__namespace.useEffect(function () { setDefaultComponent(); }, [value]); @@ -40809,7 +40676,7 @@ } }; - var inputComponent = /*#__PURE__*/React.createElement(Input, _extends$p({ + var inputComponent = /*#__PURE__*/React__namespace.createElement(Input, _extends$p({ defaultValue: inputValue, placeholder: placeholder, className: InputClass, @@ -40837,46 +40704,46 @@ var renderChildren = function renderChildren() { if (showComponent) { - return error && errorMessage && editing ? /*#__PURE__*/React.createElement(Popover, { + return error && errorMessage && editing ? /*#__PURE__*/React__namespace.createElement(Popover, { trigger: inputComponent, position: "right", className: "px-6 py-6 d-flex align-items-center", on: "hover" - }, /*#__PURE__*/React.createElement(Icon, { + }, /*#__PURE__*/React__namespace.createElement(Icon, { name: "error", appearance: 'alert', className: "mr-4" - }), /*#__PURE__*/React.createElement(Text$1, { + }), /*#__PURE__*/React__namespace.createElement(Text$1, { "data-test": "DesignSystem-EditableInput--ErrorPopper", appearance: "destructive", weight: "medium" }, errorMessage)) : inputComponent; } - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { className: EditableDefaultClass, "data-test": "DesignSystem-EditableInput--Default" }, value || placeholder); }; - return /*#__PURE__*/React.createElement("div", _extends$p({ + return /*#__PURE__*/React__namespace.createElement("div", _extends$p({ "data-test": "DesignSystem-EditableInput" }, baseProps, { className: EditableInputClass, onKeyDown: onKeyDown - }), /*#__PURE__*/React.createElement(Editable, { + }), /*#__PURE__*/React__namespace.createElement(Editable, { onChange: onChangeHandler, editing: editing - }, renderChildren()), editing && /*#__PURE__*/React.createElement("div", { + }, renderChildren()), editing && /*#__PURE__*/React__namespace.createElement("div", { className: ActionClass, "data-test": "DesignSystem-EditableInput--Actions" - }, /*#__PURE__*/React.createElement(Button, { + }, /*#__PURE__*/React__namespace.createElement(Button, { icon: "clear", className: "mr-3", size: "tiny", onClick: setDefaultComponent, "data-test": "DesignSystem-EditableInput--Discard" - }), /*#__PURE__*/React.createElement(Button, { + }), /*#__PURE__*/React__namespace.createElement(Button, { icon: "check", appearance: "primary", size: "tiny", @@ -40915,13 +40782,13 @@ strokeWidth: '8', strokeDasharray: "".concat(circumference, " ").concat(circumference) }; - return /*#__PURE__*/React.createElement("svg", _extends$p({ + return /*#__PURE__*/React__namespace.createElement("svg", _extends$p({ "data-test": "DesignSystem-ProgressRing" }, baseProps, { className: ProgressRingClass - }, svgProps), /*#__PURE__*/React.createElement("circle", _extends$p({ + }, svgProps), /*#__PURE__*/React__namespace.createElement("circle", _extends$p({ className: "Ring-background" - }, circleProps)), /*#__PURE__*/React.createElement("circle", _extends$p({ + }, circleProps)), /*#__PURE__*/React__namespace.createElement("circle", _extends$p({ className: "Ring-indicator", strokeDashoffset: circumference - updatedValue / 100 * circumference }, circleProps, { @@ -40951,16 +40818,16 @@ }; var iconAppearance = completed ? 'info' : disabled ? 'disabled' : 'default'; - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { "data-test": "DesignSystem-Step", className: StepClass, onClick: onClickHandle - }, /*#__PURE__*/React.createElement(Icon, { + }, /*#__PURE__*/React__namespace.createElement(Icon, { "data-test": "DesignSystem-StepIcon", name: completed ? 'check_circle' : 'radio_button_unchecked', appearance: iconAppearance, className: "mr-3 my-4" - }), label && /*#__PURE__*/React.createElement(Text$1, { + }), label && /*#__PURE__*/React__namespace.createElement(Text$1, { weight: "medium", appearance: disabled ? 'disabled' : 'default' }, label)); @@ -40980,7 +40847,7 @@ }; var StepperClass = classnames(_defineProperty$w({}, 'Stepper', true), className); - return /*#__PURE__*/React.createElement("div", _extends$p({ + return /*#__PURE__*/React__namespace.createElement("div", _extends$p({ "data-test": "DesignSystem-Stepper" }, baseProps, { className: StepperClass @@ -40990,7 +40857,7 @@ var activeStep = active === index; var completedStep = completed >= index; var disabled = completed + 1 < index; - return /*#__PURE__*/React.createElement(Step, { + return /*#__PURE__*/React__namespace.createElement(Step, { key: index, label: label, value: value, @@ -41156,14 +41023,14 @@ return isValid(validators, val, inputFormat); }; - return /*#__PURE__*/React.createElement(Row, null, /*#__PURE__*/React.createElement(Column, { + return /*#__PURE__*/React__namespace.createElement(Row, null, /*#__PURE__*/React__namespace.createElement(Column, { size: '6', sizeXS: '12', className: "DateRangePicker-input DateRangePicker-input--startDate" - }, startLabel && /*#__PURE__*/React.createElement(Label, { + }, startLabel && /*#__PURE__*/React__namespace.createElement(Label, { required: startInputOptions.required, withInput: true - }, startLabel), /*#__PURE__*/React.createElement(InputMask, _extends$p({ + }, startLabel), /*#__PURE__*/React__namespace.createElement(InputMask, _extends$p({ icon: "events", placeholder: inputFormat }, startInputOptions, { @@ -41186,14 +41053,14 @@ caption: showStartError ? startErrorMessage : '', validators: [inputValidator], clearOnEmptyBlur: false - }))), /*#__PURE__*/React.createElement(Column, { + }))), /*#__PURE__*/React__namespace.createElement(Column, { size: '6', sizeXS: '12', className: "DateRangePicker-input DateRangePicker-input--endDate" - }, endLabel && /*#__PURE__*/React.createElement(Label, { + }, endLabel && /*#__PURE__*/React__namespace.createElement(Label, { required: endInputOptions.required, withInput: true - }, endLabel), /*#__PURE__*/React.createElement(InputMask, _extends$p({ + }, endLabel), /*#__PURE__*/React__namespace.createElement(InputMask, _extends$p({ icon: "events", placeholder: inputFormat }, endInputOptions, { @@ -41245,7 +41112,7 @@ var inputValidator = function inputValidator(val) { var _val$split = val.split(' - '), - _val$split2 = _slicedToArray$6(_val$split, 2), + _val$split2 = _slicedToArray$7(_val$split, 2), startVal = _val$split2[0], endVal = _val$split2[1]; @@ -41325,10 +41192,10 @@ }); }; - return /*#__PURE__*/React.createElement(Row, null, /*#__PURE__*/React.createElement(Column, null, label && /*#__PURE__*/React.createElement(Label, { + return /*#__PURE__*/React__namespace.createElement(Row, null, /*#__PURE__*/React__namespace.createElement(Column, null, label && /*#__PURE__*/React__namespace.createElement(Label, { required: inputOptions.required, withInput: true - }, label), /*#__PURE__*/React.createElement(InputMask, _extends$p({ + }, label), /*#__PURE__*/React__namespace.createElement(InputMask, _extends$p({ icon: "events", placeholder: "".concat(inputFormat, " - ").concat(inputFormat) }, inputOptions, { @@ -41669,7 +41536,7 @@ endDate = _this$state3.endDate, yearNav = _this$state3.yearNav, monthNav = _this$state3.monthNav; - return /*#__PURE__*/React.createElement(Calendar, _extends$p({}, rest, { + return /*#__PURE__*/React__namespace.createElement(Calendar, _extends$p({}, rest, { monthsInView: this.monthsInView, rangePicker: true, startDate: convertToDate(startDate, inputFormat, validators), @@ -41702,13 +41569,13 @@ var RangePickerClass = classnames((_classNames = {}, _defineProperty$w(_classNames, 'DateRangePicker', true), _defineProperty$w(_classNames, "DateRangePicker--".concat(contentAlign), contentAlign), _classNames)); if (withInput) { - var trigger = singleInput ? /*#__PURE__*/React.createElement(SingleInputTrigger, { + var trigger = singleInput ? /*#__PURE__*/React__namespace.createElement(SingleInputTrigger, { inputFormat: inputFormat, inputOptions: inputOptions, validators: validators, state: this.state, setState: this.setState.bind(this) - }) : /*#__PURE__*/React.createElement(Trigger, { + }) : /*#__PURE__*/React__namespace.createElement(Trigger, { inputFormat: inputFormat, startInputOptions: startInputOptions, endInputOptions: endInputOptions, @@ -41716,7 +41583,7 @@ state: this.state, setState: this.setState.bind(this) }); - return /*#__PURE__*/React.createElement(Popover, { + return /*#__PURE__*/React__namespace.createElement(Popover, { trigger: trigger, triggerClass: "w-100", className: RangePickerClass, @@ -41732,10 +41599,10 @@ }]); return DateRangePicker; - }(React.Component); // @ts-ignore + }(React__namespace.Component); // @ts-ignore _defineProperty$w(DateRangePicker, "defaultProps", _objectSpread2(_objectSpread2({}, Calendar.defaultProps), {}, { - children: /*#__PURE__*/React.createElement(React.Fragment, null), + children: /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null), contentAlign: 'left', monthsInView: undefined, position: 'bottom-start', @@ -41771,12 +41638,12 @@ var tabs = Array.isArray(children) ? children : [children]; var totalTabs = tabs.length; - var _React$useState = React.useState(props.active && props.active < totalTabs ? props.active : 0), - _React$useState2 = _slicedToArray$6(_React$useState, 2), + var _React$useState = React__namespace.useState(props.active && props.active < totalTabs ? props.active : 0), + _React$useState2 = _slicedToArray$7(_React$useState, 2), active = _React$useState2[0], setActiveTab = _React$useState2[1]; - React.useEffect(function () { + React__namespace.useEffect(function () { setActiveTab(props.active && props.active < totalTabs ? props.active : 0); }, [props.active]); var wrapperClass = classnames(_defineProperty$w({}, 'TabsWrapper', true), className); @@ -41793,7 +41660,7 @@ label = _child$props.label, disabled = _child$props.disabled; var tabHeaderClass = classnames((_classNames2 = {}, _defineProperty$w(_classNames2, 'Tab', true), _defineProperty$w(_classNames2, 'Tab--disabled', disabled), _defineProperty$w(_classNames2, 'Tab--active', !disabled && active === index), _classNames2)); - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { "data-test": "DesignSystem-Tabs--Header", key: index, className: tabHeaderClass, @@ -41802,13 +41669,13 @@ } }, label); }); - return /*#__PURE__*/React.createElement("div", _extends$p({ + return /*#__PURE__*/React__namespace.createElement("div", _extends$p({ "data-test": "DesignSystem-TabsWrapper" }, baseProps, { className: wrapperClass - }), /*#__PURE__*/React.createElement("div", { + }), /*#__PURE__*/React__namespace.createElement("div", { className: "TabsWrapper-header" - }, TabsHeader), /*#__PURE__*/React.createElement("div", { + }, TabsHeader), /*#__PURE__*/React__namespace.createElement("div", { className: "TabsWrapper-content", "data-test": "DesignSystem-Tabs--Content" }, tabs[active])); @@ -41817,7 +41684,7 @@ var Tab = function Tab(props) { var children = props.children; - return /*#__PURE__*/React.createElement(React.Fragment, null, children); + return /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, children); }; Tab.displayName = 'Tab'; @@ -41999,14 +41866,14 @@ var typeError = files.every(function (file) { var _fileAccepted = fileAccepted(file, accept), - _fileAccepted2 = _slicedToArray$6(_fileAccepted, 1), + _fileAccepted2 = _slicedToArray$7(_fileAccepted, 1), accepted = _fileAccepted2[0]; return !accepted; }); var sizeError = files.every(function (file) { var _fileMatchSize = fileMatchSize(file, minSize, maxSize), - _fileMatchSize2 = _slicedToArray$6(_fileMatchSize, 1), + _fileMatchSize2 = _slicedToArray$7(_fileMatchSize, 1), sizeMatch = _fileMatchSize2[0]; return !sizeMatch; @@ -42026,11 +41893,11 @@ return files.every(function (file) { var _fileAccepted3 = fileAccepted(file, accept), - _fileAccepted4 = _slicedToArray$6(_fileAccepted3, 1), + _fileAccepted4 = _slicedToArray$7(_fileAccepted3, 1), accepted = _fileAccepted4[0]; var _fileMatchSize3 = fileMatchSize(file, minSize, maxSize), - _fileMatchSize4 = _slicedToArray$6(_fileMatchSize3, 1), + _fileMatchSize4 = _slicedToArray$7(_fileMatchSize3, 1), sizeMatch = _fileMatchSize4[0]; return accepted && sizeMatch; @@ -42197,7 +42064,7 @@ function flatten(items) { return items.reduce(function (acc, files) { - return [].concat(_toConsumableArray$9(acc), _toConsumableArray$9(Array.isArray(files) ? flatten(files) : [files])); + return [].concat(_toConsumableArray$b(acc), _toConsumableArray$b(Array.isArray(files) ? flatten(files) : [files])); }, []); } @@ -42356,7 +42223,7 @@ var inputRef = React.useRef(null); var _useReducer = React.useReducer(reducer, initialState), - _useReducer2 = _slicedToArray$6(_useReducer, 2), + _useReducer2 = _slicedToArray$7(_useReducer, 2), state = _useReducer2[0], dispatch = _useReducer2[1]; @@ -42454,7 +42321,7 @@ event.preventDefault(); event.persist(); // @ts-ignore - dragTargetsRef.current = [].concat(_toConsumableArray$9(dragTargetsRef.current), [event.target]); + dragTargetsRef.current = [].concat(_toConsumableArray$b(dragTargetsRef.current), [event.target]); if (isEvtWithFiles(event)) { Promise.resolve(getFilesFromEvent(event)).then(function (files) { @@ -42538,12 +42405,12 @@ var fileRejections = []; files.forEach(function (file) { var _fileAccepted = fileAccepted(file, accept), - _fileAccepted2 = _slicedToArray$6(_fileAccepted, 2), + _fileAccepted2 = _slicedToArray$7(_fileAccepted, 2), accepted = _fileAccepted2[0], acceptError = _fileAccepted2[1]; var _fileMatchSize = fileMatchSize(file, minSize, maxSize), - _fileMatchSize2 = _slicedToArray$6(_fileMatchSize, 2), + _fileMatchSize2 = _slicedToArray$7(_fileMatchSize, 2), sizeMatch = _fileMatchSize2[0], sizeError = _fileMatchSize2[1]; @@ -42705,12 +42572,12 @@ var type = props.type; var IconClass = classnames((_classNames = {}, _defineProperty$w(_classNames, 'Dropzone-stateIcon', true), _defineProperty$w(_classNames, "Dropzone-stateIcon--".concat(type), type), _classNames)); - return /*#__PURE__*/React.createElement(React.Fragment, null, type !== 'tight' && /*#__PURE__*/React.createElement(Icon, { + return /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, type !== 'tight' && /*#__PURE__*/React__namespace.createElement(Icon, { name: "archive", size: 64, appearance: "info", className: IconClass - }), /*#__PURE__*/React.createElement(Text$1, { + }), /*#__PURE__*/React__namespace.createElement(Text$1, { appearance: "link", size: "large", weight: "strong" @@ -42724,12 +42591,12 @@ var type = props.type, error = props.error; var IconClass = classnames((_classNames = {}, _defineProperty$w(_classNames, 'Dropzone-stateIcon', true), _defineProperty$w(_classNames, "Dropzone-stateIcon--".concat(type), type), _classNames)); - return /*#__PURE__*/React.createElement(React.Fragment, null, type !== 'tight' && /*#__PURE__*/React.createElement(Icon, { + return /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, type !== 'tight' && /*#__PURE__*/React__namespace.createElement(Icon, { name: "error", size: 64, appearance: "alert", className: IconClass - }), /*#__PURE__*/React.createElement(Text$1, { + }), /*#__PURE__*/React__namespace.createElement(Text$1, { appearance: "destructive", size: "large", weight: "strong" @@ -42825,7 +42692,7 @@ var formatLabel = props.formatLabel; if (formatLabel) { - return /*#__PURE__*/React.createElement(Text$1, { + return /*#__PURE__*/React__namespace.createElement(Text$1, { size: "small", appearance: "subtle", className: "mt-4" @@ -42847,12 +42714,12 @@ _onChange = props.onChange; var baseProps = extractBaseProps(props); var FileUploaderButtonClass = classnames(_defineProperty$w({}, 'FileUploaderButton', true), className); - return /*#__PURE__*/React.createElement("div", _extends$p({}, baseProps, { + return /*#__PURE__*/React__namespace.createElement("div", _extends$p({}, baseProps, { className: FileUploaderButtonClass - }), /*#__PURE__*/React.createElement(Button, { + }), /*#__PURE__*/React__namespace.createElement(Button, { disabled: disabled, icon: "backup" - }, uploadButtonLabel), /*#__PURE__*/React.createElement("input", { + }, uploadButtonLabel), /*#__PURE__*/React__namespace.createElement("input", { name: name, id: id, accept: accept && accept.join(', '), @@ -42889,19 +42756,19 @@ onChange = props.onChange; var baseProps = extractBaseProps(props); var FileUploaderClass = classnames(_defineProperty$w({}, 'FileUploader', true), className); - return /*#__PURE__*/React.createElement("div", _extends$p({}, baseProps, { + return /*#__PURE__*/React__namespace.createElement("div", _extends$p({}, baseProps, { className: FileUploaderClass - }), /*#__PURE__*/React.createElement(Text$1, { + }), /*#__PURE__*/React__namespace.createElement(Text$1, { weight: "medium" - }, title), /*#__PURE__*/React.createElement(FileUploaderFormat, { + }, title), /*#__PURE__*/React__namespace.createElement(FileUploaderFormat, { formatLabel: formatLabel - }), /*#__PURE__*/React.createElement(Text$1, { + }), /*#__PURE__*/React__namespace.createElement(Text$1, { size: "small", appearance: "subtle", className: !formatLabel ? 'mt-4' : '' - }, sizeLabel), sampleFileLink && /*#__PURE__*/React.createElement("div", { + }, sizeLabel), sampleFileLink && /*#__PURE__*/React__namespace.createElement("div", { className: "mt-4" - }, sampleFileLink), /*#__PURE__*/React.createElement(FileUploaderButton, { + }, sampleFileLink), /*#__PURE__*/React__namespace.createElement(FileUploaderButton, { id: id, name: name, accept: accept, @@ -42925,14 +42792,14 @@ switch (status) { case 'uploading': - return /*#__PURE__*/React.createElement(ProgressRing, { + return /*#__PURE__*/React__namespace.createElement(ProgressRing, { size: "small", value: progress, className: "mr-4" }); case 'error': - return /*#__PURE__*/React.createElement(Icon, { + return /*#__PURE__*/React__namespace.createElement(Icon, { name: "refresh", size: 20, onClick: onRetry, @@ -42962,19 +42829,19 @@ var name = file.name; var baseProps = extractBaseProps(props); var FileItemClass = classnames(_defineProperty$w({}, 'FileUploaderItem', true), className); - return /*#__PURE__*/React.createElement("div", _extends$p({}, baseProps, { + return /*#__PURE__*/React__namespace.createElement("div", _extends$p({}, baseProps, { className: FileItemClass, onClick: function onClick() { return _onClick && _onClick(file, id); } - }), /*#__PURE__*/React.createElement("div", { + }), /*#__PURE__*/React__namespace.createElement("div", { className: "FileUploaderItem-file" - }, /*#__PURE__*/React.createElement(Text$1, { + }, /*#__PURE__*/React__namespace.createElement(Text$1, { className: "FileUploaderItem-text", appearance: status === 'completed' ? 'default' : 'subtle' - }, name), /*#__PURE__*/React.createElement("div", { + }, name), /*#__PURE__*/React__namespace.createElement("div", { className: "d-flex align-items-center" - }, /*#__PURE__*/React.createElement(FileUploaderStatus, { + }, /*#__PURE__*/React__namespace.createElement(FileUploaderStatus, { file: file, id: id, status: status, @@ -42982,14 +42849,14 @@ onRetry: function onRetry() { return _onRetry && _onRetry(file, id); } - }), /*#__PURE__*/React.createElement(Icon, { + }), /*#__PURE__*/React__namespace.createElement(Icon, { name: "close", size: 20, onClick: function onClick() { return onDelete && onDelete(file, id); }, className: "py-2 px-2 my-3 mx-3 cursor-pointer" - }))), status === 'error' && /*#__PURE__*/React.createElement(Caption, { + }))), status === 'error' && /*#__PURE__*/React__namespace.createElement(Caption, { error: true }, errorMessage)); }; @@ -43009,10 +42876,10 @@ var baseProps = extractBaseProps(props); var FileListClass = classnames(_defineProperty$w({}, 'FileUploaderList', true), className); if (fileList.length === 0) return null; - return /*#__PURE__*/React.createElement("div", _extends$p({}, baseProps, { + return /*#__PURE__*/React__namespace.createElement("div", _extends$p({}, baseProps, { className: FileListClass }), fileList.map(function (fileName, i) { - return /*#__PURE__*/React.createElement(FileUploaderItem, _extends$p({ + return /*#__PURE__*/React__namespace.createElement(FileUploaderItem, _extends$p({ key: i, onDelete: onDelete, onRetry: onRetry, @@ -43044,14 +42911,14 @@ }); }; function sortColumn(name, type) { - var sortingList = _toConsumableArray$9(this.props.sortingList); + var sortingList = _toConsumableArray$b(this.props.sortingList); var index = sortingList.findIndex(function (l) { return l.name === name; }); if (index !== -1) { - sortingList = [].concat(_toConsumableArray$9(sortingList.slice(0, index)), _toConsumableArray$9(sortingList.slice(index + 1))); + sortingList = [].concat(_toConsumableArray$b(sortingList.slice(0, index)), _toConsumableArray$b(sortingList.slice(index + 1))); } if (type !== 'unsort') sortingList.push({ @@ -43116,7 +42983,7 @@ } var updateBatchData = function updateBatchData(data, rowIndexes, dataUpdate) { - var updatedData = _toConsumableArray$9(data); + var updatedData = _toConsumableArray$b(data); var _iterator = _createForOfIteratorHelper(rowIndexes), _step; @@ -43179,7 +43046,7 @@ var data = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : []; var sortingList = arguments.length > 2 ? arguments[2] : undefined; - var sortedData = _toConsumableArray$9(data); + var sortedData = _toConsumableArray$b(data); sortingList === null || sortingList === void 0 ? void 0 : sortingList.forEach(function (l) { var sIndex = schema.findIndex(function (s) { @@ -43216,9 +43083,9 @@ var newArr = arr; if (from < to) { - newArr = [].concat(_toConsumableArray$9(arr.slice(0, from)), _toConsumableArray$9(arr.slice(from + 1, to + 1)), [arr[from]], _toConsumableArray$9(arr.slice(to + 1))); + newArr = [].concat(_toConsumableArray$b(arr.slice(0, from)), _toConsumableArray$b(arr.slice(from + 1, to + 1)), [arr[from]], _toConsumableArray$b(arr.slice(to + 1))); } else { - newArr = [].concat(_toConsumableArray$9(arr.slice(0, to)), [arr[from]], _toConsumableArray$9(arr.slice(to, from)), _toConsumableArray$9(arr.slice(from + 1))); + newArr = [].concat(_toConsumableArray$b(arr.slice(0, to)), [arr[from]], _toConsumableArray$b(arr.slice(to, from)), _toConsumableArray$b(arr.slice(from + 1))); } return newArr; @@ -43334,7 +43201,7 @@ return l.name === name; }); var sorted = listIndex !== -1 ? sortingList[listIndex].type : null; - var el = /*#__PURE__*/React.createRef(); + var el = /*#__PURE__*/React__namespace.createRef(); var sortOptions = [{ label: 'Sort Ascending', value: 'sortAsc', @@ -43373,7 +43240,7 @@ if (sorted === 'asc') sortOptions[0] = unsortOption; if (sorted === 'desc') sortOptions[1] = unsortOption; var options = [].concat(pinOptions, hideOptions); - if (sorting) options = [].concat(sortOptions, _toConsumableArray$9(options)); + if (sorting) options = [].concat(sortOptions, _toConsumableArray$b(options)); var classes = classnames({ 'Grid-headCell': true, 'Grid-headCell--draggable': draggable @@ -43387,25 +43254,25 @@ }) : []; var renderLabel = function renderLabel() { - return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Text$1, { + return /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, /*#__PURE__*/React__namespace.createElement(Text$1, { weight: "strong", className: "ellipsis--noWrap" - }, schema.displayName), sorting && /*#__PURE__*/React.createElement("div", { + }, schema.displayName), sorting && /*#__PURE__*/React__namespace.createElement("div", { className: "Grid-sortingIcons" - }, sorted ? sorted === 'asc' ? /*#__PURE__*/React.createElement(Icon, { + }, sorted ? sorted === 'asc' ? /*#__PURE__*/React__namespace.createElement(Icon, { name: "arrow_downward" - }) : /*#__PURE__*/React.createElement(Icon, { + }) : /*#__PURE__*/React__namespace.createElement(Icon, { name: "arrow_upward" - }) : /*#__PURE__*/React.createElement(Icon, { + }) : /*#__PURE__*/React__namespace.createElement(Icon, { name: "unfold_more" }))); }; - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { key: name, className: classes, ref: el - }, /*#__PURE__*/React.createElement("div", { + }, /*#__PURE__*/React__namespace.createElement("div", { className: "Grid-cellContent", onClick: function onClick() { if (!loading && sorting) { @@ -43414,21 +43281,21 @@ if (!sorted) _this.onMenuChange(name, 'sortAsc'); } } - }, loading && !init ? /*#__PURE__*/React.createElement(Placeholder, { + }, loading && !init ? /*#__PURE__*/React__namespace.createElement(Placeholder, { withImage: false - }, /*#__PURE__*/React.createElement(PlaceholderParagraph, { + }, /*#__PURE__*/React__namespace.createElement(PlaceholderParagraph, { length: "medium" - })) : /*#__PURE__*/React.createElement(React.Fragment, null, headCellTooltip ? /*#__PURE__*/React.createElement(Tooltip, { + })) : /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, headCellTooltip ? /*#__PURE__*/React__namespace.createElement(Tooltip, { position: "top-start", triggerClass: "w-100 overflow-hidden", tooltip: schema.displayName - }, renderLabel()) : renderLabel())), showFilters && filters && /*#__PURE__*/React.createElement(React.Fragment, null, loading && !init ? /*#__PURE__*/React.createElement("span", null, /*#__PURE__*/React.createElement(Placeholder, null)) : /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Dropdown, { + }, renderLabel()) : renderLabel())), showFilters && filters && /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, loading && !init ? /*#__PURE__*/React__namespace.createElement("span", null, /*#__PURE__*/React__namespace.createElement(Placeholder, null)) : /*#__PURE__*/React__namespace.createElement("div", null, /*#__PURE__*/React__namespace.createElement(Dropdown, { menu: true, showApplyButton: true, withCheckbox: true, triggerOptions: { customTrigger: function customTrigger() { - return /*#__PURE__*/React.createElement(Button, { + return /*#__PURE__*/React__namespace.createElement(Button, { icon: "filter_list", appearance: "transparent" }); @@ -43440,15 +43307,15 @@ return _this.onFilterChange(name, selected); }, minWidth: 176 - }))), showMenu && /*#__PURE__*/React.createElement(React.Fragment, null, loading && !init ? /*#__PURE__*/React.createElement("span", { + }))), showMenu && /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, loading && !init ? /*#__PURE__*/React__namespace.createElement("span", { className: "ml-4" - }, /*#__PURE__*/React.createElement(Placeholder, null)) : /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Dropdown, { + }, /*#__PURE__*/React__namespace.createElement(Placeholder, null)) : /*#__PURE__*/React__namespace.createElement("div", null, /*#__PURE__*/React__namespace.createElement(Dropdown, { key: "".concat(name, "-").concat(sorted, "-").concat(pinned), menu: true, optionType: "WITH_ICON", triggerOptions: { customTrigger: function customTrigger() { - return /*#__PURE__*/React.createElement(Button, { + return /*#__PURE__*/React__namespace.createElement(Button, { icon: "more_vert_filled", appearance: "transparent" }); @@ -43460,7 +43327,7 @@ return _this.onMenuChange(name, selected); }, minWidth: 176 - }))), schema.resizable && /*#__PURE__*/React.createElement("span", { + }))), schema.resizable && /*#__PURE__*/React__namespace.createElement("span", { className: "Grid-cellResize", onMouseDown: function onMouseDown() { resizeCol(_this, name, el.current); @@ -43480,7 +43347,7 @@ loading = _this$props2.loading, nestedRows = _this$props2.nestedRows; - var _expandedState = _slicedToArray$6(expandedState, 2), + var _expandedState = _slicedToArray$7(expandedState, 2), expanded = _expandedState[0], setExpanded = _expandedState[1]; @@ -43499,9 +43366,9 @@ rowIndex: rowIndex }; var isNestedRowDisabled = !GridNestedRow(nestedProps); - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { className: "Grid-cellContent" - }, colIndex === 0 && nestedRows && /*#__PURE__*/React.createElement(React.Fragment, null, !isNestedRowDisabled ? /*#__PURE__*/React.createElement(Icon, { + }, colIndex === 0 && nestedRows && /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, !isNestedRowDisabled ? /*#__PURE__*/React__namespace.createElement(Icon, { className: 'Grid-nestedRowTrigger', name: expanded ? 'keyboard_arrow_up' : 'keyboard_arrow_down', size: 20, @@ -43512,9 +43379,9 @@ setExpanded(!expanded); } } - }) : /*#__PURE__*/React.createElement("span", { + }) : /*#__PURE__*/React__namespace.createElement("span", { className: "Grid-nestedRowPlaceholder" - })), schema.cellRenderer ? schema.cellRenderer(cellProps) : /*#__PURE__*/React.createElement(GridCell, _extends$p({ + })), schema.cellRenderer ? schema.cellRenderer(cellProps) : /*#__PURE__*/React__namespace.createElement(GridCell, _extends$p({ key: "".concat(rowIndex, "-").concat(colIndex) }, cellProps))); }; @@ -43554,7 +43421,7 @@ 'Grid-cell--nestedRow': !head && colIndex === 0 && nestedRows }); if (hidden) return null; - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { key: "".concat(rowIndex, "-").concat(colIndex), className: cellClass, draggable: head && draggable, @@ -43586,12 +43453,12 @@ minWidth: getWidth.call(_this, schema.minWidth || minWidth), maxWidth: getWidth.call(_this, schema.maxWidth || maxWidth) } - }, head ? /*#__PURE__*/React.createElement(HeaderCell, { + }, head ? /*#__PURE__*/React__namespace.createElement(HeaderCell, { _this: _this, draggable: draggable, colIndex: colIndex, schema: schema - }) : /*#__PURE__*/React.createElement(BodyCell, { + }) : /*#__PURE__*/React__namespace.createElement(BodyCell, { _this: _this, rowIndex: rowIndex, colIndex: colIndex, @@ -43625,9 +43492,9 @@ var renderCheckbox = function renderCheckbox(show) { if (!show || !withCheckbox) return null; - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { className: "Grid-cell Grid-cell--head Grid-cell--checkbox" - }, loading ? /*#__PURE__*/React.createElement(Placeholder, null) : /*#__PURE__*/React.createElement(Checkbox, _extends$p({}, selectAll, { + }, loading ? /*#__PURE__*/React__namespace.createElement(Placeholder, null) : /*#__PURE__*/React__namespace.createElement(Checkbox, _extends$p({}, selectAll, { onChange: _this.onSelectAll }))); }; @@ -43640,12 +43507,12 @@ 'Grid-cellGroup': true, 'Grid-cellGroup--pinned': pinned }, _defineProperty$w(_classNames, "Grid-cellGroup--pinned-".concat(pinned), pinned), _defineProperty$w(_classNames, 'Grid-cellGroup--main', !pinned), _classNames)); - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { className: classes }, renderCheckbox(shouldRenderCheckbox), currSchema.map(function (s, index) { var cI = pinned === 'left' ? index : leftPinnedSchema.length + index; if (pinned === 'right') cI += unpinnedSchema.length; - return /*#__PURE__*/React.createElement(Cell, { + return /*#__PURE__*/React__namespace.createElement(Cell, { key: "".concat(cI), _this: _this, head: true, @@ -43660,9 +43527,9 @@ return null; }; - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { className: "Grid-head" - }, /*#__PURE__*/React.createElement("div", { + }, /*#__PURE__*/React__namespace.createElement("div", { className: "Grid-row Grid-row--head" }, renderSchema(leftPinnedSchema, !!leftPinnedSchema.length, 'left'), renderSchema(unpinnedSchema, !leftPinnedSchema.length && !!unpinnedSchema.length), renderSchema(rightPinnedSchema, false, 'right'))); }; @@ -43673,10 +43540,10 @@ data = props.data, withCheckbox = props.withCheckbox, rI = props.rowIndex; - var rowRef = React.useRef(null); + var rowRef = React__namespace.useRef(null); - var _React$useState = React.useState(false), - _React$useState2 = _slicedToArray$6(_React$useState, 2), + var _React$useState = React__namespace.useState(false), + _React$useState2 = _slicedToArray$7(_React$useState, 2), expanded = _React$useState2[0], setExpanded = _React$useState2[1]; @@ -43714,12 +43581,12 @@ var renderCheckbox = function renderCheckbox(show) { if (!show || !withCheckbox) return null; - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { className: "Grid-cell Grid-cell--body Grid-cell--checkbox", onClick: function onClick(e) { return e.stopPropagation(); } - }, loading ? /*#__PURE__*/React.createElement(Placeholder, null) : /*#__PURE__*/React.createElement(Checkbox, { + }, loading ? /*#__PURE__*/React__namespace.createElement(Placeholder, null) : /*#__PURE__*/React__namespace.createElement(Checkbox, { checked: !!data._selected, onChange: function onChange(event) { _this.onSelect(rI, event.target.checked); @@ -43735,12 +43602,12 @@ 'Grid-cellGroup': true, 'Grid-cellGroup--pinned': pinned }, _defineProperty$w(_classNames, "Grid-cellGroup--pinned-".concat(pinned), pinned), _defineProperty$w(_classNames, 'Grid-cellGroup--main', !pinned), _classNames)); - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { className: classes }, renderCheckbox(shouldRenderCheckbox), currSchema.map(function (s, index) { var cI = pinned === 'left' ? index : leftPinnedSchema.length + index; if (pinned === 'right') cI += unpinnedSchema.length; - return /*#__PURE__*/React.createElement(Cell, { + return /*#__PURE__*/React__namespace.createElement(Cell, { key: "".concat(rI, "-").concat(cI), _this: _this, rowIndex: rI, @@ -43756,17 +43623,17 @@ return null; }; - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { className: "Grid-rowWrapper" - }, /*#__PURE__*/React.createElement("div", { + }, /*#__PURE__*/React__namespace.createElement("div", { className: rowClasses, onClick: onClickHandler, ref: rowRef - }, renderSchema(leftPinnedSchema, !!leftPinnedSchema.length, 'left'), renderSchema(unpinnedSchema, !leftPinnedSchema.length && !!unpinnedSchema.length), renderSchema(rightPinnedSchema, false, 'right')), nestedRows && expanded && /*#__PURE__*/React.createElement("div", { + }, renderSchema(leftPinnedSchema, !!leftPinnedSchema.length, 'left'), renderSchema(unpinnedSchema, !leftPinnedSchema.length && !!unpinnedSchema.length), renderSchema(rightPinnedSchema, false, 'right')), nestedRows && expanded && /*#__PURE__*/React__namespace.createElement("div", { style: { width: rowRef.current ? rowRef.current.clientWidth : 0 } - }, /*#__PURE__*/React.createElement(GridNestedRow, { + }, /*#__PURE__*/React__namespace.createElement(GridNestedRow, { _this: _this, data: data, rowIndex: rI @@ -43804,15 +43671,15 @@ }) : data.slice(offset, offset + buffer); var topPadding = Math.max(0, offset * avgRowHeight); var bottomPadding = Math.max(0, ((withPagination ? dummyRows : data.length) - inView - offset - 1) * avgRowHeight); - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { className: "Grid-body" - }, !loading && /*#__PURE__*/React.createElement("div", { + }, !loading && /*#__PURE__*/React__namespace.createElement("div", { className: "GridBody-padding", style: { height: topPadding } }), rows.map(function (d, rI) { - return /*#__PURE__*/React.createElement(GridRow, { + return /*#__PURE__*/React__namespace.createElement(GridRow, { key: offset + rI, _this: _this, rowIndex: offset + rI, @@ -43820,7 +43687,7 @@ schema: schema, withCheckbox: withCheckbox }); - }), !loading && /*#__PURE__*/React.createElement("div", { + }), !loading && /*#__PURE__*/React__namespace.createElement("div", { className: "GridBody-padding", style: { height: bottomPadding @@ -43860,12 +43727,12 @@ inView: 20 }; - var _React$useState = React.useState(initialState), - _React$useState2 = _slicedToArray$6(_React$useState, 2), + var _React$useState = React__namespace.useState(initialState), + _React$useState2 = _slicedToArray$7(_React$useState, 2), state = _React$useState2[0], setState = _React$useState2[1]; - React.useEffect(function () { + React__namespace.useEffect(function () { if (init) { setState({ offset: offset, @@ -43874,7 +43741,7 @@ }); } }, [init]); - React.useEffect(function () { + React__namespace.useEffect(function () { setState(initialState); var el = _this.gridRef.querySelector('.Grid'); @@ -43947,16 +43814,16 @@ } }; - return /*#__PURE__*/React.createElement("div", _extends$p({}, baseProps, { + return /*#__PURE__*/React__namespace.createElement("div", _extends$p({}, baseProps, { className: classes, onScroll: onScrollHandler - }), showHead && /*#__PURE__*/React.createElement(GridHead, { + }), showHead && /*#__PURE__*/React__namespace.createElement(GridHead, { key: 'GridHead', _this: _this, schema: schema, draggable: draggable, withCheckbox: withCheckbox - }), /*#__PURE__*/React.createElement(GridBody, { + }), /*#__PURE__*/React__namespace.createElement(GridBody, { key: 'GridBody', _this: _this, schema: schema, @@ -43993,7 +43860,7 @@ _defineProperty$w(_assertThisInitialized$p(_this), "updateColumnSchema", function (name, schemaUpdate) { var schema = _this.props.schema; - var newSchema = _toConsumableArray$9(schema); + var newSchema = _toConsumableArray$b(schema); var ind = newSchema.findIndex(function (s) { return s.name === name; @@ -44101,7 +43968,7 @@ var baseProps = extractBaseProps(this.props); var schema = getSchema(this); - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { className: "Grid-wrapper", ref: function ref(el) { _this2.gridRef = el; @@ -44112,7 +43979,7 @@ }); } } - }, /*#__PURE__*/React.createElement(MainGrid, _extends$p({}, baseProps, { + }, /*#__PURE__*/React__namespace.createElement(MainGrid, _extends$p({}, baseProps, { _this: this, schema: schema }))); @@ -44120,7 +43987,7 @@ }]); return Grid; - }(React.Component); + }(React__namespace.Component); _defineProperty$w(Grid, "defaultProps", { showHead: true, @@ -44145,16 +44012,16 @@ if (children !== undefined && children !== null) { if (tooltip) { - return /*#__PURE__*/React.createElement(Tooltip, { + return /*#__PURE__*/React__namespace.createElement(Tooltip, { tooltip: children, position: 'top-start', triggerClass: "w-100 overflow-hidden" - }, /*#__PURE__*/React.createElement(Text$1, { + }, /*#__PURE__*/React__namespace.createElement(Text$1, { className: "w-100 ellipsis" }, children)); } - return /*#__PURE__*/React.createElement(Text$1, { + return /*#__PURE__*/React__namespace.createElement(Text$1, { className: "w-100 ellipsis" }, children); } @@ -44167,10 +44034,10 @@ var metaList = cellData.metaList; if (metaList) { - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { className: "GridCell-metaList" }, metaList.map(function (list, index) { - return /*#__PURE__*/React.createElement(Text$1, { + return /*#__PURE__*/React__namespace.createElement(Text$1, { key: index, className: "ellipsis", appearance: 'subtle', @@ -44189,7 +44056,7 @@ title = cellData.title; if (firstName || lastName) { - return /*#__PURE__*/React.createElement(Avatar, { + return /*#__PURE__*/React__namespace.createElement(Avatar, { className: "mr-5", firstName: firstName, lastName: lastName @@ -44197,7 +44064,7 @@ } if (title) { - return /*#__PURE__*/React.createElement(Avatar, { + return /*#__PURE__*/React__namespace.createElement(Avatar, { className: "mr-5" }, title); } @@ -44210,7 +44077,7 @@ var icon = cellData.icon; if (icon) { - return /*#__PURE__*/React.createElement(Icon, { + return /*#__PURE__*/React__namespace.createElement(Icon, { name: icon }); } @@ -44224,7 +44091,7 @@ var children = cellData.title; if (children) { - return /*#__PURE__*/React.createElement(StatusHint, { + return /*#__PURE__*/React__namespace.createElement(StatusHint, { appearance: statusAppearance }, children); } @@ -44248,9 +44115,9 @@ switch (cellType) { case 'DEFAULT': - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { className: "".concat(cellClass, " GridCell--align-").concat(align, " GridCell--default") - }, loading ? /*#__PURE__*/React.createElement(PlaceholderParagraph, { + }, loading ? /*#__PURE__*/React__namespace.createElement(PlaceholderParagraph, { length: "medium" }) : renderTitle({ tooltip: tooltip, @@ -44258,14 +44125,14 @@ })); case 'WITH_META_LIST': - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { className: "".concat(cellClass, " GridCell--metaList") - }, loading ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(PlaceholderParagraph, { + }, loading ? /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, /*#__PURE__*/React__namespace.createElement(PlaceholderParagraph, { length: "medium" - }), /*#__PURE__*/React.createElement(PlaceholderParagraph, { + }), /*#__PURE__*/React__namespace.createElement(PlaceholderParagraph, { length: "large", size: "xxs" - })) : /*#__PURE__*/React.createElement(React.Fragment, null, renderTitle({ + })) : /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, renderTitle({ tooltip: tooltip, cellData: cellData }), renderMetaList({ @@ -44274,14 +44141,14 @@ case 'AVATAR': if (loading) { - return /*#__PURE__*/React.createElement(Placeholder, { + return /*#__PURE__*/React__namespace.createElement(Placeholder, { className: "GridCell--align-".concat(align), imageSize: 'medium', round: true }); } - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { className: "".concat(cellClass, " GridCell--align-").concat(align, " GridCell--avatar") }, size !== 'tight' && renderAvatar({ cellData: cellData @@ -44289,16 +44156,16 @@ case 'AVATAR_WITH_TEXT': if (loading) { - return /*#__PURE__*/React.createElement(Placeholder, { + return /*#__PURE__*/React__namespace.createElement(Placeholder, { imageSize: 'medium', round: true - }, /*#__PURE__*/React.createElement(PlaceholderParagraph, { + }, /*#__PURE__*/React__namespace.createElement(PlaceholderParagraph, { className: "ml-3", length: "medium" })); } - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { className: "".concat(cellClass, " GridCell--avatarWithText") }, size !== 'tight' && renderAvatar({ cellData: cellData @@ -44309,23 +44176,23 @@ case 'AVATAR_WITH_META_LIST': if (loading) { - return /*#__PURE__*/React.createElement(Placeholder, { + return /*#__PURE__*/React__namespace.createElement(Placeholder, { imageSize: 'medium', round: true - }, /*#__PURE__*/React.createElement(PlaceholderParagraph, { + }, /*#__PURE__*/React__namespace.createElement(PlaceholderParagraph, { className: "ml-3", length: "medium" - }), /*#__PURE__*/React.createElement(PlaceholderParagraph, { + }), /*#__PURE__*/React__namespace.createElement(PlaceholderParagraph, { className: "ml-3", length: "large" })); } - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { className: "".concat(cellClass, " GridCell--avatarWithText") }, size !== 'tight' && renderAvatar({ cellData: cellData - }), /*#__PURE__*/React.createElement("div", { + }), /*#__PURE__*/React__namespace.createElement("div", { className: "GridCell-metaListWrapper" }, renderTitle({ tooltip: tooltip, @@ -44336,27 +44203,27 @@ case 'ICON': if (loading) { - return /*#__PURE__*/React.createElement(Placeholder, { + return /*#__PURE__*/React__namespace.createElement(Placeholder, { className: "GridCell--align-".concat(align), imageSize: 'small', round: true }); } - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { className: "".concat(cellClass, " GridCell--align-").concat(align, " GridCell--icon") }, renderIcon({ cellData: cellData })); case 'STATUS_HINT': - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { className: "".concat(cellClass, " GridCell--align-").concat(align, " GridCell--statusHint") - }, loading ? /*#__PURE__*/React.createElement(Placeholder, { + }, loading ? /*#__PURE__*/React__namespace.createElement(Placeholder, { className: "w-75 flex-grow-0", imageSize: 'small', round: true - }, /*#__PURE__*/React.createElement(PlaceholderParagraph, { + }, /*#__PURE__*/React__namespace.createElement(PlaceholderParagraph, { length: "large" })) : renderStatusHint({ cellData: cellData @@ -44371,22 +44238,22 @@ var options = props.options, onChange = props.onChange; - var _React$useState = React.useState(false), - _React$useState2 = _slicedToArray$6(_React$useState, 2), + var _React$useState = React__namespace.useState(false), + _React$useState2 = _slicedToArray$7(_React$useState, 2), open = _React$useState2[0], setOpen = _React$useState2[1]; - var _React$useState3 = React.useState(options), - _React$useState4 = _slicedToArray$6(_React$useState3, 2), + var _React$useState3 = React__namespace.useState(options), + _React$useState4 = _slicedToArray$7(_React$useState3, 2), tempOptions = _React$useState4[0], setTempOptions = _React$useState4[1]; - var _React$useState5 = React.useState('var(--spacing-8)'), - _React$useState6 = _slicedToArray$6(_React$useState5, 2), + var _React$useState5 = React__namespace.useState('var(--spacing-8)'), + _React$useState6 = _slicedToArray$7(_React$useState5, 2), triggerWidth = _React$useState6[0], setTriggerWidth = _React$useState6[1]; - React.useEffect(function () { + React__namespace.useEffect(function () { setTempOptions(options); }, [open]); @@ -44399,7 +44266,7 @@ }; var handleChildChange = function handleChildChange(e, index) { - var newOptions = _toConsumableArray$9(tempOptions); + var newOptions = _toConsumableArray$b(tempOptions); newOptions[index] = _objectSpread2(_objectSpread2({}, newOptions[index]), {}, { selected: e.target.checked @@ -44420,12 +44287,12 @@ if (onChange) onChange(tempOptions); }; - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { className: "Dropdown" - }, /*#__PURE__*/React.createElement(Popover, { + }, /*#__PURE__*/React__namespace.createElement(Popover, { open: open, onToggle: onToggleHandler, - trigger: /*#__PURE__*/React.createElement(Button, { + trigger: /*#__PURE__*/React__namespace.createElement(Button, { ref: function ref(el) { setTriggerWidth("".concat(el === null || el === void 0 ? void 0 : el.clientWidth, "px")); }, @@ -44441,11 +44308,11 @@ width: triggerWidth }, className: "Header-draggableDropdown" - }, /*#__PURE__*/React.createElement("div", { + }, /*#__PURE__*/React__namespace.createElement("div", { className: "Dropdown-wrapper" - }, /*#__PURE__*/React.createElement("div", { + }, /*#__PURE__*/React__namespace.createElement("div", { className: "OptionWrapper" - }, /*#__PURE__*/React.createElement(Checkbox, { + }, /*#__PURE__*/React__namespace.createElement(Checkbox, { className: "OptionCheckbox", label: "Select All", checked: tempOptions.every(function (option) { @@ -44458,7 +44325,7 @@ }), onChange: handleParentChange })), tempOptions.map(function (option, index) { - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { key: option.value, className: "OptionWrapper d-flex flex-space-between align-items-center cursor-pointer", draggable: true, @@ -44473,7 +44340,7 @@ var to = index; if (from !== to) setTempOptions(moveToIndex(tempOptions, from, to)); } - }, /*#__PURE__*/React.createElement(Checkbox, { + }, /*#__PURE__*/React__namespace.createElement(Checkbox, { className: "OptionCheckbox", name: option.value, label: option.label, @@ -44481,17 +44348,17 @@ onChange: function onChange(e) { return handleChildChange(e, index); } - }), /*#__PURE__*/React.createElement(Icon, { + }), /*#__PURE__*/React__namespace.createElement(Icon, { name: "drag_handle", className: "mr-4" })); - })), /*#__PURE__*/React.createElement("div", { + })), /*#__PURE__*/React__namespace.createElement("div", { className: "Dropdown-buttonWrapper" - }, /*#__PURE__*/React.createElement(Button, { + }, /*#__PURE__*/React__namespace.createElement(Button, { className: "mr-4", size: "tiny", onClick: onCancelHandler - }, "Cancel"), /*#__PURE__*/React.createElement(Button, { + }, "Cancel"), /*#__PURE__*/React__namespace.createElement(Button, { appearance: "primary", size: "tiny", onClick: onApplyHandler @@ -44523,25 +44390,25 @@ allowSelectAll = props.allowSelectAll, showFilters = props.showFilters; - var _React$useState = React.useState(false), - _React$useState2 = _slicedToArray$6(_React$useState, 2), + var _React$useState = React__namespace.useState(false), + _React$useState2 = _slicedToArray$7(_React$useState, 2), selectAllRecords = _React$useState2[0], setSelectAllRecords = _React$useState2[1]; - var _React$useState3 = React.useState(true), - _React$useState4 = _slicedToArray$6(_React$useState3, 2), + var _React$useState3 = React__namespace.useState(true), + _React$useState4 = _slicedToArray$7(_React$useState3, 2), flag = _React$useState4[0], setFlag = _React$useState4[1]; - React.useEffect(function () { + React__namespace.useEffect(function () { setFlag(!flag); }, [schema]); - React.useEffect(function () { + React__namespace.useEffect(function () { if (selectAll && selectAll.checked) { if (onSelectAll) onSelectAll(true, selectAllRecords); } }, [selectAllRecords]); - React.useEffect(function () { + React__namespace.useEffect(function () { if (selectAll && !selectAll.checked) setSelectAllRecords(false); }, [selectAll]); var filterSchema = schema.filter(function (s) { @@ -44591,13 +44458,13 @@ return d._selected; }).length; var label = withCheckbox && selectedCount ? selectAllRecords ? "Selected all ".concat(totalRecords, " items") : "Selected ".concat(selectedCount, " items on this page") : "Showing ".concat(!error ? totalRecords : 0, " items"); - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { className: "Header" - }, /*#__PURE__*/React.createElement("div", { + }, /*#__PURE__*/React__namespace.createElement("div", { className: "Header-content Header-content--top" - }, withSearch && /*#__PURE__*/React.createElement("div", { + }, withSearch && /*#__PURE__*/React__namespace.createElement("div", { className: "Header-search" - }, /*#__PURE__*/React.createElement(Input, { + }, /*#__PURE__*/React__namespace.createElement(Input, { name: "GridHeader-search", icon: "search", placeholder: searchPlaceholder, @@ -44607,9 +44474,9 @@ return updateSearchTerm && updateSearchTerm(''); }, disabled: loading && !getInit(schema) - })), showFilters && filterSchema.length > 0 && /*#__PURE__*/React.createElement("div", { + })), showFilters && filterSchema.length > 0 && /*#__PURE__*/React__namespace.createElement("div", { className: "Header-dropdown" - }, /*#__PURE__*/React.createElement("div", { + }, /*#__PURE__*/React__namespace.createElement("div", { className: "Header-filters" }, filterSchema.map(function (s) { var name = s.name, @@ -44622,7 +44489,7 @@ }) !== -1 }); }) : []; - return /*#__PURE__*/React.createElement(Dropdown, { + return /*#__PURE__*/React__namespace.createElement(Dropdown, { key: name, withCheckbox: true, showApplyButton: true, @@ -44633,36 +44500,36 @@ return onFilterChange(name, selected); } }); - }))), children && /*#__PURE__*/React.createElement("div", { + }))), children && /*#__PURE__*/React__namespace.createElement("div", { className: "Header-actions" - }, children)), /*#__PURE__*/React.createElement("div", { + }, children)), /*#__PURE__*/React__namespace.createElement("div", { className: "Header-content Header-content--bottom" - }, /*#__PURE__*/React.createElement("div", { + }, /*#__PURE__*/React__namespace.createElement("div", { className: "Header-label" - }, !showHead && withCheckbox && !loading && /*#__PURE__*/React.createElement(Checkbox, _extends$p({}, selectAll, { + }, !showHead && withCheckbox && !loading && /*#__PURE__*/React__namespace.createElement(Checkbox, _extends$p({}, selectAll, { onChange: function onChange(event) { if (onSelectAll) onSelectAll(event.target.checked); } - })), loading ? /*#__PURE__*/React.createElement(Placeholder, { + })), loading ? /*#__PURE__*/React__namespace.createElement(Placeholder, { withImage: !showHead && withCheckbox - }, /*#__PURE__*/React.createElement(PlaceholderParagraph, { + }, /*#__PURE__*/React__namespace.createElement(PlaceholderParagraph, { length: 'small', size: 's' - })) : /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Label, null, label), withPagination && (selectAll === null || selectAll === void 0 ? void 0 : selectAll.checked) && allowSelectAll && /*#__PURE__*/React.createElement("div", { + })) : /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, /*#__PURE__*/React__namespace.createElement(Label, null, label), withPagination && (selectAll === null || selectAll === void 0 ? void 0 : selectAll.checked) && allowSelectAll && /*#__PURE__*/React__namespace.createElement("div", { className: "ml-4" - }, !selectAllRecords ? /*#__PURE__*/React.createElement(Button, { + }, !selectAllRecords ? /*#__PURE__*/React__namespace.createElement(Button, { size: "tiny", onClick: function onClick() { return setSelectAllRecords(true); } - }, "Select all ".concat(totalRecords, " items")) : /*#__PURE__*/React.createElement(Button, { + }, "Select all ".concat(totalRecords, " items")) : /*#__PURE__*/React__namespace.createElement(Button, { size: "tiny", onClick: function onClick() { return setSelectAllRecords(false); } - }, "Clear Selection")))), dynamicColumn && /*#__PURE__*/React.createElement("div", { + }, "Clear Selection")))), dynamicColumn && /*#__PURE__*/React__namespace.createElement("div", { className: "Header-hideColumns" - }, /*#__PURE__*/React.createElement(DraggableDropdown, { + }, /*#__PURE__*/React__namespace.createElement(DraggableDropdown, { options: columnOptions, onChange: onDynamicColumnUpdate })))); @@ -44683,7 +44550,7 @@ NO_RECORDS_FOUND: 'No results found', DEFAULT: 'No results found' }; - return /*#__PURE__*/React.createElement(Heading, null, errorMessages[errorType]); + return /*#__PURE__*/React__namespace.createElement(Heading, null, errorMessages[errorType]); }; var defaultProps = { @@ -44904,7 +44771,7 @@ var multipleSorting = _this.props.multipleSorting; _this.setState({ - sortingList: multipleSorting ? _toConsumableArray$9(newSortingList) : newSortingList.slice(-1), + sortingList: multipleSorting ? _toConsumableArray$b(newSortingList) : newSortingList.slice(-1), page: 1 }); }); @@ -45034,11 +44901,11 @@ var classes = className ? " ".concat(className) : ''; var totalRecords = this.state.totalRecords; var totalPages = getTotalPages(totalRecords, pageSize); - return /*#__PURE__*/React.createElement("div", _extends$p({}, baseProps, { + return /*#__PURE__*/React__namespace.createElement("div", _extends$p({}, baseProps, { className: "Table".concat(classes) - }), withHeader && /*#__PURE__*/React.createElement("div", { + }), withHeader && /*#__PURE__*/React__namespace.createElement("div", { className: "Table-header" - }, /*#__PURE__*/React.createElement(Header, _extends$p({}, this.state, { + }, /*#__PURE__*/React__namespace.createElement(Header, _extends$p({}, this.state, { // updateData={updateData} updateSchema: this.updateSchema // updateSortingList={updateSortingList} , @@ -45049,9 +44916,9 @@ withCheckbox: withCheckbox, withPagination: withPagination, showFilters: filterPosition === 'HEADER' - }, headerAttr), headerChildren)), /*#__PURE__*/React.createElement("div", { + }, headerAttr), headerChildren)), /*#__PURE__*/React__namespace.createElement("div", { className: "Table-grid" - }, /*#__PURE__*/React.createElement(Grid, _extends$p({}, this.state, { + }, /*#__PURE__*/React__namespace.createElement(Grid, _extends$p({}, this.state, { updateData: this.updateData, updateSchema: this.updateSchema, updateSortingList: this.updateSortingList, @@ -45076,9 +44943,9 @@ }), onRowClick: onRowClick, showFilters: filterPosition === 'GRID' - }))), withPagination && !this.state.loading && !this.state.error && totalPages > 1 && /*#__PURE__*/React.createElement("div", { + }))), withPagination && !this.state.loading && !this.state.error && totalPages > 1 && /*#__PURE__*/React__namespace.createElement("div", { className: "Table-pagination" - }, /*#__PURE__*/React.createElement(Pagination, { + }, /*#__PURE__*/React__namespace.createElement(Pagination, { page: this.state.page, totalPages: getTotalPages(totalRecords, pageSize), type: paginationType, @@ -45088,7 +44955,7 @@ }]); return Table; - }(React.Component); + }(React__namespace.Component); _defineProperty$w(Table, "defaultProps", defaultProps); @@ -45098,14 +44965,14 @@ * Please refer to stories of Table for examples. Simply replace `Table` with `List` to use it. */ var List = function List(props) { - return /*#__PURE__*/React.createElement(Table, _extends$p({}, props, { + return /*#__PURE__*/React__namespace.createElement(Table, _extends$p({}, props, { showHead: false, filterPosition: 'HEADER' })); }; List.defaultProps = defaultProps; - var useState$1 = React.useState; + var useState$1 = React__namespace.useState; /** * ####NOTE: Navigation(vertical) sets first subMenu(if present) active if the Navigation is collapsed. @@ -45127,11 +44994,11 @@ var baseProps = extractBaseProps(props); var _useState = useState$1({}), - _useState2 = _slicedToArray$6(_useState, 2), + _useState2 = _slicedToArray$7(_useState, 2), menuState = _useState2[0], setMenuState = _useState2[1]; - React.useEffect(function () { + React__namespace.useEffect(function () { if (props.active) { var currMenu = getMenu(props.active); if (currMenu) updateMenuState(currMenu, true); @@ -45230,17 +45097,17 @@ var menuClasses = classnames((_classNames = { 'Navigation-menu': true }, _defineProperty$w(_classNames, "Navigation-menu--".concat(type), type), _defineProperty$w(_classNames, 'Navigation-menu--active', isMenuActive), _classNames)); - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { key: index, className: menuClasses, onClick: function onClick() { return onClickHandler(menu); } - }, menu.icon && /*#__PURE__*/React.createElement(Icon, { + }, menu.icon && /*#__PURE__*/React__namespace.createElement(Icon, { className: "mr-3", name: menu.icon, appearance: getIconAppearance(isMenuActive, menu.disabled) - }), /*#__PURE__*/React.createElement(Text$1, { + }), /*#__PURE__*/React__namespace.createElement(Text$1, { appearance: getTextAppearance(isMenuActive, menu.disabled) }, menu.label)); }); @@ -45260,39 +45127,39 @@ 'Navigation-menuIcon': true, 'Navigation-menuIcon--active': activeMenuIcon }); - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { key: index - }, /*#__PURE__*/React.createElement("div", { + }, /*#__PURE__*/React__namespace.createElement("div", { className: menuClasses, onClick: function onClick() { return onClickHandler(menu); } - }, menu.icon && /*#__PURE__*/React.createElement(Icon, { + }, menu.icon && /*#__PURE__*/React__namespace.createElement(Icon, { className: menuIconClasses, name: menu.icon, appearance: getIconAppearance(activeMenuIcon, menu.disabled) - }), expanded && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("span", { + }), expanded && /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, /*#__PURE__*/React__namespace.createElement("span", { className: "Navigation-menuLabel" - }, /*#__PURE__*/React.createElement(Text$1, { + }, /*#__PURE__*/React__namespace.createElement(Text$1, { appearance: getTextAppearance(activeMenu, menu.disabled) - }, menu.label)), menu.subMenu && menu.subMenu.length > 0 && /*#__PURE__*/React.createElement(Icon, { + }, menu.label)), menu.subMenu && menu.subMenu.length > 0 && /*#__PURE__*/React__namespace.createElement(Icon, { className: "mx-4", name: menuState[menu.name] ? 'keyboard_arrow_up' : 'keyboard_arrow_down', appearance: "subtle" - }))), /*#__PURE__*/React.createElement("div", { + }))), /*#__PURE__*/React__namespace.createElement("div", { className: "Navigation-subMenu" }, menuState[menu.name] && menu.subMenu && expanded && menu.subMenu.map(function (subMenu, ind) { var _classNames3; var isMenuActive = isActive(subMenu); var subMenuClasses = classnames(menuClasses, (_classNames3 = {}, _defineProperty$w(_classNames3, 'Navigation-menu--subMenu', type), _defineProperty$w(_classNames3, 'Navigation-menu--active', isMenuActive), _classNames3)); - return /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement("div", { key: ind, className: subMenuClasses, onClick: function onClick() { return onClickHandler(subMenu); } - }, /*#__PURE__*/React.createElement(Text$1, { + }, /*#__PURE__*/React__namespace.createElement(Text$1, { appearance: getTextAppearance(isMenuActive, subMenu.disabled) }, subMenu.label)); }))); @@ -45300,11 +45167,11 @@ var footerClasses = classnames(_defineProperty$w({ 'Navigation-footer': true }, 'Navigation-footer--border', true)); - return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", { + return /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, /*#__PURE__*/React__namespace.createElement("div", { className: "Navigation-body" - }, list), footer && /*#__PURE__*/React.createElement("div", { + }, list), footer && /*#__PURE__*/React__namespace.createElement("div", { className: footerClasses - }, /*#__PURE__*/React.createElement(Icon, { + }, /*#__PURE__*/React__namespace.createElement(Icon, { className: "Navigation-menuIcon Navigation-menuIcon--footer", name: "menu_open", size: 16, @@ -45315,7 +45182,7 @@ }; var classes = classnames((_classNames5 = {}, _defineProperty$w(_classNames5, 'Navigation', true), _defineProperty$w(_classNames5, "Navigation--".concat(type), type), _defineProperty$w(_classNames5, 'justify-content-center', type === 'horizontal' && align === 'center'), _defineProperty$w(_classNames5, 'justify-content-start', type === 'horizontal' && align === 'left'), _defineProperty$w(_classNames5, 'Navigation--collapsed', !expanded), _classNames5), className); - return /*#__PURE__*/React.createElement("div", _extends$p({}, baseProps, { + return /*#__PURE__*/React__namespace.createElement("div", _extends$p({}, baseProps, { className: classes }), type === 'horizontal' ? getHorizontalMenu(menus) : getVerticalMenu()); }; @@ -45354,41 +45221,41 @@ return navigation ? navigation : stepper; }; - return /*#__PURE__*/React.createElement("div", _extends$p({}, baseProps, { + return /*#__PURE__*/React__namespace.createElement("div", _extends$p({}, baseProps, { className: wrapperClasses - }), breadcrumbs, /*#__PURE__*/React.createElement("div", { + }), breadcrumbs, /*#__PURE__*/React__namespace.createElement("div", { className: classes - }, /*#__PURE__*/React.createElement(Row, null, /*#__PURE__*/React.createElement(Column, { + }, /*#__PURE__*/React__namespace.createElement(Row, null, /*#__PURE__*/React__namespace.createElement(Column, { size: "4", sizeXL: "4", sizeM: "4" - }, /*#__PURE__*/React.createElement("div", { + }, /*#__PURE__*/React__namespace.createElement("div", { className: "PageHeader-titleWrapper" - }, /*#__PURE__*/React.createElement(Heading, { + }, /*#__PURE__*/React__namespace.createElement(Heading, { className: "PageHeader-title" - }, title), badge)), /*#__PURE__*/React.createElement(Column, { + }, title), badge)), /*#__PURE__*/React__namespace.createElement(Column, { size: "4", sizeXL: "4", sizeM: "4" - }, /*#__PURE__*/React.createElement("div", { + }, /*#__PURE__*/React__namespace.createElement("div", { className: "PageHeader-navigationWrapper" - }, (!breadcrumbs || navigationPosition === 'center') && renderCenter())), /*#__PURE__*/React.createElement(Column, { + }, (!breadcrumbs || navigationPosition === 'center') && renderCenter())), /*#__PURE__*/React__namespace.createElement(Column, { size: "4", sizeXL: "4", sizeM: "4" - }, actions))), (status || meta) && /*#__PURE__*/React.createElement("div", { + }, actions))), (status || meta) && /*#__PURE__*/React__namespace.createElement("div", { className: "PageHeader-statusWrapper" - }, status, meta), breadcrumbs && navigationPosition === 'bottom' && /*#__PURE__*/React.createElement("div", { + }, status, meta), breadcrumbs && navigationPosition === 'bottom' && /*#__PURE__*/React__namespace.createElement("div", { className: "PageHeader-navigationWrapper" - }, renderCenter()), tabs && /*#__PURE__*/React.createElement("div", null, tabs)); + }, renderCenter()), tabs && /*#__PURE__*/React__namespace.createElement("div", null, tabs)); }; PageHeader.defaultProps = { navigationPosition: 'center', separator: true }; - var useEffect = React.useEffect, - useState = React.useState; + var useEffect = React__namespace.useEffect, + useState = React__namespace.useState; var IconMapping = { audio: 'audiotrack', image: 'image', @@ -45404,7 +45271,7 @@ file = props.file; var _useState = useState(false), - _useState2 = _slicedToArray$6(_useState, 2), + _useState2 = _slicedToArray$7(_useState, 2), animate = _useState2[0], setAnimate = _useState2[1]; @@ -45421,14 +45288,14 @@ }, [status]); if (status === 'uploading') { - return /*#__PURE__*/React.createElement(ProgressRing, { + return /*#__PURE__*/React__namespace.createElement(ProgressRing, { size: "small", value: progress || 0, className: uploadingIconClass }); } - return /*#__PURE__*/React.createElement(Icon, { + return /*#__PURE__*/React__namespace.createElement(Icon, { name: IconMapping[fileType], className: iconClass }); @@ -45459,26 +45326,26 @@ } }; - return /*#__PURE__*/React.createElement("div", _extends$p({}, baseProps, { + return /*#__PURE__*/React__namespace.createElement("div", _extends$p({}, baseProps, { className: FileItemClass, onClick: onClickHandler - }), /*#__PURE__*/React.createElement("div", { + }), /*#__PURE__*/React__namespace.createElement("div", { className: "FileItem-file" - }, /*#__PURE__*/React.createElement("div", { + }, /*#__PURE__*/React__namespace.createElement("div", { className: "FileItem-fileContent" - }, /*#__PURE__*/React.createElement(FileIcon, { + }, /*#__PURE__*/React__namespace.createElement(FileIcon, { file: file, status: status, progress: progress - }), /*#__PURE__*/React.createElement(Text$1, { + }), /*#__PURE__*/React__namespace.createElement(Text$1, { className: "FileItem-text", appearance: status === 'completed' ? 'default' : 'subtle' - }, name)), /*#__PURE__*/React.createElement("div", { + }, name)), /*#__PURE__*/React__namespace.createElement("div", { className: "FileItem-actions" - }, /*#__PURE__*/React.createElement(Text$1, { + }, /*#__PURE__*/React__namespace.createElement(Text$1, { className: "FileItem-size", appearance: 'subtle' - }, fileSize || file.size), !!actions && actions)), status === 'error' && /*#__PURE__*/React.createElement(Caption, { + }, fileSize || file.size), !!actions && actions)), status === 'error' && /*#__PURE__*/React__namespace.createElement(Caption, { className: 'FileItem-error', error: true }, errorMessage)); @@ -45496,11 +45363,11 @@ className = props.className; var baseProps = extractBaseProps(props); if (fileList.length === 0) return null; - return /*#__PURE__*/React.createElement(Card, _extends$p({}, baseProps, { + return /*#__PURE__*/React__namespace.createElement(Card, _extends$p({}, baseProps, { shadow: 'none', className: className }), fileList.map(function (fileItem, index) { - return /*#__PURE__*/React.createElement(FileListItem, _extends$p({ + return /*#__PURE__*/React__namespace.createElement(FileListItem, _extends$p({ key: index, onClick: onClick, actions: actionRenderer && actionRenderer(fileItem), @@ -45513,7 +45380,7 @@ }; FileList.displayName = 'FileList'; - var version = "1.7.1-0"; + var version = "1.7.1"; exports.Avatar = Avatar; exports.AvatarGroup = AvatarGroup; diff --git a/package.json b/package.json index 93974b7b4d..f88a3c35d5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@innovaccer/design-system", - "version": "1.7.1-0", + "version": "1.7.1", "description": "React components library project for Innovaccer Design System", "main": "dist/index.umd.js", "module": "dist/index.esm.js",