@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
|
@@ -11,11 +11,11 @@ import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
|
|
|
11
11
|
import cx from "classnames";
|
|
12
12
|
import { useState, useRef, useMemo, useCallback, useEffect } from "preact/hooks";
|
|
13
13
|
import { computed, signal, useSignal, useSignalEffect } from "@preact/signals";
|
|
14
|
-
import { K as KEYBOARD_KEYS } from "./Modal-
|
|
15
|
-
import { z as useAnalyticsContext, V as Loader, ai as noop, O as Typography, m as createLogger, u as useTranslation } from "./StoreProvider-
|
|
14
|
+
import { K as KEYBOARD_KEYS } from "./Modal-DtbNibA7.js";
|
|
15
|
+
import { z as useAnalyticsContext, V as Loader, ai as noop, O as Typography, m as createLogger, u as useTranslation } from "./StoreProvider-CtRQBY2O.js";
|
|
16
16
|
import { d as debouncedInputEvent } from "./debouncedInputEvent-Cv2S512Y.js";
|
|
17
17
|
import { a as useId } from "./useId-BZ0PA7jP.js";
|
|
18
|
-
import { C as Checkbox } from "./Checkbox-
|
|
18
|
+
import { C as Checkbox } from "./Checkbox-DnWiEg_u.js";
|
|
19
19
|
const createSelectFocus = ({
|
|
20
20
|
activeItems,
|
|
21
21
|
filteredItems: items
|
|
@@ -7,19 +7,19 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, h as httpPost, ax as isEmpty, u as useTranslation, z as useAnalyticsContext, ay as getOwnDecisionMakers, L as LegalEntityTypes, y as TaskTypes, W as Button, a as addResourceBundles, R as useLegalEntity, U as ROOT_LE, V as Loader, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { b as useApiContext, h as httpPost, ax as isEmpty, u as useTranslation, z as useAnalyticsContext, ay as getOwnDecisionMakers, L as LegalEntityTypes, y as TaskTypes, W as Button, a as addResourceBundles, R as useLegalEntity, U as ROOT_LE, V as Loader, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-CtRQBY2O.js";
|
|
11
11
|
import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
|
|
12
12
|
import { useState, useMemo, useCallback, useEffect } from "preact/hooks";
|
|
13
|
-
import { u as useSalesChannels, a as usePciStatus } from "./OnboardingDropinComponent-
|
|
13
|
+
import { u as useSalesChannels, a as usePciStatus } from "./OnboardingDropinComponent-m0goHrcf.js";
|
|
14
14
|
import { useQuery, useMutation } from "@tanstack/preact-query";
|
|
15
|
-
import { a as useInvalidateRootLegalEntity, u as useToastContext } from "./useToastContext-
|
|
16
|
-
import { M as MaybeModal } from "./MaybeModal-
|
|
17
|
-
import { E as EndStateLayout } from "./EndStateLayout-
|
|
15
|
+
import { a as useInvalidateRootLegalEntity, u as useToastContext } from "./useToastContext-ueXW9kLE.js";
|
|
16
|
+
import { M as MaybeModal } from "./MaybeModal-BjPlvKWN.js";
|
|
17
|
+
import { E as EndStateLayout } from "./EndStateLayout-Cje2JmKE.js";
|
|
18
18
|
import { C as Card } from "./Card-OQuFzmxm.js";
|
|
19
|
-
import { C as Checkbox } from "./Checkbox-
|
|
20
|
-
import { F as Field } from "./Field-
|
|
21
|
-
import { S as Select } from "./Select-
|
|
22
|
-
import { u as useForm } from "./useForm-
|
|
19
|
+
import { C as Checkbox } from "./Checkbox-DnWiEg_u.js";
|
|
20
|
+
import { F as Field } from "./Field-DvyeNUpx.js";
|
|
21
|
+
import { S as Select } from "./Select-F9XF19j-.js";
|
|
22
|
+
import { u as useForm } from "./useForm-HbnDuvKE.js";
|
|
23
23
|
import { D as DetailViewLayout } from "./DetailViewLayout-Z9cuUp4X.js";
|
|
24
24
|
import { C as ContractViewer } from "./ContractViewer-DcQHIGMU.js";
|
|
25
25
|
const getPciTemplate = async (legalEntityId, baseUrl, data) => {
|
|
@@ -242,8 +242,8 @@ function SignPCIComponent({
|
|
|
242
242
|
const additionalSalesChannels = useSalesChannels();
|
|
243
243
|
const { t, i18n } = useTranslation(["contract", "common"]);
|
|
244
244
|
addResourceBundles(i18n, [
|
|
245
|
-
{ 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-
|
|
246
|
-
{ 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-
|
|
245
|
+
{ 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) },
|
|
246
|
+
{ 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) },
|
|
247
247
|
{ 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) }
|
|
248
248
|
]);
|
|
249
249
|
const {
|
|
@@ -10,11 +10,11 @@
|
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { lazy } from "preact/compat";
|
|
12
12
|
import { useState } from "preact/hooks";
|
|
13
|
-
import { u as useTranslation, O as Typography, W as Button, L as LegalEntityTypes } from "./StoreProvider-
|
|
14
|
-
import { F as Field } from "./Field-
|
|
15
|
-
import { I as Image } from "./unincorporated-partnership-
|
|
16
|
-
import { R as RadioGroupCard } from "./RadioGroupCard-
|
|
17
|
-
import { u as useForm } from "./useForm-
|
|
13
|
+
import { u as useTranslation, O as Typography, W as Button, L as LegalEntityTypes } from "./StoreProvider-CtRQBY2O.js";
|
|
14
|
+
import { F as Field } from "./Field-DvyeNUpx.js";
|
|
15
|
+
import { I as Image } from "./unincorporated-partnership-Cr2ITyyK.js";
|
|
16
|
+
import { R as RadioGroupCard } from "./RadioGroupCard-BhsLedMl.js";
|
|
17
|
+
import { u as useForm } from "./useForm-HbnDuvKE.js";
|
|
18
18
|
const setupAccountMethods = ["singpass", "manual"];
|
|
19
19
|
const setupAccountMethodFields = ["setupAccountMethod"];
|
|
20
20
|
const singpassLogo = lazy(() => import("./singpass-logo-wY4xsmTX.js"));
|
|
@@ -7,11 +7,11 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { u as useTranslation, R as useLegalEntity, a as addResourceBundles, V as Loader, a9 as getLegalEntityCountry, y as TaskTypes, w as EntityTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { u as useTranslation, R as useLegalEntity, a as addResourceBundles, V as Loader, a9 as getLegalEntityCountry, y as TaskTypes, w as EntityTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-CtRQBY2O.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
12
|
import { skipToken } from "@tanstack/preact-query";
|
|
13
|
-
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-
|
|
14
|
-
import { u as useBusinessDetailsData, B as BusinessDetailsDropin } from "./useBusinessDetailsData-
|
|
13
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-D0yVnw4F.js";
|
|
14
|
+
import { u as useBusinessDetailsData, B as BusinessDetailsDropin } from "./useBusinessDetailsData-JsjuBZ9t.js";
|
|
15
15
|
function SoleProprietorshipPage({
|
|
16
16
|
solePropId,
|
|
17
17
|
onSubmit,
|
|
@@ -7,44 +7,44 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, h as httpPost, j as httpGet, u as useTranslation, O as Typography, G as Alert, W as Button, ac as translateTranslatable, V as Loader, B as Icon, C as IconButton, Z as TASK_STATUS_POLLING_INTERVAL_MS, aB as Header, P as StackLayout, m as createLogger, R as useLegalEntity, U as ROOT_LE, z as useAnalyticsContext, bS as useLegalEntities, a as addResourceBundles, w as EntityTypes, a9 as getLegalEntityCountry, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { b as useApiContext, h as httpPost, j as httpGet, u as useTranslation, O as Typography, G as Alert, W as Button, ac as translateTranslatable, V as Loader, B as Icon, C as IconButton, Z as TASK_STATUS_POLLING_INTERVAL_MS, aB as Header, P as StackLayout, m as createLogger, R as useLegalEntity, U as ROOT_LE, z as useAnalyticsContext, bS as useLegalEntities, a as addResourceBundles, w as EntityTypes, a9 as getLegalEntityCountry, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-CtRQBY2O.js";
|
|
11
11
|
import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
|
|
12
|
-
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-
|
|
12
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-D0yVnw4F.js";
|
|
13
13
|
import { useState, useMemo, useCallback, useEffect } from "preact/hooks";
|
|
14
|
-
import { f as useTaskStatus, j as useBusinessLines } from "./OnboardingDropinComponent-
|
|
14
|
+
import { f as useTaskStatus, j as useBusinessLines } from "./OnboardingDropinComponent-m0goHrcf.js";
|
|
15
15
|
import { useMutation, useQuery, useQueryClient } from "@tanstack/preact-query";
|
|
16
|
-
import { a as useInvalidateRootLegalEntity, u as useToastContext } from "./useToastContext-
|
|
17
|
-
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-
|
|
18
|
-
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
19
|
-
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-
|
|
20
|
-
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-
|
|
21
|
-
import { u as useMultiForm } from "./useMultiForm-
|
|
22
|
-
import { c as createDocumentRequest, d as documentApiUtils } from "./validate-
|
|
16
|
+
import { a as useInvalidateRootLegalEntity, u as useToastContext } from "./useToastContext-ueXW9kLE.js";
|
|
17
|
+
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-g5kQOZ9m.js";
|
|
18
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-efvM5sQR.js";
|
|
19
|
+
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-BDIK0MuQ.js";
|
|
20
|
+
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-DqjLOzes.js";
|
|
21
|
+
import { u as useMultiForm } from "./useMultiForm-jpDXpq32.js";
|
|
22
|
+
import { c as createDocumentRequest, d as documentApiUtils } from "./validate-Bl2LVQvh.js";
|
|
23
23
|
import { f as formatObject } from "./utils-DNSfZiio.js";
|
|
24
24
|
import { signal } from "@preact/signals";
|
|
25
|
-
import { E as ErrorPanel } from "./ErrorPanel-
|
|
26
|
-
import { c as createFormUtils } from "./formUtils-
|
|
27
|
-
import { F as Field } from "./Field-
|
|
28
|
-
import { S as Select } from "./Select-
|
|
29
|
-
import { T as TextArea } from "./TextArea-
|
|
30
|
-
import { I as InputDate } from "./InputDate-
|
|
25
|
+
import { E as ErrorPanel } from "./ErrorPanel-CXR5_PU5.js";
|
|
26
|
+
import { c as createFormUtils } from "./formUtils-DUWRC8eU.js";
|
|
27
|
+
import { F as Field } from "./Field-DvyeNUpx.js";
|
|
28
|
+
import { S as Select } from "./Select-F9XF19j-.js";
|
|
29
|
+
import { T as TextArea } from "./TextArea-CqSkVOwP.js";
|
|
30
|
+
import { I as InputDate } from "./InputDate-B_SqcQiB.js";
|
|
31
31
|
import { I as InputGroup } from "./InputGroup-WBfGDV5F.js";
|
|
32
|
-
import { I as InputText } from "./InputText-
|
|
33
|
-
import { a as allowedCurrencies, T as TODAY_DATE, b as formatDateForInput, S as SOF_CHARACTERS_LIMIT, g as getInputErrors, c as formatAmountWithCurrency, s as sofCategoryItemMapper, d as getPageHeadings, e as getServiceTranslationSelectTitle, h as getSofCardDetails, i as getGettingStartedCardDetails, j as getAdditionalDataSchemaKeys, k as getServiceTranslation, p as parseSOFDocumentDescription, l as getRelevantErrors, m as getUniqueRemediationActions, n as SOF_INVALID_INPUT_ERROR_CODES, o as getServiceTranslationKey, q as getDocumentRequirements, r as getDocumentLists, t as getSourceOfFundsRequiredFields, M as MISSING_DATA_SOF_UPLOAD_CODE, u as parseOriginatorDetails, v as getSourceOfFundsRequiredForms, w as getSourceOfFundsPayload, A as ALLOWED_SOF_SERVICES, x as parseSofOriginatorPayload } from "./utils-
|
|
34
|
-
import { R as RadioGroup } from "./RadioGroup-
|
|
35
|
-
import { C as CountryField } from "./CountryField-
|
|
36
|
-
import { A as Avatar } from "./Avatar-
|
|
37
|
-
import { M as Modal } from "./Modal-
|
|
38
|
-
import { C as Confirm } from "./Confirm-
|
|
39
|
-
import { T as TileGroup } from "./TileGroup-
|
|
32
|
+
import { I as InputText } from "./InputText-CUwGMcdr.js";
|
|
33
|
+
import { a as allowedCurrencies, T as TODAY_DATE, b as formatDateForInput, S as SOF_CHARACTERS_LIMIT, g as getInputErrors, c as formatAmountWithCurrency, s as sofCategoryItemMapper, d as getPageHeadings, e as getServiceTranslationSelectTitle, h as getSofCardDetails, i as getGettingStartedCardDetails, j as getAdditionalDataSchemaKeys, k as getServiceTranslation, p as parseSOFDocumentDescription, l as getRelevantErrors, m as getUniqueRemediationActions, n as SOF_INVALID_INPUT_ERROR_CODES, o as getServiceTranslationKey, q as getDocumentRequirements, r as getDocumentLists, t as getSourceOfFundsRequiredFields, M as MISSING_DATA_SOF_UPLOAD_CODE, u as parseOriginatorDetails, v as getSourceOfFundsRequiredForms, w as getSourceOfFundsPayload, A as ALLOWED_SOF_SERVICES, x as parseSofOriginatorPayload } from "./utils-Bv46v1Xz.js";
|
|
34
|
+
import { R as RadioGroup } from "./RadioGroup-BArQYFSH.js";
|
|
35
|
+
import { C as CountryField } from "./CountryField-D9-bXI4a.js";
|
|
36
|
+
import { A as Avatar } from "./Avatar-Carj3nfQ.js";
|
|
37
|
+
import { M as Modal } from "./Modal-DtbNibA7.js";
|
|
38
|
+
import { C as Confirm } from "./Confirm-BJg0m_d-.js";
|
|
39
|
+
import { T as TileGroup } from "./TileGroup-B7P02lrA.js";
|
|
40
40
|
import { lazy } from "preact/compat";
|
|
41
|
-
import { I as Image } from "./unincorporated-partnership-
|
|
42
|
-
import { L as LandingLayout } from "./LandingLayout-
|
|
43
|
-
import { i as isEmpty } from "./isEmpty-
|
|
41
|
+
import { I as Image } from "./unincorporated-partnership-Cr2ITyyK.js";
|
|
42
|
+
import { L as LandingLayout } from "./LandingLayout-Ek4HVR6e.js";
|
|
43
|
+
import { i as isEmpty } from "./isEmpty-Br_hVWxS.js";
|
|
44
44
|
import { C as Card } from "./Card-OQuFzmxm.js";
|
|
45
45
|
import { S as StructuredList } from "./StructuredList-CNha20ka.js";
|
|
46
|
-
import { D as Dropzone } from "./Dropzone-
|
|
47
|
-
import { v as validateDateNotInTheFuture } from "./validate-
|
|
46
|
+
import { D as Dropzone } from "./Dropzone-DUVyfgqv.js";
|
|
47
|
+
import { v as validateDateNotInTheFuture } from "./validate-BlNbroHx.js";
|
|
48
48
|
const updateSourceOfFunds = async (businessLineId, legalEntityId, baseUrl, data) => {
|
|
49
49
|
return httpPost(
|
|
50
50
|
{
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import { u as useTranslation, O as Typography } from "./StoreProvider-
|
|
12
|
+
import { u as useTranslation, O as Typography } from "./StoreProvider-CtRQBY2O.js";
|
|
13
13
|
const range = (stop, start = 0, step = 1) => Array.from({ length: (stop - start) / step + 1 }, (_, i) => start + i * step);
|
|
14
14
|
const progressBar = "adyen-kyc-progress-bar";
|
|
15
15
|
const progressBarThick = "adyen-kyc-progress-bar-thick";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e2 = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n2 = new e2.Error().stack;
|
|
5
|
-
n2 && (e2._sentryDebugIds = e2._sentryDebugIds || {}, e2._sentryDebugIds[n2] = "
|
|
5
|
+
n2 && (e2._sentryDebugIds = e2._sentryDebugIds || {}, e2._sentryDebugIds[n2] = "4a0c350e-71c1-4c59-9017-acb0cd4e7d64", e2._sentryDebugIdIdentifier = "sentry-dbid-4a0c350e-71c1-4c59-9017-acb0cd4e7d64");
|
|
6
6
|
} catch (e2) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
@@ -2620,6 +2620,16 @@ const TaskVerificationStatus = ({ status: status2, responsive }) => {
|
|
|
2620
2620
|
responsive
|
|
2621
2621
|
}
|
|
2622
2622
|
);
|
|
2623
|
+
case "inviteSent":
|
|
2624
|
+
return /* @__PURE__ */ jsx(
|
|
2625
|
+
Status,
|
|
2626
|
+
{
|
|
2627
|
+
icon: "mail",
|
|
2628
|
+
text: t2(($) => $["inviteSent"]),
|
|
2629
|
+
variant: "neutral",
|
|
2630
|
+
responsive
|
|
2631
|
+
}
|
|
2632
|
+
);
|
|
2623
2633
|
default:
|
|
2624
2634
|
return null;
|
|
2625
2635
|
}
|
|
@@ -4772,7 +4782,7 @@ const getAnalyticsAssociatedEntityDetails = (rootLegalEntity, accountHolderType)
|
|
|
4772
4782
|
};
|
|
4773
4783
|
};
|
|
4774
4784
|
const useAnalytics = ({ userEvents, sessionId, sessionData }) => {
|
|
4775
|
-
const sdkVersion = "4.5.0-beta.
|
|
4785
|
+
const sdkVersion = "4.5.0-beta.2";
|
|
4776
4786
|
const { data: rootLegalEntity } = useLegalEntity(ROOT_LE);
|
|
4777
4787
|
const { mutateAsync } = usePushAnalyticEvent(sessionId ?? "");
|
|
4778
4788
|
const { accountHolder } = useAccountHolder();
|
|
@@ -4863,7 +4873,7 @@ const AnalyticsProvider = ({
|
|
|
4863
4873
|
const capabilities = rootLegalEntity?.capabilities && Object.keys(rootLegalEntity.capabilities);
|
|
4864
4874
|
const shouldTrackPrefilledDetails = capabilities?.includes("receivePayments") && onboardingVersion && onboardingVersion > 1;
|
|
4865
4875
|
const sessionData = {
|
|
4866
|
-
sdkVersion: "4.5.0-beta.
|
|
4876
|
+
sdkVersion: "4.5.0-beta.2",
|
|
4867
4877
|
componentName,
|
|
4868
4878
|
userAgent: navigator.userAgent,
|
|
4869
4879
|
legalEntityId: rootLegalEntityId,
|
|
@@ -5317,7 +5327,7 @@ const AllowedCountryGate = ({ children }) => {
|
|
|
5317
5327
|
);
|
|
5318
5328
|
return /* @__PURE__ */ jsx(Fragment$2, { children });
|
|
5319
5329
|
};
|
|
5320
|
-
const DebugModal = lazy(async () => (await import("./DebugModal-
|
|
5330
|
+
const DebugModal = lazy(async () => (await import("./DebugModal-DUrWpKmH.js")).DebugModal);
|
|
5321
5331
|
const DebugListener = () => {
|
|
5322
5332
|
const [debugUiOpen, setDebugUiOpen] = useState$1(false);
|
|
5323
5333
|
const { isSettingEnabled } = useSettingsContext();
|
|
@@ -9,15 +9,15 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { lazy } from "preact/compat";
|
|
12
|
-
import { z as useAnalyticsContext, u as useTranslation, aB as Header, ax as isEmpty, C as IconButton, ac as translateTranslatable } from "./StoreProvider-
|
|
13
|
-
import { I as Image } from "./unincorporated-partnership-
|
|
12
|
+
import { z as useAnalyticsContext, u as useTranslation, aB as Header, ax as isEmpty, C as IconButton, ac as translateTranslatable } from "./StoreProvider-CtRQBY2O.js";
|
|
13
|
+
import { I as Image } from "./unincorporated-partnership-Cr2ITyyK.js";
|
|
14
14
|
import { L as List } from "./List-BAzyC6sw.js";
|
|
15
15
|
import { S as StructuredList } from "./StructuredList-CNha20ka.js";
|
|
16
16
|
import { useEffect } from "preact/hooks";
|
|
17
|
-
import { E as ErrorPanel } from "./ErrorPanel-
|
|
17
|
+
import { E as ErrorPanel } from "./ErrorPanel-CXR5_PU5.js";
|
|
18
18
|
import { t as trackNavigation } from "./trackNavigation-db_h46BT.js";
|
|
19
|
-
import { c as createFormUtils } from "./formUtils-
|
|
20
|
-
import { g as getRoleName } from "./roleMetadata-
|
|
19
|
+
import { c as createFormUtils } from "./formUtils-DUWRC8eU.js";
|
|
20
|
+
import { g as getRoleName } from "./roleMetadata-At7etSLn.js";
|
|
21
21
|
import { i as isSummaryItem } from "./summaryItem-CAQCQSkt.js";
|
|
22
22
|
const usePageLandedEvent = () => {
|
|
23
23
|
const userEvents = useAnalyticsContext();
|
|
@@ -7,30 +7,30 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { bq as getNestedPropertyKeys, aa as CountryCodes, L as LegalEntityTypes, ah as objectsDeepEqual, u as useTranslation, aB as Header, y as TaskTypes, aS as keysOf, J as useExperimentsContext, v as useAccountHolder, ac as translateTranslatable } from "./StoreProvider-
|
|
10
|
+
import { bq as getNestedPropertyKeys, aa as CountryCodes, L as LegalEntityTypes, ah as objectsDeepEqual, u as useTranslation, aB as Header, y as TaskTypes, aS as keysOf, J as useExperimentsContext, v as useAccountHolder, ac as translateTranslatable } from "./StoreProvider-CtRQBY2O.js";
|
|
11
11
|
import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
|
|
12
12
|
import { memo } from "preact/compat";
|
|
13
13
|
import { useState, useRef, useEffect, useCallback, useMemo } from "preact/hooks";
|
|
14
|
-
import { F as Field } from "./Field-
|
|
15
|
-
import { S as Select } from "./Select-
|
|
16
|
-
import { T as TextArea } from "./TextArea-
|
|
17
|
-
import { S as StateContextSetter } from "./validate-
|
|
18
|
-
import { u as useForm } from "./useForm-
|
|
19
|
-
import { u as uppercase, D as DocumentGuidance } from "./mapExistingFile-
|
|
20
|
-
import { D as Dropzone } from "./Dropzone-
|
|
21
|
-
import { E as ErrorPanel } from "./ErrorPanel-
|
|
22
|
-
import { c as createFormUtils } from "./formUtils-
|
|
23
|
-
import { C as Checkbox } from "./Checkbox-
|
|
24
|
-
import { C as CompanyTypesValues } from "./bafinUtils-
|
|
25
|
-
import { m as makeMask, n as numericInputs, a as nonInputs, d as alphanumericInputs, c as customInputs, b as alphaInputs, s as spacer, M as MaskedInput } from "./MaskedInput-
|
|
14
|
+
import { F as Field } from "./Field-DvyeNUpx.js";
|
|
15
|
+
import { S as Select } from "./Select-F9XF19j-.js";
|
|
16
|
+
import { T as TextArea } from "./TextArea-CqSkVOwP.js";
|
|
17
|
+
import { S as StateContextSetter } from "./validate-Bl2LVQvh.js";
|
|
18
|
+
import { u as useForm } from "./useForm-HbnDuvKE.js";
|
|
19
|
+
import { u as uppercase, D as DocumentGuidance } from "./mapExistingFile-Dx1XZcDi.js";
|
|
20
|
+
import { D as Dropzone } from "./Dropzone-DUVyfgqv.js";
|
|
21
|
+
import { E as ErrorPanel } from "./ErrorPanel-CXR5_PU5.js";
|
|
22
|
+
import { c as createFormUtils } from "./formUtils-DUWRC8eU.js";
|
|
23
|
+
import { C as Checkbox } from "./Checkbox-DnWiEg_u.js";
|
|
24
|
+
import { C as CompanyTypesValues } from "./bafinUtils-I1HEt8XI.js";
|
|
25
|
+
import { m as makeMask, n as numericInputs, a as nonInputs, d as alphanumericInputs, c as customInputs, b as alphaInputs, s as spacer, M as MaskedInput } from "./MaskedInput-C6fmDUWY.js";
|
|
26
26
|
import { r as resolveFieldMetadata } from "./fieldConfigurations-BUT9DTUH.js";
|
|
27
27
|
import { S as SettingNames } from "./types-CQ2p58-6.js";
|
|
28
|
-
import { C as COUNTRIES_WITH_STATES_DATASET } from "./utils-
|
|
28
|
+
import { C as COUNTRIES_WITH_STATES_DATASET } from "./utils-DkzKcUg0.js";
|
|
29
29
|
import { c as createFormRules } from "./form-rules-DhbF2mY4.js";
|
|
30
|
-
import { i as isJapanLocalizationEnabled } from "./japanSupportUtils-
|
|
31
|
-
import { i as isDateOlderThanAYear } from "./Address-
|
|
32
|
-
import { v as validatePatternOnBlur, a as validateNotEmptyOnBlur } from "./patternValidators-
|
|
33
|
-
import { R as RadioGroup } from "./RadioGroup-
|
|
30
|
+
import { i as isJapanLocalizationEnabled } from "./japanSupportUtils-dRgsA3KL.js";
|
|
31
|
+
import { i as isDateOlderThanAYear } from "./Address-VvcSEiTE.js";
|
|
32
|
+
import { v as validatePatternOnBlur, a as validateNotEmptyOnBlur } from "./patternValidators-Bmlm3yXY.js";
|
|
33
|
+
import { R as RadioGroup } from "./RadioGroup-BArQYFSH.js";
|
|
34
34
|
const getFieldsWithExistingData = (legalEntity, keyMapping, documentMapping, knownProblematicFields = []) => {
|
|
35
35
|
const apiFieldsWithExistingData = getNestedPropertyKeys(legalEntity);
|
|
36
36
|
const nonDocumentFields = apiFieldsWithExistingData.map((field) => keyMapping[field]).filter(Boolean).filter((field) => !knownProblematicFields.includes(field));
|
|
@@ -7,27 +7,27 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, j as httpGet, O as Typography, u as useTranslation, aB as Header, aQ as Trans, G as Alert, B as Icon, W as Button, C as IconButton, Z as TASK_STATUS_POLLING_INTERVAL_MS, ax as isEmpty$1, a as addResourceBundles, z as useAnalyticsContext, R as useLegalEntity, U as ROOT_LE, V as Loader, m as createLogger, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { b as useApiContext, j as httpGet, O as Typography, u as useTranslation, aB as Header, aQ as Trans, G as Alert, B as Icon, W as Button, C as IconButton, Z as TASK_STATUS_POLLING_INTERVAL_MS, ax as isEmpty$1, a as addResourceBundles, z as useAnalyticsContext, R as useLegalEntity, U as ROOT_LE, V as Loader, m as createLogger, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-CtRQBY2O.js";
|
|
11
11
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
12
12
|
import { useState, useRef, useEffect, useMemo, useCallback } from "preact/hooks";
|
|
13
|
-
import { a as useInvalidateRootLegalEntity } from "./useToastContext-
|
|
14
|
-
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
13
|
+
import { a as useInvalidateRootLegalEntity } from "./useToastContext-ueXW9kLE.js";
|
|
14
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-efvM5sQR.js";
|
|
15
15
|
import { useQuery } from "@tanstack/preact-query";
|
|
16
|
-
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-
|
|
17
|
-
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-
|
|
18
|
-
import { u as useMultiForm } from "./useMultiForm-
|
|
16
|
+
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-BDIK0MuQ.js";
|
|
17
|
+
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-DqjLOzes.js";
|
|
18
|
+
import { u as useMultiForm } from "./useMultiForm-jpDXpq32.js";
|
|
19
19
|
import { signal } from "@preact/signals";
|
|
20
20
|
import { a as getFormProps } from "./getProps-Cc3J2-z9.js";
|
|
21
|
-
import { F as Field } from "./Field-
|
|
22
|
-
import { L as Link } from "./Link-
|
|
23
|
-
import { R as RadioGroup } from "./RadioGroup-
|
|
21
|
+
import { F as Field } from "./Field-DvyeNUpx.js";
|
|
22
|
+
import { L as Link } from "./Link-BtddS049.js";
|
|
23
|
+
import { R as RadioGroup } from "./RadioGroup-BArQYFSH.js";
|
|
24
24
|
import { lazy } from "preact/compat";
|
|
25
|
-
import { f as useTaskStatus } from "./OnboardingDropinComponent-
|
|
25
|
+
import { f as useTaskStatus } from "./OnboardingDropinComponent-m0goHrcf.js";
|
|
26
26
|
import { C as Card } from "./Card-OQuFzmxm.js";
|
|
27
|
-
import { I as Image } from "./unincorporated-partnership-
|
|
27
|
+
import { I as Image } from "./unincorporated-partnership-Cr2ITyyK.js";
|
|
28
28
|
import { S as StructuredList } from "./StructuredList-CNha20ka.js";
|
|
29
|
-
import { L as LandingLayout } from "./LandingLayout-
|
|
30
|
-
import { i as isEmpty } from "./isEmpty-
|
|
29
|
+
import { L as LandingLayout } from "./LandingLayout-Ek4HVR6e.js";
|
|
30
|
+
import { i as isEmpty } from "./isEmpty-Br_hVWxS.js";
|
|
31
31
|
const getTaxClassification = async (legalEntityId, baseUrl) => {
|
|
32
32
|
return httpGet({
|
|
33
33
|
baseUrl,
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
12
|
import { useState } from "preact/hooks";
|
|
13
|
-
import { m as createLogger, u as useTranslation, z as useAnalyticsContext } from "./StoreProvider-
|
|
13
|
+
import { m as createLogger, u as useTranslation, z as useAnalyticsContext } from "./StoreProvider-CtRQBY2O.js";
|
|
14
14
|
import { d as debouncedInputEvent } from "./debouncedInputEvent-Cv2S512Y.js";
|
|
15
15
|
const convertFullToHalf = (str) => str.replace(/[!-~]/g, (r) => String.fromCharCode(r.charCodeAt(0) - 65248));
|
|
16
16
|
const logger = createLogger();
|
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import { B as Icon, O as Typography, z as useAnalyticsContext, ai as noop } from "./StoreProvider-
|
|
12
|
+
import { B as Icon, O as Typography, z as useAnalyticsContext, ai as noop } from "./StoreProvider-CtRQBY2O.js";
|
|
13
13
|
import { a as useId } from "./useId-BZ0PA7jP.js";
|
|
14
14
|
import { useRef } from "preact/hooks";
|
|
15
|
-
import { K as KEYBOARD_KEYS } from "./Modal-
|
|
15
|
+
import { K as KEYBOARD_KEYS } from "./Modal-DtbNibA7.js";
|
|
16
16
|
const tileContainer = "adyen-kyc-tile-container";
|
|
17
17
|
const tile = "adyen-kyc-tile";
|
|
18
18
|
const tileIcon = "adyen-kyc-tile-icon";
|
|
@@ -7,48 +7,48 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { ao as entriesOf, ah as objectsDeepEqual, az as reverseMapping, L as LegalEntityTypes, y as TaskTypes, aa as CountryCodes, aK as hasText, aC as matchesRegex, aD as NO_ALPHABET_REGEX, aE as EMOJI_REGEX, aF as hasRepeatedCharacters, bg as isValidMinLength, aG as isInvalidName, bx as OTHER_ENTITIES_VALID_CHAR_REGEX, u as useTranslation, J as useExperimentsContext, aB as Header, G as Alert, O as Typography, bO as getCountrySpecificTrustTypeOptions, bP as trustComponentsKeyMapping, bQ as trustApiKeyMapping, b as useApiContext, z as useAnalyticsContext, am as datasetUtilities, bR as trustDocumentMapping, an as cloneObject, a9 as getLegalEntityCountry, ax as isEmpty$1, aX as drop, ad as getOwnEntityAssociations, R as useLegalEntity, U as ROOT_LE, a as addResourceBundles, aV as useCapabilities, w as EntityTypes, V as Loader, aS as keysOf, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { ao as entriesOf, ah as objectsDeepEqual, az as reverseMapping, L as LegalEntityTypes, y as TaskTypes, aa as CountryCodes, aK as hasText, aC as matchesRegex, aD as NO_ALPHABET_REGEX, aE as EMOJI_REGEX, aF as hasRepeatedCharacters, bg as isValidMinLength, aG as isInvalidName, bx as OTHER_ENTITIES_VALID_CHAR_REGEX, u as useTranslation, J as useExperimentsContext, aB as Header, G as Alert, O as Typography, bO as getCountrySpecificTrustTypeOptions, bP as trustComponentsKeyMapping, bQ as trustApiKeyMapping, b as useApiContext, z as useAnalyticsContext, am as datasetUtilities, bR as trustDocumentMapping, an as cloneObject, a9 as getLegalEntityCountry, ax as isEmpty$1, aX as drop, ad as getOwnEntityAssociations, R as useLegalEntity, U as ROOT_LE, a as addResourceBundles, aV as useCapabilities, w as EntityTypes, V as Loader, aS as keysOf, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-CtRQBY2O.js";
|
|
11
11
|
import { jsx, Fragment, jsxs } from "preact/jsx-runtime";
|
|
12
12
|
import { skipToken } from "@tanstack/preact-query";
|
|
13
|
-
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-
|
|
14
|
-
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-
|
|
13
|
+
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-Brdn35Qd.js";
|
|
14
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-D0yVnw4F.js";
|
|
15
15
|
import { useMemo, useCallback, useEffect, useState, useRef } from "preact/hooks";
|
|
16
|
-
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-
|
|
17
|
-
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
18
|
-
import { u as useGlobalDataSlice, c as useStateContext, F as FormWrapper } from "./useGlobalData-
|
|
19
|
-
import { u as useToastContext } from "./useToastContext-
|
|
20
|
-
import { g as getPropsFromConfigurations, a as augmentWithCountryConfigs, c as composePerScenarioFormConfigurations } from "./process-field-configurations-
|
|
21
|
-
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-
|
|
22
|
-
import { m as mapExistingFile, g as getPageName, b as useScenarioConfiguration } from "./mapExistingFile-
|
|
23
|
-
import { o as operationalAddressIsSameIds, D as DBA_NAME_FIELD, B as BUSINESS_REGISTRATION_NUMBER_FIELD, V as VAT_NUMBER_FIELD, f as doingBusinessAsAbsentFieldMetadata, e as doingBusinessAsFieldMetadata, b as registrationNumberDefaultFieldMetadata, k as getDefaultRegistrationNumberType, c as registrationNumberDefaultFieldConfig, n as exemptFromRegistrationNumberDefaultFieldMetadata, p as exemptFromRegistrationNumberDefaultFieldConfig, d as defaultFieldMetadata, l as getDefaultVatNumberType, a as defaultFieldConfig, g as DBANameField, h as BusinessRegistrationNumberField, i as getRegistrationNumberHelperText, j as VatNumberField, r as registrationAddressFields, R as RegistrationAddress, M as MemoizedConstitutionalDocument, m as inferCompanyRegistrationNumberType, q as operationalAddressIsSameItems } from "./ConstitutionalDocument-
|
|
24
|
-
import { n as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, d as TAX_INFORMATION_FIELD, t as taxInformationDefaultFieldMetadata, a as taxInformationDefaultFieldConfig, w as exemptedFromTaxDefaultFieldMetadata, x as exemptedFromTaxDefaultFieldConfig, T as TaxInformationField, g as getFieldsWithExistingData, j as getCompanyRegistrationNumberOptions, k as countryToTaxInfoTypeMap } from "./TaxInformationField-
|
|
25
|
-
import { m as mapAddressLabels } from "./utils-
|
|
26
|
-
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-
|
|
27
|
-
import { a as getDocument, c as createDocumentRequest, d as documentApiUtils } from "./validate-
|
|
16
|
+
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-g5kQOZ9m.js";
|
|
17
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-efvM5sQR.js";
|
|
18
|
+
import { u as useGlobalDataSlice, c as useStateContext, F as FormWrapper } from "./useGlobalData-k3L8u15M.js";
|
|
19
|
+
import { u as useToastContext } from "./useToastContext-ueXW9kLE.js";
|
|
20
|
+
import { g as getPropsFromConfigurations, a as augmentWithCountryConfigs, c as composePerScenarioFormConfigurations } from "./process-field-configurations-Wt51XtVf.js";
|
|
21
|
+
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-DqjLOzes.js";
|
|
22
|
+
import { m as mapExistingFile, g as getPageName, b as useScenarioConfiguration } from "./mapExistingFile-Dx1XZcDi.js";
|
|
23
|
+
import { o as operationalAddressIsSameIds, D as DBA_NAME_FIELD, B as BUSINESS_REGISTRATION_NUMBER_FIELD, V as VAT_NUMBER_FIELD, f as doingBusinessAsAbsentFieldMetadata, e as doingBusinessAsFieldMetadata, b as registrationNumberDefaultFieldMetadata, k as getDefaultRegistrationNumberType, c as registrationNumberDefaultFieldConfig, n as exemptFromRegistrationNumberDefaultFieldMetadata, p as exemptFromRegistrationNumberDefaultFieldConfig, d as defaultFieldMetadata, l as getDefaultVatNumberType, a as defaultFieldConfig, g as DBANameField, h as BusinessRegistrationNumberField, i as getRegistrationNumberHelperText, j as VatNumberField, r as registrationAddressFields, R as RegistrationAddress, M as MemoizedConstitutionalDocument, m as inferCompanyRegistrationNumberType, q as operationalAddressIsSameItems } from "./ConstitutionalDocument-C8vWbwmM.js";
|
|
24
|
+
import { n as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, d as TAX_INFORMATION_FIELD, t as taxInformationDefaultFieldMetadata, a as taxInformationDefaultFieldConfig, w as exemptedFromTaxDefaultFieldMetadata, x as exemptedFromTaxDefaultFieldConfig, T as TaxInformationField, g as getFieldsWithExistingData, j as getCompanyRegistrationNumberOptions, k as countryToTaxInfoTypeMap } from "./TaxInformationField-CIW8ZkXT.js";
|
|
25
|
+
import { m as mapAddressLabels } from "./utils-DkzKcUg0.js";
|
|
26
|
+
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-BZR2ZNhw.js";
|
|
27
|
+
import { a as getDocument, c as createDocumentRequest, d as documentApiUtils } from "./validate-Bl2LVQvh.js";
|
|
28
28
|
import { r as resolveFieldMetadata } from "./fieldConfigurations-BUT9DTUH.js";
|
|
29
29
|
import { f as formatObject, g as getProp } from "./utils-DNSfZiio.js";
|
|
30
30
|
import { c as createFormRules } from "./form-rules-DhbF2mY4.js";
|
|
31
|
-
import { U as UNINCORPORATED_PARTNERSHIP_COUNTRIES_VAT_NUMBER_OPTIONAL, a as UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_REQUIRED, b as UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_OPTIONAL, c as UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_REQUIRED, d as UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_OPTIONAL, A as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./types-
|
|
31
|
+
import { U as UNINCORPORATED_PARTNERSHIP_COUNTRIES_VAT_NUMBER_OPTIONAL, a as UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_REQUIRED, b as UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_OPTIONAL, c as UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_REQUIRED, d as UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_OPTIONAL, A as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./types-DhT9qDj4.js";
|
|
32
32
|
import { a as getFormProps, b as getNestedOuterFormPropsFromOuterFormProps } from "./getProps-Cc3J2-z9.js";
|
|
33
|
-
import { F as Field } from "./Field-
|
|
34
|
-
import { S as Select } from "./Select-
|
|
35
|
-
import { u as useForm } from "./useForm-
|
|
36
|
-
import { E as ErrorPanel } from "./ErrorPanel-
|
|
37
|
-
import { I as InputText } from "./InputText-
|
|
38
|
-
import { C as CountryField, a as COUNTRY_FIELD } from "./CountryField-
|
|
39
|
-
import { m as mergeFieldMetadataIntoProps, c as createFormUtils } from "./formUtils-
|
|
40
|
-
import { i as isEmpty } from "./isEmpty-
|
|
41
|
-
import { a as validateNotEmptyOnBlur } from "./patternValidators-
|
|
42
|
-
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-
|
|
43
|
-
import { u as useMultiForm } from "./useMultiForm-
|
|
33
|
+
import { F as Field } from "./Field-DvyeNUpx.js";
|
|
34
|
+
import { S as Select } from "./Select-F9XF19j-.js";
|
|
35
|
+
import { u as useForm } from "./useForm-HbnDuvKE.js";
|
|
36
|
+
import { E as ErrorPanel } from "./ErrorPanel-CXR5_PU5.js";
|
|
37
|
+
import { I as InputText } from "./InputText-CUwGMcdr.js";
|
|
38
|
+
import { C as CountryField, a as COUNTRY_FIELD } from "./CountryField-D9-bXI4a.js";
|
|
39
|
+
import { m as mergeFieldMetadataIntoProps, c as createFormUtils } from "./formUtils-DUWRC8eU.js";
|
|
40
|
+
import { i as isEmpty } from "./isEmpty-Br_hVWxS.js";
|
|
41
|
+
import { a as validateNotEmptyOnBlur } from "./patternValidators-Bmlm3yXY.js";
|
|
42
|
+
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-BDIK0MuQ.js";
|
|
43
|
+
import { u as useMultiForm } from "./useMultiForm-jpDXpq32.js";
|
|
44
44
|
import "preact";
|
|
45
45
|
import "classnames";
|
|
46
46
|
import "named-slots";
|
|
47
|
-
import { R as RadioGroup } from "./RadioGroup-
|
|
47
|
+
import { R as RadioGroup } from "./RadioGroup-BArQYFSH.js";
|
|
48
48
|
import "./Radio-BMtxBpnn.js";
|
|
49
49
|
import "@preact/signals";
|
|
50
|
-
import { A as Address } from "./Address-
|
|
51
|
-
import { C as ContextGuidance } from "./ContextGuidance-
|
|
50
|
+
import { A as Address } from "./Address-VvcSEiTE.js";
|
|
51
|
+
import { C as ContextGuidance } from "./ContextGuidance-C98m5n_m.js";
|
|
52
52
|
const hasDataChanged = (initialData, currentData) => entriesOf(currentData ?? {}).some(([key, value]) => {
|
|
53
53
|
if (typeof value === "object") {
|
|
54
54
|
return !objectsDeepEqual(value, initialData?.[key]);
|
|
@@ -7,13 +7,13 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { u as useTranslation, R as useLegalEntity, a as addResourceBundles, V as Loader, a9 as getLegalEntityCountry, y as TaskTypes, w as EntityTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { u as useTranslation, R as useLegalEntity, a as addResourceBundles, V as Loader, a9 as getLegalEntityCountry, y as TaskTypes, w as EntityTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-CtRQBY2O.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
12
|
import { skipToken } from "@tanstack/preact-query";
|
|
13
13
|
import { useParams } from "wouter-preact";
|
|
14
|
-
import { l as useTrustMembers } from "./OnboardingDropinComponent-
|
|
15
|
-
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-
|
|
16
|
-
import { u as useBusinessDetailsData, B as BusinessDetailsDropin } from "./useBusinessDetailsData-
|
|
14
|
+
import { l as useTrustMembers } from "./OnboardingDropinComponent-m0goHrcf.js";
|
|
15
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-D0yVnw4F.js";
|
|
16
|
+
import { u as useBusinessDetailsData, B as BusinessDetailsDropin } from "./useBusinessDetailsData-JsjuBZ9t.js";
|
|
17
17
|
function TrustMemberCompanyPage({
|
|
18
18
|
trustId,
|
|
19
19
|
trustMemberCompanyId: trustMemberCompanyIdProp,
|
package/dist/{TrustMemberIndividualPage-D0ErvJ2Q.js → TrustMemberIndividualPage-6V_pMESO.js}
RENAMED
|
@@ -7,12 +7,12 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { R as useLegalEntity, u as useTranslation, a as addResourceBundles, V as Loader, a9 as getLegalEntityCountry, ai as noop, y as TaskTypes, w as EntityTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { R as useLegalEntity, u as useTranslation, a as addResourceBundles, V as Loader, a9 as getLegalEntityCountry, ai as noop, y as TaskTypes, w as EntityTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-CtRQBY2O.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
12
|
import { skipToken } from "@tanstack/preact-query";
|
|
13
13
|
import { useParams } from "wouter-preact";
|
|
14
|
-
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-
|
|
15
|
-
import { I as IndividualDropin } from "./IndividualDropin-
|
|
14
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-D0yVnw4F.js";
|
|
15
|
+
import { I as IndividualDropin } from "./IndividualDropin-CJ_mQfQH.js";
|
|
16
16
|
function TrustMemberIndividualPage({
|
|
17
17
|
trustId,
|
|
18
18
|
memberId: memberIdProp,
|
|
@@ -33,7 +33,7 @@ function TrustMemberIndividualPage({
|
|
|
33
33
|
const capabilityProblems = useCapabilityProblems();
|
|
34
34
|
const { i18n } = useTranslation();
|
|
35
35
|
addResourceBundles(i18n, [
|
|
36
|
-
{ 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-
|
|
36
|
+
{ 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) },
|
|
37
37
|
{ ns: "trust", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../language/bg-BG.json": () => import("./bg-BG-DMNRRZZE.js"), "../language/cs-CZ.json": () => import("./cs-CZ-DXSMRqPu.js"), "../language/da-DK.json": () => import("./da-DK-CMVthpSr.js"), "../language/de-DE.json": () => import("./de-DE-B5TOuf7l.js"), "../language/el-GR.json": () => import("./el-GR-BNNlN4l2.js"), "../language/en-US.json": () => import("./en-US-G607HIyo.js"), "../language/es-ES.json": () => import("./es-ES-Wcpc6fm1.js"), "../language/et-EE.json": () => import("./et-EE-DNC4hcxm.js"), "../language/fi-FI.json": () => import("./fi-FI-BJLU1JHw.js"), "../language/fr-FR.json": () => import("./fr-FR-DodNoPid.js"), "../language/hr-HR.json": () => import("./hr-HR-C0NLgF1r.js"), "../language/hu-HU.json": () => import("./hu-HU-C3ZiFh1F.js"), "../language/it-IT.json": () => import("./it-IT-CZ4aDoVQ.js"), "../language/ja-JP.json": () => import("./ja-JP-BpeNsNhn.js"), "../language/lt-LT.json": () => import("./lt-LT-C8n1GZoU.js"), "../language/lv-LV.json": () => import("./lv-LV-BdPdaVGy.js"), "../language/nl-NL.json": () => import("./nl-NL-B2Uku0lw.js"), "../language/no-NO.json": () => import("./no-NO-DjOcJWnC.js"), "../language/pl-PL.json": () => import("./pl-PL-Bmaq3IC3.js"), "../language/pt-BR.json": () => import("./pt-BR-BKdT0Bpl.js"), "../language/pt-PT.json": () => import("./pt-PT-C2li07N1.js"), "../language/ro-RO.json": () => import("./ro-RO-iPjOeKwM.js"), "../language/sk-SK.json": () => import("./sk-SK-3_SoEn6P.js"), "../language/sl-SI.json": () => import("./sl-SI-DbfswGh0.js"), "../language/sv-SE.json": () => import("./sv-SE-Blw4s8bC.js") }), `../language/${lang}.json`, 3) }
|
|
38
38
|
]);
|
|
39
39
|
if (!trustLe || memberId && !memberLe) {
|