@stokr/components-library 3.0.66 → 3.0.67
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/dist/_virtual/Collapse.js +4 -0
- package/dist/_virtual/Component.js +4 -0
- package/dist/_virtual/Range.js +4 -0
- package/dist/_virtual/ResizeObserver.es.js +6 -0
- package/dist/_virtual/UnmountClosed.js +4 -0
- package/dist/_virtual/_commonjsHelpers.js +38 -0
- package/dist/_virtual/arrows.js +4 -0
- package/dist/_virtual/attributes-to-props.js +4 -0
- package/dist/_virtual/constants.js +4 -0
- package/dist/_virtual/default-props.js +4 -0
- package/dist/_virtual/defaultRenderElements.js +4 -0
- package/dist/_virtual/dom-to-react.js +4 -0
- package/dist/_virtual/domparser.js +4 -0
- package/dist/_virtual/dots.js +4 -0
- package/dist/_virtual/getInnerHeight.js +4 -0
- package/dist/_virtual/getInnerWidth.js +4 -0
- package/dist/_virtual/getScrollbarWidth.js +4 -0
- package/dist/_virtual/hoist-non-react-statics.cjs.js +2 -0
- package/dist/_virtual/html-to-dom.js +4 -0
- package/dist/_virtual/index.js +5 -0
- package/dist/_virtual/index10.js +5 -0
- package/dist/_virtual/index11.js +7 -0
- package/dist/_virtual/index12.js +7 -0
- package/dist/_virtual/index13.js +7 -0
- package/dist/_virtual/index14.js +4 -0
- package/dist/_virtual/index15.js +7 -0
- package/dist/_virtual/index16.js +7 -0
- package/dist/_virtual/index17.js +7 -0
- package/dist/_virtual/index18.js +4 -0
- package/dist/_virtual/index19.js +4 -0
- package/dist/_virtual/index2.js +7 -0
- package/dist/_virtual/index20.js +4 -0
- package/dist/_virtual/index21.js +4 -0
- package/dist/_virtual/index22.js +4 -0
- package/dist/_virtual/index23.js +4 -0
- package/dist/_virtual/index24.js +4 -0
- package/dist/_virtual/index25.js +4 -0
- package/dist/_virtual/index26.js +4 -0
- package/dist/_virtual/index27.js +4 -0
- package/dist/_virtual/index28.js +4 -0
- package/dist/_virtual/index29.js +4 -0
- package/dist/_virtual/index3.js +5 -0
- package/dist/_virtual/index30.js +4 -0
- package/dist/_virtual/index31.js +4 -0
- package/dist/_virtual/index4.js +5 -0
- package/dist/_virtual/index5.js +5 -0
- package/dist/_virtual/index6.js +5 -0
- package/dist/_virtual/index7.js +7 -0
- package/dist/_virtual/index8.js +4 -0
- package/dist/_virtual/index9.js +5 -0
- package/dist/_virtual/initial-state.js +4 -0
- package/dist/_virtual/inner-slider.js +4 -0
- package/dist/_virtual/innerSliderUtils.js +4 -0
- package/dist/_virtual/isString.js +4 -0
- package/dist/_virtual/node.js +4 -0
- package/dist/_virtual/performance-now.js +4 -0
- package/dist/_virtual/popper.js +6 -0
- package/dist/_virtual/possibleStandardNamesOptimized.js +4 -0
- package/dist/_virtual/react-is.development.js +4 -0
- package/dist/_virtual/react-is.production.min.js +4 -0
- package/dist/_virtual/react-table.development.js +4 -0
- package/dist/_virtual/react-table.production.min.js +4 -0
- package/dist/_virtual/react-tippy.js +5 -0
- package/dist/_virtual/react-tippy2.js +4 -0
- package/dist/_virtual/returnFalse.js +4 -0
- package/dist/_virtual/slider.js +4 -0
- package/dist/_virtual/styles.js +4 -0
- package/dist/_virtual/track.js +4 -0
- package/dist/_virtual/types.js +4 -0
- package/dist/_virtual/utilities.js +4 -0
- package/dist/_virtual/utilities2.js +4 -0
- package/dist/_virtual/utilities3.js +4 -0
- package/dist/_virtual/utils.js +4 -0
- package/dist/analytics/index.js +1 -1
- package/dist/api/fetchData.js +2 -2
- package/dist/components/2FA/Connect2FA.js +1 -1
- package/dist/components/2FA/EnterCode.js +1 -1
- package/dist/components/2FA/Sucess2FA.js +1 -1
- package/dist/components/2FA/login-with-otp-flow.js +47 -12
- package/dist/components/2FA/main-flow.js +29 -5
- package/dist/components/AccountBalance/AccountBalance.js +1 -1
- package/dist/components/AdminDashboard/Table/ReactTable.js +5 -5
- package/dist/components/AdminDashboard/Table/ReactTableWrapper.js +1 -1
- package/dist/components/AdminDashboard/Table/Table.js +1 -1
- package/dist/components/AgreementItem/AgreementItem.js +1 -1
- package/dist/components/BackButton/BackButton.js +1 -1
- package/dist/components/Background/Background.js +1 -1
- package/dist/components/BasicTable/BasicTable.js +1 -1
- package/dist/components/BlogPost/BlogPost.js +1 -1
- package/dist/components/Button/Button.styles.js +1 -1
- package/dist/components/Button/GlareButton.js +2 -2
- package/dist/components/ChartLegend/ChartLegend.js +3 -3
- package/dist/components/Checkbox/Checkbox.js +1 -1
- package/dist/components/Checklist/ChecklistCard.js +1 -1
- package/dist/components/Chips/Chip.js +1 -1
- package/dist/components/Chips/ChipWrapper.js +1 -1
- package/dist/components/ComponentScroll/ComponentScroll.js +3 -3
- package/dist/components/Country/CountrySelect.js +4 -4
- package/dist/components/CryptoAddress/ComponentWrap.js +1 -1
- package/dist/components/CryptoAddress/CryptoAddress.js +7 -7
- package/dist/components/CryptoAddress/RadioWrap.js +1 -1
- package/dist/components/CryptoAddressDetails/CryptoAddressDetails.js +1 -1
- package/dist/components/CryptoAddressWrapper/CryptoAddressWrapper.js +1 -1
- package/dist/components/FAQ/FAQ.js +1 -1
- package/dist/components/FAQ/FAQ.styles.js +2 -2
- package/dist/components/Footer/Footer.js +1 -1
- package/dist/components/Footer/FooterLayout.js +1 -1
- package/dist/components/Footer/FooterMenu.js +3 -3
- package/dist/components/ForgotPasswordModal/ForgotPasswordModal.js +5 -5
- package/dist/components/Form/Form.js +2 -2
- package/dist/components/Form/Form.styles.js +1 -1
- package/dist/components/Header/Header.js +3 -3
- package/dist/components/HeroBlock/HeroVideoBlock.js +1 -1
- package/dist/components/IdentityInfo/IdentityInfo.js +1 -1
- package/dist/components/InfoIcon/InfoIcon.js +6 -6
- package/dist/components/Input/DatePickerInput.js +5 -3
- package/dist/components/Input/Input.js +1 -1
- package/dist/components/Input/InputPassword.js +1 -1
- package/dist/components/Input/InputUsername.js +1 -1
- package/dist/components/Input/InputWithButton.js +1 -1
- package/dist/components/Input/MultiSelect.js +4 -3
- package/dist/components/Input/OtpInput.js +2 -2
- package/dist/components/Input/RangeInput.js +4 -4
- package/dist/components/Input/Select.js +5 -4
- package/dist/components/Input/TableFilterDropdown.js +1 -1
- package/dist/components/InvestmentStat/InvestmentStat.js +1 -1
- package/dist/components/LatestUpdate/LatestUpdate.js +1 -1
- package/dist/components/Layout/Layout.js +1 -1
- package/dist/components/LoginModal/LoginModal.js +6 -6
- package/dist/components/MainMenu/DynamicMainMenu.js +3 -3
- package/dist/components/MainMenu/MainMenu.js +6 -6
- package/dist/components/Modal/Modal.js +2 -2
- package/dist/components/Modal/NewVentureModal/NewVentureModal.js +9 -9
- package/dist/components/Modal/PaymentModal.js +2 -2
- package/dist/components/Modal/SuccessModal/SuccessModal.js +3 -3
- package/dist/components/MultiProgressBar/MultiProgressBar.js +1 -1
- package/dist/components/Number/Number.js +1 -1
- package/dist/components/PageTransition/PageTransition.js +1 -1
- package/dist/components/Pagination/Pagination.js +1 -1
- package/dist/components/Pagination/PaginationControls.js +1 -1
- package/dist/components/Payment/PaymentDisplay.js +4 -4
- package/dist/components/Payment/TimerComponent.js +1 -1
- package/dist/components/ProfileBadge/ProfileBadge.js +1 -1
- package/dist/components/ProfileBox/ProfileBox.js +1 -1
- package/dist/components/ProfileStat/ProfileStat.js +1 -1
- package/dist/components/QRCode/QRCode.js +2 -2
- package/dist/components/Radio/Radio.js +1 -1
- package/dist/components/RefreshButton/RefreshButton.js +1 -1
- package/dist/components/RegisterConfirmModal/RegisterConfirmModal.js +1 -1
- package/dist/components/RegisterModal/RegisterModal.js +8 -8
- package/dist/components/RequestDataBox/RequestDataBox.js +1 -1
- package/dist/components/ResetConfirmModal/ResetConfirmModal.js +1 -1
- package/dist/components/ResetPasswordModal/ResetPasswordModal.js +6 -6
- package/dist/components/SEO/SEO.js +3 -3
- package/dist/components/Slider/Slider.js +4 -4
- package/dist/components/SmartLink/SmartLink.js +1 -1
- package/dist/components/Snackbar/Snackbar.js +1 -1
- package/dist/components/Snackbar/SnackbarProvider.js +1 -1
- package/dist/components/StepController/StepController.js +1 -1
- package/dist/components/StepController/StepControllerContext.js +1 -1
- package/dist/components/StepController/StepControllerProgress.js +1 -1
- package/dist/components/StepsProgress/StepIndicator.js +1 -1
- package/dist/components/StepsProgress/StepsProgress.js +1 -1
- package/dist/components/Switch/Switch.js +1 -1
- package/dist/components/Tabs/Tabs.js +1 -1
- package/dist/components/TabsNav/TabNav.js +1 -1
- package/dist/components/TabsNav/TabsNav.js +1 -1
- package/dist/components/TaxResidenceCard/TaxResidenceCard.js +1 -1
- package/dist/components/TaxResidenceCard/TaxResidenceCard.styles.js +2 -2
- package/dist/components/TeamOverview/TeamOverview.js +1 -1
- package/dist/components/TermsModal/TermsModal.js +5 -5
- package/dist/components/Timeline/TimelineStep.js +1 -1
- package/dist/components/ToDoList/ToDoList.js +3 -3
- package/dist/components/ToDoList/ToDoListTask.js +4 -4
- package/dist/components/TransactionDetails/TransactionDetails.js +1 -1
- package/dist/components/TransactionDetails/TransactionDetails.styles.js +2 -2
- package/dist/components/TransactionInfo/TransactionInfo.js +1 -1
- package/dist/components/VerifyEmailModal/VerifyEmailModal.js +5 -5
- package/dist/components/headerHo/HeaderHo.js +3 -1
- package/dist/components/logo/Logo.js +1 -1
- package/dist/components/taxId/register-taxid.js +4 -4
- package/dist/components-library.css +781 -0
- package/dist/context/Auth.js +15 -12
- package/dist/context/AuthContext.js +7 -6
- package/dist/firebase-config.js +4 -2
- package/dist/hooks/useNewVentureForm.js +1 -1
- package/dist/index.js +5 -4
- package/dist/model/axios.js +2 -1
- package/dist/model/axiosPublic.js +2 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +8 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +6 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js +7 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +7 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +6 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/createClass.js +15 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/createSuper.js +17 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/defineProperty.js +12 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/extends.js +12 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +8 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/inherits.js +16 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +13 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/iterableToArray.js +6 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +24 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +6 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js +6 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +25 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +13 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +12 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +10 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +8 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/slicedToArray.js +10 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js +10 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js +10 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +14 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +9 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/typeof.js +11 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +11 -0
- package/dist/node_modules/@date-fns/tz/date/index.js +66 -0
- package/dist/node_modules/@date-fns/tz/date/mini.js +124 -0
- package/dist/node_modules/@date-fns/tz/tzName/index.js +11 -0
- package/dist/node_modules/@date-fns/tz/tzOffset/index.js +28 -0
- package/dist/node_modules/@emotion/cache/dist/emotion-cache.browser.esm.js +345 -0
- package/dist/node_modules/@emotion/hash/dist/emotion-hash.esm.js +31 -0
- package/dist/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js +10 -0
- package/dist/node_modules/@emotion/react/dist/emotion-element-f0de968e.browser.esm.js +84 -0
- package/dist/node_modules/@emotion/react/dist/emotion-react.browser.esm.js +50 -0
- package/dist/node_modules/@emotion/serialize/dist/emotion-serialize.esm.js +169 -0
- package/dist/node_modules/@emotion/sheet/dist/emotion-sheet.esm.js +83 -0
- package/dist/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js +53 -0
- package/dist/node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.browser.esm.js +9 -0
- package/dist/node_modules/@emotion/utils/dist/emotion-utils.browser.esm.js +45 -0
- package/dist/node_modules/@firebase/app/dist/esm/index.esm.js +609 -0
- package/dist/node_modules/@firebase/auth/dist/esm/index-36fcbc82.js +5751 -0
- package/dist/node_modules/@firebase/component/dist/esm/index.esm.js +291 -0
- package/dist/node_modules/@firebase/logger/dist/esm/index.esm.js +106 -0
- package/dist/node_modules/@firebase/util/dist/index.esm.js +828 -0
- package/dist/node_modules/@firebase/util/dist/postinstall.js +4 -0
- package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +257 -0
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +122 -0
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +34 -0
- package/dist/node_modules/@lottiefiles/dotlottie-react/dist/index.js +53 -0
- package/dist/node_modules/@lottiefiles/dotlottie-web/dist/index.js +1973 -0
- package/dist/node_modules/add-px-to-style/index.js +48 -0
- package/dist/node_modules/axios/index.js +38 -0
- package/dist/node_modules/axios/lib/adapters/adapters.js +71 -0
- package/dist/node_modules/axios/lib/adapters/fetch.js +219 -0
- package/dist/node_modules/axios/lib/adapters/xhr.js +141 -0
- package/dist/node_modules/axios/lib/axios.js +50 -0
- package/dist/node_modules/axios/lib/cancel/CancelToken.js +99 -0
- package/dist/node_modules/axios/lib/cancel/CanceledError.js +20 -0
- package/dist/node_modules/axios/lib/cancel/isCancel.js +6 -0
- package/dist/node_modules/axios/lib/core/Axios.js +188 -0
- package/dist/node_modules/axios/lib/core/AxiosError.js +67 -0
- package/dist/node_modules/axios/lib/core/AxiosHeaders.js +231 -0
- package/dist/node_modules/axios/lib/core/InterceptorManager.js +66 -0
- package/dist/node_modules/axios/lib/core/buildFullPath.js +12 -0
- package/dist/node_modules/axios/lib/core/dispatchRequest.js +52 -0
- package/dist/node_modules/axios/lib/core/mergeConfig.js +88 -0
- package/dist/node_modules/axios/lib/core/settle.js +18 -0
- package/dist/node_modules/axios/lib/core/transformData.js +17 -0
- package/dist/node_modules/axios/lib/defaults/index.js +116 -0
- package/dist/node_modules/axios/lib/defaults/transitional.js +9 -0
- package/dist/node_modules/axios/lib/env/data.js +4 -0
- package/dist/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +34 -0
- package/dist/node_modules/axios/lib/helpers/HttpStatusCode.js +77 -0
- package/dist/node_modules/axios/lib/helpers/bind.js +8 -0
- package/dist/node_modules/axios/lib/helpers/buildURL.js +32 -0
- package/dist/node_modules/axios/lib/helpers/combineURLs.js +6 -0
- package/dist/node_modules/axios/lib/helpers/composeSignals.js +39 -0
- package/dist/node_modules/axios/lib/helpers/cookies.js +49 -0
- package/dist/node_modules/axios/lib/helpers/formDataToJSON.js +54 -0
- package/dist/node_modules/axios/lib/helpers/isAbsoluteURL.js +9 -0
- package/dist/node_modules/axios/lib/helpers/isAxiosError.js +7 -0
- package/dist/node_modules/axios/lib/helpers/isURLSameOrigin.js +11 -0
- package/dist/node_modules/axios/lib/helpers/null.js +4 -0
- package/dist/node_modules/axios/lib/helpers/parseHeaders.js +47 -0
- package/dist/node_modules/axios/lib/helpers/parseProtocol.js +7 -0
- package/dist/node_modules/axios/lib/helpers/progressEventReducer.js +41 -0
- package/dist/node_modules/axios/lib/helpers/resolveConfig.js +46 -0
- package/dist/node_modules/axios/lib/helpers/speedometer.js +36 -0
- package/dist/node_modules/axios/lib/helpers/spread.js +8 -0
- package/dist/node_modules/axios/lib/helpers/throttle.js +35 -0
- package/dist/node_modules/axios/lib/helpers/toFormData.js +117 -0
- package/dist/node_modules/axios/lib/helpers/toURLEncodedForm.js +18 -0
- package/dist/node_modules/axios/lib/helpers/trackStream.js +80 -0
- package/dist/node_modules/axios/lib/helpers/validator.js +67 -0
- package/dist/node_modules/axios/lib/platform/browser/classes/Blob.js +4 -0
- package/dist/node_modules/axios/lib/platform/browser/classes/FormData.js +4 -0
- package/dist/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +5 -0
- package/dist/node_modules/axios/lib/platform/browser/index.js +15 -0
- package/dist/node_modules/axios/lib/platform/common/utils.js +15 -0
- package/dist/node_modules/axios/lib/platform/index.js +9 -0
- package/dist/node_modules/axios/lib/utils.js +415 -0
- package/dist/node_modules/classnames/index.js +61 -0
- package/dist/node_modules/copy-to-clipboard/index.js +101 -0
- package/dist/node_modules/country-flag-icons/modules/react/3x2/index.js +6570 -0
- package/dist/node_modules/country-flag-icons/react/3x2/index.js +269 -0
- package/dist/node_modules/date-fns/_lib/addLeadingZeros.js +8 -0
- package/dist/node_modules/date-fns/_lib/defaultOptions.js +7 -0
- package/dist/node_modules/date-fns/_lib/format/formatters.js +652 -0
- package/dist/node_modules/date-fns/_lib/format/lightFormatters.js +62 -0
- package/dist/node_modules/date-fns/_lib/format/longFormatters.js +58 -0
- package/dist/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js +20 -0
- package/dist/node_modules/date-fns/_lib/normalizeDates.js +11 -0
- package/dist/node_modules/date-fns/_lib/normalizeInterval.js +8 -0
- package/dist/node_modules/date-fns/_lib/protectedTokens.js +23 -0
- package/dist/node_modules/date-fns/addDays.js +12 -0
- package/dist/node_modules/date-fns/addMonths.js +26 -0
- package/dist/node_modules/date-fns/addWeeks.js +7 -0
- package/dist/node_modules/date-fns/addYears.js +7 -0
- package/dist/node_modules/date-fns/constants.js +14 -0
- package/dist/node_modules/date-fns/constructFrom.js +11 -0
- package/dist/node_modules/date-fns/differenceInCalendarDays.js +19 -0
- package/dist/node_modules/date-fns/differenceInCalendarMonths.js +14 -0
- package/dist/node_modules/date-fns/eachMonthOfInterval.js +20 -0
- package/dist/node_modules/date-fns/eachYearOfInterval.js +20 -0
- package/dist/node_modules/date-fns/endOfISOWeek.js +7 -0
- package/dist/node_modules/date-fns/endOfMonth.js +11 -0
- package/dist/node_modules/date-fns/endOfWeek.js +15 -0
- package/dist/node_modules/date-fns/endOfYear.js +11 -0
- package/dist/node_modules/date-fns/format.js +77 -0
- package/dist/node_modules/date-fns/getDayOfYear.js +12 -0
- package/dist/node_modules/date-fns/getDaysInMonth.js +14 -0
- package/dist/node_modules/date-fns/getDefaultOptions.js +7 -0
- package/dist/node_modules/date-fns/getISODay.js +8 -0
- package/dist/node_modules/date-fns/getISOWeek.js +12 -0
- package/dist/node_modules/date-fns/getISOWeekYear.js +25 -0
- package/dist/node_modules/date-fns/getMonth.js +7 -0
- package/dist/node_modules/date-fns/getWeek.js +12 -0
- package/dist/node_modules/date-fns/getWeekYear.js +28 -0
- package/dist/node_modules/date-fns/getYear.js +7 -0
- package/dist/node_modules/date-fns/isAfter.js +7 -0
- package/dist/node_modules/date-fns/isBefore.js +7 -0
- package/dist/node_modules/date-fns/isDate.js +6 -0
- package/dist/node_modules/date-fns/isSameDay.js +13 -0
- package/dist/node_modules/date-fns/isSameMonth.js +12 -0
- package/dist/node_modules/date-fns/isSameYear.js +12 -0
- package/dist/node_modules/date-fns/isValid.js +8 -0
- package/dist/node_modules/date-fns/locale/_lib/buildFormatLongFn.js +10 -0
- package/dist/node_modules/date-fns/locale/_lib/buildLocalizeFn.js +20 -0
- package/dist/node_modules/date-fns/locale/_lib/buildMatchFn.js +43 -0
- package/dist/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +16 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatDistance.js +85 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatLong.js +36 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatRelative.js +12 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/localize.js +164 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/match.js +122 -0
- package/dist/node_modules/date-fns/locale/en-US.js +20 -0
- package/dist/node_modules/date-fns/max.js +16 -0
- package/dist/node_modules/date-fns/min.js +16 -0
- package/dist/node_modules/date-fns/parse/_lib/Parser.js +25 -0
- package/dist/node_modules/date-fns/parse/_lib/Setter.js +44 -0
- package/dist/node_modules/date-fns/parse/_lib/constants.js +50 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/AMPMMidnightParser.js +44 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/AMPMParser.js +44 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/DateParser.js +64 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/DayOfYearParser.js +52 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/DayParser.js +45 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/DayPeriodParser.js +44 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/EraParser.js +30 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.js +20 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/FractionOfSecondParser.js +17 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/Hour0To11Parser.js +32 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/Hour0to23Parser.js +27 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/Hour1To24Parser.js +28 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/Hour1to12Parser.js +34 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/ISODayParser.js +106 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneParser.js +43 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.js +43 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.js +43 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/ISOWeekYearParser.js +39 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/LocalDayParser.js +76 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.js +42 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/LocalWeekYearParser.js +67 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/MinuteParser.js +27 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/MonthParser.js +73 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/QuarterParser.js +71 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/SecondParser.js +27 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.js +76 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/StandAloneMonthParser.js +73 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/StandAloneQuarterParser.js +71 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.js +16 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.js +16 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers/YearParser.js +47 -0
- package/dist/node_modules/date-fns/parse/_lib/parsers.js +67 -0
- package/dist/node_modules/date-fns/parse/_lib/utils.js +117 -0
- package/dist/node_modules/date-fns/parse.js +123 -0
- package/dist/node_modules/date-fns/setDay.js +17 -0
- package/dist/node_modules/date-fns/setISODay.js +12 -0
- package/dist/node_modules/date-fns/setISOWeek.js +11 -0
- package/dist/node_modules/date-fns/setMonth.js +17 -0
- package/dist/node_modules/date-fns/setWeek.js +11 -0
- package/dist/node_modules/date-fns/setYear.js +11 -0
- package/dist/node_modules/date-fns/startOfDay.js +9 -0
- package/dist/node_modules/date-fns/startOfISOWeek.js +7 -0
- package/dist/node_modules/date-fns/startOfISOWeekYear.js +13 -0
- package/dist/node_modules/date-fns/startOfMonth.js +10 -0
- package/dist/node_modules/date-fns/startOfWeek.js +15 -0
- package/dist/node_modules/date-fns/startOfWeekYear.js +17 -0
- package/dist/node_modules/date-fns/startOfYear.js +10 -0
- package/dist/node_modules/date-fns/toDate.js +7 -0
- package/dist/node_modules/date-fns/transpose.js +18 -0
- package/dist/node_modules/date-fns-tz/dist/esm/_lib/getTimezoneOffsetInMilliseconds/index.js +8 -0
- package/dist/node_modules/date-fns-tz/dist/esm/_lib/newDateUTC/index.js +9 -0
- package/dist/node_modules/date-fns-tz/dist/esm/_lib/tzIntlTimeZoneName/index.js +29 -0
- package/dist/node_modules/date-fns-tz/dist/esm/_lib/tzParseTimezone/index.js +89 -0
- package/dist/node_modules/date-fns-tz/dist/esm/_lib/tzPattern/index.js +4 -0
- package/dist/node_modules/date-fns-tz/dist/esm/_lib/tzTokenizeDate/index.js +81 -0
- package/dist/node_modules/date-fns-tz/dist/esm/format/formatters/index.js +125 -0
- package/dist/node_modules/date-fns-tz/dist/esm/format/index.js +24 -0
- package/dist/node_modules/date-fns-tz/dist/esm/formatInTimeZone/index.js +13 -0
- package/dist/node_modules/date-fns-tz/dist/esm/toDate/index.js +305 -0
- package/dist/node_modules/date-fns-tz/dist/esm/toZonedTime/index.js +14 -0
- package/dist/node_modules/deepmerge/dist/es.js +69 -0
- package/dist/node_modules/dom-css/index.js +65 -0
- package/dist/node_modules/domelementtype/lib/index.js +39 -0
- package/dist/node_modules/domhandler/lib/index.js +166 -0
- package/dist/node_modules/domhandler/lib/node.js +438 -0
- package/dist/node_modules/dompurify/dist/purify.es.js +1020 -0
- package/dist/node_modules/firebase/app/dist/esm/index.esm.js +20 -0
- package/dist/node_modules/firebase/auth/dist/esm/index.esm.js +44 -0
- package/dist/node_modules/formik/dist/formik.esm.js +969 -0
- package/dist/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js +92 -0
- package/dist/node_modules/html-dom-parser/lib/client/constants.js +55 -0
- package/dist/node_modules/html-dom-parser/lib/client/domparser.js +96 -0
- package/dist/node_modules/html-dom-parser/lib/client/html-to-dom.js +31 -0
- package/dist/node_modules/html-dom-parser/lib/client/utilities.js +96 -0
- package/dist/node_modules/html-react-parser/esm/index.js +5 -0
- package/dist/node_modules/html-react-parser/lib/attributes-to-props.js +64 -0
- package/dist/node_modules/html-react-parser/lib/dom-to-react.js +99 -0
- package/dist/node_modules/html-react-parser/lib/index.js +51 -0
- package/dist/node_modules/html-react-parser/lib/utilities.js +79 -0
- package/dist/node_modules/idb/build/index.js +69 -0
- package/dist/node_modules/idb/build/wrap-idb-value.js +148 -0
- package/dist/node_modules/inline-style-parser/cjs/index.js +142 -0
- package/dist/node_modules/js-cookie/dist/js.cookie.js +99 -0
- package/dist/node_modules/json2mq/index.js +55 -0
- package/dist/node_modules/lodash-es/_DataView.js +6 -0
- package/dist/node_modules/lodash-es/_Hash.js +21 -0
- package/dist/node_modules/lodash-es/_ListCache.js +21 -0
- package/dist/node_modules/lodash-es/_Map.js +6 -0
- package/dist/node_modules/lodash-es/_MapCache.js +21 -0
- package/dist/node_modules/lodash-es/_Promise.js +6 -0
- package/dist/node_modules/lodash-es/_Set.js +6 -0
- package/dist/node_modules/lodash-es/_Stack.js +18 -0
- package/dist/node_modules/lodash-es/_Symbol.js +5 -0
- package/dist/node_modules/lodash-es/_Uint8Array.js +5 -0
- package/dist/node_modules/lodash-es/_WeakMap.js +6 -0
- package/dist/node_modules/lodash-es/_arrayEach.js +12 -0
- package/dist/node_modules/lodash-es/_arrayFilter.js +13 -0
- package/dist/node_modules/lodash-es/_arrayLikeKeys.js +24 -0
- package/dist/node_modules/lodash-es/_arrayMap.js +10 -0
- package/dist/node_modules/lodash-es/_arrayPush.js +10 -0
- package/dist/node_modules/lodash-es/_assignValue.js +13 -0
- package/dist/node_modules/lodash-es/_assocIndexOf.js +13 -0
- package/dist/node_modules/lodash-es/_baseAssign.js +8 -0
- package/dist/node_modules/lodash-es/_baseAssignIn.js +8 -0
- package/dist/node_modules/lodash-es/_baseAssignValue.js +16 -0
- package/dist/node_modules/lodash-es/_baseClone.js +88 -0
- package/dist/node_modules/lodash-es/_baseCreate.js +21 -0
- package/dist/node_modules/lodash-es/_baseGetAllKeys.js +9 -0
- package/dist/node_modules/lodash-es/_baseGetTag.js +14 -0
- package/dist/node_modules/lodash-es/_baseIsArguments.js +9 -0
- package/dist/node_modules/lodash-es/_baseIsMap.js +9 -0
- package/dist/node_modules/lodash-es/_baseIsNative.js +22 -0
- package/dist/node_modules/lodash-es/_baseIsSet.js +9 -0
- package/dist/node_modules/lodash-es/_baseIsTypedArray.js +14 -0
- package/dist/node_modules/lodash-es/_baseKeys.js +19 -0
- package/dist/node_modules/lodash-es/_baseKeysIn.js +20 -0
- package/dist/node_modules/lodash-es/_baseTimes.js +10 -0
- package/dist/node_modules/lodash-es/_baseToString.js +21 -0
- package/dist/node_modules/lodash-es/_baseUnary.js +8 -0
- package/dist/node_modules/lodash-es/_cloneArrayBuffer.js +9 -0
- package/dist/node_modules/lodash-es/_cloneBuffer.js +16 -0
- package/dist/node_modules/lodash-es/_cloneDataView.js +8 -0
- package/dist/node_modules/lodash-es/_cloneRegExp.js +9 -0
- package/dist/node_modules/lodash-es/_cloneSymbol.js +8 -0
- package/dist/node_modules/lodash-es/_cloneTypedArray.js +8 -0
- package/dist/node_modules/lodash-es/_copyArray.js +11 -0
- package/dist/node_modules/lodash-es/_copyObject.js +23 -0
- package/dist/node_modules/lodash-es/_copySymbols.js +8 -0
- package/dist/node_modules/lodash-es/_copySymbolsIn.js +8 -0
- package/dist/node_modules/lodash-es/_coreJsData.js +5 -0
- package/dist/node_modules/lodash-es/_defineProperty.js +12 -0
- package/dist/node_modules/lodash-es/_freeGlobal.js +4 -0
- package/dist/node_modules/lodash-es/_getAllKeys.js +9 -0
- package/dist/node_modules/lodash-es/_getAllKeysIn.js +9 -0
- package/dist/node_modules/lodash-es/_getMapData.js +8 -0
- package/dist/node_modules/lodash-es/_getNative.js +9 -0
- package/dist/node_modules/lodash-es/_getPrototype.js +5 -0
- package/dist/node_modules/lodash-es/_getRawTag.js +25 -0
- package/dist/node_modules/lodash-es/_getSymbols.js +17 -0
- package/dist/node_modules/lodash-es/_getSymbolsIn.js +16 -0
- package/dist/node_modules/lodash-es/_getTag.js +34 -0
- package/dist/node_modules/lodash-es/_getValue.js +6 -0
- package/dist/node_modules/lodash-es/_hashClear.js +8 -0
- package/dist/node_modules/lodash-es/_hashDelete.js +8 -0
- package/dist/node_modules/lodash-es/_hashGet.js +15 -0
- package/dist/node_modules/lodash-es/_hashHas.js +10 -0
- package/dist/node_modules/lodash-es/_hashSet.js +11 -0
- package/dist/node_modules/lodash-es/_initCloneArray.js +13 -0
- package/dist/node_modules/lodash-es/_initCloneByTag.js +43 -0
- package/dist/node_modules/lodash-es/_initCloneObject.js +9 -0
- package/dist/node_modules/lodash-es/_isIndex.js +10 -0
- package/dist/node_modules/lodash-es/_isKeyable.js +7 -0
- package/dist/node_modules/lodash-es/_isMasked.js +11 -0
- package/dist/node_modules/lodash-es/_isPrototype.js +8 -0
- package/dist/node_modules/lodash-es/_listCacheClear.js +7 -0
- package/dist/node_modules/lodash-es/_listCacheDelete.js +20 -0
- package/dist/node_modules/lodash-es/_listCacheGet.js +8 -0
- package/dist/node_modules/lodash-es/_listCacheHas.js +7 -0
- package/dist/node_modules/lodash-es/_listCacheSet.js +14 -0
- package/dist/node_modules/lodash-es/_mapCacheClear.js +14 -0
- package/dist/node_modules/lodash-es/_mapCacheDelete.js +9 -0
- package/dist/node_modules/lodash-es/_mapCacheGet.js +7 -0
- package/dist/node_modules/lodash-es/_mapCacheHas.js +7 -0
- package/dist/node_modules/lodash-es/_mapCacheSet.js +10 -0
- package/dist/node_modules/lodash-es/_memoizeCapped.js +15 -0
- package/dist/node_modules/lodash-es/_nativeCreate.js +5 -0
- package/dist/node_modules/lodash-es/_nativeKeys.js +5 -0
- package/dist/node_modules/lodash-es/_nativeKeysIn.js +12 -0
- package/dist/node_modules/lodash-es/_nodeUtil.js +18 -0
- package/dist/node_modules/lodash-es/_objectToString.js +8 -0
- package/dist/node_modules/lodash-es/_overArg.js +8 -0
- package/dist/node_modules/lodash-es/_root.js +6 -0
- package/dist/node_modules/lodash-es/_stackClear.js +8 -0
- package/dist/node_modules/lodash-es/_stackDelete.js +8 -0
- package/dist/node_modules/lodash-es/_stackGet.js +6 -0
- package/dist/node_modules/lodash-es/_stackHas.js +6 -0
- package/dist/node_modules/lodash-es/_stackSet.js +22 -0
- package/dist/node_modules/lodash-es/_stringToPath.js +16 -0
- package/dist/node_modules/lodash-es/_toKey.js +11 -0
- package/dist/node_modules/lodash-es/_toSource.js +18 -0
- package/dist/node_modules/lodash-es/clone.js +8 -0
- package/dist/node_modules/lodash-es/cloneDeep.js +8 -0
- package/dist/node_modules/lodash-es/eq.js +6 -0
- package/dist/node_modules/lodash-es/isArguments.js +13 -0
- package/dist/node_modules/lodash-es/isArray.js +4 -0
- package/dist/node_modules/lodash-es/isArrayLike.js +8 -0
- package/dist/node_modules/lodash-es/isBuffer.js +11 -0
- package/dist/node_modules/lodash-es/isFunction.js +13 -0
- package/dist/node_modules/lodash-es/isLength.js +7 -0
- package/dist/node_modules/lodash-es/isMap.js +8 -0
- package/dist/node_modules/lodash-es/isObject.js +7 -0
- package/dist/node_modules/lodash-es/isObjectLike.js +6 -0
- package/dist/node_modules/lodash-es/isPlainObject.js +22 -0
- package/dist/node_modules/lodash-es/isSet.js +8 -0
- package/dist/node_modules/lodash-es/isSymbol.js +9 -0
- package/dist/node_modules/lodash-es/isTypedArray.js +8 -0
- package/dist/node_modules/lodash-es/keys.js +9 -0
- package/dist/node_modules/lodash-es/keysIn.js +9 -0
- package/dist/node_modules/lodash-es/memoize.js +22 -0
- package/dist/node_modules/lodash-es/stubArray.js +6 -0
- package/dist/node_modules/lodash-es/stubFalse.js +6 -0
- package/dist/node_modules/lodash-es/toPath.js +16 -0
- package/dist/node_modules/lodash-es/toString.js +7 -0
- package/dist/node_modules/lodash.debounce/index.js +137 -0
- package/dist/node_modules/memoize-one/dist/memoize-one.esm.js +52 -0
- package/dist/node_modules/mixpanel-browser/dist/mixpanel.module.js +25533 -0
- package/dist/node_modules/object-assign/index.js +73 -0
- package/dist/node_modules/performance-now/lib/performance-now.js +42 -0
- package/dist/node_modules/popper.js/dist/esm/popper.js +1516 -0
- package/dist/node_modules/prefix-style/index.js +29 -0
- package/dist/node_modules/prop-types/checkPropTypes.js +68 -0
- package/dist/node_modules/prop-types/factoryWithThrowingShims.js +58 -0
- package/dist/node_modules/prop-types/factoryWithTypeCheckers.js +451 -0
- package/dist/node_modules/prop-types/index.js +20 -0
- package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js +12 -0
- package/dist/node_modules/prop-types/lib/has.js +11 -0
- package/dist/node_modules/property-expr/index.js +105 -0
- package/dist/node_modules/qrcode.react/lib/esm/index.js +1099 -0
- package/dist/node_modules/raf/index.js +67 -0
- package/dist/node_modules/react-collapse/lib/Collapse.js +285 -0
- package/dist/node_modules/react-collapse/lib/UnmountClosed.js +278 -0
- package/dist/node_modules/react-collapse/lib/index.js +17 -0
- package/dist/node_modules/react-copy-to-clipboard/lib/Component.js +209 -0
- package/dist/node_modules/react-copy-to-clipboard/lib/index.js +14 -0
- package/dist/node_modules/react-custom-scrollbars-4/lib/Scrollbars/defaultRenderElements.js +85 -0
- package/dist/node_modules/react-custom-scrollbars-4/lib/Scrollbars/index.js +706 -0
- package/dist/node_modules/react-custom-scrollbars-4/lib/Scrollbars/styles.js +67 -0
- package/dist/node_modules/react-custom-scrollbars-4/lib/index.js +24 -0
- package/dist/node_modules/react-custom-scrollbars-4/lib/utils/getInnerHeight.js +21 -0
- package/dist/node_modules/react-custom-scrollbars-4/lib/utils/getInnerWidth.js +21 -0
- package/dist/node_modules/react-custom-scrollbars-4/lib/utils/getScrollbarWidth.js +44 -0
- package/dist/node_modules/react-custom-scrollbars-4/lib/utils/isString.js +19 -0
- package/dist/node_modules/react-custom-scrollbars-4/lib/utils/returnFalse.js +19 -0
- package/dist/node_modules/react-day-picker/dist/esm/DayPicker.js +325 -0
- package/dist/node_modules/react-day-picker/dist/esm/UI.js +59 -0
- package/dist/node_modules/react-day-picker/dist/esm/classes/CalendarDay.js +25 -0
- package/dist/node_modules/react-day-picker/dist/esm/classes/CalendarMonth.js +9 -0
- package/dist/node_modules/react-day-picker/dist/esm/classes/CalendarWeek.js +9 -0
- package/dist/node_modules/react-day-picker/dist/esm/classes/DateLib.js +282 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Button.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/CaptionLabel.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Chevron.js +18 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Day.js +8 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/DayButton.js +13 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Dropdown.js +21 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/DropdownNav.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Footer.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Month.js +8 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/MonthCaption.js +8 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/MonthGrid.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Months.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/MonthsDropdown.js +9 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Nav.js +34 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/NextMonthButton.js +9 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Option.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/PreviousMonthButton.js +9 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Root.js +8 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Select.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Week.js +8 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/WeekNumber.js +8 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/WeekNumberHeader.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Weekday.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Weekdays.js +11 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/Weeks.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/YearsDropdown.js +9 -0
- package/dist/node_modules/react-day-picker/dist/esm/components/custom-components.js +54 -0
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatCaption.js +10 -0
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatDay.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatMonthDropdown.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumber.js +10 -0
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumberHeader.js +6 -0
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatWeekdayName.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatYearDropdown.js +9 -0
- package/dist/node_modules/react-day-picker/dist/esm/formatters/index.js +18 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/calculateFocusTarget.js +40 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/createGetModifiers.js +72 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/endOfBroadcastWeek.js +11 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getBroadcastWeeksInMonth.js +13 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getClassNamesForModifiers.js +17 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getComponents.js +10 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDataAttributes.js +19 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDates.js +30 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDays.js +12 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDefaultClassNames.js +20 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDisplayMonths.js +15 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getFocusableDate.js +22 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getFormatters.js +16 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getInitialMonth.js +16 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getLabels.js +41 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getMonthOptions.js +17 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getMonths.js +43 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getNavMonth.js +39 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getNextFocus.js +20 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getNextMonth.js +20 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getPreviousMonth.js +20 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getStyleForModifiers.js +14 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getWeekdays.js +13 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getWeeks.js +9 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getYearOptions.js +23 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/startOfBroadcastWeek.js +14 -0
- package/dist/node_modules/react-day-picker/dist/esm/helpers/useControlledValue.js +9 -0
- package/dist/node_modules/react-day-picker/dist/esm/labels/index.js +26 -0
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelDayButton.js +14 -0
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelGrid.js +10 -0
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelGridcell.js +11 -0
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelMonthDropdown.js +6 -0
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelNav.js +6 -0
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelNext.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelPrevious.js +6 -0
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelWeekNumber.js +6 -0
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelWeekNumberHeader.js +6 -0
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelWeekday.js +7 -0
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelYearDropdown.js +6 -0
- package/dist/node_modules/react-day-picker/dist/esm/locale/en-US.js +62 -0
- package/dist/node_modules/react-day-picker/dist/esm/noonDateLib.js +145 -0
- package/dist/node_modules/react-day-picker/dist/esm/selection/useMulti.js +42 -0
- package/dist/node_modules/react-day-picker/dist/esm/selection/useRange.js +33 -0
- package/dist/node_modules/react-day-picker/dist/esm/selection/useSingle.js +33 -0
- package/dist/node_modules/react-day-picker/dist/esm/useAnimation.js +128 -0
- package/dist/node_modules/react-day-picker/dist/esm/useCalendar.js +100 -0
- package/dist/node_modules/react-day-picker/dist/esm/useDayPicker.js +13 -0
- package/dist/node_modules/react-day-picker/dist/esm/useFocus.js +42 -0
- package/dist/node_modules/react-day-picker/dist/esm/useSelection.js +21 -0
- package/dist/node_modules/react-day-picker/dist/esm/utils/addToRange.js +55 -0
- package/dist/node_modules/react-day-picker/dist/esm/utils/convertMatchersToTimeZone.js +53 -0
- package/dist/node_modules/react-day-picker/dist/esm/utils/dateMatchModifiers.js +52 -0
- package/dist/node_modules/react-day-picker/dist/esm/utils/rangeContainsDayOfWeek.js +17 -0
- package/dist/node_modules/react-day-picker/dist/esm/utils/rangeContainsModifiers.js +61 -0
- package/dist/node_modules/react-day-picker/dist/esm/utils/rangeIncludesDate.js +23 -0
- package/dist/node_modules/react-day-picker/dist/esm/utils/rangeOverlaps.js +8 -0
- package/dist/node_modules/react-day-picker/dist/esm/utils/toTimeZone.js +11 -0
- package/dist/node_modules/react-day-picker/dist/esm/utils/typeguards.js +26 -0
- package/dist/node_modules/react-fast-compare/index.js +63 -0
- package/dist/node_modules/react-helmet/es/Helmet.js +717 -0
- package/dist/node_modules/react-helmet/node_modules/react-fast-compare/index.js +81 -0
- package/dist/node_modules/react-intersection-observer/dist/index.js +178 -0
- package/dist/node_modules/react-is/cjs/react-is.development.js +157 -0
- package/dist/node_modules/react-is/cjs/react-is.production.min.js +98 -0
- package/dist/node_modules/react-is/index.js +17 -0
- package/dist/node_modules/react-otp-input/lib/index.esm.js +168 -0
- package/dist/node_modules/react-portal/es/LegacyPortal.js +91 -0
- package/dist/node_modules/react-portal/es/Portal.js +74 -0
- package/dist/node_modules/react-portal/es/PortalCompat.js +12 -0
- package/dist/node_modules/react-portal/es/utils.js +4 -0
- package/dist/node_modules/react-property/lib/index.js +471 -0
- package/dist/node_modules/react-property/lib/possibleStandardNamesOptimized.js +499 -0
- package/dist/node_modules/react-range/lib/Range.js +592 -0
- package/dist/node_modules/react-range/lib/index.js +39 -0
- package/dist/node_modules/react-range/lib/types.js +19 -0
- package/dist/node_modules/react-range/lib/utils.js +318 -0
- package/dist/node_modules/react-select/creatable/dist/react-select-creatable.esm.js +19 -0
- package/dist/node_modules/react-select/dist/Select-ef7c0426.esm.js +2317 -0
- package/dist/node_modules/react-select/dist/index-641ee5b8.esm.js +1071 -0
- package/dist/node_modules/react-select/dist/react-select.esm.js +20 -0
- package/dist/node_modules/react-select/dist/useCreatable-09aaeb9a.esm.js +75 -0
- package/dist/node_modules/react-select/dist/useStateManager-7e1e8489.esm.js +51 -0
- package/dist/node_modules/react-side-effect/lib/index.js +105 -0
- package/dist/node_modules/react-slick/lib/arrows.js +248 -0
- package/dist/node_modules/react-slick/lib/default-props.js +85 -0
- package/dist/node_modules/react-slick/lib/dots.js +192 -0
- package/dist/node_modules/react-slick/lib/index.js +22 -0
- package/dist/node_modules/react-slick/lib/initial-state.js +48 -0
- package/dist/node_modules/react-slick/lib/inner-slider.js +810 -0
- package/dist/node_modules/react-slick/lib/slider.js +333 -0
- package/dist/node_modules/react-slick/lib/track.js +330 -0
- package/dist/node_modules/react-slick/lib/utils/innerSliderUtils.js +730 -0
- package/dist/node_modules/react-table/dist/react-table.development.js +3684 -0
- package/dist/node_modules/react-table/dist/react-table.production.min.js +1637 -0
- package/dist/node_modules/react-table/index.js +17 -0
- package/dist/node_modules/react-tippy/dist/react-tippy.js +1981 -0
- package/dist/node_modules/resize-observer-polyfill/dist/ResizeObserver.es.js +495 -0
- package/dist/node_modules/string-convert/camel2hyphen.js +16 -0
- package/dist/node_modules/style-to-js/cjs/index.js +31 -0
- package/dist/node_modules/style-to-js/cjs/utilities.js +42 -0
- package/dist/node_modules/style-to-object/cjs/index.js +38 -0
- package/dist/node_modules/stylis/src/Enum.js +20 -0
- package/dist/node_modules/stylis/src/Middleware.js +22 -0
- package/dist/node_modules/stylis/src/Parser.js +157 -0
- package/dist/node_modules/stylis/src/Serializer.js +29 -0
- package/dist/node_modules/stylis/src/Tokenizer.js +160 -0
- package/dist/node_modules/stylis/src/Utility.js +52 -0
- package/dist/node_modules/tiny-case/index.js +33 -0
- package/dist/node_modules/tiny-warning/dist/tiny-warning.esm.js +16 -0
- package/dist/node_modules/to-camel-case/index.js +18 -0
- package/dist/node_modules/to-no-case/index.js +32 -0
- package/dist/node_modules/to-space-case/index.js +18 -0
- package/dist/node_modules/toggle-selection/index.js +42 -0
- package/dist/node_modules/toposort/index.js +79 -0
- package/dist/node_modules/use-isomorphic-layout-effect/dist/use-isomorphic-layout-effect.browser.esm.js +5 -0
- package/dist/node_modules/yup/index.esm.js +1921 -0
- package/dist/routing/RouterWrapper.js +1 -1
- package/dist/styles/global.js +2 -2
- package/dist/utils/copyToClipboard.js +7 -7
- package/dist/utils/delete-redirect-cookie-and-navigate.js +3 -3
- package/dist/utils/moment.js +2 -3
- package/dist/utils/redirect-url.js +2 -2
- package/dist/utils/set-redirect-cookie.js +2 -2
- package/dist/utils/transition.js +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,1071 @@
|
|
|
1
|
+
import _objectSpread2 from "../../@babel/runtime/helpers/esm/objectSpread2.js";
|
|
2
|
+
import _extends from "../../@babel/runtime/helpers/esm/extends.js";
|
|
3
|
+
import { createElement as jsx, css as css$2, keyframes } from "../../@emotion/react/dist/emotion-react.browser.esm.js";
|
|
4
|
+
import _slicedToArray from "../../@babel/runtime/helpers/esm/slicedToArray.js";
|
|
5
|
+
import _objectWithoutProperties from "../../@babel/runtime/helpers/esm/objectWithoutProperties.js";
|
|
6
|
+
import _typeof from "../../@babel/runtime/helpers/esm/typeof.js";
|
|
7
|
+
import _taggedTemplateLiteral from "../../@babel/runtime/helpers/esm/taggedTemplateLiteral.js";
|
|
8
|
+
import _defineProperty from "../../@babel/runtime/helpers/esm/defineProperty.js";
|
|
9
|
+
import { useRef, useState, useMemo, useCallback, createContext, useContext } from "react";
|
|
10
|
+
import { createPortal } from "react-dom";
|
|
11
|
+
import { autoUpdate } from "../../@floating-ui/dom/dist/floating-ui.dom.js";
|
|
12
|
+
import index from "../../use-isomorphic-layout-effect/dist/use-isomorphic-layout-effect.browser.esm.js";
|
|
13
|
+
var _excluded$4 = ["className", "clearValue", "cx", "getStyles", "getClassNames", "getValue", "hasValue", "isMulti", "isRtl", "options", "selectOption", "selectProps", "setValue", "theme"];
|
|
14
|
+
var noop = function noop2() {
|
|
15
|
+
};
|
|
16
|
+
function applyPrefixToName(prefix, name) {
|
|
17
|
+
if (!name) {
|
|
18
|
+
return prefix;
|
|
19
|
+
} else if (name[0] === "-") {
|
|
20
|
+
return prefix + name;
|
|
21
|
+
} else {
|
|
22
|
+
return prefix + "__" + name;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
function classNames(prefix, state) {
|
|
26
|
+
for (var _len = arguments.length, classNameList = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
|
|
27
|
+
classNameList[_key - 2] = arguments[_key];
|
|
28
|
+
}
|
|
29
|
+
var arr = [].concat(classNameList);
|
|
30
|
+
if (state && prefix) {
|
|
31
|
+
for (var key in state) {
|
|
32
|
+
if (state.hasOwnProperty(key) && state[key]) {
|
|
33
|
+
arr.push("".concat(applyPrefixToName(prefix, key)));
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
return arr.filter(function(i) {
|
|
38
|
+
return i;
|
|
39
|
+
}).map(function(i) {
|
|
40
|
+
return String(i).trim();
|
|
41
|
+
}).join(" ");
|
|
42
|
+
}
|
|
43
|
+
var cleanValue = function cleanValue2(value) {
|
|
44
|
+
if (isArray(value)) return value.filter(Boolean);
|
|
45
|
+
if (_typeof(value) === "object" && value !== null) return [value];
|
|
46
|
+
return [];
|
|
47
|
+
};
|
|
48
|
+
var cleanCommonProps = function cleanCommonProps2(props) {
|
|
49
|
+
props.className;
|
|
50
|
+
props.clearValue;
|
|
51
|
+
props.cx;
|
|
52
|
+
props.getStyles;
|
|
53
|
+
props.getClassNames;
|
|
54
|
+
props.getValue;
|
|
55
|
+
props.hasValue;
|
|
56
|
+
props.isMulti;
|
|
57
|
+
props.isRtl;
|
|
58
|
+
props.options;
|
|
59
|
+
props.selectOption;
|
|
60
|
+
props.selectProps;
|
|
61
|
+
props.setValue;
|
|
62
|
+
props.theme;
|
|
63
|
+
var innerProps = _objectWithoutProperties(props, _excluded$4);
|
|
64
|
+
return _objectSpread2({}, innerProps);
|
|
65
|
+
};
|
|
66
|
+
var getStyleProps = function getStyleProps2(props, name, classNamesState) {
|
|
67
|
+
var cx = props.cx, getStyles = props.getStyles, getClassNames = props.getClassNames, className = props.className;
|
|
68
|
+
return {
|
|
69
|
+
css: getStyles(name, props),
|
|
70
|
+
className: cx(classNamesState !== null && classNamesState !== void 0 ? classNamesState : {}, getClassNames(name, props), className)
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
function isDocumentElement(el) {
|
|
74
|
+
return [document.documentElement, document.body, window].indexOf(el) > -1;
|
|
75
|
+
}
|
|
76
|
+
function normalizedHeight(el) {
|
|
77
|
+
if (isDocumentElement(el)) {
|
|
78
|
+
return window.innerHeight;
|
|
79
|
+
}
|
|
80
|
+
return el.clientHeight;
|
|
81
|
+
}
|
|
82
|
+
function getScrollTop(el) {
|
|
83
|
+
if (isDocumentElement(el)) {
|
|
84
|
+
return window.pageYOffset;
|
|
85
|
+
}
|
|
86
|
+
return el.scrollTop;
|
|
87
|
+
}
|
|
88
|
+
function scrollTo(el, top) {
|
|
89
|
+
if (isDocumentElement(el)) {
|
|
90
|
+
window.scrollTo(0, top);
|
|
91
|
+
return;
|
|
92
|
+
}
|
|
93
|
+
el.scrollTop = top;
|
|
94
|
+
}
|
|
95
|
+
function getScrollParent(element) {
|
|
96
|
+
var style = getComputedStyle(element);
|
|
97
|
+
var excludeStaticParent = style.position === "absolute";
|
|
98
|
+
var overflowRx = /(auto|scroll)/;
|
|
99
|
+
if (style.position === "fixed") return document.documentElement;
|
|
100
|
+
for (var parent = element; parent = parent.parentElement; ) {
|
|
101
|
+
style = getComputedStyle(parent);
|
|
102
|
+
if (excludeStaticParent && style.position === "static") {
|
|
103
|
+
continue;
|
|
104
|
+
}
|
|
105
|
+
if (overflowRx.test(style.overflow + style.overflowY + style.overflowX)) {
|
|
106
|
+
return parent;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
return document.documentElement;
|
|
110
|
+
}
|
|
111
|
+
function easeOutCubic(t, b, c, d) {
|
|
112
|
+
return c * ((t = t / d - 1) * t * t + 1) + b;
|
|
113
|
+
}
|
|
114
|
+
function animatedScrollTo(element, to) {
|
|
115
|
+
var duration = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 200;
|
|
116
|
+
var callback = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : noop;
|
|
117
|
+
var start = getScrollTop(element);
|
|
118
|
+
var change = to - start;
|
|
119
|
+
var increment = 10;
|
|
120
|
+
var currentTime = 0;
|
|
121
|
+
function animateScroll() {
|
|
122
|
+
currentTime += increment;
|
|
123
|
+
var val = easeOutCubic(currentTime, start, change, duration);
|
|
124
|
+
scrollTo(element, val);
|
|
125
|
+
if (currentTime < duration) {
|
|
126
|
+
window.requestAnimationFrame(animateScroll);
|
|
127
|
+
} else {
|
|
128
|
+
callback(element);
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
animateScroll();
|
|
132
|
+
}
|
|
133
|
+
function scrollIntoView(menuEl, focusedEl) {
|
|
134
|
+
var menuRect = menuEl.getBoundingClientRect();
|
|
135
|
+
var focusedRect = focusedEl.getBoundingClientRect();
|
|
136
|
+
var overScroll = focusedEl.offsetHeight / 3;
|
|
137
|
+
if (focusedRect.bottom + overScroll > menuRect.bottom) {
|
|
138
|
+
scrollTo(menuEl, Math.min(focusedEl.offsetTop + focusedEl.clientHeight - menuEl.offsetHeight + overScroll, menuEl.scrollHeight));
|
|
139
|
+
} else if (focusedRect.top - overScroll < menuRect.top) {
|
|
140
|
+
scrollTo(menuEl, Math.max(focusedEl.offsetTop - overScroll, 0));
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
function getBoundingClientObj(element) {
|
|
144
|
+
var rect = element.getBoundingClientRect();
|
|
145
|
+
return {
|
|
146
|
+
bottom: rect.bottom,
|
|
147
|
+
height: rect.height,
|
|
148
|
+
left: rect.left,
|
|
149
|
+
right: rect.right,
|
|
150
|
+
top: rect.top,
|
|
151
|
+
width: rect.width
|
|
152
|
+
};
|
|
153
|
+
}
|
|
154
|
+
function isTouchCapable() {
|
|
155
|
+
try {
|
|
156
|
+
document.createEvent("TouchEvent");
|
|
157
|
+
return true;
|
|
158
|
+
} catch (e) {
|
|
159
|
+
return false;
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
function isMobileDevice() {
|
|
163
|
+
try {
|
|
164
|
+
return /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);
|
|
165
|
+
} catch (e) {
|
|
166
|
+
return false;
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
var passiveOptionAccessed = false;
|
|
170
|
+
var options = {
|
|
171
|
+
get passive() {
|
|
172
|
+
return passiveOptionAccessed = true;
|
|
173
|
+
}
|
|
174
|
+
};
|
|
175
|
+
var w = typeof window !== "undefined" ? window : {};
|
|
176
|
+
if (w.addEventListener && w.removeEventListener) {
|
|
177
|
+
w.addEventListener("p", noop, options);
|
|
178
|
+
w.removeEventListener("p", noop, false);
|
|
179
|
+
}
|
|
180
|
+
var supportsPassiveEvents = passiveOptionAccessed;
|
|
181
|
+
function notNullish(item) {
|
|
182
|
+
return item != null;
|
|
183
|
+
}
|
|
184
|
+
function isArray(arg) {
|
|
185
|
+
return Array.isArray(arg);
|
|
186
|
+
}
|
|
187
|
+
function valueTernary(isMulti, multiValue, singleValue) {
|
|
188
|
+
return isMulti ? multiValue : singleValue;
|
|
189
|
+
}
|
|
190
|
+
function singleValueAsValue(singleValue) {
|
|
191
|
+
return singleValue;
|
|
192
|
+
}
|
|
193
|
+
function multiValueAsValue(multiValue) {
|
|
194
|
+
return multiValue;
|
|
195
|
+
}
|
|
196
|
+
var removeProps = function removeProps2(propsObj) {
|
|
197
|
+
for (var _len2 = arguments.length, properties = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
|
|
198
|
+
properties[_key2 - 1] = arguments[_key2];
|
|
199
|
+
}
|
|
200
|
+
var propsMap = Object.entries(propsObj).filter(function(_ref) {
|
|
201
|
+
var _ref22 = _slicedToArray(_ref, 1), key = _ref22[0];
|
|
202
|
+
return !properties.includes(key);
|
|
203
|
+
});
|
|
204
|
+
return propsMap.reduce(function(newProps, _ref3) {
|
|
205
|
+
var _ref4 = _slicedToArray(_ref3, 2), key = _ref4[0], val = _ref4[1];
|
|
206
|
+
newProps[key] = val;
|
|
207
|
+
return newProps;
|
|
208
|
+
}, {});
|
|
209
|
+
};
|
|
210
|
+
var _excluded$3 = ["children", "innerProps"], _excluded2$1 = ["children", "innerProps"];
|
|
211
|
+
function getMenuPlacement(_ref) {
|
|
212
|
+
var preferredMaxHeight = _ref.maxHeight, menuEl = _ref.menuEl, minHeight = _ref.minHeight, preferredPlacement = _ref.placement, shouldScroll = _ref.shouldScroll, isFixedPosition = _ref.isFixedPosition, controlHeight = _ref.controlHeight;
|
|
213
|
+
var scrollParent = getScrollParent(menuEl);
|
|
214
|
+
var defaultState = {
|
|
215
|
+
placement: "bottom",
|
|
216
|
+
maxHeight: preferredMaxHeight
|
|
217
|
+
};
|
|
218
|
+
if (!menuEl || !menuEl.offsetParent) return defaultState;
|
|
219
|
+
var _scrollParent$getBoun = scrollParent.getBoundingClientRect(), scrollHeight = _scrollParent$getBoun.height;
|
|
220
|
+
var _menuEl$getBoundingCl = menuEl.getBoundingClientRect(), menuBottom = _menuEl$getBoundingCl.bottom, menuHeight = _menuEl$getBoundingCl.height, menuTop = _menuEl$getBoundingCl.top;
|
|
221
|
+
var _menuEl$offsetParent$ = menuEl.offsetParent.getBoundingClientRect(), containerTop = _menuEl$offsetParent$.top;
|
|
222
|
+
var viewHeight = isFixedPosition ? window.innerHeight : normalizedHeight(scrollParent);
|
|
223
|
+
var scrollTop = getScrollTop(scrollParent);
|
|
224
|
+
var marginBottom = parseInt(getComputedStyle(menuEl).marginBottom, 10);
|
|
225
|
+
var marginTop = parseInt(getComputedStyle(menuEl).marginTop, 10);
|
|
226
|
+
var viewSpaceAbove = containerTop - marginTop;
|
|
227
|
+
var viewSpaceBelow = viewHeight - menuTop;
|
|
228
|
+
var scrollSpaceAbove = viewSpaceAbove + scrollTop;
|
|
229
|
+
var scrollSpaceBelow = scrollHeight - scrollTop - menuTop;
|
|
230
|
+
var scrollDown = menuBottom - viewHeight + scrollTop + marginBottom;
|
|
231
|
+
var scrollUp = scrollTop + menuTop - marginTop;
|
|
232
|
+
var scrollDuration = 160;
|
|
233
|
+
switch (preferredPlacement) {
|
|
234
|
+
case "auto":
|
|
235
|
+
case "bottom":
|
|
236
|
+
if (viewSpaceBelow >= menuHeight) {
|
|
237
|
+
return {
|
|
238
|
+
placement: "bottom",
|
|
239
|
+
maxHeight: preferredMaxHeight
|
|
240
|
+
};
|
|
241
|
+
}
|
|
242
|
+
if (scrollSpaceBelow >= menuHeight && !isFixedPosition) {
|
|
243
|
+
if (shouldScroll) {
|
|
244
|
+
animatedScrollTo(scrollParent, scrollDown, scrollDuration);
|
|
245
|
+
}
|
|
246
|
+
return {
|
|
247
|
+
placement: "bottom",
|
|
248
|
+
maxHeight: preferredMaxHeight
|
|
249
|
+
};
|
|
250
|
+
}
|
|
251
|
+
if (!isFixedPosition && scrollSpaceBelow >= minHeight || isFixedPosition && viewSpaceBelow >= minHeight) {
|
|
252
|
+
if (shouldScroll) {
|
|
253
|
+
animatedScrollTo(scrollParent, scrollDown, scrollDuration);
|
|
254
|
+
}
|
|
255
|
+
var constrainedHeight = isFixedPosition ? viewSpaceBelow - marginBottom : scrollSpaceBelow - marginBottom;
|
|
256
|
+
return {
|
|
257
|
+
placement: "bottom",
|
|
258
|
+
maxHeight: constrainedHeight
|
|
259
|
+
};
|
|
260
|
+
}
|
|
261
|
+
if (preferredPlacement === "auto" || isFixedPosition) {
|
|
262
|
+
var _constrainedHeight = preferredMaxHeight;
|
|
263
|
+
var spaceAbove = isFixedPosition ? viewSpaceAbove : scrollSpaceAbove;
|
|
264
|
+
if (spaceAbove >= minHeight) {
|
|
265
|
+
_constrainedHeight = Math.min(spaceAbove - marginBottom - controlHeight, preferredMaxHeight);
|
|
266
|
+
}
|
|
267
|
+
return {
|
|
268
|
+
placement: "top",
|
|
269
|
+
maxHeight: _constrainedHeight
|
|
270
|
+
};
|
|
271
|
+
}
|
|
272
|
+
if (preferredPlacement === "bottom") {
|
|
273
|
+
if (shouldScroll) {
|
|
274
|
+
scrollTo(scrollParent, scrollDown);
|
|
275
|
+
}
|
|
276
|
+
return {
|
|
277
|
+
placement: "bottom",
|
|
278
|
+
maxHeight: preferredMaxHeight
|
|
279
|
+
};
|
|
280
|
+
}
|
|
281
|
+
break;
|
|
282
|
+
case "top":
|
|
283
|
+
if (viewSpaceAbove >= menuHeight) {
|
|
284
|
+
return {
|
|
285
|
+
placement: "top",
|
|
286
|
+
maxHeight: preferredMaxHeight
|
|
287
|
+
};
|
|
288
|
+
}
|
|
289
|
+
if (scrollSpaceAbove >= menuHeight && !isFixedPosition) {
|
|
290
|
+
if (shouldScroll) {
|
|
291
|
+
animatedScrollTo(scrollParent, scrollUp, scrollDuration);
|
|
292
|
+
}
|
|
293
|
+
return {
|
|
294
|
+
placement: "top",
|
|
295
|
+
maxHeight: preferredMaxHeight
|
|
296
|
+
};
|
|
297
|
+
}
|
|
298
|
+
if (!isFixedPosition && scrollSpaceAbove >= minHeight || isFixedPosition && viewSpaceAbove >= minHeight) {
|
|
299
|
+
var _constrainedHeight2 = preferredMaxHeight;
|
|
300
|
+
if (!isFixedPosition && scrollSpaceAbove >= minHeight || isFixedPosition && viewSpaceAbove >= minHeight) {
|
|
301
|
+
_constrainedHeight2 = isFixedPosition ? viewSpaceAbove - marginTop : scrollSpaceAbove - marginTop;
|
|
302
|
+
}
|
|
303
|
+
if (shouldScroll) {
|
|
304
|
+
animatedScrollTo(scrollParent, scrollUp, scrollDuration);
|
|
305
|
+
}
|
|
306
|
+
return {
|
|
307
|
+
placement: "top",
|
|
308
|
+
maxHeight: _constrainedHeight2
|
|
309
|
+
};
|
|
310
|
+
}
|
|
311
|
+
return {
|
|
312
|
+
placement: "bottom",
|
|
313
|
+
maxHeight: preferredMaxHeight
|
|
314
|
+
};
|
|
315
|
+
default:
|
|
316
|
+
throw new Error('Invalid placement provided "'.concat(preferredPlacement, '".'));
|
|
317
|
+
}
|
|
318
|
+
return defaultState;
|
|
319
|
+
}
|
|
320
|
+
function alignToControl(placement) {
|
|
321
|
+
var placementToCSSProp = {
|
|
322
|
+
bottom: "top",
|
|
323
|
+
top: "bottom"
|
|
324
|
+
};
|
|
325
|
+
return placement ? placementToCSSProp[placement] : "bottom";
|
|
326
|
+
}
|
|
327
|
+
var coercePlacement = function coercePlacement2(p) {
|
|
328
|
+
return p === "auto" ? "bottom" : p;
|
|
329
|
+
};
|
|
330
|
+
var menuCSS = function menuCSS2(_ref22, unstyled) {
|
|
331
|
+
var _objectSpread2$1;
|
|
332
|
+
var placement = _ref22.placement, _ref2$theme = _ref22.theme, borderRadius = _ref2$theme.borderRadius, spacing = _ref2$theme.spacing, colors = _ref2$theme.colors;
|
|
333
|
+
return _objectSpread2((_objectSpread2$1 = {
|
|
334
|
+
label: "menu"
|
|
335
|
+
}, _defineProperty(_objectSpread2$1, alignToControl(placement), "100%"), _defineProperty(_objectSpread2$1, "position", "absolute"), _defineProperty(_objectSpread2$1, "width", "100%"), _defineProperty(_objectSpread2$1, "zIndex", 1), _objectSpread2$1), unstyled ? {} : {
|
|
336
|
+
backgroundColor: colors.neutral0,
|
|
337
|
+
borderRadius,
|
|
338
|
+
boxShadow: "0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",
|
|
339
|
+
marginBottom: spacing.menuGutter,
|
|
340
|
+
marginTop: spacing.menuGutter
|
|
341
|
+
});
|
|
342
|
+
};
|
|
343
|
+
var PortalPlacementContext = /* @__PURE__ */ createContext(null);
|
|
344
|
+
var MenuPlacer = function MenuPlacer2(props) {
|
|
345
|
+
var children = props.children, minMenuHeight = props.minMenuHeight, maxMenuHeight = props.maxMenuHeight, menuPlacement = props.menuPlacement, menuPosition = props.menuPosition, menuShouldScrollIntoView = props.menuShouldScrollIntoView, theme = props.theme;
|
|
346
|
+
var _ref3 = useContext(PortalPlacementContext) || {}, setPortalPlacement = _ref3.setPortalPlacement;
|
|
347
|
+
var ref = useRef(null);
|
|
348
|
+
var _useState = useState(maxMenuHeight), _useState2 = _slicedToArray(_useState, 2), maxHeight = _useState2[0], setMaxHeight = _useState2[1];
|
|
349
|
+
var _useState3 = useState(null), _useState4 = _slicedToArray(_useState3, 2), placement = _useState4[0], setPlacement = _useState4[1];
|
|
350
|
+
var controlHeight = theme.spacing.controlHeight;
|
|
351
|
+
index(function() {
|
|
352
|
+
var menuEl = ref.current;
|
|
353
|
+
if (!menuEl) return;
|
|
354
|
+
var isFixedPosition = menuPosition === "fixed";
|
|
355
|
+
var shouldScroll = menuShouldScrollIntoView && !isFixedPosition;
|
|
356
|
+
var state = getMenuPlacement({
|
|
357
|
+
maxHeight: maxMenuHeight,
|
|
358
|
+
menuEl,
|
|
359
|
+
minHeight: minMenuHeight,
|
|
360
|
+
placement: menuPlacement,
|
|
361
|
+
shouldScroll,
|
|
362
|
+
isFixedPosition,
|
|
363
|
+
controlHeight
|
|
364
|
+
});
|
|
365
|
+
setMaxHeight(state.maxHeight);
|
|
366
|
+
setPlacement(state.placement);
|
|
367
|
+
setPortalPlacement === null || setPortalPlacement === void 0 ? void 0 : setPortalPlacement(state.placement);
|
|
368
|
+
}, [maxMenuHeight, menuPlacement, menuPosition, menuShouldScrollIntoView, minMenuHeight, setPortalPlacement, controlHeight]);
|
|
369
|
+
return children({
|
|
370
|
+
ref,
|
|
371
|
+
placerProps: _objectSpread2(_objectSpread2({}, props), {}, {
|
|
372
|
+
placement: placement || coercePlacement(menuPlacement),
|
|
373
|
+
maxHeight
|
|
374
|
+
})
|
|
375
|
+
});
|
|
376
|
+
};
|
|
377
|
+
var Menu = function Menu2(props) {
|
|
378
|
+
var children = props.children, innerRef = props.innerRef, innerProps = props.innerProps;
|
|
379
|
+
return jsx("div", _extends({}, getStyleProps(props, "menu", {
|
|
380
|
+
menu: true
|
|
381
|
+
}), {
|
|
382
|
+
ref: innerRef
|
|
383
|
+
}, innerProps), children);
|
|
384
|
+
};
|
|
385
|
+
var Menu$1 = Menu;
|
|
386
|
+
var menuListCSS = function menuListCSS2(_ref4, unstyled) {
|
|
387
|
+
var maxHeight = _ref4.maxHeight, baseUnit = _ref4.theme.spacing.baseUnit;
|
|
388
|
+
return _objectSpread2({
|
|
389
|
+
maxHeight,
|
|
390
|
+
overflowY: "auto",
|
|
391
|
+
position: "relative",
|
|
392
|
+
// required for offset[Height, Top] > keyboard scroll
|
|
393
|
+
WebkitOverflowScrolling: "touch"
|
|
394
|
+
}, unstyled ? {} : {
|
|
395
|
+
paddingBottom: baseUnit,
|
|
396
|
+
paddingTop: baseUnit
|
|
397
|
+
});
|
|
398
|
+
};
|
|
399
|
+
var MenuList = function MenuList2(props) {
|
|
400
|
+
var children = props.children, innerProps = props.innerProps, innerRef = props.innerRef, isMulti = props.isMulti;
|
|
401
|
+
return jsx("div", _extends({}, getStyleProps(props, "menuList", {
|
|
402
|
+
"menu-list": true,
|
|
403
|
+
"menu-list--is-multi": isMulti
|
|
404
|
+
}), {
|
|
405
|
+
ref: innerRef
|
|
406
|
+
}, innerProps), children);
|
|
407
|
+
};
|
|
408
|
+
var noticeCSS = function noticeCSS2(_ref5, unstyled) {
|
|
409
|
+
var _ref5$theme = _ref5.theme, baseUnit = _ref5$theme.spacing.baseUnit, colors = _ref5$theme.colors;
|
|
410
|
+
return _objectSpread2({
|
|
411
|
+
textAlign: "center"
|
|
412
|
+
}, unstyled ? {} : {
|
|
413
|
+
color: colors.neutral40,
|
|
414
|
+
padding: "".concat(baseUnit * 2, "px ").concat(baseUnit * 3, "px")
|
|
415
|
+
});
|
|
416
|
+
};
|
|
417
|
+
var noOptionsMessageCSS = noticeCSS;
|
|
418
|
+
var loadingMessageCSS = noticeCSS;
|
|
419
|
+
var NoOptionsMessage = function NoOptionsMessage2(_ref6) {
|
|
420
|
+
var _ref6$children = _ref6.children, children = _ref6$children === void 0 ? "No options" : _ref6$children, innerProps = _ref6.innerProps, restProps = _objectWithoutProperties(_ref6, _excluded$3);
|
|
421
|
+
return jsx("div", _extends({}, getStyleProps(_objectSpread2(_objectSpread2({}, restProps), {}, {
|
|
422
|
+
children,
|
|
423
|
+
innerProps
|
|
424
|
+
}), "noOptionsMessage", {
|
|
425
|
+
"menu-notice": true,
|
|
426
|
+
"menu-notice--no-options": true
|
|
427
|
+
}), innerProps), children);
|
|
428
|
+
};
|
|
429
|
+
var LoadingMessage = function LoadingMessage2(_ref7) {
|
|
430
|
+
var _ref7$children = _ref7.children, children = _ref7$children === void 0 ? "Loading..." : _ref7$children, innerProps = _ref7.innerProps, restProps = _objectWithoutProperties(_ref7, _excluded2$1);
|
|
431
|
+
return jsx("div", _extends({}, getStyleProps(_objectSpread2(_objectSpread2({}, restProps), {}, {
|
|
432
|
+
children,
|
|
433
|
+
innerProps
|
|
434
|
+
}), "loadingMessage", {
|
|
435
|
+
"menu-notice": true,
|
|
436
|
+
"menu-notice--loading": true
|
|
437
|
+
}), innerProps), children);
|
|
438
|
+
};
|
|
439
|
+
var menuPortalCSS = function menuPortalCSS2(_ref8) {
|
|
440
|
+
var rect = _ref8.rect, offset = _ref8.offset, position = _ref8.position;
|
|
441
|
+
return {
|
|
442
|
+
left: rect.left,
|
|
443
|
+
position,
|
|
444
|
+
top: offset,
|
|
445
|
+
width: rect.width,
|
|
446
|
+
zIndex: 1
|
|
447
|
+
};
|
|
448
|
+
};
|
|
449
|
+
var MenuPortal = function MenuPortal2(props) {
|
|
450
|
+
var appendTo = props.appendTo, children = props.children, controlElement = props.controlElement, innerProps = props.innerProps, menuPlacement = props.menuPlacement, menuPosition = props.menuPosition;
|
|
451
|
+
var menuPortalRef = useRef(null);
|
|
452
|
+
var cleanupRef = useRef(null);
|
|
453
|
+
var _useState5 = useState(coercePlacement(menuPlacement)), _useState6 = _slicedToArray(_useState5, 2), placement = _useState6[0], setPortalPlacement = _useState6[1];
|
|
454
|
+
var portalPlacementContext = useMemo(function() {
|
|
455
|
+
return {
|
|
456
|
+
setPortalPlacement
|
|
457
|
+
};
|
|
458
|
+
}, []);
|
|
459
|
+
var _useState7 = useState(null), _useState8 = _slicedToArray(_useState7, 2), computedPosition = _useState8[0], setComputedPosition = _useState8[1];
|
|
460
|
+
var updateComputedPosition = useCallback(function() {
|
|
461
|
+
if (!controlElement) return;
|
|
462
|
+
var rect = getBoundingClientObj(controlElement);
|
|
463
|
+
var scrollDistance = menuPosition === "fixed" ? 0 : window.pageYOffset;
|
|
464
|
+
var offset = rect[placement] + scrollDistance;
|
|
465
|
+
if (offset !== (computedPosition === null || computedPosition === void 0 ? void 0 : computedPosition.offset) || rect.left !== (computedPosition === null || computedPosition === void 0 ? void 0 : computedPosition.rect.left) || rect.width !== (computedPosition === null || computedPosition === void 0 ? void 0 : computedPosition.rect.width)) {
|
|
466
|
+
setComputedPosition({
|
|
467
|
+
offset,
|
|
468
|
+
rect
|
|
469
|
+
});
|
|
470
|
+
}
|
|
471
|
+
}, [controlElement, menuPosition, placement, computedPosition === null || computedPosition === void 0 ? void 0 : computedPosition.offset, computedPosition === null || computedPosition === void 0 ? void 0 : computedPosition.rect.left, computedPosition === null || computedPosition === void 0 ? void 0 : computedPosition.rect.width]);
|
|
472
|
+
index(function() {
|
|
473
|
+
updateComputedPosition();
|
|
474
|
+
}, [updateComputedPosition]);
|
|
475
|
+
var runAutoUpdate = useCallback(function() {
|
|
476
|
+
if (typeof cleanupRef.current === "function") {
|
|
477
|
+
cleanupRef.current();
|
|
478
|
+
cleanupRef.current = null;
|
|
479
|
+
}
|
|
480
|
+
if (controlElement && menuPortalRef.current) {
|
|
481
|
+
cleanupRef.current = autoUpdate(controlElement, menuPortalRef.current, updateComputedPosition, {
|
|
482
|
+
elementResize: "ResizeObserver" in window
|
|
483
|
+
});
|
|
484
|
+
}
|
|
485
|
+
}, [controlElement, updateComputedPosition]);
|
|
486
|
+
index(function() {
|
|
487
|
+
runAutoUpdate();
|
|
488
|
+
}, [runAutoUpdate]);
|
|
489
|
+
var setMenuPortalElement = useCallback(function(menuPortalElement) {
|
|
490
|
+
menuPortalRef.current = menuPortalElement;
|
|
491
|
+
runAutoUpdate();
|
|
492
|
+
}, [runAutoUpdate]);
|
|
493
|
+
if (!appendTo && menuPosition !== "fixed" || !computedPosition) return null;
|
|
494
|
+
var menuWrapper = jsx("div", _extends({
|
|
495
|
+
ref: setMenuPortalElement
|
|
496
|
+
}, getStyleProps(_objectSpread2(_objectSpread2({}, props), {}, {
|
|
497
|
+
offset: computedPosition.offset,
|
|
498
|
+
position: menuPosition,
|
|
499
|
+
rect: computedPosition.rect
|
|
500
|
+
}), "menuPortal", {
|
|
501
|
+
"menu-portal": true
|
|
502
|
+
}), innerProps), children);
|
|
503
|
+
return jsx(PortalPlacementContext.Provider, {
|
|
504
|
+
value: portalPlacementContext
|
|
505
|
+
}, appendTo ? /* @__PURE__ */ createPortal(menuWrapper, appendTo) : menuWrapper);
|
|
506
|
+
};
|
|
507
|
+
var containerCSS = function containerCSS2(_ref) {
|
|
508
|
+
var isDisabled = _ref.isDisabled, isRtl = _ref.isRtl;
|
|
509
|
+
return {
|
|
510
|
+
label: "container",
|
|
511
|
+
direction: isRtl ? "rtl" : void 0,
|
|
512
|
+
pointerEvents: isDisabled ? "none" : void 0,
|
|
513
|
+
// cancel mouse events when disabled
|
|
514
|
+
position: "relative"
|
|
515
|
+
};
|
|
516
|
+
};
|
|
517
|
+
var SelectContainer = function SelectContainer2(props) {
|
|
518
|
+
var children = props.children, innerProps = props.innerProps, isDisabled = props.isDisabled, isRtl = props.isRtl;
|
|
519
|
+
return jsx("div", _extends({}, getStyleProps(props, "container", {
|
|
520
|
+
"--is-disabled": isDisabled,
|
|
521
|
+
"--is-rtl": isRtl
|
|
522
|
+
}), innerProps), children);
|
|
523
|
+
};
|
|
524
|
+
var valueContainerCSS = function valueContainerCSS2(_ref22, unstyled) {
|
|
525
|
+
var spacing = _ref22.theme.spacing, isMulti = _ref22.isMulti, hasValue = _ref22.hasValue, controlShouldRenderValue = _ref22.selectProps.controlShouldRenderValue;
|
|
526
|
+
return _objectSpread2({
|
|
527
|
+
alignItems: "center",
|
|
528
|
+
display: isMulti && hasValue && controlShouldRenderValue ? "flex" : "grid",
|
|
529
|
+
flex: 1,
|
|
530
|
+
flexWrap: "wrap",
|
|
531
|
+
WebkitOverflowScrolling: "touch",
|
|
532
|
+
position: "relative",
|
|
533
|
+
overflow: "hidden"
|
|
534
|
+
}, unstyled ? {} : {
|
|
535
|
+
padding: "".concat(spacing.baseUnit / 2, "px ").concat(spacing.baseUnit * 2, "px")
|
|
536
|
+
});
|
|
537
|
+
};
|
|
538
|
+
var ValueContainer = function ValueContainer2(props) {
|
|
539
|
+
var children = props.children, innerProps = props.innerProps, isMulti = props.isMulti, hasValue = props.hasValue;
|
|
540
|
+
return jsx("div", _extends({}, getStyleProps(props, "valueContainer", {
|
|
541
|
+
"value-container": true,
|
|
542
|
+
"value-container--is-multi": isMulti,
|
|
543
|
+
"value-container--has-value": hasValue
|
|
544
|
+
}), innerProps), children);
|
|
545
|
+
};
|
|
546
|
+
var indicatorsContainerCSS = function indicatorsContainerCSS2() {
|
|
547
|
+
return {
|
|
548
|
+
alignItems: "center",
|
|
549
|
+
alignSelf: "stretch",
|
|
550
|
+
display: "flex",
|
|
551
|
+
flexShrink: 0
|
|
552
|
+
};
|
|
553
|
+
};
|
|
554
|
+
var IndicatorsContainer = function IndicatorsContainer2(props) {
|
|
555
|
+
var children = props.children, innerProps = props.innerProps;
|
|
556
|
+
return jsx("div", _extends({}, getStyleProps(props, "indicatorsContainer", {
|
|
557
|
+
indicators: true
|
|
558
|
+
}), innerProps), children);
|
|
559
|
+
};
|
|
560
|
+
var _templateObject;
|
|
561
|
+
var _excluded$2 = ["size"], _excluded2 = ["innerProps", "isRtl", "size"];
|
|
562
|
+
function _EMOTION_STRINGIFIED_CSS_ERROR__() {
|
|
563
|
+
return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";
|
|
564
|
+
}
|
|
565
|
+
var _ref2 = process.env.NODE_ENV === "production" ? {
|
|
566
|
+
name: "8mmkcg",
|
|
567
|
+
styles: "display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"
|
|
568
|
+
} : {
|
|
569
|
+
name: "tj5bde-Svg",
|
|
570
|
+
styles: "display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;label:Svg;",
|
|
571
|
+
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxufSBmcm9tICcuLi90eXBlcyc7XG5pbXBvcnQgeyBnZXRTdHlsZVByb3BzIH0gZnJvbSAnLi4vdXRpbHMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgSWNvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBTdmcgPSAoe1xuICBzaXplLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSAmIHsgc2l6ZTogbnVtYmVyIH0pID0+IChcbiAgPHN2Z1xuICAgIGhlaWdodD17c2l6ZX1cbiAgICB3aWR0aD17c2l6ZX1cbiAgICB2aWV3Qm94PVwiMCAwIDIwIDIwXCJcbiAgICBhcmlhLWhpZGRlbj1cInRydWVcIlxuICAgIGZvY3VzYWJsZT1cImZhbHNlXCJcbiAgICBjc3M9e3tcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICAgICAgZmlsbDogJ2N1cnJlbnRDb2xvcicsXG4gICAgICBsaW5lSGVpZ2h0OiAxLFxuICAgICAgc3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ICAgICAgICAnbG9hZGluZ0luZGljYXRvcicsXG4gICAgICAgIHtcbiAgICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */",
|
|
572
|
+
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
573
|
+
};
|
|
574
|
+
var Svg = function Svg2(_ref) {
|
|
575
|
+
var size = _ref.size, props = _objectWithoutProperties(_ref, _excluded$2);
|
|
576
|
+
return jsx("svg", _extends({
|
|
577
|
+
height: size,
|
|
578
|
+
width: size,
|
|
579
|
+
viewBox: "0 0 20 20",
|
|
580
|
+
"aria-hidden": "true",
|
|
581
|
+
focusable: "false",
|
|
582
|
+
css: _ref2
|
|
583
|
+
}, props));
|
|
584
|
+
};
|
|
585
|
+
var CrossIcon = function CrossIcon2(props) {
|
|
586
|
+
return jsx(Svg, _extends({
|
|
587
|
+
size: 20
|
|
588
|
+
}, props), jsx("path", {
|
|
589
|
+
d: "M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"
|
|
590
|
+
}));
|
|
591
|
+
};
|
|
592
|
+
var DownChevron = function DownChevron2(props) {
|
|
593
|
+
return jsx(Svg, _extends({
|
|
594
|
+
size: 20
|
|
595
|
+
}, props), jsx("path", {
|
|
596
|
+
d: "M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"
|
|
597
|
+
}));
|
|
598
|
+
};
|
|
599
|
+
var baseCSS = function baseCSS2(_ref3, unstyled) {
|
|
600
|
+
var isFocused = _ref3.isFocused, _ref3$theme = _ref3.theme, baseUnit = _ref3$theme.spacing.baseUnit, colors = _ref3$theme.colors;
|
|
601
|
+
return _objectSpread2({
|
|
602
|
+
label: "indicatorContainer",
|
|
603
|
+
display: "flex",
|
|
604
|
+
transition: "color 150ms"
|
|
605
|
+
}, unstyled ? {} : {
|
|
606
|
+
color: isFocused ? colors.neutral60 : colors.neutral20,
|
|
607
|
+
padding: baseUnit * 2,
|
|
608
|
+
":hover": {
|
|
609
|
+
color: isFocused ? colors.neutral80 : colors.neutral40
|
|
610
|
+
}
|
|
611
|
+
});
|
|
612
|
+
};
|
|
613
|
+
var dropdownIndicatorCSS = baseCSS;
|
|
614
|
+
var DropdownIndicator = function DropdownIndicator2(props) {
|
|
615
|
+
var children = props.children, innerProps = props.innerProps;
|
|
616
|
+
return jsx("div", _extends({}, getStyleProps(props, "dropdownIndicator", {
|
|
617
|
+
indicator: true,
|
|
618
|
+
"dropdown-indicator": true
|
|
619
|
+
}), innerProps), children || jsx(DownChevron, null));
|
|
620
|
+
};
|
|
621
|
+
var clearIndicatorCSS = baseCSS;
|
|
622
|
+
var ClearIndicator = function ClearIndicator2(props) {
|
|
623
|
+
var children = props.children, innerProps = props.innerProps;
|
|
624
|
+
return jsx("div", _extends({}, getStyleProps(props, "clearIndicator", {
|
|
625
|
+
indicator: true,
|
|
626
|
+
"clear-indicator": true
|
|
627
|
+
}), innerProps), children || jsx(CrossIcon, null));
|
|
628
|
+
};
|
|
629
|
+
var indicatorSeparatorCSS = function indicatorSeparatorCSS2(_ref4, unstyled) {
|
|
630
|
+
var isDisabled = _ref4.isDisabled, _ref4$theme = _ref4.theme, baseUnit = _ref4$theme.spacing.baseUnit, colors = _ref4$theme.colors;
|
|
631
|
+
return _objectSpread2({
|
|
632
|
+
label: "indicatorSeparator",
|
|
633
|
+
alignSelf: "stretch",
|
|
634
|
+
width: 1
|
|
635
|
+
}, unstyled ? {} : {
|
|
636
|
+
backgroundColor: isDisabled ? colors.neutral10 : colors.neutral20,
|
|
637
|
+
marginBottom: baseUnit * 2,
|
|
638
|
+
marginTop: baseUnit * 2
|
|
639
|
+
});
|
|
640
|
+
};
|
|
641
|
+
var IndicatorSeparator = function IndicatorSeparator2(props) {
|
|
642
|
+
var innerProps = props.innerProps;
|
|
643
|
+
return jsx("span", _extends({}, innerProps, getStyleProps(props, "indicatorSeparator", {
|
|
644
|
+
"indicator-separator": true
|
|
645
|
+
})));
|
|
646
|
+
};
|
|
647
|
+
var loadingDotAnimations = keyframes(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"])));
|
|
648
|
+
var loadingIndicatorCSS = function loadingIndicatorCSS2(_ref5, unstyled) {
|
|
649
|
+
var isFocused = _ref5.isFocused, size = _ref5.size, _ref5$theme = _ref5.theme, colors = _ref5$theme.colors, baseUnit = _ref5$theme.spacing.baseUnit;
|
|
650
|
+
return _objectSpread2({
|
|
651
|
+
label: "loadingIndicator",
|
|
652
|
+
display: "flex",
|
|
653
|
+
transition: "color 150ms",
|
|
654
|
+
alignSelf: "center",
|
|
655
|
+
fontSize: size,
|
|
656
|
+
lineHeight: 1,
|
|
657
|
+
marginRight: size,
|
|
658
|
+
textAlign: "center",
|
|
659
|
+
verticalAlign: "middle"
|
|
660
|
+
}, unstyled ? {} : {
|
|
661
|
+
color: isFocused ? colors.neutral60 : colors.neutral20,
|
|
662
|
+
padding: baseUnit * 2
|
|
663
|
+
});
|
|
664
|
+
};
|
|
665
|
+
var LoadingDot = function LoadingDot2(_ref6) {
|
|
666
|
+
var delay = _ref6.delay, offset = _ref6.offset;
|
|
667
|
+
return jsx("span", {
|
|
668
|
+
css: /* @__PURE__ */ css$2({
|
|
669
|
+
animation: "".concat(loadingDotAnimations, " 1s ease-in-out ").concat(delay, "ms infinite;"),
|
|
670
|
+
backgroundColor: "currentColor",
|
|
671
|
+
borderRadius: "1em",
|
|
672
|
+
display: "inline-block",
|
|
673
|
+
marginLeft: offset ? "1em" : void 0,
|
|
674
|
+
height: "1em",
|
|
675
|
+
verticalAlign: "top",
|
|
676
|
+
width: "1em"
|
|
677
|
+
}, process.env.NODE_ENV === "production" ? "" : ";label:LoadingDot;", process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxufSBmcm9tICcuLi90eXBlcyc7XG5pbXBvcnQgeyBnZXRTdHlsZVByb3BzIH0gZnJvbSAnLi4vdXRpbHM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sZWFuO1xuICBpc0Rpc2FibGVkOiBib29sZWFuO1xuICAvKiogU2V0IHNpemUgb2YgdGhlIGNvbnRhaW5lci4gKi9cbiAgc2l6ZTogbnVtYmVyO1xufVxuZXhwb3J0IGNvbnN0IExvYWRpbmdJbmRpY2F0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oe1xuICBpbm5lclByb3BzLFxuICBpc1J0bCxcbiAgc2l6ZSA9IDQsXG4gIC4uLnJlc3RQcm9wc1xufTogTG9hZGluZ0luZGljYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+KSA9PiB7XG4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgey4uLmdldFN0eWxlUHJvcHMoXG4gICAgICAgIHsgLi4ucmVzdFByb3BzLCBpbm5lclByb3BzLCBpc1J0bCwgc2l6ZSB9LFxuICAgICAgICAnbG9hZGluZ0luZGljYXRvcicsXG4gICAgICAgIHtcbiAgICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */")
|
|
678
|
+
});
|
|
679
|
+
};
|
|
680
|
+
var LoadingIndicator = function LoadingIndicator2(_ref7) {
|
|
681
|
+
var innerProps = _ref7.innerProps, isRtl = _ref7.isRtl, _ref7$size = _ref7.size, size = _ref7$size === void 0 ? 4 : _ref7$size, restProps = _objectWithoutProperties(_ref7, _excluded2);
|
|
682
|
+
return jsx("div", _extends({}, getStyleProps(_objectSpread2(_objectSpread2({}, restProps), {}, {
|
|
683
|
+
innerProps,
|
|
684
|
+
isRtl,
|
|
685
|
+
size
|
|
686
|
+
}), "loadingIndicator", {
|
|
687
|
+
indicator: true,
|
|
688
|
+
"loading-indicator": true
|
|
689
|
+
}), innerProps), jsx(LoadingDot, {
|
|
690
|
+
delay: 0,
|
|
691
|
+
offset: isRtl
|
|
692
|
+
}), jsx(LoadingDot, {
|
|
693
|
+
delay: 160,
|
|
694
|
+
offset: true
|
|
695
|
+
}), jsx(LoadingDot, {
|
|
696
|
+
delay: 320,
|
|
697
|
+
offset: !isRtl
|
|
698
|
+
}));
|
|
699
|
+
};
|
|
700
|
+
var css$1 = function css(_ref, unstyled) {
|
|
701
|
+
var isDisabled = _ref.isDisabled, isFocused = _ref.isFocused, _ref$theme = _ref.theme, colors = _ref$theme.colors, borderRadius = _ref$theme.borderRadius, spacing = _ref$theme.spacing;
|
|
702
|
+
return _objectSpread2({
|
|
703
|
+
label: "control",
|
|
704
|
+
alignItems: "center",
|
|
705
|
+
cursor: "default",
|
|
706
|
+
display: "flex",
|
|
707
|
+
flexWrap: "wrap",
|
|
708
|
+
justifyContent: "space-between",
|
|
709
|
+
minHeight: spacing.controlHeight,
|
|
710
|
+
outline: "0 !important",
|
|
711
|
+
position: "relative",
|
|
712
|
+
transition: "all 100ms"
|
|
713
|
+
}, unstyled ? {} : {
|
|
714
|
+
backgroundColor: isDisabled ? colors.neutral5 : colors.neutral0,
|
|
715
|
+
borderColor: isDisabled ? colors.neutral10 : isFocused ? colors.primary : colors.neutral20,
|
|
716
|
+
borderRadius,
|
|
717
|
+
borderStyle: "solid",
|
|
718
|
+
borderWidth: 1,
|
|
719
|
+
boxShadow: isFocused ? "0 0 0 1px ".concat(colors.primary) : void 0,
|
|
720
|
+
"&:hover": {
|
|
721
|
+
borderColor: isFocused ? colors.primary : colors.neutral30
|
|
722
|
+
}
|
|
723
|
+
});
|
|
724
|
+
};
|
|
725
|
+
var Control = function Control2(props) {
|
|
726
|
+
var children = props.children, isDisabled = props.isDisabled, isFocused = props.isFocused, innerRef = props.innerRef, innerProps = props.innerProps, menuIsOpen = props.menuIsOpen;
|
|
727
|
+
return jsx("div", _extends({
|
|
728
|
+
ref: innerRef
|
|
729
|
+
}, getStyleProps(props, "control", {
|
|
730
|
+
control: true,
|
|
731
|
+
"control--is-disabled": isDisabled,
|
|
732
|
+
"control--is-focused": isFocused,
|
|
733
|
+
"control--menu-is-open": menuIsOpen
|
|
734
|
+
}), innerProps, {
|
|
735
|
+
"aria-disabled": isDisabled || void 0
|
|
736
|
+
}), children);
|
|
737
|
+
};
|
|
738
|
+
var Control$1 = Control;
|
|
739
|
+
var _excluded$1 = ["data"];
|
|
740
|
+
var groupCSS = function groupCSS2(_ref, unstyled) {
|
|
741
|
+
var spacing = _ref.theme.spacing;
|
|
742
|
+
return unstyled ? {} : {
|
|
743
|
+
paddingBottom: spacing.baseUnit * 2,
|
|
744
|
+
paddingTop: spacing.baseUnit * 2
|
|
745
|
+
};
|
|
746
|
+
};
|
|
747
|
+
var Group = function Group2(props) {
|
|
748
|
+
var children = props.children, cx = props.cx, getStyles = props.getStyles, getClassNames = props.getClassNames, Heading = props.Heading, headingProps = props.headingProps, innerProps = props.innerProps, label = props.label, theme = props.theme, selectProps = props.selectProps;
|
|
749
|
+
return jsx("div", _extends({}, getStyleProps(props, "group", {
|
|
750
|
+
group: true
|
|
751
|
+
}), innerProps), jsx(Heading, _extends({}, headingProps, {
|
|
752
|
+
selectProps,
|
|
753
|
+
theme,
|
|
754
|
+
getStyles,
|
|
755
|
+
getClassNames,
|
|
756
|
+
cx
|
|
757
|
+
}), label), jsx("div", null, children));
|
|
758
|
+
};
|
|
759
|
+
var groupHeadingCSS = function groupHeadingCSS2(_ref22, unstyled) {
|
|
760
|
+
var _ref2$theme = _ref22.theme, colors = _ref2$theme.colors, spacing = _ref2$theme.spacing;
|
|
761
|
+
return _objectSpread2({
|
|
762
|
+
label: "group",
|
|
763
|
+
cursor: "default",
|
|
764
|
+
display: "block"
|
|
765
|
+
}, unstyled ? {} : {
|
|
766
|
+
color: colors.neutral40,
|
|
767
|
+
fontSize: "75%",
|
|
768
|
+
fontWeight: 500,
|
|
769
|
+
marginBottom: "0.25em",
|
|
770
|
+
paddingLeft: spacing.baseUnit * 3,
|
|
771
|
+
paddingRight: spacing.baseUnit * 3,
|
|
772
|
+
textTransform: "uppercase"
|
|
773
|
+
});
|
|
774
|
+
};
|
|
775
|
+
var GroupHeading = function GroupHeading2(props) {
|
|
776
|
+
var _cleanCommonProps = cleanCommonProps(props);
|
|
777
|
+
_cleanCommonProps.data;
|
|
778
|
+
var innerProps = _objectWithoutProperties(_cleanCommonProps, _excluded$1);
|
|
779
|
+
return jsx("div", _extends({}, getStyleProps(props, "groupHeading", {
|
|
780
|
+
"group-heading": true
|
|
781
|
+
}), innerProps));
|
|
782
|
+
};
|
|
783
|
+
var Group$1 = Group;
|
|
784
|
+
var _excluded = ["innerRef", "isDisabled", "isHidden", "inputClassName"];
|
|
785
|
+
var inputCSS = function inputCSS2(_ref, unstyled) {
|
|
786
|
+
var isDisabled = _ref.isDisabled, value = _ref.value, _ref$theme = _ref.theme, spacing = _ref$theme.spacing, colors = _ref$theme.colors;
|
|
787
|
+
return _objectSpread2(_objectSpread2({
|
|
788
|
+
visibility: isDisabled ? "hidden" : "visible",
|
|
789
|
+
// force css to recompute when value change due to @emotion bug.
|
|
790
|
+
// We can remove it whenever the bug is fixed.
|
|
791
|
+
transform: value ? "translateZ(0)" : ""
|
|
792
|
+
}, containerStyle), unstyled ? {} : {
|
|
793
|
+
margin: spacing.baseUnit / 2,
|
|
794
|
+
paddingBottom: spacing.baseUnit / 2,
|
|
795
|
+
paddingTop: spacing.baseUnit / 2,
|
|
796
|
+
color: colors.neutral80
|
|
797
|
+
});
|
|
798
|
+
};
|
|
799
|
+
var spacingStyle = {
|
|
800
|
+
gridArea: "1 / 2",
|
|
801
|
+
font: "inherit",
|
|
802
|
+
minWidth: "2px",
|
|
803
|
+
border: 0,
|
|
804
|
+
margin: 0,
|
|
805
|
+
outline: 0,
|
|
806
|
+
padding: 0
|
|
807
|
+
};
|
|
808
|
+
var containerStyle = {
|
|
809
|
+
flex: "1 1 auto",
|
|
810
|
+
display: "inline-grid",
|
|
811
|
+
gridArea: "1 / 1 / 2 / 3",
|
|
812
|
+
gridTemplateColumns: "0 min-content",
|
|
813
|
+
"&:after": _objectSpread2({
|
|
814
|
+
content: 'attr(data-value) " "',
|
|
815
|
+
visibility: "hidden",
|
|
816
|
+
whiteSpace: "pre"
|
|
817
|
+
}, spacingStyle)
|
|
818
|
+
};
|
|
819
|
+
var inputStyle = function inputStyle2(isHidden) {
|
|
820
|
+
return _objectSpread2({
|
|
821
|
+
label: "input",
|
|
822
|
+
color: "inherit",
|
|
823
|
+
background: 0,
|
|
824
|
+
opacity: isHidden ? 0 : 1,
|
|
825
|
+
width: "100%"
|
|
826
|
+
}, spacingStyle);
|
|
827
|
+
};
|
|
828
|
+
var Input = function Input2(props) {
|
|
829
|
+
var cx = props.cx, value = props.value;
|
|
830
|
+
var _cleanCommonProps = cleanCommonProps(props), innerRef = _cleanCommonProps.innerRef, isDisabled = _cleanCommonProps.isDisabled, isHidden = _cleanCommonProps.isHidden, inputClassName = _cleanCommonProps.inputClassName, innerProps = _objectWithoutProperties(_cleanCommonProps, _excluded);
|
|
831
|
+
return jsx("div", _extends({}, getStyleProps(props, "input", {
|
|
832
|
+
"input-container": true
|
|
833
|
+
}), {
|
|
834
|
+
"data-value": value || ""
|
|
835
|
+
}), jsx("input", _extends({
|
|
836
|
+
className: cx({
|
|
837
|
+
input: true
|
|
838
|
+
}, inputClassName),
|
|
839
|
+
ref: innerRef,
|
|
840
|
+
style: inputStyle(isHidden),
|
|
841
|
+
disabled: isDisabled
|
|
842
|
+
}, innerProps)));
|
|
843
|
+
};
|
|
844
|
+
var Input$1 = Input;
|
|
845
|
+
var multiValueCSS = function multiValueCSS2(_ref, unstyled) {
|
|
846
|
+
var _ref$theme = _ref.theme, spacing = _ref$theme.spacing, borderRadius = _ref$theme.borderRadius, colors = _ref$theme.colors;
|
|
847
|
+
return _objectSpread2({
|
|
848
|
+
label: "multiValue",
|
|
849
|
+
display: "flex",
|
|
850
|
+
minWidth: 0
|
|
851
|
+
}, unstyled ? {} : {
|
|
852
|
+
backgroundColor: colors.neutral10,
|
|
853
|
+
borderRadius: borderRadius / 2,
|
|
854
|
+
margin: spacing.baseUnit / 2
|
|
855
|
+
});
|
|
856
|
+
};
|
|
857
|
+
var multiValueLabelCSS = function multiValueLabelCSS2(_ref22, unstyled) {
|
|
858
|
+
var _ref2$theme = _ref22.theme, borderRadius = _ref2$theme.borderRadius, colors = _ref2$theme.colors, cropWithEllipsis = _ref22.cropWithEllipsis;
|
|
859
|
+
return _objectSpread2({
|
|
860
|
+
overflow: "hidden",
|
|
861
|
+
textOverflow: cropWithEllipsis || cropWithEllipsis === void 0 ? "ellipsis" : void 0,
|
|
862
|
+
whiteSpace: "nowrap"
|
|
863
|
+
}, unstyled ? {} : {
|
|
864
|
+
borderRadius: borderRadius / 2,
|
|
865
|
+
color: colors.neutral80,
|
|
866
|
+
fontSize: "85%",
|
|
867
|
+
padding: 3,
|
|
868
|
+
paddingLeft: 6
|
|
869
|
+
});
|
|
870
|
+
};
|
|
871
|
+
var multiValueRemoveCSS = function multiValueRemoveCSS2(_ref3, unstyled) {
|
|
872
|
+
var _ref3$theme = _ref3.theme, spacing = _ref3$theme.spacing, borderRadius = _ref3$theme.borderRadius, colors = _ref3$theme.colors, isFocused = _ref3.isFocused;
|
|
873
|
+
return _objectSpread2({
|
|
874
|
+
alignItems: "center",
|
|
875
|
+
display: "flex"
|
|
876
|
+
}, unstyled ? {} : {
|
|
877
|
+
borderRadius: borderRadius / 2,
|
|
878
|
+
backgroundColor: isFocused ? colors.dangerLight : void 0,
|
|
879
|
+
paddingLeft: spacing.baseUnit,
|
|
880
|
+
paddingRight: spacing.baseUnit,
|
|
881
|
+
":hover": {
|
|
882
|
+
backgroundColor: colors.dangerLight,
|
|
883
|
+
color: colors.danger
|
|
884
|
+
}
|
|
885
|
+
});
|
|
886
|
+
};
|
|
887
|
+
var MultiValueGeneric = function MultiValueGeneric2(_ref4) {
|
|
888
|
+
var children = _ref4.children, innerProps = _ref4.innerProps;
|
|
889
|
+
return jsx("div", innerProps, children);
|
|
890
|
+
};
|
|
891
|
+
var MultiValueContainer = MultiValueGeneric;
|
|
892
|
+
var MultiValueLabel = MultiValueGeneric;
|
|
893
|
+
function MultiValueRemove(_ref5) {
|
|
894
|
+
var children = _ref5.children, innerProps = _ref5.innerProps;
|
|
895
|
+
return jsx("div", _extends({
|
|
896
|
+
role: "button"
|
|
897
|
+
}, innerProps), children || jsx(CrossIcon, {
|
|
898
|
+
size: 14
|
|
899
|
+
}));
|
|
900
|
+
}
|
|
901
|
+
var MultiValue = function MultiValue2(props) {
|
|
902
|
+
var children = props.children, components2 = props.components, data = props.data, innerProps = props.innerProps, isDisabled = props.isDisabled, removeProps3 = props.removeProps, selectProps = props.selectProps;
|
|
903
|
+
var Container = components2.Container, Label = components2.Label, Remove = components2.Remove;
|
|
904
|
+
return jsx(Container, {
|
|
905
|
+
data,
|
|
906
|
+
innerProps: _objectSpread2(_objectSpread2({}, getStyleProps(props, "multiValue", {
|
|
907
|
+
"multi-value": true,
|
|
908
|
+
"multi-value--is-disabled": isDisabled
|
|
909
|
+
})), innerProps),
|
|
910
|
+
selectProps
|
|
911
|
+
}, jsx(Label, {
|
|
912
|
+
data,
|
|
913
|
+
innerProps: _objectSpread2({}, getStyleProps(props, "multiValueLabel", {
|
|
914
|
+
"multi-value__label": true
|
|
915
|
+
})),
|
|
916
|
+
selectProps
|
|
917
|
+
}, children), jsx(Remove, {
|
|
918
|
+
data,
|
|
919
|
+
innerProps: _objectSpread2(_objectSpread2({}, getStyleProps(props, "multiValueRemove", {
|
|
920
|
+
"multi-value__remove": true
|
|
921
|
+
})), {}, {
|
|
922
|
+
"aria-label": "Remove ".concat(children || "option")
|
|
923
|
+
}, removeProps3),
|
|
924
|
+
selectProps
|
|
925
|
+
}));
|
|
926
|
+
};
|
|
927
|
+
var MultiValue$1 = MultiValue;
|
|
928
|
+
var optionCSS = function optionCSS2(_ref, unstyled) {
|
|
929
|
+
var isDisabled = _ref.isDisabled, isFocused = _ref.isFocused, isSelected = _ref.isSelected, _ref$theme = _ref.theme, spacing = _ref$theme.spacing, colors = _ref$theme.colors;
|
|
930
|
+
return _objectSpread2({
|
|
931
|
+
label: "option",
|
|
932
|
+
cursor: "default",
|
|
933
|
+
display: "block",
|
|
934
|
+
fontSize: "inherit",
|
|
935
|
+
width: "100%",
|
|
936
|
+
userSelect: "none",
|
|
937
|
+
WebkitTapHighlightColor: "rgba(0, 0, 0, 0)"
|
|
938
|
+
}, unstyled ? {} : {
|
|
939
|
+
backgroundColor: isSelected ? colors.primary : isFocused ? colors.primary25 : "transparent",
|
|
940
|
+
color: isDisabled ? colors.neutral20 : isSelected ? colors.neutral0 : "inherit",
|
|
941
|
+
padding: "".concat(spacing.baseUnit * 2, "px ").concat(spacing.baseUnit * 3, "px"),
|
|
942
|
+
// provide some affordance on touch devices
|
|
943
|
+
":active": {
|
|
944
|
+
backgroundColor: !isDisabled ? isSelected ? colors.primary : colors.primary50 : void 0
|
|
945
|
+
}
|
|
946
|
+
});
|
|
947
|
+
};
|
|
948
|
+
var Option = function Option2(props) {
|
|
949
|
+
var children = props.children, isDisabled = props.isDisabled, isFocused = props.isFocused, isSelected = props.isSelected, innerRef = props.innerRef, innerProps = props.innerProps;
|
|
950
|
+
return jsx("div", _extends({}, getStyleProps(props, "option", {
|
|
951
|
+
option: true,
|
|
952
|
+
"option--is-disabled": isDisabled,
|
|
953
|
+
"option--is-focused": isFocused,
|
|
954
|
+
"option--is-selected": isSelected
|
|
955
|
+
}), {
|
|
956
|
+
ref: innerRef,
|
|
957
|
+
"aria-disabled": isDisabled
|
|
958
|
+
}, innerProps), children);
|
|
959
|
+
};
|
|
960
|
+
var Option$1 = Option;
|
|
961
|
+
var placeholderCSS = function placeholderCSS2(_ref, unstyled) {
|
|
962
|
+
var _ref$theme = _ref.theme, spacing = _ref$theme.spacing, colors = _ref$theme.colors;
|
|
963
|
+
return _objectSpread2({
|
|
964
|
+
label: "placeholder",
|
|
965
|
+
gridArea: "1 / 1 / 2 / 3"
|
|
966
|
+
}, unstyled ? {} : {
|
|
967
|
+
color: colors.neutral50,
|
|
968
|
+
marginLeft: spacing.baseUnit / 2,
|
|
969
|
+
marginRight: spacing.baseUnit / 2
|
|
970
|
+
});
|
|
971
|
+
};
|
|
972
|
+
var Placeholder = function Placeholder2(props) {
|
|
973
|
+
var children = props.children, innerProps = props.innerProps;
|
|
974
|
+
return jsx("div", _extends({}, getStyleProps(props, "placeholder", {
|
|
975
|
+
placeholder: true
|
|
976
|
+
}), innerProps), children);
|
|
977
|
+
};
|
|
978
|
+
var Placeholder$1 = Placeholder;
|
|
979
|
+
var css2 = function css3(_ref, unstyled) {
|
|
980
|
+
var isDisabled = _ref.isDisabled, _ref$theme = _ref.theme, spacing = _ref$theme.spacing, colors = _ref$theme.colors;
|
|
981
|
+
return _objectSpread2({
|
|
982
|
+
label: "singleValue",
|
|
983
|
+
gridArea: "1 / 1 / 2 / 3",
|
|
984
|
+
maxWidth: "100%",
|
|
985
|
+
overflow: "hidden",
|
|
986
|
+
textOverflow: "ellipsis",
|
|
987
|
+
whiteSpace: "nowrap"
|
|
988
|
+
}, unstyled ? {} : {
|
|
989
|
+
color: isDisabled ? colors.neutral40 : colors.neutral80,
|
|
990
|
+
marginLeft: spacing.baseUnit / 2,
|
|
991
|
+
marginRight: spacing.baseUnit / 2
|
|
992
|
+
});
|
|
993
|
+
};
|
|
994
|
+
var SingleValue = function SingleValue2(props) {
|
|
995
|
+
var children = props.children, isDisabled = props.isDisabled, innerProps = props.innerProps;
|
|
996
|
+
return jsx("div", _extends({}, getStyleProps(props, "singleValue", {
|
|
997
|
+
"single-value": true,
|
|
998
|
+
"single-value--is-disabled": isDisabled
|
|
999
|
+
}), innerProps), children);
|
|
1000
|
+
};
|
|
1001
|
+
var SingleValue$1 = SingleValue;
|
|
1002
|
+
var components = {
|
|
1003
|
+
ClearIndicator,
|
|
1004
|
+
Control: Control$1,
|
|
1005
|
+
DropdownIndicator,
|
|
1006
|
+
DownChevron,
|
|
1007
|
+
CrossIcon,
|
|
1008
|
+
Group: Group$1,
|
|
1009
|
+
GroupHeading,
|
|
1010
|
+
IndicatorsContainer,
|
|
1011
|
+
IndicatorSeparator,
|
|
1012
|
+
Input: Input$1,
|
|
1013
|
+
LoadingIndicator,
|
|
1014
|
+
Menu: Menu$1,
|
|
1015
|
+
MenuList,
|
|
1016
|
+
MenuPortal,
|
|
1017
|
+
LoadingMessage,
|
|
1018
|
+
NoOptionsMessage,
|
|
1019
|
+
MultiValue: MultiValue$1,
|
|
1020
|
+
MultiValueContainer,
|
|
1021
|
+
MultiValueLabel,
|
|
1022
|
+
MultiValueRemove,
|
|
1023
|
+
Option: Option$1,
|
|
1024
|
+
Placeholder: Placeholder$1,
|
|
1025
|
+
SelectContainer,
|
|
1026
|
+
SingleValue: SingleValue$1,
|
|
1027
|
+
ValueContainer
|
|
1028
|
+
};
|
|
1029
|
+
var defaultComponents = function defaultComponents2(props) {
|
|
1030
|
+
return _objectSpread2(_objectSpread2({}, components), props.components);
|
|
1031
|
+
};
|
|
1032
|
+
export {
|
|
1033
|
+
isMobileDevice as A,
|
|
1034
|
+
multiValueAsValue as B,
|
|
1035
|
+
singleValueAsValue as C,
|
|
1036
|
+
valueTernary as D,
|
|
1037
|
+
classNames as E,
|
|
1038
|
+
defaultComponents as F,
|
|
1039
|
+
isDocumentElement as G,
|
|
1040
|
+
cleanValue as H,
|
|
1041
|
+
scrollIntoView as I,
|
|
1042
|
+
noop as J,
|
|
1043
|
+
notNullish as K,
|
|
1044
|
+
MenuPlacer as M,
|
|
1045
|
+
clearIndicatorCSS as a,
|
|
1046
|
+
containerCSS as b,
|
|
1047
|
+
components as c,
|
|
1048
|
+
css$1 as d,
|
|
1049
|
+
dropdownIndicatorCSS as e,
|
|
1050
|
+
groupHeadingCSS as f,
|
|
1051
|
+
groupCSS as g,
|
|
1052
|
+
indicatorSeparatorCSS as h,
|
|
1053
|
+
indicatorsContainerCSS as i,
|
|
1054
|
+
inputCSS as j,
|
|
1055
|
+
loadingMessageCSS as k,
|
|
1056
|
+
loadingIndicatorCSS as l,
|
|
1057
|
+
menuCSS as m,
|
|
1058
|
+
menuListCSS as n,
|
|
1059
|
+
menuPortalCSS as o,
|
|
1060
|
+
multiValueCSS as p,
|
|
1061
|
+
multiValueLabelCSS as q,
|
|
1062
|
+
removeProps as r,
|
|
1063
|
+
supportsPassiveEvents as s,
|
|
1064
|
+
multiValueRemoveCSS as t,
|
|
1065
|
+
noOptionsMessageCSS as u,
|
|
1066
|
+
optionCSS as v,
|
|
1067
|
+
placeholderCSS as w,
|
|
1068
|
+
css2 as x,
|
|
1069
|
+
valueContainerCSS as y,
|
|
1070
|
+
isTouchCapable as z
|
|
1071
|
+
};
|