@adyen/kyc-components 4.6.0-beta.3 → 4.6.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-DMmAfAUS.js → AcceptTermsOfServiceComponent-D61bfNW0.js} +14 -14
- package/dist/{AccountSetupRejected-JJOnt7FF.js → AccountSetupRejected-zD_ccBqS.js} +1 -1
- package/dist/{ActionBar-CtGPR--b.js → ActionBar-DkXjAAQ1.js} +1 -1
- package/dist/{Address-DNL2tiBR.js → Address-Csavi1J2.js} +9 -9
- package/dist/{Avatar--xsB_6Z2.js → Avatar-D-VHGhFL.js} +1 -1
- package/dist/{BusinessFinancingComponent-B_vTZnhk.js → BusinessFinancingComponent-DG0EWNk6.js} +4 -4
- package/dist/{BusinessFinancingDropin-C9VaUN5P.js → BusinessFinancingDropin-5UqhwnOX.js} +27 -27
- package/dist/{BusinessFinancingPage-DPgfid6x.js → BusinessFinancingPage-CMoJlPym.js} +3 -3
- package/dist/{BusinessTypeSelectionPage-Dndm97LQ.js → BusinessTypeSelectionPage-D4SBQDqJ.js} +8 -8
- package/dist/{Checkbox-Zsp5mpd1.js → Checkbox-BKM1WPHa.js} +1 -1
- package/dist/{Confirm-BzXzQhO2.js → Confirm-gEhhWD8f.js} +2 -2
- package/dist/{ConstitutionalDocument-DOA2PBeK.js → ConstitutionalDocument-CCw9a-FU.js} +17 -17
- package/dist/{ContactDetails-Q-bKwhea.js → ContactDetails-CGBkZMAt.js} +5 -5
- package/dist/{ContextGuidance-DvNFwtQm.js → ContextGuidance-B4qWRid4.js} +1 -1
- package/dist/{CountryField-Cvtj6RC8.js → CountryField-pznzB7Uq.js} +3 -3
- package/dist/{CreateIndividualComponent-flfjUs1m.js → CreateIndividualComponent-yT3Rqlai.js} +4 -4
- package/dist/{CreateTransferInstrumentComponent-C_-6XnBy.js → CreateTransferInstrumentComponent-BbWiq2fM.js} +3 -3
- package/dist/{Currency-CwxrSW7P.js → Currency-DJCryqqJ.js} +6 -6
- package/dist/{CustomerSupport-caqC8DDe.js → CustomerSupport-CJy8LS0W.js} +9 -9
- package/dist/{DebugModal-bNvYqaNk.js → DebugModal-BMXSCZDm.js} +6 -6
- package/dist/{DecisionMakerDetails-qYoDcOok.js → DecisionMakerDetails-BAniwLCh.js} +8 -8
- package/dist/{DecisionMakerDetailsPage-euIc5vIq.js → DecisionMakerDetailsPage-CloS-QIg.js} +6 -6
- package/dist/{DecisionMakers-BJJQ8Uqh.js → DecisionMakers-DrnBmtOE.js} +17 -17
- package/dist/{Dropzone-YW-zkKxh.js → Dropzone-DCTHmJn2.js} +3 -3
- package/dist/{EmbeddedStatus-CHZHZH5K.js → EmbeddedStatus-sF6FG18F.js} +2 -2
- package/dist/{EndStateLayout-C_8qht0P.js → EndStateLayout-D23FWrbD.js} +1 -1
- package/dist/{EntityAssociation-CvbQ1Lwa.js → EntityAssociation-eiVdh677.js} +4 -4
- package/dist/{EntityGuidanceStatus-CJjIEIO4.js → EntityGuidanceStatus-Chbgo62U.js} +3 -3
- package/dist/{ErrorPanel-Ogp9RiKT.js → ErrorPanel-B8fHWJ7W.js} +1 -1
- package/dist/{Field-CAHkeG-9.js → Field-BguffV12.js} +1 -1
- package/dist/{FormNavigation-q8OJBOys.js → FormNavigation-D5KYMYO0.js} +2 -2
- package/dist/{Individual.rules-DVzICDhM.js → Individual.rules-2HzSnI41.js} +5 -5
- package/dist/{IndividualDropin-DFNPUrxR.js → IndividualDropin-CybsCeUw.js} +49 -49
- package/dist/{InputDate-DPsk8Msa.js → InputDate-BjWLJfR1.js} +1 -1
- package/dist/{InputText-Dd2Zt3Uf.js → InputText-C6-NIYzH.js} +1 -1
- package/dist/{Introduction-DvgrKGA9.js → Introduction-UMqxmd6N.js} +3 -3
- package/dist/{InvitedDecisionMakerComponent-vnx03_j4.js → InvitedDecisionMakerComponent-XyPQK6mU.js} +9 -9
- package/dist/{JpAddress-WQespJeR.js → JpAddress-C8wbZfE0.js} +8 -8
- package/dist/{LandingLayout-IzYxPD3r.js → LandingLayout-Dr28QxoC.js} +1 -1
- package/dist/{LegalCompanyNameField--T5DYvSX.js → LegalCompanyNameField-DHyMLbZc.js} +5 -5
- package/dist/{LegalRepresentativeDetailsPage-DhZYnxDG.js → LegalRepresentativeDetailsPage-CusLAG25.js} +3 -3
- package/dist/{Link-BmQg3bH7.js → Link-C1szPOri.js} +1 -1
- package/dist/{ListItem-eSgEdDJ_.js → ListItem-nK0xrija.js} +2 -2
- package/dist/{LoaderWrapper-2rAn7vfp.js → LoaderWrapper-BEzoHtmn.js} +1 -1
- package/dist/{ManageIndividualComponent-CuxXcNON.js → ManageIndividualComponent-DJE85k3F.js} +4 -4
- package/dist/{ManageTermsOfServiceComponent-B8XrnQ8i.js → ManageTermsOfServiceComponent-HijCyHGy.js} +3 -3
- package/dist/{ManageTransferInstrumentComponent-6bv-Pf_B.js → ManageTransferInstrumentComponent-C1f0GAQr.js} +9 -9
- package/dist/{MaskedInput-DHP3xJ7Q.js → MaskedInput-Ckb7nz68.js} +4 -4
- package/dist/{MaybeModal-CKEPBj6Y.js → MaybeModal-DolShkyo.js} +2 -2
- package/dist/{Modal-BSNSyg2O.js → Modal-EL9MXgbw.js} +1 -1
- package/dist/{Name-ijgSqpiq.js → Name-BSak9KXo.js} +4 -4
- package/dist/{NewSummary-CT_-5XNs.js → NewSummary-Buy5WzoM.js} +1 -1
- package/dist/{OnboardingDropinComponent-CIu0ZQxF.js → OnboardingDropinComponent-BRlY6KUs.js} +72 -72
- package/dist/{PayoutDetailsDropin-CKnaw-pV.js → PayoutDetailsDropin-nXxBue_s.js} +32 -32
- package/dist/{PayoutDetailsPage-COH9jBrt.js → PayoutDetailsPage-DHEVWO5C.js} +4 -4
- package/dist/{RadioGroup-DjP9-PJx.js → RadioGroup-BTCmUbA0.js} +1 -1
- package/dist/{Review-5PPypYAk.js → Review-CYOIXbFm.js} +5 -5
- package/dist/{RootBusinessDetailsPage-D7_nJZXo.js → RootBusinessDetailsPage-BZ1QnczY.js} +4 -4
- package/dist/{RootBusinessLinesPage-BQe-iw1C.js → RootBusinessLinesPage-CcUJQEkg.js} +24 -24
- package/dist/{RootIndividualDetailsPage-BmVe4FKX.js → RootIndividualDetailsPage-C2GvNs12.js} +5 -5
- package/dist/{Select-Cdl9XXxR.js → Select-BgkHFapB.js} +3 -3
- package/dist/{SignPCIComponent-BdX2lQiO.js → SignPCIComponent-CpAtbAKc.js} +10 -10
- package/dist/{SingpassSelection-DyOQVEom.js → SingpassSelection-DxXIwmVH.js} +4 -4
- package/dist/{SoleProprietorshipPage-DStAoO_V.js → SoleProprietorshipPage-C8ENenc3.js} +3 -3
- package/dist/{SourceOfFundsPage-CLeC1Wx4.js → SourceOfFundsPage-D3dzjyGw.js} +31 -31
- package/dist/{StepProgressIndicator-CsrUaXPL.js → StepProgressIndicator-ZWEENbMM.js} +1 -1
- package/dist/{StoreProvider-tu5zP5Mr.js → StoreProvider-DKCxUPee.js} +4 -4
- package/dist/{Summary-BpLChJys.js → Summary-BMM1xjqy.js} +5 -5
- package/dist/{TaxInformationField-L8T8CiGM.js → TaxInformationField-DkZhHedg.js} +19 -19
- package/dist/{TaxReportingDropin-D6hbjVVK.js → TaxReportingDropin-gAAULI4S.js} +13 -13
- package/dist/{TextArea-o_fInXo1.js → TextArea-u_xiMf1c.js} +1 -1
- package/dist/{TileGroup-BoA59KpA.js → TileGroup-r_3ClexW.js} +2 -2
- package/dist/{TrustDetailsPage-Dk6JICLn.js → TrustDetailsPage-B-5f_JZn.js} +30 -30
- package/dist/{TrustMemberCompanyPage-Dvhbrag2.js → TrustMemberCompanyPage-CyjbjBSw.js} +4 -4
- package/dist/{TrustMemberIndividualPage-sKAIzuZI.js → TrustMemberIndividualPage-Cfrri13a.js} +3 -3
- package/dist/{TrustMemberRoleAndTypePage-CAFFrNpH.js → TrustMemberRoleAndTypePage-D4DQm-6B.js} +20 -20
- package/dist/{TrustMembersOverview-D-2lrVPC.js → TrustMembersOverview-DdCvtsr1.js} +9 -9
- package/dist/{UnincorporatedPartnershipIndividualPage-CTNS2quy.js → UnincorporatedPartnershipIndividualPage-BF6xWHcg.js} +3 -3
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-fpInViTa.js → UnincorporatedPartnershipMemberCompanyPage-DX_M1Ynr.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-hdNstBFH.js → UnincorporatedPartnershipMemberRoleAndTypePage-7gGtWzqV.js} +10 -10
- package/dist/{UnincorporatedPartnershipMembersOverview-rYI2qUh8.js → UnincorporatedPartnershipMembersOverview-qYm3eukg.js} +6 -6
- package/dist/{VerificationErrorAlert-Di3bEEiX.js → VerificationErrorAlert-CwjcCtq7.js} +2 -2
- package/dist/{ViewVerificationStatusComponent-BH6JSNFb.js → ViewVerificationStatusComponent-Z8OcoBMo.js} +2 -2
- package/dist/adyen-business-financing.js +2 -2
- package/dist/adyen-individual-configuration.js +2 -2
- package/dist/adyen-individual-status.js +2 -2
- package/dist/adyen-invited-decision-maker.js +2 -2
- package/dist/adyen-kyc-components.js +15 -15
- package/dist/adyen-onboarding.js +2 -2
- package/dist/adyen-terms-of-service-management.js +2 -2
- package/dist/adyen-terms-of-service-status.js +2 -2
- package/dist/adyen-transfer-instrument-configuration.js +2 -2
- package/dist/adyen-transfer-instrument-management.js +2 -2
- package/dist/adyen-verification-status.js +2 -2
- package/dist/{bafinUtils-CVXxpL8U.js → bafinUtils-Dsw4DufE.js} +1 -1
- package/dist/{commonValidators-B1UeGPjR.js → commonValidators-dPJjXT_8.js} +1 -1
- package/dist/{dropinUtils-BSxCDq6G.js → dropinUtils-14DNwEiI.js} +3 -3
- package/dist/{formUtils-zTMeoj2n.js → formUtils-DkgXgXMP.js} +2 -2
- package/dist/{getName-CDVYSCnR.js → getName-Z2gJognf.js} +1 -1
- package/dist/{getProblemsForEntity-D-YjPgmy.js → getProblemsForEntity-DAFLyYyP.js} +1 -1
- package/dist/{getTrustedFields-Bi9zRkay.js → getTrustedFields-Yhy_d5h0.js} +1 -1
- package/dist/{isEmpty-B9euE0VX.js → isEmpty-boSQX897.js} +1 -1
- package/dist/{japanSupportUtils-aHkWNYRa.js → japanSupportUtils-DC6ssQNc.js} +1 -1
- package/dist/{localizeDateString-Cnh8C13b.js → localizeDateString-6qoF3x9R.js} +1 -1
- package/dist/{mapExistingFile-sR8KMX31.js → mapExistingFile-BMJL0nyv.js} +2 -2
- package/dist/{mapJpAddressSchemaToAddressLocalizations-D_hWebX_.js → mapJpAddressSchemaToAddressLocalizations-B-YIRvOK.js} +1 -1
- package/dist/{mapLegalEntityToIndividualSchema-yzclNgBs.js → mapLegalEntityToIndividualSchema-CS9_Bo3k.js} +3 -3
- package/dist/{mapTransferInstrumentToPayoutAccount-Ci0SL4SX.js → mapTransferInstrumentToPayoutAccount-DnaL9hYo.js} +1 -1
- package/dist/{omitObscuredFieldsIfUnchanged-pB-wC9QM.js → omitObscuredFieldsIfUnchanged-Bbes2BVX.js} +2 -2
- package/dist/{patternValidators-DYMusQGu.js → patternValidators-B7j6YIOy.js} +1 -1
- package/dist/{process-field-configurations-Bvg8JPNo.js → process-field-configurations-BxJae0v4.js} +1 -1
- package/dist/{resolveEnvironment-C2wHfrej.js → resolveEnvironment-_hyPvH0e.js} +3 -3
- package/dist/{roleMetadata-0kwyQV6J.js → roleMetadata-C9fdKfQp.js} +2 -2
- package/dist/{types-CJMfHoBs.js → types-BxcVVfxO.js} +1 -1
- package/dist/{types-BB0ebx3i.js → types-DO_d6cVD.js} +1 -1
- package/dist/{types-CvUr6D4Q.js → types-DR1UyHuL.js} +1 -1
- package/dist/{unincorporated-partnership-BPlWUABS.js → unincorporated-partnership-DYTYq9It.js} +1 -1
- package/dist/{useAssociatedLegalEntity-DV_2dCW6.js → useAssociatedLegalEntity-CuVMzeS0.js} +1 -1
- package/dist/{useBusinessDetailsData-BfbltTqe.js → useBusinessDetailsData-BDvJiv0U.js} +47 -47
- package/dist/{useCreateLegalEntity-DVCN5A9B.js → useCreateLegalEntity-BqiM6Z4D.js} +1 -1
- package/dist/{useForm-B1ePDv8A.js → useForm-C1botkQ9.js} +2 -2
- package/dist/{useFormContext-BUxYXXAF.js → useFormContext-DLkJgmS9.js} +6 -6
- package/dist/{useGlobalData-DzQELcTB.js → useGlobalData-BydN0B8P.js} +8 -8
- package/dist/{useMultiForm-DMsRh7Yv.js → useMultiForm-ZSjb-MNl.js} +3 -3
- package/dist/{useOnboardingStatus-D8eGPaH0.js → useOnboardingStatus-CpkyRoX9.js} +1 -1
- package/dist/{useScenarios-DEqWYKpO.js → useScenarios-DNnpIr7b.js} +1 -1
- package/dist/{useTermsOfServiceStatus-Bo6_Hpg_.js → useTermsOfServiceStatus-BH74ie3Z.js} +1 -1
- package/dist/{useToastContext-D_Ve9qAS.js → useToastContext-CN6SzXSt.js} +1 -1
- package/dist/{useUnincorporatedPartnershipMembers-DFO7ss6G.js → useUnincorporatedPartnershipMembers-z5aGwc0I.js} +4 -4
- package/dist/{useUpdateBusinessLines-DoMqUrgz.js → useUpdateBusinessLines-D5WMs9_g.js} +3 -3
- package/dist/{useUpdateLegalEntity-C2MuEoHd.js → useUpdateLegalEntity-8Sn5DTcn.js} +2 -2
- package/dist/{utils-dzl8UxSI.js → utils-Bx0ZXntJ.js} +2 -2
- package/dist/{utils-CKTB3hl_.js → utils-CKmUVF30.js} +1 -1
- package/dist/{utils-DX4Z0cra.js → utils-CL8Y2cxl.js} +5 -5
- package/dist/{utils-BL4_8KvK.js → utils-Cbs8k6wy.js} +1 -1
- package/dist/{utils-CHgwZEHm.js → utils-TMcBiPzX.js} +1 -1
- package/dist/{validate-NBq9tVBn.js → validate-Bz4kAnZq.js} +1 -1
- package/dist/{validate-QVLpmAon.js → validate-Dy8GuvEF.js} +2 -2
- package/dist/{validationError-pGzt-JuW.js → validationError-Cl6ZvFO8.js} +1 -1
- package/package.json +1 -1
|
@@ -11,54 +11,54 @@ import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
|
|
|
11
11
|
import { signal } from "@preact/signals";
|
|
12
12
|
import { useQuery, useMutation, useQueryClient, skipToken } from "@tanstack/preact-query";
|
|
13
13
|
import { useState, useEffect, useRef, useCallback, useContext, useMemo as useMemo$1 } from "preact/hooks";
|
|
14
|
-
import { b as useApiContext, j as httpPost, k as httpGet, ae as createLogger, a9 as CountryCodes, u as useTranslation, x as useAnalyticsContext, z as Icon, N as Typography, V as Button, ah as objectsDeepEqual, H as useToggleContext, aB as Header, ax as isEmpty, ab as translateTranslatable, q as hasOwnEntityAssociationOfType, L as LegalEntityTypes, t as useAccountHolder, m as useSettingsContext, C as Alert, a8 as getLegalEntityCountry, aQ as Trans, b3 as EEA_Countries, ap as useDataset, O as StackLayout, aq as datasetIdentifier, b4 as isAccountIdentifierObscured, b5 as hasEmptyFields, b6 as extractFieldName, b7 as concatenateFieldNames, aS as keysOf, ak as getCapabilityProblems, w as TaskTypes, an as cloneObject, am as datasetUtilities } from "./StoreProvider-
|
|
15
|
-
import { u as useTransferInstrument, m as mapTransferInstrumentToPayoutAccount } from "./mapTransferInstrumentToPayoutAccount-
|
|
16
|
-
import { L as LoaderWrapper } from "./LoaderWrapper-
|
|
14
|
+
import { b as useApiContext, j as httpPost, k as httpGet, ae as createLogger, a9 as CountryCodes, u as useTranslation, x as useAnalyticsContext, z as Icon, N as Typography, V as Button, ah as objectsDeepEqual, H as useToggleContext, aB as Header, ax as isEmpty, ab as translateTranslatable, q as hasOwnEntityAssociationOfType, L as LegalEntityTypes, t as useAccountHolder, m as useSettingsContext, C as Alert, a8 as getLegalEntityCountry, aQ as Trans, b3 as EEA_Countries, ap as useDataset, O as StackLayout, aq as datasetIdentifier, b4 as isAccountIdentifierObscured, b5 as hasEmptyFields, b6 as extractFieldName, b7 as concatenateFieldNames, aS as keysOf, ak as getCapabilityProblems, w as TaskTypes, an as cloneObject, am as datasetUtilities } from "./StoreProvider-DKCxUPee.js";
|
|
15
|
+
import { u as useTransferInstrument, m as mapTransferInstrumentToPayoutAccount } from "./mapTransferInstrumentToPayoutAccount-DnaL9hYo.js";
|
|
16
|
+
import { L as LoaderWrapper } from "./LoaderWrapper-BEzoHtmn.js";
|
|
17
17
|
import { S as SettingNames } from "./types-Dv0COrvY.js";
|
|
18
|
-
import { u as useGlobalDataSlice, a as useGlobalData, b as useResetGlobalData, c as useStateContext, F as FormWrapper } from "./useGlobalData-
|
|
19
|
-
import { a as useInvalidateRootLegalEntity, u as useToastContext } from "./useToastContext-
|
|
18
|
+
import { u as useGlobalDataSlice, a as useGlobalData, b as useResetGlobalData, c as useStateContext, F as FormWrapper } from "./useGlobalData-BydN0B8P.js";
|
|
19
|
+
import { a as useInvalidateRootLegalEntity, u as useToastContext } from "./useToastContext-CN6SzXSt.js";
|
|
20
20
|
import { F as FeatureNames } from "./types-CTwBMnPB.js";
|
|
21
|
-
import { a as augmentWithCountryConfigs, g as getPropsFromConfigurations } from "./process-field-configurations-
|
|
22
|
-
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-
|
|
23
|
-
import { u as uppercase, p as payoutAccountFormat, m as mapExistingFile, g as getPageName, b as useScenarioConfiguration, c as useUnifyLoadingStatus } from "./mapExistingFile-
|
|
24
|
-
import { C as Confirm } from "./Confirm-
|
|
25
|
-
import { c as currencyByCountry } from "./types-
|
|
26
|
-
import { i as isValidationError, p as processValidationErrors, b as isIdDocumentUploadError, c as isBankStatementUploadError, a as isMaintenanceModeError, m as mapCreateOrUpdateTransferInstrumentErrorMessageToTranslatable } from "./validationError-
|
|
21
|
+
import { a as augmentWithCountryConfigs, g as getPropsFromConfigurations } from "./process-field-configurations-BxJae0v4.js";
|
|
22
|
+
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-14DNwEiI.js";
|
|
23
|
+
import { u as uppercase, p as payoutAccountFormat, m as mapExistingFile, g as getPageName, b as useScenarioConfiguration, c as useUnifyLoadingStatus } from "./mapExistingFile-BMJL0nyv.js";
|
|
24
|
+
import { C as Confirm } from "./Confirm-gEhhWD8f.js";
|
|
25
|
+
import { c as currencyByCountry } from "./types-DO_d6cVD.js";
|
|
26
|
+
import { i as isValidationError, p as processValidationErrors, b as isIdDocumentUploadError, c as isBankStatementUploadError, a as isMaintenanceModeError, m as mapCreateOrUpdateTransferInstrumentErrorMessageToTranslatable } from "./validationError-Cl6ZvFO8.js";
|
|
27
27
|
import { t as trackNavigation } from "./trackNavigation-db_h46BT.js";
|
|
28
|
-
import { D as DropzoneFile, e as bytesToSize, f as defaultFileValidationOptions, h as fileValidationRules, S as StateContextSetter, i as fileToBase64, a as getDocument, c as createDocumentRequest, d as documentApiUtils, b as getFileExtention } from "./validate-
|
|
29
|
-
import { b as getPayoutAccountHolderName, g as getLegalEntityNameBasedOnType } from "./getName-
|
|
30
|
-
import { o as omitObscuredFieldsIfUnchanged } from "./omitObscuredFieldsIfUnchanged-
|
|
28
|
+
import { D as DropzoneFile, e as bytesToSize, f as defaultFileValidationOptions, h as fileValidationRules, S as StateContextSetter, i as fileToBase64, a as getDocument, c as createDocumentRequest, d as documentApiUtils, b as getFileExtention } from "./validate-Dy8GuvEF.js";
|
|
29
|
+
import { b as getPayoutAccountHolderName, g as getLegalEntityNameBasedOnType } from "./getName-Z2gJognf.js";
|
|
30
|
+
import { o as omitObscuredFieldsIfUnchanged } from "./omitObscuredFieldsIfUnchanged-Bbes2BVX.js";
|
|
31
31
|
import { Show } from "@preact/signals/utils";
|
|
32
|
-
import { s as summaryStep } from "./Summary-
|
|
32
|
+
import { s as summaryStep } from "./Summary-BMM1xjqy.js";
|
|
33
33
|
import { g as getFieldProps, a as getFormProps } from "./getProps-Cc3J2-z9.js";
|
|
34
34
|
import { c as createFormRules } from "./form-rules-DhbF2mY4.js";
|
|
35
35
|
import { s as summaryItem } from "./summaryItem-CAQCQSkt.js";
|
|
36
36
|
import cx from "classnames";
|
|
37
37
|
import { memo, useRef as useRef$1, useState as useState$1, useMemo, useEffect as useEffect$1, lazy } from "preact/compat";
|
|
38
|
-
import { F as Field } from "./Field-
|
|
39
|
-
import { M as Modal } from "./Modal-
|
|
40
|
-
import { T as TextArea } from "./TextArea-
|
|
41
|
-
import { u as useForm } from "./useForm-
|
|
42
|
-
import { E as EndStateLayout } from "./EndStateLayout-
|
|
43
|
-
import { E as ErrorPanel } from "./ErrorPanel-
|
|
44
|
-
import { c as createFormUtils, m as mergeFieldMetadataIntoProps } from "./formUtils-
|
|
38
|
+
import { F as Field } from "./Field-BguffV12.js";
|
|
39
|
+
import { M as Modal } from "./Modal-EL9MXgbw.js";
|
|
40
|
+
import { T as TextArea } from "./TextArea-u_xiMf1c.js";
|
|
41
|
+
import { u as useForm } from "./useForm-C1botkQ9.js";
|
|
42
|
+
import { E as EndStateLayout } from "./EndStateLayout-D23FWrbD.js";
|
|
43
|
+
import { E as ErrorPanel } from "./ErrorPanel-B8fHWJ7W.js";
|
|
44
|
+
import { c as createFormUtils, m as mergeFieldMetadataIntoProps } from "./formUtils-DkgXgXMP.js";
|
|
45
45
|
import { b as bankStatementDescriptionPattern } from "./basePatterns-BwdnMQxI.js";
|
|
46
46
|
import { createContext } from "preact";
|
|
47
47
|
import OpenBankingSDK from "@adyen/openbankingsdk";
|
|
48
|
-
import { S as Select } from "./Select-
|
|
49
|
-
import { m as makeMask, n as numericInputs, a as nonInputs, s as spacer, c as customInputs, M as MaskedInput, d as alphanumericInputs, b as alphaInputs } from "./MaskedInput-
|
|
48
|
+
import { S as Select } from "./Select-BgkHFapB.js";
|
|
49
|
+
import { m as makeMask, n as numericInputs, a as nonInputs, s as spacer, c as customInputs, M as MaskedInput, d as alphanumericInputs, b as alphaInputs } from "./MaskedInput-Ckb7nz68.js";
|
|
50
50
|
import { r as resolveFieldMetadata } from "./fieldConfigurations-BUT9DTUH.js";
|
|
51
|
-
import { v as validatePatternOnBlur } from "./patternValidators-
|
|
52
|
-
import { a as isNotEmptyValidator } from "./commonValidators-
|
|
53
|
-
import { I as InputText } from "./InputText-
|
|
51
|
+
import { v as validatePatternOnBlur } from "./patternValidators-B7j6YIOy.js";
|
|
52
|
+
import { a as isNotEmptyValidator } from "./commonValidators-dPJjXT_8.js";
|
|
53
|
+
import { I as InputText } from "./InputText-C6-NIYzH.js";
|
|
54
54
|
import { C as Currencies } from "./currency-CrdnaaDu.js";
|
|
55
|
-
import { u as useUnincorporatedPartnershipMembers } from "./useUnincorporatedPartnershipMembers-
|
|
56
|
-
import { I as Image } from "./unincorporated-partnership-
|
|
57
|
-
import { C as CountryField } from "./CountryField-
|
|
55
|
+
import { u as useUnincorporatedPartnershipMembers } from "./useUnincorporatedPartnershipMembers-z5aGwc0I.js";
|
|
56
|
+
import { I as Image } from "./unincorporated-partnership-DYTYq9It.js";
|
|
57
|
+
import { C as CountryField } from "./CountryField-pznzB7Uq.js";
|
|
58
58
|
import { C as Card } from "./Card-OQuFzmxm.js";
|
|
59
|
-
import { L as Link } from "./Link-
|
|
59
|
+
import { L as Link } from "./Link-C1szPOri.js";
|
|
60
60
|
import { T as Tag } from "./Tag-DdkVScyr.js";
|
|
61
|
-
import { C as ContextGuidance } from "./ContextGuidance-
|
|
61
|
+
import { C as ContextGuidance } from "./ContextGuidance-B4qWRid4.js";
|
|
62
62
|
const getCheck = async (legalEntityId, baseUrl, data) => {
|
|
63
63
|
return httpPost(
|
|
64
64
|
{
|
|
@@ -7,12 +7,12 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { u as useTranslation, P as useLegalEntity, a as addResourceBundles, U as Loader, R as ROOT_LE, E as EntityTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { u as useTranslation, P as useLegalEntity, a as addResourceBundles, U as Loader, R as ROOT_LE, E as EntityTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-DKCxUPee.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
12
|
import { useParams } from "wouter-preact";
|
|
13
|
-
import { f as useNavigate } from "./OnboardingDropinComponent-
|
|
14
|
-
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-
|
|
15
|
-
import { P as PayoutDetailsDropin } from "./PayoutDetailsDropin-
|
|
13
|
+
import { f as useNavigate } from "./OnboardingDropinComponent-BRlY6KUs.js";
|
|
14
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-DAFLyYyP.js";
|
|
15
|
+
import { P as PayoutDetailsDropin } from "./PayoutDetailsDropin-nXxBue_s.js";
|
|
16
16
|
function PayoutDetailsPage({
|
|
17
17
|
transferInstrumentId: transferInstrumentIdProp,
|
|
18
18
|
setTransferInstrumentId: setTransferInstrumentIdProp,
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import { u as useTranslation, x as useAnalyticsContext } from "./StoreProvider-
|
|
12
|
+
import { u as useTranslation, x as useAnalyticsContext } from "./StoreProvider-DKCxUPee.js";
|
|
13
13
|
import { a as useId } from "./useId-BZ0PA7jP.js";
|
|
14
14
|
import { R as Radio } from "./Radio-BMtxBpnn.js";
|
|
15
15
|
const RadioWithLabel = ({
|
|
@@ -10,11 +10,11 @@
|
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { useState } from "preact/hooks";
|
|
12
12
|
import { useMutation } from "@tanstack/preact-query";
|
|
13
|
-
import { b as useApiContext, j as httpPost, u as useTranslation, aB as Header, bC as DropinLayout } from "./StoreProvider-
|
|
14
|
-
import { C as Checkbox } from "./Checkbox-
|
|
15
|
-
import { L as LoaderWrapper } from "./LoaderWrapper-
|
|
16
|
-
import { u as useToastContext } from "./useToastContext-
|
|
17
|
-
import { A as ActionBar } from "./ActionBar-
|
|
13
|
+
import { b as useApiContext, j as httpPost, u as useTranslation, aB as Header, bC as DropinLayout } from "./StoreProvider-DKCxUPee.js";
|
|
14
|
+
import { C as Checkbox } from "./Checkbox-BKM1WPHa.js";
|
|
15
|
+
import { L as LoaderWrapper } from "./LoaderWrapper-BEzoHtmn.js";
|
|
16
|
+
import { u as useToastContext } from "./useToastContext-CN6SzXSt.js";
|
|
17
|
+
import { A as ActionBar } from "./ActionBar-DkXjAAQ1.js";
|
|
18
18
|
const confirmReview = async (legalEntityId, baseUrl) => {
|
|
19
19
|
return httpPost({
|
|
20
20
|
baseUrl,
|
|
@@ -7,11 +7,11 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { u as useTranslation, a as addResourceBundles, U as Loader, E as EntityTypes, a8 as getLegalEntityCountry, w as TaskTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { u as useTranslation, a as addResourceBundles, U as Loader, E as EntityTypes, a8 as getLegalEntityCountry, w as TaskTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-DKCxUPee.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
|
-
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-
|
|
13
|
-
import { g as filterProblemsByTaskForms } from "./OnboardingDropinComponent-
|
|
14
|
-
import { u as useBusinessDetailsData, g as getForms, B as BusinessDetailsDropin } from "./useBusinessDetailsData-
|
|
12
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-DAFLyYyP.js";
|
|
13
|
+
import { g as filterProblemsByTaskForms } from "./OnboardingDropinComponent-BRlY6KUs.js";
|
|
14
|
+
import { u as useBusinessDetailsData, g as getForms, B as BusinessDetailsDropin } from "./useBusinessDetailsData-BDvJiv0U.js";
|
|
15
15
|
const RootBusinessDetailsPage = ({
|
|
16
16
|
onSubmit,
|
|
17
17
|
handleHomeClick
|
|
@@ -7,41 +7,41 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { a9 as CountryCodes, ae as createLogger, u as useTranslation, aB as Header, U as Loader, B as IconButton, N as Typography, O as StackLayout, aQ as Trans, V as Button, b as useApiContext, ar as httpDelete, H as useToggleContext, x as useAnalyticsContext, Y as TASK_STATUS_POLLING_INTERVAL_MS, E as EntityTypes, P as useLegalEntity, a as addResourceBundles, w as TaskTypes, R as ROOT_LE, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { a9 as CountryCodes, ae as createLogger, u as useTranslation, aB as Header, U as Loader, B as IconButton, N as Typography, O as StackLayout, aQ as Trans, V as Button, b as useApiContext, ar as httpDelete, H as useToggleContext, x as useAnalyticsContext, Y as TASK_STATUS_POLLING_INTERVAL_MS, E as EntityTypes, P as useLegalEntity, a as addResourceBundles, w as TaskTypes, R as ROOT_LE, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-DKCxUPee.js";
|
|
11
11
|
import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
|
|
12
12
|
import { useMutation, useQueryClient } from "@tanstack/preact-query";
|
|
13
13
|
import { useCallback, useMemo, useRef, useState, useEffect } from "preact/hooks";
|
|
14
|
-
import { h as useBusinessLines, u as useSalesChannels, i as usePciQuestionnaireList, a as usePciStatus } from "./OnboardingDropinComponent-
|
|
15
|
-
import { s as salesChannelsWithWebData, u as useIndustryCodes, d as businessLineTypes, i as industryCodeFieldMetadata, a as IndustryCodeField, I as INDUSTRY_CODE_FIELD, S as SALES_CHANNELS_FIELD, W as WEB_DATA_FIELD, e as shouldSignNewPci, f as SCTA_FIELD, D as Divider, g as selectedBusinessLine, b as useCreateBusinessLine, c as useUpdateBusinessLine, h as businessLinesConfigurations, j as businessLinesForms } from "./useUpdateBusinessLines-
|
|
16
|
-
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-
|
|
17
|
-
import { u as useToastContext } from "./useToastContext-
|
|
18
|
-
import { g as getPropsFromConfigurations } from "./process-field-configurations-
|
|
19
|
-
import { a as addValidityToForms, u as useFormComposer } from "./dropinUtils-
|
|
20
|
-
import { u as useMultiForm } from "./useMultiForm-
|
|
21
|
-
import { N as NewSummary } from "./NewSummary-
|
|
22
|
-
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-
|
|
14
|
+
import { h as useBusinessLines, u as useSalesChannels, i as usePciQuestionnaireList, a as usePciStatus } from "./OnboardingDropinComponent-BRlY6KUs.js";
|
|
15
|
+
import { s as salesChannelsWithWebData, u as useIndustryCodes, d as businessLineTypes, i as industryCodeFieldMetadata, a as IndustryCodeField, I as INDUSTRY_CODE_FIELD, S as SALES_CHANNELS_FIELD, W as WEB_DATA_FIELD, e as shouldSignNewPci, f as SCTA_FIELD, D as Divider, g as selectedBusinessLine, b as useCreateBusinessLine, c as useUpdateBusinessLine, h as businessLinesConfigurations, j as businessLinesForms } from "./useUpdateBusinessLines-D5WMs9_g.js";
|
|
16
|
+
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-DLkJgmS9.js";
|
|
17
|
+
import { u as useToastContext } from "./useToastContext-CN6SzXSt.js";
|
|
18
|
+
import { g as getPropsFromConfigurations } from "./process-field-configurations-BxJae0v4.js";
|
|
19
|
+
import { a as addValidityToForms, u as useFormComposer } from "./dropinUtils-14DNwEiI.js";
|
|
20
|
+
import { u as useMultiForm } from "./useMultiForm-ZSjb-MNl.js";
|
|
21
|
+
import { N as NewSummary } from "./NewSummary-Buy5WzoM.js";
|
|
22
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-DAFLyYyP.js";
|
|
23
23
|
import { c as createFormRules } from "./form-rules-DhbF2mY4.js";
|
|
24
|
-
import { s as summaryStep } from "./Summary-
|
|
25
|
-
import { m as mergeFieldMetadataIntoProps, c as createFormUtils } from "./formUtils-
|
|
24
|
+
import { s as summaryStep } from "./Summary-BMM1xjqy.js";
|
|
25
|
+
import { m as mergeFieldMetadataIntoProps, c as createFormUtils } from "./formUtils-DkgXgXMP.js";
|
|
26
26
|
import { Show } from "@preact/signals/utils";
|
|
27
|
-
import { SignPCIComponent } from "./SignPCIComponent-
|
|
28
|
-
import { A as Avatar } from "./Avatar
|
|
29
|
-
import { F as Field } from "./Field-
|
|
27
|
+
import { SignPCIComponent } from "./SignPCIComponent-CpAtbAKc.js";
|
|
28
|
+
import { A as Avatar } from "./Avatar-D-VHGhFL.js";
|
|
29
|
+
import { F as Field } from "./Field-BguffV12.js";
|
|
30
30
|
import cx from "classnames";
|
|
31
|
-
import { K as KEYBOARD_KEYS, M as Modal } from "./Modal-
|
|
32
|
-
import { C as Checkbox } from "./Checkbox-
|
|
33
|
-
import { I as InputText } from "./InputText-
|
|
31
|
+
import { K as KEYBOARD_KEYS, M as Modal } from "./Modal-EL9MXgbw.js";
|
|
32
|
+
import { C as Checkbox } from "./Checkbox-BKM1WPHa.js";
|
|
33
|
+
import { I as InputText } from "./InputText-C6-NIYzH.js";
|
|
34
34
|
import { D as DetailViewLayout } from "./DetailViewLayout-Z9cuUp4X.js";
|
|
35
35
|
import { C as Card } from "./Card-OQuFzmxm.js";
|
|
36
|
-
import { L as Link } from "./Link-
|
|
36
|
+
import { L as Link } from "./Link-C1szPOri.js";
|
|
37
37
|
import { lazy } from "preact/compat";
|
|
38
|
-
import { I as Image } from "./unincorporated-partnership-
|
|
39
|
-
import { L as LandingLayout } from "./LandingLayout-
|
|
40
|
-
import { u as useTaskStatus } from "./getTrustedFields-
|
|
38
|
+
import { I as Image } from "./unincorporated-partnership-DYTYq9It.js";
|
|
39
|
+
import { L as LandingLayout } from "./LandingLayout-Dr28QxoC.js";
|
|
40
|
+
import { u as useTaskStatus } from "./getTrustedFields-Yhy_d5h0.js";
|
|
41
41
|
import { L as List } from "./List-BAzyC6sw.js";
|
|
42
|
-
import { L as ListItem } from "./ListItem-
|
|
42
|
+
import { L as ListItem } from "./ListItem-nK0xrija.js";
|
|
43
43
|
import { S as StructuredList } from "./StructuredList-CNha20ka.js";
|
|
44
|
-
import { C as Confirm } from "./Confirm-
|
|
44
|
+
import { C as Confirm } from "./Confirm-gEhhWD8f.js";
|
|
45
45
|
const rules = ({ data, country }) => {
|
|
46
46
|
return createFormRules({
|
|
47
47
|
webAddressRequired: () => {
|
package/dist/{RootIndividualDetailsPage-BmVe4FKX.js → RootIndividualDetailsPage-C2GvNs12.js}
RENAMED
|
@@ -7,12 +7,12 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { P as useLegalEntity, t as useAccountHolder, u as useTranslation, a as addResourceBundles, U as Loader, a8 as getLegalEntityCountry, o as isPartOfTrustFromLegalEntity, E as EntityTypes, ai as noop, w as TaskTypes, R as ROOT_LE, _ as __variableDynamicImportRuntimeHelper, bn as individualBaseMapping } from "./StoreProvider-
|
|
10
|
+
import { P as useLegalEntity, t as useAccountHolder, u as useTranslation, a as addResourceBundles, U as Loader, a8 as getLegalEntityCountry, o as isPartOfTrustFromLegalEntity, E as EntityTypes, ai as noop, w as TaskTypes, R as ROOT_LE, _ as __variableDynamicImportRuntimeHelper, bn as individualBaseMapping } from "./StoreProvider-DKCxUPee.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
|
-
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-
|
|
13
|
-
import { g as filterProblemsByTaskForms } from "./OnboardingDropinComponent-
|
|
14
|
-
import { a as getTrustedFieldsProvider, c as getTrustedFields } from "./getTrustedFields-
|
|
15
|
-
import { I as IndividualDropin, i as individualForms } from "./IndividualDropin-
|
|
12
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-DAFLyYyP.js";
|
|
13
|
+
import { g as filterProblemsByTaskForms } from "./OnboardingDropinComponent-BRlY6KUs.js";
|
|
14
|
+
import { a as getTrustedFieldsProvider, c as getTrustedFields } from "./getTrustedFields-Yhy_d5h0.js";
|
|
15
|
+
import { I as IndividualDropin, i as individualForms } from "./IndividualDropin-CybsCeUw.js";
|
|
16
16
|
function RootIndividualDetailsPage({
|
|
17
17
|
asModal = false,
|
|
18
18
|
hideSidebar = false,
|
|
@@ -11,11 +11,11 @@ import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
|
|
|
11
11
|
import cx from "classnames";
|
|
12
12
|
import { useState, useRef, useMemo, useCallback, useEffect } from "preact/hooks";
|
|
13
13
|
import { computed, signal, useSignal, useSignalEffect } from "@preact/signals";
|
|
14
|
-
import { K as KEYBOARD_KEYS } from "./Modal-
|
|
15
|
-
import { x as useAnalyticsContext, U as Loader, ai as noop, N as Typography, ae as createLogger, u as useTranslation } from "./StoreProvider-
|
|
14
|
+
import { K as KEYBOARD_KEYS } from "./Modal-EL9MXgbw.js";
|
|
15
|
+
import { x as useAnalyticsContext, U as Loader, ai as noop, N as Typography, ae as createLogger, u as useTranslation } from "./StoreProvider-DKCxUPee.js";
|
|
16
16
|
import { d as debouncedInputEvent } from "./debouncedInputEvent-Cv2S512Y.js";
|
|
17
17
|
import { a as useId } from "./useId-BZ0PA7jP.js";
|
|
18
|
-
import { C as Checkbox } from "./Checkbox-
|
|
18
|
+
import { C as Checkbox } from "./Checkbox-BKM1WPHa.js";
|
|
19
19
|
const createSelectFocus = ({
|
|
20
20
|
activeItems,
|
|
21
21
|
filteredItems: items
|
|
@@ -7,19 +7,19 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, j as httpPost, ax as isEmpty, u as useTranslation, x as useAnalyticsContext, ay as getOwnDecisionMakers, L as LegalEntityTypes, V as Button, a as addResourceBundles, P as useLegalEntity, U as Loader, w as TaskTypes, R as ROOT_LE, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { b as useApiContext, j as httpPost, ax as isEmpty, u as useTranslation, x as useAnalyticsContext, ay as getOwnDecisionMakers, L as LegalEntityTypes, V as Button, a as addResourceBundles, P as useLegalEntity, U as Loader, w as TaskTypes, R as ROOT_LE, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-DKCxUPee.js";
|
|
11
11
|
import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
|
|
12
12
|
import { useState, useMemo, useCallback } from "preact/hooks";
|
|
13
|
-
import { u as useSalesChannels, a as usePciStatus } from "./OnboardingDropinComponent-
|
|
13
|
+
import { u as useSalesChannels, a as usePciStatus } from "./OnboardingDropinComponent-BRlY6KUs.js";
|
|
14
14
|
import { useQuery, useMutation } from "@tanstack/preact-query";
|
|
15
|
-
import { a as useInvalidateRootLegalEntity, u as useToastContext } from "./useToastContext-
|
|
16
|
-
import { M as MaybeModal } from "./MaybeModal-
|
|
17
|
-
import { E as EndStateLayout } from "./EndStateLayout-
|
|
15
|
+
import { a as useInvalidateRootLegalEntity, u as useToastContext } from "./useToastContext-CN6SzXSt.js";
|
|
16
|
+
import { M as MaybeModal } from "./MaybeModal-DolShkyo.js";
|
|
17
|
+
import { E as EndStateLayout } from "./EndStateLayout-D23FWrbD.js";
|
|
18
18
|
import { C as Card } from "./Card-OQuFzmxm.js";
|
|
19
|
-
import { C as Checkbox } from "./Checkbox-
|
|
20
|
-
import { F as Field } from "./Field-
|
|
21
|
-
import { S as Select } from "./Select-
|
|
22
|
-
import { u as useForm } from "./useForm-
|
|
19
|
+
import { C as Checkbox } from "./Checkbox-BKM1WPHa.js";
|
|
20
|
+
import { F as Field } from "./Field-BguffV12.js";
|
|
21
|
+
import { S as Select } from "./Select-BgkHFapB.js";
|
|
22
|
+
import { u as useForm } from "./useForm-C1botkQ9.js";
|
|
23
23
|
import { D as DetailViewLayout } from "./DetailViewLayout-Z9cuUp4X.js";
|
|
24
24
|
import { C as ContractViewer } from "./ContractViewer-DcQHIGMU.js";
|
|
25
25
|
const getPciTemplate = async (legalEntityId, baseUrl, data) => {
|
|
@@ -235,7 +235,7 @@ function SignPCIComponent({
|
|
|
235
235
|
const additionalSalesChannels = useSalesChannels();
|
|
236
236
|
const { t, i18n } = useTranslation(["contract", "common"]);
|
|
237
237
|
addResourceBundles(i18n, [
|
|
238
|
-
{ ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-C6dSR1jk.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-B6atm9_Q.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-Cv6XUSoW.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-BplDsJEb.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-dRK7xHn2.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-CfIM2SRF.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-
|
|
238
|
+
{ ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-C6dSR1jk.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-B6atm9_Q.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-Cv6XUSoW.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-BplDsJEb.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-dRK7xHn2.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-CfIM2SRF.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-DKCxUPee.js").then((n) => n.bR), "../../../language/locales/es-ES.json": () => import("./es-ES-DRsix_Xn.js"), "../../../language/locales/et-EE.json": () => import("./et-EE-BXiYapXy.js"), "../../../language/locales/fi-FI.json": () => import("./fi-FI-BftTiz0c.js"), "../../../language/locales/fr-FR.json": () => import("./fr-FR-C6jxjXAI.js"), "../../../language/locales/hr-HR.json": () => import("./hr-HR-B_TEU3r4.js"), "../../../language/locales/hu-HU.json": () => import("./hu-HU-CX83V9tu.js"), "../../../language/locales/it-IT.json": () => import("./it-IT-CXlaZNIj.js"), "../../../language/locales/ja-JP.json": () => import("./ja-JP-A6ArIIZ8.js"), "../../../language/locales/lt-LT.json": () => import("./lt-LT-ww192lYg.js"), "../../../language/locales/lv-LV.json": () => import("./lv-LV-CpHy-ZoF.js"), "../../../language/locales/nl-NL.json": () => import("./nl-NL-BwWFlBOs.js"), "../../../language/locales/no-NO.json": () => import("./no-NO-JWsSd7iY.js"), "../../../language/locales/pl-PL.json": () => import("./pl-PL-CLmmSNgn.js"), "../../../language/locales/pt-BR.json": () => import("./pt-BR-BJOww8U1.js"), "../../../language/locales/pt-PT.json": () => import("./pt-PT-CL9VzmZE.js"), "../../../language/locales/ro-RO.json": () => import("./ro-RO-Cu1T3z6k.js"), "../../../language/locales/sk-SK.json": () => import("./sk-SK-CEjJ-qZG.js"), "../../../language/locales/sl-SI.json": () => import("./sl-SI-BfO3xEJx.js"), "../../../language/locales/sv-SE.json": () => import("./sv-SE-CMLKzwtj.js") }), `../../../language/locales/${lang}.json`, 6) },
|
|
239
239
|
{ ns: "ui", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../ui/language/bg-BG.json": () => import("./bg-BG-zZhDshGi.js"), "../../ui/language/cs-CZ.json": () => import("./cs-CZ-Ck22NTT9.js"), "../../ui/language/da-DK.json": () => import("./da-DK-DQ4ZYSea.js"), "../../ui/language/de-DE.json": () => import("./de-DE-CkbOZ6S_.js"), "../../ui/language/el-GR.json": () => import("./el-GR-DudORw4U.js"), "../../ui/language/en-US.json": () => import("./en-US-B-qSAb-7.js"), "../../ui/language/es-ES.json": () => import("./es-ES-BAolMrZ0.js"), "../../ui/language/et-EE.json": () => import("./et-EE-BOIrYrz9.js"), "../../ui/language/fi-FI.json": () => import("./fi-FI-D8WrLxxq.js"), "../../ui/language/fr-FR.json": () => import("./fr-FR-Beljeilc.js"), "../../ui/language/hr-HR.json": () => import("./hr-HR-lIHN6Yl2.js"), "../../ui/language/hu-HU.json": () => import("./hu-HU-CWdwNCev.js"), "../../ui/language/it-IT.json": () => import("./it-IT-5a7NHVFo.js"), "../../ui/language/ja-JP.json": () => import("./ja-JP-DSvZhFNY.js"), "../../ui/language/lt-LT.json": () => import("./lt-LT-CgalYpUh.js"), "../../ui/language/lv-LV.json": () => import("./lv-LV-aAd9SEqx.js"), "../../ui/language/nl-NL.json": () => import("./nl-NL-CmURERx_.js"), "../../ui/language/no-NO.json": () => import("./no-NO-qyqWODMp.js"), "../../ui/language/pl-PL.json": () => import("./pl-PL-q9azN24o.js"), "../../ui/language/pt-BR.json": () => import("./pt-BR-BxoOF8jB.js"), "../../ui/language/pt-PT.json": () => import("./pt-PT-pIChDwiI.js"), "../../ui/language/ro-RO.json": () => import("./ro-RO-DRsaNX9j.js"), "../../ui/language/sk-SK.json": () => import("./sk-SK-7-enbO1N.js"), "../../ui/language/sl-SI.json": () => import("./sl-SI-DTvJT7fC.js"), "../../ui/language/sv-SE.json": () => import("./sv-SE-N-Hqwcjq.js") }), `../../ui/language/${lang}.json`, 5) },
|
|
240
240
|
{ ns: "contract", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../Contract/language/bg-BG.json": () => import("./bg-BG-DbFzLQK7.js"), "../../Contract/language/cs-CZ.json": () => import("./cs-CZ-CBuNZ7UO.js"), "../../Contract/language/da-DK.json": () => import("./da-DK-CLdNh9JT.js"), "../../Contract/language/de-DE.json": () => import("./de-DE-BT5g7ZXC.js"), "../../Contract/language/el-GR.json": () => import("./el-GR-BvRBuezU.js"), "../../Contract/language/en-US.json": () => import("./en-US-CgakND3H.js"), "../../Contract/language/es-ES.json": () => import("./es-ES-4FS7NoE7.js"), "../../Contract/language/et-EE.json": () => import("./et-EE-CksV5_e1.js"), "../../Contract/language/fi-FI.json": () => import("./fi-FI-XpnJRPgt.js"), "../../Contract/language/fr-FR.json": () => import("./fr-FR-TqAhPvzz.js"), "../../Contract/language/hr-HR.json": () => import("./hr-HR-CKZ_yuXC.js"), "../../Contract/language/hu-HU.json": () => import("./hu-HU-BEV8uVRt.js"), "../../Contract/language/it-IT.json": () => import("./it-IT-D-jYXj6V.js"), "../../Contract/language/ja-JP.json": () => import("./ja-JP-8yMqZqF2.js"), "../../Contract/language/lt-LT.json": () => import("./lt-LT-CK0t2AVY.js"), "../../Contract/language/lv-LV.json": () => import("./lv-LV-JvlzK9X-.js"), "../../Contract/language/nl-NL.json": () => import("./nl-NL-Jhr-ICkK.js"), "../../Contract/language/no-NO.json": () => import("./no-NO-BH6DId3q.js"), "../../Contract/language/pl-PL.json": () => import("./pl-PL-B5c0NNHB.js"), "../../Contract/language/pt-BR.json": () => import("./pt-BR-4Iozxvfr.js"), "../../Contract/language/pt-PT.json": () => import("./pt-PT-09L8XznW.js"), "../../Contract/language/ro-RO.json": () => import("./ro-RO-D7-7tmTR.js"), "../../Contract/language/sk-SK.json": () => import("./sk-SK-D3tsz1Pg.js"), "../../Contract/language/sl-SI.json": () => import("./sl-SI-Y9h1ht45.js"), "../../Contract/language/sv-SE.json": () => import("./sv-SE-DFSm22oQ.js") }), `../../Contract/language/${lang}.json`, 5) }
|
|
241
241
|
]);
|
|
@@ -10,13 +10,13 @@
|
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { lazy } from "preact/compat";
|
|
12
12
|
import { useState } from "preact/hooks";
|
|
13
|
-
import { U as Loader, x as useAnalyticsContext, u as useTranslation, N as Typography, V as Button, L as LegalEntityTypes } from "./StoreProvider-
|
|
14
|
-
import { F as Field } from "./Field-
|
|
15
|
-
import { I as Image } from "./unincorporated-partnership-
|
|
13
|
+
import { U as Loader, x as useAnalyticsContext, u as useTranslation, N as Typography, V as Button, L as LegalEntityTypes } from "./StoreProvider-DKCxUPee.js";
|
|
14
|
+
import { F as Field } from "./Field-BguffV12.js";
|
|
15
|
+
import { I as Image } from "./unincorporated-partnership-DYTYq9It.js";
|
|
16
16
|
import cx from "classnames";
|
|
17
17
|
import { a as useId } from "./useId-BZ0PA7jP.js";
|
|
18
18
|
import { R as Radio } from "./Radio-BMtxBpnn.js";
|
|
19
|
-
import { u as useForm } from "./useForm-
|
|
19
|
+
import { u as useForm } from "./useForm-C1botkQ9.js";
|
|
20
20
|
const RadioCard = ({
|
|
21
21
|
optionId,
|
|
22
22
|
optionName,
|
|
@@ -7,11 +7,11 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { u as useTranslation, P as useLegalEntity, a as addResourceBundles, U as Loader, a8 as getLegalEntityCountry, w as TaskTypes, E as EntityTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { u as useTranslation, P as useLegalEntity, a as addResourceBundles, U as Loader, a8 as getLegalEntityCountry, w as TaskTypes, E as EntityTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-DKCxUPee.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
12
|
import { skipToken } from "@tanstack/preact-query";
|
|
13
|
-
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-
|
|
14
|
-
import { u as useBusinessDetailsData, B as BusinessDetailsDropin } from "./useBusinessDetailsData-
|
|
13
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-DAFLyYyP.js";
|
|
14
|
+
import { u as useBusinessDetailsData, B as BusinessDetailsDropin } from "./useBusinessDetailsData-BDvJiv0U.js";
|
|
15
15
|
function SoleProprietorshipPage({
|
|
16
16
|
solePropId,
|
|
17
17
|
onSubmit,
|
|
@@ -7,46 +7,46 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, j as httpPost, k as httpGet, u as useTranslation, N as Typography, C as Alert, V as Button, ab as translateTranslatable, U as Loader, z as Icon, B as IconButton, Y as TASK_STATUS_POLLING_INTERVAL_MS, aB as Header, O as StackLayout, ae as createLogger, P as useLegalEntity, R as ROOT_LE, x as useAnalyticsContext, bQ as useLegalEntities, ah as objectsDeepEqual, a as addResourceBundles, E as EntityTypes, a8 as getLegalEntityCountry, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { b as useApiContext, j as httpPost, k as httpGet, u as useTranslation, N as Typography, C as Alert, V as Button, ab as translateTranslatable, U as Loader, z as Icon, B as IconButton, Y as TASK_STATUS_POLLING_INTERVAL_MS, aB as Header, O as StackLayout, ae as createLogger, P as useLegalEntity, R as ROOT_LE, x as useAnalyticsContext, bQ as useLegalEntities, ah as objectsDeepEqual, a as addResourceBundles, E as EntityTypes, a8 as getLegalEntityCountry, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-DKCxUPee.js";
|
|
11
11
|
import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
|
|
12
|
-
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-
|
|
12
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-DAFLyYyP.js";
|
|
13
13
|
import { useState, useMemo, useCallback, useEffect } from "preact/hooks";
|
|
14
|
-
import { h as useBusinessLines } from "./OnboardingDropinComponent-
|
|
14
|
+
import { h as useBusinessLines } from "./OnboardingDropinComponent-BRlY6KUs.js";
|
|
15
15
|
import { useMutation, useQuery, useQueryClient } from "@tanstack/preact-query";
|
|
16
|
-
import { a as useInvalidateRootLegalEntity, u as useToastContext } from "./useToastContext-
|
|
17
|
-
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-
|
|
18
|
-
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
19
|
-
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-
|
|
20
|
-
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-
|
|
21
|
-
import { u as useMultiForm } from "./useMultiForm-
|
|
22
|
-
import { c as createDocumentRequest, d as documentApiUtils } from "./validate-
|
|
23
|
-
import { i as isEmpty } from "./isEmpty-
|
|
16
|
+
import { a as useInvalidateRootLegalEntity, u as useToastContext } from "./useToastContext-CN6SzXSt.js";
|
|
17
|
+
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-BqiM6Z4D.js";
|
|
18
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-8Sn5DTcn.js";
|
|
19
|
+
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-DLkJgmS9.js";
|
|
20
|
+
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-14DNwEiI.js";
|
|
21
|
+
import { u as useMultiForm } from "./useMultiForm-ZSjb-MNl.js";
|
|
22
|
+
import { c as createDocumentRequest, d as documentApiUtils } from "./validate-Dy8GuvEF.js";
|
|
23
|
+
import { i as isEmpty } from "./isEmpty-boSQX897.js";
|
|
24
24
|
import { f as formatObject } from "./utils-DNSfZiio.js";
|
|
25
25
|
import { signal } from "@preact/signals";
|
|
26
|
-
import { E as ErrorPanel } from "./ErrorPanel-
|
|
27
|
-
import { c as createFormUtils } from "./formUtils-
|
|
28
|
-
import { F as Field } from "./Field-
|
|
29
|
-
import { S as Select } from "./Select-
|
|
30
|
-
import { T as TextArea } from "./TextArea-
|
|
31
|
-
import { I as InputDate } from "./InputDate-
|
|
26
|
+
import { E as ErrorPanel } from "./ErrorPanel-B8fHWJ7W.js";
|
|
27
|
+
import { c as createFormUtils } from "./formUtils-DkgXgXMP.js";
|
|
28
|
+
import { F as Field } from "./Field-BguffV12.js";
|
|
29
|
+
import { S as Select } from "./Select-BgkHFapB.js";
|
|
30
|
+
import { T as TextArea } from "./TextArea-u_xiMf1c.js";
|
|
31
|
+
import { I as InputDate } from "./InputDate-BjWLJfR1.js";
|
|
32
32
|
import { I as InputGroup } from "./InputGroup-WBfGDV5F.js";
|
|
33
|
-
import { I as InputText } from "./InputText-
|
|
34
|
-
import { a as allowedCurrencies, T as TODAY_DATE, b as formatDateForInput, S as SOF_CHARACTERS_LIMIT, g as getInputErrors, c as formatAmountWithCurrency, s as sofCategoryItemMapper, d as getPageHeadings, e as getServiceTranslationSelectTitle, h as getSofCardDetails, i as getGettingStartedCardDetails, j as getAdditionalDataSchemaKeys, k as getServiceTranslation, p as parseSOFDocumentDescription, l as getRelevantErrors, m as getUniqueRemediationActions, n as SOF_INVALID_INPUT_ERROR_CODES, o as getServiceTranslationKey, q as getDocumentRequirements, r as getDocumentLists, t as getSourceOfFundsRequiredFields, M as MISSING_DATA_SOF_UPLOAD_CODE, u as parseOriginatorDetails, v as getApplicableBusinessLines, w as areSourceOfFundsEqual, x as getSourceOfFundsRequiredForms, y as getSourceOfFundsPayload, z as getAdditionalDataForOriginator, A as ALLOWED_SOF_SERVICES, B as parseSofOriginatorPayload } from "./utils-
|
|
35
|
-
import { R as RadioGroup } from "./RadioGroup-
|
|
36
|
-
import { C as CountryField } from "./CountryField-
|
|
37
|
-
import { A as Avatar } from "./Avatar
|
|
38
|
-
import { M as Modal } from "./Modal-
|
|
39
|
-
import { C as Confirm } from "./Confirm-
|
|
40
|
-
import { C as Checkbox } from "./Checkbox-
|
|
41
|
-
import { T as TileGroup } from "./TileGroup-
|
|
33
|
+
import { I as InputText } from "./InputText-C6-NIYzH.js";
|
|
34
|
+
import { a as allowedCurrencies, T as TODAY_DATE, b as formatDateForInput, S as SOF_CHARACTERS_LIMIT, g as getInputErrors, c as formatAmountWithCurrency, s as sofCategoryItemMapper, d as getPageHeadings, e as getServiceTranslationSelectTitle, h as getSofCardDetails, i as getGettingStartedCardDetails, j as getAdditionalDataSchemaKeys, k as getServiceTranslation, p as parseSOFDocumentDescription, l as getRelevantErrors, m as getUniqueRemediationActions, n as SOF_INVALID_INPUT_ERROR_CODES, o as getServiceTranslationKey, q as getDocumentRequirements, r as getDocumentLists, t as getSourceOfFundsRequiredFields, M as MISSING_DATA_SOF_UPLOAD_CODE, u as parseOriginatorDetails, v as getApplicableBusinessLines, w as areSourceOfFundsEqual, x as getSourceOfFundsRequiredForms, y as getSourceOfFundsPayload, z as getAdditionalDataForOriginator, A as ALLOWED_SOF_SERVICES, B as parseSofOriginatorPayload } from "./utils-Bx0ZXntJ.js";
|
|
35
|
+
import { R as RadioGroup } from "./RadioGroup-BTCmUbA0.js";
|
|
36
|
+
import { C as CountryField } from "./CountryField-pznzB7Uq.js";
|
|
37
|
+
import { A as Avatar } from "./Avatar-D-VHGhFL.js";
|
|
38
|
+
import { M as Modal } from "./Modal-EL9MXgbw.js";
|
|
39
|
+
import { C as Confirm } from "./Confirm-gEhhWD8f.js";
|
|
40
|
+
import { C as Checkbox } from "./Checkbox-BKM1WPHa.js";
|
|
41
|
+
import { T as TileGroup } from "./TileGroup-r_3ClexW.js";
|
|
42
42
|
import { lazy } from "preact/compat";
|
|
43
|
-
import { u as useTaskStatus } from "./getTrustedFields-
|
|
44
|
-
import { I as Image } from "./unincorporated-partnership-
|
|
45
|
-
import { L as LandingLayout } from "./LandingLayout-
|
|
43
|
+
import { u as useTaskStatus } from "./getTrustedFields-Yhy_d5h0.js";
|
|
44
|
+
import { I as Image } from "./unincorporated-partnership-DYTYq9It.js";
|
|
45
|
+
import { L as LandingLayout } from "./LandingLayout-Dr28QxoC.js";
|
|
46
46
|
import { C as Card } from "./Card-OQuFzmxm.js";
|
|
47
47
|
import { S as StructuredList } from "./StructuredList-CNha20ka.js";
|
|
48
|
-
import { D as Dropzone } from "./Dropzone-
|
|
49
|
-
import { v as validateDateNotInTheFuture } from "./validate-
|
|
48
|
+
import { D as Dropzone } from "./Dropzone-DCTHmJn2.js";
|
|
49
|
+
import { v as validateDateNotInTheFuture } from "./validate-Bz4kAnZq.js";
|
|
50
50
|
const updateSourceOfFunds = async (businessLineId, legalEntityId, baseUrl, data) => {
|
|
51
51
|
return httpPost(
|
|
52
52
|
{
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import { u as useTranslation, N as Typography } from "./StoreProvider-
|
|
12
|
+
import { u as useTranslation, N as Typography } from "./StoreProvider-DKCxUPee.js";
|
|
13
13
|
const range = (stop, start = 0, step = 1) => Array.from({ length: (stop - start) / step + 1 }, (_, i) => start + i * step);
|
|
14
14
|
const progressBar = "adyen-kyc-progress-bar";
|
|
15
15
|
const progressBarThick = "adyen-kyc-progress-bar-thick";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e2 = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n2 = new e2.Error().stack;
|
|
5
|
-
n2 && (e2._sentryDebugIds = e2._sentryDebugIds || {}, e2._sentryDebugIds[n2] = "
|
|
5
|
+
n2 && (e2._sentryDebugIds = e2._sentryDebugIds || {}, e2._sentryDebugIds[n2] = "e594d61f-af96-4bd8-bd39-8a8478f4aa5b", e2._sentryDebugIdIdentifier = "sentry-dbid-e594d61f-af96-4bd8-bd39-8a8478f4aa5b");
|
|
6
6
|
} catch (e2) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
@@ -4785,7 +4785,7 @@ const getAnalyticsAssociatedEntityDetails = (rootLegalEntity, accountHolderType)
|
|
|
4785
4785
|
};
|
|
4786
4786
|
};
|
|
4787
4787
|
const useAnalytics = ({ userEvents, sessionId, sessionData }) => {
|
|
4788
|
-
const sdkVersion = "4.6.0
|
|
4788
|
+
const sdkVersion = "4.6.0";
|
|
4789
4789
|
const { data: rootLegalEntity } = useLegalEntity(ROOT_LE);
|
|
4790
4790
|
const { mutateAsync } = usePushAnalyticEvent(sessionId ?? "");
|
|
4791
4791
|
const { accountHolder } = useAccountHolder();
|
|
@@ -4876,7 +4876,7 @@ const AnalyticsProvider = ({
|
|
|
4876
4876
|
const capabilities = rootLegalEntity?.capabilities && Object.keys(rootLegalEntity.capabilities);
|
|
4877
4877
|
const shouldTrackPrefilledDetails = capabilities?.includes("receivePayments") && onboardingVersion && onboardingVersion > 1;
|
|
4878
4878
|
const sessionData = {
|
|
4879
|
-
sdkVersion: "4.6.0
|
|
4879
|
+
sdkVersion: "4.6.0",
|
|
4880
4880
|
componentName,
|
|
4881
4881
|
userAgent: navigator.userAgent,
|
|
4882
4882
|
legalEntityId: rootLegalEntityId,
|
|
@@ -5336,7 +5336,7 @@ const AllowedCountryGate = ({ children }) => {
|
|
|
5336
5336
|
);
|
|
5337
5337
|
return /* @__PURE__ */ jsx(Fragment$2, { children });
|
|
5338
5338
|
};
|
|
5339
|
-
const DebugModal = lazy(async () => (await import("./DebugModal-
|
|
5339
|
+
const DebugModal = lazy(async () => (await import("./DebugModal-BMXSCZDm.js")).DebugModal);
|
|
5340
5340
|
const DebugListener = () => {
|
|
5341
5341
|
const [debugUiOpen, setDebugUiOpen] = useState$1(false);
|
|
5342
5342
|
const { isSettingEnabled } = useSettingsContext();
|
|
@@ -9,15 +9,15 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { lazy } from "preact/compat";
|
|
12
|
-
import { x as useAnalyticsContext, u as useTranslation, aB as Header, ax as isEmpty, B as IconButton, ab as translateTranslatable } from "./StoreProvider-
|
|
13
|
-
import { I as Image } from "./unincorporated-partnership-
|
|
12
|
+
import { x as useAnalyticsContext, u as useTranslation, aB as Header, ax as isEmpty, B as IconButton, ab as translateTranslatable } from "./StoreProvider-DKCxUPee.js";
|
|
13
|
+
import { I as Image } from "./unincorporated-partnership-DYTYq9It.js";
|
|
14
14
|
import { L as List } from "./List-BAzyC6sw.js";
|
|
15
15
|
import { S as StructuredList } from "./StructuredList-CNha20ka.js";
|
|
16
16
|
import { useRef } from "preact/hooks";
|
|
17
|
-
import { E as ErrorPanel } from "./ErrorPanel-
|
|
17
|
+
import { E as ErrorPanel } from "./ErrorPanel-B8fHWJ7W.js";
|
|
18
18
|
import { t as trackNavigation } from "./trackNavigation-db_h46BT.js";
|
|
19
|
-
import { c as createFormUtils } from "./formUtils-
|
|
20
|
-
import { g as getRoleName } from "./roleMetadata-
|
|
19
|
+
import { c as createFormUtils } from "./formUtils-DkgXgXMP.js";
|
|
20
|
+
import { g as getRoleName } from "./roleMetadata-C9fdKfQp.js";
|
|
21
21
|
import { i as isSummaryItem } from "./summaryItem-CAQCQSkt.js";
|
|
22
22
|
const usePageLandedEvent = () => {
|
|
23
23
|
const userEvents = useAnalyticsContext();
|
|
@@ -7,32 +7,32 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { bp as getNestedPropertyKeys, a9 as CountryCodes, L as LegalEntityTypes, u as useTranslation, z as Icon, ah as objectsDeepEqual, aB as Header, w as TaskTypes, aS as keysOf, H as useToggleContext, t as useAccountHolder, ab as translateTranslatable } from "./StoreProvider-
|
|
10
|
+
import { bp as getNestedPropertyKeys, a9 as CountryCodes, L as LegalEntityTypes, u as useTranslation, z as Icon, ah as objectsDeepEqual, aB as Header, w as TaskTypes, aS as keysOf, H as useToggleContext, t as useAccountHolder, ab as translateTranslatable } from "./StoreProvider-DKCxUPee.js";
|
|
11
11
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
12
12
|
import { lazy, memo } from "preact/compat";
|
|
13
13
|
import { useMemo, useState, useRef, useEffect, useCallback } from "preact/hooks";
|
|
14
|
-
import { F as Field } from "./Field-
|
|
15
|
-
import { S as Select } from "./Select-
|
|
16
|
-
import { T as TextArea } from "./TextArea-
|
|
17
|
-
import { S as StateContextSetter } from "./validate-
|
|
18
|
-
import { u as useForm } from "./useForm-
|
|
14
|
+
import { F as Field } from "./Field-BguffV12.js";
|
|
15
|
+
import { S as Select } from "./Select-BgkHFapB.js";
|
|
16
|
+
import { T as TextArea } from "./TextArea-u_xiMf1c.js";
|
|
17
|
+
import { S as StateContextSetter } from "./validate-Dy8GuvEF.js";
|
|
18
|
+
import { u as useForm } from "./useForm-C1botkQ9.js";
|
|
19
19
|
import cx from "classnames";
|
|
20
|
-
import { I as Image } from "./unincorporated-partnership-
|
|
21
|
-
import { D as Dropzone } from "./Dropzone-
|
|
22
|
-
import { E as ErrorPanel } from "./ErrorPanel-
|
|
23
|
-
import { c as createFormUtils } from "./formUtils-
|
|
24
|
-
import { C as Checkbox } from "./Checkbox-
|
|
25
|
-
import { C as CompanyTypesValues } from "./bafinUtils-
|
|
26
|
-
import { m as makeMask, n as numericInputs, a as nonInputs, d as alphanumericInputs, c as customInputs, b as alphaInputs, s as spacer, M as MaskedInput } from "./MaskedInput-
|
|
20
|
+
import { I as Image } from "./unincorporated-partnership-DYTYq9It.js";
|
|
21
|
+
import { D as Dropzone } from "./Dropzone-DCTHmJn2.js";
|
|
22
|
+
import { E as ErrorPanel } from "./ErrorPanel-B8fHWJ7W.js";
|
|
23
|
+
import { c as createFormUtils } from "./formUtils-DkgXgXMP.js";
|
|
24
|
+
import { C as Checkbox } from "./Checkbox-BKM1WPHa.js";
|
|
25
|
+
import { C as CompanyTypesValues } from "./bafinUtils-Dsw4DufE.js";
|
|
26
|
+
import { m as makeMask, n as numericInputs, a as nonInputs, d as alphanumericInputs, c as customInputs, b as alphaInputs, s as spacer, M as MaskedInput } from "./MaskedInput-Ckb7nz68.js";
|
|
27
27
|
import { r as resolveFieldMetadata } from "./fieldConfigurations-BUT9DTUH.js";
|
|
28
28
|
import { S as SettingNames } from "./types-Dv0COrvY.js";
|
|
29
|
-
import { C as COUNTRIES_WITH_STATES_DATASET } from "./utils-
|
|
29
|
+
import { C as COUNTRIES_WITH_STATES_DATASET } from "./utils-CKmUVF30.js";
|
|
30
30
|
import { c as createFormRules } from "./form-rules-DhbF2mY4.js";
|
|
31
|
-
import { i as isJapanLocalizationEnabled } from "./japanSupportUtils-
|
|
32
|
-
import { i as isDateOlderThanAYear } from "./Address-
|
|
33
|
-
import { u as uppercase } from "./mapExistingFile-
|
|
34
|
-
import { v as validatePatternOnBlur, a as validateNotEmptyOnBlur } from "./patternValidators-
|
|
35
|
-
import { R as RadioGroup } from "./RadioGroup-
|
|
31
|
+
import { i as isJapanLocalizationEnabled } from "./japanSupportUtils-DC6ssQNc.js";
|
|
32
|
+
import { i as isDateOlderThanAYear } from "./Address-Csavi1J2.js";
|
|
33
|
+
import { u as uppercase } from "./mapExistingFile-BMJL0nyv.js";
|
|
34
|
+
import { v as validatePatternOnBlur, a as validateNotEmptyOnBlur } from "./patternValidators-B7j6YIOy.js";
|
|
35
|
+
import { R as RadioGroup } from "./RadioGroup-BTCmUbA0.js";
|
|
36
36
|
const getFieldsWithExistingData = (legalEntity, keyMapping, documentMapping, knownProblematicFields = []) => {
|
|
37
37
|
const apiFieldsWithExistingData = getNestedPropertyKeys(legalEntity);
|
|
38
38
|
const nonDocumentFields = apiFieldsWithExistingData.map((field) => keyMapping[field]).filter(Boolean).filter((field) => !knownProblematicFields.includes(field));
|