@funkit/connect-rn 9.0.1 → 9.1.1
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/CHANGELOG.md +154 -0
- package/README.md +101 -1
- package/app.plugin.js +92 -0
- package/dist/{chunk-GCPIOARQ.js → chunk-5Y2EMQYX.js} +6 -2
- package/dist/chunk-5Y2EMQYX.js.map +7 -0
- package/dist/{chunk-ZBWCG4O6.js → chunk-OBY3O4LU.js} +60 -6
- package/dist/chunk-OBY3O4LU.js.map +7 -0
- package/dist/{chunk-MMXSERQM.js → chunk-RPYWTS42.js} +441 -481
- package/dist/chunk-RPYWTS42.js.map +7 -0
- package/dist/clients/lighter.js +1 -1
- package/dist/clients/nado.js +2 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +7713 -4510
- package/dist/index.js.map +4 -4
- package/dist/preview.js +595 -15
- package/dist/preview.js.map +3 -3
- package/dist/src/components/v2/PaymentMethodPicker.d.ts +10 -1
- package/dist/src/components/v2/PaymentMethodPicker.d.ts.map +1 -1
- package/dist/src/components/v2/QuickAmountsRow.d.ts +3 -1
- package/dist/src/components/v2/QuickAmountsRow.d.ts.map +1 -1
- package/dist/src/components/v2/methodMerge.d.ts +40 -0
- package/dist/src/components/v2/methodMerge.d.ts.map +1 -0
- package/dist/src/fiat/FiatContactScreen.d.ts.map +1 -1
- package/dist/src/fiat/FiatDocumentCaptureStep.d.ts +2 -1
- package/dist/src/fiat/FiatDocumentCaptureStep.d.ts.map +1 -1
- package/dist/src/fiat/FiatErrorScreen.d.ts +16 -0
- package/dist/src/fiat/FiatErrorScreen.d.ts.map +1 -0
- package/dist/src/fiat/FiatFormFieldRow.d.ts +6 -3
- package/dist/src/fiat/FiatFormFieldRow.d.ts.map +1 -1
- package/dist/src/fiat/FiatFormScreen.d.ts +4 -5
- package/dist/src/fiat/FiatFormScreen.d.ts.map +1 -1
- package/dist/src/fiat/FiatIdentityStep.d.ts +7 -2
- package/dist/src/fiat/FiatIdentityStep.d.ts.map +1 -1
- package/dist/src/fiat/FiatKycIntroLayout.d.ts +34 -0
- package/dist/src/fiat/FiatKycIntroLayout.d.ts.map +1 -0
- package/dist/src/fiat/FiatKycIntroScreen.d.ts +2 -0
- package/dist/src/fiat/FiatKycIntroScreen.d.ts.map +1 -1
- package/dist/src/fiat/FiatKycOptionRow.d.ts.map +1 -1
- package/dist/src/fiat/FiatKycOptionsScreen.d.ts +3 -8
- package/dist/src/fiat/FiatKycOptionsScreen.d.ts.map +1 -1
- package/dist/src/fiat/FiatKycOutcomeScreen.d.ts.map +1 -1
- package/dist/src/fiat/FiatKycPhoneField.d.ts +2 -1
- package/dist/src/fiat/FiatKycPhoneField.d.ts.map +1 -1
- package/dist/src/fiat/FiatOptionsScreen.d.ts +21 -0
- package/dist/src/fiat/FiatOptionsScreen.d.ts.map +1 -0
- package/dist/src/fiat/FiatOtpScreen.d.ts +1 -1
- package/dist/src/fiat/FiatOtpScreen.d.ts.map +1 -1
- package/dist/src/fiat/FiatPaymentFailedSheet.d.ts +26 -0
- package/dist/src/fiat/FiatPaymentFailedSheet.d.ts.map +1 -0
- package/dist/src/fiat/FiatPhoneField.d.ts.map +1 -1
- package/dist/src/fiat/FiatReceipt.d.ts +6 -3
- package/dist/src/fiat/FiatReceipt.d.ts.map +1 -1
- package/dist/src/fiat/FiatRegionUnsupportedScreen.d.ts +3 -1
- package/dist/src/fiat/FiatRegionUnsupportedScreen.d.ts.map +1 -1
- package/dist/src/fiat/FiatSharingConsentNotice.d.ts +3 -0
- package/dist/src/fiat/FiatSharingConsentNotice.d.ts.map +1 -0
- package/dist/src/fiat/FiatStepFailedScreen.d.ts +17 -0
- package/dist/src/fiat/FiatStepFailedScreen.d.ts.map +1 -0
- package/dist/src/fiat/FiatTermsNotice.d.ts +6 -0
- package/dist/src/fiat/FiatTermsNotice.d.ts.map +1 -1
- package/dist/src/fiat/FiatUnavailableScreen.d.ts +14 -0
- package/dist/src/fiat/FiatUnavailableScreen.d.ts.map +1 -0
- package/dist/src/fiat/PaymentDisclosureNotice.d.ts +6 -0
- package/dist/src/fiat/PaymentDisclosureNotice.d.ts.map +1 -0
- package/dist/src/fiat/closeFailure.d.ts +1 -1
- package/dist/src/fiat/closeFailure.d.ts.map +1 -1
- package/dist/src/fiat/ctaLabel.d.ts +2 -0
- package/dist/src/fiat/ctaLabel.d.ts.map +1 -1
- package/dist/src/fiat/depositMatch.d.ts +17 -0
- package/dist/src/fiat/depositMatch.d.ts.map +1 -0
- package/dist/src/fiat/depositOutcome.d.ts +6 -0
- package/dist/src/fiat/depositOutcome.d.ts.map +1 -1
- package/dist/src/fiat/disclosureFooter.d.ts +21 -0
- package/dist/src/fiat/disclosureFooter.d.ts.map +1 -0
- package/dist/src/fiat/disclosureFooterContent.d.ts +28 -0
- package/dist/src/fiat/disclosureFooterContent.d.ts.map +1 -0
- package/dist/src/fiat/formLayout.d.ts +18 -5
- package/dist/src/fiat/formLayout.d.ts.map +1 -1
- package/dist/src/fiat/formScreenProps.d.ts.map +1 -1
- package/dist/src/fiat/kycFormState.d.ts +5 -3
- package/dist/src/fiat/kycFormState.d.ts.map +1 -1
- package/dist/src/fiat/kycOptionRows.d.ts +23 -0
- package/dist/src/fiat/kycOptionRows.d.ts.map +1 -0
- package/dist/src/fiat/kycWait.d.ts +20 -0
- package/dist/src/fiat/kycWait.d.ts.map +1 -0
- package/dist/src/fiat/legalLinks.d.ts +2 -0
- package/dist/src/fiat/legalLinks.d.ts.map +1 -1
- package/dist/src/fiat/paymentReroute.d.ts +22 -4
- package/dist/src/fiat/paymentReroute.d.ts.map +1 -1
- package/dist/src/fiat/paymentSurfaceFailure.d.ts +31 -37
- package/dist/src/fiat/paymentSurfaceFailure.d.ts.map +1 -1
- package/dist/src/fiat/providers/adapter.d.ts +28 -4
- package/dist/src/fiat/providers/adapter.d.ts.map +1 -1
- package/dist/src/fiat/providers/{banxaRedirect.d.ts → banxa/banxaRedirect.d.ts} +1 -1
- package/dist/src/fiat/providers/banxa/banxaRedirect.d.ts.map +1 -0
- package/dist/src/fiat/providers/{CoinbaseCheckoutSurface.d.ts → coinbase/CoinbaseCheckoutSurface.d.ts} +2 -3
- package/dist/src/fiat/providers/coinbase/CoinbaseCheckoutSurface.d.ts.map +1 -0
- package/dist/src/fiat/providers/coinbase/CoinbaseWarmup.d.ts +38 -0
- package/dist/src/fiat/providers/coinbase/CoinbaseWarmup.d.ts.map +1 -0
- package/dist/src/fiat/providers/{coinbaseApplePay.d.ts → coinbase/coinbaseApplePay.d.ts} +1 -1
- package/dist/src/fiat/providers/coinbase/coinbaseApplePay.d.ts.map +1 -0
- package/dist/src/fiat/providers/coinbase/coinbaseCardRefusal.d.ts +2 -0
- package/dist/src/fiat/providers/coinbase/coinbaseCardRefusal.d.ts.map +1 -0
- package/dist/src/fiat/providers/coinbase/coinbaseOnrampEvents.d.ts.map +1 -0
- package/dist/src/fiat/providers/coinbase/coinbasePreparedPayment.d.ts +18 -0
- package/dist/src/fiat/providers/coinbase/coinbasePreparedPayment.d.ts.map +1 -0
- package/dist/src/fiat/providers/coinbase/coinbaseWarmupStore.d.ts +40 -0
- package/dist/src/fiat/providers/coinbase/coinbaseWarmupStore.d.ts.map +1 -0
- package/dist/src/fiat/providers/coinbase/useCoinbaseWarmupGate.d.ts +4 -0
- package/dist/src/fiat/providers/coinbase/useCoinbaseWarmupGate.d.ts.map +1 -0
- package/dist/src/fiat/providers/kycIntro.d.ts +15 -0
- package/dist/src/fiat/providers/kycIntro.d.ts.map +1 -1
- package/dist/src/fiat/providers/{moonpay.d.ts → moonpay/moonpay.d.ts} +4 -2
- package/dist/src/fiat/providers/moonpay/moonpay.d.ts.map +1 -0
- package/dist/src/fiat/providers/moonpay/moonpayApplePayPainted.d.ts.map +1 -0
- package/dist/src/fiat/providers/{moonpayApplePayStyle.d.ts → moonpay/moonpayApplePayStyle.d.ts} +1 -1
- package/dist/src/fiat/providers/moonpay/moonpayApplePayStyle.d.ts.map +1 -0
- package/dist/src/fiat/providers/moonpay/moonpayAuthStyle.d.ts +58 -0
- package/dist/src/fiat/providers/moonpay/moonpayAuthStyle.d.ts.map +1 -0
- package/dist/src/fiat/providers/moonpay/moonpayCardRefusal.d.ts +7 -0
- package/dist/src/fiat/providers/moonpay/moonpayCardRefusal.d.ts.map +1 -0
- package/dist/src/fiat/providers/{moonpayFeeQuote.d.ts → moonpay/moonpayFeeQuote.d.ts} +1 -1
- package/dist/src/fiat/providers/moonpay/moonpayFeeQuote.d.ts.map +1 -0
- package/dist/src/fiat/providers/moonpay/moonpayHandoffCard.d.ts +11 -0
- package/dist/src/fiat/providers/moonpay/moonpayHandoffCard.d.ts.map +1 -0
- package/dist/src/fiat/providers/moonpay/moonpayPaymentDisclosures.d.ts +15 -0
- package/dist/src/fiat/providers/moonpay/moonpayPaymentDisclosures.d.ts.map +1 -0
- package/dist/src/fiat/providers/moonpay/moonpayPreparedPayment.d.ts +7 -0
- package/dist/src/fiat/providers/moonpay/moonpayPreparedPayment.d.ts.map +1 -0
- package/dist/src/fiat/providers/moonpay/moonpaySharingConsent.d.ts +14 -0
- package/dist/src/fiat/providers/moonpay/moonpaySharingConsent.d.ts.map +1 -0
- package/dist/src/fiat/providers/stripe/StripeSessionAuthScreen.d.ts.map +1 -0
- package/dist/src/fiat/providers/stripe/stripeAccountCreation.d.ts +22 -0
- package/dist/src/fiat/providers/stripe/stripeAccountCreation.d.ts.map +1 -0
- package/dist/src/fiat/providers/stripe/stripeApplePayButton.d.ts +15 -0
- package/dist/src/fiat/providers/stripe/stripeApplePayButton.d.ts.map +1 -0
- package/dist/src/fiat/providers/stripe/stripeApplePayReady.d.ts +9 -0
- package/dist/src/fiat/providers/stripe/stripeApplePayReady.d.ts.map +1 -0
- package/dist/src/fiat/providers/{stripeAuthorize.d.ts → stripe/stripeAuthorize.d.ts} +1 -1
- package/dist/src/fiat/providers/stripe/stripeAuthorize.d.ts.map +1 -0
- package/dist/src/fiat/providers/stripe/stripeCardRefusal.d.ts +2 -0
- package/dist/src/fiat/providers/stripe/stripeCardRefusal.d.ts.map +1 -0
- package/dist/src/fiat/providers/{stripeCheckout.d.ts → stripe/stripeCheckout.d.ts} +1 -1
- package/dist/src/fiat/providers/stripe/stripeCheckout.d.ts.map +1 -0
- package/dist/src/fiat/providers/stripe/stripeErrorDetail.d.ts +6 -0
- package/dist/src/fiat/providers/stripe/stripeErrorDetail.d.ts.map +1 -0
- package/dist/src/fiat/providers/{stripeKyc.d.ts → stripe/stripeKyc.d.ts} +1 -1
- package/dist/src/fiat/providers/stripe/stripeKyc.d.ts.map +1 -0
- package/dist/src/fiat/providers/stripe/stripeKycInfo.d.ts.map +1 -0
- package/dist/src/fiat/providers/stripe/stripeKycIntro.d.ts +32 -0
- package/dist/src/fiat/providers/stripe/stripeKycIntro.d.ts.map +1 -0
- package/dist/src/fiat/providers/{stripeOnramp.d.ts → stripe/stripeOnramp.d.ts} +14 -0
- package/dist/src/fiat/providers/stripe/stripeOnramp.d.ts.map +1 -0
- package/dist/src/fiat/providers/stripe/stripeOnrampBridge.d.ts.map +1 -0
- package/dist/src/fiat/providers/{stripePayment.d.ts → stripe/stripePayment.d.ts} +1 -3
- package/dist/src/fiat/providers/stripe/stripePayment.d.ts.map +1 -0
- package/dist/src/fiat/providers/{stripeRoundPush.d.ts → stripe/stripeRoundPush.d.ts} +10 -4
- package/dist/src/fiat/providers/stripe/stripeRoundPush.d.ts.map +1 -0
- package/dist/src/fiat/providers/{stripeSdk.d.ts → stripe/stripeSdk.d.ts} +1 -1
- package/dist/src/fiat/providers/stripe/stripeSdk.d.ts.map +1 -0
- package/dist/src/fiat/providers/stripe/stripeSeamlessSignIn.d.ts.map +1 -0
- package/dist/src/fiat/providers/stripe/stripeSessionAuth.d.ts.map +1 -0
- package/dist/src/fiat/providers/stripe/stripeSignInStep.d.ts +23 -0
- package/dist/src/fiat/providers/stripe/stripeSignInStep.d.ts.map +1 -0
- package/dist/src/fiat/providers/stripe/useCreateStripeAccountWithExistingUserData.d.ts +41 -0
- package/dist/src/fiat/providers/stripe/useCreateStripeAccountWithExistingUserData.d.ts.map +1 -0
- package/dist/src/fiat/providers/{useStripeOnrampClient.d.ts → stripe/useStripeOnrampClient.d.ts} +1 -1
- package/dist/src/fiat/providers/stripe/useStripeOnrampClient.d.ts.map +1 -0
- package/dist/src/fiat/providers/{useStripeSessionAuth.d.ts → stripe/useStripeSessionAuth.d.ts} +2 -8
- package/dist/src/fiat/providers/stripe/useStripeSessionAuth.d.ts.map +1 -0
- package/dist/src/fiat/providers/sumsub/SumsubKycSurface.d.ts.map +1 -0
- package/dist/src/fiat/providers/sumsub/SumsubNativeKycSurface.d.ts +23 -0
- package/dist/src/fiat/providers/sumsub/SumsubNativeKycSurface.d.ts.map +1 -0
- package/dist/src/fiat/providers/{sumsubKyc.d.ts → sumsub/sumsubKyc.d.ts} +7 -1
- package/dist/src/fiat/providers/sumsub/sumsubKyc.d.ts.map +1 -0
- package/dist/src/fiat/providers/sumsub/sumsubNativeLaunch.d.ts +34 -0
- package/dist/src/fiat/providers/sumsub/sumsubNativeLaunch.d.ts.map +1 -0
- package/dist/src/fiat/providers/sumsub/sumsubSdk.d.ts +58 -0
- package/dist/src/fiat/providers/sumsub/sumsubSdk.d.ts.map +1 -0
- package/dist/src/fiat/providers/sumsub/sumsubTheme.d.ts +51 -0
- package/dist/src/fiat/providers/sumsub/sumsubTheme.d.ts.map +1 -0
- package/dist/src/fiat/providers/transak/TransakApplePaySurface.d.ts.map +1 -0
- package/dist/src/fiat/providers/{transakApplePay.d.ts → transak/transakApplePay.d.ts} +1 -1
- package/dist/src/fiat/providers/transak/transakApplePay.d.ts.map +1 -0
- package/dist/src/fiat/quoteNoRoute.d.ts +10 -0
- package/dist/src/fiat/quoteNoRoute.d.ts.map +1 -1
- package/dist/src/fiat/refusedFields.d.ts +9 -0
- package/dist/src/fiat/refusedFields.d.ts.map +1 -0
- package/dist/src/fiat/renderCaptureSurface.d.ts +3 -1
- package/dist/src/fiat/renderCaptureSurface.d.ts.map +1 -1
- package/dist/src/fiat/sectionDetail.d.ts +3 -1
- package/dist/src/fiat/sectionDetail.d.ts.map +1 -1
- package/dist/src/fiat/shownFieldIssues.d.ts +3 -2
- package/dist/src/fiat/shownFieldIssues.d.ts.map +1 -1
- package/dist/src/fiat/stepDetails.d.ts +25 -4
- package/dist/src/fiat/stepDetails.d.ts.map +1 -1
- package/dist/src/fiat/useIdentityAssertion.d.ts.map +1 -1
- package/dist/src/fiat/useKycCaptureRound.d.ts.map +1 -1
- package/dist/src/fiat/useKycRoundReporting.d.ts +12 -0
- package/dist/src/fiat/useKycRoundReporting.d.ts.map +1 -0
- package/dist/src/fiat/usePaymentFailureAnswer.d.ts +71 -0
- package/dist/src/fiat/usePaymentFailureAnswer.d.ts.map +1 -0
- package/dist/src/fiat/useReceiptTitles.d.ts.map +1 -1
- package/dist/src/fiat/useResendCooldown.d.ts +25 -0
- package/dist/src/fiat/useResendCooldown.d.ts.map +1 -0
- package/dist/src/fiat/useSharingConsent.d.ts +15 -0
- package/dist/src/fiat/useSharingConsent.d.ts.map +1 -0
- package/dist/src/fiat/useStandingRefusals.d.ts +5 -0
- package/dist/src/fiat/useStandingRefusals.d.ts.map +1 -0
- package/dist/src/flow/DepositFlowContent.d.ts.map +1 -1
- package/dist/src/flow/DepositMatchSheet.d.ts +12 -0
- package/dist/src/flow/DepositMatchSheet.d.ts.map +1 -0
- package/dist/src/flow/DepositPreload.d.ts +13 -0
- package/dist/src/flow/DepositPreload.d.ts.map +1 -0
- package/dist/src/flow/Drawer.d.ts +7 -1
- package/dist/src/flow/Drawer.d.ts.map +1 -1
- package/dist/src/flow/FiatDepositAmountStep.d.ts +2 -5
- package/dist/src/flow/FiatDepositAmountStep.d.ts.map +1 -1
- package/dist/src/flow/FunkitFlowProvider.d.ts +6 -2
- package/dist/src/flow/FunkitFlowProvider.d.ts.map +1 -1
- package/dist/src/flow/WithdrawalFlowContent.d.ts.map +1 -1
- package/dist/src/flow/depositFlowConfig.d.ts +11 -3
- package/dist/src/flow/depositFlowConfig.d.ts.map +1 -1
- package/dist/src/flow/depositMethods.d.ts +8 -0
- package/dist/src/flow/depositMethods.d.ts.map +1 -1
- package/dist/src/flow/overlayStep.d.ts +25 -0
- package/dist/src/flow/overlayStep.d.ts.map +1 -0
- package/dist/src/flow/pageTurn.d.ts +19 -2
- package/dist/src/flow/pageTurn.d.ts.map +1 -1
- package/dist/src/flow/quickAmounts.d.ts +8 -0
- package/dist/src/flow/quickAmounts.d.ts.map +1 -0
- package/dist/src/flow/storedChain.d.ts +14 -0
- package/dist/src/flow/storedChain.d.ts.map +1 -0
- package/dist/src/flow/useKeyboardHeight.d.ts.map +1 -1
- package/dist/src/flow/withdrawalFlowConfig.d.ts +3 -1
- package/dist/src/flow/withdrawalFlowConfig.d.ts.map +1 -1
- package/dist/src/flow/withdrawalMethods.d.ts +8 -0
- package/dist/src/flow/withdrawalMethods.d.ts.map +1 -0
- package/dist/src/geo/useUserIpInfo.d.ts +7 -0
- package/dist/src/geo/useUserIpInfo.d.ts.map +1 -1
- package/dist/src/hooks/useNestedSheetHeight.d.ts +14 -0
- package/dist/src/hooks/useNestedSheetHeight.d.ts.map +1 -1
- package/dist/src/icons/ApplePayMark.d.ts +3 -1
- package/dist/src/icons/ApplePayMark.d.ts.map +1 -1
- package/dist/src/icons/KycOutcomeIcon.d.ts.map +1 -1
- package/dist/src/preview/fixtures/kycForms.d.ts +2 -0
- package/dist/src/preview/fixtures/kycForms.d.ts.map +1 -1
- package/dist/src/preview/flowPreview.d.ts +10 -3
- package/dist/src/preview/flowPreview.d.ts.map +1 -1
- package/dist/src/preview/previewFetch.d.ts.map +1 -1
- package/dist/src/preview/scenarioCatalog.d.ts +117 -3
- package/dist/src/preview/scenarioCatalog.d.ts.map +1 -1
- package/dist/src/preview/scenarios.d.ts +33 -3
- package/dist/src/preview/scenarios.d.ts.map +1 -1
- package/dist/src/providers/FunkitProvider.d.ts +1 -1
- package/dist/src/providers/FunkitProvider.d.ts.map +1 -1
- package/dist/src/providers/NativeCapabilitiesContext.d.ts +1 -1
- package/dist/src/providers/NativeCapabilitiesContext.d.ts.map +1 -1
- package/dist/src/screens/DepositAmountScreen.d.ts +28 -4
- package/dist/src/screens/DepositAmountScreen.d.ts.map +1 -1
- package/dist/src/screens/DepositMatchScreen.d.ts +20 -0
- package/dist/src/screens/DepositMatchScreen.d.ts.map +1 -0
- package/dist/src/screens/FeeDetailsScreen.d.ts +4 -0
- package/dist/src/screens/FeeDetailsScreen.d.ts.map +1 -1
- package/dist/src/swapped/SwappedWebView.d.ts +2 -2
- package/dist/src/swapped/webViewSwappedTransport.d.ts +4 -35
- package/dist/src/swapped/webViewSwappedTransport.d.ts.map +1 -1
- package/dist/src/theme/FunkitThemeProvider.d.ts +6 -0
- package/dist/src/theme/FunkitThemeProvider.d.ts.map +1 -1
- package/dist/src/theme/buildFunkitTheme.d.ts +3 -0
- package/dist/src/theme/buildFunkitTheme.d.ts.map +1 -1
- package/dist/src/theme/legibleBrandColor.d.ts +12 -0
- package/dist/src/theme/legibleBrandColor.d.ts.map +1 -0
- package/dist/src/theme/restyle.d.ts +99 -0
- package/dist/src/theme/restyle.d.ts.map +1 -1
- package/dist/src/theme/toRestyleTheme.d.ts +9 -0
- package/dist/src/theme/toRestyleTheme.d.ts.map +1 -1
- package/dist/src/theme/typeScale.d.ts +18 -0
- package/dist/src/theme/typeScale.d.ts.map +1 -1
- package/dist/src/utils/formatAmount.d.ts +2 -0
- package/dist/src/utils/formatAmount.d.ts.map +1 -1
- package/ios/FunkitGlassEffect.podspec +2 -0
- package/ios/assets/funkit-connect-rn/sumsub-back.png +0 -0
- package/package.json +16 -8
- package/dist/chunk-GCPIOARQ.js.map +0 -7
- package/dist/chunk-MMXSERQM.js.map +0 -7
- package/dist/chunk-ZBWCG4O6.js.map +0 -7
- package/dist/src/fiat/FiatKycPosition.d.ts +0 -7
- package/dist/src/fiat/FiatKycPosition.d.ts.map +0 -1
- package/dist/src/fiat/kycWalk.d.ts +0 -22
- package/dist/src/fiat/kycWalk.d.ts.map +0 -1
- package/dist/src/fiat/providers/CoinbaseCheckoutSurface.d.ts.map +0 -1
- package/dist/src/fiat/providers/StripeSessionAuthScreen.d.ts.map +0 -1
- package/dist/src/fiat/providers/SumsubKycSurface.d.ts.map +0 -1
- package/dist/src/fiat/providers/TransakApplePaySurface.d.ts.map +0 -1
- package/dist/src/fiat/providers/banxaRedirect.d.ts.map +0 -1
- package/dist/src/fiat/providers/coinbaseApplePay.d.ts.map +0 -1
- package/dist/src/fiat/providers/coinbaseFailureCopy.d.ts +0 -25
- package/dist/src/fiat/providers/coinbaseFailureCopy.d.ts.map +0 -1
- package/dist/src/fiat/providers/coinbaseOnrampEvents.d.ts.map +0 -1
- package/dist/src/fiat/providers/moonpay.d.ts.map +0 -1
- package/dist/src/fiat/providers/moonpayApplePayPainted.d.ts.map +0 -1
- package/dist/src/fiat/providers/moonpayApplePayStyle.d.ts.map +0 -1
- package/dist/src/fiat/providers/moonpayAuthStyle.d.ts +0 -19
- package/dist/src/fiat/providers/moonpayAuthStyle.d.ts.map +0 -1
- package/dist/src/fiat/providers/moonpayFailureCopy.d.ts +0 -15
- package/dist/src/fiat/providers/moonpayFailureCopy.d.ts.map +0 -1
- package/dist/src/fiat/providers/moonpayFeeQuote.d.ts.map +0 -1
- package/dist/src/fiat/providers/stripeAccountCreation.d.ts +0 -12
- package/dist/src/fiat/providers/stripeAccountCreation.d.ts.map +0 -1
- package/dist/src/fiat/providers/stripeAuthorize.d.ts.map +0 -1
- package/dist/src/fiat/providers/stripeCheckout.d.ts.map +0 -1
- package/dist/src/fiat/providers/stripeFailureCopy.d.ts +0 -16
- package/dist/src/fiat/providers/stripeFailureCopy.d.ts.map +0 -1
- package/dist/src/fiat/providers/stripeKyc.d.ts.map +0 -1
- package/dist/src/fiat/providers/stripeKycInfo.d.ts.map +0 -1
- package/dist/src/fiat/providers/stripeKycIntro.d.ts +0 -10
- package/dist/src/fiat/providers/stripeKycIntro.d.ts.map +0 -1
- package/dist/src/fiat/providers/stripeOnramp.d.ts.map +0 -1
- package/dist/src/fiat/providers/stripeOnrampBridge.d.ts.map +0 -1
- package/dist/src/fiat/providers/stripePayment.d.ts.map +0 -1
- package/dist/src/fiat/providers/stripeRoundPush.d.ts.map +0 -1
- package/dist/src/fiat/providers/stripeSdk.d.ts.map +0 -1
- package/dist/src/fiat/providers/stripeSeamlessSignIn.d.ts.map +0 -1
- package/dist/src/fiat/providers/stripeSessionAuth.d.ts.map +0 -1
- package/dist/src/fiat/providers/sumsubKyc.d.ts.map +0 -1
- package/dist/src/fiat/providers/transakApplePay.d.ts.map +0 -1
- package/dist/src/fiat/providers/useStripeOnrampClient.d.ts.map +0 -1
- package/dist/src/fiat/providers/useStripeSessionAuth.d.ts.map +0 -1
- /package/dist/src/fiat/providers/{coinbaseOnrampEvents.d.ts → coinbase/coinbaseOnrampEvents.d.ts} +0 -0
- /package/dist/src/fiat/providers/{moonpayApplePayPainted.d.ts → moonpay/moonpayApplePayPainted.d.ts} +0 -0
- /package/dist/src/fiat/providers/{StripeSessionAuthScreen.d.ts → stripe/StripeSessionAuthScreen.d.ts} +0 -0
- /package/dist/src/fiat/providers/{stripeKycInfo.d.ts → stripe/stripeKycInfo.d.ts} +0 -0
- /package/dist/src/fiat/providers/{stripeOnrampBridge.d.ts → stripe/stripeOnrampBridge.d.ts} +0 -0
- /package/dist/src/fiat/providers/{stripeSeamlessSignIn.d.ts → stripe/stripeSeamlessSignIn.d.ts} +0 -0
- /package/dist/src/fiat/providers/{stripeSessionAuth.d.ts → stripe/stripeSessionAuth.d.ts} +0 -0
- /package/dist/src/fiat/providers/{SumsubKycSurface.d.ts → sumsub/SumsubKycSurface.d.ts} +0 -0
- /package/dist/src/fiat/providers/{TransakApplePaySurface.d.ts → transak/TransakApplePaySurface.d.ts} +0 -0
|
@@ -19,6 +19,8 @@ export interface FieldReturnKey {
|
|
|
19
19
|
export interface FiatFormFieldRowProps {
|
|
20
20
|
field: FormField;
|
|
21
21
|
value: string;
|
|
22
|
+
/** Read for a typed field in place of its placeholder, when that is shorter. */
|
|
23
|
+
accessibilityLabel?: string;
|
|
22
24
|
/** Shown only once the page has been tried, so a blank form is quiet. */
|
|
23
25
|
issue?: KycFieldIssue;
|
|
24
26
|
/** The step focuses through its fields, so it holds the first box's node. */
|
|
@@ -31,7 +33,7 @@ export interface FiatFormFieldRowProps {
|
|
|
31
33
|
grouped?: boolean;
|
|
32
34
|
/** A date a picker answers: the box shows the answer instead of taking it. */
|
|
33
35
|
picked?: FieldPicked;
|
|
34
|
-
/** The
|
|
36
|
+
/** The field's country (`fieldCountry`): it fills the region and picks the keyboard. */
|
|
35
37
|
country?: string;
|
|
36
38
|
onChangeValue: (value: string) => void;
|
|
37
39
|
onBlur: () => void;
|
|
@@ -48,14 +50,15 @@ export interface FieldPicked {
|
|
|
48
50
|
* field type this build has never seen still reads correctly from the server's
|
|
49
51
|
* `labelFallback`.
|
|
50
52
|
*/
|
|
51
|
-
export declare function FiatFormFieldRow({ field, value, issue, inputRef, returnKey, grouped, editable, autoFocus, picked, country, onChangeValue, onBlur, }: FiatFormFieldRowProps): import("react").JSX.Element;
|
|
53
|
+
export declare function FiatFormFieldRow({ field, value, accessibilityLabel, issue, inputRef, returnKey, grouped, editable, autoFocus, picked, country, onChangeValue, onBlur, }: FiatFormFieldRowProps): import("react").JSX.Element;
|
|
52
54
|
/**
|
|
53
55
|
* The design's field: a filled box with the label as its placeholder, and an
|
|
54
56
|
* "optional" caption under the label where the form does not require it.
|
|
55
57
|
*/
|
|
56
|
-
export declare function FieldBox({ value, placeholder, optional, maxLength, align, keyboardType, inputRef, returnKey, grouped, editable, autoFocus, invalid, autofill, onChangeValue, onBlur, }: {
|
|
58
|
+
export declare function FieldBox({ value, placeholder, accessibilityLabel, optional, maxLength, align, keyboardType, inputRef, returnKey, grouped, editable, autoFocus, invalid, autofill, onChangeValue, onBlur, }: {
|
|
57
59
|
value: string;
|
|
58
60
|
placeholder: string;
|
|
61
|
+
accessibilityLabel?: string;
|
|
59
62
|
optional?: boolean;
|
|
60
63
|
maxLength?: number;
|
|
61
64
|
align?: 'left' | 'center';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FiatFormFieldRow.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatFormFieldRow.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAA;AACrD,OAAO,EAAkB,KAAK,SAAS,EAAY,MAAM,OAAO,CAAA;AAChE,OAAO,EAGL,SAAS,EACT,KAAK,cAAc,EAEpB,MAAM,cAAc,CAAA;AAKrB,OAAO,EAAa,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAEtD,OAAO,EAAE,KAAK,aAAa,EAAiB,MAAM,iBAAiB,CAAA;AAGnE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAA;AAGnD;;;;;GAKG;AACH,4EAA4E;AAC5E,MAAM,MAAM,aAAa,GACrB,SAAS,CAAC,SAAS,GAAG,IAAI,CAAC,GAC3B,CAAC,CAAC,IAAI,EAAE,SAAS,GAAG,IAAI,KAAK,IAAI,CAAC,CAAA;AAEtC,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,MAAM,GAAG,MAAM,CAAA;IACrB,OAAO,EAAE,MAAM,IAAI,CAAA;CACpB;AAED,MAAM,WAAW,qBAAqB;IACpC,KAAK,EAAE,SAAS,CAAA;IAChB,KAAK,EAAE,MAAM,CAAA;IACb,yEAAyE;IACzE,KAAK,CAAC,EAAE,aAAa,CAAA;IACrB,6EAA6E;IAC7E,QAAQ,CAAC,EAAE,aAAa,CAAA;IACxB,mDAAmD;IACnD,SAAS,CAAC,EAAE,cAAc,CAAA;IAC1B,+EAA+E;IAC/E,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,8EAA8E;IAC9E,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB,
|
|
1
|
+
{"version":3,"file":"FiatFormFieldRow.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatFormFieldRow.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAA;AACrD,OAAO,EAAkB,KAAK,SAAS,EAAY,MAAM,OAAO,CAAA;AAChE,OAAO,EAGL,SAAS,EACT,KAAK,cAAc,EAEpB,MAAM,cAAc,CAAA;AAKrB,OAAO,EAAa,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAEtD,OAAO,EAAE,KAAK,aAAa,EAAiB,MAAM,iBAAiB,CAAA;AAGnE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAA;AAGnD;;;;;GAKG;AACH,4EAA4E;AAC5E,MAAM,MAAM,aAAa,GACrB,SAAS,CAAC,SAAS,GAAG,IAAI,CAAC,GAC3B,CAAC,CAAC,IAAI,EAAE,SAAS,GAAG,IAAI,KAAK,IAAI,CAAC,CAAA;AAEtC,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,MAAM,GAAG,MAAM,CAAA;IACrB,OAAO,EAAE,MAAM,IAAI,CAAA;CACpB;AAED,MAAM,WAAW,qBAAqB;IACpC,KAAK,EAAE,SAAS,CAAA;IAChB,KAAK,EAAE,MAAM,CAAA;IACb,gFAAgF;IAChF,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,yEAAyE;IACzE,KAAK,CAAC,EAAE,aAAa,CAAA;IACrB,6EAA6E;IAC7E,QAAQ,CAAC,EAAE,aAAa,CAAA;IACxB,mDAAmD;IACnD,SAAS,CAAC,EAAE,cAAc,CAAA;IAC1B,+EAA+E;IAC/E,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,8EAA8E;IAC9E,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB,wFAAwF;IACxF,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACtC,MAAM,EAAE,MAAM,IAAI,CAAA;CACnB;AAED,2DAA2D;AAC3D,MAAM,WAAW,WAAW;IAC1B,MAAM,EAAE,OAAO,CAAA;IACf,MAAM,EAAE,MAAM,IAAI,CAAA;CACnB;AAED;;;;;;GAMG;AACH,wBAAgB,gBAAgB,CAAC,EAC/B,KAAK,EACL,KAAK,EACL,kBAAkB,EAClB,KAAK,EACL,QAAQ,EACR,SAAS,EACT,OAAO,EACP,QAAe,EACf,SAAiB,EACjB,MAAM,EACN,OAAO,EACP,aAAa,EACb,MAAM,GACP,EAAE,qBAAqB,+BAkBvB;AAoGD;;;GAGG;AACH,wBAAgB,QAAQ,CAAC,EACvB,KAAK,EACL,WAAW,EACX,kBAAkB,EAClB,QAAgB,EAChB,SAAS,EACT,KAAc,EACd,YAAY,EACZ,QAAQ,EACR,SAAS,EACT,OAAe,EACf,QAAe,EACf,SAAiB,EACjB,OAAe,EACf,QAAQ,EACR,aAAa,EACb,MAAM,GACP,EAAE;IACD,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,EAAE,MAAM,CAAA;IACnB,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,GAAG,QAAQ,CAAA;IACzB,YAAY,CAAC,EAAE,cAAc,CAAC,cAAc,CAAC,CAAA;IAC7C,QAAQ,CAAC,EAAE,aAAa,CAAA;IACxB,SAAS,CAAC,EAAE,cAAc,CAAA;IAC1B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,2DAA2D;IAC3D,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,QAAQ,CAAC,EAAE,aAAa,CAAA;IACxB,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACtC,MAAM,EAAE,MAAM,IAAI,CAAA;CACnB,+BA6DA;AAgJD;;;;;GAKG;AACH,wBAAgB,YAAY,CAC1B,KAAK,EAAE,UAAU,CAAC,OAAO,QAAQ,CAAC,EAClC,OAAO,EAAE,OAAO,EAChB,OAAO,EAAE,OAAO,GACf;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAC;IAAC,WAAW,EAAE,MAAM,CAAA;CAAE,CASxD"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import type { FiatProvider, FormDescriptor, FormValues, JsonValue, Quote } from '@funkit/connect-core';
|
|
1
|
+
import type { FailureReason, FiatProvider, FormDescriptor, FormValues, JsonValue, Quote } from '@funkit/connect-core';
|
|
3
2
|
import { type KycSectionPage } from './formLayout';
|
|
4
3
|
export interface FiatFormScreenProps {
|
|
5
4
|
form: FormDescriptor;
|
|
@@ -29,8 +28,8 @@ export interface FiatFormScreenProps {
|
|
|
29
28
|
answeredValues?: FormValues;
|
|
30
29
|
/** The form's own error, when the server re-entered it carrying one. */
|
|
31
30
|
errorMessage?: string;
|
|
32
|
-
/** The
|
|
33
|
-
|
|
31
|
+
/** The round's refusal; a per-field code marks its fields and opens their page. */
|
|
32
|
+
refusal?: FailureReason;
|
|
34
33
|
isSubmitting: boolean;
|
|
35
34
|
onChangeField: (fieldId: string, value: JsonValue) => void;
|
|
36
35
|
/** Several fields at once, as one write — see `formScreenProps`. */
|
|
@@ -52,6 +51,6 @@ interface FiatFormContentProps extends FiatFormScreenProps {
|
|
|
52
51
|
onStep: (step: number) => void;
|
|
53
52
|
}
|
|
54
53
|
/** One round of the form: what is typed, what is refused, and which page is up. */
|
|
55
|
-
export declare function FiatFormContent({ form, values, defaultCountry, carriedValues, answeredValues, errorMessage,
|
|
54
|
+
export declare function FiatFormContent({ form, values, defaultCountry, carriedValues, answeredValues, errorMessage, refusal, isSubmitting, onChangeField, onPrefill, onSubmit, onClose, pages, step, onStep, }: FiatFormContentProps): import("react").JSX.Element | null;
|
|
56
55
|
export {};
|
|
57
56
|
//# sourceMappingURL=FiatFormScreen.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FiatFormScreen.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatFormScreen.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"FiatFormScreen.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatFormScreen.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,aAAa,EACb,YAAY,EACZ,cAAc,EAEd,UAAU,EACV,SAAS,EACT,KAAK,EACN,MAAM,sBAAsB,CAAA;AA0B7B,OAAO,EAGL,KAAK,cAAc,EAapB,MAAM,cAAc,CAAA;AAkCrB,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,cAAc,CAAA;IACpB,gFAAgF;IAChF,KAAK,CAAC,EAAE,KAAK,CAAA;IACb,qEAAqE;IACrE,QAAQ,CAAC,EAAE,YAAY,CAAA;IACvB,MAAM,EAAE,UAAU,CAAA;IAClB;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB;;;;;OAKG;IACH,aAAa,CAAC,EAAE,UAAU,CAAA;IAC1B;;;;OAIG;IACH,cAAc,CAAC,EAAE,UAAU,CAAA;IAC3B,wEAAwE;IACxE,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,mFAAmF;IACnF,OAAO,CAAC,EAAE,aAAa,CAAA;IACvB,YAAY,EAAE,OAAO,CAAA;IACrB,aAAa,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,KAAK,IAAI,CAAA;IAC1D,oEAAoE;IACpE,SAAS,CAAC,EAAE,CAAC,MAAM,EAAE,UAAU,KAAK,IAAI,CAAA;IACxC,QAAQ,EAAE,MAAM,IAAI,CAAA;IACpB,OAAO,EAAE,MAAM,IAAI,CAAA;CACpB;AAED;;;;;;GAMG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,mBAAmB,+BAuExD;AAED,UAAU,oBAAqB,SAAQ,mBAAmB;IACxD,KAAK,EAAE,cAAc,EAAE,CAAA;IACvB,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAA;CAC/B;AAED,mFAAmF;AACnF,wBAAgB,eAAe,CAAC,EAC9B,IAAI,EACJ,MAAM,EACN,cAAc,EACd,aAAa,EACb,cAAc,EACd,YAAY,EACZ,OAAO,EACP,YAAY,EACZ,aAAa,EACb,SAAS,EACT,QAAQ,EACR,OAAO,EACP,KAAK,EACL,IAAI,EACJ,MAAM,GACP,EAAE,oBAAoB,sCAmlBtB"}
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
import { type FiatFormScreenProps } from './FiatFormScreen';
|
|
2
|
-
import type
|
|
3
|
-
export declare function FiatIdentityStep({ intro, onConsentGiven, ...fullProps }: FiatFormScreenProps & {
|
|
2
|
+
import { type KycIntro } from './providers/kycIntro';
|
|
3
|
+
export declare function FiatIdentityStep({ intro, onConsentGiven, isCorrection, ...fullProps }: FiatFormScreenProps & {
|
|
4
|
+
/**
|
|
5
|
+
* The provider refused this round and sent it back: every field is shown,
|
|
6
|
+
* prefilled, whatever this session already answered.
|
|
7
|
+
*/
|
|
8
|
+
isCorrection?: boolean;
|
|
4
9
|
/** Records the consent tap in the background; see `FiatKycIntroScreen`. */
|
|
5
10
|
onConsentGiven?: (consentedAt: Date, language: string) => void;
|
|
6
11
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FiatIdentityStep.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatIdentityStep.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAkB,KAAK,mBAAmB,EAAE,MAAM,kBAAkB,CAAA;
|
|
1
|
+
{"version":3,"file":"FiatIdentityStep.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatIdentityStep.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAkB,KAAK,mBAAmB,EAAE,MAAM,kBAAkB,CAAA;AAE3E,OAAO,EAAE,KAAK,QAAQ,EAAmB,MAAM,sBAAsB,CAAA;AAQrE,wBAAgB,gBAAgB,CAAC,EAC/B,KAAiB,EACjB,cAAc,EACd,YAAoB,EACpB,GAAG,SAAS,EACb,EAAE,mBAAmB,GAAG;IACvB;;;OAGG;IACH,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,2EAA2E;IAC3E,cAAc,CAAC,EAAE,CAAC,WAAW,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAA;IAC9D;;;;;;;;;OASG;IACH,KAAK,CAAC,EAAE,QAAQ,CAAA;CACjB,+BAYA"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* The faceplate's measured layouts:
|
|
4
|
+
* - `consent`: the quick check, its detail tucked under the title
|
|
5
|
+
* - `additional`: a wider detail and a flush link
|
|
6
|
+
* - `document`: the document round, set lower
|
|
7
|
+
*/
|
|
8
|
+
export type FiatKycIntroLayoutKind = 'consent' | 'additional' | 'document';
|
|
9
|
+
export interface FiatKycIntroLayoutProps {
|
|
10
|
+
layout: FiatKycIntroLayoutKind;
|
|
11
|
+
icon: ReactNode;
|
|
12
|
+
title: string;
|
|
13
|
+
detail: string;
|
|
14
|
+
/** Provider guidance under the detail, e.g. why a document is asked again. */
|
|
15
|
+
note?: string;
|
|
16
|
+
link: {
|
|
17
|
+
label: string;
|
|
18
|
+
onPress: () => void;
|
|
19
|
+
};
|
|
20
|
+
/** The agreement the action records, above it. */
|
|
21
|
+
caption?: string;
|
|
22
|
+
actionLabel: string;
|
|
23
|
+
/** Legal copy under the action. */
|
|
24
|
+
notice?: ReactNode;
|
|
25
|
+
/** Swaps the action for the loader. */
|
|
26
|
+
pending: boolean;
|
|
27
|
+
/** Off on the consent that opens a round: a stray swipe there drops all of KYC. */
|
|
28
|
+
swipeBack?: boolean;
|
|
29
|
+
onContinue: () => void;
|
|
30
|
+
onCancel: () => void;
|
|
31
|
+
}
|
|
32
|
+
/** The KYC faceplate drawn from the copy and actions it is handed. */
|
|
33
|
+
export declare function FiatKycIntroLayout({ layout, icon, title, detail, note, link, caption, actionLabel, notice, pending, swipeBack, onContinue, onCancel, }: FiatKycIntroLayoutProps): import("react").JSX.Element;
|
|
34
|
+
//# sourceMappingURL=FiatKycIntroLayout.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FiatKycIntroLayout.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatKycIntroLayout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAWtC;;;;;GAKG;AACH,MAAM,MAAM,sBAAsB,GAAG,SAAS,GAAG,YAAY,GAAG,UAAU,CAAA;AAE1E,MAAM,WAAW,uBAAuB;IACtC,MAAM,EAAE,sBAAsB,CAAA;IAC9B,IAAI,EAAE,SAAS,CAAA;IACf,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;IACd,8EAA8E;IAC9E,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,IAAI,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,IAAI,CAAA;KAAE,CAAA;IAC5C,kDAAkD;IAClD,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,WAAW,EAAE,MAAM,CAAA;IACnB,mCAAmC;IACnC,MAAM,CAAC,EAAE,SAAS,CAAA;IAClB,uCAAuC;IACvC,OAAO,EAAE,OAAO,CAAA;IAChB,mFAAmF;IACnF,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,UAAU,EAAE,MAAM,IAAI,CAAA;IACtB,QAAQ,EAAE,MAAM,IAAI,CAAA;CACrB;AAED,sEAAsE;AACtE,wBAAgB,kBAAkB,CAAC,EACjC,MAAM,EACN,IAAI,EACJ,KAAK,EACL,MAAM,EACN,IAAI,EACJ,IAAI,EACJ,OAAO,EACP,WAAW,EACX,MAAM,EACN,OAAO,EACP,SAAgB,EAChB,UAAU,EACV,QAAQ,GACT,EAAE,uBAAuB,+BA0FzB"}
|
|
@@ -23,4 +23,6 @@ export interface FiatKycIntroScreenProps {
|
|
|
23
23
|
onCancel: () => void;
|
|
24
24
|
}
|
|
25
25
|
export declare function FiatKycIntroScreen({ provider, kycProvider, variant, correctionReason, isSubmitting, opening, swipeBack, onContinue, onConsentGiven, onCancel, }: FiatKycIntroScreenProps): import("react").JSX.Element;
|
|
26
|
+
/** Fun's own privacy policy, behind every faceplate's "Find out more". */
|
|
27
|
+
export declare function openFunPrivacyPolicy(): void;
|
|
26
28
|
//# sourceMappingURL=FiatKycIntroScreen.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FiatKycIntroScreen.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatKycIntroScreen.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"FiatKycIntroScreen.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatKycIntroScreen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAA;AAkBrE;;;;GAIG;AACH,MAAM,MAAM,mBAAmB,GAC3B,SAAS,GACT,QAAQ,GACR,uBAAuB,GACvB,UAAU,CAAA;AAEd,MAAM,WAAW,uBAAuB;IACtC,QAAQ,CAAC,EAAE,YAAY,CAAA;IACvB,qEAAqE;IACrE,WAAW,CAAC,EAAE,WAAW,CAAA;IACzB,OAAO,CAAC,EAAE,mBAAmB,CAAA;IAC7B,4EAA4E;IAC5E,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,4DAA4D;IAC5D,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,mFAAmF;IACnF,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,UAAU,EAAE,MAAM,IAAI,CAAA;IACtB,wHAAwH;IACxH,cAAc,CAAC,EAAE,CAAC,WAAW,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAA;IAC9D,QAAQ,EAAE,MAAM,IAAI,CAAA;CACrB;AAED,wBAAgB,kBAAkB,CAAC,EACjC,QAAQ,EACR,WAAW,EACX,OAAmB,EACnB,gBAAgB,EAChB,YAAoB,EACpB,OAAe,EACf,SAAgB,EAChB,UAAU,EACV,cAAc,EACd,QAAQ,GACT,EAAE,uBAAuB,+BAqDzB;AAED,0EAA0E;AAC1E,wBAAgB,oBAAoB,SAInC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FiatKycOptionRow.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatKycOptionRow.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"FiatKycOptionRow.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatKycOptionRow.tsx"],"names":[],"mappings":"AAKA,MAAM,WAAW,qBAAqB;IACpC,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;IACd,sEAAsE;IACtE,MAAM,EAAE,MAAM,CAAA;IACd,4DAA4D;IAC5D,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,OAAO,EAAE,MAAM,IAAI,CAAA;CACpB;AAED;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,EAC/B,KAAK,EACL,MAAM,EACN,MAAM,EACN,WAAkC,EAClC,OAAO,GACR,EAAE,qBAAqB,+BAqCvB"}
|
|
@@ -1,13 +1,8 @@
|
|
|
1
1
|
import { type KycStatusGlyph } from '../icons/KycStatusIcon';
|
|
2
|
-
import { type
|
|
3
|
-
export interface FiatKycOptionsScreenProps {
|
|
2
|
+
import { type FiatOptionsScreenProps } from './FiatOptionsScreen';
|
|
3
|
+
export interface FiatKycOptionsScreenProps extends Omit<FiatOptionsScreenProps, 'glyph'> {
|
|
4
4
|
/** The card's own glyph, which need not be the banner's. */
|
|
5
5
|
glyph: KycStatusGlyph;
|
|
6
|
-
title: string;
|
|
7
|
-
/** Heading over the routes, e.g. "Right now you can". */
|
|
8
|
-
optionsLabel: string;
|
|
9
|
-
options: FiatKycOptionRowProps[];
|
|
10
|
-
onBack: () => void;
|
|
11
6
|
}
|
|
12
7
|
/**
|
|
13
8
|
* What the buyer can still do with a deposit identity is holding (Figma KYC
|
|
@@ -17,5 +12,5 @@ export interface FiatKycOptionsScreenProps {
|
|
|
17
12
|
* soon as the form is submitted. This one is reached later, from the deposit
|
|
18
13
|
* the buyer came back to.
|
|
19
14
|
*/
|
|
20
|
-
export declare function FiatKycOptionsScreen({ glyph,
|
|
15
|
+
export declare function FiatKycOptionsScreen({ glyph, ...props }: FiatKycOptionsScreenProps): import("react").JSX.Element;
|
|
21
16
|
//# sourceMappingURL=FiatKycOptionsScreen.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FiatKycOptionsScreen.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatKycOptionsScreen.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"FiatKycOptionsScreen.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatKycOptionsScreen.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,cAAc,EAAiB,MAAM,wBAAwB,CAAA;AAC3E,OAAO,EAEL,KAAK,sBAAsB,EAC5B,MAAM,qBAAqB,CAAA;AAE5B,MAAM,WAAW,yBAA0B,SAAQ,IAAI,CACrD,sBAAsB,EACtB,OAAO,CACR;IACC,4DAA4D;IAC5D,KAAK,EAAE,cAAc,CAAA;CACtB;AAED;;;;;;;GAOG;AACH,wBAAgB,oBAAoB,CAAC,EACnC,KAAK,EACL,GAAG,KAAK,EACT,EAAE,yBAAyB,+BAS3B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FiatKycOutcomeScreen.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatKycOutcomeScreen.tsx"],"names":[],"mappings":"AAUA,MAAM,WAAW,yBAAyB;IACxC,OAAO,EAAE,QAAQ,GAAG,MAAM,GAAG,YAAY,CAAA;IACzC;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,QAAQ,CAAC,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,IAAI,CAAA;KAAE,CAAA;IACjD,UAAU,EAAE,MAAM,IAAI,CAAA;CACvB;AAED;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAAC,EAChC,OAAe,EACf,GAAG,KAAK,EACT,EAAE,IAAI,CAAC,yBAAyB,EAAE,SAAS,CAAC,GAAG;IAC9C,6DAA6D;IAC7D,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB,+BAUA;AAED,wBAAgB,oBAAoB,CAAC,EACnC,OAAO,EACP,OAAe,EACf,QAAQ,EACR,UAAU,GACX,EAAE,yBAAyB,+
|
|
1
|
+
{"version":3,"file":"FiatKycOutcomeScreen.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatKycOutcomeScreen.tsx"],"names":[],"mappings":"AAUA,MAAM,WAAW,yBAAyB;IACxC,OAAO,EAAE,QAAQ,GAAG,MAAM,GAAG,YAAY,CAAA;IACzC;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,QAAQ,CAAC,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,IAAI,CAAA;KAAE,CAAA;IACjD,UAAU,EAAE,MAAM,IAAI,CAAA;CACvB;AAED;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAAC,EAChC,OAAe,EACf,GAAG,KAAK,EACT,EAAE,IAAI,CAAC,yBAAyB,EAAE,SAAS,CAAC,GAAG;IAC9C,6DAA6D;IAC7D,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB,+BAUA;AAED,wBAAgB,oBAAoB,CAAC,EACnC,OAAO,EACP,OAAe,EACf,QAAQ,EACR,UAAU,GACX,EAAE,yBAAyB,+BAwC3B"}
|
|
@@ -6,6 +6,7 @@ export interface FiatKycPhoneFieldProps {
|
|
|
6
6
|
defaultCountry?: string;
|
|
7
7
|
editable: boolean;
|
|
8
8
|
autoFocus: boolean;
|
|
9
|
+
invalid?: boolean;
|
|
9
10
|
inputRef?: FieldInputRef;
|
|
10
11
|
onChangeValue: (value: string) => void;
|
|
11
12
|
onBlur: () => void;
|
|
@@ -16,5 +17,5 @@ export interface FiatKycPhoneFieldProps {
|
|
|
16
17
|
* the right, and E.164 written to the form. A plain box that asked for the
|
|
17
18
|
* code to be typed left a local number failing the round's own rule.
|
|
18
19
|
*/
|
|
19
|
-
export declare function FiatKycPhoneField({ value, defaultCountry, editable, autoFocus, inputRef, onChangeValue, onBlur, }: FiatKycPhoneFieldProps): import("react").JSX.Element;
|
|
20
|
+
export declare function FiatKycPhoneField({ value, defaultCountry, editable, autoFocus, invalid, inputRef, onChangeValue, onBlur, }: FiatKycPhoneFieldProps): import("react").JSX.Element;
|
|
20
21
|
//# sourceMappingURL=FiatKycPhoneField.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FiatKycPhoneField.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatKycPhoneField.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAA;AAcvD,MAAM,WAAW,sBAAsB;IACrC,yCAAyC;IACzC,KAAK,EAAE,MAAM,CAAA;IACb,6EAA6E;IAC7E,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,QAAQ,EAAE,OAAO,CAAA;IACjB,SAAS,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,aAAa,CAAA;IACxB,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACtC,MAAM,EAAE,MAAM,IAAI,CAAA;CACnB;AAED;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAAC,EAChC,KAAK,EACL,cAAc,EACd,QAAQ,EACR,SAAS,EACT,QAAQ,EACR,aAAa,EACb,MAAM,GACP,EAAE,sBAAsB,+
|
|
1
|
+
{"version":3,"file":"FiatKycPhoneField.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatKycPhoneField.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAA;AAcvD,MAAM,WAAW,sBAAsB;IACrC,yCAAyC;IACzC,KAAK,EAAE,MAAM,CAAA;IACb,6EAA6E;IAC7E,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,QAAQ,EAAE,OAAO,CAAA;IACjB,SAAS,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,QAAQ,CAAC,EAAE,aAAa,CAAA;IACxB,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACtC,MAAM,EAAE,MAAM,IAAI,CAAA;CACnB;AAED;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAAC,EAChC,KAAK,EACL,cAAc,EACd,QAAQ,EACR,SAAS,EACT,OAAe,EACf,QAAQ,EACR,aAAa,EACb,MAAM,GACP,EAAE,sBAAsB,+BAsDxB"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import { type FiatKycOptionRowProps } from './FiatKycOptionRow';
|
|
3
|
+
export interface FiatOptionsScreenProps {
|
|
4
|
+
/** The mark over the headline: a KYC status glyph, a payment method's logo. */
|
|
5
|
+
glyph: ReactNode;
|
|
6
|
+
title: string;
|
|
7
|
+
/** Heading over the routes, e.g. "Right now you can". */
|
|
8
|
+
optionsLabel: string;
|
|
9
|
+
options: FiatKycOptionRowProps[];
|
|
10
|
+
onBack: () => void;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* A headline and the routes out of it, each on a row with a "Go" chip (Figma
|
|
14
|
+
* KYC R2, 2387:13322, 2387:13488 and 2387:13602; Apple Pay failed, 1:7611).
|
|
15
|
+
*
|
|
16
|
+
* Drawn as a `FlowSheet` step or inside a full `Drawer`, whichever the caller
|
|
17
|
+
* stands it in: it fills the one it finds itself on, and scrolls through
|
|
18
|
+
* gorhom's own scrollable when that is the drawer (see `sheetSizing`).
|
|
19
|
+
*/
|
|
20
|
+
export declare function FiatOptionsScreen({ glyph, title, optionsLabel, options, onBack, }: FiatOptionsScreenProps): import("react").JSX.Element;
|
|
21
|
+
//# sourceMappingURL=FiatOptionsScreen.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FiatOptionsScreen.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatOptionsScreen.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAQtC,OAAO,EAEL,KAAK,qBAAqB,EAC3B,MAAM,oBAAoB,CAAA;AAE3B,MAAM,WAAW,sBAAsB;IACrC,+EAA+E;IAC/E,KAAK,EAAE,SAAS,CAAA;IAChB,KAAK,EAAE,MAAM,CAAA;IACb,yDAAyD;IACzD,YAAY,EAAE,MAAM,CAAA;IACpB,OAAO,EAAE,qBAAqB,EAAE,CAAA;IAChC,MAAM,EAAE,MAAM,IAAI,CAAA;CACnB;AAED;;;;;;;GAOG;AACH,wBAAgB,iBAAiB,CAAC,EAChC,KAAK,EACL,KAAK,EACL,YAAY,EACZ,OAAO,EACP,MAAM,GACP,EAAE,sBAAsB,+BAiDxB"}
|
|
@@ -18,7 +18,7 @@ export interface FiatOtpScreenProps {
|
|
|
18
18
|
* is live only when the round carries a transition for it; absent, the link
|
|
19
19
|
* is disabled rather than a press that does nothing.
|
|
20
20
|
*/
|
|
21
|
-
onResend?: () => void;
|
|
21
|
+
onResend?: () => Promise<void> | void;
|
|
22
22
|
isSubmitting: boolean;
|
|
23
23
|
onChangeCode: (code: string) => void;
|
|
24
24
|
onSubmit: () => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FiatOtpScreen.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatOtpScreen.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"FiatOtpScreen.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatOtpScreen.tsx"],"names":[],"mappings":"AAgCA,8EAA8E;AAC9E,eAAO,MAAM,eAAe,IAAI,CAAA;AAEhC,MAAM,WAAW,kBAAkB;IACjC,gEAAgE;IAChE,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,wDAAwD;IACxD,KAAK,EAAE,OAAO,CAAA;IACd,mEAAmE;IACnE,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAA;IACrC,YAAY,EAAE,OAAO,CAAA;IACrB,YAAY,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAA;IACpC,QAAQ,EAAE,MAAM,IAAI,CAAA;IACpB,OAAO,EAAE,MAAM,IAAI,CAAA;CACpB;AAED;;;;;GAKG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,kBAAkB,+BAyBtD;AAED,UAAU,mBAAoB,SAAQ,kBAAkB;IACtD,IAAI,EAAE,MAAM,CAAA;CACb;AAED,wBAAgB,cAAc,CAAC,EAC7B,QAAgB,EAChB,MAAwB,EACxB,WAAW,EACX,KAAK,EACL,YAAY,EACZ,QAAQ,EACR,YAAY,EACZ,YAAY,EACZ,QAAQ,EACR,OAAO,EACP,IAAI,GACL,EAAE,mBAAmB,+BAgNrB"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { PaymentFailureAlternative, PaymentFailureAnswer } from './usePaymentFailureAnswer';
|
|
2
|
+
/**
|
|
3
|
+
* A failed Apple Pay payment as the amount screen presents it: the whole
|
|
4
|
+
* screen, slid up over the entry when a pay sheet gives up (Figma 1:7611).
|
|
5
|
+
* Standing full and solid, it is a drawer only in how it arrives and leaves.
|
|
6
|
+
*/
|
|
7
|
+
export declare function FiatPaymentFailedSheet({ answer, }: {
|
|
8
|
+
answer: PaymentFailureAnswer;
|
|
9
|
+
}): import("react").JSX.Element;
|
|
10
|
+
export interface FiatPaymentFailedScreenProps {
|
|
11
|
+
/** Which second route the screen offers; see `PaymentFailureAnswer`. */
|
|
12
|
+
alternative: PaymentFailureAlternative;
|
|
13
|
+
/** Back onto the pay button, which opens Apple Pay again for another card. */
|
|
14
|
+
onRetry: () => void;
|
|
15
|
+
/** Onto a new quote from another provider, for the same card. */
|
|
16
|
+
onRequote: () => void;
|
|
17
|
+
/** Onto the host's payment-method picker. */
|
|
18
|
+
onChangeMethod: () => void;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* The ways on from a failed Apple Pay payment. The design gives every failure
|
|
22
|
+
* one message, whatever the provider's code said: the back disc, the gesture
|
|
23
|
+
* and the backdrop all count as `onRetry`.
|
|
24
|
+
*/
|
|
25
|
+
export declare function FiatPaymentFailedScreen({ alternative, onRetry, onRequote, onChangeMethod, }: FiatPaymentFailedScreenProps): import("react").JSX.Element;
|
|
26
|
+
//# sourceMappingURL=FiatPaymentFailedSheet.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FiatPaymentFailedSheet.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatPaymentFailedSheet.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EACV,yBAAyB,EACzB,oBAAoB,EACrB,MAAM,2BAA2B,CAAA;AAElC;;;;GAIG;AACH,wBAAgB,sBAAsB,CAAC,EACrC,MAAM,GACP,EAAE;IACD,MAAM,EAAE,oBAAoB,CAAA;CAC7B,+BAcA;AAKD,MAAM,WAAW,4BAA4B;IAC3C,wEAAwE;IACxE,WAAW,EAAE,yBAAyB,CAAA;IACtC,8EAA8E;IAC9E,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB,iEAAiE;IACjE,SAAS,EAAE,MAAM,IAAI,CAAA;IACrB,6CAA6C;IAC7C,cAAc,EAAE,MAAM,IAAI,CAAA;CAC3B;AAED;;;;GAIG;AACH,wBAAgB,uBAAuB,CAAC,EACtC,WAAW,EACX,OAAO,EACP,SAAS,EACT,cAAc,GACf,EAAE,4BAA4B,+BAkC9B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FiatPhoneField.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatPhoneField.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,SAAS,IAAI,WAAW,EAAE,MAAM,cAAc,CAAA;
|
|
1
|
+
{"version":3,"file":"FiatPhoneField.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatPhoneField.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,SAAS,IAAI,WAAW,EAAE,MAAM,cAAc,CAAA;AAU5D,OAAO,EAAE,KAAK,YAAY,EAA4B,MAAM,kBAAkB,CAAA;AAE9E,MAAM,WAAW,mBAAmB;IAClC,OAAO,EAAE,YAAY,CAAA;IACrB,2EAA2E;IAC3E,QAAQ,EAAE,MAAM,CAAA;IAChB,8DAA8D;IAC9D,MAAM,EAAE,OAAO,CAAA;IACf,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,wDAAwD;IACxD,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,SAAS,EAAE,OAAO,CAAA;IAClB;;;OAGG;IACH,aAAa,EAAE,CAAC,KAAK,EAAE,SAAS,KAAK,IAAI,CAAA;IACzC,eAAe,EAAE,MAAM,IAAI,CAAA;IAC3B,eAAe,EAAE,MAAM,IAAI,CAAA;IAC3B,0EAA0E;IAC1E,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB,WAAW,EAAE,CAAC,KAAK,EAAE,WAAW,GAAG,IAAI,KAAK,IAAI,CAAA;CACjD;AAED,MAAM,WAAW,SAAS;IACxB,QAAQ,EAAE,MAAM,CAAA;IAChB,OAAO,CAAC,EAAE,YAAY,CAAA;IACtB;;;OAGG;IACH,QAAQ,EAAE,OAAO,CAAA;CAClB;AAED;;;;;;;GAOG;AACH,wBAAgB,cAAc,CAAC,EAC7B,OAAO,EACP,QAAQ,EACR,MAAM,EACN,SAAS,EACT,QAAe,EACf,OAAe,EACf,aAAa,EACb,eAAe,EACf,eAAe,EACf,OAAO,EACP,WAAW,GACZ,EAAE,mBAAmB,+BA8GrB"}
|
|
@@ -3,8 +3,11 @@ export interface FiatReceiptProps {
|
|
|
3
3
|
/** Draws the warning-ringed glyph rather than the neutral one. */
|
|
4
4
|
restricted: boolean;
|
|
5
5
|
title: string;
|
|
6
|
-
/**
|
|
7
|
-
|
|
6
|
+
/**
|
|
7
|
+
* Label on the support link; without one the receipt draws none. Its row is
|
|
8
|
+
* held either way, so a verdict that brings the link leaves the copy put.
|
|
9
|
+
*/
|
|
10
|
+
supportLabel?: string;
|
|
8
11
|
/**
|
|
9
12
|
* Every title the receipt makes room for. The title box is as tall as the
|
|
10
13
|
* tallest of them at the current text size, so a title that changes in
|
|
@@ -16,7 +19,7 @@ export interface FiatReceiptProps {
|
|
|
16
19
|
}
|
|
17
20
|
/**
|
|
18
21
|
* The layout every terminal fiat receipt wears: a glyph, a line saying where
|
|
19
|
-
* the buyer stands, a support link, and whatever action is left.
|
|
22
|
+
* the buyer stands, a support link if any, and whatever action is left.
|
|
20
23
|
*
|
|
21
24
|
* Presentational only — it decides nothing. The wording, the glyph and the
|
|
22
25
|
* actions all come from the screen that renders it, so the identity outcomes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FiatReceipt.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatReceipt.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAYtC,MAAM,WAAW,gBAAgB;IAC/B,kEAAkE;IAClE,UAAU,EAAE,OAAO,CAAA;IACnB,KAAK,EAAE,MAAM,CAAA;IACb
|
|
1
|
+
{"version":3,"file":"FiatReceipt.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatReceipt.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAYtC,MAAM,WAAW,gBAAgB;IAC/B,kEAAkE;IAClE,UAAU,EAAE,OAAO,CAAA;IACnB,KAAK,EAAE,MAAM,CAAA;IACb;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB;;;;OAIG;IACH,cAAc,CAAC,EAAE,SAAS,MAAM,EAAE,CAAA;IAClC,8DAA8D;IAC9D,QAAQ,CAAC,EAAE,SAAS,CAAA;CACrB;AAMD;;;;;;;;GAQG;AACH,wBAAgB,WAAW,CAAC,EAC1B,UAAU,EACV,KAAK,EACL,YAAY,EACZ,cAAmB,EACnB,QAAQ,GACT,EAAE,gBAAgB,+BAoElB"}
|
|
@@ -5,7 +5,9 @@
|
|
|
5
5
|
* nothing to retry, and support is the only thing left to do. Its one action
|
|
6
6
|
* leaves, since there is no flow to continue into.
|
|
7
7
|
*/
|
|
8
|
-
export declare function FiatRegionUnsupportedScreen({ onClose, }: {
|
|
8
|
+
export declare function FiatRegionUnsupportedScreen({ later, onClose, }: {
|
|
9
|
+
/** The block names a comeback date: not yet, rather than not here. */
|
|
10
|
+
later?: boolean;
|
|
9
11
|
onClose: () => void;
|
|
10
12
|
}): import("react").JSX.Element;
|
|
11
13
|
//# sourceMappingURL=FiatRegionUnsupportedScreen.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FiatRegionUnsupportedScreen.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatRegionUnsupportedScreen.tsx"],"names":[],"mappings":"AAKA;;;;;;GAMG;AACH,wBAAgB,2BAA2B,CAAC,EAC1C,OAAO,GACR,EAAE;IACD,OAAO,EAAE,MAAM,IAAI,CAAA;CACpB,+
|
|
1
|
+
{"version":3,"file":"FiatRegionUnsupportedScreen.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatRegionUnsupportedScreen.tsx"],"names":[],"mappings":"AAKA;;;;;;GAMG;AACH,wBAAgB,2BAA2B,CAAC,EAC1C,KAAa,EACb,OAAO,GACR,EAAE;IACD,sEAAsE;IACtE,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,OAAO,EAAE,MAAM,IAAI,CAAA;CACpB,+BAiBA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FiatSharingConsentNotice.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatSharingConsentNotice.tsx"],"names":[],"mappings":"AAeA,kFAAkF;AAClF,wBAAgB,wBAAwB,gCAsBvC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { type FiatErrorScreenLog } from './FiatErrorScreen';
|
|
2
|
+
/**
|
|
3
|
+
* A step that stopped before any payment, in the payment-failed screen's
|
|
4
|
+
* design: the ways on are the step again or another of the host's methods.
|
|
5
|
+
* The back disc leaves the flow, as the failure screen's close did.
|
|
6
|
+
*/
|
|
7
|
+
export declare function FiatStepFailedScreen({ log, retryDetail, isApplePay, isRetrying, onRetry, onTryOtherMethods, onClose, }: {
|
|
8
|
+
log: FiatErrorScreenLog;
|
|
9
|
+
/** What Try again does, under its title. */
|
|
10
|
+
retryDetail: string;
|
|
11
|
+
isApplePay: boolean;
|
|
12
|
+
isRetrying: boolean;
|
|
13
|
+
onRetry: () => void;
|
|
14
|
+
onTryOtherMethods: (() => void) | undefined;
|
|
15
|
+
onClose: () => void;
|
|
16
|
+
}): import("react").JSX.Element;
|
|
17
|
+
//# sourceMappingURL=FiatStepFailedScreen.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FiatStepFailedScreen.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatStepFailedScreen.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,kBAAkB,EAAqB,MAAM,mBAAmB,CAAA;AAS9E;;;;GAIG;AACH,wBAAgB,oBAAoB,CAAC,EACnC,GAAG,EACH,WAAW,EACX,UAAU,EACV,UAAU,EACV,OAAO,EACP,iBAAiB,EACjB,OAAO,GACR,EAAE;IACD,GAAG,EAAE,kBAAkB,CAAA;IACvB,4CAA4C;IAC5C,WAAW,EAAE,MAAM,CAAA;IACnB,UAAU,EAAE,OAAO,CAAA;IACnB,UAAU,EAAE,OAAO,CAAA;IACnB,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB,iBAAiB,EAAE,CAAC,MAAM,IAAI,CAAC,GAAG,SAAS,CAAA;IAC3C,OAAO,EAAE,MAAM,IAAI,CAAA;CACpB,+BA+BA"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { FiatProvider, TermsToAccept } from '@funkit/connect-core';
|
|
2
|
+
import type { ReactNode } from 'react';
|
|
2
3
|
export interface FiatTermsNoticeProps {
|
|
3
4
|
/** A standing disclosure names only its document; there is no revision to echo back. */
|
|
4
5
|
terms: TermsToAccept | Pick<TermsToAccept, 'documentUrl'>;
|
|
@@ -7,6 +8,11 @@ export interface FiatTermsNoticeProps {
|
|
|
7
8
|
}
|
|
8
9
|
export declare const COINBASE_USER_AGREEMENT_URL = "https://www.coinbase.com/legal/user_agreement";
|
|
9
10
|
export declare const MOONPAY_TERMS_URL = "https://www.moonpay.com/legal/terms";
|
|
11
|
+
/** A tagged span of the notice; the label is the tag's translated content. */
|
|
12
|
+
export declare function DocumentLink({ url, children, }: {
|
|
13
|
+
url: string;
|
|
14
|
+
children?: ReactNode;
|
|
15
|
+
}): import("react").JSX.Element;
|
|
10
16
|
/** The server requests consent; the footer explains what the next tap accepts. */
|
|
11
17
|
export declare function FiatTermsNotice({ terms, provider }: FiatTermsNoticeProps): import("react").JSX.Element;
|
|
12
18
|
//# sourceMappingURL=FiatTermsNotice.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FiatTermsNotice.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatTermsNotice.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAA;
|
|
1
|
+
{"version":3,"file":"FiatTermsNotice.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatTermsNotice.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAA;AACvE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAQtC,MAAM,WAAW,oBAAoB;IACnC,wFAAwF;IACxF,KAAK,EAAE,aAAa,GAAG,IAAI,CAAC,aAAa,EAAE,aAAa,CAAC,CAAA;IACzD,iGAAiG;IACjG,QAAQ,CAAC,EAAE,YAAY,CAAA;CACxB;AAED,eAAO,MAAM,2BAA2B,kDACS,CAAA;AAEjD,eAAO,MAAM,iBAAiB,wCAAwC,CAAA;AAUtE,8EAA8E;AAC9E,wBAAgB,YAAY,CAAC,EAC3B,GAAG,EACH,QAAQ,GACT,EAAE;IACD,GAAG,EAAE,MAAM,CAAA;IACX,QAAQ,CAAC,EAAE,SAAS,CAAA;CACrB,+BAWA;AAgED,kFAAkF;AAClF,wBAAgB,eAAe,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,oBAAoB,+BAaxE"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { type FiatErrorScreenLog } from './FiatErrorScreen';
|
|
2
|
+
/**
|
|
3
|
+
* A refusal with nothing to retry here: the way on is another payment method,
|
|
4
|
+
* and that menu is the host's. Close stays either way, for a buyer with no
|
|
5
|
+
* other method to switch to.
|
|
6
|
+
*/
|
|
7
|
+
export declare function FiatUnavailableScreen({ title, onTryOtherMethods, onClose, errorLog, }: {
|
|
8
|
+
title: string;
|
|
9
|
+
onTryOtherMethods: (() => void) | undefined;
|
|
10
|
+
onClose: () => void;
|
|
11
|
+
/** Set when the refusal is a fault of ours, worth an alert. */
|
|
12
|
+
errorLog?: FiatErrorScreenLog;
|
|
13
|
+
}): import("react").JSX.Element;
|
|
14
|
+
//# sourceMappingURL=FiatUnavailableScreen.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FiatUnavailableScreen.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatUnavailableScreen.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,kBAAkB,EAAqB,MAAM,mBAAmB,CAAA;AAI9E;;;;GAIG;AACH,wBAAgB,qBAAqB,CAAC,EACpC,KAAK,EACL,iBAAiB,EACjB,OAAO,EACP,QAAQ,GACT,EAAE;IACD,KAAK,EAAE,MAAM,CAAA;IACb,iBAAiB,EAAE,CAAC,MAAM,IAAI,CAAC,GAAG,SAAS,CAAA;IAC3C,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB,+DAA+D;IAC/D,QAAQ,CAAC,EAAE,kBAAkB,CAAA;CAC9B,+BAoCA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { DisclosureSegment } from './providers/adapter';
|
|
2
|
+
export interface PaymentDisclosureNoticeProps {
|
|
3
|
+
disclosures: readonly (readonly DisclosureSegment[])[];
|
|
4
|
+
}
|
|
5
|
+
export declare function PaymentDisclosureNotice({ disclosures, }: PaymentDisclosureNoticeProps): import("react").JSX.Element;
|
|
6
|
+
//# sourceMappingURL=PaymentDisclosureNotice.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PaymentDisclosureNotice.d.ts","sourceRoot":"","sources":["../../../src/fiat/PaymentDisclosureNotice.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAE5D,MAAM,WAAW,4BAA4B;IAC3C,WAAW,EAAE,SAAS,CAAC,SAAS,iBAAiB,EAAE,CAAC,EAAE,CAAA;CACvD;AAED,wBAAgB,uBAAuB,CAAC,EACtC,WAAW,GACZ,EAAE,4BAA4B,+BAyB9B"}
|
|
@@ -8,7 +8,7 @@ import type { FailureDetail, PendingFailure } from './depositOutcome';
|
|
|
8
8
|
* cancellation.
|
|
9
9
|
* - A failed send with no surface to blame is ours, not a provider's.
|
|
10
10
|
* - A card or billing problem is a decline: another provider would refuse the
|
|
11
|
-
* same card.
|
|
11
|
+
* same card (see `paymentFailureKind`).
|
|
12
12
|
*/
|
|
13
13
|
export declare function closeFailure({ surfaceCode, isRetryable, detail, t, }: {
|
|
14
14
|
surfaceCode: string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"closeFailure.d.ts","sourceRoot":"","sources":["../../../src/fiat/closeFailure.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AAGxC,OAAO,KAAK,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;
|
|
1
|
+
{"version":3,"file":"closeFailure.d.ts","sourceRoot":"","sources":["../../../src/fiat/closeFailure.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AAGxC,OAAO,KAAK,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAIrE;;;;;;;;;GASG;AACH,wBAAgB,YAAY,CAAC,EAC3B,WAAW,EACX,WAAW,EACX,MAAM,EACN,CAAC,GACF,EAAE;IACD,WAAW,EAAE,MAAM,GAAG,SAAS,CAAA;IAC/B,WAAW,EAAE,OAAO,CAAA;IACpB,MAAM,EAAE,aAAa,CAAA;IACrB,CAAC,EAAE,SAAS,CAAA;CACb,GAAG,cAAc,GAAG,SAAS,CA4B7B"}
|
|
@@ -27,4 +27,6 @@ export declare function isIdentityDetour(entry: EntryCta): boolean;
|
|
|
27
27
|
* it, so the state it holds the deposit on is what the button says.
|
|
28
28
|
*/
|
|
29
29
|
export declare function entryCtaLabel(entry: EntryCta, t: TFunction, appLabel: string): string;
|
|
30
|
+
/** Whether {@link entryCtaLabel} gives the app's own pay label. */
|
|
31
|
+
export declare function isEntryPay(entry: EntryCta): boolean;
|
|
30
32
|
//# sourceMappingURL=ctaLabel.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ctaLabel.d.ts","sourceRoot":"","sources":["../../../src/fiat/ctaLabel.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAA;AAEtE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AAExC;;;;;GAKG;AACH,wBAAgB,QAAQ,CAAC,GAAG,EAAE,gBAAgB,EAAE,CAAC,EAAE,SAAS,GAAG,MAAM,CAYpE;AAKD;;;;;;GAMG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,QAAQ,GAAG,OAAO,CAOzD;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,aAAa,CAC3B,KAAK,EAAE,QAAQ,EACf,CAAC,EAAE,SAAS,EACZ,QAAQ,EAAE,MAAM,GACf,MAAM,CAWR"}
|
|
1
|
+
{"version":3,"file":"ctaLabel.d.ts","sourceRoot":"","sources":["../../../src/fiat/ctaLabel.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAA;AAEtE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AAExC;;;;;GAKG;AACH,wBAAgB,QAAQ,CAAC,GAAG,EAAE,gBAAgB,EAAE,CAAC,EAAE,SAAS,GAAG,MAAM,CAYpE;AAKD;;;;;;GAMG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,QAAQ,GAAG,OAAO,CAOzD;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,aAAa,CAC3B,KAAK,EAAE,QAAQ,EACf,CAAC,EAAE,SAAS,EACZ,QAAQ,EAAE,MAAM,GACf,MAAM,CAWR;AAED,mEAAmE;AACnE,wBAAgB,UAAU,CAAC,KAAK,EAAE,QAAQ,GAAG,OAAO,CAKnD"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { FiatProvider } from '@funkit/connect-core';
|
|
2
|
+
import type { TFunction } from 'i18next';
|
|
3
|
+
import type { DepositMatchTerms } from '../flow/depositFlowConfig';
|
|
4
|
+
import type { DepositMatchScreenProps } from '../screens/DepositMatchScreen';
|
|
5
|
+
import { type FeeLine, type FeeQuote, type FeeSubsidy } from './stepDetails';
|
|
6
|
+
/**
|
|
7
|
+
* The fee line for a matched deposit: the bonus alone when the quote is
|
|
8
|
+
* subsidized, after the quoted fee otherwise. Nothing renders until an amount
|
|
9
|
+
* is entered and its currency is known.
|
|
10
|
+
*/
|
|
11
|
+
export declare function depositMatchLine(amount: string, currency: string | undefined, terms: DepositMatchTerms, quote: FeeQuote | undefined, feeSubsidy: FeeSubsidy, t: TFunction): FeeLine | undefined;
|
|
12
|
+
/**
|
|
13
|
+
* The match drawer's figures. A subsidized fee reads FREE beside the amount
|
|
14
|
+
* reimbursed; otherwise the row carries the quoted fee and the total nets it.
|
|
15
|
+
*/
|
|
16
|
+
export declare function depositMatchDetails(amount: string, currency: string, terms: DepositMatchTerms, quote: FeeQuote | undefined, feeSubsidy: FeeSubsidy, provider: FiatProvider | undefined): Omit<DepositMatchScreenProps, 'footnote'>;
|
|
17
|
+
//# sourceMappingURL=depositMatch.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"depositMatch.d.ts","sourceRoot":"","sources":["../../../src/fiat/depositMatch.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AACxD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AAExC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAA;AAClE,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAA;AAM5E,OAAO,EACL,KAAK,OAAO,EACZ,KAAK,QAAQ,EACb,KAAK,UAAU,EAGhB,MAAM,eAAe,CAAA;AActB;;;;GAIG;AACH,wBAAgB,gBAAgB,CAC9B,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,MAAM,GAAG,SAAS,EAC5B,KAAK,EAAE,iBAAiB,EACxB,KAAK,EAAE,QAAQ,GAAG,SAAS,EAC3B,UAAU,EAAE,UAAU,EACtB,CAAC,EAAE,SAAS,GACX,OAAO,GAAG,SAAS,CAqBrB;AAED;;;GAGG;AACH,wBAAgB,mBAAmB,CACjC,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,MAAM,EAChB,KAAK,EAAE,iBAAiB,EACxB,KAAK,EAAE,QAAQ,GAAG,SAAS,EAC3B,UAAU,EAAE,UAAU,EACtB,QAAQ,EAAE,YAAY,GAAG,SAAS,GACjC,IAAI,CAAC,uBAAuB,EAAE,UAAU,CAAC,CAgB3C"}
|
|
@@ -29,6 +29,12 @@ export interface FailureDetail {
|
|
|
29
29
|
export interface PendingFailure {
|
|
30
30
|
error: FunkitFlowError;
|
|
31
31
|
detail: FailureDetail;
|
|
32
|
+
/**
|
|
33
|
+
* The order itself ended badly, so it no longer counts as live. A failure
|
|
34
|
+
* noted while an order is still alive (a poll that errored) may yet end in a
|
|
35
|
+
* deposit, so leaving on it says nothing to the host.
|
|
36
|
+
*/
|
|
37
|
+
orderEnded?: boolean;
|
|
32
38
|
}
|
|
33
39
|
type StepState = NonNullable<FiatFlow['stepResponse']>['state'];
|
|
34
40
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"depositOutcome.d.ts","sourceRoot":"","sources":["../../../src/fiat/depositOutcome.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;AACpD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AAGxC,OAAO,KAAK,EACV,oBAAoB,EACpB,aAAa,EACd,MAAM,2BAA2B,CAAA;AAClC,OAAO,EAAE,KAAK,eAAe,EAAa,MAAM,mBAAmB,CAAA;AAGnE,uFAAuF;AACvF,MAAM,WAAW,sBAAsB;IACrC,6EAA6E;IAC7E,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB;;;OAGG;IACH,SAAS,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,aAAa,CAAC,MAAM,CAAC,KAAK,IAAI,CAAA;IACnE,MAAM,EAAE,CAAC,KAAK,EAAE,eAAe,EAAE,MAAM,CAAC,EAAE,aAAa,KAAK,IAAI,CAAA;IAChE;;;OAGG;IACH,WAAW,EAAE,CAAC,OAAO,EAAE,cAAc,GAAG,SAAS,KAAK,IAAI,CAAA;CAC3D;AAED,uEAAuE;AACvE,MAAM,WAAW,aAAa;IAC5B,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,yEAAyE;IACzE,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB;AAED,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,eAAe,CAAA;IACtB,MAAM,EAAE,aAAa,CAAA;
|
|
1
|
+
{"version":3,"file":"depositOutcome.d.ts","sourceRoot":"","sources":["../../../src/fiat/depositOutcome.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;AACpD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AAGxC,OAAO,KAAK,EACV,oBAAoB,EACpB,aAAa,EACd,MAAM,2BAA2B,CAAA;AAClC,OAAO,EAAE,KAAK,eAAe,EAAa,MAAM,mBAAmB,CAAA;AAGnE,uFAAuF;AACvF,MAAM,WAAW,sBAAsB;IACrC,6EAA6E;IAC7E,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB;;;OAGG;IACH,SAAS,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,aAAa,CAAC,MAAM,CAAC,KAAK,IAAI,CAAA;IACnE,MAAM,EAAE,CAAC,KAAK,EAAE,eAAe,EAAE,MAAM,CAAC,EAAE,aAAa,KAAK,IAAI,CAAA;IAChE;;;OAGG;IACH,WAAW,EAAE,CAAC,OAAO,EAAE,cAAc,GAAG,SAAS,KAAK,IAAI,CAAA;CAC3D;AAED,uEAAuE;AACvE,MAAM,WAAW,aAAa;IAC5B,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,yEAAyE;IACzE,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB;AAED,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,eAAe,CAAA;IACtB,MAAM,EAAE,aAAa,CAAA;IACrB;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB;AAED,KAAK,SAAS,GAAG,WAAW,CAAC,QAAQ,CAAC,cAAc,CAAC,CAAC,CAAC,OAAO,CAAC,CAAA;AAS/D;;;;GAIG;AACH,wBAAgB,yBAAyB,CAAC,EACxC,SAAS,EACT,UAAU,EACV,aAAa,EACb,CAAC,GACF,EAAE;IACD,SAAS,EAAE,IAAI,CAAC,oBAAoB,EAAE,oBAAoB,GAAG,gBAAgB,CAAC,CAAA;IAC9E,UAAU,EAAE,MAAM,CAAA;IAClB,aAAa,EAAE,MAAM,CAAA;IACrB,CAAC,EAAE,SAAS,CAAA;CACb,GAAG,sBAAsB,CAgGzB;AAED,+EAA+E;AAC/E,wBAAgB,iBAAiB,CAC/B,IAAI,EAAE,QAAQ,EACd,QAAQ,EAAE,sBAAsB,EAChC,CAAC,EAAE,SAAS,GACX,IAAI,CAeN;AAED,2FAA2F;AAC3F,wBAAgB,aAAa,CAC3B,MAAM,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC,QAAQ,CAAC,EAClC,KAAK,EAAE,SAAS,GAAG,SAAS,EAC5B,CAAC,EAAE,SAAS,GACX,eAAe,GAAG,SAAS,CAU7B"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
2
|
+
import type { DisclosureFooterContent, PaymentDisclosures } from './disclosureFooterContent';
|
|
3
|
+
/** Above the flow session, so the footer outlives the remount a re-quote causes. */
|
|
4
|
+
export declare function DisclosureFooterHost({ children }: {
|
|
5
|
+
children: ReactNode;
|
|
6
|
+
}): import("react").JSX.Element;
|
|
7
|
+
/**
|
|
8
|
+
* The footer moves only with the action: it takes `content` the frame the
|
|
9
|
+
* action is ready, and while the action loads again it keeps what it last
|
|
10
|
+
* showed. Before the first ready it shows nothing.
|
|
11
|
+
*/
|
|
12
|
+
export declare function useDisclosureFooter({ ready, content, }: {
|
|
13
|
+
ready: boolean;
|
|
14
|
+
content: DisclosureFooterContent | undefined;
|
|
15
|
+
}): ReactNode | undefined;
|
|
16
|
+
/** The payment disclosures a provider recorded, for the quote it recorded them on. */
|
|
17
|
+
export declare function usePaymentDisclosures(quoteRef: string | undefined): {
|
|
18
|
+
disclosures: PaymentDisclosures | undefined;
|
|
19
|
+
record: (disclosures: PaymentDisclosures) => void;
|
|
20
|
+
};
|
|
21
|
+
//# sourceMappingURL=disclosureFooter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"disclosureFooter.d.ts","sourceRoot":"","sources":["../../../src/fiat/disclosureFooter.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,SAAS,EAMf,MAAM,OAAO,CAAA;AAId,OAAO,KAAK,EACV,uBAAuB,EACvB,kBAAkB,EACnB,MAAM,2BAA2B,CAAA;AAUlC,oFAAoF;AACpF,wBAAgB,oBAAoB,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,EAAE,SAAS,CAAA;CAAE,+BASzE;AAED;;;;GAIG;AACH,wBAAgB,mBAAmB,CAAC,EAClC,KAAK,EACL,OAAO,GACR,EAAE;IACD,KAAK,EAAE,OAAO,CAAA;IACd,OAAO,EAAE,uBAAuB,GAAG,SAAS,CAAA;CAC7C,GAAG,SAAS,GAAG,SAAS,CAWxB;AAoCD,sFAAsF;AACtF,wBAAgB,qBAAqB,CAAC,QAAQ,EAAE,MAAM,GAAG,SAAS,GAAG;IACnE,WAAW,EAAE,kBAAkB,GAAG,SAAS,CAAA;IAC3C,MAAM,EAAE,CAAC,WAAW,EAAE,kBAAkB,KAAK,IAAI,CAAA;CAClD,CAgBA"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { FiatProvider } from '@funkit/connect-core';
|
|
2
|
+
import type { FiatTermsNoticeProps } from './FiatTermsNotice';
|
|
3
|
+
import type { DisclosureSegment, ReadySurface } from './providers/adapter';
|
|
4
|
+
type Terms = FiatTermsNoticeProps['terms'];
|
|
5
|
+
export type PaymentDisclosures = readonly (readonly DisclosureSegment[])[];
|
|
6
|
+
/** What the amount screen's bottom footer says. */
|
|
7
|
+
export type DisclosureFooterContent = {
|
|
8
|
+
kind: 'disclosures';
|
|
9
|
+
disclosures: PaymentDisclosures;
|
|
10
|
+
} | {
|
|
11
|
+
kind: 'terms';
|
|
12
|
+
terms: Terms;
|
|
13
|
+
provider: FiatProvider | undefined;
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* - Beside an Apple Pay button, a quote's payment disclosures replace the
|
|
17
|
+
* provider's short terms: each one links the provider's own documents.
|
|
18
|
+
* - Anywhere else, only the short terms, and no payment disclosure.
|
|
19
|
+
*/
|
|
20
|
+
export declare function disclosureFooterContent({ surface, disclosures, terms, provider, }: {
|
|
21
|
+
/** What the provider declared it drew in the action slot, if anything. */
|
|
22
|
+
surface: ReadySurface | undefined;
|
|
23
|
+
disclosures: PaymentDisclosures | undefined;
|
|
24
|
+
terms: Terms | undefined;
|
|
25
|
+
provider: FiatProvider | undefined;
|
|
26
|
+
}): DisclosureFooterContent | undefined;
|
|
27
|
+
export {};
|
|
28
|
+
//# sourceMappingURL=disclosureFooterContent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"disclosureFooterContent.d.ts","sourceRoot":"","sources":["../../../src/fiat/disclosureFooterContent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAExD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAA;AAC7D,OAAO,KAAK,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAA;AAE1E,KAAK,KAAK,GAAG,oBAAoB,CAAC,OAAO,CAAC,CAAA;AAC1C,MAAM,MAAM,kBAAkB,GAAG,SAAS,CAAC,SAAS,iBAAiB,EAAE,CAAC,EAAE,CAAA;AAE1E,mDAAmD;AACnD,MAAM,MAAM,uBAAuB,GAC/B;IAAE,IAAI,EAAE,aAAa,CAAC;IAAC,WAAW,EAAE,kBAAkB,CAAA;CAAE,GACxD;IAAE,IAAI,EAAE,OAAO,CAAC;IAAC,KAAK,EAAE,KAAK,CAAC;IAAC,QAAQ,EAAE,YAAY,GAAG,SAAS,CAAA;CAAE,CAAA;AAEvE;;;;GAIG;AACH,wBAAgB,uBAAuB,CAAC,EACtC,OAAO,EACP,WAAW,EACX,KAAK,EACL,QAAQ,GACT,EAAE;IACD,0EAA0E;IAC1E,OAAO,EAAE,YAAY,GAAG,SAAS,CAAA;IACjC,WAAW,EAAE,kBAAkB,GAAG,SAAS,CAAA;IAC3C,KAAK,EAAE,KAAK,GAAG,SAAS,CAAA;IACxB,QAAQ,EAAE,YAAY,GAAG,SAAS,CAAA;CACnC,GAAG,uBAAuB,GAAG,SAAS,CAStC"}
|