@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,482 @@
|
|
|
1
|
+
(function webpackUniversalModuleDefinition(root, factory) {
|
|
2
|
+
if(typeof exports === 'object' && typeof module === 'object')
|
|
3
|
+
module.exports = factory(require("@fortawesome/pro-light-svg-icons/faInfoCircle"), require("@fortawesome/react-fontawesome"), require("classnames"), require("react"), require("react-bootstrap/OverlayTrigger"));
|
|
4
|
+
else if(typeof define === 'function' && define.amd)
|
|
5
|
+
define("atoka-design-system", ["@fortawesome/pro-light-svg-icons/faInfoCircle", "@fortawesome/react-fontawesome", "classnames", "react", "react-bootstrap/OverlayTrigger"], factory);
|
|
6
|
+
else if(typeof exports === 'object')
|
|
7
|
+
exports["atoka-design-system"] = factory(require("@fortawesome/pro-light-svg-icons/faInfoCircle"), require("@fortawesome/react-fontawesome"), require("classnames"), require("react"), require("react-bootstrap/OverlayTrigger"));
|
|
8
|
+
else
|
|
9
|
+
root["atoka-design-system"] = factory(root["@fortawesome/pro-light-svg-icons/faInfoCircle"], root["@fortawesome/react-fontawesome"], root["classnames"], root["react"], root["react-bootstrap/OverlayTrigger"]);
|
|
10
|
+
})(self, function(__WEBPACK_EXTERNAL_MODULE__4997__, __WEBPACK_EXTERNAL_MODULE__5692__, __WEBPACK_EXTERNAL_MODULE__8310__, __WEBPACK_EXTERNAL_MODULE__8156__, __WEBPACK_EXTERNAL_MODULE__6043__) {
|
|
11
|
+
return /******/ (() => { // webpackBootstrap
|
|
12
|
+
/******/ "use strict";
|
|
13
|
+
/******/ var __webpack_modules__ = ({
|
|
14
|
+
|
|
15
|
+
/***/ 5256:
|
|
16
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
17
|
+
|
|
18
|
+
// ESM COMPAT FLAG
|
|
19
|
+
__webpack_require__.r(__webpack_exports__);
|
|
20
|
+
|
|
21
|
+
// EXPORTS
|
|
22
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
23
|
+
"RecordBit": () => (/* reexport */ RecordBit)
|
|
24
|
+
});
|
|
25
|
+
|
|
26
|
+
// EXTERNAL MODULE: external "classnames"
|
|
27
|
+
var external_classnames_ = __webpack_require__(8310);
|
|
28
|
+
var external_classnames_default = /*#__PURE__*/__webpack_require__.n(external_classnames_);
|
|
29
|
+
// EXTERNAL MODULE: external "react"
|
|
30
|
+
var external_react_ = __webpack_require__(8156);
|
|
31
|
+
var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_);
|
|
32
|
+
// EXTERNAL MODULE: external "@fortawesome/react-fontawesome"
|
|
33
|
+
var react_fontawesome_ = __webpack_require__(5692);
|
|
34
|
+
// EXTERNAL MODULE: external "@fortawesome/pro-light-svg-icons/faInfoCircle"
|
|
35
|
+
var faInfoCircle_ = __webpack_require__(4997);
|
|
36
|
+
// EXTERNAL MODULE: ./src/components/Tooltip/index.ts + 1 modules
|
|
37
|
+
var Tooltip = __webpack_require__(1512);
|
|
38
|
+
// EXTERNAL MODULE: ./src/components/Title/index.ts
|
|
39
|
+
var Title = __webpack_require__(9190);
|
|
40
|
+
;// CONCATENATED MODULE: ./src/components/RecordBit/RecordBit.tsx
|
|
41
|
+
var __extends = (undefined && undefined.__extends) || (function () {
|
|
42
|
+
var extendStatics = function (d, b) {
|
|
43
|
+
extendStatics = Object.setPrototypeOf ||
|
|
44
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
45
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
46
|
+
return extendStatics(d, b);
|
|
47
|
+
};
|
|
48
|
+
return function (d, b) {
|
|
49
|
+
extendStatics(d, b);
|
|
50
|
+
function __() { this.constructor = d; }
|
|
51
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
52
|
+
};
|
|
53
|
+
})();
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
var RecordBit = /** @class */ (function (_super) {
|
|
62
|
+
__extends(RecordBit, _super);
|
|
63
|
+
function RecordBit() {
|
|
64
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
65
|
+
}
|
|
66
|
+
RecordBit.prototype.renderTooltip = function () {
|
|
67
|
+
if (this.props.info == null) {
|
|
68
|
+
return null;
|
|
69
|
+
}
|
|
70
|
+
return (external_react_default().createElement(Tooltip.Tooltip, { placement: 'right', content: this.props.info },
|
|
71
|
+
external_react_default().createElement(react_fontawesome_.FontAwesomeIcon, { icon: faInfoCircle_.faInfoCircle, className: 'ml-1' })));
|
|
72
|
+
};
|
|
73
|
+
RecordBit.prototype.render = function () {
|
|
74
|
+
var _a;
|
|
75
|
+
var className = external_classnames_default()(this.props.className, 'atoka-record-bit');
|
|
76
|
+
return (external_react_default().createElement("div", { className: className },
|
|
77
|
+
external_react_default().createElement("div", { className: 'record-bit-title' },
|
|
78
|
+
external_react_default().createElement(Title.Title, { size: 'sm', icon: this.props.icon },
|
|
79
|
+
this.props.title,
|
|
80
|
+
" ",
|
|
81
|
+
this.renderTooltip())),
|
|
82
|
+
external_react_default().createElement("div", { className: 'record-bit-children' }, (_a = this.props.children) !== null && _a !== void 0 ? _a : '-')));
|
|
83
|
+
};
|
|
84
|
+
RecordBit.displayName = 'RecordBit';
|
|
85
|
+
return RecordBit;
|
|
86
|
+
}((external_react_default()).PureComponent));
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
;// CONCATENATED MODULE: ./src/components/RecordBit/index.ts
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
/***/ }),
|
|
94
|
+
|
|
95
|
+
/***/ 9360:
|
|
96
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
97
|
+
|
|
98
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
99
|
+
/* harmony export */ "D": () => (/* binding */ Title)
|
|
100
|
+
/* harmony export */ });
|
|
101
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8156);
|
|
102
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
103
|
+
/* harmony import */ var _fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(5692);
|
|
104
|
+
/* harmony import */ var _fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_1__);
|
|
105
|
+
/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(8310);
|
|
106
|
+
/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_2__);
|
|
107
|
+
var __extends = (undefined && undefined.__extends) || (function () {
|
|
108
|
+
var extendStatics = function (d, b) {
|
|
109
|
+
extendStatics = Object.setPrototypeOf ||
|
|
110
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
111
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
112
|
+
return extendStatics(d, b);
|
|
113
|
+
};
|
|
114
|
+
return function (d, b) {
|
|
115
|
+
extendStatics(d, b);
|
|
116
|
+
function __() { this.constructor = d; }
|
|
117
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
118
|
+
};
|
|
119
|
+
})();
|
|
120
|
+
var __assign = (undefined && undefined.__assign) || function () {
|
|
121
|
+
__assign = Object.assign || function(t) {
|
|
122
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
123
|
+
s = arguments[i];
|
|
124
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
125
|
+
t[p] = s[p];
|
|
126
|
+
}
|
|
127
|
+
return t;
|
|
128
|
+
};
|
|
129
|
+
return __assign.apply(this, arguments);
|
|
130
|
+
};
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
var Title = /** @class */ (function (_super) {
|
|
136
|
+
__extends(Title, _super);
|
|
137
|
+
function Title() {
|
|
138
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
139
|
+
}
|
|
140
|
+
Title.prototype.renderIcon = function () {
|
|
141
|
+
if (this.props.icon == null) {
|
|
142
|
+
return null;
|
|
143
|
+
}
|
|
144
|
+
var classNames = classnames__WEBPACK_IMPORTED_MODULE_2___default()({ 'mr-2': this.props.children !== '' && this.props.children != null });
|
|
145
|
+
return react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_1__.FontAwesomeIcon, { icon: this.props.icon, className: classNames, fixedWidth: true });
|
|
146
|
+
};
|
|
147
|
+
Title.prototype.renderContent = function () {
|
|
148
|
+
return (react__WEBPACK_IMPORTED_MODULE_0___default().createElement((react__WEBPACK_IMPORTED_MODULE_0___default().Fragment), null,
|
|
149
|
+
this.renderIcon(),
|
|
150
|
+
this.props.children));
|
|
151
|
+
};
|
|
152
|
+
Title.prototype.render = function () {
|
|
153
|
+
var props = { className: this.props.className, style: this.props.style };
|
|
154
|
+
switch (this.props.size) {
|
|
155
|
+
case 'xs':
|
|
156
|
+
return react__WEBPACK_IMPORTED_MODULE_0___default().createElement("h6", __assign({}, props), this.renderContent());
|
|
157
|
+
case 'sm':
|
|
158
|
+
return react__WEBPACK_IMPORTED_MODULE_0___default().createElement("h5", __assign({}, props), this.renderContent());
|
|
159
|
+
case 'md':
|
|
160
|
+
return react__WEBPACK_IMPORTED_MODULE_0___default().createElement("h4", __assign({}, props), this.renderContent());
|
|
161
|
+
case 'lg':
|
|
162
|
+
return react__WEBPACK_IMPORTED_MODULE_0___default().createElement("h3", __assign({}, props), this.renderContent());
|
|
163
|
+
case 'xl':
|
|
164
|
+
return react__WEBPACK_IMPORTED_MODULE_0___default().createElement("h2", __assign({}, props), this.renderContent());
|
|
165
|
+
default:
|
|
166
|
+
return react__WEBPACK_IMPORTED_MODULE_0___default().createElement("h1", __assign({}, props), this.renderContent());
|
|
167
|
+
}
|
|
168
|
+
};
|
|
169
|
+
Title.displayName = 'Title';
|
|
170
|
+
Title.defaultProps = {
|
|
171
|
+
size: 'xxl',
|
|
172
|
+
};
|
|
173
|
+
return Title;
|
|
174
|
+
}((react__WEBPACK_IMPORTED_MODULE_0___default().PureComponent)));
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
/***/ }),
|
|
179
|
+
|
|
180
|
+
/***/ 9190:
|
|
181
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
182
|
+
|
|
183
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
184
|
+
/* harmony export */ "Title": () => (/* reexport safe */ _Title__WEBPACK_IMPORTED_MODULE_0__.D)
|
|
185
|
+
/* harmony export */ });
|
|
186
|
+
/* harmony import */ var _Title__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9360);
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
/***/ }),
|
|
191
|
+
|
|
192
|
+
/***/ 1512:
|
|
193
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
// EXPORTS
|
|
197
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
198
|
+
"Tooltip": () => (/* reexport */ Tooltip)
|
|
199
|
+
});
|
|
200
|
+
|
|
201
|
+
// EXTERNAL MODULE: external "react"
|
|
202
|
+
var external_react_ = __webpack_require__(8156);
|
|
203
|
+
var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_);
|
|
204
|
+
// EXTERNAL MODULE: external "classnames"
|
|
205
|
+
var external_classnames_ = __webpack_require__(8310);
|
|
206
|
+
var external_classnames_default = /*#__PURE__*/__webpack_require__.n(external_classnames_);
|
|
207
|
+
// EXTERNAL MODULE: external "react-bootstrap/OverlayTrigger"
|
|
208
|
+
var OverlayTrigger_ = __webpack_require__(6043);
|
|
209
|
+
var OverlayTrigger_default = /*#__PURE__*/__webpack_require__.n(OverlayTrigger_);
|
|
210
|
+
;// CONCATENATED MODULE: ./src/components/Tooltip/Tooltip.tsx
|
|
211
|
+
var __assign = (undefined && undefined.__assign) || function () {
|
|
212
|
+
__assign = Object.assign || function(t) {
|
|
213
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
214
|
+
s = arguments[i];
|
|
215
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
216
|
+
t[p] = s[p];
|
|
217
|
+
}
|
|
218
|
+
return t;
|
|
219
|
+
};
|
|
220
|
+
return __assign.apply(this, arguments);
|
|
221
|
+
};
|
|
222
|
+
var __rest = (undefined && undefined.__rest) || function (s, e) {
|
|
223
|
+
var t = {};
|
|
224
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
225
|
+
t[p] = s[p];
|
|
226
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
227
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
228
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
229
|
+
t[p[i]] = s[p[i]];
|
|
230
|
+
}
|
|
231
|
+
return t;
|
|
232
|
+
};
|
|
233
|
+
|
|
234
|
+
|
|
235
|
+
|
|
236
|
+
|
|
237
|
+
/**
|
|
238
|
+
* ### Overview
|
|
239
|
+
*
|
|
240
|
+
* A tooltip is a short message which is triggered when the users hovers or clicks on a specific element inside the interface.
|
|
241
|
+
*
|
|
242
|
+
* ### Best practices
|
|
243
|
+
* - Don’t use a tooltip when the information you want to place inside it is vital for the user to complete the task
|
|
244
|
+
* - The text inside the tooltip should be brief but helpful
|
|
245
|
+
* - Use tooltips to describe the action of icon-only buttons
|
|
246
|
+
* - Make sure that the tooltip’s placement doesn’t hide its related content behind it
|
|
247
|
+
*/
|
|
248
|
+
var Tooltip = external_react_default().memo(function (props) {
|
|
249
|
+
var _a;
|
|
250
|
+
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, {
|
|
251
|
+
'top bs-tooltip-top': placement.indexOf('top') === 0,
|
|
252
|
+
'right bs-tooltip-right': placement.indexOf('right') === 0,
|
|
253
|
+
'bottom bs-tooltip-bottom': placement.indexOf('bottom') === 0,
|
|
254
|
+
'left bs-tooltip-left': placement.indexOf('left') === 0,
|
|
255
|
+
});
|
|
256
|
+
var content = props.content, overlayProps = __rest(props, ["content"]), renderTooltip = function (_a) {
|
|
257
|
+
var arrowProps = _a.arrowProps, tooltipProps = __rest(_a, ["arrowProps"]);
|
|
258
|
+
// {vrut} do not pass show to the component, this will raise an error, see PANDA-439
|
|
259
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
260
|
+
var show = tooltipProps.show, rest = __rest(tooltipProps, ["show"]), component = (external_react_default().createElement("div", __assign({}, rest, { className: classNames, role: 'tooltip' }),
|
|
261
|
+
external_react_default().createElement("div", { className: 'tooltip-inner' },
|
|
262
|
+
external_react_default().createElement("div", __assign({ className: 'arrow arrow-back' }, arrowProps)),
|
|
263
|
+
content,
|
|
264
|
+
external_react_default().createElement("div", __assign({ className: 'arrow arrow-front' }, arrowProps)))));
|
|
265
|
+
return component;
|
|
266
|
+
};
|
|
267
|
+
return (external_react_default().createElement((OverlayTrigger_default()), __assign({}, overlayProps, { container: bs4v3Wrapper, overlay: renderTooltip }), props.children));
|
|
268
|
+
});
|
|
269
|
+
Tooltip.displayName = 'Tooltip';
|
|
270
|
+
|
|
271
|
+
;// CONCATENATED MODULE: ./src/components/Tooltip/index.ts
|
|
272
|
+
|
|
273
|
+
|
|
274
|
+
|
|
275
|
+
/***/ }),
|
|
276
|
+
|
|
277
|
+
/***/ 4997:
|
|
278
|
+
/***/ ((module) => {
|
|
279
|
+
|
|
280
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__4997__;
|
|
281
|
+
|
|
282
|
+
/***/ }),
|
|
283
|
+
|
|
284
|
+
/***/ 5692:
|
|
285
|
+
/***/ ((module) => {
|
|
286
|
+
|
|
287
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__5692__;
|
|
288
|
+
|
|
289
|
+
/***/ }),
|
|
290
|
+
|
|
291
|
+
/***/ 8310:
|
|
292
|
+
/***/ ((module) => {
|
|
293
|
+
|
|
294
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__8310__;
|
|
295
|
+
|
|
296
|
+
/***/ }),
|
|
297
|
+
|
|
298
|
+
/***/ 8156:
|
|
299
|
+
/***/ ((module) => {
|
|
300
|
+
|
|
301
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__8156__;
|
|
302
|
+
|
|
303
|
+
/***/ }),
|
|
304
|
+
|
|
305
|
+
/***/ 6043:
|
|
306
|
+
/***/ ((module) => {
|
|
307
|
+
|
|
308
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__6043__;
|
|
309
|
+
|
|
310
|
+
/***/ })
|
|
311
|
+
|
|
312
|
+
/******/ });
|
|
313
|
+
/************************************************************************/
|
|
314
|
+
/******/ // The module cache
|
|
315
|
+
/******/ var __webpack_module_cache__ = {};
|
|
316
|
+
/******/
|
|
317
|
+
/******/ // The require function
|
|
318
|
+
/******/ function __webpack_require__(moduleId) {
|
|
319
|
+
/******/ // Check if module is in cache
|
|
320
|
+
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
|
321
|
+
/******/ if (cachedModule !== undefined) {
|
|
322
|
+
/******/ return cachedModule.exports;
|
|
323
|
+
/******/ }
|
|
324
|
+
/******/ // Create a new module (and put it into the cache)
|
|
325
|
+
/******/ var module = __webpack_module_cache__[moduleId] = {
|
|
326
|
+
/******/ // no module.id needed
|
|
327
|
+
/******/ // no module.loaded needed
|
|
328
|
+
/******/ exports: {}
|
|
329
|
+
/******/ };
|
|
330
|
+
/******/
|
|
331
|
+
/******/ // Execute the module function
|
|
332
|
+
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
|
333
|
+
/******/
|
|
334
|
+
/******/ // Return the exports of the module
|
|
335
|
+
/******/ return module.exports;
|
|
336
|
+
/******/ }
|
|
337
|
+
/******/
|
|
338
|
+
/******/ // expose the modules object (__webpack_modules__)
|
|
339
|
+
/******/ __webpack_require__.m = __webpack_modules__;
|
|
340
|
+
/******/
|
|
341
|
+
/************************************************************************/
|
|
342
|
+
/******/ /* webpack/runtime/chunk loaded */
|
|
343
|
+
/******/ (() => {
|
|
344
|
+
/******/ var deferred = [];
|
|
345
|
+
/******/ __webpack_require__.O = (result, chunkIds, fn, priority) => {
|
|
346
|
+
/******/ if(chunkIds) {
|
|
347
|
+
/******/ priority = priority || 0;
|
|
348
|
+
/******/ for(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];
|
|
349
|
+
/******/ deferred[i] = [chunkIds, fn, priority];
|
|
350
|
+
/******/ return;
|
|
351
|
+
/******/ }
|
|
352
|
+
/******/ var notFulfilled = Infinity;
|
|
353
|
+
/******/ for (var i = 0; i < deferred.length; i++) {
|
|
354
|
+
/******/ var [chunkIds, fn, priority] = deferred[i];
|
|
355
|
+
/******/ var fulfilled = true;
|
|
356
|
+
/******/ for (var j = 0; j < chunkIds.length; j++) {
|
|
357
|
+
/******/ if ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {
|
|
358
|
+
/******/ chunkIds.splice(j--, 1);
|
|
359
|
+
/******/ } else {
|
|
360
|
+
/******/ fulfilled = false;
|
|
361
|
+
/******/ if(priority < notFulfilled) notFulfilled = priority;
|
|
362
|
+
/******/ }
|
|
363
|
+
/******/ }
|
|
364
|
+
/******/ if(fulfilled) {
|
|
365
|
+
/******/ deferred.splice(i--, 1)
|
|
366
|
+
/******/ var r = fn();
|
|
367
|
+
/******/ if (r !== undefined) result = r;
|
|
368
|
+
/******/ }
|
|
369
|
+
/******/ }
|
|
370
|
+
/******/ return result;
|
|
371
|
+
/******/ };
|
|
372
|
+
/******/ })();
|
|
373
|
+
/******/
|
|
374
|
+
/******/ /* webpack/runtime/compat get default export */
|
|
375
|
+
/******/ (() => {
|
|
376
|
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
377
|
+
/******/ __webpack_require__.n = (module) => {
|
|
378
|
+
/******/ var getter = module && module.__esModule ?
|
|
379
|
+
/******/ () => (module['default']) :
|
|
380
|
+
/******/ () => (module);
|
|
381
|
+
/******/ __webpack_require__.d(getter, { a: getter });
|
|
382
|
+
/******/ return getter;
|
|
383
|
+
/******/ };
|
|
384
|
+
/******/ })();
|
|
385
|
+
/******/
|
|
386
|
+
/******/ /* webpack/runtime/define property getters */
|
|
387
|
+
/******/ (() => {
|
|
388
|
+
/******/ // define getter functions for harmony exports
|
|
389
|
+
/******/ __webpack_require__.d = (exports, definition) => {
|
|
390
|
+
/******/ for(var key in definition) {
|
|
391
|
+
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
392
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
393
|
+
/******/ }
|
|
394
|
+
/******/ }
|
|
395
|
+
/******/ };
|
|
396
|
+
/******/ })();
|
|
397
|
+
/******/
|
|
398
|
+
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
399
|
+
/******/ (() => {
|
|
400
|
+
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
|
401
|
+
/******/ })();
|
|
402
|
+
/******/
|
|
403
|
+
/******/ /* webpack/runtime/make namespace object */
|
|
404
|
+
/******/ (() => {
|
|
405
|
+
/******/ // define __esModule on exports
|
|
406
|
+
/******/ __webpack_require__.r = (exports) => {
|
|
407
|
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
408
|
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
409
|
+
/******/ }
|
|
410
|
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
411
|
+
/******/ };
|
|
412
|
+
/******/ })();
|
|
413
|
+
/******/
|
|
414
|
+
/******/ /* webpack/runtime/jsonp chunk loading */
|
|
415
|
+
/******/ (() => {
|
|
416
|
+
/******/ // no baseURI
|
|
417
|
+
/******/
|
|
418
|
+
/******/ // object to store loaded and loading chunks
|
|
419
|
+
/******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched
|
|
420
|
+
/******/ // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded
|
|
421
|
+
/******/ var installedChunks = {
|
|
422
|
+
/******/ 2019: 0,
|
|
423
|
+
/******/ 7564: 0,
|
|
424
|
+
/******/ 2823: 0,
|
|
425
|
+
/******/ 1981: 0
|
|
426
|
+
/******/ };
|
|
427
|
+
/******/
|
|
428
|
+
/******/ // no chunk on demand loading
|
|
429
|
+
/******/
|
|
430
|
+
/******/ // no prefetching
|
|
431
|
+
/******/
|
|
432
|
+
/******/ // no preloaded
|
|
433
|
+
/******/
|
|
434
|
+
/******/ // no HMR
|
|
435
|
+
/******/
|
|
436
|
+
/******/ // no HMR manifest
|
|
437
|
+
/******/
|
|
438
|
+
/******/ __webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);
|
|
439
|
+
/******/
|
|
440
|
+
/******/ // install a JSONP callback for chunk loading
|
|
441
|
+
/******/ var webpackJsonpCallback = (parentChunkLoadingFunction, data) => {
|
|
442
|
+
/******/ var [chunkIds, moreModules, runtime] = data;
|
|
443
|
+
/******/ // add "moreModules" to the modules object,
|
|
444
|
+
/******/ // then flag all "chunkIds" as loaded and fire callback
|
|
445
|
+
/******/ var moduleId, chunkId, i = 0;
|
|
446
|
+
/******/ if(chunkIds.some((id) => (installedChunks[id] !== 0))) {
|
|
447
|
+
/******/ for(moduleId in moreModules) {
|
|
448
|
+
/******/ if(__webpack_require__.o(moreModules, moduleId)) {
|
|
449
|
+
/******/ __webpack_require__.m[moduleId] = moreModules[moduleId];
|
|
450
|
+
/******/ }
|
|
451
|
+
/******/ }
|
|
452
|
+
/******/ if(runtime) var result = runtime(__webpack_require__);
|
|
453
|
+
/******/ }
|
|
454
|
+
/******/ if(parentChunkLoadingFunction) parentChunkLoadingFunction(data);
|
|
455
|
+
/******/ for(;i < chunkIds.length; i++) {
|
|
456
|
+
/******/ chunkId = chunkIds[i];
|
|
457
|
+
/******/ if(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {
|
|
458
|
+
/******/ installedChunks[chunkId][0]();
|
|
459
|
+
/******/ }
|
|
460
|
+
/******/ installedChunks[chunkIds[i]] = 0;
|
|
461
|
+
/******/ }
|
|
462
|
+
/******/ return __webpack_require__.O(result);
|
|
463
|
+
/******/ }
|
|
464
|
+
/******/
|
|
465
|
+
/******/ var chunkLoadingGlobal = self["webpackChunkatoka_design_system"] = self["webpackChunkatoka_design_system"] || [];
|
|
466
|
+
/******/ chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));
|
|
467
|
+
/******/ chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));
|
|
468
|
+
/******/ })();
|
|
469
|
+
/******/
|
|
470
|
+
/************************************************************************/
|
|
471
|
+
/******/
|
|
472
|
+
/******/ // startup
|
|
473
|
+
/******/ // Load entry module and return exports
|
|
474
|
+
/******/ // This entry module depends on other loaded chunks and execution need to be delayed
|
|
475
|
+
/******/ var __webpack_exports__ = __webpack_require__.O(undefined, [1981], () => (__webpack_require__(5256)))
|
|
476
|
+
/******/ __webpack_exports__ = __webpack_require__.O(__webpack_exports__);
|
|
477
|
+
/******/
|
|
478
|
+
/******/ return __webpack_exports__;
|
|
479
|
+
/******/ })()
|
|
480
|
+
;
|
|
481
|
+
});
|
|
482
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RecordBit/index.js","mappings":"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;UACA;;;;;WCzBA;WACA;WACA;WACA;WACA,+BAA+B,wCAAwC;WACvE;WACA;WACA;WACA;WACA,iBAAiB,qBAAqB;WACtC;WACA;WACA,kBAAkB,qBAAqB;WACvC;WACA;WACA,KAAK;WACL;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;;;;;WC3BA;WACA;WACA;WACA;WACA;WACA,iCAAiC,WAAW;WAC5C;WACA;;;;;WCPA;WACA;WACA;WACA;WACA,yCAAyC,wCAAwC;WACjF;WACA;WACA;;;;;WCPA;;;;;WCAA;WACA;WACA;WACA,uDAAuD,iBAAiB;WACxE;WACA,gDAAgD,aAAa;WAC7D;;;;;WCNA;;WAEA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;;WAEA;;WAEA;;WAEA;;WAEA;;WAEA;;WAEA;;WAEA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA,MAAM,qBAAqB;WAC3B;WACA;WACA;WACA;WACA;WACA;WACA;WACA;;WAEA;WACA;WACA;;;;;UEnDA;UACA;UACA;UACA;UACA","sources":["webpack://atoka-design-system/webpack/universalModuleDefinition","webpack://atoka-design-system/./src/components/RecordBit/RecordBit.tsx","webpack://atoka-design-system/./src/components/RecordBit/index.ts","webpack://atoka-design-system/./src/components/Title/Title.tsx","webpack://atoka-design-system/./src/components/Title/index.ts","webpack://atoka-design-system/./src/components/Tooltip/Tooltip.tsx","webpack://atoka-design-system/./src/components/Tooltip/index.ts","webpack://atoka-design-system/external umd \"@fortawesome/pro-light-svg-icons/faInfoCircle\"","webpack://atoka-design-system/external umd \"@fortawesome/react-fontawesome\"","webpack://atoka-design-system/external umd \"classnames\"","webpack://atoka-design-system/external umd \"react\"","webpack://atoka-design-system/external umd \"react-bootstrap/OverlayTrigger\"","webpack://atoka-design-system/webpack/bootstrap","webpack://atoka-design-system/webpack/runtime/chunk loaded","webpack://atoka-design-system/webpack/runtime/compat get default export","webpack://atoka-design-system/webpack/runtime/define property getters","webpack://atoka-design-system/webpack/runtime/hasOwnProperty shorthand","webpack://atoka-design-system/webpack/runtime/make namespace object","webpack://atoka-design-system/webpack/runtime/jsonp chunk loading","webpack://atoka-design-system/webpack/before-startup","webpack://atoka-design-system/webpack/startup","webpack://atoka-design-system/webpack/after-startup"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory(require(\"@fortawesome/pro-light-svg-icons/faInfoCircle\"), require(\"@fortawesome/react-fontawesome\"), require(\"classnames\"), require(\"react\"), require(\"react-bootstrap/OverlayTrigger\"));\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine(\"atoka-design-system\", [\"@fortawesome/pro-light-svg-icons/faInfoCircle\", \"@fortawesome/react-fontawesome\", \"classnames\", \"react\", \"react-bootstrap/OverlayTrigger\"], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"atoka-design-system\"] = factory(require(\"@fortawesome/pro-light-svg-icons/faInfoCircle\"), require(\"@fortawesome/react-fontawesome\"), require(\"classnames\"), require(\"react\"), require(\"react-bootstrap/OverlayTrigger\"));\n\telse\n\t\troot[\"atoka-design-system\"] = factory(root[\"@fortawesome/pro-light-svg-icons/faInfoCircle\"], root[\"@fortawesome/react-fontawesome\"], root[\"classnames\"], root[\"react\"], root[\"react-bootstrap/OverlayTrigger\"]);\n})(self, function(__WEBPACK_EXTERNAL_MODULE__4997__, __WEBPACK_EXTERNAL_MODULE__5692__, __WEBPACK_EXTERNAL_MODULE__8310__, __WEBPACK_EXTERNAL_MODULE__8156__, __WEBPACK_EXTERNAL_MODULE__6043__) {\nreturn ","import classNames from 'classnames';\nimport React from 'react';\nimport {FontAwesomeIcon} from '@fortawesome/react-fontawesome';\nimport {faInfoCircle} from '@fortawesome/pro-light-svg-icons/faInfoCircle';\nimport {IconDefinition} from '@fortawesome/pro-light-svg-icons';\nimport {PropsWithClassName} from '../Utils';\n\nimport {Tooltip} from '../Tooltip';\nimport {Title} from '../Title';\nimport './RecordBit.less';\n\nexport interface RecordBitProps extends PropsWithClassName {\n title: React.ReactNode;\n icon?: IconDefinition;\n info?: string;\n}\n\nexport class RecordBit extends React.PureComponent<RecordBitProps> {\n static displayName: string = 'RecordBit';\n\n private renderTooltip(): React.ReactNode {\n if (this.props.info == null) {\n return null;\n }\n return (\n <Tooltip placement='right' content={this.props.info}>\n <FontAwesomeIcon icon={faInfoCircle} className='ml-1' />\n </Tooltip>\n );\n }\n\n public render(): React.ReactNode {\n const className = classNames(this.props.className, 'atoka-record-bit');\n\n return (\n <div className={className}>\n <div className='record-bit-title'>\n <Title size='sm' icon={this.props.icon}>\n {this.props.title} {this.renderTooltip()}\n </Title>\n </div>\n <div className='record-bit-children'>{this.props.children ?? '-'}</div>\n </div>\n );\n }\n}\n","export {RecordBit} from './RecordBit';\n","import React from 'react';\nimport {FontAwesomeIcon} from '@fortawesome/react-fontawesome';\nimport {IconDefinition} from '@fortawesome/pro-light-svg-icons';\nimport classnames from 'classnames';\nimport {PropsWithClassName} from '../Utils';\n\nimport './Title.less';\n\nexport interface TitleProps extends PropsWithClassName {\n icon?: IconDefinition;\n size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl';\n style?: React.CSSProperties;\n}\n\nexport class Title extends React.PureComponent<TitleProps> {\n static displayName: string = 'Title';\n\n static defaultProps: TitleProps = {\n size: 'xxl',\n };\n\n private renderIcon(): React.ReactNode {\n if (this.props.icon == null) {\n return null;\n }\n\n let classNames = classnames({'mr-2': this.props.children !== '' && this.props.children != null});\n\n return <FontAwesomeIcon icon={this.props.icon} className={classNames} fixedWidth />;\n }\n\n private renderContent(): React.ReactNode {\n return (\n <>\n {this.renderIcon()}\n {this.props.children}\n </>\n );\n }\n\n public render(): React.ReactNode {\n let props = {className: this.props.className, style: this.props.style};\n\n switch (this.props.size) {\n case 'xs':\n return <h6 {...props}>{this.renderContent()}</h6>;\n case 'sm':\n return <h5 {...props}>{this.renderContent()}</h5>;\n case 'md':\n return <h4 {...props}>{this.renderContent()}</h4>;\n case 'lg':\n return <h3 {...props}>{this.renderContent()}</h3>;\n case 'xl':\n return <h2 {...props}>{this.renderContent()}</h2>;\n default:\n return <h1 {...props}>{this.renderContent()}</h1>;\n }\n }\n}\n","export {Title} from './Title';\n","import React from 'react';\nimport classnames from 'classnames';\nimport OverlayTrigger, {OverlayTriggerProps} from 'react-bootstrap/OverlayTrigger';\nimport {PropsWithClassName} from '../Utils';\nimport './Tooltip.less';\n\nexport type TooltipOverlayProps = Omit<OverlayTriggerProps, 'overlay'>;\nexport interface TooltipProps extends TooltipOverlayProps, PropsWithClassName {\n content: React.ReactNode;\n}\n/**\n * ### Overview\n *\n * A tooltip is a short message which is triggered when the users hovers or clicks on a specific element inside the interface.\n *\n * ### Best practices\n * - Don’t use a tooltip when the information you want to place inside it is vital for the user to complete the task\n * - The text inside the tooltip should be brief but helpful\n * - Use tooltips to describe the action of icon-only buttons\n * - Make sure that the tooltip’s placement doesn’t hide its related content behind it\n */\nexport const Tooltip: React.FC<TooltipProps> = React.memo((props) => {\n let bs4v3Wrapper = document.querySelector('.bs4-v3-external-container') as HTMLElement,\n placement = props.placement ?? 'top',\n classNames = classnames('tooltip atoka-tooltip', props.className, {\n 'top bs-tooltip-top': placement.indexOf('top') === 0,\n 'right bs-tooltip-right': placement.indexOf('right') === 0,\n 'bottom bs-tooltip-bottom': placement.indexOf('bottom') === 0,\n 'left bs-tooltip-left': placement.indexOf('left') === 0,\n });\n\n const {content, ...overlayProps} = props,\n renderTooltip: OverlayTriggerProps['overlay'] = ({arrowProps, ...tooltipProps}) => {\n // {vrut} do not pass show to the component, this will raise an error, see PANDA-439\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n const {show, ...rest} = tooltipProps,\n component = (\n <div {...rest} className={classNames} role='tooltip'>\n <div className='tooltip-inner'>\n <div className='arrow arrow-back' {...arrowProps} />\n {content}\n <div className='arrow arrow-front' {...arrowProps} />\n </div>\n </div>\n );\n\n return component;\n };\n\n return (\n <OverlayTrigger {...overlayProps} container={bs4v3Wrapper} overlay={renderTooltip}>\n {props.children}\n </OverlayTrigger>\n );\n});\n\nTooltip.displayName = 'Tooltip';\n","export * from './Tooltip';\n","module.exports = __WEBPACK_EXTERNAL_MODULE__4997__;","module.exports = __WEBPACK_EXTERNAL_MODULE__5692__;","module.exports = __WEBPACK_EXTERNAL_MODULE__8310__;","module.exports = __WEBPACK_EXTERNAL_MODULE__8156__;","module.exports = __WEBPACK_EXTERNAL_MODULE__6043__;","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","var deferred = [];\n__webpack_require__.O = (result, chunkIds, fn, priority) => {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar [chunkIds, fn, priority] = deferred[i];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t2019: 0,\n\t7564: 0,\n\t2823: 0,\n\t1981: 0\n};\n\n// no chunk on demand loading\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\n\tvar [chunkIds, moreModules, runtime] = data;\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkIds[i]] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkatoka_design_system\"] = self[\"webpackChunkatoka_design_system\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [1981], () => (__webpack_require__(5256)))\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n",""],"names":[],"sourceRoot":""}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { PropsWithClassName } from '../Utils';
|
|
3
|
+
import './ResultItemCard.less';
|
|
4
|
+
import { ResultItemCardFooterProps } from './ResultItemCardFooter';
|
|
5
|
+
import { ResultItemCardImageProps } from './ResultItemCardImage';
|
|
6
|
+
import { ResultItemCardSubtitleProps } from './ResultItemCardSubtitle';
|
|
7
|
+
import { ResultItemCardTextProps } from './ResultItemCardText';
|
|
8
|
+
import { ResultItemCardTitleProps } from './ResultItemCardTitle';
|
|
9
|
+
export declare class ResultItemCard extends React.PureComponent<PropsWithClassName> {
|
|
10
|
+
static displayName: string;
|
|
11
|
+
static Title: React.FC<ResultItemCardTitleProps>;
|
|
12
|
+
static Subtitle: React.FC<ResultItemCardSubtitleProps>;
|
|
13
|
+
static Text: React.FC<ResultItemCardTextProps>;
|
|
14
|
+
static Footer: React.FC<ResultItemCardFooterProps>;
|
|
15
|
+
static Image: React.FC<ResultItemCardImageProps>;
|
|
16
|
+
static Actions: React.FC<React.PropsWithChildren<unknown>>;
|
|
17
|
+
private renderContent;
|
|
18
|
+
render(): React.ReactNode;
|
|
19
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { TitleProps } from '../Title/Title';
|
|
3
|
+
import './ResultItemCardTitle.less';
|
|
4
|
+
export interface ResultItemCardTitleProps extends TitleProps {
|
|
5
|
+
badge?: React.ReactNode;
|
|
6
|
+
}
|
|
7
|
+
export declare const ResultItemCardTitle: React.FC<ResultItemCardTitleProps>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ResultItemCard } from './ResultItemCard';
|