@funkit/connect-rn 9.0.0 → 9.1.0
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 +89 -0
- package/README.md +100 -0
- package/app.plugin.js +92 -0
- package/dist/{chunk-BC4RXFI7.js → chunk-4EEB4ZBQ.js} +59 -5
- package/dist/chunk-4EEB4ZBQ.js.map +7 -0
- package/dist/{chunk-MVQH4YFI.js → chunk-EWSXVFEF.js} +561 -129
- package/dist/chunk-EWSXVFEF.js.map +7 -0
- package/dist/{chunk-3ZNAGQHD.js → chunk-FRXLZQRI.js} +6 -2
- package/dist/chunk-FRXLZQRI.js.map +7 -0
- package/dist/clients/lighter.js +1 -1
- package/dist/clients/nado.js +2 -2
- package/dist/index.js +6493 -3838
- package/dist/index.js.map +4 -4
- package/dist/preview.js +265 -6
- package/dist/preview.js.map +3 -3
- package/dist/src/components/PillButton.d.ts.map +1 -1
- package/dist/src/components/v2/AccountBalanceChip.d.ts.map +1 -1
- package/dist/src/components/v2/AmountDisplay.d.ts.map +1 -1
- package/dist/src/components/v2/NumPad.d.ts.map +1 -1
- 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/methodMerge.d.ts +40 -0
- package/dist/src/components/v2/methodMerge.d.ts.map +1 -0
- package/dist/src/fiat/FiatChoiceField.d.ts.map +1 -1
- package/dist/src/fiat/FiatChoiceList.d.ts.map +1 -1
- package/dist/src/fiat/FiatContactScreen.d.ts.map +1 -1
- package/dist/src/fiat/FiatCountrySheet.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/FiatErrorNotice.d.ts.map +1 -1
- package/dist/src/fiat/FiatFailureBanner.d.ts.map +1 -1
- package/dist/src/fiat/FiatFormFieldRow.d.ts +6 -3
- package/dist/src/fiat/FiatFormFieldRow.d.ts.map +1 -1
- package/dist/src/fiat/FiatFormHeading.d.ts.map +1 -1
- package/dist/src/fiat/FiatFormScreen.d.ts +1 -4
- 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/FiatKycNotice.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/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/FiatSharingConsentNotice.d.ts +3 -0
- package/dist/src/fiat/FiatSharingConsentNotice.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/PaymentDisclosureNotice.d.ts +6 -0
- package/dist/src/fiat/PaymentDisclosureNotice.d.ts.map +1 -0
- 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 +20 -0
- package/dist/src/fiat/depositMatch.d.ts.map +1 -0
- 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/kycFormTheme.d.ts +2 -29
- package/dist/src/fiat/kycFormTheme.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 +48 -0
- package/dist/src/fiat/paymentReroute.d.ts.map +1 -0
- package/dist/src/fiat/paymentSurfaceFailure.d.ts +7 -22
- package/dist/src/fiat/paymentSurfaceFailure.d.ts.map +1 -1
- package/dist/src/fiat/pricedLimit.d.ts +20 -0
- package/dist/src/fiat/pricedLimit.d.ts.map +1 -0
- package/dist/src/fiat/providers/CoinbaseCheckoutSurface.d.ts +2 -3
- package/dist/src/fiat/providers/CoinbaseCheckoutSurface.d.ts.map +1 -1
- package/dist/src/fiat/providers/StripeSessionAuthScreen.d.ts.map +1 -1
- package/dist/src/fiat/providers/SumsubKycSurface.d.ts.map +1 -1
- package/dist/src/fiat/providers/SumsubNativeKycSurface.d.ts +23 -0
- package/dist/src/fiat/providers/SumsubNativeKycSurface.d.ts.map +1 -0
- package/dist/src/fiat/providers/adapter.d.ts +35 -9
- package/dist/src/fiat/providers/adapter.d.ts.map +1 -1
- package/dist/src/fiat/providers/coinbaseFailureCopy.d.ts +7 -2
- package/dist/src/fiat/providers/coinbaseFailureCopy.d.ts.map +1 -1
- package/dist/src/fiat/providers/kycIntro.d.ts +16 -1
- package/dist/src/fiat/providers/kycIntro.d.ts.map +1 -1
- package/dist/src/fiat/providers/moonpay.d.ts +3 -1
- package/dist/src/fiat/providers/moonpay.d.ts.map +1 -1
- package/dist/src/fiat/providers/moonpayAuthStyle.d.ts +39 -0
- package/dist/src/fiat/providers/moonpayAuthStyle.d.ts.map +1 -1
- package/dist/src/fiat/providers/moonpayFailureCopy.d.ts +15 -0
- package/dist/src/fiat/providers/moonpayFailureCopy.d.ts.map +1 -0
- package/dist/src/fiat/providers/moonpayHandoffCard.d.ts +11 -0
- package/dist/src/fiat/providers/moonpayHandoffCard.d.ts.map +1 -0
- package/dist/src/fiat/providers/moonpayPaymentDisclosures.d.ts +15 -0
- package/dist/src/fiat/providers/moonpayPaymentDisclosures.d.ts.map +1 -0
- package/dist/src/fiat/providers/moonpayPreparedPayment.d.ts +7 -0
- package/dist/src/fiat/providers/moonpayPreparedPayment.d.ts.map +1 -0
- package/dist/src/fiat/providers/moonpaySharingConsent.d.ts +14 -0
- package/dist/src/fiat/providers/moonpaySharingConsent.d.ts.map +1 -0
- package/dist/src/fiat/providers/stripeAccountCreation.d.ts +10 -1
- package/dist/src/fiat/providers/stripeAccountCreation.d.ts.map +1 -1
- package/dist/src/fiat/providers/stripeApplePayButton.d.ts +15 -0
- package/dist/src/fiat/providers/stripeApplePayButton.d.ts.map +1 -0
- package/dist/src/fiat/providers/stripeCheckout.d.ts.map +1 -1
- package/dist/src/fiat/providers/stripeFailureCopy.d.ts +16 -0
- package/dist/src/fiat/providers/stripeFailureCopy.d.ts.map +1 -0
- package/dist/src/fiat/providers/stripeKycIntro.d.ts +23 -1
- package/dist/src/fiat/providers/stripeKycIntro.d.ts.map +1 -1
- package/dist/src/fiat/providers/stripeOnramp.d.ts +7 -0
- package/dist/src/fiat/providers/stripeOnramp.d.ts.map +1 -1
- package/dist/src/fiat/providers/stripePayment.d.ts.map +1 -1
- package/dist/src/fiat/providers/stripeSdk.d.ts +1 -1
- package/dist/src/fiat/providers/stripeSdk.d.ts.map +1 -1
- package/dist/src/fiat/providers/stripeSignInStep.d.ts +23 -0
- package/dist/src/fiat/providers/stripeSignInStep.d.ts.map +1 -0
- package/dist/src/fiat/providers/sumsubKyc.d.ts +6 -0
- package/dist/src/fiat/providers/sumsubKyc.d.ts.map +1 -1
- package/dist/src/fiat/providers/sumsubNativeLaunch.d.ts +34 -0
- package/dist/src/fiat/providers/sumsubNativeLaunch.d.ts.map +1 -0
- package/dist/src/fiat/providers/sumsubSdk.d.ts +58 -0
- package/dist/src/fiat/providers/sumsubSdk.d.ts.map +1 -0
- package/dist/src/fiat/providers/sumsubTheme.d.ts +51 -0
- package/dist/src/fiat/providers/sumsubTheme.d.ts.map +1 -0
- package/dist/src/fiat/providers/useCreateStripeAccountWithExistingUserData.d.ts +41 -0
- package/dist/src/fiat/providers/useCreateStripeAccountWithExistingUserData.d.ts.map +1 -0
- package/dist/src/fiat/providers/useStripeOnrampClient.d.ts +1 -1
- package/dist/src/fiat/providers/useStripeOnrampClient.d.ts.map +1 -1
- package/dist/src/fiat/providers/useStripeSessionAuth.d.ts +2 -8
- package/dist/src/fiat/providers/useStripeSessionAuth.d.ts.map +1 -1
- package/dist/src/fiat/quoteNoRoute.d.ts +25 -0
- package/dist/src/fiat/quoteNoRoute.d.ts.map +1 -1
- package/dist/src/fiat/renderCaptureSurface.d.ts +1 -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/stepDetails.d.ts +6 -0
- package/dist/src/fiat/stepDetails.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 +68 -0
- package/dist/src/fiat/usePaymentFailureAnswer.d.ts.map +1 -0
- 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/flow/DepositFlowContent.d.ts +2 -2
- 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/DepositReceivedToast.d.ts.map +1 -1
- 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 +3 -6
- package/dist/src/flow/FiatDepositAmountStep.d.ts.map +1 -1
- package/dist/src/flow/FlowSheet.d.ts.map +1 -1
- package/dist/src/flow/FunkitFlowProvider.d.ts +5 -1
- package/dist/src/flow/FunkitFlowProvider.d.ts.map +1 -1
- package/dist/src/flow/SheetMaterial.d.ts +1 -9
- package/dist/src/flow/SheetMaterial.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/useDepositReceivedToast.d.ts +10 -1
- package/dist/src/flow/useDepositReceivedToast.d.ts.map +1 -1
- 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/useGuardedAmountInput.d.ts +11 -0
- package/dist/src/hooks/useGuardedAmountInput.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/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 +6 -0
- 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 +60 -0
- package/dist/src/preview/scenarioCatalog.d.ts.map +1 -1
- package/dist/src/preview/scenarios.d.ts +11 -0
- package/dist/src/preview/scenarios.d.ts.map +1 -1
- package/dist/src/screens/DepositAmountScreen.d.ts +24 -4
- package/dist/src/screens/DepositAmountScreen.d.ts.map +1 -1
- package/dist/src/screens/DepositMatchScreen.d.ts +18 -0
- package/dist/src/screens/DepositMatchScreen.d.ts.map +1 -0
- package/dist/src/screens/FeeDetailsScreen.d.ts +2 -0
- package/dist/src/screens/FeeDetailsScreen.d.ts.map +1 -1
- package/dist/src/screens/depositMetrics.d.ts +2 -25
- package/dist/src/screens/depositMetrics.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 +17 -0
- package/dist/src/theme/buildFunkitTheme.d.ts.map +1 -1
- package/dist/src/theme/inputTextStyle.d.ts +3 -2
- package/dist/src/theme/inputTextStyle.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 +528 -0
- package/dist/src/theme/restyle.d.ts.map +1 -1
- package/dist/src/theme/textStyle.d.ts +1 -0
- package/dist/src/theme/textStyle.d.ts.map +1 -1
- package/dist/src/theme/toRestyleTheme.d.ts +48 -0
- package/dist/src/theme/toRestyleTheme.d.ts.map +1 -1
- package/dist/src/theme/typeScale.d.ts +116 -0
- package/dist/src/theme/typeScale.d.ts.map +1 -0
- 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 +17 -9
- package/dist/chunk-3ZNAGQHD.js.map +0 -7
- package/dist/chunk-BC4RXFI7.js.map +0 -7
- package/dist/chunk-MVQH4YFI.js.map +0 -7
- package/dist/src/fiat/FiatGradientTitle.d.ts +0 -15
- package/dist/src/fiat/FiatGradientTitle.d.ts.map +0 -1
- 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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FiatFormHeading.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatFormHeading.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAOrD;;;;;GAKG;AACH,MAAM,MAAM,qBAAqB,GAC7B,MAAM,GACN,SAAS,GACT,KAAK,GACL,MAAM,GACN,eAAe,GACf,eAAe,CAAA;AAEnB,MAAM,WAAW,oBAAoB;IACnC,MAAM,EAAE,qBAAqB,CAAA;IAC7B,2EAA2E;IAC3E,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,EAAE,MAAM,CAAA;IACd,WAAW,EAAE,MAAM,CAAA;IACnB,0DAA0D;IAC1D,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,iBAAiB,KAAK,IAAI,CAAA;CAC9C;AAED,kDAAkD;AAClD,wBAAgB,eAAe,CAAC,EAC9B,MAAM,EACN,KAAK,EACL,MAAM,EACN,WAAW,EACX,UAAkB,EAClB,QAAQ,GACT,EAAE,oBAAoB,+
|
|
1
|
+
{"version":3,"file":"FiatFormHeading.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatFormHeading.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAOrD;;;;;GAKG;AACH,MAAM,MAAM,qBAAqB,GAC7B,MAAM,GACN,SAAS,GACT,KAAK,GACL,MAAM,GACN,eAAe,GACf,eAAe,CAAA;AAEnB,MAAM,WAAW,oBAAoB;IACnC,MAAM,EAAE,qBAAqB,CAAA;IAC7B,2EAA2E;IAC3E,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,EAAE,MAAM,CAAA;IACd,WAAW,EAAE,MAAM,CAAA;IACnB,0DAA0D;IAC1D,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,iBAAiB,KAAK,IAAI,CAAA;CAC9C;AAED,kDAAkD;AAClD,wBAAgB,eAAe,CAAC,EAC9B,MAAM,EACN,KAAK,EACL,MAAM,EACN,WAAW,EACX,UAAkB,EAClB,QAAQ,GACT,EAAE,oBAAoB,+BAuCtB"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { type KycWalk } from './kycWalk';
|
|
2
1
|
import type { FiatProvider, FormDescriptor, FormValues, JsonValue, Quote } from '@funkit/connect-core';
|
|
3
2
|
import { type KycSectionPage } from './formLayout';
|
|
4
3
|
export interface FiatFormScreenProps {
|
|
@@ -29,8 +28,6 @@ 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 rounds walked so far, so the dots carry on from the earlier ones. */
|
|
33
|
-
walk?: KycWalk;
|
|
34
31
|
isSubmitting: boolean;
|
|
35
32
|
onChangeField: (fieldId: string, value: JsonValue) => void;
|
|
36
33
|
/** Several fields at once, as one write — see `formScreenProps`. */
|
|
@@ -52,6 +49,6 @@ interface FiatFormContentProps extends FiatFormScreenProps {
|
|
|
52
49
|
onStep: (step: number) => void;
|
|
53
50
|
}
|
|
54
51
|
/** 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,
|
|
52
|
+
export declare function FiatFormContent({ form, values, defaultCountry, carriedValues, answeredValues, errorMessage, isSubmitting, onChangeField, onPrefill, onSubmit, onClose, pages, step, onStep, }: FiatFormContentProps): import("react").JSX.Element | null;
|
|
56
53
|
export {};
|
|
57
54
|
//# 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,YAAY,EACZ,cAAc,EAEd,UAAU,EACV,SAAS,EACT,KAAK,EACN,MAAM,sBAAsB,CAAA;AA0B7B,OAAO,EAGL,KAAK,cAAc,EAapB,MAAM,cAAc,CAAA;AAgCrB,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,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,+BA4DxD;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,YAAY,EACZ,aAAa,EACb,SAAS,EACT,QAAQ,EACR,OAAO,EACP,KAAK,EACL,IAAI,EACJ,MAAM,GACP,EAAE,oBAAoB,sCAilBtB"}
|
|
@@ -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":"FiatKycNotice.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatKycNotice.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,cAAc,EAAiB,MAAM,wBAAwB,CAAA;AAG3E,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;IACd;;;;OAIG;IACH,MAAM,CAAC,EAAE,cAAc,CAAA;CACxB;AAED;;;GAGG;AACH,wBAAgB,aAAa,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,EAAE,kBAAkB,+
|
|
1
|
+
{"version":3,"file":"FiatKycNotice.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatKycNotice.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,cAAc,EAAiB,MAAM,wBAAwB,CAAA;AAG3E,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;IACd;;;;OAIG;IACH,MAAM,CAAC,EAAE,cAAc,CAAA;CACxB;AAED;;;GAGG;AACH,wBAAgB,aAAa,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,EAAE,kBAAkB,+BA8D1E"}
|
|
@@ -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"}
|
|
@@ -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":"AA8BA,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;AAS5D,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,+
|
|
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;AAS5D,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,+BAqGrB"}
|
|
@@ -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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FiatSharingConsentNotice.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatSharingConsentNotice.tsx"],"names":[],"mappings":"AAeA,kFAAkF;AAClF,wBAAgB,wBAAwB,gCAsBvC"}
|
|
@@ -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,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"}
|
|
@@ -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;AAOrE;;;;;;;;;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,CA2B7B"}
|
|
@@ -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,20 @@
|
|
|
1
|
+
import type { FiatProvider } from '@funkit/connect-core';
|
|
2
|
+
import type { TFunction } from 'i18next';
|
|
3
|
+
import type { DepositMatchScreenProps } from '../screens/DepositMatchScreen';
|
|
4
|
+
import { type FeeQuote } from './stepDetails';
|
|
5
|
+
/** The fee line, and the run in it the screen sets in the brand colour. */
|
|
6
|
+
export interface DepositMatchLine {
|
|
7
|
+
fee: string;
|
|
8
|
+
highlight: string;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* The fee line for a matched deposit: no fee, plus the bonus. Nothing renders
|
|
12
|
+
* until an amount is entered and its currency is known.
|
|
13
|
+
*/
|
|
14
|
+
export declare function depositMatchLine(amount: string, currency: string | undefined, t: TFunction): DepositMatchLine | undefined;
|
|
15
|
+
/**
|
|
16
|
+
* The match drawer's figures. The fee the quote would charge is shown waived;
|
|
17
|
+
* with no quote yet the row reads only FREE.
|
|
18
|
+
*/
|
|
19
|
+
export declare function depositMatchDetails(amount: string, currency: string, quote: FeeQuote | undefined, provider: FiatProvider | undefined): Omit<DepositMatchScreenProps, 'footnote'>;
|
|
20
|
+
//# 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,uBAAuB,EAAE,MAAM,+BAA+B,CAAA;AAM5E,OAAO,EAAE,KAAK,QAAQ,EAAgB,MAAM,eAAe,CAAA;AAK3D,2EAA2E;AAC3E,MAAM,WAAW,gBAAgB;IAC/B,GAAG,EAAE,MAAM,CAAA;IACX,SAAS,EAAE,MAAM,CAAA;CAClB;AAED;;;GAGG;AACH,wBAAgB,gBAAgB,CAC9B,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,MAAM,GAAG,SAAS,EAC5B,CAAC,EAAE,SAAS,GACX,gBAAgB,GAAG,SAAS,CAS9B;AAED;;;GAGG;AACH,wBAAgB,mBAAmB,CACjC,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,MAAM,EAChB,KAAK,EAAE,QAAQ,GAAG,SAAS,EAC3B,QAAQ,EAAE,YAAY,GAAG,SAAS,GACjC,IAAI,CAAC,uBAAuB,EAAE,UAAU,CAAC,CAc3C"}
|
|
@@ -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"}
|
|
@@ -8,7 +8,7 @@ import { type TextInputProps } from 'react-native';
|
|
|
8
8
|
* is where a field the design never drew goes, so a form the server words its
|
|
9
9
|
* own way still renders.
|
|
10
10
|
*/
|
|
11
|
-
export type KycSection = 'NAME' | 'DOB' | 'NATIONALITY' | 'COUNTRY' | 'ADDRESS' | 'SSN' | 'PHONE' | 'OCCUPATION' | 'EMPLOYMENT' | 'PURPOSE' | 'SOURCE_OF_WEALTH' | 'INCOME' | 'ACTIVITY' | 'DETAILS';
|
|
11
|
+
export type KycSection = 'NAME' | 'DOB' | 'NATIONALITY' | 'COUNTRY' | 'ADDRESS' | 'SSN' | 'PHONE' | 'OCCUPATION' | 'EMPLOYMENT' | 'PURPOSE' | 'SOURCE_OF_WEALTH' | 'INCOME' | 'NET_WORTH' | 'ACTIVITY' | 'DETAILS';
|
|
12
12
|
export interface KycSectionPage {
|
|
13
13
|
section: KycSection;
|
|
14
14
|
/** Drawn as one card with a rule between rows, rather than loose boxes. */
|
|
@@ -17,13 +17,16 @@ export interface KycSectionPage {
|
|
|
17
17
|
rows: FormField[][];
|
|
18
18
|
}
|
|
19
19
|
/**
|
|
20
|
-
* The questionnaire
|
|
21
|
-
*
|
|
22
|
-
* a page for; any other lands in `DETAILS`.
|
|
20
|
+
* The questionnaire answers this build draws a page for. The contract types a
|
|
21
|
+
* questionnaire id as a template; any other lands in `DETAILS`.
|
|
23
22
|
*/
|
|
24
23
|
export declare const GROSS_ANNUAL_INCOME = "QUESTIONNAIRE_RESPONSE:customerDueDiligence:grossAnnualIncome";
|
|
25
24
|
export declare const EXPECTED_AMOUNT_PER_MONTH = "QUESTIONNAIRE_RESPONSE:customerDueDiligence:expectedTransactionAmountPerMonth";
|
|
26
25
|
export declare const TRANSACTIONS_PER_MONTH = "QUESTIONNAIRE_RESPONSE:customerDueDiligence:transactionFrequencyPerMonth";
|
|
26
|
+
export declare const NET_WORTH = "QUESTIONNAIRE_RESPONSE:enhancedDueDiligence:netWorth";
|
|
27
|
+
export declare function fieldCurrency(field: FormField): string | undefined;
|
|
28
|
+
/** The label without its currency, for a field whose caption already names it. */
|
|
29
|
+
export declare function withoutLabelledCurrency(field: FormField): FormField;
|
|
27
30
|
/**
|
|
28
31
|
* The server owns the field list, so an id this build does not know is not
|
|
29
32
|
* identity: only the frames that collect who someone is qualify.
|
|
@@ -48,7 +51,17 @@ export interface ReturnHop {
|
|
|
48
51
|
* user taps into it.
|
|
49
52
|
*/
|
|
50
53
|
export declare function returnHop(section: KycSection, typedFields: readonly FormField[], fieldId: string): ReturnHop | undefined;
|
|
51
|
-
/**
|
|
54
|
+
/**
|
|
55
|
+
* The country a field's keyboard and choices follow.
|
|
56
|
+
*
|
|
57
|
+
* - The tax ID takes the tax residence's, which also names it in the heading.
|
|
58
|
+
* - Every other field takes the address's.
|
|
59
|
+
*/
|
|
60
|
+
export declare function fieldCountry(field: FormField, countries: {
|
|
61
|
+
address?: string;
|
|
62
|
+
taxResidence?: string;
|
|
63
|
+
}): string | undefined;
|
|
64
|
+
/** `country` is the field's own, from `fieldCountry`. */
|
|
52
65
|
export declare function fieldKeyboardType(field: FormField, country?: string): TextInputProps['keyboardType'] | undefined;
|
|
53
66
|
/** Whether the field raises a pad rather than letters, and so has no return key. */
|
|
54
67
|
export declare function isDigitsField(field: FormField, country?: string): boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"formLayout.d.ts","sourceRoot":"","sources":["../../../src/fiat/formLayout.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAc,MAAM,sBAAsB,CAAA;AAEjE,OAAO,EAAY,KAAK,cAAc,EAAE,MAAM,cAAc,CAAA;AAK5D;;;;;;;GAOG;AACH,MAAM,MAAM,UAAU,GAClB,MAAM,GACN,KAAK,GACL,aAAa,GACb,SAAS,GACT,SAAS,GACT,KAAK,GACL,OAAO,GACP,YAAY,GACZ,YAAY,GACZ,SAAS,GACT,kBAAkB,GAClB,QAAQ,GACR,UAAU,GACV,SAAS,CAAA;AAEb,MAAM,WAAW,cAAc;IAC7B,OAAO,EAAE,UAAU,CAAA;IACnB,2EAA2E;IAC3E,OAAO,EAAE,OAAO,CAAA;IAChB,uEAAuE;IACvE,IAAI,EAAE,SAAS,EAAE,EAAE,CAAA;CACpB;AAED
|
|
1
|
+
{"version":3,"file":"formLayout.d.ts","sourceRoot":"","sources":["../../../src/fiat/formLayout.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAc,MAAM,sBAAsB,CAAA;AAEjE,OAAO,EAAY,KAAK,cAAc,EAAE,MAAM,cAAc,CAAA;AAK5D;;;;;;;GAOG;AACH,MAAM,MAAM,UAAU,GAClB,MAAM,GACN,KAAK,GACL,aAAa,GACb,SAAS,GACT,SAAS,GACT,KAAK,GACL,OAAO,GACP,YAAY,GACZ,YAAY,GACZ,SAAS,GACT,kBAAkB,GAClB,QAAQ,GACR,WAAW,GACX,UAAU,GACV,SAAS,CAAA;AAEb,MAAM,WAAW,cAAc;IAC7B,OAAO,EAAE,UAAU,CAAA;IACnB,2EAA2E;IAC3E,OAAO,EAAE,OAAO,CAAA;IAChB,uEAAuE;IACvE,IAAI,EAAE,SAAS,EAAE,EAAE,CAAA;CACpB;AAED;;;GAGG;AACH,eAAO,MAAM,mBAAmB,kEACiC,CAAA;AACjE,eAAO,MAAM,yBAAyB,kFAC2C,CAAA;AACjF,eAAO,MAAM,sBAAsB,6EACyC,CAAA;AAC5E,eAAO,MAAM,SAAS,yDAAyD,CAAA;AAS/E,wBAAgB,aAAa,CAAC,KAAK,EAAE,SAAS,GAAG,MAAM,GAAG,SAAS,CAElE;AAED,kFAAkF;AAClF,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,SAAS,GAAG,SAAS,CAKnE;AA0GD;;;GAGG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,SAAS,GAAG,OAAO,CAGzD;AAiBD,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,UAAU,GAAG,OAAO,CAElE;AAED,wBAAgB,eAAe,CAAC,IAAI,EAAE,cAAc,GAAG,SAAS,GAAG,SAAS,CAI3E;AAED;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,SAAS,GAAG,OAAO,CAE1D;AAQD,MAAM,WAAW,SAAS;IACxB,KAAK,EAAE,MAAM,GAAG,MAAM,CAAA;IACtB,0DAA0D;IAC1D,EAAE,CAAC,EAAE,SAAS,CAAA;CACf;AAED;;;;;GAKG;AACH,wBAAgB,SAAS,CACvB,OAAO,EAAE,UAAU,EACnB,WAAW,EAAE,SAAS,SAAS,EAAE,EACjC,OAAO,EAAE,MAAM,GACd,SAAS,GAAG,SAAS,CAUvB;AAeD;;;;;GAKG;AACH,wBAAgB,YAAY,CAC1B,KAAK,EAAE,SAAS,EAChB,SAAS,EAAE;IAAE,OAAO,CAAC,EAAE,MAAM,CAAC;IAAC,YAAY,CAAC,EAAE,MAAM,CAAA;CAAE,GACrD,MAAM,GAAG,SAAS,CAIpB;AAED,yDAAyD;AACzD,wBAAgB,iBAAiB,CAC/B,KAAK,EAAE,SAAS,EAChB,OAAO,CAAC,EAAE,MAAM,GACf,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAY5C;AAmBD,oFAAoF;AACpF,wBAAgB,aAAa,CAAC,KAAK,EAAE,SAAS,EAAE,OAAO,CAAC,EAAE,MAAM,GAAG,OAAO,CAGzE;AAED,+EAA+E;AAC/E,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,SAAS,GAAG,OAAO,CAE3D;AAED;;;;;;;GAOG;AACH,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,SAAS,SAAS,EAAE,GAAG,SAAS,EAAE,CAE3E;AAED;;;;;;GAMG;AACH,wBAAgB,YAAY,CAAC,MAAM,EAAE,SAAS,SAAS,EAAE,GAAG,cAAc,EAAE,CAwC3E"}
|
|
@@ -17,19 +17,12 @@ export declare const KYC_FORM_METRICS: {
|
|
|
17
17
|
readonly noticeRadius: 26;
|
|
18
18
|
/** Card bottom (364) to the notice (411). */
|
|
19
19
|
readonly noticeTop: 47;
|
|
20
|
-
readonly noticeTracking: -0.14;
|
|
21
20
|
readonly choiceListRadius: 26;
|
|
22
21
|
readonly choiceRowHeight: 52;
|
|
23
22
|
readonly choiceRowPaddingHorizontal: 20;
|
|
24
23
|
/** Makes 52 on one line and the design's 64 on two — see `FiatChoiceList`. */
|
|
25
|
-
readonly choiceRowPaddingVertical:
|
|
26
|
-
readonly choiceLabelFontSize: 15;
|
|
27
|
-
readonly choiceLabelLineHeight: 16.8;
|
|
24
|
+
readonly choiceRowPaddingVertical: 14;
|
|
28
25
|
readonly choiceCheckSize: 21;
|
|
29
|
-
/** The title's own line, which these pages carry instead of two. */
|
|
30
|
-
readonly questionnaireTitleFontSize: 24;
|
|
31
|
-
readonly questionnaireTitleLineHeight: 26.88;
|
|
32
|
-
readonly questionnaireTitleTracking: -0.48;
|
|
33
26
|
/** Below the back disc (108) to the title (162), as every `headingTop` is. */
|
|
34
27
|
readonly questionnaireHeadingTop: 54;
|
|
35
28
|
/** Title to card (18), less the column's own gap. */
|
|
@@ -54,9 +47,6 @@ export declare const KYC_FORM_METRICS: {
|
|
|
54
47
|
readonly headingGap: 8;
|
|
55
48
|
/** Below the paragraph, before the first field. */
|
|
56
49
|
readonly headingBottom: 16;
|
|
57
|
-
/** The paragraph: larger than body, and the only place this size is used. */
|
|
58
|
-
readonly detailFontSize: 21;
|
|
59
|
-
readonly detailLineHeight: 24;
|
|
60
50
|
/** KYC R2 actions clear the keyboard by 24 points (1951:8864). */
|
|
61
51
|
readonly advanceGap: 24;
|
|
62
52
|
/**
|
|
@@ -70,15 +60,10 @@ export declare const KYC_FORM_METRICS: {
|
|
|
70
60
|
readonly datePickerGap: 24;
|
|
71
61
|
/** Disc bottom (108) to the headline's line box (181). */
|
|
72
62
|
readonly introHeadingTop: 73;
|
|
73
|
-
/** 38/38 with the box 286 wide, which is what wraps it onto two lines. */
|
|
74
|
-
readonly introTitleFontSize: 38;
|
|
75
|
-
readonly introTitleTracking: -1.14;
|
|
76
|
-
readonly introTitleWidth: 286;
|
|
77
63
|
/** Headline bottom (257) to the paragraph (276). */
|
|
78
64
|
readonly introTitleGap: 19;
|
|
79
65
|
/** The paragraph's own measure (268), four lines of it. */
|
|
80
66
|
readonly introDetailWidth: 268;
|
|
81
|
-
readonly introDetailTracking: -0.42;
|
|
82
67
|
/**
|
|
83
68
|
* Below the action (784) to the frame's foot: the watermark's own 16 band,
|
|
84
69
|
* its 18 of type, and the 34 the design clears the action by.
|
|
@@ -87,26 +72,14 @@ export declare const KYC_FORM_METRICS: {
|
|
|
87
72
|
/** The consent checkbox, and the gap to the copy beside it. */
|
|
88
73
|
readonly consentBoxSize: 32;
|
|
89
74
|
readonly consentBoxGap: 10;
|
|
90
|
-
/** Smaller than any body token, and used on the legal lines alone. */
|
|
91
|
-
readonly consentFontSize: 12;
|
|
92
|
-
/** Four lines of it fill the 52 the frame gives the consent row. */
|
|
93
|
-
readonly consentLineHeight: 13;
|
|
94
75
|
/** Between each legal line and the action below them. */
|
|
95
76
|
readonly consentGap: 16;
|
|
96
77
|
/** They are inset past the action, as the heading is past the fields. */
|
|
97
78
|
readonly consentInset: 16;
|
|
98
|
-
|
|
99
|
-
readonly otpHeadingLineHeight: 27;
|
|
100
|
-
readonly otpHeadingTracking: -0.24;
|
|
101
|
-
/** A code box is taller than a form field, and its digit larger. */
|
|
79
|
+
/** A code box is taller than a form field. */
|
|
102
80
|
readonly codeBoxHeight: 64;
|
|
103
81
|
readonly codeBoxGap: 8;
|
|
104
|
-
readonly codeDigitFontSize: 28;
|
|
105
|
-
readonly codeDigitTracking: -0.56;
|
|
106
82
|
/** The resend row sits 48 below the boxes (1951:8864), past the column's 24 gap. */
|
|
107
83
|
readonly otpResendTop: 24;
|
|
108
|
-
readonly otpResendFontSize: 17;
|
|
109
|
-
readonly otpResendLineHeight: 19;
|
|
110
|
-
readonly otpResendTracking: -0.34;
|
|
111
84
|
};
|
|
112
85
|
//# sourceMappingURL=kycFormTheme.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"kycFormTheme.d.ts","sourceRoot":"","sources":["../../../src/fiat/kycFormTheme.ts"],"names":[],"mappings":"AAMA;;;GAGG;AACH,eAAO,MAAM,gBAAgB;IAC3B,oDAAoD;;;IAGpD,wEAAwE;;;IAGxE,kEAAkE;;IAElE,uCAAuC;;;;IAQvC,6CAA6C
|
|
1
|
+
{"version":3,"file":"kycFormTheme.d.ts","sourceRoot":"","sources":["../../../src/fiat/kycFormTheme.ts"],"names":[],"mappings":"AAMA;;;GAGG;AACH,eAAO,MAAM,gBAAgB;IAC3B,oDAAoD;;;IAGpD,wEAAwE;;;IAGxE,kEAAkE;;IAElE,uCAAuC;;;;IAQvC,6CAA6C;;;;;IAU7C,8EAA8E;;;IAG9E,8EAA8E;;IAE9E,qDAAqD;;;;IASrD,yCAAyC;;IAEzC,4EAA4E;;IAE5E,mEAAmE;;;;IAInE,mDAAmD;;IAEnD,iEAAiE;;IAEjE,2BAA2B;;IAE3B,sDAAsD;;IAEtD,mDAAmD;;IAEnD,kEAAkE;;IAElE;;;OAGG;;;;IAIH,6EAA6E;;IAO7E,0DAA0D;;IAE1D,oDAAoD;;IAEpD,2DAA2D;;IAE3D;;;OAGG;;IAEH,+DAA+D;;;IAG/D,yDAAyD;;IAEzD,yEAAyE;;IAEzE,8CAA8C;;;IAG9C,oFAAoF;;CAE5E,CAAA"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { KycOutcome } from '@funkit/connect-core';
|
|
2
|
+
import type { TFunction } from 'i18next';
|
|
3
|
+
import type { FiatKycOptionRowProps } from './FiatKycOptionRow';
|
|
4
|
+
/**
|
|
5
|
+
* The routes out of a held deposit, in the order the frames list them.
|
|
6
|
+
*
|
|
7
|
+
* "Buy tokens directly" is descoped from launch (ENG-6095) and drawn nowhere.
|
|
8
|
+
* A re-do is offered only while the response still publishes the transition
|
|
9
|
+
* that restarts the check, so the client never invents a resubmit.
|
|
10
|
+
*/
|
|
11
|
+
export declare function kycOptionRows({ outcome, depositMax, t, onRecheck, onRedo, onDepositMax, onSupport, onClose, }: {
|
|
12
|
+
outcome: KycOutcome | 'complete' | undefined;
|
|
13
|
+
/** The ceiling as the row words it, when one is known. */
|
|
14
|
+
depositMax: string | undefined;
|
|
15
|
+
t: TFunction;
|
|
16
|
+
/** Re-quotes for the latest verdict; only a check still in review or on hold offers it. */
|
|
17
|
+
onRecheck?: () => void;
|
|
18
|
+
onRedo: (() => void) | undefined;
|
|
19
|
+
onDepositMax: () => void;
|
|
20
|
+
onSupport: () => void;
|
|
21
|
+
onClose: () => void;
|
|
22
|
+
}): FiatKycOptionRowProps[] | undefined;
|
|
23
|
+
//# sourceMappingURL=kycOptionRows.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"kycOptionRows.d.ts","sourceRoot":"","sources":["../../../src/fiat/kycOptionRows.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AACtD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AAExC,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAA;AAO/D;;;;;;GAMG;AACH,wBAAgB,aAAa,CAAC,EAC5B,OAAO,EACP,UAAU,EACV,CAAC,EACD,SAAS,EACT,MAAM,EACN,YAAY,EACZ,SAAS,EACT,OAAO,GACR,EAAE;IACD,OAAO,EAAE,UAAU,GAAG,UAAU,GAAG,SAAS,CAAA;IAC5C,0DAA0D;IAC1D,UAAU,EAAE,MAAM,GAAG,SAAS,CAAA;IAC9B,CAAC,EAAE,SAAS,CAAA;IACZ,2FAA2F;IAC3F,SAAS,CAAC,EAAE,MAAM,IAAI,CAAA;IACtB,MAAM,EAAE,CAAC,MAAM,IAAI,CAAC,GAAG,SAAS,CAAA;IAChC,YAAY,EAAE,MAAM,IAAI,CAAA;IACxB,SAAS,EAAE,MAAM,IAAI,CAAA;IACrB,OAAO,EAAE,MAAM,IAAI,CAAA;CACpB,GAAG,qBAAqB,EAAE,GAAG,SAAS,CAgEtC"}
|