@stokr/components-library 3.0.67 → 3.0.68
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/README.md +179 -179
- 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 +1 -1
- package/dist/components/2FA/main-flow.js +1 -1
- 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 +3 -5
- 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 +3 -4
- package/dist/components/Input/OtpInput.js +2 -2
- package/dist/components/Input/RangeInput.js +4 -4
- package/dist/components/Input/Select.js +4 -5
- 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/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 +1 -3
- package/dist/components/logo/Logo.js +1 -1
- package/dist/components/taxId/register-taxid.js +4 -4
- package/dist/context/Auth.js +12 -15
- package/dist/context/AuthContext.js +4 -4
- package/dist/firebase-config.js +2 -4
- package/dist/hooks/useNewVentureForm.js +1 -1
- package/dist/index.js +6 -7
- package/dist/manifest.json +25 -25
- package/dist/model/axios.js +1 -2
- package/dist/model/axiosPublic.js +1 -2
- package/dist/robots.txt +3 -3
- package/dist/routing/RouterWrapper.js +1 -1
- package/dist/runtime-config.js +1 -1
- package/dist/static/fonts/icomoon/icomoon.eot +0 -0
- package/dist/static/fonts/icomoon/icomoon.svg +52 -52
- package/dist/static/fonts/icomoon/icomoon.ttf +0 -0
- package/dist/static/fonts/icomoon/icomoon.woff +0 -0
- package/dist/static/fonts/icomoon/selection.json +0 -0
- package/dist/static/fonts/icomoon/style.css +0 -0
- package/dist/static/images/Glassess.svg +5 -5
- package/dist/static/images/add-folder-icon.svg +4 -4
- package/dist/static/images/arrow-down-black.svg +21 -21
- package/dist/static/images/check-icon.svg +3 -3
- package/dist/static/images/checkmark-circle-icon.svg +3 -3
- package/dist/static/images/close-circle-icon.svg +2 -2
- package/dist/static/images/copy_icon.svg +4 -4
- package/dist/static/images/cross-icon.svg +3 -3
- package/dist/static/images/currency/eth.svg +10 -10
- package/dist/static/images/currency/eth_logo.svg +8 -8
- package/dist/static/images/currency/eur.svg +3 -3
- package/dist/static/images/currency/usdc-logo.svg +5 -5
- package/dist/static/images/doc-icon.svg +3 -3
- package/dist/static/images/download_icon.svg +3 -3
- package/dist/static/images/external-link-icon.svg +3 -3
- package/dist/static/images/filter-icon.svg +6 -6
- package/dist/static/images/globe.svg +15 -15
- package/dist/static/images/mangopay.svg +20 -20
- package/dist/static/images/numbers/number_eight.svg +3 -3
- package/dist/static/images/numbers/number_five.svg +4 -4
- package/dist/static/images/numbers/number_four.svg +3 -3
- package/dist/static/images/numbers/number_nine.svg +4 -4
- package/dist/static/images/numbers/number_one.svg +4 -4
- package/dist/static/images/numbers/number_seven.svg +4 -4
- package/dist/static/images/numbers/number_six.svg +4 -4
- package/dist/static/images/numbers/number_three.svg +3 -3
- package/dist/static/images/numbers/number_two.svg +4 -4
- package/dist/static/images/numbers/number_zero.svg +3 -3
- package/dist/static/images/plus-icon.svg +4 -4
- package/dist/static/images/prof-inv.svg +3 -3
- package/dist/static/images/search-icon.svg +3 -3
- package/dist/static/images/transfer-icon.svg +10 -10
- package/dist/static/images/trash.svg +16 -16
- package/dist/static/images/upload.svg +5 -5
- package/dist/static/images/warning-filled.svg +3 -3
- 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 +3 -2
- 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 +143 -143
- package/dist/_virtual/Collapse.js +0 -4
- package/dist/_virtual/Component.js +0 -4
- package/dist/_virtual/Range.js +0 -4
- package/dist/_virtual/ResizeObserver.es.js +0 -6
- package/dist/_virtual/UnmountClosed.js +0 -4
- package/dist/_virtual/_commonjsHelpers.js +0 -38
- package/dist/_virtual/arrows.js +0 -4
- package/dist/_virtual/attributes-to-props.js +0 -4
- package/dist/_virtual/constants.js +0 -4
- package/dist/_virtual/default-props.js +0 -4
- package/dist/_virtual/defaultRenderElements.js +0 -4
- package/dist/_virtual/dom-to-react.js +0 -4
- package/dist/_virtual/domparser.js +0 -4
- package/dist/_virtual/dots.js +0 -4
- package/dist/_virtual/getInnerHeight.js +0 -4
- package/dist/_virtual/getInnerWidth.js +0 -4
- package/dist/_virtual/getScrollbarWidth.js +0 -4
- package/dist/_virtual/hoist-non-react-statics.cjs.js +0 -2
- package/dist/_virtual/html-to-dom.js +0 -4
- package/dist/_virtual/index.js +0 -5
- package/dist/_virtual/index10.js +0 -5
- package/dist/_virtual/index11.js +0 -7
- package/dist/_virtual/index12.js +0 -7
- package/dist/_virtual/index13.js +0 -7
- package/dist/_virtual/index14.js +0 -4
- package/dist/_virtual/index15.js +0 -7
- package/dist/_virtual/index16.js +0 -7
- package/dist/_virtual/index17.js +0 -7
- package/dist/_virtual/index18.js +0 -4
- package/dist/_virtual/index19.js +0 -4
- package/dist/_virtual/index2.js +0 -7
- package/dist/_virtual/index20.js +0 -4
- package/dist/_virtual/index21.js +0 -4
- package/dist/_virtual/index22.js +0 -4
- package/dist/_virtual/index23.js +0 -4
- package/dist/_virtual/index24.js +0 -4
- package/dist/_virtual/index25.js +0 -4
- package/dist/_virtual/index26.js +0 -4
- package/dist/_virtual/index27.js +0 -4
- package/dist/_virtual/index28.js +0 -4
- package/dist/_virtual/index29.js +0 -4
- package/dist/_virtual/index3.js +0 -5
- package/dist/_virtual/index30.js +0 -4
- package/dist/_virtual/index31.js +0 -4
- package/dist/_virtual/index4.js +0 -5
- package/dist/_virtual/index5.js +0 -5
- package/dist/_virtual/index6.js +0 -5
- package/dist/_virtual/index7.js +0 -7
- package/dist/_virtual/index8.js +0 -4
- package/dist/_virtual/index9.js +0 -5
- package/dist/_virtual/initial-state.js +0 -4
- package/dist/_virtual/inner-slider.js +0 -4
- package/dist/_virtual/innerSliderUtils.js +0 -4
- package/dist/_virtual/isString.js +0 -4
- package/dist/_virtual/node.js +0 -4
- package/dist/_virtual/performance-now.js +0 -4
- package/dist/_virtual/popper.js +0 -6
- package/dist/_virtual/possibleStandardNamesOptimized.js +0 -4
- package/dist/_virtual/react-is.development.js +0 -4
- package/dist/_virtual/react-is.production.min.js +0 -4
- package/dist/_virtual/react-table.development.js +0 -4
- package/dist/_virtual/react-table.production.min.js +0 -4
- package/dist/_virtual/react-tippy.js +0 -5
- package/dist/_virtual/react-tippy2.js +0 -4
- package/dist/_virtual/returnFalse.js +0 -4
- package/dist/_virtual/slider.js +0 -4
- package/dist/_virtual/styles.js +0 -4
- package/dist/_virtual/track.js +0 -4
- package/dist/_virtual/types.js +0 -4
- package/dist/_virtual/utilities.js +0 -4
- package/dist/_virtual/utilities2.js +0 -4
- package/dist/_virtual/utilities3.js +0 -4
- package/dist/_virtual/utils.js +0 -4
- package/dist/components-library.css +0 -781
- package/dist/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +0 -8
- package/dist/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +0 -6
- package/dist/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js +0 -7
- package/dist/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +0 -7
- package/dist/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +0 -6
- package/dist/node_modules/@babel/runtime/helpers/esm/createClass.js +0 -15
- package/dist/node_modules/@babel/runtime/helpers/esm/createSuper.js +0 -17
- package/dist/node_modules/@babel/runtime/helpers/esm/defineProperty.js +0 -12
- package/dist/node_modules/@babel/runtime/helpers/esm/extends.js +0 -12
- package/dist/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +0 -8
- package/dist/node_modules/@babel/runtime/helpers/esm/inherits.js +0 -16
- package/dist/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +0 -13
- package/dist/node_modules/@babel/runtime/helpers/esm/iterableToArray.js +0 -6
- package/dist/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +0 -24
- package/dist/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +0 -6
- package/dist/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js +0 -6
- package/dist/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +0 -25
- package/dist/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +0 -13
- package/dist/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +0 -12
- package/dist/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +0 -10
- package/dist/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +0 -8
- package/dist/node_modules/@babel/runtime/helpers/esm/slicedToArray.js +0 -10
- package/dist/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js +0 -10
- package/dist/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js +0 -10
- package/dist/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +0 -14
- package/dist/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +0 -9
- package/dist/node_modules/@babel/runtime/helpers/esm/typeof.js +0 -11
- package/dist/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +0 -11
- package/dist/node_modules/@date-fns/tz/date/index.js +0 -66
- package/dist/node_modules/@date-fns/tz/date/mini.js +0 -124
- package/dist/node_modules/@date-fns/tz/tzName/index.js +0 -11
- package/dist/node_modules/@date-fns/tz/tzOffset/index.js +0 -28
- package/dist/node_modules/@emotion/cache/dist/emotion-cache.browser.esm.js +0 -345
- package/dist/node_modules/@emotion/hash/dist/emotion-hash.esm.js +0 -31
- package/dist/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js +0 -10
- package/dist/node_modules/@emotion/react/dist/emotion-element-f0de968e.browser.esm.js +0 -84
- package/dist/node_modules/@emotion/react/dist/emotion-react.browser.esm.js +0 -50
- package/dist/node_modules/@emotion/serialize/dist/emotion-serialize.esm.js +0 -169
- package/dist/node_modules/@emotion/sheet/dist/emotion-sheet.esm.js +0 -83
- package/dist/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js +0 -53
- package/dist/node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.browser.esm.js +0 -9
- package/dist/node_modules/@emotion/utils/dist/emotion-utils.browser.esm.js +0 -45
- package/dist/node_modules/@firebase/app/dist/esm/index.esm.js +0 -609
- package/dist/node_modules/@firebase/auth/dist/esm/index-36fcbc82.js +0 -5751
- package/dist/node_modules/@firebase/component/dist/esm/index.esm.js +0 -291
- package/dist/node_modules/@firebase/logger/dist/esm/index.esm.js +0 -106
- package/dist/node_modules/@firebase/util/dist/index.esm.js +0 -828
- package/dist/node_modules/@firebase/util/dist/postinstall.js +0 -4
- package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +0 -257
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +0 -122
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +0 -34
- package/dist/node_modules/@lottiefiles/dotlottie-react/dist/index.js +0 -53
- package/dist/node_modules/@lottiefiles/dotlottie-web/dist/index.js +0 -1973
- package/dist/node_modules/add-px-to-style/index.js +0 -48
- package/dist/node_modules/axios/index.js +0 -38
- package/dist/node_modules/axios/lib/adapters/adapters.js +0 -71
- package/dist/node_modules/axios/lib/adapters/fetch.js +0 -219
- package/dist/node_modules/axios/lib/adapters/xhr.js +0 -141
- package/dist/node_modules/axios/lib/axios.js +0 -50
- package/dist/node_modules/axios/lib/cancel/CancelToken.js +0 -99
- package/dist/node_modules/axios/lib/cancel/CanceledError.js +0 -20
- package/dist/node_modules/axios/lib/cancel/isCancel.js +0 -6
- package/dist/node_modules/axios/lib/core/Axios.js +0 -188
- package/dist/node_modules/axios/lib/core/AxiosError.js +0 -67
- package/dist/node_modules/axios/lib/core/AxiosHeaders.js +0 -231
- package/dist/node_modules/axios/lib/core/InterceptorManager.js +0 -66
- package/dist/node_modules/axios/lib/core/buildFullPath.js +0 -12
- package/dist/node_modules/axios/lib/core/dispatchRequest.js +0 -52
- package/dist/node_modules/axios/lib/core/mergeConfig.js +0 -88
- package/dist/node_modules/axios/lib/core/settle.js +0 -18
- package/dist/node_modules/axios/lib/core/transformData.js +0 -17
- package/dist/node_modules/axios/lib/defaults/index.js +0 -116
- package/dist/node_modules/axios/lib/defaults/transitional.js +0 -9
- package/dist/node_modules/axios/lib/env/data.js +0 -4
- package/dist/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +0 -34
- package/dist/node_modules/axios/lib/helpers/HttpStatusCode.js +0 -77
- package/dist/node_modules/axios/lib/helpers/bind.js +0 -8
- package/dist/node_modules/axios/lib/helpers/buildURL.js +0 -32
- package/dist/node_modules/axios/lib/helpers/combineURLs.js +0 -6
- package/dist/node_modules/axios/lib/helpers/composeSignals.js +0 -39
- package/dist/node_modules/axios/lib/helpers/cookies.js +0 -49
- package/dist/node_modules/axios/lib/helpers/formDataToJSON.js +0 -54
- package/dist/node_modules/axios/lib/helpers/isAbsoluteURL.js +0 -9
- package/dist/node_modules/axios/lib/helpers/isAxiosError.js +0 -7
- package/dist/node_modules/axios/lib/helpers/isURLSameOrigin.js +0 -11
- package/dist/node_modules/axios/lib/helpers/null.js +0 -4
- package/dist/node_modules/axios/lib/helpers/parseHeaders.js +0 -47
- package/dist/node_modules/axios/lib/helpers/parseProtocol.js +0 -7
- package/dist/node_modules/axios/lib/helpers/progressEventReducer.js +0 -41
- package/dist/node_modules/axios/lib/helpers/resolveConfig.js +0 -46
- package/dist/node_modules/axios/lib/helpers/speedometer.js +0 -36
- package/dist/node_modules/axios/lib/helpers/spread.js +0 -8
- package/dist/node_modules/axios/lib/helpers/throttle.js +0 -35
- package/dist/node_modules/axios/lib/helpers/toFormData.js +0 -117
- package/dist/node_modules/axios/lib/helpers/toURLEncodedForm.js +0 -18
- package/dist/node_modules/axios/lib/helpers/trackStream.js +0 -80
- package/dist/node_modules/axios/lib/helpers/validator.js +0 -67
- package/dist/node_modules/axios/lib/platform/browser/classes/Blob.js +0 -4
- package/dist/node_modules/axios/lib/platform/browser/classes/FormData.js +0 -4
- package/dist/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +0 -5
- package/dist/node_modules/axios/lib/platform/browser/index.js +0 -15
- package/dist/node_modules/axios/lib/platform/common/utils.js +0 -15
- package/dist/node_modules/axios/lib/platform/index.js +0 -9
- package/dist/node_modules/axios/lib/utils.js +0 -415
- package/dist/node_modules/classnames/index.js +0 -61
- package/dist/node_modules/copy-to-clipboard/index.js +0 -101
- package/dist/node_modules/country-flag-icons/modules/react/3x2/index.js +0 -6570
- package/dist/node_modules/country-flag-icons/react/3x2/index.js +0 -269
- package/dist/node_modules/date-fns/_lib/addLeadingZeros.js +0 -8
- package/dist/node_modules/date-fns/_lib/defaultOptions.js +0 -7
- package/dist/node_modules/date-fns/_lib/format/formatters.js +0 -652
- package/dist/node_modules/date-fns/_lib/format/lightFormatters.js +0 -62
- package/dist/node_modules/date-fns/_lib/format/longFormatters.js +0 -58
- package/dist/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js +0 -20
- package/dist/node_modules/date-fns/_lib/normalizeDates.js +0 -11
- package/dist/node_modules/date-fns/_lib/normalizeInterval.js +0 -8
- package/dist/node_modules/date-fns/_lib/protectedTokens.js +0 -23
- package/dist/node_modules/date-fns/addDays.js +0 -12
- package/dist/node_modules/date-fns/addMonths.js +0 -26
- package/dist/node_modules/date-fns/addWeeks.js +0 -7
- package/dist/node_modules/date-fns/addYears.js +0 -7
- package/dist/node_modules/date-fns/constants.js +0 -14
- package/dist/node_modules/date-fns/constructFrom.js +0 -11
- package/dist/node_modules/date-fns/differenceInCalendarDays.js +0 -19
- package/dist/node_modules/date-fns/differenceInCalendarMonths.js +0 -14
- package/dist/node_modules/date-fns/eachMonthOfInterval.js +0 -20
- package/dist/node_modules/date-fns/eachYearOfInterval.js +0 -20
- package/dist/node_modules/date-fns/endOfISOWeek.js +0 -7
- package/dist/node_modules/date-fns/endOfMonth.js +0 -11
- package/dist/node_modules/date-fns/endOfWeek.js +0 -15
- package/dist/node_modules/date-fns/endOfYear.js +0 -11
- package/dist/node_modules/date-fns/format.js +0 -77
- package/dist/node_modules/date-fns/getDayOfYear.js +0 -12
- package/dist/node_modules/date-fns/getDaysInMonth.js +0 -14
- package/dist/node_modules/date-fns/getDefaultOptions.js +0 -7
- package/dist/node_modules/date-fns/getISODay.js +0 -8
- package/dist/node_modules/date-fns/getISOWeek.js +0 -12
- package/dist/node_modules/date-fns/getISOWeekYear.js +0 -25
- package/dist/node_modules/date-fns/getMonth.js +0 -7
- package/dist/node_modules/date-fns/getWeek.js +0 -12
- package/dist/node_modules/date-fns/getWeekYear.js +0 -28
- package/dist/node_modules/date-fns/getYear.js +0 -7
- package/dist/node_modules/date-fns/isAfter.js +0 -7
- package/dist/node_modules/date-fns/isBefore.js +0 -7
- package/dist/node_modules/date-fns/isDate.js +0 -6
- package/dist/node_modules/date-fns/isSameDay.js +0 -13
- package/dist/node_modules/date-fns/isSameMonth.js +0 -12
- package/dist/node_modules/date-fns/isSameYear.js +0 -12
- package/dist/node_modules/date-fns/isValid.js +0 -8
- package/dist/node_modules/date-fns/locale/_lib/buildFormatLongFn.js +0 -10
- package/dist/node_modules/date-fns/locale/_lib/buildLocalizeFn.js +0 -20
- package/dist/node_modules/date-fns/locale/_lib/buildMatchFn.js +0 -43
- package/dist/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +0 -16
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatDistance.js +0 -85
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatLong.js +0 -36
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatRelative.js +0 -12
- package/dist/node_modules/date-fns/locale/en-US/_lib/localize.js +0 -164
- package/dist/node_modules/date-fns/locale/en-US/_lib/match.js +0 -122
- package/dist/node_modules/date-fns/locale/en-US.js +0 -20
- package/dist/node_modules/date-fns/max.js +0 -16
- package/dist/node_modules/date-fns/min.js +0 -16
- package/dist/node_modules/date-fns/parse/_lib/Parser.js +0 -25
- package/dist/node_modules/date-fns/parse/_lib/Setter.js +0 -44
- package/dist/node_modules/date-fns/parse/_lib/constants.js +0 -50
- package/dist/node_modules/date-fns/parse/_lib/parsers/AMPMMidnightParser.js +0 -44
- package/dist/node_modules/date-fns/parse/_lib/parsers/AMPMParser.js +0 -44
- package/dist/node_modules/date-fns/parse/_lib/parsers/DateParser.js +0 -64
- package/dist/node_modules/date-fns/parse/_lib/parsers/DayOfYearParser.js +0 -52
- package/dist/node_modules/date-fns/parse/_lib/parsers/DayParser.js +0 -45
- package/dist/node_modules/date-fns/parse/_lib/parsers/DayPeriodParser.js +0 -44
- package/dist/node_modules/date-fns/parse/_lib/parsers/EraParser.js +0 -30
- package/dist/node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.js +0 -20
- package/dist/node_modules/date-fns/parse/_lib/parsers/FractionOfSecondParser.js +0 -17
- package/dist/node_modules/date-fns/parse/_lib/parsers/Hour0To11Parser.js +0 -32
- package/dist/node_modules/date-fns/parse/_lib/parsers/Hour0to23Parser.js +0 -27
- package/dist/node_modules/date-fns/parse/_lib/parsers/Hour1To24Parser.js +0 -28
- package/dist/node_modules/date-fns/parse/_lib/parsers/Hour1to12Parser.js +0 -34
- package/dist/node_modules/date-fns/parse/_lib/parsers/ISODayParser.js +0 -106
- package/dist/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneParser.js +0 -43
- package/dist/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.js +0 -43
- package/dist/node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.js +0 -43
- package/dist/node_modules/date-fns/parse/_lib/parsers/ISOWeekYearParser.js +0 -39
- package/dist/node_modules/date-fns/parse/_lib/parsers/LocalDayParser.js +0 -76
- package/dist/node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.js +0 -42
- package/dist/node_modules/date-fns/parse/_lib/parsers/LocalWeekYearParser.js +0 -67
- package/dist/node_modules/date-fns/parse/_lib/parsers/MinuteParser.js +0 -27
- package/dist/node_modules/date-fns/parse/_lib/parsers/MonthParser.js +0 -73
- package/dist/node_modules/date-fns/parse/_lib/parsers/QuarterParser.js +0 -71
- package/dist/node_modules/date-fns/parse/_lib/parsers/SecondParser.js +0 -27
- package/dist/node_modules/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.js +0 -76
- package/dist/node_modules/date-fns/parse/_lib/parsers/StandAloneMonthParser.js +0 -73
- package/dist/node_modules/date-fns/parse/_lib/parsers/StandAloneQuarterParser.js +0 -71
- package/dist/node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.js +0 -16
- package/dist/node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.js +0 -16
- package/dist/node_modules/date-fns/parse/_lib/parsers/YearParser.js +0 -47
- package/dist/node_modules/date-fns/parse/_lib/parsers.js +0 -67
- package/dist/node_modules/date-fns/parse/_lib/utils.js +0 -117
- package/dist/node_modules/date-fns/parse.js +0 -123
- package/dist/node_modules/date-fns/setDay.js +0 -17
- package/dist/node_modules/date-fns/setISODay.js +0 -12
- package/dist/node_modules/date-fns/setISOWeek.js +0 -11
- package/dist/node_modules/date-fns/setMonth.js +0 -17
- package/dist/node_modules/date-fns/setWeek.js +0 -11
- package/dist/node_modules/date-fns/setYear.js +0 -11
- package/dist/node_modules/date-fns/startOfDay.js +0 -9
- package/dist/node_modules/date-fns/startOfISOWeek.js +0 -7
- package/dist/node_modules/date-fns/startOfISOWeekYear.js +0 -13
- package/dist/node_modules/date-fns/startOfMonth.js +0 -10
- package/dist/node_modules/date-fns/startOfWeek.js +0 -15
- package/dist/node_modules/date-fns/startOfWeekYear.js +0 -17
- package/dist/node_modules/date-fns/startOfYear.js +0 -10
- package/dist/node_modules/date-fns/toDate.js +0 -7
- package/dist/node_modules/date-fns/transpose.js +0 -18
- package/dist/node_modules/date-fns-tz/dist/esm/_lib/getTimezoneOffsetInMilliseconds/index.js +0 -8
- package/dist/node_modules/date-fns-tz/dist/esm/_lib/newDateUTC/index.js +0 -9
- package/dist/node_modules/date-fns-tz/dist/esm/_lib/tzIntlTimeZoneName/index.js +0 -29
- package/dist/node_modules/date-fns-tz/dist/esm/_lib/tzParseTimezone/index.js +0 -89
- package/dist/node_modules/date-fns-tz/dist/esm/_lib/tzPattern/index.js +0 -4
- package/dist/node_modules/date-fns-tz/dist/esm/_lib/tzTokenizeDate/index.js +0 -81
- package/dist/node_modules/date-fns-tz/dist/esm/format/formatters/index.js +0 -125
- package/dist/node_modules/date-fns-tz/dist/esm/format/index.js +0 -24
- package/dist/node_modules/date-fns-tz/dist/esm/formatInTimeZone/index.js +0 -13
- package/dist/node_modules/date-fns-tz/dist/esm/toDate/index.js +0 -305
- package/dist/node_modules/date-fns-tz/dist/esm/toZonedTime/index.js +0 -14
- package/dist/node_modules/deepmerge/dist/es.js +0 -69
- package/dist/node_modules/dom-css/index.js +0 -65
- package/dist/node_modules/domelementtype/lib/index.js +0 -39
- package/dist/node_modules/domhandler/lib/index.js +0 -166
- package/dist/node_modules/domhandler/lib/node.js +0 -438
- package/dist/node_modules/dompurify/dist/purify.es.js +0 -1020
- package/dist/node_modules/firebase/app/dist/esm/index.esm.js +0 -20
- package/dist/node_modules/firebase/auth/dist/esm/index.esm.js +0 -44
- package/dist/node_modules/formik/dist/formik.esm.js +0 -969
- package/dist/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js +0 -92
- package/dist/node_modules/html-dom-parser/lib/client/constants.js +0 -55
- package/dist/node_modules/html-dom-parser/lib/client/domparser.js +0 -96
- package/dist/node_modules/html-dom-parser/lib/client/html-to-dom.js +0 -31
- package/dist/node_modules/html-dom-parser/lib/client/utilities.js +0 -96
- package/dist/node_modules/html-react-parser/esm/index.js +0 -5
- package/dist/node_modules/html-react-parser/lib/attributes-to-props.js +0 -64
- package/dist/node_modules/html-react-parser/lib/dom-to-react.js +0 -99
- package/dist/node_modules/html-react-parser/lib/index.js +0 -51
- package/dist/node_modules/html-react-parser/lib/utilities.js +0 -79
- package/dist/node_modules/idb/build/index.js +0 -69
- package/dist/node_modules/idb/build/wrap-idb-value.js +0 -148
- package/dist/node_modules/inline-style-parser/cjs/index.js +0 -142
- package/dist/node_modules/js-cookie/dist/js.cookie.js +0 -99
- package/dist/node_modules/json2mq/index.js +0 -55
- package/dist/node_modules/lodash-es/_DataView.js +0 -6
- package/dist/node_modules/lodash-es/_Hash.js +0 -21
- package/dist/node_modules/lodash-es/_ListCache.js +0 -21
- package/dist/node_modules/lodash-es/_Map.js +0 -6
- package/dist/node_modules/lodash-es/_MapCache.js +0 -21
- package/dist/node_modules/lodash-es/_Promise.js +0 -6
- package/dist/node_modules/lodash-es/_Set.js +0 -6
- package/dist/node_modules/lodash-es/_Stack.js +0 -18
- package/dist/node_modules/lodash-es/_Symbol.js +0 -5
- package/dist/node_modules/lodash-es/_Uint8Array.js +0 -5
- package/dist/node_modules/lodash-es/_WeakMap.js +0 -6
- package/dist/node_modules/lodash-es/_arrayEach.js +0 -12
- package/dist/node_modules/lodash-es/_arrayFilter.js +0 -13
- package/dist/node_modules/lodash-es/_arrayLikeKeys.js +0 -24
- package/dist/node_modules/lodash-es/_arrayMap.js +0 -10
- package/dist/node_modules/lodash-es/_arrayPush.js +0 -10
- package/dist/node_modules/lodash-es/_assignValue.js +0 -13
- package/dist/node_modules/lodash-es/_assocIndexOf.js +0 -13
- package/dist/node_modules/lodash-es/_baseAssign.js +0 -8
- package/dist/node_modules/lodash-es/_baseAssignIn.js +0 -8
- package/dist/node_modules/lodash-es/_baseAssignValue.js +0 -16
- package/dist/node_modules/lodash-es/_baseClone.js +0 -88
- package/dist/node_modules/lodash-es/_baseCreate.js +0 -21
- package/dist/node_modules/lodash-es/_baseGetAllKeys.js +0 -9
- package/dist/node_modules/lodash-es/_baseGetTag.js +0 -14
- package/dist/node_modules/lodash-es/_baseIsArguments.js +0 -9
- package/dist/node_modules/lodash-es/_baseIsMap.js +0 -9
- package/dist/node_modules/lodash-es/_baseIsNative.js +0 -22
- package/dist/node_modules/lodash-es/_baseIsSet.js +0 -9
- package/dist/node_modules/lodash-es/_baseIsTypedArray.js +0 -14
- package/dist/node_modules/lodash-es/_baseKeys.js +0 -19
- package/dist/node_modules/lodash-es/_baseKeysIn.js +0 -20
- package/dist/node_modules/lodash-es/_baseTimes.js +0 -10
- package/dist/node_modules/lodash-es/_baseToString.js +0 -21
- package/dist/node_modules/lodash-es/_baseUnary.js +0 -8
- package/dist/node_modules/lodash-es/_cloneArrayBuffer.js +0 -9
- package/dist/node_modules/lodash-es/_cloneBuffer.js +0 -16
- package/dist/node_modules/lodash-es/_cloneDataView.js +0 -8
- package/dist/node_modules/lodash-es/_cloneRegExp.js +0 -9
- package/dist/node_modules/lodash-es/_cloneSymbol.js +0 -8
- package/dist/node_modules/lodash-es/_cloneTypedArray.js +0 -8
- package/dist/node_modules/lodash-es/_copyArray.js +0 -11
- package/dist/node_modules/lodash-es/_copyObject.js +0 -23
- package/dist/node_modules/lodash-es/_copySymbols.js +0 -8
- package/dist/node_modules/lodash-es/_copySymbolsIn.js +0 -8
- package/dist/node_modules/lodash-es/_coreJsData.js +0 -5
- package/dist/node_modules/lodash-es/_defineProperty.js +0 -12
- package/dist/node_modules/lodash-es/_freeGlobal.js +0 -4
- package/dist/node_modules/lodash-es/_getAllKeys.js +0 -9
- package/dist/node_modules/lodash-es/_getAllKeysIn.js +0 -9
- package/dist/node_modules/lodash-es/_getMapData.js +0 -8
- package/dist/node_modules/lodash-es/_getNative.js +0 -9
- package/dist/node_modules/lodash-es/_getPrototype.js +0 -5
- package/dist/node_modules/lodash-es/_getRawTag.js +0 -25
- package/dist/node_modules/lodash-es/_getSymbols.js +0 -17
- package/dist/node_modules/lodash-es/_getSymbolsIn.js +0 -16
- package/dist/node_modules/lodash-es/_getTag.js +0 -34
- package/dist/node_modules/lodash-es/_getValue.js +0 -6
- package/dist/node_modules/lodash-es/_hashClear.js +0 -8
- package/dist/node_modules/lodash-es/_hashDelete.js +0 -8
- package/dist/node_modules/lodash-es/_hashGet.js +0 -15
- package/dist/node_modules/lodash-es/_hashHas.js +0 -10
- package/dist/node_modules/lodash-es/_hashSet.js +0 -11
- package/dist/node_modules/lodash-es/_initCloneArray.js +0 -13
- package/dist/node_modules/lodash-es/_initCloneByTag.js +0 -43
- package/dist/node_modules/lodash-es/_initCloneObject.js +0 -9
- package/dist/node_modules/lodash-es/_isIndex.js +0 -10
- package/dist/node_modules/lodash-es/_isKeyable.js +0 -7
- package/dist/node_modules/lodash-es/_isMasked.js +0 -11
- package/dist/node_modules/lodash-es/_isPrototype.js +0 -8
- package/dist/node_modules/lodash-es/_listCacheClear.js +0 -7
- package/dist/node_modules/lodash-es/_listCacheDelete.js +0 -20
- package/dist/node_modules/lodash-es/_listCacheGet.js +0 -8
- package/dist/node_modules/lodash-es/_listCacheHas.js +0 -7
- package/dist/node_modules/lodash-es/_listCacheSet.js +0 -14
- package/dist/node_modules/lodash-es/_mapCacheClear.js +0 -14
- package/dist/node_modules/lodash-es/_mapCacheDelete.js +0 -9
- package/dist/node_modules/lodash-es/_mapCacheGet.js +0 -7
- package/dist/node_modules/lodash-es/_mapCacheHas.js +0 -7
- package/dist/node_modules/lodash-es/_mapCacheSet.js +0 -10
- package/dist/node_modules/lodash-es/_memoizeCapped.js +0 -15
- package/dist/node_modules/lodash-es/_nativeCreate.js +0 -5
- package/dist/node_modules/lodash-es/_nativeKeys.js +0 -5
- package/dist/node_modules/lodash-es/_nativeKeysIn.js +0 -12
- package/dist/node_modules/lodash-es/_nodeUtil.js +0 -18
- package/dist/node_modules/lodash-es/_objectToString.js +0 -8
- package/dist/node_modules/lodash-es/_overArg.js +0 -8
- package/dist/node_modules/lodash-es/_root.js +0 -6
- package/dist/node_modules/lodash-es/_stackClear.js +0 -8
- package/dist/node_modules/lodash-es/_stackDelete.js +0 -8
- package/dist/node_modules/lodash-es/_stackGet.js +0 -6
- package/dist/node_modules/lodash-es/_stackHas.js +0 -6
- package/dist/node_modules/lodash-es/_stackSet.js +0 -22
- package/dist/node_modules/lodash-es/_stringToPath.js +0 -16
- package/dist/node_modules/lodash-es/_toKey.js +0 -11
- package/dist/node_modules/lodash-es/_toSource.js +0 -18
- package/dist/node_modules/lodash-es/clone.js +0 -8
- package/dist/node_modules/lodash-es/cloneDeep.js +0 -8
- package/dist/node_modules/lodash-es/eq.js +0 -6
- package/dist/node_modules/lodash-es/isArguments.js +0 -13
- package/dist/node_modules/lodash-es/isArray.js +0 -4
- package/dist/node_modules/lodash-es/isArrayLike.js +0 -8
- package/dist/node_modules/lodash-es/isBuffer.js +0 -11
- package/dist/node_modules/lodash-es/isFunction.js +0 -13
- package/dist/node_modules/lodash-es/isLength.js +0 -7
- package/dist/node_modules/lodash-es/isMap.js +0 -8
- package/dist/node_modules/lodash-es/isObject.js +0 -7
- package/dist/node_modules/lodash-es/isObjectLike.js +0 -6
- package/dist/node_modules/lodash-es/isPlainObject.js +0 -22
- package/dist/node_modules/lodash-es/isSet.js +0 -8
- package/dist/node_modules/lodash-es/isSymbol.js +0 -9
- package/dist/node_modules/lodash-es/isTypedArray.js +0 -8
- package/dist/node_modules/lodash-es/keys.js +0 -9
- package/dist/node_modules/lodash-es/keysIn.js +0 -9
- package/dist/node_modules/lodash-es/memoize.js +0 -22
- package/dist/node_modules/lodash-es/stubArray.js +0 -6
- package/dist/node_modules/lodash-es/stubFalse.js +0 -6
- package/dist/node_modules/lodash-es/toPath.js +0 -16
- package/dist/node_modules/lodash-es/toString.js +0 -7
- package/dist/node_modules/lodash.debounce/index.js +0 -137
- package/dist/node_modules/memoize-one/dist/memoize-one.esm.js +0 -52
- package/dist/node_modules/mixpanel-browser/dist/mixpanel.module.js +0 -25533
- package/dist/node_modules/object-assign/index.js +0 -73
- package/dist/node_modules/performance-now/lib/performance-now.js +0 -42
- package/dist/node_modules/popper.js/dist/esm/popper.js +0 -1516
- package/dist/node_modules/prefix-style/index.js +0 -29
- package/dist/node_modules/prop-types/checkPropTypes.js +0 -68
- package/dist/node_modules/prop-types/factoryWithThrowingShims.js +0 -58
- package/dist/node_modules/prop-types/factoryWithTypeCheckers.js +0 -451
- package/dist/node_modules/prop-types/index.js +0 -20
- package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js +0 -12
- package/dist/node_modules/prop-types/lib/has.js +0 -11
- package/dist/node_modules/property-expr/index.js +0 -105
- package/dist/node_modules/qrcode.react/lib/esm/index.js +0 -1099
- package/dist/node_modules/raf/index.js +0 -67
- package/dist/node_modules/react-collapse/lib/Collapse.js +0 -285
- package/dist/node_modules/react-collapse/lib/UnmountClosed.js +0 -278
- package/dist/node_modules/react-collapse/lib/index.js +0 -17
- package/dist/node_modules/react-copy-to-clipboard/lib/Component.js +0 -209
- package/dist/node_modules/react-copy-to-clipboard/lib/index.js +0 -14
- package/dist/node_modules/react-custom-scrollbars-4/lib/Scrollbars/defaultRenderElements.js +0 -85
- package/dist/node_modules/react-custom-scrollbars-4/lib/Scrollbars/index.js +0 -706
- package/dist/node_modules/react-custom-scrollbars-4/lib/Scrollbars/styles.js +0 -67
- package/dist/node_modules/react-custom-scrollbars-4/lib/index.js +0 -24
- package/dist/node_modules/react-custom-scrollbars-4/lib/utils/getInnerHeight.js +0 -21
- package/dist/node_modules/react-custom-scrollbars-4/lib/utils/getInnerWidth.js +0 -21
- package/dist/node_modules/react-custom-scrollbars-4/lib/utils/getScrollbarWidth.js +0 -44
- package/dist/node_modules/react-custom-scrollbars-4/lib/utils/isString.js +0 -19
- package/dist/node_modules/react-custom-scrollbars-4/lib/utils/returnFalse.js +0 -19
- package/dist/node_modules/react-day-picker/dist/esm/DayPicker.js +0 -325
- package/dist/node_modules/react-day-picker/dist/esm/UI.js +0 -59
- package/dist/node_modules/react-day-picker/dist/esm/classes/CalendarDay.js +0 -25
- package/dist/node_modules/react-day-picker/dist/esm/classes/CalendarMonth.js +0 -9
- package/dist/node_modules/react-day-picker/dist/esm/classes/CalendarWeek.js +0 -9
- package/dist/node_modules/react-day-picker/dist/esm/classes/DateLib.js +0 -282
- package/dist/node_modules/react-day-picker/dist/esm/components/Button.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/components/CaptionLabel.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/components/Chevron.js +0 -18
- package/dist/node_modules/react-day-picker/dist/esm/components/Day.js +0 -8
- package/dist/node_modules/react-day-picker/dist/esm/components/DayButton.js +0 -13
- package/dist/node_modules/react-day-picker/dist/esm/components/Dropdown.js +0 -21
- package/dist/node_modules/react-day-picker/dist/esm/components/DropdownNav.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/components/Footer.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/components/Month.js +0 -8
- package/dist/node_modules/react-day-picker/dist/esm/components/MonthCaption.js +0 -8
- package/dist/node_modules/react-day-picker/dist/esm/components/MonthGrid.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/components/Months.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/components/MonthsDropdown.js +0 -9
- package/dist/node_modules/react-day-picker/dist/esm/components/Nav.js +0 -34
- package/dist/node_modules/react-day-picker/dist/esm/components/NextMonthButton.js +0 -9
- package/dist/node_modules/react-day-picker/dist/esm/components/Option.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/components/PreviousMonthButton.js +0 -9
- package/dist/node_modules/react-day-picker/dist/esm/components/Root.js +0 -8
- package/dist/node_modules/react-day-picker/dist/esm/components/Select.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/components/Week.js +0 -8
- package/dist/node_modules/react-day-picker/dist/esm/components/WeekNumber.js +0 -8
- package/dist/node_modules/react-day-picker/dist/esm/components/WeekNumberHeader.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/components/Weekday.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/components/Weekdays.js +0 -11
- package/dist/node_modules/react-day-picker/dist/esm/components/Weeks.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/components/YearsDropdown.js +0 -9
- package/dist/node_modules/react-day-picker/dist/esm/components/custom-components.js +0 -54
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatCaption.js +0 -10
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatDay.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatMonthDropdown.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumber.js +0 -10
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatWeekNumberHeader.js +0 -6
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatWeekdayName.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/formatters/formatYearDropdown.js +0 -9
- package/dist/node_modules/react-day-picker/dist/esm/formatters/index.js +0 -18
- package/dist/node_modules/react-day-picker/dist/esm/helpers/calculateFocusTarget.js +0 -40
- package/dist/node_modules/react-day-picker/dist/esm/helpers/createGetModifiers.js +0 -72
- package/dist/node_modules/react-day-picker/dist/esm/helpers/endOfBroadcastWeek.js +0 -11
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getBroadcastWeeksInMonth.js +0 -13
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getClassNamesForModifiers.js +0 -17
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getComponents.js +0 -10
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDataAttributes.js +0 -19
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDates.js +0 -30
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDays.js +0 -12
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDefaultClassNames.js +0 -20
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getDisplayMonths.js +0 -15
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getFocusableDate.js +0 -22
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getFormatters.js +0 -16
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getInitialMonth.js +0 -16
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getLabels.js +0 -41
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getMonthOptions.js +0 -17
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getMonths.js +0 -43
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getNavMonth.js +0 -39
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getNextFocus.js +0 -20
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getNextMonth.js +0 -20
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getPreviousMonth.js +0 -20
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getStyleForModifiers.js +0 -14
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getWeekdays.js +0 -13
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getWeeks.js +0 -9
- package/dist/node_modules/react-day-picker/dist/esm/helpers/getYearOptions.js +0 -23
- package/dist/node_modules/react-day-picker/dist/esm/helpers/startOfBroadcastWeek.js +0 -14
- package/dist/node_modules/react-day-picker/dist/esm/helpers/useControlledValue.js +0 -9
- package/dist/node_modules/react-day-picker/dist/esm/labels/index.js +0 -26
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelDayButton.js +0 -14
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelGrid.js +0 -10
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelGridcell.js +0 -11
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelMonthDropdown.js +0 -6
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelNav.js +0 -6
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelNext.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelPrevious.js +0 -6
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelWeekNumber.js +0 -6
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelWeekNumberHeader.js +0 -6
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelWeekday.js +0 -7
- package/dist/node_modules/react-day-picker/dist/esm/labels/labelYearDropdown.js +0 -6
- package/dist/node_modules/react-day-picker/dist/esm/locale/en-US.js +0 -62
- package/dist/node_modules/react-day-picker/dist/esm/noonDateLib.js +0 -145
- package/dist/node_modules/react-day-picker/dist/esm/selection/useMulti.js +0 -42
- package/dist/node_modules/react-day-picker/dist/esm/selection/useRange.js +0 -33
- package/dist/node_modules/react-day-picker/dist/esm/selection/useSingle.js +0 -33
- package/dist/node_modules/react-day-picker/dist/esm/useAnimation.js +0 -128
- package/dist/node_modules/react-day-picker/dist/esm/useCalendar.js +0 -100
- package/dist/node_modules/react-day-picker/dist/esm/useDayPicker.js +0 -13
- package/dist/node_modules/react-day-picker/dist/esm/useFocus.js +0 -42
- package/dist/node_modules/react-day-picker/dist/esm/useSelection.js +0 -21
- package/dist/node_modules/react-day-picker/dist/esm/utils/addToRange.js +0 -55
- package/dist/node_modules/react-day-picker/dist/esm/utils/convertMatchersToTimeZone.js +0 -53
- package/dist/node_modules/react-day-picker/dist/esm/utils/dateMatchModifiers.js +0 -52
- package/dist/node_modules/react-day-picker/dist/esm/utils/rangeContainsDayOfWeek.js +0 -17
- package/dist/node_modules/react-day-picker/dist/esm/utils/rangeContainsModifiers.js +0 -61
- package/dist/node_modules/react-day-picker/dist/esm/utils/rangeIncludesDate.js +0 -23
- package/dist/node_modules/react-day-picker/dist/esm/utils/rangeOverlaps.js +0 -8
- package/dist/node_modules/react-day-picker/dist/esm/utils/toTimeZone.js +0 -11
- package/dist/node_modules/react-day-picker/dist/esm/utils/typeguards.js +0 -26
- package/dist/node_modules/react-fast-compare/index.js +0 -63
- package/dist/node_modules/react-helmet/es/Helmet.js +0 -717
- package/dist/node_modules/react-helmet/node_modules/react-fast-compare/index.js +0 -81
- package/dist/node_modules/react-intersection-observer/dist/index.js +0 -178
- package/dist/node_modules/react-is/cjs/react-is.development.js +0 -157
- package/dist/node_modules/react-is/cjs/react-is.production.min.js +0 -98
- package/dist/node_modules/react-is/index.js +0 -17
- package/dist/node_modules/react-otp-input/lib/index.esm.js +0 -168
- package/dist/node_modules/react-portal/es/LegacyPortal.js +0 -91
- package/dist/node_modules/react-portal/es/Portal.js +0 -74
- package/dist/node_modules/react-portal/es/PortalCompat.js +0 -12
- package/dist/node_modules/react-portal/es/utils.js +0 -4
- package/dist/node_modules/react-property/lib/index.js +0 -471
- package/dist/node_modules/react-property/lib/possibleStandardNamesOptimized.js +0 -499
- package/dist/node_modules/react-range/lib/Range.js +0 -592
- package/dist/node_modules/react-range/lib/index.js +0 -39
- package/dist/node_modules/react-range/lib/types.js +0 -19
- package/dist/node_modules/react-range/lib/utils.js +0 -318
- package/dist/node_modules/react-select/creatable/dist/react-select-creatable.esm.js +0 -19
- package/dist/node_modules/react-select/dist/Select-ef7c0426.esm.js +0 -2317
- package/dist/node_modules/react-select/dist/index-641ee5b8.esm.js +0 -1071
- package/dist/node_modules/react-select/dist/react-select.esm.js +0 -20
- package/dist/node_modules/react-select/dist/useCreatable-09aaeb9a.esm.js +0 -75
- package/dist/node_modules/react-select/dist/useStateManager-7e1e8489.esm.js +0 -51
- package/dist/node_modules/react-side-effect/lib/index.js +0 -105
- package/dist/node_modules/react-slick/lib/arrows.js +0 -248
- package/dist/node_modules/react-slick/lib/default-props.js +0 -85
- package/dist/node_modules/react-slick/lib/dots.js +0 -192
- package/dist/node_modules/react-slick/lib/index.js +0 -22
- package/dist/node_modules/react-slick/lib/initial-state.js +0 -48
- package/dist/node_modules/react-slick/lib/inner-slider.js +0 -810
- package/dist/node_modules/react-slick/lib/slider.js +0 -333
- package/dist/node_modules/react-slick/lib/track.js +0 -330
- package/dist/node_modules/react-slick/lib/utils/innerSliderUtils.js +0 -730
- package/dist/node_modules/react-table/dist/react-table.development.js +0 -3684
- package/dist/node_modules/react-table/dist/react-table.production.min.js +0 -1637
- package/dist/node_modules/react-table/index.js +0 -17
- package/dist/node_modules/react-tippy/dist/react-tippy.js +0 -1981
- package/dist/node_modules/resize-observer-polyfill/dist/ResizeObserver.es.js +0 -495
- package/dist/node_modules/string-convert/camel2hyphen.js +0 -16
- package/dist/node_modules/style-to-js/cjs/index.js +0 -31
- package/dist/node_modules/style-to-js/cjs/utilities.js +0 -42
- package/dist/node_modules/style-to-object/cjs/index.js +0 -38
- package/dist/node_modules/stylis/src/Enum.js +0 -20
- package/dist/node_modules/stylis/src/Middleware.js +0 -22
- package/dist/node_modules/stylis/src/Parser.js +0 -157
- package/dist/node_modules/stylis/src/Serializer.js +0 -29
- package/dist/node_modules/stylis/src/Tokenizer.js +0 -160
- package/dist/node_modules/stylis/src/Utility.js +0 -52
- package/dist/node_modules/tiny-case/index.js +0 -33
- package/dist/node_modules/tiny-warning/dist/tiny-warning.esm.js +0 -16
- package/dist/node_modules/to-camel-case/index.js +0 -18
- package/dist/node_modules/to-no-case/index.js +0 -32
- package/dist/node_modules/to-space-case/index.js +0 -18
- package/dist/node_modules/toggle-selection/index.js +0 -42
- package/dist/node_modules/toposort/index.js +0 -79
- package/dist/node_modules/use-isomorphic-layout-effect/dist/use-isomorphic-layout-effect.browser.esm.js +0 -5
- package/dist/node_modules/yup/index.esm.js +0 -1921
|
@@ -1,592 +0,0 @@
|
|
|
1
|
-
import { __exports as Range } from "../../../_virtual/Range.js";
|
|
2
|
-
import React__default from "react";
|
|
3
|
-
import { __require as requireUtils } from "./utils.js";
|
|
4
|
-
import { __require as requireTypes } from "./types.js";
|
|
5
|
-
var hasRequiredRange;
|
|
6
|
-
function requireRange() {
|
|
7
|
-
if (hasRequiredRange) return Range;
|
|
8
|
-
hasRequiredRange = 1;
|
|
9
|
-
var __extends = Range && Range.__extends || /* @__PURE__ */ (function() {
|
|
10
|
-
var extendStatics = function(d, b) {
|
|
11
|
-
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
|
|
12
|
-
d2.__proto__ = b2;
|
|
13
|
-
} || function(d2, b2) {
|
|
14
|
-
for (var p in b2) if (Object.prototype.hasOwnProperty.call(b2, p)) d2[p] = b2[p];
|
|
15
|
-
};
|
|
16
|
-
return extendStatics(d, b);
|
|
17
|
-
};
|
|
18
|
-
return function(d, b) {
|
|
19
|
-
if (typeof b !== "function" && b !== null)
|
|
20
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
21
|
-
extendStatics(d, b);
|
|
22
|
-
function __() {
|
|
23
|
-
this.constructor = d;
|
|
24
|
-
}
|
|
25
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
26
|
-
};
|
|
27
|
-
})();
|
|
28
|
-
var __createBinding = Range && Range.__createBinding || (Object.create ? (function(o, m, k, k2) {
|
|
29
|
-
if (k2 === void 0) k2 = k;
|
|
30
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
31
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
32
|
-
desc = { enumerable: true, get: function() {
|
|
33
|
-
return m[k];
|
|
34
|
-
} };
|
|
35
|
-
}
|
|
36
|
-
Object.defineProperty(o, k2, desc);
|
|
37
|
-
}) : (function(o, m, k, k2) {
|
|
38
|
-
if (k2 === void 0) k2 = k;
|
|
39
|
-
o[k2] = m[k];
|
|
40
|
-
}));
|
|
41
|
-
var __setModuleDefault = Range && Range.__setModuleDefault || (Object.create ? (function(o, v) {
|
|
42
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
43
|
-
}) : function(o, v) {
|
|
44
|
-
o["default"] = v;
|
|
45
|
-
});
|
|
46
|
-
var __importStar = Range && Range.__importStar || function(mod) {
|
|
47
|
-
if (mod && mod.__esModule) return mod;
|
|
48
|
-
var result = {};
|
|
49
|
-
if (mod != null) {
|
|
50
|
-
for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
51
|
-
}
|
|
52
|
-
__setModuleDefault(result, mod);
|
|
53
|
-
return result;
|
|
54
|
-
};
|
|
55
|
-
var __spreadArray = Range && Range.__spreadArray || function(to, from, pack) {
|
|
56
|
-
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
57
|
-
if (ar || !(i in from)) {
|
|
58
|
-
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
59
|
-
ar[i] = from[i];
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
return to.concat(ar || Array.prototype.slice.call(from));
|
|
63
|
-
};
|
|
64
|
-
Object.defineProperty(Range, "__esModule", { value: true });
|
|
65
|
-
var React = __importStar(React__default);
|
|
66
|
-
var utils_1 = /* @__PURE__ */ requireUtils();
|
|
67
|
-
var types_1 = /* @__PURE__ */ requireTypes();
|
|
68
|
-
var INCREASE_KEYS = ["ArrowRight", "ArrowUp", "k", "PageUp"];
|
|
69
|
-
var DECREASE_KEYS = ["ArrowLeft", "ArrowDown", "j", "PageDown"];
|
|
70
|
-
var Range$1 = (
|
|
71
|
-
/** @class */
|
|
72
|
-
(function(_super) {
|
|
73
|
-
__extends(Range2, _super);
|
|
74
|
-
function Range2(props) {
|
|
75
|
-
var _this = _super.call(this, props) || this;
|
|
76
|
-
_this.trackRef = React.createRef();
|
|
77
|
-
_this.thumbRefs = [];
|
|
78
|
-
_this.state = {
|
|
79
|
-
draggedTrackPos: [-1, -1],
|
|
80
|
-
draggedThumbIndex: -1,
|
|
81
|
-
thumbZIndexes: new Array(_this.props.values.length).fill(0).map(function(t, i) {
|
|
82
|
-
return i;
|
|
83
|
-
}),
|
|
84
|
-
isChanged: false,
|
|
85
|
-
markOffsets: []
|
|
86
|
-
};
|
|
87
|
-
_this.getOffsets = function() {
|
|
88
|
-
var _a = _this.props, direction = _a.direction, values = _a.values, min = _a.min, max = _a.max;
|
|
89
|
-
var trackElement = _this.trackRef.current;
|
|
90
|
-
if (!trackElement) {
|
|
91
|
-
console.warn("No track element found.");
|
|
92
|
-
return [];
|
|
93
|
-
}
|
|
94
|
-
var trackRect = trackElement.getBoundingClientRect();
|
|
95
|
-
var trackPadding = (0, utils_1.getPaddingAndBorder)(trackElement);
|
|
96
|
-
return _this.getThumbs().map(function(thumb, index) {
|
|
97
|
-
var thumbOffsets = { x: 0, y: 0 };
|
|
98
|
-
var thumbRect = thumb.getBoundingClientRect();
|
|
99
|
-
var thumbMargins = (0, utils_1.getMargin)(thumb);
|
|
100
|
-
switch (direction) {
|
|
101
|
-
case types_1.Direction.Right:
|
|
102
|
-
thumbOffsets.x = (thumbMargins.left + trackPadding.left) * -1;
|
|
103
|
-
thumbOffsets.y = ((thumbRect.height - trackRect.height) / 2 + trackPadding.top) * -1;
|
|
104
|
-
thumbOffsets.x += trackRect.width * (0, utils_1.relativeValue)(values[index], min, max) - thumbRect.width / 2;
|
|
105
|
-
return thumbOffsets;
|
|
106
|
-
case types_1.Direction.Left:
|
|
107
|
-
thumbOffsets.x = (thumbMargins.right + trackPadding.right) * -1;
|
|
108
|
-
thumbOffsets.y = ((thumbRect.height - trackRect.height) / 2 + trackPadding.top) * -1;
|
|
109
|
-
thumbOffsets.x += trackRect.width - trackRect.width * (0, utils_1.relativeValue)(values[index], min, max) - thumbRect.width / 2;
|
|
110
|
-
return thumbOffsets;
|
|
111
|
-
case types_1.Direction.Up:
|
|
112
|
-
thumbOffsets.x = ((thumbRect.width - trackRect.width) / 2 + thumbMargins.left + trackPadding.left) * -1;
|
|
113
|
-
thumbOffsets.y = -trackPadding.left;
|
|
114
|
-
thumbOffsets.y += trackRect.height - trackRect.height * (0, utils_1.relativeValue)(values[index], min, max) - thumbRect.height / 2;
|
|
115
|
-
return thumbOffsets;
|
|
116
|
-
case types_1.Direction.Down:
|
|
117
|
-
thumbOffsets.x = ((thumbRect.width - trackRect.width) / 2 + thumbMargins.left + trackPadding.left) * -1;
|
|
118
|
-
thumbOffsets.y = -trackPadding.left;
|
|
119
|
-
thumbOffsets.y += trackRect.height * (0, utils_1.relativeValue)(values[index], min, max) - thumbRect.height / 2;
|
|
120
|
-
return thumbOffsets;
|
|
121
|
-
default:
|
|
122
|
-
return (0, utils_1.assertUnreachable)(direction);
|
|
123
|
-
}
|
|
124
|
-
});
|
|
125
|
-
};
|
|
126
|
-
_this.getThumbs = function() {
|
|
127
|
-
if (_this.trackRef && _this.trackRef.current) {
|
|
128
|
-
return Array.from(_this.trackRef.current.children).filter(function(el) {
|
|
129
|
-
return el.hasAttribute("aria-valuenow");
|
|
130
|
-
});
|
|
131
|
-
}
|
|
132
|
-
console.warn("No thumbs found in the track container. Did you forget to pass & spread the `props` param in renderTrack?");
|
|
133
|
-
return [];
|
|
134
|
-
};
|
|
135
|
-
_this.getTargetIndex = function(e) {
|
|
136
|
-
return _this.getThumbs().findIndex(function(child) {
|
|
137
|
-
return child === e.target || child.contains(e.target);
|
|
138
|
-
});
|
|
139
|
-
};
|
|
140
|
-
_this.addTouchEvents = function(e) {
|
|
141
|
-
document.addEventListener("touchmove", _this.schdOnTouchMove, {
|
|
142
|
-
passive: false
|
|
143
|
-
});
|
|
144
|
-
document.addEventListener("touchend", _this.schdOnEnd, {
|
|
145
|
-
passive: false
|
|
146
|
-
});
|
|
147
|
-
document.addEventListener("touchcancel", _this.schdOnEnd, {
|
|
148
|
-
passive: false
|
|
149
|
-
});
|
|
150
|
-
};
|
|
151
|
-
_this.addMouseEvents = function(e) {
|
|
152
|
-
document.addEventListener("mousemove", _this.schdOnMouseMove);
|
|
153
|
-
document.addEventListener("mouseup", _this.schdOnEnd);
|
|
154
|
-
};
|
|
155
|
-
_this.onMouseDownTrack = function(e) {
|
|
156
|
-
var _a;
|
|
157
|
-
if (e.button !== 0 || (0, utils_1.isIOS)())
|
|
158
|
-
return;
|
|
159
|
-
e.persist();
|
|
160
|
-
e.preventDefault();
|
|
161
|
-
_this.addMouseEvents(e.nativeEvent);
|
|
162
|
-
if (_this.props.values.length > 1 && _this.props.draggableTrack) {
|
|
163
|
-
if (_this.thumbRefs.some(function(thumbRef) {
|
|
164
|
-
var _a2;
|
|
165
|
-
return (_a2 = thumbRef.current) === null || _a2 === void 0 ? void 0 : _a2.contains(e.target);
|
|
166
|
-
}))
|
|
167
|
-
return;
|
|
168
|
-
_this.setState({
|
|
169
|
-
draggedTrackPos: [e.clientX, e.clientY]
|
|
170
|
-
}, function() {
|
|
171
|
-
return _this.onMove(e.clientX, e.clientY);
|
|
172
|
-
});
|
|
173
|
-
} else {
|
|
174
|
-
var draggedThumbIndex = (0, utils_1.getClosestThumbIndex)(_this.thumbRefs.map(function(t) {
|
|
175
|
-
return t.current;
|
|
176
|
-
}), e.clientX, e.clientY, _this.props.direction);
|
|
177
|
-
(_a = _this.thumbRefs[draggedThumbIndex].current) === null || _a === void 0 ? void 0 : _a.focus();
|
|
178
|
-
_this.setState({
|
|
179
|
-
draggedThumbIndex
|
|
180
|
-
}, function() {
|
|
181
|
-
return _this.onMove(e.clientX, e.clientY);
|
|
182
|
-
});
|
|
183
|
-
}
|
|
184
|
-
};
|
|
185
|
-
_this.onResize = function() {
|
|
186
|
-
(0, utils_1.translateThumbs)(_this.getThumbs(), _this.getOffsets(), _this.props.rtl);
|
|
187
|
-
_this.calculateMarkOffsets();
|
|
188
|
-
};
|
|
189
|
-
_this.onTouchStartTrack = function(e) {
|
|
190
|
-
var _a;
|
|
191
|
-
e.persist();
|
|
192
|
-
_this.addTouchEvents(e.nativeEvent);
|
|
193
|
-
if (_this.props.values.length > 1 && _this.props.draggableTrack) {
|
|
194
|
-
if (_this.thumbRefs.some(function(thumbRef) {
|
|
195
|
-
var _a2;
|
|
196
|
-
return (_a2 = thumbRef.current) === null || _a2 === void 0 ? void 0 : _a2.contains(e.target);
|
|
197
|
-
}))
|
|
198
|
-
return;
|
|
199
|
-
_this.setState({
|
|
200
|
-
draggedTrackPos: [e.touches[0].clientX, e.touches[0].clientY]
|
|
201
|
-
}, function() {
|
|
202
|
-
return _this.onMove(e.touches[0].clientX, e.touches[0].clientY);
|
|
203
|
-
});
|
|
204
|
-
} else {
|
|
205
|
-
var draggedThumbIndex = (0, utils_1.getClosestThumbIndex)(_this.thumbRefs.map(function(t) {
|
|
206
|
-
return t.current;
|
|
207
|
-
}), e.touches[0].clientX, e.touches[0].clientY, _this.props.direction);
|
|
208
|
-
(_a = _this.thumbRefs[draggedThumbIndex].current) === null || _a === void 0 ? void 0 : _a.focus();
|
|
209
|
-
_this.setState({
|
|
210
|
-
draggedThumbIndex
|
|
211
|
-
}, function() {
|
|
212
|
-
return _this.onMove(e.touches[0].clientX, e.touches[0].clientY);
|
|
213
|
-
});
|
|
214
|
-
}
|
|
215
|
-
};
|
|
216
|
-
_this.onMouseOrTouchStart = function(e) {
|
|
217
|
-
if (_this.props.disabled)
|
|
218
|
-
return;
|
|
219
|
-
var isTouch = (0, utils_1.isTouchEvent)(e);
|
|
220
|
-
if (!isTouch && e.button !== 0)
|
|
221
|
-
return;
|
|
222
|
-
var index = _this.getTargetIndex(e);
|
|
223
|
-
if (index === -1)
|
|
224
|
-
return;
|
|
225
|
-
if (isTouch) {
|
|
226
|
-
_this.addTouchEvents(e);
|
|
227
|
-
} else {
|
|
228
|
-
_this.addMouseEvents(e);
|
|
229
|
-
}
|
|
230
|
-
_this.setState({
|
|
231
|
-
draggedThumbIndex: index,
|
|
232
|
-
thumbZIndexes: _this.state.thumbZIndexes.map(function(t, i) {
|
|
233
|
-
if (i === index) {
|
|
234
|
-
return Math.max.apply(Math, _this.state.thumbZIndexes);
|
|
235
|
-
}
|
|
236
|
-
return t <= _this.state.thumbZIndexes[index] ? t : t - 1;
|
|
237
|
-
})
|
|
238
|
-
});
|
|
239
|
-
};
|
|
240
|
-
_this.onMouseMove = function(e) {
|
|
241
|
-
e.preventDefault();
|
|
242
|
-
_this.onMove(e.clientX, e.clientY);
|
|
243
|
-
};
|
|
244
|
-
_this.onTouchMove = function(e) {
|
|
245
|
-
e.preventDefault();
|
|
246
|
-
_this.onMove(e.touches[0].clientX, e.touches[0].clientY);
|
|
247
|
-
};
|
|
248
|
-
_this.onKeyDown = function(e) {
|
|
249
|
-
var _a = _this.props, values = _a.values, onChange = _a.onChange, step = _a.step, rtl = _a.rtl, direction = _a.direction;
|
|
250
|
-
var isChanged = _this.state.isChanged;
|
|
251
|
-
var index = _this.getTargetIndex(e.nativeEvent);
|
|
252
|
-
var inverter = rtl || direction === types_1.Direction.Left || direction === types_1.Direction.Down ? -1 : 1;
|
|
253
|
-
if (index === -1)
|
|
254
|
-
return;
|
|
255
|
-
if (INCREASE_KEYS.includes(e.key)) {
|
|
256
|
-
e.preventDefault();
|
|
257
|
-
_this.setState({
|
|
258
|
-
draggedThumbIndex: index,
|
|
259
|
-
isChanged: true
|
|
260
|
-
});
|
|
261
|
-
onChange((0, utils_1.replaceAt)(values, index, _this.normalizeValue(values[index] + inverter * (e.key === "PageUp" ? step * 10 : step), index)));
|
|
262
|
-
} else if (DECREASE_KEYS.includes(e.key)) {
|
|
263
|
-
e.preventDefault();
|
|
264
|
-
_this.setState({
|
|
265
|
-
draggedThumbIndex: index,
|
|
266
|
-
isChanged: true
|
|
267
|
-
});
|
|
268
|
-
onChange((0, utils_1.replaceAt)(values, index, _this.normalizeValue(values[index] - inverter * (e.key === "PageDown" ? step * 10 : step), index)));
|
|
269
|
-
} else if (e.key === "Tab") {
|
|
270
|
-
_this.setState({ draggedThumbIndex: -1 }, function() {
|
|
271
|
-
if (isChanged) {
|
|
272
|
-
_this.fireOnFinalChange();
|
|
273
|
-
}
|
|
274
|
-
});
|
|
275
|
-
} else {
|
|
276
|
-
if (isChanged) {
|
|
277
|
-
_this.fireOnFinalChange();
|
|
278
|
-
}
|
|
279
|
-
}
|
|
280
|
-
};
|
|
281
|
-
_this.onKeyUp = function(e) {
|
|
282
|
-
var isChanged = _this.state.isChanged;
|
|
283
|
-
_this.setState({
|
|
284
|
-
draggedThumbIndex: -1
|
|
285
|
-
}, function() {
|
|
286
|
-
if (isChanged) {
|
|
287
|
-
_this.fireOnFinalChange();
|
|
288
|
-
}
|
|
289
|
-
});
|
|
290
|
-
};
|
|
291
|
-
_this.onMove = function(clientX, clientY) {
|
|
292
|
-
var _a = _this.state, draggedThumbIndex = _a.draggedThumbIndex, draggedTrackPos = _a.draggedTrackPos;
|
|
293
|
-
var _b = _this.props, direction = _b.direction, min = _b.min, max = _b.max, onChange = _b.onChange, values = _b.values, step = _b.step, rtl = _b.rtl;
|
|
294
|
-
if (draggedThumbIndex === -1 && draggedTrackPos[0] === -1 && draggedTrackPos[1] === -1)
|
|
295
|
-
return null;
|
|
296
|
-
var trackElement = _this.trackRef.current;
|
|
297
|
-
if (!trackElement)
|
|
298
|
-
return null;
|
|
299
|
-
var trackRect = trackElement.getBoundingClientRect();
|
|
300
|
-
var trackLength = (0, utils_1.isVertical)(direction) ? trackRect.height : trackRect.width;
|
|
301
|
-
if (draggedTrackPos[0] !== -1 && draggedTrackPos[1] !== -1) {
|
|
302
|
-
var dX = clientX - draggedTrackPos[0];
|
|
303
|
-
var dY = clientY - draggedTrackPos[1];
|
|
304
|
-
var deltaValue = 0;
|
|
305
|
-
switch (direction) {
|
|
306
|
-
case types_1.Direction.Right:
|
|
307
|
-
case types_1.Direction.Left:
|
|
308
|
-
deltaValue = dX / trackLength * (max - min);
|
|
309
|
-
break;
|
|
310
|
-
case types_1.Direction.Down:
|
|
311
|
-
case types_1.Direction.Up:
|
|
312
|
-
deltaValue = dY / trackLength * (max - min);
|
|
313
|
-
break;
|
|
314
|
-
default:
|
|
315
|
-
(0, utils_1.assertUnreachable)(direction);
|
|
316
|
-
}
|
|
317
|
-
if (rtl) {
|
|
318
|
-
deltaValue *= -1;
|
|
319
|
-
}
|
|
320
|
-
if (Math.abs(deltaValue) >= step / 2) {
|
|
321
|
-
for (var i = 0; i < _this.thumbRefs.length; i++) {
|
|
322
|
-
if (values[i] === max && Math.sign(deltaValue) === 1 || values[i] === min && Math.sign(deltaValue) === -1)
|
|
323
|
-
return;
|
|
324
|
-
var thumbValue = values[i] + deltaValue;
|
|
325
|
-
if (thumbValue > max)
|
|
326
|
-
deltaValue = max - values[i];
|
|
327
|
-
else if (thumbValue < min)
|
|
328
|
-
deltaValue = min - values[i];
|
|
329
|
-
}
|
|
330
|
-
var newValues = values.slice(0);
|
|
331
|
-
for (var i = 0; i < _this.thumbRefs.length; i++) {
|
|
332
|
-
newValues = (0, utils_1.replaceAt)(newValues, i, _this.normalizeValue(values[i] + deltaValue, i));
|
|
333
|
-
}
|
|
334
|
-
_this.setState({
|
|
335
|
-
draggedTrackPos: [clientX, clientY]
|
|
336
|
-
});
|
|
337
|
-
onChange(newValues);
|
|
338
|
-
}
|
|
339
|
-
} else {
|
|
340
|
-
var newValue = 0;
|
|
341
|
-
switch (direction) {
|
|
342
|
-
case types_1.Direction.Right:
|
|
343
|
-
newValue = (clientX - trackRect.left) / trackLength * (max - min) + min;
|
|
344
|
-
break;
|
|
345
|
-
case types_1.Direction.Left:
|
|
346
|
-
newValue = (trackLength - (clientX - trackRect.left)) / trackLength * (max - min) + min;
|
|
347
|
-
break;
|
|
348
|
-
case types_1.Direction.Down:
|
|
349
|
-
newValue = (clientY - trackRect.top) / trackLength * (max - min) + min;
|
|
350
|
-
break;
|
|
351
|
-
case types_1.Direction.Up:
|
|
352
|
-
newValue = (trackLength - (clientY - trackRect.top)) / trackLength * (max - min) + min;
|
|
353
|
-
break;
|
|
354
|
-
default:
|
|
355
|
-
(0, utils_1.assertUnreachable)(direction);
|
|
356
|
-
}
|
|
357
|
-
if (rtl) {
|
|
358
|
-
newValue = max + min - newValue;
|
|
359
|
-
}
|
|
360
|
-
if (Math.abs(values[draggedThumbIndex] - newValue) >= step / 2) {
|
|
361
|
-
onChange((0, utils_1.replaceAt)(values, draggedThumbIndex, _this.normalizeValue(newValue, draggedThumbIndex)));
|
|
362
|
-
}
|
|
363
|
-
}
|
|
364
|
-
};
|
|
365
|
-
_this.normalizeValue = function(value, index) {
|
|
366
|
-
var _a = _this.props, min = _a.min, max = _a.max, step = _a.step, allowOverlap = _a.allowOverlap, values = _a.values;
|
|
367
|
-
return (0, utils_1.normalizeValue)(value, index, min, max, step, allowOverlap, values);
|
|
368
|
-
};
|
|
369
|
-
_this.onEnd = function(e) {
|
|
370
|
-
e.preventDefault();
|
|
371
|
-
document.removeEventListener("mousemove", _this.schdOnMouseMove);
|
|
372
|
-
document.removeEventListener("touchmove", _this.schdOnTouchMove);
|
|
373
|
-
document.removeEventListener("mouseup", _this.schdOnEnd);
|
|
374
|
-
document.removeEventListener("touchend", _this.schdOnEnd);
|
|
375
|
-
document.removeEventListener("touchcancel", _this.schdOnEnd);
|
|
376
|
-
if (_this.state.draggedThumbIndex === -1 && _this.state.draggedTrackPos[0] === -1 && _this.state.draggedTrackPos[1] === -1)
|
|
377
|
-
return null;
|
|
378
|
-
_this.setState({ draggedThumbIndex: -1, draggedTrackPos: [-1, -1] }, function() {
|
|
379
|
-
_this.fireOnFinalChange();
|
|
380
|
-
});
|
|
381
|
-
};
|
|
382
|
-
_this.fireOnFinalChange = function() {
|
|
383
|
-
_this.setState({ isChanged: false });
|
|
384
|
-
var _a = _this.props, onFinalChange = _a.onFinalChange, values = _a.values;
|
|
385
|
-
if (onFinalChange) {
|
|
386
|
-
onFinalChange(values);
|
|
387
|
-
}
|
|
388
|
-
};
|
|
389
|
-
_this.updateMarkRefs = function(props2) {
|
|
390
|
-
if (!props2.renderMark) {
|
|
391
|
-
_this.numOfMarks = void 0;
|
|
392
|
-
_this.markRefs = void 0;
|
|
393
|
-
return;
|
|
394
|
-
}
|
|
395
|
-
_this.numOfMarks = (props2.max - props2.min) / _this.props.step;
|
|
396
|
-
_this.markRefs = [];
|
|
397
|
-
for (var i = 0; i < _this.numOfMarks + 1; i++) {
|
|
398
|
-
_this.markRefs[i] = React.createRef();
|
|
399
|
-
}
|
|
400
|
-
};
|
|
401
|
-
_this.calculateMarkOffsets = function() {
|
|
402
|
-
if (!_this.props.renderMark || !_this.trackRef || !_this.numOfMarks || !_this.markRefs || _this.trackRef.current === null)
|
|
403
|
-
return;
|
|
404
|
-
var elStyles = window.getComputedStyle(_this.trackRef.current);
|
|
405
|
-
var trackWidth = parseInt(elStyles.width, 10);
|
|
406
|
-
var trackHeight = parseInt(elStyles.height, 10);
|
|
407
|
-
var paddingLeft = parseInt(elStyles.paddingLeft, 10);
|
|
408
|
-
var paddingTop = parseInt(elStyles.paddingTop, 10);
|
|
409
|
-
var res = [];
|
|
410
|
-
for (var i = 0; i < _this.numOfMarks + 1; i++) {
|
|
411
|
-
var markHeight = 9999;
|
|
412
|
-
var markWidth = 9999;
|
|
413
|
-
if (_this.markRefs[i].current) {
|
|
414
|
-
var markRect = _this.markRefs[i].current.getBoundingClientRect();
|
|
415
|
-
markHeight = markRect.height;
|
|
416
|
-
markWidth = markRect.width;
|
|
417
|
-
}
|
|
418
|
-
if (_this.props.direction === types_1.Direction.Left || _this.props.direction === types_1.Direction.Right) {
|
|
419
|
-
res.push([
|
|
420
|
-
Math.round(trackWidth / _this.numOfMarks * i + paddingLeft - markWidth / 2),
|
|
421
|
-
-Math.round((markHeight - trackHeight) / 2)
|
|
422
|
-
]);
|
|
423
|
-
} else {
|
|
424
|
-
res.push([
|
|
425
|
-
Math.round(trackHeight / _this.numOfMarks * i + paddingTop - markHeight / 2),
|
|
426
|
-
-Math.round((markWidth - trackWidth) / 2)
|
|
427
|
-
]);
|
|
428
|
-
}
|
|
429
|
-
}
|
|
430
|
-
_this.setState({ markOffsets: res });
|
|
431
|
-
};
|
|
432
|
-
if (props.step === 0) {
|
|
433
|
-
throw new Error('"step" property should be a positive number');
|
|
434
|
-
}
|
|
435
|
-
_this.schdOnMouseMove = (0, utils_1.schd)(_this.onMouseMove);
|
|
436
|
-
_this.schdOnTouchMove = (0, utils_1.schd)(_this.onTouchMove);
|
|
437
|
-
_this.schdOnEnd = (0, utils_1.schd)(_this.onEnd);
|
|
438
|
-
_this.thumbRefs = props.values.map(function() {
|
|
439
|
-
return React.createRef();
|
|
440
|
-
});
|
|
441
|
-
_this.updateMarkRefs(props);
|
|
442
|
-
return _this;
|
|
443
|
-
}
|
|
444
|
-
Range2.prototype.componentDidMount = function() {
|
|
445
|
-
var _this = this;
|
|
446
|
-
var _a = this.props, values = _a.values, min = _a.min, step = _a.step;
|
|
447
|
-
this.resizeObserver = window.ResizeObserver ? new window.ResizeObserver(this.onResize) : {
|
|
448
|
-
observe: function() {
|
|
449
|
-
return window.addEventListener("resize", _this.onResize);
|
|
450
|
-
},
|
|
451
|
-
unobserve: function() {
|
|
452
|
-
return window.removeEventListener("resize", _this.onResize);
|
|
453
|
-
}
|
|
454
|
-
};
|
|
455
|
-
document.addEventListener("touchstart", this.onMouseOrTouchStart, {
|
|
456
|
-
passive: false
|
|
457
|
-
});
|
|
458
|
-
document.addEventListener("mousedown", this.onMouseOrTouchStart, {
|
|
459
|
-
passive: false
|
|
460
|
-
});
|
|
461
|
-
!this.props.allowOverlap && (0, utils_1.checkInitialOverlap)(this.props.values);
|
|
462
|
-
this.props.values.forEach(function(value) {
|
|
463
|
-
return (0, utils_1.checkBoundaries)(value, _this.props.min, _this.props.max);
|
|
464
|
-
});
|
|
465
|
-
this.resizeObserver.observe(this.trackRef.current);
|
|
466
|
-
(0, utils_1.translateThumbs)(this.getThumbs(), this.getOffsets(), this.props.rtl);
|
|
467
|
-
this.calculateMarkOffsets();
|
|
468
|
-
values.forEach(function(value) {
|
|
469
|
-
if (!(0, utils_1.isStepDivisible)(min, value, step)) {
|
|
470
|
-
console.warn("The `values` property is in conflict with the current `step`, `min`, and `max` properties. Please provide values that are accessible using the min, max, and step values.");
|
|
471
|
-
}
|
|
472
|
-
});
|
|
473
|
-
};
|
|
474
|
-
Range2.prototype.componentDidUpdate = function(prevProps, prevState) {
|
|
475
|
-
var _a = this.props, max = _a.max, min = _a.min, step = _a.step, values = _a.values, rtl = _a.rtl;
|
|
476
|
-
if (prevProps.max !== max || prevProps.min !== min || prevProps.step !== step) {
|
|
477
|
-
this.updateMarkRefs(this.props);
|
|
478
|
-
}
|
|
479
|
-
(0, utils_1.translateThumbs)(this.getThumbs(), this.getOffsets(), rtl);
|
|
480
|
-
if (prevProps.max !== max || prevProps.min !== min || prevProps.step !== step || prevState.markOffsets.length !== this.state.markOffsets.length) {
|
|
481
|
-
this.calculateMarkOffsets();
|
|
482
|
-
values.forEach(function(value) {
|
|
483
|
-
if (!(0, utils_1.isStepDivisible)(min, value, step)) {
|
|
484
|
-
console.warn("The `values` property is in conflict with the current `step`, `min`, and `max` properties. Please provide values that are accessible using the min, max, and step values.");
|
|
485
|
-
}
|
|
486
|
-
});
|
|
487
|
-
}
|
|
488
|
-
};
|
|
489
|
-
Range2.prototype.componentWillUnmount = function() {
|
|
490
|
-
var options = {
|
|
491
|
-
passive: false
|
|
492
|
-
};
|
|
493
|
-
document.removeEventListener("mousedown", this.onMouseOrTouchStart, options);
|
|
494
|
-
document.removeEventListener("mousemove", this.schdOnMouseMove);
|
|
495
|
-
document.removeEventListener("touchmove", this.schdOnTouchMove);
|
|
496
|
-
document.removeEventListener("touchstart", this.onMouseOrTouchStart);
|
|
497
|
-
document.removeEventListener("mouseup", this.schdOnEnd);
|
|
498
|
-
document.removeEventListener("touchend", this.schdOnEnd);
|
|
499
|
-
this.resizeObserver.unobserve(this.trackRef.current);
|
|
500
|
-
};
|
|
501
|
-
Range2.prototype.render = function() {
|
|
502
|
-
var _this = this;
|
|
503
|
-
var _a = this.props, label = _a.label, labelledBy = _a.labelledBy, renderTrack = _a.renderTrack, renderThumb = _a.renderThumb, _b = _a.renderMark, renderMark = _b === void 0 ? function() {
|
|
504
|
-
return null;
|
|
505
|
-
} : _b, values = _a.values, min = _a.min, max = _a.max, allowOverlap = _a.allowOverlap, disabled = _a.disabled;
|
|
506
|
-
var _c = this.state, draggedThumbIndex = _c.draggedThumbIndex, thumbZIndexes = _c.thumbZIndexes, markOffsets = _c.markOffsets;
|
|
507
|
-
return renderTrack({
|
|
508
|
-
props: {
|
|
509
|
-
style: {
|
|
510
|
-
// creates stacking context that prevents z-index applied to thumbs
|
|
511
|
-
// interfere with other elements
|
|
512
|
-
transform: "scale(1)",
|
|
513
|
-
cursor: draggedThumbIndex > -1 ? "grabbing" : this.props.draggableTrack ? (0, utils_1.isVertical)(this.props.direction) ? "ns-resize" : "ew-resize" : values.length === 1 && !disabled ? "pointer" : "inherit"
|
|
514
|
-
},
|
|
515
|
-
onMouseDown: disabled ? utils_1.voidFn : this.onMouseDownTrack,
|
|
516
|
-
onTouchStart: disabled ? utils_1.voidFn : this.onTouchStartTrack,
|
|
517
|
-
ref: this.trackRef
|
|
518
|
-
},
|
|
519
|
-
isDragged: this.state.draggedThumbIndex > -1,
|
|
520
|
-
disabled,
|
|
521
|
-
children: __spreadArray(__spreadArray([], markOffsets.map(function(offset, index, arr) {
|
|
522
|
-
return renderMark({
|
|
523
|
-
props: {
|
|
524
|
-
style: _this.props.direction === types_1.Direction.Left || _this.props.direction === types_1.Direction.Right ? {
|
|
525
|
-
position: "absolute",
|
|
526
|
-
left: "".concat(offset[0], "px"),
|
|
527
|
-
marginTop: "".concat(offset[1], "px")
|
|
528
|
-
} : {
|
|
529
|
-
position: "absolute",
|
|
530
|
-
top: "".concat(offset[0], "px"),
|
|
531
|
-
marginLeft: "".concat(offset[1], "px")
|
|
532
|
-
},
|
|
533
|
-
key: "mark".concat(index),
|
|
534
|
-
ref: _this.markRefs[index]
|
|
535
|
-
},
|
|
536
|
-
index
|
|
537
|
-
});
|
|
538
|
-
}), true), values.map(function(value, index) {
|
|
539
|
-
var isDragged = _this.state.draggedThumbIndex === index;
|
|
540
|
-
return renderThumb({
|
|
541
|
-
index,
|
|
542
|
-
value,
|
|
543
|
-
isDragged,
|
|
544
|
-
props: {
|
|
545
|
-
style: {
|
|
546
|
-
position: "absolute",
|
|
547
|
-
zIndex: thumbZIndexes[index],
|
|
548
|
-
cursor: disabled ? "inherit" : isDragged ? "grabbing" : "grab",
|
|
549
|
-
userSelect: "none",
|
|
550
|
-
touchAction: "none",
|
|
551
|
-
WebkitUserSelect: "none",
|
|
552
|
-
MozUserSelect: "none",
|
|
553
|
-
msUserSelect: "none"
|
|
554
|
-
},
|
|
555
|
-
key: index,
|
|
556
|
-
tabIndex: disabled ? void 0 : 0,
|
|
557
|
-
"aria-valuemax": allowOverlap ? max : values[index + 1] || max,
|
|
558
|
-
"aria-valuemin": allowOverlap ? min : values[index - 1] || min,
|
|
559
|
-
"aria-valuenow": value,
|
|
560
|
-
draggable: false,
|
|
561
|
-
ref: _this.thumbRefs[index],
|
|
562
|
-
"aria-label": label,
|
|
563
|
-
"aria-labelledby": labelledBy,
|
|
564
|
-
role: "slider",
|
|
565
|
-
onKeyDown: disabled ? utils_1.voidFn : _this.onKeyDown,
|
|
566
|
-
onKeyUp: disabled ? utils_1.voidFn : _this.onKeyUp
|
|
567
|
-
}
|
|
568
|
-
});
|
|
569
|
-
}), true)
|
|
570
|
-
});
|
|
571
|
-
};
|
|
572
|
-
Range2.defaultProps = {
|
|
573
|
-
label: "Accessibility label",
|
|
574
|
-
labelledBy: null,
|
|
575
|
-
step: 1,
|
|
576
|
-
direction: types_1.Direction.Right,
|
|
577
|
-
rtl: false,
|
|
578
|
-
disabled: false,
|
|
579
|
-
allowOverlap: false,
|
|
580
|
-
draggableTrack: false,
|
|
581
|
-
min: 0,
|
|
582
|
-
max: 100
|
|
583
|
-
};
|
|
584
|
-
return Range2;
|
|
585
|
-
})(React.Component)
|
|
586
|
-
);
|
|
587
|
-
Range.default = Range$1;
|
|
588
|
-
return Range;
|
|
589
|
-
}
|
|
590
|
-
export {
|
|
591
|
-
requireRange as __require
|
|
592
|
-
};
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { __exports as lib } from "../../../_virtual/index14.js";
|
|
2
|
-
import { __require as requireRange } from "./Range.js";
|
|
3
|
-
import { __require as requireUtils } from "./utils.js";
|
|
4
|
-
import { __require as requireTypes } from "./types.js";
|
|
5
|
-
var hasRequiredLib;
|
|
6
|
-
function requireLib() {
|
|
7
|
-
if (hasRequiredLib) return lib;
|
|
8
|
-
hasRequiredLib = 1;
|
|
9
|
-
(function(exports$1) {
|
|
10
|
-
var __importDefault = lib && lib.__importDefault || function(mod) {
|
|
11
|
-
return mod && mod.__esModule ? mod : { "default": mod };
|
|
12
|
-
};
|
|
13
|
-
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
14
|
-
exports$1.checkValuesAgainstBoundaries = exports$1.relativeValue = exports$1.useThumbOverlap = exports$1.Direction = exports$1.getTrackBackground = exports$1.Range = void 0;
|
|
15
|
-
var Range_1 = __importDefault(/* @__PURE__ */ requireRange());
|
|
16
|
-
exports$1.Range = Range_1.default;
|
|
17
|
-
var utils_1 = /* @__PURE__ */ requireUtils();
|
|
18
|
-
Object.defineProperty(exports$1, "getTrackBackground", { enumerable: true, get: function() {
|
|
19
|
-
return utils_1.getTrackBackground;
|
|
20
|
-
} });
|
|
21
|
-
Object.defineProperty(exports$1, "useThumbOverlap", { enumerable: true, get: function() {
|
|
22
|
-
return utils_1.useThumbOverlap;
|
|
23
|
-
} });
|
|
24
|
-
Object.defineProperty(exports$1, "relativeValue", { enumerable: true, get: function() {
|
|
25
|
-
return utils_1.relativeValue;
|
|
26
|
-
} });
|
|
27
|
-
Object.defineProperty(exports$1, "checkValuesAgainstBoundaries", { enumerable: true, get: function() {
|
|
28
|
-
return utils_1.checkValuesAgainstBoundaries;
|
|
29
|
-
} });
|
|
30
|
-
var types_1 = /* @__PURE__ */ requireTypes();
|
|
31
|
-
Object.defineProperty(exports$1, "Direction", { enumerable: true, get: function() {
|
|
32
|
-
return types_1.Direction;
|
|
33
|
-
} });
|
|
34
|
-
})(lib);
|
|
35
|
-
return lib;
|
|
36
|
-
}
|
|
37
|
-
export {
|
|
38
|
-
requireLib as __require
|
|
39
|
-
};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { __exports as types } from "../../../_virtual/types.js";
|
|
2
|
-
var hasRequiredTypes;
|
|
3
|
-
function requireTypes() {
|
|
4
|
-
if (hasRequiredTypes) return types;
|
|
5
|
-
hasRequiredTypes = 1;
|
|
6
|
-
Object.defineProperty(types, "__esModule", { value: true });
|
|
7
|
-
types.Direction = void 0;
|
|
8
|
-
var Direction;
|
|
9
|
-
(function(Direction2) {
|
|
10
|
-
Direction2["Right"] = "to right";
|
|
11
|
-
Direction2["Left"] = "to left";
|
|
12
|
-
Direction2["Down"] = "to bottom";
|
|
13
|
-
Direction2["Up"] = "to top";
|
|
14
|
-
})(Direction || (types.Direction = Direction = {}));
|
|
15
|
-
return types;
|
|
16
|
-
}
|
|
17
|
-
export {
|
|
18
|
-
requireTypes as __require
|
|
19
|
-
};
|