@funkit/connect-rn 4.3.0 → 6.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 +166 -0
- package/dist/{chunk-PIAR365R.js → chunk-4ELC2W4D.js} +492 -58
- package/dist/chunk-4ELC2W4D.js.map +7 -0
- package/dist/{chunk-5YSMFPBG.js → chunk-XTK6HGJL.js} +2 -2
- package/dist/clients/lighter.js +1 -1
- package/dist/clients/nado.js +4 -4
- package/dist/clients/nado.js.map +2 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +7731 -3084
- package/dist/index.js.map +4 -4
- package/dist/src/components/ActionLoading.d.ts +19 -0
- package/dist/src/components/ActionLoading.d.ts.map +1 -0
- package/dist/src/components/DepositActionMotion.d.ts +43 -0
- package/dist/src/components/DepositActionMotion.d.ts.map +1 -0
- package/dist/src/components/LoadingSpinner.d.ts +23 -0
- package/dist/src/components/LoadingSpinner.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/v2/AccountBalanceChip.d.ts.map +1 -1
- package/dist/src/components/v2/AmountDisplay.d.ts +2 -8
- 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/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/FiatChoiceList.d.ts +19 -0
- package/dist/src/fiat/FiatChoiceList.d.ts.map +1 -0
- package/dist/src/fiat/FiatContactScreen.d.ts +17 -1
- package/dist/src/fiat/FiatContactScreen.d.ts.map +1 -1
- package/dist/src/fiat/FiatCountrySheet.d.ts +18 -0
- package/dist/src/fiat/FiatCountrySheet.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 +10 -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 +10 -5
- package/dist/src/fiat/FiatKycNotice.d.ts.map +1 -1
- package/dist/src/fiat/FiatKycOptionRow.d.ts +15 -0
- package/dist/src/fiat/FiatKycOptionRow.d.ts.map +1 -0
- package/dist/src/fiat/FiatKycOptionsScreen.d.ts +21 -0
- package/dist/src/fiat/FiatKycOptionsScreen.d.ts.map +1 -0
- 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 +7 -1
- 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 +3 -2
- package/dist/src/fiat/FiatPhoneField.d.ts.map +1 -1
- 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 +1 -7
- package/dist/src/fiat/FiatTermsNotice.d.ts.map +1 -1
- 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 +17 -4
- package/dist/src/fiat/SurfaceSlot.d.ts.map +1 -1
- package/dist/src/fiat/countrySections.d.ts +25 -0
- package/dist/src/fiat/countrySections.d.ts.map +1 -0
- package/dist/src/fiat/formLayout.d.ts +5 -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/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 +21 -13
- 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.map +1 -1
- package/dist/src/fiat/phoneCountries.d.ts +9 -2
- package/dist/src/fiat/phoneCountries.d.ts.map +1 -1
- package/dist/src/fiat/phoneDraft.d.ts +17 -0
- package/dist/src/fiat/phoneDraft.d.ts.map +1 -0
- package/dist/src/fiat/providers/CoinbaseCheckoutSurface.d.ts +11 -8
- package/dist/src/fiat/providers/CoinbaseCheckoutSurface.d.ts.map +1 -1
- package/dist/src/fiat/providers/HostedControlFrame.d.ts +23 -0
- package/dist/src/fiat/providers/HostedControlFrame.d.ts.map +1 -0
- package/dist/src/fiat/providers/coinbaseApplePay.d.ts +4 -3
- package/dist/src/fiat/providers/coinbaseApplePay.d.ts.map +1 -1
- 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/providers/transakApplePay.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 +18 -6
- 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 +13 -5
- 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/useCountrySheet.d.ts +21 -0
- package/dist/src/fiat/useCountrySheet.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/useFiatDirectDelivery.d.ts +32 -0
- package/dist/src/fiat/useFiatDirectDelivery.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/flow/DepositAmountStep.d.ts +10 -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 +15 -18
- 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 +53 -1
- 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/useDelayedSpinner.d.ts +10 -0
- package/dist/src/hooks/useDelayedSpinner.d.ts.map +1 -0
- package/dist/src/hooks/useGuardedAmountInput.d.ts +26 -6
- package/dist/src/hooks/useGuardedAmountInput.d.ts.map +1 -1
- package/dist/src/hooks/useMinimumAmountValidation.d.ts +17 -0
- package/dist/src/hooks/useMinimumAmountValidation.d.ts.map +1 -0
- 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/KycStatusIcon.d.ts +10 -0
- package/dist/src/icons/KycStatusIcon.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/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 +18 -17
- 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 +2 -1
- package/dist/src/swapped/SwappedScreenShell.d.ts.map +1 -1
- package/dist/src/theme/buttonRadius.d.ts +10 -0
- package/dist/src/theme/buttonRadius.d.ts.map +1 -0
- package/dist/src/theme/cornerCurve.d.ts +11 -0
- package/dist/src/theme/cornerCurve.d.ts.map +1 -0
- 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/useDepositRecipient.d.ts +29 -0
- package/dist/src/transfer/hooks/useDepositRecipient.d.ts.map +1 -0
- 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 +9 -1
- package/dist/src/transfer/hooks/useTokenTransfer.d.ts.map +1 -1
- package/dist/src/transfer/hooks/useTransferInit.d.ts +21 -2
- package/dist/src/transfer/hooks/useTransferInit.d.ts.map +1 -1
- package/dist/src/utils/colorMotion.d.ts +14 -0
- package/dist/src/utils/colorMotion.d.ts.map +1 -0
- package/dist/src/utils/formatAmount.d.ts +10 -1
- package/dist/src/utils/formatAmount.d.ts.map +1 -1
- package/dist/src/utils/motion.d.ts +63 -0
- package/dist/src/utils/motion.d.ts.map +1 -1
- package/dist/src/utils/v2/amountRowGeometry.d.ts +6 -0
- package/dist/src/utils/v2/amountRowGeometry.d.ts.map +1 -0
- package/dist/src/withdrawal/validation.d.ts.map +1 -1
- package/package.json +9 -4
- package/dist/chunk-PIAR365R.js.map +0 -7
- package/dist/src/fiat/FiatCountryDock.d.ts +0 -17
- package/dist/src/fiat/FiatCountryDock.d.ts.map +0 -1
- package/dist/src/fiat/formNotice.d.ts +0 -13
- package/dist/src/fiat/formNotice.d.ts.map +0 -1
- package/dist/src/fiat/useCountryDock.d.ts +0 -21
- package/dist/src/fiat/useCountryDock.d.ts.map +0 -1
- /package/dist/{chunk-5YSMFPBG.js.map → chunk-XTK6HGJL.js.map} +0 -0
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { PillButtonSize } from './PillButton';
|
|
2
|
+
/**
|
|
3
|
+
* The action's own slot while the thing that fills it is still coming — a
|
|
4
|
+
* quote, a provider's hosted button. Drawn as the button's shape in the quiet
|
|
5
|
+
* secondary fill, with no label: the design gives the waiting control no copy,
|
|
6
|
+
* so `label` is what a screen reader announces rather than anything drawn.
|
|
7
|
+
*
|
|
8
|
+
* Shares {@link PillButton}'s geometry and motion so the slot doesn't change
|
|
9
|
+
* shape when the real action lands in it. The ring itself is held back for a
|
|
10
|
+
* beat (`delay`) — the fill is up from the first frame,
|
|
11
|
+
* so a wait that ends inside the delay leaves the button looking untouched.
|
|
12
|
+
*/
|
|
13
|
+
export declare function ActionLoading({ label, size, spinnerDelay, }: {
|
|
14
|
+
label: string;
|
|
15
|
+
size?: PillButtonSize;
|
|
16
|
+
/** Milliseconds before the ring is drawn; the fill is up from the first frame. */
|
|
17
|
+
spinnerDelay?: number;
|
|
18
|
+
}): import("react").JSX.Element;
|
|
19
|
+
//# sourceMappingURL=ActionLoading.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ActionLoading.d.ts","sourceRoot":"","sources":["../../../src/components/ActionLoading.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAKlD;;;;;;;;;;GAUG;AACH,wBAAgB,aAAa,CAAC,EAC5B,KAAK,EACL,IAAiB,EACjB,YAAsC,GACvC,EAAE;IACD,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,CAAC,EAAE,cAAc,CAAA;IACrB,kFAAkF;IAClF,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB,+BAiDA"}
|
|
@@ -0,0 +1,43 @@
|
|
|
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
|
+
interface ActionPhase {
|
|
5
|
+
/** What the slot wears now; the next phase crosses from it. */
|
|
6
|
+
fillColor: string | null;
|
|
7
|
+
/** What a provider's own control in the slot is painted, for when the slot's
|
|
8
|
+
* cover comes off and that control is what the user is looking at. */
|
|
9
|
+
controlFill: string | null;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* The colour the deposit action is painted, carried across the components that
|
|
13
|
+
* take turns filling its slot — a waiting state, a pill, a provider's own
|
|
14
|
+
* button. Each new one picks the tween up where the last left off, so a phase
|
|
15
|
+
* change reads as one control changing colour rather than a swap.
|
|
16
|
+
*/
|
|
17
|
+
export declare function DepositActionPhaseProvider({ children, }: {
|
|
18
|
+
children: ReactNode;
|
|
19
|
+
}): import("react").JSX.Element;
|
|
20
|
+
export declare function useDepositActionPhase(): ActionPhase | null;
|
|
21
|
+
/**
|
|
22
|
+
* For a control that paints its own fill in the action's slot — a provider's
|
|
23
|
+
* hosted button, which no layer of ours draws. Pass `null` where it isn't
|
|
24
|
+
* standing in the slot.
|
|
25
|
+
*/
|
|
26
|
+
export declare function useDepositActionControlFill(fill: string | null): void;
|
|
27
|
+
export declare function DepositActionLayers({ stateKey, fillColor, radius, borderCurve, backdropColor, fillOpacity, style, contentStyle, contentOpacity, children, }: {
|
|
28
|
+
/** Changes when the content does, replaying its fade. */
|
|
29
|
+
stateKey: string;
|
|
30
|
+
/** What the fill wears in this phase; the tween runs to it. */
|
|
31
|
+
fillColor: string;
|
|
32
|
+
radius: number;
|
|
33
|
+
borderCurve?: ViewStyle['borderCurve'];
|
|
34
|
+
/** Opaque backing, for a fill a dimmed state makes see-through. */
|
|
35
|
+
backdropColor?: string;
|
|
36
|
+
fillOpacity?: number;
|
|
37
|
+
style?: StyleProp<ViewStyle>;
|
|
38
|
+
contentStyle?: StyleProp<ViewStyle>;
|
|
39
|
+
contentOpacity?: number;
|
|
40
|
+
children: ReactNode;
|
|
41
|
+
}): import("react").JSX.Element;
|
|
42
|
+
export {};
|
|
43
|
+
//# 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,EACL,KAAK,SAAS,EAMf,MAAM,OAAO,CAAA;AACd,OAAO,EAAE,KAAK,SAAS,EAAoB,KAAK,SAAS,EAAE,MAAM,cAAc,CAAA;AAiB/E,eAAO,MAAM,mBAAmB,kCAAuB,CAAA;AAEvD,UAAU,WAAW;IACnB,+DAA+D;IAC/D,SAAS,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB;2EACuE;IACvE,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;CAC3B;AAID;;;;;GAKG;AACH,wBAAgB,0BAA0B,CAAC,EACzC,QAAQ,GACT,EAAE;IACD,QAAQ,EAAE,SAAS,CAAA;CACpB,+BAOA;AAED,wBAAgB,qBAAqB,IAAI,WAAW,GAAG,IAAI,CAE1D;AAED;;;;GAIG;AACH,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,QAW9D;AAED,wBAAgB,mBAAmB,CAAC,EAClC,QAAQ,EACR,SAAS,EACT,MAAM,EACN,WAAW,EACX,aAAa,EACb,WAAe,EACf,KAAK,EACL,YAAY,EACZ,cAAkB,EAClB,QAAQ,GACT,EAAE;IACD,yDAAyD;IACzD,QAAQ,EAAE,MAAM,CAAA;IAChB,+DAA+D;IAC/D,SAAS,EAAE,MAAM,CAAA;IACjB,MAAM,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,SAAS,CAAC,aAAa,CAAC,CAAA;IACtC,mEAAmE;IACnE,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAA;IAC5B,YAAY,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAA;IACnC,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,QAAQ,EAAE,SAAS,CAAA;CACpB,+BAyFA"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Turn progress whose rate swings once per revolution, so the ring reads as
|
|
3
|
+
* alive rather than mechanical. Even across the loop seam and monotonic while
|
|
4
|
+
* the amplitude stays under 1, so the ring neither jumps nor runs backwards.
|
|
5
|
+
*/
|
|
6
|
+
export declare function modulatedTurn(t: number): number;
|
|
7
|
+
/**
|
|
8
|
+
* The ring the whole SDK waits behind. Presentational only — the caller owns
|
|
9
|
+
* the accessibility role, since a spinner means different things in a button
|
|
10
|
+
* slot and on a submission screen.
|
|
11
|
+
*
|
|
12
|
+
* `trackColor` replaces the export's own 30% of `color`, for a theme that
|
|
13
|
+
* colors the track itself (`content/button/*\/loadingAlpha`).
|
|
14
|
+
*/
|
|
15
|
+
export declare function LoadingSpinner({ size, color, trackColor, delay, }: {
|
|
16
|
+
size: number;
|
|
17
|
+
color: string;
|
|
18
|
+
/** Defaults to the export's 30% of `color`. */
|
|
19
|
+
trackColor?: string;
|
|
20
|
+
/** Milliseconds to hold the ring back; a wait that ends sooner draws nothing. */
|
|
21
|
+
delay?: number;
|
|
22
|
+
}): import("react").JSX.Element | null;
|
|
23
|
+
//# sourceMappingURL=LoadingSpinner.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LoadingSpinner.d.ts","sourceRoot":"","sources":["../../../src/components/LoadingSpinner.tsx"],"names":[],"mappings":"AAqBA;;;;GAIG;AACH,wBAAgB,aAAa,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAE/C;AAED;;;;;;;GAOG;AACH,wBAAgB,cAAc,CAAC,EAC7B,IAAI,EACJ,KAAK,EACL,UAAU,EACV,KAAS,GACV,EAAE;IACD,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;IACb,+CAA+C;IAC/C,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,iFAAiF;IACjF,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,sCAiDA"}
|
|
@@ -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;AAQlD,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,+BAqGjB"}
|
|
@@ -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,10 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
* The largest row scale that keeps the glyphs within the gutters. Glyphs are
|
|
3
|
-
* laid out at 96pt and the whole row is scaled as one transform: the shrink
|
|
4
|
-
* itself animates on the same clock as the glyph slides, which per-glyph font
|
|
5
|
-
* sizes can't do (font size is a layout property and snaps).
|
|
6
|
-
*/
|
|
7
|
-
export declare function fitScale(measured: number, available: number): number;
|
|
1
|
+
export { fitScale } from '../../utils/v2/amountRowGeometry';
|
|
8
2
|
export interface AmountDisplayProps {
|
|
9
3
|
/** The typed amount, or `''` for the placeholder. */
|
|
10
4
|
value: string;
|
|
@@ -12,7 +6,7 @@ export interface AmountDisplayProps {
|
|
|
12
6
|
prefix?: string;
|
|
13
7
|
/** Tints the amount, matching the message that replaces the balance line. */
|
|
14
8
|
hasError?: boolean;
|
|
15
|
-
/** Over-limit flash: yellow
|
|
9
|
+
/** Over-limit flash: yellow (stronger than {@link hasError}). */
|
|
16
10
|
hasWarning?: boolean;
|
|
17
11
|
accessibilityLabel: string;
|
|
18
12
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AmountDisplay.d.ts","sourceRoot":"","sources":["../../../../src/components/v2/AmountDisplay.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AmountDisplay.d.ts","sourceRoot":"","sources":["../../../../src/components/v2/AmountDisplay.tsx"],"names":[],"mappings":"AAmCA,OAAO,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAA;AAsE3D,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,iEAAiE;IACjE,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,+BAuDpB"}
|
|
@@ -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,iCAmErB,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;AAG3E,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,eAAe,+BA0BtD"}
|
|
@@ -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"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export interface FiatChoiceListProps {
|
|
2
|
+
value: string;
|
|
3
|
+
options: readonly {
|
|
4
|
+
id: string;
|
|
5
|
+
labelFallback: string;
|
|
6
|
+
}[];
|
|
7
|
+
editable: boolean;
|
|
8
|
+
invalid: boolean;
|
|
9
|
+
onChange: (value: string) => void;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* The questionnaire's answers, drawn on the page itself (2475:9039).
|
|
13
|
+
*
|
|
14
|
+
* The country chooser keeps its sheet, since a list of every country is too
|
|
15
|
+
* long to stand on a page. A questionnaire is nine answers, so the design
|
|
16
|
+
* spends the page on them rather than a row that opens a sheet over it.
|
|
17
|
+
*/
|
|
18
|
+
export declare function FiatChoiceList({ value, options, editable, invalid, onChange, }: FiatChoiceListProps): import("react").JSX.Element;
|
|
19
|
+
//# sourceMappingURL=FiatChoiceList.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FiatChoiceList.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatChoiceList.tsx"],"names":[],"mappings":"AAMA,MAAM,WAAW,mBAAmB;IAClC,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,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;CAClC;AAED;;;;;;GAMG;AACH,wBAAgB,cAAc,CAAC,EAC7B,KAAK,EACL,OAAO,EACP,QAAQ,EACR,OAAO,EACP,QAAQ,GACT,EAAE,mBAAmB,+BA2CrB"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { KnownContacts } from './knownContacts';
|
|
1
2
|
import type { SessionContactField } from './sessionContact';
|
|
2
3
|
export interface FiatContactScreenProps {
|
|
3
4
|
/**
|
|
@@ -5,6 +6,15 @@ export interface FiatContactScreenProps {
|
|
|
5
6
|
* than one when the step verifies a number *and* an address.
|
|
6
7
|
*/
|
|
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;
|
|
8
18
|
isSubmitting: boolean;
|
|
9
19
|
/** Where the buyer is, per the geo lookup: the code the field opens on. */
|
|
10
20
|
defaultCountry?: string;
|
|
@@ -19,5 +29,11 @@ export interface FiatContactScreenProps {
|
|
|
19
29
|
* client's own rather than one the server drives. Every field the step asks
|
|
20
30
|
* for is on it: the session cannot open on a subset.
|
|
21
31
|
*/
|
|
22
|
-
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 {};
|
|
23
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,+BA2OzB"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { NestedSheet } from '../hooks/useNestedSheet';
|
|
2
|
+
import { type PhoneCountry } from './phoneCountries';
|
|
3
|
+
export interface FiatCountrySheetProps {
|
|
4
|
+
sheet: NestedSheet<'countries'>;
|
|
5
|
+
/** The code the field carries; absent until a field has raised the list. */
|
|
6
|
+
selected?: PhoneCountry;
|
|
7
|
+
onSelect: (country: PhoneCountry) => void;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* The country list as a stacked modal layer over the step that raised it
|
|
11
|
+
* (2531:8471).
|
|
12
|
+
*
|
|
13
|
+
* A sheet rather than a panel in the keyboard's slot: every country on earth
|
|
14
|
+
* is further than a panel's worth of room can be read through, so the design
|
|
15
|
+
* gives the list the whole screen, its own search and its own close disc.
|
|
16
|
+
*/
|
|
17
|
+
export declare function FiatCountrySheet({ sheet, selected, onSelect, }: FiatCountrySheetProps): import("react").JSX.Element;
|
|
18
|
+
//# sourceMappingURL=FiatCountrySheet.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FiatCountrySheet.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatCountrySheet.tsx"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAU1D,OAAO,EAEL,KAAK,YAAY,EAElB,MAAM,kBAAkB,CAAA;AAEzB,MAAM,WAAW,qBAAqB;IACpC,KAAK,EAAE,WAAW,CAAC,WAAW,CAAC,CAAA;IAC/B,4EAA4E;IAC5E,QAAQ,CAAC,EAAE,YAAY,CAAA;IACvB,QAAQ,EAAE,CAAC,OAAO,EAAE,YAAY,KAAK,IAAI,CAAA;CAC1C;AAED;;;;;;;GAOG;AACH,wBAAgB,gBAAgB,CAAC,EAC/B,KAAK,EACL,QAAQ,EACR,QAAQ,GACT,EAAE,qBAAqB,+BAoCvB"}
|
|
@@ -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,EAOpB,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,sCAuhBtB"}
|
|
@@ -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,10 @@
|
|
|
1
|
+
import { type FiatFormFieldRowProps } from './FiatFormFieldRow';
|
|
2
|
+
import type { NativeDatePicker } from './nativeDatePicker';
|
|
3
|
+
export declare function FiatKycFieldControl({ ssnDigits, Picker, isDatePickerLoading, inlineChoice, ...props }: FiatFormFieldRowProps & {
|
|
4
|
+
ssnDigits?: 4 | 9;
|
|
5
|
+
Picker?: NativeDatePicker;
|
|
6
|
+
isDatePickerLoading?: boolean;
|
|
7
|
+
/** The page draws its answers itself, rather than behind a chooser. */
|
|
8
|
+
inlineChoice?: boolean;
|
|
9
|
+
}): import("react").JSX.Element | null;
|
|
10
|
+
//# sourceMappingURL=FiatKycFieldControl.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FiatKycFieldControl.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatKycFieldControl.tsx"],"names":[],"mappings":"AAKA,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,YAAoB,EACpB,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;IAC7B,uEAAuE;IACvE,YAAY,CAAC,EAAE,OAAO,CAAA;CACvB,sCAoFA"}
|
|
@@ -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"}
|
|
@@ -1,12 +1,17 @@
|
|
|
1
|
+
import { type KycStatusGlyph } from '../icons/KycStatusIcon';
|
|
1
2
|
export interface FiatKycNoticeProps {
|
|
2
3
|
title: string;
|
|
3
4
|
detail: string;
|
|
5
|
+
/**
|
|
6
|
+
* Set once identity has resolved. The banner then reports an outcome —
|
|
7
|
+
* glyph, title and detail on their own lines, and no tail, since it no
|
|
8
|
+
* longer points at a held deposit.
|
|
9
|
+
*/
|
|
10
|
+
status?: KycStatusGlyph;
|
|
4
11
|
}
|
|
5
12
|
/**
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* The design draws a person-with-badge glyph the icon set has no equivalent
|
|
9
|
-
* for, so the alert glyph carries it.
|
|
13
|
+
* Identity notice from KYC R2, 2087:8432; the resolved states are KYC
|
|
14
|
+
* Processing Completion, 2387:11504 and siblings.
|
|
10
15
|
*/
|
|
11
|
-
export declare function FiatKycNotice({ title, detail }: FiatKycNoticeProps): import("react").JSX.Element;
|
|
16
|
+
export declare function FiatKycNotice({ title, detail, status }: FiatKycNoticeProps): import("react").JSX.Element;
|
|
12
17
|
//# sourceMappingURL=FiatKycNotice.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FiatKycNotice.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatKycNotice.tsx"],"names":[],"mappings":"
|
|
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,+BAoE1E"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export interface FiatKycOptionRowProps {
|
|
2
|
+
title: string;
|
|
3
|
+
detail: string;
|
|
4
|
+
/** Words on the chip; the design says "Go" for every route so far. */
|
|
5
|
+
action: string;
|
|
6
|
+
/** Where the detail breaks; the frames set it per route. */
|
|
7
|
+
detailWidth?: number;
|
|
8
|
+
onPress: () => void;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* One route out of a held deposit, inside the identity options card (Figma
|
|
12
|
+
* KYC R2, 2387:13638).
|
|
13
|
+
*/
|
|
14
|
+
export declare function FiatKycOptionRow({ title, detail, action, detailWidth, onPress, }: FiatKycOptionRowProps): import("react").JSX.Element;
|
|
15
|
+
//# sourceMappingURL=FiatKycOptionRow.d.ts.map
|