@adyen/kyc-components 4.19.1 → 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-BGB8hSYN.js → AccountSetupRejected-N5q1VKpW.js} +2 -2
- package/dist/AdaptiveWorkflow-C8N4ayEt.js +5112 -0
- package/dist/{AdaptiveWorkflowComponent-BOncR2kZ.js → AdaptiveWorkflowComponent-CEMgH36B.js} +36 -36
- package/dist/{Address-B_QN7vdN.js → Address-DQlehM6f.js} +8 -7
- package/dist/{AddressField-08w6MaYb.js → AddressField-BnboPpBe.js} +12 -253
- package/dist/{Avatar-Y_RdG_YY.js → Avatar-CeZIQS8n.js} +1 -1
- package/dist/{BusinessFinancingDropin-ndYk8iAQ.js → BusinessFinancingDropin-CFKrcdPb.js} +33 -32
- package/dist/{BusinessFinancingPage-DK_ijiz0.js → BusinessFinancingPage-DIrEOTbn.js} +33 -33
- package/dist/{utils-CLsECypA.js → BusinessRegistrationNumberField-DGBqMCwU.js} +301 -53
- package/dist/{BusinessTypeSelectionPage-C4CrQQZp.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-DYJ2XeCC.js → CompanyRegistrationNumberTypeSelector-KkPiHDQk.js} +8 -8
- package/dist/{ContactDetails-BBVQtkU_.js → ContactDetails-CQZ7kMSU.js} +7 -7
- package/dist/{ContextGuidance-BBQsTVLG.js → ContextGuidance-CpLYhcU8.js} +2 -2
- package/dist/{CountryField-uue7DBeg.js → CountryField-DQnWXgAu.js} +26 -21
- package/dist/{Currency-Chq-e9bU.js → Currency-DJTE2WJJ.js} +8 -59
- package/dist/{CustomerSupport-DEiWGRjz.js → CustomerSupport-BkE-Ej6L.js} +14 -14
- package/dist/{DataConflictsModal-BrGRGVYC.js → DataConflictsModal-BhZpZhFP.js} +7 -7
- package/dist/{DebugModal-abFf-6Vt.js → DebugModal-C_O14NUN.js} +10 -10
- package/dist/{DecisionMakerDetails-DcXca6HU.js → DecisionMakerDetails-BZEv2fPu.js} +17 -17
- package/dist/{DecisionMakerDetailsPage-DJ51iD7A.js → DecisionMakerDetailsPage-DhCtiSzf.js} +12 -12
- package/dist/{DecisionMakers-k4HO0MWG.js → DecisionMakers-BPLn2iHA.js} +18 -18
- package/dist/{Dropzone-CvQDmVPr.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-zFxGuJvi.js → EntityAssociation-CBbcX-5M.js} +7 -7
- package/dist/{ErrorPanel-CCn1oJPR.js → ErrorPanel-C2hG0lLe.js} +4 -4
- package/dist/GlobalEntryModal-cQF6Bfim.js +353 -0
- package/dist/{GlobalEntryPage-DEhiUBgp.js → GlobalEntryPage-C6OnSwBj.js} +10 -10
- package/dist/{Image-Dc5Xg1_Y.js → Image-8SOcICah.js} +1 -1
- package/dist/{Individual.rules-CC9Eyoct.js → Individual.rules-D1Mmr7tv.js} +7 -11
- package/dist/{IndividualDropin-bKaThfzK.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-BONXNscX.js → Introduction-Dsy_e4OL.js} +8 -8
- package/dist/{InvitedDecisionMakerComponent-DqD7d-N0.js → InvitedDecisionMakerComponent-Bzj7Szw8.js} +41 -41
- package/dist/{JpAddress-Bdm7sjAt.js → JpAddress-CMYhw2Zl.js} +19 -17
- package/dist/{JpAddress.module-CoDcokRL.js → JpAddress.module-CiY5uzmL.js} +4 -4
- package/dist/{JpAddressFields-b817uuhw.js → JpAddressFields-DqJ7Am2I.js} +15 -14
- package/dist/{LegalCompanyNameField-1zyIWSU7.js → LegalCompanyNameField-DGdSduXu.js} +5 -5
- package/dist/{LegalRepresentativeDetailsPage-75U_fxIM.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-BpgT8ais.js → MaskedInput-BZLm8L47.js} +11 -11
- package/dist/{Modal-BYdlsXkf.js → Modal-nylR9F4X.js} +1 -1
- package/dist/{Name-B9VfIoGy.js → Name-C0ti1xY6.js} +5 -5
- package/dist/{NewSummary-DtUQzQfp.js → NewSummary-DDwQJV7w.js} +6 -6
- package/dist/{PatriotActDisclosure-DO1km-aw.js → PatriotActDisclosure-CB0N3iIz.js} +15 -15
- package/dist/{PayoutDetailsDropin-DeSQiWmr.js → PayoutDetailsDropin-9LoGCmko.js} +187 -135
- package/dist/{PayoutDetailsPage-CdAXxyMl.js → PayoutDetailsPage-DV8fIktn.js} +10 -10
- package/dist/{RadioGroup-B9MFxAgn.js → RadioGroup-BUwhfue7.js} +3 -3
- package/dist/{Review-Ce8kWuwf.js → Review-C2JLh6M0.js} +8 -8
- package/dist/{RootBusinessDetailsPage-W2nhUOOs.js → RootBusinessDetailsPage-D-T5SbYt.js} +9 -9
- package/dist/{RootBusinessLinesPage-cZsTzIu_.js → RootBusinessLinesPage-BZNLFGSY.js} +30 -30
- package/dist/{RootIndividualDetailsPage-NoOigAbF.js → RootIndividualDetailsPage-wO9DNKWn.js} +9 -9
- package/dist/{Select-yOtg-61e.js → Select-B5Mo0Bpw.js} +12 -13
- package/dist/{SignPCIComponent-Djf7vjw5.js → SignPCIComponent-CZmCa0AY.js} +56 -54
- package/dist/{SingpassSelection-Bf7AnQ_l.js → SingpassSelection-BTZe82Q8.js} +6 -6
- package/dist/SoleProprietorshipPage-Dfzyn6Br.js +70 -0
- package/dist/{SourceOfFundsPage-4dDzWrhf.js → SourceOfFundsPage-l899LDLv.js} +58 -44
- package/dist/{StructuredList-BU29ceSG.js → StructuredList-DR8Fb1tc.js} +4 -4
- package/dist/{TaskListItem-BlcJJS_V.js → TaskListItem-1n3vYDAz.js} +11 -11
- package/dist/{TaskVerificationStatus-ITLSeoau.js → TaskVerificationStatus-DMj8rsZ_.js} +1 -1
- package/dist/{TaxReportingDropin-Cw35lKwa.js → TaxReportingDropin-BYOpjW8V.js} +18 -18
- package/dist/{TermsOfServiceManagement-_xrvP8-7.js → TermsOfServiceManagement-BUvv59rD.js} +68 -66
- package/dist/{TextArea-BzCbFjRp.js → TextArea-CoS-i-FF.js} +3 -3
- package/dist/{TrustDetailsPage-k3accZEy.js → TrustDetailsPage-BQjA8lmD.js} +341 -318
- package/dist/TrustMemberCompanyPage-3189PHUn.js +109 -0
- package/dist/TrustMemberIndividualPage-DOFGzN7Z.js +110 -0
- package/dist/{TrustMemberRoleAndTypePage-BlAptww5.js → TrustMemberRoleAndTypePage-nDSoM_rw.js} +19 -19
- package/dist/{TrustMembersOverview-B8H3GF08.js → TrustMembersOverview-CxiKjCLV.js} +14 -14
- package/dist/UnincorporatedPartnershipIndividualPage-D-46tLiw.js +79 -0
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-CgrnQ800.js → UnincorporatedPartnershipMemberCompanyPage-CCnm-ShL.js} +37 -37
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-BMNXdGp9.js → UnincorporatedPartnershipMemberRoleAndTypePage-CsECHFgr.js} +11 -11
- package/dist/{UnincorporatedPartnershipMembersOverview-r2Dcn7c2.js → UnincorporatedPartnershipMembersOverview-C8fwIn45.js} +9 -9
- package/dist/{VerificationErrorAlert-T9cdpMgB.js → VerificationErrorAlert-7hKN39sx.js} +4 -4
- package/dist/{accountHolderUtils-B3AFComV.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 +59 -59
- 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-DEVMdolf.js → bafinUtils-vdTD2Ec5.js} +19 -19
- package/dist/bg-BG-Bmveyt6S.js +7 -0
- package/dist/{constants-Bmm0unff.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-DESEEOmD.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/{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-CoJiTAbL.js → mapJpAddressSchemaToAddressLocalizations-6nfrRniy.js} +3 -51
- package/dist/{mapLegalEntityToIndividualSchema-C-vFEBSR.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-D8HZxfV2.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-J6ltKXc4.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-C1htMD-5.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/types.d.ts +5 -5
- 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-DRfmakGt.js → useBusinessDetailsData-CRLRQh0U.js} +129 -310
- package/dist/{useBusinessLines-CfQYLNkw.js → useBusinessLines-D-rc-Z6G.js} +1 -1
- package/dist/{useCanSeeIntroduction-CL2v20rx.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-DgKB0Jpl.js → useForm-BLP36oqX.js} +3 -3
- package/dist/{useId-DpmZnb6I.js → useId-po-YSdTw.js} +3 -3
- package/dist/{useLegalEntity-BqO7Fmt0.js → useLegalEntity-DR51Q4mE.js} +1 -1
- package/dist/{useNavigate-xV0IroXe.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-Cc_VpJkD.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-CsXfjS5u.js → useUpdateLegalEntity-CH4xp654.js} +2 -2
- package/dist/{utils-BfxOnNjg.js → utils-BbBPfcNK.js} +7 -7
- package/dist/{utils-G00RnEDX.js → utils-C8WDAzsL.js} +1 -1
- package/dist/{utils-CGzF-obv.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-DvGdGx9J.js → validate-CsYDNrPB.js} +1 -1
- package/dist/{validateExtractionResult-CXgPruUU.js → validateExtractionResult-mtXTjYfE.js} +10 -10
- package/dist/{validationError-vnqptK-a.js → validationError-1dpZJlAz.js} +1 -1
- package/package.json +3 -4
- package/dist/AdaptiveWorkflow-CE-7w7l8.js +0 -1896
- package/dist/GlobalEntryModal-D9sRA2Ql.js +0 -188
- package/dist/SoleProprietorshipPage-f3-ZfjvW.js +0 -70
- package/dist/TrustMemberCompanyPage-CVZuhHHm.js +0 -109
- package/dist/TrustMemberIndividualPage-Dn4pDHej.js +0 -109
- package/dist/UnincorporatedPartnershipIndividualPage-DdOlDSQU.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
package/dist/{AdaptiveWorkflowComponent-BOncR2kZ.js → AdaptiveWorkflowComponent-CEMgH36B.js}
RENAMED
|
@@ -1,27 +1,27 @@
|
|
|
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] = "b7f5adb6-3bea-42d3-975a-57558bfd6278", e._sentryDebugIdIdentifier = "sentry-dbid-b7f5adb6-3bea-42d3-975a-57558bfd6278");
|
|
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 } from "./Button-
|
|
8
|
-
import { AdaptiveWorkflow, n as useAdaptiveWorkflow, t as WorkflowContext } from "./AdaptiveWorkflow-
|
|
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 } from "./Button-Cm7cT6BX.js";
|
|
8
|
+
import { AdaptiveWorkflow, n as useAdaptiveWorkflow, t as WorkflowContext } from "./AdaptiveWorkflow-C8N4ayEt.js";
|
|
9
9
|
import { useMemo } from "preact/hooks";
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { signal } from "@preact/signals";
|
|
12
12
|
//#region src/context/WorkflowContext/WorkflowContextProvider.tsx
|
|
13
|
-
/**
|
|
14
|
-
* To manage global variables and entity details returned from AWE
|
|
15
|
-
*/
|
|
16
13
|
var createWorkflowStore = () => {
|
|
17
14
|
const globals = signal({});
|
|
18
15
|
const entity = signal(void 0);
|
|
19
16
|
const taskStatuses = signal({});
|
|
17
|
+
const globalStatus = signal();
|
|
20
18
|
return {
|
|
21
19
|
globals,
|
|
22
|
-
entity,
|
|
23
20
|
setGlobals: (val) => globals.value = val,
|
|
21
|
+
entity,
|
|
24
22
|
setEntity: (val) => entity.value = val,
|
|
23
|
+
globalStatus,
|
|
24
|
+
setGlobalStatus: (val) => globalStatus.value = val,
|
|
25
25
|
updateGlobals: (val) => globals.value = {
|
|
26
26
|
...globals.value,
|
|
27
27
|
...val
|
|
@@ -55,38 +55,38 @@ var AdaptiveWorkflowComponent = ({ onBack }) => {
|
|
|
55
55
|
addResourceBundles(i18n, [
|
|
56
56
|
{
|
|
57
57
|
ns: "adaptive",
|
|
58
|
-
importFn: (lang) => _rolldown_dynamic_import_helper_default(/* @__PURE__ */ Object.assign({ "../../../adaptiveWorkflow/language/en-US.json": () => import("./en-US-
|
|
58
|
+
importFn: (lang) => _rolldown_dynamic_import_helper_default(/* @__PURE__ */ Object.assign({ "../../../adaptiveWorkflow/language/en-US.json": () => import("./en-US-BorLJXJ4.js") }), `../../../adaptiveWorkflow/language/${lang}.json`, 6)
|
|
59
59
|
},
|
|
60
60
|
{
|
|
61
61
|
ns: "common",
|
|
62
62
|
importFn: (lang) => _rolldown_dynamic_import_helper_default(/* @__PURE__ */ Object.assign({
|
|
63
|
-
"../../../language/locales/bg-BG.json": () => import("./bg-BG-
|
|
64
|
-
"../../../language/locales/cs-CZ.json": () => import("./cs-CZ-
|
|
65
|
-
"../../../language/locales/da-DK.json": () => import("./da-DK-
|
|
66
|
-
"../../../language/locales/de-DE.json": () => import("./de-DE-
|
|
67
|
-
"../../../language/locales/el-GR.json": () => import("./el-GR-
|
|
63
|
+
"../../../language/locales/bg-BG.json": () => import("./bg-BG-Bmveyt6S.js"),
|
|
64
|
+
"../../../language/locales/cs-CZ.json": () => import("./cs-CZ-D5CQd_YI.js"),
|
|
65
|
+
"../../../language/locales/da-DK.json": () => import("./da-DK-Bl0-8FN4.js"),
|
|
66
|
+
"../../../language/locales/de-DE.json": () => import("./de-DE-Hah2EvAY.js"),
|
|
67
|
+
"../../../language/locales/el-GR.json": () => import("./el-GR-C9KGlGa7.js"),
|
|
68
68
|
"../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-pRLq5gXB.js"),
|
|
69
|
-
"../../../language/locales/en-US.json": () => import("./en-US-
|
|
70
|
-
"../../../language/locales/es-ES.json": () => import("./es-ES-
|
|
71
|
-
"../../../language/locales/es-LA.json": () => import("./es-LA-
|
|
72
|
-
"../../../language/locales/et-EE.json": () => import("./et-EE-
|
|
73
|
-
"../../../language/locales/fi-FI.json": () => import("./fi-FI-
|
|
74
|
-
"../../../language/locales/fr-FR.json": () => import("./fr-FR-
|
|
75
|
-
"../../../language/locales/hr-HR.json": () => import("./hr-HR
|
|
76
|
-
"../../../language/locales/hu-HU.json": () => import("./hu-HU-
|
|
77
|
-
"../../../language/locales/it-IT.json": () => import("./it-IT-
|
|
78
|
-
"../../../language/locales/ja-JP.json": () => import("./ja-JP-
|
|
79
|
-
"../../../language/locales/lt-LT.json": () => import("./lt-LT-
|
|
80
|
-
"../../../language/locales/lv-LV.json": () => import("./lv-LV-
|
|
81
|
-
"../../../language/locales/nl-NL.json": () => import("./nl-NL-
|
|
82
|
-
"../../../language/locales/no-NO.json": () => import("./no-NO-
|
|
83
|
-
"../../../language/locales/pl-PL.json": () => import("./pl-PL-
|
|
84
|
-
"../../../language/locales/pt-BR.json": () => import("./pt-BR-
|
|
85
|
-
"../../../language/locales/pt-PT.json": () => import("./pt-PT-
|
|
86
|
-
"../../../language/locales/ro-RO.json": () => import("./ro-RO-
|
|
87
|
-
"../../../language/locales/sk-SK.json": () => import("./sk-SK-
|
|
88
|
-
"../../../language/locales/sl-SI.json": () => import("./sl-SI-
|
|
89
|
-
"../../../language/locales/sv-SE.json": () => import("./sv-SE-
|
|
69
|
+
"../../../language/locales/en-US.json": () => import("./en-US-X8pjkwa3.js"),
|
|
70
|
+
"../../../language/locales/es-ES.json": () => import("./es-ES-DSwi-qfd.js"),
|
|
71
|
+
"../../../language/locales/es-LA.json": () => import("./es-LA-1H8dAUVR.js"),
|
|
72
|
+
"../../../language/locales/et-EE.json": () => import("./et-EE-BGpsJPjk.js"),
|
|
73
|
+
"../../../language/locales/fi-FI.json": () => import("./fi-FI-BdrXeX9d.js"),
|
|
74
|
+
"../../../language/locales/fr-FR.json": () => import("./fr-FR-hleHEr-Y.js"),
|
|
75
|
+
"../../../language/locales/hr-HR.json": () => import("./hr-HR--ti3n_XO.js"),
|
|
76
|
+
"../../../language/locales/hu-HU.json": () => import("./hu-HU-D9Avt-9f.js"),
|
|
77
|
+
"../../../language/locales/it-IT.json": () => import("./it-IT-Dq5z7p1-.js"),
|
|
78
|
+
"../../../language/locales/ja-JP.json": () => import("./ja-JP-Dyhw0Ycj.js"),
|
|
79
|
+
"../../../language/locales/lt-LT.json": () => import("./lt-LT-BMI4JzrS.js"),
|
|
80
|
+
"../../../language/locales/lv-LV.json": () => import("./lv-LV-LkNZQ__4.js"),
|
|
81
|
+
"../../../language/locales/nl-NL.json": () => import("./nl-NL-CC2r7Ldv.js"),
|
|
82
|
+
"../../../language/locales/no-NO.json": () => import("./no-NO-V7_rz3uN.js"),
|
|
83
|
+
"../../../language/locales/pl-PL.json": () => import("./pl-PL-2QyKX67Y.js"),
|
|
84
|
+
"../../../language/locales/pt-BR.json": () => import("./pt-BR-D08Fo1qY.js"),
|
|
85
|
+
"../../../language/locales/pt-PT.json": () => import("./pt-PT-BAQWYDe6.js"),
|
|
86
|
+
"../../../language/locales/ro-RO.json": () => import("./ro-RO-wG0rfL5w.js"),
|
|
87
|
+
"../../../language/locales/sk-SK.json": () => import("./sk-SK-DJinBnS1.js"),
|
|
88
|
+
"../../../language/locales/sl-SI.json": () => import("./sl-SI-DUaLO_J7.js"),
|
|
89
|
+
"../../../language/locales/sv-SE.json": () => import("./sv-SE-5uxyEq2a.js")
|
|
90
90
|
}), `../../../language/locales/${lang}.json`, 6)
|
|
91
91
|
},
|
|
92
92
|
{
|
|
@@ -1,14 +1,15 @@
|
|
|
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] = "6c3985f1-6978-4c3c-bea3-e64b78184f1a", e._sentryDebugIdIdentifier = "sentry-dbid-6c3985f1-6978-4c3c-bea3-e64b78184f1a");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { r as useTranslation } from "./translation-
|
|
6
|
-
import { X as getMaxLengthByFieldAndCountry, j as useToggleContext } from "./resolveEnvironment-
|
|
5
|
+
import { r as useTranslation } from "./translation-DH4IlMCP.js";
|
|
6
|
+
import { X as getMaxLengthByFieldAndCountry, j as useToggleContext } from "./resolveEnvironment-df20S4SQ.js";
|
|
7
7
|
import { s as entriesOf } from "./AnalyticsContext-BnRQ9H1u.js";
|
|
8
|
-
import { b as createFormUtils } from "./CountryField-
|
|
9
|
-
import {
|
|
10
|
-
import { c as COUNTRIES_WITH_STATES_DATASET, o as CONDENSED_ADDRESS_FIELDS, t as getAddressSchemaForCountry } from "./utils-
|
|
11
|
-
import { t as
|
|
8
|
+
import { b as createFormUtils } from "./CountryField-DQnWXgAu.js";
|
|
9
|
+
import { o as addressFormatters, s as countrySpecificFormatters, t as AddressField, u as useAddressCleanseImperatively } from "./AddressField-BnboPpBe.js";
|
|
10
|
+
import { c as COUNTRIES_WITH_STATES_DATASET, o as CONDENSED_ADDRESS_FIELDS, t as getAddressSchemaForCountry } from "./utils-C8WDAzsL.js";
|
|
11
|
+
import { i as preventPoBoxValidation, n as addressValidationRulesV4, t as addressValidationRules } from "./validate-CkuU4MvS.js";
|
|
12
|
+
import { t as useForm } from "./useForm-BLP36oqX.js";
|
|
12
13
|
import { useEffect, useMemo } from "preact/hooks";
|
|
13
14
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
14
15
|
//#region src/components/Shared/forms/Address/Address.tsx
|
|
@@ -1,18 +1,18 @@
|
|
|
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] = "5dbae813-230b-4971-b511-84dcb5fa0a99", e._sentryDebugIdIdentifier = "sentry-dbid-5dbae813-230b-4971-b511-84dcb5fa0a99");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { a as Icon,
|
|
6
|
-
import {
|
|
7
|
-
import { n as httpGet, r as httpPost, s as useApiContext } from "./http-
|
|
5
|
+
import { a as Icon, r as useTranslation } from "./translation-DH4IlMCP.js";
|
|
6
|
+
import { C as useDataset, G as SPECIAL_CHARS, Y as getFormattingRegEx, ut as trimValWithOneSpace, w as datasetIdentifier } from "./resolveEnvironment-df20S4SQ.js";
|
|
7
|
+
import { n as httpGet, r as httpPost, s as useApiContext } from "./http-D6AdUBhO.js";
|
|
8
8
|
import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
|
|
9
|
-
import { i as useAnalyticsContext } from "./Modal-
|
|
10
|
-
import {
|
|
11
|
-
import { b as createFormUtils, n as CountryField } from "./CountryField-
|
|
12
|
-
import { r as useDebouncedCallback } from "./Checkbox-
|
|
13
|
-
import { c as COUNTRIES_WITH_STATES_DATASET, r as getKeyForField, s as COUNTRIES_WITH_HOUSE_NUMBER_FIRST } from "./utils-
|
|
14
|
-
import { a as validateNotEmptyOnBlur } from "./patternValidators-
|
|
15
|
-
import { t as InputText } from "./InputText-
|
|
9
|
+
import { i as useAnalyticsContext } from "./Modal-nylR9F4X.js";
|
|
10
|
+
import { f as translateTranslatable, r as Field, t as Select } from "./Select-B5Mo0Bpw.js";
|
|
11
|
+
import { b as createFormUtils, n as CountryField } from "./CountryField-DQnWXgAu.js";
|
|
12
|
+
import { r as useDebouncedCallback } from "./Checkbox-faFUul66.js";
|
|
13
|
+
import { c as COUNTRIES_WITH_STATES_DATASET, r as getKeyForField, s as COUNTRIES_WITH_HOUSE_NUMBER_FIRST } from "./utils-C8WDAzsL.js";
|
|
14
|
+
import { a as validateNotEmptyOnBlur } from "./patternValidators-tRq-KPvW.js";
|
|
15
|
+
import { t as InputText } from "./InputText-Cf9ccCaj.js";
|
|
16
16
|
import { useCallback, useEffect, useMemo, useState } from "preact/hooks";
|
|
17
17
|
import { Fragment, jsx, jsxs } from "preact/jsx-runtime";
|
|
18
18
|
import { useQuery } from "@tanstack/preact-query";
|
|
@@ -72,55 +72,6 @@ var formatAddressForCleanse = ({ street, street2, city, country, postalCode }) =
|
|
|
72
72
|
].filter(Boolean).join(" ");
|
|
73
73
|
};
|
|
74
74
|
//#endregion
|
|
75
|
-
//#region src/utils/regex/postalCodePatterns.ts
|
|
76
|
-
var createRegExpByDigits = (digits) => new RegExp(`^\\d{${digits}}$`);
|
|
77
|
-
var postalCodePatterns = {
|
|
78
|
-
[CountryCodes.Australia]: createRegExpByDigits(4),
|
|
79
|
-
[CountryCodes.Austria]: createRegExpByDigits(4),
|
|
80
|
-
[CountryCodes.Belgium]: /^[1-9]\d{3}$/,
|
|
81
|
-
[CountryCodes.Brazil]: createRegExpByDigits(8),
|
|
82
|
-
[CountryCodes.Bulgaria]: createRegExpByDigits(4),
|
|
83
|
-
[CountryCodes.Canada]: /^[ABCEGHJKLMNPRSTVXY]\d[A-Z][ -]?(?:\d[A-Z]\d)?$/,
|
|
84
|
-
[CountryCodes.Croatia]: /^([1-5])\d{4}$/,
|
|
85
|
-
[CountryCodes.Cyprus]: createRegExpByDigits(4),
|
|
86
|
-
[CountryCodes.CzechRepublic]: /^\d{3} ?\d{2}$/,
|
|
87
|
-
[CountryCodes.Denmark]: /^(?:DK-)?\d{4}$/,
|
|
88
|
-
[CountryCodes.Estonia]: createRegExpByDigits(5),
|
|
89
|
-
[CountryCodes.Finland]: createRegExpByDigits(5),
|
|
90
|
-
[CountryCodes.France]: createRegExpByDigits(5),
|
|
91
|
-
[CountryCodes.Georgia]: createRegExpByDigits(4),
|
|
92
|
-
[CountryCodes.Germany]: createRegExpByDigits(5),
|
|
93
|
-
[CountryCodes.Gibraltar]: /^GX11[ -]?1AA$/,
|
|
94
|
-
[CountryCodes.Greece]: /^\d{3} ?\d{2}$/,
|
|
95
|
-
[CountryCodes.Hungary]: createRegExpByDigits(4),
|
|
96
|
-
[CountryCodes.Iceland]: createRegExpByDigits(3),
|
|
97
|
-
[CountryCodes.Ireland]: /^(?:[ACDEFHKNPRTVWXY]\d{2}|D6W)[ -]?[0-9ACDEFHKNPRTVWXY]{4}$/,
|
|
98
|
-
[CountryCodes.Italy]: createRegExpByDigits(5),
|
|
99
|
-
[CountryCodes.Japan]: createRegExpByDigits(7),
|
|
100
|
-
[CountryCodes.Latvia]: /^(?:LV-)?\d{4}$/,
|
|
101
|
-
[CountryCodes.Liechtenstein]: createRegExpByDigits(4),
|
|
102
|
-
[CountryCodes.Lithuania]: /^(?:LT-)?\d{4,5}$/,
|
|
103
|
-
[CountryCodes.Luxembourg]: createRegExpByDigits(4),
|
|
104
|
-
[CountryCodes.Malaysia]: createRegExpByDigits(5),
|
|
105
|
-
[CountryCodes.Malta]: /^[A-Za-z]{2,3} ?\d{2}(?:\d{2})?$/,
|
|
106
|
-
[CountryCodes.Monaco]: /^980\d{2}$/,
|
|
107
|
-
[CountryCodes.Netherlands]: /^(?:NL-)?[1-9]\d{3} ?(?:[ABCDEFGHIJKLMNOPQRTUVWXYZ][A-Z]|S[BCEFGHIJKLMNOPQRTUVWXYZ])$/,
|
|
108
|
-
[CountryCodes.NewZealand]: createRegExpByDigits(4),
|
|
109
|
-
[CountryCodes.Norway]: createRegExpByDigits(4),
|
|
110
|
-
[CountryCodes.Poland]: /^\d{2}-\d{3}$/,
|
|
111
|
-
[CountryCodes.Portugal]: /^[1-9]\d{3}([- ]?\d{3})?$/,
|
|
112
|
-
[CountryCodes.PuertoRico]: /^\d{5}(?:[ -]?\d{4})?$/,
|
|
113
|
-
[CountryCodes.Romania]: createRegExpByDigits(6),
|
|
114
|
-
[CountryCodes.Slovakia]: /^(SK-)?\d{5}$/,
|
|
115
|
-
[CountryCodes.Slovenia]: /^(SI-)?\d{4}$/,
|
|
116
|
-
[CountryCodes.Singapore]: createRegExpByDigits(6),
|
|
117
|
-
[CountryCodes.Spain]: /(?:0[1-9]|[1-4]\d|5[0-2])\d{3}/,
|
|
118
|
-
[CountryCodes.Sweden]: createRegExpByDigits(5),
|
|
119
|
-
[CountryCodes.Switzerland]: /^[1-9]\d{3}$/,
|
|
120
|
-
[CountryCodes.UnitedKingdom]: /^[ABCDEFGHIJKLMNOPRSTUWYZ](?:[ABCDEFGHKLMNOPQRSTUVWXY][0-9][ABEHMNPRVWXY0-9]?|[0-9][ABCDEFGHJKPSTUW0-9]?)(?: ?[0-9][ABDEFGHJLNPQRSTUWXYZ]{1,2})?$/,
|
|
121
|
-
[CountryCodes.UnitedStates]: /^\d{5}(?:[ -]?\d{4})?$/
|
|
122
|
-
};
|
|
123
|
-
//#endregion
|
|
124
75
|
//#region src/components/Shared/forms/Address/validate.formats.ts
|
|
125
76
|
var createFormatByDigits = (digits) => {
|
|
126
77
|
return {
|
|
@@ -251,198 +202,6 @@ var countrySpecificFormatters = {
|
|
|
251
202
|
} }
|
|
252
203
|
};
|
|
253
204
|
//#endregion
|
|
254
|
-
//#region src/components/Shared/forms/Address/validate.ts
|
|
255
|
-
var logger = createLogger();
|
|
256
|
-
var addressValidationRules = (country) => {
|
|
257
|
-
const postalCodeFormat = country ? countrySpecificFormatters[country]?.postalCode?.format : void 0;
|
|
258
|
-
return {
|
|
259
|
-
street: [{
|
|
260
|
-
modes: ["blur"],
|
|
261
|
-
validate: (val) => hasText(val),
|
|
262
|
-
errorMessage: "fieldIsRequired"
|
|
263
|
-
}],
|
|
264
|
-
postalCode: {
|
|
265
|
-
modes: ["blur"],
|
|
266
|
-
validate: (val) => {
|
|
267
|
-
const pattern = country ? postalCodePatterns[country] : void 0;
|
|
268
|
-
return pattern ? !!val && pattern.test(val) : !!val;
|
|
269
|
-
},
|
|
270
|
-
errorMessage: postalCodeFormat ? {
|
|
271
|
-
key: "invalidFormatExpects",
|
|
272
|
-
values: { format: postalCodeFormat }
|
|
273
|
-
} : "invalidFormat"
|
|
274
|
-
},
|
|
275
|
-
city: {
|
|
276
|
-
modes: ["blur"],
|
|
277
|
-
validate: hasText,
|
|
278
|
-
errorMessage: "fieldIsRequired"
|
|
279
|
-
},
|
|
280
|
-
stateOrProvince: {
|
|
281
|
-
modes: ["blur"],
|
|
282
|
-
validate: (val) => !!val,
|
|
283
|
-
errorMessage: "fieldIsRequired"
|
|
284
|
-
},
|
|
285
|
-
country: {
|
|
286
|
-
modes: ["blur"],
|
|
287
|
-
validate: (val) => !!val,
|
|
288
|
-
errorMessage: "fieldIsRequired"
|
|
289
|
-
}
|
|
290
|
-
};
|
|
291
|
-
};
|
|
292
|
-
var countrySpecificOtherAddressInformationValidators = (country) => {
|
|
293
|
-
switch (country) {
|
|
294
|
-
case CountryCodes.Japan: return [{
|
|
295
|
-
modes: ["blur"],
|
|
296
|
-
validate: (input) => {
|
|
297
|
-
return hasText(input);
|
|
298
|
-
},
|
|
299
|
-
errorMessage: "checkForTypos"
|
|
300
|
-
}, {
|
|
301
|
-
modes: ["blur"],
|
|
302
|
-
validate: (input) => {
|
|
303
|
-
return chomeAndBanchiValidator(input);
|
|
304
|
-
},
|
|
305
|
-
errorMessage: "pleaseUseOnlyNumbersAndDashes"
|
|
306
|
-
}];
|
|
307
|
-
default: return;
|
|
308
|
-
}
|
|
309
|
-
};
|
|
310
|
-
var addressValidationRulesV4 = (country, t) => {
|
|
311
|
-
const postalCodeFormat = country ? countrySpecificFormatters[country]?.postalCode?.format : void 0;
|
|
312
|
-
const MIN_LENGTH_3 = 3;
|
|
313
|
-
const MIN_LENGTH_2 = 2;
|
|
314
|
-
const street2 = countrySpecificOtherAddressInformationValidators(country);
|
|
315
|
-
return {
|
|
316
|
-
street: [
|
|
317
|
-
{
|
|
318
|
-
modes: ["blur"],
|
|
319
|
-
validate: (val) => hasText(val),
|
|
320
|
-
errorMessage: "fieldIsRequired"
|
|
321
|
-
},
|
|
322
|
-
{
|
|
323
|
-
modes: ["blur"],
|
|
324
|
-
validate: (input) => !matchesRegex(NO_ALPHABET_UNICODE_REGEX, input),
|
|
325
|
-
errorMessage: "nameMustContainLetters"
|
|
326
|
-
},
|
|
327
|
-
{
|
|
328
|
-
modes: ["blur"],
|
|
329
|
-
validate: (val) => !matchesRegex(EMOJI_REGEX, val) && !hasRepeatedCharacters(val) && !isInvalidName(val) && matchesRegex(ADDRESS_VALID_CHAR_REGEX, val),
|
|
330
|
-
errorMessage: "checkForTypos"
|
|
331
|
-
},
|
|
332
|
-
{
|
|
333
|
-
modes: ["blur"],
|
|
334
|
-
validate: (val) => isValidMinLength(val, MIN_LENGTH_3),
|
|
335
|
-
errorMessage: {
|
|
336
|
-
key: "fieldMustContainAtLeast",
|
|
337
|
-
values: {
|
|
338
|
-
fieldName: t(($) => $["address"]),
|
|
339
|
-
minLength: String(MIN_LENGTH_3)
|
|
340
|
-
}
|
|
341
|
-
}
|
|
342
|
-
}
|
|
343
|
-
],
|
|
344
|
-
postalCode: {
|
|
345
|
-
modes: ["blur"],
|
|
346
|
-
validate: (val) => {
|
|
347
|
-
const pattern = country ? postalCodePatterns[country] : void 0;
|
|
348
|
-
return pattern ? !!val && pattern.test(val) : !!val;
|
|
349
|
-
},
|
|
350
|
-
errorMessage: postalCodeFormat ? {
|
|
351
|
-
key: "invalidFormatExpects",
|
|
352
|
-
values: { format: postalCodeFormat }
|
|
353
|
-
} : "invalidFormat"
|
|
354
|
-
},
|
|
355
|
-
city: [
|
|
356
|
-
{
|
|
357
|
-
modes: ["blur"],
|
|
358
|
-
validate: hasText,
|
|
359
|
-
errorMessage: "fieldIsRequired"
|
|
360
|
-
},
|
|
361
|
-
{
|
|
362
|
-
modes: ["blur"],
|
|
363
|
-
validate: (input) => !matchesRegex(NO_ALPHABET_UNICODE_REGEX, input),
|
|
364
|
-
errorMessage: "nameMustContainLetters"
|
|
365
|
-
},
|
|
366
|
-
{
|
|
367
|
-
modes: ["blur"],
|
|
368
|
-
validate: (val) => !matchesRegex(EMOJI_REGEX, val) && !hasMaximumTwoRepeatedCharacters(val) && !isInvalidName(val),
|
|
369
|
-
errorMessage: "checkForTypos"
|
|
370
|
-
},
|
|
371
|
-
{
|
|
372
|
-
modes: ["blur"],
|
|
373
|
-
validate: (val) => isValidMinLength(val, MIN_LENGTH_2),
|
|
374
|
-
errorMessage: {
|
|
375
|
-
key: "fieldMustContainAtLeast",
|
|
376
|
-
values: {
|
|
377
|
-
fieldName: t(($) => $["city"]),
|
|
378
|
-
minLength: String(MIN_LENGTH_2)
|
|
379
|
-
}
|
|
380
|
-
}
|
|
381
|
-
}
|
|
382
|
-
],
|
|
383
|
-
stateOrProvince: [
|
|
384
|
-
{
|
|
385
|
-
modes: ["blur"],
|
|
386
|
-
validate: (val) => !!val,
|
|
387
|
-
errorMessage: "fieldIsRequired"
|
|
388
|
-
},
|
|
389
|
-
{
|
|
390
|
-
modes: ["blur"],
|
|
391
|
-
validate: (input) => !matchesRegex(NO_ALPHABET_UNICODE_REGEX, input),
|
|
392
|
-
errorMessage: "nameMustContainLetters"
|
|
393
|
-
},
|
|
394
|
-
{
|
|
395
|
-
modes: ["blur"],
|
|
396
|
-
validate: (val) => !hasMaximumTwoRepeatedCharacters(val) && !isInvalidName(val),
|
|
397
|
-
errorMessage: "checkForTypos"
|
|
398
|
-
}
|
|
399
|
-
],
|
|
400
|
-
country: [
|
|
401
|
-
{
|
|
402
|
-
modes: ["blur"],
|
|
403
|
-
validate: (val) => !!val,
|
|
404
|
-
errorMessage: "fieldIsRequired"
|
|
405
|
-
},
|
|
406
|
-
{
|
|
407
|
-
modes: ["blur"],
|
|
408
|
-
validate: (input) => !matchesRegex(NO_ALPHABET_REGEX, input),
|
|
409
|
-
errorMessage: "nameMustContainLetters"
|
|
410
|
-
},
|
|
411
|
-
{
|
|
412
|
-
modes: ["blur"],
|
|
413
|
-
validate: (val) => !matchesRegex(EMOJI_REGEX, val) && !isInvalidName(val) && matchesRegex(ADDRESS_VALID_CHAR_REGEX, val),
|
|
414
|
-
errorMessage: "checkForTypos"
|
|
415
|
-
}
|
|
416
|
-
],
|
|
417
|
-
street2
|
|
418
|
-
};
|
|
419
|
-
};
|
|
420
|
-
var addressValidators = ({ isFeatureEnabled = () => false, country, t }) => ({ ...isFeatureEnabled?.("StrictNameAndAddressValidationV4") ? addressValidationRulesV4(country, t) : addressValidationRules(country) });
|
|
421
|
-
var preventPoBoxValidation = (cleanseAddress) => ({ street: {
|
|
422
|
-
modes: ["blur"],
|
|
423
|
-
errorMessage: "addressPoBoxError",
|
|
424
|
-
asyncValidate: async (street, context) => {
|
|
425
|
-
const formData = context?.state?.data ?? {};
|
|
426
|
-
const { country } = formData;
|
|
427
|
-
if (!street || !country) return true;
|
|
428
|
-
const text = formatAddressForCleanse({
|
|
429
|
-
...formData,
|
|
430
|
-
street
|
|
431
|
-
});
|
|
432
|
-
if (!text) return true;
|
|
433
|
-
try {
|
|
434
|
-
const { poBox } = await cleanseAddress({
|
|
435
|
-
text,
|
|
436
|
-
country
|
|
437
|
-
});
|
|
438
|
-
return !poBox;
|
|
439
|
-
} catch (error) {
|
|
440
|
-
logger.error("Error while checking if address is PO box", error);
|
|
441
|
-
return true;
|
|
442
|
-
}
|
|
443
|
-
}
|
|
444
|
-
} });
|
|
445
|
-
//#endregion
|
|
446
205
|
//#region src/api/address/useRetrieveAddress.ts
|
|
447
206
|
var retrieveAddress = async (legalEntityId, baseUrl, addressId) => {
|
|
448
207
|
return httpGet({
|
|
@@ -833,4 +592,4 @@ function AddressField({ schema, data, valid, errors, fieldProblems, fieldName, t
|
|
|
833
592
|
}
|
|
834
593
|
}
|
|
835
594
|
//#endregion
|
|
836
|
-
export { defaultFieldMetadata as a,
|
|
595
|
+
export { defaultFieldMetadata as a, formatAddressForCleanse as c, useProviderStatus as d, defaultFieldConfig as i, useAddressCleanse as l, STATE_FIELD as n, addressFormatters as o, StateField as r, countrySpecificFormatters as s, AddressField as t, useAddressCleanseImperatively as u };
|
|
@@ -2,7 +2,7 @@ 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
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "7e89ab28-1f82-4435-8130-3bd8a1d6a1d1", e._sentryDebugIdIdentifier = "sentry-dbid-7e89ab28-1f82-4435-8130-3bd8a1d6a1d1");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { a as Icon } from "./translation-
|
|
5
|
+
import { a as Icon } from "./translation-DH4IlMCP.js";
|
|
6
6
|
import cx from "classnames";
|
|
7
7
|
import { jsx } from "preact/jsx-runtime";
|
|
8
8
|
var Avatar_module_default = {
|
|
@@ -1,44 +1,45 @@
|
|
|
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] = "cc93968d-543b-4cba-a52b-b29c6018250c", e._sentryDebugIdIdentifier = "sentry-dbid-cc93968d-543b-4cba-a52b-b29c6018250c");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { i as Typography, r as useTranslation } from "./translation-
|
|
6
|
-
import { T as datasetUtilities, k as Header } from "./resolveEnvironment-
|
|
7
|
-
import { r as Loader, t as Button } from "./Button-
|
|
8
|
-
import { n as httpGet, s as useApiContext } from "./http-
|
|
5
|
+
import { i as Typography, r as useTranslation } from "./translation-DH4IlMCP.js";
|
|
6
|
+
import { T as datasetUtilities, k as Header } 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
9
|
import { t as LegalEntityTypes } from "./legal-entity-type-0MfCGzUf.js";
|
|
10
10
|
import { t as useSettingsContext } from "./useSettingsContext-Bpf4UqRT.js";
|
|
11
11
|
import { n as cloneObject } from "./AnalyticsContext-BnRQ9H1u.js";
|
|
12
|
-
import { y as reverseMapping } from "./processCapabilities-
|
|
12
|
+
import { y as reverseMapping } from "./processCapabilities-BSpmJOEd.js";
|
|
13
13
|
import { f as hasSolePropInLegalEntity } from "./entityAssociationUtil-DLXInibJ.js";
|
|
14
|
-
import { t as isEeaCountry } from "./country-
|
|
15
|
-
import { i as useAnalyticsContext } from "./Modal-
|
|
14
|
+
import { t as isEeaCountry } from "./country-IYuKDSdC.js";
|
|
15
|
+
import { i as useAnalyticsContext } from "./Modal-nylR9F4X.js";
|
|
16
16
|
import { n as SettingNames } from "./debugStore-DpSgCNGn.js";
|
|
17
|
-
import { t as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-
|
|
18
|
-
import { n as useInvalidateRootLegalEntity, r as useToastContext } from "./useId-
|
|
19
|
-
import { t as EndStateLayout } from "./EndStateLayout-
|
|
20
|
-
import {
|
|
21
|
-
import { C as FormContextProvider, a as getRequiredForms, b as createFormUtils, c as useMultiForm, d as useFormComposer, i as addValidityToForms, n as CountryField, o as FormFlow, r as useFormContext } from "./CountryField-
|
|
22
|
-
import { t as ErrorPanel } from "./ErrorPanel-
|
|
23
|
-
import { t as Checkbox } from "./Checkbox-
|
|
24
|
-
import { t as useCreateLegalEntity } from "./useCreateLegalEntity-
|
|
25
|
-
import { t as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
26
|
-
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-
|
|
27
|
-
import { c as COUNTRIES_WITH_STATES_DATASET, n as getAddressSchemaLabelsByCountry, r as getKeyForField, t as getAddressSchemaForCountry } from "./utils-
|
|
28
|
-
import { n as isMaintenanceModeError, t as processValidationErrors } from "./processValidationErrors-
|
|
17
|
+
import { t as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-CzQlHWXy.js";
|
|
18
|
+
import { n as useInvalidateRootLegalEntity, r as useToastContext } from "./useId-po-YSdTw.js";
|
|
19
|
+
import { t as EndStateLayout } from "./EndStateLayout-BUK64Vqu.js";
|
|
20
|
+
import { f as translateTranslatable, r as Field, t as Select } from "./Select-B5Mo0Bpw.js";
|
|
21
|
+
import { C as FormContextProvider, a as getRequiredForms, b as createFormUtils, c as useMultiForm, d as useFormComposer, i as addValidityToForms, n as CountryField, o as FormFlow, r as useFormContext } from "./CountryField-DQnWXgAu.js";
|
|
22
|
+
import { t as ErrorPanel } from "./ErrorPanel-C2hG0lLe.js";
|
|
23
|
+
import { t as Checkbox } from "./Checkbox-faFUul66.js";
|
|
24
|
+
import { t as useCreateLegalEntity } from "./useCreateLegalEntity-Ctdmk3Ky.js";
|
|
25
|
+
import { t as useUpdateLegalEntity } from "./useUpdateLegalEntity-CH4xp654.js";
|
|
26
|
+
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-C7fcguXK.js";
|
|
27
|
+
import { c as COUNTRIES_WITH_STATES_DATASET, n as getAddressSchemaLabelsByCountry, r as getKeyForField, t as getAddressSchemaForCountry } from "./utils-C8WDAzsL.js";
|
|
28
|
+
import { n as isMaintenanceModeError, t as processValidationErrors } from "./processValidationErrors-PJV6CPG2.js";
|
|
29
29
|
import { r as formatObject } from "./utils-DdHbAadK.js";
|
|
30
|
-
import { t as localizeDateString } from "./localizeDateString-
|
|
31
|
-
import { a as isValidationError } from "./validationError-
|
|
30
|
+
import { t as localizeDateString } from "./localizeDateString-D-MlYN4V.js";
|
|
31
|
+
import { a as isValidationError } from "./validationError-1dpZJlAz.js";
|
|
32
32
|
import { n as getFieldProps } from "./getProps-DVqK7eRw.js";
|
|
33
|
-
import { t as Link } from "./Link-
|
|
34
|
-
import { t as InputText } from "./InputText-
|
|
35
|
-
import { t as InputDate } from "./InputDate-
|
|
36
|
-
import { t as RadioGroup } from "./RadioGroup-
|
|
37
|
-
import { t as Address } from "./Address-
|
|
38
|
-
import { t as
|
|
39
|
-
import {
|
|
40
|
-
import { t as
|
|
41
|
-
import { t as
|
|
33
|
+
import { t as Link } from "./Link-B7RA2gSt.js";
|
|
34
|
+
import { t as InputText } from "./InputText-Cf9ccCaj.js";
|
|
35
|
+
import { t as InputDate } from "./InputDate-DDVX2D-5.js";
|
|
36
|
+
import { t as RadioGroup } from "./RadioGroup-BUwhfue7.js";
|
|
37
|
+
import { t as Address } from "./Address-DQlehM6f.js";
|
|
38
|
+
import { t as formatValidationError } from "./formatValidationError-CZ5MeYBS.js";
|
|
39
|
+
import { t as currencyByCountry } from "./types-BLWT7WnU.js";
|
|
40
|
+
import { a as LegalFormField, i as InputCurrency, n as Currency, o as mapFinancialReportsToFinancialInformation, r as InputNumber, s as mapFinancialInformationToFinancialReport, t as CURRENCY_FIELD } from "./Currency-DJTE2WJJ.js";
|
|
41
|
+
import { t as NewSummary } from "./NewSummary-DDwQJV7w.js";
|
|
42
|
+
import { t as businessFinancingMultiformRules } from "./validate-CsYDNrPB.js";
|
|
42
43
|
import { useEffect, useMemo, useRef, useState } from "preact/hooks";
|
|
43
44
|
import { Fragment, jsx, jsxs } from "preact/jsx-runtime";
|
|
44
45
|
import { useQuery } from "@tanstack/preact-query";
|
|
@@ -1068,7 +1069,7 @@ function BusinessFinancingRegisteredAddress(props) {
|
|
|
1068
1069
|
}),
|
|
1069
1070
|
/* @__PURE__ */ jsx(Field, {
|
|
1070
1071
|
name: "sameAddressAsRootEntity",
|
|
1071
|
-
errorMessage: errors?.sameAddressAsRootEntity?.errorMessage,
|
|
1072
|
+
errorMessage: formatValidationError(errors?.sameAddressAsRootEntity?.errorMessage, commonT),
|
|
1072
1073
|
isValid: valid?.sameAddressAsRootEntity,
|
|
1073
1074
|
children: (childProps) => /* @__PURE__ */ jsx(Checkbox, {
|
|
1074
1075
|
...childProps,
|
|
@@ -1,13 +1,13 @@
|
|
|
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] = "e6e80e3c-6f92-435f-8426-c7c7e30b43b3", e._sentryDebugIdIdentifier = "sentry-dbid-e6e80e3c-6f92-435f-8426-c7c7e30b43b3");
|
|
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 } 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 } from "./Button-Cm7cT6BX.js";
|
|
8
|
+
import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-DR51Q4mE.js";
|
|
9
9
|
import { t as getLegalEntityCountry } from "./getLegalEntityCountry-BHh7Ux8v.js";
|
|
10
|
-
import { t as BusinessFinancingDropin } from "./BusinessFinancingDropin-
|
|
10
|
+
import { t as BusinessFinancingDropin } from "./BusinessFinancingDropin-CFKrcdPb.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
12
|
//#region src/components/EFP/pages/BusinessFinancingPage.tsx
|
|
13
13
|
var BusinessFinancingPage = ({ onSubmit, handleHomeClick }) => {
|
|
@@ -24,7 +24,7 @@ var BusinessFinancingPage = ({ onSubmit, handleHomeClick }) => {
|
|
|
24
24
|
"../tasks/BusinessFinancingDropin/language/el-GR.json": () => import("./el-GR-D9MFsese.js"),
|
|
25
25
|
"../tasks/BusinessFinancingDropin/language/en-US.json": () => import("./en-US-nYL_eSJ-.js"),
|
|
26
26
|
"../tasks/BusinessFinancingDropin/language/es-ES.json": () => import("./es-ES-N-uqwvEU.js"),
|
|
27
|
-
"../tasks/BusinessFinancingDropin/language/es-LA.json": () => import("./es-LA-
|
|
27
|
+
"../tasks/BusinessFinancingDropin/language/es-LA.json": () => import("./es-LA-DBBkFhgU.js"),
|
|
28
28
|
"../tasks/BusinessFinancingDropin/language/et-EE.json": () => import("./et-EE-CkJhiCVw.js"),
|
|
29
29
|
"../tasks/BusinessFinancingDropin/language/fi-FI.json": () => import("./fi-FI-D0ZPYGD3.js"),
|
|
30
30
|
"../tasks/BusinessFinancingDropin/language/fr-FR.json": () => import("./fr-FR-DXXrJUKC.js"),
|
|
@@ -47,33 +47,33 @@ var BusinessFinancingPage = ({ onSubmit, handleHomeClick }) => {
|
|
|
47
47
|
}, {
|
|
48
48
|
ns: "common",
|
|
49
49
|
importFn: (lang) => _rolldown_dynamic_import_helper_default(/* @__PURE__ */ Object.assign({
|
|
50
|
-
"../../../language/locales/bg-BG.json": () => import("./bg-BG-
|
|
51
|
-
"../../../language/locales/cs-CZ.json": () => import("./cs-CZ-
|
|
52
|
-
"../../../language/locales/da-DK.json": () => import("./da-DK-
|
|
53
|
-
"../../../language/locales/de-DE.json": () => import("./de-DE-
|
|
54
|
-
"../../../language/locales/el-GR.json": () => import("./el-GR-
|
|
50
|
+
"../../../language/locales/bg-BG.json": () => import("./bg-BG-Bmveyt6S.js"),
|
|
51
|
+
"../../../language/locales/cs-CZ.json": () => import("./cs-CZ-D5CQd_YI.js"),
|
|
52
|
+
"../../../language/locales/da-DK.json": () => import("./da-DK-Bl0-8FN4.js"),
|
|
53
|
+
"../../../language/locales/de-DE.json": () => import("./de-DE-Hah2EvAY.js"),
|
|
54
|
+
"../../../language/locales/el-GR.json": () => import("./el-GR-C9KGlGa7.js"),
|
|
55
55
|
"../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-pRLq5gXB.js"),
|
|
56
|
-
"../../../language/locales/en-US.json": () => import("./en-US-
|
|
57
|
-
"../../../language/locales/es-ES.json": () => import("./es-ES-
|
|
58
|
-
"../../../language/locales/es-LA.json": () => import("./es-LA-
|
|
59
|
-
"../../../language/locales/et-EE.json": () => import("./et-EE-
|
|
60
|
-
"../../../language/locales/fi-FI.json": () => import("./fi-FI-
|
|
61
|
-
"../../../language/locales/fr-FR.json": () => import("./fr-FR-
|
|
62
|
-
"../../../language/locales/hr-HR.json": () => import("./hr-HR
|
|
63
|
-
"../../../language/locales/hu-HU.json": () => import("./hu-HU-
|
|
64
|
-
"../../../language/locales/it-IT.json": () => import("./it-IT-
|
|
65
|
-
"../../../language/locales/ja-JP.json": () => import("./ja-JP-
|
|
66
|
-
"../../../language/locales/lt-LT.json": () => import("./lt-LT-
|
|
67
|
-
"../../../language/locales/lv-LV.json": () => import("./lv-LV-
|
|
68
|
-
"../../../language/locales/nl-NL.json": () => import("./nl-NL-
|
|
69
|
-
"../../../language/locales/no-NO.json": () => import("./no-NO-
|
|
70
|
-
"../../../language/locales/pl-PL.json": () => import("./pl-PL-
|
|
71
|
-
"../../../language/locales/pt-BR.json": () => import("./pt-BR-
|
|
72
|
-
"../../../language/locales/pt-PT.json": () => import("./pt-PT-
|
|
73
|
-
"../../../language/locales/ro-RO.json": () => import("./ro-RO-
|
|
74
|
-
"../../../language/locales/sk-SK.json": () => import("./sk-SK-
|
|
75
|
-
"../../../language/locales/sl-SI.json": () => import("./sl-SI-
|
|
76
|
-
"../../../language/locales/sv-SE.json": () => import("./sv-SE-
|
|
56
|
+
"../../../language/locales/en-US.json": () => import("./en-US-X8pjkwa3.js"),
|
|
57
|
+
"../../../language/locales/es-ES.json": () => import("./es-ES-DSwi-qfd.js"),
|
|
58
|
+
"../../../language/locales/es-LA.json": () => import("./es-LA-1H8dAUVR.js"),
|
|
59
|
+
"../../../language/locales/et-EE.json": () => import("./et-EE-BGpsJPjk.js"),
|
|
60
|
+
"../../../language/locales/fi-FI.json": () => import("./fi-FI-BdrXeX9d.js"),
|
|
61
|
+
"../../../language/locales/fr-FR.json": () => import("./fr-FR-hleHEr-Y.js"),
|
|
62
|
+
"../../../language/locales/hr-HR.json": () => import("./hr-HR--ti3n_XO.js"),
|
|
63
|
+
"../../../language/locales/hu-HU.json": () => import("./hu-HU-D9Avt-9f.js"),
|
|
64
|
+
"../../../language/locales/it-IT.json": () => import("./it-IT-Dq5z7p1-.js"),
|
|
65
|
+
"../../../language/locales/ja-JP.json": () => import("./ja-JP-Dyhw0Ycj.js"),
|
|
66
|
+
"../../../language/locales/lt-LT.json": () => import("./lt-LT-BMI4JzrS.js"),
|
|
67
|
+
"../../../language/locales/lv-LV.json": () => import("./lv-LV-LkNZQ__4.js"),
|
|
68
|
+
"../../../language/locales/nl-NL.json": () => import("./nl-NL-CC2r7Ldv.js"),
|
|
69
|
+
"../../../language/locales/no-NO.json": () => import("./no-NO-V7_rz3uN.js"),
|
|
70
|
+
"../../../language/locales/pl-PL.json": () => import("./pl-PL-2QyKX67Y.js"),
|
|
71
|
+
"../../../language/locales/pt-BR.json": () => import("./pt-BR-D08Fo1qY.js"),
|
|
72
|
+
"../../../language/locales/pt-PT.json": () => import("./pt-PT-BAQWYDe6.js"),
|
|
73
|
+
"../../../language/locales/ro-RO.json": () => import("./ro-RO-wG0rfL5w.js"),
|
|
74
|
+
"../../../language/locales/sk-SK.json": () => import("./sk-SK-DJinBnS1.js"),
|
|
75
|
+
"../../../language/locales/sl-SI.json": () => import("./sl-SI-DUaLO_J7.js"),
|
|
76
|
+
"../../../language/locales/sv-SE.json": () => import("./sv-SE-5uxyEq2a.js")
|
|
77
77
|
}), `../../../language/locales/${lang}.json`, 6)
|
|
78
78
|
}]);
|
|
79
79
|
if (!rootLe) return /* @__PURE__ */ jsx(Loader, {});
|