@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,810 +0,0 @@
|
|
|
1
|
-
import { __exports as innerSlider } from "../../../_virtual/inner-slider.js";
|
|
2
|
-
import React__default from "react";
|
|
3
|
-
import { __require as requireInitialState } from "./initial-state.js";
|
|
4
|
-
import { __require as requireLodash_debounce } from "../../lodash.debounce/index.js";
|
|
5
|
-
import { __require as requireClassnames } from "../../classnames/index.js";
|
|
6
|
-
import { __require as requireInnerSliderUtils } from "./utils/innerSliderUtils.js";
|
|
7
|
-
import { __require as requireTrack } from "./track.js";
|
|
8
|
-
import { __require as requireDots } from "./dots.js";
|
|
9
|
-
import { __require as requireArrows } from "./arrows.js";
|
|
10
|
-
import require$$8 from "../../../_virtual/ResizeObserver.es.js";
|
|
11
|
-
var hasRequiredInnerSlider;
|
|
12
|
-
function requireInnerSlider() {
|
|
13
|
-
if (hasRequiredInnerSlider) return innerSlider;
|
|
14
|
-
hasRequiredInnerSlider = 1;
|
|
15
|
-
Object.defineProperty(innerSlider, "__esModule", {
|
|
16
|
-
value: true
|
|
17
|
-
});
|
|
18
|
-
innerSlider.InnerSlider = void 0;
|
|
19
|
-
var _react = _interopRequireDefault(React__default);
|
|
20
|
-
var _initialState = _interopRequireDefault(requireInitialState());
|
|
21
|
-
var _lodash = _interopRequireDefault(requireLodash_debounce());
|
|
22
|
-
var _classnames = _interopRequireDefault(requireClassnames());
|
|
23
|
-
var _innerSliderUtils = requireInnerSliderUtils();
|
|
24
|
-
var _track = requireTrack();
|
|
25
|
-
var _dots = requireDots();
|
|
26
|
-
var _arrows = requireArrows();
|
|
27
|
-
var _resizeObserverPolyfill = _interopRequireDefault(require$$8);
|
|
28
|
-
function _interopRequireDefault(e) {
|
|
29
|
-
return e && e.__esModule ? e : { "default": e };
|
|
30
|
-
}
|
|
31
|
-
function _typeof(o) {
|
|
32
|
-
"@babel/helpers - typeof";
|
|
33
|
-
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o2) {
|
|
34
|
-
return typeof o2;
|
|
35
|
-
} : function(o2) {
|
|
36
|
-
return o2 && "function" == typeof Symbol && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
|
|
37
|
-
}, _typeof(o);
|
|
38
|
-
}
|
|
39
|
-
function _extends() {
|
|
40
|
-
return _extends = Object.assign ? Object.assign.bind() : function(n) {
|
|
41
|
-
for (var e = 1; e < arguments.length; e++) {
|
|
42
|
-
var t = arguments[e];
|
|
43
|
-
for (var r in t) {
|
|
44
|
-
({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
return n;
|
|
48
|
-
}, _extends.apply(null, arguments);
|
|
49
|
-
}
|
|
50
|
-
function _objectWithoutProperties(e, t) {
|
|
51
|
-
if (null == e) return {};
|
|
52
|
-
var o, r, i = _objectWithoutPropertiesLoose(e, t);
|
|
53
|
-
if (Object.getOwnPropertySymbols) {
|
|
54
|
-
var s = Object.getOwnPropertySymbols(e);
|
|
55
|
-
for (r = 0; r < s.length; r++) {
|
|
56
|
-
o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
return i;
|
|
60
|
-
}
|
|
61
|
-
function _objectWithoutPropertiesLoose(r, e) {
|
|
62
|
-
if (null == r) return {};
|
|
63
|
-
var t = {};
|
|
64
|
-
for (var n in r) {
|
|
65
|
-
if ({}.hasOwnProperty.call(r, n)) {
|
|
66
|
-
if (e.includes(n)) continue;
|
|
67
|
-
t[n] = r[n];
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
return t;
|
|
71
|
-
}
|
|
72
|
-
function ownKeys(e, r) {
|
|
73
|
-
var t = Object.keys(e);
|
|
74
|
-
if (Object.getOwnPropertySymbols) {
|
|
75
|
-
var o = Object.getOwnPropertySymbols(e);
|
|
76
|
-
r && (o = o.filter(function(r2) {
|
|
77
|
-
return Object.getOwnPropertyDescriptor(e, r2).enumerable;
|
|
78
|
-
})), t.push.apply(t, o);
|
|
79
|
-
}
|
|
80
|
-
return t;
|
|
81
|
-
}
|
|
82
|
-
function _objectSpread(e) {
|
|
83
|
-
for (var r = 1; r < arguments.length; r++) {
|
|
84
|
-
var t = null != arguments[r] ? arguments[r] : {};
|
|
85
|
-
r % 2 ? ownKeys(Object(t), true).forEach(function(r2) {
|
|
86
|
-
_defineProperty(e, r2, t[r2]);
|
|
87
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function(r2) {
|
|
88
|
-
Object.defineProperty(e, r2, Object.getOwnPropertyDescriptor(t, r2));
|
|
89
|
-
});
|
|
90
|
-
}
|
|
91
|
-
return e;
|
|
92
|
-
}
|
|
93
|
-
function _classCallCheck(a, n) {
|
|
94
|
-
if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function");
|
|
95
|
-
}
|
|
96
|
-
function _defineProperties(e, r) {
|
|
97
|
-
for (var t = 0; t < r.length; t++) {
|
|
98
|
-
var o = r[t];
|
|
99
|
-
o.enumerable = o.enumerable || false, o.configurable = true, "value" in o && (o.writable = true), Object.defineProperty(e, _toPropertyKey(o.key), o);
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
function _createClass(e, r, t) {
|
|
103
|
-
return r && _defineProperties(e.prototype, r), Object.defineProperty(e, "prototype", { writable: false }), e;
|
|
104
|
-
}
|
|
105
|
-
function _inherits(t, e) {
|
|
106
|
-
if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function");
|
|
107
|
-
t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: true, configurable: true } }), Object.defineProperty(t, "prototype", { writable: false }), e && _setPrototypeOf(t, e);
|
|
108
|
-
}
|
|
109
|
-
function _setPrototypeOf(t, e) {
|
|
110
|
-
return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(t2, e2) {
|
|
111
|
-
return t2.__proto__ = e2, t2;
|
|
112
|
-
}, _setPrototypeOf(t, e);
|
|
113
|
-
}
|
|
114
|
-
function _createSuper(t) {
|
|
115
|
-
var r = _isNativeReflectConstruct();
|
|
116
|
-
return function() {
|
|
117
|
-
var e, o = _getPrototypeOf(t);
|
|
118
|
-
if (r) {
|
|
119
|
-
var s = _getPrototypeOf(this).constructor;
|
|
120
|
-
e = Reflect.construct(o, arguments, s);
|
|
121
|
-
} else e = o.apply(this, arguments);
|
|
122
|
-
return _possibleConstructorReturn(this, e);
|
|
123
|
-
};
|
|
124
|
-
}
|
|
125
|
-
function _possibleConstructorReturn(t, e) {
|
|
126
|
-
if (e && ("object" == _typeof(e) || "function" == typeof e)) return e;
|
|
127
|
-
if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined");
|
|
128
|
-
return _assertThisInitialized(t);
|
|
129
|
-
}
|
|
130
|
-
function _assertThisInitialized(e) {
|
|
131
|
-
if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
132
|
-
return e;
|
|
133
|
-
}
|
|
134
|
-
function _isNativeReflectConstruct() {
|
|
135
|
-
try {
|
|
136
|
-
var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
|
|
137
|
-
}));
|
|
138
|
-
} catch (t2) {
|
|
139
|
-
}
|
|
140
|
-
return (_isNativeReflectConstruct = function _isNativeReflectConstruct2() {
|
|
141
|
-
return !!t;
|
|
142
|
-
})();
|
|
143
|
-
}
|
|
144
|
-
function _getPrototypeOf(t) {
|
|
145
|
-
return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(t2) {
|
|
146
|
-
return t2.__proto__ || Object.getPrototypeOf(t2);
|
|
147
|
-
}, _getPrototypeOf(t);
|
|
148
|
-
}
|
|
149
|
-
function _defineProperty(e, r, t) {
|
|
150
|
-
return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: true, configurable: true, writable: true }) : e[r] = t, e;
|
|
151
|
-
}
|
|
152
|
-
function _toPropertyKey(t) {
|
|
153
|
-
var i = _toPrimitive(t, "string");
|
|
154
|
-
return "symbol" == _typeof(i) ? i : i + "";
|
|
155
|
-
}
|
|
156
|
-
function _toPrimitive(t, r) {
|
|
157
|
-
if ("object" != _typeof(t) || !t) return t;
|
|
158
|
-
var e = t[Symbol.toPrimitive];
|
|
159
|
-
if (void 0 !== e) {
|
|
160
|
-
var i = e.call(t, r);
|
|
161
|
-
if ("object" != _typeof(i)) return i;
|
|
162
|
-
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
163
|
-
}
|
|
164
|
-
return ("string" === r ? String : Number)(t);
|
|
165
|
-
}
|
|
166
|
-
innerSlider.InnerSlider = /* @__PURE__ */ (function(_React$Component) {
|
|
167
|
-
_inherits(InnerSlider, _React$Component);
|
|
168
|
-
var _super = _createSuper(InnerSlider);
|
|
169
|
-
function InnerSlider(props) {
|
|
170
|
-
var _this;
|
|
171
|
-
_classCallCheck(this, InnerSlider);
|
|
172
|
-
_this = _super.call(this, props);
|
|
173
|
-
_defineProperty(_assertThisInitialized(_this), "listRefHandler", function(ref) {
|
|
174
|
-
return _this.list = ref;
|
|
175
|
-
});
|
|
176
|
-
_defineProperty(_assertThisInitialized(_this), "trackRefHandler", function(ref) {
|
|
177
|
-
return _this.track = ref;
|
|
178
|
-
});
|
|
179
|
-
_defineProperty(_assertThisInitialized(_this), "adaptHeight", function() {
|
|
180
|
-
if (_this.props.adaptiveHeight && _this.list) {
|
|
181
|
-
var elem = _this.list.querySelector('[data-index="'.concat(_this.state.currentSlide, '"]'));
|
|
182
|
-
_this.list.style.height = (0, _innerSliderUtils.getHeight)(elem) + "px";
|
|
183
|
-
}
|
|
184
|
-
});
|
|
185
|
-
_defineProperty(_assertThisInitialized(_this), "componentDidMount", function() {
|
|
186
|
-
_this.props.onInit && _this.props.onInit();
|
|
187
|
-
if (_this.props.lazyLoad) {
|
|
188
|
-
var slidesToLoad = (0, _innerSliderUtils.getOnDemandLazySlides)(_objectSpread(_objectSpread({}, _this.props), _this.state));
|
|
189
|
-
if (slidesToLoad.length > 0) {
|
|
190
|
-
_this.setState(function(prevState) {
|
|
191
|
-
return {
|
|
192
|
-
lazyLoadedList: prevState.lazyLoadedList.concat(slidesToLoad)
|
|
193
|
-
};
|
|
194
|
-
});
|
|
195
|
-
if (_this.props.onLazyLoad) {
|
|
196
|
-
_this.props.onLazyLoad(slidesToLoad);
|
|
197
|
-
}
|
|
198
|
-
}
|
|
199
|
-
}
|
|
200
|
-
var spec = _objectSpread({
|
|
201
|
-
listRef: _this.list,
|
|
202
|
-
trackRef: _this.track
|
|
203
|
-
}, _this.props);
|
|
204
|
-
_this.updateState(spec, true, function() {
|
|
205
|
-
_this.adaptHeight();
|
|
206
|
-
_this.props.autoplay && _this.autoPlay("update");
|
|
207
|
-
});
|
|
208
|
-
if (_this.props.lazyLoad === "progressive") {
|
|
209
|
-
_this.lazyLoadTimer = setInterval(_this.progressiveLazyLoad, 1e3);
|
|
210
|
-
}
|
|
211
|
-
_this.ro = new _resizeObserverPolyfill["default"](function() {
|
|
212
|
-
if (_this.state.animating) {
|
|
213
|
-
_this.onWindowResized(false);
|
|
214
|
-
_this.callbackTimers.push(setTimeout(function() {
|
|
215
|
-
return _this.onWindowResized();
|
|
216
|
-
}, _this.props.speed));
|
|
217
|
-
} else {
|
|
218
|
-
_this.onWindowResized();
|
|
219
|
-
}
|
|
220
|
-
});
|
|
221
|
-
_this.ro.observe(_this.list);
|
|
222
|
-
document.querySelectorAll && Array.prototype.forEach.call(document.querySelectorAll(".slick-slide"), function(slide) {
|
|
223
|
-
slide.onfocus = _this.props.pauseOnFocus ? _this.onSlideFocus : null;
|
|
224
|
-
slide.onblur = _this.props.pauseOnFocus ? _this.onSlideBlur : null;
|
|
225
|
-
});
|
|
226
|
-
if (window.addEventListener) {
|
|
227
|
-
window.addEventListener("resize", _this.onWindowResized);
|
|
228
|
-
} else {
|
|
229
|
-
window.attachEvent("onresize", _this.onWindowResized);
|
|
230
|
-
}
|
|
231
|
-
});
|
|
232
|
-
_defineProperty(_assertThisInitialized(_this), "componentWillUnmount", function() {
|
|
233
|
-
if (_this.animationEndCallback) {
|
|
234
|
-
clearTimeout(_this.animationEndCallback);
|
|
235
|
-
}
|
|
236
|
-
if (_this.lazyLoadTimer) {
|
|
237
|
-
clearInterval(_this.lazyLoadTimer);
|
|
238
|
-
}
|
|
239
|
-
if (_this.callbackTimers.length) {
|
|
240
|
-
_this.callbackTimers.forEach(function(timer) {
|
|
241
|
-
return clearTimeout(timer);
|
|
242
|
-
});
|
|
243
|
-
_this.callbackTimers = [];
|
|
244
|
-
}
|
|
245
|
-
if (window.addEventListener) {
|
|
246
|
-
window.removeEventListener("resize", _this.onWindowResized);
|
|
247
|
-
} else {
|
|
248
|
-
window.detachEvent("onresize", _this.onWindowResized);
|
|
249
|
-
}
|
|
250
|
-
if (_this.autoplayTimer) {
|
|
251
|
-
clearInterval(_this.autoplayTimer);
|
|
252
|
-
}
|
|
253
|
-
_this.ro.disconnect();
|
|
254
|
-
});
|
|
255
|
-
_defineProperty(_assertThisInitialized(_this), "componentDidUpdate", function(prevProps) {
|
|
256
|
-
_this.checkImagesLoad();
|
|
257
|
-
_this.props.onReInit && _this.props.onReInit();
|
|
258
|
-
if (_this.props.lazyLoad) {
|
|
259
|
-
var slidesToLoad = (0, _innerSliderUtils.getOnDemandLazySlides)(_objectSpread(_objectSpread({}, _this.props), _this.state));
|
|
260
|
-
if (slidesToLoad.length > 0) {
|
|
261
|
-
_this.setState(function(prevState) {
|
|
262
|
-
return {
|
|
263
|
-
lazyLoadedList: prevState.lazyLoadedList.concat(slidesToLoad)
|
|
264
|
-
};
|
|
265
|
-
});
|
|
266
|
-
if (_this.props.onLazyLoad) {
|
|
267
|
-
_this.props.onLazyLoad(slidesToLoad);
|
|
268
|
-
}
|
|
269
|
-
}
|
|
270
|
-
}
|
|
271
|
-
_this.adaptHeight();
|
|
272
|
-
var spec = _objectSpread(_objectSpread({
|
|
273
|
-
listRef: _this.list,
|
|
274
|
-
trackRef: _this.track
|
|
275
|
-
}, _this.props), _this.state);
|
|
276
|
-
var setTrackStyle = _this.didPropsChange(prevProps);
|
|
277
|
-
setTrackStyle && _this.updateState(spec, setTrackStyle, function() {
|
|
278
|
-
if (_this.state.currentSlide >= _react["default"].Children.count(_this.props.children)) {
|
|
279
|
-
_this.changeSlide({
|
|
280
|
-
message: "index",
|
|
281
|
-
index: _react["default"].Children.count(_this.props.children) - _this.props.slidesToShow,
|
|
282
|
-
currentSlide: _this.state.currentSlide
|
|
283
|
-
});
|
|
284
|
-
}
|
|
285
|
-
if (_this.props.autoplay) {
|
|
286
|
-
_this.autoPlay("update");
|
|
287
|
-
} else {
|
|
288
|
-
_this.pause("paused");
|
|
289
|
-
}
|
|
290
|
-
});
|
|
291
|
-
});
|
|
292
|
-
_defineProperty(_assertThisInitialized(_this), "onWindowResized", function(setTrackStyle) {
|
|
293
|
-
if (_this.debouncedResize) _this.debouncedResize.cancel();
|
|
294
|
-
_this.debouncedResize = (0, _lodash["default"])(function() {
|
|
295
|
-
return _this.resizeWindow(setTrackStyle);
|
|
296
|
-
}, 50);
|
|
297
|
-
_this.debouncedResize();
|
|
298
|
-
});
|
|
299
|
-
_defineProperty(_assertThisInitialized(_this), "resizeWindow", function() {
|
|
300
|
-
var setTrackStyle = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : true;
|
|
301
|
-
var isTrackMounted = Boolean(_this.track && _this.track.node);
|
|
302
|
-
if (!isTrackMounted) return;
|
|
303
|
-
var spec = _objectSpread(_objectSpread({
|
|
304
|
-
listRef: _this.list,
|
|
305
|
-
trackRef: _this.track
|
|
306
|
-
}, _this.props), _this.state);
|
|
307
|
-
_this.updateState(spec, setTrackStyle, function() {
|
|
308
|
-
if (_this.props.autoplay) _this.autoPlay("update");
|
|
309
|
-
else _this.pause("paused");
|
|
310
|
-
});
|
|
311
|
-
_this.setState({
|
|
312
|
-
animating: false
|
|
313
|
-
});
|
|
314
|
-
clearTimeout(_this.animationEndCallback);
|
|
315
|
-
delete _this.animationEndCallback;
|
|
316
|
-
});
|
|
317
|
-
_defineProperty(_assertThisInitialized(_this), "updateState", function(spec, setTrackStyle, callback) {
|
|
318
|
-
var updatedState = (0, _innerSliderUtils.initializedState)(spec);
|
|
319
|
-
spec = _objectSpread(_objectSpread(_objectSpread({}, spec), updatedState), {}, {
|
|
320
|
-
slideIndex: updatedState.currentSlide
|
|
321
|
-
});
|
|
322
|
-
var targetLeft = (0, _innerSliderUtils.getTrackLeft)(spec);
|
|
323
|
-
spec = _objectSpread(_objectSpread({}, spec), {}, {
|
|
324
|
-
left: targetLeft
|
|
325
|
-
});
|
|
326
|
-
var trackStyle = (0, _innerSliderUtils.getTrackCSS)(spec);
|
|
327
|
-
if (setTrackStyle || _react["default"].Children.count(_this.props.children) !== _react["default"].Children.count(spec.children)) {
|
|
328
|
-
updatedState["trackStyle"] = trackStyle;
|
|
329
|
-
}
|
|
330
|
-
_this.setState(updatedState, callback);
|
|
331
|
-
});
|
|
332
|
-
_defineProperty(_assertThisInitialized(_this), "ssrInit", function() {
|
|
333
|
-
if (_this.props.variableWidth) {
|
|
334
|
-
var _trackWidth = 0, _trackLeft = 0;
|
|
335
|
-
var childrenWidths = [];
|
|
336
|
-
var preClones = (0, _innerSliderUtils.getPreClones)(_objectSpread(_objectSpread(_objectSpread({}, _this.props), _this.state), {}, {
|
|
337
|
-
slideCount: _this.props.children.length
|
|
338
|
-
}));
|
|
339
|
-
var postClones = (0, _innerSliderUtils.getPostClones)(_objectSpread(_objectSpread(_objectSpread({}, _this.props), _this.state), {}, {
|
|
340
|
-
slideCount: _this.props.children.length
|
|
341
|
-
}));
|
|
342
|
-
_this.props.children.forEach(function(child) {
|
|
343
|
-
childrenWidths.push(child.props.style.width);
|
|
344
|
-
_trackWidth += child.props.style.width;
|
|
345
|
-
});
|
|
346
|
-
for (var i = 0; i < preClones; i++) {
|
|
347
|
-
_trackLeft += childrenWidths[childrenWidths.length - 1 - i];
|
|
348
|
-
_trackWidth += childrenWidths[childrenWidths.length - 1 - i];
|
|
349
|
-
}
|
|
350
|
-
for (var _i = 0; _i < postClones; _i++) {
|
|
351
|
-
_trackWidth += childrenWidths[_i];
|
|
352
|
-
}
|
|
353
|
-
for (var _i2 = 0; _i2 < _this.state.currentSlide; _i2++) {
|
|
354
|
-
_trackLeft += childrenWidths[_i2];
|
|
355
|
-
}
|
|
356
|
-
var _trackStyle = {
|
|
357
|
-
width: _trackWidth + "px",
|
|
358
|
-
left: -_trackLeft + "px"
|
|
359
|
-
};
|
|
360
|
-
if (_this.props.centerMode) {
|
|
361
|
-
var currentWidth = "".concat(childrenWidths[_this.state.currentSlide], "px");
|
|
362
|
-
_trackStyle.left = "calc(".concat(_trackStyle.left, " + (100% - ").concat(currentWidth, ") / 2 ) ");
|
|
363
|
-
}
|
|
364
|
-
return {
|
|
365
|
-
trackStyle: _trackStyle
|
|
366
|
-
};
|
|
367
|
-
}
|
|
368
|
-
var childrenCount = _react["default"].Children.count(_this.props.children);
|
|
369
|
-
var spec = _objectSpread(_objectSpread(_objectSpread({}, _this.props), _this.state), {}, {
|
|
370
|
-
slideCount: childrenCount
|
|
371
|
-
});
|
|
372
|
-
var slideCount = (0, _innerSliderUtils.getPreClones)(spec) + (0, _innerSliderUtils.getPostClones)(spec) + childrenCount;
|
|
373
|
-
var trackWidth = 100 / _this.props.slidesToShow * slideCount;
|
|
374
|
-
var slideWidth = 100 / slideCount;
|
|
375
|
-
var trackLeft = -slideWidth * ((0, _innerSliderUtils.getPreClones)(spec) + _this.state.currentSlide) * trackWidth / 100;
|
|
376
|
-
if (_this.props.centerMode) {
|
|
377
|
-
trackLeft += (100 - slideWidth * trackWidth / 100) / 2;
|
|
378
|
-
}
|
|
379
|
-
var trackStyle = {
|
|
380
|
-
width: trackWidth + "%",
|
|
381
|
-
left: trackLeft + "%"
|
|
382
|
-
};
|
|
383
|
-
return {
|
|
384
|
-
slideWidth: slideWidth + "%",
|
|
385
|
-
trackStyle
|
|
386
|
-
};
|
|
387
|
-
});
|
|
388
|
-
_defineProperty(_assertThisInitialized(_this), "checkImagesLoad", function() {
|
|
389
|
-
var images = _this.list && _this.list.querySelectorAll && _this.list.querySelectorAll(".slick-slide img") || [];
|
|
390
|
-
var imagesCount = images.length, loadedCount = 0;
|
|
391
|
-
Array.prototype.forEach.call(images, function(image) {
|
|
392
|
-
var handler = function handler2() {
|
|
393
|
-
return ++loadedCount && loadedCount >= imagesCount && _this.onWindowResized();
|
|
394
|
-
};
|
|
395
|
-
if (!image.onclick) {
|
|
396
|
-
image.onclick = function() {
|
|
397
|
-
return image.parentNode.focus();
|
|
398
|
-
};
|
|
399
|
-
} else {
|
|
400
|
-
var prevClickHandler = image.onclick;
|
|
401
|
-
image.onclick = function(e) {
|
|
402
|
-
prevClickHandler(e);
|
|
403
|
-
image.parentNode.focus();
|
|
404
|
-
};
|
|
405
|
-
}
|
|
406
|
-
if (!image.onload) {
|
|
407
|
-
if (_this.props.lazyLoad) {
|
|
408
|
-
image.onload = function() {
|
|
409
|
-
_this.adaptHeight();
|
|
410
|
-
_this.callbackTimers.push(setTimeout(_this.onWindowResized, _this.props.speed));
|
|
411
|
-
};
|
|
412
|
-
} else {
|
|
413
|
-
image.onload = handler;
|
|
414
|
-
image.onerror = function() {
|
|
415
|
-
handler();
|
|
416
|
-
_this.props.onLazyLoadError && _this.props.onLazyLoadError();
|
|
417
|
-
};
|
|
418
|
-
}
|
|
419
|
-
}
|
|
420
|
-
});
|
|
421
|
-
});
|
|
422
|
-
_defineProperty(_assertThisInitialized(_this), "progressiveLazyLoad", function() {
|
|
423
|
-
var slidesToLoad = [];
|
|
424
|
-
var spec = _objectSpread(_objectSpread({}, _this.props), _this.state);
|
|
425
|
-
for (var index = _this.state.currentSlide; index < _this.state.slideCount + (0, _innerSliderUtils.getPostClones)(spec); index++) {
|
|
426
|
-
if (_this.state.lazyLoadedList.indexOf(index) < 0) {
|
|
427
|
-
slidesToLoad.push(index);
|
|
428
|
-
break;
|
|
429
|
-
}
|
|
430
|
-
}
|
|
431
|
-
for (var _index = _this.state.currentSlide - 1; _index >= -(0, _innerSliderUtils.getPreClones)(spec); _index--) {
|
|
432
|
-
if (_this.state.lazyLoadedList.indexOf(_index) < 0) {
|
|
433
|
-
slidesToLoad.push(_index);
|
|
434
|
-
break;
|
|
435
|
-
}
|
|
436
|
-
}
|
|
437
|
-
if (slidesToLoad.length > 0) {
|
|
438
|
-
_this.setState(function(state) {
|
|
439
|
-
return {
|
|
440
|
-
lazyLoadedList: state.lazyLoadedList.concat(slidesToLoad)
|
|
441
|
-
};
|
|
442
|
-
});
|
|
443
|
-
if (_this.props.onLazyLoad) {
|
|
444
|
-
_this.props.onLazyLoad(slidesToLoad);
|
|
445
|
-
}
|
|
446
|
-
} else {
|
|
447
|
-
if (_this.lazyLoadTimer) {
|
|
448
|
-
clearInterval(_this.lazyLoadTimer);
|
|
449
|
-
delete _this.lazyLoadTimer;
|
|
450
|
-
}
|
|
451
|
-
}
|
|
452
|
-
});
|
|
453
|
-
_defineProperty(_assertThisInitialized(_this), "slideHandler", function(index) {
|
|
454
|
-
var dontAnimate = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : false;
|
|
455
|
-
var _this$props = _this.props, asNavFor = _this$props.asNavFor, beforeChange = _this$props.beforeChange, onLazyLoad = _this$props.onLazyLoad, speed = _this$props.speed, afterChange = _this$props.afterChange;
|
|
456
|
-
var currentSlide = _this.state.currentSlide;
|
|
457
|
-
var _slideHandler = (0, _innerSliderUtils.slideHandler)(_objectSpread(_objectSpread(_objectSpread({
|
|
458
|
-
index
|
|
459
|
-
}, _this.props), _this.state), {}, {
|
|
460
|
-
trackRef: _this.track,
|
|
461
|
-
useCSS: _this.props.useCSS && !dontAnimate
|
|
462
|
-
})), state = _slideHandler.state, nextState = _slideHandler.nextState;
|
|
463
|
-
if (!state) return;
|
|
464
|
-
beforeChange && beforeChange(currentSlide, state.currentSlide);
|
|
465
|
-
var slidesToLoad = state.lazyLoadedList.filter(function(value) {
|
|
466
|
-
return _this.state.lazyLoadedList.indexOf(value) < 0;
|
|
467
|
-
});
|
|
468
|
-
onLazyLoad && slidesToLoad.length > 0 && onLazyLoad(slidesToLoad);
|
|
469
|
-
if (!_this.props.waitForAnimate && _this.animationEndCallback) {
|
|
470
|
-
clearTimeout(_this.animationEndCallback);
|
|
471
|
-
afterChange && afterChange(currentSlide);
|
|
472
|
-
delete _this.animationEndCallback;
|
|
473
|
-
}
|
|
474
|
-
_this.setState(state, function() {
|
|
475
|
-
if (asNavFor && _this.asNavForIndex !== index) {
|
|
476
|
-
_this.asNavForIndex = index;
|
|
477
|
-
asNavFor.innerSlider.slideHandler(index);
|
|
478
|
-
}
|
|
479
|
-
if (!nextState) return;
|
|
480
|
-
_this.animationEndCallback = setTimeout(function() {
|
|
481
|
-
var animating = nextState.animating, firstBatch = _objectWithoutProperties(nextState, ["animating"]);
|
|
482
|
-
_this.setState(firstBatch, function() {
|
|
483
|
-
_this.callbackTimers.push(setTimeout(function() {
|
|
484
|
-
return _this.setState({
|
|
485
|
-
animating
|
|
486
|
-
});
|
|
487
|
-
}, 10));
|
|
488
|
-
afterChange && afterChange(state.currentSlide);
|
|
489
|
-
delete _this.animationEndCallback;
|
|
490
|
-
});
|
|
491
|
-
}, speed);
|
|
492
|
-
});
|
|
493
|
-
});
|
|
494
|
-
_defineProperty(_assertThisInitialized(_this), "changeSlide", function(options) {
|
|
495
|
-
var dontAnimate = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : false;
|
|
496
|
-
var spec = _objectSpread(_objectSpread({}, _this.props), _this.state);
|
|
497
|
-
var targetSlide = (0, _innerSliderUtils.changeSlide)(spec, options);
|
|
498
|
-
if (targetSlide !== 0 && !targetSlide) return;
|
|
499
|
-
if (dontAnimate === true) {
|
|
500
|
-
_this.slideHandler(targetSlide, dontAnimate);
|
|
501
|
-
} else {
|
|
502
|
-
_this.slideHandler(targetSlide);
|
|
503
|
-
}
|
|
504
|
-
_this.props.autoplay && _this.autoPlay("update");
|
|
505
|
-
if (_this.props.focusOnSelect) {
|
|
506
|
-
var nodes = _this.list.querySelectorAll(".slick-current");
|
|
507
|
-
nodes[0] && nodes[0].focus();
|
|
508
|
-
}
|
|
509
|
-
});
|
|
510
|
-
_defineProperty(_assertThisInitialized(_this), "clickHandler", function(e) {
|
|
511
|
-
if (_this.clickable === false) {
|
|
512
|
-
e.stopPropagation();
|
|
513
|
-
e.preventDefault();
|
|
514
|
-
}
|
|
515
|
-
_this.clickable = true;
|
|
516
|
-
});
|
|
517
|
-
_defineProperty(_assertThisInitialized(_this), "keyHandler", function(e) {
|
|
518
|
-
var dir = (0, _innerSliderUtils.keyHandler)(e, _this.props.accessibility, _this.props.rtl);
|
|
519
|
-
dir !== "" && _this.changeSlide({
|
|
520
|
-
message: dir
|
|
521
|
-
});
|
|
522
|
-
});
|
|
523
|
-
_defineProperty(_assertThisInitialized(_this), "selectHandler", function(options) {
|
|
524
|
-
_this.changeSlide(options);
|
|
525
|
-
});
|
|
526
|
-
_defineProperty(_assertThisInitialized(_this), "disableBodyScroll", function() {
|
|
527
|
-
var preventDefault = function preventDefault2(e) {
|
|
528
|
-
e = e || window.event;
|
|
529
|
-
if (e.preventDefault) e.preventDefault();
|
|
530
|
-
e.returnValue = false;
|
|
531
|
-
};
|
|
532
|
-
window.ontouchmove = preventDefault;
|
|
533
|
-
});
|
|
534
|
-
_defineProperty(_assertThisInitialized(_this), "enableBodyScroll", function() {
|
|
535
|
-
window.ontouchmove = null;
|
|
536
|
-
});
|
|
537
|
-
_defineProperty(_assertThisInitialized(_this), "swipeStart", function(e) {
|
|
538
|
-
if (_this.props.verticalSwiping) {
|
|
539
|
-
_this.disableBodyScroll();
|
|
540
|
-
}
|
|
541
|
-
var state = (0, _innerSliderUtils.swipeStart)(e, _this.props.swipe, _this.props.draggable);
|
|
542
|
-
state !== "" && _this.setState(state);
|
|
543
|
-
});
|
|
544
|
-
_defineProperty(_assertThisInitialized(_this), "swipeMove", function(e) {
|
|
545
|
-
var state = (0, _innerSliderUtils.swipeMove)(e, _objectSpread(_objectSpread(_objectSpread({}, _this.props), _this.state), {}, {
|
|
546
|
-
trackRef: _this.track,
|
|
547
|
-
listRef: _this.list,
|
|
548
|
-
slideIndex: _this.state.currentSlide
|
|
549
|
-
}));
|
|
550
|
-
if (!state) return;
|
|
551
|
-
if (state["swiping"]) {
|
|
552
|
-
_this.clickable = false;
|
|
553
|
-
}
|
|
554
|
-
_this.setState(state);
|
|
555
|
-
});
|
|
556
|
-
_defineProperty(_assertThisInitialized(_this), "swipeEnd", function(e) {
|
|
557
|
-
var state = (0, _innerSliderUtils.swipeEnd)(e, _objectSpread(_objectSpread(_objectSpread({}, _this.props), _this.state), {}, {
|
|
558
|
-
trackRef: _this.track,
|
|
559
|
-
listRef: _this.list,
|
|
560
|
-
slideIndex: _this.state.currentSlide
|
|
561
|
-
}));
|
|
562
|
-
if (!state) return;
|
|
563
|
-
var triggerSlideHandler = state["triggerSlideHandler"];
|
|
564
|
-
delete state["triggerSlideHandler"];
|
|
565
|
-
_this.setState(state);
|
|
566
|
-
if (triggerSlideHandler === void 0) return;
|
|
567
|
-
_this.slideHandler(triggerSlideHandler);
|
|
568
|
-
if (_this.props.verticalSwiping) {
|
|
569
|
-
_this.enableBodyScroll();
|
|
570
|
-
}
|
|
571
|
-
});
|
|
572
|
-
_defineProperty(_assertThisInitialized(_this), "touchEnd", function(e) {
|
|
573
|
-
_this.swipeEnd(e);
|
|
574
|
-
_this.clickable = true;
|
|
575
|
-
});
|
|
576
|
-
_defineProperty(_assertThisInitialized(_this), "slickPrev", function() {
|
|
577
|
-
_this.callbackTimers.push(setTimeout(function() {
|
|
578
|
-
return _this.changeSlide({
|
|
579
|
-
message: "previous"
|
|
580
|
-
});
|
|
581
|
-
}, 0));
|
|
582
|
-
});
|
|
583
|
-
_defineProperty(_assertThisInitialized(_this), "slickNext", function() {
|
|
584
|
-
_this.callbackTimers.push(setTimeout(function() {
|
|
585
|
-
return _this.changeSlide({
|
|
586
|
-
message: "next"
|
|
587
|
-
});
|
|
588
|
-
}, 0));
|
|
589
|
-
});
|
|
590
|
-
_defineProperty(_assertThisInitialized(_this), "slickGoTo", function(slide) {
|
|
591
|
-
var dontAnimate = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : false;
|
|
592
|
-
slide = Number(slide);
|
|
593
|
-
if (isNaN(slide)) return "";
|
|
594
|
-
_this.callbackTimers.push(setTimeout(function() {
|
|
595
|
-
return _this.changeSlide({
|
|
596
|
-
message: "index",
|
|
597
|
-
index: slide,
|
|
598
|
-
currentSlide: _this.state.currentSlide
|
|
599
|
-
}, dontAnimate);
|
|
600
|
-
}, 0));
|
|
601
|
-
});
|
|
602
|
-
_defineProperty(_assertThisInitialized(_this), "play", function() {
|
|
603
|
-
var nextIndex;
|
|
604
|
-
if (_this.props.rtl) {
|
|
605
|
-
nextIndex = _this.state.currentSlide - _this.props.slidesToScroll;
|
|
606
|
-
} else {
|
|
607
|
-
if ((0, _innerSliderUtils.canGoNext)(_objectSpread(_objectSpread({}, _this.props), _this.state))) {
|
|
608
|
-
nextIndex = _this.state.currentSlide + _this.props.slidesToScroll;
|
|
609
|
-
} else {
|
|
610
|
-
return false;
|
|
611
|
-
}
|
|
612
|
-
}
|
|
613
|
-
_this.slideHandler(nextIndex);
|
|
614
|
-
});
|
|
615
|
-
_defineProperty(_assertThisInitialized(_this), "autoPlay", function(playType) {
|
|
616
|
-
if (_this.autoplayTimer) {
|
|
617
|
-
clearInterval(_this.autoplayTimer);
|
|
618
|
-
}
|
|
619
|
-
var autoplaying = _this.state.autoplaying;
|
|
620
|
-
if (playType === "update") {
|
|
621
|
-
if (autoplaying === "hovered" || autoplaying === "focused" || autoplaying === "paused") {
|
|
622
|
-
return;
|
|
623
|
-
}
|
|
624
|
-
} else if (playType === "leave") {
|
|
625
|
-
if (autoplaying === "paused" || autoplaying === "focused") {
|
|
626
|
-
return;
|
|
627
|
-
}
|
|
628
|
-
} else if (playType === "blur") {
|
|
629
|
-
if (autoplaying === "paused" || autoplaying === "hovered") {
|
|
630
|
-
return;
|
|
631
|
-
}
|
|
632
|
-
}
|
|
633
|
-
_this.autoplayTimer = setInterval(_this.play, _this.props.autoplaySpeed + 50);
|
|
634
|
-
_this.setState({
|
|
635
|
-
autoplaying: "playing"
|
|
636
|
-
});
|
|
637
|
-
});
|
|
638
|
-
_defineProperty(_assertThisInitialized(_this), "pause", function(pauseType) {
|
|
639
|
-
if (_this.autoplayTimer) {
|
|
640
|
-
clearInterval(_this.autoplayTimer);
|
|
641
|
-
_this.autoplayTimer = null;
|
|
642
|
-
}
|
|
643
|
-
var autoplaying = _this.state.autoplaying;
|
|
644
|
-
if (pauseType === "paused") {
|
|
645
|
-
_this.setState({
|
|
646
|
-
autoplaying: "paused"
|
|
647
|
-
});
|
|
648
|
-
} else if (pauseType === "focused") {
|
|
649
|
-
if (autoplaying === "hovered" || autoplaying === "playing") {
|
|
650
|
-
_this.setState({
|
|
651
|
-
autoplaying: "focused"
|
|
652
|
-
});
|
|
653
|
-
}
|
|
654
|
-
} else {
|
|
655
|
-
if (autoplaying === "playing") {
|
|
656
|
-
_this.setState({
|
|
657
|
-
autoplaying: "hovered"
|
|
658
|
-
});
|
|
659
|
-
}
|
|
660
|
-
}
|
|
661
|
-
});
|
|
662
|
-
_defineProperty(_assertThisInitialized(_this), "onDotsOver", function() {
|
|
663
|
-
return _this.props.autoplay && _this.pause("hovered");
|
|
664
|
-
});
|
|
665
|
-
_defineProperty(_assertThisInitialized(_this), "onDotsLeave", function() {
|
|
666
|
-
return _this.props.autoplay && _this.state.autoplaying === "hovered" && _this.autoPlay("leave");
|
|
667
|
-
});
|
|
668
|
-
_defineProperty(_assertThisInitialized(_this), "onTrackOver", function() {
|
|
669
|
-
return _this.props.autoplay && _this.pause("hovered");
|
|
670
|
-
});
|
|
671
|
-
_defineProperty(_assertThisInitialized(_this), "onTrackLeave", function() {
|
|
672
|
-
return _this.props.autoplay && _this.state.autoplaying === "hovered" && _this.autoPlay("leave");
|
|
673
|
-
});
|
|
674
|
-
_defineProperty(_assertThisInitialized(_this), "onSlideFocus", function() {
|
|
675
|
-
return _this.props.autoplay && _this.pause("focused");
|
|
676
|
-
});
|
|
677
|
-
_defineProperty(_assertThisInitialized(_this), "onSlideBlur", function() {
|
|
678
|
-
return _this.props.autoplay && _this.state.autoplaying === "focused" && _this.autoPlay("blur");
|
|
679
|
-
});
|
|
680
|
-
_defineProperty(_assertThisInitialized(_this), "render", function() {
|
|
681
|
-
var className = (0, _classnames["default"])("slick-slider", _this.props.className, {
|
|
682
|
-
"slick-vertical": _this.props.vertical,
|
|
683
|
-
"slick-initialized": true
|
|
684
|
-
});
|
|
685
|
-
var spec = _objectSpread(_objectSpread({}, _this.props), _this.state);
|
|
686
|
-
var trackProps = (0, _innerSliderUtils.extractObject)(spec, ["fade", "cssEase", "speed", "infinite", "centerMode", "focusOnSelect", "currentSlide", "lazyLoad", "lazyLoadedList", "rtl", "slideWidth", "slideHeight", "listHeight", "vertical", "slidesToShow", "slidesToScroll", "slideCount", "trackStyle", "variableWidth", "unslick", "centerPadding", "targetSlide", "useCSS"]);
|
|
687
|
-
var pauseOnHover = _this.props.pauseOnHover;
|
|
688
|
-
trackProps = _objectSpread(_objectSpread({}, trackProps), {}, {
|
|
689
|
-
onMouseEnter: pauseOnHover ? _this.onTrackOver : null,
|
|
690
|
-
onMouseLeave: pauseOnHover ? _this.onTrackLeave : null,
|
|
691
|
-
onMouseOver: pauseOnHover ? _this.onTrackOver : null,
|
|
692
|
-
focusOnSelect: _this.props.focusOnSelect && _this.clickable ? _this.selectHandler : null
|
|
693
|
-
});
|
|
694
|
-
var dots;
|
|
695
|
-
if (_this.props.dots === true && _this.state.slideCount >= _this.props.slidesToShow) {
|
|
696
|
-
var dotProps = (0, _innerSliderUtils.extractObject)(spec, ["dotsClass", "slideCount", "slidesToShow", "currentSlide", "slidesToScroll", "clickHandler", "children", "customPaging", "infinite", "appendDots"]);
|
|
697
|
-
var pauseOnDotsHover = _this.props.pauseOnDotsHover;
|
|
698
|
-
dotProps = _objectSpread(_objectSpread({}, dotProps), {}, {
|
|
699
|
-
clickHandler: _this.changeSlide,
|
|
700
|
-
onMouseEnter: pauseOnDotsHover ? _this.onDotsLeave : null,
|
|
701
|
-
onMouseOver: pauseOnDotsHover ? _this.onDotsOver : null,
|
|
702
|
-
onMouseLeave: pauseOnDotsHover ? _this.onDotsLeave : null
|
|
703
|
-
});
|
|
704
|
-
dots = /* @__PURE__ */ _react["default"].createElement(_dots.Dots, dotProps);
|
|
705
|
-
}
|
|
706
|
-
var prevArrow, nextArrow;
|
|
707
|
-
var arrowProps = (0, _innerSliderUtils.extractObject)(spec, ["infinite", "centerMode", "currentSlide", "slideCount", "slidesToShow", "prevArrow", "nextArrow"]);
|
|
708
|
-
arrowProps.clickHandler = _this.changeSlide;
|
|
709
|
-
if (_this.props.arrows) {
|
|
710
|
-
prevArrow = /* @__PURE__ */ _react["default"].createElement(_arrows.PrevArrow, arrowProps);
|
|
711
|
-
nextArrow = /* @__PURE__ */ _react["default"].createElement(_arrows.NextArrow, arrowProps);
|
|
712
|
-
}
|
|
713
|
-
var verticalHeightStyle = null;
|
|
714
|
-
if (_this.props.vertical) {
|
|
715
|
-
verticalHeightStyle = {
|
|
716
|
-
height: _this.state.listHeight
|
|
717
|
-
};
|
|
718
|
-
}
|
|
719
|
-
var centerPaddingStyle = null;
|
|
720
|
-
if (_this.props.vertical === false) {
|
|
721
|
-
if (_this.props.centerMode === true) {
|
|
722
|
-
centerPaddingStyle = {
|
|
723
|
-
padding: "0px " + _this.props.centerPadding
|
|
724
|
-
};
|
|
725
|
-
}
|
|
726
|
-
} else {
|
|
727
|
-
if (_this.props.centerMode === true) {
|
|
728
|
-
centerPaddingStyle = {
|
|
729
|
-
padding: _this.props.centerPadding + " 0px"
|
|
730
|
-
};
|
|
731
|
-
}
|
|
732
|
-
}
|
|
733
|
-
var listStyle = _objectSpread(_objectSpread({}, verticalHeightStyle), centerPaddingStyle);
|
|
734
|
-
var touchMove = _this.props.touchMove;
|
|
735
|
-
var listProps = {
|
|
736
|
-
className: "slick-list",
|
|
737
|
-
style: listStyle,
|
|
738
|
-
onClick: _this.clickHandler,
|
|
739
|
-
onMouseDown: touchMove ? _this.swipeStart : null,
|
|
740
|
-
onMouseMove: _this.state.dragging && touchMove ? _this.swipeMove : null,
|
|
741
|
-
onMouseUp: touchMove ? _this.swipeEnd : null,
|
|
742
|
-
onMouseLeave: _this.state.dragging && touchMove ? _this.swipeEnd : null,
|
|
743
|
-
onTouchStart: touchMove ? _this.swipeStart : null,
|
|
744
|
-
onTouchMove: _this.state.dragging && touchMove ? _this.swipeMove : null,
|
|
745
|
-
onTouchEnd: touchMove ? _this.touchEnd : null,
|
|
746
|
-
onTouchCancel: _this.state.dragging && touchMove ? _this.swipeEnd : null,
|
|
747
|
-
onKeyDown: _this.props.accessibility ? _this.keyHandler : null
|
|
748
|
-
};
|
|
749
|
-
var innerSliderProps = {
|
|
750
|
-
className,
|
|
751
|
-
dir: "ltr",
|
|
752
|
-
style: _this.props.style
|
|
753
|
-
};
|
|
754
|
-
if (_this.props.unslick) {
|
|
755
|
-
listProps = {
|
|
756
|
-
className: "slick-list"
|
|
757
|
-
};
|
|
758
|
-
innerSliderProps = {
|
|
759
|
-
className,
|
|
760
|
-
style: _this.props.style
|
|
761
|
-
};
|
|
762
|
-
}
|
|
763
|
-
return /* @__PURE__ */ _react["default"].createElement("div", innerSliderProps, !_this.props.unslick ? prevArrow : "", /* @__PURE__ */ _react["default"].createElement("div", _extends({
|
|
764
|
-
ref: _this.listRefHandler
|
|
765
|
-
}, listProps), /* @__PURE__ */ _react["default"].createElement(_track.Track, _extends({
|
|
766
|
-
ref: _this.trackRefHandler
|
|
767
|
-
}, trackProps), _this.props.children)), !_this.props.unslick ? nextArrow : "", !_this.props.unslick ? dots : "");
|
|
768
|
-
});
|
|
769
|
-
_this.list = null;
|
|
770
|
-
_this.track = null;
|
|
771
|
-
_this.state = _objectSpread(_objectSpread({}, _initialState["default"]), {}, {
|
|
772
|
-
currentSlide: _this.props.initialSlide,
|
|
773
|
-
targetSlide: _this.props.initialSlide ? _this.props.initialSlide : 0,
|
|
774
|
-
slideCount: _react["default"].Children.count(_this.props.children)
|
|
775
|
-
});
|
|
776
|
-
_this.callbackTimers = [];
|
|
777
|
-
_this.clickable = true;
|
|
778
|
-
_this.debouncedResize = null;
|
|
779
|
-
var ssrState = _this.ssrInit();
|
|
780
|
-
_this.state = _objectSpread(_objectSpread({}, _this.state), ssrState);
|
|
781
|
-
return _this;
|
|
782
|
-
}
|
|
783
|
-
_createClass(InnerSlider, [{
|
|
784
|
-
key: "didPropsChange",
|
|
785
|
-
value: function didPropsChange(prevProps) {
|
|
786
|
-
var setTrackStyle = false;
|
|
787
|
-
for (var _i3 = 0, _Object$keys = Object.keys(this.props); _i3 < _Object$keys.length; _i3++) {
|
|
788
|
-
var key = _Object$keys[_i3];
|
|
789
|
-
if (!prevProps.hasOwnProperty(key)) {
|
|
790
|
-
setTrackStyle = true;
|
|
791
|
-
break;
|
|
792
|
-
}
|
|
793
|
-
if (_typeof(prevProps[key]) === "object" || typeof prevProps[key] === "function" || isNaN(prevProps[key])) {
|
|
794
|
-
continue;
|
|
795
|
-
}
|
|
796
|
-
if (prevProps[key] !== this.props[key]) {
|
|
797
|
-
setTrackStyle = true;
|
|
798
|
-
break;
|
|
799
|
-
}
|
|
800
|
-
}
|
|
801
|
-
return setTrackStyle || _react["default"].Children.count(this.props.children) !== _react["default"].Children.count(prevProps.children);
|
|
802
|
-
}
|
|
803
|
-
}]);
|
|
804
|
-
return InnerSlider;
|
|
805
|
-
})(_react["default"].Component);
|
|
806
|
-
return innerSlider;
|
|
807
|
-
}
|
|
808
|
-
export {
|
|
809
|
-
requireInnerSlider as __require
|
|
810
|
-
};
|