@spaziodati/atoka-design-system 2.0.72-beta
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AddableItems/AddableItems.d.ts +72 -0
- package/AddableItems/ClickableExcludableItem.d.ts +23 -0
- package/AddableItems/ClickableItemList.d.ts +32 -0
- package/AddableItems/index.d.ts +1 -0
- package/AddableItems/index.js +1046 -0
- package/AddableItems/index.js.map +1 -0
- package/Alert/Alert.d.ts +37 -0
- package/Alert/index.d.ts +1 -0
- package/Alert/index.js +319 -0
- package/Alert/index.js.map +1 -0
- package/Badge/Badge.d.ts +38 -0
- package/Badge/index.d.ts +1 -0
- package/Badge/index.js +285 -0
- package/Badge/index.js.map +1 -0
- package/Bs4V3Wrapper/Bs4V3Wrapper.d.ts +7 -0
- package/Bs4V3Wrapper/StoryWrapper.d.ts +8 -0
- package/Bs4V3Wrapper/index.d.ts +1 -0
- package/Bs4V3Wrapper/index.js +251 -0
- package/Bs4V3Wrapper/index.js.map +1 -0
- package/BubbleChart/BubbleChart.d.ts +33 -0
- package/BubbleChart/BubbleChartUI.d.ts +31 -0
- package/BubbleChart/index.d.ts +1 -0
- package/BubbleChart/index.js +3793 -0
- package/BubbleChart/index.js.map +1 -0
- package/Button/Button.d.ts +29 -0
- package/Button/Button.storiesConfig.d.ts +68 -0
- package/Button/index.d.ts +1 -0
- package/Button/index.js +323 -0
- package/Button/index.js.map +1 -0
- package/ButtonDropdown/ButtonDropdown.d.ts +23 -0
- package/ButtonDropdown/index.d.ts +2 -0
- package/ButtonDropdown/index.js +603 -0
- package/ButtonDropdown/index.js.map +1 -0
- package/CardsPage/CardsPage.d.ts +12 -0
- package/CardsPage/CardsPageActions.d.ts +2 -0
- package/CardsPage/CardsPageCards.d.ts +5 -0
- package/CardsPage/CardsPageCardsCounter.d.ts +7 -0
- package/CardsPage/CardsPageFilters.d.ts +3 -0
- package/CardsPage/CardsPageHeader.d.ts +11 -0
- package/CardsPage/CardsPageLayoutMode.d.ts +13 -0
- package/CardsPage/CardsPageSelectionActions.d.ts +17 -0
- package/CardsPage/CardsPageSelectionToggler.d.ts +8 -0
- package/CardsPage/CardsPageSorting.d.ts +15 -0
- package/CardsPage/CardsPageSubtitle.d.ts +2 -0
- package/CardsPage/CardsPageTabContent.d.ts +19 -0
- package/CardsPage/CardsPageTabSwitcher.d.ts +3 -0
- package/CardsPage/CardsPageTitle.d.ts +2 -0
- package/CardsPage/index.d.ts +2 -0
- package/CardsPage/index.js +2511 -0
- package/CardsPage/index.js.map +1 -0
- package/CursorPagination/CursorPagination.d.ts +21 -0
- package/CursorPagination/index.d.ts +1 -0
- package/CursorPagination/index.js +952 -0
- package/CursorPagination/index.js.map +1 -0
- package/DatePicker/DatePicker.d.ts +27 -0
- package/DatePicker/index.d.ts +1 -0
- package/DatePicker/index.js +452 -0
- package/DatePicker/index.js.map +1 -0
- package/DetailPage/DetailPage.d.ts +18 -0
- package/DetailPage/DetailPageBodyContainer.d.ts +2 -0
- package/DetailPage/DetailPageBodySection.d.ts +3 -0
- package/DetailPage/DetailPageHeaderContainer.d.ts +7 -0
- package/DetailPage/DetailPageHeaderUI.d.ts +12 -0
- package/DetailPage/DetailPageMenuContainer.d.ts +2 -0
- package/DetailPage/DetailPageMenuUI.d.ts +4 -0
- package/DetailPage/index.d.ts +1 -0
- package/DetailPage/index.js +2066 -0
- package/DetailPage/index.js.map +1 -0
- package/Dropdown/AtokaDropdownToggles.d.ts +11 -0
- package/Dropdown/Dropdown.d.ts +12 -0
- package/Dropdown/DropdownMenu.d.ts +7 -0
- package/Dropdown/index.d.ts +3 -0
- package/Dropdown/index.js +723 -0
- package/Dropdown/index.js.map +1 -0
- package/EditableString/EditableString.d.ts +42 -0
- package/EditableString/index.d.ts +1 -0
- package/EditableString/index.js +3321 -0
- package/EditableString/index.js.map +1 -0
- package/EllipsableContent/EllipsableContent.d.ts +18 -0
- package/EllipsableContent/index.d.ts +1 -0
- package/EllipsableContent/index.js +784 -0
- package/EllipsableContent/index.js.map +1 -0
- package/EmptyState/EmptyState.d.ts +12 -0
- package/EmptyState/index.d.ts +1 -0
- package/EmptyState/index.js +278 -0
- package/EmptyState/index.js.map +1 -0
- package/Facet/Facet.d.ts +21 -0
- package/Facet/FacetHelp.d.ts +28 -0
- package/Facet/FacetItemCount.d.ts +7 -0
- package/Facet/FacetSubtitle.d.ts +2 -0
- package/Facet/index.d.ts +1 -0
- package/Facet/index.js +914 -0
- package/Facet/index.js.map +1 -0
- package/FacetSection/FacetSection.d.ts +21 -0
- package/FacetSection/index.d.ts +1 -0
- package/FacetSection/index.js +443 -0
- package/FacetSection/index.js.map +1 -0
- package/FadeAnimation/FadeAnimation.d.ts +14 -0
- package/FadeAnimation/index.d.ts +1 -0
- package/FadeAnimation/index.js +1228 -0
- package/FadeAnimation/index.js.map +1 -0
- package/FeedbackButton/FeedbackButton.d.ts +19 -0
- package/FeedbackButton/index.d.ts +1 -0
- package/FeedbackButton/index.js +398 -0
- package/FeedbackButton/index.js.map +1 -0
- package/Form/Form.d.ts +23 -0
- package/Form/FormCheckbox.d.ts +10 -0
- package/Form/FormControl.d.ts +23 -0
- package/Form/FormControlFeedBack.d.ts +6 -0
- package/Form/FormHelp.d.ts +7 -0
- package/Form/FormLabel.d.ts +4 -0
- package/Form/FormRadio.d.ts +10 -0
- package/Form/index.d.ts +1 -0
- package/Form/index.js +450 -0
- package/Form/index.js.map +1 -0
- package/Funnel/Funnel.d.ts +54 -0
- package/Funnel/SVGDataLabel.d.ts +11 -0
- package/Funnel/index.d.ts +1 -0
- package/Funnel/index.js +3997 -0
- package/Funnel/index.js.map +1 -0
- package/GridCard/Fixtures.d.ts +3 -0
- package/GridCard/GridCard.d.ts +20 -0
- package/GridCard/GridCardContent.d.ts +2 -0
- package/GridCard/GridCardFooter.d.ts +2 -0
- package/GridCard/GridCardHeader.d.ts +14 -0
- package/GridCard/GridCardMenu.d.ts +2 -0
- package/GridCard/GridCardTags.d.ts +2 -0
- package/GridCard/GridCardTitle.d.ts +6 -0
- package/GridCard/index.d.ts +1 -0
- package/GridCard/index.js +1618 -0
- package/GridCard/index.js.map +1 -0
- package/HighlightableText/HighlightableText.d.ts +21 -0
- package/HighlightableText/index.d.ts +1 -0
- package/HighlightableText/index.js +624 -0
- package/HighlightableText/index.js.map +1 -0
- package/Histogram/Histogram.d.ts +126 -0
- package/Histogram/Types.d.ts +19 -0
- package/Histogram/index.d.ts +1 -0
- package/Histogram/index.js +2359 -0
- package/Histogram/index.js.map +1 -0
- package/InlineStringEditor/InlineStringEditor.d.ts +49 -0
- package/InlineStringEditor/index.d.ts +1 -0
- package/InlineStringEditor/index.js +1882 -0
- package/InlineStringEditor/index.js.map +1 -0
- package/InputGroup/InputGroup.d.ts +16 -0
- package/InputGroup/InputGroupText.d.ts +2 -0
- package/InputGroup/index.d.ts +1 -0
- package/InputGroup/index.js +279 -0
- package/InputGroup/index.js.map +1 -0
- package/Jumbotron/Jumbotron.d.ts +16 -0
- package/Jumbotron/index.d.ts +1 -0
- package/Jumbotron/index.js +270 -0
- package/Jumbotron/index.js.map +1 -0
- package/Map/Map.d.ts +27 -0
- package/Map/MapChoropleth.d.ts +31 -0
- package/Map/MapControl.d.ts +13 -0
- package/Map/MapLegendContent.d.ts +27 -0
- package/Map/MapPopup.d.ts +5 -0
- package/Map/MapUtils.d.ts +2 -0
- package/Map/Types.d.ts +38 -0
- package/Map/index.d.ts +2 -0
- package/Map/index.js +4810 -0
- package/Map/index.js.map +1 -0
- package/Modal/Modal.d.ts +32 -0
- package/Modal/index.d.ts +1 -0
- package/Modal/index.js +743 -0
- package/Modal/index.js.map +1 -0
- package/Navbar/Navbar.d.ts +42 -0
- package/Navbar/NavbarMobileMenuCollapse.d.ts +3 -0
- package/Navbar/NavbarMobileMenuToggle.d.ts +3 -0
- package/Navbar/NavbarNavigationMenu.d.ts +9 -0
- package/Navbar/NavbarNavigationMenuItem.d.ts +9 -0
- package/Navbar/NavbarNinjaMenu.d.ts +6 -0
- package/Navbar/NavbarNinjaMenuItem.d.ts +6 -0
- package/Navbar/NavbarNotificationMenu.d.ts +12 -0
- package/Navbar/NavbarNotificationMenuItem.d.ts +8 -0
- package/Navbar/NavbarOverlaySearch.d.ts +28 -0
- package/Navbar/NavbarOverlaySearchCard.d.ts +9 -0
- package/Navbar/NavbarOverlaySearchResults.d.ts +12 -0
- package/Navbar/NavbarUserMenu.d.ts +9 -0
- package/Navbar/NavbarUserMenuItem.d.ts +6 -0
- package/Navbar/index.d.ts +1 -0
- package/Navbar/index.js +3521 -0
- package/Navbar/index.js.map +1 -0
- package/Pagination/Pagination.d.ts +27 -0
- package/Pagination/PaginationNext.d.ts +7 -0
- package/Pagination/PaginationPrev.d.ts +7 -0
- package/Pagination/index.d.ts +1 -0
- package/Pagination/index.js +994 -0
- package/Pagination/index.js.map +1 -0
- package/PieChart/PieChart.d.ts +71 -0
- package/PieChart/index.d.ts +1 -0
- package/PieChart/index.js +1986 -0
- package/PieChart/index.js.map +1 -0
- package/PublicFooter/PublicFooter.d.ts +6 -0
- package/PublicFooter/index.d.ts +1 -0
- package/PublicFooter/index.js +454 -0
- package/PublicFooter/index.js.map +1 -0
- package/PublicNavbar/PublicNavbar.d.ts +6 -0
- package/PublicNavbar/index.d.ts +1 -0
- package/PublicNavbar/index.js +255 -0
- package/PublicNavbar/index.js.map +1 -0
- package/RecordBit/RecordBit.d.ts +14 -0
- package/RecordBit/index.d.ts +1 -0
- package/RecordBit/index.js +482 -0
- package/RecordBit/index.js.map +1 -0
- package/ResultItemCard/ResultItemCard.d.ts +19 -0
- package/ResultItemCard/ResultItemCardActions.d.ts +3 -0
- package/ResultItemCard/ResultItemCardFooter.d.ts +6 -0
- package/ResultItemCard/ResultItemCardImage.d.ts +6 -0
- package/ResultItemCard/ResultItemCardSubtitle.d.ts +6 -0
- package/ResultItemCard/ResultItemCardText.d.ts +7 -0
- package/ResultItemCard/ResultItemCardTitle.d.ts +7 -0
- package/ResultItemCard/index.d.ts +1 -0
- package/ResultItemCard/index.js +1067 -0
- package/ResultItemCard/index.js.map +1 -0
- package/SelectDropdown/SelectDropdown.d.ts +29 -0
- package/SelectDropdown/index.d.ts +1 -0
- package/SelectDropdown/index.js +1520 -0
- package/SelectDropdown/index.js.map +1 -0
- package/Spinner/Spinner.d.ts +32 -0
- package/Spinner/index.d.ts +1 -0
- package/Spinner/index.js +325 -0
- package/Spinner/index.js.map +1 -0
- package/StatisticsItemCard/StatisticsItemCard.d.ts +35 -0
- package/StatisticsItemCard/index.d.ts +1 -0
- package/StatisticsItemCard/index.js +1786 -0
- package/StatisticsItemCard/index.js.map +1 -0
- package/StatisticsItemNumeric/StatisticsItemNumeric.d.ts +18 -0
- package/StatisticsItemNumeric/index.d.ts +1 -0
- package/StatisticsItemNumeric/index.js +283 -0
- package/StatisticsItemNumeric/index.js.map +1 -0
- package/StatisticsLegend/StatisticsLegend.d.ts +35 -0
- package/StatisticsLegend/StatisticsLegendItem.d.ts +50 -0
- package/StatisticsLegend/StatisticsSVGLegend.d.ts +26 -0
- package/StatisticsLegend/helpers.d.ts +19 -0
- package/StatisticsLegend/index.d.ts +3 -0
- package/StatisticsLegend/index.js +1571 -0
- package/StatisticsLegend/index.js.map +1 -0
- package/StatisticsTooltip/StatisticsTooltip.d.ts +20 -0
- package/StatisticsTooltip/helpers.d.ts +19 -0
- package/StatisticsTooltip/index.d.ts +2 -0
- package/StatisticsTooltip/index.js +796 -0
- package/StatisticsTooltip/index.js.map +1 -0
- package/Suggester/CustomOption.d.ts +29 -0
- package/Suggester/InputValueContainer.d.ts +11 -0
- package/Suggester/Suggester.d.ts +80 -0
- package/Suggester/getRenderCustomMultiValueWithIcon.d.ts +6 -0
- package/Suggester/index.d.ts +3 -0
- package/Suggester/index.js +1126 -0
- package/Suggester/index.js.map +1 -0
- package/SunBurst/SunBurst.d.ts +61 -0
- package/SunBurst/index.d.ts +2 -0
- package/SunBurst/index.js +1170 -0
- package/SunBurst/index.js.map +1 -0
- package/TabSwitcher/TabSwitcher.d.ts +35 -0
- package/TabSwitcher/TabSwitcherChoice.d.ts +21 -0
- package/TabSwitcher/index.d.ts +1 -0
- package/TabSwitcher/index.js +1135 -0
- package/TabSwitcher/index.js.map +1 -0
- package/Title/Title.d.ts +16 -0
- package/Title/index.d.ts +1 -0
- package/Title/index.js +302 -0
- package/Title/index.js.map +1 -0
- package/ToggleButtonGroup/ToggleButton.d.ts +15 -0
- package/ToggleButtonGroup/ToggleButtonGroup.d.ts +24 -0
- package/ToggleButtonGroup/index.d.ts +1 -0
- package/ToggleButtonGroup/index.js +609 -0
- package/ToggleButtonGroup/index.js.map +1 -0
- package/Tooltip/Tooltip.d.ts +20 -0
- package/Tooltip/index.d.ts +1 -0
- package/Tooltip/index.js +291 -0
- package/Tooltip/index.js.map +1 -0
- package/Utils/CommonTypes.d.ts +29 -0
- package/Utils/Statistics.d.ts +3 -0
- package/Utils/Style.d.ts +5 -0
- package/Utils/Text.d.ts +12 -0
- package/Utils/Utils.d.ts +12 -0
- package/Utils/index.d.ts +5 -0
- package/Utils/index.js +3379 -0
- package/Utils/index.js.map +1 -0
- package/atoka-design-system-2.0.72-beta.min.css +1 -0
- package/commonFixtures.d.ts +1 -0
- package/index.d.ts +51 -0
- package/index.js +15343 -0
- package/index.js.map +1 -0
- package/package.json +157 -0
- package/styles/animations-mixin.less +28 -0
- package/styles/atoka-bootstrap-fixed-mixins.less +81 -0
- package/styles/atoka-bootstrap-variables.less +70 -0
- package/styles/atoka-bs.less +99 -0
- package/styles/atoka-namespaced-bs.less +28 -0
- package/styles/variables.less +106 -0
- package/styles/variant-mixins.less +96 -0
|
@@ -0,0 +1,1571 @@
|
|
|
1
|
+
(function webpackUniversalModuleDefinition(root, factory) {
|
|
2
|
+
if(typeof exports === 'object' && typeof module === 'object')
|
|
3
|
+
module.exports = factory(require("@fortawesome/pro-solid-svg-icons/faCircle"), require("@fortawesome/react-fontawesome"), require("classnames"), require("react"), require("react-bootstrap/Col"), require("react-bootstrap/Container"), require("react-bootstrap/Form"), require("react-bootstrap/FormControl"), require("react-bootstrap/FormText"), require("react-bootstrap/OverlayTrigger"), require("react-bootstrap/Row"));
|
|
4
|
+
else if(typeof define === 'function' && define.amd)
|
|
5
|
+
define("atoka-design-system", ["@fortawesome/pro-solid-svg-icons/faCircle", "@fortawesome/react-fontawesome", "classnames", "react", "react-bootstrap/Col", "react-bootstrap/Container", "react-bootstrap/Form", "react-bootstrap/FormControl", "react-bootstrap/FormText", "react-bootstrap/OverlayTrigger", "react-bootstrap/Row"], factory);
|
|
6
|
+
else if(typeof exports === 'object')
|
|
7
|
+
exports["atoka-design-system"] = factory(require("@fortawesome/pro-solid-svg-icons/faCircle"), require("@fortawesome/react-fontawesome"), require("classnames"), require("react"), require("react-bootstrap/Col"), require("react-bootstrap/Container"), require("react-bootstrap/Form"), require("react-bootstrap/FormControl"), require("react-bootstrap/FormText"), require("react-bootstrap/OverlayTrigger"), require("react-bootstrap/Row"));
|
|
8
|
+
else
|
|
9
|
+
root["atoka-design-system"] = factory(root["@fortawesome/pro-solid-svg-icons/faCircle"], root["@fortawesome/react-fontawesome"], root["classnames"], root["react"], root["react-bootstrap/Col"], root["react-bootstrap/Container"], root["react-bootstrap/Form"], root["react-bootstrap/FormControl"], root["react-bootstrap/FormText"], root["react-bootstrap/OverlayTrigger"], root["react-bootstrap/Row"]);
|
|
10
|
+
})(self, function(__WEBPACK_EXTERNAL_MODULE__1326__, __WEBPACK_EXTERNAL_MODULE__5692__, __WEBPACK_EXTERNAL_MODULE__8310__, __WEBPACK_EXTERNAL_MODULE__8156__, __WEBPACK_EXTERNAL_MODULE__5315__, __WEBPACK_EXTERNAL_MODULE__4394__, __WEBPACK_EXTERNAL_MODULE__8721__, __WEBPACK_EXTERNAL_MODULE__1082__, __WEBPACK_EXTERNAL_MODULE__8763__, __WEBPACK_EXTERNAL_MODULE__6043__, __WEBPACK_EXTERNAL_MODULE__3915__) {
|
|
11
|
+
return /******/ (() => { // webpackBootstrap
|
|
12
|
+
/******/ var __webpack_modules__ = ({
|
|
13
|
+
|
|
14
|
+
/***/ 8687:
|
|
15
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
16
|
+
|
|
17
|
+
"use strict";
|
|
18
|
+
|
|
19
|
+
// EXPORTS
|
|
20
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
21
|
+
"EllipsableContent": () => (/* reexport */ EllipsableContent)
|
|
22
|
+
});
|
|
23
|
+
|
|
24
|
+
// EXTERNAL MODULE: external "classnames"
|
|
25
|
+
var external_classnames_ = __webpack_require__(8310);
|
|
26
|
+
var external_classnames_default = /*#__PURE__*/__webpack_require__.n(external_classnames_);
|
|
27
|
+
// EXTERNAL MODULE: external "react"
|
|
28
|
+
var external_react_ = __webpack_require__(8156);
|
|
29
|
+
var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_);
|
|
30
|
+
// EXTERNAL MODULE: ./src/components/Tooltip/index.ts + 1 modules
|
|
31
|
+
var Tooltip = __webpack_require__(1512);
|
|
32
|
+
// EXTERNAL MODULE: ./src/components/Utils/Utils.tsx
|
|
33
|
+
var Utils = __webpack_require__(5654);
|
|
34
|
+
;// CONCATENATED MODULE: ./src/components/EllipsableContent/EllipsableContent.tsx
|
|
35
|
+
var __extends = (undefined && undefined.__extends) || (function () {
|
|
36
|
+
var extendStatics = function (d, b) {
|
|
37
|
+
extendStatics = Object.setPrototypeOf ||
|
|
38
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
39
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
40
|
+
return extendStatics(d, b);
|
|
41
|
+
};
|
|
42
|
+
return function (d, b) {
|
|
43
|
+
extendStatics(d, b);
|
|
44
|
+
function __() { this.constructor = d; }
|
|
45
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
46
|
+
};
|
|
47
|
+
})();
|
|
48
|
+
var __assign = (undefined && undefined.__assign) || function () {
|
|
49
|
+
__assign = Object.assign || function(t) {
|
|
50
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
51
|
+
s = arguments[i];
|
|
52
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
53
|
+
t[p] = s[p];
|
|
54
|
+
}
|
|
55
|
+
return t;
|
|
56
|
+
};
|
|
57
|
+
return __assign.apply(this, arguments);
|
|
58
|
+
};
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
var Prepend = function (props) { return (external_react_default().createElement("div", { className: 'ellipsable-content-prepend' }, props.children)); };
|
|
65
|
+
Prepend.displayName = 'EllipsableContent.Prepend';
|
|
66
|
+
var Append = function (props) { return (external_react_default().createElement("div", { className: 'ellipsable-content-append' }, props.children)); };
|
|
67
|
+
Append.displayName = 'EllipsableContent.Append';
|
|
68
|
+
var Content = function (props) {
|
|
69
|
+
var contentElement = external_react_default().createElement("div", { className: 'ellipsable-content-content' }, props.children);
|
|
70
|
+
if (props.tooltip == null) {
|
|
71
|
+
return contentElement;
|
|
72
|
+
}
|
|
73
|
+
return (external_react_default().createElement(Tooltip.Tooltip, __assign({}, props.tooltipProps, { content: props.tooltip }), contentElement));
|
|
74
|
+
};
|
|
75
|
+
Content.displayName = 'EllipsableContent.Content';
|
|
76
|
+
var EllipsableContent = /** @class */ (function (_super) {
|
|
77
|
+
__extends(EllipsableContent, _super);
|
|
78
|
+
function EllipsableContent() {
|
|
79
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
80
|
+
}
|
|
81
|
+
EllipsableContent.prototype.renderFullContent = function () {
|
|
82
|
+
var prependElement = (0,Utils/* findChildByComponent */.z8)(this.props.children, EllipsableContent.Prepend), contentElement = (0,Utils/* findChildByComponent */.z8)(this.props.children, EllipsableContent.Content), appendElement = (0,Utils/* findChildByComponent */.z8)(this.props.children, EllipsableContent.Append);
|
|
83
|
+
if (contentElement == null && (prependElement != null || appendElement != null)) {
|
|
84
|
+
console.error('You must set a .Content alongside the .Append or .Prepend');
|
|
85
|
+
return null;
|
|
86
|
+
}
|
|
87
|
+
if (contentElement == null) {
|
|
88
|
+
contentElement = external_react_default().createElement(EllipsableContent.Content, null, this.props.children);
|
|
89
|
+
}
|
|
90
|
+
if (this.props.tooltip != null) {
|
|
91
|
+
contentElement = (external_react_default().createElement(contentElement.type, __assign({}, contentElement.props, { tooltip: this.props.tooltip, tooltipProps: this.props.tooltipProps })));
|
|
92
|
+
}
|
|
93
|
+
return (external_react_default().createElement((external_react_default()).Fragment, null,
|
|
94
|
+
prependElement,
|
|
95
|
+
contentElement,
|
|
96
|
+
appendElement));
|
|
97
|
+
};
|
|
98
|
+
EllipsableContent.prototype.render = function () {
|
|
99
|
+
var className = external_classnames_default()('ellipsable-content-container', this.props.className, {
|
|
100
|
+
'ellipsable-with-tooltip': this.props.tooltip != null,
|
|
101
|
+
}), fullContent = this.renderFullContent();
|
|
102
|
+
if (fullContent == null) {
|
|
103
|
+
return null;
|
|
104
|
+
}
|
|
105
|
+
return (external_react_default().createElement("div", { className: className, style: this.props.style }, fullContent));
|
|
106
|
+
};
|
|
107
|
+
EllipsableContent.displayName = 'EllipsableContent';
|
|
108
|
+
EllipsableContent.Prepend = Prepend;
|
|
109
|
+
EllipsableContent.Append = Append;
|
|
110
|
+
EllipsableContent.Content = Content;
|
|
111
|
+
return EllipsableContent;
|
|
112
|
+
}((external_react_default()).PureComponent));
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
;// CONCATENATED MODULE: ./src/components/EllipsableContent/index.ts
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
/***/ }),
|
|
120
|
+
|
|
121
|
+
/***/ 9316:
|
|
122
|
+
/***/ ((__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) => {
|
|
123
|
+
|
|
124
|
+
"use strict";
|
|
125
|
+
|
|
126
|
+
// UNUSED EXPORTS: Form
|
|
127
|
+
|
|
128
|
+
// EXTERNAL MODULE: external "react"
|
|
129
|
+
var external_react_ = __webpack_require__(8156);
|
|
130
|
+
var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_);
|
|
131
|
+
// EXTERNAL MODULE: external "classnames"
|
|
132
|
+
var external_classnames_ = __webpack_require__(8310);
|
|
133
|
+
var external_classnames_default = /*#__PURE__*/__webpack_require__.n(external_classnames_);
|
|
134
|
+
// EXTERNAL MODULE: external "react-bootstrap/Form"
|
|
135
|
+
var Form_ = __webpack_require__(8721);
|
|
136
|
+
var Form_default = /*#__PURE__*/__webpack_require__.n(Form_);
|
|
137
|
+
;// CONCATENATED MODULE: ./src/components/Form/FormLabel.tsx
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
var FormLabel = external_react_default().memo(function (props) {
|
|
143
|
+
var className = external_classnames_default()(props === null || props === void 0 ? void 0 : props.className, 'atoka-form-label');
|
|
144
|
+
return external_react_default().createElement((Form_default()).Label, { className: className }, props.children);
|
|
145
|
+
});
|
|
146
|
+
FormLabel.displayName = 'FormLabel';
|
|
147
|
+
|
|
148
|
+
// EXTERNAL MODULE: ./src/components/Form/FormControl.tsx + 1 modules
|
|
149
|
+
var FormControl = __webpack_require__(3422);
|
|
150
|
+
;// CONCATENATED MODULE: ./src/components/Form/FormCheckbox.tsx
|
|
151
|
+
var __assign = (undefined && undefined.__assign) || function () {
|
|
152
|
+
__assign = Object.assign || function(t) {
|
|
153
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
154
|
+
s = arguments[i];
|
|
155
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
156
|
+
t[p] = s[p];
|
|
157
|
+
}
|
|
158
|
+
return t;
|
|
159
|
+
};
|
|
160
|
+
return __assign.apply(this, arguments);
|
|
161
|
+
};
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
|
|
166
|
+
var FormCheckbox = function (props) {
|
|
167
|
+
var _a;
|
|
168
|
+
var className = external_classnames_default()('atoka-form-checkbox', props === null || props === void 0 ? void 0 : props.className);
|
|
169
|
+
return external_react_default().createElement((Form_default()).Check, __assign({ type: 'checkbox' }, props, { custom: true, className: className, label: (_a = props.label) !== null && _a !== void 0 ? _a : '' }));
|
|
170
|
+
};
|
|
171
|
+
FormCheckbox.displayName = 'FormCheckbox';
|
|
172
|
+
|
|
173
|
+
;// CONCATENATED MODULE: ./src/components/Form/FormRadio.tsx
|
|
174
|
+
var FormRadio_assign = (undefined && undefined.__assign) || function () {
|
|
175
|
+
FormRadio_assign = Object.assign || function(t) {
|
|
176
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
177
|
+
s = arguments[i];
|
|
178
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
179
|
+
t[p] = s[p];
|
|
180
|
+
}
|
|
181
|
+
return t;
|
|
182
|
+
};
|
|
183
|
+
return FormRadio_assign.apply(this, arguments);
|
|
184
|
+
};
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
var FormRadio = function (props) {
|
|
190
|
+
var _a;
|
|
191
|
+
var className = external_classnames_default()(props === null || props === void 0 ? void 0 : props.className, 'atoka-form-radio');
|
|
192
|
+
return external_react_default().createElement((Form_default()).Check, FormRadio_assign({ type: 'radio' }, props, { custom: true, className: className, label: (_a = props.label) !== null && _a !== void 0 ? _a : '' }));
|
|
193
|
+
};
|
|
194
|
+
FormRadio.displayName = 'FormRadio';
|
|
195
|
+
|
|
196
|
+
// EXTERNAL MODULE: external "react-bootstrap/FormText"
|
|
197
|
+
var FormText_ = __webpack_require__(8763);
|
|
198
|
+
var FormText_default = /*#__PURE__*/__webpack_require__.n(FormText_);
|
|
199
|
+
;// CONCATENATED MODULE: ./src/components/Form/FormHelp.tsx
|
|
200
|
+
var __rest = (undefined && undefined.__rest) || function (s, e) {
|
|
201
|
+
var t = {};
|
|
202
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
203
|
+
t[p] = s[p];
|
|
204
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
205
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
206
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
207
|
+
t[p[i]] = s[p[i]];
|
|
208
|
+
}
|
|
209
|
+
return t;
|
|
210
|
+
};
|
|
211
|
+
|
|
212
|
+
|
|
213
|
+
|
|
214
|
+
|
|
215
|
+
var FormHelp = external_react_default().memo(function (_a) {
|
|
216
|
+
var children = _a.children, props = __rest(_a, ["children"]);
|
|
217
|
+
var className = external_classnames_default()('d-block', props === null || props === void 0 ? void 0 : props.className);
|
|
218
|
+
return (external_react_default().createElement((FormText_default()), { bsPrefix: 'atoka-form-help', className: className }, children));
|
|
219
|
+
});
|
|
220
|
+
FormHelp.displayName = 'FormHelp';
|
|
221
|
+
|
|
222
|
+
;// CONCATENATED MODULE: ./src/components/Form/Form.tsx
|
|
223
|
+
var Form_assign = (undefined && undefined.__assign) || function () {
|
|
224
|
+
Form_assign = Object.assign || function(t) {
|
|
225
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
226
|
+
s = arguments[i];
|
|
227
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
228
|
+
t[p] = s[p];
|
|
229
|
+
}
|
|
230
|
+
return t;
|
|
231
|
+
};
|
|
232
|
+
return Form_assign.apply(this, arguments);
|
|
233
|
+
};
|
|
234
|
+
|
|
235
|
+
|
|
236
|
+
|
|
237
|
+
|
|
238
|
+
|
|
239
|
+
|
|
240
|
+
|
|
241
|
+
|
|
242
|
+
|
|
243
|
+
var Form = function (props) {
|
|
244
|
+
var className = external_classnames_default()(props === null || props === void 0 ? void 0 : props.className, 'atoka-form');
|
|
245
|
+
return (external_react_default().createElement((Form_default()), Form_assign({}, props, { className: className }), props.children));
|
|
246
|
+
};
|
|
247
|
+
Form.displayName = 'Form';
|
|
248
|
+
Form.Control = FormControl/* FormControl */.N;
|
|
249
|
+
Form.Label = FormLabel;
|
|
250
|
+
Form.Checkbox = FormCheckbox;
|
|
251
|
+
Form.Radio = FormRadio;
|
|
252
|
+
Form.File = (Form_default()).File;
|
|
253
|
+
Form.Switch = (Form_default()).Switch;
|
|
254
|
+
Form.Help = FormHelp;
|
|
255
|
+
Form.Group = (Form_default()).Group;
|
|
256
|
+
|
|
257
|
+
|
|
258
|
+
|
|
259
|
+
/***/ }),
|
|
260
|
+
|
|
261
|
+
/***/ 3422:
|
|
262
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
263
|
+
|
|
264
|
+
"use strict";
|
|
265
|
+
|
|
266
|
+
// EXPORTS
|
|
267
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
268
|
+
"N": () => (/* binding */ FormControl)
|
|
269
|
+
});
|
|
270
|
+
|
|
271
|
+
// EXTERNAL MODULE: external "react"
|
|
272
|
+
var external_react_ = __webpack_require__(8156);
|
|
273
|
+
var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_);
|
|
274
|
+
// EXTERNAL MODULE: external "classnames"
|
|
275
|
+
var external_classnames_ = __webpack_require__(8310);
|
|
276
|
+
var external_classnames_default = /*#__PURE__*/__webpack_require__.n(external_classnames_);
|
|
277
|
+
// EXTERNAL MODULE: external "react-bootstrap/FormControl"
|
|
278
|
+
var FormControl_ = __webpack_require__(1082);
|
|
279
|
+
var FormControl_default = /*#__PURE__*/__webpack_require__.n(FormControl_);
|
|
280
|
+
;// CONCATENATED MODULE: ./src/components/Form/FormControlFeedBack.tsx
|
|
281
|
+
var __rest = (undefined && undefined.__rest) || function (s, e) {
|
|
282
|
+
var t = {};
|
|
283
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
284
|
+
t[p] = s[p];
|
|
285
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
286
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
287
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
288
|
+
t[p[i]] = s[p[i]];
|
|
289
|
+
}
|
|
290
|
+
return t;
|
|
291
|
+
};
|
|
292
|
+
|
|
293
|
+
|
|
294
|
+
|
|
295
|
+
var FormControlFeedBack = external_react_default().memo(function (_a) {
|
|
296
|
+
var _b = _a.show, show = _b === void 0 ? true : _b, props = __rest(_a, ["show"]);
|
|
297
|
+
var className = external_classnames_default()(props === null || props === void 0 ? void 0 : props.className, 'atoka-form-control-feedback', {
|
|
298
|
+
'd-block': show,
|
|
299
|
+
});
|
|
300
|
+
return (external_react_default().createElement((FormControl_default()).Feedback, { type: props.type, className: className }, props.children));
|
|
301
|
+
});
|
|
302
|
+
FormControlFeedBack.displayName = ' FormControlFeedBack';
|
|
303
|
+
|
|
304
|
+
;// CONCATENATED MODULE: ./src/components/Form/FormControl.tsx
|
|
305
|
+
var FormControl_rest = (undefined && undefined.__rest) || function (s, e) {
|
|
306
|
+
var t = {};
|
|
307
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
308
|
+
t[p] = s[p];
|
|
309
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
310
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
311
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
312
|
+
t[p[i]] = s[p[i]];
|
|
313
|
+
}
|
|
314
|
+
return t;
|
|
315
|
+
};
|
|
316
|
+
|
|
317
|
+
|
|
318
|
+
|
|
319
|
+
|
|
320
|
+
|
|
321
|
+
var FormControlComponent = external_react_default().forwardRef(function (_a, ref) {
|
|
322
|
+
var _b = _a.size, size = _b === void 0 ? 'md' : _b, props = FormControl_rest(_a, ["size"]);
|
|
323
|
+
var className = external_classnames_default()('atoka-form-control', props === null || props === void 0 ? void 0 : props.className, {
|
|
324
|
+
'atoka-shadow': props.withShadow,
|
|
325
|
+
'disabled': props.disabled,
|
|
326
|
+
});
|
|
327
|
+
return (external_react_default().createElement((FormControl_default()), { as: props.as, rows: props.rows, cols: props.cols, placeholder: props.placeholder, className: className, disabled: props.disabled, readOnly: props.readOnly, value: props.value, onChange: props.onChange, onKeyPress: props.onKeyPress, onKeyDown: props.onKeyDown, defaultValue: props.defaultValue, size: size === 'md' ? undefined : size, type: props.type, id: props.id, isValid: props.isValid, isInvalid: props.isInvalid, ref: ref, autoComplete: 'off' }, props.children));
|
|
328
|
+
});
|
|
329
|
+
FormControlComponent.displayName = 'FormControlComponent';
|
|
330
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
331
|
+
var FormControl = FormControlComponent;
|
|
332
|
+
FormControl.FeedBack = FormControlFeedBack;
|
|
333
|
+
FormControl.displayName = 'FormControl';
|
|
334
|
+
|
|
335
|
+
|
|
336
|
+
|
|
337
|
+
/***/ }),
|
|
338
|
+
|
|
339
|
+
/***/ 655:
|
|
340
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
341
|
+
|
|
342
|
+
"use strict";
|
|
343
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
344
|
+
/* harmony export */ "Q": () => (/* binding */ StatisticsSVGLegend)
|
|
345
|
+
/* harmony export */ });
|
|
346
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8156);
|
|
347
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
348
|
+
/* harmony import */ var autobind_decorator__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(6627);
|
|
349
|
+
/* harmony import */ var _Utils_CommonTypes__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(6055);
|
|
350
|
+
/* harmony import */ var _Utils_CommonTypes__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_Utils_CommonTypes__WEBPACK_IMPORTED_MODULE_4__);
|
|
351
|
+
/* harmony import */ var _Utils_Style__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(2755);
|
|
352
|
+
/* harmony import */ var _Utils_Statistics__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(5258);
|
|
353
|
+
var __extends = (undefined && undefined.__extends) || (function () {
|
|
354
|
+
var extendStatics = function (d, b) {
|
|
355
|
+
extendStatics = Object.setPrototypeOf ||
|
|
356
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
357
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
358
|
+
return extendStatics(d, b);
|
|
359
|
+
};
|
|
360
|
+
return function (d, b) {
|
|
361
|
+
extendStatics(d, b);
|
|
362
|
+
function __() { this.constructor = d; }
|
|
363
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
364
|
+
};
|
|
365
|
+
})();
|
|
366
|
+
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
367
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
368
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
369
|
+
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;
|
|
370
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
371
|
+
};
|
|
372
|
+
var __metadata = (undefined && undefined.__metadata) || function (k, v) {
|
|
373
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
374
|
+
};
|
|
375
|
+
|
|
376
|
+
|
|
377
|
+
|
|
378
|
+
|
|
379
|
+
|
|
380
|
+
var StatisticsSVGLegend = /** @class */ (function (_super) {
|
|
381
|
+
__extends(StatisticsSVGLegend, _super);
|
|
382
|
+
function StatisticsSVGLegend() {
|
|
383
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
384
|
+
}
|
|
385
|
+
StatisticsSVGLegend.prototype.renderSVGDataInfoBit = function (item, i) {
|
|
386
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
387
|
+
var label = (_a = item.label) !== null && _a !== void 0 ? _a : '', percentage = this.renderPercentage(item), dot = this.renderCircle((_b = this.props.colors) === null || _b === void 0 ? void 0 : _b[i]);
|
|
388
|
+
return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement((react__WEBPACK_IMPORTED_MODULE_0___default().Fragment), { key: item.label + "-legend-data" },
|
|
389
|
+
dot,
|
|
390
|
+
react__WEBPACK_IMPORTED_MODULE_0___default().createElement("text", { x: this.props.x, y: this.props.y, fill: _Utils_Style__WEBPACK_IMPORTED_MODULE_2__/* .gray400 */ .de, fontSize: this.props.fontSize, key: item.label + "-legend-data" },
|
|
391
|
+
react__WEBPACK_IMPORTED_MODULE_0___default().createElement("tspan", { dx: dot == null ? 0 : 10 }, (_e = (_d = (_c = this.props).labelFormat) === null || _d === void 0 ? void 0 : _d.call(_c, label)) !== null && _e !== void 0 ? _e : label),
|
|
392
|
+
react__WEBPACK_IMPORTED_MODULE_0___default().createElement("tspan", { x: this.getRightElementX(), dx: 5, fill: 'black', fontWeight: 'bold', textAnchor: 'end' }, (_h = (_g = (_f = this.props).valueFormat) === null || _g === void 0 ? void 0 : _g.call(_f, item.value)) !== null && _h !== void 0 ? _h : item.value),
|
|
393
|
+
percentage)));
|
|
394
|
+
};
|
|
395
|
+
StatisticsSVGLegend.prototype.renderSVGDataInfoBitMoreItems = function (item, i) {
|
|
396
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
397
|
+
var label = (_a = item.label) !== null && _a !== void 0 ? _a : '', percentage = this.renderPercentage(item), dot = this.renderCircle((_b = this.props.colors) === null || _b === void 0 ? void 0 : _b[i]);
|
|
398
|
+
return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement((react__WEBPACK_IMPORTED_MODULE_0___default().Fragment), { key: item.label + "-legend-data-items" },
|
|
399
|
+
dot,
|
|
400
|
+
react__WEBPACK_IMPORTED_MODULE_0___default().createElement("tspan", { dx: i === 0 || dot != null ? 0 : 10, fill: _Utils_Style__WEBPACK_IMPORTED_MODULE_2__/* .gray400 */ .de }, (_e = (_d = (_c = this.props).labelFormat) === null || _d === void 0 ? void 0 : _d.call(_c, label)) !== null && _e !== void 0 ? _e : label),
|
|
401
|
+
react__WEBPACK_IMPORTED_MODULE_0___default().createElement("tspan", { dx: 5, fill: 'black', fontWeight: 'bold' }, (_h = (_g = (_f = this.props).valueFormat) === null || _g === void 0 ? void 0 : _g.call(_f, item.value)) !== null && _h !== void 0 ? _h : item.value),
|
|
402
|
+
percentage));
|
|
403
|
+
};
|
|
404
|
+
StatisticsSVGLegend.prototype.renderCircle = function (color) {
|
|
405
|
+
if (color == null) {
|
|
406
|
+
return null;
|
|
407
|
+
}
|
|
408
|
+
return react__WEBPACK_IMPORTED_MODULE_0___default().createElement("circle", { cx: this.props.x, cy: this.props.y - 3, r: '5', fill: color });
|
|
409
|
+
};
|
|
410
|
+
StatisticsSVGLegend.prototype.renderPercentage = function (item) {
|
|
411
|
+
var _a;
|
|
412
|
+
var percentage = item.percentage != null ? (0,_Utils_Statistics__WEBPACK_IMPORTED_MODULE_1__/* .normalizePercentage */ .Ow)(item.percentage) : null;
|
|
413
|
+
if (percentage == null) {
|
|
414
|
+
return null;
|
|
415
|
+
}
|
|
416
|
+
return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement("tspan", { x: this.getRightElementX(), dx: 5, fill: (_a = this.props.colors) === null || _a === void 0 ? void 0 : _a[0] }, percentage));
|
|
417
|
+
};
|
|
418
|
+
StatisticsSVGLegend.prototype.getRightElementX = function () {
|
|
419
|
+
var width = this.props.width;
|
|
420
|
+
if (width == null) {
|
|
421
|
+
return undefined;
|
|
422
|
+
}
|
|
423
|
+
return (this.props.x === 0 ? width / 2 : width) - 18;
|
|
424
|
+
};
|
|
425
|
+
StatisticsSVGLegend.prototype.removeItemIfNoValue = function (propsData) {
|
|
426
|
+
return propsData.filter(function (item) { return item.value !== null; });
|
|
427
|
+
};
|
|
428
|
+
StatisticsSVGLegend.prototype.render = function () {
|
|
429
|
+
var legendData = this.removeItemIfNoValue(this.props.data);
|
|
430
|
+
if ((legendData === null || legendData === void 0 ? void 0 : legendData.length) > 1) {
|
|
431
|
+
return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement("g", null,
|
|
432
|
+
react__WEBPACK_IMPORTED_MODULE_0___default().createElement("text", { x: this.props.x, y: this.props.y, dy: this.props.dy, fill: _Utils_Style__WEBPACK_IMPORTED_MODULE_2__/* .gray400 */ .de, fontSize: this.props.fontSize, key: 'legend-data-bit', className: 'legend-data-bit' }, legendData.map(this.renderSVGDataInfoBitMoreItems))));
|
|
433
|
+
}
|
|
434
|
+
return react__WEBPACK_IMPORTED_MODULE_0___default().createElement("g", null, legendData.map(this.renderSVGDataInfoBit));
|
|
435
|
+
};
|
|
436
|
+
var _a, _b, _c, _d;
|
|
437
|
+
StatisticsSVGLegend.displayName = 'StatisticsSVGLegend';
|
|
438
|
+
StatisticsSVGLegend.defaultProps = {
|
|
439
|
+
dy: 0,
|
|
440
|
+
fontSize: 11,
|
|
441
|
+
colors: [],
|
|
442
|
+
};
|
|
443
|
+
__decorate([
|
|
444
|
+
autobind_decorator__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP,
|
|
445
|
+
__metadata("design:type", Function),
|
|
446
|
+
__metadata("design:paramtypes", [typeof (_a = typeof _Utils_CommonTypes__WEBPACK_IMPORTED_MODULE_4__.DataPoint !== "undefined" && _Utils_CommonTypes__WEBPACK_IMPORTED_MODULE_4__.DataPoint) === "function" ? _a : Object, Number]),
|
|
447
|
+
__metadata("design:returntype", typeof (_b = typeof (react__WEBPACK_IMPORTED_MODULE_0___default()) !== "undefined" && (react__WEBPACK_IMPORTED_MODULE_0___default().ReactNode)) === "function" ? _b : Object)
|
|
448
|
+
], StatisticsSVGLegend.prototype, "renderSVGDataInfoBit", null);
|
|
449
|
+
__decorate([
|
|
450
|
+
autobind_decorator__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP,
|
|
451
|
+
__metadata("design:type", Function),
|
|
452
|
+
__metadata("design:paramtypes", [typeof (_c = typeof _Utils_CommonTypes__WEBPACK_IMPORTED_MODULE_4__.DataPoint !== "undefined" && _Utils_CommonTypes__WEBPACK_IMPORTED_MODULE_4__.DataPoint) === "function" ? _c : Object, Number]),
|
|
453
|
+
__metadata("design:returntype", typeof (_d = typeof (react__WEBPACK_IMPORTED_MODULE_0___default()) !== "undefined" && (react__WEBPACK_IMPORTED_MODULE_0___default().ReactNode)) === "function" ? _d : Object)
|
|
454
|
+
], StatisticsSVGLegend.prototype, "renderSVGDataInfoBitMoreItems", null);
|
|
455
|
+
return StatisticsSVGLegend;
|
|
456
|
+
}((react__WEBPACK_IMPORTED_MODULE_0___default().PureComponent)));
|
|
457
|
+
|
|
458
|
+
|
|
459
|
+
|
|
460
|
+
/***/ }),
|
|
461
|
+
|
|
462
|
+
/***/ 8010:
|
|
463
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
464
|
+
|
|
465
|
+
"use strict";
|
|
466
|
+
// ESM COMPAT FLAG
|
|
467
|
+
__webpack_require__.r(__webpack_exports__);
|
|
468
|
+
|
|
469
|
+
// EXPORTS
|
|
470
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
471
|
+
"StatisticsLegend": () => (/* reexport */ StatisticsLegend),
|
|
472
|
+
"StatisticsLegendProps": () => (/* reexport */ StatisticsLegend_namespaceObject.StatisticsLegendProps),
|
|
473
|
+
"StatisticsSVGLegend": () => (/* reexport */ StatisticsSVGLegend/* StatisticsSVGLegend */.Q),
|
|
474
|
+
"getRenderStatisticsLegend": () => (/* reexport */ getRenderStatisticsLegend)
|
|
475
|
+
});
|
|
476
|
+
|
|
477
|
+
// NAMESPACE OBJECT: ./src/components/StatisticsLegend/StatisticsLegend.tsx
|
|
478
|
+
var StatisticsLegend_namespaceObject = {};
|
|
479
|
+
__webpack_require__.r(StatisticsLegend_namespaceObject);
|
|
480
|
+
__webpack_require__.d(StatisticsLegend_namespaceObject, {
|
|
481
|
+
"B": () => (StatisticsLegend)
|
|
482
|
+
});
|
|
483
|
+
|
|
484
|
+
// EXTERNAL MODULE: external "react"
|
|
485
|
+
var external_react_ = __webpack_require__(8156);
|
|
486
|
+
var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_);
|
|
487
|
+
// EXTERNAL MODULE: external "react-bootstrap/Container"
|
|
488
|
+
var Container_ = __webpack_require__(4394);
|
|
489
|
+
var Container_default = /*#__PURE__*/__webpack_require__.n(Container_);
|
|
490
|
+
// EXTERNAL MODULE: external "react-bootstrap/Row"
|
|
491
|
+
var Row_ = __webpack_require__(3915);
|
|
492
|
+
var Row_default = /*#__PURE__*/__webpack_require__.n(Row_);
|
|
493
|
+
// EXTERNAL MODULE: external "classnames"
|
|
494
|
+
var external_classnames_ = __webpack_require__(8310);
|
|
495
|
+
var external_classnames_default = /*#__PURE__*/__webpack_require__.n(external_classnames_);
|
|
496
|
+
// EXTERNAL MODULE: external "react-bootstrap/Col"
|
|
497
|
+
var Col_ = __webpack_require__(5315);
|
|
498
|
+
var Col_default = /*#__PURE__*/__webpack_require__.n(Col_);
|
|
499
|
+
// EXTERNAL MODULE: external "@fortawesome/pro-solid-svg-icons/faCircle"
|
|
500
|
+
var faCircle_ = __webpack_require__(1326);
|
|
501
|
+
// EXTERNAL MODULE: external "@fortawesome/react-fontawesome"
|
|
502
|
+
var react_fontawesome_ = __webpack_require__(5692);
|
|
503
|
+
// EXTERNAL MODULE: ./src/components/EllipsableContent/index.ts + 1 modules
|
|
504
|
+
var EllipsableContent = __webpack_require__(8687);
|
|
505
|
+
// EXTERNAL MODULE: ./src/components/Utils/Text.ts
|
|
506
|
+
var Text = __webpack_require__(6347);
|
|
507
|
+
// EXTERNAL MODULE: ./src/components/Utils/Statistics.ts
|
|
508
|
+
var Statistics = __webpack_require__(5258);
|
|
509
|
+
;// CONCATENATED MODULE: ./src/components/StatisticsLegend/StatisticsLegendItem.tsx
|
|
510
|
+
var __extends = (undefined && undefined.__extends) || (function () {
|
|
511
|
+
var extendStatics = function (d, b) {
|
|
512
|
+
extendStatics = Object.setPrototypeOf ||
|
|
513
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
514
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
515
|
+
return extendStatics(d, b);
|
|
516
|
+
};
|
|
517
|
+
return function (d, b) {
|
|
518
|
+
extendStatics(d, b);
|
|
519
|
+
function __() { this.constructor = d; }
|
|
520
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
521
|
+
};
|
|
522
|
+
})();
|
|
523
|
+
|
|
524
|
+
|
|
525
|
+
|
|
526
|
+
// eslint-disable-next-line import/no-internal-modules
|
|
527
|
+
|
|
528
|
+
|
|
529
|
+
|
|
530
|
+
|
|
531
|
+
|
|
532
|
+
var StatisticsLegendItem = /** @class */ (function (_super) {
|
|
533
|
+
__extends(StatisticsLegendItem, _super);
|
|
534
|
+
function StatisticsLegendItem() {
|
|
535
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
536
|
+
}
|
|
537
|
+
StatisticsLegendItem.prototype.renderRightBlock = function () {
|
|
538
|
+
var items = [this.renderValue(), this.renderPercentage()].filter(function (node) { return node != null; });
|
|
539
|
+
if (items.length == null) {
|
|
540
|
+
return null;
|
|
541
|
+
}
|
|
542
|
+
return external_react_default().createElement(EllipsableContent.EllipsableContent.Append, null, items);
|
|
543
|
+
};
|
|
544
|
+
StatisticsLegendItem.prototype.renderValue = function () {
|
|
545
|
+
var _a = this.props, legendDataValueKey = _a.legendDataValueKey, numberToStringFormatter = _a.numberToStringFormatter, data = _a.data;
|
|
546
|
+
if (legendDataValueKey == null || data[legendDataValueKey] == null) {
|
|
547
|
+
return null;
|
|
548
|
+
}
|
|
549
|
+
var value = data[legendDataValueKey], newValue = numberToStringFormatter ? numberToStringFormatter(value) : String(value);
|
|
550
|
+
return (external_react_default().createElement("div", { key: 'value-container', className: 'value-container font-weight-bold text-nowrap' }, newValue));
|
|
551
|
+
};
|
|
552
|
+
StatisticsLegendItem.prototype.renderPercentage = function () {
|
|
553
|
+
var _a = this.props, legendDataPercentageKey = _a.legendDataPercentageKey, data = _a.data;
|
|
554
|
+
if (legendDataPercentageKey == null || data[legendDataPercentageKey] == null) {
|
|
555
|
+
return null;
|
|
556
|
+
}
|
|
557
|
+
var percentage = (0,Statistics/* normalizePercentage */.Ow)(data[legendDataPercentageKey]);
|
|
558
|
+
return (external_react_default().createElement("div", { key: 'percentage-container', className: 'percentage-container ml-1' }, percentage));
|
|
559
|
+
};
|
|
560
|
+
StatisticsLegendItem.prototype.renderOtherLabel = function (data) {
|
|
561
|
+
var _a;
|
|
562
|
+
if ((0,Text/* isStringEmpty */.Wq)(data.label)) {
|
|
563
|
+
return String((_a = data === null || data === void 0 ? void 0 : data.id) !== null && _a !== void 0 ? _a : '');
|
|
564
|
+
}
|
|
565
|
+
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
566
|
+
return data.label;
|
|
567
|
+
};
|
|
568
|
+
StatisticsLegendItem.prototype.renderLabel = function () {
|
|
569
|
+
var _a = this.props, legendDataLabelKey = _a.legendDataLabelKey, data = _a.data, otherId = _a.otherId;
|
|
570
|
+
if (data.id === otherId) {
|
|
571
|
+
return this.renderOtherLabel(data);
|
|
572
|
+
}
|
|
573
|
+
return legendDataLabelKey == null ? null : data === null || data === void 0 ? void 0 : data[legendDataLabelKey];
|
|
574
|
+
};
|
|
575
|
+
StatisticsLegendItem.prototype.render = function () {
|
|
576
|
+
var _a = this.props, columnNumber = _a.columnNumber, color = _a.color, data = _a.data;
|
|
577
|
+
var className = external_classnames_default()('legend-item px-1', {
|
|
578
|
+
'flex-basis-0': this.props.layout === 'horizontal',
|
|
579
|
+
});
|
|
580
|
+
return (external_react_default().createElement((Col_default()), { sm: 24 / columnNumber, className: className, key: "legend-item-" + data.id },
|
|
581
|
+
external_react_default().createElement(EllipsableContent.EllipsableContent, { className: 'label-container w-100 justify-content-between' },
|
|
582
|
+
external_react_default().createElement(EllipsableContent.EllipsableContent.Content, null,
|
|
583
|
+
external_react_default().createElement(react_fontawesome_.FontAwesomeIcon, { icon: faCircle_.faCircle, color: color, className: 'mr-1' }),
|
|
584
|
+
this.renderLabel()),
|
|
585
|
+
this.renderRightBlock())));
|
|
586
|
+
};
|
|
587
|
+
StatisticsLegendItem.displayName = 'StatisticsLegendItem';
|
|
588
|
+
return StatisticsLegendItem;
|
|
589
|
+
}((external_react_default()).PureComponent));
|
|
590
|
+
|
|
591
|
+
|
|
592
|
+
;// CONCATENATED MODULE: ./src/components/StatisticsLegend/StatisticsLegend.tsx
|
|
593
|
+
|
|
594
|
+
|
|
595
|
+
|
|
596
|
+
|
|
597
|
+
|
|
598
|
+
var StatisticsLegend = external_react_default().memo(function (_a) {
|
|
599
|
+
var data = _a.data, otherId = _a.otherId, colors = _a.colors, _b = _a.layout, layout = _b === void 0 ? 'vertical' : _b, _c = _a.columnNumber, columnNumber = _c === void 0 ? 2 : _c, numberToStringFormatter = _a.numberToStringFormatter, legendDataLabelKey = _a.legendDataLabelKey, legendDataValueKey = _a.legendDataValueKey, legendDataPercentageKey = _a.legendDataPercentageKey;
|
|
600
|
+
// eslint-disable-next-line react/display-name
|
|
601
|
+
function renderItem(item, i) {
|
|
602
|
+
var id = item.id, color = id === otherId ? colors === null || colors === void 0 ? void 0 : colors[colors.length - 1] : colors === null || colors === void 0 ? void 0 : colors[i];
|
|
603
|
+
return (external_react_default().createElement(StatisticsLegendItem, { data: item, numberToStringFormatter: numberToStringFormatter, legendDataValueKey: legendDataValueKey, legendDataLabelKey: legendDataLabelKey, legendDataPercentageKey: legendDataPercentageKey, color: color, otherId: otherId, key: id + color, columnNumber: columnNumber, layout: layout }));
|
|
604
|
+
}
|
|
605
|
+
function removeItemIfOtherWithNoValue(propsData) {
|
|
606
|
+
return propsData.filter(function (item) { return item.value !== 0 || item.id !== otherId; });
|
|
607
|
+
}
|
|
608
|
+
var legendData = removeItemIfOtherWithNoValue(data);
|
|
609
|
+
if (layout === 'horizontal') {
|
|
610
|
+
return external_react_default().createElement("div", { className: 'legend-container' }, legendData.map(renderItem));
|
|
611
|
+
}
|
|
612
|
+
return (external_react_default().createElement((Container_default()), { className: 'legend-container' },
|
|
613
|
+
external_react_default().createElement((Row_default()), { className: 'w-100' }, legendData.map(renderItem))));
|
|
614
|
+
});
|
|
615
|
+
StatisticsLegend.displayName = 'StatisticsLegend';
|
|
616
|
+
|
|
617
|
+
;// CONCATENATED MODULE: ./src/components/StatisticsLegend/helpers.tsx
|
|
618
|
+
|
|
619
|
+
|
|
620
|
+
var getRenderStatisticsLegend = function (_a) {
|
|
621
|
+
var legendDataLabelKey = _a.legendDataLabelKey, legendDataValueKey = _a.legendDataValueKey, legendDataPercentageKey = _a.legendDataPercentageKey, layout = _a.layout, columnsNumber = _a.columnsNumber;
|
|
622
|
+
return function (_a) {
|
|
623
|
+
var data = _a.data, otherId = _a.otherId, colors = _a.colors, numberToStringFormatter = _a.numberToStringFormatter;
|
|
624
|
+
return (external_react_default().createElement(StatisticsLegend, { layout: layout, data: data, otherId: otherId, colors: colors, columnNumber: columnsNumber, numberToStringFormatter: numberToStringFormatter, legendDataLabelKey: legendDataLabelKey, legendDataValueKey: legendDataValueKey, legendDataPercentageKey: legendDataPercentageKey }));
|
|
625
|
+
};
|
|
626
|
+
};
|
|
627
|
+
|
|
628
|
+
// EXTERNAL MODULE: ./src/components/StatisticsLegend/StatisticsSVGLegend.tsx
|
|
629
|
+
var StatisticsSVGLegend = __webpack_require__(655);
|
|
630
|
+
;// CONCATENATED MODULE: ./src/components/StatisticsLegend/index.ts
|
|
631
|
+
|
|
632
|
+
|
|
633
|
+
|
|
634
|
+
|
|
635
|
+
|
|
636
|
+
/***/ }),
|
|
637
|
+
|
|
638
|
+
/***/ 1512:
|
|
639
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
640
|
+
|
|
641
|
+
"use strict";
|
|
642
|
+
|
|
643
|
+
// EXPORTS
|
|
644
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
645
|
+
"Tooltip": () => (/* reexport */ Tooltip)
|
|
646
|
+
});
|
|
647
|
+
|
|
648
|
+
// EXTERNAL MODULE: external "react"
|
|
649
|
+
var external_react_ = __webpack_require__(8156);
|
|
650
|
+
var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_);
|
|
651
|
+
// EXTERNAL MODULE: external "classnames"
|
|
652
|
+
var external_classnames_ = __webpack_require__(8310);
|
|
653
|
+
var external_classnames_default = /*#__PURE__*/__webpack_require__.n(external_classnames_);
|
|
654
|
+
// EXTERNAL MODULE: external "react-bootstrap/OverlayTrigger"
|
|
655
|
+
var OverlayTrigger_ = __webpack_require__(6043);
|
|
656
|
+
var OverlayTrigger_default = /*#__PURE__*/__webpack_require__.n(OverlayTrigger_);
|
|
657
|
+
;// CONCATENATED MODULE: ./src/components/Tooltip/Tooltip.tsx
|
|
658
|
+
var __assign = (undefined && undefined.__assign) || function () {
|
|
659
|
+
__assign = Object.assign || function(t) {
|
|
660
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
661
|
+
s = arguments[i];
|
|
662
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
663
|
+
t[p] = s[p];
|
|
664
|
+
}
|
|
665
|
+
return t;
|
|
666
|
+
};
|
|
667
|
+
return __assign.apply(this, arguments);
|
|
668
|
+
};
|
|
669
|
+
var __rest = (undefined && undefined.__rest) || function (s, e) {
|
|
670
|
+
var t = {};
|
|
671
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
672
|
+
t[p] = s[p];
|
|
673
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
674
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
675
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
676
|
+
t[p[i]] = s[p[i]];
|
|
677
|
+
}
|
|
678
|
+
return t;
|
|
679
|
+
};
|
|
680
|
+
|
|
681
|
+
|
|
682
|
+
|
|
683
|
+
|
|
684
|
+
/**
|
|
685
|
+
* ### Overview
|
|
686
|
+
*
|
|
687
|
+
* A tooltip is a short message which is triggered when the users hovers or clicks on a specific element inside the interface.
|
|
688
|
+
*
|
|
689
|
+
* ### Best practices
|
|
690
|
+
* - Don’t use a tooltip when the information you want to place inside it is vital for the user to complete the task
|
|
691
|
+
* - The text inside the tooltip should be brief but helpful
|
|
692
|
+
* - Use tooltips to describe the action of icon-only buttons
|
|
693
|
+
* - Make sure that the tooltip’s placement doesn’t hide its related content behind it
|
|
694
|
+
*/
|
|
695
|
+
var Tooltip = external_react_default().memo(function (props) {
|
|
696
|
+
var _a;
|
|
697
|
+
var bs4v3Wrapper = document.querySelector('.bs4-v3-external-container'), placement = (_a = props.placement) !== null && _a !== void 0 ? _a : 'top', classNames = external_classnames_default()('tooltip atoka-tooltip', props.className, {
|
|
698
|
+
'top bs-tooltip-top': placement.indexOf('top') === 0,
|
|
699
|
+
'right bs-tooltip-right': placement.indexOf('right') === 0,
|
|
700
|
+
'bottom bs-tooltip-bottom': placement.indexOf('bottom') === 0,
|
|
701
|
+
'left bs-tooltip-left': placement.indexOf('left') === 0,
|
|
702
|
+
});
|
|
703
|
+
var content = props.content, overlayProps = __rest(props, ["content"]), renderTooltip = function (_a) {
|
|
704
|
+
var arrowProps = _a.arrowProps, tooltipProps = __rest(_a, ["arrowProps"]);
|
|
705
|
+
// {vrut} do not pass show to the component, this will raise an error, see PANDA-439
|
|
706
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
707
|
+
var show = tooltipProps.show, rest = __rest(tooltipProps, ["show"]), component = (external_react_default().createElement("div", __assign({}, rest, { className: classNames, role: 'tooltip' }),
|
|
708
|
+
external_react_default().createElement("div", { className: 'tooltip-inner' },
|
|
709
|
+
external_react_default().createElement("div", __assign({ className: 'arrow arrow-back' }, arrowProps)),
|
|
710
|
+
content,
|
|
711
|
+
external_react_default().createElement("div", __assign({ className: 'arrow arrow-front' }, arrowProps)))));
|
|
712
|
+
return component;
|
|
713
|
+
};
|
|
714
|
+
return (external_react_default().createElement((OverlayTrigger_default()), __assign({}, overlayProps, { container: bs4v3Wrapper, overlay: renderTooltip }), props.children));
|
|
715
|
+
});
|
|
716
|
+
Tooltip.displayName = 'Tooltip';
|
|
717
|
+
|
|
718
|
+
;// CONCATENATED MODULE: ./src/components/Tooltip/index.ts
|
|
719
|
+
|
|
720
|
+
|
|
721
|
+
|
|
722
|
+
/***/ }),
|
|
723
|
+
|
|
724
|
+
/***/ 6055:
|
|
725
|
+
/***/ (() => {
|
|
726
|
+
|
|
727
|
+
|
|
728
|
+
|
|
729
|
+
/***/ }),
|
|
730
|
+
|
|
731
|
+
/***/ 5258:
|
|
732
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
733
|
+
|
|
734
|
+
"use strict";
|
|
735
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
736
|
+
/* harmony export */ "Ow": () => (/* binding */ normalizePercentage)
|
|
737
|
+
/* harmony export */ });
|
|
738
|
+
/* unused harmony exports createDataWithOtherSlice, createCleanTree */
|
|
739
|
+
/* harmony import */ var _Utils_Utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5654);
|
|
740
|
+
var __values = (undefined && undefined.__values) || function(o) {
|
|
741
|
+
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
|
742
|
+
if (m) return m.call(o);
|
|
743
|
+
if (o && typeof o.length === "number") return {
|
|
744
|
+
next: function () {
|
|
745
|
+
if (o && i >= o.length) o = void 0;
|
|
746
|
+
return { value: o && o[i++], done: !o };
|
|
747
|
+
}
|
|
748
|
+
};
|
|
749
|
+
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
750
|
+
};
|
|
751
|
+
|
|
752
|
+
|
|
753
|
+
function createDataWithOtherSlice(data, otherId, otherLabel, maxSlicesNumber, total, dataValueKey) {
|
|
754
|
+
var _a, _b;
|
|
755
|
+
if (maxSlicesNumber === void 0) { maxSlicesNumber = 0; }
|
|
756
|
+
if (dataValueKey === void 0) { dataValueKey = 'value'; }
|
|
757
|
+
var otherValue = 0, newOtherId = otherId !== null && otherId !== void 0 ? otherId : 'other',
|
|
758
|
+
// We know it is defined but Typescript does not get it.
|
|
759
|
+
newmaxSlicesNumber = maxSlicesNumber !== null && maxSlicesNumber !== void 0 ? maxSlicesNumber : 0, newData = [], maxToMinData = data === null || data === void 0 ? void 0 : data.sort(sortObjDesc(dataValueKey));
|
|
760
|
+
maxToMinData === null || maxToMinData === void 0 ? void 0 : maxToMinData.forEach(function (node, i) {
|
|
761
|
+
var _a;
|
|
762
|
+
if (i < newmaxSlicesNumber && node.id !== otherId) {
|
|
763
|
+
newData.push(createCleanTree(node));
|
|
764
|
+
}
|
|
765
|
+
else {
|
|
766
|
+
var nodeValue = (_a = Number(node === null || node === void 0 ? void 0 : node.value)) !== null && _a !== void 0 ? _a : 0;
|
|
767
|
+
otherValue += nodeValue;
|
|
768
|
+
}
|
|
769
|
+
});
|
|
770
|
+
var otherNode = {};
|
|
771
|
+
otherNode['id'] = newOtherId;
|
|
772
|
+
otherNode['value'] = parseFloat(otherValue.toFixed(2));
|
|
773
|
+
otherNode['initialValue'] = parseFloat(otherValue.toFixed(2));
|
|
774
|
+
otherNode['label'] = (_a = otherLabel !== null && otherLabel !== void 0 ? otherLabel : newOtherId) !== null && _a !== void 0 ? _a : '';
|
|
775
|
+
if (((_b = data === null || data === void 0 ? void 0 : data[0]) === null || _b === void 0 ? void 0 : _b.percentage) != null && total != null) {
|
|
776
|
+
otherNode['percentage'] = (otherValue / total) * 100;
|
|
777
|
+
}
|
|
778
|
+
if (maxSlicesNumber !== Infinity || otherValue !== 0) {
|
|
779
|
+
newData.push(otherNode);
|
|
780
|
+
}
|
|
781
|
+
return newData;
|
|
782
|
+
}
|
|
783
|
+
function createCleanTree(node) {
|
|
784
|
+
if (node.children == null) {
|
|
785
|
+
return node;
|
|
786
|
+
}
|
|
787
|
+
var newNode = clone(node);
|
|
788
|
+
removeValueIfChildren(newNode);
|
|
789
|
+
return newNode;
|
|
790
|
+
}
|
|
791
|
+
// eslint-disable-next-line @typescript-eslint/ban-types
|
|
792
|
+
function removeValueIfChildren(node) {
|
|
793
|
+
var e_1, _a;
|
|
794
|
+
var _b;
|
|
795
|
+
var children = ((_b = node === null || node === void 0 ? void 0 : node['children']) !== null && _b !== void 0 ? _b : []);
|
|
796
|
+
node['initialValue'] = node['value'];
|
|
797
|
+
if (children.length > 0) {
|
|
798
|
+
delete node['value'];
|
|
799
|
+
}
|
|
800
|
+
try {
|
|
801
|
+
for (var children_1 = __values(children), children_1_1 = children_1.next(); !children_1_1.done; children_1_1 = children_1.next()) {
|
|
802
|
+
var child = children_1_1.value;
|
|
803
|
+
removeValueIfChildren(child);
|
|
804
|
+
}
|
|
805
|
+
}
|
|
806
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
807
|
+
finally {
|
|
808
|
+
try {
|
|
809
|
+
if (children_1_1 && !children_1_1.done && (_a = children_1.return)) _a.call(children_1);
|
|
810
|
+
}
|
|
811
|
+
finally { if (e_1) throw e_1.error; }
|
|
812
|
+
}
|
|
813
|
+
}
|
|
814
|
+
function normalizePercentage(value) {
|
|
815
|
+
var _a;
|
|
816
|
+
return parseInt((_a = value === null || value === void 0 ? void 0 : value.toFixed) === null || _a === void 0 ? void 0 : _a.call(value, 0), 10) + "%";
|
|
817
|
+
}
|
|
818
|
+
|
|
819
|
+
|
|
820
|
+
/***/ }),
|
|
821
|
+
|
|
822
|
+
/***/ 2755:
|
|
823
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
824
|
+
|
|
825
|
+
"use strict";
|
|
826
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
827
|
+
/* harmony export */ "de": () => (/* binding */ gray400)
|
|
828
|
+
/* harmony export */ });
|
|
829
|
+
/* unused harmony exports calculateDomain, generateRangeColor, white, blue25, blue30, blue50, blue80, blue90, blue95, blue100, blue300, gray200, blue400, yellow, orange, red, green, gray100, gray300, purple, viola, pink100, pink200, salmon, black */
|
|
830
|
+
|
|
831
|
+
function generateRangeColor(len, rangeColors) {
|
|
832
|
+
if (rangeColors === void 0) { rangeColors = ['#82CA9D', '#f6ea25', '#F7977A']; }
|
|
833
|
+
var generatedColors = [];
|
|
834
|
+
if (len === 0) {
|
|
835
|
+
return undefined;
|
|
836
|
+
}
|
|
837
|
+
var colors = scaleLinear(), domain = calculateDomain(rangeColors.length, rangeColors.length), targetDomain = calculateDomain(len, rangeColors.length);
|
|
838
|
+
colors = colors.domain(domain).range(rangeColors);
|
|
839
|
+
for (var i = 0; i < len; i++) {
|
|
840
|
+
generatedColors.push(colors(targetDomain[i]));
|
|
841
|
+
}
|
|
842
|
+
return generatedColors;
|
|
843
|
+
}
|
|
844
|
+
function calculateDomain(len, rangeColorsLength) {
|
|
845
|
+
var domain = [];
|
|
846
|
+
domain.push(0);
|
|
847
|
+
for (var i = 0; i < len - 2; i++) {
|
|
848
|
+
var num = Number((rangeColorsLength / len) * (i + 1));
|
|
849
|
+
domain.push(parseFloat(num.toFixed(2)));
|
|
850
|
+
}
|
|
851
|
+
domain.push(rangeColorsLength);
|
|
852
|
+
return domain;
|
|
853
|
+
}
|
|
854
|
+
// Keep these in sync with variables.less
|
|
855
|
+
var white = '#FFFFFF', blue25 = '#eef2f5', blue30 = '#CBD8E0', blue50 = '#AFD1E0', blue80 = '#8FB7CB', blue90 = '#94C2DA', blue95 = '#6E9DB5', blue100 = '#578EA8', blue300 = 'rgb(32, 88, 113)', // #205871
|
|
856
|
+
blue400 = '#11455C', gray100 = '#FAFAFA', gray200 = '#EBEBEB', gray300 = '#B0B0B0', gray400 = '#717171', yellow = '#FFBB00', orange = '#F38522', red = '#F72200', green = '#309B0A', purple = '#63619F', viola = '#965DA3', pink200 = '#C55795', pink100 = '#E85778', salmon = '#F86752', black = '#222222';
|
|
857
|
+
|
|
858
|
+
|
|
859
|
+
|
|
860
|
+
/***/ }),
|
|
861
|
+
|
|
862
|
+
/***/ 6347:
|
|
863
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
864
|
+
|
|
865
|
+
"use strict";
|
|
866
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
867
|
+
/* harmony export */ "Wq": () => (/* binding */ isStringEmpty)
|
|
868
|
+
/* harmony export */ });
|
|
869
|
+
/* unused harmony exports slugify, estimateWordSize, ellipse, matchAndFormatRangeLabel, formatRange, ellipseAndFormat, escapeRegExp, isMatching, splitTextInParts */
|
|
870
|
+
var __values = (undefined && undefined.__values) || function(o) {
|
|
871
|
+
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
|
872
|
+
if (m) return m.call(o);
|
|
873
|
+
if (o && typeof o.length === "number") return {
|
|
874
|
+
next: function () {
|
|
875
|
+
if (o && i >= o.length) o = void 0;
|
|
876
|
+
return { value: o && o[i++], done: !o };
|
|
877
|
+
}
|
|
878
|
+
};
|
|
879
|
+
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
880
|
+
};
|
|
881
|
+
var __read = (undefined && undefined.__read) || function (o, n) {
|
|
882
|
+
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
883
|
+
if (!m) return o;
|
|
884
|
+
var i = m.call(o), r, ar = [], e;
|
|
885
|
+
try {
|
|
886
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
|
887
|
+
}
|
|
888
|
+
catch (error) { e = { error: error }; }
|
|
889
|
+
finally {
|
|
890
|
+
try {
|
|
891
|
+
if (r && !r.done && (m = i["return"])) m.call(i);
|
|
892
|
+
}
|
|
893
|
+
finally { if (e) throw e.error; }
|
|
894
|
+
}
|
|
895
|
+
return ar;
|
|
896
|
+
};
|
|
897
|
+
var __spread = (undefined && undefined.__spread) || function () {
|
|
898
|
+
for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read(arguments[i]));
|
|
899
|
+
return ar;
|
|
900
|
+
};
|
|
901
|
+
function isStringEmpty(s) {
|
|
902
|
+
if (s == null) {
|
|
903
|
+
return true;
|
|
904
|
+
}
|
|
905
|
+
return s.match(/^\s*$/) !== null;
|
|
906
|
+
}
|
|
907
|
+
function slugify(text) {
|
|
908
|
+
var a = 'àáâäæãåāăąçćčđďèéêëēėęěğǵḧîïíīįìłḿñńǹňôöòóœøōõőṕŕřßśšşșťțûüùúūǘůűųẃẍÿýžźż·/_,:;', b = 'aaaaaaaaaacccddeeeeeeeegghiiiiiilmnnnnoooooooooprrsssssttuuuuuuuuuwxyyzzz------', p = new RegExp(a.split('').join('|'), 'g');
|
|
909
|
+
return text
|
|
910
|
+
.toString()
|
|
911
|
+
.toLowerCase()
|
|
912
|
+
.replace(/\s+/g, '-') // Replace spaces with -
|
|
913
|
+
.replace(p, function (c) { return b.charAt(a.indexOf(c)); }) // Replace special characters
|
|
914
|
+
.replace(/&/g, '-and-') // Replace & with 'and'
|
|
915
|
+
.replace(/[^\w-]+/g, '') // Remove all non-word characters
|
|
916
|
+
.replace(/--+/g, '-') // Replace multiple - with single -
|
|
917
|
+
.replace(/^-+/, '') // Trim - from start of text
|
|
918
|
+
.replace(/-+$/, ''); // Trim - from end of text
|
|
919
|
+
}
|
|
920
|
+
function estimateWordSize(wordLength, letterPixels, constant) {
|
|
921
|
+
return wordLength * letterPixels + constant;
|
|
922
|
+
}
|
|
923
|
+
function ellipse(input, length) {
|
|
924
|
+
if (input == null) {
|
|
925
|
+
return '';
|
|
926
|
+
}
|
|
927
|
+
return input.length > length ? input.substr(0, length - 1) + "\u2026" : input;
|
|
928
|
+
}
|
|
929
|
+
function matchAndFormatRangeLabel(formatter) {
|
|
930
|
+
return function (label) {
|
|
931
|
+
var match = /^([\d*]+)-([\d*]+)$/.exec(label);
|
|
932
|
+
if (match == null) {
|
|
933
|
+
return label;
|
|
934
|
+
}
|
|
935
|
+
return formatRange({
|
|
936
|
+
from: match[1],
|
|
937
|
+
to: match[2],
|
|
938
|
+
}, formatter !== null && formatter !== void 0 ? formatter : (function (v) { return v; }));
|
|
939
|
+
};
|
|
940
|
+
}
|
|
941
|
+
function formatRange(item, formatter) {
|
|
942
|
+
var _a, _b;
|
|
943
|
+
var to = item.to === '*' ? '*' : formatter(parseInt((_a = item.to) !== null && _a !== void 0 ? _a : '0', 10)), from = formatter(parseInt((_b = item.from) !== null && _b !== void 0 ? _b : '0', 10));
|
|
944
|
+
if (from === to) {
|
|
945
|
+
return "" + from;
|
|
946
|
+
}
|
|
947
|
+
return from + " - " + to;
|
|
948
|
+
}
|
|
949
|
+
function ellipseAndFormat(formatter, maxLabelLength) {
|
|
950
|
+
return function (value) {
|
|
951
|
+
var strValue = value.toString();
|
|
952
|
+
if (formatter == null) {
|
|
953
|
+
return ellipse(strValue, maxLabelLength);
|
|
954
|
+
}
|
|
955
|
+
return ellipse("" + formatter(strValue), maxLabelLength);
|
|
956
|
+
};
|
|
957
|
+
}
|
|
958
|
+
function escapeRegExp(input) {
|
|
959
|
+
// eslint-disable-next-line
|
|
960
|
+
return input.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, '\\$&');
|
|
961
|
+
}
|
|
962
|
+
function isMatching(text0, text1) {
|
|
963
|
+
var e_1, _a;
|
|
964
|
+
if (text0 == null || text1 == null) {
|
|
965
|
+
return false;
|
|
966
|
+
}
|
|
967
|
+
text0 = text0.toLowerCase();
|
|
968
|
+
text1 = text1.toLowerCase();
|
|
969
|
+
if (text1.match(' ') === null) {
|
|
970
|
+
return text0.match(escapeRegExp(text1)) !== null;
|
|
971
|
+
}
|
|
972
|
+
var splitNeedles = text1
|
|
973
|
+
.split(' ')
|
|
974
|
+
.filter(function (s) { return !isStringEmpty(s); })
|
|
975
|
+
.sort(function (a, b) { return b.length - a.length; });
|
|
976
|
+
try {
|
|
977
|
+
for (var splitNeedles_1 = __values(splitNeedles), splitNeedles_1_1 = splitNeedles_1.next(); !splitNeedles_1_1.done; splitNeedles_1_1 = splitNeedles_1.next()) {
|
|
978
|
+
var needle = splitNeedles_1_1.value;
|
|
979
|
+
if (text0 === needle) {
|
|
980
|
+
return true;
|
|
981
|
+
}
|
|
982
|
+
}
|
|
983
|
+
}
|
|
984
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
985
|
+
finally {
|
|
986
|
+
try {
|
|
987
|
+
if (splitNeedles_1_1 && !splitNeedles_1_1.done && (_a = splitNeedles_1.return)) _a.call(splitNeedles_1);
|
|
988
|
+
}
|
|
989
|
+
finally { if (e_1) throw e_1.error; }
|
|
990
|
+
}
|
|
991
|
+
return false;
|
|
992
|
+
}
|
|
993
|
+
function splitTextInParts(needles, text) {
|
|
994
|
+
var e_2, _a;
|
|
995
|
+
if (text == null) {
|
|
996
|
+
return [];
|
|
997
|
+
}
|
|
998
|
+
if (needles.match(' ') === null) {
|
|
999
|
+
var re = new RegExp('(' + escapeRegExp(needles) + ')', 'gi');
|
|
1000
|
+
return text.split(re);
|
|
1001
|
+
}
|
|
1002
|
+
var splitNeedles = needles
|
|
1003
|
+
.split(' ')
|
|
1004
|
+
.filter(function (s) { return !isStringEmpty(s); })
|
|
1005
|
+
.sort(function (a, b) { return b.length - a.length; }), ret = [text];
|
|
1006
|
+
try {
|
|
1007
|
+
for (var splitNeedles_2 = __values(splitNeedles), splitNeedles_2_1 = splitNeedles_2.next(); !splitNeedles_2_1.done; splitNeedles_2_1 = splitNeedles_2.next()) {
|
|
1008
|
+
var needle = splitNeedles_2_1.value;
|
|
1009
|
+
var re = new RegExp('(' + needle + ')', 'gi');
|
|
1010
|
+
for (var index = 0; index < ret.length; index++) {
|
|
1011
|
+
var currentText = ret[index];
|
|
1012
|
+
if (isMatching(currentText, escapeRegExp(needles))) {
|
|
1013
|
+
continue;
|
|
1014
|
+
}
|
|
1015
|
+
var newParts = currentText.split(re).filter(function (s) { return s !== ''; });
|
|
1016
|
+
ret.splice.apply(ret, __spread([index, 1], newParts));
|
|
1017
|
+
}
|
|
1018
|
+
}
|
|
1019
|
+
}
|
|
1020
|
+
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
1021
|
+
finally {
|
|
1022
|
+
try {
|
|
1023
|
+
if (splitNeedles_2_1 && !splitNeedles_2_1.done && (_a = splitNeedles_2.return)) _a.call(splitNeedles_2);
|
|
1024
|
+
}
|
|
1025
|
+
finally { if (e_2) throw e_2.error; }
|
|
1026
|
+
}
|
|
1027
|
+
return ret;
|
|
1028
|
+
}
|
|
1029
|
+
|
|
1030
|
+
|
|
1031
|
+
/***/ }),
|
|
1032
|
+
|
|
1033
|
+
/***/ 5654:
|
|
1034
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
1035
|
+
|
|
1036
|
+
"use strict";
|
|
1037
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1038
|
+
/* harmony export */ "z8": () => (/* binding */ findChildByComponent)
|
|
1039
|
+
/* harmony export */ });
|
|
1040
|
+
/* unused harmony exports findChildrenByComponent, hasChildIconOrCheckboxComponent, scrollToTop, zip, sortObjDesc, clone, getDebouncer, deepEqual, rgbToHex */
|
|
1041
|
+
/* harmony import */ var _fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5692);
|
|
1042
|
+
/* harmony import */ var _fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_0__);
|
|
1043
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(8156);
|
|
1044
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
|
|
1045
|
+
/* harmony import */ var _Form_Form__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9316);
|
|
1046
|
+
var __read = (undefined && undefined.__read) || function (o, n) {
|
|
1047
|
+
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
1048
|
+
if (!m) return o;
|
|
1049
|
+
var i = m.call(o), r, ar = [], e;
|
|
1050
|
+
try {
|
|
1051
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
|
1052
|
+
}
|
|
1053
|
+
catch (error) { e = { error: error }; }
|
|
1054
|
+
finally {
|
|
1055
|
+
try {
|
|
1056
|
+
if (r && !r.done && (m = i["return"])) m.call(i);
|
|
1057
|
+
}
|
|
1058
|
+
finally { if (e) throw e.error; }
|
|
1059
|
+
}
|
|
1060
|
+
return ar;
|
|
1061
|
+
};
|
|
1062
|
+
|
|
1063
|
+
|
|
1064
|
+
|
|
1065
|
+
function findChildrenByComponent(children,
|
|
1066
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
1067
|
+
component) {
|
|
1068
|
+
var ret = [];
|
|
1069
|
+
react__WEBPACK_IMPORTED_MODULE_1___default().Children.forEach(children, function (element) {
|
|
1070
|
+
if ((element === null || element === void 0 ? void 0 : element.type) === component) {
|
|
1071
|
+
ret.push(element);
|
|
1072
|
+
}
|
|
1073
|
+
});
|
|
1074
|
+
return ret;
|
|
1075
|
+
}
|
|
1076
|
+
function findChildByComponent(children,
|
|
1077
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
1078
|
+
component) {
|
|
1079
|
+
var _a, _b;
|
|
1080
|
+
return (_b = (_a = findChildrenByComponent(children, component)) === null || _a === void 0 ? void 0 : _a[0]) !== null && _b !== void 0 ? _b : null;
|
|
1081
|
+
}
|
|
1082
|
+
function hasChildIconOrCheckboxComponent(children) {
|
|
1083
|
+
var ret = false;
|
|
1084
|
+
React.Children.forEach(children, function (element) {
|
|
1085
|
+
if ((element === null || element === void 0 ? void 0 : element.type) != null &&
|
|
1086
|
+
((element === null || element === void 0 ? void 0 : element.type) === FontAwesomeIcon || (element === null || element === void 0 ? void 0 : element.type) === 'i' || (element === null || element === void 0 ? void 0 : element.type) === Form.Checkbox)) {
|
|
1087
|
+
ret = true;
|
|
1088
|
+
return;
|
|
1089
|
+
}
|
|
1090
|
+
});
|
|
1091
|
+
return ret;
|
|
1092
|
+
}
|
|
1093
|
+
function scrollToTop() {
|
|
1094
|
+
window.scrollTo(0, 0);
|
|
1095
|
+
}
|
|
1096
|
+
function zip(arr1, arr2) {
|
|
1097
|
+
var ret = [];
|
|
1098
|
+
var i = 0;
|
|
1099
|
+
while (arr1[i]) {
|
|
1100
|
+
ret.push(arr1[i]);
|
|
1101
|
+
ret.push(arr2[i++]);
|
|
1102
|
+
}
|
|
1103
|
+
return ret;
|
|
1104
|
+
}
|
|
1105
|
+
// eslint-disable-next-line @typescript-eslint/ban-types
|
|
1106
|
+
function sortObjDesc(accessor) {
|
|
1107
|
+
return function (a, b) {
|
|
1108
|
+
var leftVal = 0, rightVal = 0;
|
|
1109
|
+
if ((a === null || a === void 0 ? void 0 : a[accessor]) != null) {
|
|
1110
|
+
leftVal = a === null || a === void 0 ? void 0 : a[accessor];
|
|
1111
|
+
}
|
|
1112
|
+
if ((b === null || b === void 0 ? void 0 : b[accessor]) != null) {
|
|
1113
|
+
rightVal = b === null || b === void 0 ? void 0 : b[accessor];
|
|
1114
|
+
}
|
|
1115
|
+
return leftVal > rightVal ? -1 : 1;
|
|
1116
|
+
};
|
|
1117
|
+
}
|
|
1118
|
+
function clone(ob) {
|
|
1119
|
+
return JSON.parse(JSON.stringify(ob));
|
|
1120
|
+
}
|
|
1121
|
+
function getDebouncer(delay) {
|
|
1122
|
+
if (delay === void 0) { delay = 1; }
|
|
1123
|
+
var debounceTimeout = null;
|
|
1124
|
+
return function debounce(f) {
|
|
1125
|
+
if (debounceTimeout !== null) {
|
|
1126
|
+
clearTimeout(debounceTimeout);
|
|
1127
|
+
}
|
|
1128
|
+
debounceTimeout = window.setTimeout(f, delay);
|
|
1129
|
+
};
|
|
1130
|
+
}
|
|
1131
|
+
function isObject(obj) {
|
|
1132
|
+
return typeof obj === 'object' && obj != null;
|
|
1133
|
+
}
|
|
1134
|
+
function deepEqual(obj1, obj2) {
|
|
1135
|
+
if (obj1 === obj2) {
|
|
1136
|
+
return true;
|
|
1137
|
+
}
|
|
1138
|
+
if (isObject(obj1) && isObject(obj2)) {
|
|
1139
|
+
if (Object.keys(obj1).length !== Object.keys(obj2).length) {
|
|
1140
|
+
return false;
|
|
1141
|
+
}
|
|
1142
|
+
for (var prop in obj1) {
|
|
1143
|
+
if (!deepEqual(obj1[prop], obj2[prop])) {
|
|
1144
|
+
return false;
|
|
1145
|
+
}
|
|
1146
|
+
}
|
|
1147
|
+
return true;
|
|
1148
|
+
}
|
|
1149
|
+
return false;
|
|
1150
|
+
}
|
|
1151
|
+
function componentToHex(c) {
|
|
1152
|
+
if (isNaN(c)) {
|
|
1153
|
+
throw Error('The color has not been written correctly');
|
|
1154
|
+
}
|
|
1155
|
+
var hex = c.toString(16).toUpperCase();
|
|
1156
|
+
return hex.length === 1 ? '0' + hex : hex;
|
|
1157
|
+
}
|
|
1158
|
+
function cleanSingleColor(c) {
|
|
1159
|
+
return c.replace(/"|'/g, '').trim();
|
|
1160
|
+
}
|
|
1161
|
+
function rgbToHex(rgb) {
|
|
1162
|
+
if (rgb.includes('rgba')) {
|
|
1163
|
+
throw Error('not implemented');
|
|
1164
|
+
}
|
|
1165
|
+
var _a = __read(rgb
|
|
1166
|
+
.replace('rgb', '')
|
|
1167
|
+
.replace(/\(|\)/gi, '')
|
|
1168
|
+
.split(',')
|
|
1169
|
+
.map(function (c) { return parseInt(cleanSingleColor(c), 10); }), 3), _b = _a[0], r = _b === void 0 ? 0 : _b, _c = _a[1], g = _c === void 0 ? 0 : _c, _d = _a[2], b = _d === void 0 ? 0 : _d;
|
|
1170
|
+
return '#' + componentToHex(r) + componentToHex(g) + componentToHex(b);
|
|
1171
|
+
}
|
|
1172
|
+
|
|
1173
|
+
|
|
1174
|
+
/***/ }),
|
|
1175
|
+
|
|
1176
|
+
/***/ 6627:
|
|
1177
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
1178
|
+
|
|
1179
|
+
"use strict";
|
|
1180
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1181
|
+
/* harmony export */ "ZP": () => (/* binding */ autobind)
|
|
1182
|
+
/* harmony export */ });
|
|
1183
|
+
/* unused harmony exports boundMethod, boundClass */
|
|
1184
|
+
/* harmony import */ var _babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4329);
|
|
1185
|
+
|
|
1186
|
+
|
|
1187
|
+
function _typeof(obj) {
|
|
1188
|
+
if (typeof Symbol === "function" && (0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(Symbol.iterator) === "symbol") {
|
|
1189
|
+
_typeof = function _typeof(obj) {
|
|
1190
|
+
return (0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(obj);
|
|
1191
|
+
};
|
|
1192
|
+
} else {
|
|
1193
|
+
_typeof = function _typeof(obj) {
|
|
1194
|
+
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : (0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(obj);
|
|
1195
|
+
};
|
|
1196
|
+
}
|
|
1197
|
+
|
|
1198
|
+
return _typeof(obj);
|
|
1199
|
+
}
|
|
1200
|
+
/**
|
|
1201
|
+
* Return a descriptor removing the value and returning a getter
|
|
1202
|
+
* The getter will return a .bind version of the function
|
|
1203
|
+
* and memoize the result against a symbol on the instance
|
|
1204
|
+
*/
|
|
1205
|
+
|
|
1206
|
+
|
|
1207
|
+
function boundMethod(target, key, descriptor) {
|
|
1208
|
+
var fn = descriptor.value;
|
|
1209
|
+
|
|
1210
|
+
if (typeof fn !== 'function') {
|
|
1211
|
+
throw new TypeError("@boundMethod decorator can only be applied to methods not: ".concat(_typeof(fn)));
|
|
1212
|
+
} // In IE11 calling Object.defineProperty has a side-effect of evaluating the
|
|
1213
|
+
// getter for the property which is being replaced. This causes infinite
|
|
1214
|
+
// recursion and an "Out of stack space" error.
|
|
1215
|
+
|
|
1216
|
+
|
|
1217
|
+
var definingProperty = false;
|
|
1218
|
+
return {
|
|
1219
|
+
configurable: true,
|
|
1220
|
+
get: function get() {
|
|
1221
|
+
// eslint-disable-next-line no-prototype-builtins
|
|
1222
|
+
if (definingProperty || this === target.prototype || this.hasOwnProperty(key) || typeof fn !== 'function') {
|
|
1223
|
+
return fn;
|
|
1224
|
+
}
|
|
1225
|
+
|
|
1226
|
+
var boundFn = fn.bind(this);
|
|
1227
|
+
definingProperty = true;
|
|
1228
|
+
Object.defineProperty(this, key, {
|
|
1229
|
+
configurable: true,
|
|
1230
|
+
get: function get() {
|
|
1231
|
+
return boundFn;
|
|
1232
|
+
},
|
|
1233
|
+
set: function set(value) {
|
|
1234
|
+
fn = value;
|
|
1235
|
+
delete this[key];
|
|
1236
|
+
}
|
|
1237
|
+
});
|
|
1238
|
+
definingProperty = false;
|
|
1239
|
+
return boundFn;
|
|
1240
|
+
},
|
|
1241
|
+
set: function set(value) {
|
|
1242
|
+
fn = value;
|
|
1243
|
+
}
|
|
1244
|
+
};
|
|
1245
|
+
}
|
|
1246
|
+
/**
|
|
1247
|
+
* Use boundMethod to bind all methods on the target.prototype
|
|
1248
|
+
*/
|
|
1249
|
+
|
|
1250
|
+
function boundClass(target) {
|
|
1251
|
+
// (Using reflect to get all keys including symbols)
|
|
1252
|
+
var keys; // Use Reflect if exists
|
|
1253
|
+
|
|
1254
|
+
if (typeof Reflect !== 'undefined' && typeof Reflect.ownKeys === 'function') {
|
|
1255
|
+
keys = Reflect.ownKeys(target.prototype);
|
|
1256
|
+
} else {
|
|
1257
|
+
keys = Object.getOwnPropertyNames(target.prototype); // Use symbols if support is provided
|
|
1258
|
+
|
|
1259
|
+
if (typeof Object.getOwnPropertySymbols === 'function') {
|
|
1260
|
+
keys = keys.concat(Object.getOwnPropertySymbols(target.prototype));
|
|
1261
|
+
}
|
|
1262
|
+
}
|
|
1263
|
+
|
|
1264
|
+
keys.forEach(function (key) {
|
|
1265
|
+
// Ignore special case target method
|
|
1266
|
+
if (key === 'constructor') {
|
|
1267
|
+
return;
|
|
1268
|
+
}
|
|
1269
|
+
|
|
1270
|
+
var descriptor = Object.getOwnPropertyDescriptor(target.prototype, key); // Only methods need binding
|
|
1271
|
+
|
|
1272
|
+
if (typeof descriptor.value === 'function') {
|
|
1273
|
+
Object.defineProperty(target.prototype, key, boundMethod(target, key, descriptor));
|
|
1274
|
+
}
|
|
1275
|
+
});
|
|
1276
|
+
return target;
|
|
1277
|
+
}
|
|
1278
|
+
function autobind() {
|
|
1279
|
+
if (arguments.length === 1) {
|
|
1280
|
+
return boundClass.apply(void 0, arguments);
|
|
1281
|
+
}
|
|
1282
|
+
|
|
1283
|
+
return boundMethod.apply(void 0, arguments);
|
|
1284
|
+
}
|
|
1285
|
+
|
|
1286
|
+
/***/ }),
|
|
1287
|
+
|
|
1288
|
+
/***/ 1326:
|
|
1289
|
+
/***/ ((module) => {
|
|
1290
|
+
|
|
1291
|
+
"use strict";
|
|
1292
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__1326__;
|
|
1293
|
+
|
|
1294
|
+
/***/ }),
|
|
1295
|
+
|
|
1296
|
+
/***/ 5692:
|
|
1297
|
+
/***/ ((module) => {
|
|
1298
|
+
|
|
1299
|
+
"use strict";
|
|
1300
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__5692__;
|
|
1301
|
+
|
|
1302
|
+
/***/ }),
|
|
1303
|
+
|
|
1304
|
+
/***/ 8310:
|
|
1305
|
+
/***/ ((module) => {
|
|
1306
|
+
|
|
1307
|
+
"use strict";
|
|
1308
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__8310__;
|
|
1309
|
+
|
|
1310
|
+
/***/ }),
|
|
1311
|
+
|
|
1312
|
+
/***/ 8156:
|
|
1313
|
+
/***/ ((module) => {
|
|
1314
|
+
|
|
1315
|
+
"use strict";
|
|
1316
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__8156__;
|
|
1317
|
+
|
|
1318
|
+
/***/ }),
|
|
1319
|
+
|
|
1320
|
+
/***/ 5315:
|
|
1321
|
+
/***/ ((module) => {
|
|
1322
|
+
|
|
1323
|
+
"use strict";
|
|
1324
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__5315__;
|
|
1325
|
+
|
|
1326
|
+
/***/ }),
|
|
1327
|
+
|
|
1328
|
+
/***/ 4394:
|
|
1329
|
+
/***/ ((module) => {
|
|
1330
|
+
|
|
1331
|
+
"use strict";
|
|
1332
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__4394__;
|
|
1333
|
+
|
|
1334
|
+
/***/ }),
|
|
1335
|
+
|
|
1336
|
+
/***/ 8721:
|
|
1337
|
+
/***/ ((module) => {
|
|
1338
|
+
|
|
1339
|
+
"use strict";
|
|
1340
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__8721__;
|
|
1341
|
+
|
|
1342
|
+
/***/ }),
|
|
1343
|
+
|
|
1344
|
+
/***/ 1082:
|
|
1345
|
+
/***/ ((module) => {
|
|
1346
|
+
|
|
1347
|
+
"use strict";
|
|
1348
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__1082__;
|
|
1349
|
+
|
|
1350
|
+
/***/ }),
|
|
1351
|
+
|
|
1352
|
+
/***/ 8763:
|
|
1353
|
+
/***/ ((module) => {
|
|
1354
|
+
|
|
1355
|
+
"use strict";
|
|
1356
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__8763__;
|
|
1357
|
+
|
|
1358
|
+
/***/ }),
|
|
1359
|
+
|
|
1360
|
+
/***/ 6043:
|
|
1361
|
+
/***/ ((module) => {
|
|
1362
|
+
|
|
1363
|
+
"use strict";
|
|
1364
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__6043__;
|
|
1365
|
+
|
|
1366
|
+
/***/ }),
|
|
1367
|
+
|
|
1368
|
+
/***/ 3915:
|
|
1369
|
+
/***/ ((module) => {
|
|
1370
|
+
|
|
1371
|
+
"use strict";
|
|
1372
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__3915__;
|
|
1373
|
+
|
|
1374
|
+
/***/ }),
|
|
1375
|
+
|
|
1376
|
+
/***/ 4329:
|
|
1377
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
1378
|
+
|
|
1379
|
+
"use strict";
|
|
1380
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1381
|
+
/* harmony export */ "Z": () => (/* binding */ _typeof)
|
|
1382
|
+
/* harmony export */ });
|
|
1383
|
+
function _typeof(obj) {
|
|
1384
|
+
"@babel/helpers - typeof";
|
|
1385
|
+
|
|
1386
|
+
if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
|
|
1387
|
+
_typeof = function _typeof(obj) {
|
|
1388
|
+
return typeof obj;
|
|
1389
|
+
};
|
|
1390
|
+
} else {
|
|
1391
|
+
_typeof = function _typeof(obj) {
|
|
1392
|
+
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
1393
|
+
};
|
|
1394
|
+
}
|
|
1395
|
+
|
|
1396
|
+
return _typeof(obj);
|
|
1397
|
+
}
|
|
1398
|
+
|
|
1399
|
+
/***/ })
|
|
1400
|
+
|
|
1401
|
+
/******/ });
|
|
1402
|
+
/************************************************************************/
|
|
1403
|
+
/******/ // The module cache
|
|
1404
|
+
/******/ var __webpack_module_cache__ = {};
|
|
1405
|
+
/******/
|
|
1406
|
+
/******/ // The require function
|
|
1407
|
+
/******/ function __webpack_require__(moduleId) {
|
|
1408
|
+
/******/ // Check if module is in cache
|
|
1409
|
+
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
|
1410
|
+
/******/ if (cachedModule !== undefined) {
|
|
1411
|
+
/******/ return cachedModule.exports;
|
|
1412
|
+
/******/ }
|
|
1413
|
+
/******/ // Create a new module (and put it into the cache)
|
|
1414
|
+
/******/ var module = __webpack_module_cache__[moduleId] = {
|
|
1415
|
+
/******/ // no module.id needed
|
|
1416
|
+
/******/ // no module.loaded needed
|
|
1417
|
+
/******/ exports: {}
|
|
1418
|
+
/******/ };
|
|
1419
|
+
/******/
|
|
1420
|
+
/******/ // Execute the module function
|
|
1421
|
+
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
|
1422
|
+
/******/
|
|
1423
|
+
/******/ // Return the exports of the module
|
|
1424
|
+
/******/ return module.exports;
|
|
1425
|
+
/******/ }
|
|
1426
|
+
/******/
|
|
1427
|
+
/******/ // expose the modules object (__webpack_modules__)
|
|
1428
|
+
/******/ __webpack_require__.m = __webpack_modules__;
|
|
1429
|
+
/******/
|
|
1430
|
+
/************************************************************************/
|
|
1431
|
+
/******/ /* webpack/runtime/chunk loaded */
|
|
1432
|
+
/******/ (() => {
|
|
1433
|
+
/******/ var deferred = [];
|
|
1434
|
+
/******/ __webpack_require__.O = (result, chunkIds, fn, priority) => {
|
|
1435
|
+
/******/ if(chunkIds) {
|
|
1436
|
+
/******/ priority = priority || 0;
|
|
1437
|
+
/******/ for(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];
|
|
1438
|
+
/******/ deferred[i] = [chunkIds, fn, priority];
|
|
1439
|
+
/******/ return;
|
|
1440
|
+
/******/ }
|
|
1441
|
+
/******/ var notFulfilled = Infinity;
|
|
1442
|
+
/******/ for (var i = 0; i < deferred.length; i++) {
|
|
1443
|
+
/******/ var [chunkIds, fn, priority] = deferred[i];
|
|
1444
|
+
/******/ var fulfilled = true;
|
|
1445
|
+
/******/ for (var j = 0; j < chunkIds.length; j++) {
|
|
1446
|
+
/******/ if ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {
|
|
1447
|
+
/******/ chunkIds.splice(j--, 1);
|
|
1448
|
+
/******/ } else {
|
|
1449
|
+
/******/ fulfilled = false;
|
|
1450
|
+
/******/ if(priority < notFulfilled) notFulfilled = priority;
|
|
1451
|
+
/******/ }
|
|
1452
|
+
/******/ }
|
|
1453
|
+
/******/ if(fulfilled) {
|
|
1454
|
+
/******/ deferred.splice(i--, 1)
|
|
1455
|
+
/******/ var r = fn();
|
|
1456
|
+
/******/ if (r !== undefined) result = r;
|
|
1457
|
+
/******/ }
|
|
1458
|
+
/******/ }
|
|
1459
|
+
/******/ return result;
|
|
1460
|
+
/******/ };
|
|
1461
|
+
/******/ })();
|
|
1462
|
+
/******/
|
|
1463
|
+
/******/ /* webpack/runtime/compat get default export */
|
|
1464
|
+
/******/ (() => {
|
|
1465
|
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
1466
|
+
/******/ __webpack_require__.n = (module) => {
|
|
1467
|
+
/******/ var getter = module && module.__esModule ?
|
|
1468
|
+
/******/ () => (module['default']) :
|
|
1469
|
+
/******/ () => (module);
|
|
1470
|
+
/******/ __webpack_require__.d(getter, { a: getter });
|
|
1471
|
+
/******/ return getter;
|
|
1472
|
+
/******/ };
|
|
1473
|
+
/******/ })();
|
|
1474
|
+
/******/
|
|
1475
|
+
/******/ /* webpack/runtime/define property getters */
|
|
1476
|
+
/******/ (() => {
|
|
1477
|
+
/******/ // define getter functions for harmony exports
|
|
1478
|
+
/******/ __webpack_require__.d = (exports, definition) => {
|
|
1479
|
+
/******/ for(var key in definition) {
|
|
1480
|
+
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
1481
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
1482
|
+
/******/ }
|
|
1483
|
+
/******/ }
|
|
1484
|
+
/******/ };
|
|
1485
|
+
/******/ })();
|
|
1486
|
+
/******/
|
|
1487
|
+
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
1488
|
+
/******/ (() => {
|
|
1489
|
+
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
|
1490
|
+
/******/ })();
|
|
1491
|
+
/******/
|
|
1492
|
+
/******/ /* webpack/runtime/make namespace object */
|
|
1493
|
+
/******/ (() => {
|
|
1494
|
+
/******/ // define __esModule on exports
|
|
1495
|
+
/******/ __webpack_require__.r = (exports) => {
|
|
1496
|
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
1497
|
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
1498
|
+
/******/ }
|
|
1499
|
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
1500
|
+
/******/ };
|
|
1501
|
+
/******/ })();
|
|
1502
|
+
/******/
|
|
1503
|
+
/******/ /* webpack/runtime/jsonp chunk loading */
|
|
1504
|
+
/******/ (() => {
|
|
1505
|
+
/******/ // no baseURI
|
|
1506
|
+
/******/
|
|
1507
|
+
/******/ // object to store loaded and loading chunks
|
|
1508
|
+
/******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched
|
|
1509
|
+
/******/ // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded
|
|
1510
|
+
/******/ var installedChunks = {
|
|
1511
|
+
/******/ 1338: 0,
|
|
1512
|
+
/******/ 3099: 0,
|
|
1513
|
+
/******/ 2823: 0,
|
|
1514
|
+
/******/ 1981: 0
|
|
1515
|
+
/******/ };
|
|
1516
|
+
/******/
|
|
1517
|
+
/******/ // no chunk on demand loading
|
|
1518
|
+
/******/
|
|
1519
|
+
/******/ // no prefetching
|
|
1520
|
+
/******/
|
|
1521
|
+
/******/ // no preloaded
|
|
1522
|
+
/******/
|
|
1523
|
+
/******/ // no HMR
|
|
1524
|
+
/******/
|
|
1525
|
+
/******/ // no HMR manifest
|
|
1526
|
+
/******/
|
|
1527
|
+
/******/ __webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);
|
|
1528
|
+
/******/
|
|
1529
|
+
/******/ // install a JSONP callback for chunk loading
|
|
1530
|
+
/******/ var webpackJsonpCallback = (parentChunkLoadingFunction, data) => {
|
|
1531
|
+
/******/ var [chunkIds, moreModules, runtime] = data;
|
|
1532
|
+
/******/ // add "moreModules" to the modules object,
|
|
1533
|
+
/******/ // then flag all "chunkIds" as loaded and fire callback
|
|
1534
|
+
/******/ var moduleId, chunkId, i = 0;
|
|
1535
|
+
/******/ if(chunkIds.some((id) => (installedChunks[id] !== 0))) {
|
|
1536
|
+
/******/ for(moduleId in moreModules) {
|
|
1537
|
+
/******/ if(__webpack_require__.o(moreModules, moduleId)) {
|
|
1538
|
+
/******/ __webpack_require__.m[moduleId] = moreModules[moduleId];
|
|
1539
|
+
/******/ }
|
|
1540
|
+
/******/ }
|
|
1541
|
+
/******/ if(runtime) var result = runtime(__webpack_require__);
|
|
1542
|
+
/******/ }
|
|
1543
|
+
/******/ if(parentChunkLoadingFunction) parentChunkLoadingFunction(data);
|
|
1544
|
+
/******/ for(;i < chunkIds.length; i++) {
|
|
1545
|
+
/******/ chunkId = chunkIds[i];
|
|
1546
|
+
/******/ if(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {
|
|
1547
|
+
/******/ installedChunks[chunkId][0]();
|
|
1548
|
+
/******/ }
|
|
1549
|
+
/******/ installedChunks[chunkIds[i]] = 0;
|
|
1550
|
+
/******/ }
|
|
1551
|
+
/******/ return __webpack_require__.O(result);
|
|
1552
|
+
/******/ }
|
|
1553
|
+
/******/
|
|
1554
|
+
/******/ var chunkLoadingGlobal = self["webpackChunkatoka_design_system"] = self["webpackChunkatoka_design_system"] || [];
|
|
1555
|
+
/******/ chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));
|
|
1556
|
+
/******/ chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));
|
|
1557
|
+
/******/ })();
|
|
1558
|
+
/******/
|
|
1559
|
+
/************************************************************************/
|
|
1560
|
+
/******/
|
|
1561
|
+
/******/ // startup
|
|
1562
|
+
/******/ // Load entry module and return exports
|
|
1563
|
+
/******/ // This entry module depends on other loaded chunks and execution need to be delayed
|
|
1564
|
+
/******/ var __webpack_exports__ = __webpack_require__.O(undefined, [1981], () => (__webpack_require__(8010)))
|
|
1565
|
+
/******/ __webpack_exports__ = __webpack_require__.O(__webpack_exports__);
|
|
1566
|
+
/******/
|
|
1567
|
+
/******/ return __webpack_exports__;
|
|
1568
|
+
/******/ })()
|
|
1569
|
+
;
|
|
1570
|
+
});
|
|
1571
|
+
//# sourceMappingURL=index.js.map
|