@adyen/kyc-components 4.6.1 → 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-B3l9btP-.js → AcceptTermsOfServiceComponent-XaeVhsGD.js} +17 -15
- package/dist/{AccountSetupRejected-DbdJB-OJ.js → AccountSetupRejected-CCTKPh4T.js} +1 -1
- package/dist/{ActionBar-BUo_zptQ.js → ActionBar-DIFvfiMP.js} +1 -1
- package/dist/{Address-B1q0i8VT.js → Address-CVPObm6B.js} +10 -10
- package/dist/{Avatar-V--81dug.js → Avatar-Cf37hJy8.js} +1 -1
- package/dist/{BusinessFinancingComponent-yACwTlmi.js → BusinessFinancingComponent-MO_80E8a.js} +4 -4
- package/dist/{BusinessFinancingDropin-DwMpqWbh.js → BusinessFinancingDropin-C6g7xB95.js} +30 -28
- package/dist/{BusinessFinancingPage-Bgh0dGq3.js → BusinessFinancingPage-B5Nk3rx2.js} +3 -3
- package/dist/{BusinessTypeSelectionPage-RRp8YkIk.js → BusinessTypeSelectionPage-q-ohll63.js} +11 -9
- package/dist/{Checkbox-CBsyuXip.js → Checkbox-CZ-K3Ygt.js} +1 -1
- package/dist/{Confirm-BLjnKmbU.js → Confirm-Bfhearjt.js} +2 -2
- package/dist/{ConstitutionalDocument-aYMC7Qld.js → ConstitutionalDocument-BZcUcXNX.js} +18 -18
- package/dist/{ContactDetails-BBTAGuyq.js → ContactDetails-CLSUzFP_.js} +6 -6
- package/dist/{ContextGuidance-BJIBM5W-.js → ContextGuidance-BopbaLr-.js} +1 -1
- package/dist/{CountryField-o99j4P7E.js → CountryField-BJAayKID.js} +3 -3
- package/dist/{CreateIndividualComponent-CmhrM9Gy.js → CreateIndividualComponent-D2-0xOiU.js} +4 -4
- package/dist/{CreateTransferInstrumentComponent-CHaq9Cug.js → CreateTransferInstrumentComponent-CKnK4wTB.js} +3 -3
- package/dist/{Currency-hrruvtK7.js → Currency-BsVi8QRc.js} +7 -7
- package/dist/{CustomerSupport-D9V9znlz.js → CustomerSupport-CJTSCIsJ.js} +12 -10
- package/dist/{DebugModal-C3ODQ7HG.js → DebugModal-B44T9eDP.js} +6 -6
- package/dist/{DecisionMakerDetails-BUm0ukYp.js → DecisionMakerDetails-DJmL0mgp.js} +9 -9
- package/dist/{DecisionMakerDetailsPage-DiYr15fi.js → DecisionMakerDetailsPage-BBa--1Xr.js} +7 -7
- package/dist/{DecisionMakers-BCk4n5BI.js → DecisionMakers-B9o4bDnw.js} +20 -18
- package/dist/{Dropzone-Dled5Xv_.js → Dropzone-CHADYCWU.js} +4 -4
- package/dist/{EmbeddedStatus-a9eBGaNp.js → EmbeddedStatus-CUGRqHWU.js} +2 -2
- package/dist/{EndStateLayout-Doxwm8Bv.js → EndStateLayout-CWFjt8_u.js} +1 -1
- package/dist/{EntityAssociation-BdpQ9IKO.js → EntityAssociation-COqNeSzy.js} +5 -5
- package/dist/{EntityGuidanceStatus-CqfeJN28.js → EntityGuidanceStatus-BOjmARXU.js} +4 -4
- package/dist/{ErrorPanel-B_t2Mr0a.js → ErrorPanel-BFnWeBCJ.js} +1 -1
- package/dist/{Field-DhGlekN4.js → Field-B8NADHt-.js} +1 -1
- package/dist/{FormNavigation-zwvQFKf1.js → FormNavigation-CZGO4M_r.js} +3 -3
- package/dist/{Individual.rules-DnqpK01d.js → Individual.rules-CcCj7FCg.js} +6 -6
- package/dist/{IndividualDropin-CaQg4nGw.js → IndividualDropin-D4VcAQnB.js} +52 -50
- package/dist/{InputDate-MfbWpC8K.js → InputDate-BvgrweAT.js} +2 -2
- package/dist/{InputText-BsC-S1uD.js → InputText-D6VoNS-R.js} +2 -2
- package/dist/{Introduction-XVVXz1r8.js → Introduction-DCEmOIU3.js} +6 -4
- package/dist/{InvitedDecisionMakerComponent-CHrA8mQR.js → InvitedDecisionMakerComponent-D-Mxf7Sa.js} +10 -10
- package/dist/{JpAddress-BDGwDEOX.js → JpAddress-aZ8F40cK.js} +9 -9
- package/dist/{LandingLayout-DJR_oP_0.js → LandingLayout-Co0T9hoE.js} +1 -1
- package/dist/{LegalCompanyNameField-CzsW7440.js → LegalCompanyNameField-EsmoOYWn.js} +6 -6
- package/dist/{LegalRepresentativeDetailsPage-umA-1VaQ.js → LegalRepresentativeDetailsPage-ChOjFSdk.js} +3 -3
- package/dist/{Link-CuEU7lsc.js → Link-QFSK0XUO.js} +1 -1
- package/dist/{ListItem-De_7UUwH.js → ListItem-rRlEZCTu.js} +2 -2
- package/dist/{LoaderWrapper-BUn-b8AB.js → LoaderWrapper-DlhbbEYS.js} +1 -1
- package/dist/{ManageIndividualComponent-BK6fjFPh.js → ManageIndividualComponent-DQ9mC9zr.js} +4 -4
- package/dist/{ManageTermsOfServiceComponent-ChalvP2J.js → ManageTermsOfServiceComponent-B4WTTK1V.js} +3 -3
- package/dist/{ManageTransferInstrumentComponent-C4oiwftt.js → ManageTransferInstrumentComponent-C716Mbf2.js} +9 -9
- package/dist/{MaskedInput-BWp2Akul.js → MaskedInput-Cj3Be_WU.js} +5 -5
- package/dist/{MaybeModal-C7EW70Xg.js → MaybeModal-nSPl0yfm.js} +2 -2
- package/dist/{Modal-D_LDmrcf.js → Modal-D1Yiugk1.js} +1 -1
- package/dist/{Name-D8B6J9x4.js → Name-Pp6IOBxl.js} +5 -5
- package/dist/{NewSummary-BjYCAFDe.js → NewSummary-DKld0bET.js} +2 -2
- package/dist/{OnboardingDropinComponent-CFcJQhCb.js → OnboardingDropinComponent-DsvTtn8J.js} +74 -87
- package/dist/{PayoutDetailsDropin-Beeag1MS.js → PayoutDetailsDropin-DANG1pDw.js} +35 -33
- package/dist/{PayoutDetailsPage-Q6XPaC0y.js → PayoutDetailsPage-DCmlsSbE.js} +4 -4
- package/dist/{RadioGroup-DvrpVP2i.js → RadioGroup-DwACEtfi.js} +2 -2
- package/dist/{Review-D8hiQo3n.js → Review-Dsp3Zk67.js} +6 -6
- package/dist/{RootBusinessDetailsPage-OjbFMdJ2.js → RootBusinessDetailsPage-mquvEyt7.js} +5 -5
- package/dist/{RootBusinessLinesPage-CIECoCW3.js → RootBusinessLinesPage-DCSgZuZD.js} +27 -25
- package/dist/{RootIndividualDetailsPage-kvCZ8gLE.js → RootIndividualDetailsPage-BALuMNT2.js} +5 -5
- package/dist/{Select-t-h8dau1.js → Select-Bp6g62Kp.js} +4 -4
- package/dist/{SignPCIComponent-BTd1hGFj.js → SignPCIComponent-CfWNRHUh.js} +13 -11
- package/dist/{SingpassSelection-BUVrRdZ4.js → SingpassSelection-Cpouo3cB.js} +5 -5
- package/dist/{SoleProprietorshipPage-BoUgRvvr.js → SoleProprietorshipPage-KtyWIVNn.js} +4 -4
- package/dist/{SourceOfFundsPage-DNth1tGN.js → SourceOfFundsPage-B1lV40GU.js} +34 -32
- package/dist/{StepProgressIndicator-CHQ02q0R.js → StepProgressIndicator-U5DG_o4X.js} +1 -1
- package/dist/{StoreProvider-Do1odp3Z.js → StoreProvider-hNCKWSzB.js} +4 -4
- package/dist/{Summary-s4DquGfj.js → Summary-NFgvajMx.js} +6 -6
- package/dist/{TaxInformationField-DS9fsrYp.js → TaxInformationField-ef1_TQvO.js} +20 -20
- package/dist/{TaxReportingDropin-CsCwca9A.js → TaxReportingDropin-OMrPS7PX.js} +16 -14
- package/dist/{TextArea-DI9q4r1R.js → TextArea-BnlstVGI.js} +2 -2
- package/dist/{TileGroup-CAyozQI4.js → TileGroup-DTnywnyF.js} +2 -2
- package/dist/{TrustDetailsPage-Dp7MPmlU.js → TrustDetailsPage-D7FoWYJC.js} +34 -31
- package/dist/{TrustMemberCompanyPage-D-6ls2Oq.js → TrustMemberCompanyPage-BaBDjZDf.js} +5 -5
- package/dist/{TrustMemberIndividualPage-MrBsjChK.js → TrustMemberIndividualPage-BLZwEIxg.js} +4 -4
- package/dist/{TrustMemberRoleAndTypePage-D901ZC2E.js → TrustMemberRoleAndTypePage-BVMuoGHX.js} +21 -21
- package/dist/{TrustMembersOverview-D-39F-pm.js → TrustMembersOverview-vsUsCHml.js} +10 -10
- package/dist/{UnincorporatedPartnershipIndividualPage-CYyfQrYN.js → UnincorporatedPartnershipIndividualPage-BBmy3wse.js} +3 -3
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-DO5iP4Dt.js → UnincorporatedPartnershipMemberCompanyPage-DqFOtoRR.js} +5 -5
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-CBQerXfu.js → UnincorporatedPartnershipMemberRoleAndTypePage-CBF8M7cR.js} +11 -11
- package/dist/{UnincorporatedPartnershipMembersOverview-e_5NAEac.js → UnincorporatedPartnershipMembersOverview-JwdguZNL.js} +7 -7
- package/dist/{VerificationErrorAlert-Bnnuucqh.js → VerificationErrorAlert-CpEbIDR3.js} +2 -2
- package/dist/{ViewVerificationStatusComponent-CVVTKfrQ.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-DNleI80l.js → bafinUtils-Cf0EyXIO.js} +1 -1
- package/dist/{commonValidators-B93jw3zT.js → commonValidators-Cl95UfG4.js} +1 -1
- package/dist/{dropinUtils-iBTioaF7.js → dropinUtils-BY7YDLvA.js} +4 -4
- package/dist/{formUtils-lkF9e5IB.js → formUtils-os98XaB-.js} +3 -3
- package/dist/{getName-f5vInm5O.js → getName-t_vGHMzu.js} +1 -1
- package/dist/{getProblemsForEntity-D8b_EJeC.js → getProblemsForEntity-DKjmIXBa.js} +1 -1
- package/dist/{getTrustedFields-D2WVcNYC.js → getTrustedFields-BrXqOBCX.js} +1 -1
- package/dist/{isEmpty-u6uLWpz1.js → isEmpty-ze-XxTHy.js} +1 -1
- package/dist/{japanSupportUtils-By6GI65W.js → japanSupportUtils-DYEPbhFP.js} +1 -1
- package/dist/{localizeDateString-CYVOqiuH.js → localizeDateString-BVk8Wvy3.js} +1 -1
- package/dist/{mapExistingFile-9oZpCz9G.js → mapExistingFile-BqPAjtnr.js} +3 -3
- package/dist/{mapJpAddressSchemaToAddressLocalizations-DhgNqKwy.js → mapJpAddressSchemaToAddressLocalizations-WxoGOrHr.js} +2 -2
- package/dist/{mapLegalEntityToIndividualSchema-BY73qAGj.js → mapLegalEntityToIndividualSchema-B0s8GG9o.js} +4 -4
- package/dist/{mapTransferInstrumentToPayoutAccount-BYhssQ5b.js → mapTransferInstrumentToPayoutAccount-BsiLVcTY.js} +2 -2
- package/dist/{omitObscuredFieldsIfUnchanged-BukQYYUl.js → omitObscuredFieldsIfUnchanged-DqCASsJA.js} +3 -3
- package/dist/{patternValidators-BAI5QGjT.js → patternValidators-Dx583C-1.js} +1 -1
- package/dist/{process-field-configurations-BsVn1sDe.js → process-field-configurations-DIs_LC2a.js} +2 -2
- package/dist/{resolveEnvironment-qgplleRV.js → resolveEnvironment-CoyMk9x-.js} +3 -3
- package/dist/{roleMetadata-BqDkoUz9.js → roleMetadata-NqHcHFCe.js} +2 -2
- package/dist/{types-tdqAwKL7.js → types-BRLYR2Wx.js} +1 -1
- package/dist/{types-DKR2ZuTD.js → types-C4RAJtRF.js} +1 -1
- package/dist/{types-CfnPVq7b.js → types-lbafosQE.js} +2 -2
- package/dist/{unincorporated-partnership-DiT1SZMx.js → unincorporated-partnership-KMmroXu1.js} +1 -1
- package/dist/{useAssociatedLegalEntity-Bwe18_3D.js → useAssociatedLegalEntity-Dlgpas6D.js} +1 -1
- package/dist/{useBusinessDetailsData-S4H6u7aV.js → useBusinessDetailsData-CPww2HAm.js} +110 -100
- package/dist/{useCreateLegalEntity-DugB4CeD.js → useCreateLegalEntity-D3ObXaof.js} +1 -1
- package/dist/{useForm-Chyn6I7t.js → useForm-BSHD2KTa.js} +3 -3
- package/dist/{useFormContext-D0VUus9N.js → useFormContext-DKaDgcgR.js} +7 -7
- package/dist/{useGlobalData-BOpkYARg.js → useGlobalData-kQ8hN10Q.js} +9 -9
- package/dist/{useMultiForm-AyBSOBoC.js → useMultiForm-BG8MF6DI.js} +4 -4
- package/dist/{useOnboardingStatus-DHIZ68CF.js → useOnboardingStatus-CZ0x4yyk.js} +1 -1
- package/dist/{useScenarios-C--d6gPw.js → useScenarios-Bn3EGOHA.js} +1 -1
- package/dist/useTaskLandedEvent-Cee5Mvme.js +25 -0
- package/dist/{useTermsOfServiceStatus-OVxuF0N1.js → useTermsOfServiceStatus-BscviiB7.js} +1 -1
- package/dist/{useToastContext-DHFV4LJC.js → useToastContext-Bxju6PLZ.js} +1 -1
- package/dist/{useUnincorporatedPartnershipMembers-B9S2O4tQ.js → useUnincorporatedPartnershipMembers-CmJaMQa-.js} +4 -4
- package/dist/{useUpdateBusinessLines-D-2SFDbh.js → useUpdateBusinessLines-97t7rLep.js} +4 -4
- package/dist/{useUpdateLegalEntity-CFRYUBdP.js → useUpdateLegalEntity-CLWcAVwj.js} +2 -2
- package/dist/{utils-HEJUczlg.js → utils-8cw25Nur.js} +1 -1
- package/dist/{utils-CmyEO2z6.js → utils-BN54hZUe.js} +2 -2
- package/dist/{utils-CG9hxJ09.js → utils-C1FWQvf0.js} +3 -3
- package/dist/{utils-DzZSy2n_.js → utils-CKTSKzWR.js} +1 -1
- package/dist/{utils-BlKniCje.js → utils-DPRgxXmU.js} +6 -6
- package/dist/{validate-DkaJWAVo.js → validate-BnCwLSUb.js} +1 -1
- package/dist/{validate-DKsP8XGZ.js → validate-BxU9EEi6.js} +3 -3
- package/dist/{validationError-yKQW3P6f.js → validationError-sIV2dUoW.js} +2 -2
- package/package.json +1 -1
package/dist/{AcceptTermsOfServiceComponent-B3l9btP-.js → AcceptTermsOfServiceComponent-XaeVhsGD.js}
RENAMED
|
@@ -2,30 +2,31 @@
|
|
|
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] = "34b8e6bc-6671-4b49-81a1-b6b32dad2644", e._sentryDebugIdIdentifier = "sentry-dbid-34b8e6bc-6671-4b49-81a1-b6b32dad2644");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, j as httpPost, k as httpGet, ae as createLogger, u as useTranslation, x as useAnalyticsContext, H as useToggleContext, aw as getLanguageCode, C as Alert, V as Button, L as LegalEntityTypes, a2 as getOwnSignatories, a0 as doesLegalEntityRequiresLegalRepresentative, a1 as getLegalRepresentative, a as addResourceBundles, P as useLegalEntity, U as Loader, w as TaskTypes, R as ROOT_LE, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { b as useApiContext, j as httpPost, k as httpGet, ae as createLogger, u as useTranslation, x as useAnalyticsContext, H as useToggleContext, aw as getLanguageCode, C as Alert, V as Button, L as LegalEntityTypes, a2 as getOwnSignatories, a0 as doesLegalEntityRequiresLegalRepresentative, a1 as getLegalRepresentative, a as addResourceBundles, P as useLegalEntity, U as Loader, w as TaskTypes, R as ROOT_LE, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-hNCKWSzB.js";
|
|
11
11
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
12
12
|
import { useState, useEffect, useMemo, useCallback } from "preact/hooks";
|
|
13
13
|
import { useMutation, useQuery, skipToken } from "@tanstack/preact-query";
|
|
14
|
-
import { a as useInvalidateRootLegalEntity, u as useToastContext } from "./useToastContext-
|
|
15
|
-
import { u as useTermsOfServiceStatus, a as useTermsOfServiceAcceptanceInfos } from "./useTermsOfServiceStatus-
|
|
14
|
+
import { a as useInvalidateRootLegalEntity, u as useToastContext } from "./useToastContext-Bxju6PLZ.js";
|
|
15
|
+
import { u as useTermsOfServiceStatus, a as useTermsOfServiceAcceptanceInfos } from "./useTermsOfServiceStatus-BscviiB7.js";
|
|
16
16
|
import { C as Card } from "./Card-OQuFzmxm.js";
|
|
17
|
-
import { C as Checkbox } from "./Checkbox-
|
|
18
|
-
import { F as Field } from "./Field-
|
|
19
|
-
import { L as LoaderWrapper } from "./LoaderWrapper-
|
|
20
|
-
import { M as MaybeModal } from "./MaybeModal-
|
|
17
|
+
import { C as Checkbox } from "./Checkbox-CZ-K3Ygt.js";
|
|
18
|
+
import { F as Field } from "./Field-B8NADHt-.js";
|
|
19
|
+
import { L as LoaderWrapper } from "./LoaderWrapper-DlhbbEYS.js";
|
|
20
|
+
import { M as MaybeModal } from "./MaybeModal-nSPl0yfm.js";
|
|
21
21
|
import { P as ProgressBar } from "./ProgressBar-B7gTQncy.js";
|
|
22
|
-
import { S as Select } from "./Select-
|
|
23
|
-
import { u as useForm } from "./useForm-
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
22
|
+
import { S as Select } from "./Select-Bp6g62Kp.js";
|
|
23
|
+
import { u as useForm } from "./useForm-BSHD2KTa.js";
|
|
24
|
+
import { u as useTaskLandedEvent } from "./useTaskLandedEvent-Cee5Mvme.js";
|
|
25
|
+
import { E as EndStateLayout } from "./EndStateLayout-CWFjt8_u.js";
|
|
26
|
+
import { F as FormNavigation } from "./FormNavigation-CZGO4M_r.js";
|
|
26
27
|
import { d as downloadFile } from "./file-CiG1D0zy.js";
|
|
27
|
-
import { g as getLegalEntityNameBasedOnType } from "./getName-
|
|
28
|
-
import { l as localizeDateString } from "./localizeDateString-
|
|
28
|
+
import { g as getLegalEntityNameBasedOnType } from "./getName-t_vGHMzu.js";
|
|
29
|
+
import { l as localizeDateString } from "./localizeDateString-BVk8Wvy3.js";
|
|
29
30
|
import { C as ContractViewer } from "./ContractViewer-DcQHIGMU.js";
|
|
30
31
|
const acceptTermsOfService = async (legalEntityId, baseUrl, termsOfServiceDocumentId, data) => {
|
|
31
32
|
return httpPost(
|
|
@@ -317,6 +318,7 @@ function ServiceAgreementDropin({
|
|
|
317
318
|
if (!serviceAgreementAcceptanceInfos.length) return;
|
|
318
319
|
gotoForm(serviceAgreementAcceptanceInfos.length - 1);
|
|
319
320
|
}, [serviceAgreementAcceptanceInfos]);
|
|
321
|
+
useTaskLandedEvent("SERVICE_AGREEMENT");
|
|
320
322
|
useEffect(() => {
|
|
321
323
|
const initialFormIndex = forms.length === signedForms.length ? 0 : signedForms.length;
|
|
322
324
|
gotoForm(initialFormIndex);
|
|
@@ -581,7 +583,7 @@ function AcceptTermsOfServiceComponent({
|
|
|
581
583
|
}
|
|
582
584
|
const { i18n } = useTranslation();
|
|
583
585
|
addResourceBundles(i18n, [
|
|
584
|
-
{ ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-C6dSR1jk.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-B6atm9_Q.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-Cv6XUSoW.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-BplDsJEb.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-dRK7xHn2.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-CfIM2SRF.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-
|
|
586
|
+
{ ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-C6dSR1jk.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-B6atm9_Q.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-Cv6XUSoW.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-BplDsJEb.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-dRK7xHn2.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-CfIM2SRF.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-hNCKWSzB.js").then((n) => n.bR), "../../../language/locales/es-ES.json": () => import("./es-ES-DRsix_Xn.js"), "../../../language/locales/et-EE.json": () => import("./et-EE-BXiYapXy.js"), "../../../language/locales/fi-FI.json": () => import("./fi-FI-BftTiz0c.js"), "../../../language/locales/fr-FR.json": () => import("./fr-FR-C6jxjXAI.js"), "../../../language/locales/hr-HR.json": () => import("./hr-HR-B_TEU3r4.js"), "../../../language/locales/hu-HU.json": () => import("./hu-HU-CX83V9tu.js"), "../../../language/locales/it-IT.json": () => import("./it-IT-CXlaZNIj.js"), "../../../language/locales/ja-JP.json": () => import("./ja-JP-A6ArIIZ8.js"), "../../../language/locales/lt-LT.json": () => import("./lt-LT-ww192lYg.js"), "../../../language/locales/lv-LV.json": () => import("./lv-LV-CpHy-ZoF.js"), "../../../language/locales/nl-NL.json": () => import("./nl-NL-BwWFlBOs.js"), "../../../language/locales/no-NO.json": () => import("./no-NO-JWsSd7iY.js"), "../../../language/locales/pl-PL.json": () => import("./pl-PL-CLmmSNgn.js"), "../../../language/locales/pt-BR.json": () => import("./pt-BR-BJOww8U1.js"), "../../../language/locales/pt-PT.json": () => import("./pt-PT-CL9VzmZE.js"), "../../../language/locales/ro-RO.json": () => import("./ro-RO-Cu1T3z6k.js"), "../../../language/locales/sk-SK.json": () => import("./sk-SK-CEjJ-qZG.js"), "../../../language/locales/sl-SI.json": () => import("./sl-SI-BfO3xEJx.js"), "../../../language/locales/sv-SE.json": () => import("./sv-SE-CMLKzwtj.js") }), `../../../language/locales/${lang}.json`, 6) },
|
|
585
587
|
{ ns: "contract", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../Contract/language/bg-BG.json": () => import("./bg-BG-DbFzLQK7.js"), "../../Contract/language/cs-CZ.json": () => import("./cs-CZ-CBuNZ7UO.js"), "../../Contract/language/da-DK.json": () => import("./da-DK-CLdNh9JT.js"), "../../Contract/language/de-DE.json": () => import("./de-DE-BT5g7ZXC.js"), "../../Contract/language/el-GR.json": () => import("./el-GR-BvRBuezU.js"), "../../Contract/language/en-US.json": () => import("./en-US-CgakND3H.js"), "../../Contract/language/es-ES.json": () => import("./es-ES-4FS7NoE7.js"), "../../Contract/language/et-EE.json": () => import("./et-EE-CksV5_e1.js"), "../../Contract/language/fi-FI.json": () => import("./fi-FI-XpnJRPgt.js"), "../../Contract/language/fr-FR.json": () => import("./fr-FR-TqAhPvzz.js"), "../../Contract/language/hr-HR.json": () => import("./hr-HR-CKZ_yuXC.js"), "../../Contract/language/hu-HU.json": () => import("./hu-HU-BEV8uVRt.js"), "../../Contract/language/it-IT.json": () => import("./it-IT-D-jYXj6V.js"), "../../Contract/language/ja-JP.json": () => import("./ja-JP-8yMqZqF2.js"), "../../Contract/language/lt-LT.json": () => import("./lt-LT-CK0t2AVY.js"), "../../Contract/language/lv-LV.json": () => import("./lv-LV-JvlzK9X-.js"), "../../Contract/language/nl-NL.json": () => import("./nl-NL-Jhr-ICkK.js"), "../../Contract/language/no-NO.json": () => import("./no-NO-BH6DId3q.js"), "../../Contract/language/pl-PL.json": () => import("./pl-PL-B5c0NNHB.js"), "../../Contract/language/pt-BR.json": () => import("./pt-BR-4Iozxvfr.js"), "../../Contract/language/pt-PT.json": () => import("./pt-PT-09L8XznW.js"), "../../Contract/language/ro-RO.json": () => import("./ro-RO-D7-7tmTR.js"), "../../Contract/language/sk-SK.json": () => import("./sk-SK-D3tsz1Pg.js"), "../../Contract/language/sl-SI.json": () => import("./sl-SI-Y9h1ht45.js"), "../../Contract/language/sv-SE.json": () => import("./sv-SE-DFSm22oQ.js") }), `../../Contract/language/${lang}.json`, 5) },
|
|
586
588
|
{ ns: "ui", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../ui/language/bg-BG.json": () => import("./bg-BG-zZhDshGi.js"), "../../ui/language/cs-CZ.json": () => import("./cs-CZ-Ck22NTT9.js"), "../../ui/language/da-DK.json": () => import("./da-DK-DQ4ZYSea.js"), "../../ui/language/de-DE.json": () => import("./de-DE-CkbOZ6S_.js"), "../../ui/language/el-GR.json": () => import("./el-GR-DudORw4U.js"), "../../ui/language/en-US.json": () => import("./en-US-B-qSAb-7.js"), "../../ui/language/es-ES.json": () => import("./es-ES-BAolMrZ0.js"), "../../ui/language/et-EE.json": () => import("./et-EE-BOIrYrz9.js"), "../../ui/language/fi-FI.json": () => import("./fi-FI-D8WrLxxq.js"), "../../ui/language/fr-FR.json": () => import("./fr-FR-Beljeilc.js"), "../../ui/language/hr-HR.json": () => import("./hr-HR-lIHN6Yl2.js"), "../../ui/language/hu-HU.json": () => import("./hu-HU-CWdwNCev.js"), "../../ui/language/it-IT.json": () => import("./it-IT-5a7NHVFo.js"), "../../ui/language/ja-JP.json": () => import("./ja-JP-DSvZhFNY.js"), "../../ui/language/lt-LT.json": () => import("./lt-LT-CgalYpUh.js"), "../../ui/language/lv-LV.json": () => import("./lv-LV-aAd9SEqx.js"), "../../ui/language/nl-NL.json": () => import("./nl-NL-CmURERx_.js"), "../../ui/language/no-NO.json": () => import("./no-NO-qyqWODMp.js"), "../../ui/language/pl-PL.json": () => import("./pl-PL-q9azN24o.js"), "../../ui/language/pt-BR.json": () => import("./pt-BR-BxoOF8jB.js"), "../../ui/language/pt-PT.json": () => import("./pt-PT-pIChDwiI.js"), "../../ui/language/ro-RO.json": () => import("./ro-RO-DRsaNX9j.js"), "../../ui/language/sk-SK.json": () => import("./sk-SK-7-enbO1N.js"), "../../ui/language/sl-SI.json": () => import("./sl-SI-DTvJT7fC.js"), "../../ui/language/sv-SE.json": () => import("./sv-SE-N-Hqwcjq.js") }), `../../ui/language/${lang}.json`, 5) }
|
|
587
589
|
]);
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { u as useTranslation, bB as AlertIcon, aB as Header, bC as DropinLayout } from "./StoreProvider-
|
|
11
|
+
import { u as useTranslation, bB as AlertIcon, aB as Header, bC as DropinLayout } from "./StoreProvider-hNCKWSzB.js";
|
|
12
12
|
function AccountSetupRejected() {
|
|
13
13
|
const { t } = useTranslation("common");
|
|
14
14
|
const content = /* @__PURE__ */ jsxs("div", { children: [
|
|
@@ -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] = "a29865f9-d369-4089-8414-5a38553fe4bf", e._sentryDebugIdIdentifier = "sentry-dbid-a29865f9-d369-4089-8414-5a38553fe4bf");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
@@ -10,16 +10,16 @@
|
|
|
10
10
|
import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { useCallback, useState, useMemo, useEffect } from "preact/hooks";
|
|
12
12
|
import { useQuery } from "@tanstack/preact-query";
|
|
13
|
-
import { b as useApiContext, j as httpPost, k as httpGet, u as useTranslation, z as Icon, x as useAnalyticsContext, ab as translateTranslatable, a9 as CountryCodes, ap as useDataset, aq as datasetIdentifier, bc as getFormattingRegEx, bd as SPECIAL_CHARS, be as trimValWithOneSpace, ae as createLogger, aK as hasText, aC as matchesRegex, aG as isInvalidName, aF as hasRepeatedCharacters, bf as isValidMinLength, bg as chomeAndBanchiValidator, aD as NO_ALPHABET_REGEX, aE as EMOJI_REGEX, bh as ADDRESS_VALID_CHAR_REGEX, bi as NO_ALPHABET_UNICODE_REGEX, H as useToggleContext, ao as entriesOf, bj as getMaxLengthByFieldAndCountry } from "./StoreProvider-
|
|
14
|
-
import { u as useForm } from "./useForm-
|
|
15
|
-
import { c as createFormUtils } from "./formUtils-
|
|
16
|
-
import { F as Field } from "./Field-
|
|
17
|
-
import { I as InputText } from "./InputText-
|
|
18
|
-
import { S as Select } from "./Select-
|
|
13
|
+
import { b as useApiContext, j as httpPost, k as httpGet, u as useTranslation, z as Icon, x as useAnalyticsContext, ab as translateTranslatable, a9 as CountryCodes, ap as useDataset, aq as datasetIdentifier, bc as getFormattingRegEx, bd as SPECIAL_CHARS, be as trimValWithOneSpace, ae as createLogger, aK as hasText, aC as matchesRegex, aG as isInvalidName, aF as hasRepeatedCharacters, bf as isValidMinLength, bg as chomeAndBanchiValidator, aD as NO_ALPHABET_REGEX, aE as EMOJI_REGEX, bh as ADDRESS_VALID_CHAR_REGEX, bi as NO_ALPHABET_UNICODE_REGEX, H as useToggleContext, ao as entriesOf, bj as getMaxLengthByFieldAndCountry } from "./StoreProvider-hNCKWSzB.js";
|
|
14
|
+
import { u as useForm } from "./useForm-BSHD2KTa.js";
|
|
15
|
+
import { c as createFormUtils } from "./formUtils-os98XaB-.js";
|
|
16
|
+
import { F as Field } from "./Field-B8NADHt-.js";
|
|
17
|
+
import { I as InputText } from "./InputText-D6VoNS-R.js";
|
|
18
|
+
import { S as Select } from "./Select-Bp6g62Kp.js";
|
|
19
19
|
import { u as useDebouncedCallback } from "./debouncedInputEvent-Cv2S512Y.js";
|
|
20
|
-
import { C as CountryField } from "./CountryField-
|
|
21
|
-
import { C as COUNTRIES_WITH_STATES_DATASET, c as getKeyForField, d as COUNTRIES_WITH_HOUSE_NUMBER_FIRST, g as getAddressSchemaForCountry, e as CONDENSED_ADDRESS_FIELDS } from "./utils-
|
|
22
|
-
import { a as validateNotEmptyOnBlur } from "./patternValidators-
|
|
20
|
+
import { C as CountryField } from "./CountryField-BJAayKID.js";
|
|
21
|
+
import { C as COUNTRIES_WITH_STATES_DATASET, c as getKeyForField, d as COUNTRIES_WITH_HOUSE_NUMBER_FIRST, g as getAddressSchemaForCountry, e as CONDENSED_ADDRESS_FIELDS } from "./utils-BN54hZUe.js";
|
|
22
|
+
import { a as validateNotEmptyOnBlur } from "./patternValidators-Dx583C-1.js";
|
|
23
23
|
const getNestedTrustedFields = (field, data, trustedFields) => {
|
|
24
24
|
if (trustedFields && data?.[field] && typeof data[field] === "object") {
|
|
25
25
|
return trustedFields.reduce(
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import { z as Icon } from "./StoreProvider-
|
|
12
|
+
import { z as Icon } from "./StoreProvider-hNCKWSzB.js";
|
|
13
13
|
const avatar = "adyen-kyc-avatar";
|
|
14
14
|
const avatarLabel = "adyen-kyc-avatar-label";
|
|
15
15
|
const avatarPrimary = "adyen-kyc-avatar-primary";
|
package/dist/{BusinessFinancingComponent-yACwTlmi.js → BusinessFinancingComponent-MO_80E8a.js}
RENAMED
|
@@ -7,11 +7,11 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { u as useTranslation, P as useLegalEntity, a8 as getLegalEntityCountry, a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper, U as Loader } from "./StoreProvider-
|
|
10
|
+
import { u as useTranslation, P as useLegalEntity, a8 as getLegalEntityCountry, a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper, U as Loader } from "./StoreProvider-hNCKWSzB.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
12
|
import { useMemo } from "preact/hooks";
|
|
13
|
-
import { M as MaybeModal } from "./MaybeModal-
|
|
14
|
-
import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-
|
|
13
|
+
import { M as MaybeModal } from "./MaybeModal-nSPl0yfm.js";
|
|
14
|
+
import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-C6g7xB95.js";
|
|
15
15
|
function BusinessFinancingComponent({
|
|
16
16
|
legalEntityId,
|
|
17
17
|
onSubmitSuccess,
|
|
@@ -25,7 +25,7 @@ function BusinessFinancingComponent({
|
|
|
25
25
|
[rootLegalEntity]
|
|
26
26
|
);
|
|
27
27
|
addResourceBundles(i18n, [
|
|
28
|
-
{ ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-C6dSR1jk.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-B6atm9_Q.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-Cv6XUSoW.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-BplDsJEb.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-dRK7xHn2.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-CfIM2SRF.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-
|
|
28
|
+
{ ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-C6dSR1jk.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-B6atm9_Q.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-Cv6XUSoW.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-BplDsJEb.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-dRK7xHn2.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-CfIM2SRF.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-hNCKWSzB.js").then((n) => n.bR), "../../../language/locales/es-ES.json": () => import("./es-ES-DRsix_Xn.js"), "../../../language/locales/et-EE.json": () => import("./et-EE-BXiYapXy.js"), "../../../language/locales/fi-FI.json": () => import("./fi-FI-BftTiz0c.js"), "../../../language/locales/fr-FR.json": () => import("./fr-FR-C6jxjXAI.js"), "../../../language/locales/hr-HR.json": () => import("./hr-HR-B_TEU3r4.js"), "../../../language/locales/hu-HU.json": () => import("./hu-HU-CX83V9tu.js"), "../../../language/locales/it-IT.json": () => import("./it-IT-CXlaZNIj.js"), "../../../language/locales/ja-JP.json": () => import("./ja-JP-A6ArIIZ8.js"), "../../../language/locales/lt-LT.json": () => import("./lt-LT-ww192lYg.js"), "../../../language/locales/lv-LV.json": () => import("./lv-LV-CpHy-ZoF.js"), "../../../language/locales/nl-NL.json": () => import("./nl-NL-BwWFlBOs.js"), "../../../language/locales/no-NO.json": () => import("./no-NO-JWsSd7iY.js"), "../../../language/locales/pl-PL.json": () => import("./pl-PL-CLmmSNgn.js"), "../../../language/locales/pt-BR.json": () => import("./pt-BR-BJOww8U1.js"), "../../../language/locales/pt-PT.json": () => import("./pt-PT-CL9VzmZE.js"), "../../../language/locales/ro-RO.json": () => import("./ro-RO-Cu1T3z6k.js"), "../../../language/locales/sk-SK.json": () => import("./sk-SK-CEjJ-qZG.js"), "../../../language/locales/sl-SI.json": () => import("./sl-SI-BfO3xEJx.js"), "../../../language/locales/sv-SE.json": () => import("./sv-SE-CMLKzwtj.js") }), `../../../language/locales/${lang}.json`, 6) },
|
|
29
29
|
{ ns: "ui", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../ui/language/bg-BG.json": () => import("./bg-BG-zZhDshGi.js"), "../../ui/language/cs-CZ.json": () => import("./cs-CZ-Ck22NTT9.js"), "../../ui/language/da-DK.json": () => import("./da-DK-DQ4ZYSea.js"), "../../ui/language/de-DE.json": () => import("./de-DE-CkbOZ6S_.js"), "../../ui/language/el-GR.json": () => import("./el-GR-DudORw4U.js"), "../../ui/language/en-US.json": () => import("./en-US-B-qSAb-7.js"), "../../ui/language/es-ES.json": () => import("./es-ES-BAolMrZ0.js"), "../../ui/language/et-EE.json": () => import("./et-EE-BOIrYrz9.js"), "../../ui/language/fi-FI.json": () => import("./fi-FI-D8WrLxxq.js"), "../../ui/language/fr-FR.json": () => import("./fr-FR-Beljeilc.js"), "../../ui/language/hr-HR.json": () => import("./hr-HR-lIHN6Yl2.js"), "../../ui/language/hu-HU.json": () => import("./hu-HU-CWdwNCev.js"), "../../ui/language/it-IT.json": () => import("./it-IT-5a7NHVFo.js"), "../../ui/language/ja-JP.json": () => import("./ja-JP-DSvZhFNY.js"), "../../ui/language/lt-LT.json": () => import("./lt-LT-CgalYpUh.js"), "../../ui/language/lv-LV.json": () => import("./lv-LV-aAd9SEqx.js"), "../../ui/language/nl-NL.json": () => import("./nl-NL-CmURERx_.js"), "../../ui/language/no-NO.json": () => import("./no-NO-qyqWODMp.js"), "../../ui/language/pl-PL.json": () => import("./pl-PL-q9azN24o.js"), "../../ui/language/pt-BR.json": () => import("./pt-BR-BxoOF8jB.js"), "../../ui/language/pt-PT.json": () => import("./pt-PT-pIChDwiI.js"), "../../ui/language/ro-RO.json": () => import("./ro-RO-DRsaNX9j.js"), "../../ui/language/sk-SK.json": () => import("./sk-SK-7-enbO1N.js"), "../../ui/language/sl-SI.json": () => import("./sl-SI-DTvJT7fC.js"), "../../ui/language/sv-SE.json": () => import("./sv-SE-N-Hqwcjq.js") }), `../../ui/language/${lang}.json`, 5) },
|
|
30
30
|
{
|
|
31
31
|
ns: "businessFinancing",
|
|
@@ -2,44 +2,45 @@
|
|
|
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] = "dd885fbb-139f-4798-924c-69980bfb3341", e._sentryDebugIdIdentifier = "sentry-dbid-dd885fbb-139f-4798-924c-69980bfb3341");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useRef, useEffect, useMemo, useState } from "preact/hooks";
|
|
12
|
-
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-
|
|
13
|
-
import { a as useInvalidateRootLegalEntity, u as useToastContext } from "./useToastContext-
|
|
14
|
-
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
15
|
-
import { az as reverseMapping, aA as isEeaCountry, L as LegalEntityTypes, an as cloneObject, b as useApiContext, k as httpGet, u as useTranslation, N as Typography, aB as Header, am as datasetUtilities, ab as translateTranslatable, x as useAnalyticsContext, p as hasSolePropInLegalEntity, m as useSettingsContext, U as Loader, V as Button } from "./StoreProvider-
|
|
16
|
-
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-
|
|
12
|
+
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-D3ObXaof.js";
|
|
13
|
+
import { a as useInvalidateRootLegalEntity, u as useToastContext } from "./useToastContext-Bxju6PLZ.js";
|
|
14
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-CLWcAVwj.js";
|
|
15
|
+
import { az as reverseMapping, aA as isEeaCountry, L as LegalEntityTypes, an as cloneObject, b as useApiContext, k as httpGet, u as useTranslation, N as Typography, aB as Header, am as datasetUtilities, ab as translateTranslatable, x as useAnalyticsContext, p as hasSolePropInLegalEntity, m as useSettingsContext, U as Loader, V as Button } from "./StoreProvider-hNCKWSzB.js";
|
|
16
|
+
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-DKaDgcgR.js";
|
|
17
17
|
import { S as SettingNames } from "./types-Dv0COrvY.js";
|
|
18
|
-
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-
|
|
19
|
-
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-
|
|
20
|
-
import { u as useMultiForm } from "./useMultiForm-
|
|
21
|
-
import {
|
|
22
|
-
import { E as
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
18
|
+
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-Dlgpas6D.js";
|
|
19
|
+
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-BY7YDLvA.js";
|
|
20
|
+
import { u as useMultiForm } from "./useMultiForm-BG8MF6DI.js";
|
|
21
|
+
import { u as useTaskLandedEvent } from "./useTaskLandedEvent-Cee5Mvme.js";
|
|
22
|
+
import { E as EndStateLayout } from "./EndStateLayout-CWFjt8_u.js";
|
|
23
|
+
import { E as ErrorPanel } from "./ErrorPanel-BFnWeBCJ.js";
|
|
24
|
+
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-sIV2dUoW.js";
|
|
25
|
+
import { c as createFormUtils } from "./formUtils-os98XaB-.js";
|
|
26
|
+
import { l as localizeDateString } from "./localizeDateString-BVk8Wvy3.js";
|
|
27
|
+
import { m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport, L as LegalFormField, I as InputNumber, C as Currency, b as CURRENCY_FIELD, c as InputCurrency } from "./Currency-BsVi8QRc.js";
|
|
27
28
|
import { f as formatObject } from "./utils-DNSfZiio.js";
|
|
28
|
-
import { c as currencyByCountry } from "./types-
|
|
29
|
+
import { c as currencyByCountry } from "./types-lbafosQE.js";
|
|
29
30
|
import { g as getFieldProps } from "./getProps-Cc3J2-z9.js";
|
|
30
|
-
import { F as Field } from "./Field-
|
|
31
|
-
import { L as Link } from "./Link-
|
|
32
|
-
import { R as RadioGroup } from "./RadioGroup-
|
|
33
|
-
import { I as InputText } from "./InputText-
|
|
31
|
+
import { F as Field } from "./Field-B8NADHt-.js";
|
|
32
|
+
import { L as Link } from "./Link-QFSK0XUO.js";
|
|
33
|
+
import { R as RadioGroup } from "./RadioGroup-DwACEtfi.js";
|
|
34
|
+
import { I as InputText } from "./InputText-D6VoNS-R.js";
|
|
34
35
|
import { useQuery } from "@tanstack/preact-query";
|
|
35
|
-
import { S as Select } from "./Select-
|
|
36
|
-
import { I as InputDate } from "./InputDate-
|
|
37
|
-
import { C as Checkbox } from "./Checkbox-
|
|
38
|
-
import { A as Address } from "./Address-
|
|
39
|
-
import { g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET, a as getAddressSchemaLabelsByCountry } from "./utils-
|
|
40
|
-
import { C as CountryField } from "./CountryField-
|
|
41
|
-
import { N as NewSummary } from "./NewSummary-
|
|
42
|
-
import { b as businessFinancingMultiformRules } from "./validate-
|
|
36
|
+
import { S as Select } from "./Select-Bp6g62Kp.js";
|
|
37
|
+
import { I as InputDate } from "./InputDate-BvgrweAT.js";
|
|
38
|
+
import { C as Checkbox } from "./Checkbox-CZ-K3Ygt.js";
|
|
39
|
+
import { A as Address } from "./Address-CVPObm6B.js";
|
|
40
|
+
import { g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET, a as getAddressSchemaLabelsByCountry } from "./utils-BN54hZUe.js";
|
|
41
|
+
import { C as CountryField } from "./CountryField-BJAayKID.js";
|
|
42
|
+
import { N as NewSummary } from "./NewSummary-DKld0bET.js";
|
|
43
|
+
import { b as businessFinancingMultiformRules } from "./validate-BnCwLSUb.js";
|
|
43
44
|
const businessFinancingBaseMapping = {
|
|
44
45
|
legalProceedingsDate: "organization.dateOfInitiationOfLegalProceeding",
|
|
45
46
|
legalInformationInsolvency: "organization.statusOfLegalProceeding",
|
|
@@ -1823,6 +1824,7 @@ function BusinessFinancingDropin(props) {
|
|
|
1823
1824
|
rootLegalEntity,
|
|
1824
1825
|
"soleProprietorship"
|
|
1825
1826
|
);
|
|
1827
|
+
useTaskLandedEvent("BUSINESS_FINANCING");
|
|
1826
1828
|
const derivedData = useMemo(() => {
|
|
1827
1829
|
if (immediateParentCompanyIsLoading || ultimateParentCompanyIsLoading || soleProprietorIsLoading)
|
|
1828
1830
|
return void 0;
|
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { u as useTranslation, P as useLegalEntity, a as addResourceBundles, U as Loader, a8 as getLegalEntityCountry, R as ROOT_LE, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { u as useTranslation, P as useLegalEntity, a as addResourceBundles, U as Loader, a8 as getLegalEntityCountry, R as ROOT_LE, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-hNCKWSzB.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
|
-
import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-
|
|
12
|
+
import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-C6g7xB95.js";
|
|
13
13
|
const BusinessFinancingPage = ({
|
|
14
14
|
onSubmit,
|
|
15
15
|
handleHomeClick
|
|
@@ -22,7 +22,7 @@ const BusinessFinancingPage = ({
|
|
|
22
22
|
ns: "businessFinancing",
|
|
23
23
|
importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../tasks/BusinessFinancingDropin/language/bg-BG.json": () => import("./bg-BG-Cj3_UGTi.js"), "../tasks/BusinessFinancingDropin/language/cs-CZ.json": () => import("./cs-CZ-DxfB5dcV.js"), "../tasks/BusinessFinancingDropin/language/da-DK.json": () => import("./da-DK-BfsYpvel.js"), "../tasks/BusinessFinancingDropin/language/de-DE.json": () => import("./de-DE-CEsDXBn-.js"), "../tasks/BusinessFinancingDropin/language/el-GR.json": () => import("./el-GR-CM3bIzr7.js"), "../tasks/BusinessFinancingDropin/language/en-US.json": () => import("./en-US-DIlZD5Wh.js"), "../tasks/BusinessFinancingDropin/language/es-ES.json": () => import("./es-ES-BWFP5itn.js"), "../tasks/BusinessFinancingDropin/language/et-EE.json": () => import("./et-EE-CcXrAAc7.js"), "../tasks/BusinessFinancingDropin/language/fi-FI.json": () => import("./fi-FI-DenK0WPz.js"), "../tasks/BusinessFinancingDropin/language/fr-FR.json": () => import("./fr-FR-BmTswZU5.js"), "../tasks/BusinessFinancingDropin/language/hr-HR.json": () => import("./hr-HR-SDrDZRLV.js"), "../tasks/BusinessFinancingDropin/language/hu-HU.json": () => import("./hu-HU-DSVf2zbX.js"), "../tasks/BusinessFinancingDropin/language/it-IT.json": () => import("./it-IT-DJe5OflH.js"), "../tasks/BusinessFinancingDropin/language/ja-JP.json": () => import("./ja-JP-GGV_-V6p.js"), "../tasks/BusinessFinancingDropin/language/lt-LT.json": () => import("./lt-LT-C9nsCODy.js"), "../tasks/BusinessFinancingDropin/language/lv-LV.json": () => import("./lv-LV-Bue450PR.js"), "../tasks/BusinessFinancingDropin/language/nl-NL.json": () => import("./nl-NL-4Mv4rnYy.js"), "../tasks/BusinessFinancingDropin/language/no-NO.json": () => import("./no-NO-ByCZ3mhz.js"), "../tasks/BusinessFinancingDropin/language/pl-PL.json": () => import("./pl-PL-DCi5Lf4k.js"), "../tasks/BusinessFinancingDropin/language/pt-BR.json": () => import("./pt-BR-DRz5cG4o.js"), "../tasks/BusinessFinancingDropin/language/pt-PT.json": () => import("./pt-PT-ChRbnn0k.js"), "../tasks/BusinessFinancingDropin/language/ro-RO.json": () => import("./ro-RO-Dgie5z3m.js"), "../tasks/BusinessFinancingDropin/language/sk-SK.json": () => import("./sk-SK-bMDoNP19.js"), "../tasks/BusinessFinancingDropin/language/sl-SI.json": () => import("./sl-SI-DKSu25rO.js"), "../tasks/BusinessFinancingDropin/language/sv-SE.json": () => import("./sv-SE-Co7Nkd06.js") }), `../tasks/BusinessFinancingDropin/language/${lang}.json`, 5)
|
|
24
24
|
},
|
|
25
|
-
{ ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-C6dSR1jk.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-B6atm9_Q.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-Cv6XUSoW.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-BplDsJEb.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-dRK7xHn2.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-CfIM2SRF.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-
|
|
25
|
+
{ ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-C6dSR1jk.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-B6atm9_Q.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-Cv6XUSoW.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-BplDsJEb.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-dRK7xHn2.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-CfIM2SRF.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-hNCKWSzB.js").then((n) => n.bR), "../../../language/locales/es-ES.json": () => import("./es-ES-DRsix_Xn.js"), "../../../language/locales/et-EE.json": () => import("./et-EE-BXiYapXy.js"), "../../../language/locales/fi-FI.json": () => import("./fi-FI-BftTiz0c.js"), "../../../language/locales/fr-FR.json": () => import("./fr-FR-C6jxjXAI.js"), "../../../language/locales/hr-HR.json": () => import("./hr-HR-B_TEU3r4.js"), "../../../language/locales/hu-HU.json": () => import("./hu-HU-CX83V9tu.js"), "../../../language/locales/it-IT.json": () => import("./it-IT-CXlaZNIj.js"), "../../../language/locales/ja-JP.json": () => import("./ja-JP-A6ArIIZ8.js"), "../../../language/locales/lt-LT.json": () => import("./lt-LT-ww192lYg.js"), "../../../language/locales/lv-LV.json": () => import("./lv-LV-CpHy-ZoF.js"), "../../../language/locales/nl-NL.json": () => import("./nl-NL-BwWFlBOs.js"), "../../../language/locales/no-NO.json": () => import("./no-NO-JWsSd7iY.js"), "../../../language/locales/pl-PL.json": () => import("./pl-PL-CLmmSNgn.js"), "../../../language/locales/pt-BR.json": () => import("./pt-BR-BJOww8U1.js"), "../../../language/locales/pt-PT.json": () => import("./pt-PT-CL9VzmZE.js"), "../../../language/locales/ro-RO.json": () => import("./ro-RO-Cu1T3z6k.js"), "../../../language/locales/sk-SK.json": () => import("./sk-SK-CEjJ-qZG.js"), "../../../language/locales/sl-SI.json": () => import("./sl-SI-BfO3xEJx.js"), "../../../language/locales/sv-SE.json": () => import("./sv-SE-CMLKzwtj.js") }), `../../../language/locales/${lang}.json`, 6) }
|
|
26
26
|
]);
|
|
27
27
|
if (!rootLe) {
|
|
28
28
|
return /* @__PURE__ */ jsx(Loader, {});
|
package/dist/{BusinessTypeSelectionPage-RRp8YkIk.js → BusinessTypeSelectionPage-q-ohll63.js}
RENAMED
|
@@ -2,22 +2,23 @@
|
|
|
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] = "ca77076d-b367-4cdf-b081-189d63c1cf05", e._sentryDebugIdIdentifier = "sentry-dbid-ca77076d-b367-4cdf-b081-189d63c1cf05");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
|
-
import { ae as createLogger, u as useTranslation, x as useAnalyticsContext, t as useAccountHolder, bA as getCapabilities, a8 as getLegalEntityCountry, L as LegalEntityTypes, N as Typography, V as Button, P as useLegalEntity, U as Loader, R as ROOT_LE } from "./StoreProvider-
|
|
11
|
+
import { ae as createLogger, u as useTranslation, x as useAnalyticsContext, t as useAccountHolder, bA as getCapabilities, a8 as getLegalEntityCountry, L as LegalEntityTypes, N as Typography, V as Button, P as useLegalEntity, U as Loader, R as ROOT_LE } from "./StoreProvider-hNCKWSzB.js";
|
|
12
12
|
import { useState, useEffect } from "preact/hooks";
|
|
13
|
-
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
14
|
-
import { F as Field } from "./Field-
|
|
15
|
-
import { L as LoaderWrapper } from "./LoaderWrapper-
|
|
13
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-CLWcAVwj.js";
|
|
14
|
+
import { F as Field } from "./Field-B8NADHt-.js";
|
|
15
|
+
import { L as LoaderWrapper } from "./LoaderWrapper-DlhbbEYS.js";
|
|
16
16
|
import { S as Spacer } from "./Spacer-BK3jDget.js";
|
|
17
|
-
import { T as TileGroup } from "./TileGroup-
|
|
18
|
-
import { u as useToastContext } from "./useToastContext-
|
|
19
|
-
import { u as useForm } from "./useForm-
|
|
20
|
-
import { u as
|
|
17
|
+
import { T as TileGroup } from "./TileGroup-DTnywnyF.js";
|
|
18
|
+
import { u as useToastContext } from "./useToastContext-Bxju6PLZ.js";
|
|
19
|
+
import { u as useForm } from "./useForm-BSHD2KTa.js";
|
|
20
|
+
import { u as useTaskLandedEvent } from "./useTaskLandedEvent-Cee5Mvme.js";
|
|
21
|
+
import { u as useSelectionOptions, g as getBusinessType, a as getDefaultLegalArrangementOrSuborganizationType, l as legalArrangementMetadata, b as getTargetLegalEntityType, c as businessTypeIcons, d as determineOrganizationTypeToUpdate } from "./utils-DPRgxXmU.js";
|
|
21
22
|
const businessTypeExamples = /* @__PURE__ */ Object.assign({ "../localized/legalEntityTypeExamples/AT.json": () => import("./AT-EpV7jN58.js"), "../localized/legalEntityTypeExamples/AU.json": () => import("./AU-pBsEvEUy.js"), "../localized/legalEntityTypeExamples/BE.json": () => import("./BE-CU5o9cmc.js"), "../localized/legalEntityTypeExamples/BR.json": () => import("./BR-ORoHRwTk.js"), "../localized/legalEntityTypeExamples/CA.json": () => import("./CA-VXNq-m6m.js"), "../localized/legalEntityTypeExamples/CH.json": () => import("./CH-B_-afpD_.js"), "../localized/legalEntityTypeExamples/CZ.json": () => import("./CZ-CTw_bQIu.js"), "../localized/legalEntityTypeExamples/DE.json": () => import("./DE-D_jIDxOH.js"), "../localized/legalEntityTypeExamples/DK.json": () => import("./DK-dBzrfgpQ.js"), "../localized/legalEntityTypeExamples/ES.json": () => import("./ES-DYbZmFcJ.js"), "../localized/legalEntityTypeExamples/FI.json": () => import("./FI-C9nRvop7.js"), "../localized/legalEntityTypeExamples/FR.json": () => import("./FR-BycGQO4W.js"), "../localized/legalEntityTypeExamples/GB.json": () => import("./GB-DFyzo5sN.js"), "../localized/legalEntityTypeExamples/HK.json": () => import("./HK-WqZ5UBEF.js"), "../localized/legalEntityTypeExamples/HR.json": () => import("./HR-CRa19tH1.js"), "../localized/legalEntityTypeExamples/HU.json": () => import("./HU-D5NCweWf.js"), "../localized/legalEntityTypeExamples/IE.json": () => import("./IE-rhATS57q.js"), "../localized/legalEntityTypeExamples/IT.json": () => import("./IT-wD7dHdYD.js"), "../localized/legalEntityTypeExamples/LT.json": () => import("./LT-0F72uCyI.js"), "../localized/legalEntityTypeExamples/NL.json": () => import("./NL-q2U2l276.js"), "../localized/legalEntityTypeExamples/NO.json": () => import("./NO-CX12Zsf_.js"), "../localized/legalEntityTypeExamples/PL.json": () => import("./PL-CwCXF3Yu.js"), "../localized/legalEntityTypeExamples/PT.json": () => import("./PT-Dei5v1nD.js"), "../localized/legalEntityTypeExamples/RO.json": () => import("./RO-Dxk08mOu.js"), "../localized/legalEntityTypeExamples/SE.json": () => import("./SE-AP3gLiyy.js"), "../localized/legalEntityTypeExamples/SG.json": () => import("./SG-DMcOb17i.js"), "../localized/legalEntityTypeExamples/SI.json": () => import("./SI-BXe-yndm.js"), "../localized/legalEntityTypeExamples/SK.json": () => import("./SK-DwdgoGnD.js"), "../localized/legalEntityTypeExamples/US.json": () => import("./US-DHxLSqeC.js") });
|
|
22
23
|
const logger$1 = createLogger();
|
|
23
24
|
const getBusinessTypeExamplesForCountry = async (country) => {
|
|
@@ -198,6 +199,7 @@ const BusinessTypeSelection = ({
|
|
|
198
199
|
)
|
|
199
200
|
);
|
|
200
201
|
}, [data.businessType, data.legalArrangement, currentStep, trustOrUnincorporatedPartnership]);
|
|
202
|
+
useTaskLandedEvent("BUSINESS_TYPE_SELECTION");
|
|
201
203
|
const handleNextClick = async () => {
|
|
202
204
|
if (loadingStatus === "loading") return;
|
|
203
205
|
triggerValidation();
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import { x as useAnalyticsContext } from "./StoreProvider-
|
|
12
|
+
import { x as useAnalyticsContext } from "./StoreProvider-hNCKWSzB.js";
|
|
13
13
|
function Checkbox({
|
|
14
14
|
id,
|
|
15
15
|
name,
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { useState, useEffect } from "preact/hooks";
|
|
12
|
-
import { u as useTranslation, x as useAnalyticsContext, N as Typography, V as Button } from "./StoreProvider-
|
|
13
|
-
import { M as Modal } from "./Modal-
|
|
12
|
+
import { u as useTranslation, x as useAnalyticsContext, N as Typography, V as Button } from "./StoreProvider-hNCKWSzB.js";
|
|
13
|
+
import { M as Modal } from "./Modal-D1Yiugk1.js";
|
|
14
14
|
const confirm = "adyen-kyc-confirm";
|
|
15
15
|
const confirmMessage = "adyen-kyc-confirm-message";
|
|
16
16
|
const confirmActions = "adyen-kyc-confirm-actions";
|
|
@@ -2,34 +2,34 @@
|
|
|
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] = "e67807df-8f88-4ab5-8621-ce09e8ae41fc", e._sentryDebugIdIdentifier = "sentry-dbid-e67807df-8f88-4ab5-8621-ce09e8ae41fc");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
|
-
import { C as Checkbox } from "./Checkbox-
|
|
12
|
-
import { F as Field } from "./Field-
|
|
13
|
-
import { a9 as CountryCodes, u as useTranslation, ab as translateTranslatable, H as useToggleContext, aB as Header, ah as objectsDeepEqual, L as LegalEntityTypes } from "./StoreProvider-
|
|
14
|
-
import { m as makeMask, n as numericInputs, s as spacer, M as MaskedInput, a as nonInputs, b as alphaInputs, d as alphanumericInputs } from "./MaskedInput-
|
|
11
|
+
import { C as Checkbox } from "./Checkbox-CZ-K3Ygt.js";
|
|
12
|
+
import { F as Field } from "./Field-B8NADHt-.js";
|
|
13
|
+
import { a9 as CountryCodes, u as useTranslation, ab as translateTranslatable, H as useToggleContext, aB as Header, ah as objectsDeepEqual, L as LegalEntityTypes } from "./StoreProvider-hNCKWSzB.js";
|
|
14
|
+
import { m as makeMask, n as numericInputs, s as spacer, M as MaskedInput, a as nonInputs, b as alphaInputs, d as alphanumericInputs } from "./MaskedInput-Cj3Be_WU.js";
|
|
15
15
|
import { r as resolveFieldMetadata } from "./fieldConfigurations-BUT9DTUH.js";
|
|
16
|
-
import { C as CompanyTypesValues } from "./bafinUtils-
|
|
17
|
-
import { s as stateFormatGuidanceText, m as businessRegistrationNumberMasks, n as businessRegistrationNumberPatterns, M as MemoizedDocumentUpload } from "./TaxInformationField-
|
|
18
|
-
import { a as validateNotEmptyOnBlur, v as validatePatternOnBlur } from "./patternValidators-
|
|
16
|
+
import { C as CompanyTypesValues } from "./bafinUtils-Cf0EyXIO.js";
|
|
17
|
+
import { s as stateFormatGuidanceText, m as businessRegistrationNumberMasks, n as businessRegistrationNumberPatterns, M as MemoizedDocumentUpload } from "./TaxInformationField-ef1_TQvO.js";
|
|
18
|
+
import { a as validateNotEmptyOnBlur, v as validatePatternOnBlur } from "./patternValidators-Dx583C-1.js";
|
|
19
19
|
import { useMemo, useCallback, useEffect, useRef } from "preact/hooks";
|
|
20
|
-
import { R as RadioGroup } from "./RadioGroup-
|
|
21
|
-
import { I as InputText } from "./InputText-
|
|
22
|
-
import { u as uppercase } from "./mapExistingFile-
|
|
20
|
+
import { R as RadioGroup } from "./RadioGroup-DwACEtfi.js";
|
|
21
|
+
import { I as InputText } from "./InputText-D6VoNS-R.js";
|
|
22
|
+
import { u as uppercase } from "./mapExistingFile-BqPAjtnr.js";
|
|
23
23
|
import { createElement } from "preact";
|
|
24
|
-
import { S as StateContextSetter } from "./validate-
|
|
25
|
-
import { u as useForm } from "./useForm-
|
|
26
|
-
import { C as ContextGuidance } from "./ContextGuidance-
|
|
27
|
-
import { E as ErrorPanel } from "./ErrorPanel-
|
|
28
|
-
import { c as createFormUtils } from "./formUtils-
|
|
24
|
+
import { S as StateContextSetter } from "./validate-BxU9EEi6.js";
|
|
25
|
+
import { u as useForm } from "./useForm-BSHD2KTa.js";
|
|
26
|
+
import { C as ContextGuidance } from "./ContextGuidance-BopbaLr-.js";
|
|
27
|
+
import { E as ErrorPanel } from "./ErrorPanel-BFnWeBCJ.js";
|
|
28
|
+
import { c as createFormUtils } from "./formUtils-os98XaB-.js";
|
|
29
29
|
import { a as getFormProps } from "./getProps-Cc3J2-z9.js";
|
|
30
|
-
import { A as Address } from "./Address-
|
|
30
|
+
import { A as Address } from "./Address-CVPObm6B.js";
|
|
31
31
|
import { memo } from "preact/compat";
|
|
32
|
-
import { u as usePageLandedEvent } from "./Summary-
|
|
32
|
+
import { u as usePageLandedEvent } from "./Summary-NFgvajMx.js";
|
|
33
33
|
const registrationNumberDefaultFieldMetadata = {
|
|
34
34
|
label: "registrationNumber"
|
|
35
35
|
};
|
|
@@ -2,21 +2,21 @@
|
|
|
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] = "2660b15a-411b-4d86-8d19-e20ede5c1005", e._sentryDebugIdIdentifier = "sentry-dbid-2660b15a-411b-4d86-8d19-e20ede5c1005");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import "@tanstack/preact-query";
|
|
11
11
|
import { useCallback, useState, useMemo, useEffect } from "preact/hooks";
|
|
12
|
-
import { b as useApiContext, j as httpPost, a9 as CountryCodes, ax as isEmpty, ae as createLogger, u as useTranslation, ap as useDataset, ao as entriesOf, aq as datasetIdentifier, aB as Header } from "./StoreProvider-
|
|
12
|
+
import { b as useApiContext, j as httpPost, a9 as CountryCodes, ax as isEmpty, ae as createLogger, u as useTranslation, ap as useDataset, ao as entriesOf, aq as datasetIdentifier, aB as Header } from "./StoreProvider-hNCKWSzB.js";
|
|
13
13
|
import { e as emailPattern } from "./basePatterns-BwdnMQxI.js";
|
|
14
14
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
15
|
-
import { F as Field } from "./Field-
|
|
16
|
-
import { m as makeMask, a as nonInputs, n as numericInputs, s as spacer, M as MaskedInput, I as InputEmail } from "./MaskedInput-
|
|
15
|
+
import { F as Field } from "./Field-B8NADHt-.js";
|
|
16
|
+
import { m as makeMask, a as nonInputs, n as numericInputs, s as spacer, M as MaskedInput, I as InputEmail } from "./MaskedInput-Cj3Be_WU.js";
|
|
17
17
|
import { r as resolveFieldMetadata } from "./fieldConfigurations-BUT9DTUH.js";
|
|
18
|
-
import { m as mergeFieldMetadataIntoProps, c as createFormUtils } from "./formUtils-
|
|
19
|
-
import { S as Select } from "./Select-
|
|
18
|
+
import { m as mergeFieldMetadataIntoProps, c as createFormUtils } from "./formUtils-os98XaB-.js";
|
|
19
|
+
import { S as Select } from "./Select-Bp6g62Kp.js";
|
|
20
20
|
import { I as InputGroup } from "./InputGroup-WBfGDV5F.js";
|
|
21
21
|
const validatePhoneNumber = (baseUrl, data) => {
|
|
22
22
|
return httpPost(
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { x as useAnalyticsContext, C as Alert } from "./StoreProvider-
|
|
11
|
+
import { x as useAnalyticsContext, C as Alert } from "./StoreProvider-hNCKWSzB.js";
|
|
12
12
|
function ContextGuidance({
|
|
13
13
|
title,
|
|
14
14
|
content,
|
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { useMemo } from "preact/hooks";
|
|
12
|
-
import { F as Field } from "./Field-
|
|
13
|
-
import { S as Select } from "./Select-
|
|
14
|
-
import { u as useTranslation, ap as useDataset, aq as datasetIdentifier } from "./StoreProvider-
|
|
12
|
+
import { F as Field } from "./Field-B8NADHt-.js";
|
|
13
|
+
import { S as Select } from "./Select-Bp6g62Kp.js";
|
|
14
|
+
import { u as useTranslation, ap as useDataset, aq as datasetIdentifier } from "./StoreProvider-hNCKWSzB.js";
|
|
15
15
|
const COUNTRY_FIELD = ["country"];
|
|
16
16
|
function CountryField({
|
|
17
17
|
name = "country",
|
package/dist/{CreateIndividualComponent-CmhrM9Gy.js → CreateIndividualComponent-D2-0xOiU.js}
RENAMED
|
@@ -7,10 +7,10 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { P as useLegalEntity, u as useTranslation, a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper, U as Loader, a8 as getLegalEntityCountry, E as EntityTypes, w as TaskTypes } from "./StoreProvider-
|
|
10
|
+
import { P as useLegalEntity, u as useTranslation, a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper, U as Loader, a8 as getLegalEntityCountry, E as EntityTypes, w as TaskTypes } from "./StoreProvider-hNCKWSzB.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
|
-
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-
|
|
13
|
-
import { I as IndividualDropin } from "./IndividualDropin-
|
|
12
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-DKjmIXBa.js";
|
|
13
|
+
import { I as IndividualDropin } from "./IndividualDropin-D4VcAQnB.js";
|
|
14
14
|
const CreateIndividualComponent = ({
|
|
15
15
|
legalEntityId,
|
|
16
16
|
onSubmitSuccess,
|
|
@@ -25,7 +25,7 @@ const CreateIndividualComponent = ({
|
|
|
25
25
|
const capabilityProblems = useCapabilityProblems();
|
|
26
26
|
const { i18n } = useTranslation();
|
|
27
27
|
addResourceBundles(i18n, [
|
|
28
|
-
{ ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-C6dSR1jk.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-B6atm9_Q.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-Cv6XUSoW.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-BplDsJEb.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-dRK7xHn2.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-CfIM2SRF.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-
|
|
28
|
+
{ ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-C6dSR1jk.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-B6atm9_Q.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-Cv6XUSoW.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-BplDsJEb.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-dRK7xHn2.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-CfIM2SRF.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-hNCKWSzB.js").then((n) => n.bR), "../../../language/locales/es-ES.json": () => import("./es-ES-DRsix_Xn.js"), "../../../language/locales/et-EE.json": () => import("./et-EE-BXiYapXy.js"), "../../../language/locales/fi-FI.json": () => import("./fi-FI-BftTiz0c.js"), "../../../language/locales/fr-FR.json": () => import("./fr-FR-C6jxjXAI.js"), "../../../language/locales/hr-HR.json": () => import("./hr-HR-B_TEU3r4.js"), "../../../language/locales/hu-HU.json": () => import("./hu-HU-CX83V9tu.js"), "../../../language/locales/it-IT.json": () => import("./it-IT-CXlaZNIj.js"), "../../../language/locales/ja-JP.json": () => import("./ja-JP-A6ArIIZ8.js"), "../../../language/locales/lt-LT.json": () => import("./lt-LT-ww192lYg.js"), "../../../language/locales/lv-LV.json": () => import("./lv-LV-CpHy-ZoF.js"), "../../../language/locales/nl-NL.json": () => import("./nl-NL-BwWFlBOs.js"), "../../../language/locales/no-NO.json": () => import("./no-NO-JWsSd7iY.js"), "../../../language/locales/pl-PL.json": () => import("./pl-PL-CLmmSNgn.js"), "../../../language/locales/pt-BR.json": () => import("./pt-BR-BJOww8U1.js"), "../../../language/locales/pt-PT.json": () => import("./pt-PT-CL9VzmZE.js"), "../../../language/locales/ro-RO.json": () => import("./ro-RO-Cu1T3z6k.js"), "../../../language/locales/sk-SK.json": () => import("./sk-SK-CEjJ-qZG.js"), "../../../language/locales/sl-SI.json": () => import("./sl-SI-BfO3xEJx.js"), "../../../language/locales/sv-SE.json": () => import("./sv-SE-CMLKzwtj.js") }), `../../../language/locales/${lang}.json`, 6) },
|
|
29
29
|
{ ns: "ui", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../ui/language/bg-BG.json": () => import("./bg-BG-zZhDshGi.js"), "../../ui/language/cs-CZ.json": () => import("./cs-CZ-Ck22NTT9.js"), "../../ui/language/da-DK.json": () => import("./da-DK-DQ4ZYSea.js"), "../../ui/language/de-DE.json": () => import("./de-DE-CkbOZ6S_.js"), "../../ui/language/el-GR.json": () => import("./el-GR-DudORw4U.js"), "../../ui/language/en-US.json": () => import("./en-US-B-qSAb-7.js"), "../../ui/language/es-ES.json": () => import("./es-ES-BAolMrZ0.js"), "../../ui/language/et-EE.json": () => import("./et-EE-BOIrYrz9.js"), "../../ui/language/fi-FI.json": () => import("./fi-FI-D8WrLxxq.js"), "../../ui/language/fr-FR.json": () => import("./fr-FR-Beljeilc.js"), "../../ui/language/hr-HR.json": () => import("./hr-HR-lIHN6Yl2.js"), "../../ui/language/hu-HU.json": () => import("./hu-HU-CWdwNCev.js"), "../../ui/language/it-IT.json": () => import("./it-IT-5a7NHVFo.js"), "../../ui/language/ja-JP.json": () => import("./ja-JP-DSvZhFNY.js"), "../../ui/language/lt-LT.json": () => import("./lt-LT-CgalYpUh.js"), "../../ui/language/lv-LV.json": () => import("./lv-LV-aAd9SEqx.js"), "../../ui/language/nl-NL.json": () => import("./nl-NL-CmURERx_.js"), "../../ui/language/no-NO.json": () => import("./no-NO-qyqWODMp.js"), "../../ui/language/pl-PL.json": () => import("./pl-PL-q9azN24o.js"), "../../ui/language/pt-BR.json": () => import("./pt-BR-BxoOF8jB.js"), "../../ui/language/pt-PT.json": () => import("./pt-PT-pIChDwiI.js"), "../../ui/language/ro-RO.json": () => import("./ro-RO-DRsaNX9j.js"), "../../ui/language/sk-SK.json": () => import("./sk-SK-7-enbO1N.js"), "../../ui/language/sl-SI.json": () => import("./sl-SI-DTvJT7fC.js"), "../../ui/language/sv-SE.json": () => import("./sv-SE-N-Hqwcjq.js") }), `../../ui/language/${lang}.json`, 5) },
|
|
30
30
|
{ ns: "individual", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../Individual/language/bg-BG.json": () => import("./bg-BG-DKld3x63.js"), "../../Individual/language/cs-CZ.json": () => import("./cs-CZ-BBLagJI6.js"), "../../Individual/language/da-DK.json": () => import("./da-DK-D9FgPh5e.js"), "../../Individual/language/de-DE.json": () => import("./de-DE-Cg_RNIr-.js"), "../../Individual/language/el-GR.json": () => import("./el-GR-ZRGBgvMu.js"), "../../Individual/language/en-US.json": () => import("./en-US-CJDkXFZ6.js"), "../../Individual/language/es-ES.json": () => import("./es-ES-BZiC4JWr.js"), "../../Individual/language/et-EE.json": () => import("./et-EE-D_NmrrzQ.js"), "../../Individual/language/fi-FI.json": () => import("./fi-FI-CEH4BfU3.js"), "../../Individual/language/fr-FR.json": () => import("./fr-FR-NxOktkWc.js"), "../../Individual/language/hr-HR.json": () => import("./hr-HR-D_MUIhtx.js"), "../../Individual/language/hu-HU.json": () => import("./hu-HU-LxStrFGU.js"), "../../Individual/language/it-IT.json": () => import("./it-IT-OppZz3gW.js"), "../../Individual/language/ja-JP.json": () => import("./ja-JP-CethQRoG.js"), "../../Individual/language/lt-LT.json": () => import("./lt-LT-CBTFJxth.js"), "../../Individual/language/lv-LV.json": () => import("./lv-LV-DTaBIHLh.js"), "../../Individual/language/nl-NL.json": () => import("./nl-NL-CYFznuWn.js"), "../../Individual/language/no-NO.json": () => import("./no-NO-BsEie1We.js"), "../../Individual/language/pl-PL.json": () => import("./pl-PL-BH_LPZJa.js"), "../../Individual/language/pt-BR.json": () => import("./pt-BR-C-YbDjn-.js"), "../../Individual/language/pt-PT.json": () => import("./pt-PT-BTbVsews.js"), "../../Individual/language/ro-RO.json": () => import("./ro-RO-C5PJhlmM.js"), "../../Individual/language/sk-SK.json": () => import("./sk-SK-DO-AqRjE.js"), "../../Individual/language/sl-SI.json": () => import("./sl-SI-CJH14wbj.js"), "../../Individual/language/sv-SE.json": () => import("./sv-SE-ZsucW_Uj.js") }), `../../Individual/language/${lang}.json`, 5) }
|
|
31
31
|
]);
|