@spaziodati/atoka-design-system 2.0.72-beta
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AddableItems/AddableItems.d.ts +72 -0
- package/AddableItems/ClickableExcludableItem.d.ts +23 -0
- package/AddableItems/ClickableItemList.d.ts +32 -0
- package/AddableItems/index.d.ts +1 -0
- package/AddableItems/index.js +1046 -0
- package/AddableItems/index.js.map +1 -0
- package/Alert/Alert.d.ts +37 -0
- package/Alert/index.d.ts +1 -0
- package/Alert/index.js +319 -0
- package/Alert/index.js.map +1 -0
- package/Badge/Badge.d.ts +38 -0
- package/Badge/index.d.ts +1 -0
- package/Badge/index.js +285 -0
- package/Badge/index.js.map +1 -0
- package/Bs4V3Wrapper/Bs4V3Wrapper.d.ts +7 -0
- package/Bs4V3Wrapper/StoryWrapper.d.ts +8 -0
- package/Bs4V3Wrapper/index.d.ts +1 -0
- package/Bs4V3Wrapper/index.js +251 -0
- package/Bs4V3Wrapper/index.js.map +1 -0
- package/BubbleChart/BubbleChart.d.ts +33 -0
- package/BubbleChart/BubbleChartUI.d.ts +31 -0
- package/BubbleChart/index.d.ts +1 -0
- package/BubbleChart/index.js +3793 -0
- package/BubbleChart/index.js.map +1 -0
- package/Button/Button.d.ts +29 -0
- package/Button/Button.storiesConfig.d.ts +68 -0
- package/Button/index.d.ts +1 -0
- package/Button/index.js +323 -0
- package/Button/index.js.map +1 -0
- package/ButtonDropdown/ButtonDropdown.d.ts +23 -0
- package/ButtonDropdown/index.d.ts +2 -0
- package/ButtonDropdown/index.js +603 -0
- package/ButtonDropdown/index.js.map +1 -0
- package/CardsPage/CardsPage.d.ts +12 -0
- package/CardsPage/CardsPageActions.d.ts +2 -0
- package/CardsPage/CardsPageCards.d.ts +5 -0
- package/CardsPage/CardsPageCardsCounter.d.ts +7 -0
- package/CardsPage/CardsPageFilters.d.ts +3 -0
- package/CardsPage/CardsPageHeader.d.ts +11 -0
- package/CardsPage/CardsPageLayoutMode.d.ts +13 -0
- package/CardsPage/CardsPageSelectionActions.d.ts +17 -0
- package/CardsPage/CardsPageSelectionToggler.d.ts +8 -0
- package/CardsPage/CardsPageSorting.d.ts +15 -0
- package/CardsPage/CardsPageSubtitle.d.ts +2 -0
- package/CardsPage/CardsPageTabContent.d.ts +19 -0
- package/CardsPage/CardsPageTabSwitcher.d.ts +3 -0
- package/CardsPage/CardsPageTitle.d.ts +2 -0
- package/CardsPage/index.d.ts +2 -0
- package/CardsPage/index.js +2511 -0
- package/CardsPage/index.js.map +1 -0
- package/CursorPagination/CursorPagination.d.ts +21 -0
- package/CursorPagination/index.d.ts +1 -0
- package/CursorPagination/index.js +952 -0
- package/CursorPagination/index.js.map +1 -0
- package/DatePicker/DatePicker.d.ts +27 -0
- package/DatePicker/index.d.ts +1 -0
- package/DatePicker/index.js +452 -0
- package/DatePicker/index.js.map +1 -0
- package/DetailPage/DetailPage.d.ts +18 -0
- package/DetailPage/DetailPageBodyContainer.d.ts +2 -0
- package/DetailPage/DetailPageBodySection.d.ts +3 -0
- package/DetailPage/DetailPageHeaderContainer.d.ts +7 -0
- package/DetailPage/DetailPageHeaderUI.d.ts +12 -0
- package/DetailPage/DetailPageMenuContainer.d.ts +2 -0
- package/DetailPage/DetailPageMenuUI.d.ts +4 -0
- package/DetailPage/index.d.ts +1 -0
- package/DetailPage/index.js +2066 -0
- package/DetailPage/index.js.map +1 -0
- package/Dropdown/AtokaDropdownToggles.d.ts +11 -0
- package/Dropdown/Dropdown.d.ts +12 -0
- package/Dropdown/DropdownMenu.d.ts +7 -0
- package/Dropdown/index.d.ts +3 -0
- package/Dropdown/index.js +723 -0
- package/Dropdown/index.js.map +1 -0
- package/EditableString/EditableString.d.ts +42 -0
- package/EditableString/index.d.ts +1 -0
- package/EditableString/index.js +3321 -0
- package/EditableString/index.js.map +1 -0
- package/EllipsableContent/EllipsableContent.d.ts +18 -0
- package/EllipsableContent/index.d.ts +1 -0
- package/EllipsableContent/index.js +784 -0
- package/EllipsableContent/index.js.map +1 -0
- package/EmptyState/EmptyState.d.ts +12 -0
- package/EmptyState/index.d.ts +1 -0
- package/EmptyState/index.js +278 -0
- package/EmptyState/index.js.map +1 -0
- package/Facet/Facet.d.ts +21 -0
- package/Facet/FacetHelp.d.ts +28 -0
- package/Facet/FacetItemCount.d.ts +7 -0
- package/Facet/FacetSubtitle.d.ts +2 -0
- package/Facet/index.d.ts +1 -0
- package/Facet/index.js +914 -0
- package/Facet/index.js.map +1 -0
- package/FacetSection/FacetSection.d.ts +21 -0
- package/FacetSection/index.d.ts +1 -0
- package/FacetSection/index.js +443 -0
- package/FacetSection/index.js.map +1 -0
- package/FadeAnimation/FadeAnimation.d.ts +14 -0
- package/FadeAnimation/index.d.ts +1 -0
- package/FadeAnimation/index.js +1228 -0
- package/FadeAnimation/index.js.map +1 -0
- package/FeedbackButton/FeedbackButton.d.ts +19 -0
- package/FeedbackButton/index.d.ts +1 -0
- package/FeedbackButton/index.js +398 -0
- package/FeedbackButton/index.js.map +1 -0
- package/Form/Form.d.ts +23 -0
- package/Form/FormCheckbox.d.ts +10 -0
- package/Form/FormControl.d.ts +23 -0
- package/Form/FormControlFeedBack.d.ts +6 -0
- package/Form/FormHelp.d.ts +7 -0
- package/Form/FormLabel.d.ts +4 -0
- package/Form/FormRadio.d.ts +10 -0
- package/Form/index.d.ts +1 -0
- package/Form/index.js +450 -0
- package/Form/index.js.map +1 -0
- package/Funnel/Funnel.d.ts +54 -0
- package/Funnel/SVGDataLabel.d.ts +11 -0
- package/Funnel/index.d.ts +1 -0
- package/Funnel/index.js +3997 -0
- package/Funnel/index.js.map +1 -0
- package/GridCard/Fixtures.d.ts +3 -0
- package/GridCard/GridCard.d.ts +20 -0
- package/GridCard/GridCardContent.d.ts +2 -0
- package/GridCard/GridCardFooter.d.ts +2 -0
- package/GridCard/GridCardHeader.d.ts +14 -0
- package/GridCard/GridCardMenu.d.ts +2 -0
- package/GridCard/GridCardTags.d.ts +2 -0
- package/GridCard/GridCardTitle.d.ts +6 -0
- package/GridCard/index.d.ts +1 -0
- package/GridCard/index.js +1618 -0
- package/GridCard/index.js.map +1 -0
- package/HighlightableText/HighlightableText.d.ts +21 -0
- package/HighlightableText/index.d.ts +1 -0
- package/HighlightableText/index.js +624 -0
- package/HighlightableText/index.js.map +1 -0
- package/Histogram/Histogram.d.ts +126 -0
- package/Histogram/Types.d.ts +19 -0
- package/Histogram/index.d.ts +1 -0
- package/Histogram/index.js +2359 -0
- package/Histogram/index.js.map +1 -0
- package/InlineStringEditor/InlineStringEditor.d.ts +49 -0
- package/InlineStringEditor/index.d.ts +1 -0
- package/InlineStringEditor/index.js +1882 -0
- package/InlineStringEditor/index.js.map +1 -0
- package/InputGroup/InputGroup.d.ts +16 -0
- package/InputGroup/InputGroupText.d.ts +2 -0
- package/InputGroup/index.d.ts +1 -0
- package/InputGroup/index.js +279 -0
- package/InputGroup/index.js.map +1 -0
- package/Jumbotron/Jumbotron.d.ts +16 -0
- package/Jumbotron/index.d.ts +1 -0
- package/Jumbotron/index.js +270 -0
- package/Jumbotron/index.js.map +1 -0
- package/Map/Map.d.ts +27 -0
- package/Map/MapChoropleth.d.ts +31 -0
- package/Map/MapControl.d.ts +13 -0
- package/Map/MapLegendContent.d.ts +27 -0
- package/Map/MapPopup.d.ts +5 -0
- package/Map/MapUtils.d.ts +2 -0
- package/Map/Types.d.ts +38 -0
- package/Map/index.d.ts +2 -0
- package/Map/index.js +4810 -0
- package/Map/index.js.map +1 -0
- package/Modal/Modal.d.ts +32 -0
- package/Modal/index.d.ts +1 -0
- package/Modal/index.js +743 -0
- package/Modal/index.js.map +1 -0
- package/Navbar/Navbar.d.ts +42 -0
- package/Navbar/NavbarMobileMenuCollapse.d.ts +3 -0
- package/Navbar/NavbarMobileMenuToggle.d.ts +3 -0
- package/Navbar/NavbarNavigationMenu.d.ts +9 -0
- package/Navbar/NavbarNavigationMenuItem.d.ts +9 -0
- package/Navbar/NavbarNinjaMenu.d.ts +6 -0
- package/Navbar/NavbarNinjaMenuItem.d.ts +6 -0
- package/Navbar/NavbarNotificationMenu.d.ts +12 -0
- package/Navbar/NavbarNotificationMenuItem.d.ts +8 -0
- package/Navbar/NavbarOverlaySearch.d.ts +28 -0
- package/Navbar/NavbarOverlaySearchCard.d.ts +9 -0
- package/Navbar/NavbarOverlaySearchResults.d.ts +12 -0
- package/Navbar/NavbarUserMenu.d.ts +9 -0
- package/Navbar/NavbarUserMenuItem.d.ts +6 -0
- package/Navbar/index.d.ts +1 -0
- package/Navbar/index.js +3521 -0
- package/Navbar/index.js.map +1 -0
- package/Pagination/Pagination.d.ts +27 -0
- package/Pagination/PaginationNext.d.ts +7 -0
- package/Pagination/PaginationPrev.d.ts +7 -0
- package/Pagination/index.d.ts +1 -0
- package/Pagination/index.js +994 -0
- package/Pagination/index.js.map +1 -0
- package/PieChart/PieChart.d.ts +71 -0
- package/PieChart/index.d.ts +1 -0
- package/PieChart/index.js +1986 -0
- package/PieChart/index.js.map +1 -0
- package/PublicFooter/PublicFooter.d.ts +6 -0
- package/PublicFooter/index.d.ts +1 -0
- package/PublicFooter/index.js +454 -0
- package/PublicFooter/index.js.map +1 -0
- package/PublicNavbar/PublicNavbar.d.ts +6 -0
- package/PublicNavbar/index.d.ts +1 -0
- package/PublicNavbar/index.js +255 -0
- package/PublicNavbar/index.js.map +1 -0
- package/RecordBit/RecordBit.d.ts +14 -0
- package/RecordBit/index.d.ts +1 -0
- package/RecordBit/index.js +482 -0
- package/RecordBit/index.js.map +1 -0
- package/ResultItemCard/ResultItemCard.d.ts +19 -0
- package/ResultItemCard/ResultItemCardActions.d.ts +3 -0
- package/ResultItemCard/ResultItemCardFooter.d.ts +6 -0
- package/ResultItemCard/ResultItemCardImage.d.ts +6 -0
- package/ResultItemCard/ResultItemCardSubtitle.d.ts +6 -0
- package/ResultItemCard/ResultItemCardText.d.ts +7 -0
- package/ResultItemCard/ResultItemCardTitle.d.ts +7 -0
- package/ResultItemCard/index.d.ts +1 -0
- package/ResultItemCard/index.js +1067 -0
- package/ResultItemCard/index.js.map +1 -0
- package/SelectDropdown/SelectDropdown.d.ts +29 -0
- package/SelectDropdown/index.d.ts +1 -0
- package/SelectDropdown/index.js +1520 -0
- package/SelectDropdown/index.js.map +1 -0
- package/Spinner/Spinner.d.ts +32 -0
- package/Spinner/index.d.ts +1 -0
- package/Spinner/index.js +325 -0
- package/Spinner/index.js.map +1 -0
- package/StatisticsItemCard/StatisticsItemCard.d.ts +35 -0
- package/StatisticsItemCard/index.d.ts +1 -0
- package/StatisticsItemCard/index.js +1786 -0
- package/StatisticsItemCard/index.js.map +1 -0
- package/StatisticsItemNumeric/StatisticsItemNumeric.d.ts +18 -0
- package/StatisticsItemNumeric/index.d.ts +1 -0
- package/StatisticsItemNumeric/index.js +283 -0
- package/StatisticsItemNumeric/index.js.map +1 -0
- package/StatisticsLegend/StatisticsLegend.d.ts +35 -0
- package/StatisticsLegend/StatisticsLegendItem.d.ts +50 -0
- package/StatisticsLegend/StatisticsSVGLegend.d.ts +26 -0
- package/StatisticsLegend/helpers.d.ts +19 -0
- package/StatisticsLegend/index.d.ts +3 -0
- package/StatisticsLegend/index.js +1571 -0
- package/StatisticsLegend/index.js.map +1 -0
- package/StatisticsTooltip/StatisticsTooltip.d.ts +20 -0
- package/StatisticsTooltip/helpers.d.ts +19 -0
- package/StatisticsTooltip/index.d.ts +2 -0
- package/StatisticsTooltip/index.js +796 -0
- package/StatisticsTooltip/index.js.map +1 -0
- package/Suggester/CustomOption.d.ts +29 -0
- package/Suggester/InputValueContainer.d.ts +11 -0
- package/Suggester/Suggester.d.ts +80 -0
- package/Suggester/getRenderCustomMultiValueWithIcon.d.ts +6 -0
- package/Suggester/index.d.ts +3 -0
- package/Suggester/index.js +1126 -0
- package/Suggester/index.js.map +1 -0
- package/SunBurst/SunBurst.d.ts +61 -0
- package/SunBurst/index.d.ts +2 -0
- package/SunBurst/index.js +1170 -0
- package/SunBurst/index.js.map +1 -0
- package/TabSwitcher/TabSwitcher.d.ts +35 -0
- package/TabSwitcher/TabSwitcherChoice.d.ts +21 -0
- package/TabSwitcher/index.d.ts +1 -0
- package/TabSwitcher/index.js +1135 -0
- package/TabSwitcher/index.js.map +1 -0
- package/Title/Title.d.ts +16 -0
- package/Title/index.d.ts +1 -0
- package/Title/index.js +302 -0
- package/Title/index.js.map +1 -0
- package/ToggleButtonGroup/ToggleButton.d.ts +15 -0
- package/ToggleButtonGroup/ToggleButtonGroup.d.ts +24 -0
- package/ToggleButtonGroup/index.d.ts +1 -0
- package/ToggleButtonGroup/index.js +609 -0
- package/ToggleButtonGroup/index.js.map +1 -0
- package/Tooltip/Tooltip.d.ts +20 -0
- package/Tooltip/index.d.ts +1 -0
- package/Tooltip/index.js +291 -0
- package/Tooltip/index.js.map +1 -0
- package/Utils/CommonTypes.d.ts +29 -0
- package/Utils/Statistics.d.ts +3 -0
- package/Utils/Style.d.ts +5 -0
- package/Utils/Text.d.ts +12 -0
- package/Utils/Utils.d.ts +12 -0
- package/Utils/index.d.ts +5 -0
- package/Utils/index.js +3379 -0
- package/Utils/index.js.map +1 -0
- package/atoka-design-system-2.0.72-beta.min.css +1 -0
- package/commonFixtures.d.ts +1 -0
- package/index.d.ts +51 -0
- package/index.js +15343 -0
- package/index.js.map +1 -0
- package/package.json +157 -0
- package/styles/animations-mixin.less +28 -0
- package/styles/atoka-bootstrap-fixed-mixins.less +81 -0
- package/styles/atoka-bootstrap-variables.less +70 -0
- package/styles/atoka-bs.less +99 -0
- package/styles/atoka-namespaced-bs.less +28 -0
- package/styles/variables.less +106 -0
- package/styles/variant-mixins.less +96 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StatisticsTooltip/index.js","mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD,O;;;;;;;;;;;;;;;;;;;;ACV0B;AACU;AACM;AAGhB;AAEnB,IAAM,SAAS,GAA6B,6BAAU,CAAC,UAAC,KAAK;IAChE,IAAM,SA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UAEA;UACA;;UAEA;UACA;UACA;;UAEA;UACA;;;;;WCzBA;WACA;WACA;WACA;WACA,+BAA+B,wCAAwC;WACvE;WACA;WACA;WACA;WACA,iBAAiB,qBAAqB;WACtC;WACA;WACA,kBAAkB,qBAAqB;WACvC;WACA;WACA,KAAK;WACL;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;;;;;WC3BA;WACA;WACA;WACA;WACA;WACA,iCAAiC,WAAW;WAC5C;WACA;;;;;WCPA;WACA;WACA;WACA;WACA,yCAAyC,wCAAwC;WACjF;WACA;WACA;;;;;WCPA;;;;;WCAA;WACA;WACA;WACA,uDAAuD,iBAAiB;WACxE;WACA,gDAAgD,aAAa;WAC7D;;;;;WCNA;;WAEA;WACA;WACA;WACA;WACA;WACA;WACA;;WAEA;;WAEA;;WAEA;;WAEA;;WAEA;;WAEA;;WAEA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA,MAAM,qBAAqB;WAC3B;WACA;WACA;WACA;WACA;WACA;WACA;WACA;;WAEA;WACA;WACA;;;;;UEjDA;UACA;UACA;UACA;UACA","sources":["webpack://atoka-design-system/webpack/universalModuleDefinition","webpack://atoka-design-system/./src/components/Form/FormLabel.tsx","webpack://atoka-design-system/./src/components/Form/FormCheckbox.tsx","webpack://atoka-design-system/./src/components/Form/FormRadio.tsx","webpack://atoka-design-system/./src/components/Form/FormHelp.tsx","webpack://atoka-design-system/./src/components/Form/Form.tsx","webpack://atoka-design-system/./src/components/Form/FormControlFeedBack.tsx","webpack://atoka-design-system/./src/components/Form/FormControl.tsx","webpack://atoka-design-system/./src/components/StatisticsTooltip/helpers.tsx","webpack://atoka-design-system/./src/components/StatisticsTooltip/StatisticsTooltip.tsx","webpack://atoka-design-system/./src/components/StatisticsTooltip/index.ts","webpack://atoka-design-system/./src/components/Utils/Statistics.ts","webpack://atoka-design-system/./src/components/Utils/Utils.tsx","webpack://atoka-design-system/external umd \"@fortawesome/react-fontawesome\"","webpack://atoka-design-system/external umd \"classnames\"","webpack://atoka-design-system/external umd \"react\"","webpack://atoka-design-system/external umd \"react-bootstrap/Form\"","webpack://atoka-design-system/external umd \"react-bootstrap/FormControl\"","webpack://atoka-design-system/external umd \"react-bootstrap/FormText\"","webpack://atoka-design-system/webpack/bootstrap","webpack://atoka-design-system/webpack/runtime/chunk loaded","webpack://atoka-design-system/webpack/runtime/compat get default export","webpack://atoka-design-system/webpack/runtime/define property getters","webpack://atoka-design-system/webpack/runtime/hasOwnProperty shorthand","webpack://atoka-design-system/webpack/runtime/make namespace object","webpack://atoka-design-system/webpack/runtime/jsonp chunk loading","webpack://atoka-design-system/webpack/before-startup","webpack://atoka-design-system/webpack/startup","webpack://atoka-design-system/webpack/after-startup"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory(require(\"@fortawesome/react-fontawesome\"), require(\"classnames\"), require(\"react\"), require(\"react-bootstrap/Form\"), require(\"react-bootstrap/FormControl\"), require(\"react-bootstrap/FormText\"));\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine(\"atoka-design-system\", [\"@fortawesome/react-fontawesome\", \"classnames\", \"react\", \"react-bootstrap/Form\", \"react-bootstrap/FormControl\", \"react-bootstrap/FormText\"], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"atoka-design-system\"] = factory(require(\"@fortawesome/react-fontawesome\"), require(\"classnames\"), require(\"react\"), require(\"react-bootstrap/Form\"), require(\"react-bootstrap/FormControl\"), require(\"react-bootstrap/FormText\"));\n\telse\n\t\troot[\"atoka-design-system\"] = factory(root[\"@fortawesome/react-fontawesome\"], root[\"classnames\"], root[\"react\"], root[\"react-bootstrap/Form\"], root[\"react-bootstrap/FormControl\"], root[\"react-bootstrap/FormText\"]);\n})(self, function(__WEBPACK_EXTERNAL_MODULE__5692__, __WEBPACK_EXTERNAL_MODULE__8310__, __WEBPACK_EXTERNAL_MODULE__8156__, __WEBPACK_EXTERNAL_MODULE__8721__, __WEBPACK_EXTERNAL_MODULE__1082__, __WEBPACK_EXTERNAL_MODULE__8763__) {\nreturn ","import React from 'react';\nimport classnames from 'classnames';\nimport BsForm from 'react-bootstrap/Form';\nimport {FormLabelProps} from 'react-bootstrap/FormLabel';\n\nimport './FormLabel.less';\n\nexport const FormLabel: React.FC<FormLabelProps> = React.memo((props): React.ReactElement => {\n const className: string = classnames(props?.className, 'atoka-form-label');\n return <BsForm.Label className={className}>{props.children}</BsForm.Label>;\n});\n\nFormLabel.displayName = 'FormLabel';\n","import React from 'react';\nimport classnames from 'classnames';\nimport BsForm from 'react-bootstrap/Form';\nimport './FormCheckbox.less';\n\nimport {FormCheckProps as BsFormCheckProps} from 'react-bootstrap/FormCheck';\n\nexport interface FormCheckboxProps extends BsFormCheckProps {\n name?: string;\n value?: string;\n onChange?: (e: React.ChangeEvent<HTMLInputElement>) => void;\n checked?: boolean;\n}\n\nexport const FormCheckbox: React.FC<FormCheckboxProps> = (props): React.ReactElement => {\n const className: string = classnames('atoka-form-checkbox', props?.className);\n return <BsForm.Check type='checkbox' {...props} custom className={className} label={props.label ?? ''} />;\n};\n\nFormCheckbox.displayName = 'FormCheckbox';\n","import React from 'react';\nimport classnames from 'classnames';\nimport BsForm from 'react-bootstrap/Form';\nimport './FormRadio.less';\n\nimport {FormCheckProps as BsFormCheckProps} from 'react-bootstrap/FormCheck';\n\nexport interface FormRadioProps extends BsFormCheckProps {\n name?: string;\n value?: string;\n onChange?: (e: React.ChangeEvent<HTMLInputElement>) => void;\n checked?: boolean;\n}\n\nexport const FormRadio: React.FC<FormRadioProps> = (props): React.ReactElement => {\n const className: string = classnames(props?.className, 'atoka-form-radio');\n return <BsForm.Check type='radio' {...props} custom className={className} label={props.label ?? ''} />;\n};\n\nFormRadio.displayName = 'FormRadio';\n","import BsFormText, {FormTextProps as BsFormTextProps} from 'react-bootstrap/FormText';\nimport React from 'react';\nimport classnames from 'classnames';\nimport './FormHelp.less';\n\nexport interface FormHelpProps extends BsFormTextProps {\n show?: boolean;\n}\n\nexport const FormHelp: React.FC<FormHelpProps> = React.memo(({children, ...props}): React.ReactElement => {\n const className: string = classnames('d-block', props?.className);\n return (\n <BsFormText bsPrefix='atoka-form-help' className={className}>\n {children}\n </BsFormText>\n );\n});\n\nFormHelp.displayName = 'FormHelp';\n","import React from 'react';\nimport classnames from 'classnames';\nimport BsForm, {FormProps as BsFormProps} from 'react-bootstrap/Form';\n\nimport './FormLabel.less';\nimport {FormLabel} from './FormLabel';\nimport {FormControl} from './FormControl';\nimport {FormCheckbox} from './FormCheckbox';\nimport {FormRadio} from './FormRadio';\nimport {FormHelp} from './FormHelp';\n\nexport interface FormProps extends BsFormProps {\n classNames?: string;\n}\n\ntype FormType<P> = React.FC<P> & {\n Control: typeof FormControl;\n Checkbox: typeof FormCheckbox;\n Radio: typeof FormRadio;\n File: typeof BsForm.File;\n Switch: typeof BsForm.Switch;\n Label: typeof FormLabel;\n Help: typeof FormHelp;\n Group: typeof BsForm.Group;\n};\n\nconst Form: FormType<FormProps> = (props): React.ReactElement => {\n const className: string = classnames(props?.className, 'atoka-form');\n return (\n <BsForm {...props} className={className}>\n {props.children}\n </BsForm>\n );\n};\n\nForm.displayName = 'Form';\n\nForm.Control = FormControl;\nForm.Label = FormLabel;\nForm.Checkbox = FormCheckbox;\nForm.Radio = FormRadio;\nForm.File = BsForm.File;\nForm.Switch = BsForm.Switch;\nForm.Help = FormHelp;\nForm.Group = BsForm.Group;\n\nexport {Form};\n","import {FeedbackProps as BsFeedbackProps} from 'react-bootstrap/Feedback';\nimport React from 'react';\nimport classnames from 'classnames';\nimport BsFormControl from 'react-bootstrap/FormControl';\n\nexport interface FeedBackProps extends BsFeedbackProps {\n show?: boolean;\n}\n\nexport const FormControlFeedBack: React.FC<FeedBackProps> = React.memo(\n ({show = true, ...props}): React.ReactElement => {\n const className: string = classnames(props?.className, 'atoka-form-control-feedback', {\n 'd-block': show,\n });\n return (\n <BsFormControl.Feedback type={props.type} className={className}>\n {props.children}\n </BsFormControl.Feedback>\n );\n },\n);\n\nFormControlFeedBack.displayName = ' FormControlFeedBack';\n","import React, {PropsWithoutRef} from 'react';\nimport classnames from 'classnames';\nimport BsFormControl, {FormControlProps as BsFormControlProps} from 'react-bootstrap/FormControl';\nimport {FormControlFeedBack} from './FormControlFeedBack';\nimport './FormControl.less';\n\nexport interface FormControlProps extends React.PropsWithChildren<Omit<BsFormControlProps, 'size'>> {\n rows?: string;\n cols?: string;\n placeholder?: string;\n size?: 'sm' | 'md' | 'lg';\n withShadow?: boolean;\n defaultValue?: string;\n onKeyPress?: React.KeyboardEventHandler<HTMLInputElement>;\n onKeyDown?: React.KeyboardEventHandler<HTMLInputElement>;\n}\n// when updating nivo, change me, I'm all strange because of this library! (the commit creating this comment might be of help)\ntype NivoPleasingForwardRefComponent<T, P> = (props: P & React.RefAttributes<T>) => React.ReactElement | null;\n\ntype FormControlWithForwardedRef = NivoPleasingForwardRefComponent<\n HTMLInputElement,\n PropsWithoutRef<FormControlProps>\n> & {displayName?: string};\n\nconst FormControlComponent: FormControlWithForwardedRef = React.forwardRef<HTMLInputElement, FormControlProps>(\n ({size = 'md', ...props}: FormControlProps, ref?: React.Ref<HTMLInputElement>) => {\n const className: string = classnames('atoka-form-control', props?.className, {\n 'atoka-shadow': props.withShadow,\n 'disabled': props.disabled,\n });\n\n return (\n <BsFormControl\n as={props.as}\n rows={props.rows}\n cols={props.cols}\n placeholder={props.placeholder}\n className={className}\n disabled={props.disabled}\n readOnly={props.readOnly}\n value={props.value}\n onChange={props.onChange}\n onKeyPress={props.onKeyPress}\n onKeyDown={props.onKeyDown}\n defaultValue={props.defaultValue}\n size={size === 'md' ? undefined : size}\n type={props.type}\n id={props.id}\n isValid={props.isValid}\n isInvalid={props.isInvalid}\n ref={ref}\n autoComplete='off'\n >\n {props.children}\n </BsFormControl>\n );\n },\n);\n\nFormControlComponent.displayName = 'FormControlComponent';\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nconst FormControl: typeof FormControlComponent & {FeedBack: typeof FormControlFeedBack} = FormControlComponent as any;\n\nFormControl.FeedBack = FormControlFeedBack;\n\nFormControl.displayName = 'FormControl';\n\nexport {FormControl};\n","import React from 'react';\nimport {NumberToStringFormatterType} from '../Utils/CommonTypes';\n\nimport {StatisticsTooltip} from './index';\n\nexport interface getRenderStatisticsTooltipData<B> {\n color?: string;\n data: B;\n}\n\ninterface PropsFromAbove {\n tooltipDataLabelKey?: string;\n tooltipDataValueKey?: string;\n tooltipDataTitleKey?: string;\n otherId?: string;\n numberToStringFormatter?: NumberToStringFormatterType;\n otherLabel?: string;\n withColor?: boolean;\n className?: string | null;\n}\n\nexport type GetRenderStatisticsTooltipType<T> = (props: getRenderStatisticsTooltipData<T>) => JSX.Element;\n\nexport function getRenderStatisticsTooltip<A>({\n tooltipDataLabelKey,\n tooltipDataValueKey,\n tooltipDataTitleKey,\n otherId,\n otherLabel,\n numberToStringFormatter,\n withColor,\n className = 'tooltip-background',\n}: PropsFromAbove): GetRenderStatisticsTooltipType<A> {\n // eslint-disable-next-line react/display-name\n return (props) => {\n let tooltipData = {\n ...props.data,\n value: props.data?.['value'],\n label: props.data?.['label'],\n id: props.data?.['id'],\n percentage: props.data?.['percentage'],\n };\n\n return (\n <StatisticsTooltip\n otherId={otherId}\n otherLabel={otherLabel}\n numberToStringFormatter={numberToStringFormatter}\n data={tooltipData}\n tooltipDataLabelKey={tooltipDataLabelKey}\n tooltipDataTitleKey={tooltipDataTitleKey}\n tooltipDataValueKey={tooltipDataValueKey}\n className={className ?? ''}\n color={withColor ? props.color : undefined}\n />\n );\n };\n}\n","import React from 'react';\nimport classnames from 'classnames';\nimport {PropsWithClassName, NumberToStringFormatterType} from '../Utils/CommonTypes';\nimport {normalizePercentage} from '../Utils/Statistics';\n\nexport interface TooltipData {\n value: string | number | null;\n label?: string | number;\n id: string;\n percentage?: number;\n}\n\n// The style for this component is in the atoka-bs.less file under the statistics-tooltip class\nexport interface StatisticsTooltipProps extends PropsWithClassName {\n data: TooltipData;\n tooltipDataLabelKey?: string;\n tooltipDataValueKey?: string;\n tooltipDataTitleKey?: string;\n otherId?: string;\n otherLabel?: string;\n color?: string;\n withColor?: boolean;\n numberToStringFormatter?: NumberToStringFormatterType;\n}\n\nexport const StatisticsTooltip = React.memo(\n (props: React.PropsWithChildren<StatisticsTooltipProps>): React.ReactElement => {\n // eslint-disable-next-line react/display-name\n function renderSubtitle(): React.ReactNode {\n let values = [\n {value: getLabel(), key: props.tooltipDataLabelKey, className: 'label'},\n {value: getValue(), key: props.tooltipDataValueKey, className: 'value'},\n ]\n .filter((el) => el.value != null)\n .map((el) => (\n <span key={el.key} className={el.className}>\n {el.value}\n </span>\n ));\n\n if (values.length === 0) {\n return null;\n }\n\n return <div className='d-flex justify-content-between'>{values}</div>;\n }\n\n function getLabel(): string | undefined {\n let {tooltipDataLabelKey, numberToStringFormatter, data} = props,\n label = getValueFromData(tooltipDataLabelKey, data);\n\n if (label == null) {\n return undefined;\n }\n\n if (numberToStringFormatter == null) {\n return String(label);\n }\n\n if (typeof label == 'string') {\n return label;\n }\n\n return numberToStringFormatter(label);\n }\n\n function getValue(): string | undefined {\n let {tooltipDataValueKey, data} = props,\n value = getValueFromData(tooltipDataValueKey, data);\n\n if (value == null) {\n return undefined;\n }\n\n if (typeof value == 'number') {\n return normalizePercentage(value);\n }\n\n return value;\n }\n\n function getTitle(): string | undefined {\n let {tooltipDataTitleKey, data, otherId, otherLabel} = props,\n title = getValueFromData(tooltipDataTitleKey, data);\n\n if (title === otherId) {\n return otherLabel ?? otherId;\n }\n\n return title ? String(title) : undefined;\n }\n\n function getValueFromData(key: string | undefined, data: TooltipData): string | number | undefined {\n return key == null ? undefined : data?.[key];\n }\n\n let className = classnames('statistics-tooltip', props?.className),\n colorRectangle =\n props.color == null ? null : <span className='tooltip-rectangle' style={{background: props.color}} />;\n\n return (\n <div className={className}>\n <div className='d-flex align-items-center'>\n {colorRectangle}\n <span className='text-left'>{getTitle()}</span>\n </div>\n {renderSubtitle()}\n {props.children}\n </div>\n );\n },\n);\n\nStatisticsTooltip.displayName = 'StatisticsTooltip';\n","export * from './StatisticsTooltip';\nexport {getRenderStatisticsTooltip, GetRenderStatisticsTooltipType} from './helpers';\n","import {clone} from '../Utils/Utils';\nimport {sortObjDesc} from './Utils';\n\nexport function createDataWithOtherSlice<T extends Record<string, unknown>>(\n data: T[],\n otherId?: string,\n otherLabel?: string,\n maxSlicesNumber: number = 0,\n total?: number,\n dataValueKey: string = 'value',\n): T[] {\n let otherValue = 0,\n newOtherId: string = otherId ?? 'other',\n // We know it is defined but Typescript does not get it.\n newmaxSlicesNumber: number = maxSlicesNumber ?? 0,\n newData: T[] = [],\n maxToMinData = data?.sort(sortObjDesc(dataValueKey));\n\n maxToMinData?.forEach((node: T, i: number) => {\n if (i < newmaxSlicesNumber && node.id !== otherId) {\n newData.push(createCleanTree<T>(node));\n } else {\n let nodeValue = Number(node?.value) ?? 0;\n otherValue += nodeValue;\n }\n });\n\n let otherNode = {};\n otherNode['id'] = newOtherId;\n otherNode['value'] = parseFloat(otherValue.toFixed(2));\n otherNode['initialValue'] = parseFloat(otherValue.toFixed(2));\n otherNode['label'] = otherLabel ?? newOtherId ?? '';\n\n if (data?.[0]?.percentage != null && total != null) {\n otherNode['percentage'] = (otherValue / total) * 100;\n }\n if (maxSlicesNumber !== Infinity || otherValue !== 0) {\n newData.push(otherNode as T);\n }\n\n return newData;\n}\n\nexport function createCleanTree<A extends Record<string, unknown>>(node: A): A {\n if (node.children == null) {\n return node;\n }\n let newNode = clone(node);\n removeValueIfChildren(newNode);\n return newNode;\n}\n// eslint-disable-next-line @typescript-eslint/ban-types\nfunction removeValueIfChildren<B extends object>(node: B): void {\n let children = (node?.['children'] ?? []) as B[];\n node['initialValue'] = node['value'];\n if (children.length > 0) {\n delete node['value'];\n }\n for (let child of children) {\n removeValueIfChildren(child);\n }\n}\n\nexport function normalizePercentage(value: number): string {\n return `${parseInt(value?.toFixed?.(0), 10)}%`;\n}\n","import {FontAwesomeIcon} from '@fortawesome/react-fontawesome';\nimport React from 'react';\nimport {Form} from '../Form/Form';\n\nexport function findChildrenByComponent(\n children: React.ReactNode,\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n component: React.ComponentClass | React.FunctionComponent | React.ForwardRefExoticComponent<any>,\n): React.ReactNode[] {\n let ret: React.ReactNode[] = [];\n React.Children.forEach(children, (element: React.ReactElement) => {\n if (element?.type === component) {\n ret.push(element);\n }\n });\n\n return ret;\n}\n\nexport function findChildByComponent(\n children: React.ReactNode,\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n component: React.ComponentClass | React.FunctionComponent | React.ForwardRefExoticComponent<any>,\n): React.ReactNode | null {\n return findChildrenByComponent(children, component)?.[0] ?? null;\n}\n\nexport function hasChildIconOrCheckboxComponent(children: React.ReactNode): boolean {\n let ret = false;\n React.Children.forEach(children, (element: React.ReactElement) => {\n if (\n element?.type != null &&\n (element?.type === FontAwesomeIcon || element?.type === 'i' || element?.type === Form.Checkbox)\n ) {\n ret = true;\n return;\n }\n });\n\n return ret;\n}\n\nexport function scrollToTop(): void {\n window.scrollTo(0, 0);\n}\n\nexport function zip<T>(arr1: T[], arr2: T[]): T[] {\n const ret: T[] = [];\n let i: number = 0;\n\n while (arr1[i]) {\n ret.push(arr1[i]);\n ret.push(arr2[i++]);\n }\n\n return ret;\n}\n\n// eslint-disable-next-line @typescript-eslint/ban-types\nexport function sortObjDesc<T extends object>(accessor: keyof T): (a: T, b: T) => number {\n return function (a: T, b: T): number {\n let leftVal = 0,\n rightVal = 0;\n if (a?.[accessor] != null) {\n leftVal = a?.[accessor] as unknown as number;\n }\n if (b?.[accessor] != null) {\n rightVal = b?.[accessor] as unknown as number;\n }\n return leftVal > rightVal ? -1 : 1;\n };\n}\n\nexport function clone<T>(ob: T): T {\n return JSON.parse(JSON.stringify(ob));\n}\n\nexport type Debouncer = (f: () => void) => void;\n\nexport function getDebouncer(delay: number = 1): Debouncer {\n let debounceTimeout: number | null = null;\n return function debounce(f: () => void): void {\n if (debounceTimeout !== null) {\n clearTimeout(debounceTimeout);\n }\n debounceTimeout = window.setTimeout(f, delay);\n };\n}\n\nfunction isObject<T>(obj: T): boolean {\n return typeof obj === 'object' && obj != null;\n}\n\nexport function deepEqual<T>(obj1: T, obj2: T): boolean {\n if (obj1 === obj2) {\n return true;\n }\n\n if (isObject(obj1) && isObject(obj2)) {\n if (Object.keys(obj1).length !== Object.keys(obj2).length) {\n return false;\n }\n\n for (let prop in obj1) {\n if (!deepEqual(obj1[prop], obj2[prop])) {\n return false;\n }\n }\n return true;\n }\n\n return false;\n}\n\nfunction componentToHex(c: number): string {\n if (isNaN(c)) {\n throw Error('The color has not been written correctly');\n }\n const hex = c.toString(16).toUpperCase();\n return hex.length === 1 ? '0' + hex : hex;\n}\n\nfunction cleanSingleColor(c: string): string {\n return c.replace(/\"|'/g, '').trim();\n}\n\nexport function rgbToHex(rgb: string): string {\n if (rgb.includes('rgba')) {\n throw Error('not implemented');\n }\n const [r = 0, g = 0, b = 0] = rgb\n .replace('rgb', '')\n .replace(/\\(|\\)/gi, '')\n .split(',')\n .map((c: string) => parseInt(cleanSingleColor(c), 10));\n\n return '#' + componentToHex(r) + componentToHex(g) + componentToHex(b);\n}\n","module.exports = __WEBPACK_EXTERNAL_MODULE__5692__;","module.exports = __WEBPACK_EXTERNAL_MODULE__8310__;","module.exports = __WEBPACK_EXTERNAL_MODULE__8156__;","module.exports = __WEBPACK_EXTERNAL_MODULE__8721__;","module.exports = __WEBPACK_EXTERNAL_MODULE__1082__;","module.exports = __WEBPACK_EXTERNAL_MODULE__8763__;","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","var deferred = [];\n__webpack_require__.O = (result, chunkIds, fn, priority) => {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar [chunkIds, fn, priority] = deferred[i];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t9811: 0,\n\t1981: 0\n};\n\n// no chunk on demand loading\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\n\tvar [chunkIds, moreModules, runtime] = data;\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkIds[i]] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkatoka_design_system\"] = self[\"webpackChunkatoka_design_system\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [1981], () => (__webpack_require__(8805)))\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n",""],"names":[],"sourceRoot":""}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './CustomOption.less';
|
|
3
|
+
import { OptionData, PropsWithClassName } from '../Utils/CommonTypes';
|
|
4
|
+
export interface CustomOptionProps extends PropsWithClassName {
|
|
5
|
+
item: OptionData;
|
|
6
|
+
/** The accessor for the custom value which has an uppercase style */
|
|
7
|
+
optionDataCustomValueKey?: string;
|
|
8
|
+
/** The accessor for the value. It can be used with or without the label.
|
|
9
|
+
* If your data has this key and you want it not to be present in the option,
|
|
10
|
+
* leave this prop without value.
|
|
11
|
+
* */
|
|
12
|
+
optionDataValueKey?: string;
|
|
13
|
+
/** The accessor for the label. It can be used with or without the value
|
|
14
|
+
* If your data has this key and you want it not to be present in the option,
|
|
15
|
+
* leave this prop without value.
|
|
16
|
+
* */
|
|
17
|
+
optionDataLabelKey?: string;
|
|
18
|
+
/**
|
|
19
|
+
* The selected text which will appear highlighted with `Suggester` hightlightedColor prop
|
|
20
|
+
* */
|
|
21
|
+
selectedText?: string;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* ### Overview
|
|
25
|
+
*
|
|
26
|
+
* The `CustomOption` also supports to have children.
|
|
27
|
+
* You can use the `.custom-value` class also in its children if you want it to be styled in uppercase.
|
|
28
|
+
* */
|
|
29
|
+
export declare const CustomOption: React.FC<React.PropsWithChildren<CustomOptionProps>>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ValueContainerProps } from 'react-select';
|
|
2
|
+
import { IconDefinition } from '@fortawesome/pro-light-svg-icons';
|
|
3
|
+
import { OptionData } from '../Utils/CommonTypes';
|
|
4
|
+
interface InputValueContainerProps extends ValueContainerProps<OptionData, false> {
|
|
5
|
+
icon?: IconDefinition | null;
|
|
6
|
+
}
|
|
7
|
+
export declare const InputValueContainer: {
|
|
8
|
+
({ children, icon, ...props }: InputValueContainerProps): JSX.Element | null;
|
|
9
|
+
displayName: string;
|
|
10
|
+
};
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { MultiValueProps } from 'react-select';
|
|
3
|
+
import { IconDefinition } from '@fortawesome/pro-light-svg-icons';
|
|
4
|
+
import { OptionData, PropsWithClassName } from '../Utils/CommonTypes';
|
|
5
|
+
import { Debouncer } from '../Utils/Utils';
|
|
6
|
+
import { CustomOption } from './CustomOption';
|
|
7
|
+
import './Suggester.less';
|
|
8
|
+
export interface Option<T> {
|
|
9
|
+
label: string;
|
|
10
|
+
value: string;
|
|
11
|
+
data: T;
|
|
12
|
+
}
|
|
13
|
+
export declare type RenderMultiValueContainer = (props: MultiValueProps<OptionData>) => JSX.Element;
|
|
14
|
+
export interface SuggesterProps<T> extends PropsWithClassName {
|
|
15
|
+
/** Use this prop to null if you want to clear the input after choosing a value */
|
|
16
|
+
value?: OptionData[] | null | undefined;
|
|
17
|
+
/** This prop is supposed to be used with onChange and allows the component to be controlled from outside.*/
|
|
18
|
+
selectedOption?: OptionData;
|
|
19
|
+
/** This prop is supposed to be used with selectedOption props and allows the component to be controlled from outside.*/
|
|
20
|
+
onChange?: (item: Option<T>[]) => void;
|
|
21
|
+
/**
|
|
22
|
+
* {
|
|
23
|
+
value: string
|
|
24
|
+
label?: string
|
|
25
|
+
}
|
|
26
|
+
* */
|
|
27
|
+
options?: OptionData[];
|
|
28
|
+
/**
|
|
29
|
+
* You can use the Suggester.CustomOption here (or create your own render function)
|
|
30
|
+
* */
|
|
31
|
+
renderSuggestedOption?: (item: OptionData, insertedText?: string) => React.ReactNode;
|
|
32
|
+
filterOption?: (option: Option<T>, rawInput: string) => boolean;
|
|
33
|
+
placeholder: string;
|
|
34
|
+
withShadow?: boolean;
|
|
35
|
+
withHighlight?: boolean;
|
|
36
|
+
hasError?: boolean;
|
|
37
|
+
/** This prop is most useful when isAsync=true, it will be displayed if something went wrong with the loadOptions */
|
|
38
|
+
errorMessage: string;
|
|
39
|
+
/** This prop is most useful when isAsync=true, it will be displayed in the option container before the user starts writing */
|
|
40
|
+
emptyMessage: string;
|
|
41
|
+
/** This will be displayed if the user has written but no result has been found */
|
|
42
|
+
noResultsMessage: string;
|
|
43
|
+
isDisabled?: boolean;
|
|
44
|
+
isAsync?: boolean;
|
|
45
|
+
debouncer?: Debouncer;
|
|
46
|
+
isMulti?: boolean;
|
|
47
|
+
/** You can customize the badges for the multiValue which are rendered inside the input using this prop */
|
|
48
|
+
renderMultiValueContainer?: RenderMultiValueContainer;
|
|
49
|
+
loadOptions?: (input: string, callback: (items: Option<T>[]) => void) => void;
|
|
50
|
+
/** The input icon. Set this prop to null if you don't want it */
|
|
51
|
+
icon?: IconDefinition | null;
|
|
52
|
+
}
|
|
53
|
+
interface SuggesterState {
|
|
54
|
+
insertedText: string;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* ### Overview
|
|
58
|
+
*
|
|
59
|
+
* The `Suggester` allows users to either filter or sort items in a list according to specific parameters.
|
|
60
|
+
* It can be used in sync as well as in async.
|
|
61
|
+
* */
|
|
62
|
+
export declare class Suggester<T> extends React.Component<SuggesterProps<T>, SuggesterState> {
|
|
63
|
+
static displayName: string;
|
|
64
|
+
static CustomOption: typeof CustomOption;
|
|
65
|
+
static defaultProps: Partial<SuggesterProps<OptionData>>;
|
|
66
|
+
state: SuggesterState;
|
|
67
|
+
private loadOptions;
|
|
68
|
+
private getOptionsAsync;
|
|
69
|
+
private getNoResultsText;
|
|
70
|
+
private renderNoOptionsMessage;
|
|
71
|
+
private handleOnInputChange;
|
|
72
|
+
private renderLoadingMessage;
|
|
73
|
+
private renderOptionContainer;
|
|
74
|
+
private renderValueContainer;
|
|
75
|
+
private getComponentsConfig;
|
|
76
|
+
private isOptionDisabled;
|
|
77
|
+
private handleChange;
|
|
78
|
+
render(): React.ReactNode;
|
|
79
|
+
}
|
|
80
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { MultiValueProps } from 'react-select';
|
|
2
|
+
import { IconDefinition } from '@fortawesome/pro-light-svg-icons';
|
|
3
|
+
import { BadgeColor } from '../Badge';
|
|
4
|
+
import './getRenderCustomMultiValueWithIcon.less';
|
|
5
|
+
import { OptionData } from '../Utils/CommonTypes';
|
|
6
|
+
export declare const getRenderCustomMultiValueWithIcon: (icon?: IconDefinition | undefined, color?: Extract<BadgeColor, 'blue300'> | 'gray275') => (props: MultiValueProps<OptionData>) => JSX.Element;
|