@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,723 @@
|
|
|
1
|
+
(function webpackUniversalModuleDefinition(root, factory) {
|
|
2
|
+
if(typeof exports === 'object' && typeof module === 'object')
|
|
3
|
+
module.exports = factory(require("@fortawesome/pro-regular-svg-icons/faChevronDown"), require("@fortawesome/pro-regular-svg-icons/faEllipsisH"), require("@fortawesome/react-fontawesome"), require("classnames"), require("react"), require("react-bootstrap/Button"), require("react-bootstrap/Dropdown"));
|
|
4
|
+
else if(typeof define === 'function' && define.amd)
|
|
5
|
+
define("atoka-design-system", ["@fortawesome/pro-regular-svg-icons/faChevronDown", "@fortawesome/pro-regular-svg-icons/faEllipsisH", "@fortawesome/react-fontawesome", "classnames", "react", "react-bootstrap/Button", "react-bootstrap/Dropdown"], factory);
|
|
6
|
+
else if(typeof exports === 'object')
|
|
7
|
+
exports["atoka-design-system"] = factory(require("@fortawesome/pro-regular-svg-icons/faChevronDown"), require("@fortawesome/pro-regular-svg-icons/faEllipsisH"), require("@fortawesome/react-fontawesome"), require("classnames"), require("react"), require("react-bootstrap/Button"), require("react-bootstrap/Dropdown"));
|
|
8
|
+
else
|
|
9
|
+
root["atoka-design-system"] = factory(root["@fortawesome/pro-regular-svg-icons/faChevronDown"], root["@fortawesome/pro-regular-svg-icons/faEllipsisH"], root["@fortawesome/react-fontawesome"], root["classnames"], root["react"], root["react-bootstrap/Button"], root["react-bootstrap/Dropdown"]);
|
|
10
|
+
})(self, function(__WEBPACK_EXTERNAL_MODULE__1349__, __WEBPACK_EXTERNAL_MODULE__3041__, __WEBPACK_EXTERNAL_MODULE__5692__, __WEBPACK_EXTERNAL_MODULE__8310__, __WEBPACK_EXTERNAL_MODULE__8156__, __WEBPACK_EXTERNAL_MODULE__8926__, __WEBPACK_EXTERNAL_MODULE__4976__) {
|
|
11
|
+
return /******/ (() => { // webpackBootstrap
|
|
12
|
+
/******/ "use strict";
|
|
13
|
+
/******/ var __webpack_modules__ = ({
|
|
14
|
+
|
|
15
|
+
/***/ 1710:
|
|
16
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
17
|
+
|
|
18
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
19
|
+
/* harmony export */ "z": () => (/* binding */ Button)
|
|
20
|
+
/* harmony export */ });
|
|
21
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8156);
|
|
22
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
23
|
+
/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(8310);
|
|
24
|
+
/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);
|
|
25
|
+
/* harmony import */ var react_bootstrap_Button__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(8926);
|
|
26
|
+
/* harmony import */ var react_bootstrap_Button__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react_bootstrap_Button__WEBPACK_IMPORTED_MODULE_2__);
|
|
27
|
+
/* harmony import */ var _fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(5692);
|
|
28
|
+
/* harmony import */ var _fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_3__);
|
|
29
|
+
var __extends = (undefined && undefined.__extends) || (function () {
|
|
30
|
+
var extendStatics = function (d, b) {
|
|
31
|
+
extendStatics = Object.setPrototypeOf ||
|
|
32
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
33
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
34
|
+
return extendStatics(d, b);
|
|
35
|
+
};
|
|
36
|
+
return function (d, b) {
|
|
37
|
+
extendStatics(d, b);
|
|
38
|
+
function __() { this.constructor = d; }
|
|
39
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
40
|
+
};
|
|
41
|
+
})();
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
var Button = /** @class */ (function (_super) {
|
|
48
|
+
__extends(Button, _super);
|
|
49
|
+
function Button() {
|
|
50
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
51
|
+
}
|
|
52
|
+
Button.prototype.renderIcon = function () {
|
|
53
|
+
if (this.props.icon == null) {
|
|
54
|
+
return null;
|
|
55
|
+
}
|
|
56
|
+
return react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_3__.FontAwesomeIcon, { icon: this.props.icon });
|
|
57
|
+
};
|
|
58
|
+
Button.prototype.renderChildren = function () {
|
|
59
|
+
if (this.props.children == null) {
|
|
60
|
+
return null;
|
|
61
|
+
}
|
|
62
|
+
return react__WEBPACK_IMPORTED_MODULE_0___default().createElement("span", { className: 'btn-children' }, this.props.children);
|
|
63
|
+
};
|
|
64
|
+
Button.prototype.renderLeftSide = function () {
|
|
65
|
+
if (this.props.iconLeft == null) {
|
|
66
|
+
if (this.props.iconRight == null) {
|
|
67
|
+
return null;
|
|
68
|
+
}
|
|
69
|
+
return react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_3__.FontAwesomeIcon, { icon: this.props.iconRight, className: 'invisible' });
|
|
70
|
+
}
|
|
71
|
+
return react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_3__.FontAwesomeIcon, { icon: this.props.iconLeft });
|
|
72
|
+
};
|
|
73
|
+
Button.prototype.renderRightSide = function () {
|
|
74
|
+
if (this.props.iconRight == null) {
|
|
75
|
+
if (this.props.iconLeft == null) {
|
|
76
|
+
return null;
|
|
77
|
+
}
|
|
78
|
+
return react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_3__.FontAwesomeIcon, { icon: this.props.iconLeft, className: 'invisible' });
|
|
79
|
+
}
|
|
80
|
+
return react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_3__.FontAwesomeIcon, { icon: this.props.iconRight });
|
|
81
|
+
};
|
|
82
|
+
Button.prototype.renderContent = function () {
|
|
83
|
+
if (this.props.icon != null && this.props.children == null) {
|
|
84
|
+
return this.renderIcon();
|
|
85
|
+
}
|
|
86
|
+
return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", { className: 'button-content-center-container' },
|
|
87
|
+
this.renderIcon(),
|
|
88
|
+
this.renderChildren()));
|
|
89
|
+
};
|
|
90
|
+
Button.prototype.render = function () {
|
|
91
|
+
var className = classnames__WEBPACK_IMPORTED_MODULE_1___default()('atoka-btn', "btn-" + this.props.size, this.props.className, {
|
|
92
|
+
'btn-icon-only': this.props.icon != null && this.props.children == null,
|
|
93
|
+
});
|
|
94
|
+
return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement((react_bootstrap_Button__WEBPACK_IMPORTED_MODULE_2___default()), { className: className, variant: this.props.variant, disabled: this.props.disabled, block: this.props.block, onClick: this.props.onClick, href: this.props.href, target: this.props.target },
|
|
95
|
+
this.renderLeftSide(),
|
|
96
|
+
this.renderContent(),
|
|
97
|
+
this.renderRightSide()));
|
|
98
|
+
};
|
|
99
|
+
Button.displayName = 'Button';
|
|
100
|
+
Button.defaultProps = {
|
|
101
|
+
variant: 'primary',
|
|
102
|
+
size: 'md',
|
|
103
|
+
disabled: false,
|
|
104
|
+
block: false,
|
|
105
|
+
};
|
|
106
|
+
return Button;
|
|
107
|
+
}((react__WEBPACK_IMPORTED_MODULE_0___default().PureComponent)));
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
/***/ }),
|
|
112
|
+
|
|
113
|
+
/***/ 125:
|
|
114
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
115
|
+
|
|
116
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
117
|
+
/* harmony export */ "Button": () => (/* reexport safe */ _Button__WEBPACK_IMPORTED_MODULE_0__.z)
|
|
118
|
+
/* harmony export */ });
|
|
119
|
+
/* harmony import */ var _Button__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1710);
|
|
120
|
+
// use the star because of this issue: https://github.com/babel/babel-loader/issues/603
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
/***/ }),
|
|
125
|
+
|
|
126
|
+
/***/ 7180:
|
|
127
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
128
|
+
|
|
129
|
+
// ESM COMPAT FLAG
|
|
130
|
+
__webpack_require__.r(__webpack_exports__);
|
|
131
|
+
|
|
132
|
+
// EXPORTS
|
|
133
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
134
|
+
"AtokaCustomDropdownToggle": () => (/* reexport */ AtokaCustomDropdownToggle),
|
|
135
|
+
"AtokaCustomDropdownToggleWithChevron": () => (/* reexport */ AtokaCustomDropdownToggleWithChevron),
|
|
136
|
+
"AtokaSimpleDropdownToggle": () => (/* reexport */ AtokaSimpleDropdownToggle),
|
|
137
|
+
"Dropdown": () => (/* reexport */ Dropdown),
|
|
138
|
+
"DropdownMenu": () => (/* reexport */ DropdownMenu)
|
|
139
|
+
});
|
|
140
|
+
|
|
141
|
+
// EXTERNAL MODULE: external "react"
|
|
142
|
+
var external_react_ = __webpack_require__(8156);
|
|
143
|
+
var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_);
|
|
144
|
+
// EXTERNAL MODULE: external "classnames"
|
|
145
|
+
var external_classnames_ = __webpack_require__(8310);
|
|
146
|
+
var external_classnames_default = /*#__PURE__*/__webpack_require__.n(external_classnames_);
|
|
147
|
+
// EXTERNAL MODULE: external "react-bootstrap/Dropdown"
|
|
148
|
+
var Dropdown_ = __webpack_require__(4976);
|
|
149
|
+
var Dropdown_default = /*#__PURE__*/__webpack_require__.n(Dropdown_);
|
|
150
|
+
;// CONCATENATED MODULE: ./src/components/Dropdown/DropdownMenu.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
|
+
var __rest = (undefined && undefined.__rest) || function (s, e) {
|
|
163
|
+
var t = {};
|
|
164
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
165
|
+
t[p] = s[p];
|
|
166
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
167
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
168
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
169
|
+
t[p[i]] = s[p[i]];
|
|
170
|
+
}
|
|
171
|
+
return t;
|
|
172
|
+
};
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
var DropdownMenu = external_react_default().memo(function (_a) {
|
|
178
|
+
var _b;
|
|
179
|
+
var _c;
|
|
180
|
+
var _d = _a.size, size = _d === void 0 ? 'sm' : _d, props = __rest(_a, ["size"]);
|
|
181
|
+
var className = external_classnames_default()((_b = {},
|
|
182
|
+
_b[(_c = props === null || props === void 0 ? void 0 : props.className) !== null && _c !== void 0 ? _c : ''] = true,
|
|
183
|
+
_b['atoka-dropdown-menu'] = true,
|
|
184
|
+
_b[size] = true,
|
|
185
|
+
_b));
|
|
186
|
+
return (external_react_default().createElement((Dropdown_default()).Menu, __assign({}, props, { className: className }), props.children));
|
|
187
|
+
});
|
|
188
|
+
DropdownMenu.displayName = 'DropdownMenu';
|
|
189
|
+
|
|
190
|
+
;// CONCATENATED MODULE: ./src/components/Dropdown/Dropdown.tsx
|
|
191
|
+
var __extends = (undefined && undefined.__extends) || (function () {
|
|
192
|
+
var extendStatics = function (d, b) {
|
|
193
|
+
extendStatics = Object.setPrototypeOf ||
|
|
194
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
195
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
196
|
+
return extendStatics(d, b);
|
|
197
|
+
};
|
|
198
|
+
return function (d, b) {
|
|
199
|
+
extendStatics(d, b);
|
|
200
|
+
function __() { this.constructor = d; }
|
|
201
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
202
|
+
};
|
|
203
|
+
})();
|
|
204
|
+
var Dropdown_assign = (undefined && undefined.__assign) || function () {
|
|
205
|
+
Dropdown_assign = Object.assign || function(t) {
|
|
206
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
207
|
+
s = arguments[i];
|
|
208
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
209
|
+
t[p] = s[p];
|
|
210
|
+
}
|
|
211
|
+
return t;
|
|
212
|
+
};
|
|
213
|
+
return Dropdown_assign.apply(this, arguments);
|
|
214
|
+
};
|
|
215
|
+
|
|
216
|
+
|
|
217
|
+
|
|
218
|
+
|
|
219
|
+
var Dropdown = /** @class */ (function (_super) {
|
|
220
|
+
__extends(Dropdown, _super);
|
|
221
|
+
function Dropdown() {
|
|
222
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
223
|
+
}
|
|
224
|
+
Dropdown.prototype.render = function () {
|
|
225
|
+
var className = external_classnames_default()(this.props.className, 'atoka-dropdown');
|
|
226
|
+
return (external_react_default().createElement((Dropdown_default()), Dropdown_assign({}, this.props, { className: className }), this.props.children));
|
|
227
|
+
};
|
|
228
|
+
Dropdown.displayName = 'DropDown';
|
|
229
|
+
Dropdown.Toggle = (Dropdown_default()).Toggle;
|
|
230
|
+
Dropdown.Menu = DropdownMenu;
|
|
231
|
+
Dropdown.Item = (Dropdown_default()).Item;
|
|
232
|
+
Dropdown.Divider = (Dropdown_default()).Divider;
|
|
233
|
+
Dropdown.Header = (Dropdown_default()).Header;
|
|
234
|
+
return Dropdown;
|
|
235
|
+
}((external_react_default()).PureComponent));
|
|
236
|
+
|
|
237
|
+
|
|
238
|
+
// EXTERNAL MODULE: ./node_modules/autobind-decorator/lib/esm/index.js
|
|
239
|
+
var esm = __webpack_require__(6627);
|
|
240
|
+
// EXTERNAL MODULE: external "@fortawesome/pro-regular-svg-icons/faEllipsisH"
|
|
241
|
+
var faEllipsisH_ = __webpack_require__(3041);
|
|
242
|
+
// EXTERNAL MODULE: external "@fortawesome/pro-regular-svg-icons/faChevronDown"
|
|
243
|
+
var faChevronDown_ = __webpack_require__(1349);
|
|
244
|
+
// EXTERNAL MODULE: ./src/components/Button/index.ts
|
|
245
|
+
var Button = __webpack_require__(125);
|
|
246
|
+
;// CONCATENATED MODULE: ./src/components/Dropdown/AtokaDropdownToggles.tsx
|
|
247
|
+
var AtokaDropdownToggles_extends = (undefined && undefined.__extends) || (function () {
|
|
248
|
+
var extendStatics = function (d, b) {
|
|
249
|
+
extendStatics = Object.setPrototypeOf ||
|
|
250
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
251
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
252
|
+
return extendStatics(d, b);
|
|
253
|
+
};
|
|
254
|
+
return function (d, b) {
|
|
255
|
+
extendStatics(d, b);
|
|
256
|
+
function __() { this.constructor = d; }
|
|
257
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
258
|
+
};
|
|
259
|
+
})();
|
|
260
|
+
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
261
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
262
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
263
|
+
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;
|
|
264
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
265
|
+
};
|
|
266
|
+
var __metadata = (undefined && undefined.__metadata) || function (k, v) {
|
|
267
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
268
|
+
};
|
|
269
|
+
|
|
270
|
+
|
|
271
|
+
|
|
272
|
+
|
|
273
|
+
|
|
274
|
+
|
|
275
|
+
|
|
276
|
+
function withRef(displayName, Component) {
|
|
277
|
+
var newComponent = external_react_default().forwardRef(function (props, ref) {
|
|
278
|
+
return (external_react_default().createElement("div", { ref: ref },
|
|
279
|
+
external_react_default().createElement(Component, { disabled: props.disabled, onClick: props.onClick }, props.children)));
|
|
280
|
+
});
|
|
281
|
+
newComponent.displayName = displayName;
|
|
282
|
+
return newComponent;
|
|
283
|
+
}
|
|
284
|
+
var AtokaSimpleDropdownToggleComponent = /** @class */ (function (_super) {
|
|
285
|
+
AtokaDropdownToggles_extends(AtokaSimpleDropdownToggleComponent, _super);
|
|
286
|
+
function AtokaSimpleDropdownToggleComponent() {
|
|
287
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
288
|
+
}
|
|
289
|
+
AtokaSimpleDropdownToggleComponent.prototype.handleClick = function (e) {
|
|
290
|
+
e.preventDefault();
|
|
291
|
+
this.props.onClick(e);
|
|
292
|
+
};
|
|
293
|
+
AtokaSimpleDropdownToggleComponent.prototype.render = function () {
|
|
294
|
+
return (external_react_default().createElement(Button.Button, { variant: 'secondary', size: 'xs', icon: faEllipsisH_.faEllipsisH, onClick: !this.props.disabled ? this.handleClick : undefined }));
|
|
295
|
+
};
|
|
296
|
+
var _a;
|
|
297
|
+
AtokaSimpleDropdownToggleComponent.displayName = 'AtokaSimpleDropdownToggleComponent';
|
|
298
|
+
__decorate([
|
|
299
|
+
esm/* default */.ZP,
|
|
300
|
+
__metadata("design:type", Function),
|
|
301
|
+
__metadata("design:paramtypes", [typeof (_a = typeof (external_react_default()) !== "undefined" && (external_react_default()).SyntheticEvent) === "function" ? _a : Object]),
|
|
302
|
+
__metadata("design:returntype", void 0)
|
|
303
|
+
], AtokaSimpleDropdownToggleComponent.prototype, "handleClick", null);
|
|
304
|
+
return AtokaSimpleDropdownToggleComponent;
|
|
305
|
+
}((external_react_default()).Component));
|
|
306
|
+
var AtokaCustomDropdownToggleComponent = /** @class */ (function (_super) {
|
|
307
|
+
AtokaDropdownToggles_extends(AtokaCustomDropdownToggleComponent, _super);
|
|
308
|
+
function AtokaCustomDropdownToggleComponent() {
|
|
309
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
310
|
+
}
|
|
311
|
+
AtokaCustomDropdownToggleComponent.prototype.handleClick = function (e) {
|
|
312
|
+
e.preventDefault();
|
|
313
|
+
this.props.onClick(e);
|
|
314
|
+
};
|
|
315
|
+
AtokaCustomDropdownToggleComponent.prototype.render = function () {
|
|
316
|
+
return (external_react_default().createElement("div", { className: 'atoka-dropdown-toggle', onClick: !this.props.disabled ? this.handleClick : undefined }, this.props.children));
|
|
317
|
+
};
|
|
318
|
+
var _b;
|
|
319
|
+
AtokaCustomDropdownToggleComponent.displayName = 'AtokaCustomDropdownToggleComponent';
|
|
320
|
+
__decorate([
|
|
321
|
+
esm/* default */.ZP,
|
|
322
|
+
__metadata("design:type", Function),
|
|
323
|
+
__metadata("design:paramtypes", [typeof (_b = typeof (external_react_default()) !== "undefined" && (external_react_default()).SyntheticEvent) === "function" ? _b : Object]),
|
|
324
|
+
__metadata("design:returntype", void 0)
|
|
325
|
+
], AtokaCustomDropdownToggleComponent.prototype, "handleClick", null);
|
|
326
|
+
return AtokaCustomDropdownToggleComponent;
|
|
327
|
+
}((external_react_default()).Component));
|
|
328
|
+
var AtokaCustomDropdownToggleWithChevronComponent = /** @class */ (function (_super) {
|
|
329
|
+
AtokaDropdownToggles_extends(AtokaCustomDropdownToggleWithChevronComponent, _super);
|
|
330
|
+
function AtokaCustomDropdownToggleWithChevronComponent() {
|
|
331
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
332
|
+
}
|
|
333
|
+
AtokaCustomDropdownToggleWithChevronComponent.prototype.handleClick = function (e) {
|
|
334
|
+
e.preventDefault();
|
|
335
|
+
this.props.onClick(e);
|
|
336
|
+
};
|
|
337
|
+
AtokaCustomDropdownToggleWithChevronComponent.prototype.render = function () {
|
|
338
|
+
var className = external_classnames_default()({
|
|
339
|
+
'atoka-dropdown-toggle': true,
|
|
340
|
+
'disabled': this.props.disabled,
|
|
341
|
+
});
|
|
342
|
+
return (external_react_default().createElement("div", { className: className, onClick: !this.props.disabled ? this.handleClick : undefined },
|
|
343
|
+
this.props.children,
|
|
344
|
+
external_react_default().createElement("div", { className: 'chevron-container' },
|
|
345
|
+
external_react_default().createElement(Button.Button, { variant: 'tertiary', size: 'md', icon: faChevronDown_.faChevronDown }))));
|
|
346
|
+
};
|
|
347
|
+
var _c;
|
|
348
|
+
AtokaCustomDropdownToggleWithChevronComponent.displayName = 'AtokaCustomDropdownToggleWithChevronComponent ';
|
|
349
|
+
__decorate([
|
|
350
|
+
esm/* default */.ZP,
|
|
351
|
+
__metadata("design:type", Function),
|
|
352
|
+
__metadata("design:paramtypes", [typeof (_c = typeof (external_react_default()) !== "undefined" && (external_react_default()).SyntheticEvent) === "function" ? _c : Object]),
|
|
353
|
+
__metadata("design:returntype", void 0)
|
|
354
|
+
], AtokaCustomDropdownToggleWithChevronComponent.prototype, "handleClick", null);
|
|
355
|
+
return AtokaCustomDropdownToggleWithChevronComponent;
|
|
356
|
+
}((external_react_default()).Component));
|
|
357
|
+
var AtokaSimpleDropdownToggle = withRef('AtokaSimpleDropdownToggle', AtokaSimpleDropdownToggleComponent);
|
|
358
|
+
var AtokaCustomDropdownToggle = withRef('AtokaCustomDropdownToggle', AtokaCustomDropdownToggleComponent);
|
|
359
|
+
var AtokaCustomDropdownToggleWithChevron = withRef('AtokaCustomDropdownToggleWithChevron', AtokaCustomDropdownToggleWithChevronComponent);
|
|
360
|
+
|
|
361
|
+
|
|
362
|
+
;// CONCATENATED MODULE: ./src/components/Dropdown/index.ts
|
|
363
|
+
|
|
364
|
+
|
|
365
|
+
|
|
366
|
+
|
|
367
|
+
|
|
368
|
+
/***/ }),
|
|
369
|
+
|
|
370
|
+
/***/ 6627:
|
|
371
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
372
|
+
|
|
373
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
374
|
+
/* harmony export */ "ZP": () => (/* binding */ autobind)
|
|
375
|
+
/* harmony export */ });
|
|
376
|
+
/* unused harmony exports boundMethod, boundClass */
|
|
377
|
+
/* harmony import */ var _babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4329);
|
|
378
|
+
|
|
379
|
+
|
|
380
|
+
function _typeof(obj) {
|
|
381
|
+
if (typeof Symbol === "function" && (0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(Symbol.iterator) === "symbol") {
|
|
382
|
+
_typeof = function _typeof(obj) {
|
|
383
|
+
return (0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(obj);
|
|
384
|
+
};
|
|
385
|
+
} else {
|
|
386
|
+
_typeof = function _typeof(obj) {
|
|
387
|
+
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : (0,_babel_runtime_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(obj);
|
|
388
|
+
};
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
return _typeof(obj);
|
|
392
|
+
}
|
|
393
|
+
/**
|
|
394
|
+
* Return a descriptor removing the value and returning a getter
|
|
395
|
+
* The getter will return a .bind version of the function
|
|
396
|
+
* and memoize the result against a symbol on the instance
|
|
397
|
+
*/
|
|
398
|
+
|
|
399
|
+
|
|
400
|
+
function boundMethod(target, key, descriptor) {
|
|
401
|
+
var fn = descriptor.value;
|
|
402
|
+
|
|
403
|
+
if (typeof fn !== 'function') {
|
|
404
|
+
throw new TypeError("@boundMethod decorator can only be applied to methods not: ".concat(_typeof(fn)));
|
|
405
|
+
} // In IE11 calling Object.defineProperty has a side-effect of evaluating the
|
|
406
|
+
// getter for the property which is being replaced. This causes infinite
|
|
407
|
+
// recursion and an "Out of stack space" error.
|
|
408
|
+
|
|
409
|
+
|
|
410
|
+
var definingProperty = false;
|
|
411
|
+
return {
|
|
412
|
+
configurable: true,
|
|
413
|
+
get: function get() {
|
|
414
|
+
// eslint-disable-next-line no-prototype-builtins
|
|
415
|
+
if (definingProperty || this === target.prototype || this.hasOwnProperty(key) || typeof fn !== 'function') {
|
|
416
|
+
return fn;
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
var boundFn = fn.bind(this);
|
|
420
|
+
definingProperty = true;
|
|
421
|
+
Object.defineProperty(this, key, {
|
|
422
|
+
configurable: true,
|
|
423
|
+
get: function get() {
|
|
424
|
+
return boundFn;
|
|
425
|
+
},
|
|
426
|
+
set: function set(value) {
|
|
427
|
+
fn = value;
|
|
428
|
+
delete this[key];
|
|
429
|
+
}
|
|
430
|
+
});
|
|
431
|
+
definingProperty = false;
|
|
432
|
+
return boundFn;
|
|
433
|
+
},
|
|
434
|
+
set: function set(value) {
|
|
435
|
+
fn = value;
|
|
436
|
+
}
|
|
437
|
+
};
|
|
438
|
+
}
|
|
439
|
+
/**
|
|
440
|
+
* Use boundMethod to bind all methods on the target.prototype
|
|
441
|
+
*/
|
|
442
|
+
|
|
443
|
+
function boundClass(target) {
|
|
444
|
+
// (Using reflect to get all keys including symbols)
|
|
445
|
+
var keys; // Use Reflect if exists
|
|
446
|
+
|
|
447
|
+
if (typeof Reflect !== 'undefined' && typeof Reflect.ownKeys === 'function') {
|
|
448
|
+
keys = Reflect.ownKeys(target.prototype);
|
|
449
|
+
} else {
|
|
450
|
+
keys = Object.getOwnPropertyNames(target.prototype); // Use symbols if support is provided
|
|
451
|
+
|
|
452
|
+
if (typeof Object.getOwnPropertySymbols === 'function') {
|
|
453
|
+
keys = keys.concat(Object.getOwnPropertySymbols(target.prototype));
|
|
454
|
+
}
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
keys.forEach(function (key) {
|
|
458
|
+
// Ignore special case target method
|
|
459
|
+
if (key === 'constructor') {
|
|
460
|
+
return;
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
var descriptor = Object.getOwnPropertyDescriptor(target.prototype, key); // Only methods need binding
|
|
464
|
+
|
|
465
|
+
if (typeof descriptor.value === 'function') {
|
|
466
|
+
Object.defineProperty(target.prototype, key, boundMethod(target, key, descriptor));
|
|
467
|
+
}
|
|
468
|
+
});
|
|
469
|
+
return target;
|
|
470
|
+
}
|
|
471
|
+
function autobind() {
|
|
472
|
+
if (arguments.length === 1) {
|
|
473
|
+
return boundClass.apply(void 0, arguments);
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
return boundMethod.apply(void 0, arguments);
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
/***/ }),
|
|
480
|
+
|
|
481
|
+
/***/ 1349:
|
|
482
|
+
/***/ ((module) => {
|
|
483
|
+
|
|
484
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__1349__;
|
|
485
|
+
|
|
486
|
+
/***/ }),
|
|
487
|
+
|
|
488
|
+
/***/ 3041:
|
|
489
|
+
/***/ ((module) => {
|
|
490
|
+
|
|
491
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__3041__;
|
|
492
|
+
|
|
493
|
+
/***/ }),
|
|
494
|
+
|
|
495
|
+
/***/ 5692:
|
|
496
|
+
/***/ ((module) => {
|
|
497
|
+
|
|
498
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__5692__;
|
|
499
|
+
|
|
500
|
+
/***/ }),
|
|
501
|
+
|
|
502
|
+
/***/ 8310:
|
|
503
|
+
/***/ ((module) => {
|
|
504
|
+
|
|
505
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__8310__;
|
|
506
|
+
|
|
507
|
+
/***/ }),
|
|
508
|
+
|
|
509
|
+
/***/ 8156:
|
|
510
|
+
/***/ ((module) => {
|
|
511
|
+
|
|
512
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__8156__;
|
|
513
|
+
|
|
514
|
+
/***/ }),
|
|
515
|
+
|
|
516
|
+
/***/ 8926:
|
|
517
|
+
/***/ ((module) => {
|
|
518
|
+
|
|
519
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__8926__;
|
|
520
|
+
|
|
521
|
+
/***/ }),
|
|
522
|
+
|
|
523
|
+
/***/ 4976:
|
|
524
|
+
/***/ ((module) => {
|
|
525
|
+
|
|
526
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__4976__;
|
|
527
|
+
|
|
528
|
+
/***/ }),
|
|
529
|
+
|
|
530
|
+
/***/ 4329:
|
|
531
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
532
|
+
|
|
533
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
534
|
+
/* harmony export */ "Z": () => (/* binding */ _typeof)
|
|
535
|
+
/* harmony export */ });
|
|
536
|
+
function _typeof(obj) {
|
|
537
|
+
"@babel/helpers - typeof";
|
|
538
|
+
|
|
539
|
+
if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
|
|
540
|
+
_typeof = function _typeof(obj) {
|
|
541
|
+
return typeof obj;
|
|
542
|
+
};
|
|
543
|
+
} else {
|
|
544
|
+
_typeof = function _typeof(obj) {
|
|
545
|
+
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
546
|
+
};
|
|
547
|
+
}
|
|
548
|
+
|
|
549
|
+
return _typeof(obj);
|
|
550
|
+
}
|
|
551
|
+
|
|
552
|
+
/***/ })
|
|
553
|
+
|
|
554
|
+
/******/ });
|
|
555
|
+
/************************************************************************/
|
|
556
|
+
/******/ // The module cache
|
|
557
|
+
/******/ var __webpack_module_cache__ = {};
|
|
558
|
+
/******/
|
|
559
|
+
/******/ // The require function
|
|
560
|
+
/******/ function __webpack_require__(moduleId) {
|
|
561
|
+
/******/ // Check if module is in cache
|
|
562
|
+
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
|
563
|
+
/******/ if (cachedModule !== undefined) {
|
|
564
|
+
/******/ return cachedModule.exports;
|
|
565
|
+
/******/ }
|
|
566
|
+
/******/ // Create a new module (and put it into the cache)
|
|
567
|
+
/******/ var module = __webpack_module_cache__[moduleId] = {
|
|
568
|
+
/******/ // no module.id needed
|
|
569
|
+
/******/ // no module.loaded needed
|
|
570
|
+
/******/ exports: {}
|
|
571
|
+
/******/ };
|
|
572
|
+
/******/
|
|
573
|
+
/******/ // Execute the module function
|
|
574
|
+
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
|
575
|
+
/******/
|
|
576
|
+
/******/ // Return the exports of the module
|
|
577
|
+
/******/ return module.exports;
|
|
578
|
+
/******/ }
|
|
579
|
+
/******/
|
|
580
|
+
/******/ // expose the modules object (__webpack_modules__)
|
|
581
|
+
/******/ __webpack_require__.m = __webpack_modules__;
|
|
582
|
+
/******/
|
|
583
|
+
/************************************************************************/
|
|
584
|
+
/******/ /* webpack/runtime/chunk loaded */
|
|
585
|
+
/******/ (() => {
|
|
586
|
+
/******/ var deferred = [];
|
|
587
|
+
/******/ __webpack_require__.O = (result, chunkIds, fn, priority) => {
|
|
588
|
+
/******/ if(chunkIds) {
|
|
589
|
+
/******/ priority = priority || 0;
|
|
590
|
+
/******/ for(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];
|
|
591
|
+
/******/ deferred[i] = [chunkIds, fn, priority];
|
|
592
|
+
/******/ return;
|
|
593
|
+
/******/ }
|
|
594
|
+
/******/ var notFulfilled = Infinity;
|
|
595
|
+
/******/ for (var i = 0; i < deferred.length; i++) {
|
|
596
|
+
/******/ var [chunkIds, fn, priority] = deferred[i];
|
|
597
|
+
/******/ var fulfilled = true;
|
|
598
|
+
/******/ for (var j = 0; j < chunkIds.length; j++) {
|
|
599
|
+
/******/ if ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {
|
|
600
|
+
/******/ chunkIds.splice(j--, 1);
|
|
601
|
+
/******/ } else {
|
|
602
|
+
/******/ fulfilled = false;
|
|
603
|
+
/******/ if(priority < notFulfilled) notFulfilled = priority;
|
|
604
|
+
/******/ }
|
|
605
|
+
/******/ }
|
|
606
|
+
/******/ if(fulfilled) {
|
|
607
|
+
/******/ deferred.splice(i--, 1)
|
|
608
|
+
/******/ var r = fn();
|
|
609
|
+
/******/ if (r !== undefined) result = r;
|
|
610
|
+
/******/ }
|
|
611
|
+
/******/ }
|
|
612
|
+
/******/ return result;
|
|
613
|
+
/******/ };
|
|
614
|
+
/******/ })();
|
|
615
|
+
/******/
|
|
616
|
+
/******/ /* webpack/runtime/compat get default export */
|
|
617
|
+
/******/ (() => {
|
|
618
|
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
619
|
+
/******/ __webpack_require__.n = (module) => {
|
|
620
|
+
/******/ var getter = module && module.__esModule ?
|
|
621
|
+
/******/ () => (module['default']) :
|
|
622
|
+
/******/ () => (module);
|
|
623
|
+
/******/ __webpack_require__.d(getter, { a: getter });
|
|
624
|
+
/******/ return getter;
|
|
625
|
+
/******/ };
|
|
626
|
+
/******/ })();
|
|
627
|
+
/******/
|
|
628
|
+
/******/ /* webpack/runtime/define property getters */
|
|
629
|
+
/******/ (() => {
|
|
630
|
+
/******/ // define getter functions for harmony exports
|
|
631
|
+
/******/ __webpack_require__.d = (exports, definition) => {
|
|
632
|
+
/******/ for(var key in definition) {
|
|
633
|
+
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
634
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
635
|
+
/******/ }
|
|
636
|
+
/******/ }
|
|
637
|
+
/******/ };
|
|
638
|
+
/******/ })();
|
|
639
|
+
/******/
|
|
640
|
+
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
641
|
+
/******/ (() => {
|
|
642
|
+
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
|
643
|
+
/******/ })();
|
|
644
|
+
/******/
|
|
645
|
+
/******/ /* webpack/runtime/make namespace object */
|
|
646
|
+
/******/ (() => {
|
|
647
|
+
/******/ // define __esModule on exports
|
|
648
|
+
/******/ __webpack_require__.r = (exports) => {
|
|
649
|
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
650
|
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
651
|
+
/******/ }
|
|
652
|
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
653
|
+
/******/ };
|
|
654
|
+
/******/ })();
|
|
655
|
+
/******/
|
|
656
|
+
/******/ /* webpack/runtime/jsonp chunk loading */
|
|
657
|
+
/******/ (() => {
|
|
658
|
+
/******/ // no baseURI
|
|
659
|
+
/******/
|
|
660
|
+
/******/ // object to store loaded and loading chunks
|
|
661
|
+
/******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched
|
|
662
|
+
/******/ // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded
|
|
663
|
+
/******/ var installedChunks = {
|
|
664
|
+
/******/ 8621: 0,
|
|
665
|
+
/******/ 6615: 0,
|
|
666
|
+
/******/ 1981: 0
|
|
667
|
+
/******/ };
|
|
668
|
+
/******/
|
|
669
|
+
/******/ // no chunk on demand loading
|
|
670
|
+
/******/
|
|
671
|
+
/******/ // no prefetching
|
|
672
|
+
/******/
|
|
673
|
+
/******/ // no preloaded
|
|
674
|
+
/******/
|
|
675
|
+
/******/ // no HMR
|
|
676
|
+
/******/
|
|
677
|
+
/******/ // no HMR manifest
|
|
678
|
+
/******/
|
|
679
|
+
/******/ __webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);
|
|
680
|
+
/******/
|
|
681
|
+
/******/ // install a JSONP callback for chunk loading
|
|
682
|
+
/******/ var webpackJsonpCallback = (parentChunkLoadingFunction, data) => {
|
|
683
|
+
/******/ var [chunkIds, moreModules, runtime] = data;
|
|
684
|
+
/******/ // add "moreModules" to the modules object,
|
|
685
|
+
/******/ // then flag all "chunkIds" as loaded and fire callback
|
|
686
|
+
/******/ var moduleId, chunkId, i = 0;
|
|
687
|
+
/******/ if(chunkIds.some((id) => (installedChunks[id] !== 0))) {
|
|
688
|
+
/******/ for(moduleId in moreModules) {
|
|
689
|
+
/******/ if(__webpack_require__.o(moreModules, moduleId)) {
|
|
690
|
+
/******/ __webpack_require__.m[moduleId] = moreModules[moduleId];
|
|
691
|
+
/******/ }
|
|
692
|
+
/******/ }
|
|
693
|
+
/******/ if(runtime) var result = runtime(__webpack_require__);
|
|
694
|
+
/******/ }
|
|
695
|
+
/******/ if(parentChunkLoadingFunction) parentChunkLoadingFunction(data);
|
|
696
|
+
/******/ for(;i < chunkIds.length; i++) {
|
|
697
|
+
/******/ chunkId = chunkIds[i];
|
|
698
|
+
/******/ if(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {
|
|
699
|
+
/******/ installedChunks[chunkId][0]();
|
|
700
|
+
/******/ }
|
|
701
|
+
/******/ installedChunks[chunkIds[i]] = 0;
|
|
702
|
+
/******/ }
|
|
703
|
+
/******/ return __webpack_require__.O(result);
|
|
704
|
+
/******/ }
|
|
705
|
+
/******/
|
|
706
|
+
/******/ var chunkLoadingGlobal = self["webpackChunkatoka_design_system"] = self["webpackChunkatoka_design_system"] || [];
|
|
707
|
+
/******/ chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));
|
|
708
|
+
/******/ chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));
|
|
709
|
+
/******/ })();
|
|
710
|
+
/******/
|
|
711
|
+
/************************************************************************/
|
|
712
|
+
/******/
|
|
713
|
+
/******/ // startup
|
|
714
|
+
/******/ // Load entry module and return exports
|
|
715
|
+
/******/ // This entry module depends on other loaded chunks and execution need to be delayed
|
|
716
|
+
/******/ var __webpack_exports__ = __webpack_require__.O(undefined, [1981], () => (__webpack_require__(7180)))
|
|
717
|
+
/******/ __webpack_exports__ = __webpack_require__.O(__webpack_exports__);
|
|
718
|
+
/******/
|
|
719
|
+
/******/ return __webpack_exports__;
|
|
720
|
+
/******/ })()
|
|
721
|
+
;
|
|
722
|
+
});
|
|
723
|
+
//# sourceMappingURL=index.js.map
|