@adyen/kyc-components 4.12.0 → 4.13.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/AcceptTermsOfServiceComponent-Bdb6OG0V.js +652 -0
- package/dist/Accordion-gSHEDtlp.js +111 -0
- package/dist/AccountSetupRejected-MS5ucnkH.js +19 -0
- package/dist/AdaptiveWorkflow-rw87nTVq.js +1562 -0
- package/dist/AdaptiveWorkflowComponent-LGv3nI6L.js +130 -0
- package/dist/Address-B1WQZxTA.js +557 -0
- package/dist/Alert-BYrDkvk9.js +170 -0
- package/dist/AnalyticsContext-CbM5V7Nw.js +75 -0
- package/dist/Avatar-CuGCWCs9.js +54 -0
- package/dist/BusinessFinancingDropin-Bxqli70j.js +1800 -0
- package/dist/BusinessFinancingPage-DlDZmgJ8.js +87 -0
- package/dist/BusinessTypeSelectionPage-D0jjyKgo.js +436 -0
- package/dist/Button-BxfzWsRl.js +189 -0
- package/dist/Card-BylPFvY4.js +71 -0
- package/dist/Checkbox-BRuXJ18x.js +55 -0
- package/dist/CompanyRegistrationNumberTypeSelector-BnoX2hCa.js +1038 -0
- package/dist/Confirm-BEZEArAy.js +76 -0
- package/dist/ConstitutionalDocument-B5MVwJbp.js +1121 -0
- package/dist/ContactDetails-63BkotMl.js +516 -0
- package/dist/ContextGuidance-BRGAWzeW.js +29 -0
- package/dist/CountryField-DhNTIfGL.js +38 -0
- package/dist/Currency-QVw0PSm6.js +191 -0
- package/dist/CustomerSupport-twU8Nkth.js +129 -0
- package/dist/DebugModal-Bw1SyycN.js +454 -0
- package/dist/DecisionMakerDetails-B8s07F7D.js +493 -0
- package/dist/DecisionMakerDetailsPage-CAq5na-Z.js +103 -0
- package/dist/DecisionMakers-Bm-L-q92.js +583 -0
- package/dist/Dropzone-BbBVtqN9.js +236 -0
- package/dist/EmbeddedStatus-td-3A1DN.js +128 -0
- package/dist/EndStateLayout-CnhmrsxA.js +82 -0
- package/dist/EntityAssociation-BHvq_AwX.js +163 -0
- package/dist/ErrorPanel-CzX5ev6p.js +185 -0
- package/dist/Field-Vzlyifk5.js +155 -0
- package/dist/FormNavigation-B79CI_Kc.js +116 -0
- package/dist/Header-fY8HlUFH.js +93 -0
- package/dist/Image-BBLBIviv.js +33 -0
- package/dist/Individual.rules-BvJRuxgJ.js +294 -0
- package/dist/IndividualDropin-BdBMJkx4.js +4950 -0
- package/dist/InputDate--h7l0kcO.js +52 -0
- package/dist/InputText-BK_8YUd_.js +119 -0
- package/dist/Introduction-p7SxkPvq.js +325 -0
- package/dist/InvitedDecisionMakerComponent-C1gqGJsQ.js +412 -0
- package/dist/JpAddress-msyDs8qO.js +322 -0
- package/dist/LandingLayout-BK3kV0FL.js +76 -0
- package/dist/LegalCompanyNameField-CQUbvS77.js +108 -0
- package/dist/LegalRepresentativeDetailsPage-3kuEatCa.js +73 -0
- package/dist/Link-idX4eEXz.js +32 -0
- package/dist/ListItem-BzSnYlO1.js +70 -0
- package/dist/LoaderWrapper-Tr14IrmG.js +34 -0
- package/dist/MaskedInput-WaAdSNPN.js +715 -0
- package/dist/MaybeModal-BkoicAOk.js +24 -0
- package/dist/Modal-CMKjvMyV.js +109 -0
- package/dist/Name-DkBgo3cK.js +61 -0
- package/dist/NewSummary-Cf1CesDB.js +72 -0
- package/dist/PayoutDetailsDropinMultiForm-CFXh9XH3.js +4106 -0
- package/dist/PayoutDetailsPage-ChsSeEPB.js +68 -0
- package/dist/RadioGroup-Bc8reZVM.js +84 -0
- package/dist/Review-GGx4T5lx.js +99 -0
- package/dist/RootBusinessDetailsPage-DONnHveK.js +69 -0
- package/dist/RootBusinessLinesPage-B-zkaI6w.js +1452 -0
- package/dist/RootIndividualDetailsPage-Bl622oSy.js +81 -0
- package/dist/Select-CRVpXZ1k.js +777 -0
- package/dist/SignPCIComponent-CPjxKwUt.js +368 -0
- package/dist/SingpassSelection-c3hLW3jo.js +156 -0
- package/dist/SoleProprietorshipPage-BqX-btX5.js +69 -0
- package/dist/SourceOfFundsPage-_sMwhidd.js +2775 -0
- package/dist/Summary-DESUnetK.js +226 -0
- package/dist/TaskListItem-9Kq5rfrA.js +164 -0
- package/dist/TaskVerificationStatus-F5lMp5Rx.js +118 -0
- package/dist/TaxInformationField-hjyqzys0.js +474 -0
- package/dist/TaxReportingDropin-Xjf5BXjR.js +476 -0
- package/dist/TextArea-CIgJgN16.js +80 -0
- package/dist/TileGroup-irJw9YNz.js +170 -0
- package/dist/ToastContext-D7fHw64P.js +13 -0
- package/dist/ToastContextProvider-CU6K9Sqo.js +103 -0
- package/dist/TrustDetailsPage-DDxllsNB.js +1105 -0
- package/dist/TrustMemberCompanyPage-B_fHFzDr.js +107 -0
- package/dist/TrustMemberIndividualPage-B5hPWglh.js +107 -0
- package/dist/TrustMemberRoleAndTypePage-LlBgvSwW.js +933 -0
- package/dist/TrustMembersOverview-BGzdiibd.js +451 -0
- package/dist/UnincorporatedPartnershipIndividualPage-Bfxq3XJj.js +78 -0
- package/dist/UnincorporatedPartnershipMemberCompanyPage-Bw-DLdQV.js +78 -0
- package/dist/UnincorporatedPartnershipMemberRoleAndTypePage-BbQB-s2g.js +271 -0
- package/dist/UnincorporatedPartnershipMembersOverview-B-djUG0K.js +159 -0
- package/dist/VerificationErrorAlert-D8Peag6l.js +38 -0
- package/dist/accountHolderUtils-mgP2-0Nn.js +44 -0
- package/dist/adyen-business-financing.js +84 -84
- package/dist/adyen-individual-configuration.js +87 -87
- package/dist/adyen-individual-status.js +35 -35
- package/dist/adyen-invited-decision-maker.js +3 -3
- package/dist/adyen-onboarding.js +129 -135
- package/dist/adyen-terms-of-service-management.js +4 -4
- package/dist/adyen-terms-of-service-status.js +58 -58
- package/dist/adyen-transfer-instrument-configuration.js +84 -84
- package/dist/adyen-transfer-instrument-management.js +109 -101
- package/dist/adyen-verification-status.js +35 -35
- package/dist/bafinUtils-DJ5gJYKz.js +96 -0
- package/dist/bg-BG-BUgREukJ.js +7 -0
- package/dist/bg-BG-CAC3TgzH.js +7 -0
- package/dist/bg-BG-DszNb4YW.js +7 -0
- package/dist/birthDateUtils-BUDlu8wE.js +82 -0
- package/dist/constants-Cuqk72uG.js +233 -0
- package/dist/countries-BLvJ0FJ4.js +41 -0
- package/dist/country-Cm0PPJDS.js +13 -0
- package/dist/cs-CZ-BCCbEB0j.js +7 -0
- package/dist/cs-CZ-DC3dWoGV.js +7 -0
- package/dist/cs-CZ-DtoIeWYx.js +7 -0
- package/dist/da-DK-BVAv2vUs.js +7 -0
- package/dist/da-DK-BbuiozUl.js +7 -0
- package/dist/da-DK-C0KVt06k.js +7 -0
- package/dist/de-DE-B8GqI1Sq.js +7 -0
- package/dist/de-DE-CEKqkGeP.js +7 -0
- package/dist/de-DE-uuUOPGHs.js +7 -0
- package/dist/decisionMaker-b5wJjUBN.js +146 -0
- package/dist/decisionMakerRoles-CCKWKoWd.js +46 -0
- package/dist/el-GR-D4Pmng8T.js +7 -0
- package/dist/el-GR-DtpUBNHl.js +7 -0
- package/dist/el-GR-WS8xbrFJ.js +7 -0
- package/dist/en-US-BOJswraw.js +7 -0
- package/dist/en-US-CN15rSvL.js +7 -0
- package/dist/en-US-DNQKfkN1.js +33 -0
- package/dist/en-US-ccX525iK.js +7 -0
- package/dist/entityAssociationUtil-D1ledZtc.js +59 -0
- package/dist/es-ES-B-x17o8d.js +7 -0
- package/dist/es-ES-BrTDtXtR.js +7 -0
- package/dist/es-ES-XWHjoMpE.js +7 -0
- package/dist/et-EE-BiA52MlJ.js +7 -0
- package/dist/et-EE-CweZxZJx.js +7 -0
- package/dist/et-EE-D5ztjKQA.js +7 -0
- package/dist/fi-FI-AQc_uafE.js +7 -0
- package/dist/fi-FI-BUUV58aZ.js +7 -0
- package/dist/fi-FI-BvjOb0Oi.js +7 -0
- package/dist/formUtils-C7vlzCV-.js +78 -0
- package/dist/formatCurrency-D-m2ri-x.js +23 -0
- package/dist/fr-FR-BuQwZ2oq.js +7 -0
- package/dist/fr-FR-CzKTntJm.js +7 -0
- package/dist/fr-FR-e7lKrFcK.js +7 -0
- package/dist/getName-BtgdCWSR.js +35 -0
- package/dist/getProblemsForEntity-B9GOFyRX.js +16 -0
- package/dist/globalStore-BCeQ8cDF.js +419 -0
- package/dist/hr-HR-CN0us45A.js +7 -0
- package/dist/hr-HR-DVJaypbL.js +7 -0
- package/dist/hr-HR-WsApmYld.js +7 -0
- package/dist/http-D5tz1jGD.js +149 -0
- package/dist/hu-HU-Bdjd0HM0.js +7 -0
- package/dist/hu-HU-rbT-Gfxm.js +7 -0
- package/dist/hu-HU-xO5SwtyK.js +7 -0
- package/dist/invalidateRootLegalEntity-D7_UqU5H.js +45 -0
- package/dist/isEmpty-Bi8OJ7I4.js +14 -0
- package/dist/isEmptyEntity-CCwgjz_g.js +44 -0
- package/dist/it-IT-DiJG8CVH.js +7 -0
- package/dist/it-IT-QMmUeFIw.js +7 -0
- package/dist/it-IT-wx2DTjIq.js +7 -0
- package/dist/ja-JP-BchEmvKT.js +7 -0
- package/dist/ja-JP-CYNEiARm.js +7 -0
- package/dist/ja-JP-K0GtGc1m.js +7 -0
- package/dist/japanSupportUtils-DqvGrGbm.js +11 -0
- package/dist/localizeDateString-Bni_Kn5k.js +35 -0
- package/dist/lt-LT-BwsC_PRy.js +7 -0
- package/dist/lt-LT-CfUZy3Nu.js +7 -0
- package/dist/lt-LT-Csda84LY.js +7 -0
- package/dist/lv-LV-B_twW5aF.js +7 -0
- package/dist/lv-LV-DeE0FbCk.js +7 -0
- package/dist/lv-LV-M8ADb0dX.js +7 -0
- package/dist/mapExistingFile-AUOevYJs.js +135 -0
- package/dist/mapJpAddressSchemaToAddressLocalizations-DFgQADg8.js +61 -0
- package/dist/mapLegalEntityToIndividualSchema-CNdXP4KZ.js +207 -0
- package/dist/mapTransferInstrumentToPayoutAccount-DaAa5pOZ.js +44 -0
- package/dist/nl-NL-BPZ4ggwt.js +7 -0
- package/dist/nl-NL-Ch6Gx-ay.js +7 -0
- package/dist/nl-NL-lkzdYqOX.js +7 -0
- package/dist/no-NO-CSn5Ou1S.js +7 -0
- package/dist/no-NO-DEmXDlJQ.js +7 -0
- package/dist/no-NO-DyJlM9HH.js +7 -0
- package/dist/omitObscuredFieldsIfUnchanged-Bl-KmvQB.js +20 -0
- package/dist/pl-PL-C8O5EIza.js +7 -0
- package/dist/pl-PL-D9oajkyF.js +7 -0
- package/dist/pl-PL-DQ3obGGK.js +7 -0
- package/dist/process-field-configurations-D-i--Py4.js +279 -0
- package/dist/processCapabilities-C3-DrzSD.js +869 -0
- package/dist/pt-BR-CHDCegc8.js +7 -0
- package/dist/pt-BR-D9hPCc0c.js +7 -0
- package/dist/pt-BR-DyTpIjam.js +7 -0
- package/dist/pt-PT-B1k39MuE.js +7 -0
- package/dist/pt-PT-GnCWUuu_.js +7 -0
- package/dist/pt-PT-ne6PkZM_.js +7 -0
- package/dist/resolveEnvironment-DFEOfLcA.js +985 -0
- package/dist/ro-RO-BvYWHJVi.js +7 -0
- package/dist/ro-RO-DGzJvIXf.js +7 -0
- package/dist/ro-RO-rwkWejS6.js +7 -0
- package/dist/roleMetadata-bE5AIBEY.js +56 -0
- package/dist/sk-SK-BQgZ5CQA.js +7 -0
- package/dist/sk-SK-BR0l7uzo.js +7 -0
- package/dist/sk-SK-C1lm7CTj.js +7 -0
- package/dist/sl-SI-BZ5Dm_pA.js +7 -0
- package/dist/sl-SI-D5wg7xsZ.js +7 -0
- package/dist/sl-SI-DHn8rJ33.js +7 -0
- package/dist/style.css +85 -231
- package/dist/styles-DfQtSmqv.js +6678 -0
- package/dist/sv-SE-BfLV5o3E.js +7 -0
- package/dist/sv-SE-CloWnXU5.js +7 -0
- package/dist/sv-SE-CzO_XtYz.js +7 -0
- package/dist/translation-BHUZ_WP7.js +915 -0
- package/dist/trustUtil-BBkbuta4.js +99 -0
- package/dist/types/adaptiveWorkflow/component-registry.d.ts +10 -2
- package/dist/types/adaptiveWorkflow/components/Fields/AcceptTermsOfServiceWorkflow/AcceptTermsOfServiceWorkflow.d.ts +2 -2
- package/dist/types/adaptiveWorkflow/components/SpecializedComponent/SpecializedComponent.d.ts +6 -6
- package/dist/types/adaptiveWorkflow/components/SubTask/SubTask.d.ts +7 -0
- package/dist/types/adaptiveWorkflow/components/SubTask/contextMap.d.ts +2 -0
- package/dist/types/adaptiveWorkflow/components/TaskItems/UboTaskItem/UboTaskItem.d.ts +16 -0
- package/dist/types/adaptiveWorkflow/components/TaskParser/TaskParser.d.ts +7 -0
- package/dist/types/adaptiveWorkflow/components/types.d.ts +25 -8
- package/dist/types/adaptiveWorkflow/utils/utils.d.ts +1 -1
- package/dist/types/api/companyDataSet/companyDataset.types.d.ts +6 -1
- package/dist/types/components/Business/forms/AdditionalInformation/AdditionalInformation.d.ts +1 -1
- package/dist/types/components/Business/forms/AdditionalInformation/types.d.ts +4 -3
- package/dist/types/components/Business/forms/BasicInformation/BasicInformation.d.ts +1 -1
- package/dist/types/components/Business/forms/BasicInformation/types.d.ts +4 -3
- package/dist/types/components/Business/forms/BusinessDetails/BusinessDetailsMultiform.d.ts +4 -9
- package/dist/types/components/Business/forms/BusinessSelection/BusinessSelection.d.ts +2 -12
- package/dist/types/components/Business/forms/BusinessSelection/types.d.ts +5 -0
- package/dist/types/components/Business/forms/CompanyStructure/CompanyStructure.d.ts +2 -4
- package/dist/types/components/Business/forms/CompanyStructure/types.d.ts +5 -0
- package/dist/types/components/Business/forms/FinancialInformation/FinancialInformation.d.ts +1 -1
- package/dist/types/components/Business/forms/FinancialInformation/types.d.ts +5 -3
- package/dist/types/components/Business/forms/rules.d.ts +4 -2
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/businessDetailsStore.d.ts +2 -1
- package/dist/types/components/BusinessLines/forms/IndustryCodesForm/IndustryCodesForm.d.ts +2 -2
- package/dist/types/components/BusinessLines/forms/IndustryCodesForm/types.d.ts +2 -0
- package/dist/types/components/BusinessLines/forms/SalesChannelsForm/SalesChannelsForm.d.ts +2 -2
- package/dist/types/components/BusinessLines/forms/SalesChannelsForm/types.d.ts +4 -0
- package/dist/types/components/BusinessLines/forms/SctaForm/SctaForm.d.ts +2 -2
- package/dist/types/components/BusinessLines/forms/SctaForm/types.d.ts +2 -0
- package/dist/types/components/BusinessLines/tasks/types.d.ts +0 -5
- package/dist/types/components/EFP/tasks/SourceOfFundsDropin/SourceOfFundsDropin.d.ts +1 -1
- package/dist/types/components/EFP/tasks/TaxReportingDropin/TaxReportingDropin.d.ts +1 -1
- package/dist/types/components/EmbeddedDropins/ManageTransferInstrumentComponent/ManageTransferInstrumentComponent.d.ts +0 -1
- package/dist/types/components/EmbeddedDropins/ManageTransferInstrumentComponent/ManageTransferInstrumentOverview/ManageTransferInstrumentOverview.d.ts +0 -1
- package/dist/types/components/Shared/EntityGuidanceStatus/EntityGuidanceStatus.d.ts +0 -1
- package/dist/types/components/Shared/Introduction/Introduction.d.ts +0 -1
- package/dist/types/components/Shared/fields/DBANameField/DBANameField.d.ts +0 -1
- package/dist/types/components/ui/atoms/Radio/Radio.d.ts +1 -1
- package/dist/types/components/ui/atoms/RadioWithLabel/RadioWithLabel.d.ts +1 -1
- package/dist/types/components/ui/atoms/Typography/Typography.d.ts +0 -1
- package/dist/types/components/ui/molecules/AdaptiveProgressBar/AdaptiveProgressBar.d.ts +11 -0
- package/dist/types/components/ui/molecules/Dropzone/DropzoneFile.d.ts +0 -1
- package/dist/types/context/ToggleContext/ToggleContextProvider.d.ts +1 -1
- package/dist/types/context/ToggleContext/types.d.ts +1 -5
- package/dist/types/core/services/utils.d.ts +2 -2
- package/dist/types/embeds/baseEmbedProps.d.ts +2 -2
- package/dist/types-BEc7vus9.js +58 -0
- package/dist/types-CBQZm0Fk.js +150 -0
- package/dist/types-CEJyC_Mj.js +66 -0
- package/dist/types-DyF8eymA.js +19 -0
- package/dist/useAccountHolder-aoHH1XJq.js +102 -0
- package/dist/useAllowedCountries-Dea38KPz.js +74 -0
- package/dist/useAnalyticsContext-pNSIB8AZ.js +12 -0
- package/dist/useAssociatedLegalEntity-BOtek2pM.js +35 -0
- package/dist/useBusinessDetailsData-BDVt7W56.js +4636 -0
- package/dist/useBusinessLines-BE_hXjkY.js +27 -0
- package/dist/useCanSeeIntroduction-C7a4t7HJ.js +39 -0
- package/dist/useCapabilities-Bn6IcCNt.js +12 -0
- package/dist/useCreateLegalEntity-DWNHPjAr.js +24 -0
- package/dist/useDataMissingRemediations-Dc8p_hCP.js +39 -0
- package/dist/useDataset-VrL_8cq1.js +96 -0
- package/dist/useDeleteTransferInstrument-Bf3I-lk0.js +31 -0
- package/dist/useForm-CbSEaCrl.js +502 -0
- package/dist/useFormContext-DGW15-id.js +504 -0
- package/dist/useLegalEntity-k2lxoMzW.js +48 -0
- package/dist/useMultiForm-BZBzYZ-3.js +755 -0
- package/dist/useNavigate-Cux5bWjD.js +269 -0
- package/dist/useOnboardingStatus-CHBhX5te.js +23 -0
- package/dist/usePciQuestionnaireList-Y87h-w4C.js +26 -0
- package/dist/useSalesChannels-f8ZEd90X.js +47 -0
- package/dist/useScenarios-D2TFpeEU.js +55 -0
- package/dist/useTaskLandedEvent-BdO8qSBg.js +26 -0
- package/dist/useTaskStatus-DPyTD_Ko.js +23 -0
- package/dist/useTermsOfServiceStatus-C04Xyc0M.js +39 -0
- package/dist/useToastContext-BIwgSCxA.js +12 -0
- package/dist/useTrustMembers-DYKQfH8R.js +152 -0
- package/dist/useUnincorporatedPartnershipMembers-CtuG_S-a.js +70 -0
- package/dist/useUpdateBusinessLines-CaT_-l9v.js +68 -0
- package/dist/useUpdateLegalEntity-CfJs-A1X.js +29 -0
- package/dist/utils-Bx8jBrij.js +46 -0
- package/dist/utils-C1DzW0Hz.js +207 -0
- package/dist/utils-DQEnWBYq.js +2482 -0
- package/dist/utils-TlcnGMeG.js +188 -0
- package/dist/validate-CaRbtwlX.js +411 -0
- package/dist/validate-J6U_ulFs.js +397 -0
- package/dist/validationError-CD5jY1NM.js +68 -0
- package/dist/validationResult-OLfDDPfY.js +77 -0
- package/package.json +6 -2
- package/dist/AcceptTermsOfServiceComponent-BIYgOoqa.js +0 -652
- package/dist/Accordion-DJ1F7dI4.js +0 -111
- package/dist/AccountSetupRejected-_VNh1Xj4.js +0 -19
- package/dist/AdaptiveWorkflow-D3WOUCtY.js +0 -1309
- package/dist/AdaptiveWorkflowComponent-Bpm3fL_H.js +0 -130
- package/dist/Address-CHpJLi-Q.js +0 -557
- package/dist/Alert-CjZYipjN.js +0 -170
- package/dist/AnalyticsContext-C0HNdPss.js +0 -74
- package/dist/Avatar-4gshS6xA.js +0 -54
- package/dist/BusinessFinancingDropin-VodFOFP9.js +0 -1800
- package/dist/BusinessFinancingPage-CRPspsfV.js +0 -87
- package/dist/BusinessTypeSelectionPage-D-Mbk28l.js +0 -436
- package/dist/Button-BDEdGXnd.js +0 -189
- package/dist/Card-DXdUqwyQ.js +0 -70
- package/dist/Checkbox-BJJIXNHL.js +0 -55
- package/dist/CompanyRegistrationNumberTypeSelector-CeRtLSxc.js +0 -1038
- package/dist/Confirm-BqhBxIWm.js +0 -76
- package/dist/ConstitutionalDocument-Jqgyahcj.js +0 -1121
- package/dist/ContactDetails-C3MS4diz.js +0 -288
- package/dist/ContextGuidance-CxOv00_a.js +0 -29
- package/dist/CountryField-B-JxQ6z9.js +0 -38
- package/dist/Currency-BbWaBY8A.js +0 -191
- package/dist/CustomerSupport-Cq2yBN4K.js +0 -129
- package/dist/DebugModal-CuioSqKQ.js +0 -454
- package/dist/DecisionMakerDetails-DElp9pZu.js +0 -492
- package/dist/DecisionMakerDetailsPage-BsKqMepM.js +0 -103
- package/dist/DecisionMakers-c0L12DVq.js +0 -583
- package/dist/Dropzone-D8gz-OLM.js +0 -236
- package/dist/EmbeddedStatus-Ch7vvcve.js +0 -128
- package/dist/EndStateLayout-DxdIVWL3.js +0 -84
- package/dist/EntityAssociation-inLOmBfG.js +0 -163
- package/dist/ErrorPanel-5g1eTEVD.js +0 -185
- package/dist/Field-BEqknhTe.js +0 -155
- package/dist/FormNavigation-Btkou5O7.js +0 -116
- package/dist/Header-B_MIsVov.js +0 -93
- package/dist/Image-BPAtdM5Y.js +0 -33
- package/dist/Individual.rules-BaOxBQUI.js +0 -296
- package/dist/IndividualDropin-Cx16d1Oo.js +0 -4951
- package/dist/InputDate-DsEAx7kx.js +0 -52
- package/dist/InputText-CadVntiC.js +0 -119
- package/dist/Introduction-DtL0bA4R.js +0 -343
- package/dist/InvitedDecisionMakerComponent-CfWqrjQk.js +0 -412
- package/dist/JpAddress-CL6tkvUL.js +0 -322
- package/dist/LandingLayout-C9eryD6V.js +0 -76
- package/dist/LegalCompanyNameField-Dgn4iOVN.js +0 -108
- package/dist/LegalRepresentativeDetailsPage-DhEKvu-y.js +0 -73
- package/dist/Link-BoduD1oh.js +0 -32
- package/dist/ListItem-ByYbZdGG.js +0 -70
- package/dist/LoaderWrapper-CRf5MAK1.js +0 -34
- package/dist/MaskedInput-uN8G9HRq.js +0 -715
- package/dist/MaybeModal-DkRlF_Mg.js +0 -24
- package/dist/Modal-DOC6JgPI.js +0 -115
- package/dist/Name-VckG8ggI.js +0 -61
- package/dist/NewSummary-BQHtEgHV.js +0 -72
- package/dist/PayoutDetailsDropinMultiForm-Bm-PbnDN.js +0 -4112
- package/dist/PayoutDetailsPage-t9H1HAV3.js +0 -68
- package/dist/RadioGroup-XuCtbRrH.js +0 -84
- package/dist/Review-BjMmCI8_.js +0 -99
- package/dist/RootBusinessDetailsPage-CLAEGMGe.js +0 -69
- package/dist/RootBusinessLinesPage-vX2RdR1q.js +0 -1452
- package/dist/RootIndividualDetailsPage-Cs-601aX.js +0 -81
- package/dist/Select-CMFHti4N.js +0 -777
- package/dist/SignPCIComponent-C91NFrWs.js +0 -368
- package/dist/SingpassSelection-Bksn6t52.js +0 -156
- package/dist/SoleProprietorshipPage-itbv_RaA.js +0 -69
- package/dist/SourceOfFundsPage-GTMmyUv0.js +0 -1992
- package/dist/Summary-DZq5UKMv.js +0 -226
- package/dist/TaskListItem-BM3oukq_.js +0 -164
- package/dist/TaskVerificationStatus-jBBIJN_A.js +0 -118
- package/dist/TaxInformationField-CJyqFS0F.js +0 -474
- package/dist/TaxReportingDropin-BMYbiHlX.js +0 -478
- package/dist/TextArea-qzKHJyZG.js +0 -80
- package/dist/TileGroup-COge4hw4.js +0 -170
- package/dist/ToastContext-CeB1t7kx.js +0 -13
- package/dist/ToastContextProvider-DmZQLSHH.js +0 -103
- package/dist/TrustDetailsPage-ByWKgzze.js +0 -1105
- package/dist/TrustMemberCompanyPage-Dsy0hA-v.js +0 -107
- package/dist/TrustMemberIndividualPage-BiwagdFl.js +0 -107
- package/dist/TrustMemberRoleAndTypePage-B6CAPw_I.js +0 -950
- package/dist/TrustMembersOverview-sPSvGI74.js +0 -433
- package/dist/UnincorporatedPartnershipIndividualPage-BNrgepSe.js +0 -78
- package/dist/UnincorporatedPartnershipMemberCompanyPage-DDUZRNLG.js +0 -78
- package/dist/UnincorporatedPartnershipMemberRoleAndTypePage-DvhPYL9l.js +0 -276
- package/dist/UnincorporatedPartnershipMembersOverview-MeqDhQz7.js +0 -159
- package/dist/VerificationErrorAlert-x74LQ1wJ.js +0 -38
- package/dist/accountHolderUtils-AnlUAp6W.js +0 -44
- package/dist/bafinUtils-AZHgY8qT.js +0 -96
- package/dist/bg-BG-C12I_ehJ.js +0 -7
- package/dist/bg-BG-CS6SQDE2.js +0 -7
- package/dist/bg-BG-NwL6SZRu.js +0 -7
- package/dist/birthDateUtils-CMLWoaT8.js +0 -82
- package/dist/constants-BK5Bx2Pg.js +0 -233
- package/dist/countries-BEUFeNU1.js +0 -41
- package/dist/country-C5KY5i2U.js +0 -13
- package/dist/cs-CZ-BZkot6xs.js +0 -7
- package/dist/cs-CZ-C-nfIYKA.js +0 -7
- package/dist/cs-CZ-TiWySd9u.js +0 -7
- package/dist/da-DK-Bc6oX5Ct.js +0 -7
- package/dist/da-DK-DO88W3qD.js +0 -7
- package/dist/da-DK-DtPE4OIu.js +0 -7
- package/dist/de-DE-CnB43wjo.js +0 -7
- package/dist/de-DE-JZBqb8ce.js +0 -7
- package/dist/de-DE-YX6rtv17.js +0 -7
- package/dist/decisionMaker-BKR5Dau-.js +0 -146
- package/dist/decisionMakerRoles-wy4KpDQg.js +0 -46
- package/dist/el-GR-Be15a5W8.js +0 -7
- package/dist/el-GR-C8jFvyDg.js +0 -7
- package/dist/el-GR-DJJbbbY3.js +0 -7
- package/dist/en-US-AkapGgCu.js +0 -7
- package/dist/en-US-B3wlE1pH.js +0 -7
- package/dist/en-US-BDZwHN0Y.js +0 -7
- package/dist/en-US-Cep-b_Ek.js +0 -28
- package/dist/entityAssociationUtil-C0gX4Ewv.js +0 -59
- package/dist/es-ES-D1BkDJkz.js +0 -7
- package/dist/es-ES-FQbC3B0S.js +0 -7
- package/dist/es-ES-mdSA-CIT.js +0 -7
- package/dist/et-EE-B4ZMHksf.js +0 -7
- package/dist/et-EE-BZ26f0MN.js +0 -7
- package/dist/et-EE-DrQLDWH2.js +0 -7
- package/dist/fi-FI-CeJPt0gg.js +0 -7
- package/dist/fi-FI-CqM2eaKi.js +0 -7
- package/dist/fi-FI-koFpyMaq.js +0 -7
- package/dist/formUtils-DERTAXyh.js +0 -78
- package/dist/fr-FR-B0eVVc8V.js +0 -7
- package/dist/fr-FR-CqvZpq5B.js +0 -7
- package/dist/fr-FR-lfoSPY0e.js +0 -7
- package/dist/getName-ODLD6UPV.js +0 -35
- package/dist/getProblemsForEntity-COcJt47f.js +0 -16
- package/dist/globalStore-D0yv1fc_.js +0 -419
- package/dist/hr-HR-CMgsuYh2.js +0 -7
- package/dist/hr-HR-C_7O4gxx.js +0 -7
- package/dist/hr-HR-D_X-RNUl.js +0 -7
- package/dist/http-CHTzpXCd.js +0 -149
- package/dist/hu-HU-3FpAw9b1.js +0 -7
- package/dist/hu-HU-C0Y9wmOY.js +0 -7
- package/dist/hu-HU-DORWpwoE.js +0 -7
- package/dist/invalidateRootLegalEntity-BHyct4ev.js +0 -45
- package/dist/isEmpty-Cf1sv6Wg.js +0 -14
- package/dist/isEmptyEntity-BBazi0Go.js +0 -44
- package/dist/it-IT-BgULENxX.js +0 -7
- package/dist/it-IT-CW0ZFuCZ.js +0 -7
- package/dist/it-IT-Cm3ujfY_.js +0 -7
- package/dist/ja-JP-BT70_5Cd.js +0 -7
- package/dist/ja-JP-BbXt47jb.js +0 -7
- package/dist/ja-JP-BllN9kcD.js +0 -7
- package/dist/japanSupportUtils-BjabsTWv.js +0 -11
- package/dist/localizeDateString-B7EYBFnd.js +0 -35
- package/dist/lt-LT-CDdoDT7A.js +0 -7
- package/dist/lt-LT-CKltvr9j.js +0 -7
- package/dist/lt-LT-DZvEoBgI.js +0 -7
- package/dist/lv-LV-DPQ4Tm3o.js +0 -7
- package/dist/lv-LV-DpfhFur0.js +0 -7
- package/dist/lv-LV-DwsdNJrk.js +0 -7
- package/dist/mapExistingFile-BeFexL6Z.js +0 -135
- package/dist/mapJpAddressSchemaToAddressLocalizations-CTGQ1JHC.js +0 -61
- package/dist/mapLegalEntityToIndividualSchema-BMvlasSJ.js +0 -207
- package/dist/mapTransferInstrumentToPayoutAccount-DUrX63iT.js +0 -44
- package/dist/nl-NL-B0uwKjKV.js +0 -7
- package/dist/nl-NL-Br1QBepE.js +0 -7
- package/dist/nl-NL-CxlTSECX.js +0 -7
- package/dist/no-NO-BSrcMnDk.js +0 -7
- package/dist/no-NO-BlsDONGK.js +0 -7
- package/dist/no-NO-FtH9gIpv.js +0 -7
- package/dist/omitObscuredFieldsIfUnchanged-BW0ZhOk7.js +0 -20
- package/dist/phonePrefixes-D5cQh9fv.js +0 -252
- package/dist/pl-PL-CK40GB3R.js +0 -7
- package/dist/pl-PL-Ct3cI8Sk.js +0 -7
- package/dist/pl-PL-CxlgXMRg.js +0 -7
- package/dist/process-field-configurations-B8wJu-eM.js +0 -279
- package/dist/processCapabilities-CDSEJpB8.js +0 -869
- package/dist/pt-BR-CqDjOIYt.js +0 -7
- package/dist/pt-BR-kU7AfzPy.js +0 -7
- package/dist/pt-BR-zUBVM8_b.js +0 -7
- package/dist/pt-PT-CxnB9Jff.js +0 -7
- package/dist/pt-PT-Dl_yfKGH.js +0 -7
- package/dist/pt-PT-hj7CUska.js +0 -7
- package/dist/resolveEnvironment-BmgzZ_BL.js +0 -983
- package/dist/ro-RO-CmHNsQpo.js +0 -7
- package/dist/ro-RO-Cuw1RmFc.js +0 -7
- package/dist/ro-RO-D9YjxrDi.js +0 -7
- package/dist/roleMetadata-Dt8-oMGP.js +0 -56
- package/dist/sk-SK-1i0L4zIs.js +0 -7
- package/dist/sk-SK-CQ1N3c8X.js +0 -7
- package/dist/sk-SK-CtsgM8bj.js +0 -7
- package/dist/sl-SI-B8-rZ169.js +0 -7
- package/dist/sl-SI-D3zK3MPP.js +0 -7
- package/dist/sl-SI-DywGyzEa.js +0 -7
- package/dist/styles-BKzp-1_V.js +0 -6824
- package/dist/sv-SE-BN0dUpwI.js +0 -7
- package/dist/sv-SE-CVRa-6Y0.js +0 -7
- package/dist/sv-SE-guJk9E1n.js +0 -7
- package/dist/translation-Br5wIPO-.js +0 -854
- package/dist/trustUtil-CVipffas.js +0 -99
- package/dist/types/components/Business/forms/forms.types.d.ts +0 -11
- package/dist/types/components/ui/atoms/StepProgressIndicator/StepProgressIndicator.d.ts +0 -19
- package/dist/types-BvdB7N_Z.js +0 -19
- package/dist/types-DjplYXLf.js +0 -58
- package/dist/types-LOiahAxg.js +0 -154
- package/dist/types-ewJwhKUi.js +0 -66
- package/dist/useAccountHolder-BUQwFdWW.js +0 -102
- package/dist/useAllowedCountries-BIhbvxWx.js +0 -74
- package/dist/useAnalyticsContext-DfTXpZbA.js +0 -12
- package/dist/useAssociatedLegalEntity-CYu0lsaE.js +0 -35
- package/dist/useBusinessDetailsData-B6r90q4T.js +0 -4612
- package/dist/useBusinessLines-BJV9biUj.js +0 -27
- package/dist/useCanSeeIntroduction-Dj1tjCk3.js +0 -39
- package/dist/useCapabilities-DN0V0pML.js +0 -12
- package/dist/useCreateLegalEntity-C149Z7Xu.js +0 -24
- package/dist/useDataMissingRemediations-Ddj2bl69.js +0 -39
- package/dist/useDataset-BRZZoPVn.js +0 -96
- package/dist/useDeleteTransferInstrument-CZM3f7yq.js +0 -31
- package/dist/useForm-DzG9tJAE.js +0 -502
- package/dist/useFormContext-Cu4dKSCy.js +0 -504
- package/dist/useLegalEntity-Dm6g0wmt.js +0 -48
- package/dist/useMultiForm-tpVMuqHM.js +0 -755
- package/dist/useNavigate-GmEmf-To.js +0 -269
- package/dist/useOnboardingStatus-CdLObhIM.js +0 -23
- package/dist/usePciQuestionnaireList-OjYY3MK9.js +0 -26
- package/dist/useSalesChannels-BDg8_NCC.js +0 -47
- package/dist/useScenarios-Bb-EhIep.js +0 -55
- package/dist/useTaskLandedEvent-DCdJo64z.js +0 -26
- package/dist/useTaskStatus-DzJWcN_l.js +0 -23
- package/dist/useTermsOfServiceStatus-Dh4huPkR.js +0 -39
- package/dist/useToastContext-CK7UoZ5Z.js +0 -12
- package/dist/useTrustMembers-BP6ygpU4.js +0 -152
- package/dist/useUnincorporatedPartnershipMembers-D7U6aM_k.js +0 -70
- package/dist/useUpdateBusinessLines-BUFe2lBW.js +0 -68
- package/dist/useUpdateLegalEntity-CUs6TYPF.js +0 -29
- package/dist/utils-CXdEwKOC.js +0 -46
- package/dist/utils-Cj9-IRaT.js +0 -188
- package/dist/utils-CkQJVYhR.js +0 -2472
- package/dist/utils-DLDyhf2J.js +0 -207
- package/dist/utils-eDM77TZ4.js +0 -805
- package/dist/validate-BQEVyhkI.js +0 -411
- package/dist/validate-DlG5LXuM.js +0 -381
- package/dist/validationError-Dr0g0lGN.js +0 -68
- package/dist/validationResult-BC9WLYOC.js +0 -77
- /package/dist/{4-people-Dt-FR2z_.js → 4-people-UD6qivNv.js} +0 -0
- /package/dist/{AD-5Egi3flE.js → AD-Dz8oe6Pg.js} +0 -0
- /package/dist/{AE-DJ-lRyPg.js → AE-CTdU1tzb.js} +0 -0
- /package/dist/{AI-ZfbxJFtE.js → AI-tjrpVbOw.js} +0 -0
- /package/dist/{AL-UBVZZlDX.js → AL-DvyI05UB.js} +0 -0
- /package/dist/{AR-B9C4Nibz.js → AR-DI6rdPa-.js} +0 -0
- /package/dist/{AS-CFb876zC.js → AS-ByXIuSCx.js} +0 -0
- /package/dist/{AT-CJDibmrN.js → AT-CutjdISu.js} +0 -0
- /package/dist/{AT-C8MN2Fns.js → AT-CvSbaCoE.js} +0 -0
- /package/dist/{AT-Do46gW4G.js → AT-DYSevBIw.js} +0 -0
- /package/dist/{AT-DsogulXO.js → AT-Dt3ZU8Yh.js} +0 -0
- /package/dist/{AU-DfV_PeBe.js → AU-C6u3aod7.js} +0 -0
- /package/dist/{AU-CDh6E7PE.js → AU-CLU0Xn_D.js} +0 -0
- /package/dist/{AU--MSKgcDY.js → AU-DzJ7QlNR.js} +0 -0
- /package/dist/{AU-DNxKMzJs.js → AU-EWPyqdHL.js} +0 -0
- /package/dist/{AX-DxAmGTy-.js → AX-DJ84WiiY.js} +0 -0
- /package/dist/{AZ-DRkABvzg.js → AZ-o_CDsMs4.js} +0 -0
- /package/dist/{BA-xlw8xj7W.js → BA-DL2O-nPB.js} +0 -0
- /package/dist/{BE-yocZ_S-V.js → BE-7F1ZOUtb.js} +0 -0
- /package/dist/{BE-BGioJIMA.js → BE-CT0bdDbu.js} +0 -0
- /package/dist/{BE-BQ4olBdk.js → BE-CyRTa5vY.js} +0 -0
- /package/dist/{BE-8eQ7Am1Y.js → BE-DgU3CTNg.js} +0 -0
- /package/dist/{BG-AfIdXJGJ.js → BG-B7VMgZNt.js} +0 -0
- /package/dist/{BH-CKPBbT8v.js → BH-Bot1MlCL.js} +0 -0
- /package/dist/{BM-DMmpYJ5S.js → BM-CfbbOZEU.js} +0 -0
- /package/dist/{BR-D2pNPrYB.js → BR-BaEKrqwp.js} +0 -0
- /package/dist/{BR-B8NzP1QV.js → BR-BikIex5m.js} +0 -0
- /package/dist/{BR-Iin-FtVm.js → BR-DrGkuPBg.js} +0 -0
- /package/dist/{BR-CmwW2wlc.js → BR-PBodf94A.js} +0 -0
- /package/dist/{BS-h2g8V4eH.js → BS-CR7QZvMY.js} +0 -0
- /package/dist/{BV-Br568icW.js → BV-pdJ1HYkg.js} +0 -0
- /package/dist/{BY-DNb6l2Rg.js → BY-RUR9XmBt.js} +0 -0
- /package/dist/{CA-DJVSS-DB.js → CA-6iRpP8zm.js} +0 -0
- /package/dist/{CA-DBQywpjY.js → CA-BM1GlX51.js} +0 -0
- /package/dist/{CA-Cc0GuXLd.js → CA-Bilo42jc.js} +0 -0
- /package/dist/{CA-BT05x8jm.js → CA-CgOysQQa.js} +0 -0
- /package/dist/{CH-C9Z3X6np.js → CH-BZ2dJJcd.js} +0 -0
- /package/dist/{CH-Bd1miMrE.js → CH-CmSkzRbO.js} +0 -0
- /package/dist/{CH-BL-4faPY.js → CH-HrO9afDv.js} +0 -0
- /package/dist/{CH-DFD2JLw3.js → CH-gKI7wttp.js} +0 -0
- /package/dist/{CN-5HinUnnB.js → CN-BUtZk2Mu.js} +0 -0
- /package/dist/{CR-PaLZQtHA.js → CR-CnpHHfms.js} +0 -0
- /package/dist/{CY-B85njNYI.js → CY-Ge_L3SKC.js} +0 -0
- /package/dist/{CZ-Dxmb6KsV.js → CZ-B8b5P2Or.js} +0 -0
- /package/dist/{CZ-BKdY5FmV.js → CZ-C1HmDbqn.js} +0 -0
- /package/dist/{CZ-4dIb_N3l.js → CZ-Cxwo_jP6.js} +0 -0
- /package/dist/{CZ-BbtlKoCl.js → CZ-I8UM9ti_.js} +0 -0
- /package/dist/{ContractViewer-BieoFdY1.js → ContractViewer-B8CspWV4.js} +0 -0
- /package/dist/{DE-DCHis7y4.js → DE-C2MEdoRW.js} +0 -0
- /package/dist/{DE-DQc4ncaM.js → DE-CSMMxMuZ.js} +0 -0
- /package/dist/{DE--Q5XezyA.js → DE-HSEDrUfG.js} +0 -0
- /package/dist/{DE-DmEk0oIa.js → DE-pQVkh64s.js} +0 -0
- /package/dist/{DK-DAzVnb1J.js → DK-BCcPGFzQ.js} +0 -0
- /package/dist/{DK-CdG4hfv7.js → DK-TyxXs-DV.js} +0 -0
- /package/dist/{DK-Bt_PCcFy.js → DK-dsRhTFow.js} +0 -0
- /package/dist/{DK-BjD2emK5.js → DK-mVm8rtJr.js} +0 -0
- /package/dist/{DO-BF7Pa_tN.js → DO-B84eOniD.js} +0 -0
- /package/dist/{DetailViewLayout-H4b1E5Ih.js → DetailViewLayout-Be6cqBDx.js} +0 -0
- /package/dist/{Divider-DHTBXv3p.js → Divider-BndbWx4f.js} +0 -0
- /package/dist/{EC-D6uEW2wn.js → EC-BAzODm77.js} +0 -0
- /package/dist/{EE-W5m__hus.js → EE-D2n6E72J.js} +0 -0
- /package/dist/{ES-BwwPYP5y.js → ES-BI7auc_D.js} +0 -0
- /package/dist/{ES-_cqCzBUa.js → ES-CsmTJRIi.js} +0 -0
- /package/dist/{ES-BdmgiBzc.js → ES-D4WzOTek.js} +0 -0
- /package/dist/{ES-DjYy5Dao.js → ES-DnRoTFNh.js} +0 -0
- /package/dist/{FI-5ySk5gAz.js → FI-CZ6ep3W_.js} +0 -0
- /package/dist/{FI-Z0tGRjwl.js → FI-DJZScc7l.js} +0 -0
- /package/dist/{FI-VPvgt4LP.js → FI-DhWyH1DT.js} +0 -0
- /package/dist/{FI-DwaCO8nT.js → FI-YOhI9TrO.js} +0 -0
- /package/dist/{FJ-CBPM7BcM.js → FJ-BcqfFVGi.js} +0 -0
- /package/dist/{FO-CSvRPbA1.js → FO-BuQb8zK_.js} +0 -0
- /package/dist/{FR-B876n3-B.js → FR-CWb0_Fcq.js} +0 -0
- /package/dist/{FR-RdDRKklk.js → FR-DYfYAn5S.js} +0 -0
- /package/dist/{FR-bMNYTLCL.js → FR-EX-aYUJ3.js} +0 -0
- /package/dist/{FR-CBB06Fnq.js → FR-SxebWfwR.js} +0 -0
- /package/dist/{GB-IJ-Iz5qv.js → GB-BycqX1ng.js} +0 -0
- /package/dist/{GB-Bxb4fPxG.js → GB-CszgE98l.js} +0 -0
- /package/dist/{GB--UVnRIRj.js → GB-DlvvuQuQ.js} +0 -0
- /package/dist/{GB-FU65v6fQ.js → GB-q2GO1nX8.js} +0 -0
- /package/dist/{GE-xaMHflrU.js → GE-ChK3V1hi.js} +0 -0
- /package/dist/{GF-CrDxyG5C.js → GF-fTBjIC0q.js} +0 -0
- /package/dist/{GG-DEqoBorh.js → GG-Cppga3Z4.js} +0 -0
- /package/dist/{GI-Turkle4q.js → GI-Cm7N6fbE.js} +0 -0
- /package/dist/{GL-BnDhUcrF.js → GL-C75JniJw.js} +0 -0
- /package/dist/{GP-Dp65xTqP.js → GP-DhHOAa8k.js} +0 -0
- /package/dist/{GR-3L3XhlH2.js → GR-zOZilI5v.js} +0 -0
- /package/dist/{GT-BhKx5dln.js → GT-B6tGLPxx.js} +0 -0
- /package/dist/{GU-Bgc9EY1W.js → GU-DjjJkDVU.js} +0 -0
- /package/dist/{HK-BmygOotV.js → HK-BXsi3wQZ.js} +0 -0
- /package/dist/{HK-kFldIGd7.js → HK-Bs3Wsh4t.js} +0 -0
- /package/dist/{HK-DClfjKdQ.js → HK-CVaMk2Vl.js} +0 -0
- /package/dist/{HK-DUMxc2EI.js → HK-Yj_9Qbs3.js} +0 -0
- /package/dist/{HR-BquBLtSA.js → HR-8jCYyclY.js} +0 -0
- /package/dist/{HR-BZ1pGUfO.js → HR-BR9TaCeP.js} +0 -0
- /package/dist/{HR-CmnsEDnL.js → HR-C-NuIOkA.js} +0 -0
- /package/dist/{HR-C57WjbJ_.js → HR-DvG9lG0o.js} +0 -0
- /package/dist/{HU-CErZJI70.js → HU-B4hChLQO.js} +0 -0
- /package/dist/{HU-3HXta-l8.js → HU-DF7a_-3t.js} +0 -0
- /package/dist/{HU-DnRWaWkm.js → HU-kkbB9HNQ.js} +0 -0
- /package/dist/{HU-BPcrEuPH.js → HU-o4ILK6JM.js} +0 -0
- /package/dist/{HandlerContext-J3b0CZCH.js → HandlerContext-CIedIvkP.js} +0 -0
- /package/dist/{ID-BpqDcVc4.js → ID-CnOsjpEC.js} +0 -0
- /package/dist/{IE-CZOtplG-.js → IE-B3ysSG_S.js} +0 -0
- /package/dist/{IE-nHDHO00_.js → IE-CtesijIU.js} +0 -0
- /package/dist/{IE-dduN0_TO.js → IE-Dwlg9nat.js} +0 -0
- /package/dist/{IE-auhNSIUT.js → IE-dmyHscm0.js} +0 -0
- /package/dist/{IL-C0zsRw_j.js → IL-B2GfQOoK.js} +0 -0
- /package/dist/{IM-DimZdCV2.js → IM-D9Hb0nwZ.js} +0 -0
- /package/dist/{IN-drNlZVBZ.js → IN-Qhys3xn2.js} +0 -0
- /package/dist/{IS-BdfP-REC.js → IS-DTXiGHYB.js} +0 -0
- /package/dist/{IT-BCxMd7Y7.js → IT-BZGkLCTQ.js} +0 -0
- /package/dist/{IT-DF6ZO-i8.js → IT-CHV5-m07.js} +0 -0
- /package/dist/{IT-Dc9lHBRw.js → IT-DFeNc5UK.js} +0 -0
- /package/dist/{IT-CNf1MrI-.js → IT-Dimtibs1.js} +0 -0
- /package/dist/{JE-BBO3NuzB.js → JE-D7_0MZEA.js} +0 -0
- /package/dist/{JM-BzHoUe13.js → JM-CUVKn5To.js} +0 -0
- /package/dist/{JO-fffBmbX2.js → JO-B9_bPqbF.js} +0 -0
- /package/dist/{JP-Dv9kCG6P.js → JP-z_PjepRf.js} +0 -0
- /package/dist/{KR-K1u4NuUE.js → KR-DaFOJAbV.js} +0 -0
- /package/dist/{KW-DBYFEC0m.js → KW-BLH4fj8S.js} +0 -0
- /package/dist/{KY-DvnPgYGT.js → KY-DG3Xehmz.js} +0 -0
- /package/dist/{KZ-DX8lqaut.js → KZ-BjnXKq2l.js} +0 -0
- /package/dist/{LB-DuXl_nIj.js → LB-CY5c_gqN.js} +0 -0
- /package/dist/{LI-BcYzGJ7k.js → LI-BkFK_qrZ.js} +0 -0
- /package/dist/{LT-BfApaHFI.js → LT--zST1zqj.js} +0 -0
- /package/dist/{LT-ZF-q0fXm.js → LT-2wka4qNS.js} +0 -0
- /package/dist/{LT-BYZkkL9O.js → LT-BV7s3TCv.js} +0 -0
- /package/dist/{LT-rnUOqZje.js → LT-BxqPzqgf.js} +0 -0
- /package/dist/{LU-xxaAcEvQ.js → LU-Bt4sIWIT.js} +0 -0
- /package/dist/{LV-BdlQTl8C.js → LV-B-FeTyBQ.js} +0 -0
- /package/dist/{MC-CaqkAF9O.js → MC-D92BHmGr.js} +0 -0
- /package/dist/{MD-DPht_MRT.js → MD-BzJaxo1n.js} +0 -0
- /package/dist/{ME-Dc5I5KtD.js → ME-Iw66DM2s.js} +0 -0
- /package/dist/{MK-Bn1G050Q.js → MK-yRjMHvLF.js} +0 -0
- /package/dist/{MP-WG5-be9t.js → MP-CGHoAYPz.js} +0 -0
- /package/dist/{MQ-BX_woiN5.js → MQ-Db73c-TY.js} +0 -0
- /package/dist/{MR-B4o-Woej.js → MR-CzGlj8ce.js} +0 -0
- /package/dist/{MT-BitdMyNy.js → MT-n0Cp6O8-.js} +0 -0
- /package/dist/{MU-5mV1nkVk.js → MU-C57EyXfP.js} +0 -0
- /package/dist/{MX-BV0FI9pL.js → MX-JSUPc6V8.js} +0 -0
- /package/dist/{MY-BovUrLi6.js → MY-Bbgpg3w2.js} +0 -0
- /package/dist/{NC--rMtvPxR.js → NC-BeqCqe7o.js} +0 -0
- /package/dist/{NL-Dt1MHEvX.js → NL-B22K1Zb0.js} +0 -0
- /package/dist/{NL-D3keMKVJ.js → NL-C1r7ND7d.js} +0 -0
- /package/dist/{NL-DpEm6S8e.js → NL-CIX2R11u.js} +0 -0
- /package/dist/{NL-BA3EKW3x.js → NL-KVjpCVaw.js} +0 -0
- /package/dist/{NO-Dst-DnZ8.js → NO-BhYtIUv1.js} +0 -0
- /package/dist/{NO-BRw0ivbK.js → NO-CFty2TsC.js} +0 -0
- /package/dist/{NO-ltxTSAKY.js → NO-CV0UtHqk.js} +0 -0
- /package/dist/{NO-VE7Sc2IM.js → NO-DLFLW3I8.js} +0 -0
- /package/dist/{NZ-CJ_5Z1en.js → NZ-ClQC7uEQ.js} +0 -0
- /package/dist/{NZ-SQBwX6Hq.js → NZ-DZ75lvmW.js} +0 -0
- /package/dist/{PE-CcE7NUNY.js → PE-BhP-iF08.js} +0 -0
- /package/dist/{PF-CTHFNBfG.js → PF-DZJu8LvP.js} +0 -0
- /package/dist/{PH-BJvKdyQF.js → PH-8s_pcD1T.js} +0 -0
- /package/dist/{PK-CmxTai7F.js → PK-BkHx9Wu7.js} +0 -0
- /package/dist/{PL-BT907618.js → PL-CZ0JZlv4.js} +0 -0
- /package/dist/{PL-Byz7Yqkt.js → PL-Db0WKekw.js} +0 -0
- /package/dist/{PL-Cgkoario.js → PL-DjTZTZqB.js} +0 -0
- /package/dist/{PL-BK2Asw5F.js → PL-oVwazamy.js} +0 -0
- /package/dist/{PM-CPOzzt0L.js → PM-Bcq0SkSj.js} +0 -0
- /package/dist/{PR-squ319V4.js → PR-N31WZxLD.js} +0 -0
- /package/dist/{PS-CspEbZTU.js → PS-DzthwPAx.js} +0 -0
- /package/dist/{PT-CiRGWIB7.js → PT-BVfq_KIl.js} +0 -0
- /package/dist/{PT-LXjJtHn5.js → PT-C3FlrAqt.js} +0 -0
- /package/dist/{PT-CT-kaH57.js → PT-C6fd2w3g.js} +0 -0
- /package/dist/{PT-DAsEx6OE.js → PT-ilpiMMVG.js} +0 -0
- /package/dist/{QA-DaZHmHWd.js → QA-zn4Gdzbo.js} +0 -0
- /package/dist/{RE-BFKWl5y_.js → RE-dG3KJMMx.js} +0 -0
- /package/dist/{RO-BcDEEGjk.js → RO-B1UBvxsc.js} +0 -0
- /package/dist/{RO-CRDVNzfL.js → RO-BL-J1_yg.js} +0 -0
- /package/dist/{RO-Bb4UTT5B.js → RO-BXtuhVoN.js} +0 -0
- /package/dist/{RO-3wOpNneM.js → RO-Dtlve3hZ.js} +0 -0
- /package/dist/{RS-DOGs6suo.js → RS-DIpTuX70.js} +0 -0
- /package/dist/{RU-wf84MwTX.js → RU-B7YwaezI.js} +0 -0
- /package/dist/{SA-B1u_XGB9.js → SA-yHvpRBBt.js} +0 -0
- /package/dist/{SE-2WATmHl2.js → SE-CccuzUP0.js} +0 -0
- /package/dist/{SE-Dv7OpBmo.js → SE-CfxNbl59.js} +0 -0
- /package/dist/{SE-DTxNlT0w.js → SE-gXHu0efH.js} +0 -0
- /package/dist/{SE-B48cKLIu.js → SE-pMhyd7KJ.js} +0 -0
- /package/dist/{SG-BZ-kyKVN.js → SG-CGk7k8y6.js} +0 -0
- /package/dist/{SG-pPmF2os4.js → SG-CODE9yV_.js} +0 -0
- /package/dist/{SG-CdsmZcfV.js → SG-DIKkp5VX.js} +0 -0
- /package/dist/{SG-A2_cs4kd.js → SG-fAOioO1i.js} +0 -0
- /package/dist/{SI-T8ly14Dn.js → SI-BpwxzWXI.js} +0 -0
- /package/dist/{SI-DrX769GG.js → SI-CtMaFIsz.js} +0 -0
- /package/dist/{SI-DjUddZcZ.js → SI-D8ngpNLP.js} +0 -0
- /package/dist/{SI-BVTXwA8C.js → SI-DgNZ746W.js} +0 -0
- /package/dist/{SJ-DO3zbL0P.js → SJ-SG7xxYUX.js} +0 -0
- /package/dist/{SK-DzGTyI5h.js → SK-C7ldUW73.js} +0 -0
- /package/dist/{SK-vJT5Dj16.js → SK-CNT7QVie.js} +0 -0
- /package/dist/{SK-Dq7sWtiL.js → SK-D8vU29-x.js} +0 -0
- /package/dist/{SK-BFZnw1-d.js → SK-DssnPaZv.js} +0 -0
- /package/dist/{SM-B4SkkvKD.js → SM-Ds8vicT5.js} +0 -0
- /package/dist/{StackLayout-BMQXXBDb.js → StackLayout-CTLQyVDf.js} +0 -0
- /package/dist/{TF-CIVHsoB9.js → TF-Ckf_6iT5.js} +0 -0
- /package/dist/{TH-8huuj2v6.js → TH-2sIVIZNa.js} +0 -0
- /package/dist/{TL-Bik3Eb-u.js → TL-OSKwf5cB.js} +0 -0
- /package/dist/{TN-ClhiegdZ.js → TN-BcUBhs_y.js} +0 -0
- /package/dist/{TR-xyusRa6k.js → TR-nO7zl2t7.js} +0 -0
- /package/dist/{TT-BsT9h8j3.js → TT-uQXIiTh9.js} +0 -0
- /package/dist/{TW-Id3ypKK8.js → TW-ra8aVP1u.js} +0 -0
- /package/dist/{Tag-BTQ4nyKS.js → Tag-BUoDHC4C.js} +0 -0
- /package/dist/{UA-r0ZVcqym.js → UA-ChP4sFEB.js} +0 -0
- /package/dist/{US-C0BIY_Iy.js → US-CPcVUQez.js} +0 -0
- /package/dist/{US-_mFv0V8m.js → US-D6PlTpHk.js} +0 -0
- /package/dist/{US-BKXr0nm-.js → US-F-OhVaqg.js} +0 -0
- /package/dist/{US-Df7pLIkq.js → US-amE0CRbB.js} +0 -0
- /package/dist/{UY-BDWpl5Q2.js → UY-BFN4uNVz.js} +0 -0
- /package/dist/{VA-CJnCCD0R.js → VA-lz_OQgNz.js} +0 -0
- /package/dist/{VG-CODm52zD.js → VG-CUKKrF3h.js} +0 -0
- /package/dist/{VI-B52L6yXT.js → VI-D1i4Oi0B.js} +0 -0
- /package/dist/{VN-BsJ-vqrs.js → VN-DRaYj63j.js} +0 -0
- /package/dist/{WF-lhRl1Vg9.js → WF-K2TrgrKu.js} +0 -0
- /package/dist/{YT-CmziyGNY.js → YT-CEOdE-OK.js} +0 -0
- /package/dist/{ZA-CQNS6dil.js → ZA-BVXb4Fcr.js} +0 -0
- /package/dist/{_rolldown_dynamic_import_helper-CCXvMgfE.js → _rolldown_dynamic_import_helper-C4ugHLZT.js} +0 -0
- /package/dist/{arrow-right-BX_EVrJJ.js → arrow-right-BJTNKb0O.js} +0 -0
- /package/dist/{bag-CndvM5sq.js → bag-DZMiIi7P.js} +0 -0
- /package/dist/{bank-BGTRk0kq.js → bank-CzucQEWZ.js} +0 -0
- /package/dist/{bg-BG-QlxmGEZL.js → bg-BG-B845EAcI.js} +0 -0
- /package/dist/{bg-BG-Cxa0jcnA.js → bg-BG-Bfk35aUM.js} +0 -0
- /package/dist/{bg-BG-YZ34LkMd.js → bg-BG-BrYfHU1Y.js} +0 -0
- /package/dist/{bg-BG-RNEFZxOh.js → bg-BG-BsrzL-U8.js} +0 -0
- /package/dist/{bg-BG-CCGIvlIM.js → bg-BG-Bw1uE2hh.js} +0 -0
- /package/dist/{bg-BG-mf-xq3ph.js → bg-BG-C0FkvcA2.js} +0 -0
- /package/dist/{bg-BG-B9ABjZUx2.js → bg-BG-CUmjOcpi2.js} +0 -0
- /package/dist/{bg-BG-D3gXF-6w2.js → bg-BG-CncTIGKT2.js} +0 -0
- /package/dist/{bg-BG-CogcfR3g.js → bg-BG-DLd3BaDx.js} +0 -0
- /package/dist/{bg-BG-IjNKw0Zu.js → bg-BG-DkeEONKT.js} +0 -0
- /package/dist/{bg-BG-BNqOiDw9.js → bg-BG-DqOqFO0A.js} +0 -0
- /package/dist/{bin-ClI1Lmer.js → bin-BbC6aL9-.js} +0 -0
- /package/dist/{business-lines-hXwJAfy8.js → business-lines-DY5WHePf.js} +0 -0
- /package/dist/{capital-CvyQlkxY.js → capital-B61w2ph0.js} +0 -0
- /package/dist/{cash-stack-Dh8uZSza.js → cash-stack-DrmR4pnT.js} +0 -0
- /package/dist/{certificate-BNwGY179.js → certificate-_tpSgTGm.js} +0 -0
- /package/dist/{checkmark-hciVXXIH.js → checkmark-DnlW1SB-.js} +0 -0
- /package/dist/{checkmark-circle-B0j0Vtwo.js → checkmark-circle-Dixm0aV6.js} +0 -0
- /package/dist/{checkmark-circle-fill-LpAoa38W.js → checkmark-circle-fill-dAg9Mn5z.js} +0 -0
- /package/dist/{checkmark-small-CBLKuuZ1.js → checkmark-small-Di0Lj9EO.js} +0 -0
- /package/dist/{chevron-down-aTrA5UpL.js → chevron-down-CvIokHIR.js} +0 -0
- /package/dist/{chevron-left-BVdVNPiJ.js → chevron-left-BNjJxGO4.js} +0 -0
- /package/dist/{chevron-right-Drp9nZ4h.js → chevron-right-CeXpOOK6.js} +0 -0
- /package/dist/{chevron-up-BG9Ldgsu.js → chevron-up-esJT8bFL.js} +0 -0
- /package/dist/{circle-C-iPmuCY.js → circle-BJtiv6-2.js} +0 -0
- /package/dist/{circle-small-filled-C-Nh6xHY.js → circle-small-filled-BLmJJiLk.js} +0 -0
- /package/dist/{clock-CpMm35NB.js → clock-Xuw4kh_Y.js} +0 -0
- /package/dist/{coins-D2tNyEW3.js → coins-BeFK6pqR.js} +0 -0
- /package/dist/{company-types-value-B-nraMaa.js → company-types-value-BYTAKfjo.js} +0 -0
- /package/dist/{contract-Cg3T6neC.js → contract-D4VJIjGm.js} +0 -0
- /package/dist/{country-code-D3oCpE4i.js → country-code-BjUoKbAN.js} +0 -0
- /package/dist/{cross-DLi9h_Eg.js → cross-CbSU1xP-.js} +0 -0
- /package/dist/{cross-circle-fill-dRHPWc-i.js → cross-circle-fill-iElIdcZN.js} +0 -0
- /package/dist/{cross-circle-fill-small-WqgBPXhH.js → cross-circle-fill-small-DyxDVLjN.js} +0 -0
- /package/dist/{cs-CZ-B_nYIuIi.js → cs-CZ-3vdI5Jjr.js} +0 -0
- /package/dist/{cs-CZ-Bx41zbEp.js → cs-CZ-B1VpAUva.js} +0 -0
- /package/dist/{cs-CZ-MU9Ub24D.js → cs-CZ-BWwYdy4S.js} +0 -0
- /package/dist/{cs-CZ-BObx8NMb.js → cs-CZ-Bl40lHzE.js} +0 -0
- /package/dist/{cs-CZ-D73bqvvS.js → cs-CZ-C6VkcCUo.js} +0 -0
- /package/dist/{cs-CZ-B6AZX4nL.js → cs-CZ-CDBbVGc-.js} +0 -0
- /package/dist/{cs-CZ-CWM5oj6Q.js → cs-CZ-D08FCyDx.js} +0 -0
- /package/dist/{cs-CZ-Bl8qBkx4.js → cs-CZ-HMzN3w9M.js} +0 -0
- /package/dist/{cs-CZ-DNvBXQqI.js → cs-CZ-IZhVT21N.js} +0 -0
- /package/dist/{cs-CZ-C7QmQ2LT2.js → cs-CZ-Is3lue5X2.js} +0 -0
- /package/dist/{cs-CZ-D6VNEZ622.js → cs-CZ-n18LpZrJ2.js} +0 -0
- /package/dist/{currency-CfIDpZh9.js → currency-B8-OEAgj.js} +0 -0
- /package/dist/{da-DK-LXurZBZ8.js → da-DK-B576UeqU.js} +0 -0
- /package/dist/{da-DK-Cx-Ux0WK.js → da-DK-BCPtwA_c.js} +0 -0
- /package/dist/{da-DK-8DN_uCKw.js → da-DK-BwIZqzDw.js} +0 -0
- /package/dist/{da-DK-CxoaLz6P.js → da-DK-CB-sFnhe.js} +0 -0
- /package/dist/{da-DK-CBt4gQjw.js → da-DK-CrBk2y5x.js} +0 -0
- /package/dist/{da-DK-DAHcK0Md2.js → da-DK-CzCkRjoI2.js} +0 -0
- /package/dist/{da-DK-BDachfZH.js → da-DK-CzFS-0y6.js} +0 -0
- /package/dist/{da-DK-CcLM8SA22.js → da-DK-DJ5ddVnr2.js} +0 -0
- /package/dist/{da-DK-B8aHvZ1W.js → da-DK-DaA3zK0h.js} +0 -0
- /package/dist/{da-DK-BOU9aCaN.js → da-DK-IX9UQUAb.js} +0 -0
- /package/dist/{da-DK-dLxEveOJ.js → da-DK-klGGwyxv.js} +0 -0
- /package/dist/{datasetUtil-BZmNUckr.js → datasetUtil-uPWEKDf8.js} +0 -0
- /package/dist/{de-DE-BxL8NQIq.js → de-DE-BHik7H3o.js} +0 -0
- /package/dist/{de-DE-Cbpj1g3M.js → de-DE-B_L7jawo.js} +0 -0
- /package/dist/{de-DE-DUlvIvvj2.js → de-DE-Bki8tbcV2.js} +0 -0
- /package/dist/{de-DE-apC2os2u.js → de-DE-C4PzkDzF.js} +0 -0
- /package/dist/{de-DE-CKOOKYoC.js → de-DE-C9UIqdWt.js} +0 -0
- /package/dist/{de-DE-DstHFxVG.js → de-DE-CHdEma9v.js} +0 -0
- /package/dist/{de-DE-reMh5NmX2.js → de-DE-CZ4lmioI2.js} +0 -0
- /package/dist/{de-DE-C7Au1j2A.js → de-DE-CfuejIRq.js} +0 -0
- /package/dist/{de-DE-cPL-uSMG.js → de-DE-Cl0fc0U_.js} +0 -0
- /package/dist/{de-DE-B8D6bV3u.js → de-DE-DSP4aQRh.js} +0 -0
- /package/dist/{de-DE-DzLYNbSo.js → de-DE-DXkUC1-N.js} +0 -0
- /package/dist/{de-DE-D8Is4iJk.js → de-DE-XXqDUm1h.js} +0 -0
- /package/dist/{decision-maker-type-DHBYiKIe.js → decision-maker-type-CWrppE0k.js} +0 -0
- /package/dist/{decision-makers-group-CkP3dlRO.js → decision-makers-group-D53oFTHn.js} +0 -0
- /package/dist/{digital-wallet-s7FKhVg9.js → digital-wallet-CLOVHAow.js} +0 -0
- /package/dist/{document-1-CSg2AOQy.js → document-1-Dfu6EDzV.js} +0 -0
- /package/dist/{document-blurred-DHgG-aQ6.js → document-blurred-DGXvRTC8.js} +0 -0
- /package/dist/{document-cut-off-DCf-G-0l.js → document-cut-off-DbVQzqxC.js} +0 -0
- /package/dist/{document-expired-UJMQKi88.js → document-expired-DKnTJ5T9.js} +0 -0
- /package/dist/{document-front-DLpxfBfu.js → document-front-Bn5jsEIh.js} +0 -0
- /package/dist/{document-person-BhXXvTMH.js → document-person-Dgv26vCh.js} +0 -0
- /package/dist/{download-Cvkkn96A.js → download-Ct05dQIR.js} +0 -0
- /package/dist/{edit-1-CIdEs1t-.js → edit-1-m3Xin3vd.js} +0 -0
- /package/dist/{el-GR-CoPH23Qe.js → el-GR-3u6kc4gj.js} +0 -0
- /package/dist/{el-GR-mGnv3b-O.js → el-GR-B5dqrdWm.js} +0 -0
- /package/dist/{el-GR-BZ9AJNm4.js → el-GR-BP7G1Ka8.js} +0 -0
- /package/dist/{el-GR-CiverXpL.js → el-GR-BUBdTCMP.js} +0 -0
- /package/dist/{el-GR-DfW8zYK4.js → el-GR-Buy5IU8M.js} +0 -0
- /package/dist/{el-GR-C6MVbJAv.js → el-GR-CEZLeeb3.js} +0 -0
- /package/dist/{el-GR-BDXwftjw.js → el-GR-CNoP_at_.js} +0 -0
- /package/dist/{el-GR-gJ0IppFC2.js → el-GR-CZs5BPVJ2.js} +0 -0
- /package/dist/{el-GR-Dw8xMzqe.js → el-GR-Ctd3mBAX.js} +0 -0
- /package/dist/{el-GR-hquqlbpg2.js → el-GR-DocTTdq-2.js} +0 -0
- /package/dist/{el-GR-DvIXL8AR.js → el-GR-LUFCyvHj.js} +0 -0
- /package/dist/{el-GR-BRFvZNGC.js → el-GR-XuQDipDR.js} +0 -0
- /package/dist/{emitEvent-DYC1em5m.js → emitEvent-B8K0cb1F.js} +0 -0
- /package/dist/{en-US-Cd8cLmVX.js → en-US-1Tznfcwg.js} +0 -0
- /package/dist/{en-US-DHD_ENM1.js → en-US-B-_7IR6A.js} +0 -0
- /package/dist/{en-US-C0SrG99u.js → en-US-BEL_lmpv.js} +0 -0
- /package/dist/{en-US-BLuFDCyp2.js → en-US-Bf6E1v0-2.js} +0 -0
- /package/dist/{en-US-D1-68ZWE.js → en-US-BpCm0Bvk.js} +0 -0
- /package/dist/{en-US-NaoNaTO0.js → en-US-Bw9LpxPe.js} +0 -0
- /package/dist/{en-US-RmklpZAK.js → en-US-CXdfrlM6.js} +0 -0
- /package/dist/{en-US-CUsu9qhV.js → en-US-D9vXTqQr.js} +0 -0
- /package/dist/{en-US-BhctnSAK.js → en-US-DLIlixDF.js} +0 -0
- /package/dist/{en-US-_l9425V1.js → en-US-DQLhkpBE.js} +0 -0
- /package/dist/{en-US-DETk-gjx2.js → en-US-D_g_DM_a2.js} +0 -0
- /package/dist/{en-US-CuX4Fzoo.js → en-US-DdArZW-2.js} +0 -0
- /package/dist/{en-US-_D_BTN1a.js → en-US-DmDPhSJN.js} +0 -0
- /package/dist/{en-US-BxBNcm3S.js → en-US-HW6CoTeP.js} +0 -0
- /package/dist/{en-US-DrAjiabh.js → en-US-VZ7ytmtB.js} +0 -0
- /package/dist/{en-US-CO9Ct3Xx.js → en-US-ZFlMM5v3.js} +0 -0
- /package/dist/{en-US-aJtjsYKh.js → en-US-gwxv5v9w.js} +0 -0
- /package/dist/{en-US.instructions-DlxMDbRu.js → en-US.instructions-CbjjdEDm.js} +0 -0
- /package/dist/{en-US.instructions-CXa3foCe.js → en-US.instructions-kje2iQeM.js} +0 -0
- /package/dist/{es-ES-YXUkD4Em2.js → es-ES-BMBx28UE2.js} +0 -0
- /package/dist/{es-ES-D67pkLVu.js → es-ES-BPXpnHRY.js} +0 -0
- /package/dist/{es-ES-B2MIlPdM.js → es-ES-BQyI--wB.js} +0 -0
- /package/dist/{es-ES-D7pe0Z8H.js → es-ES-CB4LW8fA.js} +0 -0
- /package/dist/{es-ES-C19HaQVX.js → es-ES-Cn6TsINc.js} +0 -0
- /package/dist/{es-ES-zeUfuQRw.js → es-ES-DB77kzqT.js} +0 -0
- /package/dist/{es-ES-Bwhnseeu.js → es-ES-DBxs7iF7.js} +0 -0
- /package/dist/{es-ES-0O9y1_Bc.js → es-ES-DFYOkj68.js} +0 -0
- /package/dist/{es-ES-DnmrjEd02.js → es-ES-DGmySxC42.js} +0 -0
- /package/dist/{es-ES-BAAL2h3R.js → es-ES-QIbBo_YM.js} +0 -0
- /package/dist/{es-ES-CAuzNvPf.js → es-ES-RzKcfNXi.js} +0 -0
- /package/dist/{es-ES-DFg_LlqD.js → es-ES-oq21mjwX.js} +0 -0
- /package/dist/{et-EE-Lw-rTsG-.js → et-EE-BSBN_3SH.js} +0 -0
- /package/dist/{et-EE-DCEDrMl2.js → et-EE-BWE9LBIW.js} +0 -0
- /package/dist/{et-EE-DXoF-AJ72.js → et-EE-Bq6ySoVT2.js} +0 -0
- /package/dist/{et-EE-Dszx65le2.js → et-EE-CPykMmP6.js} +0 -0
- /package/dist/{et-EE-Dg93VJbx.js → et-EE-CfkcHuFD.js} +0 -0
- /package/dist/{et-EE-DJWVyTVM.js → et-EE-Clm5xG7H.js} +0 -0
- /package/dist/{et-EE-C4U93xrJ.js → et-EE-CuuT6UiF.js} +0 -0
- /package/dist/{et-EE-CPdaJJkL.js → et-EE-D8EAo5UR.js} +0 -0
- /package/dist/{et-EE-M5V-MgVM.js → et-EE-Dj0jysHw.js} +0 -0
- /package/dist/{et-EE-30-8FeA2.js → et-EE-RpLsFwBS.js} +0 -0
- /package/dist/{et-EE-DZhr4TrQ2.js → et-EE-go_L8yC52.js} +0 -0
- /package/dist/{external-link-BNgSBwiX.js → external-link-BxiqXr7-.js} +0 -0
- /package/dist/{fi-FI-wRYER_Hf.js → fi-FI-4ckffUlB.js} +0 -0
- /package/dist/{fi-FI-Ba0VbJdZ.js → fi-FI-6U5kDy9_.js} +0 -0
- /package/dist/{fi-FI-DZyEs_5S.js → fi-FI-BYm7CUY2.js} +0 -0
- /package/dist/{fi-FI-BrmYMDbY.js → fi-FI-BhZIWccP.js} +0 -0
- /package/dist/{fi-FI-DIKQFczn2.js → fi-FI-BmXRQB7_2.js} +0 -0
- /package/dist/{fi-FI-BNtrKnDN.js → fi-FI-CGqRN2IG.js} +0 -0
- /package/dist/{fi-FI-DZ5-w9vt.js → fi-FI-CfmDq95S.js} +0 -0
- /package/dist/{fi-FI-TDF0ZiiC.js → fi-FI-Ci2zcIZj.js} +0 -0
- /package/dist/{fi-FI-C8sI9IhQ2.js → fi-FI-DsfVixQ62.js} +0 -0
- /package/dist/{fi-FI-IwaR92iX.js → fi-FI-cUN_PaZk.js} +0 -0
- /package/dist/{fi-FI-UJLb8Vk42.js → fi-FI-lFhGznBk2.js} +0 -0
- /package/dist/{file-C9ni6Xpv.js → file-6a0FDVyq.js} +0 -0
- /package/dist/{filterProblemsByTaskForms-CrTqhWJT.js → filterProblemsByTaskForms-DwS9T-_E.js} +0 -0
- /package/dist/{fr-FR-B6Moi9NF2.js → fr-FR-B95kf8uT2.js} +0 -0
- /package/dist/{fr-FR-D96p0pnI2.js → fr-FR-BdjvbPB62.js} +0 -0
- /package/dist/{fr-FR-BshpJ5Y8.js → fr-FR-BqpAnmif.js} +0 -0
- /package/dist/{fr-FR-DYDmBWWT.js → fr-FR-BwhO0tqx.js} +0 -0
- /package/dist/{fr-FR-DY7D-hmZ.js → fr-FR-BxnyIkIr.js} +0 -0
- /package/dist/{fr-FR-BvOYNtjw2.js → fr-FR-CMj16KIu2.js} +0 -0
- /package/dist/{fr-FR-CYRsfbyW.js → fr-FR-CTaavJDz.js} +0 -0
- /package/dist/{fr-FR-DEdpJMql.js → fr-FR-CZs4UzUR.js} +0 -0
- /package/dist/{fr-FR-fwcu0Hmd.js → fr-FR-Cq7iIftz.js} +0 -0
- /package/dist/{fr-FR-Duc4nlp1.js → fr-FR-D1HpNhTO.js} +0 -0
- /package/dist/{fr-FR-DwYX21r1.js → fr-FR-DnX9lTEQ.js} +0 -0
- /package/dist/{fr-FR-CsoVB-yq.js → fr-FR-qy27JGqF.js} +0 -0
- /package/dist/{funds-in-CZ06mMrK.js → funds-in-DcvC0rG-.js} +0 -0
- /package/dist/{get-scenarios-D432otQE.js → get-scenarios-Bkxtd5jh.js} +0 -0
- /package/dist/{getNestedPropertyKeys-hT40QMb1.js → getNestedPropertyKeys-MEDCcSm2.js} +0 -0
- /package/dist/{getTrustedDecisionMakers-BjGAWMyl.js → getTrustedDecisionMakers-D2yayvPr.js} +0 -0
- /package/dist/{gift-I5WhHXnm.js → gift-CX0qVK1O.js} +0 -0
- /package/dist/{graph-yoQEgV-z.js → graph-idneKCfM.js} +0 -0
- /package/dist/{graph-up-CN2EGjwJ.js → graph-up-BZtGbTh8.js} +0 -0
- /package/dist/{graphical-laptop-BI3ea4L0.js → graphical-laptop-xPvp7QKa.js} +0 -0
- /package/dist/{headquarter-BPCK7l9Y.js → headquarter-pYPoPBZM.js} +0 -0
- /package/dist/{hotel-BncnkQ-E.js → hotel-DcStWscD.js} +0 -0
- /package/dist/{house-RVNoSmhG.js → house-D2ID8PM-.js} +0 -0
- /package/dist/{hr-HR-BZ31wjf92.js → hr-HR-BFy27vAx2.js} +0 -0
- /package/dist/{hr-HR-DbebVQF9.js → hr-HR-BXLWA1xd.js} +0 -0
- /package/dist/{hr-HR-DpQuBztk.js → hr-HR-BzyoDD3o.js} +0 -0
- /package/dist/{hr-HR-DNuly_NE2.js → hr-HR-CLA4RCOe2.js} +0 -0
- /package/dist/{hr-HR-CludxABG.js → hr-HR-Dgrok1MJ.js} +0 -0
- /package/dist/{hr-HR-CFAySNqh.js → hr-HR-DwVuRMPc.js} +0 -0
- /package/dist/{hr-HR-CN-cMu-7.js → hr-HR-Ngyn0CeW.js} +0 -0
- /package/dist/{hr-HR-DTIXBOS5.js → hr-HR-O1W0RKHg.js} +0 -0
- /package/dist/{hr-HR-eX7nJfwF2.js → hr-HR-gmt7xTWx2.js} +0 -0
- /package/dist/{hr-HR-dL_cUkZa.js → hr-HR-iC0oTR81.js} +0 -0
- /package/dist/{hr-HR-D6jMCNOJ.js → hr-HR-mfHZl8tO.js} +0 -0
- /package/dist/{hu-HU-ReTWA1v3.js → hu-HU-BXhdx-ju.js} +0 -0
- /package/dist/{hu-HU-Cy7itqJL2.js → hu-HU-BfD5UZoY2.js} +0 -0
- /package/dist/{hu-HU-BED5SDWE.js → hu-HU-Bxg-cJEy.js} +0 -0
- /package/dist/{hu-HU-DIgxSbaT.js → hu-HU-BzAy_OWc.js} +0 -0
- /package/dist/{hu-HU-BesI_nyc.js → hu-HU-BzQoUNaS.js} +0 -0
- /package/dist/{hu-HU-gRTFw9Qg.js → hu-HU-D_5yVmCo.js} +0 -0
- /package/dist/{hu-HU-DXHf3uuK.js → hu-HU-DceMzb3Y.js} +0 -0
- /package/dist/{hu-HU-UzZvIK5j.js → hu-HU-Dh9jdb9X2.js} +0 -0
- /package/dist/{hu-HU-e9KN8lp6.js → hu-HU-Nb-5azdf.js} +0 -0
- /package/dist/{hu-HU-BgRcKhFU2.js → hu-HU-kcQkkxnT2.js} +0 -0
- /package/dist/{hu-HU-Cy8F1a5a.js → hu-HU-yAwdJ5xn.js} +0 -0
- /package/dist/{id-blurred-BdqQKk1l.js → id-blurred-CtnwOJmP.js} +0 -0
- /package/dist/{id-cut-off-BlpfXo5W.js → id-cut-off-DTnrMaG3.js} +0 -0
- /package/dist/{id-front-Bqd59AfN.js → id-front-BArANgYI.js} +0 -0
- /package/dist/{id-glare-7GGletdB.js → id-glare-g3bnPQ3v.js} +0 -0
- /package/dist/{image-DXUQcN6d.js → image-Cu6NenSs.js} +0 -0
- /package/dist/{info-Dh7b3h-o.js → info-BFv37bQB.js} +0 -0
- /package/dist/{info-filled-DtEaaCq9.js → info-filled-d8JiHhYQ.js} +0 -0
- /package/dist/{it-IT-16IjDttL.js → it-IT-B0pCVo4V.js} +0 -0
- /package/dist/{it-IT-5sFxcqYj.js → it-IT-B2zFnv7K.js} +0 -0
- /package/dist/{it-IT-C2JfprsD.js → it-IT-BDkY4_D3.js} +0 -0
- /package/dist/{it-IT-D_ks7gfY2.js → it-IT-BUJ6M3KT2.js} +0 -0
- /package/dist/{it-IT-C75KiNnW.js → it-IT-BcBkbTJA.js} +0 -0
- /package/dist/{it-IT-H3GQLOjf2.js → it-IT-Bnm0ulsw2.js} +0 -0
- /package/dist/{it-IT-JgaaWuPW.js → it-IT-BrdXGWpw.js} +0 -0
- /package/dist/{it-IT-kER7OY9Z.js → it-IT-BxdBXweN.js} +0 -0
- /package/dist/{it-IT-CFip731S.js → it-IT-C82YvJn6.js} +0 -0
- /package/dist/{it-IT-CCtD36Df.js → it-IT-CHuVqZdn.js} +0 -0
- /package/dist/{it-IT-3PSb6tzc.js → it-IT-DK30YvbO.js} +0 -0
- /package/dist/{it-IT-BK6Yn4vc.js → it-IT-Dns-1Qbf.js} +0 -0
- /package/dist/{ja-JP-B-5Ib5IT2.js → ja-JP-B1AjiTAA2.js} +0 -0
- /package/dist/{ja-JP-DhImuhRM2.js → ja-JP-B5SxIdyP2.js} +0 -0
- /package/dist/{ja-JP-B5fRnSzi.js → ja-JP-BzBRpXM1.js} +0 -0
- /package/dist/{ja-JP-CjEZToEj.js → ja-JP-CTFB8UKL.js} +0 -0
- /package/dist/{ja-JP-BaYWre19.js → ja-JP-CYmySE1y.js} +0 -0
- /package/dist/{ja-JP-tHJpSXnY.js → ja-JP-C_E_4yUn.js} +0 -0
- /package/dist/{ja-JP-wmwnTtNd.js → ja-JP-CwVkOC4Z.js} +0 -0
- /package/dist/{ja-JP-CJ3GhLS6.js → ja-JP-D91Qq9X0.js} +0 -0
- /package/dist/{ja-JP-D6OZ6CvT.js → ja-JP-DDT5jvAB.js} +0 -0
- /package/dist/{ja-JP-BRGxY7zc.js → ja-JP-DOkTs_1m.js} +0 -0
- /package/dist/{ja-JP-C7tIgG_I.js → ja-JP-DTqjZ_RP.js} +0 -0
- /package/dist/{ja-JP-DGUCWzjv.js → ja-JP-DYccStvn.js} +0 -0
- /package/dist/{ja-JP-CJY6uqPb.js → ja-JP-DoROjKZt.js} +0 -0
- /package/dist/{keys-C4gD4IDn.js → keys-fzUbt2xF.js} +0 -0
- /package/dist/{listToRecord-CVX8Zg0w.js → listToRecord-wN5QNS0D.js} +0 -0
- /package/dist/{location-NeA9HUsd.js → location-D--t6qb1.js} +0 -0
- /package/dist/{lt-LT-CYhgjOkW.js → lt-LT-2KIisO4_.js} +0 -0
- /package/dist/{lt-LT-D2-X0BmC2.js → lt-LT-8dDfYsF82.js} +0 -0
- /package/dist/{lt-LT-BVVTYN3z.js → lt-LT-CDRKdIqh.js} +0 -0
- /package/dist/{lt-LT-BJziTet92.js → lt-LT-DKeyLOpW2.js} +0 -0
- /package/dist/{lt-LT-BHpTAvkg.js → lt-LT-DN-ykSHh.js} +0 -0
- /package/dist/{lt-LT-_MAUl9-y.js → lt-LT-DpMT3Dw2.js} +0 -0
- /package/dist/{lt-LT-i2HdquzD.js → lt-LT-Dpy8srws.js} +0 -0
- /package/dist/{lt-LT-Dkvuak-E.js → lt-LT-IP4Sz8Gn.js} +0 -0
- /package/dist/{lt-LT-CB33emTJ.js → lt-LT-OGBNEWvq.js} +0 -0
- /package/dist/{lt-LT-DX-73rzB.js → lt-LT-QPJqX0US.js} +0 -0
- /package/dist/{lt-LT-CpQj1HiE.js → lt-LT-bBBImnIr.js} +0 -0
- /package/dist/{lv-LV-ZQOBF-l7.js → lv-LV-B34caEFv.js} +0 -0
- /package/dist/{lv-LV-BeobSRYx.js → lv-LV-BlsECQxr.js} +0 -0
- /package/dist/{lv-LV-D0EFr0dt.js → lv-LV-C9zoAq4h.js} +0 -0
- /package/dist/{lv-LV-BGMkr0W_.js → lv-LV-CHzgorrn.js} +0 -0
- /package/dist/{lv-LV-C8O_oUFu2.js → lv-LV-CIkyBWzC2.js} +0 -0
- /package/dist/{lv-LV-KCxxzpdw.js → lv-LV-CaTht4v3.js} +0 -0
- /package/dist/{lv-LV-WYtMR2p9.js → lv-LV-Cbnl_BTV.js} +0 -0
- /package/dist/{lv-LV-DIopAlNr.js → lv-LV-CcQHxQxD.js} +0 -0
- /package/dist/{lv-LV-ChlCGeIJ2.js → lv-LV-D4clLiV42.js} +0 -0
- /package/dist/{lv-LV-Cz0igciN.js → lv-LV-DlQGKdqk.js} +0 -0
- /package/dist/{lv-LV-Br4-Sv0n.js → lv-LV-aPZP5Wh5.js} +0 -0
- /package/dist/{mail-COcabAMU.js → mail-CoQ5t6Ml.js} +0 -0
- /package/dist/{mapAddressLocalizationToJpAddressSchema-CbGZXKK3.js → mapAddressLocalizationToJpAddressSchema-Cp77VSSB.js} +0 -0
- /package/dist/{minus-circle-filled-CnCOR8aV.js → minus-circle-filled-BdvEdxjZ.js} +0 -0
- /package/dist/{nl-NL-BTuDiajY.js → nl-NL-2uvrEI1a.js} +0 -0
- /package/dist/{nl-NL-Cbt7ybTe.js → nl-NL-6DRNI2_h.js} +0 -0
- /package/dist/{nl-NL-BtwZkAPX.js → nl-NL-6qgh_ZGA.js} +0 -0
- /package/dist/{nl-NL-v-EVwcVy2.js → nl-NL-BCCzwWkw2.js} +0 -0
- /package/dist/{nl-NL-BjbL2DHM2.js → nl-NL-BSq1sTYp2.js} +0 -0
- /package/dist/{nl-NL-DHNIfmgo.js → nl-NL-BUzOX91N.js} +0 -0
- /package/dist/{nl-NL-D16qC_X6.js → nl-NL-BXTbqvDG.js} +0 -0
- /package/dist/{nl-NL-BLie9b-e.js → nl-NL-BXVVoxv9.js} +0 -0
- /package/dist/{nl-NL-DKpjFbpm.js → nl-NL-CQ0C9N3m.js} +0 -0
- /package/dist/{nl-NL-BKmH_4rF.js → nl-NL-DI_aNYah.js} +0 -0
- /package/dist/{nl-NL-ByNQn3Ma.js → nl-NL-K11VO8LF.js} +0 -0
- /package/dist/{nl-NL-BQYwAxdm.js → nl-NL-kUujSdLA.js} +0 -0
- /package/dist/{no-NO-YjH9dIrD.js → no-NO-A9MwJ3y8.js} +0 -0
- /package/dist/{no-NO-CX2Lkpbt.js → no-NO-BNGILdWq.js} +0 -0
- /package/dist/{no-NO-DjTYr6zQ.js → no-NO-BNL9v_bl.js} +0 -0
- /package/dist/{no-NO-DkmYSpeK.js → no-NO-C037FAac.js} +0 -0
- /package/dist/{no-NO-D6C6Imfk.js → no-NO-CCtUTnqP.js} +0 -0
- /package/dist/{no-NO-DM2yevPv2.js → no-NO-CRUvKPvc2.js} +0 -0
- /package/dist/{no-NO-BXHYRl8q.js → no-NO-Cd0Nf4Kq.js} +0 -0
- /package/dist/{no-NO-BQ0yU2Fq.js → no-NO-DAK8yauA.js} +0 -0
- /package/dist/{no-NO-e0MZntB62.js → no-NO-DN8WIiN32.js} +0 -0
- /package/dist/{no-NO-CG5RteG_.js → no-NO-FfT6jM26.js} +0 -0
- /package/dist/{no-NO-ByxOHA9n.js → no-NO-hgC3Li7e.js} +0 -0
- /package/dist/{onfido-logo-Dx5zgOtY.js → onfido-logo-BXb14yhW.js} +0 -0
- /package/dist/{options-horizontal-CAznj1Vl.js → options-horizontal-p3bn-0YP.js} +0 -0
- /package/dist/{partner-BgRPuALU.js → partner-DAXf38Tp.js} +0 -0
- /package/dist/{passport-blurred-UX6p2KZ5.js → passport-blurred-DOfrfF0N.js} +0 -0
- /package/dist/{passport-cut-off-C4H57LgT.js → passport-cut-off-DwNmCL8v.js} +0 -0
- /package/dist/{passport-front-K9nDuC3A.js → passport-front-DLG09n5u.js} +0 -0
- /package/dist/{passport-front-green-8qBM6eHY.js → passport-front-green-BB3zGc3y.js} +0 -0
- /package/dist/{passport-glare-Cw4IMJSe.js → passport-glare-CkhvC36x.js} +0 -0
- /package/dist/{pay-by-link-plane-CblqKlzx.js → pay-by-link-plane-JUQ9G9Rb.js} +0 -0
- /package/dist/{payout-Dt-Rj2Dk.js → payout-Bp5yyaPy.js} +0 -0
- /package/dist/{payout-bank-accounts-CfRx1pMC.js → payout-bank-accounts-BN3KdVID.js} +0 -0
- /package/dist/{payout-verification-instant-Bb5s_R8u.js → payout-verification-instant-DOCBn9if.js} +0 -0
- /package/dist/{payout-verification-manual-TFGUjvg1.js → payout-verification-manual-DmhxH6y1.js} +0 -0
- /package/dist/{pdf-r5Zgu15b.js → pdf-nzZcuCSf.js} +0 -0
- /package/dist/{pdf.worker.min-BOMsFOV0.js → pdf.worker.min-DE42kNC_.js} +0 -0
- /package/dist/{person-CVbQ7VXy.js → person-CBe70ddT.js} +0 -0
- /package/dist/{pl-PL-NJRqx5mk.js → pl-PL-59aMUgvV.js} +0 -0
- /package/dist/{pl-PL-x6CltZUu.js → pl-PL-BVYFKqiG.js} +0 -0
- /package/dist/{pl-PL-DvZBOEKI.js → pl-PL-CpA94K5Z.js} +0 -0
- /package/dist/{pl-PL-DNdGYT-E.js → pl-PL-D3NzOQQU.js} +0 -0
- /package/dist/{pl-PL-aWhB1xes.js → pl-PL-DDxFQhlh.js} +0 -0
- /package/dist/{pl-PL-DjF-DV6q2.js → pl-PL-DYmR6-f32.js} +0 -0
- /package/dist/{pl-PL-DC1Izk5I2.js → pl-PL-D_FRhmnE2.js} +0 -0
- /package/dist/{pl-PL-C_ys8FVH.js → pl-PL-DeAckp5p.js} +0 -0
- /package/dist/{pl-PL-W0KU0YTp.js → pl-PL-DhJQbVhT.js} +0 -0
- /package/dist/{pl-PL-Bkdj5z2L.js → pl-PL-R2xSHe-z.js} +0 -0
- /package/dist/{pl-PL-R6bNjSQB.js → pl-PL-vU5_jmwK.js} +0 -0
- /package/dist/{plaid-logo-BzQDyZCh.js → plaid-logo-CjpdjGNT.js} +0 -0
- /package/dist/{plus-BbVfOPFJ.js → plus-DMRvapmz.js} +0 -0
- /package/dist/{plus-circle-filled-D9vpzgFw.js → plus-circle-filled-DUmcjiaH.js} +0 -0
- /package/dist/{pt-BR-DGIHaJzj.js → pt-BR-7qFnlWUK.js} +0 -0
- /package/dist/{pt-BR-CdeMGenL.js → pt-BR-B3IHhi-A.js} +0 -0
- /package/dist/{pt-BR-7FV4JArc.js → pt-BR-B5i0TdE9.js} +0 -0
- /package/dist/{pt-BR-CjoezwB32.js → pt-BR-BDEGOFU52.js} +0 -0
- /package/dist/{pt-BR-NPzViBFm2.js → pt-BR-BJXrQjtE2.js} +0 -0
- /package/dist/{pt-BR-VlNZLr8f.js → pt-BR-BM2eCcyF.js} +0 -0
- /package/dist/{pt-BR-BgiNMjMc.js → pt-BR-BdpAz26L.js} +0 -0
- /package/dist/{pt-BR-B0zBNcPy.js → pt-BR-BjLvBssy.js} +0 -0
- /package/dist/{pt-BR-CTxtcXRe.js → pt-BR-C7pxsNe-.js} +0 -0
- /package/dist/{pt-BR-Bb7L6a3z.js → pt-BR-D8hxPoFJ.js} +0 -0
- /package/dist/{pt-BR-C8nFgTo3.js → pt-BR-DGRn2oS9.js} +0 -0
- /package/dist/{pt-BR-DKqiUfwf.js → pt-BR-u_Sv-NkV.js} +0 -0
- /package/dist/{pt-PT-BEkfXdZQ.js → pt-PT-3DrMwWiz.js} +0 -0
- /package/dist/{pt-PT-C0GJNK9V.js → pt-PT-BBd1NJRh.js} +0 -0
- /package/dist/{pt-PT-Cu2VcZdJ.js → pt-PT-BTZOJZU6.js} +0 -0
- /package/dist/{pt-PT-CXRUusv_.js → pt-PT-BXlxPqah.js} +0 -0
- /package/dist/{pt-PT-Dmor9x6o.js → pt-PT-Bmgh2Wtd.js} +0 -0
- /package/dist/{pt-PT-BjB2uXSn.js → pt-PT-BqRmSpLn.js} +0 -0
- /package/dist/{pt-PT-CFcpXSKo.js → pt-PT-CEPDmPY7.js} +0 -0
- /package/dist/{pt-PT-D9QbJxzN.js → pt-PT-CI47ZET7.js} +0 -0
- /package/dist/{pt-PT-CWzCKCL8.js → pt-PT-CJVVRZyV.js} +0 -0
- /package/dist/{pt-PT-BRLRSNh92.js → pt-PT-CUSJRIfa2.js} +0 -0
- /package/dist/{pt-PT-Czy2_X1t.js → pt-PT-DBFZcKHi.js} +0 -0
- /package/dist/{pt-PT-CJpshC902.js → pt-PT-DFy0vZ_Z2.js} +0 -0
- /package/dist/{recurring-Cm_CVMBM.js → recurring-DoBaCr6V.js} +0 -0
- /package/dist/{reporting-BHGFV7yB.js → reporting-CuOey349.js} +0 -0
- /package/dist/{revenue-accelerate-uQp3MMWP.js → revenue-accelerate-BTrH1Kyc.js} +0 -0
- /package/dist/{review-DkLO25RT.js → review-CkmDUkhx.js} +0 -0
- /package/dist/{ro-RO-BRtHlgch.js → ro-RO-7iyzlI6_.js} +0 -0
- /package/dist/{ro-RO-tf_g2ahZ.js → ro-RO-B1HkfIdK.js} +0 -0
- /package/dist/{ro-RO-B3hA8dZo.js → ro-RO-Bf10OHuY.js} +0 -0
- /package/dist/{ro-RO-DLtPW1MX.js → ro-RO-Bl3OcC_Q.js} +0 -0
- /package/dist/{ro-RO-BCHziTju.js → ro-RO-C3g0pSKU.js} +0 -0
- /package/dist/{ro-RO-pGnT9ywa.js → ro-RO-C4lcxnWO.js} +0 -0
- /package/dist/{ro-RO-DoVJzEzv2.js → ro-RO-CA7NoMAg2.js} +0 -0
- /package/dist/{ro-RO-DsFDnuty2.js → ro-RO-CcQh__lV2.js} +0 -0
- /package/dist/{ro-RO-BHOTFHon.js → ro-RO-CfsDLBM4.js} +0 -0
- /package/dist/{ro-RO-C7wPFb1a.js → ro-RO-GldC3IcE.js} +0 -0
- /package/dist/{ro-RO-CT5uU3Rj.js → ro-RO-e45j_CyV.js} +0 -0
- /package/dist/{save-DsGcWvER.js → save-DtVvA4bm.js} +0 -0
- /package/dist/{search-BDJlT2t5.js → search-CwNfiquk.js} +0 -0
- /package/dist/{show-DLGXHz7A.js → show-mWAebR3W.js} +0 -0
- /package/dist/{singpass-logo-D1Z8HeLC.js → singpass-logo-DESKvfOJ.js} +0 -0
- /package/dist/{singpass-logo-small-CQC5e3lx.js → singpass-logo-small-CBW6iXWW.js} +0 -0
- /package/dist/{sk-SK-xqB2A84D.js → sk-SK-BSv5VXox.js} +0 -0
- /package/dist/{sk-SK--ohjuOMW.js → sk-SK-BpMbHWuR.js} +0 -0
- /package/dist/{sk-SK-CUBTdFYv2.js → sk-SK-C8d17RvE2.js} +0 -0
- /package/dist/{sk-SK-Bt_mgDPR.js → sk-SK-C9Cst_ER.js} +0 -0
- /package/dist/{sk-SK-DaSC7QsL.js → sk-SK-Cd48q22c.js} +0 -0
- /package/dist/{sk-SK-BlhtDQel.js → sk-SK-ChCtHT1F.js} +0 -0
- /package/dist/{sk-SK-CV-IEeZp2.js → sk-SK-D6xioiMY2.js} +0 -0
- /package/dist/{sk-SK-DkianEJG.js → sk-SK-DXRluu5W.js} +0 -0
- /package/dist/{sk-SK-DwG8xkcP.js → sk-SK-tk_1fC8g.js} +0 -0
- /package/dist/{sk-SK-HLMucQBt.js → sk-SK-wzPlUKNj.js} +0 -0
- /package/dist/{sk-SK-DNKyL6Hl.js → sk-SK-y3Dcsvdc.js} +0 -0
- /package/dist/{sl-SI-PsgMnJ-h.js → sl-SI-B-t1nY1x.js} +0 -0
- /package/dist/{sl-SI-CKA1EM-J.js → sl-SI-Bfdb7gjw.js} +0 -0
- /package/dist/{sl-SI-Cg7e65lb2.js → sl-SI-CRk5cPQq2.js} +0 -0
- /package/dist/{sl-SI-DNgxTuIJ.js → sl-SI-CX-qAqMO.js} +0 -0
- /package/dist/{sl-SI-DyC9aHm4.js → sl-SI-ChCyYnjd.js} +0 -0
- /package/dist/{sl-SI-Br0agZj0.js → sl-SI-D6evG9fK.js} +0 -0
- /package/dist/{sl-SI-DnpKMUhR.js → sl-SI-DiLuydaN.js} +0 -0
- /package/dist/{sl-SI-qFjMTfKg2.js → sl-SI-DpgW-r5w.js} +0 -0
- /package/dist/{sl-SI-C6KiyZyh.js → sl-SI-DvXrcue1.js} +0 -0
- /package/dist/{sl-SI-DWJzi8r_.js → sl-SI-gUNcHR30.js} +0 -0
- /package/dist/{sl-SI-BlsVauZ9.js → sl-SI-uhzy0HC12.js} +0 -0
- /package/dist/{solution-payments-CVSsXgo9.js → solution-payments-rYk5tB74.js} +0 -0
- /package/dist/{store-COYFYobc.js → store-vKCOvUVJ.js} +0 -0
- /package/dist/{sv-SE-CWkxvOEr.js → sv-SE-4oyeOi4Y.js} +0 -0
- /package/dist/{sv-SE-Dsrb2FFw.js → sv-SE-BOEa4u9p.js} +0 -0
- /package/dist/{sv-SE-DTpqjuJd.js → sv-SE-BhwzqPYQ.js} +0 -0
- /package/dist/{sv-SE-BMG9p-1J.js → sv-SE-BoITS9np.js} +0 -0
- /package/dist/{sv-SE-D3hPP-Mp.js → sv-SE-Bpo3MgEr.js} +0 -0
- /package/dist/{sv-SE-BM8WESGs.js → sv-SE-Bx_Mk5xx.js} +0 -0
- /package/dist/{sv-SE-CTB2971Y.js → sv-SE-CMkXS2cO.js} +0 -0
- /package/dist/{sv-SE-Q7zk4V9W2.js → sv-SE-CRPJUyOE2.js} +0 -0
- /package/dist/{sv-SE-xHYNkpLd.js → sv-SE-DhNNMEwq.js} +0 -0
- /package/dist/{sv-SE-C-MkmGdq.js → sv-SE-DlYizFz8.js} +0 -0
- /package/dist/{sv-SE-BDo_8Bf92.js → sv-SE-Iv-yFbrD2.js} +0 -0
- /package/dist/{sv-SE-CBNLo-2r.js → sv-SE-i9koytKp.js} +0 -0
- /package/dist/{taskStatus-CvMqhrOK.js → taskStatus-DPUG3NS3.js} +0 -0
- /package/dist/{taskTypes-DWaxzvnQ.js → taskTypes-CDFRB7A4.js} +0 -0
- /package/dist/{tax-reporting-graph-368jm2t2.js → tax-reporting-graph-DNooZCbb.js} +0 -0
- /package/dist/{terminal-1-C98Z-HQT.js → terminal-1-BOv4YorG.js} +0 -0
- /package/dist/{tink-logo-b8D53Kmq.js → tink-logo-CqXir9XT.js} +0 -0
- /package/dist/{trustMemberGuidance-paR1FXfI.js → trustMemberGuidance-2rtnGkMG.js} +0 -0
- /package/dist/{types-BklAlvuU.js → types-CNZsK2dZ.js} +0 -0
- /package/dist/{upload-hnGE-ssH.js → upload-StAXlB73.js} +0 -0
- /package/dist/{us-check-BgX0xeVz.js → us-check-BW6K3WxJ.js} +0 -0
- /package/dist/{us-check-account-number-DKJO3VuM.js → us-check-account-number-BME1X1ZC.js} +0 -0
- /package/dist/{us-check-routing-number-C0VuN5fT.js → us-check-routing-number-UatGnO16.js} +0 -0
- /package/dist/{useToggleContext-CLfowItk.js → useToggleContext-B57-85xe.js} +0 -0
- /package/dist/{validate-_5wbUbU9.js → validate-maTmOby_.js} +0 -0
- /package/dist/{view-verification-status-C3zAZhYk.js → view-verification-status-CtW_qUMg.js} +0 -0
- /package/dist/{warning-circle-fill-BjxM4aj1.js → warning-circle-fill-BZhgf5Z8.js} +0 -0
- /package/dist/{warning-diamond-filled-CtCJ9xf8.js → warning-diamond-filled-hJarrWMO.js} +0 -0
- /package/dist/{webinar-D_daN2X8.js → webinar-j4tLxNVB.js} +0 -0
- /package/dist/{yapily-logo-ByJSYIQm.js → yapily-logo-upggwl6u.js} +0 -0
|
@@ -1,1800 +0,0 @@
|
|
|
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] = "f5998ade-3ffc-4476-92ee-4a2def01fab1", e._sentryDebugIdIdentifier = "sentry-dbid-f5998ade-3ffc-4476-92ee-4a2def01fab1");
|
|
4
|
-
} catch (e) {}
|
|
5
|
-
import { i as Typography, r as useTranslation } from "./translation-Br5wIPO-.js";
|
|
6
|
-
import { r as Loader, t as Button } from "./Button-BDEdGXnd.js";
|
|
7
|
-
import { n as httpGet, s as useApiContext } from "./http-CHTzpXCd.js";
|
|
8
|
-
import { t as LegalEntityTypes } from "./legal-entity-type-VIfNYnJP.js";
|
|
9
|
-
import { t as useSettingsContext } from "./useSettingsContext-DzwVt0W0.js";
|
|
10
|
-
import { n as cloneObject } from "./AnalyticsContext-C0HNdPss.js";
|
|
11
|
-
import { t as Header } from "./Header-B_MIsVov.js";
|
|
12
|
-
import { n as datasetUtilities } from "./datasetUtil-BZmNUckr.js";
|
|
13
|
-
import { y as reverseMapping } from "./processCapabilities-CDSEJpB8.js";
|
|
14
|
-
import { f as hasSolePropInLegalEntity } from "./entityAssociationUtil-C0gX4Ewv.js";
|
|
15
|
-
import { t as isEeaCountry } from "./country-C5KY5i2U.js";
|
|
16
|
-
import { t as useAnalyticsContext } from "./useAnalyticsContext-DfTXpZbA.js";
|
|
17
|
-
import { t as SettingNames } from "./types-BklAlvuU.js";
|
|
18
|
-
import { t as useToastContext } from "./useToastContext-CK7UoZ5Z.js";
|
|
19
|
-
import { t as EndStateLayout } from "./EndStateLayout-DxdIVWL3.js";
|
|
20
|
-
import { t as useInvalidateRootLegalEntity } from "./invalidateRootLegalEntity-BHyct4ev.js";
|
|
21
|
-
import { t as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-CYu0lsaE.js";
|
|
22
|
-
import { n as translateTranslatable } from "./utils-g_Wl4-9Z.js";
|
|
23
|
-
import { t as useCreateLegalEntity } from "./useCreateLegalEntity-C149Z7Xu.js";
|
|
24
|
-
import { t as useUpdateLegalEntity } from "./useUpdateLegalEntity-CUs6TYPF.js";
|
|
25
|
-
import { t as Address } from "./Address-CHpJLi-Q.js";
|
|
26
|
-
import { i as FormFlow, n as addValidityToForms, o as useFormComposer, r as getRequiredForms, s as FormContextProvider, t as useFormContext } from "./useFormContext-Cu4dKSCy.js";
|
|
27
|
-
import { t as ErrorPanel } from "./ErrorPanel-5g1eTEVD.js";
|
|
28
|
-
import { t as createFormUtils } from "./formUtils-DERTAXyh.js";
|
|
29
|
-
import { t as useMultiForm } from "./useMultiForm-tpVMuqHM.js";
|
|
30
|
-
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-DCdJo64z.js";
|
|
31
|
-
import { c as COUNTRIES_WITH_STATES_DATASET, n as getAddressSchemaLabelsByCountry, t as getAddressSchemaForCountry } from "./utils-DLDyhf2J.js";
|
|
32
|
-
import { i as isValidationError, o as processValidationErrors, s as isMaintenanceModeError } from "./validationError-Dr0g0lGN.js";
|
|
33
|
-
import { r as formatObject } from "./utils--gwzjjeS.js";
|
|
34
|
-
import { t as localizeDateString } from "./localizeDateString-B7EYBFnd.js";
|
|
35
|
-
import { t as Field } from "./Field-BEqknhTe.js";
|
|
36
|
-
import { t as Select } from "./Select-CMFHti4N.js";
|
|
37
|
-
import { t as Checkbox } from "./Checkbox-BJJIXNHL.js";
|
|
38
|
-
import { t as getFieldProps } from "./getProps-DQy_qV_x.js";
|
|
39
|
-
import { t as Link } from "./Link-BoduD1oh.js";
|
|
40
|
-
import { t as InputText } from "./InputText-CadVntiC.js";
|
|
41
|
-
import { t as InputDate } from "./InputDate-DsEAx7kx.js";
|
|
42
|
-
import { n as CountryField } from "./CountryField-B-JxQ6z9.js";
|
|
43
|
-
import { t as RadioGroup } from "./RadioGroup-XuCtbRrH.js";
|
|
44
|
-
import { t as currencyByCountry } from "./types-DjplYXLf.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-BbWaBY8A.js";
|
|
46
|
-
import { t as NewSummary } from "./NewSummary-BQHtEgHV.js";
|
|
47
|
-
import { t as businessFinancingMultiformRules } from "./validate-_5wbUbU9.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 { balanceSheetTotal: bst, ...restFinancialReport } = 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
|
-
const businessFinancingFinancialReport = {
|
|
253
|
-
...restFinancialReport,
|
|
254
|
-
netAssets: bst
|
|
255
|
-
};
|
|
256
|
-
businessFinancingDetails.organization.financialReports = [businessFinancingFinancialReport];
|
|
257
|
-
}
|
|
258
|
-
if (!isEeaCountry(businessFinancingCountry)) businessFinancingDetails.organization.financialReports = void 0;
|
|
259
|
-
if (businessFinancingDetails.organization.statusOfLegalProceeding === "iDontKnow") businessFinancingDetails.organization.statusOfLegalProceeding = "noLegalActionsTaken";
|
|
260
|
-
if (businessFinancingDetails.organization.statusOfLegalProceeding === "iDontKnow" || businessFinancingDetails.organization.statusOfLegalProceeding === "noLegalActionsTaken") businessFinancingDetails.organization.dateOfInitiationOfLegalProceeding = "";
|
|
261
|
-
if (companyData.sameAddressAsRootEntity && rootLegalEntity?.organization?.registeredAddress) businessFinancingDetails.organization.registeredAddress = { ...rootLegalEntity.organization.registeredAddress };
|
|
262
|
-
if (companyData.isThisAddressTheMainHeadquarters) businessFinancingDetails.organization.principalPlaceOfBusiness = { ...businessFinancingDetails.organization.registeredAddress };
|
|
263
|
-
if (companyData.doesYourCompanyHaveLEI !== "Yes") delete businessFinancingDetails.organization.globalLegalEntityIdentifier;
|
|
264
|
-
}
|
|
265
|
-
const businessFinancingLegalEntityId = getLegalEntityId(businessFinancingIndex, rootLegalEntity);
|
|
266
|
-
if (businessFinancingLegalEntityId) {
|
|
267
|
-
delete businessFinancingDetails.type;
|
|
268
|
-
businessFinancingDetails.id = businessFinancingLegalEntityId;
|
|
269
|
-
} else {
|
|
270
|
-
delete businessFinancingDetails.id;
|
|
271
|
-
businessFinancingDetails.type = isSoleProprietor ? LegalEntityTypes.SOLE_PROPRIETORSHIP : LegalEntityTypes.ORGANIZATION;
|
|
272
|
-
}
|
|
273
|
-
return businessFinancingDetails;
|
|
274
|
-
};
|
|
275
|
-
var appendBusinessFinancingData = (legalOrganization, businessFinancingData) => {
|
|
276
|
-
if (!legalOrganization || !businessFinancingData) return businessFinancingData;
|
|
277
|
-
const clonedBusinessFinancingData = { ...businessFinancingData };
|
|
278
|
-
let financialReportData = {};
|
|
279
|
-
if (legalOrganization.financialReports) {
|
|
280
|
-
financialReportData = financialReportsToString(mapFinancialReportsToFinancialInformation((Array.isArray(legalOrganization.financialReports) ? legalOrganization.financialReports : [legalOrganization.financialReports]).map(({ netAssets, ...rest }) => ({
|
|
281
|
-
...rest,
|
|
282
|
-
balanceSheetTotal: rest.balanceSheetTotal ?? netAssets
|
|
283
|
-
})), false));
|
|
284
|
-
if (financialReportData.numberOfEmployees) financialReportData.numberOfEmployees = financialReportData.numberOfEmployees.toString();
|
|
285
|
-
}
|
|
286
|
-
return {
|
|
287
|
-
...clonedBusinessFinancingData,
|
|
288
|
-
...financialReportData,
|
|
289
|
-
numberOfEmployees: financialReportData.numberOfEmployees ? financialReportData.numberOfEmployees.toString() : void 0,
|
|
290
|
-
doesYourCompanyHaveLEI: legalOrganization.globalLegalEntityIdentifier ? "Yes" : "No",
|
|
291
|
-
isThisAddressTheMainHeadquarters: legalOrganization.principalPlaceOfBusiness ? "Yes" : clonedBusinessFinancingData.isThisAddressTheMainHeadquarters
|
|
292
|
-
};
|
|
293
|
-
};
|
|
294
|
-
var appendSoleProprietorBusinessFinancingData = (legalArrangement, businessFinancingData) => {
|
|
295
|
-
if (!legalArrangement || !businessFinancingData) return businessFinancingData;
|
|
296
|
-
return {
|
|
297
|
-
...businessFinancingData,
|
|
298
|
-
naceCode: businessFinancingData.naceCode ?? legalArrangement.economicSector,
|
|
299
|
-
legalInformationInsolvency: businessFinancingData.legalInformationInsolvency ?? legalArrangement.statusOfLegalProceeding,
|
|
300
|
-
legalProceedingsDate: businessFinancingData.legalProceedingsDate ?? legalArrangement.dateOfInitiationOfLegalProceeding
|
|
301
|
-
};
|
|
302
|
-
};
|
|
303
|
-
var handleBusinessFinancingFormSubmission = async (businessFinancingType, details, createFunction, updateFunction, entityId) => {
|
|
304
|
-
if (!details) throw new Error(`Missing details for ${businessFinancingType}`);
|
|
305
|
-
try {
|
|
306
|
-
if (entityId) return await updateFunction({
|
|
307
|
-
...details,
|
|
308
|
-
id: entityId
|
|
309
|
-
});
|
|
310
|
-
return await createFunction(details);
|
|
311
|
-
} catch (error) {
|
|
312
|
-
const businessFinancingError = /* @__PURE__ */ new Error(`Form submission failed for ${businessFinancingType}`);
|
|
313
|
-
businessFinancingError.actualError = error;
|
|
314
|
-
businessFinancingError.businessFinancingType = businessFinancingError;
|
|
315
|
-
throw businessFinancingError;
|
|
316
|
-
}
|
|
317
|
-
};
|
|
318
|
-
var getCompanySchemaKeys = (country, currentData, schemaKeys) => {
|
|
319
|
-
const fieldsToRemove = [];
|
|
320
|
-
if (!isEeaCountry(country)) fieldsToRemove.push("financialReportingDate", "balanceSheetTotal", "annualTurnover", "currency", "numberOfEmployees");
|
|
321
|
-
if (currentData.isCompanyOwnedByAnotherCompany !== "Yes") fieldsToRemove.push("isParentOwnedByAnotherCompany");
|
|
322
|
-
if (currentData.doesYourCompanyHaveLEI !== "Yes") fieldsToRemove.push("legalEntityIdentifier");
|
|
323
|
-
if (!currentData?.legalInformationInsolvency || ["noLegalActionsTaken", "iDontKnow"].includes(currentData?.legalInformationInsolvency)) fieldsToRemove.push("legalProceedingsDate");
|
|
324
|
-
return schemaKeys.filter((field) => !fieldsToRemove.includes(field));
|
|
325
|
-
};
|
|
326
|
-
var getSoleProprietorSchemaKeys = (currentData, schemaKeys) => {
|
|
327
|
-
const fieldsToRemove = [];
|
|
328
|
-
if (!currentData?.legalInformationInsolvency || ["noLegalActionsTaken", "iDontKnow"].includes(currentData?.legalInformationInsolvency)) fieldsToRemove.push("legalProceedingsDate");
|
|
329
|
-
return schemaKeys.filter((field) => !fieldsToRemove.includes(field));
|
|
330
|
-
};
|
|
331
|
-
var getParentCompanySchemaKeys = (currentData, schemaKeys, rootEntityAddress) => {
|
|
332
|
-
const fieldsToRemove = [];
|
|
333
|
-
if (!isEeaCountry(currentData?.sameAddressAsRootEntity && rootEntityAddress ? rootEntityAddress.country : currentData?.registrationAddress?.country)) fieldsToRemove.push("financialReportingDate", "balanceSheetTotal", "annualTurnover", "currency", "numberOfEmployees");
|
|
334
|
-
if (currentData?.sameAddressAsRootEntity) fieldsToRemove.push("registrationAddress");
|
|
335
|
-
if (currentData.doesYourCompanyHaveLEI !== "Yes") fieldsToRemove.push("legalEntityIdentifier");
|
|
336
|
-
if (!currentData?.legalInformationInsolvency || ["noLegalActionsTaken", "iDontKnow"].includes(currentData?.legalInformationInsolvency)) fieldsToRemove.push("legalProceedingsDate");
|
|
337
|
-
return schemaKeys.filter((field) => !fieldsToRemove.includes(field));
|
|
338
|
-
};
|
|
339
|
-
var getBusinessFinancingRequiredFields = (country, data, rootEntityAddress) => {
|
|
340
|
-
let requiredFields = void 0;
|
|
341
|
-
if (!data) return requiredFields;
|
|
342
|
-
const { company, soleProprietor, parentCompany = {}, ultimateParentCompany = {} } = data;
|
|
343
|
-
if (soleProprietor) {
|
|
344
|
-
requiredFields = {};
|
|
345
|
-
requiredFields.soleProprietor = getSoleProprietorSchemaKeys(soleProprietor, soleProprietorSchemaKeys);
|
|
346
|
-
delete requiredFields.company;
|
|
347
|
-
return requiredFields;
|
|
348
|
-
}
|
|
349
|
-
if (company) {
|
|
350
|
-
requiredFields = {};
|
|
351
|
-
requiredFields.company = getCompanySchemaKeys(country, company, companySchemaKeys);
|
|
352
|
-
}
|
|
353
|
-
if (company?.isCompanyOwnedByAnotherCompany === "Yes") {
|
|
354
|
-
const parentCompanyRequiredFields = getParentCompanySchemaKeys(parentCompany, parentCompaniesSchemaKeys, rootEntityAddress);
|
|
355
|
-
requiredFields = {
|
|
356
|
-
...requiredFields,
|
|
357
|
-
parentCompany: parentCompanyRequiredFields
|
|
358
|
-
};
|
|
359
|
-
}
|
|
360
|
-
if (company?.isParentOwnedByAnotherCompany === "Yes") {
|
|
361
|
-
const ultimateParentCompanyRequiredFields = getParentCompanySchemaKeys(ultimateParentCompany, parentCompaniesSchemaKeys, rootEntityAddress);
|
|
362
|
-
requiredFields = {
|
|
363
|
-
...requiredFields,
|
|
364
|
-
ultimateParentCompany: ultimateParentCompanyRequiredFields
|
|
365
|
-
};
|
|
366
|
-
}
|
|
367
|
-
return requiredFields;
|
|
368
|
-
};
|
|
369
|
-
var getAddressCountryForParentCompany = (parentCompany, leAddress) => {
|
|
370
|
-
return parentCompany?.sameAddressAsRootEntity && leAddress ? leAddress?.country : parentCompany?.registrationAddress?.country;
|
|
371
|
-
};
|
|
372
|
-
//#endregion
|
|
373
|
-
//#region src/components/EmbeddedDropins/BusinessFinancingComponent/utils.ts
|
|
374
|
-
var getTranslatedGender = (t, gender) => {
|
|
375
|
-
if (!gender) return void 0;
|
|
376
|
-
const key = {
|
|
377
|
-
M: "male",
|
|
378
|
-
F: "female",
|
|
379
|
-
U: "preferNotToSay"
|
|
380
|
-
}[gender];
|
|
381
|
-
return key ? t(($) => $[key]) : gender;
|
|
382
|
-
};
|
|
383
|
-
var getTranslatedLegalInsolvency = (t, insolvencyData) => {
|
|
384
|
-
if (!insolvencyData) return void 0;
|
|
385
|
-
return insolvencyData === "noLegalActionsTaken" ? t(($) => $["no"]) : t(($) => $[insolvencyData]);
|
|
386
|
-
};
|
|
387
|
-
var getValidUserLocale = (locale) => {
|
|
388
|
-
try {
|
|
389
|
-
new Intl.NumberFormat(locale);
|
|
390
|
-
return locale;
|
|
391
|
-
} catch (error) {
|
|
392
|
-
console.warn(`Invalid locale '${locale}' provided. Falling back to 'en-US'.`, error);
|
|
393
|
-
return "en-US";
|
|
394
|
-
}
|
|
395
|
-
};
|
|
396
|
-
var getFormattedAmount = (value, currency) => {
|
|
397
|
-
if (!value) return void 0;
|
|
398
|
-
const userLocale = getValidUserLocale(USER_LOCALE);
|
|
399
|
-
return `${currency} ${Number(value).toLocaleString(userLocale)}`;
|
|
400
|
-
};
|
|
401
|
-
var formatDataForSummary = (language, t, datasetUtils, data, rootLeAddress) => {
|
|
402
|
-
const summaryData = cloneObject(data) || {};
|
|
403
|
-
const { company, parentCompany, ultimateParentCompany, soleProprietor } = summaryData;
|
|
404
|
-
if (soleProprietor) {
|
|
405
|
-
soleProprietor.naceCode = soleProprietor.naceCodeLabel;
|
|
406
|
-
soleProprietor.countryOfBirth = soleProprietor.countryOfBirth ? datasetUtils.getCountryName(soleProprietor.countryOfBirth) ?? void 0 : void 0;
|
|
407
|
-
soleProprietor.legalInformationInsolvency = getTranslatedLegalInsolvency(t, soleProprietor.legalInformationInsolvency);
|
|
408
|
-
soleProprietor.legalProceedingsDate = soleProprietor.legalProceedingsDate ? localizeDateString(soleProprietor.legalProceedingsDate, language) : void 0;
|
|
409
|
-
if (soleProprietor.gender) soleProprietor.gender = getTranslatedGender(t, soleProprietor.gender);
|
|
410
|
-
}
|
|
411
|
-
if (company) {
|
|
412
|
-
company.legalForm = company.legalFormLabel;
|
|
413
|
-
company.naceCode = company.naceCodeLabel;
|
|
414
|
-
company.legalEntityIdentifier = company.legalEntityIdentifier ?? "None";
|
|
415
|
-
company.legalInformationInsolvency = getTranslatedLegalInsolvency(t, company?.legalInformationInsolvency);
|
|
416
|
-
company.annualTurnover = getFormattedAmount(company.annualTurnover, company.currency);
|
|
417
|
-
company.balanceSheetTotal = getFormattedAmount(company.balanceSheetTotal, company.currency);
|
|
418
|
-
const { legalProceedingsDate, financialReportingDate } = company;
|
|
419
|
-
company.legalProceedingsDate = legalProceedingsDate ? localizeDateString(legalProceedingsDate, language) : void 0;
|
|
420
|
-
company.financialReportingDate = financialReportingDate ? localizeDateString(financialReportingDate, language) : void 0;
|
|
421
|
-
}
|
|
422
|
-
if (parentCompany) {
|
|
423
|
-
const { legalName, legalFormLabel, naceCodeLabel, country, legalEntityIdentifier, legalInformationInsolvency, annualTurnover, currency, balanceSheetTotal, legalProceedingsDate, financialReportingDate, sameAddressAsRootEntity, registrationAddress } = parentCompany;
|
|
424
|
-
if (legalName) {
|
|
425
|
-
parentCompany.legalForm = legalFormLabel;
|
|
426
|
-
parentCompany.naceCode = naceCodeLabel;
|
|
427
|
-
parentCompany.country = country ? datasetUtils.getCountryName(country) : "";
|
|
428
|
-
if (registrationAddress) parentCompany.registrationAddress = {
|
|
429
|
-
...registrationAddress,
|
|
430
|
-
country: datasetUtils.getCountryName(registrationAddress?.country)
|
|
431
|
-
};
|
|
432
|
-
parentCompany.legalEntityIdentifier = legalEntityIdentifier ?? "None";
|
|
433
|
-
parentCompany.legalInformationInsolvency = getTranslatedLegalInsolvency(t, legalInformationInsolvency);
|
|
434
|
-
parentCompany.annualTurnover = getFormattedAmount(annualTurnover, currency);
|
|
435
|
-
parentCompany.balanceSheetTotal = getFormattedAmount(balanceSheetTotal, currency);
|
|
436
|
-
parentCompany.legalProceedingsDate = legalProceedingsDate ? localizeDateString(legalProceedingsDate, language) : void 0;
|
|
437
|
-
parentCompany.financialReportingDate = financialReportingDate ? localizeDateString(financialReportingDate, language) : void 0;
|
|
438
|
-
if (sameAddressAsRootEntity) {
|
|
439
|
-
delete parentCompany.country;
|
|
440
|
-
summaryData.parentCompany = {
|
|
441
|
-
...parentCompany,
|
|
442
|
-
registrationAddress: {
|
|
443
|
-
...rootLeAddress,
|
|
444
|
-
country: datasetUtils.getCountryName(rootLeAddress?.country)
|
|
445
|
-
}
|
|
446
|
-
};
|
|
447
|
-
}
|
|
448
|
-
}
|
|
449
|
-
}
|
|
450
|
-
if (ultimateParentCompany) {
|
|
451
|
-
const { legalName, legalFormLabel, naceCodeLabel, country, legalEntityIdentifier, legalInformationInsolvency, annualTurnover, currency, balanceSheetTotal, legalProceedingsDate, financialReportingDate, sameAddressAsRootEntity, registrationAddress } = ultimateParentCompany;
|
|
452
|
-
if (legalName) {
|
|
453
|
-
ultimateParentCompany.legalForm = legalFormLabel;
|
|
454
|
-
ultimateParentCompany.naceCode = naceCodeLabel;
|
|
455
|
-
ultimateParentCompany.country = country ? datasetUtils.getCountryName(country) : "";
|
|
456
|
-
if (registrationAddress) ultimateParentCompany.registrationAddress = {
|
|
457
|
-
...registrationAddress,
|
|
458
|
-
country: datasetUtils.getCountryName(registrationAddress?.country)
|
|
459
|
-
};
|
|
460
|
-
ultimateParentCompany.legalEntityIdentifier = legalEntityIdentifier ?? "None";
|
|
461
|
-
ultimateParentCompany.legalInformationInsolvency = getTranslatedLegalInsolvency(t, legalInformationInsolvency);
|
|
462
|
-
ultimateParentCompany.annualTurnover = getFormattedAmount(annualTurnover, currency);
|
|
463
|
-
ultimateParentCompany.balanceSheetTotal = getFormattedAmount(balanceSheetTotal, currency);
|
|
464
|
-
ultimateParentCompany.legalProceedingsDate = legalProceedingsDate ? localizeDateString(legalProceedingsDate, language) : void 0;
|
|
465
|
-
ultimateParentCompany.financialReportingDate = financialReportingDate ? localizeDateString(financialReportingDate, language) : void 0;
|
|
466
|
-
if (sameAddressAsRootEntity) {
|
|
467
|
-
delete ultimateParentCompany.country;
|
|
468
|
-
summaryData.ultimateParentCompany = {
|
|
469
|
-
...ultimateParentCompany,
|
|
470
|
-
registrationAddress: {
|
|
471
|
-
...rootLeAddress,
|
|
472
|
-
country: datasetUtils.getCountryName(rootLeAddress?.country)
|
|
473
|
-
}
|
|
474
|
-
};
|
|
475
|
-
}
|
|
476
|
-
}
|
|
477
|
-
}
|
|
478
|
-
return summaryData;
|
|
479
|
-
};
|
|
480
|
-
//#endregion
|
|
481
|
-
//#region src/components/EFP/mapping/mapLegalEntityToBusinessFinancing.ts
|
|
482
|
-
var mapLegalEntityToBusinessFinancing = (legalEntity) => {
|
|
483
|
-
if (legalEntity.type === LegalEntityTypes.SOLE_PROPRIETORSHIP) return formatObject(legalEntity, businessFinancingSoleProprietorComponentsKeyMapping);
|
|
484
|
-
if (legalEntity.type === LegalEntityTypes.INDIVIDUAL) {
|
|
485
|
-
if (legalEntity.entityAssociations?.find((ea) => ea.entityType === LegalEntityTypes.SOLE_PROPRIETORSHIP && ea.associatorId === legalEntity.id)) {
|
|
486
|
-
const solePropMapped = formatObject(legalEntity, businessFinancingSoleProprietorComponentsKeyMapping);
|
|
487
|
-
const birthData = legalEntity.individual?.birthData;
|
|
488
|
-
return {
|
|
489
|
-
...solePropMapped,
|
|
490
|
-
gender: birthData?.genderCode || legalEntity.individual?.gender,
|
|
491
|
-
countryOfBirth: birthData?.birthCountry || legalEntity.individual?.countryOfBirth
|
|
492
|
-
};
|
|
493
|
-
}
|
|
494
|
-
}
|
|
495
|
-
return formatObject(legalEntity, businessFinancingComponentsKeyMapping);
|
|
496
|
-
};
|
|
497
|
-
//#endregion
|
|
498
|
-
//#region src/api/datasets/useNaceCodes.ts
|
|
499
|
-
var getNaceCodes = async (baseUrl) => {
|
|
500
|
-
return httpGet({
|
|
501
|
-
baseUrl,
|
|
502
|
-
path: `datasets/naceCodes`
|
|
503
|
-
});
|
|
504
|
-
};
|
|
505
|
-
var useNaceCodes = (options) => {
|
|
506
|
-
const { baseUrl } = useApiContext();
|
|
507
|
-
return useQuery({
|
|
508
|
-
queryKey: ["naceCodes"],
|
|
509
|
-
queryFn: () => getNaceCodes(baseUrl.value),
|
|
510
|
-
...options
|
|
511
|
-
});
|
|
512
|
-
};
|
|
513
|
-
//#endregion
|
|
514
|
-
//#region src/components/EFP/fields/NaceCodeField/NaceCodeField.tsx
|
|
515
|
-
function NaceCodeField({ name = "naceCode", data, valid, errorMessage, label, readonly, handleChangeFor }) {
|
|
516
|
-
const { t: commonT } = useTranslation("common");
|
|
517
|
-
const { data: naceCodesData } = useNaceCodes();
|
|
518
|
-
const handleChangeForRef = useRef(handleChangeFor);
|
|
519
|
-
useEffect(() => {
|
|
520
|
-
handleChangeForRef.current = handleChangeFor;
|
|
521
|
-
}, [handleChangeFor]);
|
|
522
|
-
const handleChangeForNaceCode = (e) => {
|
|
523
|
-
const naceCodeEvent = { target: {
|
|
524
|
-
name: "naceCode",
|
|
525
|
-
value: e.target.value
|
|
526
|
-
} };
|
|
527
|
-
handleChangeFor("naceCode")(naceCodeEvent);
|
|
528
|
-
};
|
|
529
|
-
useEffect(() => {
|
|
530
|
-
const naceCodeEvent = { target: {
|
|
531
|
-
name: "naceCodeLabel",
|
|
532
|
-
value: naceCodesData?.find((naceCode) => naceCode.id === data.naceCode)?.name
|
|
533
|
-
} };
|
|
534
|
-
handleChangeForRef.current("naceCodeLabel")(naceCodeEvent);
|
|
535
|
-
}, [data.naceCode, naceCodesData]);
|
|
536
|
-
return /* @__PURE__ */ jsx(Field, {
|
|
537
|
-
name,
|
|
538
|
-
label,
|
|
539
|
-
errorMessage,
|
|
540
|
-
isValid: valid.naceCode,
|
|
541
|
-
children: (childProps) => /* @__PURE__ */ jsx(Select, {
|
|
542
|
-
...childProps,
|
|
543
|
-
name,
|
|
544
|
-
placeholder: commonT(($) => $["selectOne"]),
|
|
545
|
-
selected: data.naceCode,
|
|
546
|
-
items: naceCodesData ?? [],
|
|
547
|
-
readonly: readonly && !!data,
|
|
548
|
-
onChange: handleChangeForNaceCode
|
|
549
|
-
})
|
|
550
|
-
});
|
|
551
|
-
}
|
|
552
|
-
var BusinessFinancing_module_default = {
|
|
553
|
-
"business-financing-lei-radio": "adyen-kyc-business-financing-lei-radio",
|
|
554
|
-
businessFinancingLeiRadio: "adyen-kyc-business-financing-lei-radio",
|
|
555
|
-
"business-financing-title": "adyen-kyc-business-financing-title",
|
|
556
|
-
businessFinancingTitle: "adyen-kyc-business-financing-title",
|
|
557
|
-
"business-financing-body": "adyen-kyc-business-financing-body",
|
|
558
|
-
businessFinancingBody: "adyen-kyc-business-financing-body",
|
|
559
|
-
"business-financing-exposure-financials": "adyen-kyc-business-financing-exposure-financials",
|
|
560
|
-
businessFinancingExposureFinancials: "adyen-kyc-business-financing-exposure-financials",
|
|
561
|
-
"business-financing-structured-address": "adyen-kyc-business-financing-structured-address",
|
|
562
|
-
businessFinancingStructuredAddress: "adyen-kyc-business-financing-structured-address"
|
|
563
|
-
};
|
|
564
|
-
//#endregion
|
|
565
|
-
//#region src/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingBusinessInformation.tsx
|
|
566
|
-
var businessInformationFields = [
|
|
567
|
-
"legalForm",
|
|
568
|
-
"naceCode",
|
|
569
|
-
"naceCodeLabel",
|
|
570
|
-
"legalFormLabel",
|
|
571
|
-
"doesYourCompanyHaveLEI",
|
|
572
|
-
"legalEntityIdentifier"
|
|
573
|
-
];
|
|
574
|
-
function BusinessFinancingBusinessInformation(props) {
|
|
575
|
-
const { data, valid, errors, country, handleFieldChange, fieldValidationErrors, targetPage, sectionHeading, hideSectionHeading, isSoleProprietor } = props;
|
|
576
|
-
const { t: businessFinancingT } = useTranslation("businessFinancing");
|
|
577
|
-
const { t: commonT } = useTranslation("common");
|
|
578
|
-
const formUtils = createFormUtils(props, commonT);
|
|
579
|
-
if (!handleFieldChange) return;
|
|
580
|
-
const isMainCompany = targetPage === BusinessFinancingPages.COMPANY_PAGE;
|
|
581
|
-
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
582
|
-
!hideSectionHeading && /* @__PURE__ */ jsx(Typography, {
|
|
583
|
-
el: "h3",
|
|
584
|
-
variant: "title",
|
|
585
|
-
className: BusinessFinancing_module_default.businessFinancingTitle,
|
|
586
|
-
children: sectionHeading ? businessFinancingT(($) => $[sectionHeading]) : businessFinancingT(($) => $["businessInformation"])
|
|
587
|
-
}),
|
|
588
|
-
!isSoleProprietor && /* @__PURE__ */ jsx(LegalFormField, {
|
|
589
|
-
name: "legalForm",
|
|
590
|
-
countryCode: country,
|
|
591
|
-
data: { legalForm: data?.legalForm },
|
|
592
|
-
valid: { legalForm: valid?.legalForm },
|
|
593
|
-
errorMessage: formUtils.getErrorMessage("legalForm", errors, fieldValidationErrors),
|
|
594
|
-
handleChangeFor: handleFieldChange,
|
|
595
|
-
readonly: false,
|
|
596
|
-
label: businessFinancingT(($) => $["businessStructure"])
|
|
597
|
-
}),
|
|
598
|
-
/* @__PURE__ */ jsx(NaceCodeField, {
|
|
599
|
-
name: "naceCode",
|
|
600
|
-
data: { naceCode: data?.naceCode },
|
|
601
|
-
valid: { naceCode: valid?.naceCode },
|
|
602
|
-
errorMessage: formUtils.getErrorMessage("naceCode", errors, fieldValidationErrors),
|
|
603
|
-
handleChangeFor: handleFieldChange,
|
|
604
|
-
readonly: false,
|
|
605
|
-
label: businessFinancingT(($) => $["industryAndNaceCode"])
|
|
606
|
-
}),
|
|
607
|
-
!isSoleProprietor && /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx(Field, {
|
|
608
|
-
el: "fieldset",
|
|
609
|
-
name: "doesYourCompanyHaveLEI",
|
|
610
|
-
label: businessFinancingT(($) => $[isMainCompany ? "doesYourCompanyHaveLEI" : "doesThisCompanyHaveLEI"]),
|
|
611
|
-
helper: /* @__PURE__ */ jsxs(Typography, {
|
|
612
|
-
el: "div",
|
|
613
|
-
variant: "body",
|
|
614
|
-
color: "secondary",
|
|
615
|
-
className: BusinessFinancing_module_default.businessFinancingBody,
|
|
616
|
-
children: [
|
|
617
|
-
businessFinancingT(($) => $["anLEIIsAUniqueCode"]),
|
|
618
|
-
" ",
|
|
619
|
-
/* @__PURE__ */ jsx(Link, {
|
|
620
|
-
href: "https://search.gleif.org/#/search/",
|
|
621
|
-
external: true,
|
|
622
|
-
inline: true,
|
|
623
|
-
children: businessFinancingT(($) => $["lookUpYourLEI"])
|
|
624
|
-
})
|
|
625
|
-
]
|
|
626
|
-
}),
|
|
627
|
-
errorMessage: formUtils.getErrorMessage("doesYourCompanyHaveLEI", errors, fieldValidationErrors),
|
|
628
|
-
children: (childProps) => /* @__PURE__ */ jsx(RadioGroup, {
|
|
629
|
-
...childProps,
|
|
630
|
-
name: "doesYourCompanyHaveLEI",
|
|
631
|
-
items: isMainCompany ? businessFinancingRadioItems : businessFinancingParentRadioItems,
|
|
632
|
-
value: data?.doesYourCompanyHaveLEI,
|
|
633
|
-
disabled: false,
|
|
634
|
-
className: BusinessFinancing_module_default.businessFinancingLeiRadio,
|
|
635
|
-
onChange: handleFieldChange("doesYourCompanyHaveLEI"),
|
|
636
|
-
"aria-required": true,
|
|
637
|
-
"aria-invalid": !valid?.doesYourCompanyHaveLEI
|
|
638
|
-
})
|
|
639
|
-
}), data?.doesYourCompanyHaveLEI === "Yes" && /* @__PURE__ */ jsx(Field, {
|
|
640
|
-
name: "legalEntityIdentifier",
|
|
641
|
-
label: businessFinancingT(($) => $["legalEntityIdentifier"]),
|
|
642
|
-
errorMessage: formUtils.getErrorMessage("legalEntityIdentifier", errors, fieldValidationErrors),
|
|
643
|
-
isValid: valid?.legalEntityIdentifier,
|
|
644
|
-
helper: commonT(($) => $["enterNCharactersWithAMixForExample"], {
|
|
645
|
-
numChars: 20,
|
|
646
|
-
example: "529900T8BM49AURSDO55"
|
|
647
|
-
}),
|
|
648
|
-
children: (childProps) => /* @__PURE__ */ jsx(InputText, {
|
|
649
|
-
...childProps,
|
|
650
|
-
name: "legalEntityIdentifier",
|
|
651
|
-
value: data?.legalEntityIdentifier,
|
|
652
|
-
readonly: false,
|
|
653
|
-
onInput: handleFieldChange("legalEntityIdentifier", "input"),
|
|
654
|
-
onBlur: handleFieldChange("legalEntityIdentifier", "blur"),
|
|
655
|
-
"aria-required": true,
|
|
656
|
-
"aria-invalid": !valid?.legalEntityIdentifier,
|
|
657
|
-
isValid: valid?.legalEntityIdentifier
|
|
658
|
-
})
|
|
659
|
-
})] })
|
|
660
|
-
] });
|
|
661
|
-
}
|
|
662
|
-
//#endregion
|
|
663
|
-
//#region src/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingFinancialInformation.tsx
|
|
664
|
-
var TODAY_DATE$1 = (/* @__PURE__ */ new Date()).toISOString().split("T")[0];
|
|
665
|
-
var financialInformationFields = [
|
|
666
|
-
"numberOfEmployees",
|
|
667
|
-
"financialReportingDate",
|
|
668
|
-
"legalEntityIdentifier",
|
|
669
|
-
"currency",
|
|
670
|
-
"balanceSheetTotal",
|
|
671
|
-
"annualTurnover"
|
|
672
|
-
];
|
|
673
|
-
function BusinessFinancingFinancialInformation(props) {
|
|
674
|
-
const { data, valid, errors, country, sectionHeading, handleFieldChange, fieldValidationErrors } = props;
|
|
675
|
-
const { t: businessFinancingT, i18n: i18next } = useTranslation("businessFinancing");
|
|
676
|
-
const { t: commonT } = useTranslation("common");
|
|
677
|
-
const formUtils = createFormUtils(props, commonT);
|
|
678
|
-
const currenciesForCurrCountry = useMemo(() => currencyByCountry[country] ?? [], [country]);
|
|
679
|
-
if (!handleFieldChange) return;
|
|
680
|
-
const financialData = data;
|
|
681
|
-
const financialErrors = errors;
|
|
682
|
-
const isFinancialDataValid = valid;
|
|
683
|
-
const [firstCurrency] = currenciesForCurrCountry;
|
|
684
|
-
const defaultCurrency = firstCurrency ?? "EUR";
|
|
685
|
-
if (currenciesForCurrCountry.length === 1 && data?.currency !== firstCurrency) handleFieldChange("currency")(firstCurrency);
|
|
686
|
-
return /* @__PURE__ */ jsxs("section", { children: [
|
|
687
|
-
/* @__PURE__ */ jsx(Typography, {
|
|
688
|
-
el: "h3",
|
|
689
|
-
variant: "title",
|
|
690
|
-
className: BusinessFinancing_module_default.businessFinancingTitle,
|
|
691
|
-
children: sectionHeading ? businessFinancingT(($) => $[sectionHeading]) : businessFinancingT(($) => $["businessFinancials"])
|
|
692
|
-
}),
|
|
693
|
-
/* @__PURE__ */ jsx(Field, {
|
|
694
|
-
name: "numberOfEmployees",
|
|
695
|
-
label: businessFinancingT(($) => $["numberOfEmployees"]),
|
|
696
|
-
helper: businessFinancingT(($) => $["theNumberOfIndividualsReceivingAWageOrSalary"]),
|
|
697
|
-
errorMessage: formUtils.getErrorMessage("numberOfEmployees", errors, fieldValidationErrors),
|
|
698
|
-
isValid: valid?.numberOfEmployees,
|
|
699
|
-
children: (childProps) => /* @__PURE__ */ jsx(InputNumber, {
|
|
700
|
-
...childProps,
|
|
701
|
-
"aria-required": true,
|
|
702
|
-
"aria-invalid": !valid?.numberOfEmployees,
|
|
703
|
-
name: "numberOfEmployees",
|
|
704
|
-
min: "0",
|
|
705
|
-
step: "1",
|
|
706
|
-
value: data?.numberOfEmployees,
|
|
707
|
-
onInput: handleFieldChange("numberOfEmployees", "input"),
|
|
708
|
-
onBlur: handleFieldChange("numberOfEmployees", "blur")
|
|
709
|
-
})
|
|
710
|
-
}),
|
|
711
|
-
currenciesForCurrCountry?.length > 1 && /* @__PURE__ */ jsx(Currency, {
|
|
712
|
-
country,
|
|
713
|
-
data: formUtils.getFieldData(financialData, CURRENCY_FIELD),
|
|
714
|
-
errors: formUtils.getFieldErrors(financialErrors, fieldValidationErrors, CURRENCY_FIELD),
|
|
715
|
-
handleChangeFor: handleFieldChange,
|
|
716
|
-
labels: { currency: businessFinancingT(($) => $["financialStatementReportingCurrency"]) },
|
|
717
|
-
readonly: formUtils.isReadOnly("currency"),
|
|
718
|
-
valid: formUtils.getFieldValid(isFinancialDataValid, CURRENCY_FIELD)
|
|
719
|
-
}),
|
|
720
|
-
/* @__PURE__ */ jsxs("div", {
|
|
721
|
-
className: BusinessFinancing_module_default.businessFinancingExposureFinancials,
|
|
722
|
-
children: [
|
|
723
|
-
/* @__PURE__ */ jsx(Field, {
|
|
724
|
-
name: "balanceSheetTotal",
|
|
725
|
-
label: businessFinancingT(($) => $["balanceSheetTotal"]),
|
|
726
|
-
helper: businessFinancingT(($) => $["theSumOfTotalLiabilities"]),
|
|
727
|
-
errorMessage: formUtils.getErrorMessage("balanceSheetTotal", errors, fieldValidationErrors),
|
|
728
|
-
isValid: valid?.balanceSheetTotal,
|
|
729
|
-
children: (childProps) => /* @__PURE__ */ jsx(InputCurrency, {
|
|
730
|
-
...childProps,
|
|
731
|
-
"aria-required": formUtils.isRequiredField("balanceSheetTotal"),
|
|
732
|
-
"aria-invalid": !valid?.balanceSheetTotal,
|
|
733
|
-
locale: i18next.language,
|
|
734
|
-
currency: data?.currency ?? defaultCurrency,
|
|
735
|
-
amount: data?.balanceSheetTotal ? Number(data?.balanceSheetTotal) : void 0,
|
|
736
|
-
onAmountChanged: handleFieldChange("balanceSheetTotal")
|
|
737
|
-
})
|
|
738
|
-
}),
|
|
739
|
-
/* @__PURE__ */ jsx(Field, {
|
|
740
|
-
name: "financialReportingDate",
|
|
741
|
-
label: businessFinancingT(($) => $["statementReportingDate"]),
|
|
742
|
-
helper: businessFinancingT(($) => $["useTheMoreRecentOfTheReportingDates"]),
|
|
743
|
-
errorMessage: formUtils.getErrorMessage("financialReportingDate", errors, fieldValidationErrors),
|
|
744
|
-
isValid: valid?.financialReportingDate,
|
|
745
|
-
children: (childProps) => /* @__PURE__ */ jsx(InputDate, {
|
|
746
|
-
...childProps,
|
|
747
|
-
name: "financialReportingDate",
|
|
748
|
-
value: data?.financialReportingDate,
|
|
749
|
-
onInput: handleFieldChange("financialReportingDate", "input"),
|
|
750
|
-
onBlur: handleFieldChange("financialReportingDate", "blur"),
|
|
751
|
-
"aria-required": true,
|
|
752
|
-
"aria-invalid": !valid?.financialReportingDate,
|
|
753
|
-
max: TODAY_DATE$1
|
|
754
|
-
})
|
|
755
|
-
}),
|
|
756
|
-
/* @__PURE__ */ jsx(Field, {
|
|
757
|
-
name: "annualTurnover",
|
|
758
|
-
label: businessFinancingT(($) => $["annualTurnover"]),
|
|
759
|
-
helper: businessFinancingT(($) => $["theAnnualSalesRevenue"]),
|
|
760
|
-
errorMessage: formUtils.getErrorMessage("annualTurnover", errors, fieldValidationErrors),
|
|
761
|
-
isValid: valid?.annualTurnover,
|
|
762
|
-
children: (childProps) => /* @__PURE__ */ jsx(InputCurrency, {
|
|
763
|
-
...childProps,
|
|
764
|
-
name: "annualTurnover",
|
|
765
|
-
"aria-required": formUtils.isRequiredField("annualTurnover"),
|
|
766
|
-
"aria-invalid": !valid?.annualTurnover,
|
|
767
|
-
locale: i18next.language,
|
|
768
|
-
currency: data?.currency ?? defaultCurrency,
|
|
769
|
-
amount: data?.annualTurnover ? Number(data?.annualTurnover) : void 0,
|
|
770
|
-
onAmountChanged: handleFieldChange("annualTurnover")
|
|
771
|
-
})
|
|
772
|
-
})
|
|
773
|
-
]
|
|
774
|
-
})
|
|
775
|
-
] });
|
|
776
|
-
}
|
|
777
|
-
//#endregion
|
|
778
|
-
//#region src/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingLegalInformation.tsx
|
|
779
|
-
var TODAY_DATE = (/* @__PURE__ */ new Date()).toISOString().split("T")[0];
|
|
780
|
-
var legalInformationFields = ["legalInformationInsolvency", "legalProceedingsDate"];
|
|
781
|
-
function BusinessFinancingLegalInformation(props) {
|
|
782
|
-
const { data, valid, errors, fieldValidationErrors, handleFieldChange, sectionHeading } = props;
|
|
783
|
-
const { t: businessFinancingT } = useTranslation("businessFinancing");
|
|
784
|
-
const { t: commonT } = useTranslation("common");
|
|
785
|
-
const formUtils = createFormUtils(props, commonT);
|
|
786
|
-
if (!handleFieldChange) return;
|
|
787
|
-
const legalInformationInsolvencyItems = [
|
|
788
|
-
{
|
|
789
|
-
id: "noLegalActionsTaken",
|
|
790
|
-
name: commonT(($) => $["no"])
|
|
791
|
-
},
|
|
792
|
-
{
|
|
793
|
-
id: "underJudicialAdministration",
|
|
794
|
-
name: businessFinancingT(($) => $["yesTheCompanyIsUnderJudicialAdministration"])
|
|
795
|
-
},
|
|
796
|
-
{
|
|
797
|
-
id: "bankruptcyInsolvency",
|
|
798
|
-
name: businessFinancingT(($) => $["yesTheCompanyIsFilingForBankruptcy"])
|
|
799
|
-
},
|
|
800
|
-
{
|
|
801
|
-
id: "otherLegalMeasures",
|
|
802
|
-
name: businessFinancingT(($) => $["yesTheCompanyIsFacingOtherLegalMeasures"])
|
|
803
|
-
},
|
|
804
|
-
{
|
|
805
|
-
id: "iDontKnow",
|
|
806
|
-
name: commonT(($) => $["iDontKnow"])
|
|
807
|
-
}
|
|
808
|
-
];
|
|
809
|
-
const showLegalProceedingsDateField = data?.legalInformationInsolvency && !["noLegalActionsTaken", "iDontKnow"].includes(data?.legalInformationInsolvency);
|
|
810
|
-
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
811
|
-
/* @__PURE__ */ jsx(Typography, {
|
|
812
|
-
el: "h3",
|
|
813
|
-
variant: "title",
|
|
814
|
-
className: BusinessFinancing_module_default.businessFinancingTitle,
|
|
815
|
-
children: sectionHeading ? businessFinancingT(($) => $[sectionHeading]) : businessFinancingT(($) => $["legalInformation"])
|
|
816
|
-
}),
|
|
817
|
-
/* @__PURE__ */ jsx(Field, {
|
|
818
|
-
name: "legalInformationInsolvency",
|
|
819
|
-
label: businessFinancingT(($) => $["legalInformationInsolvency"]),
|
|
820
|
-
errorMessage: formUtils.getErrorMessage("legalInformationInsolvency", errors, fieldValidationErrors),
|
|
821
|
-
isValid: valid?.legalInformationInsolvency,
|
|
822
|
-
children: (childProps) => /* @__PURE__ */ jsx(Select, {
|
|
823
|
-
...childProps,
|
|
824
|
-
onChange: handleFieldChange("legalInformationInsolvency", "blur"),
|
|
825
|
-
name: "legalInformationInsolvency",
|
|
826
|
-
placeholder: commonT(($) => $["selectOne"]),
|
|
827
|
-
selected: data?.legalInformationInsolvency,
|
|
828
|
-
items: legalInformationInsolvencyItems,
|
|
829
|
-
"aria-required": true,
|
|
830
|
-
"aria-invalid": !valid?.legalInformationInsolvency
|
|
831
|
-
})
|
|
832
|
-
}),
|
|
833
|
-
showLegalProceedingsDateField && /* @__PURE__ */ jsx(Field, {
|
|
834
|
-
name: "legalProceedingsDate",
|
|
835
|
-
label: businessFinancingT(($) => $["legalProceedingsDate"]),
|
|
836
|
-
errorMessage: formUtils.getErrorMessage("legalProceedingsDate", errors, fieldValidationErrors),
|
|
837
|
-
isValid: valid?.legalProceedingsDate,
|
|
838
|
-
children: (childProps) => /* @__PURE__ */ jsx(InputDate, {
|
|
839
|
-
...childProps,
|
|
840
|
-
name: "legalProceedingsDate",
|
|
841
|
-
value: data.legalProceedingsDate,
|
|
842
|
-
onInput: handleFieldChange("legalProceedingsDate", "input"),
|
|
843
|
-
onBlur: handleFieldChange("legalProceedingsDate", "blur"),
|
|
844
|
-
"aria-required": true,
|
|
845
|
-
"aria-invalid": !valid?.legalProceedingsDate,
|
|
846
|
-
max: TODAY_DATE
|
|
847
|
-
})
|
|
848
|
-
})
|
|
849
|
-
] });
|
|
850
|
-
}
|
|
851
|
-
//#endregion
|
|
852
|
-
//#region src/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingOwnershipStructure.tsx
|
|
853
|
-
var ownershipStructureFields = ["isCompanyOwnedByAnotherCompany", "isParentOwnedByAnotherCompany"];
|
|
854
|
-
function BusinessFinancingOwnershipStructure(props) {
|
|
855
|
-
const { data, valid, errors = {}, legalEntity, fieldValidationErrors, handleFieldChange } = props;
|
|
856
|
-
const { t: businessFinancingT } = useTranslation("businessFinancing");
|
|
857
|
-
const { t: commonT } = useTranslation("common");
|
|
858
|
-
const formUtils = createFormUtils(props, commonT);
|
|
859
|
-
if (!handleFieldChange) return;
|
|
860
|
-
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
861
|
-
/* @__PURE__ */ jsx(Typography, {
|
|
862
|
-
el: "h3",
|
|
863
|
-
variant: "title",
|
|
864
|
-
className: BusinessFinancing_module_default.businessFinancingTitle,
|
|
865
|
-
children: businessFinancingT(($) => $["ownershipStructure"])
|
|
866
|
-
}),
|
|
867
|
-
/* @__PURE__ */ jsx(Field, {
|
|
868
|
-
el: "fieldset",
|
|
869
|
-
name: "isCompanyOwnedByAnotherCompany",
|
|
870
|
-
label: businessFinancingT(($) => $["isCompanyOwnedByAnotherCompany"], { company: legalEntity?.organization ? legalEntity.organization.legalName : "" }),
|
|
871
|
-
errorMessage: formUtils.getErrorMessage("isCompanyOwnedByAnotherCompany", errors, fieldValidationErrors),
|
|
872
|
-
helper: /* @__PURE__ */ jsx(Typography, {
|
|
873
|
-
el: "div",
|
|
874
|
-
variant: "body",
|
|
875
|
-
color: "secondary",
|
|
876
|
-
className: BusinessFinancing_module_default.businessFinancingBody,
|
|
877
|
-
children: businessFinancingT(($) => $["thisMeansYouHaveAParentCompany"])
|
|
878
|
-
}),
|
|
879
|
-
children: (childProps) => /* @__PURE__ */ jsx(RadioGroup, {
|
|
880
|
-
...childProps,
|
|
881
|
-
name: "isCompanyOwnedByAnotherCompany",
|
|
882
|
-
items: businessFinancingRadioItems,
|
|
883
|
-
value: data?.isCompanyOwnedByAnotherCompany,
|
|
884
|
-
className: BusinessFinancing_module_default.businessFinancingLeiRadio,
|
|
885
|
-
disabled: false,
|
|
886
|
-
onChange: handleFieldChange("isCompanyOwnedByAnotherCompany"),
|
|
887
|
-
"aria-required": true,
|
|
888
|
-
"aria-invalid": !valid?.isCompanyOwnedByAnotherCompany
|
|
889
|
-
})
|
|
890
|
-
}),
|
|
891
|
-
data?.isCompanyOwnedByAnotherCompany === "Yes" && /* @__PURE__ */ jsx(Field, {
|
|
892
|
-
el: "fieldset",
|
|
893
|
-
name: "isParentOwnedByAnotherCompany",
|
|
894
|
-
label: businessFinancingT(($) => $["isParentOwnedByAnotherCompany"]),
|
|
895
|
-
helper: /* @__PURE__ */ jsx(Typography, {
|
|
896
|
-
el: "div",
|
|
897
|
-
variant: "body",
|
|
898
|
-
color: "secondary",
|
|
899
|
-
className: BusinessFinancing_module_default.businessFinancingBody,
|
|
900
|
-
children: businessFinancingT(($) => $["thisMeansYouHaveAnUltimateParentCompany"])
|
|
901
|
-
}),
|
|
902
|
-
errorMessage: formUtils.getErrorMessage("isParentOwnedByAnotherCompany", errors, fieldValidationErrors),
|
|
903
|
-
children: (childProps) => /* @__PURE__ */ jsx(RadioGroup, {
|
|
904
|
-
...childProps,
|
|
905
|
-
name: "isParentOwnedByAnotherCompany",
|
|
906
|
-
items: businessFinancingRadioItems,
|
|
907
|
-
value: data.isParentOwnedByAnotherCompany,
|
|
908
|
-
className: BusinessFinancing_module_default.businessFinancingLeiRadio,
|
|
909
|
-
disabled: false,
|
|
910
|
-
onChange: handleFieldChange("isParentOwnedByAnotherCompany"),
|
|
911
|
-
"aria-required": true,
|
|
912
|
-
"aria-invalid": !valid?.isParentOwnedByAnotherCompany
|
|
913
|
-
})
|
|
914
|
-
})
|
|
915
|
-
] });
|
|
916
|
-
}
|
|
917
|
-
//#endregion
|
|
918
|
-
//#region src/components/EFP/tasks/BusinessFinancingDropin/AdditionalFieldsForBusinessFinancingCompany.tsx
|
|
919
|
-
function AdditionalFieldsForBusinessFinancingCompany(props) {
|
|
920
|
-
const { t: businessFinancingT } = useTranslation("businessFinancing");
|
|
921
|
-
const { t: commonT } = useTranslation("common");
|
|
922
|
-
const { form: { handleChangeFor, data, setValid } } = useFormContext();
|
|
923
|
-
const { country, formVerificationErrors, legalEntity, fieldValidationErrors } = props;
|
|
924
|
-
const formUtils = createFormUtils(props, commonT);
|
|
925
|
-
const handleChange = (fieldName, mode) => handleChangeFor(fieldName, "company", mode);
|
|
926
|
-
const ownershipStructureProps = getFieldProps(props, ownershipStructureFields);
|
|
927
|
-
const businessInformationProps = getFieldProps(props, businessInformationFields);
|
|
928
|
-
const financialInformationProps = getFieldProps(props, financialInformationFields);
|
|
929
|
-
const legalInformationProps = getFieldProps(props, legalInformationFields);
|
|
930
|
-
if ((currencyByCountry[country] ?? [])?.length === 1) setValid("currency", true, "company");
|
|
931
|
-
return /* @__PURE__ */ jsxs("form", {
|
|
932
|
-
"data-testid": "businessFinancingCompany",
|
|
933
|
-
children: [
|
|
934
|
-
/* @__PURE__ */ jsx(Header, {
|
|
935
|
-
title: businessFinancingT(($) => $["additionalInformationForBusinessFinancing"]),
|
|
936
|
-
description: businessFinancingT(($) => $["weNeedAFewMoreDetailsAboutYouAndYourBusiness"]),
|
|
937
|
-
secondary: true
|
|
938
|
-
}),
|
|
939
|
-
/* @__PURE__ */ jsx(ErrorPanel, {
|
|
940
|
-
verificationErrors: formVerificationErrors,
|
|
941
|
-
validationErrors: fieldValidationErrors,
|
|
942
|
-
formUtils,
|
|
943
|
-
id: "ariaErrorField"
|
|
944
|
-
}),
|
|
945
|
-
/* @__PURE__ */ jsx(BusinessFinancingBusinessInformation, {
|
|
946
|
-
...businessInformationProps,
|
|
947
|
-
handleFieldChange: handleChange,
|
|
948
|
-
country,
|
|
949
|
-
targetPage: BusinessFinancingPages.COMPANY_PAGE,
|
|
950
|
-
sectionHeading: "businessInformation",
|
|
951
|
-
data: formUtils.getFieldData(data?.company ?? {}, businessInformationFields)
|
|
952
|
-
}),
|
|
953
|
-
isEeaCountry(country) && /* @__PURE__ */ jsx(BusinessFinancingFinancialInformation, {
|
|
954
|
-
...financialInformationProps,
|
|
955
|
-
handleFieldChange: handleChange,
|
|
956
|
-
country,
|
|
957
|
-
targetPage: BusinessFinancingPages.COMPANY_PAGE,
|
|
958
|
-
data: formUtils.getFieldData(data?.company ?? {}, financialInformationFields)
|
|
959
|
-
}),
|
|
960
|
-
/* @__PURE__ */ jsx(BusinessFinancingLegalInformation, {
|
|
961
|
-
...legalInformationProps,
|
|
962
|
-
country,
|
|
963
|
-
handleFieldChange: handleChange,
|
|
964
|
-
targetPage: BusinessFinancingPages.COMPANY_PAGE,
|
|
965
|
-
sectionHeading: "legalInformation",
|
|
966
|
-
data: formUtils.getFieldData(data?.company ?? {}, legalInformationFields)
|
|
967
|
-
}),
|
|
968
|
-
/* @__PURE__ */ jsx(BusinessFinancingOwnershipStructure, {
|
|
969
|
-
...ownershipStructureProps,
|
|
970
|
-
legalEntity,
|
|
971
|
-
handleFieldChange: handleChange,
|
|
972
|
-
data: formUtils.getFieldData(data?.company ?? {}, ownershipStructureFields)
|
|
973
|
-
})
|
|
974
|
-
]
|
|
975
|
-
});
|
|
976
|
-
}
|
|
977
|
-
//#endregion
|
|
978
|
-
//#region src/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingBasicCompanyInformation.tsx
|
|
979
|
-
var basicInformationFields = ["legalName"];
|
|
980
|
-
function BusinessFinancingBasicCompanyInformation(props) {
|
|
981
|
-
const { data, valid, errors, fieldValidationErrors, handleFieldChange, sectionHeading } = props;
|
|
982
|
-
const { t: businessFinancingT } = useTranslation("businessFinancing");
|
|
983
|
-
const { t: commonT } = useTranslation("common");
|
|
984
|
-
const formUtils = createFormUtils(props, commonT);
|
|
985
|
-
if (!handleFieldChange) return;
|
|
986
|
-
return /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx(Typography, {
|
|
987
|
-
el: "h3",
|
|
988
|
-
variant: "title",
|
|
989
|
-
className: BusinessFinancing_module_default.businessFinancingTitle,
|
|
990
|
-
children: sectionHeading ? businessFinancingT(($) => $[sectionHeading]) : businessFinancingT(($) => $["basicCompanyInformation"])
|
|
991
|
-
}), /* @__PURE__ */ jsx(Field, {
|
|
992
|
-
name: "legalName",
|
|
993
|
-
label: businessFinancingT(($) => $["legalName"]),
|
|
994
|
-
errorMessage: formUtils.getErrorMessage("legalName", errors, fieldValidationErrors),
|
|
995
|
-
isValid: valid?.legalName,
|
|
996
|
-
helper: businessFinancingT(($) => $["legalNameIsUsedToIdentifyABusinessWithTheGovernment"]),
|
|
997
|
-
helperPosition: "below",
|
|
998
|
-
children: (childProps) => /* @__PURE__ */ jsx(InputText, {
|
|
999
|
-
...childProps,
|
|
1000
|
-
name: "legalName",
|
|
1001
|
-
value: data?.legalName,
|
|
1002
|
-
readonly: false,
|
|
1003
|
-
onInput: handleFieldChange("legalName", "input"),
|
|
1004
|
-
onBlur: handleFieldChange("legalName", "blur"),
|
|
1005
|
-
"aria-required": true,
|
|
1006
|
-
"aria-invalid": !valid?.legalName
|
|
1007
|
-
})
|
|
1008
|
-
})] });
|
|
1009
|
-
}
|
|
1010
|
-
//#endregion
|
|
1011
|
-
//#region src/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingRegisteredAddress.tsx
|
|
1012
|
-
var OPTIONAL_ADDRESS_FIELDS = ["otherAddressInformation"];
|
|
1013
|
-
var registeredAddressFields = [
|
|
1014
|
-
"isThisAddressTheMainHeadquarters",
|
|
1015
|
-
"registrationAddress",
|
|
1016
|
-
"sameAddressAsRootEntity"
|
|
1017
|
-
];
|
|
1018
|
-
function BusinessFinancingRegisteredAddress(props) {
|
|
1019
|
-
const { data, valid, errors, fieldValidationErrors, shouldValidate, defaultData, handleFieldChange, formId, legalEntity, sectionHeading } = props;
|
|
1020
|
-
const { t: businessFinancingT, i18n } = useTranslation("businessFinancing");
|
|
1021
|
-
const { t: commonT } = useTranslation("common");
|
|
1022
|
-
const formUtils = createFormUtils(props, commonT);
|
|
1023
|
-
const addressCountry = data?.registrationAddress?.country;
|
|
1024
|
-
const datasetUtils = datasetUtilities(i18n.language);
|
|
1025
|
-
const addressSchema = useMemo(() => {
|
|
1026
|
-
return getAddressSchemaForCountry(addressCountry).filter((field) => {
|
|
1027
|
-
if (addressCountry) return !COUNTRIES_WITH_STATES_DATASET.includes(addressCountry) ? field !== "stateOrProvince" : true;
|
|
1028
|
-
return true;
|
|
1029
|
-
});
|
|
1030
|
-
}, [addressCountry]);
|
|
1031
|
-
if (!handleFieldChange) return;
|
|
1032
|
-
const handleRegistrationAddressChange = (state) => {
|
|
1033
|
-
if (!state.data.country) state.data.country = addressCountry;
|
|
1034
|
-
handleFieldChange("registrationAddress")(state.data);
|
|
1035
|
-
};
|
|
1036
|
-
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
1037
|
-
/* @__PURE__ */ jsx(Typography, {
|
|
1038
|
-
el: "h3",
|
|
1039
|
-
variant: "title",
|
|
1040
|
-
className: BusinessFinancing_module_default.businessFinancingTitle,
|
|
1041
|
-
children: sectionHeading ? translateTranslatable(commonT, sectionHeading) : commonT(($) => $["registeredAddress"])
|
|
1042
|
-
}),
|
|
1043
|
-
/* @__PURE__ */ jsx(Field, {
|
|
1044
|
-
name: "sameAddressAsRootEntity",
|
|
1045
|
-
errorMessage: errors?.sameAddressAsRootEntity?.errorMessage,
|
|
1046
|
-
isValid: valid?.sameAddressAsRootEntity,
|
|
1047
|
-
children: (childProps) => /* @__PURE__ */ jsx(Checkbox, {
|
|
1048
|
-
...childProps,
|
|
1049
|
-
"aria-required": formUtils.isRequiredField("sameAddressAsRootEntity"),
|
|
1050
|
-
"aria-invalid": !valid?.sameAddressAsRootEntity,
|
|
1051
|
-
name: "sameAddressAsRootEntity",
|
|
1052
|
-
label: businessFinancingT(($) => $["sameAddressAsRootEntity"], { rootLegalEntityName: legalEntity?.organization?.legalName ?? "" }),
|
|
1053
|
-
checked: data?.sameAddressAsRootEntity ?? false,
|
|
1054
|
-
onChange: handleFieldChange("sameAddressAsRootEntity")
|
|
1055
|
-
})
|
|
1056
|
-
}),
|
|
1057
|
-
data?.sameAddressAsRootEntity && legalEntity?.organization?.registeredAddress ? /* @__PURE__ */ jsxs("div", {
|
|
1058
|
-
className: BusinessFinancing_module_default.businessFinancingStructuredAddress,
|
|
1059
|
-
children: [
|
|
1060
|
-
/* @__PURE__ */ jsx("div", { children: legalEntity.organization.registeredAddress.street }),
|
|
1061
|
-
/* @__PURE__ */ jsx("div", { children: legalEntity.organization.registeredAddress.street2 }),
|
|
1062
|
-
/* @__PURE__ */ jsxs("div", { children: [
|
|
1063
|
-
legalEntity.organization.registeredAddress.city,
|
|
1064
|
-
" ",
|
|
1065
|
-
legalEntity.organization.registeredAddress.postalCode ? `, ${legalEntity.organization.registeredAddress.postalCode}` : ""
|
|
1066
|
-
] }),
|
|
1067
|
-
/* @__PURE__ */ jsx("div", { children: legalEntity.organization.registeredAddress.stateOrProvince }),
|
|
1068
|
-
/* @__PURE__ */ jsx("div", { children: legalEntity.organization.registeredAddress.country ? datasetUtils.getCountryName(legalEntity.organization.registeredAddress.country) : "" })
|
|
1069
|
-
]
|
|
1070
|
-
}) : /* @__PURE__ */ jsx(Address, {
|
|
1071
|
-
id: formId,
|
|
1072
|
-
addressType: "registrationAddress",
|
|
1073
|
-
data: {
|
|
1074
|
-
...defaultData?.registrationAddress,
|
|
1075
|
-
country: addressCountry
|
|
1076
|
-
},
|
|
1077
|
-
labels: addressCountry ? getAddressSchemaLabelsByCountry(addressCountry) : void 0,
|
|
1078
|
-
countryCode: addressCountry,
|
|
1079
|
-
requiredFields: addressSchema,
|
|
1080
|
-
optionalFields: OPTIONAL_ADDRESS_FIELDS,
|
|
1081
|
-
onChange: handleRegistrationAddressChange,
|
|
1082
|
-
shouldValidate
|
|
1083
|
-
}),
|
|
1084
|
-
/* @__PURE__ */ jsx(Field, {
|
|
1085
|
-
el: "fieldset",
|
|
1086
|
-
name: "isThisAddressTheMainHeadquarters",
|
|
1087
|
-
label: businessFinancingT(($) => $["areTheMainHeadquartersAtThisAddress"]),
|
|
1088
|
-
helper: businessFinancingT(($) => $["addressRegisteredWithGovernment"]),
|
|
1089
|
-
errorMessage: formUtils.getErrorMessage("isThisAddressTheMainHeadquarters", errors, fieldValidationErrors),
|
|
1090
|
-
children: (childProps) => /* @__PURE__ */ jsx(RadioGroup, {
|
|
1091
|
-
...childProps,
|
|
1092
|
-
name: "isThisAddressTheMainHeadquarters",
|
|
1093
|
-
items: businessFinancingRadioItems,
|
|
1094
|
-
value: data?.isThisAddressTheMainHeadquarters,
|
|
1095
|
-
className: BusinessFinancing_module_default.businessFinancingLeiRadio,
|
|
1096
|
-
disabled: false,
|
|
1097
|
-
onChange: handleFieldChange("isThisAddressTheMainHeadquarters"),
|
|
1098
|
-
"aria-required": true,
|
|
1099
|
-
"aria-invalid": !valid?.isThisAddressTheMainHeadquarters
|
|
1100
|
-
})
|
|
1101
|
-
})
|
|
1102
|
-
] });
|
|
1103
|
-
}
|
|
1104
|
-
//#endregion
|
|
1105
|
-
//#region src/components/EFP/tasks/BusinessFinancingDropin/AdditionalFieldsForBusinessFinancingParentCompany.tsx
|
|
1106
|
-
var parentCompanyFormId$1 = businessFinancingForms.parentCompany.formId;
|
|
1107
|
-
function AdditionalFieldsForBusinessFinancingParentCompany(props) {
|
|
1108
|
-
const { t: businessFinancingT } = useTranslation("businessFinancing");
|
|
1109
|
-
const { t: commonT } = useTranslation("common");
|
|
1110
|
-
const { form: { handleChangeFor, data, setValid } } = useFormContext();
|
|
1111
|
-
const { country, formVerificationErrors, fieldValidationErrors, legalEntity } = props;
|
|
1112
|
-
const formUtils = createFormUtils(props, commonT);
|
|
1113
|
-
const handleChange = (fieldName, mode) => handleChangeFor(fieldName, "parentCompany", mode);
|
|
1114
|
-
setValid("sameAddressAsRootEntity", true, "parentCompany");
|
|
1115
|
-
const basicCompanyInformationProps = getFieldProps(props, basicInformationFields);
|
|
1116
|
-
const registeredAddressProps = getFieldProps(props, registeredAddressFields);
|
|
1117
|
-
const businessInformationProps = getFieldProps(props, businessInformationFields);
|
|
1118
|
-
const financialInformationProps = getFieldProps(props, financialInformationFields);
|
|
1119
|
-
const legalInformationProps = getFieldProps(props, legalInformationFields);
|
|
1120
|
-
const addressCountry = getAddressCountryForParentCompany(data?.parentCompany, legalEntity?.organization?.registeredAddress);
|
|
1121
|
-
if ((currencyByCountry[addressCountry ?? country] ?? [])?.length === 1) setValid("currency", true, "parentCompany");
|
|
1122
|
-
return /* @__PURE__ */ jsxs("form", {
|
|
1123
|
-
"data-testid": "businessFinancingParentCompany",
|
|
1124
|
-
children: [
|
|
1125
|
-
/* @__PURE__ */ jsx(Typography, {
|
|
1126
|
-
el: "h1",
|
|
1127
|
-
variant: "title-l",
|
|
1128
|
-
className: BusinessFinancing_module_default.businessFinancingBody,
|
|
1129
|
-
children: commonT(($) => $["parentCompanyInformation"])
|
|
1130
|
-
}),
|
|
1131
|
-
/* @__PURE__ */ jsx(Typography, {
|
|
1132
|
-
el: "p",
|
|
1133
|
-
variant: "body",
|
|
1134
|
-
className: BusinessFinancing_module_default.businessFinancingBody,
|
|
1135
|
-
children: businessFinancingT(($) => $["inThePreviousStepOwnedByAParentCompany"])
|
|
1136
|
-
}),
|
|
1137
|
-
/* @__PURE__ */ jsx(ErrorPanel, {
|
|
1138
|
-
verificationErrors: formVerificationErrors,
|
|
1139
|
-
validationErrors: fieldValidationErrors,
|
|
1140
|
-
formUtils,
|
|
1141
|
-
id: "ariaErrorField"
|
|
1142
|
-
}),
|
|
1143
|
-
/* @__PURE__ */ jsx(BusinessFinancingBasicCompanyInformation, {
|
|
1144
|
-
...basicCompanyInformationProps,
|
|
1145
|
-
sectionHeading: "parentCompanyInformation",
|
|
1146
|
-
handleFieldChange: handleChange,
|
|
1147
|
-
data: formUtils.getFieldData(data?.parentCompany ?? {}, basicInformationFields)
|
|
1148
|
-
}),
|
|
1149
|
-
/* @__PURE__ */ jsx(BusinessFinancingRegisteredAddress, {
|
|
1150
|
-
...registeredAddressProps,
|
|
1151
|
-
formId: parentCompanyFormId$1,
|
|
1152
|
-
sectionHeading: "parentCompanyAddress",
|
|
1153
|
-
defaultData: data?.parentCompany,
|
|
1154
|
-
legalEntity,
|
|
1155
|
-
handleFieldChange: handleChange,
|
|
1156
|
-
data: formUtils.getFieldData(data?.parentCompany ?? {}, registeredAddressFields)
|
|
1157
|
-
}),
|
|
1158
|
-
/* @__PURE__ */ jsx(BusinessFinancingBusinessInformation, {
|
|
1159
|
-
...businessInformationProps,
|
|
1160
|
-
hideSectionHeading: true,
|
|
1161
|
-
country: addressCountry ?? country,
|
|
1162
|
-
targetPage: BusinessFinancingPages.PARENT_COMPANY_PAGE,
|
|
1163
|
-
handleFieldChange: handleChange,
|
|
1164
|
-
data: formUtils.getFieldData(data?.parentCompany ?? {}, businessInformationFields)
|
|
1165
|
-
}),
|
|
1166
|
-
isEeaCountry(addressCountry) && /* @__PURE__ */ jsx(BusinessFinancingFinancialInformation, {
|
|
1167
|
-
...financialInformationProps,
|
|
1168
|
-
country: addressCountry ?? country,
|
|
1169
|
-
targetPage: BusinessFinancingPages.PARENT_COMPANY_PAGE,
|
|
1170
|
-
handleFieldChange: handleChange,
|
|
1171
|
-
data: formUtils.getFieldData(data?.parentCompany ?? {}, financialInformationFields)
|
|
1172
|
-
}),
|
|
1173
|
-
/* @__PURE__ */ jsx(BusinessFinancingLegalInformation, {
|
|
1174
|
-
...legalInformationProps,
|
|
1175
|
-
country: addressCountry ?? country,
|
|
1176
|
-
targetPage: BusinessFinancingPages.PARENT_COMPANY_PAGE,
|
|
1177
|
-
sectionHeading: "legalInformation",
|
|
1178
|
-
handleFieldChange: handleChange,
|
|
1179
|
-
data: formUtils.getFieldData(data?.parentCompany ?? {}, legalInformationFields)
|
|
1180
|
-
})
|
|
1181
|
-
]
|
|
1182
|
-
});
|
|
1183
|
-
}
|
|
1184
|
-
//#endregion
|
|
1185
|
-
//#region src/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingSoleProprietorPersonalInformation.tsx
|
|
1186
|
-
var soleProprietorPersonalInformationFields = ["gender", "countryOfBirth"];
|
|
1187
|
-
function BusinessFinancingSoleProprietorPersonalInformation(props) {
|
|
1188
|
-
const { data, valid, errors, handleFieldChange, fieldValidationErrors, sectionHeading } = props;
|
|
1189
|
-
const { t: businessFinancingT } = useTranslation("businessFinancing");
|
|
1190
|
-
const { t: commonT } = useTranslation("common");
|
|
1191
|
-
const formUtils = createFormUtils(props, commonT);
|
|
1192
|
-
if (!handleFieldChange) return;
|
|
1193
|
-
const genderItems = [
|
|
1194
|
-
{
|
|
1195
|
-
id: "M",
|
|
1196
|
-
name: businessFinancingT(($) => $["male"])
|
|
1197
|
-
},
|
|
1198
|
-
{
|
|
1199
|
-
id: "F",
|
|
1200
|
-
name: businessFinancingT(($) => $["female"])
|
|
1201
|
-
},
|
|
1202
|
-
{
|
|
1203
|
-
id: "U",
|
|
1204
|
-
name: businessFinancingT(($) => $["preferNotToSay"])
|
|
1205
|
-
}
|
|
1206
|
-
];
|
|
1207
|
-
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
1208
|
-
/* @__PURE__ */ jsx(Typography, {
|
|
1209
|
-
el: "h3",
|
|
1210
|
-
variant: "title",
|
|
1211
|
-
className: BusinessFinancing_module_default.businessFinancingTitle,
|
|
1212
|
-
children: sectionHeading ? businessFinancingT(($) => $[sectionHeading]) : businessFinancingT(($) => $["personalInformation"])
|
|
1213
|
-
}),
|
|
1214
|
-
/* @__PURE__ */ jsx(CountryField, {
|
|
1215
|
-
data: { country: data?.countryOfBirth },
|
|
1216
|
-
valid: { country: valid?.countryOfBirth },
|
|
1217
|
-
name: "countryOfBirth",
|
|
1218
|
-
errors: { country: formUtils.getErrorMessage("countryOfBirth", errors, fieldValidationErrors) },
|
|
1219
|
-
labels: { country: businessFinancingT(($) => $["countryOfBirth"]) },
|
|
1220
|
-
readonly: formUtils.isReadOnly("countryOfBirth"),
|
|
1221
|
-
handleChangeFor: () => handleFieldChange("countryOfBirth", "input")
|
|
1222
|
-
}),
|
|
1223
|
-
/* @__PURE__ */ jsx(Field, {
|
|
1224
|
-
name: "gender",
|
|
1225
|
-
label: businessFinancingT(($) => $["gender"]),
|
|
1226
|
-
errorMessage: formUtils.getErrorMessage("gender", errors, fieldValidationErrors),
|
|
1227
|
-
isValid: valid?.gender,
|
|
1228
|
-
children: (childProps) => /* @__PURE__ */ jsx(Select, {
|
|
1229
|
-
...childProps,
|
|
1230
|
-
onChange: handleFieldChange("gender", "blur"),
|
|
1231
|
-
name: "gender",
|
|
1232
|
-
placeholder: commonT(($) => $["selectOne"]),
|
|
1233
|
-
selected: data?.gender,
|
|
1234
|
-
items: genderItems,
|
|
1235
|
-
"aria-required": true,
|
|
1236
|
-
"aria-invalid": !valid?.gender
|
|
1237
|
-
})
|
|
1238
|
-
})
|
|
1239
|
-
] });
|
|
1240
|
-
}
|
|
1241
|
-
//#endregion
|
|
1242
|
-
//#region src/components/EFP/tasks/BusinessFinancingDropin/AdditionalFieldsForBusinessFinancingSoleProprietor.tsx
|
|
1243
|
-
function AdditionalFieldsForBusinessFinancingSoleProprietor(props) {
|
|
1244
|
-
const { t: businessFinancingT } = useTranslation("businessFinancing");
|
|
1245
|
-
const { t: commonT } = useTranslation("common");
|
|
1246
|
-
const { form: { handleChangeFor, data } } = useFormContext();
|
|
1247
|
-
const { country, formVerificationErrors, fieldValidationErrors } = props;
|
|
1248
|
-
const formUtils = createFormUtils(props, commonT);
|
|
1249
|
-
const handleChange = (fieldName, mode) => handleChangeFor(fieldName, "soleProprietor", mode);
|
|
1250
|
-
const personalInformationProps = getFieldProps(props, soleProprietorPersonalInformationFields);
|
|
1251
|
-
const businessInformationProps = getFieldProps(props, ["naceCode", "naceCodeLabel"]);
|
|
1252
|
-
const legalInformationProps = getFieldProps(props, legalInformationFields);
|
|
1253
|
-
return /* @__PURE__ */ jsxs("form", {
|
|
1254
|
-
"data-testid": "businessFinancingCompany",
|
|
1255
|
-
children: [
|
|
1256
|
-
/* @__PURE__ */ jsx(Header, {
|
|
1257
|
-
title: businessFinancingT(($) => $["additionalInformationForBusinessFinancing"]),
|
|
1258
|
-
description: businessFinancingT(($) => $["weNeedAFewMoreDetailsAboutYouAndYourBusiness"]),
|
|
1259
|
-
secondary: true
|
|
1260
|
-
}),
|
|
1261
|
-
/* @__PURE__ */ jsx(ErrorPanel, {
|
|
1262
|
-
verificationErrors: formVerificationErrors,
|
|
1263
|
-
validationErrors: fieldValidationErrors,
|
|
1264
|
-
formUtils,
|
|
1265
|
-
id: "ariaErrorField"
|
|
1266
|
-
}),
|
|
1267
|
-
/* @__PURE__ */ jsx(BusinessFinancingSoleProprietorPersonalInformation, {
|
|
1268
|
-
...personalInformationProps,
|
|
1269
|
-
handleFieldChange: handleChange,
|
|
1270
|
-
country,
|
|
1271
|
-
targetPage: BusinessFinancingPages.SOLE_PROPRIETOR_PAGE,
|
|
1272
|
-
sectionHeading: "personalInformation",
|
|
1273
|
-
data: formUtils.getFieldData(data?.soleProprietor ?? {}, soleProprietorPersonalInformationFields)
|
|
1274
|
-
}),
|
|
1275
|
-
/* @__PURE__ */ jsx(BusinessFinancingBusinessInformation, {
|
|
1276
|
-
...businessInformationProps,
|
|
1277
|
-
handleFieldChange: handleChange,
|
|
1278
|
-
country,
|
|
1279
|
-
targetPage: BusinessFinancingPages.SOLE_PROPRIETOR_PAGE,
|
|
1280
|
-
sectionHeading: "businessInformation",
|
|
1281
|
-
isSoleProprietor: true,
|
|
1282
|
-
data: formUtils.getFieldData(data?.soleProprietor ?? {}, ["naceCode", "naceCodeLabel"])
|
|
1283
|
-
}),
|
|
1284
|
-
/* @__PURE__ */ jsx(BusinessFinancingLegalInformation, {
|
|
1285
|
-
...legalInformationProps,
|
|
1286
|
-
country,
|
|
1287
|
-
handleFieldChange: handleChange,
|
|
1288
|
-
targetPage: BusinessFinancingPages.SOLE_PROPRIETOR_PAGE,
|
|
1289
|
-
sectionHeading: "legalInformation",
|
|
1290
|
-
data: formUtils.getFieldData(data?.soleProprietor ?? {}, legalInformationFields)
|
|
1291
|
-
})
|
|
1292
|
-
]
|
|
1293
|
-
});
|
|
1294
|
-
}
|
|
1295
|
-
//#endregion
|
|
1296
|
-
//#region src/components/EFP/tasks/BusinessFinancingDropin/AdditionalFieldsForBusinessFinancingUltimateParentCompany.tsx
|
|
1297
|
-
var ultimateParentCompanyFormId$1 = businessFinancingForms.ultimateParentCompany.formId;
|
|
1298
|
-
function AdditionalFieldsForBusinessFinancingUltimateParentCompany(props) {
|
|
1299
|
-
const { formVerificationErrors, country, fieldValidationErrors, legalEntity } = props;
|
|
1300
|
-
const { t: businessFinancingT } = useTranslation("businessFinancing");
|
|
1301
|
-
const { t: commonT } = useTranslation("common");
|
|
1302
|
-
const formUtils = createFormUtils(props, commonT);
|
|
1303
|
-
const { form: { handleChangeFor, data, setValid } } = useFormContext();
|
|
1304
|
-
const handleChange = (fieldName, mode) => handleChangeFor(fieldName, "ultimateParentCompany", mode);
|
|
1305
|
-
setValid("sameAddressAsRootEntity", true, "ultimateParentCompany");
|
|
1306
|
-
const basicCompanyInformationProps = getFieldProps(props, basicInformationFields);
|
|
1307
|
-
const registeredAddressProps = getFieldProps(props, registeredAddressFields);
|
|
1308
|
-
const businessInformationProps = getFieldProps(props, businessInformationFields);
|
|
1309
|
-
const financialInformationProps = getFieldProps(props, financialInformationFields);
|
|
1310
|
-
const legalInformationProps = getFieldProps(props, legalInformationFields);
|
|
1311
|
-
const addressCountry = getAddressCountryForParentCompany(data?.ultimateParentCompany, legalEntity?.organization?.registeredAddress);
|
|
1312
|
-
if ((currencyByCountry[addressCountry ?? country] ?? [])?.length === 1) setValid("currency", true, "ultimateParentCompany");
|
|
1313
|
-
return /* @__PURE__ */ jsxs("form", {
|
|
1314
|
-
"data-testid": "businessFinancingUltimateParentCompany",
|
|
1315
|
-
children: [
|
|
1316
|
-
/* @__PURE__ */ jsx(Typography, {
|
|
1317
|
-
el: "h1",
|
|
1318
|
-
variant: "title-l",
|
|
1319
|
-
className: BusinessFinancing_module_default.businessFinancingBody,
|
|
1320
|
-
children: commonT(($) => $["ultimateParentCompanyInformation"])
|
|
1321
|
-
}),
|
|
1322
|
-
/* @__PURE__ */ jsx(Typography, {
|
|
1323
|
-
el: "p",
|
|
1324
|
-
variant: "body",
|
|
1325
|
-
className: BusinessFinancing_module_default.businessFinancingBody,
|
|
1326
|
-
children: businessFinancingT(($) => $["inThePreviousStepOwnedByAnUltimateParentCompany"])
|
|
1327
|
-
}),
|
|
1328
|
-
/* @__PURE__ */ jsx(ErrorPanel, {
|
|
1329
|
-
verificationErrors: formVerificationErrors,
|
|
1330
|
-
validationErrors: fieldValidationErrors,
|
|
1331
|
-
formUtils,
|
|
1332
|
-
id: "ariaErrorField"
|
|
1333
|
-
}),
|
|
1334
|
-
/* @__PURE__ */ jsx(BusinessFinancingBasicCompanyInformation, {
|
|
1335
|
-
...basicCompanyInformationProps,
|
|
1336
|
-
sectionHeading: "ultimateParentCompanyInformation",
|
|
1337
|
-
handleFieldChange: handleChange,
|
|
1338
|
-
data: formUtils.getFieldData(data?.ultimateParentCompany ?? {}, basicInformationFields)
|
|
1339
|
-
}),
|
|
1340
|
-
/* @__PURE__ */ jsx(BusinessFinancingRegisteredAddress, {
|
|
1341
|
-
...registeredAddressProps,
|
|
1342
|
-
formId: ultimateParentCompanyFormId$1,
|
|
1343
|
-
sectionHeading: "ultimateParentCompanyAddress",
|
|
1344
|
-
defaultData: data?.ultimateParentCompany,
|
|
1345
|
-
handleFieldChange: handleChange,
|
|
1346
|
-
data: formUtils.getFieldData(data?.ultimateParentCompany ?? {}, registeredAddressFields),
|
|
1347
|
-
legalEntity
|
|
1348
|
-
}),
|
|
1349
|
-
/* @__PURE__ */ jsx(BusinessFinancingBusinessInformation, {
|
|
1350
|
-
...businessInformationProps,
|
|
1351
|
-
hideSectionHeading: true,
|
|
1352
|
-
country: addressCountry ?? country,
|
|
1353
|
-
targetPage: BusinessFinancingPages.ULTIMATE_PARENT_COMPANY_PAGE,
|
|
1354
|
-
handleFieldChange: handleChange,
|
|
1355
|
-
data: formUtils.getFieldData(data?.ultimateParentCompany ?? {}, businessInformationFields)
|
|
1356
|
-
}),
|
|
1357
|
-
isEeaCountry(addressCountry) && /* @__PURE__ */ jsx(BusinessFinancingFinancialInformation, {
|
|
1358
|
-
...financialInformationProps,
|
|
1359
|
-
country: addressCountry ?? country,
|
|
1360
|
-
targetPage: BusinessFinancingPages.ULTIMATE_PARENT_COMPANY_PAGE,
|
|
1361
|
-
handleFieldChange: handleChange,
|
|
1362
|
-
data: formUtils.getFieldData(data?.ultimateParentCompany ?? {}, financialInformationFields)
|
|
1363
|
-
}),
|
|
1364
|
-
/* @__PURE__ */ jsx(BusinessFinancingLegalInformation, {
|
|
1365
|
-
...legalInformationProps,
|
|
1366
|
-
country: addressCountry ?? country,
|
|
1367
|
-
sectionHeading: "legalInformation",
|
|
1368
|
-
targetPage: BusinessFinancingPages.ULTIMATE_PARENT_COMPANY_PAGE,
|
|
1369
|
-
handleFieldChange: handleChange,
|
|
1370
|
-
data: formUtils.getFieldData(data?.ultimateParentCompany ?? {}, legalInformationFields)
|
|
1371
|
-
})
|
|
1372
|
-
]
|
|
1373
|
-
});
|
|
1374
|
-
}
|
|
1375
|
-
//#endregion
|
|
1376
|
-
//#region src/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingSummary.tsx
|
|
1377
|
-
var omittedSummaryKeys = [
|
|
1378
|
-
"naceCodeLabel",
|
|
1379
|
-
"legalFormLabel",
|
|
1380
|
-
"currency",
|
|
1381
|
-
"doesYourCompanyHaveLEI",
|
|
1382
|
-
"sameAddressAsRootEntity"
|
|
1383
|
-
];
|
|
1384
|
-
var customLabels = {
|
|
1385
|
-
legalForm: "businessStructure",
|
|
1386
|
-
naceCode: "industryAndNaceCode",
|
|
1387
|
-
balanceSheetTotal: "totalAssets",
|
|
1388
|
-
annualTurnover: "annualTurnover",
|
|
1389
|
-
legalInformationInsolvency: "legalProceedings",
|
|
1390
|
-
isCompanyOwnedByAnotherCompany: "hasParentCompany",
|
|
1391
|
-
isParentOwnedByAnotherCompany: "hasUltimateParentCompany",
|
|
1392
|
-
isThisAddressTheMainHeadquarters: "addressIsHeadquarters"
|
|
1393
|
-
};
|
|
1394
|
-
var isOmmitted = (key) => {
|
|
1395
|
-
return omittedSummaryKeys.includes(key);
|
|
1396
|
-
};
|
|
1397
|
-
var isCustomLabel = (key) => {
|
|
1398
|
-
return key in customLabels;
|
|
1399
|
-
};
|
|
1400
|
-
/**
|
|
1401
|
-
* Business and data layer around Summary, processing all the data
|
|
1402
|
-
*/
|
|
1403
|
-
var BusinessFinancingSummary = ({ forms, items, handleEditForm, children }) => {
|
|
1404
|
-
const { t: businessFinancingT } = useTranslation("businessFinancing");
|
|
1405
|
-
const { t: commonT } = useTranslation("common");
|
|
1406
|
-
const formatItemForStructuredList = (data) => {
|
|
1407
|
-
if (!data) return [];
|
|
1408
|
-
const structuredListItems = Object.entries(data).map(([key, value]) => {
|
|
1409
|
-
if (isOmmitted(key) || !value) return;
|
|
1410
|
-
return {
|
|
1411
|
-
term: isCustomLabel(key) ? businessFinancingT(($) => $[customLabels[key]]) : commonT(($) => $[key]),
|
|
1412
|
-
details: value
|
|
1413
|
-
};
|
|
1414
|
-
}).filter((v) => v !== void 0);
|
|
1415
|
-
const structuredListItemsWithInnerForms = [];
|
|
1416
|
-
structuredListItems.map((it) => {
|
|
1417
|
-
if (typeof it?.details === "object") structuredListItemsWithInnerForms.push(...formatItemForStructuredList(it?.details));
|
|
1418
|
-
else structuredListItemsWithInnerForms.push(it);
|
|
1419
|
-
});
|
|
1420
|
-
return structuredListItemsWithInnerForms;
|
|
1421
|
-
};
|
|
1422
|
-
const processSummarySections = (forms) => {
|
|
1423
|
-
return forms.map(({ formId, formName }) => ({
|
|
1424
|
-
formId,
|
|
1425
|
-
label: commonT(($) => $[formName]),
|
|
1426
|
-
items: formatItemForStructuredList(items[formId])
|
|
1427
|
-
}));
|
|
1428
|
-
};
|
|
1429
|
-
return /* @__PURE__ */ jsx(NewSummary, {
|
|
1430
|
-
handleEditForm,
|
|
1431
|
-
sections: processSummarySections(forms),
|
|
1432
|
-
children
|
|
1433
|
-
});
|
|
1434
|
-
};
|
|
1435
|
-
//#endregion
|
|
1436
|
-
//#region src/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingDropin.tsx
|
|
1437
|
-
var getOrgAnalyticsData = (prefix, details) => {
|
|
1438
|
-
const org = details?.organization;
|
|
1439
|
-
const soleProp = details?.soleProprietorship;
|
|
1440
|
-
const entity = org || soleProp;
|
|
1441
|
-
if (!entity) return {};
|
|
1442
|
-
return {
|
|
1443
|
-
[`${prefix}--economicSector`]: entity?.economicSector ?? "",
|
|
1444
|
-
[`${prefix}--legalForm`]: org?.legalForm ?? "",
|
|
1445
|
-
[`${prefix}--statusOfLegalProceeding`]: entity?.statusOfLegalProceeding ?? ""
|
|
1446
|
-
};
|
|
1447
|
-
};
|
|
1448
|
-
var businessFinancingFormsRequiredFields = {
|
|
1449
|
-
soleProprietor: businessFinancingForms.soleProprietor.fields,
|
|
1450
|
-
company: businessFinancingForms.company.fields,
|
|
1451
|
-
parentCompany: businessFinancingForms.parentCompany.fields,
|
|
1452
|
-
ultimateParentCompany: businessFinancingForms.ultimateParentCompany.fields
|
|
1453
|
-
};
|
|
1454
|
-
var parentCompanyFormId = businessFinancingForms.parentCompany.formId;
|
|
1455
|
-
var companyFormId = businessFinancingForms.company.formId;
|
|
1456
|
-
var ultimateParentCompanyFormId = businessFinancingForms.ultimateParentCompany.formId;
|
|
1457
|
-
function BusinessFinancingDropin(props) {
|
|
1458
|
-
const { country, rootLegalEntity, externalOnSubmit, externalOnSubmitLabel, isStandaloneComponent, handleHomeClick } = props;
|
|
1459
|
-
const { t: businessFinancingT } = useTranslation("businessFinancing");
|
|
1460
|
-
const { t: commonT, i18n } = useTranslation("common");
|
|
1461
|
-
const userEvents = useAnalyticsContext();
|
|
1462
|
-
const invalidateRootLegalEntity = useInvalidateRootLegalEntity();
|
|
1463
|
-
const { mutateAsync: createLegalEntity } = useCreateLegalEntity();
|
|
1464
|
-
const { mutateAsync: updateLegalEntity } = useUpdateLegalEntity();
|
|
1465
|
-
const { data: immediateParentCompany, isLoading: immediateParentCompanyIsLoading } = useAssociatedLegalEntity(rootLegalEntity, "immediateParentCompany");
|
|
1466
|
-
const { data: ultimateParentCompany, isLoading: ultimateParentCompanyIsLoading } = useAssociatedLegalEntity(rootLegalEntity, "ultimateParentCompany");
|
|
1467
|
-
const { data: soleProprietor, isLoading: soleProprietorIsLoading } = useAssociatedLegalEntity(rootLegalEntity, "soleProprietorship");
|
|
1468
|
-
/**
|
|
1469
|
-
* Analytics
|
|
1470
|
-
*/
|
|
1471
|
-
useTaskLandedEvent("BUSINESS_FINANCING");
|
|
1472
|
-
const derivedData = useMemo(() => {
|
|
1473
|
-
if (immediateParentCompanyIsLoading || ultimateParentCompanyIsLoading || soleProprietorIsLoading) return void 0;
|
|
1474
|
-
const isSoleProprietor = hasSolePropInLegalEntity(rootLegalEntity);
|
|
1475
|
-
const dataFromResponse = {};
|
|
1476
|
-
if (isSoleProprietor && soleProprietor) {
|
|
1477
|
-
dataFromResponse.soleProprietor = mapLegalEntityToBusinessFinancing(rootLegalEntity);
|
|
1478
|
-
dataFromResponse.soleProprietor = appendSoleProprietorBusinessFinancingData(soleProprietor.soleProprietorship, dataFromResponse.soleProprietor);
|
|
1479
|
-
} else if (rootLegalEntity.type === LegalEntityTypes.ORGANIZATION) {
|
|
1480
|
-
dataFromResponse.company = mapLegalEntityToBusinessFinancing(rootLegalEntity);
|
|
1481
|
-
dataFromResponse.company = appendBusinessFinancingData(rootLegalEntity.organization, dataFromResponse.company);
|
|
1482
|
-
dataFromResponse.company.isCompanyOwnedByAnotherCompany = "No";
|
|
1483
|
-
dataFromResponse.company.isParentOwnedByAnotherCompany = "No";
|
|
1484
|
-
if (immediateParentCompany) {
|
|
1485
|
-
dataFromResponse.parentCompany = mapLegalEntityToBusinessFinancing(immediateParentCompany);
|
|
1486
|
-
dataFromResponse.parentCompany = appendBusinessFinancingData(immediateParentCompany.organization, dataFromResponse.parentCompany);
|
|
1487
|
-
dataFromResponse.company.isCompanyOwnedByAnotherCompany = "Yes";
|
|
1488
|
-
}
|
|
1489
|
-
if (ultimateParentCompany) {
|
|
1490
|
-
dataFromResponse.ultimateParentCompany = mapLegalEntityToBusinessFinancing(ultimateParentCompany);
|
|
1491
|
-
dataFromResponse.ultimateParentCompany = appendBusinessFinancingData(ultimateParentCompany.organization, dataFromResponse.ultimateParentCompany);
|
|
1492
|
-
dataFromResponse.company.isParentOwnedByAnotherCompany = "Yes";
|
|
1493
|
-
}
|
|
1494
|
-
}
|
|
1495
|
-
return dataFromResponse;
|
|
1496
|
-
}, [
|
|
1497
|
-
immediateParentCompanyIsLoading,
|
|
1498
|
-
ultimateParentCompanyIsLoading,
|
|
1499
|
-
soleProprietorIsLoading,
|
|
1500
|
-
rootLegalEntity,
|
|
1501
|
-
immediateParentCompany,
|
|
1502
|
-
ultimateParentCompany,
|
|
1503
|
-
soleProprietor
|
|
1504
|
-
]);
|
|
1505
|
-
const datasetUtils = datasetUtilities(i18n.language);
|
|
1506
|
-
const [problems, setProblems] = useState();
|
|
1507
|
-
const [loadingStatus, setLoadingStatus] = useState("success");
|
|
1508
|
-
const [showEndState, setShowEndState] = useState(false);
|
|
1509
|
-
const { showToast } = useToastContext();
|
|
1510
|
-
const { isSettingEnabled } = useSettingsContext();
|
|
1511
|
-
const showBusinessFinancingFirst = isSettingEnabled(SettingNames.ShowBusinessFinancingFirst);
|
|
1512
|
-
const onSubmit = async () => {
|
|
1513
|
-
setLoadingStatus("loading");
|
|
1514
|
-
if (!umfData) return;
|
|
1515
|
-
const isSoleProprietor = hasSolePropInLegalEntity(rootLegalEntity);
|
|
1516
|
-
const mainEntityDetails = !isSoleProprietor ? prepareBusinessFinancingSubmitData(BusinessFinancingIndices.COMPANY, umfData, rootLegalEntity) : null;
|
|
1517
|
-
const soleProprietorPayloads = isSoleProprietor ? prepareSoleProprietorBusinessFinancingSubmitData(umfData, rootLegalEntity, soleProprietor) : null;
|
|
1518
|
-
const parentCompanyBusinessFinancingDetails = !isSoleProprietor ? prepareBusinessFinancingSubmitData(BusinessFinancingIndices.PARENT_COMPANY, umfData, rootLegalEntity) : null;
|
|
1519
|
-
const ultimateParentCompanyBusinessFinancingDetails = !isSoleProprietor ? prepareBusinessFinancingSubmitData(BusinessFinancingIndices.ULTIMATE_PARENT_COMPANY, umfData, rootLegalEntity) : null;
|
|
1520
|
-
if (isSoleProprietor) {
|
|
1521
|
-
if (!soleProprietorPayloads || !rootLegalEntity || !soleProprietor?.id) {
|
|
1522
|
-
showToast({
|
|
1523
|
-
label: businessFinancingT(($) => $["missingCompanyDetails"]),
|
|
1524
|
-
variant: "error"
|
|
1525
|
-
});
|
|
1526
|
-
return;
|
|
1527
|
-
}
|
|
1528
|
-
try {
|
|
1529
|
-
await handleBusinessFinancingFormSubmission(BusinessFinancingIndices.SOLE_PROPRIETOR, soleProprietorPayloads.individualPayload, createLegalEntity, updateLegalEntity, rootLegalEntity.id);
|
|
1530
|
-
const eventsAdditionalData = { ...getOrgAnalyticsData("SoleProprietor", await handleBusinessFinancingFormSubmission(BusinessFinancingIndices.SOLE_PROPRIETOR, soleProprietorPayloads.solePropPayload, createLegalEntity, updateLegalEntity, soleProprietor.id)) };
|
|
1531
|
-
userEvents.addTaskEvent("Success", {
|
|
1532
|
-
actionType: "submit",
|
|
1533
|
-
returnValue: [BusinessFinancingIndices.SOLE_PROPRIETOR],
|
|
1534
|
-
additionalData: eventsAdditionalData
|
|
1535
|
-
});
|
|
1536
|
-
await invalidateRootLegalEntity();
|
|
1537
|
-
if (showBusinessFinancingFirst || isStandaloneComponent) setShowEndState(true);
|
|
1538
|
-
else externalOnSubmit?.({ ...umfData });
|
|
1539
|
-
setProblems({});
|
|
1540
|
-
} catch (e) {
|
|
1541
|
-
showToast({
|
|
1542
|
-
label: commonT(($) => $["failedToUpdateDetails"]),
|
|
1543
|
-
variant: "error"
|
|
1544
|
-
});
|
|
1545
|
-
handleSubmissionError(e, BusinessFinancingIndices.SOLE_PROPRIETOR);
|
|
1546
|
-
} finally {
|
|
1547
|
-
setLoadingStatus("success");
|
|
1548
|
-
}
|
|
1549
|
-
} else {
|
|
1550
|
-
if (!mainEntityDetails || !rootLegalEntity) {
|
|
1551
|
-
showToast({
|
|
1552
|
-
label: businessFinancingT(($) => $["missingCompanyDetails"]),
|
|
1553
|
-
variant: "error"
|
|
1554
|
-
});
|
|
1555
|
-
return;
|
|
1556
|
-
}
|
|
1557
|
-
let parentCompanyFailed = false;
|
|
1558
|
-
let ultimateParentCompanyFailed = false;
|
|
1559
|
-
try {
|
|
1560
|
-
const promises = [];
|
|
1561
|
-
if (parentCompanyBusinessFinancingDetails) {
|
|
1562
|
-
const parentCompanyPromise = handleBusinessFinancingFormSubmission(BusinessFinancingIndices.PARENT_COMPANY, parentCompanyBusinessFinancingDetails, createLegalEntity, updateLegalEntity, parentCompanyBusinessFinancingDetails?.id);
|
|
1563
|
-
promises.push(parentCompanyPromise);
|
|
1564
|
-
}
|
|
1565
|
-
if (ultimateParentCompanyBusinessFinancingDetails) {
|
|
1566
|
-
const ultimateParentCompanyPromise = handleBusinessFinancingFormSubmission(BusinessFinancingIndices.ULTIMATE_PARENT_COMPANY, ultimateParentCompanyBusinessFinancingDetails, createLegalEntity, updateLegalEntity, ultimateParentCompanyBusinessFinancingDetails?.id);
|
|
1567
|
-
promises.push(ultimateParentCompanyPromise);
|
|
1568
|
-
}
|
|
1569
|
-
const results = await Promise.allSettled(promises);
|
|
1570
|
-
const businessFinancingEntityAssociations = [...rootLegalEntity.entityAssociations ? rootLegalEntity.entityAssociations.filter((entityAssociation) => entityAssociation.type !== "immediateParentCompany" && entityAssociation.type !== "ultimateParentCompany") : []];
|
|
1571
|
-
const entitiesToTrack = [BusinessFinancingIndices.COMPANY];
|
|
1572
|
-
results.forEach((result, index) => {
|
|
1573
|
-
const businessFinancingType = index === 0 ? BusinessFinancingIndices.PARENT_COMPANY : BusinessFinancingIndices.ULTIMATE_PARENT_COMPANY;
|
|
1574
|
-
if (result.status === "fulfilled") {
|
|
1575
|
-
const response = result.value;
|
|
1576
|
-
if (businessFinancingType === BusinessFinancingIndices.PARENT_COMPANY) {
|
|
1577
|
-
businessFinancingEntityAssociations.push({
|
|
1578
|
-
type: "immediateParentCompany",
|
|
1579
|
-
legalEntityId: response.id,
|
|
1580
|
-
associatorId: mainEntityDetails.id
|
|
1581
|
-
});
|
|
1582
|
-
entitiesToTrack.push(BusinessFinancingIndices.PARENT_COMPANY);
|
|
1583
|
-
} else if (businessFinancingType === BusinessFinancingIndices.ULTIMATE_PARENT_COMPANY) {
|
|
1584
|
-
businessFinancingEntityAssociations.push({
|
|
1585
|
-
type: "ultimateParentCompany",
|
|
1586
|
-
legalEntityId: response.id,
|
|
1587
|
-
associatorId: mainEntityDetails.id
|
|
1588
|
-
});
|
|
1589
|
-
entitiesToTrack.push(BusinessFinancingIndices.ULTIMATE_PARENT_COMPANY);
|
|
1590
|
-
}
|
|
1591
|
-
} else {
|
|
1592
|
-
if (businessFinancingType === BusinessFinancingIndices.PARENT_COMPANY) parentCompanyFailed = true;
|
|
1593
|
-
else if (businessFinancingType === BusinessFinancingIndices.ULTIMATE_PARENT_COMPANY) ultimateParentCompanyFailed = true;
|
|
1594
|
-
handleSubmissionError(result.reason, businessFinancingType);
|
|
1595
|
-
}
|
|
1596
|
-
});
|
|
1597
|
-
if (!parentCompanyFailed && !ultimateParentCompanyFailed) {
|
|
1598
|
-
mainEntityDetails.entityAssociations = [...businessFinancingEntityAssociations];
|
|
1599
|
-
const eventsAdditionalData = {
|
|
1600
|
-
...getOrgAnalyticsData("Business", mainEntityDetails),
|
|
1601
|
-
...getOrgAnalyticsData("ParentCompany", parentCompanyBusinessFinancingDetails),
|
|
1602
|
-
...getOrgAnalyticsData("UltimateParentCompany", ultimateParentCompanyBusinessFinancingDetails)
|
|
1603
|
-
};
|
|
1604
|
-
try {
|
|
1605
|
-
await handleBusinessFinancingFormSubmission(BusinessFinancingIndices.COMPANY, mainEntityDetails, createLegalEntity, updateLegalEntity, mainEntityDetails?.id);
|
|
1606
|
-
userEvents.addTaskEvent("Success", {
|
|
1607
|
-
actionType: "submit",
|
|
1608
|
-
returnValue: entitiesToTrack,
|
|
1609
|
-
additionalData: eventsAdditionalData
|
|
1610
|
-
});
|
|
1611
|
-
await invalidateRootLegalEntity();
|
|
1612
|
-
if (showBusinessFinancingFirst || isStandaloneComponent) setShowEndState(true);
|
|
1613
|
-
else externalOnSubmit?.({ ...umfData });
|
|
1614
|
-
} catch (e) {
|
|
1615
|
-
showToast({
|
|
1616
|
-
label: commonT(($) => $["failedToUpdateDetails"]),
|
|
1617
|
-
variant: "error"
|
|
1618
|
-
});
|
|
1619
|
-
handleSubmissionError(e, BusinessFinancingIndices.COMPANY);
|
|
1620
|
-
}
|
|
1621
|
-
setProblems({});
|
|
1622
|
-
}
|
|
1623
|
-
} catch (e) {
|
|
1624
|
-
if (!parentCompanyFailed && !ultimateParentCompanyFailed) handleSubmissionError(e, BusinessFinancingIndices.COMPANY);
|
|
1625
|
-
showToast({
|
|
1626
|
-
label: commonT(($) => $["failedToUpdateDetails"]),
|
|
1627
|
-
variant: "error"
|
|
1628
|
-
});
|
|
1629
|
-
} finally {
|
|
1630
|
-
setLoadingStatus("success");
|
|
1631
|
-
}
|
|
1632
|
-
}
|
|
1633
|
-
};
|
|
1634
|
-
const handleSubmissionError = (error, businessFinancingType) => {
|
|
1635
|
-
const keyMapping = businessFinancingType === BusinessFinancingIndices.SOLE_PROPRIETOR ? {
|
|
1636
|
-
...businessFinancingIndividualApiKeyMapping,
|
|
1637
|
-
...businessFinancingSoleProprietorApiKeyMapping
|
|
1638
|
-
} : businessFinancingApiKeyMapping;
|
|
1639
|
-
if (isValidationError(error.actualError)) {
|
|
1640
|
-
const validationErrors = processValidationErrors(error.actualError, void 0, keyMapping);
|
|
1641
|
-
setProblems((prevProblems) => ({
|
|
1642
|
-
...prevProblems,
|
|
1643
|
-
validationErrors: {
|
|
1644
|
-
...prevProblems?.validationErrors,
|
|
1645
|
-
[businessFinancingType]: validationErrors?.[businessFinancingType] ?? {}
|
|
1646
|
-
}
|
|
1647
|
-
}));
|
|
1648
|
-
} else if (isMaintenanceModeError(error)) showToast({
|
|
1649
|
-
label: commonT(($) => $["maintenanceModeMessage"]),
|
|
1650
|
-
variant: "error",
|
|
1651
|
-
duration: "indefinite"
|
|
1652
|
-
});
|
|
1653
|
-
else showToast({
|
|
1654
|
-
label: commonT(($) => $["failedToUpdateDetails"]),
|
|
1655
|
-
variant: "error"
|
|
1656
|
-
});
|
|
1657
|
-
};
|
|
1658
|
-
const [requiredFields, setRequiredFields] = useState(void 0);
|
|
1659
|
-
const form = useMultiForm({
|
|
1660
|
-
requiredFields,
|
|
1661
|
-
defaultData: derivedData,
|
|
1662
|
-
rules: businessFinancingMultiformRules
|
|
1663
|
-
});
|
|
1664
|
-
const { data: umfData = derivedData, isValid, errors, valid } = form;
|
|
1665
|
-
const businessFinancingRequiredForms = useMemo(() => {
|
|
1666
|
-
let updateForms = {};
|
|
1667
|
-
if (umfData?.soleProprietor) updateForms = { soleProprietor: { ...businessFinancingForms.soleProprietor } };
|
|
1668
|
-
else {
|
|
1669
|
-
updateForms = { company: { ...businessFinancingForms.company } };
|
|
1670
|
-
const showParentCompany = umfData?.company?.isCompanyOwnedByAnotherCompany === "Yes";
|
|
1671
|
-
const showUltimateParentCompany = umfData?.company?.isParentOwnedByAnotherCompany === "Yes";
|
|
1672
|
-
if (showParentCompany) updateForms = {
|
|
1673
|
-
...updateForms,
|
|
1674
|
-
parentCompany: businessFinancingForms.parentCompany
|
|
1675
|
-
};
|
|
1676
|
-
if (showParentCompany && showUltimateParentCompany) updateForms = {
|
|
1677
|
-
...updateForms,
|
|
1678
|
-
ultimateParentCompany: businessFinancingForms.ultimateParentCompany
|
|
1679
|
-
};
|
|
1680
|
-
}
|
|
1681
|
-
return updateForms;
|
|
1682
|
-
}, [
|
|
1683
|
-
umfData?.soleProprietor,
|
|
1684
|
-
umfData?.company?.isCompanyOwnedByAnotherCompany,
|
|
1685
|
-
umfData?.company?.isParentOwnedByAnotherCompany
|
|
1686
|
-
]);
|
|
1687
|
-
useEffect(() => {
|
|
1688
|
-
setRequiredFields(getBusinessFinancingRequiredFields(country, umfData, rootLegalEntity?.organization?.registeredAddress));
|
|
1689
|
-
}, [umfData, rootLegalEntity?.organization?.registeredAddress]);
|
|
1690
|
-
const forms = useMemo(() => {
|
|
1691
|
-
return addValidityToForms(getRequiredForms(businessFinancingRequiredForms, businessFinancingFormsRequiredFields, {}), isValid, problems);
|
|
1692
|
-
}, [
|
|
1693
|
-
businessFinancingRequiredForms,
|
|
1694
|
-
isValid,
|
|
1695
|
-
businessFinancingFormsRequiredFields,
|
|
1696
|
-
problems
|
|
1697
|
-
]);
|
|
1698
|
-
const { handleNextClick, handleBackClick, activeForm, gotoFormByFormIndex, gotoFormByFormId, steps, shouldValidate } = useFormComposer({
|
|
1699
|
-
problems,
|
|
1700
|
-
forms,
|
|
1701
|
-
onSubmit
|
|
1702
|
-
});
|
|
1703
|
-
const renderActiveForm = (selectedForm) => /* @__PURE__ */ jsxs("div", { children: [
|
|
1704
|
-
selectedForm.formId === "soleProprietor" && /* @__PURE__ */ jsx(AdditionalFieldsForBusinessFinancingSoleProprietor, {
|
|
1705
|
-
data: derivedData?.soleProprietor,
|
|
1706
|
-
legalEntity: rootLegalEntity,
|
|
1707
|
-
heading: businessFinancingT(($) => $["additionalInformationForBusinessFinancing"]),
|
|
1708
|
-
id: selectedForm.formId,
|
|
1709
|
-
country,
|
|
1710
|
-
shouldValidate,
|
|
1711
|
-
fieldValidationErrors: problems?.validationErrors?.[selectedForm?.formId],
|
|
1712
|
-
formVerificationErrors: problems?.verificationErrors?.[selectedForm?.formId],
|
|
1713
|
-
errors: errors?.soleProprietor,
|
|
1714
|
-
valid: valid?.soleProprietor
|
|
1715
|
-
}),
|
|
1716
|
-
selectedForm.formId === companyFormId && /* @__PURE__ */ jsx(AdditionalFieldsForBusinessFinancingCompany, {
|
|
1717
|
-
data: derivedData?.company,
|
|
1718
|
-
legalEntity: rootLegalEntity,
|
|
1719
|
-
heading: businessFinancingT(($) => $["additionalInformationForBusinessFinancing"]),
|
|
1720
|
-
id: companyFormId,
|
|
1721
|
-
country,
|
|
1722
|
-
shouldValidate,
|
|
1723
|
-
fieldValidationErrors: problems?.validationErrors?.[selectedForm?.formId],
|
|
1724
|
-
formVerificationErrors: problems?.verificationErrors?.[selectedForm?.formId],
|
|
1725
|
-
errors: errors?.company,
|
|
1726
|
-
valid: valid?.company
|
|
1727
|
-
}),
|
|
1728
|
-
selectedForm.formId === parentCompanyFormId && /* @__PURE__ */ jsx(AdditionalFieldsForBusinessFinancingParentCompany, {
|
|
1729
|
-
data: derivedData?.parentCompany,
|
|
1730
|
-
heading: commonT(($) => $["parentCompanyInformation"]),
|
|
1731
|
-
id: companyFormId,
|
|
1732
|
-
country,
|
|
1733
|
-
shouldValidate,
|
|
1734
|
-
errors: errors?.parentCompany,
|
|
1735
|
-
legalEntity: rootLegalEntity
|
|
1736
|
-
}),
|
|
1737
|
-
selectedForm.formId === ultimateParentCompanyFormId && /* @__PURE__ */ jsx(AdditionalFieldsForBusinessFinancingUltimateParentCompany, {
|
|
1738
|
-
data: derivedData?.ultimateParentCompany,
|
|
1739
|
-
heading: commonT(($) => $["ultimateParentCompanyInformation"]),
|
|
1740
|
-
id: companyFormId,
|
|
1741
|
-
country,
|
|
1742
|
-
shouldValidate,
|
|
1743
|
-
errors: errors?.ultimateParentCompany,
|
|
1744
|
-
legalEntity: rootLegalEntity
|
|
1745
|
-
})
|
|
1746
|
-
] });
|
|
1747
|
-
if (!derivedData?.company && !derivedData?.soleProprietor) return /* @__PURE__ */ jsx(Loader, {});
|
|
1748
|
-
const allValidationErrors = problems?.validationErrors && Object.values(problems.validationErrors)?.reduce((acc, validError) => ({
|
|
1749
|
-
...acc,
|
|
1750
|
-
...validError
|
|
1751
|
-
}), {});
|
|
1752
|
-
const allVerificationErrors = problems?.verificationErrors && Object.values(problems.verificationErrors)?.reduce((acc, verifError) => ({
|
|
1753
|
-
...acc,
|
|
1754
|
-
...verifError
|
|
1755
|
-
}), {});
|
|
1756
|
-
const formUtils = createFormUtils({ labels: {} }, commonT);
|
|
1757
|
-
const handleEditForm = (formId) => {
|
|
1758
|
-
const formIndex = forms.findIndex((form) => form.formId === formId);
|
|
1759
|
-
if (formIndex >= 0) gotoFormByFormIndex(formIndex);
|
|
1760
|
-
};
|
|
1761
|
-
const summaryComponent = /* @__PURE__ */ jsx(BusinessFinancingSummary, {
|
|
1762
|
-
items: formatDataForSummary(i18n.language, businessFinancingT, datasetUtils, umfData, rootLegalEntity?.organization?.registeredAddress),
|
|
1763
|
-
handleEditForm,
|
|
1764
|
-
forms,
|
|
1765
|
-
children: /* @__PURE__ */ jsx(ErrorPanel, {
|
|
1766
|
-
validationErrors: allValidationErrors,
|
|
1767
|
-
verificationErrors: allVerificationErrors,
|
|
1768
|
-
formUtils,
|
|
1769
|
-
id: "ariaErrorField",
|
|
1770
|
-
slot: "errorPanel"
|
|
1771
|
-
})
|
|
1772
|
-
});
|
|
1773
|
-
return showEndState ? /* @__PURE__ */ jsx(EndStateLayout, {
|
|
1774
|
-
title: businessFinancingT(($) => $["submissionReceived"]),
|
|
1775
|
-
description: businessFinancingT(($) => $["theInformationProvidedIsBeingReviewed"]),
|
|
1776
|
-
action: externalOnSubmit && !showBusinessFinancingFirst ? /* @__PURE__ */ jsx(Button, {
|
|
1777
|
-
onClick: () => externalOnSubmit?.({ ...umfData }),
|
|
1778
|
-
children: externalOnSubmitLabel || commonT(($) => $["finish"])
|
|
1779
|
-
}) : void 0
|
|
1780
|
-
}) : /* @__PURE__ */ jsx(FormContextProvider, {
|
|
1781
|
-
form,
|
|
1782
|
-
children: /* @__PURE__ */ jsx(FormFlow, {
|
|
1783
|
-
summaryComponent,
|
|
1784
|
-
currentStep: steps.current,
|
|
1785
|
-
disableNextButton: !activeForm.isValid,
|
|
1786
|
-
forms,
|
|
1787
|
-
activeForm,
|
|
1788
|
-
gotoFormByFormIndex,
|
|
1789
|
-
gotoFormByFormId,
|
|
1790
|
-
handleBackClick,
|
|
1791
|
-
handleCancelClick: handleHomeClick,
|
|
1792
|
-
handleNextClick,
|
|
1793
|
-
loadingStatus,
|
|
1794
|
-
totalSteps: steps.total,
|
|
1795
|
-
children: /* @__PURE__ */ jsx("div", { children: renderActiveForm(activeForm || (derivedData?.soleProprietor ? businessFinancingForms.soleProprietor : businessFinancingForms.company)) })
|
|
1796
|
-
})
|
|
1797
|
-
});
|
|
1798
|
-
}
|
|
1799
|
-
//#endregion
|
|
1800
|
-
export { BusinessFinancingDropin as t };
|