@adyen/kyc-components 4.10.1 → 4.11.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/4-people-Dt-FR2z_.js +35 -0
- package/dist/AcceptTermsOfServiceComponent-B7fbVXdI.js +653 -0
- package/dist/Accordion-Cyh-79AN.js +111 -0
- package/dist/AccountSetupRejected-C73kDfqv.js +19 -0
- package/dist/AdaptiveWorkflow-CTz0Tq7U.js +1102 -0
- package/dist/AdaptiveWorkflowComponent-bvyn4HDz.js +139 -0
- package/dist/Address-BHsUBMEd.js +557 -0
- package/dist/Alert-B5ye0DfE.js +170 -0
- package/dist/AnalyticsContext-C0HNdPss.js +74 -0
- package/dist/Avatar-BsTXJ0r5.js +54 -0
- package/dist/BusinessFinancingDropin-DwhQ3MIM.js +1803 -0
- package/dist/BusinessFinancingPage-nH-LXbfW.js +87 -0
- package/dist/BusinessTypeSelectionPage-DUbERJnZ.js +436 -0
- package/dist/Button-CAoywEKy.js +189 -0
- package/dist/Checkbox-B54372Sm.js +55 -0
- package/dist/CompanyRegistrationNumberTypeSelector-ClsEwZ_M.js +1038 -0
- package/dist/Confirm-DUAr1FiX.js +76 -0
- package/dist/ConstitutionalDocument-DrM5lwZv.js +1258 -0
- package/dist/ContactDetails-BF42eW3s.js +288 -0
- package/dist/ContextGuidance-DUTeagNS.js +29 -0
- package/dist/CountryField-BNRhvO1q.js +38 -0
- package/dist/Currency-4t6bIyeE.js +191 -0
- package/dist/CustomerSupport-Brw718_1.js +129 -0
- package/dist/DebugModal-CUeEg9qk.js +454 -0
- package/dist/DecisionMakerDetails-AxLrrm-Q.js +469 -0
- package/dist/DecisionMakerDetailsPage-iE0ObYZ6.js +103 -0
- package/dist/DecisionMakers-BLwLV8lq.js +583 -0
- package/dist/Dropzone-CwJCEAjb.js +236 -0
- package/dist/EmbeddedStatus-MtQ7t2IO.js +128 -0
- package/dist/EndStateLayout-E6Ojfg_N.js +84 -0
- package/dist/EntityAssociation-CyQ6yBFS.js +163 -0
- package/dist/ErrorPanel-BXe3GGb1.js +185 -0
- package/dist/Field-BD_0HjiI.js +155 -0
- package/dist/FormNavigation-CnYKCwKM.js +116 -0
- package/dist/Header-BI6ESU0g.js +93 -0
- package/dist/Image-DTsQXPLw.js +33 -0
- package/dist/Individual.rules-96yFA3BD.js +296 -0
- package/dist/IndividualDropin-DgwQ5nbE.js +4987 -0
- package/dist/InputDate-BQs83myS.js +52 -0
- package/dist/InputText-qdIKYibU.js +119 -0
- package/dist/Introduction-CRlJJiJ8.js +271 -0
- package/dist/InvitedDecisionMakerComponent-DZinWUEH.js +381 -0
- package/dist/JpAddress-EJR5Cu4J.js +322 -0
- package/dist/LandingLayout-Du-73NPo.js +76 -0
- package/dist/LegalCompanyNameField-Bbx35Zwc.js +108 -0
- package/dist/LegalRepresentativeDetailsPage-DsPIvYzE.js +73 -0
- package/dist/Link-vZChdZDy.js +32 -0
- package/dist/ListItem-CfjtbmOG.js +70 -0
- package/dist/LoaderWrapper-Bf1CHY2M.js +34 -0
- package/dist/MaskedInput-Dth7KFNX.js +715 -0
- package/dist/MaybeModal-C1Y88Wk8.js +24 -0
- package/dist/Modal-BBG3ZQQS.js +131 -0
- package/dist/Name-DQgQWDrA.js +61 -0
- package/dist/NewSummary-BrMCbAGI.js +72 -0
- package/dist/PayoutDetailsDropinMultiForm-LplNAPWx.js +3992 -0
- package/dist/PayoutDetailsPage-DwoVAy_a.js +68 -0
- package/dist/RadioGroup-DAPea-p5.js +84 -0
- package/dist/Review-D_V907-B.js +99 -0
- package/dist/RootBusinessDetailsPage-y5yYel69.js +69 -0
- package/dist/RootBusinessLinesPage-kR_YA3x3.js +1452 -0
- package/dist/RootIndividualDetailsPage-CRTmZ5PU.js +81 -0
- package/dist/Select-CAso7Gvi.js +777 -0
- package/dist/SignPCIComponent-vkWdNgks.js +368 -0
- package/dist/SingpassSelection-C6xyMx-u.js +159 -0
- package/dist/SoleProprietorshipPage-Dr6RjeGw.js +69 -0
- package/dist/SourceOfFundsDropin-B9Omifyd.js +1938 -0
- package/dist/SourceOfFundsPage-9ewg3IS3.js +60 -0
- package/dist/StepProgressIndicator-J9mjU88T.js +80 -0
- package/dist/StructuredList-BXi5p5iX.js +56 -0
- package/dist/Summary-BEVwp_sh.js +226 -0
- package/dist/TaskListItem-DiSqAUdY.js +122 -0
- package/dist/TaskVerificationStatus-CUlYw5ZS.js +118 -0
- package/dist/TaxInformationField-BATWmnyF.js +474 -0
- package/dist/TaxReportingDropin-D1js0BZh.js +475 -0
- package/dist/TextArea-B-Yo2jXh.js +80 -0
- package/dist/TileGroup-Cq9eNUmn.js +170 -0
- package/dist/ToastContext-CeB1t7kx.js +13 -0
- package/dist/ToastContextProvider-BHABhum3.js +103 -0
- package/dist/TrustDetailsPage-CEQDGlga.js +1792 -0
- package/dist/TrustMemberCompanyPage-D5iRkBRx.js +107 -0
- package/dist/TrustMemberIndividualPage-BAwIfIfu.js +107 -0
- package/dist/TrustMemberRoleAndTypePage-DRbPuuPH.js +953 -0
- package/dist/TrustMembersOverview-CXAI1CK4.js +433 -0
- package/dist/UnincorporatedPartnershipIndividualPage-DhisTVyr.js +78 -0
- package/dist/UnincorporatedPartnershipMemberCompanyPage-CiyQA2Ik.js +78 -0
- package/dist/UnincorporatedPartnershipMemberRoleAndTypePage-VUd7Y8HV.js +276 -0
- package/dist/UnincorporatedPartnershipMembersOverview-B2b21SFS.js +159 -0
- package/dist/VerificationErrorAlert-DmxtWezJ.js +38 -0
- package/dist/adyen-business-financing.js +84 -84
- package/dist/adyen-individual-configuration.js +86 -86
- package/dist/adyen-individual-status.js +35 -35
- package/dist/adyen-invited-decision-maker.js +3 -3
- package/dist/adyen-onboarding.js +109 -109
- package/dist/adyen-terms-of-service-management.js +4 -4
- package/dist/adyen-terms-of-service-status.js +57 -57
- package/dist/adyen-transfer-instrument-configuration.js +84 -84
- package/dist/adyen-transfer-instrument-management.js +97 -97
- package/dist/adyen-verification-status.js +34 -34
- package/dist/arrow-right-BX_EVrJJ.js +20 -0
- package/dist/bag-CndvM5sq.js +20 -0
- package/dist/bank-BGTRk0kq.js +20 -0
- package/dist/bin-ClI1Lmer.js +30 -0
- package/dist/capital-CvyQlkxY.js +23 -0
- package/dist/cash-stack-Dh8uZSza.js +33 -0
- package/dist/certificate-BNwGY179.js +23 -0
- package/dist/checkmark-circle-B0j0Vtwo.js +28 -0
- package/dist/checkmark-circle-fill-LpAoa38W.js +30 -0
- package/dist/checkmark-hciVXXIH.js +20 -0
- package/dist/checkmark-small-CBLKuuZ1.js +20 -0
- package/dist/chevron-down-aTrA5UpL.js +20 -0
- package/dist/chevron-left-BVdVNPiJ.js +20 -0
- package/dist/chevron-right-Drp9nZ4h.js +20 -0
- package/dist/chevron-up-BG9Ldgsu.js +20 -0
- package/dist/circle-C-iPmuCY.js +30 -0
- package/dist/circle-small-filled-C-Nh6xHY.js +20 -0
- package/dist/clock-CpMm35NB.js +28 -0
- package/dist/coins-D2tNyEW3.js +30 -0
- package/dist/contract-Cg3T6neC.js +20 -0
- package/dist/cross-DLi9h_Eg.js +20 -0
- package/dist/cross-circle-fill-dRHPWc-i.js +30 -0
- package/dist/cross-circle-fill-small-WqgBPXhH.js +20 -0
- package/dist/document-1-CSg2AOQy.js +20 -0
- package/dist/document-person-BhXXvTMH.js +28 -0
- package/dist/download-Cvkkn96A.js +23 -0
- package/dist/edit-1-CIdEs1t-.js +20 -0
- package/dist/en-US-BtXQtx4r.js +7 -0
- package/dist/en-US-rB72ltWV.js +7 -0
- package/dist/external-link-BNgSBwiX.js +20 -0
- package/dist/formUtils-DcRJcDH1.js +78 -0
- package/dist/getProblemsForEntity-_KT3YxwG.js +16 -0
- package/dist/gift-I5WhHXnm.js +20 -0
- package/dist/globalStore-BfK7GafD.js +419 -0
- package/dist/graph-up-CN2EGjwJ.js +38 -0
- package/dist/graph-yoQEgV-z.js +32 -0
- package/dist/headquarter-BPCK7l9Y.js +42 -0
- package/dist/hotel-BncnkQ-E.js +33 -0
- package/dist/http-j2zqU8vS.js +149 -0
- package/dist/image-DXUQcN6d.js +23 -0
- package/dist/info-Dh7b3h-o.js +32 -0
- package/dist/info-filled-DtEaaCq9.js +32 -0
- package/dist/invalidateRootLegalEntity-_CrcBcVy.js +45 -0
- package/dist/isEmpty-DPybQEh0.js +14 -0
- package/dist/localizeDateString-wO7n7rJg.js +35 -0
- package/dist/location-NeA9HUsd.js +23 -0
- package/dist/mail-COcabAMU.js +20 -0
- package/dist/mapExistingFile-BNIpBgK_.js +184 -0
- package/dist/mapJpAddressSchemaToAddressLocalizations-DkDEbcuz.js +61 -0
- package/dist/mapLegalEntityToIndividualSchema-BL0bDNG3.js +206 -0
- package/dist/mapTransferInstrumentToPayoutAccount-BXQG_f8Q.js +44 -0
- package/dist/minus-circle-filled-CnCOR8aV.js +30 -0
- package/dist/omitObscuredFieldsIfUnchanged-BS9XJvaa.js +20 -0
- package/dist/options-horizontal-CAznj1Vl.js +30 -0
- package/dist/partner-BgRPuALU.js +30 -0
- package/dist/pay-by-link-plane-CblqKlzx.js +33 -0
- package/dist/payout-Dt-Rj2Dk.js +38 -0
- package/dist/person-CVbQ7VXy.js +23 -0
- package/dist/phonePrefixes-Czcjgq4w.js +252 -0
- package/dist/plus-BbVfOPFJ.js +20 -0
- package/dist/plus-circle-filled-D9vpzgFw.js +30 -0
- package/dist/process-field-configurations-BJ9Nikhm.js +279 -0
- package/dist/processCapabilities-CDSEJpB8.js +869 -0
- package/dist/recurring-Cm_CVMBM.js +23 -0
- package/dist/resolveEnvironment-By-8HByO.js +983 -0
- package/dist/revenue-accelerate-uQp3MMWP.js +30 -0
- package/dist/save-DsGcWvER.js +20 -0
- package/dist/search-BDJlT2t5.js +30 -0
- package/dist/show-DLGXHz7A.js +23 -0
- package/dist/solution-payments-CVSsXgo9.js +20 -0
- package/dist/store-COYFYobc.js +20 -0
- package/dist/style.css +3640 -3419
- package/dist/styles-BKzp-1_V.js +6130 -0
- package/dist/terminal-1-C98Z-HQT.js +30 -0
- package/dist/translation-hEYGx0ZB.js +854 -0
- package/dist/types/adaptiveWorkflow/AdaptiveWorkflow.d.ts +7 -2
- package/dist/types/adaptiveWorkflow/component-registry.d.ts +43 -0
- package/dist/types/adaptiveWorkflow/components/DynamicForm/DynamicForm.d.ts +3 -1
- package/dist/types/adaptiveWorkflow/components/Fields/AcceptTermsOfServiceWorkflow/AcceptTermsOfServiceWorkflow.d.ts +2 -0
- package/dist/types/adaptiveWorkflow/components/Fields/BusinessRegistrationNumber/BusinessRegistrationNumberFieldGroup.d.ts +25 -0
- package/dist/types/adaptiveWorkflow/components/Fields/BusinessRegistrationNumber/ExemptedFromRegistrationNumberField.d.ts +10 -0
- package/dist/types/adaptiveWorkflow/components/Fields/BusinessRegistrationNumber/RegistrationNumberInputField.d.ts +18 -0
- package/dist/types/adaptiveWorkflow/components/Fields/BusinessRegistrationNumber/RegistrationNumberTypeSelectorField.d.ts +15 -0
- package/dist/types/adaptiveWorkflow/components/Fields/IndustryCode/IndustryCodeFieldGroup.d.ts +12 -0
- package/dist/types/adaptiveWorkflow/components/SpecializedComponent/SpecializedComponent.d.ts +35 -0
- package/dist/types/adaptiveWorkflow/components/Task/Task.d.ts +5 -1
- package/dist/types/adaptiveWorkflow/components/Task/contextMap.d.ts +2 -6
- package/dist/types/adaptiveWorkflow/components/TaskGroup/TaskGroup.d.ts +4 -0
- package/dist/types/adaptiveWorkflow/components/TaskGroupParser/TaskGroupParser.d.ts +3 -0
- package/dist/types/adaptiveWorkflow/components/types.d.ts +65 -17
- package/dist/types/api/adaptive/adaptiveWorkflow.types.d.ts +15 -0
- package/dist/types/api/adaptive/useAdaptiveWorkflow.d.ts +4 -0
- package/dist/types/api/check/useCheck.d.ts +3 -9
- package/dist/types/api/companySearch/useCompanySearch.d.ts +1 -7
- package/dist/types/api/companySelection/companySelection.types.d.ts +5 -2
- package/dist/types/api/queryKeys.d.ts +2 -3
- package/dist/types/api/tinVerification/useVerifyTin.d.ts +1 -6
- package/dist/types/components/Apps/tasks/TaskList/TaskList.d.ts +1 -1
- package/dist/types/components/BankAccount/forms/BankDocument/BankDocumentClassification.d.ts +1 -0
- package/dist/types/components/BankAccount/forms/BankDocument/types.d.ts +1 -0
- package/dist/types/components/BankAccount/forms/PayoutDetails/PayoutDetailsMultiform.d.ts +31 -1
- package/dist/types/components/BankAccount/forms/PayoutDetails/rules.d.ts +2 -2
- package/dist/types/components/BankAccount/mapping/payoutKeyMappings.d.ts +25 -25
- package/dist/types/components/Business/forms/BasicInformation/BasicInformation.d.ts +1 -1
- package/dist/types/components/Business/forms/BasicInformation/types.d.ts +2 -0
- package/dist/types/components/Business/forms/rules.d.ts +19 -7
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/types.d.ts +0 -1
- package/dist/types/components/Business/utils/buildRequiredForms.d.ts +23 -0
- package/dist/types/components/Business/utils/utils.d.ts +13 -0
- package/dist/types/components/EFP/mapping/businessFinancingKeyMappings.d.ts +447 -447
- package/dist/types/components/EmbeddedDropins/AdaptiveWorkflowComponent/AdaptiveWorkflowComponent.d.ts +7 -0
- package/dist/types/components/Individual/forms/Individual.rules.d.ts +2 -2
- package/dist/types/components/Shared/FormNavigation/FormNavigationItem.d.ts +1 -1
- package/dist/types/components/Shared/Introduction/Introduction.d.ts +1 -1
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/registrationNumberTypes.d.ts +4 -4
- package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
- package/dist/types/components/Shared/forms/BusinessTypeSelection/BusinessTypeSelection.d.ts +1 -1
- package/dist/types/components/Trust/forms/Trust/rules.d.ts +2 -2
- package/dist/types/components/ui/atoms/Checkbox/Checkbox.d.ts +1 -1
- package/dist/types/components/ui/atoms/Field/Field.d.ts +1 -1
- package/dist/types/components/ui/atoms/InputBase/InputBase.d.ts +1 -1
- package/dist/types/components/ui/atoms/Modal/Modal.d.ts +1 -1
- package/dist/types/components/ui/atoms/Modal/Modal.types.d.ts +5 -4
- package/dist/types/components/ui/atoms/Radio/Radio.d.ts +1 -1
- package/dist/types/components/ui/atoms/RadioGroup/RadioGroup.d.ts +1 -1
- package/dist/types/components/ui/molecules/Dropzone/Dropzone.d.ts +1 -1
- package/dist/types/components/ui/molecules/Dropzone/DropzoneFile.d.ts +1 -1
- package/dist/types/components/ui/molecules/Dropzone/FilePicker.d.ts +1 -1
- package/dist/types/context/ToggleContext/types.d.ts +0 -4
- package/dist/types/context/WorkflowContext/WorkflowContext.d.ts +11 -0
- package/dist/types/context/WorkflowContext/WorkflowContextProvider.d.ts +9 -0
- package/dist/types/context/WorkflowContext/useWorkflowContext.d.ts +1 -0
- package/dist/types/core/EmbedShell/EmbedShell.d.ts +1 -0
- package/dist/types/embeds/onboarding-workflow/adyen-onboarding-workflow.d.ts +2 -0
- package/dist/types/embeds/onboarding-workflow/adyen-onboarding-workflow.types.d.ts +33 -0
- package/dist/types/router/routeConfig.d.ts +2 -2
- package/dist/types/utils/entityStatusUtil.d.ts +1 -1
- package/dist/types-B_GKWcEZ.js +58 -0
- package/dist/types-CvTg7nL1.js +158 -0
- package/dist/upload-hnGE-ssH.js +23 -0
- package/dist/uppercase-ClG7c-t9.js +7 -0
- package/dist/useAccountHolder-qrG5pzdN.js +102 -0
- package/dist/useAllowedCountries-BAeKLH61.js +74 -0
- package/dist/useAnalyticsContext-D6DJZmqu.js +12 -0
- package/dist/useAssociatedLegalEntity-BGQ6cYIB.js +35 -0
- package/dist/useBusinessDetailsData-BvRiBknx.js +4527 -0
- package/dist/useBusinessLines-cI-M9B-y.js +27 -0
- package/dist/useCapabilities-DtrmUEO6.js +12 -0
- package/dist/useCreateLegalEntity-jSFh42K4.js +24 -0
- package/dist/useDataMissingRemediations-B_Yh6xSA.js +39 -0
- package/dist/useDataset-BfSb3OFK.js +96 -0
- package/dist/useDeleteTransferInstrument-B3daHiIc.js +31 -0
- package/dist/useForm-bP74zzsw.js +502 -0
- package/dist/useFormContext-nr__Cvkn.js +442 -0
- package/dist/useGlobalData-kCF9O1er.js +35 -0
- package/dist/useIndustryCodes-UxfJAgIy.js +32 -0
- package/dist/useLegalEntity-CJD0bWSj.js +48 -0
- package/dist/useMultiForm-BP_UxwIw.js +765 -0
- package/dist/useNavigate-kfEQllGp.js +269 -0
- package/dist/useOnboardingStatus-DdAJciYw.js +23 -0
- package/dist/usePciQuestionnaireList-BYjtj3VN.js +26 -0
- package/dist/useSalesChannels-D_zX0rBd.js +47 -0
- package/dist/useTaskLandedEvent-BC_AIUoQ.js +23 -0
- package/dist/useTaskStatus-BzC5sEXT.js +23 -0
- package/dist/useTermsOfServiceStatus-BEnd0oh0.js +39 -0
- package/dist/useToastContext-d6uY8F_F.js +12 -0
- package/dist/useTrustMembers-BzDYlbbF.js +152 -0
- package/dist/useUnincorporatedPartnershipMembers-rr3GdonJ.js +70 -0
- package/dist/useUpdateBusinessLines-Cb4l4EVO.js +271 -0
- package/dist/useUpdateLegalEntity-24uhTBvq.js +29 -0
- package/dist/utils-BbusgEMl.js +32 -0
- package/dist/utils-BkkjRLzb.js +188 -0
- package/dist/utils-DJiLPA9H.js +2472 -0
- package/dist/utils-g2Ds-zYM.js +805 -0
- package/dist/utils-k_FCPeM1.js +207 -0
- package/dist/validate-C7hePE7m.js +411 -0
- package/dist/validate-Cmbqq1fk.js +381 -0
- package/dist/validationError-Au-8gBsy.js +68 -0
- package/dist/validationResult-DRX7pADt.js +57 -0
- package/dist/warning-circle-fill-BjxM4aj1.js +30 -0
- package/dist/warning-diamond-filled-CtCJ9xf8.js +30 -0
- package/dist/webinar-D_daN2X8.js +33 -0
- package/package.json +15 -15
- package/dist/4-people-pf4NP1lf.js +0 -35
- package/dist/AcceptTermsOfServiceComponent-Bgr4lpJD.js +0 -652
- package/dist/AcceptTermsOfServiceComponent-DUE5d8Xw.js +0 -6
- package/dist/Accordion-Ces4MlyX.js +0 -111
- package/dist/AccountSetupRejected-CSXkA3my.js +0 -19
- package/dist/Adaptive-DhnDcp-n.js +0 -160
- package/dist/AdaptiveComponent-CsBDQKI_.js +0 -109
- package/dist/Address-DHpRtLqT.js +0 -593
- package/dist/Alert-DGt_tas2.js +0 -170
- package/dist/AnalyticsContext-zvlAxIPp.js +0 -73
- package/dist/Avatar-BZ1R_63Q.js +0 -54
- package/dist/BusinessFinancingDropin-DUCvP2dG.js +0 -1804
- package/dist/BusinessFinancingPage-Cr9yaD69.js +0 -87
- package/dist/BusinessTypeSelectionPage-sd8Vzgg8.js +0 -436
- package/dist/Button-BrEOD5gK.js +0 -189
- package/dist/Checkbox-DH-0zfp7.js +0 -55
- package/dist/Confirm-DL6vIvKe.js +0 -76
- package/dist/ConstitutionalDocument-BThMfw4e.js +0 -2276
- package/dist/ContactDetails-BU2ElDOi.js +0 -288
- package/dist/ContextGuidance-CA7_5gQw.js +0 -29
- package/dist/CountryField-EbJX8wdL.js +0 -38
- package/dist/Currency-Bxhwn4-R.js +0 -191
- package/dist/CustomerSupport-HkiKZEYW.js +0 -129
- package/dist/DebugModal-DExvk4dy.js +0 -454
- package/dist/DecisionMakerDetails-DyR9_XXn.js +0 -469
- package/dist/DecisionMakerDetailsPage-BBA2rDmK.js +0 -103
- package/dist/DecisionMakers-DOWJzT2g.js +0 -578
- package/dist/Dropzone-BX5P1wWl.js +0 -236
- package/dist/EmbeddedStatus-Dqa3hRtl.js +0 -128
- package/dist/EndStateLayout-Dz4uTeoO.js +0 -84
- package/dist/EntityAssociation-C3qUz5m6.js +0 -163
- package/dist/ErrorPanel-Dk42PPew.js +0 -185
- package/dist/Field-DH3pDFxY.js +0 -155
- package/dist/FormNavigation-CAHXxOjj.js +0 -116
- package/dist/Header-Bc32XYD-.js +0 -93
- package/dist/Image-DuhCij-a.js +0 -33
- package/dist/Individual.rules-DAGFscPf.js +0 -296
- package/dist/IndividualDropin-CoFrqLJS.js +0 -4970
- package/dist/InputDate-Xy7Hd1Yr.js +0 -52
- package/dist/InputText--skSkkLS.js +0 -119
- package/dist/Introduction-BY-vSd9f.js +0 -271
- package/dist/InvitedDecisionMakerComponent-BHeQqvZB.js +0 -373
- package/dist/InvitedDecisionMakerComponent-DfCaWFmr.js +0 -6
- package/dist/JpAddress-Cu0GrB7W.js +0 -322
- package/dist/LandingLayout-CTuu3qMV.js +0 -76
- package/dist/LegalCompanyNameField-BPxj9SCn.js +0 -108
- package/dist/LegalRepresentativeDetailsPage-DIRBGYVF.js +0 -73
- package/dist/Link-ClFY-8_3.js +0 -32
- package/dist/ListItem-D3SGCEV9.js +0 -70
- package/dist/LoaderWrapper-D2BBZC6k.js +0 -34
- package/dist/MaskedInput-CmhKzOh9.js +0 -715
- package/dist/MaybeModal-BAH1s4oi.js +0 -24
- package/dist/Modal-TA-i9JLs.js +0 -129
- package/dist/Name-CaEi9FTW.js +0 -61
- package/dist/NewSummary-tGYwyb6d.js +0 -72
- package/dist/PayoutDetailsDropin-CbOc7C6g.js +0 -3897
- package/dist/PayoutDetailsPage-BnxHbDog.js +0 -859
- package/dist/RadioGroup-DBDwVQAX.js +0 -84
- package/dist/Review-O6q9UkXW.js +0 -99
- package/dist/RootBusinessDetailsPage-C7ZVYlZu.js +0 -69
- package/dist/RootBusinessLinesPage-B36Go9y-.js +0 -1452
- package/dist/RootIndividualDetailsPage-CPR5KEg5.js +0 -81
- package/dist/Select-C1GpSzF4.js +0 -777
- package/dist/SignPCIComponent-6OfnlsOU.js +0 -367
- package/dist/SignPCIComponent-DiENrKGE.js +0 -6
- package/dist/SingpassSelection-BX3WP2ZK.js +0 -159
- package/dist/SoleProprietorshipPage-DNkZcJm2.js +0 -69
- package/dist/SourceOfFundsPage-Xnr8yqoM.js +0 -1989
- package/dist/StepProgressIndicator-DN6OWQkE.js +0 -80
- package/dist/StructuredList-UlwDK_PO.js +0 -56
- package/dist/Summary-BZsoj_KC.js +0 -226
- package/dist/TaskListItem-3C5vCTFS.js +0 -122
- package/dist/TaskVerificationStatus-o58AmswI.js +0 -118
- package/dist/TaxInformationField-D97gtrY1.js +0 -2911
- package/dist/TaxReportingDropin-D0d6xsfQ.js +0 -475
- package/dist/TextArea-CYCYp7xn.js +0 -80
- package/dist/TileGroup-DOMdFBNc.js +0 -170
- package/dist/ToastContext-DYDlziHA.js +0 -13
- package/dist/ToastContextProvider-BACK2Fdv.js +0 -103
- package/dist/TrustDetailsPage-MPb-zKBt.js +0 -1675
- package/dist/TrustMemberCompanyPage-DUgfXuYR.js +0 -107
- package/dist/TrustMemberIndividualPage-riL0b42y.js +0 -107
- package/dist/TrustMemberRoleAndTypePage-Dohh-Fk5.js +0 -953
- package/dist/TrustMembersOverview-CVS43fPZ.js +0 -433
- package/dist/UnincorporatedPartnershipIndividualPage-C8M9bosG.js +0 -78
- package/dist/UnincorporatedPartnershipMemberCompanyPage-K9wS8tYh.js +0 -78
- package/dist/UnincorporatedPartnershipMemberRoleAndTypePage-B6UMZmvr.js +0 -276
- package/dist/UnincorporatedPartnershipMembersOverview-DeXkQfpG.js +0 -159
- package/dist/VerificationErrorAlert-rxIxZG_9.js +0 -38
- package/dist/arrow-right-t9gjd0_1.js +0 -20
- package/dist/bag-X-x8sTar.js +0 -20
- package/dist/bank-CkMDQo8F.js +0 -20
- package/dist/bin-DuY2IGyM.js +0 -30
- package/dist/capital-D0BT5srI.js +0 -23
- package/dist/cash-stack-BcbKuQfb.js +0 -33
- package/dist/certificate-BW_onLEN.js +0 -23
- package/dist/checkmark-DIoMBYD9.js +0 -20
- package/dist/checkmark-circle-ZobbZzUD.js +0 -28
- package/dist/checkmark-circle-fill-CvOazmuB.js +0 -30
- package/dist/checkmark-small-Dg5IeBa_.js +0 -20
- package/dist/chevron-down-fWn5K8fS.js +0 -20
- package/dist/chevron-left-CW5eLDmk.js +0 -20
- package/dist/chevron-right-BduKABNm.js +0 -20
- package/dist/chevron-up-Bcudvnw1.js +0 -20
- package/dist/circle-DJ8T0FZz.js +0 -30
- package/dist/circle-small-filled-vh26rMkg.js +0 -20
- package/dist/clock-D1Tmx-XS.js +0 -28
- package/dist/coins-eLHKq334.js +0 -30
- package/dist/commonValidators-BTQi3Wp7.js +0 -18
- package/dist/contract-B-9ytI8-.js +0 -20
- package/dist/cross-CNLiD-KS.js +0 -20
- package/dist/cross-circle-fill-CzoorC08.js +0 -30
- package/dist/cross-circle-fill-small-B4ruaMps.js +0 -20
- package/dist/document-1-CxaeyKLc.js +0 -20
- package/dist/document-person-D2eHDmpC.js +0 -28
- package/dist/download-CMIVE8tw.js +0 -23
- package/dist/dropinUtils-DXD6popt.js +0 -275
- package/dist/edit-1-CGbUb6L6.js +0 -20
- package/dist/en-US-D6JIGFbm.js +0 -7
- package/dist/en-US-DPnnq8LY.js +0 -7
- package/dist/external-link-DYiunPV0.js +0 -20
- package/dist/formUtils-C0FUvDnF.js +0 -78
- package/dist/getProblemsForEntity-BY9SUWeG.js +0 -16
- package/dist/gift-DHXxWwDY.js +0 -20
- package/dist/globalStore-2edP5P62.js +0 -419
- package/dist/graph-CYyHScmR.js +0 -32
- package/dist/graph-up-Cj6w6u5a.js +0 -38
- package/dist/headquarter-L2tqxR2a.js +0 -42
- package/dist/hotel-DSymFUyC.js +0 -33
- package/dist/http-BDgJ4fhh.js +0 -149
- package/dist/image-BVFb1Gtj.js +0 -23
- package/dist/info-Dm7uBQv2.js +0 -32
- package/dist/info-filled-CTRhkYum.js +0 -32
- package/dist/invalidateRootLegalEntity-LIw-_KWy.js +0 -45
- package/dist/isEmpty-BTcVP5E1.js +0 -14
- package/dist/localizeDateString-7bO078Ss.js +0 -35
- package/dist/location-CdgN0pnx.js +0 -23
- package/dist/mail-Bypo2PCr.js +0 -20
- package/dist/mapExistingFile-7mSnnqOH.js +0 -187
- package/dist/mapJpAddressSchemaToAddressLocalizations-TFQs1Dg9.js +0 -61
- package/dist/mapLegalEntityToIndividualSchema-CX0w2PMw.js +0 -206
- package/dist/mapTransferInstrumentToPayoutAccount-T3EtwXeR.js +0 -44
- package/dist/minus-circle-filled-WSGE88qh.js +0 -30
- package/dist/omitObscuredFieldsIfUnchanged-CQW8S0JV.js +0 -20
- package/dist/options-horizontal-DQCtn5hi.js +0 -30
- package/dist/partner-CcwpM9K1.js +0 -30
- package/dist/pay-by-link-plane-Daf-NHRl.js +0 -33
- package/dist/payout-XXi2yylB.js +0 -38
- package/dist/person-BEo7eKOz.js +0 -23
- package/dist/phonePrefixes-BfCqI-jf.js +0 -252
- package/dist/plus-C6_ECEwS.js +0 -20
- package/dist/plus-circle-filled-DWqwz8on.js +0 -30
- package/dist/process-field-configurations-B4XWnUpM.js +0 -279
- package/dist/processCapabilities-CI_g2ItO.js +0 -869
- package/dist/recurring-DAkr3oMm.js +0 -23
- package/dist/resolveEnvironment-D6oP3mRT.js +0 -983
- package/dist/revenue-accelerate-bZDjTfKp.js +0 -30
- package/dist/save-BP3zoyVR.js +0 -20
- package/dist/search-B9kh99sz.js +0 -30
- package/dist/show-tcSq1sNX.js +0 -23
- package/dist/solution-payments-DLgSZCop.js +0 -20
- package/dist/store-CBlL6Onf.js +0 -20
- package/dist/styles-BKENkxA3.js +0 -5909
- package/dist/terminal-1-BzltlB2C.js +0 -30
- package/dist/translation-HjimzbDK.js +0 -854
- package/dist/types/adaptiveWorkflow/components/Adaptive.d.ts +0 -4
- package/dist/types/api/adaptive/useAwe.d.ts +0 -4
- package/dist/types/components/BankAccount/forms/PayoutDetails/PayoutDetails.d.ts +0 -35
- package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/PayoutDetailsDropin.d.ts +0 -2
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/utils.d.ts +0 -26
- package/dist/types/components/Business/utils/companyUtil.d.ts +0 -11
- package/dist/types/components/EmbeddedDropins/AdaptiveComponent/AdaptiveComponent.d.ts +0 -1
- package/dist/types/embeds/adaptive/adyen-adaptive.d.ts +0 -2
- package/dist/types/embeds/adaptive/adyen-adaptive.types.d.ts +0 -33
- package/dist/types-DNJs8sHQ.js +0 -68
- package/dist/types-DjplYXLf.js +0 -58
- package/dist/upload-CTc8qjnY.js +0 -23
- package/dist/useAccountHolder-6TPlcqyH.js +0 -102
- package/dist/useAllowedCountries-BlHxbIpB.js +0 -74
- package/dist/useAnalyticsContext-Msf0gvuf.js +0 -12
- package/dist/useAssociatedLegalEntity-xWnfp2eN.js +0 -35
- package/dist/useBusinessDetailsData-yIeDfSst.js +0 -4499
- package/dist/useBusinessLines-DuRYAkAE.js +0 -27
- package/dist/useCapabilities-YYheEPFp.js +0 -12
- package/dist/useCreateLegalEntity-uE43-Xhu.js +0 -24
- package/dist/useDataMissingRemediations-05QsWWcI.js +0 -39
- package/dist/useDataset-Co6Vpe7u.js +0 -96
- package/dist/useDeleteTransferInstrument-TIkBJmTf.js +0 -31
- package/dist/useForm-Cjnros8r.js +0 -502
- package/dist/useFormContext-erwyg3F-.js +0 -178
- package/dist/useGlobalData-CSApTV7U.js +0 -164
- package/dist/useLegalEntity-CX0N5ETD.js +0 -48
- package/dist/useMultiForm-B3DLUWOF.js +0 -754
- package/dist/useNavigate-lvA_JFXS.js +0 -269
- package/dist/useOnboardingStatus-DAMf0JnJ.js +0 -23
- package/dist/usePciQuestionnaireList-BGjhKYzP.js +0 -26
- package/dist/useSalesChannels-CLB1FylG.js +0 -47
- package/dist/useTaskLandedEvent-8cYtcGCo.js +0 -23
- package/dist/useTaskStatus-CPUCJFDl.js +0 -23
- package/dist/useTermsOfServiceStatus-DrcRGxab.js +0 -39
- package/dist/useToastContext-DDhNMXJE.js +0 -12
- package/dist/useTrustMembers-TW_OQBdM.js +0 -152
- package/dist/useUnincorporatedPartnershipMembers-CAj9nWt7.js +0 -70
- package/dist/useUpdateBusinessLines-Ku_fF52H.js +0 -296
- package/dist/useUpdateLegalEntity-DI6qQfWN.js +0 -29
- package/dist/utils-ClQMN7UN.js +0 -188
- package/dist/utils-DFcH1V_N.js +0 -207
- package/dist/utils-DTTgws8w.js +0 -805
- package/dist/validate-DMLWa4sP.js +0 -411
- package/dist/validate-DTgOds13.js +0 -381
- package/dist/validationError-G6B3LzrO.js +0 -68
- package/dist/validationResult-u287uC6N.js +0 -57
- package/dist/warning-circle-fill-C6I6QXDZ.js +0 -30
- package/dist/warning-diamond-filled-Bh7Hc8w-.js +0 -30
- package/dist/webinar-Dgpmntvu.js +0 -33
- /package/dist/{AD-Dz8oe6Pg.js → AD-5Egi3flE.js} +0 -0
- /package/dist/{AE-CTdU1tzb.js → AE-DJ-lRyPg.js} +0 -0
- /package/dist/{AI-tjrpVbOw.js → AI-ZfbxJFtE.js} +0 -0
- /package/dist/{AL-DvyI05UB.js → AL-UBVZZlDX.js} +0 -0
- /package/dist/{AR-DI6rdPa-.js → AR-B9C4Nibz.js} +0 -0
- /package/dist/{AS-ByXIuSCx.js → AS-CFb876zC.js} +0 -0
- /package/dist/{AT-CvSbaCoE.js → AT-C8MN2Fns.js} +0 -0
- /package/dist/{AT-CutjdISu.js → AT-CJDibmrN.js} +0 -0
- /package/dist/{AT-DYSevBIw.js → AT-Do46gW4G.js} +0 -0
- /package/dist/{AT-Dt3ZU8Yh.js → AT-DsogulXO.js} +0 -0
- /package/dist/{AU-DzJ7QlNR.js → AU--MSKgcDY.js} +0 -0
- /package/dist/{AU-CLU0Xn_D.js → AU-CDh6E7PE.js} +0 -0
- /package/dist/{AU-EWPyqdHL.js → AU-DNxKMzJs.js} +0 -0
- /package/dist/{AU-C6u3aod7.js → AU-DfV_PeBe.js} +0 -0
- /package/dist/{AX-DJ84WiiY.js → AX-DxAmGTy-.js} +0 -0
- /package/dist/{AZ-o_CDsMs4.js → AZ-DRkABvzg.js} +0 -0
- /package/dist/{BA-DL2O-nPB.js → BA-xlw8xj7W.js} +0 -0
- /package/dist/{BE-DgU3CTNg.js → BE-8eQ7Am1Y.js} +0 -0
- /package/dist/{BE-CT0bdDbu.js → BE-BGioJIMA.js} +0 -0
- /package/dist/{BE-CyRTa5vY.js → BE-BQ4olBdk.js} +0 -0
- /package/dist/{BE-7F1ZOUtb.js → BE-yocZ_S-V.js} +0 -0
- /package/dist/{BG-B7VMgZNt.js → BG-AfIdXJGJ.js} +0 -0
- /package/dist/{BH-Bot1MlCL.js → BH-CKPBbT8v.js} +0 -0
- /package/dist/{BM-CfbbOZEU.js → BM-DMmpYJ5S.js} +0 -0
- /package/dist/{BR-BikIex5m.js → BR-B8NzP1QV.js} +0 -0
- /package/dist/{BR-PBodf94A.js → BR-CmwW2wlc.js} +0 -0
- /package/dist/{BR-BaEKrqwp.js → BR-D2pNPrYB.js} +0 -0
- /package/dist/{BR-DrGkuPBg.js → BR-Iin-FtVm.js} +0 -0
- /package/dist/{BS-CR7QZvMY.js → BS-h2g8V4eH.js} +0 -0
- /package/dist/{BV-pdJ1HYkg.js → BV-Br568icW.js} +0 -0
- /package/dist/{BY-RUR9XmBt.js → BY-DNb6l2Rg.js} +0 -0
- /package/dist/{CA-CgOysQQa.js → CA-BT05x8jm.js} +0 -0
- /package/dist/{CA-Bilo42jc.js → CA-Cc0GuXLd.js} +0 -0
- /package/dist/{CA-BM1GlX51.js → CA-DBQywpjY.js} +0 -0
- /package/dist/{CA-6iRpP8zm.js → CA-DJVSS-DB.js} +0 -0
- /package/dist/{CH-HrO9afDv.js → CH-BL-4faPY.js} +0 -0
- /package/dist/{CH-CmSkzRbO.js → CH-Bd1miMrE.js} +0 -0
- /package/dist/{CH-BZ2dJJcd.js → CH-C9Z3X6np.js} +0 -0
- /package/dist/{CH-gKI7wttp.js → CH-DFD2JLw3.js} +0 -0
- /package/dist/{CN-BUtZk2Mu.js → CN-5HinUnnB.js} +0 -0
- /package/dist/{CR-CnpHHfms.js → CR-PaLZQtHA.js} +0 -0
- /package/dist/{CY-Ge_L3SKC.js → CY-B85njNYI.js} +0 -0
- /package/dist/{CZ-Cxwo_jP6.js → CZ-4dIb_N3l.js} +0 -0
- /package/dist/{CZ-C1HmDbqn.js → CZ-BKdY5FmV.js} +0 -0
- /package/dist/{CZ-I8UM9ti_.js → CZ-BbtlKoCl.js} +0 -0
- /package/dist/{CZ-B8b5P2Or.js → CZ-Dxmb6KsV.js} +0 -0
- /package/dist/{ContractViewer-CPZOH1vV.js → ContractViewer-B8CspWV4.js} +0 -0
- /package/dist/{DE-HSEDrUfG.js → DE--Q5XezyA.js} +0 -0
- /package/dist/{DE-C2MEdoRW.js → DE-DCHis7y4.js} +0 -0
- /package/dist/{DE-CSMMxMuZ.js → DE-DQc4ncaM.js} +0 -0
- /package/dist/{DE-pQVkh64s.js → DE-DmEk0oIa.js} +0 -0
- /package/dist/{DK-mVm8rtJr.js → DK-BjD2emK5.js} +0 -0
- /package/dist/{DK-dsRhTFow.js → DK-Bt_PCcFy.js} +0 -0
- /package/dist/{DK-TyxXs-DV.js → DK-CdG4hfv7.js} +0 -0
- /package/dist/{DK-BCcPGFzQ.js → DK-DAzVnb1J.js} +0 -0
- /package/dist/{DO-B84eOniD.js → DO-BF7Pa_tN.js} +0 -0
- /package/dist/{DetailViewLayout-Dd5YzmcW.js → DetailViewLayout-H4b1E5Ih.js} +0 -0
- /package/dist/{Divider-DMwncntz.js → Divider-DHTBXv3p.js} +0 -0
- /package/dist/{EC-BAzODm77.js → EC-D6uEW2wn.js} +0 -0
- /package/dist/{EE-D2n6E72J.js → EE-W5m__hus.js} +0 -0
- /package/dist/{ES-D4WzOTek.js → ES-BdmgiBzc.js} +0 -0
- /package/dist/{ES-BI7auc_D.js → ES-BwwPYP5y.js} +0 -0
- /package/dist/{ES-DnRoTFNh.js → ES-DjYy5Dao.js} +0 -0
- /package/dist/{ES-CsmTJRIi.js → ES-_cqCzBUa.js} +0 -0
- /package/dist/{FI-CZ6ep3W_.js → FI-5ySk5gAz.js} +0 -0
- /package/dist/{FI-YOhI9TrO.js → FI-DwaCO8nT.js} +0 -0
- /package/dist/{FI-DhWyH1DT.js → FI-VPvgt4LP.js} +0 -0
- /package/dist/{FI-DJZScc7l.js → FI-Z0tGRjwl.js} +0 -0
- /package/dist/{FJ-BcqfFVGi.js → FJ-CBPM7BcM.js} +0 -0
- /package/dist/{FO-BuQb8zK_.js → FO-CSvRPbA1.js} +0 -0
- /package/dist/{FR-CWb0_Fcq.js → FR-B876n3-B.js} +0 -0
- /package/dist/{FR-SxebWfwR.js → FR-CBB06Fnq.js} +0 -0
- /package/dist/{FR-DYfYAn5S.js → FR-RdDRKklk.js} +0 -0
- /package/dist/{FR-EX-aYUJ3.js → FR-bMNYTLCL.js} +0 -0
- /package/dist/{GB-DlvvuQuQ.js → GB--UVnRIRj.js} +0 -0
- /package/dist/{GB-CszgE98l.js → GB-Bxb4fPxG.js} +0 -0
- /package/dist/{GB-q2GO1nX8.js → GB-FU65v6fQ.js} +0 -0
- /package/dist/{GB-BycqX1ng.js → GB-IJ-Iz5qv.js} +0 -0
- /package/dist/{GE-ChK3V1hi.js → GE-xaMHflrU.js} +0 -0
- /package/dist/{GF-fTBjIC0q.js → GF-CrDxyG5C.js} +0 -0
- /package/dist/{GG-Cppga3Z4.js → GG-DEqoBorh.js} +0 -0
- /package/dist/{GI-Cm7N6fbE.js → GI-Turkle4q.js} +0 -0
- /package/dist/{GL-C75JniJw.js → GL-BnDhUcrF.js} +0 -0
- /package/dist/{GP-DhHOAa8k.js → GP-Dp65xTqP.js} +0 -0
- /package/dist/{GR-zOZilI5v.js → GR-3L3XhlH2.js} +0 -0
- /package/dist/{GT-B6tGLPxx.js → GT-BhKx5dln.js} +0 -0
- /package/dist/{GU-DjjJkDVU.js → GU-Bgc9EY1W.js} +0 -0
- /package/dist/{HK-BXsi3wQZ.js → HK-BmygOotV.js} +0 -0
- /package/dist/{HK-CVaMk2Vl.js → HK-DClfjKdQ.js} +0 -0
- /package/dist/{HK-Yj_9Qbs3.js → HK-DUMxc2EI.js} +0 -0
- /package/dist/{HK-Bs3Wsh4t.js → HK-kFldIGd7.js} +0 -0
- /package/dist/{HR-BR9TaCeP.js → HR-BZ1pGUfO.js} +0 -0
- /package/dist/{HR-8jCYyclY.js → HR-BquBLtSA.js} +0 -0
- /package/dist/{HR-DvG9lG0o.js → HR-C57WjbJ_.js} +0 -0
- /package/dist/{HR-C-NuIOkA.js → HR-CmnsEDnL.js} +0 -0
- /package/dist/{HU-DF7a_-3t.js → HU-3HXta-l8.js} +0 -0
- /package/dist/{HU-o4ILK6JM.js → HU-BPcrEuPH.js} +0 -0
- /package/dist/{HU-B4hChLQO.js → HU-CErZJI70.js} +0 -0
- /package/dist/{HU-kkbB9HNQ.js → HU-DnRWaWkm.js} +0 -0
- /package/dist/{ID-CnOsjpEC.js → ID-BpqDcVc4.js} +0 -0
- /package/dist/{IE-B3ysSG_S.js → IE-CZOtplG-.js} +0 -0
- /package/dist/{IE-dmyHscm0.js → IE-auhNSIUT.js} +0 -0
- /package/dist/{IE-Dwlg9nat.js → IE-dduN0_TO.js} +0 -0
- /package/dist/{IE-CtesijIU.js → IE-nHDHO00_.js} +0 -0
- /package/dist/{IL-B2GfQOoK.js → IL-C0zsRw_j.js} +0 -0
- /package/dist/{IM-D9Hb0nwZ.js → IM-DimZdCV2.js} +0 -0
- /package/dist/{IN-Qhys3xn2.js → IN-drNlZVBZ.js} +0 -0
- /package/dist/{IS-DTXiGHYB.js → IS-BdfP-REC.js} +0 -0
- /package/dist/{IT-BZGkLCTQ.js → IT-BCxMd7Y7.js} +0 -0
- /package/dist/{IT-Dimtibs1.js → IT-CNf1MrI-.js} +0 -0
- /package/dist/{IT-CHV5-m07.js → IT-DF6ZO-i8.js} +0 -0
- /package/dist/{IT-DFeNc5UK.js → IT-Dc9lHBRw.js} +0 -0
- /package/dist/{InputGroup-CVYzCygf.js → InputGroup-2FJnD0LO.js} +0 -0
- /package/dist/{JE-D7_0MZEA.js → JE-BBO3NuzB.js} +0 -0
- /package/dist/{JM-CUVKn5To.js → JM-BzHoUe13.js} +0 -0
- /package/dist/{JO-B9_bPqbF.js → JO-fffBmbX2.js} +0 -0
- /package/dist/{JP-z_PjepRf.js → JP-Dv9kCG6P.js} +0 -0
- /package/dist/{KR-DaFOJAbV.js → KR-K1u4NuUE.js} +0 -0
- /package/dist/{KW-BLH4fj8S.js → KW-DBYFEC0m.js} +0 -0
- /package/dist/{KY-DG3Xehmz.js → KY-DvnPgYGT.js} +0 -0
- /package/dist/{KZ-BjnXKq2l.js → KZ-DX8lqaut.js} +0 -0
- /package/dist/{LB-CY5c_gqN.js → LB-DuXl_nIj.js} +0 -0
- /package/dist/{LI-BkFK_qrZ.js → LI-BcYzGJ7k.js} +0 -0
- /package/dist/{LT-BV7s3TCv.js → LT-BYZkkL9O.js} +0 -0
- /package/dist/{LT--zST1zqj.js → LT-BfApaHFI.js} +0 -0
- /package/dist/{LT-2wka4qNS.js → LT-ZF-q0fXm.js} +0 -0
- /package/dist/{LT-BxqPzqgf.js → LT-rnUOqZje.js} +0 -0
- /package/dist/{LU-Bt4sIWIT.js → LU-xxaAcEvQ.js} +0 -0
- /package/dist/{LV-B-FeTyBQ.js → LV-BdlQTl8C.js} +0 -0
- /package/dist/{List-CV1oIvRM.js → List-DLrcpMVd.js} +0 -0
- /package/dist/{MC-D92BHmGr.js → MC-CaqkAF9O.js} +0 -0
- /package/dist/{MD-BzJaxo1n.js → MD-DPht_MRT.js} +0 -0
- /package/dist/{ME-Iw66DM2s.js → ME-Dc5I5KtD.js} +0 -0
- /package/dist/{MK-yRjMHvLF.js → MK-Bn1G050Q.js} +0 -0
- /package/dist/{MP-CGHoAYPz.js → MP-WG5-be9t.js} +0 -0
- /package/dist/{MQ-Db73c-TY.js → MQ-BX_woiN5.js} +0 -0
- /package/dist/{MR-CzGlj8ce.js → MR-B4o-Woej.js} +0 -0
- /package/dist/{MT-n0Cp6O8-.js → MT-BitdMyNy.js} +0 -0
- /package/dist/{MU-C57EyXfP.js → MU-5mV1nkVk.js} +0 -0
- /package/dist/{MX-JSUPc6V8.js → MX-BV0FI9pL.js} +0 -0
- /package/dist/{MY-Bbgpg3w2.js → MY-BovUrLi6.js} +0 -0
- /package/dist/{NC-BeqCqe7o.js → NC--rMtvPxR.js} +0 -0
- /package/dist/{NL-KVjpCVaw.js → NL-BA3EKW3x.js} +0 -0
- /package/dist/{NL-C1r7ND7d.js → NL-D3keMKVJ.js} +0 -0
- /package/dist/{NL-CIX2R11u.js → NL-DpEm6S8e.js} +0 -0
- /package/dist/{NL-B22K1Zb0.js → NL-Dt1MHEvX.js} +0 -0
- /package/dist/{NO-CFty2TsC.js → NO-BRw0ivbK.js} +0 -0
- /package/dist/{NO-BhYtIUv1.js → NO-Dst-DnZ8.js} +0 -0
- /package/dist/{NO-DLFLW3I8.js → NO-VE7Sc2IM.js} +0 -0
- /package/dist/{NO-CV0UtHqk.js → NO-ltxTSAKY.js} +0 -0
- /package/dist/{NZ-ClQC7uEQ.js → NZ-CJ_5Z1en.js} +0 -0
- /package/dist/{NZ-DZ75lvmW.js → NZ-SQBwX6Hq.js} +0 -0
- /package/dist/{PE-BhP-iF08.js → PE-CcE7NUNY.js} +0 -0
- /package/dist/{PF-DZJu8LvP.js → PF-CTHFNBfG.js} +0 -0
- /package/dist/{PH-8s_pcD1T.js → PH-BJvKdyQF.js} +0 -0
- /package/dist/{PK-BkHx9Wu7.js → PK-CmxTai7F.js} +0 -0
- /package/dist/{PL-oVwazamy.js → PL-BK2Asw5F.js} +0 -0
- /package/dist/{PL-CZ0JZlv4.js → PL-BT907618.js} +0 -0
- /package/dist/{PL-Db0WKekw.js → PL-Byz7Yqkt.js} +0 -0
- /package/dist/{PL-DjTZTZqB.js → PL-Cgkoario.js} +0 -0
- /package/dist/{PM-Bcq0SkSj.js → PM-CPOzzt0L.js} +0 -0
- /package/dist/{PR-N31WZxLD.js → PR-squ319V4.js} +0 -0
- /package/dist/{PS-DzthwPAx.js → PS-CspEbZTU.js} +0 -0
- /package/dist/{PT-C6fd2w3g.js → PT-CT-kaH57.js} +0 -0
- /package/dist/{PT-BVfq_KIl.js → PT-CiRGWIB7.js} +0 -0
- /package/dist/{PT-ilpiMMVG.js → PT-DAsEx6OE.js} +0 -0
- /package/dist/{PT-C3FlrAqt.js → PT-LXjJtHn5.js} +0 -0
- /package/dist/{ProgressBar-BlxQvN7D.js → ProgressBar-DapqX3tN.js} +0 -0
- /package/dist/{QA-zn4Gdzbo.js → QA-DaZHmHWd.js} +0 -0
- /package/dist/{RE-dG3KJMMx.js → RE-BFKWl5y_.js} +0 -0
- /package/dist/{RO-Dtlve3hZ.js → RO-3wOpNneM.js} +0 -0
- /package/dist/{RO-BXtuhVoN.js → RO-Bb4UTT5B.js} +0 -0
- /package/dist/{RO-B1UBvxsc.js → RO-BcDEEGjk.js} +0 -0
- /package/dist/{RO-BL-J1_yg.js → RO-CRDVNzfL.js} +0 -0
- /package/dist/{RS-DIpTuX70.js → RS-DOGs6suo.js} +0 -0
- /package/dist/{RU-B7YwaezI.js → RU-wf84MwTX.js} +0 -0
- /package/dist/{SA-yHvpRBBt.js → SA-B1u_XGB9.js} +0 -0
- /package/dist/{SE-CccuzUP0.js → SE-2WATmHl2.js} +0 -0
- /package/dist/{SE-pMhyd7KJ.js → SE-B48cKLIu.js} +0 -0
- /package/dist/{SE-gXHu0efH.js → SE-DTxNlT0w.js} +0 -0
- /package/dist/{SE-CfxNbl59.js → SE-Dv7OpBmo.js} +0 -0
- /package/dist/{SG-fAOioO1i.js → SG-A2_cs4kd.js} +0 -0
- /package/dist/{SG-CGk7k8y6.js → SG-BZ-kyKVN.js} +0 -0
- /package/dist/{SG-DIKkp5VX.js → SG-CdsmZcfV.js} +0 -0
- /package/dist/{SG-CODE9yV_.js → SG-pPmF2os4.js} +0 -0
- /package/dist/{SI-DgNZ746W.js → SI-BVTXwA8C.js} +0 -0
- /package/dist/{SI-D8ngpNLP.js → SI-DjUddZcZ.js} +0 -0
- /package/dist/{SI-CtMaFIsz.js → SI-DrX769GG.js} +0 -0
- /package/dist/{SI-BpwxzWXI.js → SI-T8ly14Dn.js} +0 -0
- /package/dist/{SJ-SG7xxYUX.js → SJ-DO3zbL0P.js} +0 -0
- /package/dist/{SK-DssnPaZv.js → SK-BFZnw1-d.js} +0 -0
- /package/dist/{SK-D8vU29-x.js → SK-Dq7sWtiL.js} +0 -0
- /package/dist/{SK-C7ldUW73.js → SK-DzGTyI5h.js} +0 -0
- /package/dist/{SK-CNT7QVie.js → SK-vJT5Dj16.js} +0 -0
- /package/dist/{SM-Ds8vicT5.js → SM-B4SkkvKD.js} +0 -0
- /package/dist/{Spacer-CvT0ELty.js → Spacer-CIwzVSSs.js} +0 -0
- /package/dist/{TF-Ckf_6iT5.js → TF-CIVHsoB9.js} +0 -0
- /package/dist/{TH-2sIVIZNa.js → TH-8huuj2v6.js} +0 -0
- /package/dist/{TL-OSKwf5cB.js → TL-Bik3Eb-u.js} +0 -0
- /package/dist/{TN-BcUBhs_y.js → TN-ClhiegdZ.js} +0 -0
- /package/dist/{TR-nO7zl2t7.js → TR-xyusRa6k.js} +0 -0
- /package/dist/{TT-uQXIiTh9.js → TT-BsT9h8j3.js} +0 -0
- /package/dist/{TW-ra8aVP1u.js → TW-Id3ypKK8.js} +0 -0
- /package/dist/{Tag-BhU73i1R.js → Tag-BUoDHC4C.js} +0 -0
- /package/dist/{UA-ChP4sFEB.js → UA-r0ZVcqym.js} +0 -0
- /package/dist/{US-F-OhVaqg.js → US-BKXr0nm-.js} +0 -0
- /package/dist/{US-CPcVUQez.js → US-C0BIY_Iy.js} +0 -0
- /package/dist/{US-amE0CRbB.js → US-Df7pLIkq.js} +0 -0
- /package/dist/{US-D6PlTpHk.js → US-_mFv0V8m.js} +0 -0
- /package/dist/{UY-BFN4uNVz.js → UY-BDWpl5Q2.js} +0 -0
- /package/dist/{VA-lz_OQgNz.js → VA-CJnCCD0R.js} +0 -0
- /package/dist/{VG-CUKKrF3h.js → VG-CODm52zD.js} +0 -0
- /package/dist/{VI-D1i4Oi0B.js → VI-B52L6yXT.js} +0 -0
- /package/dist/{VN-DRaYj63j.js → VN-BsJ-vqrs.js} +0 -0
- /package/dist/{WF-K2TrgrKu.js → WF-lhRl1Vg9.js} +0 -0
- /package/dist/{YT-CEOdE-OK.js → YT-CmziyGNY.js} +0 -0
- /package/dist/{ZA-BVXb4Fcr.js → ZA-CQNS6dil.js} +0 -0
- /package/dist/{bg-BG-Cei0GKSs.js → bg-BG-5NgZ3VWH.js} +0 -0
- /package/dist/{bg-BG-DEWs-rRP.js → bg-BG-BIPaXyYe.js} +0 -0
- /package/dist/{bg-BG-DqOqFO0A.js → bg-BG-BNqOiDw9.js} +0 -0
- /package/dist/{bg-BG-CzrQfuu9.js → bg-BG-BS-ogHPS.js} +0 -0
- /package/dist/{bg-BG-6ZQOFODJ.js → bg-BG-Bw1uE2hh.js} +0 -0
- /package/dist/{bg-BG-BFj7cKUp.js → bg-BG-CUmjOcpi2.js} +0 -0
- /package/dist/{bg-BG-DqrECTmE.js → bg-BG-CZt7bhxY.js} +0 -0
- /package/dist/{bg-BG-3LckGflP.js → bg-BG-DAJBqQge.js} +0 -0
- /package/dist/{bg-BG-C83pNfn4.js → bg-BG-DLd3BaDx.js} +0 -0
- /package/dist/{bg-BG-RNXb-nHv.js → bg-BG-DPA8C7cd.js} +0 -0
- /package/dist/{bg-BG-DkeEONKT.js → bg-BG-IjNKw0Zu.js} +0 -0
- /package/dist/{bg-BG-cotI8o9W.js → bg-BG-NwL6SZRu.js} +0 -0
- /package/dist/{bg-BG-B845EAcI.js → bg-BG-QlxmGEZL.js} +0 -0
- /package/dist/{bg-BG-BrYfHU1Y.js → bg-BG-YZ34LkMd.js} +0 -0
- /package/dist/{business-lines-DqkIqW5U.js → business-lines-CB_MhMG-.js} +0 -0
- /package/dist/{cs-CZ-CAyz5Oxb.js → cs-CZ-7rXXuJIs.js} +0 -0
- /package/dist/{cs-CZ-DwEnI4fQ.js → cs-CZ-B1VpAUva.js} +0 -0
- /package/dist/{cs-CZ-CDBbVGc-.js → cs-CZ-B6AZX4nL.js} +0 -0
- /package/dist/{cs-CZ-Bl40lHzE.js → cs-CZ-BObx8NMb.js} +0 -0
- /package/dist/{cs-CZ-ZS7mzkKt.js → cs-CZ-BZkot6xs.js} +0 -0
- /package/dist/{cs-CZ-HMzN3w9M.js → cs-CZ-Bl8qBkx4.js} +0 -0
- /package/dist/{cs-CZ-BzLM1J0O.js → cs-CZ-C6VkcCUo.js} +0 -0
- /package/dist/{cs-CZ-D57vUsIT.js → cs-CZ-D0cnPyvU.js} +0 -0
- /package/dist/{cs-CZ-IZhVT21N.js → cs-CZ-DNvBXQqI.js} +0 -0
- /package/dist/{cs-CZ-BwBM1vwP.js → cs-CZ-DPBUFjhq.js} +0 -0
- /package/dist/{cs-CZ-gb6TMFZb.js → cs-CZ-T1WlAO7N.js} +0 -0
- /package/dist/{cs-CZ-CfxBBOC-.js → cs-CZ-ZE5Rr33W.js} +0 -0
- /package/dist/{cs-CZ-UMI1WiLa.js → cs-CZ-n18LpZrJ2.js} +0 -0
- /package/dist/{cs-CZ-B06gTEk7.js → cs-CZ-wR26v-Tv.js} +0 -0
- /package/dist/{currency-CfIDpZh9.js → currency-B8-OEAgj.js} +0 -0
- /package/dist/{da-DK-DaA3zK0h.js → da-DK-B8aHvZ1W.js} +0 -0
- /package/dist/{da-DK-BOHnR0Il.js → da-DK-B9B0iVAP.js} +0 -0
- /package/dist/{da-DK-CzFS-0y6.js → da-DK-BDachfZH.js} +0 -0
- /package/dist/{da-DK-BdTOmGpJ.js → da-DK-BKXKKaAi.js} +0 -0
- /package/dist/{da-DK-Dr6tf-Lo.js → da-DK-BLDKON2e.js} +0 -0
- /package/dist/{da-DK-IX9UQUAb.js → da-DK-BOU9aCaN.js} +0 -0
- /package/dist/{da-DK-ChjPgR_1.js → da-DK-Bc6oX5Ct.js} +0 -0
- /package/dist/{da-DK-DccHpcaD.js → da-DK-BxwrnoI-.js} +0 -0
- /package/dist/{da-DK-2j1muC3G.js → da-DK-CB-sFnhe.js} +0 -0
- /package/dist/{da-DK-BpU2x5NW.js → da-DK-DJ5ddVnr2.js} +0 -0
- /package/dist/{da-DK-CtzpguJ3.js → da-DK-DZ06pHNH.js} +0 -0
- /package/dist/{da-DK-B576UeqU.js → da-DK-LXurZBZ8.js} +0 -0
- /package/dist/{da-DK-Dl1gbqFi.js → da-DK-klGGwyxv.js} +0 -0
- /package/dist/{da-DK-DSyQ3Ps0.js → da-DK-uqXEDzsX.js} +0 -0
- /package/dist/{de-DE-CQNX2xWR.js → de-DE-B-ocPFC_.js} +0 -0
- /package/dist/{de-DE-DSP4aQRh.js → de-DE-B8D6bV3u.js} +0 -0
- /package/dist/{de-DE-9zD8WyBP.js → de-DE-BHik7H3o.js} +0 -0
- /package/dist/{de-DE-BG2Pi_Hf.js → de-DE-Bp10daWa.js} +0 -0
- /package/dist/{de-DE-Bn6YiHtc.js → de-DE-BqMjvkMg.js} +0 -0
- /package/dist/{de-DE-CFAXyhfm.js → de-DE-Bx3yWhvM.js} +0 -0
- /package/dist/{de-DE-B8F_0Uzg.js → de-DE-C6ivH7ki.js} +0 -0
- /package/dist/{de-DE-C9UIqdWt.js → de-DE-CKOOKYoC.js} +0 -0
- /package/dist/{de-DE-D6w76Bhs.js → de-DE-CZ4lmioI2.js} +0 -0
- /package/dist/{de-DE-duz3XQVB.js → de-DE-C_u5Ihon.js} +0 -0
- /package/dist/{de-DE-CeWgOEe0.js → de-DE-DXkUC1-N.js} +0 -0
- /package/dist/{de-DE-CHdEma9v.js → de-DE-DstHFxVG.js} +0 -0
- /package/dist/{de-DE-8WABT_v_.js → de-DE-JZBqb8ce.js} +0 -0
- /package/dist/{de-DE-C4PzkDzF.js → de-DE-apC2os2u.js} +0 -0
- /package/dist/{de-DE-Cl0fc0U_.js → de-DE-cPL-uSMG.js} +0 -0
- /package/dist/{digital-wallet-DwpEiQRS.js → digital-wallet-CLOVHAow.js} +0 -0
- /package/dist/{document-blurred-DGXvRTC8.js → document-blurred-DHgG-aQ6.js} +0 -0
- /package/dist/{document-cut-off-DbVQzqxC.js → document-cut-off-DCf-G-0l.js} +0 -0
- /package/dist/{document-expired-DKnTJ5T9.js → document-expired-UJMQKi88.js} +0 -0
- /package/dist/{document-front-Bn5jsEIh.js → document-front-DLpxfBfu.js} +0 -0
- /package/dist/{el-GR-CNoP_at_.js → el-GR-BDXwftjw.js} +0 -0
- /package/dist/{el-GR-XuQDipDR.js → el-GR-BRFvZNGC.js} +0 -0
- /package/dist/{el-GR-C2TaxLbh.js → el-GR-C8TS7Fts.js} +0 -0
- /package/dist/{el-GR-DhZGJfcX.js → el-GR-C8jFvyDg.js} +0 -0
- /package/dist/{el-GR-BjWgE_1X.js → el-GR-CEZLeeb3.js} +0 -0
- /package/dist/{el-GR-6gy3x8Rf.js → el-GR-CZs5BPVJ2.js} +0 -0
- /package/dist/{el-GR-BUBdTCMP.js → el-GR-CiverXpL.js} +0 -0
- /package/dist/{el-GR-Buy5IU8M.js → el-GR-DfW8zYK4.js} +0 -0
- /package/dist/{el-GR-9wRo_Jlg.js → el-GR-DpjNNE9F.js} +0 -0
- /package/dist/{el-GR-B4q095lu.js → el-GR-DyDZNY1Y.js} +0 -0
- /package/dist/{el-GR-CYMJ_CGX.js → el-GR-DzqcyUr7.js} +0 -0
- /package/dist/{el-GR-B7kSlTiS.js → el-GR-LUFCyvHj.js} +0 -0
- /package/dist/{el-GR-B5dqrdWm.js → el-GR-mGnv3b-O.js} +0 -0
- /package/dist/{el-GR-qM707S4d.js → el-GR-nX_raYFR.js} +0 -0
- /package/dist/{el-GR-ChOnowdP.js → el-GR-qXgxklIB.js} +0 -0
- /package/dist/{emitEvent-Cdd95HOT.js → emitEvent-B8K0cb1F.js} +0 -0
- /package/dist/{en-US-BRfsKsUt.js → en-US-B-_7IR6A.js} +0 -0
- /package/dist/{en-US-2TPpQbtl.js → en-US-BE08bzln.js} +0 -0
- /package/dist/{en-US-C6pEYLdI.js → en-US-BOfSEKyo.js} +0 -0
- /package/dist/{en-US-Cdk3bjx1.js → en-US-Bg5OVg3A.js} +0 -0
- /package/dist/{en-US-BEL_lmpv.js → en-US-C0SrG99u.js} +0 -0
- /package/dist/{en-US-ClGcnLh5.js → en-US-CCfgIGYL.js} +0 -0
- /package/dist/{en-US-ZFlMM5v3.js → en-US-CO9Ct3Xx.js} +0 -0
- /package/dist/{en-US-D9vXTqQr.js → en-US-CUsu9qhV.js} +0 -0
- /package/dist/{en-US-C-PxehAi.js → en-US-CYKhRzm3.js} +0 -0
- /package/dist/{en-US-1Tznfcwg.js → en-US-Cd8cLmVX.js} +0 -0
- /package/dist/{en-US-DdArZW-2.js → en-US-CuX4Fzoo.js} +0 -0
- /package/dist/{en-US-Ce1lXhRx.js → en-US-D_g_DM_a2.js} +0 -0
- /package/dist/{en-US-VZ7ytmtB.js → en-US-DrAjiabh.js} +0 -0
- /package/dist/{en-US-Bw9LpxPe.js → en-US-NaoNaTO0.js} +0 -0
- /package/dist/{en-US-CXdfrlM6.js → en-US-RmklpZAK.js} +0 -0
- /package/dist/{en-US-DkCd0fIv.js → en-US-T46O8OJV.js} +0 -0
- /package/dist/{en-US-DmDPhSJN.js → en-US-_D_BTN1a.js} +0 -0
- /package/dist/{en-US-DQLhkpBE.js → en-US-_l9425V1.js} +0 -0
- /package/dist/{en-US-gwxv5v9w.js → en-US-aJtjsYKh.js} +0 -0
- /package/dist/{en-US-i-xCvkps.js → en-US-reyG1gZR.js} +0 -0
- /package/dist/{en-US.instructions-CbjjdEDm.js → en-US.instructions-DlxMDbRu.js} +0 -0
- /package/dist/{en-US.instructions-B6Zz2fWV.js → en-US.instructions-kje2iQeM.js} +0 -0
- /package/dist/{es-ES-DFYOkj68.js → es-ES-0O9y1_Bc.js} +0 -0
- /package/dist/{es-ES-QIbBo_YM.js → es-ES-BAAL2h3R.js} +0 -0
- /package/dist/{es-ES-DFSg6LDS.js → es-ES-BMBx28UE2.js} +0 -0
- /package/dist/{es-ES-DBxs7iF7.js → es-ES-Bwhnseeu.js} +0 -0
- /package/dist/{es-ES-DK_0xiGy.js → es-ES-COW5z7yz.js} +0 -0
- /package/dist/{es-ES-zQtj9duk.js → es-ES-CR1kGbcC.js} +0 -0
- /package/dist/{es-ES-BPXpnHRY.js → es-ES-D67pkLVu.js} +0 -0
- /package/dist/{es-ES-B-tIK-cN.js → es-ES-DB77kzqT.js} +0 -0
- /package/dist/{es-ES-oq21mjwX.js → es-ES-DFg_LlqD.js} +0 -0
- /package/dist/{es-ES-CBXbBc1A.js → es-ES-DPWDUwvq.js} +0 -0
- /package/dist/{es-ES-D7cgUez3.js → es-ES-OQQLpoI2.js} +0 -0
- /package/dist/{es-ES-DaSL4L2E.js → es-ES-RzKcfNXi.js} +0 -0
- /package/dist/{es-ES-C883ZbTP.js → es-ES-VLjc_QDm.js} +0 -0
- /package/dist/{es-ES-BgIsUMnp.js → es-ES-mdSA-CIT.js} +0 -0
- /package/dist/{es-ES-Qo_8qb9r.js → es-ES-w18iEceS.js} +0 -0
- /package/dist/{et-EE-RpLsFwBS.js → et-EE-30-8FeA2.js} +0 -0
- /package/dist/{et-EE-DGfXiMhc.js → et-EE-B4ZMHksf.js} +0 -0
- /package/dist/{et-EE-lAWJnluh.js → et-EE-BId587En.js} +0 -0
- /package/dist/{et-EE-Af13W-XG.js → et-EE-BWE9LBIW.js} +0 -0
- /package/dist/{et-EE-CuuT6UiF.js → et-EE-C4U93xrJ.js} +0 -0
- /package/dist/{et-EE-Clm5xG7H.js → et-EE-DJWVyTVM.js} +0 -0
- /package/dist/{et-EE-DP5k72Ny.js → et-EE-DL10J4Zc.js} +0 -0
- /package/dist/{et-EE-DsWMEXzs.js → et-EE-DLyMklqJ.js} +0 -0
- /package/dist/{et-EE-6yAadp0T.js → et-EE-DRfTkFhA.js} +0 -0
- /package/dist/{et-EE-CfkcHuFD.js → et-EE-Dg93VJbx.js} +0 -0
- /package/dist/{et-EE-BmnILU2a.js → et-EE-Dh2jDTFG.js} +0 -0
- /package/dist/{et-EE-D_kA0eDD.js → et-EE-Dj0jysHw.js} +0 -0
- /package/dist/{et-EE-C9XygiEr.js → et-EE-Q6sB4U1M.js} +0 -0
- /package/dist/{et-EE-BkOKxrqy.js → et-EE-go_L8yC52.js} +0 -0
- /package/dist/{fi-FI-2vCaB5I_.js → fi-FI-4ckffUlB.js} +0 -0
- /package/dist/{fi-FI-BMwsN_ji.js → fi-FI-BISdPgnh.js} +0 -0
- /package/dist/{fi-FI-CGqRN2IG.js → fi-FI-BNtrKnDN.js} +0 -0
- /package/dist/{fi-FI-DJFHw4Gf.js → fi-FI-BnLganAU.js} +0 -0
- /package/dist/{fi-FI-BhZIWccP.js → fi-FI-BrmYMDbY.js} +0 -0
- /package/dist/{fi-FI-DbEqdQ0g.js → fi-FI-C9tfA3gh.js} +0 -0
- /package/dist/{fi-FI-lJ4HlHb-.js → fi-FI-CfmDq95S.js} +0 -0
- /package/dist/{fi-FI-BYm7CUY2.js → fi-FI-DZyEs_5S.js} +0 -0
- /package/dist/{fi-FI-BYUiGQKy.js → fi-FI-D_kMnAKc.js} +0 -0
- /package/dist/{fi-FI-LjVAH9we.js → fi-FI-DsfVixQ62.js} +0 -0
- /package/dist/{fi-FI-EuKD6k8Y.js → fi-FI-F0phsC5e.js} +0 -0
- /package/dist/{fi-FI-cUN_PaZk.js → fi-FI-IwaR92iX.js} +0 -0
- /package/dist/{fi-FI-CpZz975D.js → fi-FI-U8ajDFHW.js} +0 -0
- /package/dist/{fi-FI-DasFIxOy.js → fi-FI-koFpyMaq.js} +0 -0
- /package/dist/{fr-FR-BEhEatm2.js → fr-FR-B0eVVc8V.js} +0 -0
- /package/dist/{fr-FR-smLbfIXK.js → fr-FR-BG65xuYX.js} +0 -0
- /package/dist/{fr-FR-vudUwtME.js → fr-FR-BIFr-HU92.js} +0 -0
- /package/dist/{fr-FR-7iwyxWaL.js → fr-FR-Bo3Ui9bW.js} +0 -0
- /package/dist/{fr-FR-ByTQyNaR.js → fr-FR-BqpAnmif.js} +0 -0
- /package/dist/{fr-FR-H6eQ7sOs.js → fr-FR-C3LsflXn.js} +0 -0
- /package/dist/{fr-FR-I5zOELIl.js → fr-FR-CMj16KIu2.js} +0 -0
- /package/dist/{fr-FR-CTaavJDz.js → fr-FR-CYRsfbyW.js} +0 -0
- /package/dist/{fr-FR-BlpT5HWY.js → fr-FR-CZs4UzUR.js} +0 -0
- /package/dist/{fr-FR-hE0azhRh.js → fr-FR-Ch734grp.js} +0 -0
- /package/dist/{fr-FR-qy27JGqF.js → fr-FR-CsoVB-yq.js} +0 -0
- /package/dist/{fr-FR-BwhO0tqx.js → fr-FR-DYDmBWWT.js} +0 -0
- /package/dist/{fr-FR-D1HpNhTO.js → fr-FR-Duc4nlp1.js} +0 -0
- /package/dist/{fr-FR-DnX9lTEQ.js → fr-FR-DwYX21r1.js} +0 -0
- /package/dist/{fr-FR-IutY4BNm.js → fr-FR-T96nLrjZ.js} +0 -0
- /package/dist/{funds-in-CK4EVzwN.js → funds-in-BabYV5ES.js} +0 -0
- /package/dist/{getTrustedDecisionMakers-DXR7mrNp.js → getTrustedDecisionMakers-BjGAWMyl.js} +0 -0
- /package/dist/{graphical-laptop-xPvp7QKa.js → graphical-laptop-BI3ea4L0.js} +0 -0
- /package/dist/{house-BlDqCoY9.js → house-DmAf0l8c.js} +0 -0
- /package/dist/{hr-HR-3QgFbMTF.js → hr-HR-BtQMffYR.js} +0 -0
- /package/dist/{hr-HR-BEwLtMwp.js → hr-HR-CC9rZ3QQ.js} +0 -0
- /package/dist/{hr-HR-DwVuRMPc.js → hr-HR-CFAySNqh.js} +0 -0
- /package/dist/{hr-HR-Bl5USqyK.js → hr-HR-Co3tIKjf2.js} +0 -0
- /package/dist/{hr-HR-CYD_Yj5T.js → hr-HR-D7vlzkU5.js} +0 -0
- /package/dist/{hr-HR-O1W0RKHg.js → hr-HR-DTIXBOS5.js} +0 -0
- /package/dist/{hr-HR-DQqy_9ak.js → hr-HR-DX0PV0eV.js} +0 -0
- /package/dist/{hr-HR-akaQzcCj.js → hr-HR-D_X-RNUl.js} +0 -0
- /package/dist/{hr-HR-BXLWA1xd.js → hr-HR-DbebVQF9.js} +0 -0
- /package/dist/{hr-HR-p1pYKZ12.js → hr-HR-DlIsKp9D.js} +0 -0
- /package/dist/{hr-HR-BzyoDD3o.js → hr-HR-DpQuBztk.js} +0 -0
- /package/dist/{hr-HR-B0Uv8xVL.js → hr-HR-Ngyn0CeW.js} +0 -0
- /package/dist/{hr-HR-C87yHlGv.js → hr-HR-gmt7xTWx2.js} +0 -0
- /package/dist/{hr-HR-CUn-0EG-.js → hr-HR-mfHZl8tO.js} +0 -0
- /package/dist/{hu-HU-BN0ZzLka.js → hu-HU-3FpAw9b1.js} +0 -0
- /package/dist/{hu-HU-Bxg-cJEy.js → hu-HU-BED5SDWE.js} +0 -0
- /package/dist/{hu-HU-BKVeQ5ix.js → hu-HU-BJ98-oo4.js} +0 -0
- /package/dist/{hu-HU-4UezjSak.js → hu-HU-Bdaah8cz2.js} +0 -0
- /package/dist/{hu-HU-DCcxM8GA.js → hu-HU-BfD5UZoY2.js} +0 -0
- /package/dist/{hu-HU-Ck3m9-by.js → hu-HU-CMFGONUT.js} +0 -0
- /package/dist/{hu-HU-BD5u-5OF.js → hu-HU-CVHFlarO.js} +0 -0
- /package/dist/{hu-HU-DUKYa8hD.js → hu-HU-CwuLcKKO.js} +0 -0
- /package/dist/{hu-HU-BzAy_OWc.js → hu-HU-DIgxSbaT.js} +0 -0
- /package/dist/{hu-HU-DceMzb3Y.js → hu-HU-DXHf3uuK.js} +0 -0
- /package/dist/{hu-HU-BRvJDeoB.js → hu-HU-D_5yVmCo.js} +0 -0
- /package/dist/{hu-HU-Nb-5azdf.js → hu-HU-e9KN8lp6.js} +0 -0
- /package/dist/{hu-HU-BI_kQFSO.js → hu-HU-sBeAx2Fk.js} +0 -0
- /package/dist/{hu-HU-BcBo3Wg7.js → hu-HU-yAwdJ5xn.js} +0 -0
- /package/dist/{id-blurred-CtnwOJmP.js → id-blurred-BdqQKk1l.js} +0 -0
- /package/dist/{id-cut-off-DTnrMaG3.js → id-cut-off-BlpfXo5W.js} +0 -0
- /package/dist/{id-front-BArANgYI.js → id-front-Bqd59AfN.js} +0 -0
- /package/dist/{id-glare-g3bnPQ3v.js → id-glare-7GGletdB.js} +0 -0
- /package/dist/{it-IT-B0pCVo4V.js → it-IT-16IjDttL.js} +0 -0
- /package/dist/{it-IT-DK30YvbO.js → it-IT-3PSb6tzc.js} +0 -0
- /package/dist/{it-IT-BrljrojW.js → it-IT-B2zFnv7K.js} +0 -0
- /package/dist/{it-IT-8v9Z1t9f.js → it-IT-BHwyxQMv.js} +0 -0
- /package/dist/{it-IT-Dns-1Qbf.js → it-IT-BK6Yn4vc.js} +0 -0
- /package/dist/{it-IT-C1KwdLpE.js → it-IT-BcBkbTJA.js} +0 -0
- /package/dist/{it-IT-qe_3rLfB.js → it-IT-BgULENxX.js} +0 -0
- /package/dist/{it-IT-BXFbtihY.js → it-IT-BgYPPn4D2.js} +0 -0
- /package/dist/{it-IT-BDmDOB2T.js → it-IT-Bnm0ulsw2.js} +0 -0
- /package/dist/{it-IT-BUfc2_tb.js → it-IT-BrdXGWpw.js} +0 -0
- /package/dist/{it-IT-CHiYsPdc.js → it-IT-C6cS36WW.js} +0 -0
- /package/dist/{it-IT-CHuVqZdn.js → it-IT-CCtD36Df.js} +0 -0
- /package/dist/{it-IT-BCrUbo-z.js → it-IT-CwwFjn4z.js} +0 -0
- /package/dist/{it-IT-DwcpMh9-.js → it-IT-Dlk9Ij_n.js} +0 -0
- /package/dist/{it-IT-BxdBXweN.js → it-IT-kER7OY9Z.js} +0 -0
- /package/dist/{ja-JP-CeqgYUmV.js → ja-JP-B5SxIdyP2.js} +0 -0
- /package/dist/{ja-JP-BzBRpXM1.js → ja-JP-B5fRnSzi.js} +0 -0
- /package/dist/{ja-JP-BTO8X-UN.js → ja-JP-BT70_5Cd.js} +0 -0
- /package/dist/{ja-JP-AJi9sARI.js → ja-JP-Bfj0ajmQ.js} +0 -0
- /package/dist/{ja-JP-DHCGOMkF.js → ja-JP-C6iWB0o1.js} +0 -0
- /package/dist/{ja-JP-DTqjZ_RP.js → ja-JP-C7tIgG_I.js} +0 -0
- /package/dist/{ja-JP-DoROjKZt.js → ja-JP-CJY6uqPb.js} +0 -0
- /package/dist/{ja-JP-KN3RFziQ.js → ja-JP-CTFB8UKL.js} +0 -0
- /package/dist/{ja-JP-CXZrBJpG.js → ja-JP-CYmySE1y.js} +0 -0
- /package/dist/{ja-JP-DDT5jvAB.js → ja-JP-D6OZ6CvT.js} +0 -0
- /package/dist/{ja-JP-BNljcToT.js → ja-JP-D6qS54Zm.js} +0 -0
- /package/dist/{ja-JP-CcNCEE_H.js → ja-JP-D91Qq9X0.js} +0 -0
- /package/dist/{ja-JP-CzwMiarb.js → ja-JP-DPMaXa_r.js} +0 -0
- /package/dist/{ja-JP-BSSI6iGa2.js → ja-JP-IQ3IO6y62.js} +0 -0
- /package/dist/{ja-JP-C_E_4yUn.js → ja-JP-tHJpSXnY.js} +0 -0
- /package/dist/{ja-JP-CwVkOC4Z.js → ja-JP-wmwnTtNd.js} +0 -0
- /package/dist/{japanSupportUtils-Dt75Cqon.js → japanSupportUtils-BFwywtpf.js} +0 -0
- /package/dist/{jpAddressSchema-B8l7CyMD.js → jpAddressSchema-DT36LOFn.js} +0 -0
- /package/dist/{lt-LT-BAQ97F-A.js → lt-LT-2KIisO4_.js} +0 -0
- /package/dist/{lt-LT-DZMHZ8Wm.js → lt-LT-8dDfYsF82.js} +0 -0
- /package/dist/{lt-LT-BqkmwEGL.js → lt-LT-B3_15c6J.js} +0 -0
- /package/dist/{lt-LT-CDRKdIqh.js → lt-LT-BVVTYN3z.js} +0 -0
- /package/dist/{lt-LT-CinU7Rld.js → lt-LT-BWPnX-pH.js} +0 -0
- /package/dist/{lt-LT-obgOauKB.js → lt-LT-CKltvr9j.js} +0 -0
- /package/dist/{lt-LT-bBBImnIr.js → lt-LT-CpQj1HiE.js} +0 -0
- /package/dist/{lt-LT-Dn1uWfTS.js → lt-LT-Cqgf8zD1.js} +0 -0
- /package/dist/{lt-LT--ykjbt1G2.js → lt-LT-Cux3u7VW2.js} +0 -0
- /package/dist/{lt-LT-CxHGyOg_.js → lt-LT-D3XnG1Jr.js} +0 -0
- /package/dist/{lt-LT-QPJqX0US.js → lt-LT-DX-73rzB.js} +0 -0
- /package/dist/{lt-LT-IP4Sz8Gn.js → lt-LT-Dkvuak-E.js} +0 -0
- /package/dist/{lt-LT-CuwPjwup.js → lt-LT-Dpy8srws.js} +0 -0
- /package/dist/{lt-LT-BKGzSDa-.js → lt-LT-OGBNEWvq.js} +0 -0
- /package/dist/{lv-LV-D8f1SpLf.js → lv-LV-B34caEFv.js} +0 -0
- /package/dist/{lv-LV-CHzgorrn.js → lv-LV-BGMkr0W_.js} +0 -0
- /package/dist/{lv-LV-M7YZXYD4.js → lv-LV-B_Uypp3t.js} +0 -0
- /package/dist/{lv-LV-BlsECQxr.js → lv-LV-BeobSRYx.js} +0 -0
- /package/dist/{lv-LV-D7Ba9nJV2.js → lv-LV-C8V3_dW42.js} +0 -0
- /package/dist/{lv-LV-DCAvbkAw.js → lv-LV-CaTht4v3.js} +0 -0
- /package/dist/{lv-LV-uHgCKfLK.js → lv-LV-CcQHxQxD.js} +0 -0
- /package/dist/{lv-LV-OyBe6sGX.js → lv-LV-CgjXiLeF.js} +0 -0
- /package/dist/{lv-LV-DlQGKdqk.js → lv-LV-Cz0igciN.js} +0 -0
- /package/dist/{lv-LV-C9zoAq4h.js → lv-LV-D0EFr0dt.js} +0 -0
- /package/dist/{lv-LV-Db5Vo-5Y.js → lv-LV-D4clLiV42.js} +0 -0
- /package/dist/{lv-LV-DvFc-DyR.js → lv-LV-DBM72epC.js} +0 -0
- /package/dist/{lv-LV-CKWVZhLn.js → lv-LV-DEnNFC-Z.js} +0 -0
- /package/dist/{lv-LV-CM9OZxXW.js → lv-LV-DwsdNJrk.js} +0 -0
- /package/dist/{mapAddressLocalizationToJpAddressSchema-Cu5HfF7K.js → mapAddressLocalizationToJpAddressSchema-Cp77VSSB.js} +0 -0
- /package/dist/{nl-NL-ju3LUcLk.js → nl-NL-5jIn9iMp.js} +0 -0
- /package/dist/{nl-NL-lQdh6BGm.js → nl-NL-BCCzwWkw2.js} +0 -0
- /package/dist/{nl-NL-D_nfmeEO2.js → nl-NL-BDRbbezw2.js} +0 -0
- /package/dist/{nl-NL-BXVVoxv9.js → nl-NL-BLie9b-e.js} +0 -0
- /package/dist/{nl-NL-2uvrEI1a.js → nl-NL-BTuDiajY.js} +0 -0
- /package/dist/{nl-NL-8p9rwsJP.js → nl-NL-BUzOX91N.js} +0 -0
- /package/dist/{nl-NL-6qgh_ZGA.js → nl-NL-BtwZkAPX.js} +0 -0
- /package/dist/{nl-NL-CYK4qxsi.js → nl-NL-CxlTSECX.js} +0 -0
- /package/dist/{nl-NL-DIi484Xs.js → nl-NL-CyH02pOG.js} +0 -0
- /package/dist/{nl-NL-BXTbqvDG.js → nl-NL-D16qC_X6.js} +0 -0
- /package/dist/{nl-NL-DorNLKpV.js → nl-NL-DI_aNYah.js} +0 -0
- /package/dist/{nl-NL-DfLVbnIt.js → nl-NL-DKhvGB4T.js} +0 -0
- /package/dist/{nl-NL-CQ0C9N3m.js → nl-NL-DKpjFbpm.js} +0 -0
- /package/dist/{nl-NL-cywhUHFC.js → nl-NL-DxYcxeQo.js} +0 -0
- /package/dist/{nl-NL-CX0UKes1.js → nl-NL-kUujSdLA.js} +0 -0
- /package/dist/{no-NO-C6RmwGdG.js → no-NO-47FYUgvH.js} +0 -0
- /package/dist/{no-NO-CUdwwq5Q.js → no-NO-BHzeSSjR.js} +0 -0
- /package/dist/{no-NO-DY_LshSS.js → no-NO-BNL9v_bl.js} +0 -0
- /package/dist/{no-NO-hgC3Li7e.js → no-NO-ByxOHA9n.js} +0 -0
- /package/dist/{no-NO-cGYgKGw1.js → no-NO-C037FAac.js} +0 -0
- /package/dist/{no-NO-BReO2o5n2.js → no-NO-C54FcsFm2.js} +0 -0
- /package/dist/{no-NO-FfT6jM26.js → no-NO-CG5RteG_.js} +0 -0
- /package/dist/{no-NO-CCtUTnqP.js → no-NO-D6C6Imfk.js} +0 -0
- /package/dist/{no-NO-CmZkhB61.js → no-NO-DAK8yauA.js} +0 -0
- /package/dist/{no-NO-sKe9NQr2.js → no-NO-DMJwgC8y.js} +0 -0
- /package/dist/{no-NO-C84jmD65.js → no-NO-DN8WIiN32.js} +0 -0
- /package/dist/{no-NO-D6M4YQQF.js → no-NO-FtH9gIpv.js} +0 -0
- /package/dist/{no-NO-A9MwJ3y8.js → no-NO-YjH9dIrD.js} +0 -0
- /package/dist/{no-NO-Bs3p6emQ.js → no-NO-zmQRBKzh.js} +0 -0
- /package/dist/{onfido-logo-1G-CB3dP.js → onfido-logo-BXb14yhW.js} +0 -0
- /package/dist/{passport-blurred-DOfrfF0N.js → passport-blurred-UX6p2KZ5.js} +0 -0
- /package/dist/{passport-cut-off-DwNmCL8v.js → passport-cut-off-C4H57LgT.js} +0 -0
- /package/dist/{passport-front-DLG09n5u.js → passport-front-K9nDuC3A.js} +0 -0
- /package/dist/{passport-front-green-Bq6FNZC5.js → passport-front-green-BB3zGc3y.js} +0 -0
- /package/dist/{passport-glare-CkhvC36x.js → passport-glare-Cw4IMJSe.js} +0 -0
- /package/dist/{patternValidators-COjyZHty.js → patternValidators-CyquDS0K.js} +0 -0
- /package/dist/{payout-bank-accounts-0-Q33p3g.js → payout-bank-accounts-CLJxCTuX.js} +0 -0
- /package/dist/{payout-verification-instant-DauPH4bQ.js → payout-verification-instant-CMIgRzIb.js} +0 -0
- /package/dist/{payout-verification-manual-Cm0DGplr.js → payout-verification-manual-C7ldngdB.js} +0 -0
- /package/dist/{pl-PL-BNxu8295.js → pl-PL-BYICgNRn.js} +0 -0
- /package/dist/{pl-PL-156KzpqG.js → pl-PL-BcRAnn6f.js} +0 -0
- /package/dist/{pl-PL-RdEbXX76.js → pl-PL-CK40GB3R.js} +0 -0
- /package/dist/{pl-PL-BDDbHDK-2.js → pl-PL-ChXEKosP2.js} +0 -0
- /package/dist/{pl-PL-Cv1qwhLs.js → pl-PL-CpA94K5Z.js} +0 -0
- /package/dist/{pl-PL-D3NzOQQU.js → pl-PL-DNdGYT-E.js} +0 -0
- /package/dist/{pl-PL-17gZNngW.js → pl-PL-DU49RDRD.js} +0 -0
- /package/dist/{pl-PL-Dpz4EXKB.js → pl-PL-DYmR6-f32.js} +0 -0
- /package/dist/{pl-PL-CBZ7wl6h.js → pl-PL-DeAckp5p.js} +0 -0
- /package/dist/{pl-PL-GHRpKIYs.js → pl-PL-R2xSHe-z.js} +0 -0
- /package/dist/{pl-PL-vU5_jmwK.js → pl-PL-R6bNjSQB.js} +0 -0
- /package/dist/{pl-PL-CZ9BcuwC.js → pl-PL-_ZC1ezJq.js} +0 -0
- /package/dist/{pl-PL-DDxFQhlh.js → pl-PL-aWhB1xes.js} +0 -0
- /package/dist/{pl-PL-BVYFKqiG.js → pl-PL-x6CltZUu.js} +0 -0
- /package/dist/{plaid-logo-0nNUjUmK.js → plaid-logo-CJxRcMad.js} +0 -0
- /package/dist/{pt-BR-B5i0TdE9.js → pt-BR-7FV4JArc.js} +0 -0
- /package/dist/{pt-BR-Dwht_-_u.js → pt-BR-7qFnlWUK.js} +0 -0
- /package/dist/{pt-BR-BjLvBssy.js → pt-BR-B0zBNcPy.js} +0 -0
- /package/dist/{pt-BR-B9WbwtyP.js → pt-BR-BDEGOFU52.js} +0 -0
- /package/dist/{pt-BR-BdpAz26L.js → pt-BR-BgiNMjMc.js} +0 -0
- /package/dist/{pt-BR-C7pxsNe-.js → pt-BR-CTxtcXRe.js} +0 -0
- /package/dist/{pt-BR-CwmMY-Tc.js → pt-BR-D1iDi1mu.js} +0 -0
- /package/dist/{pt-BR-CYhLwdOe.js → pt-BR-D8hxPoFJ.js} +0 -0
- /package/dist/{pt-BR-CxgX2M20.js → pt-BR-DReb0iHZ.js} +0 -0
- /package/dist/{pt-BR-CSfxTFwr.js → pt-BR-DbX3zod4.js} +0 -0
- /package/dist/{pt-BR-DXnHFKFu2.js → pt-BR-Dmax22362.js} +0 -0
- /package/dist/{pt-BR-BigDE2bv.js → pt-BR-DqX_xhiS.js} +0 -0
- /package/dist/{pt-BR-BM2eCcyF.js → pt-BR-VlNZLr8f.js} +0 -0
- /package/dist/{pt-BR-DDY3_bvo.js → pt-BR-u_Sv-NkV.js} +0 -0
- /package/dist/{pt-BR-Bd5SyVeF.js → pt-BR-zUBVM8_b.js} +0 -0
- /package/dist/{pt-PT-MQaQhXQu.js → pt-PT-BTZOJZU6.js} +0 -0
- /package/dist/{pt-PT-BTa4QeyR.js → pt-PT-BXlxPqah.js} +0 -0
- /package/dist/{pt-PT-BBd1NJRh.js → pt-PT-C0GJNK9V.js} +0 -0
- /package/dist/{pt-PT-BKUXYNsZ.js → pt-PT-CEPDmPY7.js} +0 -0
- /package/dist/{pt-PT-3OKhZcS6.js → pt-PT-CHzUJtV9.js} +0 -0
- /package/dist/{pt-PT-CJVVRZyV.js → pt-PT-CWzCKCL8.js} +0 -0
- /package/dist/{pt-PT-pmBhUOv3.js → pt-PT-CxnB9Jff.js} +0 -0
- /package/dist/{pt-PT-DBFZcKHi.js → pt-PT-Czy2_X1t.js} +0 -0
- /package/dist/{pt-PT-CH4Dn0EZ.js → pt-PT-D7H8b_VC.js} +0 -0
- /package/dist/{pt-PT-CI47ZET7.js → pt-PT-D9QbJxzN.js} +0 -0
- /package/dist/{pt-PT-UFb_htLN.js → pt-PT-DFy0vZ_Z2.js} +0 -0
- /package/dist/{pt-PT-B89VwWSr2.js → pt-PT-Dg4oH3gw2.js} +0 -0
- /package/dist/{pt-PT-Bmgh2Wtd.js → pt-PT-Dmor9x6o.js} +0 -0
- /package/dist/{pt-PT-CIOonsBY.js → pt-PT-DtbDoXdt.js} +0 -0
- /package/dist/{pt-PT-BfaWVW2C.js → pt-PT-R8cWw20f.js} +0 -0
- /package/dist/{reporting-D1AXR-Qx.js → reporting-BcwGP__8.js} +0 -0
- /package/dist/{review-D8XMCDlT.js → review-lg331I4Q.js} +0 -0
- /package/dist/{ro-RO-BgJc13qL.js → ro-RO-B08k8bQK.js} +0 -0
- /package/dist/{ro-RO-Bf10OHuY.js → ro-RO-B3hA8dZo.js} +0 -0
- /package/dist/{ro-RO-BiNysx6n.js → ro-RO-BCF9oCQb.js} +0 -0
- /package/dist/{ro-RO-C3g0pSKU.js → ro-RO-BCHziTju.js} +0 -0
- /package/dist/{ro-RO-7iyzlI6_.js → ro-RO-BRtHlgch.js} +0 -0
- /package/dist/{ro-RO-D5Cj05wq.js → ro-RO-C4lcxnWO.js} +0 -0
- /package/dist/{ro-RO-Rrm0fA3m.js → ro-RO-CA7NoMAg2.js} +0 -0
- /package/dist/{ro-RO-D6r0wCQ9.js → ro-RO-CfsDLBM4.js} +0 -0
- /package/dist/{ro-RO-D6bG8672.js → ro-RO-Cuw1RmFc.js} +0 -0
- /package/dist/{ro-RO-DYS3QUHv2.js → ro-RO-DKnHwBRU2.js} +0 -0
- /package/dist/{ro-RO-Bl3OcC_Q.js → ro-RO-DLtPW1MX.js} +0 -0
- /package/dist/{ro-RO-Bd7X3Shk.js → ro-RO-e45j_CyV.js} +0 -0
- /package/dist/{ro-RO-DwNvQOyI.js → ro-RO-sc5JtH0w.js} +0 -0
- /package/dist/{ro-RO-CE6NRU4s.js → ro-RO-x6WCri80.js} +0 -0
- /package/dist/{roleMetadata-72B4lOSi.js → roleMetadata-Dt8-oMGP.js} +0 -0
- /package/dist/{singpass-logo-DESKvfOJ.js → singpass-logo-D1Z8HeLC.js} +0 -0
- /package/dist/{singpass-logo-small-CBW6iXWW.js → singpass-logo-small-CQC5e3lx.js} +0 -0
- /package/dist/{sk-SK-BpMbHWuR.js → sk-SK--ohjuOMW.js} +0 -0
- /package/dist/{sk-SK-C-_WGtZq.js → sk-SK-1i0L4zIs.js} +0 -0
- /package/dist/{sk-SK-DToW-wRh.js → sk-SK-BgG5lOt0.js} +0 -0
- /package/dist/{sk-SK-C4w5-ddS.js → sk-SK-C8d17RvE2.js} +0 -0
- /package/dist/{sk-SK-DoPn0KmU.js → sk-SK-ChCtHT1F.js} +0 -0
- /package/dist/{sk-SK-fTz6vRwx2.js → sk-SK-Cx_3eof92.js} +0 -0
- /package/dist/{sk-SK-BQkrw6JK.js → sk-SK-D85WFQun.js} +0 -0
- /package/dist/{sk-SK-BPCCl0s2.js → sk-SK-DDnT0jda.js} +0 -0
- /package/dist/{sk-SK-db-7uoWM.js → sk-SK-DGZDbKDL.js} +0 -0
- /package/dist/{sk-SK-y3Dcsvdc.js → sk-SK-DNKyL6Hl.js} +0 -0
- /package/dist/{sk-SK-LVBbnlQt.js → sk-SK-DXRluu5W.js} +0 -0
- /package/dist/{sk-SK-tk_1fC8g.js → sk-SK-DwG8xkcP.js} +0 -0
- /package/dist/{sk-SK-CT0xaSZx.js → sk-SK-wzPlUKNj.js} +0 -0
- /package/dist/{sk-SK-BSv5VXox.js → sk-SK-xqB2A84D.js} +0 -0
- /package/dist/{sl-SI-hjNO4Xn7.js → sl-SI-4GAFGoms.js} +0 -0
- /package/dist/{sl-SI-D_mOefZc.js → sl-SI-BNFfDyNl.js} +0 -0
- /package/dist/{sl-SI-BIB5llvY.js → sl-SI-CEVc1txT.js} +0 -0
- /package/dist/{sl-SI-DvGN_6N9.js → sl-SI-ChCyYnjd.js} +0 -0
- /package/dist/{sl-SI-DohopK0u.js → sl-SI-D3zK3MPP.js} +0 -0
- /package/dist/{sl-SI-DX2rW3Xz.js → sl-SI-D6evG9fK.js} +0 -0
- /package/dist/{sl-SI-CX-qAqMO.js → sl-SI-DNgxTuIJ.js} +0 -0
- /package/dist/{sl-SI-gUNcHR30.js → sl-SI-DWJzi8r_.js} +0 -0
- /package/dist/{sl-SI-ZUhvuxBZ2.js → sl-SI-Dgiup8IA2.js} +0 -0
- /package/dist/{sl-SI-DiLuydaN.js → sl-SI-DnpKMUhR.js} +0 -0
- /package/dist/{sl-SI-DMVQoGmB.js → sl-SI-DpgW-r5w.js} +0 -0
- /package/dist/{sl-SI-B-t1nY1x.js → sl-SI-PsgMnJ-h.js} +0 -0
- /package/dist/{sl-SI-Csp3skVN.js → sl-SI-uhzy0HC12.js} +0 -0
- /package/dist/{sl-SI-Cas6OuzL.js → sl-SI-xsbSqfy5.js} +0 -0
- /package/dist/{summaryItem-1qkXaJ3t.js → summaryItem-Dehjwp8D.js} +0 -0
- /package/dist/{sv-SE-CrJARVpV.js → sv-SE-4oyeOi4Y.js} +0 -0
- /package/dist/{sv-SE-BRQ91Hv5.js → sv-SE-68ttS8MT.js} +0 -0
- /package/dist/{sv-SE-CSKtzGY2.js → sv-SE-B5rhe24M.js} +0 -0
- /package/dist/{sv-SE-Bx_Mk5xx.js → sv-SE-BM8WESGs.js} +0 -0
- /package/dist/{sv-SE-5JqRNF8X.js → sv-SE-C8tSsaYW.js} +0 -0
- /package/dist/{sv-SE-i9koytKp.js → sv-SE-CBNLo-2r.js} +0 -0
- /package/dist/{sv-SE-BV2EhITc.js → sv-SE-CVRa-6Y0.js} +0 -0
- /package/dist/{sv-SE-Bpo3MgEr.js → sv-SE-D3hPP-Mp.js} +0 -0
- /package/dist/{sv-SE-BhwzqPYQ.js → sv-SE-DTpqjuJd.js} +0 -0
- /package/dist/{sv-SE-BNhQj0RW.js → sv-SE-DhNNMEwq.js} +0 -0
- /package/dist/{sv-SE-CbOwA6fv.js → sv-SE-DlYizFz8.js} +0 -0
- /package/dist/{sv-SE-BOEa4u9p.js → sv-SE-Dsrb2FFw.js} +0 -0
- /package/dist/{sv-SE-dwaFgb6K.js → sv-SE-Iv-yFbrD2.js} +0 -0
- /package/dist/{sv-SE-DCJ5qTna2.js → sv-SE-RN6U43sG2.js} +0 -0
- /package/dist/{sv-SE-B11bsYOb.js → sv-SE-g8sg5z4z.js} +0 -0
- /package/dist/{tax-reporting-graph-CiYu4sVT.js → tax-reporting-graph-DNooZCbb.js} +0 -0
- /package/dist/{tink-logo-Dp4PjbAK.js → tink-logo-CX__31Jl.js} +0 -0
- /package/dist/{toFullWidth-CSa3Sffs.js → toFullWidth-CQcDriFa.js} +0 -0
- /package/dist/{trackNavigation--j_v51FT.js → trackNavigation-LvCP5Vyc.js} +0 -0
- /package/dist/{types-JwlhJAzE.js → types-BvdB7N_Z.js} +0 -0
- /package/dist/{types-CEqVWlW2.js → types-DFnOnn2u.js} +0 -0
- /package/dist/{us-check-NOKy2EZw.js → us-check-DDgyJGV7.js} +0 -0
- /package/dist/{us-check-account-number-6XnlzqOK.js → us-check-account-number-2IRtS9Sf.js} +0 -0
- /package/dist/{us-check-routing-number-BvTOZiYt.js → us-check-routing-number-DsS3HQjf.js} +0 -0
- /package/dist/{useId-KnIzB9vO.js → useId-eJSYfA6i.js} +0 -0
- /package/dist/{utils-oc3EdK6K.js → utils-DoIwWADT.js} +0 -0
- /package/dist/{utils-CNtocYve.js → utils-Dq8hAri1.js} +0 -0
- /package/dist/{validate-DHSybdw4.js → validate-BC1f_rgO.js} +0 -0
- /package/dist/{view-verification-status-CYHM_Ggf.js → view-verification-status-CtW_qUMg.js} +0 -0
- /package/dist/{yapily-logo-BDC11yL7.js → yapily-logo-ldkl6D52.js} +0 -0
|
@@ -0,0 +1,1803 @@
|
|
|
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] = "dc5bb16d-e0b6-4575-8434-1fb4c138dc3f", e._sentryDebugIdIdentifier = "sentry-dbid-dc5bb16d-e0b6-4575-8434-1fb4c138dc3f");
|
|
4
|
+
} catch (e) {}
|
|
5
|
+
import { i as Typography, r as useTranslation } from "./translation-hEYGx0ZB.js";
|
|
6
|
+
import { r as Loader, t as Button } from "./Button-CAoywEKy.js";
|
|
7
|
+
import { n as httpGet, s as useApiContext } from "./http-j2zqU8vS.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-BI6ESU0g.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-D6DJZmqu.js";
|
|
17
|
+
import { t as SettingNames } from "./types-B-8XphGe.js";
|
|
18
|
+
import { t as useToastContext } from "./useToastContext-d6uY8F_F.js";
|
|
19
|
+
import { t as EndStateLayout } from "./EndStateLayout-E6Ojfg_N.js";
|
|
20
|
+
import { t as useInvalidateRootLegalEntity } from "./invalidateRootLegalEntity-_CrcBcVy.js";
|
|
21
|
+
import { t as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-BGQ6cYIB.js";
|
|
22
|
+
import { n as translateTranslatable } from "./utils-g_Wl4-9Z.js";
|
|
23
|
+
import { t as useCreateLegalEntity } from "./useCreateLegalEntity-jSFh42K4.js";
|
|
24
|
+
import { t as useUpdateLegalEntity } from "./useUpdateLegalEntity-24uhTBvq.js";
|
|
25
|
+
import { t as Address } from "./Address-BHsUBMEd.js";
|
|
26
|
+
import { c as FormContextProvider, i as FormFlow, n as addValidityToForms, r as getRequiredForms, s as useFormComposer, t as useFormContext } from "./useFormContext-nr__Cvkn.js";
|
|
27
|
+
import { t as ErrorPanel } from "./ErrorPanel-BXe3GGb1.js";
|
|
28
|
+
import { t as createFormUtils } from "./formUtils-DcRJcDH1.js";
|
|
29
|
+
import { t as useMultiForm } from "./useMultiForm-BP_UxwIw.js";
|
|
30
|
+
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-BC_AIUoQ.js";
|
|
31
|
+
import { c as COUNTRIES_WITH_STATES_DATASET, n as getAddressSchemaLabelsByCountry, t as getAddressSchemaForCountry } from "./utils-k_FCPeM1.js";
|
|
32
|
+
import { i as isValidationError, o as processValidationErrors, s as isMaintenanceModeError } from "./validationError-Au-8gBsy.js";
|
|
33
|
+
import { r as formatObject } from "./utils-DoIwWADT.js";
|
|
34
|
+
import { t as localizeDateString } from "./localizeDateString-wO7n7rJg.js";
|
|
35
|
+
import { t as Field } from "./Field-BD_0HjiI.js";
|
|
36
|
+
import { t as Select } from "./Select-CAso7Gvi.js";
|
|
37
|
+
import { t as Checkbox } from "./Checkbox-B54372Sm.js";
|
|
38
|
+
import { t as getFieldProps } from "./getProps-CkZCnNxW.js";
|
|
39
|
+
import { t as Link } from "./Link-vZChdZDy.js";
|
|
40
|
+
import { t as InputText } from "./InputText-qdIKYibU.js";
|
|
41
|
+
import { t as InputDate } from "./InputDate-BQs83myS.js";
|
|
42
|
+
import { n as CountryField } from "./CountryField-BNRhvO1q.js";
|
|
43
|
+
import { t as RadioGroup } from "./RadioGroup-DAPea-p5.js";
|
|
44
|
+
import { t as currencyByCountry } from "./types-B_GKWcEZ.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-4t6bIyeE.js";
|
|
46
|
+
import { t as NewSummary } from "./NewSummary-BrMCbAGI.js";
|
|
47
|
+
import { t as businessFinancingMultiformRules } from "./validate-BC1f_rgO.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", {
|
|
1704
|
+
className: "adyen-kyc-form-wrapper",
|
|
1705
|
+
children: [
|
|
1706
|
+
selectedForm.formId === "soleProprietor" && /* @__PURE__ */ jsx(AdditionalFieldsForBusinessFinancingSoleProprietor, {
|
|
1707
|
+
data: derivedData?.soleProprietor,
|
|
1708
|
+
legalEntity: rootLegalEntity,
|
|
1709
|
+
heading: businessFinancingT(($) => $["additionalInformationForBusinessFinancing"]),
|
|
1710
|
+
id: selectedForm.formId,
|
|
1711
|
+
country,
|
|
1712
|
+
shouldValidate,
|
|
1713
|
+
fieldValidationErrors: problems?.validationErrors?.[selectedForm?.formId],
|
|
1714
|
+
formVerificationErrors: problems?.verificationErrors?.[selectedForm?.formId],
|
|
1715
|
+
errors: errors?.soleProprietor,
|
|
1716
|
+
valid: valid?.soleProprietor
|
|
1717
|
+
}),
|
|
1718
|
+
selectedForm.formId === companyFormId && /* @__PURE__ */ jsx(AdditionalFieldsForBusinessFinancingCompany, {
|
|
1719
|
+
data: derivedData?.company,
|
|
1720
|
+
legalEntity: rootLegalEntity,
|
|
1721
|
+
heading: businessFinancingT(($) => $["additionalInformationForBusinessFinancing"]),
|
|
1722
|
+
id: companyFormId,
|
|
1723
|
+
country,
|
|
1724
|
+
shouldValidate,
|
|
1725
|
+
fieldValidationErrors: problems?.validationErrors?.[selectedForm?.formId],
|
|
1726
|
+
formVerificationErrors: problems?.verificationErrors?.[selectedForm?.formId],
|
|
1727
|
+
errors: errors?.company,
|
|
1728
|
+
valid: valid?.company
|
|
1729
|
+
}),
|
|
1730
|
+
selectedForm.formId === parentCompanyFormId && /* @__PURE__ */ jsx(AdditionalFieldsForBusinessFinancingParentCompany, {
|
|
1731
|
+
data: derivedData?.parentCompany,
|
|
1732
|
+
heading: commonT(($) => $["parentCompanyInformation"]),
|
|
1733
|
+
id: companyFormId,
|
|
1734
|
+
country,
|
|
1735
|
+
shouldValidate,
|
|
1736
|
+
errors: errors?.parentCompany,
|
|
1737
|
+
legalEntity: rootLegalEntity
|
|
1738
|
+
}),
|
|
1739
|
+
selectedForm.formId === ultimateParentCompanyFormId && /* @__PURE__ */ jsx(AdditionalFieldsForBusinessFinancingUltimateParentCompany, {
|
|
1740
|
+
data: derivedData?.ultimateParentCompany,
|
|
1741
|
+
heading: commonT(($) => $["ultimateParentCompanyInformation"]),
|
|
1742
|
+
id: companyFormId,
|
|
1743
|
+
country,
|
|
1744
|
+
shouldValidate,
|
|
1745
|
+
errors: errors?.ultimateParentCompany,
|
|
1746
|
+
legalEntity: rootLegalEntity
|
|
1747
|
+
})
|
|
1748
|
+
]
|
|
1749
|
+
});
|
|
1750
|
+
if (!derivedData?.company && !derivedData?.soleProprietor) return /* @__PURE__ */ jsx(Loader, {});
|
|
1751
|
+
const allValidationErrors = problems?.validationErrors && Object.values(problems.validationErrors)?.reduce((acc, validError) => ({
|
|
1752
|
+
...acc,
|
|
1753
|
+
...validError
|
|
1754
|
+
}), {});
|
|
1755
|
+
const allVerificationErrors = problems?.verificationErrors && Object.values(problems.verificationErrors)?.reduce((acc, verifError) => ({
|
|
1756
|
+
...acc,
|
|
1757
|
+
...verifError
|
|
1758
|
+
}), {});
|
|
1759
|
+
const formUtils = createFormUtils({ labels: {} }, commonT);
|
|
1760
|
+
const handleEditForm = (formId) => {
|
|
1761
|
+
const formIndex = forms.findIndex((form) => form.formId === formId);
|
|
1762
|
+
if (formIndex >= 0) gotoFormByFormIndex(formIndex);
|
|
1763
|
+
};
|
|
1764
|
+
const summaryComponent = /* @__PURE__ */ jsx(BusinessFinancingSummary, {
|
|
1765
|
+
items: formatDataForSummary(i18n.language, businessFinancingT, datasetUtils, umfData, rootLegalEntity?.organization?.registeredAddress),
|
|
1766
|
+
handleEditForm,
|
|
1767
|
+
forms,
|
|
1768
|
+
children: /* @__PURE__ */ jsx(ErrorPanel, {
|
|
1769
|
+
validationErrors: allValidationErrors,
|
|
1770
|
+
verificationErrors: allVerificationErrors,
|
|
1771
|
+
formUtils,
|
|
1772
|
+
id: "ariaErrorField",
|
|
1773
|
+
slot: "errorPanel"
|
|
1774
|
+
})
|
|
1775
|
+
});
|
|
1776
|
+
return showEndState ? /* @__PURE__ */ jsx(EndStateLayout, {
|
|
1777
|
+
title: businessFinancingT(($) => $["submissionReceived"]),
|
|
1778
|
+
description: businessFinancingT(($) => $["theInformationProvidedIsBeingReviewed"]),
|
|
1779
|
+
action: externalOnSubmit && !showBusinessFinancingFirst ? /* @__PURE__ */ jsx(Button, {
|
|
1780
|
+
onClick: () => externalOnSubmit?.({ ...umfData }),
|
|
1781
|
+
children: externalOnSubmitLabel || commonT(($) => $["finish"])
|
|
1782
|
+
}) : void 0
|
|
1783
|
+
}) : /* @__PURE__ */ jsx(FormContextProvider, {
|
|
1784
|
+
form,
|
|
1785
|
+
children: /* @__PURE__ */ jsx(FormFlow, {
|
|
1786
|
+
summaryComponent,
|
|
1787
|
+
currentStep: steps.current,
|
|
1788
|
+
disableNextButton: !activeForm.isValid,
|
|
1789
|
+
forms,
|
|
1790
|
+
activeForm,
|
|
1791
|
+
gotoFormByFormIndex,
|
|
1792
|
+
gotoFormByFormId,
|
|
1793
|
+
handleBackClick,
|
|
1794
|
+
handleCancelClick: handleHomeClick,
|
|
1795
|
+
handleNextClick,
|
|
1796
|
+
loadingStatus,
|
|
1797
|
+
totalSteps: steps.total,
|
|
1798
|
+
children: /* @__PURE__ */ jsx("div", { children: renderActiveForm(activeForm || (derivedData?.soleProprietor ? businessFinancingForms.soleProprietor : businessFinancingForms.company)) })
|
|
1799
|
+
})
|
|
1800
|
+
});
|
|
1801
|
+
}
|
|
1802
|
+
//#endregion
|
|
1803
|
+
export { BusinessFinancingDropin as t };
|