@adyen/kyc-components 4.26.1 → 4.27.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (239) hide show
  1. package/dist/{AcceptTermsOfServiceWorkflow-DXSq3XzA.js → AcceptTermsOfServiceWorkflow-CO6qEeAD.js} +4 -4
  2. package/dist/{Accordion-BAdwrgCR.js → Accordion-CTQfC17W.js} +1 -1
  3. package/dist/{AccountSetupRejected-BLEWjmc8.js → AccountSetupRejected-CFvogFuo.js} +2 -2
  4. package/dist/{AdaptiveWorkflow-DwdMyu1A.js → AdaptiveWorkflow-CTKpyw02.js} +22 -22
  5. package/dist/{AdaptiveWorkflowComponent-DPv1YHos.js → AdaptiveWorkflowComponent-CvTwsWi3.js} +5 -5
  6. package/dist/{AddressFields-B0QVYM-e.js → AddressFields-vl2AeVHz.js} +33 -72
  7. package/dist/{Avatar-C2zeqSSB.js → Avatar-yJfk9A6l.js} +1 -1
  8. package/dist/{BusinessFinancingDropin-evYHYnXE.js → BusinessFinancingDropin-tSylhmJS.js} +123 -55
  9. package/dist/{BusinessFinancingPage-C_agz96E.js → BusinessFinancingPage-9AcfHWyP.js} +6 -6
  10. package/dist/{BusinessRegistrationNumberField-DeYcZlQS.js → BusinessRegistrationNumberField-B6w6LvSZ.js} +6 -6
  11. package/dist/{BusinessRegistrationNumberFieldGroup-D9D0BPdp.js → BusinessRegistrationNumberFieldGroup-CICYxSyn.js} +6 -6
  12. package/dist/{BusinessTypeSelectionPage-DmgeZsex.js → BusinessTypeSelectionPage-lLt_PL1z.js} +13 -13
  13. package/dist/{Button-Dwr6jvJZ.js → Button-BYafPrZH.js} +1 -1
  14. package/dist/{Checkbox-BLyyDG9b.js → Checkbox-DXF-eRBj.js} +8 -8
  15. package/dist/{ComponentGroup-BLvYZoxp.js → ComponentGroup-DNspJrHk.js} +3 -3
  16. package/dist/{ConstitutionalDocument-B3o3NLMO.js → ConstitutionalDocument-Dg3dmkpH.js} +19 -26
  17. package/dist/{ContactDetails-7zYbKJtH.js → ContactDetails-5W0oQVYG.js} +5 -5
  18. package/dist/{ContextGuidance-C2AXK9Ep.js → ContextGuidance-BrbPzdaI.js} +3 -3
  19. package/dist/{CountryField-Bl8gp3wu.js → CountryField-DlMYQYfd.js} +4 -4
  20. package/dist/{Currency-Be6zg8XM.js → Currency-BCJuV60i.js} +16 -10
  21. package/dist/{CustomerSupport-lUVh_sWN.js → CustomerSupport-Bdg11WcM.js} +29 -16
  22. package/dist/{DateField-CO2CodgD.js → DateField-DfnBDOVl.js} +4 -4
  23. package/dist/{DebugModal-l52lDfKB.js → DebugModal-D1RMhAfR.js} +228 -10
  24. package/dist/{DecisionMakerDetails-9y6Fm96G.js → DecisionMakerDetails-Cv_NdD0z.js} +79 -174
  25. package/dist/{DecisionMakerDetailsPage-9kRW2Zh8.js → DecisionMakerDetailsPage-dTsh8vkz.js} +9 -9
  26. package/dist/{DecisionMakers-CYjKftby.js → DecisionMakers-DAhjhaMS.js} +17 -18
  27. package/dist/{Dropzone-QRtCFpVT.js → Dropzone-rk15b_Tb.js} +7 -7
  28. package/dist/{EmailField-D-Ndm0JS.js → EmailField-BOX8HtRe.js} +4 -4
  29. package/dist/{EmbeddedStatus-4YjyzkcD.js → EmbeddedStatus-mdQsQfof.js} +2 -2
  30. package/dist/{EndStateLayout-C5Pqler-.js → EndStateLayout-B-M90Rnh.js} +2 -2
  31. package/dist/{EntityAssociation-CS8XqKk-.js → EntityAssociation-B5Zq7_F6.js} +6 -6
  32. package/dist/{ErrorPanel-DaipnVsu.js → ErrorPanel-BLvDkiVa.js} +10 -17
  33. package/dist/{GlobalEntryModal-COOjZvh7.js → GlobalEntryModal-DZsHeRPL.js} +439 -298
  34. package/dist/{GlobalEntryPage-C9SGXXJk.js → GlobalEntryPage-RyQIoaWL.js} +7 -8
  35. package/dist/{Icon-_YUEZg1p.js → Icon-jVvV1zXc.js} +1 -1
  36. package/dist/{IdentityNumber-D_cOLEsP.js → IdentityNumber-C8CMJtgD.js} +5 -5
  37. package/dist/{IdentityNumberFieldGroup-CoLugvku.js → IdentityNumberFieldGroup-Cj5U1Onz.js} +2 -2
  38. package/dist/{IdentityScreeningWorkflow-B_nLC0Ru.js → IdentityScreeningWorkflow-BCDn25Or.js} +12 -13
  39. package/dist/{IndividualDropin-CRKk-szG.js → IndividualDropin-B6dY0iN3.js} +149 -231
  40. package/dist/{IndustryCodeFieldGroup-0vRXN8GP.js → IndustryCodeFieldGroup-B649faYk.js} +5 -5
  41. package/dist/{InputDate-Cxk_f6Us.js → InputDate-3rYzWzXX.js} +8 -4
  42. package/dist/{InputText-CObXfKKh.js → InputText-OCbzlaaN.js} +2 -2
  43. package/dist/{Introduction-CmhxGGzY.js → Introduction-Duow8A7U.js} +6 -6
  44. package/dist/{InvitedDecisionMakerComponent-BkHurym6.js → InvitedDecisionMakerComponent-BVQ37JLZ.js} +13 -14
  45. package/dist/{JpAddressFields-CuvfbjX6.js → JpAddressFields-Bh7Bvw__.js} +9 -10
  46. package/dist/{LegalCompanyNameField-CkINYTFB.js → LegalCompanyNameField-Yj5Fa3-I.js} +5 -5
  47. package/dist/{LegalRepresentativeDetailsPage-mlE80SrL.js → LegalRepresentativeDetailsPage-C10ojT9w.js} +4 -4
  48. package/dist/{Link-D0Yqc2r0.js → Link-DwPkGikd.js} +1 -1
  49. package/dist/{ListItem-DY-qq1lS.js → ListItem-n927geYb.js} +2 -2
  50. package/dist/{Modal-DnDjAzqZ.js → Modal-jjSjdW5W.js} +3 -3
  51. package/dist/{Name-Dhj905G8.js → Name-D-A5XBTb.js} +4 -4
  52. package/dist/{NumberField-BlDjTB0U.js → NumberField-D291GWYR.js} +4 -4
  53. package/dist/{PatriotActDisclosure-jNLKR-RM.js → PatriotActDisclosure-DMjKJEKH.js} +10 -10
  54. package/dist/{PayoutDetailsDropin-DO1CtLRd.js → PayoutDetailsDropin-B5MNHR3S.js} +41 -43
  55. package/dist/{PayoutDetailsPage-C-W1PCRf.js → PayoutDetailsPage-DMAxzS2V.js} +5 -5
  56. package/dist/{Review-BLcoVl6O.js → Review-BDontauk.js} +6 -6
  57. package/dist/{RootBusinessDetailsPage-DNZi9Zgj.js → RootBusinessDetailsPage-INMIQvN4.js} +4 -4
  58. package/dist/{RootBusinessLinesPage-D2IPigk5.js → RootBusinessLinesPage-BiIb7UVU.js} +22 -23
  59. package/dist/{RootIndividualDetailsPage-Cfa9R28c.js → RootIndividualDetailsPage-BS5BgowF.js} +6 -6
  60. package/dist/{Select-C0Pp8Jeb.js → Select-BRK2a2V5.js} +92 -92
  61. package/dist/{SignPCIComponent-I3asF5GE.js → SignPCIComponent-B5JmN8BT.js} +14 -14
  62. package/dist/{SingpassSelection-C4Ptdwzb.js → SingpassSelection-B84oJmvG.js} +5 -5
  63. package/dist/{SoleProprietorshipPage-CiI2VKw_.js → SoleProprietorshipPage-C-jxJkmQ.js} +4 -4
  64. package/dist/{SourceOfFundsPage-DrJqgPMf.js → SourceOfFundsPage-C27vODL5.js} +24 -24
  65. package/dist/{SourceOfFundsWorkflow-tE06S4__.js → SourceOfFundsWorkflow-DOqaH_wk.js} +4 -4
  66. package/dist/StateField-CRLgYS1X.js +364 -0
  67. package/dist/{Step-CLZTcCEQ.js → Step-BTVKO9gW.js} +5 -5
  68. package/dist/Summary-C9Nr0dot.js +21 -0
  69. package/dist/{SummarySection-v-mSwYL0.js → SummarySection-D67yguze.js} +5 -19
  70. package/dist/{Task-CUr-Zb5N.js → Task-BaQ6wqz5.js} +7 -7
  71. package/dist/{TaskGroup-BGUboNOL.js → TaskGroup-C7lBWbYp.js} +3 -3
  72. package/dist/{TaskListItem-DMkmZn3B.js → TaskListItem-Cu3fSvOJ.js} +10 -10
  73. package/dist/{TaskStepperContextProvider-9wlnwii7.js → TaskStepperContextProvider-DiMf4UV6.js} +1 -1
  74. package/dist/{TaskVerificationStatus-zoxTZ2mt.js → TaskVerificationStatus-C1CllzL1.js} +17 -17
  75. package/dist/{TaxInformationFieldGroup-CraKcKMs.js → TaxInformationFieldGroup-vQoQHydJ.js} +7 -7
  76. package/dist/{TaxReportingDropin-B-ywMdBt.js → TaxReportingDropin-CTnL6VMm.js} +13 -15
  77. package/dist/{TaxReportingWorkflow-BmUdyOKl.js → TaxReportingWorkflow-5_eG0AcD.js} +4 -4
  78. package/dist/{TermsOfServiceManagement-D1Yv4Z5p.js → TermsOfServiceManagement-xL-xisqE.js} +46 -43
  79. package/dist/{TextArea-CyFcFhHo.js → TextArea-CcaUENX2.js} +4 -4
  80. package/dist/{TextField-D61xVlV2.js → TextField-fhhAQSKg.js} +5 -5
  81. package/dist/{TrustDetailsPage-D2FS-As0.js → TrustDetailsPage-DcNS-XWz.js} +61 -54
  82. package/dist/{TrustMemberCompanyPage-DDcSOUi2.js → TrustMemberCompanyPage-xtxgO6d4.js} +5 -5
  83. package/dist/{TrustMemberIndividualPage-CJBz1p3R.js → TrustMemberIndividualPage-BMWAg_eS.js} +4 -4
  84. package/dist/{TrustMemberRoleAndTypePage-OeN1HW_E.js → TrustMemberRoleAndTypePage-DR3pLJf9.js} +43 -36
  85. package/dist/{TrustMembersOverview-DkrEZL6_.js → TrustMembersOverview-D-jTaw37.js} +13 -13
  86. package/dist/{UboTaskItem-Dc6ExVuW.js → UboTaskItem-DsoetWEU.js} +7 -7
  87. package/dist/{UnincorporatedPartnershipIndividualPage-D0ZYvh8k.js → UnincorporatedPartnershipIndividualPage-3sSr2dCv.js} +4 -4
  88. package/dist/{UnincorporatedPartnershipMemberCompanyPage-BtapkuO6.js → UnincorporatedPartnershipMemberCompanyPage-s6NiptRo.js} +5 -5
  89. package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-CbdYYTQT.js → UnincorporatedPartnershipMemberRoleAndTypePage-Cr6UEryR.js} +9 -9
  90. package/dist/{UnincorporatedPartnershipMembersOverview-Cs1DHVNP.js → UnincorporatedPartnershipMembersOverview-CbwWOxQs.js} +6 -6
  91. package/dist/{VerificationErrorAlert-D9sBE-Tj.js → VerificationErrorAlert-Bm7-u85-.js} +3 -3
  92. package/dist/{WebsiteField-BCoO-m_7.js → WebsiteField-DTlbxzaa.js} +5 -5
  93. package/dist/{Workflow-driWy_eJ.js → Workflow-DT43cTzE.js} +6 -6
  94. package/dist/{accountHolderUtils-BAbeRIOy.js → accountHolderUtils-D0E9se-W.js} +1 -1
  95. package/dist/adyen-business-financing.js +7 -7
  96. package/dist/adyen-individual-configuration.js +6 -6
  97. package/dist/adyen-individual-status.js +5 -5
  98. package/dist/adyen-invited-decision-maker.js +3 -3
  99. package/dist/adyen-onboarding.js +30 -30
  100. package/dist/adyen-terms-of-service-management.js +3 -3
  101. package/dist/adyen-terms-of-service-status.js +3 -3
  102. package/dist/adyen-transfer-instrument-configuration.js +5 -5
  103. package/dist/adyen-transfer-instrument-management.js +13 -13
  104. package/dist/adyen-verification-status.js +3 -3
  105. package/dist/{bafinUtils-COyCy9xG.js → bafinUtils-CvQzDDfD.js} +519 -531
  106. package/dist/{constants-fGRziJEH.js → constants-BOu8Hnt9.js} +6 -6
  107. package/dist/{dropinUtils-cIGIoJvF.js → dropinUtils-DfyQ8xFE.js} +165 -364
  108. package/dist/en-US-8KLaHQaT.js +7 -0
  109. package/dist/{en-US-Cz4JoU20.js → en-US-BMMx67Za.js} +16 -2
  110. package/dist/{en-US-nYL_eSJ-.js → en-US-BfRvYdHX.js} +8 -2
  111. package/dist/en-US-DGdFfmUC.js +136 -0
  112. package/dist/{en-US.instructions-BVNIyLRs.js → en-US.instructions-myDXMUbk.js} +2 -1
  113. package/dist/{error-B9rHWK9Q.js → error-CUHwmdwD.js} +2 -2
  114. package/dist/formatDataForSummary-BMFPIUER.js +498 -0
  115. package/dist/{formatValidationError-BJqU7LCU.js → formatValidationError-B5GNhAeh.js} +2 -2
  116. package/dist/{getDefaultRegistrationNumberType-BcV1GDOs.js → getDefaultRegistrationNumberType-CyaKz1Fj.js} +4 -4
  117. package/dist/{getProblemsForEntity-mdb3Bfpj.js → getProblemsForEntity-FHk416BA.js} +1 -1
  118. package/dist/{getTrustedDecisionMakers-D89oYOLp.js → getTrustedDecisionMakers-DByctgob.js} +1 -1
  119. package/dist/{getValidationError-dcpAlebZ.js → getValidationError-B4YX_EgR.js} +2 -2
  120. package/dist/{legalArrangementUtils-Crgt_L7h.js → legalArrangementUtils-CHlmmcB8.js} +11 -2
  121. package/dist/{mapAddressLocalizationToJpAddressSchema-B9pzYF3B.js → mapAddressLocalizationToJpAddressSchema-BrQMDBLX.js} +2 -2
  122. package/dist/{mapExistingFile-BXfeQxev.js → mapExistingFile-CqbTLZ6i.js} +1 -1
  123. package/dist/mapJpAddressSchemaToAddressLocalizations-BL4eAlDH.js +19 -0
  124. package/dist/{mapTransferInstrumentToPayoutAccount-Ba_L9EEB.js → mapTransferInstrumentToPayoutAccount-DhwdciyT.js} +2 -2
  125. package/dist/{processCapabilities-FL4-KAbd.js → processCapabilities-B75YIdXZ.js} +11 -4
  126. package/dist/{processValidationErrors-DWdgik5u.js → processValidationErrors-Dtt1FnM2.js} +4 -4
  127. package/dist/{resolveEnvironment-BnKqnU98.js → resolveEnvironment-CpWP_8og.js} +53 -16
  128. package/dist/roleMetadata-BW4HRw1l.js +57 -0
  129. package/dist/style.css +218 -230
  130. package/dist/styles-DYaAeu4q.js +218 -230
  131. package/dist/trustMemberType-Ix2sf6e_.js +13 -0
  132. package/dist/types/api/address/useAddressCleanse.d.ts +2 -0
  133. package/dist/types/api/address/useRetrieveAddress.d.ts +1 -0
  134. package/dist/types/api/address/useRetrieveFromPostcodeJp.d.ts +1 -0
  135. package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/utils.d.ts +7 -2
  136. package/dist/types/components/Business/forms/FinancialInformation/mapping/mapFinancialInformationToFinancialReport.d.ts +1 -1
  137. package/dist/types/components/Business/forms/rules.d.ts +3 -1
  138. package/dist/types/components/Business/utils/formatDataForSummary.d.ts +2 -1
  139. package/dist/types/components/EFP/mapping/businessFinancingKeyMappings.d.ts +78 -0
  140. package/dist/types/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingFinancialInformation.d.ts +3 -0
  141. package/dist/types/components/EFP/tasks/BusinessFinancingDropin/types.d.ts +2 -1
  142. package/dist/types/components/EFP/tasks/BusinessFinancingDropin/utils.d.ts +6 -3
  143. package/dist/types/components/EFP/tasks/BusinessFinancingDropin/validate.d.ts +3 -0
  144. package/dist/types/components/GlobalEntry/fields/DbaQuestionnaire/DbaQuestionnaire.d.ts +3 -0
  145. package/dist/types/components/GlobalEntry/fields/DbaQuestionnaire/types.d.ts +5 -0
  146. package/dist/types/components/GlobalEntry/fields/LlcQuestionnaire/LlcQuestionnaire.d.ts +3 -0
  147. package/dist/types/components/GlobalEntry/fields/LlcQuestionnaire/types.d.ts +5 -0
  148. package/dist/types/components/GlobalEntry/fields/PaperworkQuestionnaire/PaperworkQuestionnaire.d.ts +1 -6
  149. package/dist/types/components/GlobalEntry/fields/PaperworkQuestionnaire/fieldConfig.d.ts +11 -0
  150. package/dist/types/components/GlobalEntry/fields/PaperworkQuestionnaire/types.d.ts +6 -1
  151. package/dist/types/components/GlobalEntry/fields/Questionnaire/Questionnaire.d.ts +2 -0
  152. package/dist/types/components/GlobalEntry/fields/Questionnaire/types.d.ts +17 -0
  153. package/dist/types/components/GlobalEntry/fields/TrustQuestionnaire/TrustQuestionnaire.d.ts +3 -0
  154. package/dist/types/components/GlobalEntry/fields/TrustQuestionnaire/types.d.ts +5 -0
  155. package/dist/types/components/GlobalEntry/forms/EntityInformation/EntityInformation.d.ts +1 -3
  156. package/dist/types/components/GlobalEntry/forms/EntityInformation/types.d.ts +1 -2
  157. package/dist/types/components/GlobalEntry/forms/RegistrationInformation/types.d.ts +5 -1
  158. package/dist/types/components/GlobalEntry/mapping/globalEntryKeyMapping.d.ts +0 -3
  159. package/dist/types/components/GlobalEntry/mapping/mapGlobalEntrySchemaToLegalEntity.d.ts +2 -3
  160. package/dist/types/components/GlobalEntry/mapping/mapLegalEntityToGlobalEntrySchema.d.ts +1 -6
  161. package/dist/types/components/GlobalEntry/rules.d.ts +5 -2
  162. package/dist/types/components/GlobalEntry/utils/getAvailableCompanyStructures.d.ts +2 -1
  163. package/dist/types/components/GlobalEntry/utils/submitGlobalEntry.d.ts +1 -4
  164. package/dist/types/components/GlobalEntry/utils/utils.d.ts +7 -4
  165. package/dist/types/components/Individual/forms/AdditionalPersonalDetails/AdditionalPersonalDetails.types.d.ts +1 -2
  166. package/dist/types/components/Individual/forms/Individual.rules.d.ts +7 -6
  167. package/dist/types/components/Individual/helpers/findRelevantTaxInformation.d.ts +8 -2
  168. package/dist/types/components/Individual/helpers/getSubmittableTaxInformation.d.ts +20 -0
  169. package/dist/types/components/Individual/mapping/mapIndividualSchemaToLegalEntity.d.ts +5 -3
  170. package/dist/types/components/Individual/tasks/DecisionMakers/DecisionMakerDetails/utils.d.ts +6 -67
  171. package/dist/types/components/Individual/tasks/IndividualDropin/IndividualSummary.d.ts +27 -0
  172. package/dist/types/components/Individual/utils/formatDataForSummary.d.ts +49 -0
  173. package/dist/types/components/Shared/FormFlow/FormFlow.d.ts +1 -1
  174. package/dist/types/components/Shared/FormFlow/FormFlow.types.d.ts +0 -5
  175. package/dist/types/components/Shared/Summary/Summary.d.ts +10 -7
  176. package/dist/types/components/Shared/Summary/types.d.ts +3 -21
  177. package/dist/types/components/Shared/SummarySection/SummaryBulletList.d.ts +8 -0
  178. package/dist/types/components/Shared/devex/DebugListener/DebugTheme.d.ts +2 -0
  179. package/dist/types/components/Shared/devex/DebugListener/customTheme.d.ts +49 -0
  180. package/dist/types/components/Shared/fields/RegistrationAndOperationalAddressFields/types.d.ts +2 -0
  181. package/dist/types/components/Shared/fields/RegistrationAndOperationalAddressFields/utils.d.ts +2 -4
  182. package/dist/types/components/Shared/fields/ReportedValueOptionField/types.d.ts +3 -0
  183. package/dist/types/components/Shared/forms/Address/constants.d.ts +2 -0
  184. package/dist/types/components/Shared/forms/Address/localized/jp/JpAddressFields.d.ts +2 -9
  185. package/dist/types/components/Shared/forms/Address/localized/jp/mapAddressLocalizationToJpAddressSchema.d.ts +2 -2
  186. package/dist/types/components/Shared/forms/Address/localized/jp/mapJpAddressSchemaToAddressLocalizations.d.ts +2 -2
  187. package/dist/types/components/Shared/forms/Address/localized/jp/mapJpAddressSummary.d.ts +2 -4
  188. package/dist/types/components/Shared/forms/Address/rules.d.ts +13 -0
  189. package/dist/types/components/Shared/forms/Address/types.d.ts +7 -1
  190. package/dist/types/components/Shared/forms/Address/utils.d.ts +5 -11
  191. package/dist/types/components/Trust/forms/Trust/rules.d.ts +3 -1
  192. package/dist/types/components/Trust/tasks/RoleAndTypeDropin/formatRoleAndEntityTypeSummary.d.ts +2 -3
  193. package/dist/types/components/Trust/utils/formatDataForSummary.d.ts +2 -1
  194. package/dist/types/core/EmbedShell/EmbedShell.d.ts +4 -1
  195. package/dist/types/core/EmbedShell/useTheme.d.ts +9 -0
  196. package/dist/types/embeds/onboarding/adyen-onboarding.d.ts +1 -1
  197. package/dist/types/embeds/onboarding/adyen-onboarding.types.d.ts +8 -0
  198. package/dist/types/hooks/useStoredStateOrProvince.d.ts +9 -0
  199. package/dist/types/types/datasets/state-code.d.ts +36 -1
  200. package/dist/types/types/form-rules.d.ts +2 -2
  201. package/dist/types/utils/analytics/getPrefilledDetails.d.ts +3 -0
  202. package/dist/types/utils/entityStatusUtil.d.ts +1 -1
  203. package/dist/types/utils/fieldConfigurations.d.ts +1 -1
  204. package/dist/types/utils/legalArrangementUtils.d.ts +2 -0
  205. package/dist/{types-BymnGWO9.js → types-DVMWWwBT.js} +1 -1
  206. package/dist/{form-rules-CZbkNMEw.js → unincorporatedPartnership-CiU2fnqv.js} +38 -4
  207. package/dist/{useBusinessDetailsData-BJau7oMt.js → useBusinessDetailsData-BtEHoBoN.js} +100 -90
  208. package/dist/{useCanSeeIntroduction-BQuCt-eO.js → useCanSeeIntroduction-kxOGIxnh.js} +2 -2
  209. package/dist/useCreateLegalEntity-CgzVD39K.js +24 -0
  210. package/dist/{useDataMissingRemediations-DKjYzfe2.js → useDataMissingRemediations-BfC7ECSn.js} +1 -1
  211. package/dist/{useForm-VDjedfk9.js → useForm-CiHfxEX0.js} +3 -3
  212. package/dist/{useHideTaskStepper-BgCN--mG.js → useHideTaskStepper-Betx9MGy.js} +1 -1
  213. package/dist/{useId-Cs-bSalH.js → useId-ChrmzN7R.js} +2 -2
  214. package/dist/{useNavigate-CKp2oemi.js → useNavigate-xbrKpFCu.js} +33 -33
  215. package/dist/{useSalesChannels-D0q-Vat7.js → useSalesChannels-C2qQmPGf.js} +1 -1
  216. package/dist/{useTaskLandedEvent-QBmeEeS6.js → useTaskLandedEvent-Brv74FDb.js} +1 -1
  217. package/dist/{useTrustMembers-COumqoMC.js → useTrustMembers-BA5fCul_.js} +3 -3
  218. package/dist/{useUnincorporatedPartnershipMembers-DcfQJdVZ.js → useUnincorporatedPartnershipMembers-J6rxK5Ie.js} +2 -2
  219. package/dist/{utils-BFxg3gPM.js → utils-ChZNfG5_.js} +1 -1
  220. package/dist/{utils-BiPEtEaV.js → utils-ClAXyRqf.js} +4 -5
  221. package/dist/{utils-B6TRzLRs.js → utils-Do6-kryk.js} +3 -3
  222. package/dist/utils-VV2acmQG.js +49 -0
  223. package/dist/{validate-Dt3Xmp_L.js → validate-BHOzYoxU.js} +26 -2
  224. package/dist/{validate-BN38Qq-w.js → validate-D5990ODb.js} +20 -9
  225. package/dist/{validate-D3JIeysp.js → validate-Dtiozjlb.js} +4 -4
  226. package/dist/{validate-_7WKym8c.js → validate-NJNmUaTh.js} +11 -5
  227. package/dist/{validateExtractionResult-IRRMwcNi.js → validateExtractionResult-D3AuQo5-.js} +3 -3
  228. package/package.json +6 -5
  229. package/dist/Image-CxnjHtP1.js +0 -33
  230. package/dist/List-qvNxW9lm.js +0 -72
  231. package/dist/StateField-BBGSo1NG.js +0 -296
  232. package/dist/en-US-U0d3NI20.js +0 -7
  233. package/dist/mapJpAddressSchemaToAddressLocalizations-kHaGv8kC.js +0 -75
  234. package/dist/mapLegalEntityToIndividualSchema-D6qGKj-2.js +0 -254
  235. package/dist/trustMemberGuidance-BpeDHAJP.js +0 -27
  236. package/dist/types/components/Shared/NewSummary/NewSummary.d.ts +0 -10
  237. package/dist/types/components/Shared/Summary/summaryItem.d.ts +0 -17
  238. package/dist/types/components/Shared/forms/Address/localized/jp/jpAddressSchema.d.ts +0 -17
  239. package/dist/unincorporatedPartnership-BbNowjM2.js +0 -11
@@ -1,75 +0,0 @@
1
- try {
2
- let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
3
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "49f118c8-764b-424e-a283-f611f223bb34", e._sentryDebugIdIdentifier = "sentry-dbid-49f118c8-764b-424e-a283-f611f223bb34");
4
- } catch (e) {}
5
- import { V as summaryItem } from "./dropinUtils-cIGIoJvF.js";
6
- import { G as mapSchemaFieldsToApiScriptLocalization, U as isEmpty } from "./bafinUtils-COyCy9xG.js";
7
- import { jsx, jsxs } from "preact/jsx-runtime";
8
- //#region src/components/Shared/forms/Address/localized/jp/jpAddressSchema.ts
9
- var JP_ADDRESS_REQUIRED_FIELDS = [
10
- "postalCode",
11
- "street2FullWidth",
12
- "street2",
13
- "jaHaniStateOrProvince",
14
- "jaHaniCity",
15
- "jaKanaStateOrProvince",
16
- "jaKanaCity",
17
- "stateOrProvince",
18
- "city"
19
- ];
20
- //#endregion
21
- //#region src/components/Shared/forms/Address/localized/jp/mapJpAddressSummary.tsx
22
- var mapJpAddressSummary = (data, datasetUtils) => {
23
- if (!data) return {};
24
- return {
25
- country: datasetUtils.getCountryName("JP") ?? "JP",
26
- postalCode: summaryItem("postalCode", data.postalCode),
27
- stateOrProvince: summaryItem("prefecture", /* @__PURE__ */ jsxs("div", { children: [
28
- /* @__PURE__ */ jsx("p", { children: data.jaHaniStateOrProvince }),
29
- /* @__PURE__ */ jsx("p", { children: data.jaKanaStateOrProvince }),
30
- /* @__PURE__ */ jsx("p", { children: data.stateOrProvince })
31
- ] })),
32
- city: summaryItem("districtTownAreaCityWard", /* @__PURE__ */ jsxs("div", { children: [
33
- /* @__PURE__ */ jsx("p", { children: data.jaHaniCity }),
34
- /* @__PURE__ */ jsx("p", { children: data.jaKanaCity }),
35
- /* @__PURE__ */ jsx("p", { children: data.city })
36
- ] })),
37
- street2: summaryItem("chomeAndBanchi", data.street2),
38
- street: summaryItem("buildingNameFloorRoomNumberEtc", /* @__PURE__ */ jsxs("div", { children: [/* @__PURE__ */ jsx("p", { children: data.jaHaniStreet }), /* @__PURE__ */ jsx("p", { children: data.street })] }))
39
- };
40
- };
41
- /**
42
- * Stacks the scripts a field was given in, skipping the ones it was not. Returns nothing when the
43
- * field is empty in every script, so the caller can leave the row out rather than render a label
44
- * with nothing beside it.
45
- */
46
- var mapScriptsToDetails = (...values) => {
47
- const scripts = values.filter((value) => !isEmpty(value));
48
- if (!scripts.length) return void 0;
49
- return /* @__PURE__ */ jsx("div", { children: scripts.map((script) => /* @__PURE__ */ jsx("p", { children: script }, script)) });
50
- };
51
- var mapJpAddressSummaryNewSummary = (data, datasetUtils) => {
52
- if (!data) return {};
53
- return {
54
- country: datasetUtils.getCountryName("JP") ?? "JP",
55
- postalCode: data.postalCode,
56
- prefecture: mapScriptsToDetails(data.jaHaniStateOrProvince, data.jaKanaStateOrProvince, data.stateOrProvince),
57
- districtTownAreaCityWard: mapScriptsToDetails(data.jaHaniCity, data.jaKanaCity, data.city),
58
- chomeAndBanchi: data.street2,
59
- buildingNameFloorRoomNumberEtc: mapScriptsToDetails(data.jaHaniStreet, data.street)
60
- };
61
- };
62
- //#endregion
63
- //#region src/components/Shared/forms/Address/localized/jp/mapJpAddressSchemaToAddressLocalizations.ts
64
- var mapJpAddressSchemaToAddressLocalizations = (data) => {
65
- if (!data) return [];
66
- return [mapSchemaFieldsToApiScriptLocalization(data, "jaHani"), mapSchemaFieldsToApiScriptLocalization(data, "jaKana")].filter(({ fields }) => !isEmpty(fields)).map(({ script, fields }) => ({
67
- script,
68
- fields: {
69
- city: fields.city,
70
- ..."street" in fields ? { street: fields.street } : void 0
71
- }
72
- }));
73
- };
74
- //#endregion
75
- export { JP_ADDRESS_REQUIRED_FIELDS as i, mapJpAddressSummary as n, mapJpAddressSummaryNewSummary as r, mapJpAddressSchemaToAddressLocalizations as t };
@@ -1,254 +0,0 @@
1
- try {
2
- let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
3
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "cef479f6-6aad-4e77-9efc-b0f774217154", e._sentryDebugIdIdentifier = "sentry-dbid-cef479f6-6aad-4e77-9efc-b0f774217154");
4
- } catch (e) {}
5
- import { r as useTranslation } from "./translation-CpH8D2NK.js";
6
- import { t as Typography } from "./Typography-CAc_f5Iq.js";
7
- import { t as Button } from "./Button-Dwr6jvJZ.js";
8
- import { r as httpPost, s as useApiContext } from "./http-C8rt2BZk.js";
9
- import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
10
- import { c as individualBaseMapping, y as reverseMapping } from "./processCapabilities-FL4-KAbd.js";
11
- import { o as getNomineeFromAssociation } from "./entityAssociationUtil-BlfcBl3i.js";
12
- import { t as DecisionMakerTypes } from "./decisionMaker-CR0qaGWQ.js";
13
- import { i as useAnalyticsContext } from "./Modal-DnDjAzqZ.js";
14
- import { r as Field } from "./Select-C0Pp8Jeb.js";
15
- import { r as formatObject } from "./utils-B6TRzLRs.js";
16
- import { T as TileGroup, W as mapApiScriptLocalizationToSchemaFields } from "./bafinUtils-COyCy9xG.js";
17
- import { s as isIdDocumentType } from "./documentUtils-6K3LdjjN.js";
18
- import { t as mapAddressLocalizationToJpAddressSchema } from "./mapAddressLocalizationToJpAddressSchema-B9pzYF3B.js";
19
- import { jsx, jsxs } from "preact/jsx-runtime";
20
- import { signal } from "@preact/signals";
21
- import { useMutation } from "@tanstack/preact-query";
22
- //#region src/api/invitations/useCreateInvitation.ts
23
- var createInvitation = async (baseUrl, organizationLegalEntityId, inviteeLegalEntityId, data) => {
24
- return httpPost({
25
- baseUrl,
26
- path: `legalEntities/${organizationLegalEntityId}/invitations/associations/${inviteeLegalEntityId}`
27
- }, data);
28
- };
29
- var useCreateInvitation = (options) => {
30
- const { baseUrl } = useApiContext();
31
- return useMutation({
32
- mutationFn: ({ organizationLegalEntityId, inviteeLegalEntityId, data }) => {
33
- return createInvitation(baseUrl.value, organizationLegalEntityId, inviteeLegalEntityId, data);
34
- },
35
- ...options
36
- });
37
- };
38
- //#endregion
39
- //#region src/stores/formState.ts
40
- var individualFormDefaultData = signal(null);
41
- var shouldNavigateToAdditionalPersonalDetailsForMissingData = signal(false);
42
- var GuidanceQuestion_module_default = {
43
- "guidance-question": "_guidance-question_e0c6m_1",
44
- guidanceQuestion: "_guidance-question_e0c6m_1",
45
- options: "_options_e0c6m_5"
46
- };
47
- //#endregion
48
- //#region src/components/Individual/forms/GuidanceQuestion/GuidanceQuestion.tsx
49
- var GuidanceQuestionValues = {
50
- YES: "Yes",
51
- NO: "No"
52
- };
53
- var GuidanceQuestion = (props) => {
54
- const { descriptionLinkText, errorMessage, name, noLabel, onChange, onDescriptionLinkClick, question, value, yesLabel } = props;
55
- const { t } = useTranslation("common");
56
- const userEvents = useAnalyticsContext();
57
- const handleChange = (selectedValue) => {
58
- userEvents.addFieldEvent("Interacted with form field", {
59
- actionType: "select",
60
- field: name,
61
- returnValue: selectedValue
62
- });
63
- onChange(selectedValue || null);
64
- };
65
- const yesTileLabel = yesLabel ?? t(($) => $["yes"]);
66
- const noTileLabel = noLabel ?? t(($) => $["no"]);
67
- return /* @__PURE__ */ jsxs("div", {
68
- className: GuidanceQuestion_module_default.guidanceQuestion,
69
- children: [
70
- /* @__PURE__ */ jsx(Typography, {
71
- variant: "body",
72
- el: "p",
73
- id: `${name}-question`,
74
- children: question
75
- }),
76
- descriptionLinkText && onDescriptionLinkClick && /* @__PURE__ */ jsx(Button, {
77
- variant: "link",
78
- onClick: onDescriptionLinkClick,
79
- children: descriptionLinkText
80
- }),
81
- /* @__PURE__ */ jsx("div", {
82
- role: "group",
83
- "aria-labelledby": `${name}-question`,
84
- children: /* @__PURE__ */ jsx(Field, {
85
- name,
86
- className: GuidanceQuestion_module_default.options,
87
- children: () => /* @__PURE__ */ jsx(TileGroup, {
88
- allowMultiple: false,
89
- errorMessage,
90
- isHorizontal: true,
91
- maxSelected: 1,
92
- name,
93
- onChange: handleChange,
94
- selected: value || "",
95
- tiles: [{
96
- label: yesTileLabel,
97
- value: GuidanceQuestionValues.YES
98
- }, {
99
- label: noTileLabel,
100
- value: GuidanceQuestionValues.NO
101
- }]
102
- })
103
- })
104
- })
105
- ]
106
- });
107
- };
108
- //#endregion
109
- //#region src/components/Individual/helpers/findRelevantTaxInformation.ts
110
- var hasType = (taxId) => Boolean(taxId.type);
111
- /**
112
- * Picks the single tax record to show in the summary.
113
- *
114
- * An individual can hold tax information for several countries, but the summary lists only one:
115
- * the record matching their nationality, falling back to the one matching their country of
116
- * residence. When neither matches, the caller keeps the full list rather than guessing.
117
- *
118
- * Records without a `type` are skipped: the summary keys each record by its type, so a typeless
119
- * record would produce a literal `undefined` label. Falling through to the country match, or
120
- * keeping the full list, is more useful than emitting that key.
121
- *
122
- * @param taxInformation - Every tax record captured for the individual.
123
- * @param match - The nationality and country of residence to match against, in that order.
124
- * @returns The matching record, or `undefined` when no typed record matches either country.
125
- */
126
- var findRelevantTaxInformation = (taxInformation, match) => {
127
- const keyable = taxInformation?.filter(hasType);
128
- return keyable?.find((taxId) => taxId.country === match.nationality) ?? keyable?.find((taxId) => taxId.country === match.country);
129
- };
130
- //#endregion
131
- //#region src/components/Individual/helpers/isManualVerificationOrExistingDoc.ts
132
- /**
133
- * Checks whether the ID verification method relies on a document the user supplies themselves,
134
- * rather than an automated capture flow such as the Onfido SDK.
135
- *
136
- * @param idVerificationMethod - The selected ID verification method.
137
- * @returns `true` for `manualVerification` or `existingDocument`, otherwise `false`.
138
- *
139
- * @example
140
- * isManualVerificationOrExistingDoc('manualVerification'); // true
141
- * isManualVerificationOrExistingDoc('instantVerification'); // false
142
- */
143
- var isManualVerificationOrExistingDoc = (idVerificationMethod) => idVerificationMethod === "manualVerification" || idVerificationMethod === "existingDocument";
144
- //#endregion
145
- //#region src/components/Individual/mapping/getOnfidoIdentityTypeToApiIdentityTypeMap.ts
146
- var getOnfidoIdentityTypeToApiIdentityTypeMap = (data) => {
147
- const { country } = data;
148
- switch (country) {
149
- case CountryCodes.HongKong: return {
150
- passport: "passport",
151
- driversLicense: "driversLicense",
152
- proofOfIdentityCard: "nationalIdNumber"
153
- };
154
- default: return {
155
- nationalIdNumber: "nationalIdNumber",
156
- passport: "passport",
157
- driversLicense: "driversLicense",
158
- proofOfIdentityCard: "identityCard"
159
- };
160
- }
161
- };
162
- //#endregion
163
- //#region src/components/Individual/mapping/mapLegalEntityToIndividualSchema.ts
164
- var getIndividualSchemaFromAPI = { ...individualBaseMapping };
165
- var mapLegalEntityToIndividualSchema = (legalEntity, isChangingType, isRoleFieldNeeded, parentLegalEntity) => {
166
- let individual = { ...formatObject(legalEntity, getIndividualSchemaFromAPI) };
167
- individual = {
168
- ...individual,
169
- basicDetails: {
170
- ...individual?.basicDetails,
171
- ...isChangingType && {
172
- firstName: "",
173
- lastName: "",
174
- localization: {}
175
- }
176
- },
177
- signatoryQuestionnaire: { isSignatory: isChangingType ? null : individual.signatoryQuestionnaire?.isSignatory ?? null },
178
- uboQuestionnaire: isChangingType ? {
179
- isOwner: null,
180
- isControllingPerson: null,
181
- isDirector: null,
182
- isNomineeShareholder: null,
183
- isNomineeDirector: null
184
- } : {
185
- isOwner: individual.uboQuestionnaire?.isOwner ?? null,
186
- isControllingPerson: individual.uboQuestionnaire?.isControllingPerson ?? null,
187
- isDirector: individual.uboQuestionnaire?.isDirector ?? null,
188
- isNomineeDirector: individual.uboQuestionnaire?.isNomineeDirector ?? null,
189
- isNomineeShareholder: individual.uboQuestionnaire?.isNomineeShareholder ?? null
190
- }
191
- };
192
- if (legalEntity?.documentDetails?.length) {
193
- const idDocument = mapDocumentDetailToIdDocument(legalEntity.documentDetails);
194
- if (idDocument) individual = {
195
- ...individual,
196
- idVerificationMethod: {
197
- idVerificationMethod: "existingDocument",
198
- idDocument
199
- }
200
- };
201
- }
202
- if (legalEntity.individual?.identificationData?.type && individual.additionalPersonalDetails) {
203
- const apiIdentityTypeToIdentityTypeMap = reverseMapping(getOnfidoIdentityTypeToApiIdentityTypeMap(individual.additionalPersonalDetails));
204
- individual.additionalPersonalDetails.typeOfIdentity = apiIdentityTypeToIdentityTypeMap[legalEntity.individual.identificationData.type];
205
- }
206
- if (legalEntity.individual?.name?.localization) for (const scriptLoc of legalEntity.individual.name.localization) {
207
- if (!scriptLoc.fields) continue;
208
- individual.basicDetails = {
209
- ...individual.basicDetails,
210
- ...mapApiScriptLocalizationToSchemaFields({
211
- ...scriptLoc,
212
- fields: scriptLoc.fields
213
- })
214
- };
215
- }
216
- if (legalEntity.individual?.residentialAddress?.localization) individual.additionalPersonalDetails = {
217
- ...individual.additionalPersonalDetails,
218
- ...mapAddressLocalizationToJpAddressSchema(legalEntity.individual.residentialAddress.localization)
219
- };
220
- /**
221
- * Map association details of individual to personal
222
- * details from parentLegalEntity. role, jobTitle, relationship, nomineeShareholder,
223
- * nomineeDirector are not part of individual legalEntity but part of entityAssociations
224
- * in parentLegalEntity
225
- * **/
226
- if (!parentLegalEntity?.entityAssociations) return individual;
227
- const associations = parentLegalEntity?.entityAssociations?.filter((ea) => ea.legalEntityId === legalEntity?.id) ?? [];
228
- if (isRoleFieldNeeded && individual.basicDetails) {
229
- individual.basicDetails.role = associations.map((ea) => ea.type);
230
- individual.basicDetails.jobTitle = associations.find(({ jobTitle }) => Boolean(jobTitle))?.jobTitle;
231
- }
232
- if (isRoleFieldNeeded && individual.signatoryQuestionnaire && individual.uboQuestionnaire) {
233
- const associationTypes = new Set(associations.map((ea) => ea.type));
234
- const hasAssociation = (type) => associationTypes.has(type) ? GuidanceQuestionValues.YES : GuidanceQuestionValues.NO;
235
- individual.signatoryQuestionnaire.isSignatory = hasAssociation(DecisionMakerTypes.SIGNATORY);
236
- individual.uboQuestionnaire.isOwner = hasAssociation(DecisionMakerTypes.OWNER);
237
- individual.uboQuestionnaire.isControllingPerson = hasAssociation(DecisionMakerTypes.CONTROLLING_PERSON);
238
- individual.uboQuestionnaire.isDirector = hasAssociation(DecisionMakerTypes.DIRECTOR);
239
- const hasNomineeAssociation = (type) => associations.some((ea) => ea.type === type && ea.nominee) ? GuidanceQuestionValues.YES : GuidanceQuestionValues.NO;
240
- individual.uboQuestionnaire.isNomineeDirector = hasNomineeAssociation(DecisionMakerTypes.DIRECTOR);
241
- individual.uboQuestionnaire.isNomineeShareholder = hasNomineeAssociation(DecisionMakerTypes.OWNER);
242
- }
243
- individual.basicDetails = getNomineeFromAssociation(associations, individual.basicDetails);
244
- return individual;
245
- };
246
- var mapDocumentDetailToIdDocument = (documents) => {
247
- const activeDocument = documents.find((document) => document.active && isIdDocumentType(document.type));
248
- return activeDocument ? {
249
- idDocumentType: activeDocument.type,
250
- modificationDate: activeDocument.modificationDate ?? ""
251
- } : void 0;
252
- };
253
- //#endregion
254
- export { GuidanceQuestion as a, shouldNavigateToAdditionalPersonalDetailsForMissingData as c, findRelevantTaxInformation as i, useCreateInvitation as l, getOnfidoIdentityTypeToApiIdentityTypeMap as n, GuidanceQuestionValues as o, isManualVerificationOrExistingDoc as r, individualFormDefaultData as s, mapLegalEntityToIndividualSchema as t };
@@ -1,27 +0,0 @@
1
- try {
2
- let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
3
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "047dfe23-ab62-4adb-89b3-696f561c77d4", e._sentryDebugIdIdentifier = "sentry-dbid-047dfe23-ab62-4adb-89b3-696f561c77d4");
4
- } catch (e) {}
5
- var TrustMemberTypes = {
6
- DEFINED_BENEFICIARY: "definedBeneficiary",
7
- UNDEFINED_BENEFICIARY: "undefinedBeneficiary",
8
- PROTECTOR: "protector",
9
- TRUSTEE: "secondaryTrustee",
10
- SETTLOR: "settlor"
11
- };
12
- //#endregion
13
- //#region src/components/Trust/utils/trustMemberGuidance.ts
14
- var TrustMemberGuidanceLabels = {
15
- BENEFICIARY: "beneficiary",
16
- PROTECTOR: "protector",
17
- TRUSTEE: "trustee",
18
- SETTLOR: "settlor"
19
- };
20
- var TRUST_DEFAULT_DESCRIPTIONS_MAP = {
21
- [TrustMemberGuidanceLabels.BENEFICIARY]: "provideAllBeneficiaries",
22
- [TrustMemberGuidanceLabels.PROTECTOR]: "provideAtLeastOneProtector",
23
- [TrustMemberGuidanceLabels.TRUSTEE]: "provideAllTrustees",
24
- [TrustMemberGuidanceLabels.SETTLOR]: "provideAtLeastOneSettlor"
25
- };
26
- //#endregion
27
- export { TrustMemberGuidanceLabels as n, TrustMemberTypes as r, TRUST_DEFAULT_DESCRIPTIONS_MAP as t };
@@ -1,10 +0,0 @@
1
- import type { ComponentChildren } from 'preact';
2
- interface NewSummaryProps {
3
- /**
4
- * The content of the summary, in render order: typically an error panel, a `SummarySection` per
5
- * section of data, and any trailing content such as a legal caption.
6
- */
7
- children?: ComponentChildren;
8
- }
9
- export declare const NewSummary: ({ children }: NewSummaryProps) => import("preact/jsx-runtime").JSX.Element;
10
- export {};
@@ -1,17 +0,0 @@
1
- import type { JSX } from 'preact';
2
- import type { Namespace, NsTranslatable } from '../../../../types';
3
- interface RegularSummaryItem<NS extends Namespace = Namespace> {
4
- summaryLabel: NsTranslatable<NS>;
5
- summaryValue: string | null | JSX.Element;
6
- preTranslated?: false;
7
- }
8
- interface PreTranslatedSummaryItem {
9
- summaryLabel: string;
10
- summaryValue: string | null | JSX.Element;
11
- preTranslated: true;
12
- }
13
- export type SummaryItem<NS extends Namespace = Namespace> = RegularSummaryItem<NS> | PreTranslatedSummaryItem;
14
- export declare const isSummaryItem: (val: unknown) => val is SummaryItem<"common">;
15
- export declare const summaryItem: <NS extends Namespace = Namespace>(summaryLabel: RegularSummaryItem<NS>["summaryLabel"], summaryValue: RegularSummaryItem<NS>["summaryValue"]) => RegularSummaryItem<NS>;
16
- export declare const preTranslatedSummaryItem: (summaryLabel: PreTranslatedSummaryItem["summaryLabel"], summaryValue: PreTranslatedSummaryItem["summaryValue"]) => PreTranslatedSummaryItem;
17
- export {};
@@ -1,17 +0,0 @@
1
- import type { AddressSchema } from '../../../../forms/Address/types';
2
- import type { LocalizedScriptSchema } from '../../../../../../types/localizedScriptSchema';
3
- /**
4
- * These mirror the `AddressSchema` fields named in each comment, but hold a localized name rather
5
- * than the dataset value: a prefecture arrives as `大阪府`, not as a `StateCode`.
6
- */
7
- interface LocalizedAddressFields {
8
- stateOrProvince?: string;
9
- city?: string;
10
- street?: string;
11
- }
12
- export type JpLocalizedAddressSchema = LocalizedScriptSchema<LocalizedAddressFields, 'jaHani'> & LocalizedScriptSchema<Omit<LocalizedAddressFields, 'street'>, 'jaKana'>;
13
- export type JpAddressSchema = AddressSchema & JpLocalizedAddressSchema & {
14
- street2FullWidth?: string;
15
- };
16
- export declare const JP_ADDRESS_REQUIRED_FIELDS: Array<keyof JpAddressSchema>;
17
- export {};
@@ -1,11 +0,0 @@
1
- try {
2
- let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
3
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "9723cf93-874a-4450-aa37-c2e305e6cf60", e._sentryDebugIdIdentifier = "sentry-dbid-9723cf93-874a-4450-aa37-c2e305e6cf60");
4
- } catch (e) {}
5
- var UnincorporatedPartnershipMemberTypes = {
6
- SECONDARY_PARTNER: "secondaryPartner",
7
- OWNER: "uboThroughOwnership",
8
- CONTROLLING_PERSON: "uboThroughControl"
9
- };
10
- //#endregion
11
- export { UnincorporatedPartnershipMemberTypes as t };