@spaziodati/atoka-design-system 2.1.2 → 2.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AddableItems/index.js +145 -141
- package/AddableItems/index.js.map +1 -1
- package/Alert/index.js +6 -4
- package/Alert/index.js.map +1 -1
- package/Badge/index.js +4 -4
- package/Badge/index.js.map +1 -1
- package/Bs4V3Wrapper/index.js +6 -4
- package/Bs4V3Wrapper/index.js.map +1 -1
- package/BubbleChart/index.js +1729 -2098
- package/BubbleChart/index.js.map +1 -1
- package/Button/Button.storiesConfig.d.ts +0 -10
- package/Button/index.js +9 -7
- package/Button/index.js.map +1 -1
- package/ButtonDropdown/index.js +131 -133
- package/ButtonDropdown/index.js.map +1 -1
- package/CardsPage/index.js +227 -233
- package/CardsPage/index.js.map +1 -1
- package/CursorPagination/index.js +132 -136
- package/CursorPagination/index.js.map +1 -1
- package/DatePicker/index.js +123 -126
- package/DatePicker/index.js.map +1 -1
- package/DetailPage/index.js +1353 -1429
- package/DetailPage/index.js.map +1 -1
- package/Dropdown/index.js +133 -133
- package/Dropdown/index.js.map +1 -1
- package/EditableString/index.js +2400 -2483
- package/EditableString/index.js.map +1 -1
- package/EllipsableContent/index.js +14 -12
- package/EllipsableContent/index.js.map +1 -1
- package/EmptyState/index.js +6 -4
- package/EmptyState/index.js.map +1 -1
- package/Facet/index.js +149 -144
- package/Facet/index.js.map +1 -1
- package/FacetSection/index.js +15 -11
- package/FacetSection/index.js.map +1 -1
- package/FadeAnimation/index.js +660 -731
- package/FadeAnimation/index.js.map +1 -1
- package/FeedbackButton/index.js +10 -8
- package/FeedbackButton/index.js.map +1 -1
- package/Form/index.js +7 -7
- package/Form/index.js.map +1 -1
- package/Funnel/index.js +2854 -3227
- package/Funnel/index.js.map +1 -1
- package/GridCard/index.js +162 -154
- package/GridCard/index.js.map +1 -1
- package/HighlightableText/index.js +138 -137
- package/HighlightableText/index.js.map +1 -1
- package/Histogram/index.js +1168 -1180
- package/Histogram/index.js.map +1 -1
- package/InlineStringEditor/index.js +183 -203
- package/InlineStringEditor/index.js.map +1 -1
- package/InputGroup/index.js +3 -3
- package/InputGroup/index.js.map +1 -1
- package/Jumbotron/index.js +7 -5
- package/Jumbotron/index.js.map +1 -1
- package/Map/Map.d.ts +3 -3
- package/Map/Types.d.ts +2 -2
- package/Map/index.js +4200 -3823
- package/Map/index.js.map +1 -1
- package/Modal/index.js +12 -10
- package/Modal/index.js.map +1 -1
- package/Navbar/index.js +2426 -2517
- package/Navbar/index.js.map +1 -1
- package/Pagination/index.js +132 -136
- package/Pagination/index.js.map +1 -1
- package/PieChart/index.js +204 -219
- package/PieChart/index.js.map +1 -1
- package/PublicFooter/index.js +14 -10
- package/PublicFooter/index.js.map +1 -1
- package/PublicNavbar/index.js +6 -4
- package/PublicNavbar/index.js.map +1 -1
- package/README.md +5 -2
- package/RecordBit/index.js +15 -11
- package/RecordBit/index.js.map +1 -1
- package/ResultItemCard/index.js +25 -19
- package/ResultItemCard/index.js.map +1 -1
- package/SelectDropdown/index.js +171 -185
- package/SelectDropdown/index.js.map +1 -1
- package/Spinner/index.js +6 -4
- package/Spinner/index.js.map +1 -1
- package/StatisticsItemCard/index.js +170 -160
- package/StatisticsItemCard/index.js.map +1 -1
- package/StatisticsItemNumeric/index.js +6 -4
- package/StatisticsItemNumeric/index.js.map +1 -1
- package/StatisticsLegend/index.js +173 -189
- package/StatisticsLegend/index.js.map +1 -1
- package/StatisticsTooltip/index.js +15 -15
- package/StatisticsTooltip/index.js.map +1 -1
- package/Suggester/getRenderCustomMultiValueWithIcon.d.ts +1 -1
- package/Suggester/index.js +160 -160
- package/Suggester/index.js.map +1 -1
- package/SunBurst/index.js +140 -144
- package/SunBurst/index.js.map +1 -1
- package/TabSwitcher/index.js +144 -144
- package/TabSwitcher/index.js.map +1 -1
- package/Title/index.js +8 -6
- package/Title/index.js.map +1 -1
- package/Toasts/Toast.d.ts +41 -0
- package/Toasts/ToastContainer.d.ts +4 -0
- package/Toasts/ToastHeader.d.ts +7 -0
- package/Toasts/index.d.ts +2 -0
- package/Toasts/index.js +2285 -0
- package/Toasts/index.js.map +1 -0
- package/ToggleButtonGroup/index.js +128 -130
- package/ToggleButtonGroup/index.js.map +1 -1
- package/Tooltip/index.js +3 -3
- package/Tooltip/index.js.map +1 -1
- package/Utils/index.js +1049 -1426
- package/Utils/index.js.map +1 -1
- package/{atoka-design-system-2.1.2.min.css → atoka-design-system-2.1.5.min.css} +1 -1
- package/index.d.ts +1 -0
- package/index.js +13126 -11649
- package/index.js.map +1 -1
- package/package.json +48 -40
- package/styles/atoka-bs.less +1 -1
- package/styles/variant-mixins.less +7 -7
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StatisticsLegend/index.js","mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD,O;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACVoC;AACV;AAEQ;AACe;AACG;AAEpD,IAAM,OAAO,GAAa,UAAC,KAAoC,IAAK,QAChE,gDAAK,SAAS,EAAC,4BAA4B,IAAE,KAAK,CAAC,QAAQ,CAAO,CACrE,EAFmE,CAEnE,CAAC;AAEF,OAAO,CAAC,WAAW,GAAG,2BAA2B,CAAC;AAElD,IAAM,MAAM,GAAa,UAAC,KAAoC,IAAK,QAC/D,gDAAK,SAAS,EAAC,2BAA2B,IAAE,KAAK,CAAC,QAAQ,CAAO,CACpE,EAFkE,CAElE,CAAC;AAEF,MAAM,CAAC,WAAW,GAAG,0BAA0B,CAAC;AAMhD,IAAM,OAAO,GAAa,UAAC,KAAoC;IAC3D,IAAM,cAAc,GAAG,gDAAK,SAAS,EAAC,4BAA4B,IAAE,KAAK,CAAC,QAAQ,CAAO,CAAC;IAE1F,IAAI,KAAK,CAAC,OAAO,IAAI,IAAI,EAAE;QACvB,OAAO,cAAc,CAAC;KACzB;IAED,OAAO,CACH,uCAAC,eA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H,IAAAA,OAAO,GAAG,SAASA,OAAT,CAAiBC,GAAjB,EAAsB;AAC9B,aAAO,OAAOA,GAAd;AACD,KAFD;AAGD,GAJD,MAIO;AACLD,IAAAA,OAAO,GAAG,SAASA,OAAT,CAAiBC,GAAjB,EAAsB;AAC9B,aAAOA,GAAG,IAAI,OAAOC,MAAP,KAAkB,UAAzB,IAAuCD,GAAG,CAACG,WAAJ,KAAoBF,MAA3D,IAAqED,GAAG,KAAKC,MAAM,CAACG,SAApF,GAAgG,QAAhG,GAA2G,OAAOJ,GAAzH;AACD,KAFD;AAGD;;AAED,SAAOD,OAAO,CAACC,GAAD,CAAd;AACD;;;;;;UCdD;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/./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/./node_modules/autobind-decorator/lib/esm/index.js","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 ","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 ({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","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}","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 if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") {\n _typeof = function _typeof(obj) {\n return typeof obj;\n };\n } else {\n _typeof = function _typeof(obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n };\n }\n\n return _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\t2210: 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, [2210], () => (__webpack_require__(8010)))\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
|
+
{"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;;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;EACnC;;EAEA,OAAOD,OAAO,GAAG,cAAc,OAAOE,MAArB,IAA+B,YAAY,OAAOA,MAAM,CAACC,QAAzD,GAAoE,UAAUF,GAAV,EAAe;IAClG,OAAO,OAAOA,GAAd;EACD,CAFgB,GAEb,UAAUA,GAAV,EAAe;IACjB,OAAOA,GAAG,IAAI,cAAc,OAAOC,MAA5B,IAAsCD,GAAG,CAACG,WAAJ,KAAoBF,MAA1D,IAAoED,GAAG,KAAKC,MAAM,CAACG,SAAnF,GAA+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\t6999: 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, [6999], () => (__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":""}
|
|
@@ -12,7 +12,7 @@ return /******/ (() => { // webpackBootstrap
|
|
|
12
12
|
/******/ "use strict";
|
|
13
13
|
/******/ var __webpack_modules__ = ({
|
|
14
14
|
|
|
15
|
-
/***/
|
|
15
|
+
/***/ 8352:
|
|
16
16
|
/***/ ((__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) => {
|
|
17
17
|
|
|
18
18
|
|
|
@@ -39,7 +39,7 @@ var FormLabel = external_react_default().memo(function (props) {
|
|
|
39
39
|
FormLabel.displayName = 'FormLabel';
|
|
40
40
|
|
|
41
41
|
// EXTERNAL MODULE: ./src/components/Form/FormControl.tsx + 1 modules
|
|
42
|
-
var FormControl = __webpack_require__(
|
|
42
|
+
var FormControl = __webpack_require__(2048);
|
|
43
43
|
;// CONCATENATED MODULE: ./src/components/Form/FormCheckbox.tsx
|
|
44
44
|
var __assign = (undefined && undefined.__assign) || function () {
|
|
45
45
|
__assign = Object.assign || function(t) {
|
|
@@ -151,7 +151,7 @@ Form.Group = (Form_default()).Group;
|
|
|
151
151
|
|
|
152
152
|
/***/ }),
|
|
153
153
|
|
|
154
|
-
/***/
|
|
154
|
+
/***/ 2048:
|
|
155
155
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
156
156
|
|
|
157
157
|
|
|
@@ -228,7 +228,7 @@ FormControl.displayName = 'FormControl';
|
|
|
228
228
|
|
|
229
229
|
/***/ }),
|
|
230
230
|
|
|
231
|
-
/***/
|
|
231
|
+
/***/ 8007:
|
|
232
232
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
233
233
|
|
|
234
234
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
@@ -236,7 +236,7 @@ FormControl.displayName = 'FormControl';
|
|
|
236
236
|
/* harmony export */ });
|
|
237
237
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8156);
|
|
238
238
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
239
|
-
/* harmony import */ var _index__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
239
|
+
/* harmony import */ var _index__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4806);
|
|
240
240
|
var __assign = (undefined && undefined.__assign) || function () {
|
|
241
241
|
__assign = Object.assign || function(t) {
|
|
242
242
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
@@ -263,7 +263,7 @@ function getRenderStatisticsTooltip(_a) {
|
|
|
263
263
|
|
|
264
264
|
/***/ }),
|
|
265
265
|
|
|
266
|
-
/***/
|
|
266
|
+
/***/ 4806:
|
|
267
267
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
268
268
|
|
|
269
269
|
// ESM COMPAT FLAG
|
|
@@ -283,7 +283,7 @@ var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_)
|
|
|
283
283
|
var external_classnames_ = __webpack_require__(8310);
|
|
284
284
|
var external_classnames_default = /*#__PURE__*/__webpack_require__.n(external_classnames_);
|
|
285
285
|
// EXTERNAL MODULE: ./src/components/Utils/Statistics.ts
|
|
286
|
-
var Statistics = __webpack_require__(
|
|
286
|
+
var Statistics = __webpack_require__(5909);
|
|
287
287
|
;// CONCATENATED MODULE: ./src/components/StatisticsTooltip/StatisticsTooltip.tsx
|
|
288
288
|
|
|
289
289
|
|
|
@@ -346,7 +346,7 @@ var StatisticsTooltip = external_react_default().memo(function (props) {
|
|
|
346
346
|
StatisticsTooltip.displayName = 'StatisticsTooltip';
|
|
347
347
|
|
|
348
348
|
// EXTERNAL MODULE: ./src/components/StatisticsTooltip/helpers.tsx
|
|
349
|
-
var helpers = __webpack_require__(
|
|
349
|
+
var helpers = __webpack_require__(8007);
|
|
350
350
|
;// CONCATENATED MODULE: ./src/components/StatisticsTooltip/index.ts
|
|
351
351
|
|
|
352
352
|
|
|
@@ -354,14 +354,14 @@ var helpers = __webpack_require__(1470);
|
|
|
354
354
|
|
|
355
355
|
/***/ }),
|
|
356
356
|
|
|
357
|
-
/***/
|
|
357
|
+
/***/ 5909:
|
|
358
358
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
359
359
|
|
|
360
360
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
361
361
|
/* harmony export */ "Ow": () => (/* binding */ normalizePercentage)
|
|
362
362
|
/* harmony export */ });
|
|
363
363
|
/* unused harmony exports createDataWithOtherSlice, createCleanTree */
|
|
364
|
-
/* harmony import */ var _Utils_Utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
364
|
+
/* harmony import */ var _Utils_Utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4915);
|
|
365
365
|
var __values = (undefined && undefined.__values) || function(o) {
|
|
366
366
|
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
|
367
367
|
if (m) return m.call(o);
|
|
@@ -438,13 +438,13 @@ function removeValueIfChildren(node) {
|
|
|
438
438
|
}
|
|
439
439
|
function normalizePercentage(value) {
|
|
440
440
|
var _a;
|
|
441
|
-
return parseInt((_a = value === null || value === void 0 ? void 0 : value.toFixed) === null || _a === void 0 ? void 0 : _a.call(value, 0), 10)
|
|
441
|
+
return "".concat(parseInt((_a = value === null || value === void 0 ? void 0 : value.toFixed) === null || _a === void 0 ? void 0 : _a.call(value, 0), 10), "%");
|
|
442
442
|
}
|
|
443
443
|
|
|
444
444
|
|
|
445
445
|
/***/ }),
|
|
446
446
|
|
|
447
|
-
/***/
|
|
447
|
+
/***/ 4915:
|
|
448
448
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
449
449
|
|
|
450
450
|
/* unused harmony exports findChildrenByComponent, findChildByComponent, hasChildIconOrCheckboxComponent, scrollToTop, zip, sortObjDesc, clone, getDebouncer, deepEqual, rgbToHex */
|
|
@@ -452,7 +452,7 @@ function normalizePercentage(value) {
|
|
|
452
452
|
/* harmony import */ var _fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_0__);
|
|
453
453
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(8156);
|
|
454
454
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
|
|
455
|
-
/* harmony import */ var _Form_Form__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
|
|
455
|
+
/* harmony import */ var _Form_Form__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(8352);
|
|
456
456
|
var __read = (undefined && undefined.__read) || function (o, n) {
|
|
457
457
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
458
458
|
if (!m) return o;
|
|
@@ -736,7 +736,7 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__8763__;
|
|
|
736
736
|
/******/ // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded
|
|
737
737
|
/******/ var installedChunks = {
|
|
738
738
|
/******/ 9811: 0,
|
|
739
|
-
/******/
|
|
739
|
+
/******/ 6999: 0
|
|
740
740
|
/******/ };
|
|
741
741
|
/******/
|
|
742
742
|
/******/ // no chunk on demand loading
|
|
@@ -786,7 +786,7 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__8763__;
|
|
|
786
786
|
/******/ // startup
|
|
787
787
|
/******/ // Load entry module and return exports
|
|
788
788
|
/******/ // This entry module depends on other loaded chunks and execution need to be delayed
|
|
789
|
-
/******/ var __webpack_exports__ = __webpack_require__.O(undefined, [
|
|
789
|
+
/******/ var __webpack_exports__ = __webpack_require__.O(undefined, [6999], () => (__webpack_require__(4806)))
|
|
790
790
|
/******/ __webpack_exports__ = __webpack_require__.O(__webpack_exports__);
|
|
791
791
|
/******/
|
|
792
792
|
/******/ return __webpack_exports__;
|