@adyen/kyc-components 4.8.0 → 4.9.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/4-people-CmxKfDnH.js +35 -0
- package/dist/AcceptTermsOfServiceComponent-BaAQHutH.js +6 -0
- package/dist/AcceptTermsOfServiceComponent-U1D1xOlX.js +651 -0
- package/dist/Accordion-Btxq6sGi.js +111 -0
- package/dist/AccountSetupRejected-CFihsePp.js +20 -0
- package/dist/ActionBar-Doac020y.js +33 -0
- package/dist/Address-BBhttZH7.js +595 -0
- package/dist/Alert-C6gL3JIt.js +170 -0
- package/dist/Avatar-CKmUpMXT.js +54 -0
- package/dist/BusinessFinancingDropin-BeItAS4H.js +1796 -0
- package/dist/BusinessFinancingPage-Cn59r_4N.js +87 -0
- package/dist/BusinessTypeSelectionPage-CAIsndUZ.js +439 -0
- package/dist/Button-oj6H8OrC.js +189 -0
- package/dist/Confirm-B6TWSuab.js +76 -0
- package/dist/ConstitutionalDocument-CWiiY8-Q.js +2282 -0
- package/dist/ContactDetails-DgusRek8.js +292 -0
- package/dist/ContextGuidance-DdoORtLt.js +29 -0
- package/dist/CountryField-Dh4DfjBf.js +38 -0
- package/dist/Currency-V5HFH6ne.js +191 -0
- package/dist/CustomerSupport-CFu3E5Df.js +127 -0
- package/dist/DE-B5hlvfaz.js +20 -0
- package/dist/DE-BB3kLAb1.js +24 -0
- package/dist/DebugModal-o5E385CJ.js +451 -0
- package/dist/DecisionMakerDetails-CIPJYtXC.js +471 -0
- package/dist/DecisionMakerDetailsPage-FRHO8yDE.js +105 -0
- package/dist/DecisionMakers-BHmeXtQg.js +670 -0
- package/dist/Dropzone-Fj83VtiJ.js +221 -0
- package/dist/EmbeddedStatus-C0cKHgzR.js +128 -0
- package/dist/EndStateLayout-ChS-vdMt.js +84 -0
- package/dist/EntityAssociation-DjHI99AZ.js +163 -0
- package/dist/EntityGuidanceStatus-F9oxfzj4.js +89 -0
- package/dist/ErrorPanel-B536hgSc.js +186 -0
- package/dist/Field-pcJkjIG_.js +155 -0
- package/dist/FormNavigation-ikhirSjM.js +116 -0
- package/dist/Header-CPmJyuoP.js +93 -0
- package/dist/Image-BEzOZ1tt.js +33 -0
- package/dist/Individual.rules-DvMQmx90.js +295 -0
- package/dist/IndividualDropin-5d4DRAnF.js +4961 -0
- package/dist/Introduction-CDJnwem7.js +271 -0
- package/dist/InvitedDecisionMakerComponent-CWFjVunH.js +353 -0
- package/dist/InvitedDecisionMakerComponent-CinIOPl5.js +6 -0
- package/dist/JpAddress-IVAbHKw_.js +320 -0
- package/dist/LandingLayout-z8j2xiqg.js +76 -0
- package/dist/LegalCompanyNameField-CW82YkTh.js +108 -0
- package/dist/LegalRepresentativeDetailsPage-BMV6rNj3.js +73 -0
- package/dist/Link-6M1PZnz2.js +32 -0
- package/dist/ListItem-BWH4IPrj.js +70 -0
- package/dist/LoaderWrapper-Dq8TNJCi.js +34 -0
- package/dist/MaskedInput-BFPSwRto.js +714 -0
- package/dist/MaybeModal-CeTBIah3.js +24 -0
- package/dist/Modal-CioQJ7Q7.js +129 -0
- package/dist/Name-G92OEGxs.js +61 -0
- package/dist/NewSummary-C-LKBMpr.js +64 -0
- package/dist/PayoutDetailsDropin-2P2XBBby.js +3887 -0
- package/dist/PayoutDetailsPage-C0skgVvV.js +857 -0
- package/dist/RadioGroup-7g7Xv9rl.js +84 -0
- package/dist/Review-CVbMIJPV.js +89 -0
- package/dist/RootBusinessDetailsPage--UFI2dVP.js +69 -0
- package/dist/RootBusinessLinesPage-BfwOCZsD.js +1451 -0
- package/dist/RootIndividualDetailsPage-CANgtG6U.js +81 -0
- package/dist/Select-CcSRI-H0.js +775 -0
- package/dist/SignPCIComponent-C_p15Efe.js +6 -0
- package/dist/SignPCIComponent-Wk_NI3r3.js +367 -0
- package/dist/SingpassSelection-CB1J2MS6.js +159 -0
- package/dist/SoleProprietorshipPage-BviKY2iD.js +69 -0
- package/dist/SourceOfFundsPage-Cdco3_9D.js +1987 -0
- package/dist/Spacer-CvT0ELty.js +11 -0
- package/dist/StepProgressIndicator-DWJ9eS5a.js +80 -0
- package/dist/Summary-B5IkOGJV.js +226 -0
- package/dist/TaskVerificationStatus-kCWYhocq.js +118 -0
- package/dist/TaxInformationField-D4iJyoVE.js +2857 -0
- package/dist/TaxReportingDropin-BOBRj6is.js +480 -0
- package/dist/TextArea-CRLeP4x6.js +80 -0
- package/dist/TileGroup-D0YbtzZ0.js +169 -0
- package/dist/ToastContextProvider-C-7n4Tu6.js +103 -0
- package/dist/TrustDetailsPage-DrZ9HGKl.js +1685 -0
- package/dist/TrustMemberCompanyPage-D9hFEEZm.js +107 -0
- package/dist/TrustMemberIndividualPage-B3sb9HRd.js +107 -0
- package/dist/TrustMemberRoleAndTypePage-wrnuKHRd.js +943 -0
- package/dist/TrustMembersOverview-DexR4fmv.js +350 -0
- package/dist/UnincorporatedPartnershipIndividualPage-DylG-9F5.js +78 -0
- package/dist/UnincorporatedPartnershipMemberCompanyPage-DPOYWdzd.js +78 -0
- package/dist/UnincorporatedPartnershipMemberRoleAndTypePage-j1MG7dgo.js +276 -0
- package/dist/UnincorporatedPartnershipMembersOverview-yi5iVO-v.js +156 -0
- package/dist/VerificationErrorAlert-DR3lTJhB.js +38 -0
- package/dist/adyen-business-financing.js +84 -84
- package/dist/adyen-individual-configuration.js +86 -86
- package/dist/adyen-individual-status.js +35 -35
- package/dist/adyen-invited-decision-maker.js +3 -3
- package/dist/adyen-onboarding.js +111 -111
- package/dist/adyen-terms-of-service-management.js +4 -4
- package/dist/adyen-terms-of-service-status.js +57 -57
- package/dist/adyen-transfer-instrument-configuration.js +83 -83
- package/dist/adyen-transfer-instrument-management.js +94 -94
- package/dist/adyen-verification-status.js +34 -34
- package/dist/arrow-right-CBQUuXWn.js +20 -0
- package/dist/bag-B73BWByo.js +20 -0
- package/dist/bank-BfKT2Hlo.js +20 -0
- package/dist/bg-BG-B3fdlAsP.js +7 -0
- package/dist/bg-BG-BUBUyZgz.js +60 -0
- package/dist/bg-BG-COHRuTI-.js +7 -0
- package/dist/bg-BG-CodTfJR6.js +7 -0
- package/dist/bin-CR2JtyeA.js +30 -0
- package/dist/capital-C0dL_JnU.js +23 -0
- package/dist/cash-stack-qIbSKCET.js +33 -0
- package/dist/certificate-Cv-GCGT_.js +23 -0
- package/dist/checkmark-B5bpiMC3.js +20 -0
- package/dist/checkmark-circle-fill-BEzw_Ad8.js +30 -0
- package/dist/checkmark-circle-lv03ep4H.js +28 -0
- package/dist/checkmark-small-3mQnvwQ8.js +20 -0
- package/dist/chevron-down-dEHOUt1A.js +20 -0
- package/dist/chevron-left-DPUZ5uGm.js +20 -0
- package/dist/chevron-right-Bul4T3tl.js +20 -0
- package/dist/chevron-up-DMqLHgxc.js +20 -0
- package/dist/circle-BrnvXI-e.js +30 -0
- package/dist/circle-small-filled-ni7ir6ux.js +20 -0
- package/dist/clock-CGVkf1Ve.js +28 -0
- package/dist/coins-CZegEaHP.js +30 -0
- package/dist/contract-BKSU2cwd.js +20 -0
- package/dist/cross-Du29KQ50.js +20 -0
- package/dist/cross-circle-fill-DKtory30.js +30 -0
- package/dist/cross-circle-fill-small-CbhK-gt9.js +20 -0
- package/dist/cs-CZ-BFJyFYpX.js +60 -0
- package/dist/cs-CZ-BLE9aLKg.js +7 -0
- package/dist/cs-CZ-BfrGDPxg.js +7 -0
- package/dist/cs-CZ-CmcYZLZp.js +7 -0
- package/dist/da-DK-BNvIcL59.js +60 -0
- package/dist/da-DK-BhPEeSfb.js +7 -0
- package/dist/da-DK-C_oe1bpM.js +7 -0
- package/dist/da-DK-DtAW2xZE.js +7 -0
- package/dist/de-DE-B8Eby_UK.js +60 -0
- package/dist/de-DE-CMc1Fpfl.js +7 -0
- package/dist/de-DE-DXNTaizu.js +7 -0
- package/dist/de-DE-JbgxmFfV.js +7 -0
- package/dist/document-1-aQlMSWwx.js +20 -0
- package/dist/document-person-CjV96CE2.js +28 -0
- package/dist/download-Byq3TeQ7.js +23 -0
- package/dist/dropinUtils-IdasFZCU.js +275 -0
- package/dist/edit-1-B3TJrgU8.js +20 -0
- package/dist/el-GR-Bv2QgmVV.js +7 -0
- package/dist/el-GR-DYmDnzZe.js +60 -0
- package/dist/el-GR-DzVIM3MW.js +7 -0
- package/dist/el-GR-qH2iIn7-.js +7 -0
- package/dist/en-US-cJAmQhFR.js +10 -0
- package/dist/es-ES-DLBRDQJZ.js +60 -0
- package/dist/es-ES-DMjKXw-3.js +7 -0
- package/dist/es-ES-DtlXpZ_5.js +7 -0
- package/dist/es-ES-yxJhxnWV.js +7 -0
- package/dist/et-EE-BwKPcihb.js +7 -0
- package/dist/et-EE-C3h50xW-.js +7 -0
- package/dist/et-EE-C_Z4PWda.js +60 -0
- package/dist/et-EE-PTcJ2hRW.js +7 -0
- package/dist/external-link-DYtCXxMx.js +20 -0
- package/dist/fi-FI-BbwbWwYb.js +7 -0
- package/dist/fi-FI-C1Ns3CEo.js +7 -0
- package/dist/fi-FI-azwPyx-k.js +60 -0
- package/dist/fi-FI-wGXRm-tZ.js +7 -0
- package/dist/fr-FR-CzdHSH04.js +60 -0
- package/dist/fr-FR-DgPRYmmJ.js +7 -0
- package/dist/fr-FR-YG31LnB2.js +7 -0
- package/dist/fr-FR-mFwC-nNY.js +7 -0
- package/dist/getProblemsForEntity-a39L2dH8.js +16 -0
- package/dist/gift-30hYMA9-.js +20 -0
- package/dist/globalStore-BjMds47R.js +418 -0
- package/dist/graph-CzlxS7Vy.js +32 -0
- package/dist/graph-up-CE291Upm.js +38 -0
- package/dist/graphical-laptop-DX_EZlVD.js +706 -0
- package/dist/headquarter-i418irxh.js +42 -0
- package/dist/hotel-a4lSlfvp.js +33 -0
- package/dist/hr-HR-BAeB6ZDz.js +7 -0
- package/dist/hr-HR-BQfjrcPC.js +7 -0
- package/dist/hr-HR-Bgny6YH0.js +7 -0
- package/dist/hr-HR-C7Hp8OgD.js +60 -0
- package/dist/http-msAasD57.js +148 -0
- package/dist/hu-HU-B34uBEZ9.js +60 -0
- package/dist/hu-HU-Bb1gk4Jr.js +7 -0
- package/dist/hu-HU-Bpaw2qU0.js +7 -0
- package/dist/hu-HU-DfYPelYo.js +7 -0
- package/dist/image-DobgR711.js +23 -0
- package/dist/info-DEkQ-8WE.js +32 -0
- package/dist/info-filled-C68IJNrw.js +32 -0
- package/dist/invalidateRootLegalEntity-B4bAFkQS.js +45 -0
- package/dist/it-IT-BCqVu72_.js +60 -0
- package/dist/it-IT-CmoZrxWa.js +7 -0
- package/dist/it-IT-DX5qNq8o.js +7 -0
- package/dist/it-IT-cnETv3Cg.js +7 -0
- package/dist/ja-JP-C7_6K98B.js +60 -0
- package/dist/ja-JP-CyP1sKap.js +7 -0
- package/dist/ja-JP-D0gz56Ni.js +7 -0
- package/dist/ja-JP-DeQYHyel.js +7 -0
- package/dist/localizeDateString-1A3eC6hp.js +35 -0
- package/dist/location-CGZGwAk9.js +23 -0
- package/dist/lt-LT-Bbh9MWxc.js +7 -0
- package/dist/lt-LT-BhzsTniu.js +60 -0
- package/dist/lt-LT-D0_qhzNo.js +7 -0
- package/dist/lt-LT-DJkDO0Uf.js +7 -0
- package/dist/lv-LV-B6yxwa6Z.js +60 -0
- package/dist/lv-LV-BdQdKiBb.js +7 -0
- package/dist/lv-LV-Bfkan_1O.js +7 -0
- package/dist/lv-LV-C8fqHR2g.js +7 -0
- package/dist/mail-DoEbKDBx.js +20 -0
- package/dist/mapExistingFile-Djcwti5D.js +138 -0
- package/dist/mapJpAddressSchemaToAddressLocalizations-C-Kwjo9Q.js +61 -0
- package/dist/mapLegalEntityToIndividualSchema-BG1tpKz9.js +206 -0
- package/dist/mapTransferInstrumentToPayoutAccount-BQebHQfz.js +44 -0
- package/dist/minus-circle-filled-BnkSMCtd.js +30 -0
- package/dist/nl-NL-4iZ44kzK.js +60 -0
- package/dist/nl-NL-CQ4ZHb3p.js +7 -0
- package/dist/nl-NL-CQSu4iNn.js +7 -0
- package/dist/nl-NL-DXnNGqSV.js +7 -0
- package/dist/no-NO-B1v42GMO2.js +7 -0
- package/dist/no-NO-BSJ1rjY4.js +60 -0
- package/dist/no-NO-C0DXekH-.js +7 -0
- package/dist/no-NO-D_KcEh_g.js +7 -0
- package/dist/omitObscuredFieldsIfUnchanged-Cx1OCZuB.js +20 -0
- package/dist/options-horizontal-D-HDgCXI.js +30 -0
- package/dist/partner-d2hFoENh.js +30 -0
- package/dist/pay-by-link-plane-CPfnEsJ1.js +33 -0
- package/dist/payout-BLb3D4s1.js +38 -0
- package/dist/person-oQB0xWxS.js +23 -0
- package/dist/phonePrefixes-DcdX_CFz.js +252 -0
- package/dist/pl-PL-10KUcobm.js +7 -0
- package/dist/pl-PL-BHjlKdWC.js +60 -0
- package/dist/pl-PL-C0t949uz.js +7 -0
- package/dist/pl-PL-C5u2-nG22.js +7 -0
- package/dist/plus-circle-filled-DjQkTAs3.js +30 -0
- package/dist/plus-ohr5jEJX.js +20 -0
- package/dist/process-field-configurations-C7MuEj5q.js +279 -0
- package/dist/processCapabilities-DlZY9-Jc.js +869 -0
- package/dist/pt-BR-9jLurhS32.js +7 -0
- package/dist/pt-BR-BMIZHo3V.js +60 -0
- package/dist/pt-BR-DWKF33yP.js +7 -0
- package/dist/pt-BR-DcbjZDZp.js +7 -0
- package/dist/pt-PT-B6DsKlac2.js +7 -0
- package/dist/pt-PT-BRU9TQPI.js +7 -0
- package/dist/pt-PT-CjIFIi4R.js +7 -0
- package/dist/pt-PT-s_KcBKav.js +60 -0
- package/dist/recurring-DmyMJdwC.js +23 -0
- package/dist/resolveEnvironment-BcIDBsbb.js +1176 -0
- package/dist/revenue-accelerate-BN3AdS3k.js +30 -0
- package/dist/ro-RO-9TjoIVJf2.js +7 -0
- package/dist/ro-RO-B8XucTSz.js +7 -0
- package/dist/ro-RO-DQFRJwp8.js +7 -0
- package/dist/ro-RO-DsFmqo3p.js +60 -0
- package/dist/save-CsdmY84G.js +20 -0
- package/dist/search-BXGLED99.js +30 -0
- package/dist/show-nnMbIf7M.js +23 -0
- package/dist/singpass-logo-C6TfxlXU.js +33 -0
- package/dist/singpass-logo-small-BcAlrN2f.js +22 -0
- package/dist/sk-SK-BfoXFhAL.js +7 -0
- package/dist/sk-SK-BspZv60l.js +60 -0
- package/dist/sk-SK-D5_Q4Djr2.js +7 -0
- package/dist/sk-SK-DncQ0dRM.js +7 -0
- package/dist/sl-SI-Ce45OvpM.js +7 -0
- package/dist/sl-SI-CuNIMCGx2.js +7 -0
- package/dist/sl-SI-CyIN1sc5.js +7 -0
- package/dist/sl-SI-D26FDPwq.js +60 -0
- package/dist/solution-payments-C_H8klpJ.js +20 -0
- package/dist/store-D8kYfDDN.js +20 -0
- package/dist/style.css +247 -352
- package/dist/styles-BKzp-1_V.js +5883 -0
- package/dist/sv-SE-C11kwGTV2.js +7 -0
- package/dist/sv-SE-CAQm2GVJ.js +7 -0
- package/dist/sv-SE-JKGeqd9J.js +60 -0
- package/dist/sv-SE-Xh17T6yC.js +7 -0
- package/dist/terminal-1-B3NwyGSs.js +30 -0
- package/dist/translation-BFxyJ1c5.js +854 -0
- package/dist/types/api/companyDataSet/companyDataset.types.d.ts +3 -16
- package/dist/types/api/companyDataSet/handleCompanyDataset.d.ts +3 -6
- package/dist/types/api/companySearch/companySearch.types.d.ts +4 -20
- package/dist/types/api/companySearch/useCompanySearch.d.ts +58 -61
- package/dist/types/api/companySelection/companySelection.types.d.ts +3 -3
- package/dist/types/api/invitations/invitations.types.d.ts +4 -3
- package/dist/types/api/pci/pci.types.d.ts +4 -3
- package/dist/types/api/pci/useSignPci.d.ts +2 -1
- package/dist/types/api/termsOfService/termsOfService.types.d.ts +3 -2
- package/dist/types/api/termsOfService/useTermsOfService.d.ts +2 -1
- package/dist/types/api/termsOfService/useTermsOfServiceAcceptanceInfos.d.ts +2 -1
- package/dist/types/api/termsOfService/useTermsOfServiceStatus.d.ts +2 -1
- package/dist/types/api/tinVerification/useVerifyTin.d.ts +6 -6
- package/dist/types/components/Business/forms/AdditionalInformation/VerifiedBusinessCard/VerifiedBusinessCard.d.ts +2 -2
- package/dist/types/components/Business/forms/AdditionalInformation/utils.d.ts +2 -2
- package/dist/types/components/Business/forms/BusinessDetails/forms.d.ts +2 -1
- package/dist/types/components/Business/forms/BusinessSelection/BusinessInformationCard/BusinessInformationCard.d.ts +5 -5
- package/dist/types/components/Business/forms/rules.d.ts +1 -0
- package/dist/types/components/Business/mapping/businessDetails/mapLegalEntityToBusinessDetailsSchema.d.ts +3 -1
- package/dist/types/components/Business/utils/applyVerifiedBusinessData.d.ts +1 -1
- package/dist/types/components/Business/utils/usePrefetchCompanySearch.d.ts +9 -0
- package/dist/types/components/Individual/forms/IdDocumentUpload/IdDocumentManualUpload.d.ts +0 -1
- package/dist/types/components/Shared/SingpassSelection/SingpassSelection.d.ts +0 -1
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/BusinessRegistrationNumberField.d.ts +1 -1
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/RegistrationNumberTypeSelector/CompanyRegistrationNumberTypeSelector.d.ts +2 -1
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/RegistrationNumberTypeSelector/getDefaultRegistrationNumberType.d.ts +1 -1
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/RegistrationNumberTypeSelector/inferCompanyRegistrationNumberType.d.ts +1 -1
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/fieldConfig.d.ts +0 -1
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/registrationNumberTypes.d.ts +15 -3
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/types.d.ts +1 -0
- package/dist/types/components/Shared/fields/TaxInformationField/TaxIdNumberTypeSelector/TaxIdNumberTypeSelector.d.ts +2 -1
- package/dist/types/components/Shared/fields/TaxInformationField/TaxIdNumberTypeSelector/getDefaultTaxIdNumberType.d.ts +1 -1
- package/dist/types/components/Shared/fields/TaxInformationField/TaxIdNumberTypeSelector/inferTaxIdNumberType.d.ts +1 -1
- package/dist/types/components/Shared/fields/TaxInformationField/TaxInformationField.d.ts +1 -1
- package/dist/types/components/Shared/fields/TaxInformationField/taxIdNumberTypes.d.ts +3 -2
- package/dist/types/components/Shared/fields/TaxInformationField/types.d.ts +1 -0
- package/dist/types/components/Shared/forms/Address/types.d.ts +2 -2
- package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
- package/dist/types/components/Shared/forms/CompanyNameAndCountry/types.d.ts +0 -8
- package/dist/types/components/ui/atoms/Accordion/Accordion.d.ts +2 -1
- package/dist/types/components/ui/atoms/Card/Card.d.ts +2 -2
- package/dist/types/components/ui/atoms/Field/Field.d.ts +1 -4
- package/dist/types/components/ui/atoms/Header/Header.d.ts +3 -3
- package/dist/types/components/ui/atoms/List/List.d.ts +3 -3
- package/dist/types/components/ui/atoms/ListItem/ListItem.d.ts +3 -3
- package/dist/types/components/ui/atoms/LoaderWrapper/LoaderWrapper.d.ts +2 -1
- package/dist/types/components/ui/atoms/MultiSelectList/MultiSelectList.d.ts +2 -1
- package/dist/types/components/ui/atoms/ProgressBar/ProgressBar.d.ts +5 -1
- package/dist/types/components/ui/atoms/Status/Status.d.ts +2 -2
- package/dist/types/context/I18nProvider/I18nContext.d.ts +2 -1
- package/dist/types/context/ToggleContext/types.d.ts +4 -4
- package/dist/types/utils/analytics/trackNavigation.d.ts +2 -1
- package/dist/types/utils/entityStatusUtil.d.ts +1 -1
- package/dist/types/utils/perCountry.d.ts +0 -3
- package/dist/types-8S6KTD2W.js +68 -0
- package/dist/types-qnPNJzLh.js +58 -0
- package/dist/upload-5PvAU00H.js +23 -0
- package/dist/useAccountHolder-CnO_E-AQ.js +102 -0
- package/dist/useAllowedCountries-F0wCZ8Fv.js +74 -0
- package/dist/useAssociatedLegalEntity-b2rR6eT1.js +35 -0
- package/dist/useBusinessDetailsData-DcI9hO0m.js +4365 -0
- package/dist/useBusinessLines-RQQdWQf5.js +27 -0
- package/dist/useCapabilities-BhSlO8Qy.js +12 -0
- package/dist/useCreateLegalEntity-DizCrhrt.js +24 -0
- package/dist/useDataMissingRemediations-CARoFWDr.js +39 -0
- package/dist/useDataset-ZHrWhmsh.js +96 -0
- package/dist/useDeleteTransferInstrument-Cbdy-qgj.js +31 -0
- package/dist/useForm-pUkvCLc9.js +502 -0
- package/dist/useFormContext-Cx9-3iXR.js +178 -0
- package/dist/useGlobalData-DD00rA9R.js +164 -0
- package/dist/useLegalEntity-Dv5dgbCO.js +48 -0
- package/dist/useMultiForm-B3e1ImN3.js +754 -0
- package/dist/useNavigate-DIEXJQpe.js +268 -0
- package/dist/useOnboardingStatus-ByU7lXjv.js +23 -0
- package/dist/usePciQuestionnaireList-CF58LcYV.js +26 -0
- package/dist/useSalesChannels--nshXveh.js +47 -0
- package/dist/useScenarios-gjy5hxIo.js +55 -0
- package/dist/useTaskStatus-CHWVSBuo.js +51 -0
- package/dist/useTermsOfServiceStatus-C6UX8Rtp.js +39 -0
- package/dist/useTrustMembers-Bhi2t_pX.js +152 -0
- package/dist/useUnincorporatedPartnershipMembers-IvAeX76z.js +70 -0
- package/dist/useUpdateBusinessLines-CLiF20xN.js +296 -0
- package/dist/useUpdateLegalEntity-Dcvfr-yZ.js +29 -0
- package/dist/utils-B807QaDx.js +88 -0
- package/dist/utils-BptSfkns.js +188 -0
- package/dist/utils-DRjqyP-s.js +805 -0
- package/dist/validate-AqTlBSU4.js +387 -0
- package/dist/validate-BRATlfVl.js +411 -0
- package/dist/validationError-BzQCrJPn.js +68 -0
- package/dist/warning-circle-fill-8KMHOOon.js +30 -0
- package/dist/warning-diamond-filled-CKvlLEGk.js +30 -0
- package/dist/webinar-D2TO4Mw_.js +33 -0
- package/package.json +28 -33
- package/dist/4-people-7MltvEnk.js +0 -35
- package/dist/AcceptTermsOfServiceComponent-BKgdZKrj.js +0 -651
- package/dist/AcceptTermsOfServiceComponent-CUIdPIg8.js +0 -6
- package/dist/Accordion-Dmrb3-v6.js +0 -111
- package/dist/AccountSetupRejected-DkwJLZ-8.js +0 -20
- package/dist/ActionBar-ITEbcxgG.js +0 -33
- package/dist/Address-CnQ22ndb.js +0 -595
- package/dist/Alert-BER6uCP8.js +0 -170
- package/dist/Avatar-DElKUUVp.js +0 -54
- package/dist/BusinessFinancingDropin-B8ZJDKWU.js +0 -1796
- package/dist/BusinessFinancingPage-B2EuTX1b.js +0 -87
- package/dist/BusinessTypeSelectionPage-CChAObkr.js +0 -439
- package/dist/Button-DvWt5T9O.js +0 -189
- package/dist/Confirm-BmiOH3Vr.js +0 -76
- package/dist/ConstitutionalDocument-rRO4Qdx2.js +0 -2228
- package/dist/ContactDetails-tVqSDGqY.js +0 -292
- package/dist/ContextGuidance-DKKgj5gN.js +0 -29
- package/dist/CountryField-s5-jZTU9.js +0 -38
- package/dist/Currency-gYKD3DSx.js +0 -191
- package/dist/CustomerSupport-kwwKDe5a.js +0 -127
- package/dist/DE-BOCSw-Jn.js +0 -23
- package/dist/DE-hCefE4qL.js +0 -20
- package/dist/DebugModal-COszvbWk.js +0 -451
- package/dist/DecisionMakerDetails-DA9upL0W.js +0 -471
- package/dist/DecisionMakerDetailsPage-B7iGmS0R.js +0 -105
- package/dist/DecisionMakers-BZRkBx5n.js +0 -670
- package/dist/Dropzone-By_YOrv2.js +0 -221
- package/dist/EmbeddedStatus-DeSYswbC.js +0 -128
- package/dist/EndStateLayout-CR8wHeA1.js +0 -84
- package/dist/EntityAssociation-CKOd_SVw.js +0 -163
- package/dist/EntityGuidanceStatus-C_rpRyk4.js +0 -89
- package/dist/ErrorPanel-4juOd8Z2.js +0 -186
- package/dist/Field-C2ZpB0wo.js +0 -155
- package/dist/FormNavigation-IqQmylMk.js +0 -116
- package/dist/Header-BNb1zwkF.js +0 -93
- package/dist/Image-BTVEK7B2.js +0 -33
- package/dist/Individual.rules-B3pCow6J.js +0 -295
- package/dist/IndividualDropin-bFgrHziM.js +0 -4946
- package/dist/Introduction-BRwmMwP8.js +0 -271
- package/dist/InvitedDecisionMakerComponent-DD1vVyTG.js +0 -6
- package/dist/InvitedDecisionMakerComponent-g4s20v7g.js +0 -353
- package/dist/JpAddress-DcrYSdH2.js +0 -319
- package/dist/LandingLayout-BQZNXhZ_.js +0 -76
- package/dist/LegalCompanyNameField-D91em8Tk.js +0 -108
- package/dist/LegalRepresentativeDetailsPage-BeNRjz37.js +0 -73
- package/dist/Link-DKiaZfxB.js +0 -32
- package/dist/ListItem-zVPVQbER.js +0 -70
- package/dist/LoaderWrapper-DWKykOjd.js +0 -34
- package/dist/MaskedInput-zFUBaX87.js +0 -714
- package/dist/MaybeModal-Dsgozf1o.js +0 -24
- package/dist/Modal-UfgpuJZi.js +0 -129
- package/dist/Name-DC5eBwEU.js +0 -61
- package/dist/NewSummary-DVIIH1Ml.js +0 -64
- package/dist/PayoutDetailsDropin-DAUlhP1c.js +0 -3909
- package/dist/PayoutDetailsPage-mJE3Hgy9.js +0 -857
- package/dist/Radio-D6uF9-cu.js +0 -21
- package/dist/RadioGroup-Bi9v9dZu.js +0 -71
- package/dist/Review-C-B_R1FH.js +0 -89
- package/dist/RootBusinessDetailsPage-9ccBcunp.js +0 -67
- package/dist/RootBusinessLinesPage-LQptA58p.js +0 -1451
- package/dist/RootIndividualDetailsPage-DlzHpNEn.js +0 -81
- package/dist/Select-DDSua27l.js +0 -775
- package/dist/SignPCIComponent-DGWjjIO0.js +0 -367
- package/dist/SignPCIComponent-DvZAN38F.js +0 -6
- package/dist/SingpassSelection-PepG3R0o.js +0 -244
- package/dist/SoleProprietorshipPage-DnThw6us.js +0 -69
- package/dist/SourceOfFundsPage-CuIBGc8z.js +0 -1987
- package/dist/Spacer-_Y17BH-4.js +0 -11
- package/dist/StepProgressIndicator-CzDT61ie.js +0 -80
- package/dist/Summary-B8AA9_C_.js +0 -226
- package/dist/TaskVerificationStatus-UnhKHQYu.js +0 -118
- package/dist/TaxInformationField-zwmzV8Ov.js +0 -2830
- package/dist/TaxReportingDropin-BZ67pubt.js +0 -480
- package/dist/TextArea-CyATBUKN.js +0 -80
- package/dist/TileGroup-tVHAZBni.js +0 -169
- package/dist/ToastContextProvider-BWJct14f.js +0 -103
- package/dist/TrustDetailsPage-DLIvcoSr.js +0 -1685
- package/dist/TrustMemberCompanyPage-Q0FDNUXO.js +0 -107
- package/dist/TrustMemberIndividualPage-C4FZ57EQ.js +0 -107
- package/dist/TrustMemberRoleAndTypePage-s8ZOlbBU.js +0 -943
- package/dist/TrustMembersOverview-CZ-i1Yoq.js +0 -350
- package/dist/UnincorporatedPartnershipIndividualPage-DElj-rnx.js +0 -78
- package/dist/UnincorporatedPartnershipMemberCompanyPage-B2iYbHPm.js +0 -78
- package/dist/UnincorporatedPartnershipMemberRoleAndTypePage-BgNE2bk7.js +0 -276
- package/dist/UnincorporatedPartnershipMembersOverview-BwCLw7rz.js +0 -156
- package/dist/VerificationErrorAlert-C_9CLF8G.js +0 -38
- package/dist/arrow-right-BzximXQd.js +0 -20
- package/dist/bag-CV-7aEOY.js +0 -20
- package/dist/bank-B3QWGDvh.js +0 -20
- package/dist/bg-BG-B59ND_11.js +0 -59
- package/dist/bg-BG-DeVGTTeO.js +0 -7
- package/dist/bg-BG-sDNpvadv.js +0 -7
- package/dist/bg-BG-xv1T8Cru.js +0 -7
- package/dist/bin-Nm57SUCy.js +0 -30
- package/dist/capital-BIrjrei_.js +0 -23
- package/dist/cash-stack-q8jqAQnj.js +0 -33
- package/dist/certificate-BA32wlVD.js +0 -23
- package/dist/checkmark-Sx0Eq9g1.js +0 -20
- package/dist/checkmark-circle-D25SXuEg.js +0 -28
- package/dist/checkmark-circle-fill-DWyHVNKM.js +0 -30
- package/dist/checkmark-small-BYKwXmot.js +0 -20
- package/dist/chevron-down-BY9NvSX2.js +0 -20
- package/dist/chevron-left-1TeIr8LI.js +0 -20
- package/dist/chevron-right-D3ORtAcK.js +0 -20
- package/dist/chevron-up-DSUlaHcZ.js +0 -20
- package/dist/circle-BLLy-RH7.js +0 -30
- package/dist/circle-small-filled-C_6B84Iy.js +0 -20
- package/dist/clock-lHMbm7lZ.js +0 -28
- package/dist/coins-DM30OZR2.js +0 -30
- package/dist/contract-CHdRrIxe.js +0 -20
- package/dist/cross-circle-fill-CmXERg4H.js +0 -30
- package/dist/cross-circle-fill-small-CMz7hV-a.js +0 -20
- package/dist/cross-eL7Kqv7I.js +0 -20
- package/dist/cs-CZ-BkegBLH0.js +0 -7
- package/dist/cs-CZ-DNo3i13i.js +0 -59
- package/dist/cs-CZ-DoyjAWTB.js +0 -7
- package/dist/cs-CZ-DzvqR4Si.js +0 -7
- package/dist/da-DK-BpC27U0O.js +0 -7
- package/dist/da-DK-C-6cZEqg.js +0 -59
- package/dist/da-DK-CLzpAJZX.js +0 -7
- package/dist/da-DK-d-G4WSG9.js +0 -7
- package/dist/de-DE-4UdLDq_d.js +0 -59
- package/dist/de-DE-BX0mu_5B.js +0 -7
- package/dist/de-DE-jwrvfE6B.js +0 -7
- package/dist/de-DE-zVrwBFVP.js +0 -7
- package/dist/document-1-CAkgmlsx.js +0 -20
- package/dist/document-person-BMqoEMgx.js +0 -28
- package/dist/download-CUCb0PT7.js +0 -23
- package/dist/dropinUtils-FIEFyS0F.js +0 -275
- package/dist/edit-1-DqX_7cbs.js +0 -20
- package/dist/el-GR-B08o_Wr7.js +0 -59
- package/dist/el-GR-BV0tj_MA.js +0 -7
- package/dist/el-GR-C5lpMpmF.js +0 -7
- package/dist/el-GR-CDp-bn0j.js +0 -7
- package/dist/en-US-D8jS6G6S.js +0 -10
- package/dist/es-ES-B9kTevXB.js +0 -59
- package/dist/es-ES-BJfw2diu.js +0 -7
- package/dist/es-ES-B_kBpFxZ.js +0 -7
- package/dist/es-ES-CHyhM1uh.js +0 -7
- package/dist/et-EE-BcWPn7Cl.js +0 -7
- package/dist/et-EE-BnDOa_4e.js +0 -7
- package/dist/et-EE-GTXnG-3j.js +0 -59
- package/dist/et-EE-SeklRCmh.js +0 -7
- package/dist/external-link-V6JPH8K0.js +0 -20
- package/dist/fi-FI-80q1y1Bb.js +0 -59
- package/dist/fi-FI-BcXm_vtP.js +0 -7
- package/dist/fi-FI-Dz25oorf.js +0 -7
- package/dist/fi-FI-n4x7ZOmh.js +0 -7
- package/dist/fr-FR-ANv8VCCV.js +0 -7
- package/dist/fr-FR-CDTGvZzl.js +0 -7
- package/dist/fr-FR-D2Ep3xgM.js +0 -59
- package/dist/fr-FR-bqkpOtF1.js +0 -7
- package/dist/getProblemsForEntity-Df8xJUr2.js +0 -16
- package/dist/gift-C3MzdRIj.js +0 -20
- package/dist/globalStore-BsvLFLDr.js +0 -418
- package/dist/graph-BJ7yemhR.js +0 -32
- package/dist/graph-up-CWzty_jt.js +0 -38
- package/dist/headquarter-COstZFO7.js +0 -42
- package/dist/hotel-C1vO2ZiV.js +0 -33
- package/dist/hr-HR-C4Bv0YpX.js +0 -59
- package/dist/hr-HR-CBySzkSl.js +0 -7
- package/dist/hr-HR-CLRdCbY_.js +0 -7
- package/dist/hr-HR-CjbJFQJu.js +0 -7
- package/dist/http-btI4x32X.js +0 -148
- package/dist/hu-HU-3a4f6Po4.js +0 -59
- package/dist/hu-HU-Bg2UoMm1.js +0 -7
- package/dist/hu-HU-CsOzXRwg.js +0 -7
- package/dist/hu-HU-DHZf-Z1b.js +0 -7
- package/dist/image-Ctf24Eqr.js +0 -23
- package/dist/info-CKFBABlx.js +0 -32
- package/dist/info-filled-BtKXWmDk.js +0 -32
- package/dist/invalidateRootLegalEntity-BbVdQNIY.js +0 -45
- package/dist/it-IT-4udyC9ua.js +0 -7
- package/dist/it-IT-C2wbwYWQ.js +0 -59
- package/dist/it-IT-D8RXfncB.js +0 -7
- package/dist/it-IT-DpTVTcDk.js +0 -7
- package/dist/ja-JP-DRYUrb3a.js +0 -7
- package/dist/ja-JP-DbHm_J96.js +0 -7
- package/dist/ja-JP-DxUBevNe.js +0 -59
- package/dist/ja-JP-WirIWnQi.js +0 -7
- package/dist/localizeDateString-AhjDnkHD.js +0 -35
- package/dist/location-CpaR6p3k.js +0 -23
- package/dist/lt-LT-4dQRWgMS.js +0 -7
- package/dist/lt-LT-BE20J_Fa.js +0 -59
- package/dist/lt-LT-RYz2_iMh.js +0 -7
- package/dist/lt-LT-lr-xOt-0.js +0 -7
- package/dist/lv-LV-7toRaVhs.js +0 -7
- package/dist/lv-LV-BXLZTnKa.js +0 -59
- package/dist/lv-LV-DykVV_JJ.js +0 -7
- package/dist/lv-LV-qidnvuKE.js +0 -7
- package/dist/mail-uoxYIc94.js +0 -20
- package/dist/mapExistingFile-DdeA1Ya3.js +0 -138
- package/dist/mapJpAddressSchemaToAddressLocalizations-DiB3xFfa.js +0 -61
- package/dist/mapLegalEntityToIndividualSchema-CK2d-XB-.js +0 -206
- package/dist/mapTransferInstrumentToPayoutAccount-5vTCCl4n.js +0 -44
- package/dist/minus-circle-filled-B_E6PncD.js +0 -30
- package/dist/nl-NL-BsMqXzW2.js +0 -7
- package/dist/nl-NL-BxRQSueu.js +0 -7
- package/dist/nl-NL-Ch1_Ho4H2.js +0 -7
- package/dist/nl-NL-DZOwYmdT.js +0 -59
- package/dist/no-NO-Bj-bFlwW.js +0 -59
- package/dist/no-NO-CMSuTQFP.js +0 -7
- package/dist/no-NO-CpQs6Kuj.js +0 -7
- package/dist/no-NO-CzUEYJ6T2.js +0 -7
- package/dist/omitObscuredFieldsIfUnchanged-B7VNFVgY.js +0 -20
- package/dist/options-horizontal-CDJtmlVY.js +0 -30
- package/dist/partner-gFUctV1k.js +0 -30
- package/dist/pay-by-link-plane-q4Bh-mWo.js +0 -33
- package/dist/payout-CpwcL7W1.js +0 -38
- package/dist/person-B3rmhreD.js +0 -23
- package/dist/phonePrefixes-j_kb1wJm.js +0 -252
- package/dist/pl-PL-BvYP_Mjz2.js +0 -7
- package/dist/pl-PL-CKZbiqpL.js +0 -7
- package/dist/pl-PL-D6XdYdXs.js +0 -7
- package/dist/pl-PL-v95qJZ7W.js +0 -59
- package/dist/plus-D1pu1FCh.js +0 -20
- package/dist/plus-circle-filled-BAKemMoO.js +0 -30
- package/dist/process-field-configurations-44gfzIGi.js +0 -279
- package/dist/processCapabilitites-BHzfFtSM.js +0 -869
- package/dist/pt-BR-B7FJvvCY2.js +0 -7
- package/dist/pt-BR-Dk284q8W.js +0 -7
- package/dist/pt-BR-DyYEeGVr.js +0 -7
- package/dist/pt-BR-w4XP2Zc2.js +0 -59
- package/dist/pt-PT-B0PlOQYf2.js +0 -7
- package/dist/pt-PT-DYQXla7J.js +0 -7
- package/dist/pt-PT-DYXnzP0x.js +0 -59
- package/dist/pt-PT-DfOrysaZ.js +0 -7
- package/dist/recurring-BqOZk0GH.js +0 -23
- package/dist/resolveEnvironment-BYa8h9R6.js +0 -1176
- package/dist/revenue-accelerate-CSszZfVF.js +0 -30
- package/dist/ro-RO-BXjIQG3P.js +0 -7
- package/dist/ro-RO-BZMTQGJJ2.js +0 -7
- package/dist/ro-RO-DUiDGCZU.js +0 -59
- package/dist/ro-RO-Dy9karNI.js +0 -7
- package/dist/save-BwoYyyYQ.js +0 -20
- package/dist/search-lRnoylK2.js +0 -30
- package/dist/show-Dpmp87ye.js +0 -23
- package/dist/singpass-logo--50WxD_p.js +0 -22
- package/dist/singpass-verification-instant-BHID0qRO.js +0 -175
- package/dist/singpass-verification-manual-DpefFA6C.js +0 -141
- package/dist/sk-SK-BPDMxREF2.js +0 -7
- package/dist/sk-SK-CJW-1wtq.js +0 -7
- package/dist/sk-SK-D2f2S35P.js +0 -7
- package/dist/sk-SK-DESgizdP.js +0 -59
- package/dist/sl-SI-BHztDEDm.js +0 -59
- package/dist/sl-SI-D8NMKaco.js +0 -7
- package/dist/sl-SI-DHQWrn6C2.js +0 -7
- package/dist/sl-SI-DHxcpzya.js +0 -7
- package/dist/solution-payments-DfH5DH9o.js +0 -20
- package/dist/store-mAgJeN44.js +0 -20
- package/dist/styles-9jxW7TiP.js +0 -5988
- package/dist/sv-SE-B_VHF1Ec.js +0 -7
- package/dist/sv-SE-Bre2IWV2.js +0 -7
- package/dist/sv-SE-DZq6vMfw2.js +0 -7
- package/dist/sv-SE-znK8JjXi.js +0 -59
- package/dist/terminal-1-BlqlENmQ.js +0 -30
- package/dist/translation-G4HP2nQW.js +0 -854
- package/dist/types/api/companyDataSet/constants.d.ts +0 -4
- package/dist/types/components/Business/utils/useCompanySearchFeature.d.ts +0 -5
- package/dist/types/components/ui/atoms/ProgressBar/ProgressBar.types.d.ts +0 -5
- package/dist/types/components/ui/atoms/RadioCard/RadioCard.d.ts +0 -4
- package/dist/types/components/ui/atoms/RadioGroupCard/RadioGroupCard.d.ts +0 -24
- package/dist/types/components/ui/atoms/RadioGroupCard/RadioGroupCard.types.d.ts +0 -31
- package/dist/types-BqFOt7-l.js +0 -58
- package/dist/types-CXceqQIv.js +0 -68
- package/dist/upload-CIujAxWY.js +0 -23
- package/dist/useAccountHolder-LttF1BJG.js +0 -102
- package/dist/useAllowedCountries-B2tXNxdL.js +0 -74
- package/dist/useAssociatedLegalEntity-Dav_4ehd.js +0 -35
- package/dist/useBusinessDetailsData-DmromzC6.js +0 -4395
- package/dist/useBusinessLines-DGr43nU6.js +0 -27
- package/dist/useCapabilities-C3Re0QHQ.js +0 -12
- package/dist/useCreateLegalEntity-u6NuumMd.js +0 -24
- package/dist/useDataMissingRemediations-Cv_4vV2R.js +0 -39
- package/dist/useDataset-DA7SoxiX.js +0 -96
- package/dist/useDeleteTransferInstrument-Me9ITlCM.js +0 -31
- package/dist/useForm-CTiDrzeg.js +0 -502
- package/dist/useFormContext-6LTkbLR1.js +0 -178
- package/dist/useGlobalData-KEb46I95.js +0 -164
- package/dist/useLegalEntity-Cj6C6bAI.js +0 -48
- package/dist/useMultiForm-CiK9l6YR.js +0 -754
- package/dist/useNavigate-B4pHnNyj.js +0 -268
- package/dist/useOnboardingStatus-BuYODvAM.js +0 -23
- package/dist/usePciQuestionnaireList-Bx5N4Ucf.js +0 -26
- package/dist/useSalesChannels-BV-gSBhb.js +0 -47
- package/dist/useScenarios-DVTHREqP.js +0 -55
- package/dist/useTaskStatus-BjqC1s3K.js +0 -51
- package/dist/useTermsOfServiceStatus-BLMY5p8c.js +0 -39
- package/dist/useTrustMembers-DbO0tmcu.js +0 -152
- package/dist/useUnincorporatedPartnershipMembers-Dzj3BDFI.js +0 -70
- package/dist/useUpdateBusinessLines-BfYwukg9.js +0 -296
- package/dist/useUpdateLegalEntity-oigX0fKz.js +0 -29
- package/dist/utils-BAuFBG3J.js +0 -88
- package/dist/utils-BU2d-Zzu.js +0 -805
- package/dist/utils-DXTGGW-J.js +0 -188
- package/dist/validate-9_4V5MhN.js +0 -387
- package/dist/validate-C1II14sz.js +0 -411
- package/dist/validationError-DhMlWpYp.js +0 -68
- package/dist/warning-circle-fill-B8syKAww.js +0 -30
- package/dist/warning-diamond-filled-D81TURTB.js +0 -30
- package/dist/webinar-CA8zN8_B.js +0 -33
- /package/dist/{AD-D_B1KZm9.js → AD-DB5nr9tP.js} +0 -0
- /package/dist/{AE-iKPgRx_9.js → AE-CJ7TIjDy.js} +0 -0
- /package/dist/{AI-CYjWGBKT.js → AI-BQpw7rma.js} +0 -0
- /package/dist/{AL-D62C5Lpk.js → AL-PjHuPrbQ.js} +0 -0
- /package/dist/{AR-BOgSvtgP.js → AR-CU2ICtA_.js} +0 -0
- /package/dist/{AS-Cg8Vujpc.js → AS-DfgHV8yp.js} +0 -0
- /package/dist/{AT-DMpxSE4g.js → AT-4efjzVQd.js} +0 -0
- /package/dist/{AT-CCRMRifN.js → AT-B4JuH6F8.js} +0 -0
- /package/dist/{AT-D3H5WGY3.js → AT-CE6zBm8a.js} +0 -0
- /package/dist/{AT-Doe66WxQ.js → AT-D1WwSgVU.js} +0 -0
- /package/dist/{AU-CiWB9qh-.js → AU-BGwU-xk-.js} +0 -0
- /package/dist/{AU-BcSu8pI2.js → AU-C2TwlbjI.js} +0 -0
- /package/dist/{AU-B77DgHQb.js → AU-CVPrMt74.js} +0 -0
- /package/dist/{AU-DAfj7Z58.js → AU-DOeJssMp.js} +0 -0
- /package/dist/{AX-CG8iviap.js → AX-DVfSmWhN.js} +0 -0
- /package/dist/{AZ-DIB7CvVN.js → AZ-DIcvAsVy.js} +0 -0
- /package/dist/{BA-C4vH4-x6.js → BA-DFu8JCnF.js} +0 -0
- /package/dist/{BE-Sbwjfh5h.js → BE-B3tlw4UG.js} +0 -0
- /package/dist/{BE-DJM3cj-R.js → BE-ByqDiJVH.js} +0 -0
- /package/dist/{BE-Dtk1wvHk.js → BE-Dlk7sUG1.js} +0 -0
- /package/dist/{BE-BvtnaSSH.js → BE-pkvQ7-pO.js} +0 -0
- /package/dist/{BG-DvFE-fU3.js → BG-zaw09oBT.js} +0 -0
- /package/dist/{BH-Bm_tXC8b.js → BH-ByuC-_Cy.js} +0 -0
- /package/dist/{BM-BPYI-Bk0.js → BM-FrOgBeTW.js} +0 -0
- /package/dist/{BR-CRGYlRY-.js → BR-BEePczcO.js} +0 -0
- /package/dist/{BR-CwJ6YXMX.js → BR-C5-D6J2w.js} +0 -0
- /package/dist/{BR-DjC4dRH8.js → BR-Ct9nSoqL.js} +0 -0
- /package/dist/{BR-DdZm-FhP.js → BR-Dj4uKD4L.js} +0 -0
- /package/dist/{BS-DEbfM7Fg.js → BS-BLCF5IzE.js} +0 -0
- /package/dist/{BV-LqWIWEV5.js → BV-Ball_EvD.js} +0 -0
- /package/dist/{BY-Dw4W1isS.js → BY-CYE3ET2j.js} +0 -0
- /package/dist/{CA-Cwit937J.js → CA-CFR8sryt.js} +0 -0
- /package/dist/{CA-D0ezsmfN.js → CA-CPN5GIEi.js} +0 -0
- /package/dist/{CA-CQtjbUjU.js → CA-CtmGXKXQ.js} +0 -0
- /package/dist/{CA-PLMbc5uq.js → CA-DjE9yebq.js} +0 -0
- /package/dist/{CH-Baaufs8O.js → CH-B5P_iJIO.js} +0 -0
- /package/dist/{CH-D9S1IpBs.js → CH-CYY8z2Ac.js} +0 -0
- /package/dist/{CH-DnoWGcl9.js → CH-DXcxyFgB.js} +0 -0
- /package/dist/{CH-DPLfVgsE.js → CH-HLgQqF6w.js} +0 -0
- /package/dist/{CN-Bx6shvCX.js → CN-CP7sf7YS.js} +0 -0
- /package/dist/{CR-CgM7Uut3.js → CR-QbBCoLqW.js} +0 -0
- /package/dist/{CY-CxBi1s-O.js → CY-C80hVF0V.js} +0 -0
- /package/dist/{CZ-DS5YfhO9.js → CZ-B4eytKxE.js} +0 -0
- /package/dist/{CZ-CbWqKLbR.js → CZ-BGE7k-cb.js} +0 -0
- /package/dist/{CZ-B3oiWDug.js → CZ-Dja4qwcT.js} +0 -0
- /package/dist/{CZ-B8nb2PxI.js → CZ-YWMbXtXr.js} +0 -0
- /package/dist/{ContractViewer-zPVipxCC.js → ContractViewer-Bm8_7yzG.js} +0 -0
- /package/dist/{DE-SZPlEjww.js → DE-DMd-G1qV.js} +0 -0
- /package/dist/{DE-NkKgh0-y.js → DE-w2hYM5oM.js} +0 -0
- /package/dist/{DK-CB_26cPx.js → DK-BCGM05gZ.js} +0 -0
- /package/dist/{DK-CO2QUqp2.js → DK-DSnMDq6I.js} +0 -0
- /package/dist/{DK-CikJtsBF.js → DK-Ljpod950.js} +0 -0
- /package/dist/{DK-DAYxZyrn.js → DK-eIIuE_Ae.js} +0 -0
- /package/dist/{DO-DWjKCR-x.js → DO-DtMkGZOf.js} +0 -0
- /package/dist/{DetailViewLayout-Cz3FVZ5a.js → DetailViewLayout-Dd5YzmcW.js} +0 -0
- /package/dist/{Divider-CrK4vlsJ.js → Divider-DMwncntz.js} +0 -0
- /package/dist/{EC-CCGvbVWA.js → EC-BXvXPzDj.js} +0 -0
- /package/dist/{EE-DebeWn2E.js → EE-CVByoRMi.js} +0 -0
- /package/dist/{ES-DXLZWZXA.js → ES-CUnZIEd0.js} +0 -0
- /package/dist/{ES-m71Tl7fE.js → ES-DeyB_elh.js} +0 -0
- /package/dist/{ES-D2CBh7YF.js → ES-Y_7i9YXf.js} +0 -0
- /package/dist/{ES-Bf5fpQJJ.js → ES-iJqNvrUi.js} +0 -0
- /package/dist/{FI-L14G4S91.js → FI-BWqqCJsb.js} +0 -0
- /package/dist/{FI-_CR_F2Ml.js → FI-CYEGXSok.js} +0 -0
- /package/dist/{FI-Clx-zbKe.js → FI-E_ZyfJ7t.js} +0 -0
- /package/dist/{FI-Cbz5-l9v.js → FI-MY2FM2Ba.js} +0 -0
- /package/dist/{FJ-BKLmDeVh.js → FJ-dwvq-g41.js} +0 -0
- /package/dist/{FO-D7VnFgWu.js → FO-CWQ0W1H6.js} +0 -0
- /package/dist/{FR-wqLTqKJj.js → FR-D-sCwq5T.js} +0 -0
- /package/dist/{FR-D2lGCnJC.js → FR-DjzV5rWM.js} +0 -0
- /package/dist/{FR-DwVflgGw.js → FR-O_hbmwJW.js} +0 -0
- /package/dist/{FR-D2zQy3jq.js → FR-uHAf38N_.js} +0 -0
- /package/dist/{GB-CIqAOZg5.js → GB-B_yGxbz9.js} +0 -0
- /package/dist/{GB-CVb-Rw8a.js → GB-BogW6TU0.js} +0 -0
- /package/dist/{GB-DD4csU-b.js → GB-D9JlI1Pd.js} +0 -0
- /package/dist/{GB-BX3mPDDS.js → GB-nAqfhFIu.js} +0 -0
- /package/dist/{GE-D02s-9eo.js → GE-DI1v7mo0.js} +0 -0
- /package/dist/{GF-BcHxbxvv.js → GF-B610wYeJ.js} +0 -0
- /package/dist/{GG-C3cx2hzZ.js → GG-CilWz47C.js} +0 -0
- /package/dist/{GI-D_DZhrwe.js → GI-DFtvvGTY.js} +0 -0
- /package/dist/{GL-BUOXwUJ0.js → GL-D36pp53C.js} +0 -0
- /package/dist/{GP-CmZCjGab.js → GP-yyCziKB4.js} +0 -0
- /package/dist/{GR-BxjWJl4T.js → GR-BxzVHYz8.js} +0 -0
- /package/dist/{GT-C_l7WI2f.js → GT-QLXEWmtP.js} +0 -0
- /package/dist/{GU-7zSp4NP8.js → GU-jrvpoyb9.js} +0 -0
- /package/dist/{HK-dz43_PmR.js → HK-7piAoW_I.js} +0 -0
- /package/dist/{HK-DXmjOLnc.js → HK-Bds0tONE.js} +0 -0
- /package/dist/{HK-Dc3v2ZB0.js → HK-_r_OF-9C.js} +0 -0
- /package/dist/{HK-D5lgUGIW.js → HK-sOnb583U.js} +0 -0
- /package/dist/{HR-D3ZZV7I7.js → HR-BCfmzAgq.js} +0 -0
- /package/dist/{HR-BvWaw8qz.js → HR-BDdXb-_o.js} +0 -0
- /package/dist/{HR-SfBt4kaq.js → HR-BK-Ftu3Y.js} +0 -0
- /package/dist/{HR-ChipU8Kr.js → HR-CSBA8yzB.js} +0 -0
- /package/dist/{HU-CzI3Elvd.js → HU-CXMDpfpO.js} +0 -0
- /package/dist/{HU-9NTdjUUV.js → HU-CzYTCtjV.js} +0 -0
- /package/dist/{HU-1UX4rgmz.js → HU-DNz6LyOy.js} +0 -0
- /package/dist/{HU-wpmPNNka.js → HU-LjAmjKXg.js} +0 -0
- /package/dist/{ID-O2T9tbLO.js → ID-Dl7g2Ppa.js} +0 -0
- /package/dist/{IE-OqeqXlhV.js → IE-BLIooyFf.js} +0 -0
- /package/dist/{IE-Cw9l0506.js → IE-CmK-C0yz.js} +0 -0
- /package/dist/{IE-CRaBXxhc.js → IE-CzscvH5E.js} +0 -0
- /package/dist/{IE-DWpH_5Cq.js → IE-DQX622ez.js} +0 -0
- /package/dist/{IL-1hVGBOhQ.js → IL-Cfpmk1v7.js} +0 -0
- /package/dist/{IM-B1t_Q0mE.js → IM-C2sXmVTc.js} +0 -0
- /package/dist/{IN-BAGr7C88.js → IN-DilwgNAy.js} +0 -0
- /package/dist/{IS-C97KS-Cn.js → IS-CFtJpGcN.js} +0 -0
- /package/dist/{IT-b5Hsdl6Z.js → IT-BlfPdNZf.js} +0 -0
- /package/dist/{IT-GLNikVmY.js → IT-DKj3BSzv.js} +0 -0
- /package/dist/{IT-Bqf_SGsX.js → IT-ZNOnAgQx.js} +0 -0
- /package/dist/{IT-PBgScy3E.js → IT-fTjXyL20.js} +0 -0
- /package/dist/{InputGroup-2FJnD0LO.js → InputGroup-CVYzCygf.js} +0 -0
- /package/dist/{JE-D9zaTrAY.js → JE-X57q_Fdk.js} +0 -0
- /package/dist/{JM-6zLyaeVi.js → JM-Bx2hppi2.js} +0 -0
- /package/dist/{JO-BdNdFHnL.js → JO-DhBlXP2F.js} +0 -0
- /package/dist/{JP-znYbtZMc.js → JP-UnxSZuO9.js} +0 -0
- /package/dist/{KR-xcUi-9h2.js → KR-D3U_AtZT.js} +0 -0
- /package/dist/{KW-3DCYRJ53.js → KW-m7bxO2Xa.js} +0 -0
- /package/dist/{KY-CCApxZ6r.js → KY-CpUXfGcI.js} +0 -0
- /package/dist/{KZ-Cqr8yPqY.js → KZ-C8RUkmV6.js} +0 -0
- /package/dist/{LB-R74h2pUy.js → LB-BRrDvnrf.js} +0 -0
- /package/dist/{LI-D9H9hvDG.js → LI-BN5PGW_H.js} +0 -0
- /package/dist/{LT-COGUxKB6.js → LT-BD32wyXh.js} +0 -0
- /package/dist/{LT-DkKeNYqC.js → LT-Cm6wbvw_.js} +0 -0
- /package/dist/{LT-CDQI5_NM.js → LT-CmyEYM7z.js} +0 -0
- /package/dist/{LT-Dq5I_vLb.js → LT-CnQZpkC8.js} +0 -0
- /package/dist/{LU-B7-x8Llo.js → LU-Bi4L1b9z.js} +0 -0
- /package/dist/{LV-DAzwuNGM.js → LV-ukOdBuwo.js} +0 -0
- /package/dist/{MC-DYg2Ld6N.js → MC-EQ1jmHjl.js} +0 -0
- /package/dist/{MD-BSGq8uEc.js → MD-DxAeNcG8.js} +0 -0
- /package/dist/{ME-CMYolexb.js → ME-CvndvtiG.js} +0 -0
- /package/dist/{MK-KXTP17uw.js → MK-sohc7De9.js} +0 -0
- /package/dist/{MP-CJH5I9LN.js → MP-CCltX7ag.js} +0 -0
- /package/dist/{MQ-B-Nxd16T.js → MQ-DonPA9tN.js} +0 -0
- /package/dist/{MR-9gjgEzl5.js → MR-Bh6ZCghL.js} +0 -0
- /package/dist/{MT-DCvbkYrX.js → MT-LIvGhW6j.js} +0 -0
- /package/dist/{MU-CVDBPgAP.js → MU-kys50fwN.js} +0 -0
- /package/dist/{MX-B8dPVdJo.js → MX-UvvHVHCC.js} +0 -0
- /package/dist/{MY-DcfNGXIG.js → MY-B6EJ4miK.js} +0 -0
- /package/dist/{NC-DQQUjrGe.js → NC-D78ykfoF.js} +0 -0
- /package/dist/{NL-Bu5_sjR1.js → NL-B4viFWts.js} +0 -0
- /package/dist/{NL-McMEOXeg.js → NL-B5Jdha1b.js} +0 -0
- /package/dist/{NL-DQR9Rrua.js → NL-C1hyj3uD.js} +0 -0
- /package/dist/{NL-CMB4A6y3.js → NL-Cq2QKj_R.js} +0 -0
- /package/dist/{NO-Pppylsvl.js → NO-Cx28Ws5i.js} +0 -0
- /package/dist/{NO-CKPHTYW8.js → NO-DWhh9Air.js} +0 -0
- /package/dist/{NO-C1lR0Cpn.js → NO-H-zekTG-.js} +0 -0
- /package/dist/{NO-DAvhrELf.js → NO-Pyh5_V7y.js} +0 -0
- /package/dist/{NZ-BLYvv2PK.js → NZ-3UV4o2z9.js} +0 -0
- /package/dist/{NZ-BuvPkC2r.js → NZ-7A0F7nHF.js} +0 -0
- /package/dist/{PE-J7zWKbQ3.js → PE-DHm86V9n.js} +0 -0
- /package/dist/{PF-CQvMXWIc.js → PF-CPMgKxu3.js} +0 -0
- /package/dist/{PH-CsAkleLZ.js → PH-B_NakBgs.js} +0 -0
- /package/dist/{PK-pnVCB70L.js → PK-CcdXkTsY.js} +0 -0
- /package/dist/{PL-D6iB2qQS.js → PL-B-r78jqe.js} +0 -0
- /package/dist/{PL-BIkD7ly2.js → PL-BXdTON9P.js} +0 -0
- /package/dist/{PL-DdsUKlRx.js → PL-D9Kpjom5.js} +0 -0
- /package/dist/{PL-Cfpb3P4Y.js → PL-DqbLsWwr.js} +0 -0
- /package/dist/{PM-DXhRSYlY.js → PM-C-GliGAO.js} +0 -0
- /package/dist/{PR-BJTR9010.js → PR-JCXbpE0b.js} +0 -0
- /package/dist/{PS-Bb7ensjm.js → PS-D62VdZaN.js} +0 -0
- /package/dist/{PT-iBbOYasm.js → PT-CTHCZX6D.js} +0 -0
- /package/dist/{PT-D_mzbSbR.js → PT-D9big47n.js} +0 -0
- /package/dist/{PT-Bqv36Ez0.js → PT-DD2rFBMf.js} +0 -0
- /package/dist/{PT-DMau-7AE.js → PT-JGHvjgoQ.js} +0 -0
- /package/dist/{QA-Cya8smAe.js → QA-CeWT26tF.js} +0 -0
- /package/dist/{RE-DV-Olrl9.js → RE-DSGfn_pm.js} +0 -0
- /package/dist/{RO-D29rc5pZ.js → RO-2Z925JkN.js} +0 -0
- /package/dist/{RO-7ngAIZ4E.js → RO-BX6cRBo0.js} +0 -0
- /package/dist/{RO-JvqtRH2p.js → RO-ClR_J1im.js} +0 -0
- /package/dist/{RO-Nqdvv0rk.js → RO-iqYS6MK1.js} +0 -0
- /package/dist/{RS-Bdspw_Te.js → RS-B2iIit5I.js} +0 -0
- /package/dist/{RU-2VREcND8.js → RU-dSs63sUC.js} +0 -0
- /package/dist/{SA-ONrtr4dq.js → SA-D2c21Lvo.js} +0 -0
- /package/dist/{SE-Bp9QG9OZ.js → SE-B9Ci8NDi.js} +0 -0
- /package/dist/{SE-CjCMy1R-.js → SE-KYCakrsZ.js} +0 -0
- /package/dist/{SE-CfwjGhj2.js → SE-P9xbQO4o.js} +0 -0
- /package/dist/{SE-CspSL4-O.js → SE-gc_M1IUS.js} +0 -0
- /package/dist/{SG-BSxtCx98.js → SG-3-TYykP-.js} +0 -0
- /package/dist/{SG-W9jzYBBR.js → SG-BdyiGgTo.js} +0 -0
- /package/dist/{SG-Cte5jgnm.js → SG-BgkMHf8k.js} +0 -0
- /package/dist/{SG-Bx4a8mSG.js → SG-DqvdUiWw.js} +0 -0
- /package/dist/{SI-ClAvsgGs.js → SI-B6tdfn5Z.js} +0 -0
- /package/dist/{SI-DuER-ftQ.js → SI-BLo3mGXB.js} +0 -0
- /package/dist/{SI-D_WmP1xi.js → SI-CZicy3TO.js} +0 -0
- /package/dist/{SI-CjPVM480.js → SI-HuUerVbj.js} +0 -0
- /package/dist/{SJ-DRle19p-.js → SJ-yb3-jDZT.js} +0 -0
- /package/dist/{SK-KhQnqXtK.js → SK-CWOi0nV4.js} +0 -0
- /package/dist/{SK-BXY1VMKv.js → SK-Cde9pJdY.js} +0 -0
- /package/dist/{SK-CFssz9bO.js → SK-D8pAx-Kv.js} +0 -0
- /package/dist/{SK-CP4lBBly.js → SK-MOEK5YmF.js} +0 -0
- /package/dist/{SM-v_4Yc2mM.js → SM-BBKV-_UA.js} +0 -0
- /package/dist/{TF-BhrG4wMf.js → TF-B0dgTCfm.js} +0 -0
- /package/dist/{TH-Dnjjl0vl.js → TH-CmVSlUuX.js} +0 -0
- /package/dist/{TL-DV3_HDbD.js → TL-nRB_lM2i.js} +0 -0
- /package/dist/{TN-CvaVweYw.js → TN-CGwMdeBx.js} +0 -0
- /package/dist/{TR-BAvGXlpl.js → TR-B-J7KAnx.js} +0 -0
- /package/dist/{TT-DRIx1q2s.js → TT-Cd6NBPP1.js} +0 -0
- /package/dist/{TW-DRf29Guu.js → TW-BQVlyIhq.js} +0 -0
- /package/dist/{Tag-BUoDHC4C.js → Tag-BhU73i1R.js} +0 -0
- /package/dist/{UA-Ba88l6Xd.js → UA-BAfANYki.js} +0 -0
- /package/dist/{US-QONZX-gV.js → US-CpwACQXZ.js} +0 -0
- /package/dist/{US-Df5L2r8F.js → US-CqkPo4au.js} +0 -0
- /package/dist/{US-m2RymYgz.js → US-DqDIO6Fs.js} +0 -0
- /package/dist/{US-CKehaXnS.js → US-DqKhjxWO.js} +0 -0
- /package/dist/{UY-C7OqeI1W.js → UY-CqTNFGkq.js} +0 -0
- /package/dist/{VA-kEhphxOY.js → VA-BOTo9AUe.js} +0 -0
- /package/dist/{VG-9RtXQCNA.js → VG-DGXnBmqr.js} +0 -0
- /package/dist/{VI-Dtn9fHsy.js → VI-D8j8IzJs.js} +0 -0
- /package/dist/{VN-CQ52lXXR.js → VN-wC6sHs21.js} +0 -0
- /package/dist/{WF-D5AVATSv.js → WF-Cv-zZiEX.js} +0 -0
- /package/dist/{YT-B9qrlCqK.js → YT-BJrZCXu7.js} +0 -0
- /package/dist/{ZA-CZ_c0XHc.js → ZA-BU2vcyD6.js} +0 -0
- /package/dist/{bg-BG-DqWeAqky.js → bg-BG-B4UENfME.js} +0 -0
- /package/dist/{bg-BG-Ckeu3dBt.js → bg-BG-BTLje0t8.js} +0 -0
- /package/dist/{bg-BG-DnMyf-n3.js → bg-BG-BTOD22Qv.js} +0 -0
- /package/dist/{bg-BG-ymvx5WWi.js → bg-BG-Bayyn2Vj.js} +0 -0
- /package/dist/{bg-BG-C0wzRs18.js → bg-BG-BlOJQ7iZ.js} +0 -0
- /package/dist/{bg-BG-CN_UREwh.js → bg-BG-BrldKcYl.js} +0 -0
- /package/dist/{bg-BG-D2t5UzpH.js → bg-BG-CMHh_f-9.js} +0 -0
- /package/dist/{bg-BG-B67nlf6n.js → bg-BG-DaiKPUAP.js} +0 -0
- /package/dist/{bg-BG-BxkwIoTQ.js → bg-BG-Doq5SqNZ.js} +0 -0
- /package/dist/{bg-BG-DQPBlfB6.js → bg-BG-DxgO5P4C.js} +0 -0
- /package/dist/{business-lines-BYTyy_mD.js → business-lines-D2Cf_2Uz.js} +0 -0
- /package/dist/{cs-CZ-BJQndp5g.js → cs-CZ-BKxJwZfp.js} +0 -0
- /package/dist/{cs-CZ-CgD-Dni9.js → cs-CZ-BewEGSI7.js} +0 -0
- /package/dist/{cs-CZ-DerpXyW7.js → cs-CZ-CKjEL0Uh.js} +0 -0
- /package/dist/{cs-CZ-Cf3RE2Kz.js → cs-CZ-CNCOzk0z.js} +0 -0
- /package/dist/{cs-CZ-EALbGC0P.js → cs-CZ-ClrALb5y.js} +0 -0
- /package/dist/{cs-CZ-y--aL5tG.js → cs-CZ-CtEcakjz.js} +0 -0
- /package/dist/{cs-CZ-D0tlzysb.js → cs-CZ-CyvOwxhe.js} +0 -0
- /package/dist/{cs-CZ-BSCmFoe-.js → cs-CZ-DEgPgybF.js} +0 -0
- /package/dist/{cs-CZ-nVt_3Wsc.js → cs-CZ-Dit1sTZS.js} +0 -0
- /package/dist/{cs-CZ-B0PS89aw.js → cs-CZ-DlGWvcHs.js} +0 -0
- /package/dist/{currency-DNgyvN7z.js → currency-CfIDpZh9.js} +0 -0
- /package/dist/{da-DK-DSrFDOG3.js → da-DK-1WDwSuvK.js} +0 -0
- /package/dist/{da-DK-DcplyxCd.js → da-DK-B4yaF8i0.js} +0 -0
- /package/dist/{da-DK-Cu2Bi6Q7.js → da-DK-CSuIOYvv.js} +0 -0
- /package/dist/{da-DK-DbpZoBrp.js → da-DK-CUdNKP_y.js} +0 -0
- /package/dist/{da-DK-gVDOt4Mx.js → da-DK-C_3U-U_o.js} +0 -0
- /package/dist/{da-DK-Bdp8gkhn.js → da-DK-CfGOWrfh.js} +0 -0
- /package/dist/{da-DK-B_qoG-tX.js → da-DK-Cn-jl2Cb.js} +0 -0
- /package/dist/{da-DK-niSqcowC.js → da-DK-Cp1cdZTG.js} +0 -0
- /package/dist/{da-DK-DgFOdais.js → da-DK-Dq9DBbxy.js} +0 -0
- /package/dist/{da-DK-DFjTxgfg.js → da-DK-FIY6i3zy.js} +0 -0
- /package/dist/{de-DE-CJAVduiD.js → de-DE-8TTs3M7a.js} +0 -0
- /package/dist/{de-DE-CSfZ-fLe.js → de-DE-BgtEAyle.js} +0 -0
- /package/dist/{de-DE-BVoU3x7q.js → de-DE-BijX4bA6.js} +0 -0
- /package/dist/{de-DE-CPjVxwLK.js → de-DE-BnAkTJpS.js} +0 -0
- /package/dist/{de-DE-Ccbobm6F.js → de-DE-Cb9uR42z.js} +0 -0
- /package/dist/{de-DE-DLpDehXu.js → de-DE-Cfa03DOz.js} +0 -0
- /package/dist/{de-DE-KXIXcUTs.js → de-DE-DIAsDD5Z.js} +0 -0
- /package/dist/{de-DE-BsZOOvbi.js → de-DE-DLQs11Hz.js} +0 -0
- /package/dist/{de-DE-DXLRcNXw.js → de-DE-KstYakJ3.js} +0 -0
- /package/dist/{de-DE-Qs8eQGQS.js → de-DE-UxQXcw2Z.js} +0 -0
- /package/dist/{de-DE-Bsrf1Qk-.js → de-DE-ZWLyKP5G.js} +0 -0
- /package/dist/{decision-makers-group-Cof9scJd.js → decision-makers-group-BLkUEz0w.js} +0 -0
- /package/dist/{digital-wallet-BXDAhThn.js → digital-wallet-CI3K9Uw0.js} +0 -0
- /package/dist/{document-blurred-LCBsN2NC.js → document-blurred-B-Wt2Pm6.js} +0 -0
- /package/dist/{document-cut-off-wsPtcq1x.js → document-cut-off-B6ZR7USy.js} +0 -0
- /package/dist/{document-expired-CvTJKcZr.js → document-expired-hBQfwBk_.js} +0 -0
- /package/dist/{document-front-BHCo0w58.js → document-front-C-0BBlnD.js} +0 -0
- /package/dist/{el-GR-C7o9YGzw.js → el-GR-B45eXweN.js} +0 -0
- /package/dist/{el-GR-D9AagIjI.js → el-GR-BIJ5syl-.js} +0 -0
- /package/dist/{el-GR-DvgAQImQ.js → el-GR-BaFJE4xB.js} +0 -0
- /package/dist/{el-GR-BUGibSyd.js → el-GR-DKvfOcBT.js} +0 -0
- /package/dist/{el-GR-DZuLkaBp.js → el-GR-DOSF9KOE.js} +0 -0
- /package/dist/{el-GR-Doj3UHZu.js → el-GR-DSmTVw3A.js} +0 -0
- /package/dist/{el-GR-CN3HrU9J.js → el-GR-DhmD_M7I.js} +0 -0
- /package/dist/{el-GR-CNDZGVN3.js → el-GR-JdIfiWWD.js} +0 -0
- /package/dist/{el-GR-C-HtCTGV.js → el-GR-SFcfMp0Q.js} +0 -0
- /package/dist/{el-GR-B1VnihMi.js → el-GR-WE5RvoaZ.js} +0 -0
- /package/dist/{el-GR-DRbd6eXu.js → el-GR-no-mXzHz.js} +0 -0
- /package/dist/{emitEvent-B8K0cb1F.js → emitEvent-Cdd95HOT.js} +0 -0
- /package/dist/{en-US-IxvcS3bq.js → en-US-5p2iDJhN.js} +0 -0
- /package/dist/{en-US-CwN7_Z6A.js → en-US-B8NkYtpw.js} +0 -0
- /package/dist/{en-US-Rnj0uOlI.js → en-US-BT_egPzn.js} +0 -0
- /package/dist/{en-US-DH-5G1L0.js → en-US-BeS_zqnX.js} +0 -0
- /package/dist/{en-US-BgLFeko-.js → en-US-CJI3UFnZ.js} +0 -0
- /package/dist/{en-US-D6psKu6Y.js → en-US-Cq8S64a_.js} +0 -0
- /package/dist/{en-US-Cwp_kAIu.js → en-US-Cv8_OsAw.js} +0 -0
- /package/dist/{en-US-3j1Js4vT.js → en-US-Cya3hns9.js} +0 -0
- /package/dist/{en-US-Bg9gdBEC.js → en-US-DBiYkRmE.js} +0 -0
- /package/dist/{en-US-B3MAOxZH.js → en-US-DNp65pGY.js} +0 -0
- /package/dist/{en-US-CEBexxFl.js → en-US-DRNwZI6c.js} +0 -0
- /package/dist/{en-US-hCtMObDn.js → en-US-DlwEfQT_.js} +0 -0
- /package/dist/{en-US-BWMrfrd7.js → en-US-DtWDVC_l.js} +0 -0
- /package/dist/{en-US-C81RZMm3.js → en-US-DuN8U_xd.js} +0 -0
- /package/dist/{en-US-D1y6M9AI.js → en-US-EATAFzTk.js} +0 -0
- /package/dist/{en-US-rEquAkrM.js → en-US-Mma5wIWL.js} +0 -0
- /package/dist/{en-US-RJmb2nTR.js → en-US-Y8C6Dmuq.js} +0 -0
- /package/dist/{en-US-DqbNEPfm.js → en-US-f2kgWe84.js} +0 -0
- /package/dist/{en-US-CnVk6lVt.js → en-US-rKfA1z58.js} +0 -0
- /package/dist/{en-US-jcuu40kx.js → en-US-sJXY3-OZ.js} +0 -0
- /package/dist/{en-US.instructions-C5xXRJDu.js → en-US.instructions-DJharl6b.js} +0 -0
- /package/dist/{en-US.instructions-Bh8SYzc5.js → en-US.instructions-HI_HXwIA.js} +0 -0
- /package/dist/{es-ES-D-n6xoWo.js → es-ES-4opI0QUT.js} +0 -0
- /package/dist/{es-ES-BkeAb5PG.js → es-ES-BUSxmdKa.js} +0 -0
- /package/dist/{es-ES-H0DZcC1K.js → es-ES-C9ahP89x.js} +0 -0
- /package/dist/{es-ES-CLr_KwxQ.js → es-ES-CKWpTQva.js} +0 -0
- /package/dist/{es-ES-hX5WUfzS.js → es-ES-CaHa-8Wb.js} +0 -0
- /package/dist/{es-ES-DWjfZmTj.js → es-ES-CgcvvmLv.js} +0 -0
- /package/dist/{es-ES-DKenRcq3.js → es-ES-Cigb2wKi.js} +0 -0
- /package/dist/{es-ES-B7uIo7kE.js → es-ES-DOQIN_Pf.js} +0 -0
- /package/dist/{es-ES-D1vAd-8r.js → es-ES-DadFxwkn.js} +0 -0
- /package/dist/{es-ES-Bwj2MUyM.js → es-ES-DyrLbt2G.js} +0 -0
- /package/dist/{es-ES-8AtDNr6X.js → es-ES-I6sgbCZT.js} +0 -0
- /package/dist/{et-EE-Du3REm6O.js → et-EE-9bkSuMa4.js} +0 -0
- /package/dist/{et-EE-Cs__RUB9.js → et-EE-ASxV620T.js} +0 -0
- /package/dist/{et-EE-CWGint-T.js → et-EE-BM23BrCu.js} +0 -0
- /package/dist/{et-EE-CfheEJAy.js → et-EE-BeU-JlIv.js} +0 -0
- /package/dist/{et-EE-_uLrdnTi.js → et-EE-BfEYv_4i.js} +0 -0
- /package/dist/{et-EE-BSAr_xVc.js → et-EE-BtoIECkX.js} +0 -0
- /package/dist/{et-EE-Mp-OiQL2.js → et-EE-CjKIw3AU.js} +0 -0
- /package/dist/{et-EE-CNNN-M_x.js → et-EE-CmMB9hVL.js} +0 -0
- /package/dist/{et-EE-DmlaKK4B.js → et-EE-DM6LdueH.js} +0 -0
- /package/dist/{et-EE-DsLOML8r.js → et-EE-DoE8YNk_.js} +0 -0
- /package/dist/{fi-FI-Bx1S9eQf.js → fi-FI-B2a7jEBx.js} +0 -0
- /package/dist/{fi-FI-BKXhGjNk.js → fi-FI-B78n6HpV.js} +0 -0
- /package/dist/{fi-FI-BcdVq2e0.js → fi-FI-BALtktMY.js} +0 -0
- /package/dist/{fi-FI-BY9X2DpF.js → fi-FI-CUapPvf9.js} +0 -0
- /package/dist/{fi-FI-Dy_bfWw7.js → fi-FI-D1E8MJUW.js} +0 -0
- /package/dist/{fi-FI-Cl1vbAPV.js → fi-FI-DFDdEnkT.js} +0 -0
- /package/dist/{fi-FI-1nGlfW_t.js → fi-FI-DKJi4py_.js} +0 -0
- /package/dist/{fi-FI-pvpGl_6s.js → fi-FI-YpLcMuZy.js} +0 -0
- /package/dist/{fi-FI-iyr94E5r.js → fi-FI-qP49OAGS.js} +0 -0
- /package/dist/{fi-FI-DdyNwoGb.js → fi-FI-whtJ_DRy.js} +0 -0
- /package/dist/{form-rules-CvdV5rPY.js → form-rules-ZiRm6ke_.js} +0 -0
- /package/dist/{fr-FR-DcXwaT3d.js → fr-FR-06Yp4eGU.js} +0 -0
- /package/dist/{fr-FR-Ta6QBpqt.js → fr-FR-B3vqlNZF.js} +0 -0
- /package/dist/{fr-FR-DksMI4zV.js → fr-FR-CIKDSi33.js} +0 -0
- /package/dist/{fr-FR-CEWcwAJ-.js → fr-FR-CK15MC1P.js} +0 -0
- /package/dist/{fr-FR-CMMz7OEo.js → fr-FR-CWBeJe7e.js} +0 -0
- /package/dist/{fr-FR-DC_PZPwP.js → fr-FR-Cjf6-Jyc.js} +0 -0
- /package/dist/{fr-FR-DzjwEGsx.js → fr-FR-D0u4AlOp.js} +0 -0
- /package/dist/{fr-FR-B9xNxWia.js → fr-FR-D34baGa-.js} +0 -0
- /package/dist/{fr-FR-DL8mtS3r.js → fr-FR-DvCNUz7O.js} +0 -0
- /package/dist/{fr-FR-DKjCgBfS.js → fr-FR-JIF28b7U.js} +0 -0
- /package/dist/{fr-FR-CqbeB381.js → fr-FR-SabLrXSF.js} +0 -0
- /package/dist/{funds-in-04OBDLJw.js → funds-in-CAnTUH27.js} +0 -0
- /package/dist/{house-BfjiK4vF.js → house-g9QDTtcl.js} +0 -0
- /package/dist/{hr-HR-CJHkB1ko.js → hr-HR-B0eeXkQr.js} +0 -0
- /package/dist/{hr-HR-Ck-S-k5d.js → hr-HR-BnhnItTZ.js} +0 -0
- /package/dist/{hr-HR-FHDzcIUl.js → hr-HR-C0bGzQNB.js} +0 -0
- /package/dist/{hr-HR-EhBzx8FM.js → hr-HR-C12BPU_3.js} +0 -0
- /package/dist/{hr-HR-BqNvRwoc.js → hr-HR-C4LLZhRc.js} +0 -0
- /package/dist/{hr-HR-D0Xp4lTU.js → hr-HR-C4sBzG1i.js} +0 -0
- /package/dist/{hr-HR-B8MiNFt0.js → hr-HR-C7vNP6kG.js} +0 -0
- /package/dist/{hr-HR-Bp5qQwHS.js → hr-HR-Cv9n6lNS.js} +0 -0
- /package/dist/{hr-HR-pOpa3-4-.js → hr-HR-FCvgQhQb.js} +0 -0
- /package/dist/{hr-HR-CMcgajLG.js → hr-HR-mQCFA1Pe.js} +0 -0
- /package/dist/{hu-HU-C-gD2scj.js → hu-HU-1NJpWkUj.js} +0 -0
- /package/dist/{hu-HU-HNscNs5I.js → hu-HU-40vuNto8.js} +0 -0
- /package/dist/{hu-HU-Cq3L3459.js → hu-HU-BcBrcjkc.js} +0 -0
- /package/dist/{hu-HU-DG9r7Yn5.js → hu-HU-BrwdCVwT.js} +0 -0
- /package/dist/{hu-HU-u7Q5hZ8M.js → hu-HU-CeloZXjg.js} +0 -0
- /package/dist/{hu-HU-xJ7HEjBk.js → hu-HU-DBqKyuYs.js} +0 -0
- /package/dist/{hu-HU-BOCGei6J.js → hu-HU-DgjvclPA.js} +0 -0
- /package/dist/{hu-HU-BF3I2cDh.js → hu-HU-DmlhDBmZ.js} +0 -0
- /package/dist/{hu-HU-DZmGYcpb.js → hu-HU-LQ4-J73z.js} +0 -0
- /package/dist/{hu-HU-DZnrPw7M.js → hu-HU-is6BaLdQ.js} +0 -0
- /package/dist/{id-blurred-DajPeUev.js → id-blurred-8OIg137Y.js} +0 -0
- /package/dist/{id-cut-off-Cg7VH88-.js → id-cut-off-BzOwUOl_.js} +0 -0
- /package/dist/{id-front-BFiC6TLx.js → id-front-Bfirxdas.js} +0 -0
- /package/dist/{id-glare--tl3DxTG.js → id-glare-LAYtTogY.js} +0 -0
- /package/dist/{isEmpty-DFUWFV4h.js → isEmpty-Dw2W8jeR.js} +0 -0
- /package/dist/{it-IT-BVcopRE0.js → it-IT-B3v42hPz.js} +0 -0
- /package/dist/{it-IT-CKYkplGl.js → it-IT-BQYdAY1h.js} +0 -0
- /package/dist/{it-IT-BFVfcntm.js → it-IT-BZrpE0qK.js} +0 -0
- /package/dist/{it-IT-Bncw2hQ-.js → it-IT-C3AVk1uR.js} +0 -0
- /package/dist/{it-IT-MRrAO1jy.js → it-IT-C4b9Y6tP.js} +0 -0
- /package/dist/{it-IT-YCjFrZ-Z.js → it-IT-Da1C4AGd.js} +0 -0
- /package/dist/{it-IT-DWt33Mig.js → it-IT-DdZkV6nQ.js} +0 -0
- /package/dist/{it-IT-Cd3oPF1M.js → it-IT-Kc1R4_Rn.js} +0 -0
- /package/dist/{it-IT-rGM1QmSW.js → it-IT-V8vgqucm.js} +0 -0
- /package/dist/{it-IT-C-OxfLhZ.js → it-IT-gr7SB9fh.js} +0 -0
- /package/dist/{it-IT-CBQ2gGE7.js → it-IT-jTdy1a4s.js} +0 -0
- /package/dist/{ja-JP-Cla1MJLj.js → ja-JP-BFkGV7Ct.js} +0 -0
- /package/dist/{ja-JP-DieVzA1B.js → ja-JP-BfhqPamw.js} +0 -0
- /package/dist/{ja-JP-CNNwQyYR.js → ja-JP-BgEGc_Ko.js} +0 -0
- /package/dist/{ja-JP-BDPtYIpq.js → ja-JP-CMoTPLi7.js} +0 -0
- /package/dist/{ja-JP-C0ASZo79.js → ja-JP-CWS-Pg-_.js} +0 -0
- /package/dist/{ja-JP-CgfF4yTt.js → ja-JP-D9Doo4LH.js} +0 -0
- /package/dist/{ja-JP-CsgosKvD.js → ja-JP-D9ybdRsh.js} +0 -0
- /package/dist/{ja-JP-CLmtF9H_.js → ja-JP-DB56llc7.js} +0 -0
- /package/dist/{ja-JP-DyUgd4BE.js → ja-JP-EJJaOy4m.js} +0 -0
- /package/dist/{ja-JP-CQBoZgiC.js → ja-JP-ei-QPx_X.js} +0 -0
- /package/dist/{ja-JP-B8Rg2VNl.js → ja-JP-ogtt9tGy.js} +0 -0
- /package/dist/{ja-JP-uXR7c5rz.js → ja-JP-qs4tLgRF.js} +0 -0
- /package/dist/{lt-LT-BRFs6EyI.js → lt-LT-948HQZhZ.js} +0 -0
- /package/dist/{lt-LT-DsKGJjAK.js → lt-LT-BCqnP7r6.js} +0 -0
- /package/dist/{lt-LT-Dv9CNqL5.js → lt-LT-BogWzvP3.js} +0 -0
- /package/dist/{lt-LT-CxHglunM.js → lt-LT-BqS69oFX.js} +0 -0
- /package/dist/{lt-LT-DCexrILL.js → lt-LT-BrGzLEwY.js} +0 -0
- /package/dist/{lt-LT-CK-_FLDK.js → lt-LT-CTP-6_vr.js} +0 -0
- /package/dist/{lt-LT-2d52byGI.js → lt-LT-ChOTn0eR.js} +0 -0
- /package/dist/{lt-LT-ykgOI1Lh.js → lt-LT-Cq2T_YgH.js} +0 -0
- /package/dist/{lt-LT-B9QsV1Fl.js → lt-LT-DFZD-gis.js} +0 -0
- /package/dist/{lt-LT-CyVGhu0R.js → lt-LT-DTo_g5gi.js} +0 -0
- /package/dist/{lv-LV-OjadvSbn.js → lv-LV-BEtE7iP6.js} +0 -0
- /package/dist/{lv-LV-1DHJcJtx.js → lv-LV-BJgLY-OW.js} +0 -0
- /package/dist/{lv-LV-CrYidfpB.js → lv-LV-BKdYq30o.js} +0 -0
- /package/dist/{lv-LV-CALhnU3h.js → lv-LV-BuCZvLms.js} +0 -0
- /package/dist/{lv-LV-Dlq59Kg7.js → lv-LV-C6cnH9ql.js} +0 -0
- /package/dist/{lv-LV-BhvjJBtW.js → lv-LV-CJlW1MAb.js} +0 -0
- /package/dist/{lv-LV-BZ6GdtSG.js → lv-LV-CihtKM8-.js} +0 -0
- /package/dist/{lv-LV-pzQT6oF4.js → lv-LV-CrfpEaoB.js} +0 -0
- /package/dist/{lv-LV-DXmGZc4u.js → lv-LV-DcclJdry.js} +0 -0
- /package/dist/{lv-LV-vUmm_Y8X.js → lv-LV-T_Ln1nZG.js} +0 -0
- /package/dist/{mapAddressLocalizationToJpAddressSchema-Cp77VSSB.js → mapAddressLocalizationToJpAddressSchema-Cu5HfF7K.js} +0 -0
- /package/dist/{nl-NL-D9OFsGYi.js → nl-NL-B1KPiFMu.js} +0 -0
- /package/dist/{nl-NL-BtXGtpjP.js → nl-NL-B4zO0Q4_.js} +0 -0
- /package/dist/{nl-NL-DcLEwsh6.js → nl-NL-CBBxSKzB.js} +0 -0
- /package/dist/{nl-NL-Bfn1b5-H.js → nl-NL-CDG5kf8l.js} +0 -0
- /package/dist/{nl-NL-CscaDll4.js → nl-NL-CQYif340.js} +0 -0
- /package/dist/{nl-NL-DpZ_sRQQ.js → nl-NL-CUHQ8oRU.js} +0 -0
- /package/dist/{nl-NL-BOfLp7Kw.js → nl-NL-DWgJVfgU.js} +0 -0
- /package/dist/{nl-NL-CoEgvakv.js → nl-NL-DyXx5rzY.js} +0 -0
- /package/dist/{nl-NL-DUzifJ-6.js → nl-NL-HAKt4Uc5.js} +0 -0
- /package/dist/{nl-NL-DayMdZGS.js → nl-NL-QXgi4Sal.js} +0 -0
- /package/dist/{nl-NL-DrryYwRC.js → nl-NL-zA-vxihm.js} +0 -0
- /package/dist/{no-NO-CfYxgg3G.js → no-NO-3PlX_ro5.js} +0 -0
- /package/dist/{no-NO-DphtE0hV.js → no-NO-A94R5Tff.js} +0 -0
- /package/dist/{no-NO-CveHyEMg.js → no-NO-BCZzdSpR.js} +0 -0
- /package/dist/{no-NO-DFiHCQaa.js → no-NO-BD0f30Fb.js} +0 -0
- /package/dist/{no-NO-BNo6BEI2.js → no-NO-BurCBAor.js} +0 -0
- /package/dist/{no-NO-CeJtzvaa.js → no-NO-Bvhg8wSl.js} +0 -0
- /package/dist/{no-NO-DCPDmC0O.js → no-NO-ChSdsuYY.js} +0 -0
- /package/dist/{no-NO-DNxpnnM4.js → no-NO-DKzoUIzk.js} +0 -0
- /package/dist/{no-NO-7cH_mYGz.js → no-NO-EF5q1jRl.js} +0 -0
- /package/dist/{no-NO-COKvHr69.js → no-NO-bX8QGp4Y.js} +0 -0
- /package/dist/{onfido-logo-EtpExIxa.js → onfido-logo-Df1iPjUq.js} +0 -0
- /package/dist/{passport-blurred-CeDXhPyb.js → passport-blurred-4b12NNQa.js} +0 -0
- /package/dist/{passport-cut-off-CvgvQJYC.js → passport-cut-off-BgrPvwDX.js} +0 -0
- /package/dist/{passport-front-DnOK4cgY.js → passport-front-DCH9iXMm.js} +0 -0
- /package/dist/{passport-front-green-BOdOhMh6.js → passport-front-green-DmIh7YIG.js} +0 -0
- /package/dist/{passport-glare-BMA9YxJd.js → passport-glare-DIbBXJwz.js} +0 -0
- /package/dist/{payout-bank-accounts-jW_Zgfqf.js → payout-bank-accounts-CF8erfdR.js} +0 -0
- /package/dist/{payout-verification-instant-BLpp07Uv.js → payout-verification-instant-BIx6NDh9.js} +0 -0
- /package/dist/{payout-verification-manual-BgjvhzA9.js → payout-verification-manual-CS34WVa9.js} +0 -0
- /package/dist/{pl-PL-Ovy-dAEm.js → pl-PL-AswdD27E.js} +0 -0
- /package/dist/{pl-PL-D-e2Z51f.js → pl-PL-BXUkKA8N.js} +0 -0
- /package/dist/{pl-PL-V52qRKcx.js → pl-PL-CWLfHfaM.js} +0 -0
- /package/dist/{pl-PL-BhRJVuU3.js → pl-PL-ComkJGTw.js} +0 -0
- /package/dist/{pl-PL-B6MlP7Xz.js → pl-PL-Cw63Q49W.js} +0 -0
- /package/dist/{pl-PL-DEkGFDx6.js → pl-PL-D3efS6b_.js} +0 -0
- /package/dist/{pl-PL-BKJlxx_t.js → pl-PL-DTGmgjwZ.js} +0 -0
- /package/dist/{pl-PL-CRanu6gn.js → pl-PL-KKlndUs-.js} +0 -0
- /package/dist/{pl-PL-D2dgIhBU.js → pl-PL-NX01GGDD.js} +0 -0
- /package/dist/{pl-PL-DcwGjG1k.js → pl-PL-YNg08-Ol.js} +0 -0
- /package/dist/{plaid-logo-JKKXRmk4.js → plaid-logo-CJ4XmsZ0.js} +0 -0
- /package/dist/{pt-BR-DgAN88vt.js → pt-BR-1V6vMfTg.js} +0 -0
- /package/dist/{pt-BR-CPXL0egI.js → pt-BR-BWN_WzRl.js} +0 -0
- /package/dist/{pt-BR-DkGneNc5.js → pt-BR-BnDcVpJT.js} +0 -0
- /package/dist/{pt-BR-D01BPIQ8.js → pt-BR-Bo-lA5md.js} +0 -0
- /package/dist/{pt-BR-C3oGCuLZ.js → pt-BR-CIZtl_8E.js} +0 -0
- /package/dist/{pt-BR-B7oDER2v.js → pt-BR-Ct1Nhi9U.js} +0 -0
- /package/dist/{pt-BR-CwEhFyDx.js → pt-BR-D-RcF3oz.js} +0 -0
- /package/dist/{pt-BR-B8YZ-Hqo.js → pt-BR-DUCZ7b8F.js} +0 -0
- /package/dist/{pt-BR-CL2QRxOt.js → pt-BR-DtlnqBov.js} +0 -0
- /package/dist/{pt-BR-B_tIsNF2.js → pt-BR-OCQiqikl.js} +0 -0
- /package/dist/{pt-BR-BNfmjS7T.js → pt-BR-uWioJEmF.js} +0 -0
- /package/dist/{pt-PT-5BekXyBw.js → pt-PT-B9BU6WeF.js} +0 -0
- /package/dist/{pt-PT-Dfp-0h0s.js → pt-PT-BHbd93Ic.js} +0 -0
- /package/dist/{pt-PT-of6NX5C7.js → pt-PT-BSdQMcLM.js} +0 -0
- /package/dist/{pt-PT-C_6pNXKv.js → pt-PT-BhEGejvl.js} +0 -0
- /package/dist/{pt-PT-D3v24Se2.js → pt-PT-Bq9v0R1E.js} +0 -0
- /package/dist/{pt-PT-DjZ0SeNY.js → pt-PT-Bricv6v-.js} +0 -0
- /package/dist/{pt-PT-sZUWaieU.js → pt-PT-CVNM7GeN.js} +0 -0
- /package/dist/{pt-PT-IOArlYPi.js → pt-PT-HtvJf_Wc.js} +0 -0
- /package/dist/{pt-PT-BSNvIlJh.js → pt-PT-cIRYLrgm.js} +0 -0
- /package/dist/{pt-PT-CabKp0yt.js → pt-PT-tt1J0yv6.js} +0 -0
- /package/dist/{pt-PT-Cr2esDwf.js → pt-PT-wBADnHVq.js} +0 -0
- /package/dist/{reporting-DI9JGolm.js → reporting-CuIVqmAt.js} +0 -0
- /package/dist/{review-CkgZkiFy.js → review-CUy6wn1_.js} +0 -0
- /package/dist/{ro-RO-BtLXaAVi.js → ro-RO-0Q2YJfJD.js} +0 -0
- /package/dist/{ro-RO-Can6URM1.js → ro-RO-BVo8Lqoc.js} +0 -0
- /package/dist/{ro-RO-DYwkjw9d.js → ro-RO-C2tZmDar.js} +0 -0
- /package/dist/{ro-RO-BW4-_NrZ.js → ro-RO-CCxnXwji.js} +0 -0
- /package/dist/{ro-RO-BlBqP0LV.js → ro-RO-CHnLb9tp.js} +0 -0
- /package/dist/{ro-RO-CBNP3GS_.js → ro-RO-CRHBNotW.js} +0 -0
- /package/dist/{ro-RO-DH5uD9v9.js → ro-RO-CVzi0I9_.js} +0 -0
- /package/dist/{ro-RO-9NTYYrid.js → ro-RO-CkY9jVVi.js} +0 -0
- /package/dist/{ro-RO-7VBqqH7o.js → ro-RO-QlHjtTpP.js} +0 -0
- /package/dist/{ro-RO-CGoDuoZa.js → ro-RO-SAbaaKxU.js} +0 -0
- /package/dist/{sk-SK-Blzjm32C.js → sk-SK-BJxKfous.js} +0 -0
- /package/dist/{sk-SK-wYLB-c3d.js → sk-SK-Bqy__cWX.js} +0 -0
- /package/dist/{sk-SK-CAkLqBR-.js → sk-SK-BrbU8K0P.js} +0 -0
- /package/dist/{sk-SK-CZnhSCxt.js → sk-SK-Bs5RASpX.js} +0 -0
- /package/dist/{sk-SK-vSn9yvb8.js → sk-SK-BsanrSCF.js} +0 -0
- /package/dist/{sk-SK-fwnwR2zz.js → sk-SK-CCluvyNF.js} +0 -0
- /package/dist/{sk-SK-qVeRKlxs.js → sk-SK-CxisoTfT.js} +0 -0
- /package/dist/{sk-SK-vyxCXCDR.js → sk-SK-DpmfsFPI.js} +0 -0
- /package/dist/{sk-SK-BDItYkrD.js → sk-SK-MF3HRQGz.js} +0 -0
- /package/dist/{sk-SK-BmP_vrOT.js → sk-SK-woMNza6o.js} +0 -0
- /package/dist/{sl-SI-rLQo_kKv.js → sl-SI-B-faWNpM.js} +0 -0
- /package/dist/{sl-SI-DuHn6HyC.js → sl-SI-B9zMw3uZ.js} +0 -0
- /package/dist/{sl-SI-CYVD9Yk1.js → sl-SI-Bm_KKlP6.js} +0 -0
- /package/dist/{sl-SI-BxJgtZKP.js → sl-SI-BsiDU3hz.js} +0 -0
- /package/dist/{sl-SI-SNjGgOph.js → sl-SI-BvNvjopW.js} +0 -0
- /package/dist/{sl-SI-C0d32nxW.js → sl-SI-C5umh4FQ.js} +0 -0
- /package/dist/{sl-SI-ChRXWdua.js → sl-SI-CG07y9Cp.js} +0 -0
- /package/dist/{sl-SI-C5FYCjwi.js → sl-SI-CrB2P-g-.js} +0 -0
- /package/dist/{sl-SI-DPvusyJQ.js → sl-SI-Czu6HrQs.js} +0 -0
- /package/dist/{sl-SI-B5xGgx5S.js → sl-SI-F1ZXve4S.js} +0 -0
- /package/dist/{sv-SE-CU-lNGyw.js → sv-SE-5AozcwLo.js} +0 -0
- /package/dist/{sv-SE-D9Aj9VZ9.js → sv-SE-BIe7wyHM.js} +0 -0
- /package/dist/{sv-SE-BhAr7iey.js → sv-SE-BKeJolFs.js} +0 -0
- /package/dist/{sv-SE-BfoCgwXl.js → sv-SE-BgyicZrq.js} +0 -0
- /package/dist/{sv-SE-BFFAjxxo.js → sv-SE-C2lw5FJ7.js} +0 -0
- /package/dist/{sv-SE-_iVNE7OY.js → sv-SE-DDCAUQsX.js} +0 -0
- /package/dist/{sv-SE-nA--xWZA.js → sv-SE-DKvr6dhk.js} +0 -0
- /package/dist/{sv-SE-Cos-ox5c.js → sv-SE-DR3rE1Ff.js} +0 -0
- /package/dist/{sv-SE-BIHbDoRU.js → sv-SE-DaOsGDdk.js} +0 -0
- /package/dist/{sv-SE-QRDrM1rH.js → sv-SE-Db35FNLx.js} +0 -0
- /package/dist/{sv-SE-CfgjwWHS.js → sv-SE-doxSFPnU.js} +0 -0
- /package/dist/{tax-reporting-graph-DEiE6q1X.js → tax-reporting-graph-C96BPKuj.js} +0 -0
- /package/dist/{tink-logo-DQabT2Uk.js → tink-logo-DcMLCEiF.js} +0 -0
- /package/dist/{toFullWidth-CQcDriFa.js → toFullWidth-CSa3Sffs.js} +0 -0
- /package/dist/types/utils/api/{processCapabilitites.d.ts → processCapabilities.d.ts} +0 -0
- /package/dist/{types-DjTEjDpj.js → types-DLViphaA.js} +0 -0
- /package/dist/{types-CEAHkjXI.js → types-tKfEYBOO.js} +0 -0
- /package/dist/{us-check-account-number-EkWzylgz.js → us-check-account-number-Bx4HZPFS.js} +0 -0
- /package/dist/{us-check-routing-number-ObI-JE-C.js → us-check-routing-number-BgmESQIR.js} +0 -0
- /package/dist/{us-check-b9k7TlOd.js → us-check-tkgqZfdf.js} +0 -0
- /package/dist/{validate-D4RU2PP0.js → validate-Da7Onair.js} +0 -0
- /package/dist/{view-verification-status-CtW_qUMg.js → view-verification-status-CYHM_Ggf.js} +0 -0
- /package/dist/{yapily-logo-BeowYojR.js → yapily-logo-LFYkLhpL.js} +0 -0
|
@@ -0,0 +1,1796 @@
|
|
|
1
|
+
try {
|
|
2
|
+
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "739cb116-4037-456b-ba64-3d795050531f", e._sentryDebugIdIdentifier = "sentry-dbid-739cb116-4037-456b-ba64-3d795050531f");
|
|
4
|
+
} catch (e) {}
|
|
5
|
+
import { i as Typography, r as useTranslation } from "./translation-BFxyJ1c5.js";
|
|
6
|
+
import { r as Loader, t as Button } from "./Button-oj6H8OrC.js";
|
|
7
|
+
import { n as httpGet, s as useApiContext } from "./http-msAasD57.js";
|
|
8
|
+
import { t as LegalEntityTypes } from "./legal-entity-type-VIfNYnJP.js";
|
|
9
|
+
import { t as useSettingsContext } from "./useSettingsContext-DzwVt0W0.js";
|
|
10
|
+
import { r as cloneObject, t as useAnalyticsContext } from "./useAnalyticsContext-BVFDMrVE.js";
|
|
11
|
+
import { a as translateTranslatable } from "./utils-B807QaDx.js";
|
|
12
|
+
import { t as Header } from "./Header-CPmJyuoP.js";
|
|
13
|
+
import { n as datasetUtilities } from "./datasetUtil-Zd4TCTDn.js";
|
|
14
|
+
import { y as reverseMapping } from "./processCapabilities-DlZY9-Jc.js";
|
|
15
|
+
import { f as hasSolePropInLegalEntity } from "./entityAssociationUtil-BEzUdPbm.js";
|
|
16
|
+
import { t as isEeaCountry } from "./country-COrdWGaq.js";
|
|
17
|
+
import { t as SettingNames } from "./types-CNZsK2dZ.js";
|
|
18
|
+
import { t as useToastContext } from "./useToastContext-CYgfHjSb.js";
|
|
19
|
+
import { t as EndStateLayout } from "./EndStateLayout-ChS-vdMt.js";
|
|
20
|
+
import { t as useInvalidateRootLegalEntity } from "./invalidateRootLegalEntity-B4bAFkQS.js";
|
|
21
|
+
import { t as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-b2rR6eT1.js";
|
|
22
|
+
import { t as useCreateLegalEntity } from "./useCreateLegalEntity-DizCrhrt.js";
|
|
23
|
+
import { t as useUpdateLegalEntity } from "./useUpdateLegalEntity-Dcvfr-yZ.js";
|
|
24
|
+
import { t as Address } from "./Address-BBhttZH7.js";
|
|
25
|
+
import { n as FormFlow, r as FormContextProvider, t as useFormContext } from "./useFormContext-Cx9-3iXR.js";
|
|
26
|
+
import { i as useFormComposer, n as getRequiredForms, t as addValidityToForms } from "./dropinUtils-IdasFZCU.js";
|
|
27
|
+
import { t as ErrorPanel } from "./ErrorPanel-B536hgSc.js";
|
|
28
|
+
import { t as createFormUtils } from "./formUtils-DCvL3uZG.js";
|
|
29
|
+
import { t as useMultiForm } from "./useMultiForm-B3e1ImN3.js";
|
|
30
|
+
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-DInxWeqN.js";
|
|
31
|
+
import { c as COUNTRIES_WITH_STATES_DATASET, n as getAddressSchemaLabelsByCountry, t as getAddressSchemaForCountry } from "./utils-CfTVU2Hq.js";
|
|
32
|
+
import { i as isValidationError, o as processValidationErrors, s as isMaintenanceModeError } from "./validationError-BzQCrJPn.js";
|
|
33
|
+
import { r as formatObject } from "./utils-oc3EdK6K.js";
|
|
34
|
+
import { t as localizeDateString } from "./localizeDateString-1A3eC6hp.js";
|
|
35
|
+
import { t as Field } from "./Field-pcJkjIG_.js";
|
|
36
|
+
import { t as Select } from "./Select-CcSRI-H0.js";
|
|
37
|
+
import { t as Checkbox } from "./Checkbox-BCYjFPa4.js";
|
|
38
|
+
import { t as getFieldProps } from "./getProps-CkZCnNxW.js";
|
|
39
|
+
import { t as Link } from "./Link-6M1PZnz2.js";
|
|
40
|
+
import { t as InputText } from "./InputText-C30dZxS4.js";
|
|
41
|
+
import { t as InputDate } from "./InputDate-XX9jaw9v.js";
|
|
42
|
+
import { n as CountryField } from "./CountryField-Dh4DfjBf.js";
|
|
43
|
+
import { t as RadioGroup } from "./RadioGroup-7g7Xv9rl.js";
|
|
44
|
+
import { t as currencyByCountry } from "./types-qnPNJzLh.js";
|
|
45
|
+
import { a as LegalFormField, i as InputCurrency, n as Currency, o as mapFinancialReportsToFinancialInformation, r as InputNumber, s as mapFinancialInformationToFinancialReport, t as CURRENCY_FIELD } from "./Currency-V5HFH6ne.js";
|
|
46
|
+
import { t as NewSummary } from "./NewSummary-C-LKBMpr.js";
|
|
47
|
+
import { t as businessFinancingMultiformRules } from "./validate-Da7Onair.js";
|
|
48
|
+
import { useEffect, useMemo, useRef, useState } from "preact/hooks";
|
|
49
|
+
import { Fragment, jsx, jsxs } from "preact/jsx-runtime";
|
|
50
|
+
import { useQuery } from "@tanstack/preact-query";
|
|
51
|
+
//#region src/components/EFP/mapping/businessFinancingKeyMappings.ts
|
|
52
|
+
var businessFinancingBaseMapping = {
|
|
53
|
+
legalProceedingsDate: "organization.dateOfInitiationOfLegalProceeding",
|
|
54
|
+
legalInformationInsolvency: "organization.statusOfLegalProceeding",
|
|
55
|
+
legalEntityIdentifier: "organization.globalLegalEntityIdentifier",
|
|
56
|
+
naceCode: "organization.economicSector",
|
|
57
|
+
legalForm: "organization.legalForm",
|
|
58
|
+
legalName: "organization.legalName",
|
|
59
|
+
"registrationAddress.city": "organization.registeredAddress.city",
|
|
60
|
+
"registrationAddress.country": "organization.registeredAddress.country",
|
|
61
|
+
"registrationAddress.postalCode": "organization.registeredAddress.postalCode",
|
|
62
|
+
"registrationAddress.stateOrProvince": "organization.registeredAddress.stateOrProvince",
|
|
63
|
+
"registrationAddress.address": "organization.registeredAddress.street",
|
|
64
|
+
"registrationAddress.otherAddressInformation": "organization.registeredAddress.street2"
|
|
65
|
+
};
|
|
66
|
+
var businessFinancingIndividualMapping = {
|
|
67
|
+
gender: "individual.birthData.genderCode",
|
|
68
|
+
countryOfBirth: "individual.birthData.birthCountry"
|
|
69
|
+
};
|
|
70
|
+
var businessFinancingSoleProprietorMapping = {
|
|
71
|
+
legalProceedingsDate: "soleProprietorship.dateOfInitiationOfLegalProceeding",
|
|
72
|
+
legalInformationInsolvency: "soleProprietorship.statusOfLegalProceeding",
|
|
73
|
+
naceCode: "soleProprietorship.economicSector"
|
|
74
|
+
};
|
|
75
|
+
var businessFinancingComponentsKeyMapping = { ...businessFinancingBaseMapping };
|
|
76
|
+
({ ...businessFinancingIndividualMapping });
|
|
77
|
+
var businessFinancingSoleProprietorComponentsKeyMapping = { ...businessFinancingSoleProprietorMapping };
|
|
78
|
+
var businessFinancingApiKeyMapping = { ...reverseMapping(businessFinancingBaseMapping) };
|
|
79
|
+
var businessFinancingIndividualApiKeyMapping = { ...reverseMapping(businessFinancingIndividualMapping) };
|
|
80
|
+
var businessFinancingSoleProprietorApiKeyMapping = { ...reverseMapping(businessFinancingSoleProprietorMapping) };
|
|
81
|
+
//#endregion
|
|
82
|
+
//#region src/components/EFP/mapping/mapBusinessFinancingToLegalEntity.ts
|
|
83
|
+
var mapBusinessFinancingToLegalEntity = (data, isIndividualOrSoleProprietor, customMapping) => {
|
|
84
|
+
if (customMapping) return formatObject(data, customMapping);
|
|
85
|
+
return formatObject(data, isIndividualOrSoleProprietor ? businessFinancingSoleProprietorApiKeyMapping : businessFinancingApiKeyMapping);
|
|
86
|
+
};
|
|
87
|
+
//#endregion
|
|
88
|
+
//#region src/components/EFP/tasks/BusinessFinancingDropin/types.ts
|
|
89
|
+
var BusinessFinancingPages = {
|
|
90
|
+
COMPANY_PAGE: "company",
|
|
91
|
+
SOLE_PROPRIETOR_PAGE: "soleProprietor",
|
|
92
|
+
PARENT_COMPANY_PAGE: "parentCompany",
|
|
93
|
+
ULTIMATE_PARENT_COMPANY_PAGE: "ultimateParentCompany"
|
|
94
|
+
};
|
|
95
|
+
var BusinessFinancingRadioIds = {
|
|
96
|
+
YES: "Yes",
|
|
97
|
+
NO: "No"
|
|
98
|
+
};
|
|
99
|
+
var businessFinancingRadioItems = [{
|
|
100
|
+
id: BusinessFinancingRadioIds.YES,
|
|
101
|
+
name: "yes"
|
|
102
|
+
}, {
|
|
103
|
+
id: BusinessFinancingRadioIds.NO,
|
|
104
|
+
name: "no"
|
|
105
|
+
}];
|
|
106
|
+
var businessFinancingParentRadioItems = [{
|
|
107
|
+
id: BusinessFinancingRadioIds.YES,
|
|
108
|
+
name: "yes"
|
|
109
|
+
}, {
|
|
110
|
+
id: BusinessFinancingRadioIds.NO,
|
|
111
|
+
name: "noIdontKnow"
|
|
112
|
+
}];
|
|
113
|
+
var companySchemaKeys = [
|
|
114
|
+
"legalForm",
|
|
115
|
+
"naceCode",
|
|
116
|
+
"numberOfEmployees",
|
|
117
|
+
"doesYourCompanyHaveLEI",
|
|
118
|
+
"legalEntityIdentifier",
|
|
119
|
+
"isCompanyOwnedByAnotherCompany",
|
|
120
|
+
"isParentOwnedByAnotherCompany",
|
|
121
|
+
"financialReportingDate",
|
|
122
|
+
"currency",
|
|
123
|
+
"balanceSheetTotal",
|
|
124
|
+
"annualTurnover",
|
|
125
|
+
"legalInformationInsolvency",
|
|
126
|
+
"legalProceedingsDate"
|
|
127
|
+
];
|
|
128
|
+
var soleProprietorSchemaKeys = [
|
|
129
|
+
"gender",
|
|
130
|
+
"countryOfBirth",
|
|
131
|
+
"naceCode",
|
|
132
|
+
"legalInformationInsolvency",
|
|
133
|
+
"legalProceedingsDate"
|
|
134
|
+
];
|
|
135
|
+
var parentCompaniesSchemaKeys = [
|
|
136
|
+
"legalName",
|
|
137
|
+
"legalForm",
|
|
138
|
+
"naceCode",
|
|
139
|
+
"numberOfEmployees",
|
|
140
|
+
"doesYourCompanyHaveLEI",
|
|
141
|
+
"legalEntityIdentifier",
|
|
142
|
+
"isThisAddressTheMainHeadquarters",
|
|
143
|
+
"financialReportingDate",
|
|
144
|
+
"currency",
|
|
145
|
+
"balanceSheetTotal",
|
|
146
|
+
"annualTurnover",
|
|
147
|
+
"legalInformationInsolvency",
|
|
148
|
+
"legalProceedingsDate",
|
|
149
|
+
"registrationAddress",
|
|
150
|
+
"sameAddressAsRootEntity"
|
|
151
|
+
];
|
|
152
|
+
var businessFinancingForms = {
|
|
153
|
+
company: {
|
|
154
|
+
formId: "company",
|
|
155
|
+
formName: "businessInformation",
|
|
156
|
+
fields: [...companySchemaKeys]
|
|
157
|
+
},
|
|
158
|
+
soleProprietor: {
|
|
159
|
+
formId: "soleProprietor",
|
|
160
|
+
formName: "businessInformation",
|
|
161
|
+
fields: [...soleProprietorSchemaKeys]
|
|
162
|
+
},
|
|
163
|
+
parentCompany: {
|
|
164
|
+
formId: "parentCompany",
|
|
165
|
+
formName: "parentCompanyInformation",
|
|
166
|
+
fields: [...parentCompaniesSchemaKeys]
|
|
167
|
+
},
|
|
168
|
+
ultimateParentCompany: {
|
|
169
|
+
formId: "ultimateParentCompany",
|
|
170
|
+
formName: "ultimateParentCompanyInformation",
|
|
171
|
+
fields: [...parentCompaniesSchemaKeys]
|
|
172
|
+
}
|
|
173
|
+
};
|
|
174
|
+
var BusinessFinancingIndices = {
|
|
175
|
+
COMPANY: "company",
|
|
176
|
+
SOLE_PROPRIETOR: "soleProprietor",
|
|
177
|
+
PARENT_COMPANY: "parentCompany",
|
|
178
|
+
ULTIMATE_PARENT_COMPANY: "ultimateParentCompany"
|
|
179
|
+
};
|
|
180
|
+
//#endregion
|
|
181
|
+
//#region src/components/EFP/tasks/BusinessFinancingDropin/utils.ts
|
|
182
|
+
var getLegalEntityId = (businessFinancingIndex, rootLegalEntity) => {
|
|
183
|
+
if (!rootLegalEntity) return void 0;
|
|
184
|
+
if (businessFinancingIndex === BusinessFinancingIndices.COMPANY || businessFinancingIndex === BusinessFinancingIndices.SOLE_PROPRIETOR) return rootLegalEntity.id;
|
|
185
|
+
if (!rootLegalEntity?.entityAssociations) return void 0;
|
|
186
|
+
const businessFinancingEntityType = BusinessFinancingIndices.PARENT_COMPANY ? "immediateParentCompany" : "ultimateParentCompany";
|
|
187
|
+
return (rootLegalEntity.entityAssociations?.find((entity) => entity.type === businessFinancingEntityType))?.legalEntityId;
|
|
188
|
+
};
|
|
189
|
+
var USER_LOCALE = typeof navigator !== "undefined" ? navigator.language : "en-US";
|
|
190
|
+
var entityHasParentCompany = (data) => data.company?.isCompanyOwnedByAnotherCompany && data.company?.isCompanyOwnedByAnotherCompany === "Yes";
|
|
191
|
+
var entityHasUltimateParentCompany = (data) => data.company?.isParentOwnedByAnotherCompany && data.company?.isParentOwnedByAnotherCompany === "Yes";
|
|
192
|
+
var financialReportsToString = (financialReports) => {
|
|
193
|
+
return {
|
|
194
|
+
...financialReports,
|
|
195
|
+
numberOfEmployees: financialReports.numberOfEmployees ? financialReports.numberOfEmployees.toString() : void 0,
|
|
196
|
+
annualTurnover: financialReports.annualTurnover ? financialReports.annualTurnover.toString() : void 0,
|
|
197
|
+
balanceSheetTotal: financialReports.balanceSheetTotal ? financialReports.balanceSheetTotal.toString() : void 0
|
|
198
|
+
};
|
|
199
|
+
};
|
|
200
|
+
/**
|
|
201
|
+
* Prepares sole proprietor business financing data for submission.
|
|
202
|
+
* IMPORTANT: Both root LE (individual) and sole prop LE MUST exist before calling this.
|
|
203
|
+
* This function always returns UPDATE payloads (with IDs), never CREATE payloads.
|
|
204
|
+
*/
|
|
205
|
+
var prepareSoleProprietorBusinessFinancingSubmitData = (data, rootLegalEntity, soleProprietorLegalEntity) => {
|
|
206
|
+
const businessFinancingData = data.soleProprietor;
|
|
207
|
+
if (!businessFinancingData || !rootLegalEntity?.id || !soleProprietorLegalEntity?.id) return null;
|
|
208
|
+
const individualChanges = mapBusinessFinancingToLegalEntity(businessFinancingData, true, businessFinancingIndividualApiKeyMapping);
|
|
209
|
+
const { identificationData: _identificationData, ...individualWithoutIdData } = rootLegalEntity.individual || {};
|
|
210
|
+
const individualPayload = {
|
|
211
|
+
id: rootLegalEntity.id,
|
|
212
|
+
individual: {
|
|
213
|
+
...individualWithoutIdData,
|
|
214
|
+
...individualChanges.individual
|
|
215
|
+
}
|
|
216
|
+
};
|
|
217
|
+
const solePropChanges = mapBusinessFinancingToLegalEntity(businessFinancingData, true, businessFinancingSoleProprietorApiKeyMapping);
|
|
218
|
+
if (!solePropChanges.soleProprietorship) return null;
|
|
219
|
+
if (solePropChanges.soleProprietorship.statusOfLegalProceeding === "iDontKnow") solePropChanges.soleProprietorship.statusOfLegalProceeding = "noLegalActionsTaken";
|
|
220
|
+
if (solePropChanges.soleProprietorship.statusOfLegalProceeding === "iDontKnow" || solePropChanges.soleProprietorship.statusOfLegalProceeding === "noLegalActionsTaken") solePropChanges.soleProprietorship.dateOfInitiationOfLegalProceeding = "";
|
|
221
|
+
return {
|
|
222
|
+
individualPayload,
|
|
223
|
+
solePropPayload: {
|
|
224
|
+
id: soleProprietorLegalEntity.id,
|
|
225
|
+
soleProprietorship: {
|
|
226
|
+
...soleProprietorLegalEntity.soleProprietorship,
|
|
227
|
+
...solePropChanges.soleProprietorship
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
};
|
|
231
|
+
};
|
|
232
|
+
var prepareBusinessFinancingSubmitData = (businessFinancingIndex, data, rootLegalEntity) => {
|
|
233
|
+
const businessFinancingData = data[businessFinancingIndex];
|
|
234
|
+
if (!businessFinancingData) return null;
|
|
235
|
+
if (businessFinancingIndex === BusinessFinancingIndices.PARENT_COMPANY && !entityHasParentCompany(data)) return null;
|
|
236
|
+
if (businessFinancingIndex === BusinessFinancingIndices.ULTIMATE_PARENT_COMPANY && (!entityHasUltimateParentCompany(data) || !entityHasParentCompany(data))) return null;
|
|
237
|
+
const businessFinancingDetails = mapBusinessFinancingToLegalEntity(businessFinancingData);
|
|
238
|
+
const isSoleProprietor = businessFinancingIndex === BusinessFinancingIndices.SOLE_PROPRIETOR;
|
|
239
|
+
if (isSoleProprietor) throw new Error("Use prepareSoleProprietorBusinessFinancingSubmitData for sole proprietor business financing");
|
|
240
|
+
else if (isSoleProprietor === false) {
|
|
241
|
+
if (!businessFinancingDetails.organization) return null;
|
|
242
|
+
const businessFinancingCountry = businessFinancingDetails.organization.registeredAddress?.country || rootLegalEntity?.organization?.registeredAddress?.country;
|
|
243
|
+
const companyData = businessFinancingData;
|
|
244
|
+
if (companyData.financialReportingDate && isEeaCountry(businessFinancingCountry)) {
|
|
245
|
+
const businessFinancingFinancialReport = mapFinancialInformationToFinancialReport({
|
|
246
|
+
currency: companyData.currency,
|
|
247
|
+
financialReportingDate: companyData.financialReportingDate,
|
|
248
|
+
numberOfEmployees: companyData.numberOfEmployees ? Number(companyData.numberOfEmployees) : void 0,
|
|
249
|
+
balanceSheetTotal: companyData.balanceSheetTotal ? Number(companyData.balanceSheetTotal) : void 0,
|
|
250
|
+
annualTurnover: companyData.annualTurnover ? Number(companyData.annualTurnover) : void 0
|
|
251
|
+
});
|
|
252
|
+
businessFinancingDetails.organization.financialReports = [businessFinancingFinancialReport];
|
|
253
|
+
}
|
|
254
|
+
if (!isEeaCountry(businessFinancingCountry)) businessFinancingDetails.organization.financialReports = void 0;
|
|
255
|
+
if (businessFinancingDetails.organization.statusOfLegalProceeding === "iDontKnow") businessFinancingDetails.organization.statusOfLegalProceeding = "noLegalActionsTaken";
|
|
256
|
+
if (businessFinancingDetails.organization.statusOfLegalProceeding === "iDontKnow" || businessFinancingDetails.organization.statusOfLegalProceeding === "noLegalActionsTaken") businessFinancingDetails.organization.dateOfInitiationOfLegalProceeding = "";
|
|
257
|
+
if (companyData.sameAddressAsRootEntity && rootLegalEntity?.organization?.registeredAddress) businessFinancingDetails.organization.registeredAddress = { ...rootLegalEntity.organization.registeredAddress };
|
|
258
|
+
if (companyData.isThisAddressTheMainHeadquarters) businessFinancingDetails.organization.principalPlaceOfBusiness = { ...businessFinancingDetails.organization.registeredAddress };
|
|
259
|
+
if (companyData.doesYourCompanyHaveLEI !== "Yes") delete businessFinancingDetails.organization.globalLegalEntityIdentifier;
|
|
260
|
+
}
|
|
261
|
+
const businessFinancingLegalEntityId = getLegalEntityId(businessFinancingIndex, rootLegalEntity);
|
|
262
|
+
if (businessFinancingLegalEntityId) {
|
|
263
|
+
delete businessFinancingDetails.type;
|
|
264
|
+
businessFinancingDetails.id = businessFinancingLegalEntityId;
|
|
265
|
+
} else {
|
|
266
|
+
delete businessFinancingDetails.id;
|
|
267
|
+
businessFinancingDetails.type = isSoleProprietor ? LegalEntityTypes.SOLE_PROPRIETORSHIP : LegalEntityTypes.ORGANIZATION;
|
|
268
|
+
}
|
|
269
|
+
return businessFinancingDetails;
|
|
270
|
+
};
|
|
271
|
+
var appendBusinessFinancingData = (legalOrganization, businessFinancingData) => {
|
|
272
|
+
if (!legalOrganization || !businessFinancingData) return businessFinancingData;
|
|
273
|
+
const clonedBusinessFinancingData = { ...businessFinancingData };
|
|
274
|
+
let financialReportData = {};
|
|
275
|
+
if (legalOrganization.financialReports) {
|
|
276
|
+
financialReportData = financialReportsToString(mapFinancialReportsToFinancialInformation(Array.isArray(legalOrganization.financialReports) ? legalOrganization.financialReports : [legalOrganization.financialReports], false));
|
|
277
|
+
if (financialReportData.numberOfEmployees) financialReportData.numberOfEmployees = financialReportData.numberOfEmployees.toString();
|
|
278
|
+
}
|
|
279
|
+
return {
|
|
280
|
+
...clonedBusinessFinancingData,
|
|
281
|
+
...financialReportData,
|
|
282
|
+
numberOfEmployees: financialReportData.numberOfEmployees ? financialReportData.numberOfEmployees.toString() : void 0,
|
|
283
|
+
doesYourCompanyHaveLEI: legalOrganization.globalLegalEntityIdentifier ? "Yes" : "No",
|
|
284
|
+
isThisAddressTheMainHeadquarters: legalOrganization.principalPlaceOfBusiness ? "Yes" : clonedBusinessFinancingData.isThisAddressTheMainHeadquarters
|
|
285
|
+
};
|
|
286
|
+
};
|
|
287
|
+
var appendSoleProprietorBusinessFinancingData = (legalArrangement, businessFinancingData) => {
|
|
288
|
+
if (!legalArrangement || !businessFinancingData) return businessFinancingData;
|
|
289
|
+
return {
|
|
290
|
+
...businessFinancingData,
|
|
291
|
+
naceCode: businessFinancingData.naceCode ?? legalArrangement.economicSector,
|
|
292
|
+
legalInformationInsolvency: businessFinancingData.legalInformationInsolvency ?? legalArrangement.statusOfLegalProceeding,
|
|
293
|
+
legalProceedingsDate: businessFinancingData.legalProceedingsDate ?? legalArrangement.dateOfInitiationOfLegalProceeding
|
|
294
|
+
};
|
|
295
|
+
};
|
|
296
|
+
var handleBusinessFinancingFormSubmission = async (businessFinancingType, details, createFunction, updateFunction, entityId) => {
|
|
297
|
+
if (!details) throw new Error(`Missing details for ${businessFinancingType}`);
|
|
298
|
+
try {
|
|
299
|
+
if (entityId) return await updateFunction({
|
|
300
|
+
...details,
|
|
301
|
+
id: entityId
|
|
302
|
+
});
|
|
303
|
+
return await createFunction(details);
|
|
304
|
+
} catch (error) {
|
|
305
|
+
const businessFinancingError = /* @__PURE__ */ new Error(`Form submission failed for ${businessFinancingType}`);
|
|
306
|
+
businessFinancingError.actualError = error;
|
|
307
|
+
businessFinancingError.businessFinancingType = businessFinancingError;
|
|
308
|
+
throw businessFinancingError;
|
|
309
|
+
}
|
|
310
|
+
};
|
|
311
|
+
var getCompanySchemaKeys = (country, currentData, schemaKeys) => {
|
|
312
|
+
const fieldsToRemove = [];
|
|
313
|
+
if (!isEeaCountry(country)) fieldsToRemove.push("financialReportingDate", "balanceSheetTotal", "annualTurnover", "currency", "numberOfEmployees");
|
|
314
|
+
if (currentData.isCompanyOwnedByAnotherCompany !== "Yes") fieldsToRemove.push("isParentOwnedByAnotherCompany");
|
|
315
|
+
if (currentData.doesYourCompanyHaveLEI !== "Yes") fieldsToRemove.push("legalEntityIdentifier");
|
|
316
|
+
if (!currentData?.legalInformationInsolvency || ["noLegalActionsTaken", "iDontKnow"].includes(currentData?.legalInformationInsolvency)) fieldsToRemove.push("legalProceedingsDate");
|
|
317
|
+
return schemaKeys.filter((field) => !fieldsToRemove.includes(field));
|
|
318
|
+
};
|
|
319
|
+
var getSoleProprietorSchemaKeys = (currentData, schemaKeys) => {
|
|
320
|
+
const fieldsToRemove = [];
|
|
321
|
+
if (!currentData?.legalInformationInsolvency || ["noLegalActionsTaken", "iDontKnow"].includes(currentData?.legalInformationInsolvency)) fieldsToRemove.push("legalProceedingsDate");
|
|
322
|
+
return schemaKeys.filter((field) => !fieldsToRemove.includes(field));
|
|
323
|
+
};
|
|
324
|
+
var getParentCompanySchemaKeys = (currentData, schemaKeys, rootEntityAddress) => {
|
|
325
|
+
const fieldsToRemove = [];
|
|
326
|
+
if (!isEeaCountry(currentData?.sameAddressAsRootEntity && rootEntityAddress ? rootEntityAddress.country : currentData?.registrationAddress?.country)) fieldsToRemove.push("financialReportingDate", "balanceSheetTotal", "annualTurnover", "currency", "numberOfEmployees");
|
|
327
|
+
if (currentData?.sameAddressAsRootEntity) fieldsToRemove.push("registrationAddress");
|
|
328
|
+
if (currentData.doesYourCompanyHaveLEI !== "Yes") fieldsToRemove.push("legalEntityIdentifier");
|
|
329
|
+
if (!currentData?.legalInformationInsolvency || ["noLegalActionsTaken", "iDontKnow"].includes(currentData?.legalInformationInsolvency)) fieldsToRemove.push("legalProceedingsDate");
|
|
330
|
+
return schemaKeys.filter((field) => !fieldsToRemove.includes(field));
|
|
331
|
+
};
|
|
332
|
+
var getBusinessFinancingRequiredFields = (country, data, rootEntityAddress) => {
|
|
333
|
+
let requiredFields = void 0;
|
|
334
|
+
if (!data) return requiredFields;
|
|
335
|
+
const { company, soleProprietor, parentCompany = {}, ultimateParentCompany = {} } = data;
|
|
336
|
+
if (soleProprietor) {
|
|
337
|
+
requiredFields = {};
|
|
338
|
+
requiredFields.soleProprietor = getSoleProprietorSchemaKeys(soleProprietor, soleProprietorSchemaKeys);
|
|
339
|
+
delete requiredFields.company;
|
|
340
|
+
return requiredFields;
|
|
341
|
+
}
|
|
342
|
+
if (company) {
|
|
343
|
+
requiredFields = {};
|
|
344
|
+
requiredFields.company = getCompanySchemaKeys(country, company, companySchemaKeys);
|
|
345
|
+
}
|
|
346
|
+
if (company?.isCompanyOwnedByAnotherCompany === "Yes") {
|
|
347
|
+
const parentCompanyRequiredFields = getParentCompanySchemaKeys(parentCompany, parentCompaniesSchemaKeys, rootEntityAddress);
|
|
348
|
+
requiredFields = {
|
|
349
|
+
...requiredFields,
|
|
350
|
+
parentCompany: parentCompanyRequiredFields
|
|
351
|
+
};
|
|
352
|
+
}
|
|
353
|
+
if (company?.isParentOwnedByAnotherCompany === "Yes") {
|
|
354
|
+
const ultimateParentCompanyRequiredFields = getParentCompanySchemaKeys(ultimateParentCompany, parentCompaniesSchemaKeys, rootEntityAddress);
|
|
355
|
+
requiredFields = {
|
|
356
|
+
...requiredFields,
|
|
357
|
+
ultimateParentCompany: ultimateParentCompanyRequiredFields
|
|
358
|
+
};
|
|
359
|
+
}
|
|
360
|
+
return requiredFields;
|
|
361
|
+
};
|
|
362
|
+
var getAddressCountryForParentCompany = (parentCompany, leAddress) => {
|
|
363
|
+
return parentCompany?.sameAddressAsRootEntity && leAddress ? leAddress?.country : parentCompany?.registrationAddress?.country;
|
|
364
|
+
};
|
|
365
|
+
//#endregion
|
|
366
|
+
//#region src/components/EmbeddedDropins/BusinessFinancingComponent/utils.ts
|
|
367
|
+
var getTranslatedGender = (t, gender) => {
|
|
368
|
+
if (!gender) return void 0;
|
|
369
|
+
const key = {
|
|
370
|
+
M: "male",
|
|
371
|
+
F: "female",
|
|
372
|
+
U: "preferNotToSay"
|
|
373
|
+
}[gender];
|
|
374
|
+
return key ? t(($) => $[key]) : gender;
|
|
375
|
+
};
|
|
376
|
+
var getTranslatedLegalInsolvency = (t, insolvencyData) => {
|
|
377
|
+
if (!insolvencyData) return void 0;
|
|
378
|
+
return insolvencyData === "noLegalActionsTaken" ? t(($) => $["no"]) : t(($) => $[insolvencyData]);
|
|
379
|
+
};
|
|
380
|
+
var getValidUserLocale = (locale) => {
|
|
381
|
+
try {
|
|
382
|
+
new Intl.NumberFormat(locale);
|
|
383
|
+
return locale;
|
|
384
|
+
} catch (error) {
|
|
385
|
+
console.warn(`Invalid locale '${locale}' provided. Falling back to 'en-US'.`, error);
|
|
386
|
+
return "en-US";
|
|
387
|
+
}
|
|
388
|
+
};
|
|
389
|
+
var getFormattedAmount = (value, currency) => {
|
|
390
|
+
if (!value) return void 0;
|
|
391
|
+
const userLocale = getValidUserLocale(USER_LOCALE);
|
|
392
|
+
return `${currency} ${Number(value).toLocaleString(userLocale)}`;
|
|
393
|
+
};
|
|
394
|
+
var formatDataForSummary = (language, t, datasetUtils, data, rootLeAddress) => {
|
|
395
|
+
const summaryData = cloneObject(data) || {};
|
|
396
|
+
const { company, parentCompany, ultimateParentCompany, soleProprietor } = summaryData;
|
|
397
|
+
if (soleProprietor) {
|
|
398
|
+
soleProprietor.naceCode = soleProprietor.naceCodeLabel;
|
|
399
|
+
soleProprietor.countryOfBirth = soleProprietor.countryOfBirth ? datasetUtils.getCountryName(soleProprietor.countryOfBirth) ?? void 0 : void 0;
|
|
400
|
+
soleProprietor.legalInformationInsolvency = getTranslatedLegalInsolvency(t, soleProprietor.legalInformationInsolvency);
|
|
401
|
+
soleProprietor.legalProceedingsDate = soleProprietor.legalProceedingsDate ? localizeDateString(soleProprietor.legalProceedingsDate, language) : void 0;
|
|
402
|
+
if (soleProprietor.gender) soleProprietor.gender = getTranslatedGender(t, soleProprietor.gender);
|
|
403
|
+
}
|
|
404
|
+
if (company) {
|
|
405
|
+
company.legalForm = company.legalFormLabel;
|
|
406
|
+
company.naceCode = company.naceCodeLabel;
|
|
407
|
+
company.legalEntityIdentifier = company.legalEntityIdentifier ?? "None";
|
|
408
|
+
company.legalInformationInsolvency = getTranslatedLegalInsolvency(t, company?.legalInformationInsolvency);
|
|
409
|
+
company.annualTurnover = getFormattedAmount(company.annualTurnover, company.currency);
|
|
410
|
+
company.balanceSheetTotal = getFormattedAmount(company.balanceSheetTotal, company.currency);
|
|
411
|
+
const { legalProceedingsDate, financialReportingDate } = company;
|
|
412
|
+
company.legalProceedingsDate = legalProceedingsDate ? localizeDateString(legalProceedingsDate, language) : void 0;
|
|
413
|
+
company.financialReportingDate = financialReportingDate ? localizeDateString(financialReportingDate, language) : void 0;
|
|
414
|
+
}
|
|
415
|
+
if (parentCompany) {
|
|
416
|
+
const { legalName, legalFormLabel, naceCodeLabel, country, legalEntityIdentifier, legalInformationInsolvency, annualTurnover, currency, balanceSheetTotal, legalProceedingsDate, financialReportingDate, sameAddressAsRootEntity, registrationAddress } = parentCompany;
|
|
417
|
+
if (legalName) {
|
|
418
|
+
parentCompany.legalForm = legalFormLabel;
|
|
419
|
+
parentCompany.naceCode = naceCodeLabel;
|
|
420
|
+
parentCompany.country = country ? datasetUtils.getCountryName(country) : "";
|
|
421
|
+
if (registrationAddress) parentCompany.registrationAddress = {
|
|
422
|
+
...registrationAddress,
|
|
423
|
+
country: datasetUtils.getCountryName(registrationAddress?.country)
|
|
424
|
+
};
|
|
425
|
+
parentCompany.legalEntityIdentifier = legalEntityIdentifier ?? "None";
|
|
426
|
+
parentCompany.legalInformationInsolvency = getTranslatedLegalInsolvency(t, legalInformationInsolvency);
|
|
427
|
+
parentCompany.annualTurnover = getFormattedAmount(annualTurnover, currency);
|
|
428
|
+
parentCompany.balanceSheetTotal = getFormattedAmount(balanceSheetTotal, currency);
|
|
429
|
+
parentCompany.legalProceedingsDate = legalProceedingsDate ? localizeDateString(legalProceedingsDate, language) : void 0;
|
|
430
|
+
parentCompany.financialReportingDate = financialReportingDate ? localizeDateString(financialReportingDate, language) : void 0;
|
|
431
|
+
if (sameAddressAsRootEntity) {
|
|
432
|
+
delete parentCompany.country;
|
|
433
|
+
summaryData.parentCompany = {
|
|
434
|
+
...parentCompany,
|
|
435
|
+
registrationAddress: {
|
|
436
|
+
...rootLeAddress,
|
|
437
|
+
country: datasetUtils.getCountryName(rootLeAddress?.country)
|
|
438
|
+
}
|
|
439
|
+
};
|
|
440
|
+
}
|
|
441
|
+
}
|
|
442
|
+
}
|
|
443
|
+
if (ultimateParentCompany) {
|
|
444
|
+
const { legalName, legalFormLabel, naceCodeLabel, country, legalEntityIdentifier, legalInformationInsolvency, annualTurnover, currency, balanceSheetTotal, legalProceedingsDate, financialReportingDate, sameAddressAsRootEntity, registrationAddress } = ultimateParentCompany;
|
|
445
|
+
if (legalName) {
|
|
446
|
+
ultimateParentCompany.legalForm = legalFormLabel;
|
|
447
|
+
ultimateParentCompany.naceCode = naceCodeLabel;
|
|
448
|
+
ultimateParentCompany.country = country ? datasetUtils.getCountryName(country) : "";
|
|
449
|
+
if (registrationAddress) ultimateParentCompany.registrationAddress = {
|
|
450
|
+
...registrationAddress,
|
|
451
|
+
country: datasetUtils.getCountryName(registrationAddress?.country)
|
|
452
|
+
};
|
|
453
|
+
ultimateParentCompany.legalEntityIdentifier = legalEntityIdentifier ?? "None";
|
|
454
|
+
ultimateParentCompany.legalInformationInsolvency = getTranslatedLegalInsolvency(t, legalInformationInsolvency);
|
|
455
|
+
ultimateParentCompany.annualTurnover = getFormattedAmount(annualTurnover, currency);
|
|
456
|
+
ultimateParentCompany.balanceSheetTotal = getFormattedAmount(balanceSheetTotal, currency);
|
|
457
|
+
ultimateParentCompany.legalProceedingsDate = legalProceedingsDate ? localizeDateString(legalProceedingsDate, language) : void 0;
|
|
458
|
+
ultimateParentCompany.financialReportingDate = financialReportingDate ? localizeDateString(financialReportingDate, language) : void 0;
|
|
459
|
+
if (sameAddressAsRootEntity) {
|
|
460
|
+
delete ultimateParentCompany.country;
|
|
461
|
+
summaryData.ultimateParentCompany = {
|
|
462
|
+
...ultimateParentCompany,
|
|
463
|
+
registrationAddress: {
|
|
464
|
+
...rootLeAddress,
|
|
465
|
+
country: datasetUtils.getCountryName(rootLeAddress?.country)
|
|
466
|
+
}
|
|
467
|
+
};
|
|
468
|
+
}
|
|
469
|
+
}
|
|
470
|
+
}
|
|
471
|
+
return summaryData;
|
|
472
|
+
};
|
|
473
|
+
//#endregion
|
|
474
|
+
//#region src/components/EFP/mapping/mapLegalEntityToBusinessFinancing.ts
|
|
475
|
+
var mapLegalEntityToBusinessFinancing = (legalEntity) => {
|
|
476
|
+
if (legalEntity.type === LegalEntityTypes.SOLE_PROPRIETORSHIP) return formatObject(legalEntity, businessFinancingSoleProprietorComponentsKeyMapping);
|
|
477
|
+
if (legalEntity.type === LegalEntityTypes.INDIVIDUAL) {
|
|
478
|
+
if (legalEntity.entityAssociations?.find((ea) => ea.entityType === LegalEntityTypes.SOLE_PROPRIETORSHIP && ea.associatorId === legalEntity.id)) {
|
|
479
|
+
const solePropMapped = formatObject(legalEntity, businessFinancingSoleProprietorComponentsKeyMapping);
|
|
480
|
+
const birthData = legalEntity.individual?.birthData;
|
|
481
|
+
return {
|
|
482
|
+
...solePropMapped,
|
|
483
|
+
gender: birthData?.genderCode || legalEntity.individual?.gender,
|
|
484
|
+
countryOfBirth: birthData?.birthCountry || legalEntity.individual?.countryOfBirth
|
|
485
|
+
};
|
|
486
|
+
}
|
|
487
|
+
}
|
|
488
|
+
return formatObject(legalEntity, businessFinancingComponentsKeyMapping);
|
|
489
|
+
};
|
|
490
|
+
//#endregion
|
|
491
|
+
//#region src/api/datasets/useNaceCodes.ts
|
|
492
|
+
var getNaceCodes = async (baseUrl) => {
|
|
493
|
+
return httpGet({
|
|
494
|
+
baseUrl,
|
|
495
|
+
path: `datasets/naceCodes`
|
|
496
|
+
});
|
|
497
|
+
};
|
|
498
|
+
var useNaceCodes = (options) => {
|
|
499
|
+
const { baseUrl } = useApiContext();
|
|
500
|
+
return useQuery({
|
|
501
|
+
queryKey: ["naceCodes"],
|
|
502
|
+
queryFn: () => getNaceCodes(baseUrl.value),
|
|
503
|
+
...options
|
|
504
|
+
});
|
|
505
|
+
};
|
|
506
|
+
//#endregion
|
|
507
|
+
//#region src/components/EFP/fields/NaceCodeField/NaceCodeField.tsx
|
|
508
|
+
function NaceCodeField({ name = "naceCode", data, valid, errorMessage, label, readonly, handleChangeFor }) {
|
|
509
|
+
const { t: commonT } = useTranslation("common");
|
|
510
|
+
const { data: naceCodesData } = useNaceCodes();
|
|
511
|
+
const handleChangeForRef = useRef(handleChangeFor);
|
|
512
|
+
useEffect(() => {
|
|
513
|
+
handleChangeForRef.current = handleChangeFor;
|
|
514
|
+
}, [handleChangeFor]);
|
|
515
|
+
const handleChangeForNaceCode = (e) => {
|
|
516
|
+
const naceCodeEvent = { target: {
|
|
517
|
+
name: "naceCode",
|
|
518
|
+
value: e.target.value
|
|
519
|
+
} };
|
|
520
|
+
handleChangeFor("naceCode")(naceCodeEvent);
|
|
521
|
+
};
|
|
522
|
+
useEffect(() => {
|
|
523
|
+
const naceCodeEvent = { target: {
|
|
524
|
+
name: "naceCodeLabel",
|
|
525
|
+
value: naceCodesData?.find((naceCode) => naceCode.id === data.naceCode)?.name
|
|
526
|
+
} };
|
|
527
|
+
handleChangeForRef.current("naceCodeLabel")(naceCodeEvent);
|
|
528
|
+
}, [data.naceCode, naceCodesData]);
|
|
529
|
+
return /* @__PURE__ */ jsx(Field, {
|
|
530
|
+
name,
|
|
531
|
+
label,
|
|
532
|
+
errorMessage,
|
|
533
|
+
isValid: valid.naceCode,
|
|
534
|
+
children: (childProps) => /* @__PURE__ */ jsx(Select, {
|
|
535
|
+
...childProps,
|
|
536
|
+
name,
|
|
537
|
+
placeholder: commonT(($) => $["selectOne"]),
|
|
538
|
+
selected: data.naceCode,
|
|
539
|
+
items: naceCodesData ?? [],
|
|
540
|
+
readonly: readonly && !!data,
|
|
541
|
+
onChange: handleChangeForNaceCode
|
|
542
|
+
})
|
|
543
|
+
});
|
|
544
|
+
}
|
|
545
|
+
var BusinessFinancing_module_default = {
|
|
546
|
+
"business-financing-lei-radio": "adyen-kyc-business-financing-lei-radio",
|
|
547
|
+
businessFinancingLeiRadio: "adyen-kyc-business-financing-lei-radio",
|
|
548
|
+
"business-financing-title": "adyen-kyc-business-financing-title",
|
|
549
|
+
businessFinancingTitle: "adyen-kyc-business-financing-title",
|
|
550
|
+
"business-financing-body": "adyen-kyc-business-financing-body",
|
|
551
|
+
businessFinancingBody: "adyen-kyc-business-financing-body",
|
|
552
|
+
"business-financing-exposure-financials": "adyen-kyc-business-financing-exposure-financials",
|
|
553
|
+
businessFinancingExposureFinancials: "adyen-kyc-business-financing-exposure-financials",
|
|
554
|
+
"business-financing-structured-address": "adyen-kyc-business-financing-structured-address",
|
|
555
|
+
businessFinancingStructuredAddress: "adyen-kyc-business-financing-structured-address"
|
|
556
|
+
};
|
|
557
|
+
//#endregion
|
|
558
|
+
//#region src/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingBusinessInformation.tsx
|
|
559
|
+
var businessInformationFields = [
|
|
560
|
+
"legalForm",
|
|
561
|
+
"naceCode",
|
|
562
|
+
"naceCodeLabel",
|
|
563
|
+
"legalFormLabel",
|
|
564
|
+
"doesYourCompanyHaveLEI",
|
|
565
|
+
"legalEntityIdentifier"
|
|
566
|
+
];
|
|
567
|
+
function BusinessFinancingBusinessInformation(props) {
|
|
568
|
+
const { data, valid, errors, country, handleFieldChange, fieldValidationErrors, targetPage, sectionHeading, hideSectionHeading, isSoleProprietor } = props;
|
|
569
|
+
const { t: businessFinancingT } = useTranslation("businessFinancing");
|
|
570
|
+
const { t: commonT } = useTranslation("common");
|
|
571
|
+
const formUtils = createFormUtils(props, commonT);
|
|
572
|
+
if (!handleFieldChange) return;
|
|
573
|
+
const isMainCompany = targetPage === BusinessFinancingPages.COMPANY_PAGE;
|
|
574
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
575
|
+
!hideSectionHeading && /* @__PURE__ */ jsx(Typography, {
|
|
576
|
+
el: "h3",
|
|
577
|
+
variant: "title",
|
|
578
|
+
className: BusinessFinancing_module_default.businessFinancingTitle,
|
|
579
|
+
children: sectionHeading ? businessFinancingT(($) => $[sectionHeading]) : businessFinancingT(($) => $["businessInformation"])
|
|
580
|
+
}),
|
|
581
|
+
!isSoleProprietor && /* @__PURE__ */ jsx(LegalFormField, {
|
|
582
|
+
name: "legalForm",
|
|
583
|
+
countryCode: country,
|
|
584
|
+
data: { legalForm: data?.legalForm },
|
|
585
|
+
valid: { legalForm: valid?.legalForm },
|
|
586
|
+
errorMessage: formUtils.getErrorMessage("legalForm", errors, fieldValidationErrors),
|
|
587
|
+
handleChangeFor: handleFieldChange,
|
|
588
|
+
readonly: false,
|
|
589
|
+
label: businessFinancingT(($) => $["businessStructure"])
|
|
590
|
+
}),
|
|
591
|
+
/* @__PURE__ */ jsx(NaceCodeField, {
|
|
592
|
+
name: "naceCode",
|
|
593
|
+
data: { naceCode: data?.naceCode },
|
|
594
|
+
valid: { naceCode: valid?.naceCode },
|
|
595
|
+
errorMessage: formUtils.getErrorMessage("naceCode", errors, fieldValidationErrors),
|
|
596
|
+
handleChangeFor: handleFieldChange,
|
|
597
|
+
readonly: false,
|
|
598
|
+
label: businessFinancingT(($) => $["industryAndNaceCode"])
|
|
599
|
+
}),
|
|
600
|
+
!isSoleProprietor && /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx(Field, {
|
|
601
|
+
el: "fieldset",
|
|
602
|
+
name: "doesYourCompanyHaveLEI",
|
|
603
|
+
label: businessFinancingT(($) => $[isMainCompany ? "doesYourCompanyHaveLEI" : "doesThisCompanyHaveLEI"]),
|
|
604
|
+
helper: /* @__PURE__ */ jsxs(Typography, {
|
|
605
|
+
el: "div",
|
|
606
|
+
variant: "body",
|
|
607
|
+
color: "secondary",
|
|
608
|
+
className: BusinessFinancing_module_default.businessFinancingBody,
|
|
609
|
+
children: [
|
|
610
|
+
businessFinancingT(($) => $["anLEIIsAUniqueCode"]),
|
|
611
|
+
" ",
|
|
612
|
+
/* @__PURE__ */ jsx(Link, {
|
|
613
|
+
href: "https://search.gleif.org/#/search/",
|
|
614
|
+
external: true,
|
|
615
|
+
inline: true,
|
|
616
|
+
children: businessFinancingT(($) => $["lookUpYourLEI"])
|
|
617
|
+
})
|
|
618
|
+
]
|
|
619
|
+
}),
|
|
620
|
+
errorMessage: formUtils.getErrorMessage("doesYourCompanyHaveLEI", errors, fieldValidationErrors),
|
|
621
|
+
children: (childProps) => /* @__PURE__ */ jsx(RadioGroup, {
|
|
622
|
+
...childProps,
|
|
623
|
+
name: "doesYourCompanyHaveLEI",
|
|
624
|
+
items: isMainCompany ? businessFinancingRadioItems : businessFinancingParentRadioItems,
|
|
625
|
+
value: data?.doesYourCompanyHaveLEI,
|
|
626
|
+
disabled: false,
|
|
627
|
+
className: BusinessFinancing_module_default.businessFinancingLeiRadio,
|
|
628
|
+
onChange: handleFieldChange("doesYourCompanyHaveLEI"),
|
|
629
|
+
"aria-required": true,
|
|
630
|
+
"aria-invalid": !valid?.doesYourCompanyHaveLEI
|
|
631
|
+
})
|
|
632
|
+
}), data?.doesYourCompanyHaveLEI === "Yes" && /* @__PURE__ */ jsx(Field, {
|
|
633
|
+
name: "legalEntityIdentifier",
|
|
634
|
+
label: businessFinancingT(($) => $["legalEntityIdentifier"]),
|
|
635
|
+
errorMessage: formUtils.getErrorMessage("legalEntityIdentifier", errors, fieldValidationErrors),
|
|
636
|
+
isValid: valid?.legalEntityIdentifier,
|
|
637
|
+
helper: commonT(($) => $["enterNCharactersWithAMixForExample"], {
|
|
638
|
+
numChars: 20,
|
|
639
|
+
example: "529900T8BM49AURSDO55"
|
|
640
|
+
}),
|
|
641
|
+
children: (childProps) => /* @__PURE__ */ jsx(InputText, {
|
|
642
|
+
...childProps,
|
|
643
|
+
name: "legalEntityIdentifier",
|
|
644
|
+
value: data?.legalEntityIdentifier,
|
|
645
|
+
readonly: false,
|
|
646
|
+
onInput: handleFieldChange("legalEntityIdentifier", "input"),
|
|
647
|
+
onBlur: handleFieldChange("legalEntityIdentifier", "blur"),
|
|
648
|
+
"aria-required": true,
|
|
649
|
+
"aria-invalid": !valid?.legalEntityIdentifier,
|
|
650
|
+
isValid: valid?.legalEntityIdentifier
|
|
651
|
+
})
|
|
652
|
+
})] })
|
|
653
|
+
] });
|
|
654
|
+
}
|
|
655
|
+
//#endregion
|
|
656
|
+
//#region src/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingFinancialInformation.tsx
|
|
657
|
+
var TODAY_DATE$1 = (/* @__PURE__ */ new Date()).toISOString().split("T")[0];
|
|
658
|
+
var financialInformationFields = [
|
|
659
|
+
"numberOfEmployees",
|
|
660
|
+
"financialReportingDate",
|
|
661
|
+
"legalEntityIdentifier",
|
|
662
|
+
"currency",
|
|
663
|
+
"balanceSheetTotal",
|
|
664
|
+
"annualTurnover"
|
|
665
|
+
];
|
|
666
|
+
function BusinessFinancingFinancialInformation(props) {
|
|
667
|
+
const { data, valid, errors, country, sectionHeading, handleFieldChange, fieldValidationErrors } = props;
|
|
668
|
+
const { t: businessFinancingT, i18n: i18next } = useTranslation("businessFinancing");
|
|
669
|
+
const { t: commonT } = useTranslation("common");
|
|
670
|
+
const formUtils = createFormUtils(props, commonT);
|
|
671
|
+
const currenciesForCurrCountry = useMemo(() => currencyByCountry[country] ?? [], [country]);
|
|
672
|
+
if (!handleFieldChange) return;
|
|
673
|
+
const financialData = data;
|
|
674
|
+
const financialErrors = errors;
|
|
675
|
+
const isFinancialDataValid = valid;
|
|
676
|
+
const [firstCurrency] = currenciesForCurrCountry;
|
|
677
|
+
const defaultCurrency = firstCurrency ?? "EUR";
|
|
678
|
+
if (currenciesForCurrCountry.length === 1 && data?.currency !== firstCurrency) handleFieldChange("currency")(firstCurrency);
|
|
679
|
+
return /* @__PURE__ */ jsxs("section", { children: [
|
|
680
|
+
/* @__PURE__ */ jsx(Typography, {
|
|
681
|
+
el: "h3",
|
|
682
|
+
variant: "title",
|
|
683
|
+
className: BusinessFinancing_module_default.businessFinancingTitle,
|
|
684
|
+
children: sectionHeading ? businessFinancingT(($) => $[sectionHeading]) : businessFinancingT(($) => $["businessFinancials"])
|
|
685
|
+
}),
|
|
686
|
+
/* @__PURE__ */ jsx(Field, {
|
|
687
|
+
name: "numberOfEmployees",
|
|
688
|
+
label: businessFinancingT(($) => $["numberOfEmployees"]),
|
|
689
|
+
helper: businessFinancingT(($) => $["theNumberOfIndividualsReceivingAWageOrSalary"]),
|
|
690
|
+
errorMessage: formUtils.getErrorMessage("numberOfEmployees", errors, fieldValidationErrors),
|
|
691
|
+
isValid: valid?.numberOfEmployees,
|
|
692
|
+
children: (childProps) => /* @__PURE__ */ jsx(InputNumber, {
|
|
693
|
+
...childProps,
|
|
694
|
+
"aria-required": true,
|
|
695
|
+
"aria-invalid": !valid?.numberOfEmployees,
|
|
696
|
+
name: "numberOfEmployees",
|
|
697
|
+
min: "0",
|
|
698
|
+
step: "1",
|
|
699
|
+
value: data?.numberOfEmployees,
|
|
700
|
+
onInput: handleFieldChange("numberOfEmployees", "input"),
|
|
701
|
+
onBlur: handleFieldChange("numberOfEmployees", "blur")
|
|
702
|
+
})
|
|
703
|
+
}),
|
|
704
|
+
currenciesForCurrCountry?.length > 1 && /* @__PURE__ */ jsx(Currency, {
|
|
705
|
+
country,
|
|
706
|
+
data: formUtils.getFieldData(financialData, CURRENCY_FIELD),
|
|
707
|
+
errors: formUtils.getFieldErrors(financialErrors, fieldValidationErrors, CURRENCY_FIELD),
|
|
708
|
+
handleChangeFor: handleFieldChange,
|
|
709
|
+
labels: { currency: businessFinancingT(($) => $["financialStatementReportingCurrency"]) },
|
|
710
|
+
readonly: formUtils.isReadOnly("currency"),
|
|
711
|
+
valid: formUtils.getFieldValid(isFinancialDataValid, CURRENCY_FIELD)
|
|
712
|
+
}),
|
|
713
|
+
/* @__PURE__ */ jsxs("div", {
|
|
714
|
+
className: BusinessFinancing_module_default.businessFinancingExposureFinancials,
|
|
715
|
+
children: [
|
|
716
|
+
/* @__PURE__ */ jsx(Field, {
|
|
717
|
+
name: "balanceSheetTotal",
|
|
718
|
+
label: businessFinancingT(($) => $["balanceSheetTotal"]),
|
|
719
|
+
helper: businessFinancingT(($) => $["theSumOfTotalLiabilities"]),
|
|
720
|
+
errorMessage: formUtils.getErrorMessage("balanceSheetTotal", errors, fieldValidationErrors),
|
|
721
|
+
isValid: valid?.balanceSheetTotal,
|
|
722
|
+
children: (childProps) => /* @__PURE__ */ jsx(InputCurrency, {
|
|
723
|
+
...childProps,
|
|
724
|
+
"aria-required": formUtils.isRequiredField("balanceSheetTotal"),
|
|
725
|
+
"aria-invalid": !valid?.balanceSheetTotal,
|
|
726
|
+
locale: i18next.language,
|
|
727
|
+
currency: data?.currency ?? defaultCurrency,
|
|
728
|
+
amount: data?.balanceSheetTotal ? Number(data?.balanceSheetTotal) : void 0,
|
|
729
|
+
onAmountChanged: handleFieldChange("balanceSheetTotal")
|
|
730
|
+
})
|
|
731
|
+
}),
|
|
732
|
+
/* @__PURE__ */ jsx(Field, {
|
|
733
|
+
name: "financialReportingDate",
|
|
734
|
+
label: businessFinancingT(($) => $["statementReportingDate"]),
|
|
735
|
+
helper: businessFinancingT(($) => $["useTheMoreRecentOfTheReportingDates"]),
|
|
736
|
+
errorMessage: formUtils.getErrorMessage("financialReportingDate", errors, fieldValidationErrors),
|
|
737
|
+
isValid: valid?.financialReportingDate,
|
|
738
|
+
children: (childProps) => /* @__PURE__ */ jsx(InputDate, {
|
|
739
|
+
...childProps,
|
|
740
|
+
name: "financialReportingDate",
|
|
741
|
+
value: data?.financialReportingDate,
|
|
742
|
+
onInput: handleFieldChange("financialReportingDate", "input"),
|
|
743
|
+
onBlur: handleFieldChange("financialReportingDate", "blur"),
|
|
744
|
+
"aria-required": true,
|
|
745
|
+
"aria-invalid": !valid?.financialReportingDate,
|
|
746
|
+
max: TODAY_DATE$1
|
|
747
|
+
})
|
|
748
|
+
}),
|
|
749
|
+
/* @__PURE__ */ jsx(Field, {
|
|
750
|
+
name: "annualTurnover",
|
|
751
|
+
label: businessFinancingT(($) => $["annualTurnover"]),
|
|
752
|
+
helper: businessFinancingT(($) => $["theAnnualSalesRevenue"]),
|
|
753
|
+
errorMessage: formUtils.getErrorMessage("annualTurnover", errors, fieldValidationErrors),
|
|
754
|
+
isValid: valid?.annualTurnover,
|
|
755
|
+
children: (childProps) => /* @__PURE__ */ jsx(InputCurrency, {
|
|
756
|
+
...childProps,
|
|
757
|
+
name: "annualTurnover",
|
|
758
|
+
"aria-required": formUtils.isRequiredField("annualTurnover"),
|
|
759
|
+
"aria-invalid": !valid?.annualTurnover,
|
|
760
|
+
locale: i18next.language,
|
|
761
|
+
currency: data?.currency ?? defaultCurrency,
|
|
762
|
+
amount: data?.annualTurnover ? Number(data?.annualTurnover) : void 0,
|
|
763
|
+
onAmountChanged: handleFieldChange("annualTurnover")
|
|
764
|
+
})
|
|
765
|
+
})
|
|
766
|
+
]
|
|
767
|
+
})
|
|
768
|
+
] });
|
|
769
|
+
}
|
|
770
|
+
//#endregion
|
|
771
|
+
//#region src/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingLegalInformation.tsx
|
|
772
|
+
var TODAY_DATE = (/* @__PURE__ */ new Date()).toISOString().split("T")[0];
|
|
773
|
+
var legalInformationFields = ["legalInformationInsolvency", "legalProceedingsDate"];
|
|
774
|
+
function BusinessFinancingLegalInformation(props) {
|
|
775
|
+
const { data, valid, errors, fieldValidationErrors, handleFieldChange, sectionHeading } = props;
|
|
776
|
+
const { t: businessFinancingT } = useTranslation("businessFinancing");
|
|
777
|
+
const { t: commonT } = useTranslation("common");
|
|
778
|
+
const formUtils = createFormUtils(props, commonT);
|
|
779
|
+
if (!handleFieldChange) return;
|
|
780
|
+
const legalInformationInsolvencyItems = [
|
|
781
|
+
{
|
|
782
|
+
id: "noLegalActionsTaken",
|
|
783
|
+
name: commonT(($) => $["no"])
|
|
784
|
+
},
|
|
785
|
+
{
|
|
786
|
+
id: "underJudicialAdministration",
|
|
787
|
+
name: businessFinancingT(($) => $["yesTheCompanyIsUnderJudicialAdministration"])
|
|
788
|
+
},
|
|
789
|
+
{
|
|
790
|
+
id: "bankruptcyInsolvency",
|
|
791
|
+
name: businessFinancingT(($) => $["yesTheCompanyIsFilingForBankruptcy"])
|
|
792
|
+
},
|
|
793
|
+
{
|
|
794
|
+
id: "otherLegalMeasures",
|
|
795
|
+
name: businessFinancingT(($) => $["yesTheCompanyIsFacingOtherLegalMeasures"])
|
|
796
|
+
},
|
|
797
|
+
{
|
|
798
|
+
id: "iDontKnow",
|
|
799
|
+
name: commonT(($) => $["iDontKnow"])
|
|
800
|
+
}
|
|
801
|
+
];
|
|
802
|
+
const showLegalProceedingsDateField = data?.legalInformationInsolvency && !["noLegalActionsTaken", "iDontKnow"].includes(data?.legalInformationInsolvency);
|
|
803
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
804
|
+
/* @__PURE__ */ jsx(Typography, {
|
|
805
|
+
el: "h3",
|
|
806
|
+
variant: "title",
|
|
807
|
+
className: BusinessFinancing_module_default.businessFinancingTitle,
|
|
808
|
+
children: sectionHeading ? businessFinancingT(($) => $[sectionHeading]) : businessFinancingT(($) => $["legalInformation"])
|
|
809
|
+
}),
|
|
810
|
+
/* @__PURE__ */ jsx(Field, {
|
|
811
|
+
name: "legalInformationInsolvency",
|
|
812
|
+
label: businessFinancingT(($) => $["legalInformationInsolvency"]),
|
|
813
|
+
errorMessage: formUtils.getErrorMessage("legalInformationInsolvency", errors, fieldValidationErrors),
|
|
814
|
+
isValid: valid?.legalInformationInsolvency,
|
|
815
|
+
children: (childProps) => /* @__PURE__ */ jsx(Select, {
|
|
816
|
+
...childProps,
|
|
817
|
+
onChange: handleFieldChange("legalInformationInsolvency", "blur"),
|
|
818
|
+
name: "legalInformationInsolvency",
|
|
819
|
+
placeholder: commonT(($) => $["selectOne"]),
|
|
820
|
+
selected: data?.legalInformationInsolvency,
|
|
821
|
+
items: legalInformationInsolvencyItems,
|
|
822
|
+
"aria-required": true,
|
|
823
|
+
"aria-invalid": !valid?.legalInformationInsolvency
|
|
824
|
+
})
|
|
825
|
+
}),
|
|
826
|
+
showLegalProceedingsDateField && /* @__PURE__ */ jsx(Field, {
|
|
827
|
+
name: "legalProceedingsDate",
|
|
828
|
+
label: businessFinancingT(($) => $["legalProceedingsDate"]),
|
|
829
|
+
errorMessage: formUtils.getErrorMessage("legalProceedingsDate", errors, fieldValidationErrors),
|
|
830
|
+
isValid: valid?.legalProceedingsDate,
|
|
831
|
+
children: (childProps) => /* @__PURE__ */ jsx(InputDate, {
|
|
832
|
+
...childProps,
|
|
833
|
+
name: "legalProceedingsDate",
|
|
834
|
+
value: data.legalProceedingsDate,
|
|
835
|
+
onInput: handleFieldChange("legalProceedingsDate", "input"),
|
|
836
|
+
onBlur: handleFieldChange("legalProceedingsDate", "blur"),
|
|
837
|
+
"aria-required": true,
|
|
838
|
+
"aria-invalid": !valid?.legalProceedingsDate,
|
|
839
|
+
max: TODAY_DATE
|
|
840
|
+
})
|
|
841
|
+
})
|
|
842
|
+
] });
|
|
843
|
+
}
|
|
844
|
+
//#endregion
|
|
845
|
+
//#region src/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingOwnershipStructure.tsx
|
|
846
|
+
var ownershipStructureFields = ["isCompanyOwnedByAnotherCompany", "isParentOwnedByAnotherCompany"];
|
|
847
|
+
function BusinessFinancingOwnershipStructure(props) {
|
|
848
|
+
const { data, valid, errors = {}, legalEntity, fieldValidationErrors, handleFieldChange } = props;
|
|
849
|
+
const { t: businessFinancingT } = useTranslation("businessFinancing");
|
|
850
|
+
const { t: commonT } = useTranslation("common");
|
|
851
|
+
const formUtils = createFormUtils(props, commonT);
|
|
852
|
+
if (!handleFieldChange) return;
|
|
853
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
854
|
+
/* @__PURE__ */ jsx(Typography, {
|
|
855
|
+
el: "h3",
|
|
856
|
+
variant: "title",
|
|
857
|
+
className: BusinessFinancing_module_default.businessFinancingTitle,
|
|
858
|
+
children: businessFinancingT(($) => $["ownershipStructure"])
|
|
859
|
+
}),
|
|
860
|
+
/* @__PURE__ */ jsx(Field, {
|
|
861
|
+
el: "fieldset",
|
|
862
|
+
name: "isCompanyOwnedByAnotherCompany",
|
|
863
|
+
label: businessFinancingT(($) => $["isCompanyOwnedByAnotherCompany"], { company: legalEntity?.organization ? legalEntity.organization.legalName : "" }),
|
|
864
|
+
errorMessage: formUtils.getErrorMessage("isCompanyOwnedByAnotherCompany", errors, fieldValidationErrors),
|
|
865
|
+
helper: /* @__PURE__ */ jsx(Typography, {
|
|
866
|
+
el: "div",
|
|
867
|
+
variant: "body",
|
|
868
|
+
color: "secondary",
|
|
869
|
+
className: BusinessFinancing_module_default.businessFinancingBody,
|
|
870
|
+
children: businessFinancingT(($) => $["thisMeansYouHaveAParentCompany"])
|
|
871
|
+
}),
|
|
872
|
+
children: (childProps) => /* @__PURE__ */ jsx(RadioGroup, {
|
|
873
|
+
...childProps,
|
|
874
|
+
name: "isCompanyOwnedByAnotherCompany",
|
|
875
|
+
items: businessFinancingRadioItems,
|
|
876
|
+
value: data?.isCompanyOwnedByAnotherCompany,
|
|
877
|
+
className: BusinessFinancing_module_default.businessFinancingLeiRadio,
|
|
878
|
+
disabled: false,
|
|
879
|
+
onChange: handleFieldChange("isCompanyOwnedByAnotherCompany"),
|
|
880
|
+
"aria-required": true,
|
|
881
|
+
"aria-invalid": !valid?.isCompanyOwnedByAnotherCompany
|
|
882
|
+
})
|
|
883
|
+
}),
|
|
884
|
+
data?.isCompanyOwnedByAnotherCompany === "Yes" && /* @__PURE__ */ jsx(Field, {
|
|
885
|
+
el: "fieldset",
|
|
886
|
+
name: "isParentOwnedByAnotherCompany",
|
|
887
|
+
label: businessFinancingT(($) => $["isParentOwnedByAnotherCompany"]),
|
|
888
|
+
helper: /* @__PURE__ */ jsx(Typography, {
|
|
889
|
+
el: "div",
|
|
890
|
+
variant: "body",
|
|
891
|
+
color: "secondary",
|
|
892
|
+
className: BusinessFinancing_module_default.businessFinancingBody,
|
|
893
|
+
children: businessFinancingT(($) => $["thisMeansYouHaveAnUltimateParentCompany"])
|
|
894
|
+
}),
|
|
895
|
+
errorMessage: formUtils.getErrorMessage("isParentOwnedByAnotherCompany", errors, fieldValidationErrors),
|
|
896
|
+
children: (childProps) => /* @__PURE__ */ jsx(RadioGroup, {
|
|
897
|
+
...childProps,
|
|
898
|
+
name: "isParentOwnedByAnotherCompany",
|
|
899
|
+
items: businessFinancingRadioItems,
|
|
900
|
+
value: data.isParentOwnedByAnotherCompany,
|
|
901
|
+
className: BusinessFinancing_module_default.businessFinancingLeiRadio,
|
|
902
|
+
disabled: false,
|
|
903
|
+
onChange: handleFieldChange("isParentOwnedByAnotherCompany"),
|
|
904
|
+
"aria-required": true,
|
|
905
|
+
"aria-invalid": !valid?.isParentOwnedByAnotherCompany
|
|
906
|
+
})
|
|
907
|
+
})
|
|
908
|
+
] });
|
|
909
|
+
}
|
|
910
|
+
//#endregion
|
|
911
|
+
//#region src/components/EFP/tasks/BusinessFinancingDropin/AdditionalFieldsForBusinessFinancingCompany.tsx
|
|
912
|
+
function AdditionalFieldsForBusinessFinancingCompany(props) {
|
|
913
|
+
const { t: businessFinancingT } = useTranslation("businessFinancing");
|
|
914
|
+
const { t: commonT } = useTranslation("common");
|
|
915
|
+
const { form: { handleChangeFor, data, setValid } } = useFormContext();
|
|
916
|
+
const { country, formVerificationErrors, legalEntity, fieldValidationErrors } = props;
|
|
917
|
+
const formUtils = createFormUtils(props, commonT);
|
|
918
|
+
const handleChange = (fieldName, mode) => handleChangeFor(fieldName, "company", mode);
|
|
919
|
+
const ownershipStructureProps = getFieldProps(props, ownershipStructureFields);
|
|
920
|
+
const businessInformationProps = getFieldProps(props, businessInformationFields);
|
|
921
|
+
const financialInformationProps = getFieldProps(props, financialInformationFields);
|
|
922
|
+
const legalInformationProps = getFieldProps(props, legalInformationFields);
|
|
923
|
+
if ((currencyByCountry[country] ?? [])?.length === 1) setValid("currency", true, "company");
|
|
924
|
+
return /* @__PURE__ */ jsxs("form", {
|
|
925
|
+
className: "adyen-kyc__high-exposure-company",
|
|
926
|
+
children: [
|
|
927
|
+
/* @__PURE__ */ jsx(Header, {
|
|
928
|
+
title: businessFinancingT(($) => $["additionalInformationForBusinessFinancing"]),
|
|
929
|
+
description: businessFinancingT(($) => $["weNeedAFewMoreDetailsAboutYouAndYourBusiness"]),
|
|
930
|
+
secondary: true
|
|
931
|
+
}),
|
|
932
|
+
/* @__PURE__ */ jsx(ErrorPanel, {
|
|
933
|
+
verificationErrors: formVerificationErrors,
|
|
934
|
+
validationErrors: fieldValidationErrors,
|
|
935
|
+
formUtils,
|
|
936
|
+
id: "ariaErrorField"
|
|
937
|
+
}),
|
|
938
|
+
/* @__PURE__ */ jsx(BusinessFinancingBusinessInformation, {
|
|
939
|
+
...businessInformationProps,
|
|
940
|
+
handleFieldChange: handleChange,
|
|
941
|
+
country,
|
|
942
|
+
targetPage: BusinessFinancingPages.COMPANY_PAGE,
|
|
943
|
+
sectionHeading: "businessInformation",
|
|
944
|
+
data: formUtils.getFieldData(data?.company ?? {}, businessInformationFields)
|
|
945
|
+
}),
|
|
946
|
+
isEeaCountry(country) && /* @__PURE__ */ jsx(BusinessFinancingFinancialInformation, {
|
|
947
|
+
...financialInformationProps,
|
|
948
|
+
handleFieldChange: handleChange,
|
|
949
|
+
country,
|
|
950
|
+
targetPage: BusinessFinancingPages.COMPANY_PAGE,
|
|
951
|
+
data: formUtils.getFieldData(data?.company ?? {}, financialInformationFields)
|
|
952
|
+
}),
|
|
953
|
+
/* @__PURE__ */ jsx(BusinessFinancingLegalInformation, {
|
|
954
|
+
...legalInformationProps,
|
|
955
|
+
country,
|
|
956
|
+
handleFieldChange: handleChange,
|
|
957
|
+
targetPage: BusinessFinancingPages.COMPANY_PAGE,
|
|
958
|
+
sectionHeading: "legalInformation",
|
|
959
|
+
data: formUtils.getFieldData(data?.company ?? {}, legalInformationFields)
|
|
960
|
+
}),
|
|
961
|
+
/* @__PURE__ */ jsx(BusinessFinancingOwnershipStructure, {
|
|
962
|
+
...ownershipStructureProps,
|
|
963
|
+
legalEntity,
|
|
964
|
+
handleFieldChange: handleChange,
|
|
965
|
+
data: formUtils.getFieldData(data?.company ?? {}, ownershipStructureFields)
|
|
966
|
+
})
|
|
967
|
+
]
|
|
968
|
+
});
|
|
969
|
+
}
|
|
970
|
+
//#endregion
|
|
971
|
+
//#region src/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingBasicCompanyInformation.tsx
|
|
972
|
+
var basicInformationFields = ["legalName"];
|
|
973
|
+
function BusinessFinancingBasicCompanyInformation(props) {
|
|
974
|
+
const { data, valid, errors, fieldValidationErrors, handleFieldChange, sectionHeading } = props;
|
|
975
|
+
const { t: businessFinancingT } = useTranslation("businessFinancing");
|
|
976
|
+
const { t: commonT } = useTranslation("common");
|
|
977
|
+
const formUtils = createFormUtils(props, commonT);
|
|
978
|
+
if (!handleFieldChange) return;
|
|
979
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx(Typography, {
|
|
980
|
+
el: "h3",
|
|
981
|
+
variant: "title",
|
|
982
|
+
className: BusinessFinancing_module_default.businessFinancingTitle,
|
|
983
|
+
children: sectionHeading ? businessFinancingT(($) => $[sectionHeading]) : businessFinancingT(($) => $["basicCompanyInformation"])
|
|
984
|
+
}), /* @__PURE__ */ jsx(Field, {
|
|
985
|
+
name: "legalName",
|
|
986
|
+
label: businessFinancingT(($) => $["legalName"]),
|
|
987
|
+
errorMessage: formUtils.getErrorMessage("legalName", errors, fieldValidationErrors),
|
|
988
|
+
isValid: valid?.legalName,
|
|
989
|
+
helper: businessFinancingT(($) => $["legalNameIsUsedToIdentifyABusinessWithTheGovernment"]),
|
|
990
|
+
helperPosition: "below",
|
|
991
|
+
children: (childProps) => /* @__PURE__ */ jsx(InputText, {
|
|
992
|
+
...childProps,
|
|
993
|
+
name: "legalName",
|
|
994
|
+
value: data?.legalName,
|
|
995
|
+
readonly: false,
|
|
996
|
+
onInput: handleFieldChange("legalName", "input"),
|
|
997
|
+
onBlur: handleFieldChange("legalName", "blur"),
|
|
998
|
+
"aria-required": true,
|
|
999
|
+
"aria-invalid": !valid?.legalName
|
|
1000
|
+
})
|
|
1001
|
+
})] });
|
|
1002
|
+
}
|
|
1003
|
+
//#endregion
|
|
1004
|
+
//#region src/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingRegisteredAddress.tsx
|
|
1005
|
+
var OPTIONAL_ADDRESS_FIELDS = ["otherAddressInformation"];
|
|
1006
|
+
var registeredAddressFields = [
|
|
1007
|
+
"isThisAddressTheMainHeadquarters",
|
|
1008
|
+
"registrationAddress",
|
|
1009
|
+
"sameAddressAsRootEntity"
|
|
1010
|
+
];
|
|
1011
|
+
function BusinessFinancingRegisteredAddress(props) {
|
|
1012
|
+
const { data, valid, errors, fieldValidationErrors, shouldValidate, defaultData, handleFieldChange, formId, legalEntity, sectionHeading } = props;
|
|
1013
|
+
const { t: businessFinancingT, i18n } = useTranslation("businessFinancing");
|
|
1014
|
+
const { t: commonT } = useTranslation("common");
|
|
1015
|
+
const formUtils = createFormUtils(props, commonT);
|
|
1016
|
+
const addressCountry = data?.registrationAddress?.country;
|
|
1017
|
+
const datasetUtils = datasetUtilities(i18n.language);
|
|
1018
|
+
const addressSchema = useMemo(() => {
|
|
1019
|
+
return getAddressSchemaForCountry(addressCountry).filter((field) => {
|
|
1020
|
+
if (addressCountry) return !COUNTRIES_WITH_STATES_DATASET.includes(addressCountry) ? field !== "stateOrProvince" : true;
|
|
1021
|
+
return true;
|
|
1022
|
+
});
|
|
1023
|
+
}, [addressCountry]);
|
|
1024
|
+
if (!handleFieldChange) return;
|
|
1025
|
+
const handleRegistrationAddressChange = (state) => {
|
|
1026
|
+
if (!state.data.country) state.data.country = addressCountry;
|
|
1027
|
+
handleFieldChange("registrationAddress")(state.data);
|
|
1028
|
+
};
|
|
1029
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
1030
|
+
/* @__PURE__ */ jsx(Typography, {
|
|
1031
|
+
el: "h3",
|
|
1032
|
+
variant: "title",
|
|
1033
|
+
className: BusinessFinancing_module_default.businessFinancingTitle,
|
|
1034
|
+
children: sectionHeading ? translateTranslatable(commonT, sectionHeading) : commonT(($) => $["registeredAddress"])
|
|
1035
|
+
}),
|
|
1036
|
+
/* @__PURE__ */ jsx(Field, {
|
|
1037
|
+
name: "sameAddressAsRootEntity",
|
|
1038
|
+
errorMessage: errors?.sameAddressAsRootEntity?.errorMessage,
|
|
1039
|
+
isValid: valid?.sameAddressAsRootEntity,
|
|
1040
|
+
children: (childProps) => /* @__PURE__ */ jsx(Checkbox, {
|
|
1041
|
+
...childProps,
|
|
1042
|
+
"aria-required": formUtils.isRequiredField("sameAddressAsRootEntity"),
|
|
1043
|
+
"aria-invalid": !valid?.sameAddressAsRootEntity,
|
|
1044
|
+
name: "sameAddressAsRootEntity",
|
|
1045
|
+
label: businessFinancingT(($) => $["sameAddressAsRootEntity"], { rootLegalEntityName: legalEntity?.organization?.legalName ?? "" }),
|
|
1046
|
+
checked: data?.sameAddressAsRootEntity ?? false,
|
|
1047
|
+
onChange: handleFieldChange("sameAddressAsRootEntity")
|
|
1048
|
+
})
|
|
1049
|
+
}),
|
|
1050
|
+
data?.sameAddressAsRootEntity && legalEntity?.organization?.registeredAddress ? /* @__PURE__ */ jsxs("div", {
|
|
1051
|
+
className: BusinessFinancing_module_default.businessFinancingStructuredAddress,
|
|
1052
|
+
children: [
|
|
1053
|
+
/* @__PURE__ */ jsx("div", { children: legalEntity.organization.registeredAddress.street }),
|
|
1054
|
+
/* @__PURE__ */ jsx("div", { children: legalEntity.organization.registeredAddress.street2 }),
|
|
1055
|
+
/* @__PURE__ */ jsxs("div", { children: [
|
|
1056
|
+
legalEntity.organization.registeredAddress.city,
|
|
1057
|
+
" ",
|
|
1058
|
+
legalEntity.organization.registeredAddress.postalCode ? `, ${legalEntity.organization.registeredAddress.postalCode}` : ""
|
|
1059
|
+
] }),
|
|
1060
|
+
/* @__PURE__ */ jsx("div", { children: legalEntity.organization.registeredAddress.stateOrProvince }),
|
|
1061
|
+
/* @__PURE__ */ jsx("div", { children: legalEntity.organization.registeredAddress.country ? datasetUtils.getCountryName(legalEntity.organization.registeredAddress.country) : "" })
|
|
1062
|
+
]
|
|
1063
|
+
}) : /* @__PURE__ */ jsx(Address, {
|
|
1064
|
+
id: formId,
|
|
1065
|
+
addressType: "registrationAddress",
|
|
1066
|
+
data: {
|
|
1067
|
+
...defaultData?.registrationAddress,
|
|
1068
|
+
country: addressCountry
|
|
1069
|
+
},
|
|
1070
|
+
labels: addressCountry ? getAddressSchemaLabelsByCountry(addressCountry) : void 0,
|
|
1071
|
+
countryCode: addressCountry,
|
|
1072
|
+
requiredFields: addressSchema,
|
|
1073
|
+
optionalFields: OPTIONAL_ADDRESS_FIELDS,
|
|
1074
|
+
onChange: handleRegistrationAddressChange,
|
|
1075
|
+
shouldValidate
|
|
1076
|
+
}),
|
|
1077
|
+
/* @__PURE__ */ jsx(Field, {
|
|
1078
|
+
el: "fieldset",
|
|
1079
|
+
name: "isThisAddressTheMainHeadquarters",
|
|
1080
|
+
label: businessFinancingT(($) => $["areTheMainHeadquartersAtThisAddress"]),
|
|
1081
|
+
helper: businessFinancingT(($) => $["addressRegisteredWithGovernment"]),
|
|
1082
|
+
errorMessage: formUtils.getErrorMessage("isThisAddressTheMainHeadquarters", errors, fieldValidationErrors),
|
|
1083
|
+
children: (childProps) => /* @__PURE__ */ jsx(RadioGroup, {
|
|
1084
|
+
...childProps,
|
|
1085
|
+
name: "isThisAddressTheMainHeadquarters",
|
|
1086
|
+
items: businessFinancingRadioItems,
|
|
1087
|
+
value: data?.isThisAddressTheMainHeadquarters,
|
|
1088
|
+
className: BusinessFinancing_module_default.businessFinancingLeiRadio,
|
|
1089
|
+
disabled: false,
|
|
1090
|
+
onChange: handleFieldChange("isThisAddressTheMainHeadquarters"),
|
|
1091
|
+
"aria-required": true,
|
|
1092
|
+
"aria-invalid": !valid?.isThisAddressTheMainHeadquarters
|
|
1093
|
+
})
|
|
1094
|
+
})
|
|
1095
|
+
] });
|
|
1096
|
+
}
|
|
1097
|
+
//#endregion
|
|
1098
|
+
//#region src/components/EFP/tasks/BusinessFinancingDropin/AdditionalFieldsForBusinessFinancingParentCompany.tsx
|
|
1099
|
+
var parentCompanyFormId$1 = businessFinancingForms.parentCompany.formId;
|
|
1100
|
+
function AdditionalFieldsForBusinessFinancingParentCompany(props) {
|
|
1101
|
+
const { t: businessFinancingT } = useTranslation("businessFinancing");
|
|
1102
|
+
const { t: commonT } = useTranslation("common");
|
|
1103
|
+
const { form: { handleChangeFor, data, setValid } } = useFormContext();
|
|
1104
|
+
const { country, formVerificationErrors, fieldValidationErrors, legalEntity } = props;
|
|
1105
|
+
const formUtils = createFormUtils(props, commonT);
|
|
1106
|
+
const handleChange = (fieldName, mode) => handleChangeFor(fieldName, "parentCompany", mode);
|
|
1107
|
+
setValid("sameAddressAsRootEntity", true, "parentCompany");
|
|
1108
|
+
const basicCompanyInformationProps = getFieldProps(props, basicInformationFields);
|
|
1109
|
+
const registeredAddressProps = getFieldProps(props, registeredAddressFields);
|
|
1110
|
+
const businessInformationProps = getFieldProps(props, businessInformationFields);
|
|
1111
|
+
const financialInformationProps = getFieldProps(props, financialInformationFields);
|
|
1112
|
+
const legalInformationProps = getFieldProps(props, legalInformationFields);
|
|
1113
|
+
const addressCountry = getAddressCountryForParentCompany(data?.parentCompany, legalEntity?.organization?.registeredAddress);
|
|
1114
|
+
if ((currencyByCountry[addressCountry ?? country] ?? [])?.length === 1) setValid("currency", true, "parentCompany");
|
|
1115
|
+
return /* @__PURE__ */ jsxs("form", {
|
|
1116
|
+
className: "adyen-kyc__high-exposure-parent-company",
|
|
1117
|
+
children: [
|
|
1118
|
+
/* @__PURE__ */ jsx(Typography, {
|
|
1119
|
+
el: "h1",
|
|
1120
|
+
variant: "title-l",
|
|
1121
|
+
className: BusinessFinancing_module_default.businessFinancingBody,
|
|
1122
|
+
children: commonT(($) => $["parentCompanyInformation"])
|
|
1123
|
+
}),
|
|
1124
|
+
/* @__PURE__ */ jsx(Typography, {
|
|
1125
|
+
el: "p",
|
|
1126
|
+
variant: "body",
|
|
1127
|
+
className: BusinessFinancing_module_default.businessFinancingBody,
|
|
1128
|
+
children: businessFinancingT(($) => $["inThePreviousStepOwnedByAParentCompany"])
|
|
1129
|
+
}),
|
|
1130
|
+
/* @__PURE__ */ jsx(ErrorPanel, {
|
|
1131
|
+
verificationErrors: formVerificationErrors,
|
|
1132
|
+
validationErrors: fieldValidationErrors,
|
|
1133
|
+
formUtils,
|
|
1134
|
+
id: "ariaErrorField"
|
|
1135
|
+
}),
|
|
1136
|
+
/* @__PURE__ */ jsx(BusinessFinancingBasicCompanyInformation, {
|
|
1137
|
+
...basicCompanyInformationProps,
|
|
1138
|
+
sectionHeading: "parentCompanyInformation",
|
|
1139
|
+
handleFieldChange: handleChange,
|
|
1140
|
+
data: formUtils.getFieldData(data?.parentCompany ?? {}, basicInformationFields)
|
|
1141
|
+
}),
|
|
1142
|
+
/* @__PURE__ */ jsx(BusinessFinancingRegisteredAddress, {
|
|
1143
|
+
...registeredAddressProps,
|
|
1144
|
+
formId: parentCompanyFormId$1,
|
|
1145
|
+
sectionHeading: "parentCompanyAddress",
|
|
1146
|
+
defaultData: data?.parentCompany,
|
|
1147
|
+
legalEntity,
|
|
1148
|
+
handleFieldChange: handleChange,
|
|
1149
|
+
data: formUtils.getFieldData(data?.parentCompany ?? {}, registeredAddressFields)
|
|
1150
|
+
}),
|
|
1151
|
+
/* @__PURE__ */ jsx(BusinessFinancingBusinessInformation, {
|
|
1152
|
+
...businessInformationProps,
|
|
1153
|
+
hideSectionHeading: true,
|
|
1154
|
+
country: addressCountry ?? country,
|
|
1155
|
+
targetPage: BusinessFinancingPages.PARENT_COMPANY_PAGE,
|
|
1156
|
+
handleFieldChange: handleChange,
|
|
1157
|
+
data: formUtils.getFieldData(data?.parentCompany ?? {}, businessInformationFields)
|
|
1158
|
+
}),
|
|
1159
|
+
isEeaCountry(addressCountry) && /* @__PURE__ */ jsx(BusinessFinancingFinancialInformation, {
|
|
1160
|
+
...financialInformationProps,
|
|
1161
|
+
country: addressCountry ?? country,
|
|
1162
|
+
targetPage: BusinessFinancingPages.PARENT_COMPANY_PAGE,
|
|
1163
|
+
handleFieldChange: handleChange,
|
|
1164
|
+
data: formUtils.getFieldData(data?.parentCompany ?? {}, financialInformationFields)
|
|
1165
|
+
}),
|
|
1166
|
+
/* @__PURE__ */ jsx(BusinessFinancingLegalInformation, {
|
|
1167
|
+
...legalInformationProps,
|
|
1168
|
+
country: addressCountry ?? country,
|
|
1169
|
+
targetPage: BusinessFinancingPages.PARENT_COMPANY_PAGE,
|
|
1170
|
+
sectionHeading: "legalInformation",
|
|
1171
|
+
handleFieldChange: handleChange,
|
|
1172
|
+
data: formUtils.getFieldData(data?.parentCompany ?? {}, legalInformationFields)
|
|
1173
|
+
})
|
|
1174
|
+
]
|
|
1175
|
+
});
|
|
1176
|
+
}
|
|
1177
|
+
//#endregion
|
|
1178
|
+
//#region src/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingSoleProprietorPersonalInformation.tsx
|
|
1179
|
+
var soleProprietorPersonalInformationFields = ["gender", "countryOfBirth"];
|
|
1180
|
+
function BusinessFinancingSoleProprietorPersonalInformation(props) {
|
|
1181
|
+
const { data, valid, errors, handleFieldChange, fieldValidationErrors, sectionHeading } = props;
|
|
1182
|
+
const { t: businessFinancingT } = useTranslation("businessFinancing");
|
|
1183
|
+
const { t: commonT } = useTranslation("common");
|
|
1184
|
+
const formUtils = createFormUtils(props, commonT);
|
|
1185
|
+
if (!handleFieldChange) return;
|
|
1186
|
+
const genderItems = [
|
|
1187
|
+
{
|
|
1188
|
+
id: "M",
|
|
1189
|
+
name: businessFinancingT(($) => $["male"])
|
|
1190
|
+
},
|
|
1191
|
+
{
|
|
1192
|
+
id: "F",
|
|
1193
|
+
name: businessFinancingT(($) => $["female"])
|
|
1194
|
+
},
|
|
1195
|
+
{
|
|
1196
|
+
id: "U",
|
|
1197
|
+
name: businessFinancingT(($) => $["preferNotToSay"])
|
|
1198
|
+
}
|
|
1199
|
+
];
|
|
1200
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
1201
|
+
/* @__PURE__ */ jsx(Typography, {
|
|
1202
|
+
el: "h3",
|
|
1203
|
+
variant: "title",
|
|
1204
|
+
className: BusinessFinancing_module_default.businessFinancingTitle,
|
|
1205
|
+
children: sectionHeading ? businessFinancingT(($) => $[sectionHeading]) : businessFinancingT(($) => $["personalInformation"])
|
|
1206
|
+
}),
|
|
1207
|
+
/* @__PURE__ */ jsx(CountryField, {
|
|
1208
|
+
data: { country: data?.countryOfBirth },
|
|
1209
|
+
valid: { country: valid?.countryOfBirth },
|
|
1210
|
+
name: "countryOfBirth",
|
|
1211
|
+
errors: { country: formUtils.getErrorMessage("countryOfBirth", errors, fieldValidationErrors) },
|
|
1212
|
+
labels: { country: businessFinancingT(($) => $["countryOfBirth"]) },
|
|
1213
|
+
readonly: formUtils.isReadOnly("countryOfBirth"),
|
|
1214
|
+
handleChangeFor: () => handleFieldChange("countryOfBirth", "input")
|
|
1215
|
+
}),
|
|
1216
|
+
/* @__PURE__ */ jsx(Field, {
|
|
1217
|
+
name: "gender",
|
|
1218
|
+
label: businessFinancingT(($) => $["gender"]),
|
|
1219
|
+
errorMessage: formUtils.getErrorMessage("gender", errors, fieldValidationErrors),
|
|
1220
|
+
isValid: valid?.gender,
|
|
1221
|
+
children: (childProps) => /* @__PURE__ */ jsx(Select, {
|
|
1222
|
+
...childProps,
|
|
1223
|
+
onChange: handleFieldChange("gender", "blur"),
|
|
1224
|
+
name: "gender",
|
|
1225
|
+
placeholder: commonT(($) => $["selectOne"]),
|
|
1226
|
+
selected: data?.gender,
|
|
1227
|
+
items: genderItems,
|
|
1228
|
+
"aria-required": true,
|
|
1229
|
+
"aria-invalid": !valid?.gender
|
|
1230
|
+
})
|
|
1231
|
+
})
|
|
1232
|
+
] });
|
|
1233
|
+
}
|
|
1234
|
+
//#endregion
|
|
1235
|
+
//#region src/components/EFP/tasks/BusinessFinancingDropin/AdditionalFieldsForBusinessFinancingSoleProprietor.tsx
|
|
1236
|
+
function AdditionalFieldsForBusinessFinancingSoleProprietor(props) {
|
|
1237
|
+
const { t: businessFinancingT } = useTranslation("businessFinancing");
|
|
1238
|
+
const { t: commonT } = useTranslation("common");
|
|
1239
|
+
const { form: { handleChangeFor, data } } = useFormContext();
|
|
1240
|
+
const { country, formVerificationErrors, fieldValidationErrors } = props;
|
|
1241
|
+
const formUtils = createFormUtils(props, commonT);
|
|
1242
|
+
const handleChange = (fieldName, mode) => handleChangeFor(fieldName, "soleProprietor", mode);
|
|
1243
|
+
const personalInformationProps = getFieldProps(props, soleProprietorPersonalInformationFields);
|
|
1244
|
+
const businessInformationProps = getFieldProps(props, ["naceCode", "naceCodeLabel"]);
|
|
1245
|
+
const legalInformationProps = getFieldProps(props, legalInformationFields);
|
|
1246
|
+
return /* @__PURE__ */ jsxs("form", {
|
|
1247
|
+
className: "adyen-kyc__high-exposure-company",
|
|
1248
|
+
children: [
|
|
1249
|
+
/* @__PURE__ */ jsx(Header, {
|
|
1250
|
+
title: businessFinancingT(($) => $["additionalInformationForBusinessFinancing"]),
|
|
1251
|
+
description: businessFinancingT(($) => $["weNeedAFewMoreDetailsAboutYouAndYourBusiness"]),
|
|
1252
|
+
secondary: true
|
|
1253
|
+
}),
|
|
1254
|
+
/* @__PURE__ */ jsx(ErrorPanel, {
|
|
1255
|
+
verificationErrors: formVerificationErrors,
|
|
1256
|
+
validationErrors: fieldValidationErrors,
|
|
1257
|
+
formUtils,
|
|
1258
|
+
id: "ariaErrorField"
|
|
1259
|
+
}),
|
|
1260
|
+
/* @__PURE__ */ jsx(BusinessFinancingSoleProprietorPersonalInformation, {
|
|
1261
|
+
...personalInformationProps,
|
|
1262
|
+
handleFieldChange: handleChange,
|
|
1263
|
+
country,
|
|
1264
|
+
targetPage: BusinessFinancingPages.SOLE_PROPRIETOR_PAGE,
|
|
1265
|
+
sectionHeading: "personalInformation",
|
|
1266
|
+
data: formUtils.getFieldData(data?.soleProprietor ?? {}, soleProprietorPersonalInformationFields)
|
|
1267
|
+
}),
|
|
1268
|
+
/* @__PURE__ */ jsx(BusinessFinancingBusinessInformation, {
|
|
1269
|
+
...businessInformationProps,
|
|
1270
|
+
handleFieldChange: handleChange,
|
|
1271
|
+
country,
|
|
1272
|
+
targetPage: BusinessFinancingPages.SOLE_PROPRIETOR_PAGE,
|
|
1273
|
+
sectionHeading: "businessInformation",
|
|
1274
|
+
isSoleProprietor: true,
|
|
1275
|
+
data: formUtils.getFieldData(data?.soleProprietor ?? {}, ["naceCode", "naceCodeLabel"])
|
|
1276
|
+
}),
|
|
1277
|
+
/* @__PURE__ */ jsx(BusinessFinancingLegalInformation, {
|
|
1278
|
+
...legalInformationProps,
|
|
1279
|
+
country,
|
|
1280
|
+
handleFieldChange: handleChange,
|
|
1281
|
+
targetPage: BusinessFinancingPages.SOLE_PROPRIETOR_PAGE,
|
|
1282
|
+
sectionHeading: "legalInformation",
|
|
1283
|
+
data: formUtils.getFieldData(data?.soleProprietor ?? {}, legalInformationFields)
|
|
1284
|
+
})
|
|
1285
|
+
]
|
|
1286
|
+
});
|
|
1287
|
+
}
|
|
1288
|
+
//#endregion
|
|
1289
|
+
//#region src/components/EFP/tasks/BusinessFinancingDropin/AdditionalFieldsForBusinessFinancingUltimateParentCompany.tsx
|
|
1290
|
+
var ultimateParentCompanyFormId$1 = businessFinancingForms.ultimateParentCompany.formId;
|
|
1291
|
+
function AdditionalFieldsForBusinessFinancingUltimateParentCompany(props) {
|
|
1292
|
+
const { formVerificationErrors, country, fieldValidationErrors, legalEntity } = props;
|
|
1293
|
+
const { t: businessFinancingT } = useTranslation("businessFinancing");
|
|
1294
|
+
const { t: commonT } = useTranslation("common");
|
|
1295
|
+
const formUtils = createFormUtils(props, commonT);
|
|
1296
|
+
const { form: { handleChangeFor, data, setValid } } = useFormContext();
|
|
1297
|
+
const handleChange = (fieldName, mode) => handleChangeFor(fieldName, "ultimateParentCompany", mode);
|
|
1298
|
+
setValid("sameAddressAsRootEntity", true, "ultimateParentCompany");
|
|
1299
|
+
const basicCompanyInformationProps = getFieldProps(props, basicInformationFields);
|
|
1300
|
+
const registeredAddressProps = getFieldProps(props, registeredAddressFields);
|
|
1301
|
+
const businessInformationProps = getFieldProps(props, businessInformationFields);
|
|
1302
|
+
const financialInformationProps = getFieldProps(props, financialInformationFields);
|
|
1303
|
+
const legalInformationProps = getFieldProps(props, legalInformationFields);
|
|
1304
|
+
const addressCountry = getAddressCountryForParentCompany(data?.ultimateParentCompany, legalEntity?.organization?.registeredAddress);
|
|
1305
|
+
if ((currencyByCountry[addressCountry ?? country] ?? [])?.length === 1) setValid("currency", true, "ultimateParentCompany");
|
|
1306
|
+
return /* @__PURE__ */ jsxs("form", {
|
|
1307
|
+
className: "adyen-kyc__high-exposure-ultimate-parent-company",
|
|
1308
|
+
children: [
|
|
1309
|
+
/* @__PURE__ */ jsx(Typography, {
|
|
1310
|
+
el: "h1",
|
|
1311
|
+
variant: "title-l",
|
|
1312
|
+
className: BusinessFinancing_module_default.businessFinancingBody,
|
|
1313
|
+
children: commonT(($) => $["ultimateParentCompanyInformation"])
|
|
1314
|
+
}),
|
|
1315
|
+
/* @__PURE__ */ jsx(Typography, {
|
|
1316
|
+
el: "p",
|
|
1317
|
+
variant: "body",
|
|
1318
|
+
className: BusinessFinancing_module_default.businessFinancingBody,
|
|
1319
|
+
children: businessFinancingT(($) => $["inThePreviousStepOwnedByAnUltimateParentCompany"])
|
|
1320
|
+
}),
|
|
1321
|
+
/* @__PURE__ */ jsx(ErrorPanel, {
|
|
1322
|
+
verificationErrors: formVerificationErrors,
|
|
1323
|
+
validationErrors: fieldValidationErrors,
|
|
1324
|
+
formUtils,
|
|
1325
|
+
id: "ariaErrorField"
|
|
1326
|
+
}),
|
|
1327
|
+
/* @__PURE__ */ jsx(BusinessFinancingBasicCompanyInformation, {
|
|
1328
|
+
...basicCompanyInformationProps,
|
|
1329
|
+
sectionHeading: "ultimateParentCompanyInformation",
|
|
1330
|
+
handleFieldChange: handleChange,
|
|
1331
|
+
data: formUtils.getFieldData(data?.ultimateParentCompany ?? {}, basicInformationFields)
|
|
1332
|
+
}),
|
|
1333
|
+
/* @__PURE__ */ jsx(BusinessFinancingRegisteredAddress, {
|
|
1334
|
+
...registeredAddressProps,
|
|
1335
|
+
formId: ultimateParentCompanyFormId$1,
|
|
1336
|
+
sectionHeading: "ultimateParentCompanyAddress",
|
|
1337
|
+
defaultData: data?.ultimateParentCompany,
|
|
1338
|
+
handleFieldChange: handleChange,
|
|
1339
|
+
data: formUtils.getFieldData(data?.ultimateParentCompany ?? {}, registeredAddressFields),
|
|
1340
|
+
legalEntity
|
|
1341
|
+
}),
|
|
1342
|
+
/* @__PURE__ */ jsx(BusinessFinancingBusinessInformation, {
|
|
1343
|
+
...businessInformationProps,
|
|
1344
|
+
hideSectionHeading: true,
|
|
1345
|
+
country: addressCountry ?? country,
|
|
1346
|
+
targetPage: BusinessFinancingPages.ULTIMATE_PARENT_COMPANY_PAGE,
|
|
1347
|
+
handleFieldChange: handleChange,
|
|
1348
|
+
data: formUtils.getFieldData(data?.ultimateParentCompany ?? {}, businessInformationFields)
|
|
1349
|
+
}),
|
|
1350
|
+
isEeaCountry(addressCountry) && /* @__PURE__ */ jsx(BusinessFinancingFinancialInformation, {
|
|
1351
|
+
...financialInformationProps,
|
|
1352
|
+
country: addressCountry ?? country,
|
|
1353
|
+
targetPage: BusinessFinancingPages.ULTIMATE_PARENT_COMPANY_PAGE,
|
|
1354
|
+
handleFieldChange: handleChange,
|
|
1355
|
+
data: formUtils.getFieldData(data?.ultimateParentCompany ?? {}, financialInformationFields)
|
|
1356
|
+
}),
|
|
1357
|
+
/* @__PURE__ */ jsx(BusinessFinancingLegalInformation, {
|
|
1358
|
+
...legalInformationProps,
|
|
1359
|
+
country: addressCountry ?? country,
|
|
1360
|
+
sectionHeading: "legalInformation",
|
|
1361
|
+
targetPage: BusinessFinancingPages.ULTIMATE_PARENT_COMPANY_PAGE,
|
|
1362
|
+
handleFieldChange: handleChange,
|
|
1363
|
+
data: formUtils.getFieldData(data?.ultimateParentCompany ?? {}, legalInformationFields)
|
|
1364
|
+
})
|
|
1365
|
+
]
|
|
1366
|
+
});
|
|
1367
|
+
}
|
|
1368
|
+
//#endregion
|
|
1369
|
+
//#region src/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingSummary.tsx
|
|
1370
|
+
var omittedSummaryKeys = [
|
|
1371
|
+
"naceCodeLabel",
|
|
1372
|
+
"legalFormLabel",
|
|
1373
|
+
"currency",
|
|
1374
|
+
"doesYourCompanyHaveLEI",
|
|
1375
|
+
"sameAddressAsRootEntity"
|
|
1376
|
+
];
|
|
1377
|
+
var customLabels = {
|
|
1378
|
+
legalForm: "businessStructure",
|
|
1379
|
+
naceCode: "industryAndNaceCode",
|
|
1380
|
+
balanceSheetTotal: "totalAssets",
|
|
1381
|
+
annualTurnover: "annualTurnover",
|
|
1382
|
+
legalInformationInsolvency: "legalProceedings",
|
|
1383
|
+
isCompanyOwnedByAnotherCompany: "hasParentCompany",
|
|
1384
|
+
isParentOwnedByAnotherCompany: "hasUltimateParentCompany",
|
|
1385
|
+
isThisAddressTheMainHeadquarters: "addressIsHeadquarters"
|
|
1386
|
+
};
|
|
1387
|
+
var isOmmitted = (key) => {
|
|
1388
|
+
return omittedSummaryKeys.includes(key);
|
|
1389
|
+
};
|
|
1390
|
+
var isCustomLabel = (key) => {
|
|
1391
|
+
return key in customLabels;
|
|
1392
|
+
};
|
|
1393
|
+
/**
|
|
1394
|
+
* Business and data layer around Summary, processing all the data
|
|
1395
|
+
*/
|
|
1396
|
+
var BusinessFinancingSummary = ({ forms, items, handleEditForm, children }) => {
|
|
1397
|
+
const { t: businessFinancingT } = useTranslation("businessFinancing");
|
|
1398
|
+
const { t: commonT } = useTranslation("common");
|
|
1399
|
+
const formatItemForStructuredList = (data) => {
|
|
1400
|
+
if (!data) return [];
|
|
1401
|
+
const structuredListItems = Object.entries(data).map(([key, value]) => {
|
|
1402
|
+
if (isOmmitted(key) || !value) return;
|
|
1403
|
+
return {
|
|
1404
|
+
term: isCustomLabel(key) ? businessFinancingT(($) => $[customLabels[key]]) : commonT(($) => $[key]),
|
|
1405
|
+
details: value
|
|
1406
|
+
};
|
|
1407
|
+
}).filter((v) => v !== void 0);
|
|
1408
|
+
const structuredListItemsWithInnerForms = [];
|
|
1409
|
+
structuredListItems.map((it) => {
|
|
1410
|
+
if (typeof it?.details === "object") structuredListItemsWithInnerForms.push(...formatItemForStructuredList(it?.details));
|
|
1411
|
+
else structuredListItemsWithInnerForms.push(it);
|
|
1412
|
+
});
|
|
1413
|
+
return structuredListItemsWithInnerForms;
|
|
1414
|
+
};
|
|
1415
|
+
const processSummarySections = (forms) => {
|
|
1416
|
+
return forms.map(({ formId, formName }) => ({
|
|
1417
|
+
formId,
|
|
1418
|
+
label: commonT(($) => $[formName]),
|
|
1419
|
+
items: formatItemForStructuredList(items[formId])
|
|
1420
|
+
}));
|
|
1421
|
+
};
|
|
1422
|
+
return /* @__PURE__ */ jsx(NewSummary, {
|
|
1423
|
+
handleEditForm,
|
|
1424
|
+
sections: processSummarySections(forms),
|
|
1425
|
+
children
|
|
1426
|
+
});
|
|
1427
|
+
};
|
|
1428
|
+
//#endregion
|
|
1429
|
+
//#region src/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingDropin.tsx
|
|
1430
|
+
var getOrgAnalyticsData = (prefix, details) => {
|
|
1431
|
+
const org = details?.organization;
|
|
1432
|
+
const soleProp = details?.soleProprietorship;
|
|
1433
|
+
const entity = org || soleProp;
|
|
1434
|
+
if (!entity) return {};
|
|
1435
|
+
return {
|
|
1436
|
+
[`${prefix}--economicSector`]: entity?.economicSector ?? "",
|
|
1437
|
+
[`${prefix}--legalForm`]: org?.legalForm ?? "",
|
|
1438
|
+
[`${prefix}--statusOfLegalProceeding`]: entity?.statusOfLegalProceeding ?? ""
|
|
1439
|
+
};
|
|
1440
|
+
};
|
|
1441
|
+
var businessFinancingFormsRequiredFields = {
|
|
1442
|
+
soleProprietor: businessFinancingForms.soleProprietor.fields,
|
|
1443
|
+
company: businessFinancingForms.company.fields,
|
|
1444
|
+
parentCompany: businessFinancingForms.parentCompany.fields,
|
|
1445
|
+
ultimateParentCompany: businessFinancingForms.ultimateParentCompany.fields
|
|
1446
|
+
};
|
|
1447
|
+
var parentCompanyFormId = businessFinancingForms.parentCompany.formId;
|
|
1448
|
+
var companyFormId = businessFinancingForms.company.formId;
|
|
1449
|
+
var ultimateParentCompanyFormId = businessFinancingForms.ultimateParentCompany.formId;
|
|
1450
|
+
function BusinessFinancingDropin(props) {
|
|
1451
|
+
const { country, rootLegalEntity, externalOnSubmit, externalOnSubmitLabel, isStandaloneComponent, handleHomeClick } = props;
|
|
1452
|
+
const { t: businessFinancingT } = useTranslation("businessFinancing");
|
|
1453
|
+
const { t: commonT, i18n } = useTranslation("common");
|
|
1454
|
+
const userEvents = useAnalyticsContext();
|
|
1455
|
+
const invalidateRootLegalEntity = useInvalidateRootLegalEntity();
|
|
1456
|
+
const { mutateAsync: createLegalEntity } = useCreateLegalEntity();
|
|
1457
|
+
const { mutateAsync: updateLegalEntity } = useUpdateLegalEntity();
|
|
1458
|
+
const { data: immediateParentCompany, isLoading: immediateParentCompanyIsLoading } = useAssociatedLegalEntity(rootLegalEntity, "immediateParentCompany");
|
|
1459
|
+
const { data: ultimateParentCompany, isLoading: ultimateParentCompanyIsLoading } = useAssociatedLegalEntity(rootLegalEntity, "ultimateParentCompany");
|
|
1460
|
+
const { data: soleProprietor, isLoading: soleProprietorIsLoading } = useAssociatedLegalEntity(rootLegalEntity, "soleProprietorship");
|
|
1461
|
+
/**
|
|
1462
|
+
* Analytics
|
|
1463
|
+
*/
|
|
1464
|
+
useTaskLandedEvent("BUSINESS_FINANCING");
|
|
1465
|
+
const derivedData = useMemo(() => {
|
|
1466
|
+
if (immediateParentCompanyIsLoading || ultimateParentCompanyIsLoading || soleProprietorIsLoading) return void 0;
|
|
1467
|
+
const isSoleProprietor = hasSolePropInLegalEntity(rootLegalEntity);
|
|
1468
|
+
const dataFromResponse = {};
|
|
1469
|
+
if (isSoleProprietor && soleProprietor) {
|
|
1470
|
+
dataFromResponse.soleProprietor = mapLegalEntityToBusinessFinancing(rootLegalEntity);
|
|
1471
|
+
dataFromResponse.soleProprietor = appendSoleProprietorBusinessFinancingData(soleProprietor.soleProprietorship, dataFromResponse.soleProprietor);
|
|
1472
|
+
} else if (rootLegalEntity.type === LegalEntityTypes.ORGANIZATION) {
|
|
1473
|
+
dataFromResponse.company = mapLegalEntityToBusinessFinancing(rootLegalEntity);
|
|
1474
|
+
dataFromResponse.company = appendBusinessFinancingData(rootLegalEntity.organization, dataFromResponse.company);
|
|
1475
|
+
dataFromResponse.company.isCompanyOwnedByAnotherCompany = "No";
|
|
1476
|
+
dataFromResponse.company.isParentOwnedByAnotherCompany = "No";
|
|
1477
|
+
if (immediateParentCompany) {
|
|
1478
|
+
dataFromResponse.parentCompany = mapLegalEntityToBusinessFinancing(immediateParentCompany);
|
|
1479
|
+
dataFromResponse.parentCompany = appendBusinessFinancingData(immediateParentCompany.organization, dataFromResponse.parentCompany);
|
|
1480
|
+
dataFromResponse.company.isCompanyOwnedByAnotherCompany = "Yes";
|
|
1481
|
+
}
|
|
1482
|
+
if (ultimateParentCompany) {
|
|
1483
|
+
dataFromResponse.ultimateParentCompany = mapLegalEntityToBusinessFinancing(ultimateParentCompany);
|
|
1484
|
+
dataFromResponse.ultimateParentCompany = appendBusinessFinancingData(ultimateParentCompany.organization, dataFromResponse.ultimateParentCompany);
|
|
1485
|
+
dataFromResponse.company.isParentOwnedByAnotherCompany = "Yes";
|
|
1486
|
+
}
|
|
1487
|
+
}
|
|
1488
|
+
return dataFromResponse;
|
|
1489
|
+
}, [
|
|
1490
|
+
immediateParentCompanyIsLoading,
|
|
1491
|
+
ultimateParentCompanyIsLoading,
|
|
1492
|
+
soleProprietorIsLoading,
|
|
1493
|
+
rootLegalEntity,
|
|
1494
|
+
immediateParentCompany,
|
|
1495
|
+
ultimateParentCompany,
|
|
1496
|
+
soleProprietor
|
|
1497
|
+
]);
|
|
1498
|
+
const datasetUtils = datasetUtilities(i18n.language);
|
|
1499
|
+
const [problems, setProblems] = useState();
|
|
1500
|
+
const [loadingStatus, setLoadingStatus] = useState("success");
|
|
1501
|
+
const [showEndState, setShowEndState] = useState(false);
|
|
1502
|
+
const { showToast } = useToastContext();
|
|
1503
|
+
const { isSettingEnabled } = useSettingsContext();
|
|
1504
|
+
const showBusinessFinancingFirst = isSettingEnabled(SettingNames.ShowBusinessFinancingFirst);
|
|
1505
|
+
const onSubmit = async () => {
|
|
1506
|
+
setLoadingStatus("loading");
|
|
1507
|
+
if (!umfData) return;
|
|
1508
|
+
const isSoleProprietor = hasSolePropInLegalEntity(rootLegalEntity);
|
|
1509
|
+
const mainEntityDetails = !isSoleProprietor ? prepareBusinessFinancingSubmitData(BusinessFinancingIndices.COMPANY, umfData, rootLegalEntity) : null;
|
|
1510
|
+
const soleProprietorPayloads = isSoleProprietor ? prepareSoleProprietorBusinessFinancingSubmitData(umfData, rootLegalEntity, soleProprietor) : null;
|
|
1511
|
+
const parentCompanyBusinessFinancingDetails = !isSoleProprietor ? prepareBusinessFinancingSubmitData(BusinessFinancingIndices.PARENT_COMPANY, umfData, rootLegalEntity) : null;
|
|
1512
|
+
const ultimateParentCompanyBusinessFinancingDetails = !isSoleProprietor ? prepareBusinessFinancingSubmitData(BusinessFinancingIndices.ULTIMATE_PARENT_COMPANY, umfData, rootLegalEntity) : null;
|
|
1513
|
+
if (isSoleProprietor) {
|
|
1514
|
+
if (!soleProprietorPayloads || !rootLegalEntity || !soleProprietor?.id) {
|
|
1515
|
+
showToast({
|
|
1516
|
+
label: businessFinancingT(($) => $["missingCompanyDetails"]),
|
|
1517
|
+
variant: "error"
|
|
1518
|
+
});
|
|
1519
|
+
return;
|
|
1520
|
+
}
|
|
1521
|
+
try {
|
|
1522
|
+
await handleBusinessFinancingFormSubmission(BusinessFinancingIndices.SOLE_PROPRIETOR, soleProprietorPayloads.individualPayload, createLegalEntity, updateLegalEntity, rootLegalEntity.id);
|
|
1523
|
+
const eventsAdditionalData = { ...getOrgAnalyticsData("SoleProprietor", await handleBusinessFinancingFormSubmission(BusinessFinancingIndices.SOLE_PROPRIETOR, soleProprietorPayloads.solePropPayload, createLegalEntity, updateLegalEntity, soleProprietor.id)) };
|
|
1524
|
+
userEvents.addTaskEvent("Success", {
|
|
1525
|
+
actionType: "submit",
|
|
1526
|
+
returnValue: [BusinessFinancingIndices.SOLE_PROPRIETOR],
|
|
1527
|
+
additionalData: eventsAdditionalData
|
|
1528
|
+
});
|
|
1529
|
+
await invalidateRootLegalEntity();
|
|
1530
|
+
if (showBusinessFinancingFirst || isStandaloneComponent) setShowEndState(true);
|
|
1531
|
+
else externalOnSubmit?.({ ...umfData });
|
|
1532
|
+
setProblems({});
|
|
1533
|
+
} catch (e) {
|
|
1534
|
+
showToast({
|
|
1535
|
+
label: commonT(($) => $["failedToUpdateDetails"]),
|
|
1536
|
+
variant: "error"
|
|
1537
|
+
});
|
|
1538
|
+
handleSubmissionError(e, BusinessFinancingIndices.SOLE_PROPRIETOR);
|
|
1539
|
+
} finally {
|
|
1540
|
+
setLoadingStatus("success");
|
|
1541
|
+
}
|
|
1542
|
+
} else {
|
|
1543
|
+
if (!mainEntityDetails || !rootLegalEntity) {
|
|
1544
|
+
showToast({
|
|
1545
|
+
label: businessFinancingT(($) => $["missingCompanyDetails"]),
|
|
1546
|
+
variant: "error"
|
|
1547
|
+
});
|
|
1548
|
+
return;
|
|
1549
|
+
}
|
|
1550
|
+
let parentCompanyFailed = false;
|
|
1551
|
+
let ultimateParentCompanyFailed = false;
|
|
1552
|
+
try {
|
|
1553
|
+
const promises = [];
|
|
1554
|
+
if (parentCompanyBusinessFinancingDetails) {
|
|
1555
|
+
const parentCompanyPromise = handleBusinessFinancingFormSubmission(BusinessFinancingIndices.PARENT_COMPANY, parentCompanyBusinessFinancingDetails, createLegalEntity, updateLegalEntity, parentCompanyBusinessFinancingDetails?.id);
|
|
1556
|
+
promises.push(parentCompanyPromise);
|
|
1557
|
+
}
|
|
1558
|
+
if (ultimateParentCompanyBusinessFinancingDetails) {
|
|
1559
|
+
const ultimateParentCompanyPromise = handleBusinessFinancingFormSubmission(BusinessFinancingIndices.ULTIMATE_PARENT_COMPANY, ultimateParentCompanyBusinessFinancingDetails, createLegalEntity, updateLegalEntity, ultimateParentCompanyBusinessFinancingDetails?.id);
|
|
1560
|
+
promises.push(ultimateParentCompanyPromise);
|
|
1561
|
+
}
|
|
1562
|
+
const results = await Promise.allSettled(promises);
|
|
1563
|
+
const businessFinancingEntityAssociations = [...rootLegalEntity.entityAssociations ? rootLegalEntity.entityAssociations.filter((entityAssociation) => entityAssociation.type !== "immediateParentCompany" && entityAssociation.type !== "ultimateParentCompany") : []];
|
|
1564
|
+
const entitiesToTrack = [BusinessFinancingIndices.COMPANY];
|
|
1565
|
+
results.forEach((result, index) => {
|
|
1566
|
+
const businessFinancingType = index === 0 ? BusinessFinancingIndices.PARENT_COMPANY : BusinessFinancingIndices.ULTIMATE_PARENT_COMPANY;
|
|
1567
|
+
if (result.status === "fulfilled") {
|
|
1568
|
+
const response = result.value;
|
|
1569
|
+
if (businessFinancingType === BusinessFinancingIndices.PARENT_COMPANY) {
|
|
1570
|
+
businessFinancingEntityAssociations.push({
|
|
1571
|
+
type: "immediateParentCompany",
|
|
1572
|
+
legalEntityId: response.id,
|
|
1573
|
+
associatorId: mainEntityDetails.id
|
|
1574
|
+
});
|
|
1575
|
+
entitiesToTrack.push(BusinessFinancingIndices.PARENT_COMPANY);
|
|
1576
|
+
} else if (businessFinancingType === BusinessFinancingIndices.ULTIMATE_PARENT_COMPANY) {
|
|
1577
|
+
businessFinancingEntityAssociations.push({
|
|
1578
|
+
type: "ultimateParentCompany",
|
|
1579
|
+
legalEntityId: response.id,
|
|
1580
|
+
associatorId: mainEntityDetails.id
|
|
1581
|
+
});
|
|
1582
|
+
entitiesToTrack.push(BusinessFinancingIndices.ULTIMATE_PARENT_COMPANY);
|
|
1583
|
+
}
|
|
1584
|
+
} else {
|
|
1585
|
+
if (businessFinancingType === BusinessFinancingIndices.PARENT_COMPANY) parentCompanyFailed = true;
|
|
1586
|
+
else if (businessFinancingType === BusinessFinancingIndices.ULTIMATE_PARENT_COMPANY) ultimateParentCompanyFailed = true;
|
|
1587
|
+
handleSubmissionError(result.reason, businessFinancingType);
|
|
1588
|
+
}
|
|
1589
|
+
});
|
|
1590
|
+
if (!parentCompanyFailed && !ultimateParentCompanyFailed) {
|
|
1591
|
+
mainEntityDetails.entityAssociations = [...businessFinancingEntityAssociations];
|
|
1592
|
+
const eventsAdditionalData = {
|
|
1593
|
+
...getOrgAnalyticsData("Business", mainEntityDetails),
|
|
1594
|
+
...getOrgAnalyticsData("ParentCompany", parentCompanyBusinessFinancingDetails),
|
|
1595
|
+
...getOrgAnalyticsData("UltimateParentCompany", ultimateParentCompanyBusinessFinancingDetails)
|
|
1596
|
+
};
|
|
1597
|
+
try {
|
|
1598
|
+
await handleBusinessFinancingFormSubmission(BusinessFinancingIndices.COMPANY, mainEntityDetails, createLegalEntity, updateLegalEntity, mainEntityDetails?.id);
|
|
1599
|
+
userEvents.addTaskEvent("Success", {
|
|
1600
|
+
actionType: "submit",
|
|
1601
|
+
returnValue: entitiesToTrack,
|
|
1602
|
+
additionalData: eventsAdditionalData
|
|
1603
|
+
});
|
|
1604
|
+
await invalidateRootLegalEntity();
|
|
1605
|
+
if (showBusinessFinancingFirst || isStandaloneComponent) setShowEndState(true);
|
|
1606
|
+
else externalOnSubmit?.({ ...umfData });
|
|
1607
|
+
} catch (e) {
|
|
1608
|
+
showToast({
|
|
1609
|
+
label: commonT(($) => $["failedToUpdateDetails"]),
|
|
1610
|
+
variant: "error"
|
|
1611
|
+
});
|
|
1612
|
+
handleSubmissionError(e, BusinessFinancingIndices.COMPANY);
|
|
1613
|
+
}
|
|
1614
|
+
setProblems({});
|
|
1615
|
+
}
|
|
1616
|
+
} catch (e) {
|
|
1617
|
+
if (!parentCompanyFailed && !ultimateParentCompanyFailed) handleSubmissionError(e, BusinessFinancingIndices.COMPANY);
|
|
1618
|
+
showToast({
|
|
1619
|
+
label: commonT(($) => $["failedToUpdateDetails"]),
|
|
1620
|
+
variant: "error"
|
|
1621
|
+
});
|
|
1622
|
+
} finally {
|
|
1623
|
+
setLoadingStatus("success");
|
|
1624
|
+
}
|
|
1625
|
+
}
|
|
1626
|
+
};
|
|
1627
|
+
const handleSubmissionError = (error, businessFinancingType) => {
|
|
1628
|
+
const keyMapping = businessFinancingType === BusinessFinancingIndices.SOLE_PROPRIETOR ? {
|
|
1629
|
+
...businessFinancingIndividualApiKeyMapping,
|
|
1630
|
+
...businessFinancingSoleProprietorApiKeyMapping
|
|
1631
|
+
} : businessFinancingApiKeyMapping;
|
|
1632
|
+
if (isValidationError(error.actualError)) {
|
|
1633
|
+
const validationErrors = processValidationErrors(error.actualError, void 0, keyMapping);
|
|
1634
|
+
setProblems((prevProblems) => ({
|
|
1635
|
+
...prevProblems,
|
|
1636
|
+
validationErrors: {
|
|
1637
|
+
...prevProblems?.validationErrors,
|
|
1638
|
+
[businessFinancingType]: validationErrors?.[businessFinancingType] ?? {}
|
|
1639
|
+
}
|
|
1640
|
+
}));
|
|
1641
|
+
} else if (isMaintenanceModeError(error)) showToast({
|
|
1642
|
+
label: commonT(($) => $["maintenanceModeMessage"]),
|
|
1643
|
+
variant: "error",
|
|
1644
|
+
duration: "indefinite"
|
|
1645
|
+
});
|
|
1646
|
+
else showToast({
|
|
1647
|
+
label: commonT(($) => $["failedToUpdateDetails"]),
|
|
1648
|
+
variant: "error"
|
|
1649
|
+
});
|
|
1650
|
+
};
|
|
1651
|
+
const [requiredFields, setRequiredFields] = useState(void 0);
|
|
1652
|
+
const form = useMultiForm({
|
|
1653
|
+
requiredFields,
|
|
1654
|
+
defaultData: derivedData,
|
|
1655
|
+
rules: businessFinancingMultiformRules
|
|
1656
|
+
});
|
|
1657
|
+
const { data: umfData = derivedData, isValid, errors, valid } = form;
|
|
1658
|
+
const businessFinancingRequiredForms = useMemo(() => {
|
|
1659
|
+
let updateForms = {};
|
|
1660
|
+
if (umfData?.soleProprietor) updateForms = { soleProprietor: { ...businessFinancingForms.soleProprietor } };
|
|
1661
|
+
else {
|
|
1662
|
+
updateForms = { company: { ...businessFinancingForms.company } };
|
|
1663
|
+
const showParentCompany = umfData?.company?.isCompanyOwnedByAnotherCompany === "Yes";
|
|
1664
|
+
const showUltimateParentCompany = umfData?.company?.isParentOwnedByAnotherCompany === "Yes";
|
|
1665
|
+
if (showParentCompany) updateForms = {
|
|
1666
|
+
...updateForms,
|
|
1667
|
+
parentCompany: businessFinancingForms.parentCompany
|
|
1668
|
+
};
|
|
1669
|
+
if (showParentCompany && showUltimateParentCompany) updateForms = {
|
|
1670
|
+
...updateForms,
|
|
1671
|
+
ultimateParentCompany: businessFinancingForms.ultimateParentCompany
|
|
1672
|
+
};
|
|
1673
|
+
}
|
|
1674
|
+
return updateForms;
|
|
1675
|
+
}, [
|
|
1676
|
+
umfData?.soleProprietor,
|
|
1677
|
+
umfData?.company?.isCompanyOwnedByAnotherCompany,
|
|
1678
|
+
umfData?.company?.isParentOwnedByAnotherCompany
|
|
1679
|
+
]);
|
|
1680
|
+
useEffect(() => {
|
|
1681
|
+
setRequiredFields(getBusinessFinancingRequiredFields(country, umfData, rootLegalEntity?.organization?.registeredAddress));
|
|
1682
|
+
}, [umfData, rootLegalEntity?.organization?.registeredAddress]);
|
|
1683
|
+
const forms = useMemo(() => {
|
|
1684
|
+
return addValidityToForms(getRequiredForms(businessFinancingRequiredForms, businessFinancingFormsRequiredFields, {}), isValid, problems);
|
|
1685
|
+
}, [
|
|
1686
|
+
businessFinancingRequiredForms,
|
|
1687
|
+
isValid,
|
|
1688
|
+
businessFinancingFormsRequiredFields,
|
|
1689
|
+
problems
|
|
1690
|
+
]);
|
|
1691
|
+
const { handleNextClick, handleBackClick, activeForm, gotoFormByFormIndex, gotoFormByFormId, steps, shouldValidate } = useFormComposer({
|
|
1692
|
+
problems,
|
|
1693
|
+
forms,
|
|
1694
|
+
onSubmit
|
|
1695
|
+
});
|
|
1696
|
+
const renderActiveForm = (selectedForm) => /* @__PURE__ */ jsxs("div", {
|
|
1697
|
+
className: "adyen-kyc-form-wrapper",
|
|
1698
|
+
children: [
|
|
1699
|
+
selectedForm.formId === "soleProprietor" && /* @__PURE__ */ jsx(AdditionalFieldsForBusinessFinancingSoleProprietor, {
|
|
1700
|
+
data: derivedData?.soleProprietor,
|
|
1701
|
+
legalEntity: rootLegalEntity,
|
|
1702
|
+
heading: businessFinancingT(($) => $["additionalInformationForBusinessFinancing"]),
|
|
1703
|
+
id: selectedForm.formId,
|
|
1704
|
+
country,
|
|
1705
|
+
shouldValidate,
|
|
1706
|
+
fieldValidationErrors: problems?.validationErrors?.[selectedForm?.formId],
|
|
1707
|
+
formVerificationErrors: problems?.verificationErrors?.[selectedForm?.formId],
|
|
1708
|
+
errors: errors?.soleProprietor,
|
|
1709
|
+
valid: valid?.soleProprietor
|
|
1710
|
+
}),
|
|
1711
|
+
selectedForm.formId === companyFormId && /* @__PURE__ */ jsx(AdditionalFieldsForBusinessFinancingCompany, {
|
|
1712
|
+
data: derivedData?.company,
|
|
1713
|
+
legalEntity: rootLegalEntity,
|
|
1714
|
+
heading: businessFinancingT(($) => $["additionalInformationForBusinessFinancing"]),
|
|
1715
|
+
id: companyFormId,
|
|
1716
|
+
country,
|
|
1717
|
+
shouldValidate,
|
|
1718
|
+
fieldValidationErrors: problems?.validationErrors?.[selectedForm?.formId],
|
|
1719
|
+
formVerificationErrors: problems?.verificationErrors?.[selectedForm?.formId],
|
|
1720
|
+
errors: errors?.company,
|
|
1721
|
+
valid: valid?.company
|
|
1722
|
+
}),
|
|
1723
|
+
selectedForm.formId === parentCompanyFormId && /* @__PURE__ */ jsx(AdditionalFieldsForBusinessFinancingParentCompany, {
|
|
1724
|
+
data: derivedData?.parentCompany,
|
|
1725
|
+
heading: commonT(($) => $["parentCompanyInformation"]),
|
|
1726
|
+
id: companyFormId,
|
|
1727
|
+
country,
|
|
1728
|
+
shouldValidate,
|
|
1729
|
+
errors: errors?.parentCompany,
|
|
1730
|
+
legalEntity: rootLegalEntity
|
|
1731
|
+
}),
|
|
1732
|
+
selectedForm.formId === ultimateParentCompanyFormId && /* @__PURE__ */ jsx(AdditionalFieldsForBusinessFinancingUltimateParentCompany, {
|
|
1733
|
+
data: derivedData?.ultimateParentCompany,
|
|
1734
|
+
heading: commonT(($) => $["ultimateParentCompanyInformation"]),
|
|
1735
|
+
id: companyFormId,
|
|
1736
|
+
country,
|
|
1737
|
+
shouldValidate,
|
|
1738
|
+
errors: errors?.ultimateParentCompany,
|
|
1739
|
+
legalEntity: rootLegalEntity
|
|
1740
|
+
})
|
|
1741
|
+
]
|
|
1742
|
+
});
|
|
1743
|
+
if (!derivedData?.company && !derivedData?.soleProprietor) return /* @__PURE__ */ jsx(Loader, {});
|
|
1744
|
+
const allValidationErrors = problems?.validationErrors && Object.values(problems.validationErrors)?.reduce((acc, validError) => ({
|
|
1745
|
+
...acc,
|
|
1746
|
+
...validError
|
|
1747
|
+
}), {});
|
|
1748
|
+
const allVerificationErrors = problems?.verificationErrors && Object.values(problems.verificationErrors)?.reduce((acc, verifError) => ({
|
|
1749
|
+
...acc,
|
|
1750
|
+
...verifError
|
|
1751
|
+
}), {});
|
|
1752
|
+
const formUtils = createFormUtils({ labels: {} }, commonT);
|
|
1753
|
+
const handleEditForm = (formId) => {
|
|
1754
|
+
const formIndex = forms.findIndex((form) => form.formId === formId);
|
|
1755
|
+
if (formIndex >= 0) gotoFormByFormIndex(formIndex);
|
|
1756
|
+
};
|
|
1757
|
+
const summaryComponent = /* @__PURE__ */ jsx(BusinessFinancingSummary, {
|
|
1758
|
+
items: formatDataForSummary(i18n.language, businessFinancingT, datasetUtils, umfData, rootLegalEntity?.organization?.registeredAddress),
|
|
1759
|
+
handleEditForm,
|
|
1760
|
+
forms,
|
|
1761
|
+
children: /* @__PURE__ */ jsx(ErrorPanel, {
|
|
1762
|
+
validationErrors: allValidationErrors,
|
|
1763
|
+
verificationErrors: allVerificationErrors,
|
|
1764
|
+
formUtils,
|
|
1765
|
+
id: "ariaErrorField",
|
|
1766
|
+
slot: "errorPanel"
|
|
1767
|
+
})
|
|
1768
|
+
});
|
|
1769
|
+
return showEndState ? /* @__PURE__ */ jsx(EndStateLayout, {
|
|
1770
|
+
title: businessFinancingT(($) => $["submissionReceived"]),
|
|
1771
|
+
description: businessFinancingT(($) => $["theInformationProvidedIsBeingReviewed"]),
|
|
1772
|
+
action: externalOnSubmit && !showBusinessFinancingFirst ? /* @__PURE__ */ jsx(Button, {
|
|
1773
|
+
onClick: () => externalOnSubmit?.({ ...umfData }),
|
|
1774
|
+
children: externalOnSubmitLabel || commonT(($) => $["finish"])
|
|
1775
|
+
}) : void 0
|
|
1776
|
+
}) : /* @__PURE__ */ jsx(FormContextProvider, {
|
|
1777
|
+
form,
|
|
1778
|
+
children: /* @__PURE__ */ jsx(FormFlow, {
|
|
1779
|
+
summaryComponent,
|
|
1780
|
+
currentStep: steps.current,
|
|
1781
|
+
disableNextButton: !activeForm.isValid,
|
|
1782
|
+
forms,
|
|
1783
|
+
activeForm,
|
|
1784
|
+
gotoFormByFormIndex,
|
|
1785
|
+
gotoFormByFormId,
|
|
1786
|
+
handleBackClick,
|
|
1787
|
+
handleCancelClick: handleHomeClick,
|
|
1788
|
+
handleNextClick,
|
|
1789
|
+
loadingStatus,
|
|
1790
|
+
totalSteps: steps.total,
|
|
1791
|
+
children: /* @__PURE__ */ jsx("div", { children: renderActiveForm(activeForm || (derivedData?.soleProprietor ? businessFinancingForms.soleProprietor : businessFinancingForms.company)) })
|
|
1792
|
+
})
|
|
1793
|
+
});
|
|
1794
|
+
}
|
|
1795
|
+
//#endregion
|
|
1796
|
+
export { BusinessFinancingDropin as t };
|