@adyen/kyc-components 4.19.0 → 4.20.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Accordion-BnhH5-eC.js → Accordion-BWdAGMRb.js} +1 -1
- package/dist/{AccountSetupRejected-VkyroW_s.js → AccountSetupRejected-N5q1VKpW.js} +2 -2
- package/dist/AdaptiveWorkflow-C8N4ayEt.js +5112 -0
- package/dist/{AdaptiveWorkflowComponent-BhHqJMaU.js → AdaptiveWorkflowComponent-CEMgH36B.js} +36 -36
- package/dist/{Address-qf5qFwua.js → Address-DQlehM6f.js} +8 -7
- package/dist/{AddressField-eulmJMt_.js → AddressField-BnboPpBe.js} +12 -253
- package/dist/{Avatar-Y_RdG_YY.js → Avatar-CeZIQS8n.js} +1 -1
- package/dist/{BusinessFinancingDropin-xtcAFZEN.js → BusinessFinancingDropin-CFKrcdPb.js} +33 -32
- package/dist/{BusinessFinancingPage-Dt2Va-qf.js → BusinessFinancingPage-DIrEOTbn.js} +33 -33
- package/dist/{utils-BFaY6wGW.js → BusinessRegistrationNumberField-DGBqMCwU.js} +301 -53
- package/dist/{BusinessTypeSelectionPage-CKrWo9e-.js → BusinessTypeSelectionPage-CyMTri8M.js} +18 -17
- package/dist/{Button-BuhgDsyo.js → Button-Cm7cT6BX.js} +1 -1
- package/dist/{Checkbox-CFN5ywvv.js → Checkbox-faFUul66.js} +1 -1
- package/dist/{CompanyRegistrationNumberTypeSelector-DDWIMP-t.js → CompanyRegistrationNumberTypeSelector-KkPiHDQk.js} +8 -8
- package/dist/{ContactDetails-Co7J7Hjc.js → ContactDetails-CQZ7kMSU.js} +7 -7
- package/dist/{ContextGuidance-RV1m2efV.js → ContextGuidance-CpLYhcU8.js} +2 -2
- package/dist/{CountryField-BTVLTRup.js → CountryField-DQnWXgAu.js} +26 -21
- package/dist/{Currency-DfCp7hwP.js → Currency-DJTE2WJJ.js} +8 -59
- package/dist/{CustomerSupport-fg0-Upw5.js → CustomerSupport-BkE-Ej6L.js} +14 -14
- package/dist/{DataConflictsModal-CVgcvjm6.js → DataConflictsModal-BhZpZhFP.js} +7 -7
- package/dist/{DebugModal-CaI-iWEa.js → DebugModal-C_O14NUN.js} +10 -10
- package/dist/{DecisionMakerDetails-JYY15piY.js → DecisionMakerDetails-BZEv2fPu.js} +17 -17
- package/dist/{DecisionMakerDetailsPage-UMAQo28h.js → DecisionMakerDetailsPage-DhCtiSzf.js} +12 -12
- package/dist/{DecisionMakers-DeQLYGwW.js → DecisionMakers-BPLn2iHA.js} +18 -18
- package/dist/{Dropzone-Dmtomtl2.js → Dropzone-DAvxNuAu.js} +7 -7
- package/dist/{EmbeddedStatus-sHJnhw3K.js → EmbeddedStatus-uz3Ivsyw.js} +4 -4
- package/dist/{EndStateLayout-CddZpAGD.js → EndStateLayout-BUK64Vqu.js} +2 -2
- package/dist/{EntityAssociation-vg8k3YiH.js → EntityAssociation-CBbcX-5M.js} +7 -7
- package/dist/{ErrorPanel-DysmW3Hz.js → ErrorPanel-C2hG0lLe.js} +4 -4
- package/dist/GlobalEntryModal-cQF6Bfim.js +353 -0
- package/dist/{GlobalEntryPage-CrjiJG7v.js → GlobalEntryPage-C6OnSwBj.js} +10 -10
- package/dist/{Image-Dc5Xg1_Y.js → Image-8SOcICah.js} +1 -1
- package/dist/{Individual.rules-Fg_j4_io.js → Individual.rules-D1Mmr7tv.js} +7 -11
- package/dist/{IndividualDropin-D5qyhkH7.js → IndividualDropin-KG_mOjri.js} +64 -67
- package/dist/{InputDate-Cp2ga0F5.js → InputDate-DDVX2D-5.js} +2 -2
- package/dist/{InputText-CRkApOKK.js → InputText-Cf9ccCaj.js} +5 -5
- package/dist/{Introduction-Dd72HuvK.js → Introduction-Dsy_e4OL.js} +8 -8
- package/dist/{InvitedDecisionMakerComponent-BR14VLnP.js → InvitedDecisionMakerComponent-Bzj7Szw8.js} +41 -41
- package/dist/{JpAddress-C7eDuCDV.js → JpAddress-CMYhw2Zl.js} +19 -17
- package/dist/{JpAddress.module-DNwEnPzj.js → JpAddress.module-CiY5uzmL.js} +4 -4
- package/dist/{JpAddressFields-CB889sWX.js → JpAddressFields-DqJ7Am2I.js} +15 -14
- package/dist/{LegalCompanyNameField-BVyQCVUE.js → LegalCompanyNameField-DGdSduXu.js} +5 -5
- package/dist/{LegalRepresentativeDetailsPage-BNFIn6Qh.js → LegalRepresentativeDetailsPage-DODrlxF0.js} +8 -8
- package/dist/{Link-PH3F7iTO.js → Link-B7RA2gSt.js} +1 -1
- package/dist/{ListItem-B-gDVdRO.js → ListItem-Cy46BXUv.js} +27 -4
- package/dist/{MaskedInput-DwP4ZWTk.js → MaskedInput-BZLm8L47.js} +11 -11
- package/dist/{Modal-BYdlsXkf.js → Modal-nylR9F4X.js} +1 -1
- package/dist/{Name-DfZeGh8m.js → Name-C0ti1xY6.js} +5 -5
- package/dist/{NewSummary-DebON3Ge.js → NewSummary-DDwQJV7w.js} +6 -6
- package/dist/{PatriotActDisclosure-V0iYQAp7.js → PatriotActDisclosure-CB0N3iIz.js} +15 -15
- package/dist/{PayoutDetailsDropin-DtLitjwp.js → PayoutDetailsDropin-9LoGCmko.js} +187 -135
- package/dist/{PayoutDetailsPage-Bul0UWe-.js → PayoutDetailsPage-DV8fIktn.js} +10 -10
- package/dist/{RadioGroup-BcojlKCO.js → RadioGroup-BUwhfue7.js} +3 -3
- package/dist/{Review-EaL1BttB.js → Review-C2JLh6M0.js} +8 -8
- package/dist/{RootBusinessDetailsPage-Cwc8cZOY.js → RootBusinessDetailsPage-D-T5SbYt.js} +10 -10
- package/dist/{RootBusinessLinesPage-CLsMhxkV.js → RootBusinessLinesPage-BZNLFGSY.js} +30 -30
- package/dist/{RootIndividualDetailsPage-Nfm0kzJq.js → RootIndividualDetailsPage-wO9DNKWn.js} +10 -10
- package/dist/{Select-C5sy6Wux.js → Select-B5Mo0Bpw.js} +12 -13
- package/dist/{SignPCIComponent-CaTaPQHb.js → SignPCIComponent-CZmCa0AY.js} +56 -54
- package/dist/{SingpassSelection-COig4k8W.js → SingpassSelection-BTZe82Q8.js} +6 -6
- package/dist/SoleProprietorshipPage-Dfzyn6Br.js +70 -0
- package/dist/{SourceOfFundsPage-DEABiUWz.js → SourceOfFundsPage-l899LDLv.js} +58 -44
- package/dist/{StructuredList-D54Bpjf4.js → StructuredList-DR8Fb1tc.js} +4 -4
- package/dist/{TaskListItem-CB0kZVlT.js → TaskListItem-1n3vYDAz.js} +11 -11
- package/dist/{TaskVerificationStatus-ITLSeoau.js → TaskVerificationStatus-DMj8rsZ_.js} +1 -1
- package/dist/{TaxReportingDropin-9lSgx-Sv.js → TaxReportingDropin-BYOpjW8V.js} +18 -18
- package/dist/{TermsOfServiceManagement-CbgkpeNu.js → TermsOfServiceManagement-BUvv59rD.js} +68 -66
- package/dist/{TextArea-BzCbFjRp.js → TextArea-CoS-i-FF.js} +3 -3
- package/dist/{TrustDetailsPage-pJ_aGyVV.js → TrustDetailsPage-BQjA8lmD.js} +341 -318
- package/dist/TrustMemberCompanyPage-3189PHUn.js +109 -0
- package/dist/TrustMemberIndividualPage-DOFGzN7Z.js +110 -0
- package/dist/{TrustMemberRoleAndTypePage-DjE53lNn.js → TrustMemberRoleAndTypePage-nDSoM_rw.js} +19 -19
- package/dist/{TrustMembersOverview-z8U7UWHS.js → TrustMembersOverview-CxiKjCLV.js} +14 -14
- package/dist/UnincorporatedPartnershipIndividualPage-D-46tLiw.js +79 -0
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-DOBh4lR1.js → UnincorporatedPartnershipMemberCompanyPage-CCnm-ShL.js} +37 -37
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-9i54lBKZ.js → UnincorporatedPartnershipMemberRoleAndTypePage-CsECHFgr.js} +11 -11
- package/dist/{UnincorporatedPartnershipMembersOverview-DFeXZDC8.js → UnincorporatedPartnershipMembersOverview-C8fwIn45.js} +9 -9
- package/dist/{VerificationErrorAlert-B3dqg4d3.js → VerificationErrorAlert-7hKN39sx.js} +4 -4
- package/dist/{accountHolderUtils-CV8i1K0q.js → accountHolderUtils-Cw7X31mH.js} +1 -1
- package/dist/adyen-business-financing.js +34 -34
- package/dist/adyen-individual-configuration.js +34 -34
- package/dist/adyen-individual-status.js +33 -33
- package/dist/adyen-invited-decision-maker.js +3 -3
- package/dist/adyen-onboarding.js +60 -60
- package/dist/adyen-terms-of-service-management.js +3 -3
- package/dist/adyen-terms-of-service-status.js +6 -6
- package/dist/adyen-transfer-instrument-configuration.js +33 -33
- package/dist/adyen-transfer-instrument-management.js +40 -40
- package/dist/adyen-verification-status.js +6 -6
- package/dist/{bafinUtils-qakcO27e.js → bafinUtils-vdTD2Ec5.js} +19 -19
- package/dist/bg-BG-Bmveyt6S.js +7 -0
- package/dist/{constants-L0qE2dbE.js → constants-Bs5FgdWg.js} +4 -4
- package/dist/{country-BxigZW1s.js → country-IYuKDSdC.js} +14 -2
- package/dist/cs-CZ-D5CQd_YI.js +7 -0
- package/dist/da-DK-Bl0-8FN4.js +7 -0
- package/dist/de-DE-Hah2EvAY.js +7 -0
- package/dist/el-GR-C9KGlGa7.js +7 -0
- package/dist/{en-US-CWDI7JKT.js → en-US-BFM81i9K.js} +3 -1
- package/dist/{en-US-CeiLSh8o.js → en-US-BorLJXJ4.js} +3 -1
- package/dist/en-US-Del1h5SS.js +23 -0
- package/dist/en-US-DqhKW1eC.js +7 -0
- package/dist/en-US-X8pjkwa3.js +7 -0
- package/dist/{omitObscuredFieldsIfUnchanged-BhxAICdT.js → error-BatJzHF5.js} +19 -3
- package/dist/es-ES-DSwi-qfd.js +7 -0
- package/dist/es-LA-0IrX8yr2.js +7 -0
- package/dist/es-LA-1H8dAUVR.js +7 -0
- package/dist/es-LA-BjZq9RK_.js +7 -0
- package/dist/{es-LA-DU9jNyAv.js → es-LA-CGrMi4rR.js} +2 -2
- package/dist/{es-LA-DMpf5gAW.js → es-LA-DBBkFhgU.js} +2 -2
- package/dist/et-EE-BGpsJPjk.js +7 -0
- package/dist/fi-FI-BdrXeX9d.js +7 -0
- package/dist/{filterProblemsByTaskForms-CQby20PN.js → filterProblemsByTaskForms-DaJ3LZ2L.js} +11 -11
- package/dist/{form-rules-wh_oE1AN.js → form-rules-DV3hxYqZ.js} +2 -2
- package/dist/formatValidationError-CZ5MeYBS.js +23 -0
- package/dist/fr-FR-hleHEr-Y.js +7 -0
- package/dist/{getProblemsForEntity-set4Krmx.js → getProblemsForEntity-DStlTvE-.js} +2 -2
- package/dist/{getTrustedDecisionMakers-B_XpRta-.js → getTrustedDecisionMakers-CAbhvydj.js} +2 -2
- package/dist/hr-HR--ti3n_XO.js +7 -0
- package/dist/{http-CFac2y4i.js → http-D6AdUBhO.js} +57 -2
- package/dist/hu-HU-D9Avt-9f.js +7 -0
- package/dist/it-IT-Dq5z7p1-.js +7 -0
- package/dist/ja-JP-Dyhw0Ycj.js +7 -0
- package/dist/japanSupportUtils-H5Zfox2v.js +11 -0
- package/dist/{localizeDateString-BRB4gPDZ.js → localizeDateString-D-MlYN4V.js} +1 -1
- package/dist/lt-LT-BMI4JzrS.js +7 -0
- package/dist/lv-LV-LkNZQ__4.js +7 -0
- package/dist/mapExistingFile-LvvzPjnk.js +55 -0
- package/dist/{mapJpAddressSchemaToAddressLocalizations-D9928vV-.js → mapJpAddressSchemaToAddressLocalizations-6nfrRniy.js} +3 -51
- package/dist/{mapLegalEntityToIndividualSchema-C6zpRY2L.js → mapLegalEntityToIndividualSchema-1JDK92Nc.js} +8 -8
- package/dist/{mapTransferInstrumentToPayoutAccount-DAXQcZKf.js → mapTransferInstrumentToPayoutAccount-cKBtK0Qx.js} +2 -2
- package/dist/nl-NL-CC2r7Ldv.js +7 -0
- package/dist/no-NO-V7_rz3uN.js +7 -0
- package/dist/{patternValidators-Crk2JcIC.js → patternValidators-tRq-KPvW.js} +1 -1
- package/dist/pl-PL-2QyKX67Y.js +7 -0
- package/dist/{processCapabilities-zti_0yUx.js → processCapabilities-BSpmJOEd.js} +13 -13
- package/dist/{processValidationErrors-N1ZuAvVY.js → processValidationErrors-PJV6CPG2.js} +2 -2
- package/dist/pt-BR-D08Fo1qY.js +7 -0
- package/dist/pt-PT-BAQWYDe6.js +7 -0
- package/dist/{resolveEnvironment-BHPgG5Ko.js → resolveEnvironment-df20S4SQ.js} +39 -39
- package/dist/ro-RO-wG0rfL5w.js +7 -0
- package/dist/sk-SK-DJinBnS1.js +7 -0
- package/dist/sl-SI-DUaLO_J7.js +7 -0
- package/dist/style.css +153 -139
- package/dist/styles-DYaAeu4q.js +153 -139
- package/dist/sv-SE-5uxyEq2a.js +7 -0
- package/dist/toFullWidth-Dgy4X4i8.js +52 -0
- package/dist/{translation-CcKrUksA.js → translation-DH4IlMCP.js} +6 -2
- package/dist/types/adaptiveWorkflow/component-registry-v2.d.ts +46 -0
- package/dist/types/adaptiveWorkflow/components/Fields/IdentityScreening/IdentityScreeningWorkflow.d.ts +1 -2
- package/dist/types/adaptiveWorkflow/components/Layout/ComponentGroup/ComponentGroup.d.ts +6 -0
- package/dist/types/adaptiveWorkflow/components/Layout/ComponentGroup/contextMap.d.ts +5 -0
- package/dist/types/adaptiveWorkflow/components/Layout/DynamicForm/DynamicForm.d.ts +6 -0
- package/dist/types/adaptiveWorkflow/components/Layout/DynamicForm/useCustomerDataV2.d.ts +28 -0
- package/dist/types/adaptiveWorkflow/components/Layout/Steps/AcceptTermsOfServiceWorkflow.d.ts +2 -0
- package/dist/types/adaptiveWorkflow/components/Layout/Steps/IdentityScreeningWorkflow.d.ts +2 -0
- package/dist/types/adaptiveWorkflow/components/Layout/Steps/SourceOfFundsWorkflow.d.ts +2 -0
- package/dist/types/adaptiveWorkflow/components/Layout/Steps/Step/Step.d.ts +2 -0
- package/dist/types/adaptiveWorkflow/components/Layout/Steps/Step/contextMap.d.ts +2 -0
- package/dist/types/adaptiveWorkflow/components/Layout/Steps/TaxReportingWorkflow.d.ts +2 -0
- package/dist/types/adaptiveWorkflow/components/Layout/Task/Task.d.ts +9 -0
- package/dist/types/adaptiveWorkflow/components/Layout/Task/contextMap.d.ts +2 -0
- package/dist/types/adaptiveWorkflow/components/Layout/TaskGroup/TaskGroup.d.ts +5 -0
- package/dist/types/adaptiveWorkflow/components/Layout/TaskGroup/contextMap.d.ts +2 -0
- package/dist/types/adaptiveWorkflow/components/Layout/UboTaskItem/UboTaskItem.d.ts +8 -0
- package/dist/types/adaptiveWorkflow/components/Layout/Workflow/Workflow.d.ts +8 -0
- package/dist/types/adaptiveWorkflow/components/NodeRenderer/CompoundFieldRenderer.d.ts +6 -0
- package/dist/types/adaptiveWorkflow/components/NodeRenderer/LayoutRenderer.d.ts +7 -0
- package/dist/types/adaptiveWorkflow/components/NodeRenderer/NodeRenderer.d.ts +20 -0
- package/dist/types/adaptiveWorkflow/components/NodeRenderer/SimpleFieldRenderer.d.ts +6 -0
- package/dist/types/adaptiveWorkflow/components/NodeRenderer/SpecializedStepRenderer.d.ts +7 -0
- package/dist/types/adaptiveWorkflow/components/WorkflowHeading/WorkflowHeading.d.ts +1 -1
- package/dist/types/adaptiveWorkflow/components/types.d.ts +31 -0
- package/dist/types/adaptiveWorkflow/context/TaskStepperContext/TaskStepperContext.d.ts +19 -0
- package/dist/types/adaptiveWorkflow/context/TaskStepperContext/TaskStepperContextProvider.d.ts +22 -0
- package/dist/types/adaptiveWorkflow/context/TaskStepperContext/useHideTaskStepper.d.ts +6 -0
- package/dist/types/adaptiveWorkflow/context/TaskStepperContext/useTaskStepperContext.d.ts +1 -0
- package/dist/types/adaptiveWorkflow/utils/getNodeType.d.ts +11 -0
- package/dist/types/adaptiveWorkflow/utils/getProgressSteps.d.ts +4 -0
- package/dist/types/api/adaptive/adaptiveWorkflow.types.d.ts +2 -1
- package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/payoutDetailsFormConfig.d.ts +6 -1
- package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/usePayoutAccountFormat.d.ts +10 -0
- package/dist/types/components/Business/forms/AdditionalInformation/types.d.ts +2 -29
- package/dist/types/components/Business/forms/AdditionalInformation/utils.d.ts +0 -27
- package/dist/types/components/Business/forms/BasicInformation/types.d.ts +2 -2
- package/dist/types/components/Business/forms/BusinessDetails/BusinessDetails.d.ts +2 -2
- package/dist/types/components/Business/forms/rules.d.ts +7 -3
- package/dist/types/components/Business/hooks/useBusinessDetailsData.d.ts +2 -3
- package/dist/types/components/Business/hooks/useSubmitBusinessDetails.types.d.ts +3 -3
- package/dist/types/components/Business/mapping/businessDetails/mapBusinessDetailsSchemaToLegalEntity.d.ts +2 -2
- package/dist/types/components/Business/mapping/businessDetails/mapLegalEntityToBusinessDetailsSchema.d.ts +2 -2
- package/dist/types/components/Business/pages/RootBusinessDetailsPage.d.ts +1 -1
- package/dist/types/components/{SoleProprietorship → Business}/pages/SoleProprietorshipPage.d.ts +2 -2
- package/dist/types/components/{Trust → Business}/pages/TrustMemberCompanyPage.d.ts +3 -3
- package/dist/types/components/{UnincorporatedPartnership → Business}/pages/UnincorporatedPartnershipMemberCompanyPage.d.ts +3 -3
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/BusinessDetailsDropin.d.ts +1 -1
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/businessDetailsStore.d.ts +2 -2
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/types.d.ts +5 -5
- package/dist/types/components/Business/utils/applyVerifiedBusinessData.d.ts +6 -2
- package/dist/types/components/Business/utils/utils.d.ts +3 -5
- package/dist/types/components/EFP/mapping/businessFinancingKeyMappings.d.ts +93 -93
- package/dist/types/components/EFP/tasks/SourceOfFundsDropin/SOFAdditionalData/SOFFinancierModal.d.ts +5 -5
- package/dist/types/components/EFP/tasks/SourceOfFundsDropin/utils.d.ts +2 -1
- package/dist/types/components/GlobalEntry/constants.d.ts +13 -3
- package/dist/types/components/GlobalEntry/fields/EntitySetupField/types.d.ts +1 -1
- package/dist/types/components/GlobalEntry/fields/PaperworkQuestionnaire/PaperworkQuestionnaire.d.ts +3 -0
- package/dist/types/components/GlobalEntry/fields/PaperworkQuestionnaire/types.d.ts +5 -0
- package/dist/types/components/GlobalEntry/fields/UnincorporatedOrganizationTypeField/UnincorporatedOrganizationTypeField.d.ts +2 -0
- package/dist/types/components/GlobalEntry/fields/UnincorporatedOrganizationTypeField/types.d.ts +5 -0
- package/dist/types/components/GlobalEntry/forms/RegistrationInformation/RegistrationInformation.d.ts +5 -0
- package/dist/types/components/GlobalEntry/forms/RegistrationInformation/types.d.ts +3 -0
- package/dist/types/components/GlobalEntry/tasks/types.d.ts +2 -0
- package/dist/types/components/GlobalEntry/validate.d.ts +9 -0
- package/dist/types/components/Individual/fields/DriversLicense/DriversLicense.types.d.ts +2 -2
- package/dist/types/components/Individual/forms/AdditionalPersonalDetails/Identity/TypeOfIdentity/index.d.ts +2 -2
- package/dist/types/components/Individual/forms/GuidanceQuestion/GuidanceQuestion.d.ts +4 -3
- package/dist/types/components/{Trust → Individual}/pages/TrustMemberIndividualPage.d.ts +2 -2
- package/dist/types/components/{UnincorporatedPartnership → Individual}/pages/UnincorporatedPartnershipIndividualPage.d.ts +2 -2
- package/dist/types/components/Shared/fields/RegistrationAndOperationalAddressFields/RegistrationAndOperationalAddressFields.d.ts +3 -0
- package/dist/types/components/Shared/fields/RegistrationAndOperationalAddressFields/types.d.ts +53 -0
- package/dist/types/components/Shared/fields/RegistrationAndOperationalAddressFields/utils.d.ts +28 -0
- package/dist/types/components/Shared/fields/TaxInformationField/TaxIdNumberTypeSelector/TaxIdNumberTypeSelector.d.ts +2 -2
- package/dist/types/components/Shared/forms/Address/SearchAddress.d.ts +2 -1
- package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
- package/dist/types/components/Trust/forms/Trust/rules.d.ts +12 -0
- package/dist/types/components/Trust/forms/Trust/types.d.ts +4 -4
- package/dist/types/components/Trust/forms/TrustRegistrationAddress/TrustRegistrationAddress.d.ts +2 -0
- package/dist/types/components/Trust/forms/TrustRegistrationAddress/types.d.ts +9 -0
- package/dist/types/components/Trust/mapping/mapTrustToLegalEntity.d.ts +2 -2
- package/dist/types/components/Trust/tasks/TrustDropin/Trust.d.ts +2 -1
- package/dist/types/components/Trust/utils/formatDataForSummary.d.ts +6 -0
- package/dist/types/components/UnincorporatedPartnership/mapping/mapUnincorporatedPartnershipToLegalEntity.d.ts +2 -2
- package/dist/types/components/UnincorporatedPartnership/tasks/UnincorporatedPartnershipRoleAndType/UnincorporatedPartnershipRadioGroup.d.ts +2 -2
- package/dist/types/components/ui/atoms/Field/Field.types.d.ts +8 -2
- package/dist/types/components/ui/atoms/TileGroup/TileGroup.d.ts +3 -3
- package/dist/types/context/WorkflowContext/WorkflowContext.d.ts +3 -1
- package/dist/types/hooks/singpass/useSingpassMyInfoLogin.d.ts +3 -3
- package/dist/types/hooks/useForm/types.d.ts +3 -2
- package/dist/types/hooks/useLegalCompanyNameField/useLegalCompanyNameField.d.ts +1 -1
- package/dist/types/hooks/useScenarioConfiguration.d.ts +1 -16
- package/dist/types/hooks/useUboQuestionnaire.d.ts +1 -1
- package/dist/types/router/routeConfig.d.ts +5 -5
- package/dist/types/types/form-rules.d.ts +0 -2
- package/dist/types/utils/country.d.ts +6 -0
- package/dist/types/utils/decodeJwt.d.ts +13 -0
- package/dist/types/utils/entityStatusUtil.d.ts +1 -1
- package/dist/types/utils/formUtils.d.ts +4 -3
- package/dist/types/utils/validation/formatValidationError.d.ts +11 -0
- package/dist/types/utils/validation/types.d.ts +4 -4
- package/dist/{types-lzI_sUwT.js → types-BLWT7WnU.js} +1 -1
- package/dist/{useAssociatedLegalEntity-DB8HCSwp.js → useAssociatedLegalEntity-CzQlHWXy.js} +2 -2
- package/dist/{useBusinessDetailsData-_7t1A_p2.js → useBusinessDetailsData-CRLRQh0U.js} +197 -356
- package/dist/{useBusinessLines-CfQYLNkw.js → useBusinessLines-D-rc-Z6G.js} +1 -1
- package/dist/{useCanSeeIntroduction-Jkw8uz5N.js → useCanSeeIntroduction-BeooAHcX.js} +1 -1
- package/dist/{useCreateLegalEntity-CVBjJUw_.js → useCreateLegalEntity-Ctdmk3Ky.js} +1 -1
- package/dist/{useDataMissingRemediations-BEdoAjt3.js → useDataMissingRemediations-DNZ_UDbI.js} +2 -2
- package/dist/{useForm-26r9IKF_.js → useForm-BLP36oqX.js} +3 -3
- package/dist/{useId-BwLQ-75v.js → useId-po-YSdTw.js} +3 -3
- package/dist/{useLegalEntity-BqO7Fmt0.js → useLegalEntity-DR51Q4mE.js} +1 -1
- package/dist/{useNavigate-DvOGhK-A.js → useNavigate-CcVYYcg1.js} +33 -33
- package/dist/{useOnboardingStatus-Bg1z2ftv.js → useOnboardingStatus-op5TyMUR.js} +1 -1
- package/dist/{usePciQuestionnaireList-Dq1w684P.js → usePciQuestionnaireList-BZsgbrTy.js} +1 -1
- package/dist/{useSalesChannels-D66W1KV8.js → useSalesChannels-Mi6DmHab.js} +2 -2
- package/dist/{useScenarios-BunWDxgO.js → useScenarios-Bne3C0PV.js} +1 -1
- package/dist/{useTaskLandedEvent-BTVaABDA.js → useTaskLandedEvent-C7fcguXK.js} +1 -1
- package/dist/{useTaskStatus-B_-IRF4H.js → useTaskStatus-Be6XyW54.js} +1 -1
- package/dist/{useTermsOfServiceStatus-CGIpBA0U.js → useTermsOfServiceStatus-D0NHUKl_.js} +1 -1
- package/dist/{useTrustMembers-DAFo_ibm.js → useTrustMembers-HJpKc0qR.js} +5 -5
- package/dist/{useUnincorporatedPartnershipMembers-DgD91qBf.js → useUnincorporatedPartnershipMembers-C5CNWe_U.js} +2 -2
- package/dist/{useUpdateBusinessLines-C2xW-32U.js → useUpdateBusinessLines-D6D9DAn1.js} +1 -1
- package/dist/{useUpdateLegalEntity-B4x3gely.js → useUpdateLegalEntity-CH4xp654.js} +2 -2
- package/dist/{utils-DbIq3tru.js → utils-BbBPfcNK.js} +7 -7
- package/dist/{utils-D8hL_fNA.js → utils-C8WDAzsL.js} +1 -1
- package/dist/{utils-DbQT0YgG.js → utils-Di84CxrF.js} +5 -5
- package/dist/{validate-K01plHbc.js → validate-BNu91k9j.js} +4 -4
- package/dist/validate-CkuU4MvS.js +250 -0
- package/dist/{validate-N3t8r03y.js → validate-CsYDNrPB.js} +1 -1
- package/dist/{validateExtractionResult-YhFC9maw.js → validateExtractionResult-mtXTjYfE.js} +10 -10
- package/dist/{validationError-q9Js1v0m.js → validationError-1dpZJlAz.js} +1 -1
- package/package.json +3 -4
- package/dist/AdaptiveWorkflow-DV_JyPw8.js +0 -1896
- package/dist/GlobalEntryModal-BHlZmq4-.js +0 -188
- package/dist/SoleProprietorshipPage-Ctcz1qNr.js +0 -70
- package/dist/TrustMemberCompanyPage-vqkIF_0s.js +0 -109
- package/dist/TrustMemberIndividualPage-CS_tABNQ.js +0 -109
- package/dist/UnincorporatedPartnershipIndividualPage-9uHIQImj.js +0 -79
- package/dist/bg-BG-BXAB4Qsj.js +0 -7
- package/dist/cs-CZ-DG5rPvy2.js +0 -7
- package/dist/da-DK-BnW-O75l.js +0 -7
- package/dist/de-DE-DUiPzmSc.js +0 -7
- package/dist/el-GR-1n3FJpd3.js +0 -7
- package/dist/en-US-B48_sHax.js +0 -13
- package/dist/en-US-BV2Gye3t.js +0 -7
- package/dist/en-US-CqjOvqxV.js +0 -7
- package/dist/es-ES-Cp45mlyV.js +0 -7
- package/dist/es-LA-BU32JqC-.js +0 -7
- package/dist/es-LA-Cyf48j4P.js +0 -7
- package/dist/es-LA-De_gTMKb.js +0 -7
- package/dist/et-EE-B4czzgF8.js +0 -7
- package/dist/fi-FI-D08MUkuM.js +0 -7
- package/dist/fr-FR-BxDpVfWO.js +0 -7
- package/dist/getTrustedFields-BJ88GlM-.js +0 -28
- package/dist/hr-HR-DGQMquDg.js +0 -7
- package/dist/hu-HU-Eofp7khl.js +0 -7
- package/dist/it-IT-CD7NJtJa.js +0 -7
- package/dist/ja-JP-YvXztswF.js +0 -7
- package/dist/lt-LT-Cjx4H-0R.js +0 -7
- package/dist/lv-LV-Ckf37gXo.js +0 -7
- package/dist/mapExistingFile-BOXehUNN.js +0 -138
- package/dist/nl-NL-DFHAkUK3.js +0 -7
- package/dist/no-NO-B6frLiko.js +0 -7
- package/dist/pl-PL-DnYkTdjO.js +0 -7
- package/dist/pt-BR-65dQv8uO.js +0 -7
- package/dist/pt-PT-D0fXeW1f.js +0 -7
- package/dist/ro-RO-CNj95qQn.js +0 -7
- package/dist/sk-SK-C0x9Vs2X.js +0 -7
- package/dist/sl-SI-BikBCOJK.js +0 -7
- package/dist/sv-SE-BGP9Lmku.js +0 -7
- package/dist/types/components/Shared/forms/RegistrationAddress/RegistrationAddress.d.ts +0 -3
- package/dist/types/components/Shared/forms/RegistrationAddress/RegistrationAddressMultiform.d.ts +0 -3
- package/dist/types/components/Shared/forms/RegistrationAddress/types.d.ts +0 -26
- package/dist/types/components/Shared/forms/RegistrationAddress/validate.d.ts +0 -3
- package/dist/types/utils/getDisplayErrorMessage.d.ts +0 -2
- /package/dist/types/components/{SoleProprietorship → Trust}/hooks/useExemptSettlor.d.ts +0 -0
|
@@ -1,69 +1,73 @@
|
|
|
1
1
|
try {
|
|
2
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] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "07fcd903-75cf-4d9d-9dcf-a1f344fbe36c", e._sentryDebugIdIdentifier = "sentry-dbid-07fcd903-75cf-4d9d-9dcf-a1f344fbe36c");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { i as Typography, o as createLogger, r as useTranslation, t as Trans } from "./translation-
|
|
6
|
-
import { B as INDIVIDUAL_VALID_CHAR_REGEX, C as useDataset, D as useCapabilities, E as useAllowedCountries, G as SPECIAL_CHARS,
|
|
7
|
-
import { r as Loader, t as Button } from "./Button-
|
|
8
|
-
import { n as httpGet, r as httpPost, s as useApiContext } from "./http-
|
|
5
|
+
import { i as Typography, o as createLogger, r as useTranslation, t as Trans } from "./translation-DH4IlMCP.js";
|
|
6
|
+
import { B as INDIVIDUAL_VALID_CHAR_REGEX, C as useDataset, D as useCapabilities, E as useAllowedCountries, G as SPECIAL_CHARS, Q as hasMaximumTwoRepeatedCharacters, T as datasetUtilities, U as NO_ALPHABET_UNICODE_REGEX, Y as getFormattingRegEx, c as isLegalRepresentativeNeeded, ct as standardKanjiValidator, et as hasText, ft as useAccountHolder, it as isInvalidName, j as useToggleContext, k as Header, lt as standardKatakanaValidator, nt as isEmpty, o as getAgeRangeForLegalRepresentative, s as getAgeToday, st as matchesRegex, w as datasetIdentifier, x as Alert, z as EMOJI_REGEX } from "./resolveEnvironment-df20S4SQ.js";
|
|
7
|
+
import { r as Loader, t as Button } from "./Button-Cm7cT6BX.js";
|
|
8
|
+
import { n as httpGet, r as httpPost, s as useApiContext } from "./http-D6AdUBhO.js";
|
|
9
9
|
import { t as LegalEntityTypes } from "./legal-entity-type-0MfCGzUf.js";
|
|
10
10
|
import { t as getLegalEntityCountry } from "./getLegalEntityCountry-BHh7Ux8v.js";
|
|
11
11
|
import { t as useSettingsContext } from "./useSettingsContext-Bpf4UqRT.js";
|
|
12
12
|
import { i as drop, n as cloneObject, o as objectsDeepEqual, r as doArraysMatch } from "./AnalyticsContext-BnRQ9H1u.js";
|
|
13
13
|
import { r as euCountries, t as CountryCodes } from "./country-code-CJk2hdPu.js";
|
|
14
|
-
import { l as individualDocumentMapping, s as individualApiKeyMapping, u as individualObscuredFields } from "./processCapabilities-
|
|
14
|
+
import { l as individualDocumentMapping, s as individualApiKeyMapping, u as individualObscuredFields } from "./processCapabilities-BSpmJOEd.js";
|
|
15
15
|
import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
|
|
16
16
|
import { n as attachNomineeToRole, r as filterOutUnwantedAssociationsIfRootLE, s as getOwnEntityAssociations, u as hasNomineesChanged } from "./entityAssociationUtil-DLXInibJ.js";
|
|
17
17
|
import { t as DecisionMakerTypes } from "./decision-maker-type-NR4GFAeT.js";
|
|
18
18
|
import { t as Scenarios } from "./get-scenarios-Bb-paHmJ.js";
|
|
19
19
|
import { t as getAllowedDecisionMakerRoles } from "./decisionMakerRoles-CTy0faoW.js";
|
|
20
|
-
import { i as useAnalyticsContext, t as Modal } from "./Modal-
|
|
20
|
+
import { i as useAnalyticsContext, t as Modal } from "./Modal-nylR9F4X.js";
|
|
21
21
|
import { n as SettingNames } from "./debugStore-DpSgCNGn.js";
|
|
22
|
-
import { a as LandingLayout, i as getPropsFromConfigurations, o as TrustedFieldsProviders, r as composePerScenarioFormConfigurations } from "./form-rules-
|
|
23
|
-
import { r as useToastContext } from "./useId-
|
|
24
|
-
import { a as idNowPostSubmit, i as idNowModalChildEntityId, o as shouldShowIdNowModal, s as showIdNowModal } from "./bafinUtils-
|
|
25
|
-
import {
|
|
26
|
-
import { n as Confirm } from "./StructuredList-
|
|
27
|
-
import { C as FormContextProvider, a as getRequiredForms, b as createFormUtils, c as useMultiForm, d as useFormComposer, i as addValidityToForms, m as preTranslatedSummaryItem, n as CountryField, o as FormFlow, r as useFormContext, u as isTruthyValidator, x as mergeFieldMetadataIntoProps } from "./CountryField-
|
|
28
|
-
import { t as Image } from "./Image-
|
|
29
|
-
import { n as useFormRouterContext, t as ErrorPanel } from "./ErrorPanel-
|
|
22
|
+
import { a as LandingLayout, i as getPropsFromConfigurations, o as TrustedFieldsProviders, r as composePerScenarioFormConfigurations } from "./form-rules-DV3hxYqZ.js";
|
|
23
|
+
import { r as useToastContext } from "./useId-po-YSdTw.js";
|
|
24
|
+
import { a as idNowPostSubmit, i as idNowModalChildEntityId, o as shouldShowIdNowModal, s as showIdNowModal } from "./bafinUtils-vdTD2Ec5.js";
|
|
25
|
+
import { f as translateTranslatable, p as LoaderWrapper, r as Field, t as Select } from "./Select-B5Mo0Bpw.js";
|
|
26
|
+
import { n as Confirm } from "./StructuredList-DR8Fb1tc.js";
|
|
27
|
+
import { C as FormContextProvider, a as getRequiredForms, b as createFormUtils, c as useMultiForm, d as useFormComposer, i as addValidityToForms, m as preTranslatedSummaryItem, n as CountryField, o as FormFlow, r as useFormContext, u as isTruthyValidator, x as mergeFieldMetadataIntoProps } from "./CountryField-DQnWXgAu.js";
|
|
28
|
+
import { t as Image } from "./Image-8SOcICah.js";
|
|
29
|
+
import { n as useFormRouterContext, t as ErrorPanel } from "./ErrorPanel-C2hG0lLe.js";
|
|
30
30
|
import { t as getIndividualLegalEntityName } from "./getName-C5jqdkJg.js";
|
|
31
|
-
import { t as useScenarios } from "./useScenarios-
|
|
32
|
-
import { t as useCreateLegalEntity } from "./useCreateLegalEntity-
|
|
33
|
-
import { a as individualFormDefaultData, i as GuidanceQuestionValues, n as getOnfidoIdentityTypeToApiIdentityTypeMap, o as shouldNavigateToAdditionalPersonalDetailsForMissingData, r as GuidanceQuestion, s as useCreateInvitation, t as mapLegalEntityToIndividualSchema } from "./mapLegalEntityToIndividualSchema-
|
|
34
|
-
import { t as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
35
|
-
import {
|
|
36
|
-
import { a as contactDetailsValidationRules, c as getAsyncPhoneValidationRules, i as phonePrefixes_default, l as getPhonePlaceholder, n as contactDetailFields, o as defaultFieldMetadata, r as PhoneField, s as fieldConfig, t as ContactDetails, u as useValidatePhoneNumberImperatively } from "./ContactDetails-
|
|
37
|
-
import { i as useScenarioConfiguration, n as getPage, r as getPageName,
|
|
38
|
-
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-
|
|
39
|
-
import { n as InputEmail, t as MaskedInput } from "./MaskedInput-
|
|
40
|
-
import {
|
|
41
|
-
import { i as mapAddressLabels, l as addressFields, n as getAddressSchemaLabelsByCountry } from "./utils-
|
|
42
|
-
import { n as isMaintenanceModeError, t as processValidationErrors } from "./processValidationErrors-
|
|
43
|
-
import { a as createDocumentRequest, d as mergeAttachments, l as getFileExtention, o as documentApiUtils, s as getDocument, u as getIdDocument } from "./validate-
|
|
31
|
+
import { t as useScenarios } from "./useScenarios-Bne3C0PV.js";
|
|
32
|
+
import { t as useCreateLegalEntity } from "./useCreateLegalEntity-Ctdmk3Ky.js";
|
|
33
|
+
import { a as individualFormDefaultData, i as GuidanceQuestionValues, n as getOnfidoIdentityTypeToApiIdentityTypeMap, o as shouldNavigateToAdditionalPersonalDetailsForMissingData, r as GuidanceQuestion, s as useCreateInvitation, t as mapLegalEntityToIndividualSchema } from "./mapLegalEntityToIndividualSchema-1JDK92Nc.js";
|
|
34
|
+
import { t as useUpdateLegalEntity } from "./useUpdateLegalEntity-CH4xp654.js";
|
|
35
|
+
import { d as useProviderStatus } from "./AddressField-BnboPpBe.js";
|
|
36
|
+
import { a as contactDetailsValidationRules, c as getAsyncPhoneValidationRules, i as phonePrefixes_default, l as getPhonePlaceholder, n as contactDetailFields, o as defaultFieldMetadata, r as PhoneField, s as fieldConfig, t as ContactDetails, u as useValidatePhoneNumberImperatively } from "./ContactDetails-CQZ7kMSU.js";
|
|
37
|
+
import { i as useScenarioConfiguration, n as getPage, r as getPageName, t as mapExistingFile } from "./mapExistingFile-LvvzPjnk.js";
|
|
38
|
+
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-C7fcguXK.js";
|
|
39
|
+
import { n as InputEmail, t as MaskedInput } from "./MaskedInput-BZLm8L47.js";
|
|
40
|
+
import { i as JP_ADDRESS_REQUIRED_FIELDS, n as mapJpAddressSummary, t as mapJpAddressSchemaToAddressLocalizations } from "./mapJpAddressSchemaToAddressLocalizations-6nfrRniy.js";
|
|
41
|
+
import { i as mapAddressLabels, l as addressFields, n as getAddressSchemaLabelsByCountry } from "./utils-C8WDAzsL.js";
|
|
42
|
+
import { n as isMaintenanceModeError, t as processValidationErrors } from "./processValidationErrors-PJV6CPG2.js";
|
|
43
|
+
import { a as createDocumentRequest, d as mergeAttachments, l as getFileExtention, o as documentApiUtils, s as getDocument, u as getIdDocument } from "./validate-BNu91k9j.js";
|
|
44
44
|
import { t as getLocalizedIdDocumentTypeOptions } from "./utils-DwujAUJC.js";
|
|
45
45
|
import { r as formatObject } from "./utils-DdHbAadK.js";
|
|
46
|
-
import { a as DocumentGuidance, i as MemoizedDocumentUpload, o as getFieldsWithExistingData, r as TaxInformationField, t as PatriotActDisclosure } from "./PatriotActDisclosure-
|
|
47
|
-
import {
|
|
48
|
-
import { t as localizeDateString } from "./localizeDateString-
|
|
49
|
-
import {
|
|
50
|
-
import { a as isValidationError } from "./validationError-
|
|
51
|
-
import { _ as licenseCardNumberDefaultConfig, a as fromIndividualConflictSchema, c as createAddressConflictRule, d as useExtractDocumentInformation, f as IdentityNumber, g as getAsyncIdNumberValidationRule, h as defaultFieldMetadata$1, i as mapExtractionResultToSchema, l as useDataConflicts, m as defaultFieldConfig, n as UploadedDocument, o as toIndividualConflictSchema, p as idNumberFields, r as useIdVerificationToken, s as IdVerificationMethod_module_default, t as validateExtractionResult, u as addressToString, v as licenseCardNumberDefaultMetadata } from "./validateExtractionResult-
|
|
52
|
-
import { A as taxInformationDefaultFieldMetadata, S as getDefaultTaxIdNumberType, T as taxIdNumberOptions, k as taxInformationDefaultFieldConfig } from "./utils-
|
|
46
|
+
import { a as DocumentGuidance, i as MemoizedDocumentUpload, o as getFieldsWithExistingData, r as TaxInformationField, t as PatriotActDisclosure } from "./PatriotActDisclosure-CB0N3iIz.js";
|
|
47
|
+
import { t as isJapanLocalizationEnabled } from "./japanSupportUtils-H5Zfox2v.js";
|
|
48
|
+
import { t as localizeDateString } from "./localizeDateString-D-MlYN4V.js";
|
|
49
|
+
import { n as omitObscuredFieldsIfUnchanged, t as AdyenKycSdkError } from "./error-BatJzHF5.js";
|
|
50
|
+
import { a as isValidationError } from "./validationError-1dpZJlAz.js";
|
|
51
|
+
import { _ as licenseCardNumberDefaultConfig, a as fromIndividualConflictSchema, c as createAddressConflictRule, d as useExtractDocumentInformation, f as IdentityNumber, g as getAsyncIdNumberValidationRule, h as defaultFieldMetadata$1, i as mapExtractionResultToSchema, l as useDataConflicts, m as defaultFieldConfig, n as UploadedDocument, o as toIndividualConflictSchema, p as idNumberFields, r as useIdVerificationToken, s as IdVerificationMethod_module_default, t as validateExtractionResult, u as addressToString, v as licenseCardNumberDefaultMetadata } from "./validateExtractionResult-mtXTjYfE.js";
|
|
52
|
+
import { A as taxInformationDefaultFieldMetadata, S as getDefaultTaxIdNumberType, T as taxIdNumberOptions, k as taxInformationDefaultFieldConfig } from "./utils-BbBPfcNK.js";
|
|
53
|
+
import { r as addressValidators } from "./validate-CkuU4MvS.js";
|
|
53
54
|
import { n as emailPattern } from "./basePatterns-plHFNzgJ.js";
|
|
54
55
|
import { t as resolveFieldMetadata } from "./fieldConfigurations-CZCFghnK.js";
|
|
55
|
-
import { n as convertFullToHalf, t as TextArea } from "./TextArea-
|
|
56
|
-
import { t as Dropzone } from "./Dropzone-
|
|
56
|
+
import { n as convertFullToHalf, t as TextArea } from "./TextArea-CoS-i-FF.js";
|
|
57
|
+
import { t as Dropzone } from "./Dropzone-DAvxNuAu.js";
|
|
57
58
|
import { n as getFieldProps, r as getFormProps } from "./getProps-DVqK7eRw.js";
|
|
58
|
-
import { t as Link } from "./Link-
|
|
59
|
-
import { t as InputText } from "./InputText-
|
|
60
|
-
import { n as formatDateObj, t as InputDate } from "./InputDate-
|
|
61
|
-
import { t as RadioGroup } from "./RadioGroup-
|
|
62
|
-
import { t as Address } from "./Address-
|
|
63
|
-
import { t as ContextGuidance } from "./ContextGuidance-
|
|
64
|
-
import { n as
|
|
59
|
+
import { t as Link } from "./Link-B7RA2gSt.js";
|
|
60
|
+
import { t as InputText } from "./InputText-Cf9ccCaj.js";
|
|
61
|
+
import { n as formatDateObj, t as InputDate } from "./InputDate-DDVX2D-5.js";
|
|
62
|
+
import { t as RadioGroup } from "./RadioGroup-BUwhfue7.js";
|
|
63
|
+
import { t as Address } from "./Address-DQlehM6f.js";
|
|
64
|
+
import { t as ContextGuidance } from "./ContextGuidance-CpLYhcU8.js";
|
|
65
|
+
import { i as individualRules, n as DECISION_MAKER_TYPES_WITH_JOBTITLE, t as COUNTRIES_WHICH_USE_MULTIPLE_IDENTITY_TYPES } from "./Individual.rules-D1Mmr7tv.js";
|
|
66
|
+
import { n as nameFields, t as Name } from "./Name-C0ti1xY6.js";
|
|
67
|
+
import { t as toFullWidth } from "./toFullWidth-Dgy4X4i8.js";
|
|
68
|
+
import { t as formatValidationError } from "./formatValidationError-CZ5MeYBS.js";
|
|
65
69
|
import { t as isEmpty$1 } from "./isEmpty-MyMko24J.js";
|
|
66
|
-
import { t as DataConflictsModal } from "./DataConflictsModal-
|
|
70
|
+
import { t as DataConflictsModal } from "./DataConflictsModal-BhZpZhFP.js";
|
|
67
71
|
import { r as mapSchemaFieldsToApiScriptLocalization } from "./mapAddressLocalizationToJpAddressSchema-CBeBTFmC.js";
|
|
68
72
|
import { Suspense, lazy, memo } from "preact/compat";
|
|
69
73
|
import { useCallback as useCallback$1, useEffect as useEffect$1, useMemo as useMemo$1, useRef as useRef$1, useState as useState$1 } from "preact/hooks";
|
|
@@ -168,7 +172,7 @@ var nameValidationRulesV4 = () => {
|
|
|
168
172
|
return {
|
|
169
173
|
firstName: [{
|
|
170
174
|
modes: ["blur"],
|
|
171
|
-
validate: (input) => !matchesRegex(
|
|
175
|
+
validate: (input) => !matchesRegex(NO_ALPHABET_UNICODE_REGEX, input),
|
|
172
176
|
errorMessage: "nameMustContainLetters"
|
|
173
177
|
}, {
|
|
174
178
|
modes: ["blur"],
|
|
@@ -177,7 +181,7 @@ var nameValidationRulesV4 = () => {
|
|
|
177
181
|
}],
|
|
178
182
|
lastName: [{
|
|
179
183
|
modes: ["blur"],
|
|
180
|
-
validate: (input) => !matchesRegex(
|
|
184
|
+
validate: (input) => !matchesRegex(NO_ALPHABET_UNICODE_REGEX, input),
|
|
181
185
|
errorMessage: "nameMustContainLetters"
|
|
182
186
|
}, {
|
|
183
187
|
modes: ["blur"],
|
|
@@ -1000,7 +1004,7 @@ var additionalIdentityInfoFields = [
|
|
|
1000
1004
|
];
|
|
1001
1005
|
//#endregion
|
|
1002
1006
|
//#region src/components/Individual/forms/AdditionalPersonalDetails/AdditionalPersonalDetails.tsx
|
|
1003
|
-
var LazyJpAddress = lazy(async () => (await import("./JpAddress-
|
|
1007
|
+
var LazyJpAddress = lazy(async () => (await import("./JpAddress-CMYhw2Zl.js")).JpAddress);
|
|
1004
1008
|
var additionalPersonalDetailsFields = [
|
|
1005
1009
|
"birthDate",
|
|
1006
1010
|
...idNumberFields,
|
|
@@ -1446,7 +1450,7 @@ function IdDocumentManualUpload(props) {
|
|
|
1446
1450
|
/* @__PURE__ */ jsx(Field, {
|
|
1447
1451
|
name: "idDocumentType",
|
|
1448
1452
|
label: t(($) => $["selectDocumentType"]),
|
|
1449
|
-
errorMessage: errors?.idDocumentType?.errorMessage,
|
|
1453
|
+
errorMessage: formatValidationError(errors?.idDocumentType?.errorMessage, t),
|
|
1450
1454
|
isValid: valid?.idDocumentType,
|
|
1451
1455
|
children: (childProps) => /* @__PURE__ */ jsx(Select, {
|
|
1452
1456
|
...childProps,
|
|
@@ -2009,7 +2013,7 @@ function InviteDetails(props) {
|
|
|
2009
2013
|
country,
|
|
2010
2014
|
data: { phoneNumber: phoneValue },
|
|
2011
2015
|
valid: { phoneNumber: valid.phoneNumber ?? true },
|
|
2012
|
-
errors: { phoneNumber: errors.phoneNumber?.errorMessage },
|
|
2016
|
+
errors: { phoneNumber: formatValidationError(errors.phoneNumber?.errorMessage, commonT) },
|
|
2013
2017
|
label: t(($) => $["mobileNumber"]),
|
|
2014
2018
|
placeholder: getPhonePlaceholder(country),
|
|
2015
2019
|
optional: false,
|
|
@@ -2212,11 +2216,6 @@ function ProofOfResidency({ id, ...props }) {
|
|
|
2212
2216
|
}
|
|
2213
2217
|
var MemoizedProofOfResidencyUpload = memo(ProofOfResidency, (prevProps, nextProps) => objectsDeepEqual(prevProps.data, nextProps.data) && objectsDeepEqual(prevProps.formVerificationErrors, nextProps.formVerificationErrors) && objectsDeepEqual(prevProps.fieldValidationErrors, nextProps.fieldValidationErrors) && objectsDeepEqual(prevProps.requiredFields, nextProps.requiredFields) && prevProps.shouldValidate === nextProps.shouldValidate && prevProps.name === nextProps.name);
|
|
2214
2218
|
//#endregion
|
|
2215
|
-
//#region src/utils/getDisplayErrorMessage.ts
|
|
2216
|
-
var getDisplayErrorMessage = (errorMessage, t) => {
|
|
2217
|
-
return typeof errorMessage !== "boolean" ? translateTranslatable(t, errorMessage) : errorMessage;
|
|
2218
|
-
};
|
|
2219
|
-
//#endregion
|
|
2220
2219
|
//#region src/components/Individual/forms/SignatoryQuestionnaire/SignatoryQuestionnaireModalContent.tsx
|
|
2221
2220
|
var SignatoryQuestionnaireModalContent = () => {
|
|
2222
2221
|
const { t } = useTranslation("individual");
|
|
@@ -2279,7 +2278,7 @@ function SignatoryQuestionnaire(props) {
|
|
|
2279
2278
|
onDescriptionLinkClick: openModal,
|
|
2280
2279
|
question: t(($) => $["doesThisPersonHaveTheAuthority"], { ns: "individual" }),
|
|
2281
2280
|
descriptionLinkText: t(($) => $["whatDoesThisMean"]),
|
|
2282
|
-
errorMessage
|
|
2281
|
+
errorMessage
|
|
2283
2282
|
}),
|
|
2284
2283
|
isModalOpen && /* @__PURE__ */ jsx(Modal, {
|
|
2285
2284
|
onClose: closeModal,
|
|
@@ -2294,15 +2293,14 @@ function SignatoryQuestionnaire(props) {
|
|
|
2294
2293
|
//#region src/hooks/useUboQuestionnaire.ts
|
|
2295
2294
|
var useGuidanceQuestionnaire = ({ data, handleFieldChange, openModal, formUtils, errors, fieldValidationErrors, country }) => {
|
|
2296
2295
|
const { t } = useTranslation(["individual"]);
|
|
2297
|
-
const { t: commonT } = useTranslation(["common"]);
|
|
2298
2296
|
const defaultQuestions = useMemo$1(() => ({
|
|
2299
2297
|
isDirector: t(($) => {
|
|
2300
2298
|
return $["isThisPersonListedAsADirector"];
|
|
2301
|
-
}
|
|
2302
|
-
isOwner: t(($) => $["doesThisPersonOwn25PercentOrMoreOfBusiness"]
|
|
2303
|
-
isControllingPerson: t(($) => $["doesThisPersonHaveSignificantResponsibility"]
|
|
2304
|
-
isNomineeDirector: t(($) => $["isThisPersonANomineeDirectorAppointed"]
|
|
2305
|
-
isNomineeShareholder: t(($) => $["isThisPersonANomineeShareholderAppointedToHold"]
|
|
2299
|
+
}),
|
|
2300
|
+
isOwner: t(($) => $["doesThisPersonOwn25PercentOrMoreOfBusiness"]),
|
|
2301
|
+
isControllingPerson: t(($) => $["doesThisPersonHaveSignificantResponsibility"]),
|
|
2302
|
+
isNomineeDirector: t(($) => $["isThisPersonANomineeDirectorAppointed"]),
|
|
2303
|
+
isNomineeShareholder: t(($) => $["isThisPersonANomineeShareholderAppointedToHold"])
|
|
2306
2304
|
}), [t]);
|
|
2307
2305
|
const defaultDescriptionLinkTextByField = useMemo$1(() => ({
|
|
2308
2306
|
isDirector: t(($) => $["whatDoesThisMean"]),
|
|
@@ -2313,9 +2311,9 @@ var useGuidanceQuestionnaire = ({ data, handleFieldChange, openModal, formUtils,
|
|
|
2313
2311
|
}), [t]);
|
|
2314
2312
|
const questionsMap = useMemo$1(() => {
|
|
2315
2313
|
return { JP: {
|
|
2316
|
-
isDirector: t(($) => $["isThisPersonARegisteredRepresentativeDirector"]
|
|
2317
|
-
isOwner: t(($) => $["doesThisPersonOwn25PercentOrMoreOfBusiness"]
|
|
2318
|
-
isControllingPerson: t(($) => $["doesThisPersonHaveSignificantResponsibility"]
|
|
2314
|
+
isDirector: t(($) => $["isThisPersonARegisteredRepresentativeDirector"]),
|
|
2315
|
+
isOwner: t(($) => $["doesThisPersonOwn25PercentOrMoreOfBusiness"]),
|
|
2316
|
+
isControllingPerson: t(($) => $["doesThisPersonHaveSignificantResponsibility"])
|
|
2319
2317
|
} }[country] ?? {};
|
|
2320
2318
|
}, [t, country]);
|
|
2321
2319
|
return { registerGuidanceQuestion: useCallback$1((fieldName) => {
|
|
@@ -2326,10 +2324,9 @@ var useGuidanceQuestionnaire = ({ data, handleFieldChange, openModal, formUtils,
|
|
|
2326
2324
|
onDescriptionLinkClick: fieldName !== "isNomineeShareholder" ? openModal(fieldName) : void 0,
|
|
2327
2325
|
question: questionsMap[fieldName] || defaultQuestions[fieldName],
|
|
2328
2326
|
descriptionLinkText: defaultDescriptionLinkTextByField[fieldName],
|
|
2329
|
-
errorMessage:
|
|
2327
|
+
errorMessage: formUtils.getErrorMessage(fieldName, errors, fieldValidationErrors)
|
|
2330
2328
|
};
|
|
2331
2329
|
}, [
|
|
2332
|
-
commonT,
|
|
2333
2330
|
data,
|
|
2334
2331
|
defaultDescriptionLinkTextByField,
|
|
2335
2332
|
defaultQuestions,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
try {
|
|
2
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] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "8b3c3393-6b96-4e32-a592-c4d341603f23", e._sentryDebugIdIdentifier = "sentry-dbid-8b3c3393-6b96-4e32-a592-c4d341603f23");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { r as InputBase } from "./InputText-
|
|
5
|
+
import { r as InputBase } from "./InputText-Cf9ccCaj.js";
|
|
6
6
|
import { useMemo } from "preact/hooks";
|
|
7
7
|
import { jsx } from "preact/jsx-runtime";
|
|
8
8
|
//#region src/components/ui/molecules/InputDate/InputDate.utils.ts
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
try {
|
|
2
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] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "b856f373-660c-4bed-9aa0-3cdde5ca720f", e._sentryDebugIdIdentifier = "sentry-dbid-b856f373-660c-4bed-9aa0-3cdde5ca720f");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { i as useAnalyticsContext } from "./Modal-
|
|
6
|
-
import { n as debouncedInputEvent } from "./Checkbox-
|
|
5
|
+
import { i as useAnalyticsContext } from "./Modal-nylR9F4X.js";
|
|
6
|
+
import { n as debouncedInputEvent } from "./Checkbox-faFUul66.js";
|
|
7
7
|
import { forwardRef } from "preact/compat";
|
|
8
|
-
import { useCallback as useCallback$1, useLayoutEffect, useRef as useRef$1, useState as useState$1 } from "preact/hooks";
|
|
8
|
+
import { useCallback as useCallback$1, useLayoutEffect as useLayoutEffect$1, useRef as useRef$1, useState as useState$1 } from "preact/hooks";
|
|
9
9
|
import cx from "classnames";
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
//#region src/components/ui/atoms/InputBase/InputBase.tsx
|
|
@@ -104,7 +104,7 @@ var InputText = forwardRef(({ onInput, onBlur, transformInput, transformMode, ..
|
|
|
104
104
|
transformMode,
|
|
105
105
|
onBlur
|
|
106
106
|
]);
|
|
107
|
-
useLayoutEffect(() => {
|
|
107
|
+
useLayoutEffect$1(() => {
|
|
108
108
|
if (cursorPosition && localRef.current?.selectionStart !== cursorPosition) localRef?.current?.setSelectionRange(cursorPosition, cursorPosition, "none");
|
|
109
109
|
}, [cursorPosition, localRef]);
|
|
110
110
|
return /* @__PURE__ */ jsx(InputBase, {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
try {
|
|
2
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] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "fca9ad86-d6c0-4dec-908d-12832ddd9730", e._sentryDebugIdIdentifier = "sentry-dbid-fca9ad86-d6c0-4dec-908d-12832ddd9730");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { n as addResourceBundles, r as useTranslation } from "./translation-
|
|
6
|
-
import { A as _rolldown_dynamic_import_helper_default } from "./resolveEnvironment-
|
|
7
|
-
import { r as Loader, t as Button } from "./Button-
|
|
8
|
-
import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-
|
|
5
|
+
import { n as addResourceBundles, r as useTranslation } from "./translation-DH4IlMCP.js";
|
|
6
|
+
import { A as _rolldown_dynamic_import_helper_default } from "./resolveEnvironment-df20S4SQ.js";
|
|
7
|
+
import { r as Loader, t as Button } from "./Button-Cm7cT6BX.js";
|
|
8
|
+
import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-DR51Q4mE.js";
|
|
9
9
|
import { t as LegalEntityTypes } from "./legal-entity-type-0MfCGzUf.js";
|
|
10
10
|
import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
|
|
11
|
-
import { i as useAnalyticsContext } from "./Modal-
|
|
12
|
-
import { n as useLegalEntityType, t as useCanSeeIntroduction } from "./useCanSeeIntroduction-
|
|
13
|
-
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-
|
|
11
|
+
import { i as useAnalyticsContext } from "./Modal-nylR9F4X.js";
|
|
12
|
+
import { n as useLegalEntityType, t as useCanSeeIntroduction } from "./useCanSeeIntroduction-BeooAHcX.js";
|
|
13
|
+
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-C7fcguXK.js";
|
|
14
14
|
import { useMemo } from "preact/compat";
|
|
15
15
|
import { useEffect as useEffect$1, useState as useState$1 } from "preact/hooks";
|
|
16
16
|
import { Fragment as Fragment$1, jsx, jsxs } from "preact/jsx-runtime";
|
package/dist/{InvitedDecisionMakerComponent-BR14VLnP.js → InvitedDecisionMakerComponent-Bzj7Szw8.js}
RENAMED
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
try {
|
|
2
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] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "9b530516-a014-47b3-80ad-271ba963ad6b", e._sentryDebugIdIdentifier = "sentry-dbid-9b530516-a014-47b3-80ad-271ba963ad6b");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import {
|
|
6
|
-
import { A as _rolldown_dynamic_import_helper_default } from "./resolveEnvironment-
|
|
7
|
-
import { r as Loader, t as Button } from "./Button-
|
|
8
|
-
import { n as httpGet, s as useApiContext } from "./http-
|
|
9
|
-
import { r as useLegalEntity } from "./useLegalEntity-
|
|
5
|
+
import { i as Typography, l as __exportAll, n as addResourceBundles, r as useTranslation } from "./translation-DH4IlMCP.js";
|
|
6
|
+
import { A as _rolldown_dynamic_import_helper_default } from "./resolveEnvironment-df20S4SQ.js";
|
|
7
|
+
import { r as Loader, t as Button } from "./Button-Cm7cT6BX.js";
|
|
8
|
+
import { n as httpGet, s as useApiContext } from "./http-D6AdUBhO.js";
|
|
9
|
+
import { r as useLegalEntity } from "./useLegalEntity-DR51Q4mE.js";
|
|
10
10
|
import { t as getLegalEntityCountry } from "./getLegalEntityCountry-BHh7Ux8v.js";
|
|
11
11
|
import { a as noop } from "./AnalyticsContext-BnRQ9H1u.js";
|
|
12
12
|
import { t as StackLayout } from "./StackLayout-IUdNMDgW.js";
|
|
13
|
-
import { t as TaskVerificationStatus } from "./TaskVerificationStatus-
|
|
13
|
+
import { t as TaskVerificationStatus } from "./TaskVerificationStatus-DMj8rsZ_.js";
|
|
14
14
|
import { i as TaskStatuses, n as TASK_STATUS_POLLING_INTERVAL_MS } from "./taskStatus-BtekPA8E.js";
|
|
15
|
-
import { C as EntityTypes, n as getCapabilityProblems } from "./processCapabilities-
|
|
15
|
+
import { C as EntityTypes, n as getCapabilityProblems } from "./processCapabilities-BSpmJOEd.js";
|
|
16
16
|
import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
|
|
17
|
-
import { i as useAnalyticsContext } from "./Modal-
|
|
18
|
-
import { a as LandingLayout } from "./form-rules-
|
|
19
|
-
import { t as
|
|
17
|
+
import { i as useAnalyticsContext } from "./Modal-nylR9F4X.js";
|
|
18
|
+
import { a as LandingLayout } from "./form-rules-DV3hxYqZ.js";
|
|
19
|
+
import { t as ListItem } from "./ListItem-Cy46BXUv.js";
|
|
20
|
+
import { t as Image } from "./Image-8SOcICah.js";
|
|
20
21
|
import { t as List } from "./List-ywoRPg-q.js";
|
|
21
22
|
import { t as getIndividualLegalEntityName } from "./getName-C5jqdkJg.js";
|
|
22
|
-
import { t as IndividualDropin } from "./IndividualDropin-
|
|
23
|
-
import { t as useTaskStatus } from "./useTaskStatus-
|
|
24
|
-
import { t as
|
|
25
|
-
import { n as getDecisionMakerDescription, r as getLandingLayoutProps, t as DecisionMakerDetails } from "./DecisionMakerDetails-JYY15piY.js";
|
|
23
|
+
import { t as IndividualDropin } from "./IndividualDropin-KG_mOjri.js";
|
|
24
|
+
import { t as useTaskStatus } from "./useTaskStatus-Be6XyW54.js";
|
|
25
|
+
import { n as getDecisionMakerDescription, r as getLandingLayoutProps, t as DecisionMakerDetails } from "./DecisionMakerDetails-BZEv2fPu.js";
|
|
26
26
|
import { lazy } from "preact/compat";
|
|
27
27
|
import { useCallback as useCallback$1, useEffect as useEffect$1, useMemo as useMemo$1, useState as useState$1 } from "preact/hooks";
|
|
28
28
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
@@ -329,33 +329,33 @@ function InvitedDecisionMakerComponent({ invitedIndividualId }) {
|
|
|
329
329
|
{
|
|
330
330
|
ns: "common",
|
|
331
331
|
importFn: (lang) => _rolldown_dynamic_import_helper_default(/* @__PURE__ */ Object.assign({
|
|
332
|
-
"../../../language/locales/bg-BG.json": () => import("./bg-BG-
|
|
333
|
-
"../../../language/locales/cs-CZ.json": () => import("./cs-CZ-
|
|
334
|
-
"../../../language/locales/da-DK.json": () => import("./da-DK-
|
|
335
|
-
"../../../language/locales/de-DE.json": () => import("./de-DE-
|
|
336
|
-
"../../../language/locales/el-GR.json": () => import("./el-GR-
|
|
332
|
+
"../../../language/locales/bg-BG.json": () => import("./bg-BG-Bmveyt6S.js"),
|
|
333
|
+
"../../../language/locales/cs-CZ.json": () => import("./cs-CZ-D5CQd_YI.js"),
|
|
334
|
+
"../../../language/locales/da-DK.json": () => import("./da-DK-Bl0-8FN4.js"),
|
|
335
|
+
"../../../language/locales/de-DE.json": () => import("./de-DE-Hah2EvAY.js"),
|
|
336
|
+
"../../../language/locales/el-GR.json": () => import("./el-GR-C9KGlGa7.js"),
|
|
337
337
|
"../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-pRLq5gXB.js"),
|
|
338
|
-
"../../../language/locales/en-US.json": () => import("./en-US-
|
|
339
|
-
"../../../language/locales/es-ES.json": () => import("./es-ES-
|
|
340
|
-
"../../../language/locales/es-LA.json": () => import("./es-LA-
|
|
341
|
-
"../../../language/locales/et-EE.json": () => import("./et-EE-
|
|
342
|
-
"../../../language/locales/fi-FI.json": () => import("./fi-FI-
|
|
343
|
-
"../../../language/locales/fr-FR.json": () => import("./fr-FR-
|
|
344
|
-
"../../../language/locales/hr-HR.json": () => import("./hr-HR
|
|
345
|
-
"../../../language/locales/hu-HU.json": () => import("./hu-HU-
|
|
346
|
-
"../../../language/locales/it-IT.json": () => import("./it-IT-
|
|
347
|
-
"../../../language/locales/ja-JP.json": () => import("./ja-JP-
|
|
348
|
-
"../../../language/locales/lt-LT.json": () => import("./lt-LT-
|
|
349
|
-
"../../../language/locales/lv-LV.json": () => import("./lv-LV-
|
|
350
|
-
"../../../language/locales/nl-NL.json": () => import("./nl-NL-
|
|
351
|
-
"../../../language/locales/no-NO.json": () => import("./no-NO-
|
|
352
|
-
"../../../language/locales/pl-PL.json": () => import("./pl-PL-
|
|
353
|
-
"../../../language/locales/pt-BR.json": () => import("./pt-BR-
|
|
354
|
-
"../../../language/locales/pt-PT.json": () => import("./pt-PT-
|
|
355
|
-
"../../../language/locales/ro-RO.json": () => import("./ro-RO-
|
|
356
|
-
"../../../language/locales/sk-SK.json": () => import("./sk-SK-
|
|
357
|
-
"../../../language/locales/sl-SI.json": () => import("./sl-SI-
|
|
358
|
-
"../../../language/locales/sv-SE.json": () => import("./sv-SE-
|
|
338
|
+
"../../../language/locales/en-US.json": () => import("./en-US-X8pjkwa3.js"),
|
|
339
|
+
"../../../language/locales/es-ES.json": () => import("./es-ES-DSwi-qfd.js"),
|
|
340
|
+
"../../../language/locales/es-LA.json": () => import("./es-LA-1H8dAUVR.js"),
|
|
341
|
+
"../../../language/locales/et-EE.json": () => import("./et-EE-BGpsJPjk.js"),
|
|
342
|
+
"../../../language/locales/fi-FI.json": () => import("./fi-FI-BdrXeX9d.js"),
|
|
343
|
+
"../../../language/locales/fr-FR.json": () => import("./fr-FR-hleHEr-Y.js"),
|
|
344
|
+
"../../../language/locales/hr-HR.json": () => import("./hr-HR--ti3n_XO.js"),
|
|
345
|
+
"../../../language/locales/hu-HU.json": () => import("./hu-HU-D9Avt-9f.js"),
|
|
346
|
+
"../../../language/locales/it-IT.json": () => import("./it-IT-Dq5z7p1-.js"),
|
|
347
|
+
"../../../language/locales/ja-JP.json": () => import("./ja-JP-Dyhw0Ycj.js"),
|
|
348
|
+
"../../../language/locales/lt-LT.json": () => import("./lt-LT-BMI4JzrS.js"),
|
|
349
|
+
"../../../language/locales/lv-LV.json": () => import("./lv-LV-LkNZQ__4.js"),
|
|
350
|
+
"../../../language/locales/nl-NL.json": () => import("./nl-NL-CC2r7Ldv.js"),
|
|
351
|
+
"../../../language/locales/no-NO.json": () => import("./no-NO-V7_rz3uN.js"),
|
|
352
|
+
"../../../language/locales/pl-PL.json": () => import("./pl-PL-2QyKX67Y.js"),
|
|
353
|
+
"../../../language/locales/pt-BR.json": () => import("./pt-BR-D08Fo1qY.js"),
|
|
354
|
+
"../../../language/locales/pt-PT.json": () => import("./pt-PT-BAQWYDe6.js"),
|
|
355
|
+
"../../../language/locales/ro-RO.json": () => import("./ro-RO-wG0rfL5w.js"),
|
|
356
|
+
"../../../language/locales/sk-SK.json": () => import("./sk-SK-DJinBnS1.js"),
|
|
357
|
+
"../../../language/locales/sl-SI.json": () => import("./sl-SI-DUaLO_J7.js"),
|
|
358
|
+
"../../../language/locales/sv-SE.json": () => import("./sv-SE-5uxyEq2a.js")
|
|
359
359
|
}), `../../../language/locales/${lang}.json`, 6)
|
|
360
360
|
},
|
|
361
361
|
{
|
|
@@ -1,23 +1,25 @@
|
|
|
1
1
|
try {
|
|
2
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] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "9ef9028a-9a89-4f76-be4d-3db91807b259", e._sentryDebugIdIdentifier = "sentry-dbid-9ef9028a-9a89-4f76-be4d-3db91807b259");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { i as Typography, o as createLogger, r as useTranslation } from "./translation-
|
|
6
|
-
import { j as useToggleContext } from "./resolveEnvironment-
|
|
5
|
+
import { i as Typography, o as createLogger, r as useTranslation } from "./translation-DH4IlMCP.js";
|
|
6
|
+
import { j as useToggleContext } from "./resolveEnvironment-df20S4SQ.js";
|
|
7
7
|
import { t as StackLayout } from "./StackLayout-IUdNMDgW.js";
|
|
8
8
|
import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
|
|
9
|
-
import { i as useAnalyticsContext } from "./Modal-
|
|
10
|
-
import { r as Field } from "./Select-
|
|
9
|
+
import { i as useAnalyticsContext } from "./Modal-nylR9F4X.js";
|
|
10
|
+
import { r as Field } from "./Select-B5Mo0Bpw.js";
|
|
11
11
|
import { t as List } from "./List-ywoRPg-q.js";
|
|
12
|
-
import { r as useDebouncedCallback } from "./Checkbox-
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import { n as convertFullToHalf } from "./TextArea-
|
|
17
|
-
import { t as useForm } from "./useForm-
|
|
18
|
-
import { t as InputText } from "./InputText-
|
|
12
|
+
import { r as useDebouncedCallback } from "./Checkbox-faFUul66.js";
|
|
13
|
+
import { c as nonInputs, l as numericInputs, s as makeMask, t as MaskedInput } from "./MaskedInput-BZLm8L47.js";
|
|
14
|
+
import { i as JP_ADDRESS_REQUIRED_FIELDS } from "./mapJpAddressSchemaToAddressLocalizations-6nfrRniy.js";
|
|
15
|
+
import { n as addressValidationRulesV4, t as addressValidationRules } from "./validate-CkuU4MvS.js";
|
|
16
|
+
import { n as convertFullToHalf } from "./TextArea-CoS-i-FF.js";
|
|
17
|
+
import { t as useForm } from "./useForm-BLP36oqX.js";
|
|
18
|
+
import { t as InputText } from "./InputText-Cf9ccCaj.js";
|
|
19
|
+
import { t as toFullWidth } from "./toFullWidth-Dgy4X4i8.js";
|
|
20
|
+
import { t as formatValidationError } from "./formatValidationError-CZ5MeYBS.js";
|
|
19
21
|
import { t as Spacer } from "./Spacer-CEHRO4Ml.js";
|
|
20
|
-
import { n as ReadonlyTextField, r as useRetrieveFromPostcodeJp, t as JpAddress_module_default } from "./JpAddress.module-
|
|
22
|
+
import { n as ReadonlyTextField, r as useRetrieveFromPostcodeJp, t as JpAddress_module_default } from "./JpAddress.module-CiY5uzmL.js";
|
|
21
23
|
import { useEffect, useState } from "preact/hooks";
|
|
22
24
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
23
25
|
//#region src/components/Shared/forms/Address/localized/jp/JpAddress.tsx
|
|
@@ -137,7 +139,7 @@ var JpAddress = ({ addressType, data: dataProp, handleFieldChange, errors: propE
|
|
|
137
139
|
label: t(($) => $.postalCode),
|
|
138
140
|
value: formData.postalCode ?? "",
|
|
139
141
|
isValid: formValid.postalCode,
|
|
140
|
-
errorMessage: formErrors.postalCode?.errorMessage
|
|
142
|
+
errorMessage: formatValidationError(formErrors.postalCode?.errorMessage, t, formErrors.postalCode?.hasError),
|
|
141
143
|
onInput: (value) => {
|
|
142
144
|
handleChangeFor("postalCode", "input")(value);
|
|
143
145
|
debouncedSetPostcodeToSearch(value);
|
|
@@ -180,7 +182,7 @@ var JpAddress = ({ addressType, data: dataProp, handleFieldChange, errors: propE
|
|
|
180
182
|
name: "street2FullWidth",
|
|
181
183
|
label: t(($) => $.chomeAndBanchi),
|
|
182
184
|
isValid: formValid.street2,
|
|
183
|
-
errorMessage: formErrors.street2?.errorMessage
|
|
185
|
+
errorMessage: formatValidationError(formErrors.street2?.errorMessage, t, formErrors.street2?.hasError),
|
|
184
186
|
children: (childProps) => /* @__PURE__ */ jsx(InputText, {
|
|
185
187
|
...childProps,
|
|
186
188
|
value: formData.street2FullWidth ?? toFullWidth(formData.street2 ?? ""),
|
|
@@ -196,7 +198,7 @@ var JpAddress = ({ addressType, data: dataProp, handleFieldChange, errors: propE
|
|
|
196
198
|
name: "jaHaniAddress",
|
|
197
199
|
label: t(($) => $.buildingNameFloorRoomNumberEtc),
|
|
198
200
|
isValid: formValid.jaHaniStreet,
|
|
199
|
-
errorMessage: formErrors.jaHaniStreet?.errorMessage
|
|
201
|
+
errorMessage: formatValidationError(formErrors.jaHaniStreet?.errorMessage, t, formErrors.jaHaniStreet?.hasError),
|
|
200
202
|
children: (childProps) => /* @__PURE__ */ jsx(InputText, {
|
|
201
203
|
...childProps,
|
|
202
204
|
onInput: handleChangeFor("jaHaniStreet", "input"),
|
|
@@ -262,7 +264,7 @@ var JpAddress = ({ addressType, data: dataProp, handleFieldChange, errors: propE
|
|
|
262
264
|
name: "address",
|
|
263
265
|
label: t(($) => $.buildingNameFloorRoomNumberEtc),
|
|
264
266
|
isValid: formValid.street,
|
|
265
|
-
errorMessage: formErrors.street?.errorMessage
|
|
267
|
+
errorMessage: formatValidationError(formErrors.street?.errorMessage, t, formErrors.street?.hasError),
|
|
266
268
|
children: (childProps) => /* @__PURE__ */ jsx(InputText, {
|
|
267
269
|
...childProps,
|
|
268
270
|
onInput: handleChangeFor("street", "input"),
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
try {
|
|
2
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] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "fb5a9fa1-e695-45e6-9547-2f5a568f3292", e._sentryDebugIdIdentifier = "sentry-dbid-fb5a9fa1-e695-45e6-9547-2f5a568f3292");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { n as httpGet, s as useApiContext } from "./http-
|
|
5
|
+
import { n as httpGet, s as useApiContext } from "./http-D6AdUBhO.js";
|
|
6
6
|
import { a as noop } from "./AnalyticsContext-BnRQ9H1u.js";
|
|
7
|
-
import { r as Field } from "./Select-
|
|
8
|
-
import { t as InputText } from "./InputText-
|
|
7
|
+
import { r as Field } from "./Select-B5Mo0Bpw.js";
|
|
8
|
+
import { t as InputText } from "./InputText-Cf9ccCaj.js";
|
|
9
9
|
import { jsx } from "preact/jsx-runtime";
|
|
10
10
|
import { useQuery } from "@tanstack/preact-query";
|
|
11
11
|
//#region src/api/address/useRetrieveFromPostcodeJp.ts
|
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
try {
|
|
2
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] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "d016ee29-f183-4431-9803-f25b792c18ba", e._sentryDebugIdIdentifier = "sentry-dbid-d016ee29-f183-4431-9803-f25b792c18ba");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { i as Typography, o as createLogger, r as useTranslation } from "./translation-
|
|
5
|
+
import { i as Typography, o as createLogger, r as useTranslation } from "./translation-DH4IlMCP.js";
|
|
6
6
|
import { t as StackLayout } from "./StackLayout-IUdNMDgW.js";
|
|
7
|
-
import { i as useAnalyticsContext } from "./Modal-
|
|
8
|
-
import { r as Field } from "./Select-
|
|
7
|
+
import { i as useAnalyticsContext } from "./Modal-nylR9F4X.js";
|
|
8
|
+
import { r as Field } from "./Select-B5Mo0Bpw.js";
|
|
9
9
|
import { t as List } from "./List-ywoRPg-q.js";
|
|
10
|
-
import { r as useDebouncedCallback } from "./Checkbox-
|
|
11
|
-
import { c as nonInputs, l as numericInputs, s as makeMask, t as MaskedInput } from "./MaskedInput-
|
|
12
|
-
import { n as
|
|
13
|
-
import {
|
|
14
|
-
import { t as
|
|
10
|
+
import { r as useDebouncedCallback } from "./Checkbox-faFUul66.js";
|
|
11
|
+
import { c as nonInputs, l as numericInputs, s as makeMask, t as MaskedInput } from "./MaskedInput-BZLm8L47.js";
|
|
12
|
+
import { n as convertFullToHalf } from "./TextArea-CoS-i-FF.js";
|
|
13
|
+
import { t as InputText } from "./InputText-Cf9ccCaj.js";
|
|
14
|
+
import { t as toFullWidth } from "./toFullWidth-Dgy4X4i8.js";
|
|
15
|
+
import { t as formatValidationError } from "./formatValidationError-CZ5MeYBS.js";
|
|
15
16
|
import { t as Spacer } from "./Spacer-CEHRO4Ml.js";
|
|
16
|
-
import { n as ReadonlyTextField, r as useRetrieveFromPostcodeJp, t as JpAddress_module_default } from "./JpAddress.module-
|
|
17
|
+
import { n as ReadonlyTextField, r as useRetrieveFromPostcodeJp, t as JpAddress_module_default } from "./JpAddress.module-CiY5uzmL.js";
|
|
17
18
|
import { useEffect, useState } from "preact/hooks";
|
|
18
19
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
19
20
|
//#region src/components/Shared/forms/Address/localized/jp/JpAddressFields.tsx
|
|
@@ -101,7 +102,7 @@ function JpAddressFields({ addressType, data: dataProp, handleFieldChange, error
|
|
|
101
102
|
label: t(($) => $.postalCode),
|
|
102
103
|
value: formData.postalCode ?? "",
|
|
103
104
|
isValid: formValid.postalCode,
|
|
104
|
-
errorMessage: formErrors.postalCode?.errorMessage
|
|
105
|
+
errorMessage: formatValidationError(formErrors.postalCode?.errorMessage, t, formErrors.postalCode?.hasError),
|
|
105
106
|
onInput: (value) => {
|
|
106
107
|
handleFieldChange("postalCode", "input")(value);
|
|
107
108
|
debouncedSetPostcodeToSearch(value);
|
|
@@ -144,7 +145,7 @@ function JpAddressFields({ addressType, data: dataProp, handleFieldChange, error
|
|
|
144
145
|
name: "street2FullWidth",
|
|
145
146
|
label: t(($) => $.chomeAndBanchi),
|
|
146
147
|
isValid: formValid.street2,
|
|
147
|
-
errorMessage: formErrors.street2?.errorMessage
|
|
148
|
+
errorMessage: formatValidationError(formErrors.street2?.errorMessage, t, formErrors.street2?.hasError),
|
|
148
149
|
children: (childProps) => /* @__PURE__ */ jsx(InputText, {
|
|
149
150
|
...childProps,
|
|
150
151
|
value: formData.street2FullWidth ?? toFullWidth(formData.street2 ?? ""),
|
|
@@ -160,7 +161,7 @@ function JpAddressFields({ addressType, data: dataProp, handleFieldChange, error
|
|
|
160
161
|
name: "jaHaniAddress",
|
|
161
162
|
label: t(($) => $.buildingNameFloorRoomNumberEtc),
|
|
162
163
|
isValid: formValid.jaHaniStreet,
|
|
163
|
-
errorMessage: formErrors.jaHaniStreet?.errorMessage
|
|
164
|
+
errorMessage: formatValidationError(formErrors.jaHaniStreet?.errorMessage, t, formErrors.jaHaniStreet?.hasError),
|
|
164
165
|
children: (childProps) => /* @__PURE__ */ jsx(InputText, {
|
|
165
166
|
...childProps,
|
|
166
167
|
onInput: handleFieldChange("jaHaniStreet", "input"),
|
|
@@ -226,7 +227,7 @@ function JpAddressFields({ addressType, data: dataProp, handleFieldChange, error
|
|
|
226
227
|
name: "address",
|
|
227
228
|
label: t(($) => $.buildingNameFloorRoomNumberEtc),
|
|
228
229
|
isValid: formValid.street,
|
|
229
|
-
errorMessage: formErrors.street?.errorMessage
|
|
230
|
+
errorMessage: formatValidationError(formErrors.street?.errorMessage, t, formErrors.street?.hasError),
|
|
230
231
|
children: (childProps) => /* @__PURE__ */ jsx(InputText, {
|
|
231
232
|
...childProps,
|
|
232
233
|
onInput: handleFieldChange("street", "input"),
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
try {
|
|
2
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] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "c3acc4c7-303d-4075-bcdc-1969359766cf", e._sentryDebugIdIdentifier = "sentry-dbid-c3acc4c7-303d-4075-bcdc-1969359766cf");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
|
|
6
|
-
import { r as KEYBOARD_KEYS } from "./Modal-
|
|
7
|
-
import { r as Field } from "./Select-
|
|
8
|
-
import { a as validateNotEmptyOnBlur, i as validateLegalCompanyName, r as validateLatinSpaceMarkPunctuationNumbersOnlyOnBlur } from "./patternValidators-
|
|
9
|
-
import { t as InputText } from "./InputText-
|
|
6
|
+
import { r as KEYBOARD_KEYS } from "./Modal-nylR9F4X.js";
|
|
7
|
+
import { r as Field } from "./Select-B5Mo0Bpw.js";
|
|
8
|
+
import { a as validateNotEmptyOnBlur, i as validateLegalCompanyName, r as validateLatinSpaceMarkPunctuationNumbersOnlyOnBlur } from "./patternValidators-tRq-KPvW.js";
|
|
9
|
+
import { t as InputText } from "./InputText-Cf9ccCaj.js";
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
//#region src/components/Shared/fields/LegalCompanyNameField/fieldConfig.ts
|
|
12
12
|
var defaultFieldMetadata = {
|