@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.
Files changed (250) hide show
  1. package/CHANGELOG.md +166 -0
  2. package/dist/{chunk-PIAR365R.js → chunk-4ELC2W4D.js} +492 -58
  3. package/dist/chunk-4ELC2W4D.js.map +7 -0
  4. package/dist/{chunk-5YSMFPBG.js → chunk-XTK6HGJL.js} +2 -2
  5. package/dist/clients/lighter.js +1 -1
  6. package/dist/clients/nado.js +4 -4
  7. package/dist/clients/nado.js.map +2 -2
  8. package/dist/index.d.ts +1 -1
  9. package/dist/index.d.ts.map +1 -1
  10. package/dist/index.js +7731 -3084
  11. package/dist/index.js.map +4 -4
  12. package/dist/src/components/ActionLoading.d.ts +19 -0
  13. package/dist/src/components/ActionLoading.d.ts.map +1 -0
  14. package/dist/src/components/DepositActionMotion.d.ts +43 -0
  15. package/dist/src/components/DepositActionMotion.d.ts.map +1 -0
  16. package/dist/src/components/LoadingSpinner.d.ts +23 -0
  17. package/dist/src/components/LoadingSpinner.d.ts.map +1 -0
  18. package/dist/src/components/PillButton.d.ts +1 -1
  19. package/dist/src/components/PillButton.d.ts.map +1 -1
  20. package/dist/src/components/v2/AccountBalanceChip.d.ts.map +1 -1
  21. package/dist/src/components/v2/AmountDisplay.d.ts +2 -8
  22. package/dist/src/components/v2/AmountDisplay.d.ts.map +1 -1
  23. package/dist/src/components/v2/NumPad.d.ts +3 -4
  24. package/dist/src/components/v2/NumPad.d.ts.map +1 -1
  25. package/dist/src/components/v2/QuickAmountsRow.d.ts +3 -3
  26. package/dist/src/components/v2/QuickAmountsRow.d.ts.map +1 -1
  27. package/dist/src/fiat/FiatActionButton.d.ts +3 -0
  28. package/dist/src/fiat/FiatActionButton.d.ts.map +1 -0
  29. package/dist/src/fiat/FiatBirthDateField.d.ts +9 -0
  30. package/dist/src/fiat/FiatBirthDateField.d.ts.map +1 -0
  31. package/dist/src/fiat/FiatChoiceField.d.ts +16 -0
  32. package/dist/src/fiat/FiatChoiceField.d.ts.map +1 -0
  33. package/dist/src/fiat/FiatChoiceList.d.ts +19 -0
  34. package/dist/src/fiat/FiatChoiceList.d.ts.map +1 -0
  35. package/dist/src/fiat/FiatContactScreen.d.ts +17 -1
  36. package/dist/src/fiat/FiatContactScreen.d.ts.map +1 -1
  37. package/dist/src/fiat/FiatCountrySheet.d.ts +18 -0
  38. package/dist/src/fiat/FiatCountrySheet.d.ts.map +1 -0
  39. package/dist/src/fiat/FiatDocumentCaptureStep.d.ts +9 -0
  40. package/dist/src/fiat/FiatDocumentCaptureStep.d.ts.map +1 -0
  41. package/dist/src/fiat/FiatErrorNotice.d.ts +4 -0
  42. package/dist/src/fiat/FiatErrorNotice.d.ts.map +1 -0
  43. package/dist/src/fiat/FiatFormAdvance.d.ts +18 -6
  44. package/dist/src/fiat/FiatFormAdvance.d.ts.map +1 -1
  45. package/dist/src/fiat/FiatFormFieldRow.d.ts +10 -5
  46. package/dist/src/fiat/FiatFormFieldRow.d.ts.map +1 -1
  47. package/dist/src/fiat/FiatFormScreen.d.ts +12 -3
  48. package/dist/src/fiat/FiatFormScreen.d.ts.map +1 -1
  49. package/dist/src/fiat/FiatIdentityStep.d.ts +3 -0
  50. package/dist/src/fiat/FiatIdentityStep.d.ts.map +1 -0
  51. package/dist/src/fiat/FiatKycFieldControl.d.ts +10 -0
  52. package/dist/src/fiat/FiatKycFieldControl.d.ts.map +1 -0
  53. package/dist/src/fiat/FiatKycIntroScreen.d.ts +7 -10
  54. package/dist/src/fiat/FiatKycIntroScreen.d.ts.map +1 -1
  55. package/dist/src/fiat/FiatKycNotice.d.ts +10 -5
  56. package/dist/src/fiat/FiatKycNotice.d.ts.map +1 -1
  57. package/dist/src/fiat/FiatKycOptionRow.d.ts +15 -0
  58. package/dist/src/fiat/FiatKycOptionRow.d.ts.map +1 -0
  59. package/dist/src/fiat/FiatKycOptionsScreen.d.ts +21 -0
  60. package/dist/src/fiat/FiatKycOptionsScreen.d.ts.map +1 -0
  61. package/dist/src/fiat/FiatKycOutcomeScreen.d.ts +11 -0
  62. package/dist/src/fiat/FiatKycOutcomeScreen.d.ts.map +1 -0
  63. package/dist/src/fiat/FiatKycPosition.d.ts +5 -0
  64. package/dist/src/fiat/FiatKycPosition.d.ts.map +1 -0
  65. package/dist/src/fiat/FiatOtpScreen.d.ts +7 -1
  66. package/dist/src/fiat/FiatOtpScreen.d.ts.map +1 -1
  67. package/dist/src/fiat/FiatPendingOrderScreen.d.ts +7 -0
  68. package/dist/src/fiat/FiatPendingOrderScreen.d.ts.map +1 -0
  69. package/dist/src/fiat/FiatPhoneField.d.ts +3 -2
  70. package/dist/src/fiat/FiatPhoneField.d.ts.map +1 -1
  71. package/dist/src/fiat/FiatSsnField.d.ts +13 -0
  72. package/dist/src/fiat/FiatSsnField.d.ts.map +1 -0
  73. package/dist/src/fiat/FiatStatusScreen.d.ts +7 -2
  74. package/dist/src/fiat/FiatStatusScreen.d.ts.map +1 -1
  75. package/dist/src/fiat/FiatSubmissionIndicator.d.ts +2 -0
  76. package/dist/src/fiat/FiatSubmissionIndicator.d.ts.map +1 -0
  77. package/dist/src/fiat/FiatTermsNotice.d.ts +1 -7
  78. package/dist/src/fiat/FiatTermsNotice.d.ts.map +1 -1
  79. package/dist/src/fiat/KycGlassBackdrop.d.ts +3 -0
  80. package/dist/src/fiat/KycGlassBackdrop.d.ts.map +1 -0
  81. package/dist/src/fiat/SurfaceSlot.d.ts +17 -4
  82. package/dist/src/fiat/SurfaceSlot.d.ts.map +1 -1
  83. package/dist/src/fiat/countrySections.d.ts +25 -0
  84. package/dist/src/fiat/countrySections.d.ts.map +1 -0
  85. package/dist/src/fiat/formLayout.d.ts +5 -6
  86. package/dist/src/fiat/formLayout.d.ts.map +1 -1
  87. package/dist/src/fiat/formValidationError.d.ts +13 -0
  88. package/dist/src/fiat/formValidationError.d.ts.map +1 -0
  89. package/dist/src/fiat/isAdditionalKycForm.d.ts +8 -0
  90. package/dist/src/fiat/isAdditionalKycForm.d.ts.map +1 -0
  91. package/dist/src/fiat/kycFieldValidators.d.ts +11 -0
  92. package/dist/src/fiat/kycFieldValidators.d.ts.map +1 -0
  93. package/dist/src/fiat/kycFormAttempt.d.ts +34 -0
  94. package/dist/src/fiat/kycFormAttempt.d.ts.map +1 -0
  95. package/dist/src/fiat/kycFormPosition.d.ts +4 -0
  96. package/dist/src/fiat/kycFormPosition.d.ts.map +1 -0
  97. package/dist/src/fiat/kycFormState.d.ts +41 -0
  98. package/dist/src/fiat/kycFormState.d.ts.map +1 -0
  99. package/dist/src/fiat/kycFormTheme.d.ts +21 -13
  100. package/dist/src/fiat/kycFormTheme.d.ts.map +1 -1
  101. package/dist/src/fiat/kycSupport.d.ts +2 -0
  102. package/dist/src/fiat/kycSupport.d.ts.map +1 -0
  103. package/dist/src/fiat/kycUnavailableAlert.d.ts +8 -0
  104. package/dist/src/fiat/kycUnavailableAlert.d.ts.map +1 -0
  105. package/dist/src/fiat/legalLinks.d.ts +7 -2
  106. package/dist/src/fiat/legalLinks.d.ts.map +1 -1
  107. package/dist/src/fiat/nativeDatePicker.d.ts +1 -1
  108. package/dist/src/fiat/nativeDatePicker.d.ts.map +1 -1
  109. package/dist/src/fiat/otpScreenProps.d.ts.map +1 -1
  110. package/dist/src/fiat/phoneCountries.d.ts +9 -2
  111. package/dist/src/fiat/phoneCountries.d.ts.map +1 -1
  112. package/dist/src/fiat/phoneDraft.d.ts +17 -0
  113. package/dist/src/fiat/phoneDraft.d.ts.map +1 -0
  114. package/dist/src/fiat/providers/CoinbaseCheckoutSurface.d.ts +11 -8
  115. package/dist/src/fiat/providers/CoinbaseCheckoutSurface.d.ts.map +1 -1
  116. package/dist/src/fiat/providers/HostedControlFrame.d.ts +23 -0
  117. package/dist/src/fiat/providers/HostedControlFrame.d.ts.map +1 -0
  118. package/dist/src/fiat/providers/coinbaseApplePay.d.ts +4 -3
  119. package/dist/src/fiat/providers/coinbaseApplePay.d.ts.map +1 -1
  120. package/dist/src/fiat/providers/moonpay.d.ts +3 -0
  121. package/dist/src/fiat/providers/moonpay.d.ts.map +1 -0
  122. package/dist/src/fiat/providers/sumsubKyc.d.ts +1 -2
  123. package/dist/src/fiat/providers/sumsubKyc.d.ts.map +1 -1
  124. package/dist/src/fiat/providers/transakApplePay.d.ts.map +1 -1
  125. package/dist/src/fiat/quoteRefusal.d.ts +24 -0
  126. package/dist/src/fiat/quoteRefusal.d.ts.map +1 -0
  127. package/dist/src/fiat/renderCaptureSurface.d.ts.map +1 -1
  128. package/dist/src/fiat/sectionDetail.d.ts.map +1 -1
  129. package/dist/src/fiat/sessionContact.d.ts +18 -6
  130. package/dist/src/fiat/sessionContact.d.ts.map +1 -1
  131. package/dist/src/fiat/ssnLength.d.ts +4 -0
  132. package/dist/src/fiat/ssnLength.d.ts.map +1 -0
  133. package/dist/src/fiat/stepDetails.d.ts +13 -5
  134. package/dist/src/fiat/stepDetails.d.ts.map +1 -1
  135. package/dist/src/fiat/useContactEligibility.d.ts +4 -0
  136. package/dist/src/fiat/useContactEligibility.d.ts.map +1 -0
  137. package/dist/src/fiat/useCountrySheet.d.ts +21 -0
  138. package/dist/src/fiat/useCountrySheet.d.ts.map +1 -0
  139. package/dist/src/fiat/useDatePickerDock.d.ts +2 -0
  140. package/dist/src/fiat/useDatePickerDock.d.ts.map +1 -1
  141. package/dist/src/fiat/useFiatCheckoutPreparation.d.ts +10 -0
  142. package/dist/src/fiat/useFiatCheckoutPreparation.d.ts.map +1 -0
  143. package/dist/src/fiat/useFiatDirectDelivery.d.ts +32 -0
  144. package/dist/src/fiat/useFiatDirectDelivery.d.ts.map +1 -0
  145. package/dist/src/fiat/useOtpAutoSubmit.d.ts +8 -0
  146. package/dist/src/fiat/useOtpAutoSubmit.d.ts.map +1 -0
  147. package/dist/src/fiat/useOtpReceipt.d.ts +14 -0
  148. package/dist/src/fiat/useOtpReceipt.d.ts.map +1 -0
  149. package/dist/src/fiat/useReplayableFailure.d.ts +13 -0
  150. package/dist/src/fiat/useReplayableFailure.d.ts.map +1 -0
  151. package/dist/src/flow/DepositAmountStep.d.ts +10 -2
  152. package/dist/src/flow/DepositAmountStep.d.ts.map +1 -1
  153. package/dist/src/flow/DepositFlowContent.d.ts +4 -2
  154. package/dist/src/flow/DepositFlowContent.d.ts.map +1 -1
  155. package/dist/src/flow/FeeDetailsSheet.d.ts.map +1 -1
  156. package/dist/src/flow/FiatDepositAmountStep.d.ts +12 -2
  157. package/dist/src/flow/FiatDepositAmountStep.d.ts.map +1 -1
  158. package/dist/src/flow/FlowDismissLock.d.ts +13 -0
  159. package/dist/src/flow/FlowDismissLock.d.ts.map +1 -0
  160. package/dist/src/flow/FlowSheet.d.ts +15 -18
  161. package/dist/src/flow/FlowSheet.d.ts.map +1 -1
  162. package/dist/src/flow/FunkitFlowProvider.d.ts.map +1 -1
  163. package/dist/src/flow/WithdrawalFlowContent.d.ts +2 -1
  164. package/dist/src/flow/WithdrawalFlowContent.d.ts.map +1 -1
  165. package/dist/src/flow/depositFlowConfig.d.ts +53 -1
  166. package/dist/src/flow/depositFlowConfig.d.ts.map +1 -1
  167. package/dist/src/flow/useKeyboardHeight.d.ts +20 -0
  168. package/dist/src/flow/useKeyboardHeight.d.ts.map +1 -1
  169. package/dist/src/flow/validateClientMetadata.d.ts +8 -0
  170. package/dist/src/flow/validateClientMetadata.d.ts.map +1 -0
  171. package/dist/src/flow/validateInitialAmount.d.ts +9 -0
  172. package/dist/src/flow/validateInitialAmount.d.ts.map +1 -0
  173. package/dist/src/hooks/useDelayedSpinner.d.ts +10 -0
  174. package/dist/src/hooks/useDelayedSpinner.d.ts.map +1 -0
  175. package/dist/src/hooks/useGuardedAmountInput.d.ts +26 -6
  176. package/dist/src/hooks/useGuardedAmountInput.d.ts.map +1 -1
  177. package/dist/src/hooks/useMinimumAmountValidation.d.ts +17 -0
  178. package/dist/src/hooks/useMinimumAmountValidation.d.ts.map +1 -0
  179. package/dist/src/icons/ApplePayMark.d.ts +2 -0
  180. package/dist/src/icons/ApplePayMark.d.ts.map +1 -0
  181. package/dist/src/icons/DepositChevronIcon.d.ts +4 -0
  182. package/dist/src/icons/DepositChevronIcon.d.ts.map +1 -0
  183. package/dist/src/icons/DepositInfoCircleIcon.d.ts +4 -0
  184. package/dist/src/icons/DepositInfoCircleIcon.d.ts.map +1 -0
  185. package/dist/src/icons/FiatBackIcon.d.ts +4 -0
  186. package/dist/src/icons/FiatBackIcon.d.ts.map +1 -0
  187. package/dist/src/icons/KycDocumentIcon.d.ts +2 -0
  188. package/dist/src/icons/KycDocumentIcon.d.ts.map +1 -0
  189. package/dist/src/icons/KycExternalLinkIcon.d.ts +4 -0
  190. package/dist/src/icons/KycExternalLinkIcon.d.ts.map +1 -0
  191. package/dist/src/icons/KycIdentityIcon.d.ts +8 -0
  192. package/dist/src/icons/KycIdentityIcon.d.ts.map +1 -0
  193. package/dist/src/icons/KycLimitIcon.d.ts +4 -0
  194. package/dist/src/icons/KycLimitIcon.d.ts.map +1 -0
  195. package/dist/src/icons/KycOutcomeIcon.d.ts +5 -0
  196. package/dist/src/icons/KycOutcomeIcon.d.ts.map +1 -0
  197. package/dist/src/icons/KycSecurityIcon.d.ts +4 -0
  198. package/dist/src/icons/KycSecurityIcon.d.ts.map +1 -0
  199. package/dist/src/icons/KycStatusIcon.d.ts +10 -0
  200. package/dist/src/icons/KycStatusIcon.d.ts.map +1 -0
  201. package/dist/src/icons/KycVerifiedIcon.d.ts +2 -0
  202. package/dist/src/icons/KycVerifiedIcon.d.ts.map +1 -0
  203. package/dist/src/icons/kycArtwork.d.ts +3 -0
  204. package/dist/src/icons/kycArtwork.d.ts.map +1 -0
  205. package/dist/src/locales/i18n.d.ts.map +1 -1
  206. package/dist/src/providers/FunkitTrans.d.ts +15 -0
  207. package/dist/src/providers/FunkitTrans.d.ts.map +1 -0
  208. package/dist/src/screens/DepositAmountScreen.d.ts +18 -17
  209. package/dist/src/screens/DepositAmountScreen.d.ts.map +1 -1
  210. package/dist/src/screens/FeeDetailsScreen.d.ts +1 -3
  211. package/dist/src/screens/FeeDetailsScreen.d.ts.map +1 -1
  212. package/dist/src/screens/depositMetrics.d.ts +112 -0
  213. package/dist/src/screens/depositMetrics.d.ts.map +1 -0
  214. package/dist/src/swapped/SwappedScreen.d.ts +2 -1
  215. package/dist/src/swapped/SwappedScreen.d.ts.map +1 -1
  216. package/dist/src/swapped/SwappedScreenShell.d.ts +2 -1
  217. package/dist/src/swapped/SwappedScreenShell.d.ts.map +1 -1
  218. package/dist/src/theme/buttonRadius.d.ts +10 -0
  219. package/dist/src/theme/buttonRadius.d.ts.map +1 -0
  220. package/dist/src/theme/cornerCurve.d.ts +11 -0
  221. package/dist/src/theme/cornerCurve.d.ts.map +1 -0
  222. package/dist/src/theme/inputTextStyle.d.ts +13 -0
  223. package/dist/src/theme/inputTextStyle.d.ts.map +1 -0
  224. package/dist/src/theme/tokens.d.ts.map +1 -1
  225. package/dist/src/transfer/hooks/useDepositRecipient.d.ts +29 -0
  226. package/dist/src/transfer/hooks/useDepositRecipient.d.ts.map +1 -0
  227. package/dist/src/transfer/hooks/useFops.d.ts +8 -2
  228. package/dist/src/transfer/hooks/useFops.d.ts.map +1 -1
  229. package/dist/src/transfer/hooks/useTokenTransfer.d.ts +9 -1
  230. package/dist/src/transfer/hooks/useTokenTransfer.d.ts.map +1 -1
  231. package/dist/src/transfer/hooks/useTransferInit.d.ts +21 -2
  232. package/dist/src/transfer/hooks/useTransferInit.d.ts.map +1 -1
  233. package/dist/src/utils/colorMotion.d.ts +14 -0
  234. package/dist/src/utils/colorMotion.d.ts.map +1 -0
  235. package/dist/src/utils/formatAmount.d.ts +10 -1
  236. package/dist/src/utils/formatAmount.d.ts.map +1 -1
  237. package/dist/src/utils/motion.d.ts +63 -0
  238. package/dist/src/utils/motion.d.ts.map +1 -1
  239. package/dist/src/utils/v2/amountRowGeometry.d.ts +6 -0
  240. package/dist/src/utils/v2/amountRowGeometry.d.ts.map +1 -0
  241. package/dist/src/withdrawal/validation.d.ts.map +1 -1
  242. package/package.json +9 -4
  243. package/dist/chunk-PIAR365R.js.map +0 -7
  244. package/dist/src/fiat/FiatCountryDock.d.ts +0 -17
  245. package/dist/src/fiat/FiatCountryDock.d.ts.map +0 -1
  246. package/dist/src/fiat/formNotice.d.ts +0 -13
  247. package/dist/src/fiat/formNotice.d.ts.map +0 -1
  248. package/dist/src/fiat/useCountryDock.d.ts +0 -21
  249. package/dist/src/fiat/useCountryDock.d.ts.map +0 -1
  250. /package/dist/{chunk-5YSMFPBG.js.map → chunk-XTK6HGJL.js.map} +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FiatKycOptionRow.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatKycOptionRow.tsx"],"names":[],"mappings":"AAIA,MAAM,WAAW,qBAAqB;IACpC,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;IACd,sEAAsE;IACtE,MAAM,EAAE,MAAM,CAAA;IACd,4DAA4D;IAC5D,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,OAAO,EAAE,MAAM,IAAI,CAAA;CACpB;AAED;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,EAC/B,KAAK,EACL,MAAM,EACN,MAAM,EACN,WAAkC,EAClC,OAAO,GACR,EAAE,qBAAqB,+BA8CvB"}
@@ -0,0 +1,21 @@
1
+ import { type KycStatusGlyph } from '../icons/KycStatusIcon';
2
+ import { type FiatKycOptionRowProps } from './FiatKycOptionRow';
3
+ export interface FiatKycOptionsScreenProps {
4
+ /** The card's own glyph, which need not be the banner's. */
5
+ glyph: KycStatusGlyph;
6
+ title: string;
7
+ /** Heading over the routes, e.g. "Right now you can:". */
8
+ optionsLabel: string;
9
+ options: FiatKycOptionRowProps[];
10
+ onBack: () => void;
11
+ }
12
+ /**
13
+ * What the buyer can still do with a deposit identity is holding (Figma KYC
14
+ * R2, 2387:13322, 2387:13488 and 2387:13602).
15
+ *
16
+ * Distinct from {@link FiatKycOutcomeScreen}, which reports the verdict as
17
+ * soon as the form is submitted. This one is reached later, from the deposit
18
+ * the buyer came back to.
19
+ */
20
+ export declare function FiatKycOptionsScreen({ glyph, title, optionsLabel, options, onBack, }: FiatKycOptionsScreenProps): import("react").JSX.Element;
21
+ //# sourceMappingURL=FiatKycOptionsScreen.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FiatKycOptionsScreen.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatKycOptionsScreen.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,cAAc,EAAiB,MAAM,wBAAwB,CAAA;AAG3E,OAAO,EAEL,KAAK,qBAAqB,EAC3B,MAAM,oBAAoB,CAAA;AAE3B,MAAM,WAAW,yBAAyB;IACxC,4DAA4D;IAC5D,KAAK,EAAE,cAAc,CAAA;IACrB,KAAK,EAAE,MAAM,CAAA;IACb,0DAA0D;IAC1D,YAAY,EAAE,MAAM,CAAA;IACpB,OAAO,EAAE,qBAAqB,EAAE,CAAA;IAChC,MAAM,EAAE,MAAM,IAAI,CAAA;CACnB;AAED;;;;;;;GAOG;AACH,wBAAgB,oBAAoB,CAAC,EACnC,KAAK,EACL,KAAK,EACL,YAAY,EACZ,OAAO,EACP,MAAM,GACP,EAAE,yBAAyB,+BAwD3B"}
@@ -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,5 @@
1
+ import type { KycPosition } from './kycFormPosition';
2
+ export declare function FiatKycPosition({ position }: {
3
+ position: KycPosition;
4
+ }): import("react").JSX.Element;
5
+ //# sourceMappingURL=FiatKycPosition.d.ts.map
@@ -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,6 +2,7 @@
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
@@ -29,5 +30,10 @@ export interface FiatOtpScreenProps {
29
30
  * The per-digit boxes are a display: one field holds the code, so iOS fills it
30
31
  * from the message and a paste lands whole.
31
32
  */
32
- export declare function FiatOtpScreen({ length, destination, isSms, errorMessage, onResend, isSubmitting, onChangeCode, onSubmit, onClose, }: FiatOtpScreenProps): import("react").JSX.Element;
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 {};
33
39
  //# sourceMappingURL=FiatOtpScreen.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"FiatOtpScreen.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatOtpScreen.tsx"],"names":[],"mappings":"AAmBA,8EAA8E;AAC9E,eAAO,MAAM,eAAe,IAAI,CAAA;AAEhC,MAAM,WAAW,kBAAkB;IACjC,gEAAgE;IAChE,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,EAC5B,MAAwB,EACxB,WAAW,EACX,KAAK,EACL,YAAY,EACZ,QAAQ,EACR,YAAY,EACZ,YAAY,EACZ,QAAQ,EACR,OAAO,GACR,EAAE,kBAAkB,+BAiJpB"}
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,+BAmKrB"}
@@ -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"}
@@ -2,10 +2,11 @@ import type { TextInput as RNTextInput } from 'react-native';
2
2
  import { type PhoneCountry } from './phoneCountries';
3
3
  export interface FiatPhoneFieldProps {
4
4
  country: PhoneCountry;
5
- /** The digits under the code — the wire value less the code itself. */
5
+ /** Raw input under the country code, including any leading trunk digit. */
6
6
  national: string;
7
7
  /** Whether the country list is up, so the chip can say so. */
8
8
  isOpen: boolean;
9
+ editable?: boolean;
9
10
  autoFocus: boolean;
10
11
  /** `undefined` where the pad has no return key to give. */
11
12
  returnKeyType?: 'next' | 'done';
@@ -24,5 +25,5 @@ export interface FiatPhoneFieldProps {
24
25
  * remember — the old copy asked them to type it and a local number left
25
26
  * Continue dead with no explanation.
26
27
  */
27
- export declare function FiatPhoneField({ country, national, isOpen, autoFocus, returnKeyType, onChangeNational, onOpenCountries, onSubmitEditing, onFocus, onLayoutRef, }: FiatPhoneFieldProps): import("react").JSX.Element;
28
+ export declare function FiatPhoneField({ country, national, isOpen, autoFocus, editable, returnKeyType, onChangeNational, onOpenCountries, onSubmitEditing, onFocus, onLayoutRef, }: FiatPhoneFieldProps): import("react").JSX.Element;
28
29
  //# sourceMappingURL=FiatPhoneField.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"FiatPhoneField.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatPhoneField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,IAAI,WAAW,EAAE,MAAM,cAAc,CAAA;AAO5D,OAAO,EAAE,KAAK,YAAY,EAA4B,MAAM,kBAAkB,CAAA;AAE9E,MAAM,WAAW,mBAAmB;IAClC,OAAO,EAAE,YAAY,CAAA;IACrB,uEAAuE;IACvE,QAAQ,EAAE,MAAM,CAAA;IAChB,8DAA8D;IAC9D,MAAM,EAAE,OAAO,CAAA;IACf,SAAS,EAAE,OAAO,CAAA;IAClB,2DAA2D;IAC3D,aAAa,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAC/B,gBAAgB,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAA;IAC5C,eAAe,EAAE,MAAM,IAAI,CAAA;IAC3B,eAAe,EAAE,MAAM,IAAI,CAAA;IAC3B,0EAA0E;IAC1E,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB,WAAW,EAAE,CAAC,KAAK,EAAE,WAAW,GAAG,IAAI,KAAK,IAAI,CAAA;CACjD;AAED;;;;;;;GAOG;AACH,wBAAgB,cAAc,CAAC,EAC7B,OAAO,EACP,QAAQ,EACR,MAAM,EACN,SAAS,EACT,aAAa,EACb,gBAAgB,EAChB,eAAe,EACf,eAAe,EACf,OAAO,EACP,WAAW,GACZ,EAAE,mBAAmB,+BA8DrB"}
1
+ {"version":3,"file":"FiatPhoneField.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatPhoneField.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,IAAI,WAAW,EAAE,MAAM,cAAc,CAAA;AAQ5D,OAAO,EAAE,KAAK,YAAY,EAA4B,MAAM,kBAAkB,CAAA;AAE9E,MAAM,WAAW,mBAAmB;IAClC,OAAO,EAAE,YAAY,CAAA;IACrB,2EAA2E;IAC3E,QAAQ,EAAE,MAAM,CAAA;IAChB,8DAA8D;IAC9D,MAAM,EAAE,OAAO,CAAA;IACf,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,SAAS,EAAE,OAAO,CAAA;IAClB,2DAA2D;IAC3D,aAAa,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAC/B,gBAAgB,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAA;IAC5C,eAAe,EAAE,MAAM,IAAI,CAAA;IAC3B,eAAe,EAAE,MAAM,IAAI,CAAA;IAC3B,0EAA0E;IAC1E,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB,WAAW,EAAE,CAAC,KAAK,EAAE,WAAW,GAAG,IAAI,KAAK,IAAI,CAAA;CACjD;AAED;;;;;;;GAOG;AACH,wBAAgB,cAAc,CAAC,EAC7B,OAAO,EACP,QAAQ,EACR,MAAM,EACN,SAAS,EACT,QAAe,EACf,aAAa,EACb,gBAAgB,EAChB,eAAe,EACf,eAAe,EACf,OAAO,EACP,WAAW,GACZ,EAAE,mBAAmB,+BAqErB"}
@@ -0,0 +1,13 @@
1
+ import type { FieldInputRef } from './FiatFormFieldRow';
2
+ export declare function FiatSsnField({ value, length, label, editable, autoFocus, invalid, inputRef, onChange, onBlur, }: {
3
+ value: string;
4
+ length: 4 | 9;
5
+ label: string;
6
+ editable: boolean;
7
+ autoFocus: boolean;
8
+ invalid: boolean;
9
+ inputRef?: FieldInputRef;
10
+ onChange: (value: string) => void;
11
+ onBlur: () => void;
12
+ }): import("react").JSX.Element;
13
+ //# sourceMappingURL=FiatSsnField.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FiatSsnField.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatSsnField.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAA;AAoBvD,wBAAgB,YAAY,CAAC,EAC3B,KAAK,EACL,MAAM,EACN,KAAK,EACL,QAAQ,EACR,SAAS,EACT,OAAO,EACP,QAAQ,EACR,QAAQ,EACR,MAAM,GACP,EAAE;IACD,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,CAAC,GAAG,CAAC,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,OAAO,CAAA;IACjB,SAAS,EAAE,OAAO,CAAA;IAClB,OAAO,EAAE,OAAO,CAAA;IAChB,QAAQ,CAAC,EAAE,aAAa,CAAA;IACxB,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACjC,MAAM,EAAE,MAAM,IAAI,CAAA;CACnB,+BAiGA"}
@@ -1,4 +1,4 @@
1
- export type FiatStatusTone = 'waiting' | 'success' | 'failure';
1
+ export type FiatStatusTone = 'waiting' | 'success' | 'failure' | 'notice';
2
2
  export interface FiatStatusScreenProps {
3
3
  tone: FiatStatusTone;
4
4
  title: string;
@@ -8,6 +8,11 @@ export interface FiatStatusScreenProps {
8
8
  label: string;
9
9
  onPress: () => void;
10
10
  };
11
+ secondaryCta?: {
12
+ label: string;
13
+ onPress: () => void;
14
+ };
15
+ isSubmitting?: boolean;
11
16
  onClose?: () => void;
12
17
  }
13
18
  /**
@@ -15,5 +20,5 @@ export interface FiatStatusScreenProps {
15
20
  * screen because the design keeps the whole Apple Pay flow on one canvas —
16
21
  * these render where the entry was, not as navigations away from it.
17
22
  */
18
- export declare function FiatStatusScreen({ tone, title, detail, cta, onClose, }: FiatStatusScreenProps): import("react").JSX.Element;
23
+ export declare function FiatStatusScreen({ tone, title, detail, cta, secondaryCta, isSubmitting, onClose, }: FiatStatusScreenProps): import("react").JSX.Element;
19
24
  //# sourceMappingURL=FiatStatusScreen.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"FiatStatusScreen.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatStatusScreen.tsx"],"names":[],"mappings":"AAaA,MAAM,MAAM,cAAc,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,CAAA;AAE9D,MAAM,WAAW,qBAAqB;IACpC,IAAI,EAAE,cAAc,CAAA;IACpB,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,oEAAoE;IACpE,GAAG,CAAC,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,IAAI,CAAA;KAAE,CAAA;IAC5C,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;CACrB;AAED;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,EAC/B,IAAI,EACJ,KAAK,EACL,MAAM,EACN,GAAG,EACH,OAAO,GACR,EAAE,qBAAqB,+BAgDvB"}
1
+ {"version":3,"file":"FiatStatusScreen.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatStatusScreen.tsx"],"names":[],"mappings":"AAaA,MAAM,MAAM,cAAc,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,CAAA;AAEzE,MAAM,WAAW,qBAAqB;IACpC,IAAI,EAAE,cAAc,CAAA;IACpB,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,oEAAoE;IACpE,GAAG,CAAC,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,IAAI,CAAA;KAAE,CAAA;IAC5C,YAAY,CAAC,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,IAAI,CAAA;KAAE,CAAA;IACrD,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;CACrB;AAED;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,EAC/B,IAAI,EACJ,KAAK,EACL,MAAM,EACN,GAAG,EACH,YAAY,EACZ,YAAoB,EACpB,OAAO,GACR,EAAE,qBAAqB,+BA4DvB"}
@@ -0,0 +1,2 @@
1
+ export declare function FiatSubmissionIndicator(): import("react").JSX.Element;
2
+ //# sourceMappingURL=FiatSubmissionIndicator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FiatSubmissionIndicator.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatSubmissionIndicator.tsx"],"names":[],"mappings":"AAQA,wBAAgB,uBAAuB,gCAYtC"}
@@ -2,12 +2,6 @@ import type { TermsToAccept } from '@funkit/connect-core';
2
2
  export interface FiatTermsNoticeProps {
3
3
  terms: TermsToAccept;
4
4
  }
5
- /**
6
- * The terms the next tap accepts, said before it is taken.
7
- *
8
- * The document and its wording come from the step, never from a table here:
9
- * the routing engine picks a provider per round, and the revision the buyer
10
- * accepted is what a later dispute is settled against.
11
- */
5
+ /** The server requests consent; the footer explains what the next tap accepts. */
12
6
  export declare function FiatTermsNotice({ terms }: FiatTermsNoticeProps): import("react").JSX.Element;
13
7
  //# sourceMappingURL=FiatTermsNotice.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"FiatTermsNotice.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatTermsNotice.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAA;AAOzD,MAAM,WAAW,oBAAoB;IACnC,KAAK,EAAE,aAAa,CAAA;CACrB;AAED;;;;;;GAMG;AACH,wBAAgB,eAAe,CAAC,EAAE,KAAK,EAAE,EAAE,oBAAoB,+BAyB9D"}
1
+ {"version":3,"file":"FiatTermsNotice.d.ts","sourceRoot":"","sources":["../../../src/fiat/FiatTermsNotice.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAA;AASzD,MAAM,WAAW,oBAAoB;IACnC,KAAK,EAAE,aAAa,CAAA;CACrB;AAmCD,kFAAkF;AAClF,wBAAgB,eAAe,CAAC,EAAE,KAAK,EAAE,EAAE,oBAAoB,+BA+B9D"}
@@ -0,0 +1,3 @@
1
+ /** KYC uses a near-opaque material for identity details and receipts. */
2
+ export declare function KycGlassBackdrop(): import("react").JSX.Element;
3
+ //# sourceMappingURL=KycGlassBackdrop.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"KycGlassBackdrop.d.ts","sourceRoot":"","sources":["../../../src/fiat/KycGlassBackdrop.tsx"],"names":[],"mappings":"AAMA,yEAAyE;AACzE,wBAAgB,gBAAgB,gCAiB/B"}
@@ -1,8 +1,21 @@
1
1
  import { type ReactNode } from 'react';
2
- import { type PillButtonSize } from '../components/PillButton';
3
- export declare function SurfaceSlot({ renderSurface, label, size, }: {
4
- renderSurface: (onReady: () => void) => ReactNode;
2
+ import type { PillButtonSize } from '../components/PillButton';
3
+ export declare function SurfaceSlot({ renderSurface, surfaceKey, label, size, onReadyChange, }: {
4
+ /** Announced while the cover is up; the design draws no copy on it. */
5
5
  label: string;
6
6
  size: PillButtonSize;
7
- }): import("react").JSX.Element;
7
+ /**
8
+ * Whether the provider's button is the one on screen, for chrome outside
9
+ * the slot that has to land with it. A slot on its way out reports ready:
10
+ * what is gone holds nothing back.
11
+ */
12
+ onReadyChange?: (ready: boolean) => void;
13
+ } & ({
14
+ renderSurface: (onReady: () => void) => ReactNode;
15
+ /** Unique per quote or retry so readiness cannot carry into another attempt. */
16
+ surfaceKey: string;
17
+ } | {
18
+ renderSurface?: undefined;
19
+ surfaceKey?: undefined;
20
+ })): import("react").JSX.Element;
8
21
  //# sourceMappingURL=SurfaceSlot.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SurfaceSlot.d.ts","sourceRoot":"","sources":["../../../src/fiat/SurfaceSlot.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAA+B,MAAM,OAAO,CAAA;AAGnE,OAAO,EAAc,KAAK,cAAc,EAAE,MAAM,0BAA0B,CAAA;AAO1E,wBAAgB,WAAW,CAAC,EAC1B,aAAa,EACb,KAAK,EACL,IAAI,GACL,EAAE;IACD,aAAa,EAAE,CAAC,OAAO,EAAE,MAAM,IAAI,KAAK,SAAS,CAAA;IACjD,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,cAAc,CAAA;CACrB,+BAkCA"}
1
+ {"version":3,"file":"SurfaceSlot.d.ts","sourceRoot":"","sources":["../../../src/fiat/SurfaceSlot.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,SAAS,EAKf,MAAM,OAAO,CAAA;AAWd,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAA;AAU9D,wBAAgB,WAAW,CAAC,EAC1B,aAAa,EACb,UAAU,EACV,KAAK,EACL,IAAI,EACJ,aAAa,GACd,EAAE;IACD,uEAAuE;IACvE,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,cAAc,CAAA;IACpB;;;;OAIG;IACH,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAA;CACzC,GAAG,CACA;IACE,aAAa,EAAE,CAAC,OAAO,EAAE,MAAM,IAAI,KAAK,SAAS,CAAA;IACjD,gFAAgF;IAChF,UAAU,EAAE,MAAM,CAAA;CACnB,GACD;IAAE,aAAa,CAAC,EAAE,SAAS,CAAC;IAAC,UAAU,CAAC,EAAE,SAAS,CAAA;CAAE,CACxD,+BA8FA"}
@@ -0,0 +1,25 @@
1
+ import { type PhoneCountry } from './phoneCountries';
2
+ /** A country and the name this locale gives it — what a row draws. */
3
+ export interface NamedCountry {
4
+ country: PhoneCountry;
5
+ name: string;
6
+ }
7
+ /** One initial's worth of the list, under the heading that names it. */
8
+ export interface CountrySection {
9
+ /** The heading, and the label the index rail scrubs to. */
10
+ key: string;
11
+ data: NamedCountry[];
12
+ }
13
+ /** Heads everything no letter does — digits, punctuation — and reads last. */
14
+ export declare const OTHER_SECTION_KEY = "#";
15
+ /**
16
+ * The countries as the design groups them (2184:14277): named in the reading
17
+ * locale, ordered by that locale's collation, and cut into sections at the
18
+ * initial.
19
+ *
20
+ * Grouped on the *localised* name rather than the table's English, so a
21
+ * Japanese reader's 日本 is not filed under J, and sorted by a collator rather
22
+ * than by code unit, so Åland lands beside Albania instead of past Zimbabwe.
23
+ */
24
+ export declare function countrySections(countries: readonly PhoneCountry[], locale: string): CountrySection[];
25
+ //# sourceMappingURL=countrySections.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"countrySections.d.ts","sourceRoot":"","sources":["../../../src/fiat/countrySections.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,YAAY,EAAe,MAAM,kBAAkB,CAAA;AAEjE,sEAAsE;AACtE,MAAM,WAAW,YAAY;IAC3B,OAAO,EAAE,YAAY,CAAA;IACrB,IAAI,EAAE,MAAM,CAAA;CACb;AAED,wEAAwE;AACxE,MAAM,WAAW,cAAc;IAC7B,2DAA2D;IAC3D,GAAG,EAAE,MAAM,CAAA;IACX,IAAI,EAAE,YAAY,EAAE,CAAA;CACrB;AAED,8EAA8E;AAC9E,eAAO,MAAM,iBAAiB,MAAM,CAAA;AAEpC;;;;;;;;GAQG;AACH,wBAAgB,eAAe,CAC7B,SAAS,EAAE,SAAS,YAAY,EAAE,EAClC,MAAM,EAAE,MAAM,GACb,cAAc,EAAE,CA4BlB"}
@@ -7,7 +7,7 @@ import type { FormField } from '@funkit/connect-core';
7
7
  * is where a field the design never drew goes, so a form the server words its
8
8
  * own way still renders.
9
9
  */
10
- export type KycSection = 'NAME' | 'DOB' | 'ADDRESS' | 'SSN' | 'DETAILS';
10
+ export type KycSection = 'NAME' | 'DOB' | 'COUNTRY' | 'ADDRESS' | 'SSN' | 'OCCUPATION' | 'PURPOSE' | 'DETAILS';
11
11
  export interface KycSectionPage {
12
12
  section: KycSection;
13
13
  /** Drawn as one card with a rule between rows, rather than loose boxes. */
@@ -16,12 +16,11 @@ export interface KycSectionPage {
16
16
  rows: FormField[][];
17
17
  }
18
18
  /**
19
- * The page's field a date picker can answer, when that is the whole page.
20
- *
21
- * A picker takes the keyboard's slot, so it can only be offered on a page
22
- * with nothing else to type: a date beside two names would leave one of the
23
- * two controls covering the other. Anywhere else the date is typed.
19
+ * The server owns the field list, so an id this build does not know is not
20
+ * identity: only the frames that collect who someone is qualify.
24
21
  */
22
+ export declare function isIdentityField(field: FormField): boolean;
23
+ export declare function isInlineChoiceSection(section: KycSection): boolean;
25
24
  export declare function pickedDateField(page: KycSectionPage): FormField | undefined;
26
25
  /**
27
26
  * Whether the field is typed into, and so takes a turn in the return-key
@@ -1 +1 @@
1
- {"version":3,"file":"formLayout.d.ts","sourceRoot":"","sources":["../../../src/fiat/formLayout.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAc,MAAM,sBAAsB,CAAA;AAGjE;;;;;;;GAOG;AACH,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG,KAAK,GAAG,SAAS,GAAG,KAAK,GAAG,SAAS,CAAA;AAEvE,MAAM,WAAW,cAAc;IAC7B,OAAO,EAAE,UAAU,CAAA;IACnB,2EAA2E;IAC3E,OAAO,EAAE,OAAO,CAAA;IAChB,uEAAuE;IACvE,IAAI,EAAE,SAAS,EAAE,EAAE,CAAA;CACpB;AAuDD;;;;;;GAMG;AACH,wBAAgB,eAAe,CAAC,IAAI,EAAE,cAAc,GAAG,SAAS,GAAG,SAAS,CAI3E;AAED;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,SAAS,GAAG,OAAO,CAI1D;AAED;;;GAGG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,SAAS,GAAG,OAAO,CAEvD;AAED,+EAA+E;AAC/E,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,SAAS,GAAG,OAAO,CAE3D;AAED;;;;;;;GAOG;AACH,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,SAAS,SAAS,EAAE,GAAG,SAAS,EAAE,CAE3E;AAED;;;;;;GAMG;AACH,wBAAgB,YAAY,CAAC,MAAM,EAAE,SAAS,SAAS,EAAE,GAAG,cAAc,EAAE,CA4B3E"}
1
+ {"version":3,"file":"formLayout.d.ts","sourceRoot":"","sources":["../../../src/fiat/formLayout.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAc,MAAM,sBAAsB,CAAA;AAGjE;;;;;;;GAOG;AACH,MAAM,MAAM,UAAU,GAClB,MAAM,GACN,KAAK,GACL,SAAS,GACT,SAAS,GACT,KAAK,GACL,YAAY,GACZ,SAAS,GACT,SAAS,CAAA;AAEb,MAAM,WAAW,cAAc;IAC7B,OAAO,EAAE,UAAU,CAAA;IACnB,2EAA2E;IAC3E,OAAO,EAAE,OAAO,CAAA;IAChB,uEAAuE;IACvE,IAAI,EAAE,SAAS,EAAE,EAAE,CAAA;CACpB;AA+ED;;;GAGG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,SAAS,GAAG,OAAO,CAGzD;AAeD,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,UAAU,GAAG,OAAO,CAElE;AAED,wBAAgB,eAAe,CAAC,IAAI,EAAE,cAAc,GAAG,SAAS,GAAG,SAAS,CAI3E;AAED;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,SAAS,GAAG,OAAO,CAE1D;AAED;;;GAGG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,SAAS,GAAG,OAAO,CAEvD;AAED,+EAA+E;AAC/E,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,SAAS,GAAG,OAAO,CAE3D;AAED;;;;;;;GAOG;AACH,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,SAAS,SAAS,EAAE,GAAG,SAAS,EAAE,CAE3E;AAED;;;;;;GAMG;AACH,wBAAgB,YAAY,CAAC,MAAM,EAAE,SAAS,SAAS,EAAE,GAAG,cAAc,EAAE,CAuC3E"}
@@ -0,0 +1,13 @@
1
+ import type { TFunction } from 'i18next';
2
+ import type { KycFieldIssue } from './kycFormState';
3
+ /**
4
+ * What the validation error under the fields says.
5
+ *
6
+ * A refused field is drawn in the design's yellow and worded nowhere else, so
7
+ * the page's own refusals have to reach the message — a colour arriving with
8
+ * no reason leaves the user re-reading a page that looks correct.
9
+ *
10
+ * The round's own error outranks them: the server saw the whole form.
11
+ */
12
+ export declare function formValidationError(errorMessage: string | undefined, issues: readonly KycFieldIssue[], t: TFunction): string | undefined;
13
+ //# sourceMappingURL=formValidationError.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"formValidationError.d.ts","sourceRoot":"","sources":["../../../src/fiat/formValidationError.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AAExC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAA;AAEnD;;;;;;;;GAQG;AACH,wBAAgB,mBAAmB,CACjC,YAAY,EAAE,MAAM,GAAG,SAAS,EAChC,MAAM,EAAE,SAAS,aAAa,EAAE,EAChC,CAAC,EAAE,SAAS,GACX,MAAM,GAAG,SAAS,CAMpB"}
@@ -0,0 +1,8 @@
1
+ import type { FormDescriptor } from '@funkit/connect-core';
2
+ /**
3
+ * The contract describes requested fields, rather than exposing an L1/L2 flag.
4
+ * A later round may re-ask for a birth date beside its declarations, so that
5
+ * one identity field alone does not make the round an identity round.
6
+ */
7
+ export declare function isAdditionalKycForm(form: FormDescriptor): boolean;
8
+ //# sourceMappingURL=isAdditionalKycForm.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"isAdditionalKycForm.d.ts","sourceRoot":"","sources":["../../../src/fiat/isAdditionalKycForm.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAa,MAAM,sBAAsB,CAAA;AAIrE;;;;GAIG;AACH,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,cAAc,GAAG,OAAO,CAMjE"}
@@ -0,0 +1,11 @@
1
+ import type { FormField } from '@funkit/connect-core';
2
+ import { type KycFieldIssue } from './kycFormState';
3
+ export declare function kycFieldValidators(field: FormField, ssnDigits?: 4 | 9): {
4
+ onMount: (input: {
5
+ value: string | undefined;
6
+ }) => KycFieldIssue | undefined;
7
+ onChange: (input: {
8
+ value: string | undefined;
9
+ }) => KycFieldIssue | undefined;
10
+ } | undefined;
11
+ //# sourceMappingURL=kycFieldValidators.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"kycFieldValidators.d.ts","sourceRoot":"","sources":["../../../src/fiat/kycFieldValidators.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAA;AACrD,OAAO,EAAE,KAAK,aAAa,EAA8B,MAAM,gBAAgB,CAAA;AAE/E,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,SAAS,EAAE,SAAS,CAAC,EAAE,CAAC,GAAG,CAAC;qBAC9C;QACpB,KAAK,EAAE,MAAM,GAAG,SAAS,CAAA;KAC1B,KAAK,aAAa,GAAG,SAAS;sBAFT;QACpB,KAAK,EAAE,MAAM,GAAG,SAAS,CAAA;KAC1B,KAAK,aAAa,GAAG,SAAS;cAUhC"}
@@ -0,0 +1,34 @@
1
+ import type { FormField } from '@funkit/connect-core';
2
+ import type { KycSectionPage } from './formLayout';
3
+ /** What a tried page comes to, once the form has re-validated. */
4
+ export type AttemptOutcome =
5
+ /** This page holds a refused field: it is shown, not left. */
6
+ {
7
+ kind: 'REFUSED';
8
+ }
9
+ /** Clean, with pages still ahead. */
10
+ | {
11
+ kind: 'TURN';
12
+ to: number;
13
+ }
14
+ /** The last page is clean, but an earlier one is not: back to it. */
15
+ | {
16
+ kind: 'JUMP';
17
+ to: number;
18
+ } | {
19
+ kind: 'SUBMIT';
20
+ };
21
+ /**
22
+ * Decides what a try does: refuse the page, turn it, or send the form.
23
+ *
24
+ * Only the last page submits, and only once every page is clean. A refusal
25
+ * can hide on a page already turned — a second round arriving mid-form leaves
26
+ * earlier pages blank — so rather than a Confirm that does nothing, the form
27
+ * goes back to the first page still refused.
28
+ */
29
+ export declare function settleAttempt({ pages, step, isRefused, }: {
30
+ pages: readonly KycSectionPage[];
31
+ step: number;
32
+ isRefused: (field: FormField) => boolean;
33
+ }): AttemptOutcome;
34
+ //# sourceMappingURL=kycFormAttempt.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"kycFormAttempt.d.ts","sourceRoot":"","sources":["../../../src/fiat/kycFormAttempt.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAA;AAErD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAElD,kEAAkE;AAClE,MAAM,MAAM,cAAc;AACxB,8DAA8D;AAC5D;IAAE,IAAI,EAAE,SAAS,CAAA;CAAE;AACrB,qCAAqC;GACnC;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,EAAE,EAAE,MAAM,CAAA;CAAE;AAC9B,qEAAqE;GACnE;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,EAAE,EAAE,MAAM,CAAA;CAAE,GAC5B;IAAE,IAAI,EAAE,QAAQ,CAAA;CAAE,CAAA;AAEtB;;;;;;;GAOG;AACH,wBAAgB,aAAa,CAAC,EAC5B,KAAK,EACL,IAAI,EACJ,SAAS,GACV,EAAE;IACD,KAAK,EAAE,SAAS,cAAc,EAAE,CAAA;IAChC,IAAI,EAAE,MAAM,CAAA;IACZ,SAAS,EAAE,CAAC,KAAK,EAAE,SAAS,KAAK,OAAO,CAAA;CACzC,GAAG,cAAc,CAWjB"}
@@ -0,0 +1,4 @@
1
+ import type { KycSection } from './formLayout';
2
+ export type KycPosition = 1 | 2 | 3;
3
+ export declare function kycFormPosition(section: KycSection): KycPosition;
4
+ //# sourceMappingURL=kycFormPosition.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"kycFormPosition.d.ts","sourceRoot":"","sources":["../../../src/fiat/kycFormPosition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAE9C,MAAM,MAAM,WAAW,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAA;AAcnC,wBAAgB,eAAe,CAAC,OAAO,EAAE,UAAU,GAAG,WAAW,CAEhE"}
@@ -0,0 +1,41 @@
1
+ import type { FormDescriptor, FormField, FormFieldIssue, FormValues, JsonValue } from '@funkit/connect-core';
2
+ export type KycFieldIssue = FormFieldIssue | 'DATE_UNDERAGE';
3
+ /**
4
+ * The first refusal a field carries, or nothing.
5
+ *
6
+ * A field can hold the same issue under two validation causes at once (mount
7
+ * and change both mark a blank required field); the row draws one colour, so
8
+ * one is all it needs.
9
+ */
10
+ export declare function firstIssue(errors: readonly unknown[] | undefined): KycFieldIssue | undefined;
11
+ /** Every control on this screen answers with text; anything else reads blank. */
12
+ export declare const stringValue: (value: JsonValue | undefined) => string;
13
+ /**
14
+ * What the screen's form holds: one string per field.
15
+ *
16
+ * Flat on purpose. `JsonValue` is recursive, and TanStack derives its field
17
+ * paths from the data type, so the recursion has no floor for the compiler to
18
+ * stand on. Nothing here answers with anything but text anyway.
19
+ */
20
+ export type KycFormValues = Record<string, string>;
21
+ /** The flow's values as the form takes them; anything not text reads blank. */
22
+ export declare function typedValues(values: FormValues): KycFormValues;
23
+ /**
24
+ * The COUNTRY fields the buyer's region can answer for them: the blank ones.
25
+ * A value they typed is theirs, whatever the lookup says.
26
+ */
27
+ export declare function blankCountryFields(fields: readonly FormField[], values: FormValues): FormField[];
28
+ /** Every rail this form feeds requires an adult (design 2114:8361). */
29
+ export declare const MINIMUM_AGE_YEARS = 18;
30
+ /**
31
+ * Whether a date of birth makes the buyer too young to continue.
32
+ *
33
+ * Only a well-formed past date is judged: a malformed one is connect-core's
34
+ * `DATE_FORMAT`, and a future one its `DATE_FUTURE`, both worded more
35
+ * precisely than "too young". Compared as UTC days so a clock behind UTC
36
+ * cannot fail someone on their birthday.
37
+ */
38
+ export declare function underageIssue(value: string, today?: Date): 'DATE_UNDERAGE' | undefined;
39
+ /** Keep every rule alive when its field's page is unmounted. */
40
+ export declare function validateKycForm(form: FormDescriptor, values: FormValues): Record<string, KycFieldIssue>;
41
+ //# sourceMappingURL=kycFormState.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"kycFormState.d.ts","sourceRoot":"","sources":["../../../src/fiat/kycFormState.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,cAAc,EACd,SAAS,EACT,cAAc,EACd,UAAU,EACV,SAAS,EACV,MAAM,sBAAsB,CAAA;AAE7B,MAAM,MAAM,aAAa,GAAG,cAAc,GAAG,eAAe,CAAA;AAe5D;;;;;;GAMG;AACH,wBAAgB,UAAU,CACxB,MAAM,EAAE,SAAS,OAAO,EAAE,GAAG,SAAS,GACrC,aAAa,GAAG,SAAS,CAE3B;AAED,iFAAiF;AACjF,eAAO,MAAM,WAAW,GAAI,OAAO,SAAS,GAAG,SAAS,KAAG,MACnB,CAAA;AAExC;;;;;;GAMG;AACH,MAAM,MAAM,aAAa,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;AAElD,+EAA+E;AAC/E,wBAAgB,WAAW,CAAC,MAAM,EAAE,UAAU,GAAG,aAAa,CAO7D;AAED;;;GAGG;AACH,wBAAgB,kBAAkB,CAChC,MAAM,EAAE,SAAS,SAAS,EAAE,EAC5B,MAAM,EAAE,UAAU,GACjB,SAAS,EAAE,CAIb;AAED,uEAAuE;AACvE,eAAO,MAAM,iBAAiB,KAAK,CAAA;AAInC;;;;;;;GAOG;AACH,wBAAgB,aAAa,CAC3B,KAAK,EAAE,MAAM,EACb,KAAK,GAAE,IAAiB,GACvB,eAAe,GAAG,SAAS,CAuB7B;AAWD,gEAAgE;AAChE,wBAAgB,eAAe,CAC7B,IAAI,EAAE,cAAc,EACpB,MAAM,EAAE,UAAU,GACjB,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,CAQ/B"}
@@ -18,6 +18,22 @@ export declare const KYC_FORM_METRICS: {
18
18
  /** Card bottom (364) to the notice (411). */
19
19
  readonly noticeTop: 47;
20
20
  readonly noticeTracking: -0.14;
21
+ readonly choiceListRadius: 26;
22
+ readonly choiceRowHeight: 52;
23
+ readonly choiceRowPaddingHorizontal: 20;
24
+ /** Makes 52 on one line and the design's 64 on two — see `FiatChoiceList`. */
25
+ readonly choiceRowPaddingVertical: 15;
26
+ readonly choiceLabelFontSize: 15;
27
+ readonly choiceLabelLineHeight: 16.8;
28
+ readonly choiceCheckSize: 21;
29
+ /** The title's own line, which these pages carry instead of two. */
30
+ readonly questionnaireTitleFontSize: 24;
31
+ readonly questionnaireTitleLineHeight: 26.88;
32
+ readonly questionnaireTitleTracking: -0.48;
33
+ /** Below the back disc (108) to the title (162), as every `headingTop` is. */
34
+ readonly questionnaireHeadingTop: 54;
35
+ /** Title to card (18), less the column's own gap. */
36
+ readonly questionnaireHeadingBottom: 10;
21
37
  /** Between two fields sharing a row (first name + M.I., day/month/year). */
22
38
  readonly fieldGap: 9;
23
39
  /** The middle-initial field is fixed while its neighbour grows. */
@@ -37,11 +53,8 @@ export declare const KYC_FORM_METRICS: {
37
53
  /** The paragraph: larger than body, and the only place this size is used. */
38
54
  readonly detailFontSize: 21;
39
55
  readonly detailLineHeight: 24;
40
- /**
41
- * Between the advance control and the keyboard it sits above — measured on
42
- * 1508:2616 (455..511 over a keyboard at 545) and 1631:7256 alike.
43
- */
44
- readonly advanceGap: 34;
56
+ /** KYC R2 actions clear the keyboard by 24 points (1951:8864). */
57
+ readonly advanceGap: 24;
45
58
  /**
46
59
  * The date picker's slot, taking the keyboard's place (1844:17543). Inset
47
60
  * because the design floats the calendar off the screen's edges.
@@ -51,14 +64,6 @@ export declare const KYC_FORM_METRICS: {
51
64
  readonly datePickerInsetY: 12;
52
65
  /** Tighter than over a keyboard: 1844:17471 puts the advance 24 above it. */
53
66
  readonly datePickerGap: 24;
54
- /**
55
- * The country list takes the same slot the date picker does — the room the
56
- * keyboard gives up. It draws no keyboard of its own until the filter is
57
- * touched, and then it rides above one.
58
- */
59
- readonly countryDockHeight: 371;
60
- /** Between the filter and the list under it. */
61
- readonly countryDockGap: 12;
62
67
  /** Disc bottom (108) to the headline's line box (181). */
63
68
  readonly introHeadingTop: 73;
64
69
  /** 38/38 with the box 286 wide, which is what wraps it onto two lines. */
@@ -86,6 +91,9 @@ export declare const KYC_FORM_METRICS: {
86
91
  readonly consentGap: 16;
87
92
  /** They are inset past the action, as the heading is past the fields. */
88
93
  readonly consentInset: 16;
94
+ readonly otpHeadingFontSize: 24;
95
+ readonly otpHeadingLineHeight: 27;
96
+ readonly otpHeadingTracking: -0.24;
89
97
  /** A code box is taller than a form field, and its digit larger. */
90
98
  readonly codeBoxHeight: 64;
91
99
  readonly codeBoxGap: 8;
@@ -1 +1 @@
1
- {"version":3,"file":"kycFormTheme.d.ts","sourceRoot":"","sources":["../../../src/fiat/kycFormTheme.ts"],"names":[],"mappings":"AAMA;;;GAGG;AACH,eAAO,MAAM,gBAAgB;IAC3B,oDAAoD;;;;IAIpD,0EAA0E;;IAE1E,kEAAkE;;IAElE,uCAAuC;;;;IAQvC,6CAA6C;;;IAG7C,4EAA4E;;IAE5E,mEAAmE;;;;IAInE,mDAAmD;;IAEnD,iEAAiE;;IAEjE,2BAA2B;;IAE3B,sDAAsD;;IAEtD,mDAAmD;;IAEnD,6EAA6E;;;IAG7E;;;OAGG;;IAEH;;;OAGG;;;;IAIH,6EAA6E;;IAE7E;;;;OAIG;;IAEH,gDAAgD;;IAOhD,0DAA0D;;IAE1D,0EAA0E;;;;IAI1E,oDAAoD;;IAEpD,2DAA2D;;;IAG3D;;;OAGG;;IAEH,+DAA+D;;;IAG/D,sEAAsE;;IAEtE,oEAAoE;;IAEpE,yDAAyD;;IAEzD,yEAAyE;;IAEzE,oEAAoE;;;;CAI5D,CAAA"}
1
+ {"version":3,"file":"kycFormTheme.d.ts","sourceRoot":"","sources":["../../../src/fiat/kycFormTheme.ts"],"names":[],"mappings":"AAMA;;;GAGG;AACH,eAAO,MAAM,gBAAgB;IAC3B,oDAAoD;;;;IAIpD,0EAA0E;;IAE1E,kEAAkE;;IAElE,uCAAuC;;;;IAQvC,6CAA6C;;;;;;IAW7C,8EAA8E;;;;;IAK9E,oEAAoE;;;;IAIpE,8EAA8E;;IAE9E,qDAAqD;;IAErD,4EAA4E;;IAE5E,mEAAmE;;;;IAInE,mDAAmD;;IAEnD,iEAAiE;;IAEjE,2BAA2B;;IAE3B,sDAAsD;;IAEtD,mDAAmD;;IAEnD,6EAA6E;;;IAG7E,kEAAkE;;IAElE;;;OAGG;;;;IAIH,6EAA6E;;IAO7E,0DAA0D;;IAE1D,0EAA0E;;;;IAI1E,oDAAoD;;IAEpD,2DAA2D;;;IAG3D;;;OAGG;;IAEH,+DAA+D;;;IAG/D,sEAAsE;;IAEtE,oEAAoE;;IAEpE,yDAAyD;;IAEzD,yEAAyE;;;;;IASzE,oEAAoE;;;;CAI5D,CAAA"}
@@ -0,0 +1,2 @@
1
+ export declare function openKycSupport(): void;
2
+ //# sourceMappingURL=kycSupport.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"kycSupport.d.ts","sourceRoot":"","sources":["../../../src/fiat/kycSupport.ts"],"names":[],"mappings":"AAMA,wBAAgB,cAAc,SAI7B"}
@@ -0,0 +1,8 @@
1
+ import type { TFunction } from 'i18next';
2
+ export declare function showKycUnavailableAlert(t: TFunction, reason: 'network' | 'provider', onDismiss?: () => void): void;
3
+ /**
4
+ * A surface that never loaded is a connection problem; only a provider that
5
+ * answered and gave up should send the user to support.
6
+ */
7
+ export declare function surfaceFailureReason(code: string): 'network' | 'provider';
8
+ //# sourceMappingURL=kycUnavailableAlert.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"kycUnavailableAlert.d.ts","sourceRoot":"","sources":["../../../src/fiat/kycUnavailableAlert.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AAIxC,wBAAgB,uBAAuB,CACrC,CAAC,EAAE,SAAS,EACZ,MAAM,EAAE,SAAS,GAAG,UAAU,EAC9B,SAAS,CAAC,EAAE,MAAM,IAAI,QA2BvB;AAED;;;GAGG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,MAAM,GAAG,SAAS,GAAG,UAAU,CAKzE"}
@@ -1,4 +1,4 @@
1
- import type { FiatProvider } from '@funkit/connect-core';
1
+ import type { FiatProvider, KYCProvider } from '@funkit/connect-core';
2
2
  /**
3
3
  * The documents the identity step points at.
4
4
  *
@@ -11,7 +11,7 @@ export declare const PRIVACY_POLICY_URL = "https://fun.xyz/privacy";
11
11
  * Bumped whenever the consent copy changes, and logged with every consent, so
12
12
  * a record can be matched to the words the buyer actually read.
13
13
  */
14
- export declare const CONSENT_COPY_VERSION = "2026-09-08";
14
+ export declare const CONSENT_COPY_VERSION = "2026-09-11";
15
15
  /** The provider's terms, or `undefined` when none is on record for it. */
16
16
  export declare function providerTermsUrl(provider: FiatProvider | undefined): string | undefined;
17
17
  /**
@@ -19,4 +19,9 @@ export declare function providerTermsUrl(provider: FiatProvider | undefined): st
19
19
  * screen drawn with no round to name one says instead.
20
20
  */
21
21
  export declare function providerDisplayName(provider: FiatProvider | undefined, fallback: string): string;
22
+ /**
23
+ * The identity vendor's name as the copy should print it. Separate from the
24
+ * settling provider: the two enums name different things and never mix.
25
+ */
26
+ export declare function kycProviderDisplayName(provider: KYCProvider | undefined, fallback: string): string;
22
27
  //# sourceMappingURL=legalLinks.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"legalLinks.d.ts","sourceRoot":"","sources":["../../../src/fiat/legalLinks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAExD;;;;;GAKG;AAEH,uEAAuE;AACvE,eAAO,MAAM,kBAAkB,4BAA4B,CAAA;AAE3D;;;GAGG;AACH,eAAO,MAAM,oBAAoB,eAAe,CAAA;AAoBhD,0EAA0E;AAC1E,wBAAgB,gBAAgB,CAC9B,QAAQ,EAAE,YAAY,GAAG,SAAS,GACjC,MAAM,GAAG,SAAS,CAEpB;AAED;;;GAGG;AACH,wBAAgB,mBAAmB,CACjC,QAAQ,EAAE,YAAY,GAAG,SAAS,EAClC,QAAQ,EAAE,MAAM,GACf,MAAM,CAQR"}
1
+ {"version":3,"file":"legalLinks.d.ts","sourceRoot":"","sources":["../../../src/fiat/legalLinks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAA;AAErE;;;;;GAKG;AAEH,uEAAuE;AACvE,eAAO,MAAM,kBAAkB,4BAA4B,CAAA;AAE3D;;;GAGG;AACH,eAAO,MAAM,oBAAoB,eAAe,CAAA;AA6BhD,0EAA0E;AAC1E,wBAAgB,gBAAgB,CAC9B,QAAQ,EAAE,YAAY,GAAG,SAAS,GACjC,MAAM,GAAG,SAAS,CAEpB;AAED;;;GAGG;AACH,wBAAgB,mBAAmB,CACjC,QAAQ,EAAE,YAAY,GAAG,SAAS,EAClC,QAAQ,EAAE,MAAM,GACf,MAAM,CAKR;AAED;;;GAGG;AACH,wBAAgB,sBAAsB,CACpC,QAAQ,EAAE,WAAW,GAAG,SAAS,EACjC,QAAQ,EAAE,MAAM,GACf,MAAM,CAKR"}
@@ -3,7 +3,7 @@ import type { ComponentType } from 'react';
3
3
  export interface NativeDatePickerProps {
4
4
  value: Date;
5
5
  mode: 'date';
6
- display: 'inline' | 'calendar';
6
+ display: 'inline' | 'calendar' | 'spinner';
7
7
  minimumDate: Date;
8
8
  maximumDate: Date;
9
9
  themeVariant?: 'light' | 'dark';
@@ -1 +1 @@
1
- {"version":3,"file":"nativeDatePicker.d.ts","sourceRoot":"","sources":["../../../src/fiat/nativeDatePicker.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAM1C,4EAA4E;AAC5E,MAAM,WAAW,qBAAqB;IACpC,KAAK,EAAE,IAAI,CAAA;IACX,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,QAAQ,GAAG,UAAU,CAAA;IAC9B,WAAW,EAAE,IAAI,CAAA;IACjB,WAAW,EAAE,IAAI,CAAA;IACjB,YAAY,CAAC,EAAE,OAAO,GAAG,MAAM,CAAA;IAC/B,QAAQ,EAAE,CAAC,KAAK,EAAE;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,EAAE,IAAI,CAAC,EAAE,IAAI,KAAK,IAAI,CAAA;CACzD;AAED,MAAM,MAAM,gBAAgB,GAAG,aAAa,CAAC,qBAAqB,CAAC,CAAA;AAEnE;;;GAGG;AACH,MAAM,MAAM,qBAAqB,GAAG,gBAAgB,GAAG,IAAI,GAAG,SAAS,CAAA;AAQvE;;;;;;;;;;;;GAYG;AACH,wBAAgB,mBAAmB,IAAI,qBAAqB,CA6B3D;AASD,6EAA6E;AAC7E,eAAO,MAAM,mBAAmB,QAAgD,CAAA;AAEhF;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,SAAwB,CAAA;AAE1D,wBAAsB,oBAAoB,IAAI,OAAO,CAAC,gBAAgB,GAAG,IAAI,CAAC,CAc7E"}
1
+ {"version":3,"file":"nativeDatePicker.d.ts","sourceRoot":"","sources":["../../../src/fiat/nativeDatePicker.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAM1C,4EAA4E;AAC5E,MAAM,WAAW,qBAAqB;IACpC,KAAK,EAAE,IAAI,CAAA;IACX,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,QAAQ,GAAG,UAAU,GAAG,SAAS,CAAA;IAC1C,WAAW,EAAE,IAAI,CAAA;IACjB,WAAW,EAAE,IAAI,CAAA;IACjB,YAAY,CAAC,EAAE,OAAO,GAAG,MAAM,CAAA;IAC/B,QAAQ,EAAE,CAAC,KAAK,EAAE;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,EAAE,IAAI,CAAC,EAAE,IAAI,KAAK,IAAI,CAAA;CACzD;AAED,MAAM,MAAM,gBAAgB,GAAG,aAAa,CAAC,qBAAqB,CAAC,CAAA;AAEnE;;;GAGG;AACH,MAAM,MAAM,qBAAqB,GAAG,gBAAgB,GAAG,IAAI,GAAG,SAAS,CAAA;AAQvE;;;;;;;;;;;;GAYG;AACH,wBAAgB,mBAAmB,IAAI,qBAAqB,CA6B3D;AASD,6EAA6E;AAC7E,eAAO,MAAM,mBAAmB,QAAgD,CAAA;AAEhF;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,SAAwB,CAAA;AAE1D,wBAAsB,oBAAoB,IAAI,OAAO,CAAC,gBAAgB,GAAG,IAAI,CAAC,CAc7E"}
@@ -1 +1 @@
1
- {"version":3,"file":"otpScreenProps.d.ts","sourceRoot":"","sources":["../../../src/fiat/otpScreenProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAoB,MAAM,sBAAsB,CAAA;AACtE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AAExC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AACzD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAGpD;;;;;;;;;GASG;AACH,wBAAgB,cAAc,CAC5B,IAAI,EAAE,QAAQ,EACd,CAAC,EAAE,SAAS;AACZ,yEAAyE;AACzE,QAAQ,EAAE,aAAa,GACtB,IAAI,CAAC,kBAAkB,EAAE,SAAS,CAAC,GAAG,SAAS,CAsCjD"}
1
+ {"version":3,"file":"otpScreenProps.d.ts","sourceRoot":"","sources":["../../../src/fiat/otpScreenProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEV,QAAQ,EAET,MAAM,sBAAsB,CAAA;AAC7B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AAIxC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AACzD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAGpD;;;;;;;;;GASG;AACH,wBAAgB,cAAc,CAC5B,IAAI,EAAE,QAAQ,EACd,CAAC,EAAE,SAAS;AACZ,yEAAyE;AACzE,QAAQ,EAAE,aAAa,GACtB,IAAI,CAAC,kBAAkB,EAAE,SAAS,CAAC,GAAG,SAAS,CA2CjD"}