@adyen/kyc-components 4.10.0 → 4.11.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/4-people-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-DLKR6UHP.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-D0kXm91Y.js +454 -0
- package/dist/DecisionMakerDetails-AxLrrm-Q.js +469 -0
- package/dist/DecisionMakerDetailsPage-BfrKjwlD.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-4_ucmMg8.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-D_ddbzUN.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-BTrJdEUq.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-C8ha9oP7.js +68 -0
- package/dist/RadioGroup-DAPea-p5.js +84 -0
- package/dist/Review-D_V907-B.js +99 -0
- package/dist/RootBusinessDetailsPage-CpJpwq-J.js +69 -0
- package/dist/RootBusinessLinesPage-kR_YA3x3.js +1452 -0
- package/dist/RootIndividualDetailsPage-DGgF0kED.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-BoSOJNxS.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-Cnsv_Wjn.js +469 -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-d_8FZZQb.js +1792 -0
- package/dist/TrustMemberCompanyPage-BCx7sgZY.js +107 -0
- package/dist/TrustMemberIndividualPage-ya4EV_FT.js +107 -0
- package/dist/TrustMemberRoleAndTypePage-DRbPuuPH.js +953 -0
- package/dist/TrustMembersOverview-CXAI1CK4.js +433 -0
- package/dist/UnincorporatedPartnershipIndividualPage-ovssKMk4.js +78 -0
- package/dist/UnincorporatedPartnershipMemberCompanyPage-DhY3nGNA.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-CrA6j7T1.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-Dc5yiygI.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-DQ18xcfQ.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-CLCBiLYT.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-CfpWabgn.js +0 -454
- package/dist/DecisionMakerDetails-DyR9_XXn.js +0 -469
- package/dist/DecisionMakerDetailsPage-B0AP7x2t.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-COoYAwcG.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-8-jF-t8H.js +0 -6
- package/dist/InvitedDecisionMakerComponent-QwJ7zyf0.js +0 -373
- package/dist/JpAddress-Cu0GrB7W.js +0 -322
- package/dist/LandingLayout-CTuu3qMV.js +0 -76
- package/dist/LegalCompanyNameField-BPxj9SCn.js +0 -108
- package/dist/LegalRepresentativeDetailsPage-BHkNx8kv.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-DVOPH_hg.js +0 -859
- package/dist/RadioGroup-DBDwVQAX.js +0 -84
- package/dist/Review-O6q9UkXW.js +0 -99
- package/dist/RootBusinessDetailsPage-hc6Cq5iE.js +0 -69
- package/dist/RootBusinessLinesPage-B36Go9y-.js +0 -1452
- package/dist/RootIndividualDetailsPage-C_iB94uM.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-rZaQdDVV.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-CNOw8n5a.js +0 -2906
- 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-DCLEUAD8.js +0 -1675
- package/dist/TrustMemberCompanyPage-CXe-TDVZ.js +0 -107
- package/dist/TrustMemberIndividualPage-CCAS9Ab-.js +0 -107
- package/dist/TrustMemberRoleAndTypePage-Dohh-Fk5.js +0 -953
- package/dist/TrustMembersOverview-CVS43fPZ.js +0 -433
- package/dist/UnincorporatedPartnershipIndividualPage-wgoL7EkB.js +0 -78
- package/dist/UnincorporatedPartnershipMemberCompanyPage-CmICi3f4.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-BnNq0wtB.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-OlHu6XTq.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-Cf8jKngu.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,1938 @@
|
|
|
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] = "d1eb15e1-0417-4113-ae00-62fa57162164", e._sentryDebugIdIdentifier = "sentry-dbid-d1eb15e1-0417-4113-ae00-62fa57162164");
|
|
4
|
+
} catch (e) {}
|
|
5
|
+
import { a as Icon, i as Typography, o as createLogger, r as useTranslation } from "./translation-hEYGx0ZB.js";
|
|
6
|
+
import { n as IconButton, r as Loader, t as Button } from "./Button-CAoywEKy.js";
|
|
7
|
+
import { n as httpGet, r as httpPost, s as useApiContext } from "./http-j2zqU8vS.js";
|
|
8
|
+
import { n as useLegalEntities, r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-CJD0bWSj.js";
|
|
9
|
+
import { o as objectsDeepEqual } from "./AnalyticsContext-C0HNdPss.js";
|
|
10
|
+
import { t as StackLayout } from "./StackLayout-D0Kqs-Ti.js";
|
|
11
|
+
import { n as TASK_STATUS_POLLING_INTERVAL_MS } from "./taskStatus-CvMqhrOK.js";
|
|
12
|
+
import { t as Header } from "./Header-BI6ESU0g.js";
|
|
13
|
+
import { t as Alert } from "./Alert-B5ye0DfE.js";
|
|
14
|
+
import { t as TaskTypes } from "./taskTypes-DWaxzvnQ.js";
|
|
15
|
+
import { t as useBusinessLines } from "./useBusinessLines-cI-M9B-y.js";
|
|
16
|
+
import { t as Card } from "./Card-D6AEqxyX.js";
|
|
17
|
+
import { t as useAnalyticsContext } from "./useAnalyticsContext-D6DJZmqu.js";
|
|
18
|
+
import { t as useToastContext } from "./useToastContext-d6uY8F_F.js";
|
|
19
|
+
import { t as useInvalidateRootLegalEntity } from "./invalidateRootLegalEntity-_CrcBcVy.js";
|
|
20
|
+
import { t as Avatar } from "./Avatar-BsTXJ0r5.js";
|
|
21
|
+
import { t as Modal } from "./Modal-BBG3ZQQS.js";
|
|
22
|
+
import { t as Confirm } from "./Confirm-DUAr1FiX.js";
|
|
23
|
+
import { t as Image } from "./Image-DTsQXPLw.js";
|
|
24
|
+
import { n as translateTranslatable } from "./utils-g_Wl4-9Z.js";
|
|
25
|
+
import { t as useCreateLegalEntity } from "./useCreateLegalEntity-jSFh42K4.js";
|
|
26
|
+
import { t as useUpdateLegalEntity } from "./useUpdateLegalEntity-24uhTBvq.js";
|
|
27
|
+
import { c as FormContextProvider, i as FormFlow, n as addValidityToForms, r as getRequiredForms, s as useFormComposer, t as useFormContext } from "./useFormContext-nr__Cvkn.js";
|
|
28
|
+
import { t as StructuredList } from "./StructuredList-BXi5p5iX.js";
|
|
29
|
+
import { t as ErrorPanel } from "./ErrorPanel-BXe3GGb1.js";
|
|
30
|
+
import { t as createFormUtils } from "./formUtils-DcRJcDH1.js";
|
|
31
|
+
import { t as useMultiForm } from "./useMultiForm-BP_UxwIw.js";
|
|
32
|
+
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-BC_AIUoQ.js";
|
|
33
|
+
import { o as createDocumentRequest, s as documentApiUtils } from "./validate-Cmbqq1fk.js";
|
|
34
|
+
import { r as formatObject } from "./utils-DoIwWADT.js";
|
|
35
|
+
import { t as Field } from "./Field-BD_0HjiI.js";
|
|
36
|
+
import { t as TileGroup } from "./TileGroup-Cq9eNUmn.js";
|
|
37
|
+
import { t as LandingLayout } from "./LandingLayout-Du-73NPo.js";
|
|
38
|
+
import { t as Select } from "./Select-CAso7Gvi.js";
|
|
39
|
+
import { t as Checkbox } from "./Checkbox-B54372Sm.js";
|
|
40
|
+
import { t as TextArea } from "./TextArea-B-Yo2jXh.js";
|
|
41
|
+
import { t as Dropzone } from "./Dropzone-CwJCEAjb.js";
|
|
42
|
+
import { t as InputText } from "./InputText-qdIKYibU.js";
|
|
43
|
+
import { t as InputDate } from "./InputDate-BQs83myS.js";
|
|
44
|
+
import { n as CountryField } from "./CountryField-BNRhvO1q.js";
|
|
45
|
+
import { t as RadioGroup } from "./RadioGroup-DAPea-p5.js";
|
|
46
|
+
import { t as InputGroup } from "./InputGroup-2FJnD0LO.js";
|
|
47
|
+
import { t as isEmpty } from "./isEmpty-DPybQEh0.js";
|
|
48
|
+
import { n as validateDateNotInTheFuture } from "./validate-BC1f_rgO.js";
|
|
49
|
+
import { t as useTaskStatus } from "./useTaskStatus-BzC5sEXT.js";
|
|
50
|
+
import { C as getSourceOfFundsRequiredForms, D as parseSofOriginatorPayload, E as parseSOFDocumentDescription, O as sofCategoryItemMapper, S as getSourceOfFundsRequiredFields, T as parseOriginatorDetails, _ as getServiceTranslation, a as allowedCurrencies, b as getSofCardDetails, c as getAdditionalDataForOriginator, d as getDocumentLists, f as getDocumentRequirements, g as getRelevantErrors, h as getPageHeadings, i as TODAY_DATE, k as formatAmountWithCurrency, l as getAdditionalDataSchemaKeys, m as getInputErrors, o as areSourceOfFundsEqual, p as getGettingStartedCardDetails, r as SOF_INVALID_INPUT_ERROR_CODES, s as formatDateForInput, t as ALLOWED_SOF_SERVICES, u as getApplicableBusinessLines, v as getServiceTranslationKey, w as getUniqueRemediationActions, x as getSourceOfFundsPayload, y as getServiceTranslationSelectTitle } from "./utils-g2Ds-zYM.js";
|
|
51
|
+
import { lazy } from "preact/compat";
|
|
52
|
+
import { useCallback as useCallback$1, useEffect as useEffect$1, useMemo as useMemo$1, useState as useState$1 } from "preact/hooks";
|
|
53
|
+
import { Fragment as Fragment$1, jsx, jsxs } from "preact/jsx-runtime";
|
|
54
|
+
import { signal } from "@preact/signals";
|
|
55
|
+
import { useMutation, useQuery, useQueryClient } from "@tanstack/preact-query";
|
|
56
|
+
//#region src/api/businessLines/useUpdateSourceOfFunds.ts
|
|
57
|
+
var updateSourceOfFunds = async (businessLineId, legalEntityId, baseUrl, data) => {
|
|
58
|
+
return httpPost({
|
|
59
|
+
baseUrl,
|
|
60
|
+
path: `legalEntities/${legalEntityId}/businessLines/${businessLineId}/sourceOfFunds`
|
|
61
|
+
}, data);
|
|
62
|
+
};
|
|
63
|
+
var useUpdateSourceOfFunds = (options) => {
|
|
64
|
+
const { rootLegalEntityId, baseUrl } = useApiContext();
|
|
65
|
+
const invalidateRootLegalEntity = useInvalidateRootLegalEntity();
|
|
66
|
+
return useMutation({
|
|
67
|
+
mutationFn: ({ businessLineId, ...requestData }) => updateSourceOfFunds(businessLineId, rootLegalEntityId.value, baseUrl.value, requestData),
|
|
68
|
+
onSuccess: async () => {
|
|
69
|
+
await invalidateRootLegalEntity();
|
|
70
|
+
},
|
|
71
|
+
...options
|
|
72
|
+
});
|
|
73
|
+
};
|
|
74
|
+
var sourceOfFundsComponentsKeyMapping = {
|
|
75
|
+
"sourceOfFundsType.type": "sourceOfFunds.type",
|
|
76
|
+
"additionalData.description": "sourceOfFunds.description",
|
|
77
|
+
"additionalData.amount": "sourceOfFunds.amount",
|
|
78
|
+
"additionalData.dateOfFundsReceived": "sourceOfFunds.dateOfFundsReceived",
|
|
79
|
+
"additionalData.purpose": "sourceOfFunds.purpose",
|
|
80
|
+
"additionalData.relationship": "sourceOfFunds.relationship",
|
|
81
|
+
"additionalData.originatorLegalEntityId": "sourceOfFunds.originatorLegalEntityId",
|
|
82
|
+
"additionalData.financiers": "sourceOfFunds.financiers",
|
|
83
|
+
"additionalData.cryptocurrencyExchange": "sourceOfFunds.cryptocurrencyExchange",
|
|
84
|
+
"additionalData.dateOfSourceEvent": "sourceOfFunds.dateOfSourceEvent",
|
|
85
|
+
"additionalData.website": "sourceOfFunds.website",
|
|
86
|
+
"additionalData.legalName": "sourceOfFunds.legalName",
|
|
87
|
+
"additionalData.firstName": "sourceOfFunds.firstName",
|
|
88
|
+
"additionalData.lastName": "sourceOfFunds.lastName",
|
|
89
|
+
"additionalData.country": "sourceOfFunds.country",
|
|
90
|
+
"additionalData.originatorType": "sourceOfFunds.originatorType"
|
|
91
|
+
};
|
|
92
|
+
//#endregion
|
|
93
|
+
//#region src/components/EFP/mapping/mapSourceOfFundToSourceOfFundsSchema.ts
|
|
94
|
+
var mapSourceOfFundToSourceOfFundsSchema = (businessLine) => formatObject(businessLine, sourceOfFundsComponentsKeyMapping);
|
|
95
|
+
//#endregion
|
|
96
|
+
//#region src/components/EFP/tasks/SourceOfFundsDropin/sofStore.ts
|
|
97
|
+
var sofErrorMessage = signal(void 0);
|
|
98
|
+
var setSofErrorMessage = (message) => {
|
|
99
|
+
sofErrorMessage.value = message;
|
|
100
|
+
};
|
|
101
|
+
var clearSofErrorMessage = () => {
|
|
102
|
+
sofErrorMessage.value = void 0;
|
|
103
|
+
};
|
|
104
|
+
//#endregion
|
|
105
|
+
//#region src/api/datasets/useSourceOfFundsTypes.ts
|
|
106
|
+
var getSourceOfFundsTypes = async (baseUrl) => {
|
|
107
|
+
return httpGet({
|
|
108
|
+
baseUrl,
|
|
109
|
+
path: `datasets/sourceOfFundsTypes`
|
|
110
|
+
});
|
|
111
|
+
};
|
|
112
|
+
var useSourceOfFundsTypes = (options) => {
|
|
113
|
+
const { baseUrl } = useApiContext();
|
|
114
|
+
return useQuery({
|
|
115
|
+
queryKey: ["sourceOfFundsTypes"],
|
|
116
|
+
queryFn: () => getSourceOfFundsTypes(baseUrl.value),
|
|
117
|
+
...options
|
|
118
|
+
});
|
|
119
|
+
};
|
|
120
|
+
var SourceOfFunds_module_default = {
|
|
121
|
+
"source-of-funds": "adyen-kyc-source-of-funds",
|
|
122
|
+
sourceOfFunds: "adyen-kyc-source-of-funds",
|
|
123
|
+
"source-of-funds__wrapper-loading": "adyen-kyc-source-of-funds__wrapper-loading",
|
|
124
|
+
sourceOfFundsWrapperLoading: "adyen-kyc-source-of-funds__wrapper-loading",
|
|
125
|
+
"source-of-funds__wrapper-heading": "adyen-kyc-source-of-funds__wrapper-heading",
|
|
126
|
+
sourceOfFundsWrapperHeading: "adyen-kyc-source-of-funds__wrapper-heading",
|
|
127
|
+
"source-of-funds__wrapper-description": "adyen-kyc-source-of-funds__wrapper-description",
|
|
128
|
+
sourceOfFundsWrapperDescription: "adyen-kyc-source-of-funds__wrapper-description",
|
|
129
|
+
"source-of-funds__same-as-checkbox": "adyen-kyc-source-of-funds__same-as-checkbox",
|
|
130
|
+
sourceOfFundsSameAsCheckbox: "adyen-kyc-source-of-funds__same-as-checkbox",
|
|
131
|
+
"source-of-funds__getting-started": "adyen-kyc-source-of-funds__getting-started",
|
|
132
|
+
sourceOfFundsGettingStarted: "adyen-kyc-source-of-funds__getting-started",
|
|
133
|
+
"source-of-funds__getting-started-heading": "adyen-kyc-source-of-funds__getting-started-heading",
|
|
134
|
+
sourceOfFundsGettingStartedHeading: "adyen-kyc-source-of-funds__getting-started-heading",
|
|
135
|
+
"source-of-funds__getting-started-body": "adyen-kyc-source-of-funds__getting-started-body",
|
|
136
|
+
sourceOfFundsGettingStartedBody: "adyen-kyc-source-of-funds__getting-started-body",
|
|
137
|
+
"source-of-funds__getting-started-error": "adyen-kyc-source-of-funds__getting-started-error",
|
|
138
|
+
sourceOfFundsGettingStartedError: "adyen-kyc-source-of-funds__getting-started-error",
|
|
139
|
+
"source-of-funds__getting-started-error-actions": "adyen-kyc-source-of-funds__getting-started-error-actions",
|
|
140
|
+
sourceOfFundsGettingStartedErrorActions: "adyen-kyc-source-of-funds__getting-started-error-actions",
|
|
141
|
+
"source-of-funds__getting-started-cards": "adyen-kyc-source-of-funds__getting-started-cards",
|
|
142
|
+
sourceOfFundsGettingStartedCards: "adyen-kyc-source-of-funds__getting-started-cards",
|
|
143
|
+
"source-of-funds__getting-started-cards-card": "adyen-kyc-source-of-funds__getting-started-cards-card",
|
|
144
|
+
sourceOfFundsGettingStartedCardsCard: "adyen-kyc-source-of-funds__getting-started-cards-card",
|
|
145
|
+
"source-of-funds__getting-started-cards-card-header": "adyen-kyc-source-of-funds__getting-started-cards-card-header",
|
|
146
|
+
sourceOfFundsGettingStartedCardsCardHeader: "adyen-kyc-source-of-funds__getting-started-cards-card-header",
|
|
147
|
+
"source-of-funds__getting-started-cards-card-body": "adyen-kyc-source-of-funds__getting-started-cards-card-body",
|
|
148
|
+
sourceOfFundsGettingStartedCardsCardBody: "adyen-kyc-source-of-funds__getting-started-cards-card-body",
|
|
149
|
+
"source-of-funds__getting-started-actions": "adyen-kyc-source-of-funds__getting-started-actions",
|
|
150
|
+
sourceOfFundsGettingStartedActions: "adyen-kyc-source-of-funds__getting-started-actions",
|
|
151
|
+
"source-of-funds__additional-data-form": "adyen-kyc-source-of-funds__additional-data-form",
|
|
152
|
+
sourceOfFundsAdditionalDataForm: "adyen-kyc-source-of-funds__additional-data-form",
|
|
153
|
+
"source-of-funds__third-party-funding-financier-group": "adyen-kyc-source-of-funds__third-party-funding-financier-group",
|
|
154
|
+
sourceOfFundsThirdPartyFundingFinancierGroup: "adyen-kyc-source-of-funds__third-party-funding-financier-group",
|
|
155
|
+
"source-of-funds__third-party-funding-name-avatar-group": "adyen-kyc-source-of-funds__third-party-funding-name-avatar-group",
|
|
156
|
+
sourceOfFundsThirdPartyFundingNameAvatarGroup: "adyen-kyc-source-of-funds__third-party-funding-name-avatar-group",
|
|
157
|
+
"source-of-funds__third-party-funding-name-address-group": "adyen-kyc-source-of-funds__third-party-funding-name-address-group",
|
|
158
|
+
sourceOfFundsThirdPartyFundingNameAddressGroup: "adyen-kyc-source-of-funds__third-party-funding-name-address-group",
|
|
159
|
+
"source-of-funds__sof-financier-form-error": "adyen-kyc-source-of-funds__sof-financier-form-error",
|
|
160
|
+
sourceOfFundsSofFinancierFormError: "adyen-kyc-source-of-funds__sof-financier-form-error",
|
|
161
|
+
"source-of-funds__sof-financier-form-name-group": "adyen-kyc-source-of-funds__sof-financier-form-name-group",
|
|
162
|
+
sourceOfFundsSofFinancierFormNameGroup: "adyen-kyc-source-of-funds__sof-financier-form-name-group",
|
|
163
|
+
"source-of-funds__financier-footer": "adyen-kyc-source-of-funds__financier-footer",
|
|
164
|
+
sourceOfFundsFinancierFooter: "adyen-kyc-source-of-funds__financier-footer",
|
|
165
|
+
"source-of-funds__grid-container": "adyen-kyc-source-of-funds__grid-container",
|
|
166
|
+
sourceOfFundsGridContainer: "adyen-kyc-source-of-funds__grid-container",
|
|
167
|
+
"source-of-funds__sub-heading": "adyen-kyc-source-of-funds__sub-heading",
|
|
168
|
+
sourceOfFundsSubHeading: "adyen-kyc-source-of-funds__sub-heading",
|
|
169
|
+
"source-of-funds__upload-modal-content-field": "adyen-kyc-source-of-funds__upload-modal-content-field",
|
|
170
|
+
sourceOfFundsUploadModalContentField: "adyen-kyc-source-of-funds__upload-modal-content-field",
|
|
171
|
+
"source-of-funds__upload-modal-content-field-radio-group": "adyen-kyc-source-of-funds__upload-modal-content-field-radio-group",
|
|
172
|
+
sourceOfFundsUploadModalContentFieldRadioGroup: "adyen-kyc-source-of-funds__upload-modal-content-field-radio-group",
|
|
173
|
+
"source-of-funds__upload-modal-content-requirements-container": "adyen-kyc-source-of-funds__upload-modal-content-requirements-container",
|
|
174
|
+
sourceOfFundsUploadModalContentRequirementsContainer: "adyen-kyc-source-of-funds__upload-modal-content-requirements-container",
|
|
175
|
+
"source-of-funds__upload-list-heading": "adyen-kyc-source-of-funds__upload-list-heading",
|
|
176
|
+
sourceOfFundsUploadListHeading: "adyen-kyc-source-of-funds__upload-list-heading",
|
|
177
|
+
"source-of-funds__modal": "adyen-kyc-source-of-funds__modal",
|
|
178
|
+
sourceOfFundsModal: "adyen-kyc-source-of-funds__modal"
|
|
179
|
+
};
|
|
180
|
+
//#endregion
|
|
181
|
+
//#region src/components/EFP/tasks/SourceOfFundsDropin/SOFAdditionalData/AdditionalDataForAssetSale.tsx
|
|
182
|
+
function AdditionalDataForAssetSale(props) {
|
|
183
|
+
const [isFocused, setIsFocused] = useState$1(false);
|
|
184
|
+
const { formUtils, data, errors, valid, fieldProblems, handleChangeFor, handleAmountChange } = props;
|
|
185
|
+
const { t: commonT } = useTranslation("common");
|
|
186
|
+
const handleOnAmountBlur = () => {
|
|
187
|
+
setIsFocused(false);
|
|
188
|
+
handleAmountChange("amount");
|
|
189
|
+
};
|
|
190
|
+
return /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsxs("div", {
|
|
191
|
+
className: SourceOfFunds_module_default.sourceOfFundsGridContainer,
|
|
192
|
+
children: [/* @__PURE__ */ jsx(Field, {
|
|
193
|
+
el: "fieldset",
|
|
194
|
+
name: "amount",
|
|
195
|
+
label: formUtils.getLabel("amount", "saleAmount"),
|
|
196
|
+
errorMessage: formUtils.getErrorMessage("amount", errors, fieldProblems),
|
|
197
|
+
children: (childProps) => /* @__PURE__ */ jsxs(InputGroup, {
|
|
198
|
+
...childProps,
|
|
199
|
+
id: "currencyGroup",
|
|
200
|
+
isFocused,
|
|
201
|
+
isInvalid: Boolean(!valid.amount && errors.amount),
|
|
202
|
+
children: [/* @__PURE__ */ jsx(Select, {
|
|
203
|
+
name: "currency",
|
|
204
|
+
"aria-label": commonT(($) => $["currency"]),
|
|
205
|
+
isMulti: false,
|
|
206
|
+
items: allowedCurrencies,
|
|
207
|
+
selected: data.amount?.currency,
|
|
208
|
+
placeholder: commonT(($) => $["select"]),
|
|
209
|
+
onChange: handleAmountChange("currency"),
|
|
210
|
+
minimal: true
|
|
211
|
+
}), /* @__PURE__ */ jsx(InputText, {
|
|
212
|
+
...childProps,
|
|
213
|
+
name: "amount",
|
|
214
|
+
value: data.amount?.value,
|
|
215
|
+
readonly: formUtils.isReadOnly("amount"),
|
|
216
|
+
onInput: handleAmountChange("amount"),
|
|
217
|
+
onBlur: handleOnAmountBlur,
|
|
218
|
+
"aria-required": true,
|
|
219
|
+
"aria-invalid": !valid.amount,
|
|
220
|
+
isValid: valid.amount,
|
|
221
|
+
onFocusHandler: () => setIsFocused(true)
|
|
222
|
+
})]
|
|
223
|
+
})
|
|
224
|
+
}), /* @__PURE__ */ jsx(Field, {
|
|
225
|
+
name: "dateOfSourceEvent",
|
|
226
|
+
label: formUtils.getLabel("dateOfSourceEvent", "dateOfSale"),
|
|
227
|
+
errorMessage: formUtils.getErrorMessage("dateOfSourceEvent", errors, fieldProblems),
|
|
228
|
+
isValid: valid.dateOfSourceEvent,
|
|
229
|
+
children: (childProps) => /* @__PURE__ */ jsx(InputDate, {
|
|
230
|
+
...childProps,
|
|
231
|
+
name: "dateOfSourceEvent",
|
|
232
|
+
value: formatDateForInput(data.dateOfSourceEvent),
|
|
233
|
+
onInput: handleChangeFor("dateOfSourceEvent", "input"),
|
|
234
|
+
onBlur: handleChangeFor("dateOfSourceEvent", "blur"),
|
|
235
|
+
"aria-required": true,
|
|
236
|
+
"aria-invalid": !valid.dateOfSourceEvent,
|
|
237
|
+
max: TODAY_DATE
|
|
238
|
+
})
|
|
239
|
+
})]
|
|
240
|
+
}), /* @__PURE__ */ jsx(Field, {
|
|
241
|
+
name: "description",
|
|
242
|
+
label: formUtils.getLabel("description", "propertyDescription"),
|
|
243
|
+
errorMessage: formUtils.getErrorMessage("description", errors, fieldProblems),
|
|
244
|
+
isValid: valid.description,
|
|
245
|
+
children: (childProps) => /* @__PURE__ */ jsx(TextArea, {
|
|
246
|
+
...childProps,
|
|
247
|
+
name: "description",
|
|
248
|
+
value: data.description,
|
|
249
|
+
maxLength: 200,
|
|
250
|
+
onInput: handleChangeFor("description"),
|
|
251
|
+
onBlur: handleChangeFor("description"),
|
|
252
|
+
"aria-invalid": !valid.description
|
|
253
|
+
})
|
|
254
|
+
})] });
|
|
255
|
+
}
|
|
256
|
+
//#endregion
|
|
257
|
+
//#region src/components/EFP/tasks/SourceOfFundsDropin/SOFAdditionalData/AdditionalDataForBusiness.tsx
|
|
258
|
+
function AdditionalDataForBusiness(props) {
|
|
259
|
+
const [isFocused, setIsFocused] = useState$1(false);
|
|
260
|
+
const { formUtils, data, errors, valid, fieldProblems, handleChangeFor, handleAmountChange } = props;
|
|
261
|
+
const { t: commonT } = useTranslation("common");
|
|
262
|
+
const handleOnAmountBlur = () => {
|
|
263
|
+
setIsFocused(false);
|
|
264
|
+
handleAmountChange("amount");
|
|
265
|
+
};
|
|
266
|
+
return /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx(Field, {
|
|
267
|
+
el: "fieldset",
|
|
268
|
+
name: "amount",
|
|
269
|
+
label: formUtils.getLabel("amount", "annualTurnover"),
|
|
270
|
+
errorMessage: formUtils.getErrorMessage("amount", errors, fieldProblems),
|
|
271
|
+
helper: commonT(($) => $["useFiguresFromTheMostRecentYearAvailable"]),
|
|
272
|
+
helperPosition: "below",
|
|
273
|
+
children: (childProps) => /* @__PURE__ */ jsxs(InputGroup, {
|
|
274
|
+
...childProps,
|
|
275
|
+
id: "currencyGroup",
|
|
276
|
+
isFocused,
|
|
277
|
+
isInvalid: Boolean(!valid.amount && errors.amount),
|
|
278
|
+
children: [/* @__PURE__ */ jsx(Select, {
|
|
279
|
+
name: "currency",
|
|
280
|
+
"aria-label": commonT(($) => $["currency"]),
|
|
281
|
+
isMulti: false,
|
|
282
|
+
items: allowedCurrencies,
|
|
283
|
+
selected: data.amount?.currency,
|
|
284
|
+
placeholder: commonT(($) => $["select"]),
|
|
285
|
+
onChange: handleAmountChange("currency"),
|
|
286
|
+
minimal: true
|
|
287
|
+
}), /* @__PURE__ */ jsx(InputText, {
|
|
288
|
+
...childProps,
|
|
289
|
+
name: "amount",
|
|
290
|
+
value: data.amount?.value,
|
|
291
|
+
readonly: formUtils.isReadOnly("amount"),
|
|
292
|
+
onInput: handleAmountChange("amount"),
|
|
293
|
+
onBlur: handleOnAmountBlur,
|
|
294
|
+
"aria-required": true,
|
|
295
|
+
"aria-invalid": !valid.amount,
|
|
296
|
+
isValid: valid.amount,
|
|
297
|
+
onFocusHandler: () => setIsFocused(true)
|
|
298
|
+
})]
|
|
299
|
+
})
|
|
300
|
+
}), /* @__PURE__ */ jsx(Field, {
|
|
301
|
+
name: "description",
|
|
302
|
+
label: formUtils.getLabel("description", "businessDescription"),
|
|
303
|
+
errorMessage: formUtils.getErrorMessage("description", errors, fieldProblems),
|
|
304
|
+
isValid: valid.description,
|
|
305
|
+
children: (childProps) => /* @__PURE__ */ jsx(TextArea, {
|
|
306
|
+
...childProps,
|
|
307
|
+
name: "description",
|
|
308
|
+
value: data.description,
|
|
309
|
+
maxLength: 200,
|
|
310
|
+
onInput: handleChangeFor("description"),
|
|
311
|
+
onBlur: handleChangeFor("description"),
|
|
312
|
+
"aria-invalid": !valid.description
|
|
313
|
+
})
|
|
314
|
+
})] });
|
|
315
|
+
}
|
|
316
|
+
//#endregion
|
|
317
|
+
//#region src/components/EFP/tasks/SourceOfFundsDropin/SOFAdditionalData/AdditionalDataForCryptocurrency.tsx
|
|
318
|
+
function AdditionalDataForCryptocurrency(props) {
|
|
319
|
+
const { t: sofT } = useTranslation("sof");
|
|
320
|
+
const { formUtils, data, errors, valid, fieldProblems, handleChangeFor } = props;
|
|
321
|
+
return /* @__PURE__ */ jsx(Field, {
|
|
322
|
+
name: "cryptocurrencyExchange",
|
|
323
|
+
label: formUtils.getLabel("cryptocurrencyExchange", "cryptocurrencyExchange"),
|
|
324
|
+
errorMessage: formUtils.getErrorMessage("cryptocurrencyExchange", errors, fieldProblems),
|
|
325
|
+
isValid: valid.cryptocurrencyExchange,
|
|
326
|
+
helper: sofT(($) => $["nameOfTheExchangeWhereTheCryptocurrencyWasHeldPriorToSale"]),
|
|
327
|
+
helperPosition: "below",
|
|
328
|
+
children: (childProps) => /* @__PURE__ */ jsx(InputText, {
|
|
329
|
+
...childProps,
|
|
330
|
+
name: "cryptocurrencyExchange",
|
|
331
|
+
value: data.cryptocurrencyExchange,
|
|
332
|
+
readonly: formUtils.isReadOnly("cryptocurrencyExchange"),
|
|
333
|
+
onInput: handleChangeFor("cryptocurrencyExchange", "input"),
|
|
334
|
+
onBlur: handleChangeFor("cryptocurrencyExchange", "blur"),
|
|
335
|
+
"aria-required": true,
|
|
336
|
+
"aria-invalid": !valid.cryptocurrencyExchange,
|
|
337
|
+
isValid: valid.cryptocurrencyExchange
|
|
338
|
+
})
|
|
339
|
+
});
|
|
340
|
+
}
|
|
341
|
+
//#endregion
|
|
342
|
+
//#region src/components/EFP/tasks/SourceOfFundsDropin/SOFAdditionalData/AdditionalDataOriginatorLegalEntity.tsx
|
|
343
|
+
var radioItems = [{
|
|
344
|
+
id: "individual",
|
|
345
|
+
name: "individual"
|
|
346
|
+
}, {
|
|
347
|
+
id: "organization",
|
|
348
|
+
name: "organization"
|
|
349
|
+
}];
|
|
350
|
+
function AdditionalDataOriginatorLegalEntity(props) {
|
|
351
|
+
const { t: sofT } = useTranslation("sof");
|
|
352
|
+
const { formUtils, data, errors, valid, fieldProblems, handleChangeFor, sourceOfFundsType } = props;
|
|
353
|
+
const isDonations = sourceOfFundsType === "donations";
|
|
354
|
+
const countryTranslationKey = isDonations && data?.originatorType === "individual" ? "donorsCountryOfResidence" : data?.originatorType === "organization" ? "organizationsCountryOfOperation" : "decedentsCountryOfDeath";
|
|
355
|
+
return /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
356
|
+
/* @__PURE__ */ jsx(Field, {
|
|
357
|
+
el: "fieldset",
|
|
358
|
+
name: "originatorType",
|
|
359
|
+
className: SourceOfFunds_module_default.sourceOfFundsUploadModalContentField,
|
|
360
|
+
label: sofT(($) => $[isDonations ? "whereDidThisGiftOrDonationComeFrom" : "whereDidThisInheritanceComeFrom"]),
|
|
361
|
+
errorMessage: formUtils.getErrorMessage("originatorType", errors, fieldProblems),
|
|
362
|
+
isValid: valid.originatorType,
|
|
363
|
+
children: (childProps) => /* @__PURE__ */ jsx(RadioGroup, {
|
|
364
|
+
...childProps,
|
|
365
|
+
name: "originatorType",
|
|
366
|
+
className: SourceOfFunds_module_default.sourceOfFundsUploadModalContentFieldRadioGroup,
|
|
367
|
+
items: radioItems,
|
|
368
|
+
value: data.originatorType,
|
|
369
|
+
disabled: false,
|
|
370
|
+
onChange: handleChangeFor("originatorType", "input"),
|
|
371
|
+
"aria-required": true
|
|
372
|
+
})
|
|
373
|
+
}),
|
|
374
|
+
data?.originatorType === "organization" && /* @__PURE__ */ jsx(Field, {
|
|
375
|
+
name: "legalName",
|
|
376
|
+
label: formUtils.getLabel("legalName", "organizationsLegalName"),
|
|
377
|
+
errorMessage: formUtils.getErrorMessage("legalName", errors, fieldProblems),
|
|
378
|
+
isValid: valid.legalName,
|
|
379
|
+
children: (childProps) => /* @__PURE__ */ jsx(InputText, {
|
|
380
|
+
...childProps,
|
|
381
|
+
name: "legalName",
|
|
382
|
+
value: data.legalName,
|
|
383
|
+
readonly: formUtils.isReadOnly("legalName"),
|
|
384
|
+
onInput: handleChangeFor("legalName", "input"),
|
|
385
|
+
onBlur: handleChangeFor("legalName", "blur"),
|
|
386
|
+
"aria-required": true,
|
|
387
|
+
"aria-invalid": !valid.legalName,
|
|
388
|
+
isValid: valid.legalName
|
|
389
|
+
})
|
|
390
|
+
}),
|
|
391
|
+
data?.originatorType === "individual" && /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx(Field, {
|
|
392
|
+
name: "firstName",
|
|
393
|
+
label: formUtils.getLabel("firstName", isDonations ? "donorsLegalFirstName" : "decedentsLegalFirstName"),
|
|
394
|
+
errorMessage: formUtils.getErrorMessage("firstName", errors, fieldProblems),
|
|
395
|
+
isValid: valid.firstName,
|
|
396
|
+
children: (childProps) => /* @__PURE__ */ jsx(InputText, {
|
|
397
|
+
...childProps,
|
|
398
|
+
name: "firstName",
|
|
399
|
+
value: data.firstName,
|
|
400
|
+
readonly: formUtils.isReadOnly("firstName"),
|
|
401
|
+
onInput: handleChangeFor("firstName", "input"),
|
|
402
|
+
onBlur: handleChangeFor("firstName", "blur"),
|
|
403
|
+
"aria-required": true,
|
|
404
|
+
"aria-invalid": !valid.firstName,
|
|
405
|
+
isValid: valid.firstName
|
|
406
|
+
})
|
|
407
|
+
}), /* @__PURE__ */ jsx(Field, {
|
|
408
|
+
name: "lastName",
|
|
409
|
+
label: formUtils.getLabel("lastName", isDonations ? "donorsLegalLastName" : "decedentsLegalLastName"),
|
|
410
|
+
errorMessage: formUtils.getErrorMessage("lastName", errors, fieldProblems),
|
|
411
|
+
isValid: valid.lastName,
|
|
412
|
+
children: (childProps) => /* @__PURE__ */ jsx(InputText, {
|
|
413
|
+
...childProps,
|
|
414
|
+
name: "lastName",
|
|
415
|
+
value: data.lastName,
|
|
416
|
+
readonly: formUtils.isReadOnly("lastName"),
|
|
417
|
+
onInput: handleChangeFor("lastName", "input"),
|
|
418
|
+
onBlur: handleChangeFor("lastName", "blur"),
|
|
419
|
+
"aria-required": true,
|
|
420
|
+
"aria-invalid": !valid.lastName,
|
|
421
|
+
isValid: valid.lastName
|
|
422
|
+
})
|
|
423
|
+
})] }),
|
|
424
|
+
data?.originatorType && /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx(Field, {
|
|
425
|
+
name: "relationship",
|
|
426
|
+
label: formUtils.getLabel("relationship", isDonations && data?.originatorType === "individual" ? "yourRelationshipToDonor" : data?.originatorType === "organization" ? "yourRelationshipToOrganization" : "yourRelationshipToDecedent"),
|
|
427
|
+
errorMessage: formUtils.getErrorMessage("relationship", errors, fieldProblems),
|
|
428
|
+
isValid: valid.relationship,
|
|
429
|
+
children: (childProps) => /* @__PURE__ */ jsx(InputText, {
|
|
430
|
+
...childProps,
|
|
431
|
+
name: "relationship",
|
|
432
|
+
value: data.relationship,
|
|
433
|
+
readonly: formUtils.isReadOnly("relationship"),
|
|
434
|
+
onInput: handleChangeFor("relationship", "input"),
|
|
435
|
+
onBlur: handleChangeFor("relationship", "blur"),
|
|
436
|
+
"aria-required": true,
|
|
437
|
+
"aria-invalid": !valid.relationship,
|
|
438
|
+
isValid: valid.relationship
|
|
439
|
+
})
|
|
440
|
+
}), /* @__PURE__ */ jsx(CountryField, {
|
|
441
|
+
data: { country: data.country },
|
|
442
|
+
valid: { country: valid.country },
|
|
443
|
+
errors: { country: formUtils.getErrorMessage("country", errors, fieldProblems) },
|
|
444
|
+
labels: { country: sofT(($) => $[countryTranslationKey]) },
|
|
445
|
+
readonly: formUtils.isReadOnly("country"),
|
|
446
|
+
handleChangeFor
|
|
447
|
+
})] })
|
|
448
|
+
] });
|
|
449
|
+
}
|
|
450
|
+
//#endregion
|
|
451
|
+
//#region src/components/EFP/tasks/SourceOfFundsDropin/SOFAdditionalData/AdditionalDataForDonation.tsx
|
|
452
|
+
function AdditionalDataForDonation(props) {
|
|
453
|
+
const { formUtils, data, errors, valid, fieldProblems, handleChangeFor } = props;
|
|
454
|
+
return /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx(AdditionalDataOriginatorLegalEntity, {
|
|
455
|
+
formUtils,
|
|
456
|
+
handleChangeFor,
|
|
457
|
+
data,
|
|
458
|
+
errors,
|
|
459
|
+
valid,
|
|
460
|
+
fieldProblems,
|
|
461
|
+
sourceOfFundsType: "donations"
|
|
462
|
+
}), /* @__PURE__ */ jsxs("div", {
|
|
463
|
+
className: SourceOfFunds_module_default.sourceOfFundsGridContainer,
|
|
464
|
+
children: [/* @__PURE__ */ jsx(Field, {
|
|
465
|
+
name: "purpose",
|
|
466
|
+
label: formUtils.getLabel("purpose", "reason"),
|
|
467
|
+
errorMessage: formUtils.getErrorMessage("purpose", errors, fieldProblems),
|
|
468
|
+
isValid: valid.purpose,
|
|
469
|
+
children: (childProps) => /* @__PURE__ */ jsx(InputText, {
|
|
470
|
+
...childProps,
|
|
471
|
+
name: "purpose",
|
|
472
|
+
value: data.purpose,
|
|
473
|
+
readonly: formUtils.isReadOnly("purpose"),
|
|
474
|
+
onInput: handleChangeFor("purpose", "input"),
|
|
475
|
+
onBlur: handleChangeFor("purpose", "blur"),
|
|
476
|
+
"aria-required": true,
|
|
477
|
+
"aria-invalid": !valid.purpose,
|
|
478
|
+
isValid: valid.purpose
|
|
479
|
+
})
|
|
480
|
+
}), /* @__PURE__ */ jsx(Field, {
|
|
481
|
+
name: "dateOfFundsReceived",
|
|
482
|
+
label: formUtils.getLabel("dateOfFundsReceived", "date"),
|
|
483
|
+
errorMessage: formUtils.getErrorMessage("dateOfFundsReceived", errors, fieldProblems),
|
|
484
|
+
isValid: valid.dateOfFundsReceived,
|
|
485
|
+
children: (childProps) => /* @__PURE__ */ jsx(InputDate, {
|
|
486
|
+
...childProps,
|
|
487
|
+
name: "dateOfFundsReceived",
|
|
488
|
+
value: formatDateForInput(data.dateOfFundsReceived),
|
|
489
|
+
onInput: handleChangeFor("dateOfFundsReceived", "input"),
|
|
490
|
+
onBlur: handleChangeFor("dateOfFundsReceived", "blur"),
|
|
491
|
+
"aria-required": true,
|
|
492
|
+
"aria-invalid": !valid.dateOfFundsReceived,
|
|
493
|
+
max: TODAY_DATE
|
|
494
|
+
})
|
|
495
|
+
})]
|
|
496
|
+
})] });
|
|
497
|
+
}
|
|
498
|
+
//#endregion
|
|
499
|
+
//#region src/components/EFP/tasks/SourceOfFundsDropin/SOFAdditionalData/AdditionalDataForGambling.tsx
|
|
500
|
+
function AdditionalDataForGambling(props) {
|
|
501
|
+
const { t: commonT } = useTranslation("common");
|
|
502
|
+
const [focusedInput, setFocusedInput] = useState$1();
|
|
503
|
+
const { formUtils, data, errors, valid, fieldProblems, handleChangeFor, handleAmountChange } = props;
|
|
504
|
+
const handleOnAmountBlur = () => {
|
|
505
|
+
setFocusedInput(void 0);
|
|
506
|
+
handleAmountChange("amount");
|
|
507
|
+
};
|
|
508
|
+
return /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
509
|
+
/* @__PURE__ */ jsx(Field, {
|
|
510
|
+
el: "fieldset",
|
|
511
|
+
name: "amount",
|
|
512
|
+
label: formUtils.getLabel("amount", "totalAmountWon"),
|
|
513
|
+
errorMessage: formUtils.getErrorMessage("amount", errors, fieldProblems),
|
|
514
|
+
children: (childProps) => /* @__PURE__ */ jsxs(InputGroup, {
|
|
515
|
+
...childProps,
|
|
516
|
+
id: "currencyGroup",
|
|
517
|
+
isFocused: focusedInput === "amount",
|
|
518
|
+
isInvalid: Boolean(!valid.amount && errors.amount),
|
|
519
|
+
children: [/* @__PURE__ */ jsx(Select, {
|
|
520
|
+
name: "currency",
|
|
521
|
+
"aria-label": commonT(($) => $["currency"]),
|
|
522
|
+
isMulti: false,
|
|
523
|
+
items: allowedCurrencies,
|
|
524
|
+
selected: data.amount?.currency,
|
|
525
|
+
placeholder: commonT(($) => $["select"]),
|
|
526
|
+
onChange: handleAmountChange("currency"),
|
|
527
|
+
minimal: true
|
|
528
|
+
}), /* @__PURE__ */ jsx(InputText, {
|
|
529
|
+
...childProps,
|
|
530
|
+
name: "amount",
|
|
531
|
+
value: data.amount?.value,
|
|
532
|
+
readonly: formUtils.isReadOnly("amount"),
|
|
533
|
+
onInput: handleAmountChange("amount"),
|
|
534
|
+
onBlur: handleOnAmountBlur,
|
|
535
|
+
"aria-required": true,
|
|
536
|
+
"aria-invalid": !valid.amount,
|
|
537
|
+
isValid: valid.amount,
|
|
538
|
+
onFocusHandler: () => setFocusedInput("amount")
|
|
539
|
+
})]
|
|
540
|
+
})
|
|
541
|
+
}),
|
|
542
|
+
/* @__PURE__ */ jsx(Field, {
|
|
543
|
+
name: "dateOfSourceEvent",
|
|
544
|
+
label: formUtils.getLabel("dateOfSourceEvent", "dateOfWinning"),
|
|
545
|
+
errorMessage: formUtils.getErrorMessage("dateOfSourceEvent", errors, fieldProblems),
|
|
546
|
+
isValid: valid.dateOfSourceEvent,
|
|
547
|
+
children: (childProps) => /* @__PURE__ */ jsx(InputDate, {
|
|
548
|
+
...childProps,
|
|
549
|
+
name: "dateOfSourceEvent",
|
|
550
|
+
value: formatDateForInput(data.dateOfSourceEvent),
|
|
551
|
+
onInput: handleChangeFor("dateOfSourceEvent", "input"),
|
|
552
|
+
onBlur: handleChangeFor("dateOfSourceEvent", "blur"),
|
|
553
|
+
"aria-required": true,
|
|
554
|
+
"aria-invalid": !valid.dateOfSourceEvent,
|
|
555
|
+
max: TODAY_DATE
|
|
556
|
+
})
|
|
557
|
+
}),
|
|
558
|
+
/* @__PURE__ */ jsx(Field, {
|
|
559
|
+
name: "website",
|
|
560
|
+
label: formUtils.getLabel("website", "gamblingEstablishmentWebsite"),
|
|
561
|
+
errorMessage: formUtils.getErrorMessage("website", errors, fieldProblems),
|
|
562
|
+
children: (childProps) => /* @__PURE__ */ jsx(InputGroup, {
|
|
563
|
+
...childProps,
|
|
564
|
+
id: "websiteGroup",
|
|
565
|
+
isFocused: focusedInput === "website",
|
|
566
|
+
isInvalid: Boolean(!valid.website && errors.website),
|
|
567
|
+
children: /* @__PURE__ */ jsx(InputText, {
|
|
568
|
+
...childProps,
|
|
569
|
+
placeholder: "https://",
|
|
570
|
+
name: "website",
|
|
571
|
+
value: data.website,
|
|
572
|
+
readonly: formUtils.isReadOnly("website"),
|
|
573
|
+
onInput: handleChangeFor("website", "input"),
|
|
574
|
+
onBlur: handleChangeFor("website", "blur"),
|
|
575
|
+
"aria-required": true,
|
|
576
|
+
"aria-invalid": !valid.website,
|
|
577
|
+
isValid: valid.website,
|
|
578
|
+
onFocusHandler: () => setFocusedInput("website")
|
|
579
|
+
})
|
|
580
|
+
})
|
|
581
|
+
})
|
|
582
|
+
] });
|
|
583
|
+
}
|
|
584
|
+
//#endregion
|
|
585
|
+
//#region src/components/EFP/tasks/SourceOfFundsDropin/SOFAdditionalData/AdditionalDataForInheritance.tsx
|
|
586
|
+
function AdditionalDataForInheritance(props) {
|
|
587
|
+
const [isFocused, setIsFocused] = useState$1(false);
|
|
588
|
+
const { formUtils, data, errors, valid, fieldProblems, handleChangeFor, handleAmountChange } = props;
|
|
589
|
+
const { t: commonT } = useTranslation("common");
|
|
590
|
+
const handleOnAmountBlur = () => {
|
|
591
|
+
setIsFocused(false);
|
|
592
|
+
handleAmountChange("amount");
|
|
593
|
+
};
|
|
594
|
+
return /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx(AdditionalDataOriginatorLegalEntity, {
|
|
595
|
+
formUtils,
|
|
596
|
+
handleChangeFor,
|
|
597
|
+
data,
|
|
598
|
+
errors,
|
|
599
|
+
valid,
|
|
600
|
+
fieldProblems,
|
|
601
|
+
sourceOfFundsType: "inheritance"
|
|
602
|
+
}), /* @__PURE__ */ jsxs("div", {
|
|
603
|
+
className: SourceOfFunds_module_default.sourceOfFundsGridContainer,
|
|
604
|
+
children: [/* @__PURE__ */ jsx(Field, {
|
|
605
|
+
el: "fieldset",
|
|
606
|
+
name: "amount",
|
|
607
|
+
label: formUtils.getLabel("amount", "inheritanceAmount"),
|
|
608
|
+
errorMessage: formUtils.getErrorMessage("amount", errors, fieldProblems),
|
|
609
|
+
children: (childProps) => /* @__PURE__ */ jsxs(InputGroup, {
|
|
610
|
+
...childProps,
|
|
611
|
+
id: "currencyGroup",
|
|
612
|
+
isFocused,
|
|
613
|
+
isInvalid: Boolean(!valid.amount && errors.amount),
|
|
614
|
+
children: [/* @__PURE__ */ jsx(Select, {
|
|
615
|
+
name: "currency",
|
|
616
|
+
"aria-label": commonT(($) => $["currency"]),
|
|
617
|
+
isMulti: false,
|
|
618
|
+
items: allowedCurrencies ?? [],
|
|
619
|
+
selected: data.amount?.currency,
|
|
620
|
+
placeholder: commonT(($) => $["select"]),
|
|
621
|
+
onChange: handleAmountChange("currency"),
|
|
622
|
+
minimal: true
|
|
623
|
+
}), /* @__PURE__ */ jsx(InputText, {
|
|
624
|
+
...childProps,
|
|
625
|
+
name: "amount",
|
|
626
|
+
value: data.amount?.value,
|
|
627
|
+
readonly: formUtils.isReadOnly("amount"),
|
|
628
|
+
onInput: handleAmountChange("amount"),
|
|
629
|
+
onBlur: handleOnAmountBlur,
|
|
630
|
+
"aria-required": true,
|
|
631
|
+
"aria-invalid": !valid.amount,
|
|
632
|
+
isValid: valid.amount,
|
|
633
|
+
onFocusHandler: () => setIsFocused(true)
|
|
634
|
+
})]
|
|
635
|
+
})
|
|
636
|
+
}), /* @__PURE__ */ jsx(Field, {
|
|
637
|
+
name: "dateOfFundsReceived",
|
|
638
|
+
label: formUtils.getLabel("dateOfFundsReceived", "inheritanceReceivedOn"),
|
|
639
|
+
errorMessage: formUtils.getErrorMessage("dateOfFundsReceived", errors, fieldProblems),
|
|
640
|
+
isValid: valid.dateOfFundsReceived,
|
|
641
|
+
children: (childProps) => /* @__PURE__ */ jsx(InputDate, {
|
|
642
|
+
...childProps,
|
|
643
|
+
name: "dateOfFundsReceived",
|
|
644
|
+
value: formatDateForInput(data.dateOfFundsReceived),
|
|
645
|
+
onInput: handleChangeFor("dateOfFundsReceived", "input"),
|
|
646
|
+
onBlur: handleChangeFor("dateOfFundsReceived", "blur"),
|
|
647
|
+
"aria-required": true,
|
|
648
|
+
"aria-invalid": !valid.dateOfFundsReceived,
|
|
649
|
+
max: TODAY_DATE
|
|
650
|
+
})
|
|
651
|
+
})]
|
|
652
|
+
})] });
|
|
653
|
+
}
|
|
654
|
+
//#endregion
|
|
655
|
+
//#region src/components/EFP/tasks/SourceOfFundsDropin/SOFAdditionalData/SOFFinancierModal.tsx
|
|
656
|
+
var SOFFinancierModal = (props) => {
|
|
657
|
+
const { t: sofT } = useTranslation("sof");
|
|
658
|
+
const { t: commonT } = useTranslation("common");
|
|
659
|
+
const { financier, handleModalClose, indexNumber, handleFinancierUpdate } = props;
|
|
660
|
+
const [formData, setFormData] = useState$1(financier);
|
|
661
|
+
const [formErrors, setFormErrors] = useState$1({});
|
|
662
|
+
const [confirmOpen, setConfirmOpen] = useState$1(false);
|
|
663
|
+
const [isFocused, setIsFocused] = useState$1(false);
|
|
664
|
+
const [errorMessage, setErrorMessage] = useState$1("");
|
|
665
|
+
const handleInputUpdate = (key, e) => {
|
|
666
|
+
const inputEl = e.target;
|
|
667
|
+
setErrorMessage("");
|
|
668
|
+
const value = inputEl?.value;
|
|
669
|
+
let inputData = { [key]: value };
|
|
670
|
+
if (["amount", "currency"].includes(key)) inputData = { amount: {
|
|
671
|
+
currency: key === "currency" ? value : formData?.amount?.currency,
|
|
672
|
+
value: key === "currency" ? formData?.amount?.value : value
|
|
673
|
+
} };
|
|
674
|
+
const data = {
|
|
675
|
+
...formData,
|
|
676
|
+
...inputData
|
|
677
|
+
};
|
|
678
|
+
setFormData(data);
|
|
679
|
+
setFormErrors(getInputErrors({
|
|
680
|
+
formErrors,
|
|
681
|
+
data,
|
|
682
|
+
key,
|
|
683
|
+
value
|
|
684
|
+
}));
|
|
685
|
+
};
|
|
686
|
+
const handleOnAmountBlur = () => {
|
|
687
|
+
setIsFocused(false);
|
|
688
|
+
setFormErrors(getInputErrors({
|
|
689
|
+
formErrors,
|
|
690
|
+
data: formData,
|
|
691
|
+
key: "amount",
|
|
692
|
+
value: formData?.amount?.value
|
|
693
|
+
}));
|
|
694
|
+
};
|
|
695
|
+
const allFieldsFilled = (data) => {
|
|
696
|
+
return data?.firstName && data?.lastName && data?.location && data?.amount?.currency && !Number.isNaN(Number(data?.amount?.value));
|
|
697
|
+
};
|
|
698
|
+
const handleFinancierSave = () => {
|
|
699
|
+
if (formData && allFieldsFilled(formData)) {
|
|
700
|
+
handleFinancierUpdate({
|
|
701
|
+
formData,
|
|
702
|
+
indexNumber
|
|
703
|
+
});
|
|
704
|
+
handleModalClose();
|
|
705
|
+
} else {
|
|
706
|
+
setFormErrors([
|
|
707
|
+
"firstName",
|
|
708
|
+
"lastName",
|
|
709
|
+
"location",
|
|
710
|
+
"amount"
|
|
711
|
+
].reduce((acc, key) => {
|
|
712
|
+
const value = key === "amount" ? formData?.amount?.value : formData?.[key];
|
|
713
|
+
return {
|
|
714
|
+
...acc,
|
|
715
|
+
...getInputErrors({
|
|
716
|
+
formErrors: void 0,
|
|
717
|
+
data: formData,
|
|
718
|
+
key,
|
|
719
|
+
value
|
|
720
|
+
})
|
|
721
|
+
};
|
|
722
|
+
}, {}));
|
|
723
|
+
setErrorMessage(sofT(($) => $["pleaseFillInAllFields"]));
|
|
724
|
+
}
|
|
725
|
+
};
|
|
726
|
+
const handleFinancierDelete = async () => {
|
|
727
|
+
handleFinancierUpdate({ indexNumber });
|
|
728
|
+
handleModalClose();
|
|
729
|
+
};
|
|
730
|
+
return /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx(Modal, {
|
|
731
|
+
onClose: handleModalClose,
|
|
732
|
+
ariaLabel: sofT(($) => $["investorDetails"]),
|
|
733
|
+
inset: true,
|
|
734
|
+
children: /* @__PURE__ */ jsxs("div", {
|
|
735
|
+
className: SourceOfFunds_module_default.sourceOfFundsModal,
|
|
736
|
+
children: [
|
|
737
|
+
/* @__PURE__ */ jsx(Typography, {
|
|
738
|
+
variant: "title-l",
|
|
739
|
+
el: "h3",
|
|
740
|
+
className: SourceOfFunds_module_default.sourceOfFundsGettingStartedHelpHeader,
|
|
741
|
+
children: sofT(($) => $["investorDetails"])
|
|
742
|
+
}),
|
|
743
|
+
/* @__PURE__ */ jsxs("div", {
|
|
744
|
+
className: SourceOfFunds_module_default.sourceOfFundsSofFinancierForm,
|
|
745
|
+
children: [
|
|
746
|
+
errorMessage && /* @__PURE__ */ jsx(Alert, {
|
|
747
|
+
title: sofT(($) => $["errorSubmittingData"]),
|
|
748
|
+
variant: "error",
|
|
749
|
+
className: SourceOfFunds_module_default.sourceOfFundsSofFinancierFormError,
|
|
750
|
+
children: errorMessage
|
|
751
|
+
}),
|
|
752
|
+
/* @__PURE__ */ jsxs("div", {
|
|
753
|
+
className: SourceOfFunds_module_default.sourceOfFundsSofFinancierFormNameGroup,
|
|
754
|
+
children: [/* @__PURE__ */ jsx(Field, {
|
|
755
|
+
name: "firstName",
|
|
756
|
+
label: commonT(($) => $["firstName"]),
|
|
757
|
+
errorMessage: formErrors.firstName,
|
|
758
|
+
isValid: !formErrors.firstName,
|
|
759
|
+
children: (childProps) => /* @__PURE__ */ jsx(InputText, {
|
|
760
|
+
...childProps,
|
|
761
|
+
name: "firstName",
|
|
762
|
+
value: formData?.firstName,
|
|
763
|
+
onInput: (e) => handleInputUpdate("firstName", e),
|
|
764
|
+
onBlur: (e) => handleInputUpdate("firstName", e),
|
|
765
|
+
"aria-required": true,
|
|
766
|
+
"aria-invalid": Boolean(formErrors.firstName),
|
|
767
|
+
isValid: !formErrors.firstName
|
|
768
|
+
})
|
|
769
|
+
}), /* @__PURE__ */ jsx(Field, {
|
|
770
|
+
name: "lastName",
|
|
771
|
+
label: commonT(($) => $["lastName"]),
|
|
772
|
+
errorMessage: formErrors.lastName,
|
|
773
|
+
isValid: !formErrors.lastName,
|
|
774
|
+
children: (childProps) => /* @__PURE__ */ jsx(InputText, {
|
|
775
|
+
...childProps,
|
|
776
|
+
name: "lastName",
|
|
777
|
+
value: formData?.lastName,
|
|
778
|
+
onInput: (e) => handleInputUpdate("lastName", e),
|
|
779
|
+
onBlur: (e) => handleInputUpdate("lastName", e),
|
|
780
|
+
"aria-required": true,
|
|
781
|
+
"aria-invalid": Boolean(formErrors.lastName),
|
|
782
|
+
isValid: !formErrors.lastName
|
|
783
|
+
})
|
|
784
|
+
})]
|
|
785
|
+
}),
|
|
786
|
+
/* @__PURE__ */ jsx(Field, {
|
|
787
|
+
name: "location",
|
|
788
|
+
label: sofT(($) => $["investorLocation"]),
|
|
789
|
+
errorMessage: formErrors.location,
|
|
790
|
+
isValid: !formErrors.location,
|
|
791
|
+
helperPosition: "below",
|
|
792
|
+
showErrorIconBottom: true,
|
|
793
|
+
helper: sofT(($) => $["theCityAndCountryRegion"]),
|
|
794
|
+
children: (childProps) => /* @__PURE__ */ jsx(InputText, {
|
|
795
|
+
...childProps,
|
|
796
|
+
name: "location",
|
|
797
|
+
value: formData?.location,
|
|
798
|
+
onInput: (e) => handleInputUpdate("location", e),
|
|
799
|
+
onBlur: (e) => handleInputUpdate("location", e),
|
|
800
|
+
"aria-required": true,
|
|
801
|
+
"aria-invalid": Boolean(formErrors.location),
|
|
802
|
+
isValid: !formErrors.location
|
|
803
|
+
})
|
|
804
|
+
}),
|
|
805
|
+
/* @__PURE__ */ jsx(Field, {
|
|
806
|
+
el: "fieldset",
|
|
807
|
+
name: "amount",
|
|
808
|
+
label: sofT(($) => $["investmentAmount"]),
|
|
809
|
+
errorMessage: formErrors.amount,
|
|
810
|
+
isValid: !formErrors.amount,
|
|
811
|
+
children: (childProps) => /* @__PURE__ */ jsxs(InputGroup, {
|
|
812
|
+
...childProps,
|
|
813
|
+
id: "currencyGroup",
|
|
814
|
+
isFocused,
|
|
815
|
+
children: [/* @__PURE__ */ jsx(Select, {
|
|
816
|
+
minimal: true,
|
|
817
|
+
name: "currency",
|
|
818
|
+
"aria-label": commonT(($) => $["currency"]),
|
|
819
|
+
isMulti: false,
|
|
820
|
+
items: allowedCurrencies,
|
|
821
|
+
selected: formData?.amount?.currency,
|
|
822
|
+
placeholder: commonT(($) => $["select"]),
|
|
823
|
+
onChange: (e) => handleInputUpdate("currency", e)
|
|
824
|
+
}), /* @__PURE__ */ jsx(InputText, {
|
|
825
|
+
...childProps,
|
|
826
|
+
name: "amount",
|
|
827
|
+
value: formData?.amount?.value,
|
|
828
|
+
onInput: (e) => handleInputUpdate("amount", e),
|
|
829
|
+
onBlur: handleOnAmountBlur,
|
|
830
|
+
"aria-required": true,
|
|
831
|
+
onFocusHandler: () => setIsFocused(true)
|
|
832
|
+
})]
|
|
833
|
+
})
|
|
834
|
+
})
|
|
835
|
+
]
|
|
836
|
+
}),
|
|
837
|
+
/* @__PURE__ */ jsxs("div", {
|
|
838
|
+
className: SourceOfFunds_module_default.sourceOfFundsFinancierFooter,
|
|
839
|
+
children: [/* @__PURE__ */ jsx(Button, {
|
|
840
|
+
onClick: handleFinancierSave,
|
|
841
|
+
children: commonT(($) => $["save"])
|
|
842
|
+
}), Number.isFinite(indexNumber) && /* @__PURE__ */ jsx(Button, {
|
|
843
|
+
variant: "tertiary",
|
|
844
|
+
onClick: () => setConfirmOpen(true),
|
|
845
|
+
children: sofT(($) => $["deleteInvestorDetails"])
|
|
846
|
+
})]
|
|
847
|
+
})
|
|
848
|
+
]
|
|
849
|
+
})
|
|
850
|
+
}), confirmOpen && /* @__PURE__ */ jsx(Confirm, {
|
|
851
|
+
title: sofT(($) => $["areYouSureYouWantToDeleteThisInvestorDetails"]),
|
|
852
|
+
confirmText: commonT(($) => $["delete"]),
|
|
853
|
+
onConfirm: handleFinancierDelete,
|
|
854
|
+
onCancel: () => setConfirmOpen(false),
|
|
855
|
+
critical: true
|
|
856
|
+
})] });
|
|
857
|
+
};
|
|
858
|
+
//#endregion
|
|
859
|
+
//#region src/components/EFP/tasks/SourceOfFundsDropin/SOFAdditionalData/AdditionalDataForThirdParty.tsx
|
|
860
|
+
function AdditionalDataForThirdParty(props) {
|
|
861
|
+
const [showFinancierModal, setShowFinancierModal] = useState$1(false);
|
|
862
|
+
const [activeFinancier, setActiveFinancier] = useState$1();
|
|
863
|
+
const [activeIndex, setActiveIndex] = useState$1();
|
|
864
|
+
const { data, fieldProblems, errors, handleChangeFor, formUtils, valid } = props;
|
|
865
|
+
const { t: commonT } = useTranslation("common");
|
|
866
|
+
const { t: sofT } = useTranslation("sof");
|
|
867
|
+
const handleToggleFinancierModal = () => {
|
|
868
|
+
setActiveFinancier(void 0);
|
|
869
|
+
setActiveIndex(void 0);
|
|
870
|
+
setShowFinancierModal((prev) => !prev);
|
|
871
|
+
};
|
|
872
|
+
const handleShowUpdateFinancierModal = (index) => {
|
|
873
|
+
if (!data.financiers) return;
|
|
874
|
+
const financier = data.financiers[index];
|
|
875
|
+
setActiveFinancier(financier);
|
|
876
|
+
setActiveIndex(index);
|
|
877
|
+
setShowFinancierModal(true);
|
|
878
|
+
};
|
|
879
|
+
const handleFinancierUpdate = ({ formData, indexNumber }) => {
|
|
880
|
+
const existingFinanciers = data.financiers || [];
|
|
881
|
+
let newFinanciers = [];
|
|
882
|
+
if (!formData) {
|
|
883
|
+
if (indexNumber !== void 0) newFinanciers = existingFinanciers.filter((_, index) => index !== indexNumber);
|
|
884
|
+
} else {
|
|
885
|
+
newFinanciers = [...existingFinanciers, formData];
|
|
886
|
+
if (Number.isFinite(indexNumber)) newFinanciers = existingFinanciers.map((existingFinancier, i) => i === indexNumber ? formData : existingFinancier);
|
|
887
|
+
}
|
|
888
|
+
const financierEvent = { target: {
|
|
889
|
+
name: "financiers",
|
|
890
|
+
value: newFinanciers
|
|
891
|
+
} };
|
|
892
|
+
handleChangeFor("financiers")(financierEvent);
|
|
893
|
+
};
|
|
894
|
+
const errorMessage = formUtils.getErrorMessage("financiers", errors, fieldProblems);
|
|
895
|
+
return /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
896
|
+
errors.financiers && !valid.financiers && /* @__PURE__ */ jsx(Alert, {
|
|
897
|
+
title: typeof errorMessage == "boolean" ? void 0 : translateTranslatable(commonT, errorMessage),
|
|
898
|
+
variant: "error",
|
|
899
|
+
className: SourceOfFunds_module_default.sourceOfFundsSofFinancierFormError,
|
|
900
|
+
children: sofT(($) => $["addAtLeastOneInvestor"])
|
|
901
|
+
}),
|
|
902
|
+
data.financiers?.map((financier, index) => /* @__PURE__ */ jsxs("button", {
|
|
903
|
+
type: "button",
|
|
904
|
+
onClick: () => handleShowUpdateFinancierModal(index),
|
|
905
|
+
className: SourceOfFunds_module_default.sourceOfFundsThirdPartyFundingFinancierGroup,
|
|
906
|
+
children: [/* @__PURE__ */ jsxs("div", {
|
|
907
|
+
className: SourceOfFunds_module_default.sourceOfFundsThirdPartyFundingNameAvatarGroup,
|
|
908
|
+
children: [/* @__PURE__ */ jsx(Avatar, {
|
|
909
|
+
iconName: "user",
|
|
910
|
+
circle: true
|
|
911
|
+
}), /* @__PURE__ */ jsxs("div", {
|
|
912
|
+
className: SourceOfFunds_module_default.sourceOfFundsThirdPartyFundingNameAddressGroup,
|
|
913
|
+
children: [/* @__PURE__ */ jsxs(Typography, {
|
|
914
|
+
el: "div",
|
|
915
|
+
variant: "body-strongest",
|
|
916
|
+
children: [
|
|
917
|
+
financier.firstName,
|
|
918
|
+
" ",
|
|
919
|
+
financier.lastName
|
|
920
|
+
]
|
|
921
|
+
}), /* @__PURE__ */ jsx(Typography, {
|
|
922
|
+
el: "div",
|
|
923
|
+
variant: "caption",
|
|
924
|
+
children: financier.location
|
|
925
|
+
})]
|
|
926
|
+
})]
|
|
927
|
+
}), /* @__PURE__ */ jsx("div", { children: financier.amount?.currency && financier.amount?.value ? formatAmountWithCurrency(financier.amount.value, financier.amount?.currency) : "" })]
|
|
928
|
+
}, index)),
|
|
929
|
+
/* @__PURE__ */ jsx("button", {
|
|
930
|
+
type: "button",
|
|
931
|
+
className: SourceOfFunds_module_default.sourceOfFundsThirdPartyFundingFinancierGroup,
|
|
932
|
+
onClick: handleToggleFinancierModal,
|
|
933
|
+
children: /* @__PURE__ */ jsxs("div", {
|
|
934
|
+
className: SourceOfFunds_module_default.sourceOfFundsThirdPartyFundingNameAvatarGroup,
|
|
935
|
+
children: [/* @__PURE__ */ jsx(Avatar, {
|
|
936
|
+
iconName: "plus",
|
|
937
|
+
variant: "tertiary",
|
|
938
|
+
circle: true
|
|
939
|
+
}), /* @__PURE__ */ jsx(Typography, {
|
|
940
|
+
el: "div",
|
|
941
|
+
variant: "body-strongest",
|
|
942
|
+
children: sofT(($) => $["addInvestor"])
|
|
943
|
+
})]
|
|
944
|
+
})
|
|
945
|
+
}),
|
|
946
|
+
showFinancierModal && /* @__PURE__ */ jsx(SOFFinancierModal, {
|
|
947
|
+
financier: activeFinancier,
|
|
948
|
+
indexNumber: activeIndex,
|
|
949
|
+
handleModalClose: handleToggleFinancierModal,
|
|
950
|
+
handleFinancierUpdate
|
|
951
|
+
})
|
|
952
|
+
] });
|
|
953
|
+
}
|
|
954
|
+
//#endregion
|
|
955
|
+
//#region src/components/EFP/tasks/SourceOfFundsDropin/SourceOfFundsAdditionalData.tsx
|
|
956
|
+
function SourceOfFundsAdditionalData(props) {
|
|
957
|
+
const { t } = useTranslation("common");
|
|
958
|
+
const { form } = useFormContext();
|
|
959
|
+
const { handleChangeFor: multiFormHandleChangeFor, data: { additionalData: data, sourceOfFundsType }, errors: { additionalData: errors }, valid: { additionalData: valid }, fieldProblems: { additionalData: fieldProblems } } = form;
|
|
960
|
+
const handleChangeFor = useMemo$1(() => (key, mode) => multiFormHandleChangeFor(key, "additionalData", mode), [multiFormHandleChangeFor]);
|
|
961
|
+
const handleAmountChange = (key) => (e) => {
|
|
962
|
+
const rawValue = e.target.value;
|
|
963
|
+
const updatedAmount = {
|
|
964
|
+
...data?.amount,
|
|
965
|
+
...key === "currency" ? { currency: rawValue } : { value: rawValue === "" ? void 0 : Number(rawValue) }
|
|
966
|
+
};
|
|
967
|
+
handleChangeFor("amount")({ target: {
|
|
968
|
+
name: "amount",
|
|
969
|
+
value: updatedAmount
|
|
970
|
+
} });
|
|
971
|
+
};
|
|
972
|
+
const formUtils = createFormUtils(props, t);
|
|
973
|
+
const additionalDataProps = {
|
|
974
|
+
formUtils,
|
|
975
|
+
handleChangeFor,
|
|
976
|
+
data,
|
|
977
|
+
errors,
|
|
978
|
+
valid,
|
|
979
|
+
fieldProblems,
|
|
980
|
+
handleAmountChange
|
|
981
|
+
};
|
|
982
|
+
const renderSubForms = () => {
|
|
983
|
+
switch (sourceOfFundsType?.type) {
|
|
984
|
+
case "gamblingWinnings": return /* @__PURE__ */ jsx(AdditionalDataForGambling, { ...additionalDataProps });
|
|
985
|
+
case "cryptocurrencyIncome": return /* @__PURE__ */ jsx(AdditionalDataForCryptocurrency, { ...additionalDataProps });
|
|
986
|
+
case "business": return /* @__PURE__ */ jsx(AdditionalDataForBusiness, { ...additionalDataProps });
|
|
987
|
+
case "assetSale": return /* @__PURE__ */ jsx(AdditionalDataForAssetSale, { ...additionalDataProps });
|
|
988
|
+
case "thirdPartyFunding": return /* @__PURE__ */ jsx(AdditionalDataForThirdParty, { ...additionalDataProps });
|
|
989
|
+
case "inheritance": return /* @__PURE__ */ jsx(AdditionalDataForInheritance, { ...additionalDataProps });
|
|
990
|
+
case "donations": return /* @__PURE__ */ jsx(AdditionalDataForDonation, { ...additionalDataProps });
|
|
991
|
+
default: return null;
|
|
992
|
+
}
|
|
993
|
+
};
|
|
994
|
+
return /* @__PURE__ */ jsxs("form", {
|
|
995
|
+
className: SourceOfFunds_module_default.sourceOfFundsAdditionalDataForm,
|
|
996
|
+
children: [/* @__PURE__ */ jsx(ErrorPanel, {
|
|
997
|
+
verificationErrors: props?.formVerificationErrors,
|
|
998
|
+
validationErrors: props?.fieldValidationErrors,
|
|
999
|
+
formUtils,
|
|
1000
|
+
id: "ariaErrorField"
|
|
1001
|
+
}), renderSubForms()]
|
|
1002
|
+
});
|
|
1003
|
+
}
|
|
1004
|
+
//#endregion
|
|
1005
|
+
//#region src/components/EFP/tasks/SourceOfFundsDropin/SourceOfFundsType.tsx
|
|
1006
|
+
function SourceOfFundsType(props) {
|
|
1007
|
+
const { t } = useTranslation(["common", "sof"]);
|
|
1008
|
+
const { data: formData, categories, errors: formErrors, fieldValidationErrors: formFieldProblems, sameAsOption, useSameAs, onUseSameAsChange } = props;
|
|
1009
|
+
const { form } = useFormContext();
|
|
1010
|
+
const { handleChangeFor } = form;
|
|
1011
|
+
const handleFieldChange = (fieldName, mode) => handleChangeFor(fieldName, "sourceOfFundsType", mode);
|
|
1012
|
+
const handleUseSameAsChange = (isChecked) => {
|
|
1013
|
+
onUseSameAsChange?.(isChecked);
|
|
1014
|
+
};
|
|
1015
|
+
const formUtils = createFormUtils(props, t);
|
|
1016
|
+
const categoryItems = [{
|
|
1017
|
+
value: "adyen",
|
|
1018
|
+
label: t(($) => $["transactionsOnThisPlatform"], { ns: "sof" }),
|
|
1019
|
+
icon: getIconById("adyen")
|
|
1020
|
+
}, ...categories?.map((item) => ({
|
|
1021
|
+
value: item.id,
|
|
1022
|
+
label: t(($) => $[sofCategoryItemMapper[item.name]], { ns: "sof" }),
|
|
1023
|
+
icon: getIconById(item.id)
|
|
1024
|
+
})) ?? []];
|
|
1025
|
+
const errorMessage = formUtils.getErrorMessage("type", formErrors, formFieldProblems);
|
|
1026
|
+
return /* @__PURE__ */ jsxs(Fragment$1, { children: [sameAsOption && /* @__PURE__ */ jsx("div", {
|
|
1027
|
+
className: SourceOfFunds_module_default.sourceOfFundsSameAsCheckbox,
|
|
1028
|
+
children: /* @__PURE__ */ jsx(Field, {
|
|
1029
|
+
name: "useSameAs",
|
|
1030
|
+
children: (childProps) => /* @__PURE__ */ jsx(Checkbox, {
|
|
1031
|
+
...childProps,
|
|
1032
|
+
"aria-required": false,
|
|
1033
|
+
"aria-invalid": false,
|
|
1034
|
+
name: "useSameAs",
|
|
1035
|
+
label: t(($) => $["useSameFundingSourceAndDetails"], { ns: "sof" }),
|
|
1036
|
+
checked: Boolean(useSameAs),
|
|
1037
|
+
onChange: handleUseSameAsChange
|
|
1038
|
+
})
|
|
1039
|
+
})
|
|
1040
|
+
}), /* @__PURE__ */ jsx(Field, {
|
|
1041
|
+
el: "fieldset",
|
|
1042
|
+
name: "type",
|
|
1043
|
+
children: () => /* @__PURE__ */ jsx(TileGroup, {
|
|
1044
|
+
name: "type",
|
|
1045
|
+
tiles: categoryItems,
|
|
1046
|
+
errorMessage: typeof errorMessage !== "boolean" ? translateTranslatable(t, errorMessage) : void 0,
|
|
1047
|
+
selected: formData?.type ? formData.type : [],
|
|
1048
|
+
onChange: handleFieldChange("type", "input")
|
|
1049
|
+
})
|
|
1050
|
+
})] });
|
|
1051
|
+
}
|
|
1052
|
+
function getIconById(id) {
|
|
1053
|
+
switch (id) {
|
|
1054
|
+
case "adyen": return "store";
|
|
1055
|
+
case "business": return "revenue-accelerate";
|
|
1056
|
+
case "assetSale": return "house";
|
|
1057
|
+
case "dividendIncome": return "graph-up";
|
|
1058
|
+
case "thirdPartyFunding": return "graph";
|
|
1059
|
+
case "employment": return "headquarter";
|
|
1060
|
+
case "donations": return "gift";
|
|
1061
|
+
case "inheritance": return "certificate";
|
|
1062
|
+
case "financialAid": return "capital";
|
|
1063
|
+
case "rentalIncome": return "house";
|
|
1064
|
+
case "royaltyIncome": return "cash-stack";
|
|
1065
|
+
case "pensionIncome": return "bank";
|
|
1066
|
+
case "insuranceSettlement": return "funds-in";
|
|
1067
|
+
case "cryptocurrencyIncome": return "coins";
|
|
1068
|
+
case "loans": return "capital";
|
|
1069
|
+
case "gamblingWinnings": return "cash-stack";
|
|
1070
|
+
default: return "contract";
|
|
1071
|
+
}
|
|
1072
|
+
}
|
|
1073
|
+
//#endregion
|
|
1074
|
+
//#region src/components/EFP/tasks/SourceOfFundsDropin/SourceOfFunds.tsx
|
|
1075
|
+
function SourceOfFunds(props) {
|
|
1076
|
+
const { activeForm, activeBusinessLine, sourceOfFundsType, sameAsOption, useSameAs, onUseSameAsChange } = props;
|
|
1077
|
+
const { form } = useFormContext();
|
|
1078
|
+
const { data: formData, errors, valid, fieldProblems: fieldValidationErrors } = form;
|
|
1079
|
+
const { data: sourceOfFundsTypesData, isLoading } = useSourceOfFundsTypes();
|
|
1080
|
+
const { t: sofT } = useTranslation("sof");
|
|
1081
|
+
const pageHeadings = useMemo$1(() => getPageHeadings(sourceOfFundsType ?? "adyen"), [sourceOfFundsType]);
|
|
1082
|
+
return isLoading || !activeBusinessLine ? /* @__PURE__ */ jsx("div", {
|
|
1083
|
+
className: SourceOfFunds_module_default.sourceOfFundsWrapperLoading,
|
|
1084
|
+
children: /* @__PURE__ */ jsx(Loader, {})
|
|
1085
|
+
}) : /* @__PURE__ */ jsxs("div", {
|
|
1086
|
+
className: "adyen-kyc-form-wrapper",
|
|
1087
|
+
children: [
|
|
1088
|
+
/* @__PURE__ */ jsxs("div", {
|
|
1089
|
+
className: SourceOfFunds_module_default.sourceOfFundsWrapperHeading,
|
|
1090
|
+
children: [/* @__PURE__ */ jsx(Typography, {
|
|
1091
|
+
el: "h1",
|
|
1092
|
+
variant: "title-l",
|
|
1093
|
+
children: activeForm?.formId === "additionalData" ? sofT(($) => $[pageHeadings.heading]) : sofT(($) => $["selectASourceOfFunding"], { type: getServiceTranslationSelectTitle(sofT, activeBusinessLine?.service || "").toLowerCase() })
|
|
1094
|
+
}), /* @__PURE__ */ jsxs(Typography, {
|
|
1095
|
+
className: SourceOfFunds_module_default.sourceOfFundsWrapperDescription,
|
|
1096
|
+
children: [activeForm?.formId === "additionalData" && pageHeadings.description && sofT(($) => $[pageHeadings.description]), sourceOfFundsTypesData?.length === 0 && sofT(($) => $["noCategoriesAvailable"])]
|
|
1097
|
+
})]
|
|
1098
|
+
}),
|
|
1099
|
+
sofErrorMessage.value && /* @__PURE__ */ jsxs(Typography, {
|
|
1100
|
+
variant: "caption",
|
|
1101
|
+
color: "critical",
|
|
1102
|
+
"aria-live": "polite",
|
|
1103
|
+
className: "adyen-kyc-u-justify-content-center adyen-kyc-u-display-flex",
|
|
1104
|
+
children: [/* @__PURE__ */ jsx(Icon, {
|
|
1105
|
+
name: "field-error",
|
|
1106
|
+
className: "adyen-kyc-u-margin-right-2"
|
|
1107
|
+
}), /* @__PURE__ */ jsx("span", { children: sofErrorMessage.value })]
|
|
1108
|
+
}),
|
|
1109
|
+
activeForm?.formId === "sourceOfFundsType" && /* @__PURE__ */ jsx(SourceOfFundsType, {
|
|
1110
|
+
categories: sourceOfFundsTypesData,
|
|
1111
|
+
data: formData?.sourceOfFundsType,
|
|
1112
|
+
errors: errors?.sourceOfFundsType,
|
|
1113
|
+
valid: valid?.sourceOfFundsType,
|
|
1114
|
+
fieldValidationErrors: fieldValidationErrors?.sourceOfFundsType,
|
|
1115
|
+
sameAsOption,
|
|
1116
|
+
useSameAs,
|
|
1117
|
+
onUseSameAsChange
|
|
1118
|
+
}),
|
|
1119
|
+
activeForm?.formId === "additionalData" && /* @__PURE__ */ jsx(SourceOfFundsAdditionalData, { fieldValidationErrors: fieldValidationErrors?.additionalData }),
|
|
1120
|
+
activeForm?.formId === "companySourceOfFunds" && /* @__PURE__ */ jsx("div", { children: sofT(($) => $["uploadADocument"]) })
|
|
1121
|
+
]
|
|
1122
|
+
});
|
|
1123
|
+
}
|
|
1124
|
+
//#endregion
|
|
1125
|
+
//#region src/components/EFP/tasks/SourceOfFundsDropin/SourceOfFundsGettingStarted/SourceOfFundsGettingStartedCard.tsx
|
|
1126
|
+
function SourceOfFundsGettingStartedCard(props) {
|
|
1127
|
+
const { id, title, onClick, isEdit, meta } = props;
|
|
1128
|
+
const { t: commonT } = useTranslation("common");
|
|
1129
|
+
return /* @__PURE__ */ jsxs(Card, {
|
|
1130
|
+
variant: "secondary",
|
|
1131
|
+
children: [/* @__PURE__ */ jsxs("div", {
|
|
1132
|
+
className: SourceOfFunds_module_default.sourceOfFundsGettingStartedCardsCardHeader,
|
|
1133
|
+
children: [/* @__PURE__ */ jsx(Typography, {
|
|
1134
|
+
el: "h3",
|
|
1135
|
+
variant: "title",
|
|
1136
|
+
children: title
|
|
1137
|
+
}), isEdit ? /* @__PURE__ */ jsx(IconButton, {
|
|
1138
|
+
ariaLabel: "edit",
|
|
1139
|
+
icon: "edit",
|
|
1140
|
+
onClick,
|
|
1141
|
+
variant: "tertiary"
|
|
1142
|
+
}) : /* @__PURE__ */ jsx(Button, {
|
|
1143
|
+
variant: "primary",
|
|
1144
|
+
testId: "source-of-funds-getting-card-secondary-button",
|
|
1145
|
+
onClick,
|
|
1146
|
+
children: commonT(($) => $["start"])
|
|
1147
|
+
})]
|
|
1148
|
+
}), isEdit && meta?.length && /* @__PURE__ */ jsx("div", {
|
|
1149
|
+
className: SourceOfFunds_module_default.sourceOfFundsGettingStartedCardsCardBody,
|
|
1150
|
+
children: /* @__PURE__ */ jsx(StructuredList, {
|
|
1151
|
+
className: SourceOfFunds_module_default.sourceOfFundsGettingStartedCardsCardDescription,
|
|
1152
|
+
items: meta
|
|
1153
|
+
})
|
|
1154
|
+
})]
|
|
1155
|
+
}, id);
|
|
1156
|
+
}
|
|
1157
|
+
//#endregion
|
|
1158
|
+
//#region src/components/EFP/tasks/SourceOfFundsDropin/SourceOfFundsGettingStarted/SourceOfFundsGettingStarted.tsx
|
|
1159
|
+
var digitalWallet = lazy(() => import("./digital-wallet-CLOVHAow.js"));
|
|
1160
|
+
var SourceOfFundsGettingStarted = ({ handleGettingStartedClick, handleCancelClick, handleSourceOfFundsClick, businessLines, handleNavigateToUploadPage, problems, legalEntity, isSoFDocumentMissing }) => {
|
|
1161
|
+
const { t: sofT } = useTranslation("sof");
|
|
1162
|
+
const { t: commonT } = useTranslation("common");
|
|
1163
|
+
const hasSourceOfFunds = businessLines?.some((businessLine) => !isEmpty(businessLine.sourceOfFunds));
|
|
1164
|
+
const { data: taskStatusResponse } = useTaskStatus(TaskTypes.SOURCE_OF_FUNDS, { refetchInterval: TASK_STATUS_POLLING_INTERVAL_MS });
|
|
1165
|
+
const sofDocuments = useMemo$1(() => legalEntity?.documentDetails?.filter((doc) => doc.type === "proofOfFundingOrWealthSource") ?? [], [legalEntity]);
|
|
1166
|
+
const mapBusinessLines = useCallback$1((lines) => {
|
|
1167
|
+
const completedBusinessLines = businessLines.every((line) => line?.sourceOfFunds?.type);
|
|
1168
|
+
const cards = lines.map((line) => {
|
|
1169
|
+
const SoF = mapSourceOfFundToSourceOfFundsSchema(line);
|
|
1170
|
+
return {
|
|
1171
|
+
title: getServiceTranslation(sofT, line.service || ""),
|
|
1172
|
+
type: line?.sourceOfFunds?.type,
|
|
1173
|
+
isEdit: !!line?.sourceOfFunds?.type || !!line?.sourceOfFunds?.adyenProcessedFunds,
|
|
1174
|
+
onClick: () => handleSourceOfFundsClick(SoF, line),
|
|
1175
|
+
meta: [{
|
|
1176
|
+
term: sofT(($) => $["sourceOfFunds"]),
|
|
1177
|
+
details: getSofCardDetails(sofT, line?.sourceOfFunds)
|
|
1178
|
+
}, ...getGettingStartedCardDetails(getAdditionalDataSchemaKeys(line?.sourceOfFunds?.type || "adyen", line?.sourceOfFunds?.originatorType), sofT, line?.sourceOfFunds)]
|
|
1179
|
+
};
|
|
1180
|
+
}).sort((a) => a?.type ? 1 : -1);
|
|
1181
|
+
const uploadCard = {
|
|
1182
|
+
title: getServiceTranslation(sofT),
|
|
1183
|
+
type: "",
|
|
1184
|
+
isEdit: !!sofDocuments?.length,
|
|
1185
|
+
onClick: handleNavigateToUploadPage,
|
|
1186
|
+
meta: sofDocuments?.length ? sofDocuments.map((doc) => ({
|
|
1187
|
+
term: sofT(($) => $["fileName"]),
|
|
1188
|
+
details: [doc?.fileName, /* @__PURE__ */ jsx(Typography, {
|
|
1189
|
+
color: "secondary",
|
|
1190
|
+
children: parseSOFDocumentDescription(sofT, doc?.description) || ""
|
|
1191
|
+
}, "docDescription")]
|
|
1192
|
+
})) : []
|
|
1193
|
+
};
|
|
1194
|
+
if (completedBusinessLines && (isSoFDocumentMissing || sofDocuments?.length)) if (uploadCard.meta?.length) cards.push(uploadCard);
|
|
1195
|
+
else cards.unshift(uploadCard);
|
|
1196
|
+
return cards.map((item, index) => {
|
|
1197
|
+
return /* @__PURE__ */ jsx(SourceOfFundsGettingStartedCard, {
|
|
1198
|
+
id: index,
|
|
1199
|
+
isEdit: !!item.isEdit,
|
|
1200
|
+
title: item.title,
|
|
1201
|
+
onClick: item.onClick,
|
|
1202
|
+
meta: item.meta
|
|
1203
|
+
}, index);
|
|
1204
|
+
});
|
|
1205
|
+
}, [handleSourceOfFundsClick, sofDocuments]);
|
|
1206
|
+
const errorObjects = useMemo$1(() => getRelevantErrors(problems, SOF_INVALID_INPUT_ERROR_CODES), [problems]);
|
|
1207
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
1208
|
+
className: SourceOfFunds_module_default.sourceOfFundsGettingStarted,
|
|
1209
|
+
"data-testid": "source-of-funds-getting-started",
|
|
1210
|
+
children: [!hasSourceOfFunds && /* @__PURE__ */ jsx(LandingLayout, {
|
|
1211
|
+
media: /* @__PURE__ */ jsx(Image, { lazyLoadedImage: digitalWallet }),
|
|
1212
|
+
title: sofT(($) => $["fundingSourcesForFinancialProducts"]),
|
|
1213
|
+
description: sofT(($) => $["inTheNextStepWellCollectInformation"]),
|
|
1214
|
+
actions: /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx(Button, {
|
|
1215
|
+
fullWidth: true,
|
|
1216
|
+
testId: "source-of-funds-getting-primary-button",
|
|
1217
|
+
onClick: handleGettingStartedClick,
|
|
1218
|
+
children: commonT(($) => $["getStarted"])
|
|
1219
|
+
}), handleCancelClick && /* @__PURE__ */ jsx(Button, {
|
|
1220
|
+
variant: "tertiary",
|
|
1221
|
+
fullWidth: true,
|
|
1222
|
+
testId: "source-of-funds-getting-cancel-button",
|
|
1223
|
+
onClick: handleCancelClick,
|
|
1224
|
+
children: commonT(($) => $["backToTaskList"])
|
|
1225
|
+
})] })
|
|
1226
|
+
}), hasSourceOfFunds && /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
1227
|
+
/* @__PURE__ */ jsx(Header, {
|
|
1228
|
+
title: sofT(($) => $["fundingSourcesForFinancialProducts"]),
|
|
1229
|
+
description: sofT(($) => $["addAllSourcesOfFundsBeingUsed"]),
|
|
1230
|
+
status: taskStatusResponse?.status,
|
|
1231
|
+
align: "center"
|
|
1232
|
+
}),
|
|
1233
|
+
errorObjects && errorObjects.map((errorObj, index) => {
|
|
1234
|
+
const uniqueActions = getUniqueRemediationActions(errorObj);
|
|
1235
|
+
const errorItems = errorObj.subErrors?.map((subError) => subError.message) || [];
|
|
1236
|
+
return /* @__PURE__ */ jsxs(Alert, {
|
|
1237
|
+
title: errorObj.message,
|
|
1238
|
+
className: SourceOfFunds_module_default.sourceOfFundsGettingStartedError,
|
|
1239
|
+
variant: "error",
|
|
1240
|
+
children: [errorObj?.subErrors?.length && /* @__PURE__ */ jsx("ul", { children: errorItems.map((item, i) => /* @__PURE__ */ jsx("li", { children: item }, i)) }), uniqueActions.length > 0 && /* @__PURE__ */ jsx("div", {
|
|
1241
|
+
className: SourceOfFunds_module_default.sourceOfFundsGettingStartedErrorActions,
|
|
1242
|
+
children: uniqueActions.filter((action) => action.code !== "1_519").map((action, i) => /* @__PURE__ */ jsx(Button, {
|
|
1243
|
+
variant: "tertiary",
|
|
1244
|
+
testId: `remediate-action-${i}`,
|
|
1245
|
+
onClick: handleNavigateToUploadPage,
|
|
1246
|
+
children: action.message
|
|
1247
|
+
}, `action-${i}`))
|
|
1248
|
+
})]
|
|
1249
|
+
}, `error-${index}`);
|
|
1250
|
+
}),
|
|
1251
|
+
/* @__PURE__ */ jsx("div", {
|
|
1252
|
+
className: SourceOfFunds_module_default.sourceOfFundsGettingStartedCards,
|
|
1253
|
+
children: /* @__PURE__ */ jsx(StackLayout, { children: mapBusinessLines(businessLines) })
|
|
1254
|
+
}),
|
|
1255
|
+
handleCancelClick && /* @__PURE__ */ jsx(Button, {
|
|
1256
|
+
variant: "secondary",
|
|
1257
|
+
testId: "source-of-funds-getting-return-button",
|
|
1258
|
+
onClick: handleCancelClick,
|
|
1259
|
+
children: commonT(($) => $["backToTaskList"])
|
|
1260
|
+
})
|
|
1261
|
+
] })]
|
|
1262
|
+
});
|
|
1263
|
+
};
|
|
1264
|
+
//#endregion
|
|
1265
|
+
//#region src/components/EFP/tasks/SourceOfFundsDropin/SourceOfFundsUploader/SOFUploadModal.tsx
|
|
1266
|
+
var SOFUploadModal = (props) => {
|
|
1267
|
+
const { showToast } = useToastContext();
|
|
1268
|
+
const logger = createLogger();
|
|
1269
|
+
const { t: sofT } = useTranslation("sof");
|
|
1270
|
+
const { t: commonT } = useTranslation("common");
|
|
1271
|
+
const { businessLines, handleModalClose, documentUtils } = props;
|
|
1272
|
+
const [selectedService, setSelectedService] = useState$1(businessLines?.length === 1 ? businessLines?.[0]?.service : void 0);
|
|
1273
|
+
const [documentType, setDocumentType] = useState$1();
|
|
1274
|
+
const onRadioChange = (selectedId) => {
|
|
1275
|
+
setSelectedService(selectedId);
|
|
1276
|
+
setDocumentType(void 0);
|
|
1277
|
+
};
|
|
1278
|
+
const onDocumentTypeChange = (e) => {
|
|
1279
|
+
setDocumentType(e.target.value);
|
|
1280
|
+
};
|
|
1281
|
+
const serviceRadioItems = useMemo$1(() => {
|
|
1282
|
+
return Array.from(new Map(businessLines.map((businessLine) => [businessLine.service, businessLine])).values()).map((businessLine) => ({
|
|
1283
|
+
id: businessLine.service,
|
|
1284
|
+
name: sofT(($) => $[getServiceTranslationKey(businessLine?.service || "")])
|
|
1285
|
+
}));
|
|
1286
|
+
}, [businessLines, sofT]);
|
|
1287
|
+
const canUpload = useMemo$1(() => selectedService && documentType, [selectedService, documentType]);
|
|
1288
|
+
const selectedBusinessLineId = businessLines?.find((businessLine) => businessLine.service === selectedService)?.id || "";
|
|
1289
|
+
const documentLists = useMemo$1(() => {
|
|
1290
|
+
const selectedType = businessLines?.find((businessLine) => businessLine.service === selectedService)?.sourceOfFunds?.type;
|
|
1291
|
+
if (selectedType) return getDocumentLists(selectedType).map((list) => ({
|
|
1292
|
+
id: list,
|
|
1293
|
+
name: sofT(($) => $[list])
|
|
1294
|
+
}));
|
|
1295
|
+
return [];
|
|
1296
|
+
}, [
|
|
1297
|
+
businessLines,
|
|
1298
|
+
sofT,
|
|
1299
|
+
selectedService
|
|
1300
|
+
]);
|
|
1301
|
+
const documentRequirements = useMemo$1(() => {
|
|
1302
|
+
return documentType ? getDocumentRequirements[documentType] : [];
|
|
1303
|
+
}, [documentType]);
|
|
1304
|
+
const onFileUpload = async (files) => {
|
|
1305
|
+
if (!canUpload) {
|
|
1306
|
+
showToast({
|
|
1307
|
+
label: sofT(($) => $["unableToUploadDocument"]),
|
|
1308
|
+
variant: "error"
|
|
1309
|
+
});
|
|
1310
|
+
return;
|
|
1311
|
+
}
|
|
1312
|
+
const formattedDocument = await createDocumentRequest({
|
|
1313
|
+
entityId: selectedBusinessLineId,
|
|
1314
|
+
entityType: "businessLine",
|
|
1315
|
+
documentType: "proofOfFundingOrWealthSource",
|
|
1316
|
+
page1: files[0],
|
|
1317
|
+
description: `$SERVICE_NAME:${selectedService}--TYPE_NAME:${documentType}`
|
|
1318
|
+
});
|
|
1319
|
+
if (formattedDocument) try {
|
|
1320
|
+
await documentUtils.uploadDocuments([formattedDocument], selectedBusinessLineId);
|
|
1321
|
+
showToast({
|
|
1322
|
+
label: sofT(($) => $["documentUploadedSuccessfully"]),
|
|
1323
|
+
variant: "success",
|
|
1324
|
+
duration: 1e4
|
|
1325
|
+
});
|
|
1326
|
+
handleModalClose();
|
|
1327
|
+
} catch (e) {
|
|
1328
|
+
logger.log(e);
|
|
1329
|
+
showToast({
|
|
1330
|
+
label: sofT(($) => $["unableToUploadDocument"]),
|
|
1331
|
+
variant: "error"
|
|
1332
|
+
});
|
|
1333
|
+
}
|
|
1334
|
+
};
|
|
1335
|
+
return /* @__PURE__ */ jsx(Fragment$1, { children: /* @__PURE__ */ jsx(Modal, {
|
|
1336
|
+
onClose: handleModalClose,
|
|
1337
|
+
ariaLabel: sofT(($) => $["uploadASupportingDocument"]),
|
|
1338
|
+
inset: true,
|
|
1339
|
+
children: /* @__PURE__ */ jsxs("div", {
|
|
1340
|
+
className: SourceOfFunds_module_default.sourceOfFundsModal,
|
|
1341
|
+
children: [/* @__PURE__ */ jsx(Typography, {
|
|
1342
|
+
variant: "title-l",
|
|
1343
|
+
el: "h2",
|
|
1344
|
+
children: sofT(($) => $["uploadASupportingDocument"])
|
|
1345
|
+
}), /* @__PURE__ */ jsxs("div", {
|
|
1346
|
+
className: SourceOfFunds_module_default.sourceOfFundsUploadModalContent,
|
|
1347
|
+
children: [
|
|
1348
|
+
businessLines?.length > 1 ? /* @__PURE__ */ jsx(Field, {
|
|
1349
|
+
el: "fieldset",
|
|
1350
|
+
name: "service",
|
|
1351
|
+
className: SourceOfFunds_module_default.sourceOfFundsUploadModalContentField,
|
|
1352
|
+
label: sofT(($) => $["whatFinancialProductIsThisFor"]),
|
|
1353
|
+
children: (childProps) => /* @__PURE__ */ jsx(RadioGroup, {
|
|
1354
|
+
...childProps,
|
|
1355
|
+
name: "service",
|
|
1356
|
+
className: SourceOfFunds_module_default.sourceOfFundsUploadModalContentFieldRadioGroup,
|
|
1357
|
+
items: serviceRadioItems,
|
|
1358
|
+
value: selectedService,
|
|
1359
|
+
disabled: false,
|
|
1360
|
+
onChange: onRadioChange,
|
|
1361
|
+
"aria-required": true
|
|
1362
|
+
})
|
|
1363
|
+
}) : null,
|
|
1364
|
+
selectedService && /* @__PURE__ */ jsx(Field, {
|
|
1365
|
+
name: "documentType",
|
|
1366
|
+
label: commonT(($) => $["documentType"]),
|
|
1367
|
+
"data-testid": "documentType",
|
|
1368
|
+
className: SourceOfFunds_module_default.sourceOfFundsUploadModalContentField,
|
|
1369
|
+
children: (childProps) => /* @__PURE__ */ jsx(Select, {
|
|
1370
|
+
...childProps,
|
|
1371
|
+
name: "documentType",
|
|
1372
|
+
placeholder: commonT(($) => $["selectOne"]),
|
|
1373
|
+
selected: documentType,
|
|
1374
|
+
items: documentLists,
|
|
1375
|
+
onChange: onDocumentTypeChange
|
|
1376
|
+
})
|
|
1377
|
+
}),
|
|
1378
|
+
documentRequirements?.length ? /* @__PURE__ */ jsxs("div", {
|
|
1379
|
+
className: SourceOfFunds_module_default.sourceOfFundsUploadModalContentRequirementsContainer,
|
|
1380
|
+
children: [/* @__PURE__ */ jsx(Typography, {
|
|
1381
|
+
variant: "body-strongest",
|
|
1382
|
+
el: "div",
|
|
1383
|
+
children: sofT(($) => $["documentShouldShow"])
|
|
1384
|
+
}), /* @__PURE__ */ jsx("ul", { children: documentRequirements?.map((requirement) => /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(Typography, {
|
|
1385
|
+
variant: "body-stronger",
|
|
1386
|
+
el: "div",
|
|
1387
|
+
children: sofT(($) => $[requirement])
|
|
1388
|
+
}) }, requirement)) })]
|
|
1389
|
+
}) : null,
|
|
1390
|
+
canUpload && /* @__PURE__ */ jsx(Dropzone, {
|
|
1391
|
+
disabled: !canUpload,
|
|
1392
|
+
onChange: onFileUpload,
|
|
1393
|
+
showMinimal: true,
|
|
1394
|
+
hidePageCount: true,
|
|
1395
|
+
maxSize: 4194304,
|
|
1396
|
+
enableTracking: true,
|
|
1397
|
+
name: "documentField",
|
|
1398
|
+
allowedFileTypes: [
|
|
1399
|
+
"JPG",
|
|
1400
|
+
"JPEG",
|
|
1401
|
+
"PNG",
|
|
1402
|
+
"PDF"
|
|
1403
|
+
]
|
|
1404
|
+
})
|
|
1405
|
+
]
|
|
1406
|
+
})]
|
|
1407
|
+
})
|
|
1408
|
+
}) });
|
|
1409
|
+
};
|
|
1410
|
+
//#endregion
|
|
1411
|
+
//#region src/components/EFP/tasks/SourceOfFundsDropin/SourceOfFundsUploader/SourceOfFundsUpload.tsx
|
|
1412
|
+
var SourceOfFundsUpload = ({ businessLines, documentUtils, legalEntity, handleNavigateToSummary }) => {
|
|
1413
|
+
const [showUploadModal, setShowUploadModal] = useState$1(false);
|
|
1414
|
+
const [docToDelete, setDocToDelete] = useState$1(void 0);
|
|
1415
|
+
const { showToast } = useToastContext();
|
|
1416
|
+
const logger = createLogger();
|
|
1417
|
+
const queryClient = useQueryClient();
|
|
1418
|
+
const { t: sofT } = useTranslation("sof");
|
|
1419
|
+
const { t: commonT } = useTranslation("common");
|
|
1420
|
+
const handleModalClose = async () => {
|
|
1421
|
+
setShowUploadModal(false);
|
|
1422
|
+
await queryClient.invalidateQueries({ queryKey: ["legalEntity", legalEntity.id] });
|
|
1423
|
+
};
|
|
1424
|
+
const openUploadModal = () => {
|
|
1425
|
+
setShowUploadModal(true);
|
|
1426
|
+
};
|
|
1427
|
+
const documents = useMemo$1(() => legalEntity.documentDetails?.filter((doc) => doc.type === "proofOfFundingOrWealthSource") ?? [], [legalEntity]);
|
|
1428
|
+
const sourceOfFundsCategories = businessLines?.map((line) => line.sourceOfFunds?.type)?.filter(Boolean);
|
|
1429
|
+
const getTranslatedCategoryName = (categoryKey) => {
|
|
1430
|
+
const translationKey = sofCategoryItemMapper[categoryKey];
|
|
1431
|
+
if (!categoryKey || !translationKey) return "";
|
|
1432
|
+
return sofT(($) => $[translationKey]).toLowerCase();
|
|
1433
|
+
};
|
|
1434
|
+
let translationKey;
|
|
1435
|
+
let translationParams;
|
|
1436
|
+
if (sourceOfFundsCategories?.length > 1) {
|
|
1437
|
+
translationKey = "weNeedProofOfFundingForMultipleCategories";
|
|
1438
|
+
translationParams = {
|
|
1439
|
+
category1_name: getTranslatedCategoryName(sourceOfFundsCategories[0]),
|
|
1440
|
+
category2_name: getTranslatedCategoryName(sourceOfFundsCategories[1])
|
|
1441
|
+
};
|
|
1442
|
+
} else if (sourceOfFundsCategories?.length === 1) {
|
|
1443
|
+
translationKey = "weNeedProofOfFunding";
|
|
1444
|
+
translationParams = { category_name: getTranslatedCategoryName(sourceOfFundsCategories[0]) };
|
|
1445
|
+
} else translationKey = "weNeedProofOfFundingForNoCategory";
|
|
1446
|
+
const handleFileDelete = async (documentId) => {
|
|
1447
|
+
if (documentUtils.deleteDocument) try {
|
|
1448
|
+
await documentUtils.deleteDocument(documentId, legalEntity.id);
|
|
1449
|
+
await queryClient.invalidateQueries({ queryKey: ["legalEntity", legalEntity.id] });
|
|
1450
|
+
showToast({
|
|
1451
|
+
label: sofT(($) => $["documentDeletedSuccessfully"]),
|
|
1452
|
+
variant: "success",
|
|
1453
|
+
duration: 1e4
|
|
1454
|
+
});
|
|
1455
|
+
} catch (e) {
|
|
1456
|
+
logger.log(e);
|
|
1457
|
+
showToast({
|
|
1458
|
+
label: sofT(($) => $["unableToDeleteDocument"]),
|
|
1459
|
+
variant: "error"
|
|
1460
|
+
});
|
|
1461
|
+
}
|
|
1462
|
+
};
|
|
1463
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
1464
|
+
className: SourceOfFunds_module_default.sourceOfFundsUploadList,
|
|
1465
|
+
children: [
|
|
1466
|
+
/* @__PURE__ */ jsxs("div", {
|
|
1467
|
+
className: SourceOfFunds_module_default.sourceOfFundsUploadListHeading,
|
|
1468
|
+
children: [/* @__PURE__ */ jsx(Typography, {
|
|
1469
|
+
el: "h1",
|
|
1470
|
+
variant: "title-l",
|
|
1471
|
+
children: sofT(($) => $["supportingDocuments"])
|
|
1472
|
+
}), /* @__PURE__ */ jsx(Typography, {
|
|
1473
|
+
className: SourceOfFunds_module_default.sourceOfFundsWrapperDescription,
|
|
1474
|
+
children: sofT(($) => $[translationKey], translationParams)
|
|
1475
|
+
})]
|
|
1476
|
+
}),
|
|
1477
|
+
documents?.map((document) => /* @__PURE__ */ jsxs("div", {
|
|
1478
|
+
className: SourceOfFunds_module_default.sourceOfFundsThirdPartyFundingFinancierGroup,
|
|
1479
|
+
children: [/* @__PURE__ */ jsxs("div", {
|
|
1480
|
+
className: SourceOfFunds_module_default.sourceOfFundsThirdPartyFundingNameAvatarGroup,
|
|
1481
|
+
children: [/* @__PURE__ */ jsx(Avatar, {
|
|
1482
|
+
iconName: "document",
|
|
1483
|
+
circle: true
|
|
1484
|
+
}), /* @__PURE__ */ jsxs("div", {
|
|
1485
|
+
className: SourceOfFunds_module_default.sourceOfFundsThirdPartyFundingNameAddressGroup,
|
|
1486
|
+
children: [/* @__PURE__ */ jsx(Typography, {
|
|
1487
|
+
el: "div",
|
|
1488
|
+
variant: "body-strongest",
|
|
1489
|
+
children: document.fileName
|
|
1490
|
+
}), /* @__PURE__ */ jsx(Typography, {
|
|
1491
|
+
el: "div",
|
|
1492
|
+
variant: "caption",
|
|
1493
|
+
children: parseSOFDocumentDescription(sofT, document.description)
|
|
1494
|
+
})]
|
|
1495
|
+
})]
|
|
1496
|
+
}), /* @__PURE__ */ jsx(IconButton, {
|
|
1497
|
+
ariaLabel: commonT(($) => $["deleteDocument"]),
|
|
1498
|
+
variant: "tertiary",
|
|
1499
|
+
icon: "cross",
|
|
1500
|
+
onClick: () => setDocToDelete(document),
|
|
1501
|
+
testId: "source-of-funds-remove-button"
|
|
1502
|
+
})]
|
|
1503
|
+
}, document.id)),
|
|
1504
|
+
/* @__PURE__ */ jsx("button", {
|
|
1505
|
+
type: "button",
|
|
1506
|
+
className: SourceOfFunds_module_default.sourceOfFundsThirdPartyFundingFinancierGroup,
|
|
1507
|
+
onClick: openUploadModal,
|
|
1508
|
+
"data-testId": "source-of-funds-upload-button",
|
|
1509
|
+
children: /* @__PURE__ */ jsxs("div", {
|
|
1510
|
+
className: SourceOfFunds_module_default.sourceOfFundsThirdPartyFundingNameAvatarGroup,
|
|
1511
|
+
children: [/* @__PURE__ */ jsx(Avatar, {
|
|
1512
|
+
label: sofT(($) => $["addDocument"]),
|
|
1513
|
+
iconName: "plus",
|
|
1514
|
+
circle: true
|
|
1515
|
+
}), /* @__PURE__ */ jsx(Typography, {
|
|
1516
|
+
el: "div",
|
|
1517
|
+
variant: "body-strongest",
|
|
1518
|
+
children: sofT(($) => $["addDocument"])
|
|
1519
|
+
})]
|
|
1520
|
+
})
|
|
1521
|
+
}),
|
|
1522
|
+
handleNavigateToSummary && /* @__PURE__ */ jsx("div", {
|
|
1523
|
+
className: SourceOfFunds_module_default.sourceOfFundsGettingStartedActions,
|
|
1524
|
+
children: /* @__PURE__ */ jsx(Button, {
|
|
1525
|
+
variant: "secondary",
|
|
1526
|
+
onClick: handleNavigateToSummary,
|
|
1527
|
+
children: documents?.length > 0 ? commonT(($) => $["finish"]) : commonT(($) => $["cancel"])
|
|
1528
|
+
})
|
|
1529
|
+
}),
|
|
1530
|
+
!!docToDelete && /* @__PURE__ */ jsx(Confirm, {
|
|
1531
|
+
title: sofT(($) => $["areYouSureYouWantToDeleteThisDocument"], { documentName: docToDelete?.fileName || "" }),
|
|
1532
|
+
confirmText: commonT(($) => $["delete"]),
|
|
1533
|
+
onConfirm: () => handleFileDelete(docToDelete?.id),
|
|
1534
|
+
onCancel: () => setDocToDelete(void 0),
|
|
1535
|
+
critical: true
|
|
1536
|
+
}),
|
|
1537
|
+
showUploadModal && /* @__PURE__ */ jsx(SOFUploadModal, {
|
|
1538
|
+
documentUtils,
|
|
1539
|
+
handleModalClose,
|
|
1540
|
+
businessLines
|
|
1541
|
+
})
|
|
1542
|
+
]
|
|
1543
|
+
});
|
|
1544
|
+
};
|
|
1545
|
+
//#endregion
|
|
1546
|
+
//#region src/utils/urlUtils.ts
|
|
1547
|
+
function canParseUrl(url) {
|
|
1548
|
+
if (URL.canParse) return URL.canParse(url);
|
|
1549
|
+
try {
|
|
1550
|
+
new URL(url);
|
|
1551
|
+
return true;
|
|
1552
|
+
} catch {
|
|
1553
|
+
return false;
|
|
1554
|
+
}
|
|
1555
|
+
}
|
|
1556
|
+
//#endregion
|
|
1557
|
+
//#region src/components/EFP/tasks/SourceOfFundsDropin/validate.ts
|
|
1558
|
+
var sourceOfFundsTypeValidations = {};
|
|
1559
|
+
var HAS_PROTOCOL_REGEX = /^https?:\/\//i;
|
|
1560
|
+
var sourceOfFundsAdditionalDataValidations = {
|
|
1561
|
+
website: {
|
|
1562
|
+
modes: ["blur"],
|
|
1563
|
+
validate: (val) => !!val && canParseUrl(val),
|
|
1564
|
+
errorMessage: (val) => {
|
|
1565
|
+
if (val && !HAS_PROTOCOL_REGEX.test(val)) return "validationUrlMustStartWithHttpOrHttps";
|
|
1566
|
+
return "validationPleaseEnterAValidUrl";
|
|
1567
|
+
}
|
|
1568
|
+
},
|
|
1569
|
+
amount: {
|
|
1570
|
+
modes: ["blur"],
|
|
1571
|
+
validate: (amount) => amount?.value != null && !Number.isNaN(Number(amount.value)),
|
|
1572
|
+
errorMessage: "pleaseEnterAValidAmount"
|
|
1573
|
+
},
|
|
1574
|
+
dateOfSourceEvent: {
|
|
1575
|
+
modes: ["blur"],
|
|
1576
|
+
validate: (dateOfSourceEvent) => validateDateNotInTheFuture(dateOfSourceEvent),
|
|
1577
|
+
errorMessage: "dateCannotBeInTheFuture"
|
|
1578
|
+
},
|
|
1579
|
+
dateOfFundsReceived: {
|
|
1580
|
+
modes: ["blur"],
|
|
1581
|
+
validate: (dateOfFundsReceived) => validateDateNotInTheFuture(dateOfFundsReceived),
|
|
1582
|
+
errorMessage: "dateCannotBeInTheFuture"
|
|
1583
|
+
}
|
|
1584
|
+
};
|
|
1585
|
+
//#endregion
|
|
1586
|
+
//#region src/components/EFP/tasks/SourceOfFundsDropin/SourceOfFundsDropin.tsx
|
|
1587
|
+
var logger = createLogger();
|
|
1588
|
+
function SourceOfFundsDropin({ country, problems, handleHomeClick }) {
|
|
1589
|
+
const { data: legalEntity, isLoading: isLoadingRootLegalEntity } = useLegalEntity(ROOT_LE);
|
|
1590
|
+
const [loadingStatus, setLoadingStatus] = useState$1("success");
|
|
1591
|
+
const [activeBusinessLine, setActiveBusinessLine] = useState$1();
|
|
1592
|
+
const [activeSourceOfFund, setActiveSourceOfFund] = useState$1({
|
|
1593
|
+
sourceOfFundsType: {},
|
|
1594
|
+
additionalData: {}
|
|
1595
|
+
});
|
|
1596
|
+
const [allBusinessLines, setAllBusinessLines] = useState$1([]);
|
|
1597
|
+
const [gettingStarted, setGettingStarted] = useState$1(true);
|
|
1598
|
+
const [showUploadPage, setShowUploadPage] = useState$1(false);
|
|
1599
|
+
const [loading, setLoading] = useState$1(false);
|
|
1600
|
+
const [useSameAs, setUseSameAs] = useState$1(false);
|
|
1601
|
+
const { baseUrl, rootLegalEntityId } = useApiContext();
|
|
1602
|
+
const { t: sofT } = useTranslation("sof");
|
|
1603
|
+
const userEvents = useAnalyticsContext();
|
|
1604
|
+
const { showToast } = useToastContext();
|
|
1605
|
+
const { data: sofBusinessLines, isLoading: isLoadingBusinessLines } = useBusinessLines(ALLOWED_SOF_SERVICES);
|
|
1606
|
+
const { mutateAsync: createLegalEntity } = useCreateLegalEntity();
|
|
1607
|
+
const { mutateAsync: updateLegalEntity } = useUpdateLegalEntity();
|
|
1608
|
+
const { mutateAsync: updateSoFMutation } = useUpdateSourceOfFunds();
|
|
1609
|
+
const form = useMultiForm({
|
|
1610
|
+
requiredFields: getSourceOfFundsRequiredFields,
|
|
1611
|
+
rules: {
|
|
1612
|
+
sourceOfFundsType: sourceOfFundsTypeValidations,
|
|
1613
|
+
additionalData: sourceOfFundsAdditionalDataValidations
|
|
1614
|
+
},
|
|
1615
|
+
defaultData: activeSourceOfFund
|
|
1616
|
+
});
|
|
1617
|
+
const { data = activeSourceOfFund, setFormData, setData, requiredFields, isValid, triggerValidation } = form;
|
|
1618
|
+
const isSoFDocumentMissing = useMemo$1(() => legalEntity?.problems?.some((problem) => problem?.verificationErrors?.some((verificationError) => verificationError?.code === "2_8224")) ?? false, [legalEntity?.problems]);
|
|
1619
|
+
const legalEntityResults = useLegalEntities(sofBusinessLines?.map((businessLine) => businessLine.sourceOfFunds?.originatorLegalEntityId).filter((id) => Boolean(id)) ?? [], { staleTime: 300 * 1e3 });
|
|
1620
|
+
const areLegalEntitiesLoading = legalEntityResults.some((result) => result.isLoading);
|
|
1621
|
+
const normalizedBusinessLines = useMemo$1(() => {
|
|
1622
|
+
if (!sofBusinessLines) return null;
|
|
1623
|
+
return sofBusinessLines.map((businessLine, index) => {
|
|
1624
|
+
const result = legalEntityResults[index];
|
|
1625
|
+
let updatedBusinessLine = { ...businessLine };
|
|
1626
|
+
if (result && result.data) updatedBusinessLine = parseOriginatorDetails(result.data, updatedBusinessLine);
|
|
1627
|
+
else if (result && result.isError) {
|
|
1628
|
+
logger.error(`Error fetching legal entity for BL ${businessLine.id}:`, result.error);
|
|
1629
|
+
showToast({
|
|
1630
|
+
label: sofT(($) => $["unableToLoadRelatedEntity"]),
|
|
1631
|
+
variant: "error"
|
|
1632
|
+
});
|
|
1633
|
+
}
|
|
1634
|
+
if (updatedBusinessLine.sourceOfFunds?.adyenProcessedFunds) updatedBusinessLine.sourceOfFunds.type = "adyen";
|
|
1635
|
+
return updatedBusinessLine;
|
|
1636
|
+
});
|
|
1637
|
+
}, [sofBusinessLines, JSON.stringify(legalEntityResults.map((r) => ({
|
|
1638
|
+
data: r.data,
|
|
1639
|
+
isError: r.isError,
|
|
1640
|
+
error: r.error,
|
|
1641
|
+
isLoading: r.isLoading
|
|
1642
|
+
})))]);
|
|
1643
|
+
useEffect$1(() => {
|
|
1644
|
+
if (sofBusinessLines && !areLegalEntitiesLoading && normalizedBusinessLines) {
|
|
1645
|
+
clearSofErrorMessage();
|
|
1646
|
+
setLoading(true);
|
|
1647
|
+
try {
|
|
1648
|
+
if (normalizedBusinessLines.length) {
|
|
1649
|
+
setAllBusinessLines((prev) => objectsDeepEqual(prev, normalizedBusinessLines) ? prev : normalizedBusinessLines);
|
|
1650
|
+
if (!activeBusinessLine) {
|
|
1651
|
+
const firstBusinessLine = normalizedBusinessLines[0];
|
|
1652
|
+
if (firstBusinessLine) {
|
|
1653
|
+
const mappedSof = mapSourceOfFundToSourceOfFundsSchema(firstBusinessLine);
|
|
1654
|
+
setActiveBusinessLine(firstBusinessLine);
|
|
1655
|
+
setActiveSourceOfFund(mappedSof);
|
|
1656
|
+
if (mappedSof?.sourceOfFundsType) setFormData("sourceOfFundsType", mappedSof.sourceOfFundsType);
|
|
1657
|
+
if (mappedSof?.additionalData) setFormData("additionalData", mappedSof.additionalData);
|
|
1658
|
+
}
|
|
1659
|
+
}
|
|
1660
|
+
}
|
|
1661
|
+
} catch (error) {
|
|
1662
|
+
showToast({
|
|
1663
|
+
label: sofT(($) => $["unableToLoadRelatedEntity"]),
|
|
1664
|
+
variant: "error"
|
|
1665
|
+
});
|
|
1666
|
+
logger.error(error);
|
|
1667
|
+
} finally {
|
|
1668
|
+
setLoading(false);
|
|
1669
|
+
}
|
|
1670
|
+
}
|
|
1671
|
+
}, [
|
|
1672
|
+
sofBusinessLines,
|
|
1673
|
+
areLegalEntitiesLoading,
|
|
1674
|
+
normalizedBusinessLines,
|
|
1675
|
+
activeBusinessLine,
|
|
1676
|
+
sofT,
|
|
1677
|
+
logger
|
|
1678
|
+
]);
|
|
1679
|
+
/**
|
|
1680
|
+
* Analytics
|
|
1681
|
+
*/
|
|
1682
|
+
useTaskLandedEvent("SOURCE_OF_FUNDS");
|
|
1683
|
+
useEffect$1(() => {
|
|
1684
|
+
if (!gettingStarted && activeBusinessLine && allBusinessLines.length > 1) {
|
|
1685
|
+
const applicableBusinessLines = getApplicableBusinessLines(allBusinessLines);
|
|
1686
|
+
if (applicableBusinessLines.length > 1) {
|
|
1687
|
+
if (applicableBusinessLines.every((bl) => bl.sourceOfFunds?.type)) {
|
|
1688
|
+
const currentSoF = mapSourceOfFundToSourceOfFundsSchema(activeBusinessLine);
|
|
1689
|
+
setUseSameAs(applicableBusinessLines.filter((bl) => bl.id !== activeBusinessLine.id).every((bl) => {
|
|
1690
|
+
return areSourceOfFundsEqual(currentSoF, mapSourceOfFundToSourceOfFundsSchema(bl));
|
|
1691
|
+
}));
|
|
1692
|
+
}
|
|
1693
|
+
}
|
|
1694
|
+
}
|
|
1695
|
+
}, [
|
|
1696
|
+
gettingStarted,
|
|
1697
|
+
activeBusinessLine,
|
|
1698
|
+
allBusinessLines
|
|
1699
|
+
]);
|
|
1700
|
+
const sourceOfFundsRequiredForms = useMemo$1(() => getSourceOfFundsRequiredForms(data?.sourceOfFundsType), [data?.sourceOfFundsType]);
|
|
1701
|
+
const forms = useMemo$1(() => {
|
|
1702
|
+
return addValidityToForms(getRequiredForms(sourceOfFundsRequiredForms, requiredFields, void 0, true), isValid, problems);
|
|
1703
|
+
}, [
|
|
1704
|
+
sourceOfFundsRequiredForms,
|
|
1705
|
+
requiredFields,
|
|
1706
|
+
isValid,
|
|
1707
|
+
problems
|
|
1708
|
+
]);
|
|
1709
|
+
const createOrUpdateOriginator = async (additionalData, prevAdditionalData) => {
|
|
1710
|
+
let originatorLegalEntityId;
|
|
1711
|
+
const sofOriginator = parseSofOriginatorPayload(additionalData);
|
|
1712
|
+
if (additionalData?.originatorLegalEntityId && additionalData?.originatorType === prevAdditionalData?.originatorType) try {
|
|
1713
|
+
sofOriginator.id = additionalData?.originatorLegalEntityId;
|
|
1714
|
+
if (sofOriginator.type) delete sofOriginator.type;
|
|
1715
|
+
originatorLegalEntityId = (await updateLegalEntity({
|
|
1716
|
+
...sofOriginator,
|
|
1717
|
+
id: sofOriginator.id
|
|
1718
|
+
}))?.id;
|
|
1719
|
+
} catch (e) {
|
|
1720
|
+
logger.log("Error updating originator legal entity", e);
|
|
1721
|
+
}
|
|
1722
|
+
else try {
|
|
1723
|
+
originatorLegalEntityId = (await createLegalEntity(sofOriginator))?.id;
|
|
1724
|
+
} catch (e) {
|
|
1725
|
+
logger.log("Error creating originator legal entity", e);
|
|
1726
|
+
}
|
|
1727
|
+
return originatorLegalEntityId;
|
|
1728
|
+
};
|
|
1729
|
+
const handleSubmit = useCallback$1(async () => {
|
|
1730
|
+
const sofData = { ...data };
|
|
1731
|
+
const sofType = sofData?.sourceOfFundsType?.type;
|
|
1732
|
+
if (!sofType || !activeBusinessLine?.id) return;
|
|
1733
|
+
const eventsAdditionalData = {};
|
|
1734
|
+
setLoadingStatus("loading");
|
|
1735
|
+
const { additionalData } = sofData;
|
|
1736
|
+
const sofPayload = getSourceOfFundsPayload(sofType, additionalData);
|
|
1737
|
+
if (sofType === "thirdPartyFunding") eventsAdditionalData.financiers = `${additionalData?.financiers?.length || 0} investor(s)`;
|
|
1738
|
+
if (sofType === "donations" || sofType === "inheritance") eventsAdditionalData.originatorType = additionalData?.originatorType ?? "";
|
|
1739
|
+
const targetBusinessLines = useSameAs ? getApplicableBusinessLines(allBusinessLines) : [activeBusinessLine];
|
|
1740
|
+
const savePromises = targetBusinessLines.filter((bl) => bl.id).map(async (bl) => {
|
|
1741
|
+
const payload = { ...sofPayload };
|
|
1742
|
+
if (sofType === "donations" || sofType === "inheritance") try {
|
|
1743
|
+
const blAdditionalData = mapSourceOfFundToSourceOfFundsSchema(bl)?.additionalData;
|
|
1744
|
+
payload.originatorLegalEntityId = await createOrUpdateOriginator(useSameAs ? {
|
|
1745
|
+
...additionalData,
|
|
1746
|
+
originatorLegalEntityId: blAdditionalData?.originatorLegalEntityId
|
|
1747
|
+
} : getAdditionalDataForOriginator(additionalData, activeSourceOfFund?.additionalData, useSameAs), blAdditionalData);
|
|
1748
|
+
} catch (e) {
|
|
1749
|
+
logger.log("Error creating originator legal entity for business line", e);
|
|
1750
|
+
throw e;
|
|
1751
|
+
}
|
|
1752
|
+
return updateSoFMutation({
|
|
1753
|
+
...payload,
|
|
1754
|
+
businessLineId: bl.id
|
|
1755
|
+
});
|
|
1756
|
+
});
|
|
1757
|
+
try {
|
|
1758
|
+
const results = await Promise.allSettled(savePromises);
|
|
1759
|
+
const failures = results.filter((r) => r.status === "rejected");
|
|
1760
|
+
if (failures.length > 0) {
|
|
1761
|
+
setSofErrorMessage(sofT(($) => $["errorUpdatingMultipleSourceOfFunds"], { count: failures.length }));
|
|
1762
|
+
logger.error("Failed to update SoF for some business lines", failures);
|
|
1763
|
+
}
|
|
1764
|
+
const successes = results.filter((r) => r.status === "fulfilled");
|
|
1765
|
+
if (successes.length > 0) {
|
|
1766
|
+
userEvents.addTaskEvent("Success", {
|
|
1767
|
+
actionType: "submit",
|
|
1768
|
+
returnValue: sofType,
|
|
1769
|
+
additionalData: {
|
|
1770
|
+
...eventsAdditionalData,
|
|
1771
|
+
appliedToMultiple: useSameAs,
|
|
1772
|
+
successCount: successes.length,
|
|
1773
|
+
failureCount: failures.length,
|
|
1774
|
+
businessLinesCount: allBusinessLines.length,
|
|
1775
|
+
activeBusinessLineType: activeBusinessLine?.service,
|
|
1776
|
+
activeBusinessLineCode: activeBusinessLine?.industryCode
|
|
1777
|
+
}
|
|
1778
|
+
});
|
|
1779
|
+
setGettingStarted(true);
|
|
1780
|
+
setShowUploadPage(false);
|
|
1781
|
+
setActiveSourceOfFund({
|
|
1782
|
+
sourceOfFundsType: {},
|
|
1783
|
+
additionalData: {}
|
|
1784
|
+
});
|
|
1785
|
+
gotoFormByFormIndex(0);
|
|
1786
|
+
setUseSameAs(false);
|
|
1787
|
+
if (failures.length === 0) {
|
|
1788
|
+
showToast({
|
|
1789
|
+
label: sofT(($) => $["successAddedFundingSources"]),
|
|
1790
|
+
variant: "success"
|
|
1791
|
+
});
|
|
1792
|
+
setSofErrorMessage("");
|
|
1793
|
+
} else showToast({
|
|
1794
|
+
label: sofT(($) => $["successAddedFundingSources"]),
|
|
1795
|
+
variant: "success"
|
|
1796
|
+
});
|
|
1797
|
+
if (useSameAs) {} else {
|
|
1798
|
+
const applicableBusinessLines = getApplicableBusinessLines(allBusinessLines);
|
|
1799
|
+
if (applicableBusinessLines.filter((bl) => {
|
|
1800
|
+
return targetBusinessLines.some((target) => target.id === bl.id) || !isEmpty(bl.sourceOfFunds);
|
|
1801
|
+
}).length === applicableBusinessLines.length) handleHomeClick?.();
|
|
1802
|
+
}
|
|
1803
|
+
} else setSofErrorMessage(sofT(($) => $["errorUpdatingSourceOfFunds"]));
|
|
1804
|
+
} catch (e) {
|
|
1805
|
+
setSofErrorMessage(sofT(($) => $["errorUpdatingSourceOfFunds"]));
|
|
1806
|
+
logger.log("Error updating source of funds", e);
|
|
1807
|
+
}
|
|
1808
|
+
setLoadingStatus("success");
|
|
1809
|
+
}, [
|
|
1810
|
+
data,
|
|
1811
|
+
activeSourceOfFund,
|
|
1812
|
+
activeBusinessLine,
|
|
1813
|
+
allBusinessLines,
|
|
1814
|
+
useSameAs,
|
|
1815
|
+
updateSoFMutation,
|
|
1816
|
+
createOrUpdateOriginator,
|
|
1817
|
+
userEvents,
|
|
1818
|
+
showToast,
|
|
1819
|
+
sofT,
|
|
1820
|
+
logger
|
|
1821
|
+
]);
|
|
1822
|
+
const handleGettingStarted = useCallback$1(() => {
|
|
1823
|
+
setGettingStarted(!gettingStarted);
|
|
1824
|
+
}, [gettingStarted]);
|
|
1825
|
+
const handleSourceOfFundsClick = (SoF, businessLine) => {
|
|
1826
|
+
setActiveBusinessLine(businessLine);
|
|
1827
|
+
setActiveSourceOfFund(SoF);
|
|
1828
|
+
setGettingStarted(false);
|
|
1829
|
+
setUseSameAs(false);
|
|
1830
|
+
};
|
|
1831
|
+
const sameAsOption = useMemo$1(() => {
|
|
1832
|
+
if (!activeBusinessLine || !allBusinessLines.length) return;
|
|
1833
|
+
if (getApplicableBusinessLines(allBusinessLines).length <= 1) return;
|
|
1834
|
+
return {
|
|
1835
|
+
businessLineId: "",
|
|
1836
|
+
productName: sofT(($) => $["useSameFundingSourceAndDetails"]),
|
|
1837
|
+
sourceOfFunds: activeSourceOfFund
|
|
1838
|
+
};
|
|
1839
|
+
}, [
|
|
1840
|
+
activeBusinessLine,
|
|
1841
|
+
allBusinessLines,
|
|
1842
|
+
activeSourceOfFund,
|
|
1843
|
+
sofT
|
|
1844
|
+
]);
|
|
1845
|
+
const setAdditionalDataFields = useCallback$1((additionalData) => {
|
|
1846
|
+
if (!additionalData) return;
|
|
1847
|
+
Object.keys(additionalData).forEach((key) => {
|
|
1848
|
+
const fieldKey = key;
|
|
1849
|
+
const value = additionalData[fieldKey];
|
|
1850
|
+
if (value !== void 0) setData(fieldKey, value, "additionalData");
|
|
1851
|
+
});
|
|
1852
|
+
}, [setData]);
|
|
1853
|
+
const handleUseSameAsChange = useCallback$1((checked) => {
|
|
1854
|
+
setUseSameAs(checked);
|
|
1855
|
+
if (checked && sameAsOption) {
|
|
1856
|
+
const { sourceOfFunds } = sameAsOption;
|
|
1857
|
+
setActiveSourceOfFund(sourceOfFunds);
|
|
1858
|
+
setFormData("sourceOfFundsType", sourceOfFunds.sourceOfFundsType);
|
|
1859
|
+
setAdditionalDataFields(sourceOfFunds.additionalData);
|
|
1860
|
+
} else if (!checked && activeBusinessLine) {
|
|
1861
|
+
const currentSoF = mapSourceOfFundToSourceOfFundsSchema(activeBusinessLine);
|
|
1862
|
+
setActiveSourceOfFund(currentSoF);
|
|
1863
|
+
setFormData("sourceOfFundsType", currentSoF.sourceOfFundsType);
|
|
1864
|
+
setAdditionalDataFields(currentSoF.additionalData);
|
|
1865
|
+
}
|
|
1866
|
+
}, [
|
|
1867
|
+
sameAsOption,
|
|
1868
|
+
activeBusinessLine,
|
|
1869
|
+
setFormData,
|
|
1870
|
+
setAdditionalDataFields
|
|
1871
|
+
]);
|
|
1872
|
+
const { handleNextClick, activeForm, gotoFormByFormIndex, gotoFormByFormId, steps, handleBackClick } = useFormComposer({
|
|
1873
|
+
problems,
|
|
1874
|
+
forms,
|
|
1875
|
+
onSubmit: handleSubmit,
|
|
1876
|
+
triggerValidation
|
|
1877
|
+
});
|
|
1878
|
+
const documentUtils = documentApiUtils({
|
|
1879
|
+
baseUrl: baseUrl.value,
|
|
1880
|
+
rootLegalEntityId: rootLegalEntityId.value
|
|
1881
|
+
});
|
|
1882
|
+
const handleNavigateToSummary = async () => {
|
|
1883
|
+
setShowUploadPage(false);
|
|
1884
|
+
setGettingStarted(true);
|
|
1885
|
+
};
|
|
1886
|
+
const handleNavigateToUploadPage = () => {
|
|
1887
|
+
setShowUploadPage(true);
|
|
1888
|
+
};
|
|
1889
|
+
return /* @__PURE__ */ jsx("div", {
|
|
1890
|
+
className: SourceOfFunds_module_default.sourceOfFunds,
|
|
1891
|
+
children: loading || isLoadingRootLegalEntity || isLoadingBusinessLines || areLegalEntitiesLoading ? /* @__PURE__ */ jsx(Loader, {}) : /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
1892
|
+
gettingStarted && !showUploadPage && legalEntity && /* @__PURE__ */ jsx(SourceOfFundsGettingStarted, {
|
|
1893
|
+
handleCancelClick: handleHomeClick,
|
|
1894
|
+
handleGettingStartedClick: handleGettingStarted,
|
|
1895
|
+
businessLines: allBusinessLines,
|
|
1896
|
+
problems: legalEntity?.problems,
|
|
1897
|
+
handleSourceOfFundsClick,
|
|
1898
|
+
handleNavigateToUploadPage,
|
|
1899
|
+
legalEntity,
|
|
1900
|
+
isSoFDocumentMissing
|
|
1901
|
+
}),
|
|
1902
|
+
showUploadPage && legalEntity && /* @__PURE__ */ jsx(SourceOfFundsUpload, {
|
|
1903
|
+
businessLines: allBusinessLines,
|
|
1904
|
+
documentUtils,
|
|
1905
|
+
legalEntity,
|
|
1906
|
+
handleNavigateToSummary
|
|
1907
|
+
}),
|
|
1908
|
+
!gettingStarted && !showUploadPage && /* @__PURE__ */ jsx(FormContextProvider, {
|
|
1909
|
+
form,
|
|
1910
|
+
children: /* @__PURE__ */ jsx(FormFlow, {
|
|
1911
|
+
forms,
|
|
1912
|
+
disableNextButton: !activeForm.isValid,
|
|
1913
|
+
activeForm,
|
|
1914
|
+
gotoFormByFormIndex,
|
|
1915
|
+
gotoFormByFormId,
|
|
1916
|
+
handleBackClick: steps.current === 0 ? handleGettingStarted : handleBackClick,
|
|
1917
|
+
handleCancelClick: handleHomeClick,
|
|
1918
|
+
handleNextClick,
|
|
1919
|
+
loadingStatus,
|
|
1920
|
+
currentStep: steps.current,
|
|
1921
|
+
totalSteps: steps.total,
|
|
1922
|
+
children: /* @__PURE__ */ jsx(SourceOfFunds, {
|
|
1923
|
+
country,
|
|
1924
|
+
activeForm,
|
|
1925
|
+
activeBusinessLine,
|
|
1926
|
+
sourceOfFundsType: data?.sourceOfFundsType?.type,
|
|
1927
|
+
data: activeSourceOfFund,
|
|
1928
|
+
sameAsOption,
|
|
1929
|
+
useSameAs,
|
|
1930
|
+
onUseSameAsChange: handleUseSameAsChange
|
|
1931
|
+
})
|
|
1932
|
+
})
|
|
1933
|
+
})
|
|
1934
|
+
] })
|
|
1935
|
+
});
|
|
1936
|
+
}
|
|
1937
|
+
//#endregion
|
|
1938
|
+
export { SourceOfFundsDropin as t };
|