@funkit/connect-rn 4.2.0 → 5.0.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 +125 -0
- package/dist/{chunk-N7Z6UHT7.js → chunk-KPP7KXYB.js} +2 -2
- package/dist/{chunk-A66EO5J5.js → chunk-X4RK3XTG.js} +556 -98
- package/dist/chunk-X4RK3XTG.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 +7677 -3061
- package/dist/index.js.map +4 -4
- package/dist/src/components/DepositActionMotion.d.ts +12 -0
- package/dist/src/components/DepositActionMotion.d.ts.map +1 -0
- package/dist/src/components/PillButton.d.ts +1 -1
- package/dist/src/components/PillButton.d.ts.map +1 -1
- package/dist/src/components/SelectableAssetRow.d.ts +3 -1
- package/dist/src/components/SelectableAssetRow.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 +3 -4
- package/dist/src/components/v2/NumPad.d.ts.map +1 -1
- package/dist/src/components/v2/QuickAmountsRow.d.ts +3 -3
- package/dist/src/components/v2/QuickAmountsRow.d.ts.map +1 -1
- package/dist/src/fiat/FiatActionButton.d.ts +3 -0
- package/dist/src/fiat/FiatActionButton.d.ts.map +1 -0
- package/dist/src/fiat/FiatBackButton.d.ts +3 -3
- package/dist/src/fiat/FiatBirthDateField.d.ts +9 -0
- package/dist/src/fiat/FiatBirthDateField.d.ts.map +1 -0
- package/dist/src/fiat/FiatChoiceField.d.ts +16 -0
- package/dist/src/fiat/FiatChoiceField.d.ts.map +1 -0
- package/dist/src/fiat/FiatContactScreen.d.ts +27 -5
- package/dist/src/fiat/FiatContactScreen.d.ts.map +1 -1
- package/dist/src/fiat/FiatCountryDock.d.ts +17 -0
- package/dist/src/fiat/FiatCountryDock.d.ts.map +1 -0
- package/dist/src/fiat/FiatDocumentCaptureStep.d.ts +9 -0
- package/dist/src/fiat/FiatDocumentCaptureStep.d.ts.map +1 -0
- package/dist/src/fiat/FiatErrorNotice.d.ts +4 -0
- package/dist/src/fiat/FiatErrorNotice.d.ts.map +1 -0
- package/dist/src/fiat/FiatFormAdvance.d.ts +18 -6
- package/dist/src/fiat/FiatFormAdvance.d.ts.map +1 -1
- package/dist/src/fiat/FiatFormFieldRow.d.ts +10 -5
- package/dist/src/fiat/FiatFormFieldRow.d.ts.map +1 -1
- package/dist/src/fiat/FiatFormScreen.d.ts +12 -3
- package/dist/src/fiat/FiatFormScreen.d.ts.map +1 -1
- package/dist/src/fiat/FiatIdentityStep.d.ts +3 -0
- package/dist/src/fiat/FiatIdentityStep.d.ts.map +1 -0
- package/dist/src/fiat/FiatKycFieldControl.d.ts +8 -0
- package/dist/src/fiat/FiatKycFieldControl.d.ts.map +1 -0
- package/dist/src/fiat/FiatKycIntroScreen.d.ts +7 -10
- package/dist/src/fiat/FiatKycIntroScreen.d.ts.map +1 -1
- package/dist/src/fiat/FiatKycNotice.d.ts +1 -6
- package/dist/src/fiat/FiatKycNotice.d.ts.map +1 -1
- package/dist/src/fiat/FiatKycOutcomeScreen.d.ts +11 -0
- package/dist/src/fiat/FiatKycOutcomeScreen.d.ts.map +1 -0
- package/dist/src/fiat/FiatKycPosition.d.ts +5 -0
- package/dist/src/fiat/FiatKycPosition.d.ts.map +1 -0
- package/dist/src/fiat/FiatOtpScreen.d.ts +12 -3
- package/dist/src/fiat/FiatOtpScreen.d.ts.map +1 -1
- package/dist/src/fiat/FiatPendingOrderScreen.d.ts +7 -0
- package/dist/src/fiat/FiatPendingOrderScreen.d.ts.map +1 -0
- package/dist/src/fiat/FiatPhoneField.d.ts +29 -0
- package/dist/src/fiat/FiatPhoneField.d.ts.map +1 -0
- package/dist/src/fiat/FiatSsnField.d.ts +13 -0
- package/dist/src/fiat/FiatSsnField.d.ts.map +1 -0
- package/dist/src/fiat/FiatStatusScreen.d.ts +7 -2
- package/dist/src/fiat/FiatStatusScreen.d.ts.map +1 -1
- package/dist/src/fiat/FiatSubmissionIndicator.d.ts +2 -0
- package/dist/src/fiat/FiatSubmissionIndicator.d.ts.map +1 -0
- package/dist/src/fiat/FiatTermsNotice.d.ts +7 -0
- package/dist/src/fiat/FiatTermsNotice.d.ts.map +1 -0
- package/dist/src/fiat/KycGlassBackdrop.d.ts +3 -0
- package/dist/src/fiat/KycGlassBackdrop.d.ts.map +1 -0
- package/dist/src/fiat/SurfaceSlot.d.ts.map +1 -1
- package/dist/src/fiat/formLayout.d.ts +4 -6
- package/dist/src/fiat/formLayout.d.ts.map +1 -1
- package/dist/src/fiat/formValidationError.d.ts +13 -0
- package/dist/src/fiat/formValidationError.d.ts.map +1 -0
- package/dist/src/fiat/isAdditionalKycForm.d.ts +8 -0
- package/dist/src/fiat/isAdditionalKycForm.d.ts.map +1 -0
- package/dist/src/fiat/knownContacts.d.ts +27 -0
- package/dist/src/fiat/knownContacts.d.ts.map +1 -0
- package/dist/src/fiat/kycFieldValidators.d.ts +11 -0
- package/dist/src/fiat/kycFieldValidators.d.ts.map +1 -0
- package/dist/src/fiat/kycFormAttempt.d.ts +34 -0
- package/dist/src/fiat/kycFormAttempt.d.ts.map +1 -0
- package/dist/src/fiat/kycFormPosition.d.ts +4 -0
- package/dist/src/fiat/kycFormPosition.d.ts.map +1 -0
- package/dist/src/fiat/kycFormState.d.ts +41 -0
- package/dist/src/fiat/kycFormState.d.ts.map +1 -0
- package/dist/src/fiat/kycFormTheme.d.ts +10 -5
- package/dist/src/fiat/kycFormTheme.d.ts.map +1 -1
- package/dist/src/fiat/kycSupport.d.ts +2 -0
- package/dist/src/fiat/kycSupport.d.ts.map +1 -0
- package/dist/src/fiat/kycUnavailableAlert.d.ts +8 -0
- package/dist/src/fiat/kycUnavailableAlert.d.ts.map +1 -0
- package/dist/src/fiat/legalLinks.d.ts +7 -2
- package/dist/src/fiat/legalLinks.d.ts.map +1 -1
- package/dist/src/fiat/nativeDatePicker.d.ts +1 -1
- package/dist/src/fiat/nativeDatePicker.d.ts.map +1 -1
- package/dist/src/fiat/otpScreenProps.d.ts +5 -4
- package/dist/src/fiat/otpScreenProps.d.ts.map +1 -1
- package/dist/src/fiat/phoneCountries.d.ts +54 -0
- package/dist/src/fiat/phoneCountries.d.ts.map +1 -0
- package/dist/src/fiat/phoneDraft.d.ts +10 -0
- package/dist/src/fiat/phoneDraft.d.ts.map +1 -0
- package/dist/src/fiat/providers/CoinbaseCheckoutSurface.d.ts +26 -0
- package/dist/src/fiat/providers/CoinbaseCheckoutSurface.d.ts.map +1 -0
- package/dist/src/fiat/providers/adapter.d.ts +8 -2
- package/dist/src/fiat/providers/adapter.d.ts.map +1 -1
- package/dist/src/fiat/providers/coinbaseApplePay.d.ts +9 -0
- package/dist/src/fiat/providers/coinbaseApplePay.d.ts.map +1 -0
- package/dist/src/fiat/providers/coinbaseOnrampEvents.d.ts +37 -0
- package/dist/src/fiat/providers/coinbaseOnrampEvents.d.ts.map +1 -0
- package/dist/src/fiat/providers/moonpay.d.ts +3 -0
- package/dist/src/fiat/providers/moonpay.d.ts.map +1 -0
- package/dist/src/fiat/providers/sumsubKyc.d.ts +1 -2
- package/dist/src/fiat/providers/sumsubKyc.d.ts.map +1 -1
- package/dist/src/fiat/quoteRefusal.d.ts +24 -0
- package/dist/src/fiat/quoteRefusal.d.ts.map +1 -0
- package/dist/src/fiat/renderCaptureSurface.d.ts.map +1 -1
- package/dist/src/fiat/sectionDetail.d.ts.map +1 -1
- package/dist/src/fiat/sessionContact.d.ts +25 -9
- package/dist/src/fiat/sessionContact.d.ts.map +1 -1
- package/dist/src/fiat/ssnLength.d.ts +4 -0
- package/dist/src/fiat/ssnLength.d.ts.map +1 -0
- package/dist/src/fiat/stepDetails.d.ts +5 -0
- package/dist/src/fiat/stepDetails.d.ts.map +1 -1
- package/dist/src/fiat/useContactEligibility.d.ts +4 -0
- package/dist/src/fiat/useContactEligibility.d.ts.map +1 -0
- package/dist/src/fiat/useCountryDock.d.ts +21 -0
- package/dist/src/fiat/useCountryDock.d.ts.map +1 -0
- package/dist/src/fiat/useDatePickerDock.d.ts +2 -0
- package/dist/src/fiat/useDatePickerDock.d.ts.map +1 -1
- package/dist/src/fiat/useFiatCheckoutPreparation.d.ts +10 -0
- package/dist/src/fiat/useFiatCheckoutPreparation.d.ts.map +1 -0
- package/dist/src/fiat/useOtpAutoSubmit.d.ts +8 -0
- package/dist/src/fiat/useOtpAutoSubmit.d.ts.map +1 -0
- package/dist/src/fiat/useOtpReceipt.d.ts +14 -0
- package/dist/src/fiat/useOtpReceipt.d.ts.map +1 -0
- package/dist/src/fiat/useReplayableFailure.d.ts +13 -0
- package/dist/src/fiat/useReplayableFailure.d.ts.map +1 -0
- package/dist/src/fiat/useStaleQuoteRecovery.d.ts +3 -2
- package/dist/src/fiat/useStaleQuoteRecovery.d.ts.map +1 -1
- package/dist/src/flow/DepositAmountStep.d.ts +9 -2
- package/dist/src/flow/DepositAmountStep.d.ts.map +1 -1
- package/dist/src/flow/DepositFlowContent.d.ts +4 -2
- package/dist/src/flow/DepositFlowContent.d.ts.map +1 -1
- package/dist/src/flow/FeeDetailsSheet.d.ts.map +1 -1
- package/dist/src/flow/FiatDepositAmountStep.d.ts +12 -2
- package/dist/src/flow/FiatDepositAmountStep.d.ts.map +1 -1
- package/dist/src/flow/FlowDismissLock.d.ts +13 -0
- package/dist/src/flow/FlowDismissLock.d.ts.map +1 -0
- package/dist/src/flow/FlowSheet.d.ts +11 -14
- package/dist/src/flow/FlowSheet.d.ts.map +1 -1
- package/dist/src/flow/FunkitFlowProvider.d.ts.map +1 -1
- package/dist/src/flow/WithdrawalFlowContent.d.ts +2 -1
- package/dist/src/flow/WithdrawalFlowContent.d.ts.map +1 -1
- package/dist/src/flow/depositFlowConfig.d.ts +39 -0
- package/dist/src/flow/depositFlowConfig.d.ts.map +1 -1
- package/dist/src/flow/useKeyboardHeight.d.ts +20 -0
- package/dist/src/flow/useKeyboardHeight.d.ts.map +1 -1
- package/dist/src/flow/validateClientMetadata.d.ts +8 -0
- package/dist/src/flow/validateClientMetadata.d.ts.map +1 -0
- package/dist/src/flow/validateInitialAmount.d.ts +9 -0
- package/dist/src/flow/validateInitialAmount.d.ts.map +1 -0
- package/dist/src/hooks/useGuardedAmountInput.d.ts +7 -4
- package/dist/src/hooks/useGuardedAmountInput.d.ts.map +1 -1
- package/dist/src/hooks/useNestedSheetHeight.d.ts +10 -0
- package/dist/src/hooks/useNestedSheetHeight.d.ts.map +1 -1
- package/dist/src/icons/ApplePayMark.d.ts +2 -0
- package/dist/src/icons/ApplePayMark.d.ts.map +1 -0
- package/dist/src/icons/DepositChevronIcon.d.ts +4 -0
- package/dist/src/icons/DepositChevronIcon.d.ts.map +1 -0
- package/dist/src/icons/DepositInfoCircleIcon.d.ts +4 -0
- package/dist/src/icons/DepositInfoCircleIcon.d.ts.map +1 -0
- package/dist/src/icons/FiatBackIcon.d.ts +4 -0
- package/dist/src/icons/FiatBackIcon.d.ts.map +1 -0
- package/dist/src/icons/KycDocumentIcon.d.ts +2 -0
- package/dist/src/icons/KycDocumentIcon.d.ts.map +1 -0
- package/dist/src/icons/KycExternalLinkIcon.d.ts +4 -0
- package/dist/src/icons/KycExternalLinkIcon.d.ts.map +1 -0
- package/dist/src/icons/KycIdentityIcon.d.ts +8 -0
- package/dist/src/icons/KycIdentityIcon.d.ts.map +1 -0
- package/dist/src/icons/KycLimitIcon.d.ts +4 -0
- package/dist/src/icons/KycLimitIcon.d.ts.map +1 -0
- package/dist/src/icons/KycOutcomeIcon.d.ts +5 -0
- package/dist/src/icons/KycOutcomeIcon.d.ts.map +1 -0
- package/dist/src/icons/KycSecurityIcon.d.ts +4 -0
- package/dist/src/icons/KycSecurityIcon.d.ts.map +1 -0
- package/dist/src/icons/KycVerifiedIcon.d.ts +2 -0
- package/dist/src/icons/KycVerifiedIcon.d.ts.map +1 -0
- package/dist/src/icons/kycArtwork.d.ts +3 -0
- package/dist/src/icons/kycArtwork.d.ts.map +1 -0
- package/dist/src/identity/IdentityContext.d.ts +8 -4
- package/dist/src/identity/IdentityContext.d.ts.map +1 -1
- package/dist/src/locales/i18n.d.ts.map +1 -1
- package/dist/src/providers/FunkitTrans.d.ts +15 -0
- package/dist/src/providers/FunkitTrans.d.ts.map +1 -0
- package/dist/src/screens/DepositAmountScreen.d.ts +9 -13
- package/dist/src/screens/DepositAmountScreen.d.ts.map +1 -1
- package/dist/src/screens/FeeDetailsScreen.d.ts +1 -3
- package/dist/src/screens/FeeDetailsScreen.d.ts.map +1 -1
- package/dist/src/screens/depositMetrics.d.ts +112 -0
- package/dist/src/screens/depositMetrics.d.ts.map +1 -0
- package/dist/src/swapped/SwappedScreen.d.ts +2 -1
- package/dist/src/swapped/SwappedScreen.d.ts.map +1 -1
- package/dist/src/swapped/SwappedScreenShell.d.ts +4 -1
- package/dist/src/swapped/SwappedScreenShell.d.ts.map +1 -1
- package/dist/src/swapped/SwappedWebView.d.ts +7 -2
- package/dist/src/swapped/SwappedWebView.d.ts.map +1 -1
- package/dist/src/swapped/SwappedWithdrawScreen.d.ts.map +1 -1
- package/dist/src/theme/inputTextStyle.d.ts +13 -0
- package/dist/src/theme/inputTextStyle.d.ts.map +1 -0
- package/dist/src/theme/tokens.d.ts.map +1 -1
- package/dist/src/transfer/hooks/useFops.d.ts +8 -2
- package/dist/src/transfer/hooks/useFops.d.ts.map +1 -1
- package/dist/src/transfer/hooks/useTokenTransfer.d.ts +5 -1
- package/dist/src/transfer/hooks/useTokenTransfer.d.ts.map +1 -1
- package/dist/src/transfer/hooks/useTransferInit.d.ts +13 -1
- package/dist/src/transfer/hooks/useTransferInit.d.ts.map +1 -1
- package/dist/src/utils/motion.d.ts +40 -0
- package/dist/src/utils/motion.d.ts.map +1 -1
- package/package.json +15 -10
- package/dist/chunk-A66EO5J5.js.map +0 -7
- package/dist/src/fiat/formNotice.d.ts +0 -13
- package/dist/src/fiat/formNotice.d.ts.map +0 -1
- /package/dist/{chunk-N7Z6UHT7.js.map → chunk-KPP7KXYB.js.map} +0 -0
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
2
|
+
import { type StyleProp, type ViewStyle } from 'react-native';
|
|
3
|
+
export declare const DepositActionMotion: import("react").Context<boolean>;
|
|
4
|
+
export declare function DepositActionLayers({ stateKey, style, contentStyle, contentOpacity, fill, children, }: {
|
|
5
|
+
stateKey: string;
|
|
6
|
+
style?: StyleProp<ViewStyle>;
|
|
7
|
+
contentStyle?: StyleProp<ViewStyle>;
|
|
8
|
+
contentOpacity?: number;
|
|
9
|
+
fill: ReactNode;
|
|
10
|
+
children: ReactNode;
|
|
11
|
+
}): import("react").JSX.Element;
|
|
12
|
+
//# sourceMappingURL=DepositActionMotion.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DepositActionMotion.d.ts","sourceRoot":"","sources":["../../../src/components/DepositActionMotion.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAA4B,MAAM,OAAO,CAAA;AAChE,OAAO,EAAE,KAAK,SAAS,EAAoB,KAAK,SAAS,EAAE,MAAM,cAAc,CAAA;AAU/E,eAAO,MAAM,mBAAmB,kCAAuB,CAAA;AAEvD,wBAAgB,mBAAmB,CAAC,EAClC,QAAQ,EACR,KAAK,EACL,YAAY,EACZ,cAAkB,EAClB,IAAI,EACJ,QAAQ,GACT,EAAE;IACD,QAAQ,EAAE,MAAM,CAAA;IAChB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAA;IAC5B,YAAY,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAA;IACnC,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,IAAI,EAAE,SAAS,CAAA;IACf,QAAQ,EAAE,SAAS,CAAA;CACpB,+BAwCA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
2
2
|
import type { FunkitTheme } from '../theme/toRestyleTheme';
|
|
3
3
|
export type PillButtonSize = Extract<keyof FunkitTheme['sizes'], `button${string}`>;
|
|
4
4
|
export type PillButtonVariant = 'primary' | 'secondary';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PillButton.d.ts","sourceRoot":"","sources":["../../../src/components/PillButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"PillButton.d.ts","sourceRoot":"","sources":["../../../src/components/PillButton.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAc,MAAM,OAAO,CAAA;AAOlD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAE1D,MAAM,MAAM,cAAc,GAAG,OAAO,CAClC,MAAM,WAAW,CAAC,OAAO,CAAC,EAC1B,SAAS,MAAM,EAAE,CAClB,CAAA;AAED,MAAM,MAAM,iBAAiB,GAAG,SAAS,GAAG,WAAW,CAAA;AAEvD,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB,yDAAyD;IACzD,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,0DAA0D;IAC1D,YAAY,CAAC,EAAE,SAAS,CAAA;IACxB,IAAI,CAAC,EAAE,cAAc,CAAA;IACrB,qEAAqE;IACrE,OAAO,CAAC,EAAE,iBAAiB,CAAA;IAC3B;6CACyC;IACzC,MAAM,CAAC,EAAE,OAAO,CAAC,MAAM,WAAW,CAAC,aAAa,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC,CAAA;IACxE,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,2BAA2B;IAC3B,kBAAkB,CAAC,EAAE,MAAM,CAAA;CAC5B;AAED;;;GAGG;AACH,wBAAgB,UAAU,CAAC,EACzB,KAAK,EACL,OAAO,EACP,IAAI,EACJ,YAAY,EACZ,IAAiB,EACjB,OAAmB,EACnB,MAAiB,EACjB,QAAgB,EAChB,kBAAkB,GACnB,EAAE,eAAe,+BA0GjB"}
|
|
@@ -3,6 +3,8 @@ export interface SelectableAssetRowProps {
|
|
|
3
3
|
name: string;
|
|
4
4
|
/** The 36px leading avatar — a token, a chain, or a token-on-chain pair. */
|
|
5
5
|
icon: ReactNode;
|
|
6
|
+
/** A second value the row carries, set against its trailing edge. */
|
|
7
|
+
detail?: string;
|
|
6
8
|
selected: boolean;
|
|
7
9
|
/** Offered but not pickable, e.g. a chain that doesn't carry the picked token. */
|
|
8
10
|
disabled?: boolean;
|
|
@@ -10,5 +12,5 @@ export interface SelectableAssetRowProps {
|
|
|
10
12
|
accessibilityLabel: string;
|
|
11
13
|
}
|
|
12
14
|
/** One row of a token or chain pick list (Figma `list-item/base`). */
|
|
13
|
-
export declare function SelectableAssetRow({ name, icon, selected, disabled, onPress, accessibilityLabel, }: SelectableAssetRowProps): import("react").JSX.Element;
|
|
15
|
+
export declare function SelectableAssetRow({ name, icon, detail, selected, disabled, onPress, accessibilityLabel, }: SelectableAssetRowProps): import("react").JSX.Element;
|
|
14
16
|
//# sourceMappingURL=SelectableAssetRow.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectableAssetRow.d.ts","sourceRoot":"","sources":["../../../src/components/SelectableAssetRow.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAMtC,MAAM,WAAW,uBAAuB;IACtC,IAAI,EAAE,MAAM,CAAA;IACZ,4EAA4E;IAC5E,IAAI,EAAE,SAAS,CAAA;IACf,QAAQ,EAAE,OAAO,CAAA;IACjB,kFAAkF;IAClF,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB,kBAAkB,EAAE,MAAM,CAAA;CAC3B;AAED,sEAAsE;AACtE,wBAAgB,kBAAkB,CAAC,EACjC,IAAI,EACJ,IAAI,EACJ,QAAQ,EACR,QAAgB,EAChB,OAAO,EACP,kBAAkB,GACnB,EAAE,uBAAuB,+
|
|
1
|
+
{"version":3,"file":"SelectableAssetRow.d.ts","sourceRoot":"","sources":["../../../src/components/SelectableAssetRow.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAMtC,MAAM,WAAW,uBAAuB;IACtC,IAAI,EAAE,MAAM,CAAA;IACZ,4EAA4E;IAC5E,IAAI,EAAE,SAAS,CAAA;IACf,qEAAqE;IACrE,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,QAAQ,EAAE,OAAO,CAAA;IACjB,kFAAkF;IAClF,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB,kBAAkB,EAAE,MAAM,CAAA;CAC3B;AAED,sEAAsE;AACtE,wBAAgB,kBAAkB,CAAC,EACjC,IAAI,EACJ,IAAI,EACJ,MAAM,EACN,QAAQ,EACR,QAAgB,EAChB,OAAO,EACP,kBAAkB,GACnB,EAAE,uBAAuB,+BA6CzB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AccountBalanceChip.d.ts","sourceRoot":"","sources":["../../../../src/components/v2/AccountBalanceChip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"AccountBalanceChip.d.ts","sourceRoot":"","sources":["../../../../src/components/v2/AccountBalanceChip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAOtC,MAAM,WAAW,uBAAuB;IACtC,qEAAqE;IACrE,KAAK,EAAE,MAAM,CAAA;IACb,kDAAkD;IAClD,KAAK,EAAE,MAAM,CAAA;IACb,oEAAoE;IACpE,MAAM,CAAC,EAAE,SAAS,CAAA;IAClB,kEAAkE;IAClE,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;IACpB,kBAAkB,CAAC,EAAE,MAAM,CAAA;CAC5B;AAID;;;;GAIG;AACH,wBAAgB,kBAAkB,CAAC,EACjC,KAAK,EACL,KAAK,EACL,MAAM,EACN,OAAO,EACP,kBAAkB,GACnB,EAAE,uBAAuB,+BA8CzB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AmountDisplay.d.ts","sourceRoot":"","sources":["../../../../src/components/v2/AmountDisplay.tsx"],"names":[],"mappings":"AAgHA;;;;;GAKG;AACH,wBAAgB,QAAQ,CAAC,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,MAAM,CAKpE;AAED,MAAM,WAAW,kBAAkB;IACjC,qDAAqD;IACrD,KAAK,EAAE,MAAM,CAAA;IACb,iCAAiC;IACjC,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,6EAA6E;IAC7E,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,kFAAkF;IAClF,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,kBAAkB,EAAE,MAAM,CAAA;CAC3B;AAED;;;;;;;GAOG;AACH,wBAAgB,aAAa,CAAC,EAC5B,KAAK,EACL,MAAY,EACZ,QAAgB,EAChB,UAAkB,EAClB,kBAAkB,GACnB,EAAE,kBAAkB,+
|
|
1
|
+
{"version":3,"file":"AmountDisplay.d.ts","sourceRoot":"","sources":["../../../../src/components/v2/AmountDisplay.tsx"],"names":[],"mappings":"AAgHA;;;;;GAKG;AACH,wBAAgB,QAAQ,CAAC,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,MAAM,CAKpE;AAED,MAAM,WAAW,kBAAkB;IACjC,qDAAqD;IACrD,KAAK,EAAE,MAAM,CAAA;IACb,iCAAiC;IACjC,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,6EAA6E;IAC7E,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,kFAAkF;IAClF,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,kBAAkB,EAAE,MAAM,CAAA;CAC3B;AAED;;;;;;;GAOG;AACH,wBAAgB,aAAa,CAAC,EAC5B,KAAK,EACL,MAAY,EACZ,QAAgB,EAChB,UAAkB,EAClB,kBAAkB,GACnB,EAAE,kBAAkB,+BAwDpB"}
|
|
@@ -3,12 +3,11 @@ export interface NumPadProps {
|
|
|
3
3
|
onPressKey: (key: NumpadKey) => void;
|
|
4
4
|
/** The delete key carries a glyph, so its label can't come from the key. */
|
|
5
5
|
backspaceAccessibilityLabel: string;
|
|
6
|
+
/** Makes every keypad control disabled and non-interactive. */
|
|
7
|
+
disabled?: boolean;
|
|
6
8
|
}
|
|
7
9
|
/**
|
|
8
|
-
* The withdrawal amount keypad. Both dimensions come from the container, so
|
|
9
|
-
* the keys grow with the device rather than leaving a void above them.
|
|
10
|
-
*
|
|
11
10
|
* Emits keys rather than a value: `applyNumpadKey` owns the grammar.
|
|
12
11
|
*/
|
|
13
|
-
export declare const NumPad: import("react").MemoExoticComponent<({ onPressKey, backspaceAccessibilityLabel, }: NumPadProps) => import("react").JSX.Element>;
|
|
12
|
+
export declare const NumPad: import("react").MemoExoticComponent<({ onPressKey, backspaceAccessibilityLabel, disabled, }: NumPadProps) => import("react").JSX.Element>;
|
|
14
13
|
//# sourceMappingURL=NumPad.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NumPad.d.ts","sourceRoot":"","sources":["../../../../src/components/v2/NumPad.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"NumPad.d.ts","sourceRoot":"","sources":["../../../../src/components/v2/NumPad.tsx"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAA;AAgDxD,MAAM,WAAW,WAAW;IAC1B,UAAU,EAAE,CAAC,GAAG,EAAE,SAAS,KAAK,IAAI,CAAA;IACpC,4EAA4E;IAC5E,2BAA2B,EAAE,MAAM,CAAA;IACnC,+DAA+D;IAC/D,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;AAED;;GAEG;AACH,eAAO,MAAM,MAAM,+FAIhB,WAAW,iCAuCZ,CAAA"}
|
|
@@ -7,11 +7,11 @@ export interface QuickAmountOption {
|
|
|
7
7
|
export interface QuickAmountsRowProps {
|
|
8
8
|
options: QuickAmountOption[];
|
|
9
9
|
onSelect: (value: string) => void;
|
|
10
|
+
/** Makes every shortcut non-interactive. */
|
|
11
|
+
disabled?: boolean;
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
12
14
|
* The recommended-amount shortcuts shown while the deposit amount is empty.
|
|
13
|
-
* Each chip takes an equal share of the row, so four presets fill the same
|
|
14
|
-
* width the submit button will occupy once an amount is typed.
|
|
15
15
|
*/
|
|
16
|
-
export declare const QuickAmountsRow: import("react").MemoExoticComponent<({ options, onSelect, }: QuickAmountsRowProps) => import("react").JSX.Element>;
|
|
16
|
+
export declare const QuickAmountsRow: import("react").MemoExoticComponent<({ options, onSelect, disabled, }: QuickAmountsRowProps) => import("react").JSX.Element>;
|
|
17
17
|
//# sourceMappingURL=QuickAmountsRow.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QuickAmountsRow.d.ts","sourceRoot":"","sources":["../../../../src/components/v2/QuickAmountsRow.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"QuickAmountsRow.d.ts","sourceRoot":"","sources":["../../../../src/components/v2/QuickAmountsRow.tsx"],"names":[],"mappings":"AAaA,MAAM,WAAW,iBAAiB;IAChC,qEAAqE;IACrE,KAAK,EAAE,MAAM,CAAA;IACb,0CAA0C;IAC1C,KAAK,EAAE,MAAM,CAAA;CACd;AAED,MAAM,WAAW,oBAAoB;IACnC,OAAO,EAAE,iBAAiB,EAAE,CAAA;IAC5B,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACjC,4CAA4C;IAC5C,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;AAED;;GAEG;AACH,eAAO,MAAM,eAAe,yEAIzB,oBAAoB,iCA6ErB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FiatActionButton.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatActionButton.tsx"],"names":[],"mappings":"AASA,OAAO,EAAc,KAAK,eAAe,EAAE,MAAM,0BAA0B,CAAA;AAQ3E,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,eAAe,+BAqBtD"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* The disc every fiat step leaves the current screen by (1844:17447).
|
|
3
3
|
*
|
|
4
|
-
* It pays no status-bar inset of its own
|
|
5
|
-
*
|
|
6
|
-
*
|
|
4
|
+
* It pays no status-bar inset of its own — the screen that draws it does, via
|
|
5
|
+
* `useFlowStepFrame`. Insetting here too dropped it a full bar past the 5 the
|
|
6
|
+
* frames leave it: 79 below the Dynamic Island where the design says 16.
|
|
7
7
|
*/
|
|
8
8
|
export declare function FiatBackButton({ onPress }: {
|
|
9
9
|
onPress: () => void;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { NativeDatePicker } from './nativeDatePicker';
|
|
2
|
+
/** iOS owns the wheel and its accessibility gestures (Figma 2017:20247). */
|
|
3
|
+
export declare function FiatBirthDateField({ Picker, value, editable, onChange, }: {
|
|
4
|
+
Picker: NativeDatePicker;
|
|
5
|
+
value: string;
|
|
6
|
+
editable: boolean;
|
|
7
|
+
onChange: (value: string) => void;
|
|
8
|
+
}): import("react").JSX.Element;
|
|
9
|
+
//# sourceMappingURL=FiatBirthDateField.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FiatBirthDateField.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatBirthDateField.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AAE1D,4EAA4E;AAC5E,wBAAgB,kBAAkB,CAAC,EACjC,MAAM,EACN,KAAK,EACL,QAAQ,EACR,QAAQ,GACT,EAAE;IACD,MAAM,EAAE,gBAAgB,CAAA;IACxB,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,OAAO,CAAA;IACjB,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;CAClC,+BAkCA"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export interface FiatChoiceFieldProps {
|
|
2
|
+
label: string;
|
|
3
|
+
title: string;
|
|
4
|
+
value: string;
|
|
5
|
+
options: readonly {
|
|
6
|
+
id: string;
|
|
7
|
+
labelFallback: string;
|
|
8
|
+
}[];
|
|
9
|
+
editable: boolean;
|
|
10
|
+
invalid: boolean;
|
|
11
|
+
grouped?: boolean;
|
|
12
|
+
onChange: (value: string) => void;
|
|
13
|
+
}
|
|
14
|
+
/** KYC R2 selection sheet, shared by country and provider questionnaires. */
|
|
15
|
+
export declare function FiatChoiceField({ label, title, value, options, editable, invalid, grouped, onChange, }: FiatChoiceFieldProps): import("react").JSX.Element;
|
|
16
|
+
//# sourceMappingURL=FiatChoiceField.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FiatChoiceField.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatChoiceField.tsx"],"names":[],"mappings":"AAkBA,MAAM,WAAW,oBAAoB;IACnC,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,EAAE,SAAS;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,aAAa,EAAE,MAAM,CAAA;KAAE,EAAE,CAAA;IACzD,QAAQ,EAAE,OAAO,CAAA;IACjB,OAAO,EAAE,OAAO,CAAA;IAChB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;CAClC;AAED,6EAA6E;AAC7E,wBAAgB,eAAe,CAAC,EAC9B,KAAK,EACL,KAAK,EACL,KAAK,EACL,OAAO,EACP,QAAQ,EACR,OAAO,EACP,OAAO,EACP,QAAQ,GACT,EAAE,oBAAoB,+BAgJtB"}
|
|
@@ -1,9 +1,24 @@
|
|
|
1
|
+
import type { KnownContacts } from './knownContacts';
|
|
1
2
|
import type { SessionContactField } from './sessionContact';
|
|
2
3
|
export interface FiatContactScreenProps {
|
|
3
|
-
/**
|
|
4
|
-
|
|
4
|
+
/**
|
|
5
|
+
* What the session transition asks for, in the order it declares it. More
|
|
6
|
+
* than one when the step verifies a number *and* an address.
|
|
7
|
+
*/
|
|
8
|
+
fields: readonly SessionContactField[];
|
|
9
|
+
/**
|
|
10
|
+
* The buyer's region, ISO 3166-1 alpha-2, so a number typed the way they
|
|
11
|
+
* dial it at home is read with their country code.
|
|
12
|
+
*/
|
|
13
|
+
defaultRegion?: string;
|
|
14
|
+
/** Why the last send was refused, when it was; Continue sends again. */
|
|
15
|
+
errorMessage?: string;
|
|
16
|
+
requiresContactChange?: boolean;
|
|
17
|
+
initialContacts?: KnownContacts;
|
|
5
18
|
isSubmitting: boolean;
|
|
6
|
-
|
|
19
|
+
/** Where the buyer is, per the geo lookup: the code the field opens on. */
|
|
20
|
+
defaultCountry?: string;
|
|
21
|
+
onChangeContact: (field: SessionContactField, value: string) => void;
|
|
7
22
|
onSubmit: () => void;
|
|
8
23
|
onClose: () => void;
|
|
9
24
|
}
|
|
@@ -11,7 +26,14 @@ export interface FiatContactScreenProps {
|
|
|
11
26
|
* Where the code is sent (screen 2's first half).
|
|
12
27
|
*
|
|
13
28
|
* Collected before the transition that opens the session, so the step is the
|
|
14
|
-
* client's own rather than one the server drives.
|
|
29
|
+
* client's own rather than one the server drives. Every field the step asks
|
|
30
|
+
* for is on it: the session cannot open on a subset.
|
|
15
31
|
*/
|
|
16
|
-
export declare function FiatContactScreen(
|
|
32
|
+
export declare function FiatContactScreen(props: FiatContactScreenProps): import("react").JSX.Element;
|
|
33
|
+
interface FiatContactContentProps extends FiatContactScreenProps {
|
|
34
|
+
values: Record<string, string>;
|
|
35
|
+
onChangeDraft: (name: string, value: string) => void;
|
|
36
|
+
}
|
|
37
|
+
export declare function FiatContactContent({ fields, defaultRegion, errorMessage, requiresContactChange, initialContacts, isSubmitting, defaultCountry, onChangeContact, onSubmit, onClose, values, onChangeDraft, }: FiatContactContentProps): import("react").JSX.Element;
|
|
38
|
+
export {};
|
|
17
39
|
//# sourceMappingURL=FiatContactScreen.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FiatContactScreen.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatContactScreen.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"FiatContactScreen.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatContactScreen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAkCpD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAA;AAQ3D,MAAM,WAAW,sBAAsB;IACrC;;;OAGG;IACH,MAAM,EAAE,SAAS,mBAAmB,EAAE,CAAA;IACtC;;;OAGG;IACH,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,wEAAwE;IACxE,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,qBAAqB,CAAC,EAAE,OAAO,CAAA;IAC/B,eAAe,CAAC,EAAE,aAAa,CAAA;IAC/B,YAAY,EAAE,OAAO,CAAA;IACrB,2EAA2E;IAC3E,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,eAAe,EAAE,CAAC,KAAK,EAAE,mBAAmB,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACpE,QAAQ,EAAE,MAAM,IAAI,CAAA;IACpB,OAAO,EAAE,MAAM,IAAI,CAAA;CACpB;AAED;;;;;;GAMG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,sBAAsB,+BAwB9D;AAED,UAAU,uBAAwB,SAAQ,sBAAsB;IAC9D,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAC9B,aAAa,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;CACrD;AAED,wBAAgB,kBAAkB,CAAC,EACjC,MAAM,EACN,aAAa,EACb,YAAY,EACZ,qBAA6B,EAC7B,eAAe,EACf,YAAY,EACZ,cAAc,EACd,eAAe,EACf,QAAQ,EACR,OAAO,EACP,MAAM,EACN,aAAa,GACd,EAAE,uBAAuB,+BA6PzB"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Animated } from 'react-native';
|
|
2
|
+
import { type PhoneCountry } from './phoneCountries';
|
|
3
|
+
export interface FiatCountryDockProps {
|
|
4
|
+
selected: PhoneCountry;
|
|
5
|
+
isOpen: boolean;
|
|
6
|
+
/** 0 closed, 1 open — what slides the panel in off the bottom edge. */
|
|
7
|
+
slide: Animated.AnimatedValue;
|
|
8
|
+
/** Keeps the panel clear of the keyboard the filter raises. */
|
|
9
|
+
keyboardHeight: number;
|
|
10
|
+
onSelect: (country: PhoneCountry) => void;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* The calling codes, in the keyboard's slot (the slot 1844:17543 gives the
|
|
14
|
+
* date picker — the design draws no phone step of its own).
|
|
15
|
+
*/
|
|
16
|
+
export declare function FiatCountryDock({ selected, isOpen, slide, keyboardHeight, onSelect, }: FiatCountryDockProps): import("react").JSX.Element;
|
|
17
|
+
//# sourceMappingURL=FiatCountryDock.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FiatCountryDock.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatCountryDock.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAmC,MAAM,cAAc,CAAA;AAOxE,OAAO,EAEL,KAAK,YAAY,EAGlB,MAAM,kBAAkB,CAAA;AAEzB,MAAM,WAAW,oBAAoB;IACnC,QAAQ,EAAE,YAAY,CAAA;IACtB,MAAM,EAAE,OAAO,CAAA;IACf,uEAAuE;IACvE,KAAK,EAAE,QAAQ,CAAC,aAAa,CAAA;IAC7B,+DAA+D;IAC/D,cAAc,EAAE,MAAM,CAAA;IACtB,QAAQ,EAAE,CAAC,OAAO,EAAE,YAAY,KAAK,IAAI,CAAA;CAC1C;AAED;;;GAGG;AACH,wBAAgB,eAAe,CAAC,EAC9B,QAAQ,EACR,MAAM,EACN,KAAK,EACL,cAAc,EACd,QAAQ,GACT,EAAE,oBAAoB,+BAmHtB"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
2
|
+
import type { KYCProvider } from '@funkit/connect-core';
|
|
3
|
+
/** Mount the provider only after its introduction has been acknowledged. */
|
|
4
|
+
export declare function FiatDocumentCaptureStep({ children, kycProvider, onBack, }: {
|
|
5
|
+
children: () => ReactNode;
|
|
6
|
+
kycProvider?: KYCProvider;
|
|
7
|
+
onBack: () => void;
|
|
8
|
+
}): string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | import("react").JSX.Element | null | undefined;
|
|
9
|
+
//# sourceMappingURL=FiatDocumentCaptureStep.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FiatDocumentCaptureStep.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatDocumentCaptureStep.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,SAAS,EAAE,MAAM,OAAO,CAAA;AAChD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAA;AAGvD,4EAA4E;AAC5E,wBAAgB,uBAAuB,CAAC,EACtC,QAAQ,EACR,WAAW,EACX,MAAM,GACP,EAAE;IACD,QAAQ,EAAE,MAAM,SAAS,CAAA;IACzB,WAAW,CAAC,EAAE,WAAW,CAAA;IACzB,MAAM,EAAE,MAAM,IAAI,CAAA;CACnB,+TAWA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FiatErrorNotice.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatErrorNotice.tsx"],"names":[],"mappings":"AAIA,wBAAgB,eAAe,CAAC,EAAE,OAAO,EAAE,EAAE;IAAE,OAAO,EAAE,MAAM,CAAA;CAAE,+BAY/D"}
|
|
@@ -1,17 +1,29 @@
|
|
|
1
1
|
import { Animated } from 'react-native';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* What ends a form page, docked above whatever is up (KYC - R2, 2005:17707 /
|
|
4
|
+
* 2017:18858 / 2017:19555).
|
|
4
5
|
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
6
|
+
* The design gives the slot one occupant at a time: the validation error
|
|
7
|
+
* while the page is refused, the action once it is clean, a spinner while it
|
|
8
|
+
* is being sent.
|
|
9
|
+
* A long section scrolls under it, so it is pinned rather than left at the
|
|
10
|
+
* end of the column.
|
|
8
11
|
*/
|
|
9
|
-
export declare function FiatFormAdvance({
|
|
12
|
+
export declare function FiatFormAdvance({ isSubmitting, validationError, shouldShowCta, bottom, onPress, }: {
|
|
10
13
|
isLastStep: boolean;
|
|
11
14
|
isSubmitting: boolean;
|
|
12
|
-
|
|
15
|
+
/** What the page is refused for, when it has been tried. */
|
|
16
|
+
validationError?: string;
|
|
17
|
+
/**
|
|
18
|
+
* Whether the action is drawn. A typed page hides it until the page is
|
|
19
|
+
* clean, since the keyboard's own return key is how it is tried; a page
|
|
20
|
+
* with nothing to type into keeps it, because nothing else can try.
|
|
21
|
+
*/
|
|
22
|
+
shouldShowCta: boolean;
|
|
13
23
|
/** Where it sits above the keyboard, the picker, or the home indicator. */
|
|
14
24
|
bottom: Animated.WithAnimatedValue<number>;
|
|
15
25
|
onPress: () => void;
|
|
16
26
|
}): import("react").JSX.Element;
|
|
27
|
+
/** How tall the dock stands, so the column can leave room under itself. */
|
|
28
|
+
export declare function advanceDockHeight(hasValidationError: boolean): number;
|
|
17
29
|
//# sourceMappingURL=FiatFormAdvance.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FiatFormAdvance.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatFormAdvance.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"FiatFormAdvance.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatFormAdvance.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAc,MAAM,cAAc,CAAA;AAQnD;;;;;;;;;GASG;AACH,wBAAgB,eAAe,CAAC,EAC9B,YAAY,EACZ,eAAe,EACf,aAAa,EACb,MAAM,EACN,OAAO,GACR,EAAE;IACD,UAAU,EAAE,OAAO,CAAA;IACnB,YAAY,EAAE,OAAO,CAAA;IACrB,4DAA4D;IAC5D,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB;;;;OAIG;IACH,aAAa,EAAE,OAAO,CAAA;IACtB,2EAA2E;IAC3E,MAAM,EAAE,QAAQ,CAAC,iBAAiB,CAAC,MAAM,CAAC,CAAA;IAC1C,OAAO,EAAE,MAAM,IAAI,CAAA;CACpB,+BAoCA;AAED,2EAA2E;AAC3E,wBAAgB,iBAAiB,CAAC,kBAAkB,EAAE,OAAO,GAAG,MAAM,CAOrE"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import type { FormField
|
|
1
|
+
import type { FormField } from '@funkit/connect-core';
|
|
2
2
|
import { type RefObject } from 'react';
|
|
3
3
|
import { TextInput, type TextInputProps } from 'react-native';
|
|
4
4
|
import { type FieldAutofill } from './fieldAutofill';
|
|
5
|
+
import type { KycFieldIssue } from './kycFormState';
|
|
5
6
|
/**
|
|
6
7
|
* What the return key does at the end of a field.
|
|
7
8
|
*
|
|
@@ -17,13 +18,15 @@ export interface FieldReturnKey {
|
|
|
17
18
|
export interface FiatFormFieldRowProps {
|
|
18
19
|
field: FormField;
|
|
19
20
|
value: string;
|
|
20
|
-
/** Shown only once the
|
|
21
|
-
issue?:
|
|
21
|
+
/** Shown only once the page has been tried, so a blank form is quiet. */
|
|
22
|
+
issue?: KycFieldIssue;
|
|
22
23
|
/** The step focuses through its fields, so it holds the first box's node. */
|
|
23
24
|
inputRef?: FieldInputRef;
|
|
24
25
|
/** Absent on a field with nothing to type into. */
|
|
25
26
|
returnKey?: FieldReturnKey;
|
|
26
27
|
/** Inside a section's card: the card fills and rounds it, so the box won't. */
|
|
28
|
+
editable?: boolean;
|
|
29
|
+
autoFocus?: boolean;
|
|
27
30
|
grouped?: boolean;
|
|
28
31
|
/** A date a picker answers: the box shows the answer instead of taking it. */
|
|
29
32
|
picked?: FieldPicked;
|
|
@@ -42,12 +45,12 @@ export interface FieldPicked {
|
|
|
42
45
|
* field type this build has never seen still reads correctly from the server's
|
|
43
46
|
* `labelFallback`.
|
|
44
47
|
*/
|
|
45
|
-
export declare function FiatFormFieldRow({ field, value, issue, inputRef, returnKey, grouped, picked, onChangeValue, onBlur, }: FiatFormFieldRowProps): import("react").JSX.Element;
|
|
48
|
+
export declare function FiatFormFieldRow({ field, value, issue, inputRef, returnKey, grouped, editable, autoFocus, picked, onChangeValue, onBlur, }: FiatFormFieldRowProps): import("react").JSX.Element;
|
|
46
49
|
/**
|
|
47
50
|
* The design's field: a filled box with the label as its placeholder, and an
|
|
48
51
|
* "optional" caption under the label where the form does not require it.
|
|
49
52
|
*/
|
|
50
|
-
export declare function FieldBox({ value, placeholder, optional, maxLength, align, keyboardType, inputRef, returnKey, grouped, invalid, autofill, onChangeValue, onBlur, }: {
|
|
53
|
+
export declare function FieldBox({ value, placeholder, optional, maxLength, align, keyboardType, inputRef, returnKey, grouped, editable, autoFocus, invalid, autofill, onChangeValue, onBlur, }: {
|
|
51
54
|
value: string;
|
|
52
55
|
placeholder: string;
|
|
53
56
|
optional?: boolean;
|
|
@@ -56,6 +59,8 @@ export declare function FieldBox({ value, placeholder, optional, maxLength, alig
|
|
|
56
59
|
keyboardType?: TextInputProps['keyboardType'];
|
|
57
60
|
inputRef?: FieldInputRef;
|
|
58
61
|
returnKey?: FieldReturnKey;
|
|
62
|
+
editable?: boolean;
|
|
63
|
+
autoFocus?: boolean;
|
|
59
64
|
grouped?: boolean;
|
|
60
65
|
/** A refused answer: the box takes the design's yellow. */
|
|
61
66
|
invalid?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FiatFormFieldRow.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatFormFieldRow.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,
|
|
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;AAMrB,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,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,KAAK,EACL,QAAQ,EACR,SAAS,EACT,OAAO,EACP,QAAe,EACf,SAAiB,EACjB,MAAM,EACN,aAAa,EACb,MAAM,GACP,EAAE,qBAAqB,+BAgBvB;AA+FD;;;GAGG;AACH,wBAAgB,QAAQ,CAAC,EACvB,KAAK,EACL,WAAW,EACX,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,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,+BAyDA"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import type { FiatProvider, FormDescriptor, FormValues, JsonValue, Quote } from '@funkit/connect-core';
|
|
2
|
+
import { type KycSectionPage } from './formLayout';
|
|
2
3
|
export interface FiatFormScreenProps {
|
|
3
4
|
form: FormDescriptor;
|
|
4
|
-
/**
|
|
5
|
-
quote
|
|
5
|
+
/** Present when identity is collected after a provider has priced the round. */
|
|
6
|
+
quote?: Quote;
|
|
6
7
|
/** The provider the round names, for the consent the intro takes. */
|
|
7
8
|
provider?: FiatProvider;
|
|
8
9
|
values: FormValues;
|
|
@@ -28,5 +29,13 @@ export interface FiatFormScreenProps {
|
|
|
28
29
|
* Only the last section submits — the ones before it advance locally, because
|
|
29
30
|
* the contract sends the form whole and has no per-page call.
|
|
30
31
|
*/
|
|
31
|
-
export declare function FiatFormScreen(
|
|
32
|
+
export declare function FiatFormScreen(props: FiatFormScreenProps): import("react").JSX.Element;
|
|
33
|
+
interface FiatFormContentProps extends FiatFormScreenProps {
|
|
34
|
+
pages: KycSectionPage[];
|
|
35
|
+
step: number;
|
|
36
|
+
onStep: (step: number) => void;
|
|
37
|
+
}
|
|
38
|
+
/** One round of the form: what is typed, what is refused, and which page is up. */
|
|
39
|
+
export declare function FiatFormContent({ form, values, defaultCountry, errorMessage, isSubmitting, onChangeField, onPrefill, onSubmit, onClose, pages, step, onStep, }: FiatFormContentProps): import("react").JSX.Element | null;
|
|
40
|
+
export {};
|
|
32
41
|
//# 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":"AAEA,OAAO,KAAK,EACV,YAAY,EACZ,cAAc,EAEd,UAAU,EACV,SAAS,EACT,KAAK,EACN,MAAM,sBAAsB,CAAA;AAyB7B,OAAO,EACL,KAAK,cAAc,EAMpB,MAAM,cAAc,CAAA;AA6BrB,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,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,+BA+CxD;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,YAAY,EACZ,YAAY,EACZ,aAAa,EACb,SAAS,EACT,QAAQ,EACR,OAAO,EACP,KAAK,EACL,IAAI,EACJ,MAAM,GACP,EAAE,oBAAoB,sCAugBtB"}
|
|
@@ -0,0 +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;AAK3E,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,mBAAmB,+BAO1D"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type FiatFormFieldRowProps } from './FiatFormFieldRow';
|
|
2
|
+
import type { NativeDatePicker } from './nativeDatePicker';
|
|
3
|
+
export declare function FiatKycFieldControl({ ssnDigits, Picker, isDatePickerLoading, ...props }: FiatFormFieldRowProps & {
|
|
4
|
+
ssnDigits?: 4 | 9;
|
|
5
|
+
Picker?: NativeDatePicker;
|
|
6
|
+
isDatePickerLoading?: boolean;
|
|
7
|
+
}): import("react").JSX.Element | null;
|
|
8
|
+
//# sourceMappingURL=FiatKycFieldControl.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FiatKycFieldControl.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatKycFieldControl.tsx"],"names":[],"mappings":"AAIA,OAAO,EAEL,KAAK,qBAAqB,EAC3B,MAAM,oBAAoB,CAAA;AAE3B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AAE1D,wBAAgB,mBAAmB,CAAC,EAClC,SAAS,EACT,MAAM,EACN,mBAA2B,EAC3B,GAAG,KAAK,EACT,EAAE,qBAAqB,GAAG;IACzB,SAAS,CAAC,EAAE,CAAC,GAAG,CAAC,CAAA;IACjB,MAAM,CAAC,EAAE,gBAAgB,CAAA;IACzB,mBAAmB,CAAC,EAAE,OAAO,CAAA;CAC9B,sCAyEA"}
|
|
@@ -1,16 +1,13 @@
|
|
|
1
|
-
import type { FiatProvider } from '@funkit/connect-core';
|
|
1
|
+
import type { FiatProvider, KYCProvider } from '@funkit/connect-core';
|
|
2
2
|
export interface FiatKycIntroScreenProps {
|
|
3
|
-
/** The provider the round names; whose terms the buyer is agreeing to. */
|
|
4
3
|
provider?: FiatProvider;
|
|
4
|
+
/** Names the ID-verification vendor in the document round's copy. */
|
|
5
|
+
kycProvider?: KYCProvider;
|
|
6
|
+
additionalInformation?: boolean;
|
|
7
|
+
documentVerification?: boolean;
|
|
8
|
+
isSubmitting?: boolean;
|
|
5
9
|
onContinue: () => void;
|
|
6
10
|
onCancel: () => void;
|
|
7
11
|
}
|
|
8
|
-
|
|
9
|
-
* What the form opens on (1844:17377): why identity is being asked for, and
|
|
10
|
-
* the consent to ask, before any field is.
|
|
11
|
-
*
|
|
12
|
-
* Client-local — the contract has no state for it, so it is a step this screen
|
|
13
|
-
* owns rather than one the server drives.
|
|
14
|
-
*/
|
|
15
|
-
export declare function FiatKycIntroScreen({ provider, onContinue, onCancel, }: FiatKycIntroScreenProps): import("react").JSX.Element;
|
|
12
|
+
export declare function FiatKycIntroScreen({ provider, kycProvider, additionalInformation, documentVerification, isSubmitting, onContinue, onCancel, }: FiatKycIntroScreenProps): import("react").JSX.Element;
|
|
16
13
|
//# 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":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAA;AAoBrE,MAAM,WAAW,uBAAuB;IACtC,QAAQ,CAAC,EAAE,YAAY,CAAA;IACvB,qEAAqE;IACrE,WAAW,CAAC,EAAE,WAAW,CAAA;IACzB,qBAAqB,CAAC,EAAE,OAAO,CAAA;IAC/B,oBAAoB,CAAC,EAAE,OAAO,CAAA;IAC9B,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,UAAU,EAAE,MAAM,IAAI,CAAA;IACtB,QAAQ,EAAE,MAAM,IAAI,CAAA;CACrB;AAED,wBAAgB,kBAAkB,CAAC,EACjC,QAAQ,EACR,WAAW,EACX,qBAA6B,EAC7B,oBAA4B,EAC5B,YAAoB,EACpB,UAAU,EACV,QAAQ,GACT,EAAE,uBAAuB,+BAsHzB"}
|
|
@@ -2,11 +2,6 @@ export interface FiatKycNoticeProps {
|
|
|
2
2
|
title: string;
|
|
3
3
|
detail: string;
|
|
4
4
|
}
|
|
5
|
-
/**
|
|
6
|
-
* The banner the deposit surface wears while identity is outstanding.
|
|
7
|
-
*
|
|
8
|
-
* The design draws a person-with-badge glyph the icon set has no equivalent
|
|
9
|
-
* for, so the alert glyph carries it.
|
|
10
|
-
*/
|
|
5
|
+
/** Identity notice from KYC R2, 2087:8432. */
|
|
11
6
|
export declare function FiatKycNotice({ title, detail }: FiatKycNoticeProps): import("react").JSX.Element;
|
|
12
7
|
//# sourceMappingURL=FiatKycNotice.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FiatKycNotice.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatKycNotice.tsx"],"names":[],"mappings":"AAKA,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;CACf;AAED
|
|
1
|
+
{"version":3,"file":"FiatKycNotice.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatKycNotice.tsx"],"names":[],"mappings":"AAKA,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;CACf;AAED,8CAA8C;AAC9C,wBAAgB,aAAa,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE,kBAAkB,+BAyBlE"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export interface FiatKycOutcomeScreenProps {
|
|
2
|
+
outcome: 'review' | 'hold' | 'restricted';
|
|
3
|
+
recovery?: {
|
|
4
|
+
label: string;
|
|
5
|
+
onPress: () => void;
|
|
6
|
+
};
|
|
7
|
+
retryDetail?: string;
|
|
8
|
+
onClose: () => void;
|
|
9
|
+
}
|
|
10
|
+
export declare function FiatKycOutcomeScreen({ outcome, recovery, retryDetail, onClose, }: FiatKycOutcomeScreenProps): import("react").JSX.Element;
|
|
11
|
+
//# sourceMappingURL=FiatKycOutcomeScreen.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FiatKycOutcomeScreen.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatKycOutcomeScreen.tsx"],"names":[],"mappings":"AAYA,MAAM,WAAW,yBAAyB;IACxC,OAAO,EAAE,QAAQ,GAAG,MAAM,GAAG,YAAY,CAAA;IACzC,QAAQ,CAAC,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,IAAI,CAAA;KAAE,CAAA;IACjD,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,OAAO,EAAE,MAAM,IAAI,CAAA;CACpB;AAMD,wBAAgB,oBAAoB,CAAC,EACnC,OAAO,EACP,QAAQ,EACR,WAAW,EACX,OAAO,GACR,EAAE,yBAAyB,+BA8D3B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FiatKycPosition.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatKycPosition.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAA;AAEpD,wBAAgB,eAAe,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,EAAE,WAAW,CAAA;CAAE,+BAoCtE"}
|
|
@@ -2,9 +2,13 @@
|
|
|
2
2
|
export declare const OTP_CODE_LENGTH = 6;
|
|
3
3
|
export interface FiatOtpScreenProps {
|
|
4
4
|
/** Digits the step expects, as the transition declares them. */
|
|
5
|
+
verified?: boolean;
|
|
5
6
|
length?: number;
|
|
6
|
-
/**
|
|
7
|
-
|
|
7
|
+
/**
|
|
8
|
+
* Where the code went, when the client is the one that supplied it. A round
|
|
9
|
+
* on a channel the entry never collected for has no value to name.
|
|
10
|
+
*/
|
|
11
|
+
destination?: string;
|
|
8
12
|
/** Which channel carried it, as the step reports it. */
|
|
9
13
|
isSms: boolean;
|
|
10
14
|
/** The step's own error — a bad code re-enters this same state. */
|
|
@@ -26,5 +30,10 @@ export interface FiatOtpScreenProps {
|
|
|
26
30
|
* The per-digit boxes are a display: one field holds the code, so iOS fills it
|
|
27
31
|
* from the message and a paste lands whole.
|
|
28
32
|
*/
|
|
29
|
-
export declare function FiatOtpScreen(
|
|
33
|
+
export declare function FiatOtpScreen(props: FiatOtpScreenProps): import("react").JSX.Element;
|
|
34
|
+
interface FiatOtpContentProps extends FiatOtpScreenProps {
|
|
35
|
+
code: string;
|
|
36
|
+
}
|
|
37
|
+
export declare function FiatOtpContent({ verified, length, destination, isSms, errorMessage, onResend, isSubmitting, onChangeCode, onSubmit, onClose, code, }: FiatOtpContentProps): import("react").JSX.Element;
|
|
38
|
+
export {};
|
|
30
39
|
//# sourceMappingURL=FiatOtpScreen.d.ts.map
|
|
@@ -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":"AA2BA,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,IAAI,CAAA;IACrB,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,+BAwKrB"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { FiatFlow } from '@funkit/connect-core';
|
|
2
|
+
export declare function FiatPendingOrderScreen({ flow, onResumeAmount, onClose, }: {
|
|
3
|
+
flow: FiatFlow;
|
|
4
|
+
onResumeAmount: (amount: string) => void;
|
|
5
|
+
onClose: () => void;
|
|
6
|
+
}): import("react").JSX.Element | null;
|
|
7
|
+
//# sourceMappingURL=FiatPendingOrderScreen.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FiatPendingOrderScreen.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatPendingOrderScreen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAoB,MAAM,sBAAsB,CAAA;AAOtE,wBAAgB,sBAAsB,CAAC,EACrC,IAAI,EACJ,cAAc,EACd,OAAO,GACR,EAAE;IACD,IAAI,EAAE,QAAQ,CAAA;IACd,cAAc,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAA;IACxC,OAAO,EAAE,MAAM,IAAI,CAAA;CACpB,sCA2CA"}
|