@adyen/kyc-components 4.19.0 → 4.19.2
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/{AccountSetupRejected-VkyroW_s.js → AccountSetupRejected-B7PRZ8pN.js} +1 -1
- package/dist/{AdaptiveWorkflow-DV_JyPw8.js → AdaptiveWorkflow-Do9LXRon.js} +15 -15
- package/dist/{AdaptiveWorkflowComponent-BhHqJMaU.js → AdaptiveWorkflowComponent-CumoEPiG.js} +2 -2
- package/dist/{Address-qf5qFwua.js → Address-Dgs9g96A.js} +5 -5
- package/dist/{AddressField-eulmJMt_.js → AddressField-IwMMqs_e.js} +5 -5
- package/dist/{BusinessFinancingDropin-xtcAFZEN.js → BusinessFinancingDropin-jW3htB0i.js} +14 -14
- package/dist/{BusinessFinancingPage-Dt2Va-qf.js → BusinessFinancingPage-Cd2GKiEO.js} +2 -2
- package/dist/{BusinessTypeSelectionPage-CKrWo9e-.js → BusinessTypeSelectionPage-BAf2ABuM.js} +7 -7
- package/dist/{CompanyRegistrationNumberTypeSelector-DDWIMP-t.js → CompanyRegistrationNumberTypeSelector-DBgPU5Mk.js} +6 -6
- package/dist/{ContactDetails-Co7J7Hjc.js → ContactDetails-DPicblG5.js} +4 -4
- package/dist/{ContextGuidance-RV1m2efV.js → ContextGuidance-Dhw50VDi.js} +1 -1
- package/dist/{CountryField-BTVLTRup.js → CountryField-B_y_ocp3.js} +4 -4
- package/dist/{Currency-DfCp7hwP.js → Currency-Bd-ZbrTP.js} +3 -3
- package/dist/{CustomerSupport-fg0-Upw5.js → CustomerSupport-CA8xQu24.js} +6 -6
- package/dist/{DataConflictsModal-CVgcvjm6.js → DataConflictsModal-CCZO6Vib.js} +3 -3
- package/dist/{DebugModal-CaI-iWEa.js → DebugModal-CnyrQLV2.js} +3 -3
- package/dist/{DecisionMakerDetails-JYY15piY.js → DecisionMakerDetails-BaX93bYL.js} +6 -6
- package/dist/{DecisionMakerDetailsPage-UMAQo28h.js → DecisionMakerDetailsPage-BziD55g9.js} +3 -3
- package/dist/{DecisionMakers-DeQLYGwW.js → DecisionMakers-DJprCAwE.js} +5 -5
- package/dist/{Dropzone-Dmtomtl2.js → Dropzone-DTNTHeeq.js} +2 -2
- package/dist/{EntityAssociation-vg8k3YiH.js → EntityAssociation-Dg5BKOjl.js} +3 -3
- package/dist/{ErrorPanel-DysmW3Hz.js → ErrorPanel-WJO4XMrG.js} +1 -1
- package/dist/{GlobalEntryModal-BHlZmq4-.js → GlobalEntryModal-DyBVZ14G.js} +4 -4
- package/dist/{GlobalEntryPage-CrjiJG7v.js → GlobalEntryPage-nwZ0MKXL.js} +2 -2
- package/dist/{Individual.rules-Fg_j4_io.js → Individual.rules-C41CM14F.js} +2 -2
- package/dist/{IndividualDropin-D5qyhkH7.js → IndividualDropin-DfmwF7Jc.js} +28 -28
- package/dist/{Introduction-Dd72HuvK.js → Introduction-CNhbQUG6.js} +2 -2
- package/dist/{InvitedDecisionMakerComponent-BR14VLnP.js → InvitedDecisionMakerComponent-BqCCC7D3.js} +3 -3
- package/dist/{JpAddress-C7eDuCDV.js → JpAddress-CHK46Eji.js} +7 -7
- package/dist/{JpAddress.module-DNwEnPzj.js → JpAddress.module-DfrPCCOL.js} +1 -1
- package/dist/{JpAddressFields-CB889sWX.js → JpAddressFields-HKSAOdFB.js} +4 -4
- package/dist/{LegalCompanyNameField-BVyQCVUE.js → LegalCompanyNameField-CyUQB5K9.js} +2 -2
- package/dist/{LegalRepresentativeDetailsPage-BNFIn6Qh.js → LegalRepresentativeDetailsPage-55-Bj2Su.js} +2 -2
- package/dist/{MaskedInput-DwP4ZWTk.js → MaskedInput-DGacnGw2.js} +2 -2
- package/dist/{Name-DfZeGh8m.js → Name-D-xSnw1D.js} +2 -2
- package/dist/{NewSummary-DebON3Ge.js → NewSummary-BwuF3SOM.js} +3 -3
- package/dist/{PatriotActDisclosure-V0iYQAp7.js → PatriotActDisclosure-DhvFrPga.js} +9 -9
- package/dist/{PayoutDetailsDropin-DtLitjwp.js → PayoutDetailsDropin-DHYgN4SG.js} +13 -13
- package/dist/{PayoutDetailsPage-Bul0UWe-.js → PayoutDetailsPage-C8OyDnDT.js} +3 -3
- package/dist/{RadioGroup-BcojlKCO.js → RadioGroup-BtIsA6gj.js} +1 -1
- package/dist/{Review-EaL1BttB.js → Review-DDtAHPpt.js} +3 -3
- package/dist/{RootBusinessDetailsPage-Cwc8cZOY.js → RootBusinessDetailsPage-B6owL7mM.js} +3 -3
- package/dist/{RootBusinessLinesPage-CLsMhxkV.js → RootBusinessLinesPage-TH9Yok34.js} +9 -9
- package/dist/{RootIndividualDetailsPage-Nfm0kzJq.js → RootIndividualDetailsPage-DgiCvuWV.js} +3 -3
- package/dist/{Select-C5sy6Wux.js → Select-CRIPNBLj.js} +2 -2
- package/dist/{SignPCIComponent-CaTaPQHb.js → SignPCIComponent-DnutI_9d.js} +4 -4
- package/dist/{SingpassSelection-COig4k8W.js → SingpassSelection-CUGUBBC4.js} +2 -2
- package/dist/{SoleProprietorshipPage-Ctcz1qNr.js → SoleProprietorshipPage-Bz_IsWg_.js} +2 -2
- package/dist/{SourceOfFundsPage-DEABiUWz.js → SourceOfFundsPage-Bwt9Hyxz.js} +12 -12
- package/dist/{StructuredList-D54Bpjf4.js → StructuredList-CF6xELPE.js} +1 -1
- package/dist/{TaskListItem-CB0kZVlT.js → TaskListItem-BVbKA4zz.js} +4 -4
- package/dist/{TaxReportingDropin-9lSgx-Sv.js → TaxReportingDropin-DQYPTZcG.js} +7 -7
- package/dist/{TermsOfServiceManagement-CbgkpeNu.js → TermsOfServiceManagement-CGqYWIIm.js} +4 -4
- package/dist/{TrustDetailsPage-pJ_aGyVV.js → TrustDetailsPage-AmTAeM6l.js} +19 -19
- package/dist/{TrustMemberCompanyPage-vqkIF_0s.js → TrustMemberCompanyPage-DkMPKQ_b.js} +3 -3
- package/dist/{TrustMemberIndividualPage-CS_tABNQ.js → TrustMemberIndividualPage-BJifIwLY.js} +2 -2
- package/dist/{TrustMemberRoleAndTypePage-DjE53lNn.js → TrustMemberRoleAndTypePage-iktX8qis.js} +11 -11
- package/dist/{TrustMembersOverview-z8U7UWHS.js → TrustMembersOverview-B8KWX0n4.js} +7 -7
- package/dist/{UnincorporatedPartnershipIndividualPage-9uHIQImj.js → UnincorporatedPartnershipIndividualPage-00gRPEA7.js} +2 -2
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-DOBh4lR1.js → UnincorporatedPartnershipMemberCompanyPage-CLjM79uB.js} +2 -2
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-9i54lBKZ.js → UnincorporatedPartnershipMemberRoleAndTypePage-JSRqN49U.js} +6 -6
- package/dist/{UnincorporatedPartnershipMembersOverview-DFeXZDC8.js → UnincorporatedPartnershipMembersOverview-BU2TDH_6.js} +3 -3
- package/dist/{VerificationErrorAlert-B3dqg4d3.js → VerificationErrorAlert-CtQm3dFj.js} +2 -2
- package/dist/{accountHolderUtils-CV8i1K0q.js → accountHolderUtils-CkXJGeTu.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 +13 -13
- 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 +4 -4
- package/dist/adyen-verification-status.js +1 -1
- package/dist/{bafinUtils-qakcO27e.js → bafinUtils-B5Eb-E5l.js} +1 -1
- package/dist/{constants-L0qE2dbE.js → constants-DkZfEzP9.js} +2 -2
- package/dist/{filterProblemsByTaskForms-CQby20PN.js → filterProblemsByTaskForms-DaJ3LZ2L.js} +11 -11
- package/dist/{mapJpAddressSchemaToAddressLocalizations-D9928vV-.js → mapJpAddressSchemaToAddressLocalizations-D55kuTuW.js} +1 -1
- package/dist/{mapLegalEntityToIndividualSchema-C6zpRY2L.js → mapLegalEntityToIndividualSchema-3inp7sp_.js} +2 -2
- package/dist/{omitObscuredFieldsIfUnchanged-BhxAICdT.js → omitObscuredFieldsIfUnchanged-CEXpiToz.js} +1 -1
- package/dist/{patternValidators-Crk2JcIC.js → patternValidators-OALTSOr-.js} +1 -1
- package/dist/{processValidationErrors-N1ZuAvVY.js → processValidationErrors-DF8PT6fx.js} +1 -1
- package/dist/{resolveEnvironment-BHPgG5Ko.js → resolveEnvironment-DcX0x0Zj.js} +5 -5
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/businessDetailsStore.d.ts +2 -2
- package/dist/types/components/Business/utils/applyVerifiedBusinessData.d.ts +6 -2
- package/dist/{useBusinessDetailsData-_7t1A_p2.js → useBusinessDetailsData-C4c4Vv6p.js} +104 -82
- package/dist/{useCanSeeIntroduction-Jkw8uz5N.js → useCanSeeIntroduction-Bc42GoW7.js} +1 -1
- package/dist/{useForm-26r9IKF_.js → useForm-BuBBUjkv.js} +2 -2
- package/dist/{useId-BwLQ-75v.js → useId-DBLNc67X.js} +1 -1
- package/dist/{useNavigate-DvOGhK-A.js → useNavigate-C9gQj4pC.js} +32 -32
- package/dist/{useTrustMembers-DAFo_ibm.js → useTrustMembers-geS1BNoT.js} +1 -1
- package/dist/{useUpdateLegalEntity-B4x3gely.js → useUpdateLegalEntity-BA130V7A.js} +1 -1
- package/dist/{utils-BFaY6wGW.js → utils-BaP1RI3E.js} +9 -9
- package/dist/{utils-DbIq3tru.js → utils-Bz87106V.js} +5 -5
- package/dist/{utils-D8hL_fNA.js → utils-C3wkNh_G.js} +1 -1
- package/dist/{utils-DbQT0YgG.js → utils-DEevTPzW.js} +3 -3
- package/dist/{validate-N3t8r03y.js → validate-DQZlk6Fg.js} +1 -1
- package/dist/{validateExtractionResult-YhFC9maw.js → validateExtractionResult-CcTK0kRJ.js} +4 -4
- package/dist/{validationError-q9Js1v0m.js → validationError-CtR0GTNx.js} +1 -1
- package/package.json +1 -1
|
@@ -3,7 +3,7 @@ try {
|
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "fca774c5-3402-4117-ab27-8d841001c2fe", e._sentryDebugIdIdentifier = "sentry-dbid-fca774c5-3402-4117-ab27-8d841001c2fe");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { n as addResourceBundles, r as useTranslation } from "./translation-CcKrUksA.js";
|
|
6
|
-
import { A as _rolldown_dynamic_import_helper_default, mt as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-
|
|
6
|
+
import { A as _rolldown_dynamic_import_helper_default, mt as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-DcX0x0Zj.js";
|
|
7
7
|
import { s as useApiContext } from "./http-CFac2y4i.js";
|
|
8
8
|
import { n as useTermsOfServiceAcceptanceInfos, t as useTermsOfServiceStatus } from "./useTermsOfServiceStatus-CGIpBA0U.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] = "dfa6dc98-3bae-4bfc-98be-75a6105e5ac6", e._sentryDebugIdIdentifier = "sentry-dbid-dfa6dc98-3bae-4bfc-98be-75a6105e5ac6");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { n as addResourceBundles, r as useTranslation } from "./translation-CcKrUksA.js";
|
|
6
|
-
import { A as _rolldown_dynamic_import_helper_default, mt as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-
|
|
6
|
+
import { A as _rolldown_dynamic_import_helper_default, mt as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-DcX0x0Zj.js";
|
|
7
7
|
import { r as Loader } from "./Button-BuhgDsyo.js";
|
|
8
8
|
import { r as useLegalEntity } from "./useLegalEntity-BqO7Fmt0.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-DHYgN4SG.js";
|
|
12
12
|
import register from "preact-custom-element";
|
|
13
13
|
import { useRef, useState } from "preact/hooks";
|
|
14
14
|
import { jsx } from "preact/jsx-runtime";
|
|
@@ -3,7 +3,7 @@ try {
|
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "85f725d2-9e3e-42b2-8f2d-292fd0b6a281", e._sentryDebugIdIdentifier = "sentry-dbid-85f725d2-9e3e-42b2-8f2d-292fd0b6a281");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { i as Typography, n as addResourceBundles, o as createLogger, r as useTranslation } from "./translation-CcKrUksA.js";
|
|
6
|
-
import { A as _rolldown_dynamic_import_helper_default, C as useDataset, T as datasetUtilities, mt as stylesheets, n as EmbedShell, t as resolveEnvironment, w as datasetIdentifier, x as Alert } from "./resolveEnvironment-
|
|
6
|
+
import { A as _rolldown_dynamic_import_helper_default, C as useDataset, T as datasetUtilities, mt as stylesheets, n as EmbedShell, t as resolveEnvironment, w as datasetIdentifier, x as Alert } from "./resolveEnvironment-DcX0x0Zj.js";
|
|
7
7
|
import { r as Loader, t as Button } from "./Button-BuhgDsyo.js";
|
|
8
8
|
import { n as httpGet, s as useApiContext } from "./http-CFac2y4i.js";
|
|
9
9
|
import { n as cloneObject, s as entriesOf } from "./AnalyticsContext-BnRQ9H1u.js";
|
|
@@ -11,9 +11,9 @@ import { i as TaskStatuses } from "./taskStatus-BtekPA8E.js";
|
|
|
11
11
|
import { n as getCapabilityProblems } from "./processCapabilities-zti_0yUx.js";
|
|
12
12
|
import { t as Modal } from "./Modal-BYdlsXkf.js";
|
|
13
13
|
import { t as Card } from "./Card-BCGLpdw7.js";
|
|
14
|
-
import { r as useToastContext } from "./useId-
|
|
15
|
-
import { n as useDeleteTransferInstrument, t as VerificationErrorAlert } from "./VerificationErrorAlert-
|
|
16
|
-
import { n as Confirm, t as StructuredList } from "./StructuredList-
|
|
14
|
+
import { r as useToastContext } from "./useId-DBLNc67X.js";
|
|
15
|
+
import { n as useDeleteTransferInstrument, t as VerificationErrorAlert } from "./VerificationErrorAlert-CtQm3dFj.js";
|
|
16
|
+
import { n as Confirm, t as StructuredList } from "./StructuredList-CF6xELPE.js";
|
|
17
17
|
import { t as emitAdyenSdkEvent } from "./emitEvent-CcGIaOut.js";
|
|
18
18
|
import { t as Tag } from "./Tag-CNeDHqKp.js";
|
|
19
19
|
import { n as statusToTag, t as EmbeddedStatus } from "./EmbeddedStatus-sHJnhw3K.js";
|
|
@@ -3,7 +3,7 @@ try {
|
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "a0dcf768-e469-4e84-b06d-57e18253df9a", e._sentryDebugIdIdentifier = "sentry-dbid-a0dcf768-e469-4e84-b06d-57e18253df9a");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { n as addResourceBundles, o as createLogger, r as useTranslation } from "./translation-CcKrUksA.js";
|
|
6
|
-
import { A as _rolldown_dynamic_import_helper_default, mt as stylesheets, n as EmbedShell, t as resolveEnvironment, x as Alert } from "./resolveEnvironment-
|
|
6
|
+
import { A as _rolldown_dynamic_import_helper_default, mt as stylesheets, n as EmbedShell, t as resolveEnvironment, x as Alert } from "./resolveEnvironment-DcX0x0Zj.js";
|
|
7
7
|
import { r as Loader, t as Button } from "./Button-BuhgDsyo.js";
|
|
8
8
|
import { r as httpPost, s as useApiContext } from "./http-CFac2y4i.js";
|
|
9
9
|
import { t as emitAdyenSdkEvent } from "./emitEvent-CcGIaOut.js";
|
|
@@ -8,7 +8,7 @@ import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
|
|
|
8
8
|
import { t as DecisionMakerTypes } from "./decision-maker-type-NR4GFAeT.js";
|
|
9
9
|
import { t as Scenarios } from "./get-scenarios-Bb-paHmJ.js";
|
|
10
10
|
import { i as useAnalyticsContext, r as KEYBOARD_KEYS } from "./Modal-BYdlsXkf.js";
|
|
11
|
-
import { t as useId } from "./useId-
|
|
11
|
+
import { t as useId } from "./useId-DBLNc67X.js";
|
|
12
12
|
import { useRef } from "preact/hooks";
|
|
13
13
|
import cx from "classnames";
|
|
14
14
|
import { Fragment, jsx, jsxs } from "preact/jsx-runtime";
|
|
@@ -3,9 +3,9 @@ try {
|
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "b2201d5b-33a5-4339-b11f-18c2c301b6c5", e._sentryDebugIdIdentifier = "sentry-dbid-b2201d5b-33a5-4339-b11f-18c2c301b6c5");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation } from "./translation-CcKrUksA.js";
|
|
6
|
-
import { j as useToggleContext, nt as isEmpty } from "./resolveEnvironment-
|
|
6
|
+
import { j as useToggleContext, nt as isEmpty } from "./resolveEnvironment-DcX0x0Zj.js";
|
|
7
7
|
import { n as IconButton } from "./Button-BuhgDsyo.js";
|
|
8
|
-
import { r as Field, t as Select } from "./Select-
|
|
8
|
+
import { r as Field, t as Select } from "./Select-CRIPNBLj.js";
|
|
9
9
|
import { t as List } from "./List-ywoRPg-q.js";
|
|
10
10
|
import { useEffect, useMemo, useRef, useState } from "preact/hooks";
|
|
11
11
|
import { Fragment, jsx, jsxs } from "preact/jsx-runtime";
|
package/dist/{filterProblemsByTaskForms-CQby20PN.js → filterProblemsByTaskForms-DaJ3LZ2L.js}
RENAMED
|
@@ -1,19 +1,19 @@
|
|
|
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] = "60065e14-65c1-48cc-8c7e-6f6147c19d43", e._sentryDebugIdIdentifier = "sentry-dbid-60065e14-65c1-48cc-8c7e-6f6147c19d43");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
var filterProblemsByTaskForms = (entityProblems, forms) => {
|
|
6
6
|
if (!entityProblems?.verificationErrors) return entityProblems;
|
|
7
|
-
const filteredEntityProblems =
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
}
|
|
7
|
+
const filteredEntityProblems = {
|
|
8
|
+
verificationErrors: {},
|
|
9
|
+
missingData: entityProblems.missingData,
|
|
10
|
+
remediationActions: entityProblems.remediationActions,
|
|
11
|
+
validationErrors: entityProblems.validationErrors
|
|
12
|
+
};
|
|
13
|
+
for (const formId in entityProblems.verificationErrors) {
|
|
14
|
+
if (!forms.includes(formId)) continue;
|
|
15
|
+
filteredEntityProblems.verificationErrors[formId] = entityProblems.verificationErrors[formId];
|
|
16
|
+
}
|
|
17
17
|
filteredEntityProblems.verificationErrors = Object.keys(filteredEntityProblems.verificationErrors ?? {}).length > 0 ? filteredEntityProblems.verificationErrors : void 0;
|
|
18
18
|
return filteredEntityProblems;
|
|
19
19
|
};
|
|
@@ -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] = "1897f69a-b1e0-40cd-9aa3-272dbd61f210", e._sentryDebugIdIdentifier = "sentry-dbid-1897f69a-b1e0-40cd-9aa3-272dbd61f210");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { h as summaryItem } from "./CountryField-
|
|
5
|
+
import { h as summaryItem } from "./CountryField-B_y_ocp3.js";
|
|
6
6
|
import { t as isEmpty } from "./isEmpty-MyMko24J.js";
|
|
7
7
|
import { r as mapSchemaFieldsToApiScriptLocalization } from "./mapAddressLocalizationToJpAddressSchema-CBeBTFmC.js";
|
|
8
8
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
@@ -10,8 +10,8 @@ import { c as individualBaseMapping, y as reverseMapping } from "./processCapabi
|
|
|
10
10
|
import { o as getNomineeFromAssociation } from "./entityAssociationUtil-DLXInibJ.js";
|
|
11
11
|
import { t as DecisionMakerTypes } from "./decision-maker-type-NR4GFAeT.js";
|
|
12
12
|
import { i as useAnalyticsContext } from "./Modal-BYdlsXkf.js";
|
|
13
|
-
import { c as TileGroup } from "./bafinUtils-
|
|
14
|
-
import { r as Field } from "./Select-
|
|
13
|
+
import { c as TileGroup } from "./bafinUtils-B5Eb-E5l.js";
|
|
14
|
+
import { r as Field } from "./Select-CRIPNBLj.js";
|
|
15
15
|
import { r as formatObject } from "./utils-DdHbAadK.js";
|
|
16
16
|
import { n as mapApiScriptLocalizationToSchemaFields, t as mapAddressLocalizationToJpAddressSchema } from "./mapAddressLocalizationToJpAddressSchema-CBeBTFmC.js";
|
|
17
17
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
package/dist/{omitObscuredFieldsIfUnchanged-BhxAICdT.js → omitObscuredFieldsIfUnchanged-CEXpiToz.js}
RENAMED
|
@@ -3,7 +3,7 @@ try {
|
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "2b73205b-f745-4915-bddd-c2027b1c60ff", e._sentryDebugIdIdentifier = "sentry-dbid-2b73205b-f745-4915-bddd-c2027b1c60ff");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { n as cloneObject } from "./AnalyticsContext-BnRQ9H1u.js";
|
|
6
|
-
import { r as isValueObscured } from "./MaskedInput-
|
|
6
|
+
import { r as isValueObscured } from "./MaskedInput-DGacnGw2.js";
|
|
7
7
|
import { i as getProp, n as deleteProp } from "./utils-DdHbAadK.js";
|
|
8
8
|
//#region src/utils/omitObscuredFieldsIfUnchanged.ts
|
|
9
9
|
var omitObscuredFieldsIfUnchanged = (obscuredFields, dataSubmitted, savedData) => {
|
|
@@ -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] = "590c7188-a730-4e1b-9bac-7b2f52ca7e6b", e._sentryDebugIdIdentifier = "sentry-dbid-590c7188-a730-4e1b-9bac-7b2f52ca7e6b");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { $ as hasRepeatedCharacters, H as NO_ALPHABET_REGEX, V as LATIN_SPACE_MARK_PUNCTUATION_NUMBERS_REGEX, W as OTHER_ENTITIES_VALID_CHAR_REGEX, ct as standardKanjiValidator, et as hasText, it as isInvalidName, lt as standardKatakanaValidator, nt as isEmpty, ot as isValidMinLength, st as matchesRegex, z as EMOJI_REGEX } from "./resolveEnvironment-
|
|
5
|
+
import { $ as hasRepeatedCharacters, H as NO_ALPHABET_REGEX, V as LATIN_SPACE_MARK_PUNCTUATION_NUMBERS_REGEX, W as OTHER_ENTITIES_VALID_CHAR_REGEX, ct as standardKanjiValidator, et as hasText, it as isInvalidName, lt as standardKatakanaValidator, nt as isEmpty, ot as isValidMinLength, st as matchesRegex, z as EMOJI_REGEX } from "./resolveEnvironment-DcX0x0Zj.js";
|
|
6
6
|
//#region src/utils/regex/patternValidators.ts
|
|
7
7
|
var validateNotEmptyOnBlur = {
|
|
8
8
|
modes: ["blur"],
|
|
@@ -4,7 +4,7 @@ try {
|
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { S as remediationPayoutApiKeyMapping, d as remediationIndividualApiKeyMapping, v as remediationBusinessDetailsApiKeyMapping } from "./processCapabilities-zti_0yUx.js";
|
|
6
6
|
import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
|
|
7
|
-
import { i as getFieldNameFromPath } from "./ErrorPanel-
|
|
7
|
+
import { i as getFieldNameFromPath } from "./ErrorPanel-WJO4XMrG.js";
|
|
8
8
|
import { t as assignToProp } from "./utils-DdHbAadK.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";
|
|
@@ -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] = "24859579-2f35-4ac9-99f7-320b05c9d936", e._sentryDebugIdIdentifier = "sentry-dbid-24859579-2f35-4ac9-99f7-320b05c9d936");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { a as Icon, i as Typography, n as addResourceBundles, o as createLogger, r as useTranslation, s as initReactI18next } from "./translation-CcKrUksA.js";
|
|
6
6
|
import { n as IconButton, r as Loader, t as Button } from "./Button-BuhgDsyo.js";
|
|
@@ -396,7 +396,7 @@ var useAccountHolder = () => {
|
|
|
396
396
|
//#endregion
|
|
397
397
|
//#region src/hooks/useAnalytics/useAnalytics.ts
|
|
398
398
|
var useAnalytics = ({ userEvents, sessionId, sessionData }) => {
|
|
399
|
-
const sdkVersion = "4.19.
|
|
399
|
+
const sdkVersion = "4.19.2";
|
|
400
400
|
const { data: rootLegalEntity } = useLegalEntity(ROOT_LE);
|
|
401
401
|
const { mutateAsync } = usePushAnalyticEvent(sessionId ?? "");
|
|
402
402
|
const { accountHolder } = useAccountHolder();
|
|
@@ -491,7 +491,7 @@ var AnalyticsProvider = ({ componentName, children, rootLegalEntityId, locale })
|
|
|
491
491
|
const capabilities = rootLegalEntity?.capabilities && Object.keys(rootLegalEntity.capabilities);
|
|
492
492
|
const shouldTrackPrefilledDetails = capabilities?.includes("receivePayments") && onboardingVersion && onboardingVersion > 1;
|
|
493
493
|
const sessionData = {
|
|
494
|
-
sdkVersion: "4.19.
|
|
494
|
+
sdkVersion: "4.19.2",
|
|
495
495
|
componentName,
|
|
496
496
|
userAgent: navigator.userAgent,
|
|
497
497
|
legalEntityId: rootLegalEntityId,
|
|
@@ -1764,7 +1764,7 @@ var AllowedCountryGate = ({ children }) => {
|
|
|
1764
1764
|
};
|
|
1765
1765
|
//#endregion
|
|
1766
1766
|
//#region src/components/Shared/devex/DebugListener/DebugListener.tsx
|
|
1767
|
-
var DebugModal = lazy(async () => (await import("./DebugModal-
|
|
1767
|
+
var DebugModal = lazy(async () => (await import("./DebugModal-CnyrQLV2.js")).DebugModal);
|
|
1768
1768
|
/**
|
|
1769
1769
|
* Adds a listener on the page to open the debug modal when the
|
|
1770
1770
|
* debug modal key combination is pressed to open it
|
|
@@ -2464,7 +2464,7 @@ var EmbedShell = ({ children, rootLegalEntityId, settings, features, refreshExpe
|
|
|
2464
2464
|
children: [/* @__PURE__ */ jsx(LanguageSwitcher, { locale }), /* @__PURE__ */ jsxs(StoreProvider, { children: [/* @__PURE__ */ jsx("span", {
|
|
2465
2465
|
id: "sdk-version",
|
|
2466
2466
|
hidden: true,
|
|
2467
|
-
children: "4.19.
|
|
2467
|
+
children: "4.19.2"
|
|
2468
2468
|
}), /* @__PURE__ */ jsx(AnalyticsProvider, {
|
|
2469
2469
|
componentName,
|
|
2470
2470
|
locale,
|
package/dist/types/components/Business/tasks/BusinessDetailsDropin/businessDetailsStore.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import type { UserEvents } from '../../../../core/user-events';
|
|
|
4
4
|
import type { Form } from '../../../../hooks/useMultiForm/types';
|
|
5
5
|
import { type CountryCode } from '../../../../types/datasets/country-code';
|
|
6
6
|
import type { BusinessDetailsSchema } from '../../forms/BusinessDetails/types';
|
|
7
|
-
import type {
|
|
7
|
+
import type { ApplyVerifiedBusinessDataOptions } from '../../utils/applyVerifiedBusinessData';
|
|
8
8
|
type DisallowedSelectionReasons = 'LEGAL_ARRANGEMENT';
|
|
9
9
|
export interface CompanySearchState {
|
|
10
10
|
companySearchName: Signal<string | undefined>;
|
|
@@ -16,7 +16,7 @@ export interface CompanySearchState {
|
|
|
16
16
|
disallowSelection: (reason: DisallowedSelectionReasons) => void;
|
|
17
17
|
setVerificationMatched: (value: boolean) => void;
|
|
18
18
|
selectCompany: (data: CompanySelectionResponse, idx: number, country: CountryCode) => void;
|
|
19
|
-
confirmCompany: (multiform: Form<BusinessDetailsSchema>, country: CountryCode,
|
|
19
|
+
confirmCompany: (multiform: Form<BusinessDetailsSchema>, country: CountryCode, options?: ApplyVerifiedBusinessDataOptions) => void;
|
|
20
20
|
}
|
|
21
21
|
export declare const CompanySearchStateModel: import("@preact/signals").ModelConstructor<CompanySearchState, [UserEvents]>;
|
|
22
22
|
export {};
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import type { CompanySelectionResponse } from '../../../api/companySelection/companySelection.types';
|
|
2
|
+
import type { CompanyTypesValue } from '../../../core/models/api/company-types-value';
|
|
2
3
|
import type { Form } from '../../../hooks/useMultiForm/types';
|
|
3
4
|
import { type CountryCode } from '../../../types/datasets/country-code';
|
|
4
5
|
import type { BusinessDetailsSchema } from '../forms/BusinessDetails/types';
|
|
5
|
-
|
|
6
|
-
|
|
6
|
+
export interface ApplyVerifiedBusinessDataOptions {
|
|
7
|
+
preserveRegistrationNumber?: boolean;
|
|
8
|
+
companyTypeOverride?: CompanyTypesValue;
|
|
9
|
+
}
|
|
10
|
+
export declare const applyVerifiedBusinessData: (form: Form<BusinessDetailsSchema>, country: CountryCode, verifiedData: CompanySelectionResponse | undefined, options?: ApplyVerifiedBusinessDataOptions) => void;
|