@adyen/kyc-components 4.4.1 → 4.5.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AcceptTermsOfServiceComponent-Bl1LwgDS.js → AcceptTermsOfServiceComponent-CR2V77u1.js} +15 -15
- package/dist/{AccountSetupRejected-vPCnaWwb.js → AccountSetupRejected-BaSv1aMx.js} +1 -1
- package/dist/{ActionBar-CmKflAap.js → ActionBar-BuWe8-z1.js} +1 -1
- package/dist/{Address-B2Ce4Di_.js → Address-CobU_T06.js} +10 -10
- package/dist/{Avatar-C9nv-6c-.js → Avatar-CdCqhG11.js} +1 -1
- package/dist/{BusinessFinancingComponent-BIe4b_PU.js → BusinessFinancingComponent-Dfy0gH0G.js} +6 -6
- package/dist/{BusinessFinancingDropin-C4pCGsLc.js → BusinessFinancingDropin-B2YMMEgc.js} +106 -143
- package/dist/{BusinessFinancingPage-BktVxu1R.js → BusinessFinancingPage-Dn2SZaGm.js} +4 -4
- package/dist/{BusinessTypeSelectionPage-Ds0ZBrm4.js → BusinessTypeSelectionPage-DXBEOxU7.js} +9 -9
- package/dist/{Checkbox-DKLas909.js → Checkbox-C43cszBI.js} +1 -1
- package/dist/{Confirm-BtKpS_Su.js → Confirm-DSHeRjKQ.js} +2 -2
- package/dist/{ConstitutionalDocument-Cd5em_aQ.js → ConstitutionalDocument-RBeJOMI9.js} +18 -18
- package/dist/{ContactDetails-Sd8KsA2V.js → ContactDetails-Ce2Swmjf.js} +7 -6
- package/dist/{ContextGuidance-qV9z-4df.js → ContextGuidance-aZFxIb9N.js} +1 -1
- package/dist/{CountryField-DOF4SekD.js → CountryField-xm8IGibG.js} +3 -3
- package/dist/{CreateIndividualComponent-81aRSgiZ.js → CreateIndividualComponent-DqRIYNya.js} +6 -6
- package/dist/{CreateTransferInstrumentComponent-ZsZNPuyJ.js → CreateTransferInstrumentComponent-Cc61Vlyk.js} +5 -5
- package/dist/{Currency-Cj6YKv5r.js → Currency-Ceveb6xq.js} +9 -15
- package/dist/{CustomerSupport-DCO0Pbb8.js → CustomerSupport-Dep4tudw.js} +10 -10
- package/dist/{DebugModal-B9zrfSu5.js → DebugModal-DQ2k4wj_.js} +7 -7
- package/dist/{DecisionMakerDetailsPage-CPB2zidn.js → DecisionMakerDetailsPage-75lr1jGb.js} +8 -8
- package/dist/{DecisionMakers-mrFSIvIM.js → DecisionMakers-CB4bBqAM.js} +111 -41
- package/dist/{Dropzone-CBPMlstg.js → Dropzone-CLM_n3Wo.js} +4 -4
- package/dist/{EmbeddedStatus-CYIyKmlG.js → EmbeddedStatus-CYpSU7Lu.js} +2 -2
- package/dist/{EndStateLayout-ByYy8V2P.js → EndStateLayout-Dvs0Fyf3.js} +1 -1
- package/dist/{EntityAssociation-K-jjCOGT.js → EntityAssociation-Cd7FCe7r.js} +4 -4
- package/dist/{EntityGuidanceStatus-GaYXpHXr.js → EntityGuidanceStatus-CxyDJQRk.js} +3 -3
- package/dist/{ErrorPanel-Dyn3lGkc.js → ErrorPanel-BFqJLKFx.js} +1 -1
- package/dist/{Field-DhEMQ19K.js → Field-DGiQvETj.js} +1 -1
- package/dist/{FormNavigation-CKhhXUBk.js → FormNavigation-9DVR10mt.js} +3 -3
- package/dist/{Individual.rules-BBxVtNhu.js → Individual.rules-Cx5w3ubG.js} +10 -6
- package/dist/{IndividualDropin-DanfVG9v.js → IndividualDropin-Do_5piol.js} +378 -64
- package/dist/{InputDate-CBV8pgtD.js → InputDate-Cnkj0pgw.js} +1 -1
- package/dist/{InputText-C6ZQ-hNy.js → InputText-BiBo7-DF.js} +2 -2
- package/dist/{Introduction-BKc-NjQw.js → Introduction-Bt0llljM.js} +4 -4
- package/dist/{JpAddress-BB9LN-8Q.js → JpAddress-Dm4o6xoC.js} +9 -9
- package/dist/{LandingLayout-DKoIVzl9.js → LandingLayout-D-2qzUMN.js} +1 -1
- package/dist/{LegalCompanyNameField-B4zAvQR1.js → LegalCompanyNameField-OGKND2S9.js} +6 -6
- package/dist/{LegalRepresentativeDetailsPage-B9SFa3jL.js → LegalRepresentativeDetailsPage-HMp70FbH.js} +4 -4
- package/dist/{Link-B2yGtZDE.js → Link-DMhjzDny.js} +1 -1
- package/dist/{ListItem-Dhqhy01R.js → ListItem-Bq-DWtoi.js} +2 -2
- package/dist/{LoaderWrapper-CMmocBvF.js → LoaderWrapper-BWC7m-5o.js} +1 -1
- package/dist/{ManageIndividualComponent-C0rnIl3D.js → ManageIndividualComponent-BrlqacrM.js} +4 -4
- package/dist/{ManageTermsOfServiceComponent-BXdeBtdc.js → ManageTermsOfServiceComponent-B75rQDJb.js} +4 -4
- package/dist/{ManageTransferInstrumentComponent-DUw-zWYd.js → ManageTransferInstrumentComponent-C1d-9DJA.js} +15 -13
- package/dist/{MaskedInput-84013BtF.js → MaskedInput-CkqIB8OQ.js} +4 -4
- package/dist/{MaybeModal-B3bzXe2d.js → MaybeModal-B8Kp1tAG.js} +2 -2
- package/dist/{Modal-CqgVbCkp.js → Modal-C4_6WHr_.js} +15 -25
- package/dist/{Name-BZGqCl21.js → Name-BCWqz7qL.js} +4 -4
- package/dist/NewSummary-v0BXtB1u.js +60 -0
- package/dist/{OnboardingDropinComponent-DZmgsC-y.js → OnboardingDropinComponent-BKjZ4dUg.js} +74 -73
- package/dist/{PayoutDetailsDropin-XbW-J3Is.js → PayoutDetailsDropin-CKUYEwS3.js} +37 -38
- package/dist/{PayoutDetailsPage-BuOL1hNz.js → PayoutDetailsPage-32nnFKRA.js} +5 -5
- package/dist/{RadioGroup-Dv77MxKh.js → RadioGroup-BM6PZZX7.js} +1 -1
- package/dist/{RadioGroupCard-BLcz-Pwr.js → RadioGroupCard-CA72Jc4I.js} +1 -1
- package/dist/{Review-C25xpvls.js → Review-BQsFvH0s.js} +6 -6
- package/dist/{RootBusinessDetailsPage-B1sWmRI0.js → RootBusinessDetailsPage-VSbggDRe.js} +4 -4
- package/dist/{RootBusinessLinesPage-DBXqjxer.js → RootBusinessLinesPage-BzaVEwZu.js} +73 -74
- package/dist/{RootIndividualDetailsPage-BBELvyVu.js → RootIndividualDetailsPage-CKe4aDcv.js} +5 -5
- package/dist/{Select-BXKtUkAf.js → Select-szF7BZsG.js} +4 -4
- package/dist/{SignPCIComponent-DzbJgLYx.js → SignPCIComponent-dACce0ma.js} +11 -11
- package/dist/{SingpassSelection-BZ_pf37b.js → SingpassSelection-D6RgctMm.js} +6 -6
- package/dist/{SoleProprietorshipPage-BOaR_ZZ9.js → SoleProprietorshipPage-t5HSf0wA.js} +3 -3
- package/dist/{SourceOfFundsPage-BJPeRXEv.js → SourceOfFundsPage-DwAvdUpj.js} +37 -32
- package/dist/{StepProgressIndicator-D079-QZi.js → StepProgressIndicator-j8L699P5.js} +1 -1
- package/dist/{StoreProvider-Bd8v9ymn.js → StoreProvider-q2HopghM.js} +28 -20
- package/dist/{Summary-BVTN9m4J.js → Summary-Bp7wuUq7.js} +9 -7
- package/dist/{TaxInformationField-FqmKNe1f.js → TaxInformationField-DzfowL7x.js} +19 -24
- package/dist/{TaxReportingDropin-BJZhFZNY.js → TaxReportingDropin-LzeH7-Hw.js} +14 -14
- package/dist/{TextArea-CijCoq-Y.js → TextArea-CRblDI_Z.js} +2 -2
- package/dist/{TileGroup-CJ8S8Tvw.js → TileGroup-CVadfJ7m.js} +2 -2
- package/dist/{TrustDetailsPage-4BtAP45U.js → TrustDetailsPage-Bh8Fuk36.js} +31 -32
- package/dist/{TrustMemberCompanyPage-BWWleoXo.js → TrustMemberCompanyPage-OUfpD5m4.js} +4 -4
- package/dist/{TrustMemberIndividualPage-DKdSC4pj.js → TrustMemberIndividualPage-CUpCiWJw.js} +4 -4
- package/dist/{TrustMemberRoleAndTypePage-DcJU-Rgv.js → TrustMemberRoleAndTypePage-BBU3qdjr.js} +21 -21
- package/dist/{TrustMembersOverview-BpLWTf93.js → TrustMembersOverview-XtsLGGtP.js} +10 -10
- package/dist/{UnincorporatedPartnershipIndividualPage-DW0242pX.js → UnincorporatedPartnershipIndividualPage-BJwyVQcs.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-C2M7U64N.js → UnincorporatedPartnershipMemberCompanyPage-DuWmCz26.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-Dn1u4sIQ.js → UnincorporatedPartnershipMemberRoleAndTypePage-Cd6orf-9.js} +11 -11
- package/dist/{UnincorporatedPartnershipMembersOverview-0F0keHpP.js → UnincorporatedPartnershipMembersOverview-DtSXTFgs.js} +7 -7
- package/dist/{VerificationErrorAlert-FDKoXtjj.js → VerificationErrorAlert-UmLbhO27.js} +2 -2
- package/dist/{ViewVerificationStatusComponent-1271jgnS.js → ViewVerificationStatusComponent-BR0VX5Wr.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 +8 -8
- 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-Bbu_uDNY.js → bafinUtils-CEhwN0HU.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-Bzh6HljH.js → commonValidators-BqiqMerd.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-W92bBPsr.js → dropinUtils-1X5PTK-x.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-CjjPhkB5.js → en-US-B-qSAb-7.js} +2 -1
- package/dist/en-US-CKLQU2sJ.js +13 -0
- package/dist/{en-US-BtFr9JRa.js → en-US-DIlZD5Wh.js} +7 -1
- 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-BjHuso5S.js → formUtils-BaC_i95Z.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-BL5TV1CY.js → getName-D_U_f0xu.js} +1 -1
- package/dist/{getProblemsForEntity-CRllBdyg.js → getProblemsForEntity-jARK9DHf.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-krcJrioH.js → iframeWidget-B8Q_bIDM.js} +4 -4
- package/dist/{isEmpty-DK9awCnt.js → isEmpty-BV_2Zbxa.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-CQfmJLNY.js → japanSupportUtils-DZUSDjLV.js} +1 -1
- package/dist/{localizeDateString-DWN00kQs.js → localizeDateString-DW3JUFmQ.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-BVZYgI0I.js → mapExistingFile-CbZcAW_4.js} +4 -4
- package/dist/{mapJpAddressSchemaToAddressLocalizations-M9JDtoZu.js → mapJpAddressSchemaToAddressLocalizations-1vckJlKd.js} +2 -2
- package/dist/{mapLegalEntityToIndividualSchema-vDezQ_7r.js → mapLegalEntityToIndividualSchema-OrI_MV7h.js} +4 -4
- package/dist/{mapTransferInstrumentToPayoutAccount-Dqbk-Puh.js → mapTransferInstrumentToPayoutAccount-8e7H_Bhw.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-7Z6iDnS9.js → patternValidators-BhKRVZ-F.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-pnB2vQcT.js → process-field-configurations-DXcGMDE-.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-BdwWTKt-.js → resolveEnvironment-IG_I_e4M.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-Zzr0nNzK.js → roleMetadata-D_VAfJTi.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/api/invitations/useInvitationStatuses.d.ts +8 -0
- package/dist/types/api/queryKeys.d.ts +2 -1
- 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/Individual/tasks/DecisionMakers/DecisionMakerListItem/DecisionMakerListItem.d.ts +8 -0
- 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/TaskVerificationStatus/TaskVerificationStatus.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/not.d.ts +12 -0
- package/dist/types/utils/roleMetadata.d.ts +4 -4
- package/dist/{types-BgzibKda.js → types-B3icNqT-.js} +1 -1
- package/dist/{types-B9EOUKVu.js → types-Bz1gHUnZ.js} +2 -2
- package/dist/{types-DP1DvIeR.js → types-_ugkpUNx.js} +2 -6
- package/dist/{types-Dtarzusy.js → types-nTdEaK9u.js} +1 -1
- package/dist/{unincorporated-partnership-Dqnnu9xK.js → unincorporated-partnership-CxC8hpU6.js} +1 -1
- package/dist/{useAssociatedLegalEntity-C4AIT84p.js → useAssociatedLegalEntity-CExD2Nb0.js} +1 -1
- package/dist/{useBusinessDetailsData-CKe9mCKo.js → useBusinessDetailsData-jCeAoPyw.js} +338 -312
- package/dist/{useCreateLegalEntity-B16sUD09.js → useCreateLegalEntity-QXWLSw77.js} +1 -1
- package/dist/{useForm-tzX14noT.js → useForm-LcJuE4eU.js} +3 -3
- package/dist/{useFormContext-C8U6tZ6w.js → useFormContext-HCnmvDDm.js} +7 -7
- package/dist/{FormWrapper-Du6lqE7g.js → useGlobalData-BQ7uH6wL.js} +66 -11
- package/dist/{useMultiForm-Dv6aeBzd.js → useMultiForm-BF1GwX2w.js} +12 -6
- package/dist/{useOnboardingStatus-D2IJejYc.js → useOnboardingStatus-BnQ0zWmD.js} +1 -1
- package/dist/{useScenarios-kkxotRrd.js → useScenarios-f5Iqcx__.js} +1 -1
- package/dist/{useTermsOfServiceStatus-CehmZhbl.js → useTermsOfServiceStatus-H30viFoT.js} +1 -1
- package/dist/{useToastContext-B6bVTtlk.js → useToastContext-JbYGpQck.js} +1 -1
- package/dist/{useUnincorporatedPartnershipMembers-CFNOVri5.js → useUnincorporatedPartnershipMembers-Dj_4K9xr.js} +4 -4
- package/dist/{useUpdateBusinessLines-Slv02Dto.js → useUpdateBusinessLines-BFNpiArr.js} +4 -4
- package/dist/{useUpdateLegalEntity-Bx5p8oMR.js → useUpdateLegalEntity-ZFCgejFq.js} +2 -2
- package/dist/{utils-Dc2gNGsw.js → utils-Bnd_ULLk.js} +1 -1
- package/dist/{utils-DmlO6ZEu.js → utils-Bo2HnA3U.js} +2 -2
- package/dist/{utils-CWnE_Cxa.js → utils-CkOUQ8lI.js} +1 -1
- package/dist/{utils-DFPTtgzx.js → utils-DVI0d8Wi.js} +6 -6
- package/dist/{utils-SCRgU7La.js → utils-_H_nQcST.js} +3 -3
- package/dist/{validate-Dc9plnDh.js → validate-BU0Rz-vP.js} +5 -5
- package/dist/{validate-CZQaWwSn.js → validate-CM0nNCV5.js} +24 -12
- package/dist/{validationError-BQGuWR5B.js → validationError-DJT1G3Cd.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/en-US-CEnwRsyr.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-DqYpj2Z7.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-q2HopghM.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-BKjZ4dUg.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-BFNpiArr.js";
|
|
16
|
+
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-HCnmvDDm.js";
|
|
17
|
+
import { u as useToastContext } from "./useToastContext-JbYGpQck.js";
|
|
18
|
+
import { g as getPropsFromConfigurations } from "./process-field-configurations-DXcGMDE-.js";
|
|
19
|
+
import { a as addValidityToForms, u as useFormComposer } from "./dropinUtils-1X5PTK-x.js";
|
|
20
|
+
import { u as useMultiForm } from "./useMultiForm-BF1GwX2w.js";
|
|
21
|
+
import { N as NewSummary } from "./NewSummary-v0BXtB1u.js";
|
|
22
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-jARK9DHf.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-Bp7wuUq7.js";
|
|
25
|
+
import { m as mergeFieldMetadataIntoProps, c as createFormUtils } from "./formUtils-BaC_i95Z.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-C43cszBI.js";
|
|
28
|
+
import { F as Field } from "./Field-DGiQvETj.js";
|
|
29
|
+
import { K as KEYBOARD_KEYS, M as Modal } from "./Modal-C4_6WHr_.js";
|
|
30
|
+
import { I as InputText } from "./InputText-BiBo7-DF.js";
|
|
31
|
+
import { SignPCIComponent } from "./SignPCIComponent-dACce0ma.js";
|
|
32
|
+
import { A as Avatar } from "./Avatar-CdCqhG11.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-DMhjzDny.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-CxC8hpU6.js";
|
|
39
|
+
import { L as LandingLayout } from "./LandingLayout-D-2qzUMN.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-Bq-DWtoi.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-DSHeRjKQ.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-BBELvyVu.js → RootIndividualDetailsPage-CKe4aDcv.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-q2HopghM.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-jARK9DHf.js";
|
|
13
|
+
import { i as filterProblemsByTaskForms, n as getTrustedFieldsProvider, o as getTrustedFields } from "./OnboardingDropinComponent-BKjZ4dUg.js";
|
|
14
|
+
import { I as IndividualDropin, i as individualForms } from "./IndividualDropin-Do_5piol.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-CKLQU2sJ.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-C4_6WHr_.js";
|
|
15
|
+
import { z as useAnalyticsContext, V as Loader, ai as noop, O as Typography, m as createLogger, u as useTranslation } from "./StoreProvider-q2HopghM.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-C43cszBI.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-q2HopghM.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-BKjZ4dUg.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-JbYGpQck.js";
|
|
16
|
+
import { M as MaybeModal } from "./MaybeModal-B8Kp1tAG.js";
|
|
17
|
+
import { E as EndStateLayout } from "./EndStateLayout-Dvs0Fyf3.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-C43cszBI.js";
|
|
20
|
+
import { F as Field } from "./Field-DGiQvETj.js";
|
|
21
|
+
import { S as Select } from "./Select-szF7BZsG.js";
|
|
22
|
+
import { u as useForm } from "./useForm-LcJuE4eU.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,8 +242,8 @@ 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-
|
|
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-
|
|
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-q2HopghM.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
|
+
{ 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-B-qSAb-7.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
|
]);
|
|
249
249
|
const {
|
|
@@ -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-q2HopghM.js";
|
|
14
|
+
import { F as Field } from "./Field-DGiQvETj.js";
|
|
15
|
+
import { I as Image } from "./unincorporated-partnership-CxC8hpU6.js";
|
|
16
|
+
import { R as RadioGroupCard } from "./RadioGroupCard-CA72Jc4I.js";
|
|
17
|
+
import { u as useForm } from "./useForm-LcJuE4eU.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-q2HopghM.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-jARK9DHf.js";
|
|
14
|
+
import { u as useBusinessDetailsData, B as BusinessDetailsDropin } from "./useBusinessDetailsData-jCeAoPyw.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-q2HopghM.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-jARK9DHf.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-BKjZ4dUg.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-JbYGpQck.js";
|
|
17
|
+
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-QXWLSw77.js";
|
|
18
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-ZFCgejFq.js";
|
|
19
|
+
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-HCnmvDDm.js";
|
|
20
|
+
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-1X5PTK-x.js";
|
|
21
|
+
import { u as useMultiForm } from "./useMultiForm-BF1GwX2w.js";
|
|
22
|
+
import { c as createDocumentRequest, d as documentApiUtils } from "./validate-BU0Rz-vP.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-BFqJLKFx.js";
|
|
26
|
+
import { c as createFormUtils } from "./formUtils-BaC_i95Z.js";
|
|
27
|
+
import { F as Field } from "./Field-DGiQvETj.js";
|
|
28
|
+
import { S as Select } from "./Select-szF7BZsG.js";
|
|
29
|
+
import { T as TextArea } from "./TextArea-CRblDI_Z.js";
|
|
30
|
+
import { I as InputDate } from "./InputDate-Cnkj0pgw.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-BiBo7-DF.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-_H_nQcST.js";
|
|
34
|
+
import { R as RadioGroup } from "./RadioGroup-BM6PZZX7.js";
|
|
35
|
+
import { C as CountryField } from "./CountryField-xm8IGibG.js";
|
|
36
|
+
import { A as Avatar } from "./Avatar-CdCqhG11.js";
|
|
37
|
+
import { M as Modal } from "./Modal-C4_6WHr_.js";
|
|
38
|
+
import { C as Confirm } from "./Confirm-DSHeRjKQ.js";
|
|
39
|
+
import { T as TileGroup } from "./TileGroup-CVadfJ7m.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-CxC8hpU6.js";
|
|
42
|
+
import { L as LandingLayout } from "./LandingLayout-D-2qzUMN.js";
|
|
43
|
+
import { i as isEmpty } from "./isEmpty-BV_2Zbxa.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-CLM_n3Wo.js";
|
|
47
|
+
import { v as validateDateNotInTheFuture } from "./validate-CM0nNCV5.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-q2HopghM.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";
|