@adyen/kyc-components 4.28.0-beta.2 → 4.28.0-beta.3
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/{AcceptTermsOfServiceWorkflow-Be-e8pF_.js → AcceptTermsOfServiceWorkflow-ClAdxVXd.js} +1 -1
- package/dist/{AccountSetupRejected-BGfF7hle.js → AccountSetupRejected-Cr_DSiTy.js} +1 -1
- package/dist/{AdaptiveWorkflow-aM_fyYfd.js → AdaptiveWorkflow-CLLU9pOr.js} +20 -20
- package/dist/{AdaptiveWorkflowComponent-DvhXVdFs.js → AdaptiveWorkflowComponent-xaThXPQf.js} +2 -2
- package/dist/{Address-BrGQ-519.js → Address-5fEOjxqk.js} +8 -8
- package/dist/{BusinessFinancingDropin-Bgg_7bb2.js → BusinessFinancingDropin-DGx2jDOE.js} +20 -20
- package/dist/{BusinessFinancingPage-BlABPwhd.js → BusinessFinancingPage-CnUMV6CL.js} +2 -2
- package/dist/{BusinessRegistrationNumberField-VltO-NYx.js → BusinessRegistrationNumberField-DNbNu2rk.js} +5 -5
- package/dist/{BusinessRegistrationNumberFieldGroup-Dv6BDmMB.js → BusinessRegistrationNumberFieldGroup-BQc3omGX.js} +5 -5
- package/dist/{BusinessTypeSelectionPage-C228n5L8.js → BusinessTypeSelectionPage-BaP-I4aE.js} +10 -10
- package/dist/{Checkbox-qmfi_XIo.js → Checkbox-BEkC71r4.js} +2 -2
- package/dist/{ComponentGroup-CYKRwp_O.js → ComponentGroup-D7Qb-iKj.js} +1 -1
- package/dist/{ConstitutionalDocument-amr_KQ4y.js → ConstitutionalDocument-B8Tban-6.js} +13 -13
- package/dist/{ContactDetails-BOsIRVqJ.js → ContactDetails-OK5zV1U1.js} +4 -4
- package/dist/{ContextGuidance-BXm2eIOy.js → ContextGuidance-Dw47AcKO.js} +2 -2
- package/dist/{CountryField-CrMa4ivD.js → CountryField-B7939WQQ.js} +3 -3
- package/dist/{Currency-l31xe6JM.js → Currency-DrA7jcDt.js} +5 -5
- package/dist/{CustomerSupport-D2jBxiF7.js → CustomerSupport-CJ7N-GAZ.js} +11 -11
- package/dist/{DateField-BgmwaY3C.js → DateField-C3vGj_MK.js} +3 -3
- package/dist/{DebugModal-BlIi2HLj.js → DebugModal-DGzw1r1i.js} +6 -6
- package/dist/{DecisionMakerDetails-jLcZ7TL2.js → DecisionMakerDetails-H1FVYCbP.js} +8 -8
- package/dist/{DecisionMakerDetailsPage-BFJYqKEE.js → DecisionMakerDetailsPage-DnC08qvK.js} +4 -4
- package/dist/{DecisionMakers-CxKzZBAH.js → DecisionMakers-DA6xwA3n.js} +10 -10
- package/dist/{Dropzone-bgeKnb5I.js → Dropzone-WVQBXsOb.js} +4 -4
- package/dist/{EmailField-Bu-zlqHj.js → EmailField-DlTqeno3.js} +3 -3
- package/dist/{EntityAssociation-CiZRBefO.js → EntityAssociation-4ZdNmRZ3.js} +3 -3
- package/dist/{ErrorPanel-CBmxfydA.js → ErrorPanel-Dwtd8sic.js} +2 -2
- package/dist/{GlobalEntryModal-BdBW0KQQ.js → GlobalEntryModal-xc6OrAh4.js} +16 -16
- package/dist/{GlobalEntryPage-rC5GlvG_.js → GlobalEntryPage-BE9bv-C3.js} +3 -3
- package/dist/{IdentityNumber-CEJJ12gt.js → IdentityNumber-De-er201.js} +4 -4
- package/dist/{IdentityNumberFieldGroup-CZfyC-Uk.js → IdentityNumberFieldGroup-C5MkqhvI.js} +2 -2
- package/dist/{IdentityScreeningWorkflow-BCSAk8rF.js → IdentityScreeningWorkflow-CIJU2RTu.js} +6 -6
- package/dist/{IndividualDropin-sjM2hszP.js → IndividualDropin-BwgEZs3x.js} +32 -32
- package/dist/{IndustryCodeFieldGroup-DYalt7iN.js → IndustryCodeFieldGroup-bwVEhYKO.js} +4 -4
- package/dist/{InputDate-C1Q3XDFU.js → InputDate-CXixeMAM.js} +2 -2
- package/dist/{Introduction-DMxhsL3f.js → Introduction-DJjsxmbk.js} +4 -4
- package/dist/{InvitedDecisionMakerComponent-DyfllTrf.js → InvitedDecisionMakerComponent-D6x3KHFI.js} +6 -6
- package/dist/{JpAddress-eN7gCiZX.js → JpAddress-D68j3n7L.js} +8 -8
- package/dist/{LegalCompanyNameField-hsrxQFKc.js → LegalCompanyNameField-BOgs_a16.js} +4 -4
- package/dist/{LegalRepresentativeDetailsPage-DWWgUBxS.js → LegalRepresentativeDetailsPage-DDEEsmwC.js} +2 -2
- package/dist/{Name-X_kAmtWn.js → Name-BHB7kRk8.js} +3 -3
- package/dist/{NumberField-DZon5iLa.js → NumberField-q3UvReko.js} +3 -3
- package/dist/{PatriotActDisclosure-DsSoSucu.js → PatriotActDisclosure-BRuDw3WO.js} +8 -8
- package/dist/{PayoutDetailsDropin-ARFbf1mK.js → PayoutDetailsDropin-Dnrjswyh.js} +20 -20
- package/dist/{PayoutDetailsPage-yToj25iO.js → PayoutDetailsPage-AWba5nQN.js} +3 -3
- package/dist/{RadioGroup-Di2A9RNN.js → RadioGroup-Csw26Mhr.js} +2 -2
- package/dist/{Review-lUkK6MwE.js → Review-BIChuo5g.js} +4 -4
- package/dist/{RootBusinessDetailsPage-ZxdONb8B.js → RootBusinessDetailsPage-Bzea1U5y.js} +2 -2
- package/dist/{RootBusinessLinesPage-Baet_8as.js → RootBusinessLinesPage-DidBwXGi.js} +16 -16
- package/dist/{RootIndividualDetailsPage-BtcFOmeC.js → RootIndividualDetailsPage-DlFgWqMP.js} +2 -2
- package/dist/{Select-Cbxz27iA.js → Select-Jjt3H6zs.js} +3 -3
- package/dist/{SignPCIComponent-B1itIk9F.js → SignPCIComponent-Cbt8lEs0.js} +9 -9
- package/dist/{SingpassSelection-BBA3x8Ek.js → SingpassSelection-B_wq0ro8.js} +3 -3
- package/dist/{SoleProprietorshipPage-D6yrh1Uz.js → SoleProprietorshipPage-DHQ6E1NL.js} +2 -2
- package/dist/{SourceOfFundsPage-Bb67iz0x.js → SourceOfFundsPage-DGgdXrvc.js} +17 -17
- package/dist/{SourceOfFundsWorkflow-BJ9h5nc9.js → SourceOfFundsWorkflow-B8iEJ4QO.js} +1 -1
- package/dist/{StateField-BxWm98Tj.js → StateField-_JphU2zZ.js} +4 -4
- package/dist/{Step-BRmpSabH.js → Step-Bz-enzE4.js} +3 -3
- package/dist/{Summary-BcIbpAPH.js → Summary-CIL8fweW.js} +1 -1
- package/dist/{SummarySection-DnHHb-mJ.js → SummarySection-BdHCHEUu.js} +2 -2
- package/dist/{Task-BG_dxQ2R.js → Task-Bt8pnDA9.js} +4 -4
- package/dist/{TaskGroup-DEPNWcDV.js → TaskGroup-CKzG9dgu.js} +2 -2
- package/dist/{TaskListItem-DpKBxP1U.js → TaskListItem-C71fxN7v.js} +5 -5
- package/dist/{TaxInformationField-Bi3pbDh_.js → TaxInformationField-Da-YR7qg.js} +6 -6
- package/dist/{TaxInformationFieldGroup-CrXPGmyZ.js → TaxInformationFieldGroup-6qs90McT.js} +6 -6
- package/dist/{TaxReportingDropin-CWBoGi-F.js → TaxReportingDropin-Ci8EwFZR.js} +10 -10
- package/dist/{TaxReportingWorkflow-DTB8F3cy.js → TaxReportingWorkflow-BbfN5mpW.js} +1 -1
- package/dist/{TermsOfServiceManagement-nu7MYGFM.js → TermsOfServiceManagement-CdkojO9F.js} +8 -8
- package/dist/{TextArea-CweAdV3F.js → TextArea-CUlnWuqT.js} +3 -3
- package/dist/{TextField-1RHuuIFu.js → TextField-C4nHBtK8.js} +4 -4
- package/dist/{TrustDetailsPage-C2921KNk.js → TrustDetailsPage-CtjpFHPY.js} +21 -21
- package/dist/{TrustMemberCompanyPage-C42UF9Wh.js → TrustMemberCompanyPage-zKqn-pzF.js} +3 -3
- package/dist/{TrustMemberIndividualPage-C924EwDD.js → TrustMemberIndividualPage-BMleFxIy.js} +2 -2
- package/dist/{TrustMemberRoleAndTypePage-Dm_RyCCU.js → TrustMemberRoleAndTypePage-DFpwcJbZ.js} +18 -18
- package/dist/{TrustMembersOverview-D9LIDqH0.js → TrustMembersOverview-D5H8_NMF.js} +9 -9
- package/dist/{UboTaskItem-Bu4PYMxQ.js → UboTaskItem-BJY_1oAJ.js} +3 -3
- package/dist/{UnincorporatedPartnershipIndividualPage-BcrmCuUV.js → UnincorporatedPartnershipIndividualPage-JxcAD39T.js} +2 -2
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-BkUvuiG8.js → UnincorporatedPartnershipMemberCompanyPage-CxsnGabe.js} +3 -3
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-BLvqAXNn.js → UnincorporatedPartnershipMemberRoleAndTypePage-BcE8CfWU.js} +8 -8
- package/dist/{UnincorporatedPartnershipMembersOverview-kTIfytG_.js → UnincorporatedPartnershipMembersOverview-DO1-L5Cn.js} +4 -4
- package/dist/{VerificationErrorAlert-DKPgv09S.js → VerificationErrorAlert-ByJQTWwc.js} +2 -2
- package/dist/{WebsiteField-9tvLajQV.js → WebsiteField-BAqw1q1A.js} +4 -4
- package/dist/{Workflow-DFNvXzVW.js → Workflow-DgFkPT5b.js} +3 -3
- package/dist/{accountHolderUtils-Cga0JXlL.js → accountHolderUtils-C4sbpGq9.js} +1 -1
- package/dist/adyen-business-financing.js +3 -3
- package/dist/adyen-individual-configuration.js +2 -2
- package/dist/adyen-individual-status.js +1 -1
- package/dist/adyen-invited-decision-maker.js +2 -2
- package/dist/adyen-onboarding.js +17 -17
- package/dist/adyen-terms-of-service-management.js +2 -2
- package/dist/adyen-terms-of-service-status.js +1 -1
- package/dist/adyen-transfer-instrument-configuration.js +2 -2
- package/dist/adyen-transfer-instrument-management.js +6 -6
- package/dist/adyen-verification-status.js +1 -1
- package/dist/{bafinUtils-Dxa3eJnZ.js → bafinUtils-Cs44-4gm.js} +7 -7
- package/dist/{constants-BgGlk1x-.js → constants-B8YCUIao.js} +3 -3
- package/dist/{dropinUtils-5RadTVG9.js → dropinUtils-BAx_kWeq.js} +5 -5
- package/dist/{error-D0RXQj2N.js → error-8q7lWdou.js} +2 -2
- package/dist/{fieldConfig-xaGvx64s.js → fieldConfig-Bv9qSPl1.js} +1 -1
- package/dist/{formatDataForSummary-sQzHQFug.js → formatDataForSummary-DVcusBqf.js} +9 -9
- package/dist/{formatValidationError-Dy9gejj2.js → formatValidationError-CRIcczdD.js} +1 -1
- package/dist/{getDefaultRegistrationNumberType-HWiiKcO3.js → getDefaultRegistrationNumberType--Vh5y4A3.js} +4 -4
- package/dist/{getValidationError-a_976vi9.js → getValidationError-t17tjdt8.js} +1 -1
- package/dist/{invalidateRootLegalEntity-DBGrep1S.js → invalidateRootLegalEntity-BWLd6SvV.js} +1 -1
- package/dist/{mapAddressLocalizationToJpAddressSchema-CT6eGqwa.js → mapAddressLocalizationToJpAddressSchema-DqM6uUSJ.js} +2 -2
- package/dist/{mapTransferInstrumentToPayoutAccount-DMhDNc2L.js → mapTransferInstrumentToPayoutAccount-BcWIlJYq.js} +1 -1
- package/dist/{processValidationErrors-gryOf4Fj.js → processValidationErrors-CMs3YEdp.js} +2 -2
- package/dist/{registerEmbed-TZ9ArAAB.js → registerEmbed-Xubdbk-a.js} +7 -7
- package/dist/{roleMetadata-pBX4Alj3.js → roleMetadata-i1i1JuLw.js} +2 -2
- package/dist/types/components/Business/forms/rules.d.ts +1 -1
- package/dist/{unincorporatedPartnership-DsneX1hY.js → unincorporatedPartnership-DPK34PF1.js} +1 -1
- package/dist/{useBusinessDetailsData-Bc_E4Xil.js → useBusinessDetailsData-DwaSU98Q.js} +36 -36
- package/dist/{useCanSeeIntroduction-RI4wFjW9.js → useCanSeeIntroduction-BMXtlTKu.js} +2 -2
- package/dist/{useForm-C3lG_s-c.js → useForm-tZJzKTj7.js} +2 -2
- package/dist/{useId-Cot-htyS.js → useId-usoEnbTl.js} +1 -1
- package/dist/{useNavigate-BAkzuA3A.js → useNavigate-hJpbSouk.js} +32 -32
- package/dist/{useSalesChannels-vbuU4JFd.js → useSalesChannels-OXrUy-Oo.js} +1 -1
- package/dist/{useSaveForLater-CT5C_u8v.js → useSaveForLater-fJUZyWBN.js} +3 -3
- package/dist/{useTaskLandedEvent-J-MdMD4n.js → useTaskLandedEvent-CmLLhK6a.js} +1 -1
- package/dist/{useTrustMembers-SGPMEcnS.js → useTrustMembers-C4jO1FRe.js} +1 -1
- package/dist/{useUnincorporatedPartnershipMembers-CdbgUMUI.js → useUnincorporatedPartnershipMembers-5_bcpZVq.js} +1 -1
- package/dist/{utils-DPqmuHDt.js → utils-6Lfk9m3d.js} +1 -1
- package/dist/{utils-szr8jBGQ.js → utils-B9FZV547.js} +1 -1
- package/dist/{utils-SRtPrNOg.js → utils-CMDo05iY.js} +1 -1
- package/dist/{validate-Dc6tnt1l.js → validate-BY2KTX10.js} +1 -1
- package/dist/{validate-CmvKoxYM.js → validate-CEKo7egC.js} +8 -8
- package/dist/{validate-BiZvmxlT.js → validate-D-9807Cu.js} +1 -1
- package/dist/{validate-DxoJtDwQ.js → validate-NlmooHWm.js} +2 -2
- package/package.json +1 -1
|
@@ -3,7 +3,7 @@ try {
|
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "3f2c4772-f9d1-486c-977f-56f53ef05ba5", e._sentryDebugIdIdentifier = "sentry-dbid-3f2c4772-f9d1-486c-977f-56f53ef05ba5");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { n as addResourceBundles, r as useTranslation } from "./translation-CpH8D2NK.js";
|
|
6
|
-
import { P as _rolldown_dynamic_import_helper_default, n as resolveEnvironment, r as EmbedShell, t as registerEmbed, xt as stylesheets } from "./registerEmbed-
|
|
6
|
+
import { P as _rolldown_dynamic_import_helper_default, n as resolveEnvironment, r as EmbedShell, t as registerEmbed, xt as stylesheets } from "./registerEmbed-Xubdbk-a.js";
|
|
7
7
|
import { s as useApiContext } from "./http-C8rt2BZk.js";
|
|
8
8
|
import { n as useTermsOfServiceAcceptanceInfos, t as useTermsOfServiceStatus } from "./useTermsOfServiceStatus-FDpSDjco.js";
|
|
9
9
|
import { t as emitAdyenSdkEvent } from "./emitEvent-CcGIaOut.js";
|
|
@@ -3,12 +3,12 @@ try {
|
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "633efb90-6d1c-4270-8669-bd957c67e726", e._sentryDebugIdIdentifier = "sentry-dbid-633efb90-6d1c-4270-8669-bd957c67e726");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { n as addResourceBundles, r as useTranslation } from "./translation-CpH8D2NK.js";
|
|
6
|
-
import { P as _rolldown_dynamic_import_helper_default, n as resolveEnvironment, r as EmbedShell, t as registerEmbed, xt as stylesheets } from "./registerEmbed-
|
|
6
|
+
import { P as _rolldown_dynamic_import_helper_default, n as resolveEnvironment, r as EmbedShell, t as registerEmbed, xt as stylesheets } from "./registerEmbed-Xubdbk-a.js";
|
|
7
7
|
import { t as Loader } from "./Loader-BDaKGf77.js";
|
|
8
8
|
import { r as useLegalEntity } from "./useLegalEntity-CxeMoCm4.js";
|
|
9
9
|
import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
|
|
10
10
|
import { t as emitAdyenSdkEvent } from "./emitEvent-CcGIaOut.js";
|
|
11
|
-
import { t as PayoutDetailsDropin } from "./PayoutDetailsDropin-
|
|
11
|
+
import { t as PayoutDetailsDropin } from "./PayoutDetailsDropin-Dnrjswyh.js";
|
|
12
12
|
import { useRef, useState } from "preact/hooks";
|
|
13
13
|
import { jsx } from "preact/jsx-runtime";
|
|
14
14
|
//#region src/components/EmbeddedDropins/CreateTransferInstrumentComponent/CreateTransferInstrumentComponent.tsx
|
|
@@ -3,7 +3,7 @@ try {
|
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "090e3f01-ca3b-44e5-bf0b-5451cfbd135b", e._sentryDebugIdIdentifier = "sentry-dbid-090e3f01-ca3b-44e5-bf0b-5451cfbd135b");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { n as addResourceBundles, r as useTranslation } from "./translation-CpH8D2NK.js";
|
|
6
|
-
import { D as useDataset, O as datasetIdentifier, P as _rolldown_dynamic_import_helper_default, T as Alert, k as datasetUtilities, n as resolveEnvironment, r as EmbedShell, t as registerEmbed, xt as stylesheets } from "./registerEmbed-
|
|
6
|
+
import { D as useDataset, O as datasetIdentifier, P as _rolldown_dynamic_import_helper_default, T as Alert, k as datasetUtilities, n as resolveEnvironment, r as EmbedShell, t as registerEmbed, xt as stylesheets } from "./registerEmbed-Xubdbk-a.js";
|
|
7
7
|
import { t as createLogger } from "./logger-Z8AeTE4x.js";
|
|
8
8
|
import { t as Typography } from "./Typography-CAc_f5Iq.js";
|
|
9
9
|
import { t as Loader } from "./Loader-BDaKGf77.js";
|
|
@@ -12,15 +12,15 @@ import { n as httpGet, s as useApiContext } from "./http-C8rt2BZk.js";
|
|
|
12
12
|
import { o as entriesOf, t as cloneObject } from "./genUtils-nphCwt1A.js";
|
|
13
13
|
import { i as TaskStatuses } from "./taskStatus-BtekPA8E.js";
|
|
14
14
|
import { n as getCapabilityProblems } from "./processCapabilities-B75YIdXZ.js";
|
|
15
|
-
import { n as Modal } from "./useId-
|
|
15
|
+
import { n as Modal } from "./useId-usoEnbTl.js";
|
|
16
16
|
import { t as Card } from "./Card-BCGLpdw7.js";
|
|
17
|
-
import { n as useToastContext } from "./invalidateRootLegalEntity-
|
|
18
|
-
import { n as useDeleteTransferInstrument, t as VerificationErrorAlert } from "./VerificationErrorAlert-
|
|
19
|
-
import { o as StructuredList, s as Confirm } from "./utils-
|
|
17
|
+
import { n as useToastContext } from "./invalidateRootLegalEntity-BWLd6SvV.js";
|
|
18
|
+
import { n as useDeleteTransferInstrument, t as VerificationErrorAlert } from "./VerificationErrorAlert-ByJQTWwc.js";
|
|
19
|
+
import { o as StructuredList, s as Confirm } from "./utils-6Lfk9m3d.js";
|
|
20
20
|
import { t as emitAdyenSdkEvent } from "./emitEvent-CcGIaOut.js";
|
|
21
21
|
import { t as Tag } from "./Tag-CNeDHqKp.js";
|
|
22
22
|
import { n as statusToTag, t as EmbeddedStatus } from "./EmbeddedStatus-aQaNHawQ.js";
|
|
23
|
-
import { n as useTransferInstrument, t as mapTransferInstrumentToPayoutAccount } from "./mapTransferInstrumentToPayoutAccount-
|
|
23
|
+
import { n as useTransferInstrument, t as mapTransferInstrumentToPayoutAccount } from "./mapTransferInstrumentToPayoutAccount-BcWIlJYq.js";
|
|
24
24
|
import { t as currencyByCountry } from "./types-CP3D_hFv.js";
|
|
25
25
|
import { t as DetailViewLayout } from "./DetailViewLayout-DJgAzdlZ.js";
|
|
26
26
|
import { useRef, useState } from "preact/hooks";
|
|
@@ -3,7 +3,7 @@ try {
|
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "4859d045-6db0-44c0-aaf8-cfb744cce0a7", e._sentryDebugIdIdentifier = "sentry-dbid-4859d045-6db0-44c0-aaf8-cfb744cce0a7");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { n as addResourceBundles, r as useTranslation } from "./translation-CpH8D2NK.js";
|
|
6
|
-
import { P as _rolldown_dynamic_import_helper_default, T as Alert, n as resolveEnvironment, r as EmbedShell, t as registerEmbed, xt as stylesheets } from "./registerEmbed-
|
|
6
|
+
import { P as _rolldown_dynamic_import_helper_default, T as Alert, n as resolveEnvironment, r as EmbedShell, t as registerEmbed, xt as stylesheets } from "./registerEmbed-Xubdbk-a.js";
|
|
7
7
|
import { t as createLogger } from "./logger-Z8AeTE4x.js";
|
|
8
8
|
import { t as Loader } from "./Loader-BDaKGf77.js";
|
|
9
9
|
import { t as Button } from "./Button-EhGM-oCO.js";
|
|
@@ -3,7 +3,7 @@ try {
|
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "4f49ad75-52a3-45c2-a7f8-26d342034b2d", e._sentryDebugIdIdentifier = "sentry-dbid-4f49ad75-52a3-45c2-a7f8-26d342034b2d");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation } from "./translation-CpH8D2NK.js";
|
|
6
|
-
import { R as listToRecord, T as Alert } from "./registerEmbed-
|
|
6
|
+
import { R as listToRecord, T as Alert } from "./registerEmbed-Xubdbk-a.js";
|
|
7
7
|
import { t as Icon } from "./Icon-D2IGgB2L.js";
|
|
8
8
|
import { t as Typography } from "./Typography-CAc_f5Iq.js";
|
|
9
9
|
import { t as Button } from "./Button-EhGM-oCO.js";
|
|
@@ -12,12 +12,12 @@ import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
|
|
|
12
12
|
import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
|
|
13
13
|
import { t as DecisionMakerTypes } from "./decisionMaker-CR0qaGWQ.js";
|
|
14
14
|
import { t as Scenarios } from "./scenarios-nibtmpSb.js";
|
|
15
|
-
import { a as useAnalyticsContext, i as KEYBOARD_KEYS, n as Modal, t as useId } from "./useId-
|
|
16
|
-
import { n as RadioWithLabel, t as RadioGroup } from "./RadioGroup-
|
|
17
|
-
import { o as Field } from "./Select-
|
|
18
|
-
import { s as Confirm } from "./utils-
|
|
19
|
-
import { m as isEmpty } from "./StateField-
|
|
20
|
-
import { A as alphanumericInputs, D as validatePatternOnBlur, E as validateNotEmptyOnBlur, F as spacer, M as makeMask, N as nonInputs, O as uppercase, P as numericInputs, j as customInputs, k as alphaInputs } from "./dropinUtils-
|
|
15
|
+
import { a as useAnalyticsContext, i as KEYBOARD_KEYS, n as Modal, t as useId } from "./useId-usoEnbTl.js";
|
|
16
|
+
import { n as RadioWithLabel, t as RadioGroup } from "./RadioGroup-Csw26Mhr.js";
|
|
17
|
+
import { o as Field } from "./Select-Jjt3H6zs.js";
|
|
18
|
+
import { s as Confirm } from "./utils-6Lfk9m3d.js";
|
|
19
|
+
import { m as isEmpty } from "./StateField-_JphU2zZ.js";
|
|
20
|
+
import { A as alphanumericInputs, D as validatePatternOnBlur, E as validateNotEmptyOnBlur, F as spacer, M as makeMask, N as nonInputs, O as uppercase, P as numericInputs, j as customInputs, k as alphaInputs } from "./dropinUtils-BAx_kWeq.js";
|
|
21
21
|
import { useCallback, useEffect, useMemo, useRef, useState } from "preact/hooks";
|
|
22
22
|
import cx from "classnames";
|
|
23
23
|
import { Fragment, jsx, jsxs } from "preact/jsx-runtime";
|
|
@@ -4,9 +4,9 @@ try {
|
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation } from "./translation-CpH8D2NK.js";
|
|
6
6
|
import { n as IconButton } from "./Button-EhGM-oCO.js";
|
|
7
|
-
import { i as useToggleContext } from "./Checkbox-
|
|
8
|
-
import { o as Field, t as Select } from "./Select-
|
|
9
|
-
import { o as List } from "./dropinUtils-
|
|
7
|
+
import { i as useToggleContext } from "./Checkbox-BEkC71r4.js";
|
|
8
|
+
import { o as Field, t as Select } from "./Select-Jjt3H6zs.js";
|
|
9
|
+
import { o as List } from "./dropinUtils-BAx_kWeq.js";
|
|
10
10
|
import { useEffect, useMemo, useRef, useState } from "preact/hooks";
|
|
11
11
|
import { Fragment, jsx, jsxs } from "preact/jsx-runtime";
|
|
12
12
|
import { signal } from "@preact/signals";
|
|
@@ -3,15 +3,15 @@ try {
|
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "501048c0-b939-457c-b8f1-06b1f5a6d371", e._sentryDebugIdIdentifier = "sentry-dbid-501048c0-b939-457c-b8f1-06b1f5a6d371");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation } from "./translation-CpH8D2NK.js";
|
|
6
|
-
import { D as useDataset, K as LATIN_SPACE_MARK_PUNCTUATION_NUMBERS_REGEX, O as datasetIdentifier, U as EMOJI_REGEX, Y as OTHER_ENTITIES_VALID_CHAR_REGEX, at as hasRepeatedCharacters, ct as isEmpty, ft as isValidMinLength, ht as standardKatakanaValidator, mt as standardKanjiValidator, ot as hasText, pt as matchesRegex, q as NO_ALPHABET_REGEX, ut as isInvalidName } from "./registerEmbed-
|
|
6
|
+
import { D as useDataset, K as LATIN_SPACE_MARK_PUNCTUATION_NUMBERS_REGEX, O as datasetIdentifier, U as EMOJI_REGEX, Y as OTHER_ENTITIES_VALID_CHAR_REGEX, at as hasRepeatedCharacters, ct as isEmpty, ft as isValidMinLength, ht as standardKatakanaValidator, mt as standardKanjiValidator, ot as hasText, pt as matchesRegex, q as NO_ALPHABET_REGEX, ut as isInvalidName } from "./registerEmbed-Xubdbk-a.js";
|
|
7
7
|
import { t as createLogger } from "./logger-Z8AeTE4x.js";
|
|
8
8
|
import { t as Icon } from "./Icon-D2IGgB2L.js";
|
|
9
9
|
import { t as Button } from "./Button-EhGM-oCO.js";
|
|
10
10
|
import { a as objectsDeepEqual, o as entriesOf, t as cloneObject } from "./genUtils-nphCwt1A.js";
|
|
11
|
-
import { a as useAnalyticsContext, i as KEYBOARD_KEYS } from "./useId-
|
|
12
|
-
import { a as InputBase, i as useForwardedRef, o as formDebugInfo, r as InputText } from "./RadioGroup-
|
|
13
|
-
import { a as translateTranslatable, c as MaybeModal, d as omitKeys, f as ValidationResult, i as isTranslationObject, l as addKeys, o as Field, p as LoaderWrapper, s as ProgressBar, t as Select, u as getDataByFields } from "./Select-
|
|
14
|
-
import { s as Confirm } from "./utils-
|
|
11
|
+
import { a as useAnalyticsContext, i as KEYBOARD_KEYS } from "./useId-usoEnbTl.js";
|
|
12
|
+
import { a as InputBase, i as useForwardedRef, o as formDebugInfo, r as InputText } from "./RadioGroup-Csw26Mhr.js";
|
|
13
|
+
import { a as translateTranslatable, c as MaybeModal, d as omitKeys, f as ValidationResult, i as isTranslationObject, l as addKeys, o as Field, p as LoaderWrapper, s as ProgressBar, t as Select, u as getDataByFields } from "./Select-Jjt3H6zs.js";
|
|
14
|
+
import { s as Confirm } from "./utils-6Lfk9m3d.js";
|
|
15
15
|
import { forwardRef } from "preact/compat";
|
|
16
16
|
import { useCallback as useCallback$1, useContext as useContext$1, useEffect as useEffect$1, useLayoutEffect, useMemo as useMemo$1, useReducer, useRef as useRef$1, useState as useState$1 } from "preact/hooks";
|
|
17
17
|
import cx from "classnames";
|
|
@@ -3,8 +3,8 @@ try {
|
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "7b0a2644-b014-4dfd-a3d6-afb665399241", e._sentryDebugIdIdentifier = "sentry-dbid-7b0a2644-b014-4dfd-a3d6-afb665399241");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { t as cloneObject } from "./genUtils-nphCwt1A.js";
|
|
6
|
-
import { i as getProp, n as deleteProp } from "./utils-
|
|
7
|
-
import { a as isValueObscured } from "./dropinUtils-
|
|
6
|
+
import { i as getProp, n as deleteProp } from "./utils-6Lfk9m3d.js";
|
|
7
|
+
import { a as isValueObscured } from "./dropinUtils-BAx_kWeq.js";
|
|
8
8
|
//#region src/utils/omitObscuredFieldsIfUnchanged.ts
|
|
9
9
|
var omitObscuredFieldsIfUnchanged = (obscuredFields, dataSubmitted, savedData) => {
|
|
10
10
|
if (!dataSubmitted) return;
|
|
@@ -2,7 +2,7 @@ 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
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "c3c87b9d-b41e-4c81-9ca1-2fd1915de2f0", e._sentryDebugIdIdentifier = "sentry-dbid-c3c87b9d-b41e-4c81-9ca1-2fd1915de2f0");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { ct as isEmpty } from "./registerEmbed-
|
|
5
|
+
import { ct as isEmpty } from "./registerEmbed-Xubdbk-a.js";
|
|
6
6
|
import { n as httpGet, s as useApiContext } from "./http-C8rt2BZk.js";
|
|
7
7
|
import { useQuery } from "@tanstack/preact-query";
|
|
8
8
|
//#region src/api/industryCodes/useIndustryCodes.ts
|
|
@@ -3,7 +3,7 @@ try {
|
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "791ee8b0-e952-4abd-9098-13f292185627", e._sentryDebugIdIdentifier = "sentry-dbid-791ee8b0-e952-4abd-9098-13f292185627");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation } from "./translation-CpH8D2NK.js";
|
|
6
|
-
import { ct as isEmpty, k as datasetUtilities } from "./registerEmbed-
|
|
6
|
+
import { ct as isEmpty, k as datasetUtilities } from "./registerEmbed-Xubdbk-a.js";
|
|
7
7
|
import { t as Typography } from "./Typography-CAc_f5Iq.js";
|
|
8
8
|
import { t as Button } from "./Button-EhGM-oCO.js";
|
|
9
9
|
import { r as httpPost, s as useApiContext } from "./http-C8rt2BZk.js";
|
|
@@ -13,16 +13,16 @@ import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
|
|
|
13
13
|
import { o as getNomineeFromAssociation } from "./entityAssociationUtil-BlfcBl3i.js";
|
|
14
14
|
import { t as DecisionMakerTypes } from "./decisionMaker-CR0qaGWQ.js";
|
|
15
15
|
import { t as Scenarios } from "./scenarios-nibtmpSb.js";
|
|
16
|
-
import { a as useAnalyticsContext } from "./useId-
|
|
17
|
-
import { o as Field } from "./Select-
|
|
18
|
-
import { r as formatObject } from "./utils-
|
|
19
|
-
import { m as isEmpty$1, o as mapAddressLabels } from "./StateField-
|
|
20
|
-
import { a as isValueObscured } from "./dropinUtils-
|
|
21
|
-
import { H as taxIdNumberOptions, L as mapApiScriptLocalizationToSchemaFields, R as mapSchemaFieldsToApiScriptLocalization, U as TileGroup, d as upsertTaxInfoForCountry, z as getTaxIdNumberOptions } from "./bafinUtils-
|
|
16
|
+
import { a as useAnalyticsContext } from "./useId-usoEnbTl.js";
|
|
17
|
+
import { o as Field } from "./Select-Jjt3H6zs.js";
|
|
18
|
+
import { r as formatObject } from "./utils-6Lfk9m3d.js";
|
|
19
|
+
import { m as isEmpty$1, o as mapAddressLabels } from "./StateField-_JphU2zZ.js";
|
|
20
|
+
import { a as isValueObscured } from "./dropinUtils-BAx_kWeq.js";
|
|
21
|
+
import { H as taxIdNumberOptions, L as mapApiScriptLocalizationToSchemaFields, R as mapSchemaFieldsToApiScriptLocalization, U as TileGroup, d as upsertTaxInfoForCountry, z as getTaxIdNumberOptions } from "./bafinUtils-Cs44-4gm.js";
|
|
22
22
|
import { s as isIdDocumentType, u as getLocalizedIdDocumentTypeOptions } from "./documentUtils-6K3LdjjN.js";
|
|
23
|
-
import { n as mapJpAddressSchemaToAddressLocalizations, t as mapAddressLocalizationToJpAddressSchema } from "./mapAddressLocalizationToJpAddressSchema-
|
|
23
|
+
import { n as mapJpAddressSchemaToAddressLocalizations, t as mapAddressLocalizationToJpAddressSchema } from "./mapAddressLocalizationToJpAddressSchema-DqM6uUSJ.js";
|
|
24
24
|
import { t as localizeDateString } from "./localizeDateString-Dxlqr4rL.js";
|
|
25
|
-
import { t as getRoleName } from "./roleMetadata-
|
|
25
|
+
import { t as getRoleName } from "./roleMetadata-i1i1JuLw.js";
|
|
26
26
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
27
27
|
import { signal } from "@preact/signals";
|
|
28
28
|
import { useMutation } from "@tanstack/preact-query";
|
|
@@ -2,7 +2,7 @@ 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
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "b0e7f66b-cc38-479b-a20e-3381c0105514", e._sentryDebugIdIdentifier = "sentry-dbid-b0e7f66b-cc38-479b-a20e-3381c0105514");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { a as translateTranslatable, i as isTranslationObject } from "./Select-
|
|
5
|
+
import { a as translateTranslatable, i as isTranslationObject } from "./Select-Jjt3H6zs.js";
|
|
6
6
|
//#region src/utils/validation/formatValidationError.ts
|
|
7
7
|
/**
|
|
8
8
|
* Converts `NsTranslatable` validation error messages into `FieldErrorMessage` for use in `Field` components
|
|
@@ -4,10 +4,10 @@ try {
|
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation } from "./translation-CpH8D2NK.js";
|
|
6
6
|
import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
|
|
7
|
-
import { t as RadioGroup } from "./RadioGroup-
|
|
8
|
-
import { o as Field } from "./Select-
|
|
9
|
-
import { D as validatePatternOnBlur, E as validateNotEmptyOnBlur, F as spacer, M as makeMask, P as numericInputs } from "./dropinUtils-
|
|
10
|
-
import { G as businessRegistrationNumberMasks, K as stateFormatGuidanceText, W as businessRegistrationNumberPatterns } from "./bafinUtils-
|
|
7
|
+
import { t as RadioGroup } from "./RadioGroup-Csw26Mhr.js";
|
|
8
|
+
import { o as Field } from "./Select-Jjt3H6zs.js";
|
|
9
|
+
import { D as validatePatternOnBlur, E as validateNotEmptyOnBlur, F as spacer, M as makeMask, P as numericInputs } from "./dropinUtils-BAx_kWeq.js";
|
|
10
|
+
import { G as businessRegistrationNumberMasks, K as stateFormatGuidanceText, W as businessRegistrationNumberPatterns } from "./bafinUtils-Cs44-4gm.js";
|
|
11
11
|
import { useCallback, useEffect, useMemo } from "preact/hooks";
|
|
12
12
|
import { jsx } from "preact/jsx-runtime";
|
|
13
13
|
//#region src/components/Shared/fields/BusinessRegistrationNumberField/fieldConfig.ts
|
|
@@ -2,7 +2,7 @@ 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
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "aced4589-0525-4bc9-940b-811fff1b2004", e._sentryDebugIdIdentifier = "sentry-dbid-aced4589-0525-4bc9-940b-811fff1b2004");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { a as translateTranslatable } from "./Select-
|
|
5
|
+
import { a as translateTranslatable } from "./Select-Jjt3H6zs.js";
|
|
6
6
|
//#region src/adaptiveWorkflow/utils/validators/getValidationError.ts
|
|
7
7
|
/**
|
|
8
8
|
* Runs an array of validators against a value.
|
package/dist/{invalidateRootLegalEntity-DBGrep1S.js → invalidateRootLegalEntity-BWLd6SvV.js}
RENAMED
|
@@ -2,7 +2,7 @@ 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
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "ba5fc342-0f36-4ab9-aba0-fb91433f3b0c", e._sentryDebugIdIdentifier = "sentry-dbid-ba5fc342-0f36-4ab9-aba0-fb91433f3b0c");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { V as ToastContext } from "./registerEmbed-
|
|
5
|
+
import { V as ToastContext } from "./registerEmbed-Xubdbk-a.js";
|
|
6
6
|
import { t as createLogger } from "./logger-Z8AeTE4x.js";
|
|
7
7
|
import { s as useApiContext } from "./http-C8rt2BZk.js";
|
|
8
8
|
import { useCallback, useContext } from "preact/hooks";
|
|
@@ -2,8 +2,8 @@ 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
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "b2bf8dbc-e1b8-4ba5-8f8b-b552610f6194", e._sentryDebugIdIdentifier = "sentry-dbid-b2bf8dbc-e1b8-4ba5-8f8b-b552610f6194");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { m as isEmpty } from "./StateField-
|
|
6
|
-
import { L as mapApiScriptLocalizationToSchemaFields, R as mapSchemaFieldsToApiScriptLocalization } from "./bafinUtils-
|
|
5
|
+
import { m as isEmpty } from "./StateField-_JphU2zZ.js";
|
|
6
|
+
import { L as mapApiScriptLocalizationToSchemaFields, R as mapSchemaFieldsToApiScriptLocalization } from "./bafinUtils-Cs44-4gm.js";
|
|
7
7
|
//#region src/components/Shared/fields/Address/localized/jp/mapJpAddressSchemaToAddressLocalizations.ts
|
|
8
8
|
var mapJpAddressSchemaToAddressLocalizations = (data) => {
|
|
9
9
|
if (!data) return [];
|
|
@@ -4,7 +4,7 @@ try {
|
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { n as httpGet, s as useApiContext } from "./http-C8rt2BZk.js";
|
|
6
6
|
import { b as crossBorderMapping, x as payoutComponentKeyMapping } from "./processCapabilities-B75YIdXZ.js";
|
|
7
|
-
import { a as mapWith } from "./utils-
|
|
7
|
+
import { a as mapWith } from "./utils-6Lfk9m3d.js";
|
|
8
8
|
import { skipToken, useQuery } from "@tanstack/preact-query";
|
|
9
9
|
//#region src/api/transferInstruments/useTransferInstrument.ts
|
|
10
10
|
var getTransferInstrument = async (legalEntityId, baseUrl, transferInstrumentId) => {
|
|
@@ -4,8 +4,8 @@ try {
|
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { S as remediationPayoutApiKeyMapping, d as remediationIndividualApiKeyMapping, v as remediationBusinessDetailsApiKeyMapping } from "./processCapabilities-B75YIdXZ.js";
|
|
6
6
|
import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
|
|
7
|
-
import { t as assignToProp } from "./utils-
|
|
8
|
-
import { h as getFieldNameFromPath } from "./dropinUtils-
|
|
7
|
+
import { t as assignToProp } from "./utils-6Lfk9m3d.js";
|
|
8
|
+
import { h as getFieldNameFromPath } from "./dropinUtils-BAx_kWeq.js";
|
|
9
9
|
//#region src/types/errors/maintenance-mode-error.ts
|
|
10
10
|
var isMaintenanceModeError = (error) => error && typeof error === "object" && "messageCode" in error && error.messageCode === "maintenanceMode";
|
|
11
11
|
//#endregion
|
|
@@ -1,6 +1,6 @@
|
|
|
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] = "20c57e8b-0c4e-465d-8c4b-83de0fbcf8b7", e._sentryDebugIdIdentifier = "sentry-dbid-20c57e8b-0c4e-465d-8c4b-83de0fbcf8b7");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { a as setDefaults, i as setI18n, n as addResourceBundles, r as useTranslation } from "./translation-CpH8D2NK.js";
|
|
6
6
|
import { t as createLogger } from "./logger-Z8AeTE4x.js";
|
|
@@ -408,7 +408,7 @@ var useAccountHolder = () => {
|
|
|
408
408
|
//#endregion
|
|
409
409
|
//#region src/hooks/useAnalytics/useAnalytics.ts
|
|
410
410
|
var useAnalytics = ({ userEvents, sessionId, sessionData }) => {
|
|
411
|
-
const sdkVersion = "4.28.0-beta.
|
|
411
|
+
const sdkVersion = "4.28.0-beta.3";
|
|
412
412
|
const { data: rootLegalEntity } = useLegalEntity(ROOT_LE);
|
|
413
413
|
const { mutateAsync } = usePushAnalyticEvent(sessionId ?? "");
|
|
414
414
|
const { accountHolder } = useAccountHolder();
|
|
@@ -520,7 +520,7 @@ var AnalyticsProvider = ({ componentName, children, rootLegalEntityId, locale })
|
|
|
520
520
|
const capabilities = rootLegalEntity?.capabilities && Object.keys(rootLegalEntity.capabilities);
|
|
521
521
|
const shouldTrackPrefilledDetails = capabilities?.includes("receivePayments") && onboardingVersion && onboardingVersion > 1;
|
|
522
522
|
const sessionData = {
|
|
523
|
-
sdkVersion: "4.28.0-beta.
|
|
523
|
+
sdkVersion: "4.28.0-beta.3",
|
|
524
524
|
componentName,
|
|
525
525
|
userAgent: navigator.userAgent,
|
|
526
526
|
legalEntityId: rootLegalEntityId,
|
|
@@ -1799,7 +1799,7 @@ var AllowedCountryGate = ({ children }) => {
|
|
|
1799
1799
|
};
|
|
1800
1800
|
//#endregion
|
|
1801
1801
|
//#region src/components/Shared/devex/DebugListener/DebugListener.tsx
|
|
1802
|
-
var DebugModal = lazy(async () => (await import("./DebugModal-
|
|
1802
|
+
var DebugModal = lazy(async () => (await import("./DebugModal-DGzw1r1i.js")).DebugModal);
|
|
1803
1803
|
/**
|
|
1804
1804
|
* Adds a listener on the page to open the debug modal when the
|
|
1805
1805
|
* debug modal key combination is pressed to open it
|
|
@@ -2548,7 +2548,7 @@ var EmbedShell = ({ children, rootLegalEntityId, settings, features, refreshExpe
|
|
|
2548
2548
|
children: [/* @__PURE__ */ jsx(LanguageSwitcher, { locale }), /* @__PURE__ */ jsxs(StoreProvider, { children: [/* @__PURE__ */ jsx("span", {
|
|
2549
2549
|
id: "sdk-version",
|
|
2550
2550
|
hidden: true,
|
|
2551
|
-
children: "4.28.0-beta.
|
|
2551
|
+
children: "4.28.0-beta.3"
|
|
2552
2552
|
}), /* @__PURE__ */ jsx(AnalyticsProvider, {
|
|
2553
2553
|
componentName,
|
|
2554
2554
|
locale,
|
|
@@ -2601,13 +2601,13 @@ var registerEmbed = (component, tagName, propNames, options) => {
|
|
|
2601
2601
|
throw new Error(`[adyen-kyc-components] cannot register <${tagName}>: tag name is already in use.`);
|
|
2602
2602
|
}
|
|
2603
2603
|
const customElement = register(component, tagName, propNames, options);
|
|
2604
|
-
Object.defineProperty(customElement, ADYEN_EMBED_MARKER, { value: "4.28.0-beta.
|
|
2604
|
+
Object.defineProperty(customElement, ADYEN_EMBED_MARKER, { value: "4.28.0-beta.3" });
|
|
2605
2605
|
return customElement;
|
|
2606
2606
|
};
|
|
2607
2607
|
/** Explain that multiple versions should not be used */
|
|
2608
2608
|
var warnOnSdkVersionMismatch = (tagName, existingElement) => {
|
|
2609
2609
|
const registeredVersion = Reflect.get(existingElement, ADYEN_EMBED_MARKER);
|
|
2610
|
-
if (registeredVersion !== "4.28.0-beta.
|
|
2610
|
+
if (registeredVersion !== "4.28.0-beta.3") console.warn(`[adyen-kyc-components] <${tagName}> was already registered by another copy of the SDK (registered: ${String(registeredVersion)}, current: 4.28.0-beta.3). Keeping existing `);
|
|
2611
2611
|
};
|
|
2612
2612
|
//#endregion
|
|
2613
2613
|
export { concatenateFieldNames as $, useAllowedCountries as A, ToastContextProvider as B, getObscuredAccountNumber as C, useDataset as D, AlertIcon as E, ExperimentNames as F, INDIVIDUAL_VALID_CHAR_REGEX as G, ADDRESS_VALID_CHAR_REGEX as H, FeatureNames as I, NO_ALPHABET_UNICODE_REGEX as J, LATIN_SPACE_MARK_PUNCTUATION_NUMBERS_REGEX as K, ToggleContext as L, useSetting as M, Header as N, datasetIdentifier as O, _rolldown_dynamic_import_helper_default as P, chomeAndBanchiValidator as Q, listToRecord as R, isPartOfUnincorporatedPartnership as S, Alert as T, EMOJI_REGEX as U, ToastContext as V, HAS_PROTOCOL_REGEX as W, SPECIAL_CHARS as X, OTHER_ENTITIES_VALID_CHAR_REGEX as Y, URL_REGEX as Z, isPartOfTrustFromLegalEntity as _, AnalyticsContext as _t, useGetTaskStatus as a, hasRepeatedCharacters as at, TrustMemberGuidanceLabels as b, useVersionConfiguration as bt, getAgeRangeForLegalRepresentative as c, isEmpty as ct, splitTaskIdentifier as d, isUndefinedOrNull as dt, extractFieldName as et, hasAllCapabilitiesResolved as f, isValidMinLength as ft, getOwnTrustProblems as g, StateContext as gt, getCountrySpecificTrustTypeOptions as h, standardKatakanaValidator as ht, isDarkMode as i, hasMaximumTwoRepeatedCharacters as it, useCapabilities as j, datasetUtilities as k, getAgeToday as l, isISIN as lt, isEmptyEntity as m, standardKanjiValidator as mt, resolveEnvironment as n, getMaxLengthByFieldAndCountry as nt, useGlobalStore as o, hasText as ot, hasRejectedCapabilities as p, matchesRegex as pt, NO_ALPHABET_REGEX as q, EmbedShell as r, hasEmptyFields as rt, doesLegalEntityRequiresLegalRepresentative as s, isAccountIdentifierObscured as st, registerEmbed as t, getFormattingRegEx as tt, isLegalRepresentativeNeeded as u, isInvalidName as ut, DEFAULT_TRUST_MEMBER_REQUIREMENTS as v, useAccountHolder as vt, isInstantVerifiedAccount as w, getOwnUnincorporatedPartnershipProblems as x, stylesheets as xt, TRUST_DEFAULT_DESCRIPTIONS_MAP as y, useLocalStorage as yt, useToggles as z };
|
|
@@ -2,10 +2,10 @@ 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
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "3d1059a5-7d26-4696-b5df-9e7b5a8b6cd2", e._sentryDebugIdIdentifier = "sentry-dbid-3d1059a5-7d26-4696-b5df-9e7b5a8b6cd2");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { b as TrustMemberGuidanceLabels } from "./registerEmbed-
|
|
5
|
+
import { b as TrustMemberGuidanceLabels } from "./registerEmbed-Xubdbk-a.js";
|
|
6
6
|
import { t as DecisionMakerTypes } from "./decisionMaker-CR0qaGWQ.js";
|
|
7
7
|
import { t as TrustMemberTypes } from "./trustMemberType-Ix2sf6e_.js";
|
|
8
|
-
import { t as UnincorporatedPartnershipMemberTypes } from "./unincorporatedPartnership-
|
|
8
|
+
import { t as UnincorporatedPartnershipMemberTypes } from "./unincorporatedPartnership-DPK34PF1.js";
|
|
9
9
|
//#region src/utils/roleMetadata.ts
|
|
10
10
|
var roleMetadata = {
|
|
11
11
|
[DecisionMakerTypes.CONTROLLING_PERSON]: {
|
|
@@ -8,7 +8,7 @@ interface RulesProps extends Omit<FormRulesParams<BusinessDetailsSchema>, 'taskT
|
|
|
8
8
|
defaultData?: MultiFormOptions<BusinessDetailsSchema>['defaultData'];
|
|
9
9
|
verifiedBusiness?: CompanySelectionResponse;
|
|
10
10
|
}
|
|
11
|
-
export declare const rules: ({ data, defaultData, verifiedBusiness, country, taskType, isFeatureEnabled, isSettingEnabled,
|
|
11
|
+
export declare const rules: ({ data, defaultData, verifiedBusiness, country, taskType, isFeatureEnabled, isSettingEnabled, accountHolder, rootLegalEntity, tinMatched, version, }: RulesProps) => {
|
|
12
12
|
requireDoingBusinessAsName: () => "REQUIRED" | undefined;
|
|
13
13
|
countryRequiresStateOrProvince: () => "REQUIRED" | undefined;
|
|
14
14
|
ifPubliclyTradedCompany: () => "REQUIRED" | undefined;
|
package/dist/{unincorporatedPartnership-DsneX1hY.js → unincorporatedPartnership-DPK34PF1.js}
RENAMED
|
@@ -8,7 +8,7 @@ import { t as Loader } from "./Loader-BDaKGf77.js";
|
|
|
8
8
|
import { s as keysOf } from "./genUtils-nphCwt1A.js";
|
|
9
9
|
import { t as StackLayout } from "./StackLayout-J1ynSX-P.js";
|
|
10
10
|
import { T as dataMissingRemediationsToFieldsMap, h as businessDetailsApiKeyMapping, r as remediationHasFileUploadField, s as individualApiKeyMapping } from "./processCapabilities-B75YIdXZ.js";
|
|
11
|
-
import { o as formDebugInfo } from "./RadioGroup-
|
|
11
|
+
import { o as formDebugInfo } from "./RadioGroup-Csw26Mhr.js";
|
|
12
12
|
import { Suspense } from "preact/compat";
|
|
13
13
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
14
14
|
var LandingLayout_module_default = {
|
|
@@ -1,9 +1,9 @@
|
|
|
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] = "fba88a0d-3fbc-41c9-aab5-aa74c07b2bad", e._sentryDebugIdIdentifier = "sentry-dbid-fba88a0d-3fbc-41c9-aab5-aa74c07b2bad");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation } from "./translation-CpH8D2NK.js";
|
|
6
|
-
import { A as useAllowedCountries, I as FeatureNames, N as Header, T as Alert, bt as useVersionConfiguration, ct as isEmpty, dt as isUndefinedOrNull, k as datasetUtilities, lt as isISIN, vt as useAccountHolder } from "./registerEmbed-
|
|
6
|
+
import { A as useAllowedCountries, I as FeatureNames, N as Header, T as Alert, bt as useVersionConfiguration, ct as isEmpty, dt as isUndefinedOrNull, k as datasetUtilities, lt as isISIN, vt as useAccountHolder } from "./registerEmbed-Xubdbk-a.js";
|
|
7
7
|
import { t as createLogger } from "./logger-Z8AeTE4x.js";
|
|
8
8
|
import { t as Typography } from "./Typography-CAc_f5Iq.js";
|
|
9
9
|
import { t as Loader } from "./Loader-BDaKGf77.js";
|
|
@@ -20,57 +20,57 @@ import { _ as businessDetailsKeyMapping, f as solePropBusinessDetailsApiKeyMappi
|
|
|
20
20
|
import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
|
|
21
21
|
import { r as filterOutUnwantedAssociationsIfRootLE, s as getOwnEntityAssociations } from "./entityAssociationUtil-BlfcBl3i.js";
|
|
22
22
|
import { t as Scenarios } from "./scenarios-nibtmpSb.js";
|
|
23
|
-
import { i as useToggleContext, r as useDebouncedCallback, t as Checkbox } from "./Checkbox-
|
|
24
|
-
import { a as useAnalyticsContext, n as Modal, r as ModalContent } from "./useId-
|
|
23
|
+
import { i as useToggleContext, r as useDebouncedCallback, t as Checkbox } from "./Checkbox-BEkC71r4.js";
|
|
24
|
+
import { a as useAnalyticsContext, n as Modal, r as ModalContent } from "./useId-usoEnbTl.js";
|
|
25
25
|
import { t as HandlerContext } from "./HandlerContext-DeMa68z0.js";
|
|
26
|
-
import { r as InputText, s as SettingNames, t as RadioGroup } from "./RadioGroup-
|
|
26
|
+
import { r as InputText, s as SettingNames, t as RadioGroup } from "./RadioGroup-Csw26Mhr.js";
|
|
27
27
|
import { t as ListItem } from "./ListItem-aX6AyCay.js";
|
|
28
28
|
import { t as getFormSlice } from "./getFormSlice-CxtXJ0-P.js";
|
|
29
29
|
import { t as useBusinessLines } from "./useBusinessLines-0FcuDMzo.js";
|
|
30
30
|
import { t as Card } from "./Card-BCGLpdw7.js";
|
|
31
|
-
import { n as useToastContext, t as useInvalidateRootLegalEntity } from "./invalidateRootLegalEntity-
|
|
32
|
-
import { a as resolveFieldMetadata, c as getPropsFromConfigurations, l as LandingLayout, n as Image, r as createFormRules, s as composePerScenarioFormConfigurations } from "./unincorporatedPartnership-
|
|
33
|
-
import { o as Field, p as LoaderWrapper } from "./Select-
|
|
34
|
-
import { o as StructuredList, r as formatObject, s as Confirm } from "./utils-
|
|
35
|
-
import { a as CountryOfGoverningLawField, c as useCompanyTypeExamples, d as verifyTinQueryOptions, f as companySearchQueryOptions, g as useClearCompanyData, h as useStoredStateOrProvince, i as COUNTRY_OF_GOVERNING_LAW_FIELD, l as useCompanySelection, m as trackPerformance, n as COUNTRY_OF_GOVERNING_LAW_POSSIBLE, o as useLegalCompanyNameField, p as useCompanySearch, r as isNormalizedStringMatch, s as localizedLegalCompanyNameFieldConfig, t as CountryOfGoverningLawFieldValidation, u as useVerifyTin } from "./validate-
|
|
36
|
-
import { a as getKeyForField, d as COUNTRIES_WITH_STATES_DATASET, h as useUpdateLegalEntity, m as isEmpty$1, n as StateField, o as mapAddressLabels, p as isJapanLocalizationEnabled, r as stateFieldMetadata, s as addressFieldRule, t as STATE_FIELD } from "./StateField-
|
|
37
|
-
import { A as alphanumericInputs, D as validatePatternOnBlur, E as validateNotEmptyOnBlur, H as FormContextProvider, I as useMultiForm, M as makeMask, O as uppercase, P as numericInputs, V as summaryStep, _ as mergeFieldMetadataIntoProps, c as CountryField, d as isBusinessSelectionLegalArrangementError, g as createFormUtils, k as alphaInputs, p as isValidationError, r as MaskedInput, s as COUNTRY_FIELD, t as addValidityToForms, v as useFormContext, y as FormFlow, z as useFormComposer } from "./dropinUtils-
|
|
38
|
-
import { A as REGISTRATION_NUMBER_EXEMPTION_RULES, C as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, D as COUNTRIES_WITH_POSSIBLE_TAX_EXEMPTION_FOR_COMPANIES, E as COUNTRIES_WITH_OPTIONAL_REGISTRATION_NUMBER_SOLE_PROPS, F as mapJapaneseLegalNamesToLocalization, H as taxIdNumberOptions, I as mapLocalizationToJapaneseLegalNames, M as isRegistrationExemptionAllowed, N as isRegistrationNumberAbsentStateV4Scenario, O as COUNTRIES_WITH_POSSIBLE_TAX_EXEMPTION_FOR_SOLE_PROPS, P as isUsingCompanySearch, S as COUNTRIES_THAT_DO_NOT_USE_TAX_ID_FOR_SOLE_PROP, T as COUNTRIES_WITH_OPTIONAL_REGISTRATION_NUMBER, U as TileGroup, V as getValidCompanyTypesForTaxIdNumberType, _ as taxInformationDefaultFieldMetadata, b as COUNTRIES_THAT_DONT_REQUIRE_COMPANY_REGISTRATION, c as DataConflictsModal, g as taxInformationDefaultFieldConfig, h as getTaxInformationPlaceholderText, j as TAX_ID_REQUIRED_COUNTRIES_ORGANIZATION, k as COUNTRIES_WITH_POSSIBLE_TRUSTEE_TAXID_ABSENT_V4, x as COUNTRIES_THAT_DONT_REQUIRE_SOLE_PROP_REGISTRATION, y as COUNTRIES_REQUIRING_FINANCIAL_INFORMATION, z as getTaxIdNumberOptions } from "./bafinUtils-
|
|
39
|
-
import { a as getValidCompanyTypesForRegistrationNumberType, i as getCompanyRegistrationNumberOptions, l as registrationNumberDefaultFieldConfig, r as inferCompanyRegistrationNumberType, s as exemptFromRegistrationNumberDefaultFieldMetadata, t as getDefaultRegistrationNumberType, u as registrationNumberDefaultFieldMetadata } from "./getDefaultRegistrationNumberType
|
|
31
|
+
import { n as useToastContext, t as useInvalidateRootLegalEntity } from "./invalidateRootLegalEntity-BWLd6SvV.js";
|
|
32
|
+
import { a as resolveFieldMetadata, c as getPropsFromConfigurations, l as LandingLayout, n as Image, r as createFormRules, s as composePerScenarioFormConfigurations } from "./unincorporatedPartnership-DPK34PF1.js";
|
|
33
|
+
import { o as Field, p as LoaderWrapper } from "./Select-Jjt3H6zs.js";
|
|
34
|
+
import { o as StructuredList, r as formatObject, s as Confirm } from "./utils-6Lfk9m3d.js";
|
|
35
|
+
import { a as CountryOfGoverningLawField, c as useCompanyTypeExamples, d as verifyTinQueryOptions, f as companySearchQueryOptions, g as useClearCompanyData, h as useStoredStateOrProvince, i as COUNTRY_OF_GOVERNING_LAW_FIELD, l as useCompanySelection, m as trackPerformance, n as COUNTRY_OF_GOVERNING_LAW_POSSIBLE, o as useLegalCompanyNameField, p as useCompanySearch, r as isNormalizedStringMatch, s as localizedLegalCompanyNameFieldConfig, t as CountryOfGoverningLawFieldValidation, u as useVerifyTin } from "./validate-CEKo7egC.js";
|
|
36
|
+
import { a as getKeyForField, d as COUNTRIES_WITH_STATES_DATASET, h as useUpdateLegalEntity, m as isEmpty$1, n as StateField, o as mapAddressLabels, p as isJapanLocalizationEnabled, r as stateFieldMetadata, s as addressFieldRule, t as STATE_FIELD } from "./StateField-_JphU2zZ.js";
|
|
37
|
+
import { A as alphanumericInputs, D as validatePatternOnBlur, E as validateNotEmptyOnBlur, H as FormContextProvider, I as useMultiForm, M as makeMask, O as uppercase, P as numericInputs, V as summaryStep, _ as mergeFieldMetadataIntoProps, c as CountryField, d as isBusinessSelectionLegalArrangementError, g as createFormUtils, k as alphaInputs, p as isValidationError, r as MaskedInput, s as COUNTRY_FIELD, t as addValidityToForms, v as useFormContext, y as FormFlow, z as useFormComposer } from "./dropinUtils-BAx_kWeq.js";
|
|
38
|
+
import { A as REGISTRATION_NUMBER_EXEMPTION_RULES, C as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, D as COUNTRIES_WITH_POSSIBLE_TAX_EXEMPTION_FOR_COMPANIES, E as COUNTRIES_WITH_OPTIONAL_REGISTRATION_NUMBER_SOLE_PROPS, F as mapJapaneseLegalNamesToLocalization, H as taxIdNumberOptions, I as mapLocalizationToJapaneseLegalNames, M as isRegistrationExemptionAllowed, N as isRegistrationNumberAbsentStateV4Scenario, O as COUNTRIES_WITH_POSSIBLE_TAX_EXEMPTION_FOR_SOLE_PROPS, P as isUsingCompanySearch, S as COUNTRIES_THAT_DO_NOT_USE_TAX_ID_FOR_SOLE_PROP, T as COUNTRIES_WITH_OPTIONAL_REGISTRATION_NUMBER, U as TileGroup, V as getValidCompanyTypesForTaxIdNumberType, _ as taxInformationDefaultFieldMetadata, b as COUNTRIES_THAT_DONT_REQUIRE_COMPANY_REGISTRATION, c as DataConflictsModal, g as taxInformationDefaultFieldConfig, h as getTaxInformationPlaceholderText, j as TAX_ID_REQUIRED_COUNTRIES_ORGANIZATION, k as COUNTRIES_WITH_POSSIBLE_TRUSTEE_TAXID_ABSENT_V4, x as COUNTRIES_THAT_DONT_REQUIRE_SOLE_PROP_REGISTRATION, y as COUNTRIES_REQUIRING_FINANCIAL_INFORMATION, z as getTaxIdNumberOptions } from "./bafinUtils-Cs44-4gm.js";
|
|
39
|
+
import { a as getValidCompanyTypesForRegistrationNumberType, i as getCompanyRegistrationNumberOptions, l as registrationNumberDefaultFieldConfig, r as inferCompanyRegistrationNumberType, s as exemptFromRegistrationNumberDefaultFieldMetadata, t as getDefaultRegistrationNumberType, u as registrationNumberDefaultFieldMetadata } from "./getDefaultRegistrationNumberType--Vh5y4A3.js";
|
|
40
40
|
import { r as LEGAL_ARRANGEMENT_COUNTRIES_REQUIRING_DATE_OF_INCORPORATION } from "./legalArrangementUtils-CHlmmcB8.js";
|
|
41
|
-
import { a as defaultFieldMetadata, i as defaultFieldConfigV4, o as defaultFieldMetadataV4, r as defaultFieldConfig, t as LEGAL_COMPANY_NAME_FIELD } from "./LegalCompanyNameField-
|
|
42
|
-
import { n as BusinessRegistrationNumberField, t as BUSINESS_REGISTRATION_NUMBER_FIELD } from "./BusinessRegistrationNumberField-
|
|
43
|
-
import { n as TaxInformationField, t as TAX_INFORMATION_FIELD } from "./TaxInformationField-
|
|
41
|
+
import { a as defaultFieldMetadata, i as defaultFieldConfigV4, o as defaultFieldMetadataV4, r as defaultFieldConfig, t as LEGAL_COMPANY_NAME_FIELD } from "./LegalCompanyNameField-BOgs_a16.js";
|
|
42
|
+
import { n as BusinessRegistrationNumberField, t as BUSINESS_REGISTRATION_NUMBER_FIELD } from "./BusinessRegistrationNumberField-DNbNu2rk.js";
|
|
43
|
+
import { n as TaxInformationField, t as TAX_INFORMATION_FIELD } from "./TaxInformationField-Da-YR7qg.js";
|
|
44
44
|
import { t as useScenarios } from "./useScenarios-DfE71fl7.js";
|
|
45
45
|
import { t as useCreateLegalEntity } from "./useCreateLegalEntity-CgzVD39K.js";
|
|
46
46
|
import { i as useScenarioConfiguration, r as getPageName, t as mapExistingFile } from "./mapExistingFile-CLSPk17k.js";
|
|
47
|
-
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-
|
|
48
|
-
import { n as SaveForLaterButton, t as useSaveForLater } from "./useSaveForLater-
|
|
49
|
-
import { n as isMaintenanceModeError, t as processValidationErrors } from "./processValidationErrors-
|
|
47
|
+
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-CmLLhK6a.js";
|
|
48
|
+
import { n as SaveForLaterButton, t as useSaveForLater } from "./useSaveForLater-fJUZyWBN.js";
|
|
49
|
+
import { n as isMaintenanceModeError, t as processValidationErrors } from "./processValidationErrors-CMs3YEdp.js";
|
|
50
50
|
import { a as getFileExtention, i as getDocuments, l as mergeProofOfOwnershipAttachments, n as documentApiUtils, r as getDocument, t as createDocumentRequest } from "./documentUtils-6K3LdjjN.js";
|
|
51
|
-
import { i as getFieldsWithExistingData, n as MemoizedDocumentUpload, t as PatriotActDisclosure } from "./PatriotActDisclosure-
|
|
52
|
-
import { a as useAddressCleanseImperatively, r as formatAddressForCleanse, t as InputDate } from "./InputDate-
|
|
53
|
-
import { t as addressValidators } from "./validate-
|
|
54
|
-
import { t as ErrorPanel } from "./ErrorPanel-
|
|
51
|
+
import { i as getFieldsWithExistingData, n as MemoizedDocumentUpload, t as PatriotActDisclosure } from "./PatriotActDisclosure-BRuDw3WO.js";
|
|
52
|
+
import { a as useAddressCleanseImperatively, r as formatAddressForCleanse, t as InputDate } from "./InputDate-CXixeMAM.js";
|
|
53
|
+
import { t as addressValidators } from "./validate-NlmooHWm.js";
|
|
54
|
+
import { t as ErrorPanel } from "./ErrorPanel-Dwtd8sic.js";
|
|
55
55
|
import { t as capitalize } from "./getProps-DVqK7eRw.js";
|
|
56
56
|
import { t as Link } from "./Link-BtWj5mVH.js";
|
|
57
57
|
import { r as formatDateObj } from "./InputDate.utils-D4Ov0KIl.js";
|
|
58
|
-
import { n as mapJpAddressSchemaToAddressLocalizations, t as mapAddressLocalizationToJpAddressSchema } from "./mapAddressLocalizationToJpAddressSchema-
|
|
59
|
-
import { t as formatValidationError } from "./formatValidationError-
|
|
60
|
-
import { t as Summary } from "./Summary-
|
|
61
|
-
import { t as SummarySection } from "./SummarySection-
|
|
58
|
+
import { n as mapJpAddressSchemaToAddressLocalizations, t as mapAddressLocalizationToJpAddressSchema } from "./mapAddressLocalizationToJpAddressSchema-DqM6uUSJ.js";
|
|
59
|
+
import { t as formatValidationError } from "./formatValidationError-CRIcczdD.js";
|
|
60
|
+
import { t as Summary } from "./Summary-CIL8fweW.js";
|
|
61
|
+
import { t as SummarySection } from "./SummarySection-BdHCHEUu.js";
|
|
62
62
|
import { t as currencyByCountry } from "./types-CP3D_hFv.js";
|
|
63
63
|
import { t as Divider } from "./Divider-BENvVRnz.js";
|
|
64
64
|
import { t as DetailViewLayout } from "./DetailViewLayout-DJgAzdlZ.js";
|
|
65
|
-
import { i as nestAddressSchema, t as flattenAddressSchema } from "./utils-
|
|
66
|
-
import { a as LegalFormField, c as legalEntityIdentifierFieldMetadata, d as isDateOlderThanAYear, f as mapAddressData, i as InputCurrency, l as mapFinancialReportsToFinancialInformation, n as Currency, o as LEGAL_ENTITY_IDENTIFIER_FIELD, r as InputNumber, s as LegalEntityIdentifierField, t as CURRENCY_FIELD, u as mapFinancialInformationToFinancialReport } from "./Currency-
|
|
65
|
+
import { i as nestAddressSchema, t as flattenAddressSchema } from "./utils-B9FZV547.js";
|
|
66
|
+
import { a as LegalFormField, c as legalEntityIdentifierFieldMetadata, d as isDateOlderThanAYear, f as mapAddressData, i as InputCurrency, l as mapFinancialReportsToFinancialInformation, n as Currency, o as LEGAL_ENTITY_IDENTIFIER_FIELD, r as InputNumber, s as LegalEntityIdentifierField, t as CURRENCY_FIELD, u as mapFinancialInformationToFinancialReport } from "./Currency-DrA7jcDt.js";
|
|
67
67
|
import { t as useTaskStatus } from "./useTaskStatus-4nAPf_uD.js";
|
|
68
|
-
import { n as useIndustryCodes, t as industryCodeFieldMetadata } from "./fieldConfig-
|
|
68
|
+
import { n as useIndustryCodes, t as industryCodeFieldMetadata } from "./fieldConfig-Bv9qSPl1.js";
|
|
69
69
|
import { n as formatCurrency } from "./formatCurrency-BetgkQKi.js";
|
|
70
70
|
import { n as useCreateBusinessLine, t as useUpdateBusinessLine } from "./useUpdateBusinessLines-B-pF2YT-.js";
|
|
71
|
-
import { _ as RegistrationAndOperationalAddressFields, a as defaultFieldConfig$1, c as doingBusinessAsAbsentFieldMetadata, d as DBA_NAME_FIELD, f as DATE_OF_INCORPORATION_FIELD, g as REGISTRATION_AND_OPERATIONAL_ADDRESS_FIELDS, h as dateOfIncorporationFieldMetadata, i as getDefaultVatNumberType, l as doingBusinessAsFieldMetadata, n as VAT_NUMBER_FIELD, o as defaultFieldMetadata$1, p as DateOfIncorporationField, r as VatNumberField, s as vatAbsenceReasonMetadata, t as MemoizedConstitutionalDocument, u as DBANameField } from "./ConstitutionalDocument-
|
|
72
|
-
import { l as IndustryCodeField, t as INDUSTRY_CODE_FIELD } from "./constants-
|
|
73
|
-
import { s as organizationTypesToSkipCompanyStructureForm } from "./utils-
|
|
71
|
+
import { _ as RegistrationAndOperationalAddressFields, a as defaultFieldConfig$1, c as doingBusinessAsAbsentFieldMetadata, d as DBA_NAME_FIELD, f as DATE_OF_INCORPORATION_FIELD, g as REGISTRATION_AND_OPERATIONAL_ADDRESS_FIELDS, h as dateOfIncorporationFieldMetadata, i as getDefaultVatNumberType, l as doingBusinessAsFieldMetadata, n as VAT_NUMBER_FIELD, o as defaultFieldMetadata$1, p as DateOfIncorporationField, r as VatNumberField, s as vatAbsenceReasonMetadata, t as MemoizedConstitutionalDocument, u as DBANameField } from "./ConstitutionalDocument-B8Tban-6.js";
|
|
72
|
+
import { l as IndustryCodeField, t as INDUSTRY_CODE_FIELD } from "./constants-B8YCUIao.js";
|
|
73
|
+
import { s as organizationTypesToSkipCompanyStructureForm } from "./utils-CMDo05iY.js";
|
|
74
74
|
import { lazy } from "preact/compat";
|
|
75
75
|
import { useCallback as useCallback$1, useContext as useContext$1, useEffect as useEffect$1, useMemo as useMemo$1, useRef as useRef$1, useState as useState$1 } from "preact/hooks";
|
|
76
76
|
import cx from "classnames";
|
|
@@ -1706,7 +1706,7 @@ var ORGANIZATION_COUNTRIES_REQUIRING_DATE_OF_INCORPORATION = [
|
|
|
1706
1706
|
var COUNTRIES_THAT_USES_UEN_OR_GST = [CountryCodes.Singapore];
|
|
1707
1707
|
//#endregion
|
|
1708
1708
|
//#region src/components/Business/forms/rules.ts
|
|
1709
|
-
var rules = ({ data, defaultData, verifiedBusiness, country, taskType, isFeatureEnabled = () => false, isSettingEnabled = () => false,
|
|
1709
|
+
var rules = ({ data, defaultData, verifiedBusiness, country, taskType, isFeatureEnabled = () => false, isSettingEnabled = () => false, accountHolder, rootLegalEntity, tinMatched, version = 3 }) => {
|
|
1710
1710
|
const countryRequiresDateOfIncorporationForCompanies = () => {
|
|
1711
1711
|
switch (taskType) {
|
|
1712
1712
|
case "SOLE_PROPRIETOR_COMPANY": return LEGAL_ARRANGEMENT_COUNTRIES_REQUIRING_DATE_OF_INCORPORATION.includes(country) ? "REQUIRED" : void 0;
|
|
@@ -1864,7 +1864,7 @@ var rules = ({ data, defaultData, verifiedBusiness, country, taskType, isFeature
|
|
|
1864
1864
|
if (tinMatched === false && country === CountryCodes.UnitedStates) return "REQUIRED";
|
|
1865
1865
|
},
|
|
1866
1866
|
isRegistrationDocumentRequired: () => {
|
|
1867
|
-
|
|
1867
|
+
return country === CountryCodes.Mexico ? "REQUIRED" : void 0;
|
|
1868
1868
|
},
|
|
1869
1869
|
businessRequiresCompanyType: () => {
|
|
1870
1870
|
if (taskType !== TaskTypes.SOLE_PROPRIETOR_COMPANY) return "REQUIRED";
|
|
@@ -2,10 +2,10 @@ 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
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "1fde5d6a-42a2-4910-9fc7-f5194c09d02a", e._sentryDebugIdIdentifier = "sentry-dbid-1fde5d6a-42a2-4910-9fc7-f5194c09d02a");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { _ as isPartOfTrustFromLegalEntity } from "./registerEmbed-
|
|
5
|
+
import { _ as isPartOfTrustFromLegalEntity } from "./registerEmbed-Xubdbk-a.js";
|
|
6
6
|
import { t as useSettingsContext } from "./useSettingsContext-Bpf4UqRT.js";
|
|
7
7
|
import { f as hasSolePropInLegalEntity } from "./entityAssociationUtil-BlfcBl3i.js";
|
|
8
|
-
import { s as SettingNames } from "./RadioGroup-
|
|
8
|
+
import { s as SettingNames } from "./RadioGroup-Csw26Mhr.js";
|
|
9
9
|
//#region src/hooks/useLegalEntityType.ts
|
|
10
10
|
var useLegalEntityType = ({ legalEntity }) => {
|
|
11
11
|
const isTrust = isPartOfTrustFromLegalEntity(legalEntity);
|
|
@@ -2,10 +2,10 @@ 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
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "4769bbc2-f315-4771-81dc-116d219d4078", e._sentryDebugIdIdentifier = "sentry-dbid-4769bbc2-f315-4771-81dc-116d219d4078");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { ct as isEmpty } from "./registerEmbed-
|
|
5
|
+
import { ct as isEmpty } from "./registerEmbed-Xubdbk-a.js";
|
|
6
6
|
import { t as createLogger } from "./logger-Z8AeTE4x.js";
|
|
7
7
|
import { n as doArraysMatch } from "./genUtils-nphCwt1A.js";
|
|
8
|
-
import { d as omitKeys, f as ValidationResult, l as addKeys } from "./Select-
|
|
8
|
+
import { d as omitKeys, f as ValidationResult, l as addKeys } from "./Select-Jjt3H6zs.js";
|
|
9
9
|
import { useCallback, useEffect, useMemo, useReducer, useState } from "preact/hooks";
|
|
10
10
|
//#region src/hooks/useAsyncValidator.ts
|
|
11
11
|
var logger = createLogger();
|
|
@@ -2,7 +2,7 @@ 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
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "d0f3e92b-0320-4da0-9a17-7d3c5c602703", e._sentryDebugIdIdentifier = "sentry-dbid-d0f3e92b-0320-4da0-9a17-7d3c5c602703");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { _t as AnalyticsContext } from "./registerEmbed-
|
|
5
|
+
import { _t as AnalyticsContext } from "./registerEmbed-Xubdbk-a.js";
|
|
6
6
|
import { n as IconButton } from "./Button-EhGM-oCO.js";
|
|
7
7
|
import { useContext, useLayoutEffect, useRef, useState } from "preact/hooks";
|
|
8
8
|
import cx from "classnames";
|