@stokr/components-library 3.0.67 → 3.0.69
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 +6 -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 +8 -29
- 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 +35 -31
- package/dist/context/AuthContext.js +32 -31
- 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,7 +1,7 @@
|
|
|
1
1
|
import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import PropTypes from "
|
|
4
|
-
import {
|
|
3
|
+
import PropTypes from "prop-types";
|
|
4
|
+
import { Tooltip } from "react-tippy";
|
|
5
5
|
import { Container, IconContainer, Icon, Content, TitleContainer, Title, State } from "./ToDoListTask.styles.js";
|
|
6
6
|
import { TooltipIcon } from "../Icon/Icon.style.js";
|
|
7
7
|
import setRedirectCookie from "../../utils/set-redirect-cookie.js";
|
|
@@ -42,7 +42,7 @@ const ToDoTask = ({
|
|
|
42
42
|
/* @__PURE__ */ jsxs(Content, { children: [
|
|
43
43
|
/* @__PURE__ */ jsxs(TitleContainer, { children: [
|
|
44
44
|
/* @__PURE__ */ jsx(Title, { link: link || openModal, state, children: title }),
|
|
45
|
-
tooltip && /* @__PURE__ */ jsx(
|
|
45
|
+
tooltip && /* @__PURE__ */ jsx(Tooltip, { position: "right", title: tooltip, theme: "light", arrow: true, duration: 200, children: /* @__PURE__ */ jsx(TooltipIcon, { onClick: (e) => e.preventDefault() }) })
|
|
46
46
|
] }),
|
|
47
47
|
message ? /* @__PURE__ */ jsx(State, { children: message }) : ""
|
|
48
48
|
] })
|
|
@@ -53,7 +53,7 @@ const ToDoTask = ({
|
|
|
53
53
|
/* @__PURE__ */ jsxs(Content, { children: [
|
|
54
54
|
/* @__PURE__ */ jsxs(TitleContainer, { children: [
|
|
55
55
|
/* @__PURE__ */ jsx(Title, { state, children: title }),
|
|
56
|
-
tooltip && /* @__PURE__ */ jsx(
|
|
56
|
+
tooltip && /* @__PURE__ */ jsx(Tooltip, { position: "right", title: tooltip, theme: "light", arrow: true, duration: 200, children: /* @__PURE__ */ jsx(TooltipIcon, { onClick: (e) => e.preventDefault() }) })
|
|
57
57
|
] }),
|
|
58
58
|
message ? /* @__PURE__ */ jsx(State, { children: message }) : ""
|
|
59
59
|
] })
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useState } from "react";
|
|
3
|
-
import PropTypes from "
|
|
3
|
+
import PropTypes from "prop-types";
|
|
4
4
|
import stdin_default from "../BasicTable/BasicTable.js";
|
|
5
5
|
import { Container, Toggle, DetailsCollapse } from "./TransactionDetails.styles.js";
|
|
6
6
|
const TransactionDetails = (props) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import styled from "styled-components";
|
|
2
|
-
import {
|
|
2
|
+
import { Collapse } from "react-collapse";
|
|
3
3
|
import theme from "../../styles/theme.js";
|
|
4
4
|
const Container = styled.div`
|
|
5
5
|
display: block;
|
|
@@ -19,7 +19,7 @@ const Toggle = styled.button`
|
|
|
19
19
|
color: ${() => theme.cPrimary};
|
|
20
20
|
}
|
|
21
21
|
`;
|
|
22
|
-
const DetailsCollapse = styled(
|
|
22
|
+
const DetailsCollapse = styled(Collapse).withConfig({
|
|
23
23
|
shouldForwardProp: (props) => !["isOpened"].includes(props)
|
|
24
24
|
})`
|
|
25
25
|
opacity: 0;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import PropTypes from "
|
|
3
|
+
import PropTypes from "prop-types";
|
|
4
4
|
import { Container, Account, Name, Value, TransferIcon } from "./TransactionInfo.styles.js";
|
|
5
5
|
const TransactionInfo = ({
|
|
6
6
|
value1 = "",
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { jsx, Fragment, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import PropTypes from "
|
|
3
|
+
import PropTypes from "prop-types";
|
|
4
4
|
import { Modal } from "../Modal/Modal.js";
|
|
5
5
|
import { Text } from "../Text/Text.styles.js";
|
|
6
6
|
import { Row, Column } from "../Grid/Grid.styles.js";
|
|
7
7
|
import { ComponentWrapper } from "../ComponentWrapper/ComponentWrapper.styles.js";
|
|
8
8
|
import { FormField, FormError } from "../Form/Form.styles.js";
|
|
9
9
|
import { Button } from "../Button/Button.styles.js";
|
|
10
|
-
import { Formik } from "
|
|
11
|
-
import
|
|
10
|
+
import { Formik } from "formik";
|
|
11
|
+
import * as Yup from "yup";
|
|
12
12
|
import stdin_default$2 from "../Form/Form.js";
|
|
13
13
|
import { Input } from "../Input/Input.js";
|
|
14
14
|
import { useCooldown } from "../../utils/customHooks.js";
|
|
@@ -37,8 +37,8 @@ const RenderErrorModal = (props) => {
|
|
|
37
37
|
onResend({ email: error.email });
|
|
38
38
|
}
|
|
39
39
|
}, [error]);
|
|
40
|
-
const validationSchema =
|
|
41
|
-
email:
|
|
40
|
+
const validationSchema = Yup.object().shape({
|
|
41
|
+
email: Yup.string().matches(emailRegex, "Oops, that's not a valid address").required("Oops, this can‘t be blank")
|
|
42
42
|
});
|
|
43
43
|
return /* @__PURE__ */ jsxs(Row, { children: [
|
|
44
44
|
/* @__PURE__ */ jsxs(Column, { part: 8, children: [
|
|
@@ -18,9 +18,7 @@ import fetchDataPublic from "../../api/fetchDataPublic.js";
|
|
|
18
18
|
import { AuthContext } from "../../context/AuthContext.js";
|
|
19
19
|
import { withRouter } from "../../utils/withRouter.js";
|
|
20
20
|
import { cooldownHOC } from "../../utils/customHooks.js";
|
|
21
|
-
import {
|
|
22
|
-
import "../../node_modules/@firebase/app/dist/esm/index.esm.js";
|
|
23
|
-
import "../../node_modules/@firebase/logger/dist/esm/index.esm.js";
|
|
21
|
+
import { checkActionCode } from "firebase/auth";
|
|
24
22
|
import { auth } from "../../firebase-config.js";
|
|
25
23
|
import { getConfig } from "../../runtime-config.js";
|
|
26
24
|
import { getBackofficeAppUrl } from "../../utils/app-urls-analytics-backoffice.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { PureComponent } from "react";
|
|
3
|
-
import PropTypes from "
|
|
3
|
+
import PropTypes from "prop-types";
|
|
4
4
|
const _Logo = class _Logo extends PureComponent {
|
|
5
5
|
render() {
|
|
6
6
|
const { width, height } = this.props;
|
|
@@ -4,8 +4,8 @@ import { useNavigate } from "react-router-dom";
|
|
|
4
4
|
import { AuthContext } from "../../context/AuthContext.js";
|
|
5
5
|
import { track } from "../../analytics/index.js";
|
|
6
6
|
import { Text } from "../Text/Text.styles.js";
|
|
7
|
-
import
|
|
8
|
-
import { Formik } from "
|
|
7
|
+
import * as Yup from "yup";
|
|
8
|
+
import { Formik } from "formik";
|
|
9
9
|
import { Input } from "../Input/Input.js";
|
|
10
10
|
import stdin_default$1 from "../Form/Form.js";
|
|
11
11
|
import stdin_default$4 from "../ToDoList/ToDoListTask.js";
|
|
@@ -63,8 +63,8 @@ const RegisterTaxId = ({
|
|
|
63
63
|
const initialValues = {
|
|
64
64
|
taxId: ""
|
|
65
65
|
};
|
|
66
|
-
const validationSchema =
|
|
67
|
-
taxId:
|
|
66
|
+
const validationSchema = Yup.object().shape({
|
|
67
|
+
taxId: Yup.string().required("Oops, this can‘t be blank")
|
|
68
68
|
});
|
|
69
69
|
const handleOnSubmit = async (e) => {
|
|
70
70
|
setIsUpdatingUser(true);
|
package/dist/context/Auth.js
CHANGED
|
@@ -1,15 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import "../node_modules/axios/index.js";
|
|
1
|
+
import Cookies from "js-cookie";
|
|
3
2
|
import axiosInstance from "../model/axios.js";
|
|
4
3
|
import axiosInstance$1 from "../model/axiosPublic.js";
|
|
5
4
|
import getCookieDomain from "../utils/get-cookie-domain.js";
|
|
6
5
|
import { getLastFirebaseConfig } from "../config.js";
|
|
7
6
|
import { initFirebase, getFirebaseAuth } from "../firebase-config.js";
|
|
8
|
-
import {
|
|
9
|
-
import "../node_modules/@firebase/app/dist/esm/index.esm.js";
|
|
10
|
-
import "../node_modules/@firebase/logger/dist/esm/index.esm.js";
|
|
11
|
-
import axios from "../node_modules/axios/lib/axios.js";
|
|
12
|
-
import { getConfig } from "../runtime-config.js";
|
|
7
|
+
import { updatePassword, updateProfile, signInWithCustomToken, signInWithEmailAndPassword, createUserWithEmailAndPassword, applyActionCode, verifyPasswordResetCode, confirmPasswordReset, onAuthStateChanged } from "firebase/auth";
|
|
13
8
|
function normalizeCustomToken(token) {
|
|
14
9
|
if (token == null) return "";
|
|
15
10
|
if (typeof token === "object" && token !== null) {
|
|
@@ -45,26 +40,26 @@ class Auth {
|
|
|
45
40
|
const expiresAtMs = Date.now() + expiresInMs;
|
|
46
41
|
const expiresInDays = expiresInMs / (24 * 60 * 60 * 1e3);
|
|
47
42
|
const finalOptions = { ...cookieOptions, expires: expiresInDays };
|
|
48
|
-
|
|
49
|
-
|
|
43
|
+
Cookies.set("STOKR_ACCESS_TOKEN", token, finalOptions);
|
|
44
|
+
Cookies.set("STOKR_ACCESS_TOKEN_EXPIRES", String(expiresAtMs), finalOptions);
|
|
50
45
|
}
|
|
51
46
|
static getAccessToken() {
|
|
52
|
-
return
|
|
47
|
+
return Cookies.get("STOKR_ACCESS_TOKEN");
|
|
53
48
|
}
|
|
54
49
|
/** Returns the access token cookie expiry timestamp in ms, or null if not set. */
|
|
55
50
|
static getAccessTokenExpiresAt() {
|
|
56
|
-
const value =
|
|
51
|
+
const value = Cookies.get("STOKR_ACCESS_TOKEN_EXPIRES");
|
|
57
52
|
if (value == null || value === "") return null;
|
|
58
53
|
const ts = parseInt(value, 10);
|
|
59
54
|
return Number.isFinite(ts) ? ts : null;
|
|
60
55
|
}
|
|
61
56
|
static logout() {
|
|
62
57
|
const cookieDomain = getCookieDomain();
|
|
63
|
-
|
|
64
|
-
|
|
58
|
+
Cookies.remove("STOKR_ACCESS_TOKEN", cookieDomain);
|
|
59
|
+
Cookies.remove("STOKR_ACCESS_TOKEN_EXPIRES", cookieDomain);
|
|
65
60
|
if (cookieDomain.domain) {
|
|
66
|
-
|
|
67
|
-
|
|
61
|
+
Cookies.remove("STOKR_ACCESS_TOKEN");
|
|
62
|
+
Cookies.remove("STOKR_ACCESS_TOKEN_EXPIRES");
|
|
68
63
|
}
|
|
69
64
|
}
|
|
70
65
|
static async login(email, password) {
|
|
@@ -98,7 +93,7 @@ class Auth {
|
|
|
98
93
|
err.code = fbCode === "INVALID_LOGIN_CREDENTIALS" ? "auth/invalid-credential" : "auth/internal-error";
|
|
99
94
|
throw err;
|
|
100
95
|
}
|
|
101
|
-
const { signInWithCustomToken: signInCustom } = await import("
|
|
96
|
+
const { signInWithCustomToken: signInCustom } = await import("firebase/auth");
|
|
102
97
|
try {
|
|
103
98
|
const cred = await signInCustom(auth, data.idToken);
|
|
104
99
|
return cred?.user;
|
|
@@ -375,16 +370,30 @@ class Auth {
|
|
|
375
370
|
});
|
|
376
371
|
}
|
|
377
372
|
/**
|
|
378
|
-
*
|
|
379
|
-
*
|
|
373
|
+
* Get the authenticated user's avatar from service-media.
|
|
374
|
+
* Returns the image Blob, or null when the user has no picture (404).
|
|
380
375
|
*/
|
|
381
|
-
static
|
|
376
|
+
static getAvatar() {
|
|
382
377
|
return new Promise((resolve, reject) => {
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
378
|
+
axiosInstance.post(`media/user/avatar/get`, null, { responseType: "blob" }).then((response) => {
|
|
379
|
+
resolve(response.data);
|
|
380
|
+
}).catch((err) => {
|
|
381
|
+
if (err?.response?.status === 404) {
|
|
382
|
+
resolve(null);
|
|
383
|
+
return;
|
|
386
384
|
}
|
|
387
|
-
|
|
385
|
+
reject(err);
|
|
386
|
+
});
|
|
387
|
+
});
|
|
388
|
+
}
|
|
389
|
+
/**
|
|
390
|
+
* Upload the authenticated user's avatar to service-media.
|
|
391
|
+
* Responds 201 with the processed (resized) image, so we read it back as a Blob.
|
|
392
|
+
* @param data FormData with a `file` field (jpeg/png, ≤10mb)
|
|
393
|
+
*/
|
|
394
|
+
static uploadPhoto(data) {
|
|
395
|
+
return new Promise((resolve, reject) => {
|
|
396
|
+
axiosInstance.post(`media/user/avatar/upload`, data, { responseType: "blob" }).then((response) => {
|
|
388
397
|
resolve(response.data);
|
|
389
398
|
}).catch((err) => {
|
|
390
399
|
reject(err);
|
|
@@ -392,16 +401,11 @@ class Auth {
|
|
|
392
401
|
});
|
|
393
402
|
}
|
|
394
403
|
/**
|
|
395
|
-
* Delete
|
|
396
|
-
* @param data
|
|
404
|
+
* Delete the authenticated user's avatar from service-media.
|
|
397
405
|
*/
|
|
398
|
-
static deletePhoto(
|
|
406
|
+
static deletePhoto() {
|
|
399
407
|
return new Promise((resolve, reject) => {
|
|
400
|
-
|
|
401
|
-
headers: {
|
|
402
|
-
"Content-Type": "multipart/form-data"
|
|
403
|
-
}
|
|
404
|
-
}).then((response) => {
|
|
408
|
+
axiosInstance.post(`media/user/avatar/delete`).then((response) => {
|
|
405
409
|
resolve(response.data);
|
|
406
410
|
}).catch((err) => {
|
|
407
411
|
reject(err);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
-
import PropTypes from "
|
|
2
|
+
import PropTypes from "prop-types";
|
|
3
3
|
import axiosInstance from "../model/axios.js";
|
|
4
4
|
import { configure } from "../config.js";
|
|
5
5
|
import React__default, { Component } from "react";
|
|
@@ -14,9 +14,7 @@ import { getConfig, getPlatformURL } from "../runtime-config.js";
|
|
|
14
14
|
import avatarPlaceholder from "../static/images/avatar-placeholder.png.js";
|
|
15
15
|
import { getFirebaseAuth, isValidFirebaseConfig } from "../firebase-config.js";
|
|
16
16
|
import { isAlreadyOnOnboardingFlow } from "../utils/app-urls.js";
|
|
17
|
-
import {
|
|
18
|
-
import "../node_modules/@firebase/app/dist/esm/index.esm.js";
|
|
19
|
-
import "../node_modules/@firebase/logger/dist/esm/index.esm.js";
|
|
17
|
+
import { signOut, getMultiFactorResolver, PhoneMultiFactorGenerator, TotpMultiFactorGenerator, multiFactor } from "firebase/auth";
|
|
20
18
|
import { navigateToHref } from "../routing/navigate-app.js";
|
|
21
19
|
import { SuccessModal as SuccessModalComponent } from "../components/Modal/SuccessModal/SuccessModal.js";
|
|
22
20
|
const AuthContext = React__default.createContext();
|
|
@@ -104,6 +102,7 @@ class AuthProviderClass extends Component {
|
|
|
104
102
|
INACTIVITY_EVENTS.forEach((event) => window.removeEventListener(event, this.resetInactivityTimer));
|
|
105
103
|
this.clearInactivityTimer();
|
|
106
104
|
this.clearCookieExpiryTimer();
|
|
105
|
+
if (this.avatarObjectUrl) URL.revokeObjectURL(this.avatarObjectUrl);
|
|
107
106
|
}
|
|
108
107
|
checkTokenIsValid = (redirect = false) => {
|
|
109
108
|
const accessToken = Auth.getAccessToken();
|
|
@@ -343,6 +342,8 @@ class AuthProviderClass extends Component {
|
|
|
343
342
|
}
|
|
344
343
|
break;
|
|
345
344
|
}
|
|
345
|
+
case PhoneMultiFactorGenerator.FACTOR_ID:
|
|
346
|
+
break;
|
|
346
347
|
}
|
|
347
348
|
};
|
|
348
349
|
generateTotpSecret = async (user = getFirebaseAuth()?.currentUser, appName = "STOKR") => {
|
|
@@ -398,6 +399,10 @@ class AuthProviderClass extends Component {
|
|
|
398
399
|
delete axiosInstance.defaults.headers.common.Authorization;
|
|
399
400
|
reset();
|
|
400
401
|
this.userRef.current = null;
|
|
402
|
+
if (this.avatarObjectUrl) {
|
|
403
|
+
URL.revokeObjectURL(this.avatarObjectUrl);
|
|
404
|
+
this.avatarObjectUrl = void 0;
|
|
405
|
+
}
|
|
401
406
|
this.setState({
|
|
402
407
|
user: null,
|
|
403
408
|
firebaseUser: null,
|
|
@@ -446,20 +451,27 @@ class AuthProviderClass extends Component {
|
|
|
446
451
|
merged.active = merged.emailVerified;
|
|
447
452
|
return merged;
|
|
448
453
|
};
|
|
449
|
-
|
|
454
|
+
// Fetch the authenticated user's avatar from service-media as a Blob and expose it as an
|
|
455
|
+
// object URL. Falls back to the placeholder on 404/error. The endpoint requires the Bearer
|
|
456
|
+
// token, so it can't be used directly as an <img src> — hence the blob round-trip.
|
|
457
|
+
loadAvatar = async () => {
|
|
450
458
|
try {
|
|
451
|
-
const
|
|
452
|
-
|
|
453
|
-
http.onload = () => {
|
|
454
|
-
if (http.status === 200) {
|
|
455
|
-
this.setState({ avatar });
|
|
456
|
-
}
|
|
457
|
-
};
|
|
458
|
-
http.send();
|
|
459
|
+
const blob = await Auth.getAvatar();
|
|
460
|
+
this.setAvatarObjectUrl(blob ? URL.createObjectURL(blob) : avatarPlaceholder);
|
|
459
461
|
} catch (error) {
|
|
460
|
-
console.log("error: ", error);
|
|
462
|
+
console.log("error loading avatar: ", error);
|
|
463
|
+
this.setAvatarObjectUrl(avatarPlaceholder);
|
|
464
|
+
}
|
|
465
|
+
};
|
|
466
|
+
setAvatarObjectUrl = (nextAvatar) => {
|
|
467
|
+
if (this.avatarObjectUrl && this.avatarObjectUrl !== nextAvatar) {
|
|
468
|
+
URL.revokeObjectURL(this.avatarObjectUrl);
|
|
461
469
|
}
|
|
470
|
+
this.avatarObjectUrl = nextAvatar?.startsWith("blob:") ? nextAvatar : void 0;
|
|
471
|
+
this.setState({ avatar: nextAvatar });
|
|
462
472
|
};
|
|
473
|
+
// Kept for backward compatibility; refetches the current user's avatar.
|
|
474
|
+
checkUserPhoto = () => this.loadAvatar();
|
|
463
475
|
getUser = async (accessToken = Auth.getAccessToken(), firebaseUserOverride) => {
|
|
464
476
|
if (!accessToken) {
|
|
465
477
|
this.setState({
|
|
@@ -533,11 +545,7 @@ class AuthProviderClass extends Component {
|
|
|
533
545
|
const user = this.patchUserObject(result.user, firebaseUser);
|
|
534
546
|
this.checkUserIsValid(user);
|
|
535
547
|
customValidateGetUser?.(user);
|
|
536
|
-
|
|
537
|
-
if (userIdForMedia) {
|
|
538
|
-
const userAvatar = `${getConfig("photoApiUrl")}/media/picture/view/${userIdForMedia}`;
|
|
539
|
-
this.checkUserPhoto(userAvatar);
|
|
540
|
-
}
|
|
548
|
+
this.loadAvatar();
|
|
541
549
|
this.setUser(user);
|
|
542
550
|
this.setState({
|
|
543
551
|
isFetchingUser: false
|
|
@@ -617,13 +625,10 @@ class AuthProviderClass extends Component {
|
|
|
617
625
|
return;
|
|
618
626
|
}
|
|
619
627
|
const formData = new FormData();
|
|
620
|
-
formData.append("userId", user._id);
|
|
621
628
|
formData.append("file", file);
|
|
622
|
-
const
|
|
623
|
-
this.
|
|
624
|
-
|
|
625
|
-
});
|
|
626
|
-
return result;
|
|
629
|
+
const blob = await Auth.uploadPhoto(formData);
|
|
630
|
+
this.setAvatarObjectUrl(blob ? URL.createObjectURL(blob) : avatarPlaceholder);
|
|
631
|
+
return blob;
|
|
627
632
|
} catch (error) {
|
|
628
633
|
console.log(`Error: ${error}`);
|
|
629
634
|
throw error;
|
|
@@ -634,12 +639,8 @@ class AuthProviderClass extends Component {
|
|
|
634
639
|
if (!user) {
|
|
635
640
|
return;
|
|
636
641
|
}
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
await Auth.deletePhoto(formData);
|
|
640
|
-
this.setState({
|
|
641
|
-
avatar: void 0
|
|
642
|
-
});
|
|
642
|
+
await Auth.deletePhoto();
|
|
643
|
+
this.setAvatarObjectUrl(avatarPlaceholder);
|
|
643
644
|
};
|
|
644
645
|
replaceLocationPathName = () => {
|
|
645
646
|
const pathname = this.props.location?.pathname ?? "";
|
package/dist/firebase-config.js
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import "
|
|
2
|
-
import {
|
|
3
|
-
import { getApps, getApp, initializeApp } from "./node_modules/@firebase/app/dist/esm/index.esm.js";
|
|
4
|
-
import "./node_modules/@firebase/logger/dist/esm/index.esm.js";
|
|
1
|
+
import { getApps, getApp, initializeApp } from "firebase/app";
|
|
2
|
+
import { initializeAuth, inMemoryPersistence, getAuth } from "firebase/auth";
|
|
5
3
|
import { getConfig } from "./runtime-config.js";
|
|
6
4
|
let app = null;
|
|
7
5
|
let auth = null;
|
|
@@ -2,7 +2,7 @@ import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { useState, useContext, useCallback, useEffect } from "react";
|
|
3
3
|
import { AuthContext } from "../context/AuthContext.js";
|
|
4
4
|
import fetchDataPublic from "../api/fetchDataPublic.js";
|
|
5
|
-
import parse from "
|
|
5
|
+
import parse from "html-react-parser";
|
|
6
6
|
import { useCheckboxes } from "../context/Checkbox/CheckboxContext.js";
|
|
7
7
|
const initialState = {
|
|
8
8
|
email: "",
|
package/dist/index.js
CHANGED
|
@@ -138,6 +138,8 @@ import { navigateToHref, pathnameIfSameOrigin } from "./routing/navigate-app.js"
|
|
|
138
138
|
import { RouterWrapper } from "./routing/RouterWrapper.js";
|
|
139
139
|
import { isAlreadyOnOnboardingFlow } from "./utils/app-urls.js";
|
|
140
140
|
import { authenticationApi } from "./api/authenticationApi.js";
|
|
141
|
+
import { Auth, DEFAULT_TOKEN_EXPIRY_MS } from "./context/Auth.js";
|
|
142
|
+
import { AuthConsumer, AuthContext, AuthProvider } from "./context/AuthContext.js";
|
|
141
143
|
import { colors } from "./styles/colors.js";
|
|
142
144
|
import { default as default2 } from "./styles/fonts.js";
|
|
143
145
|
import { GlobalStyle } from "./styles/global.js";
|
|
@@ -150,12 +152,9 @@ import { default as default7 } from "./styles/spacing.js";
|
|
|
150
152
|
import { default as default8 } from "./styles/theme.js";
|
|
151
153
|
import { BASE_COLOR_HEX, BASE_FONT_SIZE, BASE_MARGIN, BASE_MARGIN_2X_PX, BASE_MARGIN_PX, BLUE_BASE_HEX, BLUE_BASE_RELEASED_HEX, CAPITAL_ANIMATION_LENGTH, COLUMN, DESKTOP_MEDIA, GRAY_BASE_HEX, GRAY_DEEP_HEX, GRAY_SECONDARY_HEX, GREEN, MAX_WIDTH, PHONE_MEDIA, RED_BASE_HEX, RED_BASE_RELEASE_HEX, SLIDER_HEIGHT, SLIDER_MOBILE_HEIGHT, SLIDER_TABLET_HEIGHT, TABLET_MEDIA, WHITE_HEX } from "./constants/style.js";
|
|
152
154
|
import { LoanActivityTypes, ProfessionalInvestorStatuses, ProjectStates, ProjectStatus, ProjectTypes, TransactionTypes, USInvestorAcreditationStatuses, UserTypes, emailRegex, transactionTypeDisplayNames, walletTypes } from "./constants/globalVariables.js";
|
|
153
|
-
import { l as libExports } from "./_virtual/index.js";
|
|
154
155
|
import { default as default9 } from "./components/SvgIcons/AdminBadgeSvg.js";
|
|
155
156
|
import { Arrow } from "./components/icons/Arrow.js";
|
|
156
157
|
import { ArrowSimple } from "./components/icons/ArrowSimple.js";
|
|
157
|
-
import { Auth, DEFAULT_TOKEN_EXPIRY_MS } from "./context/Auth.js";
|
|
158
|
-
import { AuthConsumer, AuthContext, AuthProvider } from "./context/AuthContext.js";
|
|
159
158
|
import { BackButtonIcon, StyledBackButton, StyledBackButtonExternal, StyledWindowBackButton } from "./components/BackButton/BackButton.styles.js";
|
|
160
159
|
import { Breakdown } from "./components/breakdown/Breakdown.js";
|
|
161
160
|
import { default as default10 } from "./components/SvgIcons/CameraSvg.js";
|
|
@@ -163,6 +162,7 @@ import { default as default11 } from "./components/SvgIcons/CapsLockSvg.js";
|
|
|
163
162
|
import { Check } from "./components/icons/Check.js";
|
|
164
163
|
import { default as default12 } from "./components/2FA/Connect2FA.js";
|
|
165
164
|
import { ContainerWithLine } from "./components/RegisterConfirmModal/RegisterConfirmModal.styles.js";
|
|
165
|
+
import { CopyToClipboard } from "react-copy-to-clipboard";
|
|
166
166
|
import { default as default13 } from "./components/SvgIcons/DocumentBackSvg.js";
|
|
167
167
|
import { default as default14 } from "./components/SvgIcons/DocumentSmallSvg.js";
|
|
168
168
|
import { default as default15 } from "./components/SvgIcons/DocumentSvg.js";
|
|
@@ -173,7 +173,7 @@ import { default as default19 } from "./components/SvgIcons/EurSvg.js";
|
|
|
173
173
|
import { default as default20 } from "./components/SvgIcons/FaceScanIconSvg.js";
|
|
174
174
|
import { Facebook } from "./components/icons/Facebook.js";
|
|
175
175
|
import { FaqContent, FaqDropdownIcon, FaqItem, FaqItems, FaqText, FaqTitle } from "./components/FAQ/FAQ.styles.js";
|
|
176
|
-
import * as
|
|
176
|
+
import * as Flags from "country-flag-icons/react/3x2";
|
|
177
177
|
import { default as default21 } from "./components/Footer/Footer.js";
|
|
178
178
|
import { default as default22, getFooterGroups } from "./components/Footer/FooterLayout.js";
|
|
179
179
|
import { default as default23 } from "./components/Footer/FooterMenu.js";
|
|
@@ -234,11 +234,10 @@ import { default as default53 } from "./components/SvgIcons/UploadSvg.js";
|
|
|
234
234
|
import { default as default54 } from "./components/SvgIcons/VerifiedBadge.js";
|
|
235
235
|
import { X } from "./components/icons/X.js";
|
|
236
236
|
import { Youtube } from "./components/icons/Youtube.js";
|
|
237
|
-
import { format } from "
|
|
237
|
+
import { format } from "date-fns";
|
|
238
238
|
import { getAnalyticsIngestUrl, getBackofficeAppUrl } from "./utils/app-urls-analytics-backoffice.js";
|
|
239
239
|
import { getConfig, resetRuntimeConfig } from "./runtime-config.js";
|
|
240
240
|
import { useSnackbar } from "./components/Snackbar/useSnackbar.js";
|
|
241
|
-
const CopyToClipboard = libExports.CopyToClipboard;
|
|
242
241
|
export {
|
|
243
242
|
AccountBalance,
|
|
244
243
|
default9 as AdminBadgeSvg,
|
|
@@ -341,7 +340,7 @@ export {
|
|
|
341
340
|
FaqText,
|
|
342
341
|
FaqTitle,
|
|
343
342
|
FlagFor,
|
|
344
|
-
|
|
343
|
+
Flags,
|
|
345
344
|
FlexContainer,
|
|
346
345
|
FlexGrid,
|
|
347
346
|
default21 as Footer,
|
package/dist/manifest.json
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
{
|
|
2
|
-
"short_name": "Vite React App",
|
|
3
|
-
"name": "Vite React App",
|
|
4
|
-
"icons": [
|
|
5
|
-
{
|
|
6
|
-
"src": "favicon.ico",
|
|
7
|
-
"sizes": "64x64 32x32 24x24 16x16",
|
|
8
|
-
"type": "image/x-icon"
|
|
9
|
-
},
|
|
10
|
-
{
|
|
11
|
-
"src": "logo192.png",
|
|
12
|
-
"type": "image/png",
|
|
13
|
-
"sizes": "192x192"
|
|
14
|
-
},
|
|
15
|
-
{
|
|
16
|
-
"src": "logo512.png",
|
|
17
|
-
"type": "image/png",
|
|
18
|
-
"sizes": "512x512"
|
|
19
|
-
}
|
|
20
|
-
],
|
|
21
|
-
"start_url": ".",
|
|
22
|
-
"display": "standalone",
|
|
23
|
-
"theme_color": "#000000",
|
|
24
|
-
"background_color": "#ffffff"
|
|
25
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"short_name": "Vite React App",
|
|
3
|
+
"name": "Vite React App",
|
|
4
|
+
"icons": [
|
|
5
|
+
{
|
|
6
|
+
"src": "favicon.ico",
|
|
7
|
+
"sizes": "64x64 32x32 24x24 16x16",
|
|
8
|
+
"type": "image/x-icon"
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"src": "logo192.png",
|
|
12
|
+
"type": "image/png",
|
|
13
|
+
"sizes": "192x192"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"src": "logo512.png",
|
|
17
|
+
"type": "image/png",
|
|
18
|
+
"sizes": "512x512"
|
|
19
|
+
}
|
|
20
|
+
],
|
|
21
|
+
"start_url": ".",
|
|
22
|
+
"display": "standalone",
|
|
23
|
+
"theme_color": "#000000",
|
|
24
|
+
"background_color": "#ffffff"
|
|
25
|
+
}
|
package/dist/model/axios.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import "
|
|
1
|
+
import axios from "axios";
|
|
2
2
|
import { getConfig } from "../runtime-config.js";
|
|
3
|
-
import axios from "../node_modules/axios/lib/axios.js";
|
|
4
3
|
if (!getConfig("apiUrl") && false) ;
|
|
5
4
|
const axiosInstance = axios?.create({
|
|
6
5
|
headers: { "Content-Type": "application/json" },
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import "
|
|
1
|
+
import axios from "axios";
|
|
2
2
|
import { getConfig } from "../runtime-config.js";
|
|
3
|
-
import axios from "../node_modules/axios/lib/axios.js";
|
|
4
3
|
const axiosInstance = axios?.create({
|
|
5
4
|
headers: { "Content-Type": "application/json" },
|
|
6
5
|
baseURL: getConfig("baseUrlPublic")
|
package/dist/robots.txt
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
# https://www.robotstxt.org/robotstxt.html
|
|
2
|
-
User-agent: *
|
|
3
|
-
Disallow:
|
|
1
|
+
# https://www.robotstxt.org/robotstxt.html
|
|
2
|
+
User-agent: *
|
|
3
|
+
Disallow:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx, Fragment } from "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import PropTypes from "
|
|
3
|
+
import PropTypes from "prop-types";
|
|
4
4
|
import { useInRouterContext, BrowserRouter } from "react-router-dom";
|
|
5
5
|
function RouterWrapper({ children }) {
|
|
6
6
|
const inRouter = useInRouterContext();
|
package/dist/runtime-config.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const __vite_import_meta_env__ = { "BASE_URL": "/", "DEV": false, "MODE": "production", "PROD": true, "SSR": false
|
|
1
|
+
const __vite_import_meta_env__ = { "BASE_URL": "/", "DEV": false, "MODE": "production", "PROD": true, "SSR": false };
|
|
2
2
|
const _overrides = {};
|
|
3
3
|
const ENV_KEY_BY_CONFIG = {
|
|
4
4
|
apiUrl: "VITE_API_URL",
|
|
File without changes
|