@stokr/components-library 0.5.4 → 0.5.5
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/build/asset-manifest.json +9 -0
- package/build/favicon.ico +0 -0
- package/build/index.html +1 -0
- package/build/logo192.png +0 -0
- package/build/logo512.png +0 -0
- package/build/manifest.json +25 -0
- package/build/robots.txt +3 -0
- package/build/static/js/main.31d6cfe0.js +0 -0
- package/dist/AccountBalance/AccountBalance.js +43 -0
- package/dist/AccountBalance/AccountBalance.stories.js +75 -0
- package/dist/AccountBalance/AccountBalance.styles.js +38 -0
- package/dist/AdminDashboard/Table/Table.js +120 -0
- package/dist/AdminDashboard/Table/Table.styles.js +111 -0
- package/dist/AgreementItem/AgreementItem.js +38 -0
- package/dist/AgreementItem/AgreementItem.stories.js +98 -0
- package/dist/AgreementItem/AgreementItem.styles.js +31 -0
- package/dist/AnalyticGraphs/Analytic.js +528 -0
- package/dist/AnalyticGraphs/Analytic.styles.js +49 -0
- package/dist/BackButton/BackButton.js +22 -0
- package/dist/BackButton/BackButton.stories.js +24 -0
- package/dist/BackButton/BackButton.styles.js +110 -0
- package/dist/Background/Background.js +34 -0
- package/dist/Background/Background.stories.js +50 -0
- package/dist/Background/Background.styles.js +113 -0
- package/dist/BarChart/BarChart.js +258 -0
- package/dist/BarChart/BarChart.stories.js +46 -0
- package/dist/BarChart/BarChart.styles.js +93 -0
- package/dist/BarChartLegend/BarChartLegend.js +74 -0
- package/dist/BarChartLegend/BarChartLegend.styles.js +26 -0
- package/dist/BasicTable/BasicTable.js +20 -0
- package/dist/BasicTable/BasicTable.stories.js +51 -0
- package/dist/BasicTable/BasicTable.styles.js +64 -0
- package/dist/Button/Button.stories.js +63 -0
- package/dist/Button/Button.styles.js +180 -0
- package/dist/ButtonContainer/ButtonContainer.styles.js +25 -0
- package/dist/CapitalRaisedSummary/CapitalRaisedSummery.stories.js +35 -0
- package/dist/CapitalRaisedSummary/CaptialRaisedSummary.js +23 -0
- package/dist/CapitalRaisedSummary/CaptialRaisedSummary.styles.js +36 -0
- package/dist/ChartBox/ChartBox.js +34 -0
- package/dist/ChartBox/ChartBox.stories.js +9 -0
- package/dist/ChartBox/ChartBox.styles.js +50 -0
- package/dist/ChartBox/ChartBoxDistribution.js +20 -0
- package/dist/ChartBox/ChartBoxDistribution.stories.js +10 -0
- package/dist/ChartLegend/ChartLegend.js +37 -0
- package/dist/ChartLegend/ChartLegend.stories.js +74 -0
- package/dist/ChartLegend/ChartLegend.styles.js +67 -0
- package/dist/Checkbox/Checkbox.js +108 -0
- package/dist/Checkbox/Checkbox.stories.js +82 -0
- package/dist/Checkbox/Checkbox.styles.js +123 -0
- package/dist/Checklist/UserChecklist.js +247 -0
- package/dist/Checklist/UserChecklist.stories.js +115 -0
- package/dist/ComponentScroll/ComponentScroll.js +99 -0
- package/dist/ComponentScroll/ComponentScroll.stories.js +92 -0
- package/dist/ComponentScroll/ComponentScroll.styles.js +104 -0
- package/dist/ComponentWrapper/ComponentWrapper.styles.js +128 -0
- package/dist/CryptoAddress/ComponentWrap.js +24 -0
- package/dist/CryptoAddress/CryptoAddress.js +124 -0
- package/dist/CryptoAddress/CryptoAddress.stories.js +163 -0
- package/dist/CryptoAddress/CryptoAddress.styles.js +399 -0
- package/dist/CryptoAddress/RadioWrap.js +36 -0
- package/dist/CryptoAddressDetails/CryptoAddressDetails.js +42 -0
- package/dist/CryptoAddressDetails/CryptoAddressDetails.stories.js +65 -0
- package/dist/CryptoAddressDetails/CryptoAddressDetails.styles.js +114 -0
- package/dist/CryptoAddressWrapper/CryptoAddressWrapper.js +30 -0
- package/dist/CryptoAddressWrapper/CryptoAddressWrapper.styles.js +98 -0
- package/dist/DonutChart/DonutChart.js +137 -0
- package/dist/DonutChart/DonutChart.stories.js +39 -0
- package/dist/DonutChart/DonutChart.styles.js +101 -0
- package/dist/DoubleButton/DoubleButton.styles.js +25 -0
- package/dist/ErrorMessage/ErrorMessage.styles.js +9 -0
- package/dist/FAQ/FAQ.js +40 -0
- package/dist/FAQ/FAQ.stories.js +63 -0
- package/dist/FAQ/FAQ.styles.js +69 -0
- package/dist/Footer/Footer.js +54 -0
- package/dist/Footer/Footer.stories.js +41 -0
- package/dist/Footer/Footer.styles.js +230 -0
- package/dist/Footer/FooterLayout.js +114 -0
- package/dist/Footer/FooterLayout.stories.js +20 -0
- package/dist/Footer/FooterMenu.js +83 -0
- package/dist/Footer/FooterMenu.stories.js +110 -0
- package/dist/Footer/FooterMenu.styles.js +274 -0
- package/dist/Footer/index.js +4 -0
- package/dist/{03f9f978feb2b015b6812ba10f689967.png → Footer/lemonway.png} +0 -0
- package/dist/Footer/sicos-logo.svg +1 -0
- package/dist/ForgotPasswordModal/ForgotPasswordModal.js +89 -0
- package/dist/ForgotPasswordModal/ForgotPasswordModal.stories.js +31 -0
- package/dist/Form/Form.js +38 -0
- package/dist/Form/Form.stories.js +24 -0
- package/dist/Form/Form.styles.js +66 -0
- package/dist/FullscreenCard/FullscreenCard.styles.js +36 -0
- package/dist/Grid/Grid.styles.js +109 -0
- package/dist/Header/Header.js +369 -0
- package/dist/Header/Header.stories.js +172 -0
- package/dist/Header/Header.styles.js +493 -0
- package/dist/Icon/Icon.style.js +75 -0
- package/dist/InfoIcon/InfoIcon.js +40 -0
- package/dist/InfoIcon/InfoIcon.stories.js +40 -0
- package/dist/InfoIcon/InfoIcon.styles.js +42 -0
- package/dist/InfoPanel/InfoPanel.js +115 -0
- package/dist/Input/DatePickerInput.js +64 -0
- package/dist/Input/DatePickerInput.stories.js +80 -0
- package/dist/Input/DatePickerInput.styles.js +67 -0
- package/dist/Input/Input.js +86 -0
- package/dist/Input/Input.stories.js +134 -0
- package/dist/Input/Input.styles.js +126 -0
- package/dist/Input/InputPassword.js +122 -0
- package/dist/Input/InputPassword.stories.js +72 -0
- package/dist/Input/InputPassword.styles.js +139 -0
- package/dist/Input/RangeInput.js +46 -0
- package/dist/Input/RangeInput.stories.js +48 -0
- package/dist/Input/RangeInput.styles.js +125 -0
- package/dist/Input/Select.js +130 -0
- package/dist/Input/Select.stories.js +129 -0
- package/dist/Input/Select.styles.js +143 -0
- package/dist/InvestCalculator/InvestCalculator.js +353 -0
- package/dist/InvestCalculator/InvestCalculator.stories.js +129 -0
- package/dist/InvestCalculator/InvestCalculator.styles.js +78 -0
- package/dist/InvestmentStat/InvestmentStat.js +33 -0
- package/dist/InvestmentStat/InvestmentStat.stories.js +44 -0
- package/dist/InvestmentStat/InvestmentStat.styles.js +53 -0
- package/dist/KYCFlow/BasicInfo.js +396 -0
- package/dist/KYCFlow/Confirmation.js +37 -0
- package/dist/KYCFlow/DocumentFileUpload.js +240 -0
- package/dist/KYCFlow/DocumentScan.js +66 -0
- package/dist/KYCFlow/DocumentScanUpload.js +228 -0
- package/dist/KYCFlow/DocumentSelect.js +101 -0
- package/dist/KYCFlow/DocumentSuccess.js +54 -0
- package/dist/KYCFlow/DocumentUpload.js +44 -0
- package/dist/KYCFlow/DocumentVerificationType.js +114 -0
- package/dist/KYCFlow/FaceScan.js +45 -0
- package/dist/KYCFlow/FaceScanRecognition.js +52 -0
- package/dist/KYCFlow/FaceScanSuccess.js +47 -0
- package/dist/KYCFlow/Terms.js +99 -0
- package/dist/KYCFlow/_styles.js +284 -0
- package/dist/KYCFlow/index.js +14 -0
- package/dist/KYCSelectBox/KYCSelectBox.styles.js +62 -0
- package/dist/LatestUpdate/LatestUpdate.js +35 -0
- package/dist/LatestUpdate/LatestUpdate.stories.js +51 -0
- package/dist/LatestUpdate/LatestUpdate.styles.js +77 -0
- package/dist/Layout/Layout-func-no-work.js +67 -0
- package/dist/Layout/Layout.js +68 -0
- package/dist/Layout/Layout.stories.js +55 -0
- package/dist/LearnMoreCarousel/LearnMoreCarousel.js +39 -0
- package/dist/LearnMoreCarousel/LearnMoreCarousel.stories.js +58 -0
- package/dist/LearnMoreCarousel/LearnMoreCarousel.styles.js +205 -0
- package/dist/LearnMorePage/LearnMore.js +199 -0
- package/dist/LearnMorePage/LearnMore.shared.styles.js +49 -0
- package/dist/LearnMorePage/LearnMore.stories.js +41 -0
- package/dist/LearnMorePage/LearnMore.styles.js +250 -0
- package/dist/LearnMorePage/LearnMoreExampleObject.js +102 -0
- package/dist/LearnMorePage/LearnMoreItem.js +59 -0
- package/dist/LearnMorePage/LearnMoreItem.stories.js +54 -0
- package/dist/LearnMorePage/LearnMoreItem.styles.js +218 -0
- package/dist/LearnMoreSection/LearnMore.js +144 -0
- package/dist/LearnMoreSection/LearnMore.stories.js +23 -0
- package/dist/LearnMoreSection/LearnMore.styles.js +134 -0
- package/dist/LearnMoreSection/LearnMoreItem.js +39 -0
- package/dist/LearnMoreSection/LearnMoreItem.stories.js +52 -0
- package/dist/LearnMoreSection/LearnMoreItem.styles.js +54 -0
- package/dist/LoginModal/LoginModal.js +125 -0
- package/dist/MainMenu/DynamicMainMenu.js +41 -0
- package/dist/MainMenu/MainMenu.js +207 -0
- package/dist/MainMenu/MainMenu.styles.js +361 -0
- package/dist/MatomoConnect/Matomo.js +221 -0
- package/dist/MatomoConnect/Matomo_fuckup.js +185 -0
- package/dist/MenuNav/MenuNav.styles.js +88 -0
- package/dist/Modal/Modal.js +71 -0
- package/dist/Modal/Modal.stories.js +67 -0
- package/dist/Modal/Modal.styles.js +407 -0
- package/dist/MultiProgressBar/MultiProgressBar.js +33 -0
- package/dist/MultiProgressBar/MultiProgressBar.stories.js +61 -0
- package/dist/MultiProgressBar/MultiProgressBar.styles.js +92 -0
- package/dist/Newsletter/Newsletter.js +106 -0
- package/dist/Newsletter/Newsletter.stories.js +8 -0
- package/dist/Newsletter/Newsletter.styles.js +173 -0
- package/dist/NotificationContext/NotificationContext.js +126 -0
- package/dist/NotificationContext/NotificationContext.stories.js +32 -0
- package/dist/NotificationCounter/NotificationCounter.styles.js +23 -0
- package/dist/Number/Number.js +25 -0
- package/dist/Number/Number.stories.js +18 -0
- package/dist/Number/Number.styles.js +21 -0
- package/dist/PageTransition/PageTransition.js +42 -0
- package/dist/Process/Process.stories.js +34 -0
- package/dist/Process/Process.styles.js +87 -0
- package/dist/ProfileBadge/ProfileBadge.js +46 -0
- package/dist/ProfileBadge/ProfileBadge.stories.js +37 -0
- package/dist/ProfileBadge/ProfileBadge.styles.js +47 -0
- package/dist/ProfileBox/ProfileBox.js +29 -0
- package/dist/ProfileBox/ProfileBox.stories.js +27 -0
- package/dist/ProfileBox/ProfileBox.styles.js +60 -0
- package/dist/ProfileHeader/ProfileHeader-CLb4.js +401 -0
- package/dist/ProfileHeader/ProfileHeader.js +268 -0
- package/dist/ProfileHeader/ProfileHeader.styles.js +114 -0
- package/dist/ProfileStat/ProfileStat.js +32 -0
- package/dist/ProfileStat/ProfileStat.stories.js +58 -0
- package/dist/ProfileStat/ProfileStat.styles.js +80 -0
- package/dist/ProofOfAddress/ProofOfAddress.styles.js +76 -0
- package/dist/ROI/ROI.js +261 -0
- package/dist/ROI/ROI.styles.js +71 -0
- package/dist/ROI/ROIChart.js +348 -0
- package/dist/ROI/ROIChart.styles.js +98 -0
- package/dist/ROI/ROIModal.js +74 -0
- package/dist/ROI/ROIScenarioBox.js +46 -0
- package/dist/ROI/ROIScenarioBox.styles.js +131 -0
- package/dist/Radio/Radio.js +58 -0
- package/dist/Radio/Radio.stories.js +65 -0
- package/dist/Radio/Radio.styles.js +93 -0
- package/dist/RefreshButton/RefreshButton.js +14 -0
- package/dist/RefreshButton/RefreshButton.stories.js +31 -0
- package/dist/RefreshButton/RefreshButton.styles.js +57 -0
- package/dist/RegisterAlgorand/AlgoAddressName.js +103 -0
- package/dist/RegisterAlgorand/AlgoAdressSelect.js +274 -0
- package/dist/RegisterAlgorand/AlgoConnectWallet.js +37 -0
- package/dist/RegisterAlgorand/AlgoSuccess.js +28 -0
- package/dist/RegisterAlgorand/Algorand.stories.js +63 -0
- package/dist/RegisterAlgorand/ChooseWallet.js +77 -0
- package/dist/RegisterAlgorand/SelectProject.js +77 -0
- package/dist/RegisterAlgorand/_styles.js +30 -0
- package/dist/RegisterAlgorand/flow.js +243 -0
- package/dist/RegisterAlgorand/flowWithMemo.js +244 -0
- package/dist/RegisterAlgorand/index.js +7 -0
- package/dist/RegisterConfirmModal/RegisterConfirmModal.js +30 -0
- package/dist/RegisterConfirmModal/RegisterConfirmModal.stories.js +22 -0
- package/dist/RegisterConfirmModal/RegisterConfirmModal.styles.js +19 -0
- package/dist/RegisterEthereum/EthAddressLedger.js +151 -0
- package/dist/RegisterEthereum/EthAddressMetamask.js +165 -0
- package/dist/RegisterEthereum/EthAddressName.js +101 -0
- package/dist/RegisterEthereum/EthConnectLedger.js +117 -0
- package/dist/RegisterEthereum/EthConnectMetamask.js +25 -0
- package/dist/RegisterEthereum/EthFinish.js +32 -0
- package/dist/RegisterEthereum/EthIntro.js +77 -0
- package/dist/RegisterEthereum/_styles.js +30 -0
- package/dist/RegisterEthereum/index.js +9 -0
- package/dist/RegisterLiquidSteps/RegisterLiquidSteps.js +75 -0
- package/dist/RegisterLiquidSteps/RegisterLiquidSteps.stories.js +65 -0
- package/dist/RegisterLiquidSteps/RegisterLiquidSteps.styles.js +69 -0
- package/dist/RegisterLiquidSteps/assets/nav_green.svg +31 -0
- package/dist/RegisterLiquidSteps/assets/video.mp4 +0 -0
- package/dist/RegisterLiquidSteps/assets/videothumbnail.jpg +0 -0
- package/dist/RegisterLiquidSteps/complete.js +29 -0
- package/dist/RegisterLiquidSteps/flow.js +141 -0
- package/dist/RegisterLiquidSteps/index.js +29 -0
- package/dist/RegisterLiquidSteps/register-liquid.js +197 -0
- package/dist/RegisterModal/RegisterModal.js +143 -0
- package/dist/RegisterModal/RegisterModal.stories.js +35 -0
- package/dist/RequestDataBox/RequestDataBox.js +21 -0
- package/dist/RequestDataBox/RequestDataBox.stories.js +29 -0
- package/dist/RequestDataBox/RequestDataBox.styles.js +40 -0
- package/dist/RiskQuestionnaire/RiskQuestionnaireContext.js +111 -0
- package/dist/RiskQuestionnaire/_styles.js +6 -0
- package/dist/SEO/SEO.js +63 -0
- package/dist/SEO/SEO.stories.js +53 -0
- package/dist/SectionTitle/SectionTitle.styles.js +23 -0
- package/dist/SideLine/SideLine.js +4 -0
- package/dist/SideLine/SideLine.stories.js +20 -0
- package/dist/SideLine/SideLine.styles.js +29 -0
- package/dist/SigningSubflow/SignSubAddressMetamask.js +105 -0
- package/dist/SigningSubflow/SignSubConnectLedger.js +114 -0
- package/dist/SigningSubflow/SignSubConnectMetamask.js +101 -0
- package/dist/SigningSubflow/SignSubIntro.js +45 -0
- package/dist/SigningSubflow/SignSubSendLedger.js +114 -0
- package/dist/SigningSubflow/SignSubSendMetamask.js +53 -0
- package/dist/SigningSubflow/SignSubTransactionLedger.js +125 -0
- package/dist/SigningSubflow/SignSubTransactionMetamask.js +130 -0
- package/dist/SigningSubflow/_styles.js +59 -0
- package/dist/SigningSubflow/index.js +9 -0
- package/dist/Slider/Slider.js +43 -0
- package/dist/Slider/Slider.stories.js +63 -0
- package/dist/Slider/Slider.styles.js +115 -0
- package/dist/SpanButton/SpanButton.styles.js +14 -0
- package/dist/StatusBadge/StatusBadge.styles.js +16 -0
- package/dist/StepController/StepController.js +73 -0
- package/dist/StepController/StepController.stories.js +52 -0
- package/dist/StepController/StepController.styles.js +27 -0
- package/dist/StepController/StepControllerContext.js +61 -0
- package/dist/StepController/StepControllerProgress.js +28 -0
- package/dist/StepController/StepControllerProgress.stories.js +41 -0
- package/dist/StepsProgress/StepsProgress.js +95 -0
- package/dist/StepsProgress/StepsProgress.stories.js +23 -0
- package/dist/StepsProgress/StepsProgress.styles.js +97 -0
- package/dist/StokrLoader/StokrLoader.js +60 -0
- package/dist/StokrLoader/media.js +22 -0
- package/dist/StokrLoader/stokr_loader_white_400x400.gif +0 -0
- package/dist/SvgIcons/AdminBadgeSvg.js +16 -0
- package/dist/SvgIcons/CameraSvg.js +26 -0
- package/dist/SvgIcons/CapsLockSvg.js +21 -0
- package/dist/SvgIcons/DocumentBackSvg.js +25 -0
- package/dist/SvgIcons/DocumentSmallSvg.js +51 -0
- package/dist/SvgIcons/DocumentSvg.js +28 -0
- package/dist/SvgIcons/Early.js +14 -0
- package/dist/SvgIcons/EthSvg.js +30 -0
- package/dist/SvgIcons/EurSvg.js +16 -0
- package/dist/SvgIcons/FaceScanIconSvg.js +21 -0
- package/dist/SvgIcons/FourSvg.js +11 -0
- package/dist/SvgIcons/Glassess.js +19 -0
- package/dist/SvgIcons/Icons_Badge.png +0 -0
- package/dist/SvgIcons/LogoSvg.js +14 -0
- package/dist/SvgIcons/OneSvg.js +13 -0
- package/dist/SvgIcons/PassportSvg.js +46 -0
- package/dist/SvgIcons/RefreshSvg.js +17 -0
- package/dist/SvgIcons/SocialFacebook.js +15 -0
- package/dist/SvgIcons/SocialInstagram.js +15 -0
- package/dist/SvgIcons/SocialLinkedIn.js +15 -0
- package/dist/SvgIcons/SocialMedium.js +15 -0
- package/dist/SvgIcons/SocialReddit.js +15 -0
- package/dist/SvgIcons/SocialTelegram.js +15 -0
- package/dist/SvgIcons/SocialTwitter.js +15 -0
- package/dist/SvgIcons/SocialYoutube.js +15 -0
- package/dist/SvgIcons/ThreeSvg.js +10 -0
- package/dist/SvgIcons/TwoSidedDocumentSvg.js +72 -0
- package/dist/SvgIcons/TwoSvg.js +13 -0
- package/dist/SvgIcons/UpdateDefaultSvg.js +19 -0
- package/dist/SvgIcons/UpdateHardSvg.js +15 -0
- package/dist/SvgIcons/UpdateSoftSvg.js +17 -0
- package/dist/SvgIcons/UploadSvg.js +24 -0
- package/dist/SvgIcons/VerifiedBadge.js +13 -0
- package/dist/SvgIcons/index.js +32 -0
- package/dist/Switch/Switch.js +45 -0
- package/dist/Switch/Switch.stories.js +73 -0
- package/dist/Switch/Switch.styles.js +105 -0
- package/dist/Tabs/Tabs.js +48 -0
- package/dist/Tabs/Tabs.stories.js +28 -0
- package/dist/Tabs/Tabs.styles.js +11 -0
- package/dist/TabsNav/TabNav.js +21 -0
- package/dist/TabsNav/TabNav.stories.js +32 -0
- package/dist/TabsNav/TabsNav.js +23 -0
- package/dist/TabsNav/TabsNav.stories.js +25 -0
- package/dist/TabsNav/TabsNav.styles.js +80 -0
- package/dist/TeamOverview/TeamOverview.js +69 -0
- package/dist/TeamOverview/TeamOverview.stories.js +68 -0
- package/dist/TeamOverview/TeamOverview.styles.js +152 -0
- package/dist/Text/Headline.js +34 -0
- package/dist/Text/Headline.stories.js +40 -0
- package/dist/Text/StyledText.js +30 -0
- package/dist/Text/Text.stories.js +59 -0
- package/dist/Text/Text.styles.js +166 -0
- package/dist/TextLink/TextLink.styles.js +50 -0
- package/dist/ToDoList/ToDoList.js +172 -0
- package/dist/ToDoList/ToDoList.stories.js +123 -0
- package/dist/ToDoList/ToDoList.styles.js +115 -0
- package/dist/ToDoList/ToDoListTask.js +96 -0
- package/dist/ToDoList/ToDoListTask.stories.js +60 -0
- package/dist/ToDoList/ToDoListTask.styles.js +104 -0
- package/dist/TransactionDetails/TransactionDetails.js +27 -0
- package/dist/TransactionDetails/TransactionDetails.stories.js +47 -0
- package/dist/TransactionDetails/TransactionDetails.styles.js +31 -0
- package/dist/TransactionInfo/TransactionInfo.js +48 -0
- package/dist/TransactionInfo/TransactionInfo.stories.js +53 -0
- package/dist/TransactionInfo/TransactionInfo.styles.js +64 -0
- package/dist/TwoFactorModal/TwoFactorModal.js +84 -0
- package/dist/breakdown/Breakdown.js +124 -0
- package/dist/breakdown/index.js +2 -0
- package/dist/context/Auth.js +133 -0
- package/dist/context/AuthContext.js +154 -0
- package/dist/icons/Arrow.js +62 -0
- package/dist/icons/Arrow.stories.js +37 -0
- package/dist/icons/ArrowSimple.js +51 -0
- package/dist/icons/ArrowSimple.stories.js +41 -0
- package/dist/icons/Check.js +29 -0
- package/dist/icons/Check.stories.js +14 -0
- package/dist/icons/Facebook.js +15 -0
- package/dist/icons/Facebook.stories.js +15 -0
- package/dist/icons/Info.js +41 -0
- package/dist/icons/Info.stories.js +8 -0
- package/dist/icons/Instagram.js +15 -0
- package/dist/icons/Instagram.stories.js +15 -0
- package/dist/icons/LinkIcon.js +23 -0
- package/dist/icons/LinkIcon.stories.js +15 -0
- package/dist/icons/LinkedIn.js +29 -0
- package/dist/icons/LinkedIn.stories.js +8 -0
- package/dist/icons/Medium.js +28 -0
- package/dist/icons/Medium.stories.js +8 -0
- package/dist/icons/Reddit.js +18 -0
- package/dist/icons/Reddit.stories.js +15 -0
- package/dist/icons/Share.js +48 -0
- package/dist/icons/Share.stories.js +8 -0
- package/dist/icons/Telegram.js +28 -0
- package/dist/icons/Telegram.stories.js +8 -0
- package/dist/icons/Twitter.js +15 -0
- package/dist/icons/Twitter.stories.js +15 -0
- package/dist/icons/X.js +15 -0
- package/dist/icons/X.stories.js +8 -0
- package/dist/icons/Youtube.js +15 -0
- package/dist/icons/Youtube.stories.js +15 -0
- package/dist/icons/index.js +15 -0
- package/dist/index.js +177 -1
- package/dist/renderToBody/index.js +2 -0
- package/dist/renderToBody/renderToBody.js +26 -0
- package/dist/taxId/TaxId.stories.js +31 -0
- package/dist/taxId/complete.js +21 -0
- package/dist/taxId/flow.js +31 -0
- package/dist/taxId/index.js +4 -0
- package/dist/taxId/register-taxid.js +156 -0
- package/dist/video/Video.js +274 -0
- package/dist/video/Video.stories.js +45 -0
- package/dist/video/img/play-btn.svg +1 -0
- package/dist/video/index.js +2 -0
- package/package.json +128 -133
- package/public/favicon.ico +0 -0
- package/public/index.html +43 -0
- package/public/logo192.png +0 -0
- package/public/logo512.png +0 -0
- package/public/manifest.json +25 -0
- package/public/robots.txt +3 -0
- package/dist/07233f511246c9825a0d58e5ab2641f3.svg +0 -47
- package/dist/08418fc6c324f51f7e56.svg +0 -1
- package/dist/14aa35d4e84aebef77cf00b421fc393a.gif +0 -0
- package/dist/179ef2df02cb0b68c9fd.woff2 +0 -0
- package/dist/21e493d43617de76dbc7.woff2 +0 -0
- package/dist/2640959b1f9381cde047.eot +0 -0
- package/dist/2ba2db4ff86a2663686a100e75b50ba9.png +0 -0
- package/dist/311956ded96d3fd2813d.woff2 +0 -0
- package/dist/39f5961b2d3eb4aa5bf5.woff +0 -0
- package/dist/3caa0d4f9b7d58668066.woff2 +0 -0
- package/dist/4a510354f2f82b59fced805a8e3fe2bf.svg +0 -1
- package/dist/4c3c428d0ce82f840710.woff +0 -0
- package/dist/4e528d6445ca1974c313.woff +0 -0
- package/dist/55053cc0a8e6482eca64.ttf +0 -0
- package/dist/643c37f102b41f7f90c3.woff2 +0 -0
- package/dist/76dd0ed9c3f137513fd4.svg +0 -1
- package/dist/81f3ef07b7952e249da1.woff +0 -0
- package/dist/98b7d3182f652f021bc3.ttf +0 -0
- package/dist/9bea22b57dc165ed4382.ttf +0 -0
- package/dist/9ec738fbb66068dc1ca7.woff +0 -0
- package/dist/a1d7666a48f976227722.ttf +0 -0
- package/dist/a750292d6a0b5a760679.woff +0 -0
- package/dist/b85a961d44cc55c58050cbf7c53dd505.png +0 -0
- package/dist/bcb6531cf820152b7538.ttf +0 -0
- package/dist/c6a4bc1bd034d6303053.woff +0 -0
- package/dist/cbfc24090ef8bacab132.woff2 +0 -0
- package/dist/d2b1865643b98c0e8b54.ttf +0 -0
- package/dist/d97d7385fe8771611848.ttf +0 -0
- package/dist/index.js.LICENSE.txt +0 -1
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import React, { useEffect } from 'react';
|
|
2
|
+
import PropTypes from 'prop-types';
|
|
3
|
+
import { connect } from 'formik';
|
|
4
|
+
import { Row, Column } from 'components/Grid/Grid.styles';
|
|
5
|
+
import SectionTitle from 'components/SectionTitle/SectionTitle.styles';
|
|
6
|
+
import { RefreshSvg } from 'components/SvgIcons';
|
|
7
|
+
import { Wrapper, Header, Body, HeaderTitle, ColumnInner, RetakeButton, DoneButton, BodyTitle, Mask } from './_styles';
|
|
8
|
+
const getSectionTitle = scanItem => {
|
|
9
|
+
switch (scanItem) {
|
|
10
|
+
case 'passportPicture':
|
|
11
|
+
return 'Scan identity page';
|
|
12
|
+
case 'cardFrontPicture':
|
|
13
|
+
return 'Scan front of ID card';
|
|
14
|
+
case 'cardBackPicture':
|
|
15
|
+
return 'Scan back of ID card';
|
|
16
|
+
default:
|
|
17
|
+
return '';
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
const DocumentScan = ({
|
|
21
|
+
changeStep,
|
|
22
|
+
setPrevStep,
|
|
23
|
+
scanItem,
|
|
24
|
+
formik
|
|
25
|
+
}) => {
|
|
26
|
+
useEffect(() => {
|
|
27
|
+
setPrevStep('kycDocumentScan');
|
|
28
|
+
}, []);
|
|
29
|
+
const {
|
|
30
|
+
setFieldValue
|
|
31
|
+
} = formik;
|
|
32
|
+
return /*#__PURE__*/React.createElement(Wrapper, null, /*#__PURE__*/React.createElement(Header, null, /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(SectionTitle, null, "DOCUMENT RECOGNITION"), /*#__PURE__*/React.createElement(HeaderTitle, {
|
|
33
|
+
withMargin: true
|
|
34
|
+
}, getSectionTitle(scanItem)))), /*#__PURE__*/React.createElement(Body, {
|
|
35
|
+
noHorizontalPadding: true
|
|
36
|
+
}, /*#__PURE__*/React.createElement(Row, {
|
|
37
|
+
center: true,
|
|
38
|
+
stretch: true
|
|
39
|
+
}, /*#__PURE__*/React.createElement(Column, {
|
|
40
|
+
part: 3
|
|
41
|
+
}, /*#__PURE__*/React.createElement(ColumnInner, {
|
|
42
|
+
verticalCenter: true
|
|
43
|
+
}, /*#__PURE__*/React.createElement(BodyTitle, {
|
|
44
|
+
faceScan: true
|
|
45
|
+
}, "RETAKE"), /*#__PURE__*/React.createElement(RetakeButton, null, /*#__PURE__*/React.createElement(RefreshSvg, null)))), /*#__PURE__*/React.createElement(Column, {
|
|
46
|
+
part: 10
|
|
47
|
+
}, /*#__PURE__*/React.createElement(Mask, null)), /*#__PURE__*/React.createElement(Column, {
|
|
48
|
+
part: 3
|
|
49
|
+
}, /*#__PURE__*/React.createElement(ColumnInner, {
|
|
50
|
+
verticalCenter: true
|
|
51
|
+
}, /*#__PURE__*/React.createElement(BodyTitle, {
|
|
52
|
+
faceScan: true
|
|
53
|
+
}, "DONE"), /*#__PURE__*/React.createElement(DoneButton, {
|
|
54
|
+
onClick: () => {
|
|
55
|
+
setFieldValue(scanItem, 'TODO: GET PHOTO FROM CAMERA');
|
|
56
|
+
changeStep('kycDocumentScan');
|
|
57
|
+
}
|
|
58
|
+
}))))));
|
|
59
|
+
};
|
|
60
|
+
DocumentScan.propTypes = {
|
|
61
|
+
changeStep: PropTypes.func.isRequired,
|
|
62
|
+
setPrevStep: PropTypes.func.isRequired,
|
|
63
|
+
scanItem: PropTypes.string.isRequired,
|
|
64
|
+
formik: PropTypes.instanceOf(Object).isRequired
|
|
65
|
+
};
|
|
66
|
+
export default connect(DocumentScan);
|
|
@@ -0,0 +1,228 @@
|
|
|
1
|
+
import React, { PureComponent, Fragment } from 'react';
|
|
2
|
+
import PropTypes from 'prop-types';
|
|
3
|
+
import { connect, Field } from 'formik';
|
|
4
|
+
import { Tooltip } from 'react-tippy';
|
|
5
|
+
import Text from 'components/Text/Text.styles';
|
|
6
|
+
import Button from 'components/Button/Button.styles';
|
|
7
|
+
import { Row, Column } from 'components/Grid/Grid.styles';
|
|
8
|
+
import { PassportSvg, DocumentSmallSvg, DocumentBackSvg } from 'components/SvgIcons';
|
|
9
|
+
import ComponentWrapper from 'components/ComponentWrapper/ComponentWrapper.styles';
|
|
10
|
+
import ComponentScroll from 'components/ComponentScroll/ComponentScroll';
|
|
11
|
+
import SectionTitle from 'components/SectionTitle/SectionTitle.styles';
|
|
12
|
+
import { Wrapper, Header, HeaderButtonWrapper, Body, HeaderTitle, BodyTitle, ColumnInner, SuccessMark } from './_styles';
|
|
13
|
+
import { DocumentSelectEnum } from './DocumentSelect';
|
|
14
|
+
class DocumentScanUpload extends PureComponent {
|
|
15
|
+
state = {
|
|
16
|
+
popupOpen: false
|
|
17
|
+
};
|
|
18
|
+
componentDidMount() {
|
|
19
|
+
const {
|
|
20
|
+
setPrevStep
|
|
21
|
+
} = this.props;
|
|
22
|
+
setPrevStep('kycDocumentVerificationType');
|
|
23
|
+
}
|
|
24
|
+
handlePopup = isOpen => {
|
|
25
|
+
const {
|
|
26
|
+
formik
|
|
27
|
+
} = this.props;
|
|
28
|
+
const {
|
|
29
|
+
values
|
|
30
|
+
} = formik;
|
|
31
|
+
const canGoNext = values.documentType === DocumentSelectEnum.PASSPORT ? !!values.passportPicture : !!values.cardFrontPicture && !!values.cardBackPicture;
|
|
32
|
+
this.validate();
|
|
33
|
+
this.setState({
|
|
34
|
+
popupOpen: !canGoNext ? isOpen : false
|
|
35
|
+
});
|
|
36
|
+
};
|
|
37
|
+
handleFileUpload = (e, fieldName) => {
|
|
38
|
+
const {
|
|
39
|
+
formik
|
|
40
|
+
} = this.props;
|
|
41
|
+
const {
|
|
42
|
+
setFieldValue
|
|
43
|
+
} = formik;
|
|
44
|
+
if (!e.target.files) {
|
|
45
|
+
return;
|
|
46
|
+
}
|
|
47
|
+
setFieldValue(fieldName, e.target.files[0]);
|
|
48
|
+
};
|
|
49
|
+
removeFile = fieldName => {
|
|
50
|
+
const {
|
|
51
|
+
formik
|
|
52
|
+
} = this.props;
|
|
53
|
+
const {
|
|
54
|
+
setFieldValue
|
|
55
|
+
} = formik;
|
|
56
|
+
setFieldValue(fieldName, '');
|
|
57
|
+
};
|
|
58
|
+
validate = () => {
|
|
59
|
+
const {
|
|
60
|
+
formik
|
|
61
|
+
} = this.props;
|
|
62
|
+
const {
|
|
63
|
+
validationSchema,
|
|
64
|
+
values,
|
|
65
|
+
setFieldError
|
|
66
|
+
} = formik;
|
|
67
|
+
const fieldNames = ['passportPicture', 'cardFrontPicture', 'cardBackPicture'];
|
|
68
|
+
try {
|
|
69
|
+
validationSchema.validateSync(values, {
|
|
70
|
+
abortEarly: false
|
|
71
|
+
});
|
|
72
|
+
} catch (validateError) {
|
|
73
|
+
const errors = validateError.inner.filter(error => fieldNames.includes(error.path));
|
|
74
|
+
errors.forEach(error => {
|
|
75
|
+
setFieldError(error.path, error.errors[0]);
|
|
76
|
+
});
|
|
77
|
+
}
|
|
78
|
+
};
|
|
79
|
+
render() {
|
|
80
|
+
const {
|
|
81
|
+
changeStep,
|
|
82
|
+
formik,
|
|
83
|
+
setScanItem
|
|
84
|
+
} = this.props;
|
|
85
|
+
const {
|
|
86
|
+
values,
|
|
87
|
+
errors
|
|
88
|
+
} = formik;
|
|
89
|
+
const {
|
|
90
|
+
popupOpen
|
|
91
|
+
} = this.state;
|
|
92
|
+
const canGoNext = values.documentType === DocumentSelectEnum.PASSPORT ? !!values.passportPicture : !!values.cardFrontPicture && !!values.cardBackPicture;
|
|
93
|
+
return /*#__PURE__*/React.createElement(Wrapper, null, /*#__PURE__*/React.createElement(Header, null, /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(SectionTitle, null, "Verify your identity"), /*#__PURE__*/React.createElement(HeaderTitle, {
|
|
94
|
+
withMargin: true
|
|
95
|
+
}, "Upload Picture")), /*#__PURE__*/React.createElement(HeaderButtonWrapper, null, /*#__PURE__*/React.createElement(Tooltip, {
|
|
96
|
+
open: popupOpen,
|
|
97
|
+
position: "bottom",
|
|
98
|
+
title: values.documentType === DocumentSelectEnum.PASSPORT ? errors.passportPicture : errors.cardFrontPicture || errors.cardBackPicture,
|
|
99
|
+
theme: "light",
|
|
100
|
+
arrow: true,
|
|
101
|
+
duration: 200
|
|
102
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
103
|
+
onMouseEnter: () => this.handlePopup(true),
|
|
104
|
+
onMouseLeave: () => this.handlePopup(false)
|
|
105
|
+
}, /*#__PURE__*/React.createElement(Button, {
|
|
106
|
+
onClick: () => changeStep('kycDocumentSuccess'),
|
|
107
|
+
disabled: !canGoNext
|
|
108
|
+
}, "Next"))))), /*#__PURE__*/React.createElement(Body, {
|
|
109
|
+
noVerticalPadding: true
|
|
110
|
+
}, values.documentType === DocumentSelectEnum.PASSPORT && /*#__PURE__*/React.createElement(Row, {
|
|
111
|
+
stretch: true
|
|
112
|
+
}, /*#__PURE__*/React.createElement(Column, {
|
|
113
|
+
part: 8
|
|
114
|
+
}, /*#__PURE__*/React.createElement(ColumnInner, {
|
|
115
|
+
verticalPadding: true,
|
|
116
|
+
verticalCenter: true
|
|
117
|
+
}, /*#__PURE__*/React.createElement(BodyTitle, null, "PASSPORT"), /*#__PURE__*/React.createElement(ComponentWrapper, {
|
|
118
|
+
center: true
|
|
119
|
+
}, /*#__PURE__*/React.createElement(PassportSvg, null)), /*#__PURE__*/React.createElement(ComponentWrapper, {
|
|
120
|
+
noPaddingVertical: true,
|
|
121
|
+
center: true
|
|
122
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
123
|
+
center: true
|
|
124
|
+
}, /*#__PURE__*/React.createElement("p", null, "Please scan the identity page with your photo on it"))), /*#__PURE__*/React.createElement(ComponentWrapper, {
|
|
125
|
+
noPaddingTop: true,
|
|
126
|
+
center: true
|
|
127
|
+
}, /*#__PURE__*/React.createElement(Field, {
|
|
128
|
+
name: "passportPicture",
|
|
129
|
+
validate: this.validate
|
|
130
|
+
}, ({
|
|
131
|
+
field
|
|
132
|
+
}) => /*#__PURE__*/React.createElement(Fragment, null, /*#__PURE__*/React.createElement(SuccessMark, {
|
|
133
|
+
isHidden: !field.value
|
|
134
|
+
}), /*#__PURE__*/React.createElement(Button, {
|
|
135
|
+
center: true,
|
|
136
|
+
minWidth: "188px",
|
|
137
|
+
onClick: () => {
|
|
138
|
+
setScanItem(field.name);
|
|
139
|
+
changeStep('kycDocumentCameraScan');
|
|
140
|
+
}
|
|
141
|
+
}, "Scan Document")))))), /*#__PURE__*/React.createElement(Column, {
|
|
142
|
+
part: 8
|
|
143
|
+
}, /*#__PURE__*/React.createElement(ColumnInner, {
|
|
144
|
+
verticalPadding: true
|
|
145
|
+
}, /*#__PURE__*/React.createElement(ComponentScroll, {
|
|
146
|
+
noMobileScroll: true
|
|
147
|
+
}, /*#__PURE__*/React.createElement(ComponentWrapper, {
|
|
148
|
+
noPaddingVertical: true
|
|
149
|
+
}, /*#__PURE__*/React.createElement(Text, null, /*#__PURE__*/React.createElement("p", null, "Make sure that your personal information is readable. Also, nothing on the document should be covered or censored"), /*#__PURE__*/React.createElement("p", null, "Be careful that none of your fingers are covering the document, and that all of the document is visible and contrasted against the background."), /*#__PURE__*/React.createElement("p", null, "Ensure that the document is in focus. Avoid bad lighting conditions which can lead to motion blur and image noise."), /*#__PURE__*/React.createElement("p", null, "The surface of the background should be evenly lit. The ID document should not present perspective distortion."), /*#__PURE__*/React.createElement("p", null, "If your photo or scan is not of high enough quality, we will request a better copy."))))))), values.documentType === DocumentSelectEnum.TWO_SIDED_DOCUMENT && /*#__PURE__*/React.createElement(Row, {
|
|
150
|
+
stretch: true
|
|
151
|
+
}, /*#__PURE__*/React.createElement(Column, {
|
|
152
|
+
part: 8
|
|
153
|
+
}, /*#__PURE__*/React.createElement(ColumnInner, null, /*#__PURE__*/React.createElement(Row, {
|
|
154
|
+
stretch: true
|
|
155
|
+
}, /*#__PURE__*/React.createElement(Column, {
|
|
156
|
+
part: 8
|
|
157
|
+
}, /*#__PURE__*/React.createElement(ColumnInner, {
|
|
158
|
+
verticalPadding: true,
|
|
159
|
+
verticalCenter: true
|
|
160
|
+
}, /*#__PURE__*/React.createElement(BodyTitle, null, "UPLOAD CARD FRONT"), /*#__PURE__*/React.createElement(ComponentWrapper, {
|
|
161
|
+
center: true
|
|
162
|
+
}, /*#__PURE__*/React.createElement(DocumentSmallSvg, null)), /*#__PURE__*/React.createElement(ComponentWrapper, {
|
|
163
|
+
noPadding: true,
|
|
164
|
+
center: true
|
|
165
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
166
|
+
center: true
|
|
167
|
+
}, /*#__PURE__*/React.createElement("p", null, "With your picture"))), /*#__PURE__*/React.createElement(ComponentWrapper, {
|
|
168
|
+
noPadding: true,
|
|
169
|
+
center: true
|
|
170
|
+
}, /*#__PURE__*/React.createElement(Field, {
|
|
171
|
+
name: "cardFrontPicture",
|
|
172
|
+
validate: this.validate
|
|
173
|
+
}, ({
|
|
174
|
+
field
|
|
175
|
+
}) => /*#__PURE__*/React.createElement(Fragment, null, /*#__PURE__*/React.createElement(SuccessMark, {
|
|
176
|
+
isHidden: !field.value
|
|
177
|
+
}), /*#__PURE__*/React.createElement(Button, {
|
|
178
|
+
center: true,
|
|
179
|
+
onClick: () => {
|
|
180
|
+
setScanItem(field.name);
|
|
181
|
+
changeStep('kycDocumentCameraScan');
|
|
182
|
+
}
|
|
183
|
+
}, "Scan")))))), /*#__PURE__*/React.createElement(Column, {
|
|
184
|
+
part: 8
|
|
185
|
+
}, /*#__PURE__*/React.createElement(ColumnInner, {
|
|
186
|
+
verticalPadding: true,
|
|
187
|
+
verticalCenter: true
|
|
188
|
+
}, /*#__PURE__*/React.createElement(BodyTitle, null, "UPLOAD CARD BACK"), /*#__PURE__*/React.createElement(ComponentWrapper, {
|
|
189
|
+
center: true
|
|
190
|
+
}, /*#__PURE__*/React.createElement(DocumentBackSvg, null)), /*#__PURE__*/React.createElement(ComponentWrapper, {
|
|
191
|
+
noPadding: true,
|
|
192
|
+
center: true
|
|
193
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
194
|
+
center: true
|
|
195
|
+
}, /*#__PURE__*/React.createElement("p", null, "The other one"))), /*#__PURE__*/React.createElement(ComponentWrapper, {
|
|
196
|
+
noPadding: true,
|
|
197
|
+
center: true
|
|
198
|
+
}, /*#__PURE__*/React.createElement(Field, {
|
|
199
|
+
name: "cardBackPicture",
|
|
200
|
+
validate: this.validate
|
|
201
|
+
}, ({
|
|
202
|
+
field
|
|
203
|
+
}) => /*#__PURE__*/React.createElement(Fragment, null, /*#__PURE__*/React.createElement(SuccessMark, {
|
|
204
|
+
isHidden: !field.value
|
|
205
|
+
}), /*#__PURE__*/React.createElement(Button, {
|
|
206
|
+
center: true,
|
|
207
|
+
onClick: () => {
|
|
208
|
+
setScanItem(field.name);
|
|
209
|
+
changeStep('kycDocumentCameraScan');
|
|
210
|
+
}
|
|
211
|
+
}, "Scan"))))))))), /*#__PURE__*/React.createElement(Column, {
|
|
212
|
+
part: 8
|
|
213
|
+
}, /*#__PURE__*/React.createElement(ColumnInner, {
|
|
214
|
+
verticalPadding: true
|
|
215
|
+
}, /*#__PURE__*/React.createElement(ComponentScroll, {
|
|
216
|
+
noMobileScroll: true
|
|
217
|
+
}, /*#__PURE__*/React.createElement(ComponentWrapper, {
|
|
218
|
+
noPaddingVertical: true
|
|
219
|
+
}, /*#__PURE__*/React.createElement(Text, null, /*#__PURE__*/React.createElement("p", null, "Please use a JPG, PNG or PDF image below 2MB (we recommend a 2MP photo or 200-300 dpi scan)"), /*#__PURE__*/React.createElement("p", null, "Make sure that your personal information is readable. Also, nothing on the document should be covered or censored"), /*#__PURE__*/React.createElement("p", null, "Be careful that none of your fingers are covering the document, and that all of the document is visible and contrasted against the background."), /*#__PURE__*/React.createElement("p", null, "Ensure that the document is in focus. Avoid bad lighting conditions which can lead to motion blur and image noise."), /*#__PURE__*/React.createElement("p", null, "The surface of the background should be evenly lit. The ID document should not present perspective distortion."), /*#__PURE__*/React.createElement("p", null, "If your photo or scan is not of high enough quality, we will request a better copy.")))))))));
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
DocumentScanUpload.propTypes = {
|
|
223
|
+
changeStep: PropTypes.func.isRequired,
|
|
224
|
+
setPrevStep: PropTypes.func.isRequired,
|
|
225
|
+
setScanItem: PropTypes.func.isRequired,
|
|
226
|
+
formik: PropTypes.instanceOf(Object).isRequired
|
|
227
|
+
};
|
|
228
|
+
export default connect(DocumentScanUpload);
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import React, { PureComponent } from 'react';
|
|
2
|
+
import PropTypes from 'prop-types';
|
|
3
|
+
import { connect, Field } from 'formik';
|
|
4
|
+
import { validate } from 'components/Form/Form';
|
|
5
|
+
import Button from 'components/Button/Button.styles';
|
|
6
|
+
import KYCSelectBox from 'components/KYCSelectBox/KYCSelectBox.styles';
|
|
7
|
+
import { Row, Column } from 'components/Grid/Grid.styles';
|
|
8
|
+
import { PassportSvg, DocumentSvg } from 'components/SvgIcons';
|
|
9
|
+
import ComponentWrapper from 'components/ComponentWrapper/ComponentWrapper.styles';
|
|
10
|
+
import SectionTitle from 'components/SectionTitle/SectionTitle.styles';
|
|
11
|
+
import { Wrapper, Header, Body, HeaderTitle, BodyTitle } from './_styles';
|
|
12
|
+
export const DocumentSelectEnum = {
|
|
13
|
+
PASSPORT: 'passport',
|
|
14
|
+
TWO_SIDED_DOCUMENT: 'twoSidedDocument'
|
|
15
|
+
};
|
|
16
|
+
class DocumentSelect extends PureComponent {
|
|
17
|
+
state = {
|
|
18
|
+
hovered: ''
|
|
19
|
+
};
|
|
20
|
+
componentDidMount() {
|
|
21
|
+
const {
|
|
22
|
+
setPrevStep
|
|
23
|
+
} = this.props;
|
|
24
|
+
setPrevStep('kycDocumentUpload');
|
|
25
|
+
}
|
|
26
|
+
handleHover = hovered => {
|
|
27
|
+
this.setState({
|
|
28
|
+
hovered
|
|
29
|
+
});
|
|
30
|
+
};
|
|
31
|
+
render() {
|
|
32
|
+
const {
|
|
33
|
+
changeStep,
|
|
34
|
+
formik
|
|
35
|
+
} = this.props;
|
|
36
|
+
const {
|
|
37
|
+
setFieldValue
|
|
38
|
+
} = formik;
|
|
39
|
+
const {
|
|
40
|
+
hovered
|
|
41
|
+
} = this.state;
|
|
42
|
+
return /*#__PURE__*/React.createElement(Wrapper, null, /*#__PURE__*/React.createElement(Header, null, /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(SectionTitle, null, "Verify your identity"), /*#__PURE__*/React.createElement(HeaderTitle, {
|
|
43
|
+
withMargin: true
|
|
44
|
+
}, "What do you have at hand?"))), /*#__PURE__*/React.createElement(Body, {
|
|
45
|
+
noVerticalPadding: true
|
|
46
|
+
}, /*#__PURE__*/React.createElement(Field, {
|
|
47
|
+
name: "documentType",
|
|
48
|
+
validate: () => validate('documentType', formik)
|
|
49
|
+
}, ({
|
|
50
|
+
field
|
|
51
|
+
}) => /*#__PURE__*/React.createElement(Row, {
|
|
52
|
+
stretch: true
|
|
53
|
+
}, /*#__PURE__*/React.createElement(Column, {
|
|
54
|
+
part: 8
|
|
55
|
+
}, /*#__PURE__*/React.createElement(KYCSelectBox, {
|
|
56
|
+
name: DocumentSelectEnum.PASSPORT,
|
|
57
|
+
selectedItem: field.value,
|
|
58
|
+
isGreyedOut: hovered === DocumentSelectEnum.TWO_SIDED_DOCUMENT,
|
|
59
|
+
onMouseEnter: () => this.handleHover(DocumentSelectEnum.PASSPORT),
|
|
60
|
+
onMouseLeave: () => this.handleHover('')
|
|
61
|
+
}, /*#__PURE__*/React.createElement(BodyTitle, null, "PASSPORT"), /*#__PURE__*/React.createElement(ComponentWrapper, {
|
|
62
|
+
center: true
|
|
63
|
+
}, /*#__PURE__*/React.createElement(PassportSvg, null)), /*#__PURE__*/React.createElement(ComponentWrapper, {
|
|
64
|
+
noPaddingTop: true,
|
|
65
|
+
center: true
|
|
66
|
+
}, /*#__PURE__*/React.createElement(Button, {
|
|
67
|
+
center: true,
|
|
68
|
+
minWidth: "188px",
|
|
69
|
+
onClick: () => {
|
|
70
|
+
setFieldValue(field.name, DocumentSelectEnum.PASSPORT);
|
|
71
|
+
changeStep('kycDocumentVerificationType');
|
|
72
|
+
}
|
|
73
|
+
}, "Let's go")))), /*#__PURE__*/React.createElement(Column, {
|
|
74
|
+
part: 8
|
|
75
|
+
}, /*#__PURE__*/React.createElement(KYCSelectBox, {
|
|
76
|
+
name: DocumentSelectEnum.TWO_SIDED_DOCUMENT,
|
|
77
|
+
selectedItem: field.value,
|
|
78
|
+
isGreyedOut: hovered === DocumentSelectEnum.PASSPORT,
|
|
79
|
+
onMouseEnter: () => this.handleHover(DocumentSelectEnum.TWO_SIDED_DOCUMENT),
|
|
80
|
+
onMouseLeave: () => this.handleHover('')
|
|
81
|
+
}, /*#__PURE__*/React.createElement(BodyTitle, null, "IDENTITY CARD"), /*#__PURE__*/React.createElement(ComponentWrapper, {
|
|
82
|
+
center: true
|
|
83
|
+
}, /*#__PURE__*/React.createElement(DocumentSvg, null)), /*#__PURE__*/React.createElement(ComponentWrapper, {
|
|
84
|
+
noPaddingTop: true,
|
|
85
|
+
center: true
|
|
86
|
+
}, /*#__PURE__*/React.createElement(Button, {
|
|
87
|
+
center: true,
|
|
88
|
+
minWidth: "188px",
|
|
89
|
+
onClick: () => {
|
|
90
|
+
setFieldValue(field.name, DocumentSelectEnum.TWO_SIDED_DOCUMENT);
|
|
91
|
+
changeStep('kycDocumentVerificationType');
|
|
92
|
+
}
|
|
93
|
+
}, "Let's go"))))))));
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
DocumentSelect.propTypes = {
|
|
97
|
+
changeStep: PropTypes.func.isRequired,
|
|
98
|
+
setPrevStep: PropTypes.func.isRequired,
|
|
99
|
+
formik: PropTypes.instanceOf(Object).isRequired
|
|
100
|
+
};
|
|
101
|
+
export default connect(DocumentSelect);
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import React, { useEffect } from 'react';
|
|
2
|
+
import PropTypes from 'prop-types';
|
|
3
|
+
import { connect } from 'formik';
|
|
4
|
+
import { PassportSvg, DocumentSvg } from 'components/SvgIcons';
|
|
5
|
+
import Text from 'components/Text/Text.styles';
|
|
6
|
+
import Button from 'components/Button/Button.styles';
|
|
7
|
+
import { Row, Column } from 'components/Grid/Grid.styles';
|
|
8
|
+
import ComponentWrapper from 'components/ComponentWrapper/ComponentWrapper.styles';
|
|
9
|
+
import SectionTitle from 'components/SectionTitle/SectionTitle.styles';
|
|
10
|
+
import { Wrapper, Header, Body, HeaderTitle, BodyTitle, ColumnInner, SuccessMark } from './_styles';
|
|
11
|
+
import { DocumentSelectEnum } from './DocumentSelect';
|
|
12
|
+
const DocumentSuccess = ({
|
|
13
|
+
changeStep,
|
|
14
|
+
setPrevStep,
|
|
15
|
+
formik
|
|
16
|
+
}) => {
|
|
17
|
+
useEffect(() => {
|
|
18
|
+
setPrevStep('kycDocumentScan');
|
|
19
|
+
}, []);
|
|
20
|
+
const {
|
|
21
|
+
values
|
|
22
|
+
} = formik;
|
|
23
|
+
return /*#__PURE__*/React.createElement(Wrapper, null, /*#__PURE__*/React.createElement(Header, null, /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(SectionTitle, null, "Verify your identity"), /*#__PURE__*/React.createElement(HeaderTitle, {
|
|
24
|
+
withMargin: true
|
|
25
|
+
}, "Upload successfull"))), /*#__PURE__*/React.createElement(Body, null, /*#__PURE__*/React.createElement(Row, {
|
|
26
|
+
stretch: true
|
|
27
|
+
}, /*#__PURE__*/React.createElement(Column, {
|
|
28
|
+
part: 4
|
|
29
|
+
}), /*#__PURE__*/React.createElement(Column, {
|
|
30
|
+
part: 8
|
|
31
|
+
}, /*#__PURE__*/React.createElement(ColumnInner, {
|
|
32
|
+
verticalPadding: true
|
|
33
|
+
}, /*#__PURE__*/React.createElement(BodyTitle, null, "THANK YOU"), /*#__PURE__*/React.createElement(ComponentWrapper, {
|
|
34
|
+
noPaddingBottom: true,
|
|
35
|
+
center: true
|
|
36
|
+
}, values.documentType === DocumentSelectEnum.PASSPORT ? /*#__PURE__*/React.createElement(PassportSvg, null) : /*#__PURE__*/React.createElement(DocumentSvg, null)), /*#__PURE__*/React.createElement(ComponentWrapper, {
|
|
37
|
+
center: true
|
|
38
|
+
}, /*#__PURE__*/React.createElement(SuccessMark, null)), /*#__PURE__*/React.createElement(ComponentWrapper, {
|
|
39
|
+
noPaddingTop: true,
|
|
40
|
+
center: true
|
|
41
|
+
}, /*#__PURE__*/React.createElement(Text, null, /*#__PURE__*/React.createElement("p", null, "Our robots are having a look"))), /*#__PURE__*/React.createElement(ComponentWrapper, {
|
|
42
|
+
center: true
|
|
43
|
+
}, /*#__PURE__*/React.createElement(Button, {
|
|
44
|
+
onClick: () => changeStep('kycFaceScan', 2, 1)
|
|
45
|
+
}, "Continue")))), /*#__PURE__*/React.createElement(Column, {
|
|
46
|
+
part: 4
|
|
47
|
+
}))));
|
|
48
|
+
};
|
|
49
|
+
DocumentSuccess.propTypes = {
|
|
50
|
+
changeStep: PropTypes.func.isRequired,
|
|
51
|
+
setPrevStep: PropTypes.func.isRequired,
|
|
52
|
+
formik: PropTypes.instanceOf(Object).isRequired
|
|
53
|
+
};
|
|
54
|
+
export default connect(DocumentSuccess);
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import React, { useEffect } from 'react';
|
|
2
|
+
import PropTypes from 'prop-types';
|
|
3
|
+
import Text from 'components/Text/Text.styles';
|
|
4
|
+
import Button from 'components/Button/Button.styles';
|
|
5
|
+
import { Row, Column } from 'components/Grid/Grid.styles';
|
|
6
|
+
import { DocumentSvg } from 'components/SvgIcons';
|
|
7
|
+
import ComponentWrapper from 'components/ComponentWrapper/ComponentWrapper.styles';
|
|
8
|
+
import SectionTitle from 'components/SectionTitle/SectionTitle.styles';
|
|
9
|
+
import { Wrapper, Header, Body, HeaderTitle, BodyTitle, ColumnInner } from './_styles';
|
|
10
|
+
const DocumentUpload = ({
|
|
11
|
+
changeStep,
|
|
12
|
+
setPrevStep
|
|
13
|
+
}) => {
|
|
14
|
+
useEffect(() => {
|
|
15
|
+
setPrevStep('kycTerms', 0);
|
|
16
|
+
}, []);
|
|
17
|
+
return /*#__PURE__*/React.createElement(Wrapper, null, /*#__PURE__*/React.createElement(Header, null, /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(SectionTitle, null, "Verify your identity"), /*#__PURE__*/React.createElement(HeaderTitle, {
|
|
18
|
+
withMargin: true
|
|
19
|
+
}, "Upload ID Document"))), /*#__PURE__*/React.createElement(Body, null, /*#__PURE__*/React.createElement(Row, {
|
|
20
|
+
center: true,
|
|
21
|
+
stretch: true
|
|
22
|
+
}, /*#__PURE__*/React.createElement(Column, {
|
|
23
|
+
part: 8
|
|
24
|
+
}, /*#__PURE__*/React.createElement(ColumnInner, {
|
|
25
|
+
verticalPadding: true,
|
|
26
|
+
verticalSpaceAround: true
|
|
27
|
+
}, /*#__PURE__*/React.createElement(BodyTitle, null, "DOCUMENT VERIFICATION"), /*#__PURE__*/React.createElement(ComponentWrapper, {
|
|
28
|
+
center: true
|
|
29
|
+
}, /*#__PURE__*/React.createElement(DocumentSvg, null)), /*#__PURE__*/React.createElement(Text, {
|
|
30
|
+
center: true
|
|
31
|
+
}, /*#__PURE__*/React.createElement("p", null, "Etiam rhoncus. Maecenas tempus, tellus eget condimentum rhoncus, sem quam semper")), /*#__PURE__*/React.createElement(ComponentWrapper, {
|
|
32
|
+
center: true
|
|
33
|
+
}, /*#__PURE__*/React.createElement(Button, {
|
|
34
|
+
minWidth: "188px",
|
|
35
|
+
onClick: () => {
|
|
36
|
+
changeStep('kycDocumentSelect');
|
|
37
|
+
}
|
|
38
|
+
}, "Begin")))))));
|
|
39
|
+
};
|
|
40
|
+
DocumentUpload.propTypes = {
|
|
41
|
+
changeStep: PropTypes.func.isRequired,
|
|
42
|
+
setPrevStep: PropTypes.func.isRequired
|
|
43
|
+
};
|
|
44
|
+
export default DocumentUpload;
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import React, { PureComponent } from 'react';
|
|
2
|
+
import PropTypes from 'prop-types';
|
|
3
|
+
import { connect, Field } from 'formik';
|
|
4
|
+
import { validate } from 'components/Form/Form';
|
|
5
|
+
import Text from 'components/Text/Text.styles';
|
|
6
|
+
import Button from 'components/Button/Button.styles';
|
|
7
|
+
import KYCSelectBox from 'components/KYCSelectBox/KYCSelectBox.styles';
|
|
8
|
+
import { Row, Column } from 'components/Grid/Grid.styles';
|
|
9
|
+
import { CameraSvg, UploadSvg } from 'components/SvgIcons';
|
|
10
|
+
import ComponentWrapper from 'components/ComponentWrapper/ComponentWrapper.styles';
|
|
11
|
+
import SectionTitle from 'components/SectionTitle/SectionTitle.styles';
|
|
12
|
+
import { Wrapper, Header, Body, HeaderTitle, BodyTitle } from './_styles';
|
|
13
|
+
import { DocumentSelectEnum } from './DocumentSelect';
|
|
14
|
+
export const DocumentVerificationTypeEnum = {
|
|
15
|
+
UPLOAD_IMAGE: 'uploadImage',
|
|
16
|
+
DEVICE_CAMERA: 'deviceCamera'
|
|
17
|
+
};
|
|
18
|
+
class DocumentVerificationType extends PureComponent {
|
|
19
|
+
state = {
|
|
20
|
+
hovered: ''
|
|
21
|
+
};
|
|
22
|
+
componentDidMount() {
|
|
23
|
+
const {
|
|
24
|
+
setPrevStep
|
|
25
|
+
} = this.props;
|
|
26
|
+
setPrevStep('kycDocumentSelect');
|
|
27
|
+
}
|
|
28
|
+
handleHover = hovered => {
|
|
29
|
+
this.setState({
|
|
30
|
+
hovered
|
|
31
|
+
});
|
|
32
|
+
};
|
|
33
|
+
render() {
|
|
34
|
+
const {
|
|
35
|
+
changeStep,
|
|
36
|
+
formik
|
|
37
|
+
} = this.props;
|
|
38
|
+
const {
|
|
39
|
+
values,
|
|
40
|
+
setFieldValue
|
|
41
|
+
} = formik;
|
|
42
|
+
const {
|
|
43
|
+
hovered
|
|
44
|
+
} = this.state;
|
|
45
|
+
return /*#__PURE__*/React.createElement(Wrapper, null, /*#__PURE__*/React.createElement(Header, null, /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(SectionTitle, null, "Verify your identity"), /*#__PURE__*/React.createElement(HeaderTitle, {
|
|
46
|
+
withMargin: true
|
|
47
|
+
}, "Choose verification method"))), /*#__PURE__*/React.createElement(Body, {
|
|
48
|
+
noVerticalPadding: true
|
|
49
|
+
}, /*#__PURE__*/React.createElement(Field, {
|
|
50
|
+
name: "verificationType",
|
|
51
|
+
validate: () => validate('verificationType', formik)
|
|
52
|
+
}, ({
|
|
53
|
+
field
|
|
54
|
+
}) => /*#__PURE__*/React.createElement(Row, {
|
|
55
|
+
stretch: true
|
|
56
|
+
}, /*#__PURE__*/React.createElement(Column, {
|
|
57
|
+
part: 8
|
|
58
|
+
}, /*#__PURE__*/React.createElement(KYCSelectBox, {
|
|
59
|
+
name: DocumentVerificationTypeEnum.UPLOAD_IMAGE,
|
|
60
|
+
selectedItem: field.value,
|
|
61
|
+
isGreyedOut: hovered === DocumentVerificationTypeEnum.DEVICE_CAMERA,
|
|
62
|
+
onMouseEnter: () => this.handleHover(DocumentVerificationTypeEnum.UPLOAD_IMAGE),
|
|
63
|
+
onMouseLeave: () => this.handleHover('')
|
|
64
|
+
}, /*#__PURE__*/React.createElement(BodyTitle, null, "UPLOAD IMAGE FILE"), /*#__PURE__*/React.createElement(ComponentWrapper, {
|
|
65
|
+
center: true
|
|
66
|
+
}, /*#__PURE__*/React.createElement(UploadSvg, null)), /*#__PURE__*/React.createElement(ComponentWrapper, {
|
|
67
|
+
noPaddingTop: true,
|
|
68
|
+
center: true
|
|
69
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
70
|
+
center: true
|
|
71
|
+
}, /*#__PURE__*/React.createElement("p", null, 'You can upload an existing JPG, PNG or PDF image of your ', values.documentType === DocumentSelectEnum.PASSPORT ? 'passport' : 'identity card', " that's under 2MB"))), /*#__PURE__*/React.createElement(ComponentWrapper, {
|
|
72
|
+
noPaddingTop: true,
|
|
73
|
+
center: true
|
|
74
|
+
}, /*#__PURE__*/React.createElement(Button, {
|
|
75
|
+
center: true,
|
|
76
|
+
minWidth: "188px",
|
|
77
|
+
onClick: () => {
|
|
78
|
+
setFieldValue(field.name, DocumentVerificationTypeEnum.UPLOAD_IMAGE);
|
|
79
|
+
changeStep('kycDocumentScan');
|
|
80
|
+
}
|
|
81
|
+
}, "Select")))), /*#__PURE__*/React.createElement(Column, {
|
|
82
|
+
part: 8
|
|
83
|
+
}, /*#__PURE__*/React.createElement(KYCSelectBox, {
|
|
84
|
+
name: DocumentVerificationTypeEnum.DEVICE_CAMERA,
|
|
85
|
+
selectedItem: field.value,
|
|
86
|
+
isGreyedOut: hovered === DocumentVerificationTypeEnum.UPLOAD_IMAGE,
|
|
87
|
+
onMouseEnter: () => this.handleHover(DocumentVerificationTypeEnum.DEVICE_CAMERA),
|
|
88
|
+
onMouseLeave: () => this.handleHover('')
|
|
89
|
+
}, /*#__PURE__*/React.createElement(BodyTitle, null, "USE DEVICE CAMERA"), /*#__PURE__*/React.createElement(ComponentWrapper, {
|
|
90
|
+
center: true
|
|
91
|
+
}, /*#__PURE__*/React.createElement(CameraSvg, null)), /*#__PURE__*/React.createElement(ComponentWrapper, {
|
|
92
|
+
noPaddingTop: true,
|
|
93
|
+
center: true
|
|
94
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
95
|
+
center: true
|
|
96
|
+
}, /*#__PURE__*/React.createElement("p", null, 'You can use the built-in camera on your device to capture an image of your ', values.documentType === DocumentSelectEnum.PASSPORT ? 'passport' : 'identity card'))), /*#__PURE__*/React.createElement(ComponentWrapper, {
|
|
97
|
+
noPaddingTop: true,
|
|
98
|
+
center: true
|
|
99
|
+
}, /*#__PURE__*/React.createElement(Button, {
|
|
100
|
+
center: true,
|
|
101
|
+
minWidth: "188px",
|
|
102
|
+
onClick: () => {
|
|
103
|
+
setFieldValue(field.name, DocumentVerificationTypeEnum.DEVICE_CAMERA);
|
|
104
|
+
changeStep('kycDocumentScan');
|
|
105
|
+
}
|
|
106
|
+
}, "Select"))))))));
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
DocumentVerificationType.propTypes = {
|
|
110
|
+
changeStep: PropTypes.func.isRequired,
|
|
111
|
+
setPrevStep: PropTypes.func.isRequired,
|
|
112
|
+
formik: PropTypes.instanceOf(Object).isRequired
|
|
113
|
+
};
|
|
114
|
+
export default connect(DocumentVerificationType);
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import React, { useEffect } from 'react';
|
|
2
|
+
import PropTypes from 'prop-types';
|
|
3
|
+
import Text from 'components/Text/Text.styles';
|
|
4
|
+
import Button from 'components/Button/Button.styles';
|
|
5
|
+
import { Row, Column } from 'components/Grid/Grid.styles';
|
|
6
|
+
import { FaceScanIconSvg } from 'components/SvgIcons';
|
|
7
|
+
import ComponentWrapper from 'components/ComponentWrapper/ComponentWrapper.styles';
|
|
8
|
+
import SectionTitle from 'components/SectionTitle/SectionTitle.styles';
|
|
9
|
+
import { Wrapper, Header, Body, HeaderTitle, BodyTitle, ColumnInner } from './_styles';
|
|
10
|
+
const FaceScan = ({
|
|
11
|
+
changeStep,
|
|
12
|
+
setPrevStep
|
|
13
|
+
}) => {
|
|
14
|
+
useEffect(() => {
|
|
15
|
+
setPrevStep('kycDocumentSuccess', 1);
|
|
16
|
+
}, []);
|
|
17
|
+
return /*#__PURE__*/React.createElement(Wrapper, null, /*#__PURE__*/React.createElement(Header, null, /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(SectionTitle, null, "Verify your identity"), /*#__PURE__*/React.createElement(HeaderTitle, {
|
|
18
|
+
withMargin: true
|
|
19
|
+
}, "Face recognition"))), /*#__PURE__*/React.createElement(Body, null, /*#__PURE__*/React.createElement(Row, {
|
|
20
|
+
center: true,
|
|
21
|
+
stretch: true
|
|
22
|
+
}, /*#__PURE__*/React.createElement(Column, {
|
|
23
|
+
part: 8
|
|
24
|
+
}, /*#__PURE__*/React.createElement(ColumnInner, {
|
|
25
|
+
verticalPadding: true,
|
|
26
|
+
verticalSpaceAround: true
|
|
27
|
+
}, /*#__PURE__*/React.createElement(BodyTitle, null, "SELFIE TIME!"), /*#__PURE__*/React.createElement(ComponentWrapper, {
|
|
28
|
+
center: true
|
|
29
|
+
}, /*#__PURE__*/React.createElement(FaceScanIconSvg, null)), /*#__PURE__*/React.createElement(Text, {
|
|
30
|
+
center: true
|
|
31
|
+
}, /*#__PURE__*/React.createElement("p", null, "In the next step you'll take a picture of yourself using your device camera")), /*#__PURE__*/React.createElement(ComponentWrapper, {
|
|
32
|
+
center: true
|
|
33
|
+
}, /*#__PURE__*/React.createElement(Button, {
|
|
34
|
+
center: true,
|
|
35
|
+
minWidth: "188px",
|
|
36
|
+
onClick: () => {
|
|
37
|
+
changeStep('kycFaceScanRecognition');
|
|
38
|
+
}
|
|
39
|
+
}, "Begin")))))));
|
|
40
|
+
};
|
|
41
|
+
FaceScan.propTypes = {
|
|
42
|
+
changeStep: PropTypes.func.isRequired,
|
|
43
|
+
setPrevStep: PropTypes.func.isRequired
|
|
44
|
+
};
|
|
45
|
+
export default FaceScan;
|