@adyen/kyc-components 4.11.1 → 4.12.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/{AcceptTermsOfServiceComponent-DuDZmGTI.js → AcceptTermsOfServiceComponent-f53Abc5G.js} +117 -118
- package/dist/{Accordion-BQtV67hk.js → Accordion-DJ1F7dI4.js} +1 -1
- package/dist/{AccountSetupRejected-D6aOFvR3.js → AccountSetupRejected-_VNh1Xj4.js} +3 -3
- package/dist/{AdaptiveWorkflow-C5RhowAE.js → AdaptiveWorkflow-B7y02pz6.js} +453 -246
- package/dist/AdaptiveWorkflowComponent-UbZbnGgf.js +130 -0
- package/dist/{Address-BeD6JBZ1.js → Address-D7m4o1lU.js} +13 -13
- package/dist/{Alert-Cj1DQwkN.js → Alert-CjZYipjN.js} +3 -3
- package/dist/{Avatar-C-jKjLib.js → Avatar-4gshS6xA.js} +1 -1
- package/dist/{BusinessFinancingDropin-9M_PGGWw.js → BusinessFinancingDropin-CIbmp0UI.js} +76 -79
- package/dist/{BusinessFinancingPage-CDe53pUp.js → BusinessFinancingPage-dGW1ZbfP.js} +55 -55
- package/dist/{BusinessTypeSelectionPage-oDkQBlAn.js → BusinessTypeSelectionPage-Dy-T06MZ.js} +75 -75
- package/dist/{Button-Bm94lu_o.js → Button-BDEdGXnd.js} +1 -1
- package/dist/{Checkbox-DIJ8LD9x.js → Checkbox-BJJIXNHL.js} +2 -2
- package/dist/{CompanyRegistrationNumberTypeSelector-B8_lP8m6.js → CompanyRegistrationNumberTypeSelector-LMLF4xL4.js} +7 -7
- package/dist/{Confirm-B-nGyEub.js → Confirm-BqhBxIWm.js} +5 -5
- package/dist/{ConstitutionalDocument-tVWxH6Gg.js → ConstitutionalDocument-B6yJ9w8L.js} +22 -159
- package/dist/{ContactDetails-BwweTRKo.js → ContactDetails-IyepRqya.js} +9 -9
- package/dist/{ContextGuidance-CY8NxWVC.js → ContextGuidance-CxOv00_a.js} +3 -3
- package/dist/{CountryField-DkzcUbd_.js → CountryField-B-JxQ6z9.js} +4 -4
- package/dist/{Currency-C2dAnQ5D.js → Currency-CXE0er4o.js} +5 -5
- package/dist/{CustomerSupport-4g2KEyc2.js → CustomerSupport-DeOs_mYl.js} +15 -15
- package/dist/{DebugModal-Bt1K4x4p.js → DebugModal-1mknkfVl.js} +13 -13
- package/dist/{DecisionMakerDetails-BKBfxnPC.js → DecisionMakerDetails-DElp9pZu.js} +18 -18
- package/dist/{DecisionMakerDetailsPage-DhrBf6ox.js → DecisionMakerDetailsPage-DK9myYrk.js} +34 -34
- package/dist/{DecisionMakers-Bx_M_p9l.js → DecisionMakers-c0L12DVq.js} +61 -61
- package/dist/{Dropzone-BoW40UmF.js → Dropzone-C_RxspA0.js} +6 -6
- package/dist/{EmbeddedStatus-_quv0RZU.js → EmbeddedStatus-Ch7vvcve.js} +5 -5
- package/dist/{EndStateLayout-DFOySshR.js → EndStateLayout-DxdIVWL3.js} +2 -2
- package/dist/{EntityAssociation-DIFAno1U.js → EntityAssociation-inLOmBfG.js} +7 -7
- package/dist/{ErrorPanel-CEYlEQj0.js → ErrorPanel-5g1eTEVD.js} +3 -3
- package/dist/{Field-C0DvMhbn.js → Field-BEqknhTe.js} +4 -4
- package/dist/{FormNavigation-DTjrpGlw.js → FormNavigation-Btkou5O7.js} +5 -5
- package/dist/{Header-BDhO9HbD.js → Header-B_MIsVov.js} +2 -2
- package/dist/{Image-COtxMzAq.js → Image-BPAtdM5Y.js} +1 -1
- package/dist/{IndividualDropin-BllFO-Iz.js → IndividualDropin-Be_jevkY.js} +169 -170
- package/dist/{InputDate-98dUIg6b.js → InputDate-DsEAx7kx.js} +1 -1
- package/dist/{InputText-Bj1XCzw_.js → InputText-CadVntiC.js} +2 -2
- package/dist/{Introduction-5IW9YCW_.js → Introduction-DtL0bA4R.js} +105 -33
- package/dist/{InvitedDecisionMakerComponent-BsDPJYGi.js → InvitedDecisionMakerComponent-CeWhA1EV.js} +93 -93
- package/dist/{JpAddress-Chdh5nsE.js → JpAddress-aB1psW_4.js} +11 -11
- package/dist/{LandingLayout-Cr6Qvpea.js → LandingLayout-C9eryD6V.js} +2 -2
- package/dist/{LegalCompanyNameField-Dauy6u9B.js → LegalCompanyNameField-c_B4Hlte.js} +2 -2
- package/dist/{LegalRepresentativeDetailsPage-BLZozZRW.js → LegalRepresentativeDetailsPage-IFU3Lahn.js} +32 -32
- package/dist/{Link-CGYkU3wS.js → Link-BoduD1oh.js} +1 -1
- package/dist/{ListItem-CRIfuyN4.js → ListItem-ByYbZdGG.js} +2 -2
- package/dist/{LoaderWrapper-QmLBOeDS.js → LoaderWrapper-CRf5MAK1.js} +1 -1
- package/dist/{MaskedInput-pH3Ru1bb.js → MaskedInput-yF8Va2s-.js} +5 -5
- package/dist/{MaybeModal-CiJw94QA.js → MaybeModal-DkRlF_Mg.js} +2 -2
- package/dist/{Modal-BB5054NG.js → Modal-DOC6JgPI.js} +3 -19
- package/dist/{Name-CRME_V6C.js → Name-VckG8ggI.js} +7 -7
- package/dist/{NewSummary-DU-Uzp0N.js → NewSummary-BQHtEgHV.js} +7 -7
- package/dist/{PayoutDetailsDropinMultiForm-y_zxVd6a.js → PayoutDetailsDropinMultiForm-cZjBC9Fs.js} +221 -190
- package/dist/{PayoutDetailsPage-_YqMuYxE.js → PayoutDetailsPage-BACA_b0Q.js} +32 -32
- package/dist/{RadioGroup-CwRHDUnD.js → RadioGroup-XuCtbRrH.js} +3 -3
- package/dist/{Review-CmBx5FiT.js → Review-BjMmCI8_.js} +9 -9
- package/dist/{RootBusinessDetailsPage-clpPewW-.js → RootBusinessDetailsPage-CUTrYF3e.js} +31 -31
- package/dist/{RootBusinessLinesPage-Crc7pX4N.js → RootBusinessLinesPage-CUWL0Y30.js} +64 -64
- package/dist/{RootIndividualDetailsPage-cgJ7Dk6L.js → RootIndividualDetailsPage-De7BivI-.js} +34 -34
- package/dist/{Select-Bhx9CBjg.js → Select-CMFHti4N.js} +5 -5
- package/dist/{SignPCIComponent-1dJ7m-cM.js → SignPCIComponent-BdQ3JECB.js} +93 -93
- package/dist/{SingpassSelection-B5FOW6mh.js → SingpassSelection-BlhAPO0J.js} +70 -73
- package/dist/{SoleProprietorshipPage-jkpHD7vX.js → SoleProprietorshipPage-C3Dn-8uK.js} +31 -31
- package/dist/{SourceOfFundsDropin-CwWe-Ese.js → SourceOfFundsPage-KlXCJuAm.js} +195 -141
- package/dist/{StackLayout-D0Kqs-Ti.js → StackLayout-BMQXXBDb.js} +2 -2
- package/dist/{StructuredList-BXi5p5iX.js → StructuredList-S4LIZQiJ.js} +2 -2
- package/dist/{Summary-CSZzjxeK.js → Summary-_8R9bNbC.js} +10 -10
- package/dist/{TaskListItem-Cxdz393Y.js → TaskListItem-BM3oukq_.js} +54 -12
- package/dist/{TaskVerificationStatus-Bu5o1JSx.js → TaskVerificationStatus-jBBIJN_A.js} +2 -2
- package/dist/{TaxInformationField-DmO3vnfk.js → TaxInformationField-DVQN8nKW.js} +30 -30
- package/dist/{TaxReportingDropin-CoLc4EzT.js → TaxReportingDropin-Cb8Yie_s.js} +56 -53
- package/dist/{TextArea-B21bhGgj.js → TextArea-qzKHJyZG.js} +3 -3
- package/dist/{TileGroup-D7QQgXhE.js → TileGroup-COge4hw4.js} +3 -3
- package/dist/{ToastContextProvider-7tv7jDi1.js → ToastContextProvider-DmZQLSHH.js} +2 -2
- package/dist/{TrustDetailsPage-hnf4YrzK.js → TrustDetailsPage-Ck7itTrP.js} +301 -988
- package/dist/TrustMemberCompanyPage-dPpZeZVN.js +107 -0
- package/dist/{TrustMemberIndividualPage-Fk-5kamL.js → TrustMemberIndividualPage-DPkn_aYC.js} +57 -57
- package/dist/{TrustMemberRoleAndTypePage-BXBKM2YD.js → TrustMemberRoleAndTypePage-BtcmKtkR.js} +57 -60
- package/dist/{TrustMembersOverview-BO7DT1Dh.js → TrustMembersOverview-sPSvGI74.js} +42 -42
- package/dist/{UnincorporatedPartnershipIndividualPage-Dhf_-leV.js → UnincorporatedPartnershipIndividualPage-BCeNDKzv.js} +32 -32
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-DI7HqpOu.js → UnincorporatedPartnershipMemberCompanyPage-B07On5_X.js} +32 -32
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-BiFAWRMd.js → UnincorporatedPartnershipMemberRoleAndTypePage-DOgq2QPn.js} +40 -40
- package/dist/{UnincorporatedPartnershipMembersOverview-CdRA5xfJ.js → UnincorporatedPartnershipMembersOverview-MeqDhQz7.js} +39 -39
- package/dist/{VerificationErrorAlert-Bwacxx27.js → VerificationErrorAlert-x74LQ1wJ.js} +2 -2
- package/dist/adyen-business-financing.js +82 -82
- package/dist/adyen-individual-configuration.js +83 -83
- package/dist/adyen-individual-status.js +32 -32
- package/dist/adyen-invited-decision-maker.js +3 -3
- package/dist/adyen-onboarding.js +121 -129
- package/dist/adyen-terms-of-service-management.js +2 -2
- package/dist/adyen-terms-of-service-status.js +56 -56
- package/dist/adyen-transfer-instrument-configuration.js +81 -81
- package/dist/adyen-transfer-instrument-management.js +93 -94
- package/dist/adyen-verification-status.js +32 -32
- package/dist/{useUpdateBusinessLines-V5THyTOg.js → constants-BP_AS8q8.js} +6 -44
- package/dist/en-US-AkapGgCu.js +7 -0
- package/dist/en-US-BDZwHN0Y.js +7 -0
- package/dist/{en-US-ByzxgS9b.js → en-US-BhctnSAK.js} +2 -1
- package/dist/{en-US-D_9CXsFO.js → en-US-Cep-b_Ek.js} +10 -3
- package/dist/{formUtils-DcRJcDH1.js → formUtils-DERTAXyh.js} +1 -1
- package/dist/{getProblemsForEntity-hVGbFRTf.js → getProblemsForEntity-COcJt47f.js} +1 -1
- package/dist/{getProps-Bf3NN9L_.js → getProps-DQy_qV_x.js} +2 -29
- package/dist/{globalStore-B2xyn3dK.js → globalStore-D0yv1fc_.js} +1 -1
- package/dist/{http-DKdaqmyq.js → http-CHTzpXCd.js} +1 -1
- package/dist/{invalidateRootLegalEntity-CYOfVIXE.js → invalidateRootLegalEntity-BHyct4ev.js} +2 -2
- package/dist/{localizeDateString-DBwPhyyZ.js → localizeDateString-B7EYBFnd.js} +1 -1
- package/dist/{mapExistingFile-CKXMTTys.js → mapExistingFile-BeFexL6Z.js} +2 -2
- package/dist/{mapLegalEntityToIndividualSchema-B1dzF1yp.js → mapLegalEntityToIndividualSchema-BMvlasSJ.js} +7 -7
- package/dist/{mapTransferInstrumentToPayoutAccount-cz45OOWz.js → mapTransferInstrumentToPayoutAccount-DUrX63iT.js} +1 -1
- package/dist/{omitObscuredFieldsIfUnchanged-D7SbBw01.js → omitObscuredFieldsIfUnchanged-DHj0MQUt.js} +1 -1
- package/dist/{phonePrefixes-BNI-iili.js → phonePrefixes-D5cQh9fv.js} +1 -1
- package/dist/{process-field-configurations-ashoq4ow.js → process-field-configurations-B8wJu-eM.js} +1 -1
- package/dist/{resolveEnvironment-BvZ-Gl0g.js → resolveEnvironment-VEpRzQin.js} +43 -43
- package/dist/style.css +1418 -712
- package/dist/{styles-9jxW7TiP.js → styles-BKzp-1_V.js} +1418 -712
- package/dist/{translation-CZDodzvs.js → translation-Br5wIPO-.js} +67 -67
- package/dist/types/adaptiveWorkflow/AdaptiveWorkflow.d.ts +5 -3
- package/dist/types/adaptiveWorkflow/component-registry.d.ts +3 -5
- package/dist/types/adaptiveWorkflow/components/DynamicForm/DynamicForm.d.ts +1 -2
- package/dist/types/adaptiveWorkflow/components/DynamicForm/contextMap.d.ts +2 -0
- package/dist/types/adaptiveWorkflow/components/DynamicForm/useCustomerData.d.ts +25 -0
- package/dist/types/adaptiveWorkflow/components/Fields/AcceptTermsOfServiceWorkflow/AcceptTermsOfServiceWorkflow.d.ts +4 -1
- package/dist/types/adaptiveWorkflow/components/Fields/SourceOfFundsWorkflow/SourceOfFundsWorkflow.d.ts +6 -0
- package/dist/types/adaptiveWorkflow/components/Fields/TaxReportingWorkflow/TaxReportingWorkflow.d.ts +6 -0
- package/dist/types/adaptiveWorkflow/components/SpecializedComponent/SpecializedComponent.d.ts +4 -5
- package/dist/types/adaptiveWorkflow/components/WorkflowEndState/WorkflowEndState.d.ts +8 -0
- package/dist/types/adaptiveWorkflow/components/WorkflowHeading/WorkflowHeading.d.ts +6 -0
- package/dist/types/adaptiveWorkflow/components/types.d.ts +28 -2
- package/dist/types/adaptiveWorkflow/utils/utils.d.ts +20 -0
- package/dist/types/api/adaptive/adaptiveWorkflow.types.d.ts +31 -6
- package/dist/types/components/Apps/tasks/TaskList/TaskListGroup.d.ts +1 -1
- package/dist/types/components/Apps/tasks/TaskList/TaskListItem.d.ts +1 -1
- package/dist/types/components/Business/forms/BusinessDetails/forms.d.ts +2 -2
- package/dist/types/components/Business/forms/BusinessSelection/BusinessInformationCard/BusinessInformationCard.d.ts +8 -7
- package/dist/types/components/Business/forms/BusinessSelection/BusinessSelection.d.ts +1 -1
- package/dist/types/components/Business/forms/BusinessSelection/types.d.ts +1 -1
- package/dist/types/components/Business/hooks/useCompanySearchNextClickOverrides.d.ts +24 -0
- package/dist/types/components/Business/{utils → hooks}/usePrefetchCompanySearch.d.ts +3 -1
- package/dist/types/components/Business/hooks/useSubmitBusinessDetails.d.ts +27 -0
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/BusinessDetailsDropin.d.ts +2 -0
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/businessDetailsStore.d.ts +19 -4
- package/dist/types/components/Business/utils/getAvailableCompanyStructures.d.ts +3 -3
- package/dist/types/components/BusinessLines/fields/Carousel/Carousel.d.ts +10 -10
- package/dist/types/components/EFP/mapping/businessFinancingKeyMappings.d.ts +3 -3
- package/dist/types/components/EFP/pages/SourceOfFundsPage.d.ts +2 -1
- package/dist/types/components/EFP/tasks/SourceOfFundsDropin/SourceOfFundsDropin.d.ts +1 -1
- package/dist/types/components/EFP/tasks/SourceOfFundsDropin/SourceOfFundsGettingStarted/SourceOfFundsGettingStarted.d.ts +2 -1
- package/dist/types/components/EFP/tasks/SourceOfFundsDropin/types.d.ts +1 -0
- package/dist/types/components/EFP/tasks/TaxReportingDropin/TaxReportingDropin.d.ts +1 -1
- package/dist/types/components/EFP/tasks/TaxReportingDropin/TaxReportingGettingStarted.d.ts +2 -1
- package/dist/types/components/EFP/tasks/TaxReportingDropin/types.d.ts +1 -0
- package/dist/types/components/EmbeddedDropins/AdaptiveWorkflowComponent/AdaptiveWorkflowComponent.d.ts +5 -1
- package/dist/types/components/Individual/forms/IdVerification/IdVerification.d.ts +1 -1
- package/dist/types/components/Individual/forms/InviteDetails/InviteDetails.d.ts +0 -1
- package/dist/types/components/Individual/tasks/DecisionMakers/DecisionMakers.d.ts +1 -1
- package/dist/types/components/Shared/FormNavigation/FormNavigation.d.ts +1 -1
- package/dist/types/components/Shared/forms/Address/Address.d.ts +1 -1
- package/dist/types/components/Shared/forms/Address/validate.d.ts +1 -1
- package/dist/types/components/Trust/forms/TrustRegistrationDetails/TrustRegistrationDetails.d.ts +2 -1
- package/dist/types/components/Trust/tasks/TrustDropin/{TrustMultiform.d.ts → Trust.d.ts} +2 -3
- package/dist/types/components/Trust/tasks/TrustDropin/TrustDropin.d.ts +1 -1
- package/dist/types/components/ui/atoms/Modal/Modal.d.ts +1 -9
- package/dist/types/components/ui/atoms/Select/Select.d.ts +1 -1
- package/dist/types/components/ui/atoms/SelectList/SelectList.d.ts +1 -1
- package/dist/types/components/ui/atoms/Typography/Typography.d.ts +1 -1
- package/dist/types/components/ui/molecules/DocumentGuidance/DocumentGuidance.d.ts +1 -1
- package/dist/types/context/ToggleContext/types.d.ts +0 -4
- package/dist/types/context/WorkflowContext/WorkflowContext.d.ts +13 -9
- package/dist/types/context/WorkflowContext/WorkflowContextProvider.d.ts +0 -3
- package/dist/types/core/EmbedShell/EmbedShell.d.ts +2 -1
- package/dist/types/embeds/onboarding-workflow/adyen-onboarding-workflow.d.ts +1 -1
- package/dist/types/embeds/onboarding-workflow/adyen-onboarding-workflow.types.d.ts +1 -0
- package/dist/types/hooks/formUtils.d.ts +31 -0
- package/dist/types/hooks/useTaskLandedEvent.d.ts +2 -1
- package/dist/types/router/routeConfig.d.ts +2 -4
- package/dist/types/utils/scrollToInvalidField.d.ts +1 -0
- package/dist/{types-CvTg7nL1.js → types-LOiahAxg.js} +1 -5
- package/dist/{useAccountHolder-gfBCPc9T.js → useAccountHolder-BUQwFdWW.js} +2 -2
- package/dist/{useAllowedCountries-CFp6UJuZ.js → useAllowedCountries-BIhbvxWx.js} +2 -2
- package/dist/{useAssociatedLegalEntity-DfrL5dPQ.js → useAssociatedLegalEntity-CYu0lsaE.js} +2 -2
- package/dist/{useBusinessDetailsData-IZcUC_YJ.js → useBusinessDetailsData-DuaICgwl.js} +2374 -2291
- package/dist/{useBusinessLines-D8lNsfuI.js → useBusinessLines-BJV9biUj.js} +1 -1
- package/dist/{useCanSeeIntroduction-BKf6LCjv.js → useCanSeeIntroduction-Dj1tjCk3.js} +2 -2
- package/dist/{useCapabilities-CpPP2c2-.js → useCapabilities-DN0V0pML.js} +1 -1
- package/dist/{useCreateLegalEntity-lXjyiaxk.js → useCreateLegalEntity-C149Z7Xu.js} +1 -1
- package/dist/{useDataMissingRemediations-Cqp0uHMW.js → useDataMissingRemediations-Ddj2bl69.js} +1 -1
- package/dist/{useDataset-m2eWlBnT.js → useDataset-BRZZoPVn.js} +21 -21
- package/dist/{useDeleteTransferInstrument-2na9Fqip.js → useDeleteTransferInstrument-CZM3f7yq.js} +3 -3
- package/dist/{useForm-CbXH34cc.js → useForm-D3oGxnhN.js} +2 -2
- package/dist/{useFormContext-B4MtqoYh.js → useFormContext-Bt0K_c_v.js} +72 -10
- package/dist/{useLegalEntity-dpup8Xpn.js → useLegalEntity-Dm6g0wmt.js} +1 -1
- package/dist/{useMultiForm-CXswURh1.js → useMultiForm-BBawkDjy.js} +3 -13
- package/dist/{useNavigate-CS6GVlsD.js → useNavigate-zvBfNHhy.js} +31 -31
- package/dist/{useOnboardingStatus-oruFcmoU.js → useOnboardingStatus-CdLObhIM.js} +1 -1
- package/dist/{usePciQuestionnaireList-fZAQhGHE.js → usePciQuestionnaireList-OjYY3MK9.js} +1 -1
- package/dist/{useSalesChannels-OTjD7AvM.js → useSalesChannels-BDg8_NCC.js} +4 -4
- package/dist/{useScenarios-DbL-SLEe.js → useScenarios-Bb-EhIep.js} +1 -1
- package/dist/{useTaskLandedEvent-DRh2mwkT.js → useTaskLandedEvent-DCdJo64z.js} +7 -4
- package/dist/{useTaskStatus-D9oe7TmS.js → useTaskStatus-DzJWcN_l.js} +1 -1
- package/dist/{useTermsOfServiceStatus-BhLq2F04.js → useTermsOfServiceStatus-Dh4huPkR.js} +1 -1
- package/dist/{useTrustMembers-0Lt-UzcW.js → useTrustMembers-BP6ygpU4.js} +2 -2
- package/dist/{useUnincorporatedPartnershipMembers-DSiXqPsq.js → useUnincorporatedPartnershipMembers-D7U6aM_k.js} +2 -2
- package/dist/useUpdateBusinessLines-BUFe2lBW.js +68 -0
- package/dist/{useUpdateLegalEntity-DRTfKn7b.js → useUpdateLegalEntity-CUs6TYPF.js} +3 -3
- package/dist/{utils-Dl8EphWM.js → utils-Cj9-IRaT.js} +4 -4
- package/dist/{utils-D-Q0r_Vl.js → utils-DGYoCUS5.js} +8 -8
- package/dist/{utils-tiEVWZZT.js → utils-eDM77TZ4.js} +2 -2
- package/dist/{validate-JrbinNti.js → validate-DTetUuT7.js} +7 -7
- package/dist/{validate-CgERdZGw.js → validate-DlG5LXuM.js} +5 -5
- package/dist/{validationResult-DRX7pADt.js → validationResult-BC9WLYOC.js} +30 -10
- package/package.json +3 -6
- package/dist/AdaptiveWorkflowComponent-D9N34dF0.js +0 -139
- package/dist/SourceOfFundsPage-DxaXzh7V.js +0 -60
- package/dist/StepProgressIndicator-DKFBYuqL.js +0 -80
- package/dist/TrustMemberCompanyPage-AXvozWC_.js +0 -107
- package/dist/en-US-BSmCJZi8.js +0 -7
- package/dist/en-US-CUEfBSiG.js +0 -7
- package/dist/types/components/Business/utils/submit.d.ts +0 -2
- package/dist/types/components/Shared/FormWrapper/FormWrapper.d.ts +0 -42
- package/dist/types/components/Trust/forms/Trust/Trust.d.ts +0 -22
- package/dist/types/components/Trust/forms/TrustRegistrationDetails/TrustRegistrationDetailsMultiform.d.ts +0 -2
- package/dist/types/components/Trust/tasks/TrustDropin/TrustMultiformDropin.d.ts +0 -2
- package/dist/types/components/Trust/tasks/TrustDropin/mandatoryFields.d.ts +0 -3
- package/dist/types/context/StateContext/hasDataChanged.d.ts +0 -1
- package/dist/types/hooks/useForm/utils.d.ts +0 -13
- package/dist/types/hooks/useMultiForm/utils.d.ts +0 -2
- package/dist/useGlobalData-aRC4QM86.js +0 -35
- package/dist/useIndustryCodes-Crgesd2a.js +0 -32
- /package/dist/{4-people-SZab5bZC.js → 4-people-Dt-FR2z_.js} +0 -0
- /package/dist/{AD-B4v-43Ap.js → AD-5Egi3flE.js} +0 -0
- /package/dist/{AE-b3m7z6me.js → AE-DJ-lRyPg.js} +0 -0
- /package/dist/{AI-D_-GNqa6.js → AI-ZfbxJFtE.js} +0 -0
- /package/dist/{AL-BPWCBQNR.js → AL-UBVZZlDX.js} +0 -0
- /package/dist/{AR-CGxxWzsN.js → AR-B9C4Nibz.js} +0 -0
- /package/dist/{AS-XZxJDtUJ.js → AS-CFb876zC.js} +0 -0
- /package/dist/{AT-BvxR1Iz_.js → AT-C8MN2Fns.js} +0 -0
- /package/dist/{AT-Csf6lyFc.js → AT-CJDibmrN.js} +0 -0
- /package/dist/{AT-pbE3G9Ul.js → AT-Do46gW4G.js} +0 -0
- /package/dist/{AT-AFRLhmLB.js → AT-DsogulXO.js} +0 -0
- /package/dist/{AU-CBt-fxbN.js → AU--MSKgcDY.js} +0 -0
- /package/dist/{AU-CYimB4bq.js → AU-CDh6E7PE.js} +0 -0
- /package/dist/{AU-Bpv5ZPEM.js → AU-DNxKMzJs.js} +0 -0
- /package/dist/{AU-BDkEmxae.js → AU-DfV_PeBe.js} +0 -0
- /package/dist/{AX-T_8XLolb.js → AX-DxAmGTy-.js} +0 -0
- /package/dist/{AZ-ByKpQrSi.js → AZ-DRkABvzg.js} +0 -0
- /package/dist/{BA-D7fqCTwA.js → BA-xlw8xj7W.js} +0 -0
- /package/dist/{BE-DRQ0TcTr.js → BE-8eQ7Am1Y.js} +0 -0
- /package/dist/{BE-O0KXVbUO.js → BE-BGioJIMA.js} +0 -0
- /package/dist/{BE-CGxdNQgF.js → BE-BQ4olBdk.js} +0 -0
- /package/dist/{BE-Cu-UKPfd.js → BE-yocZ_S-V.js} +0 -0
- /package/dist/{BG-D2tQlKCi.js → BG-AfIdXJGJ.js} +0 -0
- /package/dist/{BH-VX-wS-6J.js → BH-CKPBbT8v.js} +0 -0
- /package/dist/{BM-Dcg6BKFp.js → BM-DMmpYJ5S.js} +0 -0
- /package/dist/{BR-Cf_gqGwJ.js → BR-B8NzP1QV.js} +0 -0
- /package/dist/{BR-BTANz6tC.js → BR-CmwW2wlc.js} +0 -0
- /package/dist/{BR-DAhP0Mff.js → BR-D2pNPrYB.js} +0 -0
- /package/dist/{BR-DiM6r3d3.js → BR-Iin-FtVm.js} +0 -0
- /package/dist/{BS-y8WH6hYa.js → BS-h2g8V4eH.js} +0 -0
- /package/dist/{BV-BlBLlIp0.js → BV-Br568icW.js} +0 -0
- /package/dist/{BY-DEhOAvrz.js → BY-DNb6l2Rg.js} +0 -0
- /package/dist/{CA-Dd_WXQTf.js → CA-BT05x8jm.js} +0 -0
- /package/dist/{CA-BySaHXbC.js → CA-Cc0GuXLd.js} +0 -0
- /package/dist/{CA-x_fUsa-N.js → CA-DBQywpjY.js} +0 -0
- /package/dist/{CA-DVIbbSjV.js → CA-DJVSS-DB.js} +0 -0
- /package/dist/{CH-B8Jt-Q1e.js → CH-BL-4faPY.js} +0 -0
- /package/dist/{CH-DHs2NGOE.js → CH-Bd1miMrE.js} +0 -0
- /package/dist/{CH-DX5jltML.js → CH-C9Z3X6np.js} +0 -0
- /package/dist/{CH-CAo05OKK.js → CH-DFD2JLw3.js} +0 -0
- /package/dist/{CN-BRujs_qV.js → CN-5HinUnnB.js} +0 -0
- /package/dist/{CR-DPh6G3zK.js → CR-PaLZQtHA.js} +0 -0
- /package/dist/{CY-CKO9xxbw.js → CY-B85njNYI.js} +0 -0
- /package/dist/{CZ-CwE8XnBd.js → CZ-4dIb_N3l.js} +0 -0
- /package/dist/{CZ-DYwbj69z.js → CZ-BKdY5FmV.js} +0 -0
- /package/dist/{CZ-CSHXJ-ND.js → CZ-BbtlKoCl.js} +0 -0
- /package/dist/{CZ-Dyd9MP-Z.js → CZ-Dxmb6KsV.js} +0 -0
- /package/dist/{Card-D6AEqxyX.js → Card-DXdUqwyQ.js} +0 -0
- /package/dist/{DE-D0pbH3jR.js → DE--Q5XezyA.js} +0 -0
- /package/dist/{DE--8heH3r-.js → DE-DCHis7y4.js} +0 -0
- /package/dist/{DE-DbFSxaSV.js → DE-DQc4ncaM.js} +0 -0
- /package/dist/{DE-DPeNE2qj.js → DE-DmEk0oIa.js} +0 -0
- /package/dist/{DK-NLRINJlZ.js → DK-BjD2emK5.js} +0 -0
- /package/dist/{DK-CTGSjhvd.js → DK-Bt_PCcFy.js} +0 -0
- /package/dist/{DK-9s1g6t3b.js → DK-CdG4hfv7.js} +0 -0
- /package/dist/{DK-CEv1aIDh.js → DK-DAzVnb1J.js} +0 -0
- /package/dist/{DO-CuZ7K2cN.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-DFcR2lhq.js → EC-D6uEW2wn.js} +0 -0
- /package/dist/{EE-C1fW2hfA.js → EE-W5m__hus.js} +0 -0
- /package/dist/{ES-zPk2PpWm.js → ES-BdmgiBzc.js} +0 -0
- /package/dist/{ES-CyVc_Fyu.js → ES-BwwPYP5y.js} +0 -0
- /package/dist/{ES-B_h5ly6Q.js → ES-DjYy5Dao.js} +0 -0
- /package/dist/{ES-CYa_ZfEG.js → ES-_cqCzBUa.js} +0 -0
- /package/dist/{FI-CQnYmLQw.js → FI-5ySk5gAz.js} +0 -0
- /package/dist/{FI-C2OSncbe.js → FI-DwaCO8nT.js} +0 -0
- /package/dist/{FI-BE1I07ck.js → FI-VPvgt4LP.js} +0 -0
- /package/dist/{FI-CJZ2vp4N.js → FI-Z0tGRjwl.js} +0 -0
- /package/dist/{FJ-CIWAFGXD.js → FJ-CBPM7BcM.js} +0 -0
- /package/dist/{FO-Bms71Vtf.js → FO-CSvRPbA1.js} +0 -0
- /package/dist/{FR-lbYvlB1t.js → FR-B876n3-B.js} +0 -0
- /package/dist/{FR-9i_27oiR.js → FR-CBB06Fnq.js} +0 -0
- /package/dist/{FR-DUbwpNfB.js → FR-RdDRKklk.js} +0 -0
- /package/dist/{FR-DdSnQnq5.js → FR-bMNYTLCL.js} +0 -0
- /package/dist/{GB-DHheD6hv.js → GB--UVnRIRj.js} +0 -0
- /package/dist/{GB-BjT_JVZ1.js → GB-Bxb4fPxG.js} +0 -0
- /package/dist/{GB-CHfLpY5w.js → GB-FU65v6fQ.js} +0 -0
- /package/dist/{GB-Cyy6TeCq.js → GB-IJ-Iz5qv.js} +0 -0
- /package/dist/{GE-Y2WObnwt.js → GE-xaMHflrU.js} +0 -0
- /package/dist/{GF-CiQ7IgiD.js → GF-CrDxyG5C.js} +0 -0
- /package/dist/{GG-DGsk8Xj1.js → GG-DEqoBorh.js} +0 -0
- /package/dist/{GI-CN5Pyce3.js → GI-Turkle4q.js} +0 -0
- /package/dist/{GL-k4LPOPLl.js → GL-BnDhUcrF.js} +0 -0
- /package/dist/{GP-Dp3nrs5L.js → GP-Dp65xTqP.js} +0 -0
- /package/dist/{GR-DKV4z-H7.js → GR-3L3XhlH2.js} +0 -0
- /package/dist/{GT-BVcNhK9c.js → GT-BhKx5dln.js} +0 -0
- /package/dist/{GU-CzCbk7ZW.js → GU-Bgc9EY1W.js} +0 -0
- /package/dist/{HK-BumWyx6N.js → HK-BmygOotV.js} +0 -0
- /package/dist/{HK-DPYgCwFU.js → HK-DClfjKdQ.js} +0 -0
- /package/dist/{HK-Ded8X2cQ.js → HK-DUMxc2EI.js} +0 -0
- /package/dist/{HK-CDjvrfL5.js → HK-kFldIGd7.js} +0 -0
- /package/dist/{HR-CDL2upYg.js → HR-BZ1pGUfO.js} +0 -0
- /package/dist/{HR-ComrKvH-.js → HR-BquBLtSA.js} +0 -0
- /package/dist/{HR-C9vK8UAe.js → HR-C57WjbJ_.js} +0 -0
- /package/dist/{HR-DDwuHg3Y.js → HR-CmnsEDnL.js} +0 -0
- /package/dist/{HU-DMjXPNae.js → HU-3HXta-l8.js} +0 -0
- /package/dist/{HU-Kn_Kl9FO.js → HU-BPcrEuPH.js} +0 -0
- /package/dist/{HU-BLXlCHcy.js → HU-CErZJI70.js} +0 -0
- /package/dist/{HU-C1mpfFHW.js → HU-DnRWaWkm.js} +0 -0
- /package/dist/{ID-CXqtM7X5.js → ID-BpqDcVc4.js} +0 -0
- /package/dist/{IE-DHXMOliC.js → IE-CZOtplG-.js} +0 -0
- /package/dist/{IE-BJXJz0RJ.js → IE-auhNSIUT.js} +0 -0
- /package/dist/{IE-AlbkFaXO.js → IE-dduN0_TO.js} +0 -0
- /package/dist/{IE-BmpNxdmV.js → IE-nHDHO00_.js} +0 -0
- /package/dist/{IL-C0bxtNjS.js → IL-C0zsRw_j.js} +0 -0
- /package/dist/{IM-C5rNKqvv.js → IM-DimZdCV2.js} +0 -0
- /package/dist/{IN-BAvQsUAU.js → IN-drNlZVBZ.js} +0 -0
- /package/dist/{IS-B6Yn9eSH.js → IS-BdfP-REC.js} +0 -0
- /package/dist/{IT-BYHXa4vh.js → IT-BCxMd7Y7.js} +0 -0
- /package/dist/{IT-DD4yJb-6.js → IT-CNf1MrI-.js} +0 -0
- /package/dist/{IT-ET6F_AgD.js → IT-DF6ZO-i8.js} +0 -0
- /package/dist/{IT-AfYXLDEG.js → IT-Dc9lHBRw.js} +0 -0
- /package/dist/{JE-sp4ry-hx.js → JE-BBO3NuzB.js} +0 -0
- /package/dist/{JM-GSsBtt5a.js → JM-BzHoUe13.js} +0 -0
- /package/dist/{JO-BU76czzv.js → JO-fffBmbX2.js} +0 -0
- /package/dist/{JP-D6IS_rvj.js → JP-Dv9kCG6P.js} +0 -0
- /package/dist/{KR-DVUYTC8K.js → KR-K1u4NuUE.js} +0 -0
- /package/dist/{KW-C7-3IrIz.js → KW-DBYFEC0m.js} +0 -0
- /package/dist/{KY-DgJSObnG.js → KY-DvnPgYGT.js} +0 -0
- /package/dist/{KZ-Dk155zM6.js → KZ-DX8lqaut.js} +0 -0
- /package/dist/{LB-7TRz7zMI.js → LB-DuXl_nIj.js} +0 -0
- /package/dist/{LI-Doxn7L4r.js → LI-BcYzGJ7k.js} +0 -0
- /package/dist/{LT-Dp3KSk7b.js → LT-BYZkkL9O.js} +0 -0
- /package/dist/{LT-CpH4ee-E.js → LT-BfApaHFI.js} +0 -0
- /package/dist/{LT-DIpZI35p.js → LT-ZF-q0fXm.js} +0 -0
- /package/dist/{LT-CFodj-wb.js → LT-rnUOqZje.js} +0 -0
- /package/dist/{LU-C3A8EHVw.js → LU-xxaAcEvQ.js} +0 -0
- /package/dist/{LV-BmvslN2P.js → LV-BdlQTl8C.js} +0 -0
- /package/dist/{MC-B7nbknm0.js → MC-CaqkAF9O.js} +0 -0
- /package/dist/{MD-CZCZH4rS.js → MD-DPht_MRT.js} +0 -0
- /package/dist/{ME-DFPDlB9D.js → ME-Dc5I5KtD.js} +0 -0
- /package/dist/{MK-HL2HcHvm.js → MK-Bn1G050Q.js} +0 -0
- /package/dist/{MP-CTrU_3S9.js → MP-WG5-be9t.js} +0 -0
- /package/dist/{MQ-CCSPfao0.js → MQ-BX_woiN5.js} +0 -0
- /package/dist/{MR-DpFb8aSO.js → MR-B4o-Woej.js} +0 -0
- /package/dist/{MT-4FSKgfO2.js → MT-BitdMyNy.js} +0 -0
- /package/dist/{MU-cnngZ47H.js → MU-5mV1nkVk.js} +0 -0
- /package/dist/{MX-C0EpOdvk.js → MX-BV0FI9pL.js} +0 -0
- /package/dist/{MY-Cz-trxNc.js → MY-BovUrLi6.js} +0 -0
- /package/dist/{NC--4xUffVB.js → NC--rMtvPxR.js} +0 -0
- /package/dist/{NL-DwTBi6jv.js → NL-BA3EKW3x.js} +0 -0
- /package/dist/{NL-D3I3JkrY.js → NL-D3keMKVJ.js} +0 -0
- /package/dist/{NL-BuVrU_aK.js → NL-DpEm6S8e.js} +0 -0
- /package/dist/{NL-DNRrWXCJ.js → NL-Dt1MHEvX.js} +0 -0
- /package/dist/{NO-DW_FoEcm.js → NO-BRw0ivbK.js} +0 -0
- /package/dist/{NO-dbzMcJdx.js → NO-Dst-DnZ8.js} +0 -0
- /package/dist/{NO-buXaAJmn.js → NO-VE7Sc2IM.js} +0 -0
- /package/dist/{NO-BX-Y50xR.js → NO-ltxTSAKY.js} +0 -0
- /package/dist/{NZ-wB3N-s59.js → NZ-CJ_5Z1en.js} +0 -0
- /package/dist/{NZ-CzEyJFz4.js → NZ-SQBwX6Hq.js} +0 -0
- /package/dist/{PE-Chu8fy3G.js → PE-CcE7NUNY.js} +0 -0
- /package/dist/{PF-Di5VwN72.js → PF-CTHFNBfG.js} +0 -0
- /package/dist/{PH-E6sEyxBh.js → PH-BJvKdyQF.js} +0 -0
- /package/dist/{PK-BvWHvaQk.js → PK-CmxTai7F.js} +0 -0
- /package/dist/{PL-B_38q-iZ.js → PL-BK2Asw5F.js} +0 -0
- /package/dist/{PL-B-s8Qwyy.js → PL-BT907618.js} +0 -0
- /package/dist/{PL-B7wxrS4V.js → PL-Byz7Yqkt.js} +0 -0
- /package/dist/{PL-D07GqkuU.js → PL-Cgkoario.js} +0 -0
- /package/dist/{PM-Di-xP0_7.js → PM-CPOzzt0L.js} +0 -0
- /package/dist/{PR-DumuwvSI.js → PR-squ319V4.js} +0 -0
- /package/dist/{PS-C-hihzHK.js → PS-CspEbZTU.js} +0 -0
- /package/dist/{PT-0MffpUhW.js → PT-CT-kaH57.js} +0 -0
- /package/dist/{PT-CZ2uqWMY.js → PT-CiRGWIB7.js} +0 -0
- /package/dist/{PT-CIMWGThm.js → PT-DAsEx6OE.js} +0 -0
- /package/dist/{PT-kjf0wRFR.js → PT-LXjJtHn5.js} +0 -0
- /package/dist/{QA-DlioCLw3.js → QA-DaZHmHWd.js} +0 -0
- /package/dist/{RE-DSHkxrcL.js → RE-BFKWl5y_.js} +0 -0
- /package/dist/{RO-QC_DImMG.js → RO-3wOpNneM.js} +0 -0
- /package/dist/{RO-wQapTONA.js → RO-Bb4UTT5B.js} +0 -0
- /package/dist/{RO-CEFj0iik.js → RO-BcDEEGjk.js} +0 -0
- /package/dist/{RO-DNPa4zqC.js → RO-CRDVNzfL.js} +0 -0
- /package/dist/{RS-Bgc1ajo3.js → RS-DOGs6suo.js} +0 -0
- /package/dist/{RU-CZW33Uf7.js → RU-wf84MwTX.js} +0 -0
- /package/dist/{SA-C4pkk-8p.js → SA-B1u_XGB9.js} +0 -0
- /package/dist/{SE-DAB1Np1D.js → SE-2WATmHl2.js} +0 -0
- /package/dist/{SE-CFyFKvS8.js → SE-B48cKLIu.js} +0 -0
- /package/dist/{SE-CN6YABVC.js → SE-DTxNlT0w.js} +0 -0
- /package/dist/{SE-BTiiTdkS.js → SE-Dv7OpBmo.js} +0 -0
- /package/dist/{SG-df3tZ-gB.js → SG-A2_cs4kd.js} +0 -0
- /package/dist/{SG-C0GvvOLi.js → SG-BZ-kyKVN.js} +0 -0
- /package/dist/{SG-Dy2lAEvH.js → SG-CdsmZcfV.js} +0 -0
- /package/dist/{SG-DdsNPMsV.js → SG-pPmF2os4.js} +0 -0
- /package/dist/{SI-JEm3tlcj.js → SI-BVTXwA8C.js} +0 -0
- /package/dist/{SI-Df4xeb6u.js → SI-DjUddZcZ.js} +0 -0
- /package/dist/{SI-CAYlOj7T.js → SI-DrX769GG.js} +0 -0
- /package/dist/{SI-DanbS684.js → SI-T8ly14Dn.js} +0 -0
- /package/dist/{SJ-BrOhzqXi.js → SJ-DO3zbL0P.js} +0 -0
- /package/dist/{SK-wMT6jpZ8.js → SK-BFZnw1-d.js} +0 -0
- /package/dist/{SK-CwI-INZc.js → SK-Dq7sWtiL.js} +0 -0
- /package/dist/{SK-D_0CKLTv.js → SK-DzGTyI5h.js} +0 -0
- /package/dist/{SK-0TYcvffK.js → SK-vJT5Dj16.js} +0 -0
- /package/dist/{SM-ChU7k--L.js → SM-B4SkkvKD.js} +0 -0
- /package/dist/{TF-Cu7yI7B3.js → TF-CIVHsoB9.js} +0 -0
- /package/dist/{TH-D4iNUxRy.js → TH-8huuj2v6.js} +0 -0
- /package/dist/{TL-CJ7qNPK2.js → TL-Bik3Eb-u.js} +0 -0
- /package/dist/{TN-BY01c8-i.js → TN-ClhiegdZ.js} +0 -0
- /package/dist/{TR-CTP9yjUu.js → TR-xyusRa6k.js} +0 -0
- /package/dist/{TT-Ddo3xCEU.js → TT-BsT9h8j3.js} +0 -0
- /package/dist/{TW-BBv-MANd.js → TW-Id3ypKK8.js} +0 -0
- /package/dist/{UA-Dj-lCF1w.js → UA-r0ZVcqym.js} +0 -0
- /package/dist/{US-CmPaFfRN.js → US-BKXr0nm-.js} +0 -0
- /package/dist/{US-DTDZal3b.js → US-C0BIY_Iy.js} +0 -0
- /package/dist/{US-BEiRo94O.js → US-Df7pLIkq.js} +0 -0
- /package/dist/{US-ChKi4xLg.js → US-_mFv0V8m.js} +0 -0
- /package/dist/{UY-D8C-zgAX.js → UY-BDWpl5Q2.js} +0 -0
- /package/dist/{VA-Cbe8L2vc.js → VA-CJnCCD0R.js} +0 -0
- /package/dist/{VG-CGgqxFkQ.js → VG-CODm52zD.js} +0 -0
- /package/dist/{VI-N9xYClLv.js → VI-B52L6yXT.js} +0 -0
- /package/dist/{VN-2meBTu5h.js → VN-BsJ-vqrs.js} +0 -0
- /package/dist/{WF-DZ7H5WtW.js → WF-lhRl1Vg9.js} +0 -0
- /package/dist/{YT-CZ8rRJ_f.js → YT-CmziyGNY.js} +0 -0
- /package/dist/{ZA-D4f9aj96.js → ZA-CQNS6dil.js} +0 -0
- /package/dist/{accountHolderUtils-DvIn173h.js → accountHolderUtils-AnlUAp6W.js} +0 -0
- /package/dist/{arrow-right-D1P_ACmM.js → arrow-right-BX_EVrJJ.js} +0 -0
- /package/dist/{bag-eBOozKX6.js → bag-CndvM5sq.js} +0 -0
- /package/dist/{bank-_5sLLQIa.js → bank-BGTRk0kq.js} +0 -0
- /package/dist/{bg-BG-btRqFVMe2.js → bg-BG-B9ABjZUx2.js} +0 -0
- /package/dist/{bg-BG-DJ46No6N.js → bg-BG-BNqOiDw9.js} +0 -0
- /package/dist/{bg-BG-Cn42s8ED.js → bg-BG-C12I_ehJ.js} +0 -0
- /package/dist/{bg-BG-BgJCNsee.js → bg-BG-CCGIvlIM.js} +0 -0
- /package/dist/{bg-BG-KpBfkvy1.js → bg-BG-CS6SQDE2.js} +0 -0
- /package/dist/{bg-BG-BIkTVioi.js → bg-BG-CogcfR3g.js} +0 -0
- /package/dist/{bg-BG-vAub4zIc.js → bg-BG-Cxa0jcnA.js} +0 -0
- /package/dist/{bg-BG-Dn0tqTVI.js → bg-BG-D3gXF-6w2.js} +0 -0
- /package/dist/{bg-BG-BgX-vGHz.js → bg-BG-IjNKw0Zu.js} +0 -0
- /package/dist/{bg-BG-Cw3ZrXQv.js → bg-BG-NwL6SZRu.js} +0 -0
- /package/dist/{bg-BG-BjMl9DEM.js → bg-BG-QlxmGEZL.js} +0 -0
- /package/dist/{bg-BG-C3NryQAO.js → bg-BG-RNEFZxOh.js} +0 -0
- /package/dist/{bg-BG-BCRFBMdN.js → bg-BG-YZ34LkMd.js} +0 -0
- /package/dist/{bg-BG-Cgs91nrW.js → bg-BG-mf-xq3ph.js} +0 -0
- /package/dist/{bin-B6qVgmU-.js → bin-ClI1Lmer.js} +0 -0
- /package/dist/{business-lines-DJ3U-j22.js → business-lines-hXwJAfy8.js} +0 -0
- /package/dist/{capital-CjnmOh10.js → capital-CvyQlkxY.js} +0 -0
- /package/dist/{cash-stack-DeYanKdE.js → cash-stack-Dh8uZSza.js} +0 -0
- /package/dist/{certificate-BClMRSy8.js → certificate-BNwGY179.js} +0 -0
- /package/dist/{checkmark-circle-D9r5L0tU.js → checkmark-circle-B0j0Vtwo.js} +0 -0
- /package/dist/{checkmark-circle-fill-ytXXg_Aq.js → checkmark-circle-fill-LpAoa38W.js} +0 -0
- /package/dist/{checkmark-DKEwGZpb.js → checkmark-hciVXXIH.js} +0 -0
- /package/dist/{checkmark-small-DFWByGEe.js → checkmark-small-CBLKuuZ1.js} +0 -0
- /package/dist/{chevron-down-mSZQHCYH.js → chevron-down-aTrA5UpL.js} +0 -0
- /package/dist/{chevron-left-Ed6YO1io.js → chevron-left-BVdVNPiJ.js} +0 -0
- /package/dist/{chevron-right-QUEoSVq0.js → chevron-right-Drp9nZ4h.js} +0 -0
- /package/dist/{chevron-up-C2qRbRXm.js → chevron-up-BG9Ldgsu.js} +0 -0
- /package/dist/{circle-CWHpyKaz.js → circle-C-iPmuCY.js} +0 -0
- /package/dist/{circle-small-filled-D-62qVQL.js → circle-small-filled-C-Nh6xHY.js} +0 -0
- /package/dist/{clock-BcuKmme_.js → clock-CpMm35NB.js} +0 -0
- /package/dist/{coins-DwxrW75e.js → coins-D2tNyEW3.js} +0 -0
- /package/dist/{company-types-value-B-1b0hXg.js → company-types-value-B-nraMaa.js} +0 -0
- /package/dist/{contract-C7y_6_2w.js → contract-Cg3T6neC.js} +0 -0
- /package/dist/{cross-BCsyGXyH.js → cross-DLi9h_Eg.js} +0 -0
- /package/dist/{cross-circle-fill-CmkV2Ldv.js → cross-circle-fill-dRHPWc-i.js} +0 -0
- /package/dist/{cross-circle-fill-small-BKu-0QqK.js → cross-circle-fill-small-WqgBPXhH.js} +0 -0
- /package/dist/{cs-CZ-BYarQR_4.js → cs-CZ-B6AZX4nL.js} +0 -0
- /package/dist/{cs-CZ-4cMMVyUK.js → cs-CZ-BObx8NMb.js} +0 -0
- /package/dist/{cs-CZ-Dq4seXOc.js → cs-CZ-BZkot6xs.js} +0 -0
- /package/dist/{cs-CZ-Rpb3AOvN.js → cs-CZ-B_nYIuIi.js} +0 -0
- /package/dist/{cs-CZ-DnM_xSV7.js → cs-CZ-Bl8qBkx4.js} +0 -0
- /package/dist/{cs-CZ-BkHOFB-L.js → cs-CZ-Bx41zbEp.js} +0 -0
- /package/dist/{cs-CZ-BPTgf96s.js → cs-CZ-C-nfIYKA.js} +0 -0
- /package/dist/{cs-CZ-lV9S8K7n.js → cs-CZ-C7QmQ2LT2.js} +0 -0
- /package/dist/{cs-CZ-DPosZ9-8.js → cs-CZ-CWM5oj6Q.js} +0 -0
- /package/dist/{cs-CZ-DKmSDfhr2.js → cs-CZ-D6VNEZ622.js} +0 -0
- /package/dist/{cs-CZ-vgKTlR1z.js → cs-CZ-D73bqvvS.js} +0 -0
- /package/dist/{cs-CZ-D5_YAYVg.js → cs-CZ-DNvBXQqI.js} +0 -0
- /package/dist/{cs-CZ-oU-kNBU2.js → cs-CZ-MU9Ub24D.js} +0 -0
- /package/dist/{cs-CZ-CZo9iZsN.js → cs-CZ-TiWySd9u.js} +0 -0
- /package/dist/{da-DK-Bvg3t3Ce.js → da-DK-8DN_uCKw.js} +0 -0
- /package/dist/{da-DK-CGuTtlyo.js → da-DK-B8aHvZ1W.js} +0 -0
- /package/dist/{da-DK-D_1AIXhg.js → da-DK-BDachfZH.js} +0 -0
- /package/dist/{da-DK-Cnz8wZXp.js → da-DK-BOU9aCaN.js} +0 -0
- /package/dist/{da-DK-BNHC-gPL.js → da-DK-Bc6oX5Ct.js} +0 -0
- /package/dist/{da-DK-w-lEQEMA.js → da-DK-CBt4gQjw.js} +0 -0
- /package/dist/{da-DK-C5O2zcgl2.js → da-DK-CcLM8SA22.js} +0 -0
- /package/dist/{da-DK-g-ryAd2z.js → da-DK-Cx-Ux0WK.js} +0 -0
- /package/dist/{da-DK-CNl_X15-.js → da-DK-CxoaLz6P.js} +0 -0
- /package/dist/{da-DK-UK3iDZ26.js → da-DK-DAHcK0Md2.js} +0 -0
- /package/dist/{da-DK-BcNEuMB3.js → da-DK-DO88W3qD.js} +0 -0
- /package/dist/{da-DK-Dh33HOqP.js → da-DK-DtPE4OIu.js} +0 -0
- /package/dist/{da-DK-BOx3zYLG.js → da-DK-LXurZBZ8.js} +0 -0
- /package/dist/{da-DK-C4z8kUof.js → da-DK-dLxEveOJ.js} +0 -0
- /package/dist/{de-DE-Cqi8n51b.js → de-DE-B8D6bV3u.js} +0 -0
- /package/dist/{de-DE-DAo_nTI4.js → de-DE-BxL8NQIq.js} +0 -0
- /package/dist/{de-DE-KCkRlfzN.js → de-DE-C7Au1j2A.js} +0 -0
- /package/dist/{de-DE-DHhMB5N8.js → de-DE-CKOOKYoC.js} +0 -0
- /package/dist/{de-DE-DMKx8nHS.js → de-DE-Cbpj1g3M.js} +0 -0
- /package/dist/{de-DE-DPN4ZRxJ.js → de-DE-CnB43wjo.js} +0 -0
- /package/dist/{de-DE-CIw-naON.js → de-DE-D8Is4iJk.js} +0 -0
- /package/dist/{de-DE-DVds_YZ0.js → de-DE-DUlvIvvj2.js} +0 -0
- /package/dist/{de-DE-D_NMtALT.js → de-DE-DstHFxVG.js} +0 -0
- /package/dist/{de-DE-D4eA2jbQ.js → de-DE-DzLYNbSo.js} +0 -0
- /package/dist/{de-DE-BuU5FaaX.js → de-DE-JZBqb8ce.js} +0 -0
- /package/dist/{de-DE-BNm7vLmQ.js → de-DE-YX6rtv17.js} +0 -0
- /package/dist/{de-DE-Ct0IHlvC.js → de-DE-apC2os2u.js} +0 -0
- /package/dist/{de-DE-_Zy-z5q4.js → de-DE-cPL-uSMG.js} +0 -0
- /package/dist/{de-DE-i8pSkpmP2.js → de-DE-reMh5NmX2.js} +0 -0
- /package/dist/{decision-makers-group-DNQE2XIY.js → decision-makers-group-CkP3dlRO.js} +0 -0
- /package/dist/{digital-wallet-BT81cWhN.js → digital-wallet-s7FKhVg9.js} +0 -0
- /package/dist/{document-1-CevwIxLZ.js → document-1-CSg2AOQy.js} +0 -0
- /package/dist/{document-blurred-D5nH8Cpz.js → document-blurred-DHgG-aQ6.js} +0 -0
- /package/dist/{document-cut-off-3JM-ja_Y.js → document-cut-off-DCf-G-0l.js} +0 -0
- /package/dist/{document-expired-BJFrm-hB.js → document-expired-UJMQKi88.js} +0 -0
- /package/dist/{document-front-Dqp6mlCm.js → document-front-DLpxfBfu.js} +0 -0
- /package/dist/{document-person-DNzQ9WWk.js → document-person-BhXXvTMH.js} +0 -0
- /package/dist/{download-aeBfmwlw.js → download-Cvkkn96A.js} +0 -0
- /package/dist/{edit-1-2IiLCdya.js → edit-1-CIdEs1t-.js} +0 -0
- /package/dist/{el-GR-CLN_gdp2.js → el-GR-BDXwftjw.js} +0 -0
- /package/dist/{el-GR-BCjHD7dh.js → el-GR-BRFvZNGC.js} +0 -0
- /package/dist/{el-GR-DYTCYZW8.js → el-GR-BZ9AJNm4.js} +0 -0
- /package/dist/{el-GR-KENT1e5S.js → el-GR-Be15a5W8.js} +0 -0
- /package/dist/{el-GR-BzLqlml_.js → el-GR-C6MVbJAv.js} +0 -0
- /package/dist/{el-GR-DZpiUKzL.js → el-GR-C8jFvyDg.js} +0 -0
- /package/dist/{el-GR-D2r2KrJ_.js → el-GR-CiverXpL.js} +0 -0
- /package/dist/{el-GR-nnT_M1mA.js → el-GR-CoPH23Qe.js} +0 -0
- /package/dist/{el-GR-CvbViLND.js → el-GR-DJJbbbY3.js} +0 -0
- /package/dist/{el-GR-DlU3hAHc.js → el-GR-DfW8zYK4.js} +0 -0
- /package/dist/{el-GR-Dd3q2eH-.js → el-GR-DvIXL8AR.js} +0 -0
- /package/dist/{el-GR-hTgq4-kH.js → el-GR-Dw8xMzqe.js} +0 -0
- /package/dist/{el-GR-CyyU6neG2.js → el-GR-gJ0IppFC2.js} +0 -0
- /package/dist/{el-GR-DABuUMlD.js → el-GR-hquqlbpg2.js} +0 -0
- /package/dist/{el-GR-Doj_-Djf.js → el-GR-mGnv3b-O.js} +0 -0
- /package/dist/{en-US-BylkAPDZ.js → en-US-B3wlE1pH.js} +0 -0
- /package/dist/{en-US-Dqcdhhj5.js → en-US-BLuFDCyp2.js} +0 -0
- /package/dist/{en-US-7x9WfE8P.js → en-US-C0SrG99u.js} +0 -0
- /package/dist/{en-US-CeETXOz9.js → en-US-CDb7bSvb.js} +0 -0
- /package/dist/{en-US-BenfQEYh.js → en-US-CO9Ct3Xx.js} +0 -0
- /package/dist/{en-US-ChvTGN2w.js → en-US-CUsu9qhV.js} +0 -0
- /package/dist/{en-US-DNFwdFxH.js → en-US-Cd8cLmVX.js} +0 -0
- /package/dist/{en-US-BwHY49M7.js → en-US-CuX4Fzoo.js} +0 -0
- /package/dist/{en-US-D1wuPNbk.js → en-US-D1-68ZWE.js} +0 -0
- /package/dist/{en-US-BOPhKg222.js → en-US-DETk-gjx2.js} +0 -0
- /package/dist/{en-US-BTShGIk1.js → en-US-DHD_ENM1.js} +0 -0
- /package/dist/{en-US-CRYXLLAj.js → en-US-DrAjiabh.js} +0 -0
- /package/dist/{en-US-n-Tsgh0e.js → en-US-NaoNaTO0.js} +0 -0
- /package/dist/{en-US-BH8PR79X.js → en-US-RmklpZAK.js} +0 -0
- /package/dist/{en-US-C67Mfx3c.js → en-US-_D_BTN1a.js} +0 -0
- /package/dist/{en-US-CKjEBne7.js → en-US-_l9425V1.js} +0 -0
- /package/dist/{en-US-CSqgm1RX.js → en-US-aJtjsYKh.js} +0 -0
- /package/dist/{en-US.instructions-CnVaFMMP.js → en-US.instructions-CXa3foCe.js} +0 -0
- /package/dist/{en-US.instructions-Cub-lSSr.js → en-US.instructions-DlxMDbRu.js} +0 -0
- /package/dist/{es-ES-DbpcC4Pk.js → es-ES-0O9y1_Bc.js} +0 -0
- /package/dist/{es-ES-DMsiLgwI.js → es-ES-B2MIlPdM.js} +0 -0
- /package/dist/{es-ES-h4mhYuXg.js → es-ES-BAAL2h3R.js} +0 -0
- /package/dist/{es-ES-DjVZbW0p.js → es-ES-Bwhnseeu.js} +0 -0
- /package/dist/{es-ES-Bk34WDQK.js → es-ES-C19HaQVX.js} +0 -0
- /package/dist/{es-ES-DkQs7f3a.js → es-ES-CAuzNvPf.js} +0 -0
- /package/dist/{es-ES-CJBrrxjD.js → es-ES-D1BkDJkz.js} +0 -0
- /package/dist/{es-ES-LOsf2XmN.js → es-ES-D67pkLVu.js} +0 -0
- /package/dist/{es-ES-Cr98NmlL2.js → es-ES-D7pe0Z8H.js} +0 -0
- /package/dist/{es-ES-BX9rcu4V.js → es-ES-DFg_LlqD.js} +0 -0
- /package/dist/{es-ES-CdNDeDbI.js → es-ES-DnmrjEd02.js} +0 -0
- /package/dist/{es-ES-LoiFByKw.js → es-ES-FQbC3B0S.js} +0 -0
- /package/dist/{es-ES-D1bIU4xy2.js → es-ES-YXUkD4Em2.js} +0 -0
- /package/dist/{es-ES-4s40JuJD.js → es-ES-mdSA-CIT.js} +0 -0
- /package/dist/{es-ES-C-jgtmkz.js → es-ES-zeUfuQRw.js} +0 -0
- /package/dist/{et-EE-C5UZyawr.js → et-EE-30-8FeA2.js} +0 -0
- /package/dist/{et-EE-CImZ9NtG.js → et-EE-B4ZMHksf.js} +0 -0
- /package/dist/{et-EE-D8KE0-Lv.js → et-EE-BZ26f0MN.js} +0 -0
- /package/dist/{et-EE-Ck2Qo9Xh.js → et-EE-C4U93xrJ.js} +0 -0
- /package/dist/{et-EE-BBvLv38M.js → et-EE-CPdaJJkL.js} +0 -0
- /package/dist/{et-EE-5nJoc1h6.js → et-EE-DCEDrMl2.js} +0 -0
- /package/dist/{et-EE-B4RG1bnz.js → et-EE-DJWVyTVM.js} +0 -0
- /package/dist/{et-EE-CgHOvJ8K.js → et-EE-DXoF-AJ72.js} +0 -0
- /package/dist/{et-EE-Pr_cqPta2.js → et-EE-DZhr4TrQ2.js} +0 -0
- /package/dist/{et-EE-CxCDXhQa.js → et-EE-Dg93VJbx.js} +0 -0
- /package/dist/{et-EE-DSGEhAON.js → et-EE-DrQLDWH2.js} +0 -0
- /package/dist/{et-EE-B8WarQa72.js → et-EE-Dszx65le2.js} +0 -0
- /package/dist/{et-EE-CbG77ZtU.js → et-EE-Lw-rTsG-.js} +0 -0
- /package/dist/{et-EE-BSf6W5sv.js → et-EE-M5V-MgVM.js} +0 -0
- /package/dist/{external-link-Bt75Nd72.js → external-link-BNgSBwiX.js} +0 -0
- /package/dist/{fi-FI-BSL7mtqa.js → fi-FI-BNtrKnDN.js} +0 -0
- /package/dist/{fi-FI-D3feK4ov.js → fi-FI-Ba0VbJdZ.js} +0 -0
- /package/dist/{fi-FI-DtUuY1m9.js → fi-FI-BrmYMDbY.js} +0 -0
- /package/dist/{fi-FI-DASMfAtA2.js → fi-FI-C8sI9IhQ2.js} +0 -0
- /package/dist/{fi-FI-Br7qSB07.js → fi-FI-CeJPt0gg.js} +0 -0
- /package/dist/{fi-FI-P5PcSNPM.js → fi-FI-CqM2eaKi.js} +0 -0
- /package/dist/{fi-FI-Da6ZOHo2.js → fi-FI-DIKQFczn2.js} +0 -0
- /package/dist/{fi-FI-Bvj6WBy5.js → fi-FI-DZ5-w9vt.js} +0 -0
- /package/dist/{fi-FI-DRdua2XX.js → fi-FI-DZyEs_5S.js} +0 -0
- /package/dist/{fi-FI-zID9dYl9.js → fi-FI-IwaR92iX.js} +0 -0
- /package/dist/{fi-FI-qDEhCsl8.js → fi-FI-TDF0ZiiC.js} +0 -0
- /package/dist/{fi-FI-zb5UvAn22.js → fi-FI-UJLb8Vk42.js} +0 -0
- /package/dist/{fi-FI-bVNASQAh.js → fi-FI-koFpyMaq.js} +0 -0
- /package/dist/{fi-FI-DtJ34CBS.js → fi-FI-wRYER_Hf.js} +0 -0
- /package/dist/{file-4YWG8UiB.js → file-C9ni6Xpv.js} +0 -0
- /package/dist/{filterProblemsByTaskForms-DGjmBtpp.js → filterProblemsByTaskForms-CrTqhWJT.js} +0 -0
- /package/dist/{fr-FR-DsvBq5e5.js → fr-FR-B0eVVc8V.js} +0 -0
- /package/dist/{fr-FR-CrJ4Tjwh2.js → fr-FR-B6Moi9NF2.js} +0 -0
- /package/dist/{fr-FR-DcMfI54R.js → fr-FR-BshpJ5Y8.js} +0 -0
- /package/dist/{fr-FR-Dfbv3Ud_2.js → fr-FR-BvOYNtjw2.js} +0 -0
- /package/dist/{fr-FR-v9tUhcmw.js → fr-FR-CYRsfbyW.js} +0 -0
- /package/dist/{fr-FR-B1sWTOMH.js → fr-FR-CqvZpq5B.js} +0 -0
- /package/dist/{fr-FR-CnndF_a2.js → fr-FR-CsoVB-yq.js} +0 -0
- /package/dist/{fr-FR-BODewyfj.js → fr-FR-D96p0pnI2.js} +0 -0
- /package/dist/{fr-FR-BVJaoxxo.js → fr-FR-DEdpJMql.js} +0 -0
- /package/dist/{fr-FR-CXjcXPH0.js → fr-FR-DY7D-hmZ.js} +0 -0
- /package/dist/{fr-FR-C9DS3fSZ.js → fr-FR-DYDmBWWT.js} +0 -0
- /package/dist/{fr-FR-Bmbn0mFG.js → fr-FR-Duc4nlp1.js} +0 -0
- /package/dist/{fr-FR-DbUt7Bts.js → fr-FR-DwYX21r1.js} +0 -0
- /package/dist/{fr-FR-M0FLGM4h.js → fr-FR-fwcu0Hmd.js} +0 -0
- /package/dist/{fr-FR-B5400vo2.js → fr-FR-lfoSPY0e.js} +0 -0
- /package/dist/{funds-in-DCcdGPiR.js → funds-in-CZ06mMrK.js} +0 -0
- /package/dist/{getTrustedDecisionMakers-DXR7mrNp.js → getTrustedDecisionMakers-BjGAWMyl.js} +0 -0
- /package/dist/{gift-BK55Hko7.js → gift-I5WhHXnm.js} +0 -0
- /package/dist/{graph-up-C1vPoIdt.js → graph-up-CN2EGjwJ.js} +0 -0
- /package/dist/{graph-BOW6338R.js → graph-yoQEgV-z.js} +0 -0
- /package/dist/{graphical-laptop-IcsBkW2W.js → graphical-laptop-BI3ea4L0.js} +0 -0
- /package/dist/{headquarter-BdrfR7tT.js → headquarter-BPCK7l9Y.js} +0 -0
- /package/dist/{hotel-CBwpfIGW.js → hotel-BncnkQ-E.js} +0 -0
- /package/dist/{house-BZMr_GX8.js → house-RVNoSmhG.js} +0 -0
- /package/dist/{hr-HR-CPXzFhzM2.js → hr-HR-BZ31wjf92.js} +0 -0
- /package/dist/{hr-HR-BOdu5xeF.js → hr-HR-CFAySNqh.js} +0 -0
- /package/dist/{hr-HR-Dl7_381r.js → hr-HR-CMgsuYh2.js} +0 -0
- /package/dist/{hr-HR-BAhsKdQs.js → hr-HR-CN-cMu-7.js} +0 -0
- /package/dist/{hr-HR-DKy9PZKO.js → hr-HR-C_7O4gxx.js} +0 -0
- /package/dist/{hr-HR-CuKgg8Sl.js → hr-HR-CludxABG.js} +0 -0
- /package/dist/{hr-HR-Dj_pWivo.js → hr-HR-D6jMCNOJ.js} +0 -0
- /package/dist/{hr-HR-h-WKrJn0.js → hr-HR-DNuly_NE2.js} +0 -0
- /package/dist/{hr-HR-Dh2PuaFC.js → hr-HR-DTIXBOS5.js} +0 -0
- /package/dist/{hr-HR-DFB3XHKd.js → hr-HR-D_X-RNUl.js} +0 -0
- /package/dist/{hr-HR-DbX7zkBw.js → hr-HR-DbebVQF9.js} +0 -0
- /package/dist/{hr-HR-DY_8cUfB.js → hr-HR-DpQuBztk.js} +0 -0
- /package/dist/{hr-HR-Dy_K_hq6.js → hr-HR-dL_cUkZa.js} +0 -0
- /package/dist/{hr-HR-BBbbW7IH2.js → hr-HR-eX7nJfwF2.js} +0 -0
- /package/dist/{hu-HU-DGfit8KV.js → hu-HU-3FpAw9b1.js} +0 -0
- /package/dist/{hu-HU-C7x47Wao.js → hu-HU-BED5SDWE.js} +0 -0
- /package/dist/{hu-HU-DOE4u9yh.js → hu-HU-BesI_nyc.js} +0 -0
- /package/dist/{hu-HU-D-Vhu01C2.js → hu-HU-BgRcKhFU2.js} +0 -0
- /package/dist/{hu-HU-Dgn7T-GR.js → hu-HU-C0Y9wmOY.js} +0 -0
- /package/dist/{hu-HU-DxHGB0Ju2.js → hu-HU-Cy7itqJL2.js} +0 -0
- /package/dist/{hu-HU-DGiq6gat.js → hu-HU-Cy8F1a5a.js} +0 -0
- /package/dist/{hu-HU-B2gV55V0.js → hu-HU-DIgxSbaT.js} +0 -0
- /package/dist/{hu-HU-CRFetrGx.js → hu-HU-DORWpwoE.js} +0 -0
- /package/dist/{hu-HU-CXnOVAXu.js → hu-HU-DXHf3uuK.js} +0 -0
- /package/dist/{hu-HU-Dls4Z_Na.js → hu-HU-ReTWA1v3.js} +0 -0
- /package/dist/{hu-HU-iux2GMUL.js → hu-HU-UzZvIK5j.js} +0 -0
- /package/dist/{hu-HU-DpW6BNyh.js → hu-HU-e9KN8lp6.js} +0 -0
- /package/dist/{hu-HU-CILULoOW.js → hu-HU-gRTFw9Qg.js} +0 -0
- /package/dist/{id-blurred-Ci8oSqVA.js → id-blurred-BdqQKk1l.js} +0 -0
- /package/dist/{id-cut-off-BbzYZOfc.js → id-cut-off-BlpfXo5W.js} +0 -0
- /package/dist/{id-front-DlY__PSN.js → id-front-Bqd59AfN.js} +0 -0
- /package/dist/{id-glare-D4T5f3O3.js → id-glare-7GGletdB.js} +0 -0
- /package/dist/{image-DtyMUzrF.js → image-DXUQcN6d.js} +0 -0
- /package/dist/{info-VO6nk4YC.js → info-Dh7b3h-o.js} +0 -0
- /package/dist/{info-filled-CPEFQE41.js → info-filled-DtEaaCq9.js} +0 -0
- /package/dist/{it-IT-Bi9ITUwf.js → it-IT-16IjDttL.js} +0 -0
- /package/dist/{it-IT-CIOeJi1x.js → it-IT-3PSb6tzc.js} +0 -0
- /package/dist/{it-IT-Cmb27QLn.js → it-IT-5sFxcqYj.js} +0 -0
- /package/dist/{it-IT-CkEY1lo2.js → it-IT-BK6Yn4vc.js} +0 -0
- /package/dist/{it-IT-jMjTjUzn.js → it-IT-BgULENxX.js} +0 -0
- /package/dist/{it-IT-CBK-wtc0.js → it-IT-C2JfprsD.js} +0 -0
- /package/dist/{it-IT-BnuHEvVW.js → it-IT-C75KiNnW.js} +0 -0
- /package/dist/{it-IT-Ufl1pHbc.js → it-IT-CCtD36Df.js} +0 -0
- /package/dist/{it-IT-UR6h43v2.js → it-IT-CFip731S.js} +0 -0
- /package/dist/{it-IT-BLWoHQoE.js → it-IT-CW0ZFuCZ.js} +0 -0
- /package/dist/{it-IT-DfLoqlDC.js → it-IT-Cm3ujfY_.js} +0 -0
- /package/dist/{it-IT-Dq3vXcQd2.js → it-IT-D_ks7gfY2.js} +0 -0
- /package/dist/{it-IT-DFXXmcyi2.js → it-IT-H3GQLOjf2.js} +0 -0
- /package/dist/{it-IT-DdrSeXcR.js → it-IT-JgaaWuPW.js} +0 -0
- /package/dist/{it-IT-CgdI0w2P.js → it-IT-kER7OY9Z.js} +0 -0
- /package/dist/{ja-JP-rEpoM-lg2.js → ja-JP-B-5Ib5IT2.js} +0 -0
- /package/dist/{ja-JP-BZ2zlGP0.js → ja-JP-B5fRnSzi.js} +0 -0
- /package/dist/{ja-JP-C0AsYC-q.js → ja-JP-BRGxY7zc.js} +0 -0
- /package/dist/{ja-JP-ByCwJRUi.js → ja-JP-BT70_5Cd.js} +0 -0
- /package/dist/{ja-JP-BMxlfKvA.js → ja-JP-BaYWre19.js} +0 -0
- /package/dist/{ja-JP-xzRer0kj.js → ja-JP-BbXt47jb.js} +0 -0
- /package/dist/{ja-JP-_U_q7jVf.js → ja-JP-BllN9kcD.js} +0 -0
- /package/dist/{ja-JP-Cs4lfGNn.js → ja-JP-C7tIgG_I.js} +0 -0
- /package/dist/{ja-JP-D6PNPWjT.js → ja-JP-CJ3GhLS6.js} +0 -0
- /package/dist/{ja-JP-CSoLD4SX.js → ja-JP-CJY6uqPb.js} +0 -0
- /package/dist/{ja-JP-DNREMCOK.js → ja-JP-CjEZToEj.js} +0 -0
- /package/dist/{ja-JP-DLoHhxQh.js → ja-JP-D6OZ6CvT.js} +0 -0
- /package/dist/{ja-JP-DNn6xap1.js → ja-JP-DGUCWzjv.js} +0 -0
- /package/dist/{ja-JP-Bpti6sGi2.js → ja-JP-DhImuhRM2.js} +0 -0
- /package/dist/{ja-JP-sayrdAXG.js → ja-JP-tHJpSXnY.js} +0 -0
- /package/dist/{ja-JP-B_rVtAI1.js → ja-JP-wmwnTtNd.js} +0 -0
- /package/dist/{location-Bn5E9Pul.js → location-NeA9HUsd.js} +0 -0
- /package/dist/{lt-LT-82g4AmL1.js → lt-LT-BHpTAvkg.js} +0 -0
- /package/dist/{lt-LT-B3Pryz-Q2.js → lt-LT-BJziTet92.js} +0 -0
- /package/dist/{lt-LT-BSye5Nr_.js → lt-LT-BVVTYN3z.js} +0 -0
- /package/dist/{lt-LT-Cy9pk0y-.js → lt-LT-CB33emTJ.js} +0 -0
- /package/dist/{lt-LT-OFdNDbUX.js → lt-LT-CDdoDT7A.js} +0 -0
- /package/dist/{lt-LT-J23cjc1V.js → lt-LT-CKltvr9j.js} +0 -0
- /package/dist/{lt-LT-BWDAi9zS.js → lt-LT-CYhgjOkW.js} +0 -0
- /package/dist/{lt-LT-DBaBA5i2.js → lt-LT-CpQj1HiE.js} +0 -0
- /package/dist/{lt-LT-CBrTbmvV2.js → lt-LT-D2-X0BmC2.js} +0 -0
- /package/dist/{lt-LT-DdKlX5AC.js → lt-LT-DX-73rzB.js} +0 -0
- /package/dist/{lt-LT-d9Lzf-4r.js → lt-LT-DZvEoBgI.js} +0 -0
- /package/dist/{lt-LT-p2JAeNR4.js → lt-LT-Dkvuak-E.js} +0 -0
- /package/dist/{lt-LT-CNinUuby.js → lt-LT-_MAUl9-y.js} +0 -0
- /package/dist/{lt-LT-B8ffhRmU.js → lt-LT-i2HdquzD.js} +0 -0
- /package/dist/{lv-LV-BlMbVyQ1.js → lv-LV-BGMkr0W_.js} +0 -0
- /package/dist/{lv-LV-B081lgzy.js → lv-LV-BeobSRYx.js} +0 -0
- /package/dist/{lv-LV-coLJbYHz.js → lv-LV-Br4-Sv0n.js} +0 -0
- /package/dist/{lv-LV-BjRjwTEK2.js → lv-LV-C8O_oUFu2.js} +0 -0
- /package/dist/{lv-LV-Dv53xFzB2.js → lv-LV-ChlCGeIJ2.js} +0 -0
- /package/dist/{lv-LV-BMnAQ1Xo.js → lv-LV-Cz0igciN.js} +0 -0
- /package/dist/{lv-LV-DkAt22NW.js → lv-LV-D0EFr0dt.js} +0 -0
- /package/dist/{lv-LV-yiWOvyOb.js → lv-LV-DIopAlNr.js} +0 -0
- /package/dist/{lv-LV-BrUBtIQw.js → lv-LV-DPQ4Tm3o.js} +0 -0
- /package/dist/{lv-LV-Bx-Jjnu0.js → lv-LV-DpfhFur0.js} +0 -0
- /package/dist/{lv-LV-DADSZmv1.js → lv-LV-DwsdNJrk.js} +0 -0
- /package/dist/{lv-LV-BBV7kRie.js → lv-LV-KCxxzpdw.js} +0 -0
- /package/dist/{lv-LV-BMeybBFZ.js → lv-LV-WYtMR2p9.js} +0 -0
- /package/dist/{lv-LV-FNkCnwGj.js → lv-LV-ZQOBF-l7.js} +0 -0
- /package/dist/{mail-D9fFXhBB.js → mail-COcabAMU.js} +0 -0
- /package/dist/{minus-circle-filled-kgX5qrve.js → minus-circle-filled-CnCOR8aV.js} +0 -0
- /package/dist/{nl-NL-2pRJhx4p.js → nl-NL-B0uwKjKV.js} +0 -0
- /package/dist/{nl-NL-COqovT_a.js → nl-NL-BKmH_4rF.js} +0 -0
- /package/dist/{nl-NL-CP6zlp_V.js → nl-NL-BLie9b-e.js} +0 -0
- /package/dist/{nl-NL-5IBNsNn-.js → nl-NL-BQYwAxdm.js} +0 -0
- /package/dist/{nl-NL-RQJ9Ntb4.js → nl-NL-BTuDiajY.js} +0 -0
- /package/dist/{nl-NL-CLwQhlS52.js → nl-NL-BjbL2DHM2.js} +0 -0
- /package/dist/{nl-NL-BmJvHK85.js → nl-NL-Br1QBepE.js} +0 -0
- /package/dist/{nl-NL-DyfWE8gn.js → nl-NL-BtwZkAPX.js} +0 -0
- /package/dist/{nl-NL-BAqQKM4W.js → nl-NL-ByNQn3Ma.js} +0 -0
- /package/dist/{nl-NL-E6xlA4Mu.js → nl-NL-Cbt7ybTe.js} +0 -0
- /package/dist/{nl-NL-BQVnFtjj.js → nl-NL-CxlTSECX.js} +0 -0
- /package/dist/{nl-NL-Dgh5SO7P.js → nl-NL-D16qC_X6.js} +0 -0
- /package/dist/{nl-NL-SQ0tQQ7x.js → nl-NL-DHNIfmgo.js} +0 -0
- /package/dist/{nl-NL-Do91-zba.js → nl-NL-DKpjFbpm.js} +0 -0
- /package/dist/{nl-NL-BHGpr8uV2.js → nl-NL-v-EVwcVy2.js} +0 -0
- /package/dist/{no-NO-axs-oZzN.js → no-NO-BQ0yU2Fq.js} +0 -0
- /package/dist/{no-NO-1j1eFgDM.js → no-NO-BSrcMnDk.js} +0 -0
- /package/dist/{no-NO-Cy-7YnSj.js → no-NO-BXHYRl8q.js} +0 -0
- /package/dist/{no-NO-DQxmEKSq.js → no-NO-BlsDONGK.js} +0 -0
- /package/dist/{no-NO-CYkuuZPT.js → no-NO-ByxOHA9n.js} +0 -0
- /package/dist/{no-NO-Ced7o83m.js → no-NO-CG5RteG_.js} +0 -0
- /package/dist/{no-NO-DjBxGZxg.js → no-NO-CX2Lkpbt.js} +0 -0
- /package/dist/{no-NO-yIRCMH_3.js → no-NO-D6C6Imfk.js} +0 -0
- /package/dist/{no-NO-DYpxe_OK2.js → no-NO-DM2yevPv2.js} +0 -0
- /package/dist/{no-NO-CTvsBn4S.js → no-NO-DjTYr6zQ.js} +0 -0
- /package/dist/{no-NO-DJ7ojOH0.js → no-NO-DkmYSpeK.js} +0 -0
- /package/dist/{no-NO-CPGHJ1UD.js → no-NO-FtH9gIpv.js} +0 -0
- /package/dist/{no-NO-CUjOQvXN.js → no-NO-YjH9dIrD.js} +0 -0
- /package/dist/{no-NO-DnWAP8u_2.js → no-NO-e0MZntB62.js} +0 -0
- /package/dist/{onfido-logo-BqdxSGit.js → onfido-logo-Dx5zgOtY.js} +0 -0
- /package/dist/{options-horizontal-j-5uyd0B.js → options-horizontal-CAznj1Vl.js} +0 -0
- /package/dist/{partner-BHWNbmjS.js → partner-BgRPuALU.js} +0 -0
- /package/dist/{passport-blurred-C3vrjsbl.js → passport-blurred-UX6p2KZ5.js} +0 -0
- /package/dist/{passport-cut-off-B9xCz3zl.js → passport-cut-off-C4H57LgT.js} +0 -0
- /package/dist/{passport-front-Bb-FsUup.js → passport-front-K9nDuC3A.js} +0 -0
- /package/dist/{passport-front-green-B-hiiHfv.js → passport-front-green-8qBM6eHY.js} +0 -0
- /package/dist/{passport-glare-CxjFr17m.js → passport-glare-Cw4IMJSe.js} +0 -0
- /package/dist/{pay-by-link-plane-CqqhXPzK.js → pay-by-link-plane-CblqKlzx.js} +0 -0
- /package/dist/{payout-BjEqYPYq.js → payout-Dt-Rj2Dk.js} +0 -0
- /package/dist/{payout-bank-accounts-CP5YbNth.js → payout-bank-accounts-CfRx1pMC.js} +0 -0
- /package/dist/{payout-verification-instant-PYySyNIP.js → payout-verification-instant-Bb5s_R8u.js} +0 -0
- /package/dist/{payout-verification-manual-dD2AXDI5.js → payout-verification-manual-TFGUjvg1.js} +0 -0
- /package/dist/{pdf-6z3tF92N.js → pdf-r5Zgu15b.js} +0 -0
- /package/dist/{pdf.worker.min-cJ0AHf4C.js → pdf.worker.min-BOMsFOV0.js} +0 -0
- /package/dist/{person-KiTel0hd.js → person-CVbQ7VXy.js} +0 -0
- /package/dist/{pl-PL-DIfjzTOu.js → pl-PL-Bkdj5z2L.js} +0 -0
- /package/dist/{pl-PL-DMGtjafY.js → pl-PL-CK40GB3R.js} +0 -0
- /package/dist/{pl-PL-DW9GzN9S.js → pl-PL-C_ys8FVH.js} +0 -0
- /package/dist/{pl-PL-CsCrZmdl.js → pl-PL-Ct3cI8Sk.js} +0 -0
- /package/dist/{pl-PL-BGqwI9Ij.js → pl-PL-CxlgXMRg.js} +0 -0
- /package/dist/{pl-PL-BE21dbBy2.js → pl-PL-DC1Izk5I2.js} +0 -0
- /package/dist/{pl-PL-BvWpgfAA.js → pl-PL-DNdGYT-E.js} +0 -0
- /package/dist/{pl-PL-CE5rUck72.js → pl-PL-DjF-DV6q2.js} +0 -0
- /package/dist/{pl-PL-CUQre_Dt.js → pl-PL-DvZBOEKI.js} +0 -0
- /package/dist/{pl-PL-MR1W_iAg.js → pl-PL-NJRqx5mk.js} +0 -0
- /package/dist/{pl-PL-DTOzxbs7.js → pl-PL-R6bNjSQB.js} +0 -0
- /package/dist/{pl-PL-DLE8PDTq.js → pl-PL-W0KU0YTp.js} +0 -0
- /package/dist/{pl-PL-D7cG97pD.js → pl-PL-aWhB1xes.js} +0 -0
- /package/dist/{pl-PL-CYpBh31h.js → pl-PL-x6CltZUu.js} +0 -0
- /package/dist/{plaid-logo-Dt3Bn9ND.js → plaid-logo-BzQDyZCh.js} +0 -0
- /package/dist/{plus-tEm-vgE1.js → plus-BbVfOPFJ.js} +0 -0
- /package/dist/{plus-circle-filled-BBTC2T_N.js → plus-circle-filled-D9vpzgFw.js} +0 -0
- /package/dist/{pt-BR-B8bx4CBG.js → pt-BR-7FV4JArc.js} +0 -0
- /package/dist/{pt-BR-BNYHYxXB.js → pt-BR-B0zBNcPy.js} +0 -0
- /package/dist/{pt-BR-DSHQOdPO.js → pt-BR-Bb7L6a3z.js} +0 -0
- /package/dist/{pt-BR-BWRX9EX3.js → pt-BR-BgiNMjMc.js} +0 -0
- /package/dist/{pt-BR-h7kZ3aYW.js → pt-BR-C8nFgTo3.js} +0 -0
- /package/dist/{pt-BR-CoEOk9O3.js → pt-BR-CTxtcXRe.js} +0 -0
- /package/dist/{pt-BR-vYrSxBSO.js → pt-BR-CdeMGenL.js} +0 -0
- /package/dist/{pt-BR-B2OwzpG92.js → pt-BR-CjoezwB32.js} +0 -0
- /package/dist/{pt-BR-xg7uBFfF.js → pt-BR-CqDjOIYt.js} +0 -0
- /package/dist/{pt-BR-DyiqsKRE.js → pt-BR-DGIHaJzj.js} +0 -0
- /package/dist/{pt-BR-C5JW1HrQ.js → pt-BR-DKqiUfwf.js} +0 -0
- /package/dist/{pt-BR-Dd_7VGuI2.js → pt-BR-NPzViBFm2.js} +0 -0
- /package/dist/{pt-BR-BlDKbAqS.js → pt-BR-VlNZLr8f.js} +0 -0
- /package/dist/{pt-BR-C74K-7jr.js → pt-BR-kU7AfzPy.js} +0 -0
- /package/dist/{pt-BR-CteQV5ii.js → pt-BR-zUBVM8_b.js} +0 -0
- /package/dist/{pt-PT-RsYfEWuz.js → pt-PT-BEkfXdZQ.js} +0 -0
- /package/dist/{pt-PT-BTLBx5Pq2.js → pt-PT-BRLRSNh92.js} +0 -0
- /package/dist/{pt-PT-B8RvWXvK.js → pt-PT-BjB2uXSn.js} +0 -0
- /package/dist/{pt-PT-D3KXQXgx.js → pt-PT-C0GJNK9V.js} +0 -0
- /package/dist/{pt-PT-CJaAO0OM.js → pt-PT-CFcpXSKo.js} +0 -0
- /package/dist/{pt-PT-D1gryaa_2.js → pt-PT-CJpshC902.js} +0 -0
- /package/dist/{pt-PT-CnecntqK.js → pt-PT-CWzCKCL8.js} +0 -0
- /package/dist/{pt-PT-BiECOnM2.js → pt-PT-CXRUusv_.js} +0 -0
- /package/dist/{pt-PT-Dc7Dsm8i.js → pt-PT-Cu2VcZdJ.js} +0 -0
- /package/dist/{pt-PT-DDEO9CMW.js → pt-PT-CxnB9Jff.js} +0 -0
- /package/dist/{pt-PT-D0gr93I7.js → pt-PT-Czy2_X1t.js} +0 -0
- /package/dist/{pt-PT-BxlGs7GD.js → pt-PT-D9QbJxzN.js} +0 -0
- /package/dist/{pt-PT-Ckz3R9_a.js → pt-PT-Dl_yfKGH.js} +0 -0
- /package/dist/{pt-PT-BH-c8JMP.js → pt-PT-Dmor9x6o.js} +0 -0
- /package/dist/{pt-PT-CuCky1Na.js → pt-PT-hj7CUska.js} +0 -0
- /package/dist/{recurring-B2eeDPZF.js → recurring-Cm_CVMBM.js} +0 -0
- /package/dist/{reporting-DQmC4htD.js → reporting-BHGFV7yB.js} +0 -0
- /package/dist/{revenue-accelerate-B7fBFkfQ.js → revenue-accelerate-uQp3MMWP.js} +0 -0
- /package/dist/{review-KsQyObaz.js → review-DkLO25RT.js} +0 -0
- /package/dist/{ro-RO-DEkkLIpP.js → ro-RO-B3hA8dZo.js} +0 -0
- /package/dist/{ro-RO-DeTTMF1S.js → ro-RO-BCHziTju.js} +0 -0
- /package/dist/{ro-RO-DAxRK98h2.js → ro-RO-BHOTFHon.js} +0 -0
- /package/dist/{ro-RO-DAsiBpTz.js → ro-RO-BRtHlgch.js} +0 -0
- /package/dist/{ro-RO-DI9yJdut.js → ro-RO-C7wPFb1a.js} +0 -0
- /package/dist/{ro-RO-B-WhPWXl.js → ro-RO-CT5uU3Rj.js} +0 -0
- /package/dist/{ro-RO-C0rKbBOw.js → ro-RO-CmHNsQpo.js} +0 -0
- /package/dist/{ro-RO-CldtluAk.js → ro-RO-Cuw1RmFc.js} +0 -0
- /package/dist/{ro-RO-qS04p1P5.js → ro-RO-D9YjxrDi.js} +0 -0
- /package/dist/{ro-RO-Bs35y-d_.js → ro-RO-DLtPW1MX.js} +0 -0
- /package/dist/{ro-RO-BnqCtfGS.js → ro-RO-DoVJzEzv2.js} +0 -0
- /package/dist/{ro-RO-aA_8tw3e2.js → ro-RO-DsFDnuty2.js} +0 -0
- /package/dist/{ro-RO-CDYwQ2f6.js → ro-RO-pGnT9ywa.js} +0 -0
- /package/dist/{ro-RO-DDTUbG0L.js → ro-RO-tf_g2ahZ.js} +0 -0
- /package/dist/{save-BS8c9b7Z.js → save-DsGcWvER.js} +0 -0
- /package/dist/{search-DeXnRqW6.js → search-BDJlT2t5.js} +0 -0
- /package/dist/{show-oe_wIyOO.js → show-DLGXHz7A.js} +0 -0
- /package/dist/{singpass-logo-BmRdJRUj.js → singpass-logo-D1Z8HeLC.js} +0 -0
- /package/dist/{singpass-logo-small-BtdseQZs.js → singpass-logo-small-CQC5e3lx.js} +0 -0
- /package/dist/{sk-SK-D3IX8IcR.js → sk-SK--ohjuOMW.js} +0 -0
- /package/dist/{sk-SK-DKliea2g.js → sk-SK-1i0L4zIs.js} +0 -0
- /package/dist/{sk-SK-vL_VaX9v2.js → sk-SK-BlhtDQel.js} +0 -0
- /package/dist/{sk-SK-DGW_XpTA.js → sk-SK-Bt_mgDPR.js} +0 -0
- /package/dist/{sk-SK-07CC6oL3.js → sk-SK-CQ1N3c8X.js} +0 -0
- /package/dist/{sk-SK-3BykPs7A.js → sk-SK-CUBTdFYv2.js} +0 -0
- /package/dist/{sk-SK-8uqLCjvh2.js → sk-SK-CV-IEeZp2.js} +0 -0
- /package/dist/{sk-SK-DO1zBWhx.js → sk-SK-CtsgM8bj.js} +0 -0
- /package/dist/{sk-SK-C6lJI-a5.js → sk-SK-DNKyL6Hl.js} +0 -0
- /package/dist/{sk-SK-CPnmTQxj.js → sk-SK-DaSC7QsL.js} +0 -0
- /package/dist/{sk-SK-BniazhQ1.js → sk-SK-DkianEJG.js} +0 -0
- /package/dist/{sk-SK-Dk8QVjOs.js → sk-SK-DwG8xkcP.js} +0 -0
- /package/dist/{sk-SK-DfRXqmqE.js → sk-SK-HLMucQBt.js} +0 -0
- /package/dist/{sk-SK-B1MsWsN4.js → sk-SK-xqB2A84D.js} +0 -0
- /package/dist/{sl-SI-83Ge0qQP.js → sl-SI-B8-rZ169.js} +0 -0
- /package/dist/{sl-SI-pV5_w5dO.js → sl-SI-BlsVauZ9.js} +0 -0
- /package/dist/{sl-SI-CFrJb0l4.js → sl-SI-Br0agZj0.js} +0 -0
- /package/dist/{sl-SI-FNh3WNZp.js → sl-SI-C6KiyZyh.js} +0 -0
- /package/dist/{sl-SI-BcH3F5sG.js → sl-SI-CKA1EM-J.js} +0 -0
- /package/dist/{sl-SI-DNW8rX7M2.js → sl-SI-Cg7e65lb2.js} +0 -0
- /package/dist/{sl-SI-Daqfs0UK.js → sl-SI-D3zK3MPP.js} +0 -0
- /package/dist/{sl-SI-Csgb5ZY-.js → sl-SI-DNgxTuIJ.js} +0 -0
- /package/dist/{sl-SI-BWUii_me.js → sl-SI-DWJzi8r_.js} +0 -0
- /package/dist/{sl-SI-BOAno7Pj.js → sl-SI-DnpKMUhR.js} +0 -0
- /package/dist/{sl-SI-s3A0-Dy5.js → sl-SI-DyC9aHm4.js} +0 -0
- /package/dist/{sl-SI-C1gAxadl.js → sl-SI-DywGyzEa.js} +0 -0
- /package/dist/{sl-SI-DV3G-GCy.js → sl-SI-PsgMnJ-h.js} +0 -0
- /package/dist/{sl-SI-VFbCksWP2.js → sl-SI-qFjMTfKg2.js} +0 -0
- /package/dist/{solution-payments-g1VlocE9.js → solution-payments-CVSsXgo9.js} +0 -0
- /package/dist/{store-ByGvVYZ6.js → store-COYFYobc.js} +0 -0
- /package/dist/{sv-SE-Brbjyk762.js → sv-SE-BDo_8Bf92.js} +0 -0
- /package/dist/{sv-SE-CCtgpWLA.js → sv-SE-BM8WESGs.js} +0 -0
- /package/dist/{sv-SE-5SXmZy5P.js → sv-SE-BMG9p-1J.js} +0 -0
- /package/dist/{sv-SE-DSpORdWS.js → sv-SE-BN0dUpwI.js} +0 -0
- /package/dist/{sv-SE-Ba8qxsr9.js → sv-SE-C-MkmGdq.js} +0 -0
- /package/dist/{sv-SE-CMiDhj5S.js → sv-SE-CBNLo-2r.js} +0 -0
- /package/dist/{sv-SE-D5RZpL-Q.js → sv-SE-CTB2971Y.js} +0 -0
- /package/dist/{sv-SE-BurrqX3G.js → sv-SE-CVRa-6Y0.js} +0 -0
- /package/dist/{sv-SE-BHd-lfOn.js → sv-SE-CWkxvOEr.js} +0 -0
- /package/dist/{sv-SE-0TBVOaU1.js → sv-SE-D3hPP-Mp.js} +0 -0
- /package/dist/{sv-SE-F73RZzdw.js → sv-SE-DTpqjuJd.js} +0 -0
- /package/dist/{sv-SE-BkXR0GJ7.js → sv-SE-Dsrb2FFw.js} +0 -0
- /package/dist/{sv-SE-BshJBiYx2.js → sv-SE-Q7zk4V9W2.js} +0 -0
- /package/dist/{sv-SE-DNZ6N1sV.js → sv-SE-guJk9E1n.js} +0 -0
- /package/dist/{sv-SE-BHKyfang.js → sv-SE-xHYNkpLd.js} +0 -0
- /package/dist/{tax-reporting-graph-kpj1hrYP.js → tax-reporting-graph-368jm2t2.js} +0 -0
- /package/dist/{terminal-1-CA03Z57p.js → terminal-1-C98Z-HQT.js} +0 -0
- /package/dist/{tink-logo-BOj_S4ZP.js → tink-logo-b8D53Kmq.js} +0 -0
- /package/dist/types/components/Business/{utils → hooks}/useBusinessDetailsData.d.ts +0 -0
- /package/dist/{types-B-8XphGe.js → types-BklAlvuU.js} +0 -0
- /package/dist/{types-D_O60g4H.js → types-BvdB7N_Z.js} +0 -0
- /package/dist/{types-CvKWevS7.js → types-ewJwhKUi.js} +0 -0
- /package/dist/{upload-mi4rAl2M.js → upload-hnGE-ssH.js} +0 -0
- /package/dist/{us-check-Bb6yDbkZ.js → us-check-BgX0xeVz.js} +0 -0
- /package/dist/{us-check-account-number-Ck5JOZnE.js → us-check-account-number-DKJO3VuM.js} +0 -0
- /package/dist/{us-check-routing-number-Bhxiwuun.js → us-check-routing-number-C0VuN5fT.js} +0 -0
- /package/dist/{useAnalyticsContext-D6DJZmqu.js → useAnalyticsContext-DfTXpZbA.js} +0 -0
- /package/dist/{useToastContext-d6uY8F_F.js → useToastContext-CK7UoZ5Z.js} +0 -0
- /package/dist/{validate-DHSybdw4.js → validate-BC1f_rgO.js} +0 -0
- /package/dist/{warning-circle-fill-CaaRr_OW.js → warning-circle-fill-BjxM4aj1.js} +0 -0
- /package/dist/{warning-diamond-filled-Cy0GbzJ7.js → warning-diamond-filled-CtCJ9xf8.js} +0 -0
- /package/dist/{webinar-B5CxaVrR.js → webinar-D_daN2X8.js} +0 -0
- /package/dist/{yapily-logo-CQOInQHg.js → yapily-logo-ByJSYIQm.js} +0 -0
|
@@ -1,186 +1,61 @@
|
|
|
1
1
|
try {
|
|
2
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] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "7702d07b-f1af-4fe5-be4e-563d73acd805", e._sentryDebugIdIdentifier = "sentry-dbid-7702d07b-f1af-4fe5-be4e-563d73acd805");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { i as Typography, n as addResourceBundles, r as useTranslation } from "./translation-
|
|
6
|
-
import { r as Loader
|
|
7
|
-
import { s as useApiContext } from "./http-
|
|
8
|
-
import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-
|
|
5
|
+
import { i as Typography, n as addResourceBundles, r as useTranslation } from "./translation-Br5wIPO-.js";
|
|
6
|
+
import { r as Loader } from "./Button-BDEdGXnd.js";
|
|
7
|
+
import { s as useApiContext } from "./http-CHTzpXCd.js";
|
|
8
|
+
import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-Dm6g0wmt.js";
|
|
9
9
|
import { t as LegalEntityTypes } from "./legal-entity-type-VIfNYnJP.js";
|
|
10
10
|
import { t as getLegalEntityCountry } from "./getLegalEntityCountry-C6bSV6sB.js";
|
|
11
|
-
import {
|
|
12
|
-
import { C as isValidMinLength, _ as hasText, a as NO_ALPHABET_REGEX, g as hasRepeatedCharacters, n as EMOJI_REGEX, s as OTHER_ENTITIES_VALID_CHAR_REGEX, w as matchesRegex, x as isInvalidName
|
|
11
|
+
import { i as drop, l as keysOf, n as cloneObject } from "./AnalyticsContext-C0HNdPss.js";
|
|
12
|
+
import { C as isValidMinLength, _ as hasText, a as NO_ALPHABET_REGEX, g as hasRepeatedCharacters, n as EMOJI_REGEX, s as OTHER_ENTITIES_VALID_CHAR_REGEX, w as matchesRegex, x as isInvalidName } from "./validatorUtils-D5MKiGfL.js";
|
|
13
13
|
import { t as useToggleContext } from "./useToggleContext-CLfowItk.js";
|
|
14
14
|
import { t as _rolldown_dynamic_import_helper_default } from "./_rolldown_dynamic_import_helper-CCXvMgfE.js";
|
|
15
|
-
import { t as Header } from "./Header-
|
|
15
|
+
import { t as Header } from "./Header-B_MIsVov.js";
|
|
16
16
|
import { t as CountryCodes } from "./country-code-D3oCpE4i.js";
|
|
17
|
-
import { t as useCapabilities } from "./useCapabilities-
|
|
17
|
+
import { t as useCapabilities } from "./useCapabilities-DN0V0pML.js";
|
|
18
18
|
import { n as datasetUtilities } from "./datasetUtil-BZmNUckr.js";
|
|
19
|
-
import { t as Alert } from "./Alert-
|
|
19
|
+
import { t as Alert } from "./Alert-CjZYipjN.js";
|
|
20
20
|
import { C as EntityTypes, a as trustComponentsKeyMapping, i as trustApiKeyMapping, o as trustDocumentMapping, y as reverseMapping } from "./processCapabilities-CDSEJpB8.js";
|
|
21
21
|
import { t as TaskTypes } from "./taskTypes-DWaxzvnQ.js";
|
|
22
22
|
import { s as getOwnEntityAssociations } from "./entityAssociationUtil-C0gX4Ewv.js";
|
|
23
23
|
import { t as getCountrySpecificTrustTypeOptions } from "./trustUtil-CVipffas.js";
|
|
24
|
-
import { t as
|
|
25
|
-
import { t as
|
|
26
|
-
import {
|
|
27
|
-
import { t as
|
|
28
|
-
import {
|
|
29
|
-
import { t as
|
|
30
|
-
import { t as
|
|
31
|
-
import { t as
|
|
32
|
-
import { t as
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import { t as
|
|
36
|
-
import {
|
|
37
|
-
import { n as summaryStep, t as Summary } from "./Summary-CSZzjxeK.js";
|
|
38
|
-
import { t as useMultiForm } from "./useMultiForm-CXswURh1.js";
|
|
39
|
-
import { i as useScenarioConfiguration, r as getPageName, t as mapExistingFile } from "./mapExistingFile-CKXMTTys.js";
|
|
40
|
-
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-DRh2mwkT.js";
|
|
41
|
-
import { t as MaybeModal } from "./MaybeModal-CiJw94QA.js";
|
|
24
|
+
import { t as useToastContext } from "./useToastContext-CK7UoZ5Z.js";
|
|
25
|
+
import { n as useCapabilityProblems, t as getProblemsForEntity } from "./getProblemsForEntity-COcJt47f.js";
|
|
26
|
+
import { t as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-CYu0lsaE.js";
|
|
27
|
+
import { t as useCreateLegalEntity } from "./useCreateLegalEntity-C149Z7Xu.js";
|
|
28
|
+
import { t as useUpdateLegalEntity } from "./useUpdateLegalEntity-CUs6TYPF.js";
|
|
29
|
+
import { t as Address } from "./Address-D7m4o1lU.js";
|
|
30
|
+
import { i as FormFlow, n as addValidityToForms, o as useFormComposer, r as getRequiredForms, s as FormContextProvider, t as useFormContext } from "./useFormContext-Bt0K_c_v.js";
|
|
31
|
+
import { n as composePerScenarioFormConfigurations, r as getPropsFromConfigurations, t as augmentWithCountryConfigs } from "./process-field-configurations-B8wJu-eM.js";
|
|
32
|
+
import { t as ErrorPanel } from "./ErrorPanel-5g1eTEVD.js";
|
|
33
|
+
import { n as mergeFieldMetadataIntoProps, t as createFormUtils } from "./formUtils-DERTAXyh.js";
|
|
34
|
+
import { t as useMultiForm } from "./useMultiForm-BBawkDjy.js";
|
|
35
|
+
import { i as useScenarioConfiguration, r as getPageName, t as mapExistingFile } from "./mapExistingFile-BeFexL6Z.js";
|
|
36
|
+
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-DCdJo64z.js";
|
|
42
37
|
import { i as mapAddressLabels } from "./utils-DLDyhf2J.js";
|
|
43
38
|
import { i as isValidationError, o as processValidationErrors, s as isMaintenanceModeError } from "./validationError-Dr0g0lGN.js";
|
|
44
|
-
import { c as getDocument, o as createDocumentRequest, s as documentApiUtils } from "./validate-
|
|
45
|
-
import {
|
|
46
|
-
import { a as getFieldsWithExistingData, n as TaxInformationField, t as TAX_INFORMATION_FIELD } from "./TaxInformationField-
|
|
39
|
+
import { c as getDocument, o as createDocumentRequest, s as documentApiUtils } from "./validate-DlG5LXuM.js";
|
|
40
|
+
import { r as formatObject } from "./utils--gwzjjeS.js";
|
|
41
|
+
import { a as getFieldsWithExistingData, n as TaxInformationField, t as TAX_INFORMATION_FIELD } from "./TaxInformationField-DVQN8nKW.js";
|
|
47
42
|
import { a as validateNotEmptyOnBlur } from "./patternValidators-COjyZHty.js";
|
|
48
|
-
import { S as taxInformationDefaultFieldMetadata, i as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, u as countryToTaxInfoTypeMap, v as exemptedFromTaxDefaultFieldConfig, x as taxInformationDefaultFieldConfig, y as exemptedFromTaxDefaultFieldMetadata } from "./utils-
|
|
43
|
+
import { S as taxInformationDefaultFieldMetadata, i as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, u as countryToTaxInfoTypeMap, v as exemptedFromTaxDefaultFieldConfig, x as taxInformationDefaultFieldConfig, y as exemptedFromTaxDefaultFieldMetadata } from "./utils-DGYoCUS5.js";
|
|
49
44
|
import { t as resolveFieldMetadata } from "./fieldConfigurations-B3oqm4GC.js";
|
|
50
|
-
import { t as Field } from "./Field-
|
|
51
|
-
import { t as Select } from "./Select-
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import { t as
|
|
55
|
-
import {
|
|
56
|
-
import { t as RadioGroup } from "./RadioGroup-CwRHDUnD.js";
|
|
45
|
+
import { t as Field } from "./Field-BEqknhTe.js";
|
|
46
|
+
import { t as Select } from "./Select-CMFHti4N.js";
|
|
47
|
+
import { n as getFormProps } from "./getProps-DQy_qV_x.js";
|
|
48
|
+
import { t as InputText } from "./InputText-CadVntiC.js";
|
|
49
|
+
import { n as CountryField, t as COUNTRY_FIELD } from "./CountryField-B-JxQ6z9.js";
|
|
50
|
+
import { t as RadioGroup } from "./RadioGroup-XuCtbRrH.js";
|
|
57
51
|
import { t as createFormRules } from "./form-rules-CvdV5rPY.js";
|
|
58
|
-
import { t as ContextGuidance } from "./ContextGuidance-
|
|
59
|
-
import {
|
|
60
|
-
import { t as
|
|
61
|
-
import { t as
|
|
62
|
-
import { n as useStateContext, t as useGlobalDataSlice } from "./useGlobalData-aRC4QM86.js";
|
|
63
|
-
import { c as getRegistrationNumberHelperText, i as getCompanyRegistrationNumberOptions, l as registrationNumberDefaultFieldConfig, n as getDefaultRegistrationNumberType, o as exemptFromRegistrationNumberDefaultFieldConfig, r as inferCompanyRegistrationNumberType, s as exemptFromRegistrationNumberDefaultFieldMetadata, u as registrationNumberDefaultFieldMetadata } from "./CompanyRegistrationNumberTypeSelector-B8_lP8m6.js";
|
|
64
|
-
import { _ as BusinessRegistrationNumberField, a as operationalAddressIsSameItems, c as getDefaultVatNumberType, f as doingBusinessAsAbsentFieldMetadata, g as BUSINESS_REGISTRATION_NUMBER_FIELD, h as DBA_NAME_FIELD, i as operationalAddressIsSameIds, l as defaultFieldConfig, m as DBANameField, n as RegistrationAddress, o as VAT_NUMBER_FIELD, p as doingBusinessAsFieldMetadata, r as registrationAddressFields, s as VatNumberField, t as MemoizedConstitutionalDocument, u as defaultFieldMetadata } from "./ConstitutionalDocument-tVWxH6Gg.js";
|
|
65
|
-
import { a as UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_REQUIRED, i as UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_OPTIONAL, n as UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_OPTIONAL, o as UNINCORPORATED_PARTNERSHIP_COUNTRIES_VAT_NUMBER_OPTIONAL, r as UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_REQUIRED, t as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./types-CvKWevS7.js";
|
|
66
|
-
import { t as StepProgressIndicator } from "./StepProgressIndicator-DKFBYuqL.js";
|
|
52
|
+
import { t as ContextGuidance } from "./ContextGuidance-CxOv00_a.js";
|
|
53
|
+
import { c as getRegistrationNumberHelperText, i as getCompanyRegistrationNumberOptions, l as registrationNumberDefaultFieldConfig, n as getDefaultRegistrationNumberType, o as exemptFromRegistrationNumberDefaultFieldConfig, r as inferCompanyRegistrationNumberType, s as exemptFromRegistrationNumberDefaultFieldMetadata, u as registrationNumberDefaultFieldMetadata } from "./CompanyRegistrationNumberTypeSelector-LMLF4xL4.js";
|
|
54
|
+
import { a as VAT_NUMBER_FIELD, c as defaultFieldConfig, d as doingBusinessAsAbsentFieldMetadata, f as doingBusinessAsFieldMetadata, g as BusinessRegistrationNumberField, h as BUSINESS_REGISTRATION_NUMBER_FIELD, i as operationalAddressIsSameItems, l as defaultFieldMetadata, m as DBA_NAME_FIELD, n as registrationAddressFields, o as VatNumberField, p as DBANameField, r as operationalAddressIsSameIds, s as getDefaultVatNumberType, t as MemoizedConstitutionalDocument } from "./ConstitutionalDocument-B6yJ9w8L.js";
|
|
55
|
+
import { a as UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_REQUIRED, i as UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_OPTIONAL, n as UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_OPTIONAL, o as UNINCORPORATED_PARTNERSHIP_COUNTRIES_VAT_NUMBER_OPTIONAL, r as UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_REQUIRED, t as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./types-ewJwhKUi.js";
|
|
67
56
|
import { useCallback, useEffect, useMemo, useRef, useState } from "preact/hooks";
|
|
68
57
|
import { Fragment, jsx, jsxs } from "preact/jsx-runtime";
|
|
69
58
|
import { skipToken } from "@tanstack/preact-query";
|
|
70
|
-
//#region src/context/StateContext/hasDataChanged.ts
|
|
71
|
-
var hasDataChanged = (initialData, currentData) => entriesOf(currentData ?? {}).some(([key, value]) => {
|
|
72
|
-
if (typeof value === "object") return !objectsDeepEqual(value, initialData?.[key]);
|
|
73
|
-
return value !== initialData?.[key];
|
|
74
|
-
});
|
|
75
|
-
//#endregion
|
|
76
|
-
//#region src/components/Shared/FormWrapper/FormWrapper.tsx
|
|
77
|
-
/** @deprecated migrate to useMultiForm hook and FormFlow ui component*/
|
|
78
|
-
var FormWrapper = ({ asModal = false, summary, taskName, children, handleNextClick, handleBackClick, handleCloseClick, handleHomeClick, loadingStatus, gotoFormByFormIndex, gotoFormByFormId, forms, activeForm, validateForm, hideSidebar, hideFooter, canSubmit, onSubmit, problems, steps, showBackButton, hideNextButton, hideHomeButton }) => {
|
|
79
|
-
const { t } = useTranslation("common");
|
|
80
|
-
const userEvents = useAnalyticsContext();
|
|
81
|
-
const { data: summaryData, omitted, labels } = summary || {};
|
|
82
|
-
const [finishLaterLoading, setFinishLaterLoading] = useState(false);
|
|
83
|
-
const showLegalCaption = [
|
|
84
|
-
"solePropDetails",
|
|
85
|
-
"companyDetails",
|
|
86
|
-
"businessDetails"
|
|
87
|
-
].includes(taskName);
|
|
88
|
-
const { isFeatureEnabled } = useToggleContext();
|
|
89
|
-
const summaryContent = /* @__PURE__ */ jsx("div", {
|
|
90
|
-
className: "adyen-kyc-form-wrapper",
|
|
91
|
-
children: /* @__PURE__ */ jsx(Summary, {
|
|
92
|
-
data: summaryData,
|
|
93
|
-
omitted,
|
|
94
|
-
forms,
|
|
95
|
-
gotoForm: gotoFormByFormIndex,
|
|
96
|
-
labels,
|
|
97
|
-
problems,
|
|
98
|
-
showLegalCaption,
|
|
99
|
-
showTaxExemptedLegalCaption: isFeatureEnabled("ShowExtraTaxExemptionReasons") && summaryData?.companyRegistrationDetails?.vatAbsenceReason && ["companyDetails", "businessDetails"].includes(taskName)
|
|
100
|
-
})
|
|
101
|
-
});
|
|
102
|
-
const onHomeClick = () => {
|
|
103
|
-
setFinishLaterLoading(true);
|
|
104
|
-
userEvents.addPageEvent("Clicked button", {
|
|
105
|
-
actionType: "save",
|
|
106
|
-
label: "finishLater"
|
|
107
|
-
});
|
|
108
|
-
if (canSubmit) onSubmit().then(() => {
|
|
109
|
-
setFinishLaterLoading(false);
|
|
110
|
-
});
|
|
111
|
-
else {
|
|
112
|
-
handleHomeClick?.();
|
|
113
|
-
setFinishLaterLoading(false);
|
|
114
|
-
}
|
|
115
|
-
};
|
|
116
|
-
const isFirstStep = steps.current === 0;
|
|
117
|
-
const isFinalStep = steps.current === steps.total - 1;
|
|
118
|
-
return /* @__PURE__ */ jsxs(MaybeModal, {
|
|
119
|
-
inline: !asModal,
|
|
120
|
-
onClose: handleCloseClick,
|
|
121
|
-
size: "large",
|
|
122
|
-
children: [/* @__PURE__ */ jsxs(ModalContent, { children: [/* @__PURE__ */ jsx(ModalHeader, {}), /* @__PURE__ */ jsx(LoaderWrapper, {
|
|
123
|
-
status: loadingStatus,
|
|
124
|
-
formOpacityWhenLoading: .3,
|
|
125
|
-
loaderSize: "large",
|
|
126
|
-
children: /* @__PURE__ */ jsxs("div", {
|
|
127
|
-
className: !hideSidebar ? "adyen-kyc-form-with-sidebar" : "",
|
|
128
|
-
children: [!asModal && !hideSidebar && /* @__PURE__ */ jsx("div", {
|
|
129
|
-
className: "adyen-kyc-dropin__sidebar-wrapper",
|
|
130
|
-
children: /* @__PURE__ */ jsx(FormNavigation, {
|
|
131
|
-
forms,
|
|
132
|
-
activeForm,
|
|
133
|
-
gotoForm: gotoFormByFormIndex,
|
|
134
|
-
validateForm,
|
|
135
|
-
taskName,
|
|
136
|
-
verificationErrors: problems?.verificationErrors
|
|
137
|
-
})
|
|
138
|
-
}), /* @__PURE__ */ jsxs(FormRouterContextProvider, {
|
|
139
|
-
setFormIndex: gotoFormByFormIndex,
|
|
140
|
-
goToFormByFormId: gotoFormByFormId,
|
|
141
|
-
forms,
|
|
142
|
-
children: [children, activeForm.formId === summaryStep.formId && summary && summaryContent]
|
|
143
|
-
})]
|
|
144
|
-
})
|
|
145
|
-
})] }), !hideFooter && /* @__PURE__ */ jsxs(ModalFooter, { children: [
|
|
146
|
-
/* @__PURE__ */ jsx("div", {
|
|
147
|
-
style: {
|
|
148
|
-
width: "30%",
|
|
149
|
-
display: asModal ? "unset" : "none"
|
|
150
|
-
},
|
|
151
|
-
children: /* @__PURE__ */ jsx(StepProgressIndicator, {
|
|
152
|
-
activeStepIndex: steps.current ?? 0,
|
|
153
|
-
stepsCount: steps.total,
|
|
154
|
-
fillBefore: true,
|
|
155
|
-
thick: true
|
|
156
|
-
})
|
|
157
|
-
}),
|
|
158
|
-
(!isFirstStep || showBackButton) && handleBackClick && /* @__PURE__ */ jsx(Button, {
|
|
159
|
-
icon: "chevron-left",
|
|
160
|
-
variant: "secondary",
|
|
161
|
-
onClick: handleBackClick,
|
|
162
|
-
children: t(($) => $["back"])
|
|
163
|
-
}),
|
|
164
|
-
/* @__PURE__ */ jsx(Spacer, {}),
|
|
165
|
-
!isFirstStep && !isFinalStep && !hideHomeButton && /* @__PURE__ */ jsx(Button, {
|
|
166
|
-
variant: "secondary",
|
|
167
|
-
icon: "save",
|
|
168
|
-
onClick: onHomeClick,
|
|
169
|
-
loading: finishLaterLoading,
|
|
170
|
-
children: t(($) => $["finishLater"])
|
|
171
|
-
}),
|
|
172
|
-
!isFinalStep && !hideNextButton && /* @__PURE__ */ jsx(Button, {
|
|
173
|
-
onClick: handleNextClick,
|
|
174
|
-
children: t(($) => $["continue"])
|
|
175
|
-
}),
|
|
176
|
-
isFinalStep && /* @__PURE__ */ jsx(Button, {
|
|
177
|
-
onClick: handleNextClick,
|
|
178
|
-
children: t(($) => $["submit"])
|
|
179
|
-
})
|
|
180
|
-
] })]
|
|
181
|
-
});
|
|
182
|
-
};
|
|
183
|
-
//#endregion
|
|
184
59
|
//#region src/components/Trust/mapping/mapApiDocumentToTrustDocument.ts
|
|
185
60
|
var mapApiDocumentToTrustDocument = (entityId) => {
|
|
186
61
|
const constitutionalDocument = getDocument(entityId, "constitutionalDocument") || null;
|
|
@@ -258,777 +133,123 @@ var mapUnincorporatedPartnershipToLegalEntity = (data, isFeatureEnabled) => {
|
|
|
258
133
|
if (!requestObj.unincorporatedPartnership) return requestObj;
|
|
259
134
|
if (requestObj.unincorporatedPartnership?.taxInformation?.[0]?.type === "GST") requestObj.unincorporatedPartnership.taxInformation[0].type = "UEN";
|
|
260
135
|
if (isFeatureEnabled("EnableDoingBusinessAsNameV4")) {
|
|
261
|
-
if (typeof data.trustRegistrationDetails?.hasDoingBusinessAs !== "undefined") requestObj.unincorporatedPartnership.doingBusinessAsAbsent = !data.trustRegistrationDetails?.hasDoingBusinessAs;
|
|
262
|
-
} else {
|
|
263
|
-
requestObj.unincorporatedPartnership.doingBusinessAs = data.trustRegistrationDetails?.doingBusinessAs || data.trustRegistrationDetails?.legalName || "";
|
|
264
|
-
delete requestObj.unincorporatedPartnership.doingBusinessAsAbsent;
|
|
265
|
-
}
|
|
266
|
-
requestObj.type = LegalEntityTypes.UNINCORPORATED_PARTNERSHIP;
|
|
267
|
-
return requestObj;
|
|
268
|
-
};
|
|
269
|
-
//#endregion
|
|
270
|
-
//#region src/components/Trust/forms/Trust/rules.ts
|
|
271
|
-
var COUNTRIES_THAT_USE_REGISTRATION_NUMBER = [CountryCodes.NewZealand];
|
|
272
|
-
var rules = ({ data, country, taskType }) => createFormRules({
|
|
273
|
-
countryUsesTaxId: () => {
|
|
274
|
-
if (taskType === TaskTypes.UNINCORPORATED_PARTNERSHIP) {
|
|
275
|
-
if (UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_REQUIRED.includes(country)) return "REQUIRED";
|
|
276
|
-
if (UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_OPTIONAL.includes(country)) return "OPTIONAL";
|
|
277
|
-
}
|
|
278
|
-
if (country !== CountryCodes.NewZealand && COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT.includes(country)) return "REQUIRED";
|
|
279
|
-
},
|
|
280
|
-
countryRequiresRegistrationNumberForTrust: () => {
|
|
281
|
-
if (taskType === TaskTypes.UNINCORPORATED_PARTNERSHIP) {
|
|
282
|
-
if (UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_REQUIRED.includes(country)) return "REQUIRED";
|
|
283
|
-
if (UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_OPTIONAL.includes(country)) return "OPTIONAL";
|
|
284
|
-
}
|
|
285
|
-
if (COUNTRIES_THAT_USE_REGISTRATION_NUMBER.includes(country)) return "REQUIRED";
|
|
286
|
-
},
|
|
287
|
-
registrationNumberType: () => {
|
|
288
|
-
if (taskType === TaskTypes.UNINCORPORATED_PARTNERSHIP) {
|
|
289
|
-
if (UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_REQUIRED.includes(country)) return "OPTIONAL";
|
|
290
|
-
if (UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_OPTIONAL.includes(country)) return "OPTIONAL";
|
|
291
|
-
}
|
|
292
|
-
if (COUNTRIES_THAT_USE_REGISTRATION_NUMBER.includes(country)) return "OPTIONAL";
|
|
293
|
-
},
|
|
294
|
-
countryUsesVatNumber: () => {
|
|
295
|
-
if (taskType === TaskTypes.UNINCORPORATED_PARTNERSHIP) {
|
|
296
|
-
if (UNINCORPORATED_PARTNERSHIP_COUNTRIES_VAT_NUMBER_OPTIONAL.includes(country)) return "OPTIONAL";
|
|
297
|
-
}
|
|
298
|
-
},
|
|
299
|
-
trustTypeHasDescription: () => {
|
|
300
|
-
if (data?.trustRegistrationDetails?.trustType === "charitableTrust") return "REQUIRED";
|
|
301
|
-
},
|
|
302
|
-
requireDoingBusinessAsName: () => {
|
|
303
|
-
return data?.trustRegistrationDetails?.hasDoingBusinessAs ? "REQUIRED" : void 0;
|
|
304
|
-
},
|
|
305
|
-
requiresTrustType: () => {
|
|
306
|
-
if (taskType === TaskTypes.TRUST) return "REQUIRED";
|
|
307
|
-
}
|
|
308
|
-
});
|
|
309
|
-
//#endregion
|
|
310
|
-
//#region src/components/Trust/forms/TrustRegistrationDetails/validate.ts
|
|
311
|
-
var trustRegistrationDetailsValidations = {
|
|
312
|
-
trustType: {
|
|
313
|
-
modes: ["blur"],
|
|
314
|
-
validate: (trustType) => !!trustType,
|
|
315
|
-
errorMessage: "fieldIsRequired"
|
|
316
|
-
},
|
|
317
|
-
country: {
|
|
318
|
-
modes: ["blur"],
|
|
319
|
-
validate: (country) => !!country,
|
|
320
|
-
errorMessage: "fieldIsRequired"
|
|
321
|
-
},
|
|
322
|
-
legalName: {
|
|
323
|
-
modes: ["blur"],
|
|
324
|
-
validate: (legalName) => !!legalName,
|
|
325
|
-
errorMessage: "fieldIsRequired"
|
|
326
|
-
},
|
|
327
|
-
objectOfTrust: {
|
|
328
|
-
modes: ["blur"],
|
|
329
|
-
validate: (objectOfTrust) => !!objectOfTrust,
|
|
330
|
-
errorMessage: "fieldIsRequired"
|
|
331
|
-
},
|
|
332
|
-
hasDoingBusinessAs: validateNotEmptyOnBlur,
|
|
333
|
-
doingBusinessAs: validateNotEmptyOnBlur
|
|
334
|
-
};
|
|
335
|
-
var trustRegistrationDetailsValidationsV4 = {
|
|
336
|
-
trustType: {
|
|
337
|
-
modes: ["blur"],
|
|
338
|
-
validate: (trustType) => !!trustType,
|
|
339
|
-
errorMessage: "fieldIsRequired"
|
|
340
|
-
},
|
|
341
|
-
country: {
|
|
342
|
-
modes: ["blur"],
|
|
343
|
-
validate: (country) => !!country,
|
|
344
|
-
errorMessage: "fieldIsRequired"
|
|
345
|
-
},
|
|
346
|
-
legalName: [
|
|
347
|
-
{
|
|
348
|
-
modes: ["blur"],
|
|
349
|
-
validate: hasText,
|
|
350
|
-
errorMessage: "fieldIsRequired"
|
|
351
|
-
},
|
|
352
|
-
{
|
|
353
|
-
modes: ["blur"],
|
|
354
|
-
validate: (input) => !matchesRegex(NO_ALPHABET_REGEX, input),
|
|
355
|
-
errorMessage: "nameMustContainLetters"
|
|
356
|
-
},
|
|
357
|
-
{
|
|
358
|
-
modes: ["blur"],
|
|
359
|
-
validate: (input) => !matchesRegex(EMOJI_REGEX, input) && !hasRepeatedCharacters(input) && isValidMinLength(input, 3) && !isInvalidName(input) && matchesRegex(OTHER_ENTITIES_VALID_CHAR_REGEX, input),
|
|
360
|
-
errorMessage: "checkForTypos"
|
|
361
|
-
}
|
|
362
|
-
],
|
|
363
|
-
objectOfTrust: {
|
|
364
|
-
modes: ["blur"],
|
|
365
|
-
validate: (objectOfTrust) => !!objectOfTrust,
|
|
366
|
-
errorMessage: "fieldIsRequired"
|
|
367
|
-
},
|
|
368
|
-
hasDoingBusinessAs: validateNotEmptyOnBlur,
|
|
369
|
-
doingBusinessAs: validateNotEmptyOnBlur
|
|
370
|
-
};
|
|
371
|
-
//#endregion
|
|
372
|
-
//#region src/components/Trust/forms/TrustRegistrationDetails/TrustRegistrationDetails.tsx
|
|
373
|
-
var trustRegistrationDetailsFields = [
|
|
374
|
-
"legalName",
|
|
375
|
-
...DBA_NAME_FIELD,
|
|
376
|
-
"country",
|
|
377
|
-
"trustType",
|
|
378
|
-
"objectOfTrust",
|
|
379
|
-
...TAX_INFORMATION_FIELD,
|
|
380
|
-
...BUSINESS_REGISTRATION_NUMBER_FIELD,
|
|
381
|
-
...VAT_NUMBER_FIELD
|
|
382
|
-
];
|
|
383
|
-
var ALLOWED_TRUST_COUNTRIES$1 = [CountryCodes.Australia, CountryCodes.NewZealand];
|
|
384
|
-
function TrustRegistrationDetails(props) {
|
|
385
|
-
let mergedProps = props;
|
|
386
|
-
const TRUST_REGISTRATION_DETAILS = mergedProps.id || trustForms$1.trustRegistrationDetails.formId;
|
|
387
|
-
const { t: commonT } = useTranslation("common");
|
|
388
|
-
const { t: trustT } = useTranslation("trust");
|
|
389
|
-
const { isFeatureEnabled } = useToggleContext();
|
|
390
|
-
const { updateStateSlice, sliceData } = useGlobalDataSlice(TRUST_REGISTRATION_DETAILS);
|
|
391
|
-
const isStrictNameAndAddressValidationEnabled = isFeatureEnabled("StrictNameAndAddressValidationV4");
|
|
392
|
-
const { taskType } = props;
|
|
393
|
-
const isUnincorporatedPartnership = taskType === TaskTypes.UNINCORPORATED_PARTNERSHIP;
|
|
394
|
-
const country = sliceData?.country ?? mergedProps.country;
|
|
395
|
-
const defaultData = useMemo(() => ({
|
|
396
|
-
...mergedProps.data,
|
|
397
|
-
country
|
|
398
|
-
}), [country, mergedProps.data]);
|
|
399
|
-
const requiredFields = isEmpty$1(mergedProps.requiredFields) ? trustRegistrationDetailsFields : mergedProps.requiredFields;
|
|
400
|
-
mergedProps = mergeFieldMetadataIntoProps("hasDoingBusinessAs", doingBusinessAsAbsentFieldMetadata, mergedProps);
|
|
401
|
-
mergedProps = mergeFieldMetadataIntoProps("doingBusinessAs", doingBusinessAsFieldMetadata, mergedProps);
|
|
402
|
-
mergedProps = mergeFieldMetadataIntoProps("taxInformation", resolveFieldMetadata(taxInformationDefaultFieldConfig[country], {
|
|
403
|
-
taxIdNumberType: sliceData?.taxInformation?.find((taxId) => taxId.country === country)?.type,
|
|
404
|
-
companyType: LegalEntityTypes.TRUST
|
|
405
|
-
}, taxInformationDefaultFieldMetadata), mergedProps);
|
|
406
|
-
mergedProps = mergeFieldMetadataIntoProps("exemptedFromTax", resolveFieldMetadata(exemptedFromTaxDefaultFieldConfig[country], {}, exemptedFromTaxDefaultFieldMetadata), mergedProps);
|
|
407
|
-
mergedProps = mergeFieldMetadataIntoProps("registrationNumber", resolveFieldMetadata(registrationNumberDefaultFieldConfig[country], {
|
|
408
|
-
companyType: LegalEntityTypes.TRUST,
|
|
409
|
-
registrationNumberType: sliceData?.registrationNumberType ?? getDefaultRegistrationNumberType(sliceData?.registrationNumber, country, "trust")
|
|
410
|
-
}, registrationNumberDefaultFieldMetadata), mergedProps);
|
|
411
|
-
mergedProps = mergeFieldMetadataIntoProps("exemptedFromRegistrationNumber", resolveFieldMetadata(exemptFromRegistrationNumberDefaultFieldConfig[country], {}, exemptFromRegistrationNumberDefaultFieldMetadata), mergedProps);
|
|
412
|
-
mergedProps = mergeFieldMetadataIntoProps("vatNumber", resolveFieldMetadata(defaultFieldConfig[country], { vatNumberType: sliceData?.vatNumberType ?? getDefaultVatNumberType(sliceData?.vatNumber, country) }, defaultFieldMetadata), mergedProps);
|
|
413
|
-
mergedProps.validators = {
|
|
414
|
-
...mergedProps.validators,
|
|
415
|
-
legalName: isStrictNameAndAddressValidationEnabled ? trustRegistrationDetailsValidationsV4.legalName : trustRegistrationDetailsValidations.legalName
|
|
416
|
-
};
|
|
417
|
-
const getFormSchema = useCallback((currentData) => {
|
|
418
|
-
const fieldsToRemove = [];
|
|
419
|
-
if (!currentData.hasDoingBusinessAs) fieldsToRemove.push("doingBusinessAs");
|
|
420
|
-
return requiredFields.filter((field) => !fieldsToRemove.includes(field));
|
|
421
|
-
}, [requiredFields]);
|
|
422
|
-
const { handleChangeFor, data, valid, errors, setData, fieldProblems, schema } = useForm({
|
|
423
|
-
...mergedProps,
|
|
424
|
-
schema: getFormSchema,
|
|
425
|
-
defaultData,
|
|
426
|
-
rules: mergedProps.validators || (isStrictNameAndAddressValidationEnabled ? trustRegistrationDetailsValidationsV4 : trustRegistrationDetailsValidations),
|
|
427
|
-
fieldProblems: mergedProps.fieldValidationErrors
|
|
428
|
-
});
|
|
429
|
-
const formUtils = createFormUtils({
|
|
430
|
-
...mergedProps,
|
|
431
|
-
data: defaultData,
|
|
432
|
-
requiredFields,
|
|
433
|
-
fieldValidationErrors: mergedProps.fieldValidationErrors,
|
|
434
|
-
formVerificationErrors: mergedProps.formVerificationErrors
|
|
435
|
-
}, commonT);
|
|
436
|
-
useEffect(() => {
|
|
437
|
-
updateStateSlice({
|
|
438
|
-
schema,
|
|
439
|
-
data,
|
|
440
|
-
errors,
|
|
441
|
-
valid,
|
|
442
|
-
fieldProblems
|
|
443
|
-
});
|
|
444
|
-
}, [
|
|
445
|
-
data,
|
|
446
|
-
errors,
|
|
447
|
-
fieldProblems,
|
|
448
|
-
schema,
|
|
449
|
-
updateStateSlice,
|
|
450
|
-
valid
|
|
451
|
-
]);
|
|
452
|
-
const changeTrustType = (e) => {
|
|
453
|
-
handleChangeFor("trustType", "blur")(e);
|
|
454
|
-
if (e.target.value !== "charitableTrust") setData("objectOfTrust", void 0);
|
|
455
|
-
};
|
|
456
|
-
const trustTypeOptions = getCountrySpecificTrustTypeOptions(country) ?? [];
|
|
457
|
-
const showField = (field) => formUtils.isRequiredField(field) || formUtils.isOptionalField(field);
|
|
458
|
-
return /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsxs("form", {
|
|
459
|
-
id: TRUST_REGISTRATION_DETAILS,
|
|
460
|
-
children: [
|
|
461
|
-
mergedProps.heading && /* @__PURE__ */ jsx(Header, { title: mergedProps.heading }),
|
|
462
|
-
/* @__PURE__ */ jsx(ErrorPanel, {
|
|
463
|
-
verificationErrors: mergedProps.formVerificationErrors,
|
|
464
|
-
validationErrors: mergedProps.fieldValidationErrors,
|
|
465
|
-
formUtils,
|
|
466
|
-
id: "ariaErrorField"
|
|
467
|
-
}),
|
|
468
|
-
!isUnincorporatedPartnership && /* @__PURE__ */ jsx(Alert, {
|
|
469
|
-
variant: "info",
|
|
470
|
-
title: /* @__PURE__ */ jsx(Typography, {
|
|
471
|
-
variant: "caption",
|
|
472
|
-
color: "secondary",
|
|
473
|
-
children: trustT(($) => $["makeSureToHaveYourTrustDeed"])
|
|
474
|
-
}),
|
|
475
|
-
className: "adyen-kyc-u-margin-bottom-16"
|
|
476
|
-
}),
|
|
477
|
-
formUtils.isRequiredField("country") && /* @__PURE__ */ jsx(CountryField, {
|
|
478
|
-
data: formUtils.getFieldData(data, COUNTRY_FIELD),
|
|
479
|
-
valid: formUtils.getFieldValid(valid, COUNTRY_FIELD),
|
|
480
|
-
errors: formUtils.getFieldErrors(errors, fieldProblems, COUNTRY_FIELD),
|
|
481
|
-
labels: formUtils.getFieldLabels(COUNTRY_FIELD, { country: "countryRegionOfEstablishment" }),
|
|
482
|
-
readonly: formUtils.isReadOnly("country"),
|
|
483
|
-
allowedCountries: isUnincorporatedPartnership ? ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES : ALLOWED_TRUST_COUNTRIES$1,
|
|
484
|
-
handleChangeFor: () => (e) => {
|
|
485
|
-
handleChangeFor("country", "input")(e);
|
|
486
|
-
if (mergedProps.onCountryChange) mergedProps.onCountryChange(e);
|
|
487
|
-
}
|
|
488
|
-
}),
|
|
489
|
-
formUtils.isRequiredField("legalName") && /* @__PURE__ */ jsx(Field, {
|
|
490
|
-
name: "legalName",
|
|
491
|
-
label: formUtils.getLabel(!isUnincorporatedPartnership ? "nameOfTrustAgreement" : "legalName"),
|
|
492
|
-
errorMessage: formUtils.getErrorMessage("legalName", errors, fieldProblems),
|
|
493
|
-
isValid: valid.legalName,
|
|
494
|
-
children: (childProps) => /* @__PURE__ */ jsx(InputText, {
|
|
495
|
-
...childProps,
|
|
496
|
-
name: "legalName",
|
|
497
|
-
value: data.legalName,
|
|
498
|
-
readonly: formUtils.isReadOnly("legalName"),
|
|
499
|
-
onInput: handleChangeFor("legalName", "input"),
|
|
500
|
-
onBlur: handleChangeFor("legalName", "blur"),
|
|
501
|
-
"aria-required": true,
|
|
502
|
-
"aria-invalid": !valid.legalName
|
|
503
|
-
})
|
|
504
|
-
}),
|
|
505
|
-
formUtils.isRequiredField("hasDoingBusinessAs") && /* @__PURE__ */ jsx(DBANameField, {
|
|
506
|
-
data: formUtils.getFieldData(data, DBA_NAME_FIELD),
|
|
507
|
-
valid: formUtils.getFieldValid(valid, DBA_NAME_FIELD),
|
|
508
|
-
errors: formUtils.getFieldErrors(errors, fieldProblems, DBA_NAME_FIELD),
|
|
509
|
-
readonly: formUtils.isReadOnly("doingBusinessAs"),
|
|
510
|
-
handleChangeFor
|
|
511
|
-
}),
|
|
512
|
-
formUtils.isRequiredField("trustType") && !isUnincorporatedPartnership && /* @__PURE__ */ jsx(Field, {
|
|
513
|
-
name: "trustType",
|
|
514
|
-
label: formUtils.getLabel("trustType", "typeOfTrustAgreement"),
|
|
515
|
-
errorMessage: formUtils.getErrorMessage("trustType", errors, fieldProblems),
|
|
516
|
-
isValid: valid.trustType,
|
|
517
|
-
dataTestId: "trust-type",
|
|
518
|
-
children: (childProps) => /* @__PURE__ */ jsx(Select, {
|
|
519
|
-
...childProps,
|
|
520
|
-
name: "trustType",
|
|
521
|
-
onChange: changeTrustType,
|
|
522
|
-
selected: data.trustType,
|
|
523
|
-
items: trustTypeOptions.map((trust) => ({
|
|
524
|
-
id: trust,
|
|
525
|
-
name: trustT(($) => $[trust])
|
|
526
|
-
})),
|
|
527
|
-
placeholder: trustT(($) => $["trustType"])
|
|
528
|
-
})
|
|
529
|
-
}),
|
|
530
|
-
formUtils.isRequiredField("objectOfTrust") && /* @__PURE__ */ jsx(Field, {
|
|
531
|
-
name: "objectOfTrust",
|
|
532
|
-
label: formUtils.getLabel("objectOfCharitableTrust"),
|
|
533
|
-
helper: formUtils.getLabel("pleaseProvideThePurposeOfCharitableTrust"),
|
|
534
|
-
errorMessage: formUtils.getErrorMessage("objectOfTrust", errors, fieldProblems),
|
|
535
|
-
isValid: valid.objectOfTrust,
|
|
536
|
-
children: (childProps) => /* @__PURE__ */ jsx(InputText, {
|
|
537
|
-
...childProps,
|
|
538
|
-
name: "objectOfTrust",
|
|
539
|
-
value: data.objectOfTrust,
|
|
540
|
-
readonly: formUtils.isReadOnly("objectOfTrust"),
|
|
541
|
-
onInput: handleChangeFor("objectOfTrust", "input"),
|
|
542
|
-
onBlur: handleChangeFor("objectOfTrust", "blur"),
|
|
543
|
-
"aria-required": true,
|
|
544
|
-
"aria-invalid": !valid.objectOfTrust
|
|
545
|
-
})
|
|
546
|
-
}),
|
|
547
|
-
showField("taxInformation") && /* @__PURE__ */ jsx(TaxInformationField, {
|
|
548
|
-
data: formUtils.getFieldData(data, TAX_INFORMATION_FIELD),
|
|
549
|
-
valid: formUtils.getFieldValid(valid, TAX_INFORMATION_FIELD),
|
|
550
|
-
errors: formUtils.getFieldErrors(errors, fieldProblems, TAX_INFORMATION_FIELD),
|
|
551
|
-
labels: formUtils.getFieldLabels(TAX_INFORMATION_FIELD, { exemptedFromTax: "iDontHaveATaxId" }),
|
|
552
|
-
mask: formUtils.getMask("taxInformation"),
|
|
553
|
-
readonly: formUtils.isReadOnly("taxInformation"),
|
|
554
|
-
shouldValidate: mergedProps.shouldValidate,
|
|
555
|
-
handleChangeFor,
|
|
556
|
-
optional: formUtils.isOptionalField("taxInformation"),
|
|
557
|
-
canExempt: formUtils.isRequiredField("exemptedFromTax"),
|
|
558
|
-
country,
|
|
559
|
-
entityType: LegalEntityTypes.TRUST,
|
|
560
|
-
defaultData: mergedProps.data?.taxInformation,
|
|
561
|
-
registrationNumber: data.registrationNumber
|
|
562
|
-
}),
|
|
563
|
-
showField("registrationNumber") && /* @__PURE__ */ jsx(BusinessRegistrationNumberField, {
|
|
564
|
-
data: formUtils.getFieldData(data, BUSINESS_REGISTRATION_NUMBER_FIELD),
|
|
565
|
-
valid: formUtils.getFieldValid(valid, BUSINESS_REGISTRATION_NUMBER_FIELD),
|
|
566
|
-
errors: formUtils.getFieldErrors(errors, fieldProblems, BUSINESS_REGISTRATION_NUMBER_FIELD),
|
|
567
|
-
labels: formUtils.getFieldLabels(BUSINESS_REGISTRATION_NUMBER_FIELD, { exemptedFromRegistrationNumber: "iDontHaveARegistrationNumber" }),
|
|
568
|
-
mask: formUtils.getMask("registrationNumber"),
|
|
569
|
-
helperText: getRegistrationNumberHelperText(trustT, {
|
|
570
|
-
country,
|
|
571
|
-
companyType: LegalEntityTypes.TRUST
|
|
572
|
-
}),
|
|
573
|
-
readonly: formUtils.isReadOnly("registrationNumber"),
|
|
574
|
-
optional: formUtils.isOptionalField("registrationNumber"),
|
|
575
|
-
shouldValidate: mergedProps.shouldValidate,
|
|
576
|
-
handleChangeFor,
|
|
577
|
-
country,
|
|
578
|
-
canExempt: formUtils.isRequiredField("exemptedFromRegistrationNumber"),
|
|
579
|
-
companyType: LegalEntityTypes.TRUST
|
|
580
|
-
}),
|
|
581
|
-
showField("vatNumber") && /* @__PURE__ */ jsx(VatNumberField, {
|
|
582
|
-
data: formUtils.getFieldData(data, VAT_NUMBER_FIELD),
|
|
583
|
-
valid: formUtils.getFieldValid(valid, VAT_NUMBER_FIELD),
|
|
584
|
-
errors: formUtils.getFieldErrors(errors, fieldProblems, VAT_NUMBER_FIELD),
|
|
585
|
-
labels: formUtils.getFieldLabels(VAT_NUMBER_FIELD, { exemptedFromVat: "iDontHaveAVatNumber" }),
|
|
586
|
-
optional: formUtils.isOptionalField("vatNumber"),
|
|
587
|
-
readonly: formUtils.isReadOnly("vatNumber"),
|
|
588
|
-
handleChangeFor,
|
|
589
|
-
country,
|
|
590
|
-
canExempt: formUtils.isRequiredField("exemptedFromVat"),
|
|
591
|
-
shouldValidate: mergedProps.shouldValidate
|
|
592
|
-
})
|
|
593
|
-
]
|
|
594
|
-
}) });
|
|
595
|
-
}
|
|
596
|
-
//#endregion
|
|
597
|
-
//#region src/components/Trust/forms/Trust/Trust.tsx
|
|
598
|
-
var trustForms$1 = {
|
|
599
|
-
trustRegistrationDetails: {
|
|
600
|
-
formId: "trustRegistrationDetails",
|
|
601
|
-
formName: "registrationDetails",
|
|
602
|
-
fields: [...trustRegistrationDetailsFields]
|
|
603
|
-
},
|
|
604
|
-
trustRegistrationAddress: {
|
|
605
|
-
formId: "trustRegistrationAddress",
|
|
606
|
-
formName: "addressDetails",
|
|
607
|
-
fields: registrationAddressFields
|
|
608
|
-
},
|
|
609
|
-
trustConstitutionalDocument: {
|
|
610
|
-
formId: "trustConstitutionalDocument",
|
|
611
|
-
formName: "constitutionalDocument",
|
|
612
|
-
fields: ["constitutionalDocument"]
|
|
613
|
-
}
|
|
614
|
-
};
|
|
615
|
-
var trustRegistrationAddressFormId$1 = trustForms$1.trustRegistrationAddress.formId;
|
|
616
|
-
var trustRegistrationDetailsFormId$1 = trustForms$1.trustRegistrationDetails.formId;
|
|
617
|
-
var trustConstitutionalDocumentFormId$1 = trustForms$1.trustConstitutionalDocument.formId;
|
|
618
|
-
function Trust(props) {
|
|
619
|
-
const { t } = useTranslation(["common", "trust"]);
|
|
620
|
-
const { country, activeForm, taskType } = props;
|
|
621
|
-
const trustRegistrationDetailsFormProps = getFormProps(props, trustRegistrationDetailsFormId$1);
|
|
622
|
-
const trustRegistrationAddressFormProps = getNestedOuterFormPropsFromOuterFormProps(props, trustRegistrationAddressFormId$1);
|
|
623
|
-
const trustDocumentFormProps = getFormProps(props, trustConstitutionalDocumentFormId$1);
|
|
624
|
-
const isUnincorporatedPartnership = taskType === TaskTypes.UNINCORPORATED_PARTNERSHIP;
|
|
625
|
-
const renderActiveForm = (activeForm) => /* @__PURE__ */ jsxs("div", { children: [
|
|
626
|
-
/* @__PURE__ */ jsx("div", {
|
|
627
|
-
className: activeForm.formId !== trustRegistrationDetailsFormId$1 ? "adyen-kyc-form-wrapper adyen-kyc-form-wrapper--hidden" : "adyen-kyc-form-wrapper",
|
|
628
|
-
children: /* @__PURE__ */ jsx(TrustRegistrationDetails, {
|
|
629
|
-
...trustRegistrationDetailsFormProps,
|
|
630
|
-
heading: t(($) => $["registrationDetails"]),
|
|
631
|
-
id: trustRegistrationDetailsFormId$1,
|
|
632
|
-
country,
|
|
633
|
-
taskType
|
|
634
|
-
})
|
|
635
|
-
}),
|
|
636
|
-
/* @__PURE__ */ jsx("div", {
|
|
637
|
-
className: activeForm.formId !== trustRegistrationAddressFormId$1 ? "adyen-kyc-form-wrapper adyen-kyc-form-wrapper--hidden" : "adyen-kyc-form-wrapper",
|
|
638
|
-
children: /* @__PURE__ */ jsx(RegistrationAddress, {
|
|
639
|
-
...trustRegistrationAddressFormProps,
|
|
640
|
-
heading: t(($) => $["addressDetails"]),
|
|
641
|
-
description: !isUnincorporatedPartnership ? t(($) => $["registeredAddressTrustHeaderDescription"], { ns: "trust" }) : t(($) => $["registeredAddressUnincorporatedPartnershipHeaderDescription"], { ns: "trust" }),
|
|
642
|
-
id: trustRegistrationAddressFormId$1,
|
|
643
|
-
country,
|
|
644
|
-
problems: props?.problems,
|
|
645
|
-
labels: { operationalAddressIsSame: !isUnincorporatedPartnership ? "isTrustOperationAddressSame" : "isPartnershipOperationAddressSame" }
|
|
646
|
-
})
|
|
647
|
-
}),
|
|
648
|
-
/* @__PURE__ */ jsx("div", {
|
|
649
|
-
className: activeForm.formId !== trustConstitutionalDocumentFormId$1 ? "adyen-kyc-form-wrapper adyen-kyc-form-wrapper--hidden" : "adyen-kyc-form-wrapper",
|
|
650
|
-
children: /* @__PURE__ */ jsx(MemoizedConstitutionalDocument, {
|
|
651
|
-
...trustDocumentFormProps,
|
|
652
|
-
id: trustConstitutionalDocumentFormId$1,
|
|
653
|
-
legalEntityType: isUnincorporatedPartnership ? LegalEntityTypes.UNINCORPORATED_PARTNERSHIP : LegalEntityTypes.TRUST,
|
|
654
|
-
country
|
|
655
|
-
})
|
|
656
|
-
})
|
|
657
|
-
] });
|
|
658
|
-
return /* @__PURE__ */ jsx("div", { children: renderActiveForm(activeForm || trustForms$1.trustRegistrationDetails) });
|
|
659
|
-
}
|
|
660
|
-
//#endregion
|
|
661
|
-
//#region src/components/Trust/mapping/mapLegalEntityToTrust.ts
|
|
662
|
-
var mapLegalEntityToTrust = (legalEntity, isFeatureEnabled) => {
|
|
663
|
-
if (!legalEntity.trust) throw new Error("LE missing trust field");
|
|
664
|
-
let trustCompData = formatObject(legalEntity, trustComponentsKeyMapping);
|
|
665
|
-
if (!trustCompData?.trustRegistrationDetails) return {};
|
|
666
|
-
trustCompData.trustRegistrationDetails.vatNumberType = getDefaultVatNumberType(legalEntity.trust.vatNumber, legalEntity.trust.countryOfGoverningLaw);
|
|
667
|
-
trustCompData.trustRegistrationDetails.registrationNumberType = getDefaultRegistrationNumberType(legalEntity.trust.registrationNumber, legalEntity.trust.countryOfGoverningLaw, LegalEntityTypes.TRUST);
|
|
668
|
-
trustCompData.trustRegistrationDetails.country = legalEntity.trust.countryOfGoverningLaw;
|
|
669
|
-
if (legalEntity.trust.description) trustCompData.trustRegistrationDetails.objectOfTrust = legalEntity.trust.description;
|
|
670
|
-
if (legalEntity.trust.principalPlaceOfBusiness) trustCompData.trustRegistrationAddress.operationalAddressIsSame = operationalAddressIsSameIds.OPERATIONAL_ADDRESS_IS_NOT_SAME;
|
|
671
|
-
else {
|
|
672
|
-
if (!trustCompData.trustRegistrationAddress) trustCompData.trustRegistrationAddress = {};
|
|
673
|
-
trustCompData.trustRegistrationAddress.operationalAddressIsSame = operationalAddressIsSameIds.OPERATIONAL_ADDRESS_IS_SAME;
|
|
674
|
-
}
|
|
675
|
-
if (legalEntity.trust.taxInformation?.length) {
|
|
676
|
-
const { country } = legalEntity.trust.registeredAddress;
|
|
677
|
-
const countryTaxInformation = legalEntity.trust.taxInformation.find((info) => info.country === country);
|
|
678
|
-
if (countryTaxInformation?.type === "UEN") trustCompData.trustRegistrationDetails.isUen = true;
|
|
679
|
-
if (countryTaxInformation?.type === "GST") trustCompData.trustRegistrationDetails.isUen = false;
|
|
680
|
-
const taxNumberAbsent = countryTaxInformation?.numberAbsent;
|
|
681
|
-
if (taxNumberAbsent !== void 0) trustCompData.trustRegistrationDetails.exemptedFromTax = taxNumberAbsent;
|
|
682
|
-
}
|
|
683
|
-
if (legalEntity.documentDetails?.length) trustCompData = {
|
|
684
|
-
...trustCompData,
|
|
685
|
-
...mapApiDocumentToTrustDocument(legalEntity?.id)
|
|
686
|
-
};
|
|
687
|
-
if (isFeatureEnabled("EnableDoingBusinessAsNameV4")) {
|
|
688
|
-
if (typeof trustCompData.trustRegistrationDetails?.hasDoingBusinessAs === "boolean") {
|
|
689
|
-
trustCompData.trustRegistrationDetails.hasDoingBusinessAs = !legalEntity.trust.doingBusinessAsAbsent;
|
|
690
|
-
if (!trustCompData.trustRegistrationDetails.hasDoingBusinessAs) delete legalEntity.trust?.doingBusinessAs;
|
|
691
|
-
}
|
|
692
|
-
} else {
|
|
693
|
-
trustCompData.trustRegistrationDetails.hasDoingBusinessAs = legalEntity.trust.doingBusinessAs ? legalEntity.trust.doingBusinessAs !== legalEntity.trust.name : void 0;
|
|
694
|
-
trustCompData.trustRegistrationDetails.doingBusinessAs = legalEntity.trust.doingBusinessAs;
|
|
695
|
-
}
|
|
696
|
-
return trustCompData;
|
|
697
|
-
};
|
|
698
|
-
//#endregion
|
|
699
|
-
//#region src/components/Trust/mapping/mapTrustDocumentToApiDocument.ts
|
|
700
|
-
var mapTrustDocumentToApiDocument = async (data, entityId) => {
|
|
701
|
-
const constitutionalDocument = data?.trustConstitutionalDocument?.constitutionalDocument;
|
|
702
|
-
if (!constitutionalDocument) throw new Error("Constitutional document missing");
|
|
703
|
-
const page1 = constitutionalDocument[0];
|
|
704
|
-
if (!page1) throw new Error("Document needs at least one page");
|
|
705
|
-
return await createDocumentRequest({
|
|
706
|
-
entityId,
|
|
707
|
-
entityType: "legalEntity",
|
|
708
|
-
documentType: "constitutionalDocument",
|
|
709
|
-
page1,
|
|
710
|
-
existingDocument: getDocument(entityId, "constitutionalDocument")
|
|
711
|
-
});
|
|
712
|
-
};
|
|
713
|
-
//#endregion
|
|
714
|
-
//#region src/components/Trust/mapping/mapTrustToLegalEntity.ts
|
|
715
|
-
var mapTrustToLegalEntity = (data, isFeatureEnabled) => {
|
|
716
|
-
const requestObj = { ...formatObject(data, trustApiKeyMapping) };
|
|
717
|
-
if (!requestObj.trust) return requestObj;
|
|
718
|
-
if (data.trustRegistrationDetails?.objectOfTrust) requestObj.trust.description = data.trustRegistrationDetails.objectOfTrust;
|
|
719
|
-
if (isFeatureEnabled("EnableDoingBusinessAsNameV4")) {
|
|
720
|
-
requestObj.trust.doingBusinessAsAbsent = typeof data.trustRegistrationDetails?.hasDoingBusinessAs !== "undefined" ? !data.trustRegistrationDetails?.hasDoingBusinessAs : void 0;
|
|
721
|
-
if (requestObj.trust.doingBusinessAsAbsent) requestObj.trust.doingBusinessAs = "";
|
|
722
|
-
} else {
|
|
723
|
-
delete requestObj.trust?.doingBusinessAsAbsent;
|
|
724
|
-
requestObj.trust.doingBusinessAs = data.trustRegistrationDetails?.doingBusinessAs || data.trustRegistrationDetails?.legalName;
|
|
725
|
-
}
|
|
726
|
-
requestObj.type = LegalEntityTypes.TRUST;
|
|
727
|
-
return requestObj;
|
|
728
|
-
};
|
|
729
|
-
//#endregion
|
|
730
|
-
//#region src/components/Trust/tasks/TrustDropin/mandatoryFields.ts
|
|
731
|
-
var MANDATORY_FIELDS_TRUST = ["trustRegistrationDetails.legalName", "trustRegistrationDetails.country"];
|
|
732
|
-
//#endregion
|
|
733
|
-
//#region src/components/Trust/tasks/TrustDropin/trustFormConfig.ts
|
|
734
|
-
var trustBase = {
|
|
735
|
-
trustType: { rule: "requiresTrustType" },
|
|
736
|
-
objectOfTrust: { rule: "trustTypeHasDescription" },
|
|
737
|
-
legalName: { rule: "REQUIRED" },
|
|
738
|
-
hasDoingBusinessAs: { rule: "REQUIRED" },
|
|
739
|
-
doingBusinessAs: { rule: "requireDoingBusinessAsName" },
|
|
740
|
-
country: { rule: "REQUIRED" },
|
|
741
|
-
taxInformation: { rule: "countryUsesTaxId" },
|
|
742
|
-
registrationAddress: { rule: "REQUIRED" },
|
|
743
|
-
operationalAddress: { rule: "OPTIONAL" },
|
|
744
|
-
constitutionalDocument: { rule: "REQUIRED" },
|
|
745
|
-
registrationNumber: { rule: "countryRequiresRegistrationNumberForTrust" },
|
|
746
|
-
registrationNumberType: { rule: "registrationNumberType" },
|
|
747
|
-
vatNumber: { rule: "countryUsesVatNumber" },
|
|
748
|
-
vatNumberType: { rule: "countryUsesVatNumber" },
|
|
749
|
-
operationalAddressIsSame: { rule: "REQUIRED" }
|
|
750
|
-
};
|
|
751
|
-
var trustFieldsPerScenario = {
|
|
752
|
-
L0: { ...trustBase },
|
|
753
|
-
L1: { ...trustBase },
|
|
754
|
-
L: { ...trustBase }
|
|
755
|
-
};
|
|
756
|
-
var trustCountryConfig = {};
|
|
757
|
-
//#endregion
|
|
758
|
-
//#region src/components/Trust/tasks/TrustDropin/TrustDropin.tsx
|
|
759
|
-
var parseTrustScenarios$1 = (scenarios, country) => augmentWithCountryConfigs(trustCountryConfig[country], composePerScenarioFormConfigurations(scenarios, trustFieldsPerScenario));
|
|
760
|
-
var parseConfiguration$1 = ({ scenarios, country }) => parseTrustScenarios$1(scenarios, country);
|
|
761
|
-
function TrustDropin({ parentLegalEntity, capabilities, country: countryProp, existingTrust, taskType, problems: problemsProp, onSubmit: externalOnSubmit, onChange, hideSidebar, handleHomeClick }) {
|
|
762
|
-
const { state: { currentState } } = useStateContext();
|
|
763
|
-
const formValidity = currentState.validityByForm;
|
|
764
|
-
useEffect(() => {
|
|
765
|
-
onChange?.(currentState);
|
|
766
|
-
}, [currentState, onChange]);
|
|
767
|
-
const { baseUrl, rootLegalEntityId } = useApiContext();
|
|
768
|
-
const { t, i18n } = useTranslation(["common", "trust"]);
|
|
769
|
-
const [validationErrors, setValidationErrors] = useState();
|
|
770
|
-
const datasetUtils = datasetUtilities(i18n.language);
|
|
771
|
-
const { isFeatureEnabled } = useToggleContext();
|
|
772
|
-
const { showToast } = useToastContext();
|
|
773
|
-
const [loadingStatus, setLoadingStatus] = useState("success");
|
|
774
|
-
const isUnincorporatedPartnership = taskType === TaskTypes.UNINCORPORATED_PARTNERSHIP;
|
|
775
|
-
const problems = useMemo(() => ({
|
|
776
|
-
...problemsProp,
|
|
777
|
-
validationErrors
|
|
778
|
-
}), [problemsProp, validationErrors]);
|
|
779
|
-
const trustData = useMemo(() => {
|
|
780
|
-
if (!existingTrust) return {};
|
|
781
|
-
return isUnincorporatedPartnership ? mapLegalEntityToUnincorporatedPartnership(existingTrust, isFeatureEnabled) : mapLegalEntityToTrust(existingTrust, isFeatureEnabled);
|
|
782
|
-
}, [
|
|
783
|
-
isFeatureEnabled,
|
|
784
|
-
existingTrust,
|
|
785
|
-
isUnincorporatedPartnership
|
|
786
|
-
]);
|
|
787
|
-
const currentCountry = useMemo(() => currentState.data.trustRegistrationDetails?.country ?? countryProp, [countryProp, currentState.data.trustRegistrationDetails?.country]);
|
|
788
|
-
const [initialData, setInitialData] = useState(trustData);
|
|
789
|
-
/**
|
|
790
|
-
* Analytics
|
|
791
|
-
*/
|
|
792
|
-
useTaskLandedEvent(taskType);
|
|
793
|
-
useEffect(() => {
|
|
794
|
-
if (!existingTrust?.documentDetails?.length) return;
|
|
795
|
-
try {
|
|
796
|
-
documentUtils.fetchDocuments(existingTrust.documentDetails, existingTrust.id).then(() => {
|
|
797
|
-
const mappedDocuments = mapApiDocumentToTrustDocument(existingTrust.id);
|
|
798
|
-
setInitialData({
|
|
799
|
-
...initialData,
|
|
800
|
-
...mappedDocuments
|
|
801
|
-
});
|
|
802
|
-
}).catch(() => {
|
|
803
|
-
showToast({
|
|
804
|
-
label: t(($) => $["failedToFetchRelevantDocuments"]),
|
|
805
|
-
variant: "error"
|
|
806
|
-
});
|
|
807
|
-
});
|
|
808
|
-
} catch {
|
|
809
|
-
showToast({
|
|
810
|
-
label: t(($) => $["failedToFetchRelevantDocuments"]),
|
|
811
|
-
variant: "error"
|
|
812
|
-
});
|
|
813
|
-
}
|
|
814
|
-
}, []);
|
|
815
|
-
/**
|
|
816
|
-
* Fetch Configurations
|
|
817
|
-
*/
|
|
818
|
-
const { fieldConfigurations, requiredFields } = useScenarioConfiguration({
|
|
819
|
-
parseConfiguration: parseConfiguration$1,
|
|
820
|
-
legalEntityType: LegalEntityTypes.TRUST,
|
|
821
|
-
setLoadingStatus,
|
|
822
|
-
country: currentCountry
|
|
823
|
-
});
|
|
824
|
-
const fieldsFromCustomRules = useMemo(() => rules({
|
|
825
|
-
data: currentState.data,
|
|
826
|
-
country: currentCountry,
|
|
827
|
-
taskType,
|
|
828
|
-
requiredFields,
|
|
829
|
-
isFeatureEnabled
|
|
830
|
-
}), [
|
|
831
|
-
currentCountry,
|
|
832
|
-
currentState.data,
|
|
833
|
-
taskType,
|
|
834
|
-
requiredFields,
|
|
835
|
-
isFeatureEnabled
|
|
836
|
-
]);
|
|
837
|
-
const derivedProps = useMemo(() => getPropsFromConfigurations({
|
|
838
|
-
scenarioConfiguration: fieldConfigurations,
|
|
839
|
-
forms: trustForms$1,
|
|
840
|
-
remediationActions: problems?.remediationActions ? Object.values(problems?.remediationActions) : [],
|
|
841
|
-
dataMissingErrors: problems?.missingData ?? [],
|
|
842
|
-
fieldsWithExistingData: existingTrust ? getFieldsWithExistingData(existingTrust, trustApiKeyMapping, trustDocumentMapping) : [],
|
|
843
|
-
customRules: fieldsFromCustomRules,
|
|
844
|
-
legalEntityType: existingTrust?.type
|
|
845
|
-
}), [
|
|
846
|
-
fieldConfigurations,
|
|
847
|
-
problems?.remediationActions,
|
|
848
|
-
problems?.missingData,
|
|
849
|
-
existingTrust,
|
|
850
|
-
fieldsFromCustomRules
|
|
851
|
-
]);
|
|
852
|
-
const forms = useMemo(() => {
|
|
853
|
-
return addValidityToForms(getRequiredForms(trustForms$1, derivedProps?.requiredFields, derivedProps?.optionalFields), formValidity, problems);
|
|
854
|
-
}, [
|
|
855
|
-
derivedProps,
|
|
856
|
-
formValidity,
|
|
857
|
-
problems
|
|
858
|
-
]);
|
|
859
|
-
const onSubmitTrust = async () => {
|
|
860
|
-
setLoadingStatus("loading");
|
|
861
|
-
const trustDetails = mapTrustToLegalEntity(currentState.data, isFeatureEnabled);
|
|
862
|
-
try {
|
|
863
|
-
const updatedTrust = await submitTrustDetails(trustDetails);
|
|
864
|
-
await submitDocuments({
|
|
865
|
-
forms,
|
|
866
|
-
legalEntity: updatedTrust,
|
|
867
|
-
dataSubmitted: currentState.data
|
|
868
|
-
});
|
|
869
|
-
await attachTrustToParentLegalEntity(updatedTrust);
|
|
870
|
-
setLoadingStatus("success");
|
|
871
|
-
showToast({
|
|
872
|
-
label: t(($) => $["successfullyUpdatedDetails"]),
|
|
873
|
-
variant: "success"
|
|
874
|
-
});
|
|
875
|
-
externalOnSubmit?.(currentState.data);
|
|
876
|
-
} catch (e) {
|
|
877
|
-
showToast({
|
|
878
|
-
label: t(($) => $["failedToUpdateDetails"]),
|
|
879
|
-
variant: "error"
|
|
880
|
-
});
|
|
881
|
-
if (isValidationError(e)) setValidationErrors(processValidationErrors(e, taskType));
|
|
882
|
-
else if (isMaintenanceModeError(e)) showToast({
|
|
883
|
-
label: t(($) => $["maintenanceModeMessage"]),
|
|
884
|
-
variant: "error",
|
|
885
|
-
duration: "indefinite"
|
|
886
|
-
});
|
|
887
|
-
setLoadingStatus("success");
|
|
888
|
-
}
|
|
889
|
-
};
|
|
890
|
-
const onSubmitUnincorporatedPartnership = async () => {
|
|
891
|
-
setLoadingStatus("loading");
|
|
892
|
-
const unincorporatedPartnershipDetails = mapUnincorporatedPartnershipToLegalEntity(currentState.data, isFeatureEnabled);
|
|
893
|
-
try {
|
|
894
|
-
const updatedUnincorporatedPartnershipDetails = await submitTrustDetails(unincorporatedPartnershipDetails);
|
|
895
|
-
await submitDocuments({
|
|
896
|
-
forms,
|
|
897
|
-
legalEntity: updatedUnincorporatedPartnershipDetails,
|
|
898
|
-
dataSubmitted: currentState.data
|
|
899
|
-
});
|
|
900
|
-
await attachTrustToParentLegalEntity(updatedUnincorporatedPartnershipDetails);
|
|
901
|
-
setLoadingStatus("success");
|
|
902
|
-
showToast({
|
|
903
|
-
label: t(($) => $["successfullyUpdatedDetails"]),
|
|
904
|
-
variant: "success"
|
|
905
|
-
});
|
|
906
|
-
externalOnSubmit?.(currentState.data);
|
|
907
|
-
} catch (e) {
|
|
908
|
-
showToast({
|
|
909
|
-
label: t(($) => $["failedToUpdateDetails"]),
|
|
910
|
-
variant: "error"
|
|
911
|
-
});
|
|
912
|
-
if (isValidationError(e)) setValidationErrors(processValidationErrors(e, taskType));
|
|
913
|
-
else if (isMaintenanceModeError(e)) showToast({
|
|
914
|
-
label: t(($) => $["maintenanceModeMessage"]),
|
|
915
|
-
variant: "error",
|
|
916
|
-
duration: "indefinite"
|
|
917
|
-
});
|
|
918
|
-
setLoadingStatus("success");
|
|
919
|
-
}
|
|
920
|
-
};
|
|
921
|
-
const { mutateAsync: createLegalEntity } = useCreateLegalEntity();
|
|
922
|
-
const { mutateAsync: updateLegalEntity } = useUpdateLegalEntity();
|
|
923
|
-
const submitTrustDetails = async (legalEntity) => {
|
|
924
|
-
if (!existingTrust) return await createLegalEntity(legalEntity);
|
|
925
|
-
else return await updateLegalEntity({
|
|
926
|
-
...drop("type").from(legalEntity),
|
|
927
|
-
id: existingTrust.id
|
|
928
|
-
});
|
|
929
|
-
};
|
|
930
|
-
const documentUtils = documentApiUtils({
|
|
931
|
-
baseUrl: baseUrl.value,
|
|
932
|
-
rootLegalEntityId: rootLegalEntityId.value
|
|
933
|
-
});
|
|
934
|
-
const submitDocuments = async ({ forms, legalEntity, dataSubmitted }) => {
|
|
935
|
-
if (isDocumentsRequired(forms)) {
|
|
936
|
-
const formattedDocument = await mapTrustDocumentToApiDocument(dataSubmitted, legalEntity.id);
|
|
937
|
-
if (formattedDocument) await documentUtils.uploadDocuments([formattedDocument], legalEntity.id);
|
|
938
|
-
}
|
|
939
|
-
};
|
|
940
|
-
const isDocumentsRequired = (forms) => forms.some((form) => form.formId === trustForms$1.trustConstitutionalDocument.formId);
|
|
941
|
-
const attachTrustToParentLegalEntity = async (trust) => {
|
|
942
|
-
if (existingTrust?.id) return;
|
|
943
|
-
const existingEntityAssociations = getOwnEntityAssociations(parentLegalEntity);
|
|
944
|
-
await updateLegalEntity({
|
|
945
|
-
entityAssociations: [{
|
|
946
|
-
type: trust.type,
|
|
947
|
-
legalEntityId: trust.id
|
|
948
|
-
}, ...existingEntityAssociations],
|
|
949
|
-
id: parentLegalEntity.id
|
|
950
|
-
});
|
|
951
|
-
};
|
|
952
|
-
const formatDataForSummary = (formData, forms) => {
|
|
953
|
-
let summaryData = cloneObject(formData) || {};
|
|
954
|
-
const country = formData.trustRegistrationDetails?.country ?? (existingTrust ? getLegalEntityCountry(existingTrust) : getLegalEntityCountry(parentLegalEntity));
|
|
955
|
-
if (formData.trustRegistrationDetails) {
|
|
956
|
-
const trustCountry = formData.trustRegistrationDetails.country && datasetUtils.getCountryName(formData.trustRegistrationDetails.country);
|
|
957
|
-
const trustType = formData.trustRegistrationDetails.trustType && t(($) => $[formData.trustRegistrationDetails.trustType], { ns: "trust" });
|
|
958
|
-
const registrationNumberLabel = resolveFieldMetadata(registrationNumberDefaultFieldConfig[country], {
|
|
959
|
-
companyType: LegalEntityTypes.TRUST,
|
|
960
|
-
registrationNumberType: formData.trustRegistrationDetails.registrationNumber ? inferCompanyRegistrationNumberType(formData.trustRegistrationDetails.registrationNumber, country, LegalEntityTypes.TRUST) : getCompanyRegistrationNumberOptions(country, LegalEntityTypes.TRUST)?.[0]?.id
|
|
961
|
-
}, registrationNumberDefaultFieldMetadata).label;
|
|
962
|
-
const taxIdLabel = resolveFieldMetadata(taxInformationDefaultFieldConfig[country], {
|
|
963
|
-
companyType: LegalEntityTypes.TRUST,
|
|
964
|
-
taxIdNumberType: countryToTaxInfoTypeMap[country]
|
|
965
|
-
}, taxInformationDefaultFieldMetadata).label;
|
|
966
|
-
summaryData.trustRegistrationDetails = {
|
|
967
|
-
[isUnincorporatedPartnership ? "legalName" : "nameOfTrustAgreement"]: formData.trustRegistrationDetails?.legalName,
|
|
968
|
-
doingBusinessAs: formData.trustRegistrationDetails?.doingBusinessAs,
|
|
969
|
-
countryRegionOfEstablishment: trustCountry,
|
|
970
|
-
typeOfTrustAgreement: isUnincorporatedPartnership ? void 0 : trustType,
|
|
971
|
-
objectOfTrust: formData.trustRegistrationDetails?.objectOfTrust,
|
|
972
|
-
[taxIdLabel]: formData.trustRegistrationDetails?.taxInformation?.find((taxId) => country === taxId.country)?.number,
|
|
973
|
-
[registrationNumberLabel]: formData.trustRegistrationDetails.registrationNumber
|
|
974
|
-
};
|
|
136
|
+
if (typeof data.trustRegistrationDetails?.hasDoingBusinessAs !== "undefined") requestObj.unincorporatedPartnership.doingBusinessAsAbsent = !data.trustRegistrationDetails?.hasDoingBusinessAs;
|
|
137
|
+
} else {
|
|
138
|
+
requestObj.unincorporatedPartnership.doingBusinessAs = data.trustRegistrationDetails?.doingBusinessAs || data.trustRegistrationDetails?.legalName || "";
|
|
139
|
+
delete requestObj.unincorporatedPartnership.doingBusinessAsAbsent;
|
|
140
|
+
}
|
|
141
|
+
requestObj.type = LegalEntityTypes.UNINCORPORATED_PARTNERSHIP;
|
|
142
|
+
return requestObj;
|
|
143
|
+
};
|
|
144
|
+
//#endregion
|
|
145
|
+
//#region src/components/Trust/forms/Trust/rules.ts
|
|
146
|
+
var COUNTRIES_THAT_USE_REGISTRATION_NUMBER = [CountryCodes.NewZealand];
|
|
147
|
+
var rules = ({ data, country, taskType }) => createFormRules({
|
|
148
|
+
countryUsesTaxId: () => {
|
|
149
|
+
if (taskType === TaskTypes.UNINCORPORATED_PARTNERSHIP) {
|
|
150
|
+
if (UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_REQUIRED.includes(country)) return "REQUIRED";
|
|
151
|
+
if (UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_OPTIONAL.includes(country)) return "OPTIONAL";
|
|
975
152
|
}
|
|
976
|
-
if (
|
|
977
|
-
|
|
978
|
-
|
|
153
|
+
if (country !== CountryCodes.NewZealand && COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT.includes(country)) return "REQUIRED";
|
|
154
|
+
},
|
|
155
|
+
countryRequiresRegistrationNumberForTrust: () => {
|
|
156
|
+
if (taskType === TaskTypes.UNINCORPORATED_PARTNERSHIP) {
|
|
157
|
+
if (UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_REQUIRED.includes(country)) return "REQUIRED";
|
|
158
|
+
if (UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_OPTIONAL.includes(country)) return "OPTIONAL";
|
|
979
159
|
}
|
|
980
|
-
if (
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
160
|
+
if (COUNTRIES_THAT_USE_REGISTRATION_NUMBER.includes(country)) return "REQUIRED";
|
|
161
|
+
},
|
|
162
|
+
registrationNumberType: () => {
|
|
163
|
+
if (taskType === TaskTypes.UNINCORPORATED_PARTNERSHIP) {
|
|
164
|
+
if (UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_REQUIRED.includes(country)) return "OPTIONAL";
|
|
165
|
+
if (UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_OPTIONAL.includes(country)) return "OPTIONAL";
|
|
166
|
+
}
|
|
167
|
+
if (COUNTRIES_THAT_USE_REGISTRATION_NUMBER.includes(country)) return "OPTIONAL";
|
|
168
|
+
},
|
|
169
|
+
countryUsesVatNumber: () => {
|
|
170
|
+
if (taskType === TaskTypes.UNINCORPORATED_PARTNERSHIP) {
|
|
171
|
+
if (UNINCORPORATED_PARTNERSHIP_COUNTRIES_VAT_NUMBER_OPTIONAL.includes(country)) return "OPTIONAL";
|
|
172
|
+
}
|
|
173
|
+
},
|
|
174
|
+
trustTypeHasDescription: () => {
|
|
175
|
+
if (data?.trustRegistrationDetails?.trustType === "charitableTrust") return "REQUIRED";
|
|
176
|
+
},
|
|
177
|
+
requireDoingBusinessAsName: () => {
|
|
178
|
+
return data?.trustRegistrationDetails?.hasDoingBusinessAs ? "REQUIRED" : void 0;
|
|
179
|
+
},
|
|
180
|
+
requiresTrustType: () => {
|
|
181
|
+
if (taskType === TaskTypes.TRUST) return "REQUIRED";
|
|
182
|
+
}
|
|
183
|
+
});
|
|
184
|
+
//#endregion
|
|
185
|
+
//#region src/components/Trust/mapping/mapLegalEntityToTrust.ts
|
|
186
|
+
var mapLegalEntityToTrust = (legalEntity, isFeatureEnabled) => {
|
|
187
|
+
if (!legalEntity.trust) throw new Error("LE missing trust field");
|
|
188
|
+
let trustCompData = formatObject(legalEntity, trustComponentsKeyMapping);
|
|
189
|
+
if (!trustCompData?.trustRegistrationDetails) return {};
|
|
190
|
+
trustCompData.trustRegistrationDetails.vatNumberType = getDefaultVatNumberType(legalEntity.trust.vatNumber, legalEntity.trust.countryOfGoverningLaw);
|
|
191
|
+
trustCompData.trustRegistrationDetails.registrationNumberType = getDefaultRegistrationNumberType(legalEntity.trust.registrationNumber, legalEntity.trust.countryOfGoverningLaw, LegalEntityTypes.TRUST);
|
|
192
|
+
trustCompData.trustRegistrationDetails.country = legalEntity.trust.countryOfGoverningLaw;
|
|
193
|
+
if (legalEntity.trust.description) trustCompData.trustRegistrationDetails.objectOfTrust = legalEntity.trust.description;
|
|
194
|
+
if (legalEntity.trust.principalPlaceOfBusiness) trustCompData.trustRegistrationAddress.operationalAddressIsSame = operationalAddressIsSameIds.OPERATIONAL_ADDRESS_IS_NOT_SAME;
|
|
195
|
+
else {
|
|
196
|
+
if (!trustCompData.trustRegistrationAddress) trustCompData.trustRegistrationAddress = {};
|
|
197
|
+
trustCompData.trustRegistrationAddress.operationalAddressIsSame = operationalAddressIsSameIds.OPERATIONAL_ADDRESS_IS_SAME;
|
|
198
|
+
}
|
|
199
|
+
if (legalEntity.trust.taxInformation?.length) {
|
|
200
|
+
const { country } = legalEntity.trust.registeredAddress;
|
|
201
|
+
const countryTaxInformation = legalEntity.trust.taxInformation.find((info) => info.country === country);
|
|
202
|
+
if (countryTaxInformation?.type === "UEN") trustCompData.trustRegistrationDetails.isUen = true;
|
|
203
|
+
if (countryTaxInformation?.type === "GST") trustCompData.trustRegistrationDetails.isUen = false;
|
|
204
|
+
const taxNumberAbsent = countryTaxInformation?.numberAbsent;
|
|
205
|
+
if (taxNumberAbsent !== void 0) trustCompData.trustRegistrationDetails.exemptedFromTax = taxNumberAbsent;
|
|
206
|
+
}
|
|
207
|
+
if (legalEntity.documentDetails?.length) trustCompData = {
|
|
208
|
+
...trustCompData,
|
|
209
|
+
...mapApiDocumentToTrustDocument(legalEntity?.id)
|
|
991
210
|
};
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
data: formatDataForSummary(currentState.data, forms),
|
|
1017
|
-
omitted: { keys: ["operationalAddressIsSame"] }
|
|
1018
|
-
},
|
|
1019
|
-
steps,
|
|
1020
|
-
children: /* @__PURE__ */ jsx(Trust, {
|
|
1021
|
-
...derivedProps,
|
|
1022
|
-
activeForm,
|
|
1023
|
-
capabilities,
|
|
1024
|
-
data: initialData,
|
|
1025
|
-
country: currentCountry,
|
|
1026
|
-
problems,
|
|
1027
|
-
shouldValidate,
|
|
1028
|
-
taskType
|
|
1029
|
-
})
|
|
211
|
+
if (isFeatureEnabled("EnableDoingBusinessAsNameV4")) {
|
|
212
|
+
if (typeof trustCompData.trustRegistrationDetails?.hasDoingBusinessAs === "boolean") {
|
|
213
|
+
trustCompData.trustRegistrationDetails.hasDoingBusinessAs = !legalEntity.trust.doingBusinessAsAbsent;
|
|
214
|
+
if (!trustCompData.trustRegistrationDetails.hasDoingBusinessAs) delete legalEntity.trust?.doingBusinessAs;
|
|
215
|
+
}
|
|
216
|
+
} else {
|
|
217
|
+
trustCompData.trustRegistrationDetails.hasDoingBusinessAs = legalEntity.trust.doingBusinessAs ? legalEntity.trust.doingBusinessAs !== legalEntity.trust.name : void 0;
|
|
218
|
+
trustCompData.trustRegistrationDetails.doingBusinessAs = legalEntity.trust.doingBusinessAs;
|
|
219
|
+
}
|
|
220
|
+
return trustCompData;
|
|
221
|
+
};
|
|
222
|
+
//#endregion
|
|
223
|
+
//#region src/components/Trust/mapping/mapTrustDocumentToApiDocument.ts
|
|
224
|
+
var mapTrustDocumentToApiDocument = async (data, entityId) => {
|
|
225
|
+
const constitutionalDocument = data?.trustConstitutionalDocument?.constitutionalDocument;
|
|
226
|
+
if (!constitutionalDocument) throw new Error("Constitutional document missing");
|
|
227
|
+
const page1 = constitutionalDocument[0];
|
|
228
|
+
if (!page1) throw new Error("Document needs at least one page");
|
|
229
|
+
return await createDocumentRequest({
|
|
230
|
+
entityId,
|
|
231
|
+
entityType: "legalEntity",
|
|
232
|
+
documentType: "constitutionalDocument",
|
|
233
|
+
page1,
|
|
234
|
+
existingDocument: getDocument(entityId, "constitutionalDocument")
|
|
1030
235
|
});
|
|
1031
|
-
}
|
|
236
|
+
};
|
|
237
|
+
//#endregion
|
|
238
|
+
//#region src/components/Trust/mapping/mapTrustToLegalEntity.ts
|
|
239
|
+
var mapTrustToLegalEntity = (data, isFeatureEnabled) => {
|
|
240
|
+
const requestObj = { ...formatObject(data, trustApiKeyMapping) };
|
|
241
|
+
if (!requestObj.trust) return requestObj;
|
|
242
|
+
if (data.trustRegistrationDetails?.objectOfTrust) requestObj.trust.description = data.trustRegistrationDetails.objectOfTrust;
|
|
243
|
+
if (isFeatureEnabled("EnableDoingBusinessAsNameV4")) {
|
|
244
|
+
requestObj.trust.doingBusinessAsAbsent = typeof data.trustRegistrationDetails?.hasDoingBusinessAs !== "undefined" ? !data.trustRegistrationDetails?.hasDoingBusinessAs : void 0;
|
|
245
|
+
if (requestObj.trust.doingBusinessAsAbsent) requestObj.trust.doingBusinessAs = "";
|
|
246
|
+
} else {
|
|
247
|
+
delete requestObj.trust?.doingBusinessAsAbsent;
|
|
248
|
+
requestObj.trust.doingBusinessAs = data.trustRegistrationDetails?.doingBusinessAs || data.trustRegistrationDetails?.legalName;
|
|
249
|
+
}
|
|
250
|
+
requestObj.type = LegalEntityTypes.TRUST;
|
|
251
|
+
return requestObj;
|
|
252
|
+
};
|
|
1032
253
|
//#endregion
|
|
1033
254
|
//#region src/components/Shared/forms/RegistrationAddress/RegistrationAddressMultiform.tsx
|
|
1034
255
|
var registrationAddressFormID = {
|
|
@@ -1140,10 +361,20 @@ function RegistrationAddressMultiform(props) {
|
|
|
1140
361
|
] });
|
|
1141
362
|
}
|
|
1142
363
|
//#endregion
|
|
1143
|
-
//#region src/components/Trust/forms/TrustRegistrationDetails/
|
|
364
|
+
//#region src/components/Trust/forms/TrustRegistrationDetails/TrustRegistrationDetails.tsx
|
|
365
|
+
var trustRegistrationDetailsFields = [
|
|
366
|
+
"legalName",
|
|
367
|
+
...DBA_NAME_FIELD,
|
|
368
|
+
"country",
|
|
369
|
+
"trustType",
|
|
370
|
+
"objectOfTrust",
|
|
371
|
+
...TAX_INFORMATION_FIELD,
|
|
372
|
+
...BUSINESS_REGISTRATION_NUMBER_FIELD,
|
|
373
|
+
...VAT_NUMBER_FIELD
|
|
374
|
+
];
|
|
1144
375
|
var ALLOWED_TRUST_COUNTRIES = [CountryCodes.Australia, CountryCodes.NewZealand];
|
|
1145
|
-
var TRUST_REGISTRATION_DETAILS =
|
|
1146
|
-
function
|
|
376
|
+
var TRUST_REGISTRATION_DETAILS = "trustRegistrationDetails";
|
|
377
|
+
function TrustRegistrationDetails({ fieldValidationErrors = {}, formVerificationErrors = {}, heading, shouldValidate, taskType, country: parentLegalEntityCountry }) {
|
|
1147
378
|
const { t: trustT } = useTranslation("trust");
|
|
1148
379
|
const { t: CommonT } = useTranslation("common");
|
|
1149
380
|
const { form } = useFormContext();
|
|
@@ -1162,7 +393,7 @@ function TrustRegistrationDetailsMultiform({ fieldValidationErrors = {}, formVer
|
|
|
1162
393
|
const country = data?.country ?? parentLegalEntityCountry;
|
|
1163
394
|
const trustTypeOptions = getCountrySpecificTrustTypeOptions(country) ?? [];
|
|
1164
395
|
const isUnincorporatedPartnership = taskType === TaskTypes.UNINCORPORATED_PARTNERSHIP;
|
|
1165
|
-
const handleChange = (fieldName, mode) => form.handleChangeFor(fieldName,
|
|
396
|
+
const handleChange = (fieldName, mode) => form.handleChangeFor(fieldName, TRUST_REGISTRATION_DETAILS, mode);
|
|
1166
397
|
const changeTrustType = (e) => {
|
|
1167
398
|
handleChange("trustType", "blur")(e);
|
|
1168
399
|
if (e.target.value !== "charitableTrust") form.setData("objectOfTrust", void 0, TRUST_REGISTRATION_DETAILS);
|
|
@@ -1231,7 +462,7 @@ function TrustRegistrationDetailsMultiform({ fieldValidationErrors = {}, formVer
|
|
|
1231
462
|
color: "secondary",
|
|
1232
463
|
children: trustT(($) => $["makeSureToHaveYourTrustDeed"])
|
|
1233
464
|
}),
|
|
1234
|
-
className: "
|
|
465
|
+
className: "u-margin-bottom-16"
|
|
1235
466
|
}),
|
|
1236
467
|
formUtils.isRequiredField("country") && /* @__PURE__ */ jsx(CountryField, {
|
|
1237
468
|
data: formUtils.getFieldData(data, COUNTRY_FIELD),
|
|
@@ -1313,7 +544,7 @@ function TrustRegistrationDetailsMultiform({ fieldValidationErrors = {}, formVer
|
|
|
1313
544
|
handleChangeFor: handleChange,
|
|
1314
545
|
optional: formUtils.isOptionalField("taxInformation"),
|
|
1315
546
|
canExempt: formUtils.isRequiredField("exemptedFromTax"),
|
|
1316
|
-
country
|
|
547
|
+
country,
|
|
1317
548
|
entityType: LegalEntityTypes.TRUST,
|
|
1318
549
|
defaultData: data?.taxInformation,
|
|
1319
550
|
registrationNumber: data.registrationNumber
|
|
@@ -1351,10 +582,10 @@ function TrustRegistrationDetailsMultiform({ fieldValidationErrors = {}, formVer
|
|
|
1351
582
|
});
|
|
1352
583
|
}
|
|
1353
584
|
//#endregion
|
|
1354
|
-
//#region src/components/Trust/tasks/TrustDropin/
|
|
585
|
+
//#region src/components/Trust/tasks/TrustDropin/Trust.tsx
|
|
1355
586
|
var trustForms = {
|
|
1356
587
|
trustRegistrationDetails: {
|
|
1357
|
-
formId:
|
|
588
|
+
formId: TRUST_REGISTRATION_DETAILS,
|
|
1358
589
|
formName: "registrationDetails",
|
|
1359
590
|
fields: [...trustRegistrationDetailsFields]
|
|
1360
591
|
},
|
|
@@ -1370,9 +601,9 @@ var trustForms = {
|
|
|
1370
601
|
}
|
|
1371
602
|
};
|
|
1372
603
|
var trustRegistrationAddressFormId = trustForms.trustRegistrationAddress.formId;
|
|
1373
|
-
var trustRegistrationDetailsFormId =
|
|
604
|
+
var trustRegistrationDetailsFormId = TRUST_REGISTRATION_DETAILS;
|
|
1374
605
|
var trustConstitutionalDocumentFormId = trustForms.trustConstitutionalDocument.formId;
|
|
1375
|
-
function
|
|
606
|
+
function Trust(props) {
|
|
1376
607
|
const { t } = useTranslation(["common", "trust"]);
|
|
1377
608
|
const { country, activeForm, taskType, shouldValidate, problems = {} } = props;
|
|
1378
609
|
const { form } = useFormContext();
|
|
@@ -1382,7 +613,7 @@ function TrustMultiform(props) {
|
|
|
1382
613
|
}
|
|
1383
614
|
const renderActiveForm = (activeForm) => {
|
|
1384
615
|
switch (activeForm.formId) {
|
|
1385
|
-
case trustRegistrationDetailsFormId: return /* @__PURE__ */ jsx(
|
|
616
|
+
case trustRegistrationDetailsFormId: return /* @__PURE__ */ jsx(TrustRegistrationDetails, {
|
|
1386
617
|
heading: t(($) => $["registrationDetails"]),
|
|
1387
618
|
id: trustRegistrationDetailsFormId,
|
|
1388
619
|
taskType,
|
|
@@ -1417,12 +648,96 @@ function TrustMultiform(props) {
|
|
|
1417
648
|
default: return null;
|
|
1418
649
|
}
|
|
1419
650
|
};
|
|
1420
|
-
return /* @__PURE__ */ jsx("div", {
|
|
1421
|
-
className: "adyen-kyc-form-wrapper",
|
|
1422
|
-
children: renderActiveForm(activeForm || trustForms.trustRegistrationDetails)
|
|
1423
|
-
});
|
|
651
|
+
return /* @__PURE__ */ jsx("div", { children: renderActiveForm(activeForm || trustForms.trustRegistrationDetails) });
|
|
1424
652
|
}
|
|
1425
653
|
//#endregion
|
|
654
|
+
//#region src/components/Trust/tasks/TrustDropin/trustFormConfig.ts
|
|
655
|
+
var trustBase = {
|
|
656
|
+
trustType: { rule: "requiresTrustType" },
|
|
657
|
+
objectOfTrust: { rule: "trustTypeHasDescription" },
|
|
658
|
+
legalName: { rule: "REQUIRED" },
|
|
659
|
+
hasDoingBusinessAs: { rule: "REQUIRED" },
|
|
660
|
+
doingBusinessAs: { rule: "requireDoingBusinessAsName" },
|
|
661
|
+
country: { rule: "REQUIRED" },
|
|
662
|
+
taxInformation: { rule: "countryUsesTaxId" },
|
|
663
|
+
registrationAddress: { rule: "REQUIRED" },
|
|
664
|
+
operationalAddress: { rule: "OPTIONAL" },
|
|
665
|
+
constitutionalDocument: { rule: "REQUIRED" },
|
|
666
|
+
registrationNumber: { rule: "countryRequiresRegistrationNumberForTrust" },
|
|
667
|
+
registrationNumberType: { rule: "registrationNumberType" },
|
|
668
|
+
vatNumber: { rule: "countryUsesVatNumber" },
|
|
669
|
+
vatNumberType: { rule: "countryUsesVatNumber" },
|
|
670
|
+
operationalAddressIsSame: { rule: "REQUIRED" }
|
|
671
|
+
};
|
|
672
|
+
var trustFieldsPerScenario = {
|
|
673
|
+
L0: { ...trustBase },
|
|
674
|
+
L1: { ...trustBase },
|
|
675
|
+
L: { ...trustBase }
|
|
676
|
+
};
|
|
677
|
+
var trustCountryConfig = {};
|
|
678
|
+
//#endregion
|
|
679
|
+
//#region src/components/Trust/forms/TrustRegistrationDetails/validate.ts
|
|
680
|
+
var trustRegistrationDetailsValidations = {
|
|
681
|
+
trustType: {
|
|
682
|
+
modes: ["blur"],
|
|
683
|
+
validate: (trustType) => !!trustType,
|
|
684
|
+
errorMessage: "fieldIsRequired"
|
|
685
|
+
},
|
|
686
|
+
country: {
|
|
687
|
+
modes: ["blur"],
|
|
688
|
+
validate: (country) => !!country,
|
|
689
|
+
errorMessage: "fieldIsRequired"
|
|
690
|
+
},
|
|
691
|
+
legalName: {
|
|
692
|
+
modes: ["blur"],
|
|
693
|
+
validate: (legalName) => !!legalName,
|
|
694
|
+
errorMessage: "fieldIsRequired"
|
|
695
|
+
},
|
|
696
|
+
objectOfTrust: {
|
|
697
|
+
modes: ["blur"],
|
|
698
|
+
validate: (objectOfTrust) => !!objectOfTrust,
|
|
699
|
+
errorMessage: "fieldIsRequired"
|
|
700
|
+
},
|
|
701
|
+
hasDoingBusinessAs: validateNotEmptyOnBlur,
|
|
702
|
+
doingBusinessAs: validateNotEmptyOnBlur
|
|
703
|
+
};
|
|
704
|
+
var trustRegistrationDetailsValidationsV4 = {
|
|
705
|
+
trustType: {
|
|
706
|
+
modes: ["blur"],
|
|
707
|
+
validate: (trustType) => !!trustType,
|
|
708
|
+
errorMessage: "fieldIsRequired"
|
|
709
|
+
},
|
|
710
|
+
country: {
|
|
711
|
+
modes: ["blur"],
|
|
712
|
+
validate: (country) => !!country,
|
|
713
|
+
errorMessage: "fieldIsRequired"
|
|
714
|
+
},
|
|
715
|
+
legalName: [
|
|
716
|
+
{
|
|
717
|
+
modes: ["blur"],
|
|
718
|
+
validate: hasText,
|
|
719
|
+
errorMessage: "fieldIsRequired"
|
|
720
|
+
},
|
|
721
|
+
{
|
|
722
|
+
modes: ["blur"],
|
|
723
|
+
validate: (input) => !matchesRegex(NO_ALPHABET_REGEX, input),
|
|
724
|
+
errorMessage: "nameMustContainLetters"
|
|
725
|
+
},
|
|
726
|
+
{
|
|
727
|
+
modes: ["blur"],
|
|
728
|
+
validate: (input) => !matchesRegex(EMOJI_REGEX, input) && !hasRepeatedCharacters(input) && isValidMinLength(input, 3) && !isInvalidName(input) && matchesRegex(OTHER_ENTITIES_VALID_CHAR_REGEX, input),
|
|
729
|
+
errorMessage: "checkForTypos"
|
|
730
|
+
}
|
|
731
|
+
],
|
|
732
|
+
objectOfTrust: {
|
|
733
|
+
modes: ["blur"],
|
|
734
|
+
validate: (objectOfTrust) => !!objectOfTrust,
|
|
735
|
+
errorMessage: "fieldIsRequired"
|
|
736
|
+
},
|
|
737
|
+
hasDoingBusinessAs: validateNotEmptyOnBlur,
|
|
738
|
+
doingBusinessAs: validateNotEmptyOnBlur
|
|
739
|
+
};
|
|
740
|
+
//#endregion
|
|
1426
741
|
//#region src/components/Trust/tasks/TrustDropin/validate.ts
|
|
1427
742
|
function trustRegistrationDetailsValidators(country, trustRegistrationDetails = {}, isFeatureEnabled) {
|
|
1428
743
|
const defaultTrustRegistrationDetailsValidators = isFeatureEnabled("StrictNameAndAddressValidationV4") ? trustRegistrationDetailsValidationsV4 : trustRegistrationDetailsValidations;
|
|
@@ -1446,10 +761,10 @@ function trustRegistrationDetailsValidators(country, trustRegistrationDetails =
|
|
|
1446
761
|
};
|
|
1447
762
|
}
|
|
1448
763
|
//#endregion
|
|
1449
|
-
//#region src/components/Trust/tasks/TrustDropin/
|
|
764
|
+
//#region src/components/Trust/tasks/TrustDropin/TrustDropin.tsx
|
|
1450
765
|
var parseTrustScenarios = (scenarios, country) => augmentWithCountryConfigs(trustCountryConfig[country], composePerScenarioFormConfigurations(scenarios, trustFieldsPerScenario));
|
|
1451
766
|
var parseConfiguration = ({ scenarios, country }) => parseTrustScenarios(scenarios, country);
|
|
1452
|
-
function
|
|
767
|
+
function TrustDropin({ parentLegalEntity, country: countryProp, existingTrust, taskType, problems: problemsProp, onSubmit: externalOnSubmit, handleHomeClick }) {
|
|
1453
768
|
const { baseUrl, rootLegalEntityId } = useApiContext();
|
|
1454
769
|
const { t, i18n } = useTranslation(["common", "trust"]);
|
|
1455
770
|
const [validationErrors, setValidationErrors] = useState();
|
|
@@ -1531,7 +846,7 @@ function TrustMultiformDropin({ parentLegalEntity, country: countryProp, existin
|
|
|
1531
846
|
useEffect(() => {
|
|
1532
847
|
setDerivedProps(getPropsFromConfigurations({
|
|
1533
848
|
scenarioConfiguration: fieldConfigurations,
|
|
1534
|
-
forms: trustForms
|
|
849
|
+
forms: trustForms,
|
|
1535
850
|
remediationActions: problems?.remediationActions ? Object.values(problems?.remediationActions) : [],
|
|
1536
851
|
dataMissingErrors: problems?.missingData ?? [],
|
|
1537
852
|
fieldsWithExistingData: existingTrust ? getFieldsWithExistingData(existingTrust, trustApiKeyMapping, trustDocumentMapping) : [],
|
|
@@ -1554,7 +869,7 @@ function TrustMultiformDropin({ parentLegalEntity, country: countryProp, existin
|
|
|
1554
869
|
setPrevCountry(multiForm.data.trustRegistrationDetails?.country);
|
|
1555
870
|
}
|
|
1556
871
|
const forms = useMemo(() => {
|
|
1557
|
-
return addValidityToForms(getRequiredForms(trustForms
|
|
872
|
+
return addValidityToForms(getRequiredForms(trustForms, derivedProps?.requiredFields, derivedProps?.optionalFields), multiForm.isValid, problems);
|
|
1558
873
|
}, [
|
|
1559
874
|
derivedProps,
|
|
1560
875
|
multiForm.isValid,
|
|
@@ -1578,16 +893,16 @@ function TrustMultiformDropin({ parentLegalEntity, country: countryProp, existin
|
|
|
1578
893
|
});
|
|
1579
894
|
externalOnSubmit?.(multiForm.data);
|
|
1580
895
|
} catch (e) {
|
|
1581
|
-
showToast({
|
|
1582
|
-
label: t(($) => $["failedToUpdateDetails"]),
|
|
1583
|
-
variant: "error"
|
|
1584
|
-
});
|
|
1585
896
|
if (isValidationError(e)) setValidationErrors(processValidationErrors(e, taskType));
|
|
1586
897
|
else if (isMaintenanceModeError(e)) showToast({
|
|
1587
898
|
label: t(($) => $["maintenanceModeMessage"]),
|
|
1588
899
|
variant: "error",
|
|
1589
900
|
duration: "indefinite"
|
|
1590
901
|
});
|
|
902
|
+
else showToast({
|
|
903
|
+
label: t(($) => $["failedToUpdateDetails"]),
|
|
904
|
+
variant: "error"
|
|
905
|
+
});
|
|
1591
906
|
setLoadingStatus("success");
|
|
1592
907
|
}
|
|
1593
908
|
};
|
|
@@ -1609,16 +924,16 @@ function TrustMultiformDropin({ parentLegalEntity, country: countryProp, existin
|
|
|
1609
924
|
});
|
|
1610
925
|
externalOnSubmit?.(multiForm.data);
|
|
1611
926
|
} catch (e) {
|
|
1612
|
-
showToast({
|
|
1613
|
-
label: t(($) => $["failedToUpdateDetails"]),
|
|
1614
|
-
variant: "error"
|
|
1615
|
-
});
|
|
1616
927
|
if (isValidationError(e)) setValidationErrors(processValidationErrors(e, taskType));
|
|
1617
928
|
else if (isMaintenanceModeError(e)) showToast({
|
|
1618
929
|
label: t(($) => $["maintenanceModeMessage"]),
|
|
1619
930
|
variant: "error",
|
|
1620
931
|
duration: "indefinite"
|
|
1621
932
|
});
|
|
933
|
+
else showToast({
|
|
934
|
+
label: t(($) => $["failedToUpdateDetails"]),
|
|
935
|
+
variant: "error"
|
|
936
|
+
});
|
|
1622
937
|
setLoadingStatus("success");
|
|
1623
938
|
}
|
|
1624
939
|
};
|
|
@@ -1637,7 +952,7 @@ function TrustMultiformDropin({ parentLegalEntity, country: countryProp, existin
|
|
|
1637
952
|
if (formattedDocument) await documentUtils.uploadDocuments([formattedDocument], legalEntity.id);
|
|
1638
953
|
}
|
|
1639
954
|
};
|
|
1640
|
-
const isDocumentsRequired = (forms) => forms.some((form) => form.formId === trustForms
|
|
955
|
+
const isDocumentsRequired = (forms) => forms.some((form) => form.formId === trustForms.trustConstitutionalDocument.formId);
|
|
1641
956
|
const attachTrustToParentLegalEntity = async (trust) => {
|
|
1642
957
|
if (existingTrust?.id) return;
|
|
1643
958
|
const existingEntityAssociations = getOwnEntityAssociations(parentLegalEntity);
|
|
@@ -1682,7 +997,7 @@ function TrustMultiformDropin({ parentLegalEntity, country: countryProp, existin
|
|
|
1682
997
|
...summaryData,
|
|
1683
998
|
...formatFileSummaryData(formData.trustConstitutionalDocument)
|
|
1684
999
|
};
|
|
1685
|
-
else delete summaryData[trustConstitutionalDocumentFormId
|
|
1000
|
+
else delete summaryData[trustConstitutionalDocumentFormId];
|
|
1686
1001
|
return summaryData;
|
|
1687
1002
|
}, [
|
|
1688
1003
|
datasetUtils,
|
|
@@ -1722,7 +1037,7 @@ function TrustMultiformDropin({ parentLegalEntity, country: countryProp, existin
|
|
|
1722
1037
|
handleBackClick,
|
|
1723
1038
|
handleCancelClick: handleHomeClick,
|
|
1724
1039
|
loadingStatus,
|
|
1725
|
-
children: /* @__PURE__ */ jsx(
|
|
1040
|
+
children: /* @__PURE__ */ jsx(Trust, {
|
|
1726
1041
|
country,
|
|
1727
1042
|
activeForm,
|
|
1728
1043
|
taskType,
|
|
@@ -1737,38 +1052,37 @@ function TrustMultiformDropin({ parentLegalEntity, country: countryProp, existin
|
|
|
1737
1052
|
var TrustDetailsPage = ({ taskType, trustId, handleHomeClick, onSubmit }) => {
|
|
1738
1053
|
const { i18n } = useTranslation();
|
|
1739
1054
|
const { data: rootLe } = useLegalEntity(ROOT_LE);
|
|
1740
|
-
const { isFeatureEnabled } = useToggleContext();
|
|
1741
1055
|
const { data: associatedEntity, isLoading: isAssociatedEntityLoading } = useAssociatedLegalEntity(rootLe, taskType === "TRUST" ? LegalEntityTypes.TRUST : LegalEntityTypes.UNINCORPORATED_PARTNERSHIP);
|
|
1742
1056
|
const { data: trustLeFromProp, isLoading: isTrustLeFromPropLoading } = useLegalEntity(trustId ?? skipToken);
|
|
1743
1057
|
const trustLe = trustLeFromProp ?? associatedEntity;
|
|
1744
1058
|
addResourceBundles(i18n, [{
|
|
1745
1059
|
ns: "trust",
|
|
1746
1060
|
importFn: (lang) => _rolldown_dynamic_import_helper_default(/* @__PURE__ */ Object.assign({
|
|
1747
|
-
"../language/bg-BG.json": () => import("./bg-BG-
|
|
1748
|
-
"../language/cs-CZ.json": () => import("./cs-CZ-
|
|
1749
|
-
"../language/da-DK.json": () => import("./da-DK-
|
|
1750
|
-
"../language/de-DE.json": () => import("./de-DE-
|
|
1751
|
-
"../language/el-GR.json": () => import("./el-GR-
|
|
1752
|
-
"../language/en-US.json": () => import("./en-US-
|
|
1753
|
-
"../language/es-ES.json": () => import("./es-ES-
|
|
1754
|
-
"../language/et-EE.json": () => import("./et-EE-
|
|
1755
|
-
"../language/fi-FI.json": () => import("./fi-FI-
|
|
1756
|
-
"../language/fr-FR.json": () => import("./fr-FR-
|
|
1757
|
-
"../language/hr-HR.json": () => import("./hr-HR-
|
|
1758
|
-
"../language/hu-HU.json": () => import("./hu-HU-
|
|
1759
|
-
"../language/it-IT.json": () => import("./it-IT-
|
|
1760
|
-
"../language/ja-JP.json": () => import("./ja-JP-
|
|
1761
|
-
"../language/lt-LT.json": () => import("./lt-LT-
|
|
1762
|
-
"../language/lv-LV.json": () => import("./lv-LV-
|
|
1763
|
-
"../language/nl-NL.json": () => import("./nl-NL-
|
|
1764
|
-
"../language/no-NO.json": () => import("./no-NO-
|
|
1765
|
-
"../language/pl-PL.json": () => import("./pl-PL-
|
|
1766
|
-
"../language/pt-BR.json": () => import("./pt-BR-
|
|
1767
|
-
"../language/pt-PT.json": () => import("./pt-PT-
|
|
1768
|
-
"../language/ro-RO.json": () => import("./ro-RO-
|
|
1769
|
-
"../language/sk-SK.json": () => import("./sk-SK-
|
|
1770
|
-
"../language/sl-SI.json": () => import("./sl-SI-
|
|
1771
|
-
"../language/sv-SE.json": () => import("./sv-SE-
|
|
1061
|
+
"../language/bg-BG.json": () => import("./bg-BG-YZ34LkMd.js"),
|
|
1062
|
+
"../language/cs-CZ.json": () => import("./cs-CZ-Bl8qBkx4.js"),
|
|
1063
|
+
"../language/da-DK.json": () => import("./da-DK-BOU9aCaN.js"),
|
|
1064
|
+
"../language/de-DE.json": () => import("./de-DE-B8D6bV3u.js"),
|
|
1065
|
+
"../language/el-GR.json": () => import("./el-GR-mGnv3b-O.js"),
|
|
1066
|
+
"../language/en-US.json": () => import("./en-US-aJtjsYKh.js"),
|
|
1067
|
+
"../language/es-ES.json": () => import("./es-ES-BAAL2h3R.js"),
|
|
1068
|
+
"../language/et-EE.json": () => import("./et-EE-C4U93xrJ.js"),
|
|
1069
|
+
"../language/fi-FI.json": () => import("./fi-FI-IwaR92iX.js"),
|
|
1070
|
+
"../language/fr-FR.json": () => import("./fr-FR-DwYX21r1.js"),
|
|
1071
|
+
"../language/hr-HR.json": () => import("./hr-HR-CFAySNqh.js"),
|
|
1072
|
+
"../language/hu-HU.json": () => import("./hu-HU-DXHf3uuK.js"),
|
|
1073
|
+
"../language/it-IT.json": () => import("./it-IT-BK6Yn4vc.js"),
|
|
1074
|
+
"../language/ja-JP.json": () => import("./ja-JP-B5fRnSzi.js"),
|
|
1075
|
+
"../language/lt-LT.json": () => import("./lt-LT-Dkvuak-E.js"),
|
|
1076
|
+
"../language/lv-LV.json": () => import("./lv-LV-Cz0igciN.js"),
|
|
1077
|
+
"../language/nl-NL.json": () => import("./nl-NL-BTuDiajY.js"),
|
|
1078
|
+
"../language/no-NO.json": () => import("./no-NO-D6C6Imfk.js"),
|
|
1079
|
+
"../language/pl-PL.json": () => import("./pl-PL-DNdGYT-E.js"),
|
|
1080
|
+
"../language/pt-BR.json": () => import("./pt-BR-BgiNMjMc.js"),
|
|
1081
|
+
"../language/pt-PT.json": () => import("./pt-PT-CWzCKCL8.js"),
|
|
1082
|
+
"../language/ro-RO.json": () => import("./ro-RO-DLtPW1MX.js"),
|
|
1083
|
+
"../language/sk-SK.json": () => import("./sk-SK-DNKyL6Hl.js"),
|
|
1084
|
+
"../language/sl-SI.json": () => import("./sl-SI-DNgxTuIJ.js"),
|
|
1085
|
+
"../language/sv-SE.json": () => import("./sv-SE-BM8WESGs.js")
|
|
1772
1086
|
}), `../language/${lang}.json`, 3)
|
|
1773
1087
|
}]);
|
|
1774
1088
|
const capabilities = useCapabilities();
|
|
@@ -1776,14 +1090,13 @@ var TrustDetailsPage = ({ taskType, trustId, handleHomeClick, onSubmit }) => {
|
|
|
1776
1090
|
const capabilityProblems = useCapabilityProblems();
|
|
1777
1091
|
const problems = capabilityProblems && trustLe?.id ? getProblemsForEntity(capabilityProblems, EntityTypes.LEGAL_ENTITY, trustLe.id) : void 0;
|
|
1778
1092
|
if (!rootLe || isAssociatedEntityLoading || isTrustLeFromPropLoading) return /* @__PURE__ */ jsx(Loader, {});
|
|
1779
|
-
|
|
1780
|
-
return /* @__PURE__ */ jsx(isFeatureEnabled("EnableMultiFormInTrustFlow") ? TrustMultiformDropin : TrustDropin, {
|
|
1093
|
+
return /* @__PURE__ */ jsx(TrustDropin, {
|
|
1781
1094
|
taskType,
|
|
1782
1095
|
problems,
|
|
1783
1096
|
existingTrust: trustLe,
|
|
1784
1097
|
parentLegalEntity: rootLe,
|
|
1785
1098
|
capabilities: capabilityNames,
|
|
1786
|
-
country,
|
|
1099
|
+
country: getLegalEntityCountry(trustLe ?? rootLe),
|
|
1787
1100
|
handleHomeClick,
|
|
1788
1101
|
onSubmit
|
|
1789
1102
|
});
|