@spaziodati/atoka-design-system 2.1.6 → 2.1.7

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.
Files changed (109) hide show
  1. package/AddableItems/index.js +1 -1050
  2. package/Alert/index.js +1 -321
  3. package/Badge/index.js +1 -285
  4. package/Bs4V3Wrapper/index.js +1 -253
  5. package/BubbleChart/index.js +2 -3424
  6. package/BubbleChart/index.js.LICENSE.txt +1 -0
  7. package/Button/index.js +1 -325
  8. package/ButtonDropdown/index.js +1 -601
  9. package/CardsPage/index.js +1 -2505
  10. package/CursorPagination/index.js +1 -948
  11. package/DatePicker/index.js +1 -449
  12. package/DetailPage/index.js +1 -1990
  13. package/Dropdown/index.js +1 -723
  14. package/EditableString/index.js +1 -3238
  15. package/EllipsableContent/index.js +1 -786
  16. package/EmptyState/index.js +1 -280
  17. package/Facet/index.js +1 -919
  18. package/FacetSection/index.js +1 -447
  19. package/FadeAnimation/index.js +1 -1157
  20. package/FeedbackButton/index.js +1 -400
  21. package/Form/index.js +1 -450
  22. package/Funnel/index.js +2 -3624
  23. package/Funnel/index.js.LICENSE.txt +1 -0
  24. package/GridCard/index.js +1 -1626
  25. package/HighlightableText/index.js +1 -625
  26. package/Histogram/index.js +1 -2346
  27. package/InlineStringEditor/index.js +1 -1862
  28. package/InputGroup/index.js +1 -279
  29. package/Jumbotron/index.js +1 -272
  30. package/Map/index.js +2 -5187
  31. package/Map/index.js.LICENSE.txt +10 -0
  32. package/Modal/index.js +1 -745
  33. package/Navbar/index.js +1 -3430
  34. package/Pagination/index.js +1 -990
  35. package/PieChart/index.js +1 -1971
  36. package/PublicFooter/index.js +1 -458
  37. package/PublicNavbar/index.js +1 -257
  38. package/RecordBit/index.js +1 -486
  39. package/ResultItemCard/index.js +1 -1073
  40. package/SelectDropdown/index.js +1 -1506
  41. package/Spinner/index.js +1 -327
  42. package/StatisticsItemCard/index.js +1 -1796
  43. package/StatisticsItemNumeric/index.js +1 -285
  44. package/StatisticsLegend/index.js +1 -1555
  45. package/StatisticsTooltip/index.js +1 -796
  46. package/Suggester/index.js +1 -1126
  47. package/SunBurst/index.js +1 -1166
  48. package/TabSwitcher/index.js +1 -1135
  49. package/Title/index.js +1 -304
  50. package/Toasts/index.js +1 -2285
  51. package/ToggleButtonGroup/index.js +1 -607
  52. package/Tooltip/index.js +1 -291
  53. package/Utils/index.js +2 -3002
  54. package/Utils/index.js.LICENSE.txt +1 -0
  55. package/{atoka-design-system-2.1.6.min.css → atoka-design-system-2.1.7.min.css} +0 -0
  56. package/index.js +2 -16819
  57. package/index.js.LICENSE.txt +10 -0
  58. package/package.json +1 -1
  59. package/AddableItems/index.js.map +0 -1
  60. package/Alert/index.js.map +0 -1
  61. package/Badge/index.js.map +0 -1
  62. package/Bs4V3Wrapper/index.js.map +0 -1
  63. package/BubbleChart/index.js.map +0 -1
  64. package/Button/index.js.map +0 -1
  65. package/ButtonDropdown/index.js.map +0 -1
  66. package/CardsPage/index.js.map +0 -1
  67. package/CursorPagination/index.js.map +0 -1
  68. package/DatePicker/index.js.map +0 -1
  69. package/DetailPage/index.js.map +0 -1
  70. package/Dropdown/index.js.map +0 -1
  71. package/EditableString/index.js.map +0 -1
  72. package/EllipsableContent/index.js.map +0 -1
  73. package/EmptyState/index.js.map +0 -1
  74. package/Facet/index.js.map +0 -1
  75. package/FacetSection/index.js.map +0 -1
  76. package/FadeAnimation/index.js.map +0 -1
  77. package/FeedbackButton/index.js.map +0 -1
  78. package/Form/index.js.map +0 -1
  79. package/Funnel/index.js.map +0 -1
  80. package/GridCard/index.js.map +0 -1
  81. package/HighlightableText/index.js.map +0 -1
  82. package/Histogram/index.js.map +0 -1
  83. package/InlineStringEditor/index.js.map +0 -1
  84. package/InputGroup/index.js.map +0 -1
  85. package/Jumbotron/index.js.map +0 -1
  86. package/Map/index.js.map +0 -1
  87. package/Modal/index.js.map +0 -1
  88. package/Navbar/index.js.map +0 -1
  89. package/Pagination/index.js.map +0 -1
  90. package/PieChart/index.js.map +0 -1
  91. package/PublicFooter/index.js.map +0 -1
  92. package/PublicNavbar/index.js.map +0 -1
  93. package/RecordBit/index.js.map +0 -1
  94. package/ResultItemCard/index.js.map +0 -1
  95. package/SelectDropdown/index.js.map +0 -1
  96. package/Spinner/index.js.map +0 -1
  97. package/StatisticsItemCard/index.js.map +0 -1
  98. package/StatisticsItemNumeric/index.js.map +0 -1
  99. package/StatisticsLegend/index.js.map +0 -1
  100. package/StatisticsTooltip/index.js.map +0 -1
  101. package/Suggester/index.js.map +0 -1
  102. package/SunBurst/index.js.map +0 -1
  103. package/TabSwitcher/index.js.map +0 -1
  104. package/Title/index.js.map +0 -1
  105. package/Toasts/index.js.map +0 -1
  106. package/ToggleButtonGroup/index.js.map +0 -1
  107. package/Tooltip/index.js.map +0 -1
  108. package/Utils/index.js.map +0 -1
  109. package/index.js.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"StatisticsItemNumeric/index.js","mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD,O;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACV0B;AACU;AAC2B;AAEzB;AAUtC;IAAoC,yCAA+C;IAAnF;;IA0CA,CAAC;IAvCW,0CAAU,GAAlB;QACI,OAAO,CACH,iDAAM,SAAS,EAAC,8BAA8B;YAC1C,uCAAC,kCAAe,IAAC,SAAS,EAAC,OAAO,EAAC,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI,GAAI,CACzD,CACV,CAAC;IACN,CAAC;IAEO,2CAAW,GAAnB;QACI,IAAI,IAAI,CAAC,KAAK,CAAC,KAAK,IAAI,IAAI,EAAE;YAC1B,OAAO,IAAI,CAAC;SACf;QAED,OAAO,gDAAK,SAAS,EAAC,0BAA0B,IAAE,IAAI,CAAC,KAAK,CAAC,KAAK,CAAO,CAAC;IAC9E,CAAC;IAEO,8CAAc,GAAtB;QACI,IAAI,IAAI,CAAC,KAAK,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A;;WAEA;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;;;;;UEjDA;UACA;UACA;UACA;UACA","sources":["webpack://atoka-design-system/webpack/universalModuleDefinition","webpack://atoka-design-system/./src/components/StatisticsItemNumeric/StatisticsItemNumeric.tsx","webpack://atoka-design-system/./src/components/StatisticsItemNumeric/index.ts","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/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/react-fontawesome\"), require(\"classnames\"), require(\"react\"));\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine(\"atoka-design-system\", [\"@fortawesome/react-fontawesome\", \"classnames\", \"react\"], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"atoka-design-system\"] = factory(require(\"@fortawesome/react-fontawesome\"), require(\"classnames\"), require(\"react\"));\n\telse\n\t\troot[\"atoka-design-system\"] = factory(root[\"@fortawesome/react-fontawesome\"], root[\"classnames\"], root[\"react\"]);\n})(self, function(__WEBPACK_EXTERNAL_MODULE__5692__, __WEBPACK_EXTERNAL_MODULE__8310__, __WEBPACK_EXTERNAL_MODULE__8156__) {\nreturn ","import React from 'react';\nimport classnames from 'classnames';\nimport {FontAwesomeIcon} from '@fortawesome/react-fontawesome';\n\nimport './StatisticsItemNumeric.less';\nimport {IconDefinition} from '@fortawesome/pro-light-svg-icons';\nimport {PropsWithClassName} from '../Utils';\n\ninterface StatisticsItemNumericProps extends PropsWithClassName {\n icon: IconDefinition;\n value: string;\n subtitle?: string;\n}\n\nclass StatisticsItemNumeric extends React.PureComponent<StatisticsItemNumericProps> {\n static displayName: string = 'StatisticsItemNumeric';\n\n private renderIcon(): React.ReactNode {\n return (\n <span className='stats-item-numeric-icon-wrap'>\n <FontAwesomeIcon className='fa-fw' icon={this.props.icon} />\n </span>\n );\n }\n\n private renderValue(): React.ReactNode {\n if (this.props.value == null) {\n return null;\n }\n\n return <div className='stats-item-numeric-value'>{this.props.value}</div>;\n }\n\n private renderSubtitle(): React.ReactNode {\n if (this.props.subtitle == null) {\n return null;\n }\n\n return <div className='stats-item-numeric-subtitle'>{this.props.subtitle}</div>;\n }\n\n private renderContent(): React.ReactNode {\n return (\n <div className='stats-item-numeric-content'>\n {this.renderIcon()}\n {this.renderValue()}\n {this.renderSubtitle()}\n </div>\n );\n }\n\n public render(): React.ReactNode {\n const className: string = classnames('stats-item-numeric', this.props.className);\n\n return <div className={className}>{this.renderContent()}</div>;\n }\n}\n\nexport {StatisticsItemNumeric, StatisticsItemNumericProps};\n","export * from './StatisticsItemNumeric';\n","module.exports = __WEBPACK_EXTERNAL_MODULE__5692__;","module.exports = __WEBPACK_EXTERNAL_MODULE__8310__;","module.exports = __WEBPACK_EXTERNAL_MODULE__8156__;","// 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\t4051: 0,\n\t5785: 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, [5785], () => (__webpack_require__(7516)))\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n",""],"names":[],"sourceRoot":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"StatisticsLegend/index.js","mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD,O;;;;;;;;;;;;;;ACVA,SAASA,OAAT,CAAiBC,GAAjB,EAAsB;EAAE,IAAI,OAAOC,MAAP,KAAkB,UAAlB,IAAgC,mFAAOA,MAAM,CAACC,QAAd,MAA2B,QAA/D,EAAyE;IAAEH,OAAO,GAAG,SAASA,OAAT,CAAiBC,GAAjB,EAAsB;MAAE,OAAO,mFAAOA,GAAd;IAAoB,CAAtD;EAAyD,CAApI,MAA0I;IAAED,OAAO,GAAG,SAASA,OAAT,CAAiBC,GAAjB,EAAsB;MAAE,OAAOA,GAAG,IAAI,OAAOC,MAAP,KAAkB,UAAzB,IAAuCD,GAAG,CAACG,WAAJ,KAAoBF,MAA3D,IAAqED,GAAG,KAAKC,MAAM,CAACG,SAApF,GAAgG,QAAhG,sFAAkHJ,GAAlH,CAAP;IAA+H,CAAjK;EAAoK;;EAAC,OAAOD,OAAO,CAACC,GAAD,CAAd;AAAsB;AAE/V;AACA;AACA;AACA;AACA;;;AACO,SAASK,WAAT,CAAqBC,MAArB,EAA6BC,GAA7B,EAAkCC,UAAlC,EAA8C;EACnD,IAAIC,EAAE,GAAGD,UAAU,CAACE,KAApB;;EAEA,IAAI,OAAOD,EAAP,KAAc,UAAlB,EAA8B;IAC5B,MAAM,IAAIE,SAAJ,CAAc,8DAA8DC,MAA9D,CAAqEb,OAAO,CAACU,EAAD,CAA5E,CAAd,CAAN;EACD,CALkD,CAKjD;EACF;EACA;;;EAGA,IAAII,gBAAgB,GAAG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+F,QAA/F,GAA0G,OAAOJ,GAAxH;EACD,CAJM,EAIJD,OAAO,CAACC,GAAD,CAJV;AAKD;;;;;;UCRD;UACA;;UAEA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;;UAEA;UACA;;UAEA;UACA;UACA;;UAEA;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/./node_modules/autobind-decorator/lib/esm/index.js","webpack://atoka-design-system/./src/components/EllipsableContent/EllipsableContent.tsx","webpack://atoka-design-system/./src/components/EllipsableContent/index.ts","webpack://atoka-design-system/./src/components/Form/FormLabel.tsx","webpack://atoka-design-system/./src/components/Form/FormCheckbox.tsx","webpack://atoka-design-system/./src/components/Form/FormRadio.tsx","webpack://atoka-design-system/./src/components/Form/FormHelp.tsx","webpack://atoka-design-system/./src/components/Form/Form.tsx","webpack://atoka-design-system/./src/components/Form/FormControlFeedBack.tsx","webpack://atoka-design-system/./src/components/Form/FormControl.tsx","webpack://atoka-design-system/./src/components/StatisticsLegend/StatisticsSVGLegend.tsx","webpack://atoka-design-system/./src/components/StatisticsLegend/StatisticsLegendItem.tsx","webpack://atoka-design-system/./src/components/StatisticsLegend/StatisticsLegend.tsx","webpack://atoka-design-system/./src/components/StatisticsLegend/helpers.tsx","webpack://atoka-design-system/./src/components/StatisticsLegend/index.ts","webpack://atoka-design-system/./src/components/Tooltip/Tooltip.tsx","webpack://atoka-design-system/./src/components/Tooltip/index.ts","webpack://atoka-design-system/./src/components/Utils/Statistics.ts","webpack://atoka-design-system/./src/components/Utils/Style.ts","webpack://atoka-design-system/./src/components/Utils/Text.ts","webpack://atoka-design-system/./src/components/Utils/Utils.tsx","webpack://atoka-design-system/external umd \"@fortawesome/pro-solid-svg-icons/faCircle\"","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/Col\"","webpack://atoka-design-system/external umd \"react-bootstrap/Container\"","webpack://atoka-design-system/external umd \"react-bootstrap/Form\"","webpack://atoka-design-system/external umd \"react-bootstrap/FormControl\"","webpack://atoka-design-system/external umd \"react-bootstrap/FormText\"","webpack://atoka-design-system/external umd \"react-bootstrap/OverlayTrigger\"","webpack://atoka-design-system/external umd \"react-bootstrap/Row\"","webpack://atoka-design-system/./node_modules/@babel/runtime/helpers/esm/typeof.js","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-solid-svg-icons/faCircle\"), require(\"@fortawesome/react-fontawesome\"), require(\"classnames\"), require(\"react\"), require(\"react-bootstrap/Col\"), require(\"react-bootstrap/Container\"), require(\"react-bootstrap/Form\"), require(\"react-bootstrap/FormControl\"), require(\"react-bootstrap/FormText\"), require(\"react-bootstrap/OverlayTrigger\"), require(\"react-bootstrap/Row\"));\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine(\"atoka-design-system\", [\"@fortawesome/pro-solid-svg-icons/faCircle\", \"@fortawesome/react-fontawesome\", \"classnames\", \"react\", \"react-bootstrap/Col\", \"react-bootstrap/Container\", \"react-bootstrap/Form\", \"react-bootstrap/FormControl\", \"react-bootstrap/FormText\", \"react-bootstrap/OverlayTrigger\", \"react-bootstrap/Row\"], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"atoka-design-system\"] = factory(require(\"@fortawesome/pro-solid-svg-icons/faCircle\"), require(\"@fortawesome/react-fontawesome\"), require(\"classnames\"), require(\"react\"), require(\"react-bootstrap/Col\"), require(\"react-bootstrap/Container\"), require(\"react-bootstrap/Form\"), require(\"react-bootstrap/FormControl\"), require(\"react-bootstrap/FormText\"), require(\"react-bootstrap/OverlayTrigger\"), require(\"react-bootstrap/Row\"));\n\telse\n\t\troot[\"atoka-design-system\"] = factory(root[\"@fortawesome/pro-solid-svg-icons/faCircle\"], root[\"@fortawesome/react-fontawesome\"], root[\"classnames\"], root[\"react\"], root[\"react-bootstrap/Col\"], root[\"react-bootstrap/Container\"], root[\"react-bootstrap/Form\"], root[\"react-bootstrap/FormControl\"], root[\"react-bootstrap/FormText\"], root[\"react-bootstrap/OverlayTrigger\"], root[\"react-bootstrap/Row\"]);\n})(self, function(__WEBPACK_EXTERNAL_MODULE__1326__, __WEBPACK_EXTERNAL_MODULE__5692__, __WEBPACK_EXTERNAL_MODULE__8310__, __WEBPACK_EXTERNAL_MODULE__8156__, __WEBPACK_EXTERNAL_MODULE__5315__, __WEBPACK_EXTERNAL_MODULE__4394__, __WEBPACK_EXTERNAL_MODULE__8721__, __WEBPACK_EXTERNAL_MODULE__1082__, __WEBPACK_EXTERNAL_MODULE__8763__, __WEBPACK_EXTERNAL_MODULE__6043__, __WEBPACK_EXTERNAL_MODULE__3915__) {\nreturn ","function _typeof(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\n/**\n * Return a descriptor removing the value and returning a getter\n * The getter will return a .bind version of the function\n * and memoize the result against a symbol on the instance\n */\nexport function boundMethod(target, key, descriptor) {\n var fn = descriptor.value;\n\n if (typeof fn !== 'function') {\n throw new TypeError(\"@boundMethod decorator can only be applied to methods not: \".concat(_typeof(fn)));\n } // In IE11 calling Object.defineProperty has a side-effect of evaluating the\n // getter for the property which is being replaced. This causes infinite\n // recursion and an \"Out of stack space\" error.\n\n\n var definingProperty = false;\n return {\n configurable: true,\n get: function get() {\n // eslint-disable-next-line no-prototype-builtins\n if (definingProperty || this === target.prototype || this.hasOwnProperty(key) || typeof fn !== 'function') {\n return fn;\n }\n\n var boundFn = fn.bind(this);\n definingProperty = true;\n Object.defineProperty(this, key, {\n configurable: true,\n get: function get() {\n return boundFn;\n },\n set: function set(value) {\n fn = value;\n delete this[key];\n }\n });\n definingProperty = false;\n return boundFn;\n },\n set: function set(value) {\n fn = value;\n }\n };\n}\n/**\n * Use boundMethod to bind all methods on the target.prototype\n */\n\nexport function boundClass(target) {\n // (Using reflect to get all keys including symbols)\n var keys; // Use Reflect if exists\n\n if (typeof Reflect !== 'undefined' && typeof Reflect.ownKeys === 'function') {\n keys = Reflect.ownKeys(target.prototype);\n } else {\n keys = Object.getOwnPropertyNames(target.prototype); // Use symbols if support is provided\n\n if (typeof Object.getOwnPropertySymbols === 'function') {\n keys = keys.concat(Object.getOwnPropertySymbols(target.prototype));\n }\n }\n\n keys.forEach(function (key) {\n // Ignore special case target method\n if (key === 'constructor') {\n return;\n }\n\n var descriptor = Object.getOwnPropertyDescriptor(target.prototype, key); // Only methods need binding\n\n if (typeof descriptor.value === 'function') {\n Object.defineProperty(target.prototype, key, boundMethod(target, key, descriptor));\n }\n });\n return target;\n}\nexport default function autobind() {\n if (arguments.length === 1) {\n return boundClass.apply(void 0, arguments);\n }\n\n return boundMethod.apply(void 0, arguments);\n}","import classnames from 'classnames';\nimport React from 'react';\n\nimport './EllipsableContent.less';\nimport {Tooltip, TooltipProps} from '../Tooltip';\nimport {findChildByComponent} from '../Utils/Utils';\n\nconst Prepend: React.FC = (props: React.PropsWithChildren<void>) => (\n <div className='ellipsable-content-prepend'>{props.children}</div>\n);\n\nPrepend.displayName = 'EllipsableContent.Prepend';\n\nconst Append: React.FC = (props: React.PropsWithChildren<void>) => (\n <div className='ellipsable-content-append'>{props.children}</div>\n);\n\nAppend.displayName = 'EllipsableContent.Append';\n\nexport type EllipsableContentContentProps = React.PropsWithChildren<\n Partial<Pick<EllipsableContentProps, 'tooltip' | 'tooltipProps'>>\n>;\n\nconst Content: React.FC = (props: EllipsableContentContentProps) => {\n const contentElement = <div className='ellipsable-content-content'>{props.children}</div>;\n\n if (props.tooltip == null) {\n return contentElement;\n }\n\n return (\n <Tooltip {...props.tooltipProps} content={props.tooltip}>\n {contentElement}\n </Tooltip>\n );\n};\n\nContent.displayName = 'EllipsableContent.Content';\n\nexport interface EllipsableContentProps {\n className?: string;\n style?: React.CSSProperties;\n tooltip?: React.ReactNode;\n tooltipProps?: Partial<Omit<TooltipProps, 'content'>>;\n}\n\nexport class EllipsableContent extends React.PureComponent<EllipsableContentProps> {\n static displayName: string = 'EllipsableContent';\n static Prepend: React.FC = Prepend;\n static Append: React.FC = Append;\n static Content: React.FC<EllipsableContentContentProps> = Content;\n\n private renderFullContent(): React.ReactNode {\n let prependElement = findChildByComponent(this.props.children, EllipsableContent.Prepend),\n contentElement = findChildByComponent(this.props.children, EllipsableContent.Content) as React.ReactElement,\n appendElement = findChildByComponent(this.props.children, EllipsableContent.Append);\n\n if (contentElement == null && (prependElement != null || appendElement != null)) {\n console.error('You must set a .Content alongside the .Append or .Prepend');\n\n return null;\n }\n\n if (contentElement == null) {\n contentElement = <EllipsableContent.Content>{this.props.children}</EllipsableContent.Content>;\n }\n\n if (this.props.tooltip != null) {\n contentElement = (\n <contentElement.type\n {...contentElement.props}\n tooltip={this.props.tooltip}\n tooltipProps={this.props.tooltipProps}\n />\n );\n }\n\n return (\n <>\n {prependElement}\n {contentElement}\n {appendElement}\n </>\n );\n }\n\n public render(): React.ReactNode {\n let className = classnames('ellipsable-content-container', this.props.className, {\n 'ellipsable-with-tooltip': this.props.tooltip != null,\n }),\n fullContent = this.renderFullContent();\n\n if (fullContent == null) {\n return null;\n }\n\n return (\n <div className={className} style={this.props.style}>\n {fullContent}\n </div>\n );\n }\n}\n","export {EllipsableContent} from './EllipsableContent';\n","import React from 'react';\nimport classnames from 'classnames';\nimport BsForm from 'react-bootstrap/Form';\nimport {FormLabelProps} from 'react-bootstrap/FormLabel';\n\nimport './FormLabel.less';\n\nexport const FormLabel: React.FC<FormLabelProps> = React.memo((props): React.ReactElement => {\n const className: string = classnames(props?.className, 'atoka-form-label');\n return <BsForm.Label className={className}>{props.children}</BsForm.Label>;\n});\n\nFormLabel.displayName = 'FormLabel';\n","import React from 'react';\nimport classnames from 'classnames';\nimport BsForm from 'react-bootstrap/Form';\nimport './FormCheckbox.less';\n\nimport {FormCheckProps as BsFormCheckProps} from 'react-bootstrap/FormCheck';\n\nexport interface FormCheckboxProps extends BsFormCheckProps {\n name?: string;\n value?: string;\n onChange?: (e: React.ChangeEvent<HTMLInputElement>) => void;\n checked?: boolean;\n}\n\nexport const FormCheckbox: React.FC<FormCheckboxProps> = (props): React.ReactElement => {\n const className: string = classnames('atoka-form-checkbox', props?.className);\n return <BsForm.Check type='checkbox' {...props} custom className={className} label={props.label ?? ''} />;\n};\n\nFormCheckbox.displayName = 'FormCheckbox';\n","import React from 'react';\nimport classnames from 'classnames';\nimport BsForm from 'react-bootstrap/Form';\nimport './FormRadio.less';\n\nimport {FormCheckProps as BsFormCheckProps} from 'react-bootstrap/FormCheck';\n\nexport interface FormRadioProps extends BsFormCheckProps {\n name?: string;\n value?: string;\n onChange?: (e: React.ChangeEvent<HTMLInputElement>) => void;\n checked?: boolean;\n}\n\nexport const FormRadio: React.FC<FormRadioProps> = (props): React.ReactElement => {\n const className: string = classnames(props?.className, 'atoka-form-radio');\n return <BsForm.Check type='radio' {...props} custom className={className} label={props.label ?? ''} />;\n};\n\nFormRadio.displayName = 'FormRadio';\n","import BsFormText, {FormTextProps as BsFormTextProps} from 'react-bootstrap/FormText';\nimport React from 'react';\nimport classnames from 'classnames';\nimport './FormHelp.less';\n\nexport interface FormHelpProps extends BsFormTextProps {\n show?: boolean;\n}\n\nexport const FormHelp: React.FC<FormHelpProps> = React.memo(({children, ...props}): React.ReactElement => {\n const className: string = classnames('d-block', props?.className);\n return (\n <BsFormText bsPrefix='atoka-form-help' className={className}>\n {children}\n </BsFormText>\n );\n});\n\nFormHelp.displayName = 'FormHelp';\n","import React from 'react';\nimport classnames from 'classnames';\nimport BsForm, {FormProps as BsFormProps} from 'react-bootstrap/Form';\n\nimport './FormLabel.less';\nimport {FormLabel} from './FormLabel';\nimport {FormControl} from './FormControl';\nimport {FormCheckbox} from './FormCheckbox';\nimport {FormRadio} from './FormRadio';\nimport {FormHelp} from './FormHelp';\n\nexport interface FormProps extends BsFormProps {\n classNames?: string;\n}\n\ntype FormType<P> = React.FC<P> & {\n Control: typeof FormControl;\n Checkbox: typeof FormCheckbox;\n Radio: typeof FormRadio;\n File: typeof BsForm.File;\n Switch: typeof BsForm.Switch;\n Label: typeof FormLabel;\n Help: typeof FormHelp;\n Group: typeof BsForm.Group;\n};\n\nconst Form: FormType<FormProps> = (props): React.ReactElement => {\n const className: string = classnames(props?.className, 'atoka-form');\n return (\n <BsForm {...props} className={className}>\n {props.children}\n </BsForm>\n );\n};\n\nForm.displayName = 'Form';\n\nForm.Control = FormControl;\nForm.Label = FormLabel;\nForm.Checkbox = FormCheckbox;\nForm.Radio = FormRadio;\nForm.File = BsForm.File;\nForm.Switch = BsForm.Switch;\nForm.Help = FormHelp;\nForm.Group = BsForm.Group;\n\nexport {Form};\n","import {FeedbackProps as BsFeedbackProps} from 'react-bootstrap/Feedback';\nimport React from 'react';\nimport classnames from 'classnames';\nimport BsFormControl from 'react-bootstrap/FormControl';\n\nexport interface FeedBackProps extends BsFeedbackProps {\n show?: boolean;\n}\n\nexport const FormControlFeedBack: React.FC<FeedBackProps> = React.memo(\n ({show = true, ...props}): React.ReactElement => {\n const className: string = classnames(props?.className, 'atoka-form-control-feedback', {\n 'd-block': show,\n });\n return (\n <BsFormControl.Feedback type={props.type} className={className}>\n {props.children}\n </BsFormControl.Feedback>\n );\n },\n);\n\nFormControlFeedBack.displayName = ' FormControlFeedBack';\n","import React, {PropsWithoutRef} from 'react';\nimport classnames from 'classnames';\nimport BsFormControl, {FormControlProps as BsFormControlProps} from 'react-bootstrap/FormControl';\nimport {FormControlFeedBack} from './FormControlFeedBack';\nimport './FormControl.less';\n\nexport interface FormControlProps extends React.PropsWithChildren<Omit<BsFormControlProps, 'size'>> {\n rows?: string;\n cols?: string;\n placeholder?: string;\n size?: 'sm' | 'md' | 'lg';\n withShadow?: boolean;\n defaultValue?: string;\n onKeyPress?: React.KeyboardEventHandler<HTMLInputElement>;\n onKeyDown?: React.KeyboardEventHandler<HTMLInputElement>;\n}\n// when updating nivo, change me, I'm all strange because of this library! (the commit creating this comment might be of help)\ntype NivoPleasingForwardRefComponent<T, P> = (props: P & React.RefAttributes<T>) => React.ReactElement | null;\n\ntype FormControlWithForwardedRef = NivoPleasingForwardRefComponent<\n HTMLInputElement,\n PropsWithoutRef<FormControlProps>\n> & {displayName?: string};\n\nconst FormControlComponent: FormControlWithForwardedRef = React.forwardRef<HTMLInputElement, FormControlProps>(\n ({size = 'md', ...props}: FormControlProps, ref?: React.Ref<HTMLInputElement>) => {\n const className: string = classnames('atoka-form-control', props?.className, {\n 'atoka-shadow': props.withShadow,\n 'disabled': props.disabled,\n });\n\n return (\n <BsFormControl\n as={props.as}\n rows={props.rows}\n cols={props.cols}\n placeholder={props.placeholder}\n className={className}\n disabled={props.disabled}\n readOnly={props.readOnly}\n value={props.value}\n onChange={props.onChange}\n onKeyPress={props.onKeyPress}\n onKeyDown={props.onKeyDown}\n defaultValue={props.defaultValue}\n size={size === 'md' ? undefined : size}\n type={props.type}\n id={props.id}\n isValid={props.isValid}\n isInvalid={props.isInvalid}\n ref={ref}\n autoComplete='off'\n >\n {props.children}\n </BsFormControl>\n );\n },\n);\n\nFormControlComponent.displayName = 'FormControlComponent';\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nconst FormControl: typeof FormControlComponent & {FeedBack: typeof FormControlFeedBack} = FormControlComponent as any;\n\nFormControl.FeedBack = FormControlFeedBack;\n\nFormControl.displayName = 'FormControl';\n\nexport {FormControl};\n","import React from 'react';\nimport {LabelFormatter, ValueFormatter} from '@nivo/bar';\nimport autobind from 'autobind-decorator';\nimport {DataPoint} from '../Utils/CommonTypes';\nimport {gray400} from '../Utils/Style';\nimport {normalizePercentage} from '../Utils/Statistics';\n\ninterface StatisticsSVGLegendProps {\n data: DataPoint[];\n valueFormat?: ValueFormatter;\n labelFormat?: LabelFormatter;\n x: number;\n y: number;\n width?: number;\n dy?: number;\n fontSize?: number;\n colors?: string[];\n}\n\nexport class StatisticsSVGLegend extends React.PureComponent<StatisticsSVGLegendProps> {\n static displayName: string = 'StatisticsSVGLegend';\n\n public static defaultProps: Partial<StatisticsSVGLegendProps> = {\n dy: 0,\n fontSize: 11,\n colors: [],\n };\n\n @autobind\n private renderSVGDataInfoBit(item: DataPoint, i: number): React.ReactNode {\n let label = item.label ?? '',\n percentage = this.renderPercentage(item),\n dot = this.renderCircle(this.props.colors?.[i]);\n\n return (\n <React.Fragment key={`${item.label}-legend-data`}>\n {dot}\n <text\n x={this.props.x}\n y={this.props.y}\n fill={gray400}\n fontSize={this.props.fontSize}\n key={`${item.label}-legend-data`}\n >\n <tspan dx={dot == null ? 0 : 10}>{this.props.labelFormat?.(label) ?? label}</tspan>\n <tspan x={this.getRightElementX()} dx={5} fill='black' fontWeight='bold' textAnchor='end'>\n {this.props.valueFormat?.(item.value) ?? item.value}\n </tspan>\n {percentage}\n </text>\n </React.Fragment>\n );\n }\n\n @autobind\n private renderSVGDataInfoBitMoreItems(item: DataPoint, i: number): React.ReactNode {\n let label = item.label ?? '',\n percentage = this.renderPercentage(item),\n dot = this.renderCircle(this.props.colors?.[i]);\n\n return (\n <React.Fragment key={`${item.label}-legend-data-items`}>\n {dot}\n <tspan dx={i === 0 || dot != null ? 0 : 10} fill={gray400}>\n {this.props.labelFormat?.(label) ?? label}\n </tspan>\n <tspan dx={5} fill='black' fontWeight='bold'>\n {this.props.valueFormat?.(item.value) ?? item.value}\n </tspan>\n {percentage}\n </React.Fragment>\n );\n }\n\n private renderCircle(color: string | undefined): React.ReactNode {\n if (color == null) {\n return null;\n }\n return <circle cx={this.props.x} cy={this.props.y - 3} r='5' fill={color} />;\n }\n\n private renderPercentage(item: DataPoint): React.ReactNode {\n let percentage = item.percentage != null ? normalizePercentage(item.percentage) : null;\n if (percentage == null) {\n return null;\n }\n return (\n <tspan x={this.getRightElementX()} dx={5} fill={this.props.colors?.[0]}>\n {percentage}\n </tspan>\n );\n }\n\n private getRightElementX(): number | undefined {\n let width = this.props.width;\n if (width == null) {\n return undefined;\n }\n\n return (this.props.x === 0 ? width / 2 : width) - 18;\n }\n\n private removeItemIfNoValue(propsData: DataPoint[]): DataPoint[] {\n return propsData.filter((item: DataPoint) => item.value !== null);\n }\n\n public render(): React.ReactNode {\n let legendData = this.removeItemIfNoValue(this.props.data);\n\n if (legendData?.length > 1) {\n return (\n <g>\n <text\n x={this.props.x}\n y={this.props.y}\n dy={this.props.dy}\n fill={gray400}\n fontSize={this.props.fontSize}\n key='legend-data-bit'\n className='legend-data-bit'\n >\n {legendData.map(this.renderSVGDataInfoBitMoreItems)}\n </text>\n </g>\n );\n }\n return <g>{legendData.map(this.renderSVGDataInfoBit)}</g>;\n }\n}\n","import classnames from 'classnames';\nimport React from 'react';\nimport Col from 'react-bootstrap/Col';\n// eslint-disable-next-line import/no-internal-modules\nimport {faCircle} from '@fortawesome/pro-solid-svg-icons/faCircle';\nimport {FontAwesomeIcon} from '@fortawesome/react-fontawesome';\nimport {Layout} from '../Histogram/Types';\nimport {NumberToStringFormatterType} from '../Utils/CommonTypes';\nimport {EllipsableContent} from '../EllipsableContent';\nimport {isStringEmpty} from '../Utils/Text';\nimport {normalizePercentage} from '../Utils/Statistics';\nimport {StatisticsLegendData} from './StatisticsLegend';\n\nexport interface StatisticsLegendItemProps {\n /**\n * The accessor for the label. It can be used with or without the value.\n * If your data has this key and you want it not to be present in the data,\n * leave this prop without value.\n * */\n legendDataLabelKey?: string;\n /**\n * The accessor for the value. It can be used with or without the label.\n * If your data has this key and you want it not to be present in the data,\n * leave this prop without value.\n * */\n legendDataValueKey?: string;\n /**\n * The accessor for the percentage.\n * If your data has this key and you want it not to be present in the data,\n * leave this prop without value.\n * */\n legendDataPercentageKey?: string;\n numberToStringFormatter?: NumberToStringFormatterType;\n /**\n * id?: string;\n * label?: string;\n * percentage?: number;\n * value?: number;\n * */\n data: StatisticsLegendData;\n /** hexadecimal color */\n color: string;\n /** This string will be displayed in the legend of the 'other' slice */\n otherId?: string;\n key?: string;\n /** This prop is usable only with layout = vertical */\n columnNumber: 1 | 2 | 3;\n /** Please use the columnNumber prop to customize the column number when layout is vertical */\n layout: Layout;\n}\n\nexport class StatisticsLegendItem extends React.PureComponent<StatisticsLegendItemProps> {\n static displayName: string = 'StatisticsLegendItem';\n\n private renderRightBlock(): React.ReactNode {\n let items = [this.renderValue(), this.renderPercentage()].filter((node) => node != null);\n if (items.length == null) {\n return null;\n }\n\n return <EllipsableContent.Append>{items}</EllipsableContent.Append>;\n }\n\n private renderValue(): React.ReactNode {\n let {legendDataValueKey, numberToStringFormatter, data} = this.props;\n if (legendDataValueKey == null || data[legendDataValueKey] == null) {\n return null;\n }\n let value = data[legendDataValueKey],\n newValue = numberToStringFormatter ? numberToStringFormatter(value) : String(value);\n return (\n <div key='value-container' className='value-container font-weight-bold text-nowrap'>\n {newValue}\n </div>\n );\n }\n\n private renderPercentage(): React.ReactNode {\n let {legendDataPercentageKey, data} = this.props;\n if (legendDataPercentageKey == null || data[legendDataPercentageKey] == null) {\n return null;\n }\n\n const percentage = normalizePercentage(data[legendDataPercentageKey]);\n return (\n <div key='percentage-container' className='percentage-container ml-1'>\n {percentage}\n </div>\n );\n }\n\n private renderOtherLabel(data: StatisticsLegendData): string {\n if (isStringEmpty(data.label)) {\n return String(data?.id ?? '');\n }\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n return data!.label!;\n }\n\n private renderLabel(): string {\n let {legendDataLabelKey, data, otherId} = this.props;\n\n if (data.id === otherId) {\n return this.renderOtherLabel(data);\n }\n\n return legendDataLabelKey == null ? null : data?.[legendDataLabelKey];\n }\n\n public render(): React.ReactNode {\n let {columnNumber, color, data} = this.props;\n\n let className = classnames('legend-item px-1', {\n 'flex-basis-0': this.props.layout === 'horizontal',\n });\n\n return (\n <Col sm={24 / columnNumber} className={className} key={`legend-item-${data.id}`}>\n <EllipsableContent className='label-container w-100 justify-content-between'>\n <EllipsableContent.Content>\n <FontAwesomeIcon icon={faCircle} color={color} className='mr-1' />\n {this.renderLabel()}\n </EllipsableContent.Content>\n {this.renderRightBlock()}\n </EllipsableContent>\n </Col>\n );\n }\n}\n","import React from 'react';\nimport Container from 'react-bootstrap/Container';\nimport Row from 'react-bootstrap/Row';\n\nimport './StatisticsLegend.less';\nimport {DataPoint, NumberToStringFormatterType} from '../Utils/CommonTypes';\nimport {Layout} from '../Histogram/Types';\nimport {StatisticsLegendItem} from './StatisticsLegendItem';\n\nexport type StatisticsLegendData = Pick<Partial<DataPoint>, 'id' | 'percentage' | 'label' | 'value'>;\n\nexport interface StatisticsLegendProps {\n data: StatisticsLegendData[];\n /**\n * The accessor for the label. It can be used with or without the value.\n * If your data has this key and you want it not to be present in the data,\n * leave this prop without value.\n * */\n legendDataLabelKey?: string;\n /**\n * The accessor for the value. It can be used with or without the label.\n * If your data has this key and you want it not to be present in the data,\n * leave this prop without value.\n * */\n legendDataValueKey?: string;\n /**\n * The accessor for the percentage.\n * If your data has this key and you want it not to be present in the data,\n * leave this prop without value.\n * */\n legendDataPercentageKey?: string;\n /** This string will be displayed in the legend of the 'other' slice */\n otherId?: string;\n colors: string[];\n numberToStringFormatter?: NumberToStringFormatterType;\n /** Please use the columnNumber prop to customize the column number when the layout is vertical */\n layout?: Layout;\n /** This prop is usable only with layout = vertical */\n columnNumber?: 1 | 2 | 3;\n}\n\nexport const StatisticsLegend: React.FC<StatisticsLegendProps> = React.memo(\n ({\n data,\n otherId,\n colors,\n layout = 'vertical',\n columnNumber = 2,\n numberToStringFormatter,\n legendDataLabelKey,\n legendDataValueKey,\n legendDataPercentageKey,\n }) => {\n // eslint-disable-next-line react/display-name\n function renderItem(item: StatisticsLegendData, i: number) {\n let {id} = item,\n color = id === otherId ? colors?.[colors.length - 1] : colors?.[i];\n return (\n <StatisticsLegendItem\n data={item}\n numberToStringFormatter={numberToStringFormatter}\n legendDataValueKey={legendDataValueKey}\n legendDataLabelKey={legendDataLabelKey}\n legendDataPercentageKey={legendDataPercentageKey}\n color={color}\n otherId={otherId}\n key={id + color}\n columnNumber={columnNumber}\n layout={layout}\n />\n );\n }\n\n function removeItemIfOtherWithNoValue(propsData: StatisticsLegendData[]): StatisticsLegendData[] {\n return propsData.filter((item: StatisticsLegendData) => item.value !== 0 || item.id !== otherId);\n }\n\n let legendData = removeItemIfOtherWithNoValue(data);\n\n if (layout === 'horizontal') {\n return <div className='legend-container'>{legendData.map(renderItem)}</div>;\n }\n\n return (\n <Container className='legend-container'>\n <Row className='w-100'>{legendData.map(renderItem)}</Row>\n </Container>\n );\n },\n);\n\nStatisticsLegend.displayName = 'StatisticsLegend';\n","import React from 'react';\nimport {Layout} from '../Histogram/Types';\nimport {NumberToStringFormatterType} from '../Utils/CommonTypes';\nimport {StatisticsLegendData} from './StatisticsLegend';\nimport {StatisticsLegend} from './index';\n\nexport interface getRenderStatisticsLegendData {\n data: StatisticsLegendData[];\n otherId: string;\n colors: [];\n numberToStringFormatter?: NumberToStringFormatterType;\n}\n\nexport interface StatisticsLegendPropsFromUser {\n legendDataLabelKey?: string;\n legendDataValueKey?: string;\n legendDataPercentageKey?: string;\n layout?: Layout;\n columnsNumber?: 1 | 2 | 3;\n}\n\nexport type getRenderStatisticsLegendType = ({\n legendDataLabelKey,\n legendDataValueKey,\n legendDataPercentageKey,\n layout,\n columnsNumber,\n}: StatisticsLegendPropsFromUser) => (props: getRenderStatisticsLegendData) => JSX.Element;\n\nexport const getRenderStatisticsLegend: getRenderStatisticsLegendType =\n ({legendDataLabelKey, legendDataValueKey, legendDataPercentageKey, layout, columnsNumber}) =>\n // eslint-disable-next-line react/display-name\n ({data, otherId, colors, numberToStringFormatter}) => {\n return (\n <StatisticsLegend\n layout={layout}\n data={data}\n otherId={otherId}\n colors={colors}\n columnNumber={columnsNumber}\n numberToStringFormatter={numberToStringFormatter}\n legendDataLabelKey={legendDataLabelKey}\n legendDataValueKey={legendDataValueKey}\n legendDataPercentageKey={legendDataPercentageKey}\n />\n );\n };\n","export {StatisticsLegend, StatisticsLegendProps} from './StatisticsLegend';\nexport {getRenderStatisticsLegend} from './helpers';\nexport {StatisticsSVGLegend} from './StatisticsSVGLegend';\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","import {clone} from '../Utils/Utils';\nimport {sortObjDesc} from './Utils';\n\nexport function createDataWithOtherSlice<T extends Record<string, unknown>>(\n data: T[],\n otherId?: string,\n otherLabel?: string,\n maxSlicesNumber: number = 0,\n total?: number,\n dataValueKey: string = 'value',\n): T[] {\n let otherValue = 0,\n newOtherId: string = otherId ?? 'other',\n // We know it is defined but Typescript does not get it.\n newmaxSlicesNumber: number = maxSlicesNumber ?? 0,\n newData: T[] = [],\n maxToMinData = data?.sort(sortObjDesc(dataValueKey));\n\n maxToMinData?.forEach((node: T, i: number) => {\n if (i < newmaxSlicesNumber && node.id !== otherId) {\n newData.push(createCleanTree<T>(node));\n } else {\n let nodeValue = Number(node?.value) ?? 0;\n otherValue += nodeValue;\n }\n });\n\n let otherNode = {};\n otherNode['id'] = newOtherId;\n otherNode['value'] = parseFloat(otherValue.toFixed(2));\n otherNode['initialValue'] = parseFloat(otherValue.toFixed(2));\n otherNode['label'] = otherLabel ?? newOtherId ?? '';\n\n if (data?.[0]?.percentage != null && total != null) {\n otherNode['percentage'] = (otherValue / total) * 100;\n }\n if (maxSlicesNumber !== Infinity || otherValue !== 0) {\n newData.push(otherNode as T);\n }\n\n return newData;\n}\n\nexport function createCleanTree<A extends Record<string, unknown>>(node: A): A {\n if (node.children == null) {\n return node;\n }\n let newNode = clone(node);\n removeValueIfChildren(newNode);\n return newNode;\n}\n// eslint-disable-next-line @typescript-eslint/ban-types\nfunction removeValueIfChildren<B extends object>(node: B): void {\n let children = (node?.['children'] ?? []) as B[];\n node['initialValue'] = node['value'];\n if (children.length > 0) {\n delete node['value'];\n }\n for (let child of children) {\n removeValueIfChildren(child);\n }\n}\n\nexport function normalizePercentage(value: number): string {\n return `${parseInt(value?.toFixed?.(0), 10)}%`;\n}\n","import {scaleLinear, ScaleLinear} from 'd3-scale';\n\nfunction generateRangeColor(\n len: number,\n rangeColors: string[] = ['#82CA9D', '#f6ea25', '#F7977A'],\n): string[] | undefined {\n const generatedColors = [];\n\n if (len === 0) {\n return undefined;\n }\n\n let colors: ScaleLinear<string, string> = scaleLinear<string, string>(),\n domain = calculateDomain(rangeColors.length, rangeColors.length),\n targetDomain = calculateDomain(len, rangeColors.length);\n\n colors = colors.domain(domain).range(rangeColors);\n for (let i = 0; i < len; i++) {\n generatedColors.push(colors(targetDomain[i]));\n }\n return generatedColors;\n}\n\nexport function calculateDomain(len: number, rangeColorsLength: number): number[] {\n let domain = [];\n domain.push(0);\n for (let i = 0; i < len - 2; i++) {\n let num = Number((rangeColorsLength / len) * (i + 1));\n domain.push(parseFloat(num.toFixed(2)));\n }\n domain.push(rangeColorsLength);\n return domain;\n}\n// Keep these in sync with variables.less\nlet white = '#FFFFFF',\n blue25 = '#eef2f5',\n blue30 = '#CBD8E0',\n blue50 = '#AFD1E0',\n blue80 = '#8FB7CB',\n blue90 = '#94C2DA',\n blue95 = '#6E9DB5',\n blue100 = '#578EA8',\n blue300 = 'rgb(32, 88, 113)', // #205871\n blue400 = '#11455C',\n gray100 = '#FAFAFA',\n gray200 = '#EBEBEB',\n gray300 = '#B0B0B0',\n gray400 = '#717171',\n yellow = '#FFBB00',\n orange = '#F38522',\n red = '#F72200',\n green = '#309B0A',\n purple = '#63619F',\n viola = '#965DA3',\n pink200 = '#C55795',\n pink100 = '#E85778',\n salmon = '#F86752',\n black = '#222222';\n\nexport {\n generateRangeColor,\n white,\n blue25,\n blue30,\n blue50,\n blue80,\n blue90,\n blue95,\n blue100,\n blue300,\n gray200,\n blue400,\n yellow,\n orange,\n red,\n green,\n gray100,\n gray300,\n gray400,\n purple,\n viola,\n pink100,\n pink200,\n salmon,\n black,\n};\n","import {LabelFormatter} from '@nivo/bar';\nimport {DataPoint, Value} from './CommonTypes';\n\nexport function isStringEmpty(s: string | undefined | null): boolean {\n if (s == null) {\n return true;\n }\n\n return s.match(/^\\s*$/) !== null;\n}\n\nexport function slugify(text: string): string {\n const a = 'àáâäæãåāăąçćčđďèéêëēėęěğǵḧîïíīįìłḿñńǹňôöòóœøōõőṕŕřßśšşșťțûüùúūǘůűųẃẍÿýžźż·/_,:;',\n b = 'aaaaaaaaaacccddeeeeeeeegghiiiiiilmnnnnoooooooooprrsssssttuuuuuuuuuwxyyzzz------',\n p = new RegExp(a.split('').join('|'), 'g');\n\n return text\n .toString()\n .toLowerCase()\n .replace(/\\s+/g, '-') // Replace spaces with -\n .replace(p, (c) => b.charAt(a.indexOf(c))) // Replace special characters\n .replace(/&/g, '-and-') // Replace & with 'and'\n .replace(/[^\\w-]+/g, '') // Remove all non-word characters\n .replace(/--+/g, '-') // Replace multiple - with single -\n .replace(/^-+/, '') // Trim - from start of text\n .replace(/-+$/, ''); // Trim - from end of text\n}\n\nexport function estimateWordSize(wordLength: number, letterPixels: number, constant: number): number {\n return wordLength * letterPixels + constant;\n}\n\nexport function ellipse(input: string | null, length: number): string {\n if (input == null) {\n return '';\n }\n\n return input.length > length ? `${input.substr(0, length - 1)}…` : input;\n}\n\nexport function matchAndFormatRangeLabel(formatter: LabelFormatter | undefined): (label: string) => string {\n return (label: string) => {\n const match = /^([\\d*]+)-([\\d*]+)$/.exec(label);\n if (match == null) {\n return label;\n }\n\n return formatRange(\n {\n from: match[1],\n to: match[2],\n },\n formatter ?? ((v: string) => v),\n );\n };\n}\n\nexport function formatRange(item: Pick<DataPoint, 'from' | 'to'>, formatter: LabelFormatter): string {\n const to = item.to === '*' ? '*' : formatter(parseInt(item.to ?? '0', 10)),\n from = formatter(parseInt(item.from ?? '0', 10));\n\n if (from === to) {\n return `${from}`;\n }\n\n return `${from} - ${to}`;\n}\n\nexport function ellipseAndFormat(\n formatter: LabelFormatter | undefined,\n maxLabelLength: number,\n): (value: Value) => string {\n return (value: Value) => {\n const strValue = value.toString();\n\n if (formatter == null) {\n return ellipse(strValue, maxLabelLength);\n }\n\n return ellipse(`${formatter(strValue)}`, maxLabelLength);\n };\n}\n\nexport function escapeRegExp(input: string): string {\n // eslint-disable-next-line\n return input.replace(/[\\-\\[\\]\\/\\{\\}\\(\\)\\*\\+\\?\\.\\\\\\^\\$\\|]/g, '\\\\$&');\n}\n\nexport function isMatching(text0: string, text1: string): boolean {\n if (text0 == null || text1 == null) {\n return false;\n }\n text0 = text0.toLowerCase();\n text1 = text1.toLowerCase();\n\n if (text1.match(' ') === null) {\n return text0.match(escapeRegExp(text1)) !== null;\n }\n\n let splitNeedles = text1\n .split(' ')\n .filter((s: string) => !isStringEmpty(s))\n .sort((a: string, b: string) => b.length - a.length);\n\n for (let needle of splitNeedles) {\n if (text0 === needle) {\n return true;\n }\n }\n\n return false;\n}\n\nexport function splitTextInParts(needles: string, text?: string): string[] {\n if (text == null) {\n return [];\n }\n\n if (needles.match(' ') === null) {\n let re = new RegExp('(' + escapeRegExp(needles) + ')', 'gi');\n\n return text.split(re);\n }\n\n let splitNeedles = needles\n .split(' ')\n .filter((s: string) => !isStringEmpty(s))\n .sort((a: string, b: string) => b.length - a.length),\n ret = [text];\n\n for (let needle of splitNeedles) {\n let re = new RegExp('(' + needle + ')', 'gi');\n for (let index = 0; index < ret.length; index++) {\n let currentText = ret[index];\n\n if (isMatching(currentText, escapeRegExp(needles))) {\n continue;\n }\n\n let newParts = currentText.split(re).filter((s: string) => s !== '');\n ret.splice(index, 1, ...newParts);\n }\n }\n\n return ret;\n}\n","import {FontAwesomeIcon} from '@fortawesome/react-fontawesome';\nimport React from 'react';\nimport {Form} from '../Form/Form';\n\nexport function findChildrenByComponent(\n children: React.ReactNode,\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n component: React.ComponentClass | React.FunctionComponent | React.ForwardRefExoticComponent<any>,\n): React.ReactNode[] {\n let ret: React.ReactNode[] = [];\n React.Children.forEach(children, (element: React.ReactElement) => {\n if (element?.type === component) {\n ret.push(element);\n }\n });\n\n return ret;\n}\n\nexport function findChildByComponent(\n children: React.ReactNode,\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n component: React.ComponentClass | React.FunctionComponent | React.ForwardRefExoticComponent<any>,\n): React.ReactNode | null {\n return findChildrenByComponent(children, component)?.[0] ?? null;\n}\n\nexport function hasChildIconOrCheckboxComponent(children: React.ReactNode): boolean {\n let ret = false;\n React.Children.forEach(children, (element: React.ReactElement) => {\n if (\n element?.type != null &&\n (element?.type === FontAwesomeIcon || element?.type === 'i' || element?.type === Form.Checkbox)\n ) {\n ret = true;\n return;\n }\n });\n\n return ret;\n}\n\nexport function scrollToTop(): void {\n window.scrollTo(0, 0);\n}\n\nexport function zip<T>(arr1: T[], arr2: T[]): T[] {\n const ret: T[] = [];\n let i: number = 0;\n\n while (arr1[i]) {\n ret.push(arr1[i]);\n ret.push(arr2[i++]);\n }\n\n return ret;\n}\n\n// eslint-disable-next-line @typescript-eslint/ban-types\nexport function sortObjDesc<T extends object>(accessor: keyof T): (a: T, b: T) => number {\n return function (a: T, b: T): number {\n let leftVal = 0,\n rightVal = 0;\n if (a?.[accessor] != null) {\n leftVal = a?.[accessor] as unknown as number;\n }\n if (b?.[accessor] != null) {\n rightVal = b?.[accessor] as unknown as number;\n }\n return leftVal > rightVal ? -1 : 1;\n };\n}\n\nexport function clone<T>(ob: T): T {\n return JSON.parse(JSON.stringify(ob));\n}\n\nexport type Debouncer = (f: () => void) => void;\n\nexport function getDebouncer(delay: number = 1): Debouncer {\n let debounceTimeout: number | null = null;\n return function debounce(f: () => void): void {\n if (debounceTimeout !== null) {\n clearTimeout(debounceTimeout);\n }\n debounceTimeout = window.setTimeout(f, delay);\n };\n}\n\nfunction isObject<T>(obj: T): boolean {\n return typeof obj === 'object' && obj != null;\n}\n\nexport function deepEqual<T>(obj1: T, obj2: T): boolean {\n if (obj1 === obj2) {\n return true;\n }\n\n if (isObject(obj1) && isObject(obj2)) {\n if (Object.keys(obj1).length !== Object.keys(obj2).length) {\n return false;\n }\n\n for (let prop in obj1) {\n if (!deepEqual(obj1[prop], obj2[prop])) {\n return false;\n }\n }\n return true;\n }\n\n return false;\n}\n\nfunction componentToHex(c: number): string {\n if (isNaN(c)) {\n throw Error('The color has not been written correctly');\n }\n const hex = c.toString(16).toUpperCase();\n return hex.length === 1 ? '0' + hex : hex;\n}\n\nfunction cleanSingleColor(c: string): string {\n return c.replace(/\"|'/g, '').trim();\n}\n\nexport function rgbToHex(rgb: string): string {\n if (rgb.includes('rgba')) {\n throw Error('not implemented');\n }\n const [r = 0, g = 0, b = 0] = rgb\n .replace('rgb', '')\n .replace(/\\(|\\)/gi, '')\n .split(',')\n .map((c: string) => parseInt(cleanSingleColor(c), 10));\n\n return '#' + componentToHex(r) + componentToHex(g) + componentToHex(b);\n}\n","module.exports = __WEBPACK_EXTERNAL_MODULE__1326__;","module.exports = __WEBPACK_EXTERNAL_MODULE__5692__;","module.exports = __WEBPACK_EXTERNAL_MODULE__8310__;","module.exports = __WEBPACK_EXTERNAL_MODULE__8156__;","module.exports = __WEBPACK_EXTERNAL_MODULE__5315__;","module.exports = __WEBPACK_EXTERNAL_MODULE__4394__;","module.exports = __WEBPACK_EXTERNAL_MODULE__8721__;","module.exports = __WEBPACK_EXTERNAL_MODULE__1082__;","module.exports = __WEBPACK_EXTERNAL_MODULE__8763__;","module.exports = __WEBPACK_EXTERNAL_MODULE__6043__;","module.exports = __WEBPACK_EXTERNAL_MODULE__3915__;","export default function _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) {\n return typeof obj;\n } : function (obj) {\n return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n }, _typeof(obj);\n}","// 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\t1338: 0,\n\t3099: 0,\n\t2823: 0,\n\t5785: 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, [5785], () => (__webpack_require__(7562)))\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n",""],"names":["_typeof","obj","Symbol","iterator","constructor","prototype","boundMethod","target","key","descriptor","fn","value","TypeError","concat","definingProperty","configurable","get","hasOwnProperty","boundFn","bind","Object","defineProperty","set","boundClass","keys","Reflect","ownKeys","getOwnPropertyNames","getOwnPropertySymbols","forEach","getOwnPropertyDescriptor","autobind","arguments","length","apply"],"sourceRoot":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"StatisticsTooltip/index.js","mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD,O;;;;;;;;;;;;;;;;;;;;ACV0B;AACU;AACM;AAGhB;AAEnB,IAAM,SAAS,GAA6B,6BAAU,CAAC,UAAC,KAAK;IAChE,IAAM,SAAS,GAAW,6BAAU,CAAC,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,SAAS,EAAE,kBAAkB,CAAC,CAAC;IAC3E,OAAO,uCAAC,sBAAY,IAAC,SAAS,EAAE,SAAS,IAAG,KAAK,CAAC,QAAQ,CAAgB,CAAC;AAC/E,CAAC,CAAC,CAAC;AAEH,SAAS,CAAC,WAAW,GAAG,WAAW,CAAC;;;;;;;;;;;;;;;;ACZV;AACU;AACM;AACb;AAWtB,IAAM,YAAY,GAAgC,UAAC,KAAK;;IAC3D,IAAM,SAAS,GAAW,6BAAU,CAAC,qBAAqB,EAAE,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,SAAS,CAAC,CAAC;IAC9E,OAAO,uCAAC,sBAAY,aAAC,IAAI,EAAC,UAAU,IAAK,KAAK,IAAE,MAAM,QAAC,SAAS,EAAE,SAAS,EAAE,KAAK,EAAE,WAAK,CAAC,KAAK,mCAAI,EAAE,IAAI,CAAC;AAC9G,CAAC,CAAC;AAEF,YAAY,CAAC,WAAW,GAAG,cAAc,CAAC;;;;;;;;;;;;;;ACnBhB;AACU;AACM;AAChB;AAWnB,IAAM,SAAS,GAA6B,UAAC,KAAK;;IACrD,IAAM,SAAS,GAAW,6BAAU,CAAC,KAAK,aAAL,KAAK,uBAAL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,CAAC,gBAAgB,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,EAAjC,CAAiC,CAAC,MAJnD,UAAK,EAAL,CAAC,mBAAG,CAAC,OAAE,UAAK,EAAL,CAAC,mBAAG,CAAC,OAAE,UAAK,EAAL,CAAC,mBAAG,CAAC,KAIgC,CAAC;IAE3D,OAAO,GAAG,GAAG,cAAc,CAAC,CAAC,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC;AAC3E,CAAC;;;;;;;;ACzID;;;;;;;ACAA;;;;;;;ACAA;;;;;;;ACAA;;;;;;;ACAA;;;;;;;ACAA;;;;;;UCAA;UACA;;UAEA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;;UAEA;UACA;;UAEA;UACA;UACA;;UAEA;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;;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;;;;;UEjDA;UACA;UACA;UACA;UACA","sources":["webpack://atoka-design-system/webpack/universalModuleDefinition","webpack://atoka-design-system/./src/components/Form/FormLabel.tsx","webpack://atoka-design-system/./src/components/Form/FormCheckbox.tsx","webpack://atoka-design-system/./src/components/Form/FormRadio.tsx","webpack://atoka-design-system/./src/components/Form/FormHelp.tsx","webpack://atoka-design-system/./src/components/Form/Form.tsx","webpack://atoka-design-system/./src/components/Form/FormControlFeedBack.tsx","webpack://atoka-design-system/./src/components/Form/FormControl.tsx","webpack://atoka-design-system/./src/components/StatisticsTooltip/helpers.tsx","webpack://atoka-design-system/./src/components/StatisticsTooltip/StatisticsTooltip.tsx","webpack://atoka-design-system/./src/components/StatisticsTooltip/index.ts","webpack://atoka-design-system/./src/components/Utils/Statistics.ts","webpack://atoka-design-system/./src/components/Utils/Utils.tsx","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/Form\"","webpack://atoka-design-system/external umd \"react-bootstrap/FormControl\"","webpack://atoka-design-system/external umd \"react-bootstrap/FormText\"","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/react-fontawesome\"), require(\"classnames\"), require(\"react\"), require(\"react-bootstrap/Form\"), require(\"react-bootstrap/FormControl\"), require(\"react-bootstrap/FormText\"));\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine(\"atoka-design-system\", [\"@fortawesome/react-fontawesome\", \"classnames\", \"react\", \"react-bootstrap/Form\", \"react-bootstrap/FormControl\", \"react-bootstrap/FormText\"], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"atoka-design-system\"] = factory(require(\"@fortawesome/react-fontawesome\"), require(\"classnames\"), require(\"react\"), require(\"react-bootstrap/Form\"), require(\"react-bootstrap/FormControl\"), require(\"react-bootstrap/FormText\"));\n\telse\n\t\troot[\"atoka-design-system\"] = factory(root[\"@fortawesome/react-fontawesome\"], root[\"classnames\"], root[\"react\"], root[\"react-bootstrap/Form\"], root[\"react-bootstrap/FormControl\"], root[\"react-bootstrap/FormText\"]);\n})(self, function(__WEBPACK_EXTERNAL_MODULE__5692__, __WEBPACK_EXTERNAL_MODULE__8310__, __WEBPACK_EXTERNAL_MODULE__8156__, __WEBPACK_EXTERNAL_MODULE__8721__, __WEBPACK_EXTERNAL_MODULE__1082__, __WEBPACK_EXTERNAL_MODULE__8763__) {\nreturn ","import React from 'react';\nimport classnames from 'classnames';\nimport BsForm from 'react-bootstrap/Form';\nimport {FormLabelProps} from 'react-bootstrap/FormLabel';\n\nimport './FormLabel.less';\n\nexport const FormLabel: React.FC<FormLabelProps> = React.memo((props): React.ReactElement => {\n const className: string = classnames(props?.className, 'atoka-form-label');\n return <BsForm.Label className={className}>{props.children}</BsForm.Label>;\n});\n\nFormLabel.displayName = 'FormLabel';\n","import React from 'react';\nimport classnames from 'classnames';\nimport BsForm from 'react-bootstrap/Form';\nimport './FormCheckbox.less';\n\nimport {FormCheckProps as BsFormCheckProps} from 'react-bootstrap/FormCheck';\n\nexport interface FormCheckboxProps extends BsFormCheckProps {\n name?: string;\n value?: string;\n onChange?: (e: React.ChangeEvent<HTMLInputElement>) => void;\n checked?: boolean;\n}\n\nexport const FormCheckbox: React.FC<FormCheckboxProps> = (props): React.ReactElement => {\n const className: string = classnames('atoka-form-checkbox', props?.className);\n return <BsForm.Check type='checkbox' {...props} custom className={className} label={props.label ?? ''} />;\n};\n\nFormCheckbox.displayName = 'FormCheckbox';\n","import React from 'react';\nimport classnames from 'classnames';\nimport BsForm from 'react-bootstrap/Form';\nimport './FormRadio.less';\n\nimport {FormCheckProps as BsFormCheckProps} from 'react-bootstrap/FormCheck';\n\nexport interface FormRadioProps extends BsFormCheckProps {\n name?: string;\n value?: string;\n onChange?: (e: React.ChangeEvent<HTMLInputElement>) => void;\n checked?: boolean;\n}\n\nexport const FormRadio: React.FC<FormRadioProps> = (props): React.ReactElement => {\n const className: string = classnames(props?.className, 'atoka-form-radio');\n return <BsForm.Check type='radio' {...props} custom className={className} label={props.label ?? ''} />;\n};\n\nFormRadio.displayName = 'FormRadio';\n","import BsFormText, {FormTextProps as BsFormTextProps} from 'react-bootstrap/FormText';\nimport React from 'react';\nimport classnames from 'classnames';\nimport './FormHelp.less';\n\nexport interface FormHelpProps extends BsFormTextProps {\n show?: boolean;\n}\n\nexport const FormHelp: React.FC<FormHelpProps> = React.memo(({children, ...props}): React.ReactElement => {\n const className: string = classnames('d-block', props?.className);\n return (\n <BsFormText bsPrefix='atoka-form-help' className={className}>\n {children}\n </BsFormText>\n );\n});\n\nFormHelp.displayName = 'FormHelp';\n","import React from 'react';\nimport classnames from 'classnames';\nimport BsForm, {FormProps as BsFormProps} from 'react-bootstrap/Form';\n\nimport './FormLabel.less';\nimport {FormLabel} from './FormLabel';\nimport {FormControl} from './FormControl';\nimport {FormCheckbox} from './FormCheckbox';\nimport {FormRadio} from './FormRadio';\nimport {FormHelp} from './FormHelp';\n\nexport interface FormProps extends BsFormProps {\n classNames?: string;\n}\n\ntype FormType<P> = React.FC<P> & {\n Control: typeof FormControl;\n Checkbox: typeof FormCheckbox;\n Radio: typeof FormRadio;\n File: typeof BsForm.File;\n Switch: typeof BsForm.Switch;\n Label: typeof FormLabel;\n Help: typeof FormHelp;\n Group: typeof BsForm.Group;\n};\n\nconst Form: FormType<FormProps> = (props): React.ReactElement => {\n const className: string = classnames(props?.className, 'atoka-form');\n return (\n <BsForm {...props} className={className}>\n {props.children}\n </BsForm>\n );\n};\n\nForm.displayName = 'Form';\n\nForm.Control = FormControl;\nForm.Label = FormLabel;\nForm.Checkbox = FormCheckbox;\nForm.Radio = FormRadio;\nForm.File = BsForm.File;\nForm.Switch = BsForm.Switch;\nForm.Help = FormHelp;\nForm.Group = BsForm.Group;\n\nexport {Form};\n","import {FeedbackProps as BsFeedbackProps} from 'react-bootstrap/Feedback';\nimport React from 'react';\nimport classnames from 'classnames';\nimport BsFormControl from 'react-bootstrap/FormControl';\n\nexport interface FeedBackProps extends BsFeedbackProps {\n show?: boolean;\n}\n\nexport const FormControlFeedBack: React.FC<FeedBackProps> = React.memo(\n ({show = true, ...props}): React.ReactElement => {\n const className: string = classnames(props?.className, 'atoka-form-control-feedback', {\n 'd-block': show,\n });\n return (\n <BsFormControl.Feedback type={props.type} className={className}>\n {props.children}\n </BsFormControl.Feedback>\n );\n },\n);\n\nFormControlFeedBack.displayName = ' FormControlFeedBack';\n","import React, {PropsWithoutRef} from 'react';\nimport classnames from 'classnames';\nimport BsFormControl, {FormControlProps as BsFormControlProps} from 'react-bootstrap/FormControl';\nimport {FormControlFeedBack} from './FormControlFeedBack';\nimport './FormControl.less';\n\nexport interface FormControlProps extends React.PropsWithChildren<Omit<BsFormControlProps, 'size'>> {\n rows?: string;\n cols?: string;\n placeholder?: string;\n size?: 'sm' | 'md' | 'lg';\n withShadow?: boolean;\n defaultValue?: string;\n onKeyPress?: React.KeyboardEventHandler<HTMLInputElement>;\n onKeyDown?: React.KeyboardEventHandler<HTMLInputElement>;\n}\n// when updating nivo, change me, I'm all strange because of this library! (the commit creating this comment might be of help)\ntype NivoPleasingForwardRefComponent<T, P> = (props: P & React.RefAttributes<T>) => React.ReactElement | null;\n\ntype FormControlWithForwardedRef = NivoPleasingForwardRefComponent<\n HTMLInputElement,\n PropsWithoutRef<FormControlProps>\n> & {displayName?: string};\n\nconst FormControlComponent: FormControlWithForwardedRef = React.forwardRef<HTMLInputElement, FormControlProps>(\n ({size = 'md', ...props}: FormControlProps, ref?: React.Ref<HTMLInputElement>) => {\n const className: string = classnames('atoka-form-control', props?.className, {\n 'atoka-shadow': props.withShadow,\n 'disabled': props.disabled,\n });\n\n return (\n <BsFormControl\n as={props.as}\n rows={props.rows}\n cols={props.cols}\n placeholder={props.placeholder}\n className={className}\n disabled={props.disabled}\n readOnly={props.readOnly}\n value={props.value}\n onChange={props.onChange}\n onKeyPress={props.onKeyPress}\n onKeyDown={props.onKeyDown}\n defaultValue={props.defaultValue}\n size={size === 'md' ? undefined : size}\n type={props.type}\n id={props.id}\n isValid={props.isValid}\n isInvalid={props.isInvalid}\n ref={ref}\n autoComplete='off'\n >\n {props.children}\n </BsFormControl>\n );\n },\n);\n\nFormControlComponent.displayName = 'FormControlComponent';\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nconst FormControl: typeof FormControlComponent & {FeedBack: typeof FormControlFeedBack} = FormControlComponent as any;\n\nFormControl.FeedBack = FormControlFeedBack;\n\nFormControl.displayName = 'FormControl';\n\nexport {FormControl};\n","import React from 'react';\nimport {NumberToStringFormatterType} from '../Utils/CommonTypes';\n\nimport {StatisticsTooltip} from './index';\n\nexport interface getRenderStatisticsTooltipData<B> {\n color?: string;\n data: B;\n}\n\ninterface PropsFromAbove {\n tooltipDataLabelKey?: string;\n tooltipDataValueKey?: string;\n tooltipDataTitleKey?: string;\n otherId?: string;\n numberToStringFormatter?: NumberToStringFormatterType;\n otherLabel?: string;\n withColor?: boolean;\n className?: string | null;\n}\n\nexport type GetRenderStatisticsTooltipType<T> = (props: getRenderStatisticsTooltipData<T>) => JSX.Element;\n\nexport function getRenderStatisticsTooltip<A>({\n tooltipDataLabelKey,\n tooltipDataValueKey,\n tooltipDataTitleKey,\n otherId,\n otherLabel,\n numberToStringFormatter,\n withColor,\n className = 'tooltip-background',\n}: PropsFromAbove): GetRenderStatisticsTooltipType<A> {\n // eslint-disable-next-line react/display-name\n return (props) => {\n let tooltipData = {\n ...props.data,\n value: props.data?.['value'],\n label: props.data?.['label'],\n id: props.data?.['id'],\n percentage: props.data?.['percentage'],\n };\n\n return (\n <StatisticsTooltip\n otherId={otherId}\n otherLabel={otherLabel}\n numberToStringFormatter={numberToStringFormatter}\n data={tooltipData}\n tooltipDataLabelKey={tooltipDataLabelKey}\n tooltipDataTitleKey={tooltipDataTitleKey}\n tooltipDataValueKey={tooltipDataValueKey}\n className={className ?? ''}\n color={withColor ? props.color : undefined}\n />\n );\n };\n}\n","import React from 'react';\nimport classnames from 'classnames';\nimport {PropsWithClassName, NumberToStringFormatterType} from '../Utils/CommonTypes';\nimport {normalizePercentage} from '../Utils/Statistics';\n\nexport interface TooltipData {\n value: string | number | null;\n label?: string | number;\n id: string;\n percentage?: number;\n}\n\n// The style for this component is in the atoka-bs.less file under the statistics-tooltip class\nexport interface StatisticsTooltipProps extends PropsWithClassName {\n data: TooltipData;\n tooltipDataLabelKey?: string;\n tooltipDataValueKey?: string;\n tooltipDataTitleKey?: string;\n otherId?: string;\n otherLabel?: string;\n color?: string;\n withColor?: boolean;\n numberToStringFormatter?: NumberToStringFormatterType;\n}\n\nexport const StatisticsTooltip = React.memo(\n (props: React.PropsWithChildren<StatisticsTooltipProps>): React.ReactElement => {\n // eslint-disable-next-line react/display-name\n function renderSubtitle(): React.ReactNode {\n let values = [\n {value: getLabel(), key: props.tooltipDataLabelKey, className: 'label'},\n {value: getValue(), key: props.tooltipDataValueKey, className: 'value'},\n ]\n .filter((el) => el.value != null)\n .map((el) => (\n <span key={el.key} className={el.className}>\n {el.value}\n </span>\n ));\n\n if (values.length === 0) {\n return null;\n }\n\n return <div className='d-flex justify-content-between'>{values}</div>;\n }\n\n function getLabel(): string | undefined {\n let {tooltipDataLabelKey, numberToStringFormatter, data} = props,\n label = getValueFromData(tooltipDataLabelKey, data);\n\n if (label == null) {\n return undefined;\n }\n\n if (numberToStringFormatter == null) {\n return String(label);\n }\n\n if (typeof label == 'string') {\n return label;\n }\n\n return numberToStringFormatter(label);\n }\n\n function getValue(): string | undefined {\n let {tooltipDataValueKey, data} = props,\n value = getValueFromData(tooltipDataValueKey, data);\n\n if (value == null) {\n return undefined;\n }\n\n if (typeof value == 'number') {\n return normalizePercentage(value);\n }\n\n return value;\n }\n\n function getTitle(): string | undefined {\n let {tooltipDataTitleKey, data, otherId, otherLabel} = props,\n title = getValueFromData(tooltipDataTitleKey, data);\n\n if (title === otherId) {\n return otherLabel ?? otherId;\n }\n\n return title ? String(title) : undefined;\n }\n\n function getValueFromData(key: string | undefined, data: TooltipData): string | number | undefined {\n return key == null ? undefined : data?.[key];\n }\n\n let className = classnames('statistics-tooltip', props?.className),\n colorRectangle =\n props.color == null ? null : <span className='tooltip-rectangle' style={{background: props.color}} />;\n\n return (\n <div className={className}>\n <div className='d-flex align-items-center'>\n {colorRectangle}\n <span className='text-left'>{getTitle()}</span>\n </div>\n {renderSubtitle()}\n {props.children}\n </div>\n );\n },\n);\n\nStatisticsTooltip.displayName = 'StatisticsTooltip';\n","export * from './StatisticsTooltip';\nexport {getRenderStatisticsTooltip, GetRenderStatisticsTooltipType} from './helpers';\n","import {clone} from '../Utils/Utils';\nimport {sortObjDesc} from './Utils';\n\nexport function createDataWithOtherSlice<T extends Record<string, unknown>>(\n data: T[],\n otherId?: string,\n otherLabel?: string,\n maxSlicesNumber: number = 0,\n total?: number,\n dataValueKey: string = 'value',\n): T[] {\n let otherValue = 0,\n newOtherId: string = otherId ?? 'other',\n // We know it is defined but Typescript does not get it.\n newmaxSlicesNumber: number = maxSlicesNumber ?? 0,\n newData: T[] = [],\n maxToMinData = data?.sort(sortObjDesc(dataValueKey));\n\n maxToMinData?.forEach((node: T, i: number) => {\n if (i < newmaxSlicesNumber && node.id !== otherId) {\n newData.push(createCleanTree<T>(node));\n } else {\n let nodeValue = Number(node?.value) ?? 0;\n otherValue += nodeValue;\n }\n });\n\n let otherNode = {};\n otherNode['id'] = newOtherId;\n otherNode['value'] = parseFloat(otherValue.toFixed(2));\n otherNode['initialValue'] = parseFloat(otherValue.toFixed(2));\n otherNode['label'] = otherLabel ?? newOtherId ?? '';\n\n if (data?.[0]?.percentage != null && total != null) {\n otherNode['percentage'] = (otherValue / total) * 100;\n }\n if (maxSlicesNumber !== Infinity || otherValue !== 0) {\n newData.push(otherNode as T);\n }\n\n return newData;\n}\n\nexport function createCleanTree<A extends Record<string, unknown>>(node: A): A {\n if (node.children == null) {\n return node;\n }\n let newNode = clone(node);\n removeValueIfChildren(newNode);\n return newNode;\n}\n// eslint-disable-next-line @typescript-eslint/ban-types\nfunction removeValueIfChildren<B extends object>(node: B): void {\n let children = (node?.['children'] ?? []) as B[];\n node['initialValue'] = node['value'];\n if (children.length > 0) {\n delete node['value'];\n }\n for (let child of children) {\n removeValueIfChildren(child);\n }\n}\n\nexport function normalizePercentage(value: number): string {\n return `${parseInt(value?.toFixed?.(0), 10)}%`;\n}\n","import {FontAwesomeIcon} from '@fortawesome/react-fontawesome';\nimport React from 'react';\nimport {Form} from '../Form/Form';\n\nexport function findChildrenByComponent(\n children: React.ReactNode,\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n component: React.ComponentClass | React.FunctionComponent | React.ForwardRefExoticComponent<any>,\n): React.ReactNode[] {\n let ret: React.ReactNode[] = [];\n React.Children.forEach(children, (element: React.ReactElement) => {\n if (element?.type === component) {\n ret.push(element);\n }\n });\n\n return ret;\n}\n\nexport function findChildByComponent(\n children: React.ReactNode,\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n component: React.ComponentClass | React.FunctionComponent | React.ForwardRefExoticComponent<any>,\n): React.ReactNode | null {\n return findChildrenByComponent(children, component)?.[0] ?? null;\n}\n\nexport function hasChildIconOrCheckboxComponent(children: React.ReactNode): boolean {\n let ret = false;\n React.Children.forEach(children, (element: React.ReactElement) => {\n if (\n element?.type != null &&\n (element?.type === FontAwesomeIcon || element?.type === 'i' || element?.type === Form.Checkbox)\n ) {\n ret = true;\n return;\n }\n });\n\n return ret;\n}\n\nexport function scrollToTop(): void {\n window.scrollTo(0, 0);\n}\n\nexport function zip<T>(arr1: T[], arr2: T[]): T[] {\n const ret: T[] = [];\n let i: number = 0;\n\n while (arr1[i]) {\n ret.push(arr1[i]);\n ret.push(arr2[i++]);\n }\n\n return ret;\n}\n\n// eslint-disable-next-line @typescript-eslint/ban-types\nexport function sortObjDesc<T extends object>(accessor: keyof T): (a: T, b: T) => number {\n return function (a: T, b: T): number {\n let leftVal = 0,\n rightVal = 0;\n if (a?.[accessor] != null) {\n leftVal = a?.[accessor] as unknown as number;\n }\n if (b?.[accessor] != null) {\n rightVal = b?.[accessor] as unknown as number;\n }\n return leftVal > rightVal ? -1 : 1;\n };\n}\n\nexport function clone<T>(ob: T): T {\n return JSON.parse(JSON.stringify(ob));\n}\n\nexport type Debouncer = (f: () => void) => void;\n\nexport function getDebouncer(delay: number = 1): Debouncer {\n let debounceTimeout: number | null = null;\n return function debounce(f: () => void): void {\n if (debounceTimeout !== null) {\n clearTimeout(debounceTimeout);\n }\n debounceTimeout = window.setTimeout(f, delay);\n };\n}\n\nfunction isObject<T>(obj: T): boolean {\n return typeof obj === 'object' && obj != null;\n}\n\nexport function deepEqual<T>(obj1: T, obj2: T): boolean {\n if (obj1 === obj2) {\n return true;\n }\n\n if (isObject(obj1) && isObject(obj2)) {\n if (Object.keys(obj1).length !== Object.keys(obj2).length) {\n return false;\n }\n\n for (let prop in obj1) {\n if (!deepEqual(obj1[prop], obj2[prop])) {\n return false;\n }\n }\n return true;\n }\n\n return false;\n}\n\nfunction componentToHex(c: number): string {\n if (isNaN(c)) {\n throw Error('The color has not been written correctly');\n }\n const hex = c.toString(16).toUpperCase();\n return hex.length === 1 ? '0' + hex : hex;\n}\n\nfunction cleanSingleColor(c: string): string {\n return c.replace(/\"|'/g, '').trim();\n}\n\nexport function rgbToHex(rgb: string): string {\n if (rgb.includes('rgba')) {\n throw Error('not implemented');\n }\n const [r = 0, g = 0, b = 0] = rgb\n .replace('rgb', '')\n .replace(/\\(|\\)/gi, '')\n .split(',')\n .map((c: string) => parseInt(cleanSingleColor(c), 10));\n\n return '#' + componentToHex(r) + componentToHex(g) + componentToHex(b);\n}\n","module.exports = __WEBPACK_EXTERNAL_MODULE__5692__;","module.exports = __WEBPACK_EXTERNAL_MODULE__8310__;","module.exports = __WEBPACK_EXTERNAL_MODULE__8156__;","module.exports = __WEBPACK_EXTERNAL_MODULE__8721__;","module.exports = __WEBPACK_EXTERNAL_MODULE__1082__;","module.exports = __WEBPACK_EXTERNAL_MODULE__8763__;","// 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\t9811: 0,\n\t5785: 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, [5785], () => (__webpack_require__(4806)))\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n",""],"names":[],"sourceRoot":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Suggester/index.js","mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD,O;;;;;;;;;;;;;;;ACVA,SAASA,OAAT,CAAiBC,GAAjB,EAAsB;EAAE,IAAI,OAAOC,MAAP,KAAkB,UAAlB,IAAgC,mFAAOA,MAAM,CAACC,QAAd,MAA2B,QAA/D,EAAyE;IAAEH,OAAO,GAAG,SAASA,OAAT,CAAiBC,GAAjB,EAAsB;MAAE,OAAO,mFAAOA,GAAd;IAAoB,CAAtD;EAAyD,CAApI,MAA0I;IAAED,OAAO,GAAG,SAASA,OAAT,CAAiBC,GAAjB,EAAsB;MAAE,OAAOA,GAAG,IAAI,OAAOC,MAAP,KAAkB,UAAzB,IAAuCD,GAAG,CAACG,WAAJ,KAAoBF,MAA3D,IAAqED,G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;WACA;WACA;WACA;WACA,MAAM,qBAAqB;WAC3B;WACA;WACA;WACA;WACA;WACA;WACA;WACA;;WAEA;WACA;WACA;;;;;UElDA;UACA;UACA;UACA;UACA","sources":["webpack://atoka-design-system/webpack/universalModuleDefinition","webpack://atoka-design-system/./node_modules/autobind-decorator/lib/esm/index.js","webpack://atoka-design-system/./src/components/HighlightableText/HighlightableText.tsx","webpack://atoka-design-system/./src/components/HighlightableText/index.ts","webpack://atoka-design-system/./src/components/Suggester/CustomOption.tsx","webpack://atoka-design-system/./src/components/Suggester/InputValueContainer.tsx","webpack://atoka-design-system/./src/components/Suggester/getRenderCustomMultiValueWithIcon.tsx","webpack://atoka-design-system/./src/components/Suggester/Suggester.tsx","webpack://atoka-design-system/./src/components/Suggester/index.ts","webpack://atoka-design-system/./src/components/Utils/Text.ts","webpack://atoka-design-system/external umd \"@fortawesome/pro-light-svg-icons/faSearch\"","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-select\"","webpack://atoka-design-system/external umd \"react-select/async\"","webpack://atoka-design-system/./node_modules/@babel/runtime/helpers/esm/typeof.js","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/faSearch\"), require(\"@fortawesome/react-fontawesome\"), require(\"classnames\"), require(\"react\"), require(\"react-select\"), require(\"react-select/async\"));\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine(\"atoka-design-system\", [\"@fortawesome/pro-light-svg-icons/faSearch\", \"@fortawesome/react-fontawesome\", \"classnames\", \"react\", \"react-select\", \"react-select/async\"], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"atoka-design-system\"] = factory(require(\"@fortawesome/pro-light-svg-icons/faSearch\"), require(\"@fortawesome/react-fontawesome\"), require(\"classnames\"), require(\"react\"), require(\"react-select\"), require(\"react-select/async\"));\n\telse\n\t\troot[\"atoka-design-system\"] = factory(root[\"@fortawesome/pro-light-svg-icons/faSearch\"], root[\"@fortawesome/react-fontawesome\"], root[\"classnames\"], root[\"react\"], root[\"react-select\"], root[\"react-select/async\"]);\n})(self, function(__WEBPACK_EXTERNAL_MODULE__8427__, __WEBPACK_EXTERNAL_MODULE__5692__, __WEBPACK_EXTERNAL_MODULE__8310__, __WEBPACK_EXTERNAL_MODULE__8156__, __WEBPACK_EXTERNAL_MODULE__1738__, __WEBPACK_EXTERNAL_MODULE__1553__) {\nreturn ","function _typeof(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\n/**\n * Return a descriptor removing the value and returning a getter\n * The getter will return a .bind version of the function\n * and memoize the result against a symbol on the instance\n */\nexport function boundMethod(target, key, descriptor) {\n var fn = descriptor.value;\n\n if (typeof fn !== 'function') {\n throw new TypeError(\"@boundMethod decorator can only be applied to methods not: \".concat(_typeof(fn)));\n } // In IE11 calling Object.defineProperty has a side-effect of evaluating the\n // getter for the property which is being replaced. This causes infinite\n // recursion and an \"Out of stack space\" error.\n\n\n var definingProperty = false;\n return {\n configurable: true,\n get: function get() {\n // eslint-disable-next-line no-prototype-builtins\n if (definingProperty || this === target.prototype || this.hasOwnProperty(key) || typeof fn !== 'function') {\n return fn;\n }\n\n var boundFn = fn.bind(this);\n definingProperty = true;\n Object.defineProperty(this, key, {\n configurable: true,\n get: function get() {\n return boundFn;\n },\n set: function set(value) {\n fn = value;\n delete this[key];\n }\n });\n definingProperty = false;\n return boundFn;\n },\n set: function set(value) {\n fn = value;\n }\n };\n}\n/**\n * Use boundMethod to bind all methods on the target.prototype\n */\n\nexport function boundClass(target) {\n // (Using reflect to get all keys including symbols)\n var keys; // Use Reflect if exists\n\n if (typeof Reflect !== 'undefined' && typeof Reflect.ownKeys === 'function') {\n keys = Reflect.ownKeys(target.prototype);\n } else {\n keys = Object.getOwnPropertyNames(target.prototype); // Use symbols if support is provided\n\n if (typeof Object.getOwnPropertySymbols === 'function') {\n keys = keys.concat(Object.getOwnPropertySymbols(target.prototype));\n }\n }\n\n keys.forEach(function (key) {\n // Ignore special case target method\n if (key === 'constructor') {\n return;\n }\n\n var descriptor = Object.getOwnPropertyDescriptor(target.prototype, key); // Only methods need binding\n\n if (typeof descriptor.value === 'function') {\n Object.defineProperty(target.prototype, key, boundMethod(target, key, descriptor));\n }\n });\n return target;\n}\nexport default function autobind() {\n if (arguments.length === 1) {\n return boundClass.apply(void 0, arguments);\n }\n\n return boundMethod.apply(void 0, arguments);\n}","import {boundMethod} from 'autobind-decorator';\nimport classnames from 'classnames';\nimport React from 'react';\n\nimport './HighlightableText.less';\nimport {isStringEmpty, isMatching, splitTextInParts} from '../Utils/Text';\nimport {TitleProps} from '../Title/Title';\nimport {PropsWithClassName} from '../Utils';\n\nexport interface HighlightableTextProps extends PropsWithClassName {\n highlighted: string;\n children?: React.ReactNode;\n isDisabled?: boolean;\n isBold?: boolean;\n size: TitleProps['size'] | 'xxs';\n highlightColor: 'black' | 'orange' | 'blue300';\n}\n\nexport class HighlightableText extends React.PureComponent<HighlightableTextProps> {\n static displayName: string = 'HighlightableText';\n\n static defaultProps: Partial<HighlightableTextProps> = {\n size: 'md',\n highlightColor: 'orange',\n };\n\n private needToHighlight(): boolean {\n return !isStringEmpty(this.props.highlighted);\n }\n\n private getParts(): string[] {\n if (typeof this.props.children != 'string') {\n throw Error('In this component, children have to be a string');\n }\n return splitTextInParts(this.props.highlighted, this.props.children);\n }\n\n @boundMethod\n private renderPart(text: string, index: number): React.ReactNode {\n let isSelected = isMatching(text, this.props.highlighted),\n classname = classnames('atoka-highlightable-text', this.props.size, {\n 'text-muted': this.props.isDisabled === true,\n 'bold': this.props.isBold,\n 'selected-text': isSelected,\n [this.props.highlightColor]: isSelected,\n }),\n output: React.ReactNode = text;\n\n if (isSelected) {\n output = <strong>{text}</strong>;\n }\n\n return (\n <span key={`${text}-${index}`} className={classname}>\n {output}\n </span>\n );\n }\n\n private highlightedText(): React.ReactNode | null {\n let parts = this.getParts();\n if (parts == null) {\n return null;\n }\n\n return <span className={this.props.className}>{parts.map(this.renderPart)}</span>;\n }\n\n public render(): React.ReactNode {\n let children = this.props.children,\n classname = classnames(\n 'atoka-highlightable-text',\n this.props.highlightColor,\n this.props.size,\n this.props.className,\n {\n 'text-muted': this.props.isDisabled === true,\n 'bold': this.props.isBold,\n },\n );\n // We just need the style, which will apply on the <strong> or <b> elements\n if (typeof children !== 'string') {\n return <span className={classname}>{children}</span>;\n }\n if (!this.needToHighlight()) {\n return <span className={classname}>{children}</span>;\n }\n\n return this.highlightedText();\n }\n}\n","export {HighlightableText} from './HighlightableText';\n","import React from 'react';\n\nimport classnames from 'classnames';\n\nimport './CustomOption.less';\nimport {HighlightableText} from '../HighlightableText';\nimport {isStringEmpty} from '../Utils/Text';\nimport {OptionData, PropsWithClassName} from '../Utils/CommonTypes';\n\nexport interface CustomOptionProps extends PropsWithClassName {\n item: OptionData;\n /** The accessor for the custom value which has an uppercase style */\n optionDataCustomValueKey?: string;\n /** The accessor for the value. It can be used with or without the label.\n * If your data has this key and you want it not to be present in the option,\n * leave this prop without value.\n * */\n optionDataValueKey?: string;\n /** The accessor for the label. It can be used with or without the value\n * If your data has this key and you want it not to be present in the option,\n * leave this prop without value.\n * */\n optionDataLabelKey?: string;\n /**\n * The selected text which will appear highlighted with `Suggester` hightlightedColor prop\n * */\n selectedText?: string;\n}\n\n/**\n * ### Overview\n *\n * The `CustomOption` also supports to have children.\n * You can use the `.custom-value` class also in its children if you want it to be styled in uppercase.\n * */\nexport const CustomOption: React.FC<React.PropsWithChildren<CustomOptionProps>> = ({\n item,\n optionDataValueKey,\n optionDataLabelKey,\n optionDataCustomValueKey,\n children,\n selectedText,\n className,\n}) => {\n function getLabel(key: string): React.ReactNode {\n if (!isStringEmpty(selectedText)) {\n return <HighlightableText highlighted={selectedText}>{item[key]}</HighlightableText>;\n }\n\n return item[key];\n }\n\n // eslint-disable-next-line react/display-name\n function updateOptionContent(value: React.ReactNode, optionLabelKey: string): React.ReactNode {\n if (value === '') {\n return <span className='label'>{getLabel(optionLabelKey)}</span>;\n }\n return (\n <>\n <span className='label mr-1'>{value}:</span>\n {getLabel(optionLabelKey)}\n </>\n );\n }\n\n let optionContent: React.ReactNode = '',\n customValue = null;\n if (optionDataValueKey && item[optionDataValueKey] != null) {\n optionContent = getLabel(optionDataValueKey);\n }\n\n if (optionDataLabelKey && item[optionDataLabelKey] != null) {\n optionContent = updateOptionContent(optionContent, optionDataLabelKey);\n }\n\n if (optionDataCustomValueKey && item[optionDataCustomValueKey] != null) {\n customValue = <span className='custom-value ml-2'>{item[optionDataCustomValueKey]}</span>;\n }\n const classNames = classnames('option-data-item overflow-hidden', className);\n return (\n <span className={classNames}>\n {optionContent}\n {customValue}\n {children}\n </span>\n );\n};\n\nCustomOption.displayName = 'CustomOption';\n","import {FontAwesomeIcon} from '@fortawesome/react-fontawesome';\nimport React from 'react';\nimport {components, ValueContainerProps} from 'react-select';\n\nimport {IconDefinition} from '@fortawesome/pro-light-svg-icons';\nimport {OptionData} from '../Utils/CommonTypes';\n\ninterface InputValueContainerProps extends ValueContainerProps<OptionData, false> {\n icon?: IconDefinition | null;\n}\n\nexport const InputValueContainer = ({children, icon, ...props}: InputValueContainerProps): JSX.Element | null => {\n // eslint-disable-next-line react/display-name\n function renderIcon(): React.ReactNode {\n if (children == null || icon == null) {\n return null;\n }\n return <FontAwesomeIcon icon={icon} />;\n }\n if (components.ValueContainer == null) {\n return null;\n }\n\n return (\n <components.ValueContainer {...props} className='input-value-container'>\n {renderIcon()}\n {children}\n </components.ValueContainer>\n );\n};\n\nInputValueContainer.displayName = 'InputValueContainer';\n","import React from 'react';\nimport classnames from 'classnames';\nimport {components, MultiValueProps} from 'react-select';\nimport {FontAwesomeIcon} from '@fortawesome/react-fontawesome';\nimport {IconDefinition} from '@fortawesome/pro-light-svg-icons';\nimport {BadgeColor} from '../Badge';\n\nimport './getRenderCustomMultiValueWithIcon.less';\nimport {OptionData} from '../Utils/CommonTypes';\n\nexport const getRenderCustomMultiValueWithIcon =\n (icon?: IconDefinition, color: Extract<BadgeColor, 'blue300'> | 'gray275' = 'blue300') =>\n // eslint-disable-next-line react/display-name\n (props: MultiValueProps<OptionData>): JSX.Element => {\n // eslint-disable-next-line react/display-name\n function getIcon() {\n if (icon == null) {\n return null;\n }\n return (\n <div className='icon-container'>\n <FontAwesomeIcon icon={icon} />\n </div>\n );\n }\n let className = classnames('custom-multi-value-with-icon', props.className, color),\n labelClassName = classnames({'ml-1': icon != null, 'ml-2': icon == null});\n return (\n <components.MultiValue {...props} className={className}>\n {getIcon()}\n <span className={labelClassName}>{props.data.label}</span>\n </components.MultiValue>\n );\n };\n","import React from 'react';\nimport Select, {\n components,\n OptionProps,\n SelectComponentsConfig,\n MultiValueProps,\n ValueContainerProps,\n} from 'react-select';\nimport classnames from 'classnames';\nimport autobind from 'autobind-decorator';\nimport AsyncSelect from 'react-select/async';\nimport {IconDefinition} from '@fortawesome/pro-light-svg-icons';\nimport {faSearch} from '@fortawesome/pro-light-svg-icons/faSearch';\nimport {OptionData, PropsWithClassName} from '../Utils/CommonTypes';\n\nimport {Debouncer} from '../Utils/Utils';\nimport {CustomOption} from './CustomOption';\nimport {InputValueContainer} from './InputValueContainer';\n\nimport './Suggester.less';\nimport {getRenderCustomMultiValueWithIcon} from './getRenderCustomMultiValueWithIcon';\n\nexport interface Option<T> {\n label: string;\n value: string;\n data: T;\n}\n\nexport type RenderMultiValueContainer = (props: MultiValueProps<OptionData>) => JSX.Element;\n\nexport interface SuggesterProps<T> extends PropsWithClassName {\n /** Use this prop to null if you want to clear the input after choosing a value */\n value?: OptionData[] | null | undefined;\n /** This prop is supposed to be used with onChange and allows the component to be controlled from outside.*/\n selectedOption?: OptionData;\n /** This prop is supposed to be used with selectedOption props and allows the component to be controlled from outside.*/\n onChange?: (item: Option<T>[]) => void;\n /**\n * {\n value: string\n label?: string\n }\n * */\n options?: OptionData[];\n /**\n * You can use the Suggester.CustomOption here (or create your own render function)\n * */\n renderSuggestedOption?: (item: OptionData, insertedText?: string) => React.ReactNode;\n filterOption?: (option: Option<T>, rawInput: string) => boolean;\n placeholder: string;\n withShadow?: boolean;\n withHighlight?: boolean;\n hasError?: boolean;\n /** This prop is most useful when isAsync=true, it will be displayed if something went wrong with the loadOptions */\n errorMessage: string;\n /** This prop is most useful when isAsync=true, it will be displayed in the option container before the user starts writing */\n emptyMessage: string;\n /** This will be displayed if the user has written but no result has been found */\n noResultsMessage: string;\n isDisabled?: boolean;\n isAsync?: boolean;\n debouncer?: Debouncer;\n isMulti?: boolean;\n /** You can customize the badges for the multiValue which are rendered inside the input using this prop */\n renderMultiValueContainer?: RenderMultiValueContainer;\n loadOptions?: (input: string, callback: (items: Option<T>[]) => void) => void;\n /** The input icon. Set this prop to null if you don't want it */\n icon?: IconDefinition | null;\n}\n\ninterface SuggesterState {\n insertedText: string;\n}\n// eslint-disable-next-line react/display-name\nconst DefaultSuggestedOption: (item: OptionData, insertedText?: string) => JSX.Element = (item, insertedText) => (\n <Suggester.CustomOption item={item} optionDataValueKey='label' selectedText={insertedText} />\n);\n\nconst DefaultMultiValue = getRenderCustomMultiValueWithIcon();\n/**\n * ### Overview\n *\n * The `Suggester` allows users to either filter or sort items in a list according to specific parameters.\n * It can be used in sync as well as in async.\n * */\nexport class Suggester<T> extends React.Component<SuggesterProps<T>, SuggesterState> {\n static displayName: string = 'Suggester';\n static CustomOption: typeof CustomOption = CustomOption;\n\n static defaultProps: Partial<SuggesterProps<OptionData>> = {\n withShadow: false,\n withHighlight: false,\n isAsync: false,\n isMulti: false,\n hasError: false,\n renderSuggestedOption: DefaultSuggestedOption,\n errorMessage: '',\n emptyMessage: '',\n noResultsMessage: '',\n icon: faSearch,\n renderMultiValueContainer: DefaultMultiValue,\n };\n\n public state: SuggesterState = {\n insertedText: '',\n };\n\n @autobind\n private loadOptions(input: string, callback: (items: Option<T>[]) => void): void {\n this.props?.loadOptions?.(input, callback);\n }\n\n @autobind\n private getOptionsAsync(input: string, callback: (items: Option<T>[]) => void): void {\n if (this.props.debouncer == null) {\n this.loadOptions(input, callback);\n }\n\n this.props?.debouncer?.(() => this.loadOptions(input, callback));\n }\n\n @autobind\n private getNoResultsText(): string {\n if (this.props.hasError) {\n return this.props.errorMessage;\n }\n\n if (this.state.insertedText === '') {\n return this.props.emptyMessage;\n }\n\n return this.props.noResultsMessage;\n }\n\n @autobind\n private renderNoOptionsMessage(props: OptionProps<OptionData, false>): JSX.Element {\n const className: string = classnames({\n invalid: this.props?.hasError,\n });\n return (\n <components.NoOptionsMessage {...props} className={className}>\n {this.getNoResultsText()}\n </components.NoOptionsMessage>\n );\n }\n\n @autobind\n private handleOnInputChange(newValue: string): string {\n if (this.props.hasError) {\n return '';\n }\n this.setState({insertedText: newValue});\n return newValue;\n }\n\n @autobind\n private renderLoadingMessage(props: OptionProps<OptionData, false>): JSX.Element {\n return <components.LoadingMessage {...props}>{this.props.children}</components.LoadingMessage>;\n }\n\n @autobind\n private renderOptionContainer(props: OptionProps<OptionData, false>): JSX.Element {\n let optionProps: [OptionData, string?] = [props.data];\n if (this.props.withHighlight) {\n optionProps.push(this.state.insertedText);\n }\n return <components.Option {...props}>{this.props.renderSuggestedOption?.(...optionProps)}</components.Option>;\n }\n\n @autobind\n private renderValueContainer(props: ValueContainerProps<OptionData, false>): JSX.Element {\n return (\n <InputValueContainer icon={this.props.icon} {...props}>\n {props.children}\n </InputValueContainer>\n );\n }\n\n private getComponentsConfig(): SelectComponentsConfig<OptionData, boolean> {\n return {\n Option: this.renderOptionContainer,\n ValueContainer: this.renderValueContainer,\n IndicatorsContainer: () => null,\n NoOptionsMessage: this.renderNoOptionsMessage,\n LoadingMessage: this.renderLoadingMessage,\n MultiValue: this.props.renderMultiValueContainer,\n };\n }\n\n @autobind\n private isOptionDisabled(option: OptionData): boolean {\n if (this.props?.selectedOption == null) {\n return false;\n }\n\n return option?.value === this.props.selectedOption?.value;\n }\n\n @autobind\n private handleChange(item: Option<T> | Option<T>[]): void {\n this.setState({insertedText: ''});\n if (item == null) {\n this.props?.onChange?.([]);\n return;\n }\n if (!Array.isArray(item)) {\n this.props?.onChange?.([item]);\n return;\n }\n\n this.props?.onChange?.(item);\n }\n\n public render(): React.ReactNode {\n const className: string = classnames('atoka-suggester', this.props.className, {\n 'atoka-shadow': this.props.withShadow === true,\n 'with-icon': this.props.icon != null,\n }),\n commonProps = {\n value: this.props?.value,\n isClearable: false,\n components: this.getComponentsConfig(),\n classNamePrefix: 'suggester',\n placeholder: this.props.placeholder,\n isOptionDisabled: this.isOptionDisabled,\n filterOption: this.props.filterOption,\n onInputChange: this.handleOnInputChange,\n inputValue: this.state.insertedText,\n isMulti: this.props.isMulti,\n isDisabled: this.props.isDisabled,\n onChange: this.handleChange,\n };\n\n if (this.props.isAsync) {\n return (\n <div className={className}>\n <AsyncSelect\n {...commonProps}\n value={this.props.value}\n loadOptions={this.getOptionsAsync}\n defaultOptions={this.props.options}\n />\n </div>\n );\n }\n\n return (\n <div className={className}>\n <Select {...commonProps} defaultValue={this.props?.selectedOption} options={this.props.options ?? []} />\n </div>\n );\n }\n}\n","export {Suggester, SuggesterProps, RenderMultiValueContainer} from './Suggester';\nexport {getRenderCustomMultiValueWithIcon} from './getRenderCustomMultiValueWithIcon';\nexport {CustomOptionProps} from './CustomOption';\n","import {LabelFormatter} from '@nivo/bar';\nimport {DataPoint, Value} from './CommonTypes';\n\nexport function isStringEmpty(s: string | undefined | null): boolean {\n if (s == null) {\n return true;\n }\n\n return s.match(/^\\s*$/) !== null;\n}\n\nexport function slugify(text: string): string {\n const a = 'àáâäæãåāăąçćčđďèéêëēėęěğǵḧîïíīįìłḿñńǹňôöòóœøōõőṕŕřßśšşșťțûüùúūǘůűųẃẍÿýžźż·/_,:;',\n b = 'aaaaaaaaaacccddeeeeeeeegghiiiiiilmnnnnoooooooooprrsssssttuuuuuuuuuwxyyzzz------',\n p = new RegExp(a.split('').join('|'), 'g');\n\n return text\n .toString()\n .toLowerCase()\n .replace(/\\s+/g, '-') // Replace spaces with -\n .replace(p, (c) => b.charAt(a.indexOf(c))) // Replace special characters\n .replace(/&/g, '-and-') // Replace & with 'and'\n .replace(/[^\\w-]+/g, '') // Remove all non-word characters\n .replace(/--+/g, '-') // Replace multiple - with single -\n .replace(/^-+/, '') // Trim - from start of text\n .replace(/-+$/, ''); // Trim - from end of text\n}\n\nexport function estimateWordSize(wordLength: number, letterPixels: number, constant: number): number {\n return wordLength * letterPixels + constant;\n}\n\nexport function ellipse(input: string | null, length: number): string {\n if (input == null) {\n return '';\n }\n\n return input.length > length ? `${input.substr(0, length - 1)}…` : input;\n}\n\nexport function matchAndFormatRangeLabel(formatter: LabelFormatter | undefined): (label: string) => string {\n return (label: string) => {\n const match = /^([\\d*]+)-([\\d*]+)$/.exec(label);\n if (match == null) {\n return label;\n }\n\n return formatRange(\n {\n from: match[1],\n to: match[2],\n },\n formatter ?? ((v: string) => v),\n );\n };\n}\n\nexport function formatRange(item: Pick<DataPoint, 'from' | 'to'>, formatter: LabelFormatter): string {\n const to = item.to === '*' ? '*' : formatter(parseInt(item.to ?? '0', 10)),\n from = formatter(parseInt(item.from ?? '0', 10));\n\n if (from === to) {\n return `${from}`;\n }\n\n return `${from} - ${to}`;\n}\n\nexport function ellipseAndFormat(\n formatter: LabelFormatter | undefined,\n maxLabelLength: number,\n): (value: Value) => string {\n return (value: Value) => {\n const strValue = value.toString();\n\n if (formatter == null) {\n return ellipse(strValue, maxLabelLength);\n }\n\n return ellipse(`${formatter(strValue)}`, maxLabelLength);\n };\n}\n\nexport function escapeRegExp(input: string): string {\n // eslint-disable-next-line\n return input.replace(/[\\-\\[\\]\\/\\{\\}\\(\\)\\*\\+\\?\\.\\\\\\^\\$\\|]/g, '\\\\$&');\n}\n\nexport function isMatching(text0: string, text1: string): boolean {\n if (text0 == null || text1 == null) {\n return false;\n }\n text0 = text0.toLowerCase();\n text1 = text1.toLowerCase();\n\n if (text1.match(' ') === null) {\n return text0.match(escapeRegExp(text1)) !== null;\n }\n\n let splitNeedles = text1\n .split(' ')\n .filter((s: string) => !isStringEmpty(s))\n .sort((a: string, b: string) => b.length - a.length);\n\n for (let needle of splitNeedles) {\n if (text0 === needle) {\n return true;\n }\n }\n\n return false;\n}\n\nexport function splitTextInParts(needles: string, text?: string): string[] {\n if (text == null) {\n return [];\n }\n\n if (needles.match(' ') === null) {\n let re = new RegExp('(' + escapeRegExp(needles) + ')', 'gi');\n\n return text.split(re);\n }\n\n let splitNeedles = needles\n .split(' ')\n .filter((s: string) => !isStringEmpty(s))\n .sort((a: string, b: string) => b.length - a.length),\n ret = [text];\n\n for (let needle of splitNeedles) {\n let re = new RegExp('(' + needle + ')', 'gi');\n for (let index = 0; index < ret.length; index++) {\n let currentText = ret[index];\n\n if (isMatching(currentText, escapeRegExp(needles))) {\n continue;\n }\n\n let newParts = currentText.split(re).filter((s: string) => s !== '');\n ret.splice(index, 1, ...newParts);\n }\n }\n\n return ret;\n}\n","module.exports = __WEBPACK_EXTERNAL_MODULE__8427__;","module.exports = __WEBPACK_EXTERNAL_MODULE__5692__;","module.exports = __WEBPACK_EXTERNAL_MODULE__8310__;","module.exports = __WEBPACK_EXTERNAL_MODULE__8156__;","module.exports = __WEBPACK_EXTERNAL_MODULE__1738__;","module.exports = __WEBPACK_EXTERNAL_MODULE__1553__;","export default function _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) {\n return typeof obj;\n } : function (obj) {\n return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n }, _typeof(obj);\n}","// 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\t4659: 0,\n\t4953: 0,\n\t5785: 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, [5785], () => (__webpack_require__(2374)))\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n",""],"names":["_typeof","obj","Symbol","iterator","constructor","prototype","boundMethod","target","key","descriptor","fn","value","TypeError","concat","definingProperty","configurable","get","hasOwnProperty","boundFn","bind","Object","defineProperty","set","boundClass","keys","Reflect","ownKeys","getOwnPropertyNames","getOwnPropertySymbols","forEach","getOwnPropertyDescriptor","autobind","arguments","length","apply"],"sourceRoot":""}