@adyen/kyc-components 4.6.2 → 4.6.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/{AcceptTermsOfServiceComponent-C2WkLHFZ.js → AcceptTermsOfServiceComponent-XaeVhsGD.js} +15 -15
- package/dist/{AccountSetupRejected-C16roimu.js → AccountSetupRejected-CCTKPh4T.js} +1 -1
- package/dist/{ActionBar--82M98S-.js → ActionBar-DIFvfiMP.js} +1 -1
- package/dist/{Address-DWIT_6YL.js → Address-CVPObm6B.js} +9 -9
- package/dist/{Avatar-BoLDZMzm.js → Avatar-Cf37hJy8.js} +1 -1
- package/dist/{BusinessFinancingComponent-VTHLWJIr.js → BusinessFinancingComponent-MO_80E8a.js} +4 -4
- package/dist/{BusinessFinancingDropin-BUl2B6f8.js → BusinessFinancingDropin-C6g7xB95.js} +28 -28
- package/dist/{BusinessFinancingPage-D26VTiKP.js → BusinessFinancingPage-B5Nk3rx2.js} +3 -3
- package/dist/{BusinessTypeSelectionPage-CpTgzgPl.js → BusinessTypeSelectionPage-q-ohll63.js} +9 -9
- package/dist/{Checkbox-jYXrAul6.js → Checkbox-CZ-K3Ygt.js} +1 -1
- package/dist/{Confirm-BaZlxCCm.js → Confirm-Bfhearjt.js} +2 -2
- package/dist/{ConstitutionalDocument-CZ_TklBF.js → ConstitutionalDocument-BZcUcXNX.js} +17 -17
- package/dist/{ContactDetails-ClGSH5yT.js → ContactDetails-CLSUzFP_.js} +5 -5
- package/dist/{ContextGuidance-0uhYPQ1I.js → ContextGuidance-BopbaLr-.js} +1 -1
- package/dist/{CountryField-CbqrNpDo.js → CountryField-BJAayKID.js} +3 -3
- package/dist/{CreateIndividualComponent-BA56j0QH.js → CreateIndividualComponent-D2-0xOiU.js} +4 -4
- package/dist/{CreateTransferInstrumentComponent-DDrV-5P7.js → CreateTransferInstrumentComponent-CKnK4wTB.js} +3 -3
- package/dist/{Currency-N_ZeTxCp.js → Currency-BsVi8QRc.js} +6 -6
- package/dist/{CustomerSupport-XgJm-2H-.js → CustomerSupport-CJTSCIsJ.js} +10 -10
- package/dist/{DebugModal-B8mpuazE.js → DebugModal-B44T9eDP.js} +6 -6
- package/dist/{DecisionMakerDetails-BCNBF-7s.js → DecisionMakerDetails-DJmL0mgp.js} +8 -8
- package/dist/{DecisionMakerDetailsPage-Dz0_2LNG.js → DecisionMakerDetailsPage-BBa--1Xr.js} +6 -6
- package/dist/{DecisionMakers-aaXzrhfz.js → DecisionMakers-B9o4bDnw.js} +18 -18
- package/dist/{Dropzone-DXer0HMz.js → Dropzone-CHADYCWU.js} +3 -3
- package/dist/{EmbeddedStatus-6dwUT0qj.js → EmbeddedStatus-CUGRqHWU.js} +2 -2
- package/dist/{EndStateLayout-B7Bk6joO.js → EndStateLayout-CWFjt8_u.js} +1 -1
- package/dist/{EntityAssociation-BHlBpUJo.js → EntityAssociation-COqNeSzy.js} +4 -4
- package/dist/{EntityGuidanceStatus-DAQi1OXH.js → EntityGuidanceStatus-BOjmARXU.js} +3 -3
- package/dist/{ErrorPanel-DV0UxjXE.js → ErrorPanel-BFnWeBCJ.js} +1 -1
- package/dist/{Field-CnMk9CSG.js → Field-B8NADHt-.js} +1 -1
- package/dist/{FormNavigation-Bd2ZkyC5.js → FormNavigation-CZGO4M_r.js} +2 -2
- package/dist/{Individual.rules-CijYAoh1.js → Individual.rules-CcCj7FCg.js} +5 -5
- package/dist/{IndividualDropin-DkEAiK94.js → IndividualDropin-D4VcAQnB.js} +50 -50
- package/dist/{InputDate-xFgiqFL2.js → InputDate-BvgrweAT.js} +1 -1
- package/dist/{InputText-Dl-dY3j-.js → InputText-D6VoNS-R.js} +1 -1
- package/dist/{Introduction-DYLGoJO2.js → Introduction-DCEmOIU3.js} +4 -4
- package/dist/{InvitedDecisionMakerComponent-D6jCPSfb.js → InvitedDecisionMakerComponent-D-Mxf7Sa.js} +9 -9
- package/dist/{JpAddress-Dytm-CRM.js → JpAddress-aZ8F40cK.js} +8 -8
- package/dist/{LandingLayout-Df75OuDC.js → LandingLayout-Co0T9hoE.js} +1 -1
- package/dist/{LegalCompanyNameField-CCZiP7cW.js → LegalCompanyNameField-EsmoOYWn.js} +5 -5
- package/dist/{LegalRepresentativeDetailsPage-D357sOuF.js → LegalRepresentativeDetailsPage-ChOjFSdk.js} +3 -3
- package/dist/{Link-CnjMNEkc.js → Link-QFSK0XUO.js} +1 -1
- package/dist/{ListItem-D89Fc8ka.js → ListItem-rRlEZCTu.js} +2 -2
- package/dist/{LoaderWrapper-R6_MCKIE.js → LoaderWrapper-DlhbbEYS.js} +1 -1
- package/dist/{ManageIndividualComponent-CGGLhS2M.js → ManageIndividualComponent-DQ9mC9zr.js} +4 -4
- package/dist/{ManageTermsOfServiceComponent-CJxu6GIR.js → ManageTermsOfServiceComponent-B4WTTK1V.js} +3 -3
- package/dist/{ManageTransferInstrumentComponent-ByOnGvTd.js → ManageTransferInstrumentComponent-C716Mbf2.js} +9 -9
- package/dist/{MaskedInput-DRBOJEf6.js → MaskedInput-Cj3Be_WU.js} +4 -4
- package/dist/{MaybeModal-Df1FFAGA.js → MaybeModal-nSPl0yfm.js} +2 -2
- package/dist/{Modal-DOF5IfVB.js → Modal-D1Yiugk1.js} +1 -1
- package/dist/{Name-C-7hpLoa.js → Name-Pp6IOBxl.js} +4 -4
- package/dist/{NewSummary-EcwZRRy4.js → NewSummary-DKld0bET.js} +1 -1
- package/dist/{OnboardingDropinComponent-Dc-g6FKE.js → OnboardingDropinComponent-DsvTtn8J.js} +72 -72
- package/dist/{PayoutDetailsDropin-D9-5E_Zt.js → PayoutDetailsDropin-DANG1pDw.js} +33 -33
- package/dist/{PayoutDetailsPage-kHdCfo5f.js → PayoutDetailsPage-DCmlsSbE.js} +4 -4
- package/dist/{RadioGroup-BRMU-RTM.js → RadioGroup-DwACEtfi.js} +1 -1
- package/dist/{Review-DhZBBQAX.js → Review-Dsp3Zk67.js} +5 -5
- package/dist/{RootBusinessDetailsPage-BVn1n1lr.js → RootBusinessDetailsPage-mquvEyt7.js} +4 -4
- package/dist/{RootBusinessLinesPage-Z5b-PsIO.js → RootBusinessLinesPage-DCSgZuZD.js} +25 -25
- package/dist/{RootIndividualDetailsPage-JyqRhwMu.js → RootIndividualDetailsPage-BALuMNT2.js} +5 -5
- package/dist/{Select-C7fRhcIh.js → Select-Bp6g62Kp.js} +3 -3
- package/dist/{SignPCIComponent-B-h-k9vT.js → SignPCIComponent-CfWNRHUh.js} +11 -11
- package/dist/{SingpassSelection-BbB-JbTj.js → SingpassSelection-Cpouo3cB.js} +4 -4
- package/dist/{SoleProprietorshipPage-PSGbg4ly.js → SoleProprietorshipPage-KtyWIVNn.js} +3 -3
- package/dist/{SourceOfFundsPage-Bf0U21Nr.js → SourceOfFundsPage-B1lV40GU.js} +32 -32
- package/dist/{StepProgressIndicator-CAGdT_m0.js → StepProgressIndicator-U5DG_o4X.js} +1 -1
- package/dist/{StoreProvider-BWAzl-p7.js → StoreProvider-hNCKWSzB.js} +4 -4
- package/dist/{Summary-DfeXmN3-.js → Summary-NFgvajMx.js} +5 -5
- package/dist/{TaxInformationField-DxI2um5W.js → TaxInformationField-ef1_TQvO.js} +19 -19
- package/dist/{TaxReportingDropin-CO4edpR7.js → TaxReportingDropin-OMrPS7PX.js} +14 -14
- package/dist/{TextArea-DL3n0rXa.js → TextArea-BnlstVGI.js} +1 -1
- package/dist/{TileGroup-CUTQ8er_.js → TileGroup-DTnywnyF.js} +2 -2
- package/dist/{TrustDetailsPage-Cb-0BT8b.js → TrustDetailsPage-D7FoWYJC.js} +31 -31
- package/dist/{TrustMemberCompanyPage-CTJAWg0S.js → TrustMemberCompanyPage-BaBDjZDf.js} +4 -4
- package/dist/{TrustMemberIndividualPage-DBNfb0S1.js → TrustMemberIndividualPage-BLZwEIxg.js} +3 -3
- package/dist/{TrustMemberRoleAndTypePage-CsYvBEGT.js → TrustMemberRoleAndTypePage-BVMuoGHX.js} +20 -20
- package/dist/{TrustMembersOverview-CALmu7o3.js → TrustMembersOverview-vsUsCHml.js} +9 -9
- package/dist/{UnincorporatedPartnershipIndividualPage-CE_OeqG0.js → UnincorporatedPartnershipIndividualPage-BBmy3wse.js} +3 -3
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-CjDmlPW9.js → UnincorporatedPartnershipMemberCompanyPage-DqFOtoRR.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-Dvm1OGpZ.js → UnincorporatedPartnershipMemberRoleAndTypePage-CBF8M7cR.js} +10 -10
- package/dist/{UnincorporatedPartnershipMembersOverview-BTiVJZbT.js → UnincorporatedPartnershipMembersOverview-JwdguZNL.js} +6 -6
- package/dist/{VerificationErrorAlert-DAkp1o0d.js → VerificationErrorAlert-CpEbIDR3.js} +2 -2
- package/dist/{ViewVerificationStatusComponent-BbwWdSvT.js → ViewVerificationStatusComponent-DgOa7RsZ.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-DJX7-LsK.js → bafinUtils-Cf0EyXIO.js} +1 -1
- package/dist/{commonValidators-C8ETg50F.js → commonValidators-Cl95UfG4.js} +1 -1
- package/dist/{dropinUtils-CyBOixUs.js → dropinUtils-BY7YDLvA.js} +3 -3
- package/dist/{formUtils-BTFoT4DI.js → formUtils-os98XaB-.js} +2 -2
- package/dist/{getName-DGmqqf0i.js → getName-t_vGHMzu.js} +1 -1
- package/dist/{getProblemsForEntity-BSzPFj1N.js → getProblemsForEntity-DKjmIXBa.js} +1 -1
- package/dist/{getTrustedFields-CE5acC9P.js → getTrustedFields-BrXqOBCX.js} +1 -1
- package/dist/{isEmpty-CtjrTeQf.js → isEmpty-ze-XxTHy.js} +1 -1
- package/dist/{japanSupportUtils-Bel_UtiI.js → japanSupportUtils-DYEPbhFP.js} +1 -1
- package/dist/{localizeDateString-D95RpcHX.js → localizeDateString-BVk8Wvy3.js} +1 -1
- package/dist/{mapExistingFile-DdZj3ZNR.js → mapExistingFile-BqPAjtnr.js} +2 -2
- package/dist/{mapJpAddressSchemaToAddressLocalizations-B8No6DR_.js → mapJpAddressSchemaToAddressLocalizations-WxoGOrHr.js} +1 -1
- package/dist/{mapLegalEntityToIndividualSchema-_snV8Ls9.js → mapLegalEntityToIndividualSchema-B0s8GG9o.js} +3 -3
- package/dist/{mapTransferInstrumentToPayoutAccount-BuYUtobH.js → mapTransferInstrumentToPayoutAccount-BsiLVcTY.js} +1 -1
- package/dist/{omitObscuredFieldsIfUnchanged-Chwj7J0N.js → omitObscuredFieldsIfUnchanged-DqCASsJA.js} +2 -2
- package/dist/{patternValidators-QFgZQvEQ.js → patternValidators-Dx583C-1.js} +1 -1
- package/dist/{process-field-configurations-Bv0FBNR2.js → process-field-configurations-DIs_LC2a.js} +1 -1
- package/dist/{resolveEnvironment-QvJd3cKP.js → resolveEnvironment-CoyMk9x-.js} +3 -3
- package/dist/{roleMetadata-CMvyXmym.js → roleMetadata-NqHcHFCe.js} +2 -2
- package/dist/{types-DV8mhU_5.js → types-BRLYR2Wx.js} +1 -1
- package/dist/{types-B7LP42Vj.js → types-C4RAJtRF.js} +1 -1
- package/dist/{types-DLLCdCdm.js → types-lbafosQE.js} +1 -1
- package/dist/{unincorporated-partnership-KIun-oCI.js → unincorporated-partnership-KMmroXu1.js} +1 -1
- package/dist/{useAssociatedLegalEntity-DGdBqIWJ.js → useAssociatedLegalEntity-Dlgpas6D.js} +1 -1
- package/dist/{useBusinessDetailsData-BrOwsA1X.js → useBusinessDetailsData-CPww2HAm.js} +109 -101
- package/dist/{useCreateLegalEntity-CBaUr82n.js → useCreateLegalEntity-D3ObXaof.js} +1 -1
- package/dist/{useForm-BX1GY-0M.js → useForm-BSHD2KTa.js} +2 -2
- package/dist/{useFormContext-DVe1IcJN.js → useFormContext-DKaDgcgR.js} +6 -6
- package/dist/{useGlobalData-pbmqOcoq.js → useGlobalData-kQ8hN10Q.js} +8 -8
- package/dist/{useMultiForm-l0uNN24o.js → useMultiForm-BG8MF6DI.js} +3 -3
- package/dist/{useOnboardingStatus-BktXInqR.js → useOnboardingStatus-CZ0x4yyk.js} +1 -1
- package/dist/{useScenarios-Bsy4oXxN.js → useScenarios-Bn3EGOHA.js} +1 -1
- package/dist/{useTaskLandedEvent-CuY6hD_P.js → useTaskLandedEvent-Cee5Mvme.js} +1 -1
- package/dist/{useTermsOfServiceStatus-B7VhvyvR.js → useTermsOfServiceStatus-BscviiB7.js} +1 -1
- package/dist/{useToastContext-CZLQ-qIG.js → useToastContext-Bxju6PLZ.js} +1 -1
- package/dist/{useUnincorporatedPartnershipMembers-B231FgH7.js → useUnincorporatedPartnershipMembers-CmJaMQa-.js} +4 -4
- package/dist/{useUpdateBusinessLines-BypTKSVD.js → useUpdateBusinessLines-97t7rLep.js} +3 -3
- package/dist/{useUpdateLegalEntity-Cx6hTFYF.js → useUpdateLegalEntity-CLWcAVwj.js} +2 -2
- package/dist/{utils-Bc65-dOS.js → utils-8cw25Nur.js} +1 -1
- package/dist/{utils-Bptup5am.js → utils-BN54hZUe.js} +1 -1
- package/dist/{utils-TwGfjh3m.js → utils-C1FWQvf0.js} +2 -2
- package/dist/{utils-CXs4Ciim.js → utils-CKTSKzWR.js} +1 -1
- package/dist/{utils-DWNmwPub.js → utils-DPRgxXmU.js} +5 -5
- package/dist/{validate-3UOCFAVr.js → validate-BnCwLSUb.js} +1 -1
- package/dist/{validate-CdzJprLf.js → validate-BxU9EEi6.js} +2 -2
- package/dist/{validationError-uDS5kbR5.js → validationError-sIV2dUoW.js} +1 -1
- 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 { M as ManageTransferInstrumentComponent } from "./ManageTransferInstrumentComponent-
|
|
13
|
+
import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-CoyMk9x-.js";
|
|
14
|
+
import { M as ManageTransferInstrumentComponent } from "./ManageTransferInstrumentComponent-C716Mbf2.js";
|
|
15
15
|
import { e as emitAdyenSdkEvent } from "./emitEvent-CzZf80Am.js";
|
|
16
16
|
const AdyenManageTransferInstruments = ({
|
|
17
17
|
rootlegalentityid,
|
|
@@ -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-CoyMk9x-.js";
|
|
14
|
+
import { V as ViewVerificationStatusComponent } from "./ViewVerificationStatusComponent-DgOa7RsZ.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-hNCKWSzB.js";
|
|
11
11
|
import { signal, computed } from "@preact/signals";
|
|
12
12
|
const CompanyTypesValues = {
|
|
13
13
|
PRIVATE_COMPANY: "privateCompany",
|
|
@@ -8,11 +8,11 @@
|
|
|
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-hNCKWSzB.js";
|
|
12
|
+
import { s as summaryStep } from "./Summary-NFgvajMx.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-BFnWeBCJ.js";
|
|
16
16
|
import { f as formDebugInfo } from "./debugStore-BvbyN1Oi.js";
|
|
17
17
|
const logger$1 = createLogger();
|
|
18
18
|
const getOpeningStep = (forms, remediationActions) => {
|
|
@@ -7,8 +7,8 @@
|
|
|
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-8cw25Nur.js";
|
|
11
|
+
import { ao as entriesOf } from "./StoreProvider-hNCKWSzB.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-hNCKWSzB.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-hNCKWSzB.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-hNCKWSzB.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-hNCKWSzB.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-hNCKWSzB.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-hNCKWSzB.js";
|
|
11
11
|
const localizeDateString = (dateString, locale, options) => {
|
|
12
12
|
const logger = createLogger();
|
|
13
13
|
const formatOptions = {
|
|
@@ -8,8 +8,8 @@
|
|
|
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-Bn3EGOHA.js";
|
|
12
|
+
import { a9 as CountryCodes, ae as createLogger } from "./StoreProvider-hNCKWSzB.js";
|
|
13
13
|
import { signal } from "@preact/signals";
|
|
14
14
|
class AdyenKycSdkError extends Error {
|
|
15
15
|
sourceError;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { i as isEmpty } from "./isEmpty-
|
|
10
|
+
import { i as isEmpty } from "./isEmpty-ze-XxTHy.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");
|
|
@@ -8,12 +8,12 @@
|
|
|
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-hNCKWSzB.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-B8NADHt-.js";
|
|
16
|
+
import { T as TileGroup } from "./TileGroup-DTnywnyF.js";
|
|
17
17
|
const individualFormDefaultData = signal(null);
|
|
18
18
|
const guidanceQuestion = "adyen-kyc-guidance-question";
|
|
19
19
|
const options = "adyen-kyc-options";
|
|
@@ -8,7 +8,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-hNCKWSzB.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-Chwj7J0N.js → omitObscuredFieldsIfUnchanged-DqCASsJA.js}
RENAMED
|
@@ -7,8 +7,8 @@
|
|
|
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-hNCKWSzB.js";
|
|
11
|
+
import { i as isValueObscured } from "./MaskedInput-Cj3Be_WU.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-hNCKWSzB.js";
|
|
11
11
|
const validateNotEmptyOnBlur = {
|
|
12
12
|
modes: ["blur"],
|
|
13
13
|
validate: (val) => !isEmpty(val),
|
package/dist/{process-field-configurations-Bv0FBNR2.js → process-field-configurations-DIs_LC2a.js}
RENAMED
|
@@ -9,7 +9,7 @@
|
|
|
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-hNCKWSzB.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] = "5ec74749-cc2a-4a89-bee3-9d512b93f353", e._sentryDebugIdIdentifier = "sentry-dbid-5ec74749-cc2a-4a89-bee3-9d512b93f353");
|
|
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-hNCKWSzB.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.3" }),
|
|
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-hNCKWSzB.js";
|
|
11
|
+
import { U as UnincorporatedPartnershipMemberTypes } from "./unincorporated-partnership-KMmroXu1.js";
|
|
12
12
|
const roleMetadata = {
|
|
13
13
|
[DecisionMakerTypes.CONTROLLING_PERSON]: {
|
|
14
14
|
name: "controllingPerson",
|
|
@@ -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-hNCKWSzB.js";
|
|
11
11
|
const trustMemberLegalEntityTypes = [
|
|
12
12
|
LegalEntityTypes.INDIVIDUAL,
|
|
13
13
|
LegalEntityTypes.ORGANIZATION
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { a9 as CountryCodes } from "./StoreProvider-
|
|
10
|
+
import { a9 as CountryCodes } from "./StoreProvider-hNCKWSzB.js";
|
|
11
11
|
import { C as Currencies } from "./currency-CrdnaaDu.js";
|
|
12
12
|
const currencyByCountry = {
|
|
13
13
|
[CountryCodes.Australia]: [Currencies.AUD],
|
package/dist/{unincorporated-partnership-KIun-oCI.js → unincorporated-partnership-KMmroXu1.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-hNCKWSzB.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-hNCKWSzB.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] = "a0b994cf-7c6a-43c3-b2b2-9d1c065b7855", e._sentryDebugIdIdentifier = "sentry-dbid-a0b994cf-7c6a-43c3-b2b2-9d1c065b7855");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
@@ -10,63 +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,
|
|
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 { u as useTaskLandedEvent } from "./useTaskLandedEvent-
|
|
26
|
-
import { C as Confirm } from "./Confirm-
|
|
27
|
-
import { E as ErrorPanel } from "./ErrorPanel-
|
|
28
|
-
import { N as NewSummary } from "./NewSummary-
|
|
29
|
-
import { u as usePageLandedEvent, s as summaryStep, a as summaryStyles } from "./Summary-
|
|
30
|
-
import { a as getDocument, j as getDocuments, c as createDocumentRequest, k as mergeProofOfOwnershipAttachments, b as getFileExtention, d as documentApiUtils } from "./validate-
|
|
31
|
-
import { m as mergeFieldMetadataIntoProps, c as createFormUtils } from "./formUtils-
|
|
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-
|
|
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-
|
|
34
|
-
import { K as KEYBOARD_KEYS, M as Modal, a as ModalContent } from "./Modal-
|
|
35
|
-
import { g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET, a as getAddressSchemaLabelsByCountry, f as mapAddressLabelsNewSummary, c as getKeyForField } from "./utils-
|
|
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-97t7rLep.js";
|
|
14
|
+
import { u as useScenarios } from "./useScenarios-Bn3EGOHA.js";
|
|
15
|
+
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-D3ObXaof.js";
|
|
16
|
+
import { u as useToastContext, a as useInvalidateRootLegalEntity } from "./useToastContext-Bxju6PLZ.js";
|
|
17
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-CLWcAVwj.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, x as useAnalyticsContext, O as StackLayout, C as Alert, ao as entriesOf, 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-hNCKWSzB.js";
|
|
19
|
+
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-DKaDgcgR.js";
|
|
20
|
+
import { C as CompanyTypesValues } from "./bafinUtils-Cf0EyXIO.js";
|
|
21
|
+
import { c as composePerScenarioFormConfigurations, g as getPropsFromConfigurations } from "./process-field-configurations-DIs_LC2a.js";
|
|
22
|
+
import { a as addValidityToForms, u as useFormComposer } from "./dropinUtils-BY7YDLvA.js";
|
|
23
|
+
import { u as useMultiForm } from "./useMultiForm-BG8MF6DI.js";
|
|
24
|
+
import { u as uppercase, m as mapExistingFile, g as getPageName, b as useScenarioConfiguration } from "./mapExistingFile-BqPAjtnr.js";
|
|
25
|
+
import { u as useTaskLandedEvent } from "./useTaskLandedEvent-Cee5Mvme.js";
|
|
26
|
+
import { C as Confirm } from "./Confirm-Bfhearjt.js";
|
|
27
|
+
import { E as ErrorPanel } from "./ErrorPanel-BFnWeBCJ.js";
|
|
28
|
+
import { N as NewSummary } from "./NewSummary-DKld0bET.js";
|
|
29
|
+
import { u as usePageLandedEvent, s as summaryStep, a as summaryStyles } from "./Summary-NFgvajMx.js";
|
|
30
|
+
import { a as getDocument, j as getDocuments, c as createDocumentRequest, k as mergeProofOfOwnershipAttachments, b as getFileExtention, d as documentApiUtils } from "./validate-BxU9EEi6.js";
|
|
31
|
+
import { m as mergeFieldMetadataIntoProps, c as createFormUtils } from "./formUtils-os98XaB-.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-ef1_TQvO.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-BZcUcXNX.js";
|
|
34
|
+
import { K as KEYBOARD_KEYS, M as Modal, a as ModalContent } from "./Modal-D1Yiugk1.js";
|
|
35
|
+
import { g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET, a as getAddressSchemaLabelsByCountry, f as mapAddressLabelsNewSummary, c as getKeyForField } from "./utils-BN54hZUe.js";
|
|
36
36
|
import { r as resolveFieldMetadata } from "./fieldConfigurations-BUT9DTUH.js";
|
|
37
|
-
import { f as formatCurrency, A as ALLOWED_SOF_SERVICES } from "./utils-
|
|
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-
|
|
37
|
+
import { f as formatCurrency, A as ALLOWED_SOF_SERVICES } from "./utils-C1FWQvf0.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-CVPObm6B.js";
|
|
39
39
|
import { S as SettingNames } from "./types-Dv0COrvY.js";
|
|
40
|
-
import { o as organizationTypesToSkipCompanyStructureForm } from "./utils-
|
|
41
|
-
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-
|
|
42
|
-
import { t as toFullWidth, m as mapJpAddressSchemaToAddressLocalizations } from "./mapJpAddressSchemaToAddressLocalizations-
|
|
43
|
-
import { i as isEmpty$1 } from "./isEmpty-
|
|
40
|
+
import { o as organizationTypesToSkipCompanyStructureForm } from "./utils-DPRgxXmU.js";
|
|
41
|
+
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-sIV2dUoW.js";
|
|
42
|
+
import { t as toFullWidth, m as mapJpAddressSchemaToAddressLocalizations } from "./mapJpAddressSchemaToAddressLocalizations-WxoGOrHr.js";
|
|
43
|
+
import { i as isEmpty$1 } from "./isEmpty-ze-XxTHy.js";
|
|
44
44
|
import { f as formatObject } from "./utils-DNSfZiio.js";
|
|
45
45
|
import { b as mapAddressLocalizationToJpAddressSchema, a as mapApiScriptLocalizationToSchemaFields, m as mapSchemaFieldsToApiScriptLocalization } from "./mapAddressLocalizationToJpAddressSchema-vJWbpAyq.js";
|
|
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-
|
|
47
|
-
import { L as LandingLayout } from "./LandingLayout-
|
|
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-
|
|
49
|
-
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-BsVi8QRc.js";
|
|
47
|
+
import { L as LandingLayout } from "./LandingLayout-Co0T9hoE.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-EsmoOYWn.js";
|
|
49
|
+
import { h as useBusinessLines } from "./OnboardingDropinComponent-DsvTtn8J.js";
|
|
50
50
|
import { Suspense, lazy } from "preact/compat";
|
|
51
|
-
import { C as Checkbox } from "./Checkbox-
|
|
52
|
-
import { F as Field } from "./Field-
|
|
53
|
-
import { I as InputDate, f as formatDateObj } from "./InputDate-
|
|
54
|
-
import { a as validateNotEmptyOnBlur, v as validatePatternOnBlur, b as validateJaKanaLegalCompanyName, c as validateJaHaniLegalCompanyName } from "./patternValidators-
|
|
55
|
-
import { M as MaskedInput, m as makeMask, d as alphanumericInputs, b as alphaInputs, n as numericInputs } from "./MaskedInput-
|
|
56
|
-
import { i as isJapanLocalizationEnabled } from "./japanSupportUtils-
|
|
51
|
+
import { C as Checkbox } from "./Checkbox-CZ-K3Ygt.js";
|
|
52
|
+
import { F as Field } from "./Field-B8NADHt-.js";
|
|
53
|
+
import { I as InputDate, f as formatDateObj } from "./InputDate-BvgrweAT.js";
|
|
54
|
+
import { a as validateNotEmptyOnBlur, v as validatePatternOnBlur, b as validateJaKanaLegalCompanyName, c as validateJaHaniLegalCompanyName } from "./patternValidators-Dx583C-1.js";
|
|
55
|
+
import { M as MaskedInput, m as makeMask, d as alphanumericInputs, b as alphaInputs, n as numericInputs } from "./MaskedInput-Cj3Be_WU.js";
|
|
56
|
+
import { i as isJapanLocalizationEnabled } from "./japanSupportUtils-DYEPbhFP.js";
|
|
57
57
|
import { u as useDebouncedCallback } from "./debouncedInputEvent-Cv2S512Y.js";
|
|
58
58
|
import { signal } from "@preact/signals";
|
|
59
59
|
import cx from "classnames";
|
|
60
|
-
import { L as Link } from "./Link-
|
|
60
|
+
import { L as Link } from "./Link-QFSK0XUO.js";
|
|
61
61
|
import { S as StructuredList } from "./StructuredList-CNha20ka.js";
|
|
62
|
-
import { I as InputText } from "./InputText-
|
|
63
|
-
import { C as CountryField, a as COUNTRY_FIELD } from "./CountryField-
|
|
64
|
-
import { L as LoaderWrapper } from "./LoaderWrapper-
|
|
62
|
+
import { I as InputText } from "./InputText-D6VoNS-R.js";
|
|
63
|
+
import { C as CountryField, a as COUNTRY_FIELD } from "./CountryField-BJAayKID.js";
|
|
64
|
+
import { L as LoaderWrapper } from "./LoaderWrapper-DlhbbEYS.js";
|
|
65
65
|
import { C as Card } from "./Card-OQuFzmxm.js";
|
|
66
|
-
import { L as ListItem } from "./ListItem-
|
|
67
|
-
import { T as TileGroup } from "./TileGroup-
|
|
68
|
-
import { c as currencyByCountry } from "./types-
|
|
69
|
-
import { R as RadioGroup } from "./RadioGroup-
|
|
66
|
+
import { L as ListItem } from "./ListItem-rRlEZCTu.js";
|
|
67
|
+
import { T as TileGroup } from "./TileGroup-DTnywnyF.js";
|
|
68
|
+
import { c as currencyByCountry } from "./types-lbafosQE.js";
|
|
69
|
+
import { R as RadioGroup } from "./RadioGroup-DwACEtfi.js";
|
|
70
70
|
const DATE_OF_INCORPORATION_FIELD = [
|
|
71
71
|
"dateOfIncorporation"
|
|
72
72
|
];
|
|
@@ -407,7 +407,7 @@ function VerifiedBusinessCard({
|
|
|
407
407
|
] });
|
|
408
408
|
}
|
|
409
409
|
const LazyJpAddress = lazy(
|
|
410
|
-
async () => (await import("./JpAddress-
|
|
410
|
+
async () => (await import("./JpAddress-aZ8F40cK.js")).JpAddress
|
|
411
411
|
);
|
|
412
412
|
const ADDITIONAL_INFORMATION_FORM_ID = "additionalInformation";
|
|
413
413
|
const ADDITIONAL_INFORMATION_FIELDS = [
|
|
@@ -1744,17 +1744,71 @@ const verifyTin = async (legalEntityId, baseUrl, data) => {
|
|
|
1744
1744
|
data
|
|
1745
1745
|
);
|
|
1746
1746
|
};
|
|
1747
|
+
const startTiming = (key, timings = /* @__PURE__ */ new Map()) => {
|
|
1748
|
+
const startTime = Date.now();
|
|
1749
|
+
timings.set(key, { startTime });
|
|
1750
|
+
return startTime;
|
|
1751
|
+
};
|
|
1752
|
+
const endTiming = (key, timings) => {
|
|
1753
|
+
const timing = timings.get(key);
|
|
1754
|
+
if (!timing || timing.endTime) {
|
|
1755
|
+
return void 0;
|
|
1756
|
+
}
|
|
1757
|
+
const endTime = Date.now();
|
|
1758
|
+
const duration = endTime - timing.startTime;
|
|
1759
|
+
const updatedTiming = { ...timing, endTime, duration };
|
|
1760
|
+
timings.set(key, updatedTiming);
|
|
1761
|
+
return duration;
|
|
1762
|
+
};
|
|
1763
|
+
const withTiming = async (key, fn, analytics, timings = /* @__PURE__ */ new Map()) => {
|
|
1764
|
+
startTiming(key, timings);
|
|
1765
|
+
try {
|
|
1766
|
+
const result = await fn();
|
|
1767
|
+
const duration = endTiming(key, timings) || 0;
|
|
1768
|
+
analytics.addEvent("Performance", {
|
|
1769
|
+
actionType: "resolve",
|
|
1770
|
+
actionLevel: "page",
|
|
1771
|
+
label: key,
|
|
1772
|
+
additionalData: {
|
|
1773
|
+
duration
|
|
1774
|
+
}
|
|
1775
|
+
});
|
|
1776
|
+
return { result, duration };
|
|
1777
|
+
} catch (error) {
|
|
1778
|
+
const duration = endTiming(key, timings) || 0;
|
|
1779
|
+
analytics.addEvent("Performance", {
|
|
1780
|
+
actionType: "reject",
|
|
1781
|
+
actionLevel: "page",
|
|
1782
|
+
label: key,
|
|
1783
|
+
additionalData: {
|
|
1784
|
+
duration
|
|
1785
|
+
}
|
|
1786
|
+
});
|
|
1787
|
+
throw error;
|
|
1788
|
+
}
|
|
1789
|
+
};
|
|
1790
|
+
const trackPerformance = (key, fn, analytics) => {
|
|
1791
|
+
return withTiming(key, fn, analytics);
|
|
1792
|
+
};
|
|
1747
1793
|
const useCompanySelection = (data, options) => {
|
|
1748
1794
|
const { rootLegalEntityId, baseUrl } = useApiContext();
|
|
1749
1795
|
const { isAgnosticEndpointEnabled } = useCompanySearchFeature();
|
|
1796
|
+
const userEvents = useAnalyticsContext();
|
|
1750
1797
|
return useQuery({
|
|
1751
1798
|
queryKey: ["companySelection", data],
|
|
1752
|
-
queryFn: data ? () =>
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1799
|
+
queryFn: data ? async () => {
|
|
1800
|
+
const { result } = await trackPerformance(
|
|
1801
|
+
"companySelectionNetworkTime",
|
|
1802
|
+
() => handleCompanySelection(
|
|
1803
|
+
rootLegalEntityId.value,
|
|
1804
|
+
baseUrl.value,
|
|
1805
|
+
data,
|
|
1806
|
+
isAgnosticEndpointEnabled
|
|
1807
|
+
),
|
|
1808
|
+
userEvents
|
|
1809
|
+
);
|
|
1810
|
+
return result;
|
|
1811
|
+
} : skipToken,
|
|
1758
1812
|
retry: 0,
|
|
1759
1813
|
...options
|
|
1760
1814
|
});
|
|
@@ -2758,52 +2812,6 @@ const documentFormsIds = [
|
|
|
2758
2812
|
const stripWhitespace = (str) => str.replace(/\s/g, "");
|
|
2759
2813
|
const toNormalizedString = (s) => stripWhitespace(s.toLowerCase());
|
|
2760
2814
|
const isNormalizedStringMatch = (s1, s2) => toNormalizedString(s1) === toNormalizedString(s2);
|
|
2761
|
-
const startTiming = (key, timings = /* @__PURE__ */ new Map()) => {
|
|
2762
|
-
const startTime = Date.now();
|
|
2763
|
-
timings.set(key, { startTime });
|
|
2764
|
-
return startTime;
|
|
2765
|
-
};
|
|
2766
|
-
const endTiming = (key, timings) => {
|
|
2767
|
-
const timing = timings.get(key);
|
|
2768
|
-
if (!timing || timing.endTime) {
|
|
2769
|
-
return void 0;
|
|
2770
|
-
}
|
|
2771
|
-
const endTime = Date.now();
|
|
2772
|
-
const duration = endTime - timing.startTime;
|
|
2773
|
-
const updatedTiming = { ...timing, endTime, duration };
|
|
2774
|
-
timings.set(key, updatedTiming);
|
|
2775
|
-
return duration;
|
|
2776
|
-
};
|
|
2777
|
-
const withTiming = async (key, fn, analytics, timings = /* @__PURE__ */ new Map()) => {
|
|
2778
|
-
startTiming(key, timings);
|
|
2779
|
-
try {
|
|
2780
|
-
const result = await fn();
|
|
2781
|
-
const duration = endTiming(key, timings) || 0;
|
|
2782
|
-
analytics.addEvent("Performance", {
|
|
2783
|
-
actionType: "resolve",
|
|
2784
|
-
actionLevel: "page",
|
|
2785
|
-
label: key,
|
|
2786
|
-
additionalData: {
|
|
2787
|
-
duration
|
|
2788
|
-
}
|
|
2789
|
-
});
|
|
2790
|
-
return { result, duration };
|
|
2791
|
-
} catch (error) {
|
|
2792
|
-
const duration = endTiming(key, timings) || 0;
|
|
2793
|
-
analytics.addEvent("Performance", {
|
|
2794
|
-
actionType: "reject",
|
|
2795
|
-
actionLevel: "page",
|
|
2796
|
-
label: key,
|
|
2797
|
-
additionalData: {
|
|
2798
|
-
duration
|
|
2799
|
-
}
|
|
2800
|
-
});
|
|
2801
|
-
throw error;
|
|
2802
|
-
}
|
|
2803
|
-
};
|
|
2804
|
-
const trackPerformance = (key, fn, analytics) => {
|
|
2805
|
-
return withTiming(key, fn, analytics);
|
|
2806
|
-
};
|
|
2807
2815
|
const documentTypes$2 = [
|
|
2808
2816
|
{ id: "Internal company document", name: "internalCompanyDocument" },
|
|
2809
2817
|
{ id: "Business registry statement", name: "businessRegistryStatement" }
|
|
@@ -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-hNCKWSzB.js";
|
|
12
12
|
const createLegalEntity = async (legalEntityId, baseUrl, data) => {
|
|
13
13
|
return httpPost(
|
|
14
14
|
{
|
|
@@ -8,8 +8,8 @@
|
|
|
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-hNCKWSzB.js";
|
|
12
|
+
import { V as ValidationResult, o as omitKeys, a as addKeys } from "./utils-8cw25Nur.js";
|
|
13
13
|
const logger = createLogger();
|
|
14
14
|
const useAsyncValidator = (asyncRules) => {
|
|
15
15
|
const [asyncValidationResults, setAsyncValidationResults] = useState({});
|