@adyen/kyc-components 4.5.0-beta.0 → 4.5.0-beta.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-CecGGc1X.js → AcceptTermsOfServiceComponent-BXyM_UD_.js} +15 -15
- package/dist/{AccountSetupRejected-SKRfXM45.js → AccountSetupRejected-C0yJZGnr.js} +1 -1
- package/dist/{ActionBar-NfqEa4Lj.js → ActionBar-BV4k-dhc.js} +1 -1
- package/dist/{Address-DmC7K_9S.js → Address-VvcSEiTE.js} +9 -9
- package/dist/{Avatar-DkqYMxqu.js → Avatar-Carj3nfQ.js} +1 -1
- package/dist/{BusinessFinancingComponent-cYBfPHpF.js → BusinessFinancingComponent-CtJqqwuU.js} +5 -5
- package/dist/{BusinessFinancingDropin-jEPDLEm2.js → BusinessFinancingDropin-FrBnYrTB.js} +27 -27
- package/dist/{BusinessFinancingPage-D_bJLl-t.js → BusinessFinancingPage-BWteelOc.js} +3 -3
- package/dist/{BusinessTypeSelectionPage-CZeSwYus.js → BusinessTypeSelectionPage-BS1D5JQX.js} +8 -8
- package/dist/{Checkbox-DEpPoJN_.js → Checkbox-DnWiEg_u.js} +1 -1
- package/dist/{Confirm-CYgHkICM.js → Confirm-BJg0m_d-.js} +2 -2
- package/dist/{ConstitutionalDocument-DgivwkYj.js → ConstitutionalDocument-C8vWbwmM.js} +19 -21
- package/dist/{ContactDetails-opl6-mP9.js → ContactDetails-CyIJ5Ky2.js} +5 -5
- package/dist/{ContextGuidance-gC4RuGIB.js → ContextGuidance-C98m5n_m.js} +1 -1
- package/dist/{CountryField-BNisulC2.js → CountryField-D9-bXI4a.js} +3 -3
- package/dist/{CreateIndividualComponent-BaXw9qdQ.js → CreateIndividualComponent-Cunw7KLs.js} +6 -6
- package/dist/{CreateTransferInstrumentComponent-Dj0ENBoI.js → CreateTransferInstrumentComponent-BZj4nI2b.js} +4 -4
- package/dist/{Currency-C1POIMJZ.js → Currency-D3j0A_bm.js} +6 -6
- package/dist/{CustomerSupport-BZYjtYIh.js → CustomerSupport-B-vg6XE1.js} +9 -9
- package/dist/{DebugModal-BfObi6jq.js → DebugModal-DUrWpKmH.js} +6 -6
- package/dist/{DecisionMakerDetailsPage-B9TlNZ0D.js → DecisionMakerDetailsPage-Dts37GYg.js} +7 -7
- package/dist/{DecisionMakers-DH44nnKN.js → DecisionMakers-CUzS8xEV.js} +111 -41
- package/dist/{Dropzone-BbFC9YFN.js → Dropzone-DUVyfgqv.js} +3 -3
- package/dist/{EmbeddedStatus-C80N4YnY.js → EmbeddedStatus-C199S4YI.js} +2 -2
- package/dist/{EndStateLayout-LuO-W__f.js → EndStateLayout-Cje2JmKE.js} +1 -1
- package/dist/{EntityAssociation-CqyEchYv.js → EntityAssociation-DftI9bIe.js} +4 -4
- package/dist/{EntityGuidanceStatus-kD9uByJU.js → EntityGuidanceStatus-Drsl6I5U.js} +3 -3
- package/dist/{ErrorPanel-Wws7gA5m.js → ErrorPanel-CXR5_PU5.js} +1 -1
- package/dist/{Field-BnYaQCpL.js → Field-DvyeNUpx.js} +1 -1
- package/dist/{FormNavigation-DdP2rb2I.js → FormNavigation-7Ro7W85X.js} +2 -2
- package/dist/{Individual.rules-BOr9HYuB.js → Individual.rules-BOTbJmzq.js} +5 -5
- package/dist/{IndividualDropin-DQrqvsVq.js → IndividualDropin-CJ_mQfQH.js} +54 -50
- package/dist/{InputDate-D7tf-vyK.js → InputDate-B_SqcQiB.js} +1 -1
- package/dist/{InputText-DJmeZHiM.js → InputText-CUwGMcdr.js} +1 -1
- package/dist/{Introduction-C5ZzdtBf.js → Introduction-Ba9cqJgc.js} +3 -3
- package/dist/{JpAddress-BLSFMUBF.js → JpAddress-DH5l5uZU.js} +8 -8
- package/dist/{LandingLayout-DCtOMPr1.js → LandingLayout-Ek4HVR6e.js} +1 -1
- package/dist/{LegalCompanyNameField-C4QSM1kF.js → LegalCompanyNameField-SrPs0ey2.js} +5 -5
- package/dist/{LegalRepresentativeDetailsPage-BNnoUySl.js → LegalRepresentativeDetailsPage-BRRHdhTF.js} +4 -4
- package/dist/{Link-DHZbclel.js → Link-BtddS049.js} +1 -1
- package/dist/{ListItem-DRdYYUwm.js → ListItem-C5y7CUNU.js} +2 -2
- package/dist/{LoaderWrapper-DbnjDZaG.js → LoaderWrapper-3M-aGlgv.js} +1 -1
- package/dist/{ManageIndividualComponent-B8NRYoKJ.js → ManageIndividualComponent-CmIN-9NW.js} +4 -4
- package/dist/{ManageTermsOfServiceComponent-BhqRq0Vj.js → ManageTermsOfServiceComponent-BPEbeFnv.js} +4 -4
- package/dist/{ManageTransferInstrumentComponent-Cn_V6mz7.js → ManageTransferInstrumentComponent-BODBnatc.js} +10 -10
- package/dist/{MaskedInput-Bmnp6vfE.js → MaskedInput-C6fmDUWY.js} +4 -4
- package/dist/{MaybeModal-JqIe8Hi4.js → MaybeModal-BjPlvKWN.js} +2 -2
- package/dist/{Modal-C4g499L3.js → Modal-DtbNibA7.js} +1 -1
- package/dist/{Name-BAP43zgz.js → Name-BEtR6QAR.js} +4 -4
- package/dist/{NewSummary-D04coEyZ.js → NewSummary-L9vDgRZo.js} +1 -1
- package/dist/{OnboardingDropinComponent-CYZHcP1A.js → OnboardingDropinComponent-m0goHrcf.js} +71 -71
- package/dist/{PayoutDetailsDropin-CDOhcFNG.js → PayoutDetailsDropin-Du1kInvN.js} +35 -35
- package/dist/{PayoutDetailsPage-B6ObdKoo.js → PayoutDetailsPage-DJ0S-VFw.js} +4 -4
- package/dist/{RadioGroup-Brbd7IGZ.js → RadioGroup-BArQYFSH.js} +1 -1
- package/dist/{RadioGroupCard-CLjm3HWF.js → RadioGroupCard-BhsLedMl.js} +1 -1
- package/dist/{Review-CUs3fAkl.js → Review-BFtHM-_l.js} +5 -5
- package/dist/{RootBusinessDetailsPage-DbQaq7S-.js → RootBusinessDetailsPage-CP1Qlxn_.js} +4 -4
- package/dist/{RootBusinessLinesPage-ClrIGBCx.js → RootBusinessLinesPage-BX5u3Hmv.js} +23 -23
- package/dist/{RootIndividualDetailsPage-C7NXtN3M.js → RootIndividualDetailsPage-CogMcCqy.js} +5 -5
- package/dist/{Select-DeoKjJst.js → Select-F9XF19j-.js} +3 -3
- package/dist/{SignPCIComponent-CBm2s71f.js → SignPCIComponent-CcKZHhKO.js} +11 -11
- package/dist/{SingpassSelection-D3GBr1C7.js → SingpassSelection-DNd8yLq5.js} +5 -5
- package/dist/{SoleProprietorshipPage-3kI9hRjQ.js → SoleProprietorshipPage-CgLzzGgA.js} +3 -3
- package/dist/{SourceOfFundsPage-BaN1Heuy.js → SourceOfFundsPage-C3sCf2D-.js} +29 -29
- package/dist/{StepProgressIndicator-DTMH_ysU.js → StepProgressIndicator-DCJaXcyU.js} +1 -1
- package/dist/{StoreProvider-CDvuKNZP.js → StoreProvider-CtRQBY2O.js} +14 -4
- package/dist/{Summary-DrjyVpAf.js → Summary-CkB8Ce4Y.js} +5 -5
- package/dist/{TaxInformationField-P4kd2RBf.js → TaxInformationField-CIW8ZkXT.js} +18 -18
- package/dist/{TaxReportingDropin-DoLfjPDT.js → TaxReportingDropin-CKo23oFC.js} +13 -13
- package/dist/{TextArea-8HzHbl8a.js → TextArea-CqSkVOwP.js} +1 -1
- package/dist/{TileGroup-C7pJdtfG.js → TileGroup-B7P02lrA.js} +2 -2
- package/dist/{TrustDetailsPage-CZxWlMFk.js → TrustDetailsPage-GDcDOm-m.js} +30 -30
- package/dist/{TrustMemberCompanyPage-ChlEiIX1.js → TrustMemberCompanyPage-BHZIj-0f.js} +4 -4
- package/dist/{TrustMemberIndividualPage-D0ErvJ2Q.js → TrustMemberIndividualPage-6V_pMESO.js} +4 -4
- package/dist/{TrustMemberRoleAndTypePage--2DWDQYD.js → TrustMemberRoleAndTypePage-DrI1RLeA.js} +20 -20
- package/dist/{TrustMembersOverview-1pruZb7Q.js → TrustMembersOverview-DXOQXI1Y.js} +9 -9
- package/dist/{UnincorporatedPartnershipIndividualPage-DY5POsz3.js → UnincorporatedPartnershipIndividualPage-2KjNXWyn.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-CVS8HujV.js → UnincorporatedPartnershipMemberCompanyPage-aLY_7abb.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-BiWrP7jm.js → UnincorporatedPartnershipMemberRoleAndTypePage-BrKVVNaX.js} +10 -10
- package/dist/{UnincorporatedPartnershipMembersOverview-CwihTjBJ.js → UnincorporatedPartnershipMembersOverview-CkDyHEwU.js} +6 -6
- package/dist/{VerificationErrorAlert-C5fltP_W.js → VerificationErrorAlert-B-D_i0kq.js} +2 -2
- package/dist/{ViewVerificationStatusComponent-THjhd99f.js → ViewVerificationStatusComponent-BX95t08i.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 +8 -8
- 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-BPLSJ1MR.js → bafinUtils-I1HEt8XI.js} +1 -1
- package/dist/{commonValidators-MPgcG-b2.js → commonValidators-Cl1GZ493.js} +1 -1
- package/dist/{dropinUtils-CH5elK0n.js → dropinUtils-DqjLOzes.js} +3 -3
- package/dist/{en-US-CjjPhkB5.js → en-US-B-qSAb-7.js} +2 -1
- package/dist/en-US-CKLQU2sJ.js +13 -0
- package/dist/{formUtils-Bl8SBmWK.js → formUtils-DUWRC8eU.js} +2 -2
- package/dist/{getName-C_u_P9U0.js → getName-BoZBBtwY.js} +1 -1
- package/dist/{getProblemsForEntity-BZRck7Nu.js → getProblemsForEntity-D0yVnw4F.js} +1 -1
- package/dist/{iframeWidget-DRlrwi6o.js → iframeWidget-CLyAXPUv.js} +3 -3
- package/dist/{isEmpty-JkZqLeJ_.js → isEmpty-Br_hVWxS.js} +1 -1
- package/dist/{japanSupportUtils-B6aNrTga.js → japanSupportUtils-dRgsA3KL.js} +1 -1
- package/dist/{localizeDateString-DJzFcyYr.js → localizeDateString-Djdr7FjP.js} +1 -1
- package/dist/{mapExistingFile-ebhAtDpQ.js → mapExistingFile-Dx1XZcDi.js} +3 -3
- package/dist/{mapJpAddressSchemaToAddressLocalizations-6-TZehkD.js → mapJpAddressSchemaToAddressLocalizations-QZbaLboo.js} +1 -1
- package/dist/{mapLegalEntityToIndividualSchema-DV9h15hI.js → mapLegalEntityToIndividualSchema-DixoLFcF.js} +3 -3
- package/dist/{mapTransferInstrumentToPayoutAccount-DtwUb1q5.js → mapTransferInstrumentToPayoutAccount-B2LC8AhG.js} +1 -1
- package/dist/{patternValidators-ORRO5SAA.js → patternValidators-Bmlm3yXY.js} +1 -1
- package/dist/{process-field-configurations-Cb30tRmq.js → process-field-configurations-Wt51XtVf.js} +1 -1
- package/dist/{resolveEnvironment-Btgj9fGu.js → resolveEnvironment-C2eiXOWu.js} +3 -3
- package/dist/{roleMetadata-YdrYEXdt.js → roleMetadata-At7etSLn.js} +2 -2
- package/dist/types/api/invitations/useInvitationStatuses.d.ts +8 -0
- package/dist/types/api/queryKeys.d.ts +2 -1
- package/dist/types/components/Individual/tasks/DecisionMakers/DecisionMakerListItem/DecisionMakerListItem.d.ts +8 -0
- package/dist/types/components/Shared/TaskVerificationStatus/TaskVerificationStatus.d.ts +1 -1
- package/dist/types/utils/not.d.ts +12 -0
- package/dist/{types-DV-k9m0i.js → types-D8JaZ85M.js} +1 -1
- package/dist/{types-DhC6v0PF.js → types-DhT9qDj4.js} +1 -1
- package/dist/{types-DItwm0zf.js → types-NTd5VzhV.js} +1 -1
- package/dist/{unincorporated-partnership-CIe8e4wR.js → unincorporated-partnership-Cr2ITyyK.js} +1 -1
- package/dist/{useAssociatedLegalEntity-Cn5H9wTJ.js → useAssociatedLegalEntity-Brdn35Qd.js} +1 -1
- package/dist/{useBusinessDetailsData-FR_NRvw9.js → useBusinessDetailsData-JsjuBZ9t.js} +45 -45
- package/dist/{useCreateLegalEntity-p2CrQlAX.js → useCreateLegalEntity-g5kQOZ9m.js} +1 -1
- package/dist/{useForm-C8AWA3sh.js → useForm-HbnDuvKE.js} +2 -2
- package/dist/{useFormContext-C1SR24Ki.js → useFormContext-BDIK0MuQ.js} +6 -6
- package/dist/{useGlobalData-CLlOpZnu.js → useGlobalData-k3L8u15M.js} +8 -8
- package/dist/{useMultiForm-DPExov8c.js → useMultiForm-jpDXpq32.js} +3 -3
- package/dist/{useOnboardingStatus-BD-8KaSZ.js → useOnboardingStatus-Ceyw-8UY.js} +1 -1
- package/dist/{useScenarios-DJzsH2gd.js → useScenarios-CDOZ5wDL.js} +1 -1
- package/dist/{useTermsOfServiceStatus-CbE9Ro0N.js → useTermsOfServiceStatus-DQGKeH23.js} +1 -1
- package/dist/{useToastContext-D9-q58mO.js → useToastContext-ueXW9kLE.js} +1 -1
- package/dist/{useUnincorporatedPartnershipMembers-DB6EK6uW.js → useUnincorporatedPartnershipMembers-9TydMMGg.js} +4 -4
- package/dist/{useUpdateBusinessLines-1pywGJxr.js → useUpdateBusinessLines-DsJu89ZQ.js} +3 -3
- package/dist/{useUpdateLegalEntity-BswSgPWT.js → useUpdateLegalEntity-efvM5sQR.js} +2 -2
- package/dist/{utils-DgFq9CIB.js → utils-1lu1Q89t.js} +1 -1
- package/dist/{utils-CFBp4SLl.js → utils-BfJMeYST.js} +1 -1
- package/dist/{utils-B-6ygFSY.js → utils-Bv46v1Xz.js} +2 -2
- package/dist/{utils-D4c7_3F2.js → utils-Dem3HCU2.js} +5 -5
- package/dist/{utils-BQ0Na9UT.js → utils-DkzKcUg0.js} +1 -1
- package/dist/{validate-CdMI5st2.js → validate-Bl2LVQvh.js} +2 -2
- package/dist/{validate-D__xHxXc.js → validate-BlNbroHx.js} +1 -1
- package/dist/{validationError-NidfTgvm.js → validationError-BZR2ZNhw.js} +1 -1
- package/package.json +1 -1
- package/dist/en-US-UidrdpJ0.js +0 -13
package/dist/{AcceptTermsOfServiceComponent-CecGGc1X.js → AcceptTermsOfServiceComponent-BXyM_UD_.js}
RENAMED
|
@@ -7,25 +7,25 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, h as httpPost, j as httpGet, m as createLogger, u as useTranslation, z as useAnalyticsContext, J as useExperimentsContext, aw as getLanguageCode, G as Alert, W as Button, L as LegalEntityTypes, a3 as getOwnSignatories, a1 as doesLegalEntityRequiresLegalRepresentative, a2 as getLegalRepresentative, a as addResourceBundles, R as useLegalEntity, U as ROOT_LE, V as Loader, y as TaskTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { b as useApiContext, h as httpPost, j as httpGet, m as createLogger, u as useTranslation, z as useAnalyticsContext, J as useExperimentsContext, aw as getLanguageCode, G as Alert, W as Button, L as LegalEntityTypes, a3 as getOwnSignatories, a1 as doesLegalEntityRequiresLegalRepresentative, a2 as getLegalRepresentative, a as addResourceBundles, R as useLegalEntity, U as ROOT_LE, V as Loader, y as TaskTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-CtRQBY2O.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-ueXW9kLE.js";
|
|
15
|
+
import { u as useTermsOfServiceStatus, a as useTermsOfServiceAcceptanceInfos } from "./useTermsOfServiceStatus-DQGKeH23.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-DnWiEg_u.js";
|
|
18
|
+
import { F as Field } from "./Field-DvyeNUpx.js";
|
|
19
|
+
import { L as LoaderWrapper } from "./LoaderWrapper-3M-aGlgv.js";
|
|
20
|
+
import { M as MaybeModal } from "./MaybeModal-BjPlvKWN.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 { E as EndStateLayout } from "./EndStateLayout-
|
|
25
|
-
import { F as FormNavigation } from "./FormNavigation-
|
|
22
|
+
import { S as Select } from "./Select-F9XF19j-.js";
|
|
23
|
+
import { u as useForm } from "./useForm-HbnDuvKE.js";
|
|
24
|
+
import { E as EndStateLayout } from "./EndStateLayout-Cje2JmKE.js";
|
|
25
|
+
import { F as FormNavigation } from "./FormNavigation-7Ro7W85X.js";
|
|
26
26
|
import { d as downloadFile } from "./file-CiG1D0zy.js";
|
|
27
|
-
import { g as getLegalEntityNameBasedOnType } from "./getName-
|
|
28
|
-
import { l as localizeDateString } from "./localizeDateString-
|
|
27
|
+
import { g as getLegalEntityNameBasedOnType } from "./getName-BoZBBtwY.js";
|
|
28
|
+
import { l as localizeDateString } from "./localizeDateString-Djdr7FjP.js";
|
|
29
29
|
import { C as ContractViewer } from "./ContractViewer-DcQHIGMU.js";
|
|
30
30
|
const acceptTermsOfService = async (legalEntityId, baseUrl, termsOfServiceDocumentId, data) => {
|
|
31
31
|
return httpPost(
|
|
@@ -584,9 +584,9 @@ function AcceptTermsOfServiceComponent({
|
|
|
584
584
|
}
|
|
585
585
|
const { i18n } = useTranslation();
|
|
586
586
|
addResourceBundles(i18n, [
|
|
587
|
-
{ 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-
|
|
587
|
+
{ 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-CtRQBY2O.js").then((n) => n.bT), "../../../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) },
|
|
588
588
|
{ 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) },
|
|
589
|
-
{ 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-
|
|
589
|
+
{ 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) }
|
|
590
590
|
]);
|
|
591
591
|
const [stepsData, setStepsData] = useState({
|
|
592
592
|
unAcceptedTermsOfServiceTypes: [],
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { u as useTranslation, bD as AlertIcon, aB as Header, bE as DropinLayout } from "./StoreProvider-
|
|
11
|
+
import { u as useTranslation, bD as AlertIcon, aB as Header, bE as DropinLayout } from "./StoreProvider-CtRQBY2O.js";
|
|
12
12
|
function AccountSetupRejected() {
|
|
13
13
|
const { t } = useTranslation("common");
|
|
14
14
|
const content = /* @__PURE__ */ jsxs("div", { children: [
|
|
@@ -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, h as httpPost, j as httpGet, u as useTranslation, B as Icon, z as useAnalyticsContext, ac as translateTranslatable, aa as CountryCodes, ap as useDataset, aq as datasetIdentifier, bd as getFormattingRegEx, be as SPECIAL_CHARS, bf as trimValWithOneSpace, m as createLogger, aK as hasText, aC as matchesRegex, aG as isInvalidName, aF as hasRepeatedCharacters, bg as isValidMinLength, bh as chomeAndBanchiValidator, aD as NO_ALPHABET_REGEX, aE as EMOJI_REGEX, bi as ADDRESS_VALID_CHAR_REGEX, bj as NO_ALPHABET_UNICODE_REGEX, J as useExperimentsContext, ao as entriesOf, bk 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, h as httpPost, j as httpGet, u as useTranslation, B as Icon, z as useAnalyticsContext, ac as translateTranslatable, aa as CountryCodes, ap as useDataset, aq as datasetIdentifier, bd as getFormattingRegEx, be as SPECIAL_CHARS, bf as trimValWithOneSpace, m as createLogger, aK as hasText, aC as matchesRegex, aG as isInvalidName, aF as hasRepeatedCharacters, bg as isValidMinLength, bh as chomeAndBanchiValidator, aD as NO_ALPHABET_REGEX, aE as EMOJI_REGEX, bi as ADDRESS_VALID_CHAR_REGEX, bj as NO_ALPHABET_UNICODE_REGEX, J as useExperimentsContext, ao as entriesOf, bk as getMaxLengthByFieldAndCountry } from "./StoreProvider-CtRQBY2O.js";
|
|
14
|
+
import { u as useForm } from "./useForm-HbnDuvKE.js";
|
|
15
|
+
import { c as createFormUtils } from "./formUtils-DUWRC8eU.js";
|
|
16
|
+
import { F as Field } from "./Field-DvyeNUpx.js";
|
|
17
|
+
import { I as InputText } from "./InputText-CUwGMcdr.js";
|
|
18
|
+
import { S as Select } from "./Select-F9XF19j-.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-D9-bXI4a.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-DkzKcUg0.js";
|
|
22
|
+
import { a as validateNotEmptyOnBlur } from "./patternValidators-Bmlm3yXY.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 { B as Icon } from "./StoreProvider-
|
|
12
|
+
import { B as Icon } from "./StoreProvider-CtRQBY2O.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-cYBfPHpF.js → BusinessFinancingComponent-CtJqqwuU.js}
RENAMED
|
@@ -7,11 +7,11 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { u as useTranslation, R as useLegalEntity, a9 as getLegalEntityCountry, a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper, V as Loader } from "./StoreProvider-
|
|
10
|
+
import { u as useTranslation, R as useLegalEntity, a9 as getLegalEntityCountry, a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper, V as Loader } from "./StoreProvider-CtRQBY2O.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-BjPlvKWN.js";
|
|
14
|
+
import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-FrBnYrTB.js";
|
|
15
15
|
function BusinessFinancingComponent({
|
|
16
16
|
legalEntityId,
|
|
17
17
|
onSubmitSuccess,
|
|
@@ -25,8 +25,8 @@ 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-
|
|
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-
|
|
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-CtRQBY2O.js").then((n) => n.bT), "../../../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
|
+
{ 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",
|
|
32
32
|
importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../EFP/tasks/BusinessFinancingDropin/language/bg-BG.json": () => import("./bg-BG-Cj3_UGTi.js"), "../../EFP/tasks/BusinessFinancingDropin/language/cs-CZ.json": () => import("./cs-CZ-DxfB5dcV.js"), "../../EFP/tasks/BusinessFinancingDropin/language/da-DK.json": () => import("./da-DK-BfsYpvel.js"), "../../EFP/tasks/BusinessFinancingDropin/language/de-DE.json": () => import("./de-DE-CEsDXBn-.js"), "../../EFP/tasks/BusinessFinancingDropin/language/el-GR.json": () => import("./el-GR-CM3bIzr7.js"), "../../EFP/tasks/BusinessFinancingDropin/language/en-US.json": () => import("./en-US-DIlZD5Wh.js"), "../../EFP/tasks/BusinessFinancingDropin/language/es-ES.json": () => import("./es-ES-BWFP5itn.js"), "../../EFP/tasks/BusinessFinancingDropin/language/et-EE.json": () => import("./et-EE-CcXrAAc7.js"), "../../EFP/tasks/BusinessFinancingDropin/language/fi-FI.json": () => import("./fi-FI-DenK0WPz.js"), "../../EFP/tasks/BusinessFinancingDropin/language/fr-FR.json": () => import("./fr-FR-BmTswZU5.js"), "../../EFP/tasks/BusinessFinancingDropin/language/hr-HR.json": () => import("./hr-HR-SDrDZRLV.js"), "../../EFP/tasks/BusinessFinancingDropin/language/hu-HU.json": () => import("./hu-HU-DSVf2zbX.js"), "../../EFP/tasks/BusinessFinancingDropin/language/it-IT.json": () => import("./it-IT-DJe5OflH.js"), "../../EFP/tasks/BusinessFinancingDropin/language/ja-JP.json": () => import("./ja-JP-GGV_-V6p.js"), "../../EFP/tasks/BusinessFinancingDropin/language/lt-LT.json": () => import("./lt-LT-C9nsCODy.js"), "../../EFP/tasks/BusinessFinancingDropin/language/lv-LV.json": () => import("./lv-LV-Bue450PR.js"), "../../EFP/tasks/BusinessFinancingDropin/language/nl-NL.json": () => import("./nl-NL-4Mv4rnYy.js"), "../../EFP/tasks/BusinessFinancingDropin/language/no-NO.json": () => import("./no-NO-ByCZ3mhz.js"), "../../EFP/tasks/BusinessFinancingDropin/language/pl-PL.json": () => import("./pl-PL-DCi5Lf4k.js"), "../../EFP/tasks/BusinessFinancingDropin/language/pt-BR.json": () => import("./pt-BR-DRz5cG4o.js"), "../../EFP/tasks/BusinessFinancingDropin/language/pt-PT.json": () => import("./pt-PT-ChRbnn0k.js"), "../../EFP/tasks/BusinessFinancingDropin/language/ro-RO.json": () => import("./ro-RO-Dgie5z3m.js"), "../../EFP/tasks/BusinessFinancingDropin/language/sk-SK.json": () => import("./sk-SK-bMDoNP19.js"), "../../EFP/tasks/BusinessFinancingDropin/language/sl-SI.json": () => import("./sl-SI-DKSu25rO.js"), "../../EFP/tasks/BusinessFinancingDropin/language/sv-SE.json": () => import("./sv-SE-Co7Nkd06.js") }), `../../EFP/tasks/BusinessFinancingDropin/language/${lang}.json`, 7)
|
|
@@ -9,37 +9,37 @@
|
|
|
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, j as httpGet, u as useTranslation, O as Typography, aB as Header, am as datasetUtilities, ac as translateTranslatable, z as useAnalyticsContext, q as hasSolePropInLegalEntity, k as useSettingsContext, V as Loader, W as Button } from "./StoreProvider-
|
|
16
|
-
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-
|
|
12
|
+
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-g5kQOZ9m.js";
|
|
13
|
+
import { a as useInvalidateRootLegalEntity, u as useToastContext } from "./useToastContext-ueXW9kLE.js";
|
|
14
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-efvM5sQR.js";
|
|
15
|
+
import { az as reverseMapping, aA as isEeaCountry, L as LegalEntityTypes, an as cloneObject, b as useApiContext, j as httpGet, u as useTranslation, O as Typography, aB as Header, am as datasetUtilities, ac as translateTranslatable, z as useAnalyticsContext, q as hasSolePropInLegalEntity, k as useSettingsContext, V as Loader, W as Button } from "./StoreProvider-CtRQBY2O.js";
|
|
16
|
+
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-BDIK0MuQ.js";
|
|
17
17
|
import { S as SettingNames } from "./types-CQ2p58-6.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 { E as EndStateLayout } from "./EndStateLayout-
|
|
22
|
-
import { E as ErrorPanel } from "./ErrorPanel-
|
|
23
|
-
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-
|
|
24
|
-
import { c as createFormUtils } from "./formUtils-
|
|
25
|
-
import { l as localizeDateString } from "./localizeDateString-
|
|
26
|
-
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-
|
|
18
|
+
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-Brdn35Qd.js";
|
|
19
|
+
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-DqjLOzes.js";
|
|
20
|
+
import { u as useMultiForm } from "./useMultiForm-jpDXpq32.js";
|
|
21
|
+
import { E as EndStateLayout } from "./EndStateLayout-Cje2JmKE.js";
|
|
22
|
+
import { E as ErrorPanel } from "./ErrorPanel-CXR5_PU5.js";
|
|
23
|
+
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-BZR2ZNhw.js";
|
|
24
|
+
import { c as createFormUtils } from "./formUtils-DUWRC8eU.js";
|
|
25
|
+
import { l as localizeDateString } from "./localizeDateString-Djdr7FjP.js";
|
|
26
|
+
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-D3j0A_bm.js";
|
|
27
27
|
import { f as formatObject } from "./utils-DNSfZiio.js";
|
|
28
|
-
import { c as currencyByCountry } from "./types-
|
|
28
|
+
import { c as currencyByCountry } from "./types-NTd5VzhV.js";
|
|
29
29
|
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-
|
|
30
|
+
import { F as Field } from "./Field-DvyeNUpx.js";
|
|
31
|
+
import { L as Link } from "./Link-BtddS049.js";
|
|
32
|
+
import { R as RadioGroup } from "./RadioGroup-BArQYFSH.js";
|
|
33
|
+
import { I as InputText } from "./InputText-CUwGMcdr.js";
|
|
34
34
|
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-
|
|
35
|
+
import { S as Select } from "./Select-F9XF19j-.js";
|
|
36
|
+
import { I as InputDate } from "./InputDate-B_SqcQiB.js";
|
|
37
|
+
import { C as Checkbox } from "./Checkbox-DnWiEg_u.js";
|
|
38
|
+
import { A as Address } from "./Address-VvcSEiTE.js";
|
|
39
|
+
import { g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET, a as getAddressSchemaLabelsByCountry } from "./utils-DkzKcUg0.js";
|
|
40
|
+
import { C as CountryField } from "./CountryField-D9-bXI4a.js";
|
|
41
|
+
import { N as NewSummary } from "./NewSummary-L9vDgRZo.js";
|
|
42
|
+
import { b as businessFinancingMultiformRules } from "./validate-BlNbroHx.js";
|
|
43
43
|
const businessFinancingBaseMapping = {
|
|
44
44
|
legalProceedingsDate: "organization.dateOfInitiationOfLegalProceeding",
|
|
45
45
|
legalInformationInsolvency: "organization.statusOfLegalProceeding",
|
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { u as useTranslation, R as useLegalEntity, U as ROOT_LE, a as addResourceBundles, V as Loader, a9 as getLegalEntityCountry, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { u as useTranslation, R as useLegalEntity, U as ROOT_LE, a as addResourceBundles, V as Loader, a9 as getLegalEntityCountry, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-CtRQBY2O.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
|
-
import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-
|
|
12
|
+
import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-FrBnYrTB.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-CtRQBY2O.js").then((n) => n.bT), "../../../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-CZeSwYus.js → BusinessTypeSelectionPage-BS1D5JQX.js}
RENAMED
|
@@ -8,16 +8,16 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
|
-
import { m as createLogger, u as useTranslation, z as useAnalyticsContext, v as useAccountHolder, bC as getCapabilities, a9 as getLegalEntityCountry, L as LegalEntityTypes, O as Typography, W as Button, R as useLegalEntity, U as ROOT_LE, V as Loader } from "./StoreProvider-
|
|
11
|
+
import { m as createLogger, u as useTranslation, z as useAnalyticsContext, v as useAccountHolder, bC as getCapabilities, a9 as getLegalEntityCountry, L as LegalEntityTypes, O as Typography, W as Button, R as useLegalEntity, U as ROOT_LE, V as Loader } from "./StoreProvider-CtRQBY2O.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-efvM5sQR.js";
|
|
14
|
+
import { F as Field } from "./Field-DvyeNUpx.js";
|
|
15
|
+
import { L as LoaderWrapper } from "./LoaderWrapper-3M-aGlgv.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 useSelectionOptions, g as getBusinessType, a as getDefaultLegalArrangementOrSuborganizationType, l as legalArrangementMetadata, b as getTargetLegalEntityType, c as businessTypeIcons, d as determineOrganizationTypeToUpdate } from "./utils-
|
|
17
|
+
import { T as TileGroup } from "./TileGroup-B7P02lrA.js";
|
|
18
|
+
import { u as useToastContext } from "./useToastContext-ueXW9kLE.js";
|
|
19
|
+
import { u as useForm } from "./useForm-HbnDuvKE.js";
|
|
20
|
+
import { u as useSelectionOptions, g as getBusinessType, a as getDefaultLegalArrangementOrSuborganizationType, l as legalArrangementMetadata, b as getTargetLegalEntityType, c as businessTypeIcons, d as determineOrganizationTypeToUpdate } from "./utils-Dem3HCU2.js";
|
|
21
21
|
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
22
|
const logger$1 = createLogger();
|
|
23
23
|
const getBusinessTypeExamplesForCountry = async (country) => {
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import { z as useAnalyticsContext } from "./StoreProvider-
|
|
12
|
+
import { z as useAnalyticsContext } from "./StoreProvider-CtRQBY2O.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, z as useAnalyticsContext, O as Typography, W as Button } from "./StoreProvider-
|
|
13
|
-
import { M as Modal } from "./Modal-
|
|
12
|
+
import { u as useTranslation, z as useAnalyticsContext, O as Typography, W as Button } from "./StoreProvider-CtRQBY2O.js";
|
|
13
|
+
import { M as Modal } from "./Modal-DtbNibA7.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] = "caefe9ab-c594-4fc7-9096-ddf89cbaa578", e._sentryDebugIdIdentifier = "sentry-dbid-caefe9ab-c594-4fc7-9096-ddf89cbaa578");
|
|
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 { u as useTranslation, aa as CountryCodes, ac as translateTranslatable, J as useExperimentsContext, 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-DnWiEg_u.js";
|
|
12
|
+
import { F as Field } from "./Field-DvyeNUpx.js";
|
|
13
|
+
import { u as useTranslation, aa as CountryCodes, ac as translateTranslatable, J as useExperimentsContext, aB as Header, ah as objectsDeepEqual, L as LegalEntityTypes } from "./StoreProvider-CtRQBY2O.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-C6fmDUWY.js";
|
|
15
15
|
import { r as resolveFieldMetadata } from "./fieldConfigurations-BUT9DTUH.js";
|
|
16
16
|
import { useMemo, useCallback, useEffect, useRef } from "preact/hooks";
|
|
17
|
-
import { R as RadioGroup } from "./RadioGroup-
|
|
18
|
-
import { j as getCompanyRegistrationNumberOptions, s as stateFormatGuidanceText, p as businessRegistrationNumberMasks, q as businessRegistrationNumberPatterns, v as vatNumberOptions, u as getVatNumberOptions, M as MemoizedDocumentUpload } from "./TaxInformationField-
|
|
19
|
-
import { C as CompanyTypesValues } from "./bafinUtils-
|
|
20
|
-
import { a as validateNotEmptyOnBlur, v as validatePatternOnBlur } from "./patternValidators-
|
|
21
|
-
import { I as InputText } from "./InputText-
|
|
22
|
-
import { u as uppercase } from "./mapExistingFile-
|
|
17
|
+
import { R as RadioGroup } from "./RadioGroup-BArQYFSH.js";
|
|
18
|
+
import { j as getCompanyRegistrationNumberOptions, s as stateFormatGuidanceText, p as businessRegistrationNumberMasks, q as businessRegistrationNumberPatterns, v as vatNumberOptions, u as getVatNumberOptions, M as MemoizedDocumentUpload } from "./TaxInformationField-CIW8ZkXT.js";
|
|
19
|
+
import { C as CompanyTypesValues } from "./bafinUtils-I1HEt8XI.js";
|
|
20
|
+
import { a as validateNotEmptyOnBlur, v as validatePatternOnBlur } from "./patternValidators-Bmlm3yXY.js";
|
|
21
|
+
import { I as InputText } from "./InputText-CUwGMcdr.js";
|
|
22
|
+
import { u as uppercase } from "./mapExistingFile-Dx1XZcDi.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-Bl2LVQvh.js";
|
|
25
|
+
import { u as useForm } from "./useForm-HbnDuvKE.js";
|
|
26
|
+
import { C as ContextGuidance } from "./ContextGuidance-C98m5n_m.js";
|
|
27
|
+
import { E as ErrorPanel } from "./ErrorPanel-CXR5_PU5.js";
|
|
28
|
+
import { c as createFormUtils } from "./formUtils-DUWRC8eU.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-VvcSEiTE.js";
|
|
31
31
|
import { memo } from "preact/compat";
|
|
32
|
-
import { u as usePageLandedEvent } from "./Summary-
|
|
32
|
+
import { u as usePageLandedEvent } from "./Summary-CkB8Ce4Y.js";
|
|
33
33
|
function CompanyRegistrationNumberTypeSelector({
|
|
34
34
|
country,
|
|
35
35
|
companyType,
|
|
@@ -781,9 +781,7 @@ const registrationNumberDefaultFieldConfig = {
|
|
|
781
781
|
validators: validatePatternOnBlur(
|
|
782
782
|
businessRegistrationNumberPatterns[CountryCodes.Romania].roRegNumberNewFormat
|
|
783
783
|
),
|
|
784
|
-
guidanceText:
|
|
785
|
-
key: "roRegNumberNewFormat_maskGuidance"
|
|
786
|
-
}
|
|
784
|
+
guidanceText: "roRegNumberNewFormat_maskGuidance"
|
|
787
785
|
},
|
|
788
786
|
[CountryCodes.Singapore]: {
|
|
789
787
|
label: "uen",
|
|
@@ -9,14 +9,14 @@
|
|
|
9
9
|
;
|
|
10
10
|
import "@tanstack/preact-query";
|
|
11
11
|
import { useCallback, useState, useMemo, useEffect } from "preact/hooks";
|
|
12
|
-
import { b as useApiContext, h as httpPost, aa as CountryCodes, ax as isEmpty, m as createLogger, u as useTranslation, ap as useDataset, ao as entriesOf, aq as datasetIdentifier, aB as Header } from "./StoreProvider-
|
|
12
|
+
import { b as useApiContext, h as httpPost, aa as CountryCodes, ax as isEmpty, m as createLogger, u as useTranslation, ap as useDataset, ao as entriesOf, aq as datasetIdentifier, aB as Header } from "./StoreProvider-CtRQBY2O.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-DvyeNUpx.js";
|
|
16
|
+
import { m as makeMask, a as nonInputs, n as numericInputs, s as spacer, M as MaskedInput, I as InputEmail } from "./MaskedInput-C6fmDUWY.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-DUWRC8eU.js";
|
|
19
|
+
import { S as Select } from "./Select-F9XF19j-.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 { z as useAnalyticsContext, G as Alert } from "./StoreProvider-
|
|
11
|
+
import { z as useAnalyticsContext, G as Alert } from "./StoreProvider-CtRQBY2O.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-DvyeNUpx.js";
|
|
13
|
+
import { S as Select } from "./Select-F9XF19j-.js";
|
|
14
|
+
import { u as useTranslation, ap as useDataset, aq as datasetIdentifier } from "./StoreProvider-CtRQBY2O.js";
|
|
15
15
|
const COUNTRY_FIELD = ["country"];
|
|
16
16
|
function CountryField({
|
|
17
17
|
name = "country",
|
package/dist/{CreateIndividualComponent-BaXw9qdQ.js → CreateIndividualComponent-Cunw7KLs.js}
RENAMED
|
@@ -7,10 +7,10 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { R as useLegalEntity, u as useTranslation, a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper, V as Loader, a9 as getLegalEntityCountry, w as EntityTypes, y as TaskTypes } from "./StoreProvider-
|
|
10
|
+
import { R as useLegalEntity, u as useTranslation, a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper, V as Loader, a9 as getLegalEntityCountry, w as EntityTypes, y as TaskTypes } from "./StoreProvider-CtRQBY2O.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-D0yVnw4F.js";
|
|
13
|
+
import { I as IndividualDropin } from "./IndividualDropin-CJ_mQfQH.js";
|
|
14
14
|
const CreateIndividualComponent = ({
|
|
15
15
|
legalEntityId,
|
|
16
16
|
onSubmitSuccess,
|
|
@@ -25,9 +25,9 @@ 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-
|
|
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-
|
|
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-
|
|
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-CtRQBY2O.js").then((n) => n.bT), "../../../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
|
+
{ 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
|
+
{ 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-CKLQU2sJ.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
|
]);
|
|
32
32
|
const handleOnClose = () => {
|
|
33
33
|
if (modalView) {
|