@adyen/kyc-components 4.4.0 → 4.5.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/{AcceptTermsOfServiceComponent-CtSxtBKi.js → AcceptTermsOfServiceComponent-CecGGc1X.js} +14 -14
- package/dist/{AccountSetupRejected-Izp48yEO.js → AccountSetupRejected-SKRfXM45.js} +1 -1
- package/dist/{ActionBar-Ca6J5mWK.js → ActionBar-NfqEa4Lj.js} +1 -1
- package/dist/{Address-D_vmsuPk.js → Address-DmC7K_9S.js} +10 -10
- package/dist/{Avatar-CKx8J5lx.js → Avatar-DkqYMxqu.js} +1 -1
- package/dist/{BusinessFinancingComponent-DaxARiGM.js → BusinessFinancingComponent-cYBfPHpF.js} +5 -5
- package/dist/{BusinessFinancingDropin-Dd2HLLMa.js → BusinessFinancingDropin-jEPDLEm2.js} +106 -143
- package/dist/{BusinessFinancingPage-BOejVYXh.js → BusinessFinancingPage-D_bJLl-t.js} +4 -4
- package/dist/{BusinessTypeSelectionPage-CTDOUjiA.js → BusinessTypeSelectionPage-CZeSwYus.js} +9 -9
- package/dist/{Checkbox-RZJnbRBZ.js → Checkbox-DEpPoJN_.js} +1 -1
- package/dist/{Confirm-DHTZz6n-.js → Confirm-CYgHkICM.js} +2 -2
- package/dist/{ConstitutionalDocument-CG6z6hOH.js → ConstitutionalDocument-DgivwkYj.js} +18 -18
- package/dist/{ContactDetails-X7roxa7M.js → ContactDetails-opl6-mP9.js} +7 -6
- package/dist/{ContextGuidance-DeZxHGha.js → ContextGuidance-gC4RuGIB.js} +1 -1
- package/dist/{CountryField-prWQNOFZ.js → CountryField-BNisulC2.js} +3 -3
- package/dist/{CreateIndividualComponent-Cr5P6AhY.js → CreateIndividualComponent-BaXw9qdQ.js} +5 -5
- package/dist/{CreateTransferInstrumentComponent-BUzLyFsB.js → CreateTransferInstrumentComponent-Dj0ENBoI.js} +4 -4
- package/dist/{Currency-BCTmbxvQ.js → Currency-C1POIMJZ.js} +9 -15
- package/dist/{CustomerSupport-BUSF6AeJ.js → CustomerSupport-BZYjtYIh.js} +10 -10
- package/dist/{DebugModal-DnwBnRrX.js → DebugModal-BfObi6jq.js} +7 -7
- package/dist/{DecisionMakerDetailsPage-l8dykx5K.js → DecisionMakerDetailsPage-B9TlNZ0D.js} +8 -8
- package/dist/{DecisionMakers-DwsykbVA.js → DecisionMakers-DH44nnKN.js} +20 -20
- package/dist/{Dropzone-BpVTBLdK.js → Dropzone-BbFC9YFN.js} +4 -4
- package/dist/{EmbeddedStatus-CiAT9LVT.js → EmbeddedStatus-C80N4YnY.js} +2 -2
- package/dist/{EndStateLayout-DmuB86Km.js → EndStateLayout-LuO-W__f.js} +1 -1
- package/dist/{EntityAssociation-B2agfeew.js → EntityAssociation-CqyEchYv.js} +4 -4
- package/dist/{EntityGuidanceStatus-ByQeAaJX.js → EntityGuidanceStatus-kD9uByJU.js} +3 -3
- package/dist/{ErrorPanel-Dc-0FFlw.js → ErrorPanel-Wws7gA5m.js} +1 -1
- package/dist/{Field-BCh4RjjH.js → Field-BnYaQCpL.js} +1 -1
- package/dist/{FormNavigation-Dw9vBfOE.js → FormNavigation-DdP2rb2I.js} +3 -3
- package/dist/{Individual.rules-Df2tyewj.js → Individual.rules-BOr9HYuB.js} +10 -6
- package/dist/{IndividualDropin-ffk4cENA.js → IndividualDropin-DQrqvsVq.js} +377 -64
- package/dist/{InputDate-lBYns5ES.js → InputDate-D7tf-vyK.js} +1 -1
- package/dist/{InputText-cE4sdkOF.js → InputText-DJmeZHiM.js} +2 -2
- package/dist/{Introduction-BLHqyzh4.js → Introduction-C5ZzdtBf.js} +4 -4
- package/dist/{JpAddress-DgMxCxUO.js → JpAddress-BLSFMUBF.js} +9 -9
- package/dist/{LandingLayout-DO4D3GZF.js → LandingLayout-DCtOMPr1.js} +1 -1
- package/dist/{LegalCompanyNameField-C2V3zE5H.js → LegalCompanyNameField-C4QSM1kF.js} +6 -6
- package/dist/{LegalRepresentativeDetailsPage-C-fi8ExM.js → LegalRepresentativeDetailsPage-BNnoUySl.js} +4 -4
- package/dist/{Link-C53bmm0L.js → Link-DHZbclel.js} +1 -1
- package/dist/{ListItem-DPoOuxMs.js → ListItem-DRdYYUwm.js} +2 -2
- package/dist/{LoaderWrapper-CyNmE5d5.js → LoaderWrapper-DbnjDZaG.js} +1 -1
- package/dist/{ManageIndividualComponent-D2TaeVp-.js → ManageIndividualComponent-B8NRYoKJ.js} +4 -4
- package/dist/{ManageTermsOfServiceComponent-B06SqV2S.js → ManageTermsOfServiceComponent-BhqRq0Vj.js} +3 -3
- package/dist/{ManageTransferInstrumentComponent-CD5CeLd4.js → ManageTransferInstrumentComponent-Cn_V6mz7.js} +14 -12
- package/dist/{MaskedInput-BiyWZvf9.js → MaskedInput-Bmnp6vfE.js} +4 -4
- package/dist/{MaybeModal-CQ9Nwb5m.js → MaybeModal-JqIe8Hi4.js} +2 -2
- package/dist/{Modal-B2axEGgw.js → Modal-C4g499L3.js} +15 -25
- package/dist/{Name-DF_giEzW.js → Name-BAP43zgz.js} +4 -4
- package/dist/NewSummary-D04coEyZ.js +60 -0
- package/dist/{OnboardingDropinComponent-JrMNoZpj.js → OnboardingDropinComponent-CYZHcP1A.js} +73 -72
- package/dist/{PayoutDetailsDropin-CiUSUC71.js → PayoutDetailsDropin-CDOhcFNG.js} +37 -38
- package/dist/{PayoutDetailsPage-DqQzTo4c.js → PayoutDetailsPage-B6ObdKoo.js} +5 -5
- package/dist/{RadioGroup-DoV1tEJl.js → RadioGroup-Brbd7IGZ.js} +1 -1
- package/dist/{RadioGroupCard-9aQGW7JN.js → RadioGroupCard-CLjm3HWF.js} +1 -1
- package/dist/{Review-ai4kHVX1.js → Review-CUs3fAkl.js} +6 -6
- package/dist/{RootBusinessDetailsPage-DSkrHvsT.js → RootBusinessDetailsPage-DbQaq7S-.js} +4 -4
- package/dist/{RootBusinessLinesPage-A0Tr3mxD.js → RootBusinessLinesPage-ClrIGBCx.js} +73 -74
- package/dist/{RootIndividualDetailsPage-Bq6hAuWB.js → RootIndividualDetailsPage-C7NXtN3M.js} +5 -5
- package/dist/{Select-DpfHA9OG.js → Select-DeoKjJst.js} +4 -4
- package/dist/{SignPCIComponent-BQiuhLUm.js → SignPCIComponent-CBm2s71f.js} +10 -10
- package/dist/{SingpassSelection-DZllhRC7.js → SingpassSelection-D3GBr1C7.js} +6 -6
- package/dist/{SoleProprietorshipPage-dW52UoqY.js → SoleProprietorshipPage-3kI9hRjQ.js} +3 -3
- package/dist/{SourceOfFundsPage-CP1y52UZ.js → SourceOfFundsPage-BaN1Heuy.js} +37 -32
- package/dist/{StepProgressIndicator-CbH70qse.js → StepProgressIndicator-DTMH_ysU.js} +1 -1
- package/dist/{StoreProvider-mHLtWums.js → StoreProvider-CDvuKNZP.js} +18 -20
- package/dist/{Summary-D-nudpZf.js → Summary-DrjyVpAf.js} +9 -7
- package/dist/{TaxInformationField-b3yhWTWD.js → TaxInformationField-P4kd2RBf.js} +19 -24
- package/dist/{TaxReportingDropin-B-8GeWGr.js → TaxReportingDropin-DoLfjPDT.js} +14 -14
- package/dist/{TextArea-C0PzOf5N.js → TextArea-8HzHbl8a.js} +2 -2
- package/dist/{TileGroup-CKUlaXGR.js → TileGroup-C7pJdtfG.js} +2 -2
- package/dist/{TrustDetailsPage-Czk6U1Tc.js → TrustDetailsPage-CZxWlMFk.js} +31 -32
- package/dist/{TrustMemberCompanyPage-DXT3RepM.js → TrustMemberCompanyPage-ChlEiIX1.js} +4 -4
- package/dist/{TrustMemberIndividualPage-DWmPqSUW.js → TrustMemberIndividualPage-D0ErvJ2Q.js} +4 -4
- package/dist/{TrustMemberRoleAndTypePage-c23IPOaR.js → TrustMemberRoleAndTypePage--2DWDQYD.js} +21 -21
- package/dist/{TrustMembersOverview-BRNYhXYG.js → TrustMembersOverview-1pruZb7Q.js} +10 -10
- package/dist/{UnincorporatedPartnershipIndividualPage-CZVQg1Lm.js → UnincorporatedPartnershipIndividualPage-DY5POsz3.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-D3GMfr2u.js → UnincorporatedPartnershipMemberCompanyPage-CVS8HujV.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-Dwi-t1pR.js → UnincorporatedPartnershipMemberRoleAndTypePage-BiWrP7jm.js} +11 -11
- package/dist/{UnincorporatedPartnershipMembersOverview-D-hiEWen.js → UnincorporatedPartnershipMembersOverview-CwihTjBJ.js} +7 -7
- package/dist/{VerificationErrorAlert-Bv13UiEj.js → VerificationErrorAlert-C5fltP_W.js} +2 -2
- package/dist/{ViewVerificationStatusComponent-8v5Nm_wk.js → ViewVerificationStatusComponent-THjhd99f.js} +2 -2
- package/dist/adyen-business-financing.js +2 -2
- package/dist/adyen-individual-configuration.js +2 -2
- package/dist/adyen-individual-status.js +2 -2
- package/dist/adyen-invited-decision-maker.js +7 -7
- package/dist/adyen-kyc-components.js +15 -15
- package/dist/adyen-onboarding.js +2 -2
- package/dist/adyen-terms-of-service-management.js +2 -2
- package/dist/adyen-terms-of-service-status.js +2 -2
- package/dist/adyen-transfer-instrument-configuration.js +2 -2
- package/dist/adyen-transfer-instrument-management.js +2 -2
- package/dist/adyen-verification-status.js +2 -2
- package/dist/{bafinUtils-pwkl8kSq.js → bafinUtils-BPLSJ1MR.js} +1 -1
- package/dist/{bg-BG-DyX-yYYI.js → bg-BG-BnwkqGm9.js} +2 -2
- package/dist/{bg-BG-DqRXdvRT.js → bg-BG-C6dSR1jk.js} +2 -2
- package/dist/bg-BG-DKld3x63.js +13 -0
- package/dist/{commonValidators-Q1vH12Fp.js → commonValidators-MPgcG-b2.js} +1 -1
- package/dist/{cs-CZ-CmPmY5GZ.js → cs-CZ-B6atm9_Q.js} +2 -2
- package/dist/cs-CZ-BBLagJI6.js +13 -0
- package/dist/{cs-CZ-BD5bYeuJ.js → cs-CZ-BeMYkFfD.js} +2 -2
- package/dist/{da-DK-DaINWU5x.js → da-DK-Cv6XUSoW.js} +2 -2
- package/dist/da-DK-D9FgPh5e.js +13 -0
- package/dist/{da-DK-h8DYQ_Iq.js → da-DK-mUuPR2YO.js} +2 -2
- package/dist/{de-DE-KqZs1FFF.js → de-DE-BplDsJEb.js} +2 -2
- package/dist/de-DE-Cg_RNIr-.js +13 -0
- package/dist/{de-DE-LQE_LFFL.js → de-DE-CwT6O212.js} +2 -2
- package/dist/{dropinUtils-cvPDQGkm.js → dropinUtils-CH5elK0n.js} +15 -14
- package/dist/{el-GR-DGbzdIL0.js → el-GR-BuAfpG6u.js} +2 -2
- package/dist/el-GR-ZRGBgvMu.js +13 -0
- package/dist/{el-GR-Bn45KMp-.js → el-GR-dRK7xHn2.js} +2 -2
- package/dist/{en-US-BtFr9JRa.js → en-US-DIlZD5Wh.js} +7 -1
- package/dist/{en-US-CEnwRsyr.js → en-US-UidrdpJ0.js} +2 -2
- package/dist/es-ES-BZiC4JWr.js +13 -0
- package/dist/{es-ES-DdGmXdxO.js → es-ES-Bh8k9Zx8.js} +2 -2
- package/dist/{es-ES-DzGJ9DrB.js → es-ES-DRsix_Xn.js} +2 -2
- package/dist/{et-EE-D5SNtVsM.js → et-EE-BBnYC5q8.js} +2 -2
- package/dist/{et-EE-JKt5dMOQ.js → et-EE-BXiYapXy.js} +2 -2
- package/dist/et-EE-D_NmrrzQ.js +13 -0
- package/dist/{fi-FI-n9XAQuIy.js → fi-FI-BftTiz0c.js} +2 -2
- package/dist/fi-FI-CEH4BfU3.js +13 -0
- package/dist/{fi-FI-CIYa9SyS.js → fi-FI-DhUeTfn1.js} +2 -2
- package/dist/{formUtils-Cu4r_cE7.js → formUtils-Bl8SBmWK.js} +3 -3
- package/dist/{fr-FR-iD1onxpA.js → fr-FR-C6jxjXAI.js} +2 -2
- package/dist/{fr-FR-l5z31r7i.js → fr-FR-CocDMzBc.js} +2 -2
- package/dist/fr-FR-NxOktkWc.js +13 -0
- package/dist/{getName-D92TbZE4.js → getName-C_u_P9U0.js} +1 -1
- package/dist/{getProblemsForEntity-Cn6NNpx3.js → getProblemsForEntity-BZRck7Nu.js} +1 -1
- package/dist/{hr-HR-CAqaI1xJ.js → hr-HR-B_TEU3r4.js} +2 -2
- package/dist/{hr-HR-BtowKWUi.js → hr-HR-D9OGeEuB.js} +2 -2
- package/dist/hr-HR-D_MUIhtx.js +13 -0
- package/dist/{hu-HU-CRpdELm_.js → hu-HU-CX83V9tu.js} +2 -2
- package/dist/{hu-HU-MHIPehPS.js → hu-HU-DjaoFDqm.js} +2 -2
- package/dist/hu-HU-LxStrFGU.js +13 -0
- package/dist/{iframeWidget-LYI4Hywy.js → iframeWidget-DRlrwi6o.js} +4 -4
- package/dist/{isEmpty-BtKNXm_E.js → isEmpty-JkZqLeJ_.js} +1 -1
- package/dist/{it-IT-BAvmkEF8.js → it-IT-B4bk2Xev.js} +2 -2
- package/dist/{it-IT-DkiyBNl6.js → it-IT-CXlaZNIj.js} +2 -2
- package/dist/it-IT-OppZz3gW.js +13 -0
- package/dist/{ja-JP-B0Ox3Ixh.js → ja-JP-A6ArIIZ8.js} +2 -2
- package/dist/ja-JP-CethQRoG.js +13 -0
- package/dist/{ja-JP-g6VOUGXZ.js → ja-JP-DK55NCZY.js} +1 -2
- package/dist/{japanSupportUtils-Cjg3HGeh.js → japanSupportUtils-B6aNrTga.js} +1 -1
- package/dist/{localizeDateString-iKn35I7t.js → localizeDateString-DJzFcyYr.js} +1 -1
- package/dist/lt-LT-CBTFJxth.js +13 -0
- package/dist/{lt-LT-DDs3ngzd.js → lt-LT-CfQUS8PP.js} +2 -2
- package/dist/{lt-LT-DWs-lYAv.js → lt-LT-ww192lYg.js} +2 -2
- package/dist/{lv-LV-CdCU8ZaR.js → lv-LV-CpHy-ZoF.js} +2 -2
- package/dist/lv-LV-DTaBIHLh.js +13 -0
- package/dist/{lv-LV-CmB2-IO5.js → lv-LV-DoKxsoVR.js} +2 -2
- package/dist/{mapExistingFile-DAKnbl3q.js → mapExistingFile-ebhAtDpQ.js} +4 -4
- package/dist/{mapJpAddressSchemaToAddressLocalizations-BwqkpwLG.js → mapJpAddressSchemaToAddressLocalizations-6-TZehkD.js} +2 -2
- package/dist/{mapLegalEntityToIndividualSchema-DHNvFq3z.js → mapLegalEntityToIndividualSchema-DV9h15hI.js} +4 -4
- package/dist/{mapTransferInstrumentToPayoutAccount-CFiPK7nF.js → mapTransferInstrumentToPayoutAccount-DtwUb1q5.js} +1 -1
- package/dist/{nl-NL-D7k3hkBl.js → nl-NL-BwWFlBOs.js} +2 -2
- package/dist/nl-NL-CYFznuWn.js +13 -0
- package/dist/{nl-NL-DV4NqPVW.js → nl-NL-J7XpCpQm.js} +2 -2
- package/dist/no-NO-BsEie1We.js +13 -0
- package/dist/{no-NO-B9618F4_.js → no-NO-CtDyNTm6.js} +2 -2
- package/dist/{no-NO-DOOgOJr1.js → no-NO-JWsSd7iY.js} +2 -2
- package/dist/{patternValidators-DHivz8FR.js → patternValidators-ORRO5SAA.js} +1 -1
- package/dist/pl-PL-BH_LPZJa.js +13 -0
- package/dist/{pl-PL-DqzUSnFK.js → pl-PL-CCX1rSGF.js} +2 -2
- package/dist/{pl-PL-Bvnak7w3.js → pl-PL-CLmmSNgn.js} +2 -2
- package/dist/{process-field-configurations-TVQJVhh6.js → process-field-configurations-Cb30tRmq.js} +3 -3
- package/dist/{pt-BR-BZkPZ0kK.js → pt-BR-BJOww8U1.js} +2 -2
- package/dist/pt-BR-C-YbDjn-.js +13 -0
- package/dist/{pt-BR-zuqB_CBf.js → pt-BR-D4BTdo_w.js} +2 -2
- package/dist/pt-PT-BTbVsews.js +13 -0
- package/dist/{pt-PT-DkfqmPrD.js → pt-PT-CL9VzmZE.js} +2 -2
- package/dist/{pt-PT-CFY1O_K0.js → pt-PT-DBZj2dDI.js} +2 -2
- package/dist/{resolveEnvironment-DRIoWKkq.js → resolveEnvironment-Btgj9fGu.js} +3 -3
- package/dist/ro-RO-C5PJhlmM.js +13 -0
- package/dist/{ro-RO-BEVRugNx.js → ro-RO-Cu1T3z6k.js} +2 -2
- package/dist/{ro-RO-7CJ4F5iB.js → ro-RO-DaU2--fX.js} +2 -2
- package/dist/{roleMetadata-23PazJen.js → roleMetadata-YdrYEXdt.js} +2 -2
- package/dist/{sk-SK-DubwJifw.js → sk-SK-B-1yRol7.js} +2 -2
- package/dist/{sk-SK-Bh7WfMNd.js → sk-SK-CEjJ-qZG.js} +2 -2
- package/dist/sk-SK-DO-AqRjE.js +13 -0
- package/dist/{sl-SI-CxGdSydw.js → sl-SI-BfO3xEJx.js} +2 -2
- package/dist/sl-SI-CJH14wbj.js +13 -0
- package/dist/{sl-SI-59OQIZ3f.js → sl-SI-C_4ajjU4.js} +2 -2
- package/dist/style.css +11 -9
- package/dist/styles-CLV89_hH.js +11 -9
- package/dist/{sv-SE-CgB54Aa4.js → sv-SE-CMLKzwtj.js} +2 -2
- package/dist/{sv-SE-CQWBP7n1.js → sv-SE-DKnUr7xo.js} +2 -2
- package/dist/sv-SE-ZsucW_Uj.js +13 -0
- package/dist/types/api/companySelection/useCompanySelection.d.ts +1 -1
- package/dist/types/api/invitations/invitations.types.d.ts +14 -0
- package/dist/types/api/invitations/useCreateInvitation.d.ts +14 -0
- package/dist/types/components/Apps/tasks/TaskList/types.d.ts +2 -2
- package/dist/types/components/Business/forms/BusinessDetails/forms.d.ts +2 -2
- package/dist/types/components/Business/forms/FinancialInformation/FinancialInformation.d.ts +1 -1
- package/dist/types/components/Business/forms/FinancialInformation/mapping/mapFinancialInformationToFinancialReport.d.ts +1 -1
- package/dist/types/components/Business/forms/FinancialInformation/types.d.ts +7 -17
- package/dist/types/components/Business/forms/rules.d.ts +0 -1
- package/dist/types/components/Business/utils/useCompanySearchExperiments.d.ts +0 -1
- package/dist/types/components/BusinessLines/tasks/utils.d.ts +4 -4
- package/dist/types/components/EFP/mapping/businessFinancingKeyMappings.d.ts +2607 -2607
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingFinancialInformation.d.ts +1 -1
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/types.d.ts +4 -4
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/utils.d.ts +4 -5
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/validate.d.ts +1 -1
- package/dist/types/components/Individual/forms/AdditionalPersonalDetails/AdditionalPersonalDetails.types.d.ts +2 -2
- package/dist/types/components/Individual/forms/IdDocumentUpload/types.d.ts +2 -2
- package/dist/types/components/Individual/forms/IdVerificationMethod/validateExtractionResult.d.ts +2 -2
- package/dist/types/components/Individual/forms/Individual.d.ts +5 -0
- package/dist/types/components/Individual/forms/Individual.rules.d.ts +1 -0
- package/dist/types/components/Individual/forms/Individual.types.d.ts +2 -0
- package/dist/types/components/Individual/forms/InviteDetails/InviteDetails.d.ts +4 -0
- package/dist/types/components/Individual/forms/InviteDetails/InviteDetails.types.d.ts +13 -0
- package/dist/types/components/Individual/forms/InviteDetails/validate.d.ts +3 -0
- package/dist/types/components/Individual/forms/form-ids.d.ts +1 -1
- package/dist/types/components/Shared/FormNavigation/types.d.ts +2 -2
- package/dist/types/components/Shared/FormWrapper/FormWrapper.d.ts +2 -2
- package/dist/types/components/Shared/NewSummary/NewSummary.d.ts +1 -1
- package/dist/types/components/Shared/fields/Currency/fieldConfig.d.ts +3 -0
- package/dist/types/components/Shared/fields/Currency/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/FinancialReportingDate/fieldConfig.d.ts +3 -0
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/CompanyRegistrationNumberTypeSelector.d.ts +2 -2
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/VatNumberTypeSelector.d.ts +2 -2
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/countryIdNumberTypes.d.ts +5 -5
- package/dist/types/components/Shared/fields/NumberOfEmployees/fieldConfig.d.ts +3 -0
- package/dist/types/components/Shared/fields/ReportedValueOptionField/ReportedValueOptionField.d.ts +3 -0
- package/dist/types/components/Shared/fields/ReportedValueOptionField/fieldConfig.d.ts +5 -0
- package/dist/types/components/Shared/fields/ReportedValueOptionField/types.d.ts +10 -0
- package/dist/types/components/Shared/forms/Address/types.d.ts +3 -3
- package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
- package/dist/types/components/Shared/forms/BusinessTypeSelection/types.d.ts +6 -6
- package/dist/types/components/Shared/forms/DocumentUpload/types.d.ts +2 -2
- package/dist/types/components/Shared/forms/RegistrationAddress/types.d.ts +2 -2
- package/dist/types/components/Trust/utils/trustMemberGuidance.d.ts +2 -2
- package/dist/types/components/UnincorporatedPartnership/tasks/UnincorporatedPartnershipMembers/types.d.ts +2 -2
- package/dist/types/components/ui/atoms/RadioGroup/RadioGroup.d.ts +2 -2
- package/dist/types/components/ui/molecules/Dropzone/FilePicker.d.ts +2 -2
- package/dist/types/components/ui/molecules/Dropzone/types.d.ts +2 -2
- package/dist/types/context/ExperimentContext/types.d.ts +0 -4
- package/dist/types/core/models/api/financialReport.d.ts +7 -1
- package/dist/types/core/user-events.d.ts +1 -1
- package/dist/types/embeds/business-financing/adyen-business-financing.types.d.ts +5 -0
- package/dist/types/embeds/individual-configuration/adyen-individual-configuration.types.d.ts +5 -0
- package/dist/types/embeds/individual-status/adyen-individual-status.types.d.ts +5 -0
- package/dist/types/embeds/invited-decision-maker/adyen-invited-decision-maker.types.d.ts +5 -0
- package/dist/types/embeds/onboarding/adyen-onboarding.types.d.ts +5 -0
- package/dist/types/embeds/terms-of-service-management/adyen-terms-of-service-management.types.d.ts +5 -0
- package/dist/types/embeds/terms-of-service-status/adyen-terms-of-service-status.types.d.ts +5 -0
- package/dist/types/embeds/transfer-instrument-configuration/adyen-transfer-instrument-configuration.types.d.ts +5 -0
- package/dist/types/embeds/transfer-instrument-management/adyen-transfer-instrument-management.types.d.ts +5 -0
- package/dist/types/embeds/verification-status/adyen-verification-status.types.d.ts +5 -0
- package/dist/types/hooks/useForm/types.d.ts +3 -3
- package/dist/types/language/types.d.ts +3 -8
- package/dist/types/language/utils.d.ts +2 -2
- package/dist/types/types/errors/error-message.d.ts +2 -2
- package/dist/types/types/errors/remediation.d.ts +2 -2
- package/dist/types/types/form-configuration.d.ts +2 -2
- package/dist/types/types/form.d.ts +2 -2
- package/dist/types/utils/decisionMaker.d.ts +2 -2
- package/dist/types/utils/entityStatusUtil.d.ts +1 -1
- package/dist/types/utils/fieldConfigurations.d.ts +2 -2
- package/dist/types/utils/formUtils.d.ts +4 -3
- package/dist/types/utils/roleMetadata.d.ts +4 -4
- package/dist/{types-DW90uFG-.js → types-DItwm0zf.js} +2 -2
- package/dist/{types-s-Q2XpkZ.js → types-DV-k9m0i.js} +1 -1
- package/dist/{types-CCxHnxb7.js → types-DhC6v0PF.js} +1 -1
- package/dist/{types-DP1DvIeR.js → types-_ugkpUNx.js} +2 -6
- package/dist/{unincorporated-partnership-DPbAzJDe.js → unincorporated-partnership-CIe8e4wR.js} +1 -1
- package/dist/{useAssociatedLegalEntity-BEuHjBZz.js → useAssociatedLegalEntity-Cn5H9wTJ.js} +1 -1
- package/dist/{useBusinessDetailsData-BO8XWfJZ.js → useBusinessDetailsData-FR_NRvw9.js} +339 -313
- package/dist/{useCreateLegalEntity-Bk8GSKP1.js → useCreateLegalEntity-p2CrQlAX.js} +1 -1
- package/dist/{useForm-vad8DlLx.js → useForm-C8AWA3sh.js} +3 -3
- package/dist/{useFormContext-B5QKkdAI.js → useFormContext-C1SR24Ki.js} +7 -7
- package/dist/{FormWrapper-DBd93g5-.js → useGlobalData-CLlOpZnu.js} +66 -11
- package/dist/{useMultiForm-cC2wlHNB.js → useMultiForm-DPExov8c.js} +12 -6
- package/dist/{useOnboardingStatus-V-UqaVrD.js → useOnboardingStatus-BD-8KaSZ.js} +1 -1
- package/dist/{useScenarios-BbG9i_sD.js → useScenarios-DJzsH2gd.js} +1 -1
- package/dist/{useTermsOfServiceStatus-QeWE09L-.js → useTermsOfServiceStatus-CbE9Ro0N.js} +1 -1
- package/dist/{useToastContext-wDfBfnfF.js → useToastContext-D9-q58mO.js} +1 -1
- package/dist/{useUnincorporatedPartnershipMembers-qPE2KPx9.js → useUnincorporatedPartnershipMembers-DB6EK6uW.js} +4 -4
- package/dist/{useUpdateBusinessLines-Dt0n6cQU.js → useUpdateBusinessLines-1pywGJxr.js} +4 -4
- package/dist/{useUpdateLegalEntity-DZgtsmFg.js → useUpdateLegalEntity-BswSgPWT.js} +2 -2
- package/dist/{utils-DvL1qQJh.js → utils-B-6ygFSY.js} +3 -3
- package/dist/{utils-CXINiC_b.js → utils-BQ0Na9UT.js} +2 -2
- package/dist/{utils-t9bNKGqn.js → utils-CFBp4SLl.js} +1 -1
- package/dist/{utils-JAP5Kj4w.js → utils-D4c7_3F2.js} +6 -6
- package/dist/{utils-Cg8MDRUC.js → utils-DgFq9CIB.js} +1 -1
- package/dist/{validate-CkFqyHrv.js → validate-CdMI5st2.js} +5 -5
- package/dist/{validate-DmrKFNZ-.js → validate-D__xHxXc.js} +24 -12
- package/dist/{validationError-BZEfEJF0.js → validationError-NidfTgvm.js} +1 -1
- package/package.json +7 -17
- package/dist/bg-BG-CRbKoTLs.js +0 -13
- package/dist/cs-CZ-DR5Pfj3g.js +0 -13
- package/dist/da-DK-CG2NcTvu.js +0 -13
- package/dist/de-DE-NMS4xBab.js +0 -13
- package/dist/el-GR-DWM1mhuZ.js +0 -13
- package/dist/es-ES-BWe46jej.js +0 -13
- package/dist/et-EE-CylmXBkF.js +0 -13
- package/dist/fi-FI-larJ5zXy.js +0 -13
- package/dist/fr-FR-DVqpakkq.js +0 -13
- package/dist/hr-HR-C-Hn5lAD.js +0 -13
- package/dist/hu-HU-DynB7VhD.js +0 -13
- package/dist/it-IT-M7AqGzBo.js +0 -13
- package/dist/ja-JP-BcGZdMJa.js +0 -13
- package/dist/lt-LT-SQmafLDX.js +0 -13
- package/dist/lv-LV-B5Os0zqy.js +0 -13
- package/dist/nl-NL-BVRcJEzp.js +0 -13
- package/dist/no-NO-DlnsfTwn.js +0 -13
- package/dist/pl-PL-B-V8iF6C.js +0 -13
- package/dist/pt-BR-Bq41lr7C.js +0 -13
- package/dist/pt-PT-D-EPzKV-.js +0 -13
- package/dist/ro-RO-Dt2gs44k.js +0 -13
- package/dist/sk-SK-B6LcEArz.js +0 -13
- package/dist/sl-SI-DNbu8KiE.js +0 -13
- package/dist/sv-SE-DgMcRRS8.js +0 -13
- package/dist/types/api/utils/getLookupBaseUrl.d.ts +0 -9
- package/dist/useGlobalData-Btrs_29g.js +0 -68
- /package/dist/types/components/{Business/forms/FinancialInformation → Shared/fields/ReportedValueOptionField}/ReportedValue.d.ts +0 -0
|
@@ -2,44 +2,45 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "42bc32dc-b6ca-4b6c-b056-be32b0c63163", e._sentryDebugIdIdentifier = "sentry-dbid-42bc32dc-b6ca-4b6c-b056-be32b0c63163");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { aa as CountryCodes,
|
|
10
|
+
import { aa as CountryCodes, m as createLogger, u as useTranslation, aB as Header, V as Loader, C as IconButton, O as Typography, P as StackLayout, aQ as Trans, W as Button, b as useApiContext, ar as httpDelete, J as useExperimentsContext, z as useAnalyticsContext, Z as TASK_STATUS_POLLING_INTERVAL_MS, w as EntityTypes, R as useLegalEntity, U as ROOT_LE, a as addResourceBundles, y as TaskTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-CDvuKNZP.js";
|
|
11
11
|
import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
|
|
12
12
|
import { useMutation, useQueryClient } from "@tanstack/preact-query";
|
|
13
13
|
import { useCallback, useMemo, useRef, useState, useEffect } from "preact/hooks";
|
|
14
|
-
import { j as useBusinessLines, f as useTaskStatus, u as useSalesChannels, k as usePciQuestionnaireList, a as usePciStatus } from "./OnboardingDropinComponent-
|
|
15
|
-
import { s as salesChannelsWithWebData, u as useIndustryCodes, d as businessLineTypes, i as industryCodeFieldMetadata, a as IndustryCodeField, I as INDUSTRY_CODE_FIELD, S as SALES_CHANNELS_FIELD, W as WEB_DATA_FIELD, e as shouldSignNewPci, f as SCTA_FIELD, D as Divider, g as selectedBusinessLine, b as useCreateBusinessLine, c as useUpdateBusinessLine, h as businessLinesConfigurations, j as businessLinesForms } from "./useUpdateBusinessLines-
|
|
16
|
-
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-
|
|
17
|
-
import { u as useToastContext } from "./useToastContext-
|
|
18
|
-
import { g as getPropsFromConfigurations } from "./process-field-configurations-
|
|
19
|
-
import { a as addValidityToForms, u as useFormComposer } from "./dropinUtils-
|
|
20
|
-
import { u as useMultiForm } from "./useMultiForm-
|
|
21
|
-
import {
|
|
14
|
+
import { j as useBusinessLines, f as useTaskStatus, u as useSalesChannels, k as usePciQuestionnaireList, a as usePciStatus } from "./OnboardingDropinComponent-CYZHcP1A.js";
|
|
15
|
+
import { s as salesChannelsWithWebData, u as useIndustryCodes, d as businessLineTypes, i as industryCodeFieldMetadata, a as IndustryCodeField, I as INDUSTRY_CODE_FIELD, S as SALES_CHANNELS_FIELD, W as WEB_DATA_FIELD, e as shouldSignNewPci, f as SCTA_FIELD, D as Divider, g as selectedBusinessLine, b as useCreateBusinessLine, c as useUpdateBusinessLine, h as businessLinesConfigurations, j as businessLinesForms } from "./useUpdateBusinessLines-1pywGJxr.js";
|
|
16
|
+
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-C1SR24Ki.js";
|
|
17
|
+
import { u as useToastContext } from "./useToastContext-D9-q58mO.js";
|
|
18
|
+
import { g as getPropsFromConfigurations } from "./process-field-configurations-Cb30tRmq.js";
|
|
19
|
+
import { a as addValidityToForms, u as useFormComposer } from "./dropinUtils-CH5elK0n.js";
|
|
20
|
+
import { u as useMultiForm } from "./useMultiForm-DPExov8c.js";
|
|
21
|
+
import { N as NewSummary } from "./NewSummary-D04coEyZ.js";
|
|
22
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-BZRck7Nu.js";
|
|
22
23
|
import { c as createFormRules } from "./form-rules-DhbF2mY4.js";
|
|
23
|
-
import { s as summaryStep } from "./Summary-
|
|
24
|
-
import { m as mergeFieldMetadataIntoProps, c as createFormUtils } from "./formUtils-
|
|
24
|
+
import { s as summaryStep } from "./Summary-DrjyVpAf.js";
|
|
25
|
+
import { m as mergeFieldMetadataIntoProps, c as createFormUtils } from "./formUtils-Bl8SBmWK.js";
|
|
25
26
|
import { Show } from "@preact/signals/utils";
|
|
26
|
-
import { C as Checkbox } from "./Checkbox-
|
|
27
|
-
import { F as Field } from "./Field-
|
|
28
|
-
import { K as KEYBOARD_KEYS, M as Modal } from "./Modal-
|
|
29
|
-
import { I as InputText } from "./InputText-
|
|
30
|
-
import { SignPCIComponent } from "./SignPCIComponent-
|
|
31
|
-
import { A as Avatar } from "./Avatar-
|
|
27
|
+
import { C as Checkbox } from "./Checkbox-DEpPoJN_.js";
|
|
28
|
+
import { F as Field } from "./Field-BnYaQCpL.js";
|
|
29
|
+
import { K as KEYBOARD_KEYS, M as Modal } from "./Modal-C4g499L3.js";
|
|
30
|
+
import { I as InputText } from "./InputText-DJmeZHiM.js";
|
|
31
|
+
import { SignPCIComponent } from "./SignPCIComponent-CBm2s71f.js";
|
|
32
|
+
import { A as Avatar } from "./Avatar-DkqYMxqu.js";
|
|
32
33
|
import cx from "classnames";
|
|
33
34
|
import { D as DetailViewLayout } from "./DetailViewLayout-Z9cuUp4X.js";
|
|
34
35
|
import { C as Card } from "./Card-OQuFzmxm.js";
|
|
35
|
-
import { L as Link } from "./Link-
|
|
36
|
+
import { L as Link } from "./Link-DHZbclel.js";
|
|
36
37
|
import { lazy } from "preact/compat";
|
|
37
|
-
import { I as Image } from "./unincorporated-partnership-
|
|
38
|
-
import { L as LandingLayout } from "./LandingLayout-
|
|
38
|
+
import { I as Image } from "./unincorporated-partnership-CIe8e4wR.js";
|
|
39
|
+
import { L as LandingLayout } from "./LandingLayout-DCtOMPr1.js";
|
|
39
40
|
import { L as List } from "./List-BAzyC6sw.js";
|
|
40
|
-
import { L as ListItem } from "./ListItem-
|
|
41
|
+
import { L as ListItem } from "./ListItem-DRdYYUwm.js";
|
|
41
42
|
import { S as StructuredList } from "./StructuredList-CNha20ka.js";
|
|
42
|
-
import { C as Confirm } from "./Confirm-
|
|
43
|
+
import { C as Confirm } from "./Confirm-CYgHkICM.js";
|
|
43
44
|
const rules = ({ data, country }) => {
|
|
44
45
|
return createFormRules({
|
|
45
46
|
webAddressRequired: () => {
|
|
@@ -55,42 +56,51 @@ const rules = ({ data, country }) => {
|
|
|
55
56
|
});
|
|
56
57
|
};
|
|
57
58
|
const logger = createLogger();
|
|
58
|
-
const formatBusinessLinesDataForSummary = (data,
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
switch (form) {
|
|
59
|
+
const formatBusinessLinesDataForSummary = (data, forms, t) => {
|
|
60
|
+
const getSummaryItemsForForm = (formId, data2, t2) => {
|
|
61
|
+
switch (formId) {
|
|
62
62
|
case "industryCodesForm":
|
|
63
|
-
return
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
63
|
+
return data2.industryCodesForm.industryCodes?.length ? [
|
|
64
|
+
{
|
|
65
|
+
term: t2(($) => $["industry"], { ns: "common" }),
|
|
66
|
+
details: data2.industryCodesForm.industryCodes.map((i) => i.name)
|
|
67
67
|
}
|
|
68
|
-
|
|
69
|
-
case "salesChannelsForm":
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
),
|
|
76
|
-
|
|
77
|
-
(channel) =>
|
|
78
|
-
)
|
|
79
|
-
|
|
68
|
+
] : [];
|
|
69
|
+
case "salesChannelsForm": {
|
|
70
|
+
const hasWebChannels = salesChannelsWithWebData.some(
|
|
71
|
+
(channel) => data2.salesChannelsForm.salesChannels?.includes(channel)
|
|
72
|
+
);
|
|
73
|
+
return data2.salesChannelsForm.salesChannels?.length ? [
|
|
74
|
+
{
|
|
75
|
+
term: t2(($) => $["salesChannels"], { ns: "common" }),
|
|
76
|
+
details: data2.salesChannelsForm.salesChannels?.map(
|
|
77
|
+
(channel) => t2(($) => $[channel], { ns: "businessLines" })
|
|
78
|
+
)
|
|
79
|
+
},
|
|
80
|
+
...hasWebChannels ? [
|
|
81
|
+
{
|
|
82
|
+
term: t2(($) => $["businessUrl"], { ns: "common" }),
|
|
83
|
+
details: data2.salesChannelsForm.webAddress ? data2.salesChannelsForm.webAddress : t2(($) => $["iDontHaveAWebsite"], { ns: "common" })
|
|
80
84
|
}
|
|
81
|
-
|
|
82
|
-
|
|
85
|
+
] : []
|
|
86
|
+
] : [];
|
|
87
|
+
}
|
|
83
88
|
case "sctaForm":
|
|
84
|
-
return
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
89
|
+
return data2.sctaForm?.sctaUrl || data2.sctaForm?.sctaExempt ? [
|
|
90
|
+
{
|
|
91
|
+
term: t2(($) => $["japaneseCommercialDisclosure"], { ns: "common" }),
|
|
92
|
+
details: data2.sctaForm.sctaUrl ? data2.sctaForm.sctaUrl : t2(($) => $["iDontHaveACommercialDisclosureWebpage"], { ns: "businessLines" })
|
|
88
93
|
}
|
|
89
|
-
|
|
94
|
+
] : [];
|
|
90
95
|
default:
|
|
91
|
-
return
|
|
96
|
+
return [];
|
|
92
97
|
}
|
|
93
|
-
}
|
|
98
|
+
};
|
|
99
|
+
return forms.map(({ formId, formName }) => ({
|
|
100
|
+
formId,
|
|
101
|
+
label: t(($) => $[formName], { ns: "common" }),
|
|
102
|
+
items: getSummaryItemsForForm(formId, data, t)
|
|
103
|
+
}));
|
|
94
104
|
};
|
|
95
105
|
const buildRequiredForms = ({
|
|
96
106
|
config: {
|
|
@@ -1370,24 +1380,17 @@ function BusinessLinesDropin({
|
|
|
1370
1380
|
country,
|
|
1371
1381
|
industryCodes
|
|
1372
1382
|
]);
|
|
1373
|
-
const
|
|
1374
|
-
() => formatBusinessLinesDataForSummary(
|
|
1375
|
-
|
|
1376
|
-
{
|
|
1377
|
-
industryCodesForm: {
|
|
1378
|
-
industryCodes: "industry"
|
|
1379
|
-
},
|
|
1380
|
-
salesChannelsForm: {
|
|
1381
|
-
salesChannels: "salesChannels"
|
|
1382
|
-
},
|
|
1383
|
-
sctaForm: {
|
|
1384
|
-
sctaUrl: "japaneseCommercialDisclosureWebpage"
|
|
1385
|
-
}
|
|
1386
|
-
},
|
|
1387
|
-
t
|
|
1388
|
-
),
|
|
1389
|
-
[data, t]
|
|
1383
|
+
const summarySections = useMemo(
|
|
1384
|
+
() => formatBusinessLinesDataForSummary(data, forms, t),
|
|
1385
|
+
[data, forms, t]
|
|
1390
1386
|
);
|
|
1387
|
+
const handleEditForm = (formId) => {
|
|
1388
|
+
const formIndex = forms.findIndex((form) => form.formId === formId);
|
|
1389
|
+
if (formIndex >= 0) {
|
|
1390
|
+
gotoFormByFormIndex(formIndex);
|
|
1391
|
+
}
|
|
1392
|
+
};
|
|
1393
|
+
const businessLinesSummary = /* @__PURE__ */ jsx(NewSummary, { handleEditForm, sections: summarySections });
|
|
1391
1394
|
const clearBusinessLines = () => {
|
|
1392
1395
|
setFormData("industryCodesForm", { industryCodes: [] });
|
|
1393
1396
|
setFormData("salesChannelsForm", {
|
|
@@ -1474,11 +1477,7 @@ function BusinessLinesDropin({
|
|
|
1474
1477
|
return /* @__PURE__ */ jsx(FormContextProvider, { form: multiForm, children: /* @__PURE__ */ jsx(
|
|
1475
1478
|
FormFlow,
|
|
1476
1479
|
{
|
|
1477
|
-
|
|
1478
|
-
data: summaryData,
|
|
1479
|
-
problems,
|
|
1480
|
-
useStructuredList: true
|
|
1481
|
-
},
|
|
1480
|
+
summaryComponent: businessLinesSummary,
|
|
1482
1481
|
asModal: true,
|
|
1483
1482
|
currentStep: steps.current,
|
|
1484
1483
|
totalSteps: steps.total,
|
package/dist/{RootIndividualDetailsPage-Bq6hAuWB.js → RootIndividualDetailsPage-C7NXtN3M.js}
RENAMED
|
@@ -7,11 +7,11 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { R as useLegalEntity, U as ROOT_LE, v as useAccountHolder, u as useTranslation, a as addResourceBundles, V as Loader, a9 as getLegalEntityCountry, p as isPartOfTrustFromLegalEntity, w as EntityTypes, ai as noop, y as TaskTypes, _ as __variableDynamicImportRuntimeHelper, bo as individualBaseMapping } from "./StoreProvider-
|
|
10
|
+
import { R as useLegalEntity, U as ROOT_LE, v as useAccountHolder, u as useTranslation, a as addResourceBundles, V as Loader, a9 as getLegalEntityCountry, p as isPartOfTrustFromLegalEntity, w as EntityTypes, ai as noop, y as TaskTypes, _ as __variableDynamicImportRuntimeHelper, bo as individualBaseMapping } from "./StoreProvider-CDvuKNZP.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
|
-
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-
|
|
13
|
-
import { i as filterProblemsByTaskForms, n as getTrustedFieldsProvider, o as getTrustedFields } from "./OnboardingDropinComponent-
|
|
14
|
-
import { I as IndividualDropin, i as individualForms } from "./IndividualDropin-
|
|
12
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-BZRck7Nu.js";
|
|
13
|
+
import { i as filterProblemsByTaskForms, n as getTrustedFieldsProvider, o as getTrustedFields } from "./OnboardingDropinComponent-CYZHcP1A.js";
|
|
14
|
+
import { I as IndividualDropin, i as individualForms } from "./IndividualDropin-DQrqvsVq.js";
|
|
15
15
|
function RootIndividualDetailsPage({
|
|
16
16
|
asModal = false,
|
|
17
17
|
hideSidebar = false,
|
|
@@ -27,7 +27,7 @@ function RootIndividualDetailsPage({
|
|
|
27
27
|
const { accountHolder } = useAccountHolder();
|
|
28
28
|
const { i18n } = useTranslation();
|
|
29
29
|
addResourceBundles(i18n, [
|
|
30
|
-
{ ns: "individual", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../language/bg-BG.json": () => import("./bg-BG-
|
|
30
|
+
{ ns: "individual", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../language/bg-BG.json": () => import("./bg-BG-DKld3x63.js"), "../language/cs-CZ.json": () => import("./cs-CZ-BBLagJI6.js"), "../language/da-DK.json": () => import("./da-DK-D9FgPh5e.js"), "../language/de-DE.json": () => import("./de-DE-Cg_RNIr-.js"), "../language/el-GR.json": () => import("./el-GR-ZRGBgvMu.js"), "../language/en-US.json": () => import("./en-US-UidrdpJ0.js"), "../language/es-ES.json": () => import("./es-ES-BZiC4JWr.js"), "../language/et-EE.json": () => import("./et-EE-D_NmrrzQ.js"), "../language/fi-FI.json": () => import("./fi-FI-CEH4BfU3.js"), "../language/fr-FR.json": () => import("./fr-FR-NxOktkWc.js"), "../language/hr-HR.json": () => import("./hr-HR-D_MUIhtx.js"), "../language/hu-HU.json": () => import("./hu-HU-LxStrFGU.js"), "../language/it-IT.json": () => import("./it-IT-OppZz3gW.js"), "../language/ja-JP.json": () => import("./ja-JP-CethQRoG.js"), "../language/lt-LT.json": () => import("./lt-LT-CBTFJxth.js"), "../language/lv-LV.json": () => import("./lv-LV-DTaBIHLh.js"), "../language/nl-NL.json": () => import("./nl-NL-CYFznuWn.js"), "../language/no-NO.json": () => import("./no-NO-BsEie1We.js"), "../language/pl-PL.json": () => import("./pl-PL-BH_LPZJa.js"), "../language/pt-BR.json": () => import("./pt-BR-C-YbDjn-.js"), "../language/pt-PT.json": () => import("./pt-PT-BTbVsews.js"), "../language/ro-RO.json": () => import("./ro-RO-C5PJhlmM.js"), "../language/sk-SK.json": () => import("./sk-SK-DO-AqRjE.js"), "../language/sl-SI.json": () => import("./sl-SI-CJH14wbj.js"), "../language/sv-SE.json": () => import("./sv-SE-ZsucW_Uj.js") }), `../language/${lang}.json`, 3) }
|
|
31
31
|
]);
|
|
32
32
|
if (!rootLe) {
|
|
33
33
|
return /* @__PURE__ */ jsx(Loader, {});
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "1371b18d-3494-4e1c-8773-1cc7eda755a6", e._sentryDebugIdIdentifier = "sentry-dbid-1371b18d-3494-4e1c-8773-1cc7eda755a6");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
@@ -11,11 +11,11 @@ import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
|
|
|
11
11
|
import cx from "classnames";
|
|
12
12
|
import { useState, useRef, useMemo, useCallback, useEffect } from "preact/hooks";
|
|
13
13
|
import { computed, signal, useSignal, useSignalEffect } from "@preact/signals";
|
|
14
|
-
import { K as KEYBOARD_KEYS } from "./Modal-
|
|
15
|
-
import { z as useAnalyticsContext, V as Loader, ai as noop, O as Typography, m as createLogger, u as useTranslation } from "./StoreProvider-
|
|
14
|
+
import { K as KEYBOARD_KEYS } from "./Modal-C4g499L3.js";
|
|
15
|
+
import { z as useAnalyticsContext, V as Loader, ai as noop, O as Typography, m as createLogger, u as useTranslation } from "./StoreProvider-CDvuKNZP.js";
|
|
16
16
|
import { d as debouncedInputEvent } from "./debouncedInputEvent-Cv2S512Y.js";
|
|
17
17
|
import { a as useId } from "./useId-BZ0PA7jP.js";
|
|
18
|
-
import { C as Checkbox } from "./Checkbox-
|
|
18
|
+
import { C as Checkbox } from "./Checkbox-DEpPoJN_.js";
|
|
19
19
|
const createSelectFocus = ({
|
|
20
20
|
activeItems,
|
|
21
21
|
filteredItems: items
|
|
@@ -7,19 +7,19 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, h as httpPost, ax as isEmpty, u as useTranslation, z as useAnalyticsContext, ay as getOwnDecisionMakers, L as LegalEntityTypes, y as TaskTypes, W as Button, a as addResourceBundles, R as useLegalEntity, U as ROOT_LE, V as Loader, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { b as useApiContext, h as httpPost, ax as isEmpty, u as useTranslation, z as useAnalyticsContext, ay as getOwnDecisionMakers, L as LegalEntityTypes, y as TaskTypes, W as Button, a as addResourceBundles, R as useLegalEntity, U as ROOT_LE, V as Loader, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-CDvuKNZP.js";
|
|
11
11
|
import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
|
|
12
12
|
import { useState, useMemo, useCallback, useEffect } from "preact/hooks";
|
|
13
|
-
import { u as useSalesChannels, a as usePciStatus } from "./OnboardingDropinComponent-
|
|
13
|
+
import { u as useSalesChannels, a as usePciStatus } from "./OnboardingDropinComponent-CYZHcP1A.js";
|
|
14
14
|
import { useQuery, useMutation } from "@tanstack/preact-query";
|
|
15
|
-
import { a as useInvalidateRootLegalEntity, u as useToastContext } from "./useToastContext-
|
|
16
|
-
import { M as MaybeModal } from "./MaybeModal-
|
|
17
|
-
import { E as EndStateLayout } from "./EndStateLayout-
|
|
15
|
+
import { a as useInvalidateRootLegalEntity, u as useToastContext } from "./useToastContext-D9-q58mO.js";
|
|
16
|
+
import { M as MaybeModal } from "./MaybeModal-JqIe8Hi4.js";
|
|
17
|
+
import { E as EndStateLayout } from "./EndStateLayout-LuO-W__f.js";
|
|
18
18
|
import { C as Card } from "./Card-OQuFzmxm.js";
|
|
19
|
-
import { C as Checkbox } from "./Checkbox-
|
|
20
|
-
import { F as Field } from "./Field-
|
|
21
|
-
import { S as Select } from "./Select-
|
|
22
|
-
import { u as useForm } from "./useForm-
|
|
19
|
+
import { C as Checkbox } from "./Checkbox-DEpPoJN_.js";
|
|
20
|
+
import { F as Field } from "./Field-BnYaQCpL.js";
|
|
21
|
+
import { S as Select } from "./Select-DeoKjJst.js";
|
|
22
|
+
import { u as useForm } from "./useForm-C8AWA3sh.js";
|
|
23
23
|
import { D as DetailViewLayout } from "./DetailViewLayout-Z9cuUp4X.js";
|
|
24
24
|
import { C as ContractViewer } from "./ContractViewer-DcQHIGMU.js";
|
|
25
25
|
const getPciTemplate = async (legalEntityId, baseUrl, data) => {
|
|
@@ -242,7 +242,7 @@ function SignPCIComponent({
|
|
|
242
242
|
const additionalSalesChannels = useSalesChannels();
|
|
243
243
|
const { t, i18n } = useTranslation(["contract", "common"]);
|
|
244
244
|
addResourceBundles(i18n, [
|
|
245
|
-
{ ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-
|
|
245
|
+
{ ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-C6dSR1jk.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-B6atm9_Q.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-Cv6XUSoW.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-BplDsJEb.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-dRK7xHn2.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-CfIM2SRF.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-CDvuKNZP.js").then((n) => n.bT), "../../../language/locales/es-ES.json": () => import("./es-ES-DRsix_Xn.js"), "../../../language/locales/et-EE.json": () => import("./et-EE-BXiYapXy.js"), "../../../language/locales/fi-FI.json": () => import("./fi-FI-BftTiz0c.js"), "../../../language/locales/fr-FR.json": () => import("./fr-FR-C6jxjXAI.js"), "../../../language/locales/hr-HR.json": () => import("./hr-HR-B_TEU3r4.js"), "../../../language/locales/hu-HU.json": () => import("./hu-HU-CX83V9tu.js"), "../../../language/locales/it-IT.json": () => import("./it-IT-CXlaZNIj.js"), "../../../language/locales/ja-JP.json": () => import("./ja-JP-A6ArIIZ8.js"), "../../../language/locales/lt-LT.json": () => import("./lt-LT-ww192lYg.js"), "../../../language/locales/lv-LV.json": () => import("./lv-LV-CpHy-ZoF.js"), "../../../language/locales/nl-NL.json": () => import("./nl-NL-BwWFlBOs.js"), "../../../language/locales/no-NO.json": () => import("./no-NO-JWsSd7iY.js"), "../../../language/locales/pl-PL.json": () => import("./pl-PL-CLmmSNgn.js"), "../../../language/locales/pt-BR.json": () => import("./pt-BR-BJOww8U1.js"), "../../../language/locales/pt-PT.json": () => import("./pt-PT-CL9VzmZE.js"), "../../../language/locales/ro-RO.json": () => import("./ro-RO-Cu1T3z6k.js"), "../../../language/locales/sk-SK.json": () => import("./sk-SK-CEjJ-qZG.js"), "../../../language/locales/sl-SI.json": () => import("./sl-SI-BfO3xEJx.js"), "../../../language/locales/sv-SE.json": () => import("./sv-SE-CMLKzwtj.js") }), `../../../language/locales/${lang}.json`, 6) },
|
|
246
246
|
{ ns: "ui", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../ui/language/bg-BG.json": () => import("./bg-BG-zZhDshGi.js"), "../../ui/language/cs-CZ.json": () => import("./cs-CZ-Ck22NTT9.js"), "../../ui/language/da-DK.json": () => import("./da-DK-DQ4ZYSea.js"), "../../ui/language/de-DE.json": () => import("./de-DE-CkbOZ6S_.js"), "../../ui/language/el-GR.json": () => import("./el-GR-DudORw4U.js"), "../../ui/language/en-US.json": () => import("./en-US-CjjPhkB5.js"), "../../ui/language/es-ES.json": () => import("./es-ES-BAolMrZ0.js"), "../../ui/language/et-EE.json": () => import("./et-EE-BOIrYrz9.js"), "../../ui/language/fi-FI.json": () => import("./fi-FI-D8WrLxxq.js"), "../../ui/language/fr-FR.json": () => import("./fr-FR-Beljeilc.js"), "../../ui/language/hr-HR.json": () => import("./hr-HR-lIHN6Yl2.js"), "../../ui/language/hu-HU.json": () => import("./hu-HU-CWdwNCev.js"), "../../ui/language/it-IT.json": () => import("./it-IT-5a7NHVFo.js"), "../../ui/language/ja-JP.json": () => import("./ja-JP-DSvZhFNY.js"), "../../ui/language/lt-LT.json": () => import("./lt-LT-CgalYpUh.js"), "../../ui/language/lv-LV.json": () => import("./lv-LV-aAd9SEqx.js"), "../../ui/language/nl-NL.json": () => import("./nl-NL-CmURERx_.js"), "../../ui/language/no-NO.json": () => import("./no-NO-qyqWODMp.js"), "../../ui/language/pl-PL.json": () => import("./pl-PL-q9azN24o.js"), "../../ui/language/pt-BR.json": () => import("./pt-BR-BxoOF8jB.js"), "../../ui/language/pt-PT.json": () => import("./pt-PT-pIChDwiI.js"), "../../ui/language/ro-RO.json": () => import("./ro-RO-DRsaNX9j.js"), "../../ui/language/sk-SK.json": () => import("./sk-SK-7-enbO1N.js"), "../../ui/language/sl-SI.json": () => import("./sl-SI-DTvJT7fC.js"), "../../ui/language/sv-SE.json": () => import("./sv-SE-N-Hqwcjq.js") }), `../../ui/language/${lang}.json`, 5) },
|
|
247
247
|
{ ns: "contract", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../Contract/language/bg-BG.json": () => import("./bg-BG-DbFzLQK7.js"), "../../Contract/language/cs-CZ.json": () => import("./cs-CZ-CBuNZ7UO.js"), "../../Contract/language/da-DK.json": () => import("./da-DK-CLdNh9JT.js"), "../../Contract/language/de-DE.json": () => import("./de-DE-BT5g7ZXC.js"), "../../Contract/language/el-GR.json": () => import("./el-GR-BvRBuezU.js"), "../../Contract/language/en-US.json": () => import("./en-US-CgakND3H.js"), "../../Contract/language/es-ES.json": () => import("./es-ES-4FS7NoE7.js"), "../../Contract/language/et-EE.json": () => import("./et-EE-CksV5_e1.js"), "../../Contract/language/fi-FI.json": () => import("./fi-FI-XpnJRPgt.js"), "../../Contract/language/fr-FR.json": () => import("./fr-FR-TqAhPvzz.js"), "../../Contract/language/hr-HR.json": () => import("./hr-HR-CKZ_yuXC.js"), "../../Contract/language/hu-HU.json": () => import("./hu-HU-BEV8uVRt.js"), "../../Contract/language/it-IT.json": () => import("./it-IT-D-jYXj6V.js"), "../../Contract/language/ja-JP.json": () => import("./ja-JP-8yMqZqF2.js"), "../../Contract/language/lt-LT.json": () => import("./lt-LT-CK0t2AVY.js"), "../../Contract/language/lv-LV.json": () => import("./lv-LV-JvlzK9X-.js"), "../../Contract/language/nl-NL.json": () => import("./nl-NL-Jhr-ICkK.js"), "../../Contract/language/no-NO.json": () => import("./no-NO-BH6DId3q.js"), "../../Contract/language/pl-PL.json": () => import("./pl-PL-B5c0NNHB.js"), "../../Contract/language/pt-BR.json": () => import("./pt-BR-4Iozxvfr.js"), "../../Contract/language/pt-PT.json": () => import("./pt-PT-09L8XznW.js"), "../../Contract/language/ro-RO.json": () => import("./ro-RO-D7-7tmTR.js"), "../../Contract/language/sk-SK.json": () => import("./sk-SK-D3tsz1Pg.js"), "../../Contract/language/sl-SI.json": () => import("./sl-SI-Y9h1ht45.js"), "../../Contract/language/sv-SE.json": () => import("./sv-SE-DFSm22oQ.js") }), `../../Contract/language/${lang}.json`, 5) }
|
|
248
248
|
]);
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "93179169-2960-4938-a3c9-43013571fefe", e._sentryDebugIdIdentifier = "sentry-dbid-93179169-2960-4938-a3c9-43013571fefe");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
@@ -10,11 +10,11 @@
|
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { lazy } from "preact/compat";
|
|
12
12
|
import { useState } from "preact/hooks";
|
|
13
|
-
import { u as useTranslation, O as Typography, W as Button, L as LegalEntityTypes } from "./StoreProvider-
|
|
14
|
-
import { F as Field } from "./Field-
|
|
15
|
-
import { I as Image } from "./unincorporated-partnership-
|
|
16
|
-
import { R as RadioGroupCard } from "./RadioGroupCard-
|
|
17
|
-
import { u as useForm } from "./useForm-
|
|
13
|
+
import { u as useTranslation, O as Typography, W as Button, L as LegalEntityTypes } from "./StoreProvider-CDvuKNZP.js";
|
|
14
|
+
import { F as Field } from "./Field-BnYaQCpL.js";
|
|
15
|
+
import { I as Image } from "./unincorporated-partnership-CIe8e4wR.js";
|
|
16
|
+
import { R as RadioGroupCard } from "./RadioGroupCard-CLjm3HWF.js";
|
|
17
|
+
import { u as useForm } from "./useForm-C8AWA3sh.js";
|
|
18
18
|
const setupAccountMethods = ["singpass", "manual"];
|
|
19
19
|
const setupAccountMethodFields = ["setupAccountMethod"];
|
|
20
20
|
const singpassLogo = lazy(() => import("./singpass-logo-wY4xsmTX.js"));
|
|
@@ -7,11 +7,11 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { u as useTranslation, R as useLegalEntity, a as addResourceBundles, V as Loader, a9 as getLegalEntityCountry, y as TaskTypes, w as EntityTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { u as useTranslation, R as useLegalEntity, a as addResourceBundles, V as Loader, a9 as getLegalEntityCountry, y as TaskTypes, w as EntityTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-CDvuKNZP.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
12
|
import { skipToken } from "@tanstack/preact-query";
|
|
13
|
-
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-
|
|
14
|
-
import { u as useBusinessDetailsData, B as BusinessDetailsDropin } from "./useBusinessDetailsData-
|
|
13
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-BZRck7Nu.js";
|
|
14
|
+
import { u as useBusinessDetailsData, B as BusinessDetailsDropin } from "./useBusinessDetailsData-FR_NRvw9.js";
|
|
15
15
|
function SoleProprietorshipPage({
|
|
16
16
|
solePropId,
|
|
17
17
|
onSubmit,
|
|
@@ -2,49 +2,49 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "f695ba6f-74db-43b7-ba25-679d9fc7cc1c", e._sentryDebugIdIdentifier = "sentry-dbid-f695ba6f-74db-43b7-ba25-679d9fc7cc1c");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, h as httpPost, j as httpGet, u as useTranslation, O as Typography, G as Alert, W as Button, ac as translateTranslatable, V as Loader, B as Icon, C as IconButton, Z as TASK_STATUS_POLLING_INTERVAL_MS, aB as Header, P as StackLayout, m as createLogger, R as useLegalEntity, U as ROOT_LE, z as useAnalyticsContext, bS as useLegalEntities, a as addResourceBundles, w as EntityTypes, a9 as getLegalEntityCountry, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { b as useApiContext, h as httpPost, j as httpGet, u as useTranslation, O as Typography, G as Alert, W as Button, ac as translateTranslatable, V as Loader, B as Icon, C as IconButton, Z as TASK_STATUS_POLLING_INTERVAL_MS, aB as Header, P as StackLayout, m as createLogger, R as useLegalEntity, U as ROOT_LE, z as useAnalyticsContext, bS as useLegalEntities, a as addResourceBundles, w as EntityTypes, a9 as getLegalEntityCountry, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-CDvuKNZP.js";
|
|
11
11
|
import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
|
|
12
|
-
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-
|
|
12
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-BZRck7Nu.js";
|
|
13
13
|
import { useState, useMemo, useCallback, useEffect } from "preact/hooks";
|
|
14
|
-
import { f as useTaskStatus, j as useBusinessLines } from "./OnboardingDropinComponent-
|
|
14
|
+
import { f as useTaskStatus, j as useBusinessLines } from "./OnboardingDropinComponent-CYZHcP1A.js";
|
|
15
15
|
import { useMutation, useQuery, useQueryClient } from "@tanstack/preact-query";
|
|
16
|
-
import { a as useInvalidateRootLegalEntity, u as useToastContext } from "./useToastContext-
|
|
17
|
-
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-
|
|
18
|
-
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
19
|
-
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-
|
|
20
|
-
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-
|
|
21
|
-
import { u as useMultiForm } from "./useMultiForm-
|
|
22
|
-
import { c as createDocumentRequest, d as documentApiUtils } from "./validate-
|
|
16
|
+
import { a as useInvalidateRootLegalEntity, u as useToastContext } from "./useToastContext-D9-q58mO.js";
|
|
17
|
+
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-p2CrQlAX.js";
|
|
18
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-BswSgPWT.js";
|
|
19
|
+
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-C1SR24Ki.js";
|
|
20
|
+
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-CH5elK0n.js";
|
|
21
|
+
import { u as useMultiForm } from "./useMultiForm-DPExov8c.js";
|
|
22
|
+
import { c as createDocumentRequest, d as documentApiUtils } from "./validate-CdMI5st2.js";
|
|
23
23
|
import { f as formatObject } from "./utils-DNSfZiio.js";
|
|
24
24
|
import { signal } from "@preact/signals";
|
|
25
|
-
import { E as ErrorPanel } from "./ErrorPanel-
|
|
26
|
-
import { c as createFormUtils } from "./formUtils-
|
|
27
|
-
import { F as Field } from "./Field-
|
|
28
|
-
import { S as Select } from "./Select-
|
|
29
|
-
import { T as TextArea } from "./TextArea-
|
|
30
|
-
import { I as InputDate } from "./InputDate-
|
|
25
|
+
import { E as ErrorPanel } from "./ErrorPanel-Wws7gA5m.js";
|
|
26
|
+
import { c as createFormUtils } from "./formUtils-Bl8SBmWK.js";
|
|
27
|
+
import { F as Field } from "./Field-BnYaQCpL.js";
|
|
28
|
+
import { S as Select } from "./Select-DeoKjJst.js";
|
|
29
|
+
import { T as TextArea } from "./TextArea-8HzHbl8a.js";
|
|
30
|
+
import { I as InputDate } from "./InputDate-D7tf-vyK.js";
|
|
31
31
|
import { I as InputGroup } from "./InputGroup-WBfGDV5F.js";
|
|
32
|
-
import { I as InputText } from "./InputText-
|
|
33
|
-
import { a as allowedCurrencies, T as TODAY_DATE, b as formatDateForInput, S as SOF_CHARACTERS_LIMIT, g as getInputErrors, c as formatAmountWithCurrency, s as sofCategoryItemMapper, d as getPageHeadings, e as getServiceTranslationSelectTitle, h as getSofCardDetails, i as getGettingStartedCardDetails, j as getAdditionalDataSchemaKeys, k as getServiceTranslation, p as parseSOFDocumentDescription, l as getRelevantErrors, m as getUniqueRemediationActions, n as SOF_INVALID_INPUT_ERROR_CODES, o as getServiceTranslationKey, q as getDocumentRequirements, r as getDocumentLists, t as getSourceOfFundsRequiredFields, M as MISSING_DATA_SOF_UPLOAD_CODE, u as parseOriginatorDetails, v as getSourceOfFundsRequiredForms, w as getSourceOfFundsPayload, A as ALLOWED_SOF_SERVICES, x as parseSofOriginatorPayload } from "./utils-
|
|
34
|
-
import { R as RadioGroup } from "./RadioGroup-
|
|
35
|
-
import { C as CountryField } from "./CountryField-
|
|
36
|
-
import { A as Avatar } from "./Avatar-
|
|
37
|
-
import { M as Modal } from "./Modal-
|
|
38
|
-
import { C as Confirm } from "./Confirm-
|
|
39
|
-
import { T as TileGroup } from "./TileGroup-
|
|
32
|
+
import { I as InputText } from "./InputText-DJmeZHiM.js";
|
|
33
|
+
import { a as allowedCurrencies, T as TODAY_DATE, b as formatDateForInput, S as SOF_CHARACTERS_LIMIT, g as getInputErrors, c as formatAmountWithCurrency, s as sofCategoryItemMapper, d as getPageHeadings, e as getServiceTranslationSelectTitle, h as getSofCardDetails, i as getGettingStartedCardDetails, j as getAdditionalDataSchemaKeys, k as getServiceTranslation, p as parseSOFDocumentDescription, l as getRelevantErrors, m as getUniqueRemediationActions, n as SOF_INVALID_INPUT_ERROR_CODES, o as getServiceTranslationKey, q as getDocumentRequirements, r as getDocumentLists, t as getSourceOfFundsRequiredFields, M as MISSING_DATA_SOF_UPLOAD_CODE, u as parseOriginatorDetails, v as getSourceOfFundsRequiredForms, w as getSourceOfFundsPayload, A as ALLOWED_SOF_SERVICES, x as parseSofOriginatorPayload } from "./utils-B-6ygFSY.js";
|
|
34
|
+
import { R as RadioGroup } from "./RadioGroup-Brbd7IGZ.js";
|
|
35
|
+
import { C as CountryField } from "./CountryField-BNisulC2.js";
|
|
36
|
+
import { A as Avatar } from "./Avatar-DkqYMxqu.js";
|
|
37
|
+
import { M as Modal } from "./Modal-C4g499L3.js";
|
|
38
|
+
import { C as Confirm } from "./Confirm-CYgHkICM.js";
|
|
39
|
+
import { T as TileGroup } from "./TileGroup-C7pJdtfG.js";
|
|
40
40
|
import { lazy } from "preact/compat";
|
|
41
|
-
import { I as Image } from "./unincorporated-partnership-
|
|
42
|
-
import { L as LandingLayout } from "./LandingLayout-
|
|
43
|
-
import { i as isEmpty } from "./isEmpty-
|
|
41
|
+
import { I as Image } from "./unincorporated-partnership-CIe8e4wR.js";
|
|
42
|
+
import { L as LandingLayout } from "./LandingLayout-DCtOMPr1.js";
|
|
43
|
+
import { i as isEmpty } from "./isEmpty-JkZqLeJ_.js";
|
|
44
44
|
import { C as Card } from "./Card-OQuFzmxm.js";
|
|
45
45
|
import { S as StructuredList } from "./StructuredList-CNha20ka.js";
|
|
46
|
-
import { D as Dropzone } from "./Dropzone-
|
|
47
|
-
import { v as validateDateNotInTheFuture } from "./validate-
|
|
46
|
+
import { D as Dropzone } from "./Dropzone-BbFC9YFN.js";
|
|
47
|
+
import { v as validateDateNotInTheFuture } from "./validate-D__xHxXc.js";
|
|
48
48
|
const updateSourceOfFunds = async (businessLineId, legalEntityId, baseUrl, data) => {
|
|
49
49
|
return httpPost(
|
|
50
50
|
{
|
|
@@ -2049,13 +2049,18 @@ function SourceOfFundsDropin({
|
|
|
2049
2049
|
gotoFormByFormIndex(0);
|
|
2050
2050
|
setSofErrorMessage("");
|
|
2051
2051
|
showToast({ label: sofT(($) => $["successAddedFundingSources"]), variant: "success" });
|
|
2052
|
-
|
|
2052
|
+
const hasUnfilledBusinessLines = allBusinessLines.some(
|
|
2053
|
+
(bl) => bl.id !== activeBusinessLine.id && !bl.sourceOfFunds?.type
|
|
2054
|
+
);
|
|
2055
|
+
if (!hasUnfilledBusinessLines) {
|
|
2056
|
+
handleHomeClick?.();
|
|
2057
|
+
}
|
|
2053
2058
|
} catch (e) {
|
|
2054
2059
|
setSofErrorMessage(sofT(($) => $["errorUpdatingSourceOfFunds"]));
|
|
2055
2060
|
logger.log("Error updating source of funds", e);
|
|
2056
2061
|
}
|
|
2057
2062
|
setLoadingStatus("success");
|
|
2058
|
-
}, [data, activeSourceOfFund, handleHomeClick]);
|
|
2063
|
+
}, [data, activeSourceOfFund, handleHomeClick, allBusinessLines]);
|
|
2059
2064
|
const handleGettingStarted = useCallback(() => {
|
|
2060
2065
|
setGettingStarted(!gettingStarted);
|
|
2061
2066
|
}, [gettingStarted]);
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import { u as useTranslation, O as Typography } from "./StoreProvider-
|
|
12
|
+
import { u as useTranslation, O as Typography } from "./StoreProvider-CDvuKNZP.js";
|
|
13
13
|
const range = (stop, start = 0, step = 1) => Array.from({ length: (stop - start) / step + 1 }, (_, i) => start + i * step);
|
|
14
14
|
const progressBar = "adyen-kyc-progress-bar";
|
|
15
15
|
const progressBarThick = "adyen-kyc-progress-bar-thick";
|