@adyen/kyc-components 4.6.1 → 4.6.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/{AcceptTermsOfServiceComponent-B3l9btP-.js → AcceptTermsOfServiceComponent-C2WkLHFZ.js} +17 -15
- package/dist/{AccountSetupRejected-DbdJB-OJ.js → AccountSetupRejected-C16roimu.js} +1 -1
- package/dist/{ActionBar-BUo_zptQ.js → ActionBar--82M98S-.js} +1 -1
- package/dist/{Address-B1q0i8VT.js → Address-DWIT_6YL.js} +10 -10
- package/dist/{Avatar-V--81dug.js → Avatar-BoLDZMzm.js} +1 -1
- package/dist/{BusinessFinancingComponent-yACwTlmi.js → BusinessFinancingComponent-VTHLWJIr.js} +4 -4
- package/dist/{BusinessFinancingDropin-DwMpqWbh.js → BusinessFinancingDropin-BUl2B6f8.js} +30 -28
- package/dist/{BusinessFinancingPage-Bgh0dGq3.js → BusinessFinancingPage-D26VTiKP.js} +3 -3
- package/dist/{BusinessTypeSelectionPage-RRp8YkIk.js → BusinessTypeSelectionPage-CpTgzgPl.js} +11 -9
- package/dist/{Checkbox-CBsyuXip.js → Checkbox-jYXrAul6.js} +1 -1
- package/dist/{Confirm-BLjnKmbU.js → Confirm-BaZlxCCm.js} +2 -2
- package/dist/{ConstitutionalDocument-aYMC7Qld.js → ConstitutionalDocument-CZ_TklBF.js} +18 -18
- package/dist/{ContactDetails-BBTAGuyq.js → ContactDetails-ClGSH5yT.js} +6 -6
- package/dist/{ContextGuidance-BJIBM5W-.js → ContextGuidance-0uhYPQ1I.js} +1 -1
- package/dist/{CountryField-o99j4P7E.js → CountryField-CbqrNpDo.js} +3 -3
- package/dist/{CreateIndividualComponent-CmhrM9Gy.js → CreateIndividualComponent-BA56j0QH.js} +4 -4
- package/dist/{CreateTransferInstrumentComponent-CHaq9Cug.js → CreateTransferInstrumentComponent-DDrV-5P7.js} +3 -3
- package/dist/{Currency-hrruvtK7.js → Currency-N_ZeTxCp.js} +7 -7
- package/dist/{CustomerSupport-D9V9znlz.js → CustomerSupport-XgJm-2H-.js} +12 -10
- package/dist/{DebugModal-C3ODQ7HG.js → DebugModal-B8mpuazE.js} +6 -6
- package/dist/{DecisionMakerDetails-BUm0ukYp.js → DecisionMakerDetails-BCNBF-7s.js} +9 -9
- package/dist/{DecisionMakerDetailsPage-DiYr15fi.js → DecisionMakerDetailsPage-Dz0_2LNG.js} +7 -7
- package/dist/{DecisionMakers-BCk4n5BI.js → DecisionMakers-aaXzrhfz.js} +20 -18
- package/dist/{Dropzone-Dled5Xv_.js → Dropzone-DXer0HMz.js} +4 -4
- package/dist/{EmbeddedStatus-a9eBGaNp.js → EmbeddedStatus-6dwUT0qj.js} +2 -2
- package/dist/{EndStateLayout-Doxwm8Bv.js → EndStateLayout-B7Bk6joO.js} +1 -1
- package/dist/{EntityAssociation-BdpQ9IKO.js → EntityAssociation-BHlBpUJo.js} +5 -5
- package/dist/{EntityGuidanceStatus-CqfeJN28.js → EntityGuidanceStatus-DAQi1OXH.js} +4 -4
- package/dist/{ErrorPanel-B_t2Mr0a.js → ErrorPanel-DV0UxjXE.js} +1 -1
- package/dist/{Field-DhGlekN4.js → Field-CnMk9CSG.js} +1 -1
- package/dist/{FormNavigation-zwvQFKf1.js → FormNavigation-Bd2ZkyC5.js} +3 -3
- package/dist/{Individual.rules-DnqpK01d.js → Individual.rules-CijYAoh1.js} +6 -6
- package/dist/{IndividualDropin-CaQg4nGw.js → IndividualDropin-DkEAiK94.js} +52 -50
- package/dist/{InputDate-MfbWpC8K.js → InputDate-xFgiqFL2.js} +2 -2
- package/dist/{InputText-BsC-S1uD.js → InputText-Dl-dY3j-.js} +2 -2
- package/dist/{Introduction-XVVXz1r8.js → Introduction-DYLGoJO2.js} +6 -4
- package/dist/{InvitedDecisionMakerComponent-CHrA8mQR.js → InvitedDecisionMakerComponent-D6jCPSfb.js} +10 -10
- package/dist/{JpAddress-BDGwDEOX.js → JpAddress-Dytm-CRM.js} +9 -9
- package/dist/{LandingLayout-DJR_oP_0.js → LandingLayout-Df75OuDC.js} +1 -1
- package/dist/{LegalCompanyNameField-CzsW7440.js → LegalCompanyNameField-CCZiP7cW.js} +6 -6
- package/dist/{LegalRepresentativeDetailsPage-umA-1VaQ.js → LegalRepresentativeDetailsPage-D357sOuF.js} +3 -3
- package/dist/{Link-CuEU7lsc.js → Link-CnjMNEkc.js} +1 -1
- package/dist/{ListItem-De_7UUwH.js → ListItem-D89Fc8ka.js} +2 -2
- package/dist/{LoaderWrapper-BUn-b8AB.js → LoaderWrapper-R6_MCKIE.js} +1 -1
- package/dist/{ManageIndividualComponent-BK6fjFPh.js → ManageIndividualComponent-CGGLhS2M.js} +4 -4
- package/dist/{ManageTermsOfServiceComponent-ChalvP2J.js → ManageTermsOfServiceComponent-CJxu6GIR.js} +3 -3
- package/dist/{ManageTransferInstrumentComponent-C4oiwftt.js → ManageTransferInstrumentComponent-ByOnGvTd.js} +9 -9
- package/dist/{MaskedInput-BWp2Akul.js → MaskedInput-DRBOJEf6.js} +5 -5
- package/dist/{MaybeModal-C7EW70Xg.js → MaybeModal-Df1FFAGA.js} +2 -2
- package/dist/{Modal-D_LDmrcf.js → Modal-DOF5IfVB.js} +1 -1
- package/dist/{Name-D8B6J9x4.js → Name-C-7hpLoa.js} +5 -5
- package/dist/{NewSummary-BjYCAFDe.js → NewSummary-EcwZRRy4.js} +2 -2
- package/dist/{OnboardingDropinComponent-CFcJQhCb.js → OnboardingDropinComponent-Dc-g6FKE.js} +74 -87
- package/dist/{PayoutDetailsDropin-Beeag1MS.js → PayoutDetailsDropin-D9-5E_Zt.js} +35 -33
- package/dist/{PayoutDetailsPage-Q6XPaC0y.js → PayoutDetailsPage-kHdCfo5f.js} +4 -4
- package/dist/{RadioGroup-DvrpVP2i.js → RadioGroup-BRMU-RTM.js} +2 -2
- package/dist/{Review-D8hiQo3n.js → Review-DhZBBQAX.js} +6 -6
- package/dist/{RootBusinessDetailsPage-OjbFMdJ2.js → RootBusinessDetailsPage-BVn1n1lr.js} +5 -5
- package/dist/{RootBusinessLinesPage-CIECoCW3.js → RootBusinessLinesPage-Z5b-PsIO.js} +27 -25
- package/dist/{RootIndividualDetailsPage-kvCZ8gLE.js → RootIndividualDetailsPage-JyqRhwMu.js} +5 -5
- package/dist/{Select-t-h8dau1.js → Select-C7fRhcIh.js} +4 -4
- package/dist/{SignPCIComponent-BTd1hGFj.js → SignPCIComponent-B-h-k9vT.js} +13 -11
- package/dist/{SingpassSelection-BUVrRdZ4.js → SingpassSelection-BbB-JbTj.js} +5 -5
- package/dist/{SoleProprietorshipPage-BoUgRvvr.js → SoleProprietorshipPage-PSGbg4ly.js} +4 -4
- package/dist/{SourceOfFundsPage-DNth1tGN.js → SourceOfFundsPage-Bf0U21Nr.js} +34 -32
- package/dist/{StepProgressIndicator-CHQ02q0R.js → StepProgressIndicator-CAGdT_m0.js} +1 -1
- package/dist/{StoreProvider-Do1odp3Z.js → StoreProvider-BWAzl-p7.js} +4 -4
- package/dist/{Summary-s4DquGfj.js → Summary-DfeXmN3-.js} +6 -6
- package/dist/{TaxInformationField-DS9fsrYp.js → TaxInformationField-DxI2um5W.js} +20 -20
- package/dist/{TaxReportingDropin-CsCwca9A.js → TaxReportingDropin-CO4edpR7.js} +16 -14
- package/dist/{TextArea-DI9q4r1R.js → TextArea-DL3n0rXa.js} +2 -2
- package/dist/{TileGroup-CAyozQI4.js → TileGroup-CUTQ8er_.js} +2 -2
- package/dist/{TrustDetailsPage-Dp7MPmlU.js → TrustDetailsPage-Cb-0BT8b.js} +34 -31
- package/dist/{TrustMemberCompanyPage-D-6ls2Oq.js → TrustMemberCompanyPage-CTJAWg0S.js} +5 -5
- package/dist/{TrustMemberIndividualPage-MrBsjChK.js → TrustMemberIndividualPage-DBNfb0S1.js} +4 -4
- package/dist/{TrustMemberRoleAndTypePage-D901ZC2E.js → TrustMemberRoleAndTypePage-CsYvBEGT.js} +21 -21
- package/dist/{TrustMembersOverview-D-39F-pm.js → TrustMembersOverview-CALmu7o3.js} +10 -10
- package/dist/{UnincorporatedPartnershipIndividualPage-CYyfQrYN.js → UnincorporatedPartnershipIndividualPage-CE_OeqG0.js} +3 -3
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-DO5iP4Dt.js → UnincorporatedPartnershipMemberCompanyPage-CjDmlPW9.js} +5 -5
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-CBQerXfu.js → UnincorporatedPartnershipMemberRoleAndTypePage-Dvm1OGpZ.js} +11 -11
- package/dist/{UnincorporatedPartnershipMembersOverview-e_5NAEac.js → UnincorporatedPartnershipMembersOverview-BTiVJZbT.js} +7 -7
- package/dist/{VerificationErrorAlert-Bnnuucqh.js → VerificationErrorAlert-DAkp1o0d.js} +2 -2
- package/dist/{ViewVerificationStatusComponent-CVVTKfrQ.js → ViewVerificationStatusComponent-BbwWdSvT.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-DNleI80l.js → bafinUtils-DJX7-LsK.js} +1 -1
- package/dist/{commonValidators-B93jw3zT.js → commonValidators-C8ETg50F.js} +1 -1
- package/dist/{dropinUtils-iBTioaF7.js → dropinUtils-CyBOixUs.js} +4 -4
- package/dist/{formUtils-lkF9e5IB.js → formUtils-BTFoT4DI.js} +3 -3
- package/dist/{getName-f5vInm5O.js → getName-DGmqqf0i.js} +1 -1
- package/dist/{getProblemsForEntity-D8b_EJeC.js → getProblemsForEntity-BSzPFj1N.js} +1 -1
- package/dist/{getTrustedFields-D2WVcNYC.js → getTrustedFields-CE5acC9P.js} +1 -1
- package/dist/{isEmpty-u6uLWpz1.js → isEmpty-CtjrTeQf.js} +1 -1
- package/dist/{japanSupportUtils-By6GI65W.js → japanSupportUtils-Bel_UtiI.js} +1 -1
- package/dist/{localizeDateString-CYVOqiuH.js → localizeDateString-D95RpcHX.js} +1 -1
- package/dist/{mapExistingFile-9oZpCz9G.js → mapExistingFile-DdZj3ZNR.js} +3 -3
- package/dist/{mapJpAddressSchemaToAddressLocalizations-DhgNqKwy.js → mapJpAddressSchemaToAddressLocalizations-B8No6DR_.js} +2 -2
- package/dist/{mapLegalEntityToIndividualSchema-BY73qAGj.js → mapLegalEntityToIndividualSchema-_snV8Ls9.js} +4 -4
- package/dist/{mapTransferInstrumentToPayoutAccount-BYhssQ5b.js → mapTransferInstrumentToPayoutAccount-BuYUtobH.js} +2 -2
- package/dist/{omitObscuredFieldsIfUnchanged-BukQYYUl.js → omitObscuredFieldsIfUnchanged-Chwj7J0N.js} +3 -3
- package/dist/{patternValidators-BAI5QGjT.js → patternValidators-QFgZQvEQ.js} +1 -1
- package/dist/{process-field-configurations-BsVn1sDe.js → process-field-configurations-Bv0FBNR2.js} +2 -2
- package/dist/{resolveEnvironment-qgplleRV.js → resolveEnvironment-QvJd3cKP.js} +3 -3
- package/dist/{roleMetadata-BqDkoUz9.js → roleMetadata-CMvyXmym.js} +2 -2
- package/dist/{types-DKR2ZuTD.js → types-B7LP42Vj.js} +1 -1
- package/dist/{types-CfnPVq7b.js → types-DLLCdCdm.js} +2 -2
- package/dist/{types-tdqAwKL7.js → types-DV8mhU_5.js} +1 -1
- package/dist/{unincorporated-partnership-DiT1SZMx.js → unincorporated-partnership-KIun-oCI.js} +1 -1
- package/dist/{useAssociatedLegalEntity-Bwe18_3D.js → useAssociatedLegalEntity-DGdBqIWJ.js} +1 -1
- package/dist/{useBusinessDetailsData-S4H6u7aV.js → useBusinessDetailsData-BrOwsA1X.js} +50 -48
- package/dist/{useCreateLegalEntity-DugB4CeD.js → useCreateLegalEntity-CBaUr82n.js} +1 -1
- package/dist/{useForm-Chyn6I7t.js → useForm-BX1GY-0M.js} +3 -3
- package/dist/{useFormContext-D0VUus9N.js → useFormContext-DVe1IcJN.js} +7 -7
- package/dist/{useGlobalData-BOpkYARg.js → useGlobalData-pbmqOcoq.js} +9 -9
- package/dist/{useMultiForm-AyBSOBoC.js → useMultiForm-l0uNN24o.js} +4 -4
- package/dist/{useOnboardingStatus-DHIZ68CF.js → useOnboardingStatus-BktXInqR.js} +1 -1
- package/dist/{useScenarios-C--d6gPw.js → useScenarios-Bsy4oXxN.js} +1 -1
- package/dist/useTaskLandedEvent-CuY6hD_P.js +25 -0
- package/dist/{useTermsOfServiceStatus-OVxuF0N1.js → useTermsOfServiceStatus-B7VhvyvR.js} +1 -1
- package/dist/{useToastContext-DHFV4LJC.js → useToastContext-CZLQ-qIG.js} +1 -1
- package/dist/{useUnincorporatedPartnershipMembers-B9S2O4tQ.js → useUnincorporatedPartnershipMembers-B231FgH7.js} +4 -4
- package/dist/{useUpdateBusinessLines-D-2SFDbh.js → useUpdateBusinessLines-BypTKSVD.js} +4 -4
- package/dist/{useUpdateLegalEntity-CFRYUBdP.js → useUpdateLegalEntity-Cx6hTFYF.js} +2 -2
- package/dist/{utils-HEJUczlg.js → utils-Bc65-dOS.js} +1 -1
- package/dist/{utils-CmyEO2z6.js → utils-Bptup5am.js} +2 -2
- package/dist/{utils-DzZSy2n_.js → utils-CXs4Ciim.js} +1 -1
- package/dist/{utils-BlKniCje.js → utils-DWNmwPub.js} +6 -6
- package/dist/{utils-CG9hxJ09.js → utils-TwGfjh3m.js} +3 -3
- package/dist/{validate-DkaJWAVo.js → validate-3UOCFAVr.js} +1 -1
- package/dist/{validate-DKsP8XGZ.js → validate-CdzJprLf.js} +3 -3
- package/dist/{validationError-yKQW3P6f.js → validationError-uDS5kbR5.js} +2 -2
- package/package.json +1 -1
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { useRef } from "preact/hooks";
|
|
12
12
|
import register from "preact-custom-element";
|
|
13
|
-
import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-
|
|
14
|
-
import { V as ViewVerificationStatusComponent } from "./ViewVerificationStatusComponent-
|
|
13
|
+
import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-QvJd3cKP.js";
|
|
14
|
+
import { V as ViewVerificationStatusComponent } from "./ViewVerificationStatusComponent-BbwWdSvT.js";
|
|
15
15
|
import { e as emitAdyenSdkEvent } from "./emitEvent-CzZf80Am.js";
|
|
16
16
|
const AdyenVerificationStatus = ({
|
|
17
17
|
rootlegalentityid,
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { as as DecisionMakerTypes, w as TaskTypes, at as Scenarios } from "./StoreProvider-
|
|
10
|
+
import { as as DecisionMakerTypes, w as TaskTypes, at as Scenarios } from "./StoreProvider-BWAzl-p7.js";
|
|
11
11
|
import { signal, computed } from "@preact/signals";
|
|
12
12
|
const CompanyTypesValues = {
|
|
13
13
|
PRIVATE_COMPANY: "privateCompany",
|
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "8ac92dd1-ff57-455b-8c86-7677e9e19cdb", e._sentryDebugIdIdentifier = "sentry-dbid-8ac92dd1-ff57-455b-8c86-7677e9e19cdb");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useState, useRef, useCallback, useMemo } from "preact/hooks";
|
|
11
|
-
import { ae as createLogger, x as useAnalyticsContext } from "./StoreProvider-
|
|
12
|
-
import { s as summaryStep } from "./Summary-
|
|
11
|
+
import { ae as createLogger, x as useAnalyticsContext } from "./StoreProvider-BWAzl-p7.js";
|
|
12
|
+
import { s as summaryStep } from "./Summary-DfeXmN3-.js";
|
|
13
13
|
import { t as trackNavigation } from "./trackNavigation-db_h46BT.js";
|
|
14
14
|
import { jsx } from "preact/jsx-runtime";
|
|
15
|
-
import { F as FormRouterContext } from "./ErrorPanel-
|
|
15
|
+
import { F as FormRouterContext } from "./ErrorPanel-DV0UxjXE.js";
|
|
16
16
|
import { f as formDebugInfo } from "./debugStore-BvbyN1Oi.js";
|
|
17
17
|
const logger$1 = createLogger();
|
|
18
18
|
const getOpeningStep = (forms, remediationActions) => {
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "63c01eb1-7aba-439a-9d7d-c84ab8344326", e._sentryDebugIdIdentifier = "sentry-dbid-63c01eb1-7aba-439a-9d7d-c84ab8344326");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { g as getDataByFields } from "./utils-
|
|
11
|
-
import { ao as entriesOf } from "./StoreProvider-
|
|
10
|
+
import { g as getDataByFields } from "./utils-Bc65-dOS.js";
|
|
11
|
+
import { ao as entriesOf } from "./StoreProvider-BWAzl-p7.js";
|
|
12
12
|
const createFormUtils = (props, t) => ({
|
|
13
13
|
getLabel: (field, fallbackLabelKey) => {
|
|
14
14
|
let translationKey = props.labels?.[field] ?? fallbackLabelKey ?? field;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { ac as getOwnEntityAssociations, L as LegalEntityTypes } from "./StoreProvider-
|
|
10
|
+
import { ac as getOwnEntityAssociations, L as LegalEntityTypes } from "./StoreProvider-BWAzl-p7.js";
|
|
11
11
|
const getIndividualLegalEntityName = (legalEntityResponse) => {
|
|
12
12
|
if (!legalEntityResponse || !legalEntityResponse?.individual) return "";
|
|
13
13
|
return `${legalEntityResponse.individual?.name?.firstName ?? ""} ${legalEntityResponse.individual?.name?.lastName ?? ""}`;
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useMemo } from "preact/hooks";
|
|
11
|
-
import { P as useLegalEntity, R as ROOT_LE, ak as getCapabilityProblems, a8 as getLegalEntityCountry } from "./StoreProvider-
|
|
11
|
+
import { P as useLegalEntity, R as ROOT_LE, ak as getCapabilityProblems, a8 as getLegalEntityCountry } from "./StoreProvider-BWAzl-p7.js";
|
|
12
12
|
const useCapabilityProblems = () => {
|
|
13
13
|
const { data: rootLegalEntity } = useLegalEntity(ROOT_LE);
|
|
14
14
|
const problems = useMemo(
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useQuery } from "@tanstack/preact-query";
|
|
11
|
-
import { ae as createLogger, y as TaskStatuses, b as useApiContext, k as httpGet } from "./StoreProvider-
|
|
11
|
+
import { ae as createLogger, y as TaskStatuses, b as useApiContext, k as httpGet } from "./StoreProvider-BWAzl-p7.js";
|
|
12
12
|
const logger = createLogger();
|
|
13
13
|
const normalizeTaskStatuses = (taskStatuses) => {
|
|
14
14
|
return taskStatuses?.statuses?.reduce((acc, currentTask) => {
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { aS as keysOf } from "./StoreProvider-
|
|
10
|
+
import { aS as keysOf } from "./StoreProvider-BWAzl-p7.js";
|
|
11
11
|
const isEmpty = (obj, ignoreEmptyProperties = true) => {
|
|
12
12
|
if (obj === null || obj === void 0) return true;
|
|
13
13
|
if (Array.isArray(obj)) return obj.length === 0;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { a9 as CountryCodes } from "./StoreProvider-
|
|
10
|
+
import { a9 as CountryCodes } from "./StoreProvider-BWAzl-p7.js";
|
|
11
11
|
const isJapanLocalizationEnabled = (isFeatureEnabled = () => false, country) => {
|
|
12
12
|
return country === CountryCodes.Japan && isFeatureEnabled("EnableJapanLocalization");
|
|
13
13
|
};
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { ae as createLogger } from "./StoreProvider-
|
|
10
|
+
import { ae as createLogger } from "./StoreProvider-BWAzl-p7.js";
|
|
11
11
|
const localizeDateString = (dateString, locale, options) => {
|
|
12
12
|
const logger = createLogger();
|
|
13
13
|
const formatOptions = {
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "3a9d6ecc-53db-4ffd-9a48-95ddd2db596f", e._sentryDebugIdIdentifier = "sentry-dbid-3a9d6ecc-53db-4ffd-9a48-95ddd2db596f");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useEffect, useState, useMemo } from "preact/hooks";
|
|
11
|
-
import { u as useScenarios } from "./useScenarios-
|
|
12
|
-
import { a9 as CountryCodes, ae as createLogger } from "./StoreProvider-
|
|
11
|
+
import { u as useScenarios } from "./useScenarios-Bsy4oXxN.js";
|
|
12
|
+
import { a9 as CountryCodes, ae as createLogger } from "./StoreProvider-BWAzl-p7.js";
|
|
13
13
|
import { signal } from "@preact/signals";
|
|
14
14
|
class AdyenKycSdkError extends Error {
|
|
15
15
|
sourceError;
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "9c408f2b-a851-4bde-baca-7c3e93c6dbdd", e._sentryDebugIdIdentifier = "sentry-dbid-9c408f2b-a851-4bde-baca-7c3e93c6dbdd");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { i as isEmpty } from "./isEmpty-
|
|
10
|
+
import { i as isEmpty } from "./isEmpty-CtjrTeQf.js";
|
|
11
11
|
import { m as mapSchemaFieldsToApiScriptLocalization } from "./mapAddressLocalizationToJpAddressSchema-vJWbpAyq.js";
|
|
12
12
|
const applyDelta = (delta) => (char) => String.fromCharCode(char.charCodeAt(0) + delta);
|
|
13
13
|
const standardNormalization = (input) => input.normalize("NFKC");
|
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "b7e6b0af-6cd2-40a1-afd6-f3d921696cb7", e._sentryDebugIdIdentifier = "sentry-dbid-b7e6b0af-6cd2-40a1-afd6-f3d921696cb7");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { signal } from "@preact/signals";
|
|
11
|
-
import { u as useTranslation, x as useAnalyticsContext, N as Typography, V as Button, a9 as CountryCodes, az as reverseMapping, bm as getNomineeFromAssociation, bn as individualBaseMapping, as as DecisionMakerTypes } from "./StoreProvider-
|
|
11
|
+
import { u as useTranslation, x as useAnalyticsContext, N as Typography, V as Button, a9 as CountryCodes, az as reverseMapping, bm as getNomineeFromAssociation, bn as individualBaseMapping, as as DecisionMakerTypes } from "./StoreProvider-BWAzl-p7.js";
|
|
12
12
|
import { a as mapApiScriptLocalizationToSchemaFields, b as mapAddressLocalizationToJpAddressSchema } from "./mapAddressLocalizationToJpAddressSchema-vJWbpAyq.js";
|
|
13
13
|
import { f as formatObject } from "./utils-DNSfZiio.js";
|
|
14
14
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
15
|
-
import { F as Field } from "./Field-
|
|
16
|
-
import { T as TileGroup } from "./TileGroup-
|
|
15
|
+
import { F as Field } from "./Field-CnMk9CSG.js";
|
|
16
|
+
import { T as TileGroup } from "./TileGroup-CUTQ8er_.js";
|
|
17
17
|
const individualFormDefaultData = signal(null);
|
|
18
18
|
const guidanceQuestion = "adyen-kyc-guidance-question";
|
|
19
19
|
const options = "adyen-kyc-options";
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "89d346de-918a-49e1-ad96-c407663fcd5e", e._sentryDebugIdIdentifier = "sentry-dbid-89d346de-918a-49e1-ad96-c407663fcd5e");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useQuery, skipToken } from "@tanstack/preact-query";
|
|
11
|
-
import { b as useApiContext, k as httpGet, bt as crossBorderMapping, bu as payoutComponentKeyMapping } from "./StoreProvider-
|
|
11
|
+
import { b as useApiContext, k as httpGet, bt as crossBorderMapping, bu as payoutComponentKeyMapping } from "./StoreProvider-BWAzl-p7.js";
|
|
12
12
|
import { m as mapWith } from "./utils-DNSfZiio.js";
|
|
13
13
|
const getTransferInstrument = async (legalEntityId, baseUrl, transferInstrumentId) => {
|
|
14
14
|
return httpGet({
|
package/dist/{omitObscuredFieldsIfUnchanged-BukQYYUl.js → omitObscuredFieldsIfUnchanged-Chwj7J0N.js}
RENAMED
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "a3cc4775-3b79-471f-83c1-142a1ef79799", e._sentryDebugIdIdentifier = "sentry-dbid-a3cc4775-3b79-471f-83c1-142a1ef79799");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { an as cloneObject } from "./StoreProvider-
|
|
11
|
-
import { i as isValueObscured } from "./MaskedInput-
|
|
10
|
+
import { an as cloneObject } from "./StoreProvider-BWAzl-p7.js";
|
|
11
|
+
import { i as isValueObscured } from "./MaskedInput-DRBOJEf6.js";
|
|
12
12
|
import { g as getProp, d as deleteProp } from "./utils-DNSfZiio.js";
|
|
13
13
|
const omitObscuredFieldsIfUnchanged = (obscuredFields, dataSubmitted, savedData) => {
|
|
14
14
|
if (!dataSubmitted) {
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { aK as hasText, ax as isEmpty, aC as matchesRegex, aD as NO_ALPHABET_REGEX, aE as EMOJI_REGEX, aF as hasRepeatedCharacters, bf as isValidMinLength, aG as isInvalidName, bv as OTHER_ENTITIES_VALID_CHAR_REGEX, bw as LATIN_SPACE_MARK_PUNCTUATION_NUMBERS_REGEX, aL as standardKatakanaValidator, aM as standardKanjiValidator } from "./StoreProvider-
|
|
10
|
+
import { aK as hasText, ax as isEmpty, aC as matchesRegex, aD as NO_ALPHABET_REGEX, aE as EMOJI_REGEX, aF as hasRepeatedCharacters, bf as isValidMinLength, aG as isInvalidName, bv as OTHER_ENTITIES_VALID_CHAR_REGEX, bw as LATIN_SPACE_MARK_PUNCTUATION_NUMBERS_REGEX, aL as standardKatakanaValidator, aM as standardKanjiValidator } from "./StoreProvider-BWAzl-p7.js";
|
|
11
11
|
const validateNotEmptyOnBlur = {
|
|
12
12
|
modes: ["blur"],
|
|
13
13
|
validate: (val) => !isEmpty(val),
|
package/dist/{process-field-configurations-BsVn1sDe.js → process-field-configurations-Bv0FBNR2.js}
RENAMED
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "fc5ba0aa-e8a2-43e7-90f8-aad90a321693", e._sentryDebugIdIdentifier = "sentry-dbid-fc5ba0aa-e8a2-43e7-90f8-aad90a321693");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { T as TrustedFieldsProviders } from "./trusted-fields-provider-BgfIoSNJ.js";
|
|
11
11
|
import { f as formDebugInfo } from "./debugStore-BvbyN1Oi.js";
|
|
12
|
-
import { ae as createLogger, bk as businessDetailsApiKeyMapping, aW as individualApiKeyMapping, b8 as remediationHasFileUploadField, bl as dataMissingRemediationsToFieldsMap, aS as keysOf } from "./StoreProvider-
|
|
12
|
+
import { ae as createLogger, bk as businessDetailsApiKeyMapping, aW as individualApiKeyMapping, b8 as remediationHasFileUploadField, bl as dataMissingRemediationsToFieldsMap, aS as keysOf } from "./StoreProvider-BWAzl-p7.js";
|
|
13
13
|
const linkedFieldsMap = {
|
|
14
14
|
"additionalInformation.vatNumber": [
|
|
15
15
|
"additionalInformation.exemptedFromVat",
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "64505394-8115-43ea-93fa-2b745fea5a0e", e._sentryDebugIdIdentifier = "sentry-dbid-64505394-8115-43ea-93fa-2b745fea5a0e");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { av as refreshSession, V as Button, U as Loader, S as SettingsProvider, Q as QueryClientProvider, A as ApiProvider, T as ToggleContextProvider, c as StoreProvider, d as AnalyticsProvider, I as I18nProvider, e as AllowedCountryGate, D as DebugListener, f as ToastContextProvider, g as StateProvider, h as setSdkTokenHandler, n as normalizeEnvironment } from "./StoreProvider-
|
|
11
|
+
import { av as refreshSession, V as Button, U as Loader, S as SettingsProvider, Q as QueryClientProvider, A as ApiProvider, T as ToggleContextProvider, c as StoreProvider, d as AnalyticsProvider, I as I18nProvider, e as AllowedCountryGate, D as DebugListener, f as ToastContextProvider, g as StateProvider, h as setSdkTokenHandler, n as normalizeEnvironment } from "./StoreProvider-BWAzl-p7.js";
|
|
12
12
|
import { useState, useEffect } from "preact/hooks";
|
|
13
13
|
const sheet = new CSSStyleSheet();
|
|
14
14
|
const stylesheets = [sheet];
|
|
@@ -51,7 +51,7 @@ const EmbedShell = ({
|
|
|
51
51
|
return /* @__PURE__ */ jsx(Loader, {});
|
|
52
52
|
}
|
|
53
53
|
return /* @__PURE__ */ jsx(SettingsProvider, { settings, children: /* @__PURE__ */ jsx(QueryClientProvider, { children: /* @__PURE__ */ jsx(ApiProvider, { rootLegalEntityId, baseUrl, children: /* @__PURE__ */ jsx(ToggleContextProvider, { features, refreshExperiments, children: /* @__PURE__ */ jsxs(StoreProvider, { children: [
|
|
54
|
-
/* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "4.6.
|
|
54
|
+
/* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "4.6.2" }),
|
|
55
55
|
/* @__PURE__ */ jsx(
|
|
56
56
|
AnalyticsProvider,
|
|
57
57
|
{
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { bx as TrustMemberGuidanceLabels, ad as TrustMemberTypes, as as DecisionMakerTypes } from "./StoreProvider-
|
|
11
|
-
import { U as UnincorporatedPartnershipMemberTypes } from "./unincorporated-partnership-
|
|
10
|
+
import { bx as TrustMemberGuidanceLabels, ad as TrustMemberTypes, as as DecisionMakerTypes } from "./StoreProvider-BWAzl-p7.js";
|
|
11
|
+
import { U as UnincorporatedPartnershipMemberTypes } from "./unincorporated-partnership-KIun-oCI.js";
|
|
12
12
|
const roleMetadata = {
|
|
13
13
|
[DecisionMakerTypes.CONTROLLING_PERSON]: {
|
|
14
14
|
name: "controllingPerson",
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "32b6e651-50ec-44ea-819b-2364187a118f", e._sentryDebugIdIdentifier = "sentry-dbid-32b6e651-50ec-44ea-819b-2364187a118f");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { a9 as CountryCodes } from "./StoreProvider-
|
|
10
|
+
import { a9 as CountryCodes } from "./StoreProvider-BWAzl-p7.js";
|
|
11
11
|
import { C as Currencies } from "./currency-CrdnaaDu.js";
|
|
12
12
|
const currencyByCountry = {
|
|
13
13
|
[CountryCodes.Australia]: [Currencies.AUD],
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { L as LegalEntityTypes, a9 as CountryCodes } from "./StoreProvider-
|
|
10
|
+
import { L as LegalEntityTypes, a9 as CountryCodes } from "./StoreProvider-BWAzl-p7.js";
|
|
11
11
|
const trustMemberLegalEntityTypes = [
|
|
12
12
|
LegalEntityTypes.INDIVIDUAL,
|
|
13
13
|
LegalEntityTypes.ORGANIZATION
|
package/dist/{unincorporated-partnership-DiT1SZMx.js → unincorporated-partnership-KIun-oCI.js}
RENAMED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { Suspense } from "preact/compat";
|
|
12
|
-
import { U as Loader } from "./StoreProvider-
|
|
12
|
+
import { U as Loader } from "./StoreProvider-BWAzl-p7.js";
|
|
13
13
|
const Image = ({
|
|
14
14
|
lazyLoadedImage,
|
|
15
15
|
className
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { skipToken } from "@tanstack/preact-query";
|
|
11
11
|
import { useMemo } from "preact/hooks";
|
|
12
|
-
import { ae as createLogger, P as useLegalEntity } from "./StoreProvider-
|
|
12
|
+
import { ae as createLogger, P as useLegalEntity } from "./StoreProvider-BWAzl-p7.js";
|
|
13
13
|
const logger = createLogger();
|
|
14
14
|
function useAssociatedLegalEntity(parentLegalEntity, associationType) {
|
|
15
15
|
const matchingAssociation = useMemo(() => {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "5e107c7b-14ba-4342-bfb1-76cdbba0facb", e._sentryDebugIdIdentifier = "sentry-dbid-5e107c7b-14ba-4342-bfb1-76cdbba0facb");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
@@ -10,62 +10,63 @@
|
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useMutation, useQuery, skipToken, useQueryClient } from "@tanstack/preact-query";
|
|
12
12
|
import { useState, useMemo, useEffect, useRef, useCallback } from "preact/hooks";
|
|
13
|
-
import { D as Divider, I as INDUSTRY_CODE_FIELD, i as industryCodeFieldMetadata, u as useIndustryCodes, a as IndustryCodeField, b as useCreateBusinessLine, c as useUpdateBusinessLine } from "./useUpdateBusinessLines-
|
|
14
|
-
import { u as useScenarios } from "./useScenarios-
|
|
15
|
-
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-
|
|
16
|
-
import { u as useToastContext, a as useInvalidateRootLegalEntity } from "./useToastContext-
|
|
17
|
-
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
18
|
-
import { u as useTranslation, bF as isISIN, V as Button, H as useToggleContext, P as useLegalEntity, R as ROOT_LE, am as datasetUtilities, aB as Header, N as Typography, U as Loader, a9 as CountryCodes, m as useSettingsContext, aN as useAllowedCountries, b as useApiContext, j as httpPost, O as StackLayout, C as Alert, ao as entriesOf, x as useAnalyticsContext, ae as createLogger, t as useAccountHolder, w as TaskTypes, L as LegalEntityTypes, ax as isEmpty, i as isUndefinedOrNull, bG as businessDetailsComponentsKeyMapping, bH as solePropBusinessDetailsKeyMapping, ah as objectsDeepEqual, aS as keysOf, bI as solePropBusinessDetailsApiKeyMapping, bk as businessDetailsApiKeyMapping, at as Scenarios, aZ as filterOutUnwantedAssociationsIfRootLE, aX as drop, ac as getOwnEntityAssociations, b2 as doArraysMatch, bJ as solePropBusinessDetailsDocumentMapping, bK as businessDetailsDocumentMapping } from "./StoreProvider-
|
|
19
|
-
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-
|
|
20
|
-
import { C as CompanyTypesValues } from "./bafinUtils-
|
|
21
|
-
import { c as composePerScenarioFormConfigurations, g as getPropsFromConfigurations } from "./process-field-configurations-
|
|
22
|
-
import { a as addValidityToForms, u as useFormComposer } from "./dropinUtils-
|
|
23
|
-
import { u as useMultiForm } from "./useMultiForm-
|
|
24
|
-
import { u as uppercase, m as mapExistingFile, g as getPageName, b as useScenarioConfiguration } from "./mapExistingFile-
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
13
|
+
import { D as Divider, I as INDUSTRY_CODE_FIELD, i as industryCodeFieldMetadata, u as useIndustryCodes, a as IndustryCodeField, b as useCreateBusinessLine, c as useUpdateBusinessLine } from "./useUpdateBusinessLines-BypTKSVD.js";
|
|
14
|
+
import { u as useScenarios } from "./useScenarios-Bsy4oXxN.js";
|
|
15
|
+
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-CBaUr82n.js";
|
|
16
|
+
import { u as useToastContext, a as useInvalidateRootLegalEntity } from "./useToastContext-CZLQ-qIG.js";
|
|
17
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-Cx6hTFYF.js";
|
|
18
|
+
import { u as useTranslation, bF as isISIN, V as Button, H as useToggleContext, P as useLegalEntity, R as ROOT_LE, am as datasetUtilities, aB as Header, N as Typography, U as Loader, a9 as CountryCodes, m as useSettingsContext, aN as useAllowedCountries, b as useApiContext, j as httpPost, O as StackLayout, C as Alert, ao as entriesOf, x as useAnalyticsContext, ae as createLogger, t as useAccountHolder, w as TaskTypes, L as LegalEntityTypes, ax as isEmpty, i as isUndefinedOrNull, bG as businessDetailsComponentsKeyMapping, bH as solePropBusinessDetailsKeyMapping, ah as objectsDeepEqual, aS as keysOf, bI as solePropBusinessDetailsApiKeyMapping, bk as businessDetailsApiKeyMapping, at as Scenarios, aZ as filterOutUnwantedAssociationsIfRootLE, aX as drop, ac as getOwnEntityAssociations, b2 as doArraysMatch, bJ as solePropBusinessDetailsDocumentMapping, bK as businessDetailsDocumentMapping } from "./StoreProvider-BWAzl-p7.js";
|
|
19
|
+
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-DVe1IcJN.js";
|
|
20
|
+
import { C as CompanyTypesValues } from "./bafinUtils-DJX7-LsK.js";
|
|
21
|
+
import { c as composePerScenarioFormConfigurations, g as getPropsFromConfigurations } from "./process-field-configurations-Bv0FBNR2.js";
|
|
22
|
+
import { a as addValidityToForms, u as useFormComposer } from "./dropinUtils-CyBOixUs.js";
|
|
23
|
+
import { u as useMultiForm } from "./useMultiForm-l0uNN24o.js";
|
|
24
|
+
import { u as uppercase, m as mapExistingFile, g as getPageName, b as useScenarioConfiguration } from "./mapExistingFile-DdZj3ZNR.js";
|
|
25
|
+
import { u as useTaskLandedEvent } from "./useTaskLandedEvent-CuY6hD_P.js";
|
|
26
|
+
import { C as Confirm } from "./Confirm-BaZlxCCm.js";
|
|
27
|
+
import { E as ErrorPanel } from "./ErrorPanel-DV0UxjXE.js";
|
|
28
|
+
import { N as NewSummary } from "./NewSummary-EcwZRRy4.js";
|
|
29
|
+
import { u as usePageLandedEvent, s as summaryStep, a as summaryStyles } from "./Summary-DfeXmN3-.js";
|
|
30
|
+
import { a as getDocument, j as getDocuments, c as createDocumentRequest, k as mergeProofOfOwnershipAttachments, b as getFileExtention, d as documentApiUtils } from "./validate-CdzJprLf.js";
|
|
31
|
+
import { m as mergeFieldMetadataIntoProps, c as createFormUtils } from "./formUtils-BTFoT4DI.js";
|
|
32
|
+
import { c as TAX_INFORMATION_FIELD, r as requestingBanking, d as requestingIssuing, t as taxInformationDefaultFieldMetadata, a as taxInformationDefaultFieldConfig, T as TaxInformationField, C as COUNTRY_OF_GOVERNING_LAW_POSSIBLE, e as getTaxInformationPlaceholderText, S as StateCodesUS, i as isUsingCompanySearch, M as MemoizedDocumentUpload, f as countryToTaxInfoTypeMap, h as isRegistrationNumberAbsentStateV4Scenario, j as getTaxIdNumberOptions, k as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, l as rules, g as getFieldsWithExistingData } from "./TaxInformationField-DxI2um5W.js";
|
|
33
|
+
import { D as DBA_NAME_FIELD, B as BUSINESS_REGISTRATION_NUMBER_FIELD, V as VAT_NUMBER_FIELD, r as registrationAddressFields, o as operationalAddressIsSameIds, v as vatAbsenceReasonMetadata, d as defaultFieldMetadata, a as defaultFieldConfig, b as registrationNumberDefaultFieldMetadata, c as registrationNumberDefaultFieldConfig, e as doingBusinessAsFieldMetadata, f as doingBusinessAsAbsentFieldMetadata, g as DBANameField, h as BusinessRegistrationNumberField, i as getRegistrationNumberHelperText, j as VatNumberField, M as MemoizedConstitutionalDocument, k as getDefaultRegistrationNumberType, l as getDefaultVatNumberType, m as inferCompanyRegistrationNumberType, n as getCompanyRegistrationNumberOptions, p as exemptFromRegistrationNumberDefaultFieldMetadata } from "./ConstitutionalDocument-CZ_TklBF.js";
|
|
34
|
+
import { K as KEYBOARD_KEYS, M as Modal, a as ModalContent } from "./Modal-DOF5IfVB.js";
|
|
35
|
+
import { g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET, a as getAddressSchemaLabelsByCountry, f as mapAddressLabelsNewSummary, c as getKeyForField } from "./utils-Bptup5am.js";
|
|
35
36
|
import { r as resolveFieldMetadata } from "./fieldConfigurations-BUT9DTUH.js";
|
|
36
|
-
import { f as formatCurrency, A as ALLOWED_SOF_SERVICES } from "./utils-
|
|
37
|
-
import { b as useAddressCleanse, f as formatAddressForCleanse, m as mapAddressData, A as Address, g as getNestedTrustedFields, S as STATE_FIELD, d as defaultFieldMetadata$1, c as defaultFieldConfig$1, e as StateField, i as isDateOlderThanAYear } from "./Address-
|
|
37
|
+
import { f as formatCurrency, A as ALLOWED_SOF_SERVICES } from "./utils-TwGfjh3m.js";
|
|
38
|
+
import { b as useAddressCleanse, f as formatAddressForCleanse, m as mapAddressData, A as Address, g as getNestedTrustedFields, S as STATE_FIELD, d as defaultFieldMetadata$1, c as defaultFieldConfig$1, e as StateField, i as isDateOlderThanAYear } from "./Address-DWIT_6YL.js";
|
|
38
39
|
import { S as SettingNames } from "./types-Dv0COrvY.js";
|
|
39
|
-
import { o as organizationTypesToSkipCompanyStructureForm } from "./utils-
|
|
40
|
-
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-
|
|
41
|
-
import { t as toFullWidth, m as mapJpAddressSchemaToAddressLocalizations } from "./mapJpAddressSchemaToAddressLocalizations-
|
|
42
|
-
import { i as isEmpty$1 } from "./isEmpty-
|
|
40
|
+
import { o as organizationTypesToSkipCompanyStructureForm } from "./utils-DWNmwPub.js";
|
|
41
|
+
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-uDS5kbR5.js";
|
|
42
|
+
import { t as toFullWidth, m as mapJpAddressSchemaToAddressLocalizations } from "./mapJpAddressSchemaToAddressLocalizations-B8No6DR_.js";
|
|
43
|
+
import { i as isEmpty$1 } from "./isEmpty-CtjrTeQf.js";
|
|
43
44
|
import { f as formatObject } from "./utils-DNSfZiio.js";
|
|
44
45
|
import { b as mapAddressLocalizationToJpAddressSchema, a as mapApiScriptLocalizationToSchemaFields, m as mapSchemaFieldsToApiScriptLocalization } from "./mapAddressLocalizationToJpAddressSchema-vJWbpAyq.js";
|
|
45
|
-
import { L as LegalFormField, I as InputNumber, c as InputCurrency, b as CURRENCY_FIELD, C as Currency, m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./Currency-
|
|
46
|
-
import { L as LandingLayout } from "./LandingLayout-
|
|
47
|
-
import { g as getLegalCompanyNameGuidanceText, L as LEGAL_COMPANY_NAME_FIELD, d as defaultFieldMetadataV4, a as defaultFieldMetadata$2, b as defaultFieldConfigV4, c as defaultFieldConfig$2 } from "./LegalCompanyNameField-
|
|
48
|
-
import { h as useBusinessLines } from "./OnboardingDropinComponent-
|
|
46
|
+
import { L as LegalFormField, I as InputNumber, c as InputCurrency, b as CURRENCY_FIELD, C as Currency, m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./Currency-N_ZeTxCp.js";
|
|
47
|
+
import { L as LandingLayout } from "./LandingLayout-Df75OuDC.js";
|
|
48
|
+
import { g as getLegalCompanyNameGuidanceText, L as LEGAL_COMPANY_NAME_FIELD, d as defaultFieldMetadataV4, a as defaultFieldMetadata$2, b as defaultFieldConfigV4, c as defaultFieldConfig$2 } from "./LegalCompanyNameField-CCZiP7cW.js";
|
|
49
|
+
import { h as useBusinessLines } from "./OnboardingDropinComponent-Dc-g6FKE.js";
|
|
49
50
|
import { Suspense, lazy } from "preact/compat";
|
|
50
|
-
import { C as Checkbox } from "./Checkbox-
|
|
51
|
-
import { F as Field } from "./Field-
|
|
52
|
-
import { I as InputDate, f as formatDateObj } from "./InputDate-
|
|
53
|
-
import { a as validateNotEmptyOnBlur, v as validatePatternOnBlur, b as validateJaKanaLegalCompanyName, c as validateJaHaniLegalCompanyName } from "./patternValidators-
|
|
54
|
-
import { M as MaskedInput, m as makeMask, d as alphanumericInputs, b as alphaInputs, n as numericInputs } from "./MaskedInput-
|
|
55
|
-
import { i as isJapanLocalizationEnabled } from "./japanSupportUtils-
|
|
51
|
+
import { C as Checkbox } from "./Checkbox-jYXrAul6.js";
|
|
52
|
+
import { F as Field } from "./Field-CnMk9CSG.js";
|
|
53
|
+
import { I as InputDate, f as formatDateObj } from "./InputDate-xFgiqFL2.js";
|
|
54
|
+
import { a as validateNotEmptyOnBlur, v as validatePatternOnBlur, b as validateJaKanaLegalCompanyName, c as validateJaHaniLegalCompanyName } from "./patternValidators-QFgZQvEQ.js";
|
|
55
|
+
import { M as MaskedInput, m as makeMask, d as alphanumericInputs, b as alphaInputs, n as numericInputs } from "./MaskedInput-DRBOJEf6.js";
|
|
56
|
+
import { i as isJapanLocalizationEnabled } from "./japanSupportUtils-Bel_UtiI.js";
|
|
56
57
|
import { u as useDebouncedCallback } from "./debouncedInputEvent-Cv2S512Y.js";
|
|
57
58
|
import { signal } from "@preact/signals";
|
|
58
59
|
import cx from "classnames";
|
|
59
|
-
import { L as Link } from "./Link-
|
|
60
|
+
import { L as Link } from "./Link-CnjMNEkc.js";
|
|
60
61
|
import { S as StructuredList } from "./StructuredList-CNha20ka.js";
|
|
61
|
-
import { I as InputText } from "./InputText-
|
|
62
|
-
import { C as CountryField, a as COUNTRY_FIELD } from "./CountryField-
|
|
63
|
-
import { L as LoaderWrapper } from "./LoaderWrapper-
|
|
62
|
+
import { I as InputText } from "./InputText-Dl-dY3j-.js";
|
|
63
|
+
import { C as CountryField, a as COUNTRY_FIELD } from "./CountryField-CbqrNpDo.js";
|
|
64
|
+
import { L as LoaderWrapper } from "./LoaderWrapper-R6_MCKIE.js";
|
|
64
65
|
import { C as Card } from "./Card-OQuFzmxm.js";
|
|
65
|
-
import { L as ListItem } from "./ListItem-
|
|
66
|
-
import { T as TileGroup } from "./TileGroup-
|
|
67
|
-
import { c as currencyByCountry } from "./types-
|
|
68
|
-
import { R as RadioGroup } from "./RadioGroup-
|
|
66
|
+
import { L as ListItem } from "./ListItem-D89Fc8ka.js";
|
|
67
|
+
import { T as TileGroup } from "./TileGroup-CUTQ8er_.js";
|
|
68
|
+
import { c as currencyByCountry } from "./types-DLLCdCdm.js";
|
|
69
|
+
import { R as RadioGroup } from "./RadioGroup-BRMU-RTM.js";
|
|
69
70
|
const DATE_OF_INCORPORATION_FIELD = [
|
|
70
71
|
"dateOfIncorporation"
|
|
71
72
|
];
|
|
@@ -406,7 +407,7 @@ function VerifiedBusinessCard({
|
|
|
406
407
|
] });
|
|
407
408
|
}
|
|
408
409
|
const LazyJpAddress = lazy(
|
|
409
|
-
async () => (await import("./JpAddress-
|
|
410
|
+
async () => (await import("./JpAddress-Dytm-CRM.js")).JpAddress
|
|
410
411
|
);
|
|
411
412
|
const ADDITIONAL_INFORMATION_FORM_ID = "additionalInformation";
|
|
412
413
|
const ADDITIONAL_INFORMATION_FIELDS = [
|
|
@@ -4810,6 +4811,7 @@ function BusinessDetailsDropin({
|
|
|
4810
4811
|
const { mutateAsync: updateLegalEntity } = useUpdateLegalEntity();
|
|
4811
4812
|
const invalidateRootLegalEntity = useInvalidateRootLegalEntity();
|
|
4812
4813
|
const logger2 = createLogger();
|
|
4814
|
+
useTaskLandedEvent(taskType);
|
|
4813
4815
|
const isAssociationTaskType = taskType !== TaskTypes.BUSINESS_DETAILS;
|
|
4814
4816
|
const legalEntityType = taskType === TaskTypes.SOLE_PROPRIETOR_COMPANY ? LegalEntityTypes.SOLE_PROPRIETORSHIP : LegalEntityTypes.ORGANIZATION;
|
|
4815
4817
|
const subjectEntity = !isAssociationTaskType ? legalEntityResponse : taskType === TaskTypes.SOLE_PROPRIETOR_COMPANY ? associatedLegalArrangement : nestedLegalEntity;
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useMutation } from "@tanstack/preact-query";
|
|
11
|
-
import { b as useApiContext, j as httpPost } from "./StoreProvider-
|
|
11
|
+
import { b as useApiContext, j as httpPost } from "./StoreProvider-BWAzl-p7.js";
|
|
12
12
|
const createLegalEntity = async (legalEntityId, baseUrl, data) => {
|
|
13
13
|
return httpPost(
|
|
14
14
|
{
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "538951d0-6a2c-4323-901d-966fcbb98eab", e._sentryDebugIdIdentifier = "sentry-dbid-538951d0-6a2c-4323-901d-966fcbb98eab");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useState, useCallback, useMemo, useReducer, useEffect } from "preact/hooks";
|
|
11
|
-
import { ae as createLogger, ax as isEmpty, b2 as doArraysMatch } from "./StoreProvider-
|
|
12
|
-
import { V as ValidationResult, o as omitKeys, a as addKeys } from "./utils-
|
|
11
|
+
import { ae as createLogger, ax as isEmpty, b2 as doArraysMatch } from "./StoreProvider-BWAzl-p7.js";
|
|
12
|
+
import { V as ValidationResult, o as omitKeys, a as addKeys } from "./utils-Bc65-dOS.js";
|
|
13
13
|
const logger = createLogger();
|
|
14
14
|
const useAsyncValidator = (asyncRules) => {
|
|
15
15
|
const [asyncValidationResults, setAsyncValidationResults] = useState({});
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "a0ee11a0-271a-4682-bc64-9e3284bd3beb", e._sentryDebugIdIdentifier = "sentry-dbid-a0ee11a0-271a-4682-bc64-9e3284bd3beb");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
@@ -10,13 +10,13 @@
|
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { useMemo, useRef, useState, useContext } from "preact/hooks";
|
|
12
12
|
import cx from "classnames";
|
|
13
|
-
import { x as useAnalyticsContext, u as useTranslation, V as Button } from "./StoreProvider-
|
|
14
|
-
import { L as LoaderWrapper } from "./LoaderWrapper-
|
|
15
|
-
import { M as MaybeModal } from "./MaybeModal-
|
|
13
|
+
import { x as useAnalyticsContext, u as useTranslation, V as Button } from "./StoreProvider-BWAzl-p7.js";
|
|
14
|
+
import { L as LoaderWrapper } from "./LoaderWrapper-R6_MCKIE.js";
|
|
15
|
+
import { M as MaybeModal } from "./MaybeModal-Df1FFAGA.js";
|
|
16
16
|
import { P as ProgressBar } from "./ProgressBar-B7gTQncy.js";
|
|
17
|
-
import { F as FormRouterContextProvider } from "./dropinUtils-
|
|
18
|
-
import { C as Confirm } from "./Confirm-
|
|
19
|
-
import { S as Summary } from "./Summary-
|
|
17
|
+
import { F as FormRouterContextProvider } from "./dropinUtils-CyBOixUs.js";
|
|
18
|
+
import { C as Confirm } from "./Confirm-BaZlxCCm.js";
|
|
19
|
+
import { S as Summary } from "./Summary-DfeXmN3-.js";
|
|
20
20
|
import { createContext } from "preact";
|
|
21
21
|
const FormContext = createContext(null);
|
|
22
22
|
function FormContextProvider({
|