@adyen/kyc-components 3.90.2 → 3.90.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AcceptTermsOfServiceComponent-BRDCvIzn.js → AcceptTermsOfServiceComponent-D87Fwd2f.js} +12 -12
- package/dist/{Accordion-DgySJGHZ.js → Accordion-BlQDgq9k.js} +1 -1
- package/dist/{AccountSetupRejected-BO1-TNW5.js → AccountSetupRejected-DukZkSO2.js} +3 -3
- package/dist/{ActionBar-BC2y5nTw.js → ActionBar-BmF9QFwD.js} +1 -1
- package/dist/{Address-BPnBjFEl.js → Address-DbMsGXmd.js} +7 -7
- package/dist/{Alert-en_LjFuh.js → Alert-8DgB9Po_.js} +2 -2
- package/dist/{Avatar-DoksuvD1.js → Avatar-BRe0h5-c.js} +1 -1
- package/dist/{BusinessDetailsDropin-O5qkIiQz.js → BusinessDetailsDropin-BuzPnl1j.js} +66 -41
- package/dist/{BusinessFinancingComponent-D6YSg4-6.js → BusinessFinancingComponent-DhPUn1b6.js} +4 -4
- package/dist/{BusinessFinancingDropin-BndXzeB3.js → BusinessFinancingDropin-OGBTrvRE.js} +21 -21
- package/dist/{BusinessFinancingPage-Cq4ucLJU.js → BusinessFinancingPage-CWLCAwdc.js} +3 -3
- package/dist/{BusinessTypeSelectionPage-DnlUiT4r.js → BusinessTypeSelectionPage-BqFdubjG.js} +7 -7
- package/dist/{Card-CLabf63j.js → Card-Cg_gK9VR.js} +2 -2
- package/dist/{ConstitutionalDocument-CosVm_qv.js → ConstitutionalDocument-CeRqguDT.js} +2 -2
- package/dist/{CountryField-BjnAAbBe.js → CountryField-DwQBatok.js} +5 -5
- package/dist/{CreateIndividualComponent-Diatv4oJ.js → CreateIndividualComponent-BI0EaF5n.js} +4 -4
- package/dist/{CreateTransferInstrumentComponent-DjWnlvkE.js → CreateTransferInstrumentComponent-Dv0Eg2S_.js} +4 -4
- package/dist/{Currency-D3ElLnkS.js → Currency-Coe3QMbX.js} +4 -4
- package/dist/{CustomerSupport-CxlQhJ2U.js → CustomerSupport-DgzuQZiK.js} +9 -9
- package/dist/{DebugModal-7uGAe8Jl.js → DebugModal-DsqZUbWg.js} +7 -7
- package/dist/{DecisionMakerDetailsPage-Bk-AwB9i.js → DecisionMakerDetailsPage-D8TgmTBL.js} +5 -5
- package/dist/{DecisionMakers-D0-L_qXz.js → DecisionMakers-CGqCnH4Z.js} +19 -19
- package/dist/{EmbeddedStatus-DPKHd7Fv.js → EmbeddedStatus-92LgcEzI.js} +2 -2
- package/dist/{EndStateLayout-CG0_BT-U.js → EndStateLayout-D0to_JhP.js} +1 -1
- package/dist/{EntityAssociation-B9L11tYV.js → EntityAssociation-CHe9memX.js} +7 -7
- package/dist/{EntityGuidanceStatus-Bh2CQ06L.js → EntityGuidanceStatus-DknfogFW.js} +2 -2
- package/dist/{FormFlow-CrLp30sd.js → FormFlow-LSmyX7Hx.js} +7 -7
- package/dist/{FormNavigation-zCXsmyKt.js → FormNavigation-CqfOhkuK.js} +2 -2
- package/dist/{FormWrapper-CEi4E2ad.js → FormWrapper-DjmK6JTP.js} +9 -9
- package/dist/{IndividualOnfido-DtdkIpGU.js → IndividualOnfido-wkc1IOjL.js} +22 -16
- package/dist/{IndividualOnfidoDropin-AEAjIJb3.js → IndividualOnfidoDropin-BWwS8BW-.js} +33 -29
- package/dist/{InputText-DA7iQTzB.js → InputText-CnhTDLn9.js} +2 -2
- package/dist/{Introduction-DZqwhdSR.js → Introduction-ButyMTuN.js} +3 -3
- package/dist/{JpAddress-Do3Z8j2i.js → JpAddress-BRrbCC65.js} +7 -7
- package/dist/{LegalRepresentativeDetailsPage-B10Xuo2t.js → LegalRepresentativeDetailsPage-DkSwkgLZ.js} +3 -3
- package/dist/{ListItem-B0JwXrgM.js → ListItem-BZNzvNV9.js} +2 -2
- package/dist/{ManageIndividualComponent-D3oeRWbJ.js → ManageIndividualComponent-C8gbdwHY.js} +4 -4
- package/dist/{ManageTermsOfServiceComponent-BV6gM6iF.js → ManageTermsOfServiceComponent-CXFVMwlI.js} +4 -4
- package/dist/{ManageTransferInstrumentComponent--iqQ2fnQ.js → ManageTransferInstrumentComponent-BZJSGNF-.js} +11 -11
- package/dist/{MaybeModal-BIVzIfaN.js → MaybeModal-CaM5KrtN.js} +2 -2
- package/dist/{Modal-ahLC-iIq.js → Modal-Cp3v04bI.js} +1 -1
- package/dist/{OnboardingDropinComponent-DOeXNOhc.js → OnboardingDropinComponent-BBx0mAip.js} +51 -51
- package/dist/{PayoutDetailsDropin-DsORebKm.js → PayoutDetailsDropin-Ctf6ofH4.js} +26 -26
- package/dist/{Review-DzsqbXII.js → Review-aiVhflJA.js} +6 -6
- package/dist/{RootBusinessDetailsPage-xQWlJXtm.js → RootBusinessDetailsPage-tSYoYQpN.js} +4 -4
- package/dist/{RootBusinessLinesPage-BFpSfBV1.js → RootBusinessLinesPage-DQJi7udh.js} +22 -22
- package/dist/{RootIndividualDetailsPage-BMINFE5Q.js → RootIndividualDetailsPage-CjnLMWcW.js} +5 -5
- package/dist/{SignPCIComponent-DYvxjp5L.js → SignPCIComponent-DWJVpEyn.js} +9 -9
- package/dist/{SingpassSelection-KO5wPj_K.js → SingpassSelection-DxouOwBE.js} +3 -3
- package/dist/{SoleProprietorshipPage-C0rrVn7z.js → SoleProprietorshipPage-D-ITUkB0.js} +3 -3
- package/dist/{SourceOfFundsPage-B5-wlPpl.js → SourceOfFundsPage-D6loRwDi.js} +24 -24
- package/dist/{Spacer-Ch-0l8D-.js → Spacer-B59jyGSP.js} +8 -8
- package/dist/{StepProgressIndicator-BoX3RnZU.js → StepProgressIndicator-DZQZ2mIK.js} +1 -1
- package/dist/{StoreProvider-CI36KtEJ.js → StoreProvider-C1Dsf-BK.js} +4 -4
- package/dist/{Summary-BEsXV_pZ.js → Summary-Cg8ylB81.js} +3 -3
- package/dist/{TaxReportingDropin-DgGeTRwA.js → TaxReportingDropin-C5anBKOG.js} +15 -15
- package/dist/{TrustDetailsPage-BpAZnxfl.js → TrustDetailsPage-MtUEFasa.js} +26 -26
- package/dist/{TrustMemberCompanyPage-D_kvCPC1.js → TrustMemberCompanyPage-Cl9-fyhr.js} +4 -4
- package/dist/{TrustMemberIndividualPage-D1YvkZy9.js → TrustMemberIndividualPage-DopNwPMM.js} +3 -3
- package/dist/{TrustMemberRoleAndTypePage-jZgnVSum.js → TrustMemberRoleAndTypePage-d04EES1-.js} +13 -13
- package/dist/{TrustMembersOverview-CjRt2Fh7.js → TrustMembersOverview-BknCvO9l.js} +11 -11
- package/dist/{UnincorporatedPartnershipIndividualPage-BbQHUCcB.js → UnincorporatedPartnershipIndividualPage-4rclPxko.js} +3 -3
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-BpwGlX28.js → UnincorporatedPartnershipMemberCompanyPage-iSgKt6pj.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-DtmrXHK3.js → UnincorporatedPartnershipMemberRoleAndTypePage-BvNHAU_2.js} +8 -8
- package/dist/{UnincorporatedPartnershipMembersOverview-D_iaH1UU.js → UnincorporatedPartnershipMembersOverview-CxUQZ-Df.js} +8 -8
- package/dist/{VerificationErrorAlert-B5qMemGE.js → VerificationErrorAlert-sXEIyVb_.js} +3 -3
- package/dist/{ViewVerificationStatusComponent-PzJ16g_N.js → ViewVerificationStatusComponent-Cwqe_JI8.js} +3 -3
- 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-kyc-components.js +20 -20
- 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/{debouncedInputEvent-djJun_EE.js → debouncedInputEvent-m_KweSUi.js} +1 -1
- package/dist/{documentUtils-CGvnVtmC.js → documentUtils-Bq4Fcc1a.js} +58 -7
- package/dist/{dropinUtils-QyD_Awxv.js → dropinUtils-D18lPyMd.js} +3 -3
- package/dist/{getFieldsWithExistingData-DDAOO3v3.js → getFieldsWithExistingData-CapkzyUd.js} +1 -1
- package/dist/{getName-D-8pt9JC.js → getName-nDhiFv_d.js} +1 -1
- package/dist/{hasDataChanged-BuXRlPli.js → hasDataChanged-C0QfFyi1.js} +1 -1
- package/dist/{iframeWidget-Cum-fVPX.js → iframeWidget-BCjAg6Te.js} +3 -3
- package/dist/{localizeDateString-BmC7pUDO.js → localizeDateString-z7rZoHCC.js} +1 -1
- package/dist/{mapExistingFile-CgstRs83.js → mapExistingFile-DelM9H33.js} +2 -2
- package/dist/{mapFinancialReportsToFinancialInformation-Cq2RWP3q.js → mapFinancialReportsToFinancialInformation-DnMxxQ3r.js} +2 -2
- package/dist/{mapJpAddressSchemaToAddressLocalizations-BXb9w8Ji.js → mapJpAddressSchemaToAddressLocalizations-CEsSDC2k.js} +2 -2
- package/dist/{mapLegalEntityToIndividualOnfidoSchema-t7eCaIZy.js → mapLegalEntityToIndividualOnfidoSchema-auEiNgnL.js} +2 -2
- package/dist/{mapTransferInstrumentToPayoutAccount-C3RQNfKN.js → mapTransferInstrumentToPayoutAccount-kIGvDg1E.js} +1 -1
- package/dist/{process-field-configurations-RsOjqGgr.js → process-field-configurations-uok9IFxE.js} +2 -2
- package/dist/{resolveEnvironment-Cm7ZMg8e.js → resolveEnvironment-DkZRgyhm.js} +3 -3
- package/dist/{rules-DNLl28n7.js → rules-C6TpNEnm.js} +4 -4
- package/dist/types/utils/api/documentUtils.d.ts +6 -0
- package/dist/{types-CuUpLShI.js → types-CFuzQz8C.js} +1 -1
- package/dist/{types-Cls8Ws4X.js → types-D7B6pUZ4.js} +1 -1
- package/dist/{types-BjulUQZs.js → types-JTwLUY63.js} +1 -1
- package/dist/{useAssociatedLegalEntity-C0fauMUw.js → useAssociatedLegalEntity-XQUeQ705.js} +1 -1
- package/dist/{useCreateLegalEntity-duHIB7zw.js → useCreateLegalEntity-Cap8fK-F.js} +1 -1
- package/dist/{useDataset-BUt1-zBQ.js → useDataset-CVXbYF2B.js} +3 -3
- package/dist/{useForm-CxUeSVAa.js → useForm-CV5yIbAW.js} +4 -4
- package/dist/{useGlobalData-lCbx7YAq.js → useGlobalData-a_K7Lhat.js} +2 -2
- package/dist/{useMultiForm-Dg7W-Bbk.js → useMultiForm-Cl7j2UJo.js} +3 -3
- package/dist/{useOnboardingStatus-BZHodnkY.js → useOnboardingStatus-p1DAB7gR.js} +1 -1
- package/dist/{useScenarios-Czw7RUBe.js → useScenarios-C9cgFIwR.js} +1 -1
- package/dist/{useTermsOfServiceStatus-D2XZXVTR.js → useTermsOfServiceStatus-DvK04EPa.js} +1 -1
- package/dist/{useToastContext-dTryNVgP.js → useToastContext-D_FkzBo_.js} +1 -1
- package/dist/{useUnincorporatedPartnershipMembers-Dwyohm2U.js → useUnincorporatedPartnershipMembers-CmOklDzw.js} +4 -4
- package/dist/{useUpdateBusinessLines-mzkw8oIH.js → useUpdateBusinessLines-2i9G3ESb.js} +1 -1
- package/dist/{useUpdateLegalEntity-BEkfsrTr.js → useUpdateLegalEntity-5jT0WLYb.js} +2 -2
- package/dist/{utils-D8GWOzfm.js → utils-OJ5FYKVc.js} +5 -5
- package/dist/{utils-BBehVjLE.js → utils-XqO17YWC.js} +3 -3
- package/dist/{validate-t_OcU_1l.js → validate-B8kfNxjg.js} +1 -1
- package/dist/{validate-DG9_xxX7.js → validate-g9wpUSZu.js} +1 -1
- package/dist/{validationError-B4HrkugZ.js → validationError-CY4oyE6_.js} +1 -1
- package/package.json +1 -1
|
@@ -10,40 +10,40 @@
|
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { signal } from "@preact/signals";
|
|
12
12
|
import { useState, useEffect, useRef, useMemo, useCallback, useContext } from "preact/hooks";
|
|
13
|
-
import { b as useApiContext, j as useQuery, k as httpPost, m as httpGet, $ as useMutation, a1 as useQueryClient, P as createLogger, C as CountryCodes, u as useTranslation, c as useLegalEntity, R as ROOT_LE, r as LegalEntityTypes, a as addResourceBundles, L as Loader, M as EntityTypes, _ as __variableDynamicImportRuntimeHelper, a2 as useAnalyticsContext, a3 as Icon, G as Typography, B as Button, aj as objectsDeepEqual, aV as doArraysMatch, W as isEmpty, X as useExperimentsContext, bg as getSdkToken, H as hasOwnEntityAssociationOfType, K as useAccountHolder, o as useSettingsContext, g as getLegalEntityCountry, an as Trans, bh as EEA_Countries, bi as isAccountIdentifierObscured, bj as hasEmptyFields, bk as extractFieldName, bl as concatenateFieldNames, ap as keysOf, aA as getCapabilityProblems, O as TaskTypes, aB as cloneObject, w as skipToken } from "./StoreProvider-
|
|
14
|
-
import { u as useTransferInstrument, m as mapTransferInstrumentToPayoutAccount } from "./mapTransferInstrumentToPayoutAccount-
|
|
15
|
-
import { u as useForm, F as Field, S as Select, L as LoaderWrapper } from "./useForm-
|
|
13
|
+
import { b as useApiContext, j as useQuery, k as httpPost, m as httpGet, $ as useMutation, a1 as useQueryClient, P as createLogger, C as CountryCodes, u as useTranslation, c as useLegalEntity, R as ROOT_LE, r as LegalEntityTypes, a as addResourceBundles, L as Loader, M as EntityTypes, _ as __variableDynamicImportRuntimeHelper, a2 as useAnalyticsContext, a3 as Icon, G as Typography, B as Button, aj as objectsDeepEqual, aV as doArraysMatch, W as isEmpty, X as useExperimentsContext, bg as getSdkToken, H as hasOwnEntityAssociationOfType, K as useAccountHolder, o as useSettingsContext, g as getLegalEntityCountry, an as Trans, bh as EEA_Countries, bi as isAccountIdentifierObscured, bj as hasEmptyFields, bk as extractFieldName, bl as concatenateFieldNames, ap as keysOf, aA as getCapabilityProblems, O as TaskTypes, aB as cloneObject, w as skipToken } from "./StoreProvider-C1Dsf-BK.js";
|
|
14
|
+
import { u as useTransferInstrument, m as mapTransferInstrumentToPayoutAccount } from "./mapTransferInstrumentToPayoutAccount-kIGvDg1E.js";
|
|
15
|
+
import { u as useForm, F as Field, S as Select, L as LoaderWrapper } from "./useForm-CV5yIbAW.js";
|
|
16
16
|
import { E as ExperimentNames } from "./types-Dk94b8kx.js";
|
|
17
|
-
import { I as InputText, S as SettingNames } from "./InputText-
|
|
18
|
-
import { u as useGlobalDataSlice, a as useGlobalData, b as useResetGlobalData, c as useStateContext } from "./useGlobalData-
|
|
19
|
-
import { c as useInvalidateRootLegalEntity, a as useToastContext } from "./useToastContext-
|
|
20
|
-
import { a as augmentWithCountryConfigs, g as getPropsFromConfigurations } from "./process-field-configurations-
|
|
21
|
-
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-
|
|
22
|
-
import { A as AdyenKycSdkError, p as payoutAccountFormat, m as mapExistingFile, g as getPageName, u as useScenarioConfiguration, b as useUnifyLoadingStatus } from "./mapExistingFile-
|
|
23
|
-
import { u as useDataset, d as datasetIdentifier, C as Confirm, a as datasetUtilities } from "./useDataset-
|
|
24
|
-
import { c as currencyByCountry, C as Currencies } from "./types-
|
|
25
|
-
import { F as FormWrapper } from "./FormWrapper-
|
|
26
|
-
import { i as isValidationError, p as processValidationErrors, b as isIdDocumentUploadError, c as isBankStatementUploadError, a as isMaintenanceModeError, m as mapCreateOrUpdateTransferInstrumentErrorMessageToTranslatable } from "./validationError-
|
|
27
|
-
import { f as fileToBase64, a as getDocument, c as createDocumentRequest, d as documentApiUtils, b as getFileExtention } from "./documentUtils-
|
|
28
|
-
import { g as getLegalEntityNameBasedOnType, b as getPayoutAccountHolderName } from "./getName-
|
|
29
|
-
import { I as IFrameWidget, o as omitObscuredFieldsIfUnchanged } from "./iframeWidget-
|
|
17
|
+
import { I as InputText, S as SettingNames } from "./InputText-CnhTDLn9.js";
|
|
18
|
+
import { u as useGlobalDataSlice, a as useGlobalData, b as useResetGlobalData, c as useStateContext } from "./useGlobalData-a_K7Lhat.js";
|
|
19
|
+
import { c as useInvalidateRootLegalEntity, a as useToastContext } from "./useToastContext-D_FkzBo_.js";
|
|
20
|
+
import { a as augmentWithCountryConfigs, g as getPropsFromConfigurations } from "./process-field-configurations-uok9IFxE.js";
|
|
21
|
+
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-D18lPyMd.js";
|
|
22
|
+
import { A as AdyenKycSdkError, p as payoutAccountFormat, m as mapExistingFile, g as getPageName, u as useScenarioConfiguration, b as useUnifyLoadingStatus } from "./mapExistingFile-DelM9H33.js";
|
|
23
|
+
import { u as useDataset, d as datasetIdentifier, C as Confirm, a as datasetUtilities } from "./useDataset-CVXbYF2B.js";
|
|
24
|
+
import { c as currencyByCountry, C as Currencies } from "./types-JTwLUY63.js";
|
|
25
|
+
import { F as FormWrapper } from "./FormWrapper-DjmK6JTP.js";
|
|
26
|
+
import { i as isValidationError, p as processValidationErrors, b as isIdDocumentUploadError, c as isBankStatementUploadError, a as isMaintenanceModeError, m as mapCreateOrUpdateTransferInstrumentErrorMessageToTranslatable } from "./validationError-CY4oyE6_.js";
|
|
27
|
+
import { f as fileToBase64, a as getDocument, c as createDocumentRequest, d as documentApiUtils, b as getFileExtention } from "./documentUtils-Bq4Fcc1a.js";
|
|
28
|
+
import { g as getLegalEntityNameBasedOnType, b as getPayoutAccountHolderName } from "./getName-nDhiFv_d.js";
|
|
29
|
+
import { I as IFrameWidget, o as omitObscuredFieldsIfUnchanged } from "./iframeWidget-BCjAg6Te.js";
|
|
30
30
|
import { Show } from "@preact/signals/utils";
|
|
31
|
-
import { s as summaryStep } from "./Summary-
|
|
32
|
-
import { c as createFormUtils, H as Header, E as ErrorPanel, S as StackLayout, e as isNotEmptyValidator, m as mergeFieldMetadataIntoProps, d as getFieldProps, C as CountryField, a as Link, g as getFormProps, s as summaryItem } from "./CountryField-
|
|
33
|
-
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-
|
|
34
|
-
import { i as useCapabilityProblems, j as getProblemsForEntity, D as DropzoneFile, p as bytesToSize, l as defaultFileValidationOptions, o as fileValidationRules, S as StateContextSetter, q as DocumentGuidance, t as TextArea, m as makeMask, n as numericInputs, d as nonInputs, s as spacer, k as customInputs, v as validatePatternOnBlur, r as resolveFieldMetadata, M as MaskedInput, b as alphanumericInputs, u as uppercase, c as alphaInputs, I as Image, R as RadioGroupCard, C as ContextGuidance, x as createFormRules } from "./Spacer-
|
|
31
|
+
import { s as summaryStep } from "./Summary-Cg8ylB81.js";
|
|
32
|
+
import { c as createFormUtils, H as Header, E as ErrorPanel, S as StackLayout, e as isNotEmptyValidator, m as mergeFieldMetadataIntoProps, d as getFieldProps, C as CountryField, a as Link, g as getFormProps, s as summaryItem } from "./CountryField-DwQBatok.js";
|
|
33
|
+
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-XQUeQ705.js";
|
|
34
|
+
import { i as useCapabilityProblems, j as getProblemsForEntity, D as DropzoneFile, p as bytesToSize, l as defaultFileValidationOptions, o as fileValidationRules, S as StateContextSetter, q as DocumentGuidance, t as TextArea, m as makeMask, n as numericInputs, d as nonInputs, s as spacer, k as customInputs, v as validatePatternOnBlur, r as resolveFieldMetadata, M as MaskedInput, b as alphanumericInputs, u as uppercase, c as alphaInputs, I as Image, R as RadioGroupCard, C as ContextGuidance, x as createFormRules } from "./Spacer-B59jyGSP.js";
|
|
35
35
|
import cx from "classnames";
|
|
36
36
|
import { memo, useRef as useRef$1, useState as useState$1, useMemo as useMemo$1, useEffect as useEffect$1, lazy } from "preact/compat";
|
|
37
|
-
import { u as useUnincorporatedPartnershipMembers } from "./useUnincorporatedPartnershipMembers-
|
|
37
|
+
import { u as useUnincorporatedPartnershipMembers } from "./useUnincorporatedPartnershipMembers-CmOklDzw.js";
|
|
38
38
|
import { b as bankStatementDescriptionPattern } from "./basePatterns-BwdnMQxI.js";
|
|
39
|
-
import { M as Modal } from "./Modal-
|
|
40
|
-
import { E as EndStateLayout } from "./EndStateLayout-
|
|
39
|
+
import { M as Modal } from "./Modal-Cp3v04bI.js";
|
|
40
|
+
import { E as EndStateLayout } from "./EndStateLayout-D0to_JhP.js";
|
|
41
41
|
import { createContext } from "preact";
|
|
42
|
-
import { a as Alert } from "./Alert-
|
|
43
|
-
import { A as ActionBar } from "./ActionBar-
|
|
42
|
+
import { a as Alert } from "./Alert-8DgB9Po_.js";
|
|
43
|
+
import { A as ActionBar } from "./ActionBar-BmF9QFwD.js";
|
|
44
44
|
import OpenBankingSDK from "@adyen/openbankingsdk";
|
|
45
45
|
import { T as Tag } from "./Tag-DdkVScyr.js";
|
|
46
|
-
import { C as Card } from "./Card-
|
|
46
|
+
import { C as Card } from "./Card-Cg_gK9VR.js";
|
|
47
47
|
const getCheck = async (legalEntityId, baseUrl, data) => {
|
|
48
48
|
return httpPost(
|
|
49
49
|
{
|
|
@@ -9,12 +9,12 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { useState } from "preact/hooks";
|
|
12
|
-
import { b as useApiContext, $ as useMutation, k as httpPost, u as useTranslation } from "./StoreProvider-
|
|
13
|
-
import { C as Checkbox } from "./debouncedInputEvent-
|
|
14
|
-
import { H as Header } from "./CountryField-
|
|
15
|
-
import { L as LoaderWrapper } from "./useForm-
|
|
16
|
-
import { a as useToastContext } from "./useToastContext-
|
|
17
|
-
import { A as ActionBar } from "./ActionBar-
|
|
12
|
+
import { b as useApiContext, $ as useMutation, k as httpPost, u as useTranslation } from "./StoreProvider-C1Dsf-BK.js";
|
|
13
|
+
import { C as Checkbox } from "./debouncedInputEvent-m_KweSUi.js";
|
|
14
|
+
import { H as Header } from "./CountryField-DwQBatok.js";
|
|
15
|
+
import { L as LoaderWrapper } from "./useForm-CV5yIbAW.js";
|
|
16
|
+
import { a as useToastContext } from "./useToastContext-D_FkzBo_.js";
|
|
17
|
+
import { A as ActionBar } from "./ActionBar-BmF9QFwD.js";
|
|
18
18
|
import { D as DropinLayout } from "./DropinLayout-CBP_cHLC.js";
|
|
19
19
|
const confirmReview = async (legalEntityId, baseUrl) => {
|
|
20
20
|
return httpPost({
|
|
@@ -7,11 +7,11 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { u as useTranslation, c as useLegalEntity, R as ROOT_LE, a as addResourceBundles, L as Loader, M as EntityTypes, g as getLegalEntityCountry, O as TaskTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { u as useTranslation, c as useLegalEntity, R as ROOT_LE, a as addResourceBundles, L as Loader, M as EntityTypes, g as getLegalEntityCountry, O as TaskTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-C1Dsf-BK.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
|
-
import { i as useCapabilityProblems, j as getProblemsForEntity } from "./Spacer-
|
|
13
|
-
import { g as getForms, f as filterProblemsByTaskForms } from "./OnboardingDropinComponent-
|
|
14
|
-
import { B as BusinessDetailsDropin } from "./BusinessDetailsDropin-
|
|
12
|
+
import { i as useCapabilityProblems, j as getProblemsForEntity } from "./Spacer-B59jyGSP.js";
|
|
13
|
+
import { g as getForms, f as filterProblemsByTaskForms } from "./OnboardingDropinComponent-BBx0mAip.js";
|
|
14
|
+
import { B as BusinessDetailsDropin } from "./BusinessDetailsDropin-BuzPnl1j.js";
|
|
15
15
|
const RootBusinessDetailsPage = ({
|
|
16
16
|
onSubmit,
|
|
17
17
|
handleHomeClick
|
|
@@ -7,34 +7,34 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { C as CountryCodes, a0 as entriesOf, P as createLogger, u as useTranslation, L as Loader, Y as IconButton, G as Typography, an as Trans, B as Button, b as useApiContext, $ as useMutation, aN as httpDelete, X as useExperimentsContext, U as TaskStatuses, M as EntityTypes, c as useLegalEntity, R as ROOT_LE, a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { C as CountryCodes, a0 as entriesOf, P as createLogger, u as useTranslation, L as Loader, Y as IconButton, G as Typography, an as Trans, B as Button, b as useApiContext, $ as useMutation, aN as httpDelete, X as useExperimentsContext, U as TaskStatuses, M as EntityTypes, c as useLegalEntity, R as ROOT_LE, a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-C1Dsf-BK.js";
|
|
11
11
|
import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
|
|
12
12
|
import { useCallback, useMemo, useRef, useState, useEffect } from "preact/hooks";
|
|
13
|
-
import { $ as salesChannelsWithWebData, a0 as useIndustryCodes, T as useBusinessLines, z as industryCodeFieldMetadata, a1 as IndustryCodeField, a2 as INDUSTRY_CODE_FIELD, a3 as SALES_CHANNELS_FIELD, a4 as WEB_DATA_FIELD, a5 as shouldSignNewPci, a6 as SCTA_FIELD, a7 as Divider, a8 as selectedBusinessLine, u as useSalesChannels, a9 as usePciQuestionnaireList, a as usePciStatus, aa as businessLinesConfigurations, ab as businessLinesForms } from "./OnboardingDropinComponent-
|
|
14
|
-
import { u as useCreateBusinessLine, a as useUpdateBusinessLine } from "./useUpdateBusinessLines-
|
|
15
|
-
import { F as FormContextProvider, a as FormFlow } from "./FormFlow-
|
|
16
|
-
import { a as useToastContext } from "./useToastContext-
|
|
17
|
-
import { g as getPropsFromConfigurations } from "./process-field-configurations-
|
|
18
|
-
import { a as addValidityToForms, u as useFormComposer } from "./dropinUtils-
|
|
19
|
-
import { u as useMultiForm } from "./useMultiForm-
|
|
20
|
-
import { x as createFormRules, I as Image, i as useCapabilityProblems, j as getProblemsForEntity } from "./Spacer-
|
|
21
|
-
import { s as summaryStep } from "./Summary-
|
|
22
|
-
import { m as mergeFieldMetadataIntoProps, c as createFormUtils, H as Header, S as StackLayout, a as Link, L as List } from "./CountryField-
|
|
23
|
-
import { u as useFormContext } from "./Address-
|
|
13
|
+
import { $ as salesChannelsWithWebData, a0 as useIndustryCodes, T as useBusinessLines, z as industryCodeFieldMetadata, a1 as IndustryCodeField, a2 as INDUSTRY_CODE_FIELD, a3 as SALES_CHANNELS_FIELD, a4 as WEB_DATA_FIELD, a5 as shouldSignNewPci, a6 as SCTA_FIELD, a7 as Divider, a8 as selectedBusinessLine, u as useSalesChannels, a9 as usePciQuestionnaireList, a as usePciStatus, aa as businessLinesConfigurations, ab as businessLinesForms } from "./OnboardingDropinComponent-BBx0mAip.js";
|
|
14
|
+
import { u as useCreateBusinessLine, a as useUpdateBusinessLine } from "./useUpdateBusinessLines-2i9G3ESb.js";
|
|
15
|
+
import { F as FormContextProvider, a as FormFlow } from "./FormFlow-LSmyX7Hx.js";
|
|
16
|
+
import { a as useToastContext } from "./useToastContext-D_FkzBo_.js";
|
|
17
|
+
import { g as getPropsFromConfigurations } from "./process-field-configurations-uok9IFxE.js";
|
|
18
|
+
import { a as addValidityToForms, u as useFormComposer } from "./dropinUtils-D18lPyMd.js";
|
|
19
|
+
import { u as useMultiForm } from "./useMultiForm-Cl7j2UJo.js";
|
|
20
|
+
import { x as createFormRules, I as Image, i as useCapabilityProblems, j as getProblemsForEntity } from "./Spacer-B59jyGSP.js";
|
|
21
|
+
import { s as summaryStep } from "./Summary-Cg8ylB81.js";
|
|
22
|
+
import { m as mergeFieldMetadataIntoProps, c as createFormUtils, H as Header, S as StackLayout, a as Link, L as List } from "./CountryField-DwQBatok.js";
|
|
23
|
+
import { u as useFormContext } from "./Address-DbMsGXmd.js";
|
|
24
24
|
import { Show } from "@preact/signals/utils";
|
|
25
|
-
import { C as Checkbox } from "./debouncedInputEvent-
|
|
26
|
-
import { F as Field } from "./useForm-
|
|
27
|
-
import { K as KEYBOARD_KEYS, M as Modal } from "./Modal-
|
|
28
|
-
import { I as InputText } from "./InputText-
|
|
29
|
-
import { SignPCIComponent } from "./SignPCIComponent-
|
|
30
|
-
import { A as Avatar } from "./Avatar-
|
|
25
|
+
import { C as Checkbox } from "./debouncedInputEvent-m_KweSUi.js";
|
|
26
|
+
import { F as Field } from "./useForm-CV5yIbAW.js";
|
|
27
|
+
import { K as KEYBOARD_KEYS, M as Modal } from "./Modal-Cp3v04bI.js";
|
|
28
|
+
import { I as InputText } from "./InputText-CnhTDLn9.js";
|
|
29
|
+
import { SignPCIComponent } from "./SignPCIComponent-DWJVpEyn.js";
|
|
30
|
+
import { A as Avatar } from "./Avatar-BRe0h5-c.js";
|
|
31
31
|
import cx from "classnames";
|
|
32
32
|
import { D as DetailViewLayout } from "./DetailViewLayout-Z9cuUp4X.js";
|
|
33
|
-
import { C as Card } from "./Card-
|
|
33
|
+
import { C as Card } from "./Card-Cg_gK9VR.js";
|
|
34
34
|
import { lazy } from "preact/compat";
|
|
35
|
-
import { M as LandingLayout } from "./IndividualOnfido-
|
|
36
|
-
import { L as ListItem } from "./ListItem-
|
|
37
|
-
import { S as StructuredList, C as Confirm } from "./useDataset-
|
|
35
|
+
import { M as LandingLayout } from "./IndividualOnfido-wkc1IOjL.js";
|
|
36
|
+
import { L as ListItem } from "./ListItem-BZNzvNV9.js";
|
|
37
|
+
import { S as StructuredList, C as Confirm } from "./useDataset-CVXbYF2B.js";
|
|
38
38
|
const rules = ({ data, country }) => {
|
|
39
39
|
return createFormRules({
|
|
40
40
|
webAddressRequired: () => {
|
package/dist/{RootIndividualDetailsPage-BMINFE5Q.js → RootIndividualDetailsPage-CjnLMWcW.js}
RENAMED
|
@@ -7,12 +7,12 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { c as useLegalEntity, R as ROOT_LE, X as useExperimentsContext, K as useAccountHolder, u as useTranslation, a as addResourceBundles, L as Loader, g as getLegalEntityCountry, q as isPartOfTrustFromLegalEntity, M as EntityTypes, ak as isOnfidoAutofillFlowEnabled, a4 as noop, O as TaskTypes, _ as __variableDynamicImportRuntimeHelper, bt as individualOnfidoBaseMapping, b5 as individualComponentsKeyMapping } from "./StoreProvider-
|
|
10
|
+
import { c as useLegalEntity, R as ROOT_LE, X as useExperimentsContext, K as useAccountHolder, u as useTranslation, a as addResourceBundles, L as Loader, g as getLegalEntityCountry, q as isPartOfTrustFromLegalEntity, M as EntityTypes, ak as isOnfidoAutofillFlowEnabled, a4 as noop, O as TaskTypes, _ as __variableDynamicImportRuntimeHelper, bt as individualOnfidoBaseMapping, b5 as individualComponentsKeyMapping } from "./StoreProvider-C1Dsf-BK.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
|
-
import { i as useCapabilityProblems, j as getProblemsForEntity } from "./Spacer-
|
|
13
|
-
import { f as filterProblemsByTaskForms } from "./OnboardingDropinComponent-
|
|
14
|
-
import { g as getTrustedFieldsProvider, D as getTrustedFields, n as individualOnfidoForms, o as individualForms } from "./IndividualOnfido-
|
|
15
|
-
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-
|
|
12
|
+
import { i as useCapabilityProblems, j as getProblemsForEntity } from "./Spacer-B59jyGSP.js";
|
|
13
|
+
import { f as filterProblemsByTaskForms } from "./OnboardingDropinComponent-BBx0mAip.js";
|
|
14
|
+
import { g as getTrustedFieldsProvider, D as getTrustedFields, n as individualOnfidoForms, o as individualForms } from "./IndividualOnfido-wkc1IOjL.js";
|
|
15
|
+
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-BWwS8BW-.js";
|
|
16
16
|
function RootIndividualDetailsPage({
|
|
17
17
|
asModal = false,
|
|
18
18
|
hideSidebar = false,
|
|
@@ -7,17 +7,17 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, j as useQuery, k as httpPost, $ as useMutation, W as isEmpty, u as useTranslation, a2 as useAnalyticsContext, aZ as getOwnDecisionMakers, r as LegalEntityTypes, O as TaskTypes, B as Button, a as addResourceBundles, c as useLegalEntity, R as ROOT_LE, L as Loader, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { b as useApiContext, j as useQuery, k as httpPost, $ as useMutation, W as isEmpty, u as useTranslation, a2 as useAnalyticsContext, aZ as getOwnDecisionMakers, r as LegalEntityTypes, O as TaskTypes, B as Button, a as addResourceBundles, c as useLegalEntity, R as ROOT_LE, L as Loader, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-C1Dsf-BK.js";
|
|
11
11
|
import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
|
|
12
12
|
import { useState, useCallback, useEffect, useMemo } from "preact/hooks";
|
|
13
|
-
import { u as useSalesChannels, a as usePciStatus } from "./OnboardingDropinComponent-
|
|
14
|
-
import { c as useInvalidateRootLegalEntity, a as useToastContext } from "./useToastContext-
|
|
15
|
-
import { M as MaybeModal } from "./MaybeModal-
|
|
16
|
-
import { E as EndStateLayout } from "./EndStateLayout-
|
|
17
|
-
import { C as Checkbox } from "./debouncedInputEvent-
|
|
18
|
-
import { u as useForm, F as Field, S as Select } from "./useForm-
|
|
13
|
+
import { u as useSalesChannels, a as usePciStatus } from "./OnboardingDropinComponent-BBx0mAip.js";
|
|
14
|
+
import { c as useInvalidateRootLegalEntity, a as useToastContext } from "./useToastContext-D_FkzBo_.js";
|
|
15
|
+
import { M as MaybeModal } from "./MaybeModal-CaM5KrtN.js";
|
|
16
|
+
import { E as EndStateLayout } from "./EndStateLayout-D0to_JhP.js";
|
|
17
|
+
import { C as Checkbox } from "./debouncedInputEvent-m_KweSUi.js";
|
|
18
|
+
import { u as useForm, F as Field, S as Select } from "./useForm-CV5yIbAW.js";
|
|
19
19
|
import { D as DetailViewLayout } from "./DetailViewLayout-Z9cuUp4X.js";
|
|
20
|
-
import { C as Card } from "./Card-
|
|
20
|
+
import { C as Card } from "./Card-Cg_gK9VR.js";
|
|
21
21
|
import { C as ContractViewer } from "./ContractViewer-Byp71k2e.js";
|
|
22
22
|
const getPciTemplate = async (legalEntityId, baseUrl, data) => {
|
|
23
23
|
const filteredData = {
|
|
@@ -238,7 +238,7 @@ function SignPCIComponent({
|
|
|
238
238
|
const additionalSalesChannels = useSalesChannels();
|
|
239
239
|
const { t, i18n } = useTranslation(["contract", "common"]);
|
|
240
240
|
addResourceBundles(i18n, [
|
|
241
|
-
{ ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-4gJjMBoz.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-CxB0DJQ6.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-DqkN5oIu.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-COuUdtao.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-CjhbnLfE.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-Ddr7AO05.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-
|
|
241
|
+
{ ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-4gJjMBoz.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-CxB0DJQ6.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-DqkN5oIu.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-COuUdtao.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-CjhbnLfE.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-Ddr7AO05.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-C1Dsf-BK.js").then((n) => n.bN), "../../../language/locales/es-ES.json": () => import("./es-ES-DNGEW6V_.js"), "../../../language/locales/et-EE.json": () => import("./et-EE-Be9wlXLD.js"), "../../../language/locales/fi-FI.json": () => import("./fi-FI-CoI_94Fv.js"), "../../../language/locales/fr-FR.json": () => import("./fr-FR-Br7OeDIe.js"), "../../../language/locales/hr-HR.json": () => import("./hr-HR-iodfRS4f.js"), "../../../language/locales/hu-HU.json": () => import("./hu-HU-CEb_Wl4I.js"), "../../../language/locales/it-IT.json": () => import("./it-IT-BAvsF2TB.js"), "../../../language/locales/ja-JP.json": () => import("./ja-JP-US4BD67C.js"), "../../../language/locales/lt-LT.json": () => import("./lt-LT-os-nxAb0.js"), "../../../language/locales/lv-LV.json": () => import("./lv-LV-9NRF8DKM.js"), "../../../language/locales/nl-NL.json": () => import("./nl-NL-BwKrj-29.js"), "../../../language/locales/no-NO.json": () => import("./no-NO-B6OPS2CA.js"), "../../../language/locales/pl-PL.json": () => import("./pl-PL-B0BQdtqx.js"), "../../../language/locales/pt-BR.json": () => import("./pt-BR-BKQRvAfq.js"), "../../../language/locales/pt-PT.json": () => import("./pt-PT-D2Xe-OdG.js"), "../../../language/locales/ro-RO.json": () => import("./ro-RO-WGnCVll9.js"), "../../../language/locales/sk-SK.json": () => import("./sk-SK-Cq_DSPZu.js"), "../../../language/locales/sl-SI.json": () => import("./sl-SI-C3gfuen3.js"), "../../../language/locales/sv-SE.json": () => import("./sv-SE-zTiw1bUU.js") }), `../../../language/locales/${lang}.json`, 6) },
|
|
242
242
|
{ ns: "ui", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../ui/language/bg-BG.json": () => import("./bg-BG-D9J6LnkI.js"), "../../ui/language/cs-CZ.json": () => import("./cs-CZ-DY_pQqAT.js"), "../../ui/language/da-DK.json": () => import("./da-DK-jK7c9UL0.js"), "../../ui/language/de-DE.json": () => import("./de-DE-wmerDL2e.js"), "../../ui/language/el-GR.json": () => import("./el-GR-Btrk_npt.js"), "../../ui/language/en-US.json": () => import("./en-US-gsp7CD_E.js"), "../../ui/language/es-ES.json": () => import("./es-ES-Qnc0Q6JH.js"), "../../ui/language/et-EE.json": () => import("./et-EE-TzXANcP2.js"), "../../ui/language/fi-FI.json": () => import("./fi-FI-Dn2MC8uW.js"), "../../ui/language/fr-FR.json": () => import("./fr-FR-BWX14yb7.js"), "../../ui/language/hr-HR.json": () => import("./hr-HR-CZLSQruE.js"), "../../ui/language/hu-HU.json": () => import("./hu-HU-kp8Go5hZ.js"), "../../ui/language/it-IT.json": () => import("./it-IT-B0YGvVgW.js"), "../../ui/language/ja-JP.json": () => import("./ja-JP-Dz9IVH4p.js"), "../../ui/language/lt-LT.json": () => import("./lt-LT-l9rzkFg9.js"), "../../ui/language/lv-LV.json": () => import("./lv-LV-DYbb5pkt.js"), "../../ui/language/nl-NL.json": () => import("./nl-NL-BMUYBqlF.js"), "../../ui/language/no-NO.json": () => import("./no-NO-DKbWxgF-.js"), "../../ui/language/pl-PL.json": () => import("./pl-PL-B0zGy_b4.js"), "../../ui/language/pt-BR.json": () => import("./pt-BR--kaJvtE6.js"), "../../ui/language/pt-PT.json": () => import("./pt-PT-BZ5ZZm6G.js"), "../../ui/language/ro-RO.json": () => import("./ro-RO-CdSsgoUG.js"), "../../ui/language/sk-SK.json": () => import("./sk-SK-BiBWPJUf.js"), "../../ui/language/sl-SI.json": () => import("./sl-SI-DtdGMD6i.js"), "../../ui/language/sv-SE.json": () => import("./sv-SE-kR514dO1.js") }), `../../ui/language/${lang}.json`, 5) },
|
|
243
243
|
{ ns: "contract", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../Contract/language/bg-BG.json": () => import("./bg-BG-Dp4LxSP7.js"), "../../Contract/language/cs-CZ.json": () => import("./cs-CZ-CyLqoG1j.js"), "../../Contract/language/da-DK.json": () => import("./da-DK-DYpfNZdP.js"), "../../Contract/language/de-DE.json": () => import("./de-DE-BXt1K0Tr.js"), "../../Contract/language/el-GR.json": () => import("./el-GR-B90M6tcZ.js"), "../../Contract/language/en-US.json": () => import("./en-US-Dg505Oh3.js"), "../../Contract/language/es-ES.json": () => import("./es-ES-BhNhIf08.js"), "../../Contract/language/et-EE.json": () => import("./et-EE-BMgFCxds.js"), "../../Contract/language/fi-FI.json": () => import("./fi-FI-ysUrBilO.js"), "../../Contract/language/fr-FR.json": () => import("./fr-FR-BSvSKazD.js"), "../../Contract/language/hr-HR.json": () => import("./hr-HR-BLpGb4f2.js"), "../../Contract/language/hu-HU.json": () => import("./hu-HU-Ca9Hex26.js"), "../../Contract/language/it-IT.json": () => import("./it-IT-Qfzc8jnW.js"), "../../Contract/language/ja-JP.json": () => import("./ja-JP-CHQ64lw1.js"), "../../Contract/language/lt-LT.json": () => import("./lt-LT-0RKZeraM.js"), "../../Contract/language/lv-LV.json": () => import("./lv-LV-Bh-WQp0K.js"), "../../Contract/language/nl-NL.json": () => import("./nl-NL-D7gBNWEY.js"), "../../Contract/language/no-NO.json": () => import("./no-NO-C-gCYc9q.js"), "../../Contract/language/pl-PL.json": () => import("./pl-PL-LnVPufjb.js"), "../../Contract/language/pt-BR.json": () => import("./pt-BR-ur86nRrK.js"), "../../Contract/language/pt-PT.json": () => import("./pt-PT-CVNEcs32.js"), "../../Contract/language/ro-RO.json": () => import("./ro-RO-i7lojG2G.js"), "../../Contract/language/sk-SK.json": () => import("./sk-SK-B5brxU1N.js"), "../../Contract/language/sl-SI.json": () => import("./sl-SI-CUCrzJQv.js"), "../../Contract/language/sv-SE.json": () => import("./sv-SE-C6uPh9g5.js") }), `../../Contract/language/${lang}.json`, 5) }
|
|
244
244
|
]);
|
|
@@ -10,9 +10,9 @@
|
|
|
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, G as Typography, B as Button, r as LegalEntityTypes } from "./StoreProvider-
|
|
14
|
-
import { u as useForm, F as Field } from "./useForm-
|
|
15
|
-
import { R as RadioGroupCard, I as Image } from "./Spacer-
|
|
13
|
+
import { u as useTranslation, G as Typography, B as Button, r as LegalEntityTypes } from "./StoreProvider-C1Dsf-BK.js";
|
|
14
|
+
import { u as useForm, F as Field } from "./useForm-CV5yIbAW.js";
|
|
15
|
+
import { R as RadioGroupCard, I as Image } from "./Spacer-B59jyGSP.js";
|
|
16
16
|
const setupAccountMethods = ["singpass", "manual"];
|
|
17
17
|
const setupAccountMethodFields = ["setupAccountMethod"];
|
|
18
18
|
const singpassLogo = lazy(() => import("./singpass-logo-BkMSwiGY.js"));
|
|
@@ -7,10 +7,10 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { u as useTranslation, c as useLegalEntity, R as ROOT_LE, w as skipToken, a as addResourceBundles, L as Loader, g as getLegalEntityCountry, O as TaskTypes, M as EntityTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { u as useTranslation, c as useLegalEntity, R as ROOT_LE, w as skipToken, a as addResourceBundles, L as Loader, g as getLegalEntityCountry, O as TaskTypes, M as EntityTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-C1Dsf-BK.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
|
-
import { i as useCapabilityProblems, j as getProblemsForEntity } from "./Spacer-
|
|
13
|
-
import { B as BusinessDetailsDropin } from "./BusinessDetailsDropin-
|
|
12
|
+
import { i as useCapabilityProblems, j as getProblemsForEntity } from "./Spacer-B59jyGSP.js";
|
|
13
|
+
import { B as BusinessDetailsDropin } from "./BusinessDetailsDropin-BuzPnl1j.js";
|
|
14
14
|
function SoleProprietorshipPage({
|
|
15
15
|
solePropId,
|
|
16
16
|
onSubmit,
|
|
@@ -7,35 +7,35 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, $ as useMutation, k as httpPost, j as useQuery, m as httpGet, u as useTranslation, G as Typography, B as Button, V as useI18nContext, W as isEmpty, L as Loader, a3 as Icon, Y as IconButton, P as createLogger, a1 as useQueryClient, c as useLegalEntity, R as ROOT_LE, a2 as useAnalyticsContext, bM as useLegalEntities, a as addResourceBundles, M as EntityTypes, g as getLegalEntityCountry, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { b as useApiContext, $ as useMutation, k as httpPost, j as useQuery, m as httpGet, u as useTranslation, G as Typography, B as Button, V as useI18nContext, W as isEmpty, L as Loader, a3 as Icon, Y as IconButton, P as createLogger, a1 as useQueryClient, c as useLegalEntity, R as ROOT_LE, a2 as useAnalyticsContext, bM as useLegalEntities, a as addResourceBundles, M as EntityTypes, g as getLegalEntityCountry, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-C1Dsf-BK.js";
|
|
11
11
|
import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
|
|
12
|
-
import { t as TextArea, I as Image, i as useCapabilityProblems, j as getProblemsForEntity } from "./Spacer-
|
|
12
|
+
import { t as TextArea, I as Image, i as useCapabilityProblems, j as getProblemsForEntity } from "./Spacer-B59jyGSP.js";
|
|
13
13
|
import { useState, useMemo, useEffect, useCallback, useRef } from "preact/hooks";
|
|
14
|
-
import { n as normalizedTaskStatusStore, T as useBusinessLines } from "./OnboardingDropinComponent-
|
|
15
|
-
import { c as useInvalidateRootLegalEntity, a as useToastContext } from "./useToastContext-
|
|
16
|
-
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-
|
|
17
|
-
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
18
|
-
import { h as hasDataChanged } from "./hasDataChanged-
|
|
19
|
-
import { u as useGlobalDataSlice, c as useStateContext } from "./useGlobalData-
|
|
20
|
-
import { g as getPropsFromConfigurations } from "./process-field-configurations-
|
|
21
|
-
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-
|
|
22
|
-
import { F as FormWrapper } from "./FormWrapper-
|
|
23
|
-
import { c as createDocumentRequest, d as documentApiUtils } from "./documentUtils-
|
|
14
|
+
import { n as normalizedTaskStatusStore, T as useBusinessLines } from "./OnboardingDropinComponent-BBx0mAip.js";
|
|
15
|
+
import { c as useInvalidateRootLegalEntity, a as useToastContext } from "./useToastContext-D_FkzBo_.js";
|
|
16
|
+
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-Cap8fK-F.js";
|
|
17
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-5jT0WLYb.js";
|
|
18
|
+
import { h as hasDataChanged } from "./hasDataChanged-C0QfFyi1.js";
|
|
19
|
+
import { u as useGlobalDataSlice, c as useStateContext } from "./useGlobalData-a_K7Lhat.js";
|
|
20
|
+
import { g as getPropsFromConfigurations } from "./process-field-configurations-uok9IFxE.js";
|
|
21
|
+
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-D18lPyMd.js";
|
|
22
|
+
import { F as FormWrapper } from "./FormWrapper-DjmK6JTP.js";
|
|
23
|
+
import { c as createDocumentRequest, d as documentApiUtils } from "./documentUtils-Bq4Fcc1a.js";
|
|
24
24
|
import { f as formatObject } from "./utils-DNSfZiio.js";
|
|
25
25
|
import { signal } from "@preact/signals";
|
|
26
|
-
import { C as CountryField, E as ErrorPanel, c as createFormUtils, g as getFormProps, H as Header } from "./CountryField-
|
|
27
|
-
import { F as Field, S as Select, u as useForm } from "./useForm-
|
|
28
|
-
import { I as InputDate, R as RadioGroup } from "./Address-
|
|
29
|
-
import { aa as InputGroup, ab as TileGroup, B as isEmpty$1, M as LandingLayout, ac as Dropzone } from "./IndividualOnfido-
|
|
30
|
-
import { I as InputText } from "./InputText-
|
|
31
|
-
import { a as allowedCurrencies, T as TODAY_DATE, S as SOF_CHARACTERS_LIMIT, b as formatDateForInput, g as getInputErrors, c as formatAmountWithCurrency, d as getAdditionalDataSchemaKeys, s as sofCategoryItemMapper, e as getPageHeadings, h as getServiceTranslationSelectTitle, i as sourceOfFundsForms, j as getSofCardDetails, k as getGettingStartedCardDetails, l as getServiceTranslation, p as parseSOFDocumentDescription, m as getRelevantErrors, n as getUniqueRemediationActions, o as SOF_INVALID_INPUT_ERROR_CODES, q as getServiceTranslationKey, r as getDocumentLists, t as getDocumentRequirements, M as MISSING_DATA_SOF_UPLOAD_CODE, u as parseOriginatorDetails, v as getSourceOfFundsRequiredForms, w as sourceOfFundsRequiredFields, x as getSourceOfFundsPayload, y as parseSofOriginatorPayload, A as ALLOWED_SOF_SERVICES } from "./utils-
|
|
32
|
-
import { A as Avatar } from "./Avatar-
|
|
33
|
-
import { a as Alert } from "./Alert-
|
|
34
|
-
import { M as Modal } from "./Modal-
|
|
35
|
-
import { C as Confirm, S as StructuredList } from "./useDataset-
|
|
36
|
-
import { v as validateDateNotInTheFuture } from "./validate-
|
|
26
|
+
import { C as CountryField, E as ErrorPanel, c as createFormUtils, g as getFormProps, H as Header } from "./CountryField-DwQBatok.js";
|
|
27
|
+
import { F as Field, S as Select, u as useForm } from "./useForm-CV5yIbAW.js";
|
|
28
|
+
import { I as InputDate, R as RadioGroup } from "./Address-DbMsGXmd.js";
|
|
29
|
+
import { aa as InputGroup, ab as TileGroup, B as isEmpty$1, M as LandingLayout, ac as Dropzone } from "./IndividualOnfido-wkc1IOjL.js";
|
|
30
|
+
import { I as InputText } from "./InputText-CnhTDLn9.js";
|
|
31
|
+
import { a as allowedCurrencies, T as TODAY_DATE, S as SOF_CHARACTERS_LIMIT, b as formatDateForInput, g as getInputErrors, c as formatAmountWithCurrency, d as getAdditionalDataSchemaKeys, s as sofCategoryItemMapper, e as getPageHeadings, h as getServiceTranslationSelectTitle, i as sourceOfFundsForms, j as getSofCardDetails, k as getGettingStartedCardDetails, l as getServiceTranslation, p as parseSOFDocumentDescription, m as getRelevantErrors, n as getUniqueRemediationActions, o as SOF_INVALID_INPUT_ERROR_CODES, q as getServiceTranslationKey, r as getDocumentLists, t as getDocumentRequirements, M as MISSING_DATA_SOF_UPLOAD_CODE, u as parseOriginatorDetails, v as getSourceOfFundsRequiredForms, w as sourceOfFundsRequiredFields, x as getSourceOfFundsPayload, y as parseSofOriginatorPayload, A as ALLOWED_SOF_SERVICES } from "./utils-XqO17YWC.js";
|
|
32
|
+
import { A as Avatar } from "./Avatar-BRe0h5-c.js";
|
|
33
|
+
import { a as Alert } from "./Alert-8DgB9Po_.js";
|
|
34
|
+
import { M as Modal } from "./Modal-Cp3v04bI.js";
|
|
35
|
+
import { C as Confirm, S as StructuredList } from "./useDataset-CVXbYF2B.js";
|
|
36
|
+
import { v as validateDateNotInTheFuture } from "./validate-g9wpUSZu.js";
|
|
37
37
|
import { lazy } from "preact/compat";
|
|
38
|
-
import { C as Card } from "./Card-
|
|
38
|
+
import { C as Card } from "./Card-Cg_gK9VR.js";
|
|
39
39
|
const updateSourceOfFunds = async (businessLineId, legalEntityId, baseUrl, data) => {
|
|
40
40
|
return httpPost(
|
|
41
41
|
{
|
|
@@ -8,17 +8,17 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useMemo, useState, useEffect, useCallback, useLayoutEffect, useRef } from "preact/hooks";
|
|
11
|
-
import { c as useLegalEntity, R as ROOT_LE, X as useExperimentsContext, aA as getCapabilityProblems, g as getLegalEntityCountry, aB as cloneObject, C as CountryCodes, aC as hasText, aD as isValidMinLength, aE as matchesRegex, W as isEmpty, aF as NO_ALPHABET_REGEX, aG as EMOJI_REGEX, aH as hasRepeatedCharacters, aI as isInvalidName, aJ as OTHER_ENTITIES_VALID_CHAR_REGEX, aK as LATIN_SPACE_MARK_PUNCTUATION_REGEX, aL as standardKatakanaValidator, aM as standardKanjiValidator, a2 as useAnalyticsContext, P as createLogger, u as useTranslation, az as StateContext, L as Loader, a3 as Icon, G as Typography, Y as IconButton } from "./StoreProvider-
|
|
11
|
+
import { c as useLegalEntity, R as ROOT_LE, X as useExperimentsContext, aA as getCapabilityProblems, g as getLegalEntityCountry, aB as cloneObject, C as CountryCodes, aC as hasText, aD as isValidMinLength, aE as matchesRegex, W as isEmpty, aF as NO_ALPHABET_REGEX, aG as EMOJI_REGEX, aH as hasRepeatedCharacters, aI as isInvalidName, aJ as OTHER_ENTITIES_VALID_CHAR_REGEX, aK as LATIN_SPACE_MARK_PUNCTUATION_REGEX, aL as standardKatakanaValidator, aM as standardKanjiValidator, a2 as useAnalyticsContext, P as createLogger, u as useTranslation, az as StateContext, L as Loader, a3 as Icon, G as Typography, Y as IconButton } from "./StoreProvider-C1Dsf-BK.js";
|
|
12
12
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
13
|
-
import { a as Alert } from "./Alert-
|
|
13
|
+
import { a as Alert } from "./Alert-8DgB9Po_.js";
|
|
14
14
|
import cx from "classnames";
|
|
15
|
-
import { a as debouncedInputEvent } from "./debouncedInputEvent-
|
|
15
|
+
import { a as debouncedInputEvent } from "./debouncedInputEvent-m_KweSUi.js";
|
|
16
16
|
import { Suspense, lazy, forwardRef } from "preact/compat";
|
|
17
|
-
import { b as useId } from "./useToastContext-
|
|
18
|
-
import { R as Radio } from "./CountryField-
|
|
19
|
-
import { F as Field } from "./useForm-
|
|
20
|
-
import { K as KEYBOARD_KEYS } from "./Modal-
|
|
21
|
-
import { u as useForwardedRef, a as InputBase, I as InputText } from "./InputText-
|
|
17
|
+
import { b as useId } from "./useToastContext-D_FkzBo_.js";
|
|
18
|
+
import { R as Radio } from "./CountryField-DwQBatok.js";
|
|
19
|
+
import { F as Field } from "./useForm-CV5yIbAW.js";
|
|
20
|
+
import { K as KEYBOARD_KEYS } from "./Modal-Cp3v04bI.js";
|
|
21
|
+
import { u as useForwardedRef, a as InputBase, I as InputText } from "./InputText-CnhTDLn9.js";
|
|
22
22
|
const useCapabilityProblems = () => {
|
|
23
23
|
const { data: rootLegalEntity } = useLegalEntity(ROOT_LE);
|
|
24
24
|
const { isExperimentEnabled } = useExperimentsContext();
|
|
@@ -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, G as Typography } from "./StoreProvider-
|
|
12
|
+
import { u as useTranslation, G as Typography } from "./StoreProvider-C1Dsf-BK.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] = "8e543a3b-dd06-48e5-9cad-4f1991d0b765", e2._sentryDebugIdIdentifier = "sentry-dbid-8e543a3b-dd06-48e5-9cad-4f1991d0b765");
|
|
6
6
|
} catch (e2) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
@@ -7055,7 +7055,7 @@ const getAnalyticsAssociatedEntityDetails = (rootLegalEntity, accountHolderType)
|
|
|
7055
7055
|
};
|
|
7056
7056
|
};
|
|
7057
7057
|
const useAnalytics = ({ userEvents, sessionId, sessionData }) => {
|
|
7058
|
-
const sdkVersion = "3.90.
|
|
7058
|
+
const sdkVersion = "3.90.3";
|
|
7059
7059
|
const { data: rootLegalEntity } = useLegalEntity(ROOT_LE);
|
|
7060
7060
|
const { mutateAsync } = usePushAnalyticEvent(sessionId ?? "");
|
|
7061
7061
|
const { accountHolder } = useAccountHolder();
|
|
@@ -7098,7 +7098,7 @@ const AnalyticsProvider = ({
|
|
|
7098
7098
|
const userEvents = useMemo(() => createUserEvents(), []);
|
|
7099
7099
|
const onboardingVersion = isLoading ? void 0 : isError ? 1 : versionData?.version;
|
|
7100
7100
|
const sessionData = {
|
|
7101
|
-
sdkVersion: "3.90.
|
|
7101
|
+
sdkVersion: "3.90.3",
|
|
7102
7102
|
componentName,
|
|
7103
7103
|
userAgent: navigator.userAgent,
|
|
7104
7104
|
legalEntityId: rootLegalEntityId,
|
|
@@ -7507,7 +7507,7 @@ function StateProvider({
|
|
|
7507
7507
|
);
|
|
7508
7508
|
return /* @__PURE__ */ jsx$1(StateContext.Provider, { value: contextValue, children });
|
|
7509
7509
|
}
|
|
7510
|
-
const DebugModal = lazy(async () => (await import("./DebugModal-
|
|
7510
|
+
const DebugModal = lazy(async () => (await import("./DebugModal-DsqZUbWg.js")).DebugModal);
|
|
7511
7511
|
const DebugListener = () => {
|
|
7512
7512
|
const [debugUiOpen, setDebugUiOpen] = useState$1(false);
|
|
7513
7513
|
const { isSettingEnabled } = useSettingsContext();
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { V as useI18nContext, u as useTranslation, a2 as useAnalyticsContext, W as isEmpty, Y as IconButton, z as translateStringOrObject, bw as Svg } from "./StoreProvider-
|
|
12
|
-
import { H as Header, E as ErrorPanel, c as createFormUtils, L as List, f as getRoleName, h as isSummaryItem } from "./CountryField-
|
|
13
|
-
import { S as StructuredList } from "./useDataset-
|
|
11
|
+
import { V as useI18nContext, u as useTranslation, a2 as useAnalyticsContext, W as isEmpty, Y as IconButton, z as translateStringOrObject, bw as Svg } from "./StoreProvider-C1Dsf-BK.js";
|
|
12
|
+
import { H as Header, E as ErrorPanel, c as createFormUtils, L as List, f as getRoleName, h as isSummaryItem } from "./CountryField-DwQBatok.js";
|
|
13
|
+
import { S as StructuredList } from "./useDataset-CVXbYF2B.js";
|
|
14
14
|
import { t as trackNavigation } from "./trackNavigation-db_h46BT.js";
|
|
15
15
|
const summary = "adyen-kyc-summary";
|
|
16
16
|
const summaryContent = "adyen-kyc-summary-content";
|
|
@@ -7,25 +7,25 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, j as useQuery, m as httpGet, G as Typography, u as useTranslation, an as Trans, a3 as Icon, B as Button, Y as IconButton, W as isEmpty$1, a as addResourceBundles, a2 as useAnalyticsContext, c as useLegalEntity, R as ROOT_LE, P as createLogger, L as Loader, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { b as useApiContext, j as useQuery, m as httpGet, G as Typography, u as useTranslation, an as Trans, a3 as Icon, B as Button, Y as IconButton, W as isEmpty$1, a as addResourceBundles, a2 as useAnalyticsContext, c as useLegalEntity, R as ROOT_LE, P as createLogger, L as Loader, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-C1Dsf-BK.js";
|
|
11
11
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
12
12
|
import { useState, useRef, useEffect, useMemo, useCallback } from "preact/hooks";
|
|
13
|
-
import { c as useInvalidateRootLegalEntity } from "./useToastContext-
|
|
14
|
-
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
15
|
-
import { F as FormContextProvider, a as FormFlow } from "./FormFlow-
|
|
16
|
-
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-
|
|
17
|
-
import { u as useMultiForm } from "./useMultiForm-
|
|
13
|
+
import { c as useInvalidateRootLegalEntity } from "./useToastContext-D_FkzBo_.js";
|
|
14
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-5jT0WLYb.js";
|
|
15
|
+
import { F as FormContextProvider, a as FormFlow } from "./FormFlow-LSmyX7Hx.js";
|
|
16
|
+
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-D18lPyMd.js";
|
|
17
|
+
import { u as useMultiForm } from "./useMultiForm-Cl7j2UJo.js";
|
|
18
18
|
import { signal } from "@preact/signals";
|
|
19
|
-
import { u as useFormContext, R as RadioGroup } from "./Address-
|
|
20
|
-
import { H as Header, a as Link, g as getFormProps } from "./CountryField-
|
|
21
|
-
import { F as Field } from "./useForm-
|
|
22
|
-
import { a as Alert } from "./Alert-
|
|
19
|
+
import { u as useFormContext, R as RadioGroup } from "./Address-DbMsGXmd.js";
|
|
20
|
+
import { H as Header, a as Link, g as getFormProps } from "./CountryField-DwQBatok.js";
|
|
21
|
+
import { F as Field } from "./useForm-CV5yIbAW.js";
|
|
22
|
+
import { a as Alert } from "./Alert-8DgB9Po_.js";
|
|
23
23
|
import { lazy } from "preact/compat";
|
|
24
|
-
import { I as Image } from "./Spacer-
|
|
25
|
-
import { S as StructuredList } from "./useDataset-
|
|
26
|
-
import { B as isEmpty, M as LandingLayout } from "./IndividualOnfido-
|
|
27
|
-
import { C as Card } from "./Card-
|
|
28
|
-
import { n as normalizedTaskStatusStore } from "./OnboardingDropinComponent-
|
|
24
|
+
import { I as Image } from "./Spacer-B59jyGSP.js";
|
|
25
|
+
import { S as StructuredList } from "./useDataset-CVXbYF2B.js";
|
|
26
|
+
import { B as isEmpty, M as LandingLayout } from "./IndividualOnfido-wkc1IOjL.js";
|
|
27
|
+
import { C as Card } from "./Card-Cg_gK9VR.js";
|
|
28
|
+
import { n as normalizedTaskStatusStore } from "./OnboardingDropinComponent-BBx0mAip.js";
|
|
29
29
|
const getTaxClassification = async (legalEntityId, baseUrl) => {
|
|
30
30
|
return httpGet({
|
|
31
31
|
baseUrl,
|
|
@@ -7,35 +7,35 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { a_ as reverseMapping, r as LegalEntityTypes, O as TaskTypes, C as CountryCodes, aC as hasText, aD as isValidMinLength, aE as matchesRegex, aF as NO_ALPHABET_REGEX, aG as EMOJI_REGEX, aH as hasRepeatedCharacters, aI as isInvalidName, aJ as OTHER_ENTITIES_VALID_CHAR_REGEX, u as useTranslation, X as useExperimentsContext, G as Typography, bI as getCountrySpecificTrustTypeOptions, bJ as trustComponentsKeyMapping, bK as trustApiKeyMapping, b as useApiContext, a2 as useAnalyticsContext, bL as trustDocumentMapping, aB as cloneObject, g as getLegalEntityCountry, W as isEmpty$1, b6 as drop, af as getOwnEntityAssociations, c as useLegalEntity, w as skipToken, R as ROOT_LE, a as addResourceBundles, L as Loader, ap as keysOf, M as EntityTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { a_ as reverseMapping, r as LegalEntityTypes, O as TaskTypes, C as CountryCodes, aC as hasText, aD as isValidMinLength, aE as matchesRegex, aF as NO_ALPHABET_REGEX, aG as EMOJI_REGEX, aH as hasRepeatedCharacters, aI as isInvalidName, aJ as OTHER_ENTITIES_VALID_CHAR_REGEX, u as useTranslation, X as useExperimentsContext, G as Typography, bI as getCountrySpecificTrustTypeOptions, bJ as trustComponentsKeyMapping, bK as trustApiKeyMapping, b as useApiContext, a2 as useAnalyticsContext, bL as trustDocumentMapping, aB as cloneObject, g as getLegalEntityCountry, W as isEmpty$1, b6 as drop, af as getOwnEntityAssociations, c as useLegalEntity, w as skipToken, R as ROOT_LE, a as addResourceBundles, L as Loader, ap as keysOf, M as EntityTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-C1Dsf-BK.js";
|
|
11
11
|
import { jsx, Fragment, jsxs } from "preact/jsx-runtime";
|
|
12
|
-
import { x as createFormRules, a as validateNotEmptyOnBlur, r as resolveFieldMetadata, C as ContextGuidance, i as useCapabilityProblems, j as getProblemsForEntity } from "./Spacer-
|
|
13
|
-
import { a0 as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, T as TAX_INFORMATION_FIELD, B as isEmpty, t as taxInformationDefaultFieldMetadata, f as taxInformationDefaultFieldConfig, a7 as exemptedFromTaxDefaultFieldMetadata, a8 as exemptedFromTaxDefaultFieldConfig, h as TaxInformationField, a as getCompanyRegistrationNumberOptions, a1 as countryToTaxInfoTypeMap, a9 as useCapabilities } from "./IndividualOnfido-
|
|
12
|
+
import { x as createFormRules, a as validateNotEmptyOnBlur, r as resolveFieldMetadata, C as ContextGuidance, i as useCapabilityProblems, j as getProblemsForEntity } from "./Spacer-B59jyGSP.js";
|
|
13
|
+
import { a0 as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, T as TAX_INFORMATION_FIELD, B as isEmpty, t as taxInformationDefaultFieldMetadata, f as taxInformationDefaultFieldConfig, a7 as exemptedFromTaxDefaultFieldMetadata, a8 as exemptedFromTaxDefaultFieldConfig, h as TaxInformationField, a as getCompanyRegistrationNumberOptions, a1 as countryToTaxInfoTypeMap, a9 as useCapabilities } from "./IndividualOnfido-wkc1IOjL.js";
|
|
14
14
|
import { useMemo, useCallback, useEffect, useState, useRef } from "preact/hooks";
|
|
15
|
-
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-
|
|
16
|
-
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
17
|
-
import { h as hasDataChanged } from "./hasDataChanged-
|
|
18
|
-
import { u as useGlobalDataSlice, c as useStateContext } from "./useGlobalData-
|
|
19
|
-
import { a 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, u as useScenarioConfiguration } from "./mapExistingFile-
|
|
23
|
-
import { o as operationalAddressIsSameIds, ag as DBA_NAME_FIELD, ah as BUSINESS_REGISTRATION_NUMBER_FIELD, ai as VAT_NUMBER_FIELD, J as doingBusinessAsAbsentFieldMetadata, I as doingBusinessAsFieldMetadata, r as registrationNumberDefaultFieldMetadata, i as getDefaultRegistrationNumberType, s as registrationNumberDefaultFieldConfig, H as exemptFromRegistrationNumberDefaultFieldMetadata, aj as exemptFromRegistrationNumberDefaultFieldConfig, K as defaultFieldMetadata, j as getDefaultVatNumberType, L as defaultFieldConfig, ak as DBANameField, al as BusinessRegistrationNumberField, am as VatNumberField, an as registrationAddressFields, ao as RegistrationAddress, q as inferCompanyRegistrationNumberType, ap as operationalAddressIsSameItems } from "./OnboardingDropinComponent-
|
|
24
|
-
import { o as mapAddressLabels, u as useFormContext, A as Address, R as RadioGroup } from "./Address-
|
|
25
|
-
import { F as FormWrapper } from "./FormWrapper-
|
|
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 "./documentUtils-
|
|
28
|
-
import { a as datasetUtilities } from "./useDataset-
|
|
29
|
-
import { g as getFieldsWithExistingData } from "./getFieldsWithExistingData-
|
|
15
|
+
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-Cap8fK-F.js";
|
|
16
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-5jT0WLYb.js";
|
|
17
|
+
import { h as hasDataChanged } from "./hasDataChanged-C0QfFyi1.js";
|
|
18
|
+
import { u as useGlobalDataSlice, c as useStateContext } from "./useGlobalData-a_K7Lhat.js";
|
|
19
|
+
import { a as useToastContext } from "./useToastContext-D_FkzBo_.js";
|
|
20
|
+
import { g as getPropsFromConfigurations, a as augmentWithCountryConfigs, c as composePerScenarioFormConfigurations } from "./process-field-configurations-uok9IFxE.js";
|
|
21
|
+
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-D18lPyMd.js";
|
|
22
|
+
import { m as mapExistingFile, g as getPageName, u as useScenarioConfiguration } from "./mapExistingFile-DelM9H33.js";
|
|
23
|
+
import { o as operationalAddressIsSameIds, ag as DBA_NAME_FIELD, ah as BUSINESS_REGISTRATION_NUMBER_FIELD, ai as VAT_NUMBER_FIELD, J as doingBusinessAsAbsentFieldMetadata, I as doingBusinessAsFieldMetadata, r as registrationNumberDefaultFieldMetadata, i as getDefaultRegistrationNumberType, s as registrationNumberDefaultFieldConfig, H as exemptFromRegistrationNumberDefaultFieldMetadata, aj as exemptFromRegistrationNumberDefaultFieldConfig, K as defaultFieldMetadata, j as getDefaultVatNumberType, L as defaultFieldConfig, ak as DBANameField, al as BusinessRegistrationNumberField, am as VatNumberField, an as registrationAddressFields, ao as RegistrationAddress, q as inferCompanyRegistrationNumberType, ap as operationalAddressIsSameItems } from "./OnboardingDropinComponent-BBx0mAip.js";
|
|
24
|
+
import { o as mapAddressLabels, u as useFormContext, A as Address, R as RadioGroup } from "./Address-DbMsGXmd.js";
|
|
25
|
+
import { F as FormWrapper } from "./FormWrapper-DjmK6JTP.js";
|
|
26
|
+
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-CY4oyE6_.js";
|
|
27
|
+
import { a as getDocument, c as createDocumentRequest, d as documentApiUtils } from "./documentUtils-Bq4Fcc1a.js";
|
|
28
|
+
import { a as datasetUtilities } from "./useDataset-CVXbYF2B.js";
|
|
29
|
+
import { g as getFieldsWithExistingData } from "./getFieldsWithExistingData-CapkzyUd.js";
|
|
30
30
|
import { f as formatObject, g as getProp } from "./utils-DNSfZiio.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-
|
|
32
|
-
import { M as MemoizedConstitutionalDocument } from "./ConstitutionalDocument-
|
|
33
|
-
import { m as mergeFieldMetadataIntoProps, c as createFormUtils, H as Header, E as ErrorPanel, C as CountryField, b as COUNTRY_FIELD, g as getFormProps, k as getNestedOuterFormPropsFromOuterFormProps } from "./CountryField-
|
|
34
|
-
import { u as useForm, F as Field, S as Select } from "./useForm-
|
|
35
|
-
import { a as Alert } from "./Alert-
|
|
36
|
-
import { I as InputText } from "./InputText-
|
|
37
|
-
import { F as FormContextProvider, a as FormFlow } from "./FormFlow-
|
|
38
|
-
import { u as useMultiForm } from "./useMultiForm-
|
|
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-CFuzQz8C.js";
|
|
32
|
+
import { M as MemoizedConstitutionalDocument } from "./ConstitutionalDocument-CeRqguDT.js";
|
|
33
|
+
import { m as mergeFieldMetadataIntoProps, c as createFormUtils, H as Header, E as ErrorPanel, C as CountryField, b as COUNTRY_FIELD, g as getFormProps, k as getNestedOuterFormPropsFromOuterFormProps } from "./CountryField-DwQBatok.js";
|
|
34
|
+
import { u as useForm, F as Field, S as Select } from "./useForm-CV5yIbAW.js";
|
|
35
|
+
import { a as Alert } from "./Alert-8DgB9Po_.js";
|
|
36
|
+
import { I as InputText } from "./InputText-CnhTDLn9.js";
|
|
37
|
+
import { F as FormContextProvider, a as FormFlow } from "./FormFlow-LSmyX7Hx.js";
|
|
38
|
+
import { u as useMultiForm } from "./useMultiForm-Cl7j2UJo.js";
|
|
39
39
|
import "preact";
|
|
40
40
|
import "classnames";
|
|
41
41
|
import "named-slots";
|
|
@@ -7,11 +7,11 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { u as useTranslation, c as useLegalEntity, R as ROOT_LE, w as skipToken, a as addResourceBundles, L as Loader, g as getLegalEntityCountry, O as TaskTypes, M as EntityTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { u as useTranslation, c as useLegalEntity, R as ROOT_LE, w as skipToken, a as addResourceBundles, L as Loader, g as getLegalEntityCountry, O as TaskTypes, M as EntityTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-C1Dsf-BK.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
|
-
import { ac as useTrustMembers } from "./OnboardingDropinComponent-
|
|
13
|
-
import { i as useCapabilityProblems, j as getProblemsForEntity } from "./Spacer-
|
|
14
|
-
import { B as BusinessDetailsDropin } from "./BusinessDetailsDropin-
|
|
12
|
+
import { ac as useTrustMembers } from "./OnboardingDropinComponent-BBx0mAip.js";
|
|
13
|
+
import { i as useCapabilityProblems, j as getProblemsForEntity } from "./Spacer-B59jyGSP.js";
|
|
14
|
+
import { B as BusinessDetailsDropin } from "./BusinessDetailsDropin-BuzPnl1j.js";
|
|
15
15
|
function TrustMemberCompanyPage({
|
|
16
16
|
trustId,
|
|
17
17
|
trustMemberCompanyId,
|