@adyen/kyc-components 4.6.0 → 4.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AcceptTermsOfServiceComponent-D61bfNW0.js → AcceptTermsOfServiceComponent-C2WkLHFZ.js} +17 -15
- package/dist/{AccountSetupRejected-zD_ccBqS.js → AccountSetupRejected-C16roimu.js} +1 -1
- package/dist/{ActionBar-DkXjAAQ1.js → ActionBar--82M98S-.js} +1 -1
- package/dist/{Address-Csavi1J2.js → Address-DWIT_6YL.js} +10 -10
- package/dist/{Avatar-D-VHGhFL.js → Avatar-BoLDZMzm.js} +1 -1
- package/dist/{BusinessFinancingComponent-DG0EWNk6.js → BusinessFinancingComponent-VTHLWJIr.js} +4 -4
- package/dist/{BusinessFinancingDropin-5UqhwnOX.js → BusinessFinancingDropin-BUl2B6f8.js} +30 -28
- package/dist/{BusinessFinancingPage-CMoJlPym.js → BusinessFinancingPage-D26VTiKP.js} +3 -3
- package/dist/{BusinessTypeSelectionPage-D4SBQDqJ.js → BusinessTypeSelectionPage-CpTgzgPl.js} +11 -9
- package/dist/{Checkbox-BKM1WPHa.js → Checkbox-jYXrAul6.js} +1 -1
- package/dist/{Confirm-gEhhWD8f.js → Confirm-BaZlxCCm.js} +2 -2
- package/dist/{ConstitutionalDocument-CCw9a-FU.js → ConstitutionalDocument-CZ_TklBF.js} +18 -18
- package/dist/{ContactDetails-CGBkZMAt.js → ContactDetails-ClGSH5yT.js} +6 -6
- package/dist/{ContextGuidance-B4qWRid4.js → ContextGuidance-0uhYPQ1I.js} +1 -1
- package/dist/{CountryField-pznzB7Uq.js → CountryField-CbqrNpDo.js} +3 -3
- package/dist/{CreateIndividualComponent-yT3Rqlai.js → CreateIndividualComponent-BA56j0QH.js} +4 -4
- package/dist/{CreateTransferInstrumentComponent-BbWiq2fM.js → CreateTransferInstrumentComponent-DDrV-5P7.js} +3 -3
- package/dist/{Currency-DJCryqqJ.js → Currency-N_ZeTxCp.js} +7 -7
- package/dist/{CustomerSupport-CJy8LS0W.js → CustomerSupport-XgJm-2H-.js} +12 -10
- package/dist/{DebugModal-BMXSCZDm.js → DebugModal-B8mpuazE.js} +6 -6
- package/dist/{DecisionMakerDetails-BAniwLCh.js → DecisionMakerDetails-BCNBF-7s.js} +9 -9
- package/dist/{DecisionMakerDetailsPage-CloS-QIg.js → DecisionMakerDetailsPage-Dz0_2LNG.js} +7 -7
- package/dist/{DecisionMakers-DrnBmtOE.js → DecisionMakers-aaXzrhfz.js} +20 -18
- package/dist/{Dropzone-DCTHmJn2.js → Dropzone-DXer0HMz.js} +4 -4
- package/dist/{EmbeddedStatus-sF6FG18F.js → EmbeddedStatus-6dwUT0qj.js} +2 -2
- package/dist/{EndStateLayout-D23FWrbD.js → EndStateLayout-B7Bk6joO.js} +1 -1
- package/dist/{EntityAssociation-eiVdh677.js → EntityAssociation-BHlBpUJo.js} +5 -5
- package/dist/{EntityGuidanceStatus-Chbgo62U.js → EntityGuidanceStatus-DAQi1OXH.js} +4 -4
- package/dist/{ErrorPanel-B8fHWJ7W.js → ErrorPanel-DV0UxjXE.js} +1 -1
- package/dist/{Field-BguffV12.js → Field-CnMk9CSG.js} +1 -1
- package/dist/{FormNavigation-D5KYMYO0.js → FormNavigation-Bd2ZkyC5.js} +3 -3
- package/dist/{Individual.rules-2HzSnI41.js → Individual.rules-CijYAoh1.js} +6 -6
- package/dist/{IndividualDropin-CybsCeUw.js → IndividualDropin-DkEAiK94.js} +52 -50
- package/dist/{InputDate-BjWLJfR1.js → InputDate-xFgiqFL2.js} +2 -2
- package/dist/{InputText-C6-NIYzH.js → InputText-Dl-dY3j-.js} +2 -2
- package/dist/{Introduction-UMqxmd6N.js → Introduction-DYLGoJO2.js} +6 -4
- package/dist/{InvitedDecisionMakerComponent-XyPQK6mU.js → InvitedDecisionMakerComponent-D6jCPSfb.js} +10 -10
- package/dist/{JpAddress-C8wbZfE0.js → JpAddress-Dytm-CRM.js} +9 -9
- package/dist/{LandingLayout-Dr28QxoC.js → LandingLayout-Df75OuDC.js} +1 -1
- package/dist/{LegalCompanyNameField-DHyMLbZc.js → LegalCompanyNameField-CCZiP7cW.js} +6 -6
- package/dist/{LegalRepresentativeDetailsPage-CusLAG25.js → LegalRepresentativeDetailsPage-D357sOuF.js} +3 -3
- package/dist/{Link-C1szPOri.js → Link-CnjMNEkc.js} +1 -1
- package/dist/{ListItem-nK0xrija.js → ListItem-D89Fc8ka.js} +2 -2
- package/dist/{LoaderWrapper-BEzoHtmn.js → LoaderWrapper-R6_MCKIE.js} +1 -1
- package/dist/{ManageIndividualComponent-DJE85k3F.js → ManageIndividualComponent-CGGLhS2M.js} +4 -4
- package/dist/{ManageTermsOfServiceComponent-HijCyHGy.js → ManageTermsOfServiceComponent-CJxu6GIR.js} +3 -3
- package/dist/{ManageTransferInstrumentComponent-C1f0GAQr.js → ManageTransferInstrumentComponent-ByOnGvTd.js} +9 -9
- package/dist/{MaskedInput-Ckb7nz68.js → MaskedInput-DRBOJEf6.js} +5 -5
- package/dist/{MaybeModal-DolShkyo.js → MaybeModal-Df1FFAGA.js} +2 -2
- package/dist/{Modal-EL9MXgbw.js → Modal-DOF5IfVB.js} +1 -1
- package/dist/{Name-BSak9KXo.js → Name-C-7hpLoa.js} +5 -5
- package/dist/{NewSummary-Buy5WzoM.js → NewSummary-EcwZRRy4.js} +2 -2
- package/dist/{OnboardingDropinComponent-BRlY6KUs.js → OnboardingDropinComponent-Dc-g6FKE.js} +74 -87
- package/dist/{PayoutDetailsDropin-nXxBue_s.js → PayoutDetailsDropin-D9-5E_Zt.js} +35 -33
- package/dist/{PayoutDetailsPage-DHEVWO5C.js → PayoutDetailsPage-kHdCfo5f.js} +4 -4
- package/dist/{RadioGroup-BTCmUbA0.js → RadioGroup-BRMU-RTM.js} +2 -2
- package/dist/{Review-CYOIXbFm.js → Review-DhZBBQAX.js} +6 -6
- package/dist/{RootBusinessDetailsPage-BZ1QnczY.js → RootBusinessDetailsPage-BVn1n1lr.js} +5 -5
- package/dist/{RootBusinessLinesPage-CcUJQEkg.js → RootBusinessLinesPage-Z5b-PsIO.js} +27 -25
- package/dist/{RootIndividualDetailsPage-C2GvNs12.js → RootIndividualDetailsPage-JyqRhwMu.js} +5 -5
- package/dist/{Select-BgkHFapB.js → Select-C7fRhcIh.js} +4 -4
- package/dist/{SignPCIComponent-CpAtbAKc.js → SignPCIComponent-B-h-k9vT.js} +13 -11
- package/dist/{SingpassSelection-DxXIwmVH.js → SingpassSelection-BbB-JbTj.js} +5 -5
- package/dist/{SoleProprietorshipPage-C8ENenc3.js → SoleProprietorshipPage-PSGbg4ly.js} +4 -4
- package/dist/{SourceOfFundsPage-D3dzjyGw.js → SourceOfFundsPage-Bf0U21Nr.js} +34 -32
- package/dist/{StepProgressIndicator-ZWEENbMM.js → StepProgressIndicator-CAGdT_m0.js} +1 -1
- package/dist/{StoreProvider-DKCxUPee.js → StoreProvider-BWAzl-p7.js} +4 -4
- package/dist/{Summary-BMM1xjqy.js → Summary-DfeXmN3-.js} +6 -6
- package/dist/{TaxInformationField-DkZhHedg.js → TaxInformationField-DxI2um5W.js} +20 -20
- package/dist/{TaxReportingDropin-gAAULI4S.js → TaxReportingDropin-CO4edpR7.js} +16 -14
- package/dist/{TextArea-u_xiMf1c.js → TextArea-DL3n0rXa.js} +2 -2
- package/dist/{TileGroup-r_3ClexW.js → TileGroup-CUTQ8er_.js} +2 -2
- package/dist/{TrustDetailsPage-B-5f_JZn.js → TrustDetailsPage-Cb-0BT8b.js} +34 -31
- package/dist/{TrustMemberCompanyPage-CyjbjBSw.js → TrustMemberCompanyPage-CTJAWg0S.js} +5 -5
- package/dist/{TrustMemberIndividualPage-Cfrri13a.js → TrustMemberIndividualPage-DBNfb0S1.js} +4 -4
- package/dist/{TrustMemberRoleAndTypePage-D4DQm-6B.js → TrustMemberRoleAndTypePage-CsYvBEGT.js} +21 -21
- package/dist/{TrustMembersOverview-DdCvtsr1.js → TrustMembersOverview-CALmu7o3.js} +10 -10
- package/dist/{UnincorporatedPartnershipIndividualPage-BF6xWHcg.js → UnincorporatedPartnershipIndividualPage-CE_OeqG0.js} +3 -3
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-DX_M1Ynr.js → UnincorporatedPartnershipMemberCompanyPage-CjDmlPW9.js} +5 -5
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-7gGtWzqV.js → UnincorporatedPartnershipMemberRoleAndTypePage-Dvm1OGpZ.js} +11 -11
- package/dist/{UnincorporatedPartnershipMembersOverview-qYm3eukg.js → UnincorporatedPartnershipMembersOverview-BTiVJZbT.js} +7 -7
- package/dist/{VerificationErrorAlert-CwjcCtq7.js → VerificationErrorAlert-DAkp1o0d.js} +2 -2
- package/dist/{ViewVerificationStatusComponent-Z8OcoBMo.js → ViewVerificationStatusComponent-BbwWdSvT.js} +2 -2
- package/dist/adyen-business-financing.js +2 -2
- package/dist/adyen-individual-configuration.js +2 -2
- package/dist/adyen-individual-status.js +2 -2
- package/dist/adyen-invited-decision-maker.js +2 -2
- package/dist/adyen-kyc-components.js +15 -15
- package/dist/adyen-onboarding.js +2 -2
- package/dist/adyen-terms-of-service-management.js +2 -2
- package/dist/adyen-terms-of-service-status.js +2 -2
- package/dist/adyen-transfer-instrument-configuration.js +2 -2
- package/dist/adyen-transfer-instrument-management.js +2 -2
- package/dist/adyen-verification-status.js +2 -2
- package/dist/{bafinUtils-Dsw4DufE.js → bafinUtils-DJX7-LsK.js} +1 -1
- package/dist/{commonValidators-dPJjXT_8.js → commonValidators-C8ETg50F.js} +1 -1
- package/dist/{dropinUtils-14DNwEiI.js → dropinUtils-CyBOixUs.js} +4 -4
- package/dist/{formUtils-DkgXgXMP.js → formUtils-BTFoT4DI.js} +3 -3
- package/dist/{getName-Z2gJognf.js → getName-DGmqqf0i.js} +1 -1
- package/dist/{getProblemsForEntity-DAFLyYyP.js → getProblemsForEntity-BSzPFj1N.js} +1 -1
- package/dist/{getTrustedFields-Yhy_d5h0.js → getTrustedFields-CE5acC9P.js} +1 -1
- package/dist/{isEmpty-boSQX897.js → isEmpty-CtjrTeQf.js} +1 -1
- package/dist/{japanSupportUtils-DC6ssQNc.js → japanSupportUtils-Bel_UtiI.js} +1 -1
- package/dist/{localizeDateString-6qoF3x9R.js → localizeDateString-D95RpcHX.js} +1 -1
- package/dist/{mapExistingFile-BMJL0nyv.js → mapExistingFile-DdZj3ZNR.js} +3 -3
- package/dist/{mapJpAddressSchemaToAddressLocalizations-B-YIRvOK.js → mapJpAddressSchemaToAddressLocalizations-B8No6DR_.js} +2 -2
- package/dist/{mapLegalEntityToIndividualSchema-CS9_Bo3k.js → mapLegalEntityToIndividualSchema-_snV8Ls9.js} +4 -4
- package/dist/{mapTransferInstrumentToPayoutAccount-DnaL9hYo.js → mapTransferInstrumentToPayoutAccount-BuYUtobH.js} +2 -2
- package/dist/{omitObscuredFieldsIfUnchanged-Bbes2BVX.js → omitObscuredFieldsIfUnchanged-Chwj7J0N.js} +3 -3
- package/dist/{patternValidators-B7j6YIOy.js → patternValidators-QFgZQvEQ.js} +1 -1
- package/dist/{process-field-configurations-BxJae0v4.js → process-field-configurations-Bv0FBNR2.js} +2 -2
- package/dist/{resolveEnvironment-_hyPvH0e.js → resolveEnvironment-QvJd3cKP.js} +3 -3
- package/dist/{roleMetadata-C9fdKfQp.js → roleMetadata-CMvyXmym.js} +2 -2
- package/dist/{types-BxcVVfxO.js → types-B7LP42Vj.js} +1 -1
- package/dist/{types-DO_d6cVD.js → types-DLLCdCdm.js} +2 -2
- package/dist/{types-DR1UyHuL.js → types-DV8mhU_5.js} +1 -1
- package/dist/{unincorporated-partnership-DYTYq9It.js → unincorporated-partnership-KIun-oCI.js} +1 -1
- package/dist/{useAssociatedLegalEntity-CuVMzeS0.js → useAssociatedLegalEntity-DGdBqIWJ.js} +1 -1
- package/dist/{useBusinessDetailsData-BDvJiv0U.js → useBusinessDetailsData-BrOwsA1X.js} +50 -48
- package/dist/{useCreateLegalEntity-BqiM6Z4D.js → useCreateLegalEntity-CBaUr82n.js} +1 -1
- package/dist/{useForm-C1botkQ9.js → useForm-BX1GY-0M.js} +3 -3
- package/dist/{useFormContext-DLkJgmS9.js → useFormContext-DVe1IcJN.js} +7 -7
- package/dist/{useGlobalData-BydN0B8P.js → useGlobalData-pbmqOcoq.js} +9 -9
- package/dist/{useMultiForm-ZSjb-MNl.js → useMultiForm-l0uNN24o.js} +4 -4
- package/dist/{useOnboardingStatus-CpkyRoX9.js → useOnboardingStatus-BktXInqR.js} +1 -1
- package/dist/{useScenarios-DNnpIr7b.js → useScenarios-Bsy4oXxN.js} +1 -1
- package/dist/useTaskLandedEvent-CuY6hD_P.js +25 -0
- package/dist/{useTermsOfServiceStatus-BH74ie3Z.js → useTermsOfServiceStatus-B7VhvyvR.js} +1 -1
- package/dist/{useToastContext-CN6SzXSt.js → useToastContext-CZLQ-qIG.js} +1 -1
- package/dist/{useUnincorporatedPartnershipMembers-z5aGwc0I.js → useUnincorporatedPartnershipMembers-B231FgH7.js} +4 -4
- package/dist/{useUpdateBusinessLines-D5WMs9_g.js → useUpdateBusinessLines-BypTKSVD.js} +4 -4
- package/dist/{useUpdateLegalEntity-8Sn5DTcn.js → useUpdateLegalEntity-Cx6hTFYF.js} +2 -2
- package/dist/{utils-Cbs8k6wy.js → utils-Bc65-dOS.js} +1 -1
- package/dist/{utils-CKmUVF30.js → utils-Bptup5am.js} +2 -2
- package/dist/{utils-TMcBiPzX.js → utils-CXs4Ciim.js} +1 -1
- package/dist/{utils-CL8Y2cxl.js → utils-DWNmwPub.js} +6 -6
- package/dist/{utils-Bx0ZXntJ.js → utils-TwGfjh3m.js} +3 -3
- package/dist/{validate-Bz4kAnZq.js → validate-3UOCFAVr.js} +1 -1
- package/dist/{validate-Dy8GuvEF.js → validate-CdzJprLf.js} +3 -3
- package/dist/{validationError-Cl6ZvFO8.js → validationError-uDS5kbR5.js} +2 -2
- package/package.json +1 -1
package/dist/{AcceptTermsOfServiceComponent-D61bfNW0.js → AcceptTermsOfServiceComponent-C2WkLHFZ.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-BWAzl-p7.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-CZLQ-qIG.js";
|
|
15
|
+
import { u as useTermsOfServiceStatus, a as useTermsOfServiceAcceptanceInfos } from "./useTermsOfServiceStatus-B7VhvyvR.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-jYXrAul6.js";
|
|
18
|
+
import { F as Field } from "./Field-CnMk9CSG.js";
|
|
19
|
+
import { L as LoaderWrapper } from "./LoaderWrapper-R6_MCKIE.js";
|
|
20
|
+
import { M as MaybeModal } from "./MaybeModal-Df1FFAGA.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-C7fRhcIh.js";
|
|
23
|
+
import { u as useForm } from "./useForm-BX1GY-0M.js";
|
|
24
|
+
import { u as useTaskLandedEvent } from "./useTaskLandedEvent-CuY6hD_P.js";
|
|
25
|
+
import { E as EndStateLayout } from "./EndStateLayout-B7Bk6joO.js";
|
|
26
|
+
import { F as FormNavigation } from "./FormNavigation-Bd2ZkyC5.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-DGmqqf0i.js";
|
|
29
|
+
import { l as localizeDateString } from "./localizeDateString-D95RpcHX.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-BWAzl-p7.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-BWAzl-p7.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-BWAzl-p7.js";
|
|
14
|
+
import { u as useForm } from "./useForm-BX1GY-0M.js";
|
|
15
|
+
import { c as createFormUtils } from "./formUtils-BTFoT4DI.js";
|
|
16
|
+
import { F as Field } from "./Field-CnMk9CSG.js";
|
|
17
|
+
import { I as InputText } from "./InputText-Dl-dY3j-.js";
|
|
18
|
+
import { S as Select } from "./Select-C7fRhcIh.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-CbqrNpDo.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-Bptup5am.js";
|
|
22
|
+
import { a as validateNotEmptyOnBlur } from "./patternValidators-QFgZQvEQ.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-BWAzl-p7.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-DG0EWNk6.js → BusinessFinancingComponent-VTHLWJIr.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-BWAzl-p7.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-Df1FFAGA.js";
|
|
14
|
+
import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-BUl2B6f8.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-BWAzl-p7.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-CBaUr82n.js";
|
|
13
|
+
import { a as useInvalidateRootLegalEntity, u as useToastContext } from "./useToastContext-CZLQ-qIG.js";
|
|
14
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-Cx6hTFYF.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-BWAzl-p7.js";
|
|
16
|
+
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-DVe1IcJN.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-DGdBqIWJ.js";
|
|
19
|
+
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-CyBOixUs.js";
|
|
20
|
+
import { u as useMultiForm } from "./useMultiForm-l0uNN24o.js";
|
|
21
|
+
import { u as useTaskLandedEvent } from "./useTaskLandedEvent-CuY6hD_P.js";
|
|
22
|
+
import { E as EndStateLayout } from "./EndStateLayout-B7Bk6joO.js";
|
|
23
|
+
import { E as ErrorPanel } from "./ErrorPanel-DV0UxjXE.js";
|
|
24
|
+
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-uDS5kbR5.js";
|
|
25
|
+
import { c as createFormUtils } from "./formUtils-BTFoT4DI.js";
|
|
26
|
+
import { l as localizeDateString } from "./localizeDateString-D95RpcHX.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-N_ZeTxCp.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-DLLCdCdm.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-CnMk9CSG.js";
|
|
32
|
+
import { L as Link } from "./Link-CnjMNEkc.js";
|
|
33
|
+
import { R as RadioGroup } from "./RadioGroup-BRMU-RTM.js";
|
|
34
|
+
import { I as InputText } from "./InputText-Dl-dY3j-.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-C7fRhcIh.js";
|
|
37
|
+
import { I as InputDate } from "./InputDate-xFgiqFL2.js";
|
|
38
|
+
import { C as Checkbox } from "./Checkbox-jYXrAul6.js";
|
|
39
|
+
import { A as Address } from "./Address-DWIT_6YL.js";
|
|
40
|
+
import { g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET, a as getAddressSchemaLabelsByCountry } from "./utils-Bptup5am.js";
|
|
41
|
+
import { C as CountryField } from "./CountryField-CbqrNpDo.js";
|
|
42
|
+
import { N as NewSummary } from "./NewSummary-EcwZRRy4.js";
|
|
43
|
+
import { b as businessFinancingMultiformRules } from "./validate-3UOCFAVr.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-BWAzl-p7.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
|
-
import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-
|
|
12
|
+
import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-BUl2B6f8.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-BWAzl-p7.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-D4SBQDqJ.js → BusinessTypeSelectionPage-CpTgzgPl.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-BWAzl-p7.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-Cx6hTFYF.js";
|
|
14
|
+
import { F as Field } from "./Field-CnMk9CSG.js";
|
|
15
|
+
import { L as LoaderWrapper } from "./LoaderWrapper-R6_MCKIE.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-CUTQ8er_.js";
|
|
18
|
+
import { u as useToastContext } from "./useToastContext-CZLQ-qIG.js";
|
|
19
|
+
import { u as useForm } from "./useForm-BX1GY-0M.js";
|
|
20
|
+
import { u as useTaskLandedEvent } from "./useTaskLandedEvent-CuY6hD_P.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-DWNmwPub.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-BWAzl-p7.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-BWAzl-p7.js";
|
|
13
|
+
import { M as Modal } from "./Modal-DOF5IfVB.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-jYXrAul6.js";
|
|
12
|
+
import { F as Field } from "./Field-CnMk9CSG.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-BWAzl-p7.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-DRBOJEf6.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-DJX7-LsK.js";
|
|
17
|
+
import { s as stateFormatGuidanceText, m as businessRegistrationNumberMasks, n as businessRegistrationNumberPatterns, M as MemoizedDocumentUpload } from "./TaxInformationField-DxI2um5W.js";
|
|
18
|
+
import { a as validateNotEmptyOnBlur, v as validatePatternOnBlur } from "./patternValidators-QFgZQvEQ.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-BRMU-RTM.js";
|
|
21
|
+
import { I as InputText } from "./InputText-Dl-dY3j-.js";
|
|
22
|
+
import { u as uppercase } from "./mapExistingFile-DdZj3ZNR.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-CdzJprLf.js";
|
|
25
|
+
import { u as useForm } from "./useForm-BX1GY-0M.js";
|
|
26
|
+
import { C as ContextGuidance } from "./ContextGuidance-0uhYPQ1I.js";
|
|
27
|
+
import { E as ErrorPanel } from "./ErrorPanel-DV0UxjXE.js";
|
|
28
|
+
import { c as createFormUtils } from "./formUtils-BTFoT4DI.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-DWIT_6YL.js";
|
|
31
31
|
import { memo } from "preact/compat";
|
|
32
|
-
import { u as usePageLandedEvent } from "./Summary-
|
|
32
|
+
import { u as usePageLandedEvent } from "./Summary-DfeXmN3-.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-BWAzl-p7.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-CnMk9CSG.js";
|
|
16
|
+
import { m as makeMask, a as nonInputs, n as numericInputs, s as spacer, M as MaskedInput, I as InputEmail } from "./MaskedInput-DRBOJEf6.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-BTFoT4DI.js";
|
|
19
|
+
import { S as Select } from "./Select-C7fRhcIh.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-BWAzl-p7.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-CnMk9CSG.js";
|
|
13
|
+
import { S as Select } from "./Select-C7fRhcIh.js";
|
|
14
|
+
import { u as useTranslation, ap as useDataset, aq as datasetIdentifier } from "./StoreProvider-BWAzl-p7.js";
|
|
15
15
|
const COUNTRY_FIELD = ["country"];
|
|
16
16
|
function CountryField({
|
|
17
17
|
name = "country",
|
package/dist/{CreateIndividualComponent-yT3Rqlai.js → CreateIndividualComponent-BA56j0QH.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-BWAzl-p7.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-BSzPFj1N.js";
|
|
13
|
+
import { I as IndividualDropin } from "./IndividualDropin-DkEAiK94.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-BWAzl-p7.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
|
]);
|