@adyen/kyc-components 4.26.0-beta.1 → 4.27.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/{AcceptTermsOfServiceWorkflow-Dqbo6l6E.js → AcceptTermsOfServiceWorkflow-CLxIT19W.js} +4 -4
- package/dist/{Accordion-BAdwrgCR.js → Accordion-CTQfC17W.js} +1 -1
- package/dist/{AccountSetupRejected-BiFdVnlI.js → AccountSetupRejected-Cuu1cHgb.js} +2 -2
- package/dist/{AdaptiveWorkflow-Cl6sIKYm.js → AdaptiveWorkflow-Du4hN8Ry.js} +22 -22
- package/dist/{AdaptiveWorkflowComponent-DTvjszP9.js → AdaptiveWorkflowComponent-CoOpFWm7.js} +5 -5
- package/dist/{AddressFields-DSJ_dDIS.js → AddressFields-Dzoa4PU5.js} +33 -72
- package/dist/{Avatar-C2zeqSSB.js → Avatar-yJfk9A6l.js} +1 -1
- package/dist/{BusinessFinancingDropin-BZsQMeo9.js → BusinessFinancingDropin-DP6b5D85.js} +123 -55
- package/dist/{BusinessFinancingPage-BilT7QB1.js → BusinessFinancingPage-BIGEXFdp.js} +6 -6
- package/dist/{BusinessRegistrationNumberField-CBEz-yoj.js → BusinessRegistrationNumberField-B2n9ugLK.js} +6 -6
- package/dist/{BusinessRegistrationNumberFieldGroup-CkoC1zF3.js → BusinessRegistrationNumberFieldGroup-BvKp9WMt.js} +6 -6
- package/dist/{BusinessTypeSelectionPage-CIO175KD.js → BusinessTypeSelectionPage-xRXq2lGM.js} +13 -13
- package/dist/{Button-Dwr6jvJZ.js → Button-BYafPrZH.js} +1 -1
- package/dist/{Checkbox-CpzEl3ji.js → Checkbox-qFA2J_1r.js} +8 -8
- package/dist/{ComponentGroup-BjjCPKWY.js → ComponentGroup-CyykPP2r.js} +3 -3
- package/dist/{ConstitutionalDocument-C_ZgPp87.js → ConstitutionalDocument-DzLLKoWV.js} +19 -26
- package/dist/{ContactDetails-DHHlpdct.js → ContactDetails-CcWafw_y.js} +5 -5
- package/dist/{ContextGuidance-SHSxyen7.js → ContextGuidance-gAsOnDqD.js} +3 -3
- package/dist/{CountryField-DUANNyWK.js → CountryField-Dxuy2L9C.js} +4 -4
- package/dist/{Currency-DFgCZFeZ.js → Currency-CAEcQwe6.js} +16 -10
- package/dist/{CustomerSupport-8Gp9EPcW.js → CustomerSupport-C1nrEyEr.js} +29 -16
- package/dist/{DateField-DfkL_Acw.js → DateField-D8GSp5fV.js} +4 -4
- package/dist/{DebugModal-DrmTRJup.js → DebugModal-Bwhnd1v5.js} +10 -10
- package/dist/{DecisionMakerDetails-DSuWWQR3.js → DecisionMakerDetails-DHsxYfa3.js} +79 -174
- package/dist/{DecisionMakerDetailsPage-DvaF8JWQ.js → DecisionMakerDetailsPage-DoisZYll.js} +9 -9
- package/dist/{DecisionMakers-HjFvfukQ.js → DecisionMakers-BD5J47Zs.js} +17 -18
- package/dist/{Dropzone-CM9xNqdS.js → Dropzone-CTz4GiZE.js} +7 -7
- package/dist/{EmailField-CIMaH5h8.js → EmailField-DoEYalIM.js} +4 -4
- package/dist/{EmbeddedStatus-4YjyzkcD.js → EmbeddedStatus-mdQsQfof.js} +2 -2
- package/dist/{EndStateLayout-C5Pqler-.js → EndStateLayout-B-M90Rnh.js} +2 -2
- package/dist/{EntityAssociation-mOKgAoTo.js → EntityAssociation-aB7bppFQ.js} +6 -6
- package/dist/{ErrorPanel-MWL7vQHx.js → ErrorPanel-CuoQueZk.js} +10 -17
- package/dist/{GlobalEntryModal-CLTA41r-.js → GlobalEntryModal-ZuajLl8B.js} +439 -298
- package/dist/{GlobalEntryPage-CxXk05KE.js → GlobalEntryPage-WrN5mVJe.js} +7 -8
- package/dist/{Icon-_YUEZg1p.js → Icon-jVvV1zXc.js} +1 -1
- package/dist/{IdentityNumber-DA8DOgxH.js → IdentityNumber-IDvVA7_z.js} +5 -5
- package/dist/{IdentityNumberFieldGroup-D4MTWr-z.js → IdentityNumberFieldGroup-CW8lJ6_d.js} +2 -2
- package/dist/{IdentityScreeningWorkflow-DfI-6mXR.js → IdentityScreeningWorkflow-TfHCTDlp.js} +12 -13
- package/dist/{IndividualDropin-B70zK0AA.js → IndividualDropin-MpaDWh9N.js} +147 -223
- package/dist/{IndustryCodeFieldGroup-CHPfvz-_.js → IndustryCodeFieldGroup-DsJF3GOE.js} +5 -5
- package/dist/{InputDate-BSxqqg_B.js → InputDate-Bmx3_p-j.js} +8 -4
- package/dist/{InputText-DIesIpnW.js → InputText-CGngUMdf.js} +2 -2
- package/dist/{Introduction--U4NyUxq.js → Introduction-Dt8pjcxt.js} +6 -6
- package/dist/{InvitedDecisionMakerComponent-DIBX_HRF.js → InvitedDecisionMakerComponent-1oXTODfv.js} +13 -14
- package/dist/{JpAddressFields-OgKOVHI0.js → JpAddressFields-DhzFwu0N.js} +9 -10
- package/dist/{LegalCompanyNameField-wgWJRR84.js → LegalCompanyNameField-BsY3tJfX.js} +5 -5
- package/dist/{LegalRepresentativeDetailsPage-BFtn7wzQ.js → LegalRepresentativeDetailsPage-C50GRV2l.js} +4 -4
- package/dist/{Link-D0Yqc2r0.js → Link-DwPkGikd.js} +1 -1
- package/dist/{ListItem-DY-qq1lS.js → ListItem-n927geYb.js} +2 -2
- package/dist/{Modal-C-T-spfu.js → Modal-ChWNV9yG.js} +3 -3
- package/dist/{Name-C8NOxqDE.js → Name-C8hhvQlN.js} +4 -4
- package/dist/{NumberField-CUGWeVc9.js → NumberField-C7vHy7Yz.js} +4 -4
- package/dist/{PatriotActDisclosure-CWcGyfuA.js → PatriotActDisclosure-CAvpE8su.js} +10 -10
- package/dist/{PayoutDetailsDropin-CZT8xUPC.js → PayoutDetailsDropin-ILM3oK4r.js} +41 -43
- package/dist/{PayoutDetailsPage-C54-v6yl.js → PayoutDetailsPage-DfZYYplh.js} +5 -5
- package/dist/{Review-CYIwvp62.js → Review-D_I4FUVw.js} +6 -6
- package/dist/{RootBusinessDetailsPage-CI8iAty4.js → RootBusinessDetailsPage-CoOUMflT.js} +4 -4
- package/dist/{RootBusinessLinesPage-ZPaIqKwi.js → RootBusinessLinesPage-DYz9wrU_.js} +22 -23
- package/dist/{RootIndividualDetailsPage-ApOJRs0B.js → RootIndividualDetailsPage-C42YybJq.js} +6 -6
- package/dist/{Select-DwuMMZWv.js → Select-BMGxcmZy.js} +92 -92
- package/dist/{SignPCIComponent-B4D4nPDO.js → SignPCIComponent-B4RkNT1l.js} +14 -14
- package/dist/{SingpassSelection-vy5Stz5H.js → SingpassSelection-Usq1Kdpp.js} +5 -5
- package/dist/{SoleProprietorshipPage-dyEpmmk3.js → SoleProprietorshipPage-tEf2zwhT.js} +4 -4
- package/dist/{SourceOfFundsPage-DgCWI7Ac.js → SourceOfFundsPage-BXG5weCA.js} +24 -24
- package/dist/{SourceOfFundsWorkflow-CdOOLWqA.js → SourceOfFundsWorkflow-BWWLrVaR.js} +4 -4
- package/dist/StateField-TYw5No81.js +364 -0
- package/dist/{Step-Cqaytd3J.js → Step-D8w1jd5O.js} +5 -5
- package/dist/Summary-BwvaKucT.js +21 -0
- package/dist/{SummarySection-BVPfXtuP.js → SummarySection-5L--khYg.js} +5 -19
- package/dist/{Task-CegWZQgV.js → Task-dSDYu-xr.js} +7 -7
- package/dist/{TaskGroup-BqSUUr1i.js → TaskGroup-298zewpP.js} +3 -3
- package/dist/{TaskListItem-CvYgXREa.js → TaskListItem-jRIQ_fJt.js} +10 -10
- package/dist/{TaskStepperContextProvider-9wlnwii7.js → TaskStepperContextProvider-DiMf4UV6.js} +1 -1
- package/dist/{TaskVerificationStatus-zoxTZ2mt.js → TaskVerificationStatus-C1CllzL1.js} +17 -17
- package/dist/{TaxInformationFieldGroup-lT5OgO75.js → TaxInformationFieldGroup-BkyZwtUe.js} +7 -7
- package/dist/{TaxReportingDropin-C9jUzNzP.js → TaxReportingDropin-BVohPujf.js} +13 -15
- package/dist/{TaxReportingWorkflow-C3qyl3rW.js → TaxReportingWorkflow-BdVibdaP.js} +4 -4
- package/dist/{TermsOfServiceManagement-DfFV6erX.js → TermsOfServiceManagement-Bh0BJ4wb.js} +46 -43
- package/dist/{TextArea-CQIt_2VI.js → TextArea-BaoeEZvH.js} +4 -4
- package/dist/{TextField-C8CRipRJ.js → TextField-BWevK7LS.js} +5 -5
- package/dist/{TrustDetailsPage-Ax5uaglT.js → TrustDetailsPage-B5x1-NPO.js} +61 -54
- package/dist/{TrustMemberCompanyPage-DBxTZo-8.js → TrustMemberCompanyPage-Ck2UKJma.js} +5 -5
- package/dist/{TrustMemberIndividualPage-DFhWDN3f.js → TrustMemberIndividualPage-CTUh7yn9.js} +4 -4
- package/dist/{TrustMemberRoleAndTypePage-Bdoyd1ix.js → TrustMemberRoleAndTypePage-D5_AZAMj.js} +43 -36
- package/dist/{TrustMembersOverview-BCdJRHAn.js → TrustMembersOverview-Dbt3KQhv.js} +13 -13
- package/dist/{UboTaskItem-DIIoWLbx.js → UboTaskItem-CV0B4ONJ.js} +7 -7
- package/dist/{UnincorporatedPartnershipIndividualPage-B20wDAzH.js → UnincorporatedPartnershipIndividualPage-g9PpNHfH.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-DvcQYNzd.js → UnincorporatedPartnershipMemberCompanyPage-Chd2k8jM.js} +5 -5
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-Dx1pRB4b.js → UnincorporatedPartnershipMemberRoleAndTypePage-C7AvOkFK.js} +9 -9
- package/dist/{UnincorporatedPartnershipMembersOverview-C0cRXnsL.js → UnincorporatedPartnershipMembersOverview-m3TgX08K.js} +6 -6
- package/dist/{VerificationErrorAlert-D0K9gep-.js → VerificationErrorAlert-yOZ8yz_8.js} +3 -3
- package/dist/{WebsiteField-Bgf9bYOR.js → WebsiteField-Cn_VPhTx.js} +5 -5
- package/dist/{Workflow-DxRS9IMd.js → Workflow-BUgUDsPv.js} +6 -6
- package/dist/{accountHolderUtils-QdO9D_A_.js → accountHolderUtils-DhbLva46.js} +1 -1
- package/dist/adyen-business-financing.js +7 -7
- package/dist/adyen-individual-configuration.js +6 -6
- package/dist/adyen-individual-status.js +5 -5
- package/dist/adyen-invited-decision-maker.js +3 -3
- package/dist/adyen-onboarding.js +30 -30
- package/dist/adyen-terms-of-service-management.js +3 -3
- package/dist/adyen-terms-of-service-status.js +3 -3
- package/dist/adyen-transfer-instrument-configuration.js +5 -5
- package/dist/adyen-transfer-instrument-management.js +13 -13
- package/dist/adyen-verification-status.js +3 -3
- package/dist/{bafinUtils-CW20t7tP.js → bafinUtils-4C7AJpnd.js} +519 -531
- package/dist/{constants-DR4IoRWH.js → constants-dKwpavyU.js} +6 -6
- package/dist/{dropinUtils-C0hhy3A9.js → dropinUtils-D7sD4BX1.js} +165 -364
- package/dist/en-US-8KLaHQaT.js +7 -0
- package/dist/{en-US-Cz4JoU20.js → en-US-BMMx67Za.js} +16 -2
- package/dist/{en-US-nYL_eSJ-.js → en-US-BfRvYdHX.js} +8 -2
- package/dist/en-US-DGdFfmUC.js +136 -0
- package/dist/{en-US.instructions-BVNIyLRs.js → en-US.instructions-myDXMUbk.js} +2 -1
- package/dist/{error-m4DJ8d3r.js → error-vhREufv_.js} +2 -2
- package/dist/formatDataForSummary-CNiewg8c.js +498 -0
- package/dist/{formatValidationError-CwtW9tMt.js → formatValidationError-BO9k5bVJ.js} +2 -2
- package/dist/{getDefaultRegistrationNumberType-CVVuCd8E.js → getDefaultRegistrationNumberType-BWN86JDR.js} +4 -4
- package/dist/{getProblemsForEntity-mdb3Bfpj.js → getProblemsForEntity-FHk416BA.js} +1 -1
- package/dist/{getTrustedDecisionMakers-D89oYOLp.js → getTrustedDecisionMakers-DByctgob.js} +1 -1
- package/dist/{getValidationError-RnMEkCKd.js → getValidationError--VxsluPA.js} +2 -2
- package/dist/{legalArrangementUtils-Crgt_L7h.js → legalArrangementUtils-CHlmmcB8.js} +11 -2
- package/dist/{mapAddressLocalizationToJpAddressSchema-Dpsnbt5H.js → mapAddressLocalizationToJpAddressSchema-Di3_rcrj.js} +2 -2
- package/dist/{mapExistingFile-BXfeQxev.js → mapExistingFile-CqbTLZ6i.js} +1 -1
- package/dist/mapJpAddressSchemaToAddressLocalizations-TLZ9foPF.js +19 -0
- package/dist/{mapTransferInstrumentToPayoutAccount-6aBAKF7U.js → mapTransferInstrumentToPayoutAccount-BLq2P8NF.js} +2 -2
- package/dist/{processCapabilities-FL4-KAbd.js → processCapabilities-B75YIdXZ.js} +11 -4
- package/dist/{processValidationErrors-CcgBvwPJ.js → processValidationErrors-DKn7wWTY.js} +4 -4
- package/dist/{resolveEnvironment-DwfwgVEU.js → resolveEnvironment-CrNBwIpQ.js} +53 -16
- package/dist/roleMetadata-CmxqSnzp.js +57 -0
- package/dist/style.css +166 -230
- package/dist/styles-DYaAeu4q.js +166 -230
- package/dist/trustMemberType-Ix2sf6e_.js +13 -0
- package/dist/types/api/address/useAddressCleanse.d.ts +2 -0
- package/dist/types/api/address/useRetrieveAddress.d.ts +1 -0
- package/dist/types/api/address/useRetrieveFromPostcodeJp.d.ts +1 -0
- package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/utils.d.ts +7 -2
- package/dist/types/components/Business/forms/FinancialInformation/mapping/mapFinancialInformationToFinancialReport.d.ts +1 -1
- package/dist/types/components/Business/forms/rules.d.ts +3 -1
- package/dist/types/components/Business/utils/formatDataForSummary.d.ts +2 -1
- package/dist/types/components/EFP/mapping/businessFinancingKeyMappings.d.ts +78 -0
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingFinancialInformation.d.ts +3 -0
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/types.d.ts +2 -1
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/utils.d.ts +6 -3
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/validate.d.ts +3 -0
- package/dist/types/components/GlobalEntry/fields/DbaQuestionnaire/DbaQuestionnaire.d.ts +3 -0
- package/dist/types/components/GlobalEntry/fields/DbaQuestionnaire/types.d.ts +5 -0
- package/dist/types/components/GlobalEntry/fields/LlcQuestionnaire/LlcQuestionnaire.d.ts +3 -0
- package/dist/types/components/GlobalEntry/fields/LlcQuestionnaire/types.d.ts +5 -0
- package/dist/types/components/GlobalEntry/fields/PaperworkQuestionnaire/PaperworkQuestionnaire.d.ts +1 -6
- package/dist/types/components/GlobalEntry/fields/PaperworkQuestionnaire/fieldConfig.d.ts +11 -0
- package/dist/types/components/GlobalEntry/fields/PaperworkQuestionnaire/types.d.ts +6 -1
- package/dist/types/components/GlobalEntry/fields/Questionnaire/Questionnaire.d.ts +2 -0
- package/dist/types/components/GlobalEntry/fields/Questionnaire/types.d.ts +17 -0
- package/dist/types/components/GlobalEntry/fields/TrustQuestionnaire/TrustQuestionnaire.d.ts +3 -0
- package/dist/types/components/GlobalEntry/fields/TrustQuestionnaire/types.d.ts +5 -0
- package/dist/types/components/GlobalEntry/forms/EntityInformation/EntityInformation.d.ts +1 -3
- package/dist/types/components/GlobalEntry/forms/EntityInformation/types.d.ts +1 -2
- package/dist/types/components/GlobalEntry/forms/RegistrationInformation/types.d.ts +5 -1
- package/dist/types/components/GlobalEntry/mapping/globalEntryKeyMapping.d.ts +0 -3
- package/dist/types/components/GlobalEntry/mapping/mapGlobalEntrySchemaToLegalEntity.d.ts +2 -3
- package/dist/types/components/GlobalEntry/mapping/mapLegalEntityToGlobalEntrySchema.d.ts +1 -6
- package/dist/types/components/GlobalEntry/rules.d.ts +5 -2
- package/dist/types/components/GlobalEntry/utils/getAvailableCompanyStructures.d.ts +2 -1
- package/dist/types/components/GlobalEntry/utils/submitGlobalEntry.d.ts +1 -4
- package/dist/types/components/GlobalEntry/utils/utils.d.ts +7 -4
- package/dist/types/components/Individual/forms/AdditionalPersonalDetails/AdditionalPersonalDetails.types.d.ts +1 -2
- package/dist/types/components/Individual/forms/Individual.rules.d.ts +7 -6
- package/dist/types/components/Individual/helpers/findRelevantTaxInformation.d.ts +8 -2
- package/dist/types/components/Individual/helpers/getSubmittableTaxInformation.d.ts +20 -0
- package/dist/types/components/Individual/mapping/mapIndividualSchemaToLegalEntity.d.ts +5 -3
- package/dist/types/components/Individual/tasks/DecisionMakers/DecisionMakerDetails/utils.d.ts +6 -67
- package/dist/types/components/Individual/tasks/IndividualDropin/IndividualSummary.d.ts +27 -0
- package/dist/types/components/Individual/utils/formatDataForSummary.d.ts +49 -0
- package/dist/types/components/Shared/FormFlow/FormFlow.d.ts +1 -1
- package/dist/types/components/Shared/FormFlow/FormFlow.types.d.ts +0 -5
- package/dist/types/components/Shared/Summary/Summary.d.ts +10 -7
- package/dist/types/components/Shared/Summary/types.d.ts +3 -21
- package/dist/types/components/Shared/SummarySection/SummaryBulletList.d.ts +8 -0
- package/dist/types/components/Shared/fields/RegistrationAndOperationalAddressFields/types.d.ts +2 -0
- package/dist/types/components/Shared/fields/RegistrationAndOperationalAddressFields/utils.d.ts +2 -4
- package/dist/types/components/Shared/fields/ReportedValueOptionField/types.d.ts +3 -0
- package/dist/types/components/Shared/forms/Address/constants.d.ts +2 -0
- package/dist/types/components/Shared/forms/Address/localized/jp/JpAddressFields.d.ts +2 -9
- package/dist/types/components/Shared/forms/Address/localized/jp/mapAddressLocalizationToJpAddressSchema.d.ts +2 -2
- package/dist/types/components/Shared/forms/Address/localized/jp/mapJpAddressSchemaToAddressLocalizations.d.ts +2 -2
- package/dist/types/components/Shared/forms/Address/localized/jp/mapJpAddressSummary.d.ts +2 -4
- package/dist/types/components/Shared/forms/Address/rules.d.ts +13 -0
- package/dist/types/components/Shared/forms/Address/types.d.ts +7 -1
- package/dist/types/components/Shared/forms/Address/utils.d.ts +5 -11
- package/dist/types/components/Trust/forms/Trust/rules.d.ts +3 -1
- package/dist/types/components/Trust/tasks/RoleAndTypeDropin/formatRoleAndEntityTypeSummary.d.ts +2 -3
- package/dist/types/components/Trust/utils/formatDataForSummary.d.ts +2 -1
- package/dist/types/core/EmbedShell/EmbedShell.d.ts +4 -1
- package/dist/types/core/EmbedShell/useTheme.d.ts +9 -0
- package/dist/types/embeds/onboarding/adyen-onboarding.d.ts +1 -1
- package/dist/types/embeds/onboarding/adyen-onboarding.types.d.ts +8 -0
- package/dist/types/hooks/useStoredStateOrProvince.d.ts +9 -0
- package/dist/types/types/datasets/state-code.d.ts +36 -1
- package/dist/types/types/form-rules.d.ts +2 -2
- package/dist/types/utils/analytics/getPrefilledDetails.d.ts +3 -0
- package/dist/types/utils/entityStatusUtil.d.ts +1 -1
- package/dist/types/utils/fieldConfigurations.d.ts +1 -1
- package/dist/types/utils/legalArrangementUtils.d.ts +2 -0
- package/dist/{types-BymnGWO9.js → types-DVMWWwBT.js} +1 -1
- package/dist/{form-rules-DaLzvm8o.js → unincorporatedPartnership-Dr3lPgDv.js} +38 -4
- package/dist/{useBusinessDetailsData-D1DJeC90.js → useBusinessDetailsData-DrN9ZzIG.js} +100 -90
- package/dist/{useCanSeeIntroduction-CvLOidr8.js → useCanSeeIntroduction-BDarBkmx.js} +2 -2
- package/dist/useCreateLegalEntity-CgzVD39K.js +24 -0
- package/dist/{useDataMissingRemediations-DKjYzfe2.js → useDataMissingRemediations-BfC7ECSn.js} +1 -1
- package/dist/{useForm-B5MdX_HU.js → useForm-Cibudto5.js} +3 -3
- package/dist/{useHideTaskStepper-BgCN--mG.js → useHideTaskStepper-Betx9MGy.js} +1 -1
- package/dist/{useId-DbtfzzaE.js → useId-e2xn6OME.js} +2 -2
- package/dist/{useNavigate-uuRpGZuZ.js → useNavigate-DxEfo192.js} +33 -33
- package/dist/{useSalesChannels-XZRfoa6v.js → useSalesChannels-C09EqYFN.js} +1 -1
- package/dist/{useTaskLandedEvent-DzsLZguJ.js → useTaskLandedEvent-C-kML6lH.js} +1 -1
- package/dist/{useTrustMembers-xuXOS0a8.js → useTrustMembers-CZ28rgNA.js} +3 -3
- package/dist/{useUnincorporatedPartnershipMembers-DcfQJdVZ.js → useUnincorporatedPartnershipMembers-e3nDscEc.js} +2 -2
- package/dist/{utils-BD22komZ.js → utils-C3-aLHsN.js} +3 -3
- package/dist/{utils-CtCqc_ym.js → utils-C_z60qSD.js} +4 -5
- package/dist/{utils-BFxg3gPM.js → utils-ChZNfG5_.js} +1 -1
- package/dist/utils-gszwUnoh.js +49 -0
- package/dist/{validate-mbqt6wsS.js → validate-BDG97Hw4.js} +4 -4
- package/dist/{validate-r2j-Yc-q.js → validate-C1VibHZH.js} +26 -2
- package/dist/{validate-DNq64o-B.js → validate-Dve-kxSi.js} +11 -5
- package/dist/{validate-83HsNk18.js → validate-bah41KLb.js} +20 -9
- package/dist/{validateExtractionResult-IRRMwcNi.js → validateExtractionResult-D3AuQo5-.js} +3 -3
- package/package.json +6 -5
- package/dist/Image-CxnjHtP1.js +0 -33
- package/dist/List-qvNxW9lm.js +0 -72
- package/dist/StateField-BMyu6YZZ.js +0 -296
- package/dist/en-US-U0d3NI20.js +0 -7
- package/dist/mapJpAddressSchemaToAddressLocalizations-CAoOxUg9.js +0 -75
- package/dist/mapLegalEntityToIndividualSchema-Bl89JIZK.js +0 -254
- package/dist/trustMemberGuidance-BpeDHAJP.js +0 -27
- package/dist/types/components/Shared/NewSummary/NewSummary.d.ts +0 -10
- package/dist/types/components/Shared/Summary/summaryItem.d.ts +0 -17
- package/dist/types/components/Shared/forms/Address/localized/jp/jpAddressSchema.d.ts +0 -17
- package/dist/unincorporatedPartnership-BbNowjM2.js +0 -11
|
@@ -1,74 +1,75 @@
|
|
|
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] = "4e012cac-f42d-49ff-a4f6-75b3e1d811c5", e._sentryDebugIdIdentifier = "sentry-dbid-4e012cac-f42d-49ff-a4f6-75b3e1d811c5");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation } from "./translation-CpH8D2NK.js";
|
|
6
|
-
import {
|
|
6
|
+
import { C as Alert, D as datasetUtilities, O as useAllowedCountries, gt as useAccountHolder, j as Header, lt as isUndefinedOrNull, ot as isEmpty, st as isISIN, vt as useVersionConfiguration } from "./resolveEnvironment-CrNBwIpQ.js";
|
|
7
7
|
import { t as createLogger } from "./logger-Z8AeTE4x.js";
|
|
8
8
|
import { t as Typography } from "./Typography-CAc_f5Iq.js";
|
|
9
9
|
import { t as Loader } from "./Loader-BDaKGf77.js";
|
|
10
|
-
import { t as Button } from "./Button-
|
|
10
|
+
import { t as Button } from "./Button-BYafPrZH.js";
|
|
11
11
|
import { s as useApiContext } from "./http-C8rt2BZk.js";
|
|
12
12
|
import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-CxeMoCm4.js";
|
|
13
13
|
import { t as useSettingsContext } from "./useSettingsContext-Bpf4UqRT.js";
|
|
14
14
|
import { a as objectsDeepEqual, n as doArraysMatch, o as entriesOf, s as keysOf } from "./genUtils-nphCwt1A.js";
|
|
15
15
|
import { t as StackLayout } from "./StackLayout-J1ynSX-P.js";
|
|
16
|
-
import { t as TaskVerificationStatus } from "./TaskVerificationStatus-
|
|
16
|
+
import { t as TaskVerificationStatus } from "./TaskVerificationStatus-C1CllzL1.js";
|
|
17
17
|
import { n as TASK_STATUS_POLLING_INTERVAL_MS } from "./taskStatus-BtekPA8E.js";
|
|
18
18
|
import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
|
|
19
|
-
import { _ as businessDetailsKeyMapping, f as solePropBusinessDetailsApiKeyMapping, g as businessDetailsDocumentMapping, h as businessDetailsApiKeyMapping, m as solePropBusinessDetailsKeyMapping, p as solePropBusinessDetailsDocumentMapping } from "./processCapabilities-
|
|
19
|
+
import { _ as businessDetailsKeyMapping, f as solePropBusinessDetailsApiKeyMapping, g as businessDetailsDocumentMapping, h as businessDetailsApiKeyMapping, m as solePropBusinessDetailsKeyMapping, p as solePropBusinessDetailsDocumentMapping } from "./processCapabilities-B75YIdXZ.js";
|
|
20
20
|
import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
|
|
21
21
|
import { r as filterOutUnwantedAssociationsIfRootLE, s as getOwnEntityAssociations } from "./entityAssociationUtil-BlfcBl3i.js";
|
|
22
22
|
import { t as Scenarios } from "./scenarios-nibtmpSb.js";
|
|
23
|
-
import { i as useToggleContext, r as useDebouncedCallback, t as Checkbox } from "./Checkbox-
|
|
24
|
-
import { i as useAnalyticsContext, n as ModalContent, t as Modal } from "./Modal-
|
|
23
|
+
import { i as useToggleContext, r as useDebouncedCallback, t as Checkbox } from "./Checkbox-qFA2J_1r.js";
|
|
24
|
+
import { i as useAnalyticsContext, n as ModalContent, t as Modal } from "./Modal-ChWNV9yG.js";
|
|
25
25
|
import { t as HandlerContext } from "./HandlerContext-DeMa68z0.js";
|
|
26
|
-
import { a as SettingNames, t as InputText } from "./InputText-
|
|
27
|
-
import { t as ListItem } from "./ListItem-
|
|
26
|
+
import { a as SettingNames, t as InputText } from "./InputText-CGngUMdf.js";
|
|
27
|
+
import { t as ListItem } from "./ListItem-n927geYb.js";
|
|
28
28
|
import { t as getFormSlice } from "./getFormSlice-CxtXJ0-P.js";
|
|
29
29
|
import { t as useBusinessLines } from "./useBusinessLines-0FcuDMzo.js";
|
|
30
30
|
import { t as Card } from "./Card-BCGLpdw7.js";
|
|
31
|
-
import { n as useInvalidateRootLegalEntity, r as useToastContext } from "./useId-
|
|
32
|
-
import { a as
|
|
33
|
-
import {
|
|
34
|
-
import { o as StructuredList, r as formatObject, s as Confirm } from "./utils-
|
|
35
|
-
import { a as CountryOfGoverningLawField, c as useCompanyTypeExamples, d as companySearchQueryOptions, f as useCompanySearch, i as COUNTRY_OF_GOVERNING_LAW_FIELD, l as useCompanySelection, m as
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import { t as
|
|
40
|
-
import {
|
|
41
|
-
import { a as
|
|
42
|
-
import {
|
|
43
|
-
import { n as BusinessRegistrationNumberField, t as BUSINESS_REGISTRATION_NUMBER_FIELD } from "./BusinessRegistrationNumberField-CBEz-yoj.js";
|
|
44
|
-
import { n as LEGAL_ARRANGEMENT_COUNTRIES_REQUIRING_DATE_OF_INCORPORATION } from "./legalArrangementUtils-Crgt_L7h.js";
|
|
31
|
+
import { n as useInvalidateRootLegalEntity, r as useToastContext } from "./useId-e2xn6OME.js";
|
|
32
|
+
import { a as resolveFieldMetadata, c as getPropsFromConfigurations, l as LandingLayout, n as Image, r as createFormRules, s as composePerScenarioFormConfigurations } from "./unincorporatedPartnership-Dr3lPgDv.js";
|
|
33
|
+
import { o as Field, p as LoaderWrapper } from "./Select-BMGxcmZy.js";
|
|
34
|
+
import { o as StructuredList, r as formatObject, s as Confirm } from "./utils-C3-aLHsN.js";
|
|
35
|
+
import { a as CountryOfGoverningLawField, c as useCompanyTypeExamples, d as companySearchQueryOptions, f as useCompanySearch, h as useClearCompanyData, i as COUNTRY_OF_GOVERNING_LAW_FIELD, l as useCompanySelection, m as useStoredStateOrProvince, n as COUNTRY_OF_GOVERNING_LAW_POSSIBLE, o as useLegalCompanyNameField, p as trackPerformance, r as isNormalizedStringMatch, s as localizedLegalCompanyNameFieldConfig, t as CountryOfGoverningLawFieldValidation, u as verifyTinQueryOptions } from "./validate-bah41KLb.js";
|
|
36
|
+
import { a as getKeyForField, d as COUNTRIES_WITH_STATES_DATASET, h as useUpdateLegalEntity, m as isEmpty$1, n as StateField, o as mapAddressLabels, p as isJapanLocalizationEnabled, r as stateFieldMetadata, s as addressFieldRule, t as STATE_FIELD } from "./StateField-TYw5No81.js";
|
|
37
|
+
import { A as uppercase, I as numericInputs, M as alphanumericInputs, O as validateNotEmptyOnBlur, P as makeMask, R as useMultiForm, U as summaryStep, V as useFormComposer, W as FormContextProvider, a as MaskedInput, b as useFormContext, h as isValidationError, j as alphaInputs, k as validatePatternOnBlur, l as COUNTRY_FIELD, p as isBusinessSelectionLegalArrangementError, r as RadioGroup, t as addValidityToForms, u as CountryField, v as createFormUtils, x as FormFlow, y as mergeFieldMetadataIntoProps } from "./dropinUtils-D7sD4BX1.js";
|
|
38
|
+
import { A as COUNTRIES_WITH_POSSIBLE_TAX_EXEMPTION_FOR_SOLE_PROPS, C as COUNTRIES_THAT_DONT_REQUIRE_SOLE_PROP_REGISTRATION, D as COUNTRIES_WITH_OPTIONAL_REGISTRATION_NUMBER, F as isRegistrationNumberAbsentStateV4Scenario, H as getValidCompanyTypesForTaxIdNumberType, I as isUsingCompanySearch, L as mapJapaneseLegalNamesToLocalization, M as REGISTRATION_NUMBER_EXEMPTION_RULES, N as TAX_ID_REQUIRED_COUNTRIES_ORGANIZATION, O as COUNTRIES_WITH_OPTIONAL_REGISTRATION_NUMBER_SOLE_PROPS, P as isRegistrationExemptionAllowed, R as mapLocalizationToJapaneseLegalNames, S as COUNTRIES_THAT_DONT_REQUIRE_COMPANY_REGISTRATION, T as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, U as taxIdNumberOptions, V as getTaxIdNumberOptions, W as TileGroup, _ as getTaxInformationPlaceholderText, c as DataConflictsModal, j as COUNTRIES_WITH_POSSIBLE_TRUSTEE_TAXID_ABSENT_V4, k as COUNTRIES_WITH_POSSIBLE_TAX_EXEMPTION_FOR_COMPANIES, l as TAX_INFORMATION_FIELD, u as TaxInformationField, v as taxInformationDefaultFieldConfig, w as COUNTRIES_THAT_DO_NOT_USE_TAX_ID_FOR_SOLE_PROP, x as COUNTRIES_REQUIRING_FINANCIAL_INFORMATION, y as taxInformationDefaultFieldMetadata } from "./bafinUtils-4C7AJpnd.js";
|
|
39
|
+
import { a as getValidCompanyTypesForRegistrationNumberType, i as getCompanyRegistrationNumberOptions, l as registrationNumberDefaultFieldConfig, r as inferCompanyRegistrationNumberType, s as exemptFromRegistrationNumberDefaultFieldMetadata, t as getDefaultRegistrationNumberType, u as registrationNumberDefaultFieldMetadata } from "./getDefaultRegistrationNumberType-BWN86JDR.js";
|
|
40
|
+
import { r as LEGAL_ARRANGEMENT_COUNTRIES_REQUIRING_DATE_OF_INCORPORATION } from "./legalArrangementUtils-CHlmmcB8.js";
|
|
41
|
+
import { a as defaultFieldMetadata, i as defaultFieldConfigV4, o as defaultFieldMetadataV4, r as defaultFieldConfig, t as LEGAL_COMPANY_NAME_FIELD } from "./LegalCompanyNameField-BsY3tJfX.js";
|
|
42
|
+
import { n as BusinessRegistrationNumberField, t as BUSINESS_REGISTRATION_NUMBER_FIELD } from "./BusinessRegistrationNumberField-B2n9ugLK.js";
|
|
45
43
|
import { t as useScenarios } from "./useScenarios-DfE71fl7.js";
|
|
46
|
-
import {
|
|
47
|
-
import { i as useScenarioConfiguration, r as getPageName, t as mapExistingFile } from "./mapExistingFile-
|
|
48
|
-
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-
|
|
49
|
-
import {
|
|
50
|
-
import { n as isMaintenanceModeError, t as processValidationErrors } from "./processValidationErrors-CcgBvwPJ.js";
|
|
44
|
+
import { t as useCreateLegalEntity } from "./useCreateLegalEntity-CgzVD39K.js";
|
|
45
|
+
import { i as useScenarioConfiguration, r as getPageName, t as mapExistingFile } from "./mapExistingFile-CqbTLZ6i.js";
|
|
46
|
+
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-C-kML6lH.js";
|
|
47
|
+
import { n as isMaintenanceModeError, t as processValidationErrors } from "./processValidationErrors-DKn7wWTY.js";
|
|
51
48
|
import { a as getFileExtention, i as getDocuments, l as mergeProofOfOwnershipAttachments, n as documentApiUtils, r as getDocument, t as createDocumentRequest } from "./documentUtils-6K3LdjjN.js";
|
|
52
|
-
import { i as getFieldsWithExistingData, n as MemoizedDocumentUpload, t as PatriotActDisclosure } from "./PatriotActDisclosure-
|
|
53
|
-
import { a as useAddressCleanseImperatively, r as formatAddressForCleanse, t as InputDate } from "./InputDate-
|
|
54
|
-
import { t as addressValidators } from "./validate-
|
|
49
|
+
import { i as getFieldsWithExistingData, n as MemoizedDocumentUpload, t as PatriotActDisclosure } from "./PatriotActDisclosure-CAvpE8su.js";
|
|
50
|
+
import { a as useAddressCleanseImperatively, r as formatAddressForCleanse, t as InputDate } from "./InputDate-Bmx3_p-j.js";
|
|
51
|
+
import { t as addressValidators } from "./validate-Dve-kxSi.js";
|
|
52
|
+
import { t as ErrorPanel } from "./ErrorPanel-CuoQueZk.js";
|
|
55
53
|
import { t as capitalize } from "./getProps-DVqK7eRw.js";
|
|
56
|
-
import { t as Link } from "./Link-
|
|
54
|
+
import { t as Link } from "./Link-DwPkGikd.js";
|
|
57
55
|
import { r as formatDateObj } from "./InputDate.utils-D4Ov0KIl.js";
|
|
58
|
-
import { t as formatValidationError } from "./formatValidationError-
|
|
59
|
-
import { t as
|
|
60
|
-
import { t as
|
|
56
|
+
import { t as formatValidationError } from "./formatValidationError-BO9k5bVJ.js";
|
|
57
|
+
import { t as mapJpAddressSchemaToAddressLocalizations } from "./mapJpAddressSchemaToAddressLocalizations-TLZ9foPF.js";
|
|
58
|
+
import { t as mapAddressLocalizationToJpAddressSchema } from "./mapAddressLocalizationToJpAddressSchema-Di3_rcrj.js";
|
|
59
|
+
import { t as Summary } from "./Summary-BwvaKucT.js";
|
|
60
|
+
import { t as SummarySection } from "./SummarySection-5L--khYg.js";
|
|
61
|
+
import { t as currencyByCountry } from "./types-DVMWWwBT.js";
|
|
61
62
|
import { t as Divider } from "./Divider-BENvVRnz.js";
|
|
62
|
-
import { n as NewSummary, t as SummarySection } from "./SummarySection-BVPfXtuP.js";
|
|
63
63
|
import { t as DetailViewLayout } from "./DetailViewLayout-DJgAzdlZ.js";
|
|
64
|
-
import {
|
|
64
|
+
import { i as nestAddressSchema, t as flattenAddressSchema } from "./utils-gszwUnoh.js";
|
|
65
|
+
import { a as LegalFormField, c as legalEntityIdentifierFieldMetadata, d as isDateOlderThanAYear, f as mapAddressData, i as InputCurrency, l as mapFinancialReportsToFinancialInformation, n as Currency, o as LEGAL_ENTITY_IDENTIFIER_FIELD, r as InputNumber, s as LegalEntityIdentifierField, t as CURRENCY_FIELD, u as mapFinancialInformationToFinancialReport } from "./Currency-CAEcQwe6.js";
|
|
65
66
|
import { t as useTaskStatus } from "./useTaskStatus-4nAPf_uD.js";
|
|
66
67
|
import { t as useIndustryCodes } from "./useIndustryCodes-La1cU8oH.js";
|
|
67
68
|
import { n as formatCurrency } from "./formatCurrency-BetgkQKi.js";
|
|
68
69
|
import { n as useCreateBusinessLine, t as useUpdateBusinessLine } from "./useUpdateBusinessLines-B-pF2YT-.js";
|
|
69
|
-
import { _ as dateOfIncorporationFieldMetadata, a as defaultFieldConfig$1, c as REGISTRATION_AND_OPERATIONAL_ADDRESS_FIELDS, d as doingBusinessAsFieldMetadata, f as DBANameField, h as DateOfIncorporationField, i as getDefaultVatNumberType, l as RegistrationAndOperationalAddressFields, m as DATE_OF_INCORPORATION_FIELD, n as VAT_NUMBER_FIELD, o as defaultFieldMetadata$1, p as DBA_NAME_FIELD, r as VatNumberField, s as vatAbsenceReasonMetadata, t as MemoizedConstitutionalDocument, u as doingBusinessAsAbsentFieldMetadata } from "./ConstitutionalDocument-
|
|
70
|
-
import { f as industryCodeFieldMetadata, l as IndustryCodeField, t as INDUSTRY_CODE_FIELD } from "./constants-
|
|
71
|
-
import { s as organizationTypesToSkipCompanyStructureForm } from "./utils-
|
|
70
|
+
import { _ as dateOfIncorporationFieldMetadata, a as defaultFieldConfig$1, c as REGISTRATION_AND_OPERATIONAL_ADDRESS_FIELDS, d as doingBusinessAsFieldMetadata, f as DBANameField, h as DateOfIncorporationField, i as getDefaultVatNumberType, l as RegistrationAndOperationalAddressFields, m as DATE_OF_INCORPORATION_FIELD, n as VAT_NUMBER_FIELD, o as defaultFieldMetadata$1, p as DBA_NAME_FIELD, r as VatNumberField, s as vatAbsenceReasonMetadata, t as MemoizedConstitutionalDocument, u as doingBusinessAsAbsentFieldMetadata } from "./ConstitutionalDocument-DzLLKoWV.js";
|
|
71
|
+
import { f as industryCodeFieldMetadata, l as IndustryCodeField, t as INDUSTRY_CODE_FIELD } from "./constants-dKwpavyU.js";
|
|
72
|
+
import { s as organizationTypesToSkipCompanyStructureForm } from "./utils-C_z60qSD.js";
|
|
72
73
|
import { lazy } from "preact/compat";
|
|
73
74
|
import { useCallback as useCallback$1, useContext as useContext$1, useEffect as useEffect$1, useMemo as useMemo$1, useRef as useRef$1, useState as useState$1 } from "preact/hooks";
|
|
74
75
|
import cx from "classnames";
|
|
@@ -1704,7 +1705,7 @@ var ORGANIZATION_COUNTRIES_REQUIRING_DATE_OF_INCORPORATION = [
|
|
|
1704
1705
|
var COUNTRIES_THAT_USES_UEN_OR_GST = [CountryCodes.Singapore];
|
|
1705
1706
|
//#endregion
|
|
1706
1707
|
//#region src/components/Business/forms/rules.ts
|
|
1707
|
-
var rules = ({ data, defaultData, verifiedBusiness, country, taskType, isFeatureEnabled = () => false, isSettingEnabled = () => false, getSetting = () => void 0, accountHolder, rootLegalEntity, tinMatched }) => {
|
|
1708
|
+
var rules = ({ data, defaultData, verifiedBusiness, country, taskType, isFeatureEnabled = () => false, isSettingEnabled = () => false, getSetting = () => void 0, accountHolder, rootLegalEntity, tinMatched, version }) => {
|
|
1708
1709
|
const countryRequiresDateOfIncorporationForCompanies = () => {
|
|
1709
1710
|
switch (taskType) {
|
|
1710
1711
|
case "SOLE_PROPRIETOR_COMPANY": return LEGAL_ARRANGEMENT_COUNTRIES_REQUIRING_DATE_OF_INCORPORATION.includes(country) ? "REQUIRED" : void 0;
|
|
@@ -1721,18 +1722,7 @@ var rules = ({ data, defaultData, verifiedBusiness, country, taskType, isFeature
|
|
|
1721
1722
|
if (isDateOlderThanAYear(data.additionalInformation?.dateOfIncorporation)) return "REQUIRED";
|
|
1722
1723
|
return hasData ? "OPTIONAL" : void 0;
|
|
1723
1724
|
};
|
|
1724
|
-
const
|
|
1725
|
-
if (isOperational && data.additionalInformation?.operationalAddressIsSame) return void 0;
|
|
1726
|
-
if (field === "country") return "REQUIRED";
|
|
1727
|
-
if (isJapanLocalizationEnabled(isSettingEnabled, country)) {
|
|
1728
|
-
if (field === "street") return "OPTIONAL";
|
|
1729
|
-
return JP_ADDRESS_REQUIRED_FIELDS.includes(field) ? "REQUIRED" : "OPTIONAL";
|
|
1730
|
-
}
|
|
1731
|
-
if (!getAddressSchemaForCountry(country).includes(field)) return void 0;
|
|
1732
|
-
if (field === "street2") return "OPTIONAL";
|
|
1733
|
-
if (field === "stateOrProvince") return COUNTRIES_WITH_STATES_DATASET.includes(country) ? "REQUIRED" : void 0;
|
|
1734
|
-
return "REQUIRED";
|
|
1735
|
-
};
|
|
1725
|
+
const addressFieldRequired = (field, isOperational = false) => addressFieldRule(field, country, isSettingEnabled, version, isOperational, data.additionalInformation?.operationalAddressIsSame);
|
|
1736
1726
|
return createFormRules({
|
|
1737
1727
|
requireDoingBusinessAsName: () => {
|
|
1738
1728
|
return data.additionalInformation?.hasDoingBusinessAs ? "REQUIRED" : void 0;
|
|
@@ -1882,32 +1872,34 @@ var rules = ({ data, defaultData, verifiedBusiness, country, taskType, isFeature
|
|
|
1882
1872
|
if (!isFeatureEnabled("EnableLegalEntityIdentifierField") || taskType === TaskTypes.SOLE_PROPRIETOR_COMPANY) return;
|
|
1883
1873
|
return data.additionalInformation?.exemptedFromLegalEntityIdentifier ? "REQUIRED" : "OPTIONAL";
|
|
1884
1874
|
},
|
|
1885
|
-
registrationAddressStreetRequired: () =>
|
|
1886
|
-
registrationAddressStreet2Required: () =>
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
|
|
1896
|
-
|
|
1875
|
+
registrationAddressStreetRequired: () => addressFieldRequired("street"),
|
|
1876
|
+
registrationAddressStreet2Required: () => addressFieldRequired("street2"),
|
|
1877
|
+
registrationAddressDependentLocalityRequired: () => addressFieldRequired("dependentLocality"),
|
|
1878
|
+
registrationAddressCityRequired: () => addressFieldRequired("city"),
|
|
1879
|
+
registrationAddressPostalCodeRequired: () => addressFieldRequired("postalCode"),
|
|
1880
|
+
registrationAddressStateOrProvinceRequired: () => addressFieldRequired("stateOrProvince"),
|
|
1881
|
+
registrationAddressCountryRequired: () => addressFieldRequired("country"),
|
|
1882
|
+
operationalAddressStreetRequired: () => addressFieldRequired("street", true),
|
|
1883
|
+
operationalAddressStreet2Required: () => addressFieldRequired("street2", true),
|
|
1884
|
+
operationalAddressDependentLocalityRequired: () => addressFieldRequired("dependentLocality", true),
|
|
1885
|
+
operationalAddressCityRequired: () => addressFieldRequired("city", true),
|
|
1886
|
+
operationalAddressPostalCodeRequired: () => addressFieldRequired("postalCode", true),
|
|
1887
|
+
operationalAddressStateOrProvinceRequired: () => addressFieldRequired("stateOrProvince", true),
|
|
1888
|
+
operationalAddressCountryRequired: () => addressFieldRequired("country", true),
|
|
1897
1889
|
/** Localized */
|
|
1898
1890
|
/** JP */
|
|
1899
|
-
registrationAddressJaHaniStateOrProvinceRequired: () =>
|
|
1900
|
-
registrationAddressJaHaniCityRequired: () =>
|
|
1901
|
-
registrationAddressJaHaniStreetRequired: () =>
|
|
1902
|
-
registrationAddressJaKanaStateOrProvinceRequired: () =>
|
|
1903
|
-
registrationAddressJaKanaCityRequired: () =>
|
|
1904
|
-
registrationAddressStreet2FullWidthRequired: () =>
|
|
1905
|
-
operationalAddressJaHaniStateOrProvinceRequired: () =>
|
|
1906
|
-
operationalAddressJaHaniCityRequired: () =>
|
|
1907
|
-
operationalAddressJaHaniStreetRequired: () =>
|
|
1908
|
-
operationalAddressJaKanaStateOrProvinceRequired: () =>
|
|
1909
|
-
operationalAddressJaKanaCityRequired: () =>
|
|
1910
|
-
operationalAddressStreet2FullWidthRequired: () =>
|
|
1891
|
+
registrationAddressJaHaniStateOrProvinceRequired: () => addressFieldRequired("jaHaniStateOrProvince"),
|
|
1892
|
+
registrationAddressJaHaniCityRequired: () => addressFieldRequired("jaHaniCity"),
|
|
1893
|
+
registrationAddressJaHaniStreetRequired: () => addressFieldRequired("jaHaniStreet"),
|
|
1894
|
+
registrationAddressJaKanaStateOrProvinceRequired: () => addressFieldRequired("jaKanaStateOrProvince"),
|
|
1895
|
+
registrationAddressJaKanaCityRequired: () => addressFieldRequired("jaKanaCity"),
|
|
1896
|
+
registrationAddressStreet2FullWidthRequired: () => addressFieldRequired("street2FullWidth"),
|
|
1897
|
+
operationalAddressJaHaniStateOrProvinceRequired: () => addressFieldRequired("jaHaniStateOrProvince", true),
|
|
1898
|
+
operationalAddressJaHaniCityRequired: () => addressFieldRequired("jaHaniCity", true),
|
|
1899
|
+
operationalAddressJaHaniStreetRequired: () => addressFieldRequired("jaHaniStreet", true),
|
|
1900
|
+
operationalAddressJaKanaStateOrProvinceRequired: () => addressFieldRequired("jaKanaStateOrProvince", true),
|
|
1901
|
+
operationalAddressJaKanaCityRequired: () => addressFieldRequired("jaKanaCity", true),
|
|
1902
|
+
operationalAddressStreet2FullWidthRequired: () => addressFieldRequired("street2FullWidth", true)
|
|
1911
1903
|
});
|
|
1912
1904
|
};
|
|
1913
1905
|
//#endregion
|
|
@@ -2934,9 +2926,6 @@ var formatAdditionalInformation = (data, t) => {
|
|
|
2934
2926
|
eInvoicingCode: data.eInvoicingCode
|
|
2935
2927
|
};
|
|
2936
2928
|
};
|
|
2937
|
-
var formatAddress = (data, datasetUtils, country, version) => {
|
|
2938
|
-
return country === CountryCodes.Japan && version === 4 ? mapJpAddressSummaryNewSummary(data, datasetUtils) : mapAddressLabelsNewSummary(data, datasetUtils);
|
|
2939
|
-
};
|
|
2940
2929
|
var formatFinancialInformationSummary = (data, language, country, dateOfIncorporation) => {
|
|
2941
2930
|
if (!data) return {};
|
|
2942
2931
|
if (dateOfIncorporation && !isDateOlderThanAYear(dateOfIncorporation)) return country === CountryCodes.UnitedKingdom ? { numberOfEmployees: data.numberOfEmployees } : {};
|
|
@@ -2948,7 +2937,7 @@ var formatFinancialInformationSummary = (data, language, country, dateOfIncorpor
|
|
|
2948
2937
|
...data.annualTurnover ? { annualTurnover: formatCurrency(data.annualTurnover, data.currency, language) } : {}
|
|
2949
2938
|
};
|
|
2950
2939
|
};
|
|
2951
|
-
var formatDataForSummary = (data, forms, t, language, isFeatureEnabled,
|
|
2940
|
+
var formatDataForSummary = (data, forms, t, language, isFeatureEnabled, isSettingEnabled) => {
|
|
2952
2941
|
const OMITTED_FORMS = ["businessSelection", "summary"];
|
|
2953
2942
|
const datasetUtils = datasetUtilities(language);
|
|
2954
2943
|
const isCountryOfGoverningLawEnabled = isFeatureEnabled("EnableCountryOfGoverningLawForUKCompanies");
|
|
@@ -3008,14 +2997,14 @@ var formatDataForSummary = (data, forms, t, language, isFeatureEnabled, version)
|
|
|
3008
2997
|
items: summaryItems
|
|
3009
2998
|
});
|
|
3010
2999
|
if (form.formId === "additionalInformation") {
|
|
3011
|
-
const registrationAddressSummaryItems = translateAndFilterMappedSummary(
|
|
3000
|
+
const registrationAddressSummaryItems = translateAndFilterMappedSummary(mapAddressLabels(nestAddressSchema("registrationAddress", data.additionalInformation), datasetUtils, isSettingEnabled));
|
|
3012
3001
|
if (registrationAddressSummaryItems.length > 0) summarySectionData.push({
|
|
3013
3002
|
formId: "registrationAddress",
|
|
3014
3003
|
label: t(($) => $["registrationAddress"], { ns: "common" }),
|
|
3015
3004
|
items: registrationAddressSummaryItems
|
|
3016
3005
|
});
|
|
3017
3006
|
if (!data[form.formId]?.operationalAddressIsSame) {
|
|
3018
|
-
const operationalAddressSummaryItems = translateAndFilterMappedSummary(
|
|
3007
|
+
const operationalAddressSummaryItems = translateAndFilterMappedSummary(mapAddressLabels(nestAddressSchema("operationalAddress", data.additionalInformation), datasetUtils, isSettingEnabled));
|
|
3019
3008
|
if (operationalAddressSummaryItems.length > 0) summarySectionData.push({
|
|
3020
3009
|
formId: "operationalAddress",
|
|
3021
3010
|
label: t(($) => $["operationalAddress"], { ns: "common" }),
|
|
@@ -3026,6 +3015,10 @@ var formatDataForSummary = (data, forms, t, language, isFeatureEnabled, version)
|
|
|
3026
3015
|
}
|
|
3027
3016
|
return summarySectionData;
|
|
3028
3017
|
};
|
|
3018
|
+
var BusinessDetailsDropin_module_default = {
|
|
3019
|
+
"summary-content-legal-caption": "_summary-content-legal-caption_17mlq_1",
|
|
3020
|
+
summaryContentLegalCaption: "_summary-content-legal-caption_17mlq_1"
|
|
3021
|
+
};
|
|
3029
3022
|
//#endregion
|
|
3030
3023
|
//#region src/components/Business/tasks/BusinessDetailsDropin/businessDetailsFormConfig.ts
|
|
3031
3024
|
var businessDetailsBase = {
|
|
@@ -3055,12 +3048,14 @@ var businessDetailsBase = {
|
|
|
3055
3048
|
registrationDocument: { rule: "isRegistrationDocumentRequired" },
|
|
3056
3049
|
registrationAddressStreet: { rule: "registrationAddressStreetRequired" },
|
|
3057
3050
|
registrationAddressStreet2: { rule: "registrationAddressStreet2Required" },
|
|
3051
|
+
registrationAddressDependentLocality: { rule: "registrationAddressDependentLocalityRequired" },
|
|
3058
3052
|
registrationAddressCity: { rule: "registrationAddressCityRequired" },
|
|
3059
3053
|
registrationAddressPostalCode: { rule: "registrationAddressPostalCodeRequired" },
|
|
3060
3054
|
registrationAddressStateOrProvince: { rule: "registrationAddressStateOrProvinceRequired" },
|
|
3061
3055
|
registrationAddressCountry: { rule: "registrationAddressCountryRequired" },
|
|
3062
3056
|
operationalAddressStreet: { rule: "operationalAddressStreetRequired" },
|
|
3063
3057
|
operationalAddressStreet2: { rule: "operationalAddressStreet2Required" },
|
|
3058
|
+
operationalAddressDependentLocality: { rule: "operationalAddressDependentLocalityRequired" },
|
|
3064
3059
|
operationalAddressCity: { rule: "operationalAddressCityRequired" },
|
|
3065
3060
|
operationalAddressPostalCode: { rule: "operationalAddressPostalCodeRequired" },
|
|
3066
3061
|
operationalAddressStateOrProvince: { rule: "operationalAddressStateOrProvinceRequired" },
|
|
@@ -3383,6 +3378,7 @@ function BusinessDetailsDropin({ taskType, country: propCountry, problems: propP
|
|
|
3383
3378
|
const isBusinessDetailsModalEnabled = taskType === TaskTypes.BUSINESS_DETAILS;
|
|
3384
3379
|
const { isSettingEnabled } = useSettingsContext();
|
|
3385
3380
|
const { accountHolder } = useAccountHolder();
|
|
3381
|
+
const { data: versionConfiguration } = useVersionConfiguration();
|
|
3386
3382
|
const logger = createLogger();
|
|
3387
3383
|
const { mutateAsync: clearCompanyData } = useClearCompanyData();
|
|
3388
3384
|
/**
|
|
@@ -3419,6 +3415,7 @@ function BusinessDetailsDropin({ taskType, country: propCountry, problems: propP
|
|
|
3419
3415
|
setLoadingStatus,
|
|
3420
3416
|
country
|
|
3421
3417
|
});
|
|
3418
|
+
const { storedStateOrProvince } = useStoredStateOrProvince({ legalEntityId: legalEntityResponse.id });
|
|
3422
3419
|
const defaultData = useMemo$1(() => {
|
|
3423
3420
|
const mapped = mapLegalEntityToBusinessDetailsSchema({
|
|
3424
3421
|
legalEntity: !isAssociationTaskType ? legalEntityResponse : taskType === TaskTypes.SOLE_PROPRIETOR_COMPANY ? associatedLegalArrangement ?? legalEntityResponse : nestedLegalEntity,
|
|
@@ -3426,6 +3423,14 @@ function BusinessDetailsDropin({ taskType, country: propCountry, problems: propP
|
|
|
3426
3423
|
taskType,
|
|
3427
3424
|
isFeatureEnabled
|
|
3428
3425
|
});
|
|
3426
|
+
mapped.basicInformation = {
|
|
3427
|
+
...mapped.basicInformation,
|
|
3428
|
+
stateOrProvince: mapped.basicInformation?.stateOrProvince ?? storedStateOrProvince
|
|
3429
|
+
};
|
|
3430
|
+
mapped.additionalInformation = {
|
|
3431
|
+
...mapped.additionalInformation,
|
|
3432
|
+
registrationAddressStateOrProvince: mapped.additionalInformation?.registrationAddressStateOrProvince ?? storedStateOrProvince
|
|
3433
|
+
};
|
|
3429
3434
|
const initialEfpBusinessLineData = isSettingEnabled("allowBusinessLines") && efpBusinessLines && efpBusinessLines.length > 0 ? { additionalInformation: {
|
|
3430
3435
|
...mapped.additionalInformation,
|
|
3431
3436
|
industryCodes: [{
|
|
@@ -3447,7 +3452,8 @@ function BusinessDetailsDropin({ taskType, country: propCountry, problems: propP
|
|
|
3447
3452
|
isFeatureEnabled,
|
|
3448
3453
|
isSettingEnabled,
|
|
3449
3454
|
efpBusinessLines,
|
|
3450
|
-
documents
|
|
3455
|
+
documents,
|
|
3456
|
+
storedStateOrProvince
|
|
3451
3457
|
]);
|
|
3452
3458
|
const buildFieldValidations = useCallback$1((data) => {
|
|
3453
3459
|
const taxInfo = data?.basicInformation?.taxInformation;
|
|
@@ -3511,7 +3517,8 @@ function BusinessDetailsDropin({ taskType, country: propCountry, problems: propP
|
|
|
3511
3517
|
isSettingEnabled,
|
|
3512
3518
|
accountHolder,
|
|
3513
3519
|
tinMatched: isTinMatched.value,
|
|
3514
|
-
rootLegalEntity: legalEntityResponse
|
|
3520
|
+
rootLegalEntity: legalEntityResponse,
|
|
3521
|
+
version: versionConfiguration?.version
|
|
3515
3522
|
}), [
|
|
3516
3523
|
multiForm.data,
|
|
3517
3524
|
defaultData,
|
|
@@ -3522,7 +3529,8 @@ function BusinessDetailsDropin({ taskType, country: propCountry, problems: propP
|
|
|
3522
3529
|
isSettingEnabled,
|
|
3523
3530
|
accountHolder,
|
|
3524
3531
|
isTinMatched.value,
|
|
3525
|
-
legalEntityResponse
|
|
3532
|
+
legalEntityResponse,
|
|
3533
|
+
versionConfiguration?.version
|
|
3526
3534
|
]);
|
|
3527
3535
|
useEffect$1(() => {
|
|
3528
3536
|
const props = getPropsFromConfigurations({
|
|
@@ -3741,19 +3749,20 @@ function BusinessDetailsDropin({ taskType, country: propCountry, problems: propP
|
|
|
3741
3749
|
const shouldRenderFormFlow = !isBusinessDetailsModalEnabled || isAddingBusinessDetails || shouldAutoOpenFormForErrors;
|
|
3742
3750
|
const summarySections = useMemo$1(() => {
|
|
3743
3751
|
if (activeForm.formId !== "summary") return [];
|
|
3744
|
-
return formatDataForSummary(multiForm.data, forms, t, i18n.language, isFeatureEnabled);
|
|
3752
|
+
return formatDataForSummary(multiForm.data, forms, t, i18n.language, isFeatureEnabled, isSettingEnabled);
|
|
3745
3753
|
}, [
|
|
3746
3754
|
multiForm.data,
|
|
3747
3755
|
forms,
|
|
3748
3756
|
t,
|
|
3749
3757
|
i18n.language,
|
|
3750
3758
|
isFeatureEnabled,
|
|
3759
|
+
isSettingEnabled,
|
|
3751
3760
|
activeForm
|
|
3752
3761
|
]);
|
|
3753
3762
|
const prevDefaultSummarySections = useRef$1([]);
|
|
3754
3763
|
const defaultDataSummarySections = useMemo$1(() => {
|
|
3755
3764
|
if (shouldRenderFormFlow) return prevDefaultSummarySections.current;
|
|
3756
|
-
const formattedData = formatDataForSummary(multiForm.defaultData ?? {}, forms, t, i18n.language, isFeatureEnabled);
|
|
3765
|
+
const formattedData = formatDataForSummary(multiForm.defaultData ?? {}, forms, t, i18n.language, isFeatureEnabled, isSettingEnabled);
|
|
3757
3766
|
prevDefaultSummarySections.current = formattedData;
|
|
3758
3767
|
return formattedData;
|
|
3759
3768
|
}, [
|
|
@@ -3762,6 +3771,7 @@ function BusinessDetailsDropin({ taskType, country: propCountry, problems: propP
|
|
|
3762
3771
|
t,
|
|
3763
3772
|
i18n.language,
|
|
3764
3773
|
isFeatureEnabled,
|
|
3774
|
+
isSettingEnabled,
|
|
3765
3775
|
shouldRenderFormFlow
|
|
3766
3776
|
]);
|
|
3767
3777
|
const confirmDataSelection = async (resolvedData) => {
|
|
@@ -3823,7 +3833,7 @@ function BusinessDetailsDropin({ taskType, country: propCountry, problems: propP
|
|
|
3823
3833
|
}), shouldRenderFormFlow && /* @__PURE__ */ jsx(FormContextProvider, {
|
|
3824
3834
|
form: multiForm,
|
|
3825
3835
|
children: /* @__PURE__ */ jsx(FormFlow, {
|
|
3826
|
-
summaryComponent: /* @__PURE__ */ jsxs(
|
|
3836
|
+
summaryComponent: /* @__PURE__ */ jsxs(Summary, { children: [
|
|
3827
3837
|
/* @__PURE__ */ jsx(ErrorPanel, {
|
|
3828
3838
|
validationErrors: allValidationErrors,
|
|
3829
3839
|
verificationErrors: allVerificationErrors,
|
|
@@ -3837,7 +3847,7 @@ function BusinessDetailsDropin({ taskType, country: propCountry, problems: propP
|
|
|
3837
3847
|
children: /* @__PURE__ */ jsx(StructuredList, { items })
|
|
3838
3848
|
}, formId)),
|
|
3839
3849
|
/* @__PURE__ */ jsx("div", {
|
|
3840
|
-
className:
|
|
3850
|
+
className: BusinessDetailsDropin_module_default.summaryContentLegalCaption,
|
|
3841
3851
|
children: t(($) => $["summaryLegalCaption"])
|
|
3842
3852
|
})
|
|
3843
3853
|
] }),
|
|
@@ -2,10 +2,10 @@ 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] = "591648e0-6255-44e8-b699-4dbf1823bbb3", e._sentryDebugIdIdentifier = "sentry-dbid-591648e0-6255-44e8-b699-4dbf1823bbb3");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { h as isPartOfTrustFromLegalEntity } from "./resolveEnvironment-
|
|
5
|
+
import { h as isPartOfTrustFromLegalEntity } from "./resolveEnvironment-CrNBwIpQ.js";
|
|
6
6
|
import { t as useSettingsContext } from "./useSettingsContext-Bpf4UqRT.js";
|
|
7
7
|
import { f as hasSolePropInLegalEntity } from "./entityAssociationUtil-BlfcBl3i.js";
|
|
8
|
-
import { a as SettingNames } from "./InputText-
|
|
8
|
+
import { a as SettingNames } from "./InputText-CGngUMdf.js";
|
|
9
9
|
//#region src/hooks/useLegalEntityType.ts
|
|
10
10
|
var useLegalEntityType = ({ legalEntity }) => {
|
|
11
11
|
const isTrust = isPartOfTrustFromLegalEntity(legalEntity);
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
try {
|
|
2
|
+
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "7bbcbbcd-5935-4626-97b4-2b208e820706", e._sentryDebugIdIdentifier = "sentry-dbid-7bbcbbcd-5935-4626-97b4-2b208e820706");
|
|
4
|
+
} catch (e) {}
|
|
5
|
+
import { r as httpPost, s as useApiContext } from "./http-C8rt2BZk.js";
|
|
6
|
+
import { useMutation } from "@tanstack/preact-query";
|
|
7
|
+
//#region src/api/createLegalEntity/useCreateLegalEntity.ts
|
|
8
|
+
var createLegalEntity = async (legalEntityId, baseUrl, data) => {
|
|
9
|
+
return httpPost({
|
|
10
|
+
baseUrl,
|
|
11
|
+
path: `legalEntities/${legalEntityId}/create`
|
|
12
|
+
}, data);
|
|
13
|
+
};
|
|
14
|
+
var useCreateLegalEntity = (options) => {
|
|
15
|
+
const { rootLegalEntityId, baseUrl } = useApiContext();
|
|
16
|
+
return useMutation({
|
|
17
|
+
mutationFn: (payload) => {
|
|
18
|
+
return createLegalEntity(rootLegalEntityId.value, baseUrl.value, payload);
|
|
19
|
+
},
|
|
20
|
+
...options
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
//#endregion
|
|
24
|
+
export { useCreateLegalEntity as t };
|
package/dist/{useDataMissingRemediations-DKjYzfe2.js → useDataMissingRemediations-BfC7ECSn.js}
RENAMED
|
@@ -3,7 +3,7 @@ try {
|
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "5983c0b1-b7e7-42e5-a690-9f2133806862", e._sentryDebugIdIdentifier = "sentry-dbid-5983c0b1-b7e7-42e5-a690-9f2133806862");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation } from "./translation-CpH8D2NK.js";
|
|
6
|
-
import { w as DATA_MISSING_DECISION_MAKER_ERROR_CODE_MAPPING } from "./processCapabilities-
|
|
6
|
+
import { w as DATA_MISSING_DECISION_MAKER_ERROR_CODE_MAPPING } from "./processCapabilities-B75YIdXZ.js";
|
|
7
7
|
import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
|
|
8
8
|
import { useMemo } from "preact/hooks";
|
|
9
9
|
//#region src/hooks/useDataMissingRemediations.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] = "85676973-62a3-4619-a43d-130fc8246b79", e._sentryDebugIdIdentifier = "sentry-dbid-85676973-62a3-4619-a43d-130fc8246b79");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import {
|
|
5
|
+
import { ot as isEmpty } from "./resolveEnvironment-CrNBwIpQ.js";
|
|
6
6
|
import { t as createLogger } from "./logger-Z8AeTE4x.js";
|
|
7
7
|
import { n as doArraysMatch } from "./genUtils-nphCwt1A.js";
|
|
8
|
-
import {
|
|
8
|
+
import { d as omitKeys, f as ValidationResult, l as addKeys } from "./Select-BMGxcmZy.js";
|
|
9
9
|
import { useCallback, useEffect, useMemo, useReducer, useState } from "preact/hooks";
|
|
10
10
|
//#region src/hooks/useAsyncValidator.ts
|
|
11
11
|
var logger = createLogger();
|
|
@@ -1,6 +1,6 @@
|
|
|
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] = "ac64ffbb-e574-4e35-a526-50607d5d9576", e._sentryDebugIdIdentifier = "sentry-dbid-ac64ffbb-e574-4e35-a526-50607d5d9576");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { t as useTaskStepperContext } from "./useTaskStepperContext-DCNMsKUc.js";
|
|
6
6
|
import { useRef } from "preact/hooks";
|
|
@@ -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] = "4f1f1312-75cc-4aef-9f24-1f1cf8a78b48", e._sentryDebugIdIdentifier = "sentry-dbid-4f1f1312-75cc-4aef-9f24-1f1cf8a78b48");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import {
|
|
5
|
+
import { z as ToastContext } from "./resolveEnvironment-CrNBwIpQ.js";
|
|
6
6
|
import { t as createLogger } from "./logger-Z8AeTE4x.js";
|
|
7
7
|
import { s as useApiContext } from "./http-C8rt2BZk.js";
|
|
8
8
|
import { useCallback, useContext, useState } from "preact/hooks";
|
|
@@ -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] = "9188436a-4a0f-4167-873b-e736a3cc1f33", e._sentryDebugIdIdentifier = "sentry-dbid-9188436a-4a0f-4167-873b-e736a3cc1f33");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import {
|
|
5
|
+
import { P as FeatureNames } from "./resolveEnvironment-CrNBwIpQ.js";
|
|
6
6
|
import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
|
|
7
7
|
import { lazy } from "preact/compat";
|
|
8
8
|
import { useLocation } from "wouter-preact";
|
|
@@ -26,37 +26,37 @@ var hasProgressedBeyondEntitySelection = (legalEntity) => {
|
|
|
26
26
|
};
|
|
27
27
|
//#endregion
|
|
28
28
|
//#region src/router/routeConfig.ts
|
|
29
|
-
var Introduction = lazy(async () => (await import("./Introduction
|
|
30
|
-
var Adaptive = lazy(async () => (await import("./AdaptiveWorkflow-
|
|
31
|
-
var BusinessTypeSelectionPage = lazy(async () => (await import("./BusinessTypeSelectionPage-
|
|
32
|
-
var GlobalEntryPage = lazy(async () => (await import("./GlobalEntryPage-
|
|
33
|
-
var SingpassSelection = lazy(async () => (await import("./SingpassSelection-
|
|
34
|
-
var AccountSetupRejected = lazy(async () => (await import("./AccountSetupRejected-
|
|
35
|
-
var DecisionMakers = lazy(async () => (await import("./DecisionMakers-
|
|
36
|
-
var CustomerSupport = lazy(async () => (await import("./CustomerSupport-
|
|
37
|
-
var Review = lazy(async () => (await import("./Review-
|
|
38
|
-
var SignPCIComponent = lazy(async () => (await import("./SignPCIComponent-
|
|
39
|
-
var AcceptTermsOfService = lazy(async () => (await import("./TermsOfServiceManagement-
|
|
40
|
-
var TaxReportingDropin = lazy(async () => (await import("./TaxReportingDropin-
|
|
41
|
-
var PayoutDetailsPage = lazy(async () => (await import("./PayoutDetailsPage-
|
|
42
|
-
var RootBusinessDetailsPage = lazy(async () => (await import("./RootBusinessDetailsPage-
|
|
43
|
-
var RootBusinessLinesPage = lazy(async () => (await import("./RootBusinessLinesPage-
|
|
44
|
-
var SoleProprietorshipPage = lazy(async () => (await import("./SoleProprietorshipPage-
|
|
45
|
-
var TrustMemberCompanyPage = lazy(async () => (await import("./TrustMemberCompanyPage-
|
|
46
|
-
var TrustMemberIndividualPage = lazy(async () => (await import("./TrustMemberIndividualPage-
|
|
47
|
-
var TrustMemberRoleAndTypePage = lazy(async () => (await import("./TrustMemberRoleAndTypePage-
|
|
48
|
-
var TrustMembersOverview = lazy(async () => (await import("./TrustMembersOverview-
|
|
49
|
-
var UnincorporatedPartnershipMemberCompanyPage = lazy(async () => (await import("./UnincorporatedPartnershipMemberCompanyPage-
|
|
50
|
-
var UnincorporatedPartnershipIndividualPage = lazy(async () => (await import("./UnincorporatedPartnershipIndividualPage-
|
|
51
|
-
var UnincorporatedPartnershipMemberRoleAndTypePage = lazy(async () => (await import("./UnincorporatedPartnershipMemberRoleAndTypePage-
|
|
52
|
-
var UnincorporatedPartnershipMembersOverview = lazy(async () => (await import("./UnincorporatedPartnershipMembersOverview-
|
|
53
|
-
var BusinessFinancingPage = lazy(async () => (await import("./BusinessFinancingPage-
|
|
54
|
-
var TrustDetailsPage = lazy(async () => (await import("./TrustDetailsPage-
|
|
55
|
-
var SourceOfFundsPage = lazy(async () => (await import("./SourceOfFundsPage-
|
|
56
|
-
var RootIndividualDetailsPage = lazy(async () => (await import("./RootIndividualDetailsPage-
|
|
57
|
-
var LegalRepresentativeDetailsPage = lazy(async () => (await import("./LegalRepresentativeDetailsPage-
|
|
58
|
-
var DecisionMakerDetailsPage = lazy(async () => (await import("./DecisionMakerDetailsPage-
|
|
59
|
-
lazy(async () => (await import("./InvitedDecisionMakerComponent-
|
|
29
|
+
var Introduction = lazy(async () => (await import("./Introduction-Dt8pjcxt.js")).Introduction);
|
|
30
|
+
var Adaptive = lazy(async () => (await import("./AdaptiveWorkflow-Du4hN8Ry.js")).AdaptiveWorkflow);
|
|
31
|
+
var BusinessTypeSelectionPage = lazy(async () => (await import("./BusinessTypeSelectionPage-xRXq2lGM.js")).BusinessTypeSelectionPage);
|
|
32
|
+
var GlobalEntryPage = lazy(async () => (await import("./GlobalEntryPage-WrN5mVJe.js")).GlobalEntryPage);
|
|
33
|
+
var SingpassSelection = lazy(async () => (await import("./SingpassSelection-Usq1Kdpp.js")).SingpassSelection);
|
|
34
|
+
var AccountSetupRejected = lazy(async () => (await import("./AccountSetupRejected-Cuu1cHgb.js")).AccountSetupRejected);
|
|
35
|
+
var DecisionMakers = lazy(async () => (await import("./DecisionMakers-BD5J47Zs.js")).DecisionMakers);
|
|
36
|
+
var CustomerSupport = lazy(async () => (await import("./CustomerSupport-C1nrEyEr.js")).CustomerSupport);
|
|
37
|
+
var Review = lazy(async () => (await import("./Review-D_I4FUVw.js")).Review);
|
|
38
|
+
var SignPCIComponent = lazy(async () => (await import("./SignPCIComponent-B4RkNT1l.js").then((n) => n.n)).SignPCIComponent);
|
|
39
|
+
var AcceptTermsOfService = lazy(async () => (await import("./TermsOfServiceManagement-Bh0BJ4wb.js").then((n) => n.n)).TermsOfServiceManagement);
|
|
40
|
+
var TaxReportingDropin = lazy(async () => (await import("./TaxReportingDropin-BVohPujf.js")).TaxReportingDropin);
|
|
41
|
+
var PayoutDetailsPage = lazy(async () => (await import("./PayoutDetailsPage-DfZYYplh.js")).PayoutDetailsPage);
|
|
42
|
+
var RootBusinessDetailsPage = lazy(async () => (await import("./RootBusinessDetailsPage-CoOUMflT.js")).RootBusinessDetailsPage);
|
|
43
|
+
var RootBusinessLinesPage = lazy(async () => (await import("./RootBusinessLinesPage-DYz9wrU_.js")).RootBusinessLinesPage);
|
|
44
|
+
var SoleProprietorshipPage = lazy(async () => (await import("./SoleProprietorshipPage-tEf2zwhT.js")).SoleProprietorshipPage);
|
|
45
|
+
var TrustMemberCompanyPage = lazy(async () => (await import("./TrustMemberCompanyPage-Ck2UKJma.js")).TrustMemberCompanyPage);
|
|
46
|
+
var TrustMemberIndividualPage = lazy(async () => (await import("./TrustMemberIndividualPage-CTUh7yn9.js")).TrustMemberIndividualPage);
|
|
47
|
+
var TrustMemberRoleAndTypePage = lazy(async () => (await import("./TrustMemberRoleAndTypePage-D5_AZAMj.js")).TrustMemberRoleAndTypePage);
|
|
48
|
+
var TrustMembersOverview = lazy(async () => (await import("./TrustMembersOverview-Dbt3KQhv.js")).TrustMembersOverview);
|
|
49
|
+
var UnincorporatedPartnershipMemberCompanyPage = lazy(async () => (await import("./UnincorporatedPartnershipMemberCompanyPage-Chd2k8jM.js")).UnincorporatedPartnershipMemberCompanyPage);
|
|
50
|
+
var UnincorporatedPartnershipIndividualPage = lazy(async () => (await import("./UnincorporatedPartnershipIndividualPage-g9PpNHfH.js")).UnincorporatedPartnershipIndividualPage);
|
|
51
|
+
var UnincorporatedPartnershipMemberRoleAndTypePage = lazy(async () => (await import("./UnincorporatedPartnershipMemberRoleAndTypePage-C7AvOkFK.js")).UnincorporatedPartnershipMemberRoleAndTypePage);
|
|
52
|
+
var UnincorporatedPartnershipMembersOverview = lazy(async () => (await import("./UnincorporatedPartnershipMembersOverview-m3TgX08K.js")).UnincorporatedPartnershipMembersOverview);
|
|
53
|
+
var BusinessFinancingPage = lazy(async () => (await import("./BusinessFinancingPage-BIGEXFdp.js")).BusinessFinancingPage);
|
|
54
|
+
var TrustDetailsPage = lazy(async () => (await import("./TrustDetailsPage-B5x1-NPO.js")).TrustDetailsPage);
|
|
55
|
+
var SourceOfFundsPage = lazy(async () => (await import("./SourceOfFundsPage-BXG5weCA.js")).SourceOfFundsPage);
|
|
56
|
+
var RootIndividualDetailsPage = lazy(async () => (await import("./RootIndividualDetailsPage-C42YybJq.js")).RootIndividualDetailsPage);
|
|
57
|
+
var LegalRepresentativeDetailsPage = lazy(async () => (await import("./LegalRepresentativeDetailsPage-C50GRV2l.js")).LegalRepresentativeDetailsPage);
|
|
58
|
+
var DecisionMakerDetailsPage = lazy(async () => (await import("./DecisionMakerDetailsPage-DoisZYll.js")).DecisionMakerDetailsPage);
|
|
59
|
+
lazy(async () => (await import("./InvitedDecisionMakerComponent-1oXTODfv.js").then((n) => n.n)).InvitedDecisionMakerComponent);
|
|
60
60
|
var ROUTE_CONFIG = {
|
|
61
61
|
[TaskTypes.ADAPTIVE]: {
|
|
62
62
|
path: "/adaptive",
|
|
@@ -4,7 +4,7 @@ try {
|
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as httpPost, s as useApiContext } from "./http-C8rt2BZk.js";
|
|
6
6
|
import { t as useSettingsContext } from "./useSettingsContext-Bpf4UqRT.js";
|
|
7
|
-
import { a as SettingNames } from "./InputText-
|
|
7
|
+
import { a as SettingNames } from "./InputText-CGngUMdf.js";
|
|
8
8
|
import { t as useBusinessLines } from "./useBusinessLines-0FcuDMzo.js";
|
|
9
9
|
import { useMemo } from "preact/hooks";
|
|
10
10
|
import { useQuery } from "@tanstack/preact-query";
|
|
@@ -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] = "b750b901-9887-4856-afcc-0f4ae1bfba85", e._sentryDebugIdIdentifier = "sentry-dbid-b750b901-9887-4856-afcc-0f4ae1bfba85");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { i as useAnalyticsContext } from "./Modal-
|
|
5
|
+
import { i as useAnalyticsContext } from "./Modal-ChWNV9yG.js";
|
|
6
6
|
import { useRef } from "preact/hooks";
|
|
7
7
|
//#region src/hooks/useTaskLandedEvent.ts
|
|
8
8
|
/**
|