@adyen/kyc-components 3.81.0-beta.4 → 3.81.0-beta.5
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-aQcg1tq3.js → AcceptTermsOfServiceComponent-h4RGwmfr.js} +5 -5
- package/dist/{AccountSetupRejected-kz5NC22n.js → AccountSetupRejected-BtCC1DfU.js} +2 -2
- package/dist/{Avatar-CoTOHJwb.js → Avatar-D11TdIAz.js} +1 -1
- package/dist/{BusinessDetailsDropin-B-wQeBGi.js → BusinessDetailsDropin-DMkfZAhc.js} +7 -7
- package/dist/{BusinessFinancingComponent-DE4YthcJ.js → BusinessFinancingComponent-Bx3WRW6i.js} +3 -3
- package/dist/{BusinessFinancingDropin-D_LThoGS.js → BusinessFinancingDropin-CuF4P-yp.js} +9 -9
- package/dist/{BusinessFinancingPage-DPM8zMly.js → BusinessFinancingPage-BOVZmdFJ.js} +3 -3
- package/dist/{BusinessTypeSelectionPage-CYm_WsH_.js → BusinessTypeSelectionPage-yupMVCzr.js} +4 -4
- package/dist/{CreateIndividualComponent-CyPD165W.js → CreateIndividualComponent-0ye57Eu5.js} +3 -3
- package/dist/{CreateTransferInstrumentComponent-BafjhZa9.js → CreateTransferInstrumentComponent-Cw5cNYC5.js} +2 -2
- package/dist/{CustomerSupport-DIDqWNFX.js → CustomerSupport-BsZDxwv2.js} +5 -5
- package/dist/{DebugModal-UpQVHT_q.js → DebugModal-CgC7d1mP.js} +4 -4
- package/dist/{DecisionMakerDetailsPage-DiTxMRO1.js → DecisionMakerDetailsPage-CsxCXdBv.js} +17 -4
- package/dist/{DecisionMakers-Ud-BGGKi.js → DecisionMakers-BOPprU_c.js} +10 -15
- package/dist/{EmbeddedStatus-CHIsnanR.js → EmbeddedStatus-THcf_5VL.js} +3 -3
- package/dist/{EndStateLayout-Bamkt5E1.js → EndStateLayout-D4XztFnd.js} +1 -1
- package/dist/{FormFlow-DtrlYKNe.js → FormFlow-OxZkj1IL.js} +2 -2
- package/dist/{IndividualOnfidoDropin-Bl4C7i8c.js → IndividualOnfidoDropin-BGSe9ayX.js} +62 -32
- package/dist/{Introduction-BM2tvYp6.js → Introduction-Dvmyo9sy.js} +3 -3
- package/dist/{LegalRepresentativeDetailsPage-Ca8gWx8l.js → LegalRepresentativeDetailsPage-CwZCAmRs.js} +3 -3
- package/dist/{ManageIndividualComponent-BjpOoOjM.js → ManageIndividualComponent-C_S_ydis.js} +4 -4
- package/dist/{ManageTermsOfServiceComponent-DHiYfOP_.js → ManageTermsOfServiceComponent-BkLuO8oE.js} +4 -4
- package/dist/{ManageTransferInstrumentComponent-XvUQZO39.js → ManageTransferInstrumentComponent-C4WfYBDB.js} +4 -4
- package/dist/{OnboardingDropinComponent-CZ6XyzO0.js → OnboardingDropinComponent-BUmJ_JVk.js} +50 -77
- package/dist/{Review-C8Q-e2V9.js → Review-C5MFIBVb.js} +3 -3
- package/dist/{RootBusinessDetailsPage-DJh-Wy3Q.js → RootBusinessDetailsPage-C8ZJ4dmm.js} +7 -7
- package/dist/{RootIndividualDetailsPage-5TMDWEGP.js → RootIndividualDetailsPage-CU0x1BUz.js} +3 -3
- package/dist/{SignPCIComponent-Y9CAJCeq.js → SignPCIComponent-CPpNIBhs.js} +4 -4
- package/dist/{SingpassSelection-DW83QSoq.js → SingpassSelection-ByupuMKL.js} +18 -10
- package/dist/{SoleProprietorshipPage-_4zvEipu.js → SoleProprietorshipPage-CNKpPAjZ.js} +3 -3
- package/dist/{SourceOfFundsPage-fbIPy_3F.js → SourceOfFundsPage-CraH1Im8.js} +14 -19
- package/dist/{StoreProvider-x6yKbQFq.js → StoreProvider-BK6S-tUB.js} +448 -490
- package/dist/{TaskItemStatus-DZrstr0V.js → TaskItemStatus-BXv5vZOC.js} +2 -2
- package/dist/{TaskStatusIndicator-DuYR1LdO.js → TaskStatusIndicator-BqoOgtJU.js} +3 -3
- package/dist/{TaxReportingDropin-Cv2VQY06.js → TaxReportingDropin-BYn-rCQo.js} +11 -16
- package/dist/{TileGroup-DxfGzeKN.js → TileGroup-ByNEsfqA.js} +2 -2
- package/dist/{TrustDetailsPage-Cn3V324U.js → TrustDetailsPage-BXHPOkFC.js} +5 -5
- package/dist/{TrustMemberCompanyPage-DPT4oAoM.js → TrustMemberCompanyPage-D3JUt2oR.js} +4 -4
- package/dist/{TrustMemberIndividualPage-BRUijH_I.js → TrustMemberIndividualPage-BKwm2PD-.js} +3 -3
- package/dist/{UnincorporatedPartnershipIndividualPage-DuuEUcOp.js → UnincorporatedPartnershipIndividualPage-DJAy2tiA.js} +3 -3
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-BaRjiIq8.js → UnincorporatedPartnershipMemberCompanyPage-C_4lVNk5.js} +3 -3
- package/dist/{VerificationErrorAlert-KB0B2Z-w.js → VerificationErrorAlert-CN-y2ZkT.js} +2 -2
- package/dist/{ViewVerificationStatusComponent-DAzhj8cn.js → ViewVerificationStatusComponent-DGo_V34u.js} +3 -3
- package/dist/adyen-business-financing.js +2 -2
- package/dist/adyen-individual.js +2 -2
- package/dist/adyen-kyc-components.js +14 -14
- package/dist/adyen-manage-individual.js +2 -2
- package/dist/adyen-manage-terms-of-service.js +2 -2
- package/dist/adyen-manage-transfer-instruments.js +2 -2
- package/dist/adyen-onboarding.js +2 -2
- package/dist/adyen-terms-of-service.js +2 -2
- package/dist/adyen-transfer-instrument.js +2 -2
- package/dist/adyen-verification-status.js +2 -2
- package/dist/{isIdNowModalOpen-DRTL61eQ.js → bafinUtils-WzgnLHUH.js} +51 -4
- package/dist/{digital-wallet-with-local-currencies-POeLD54e.js → digital-wallet-D_IpxnkN.js} +3 -3
- package/dist/en-US-TrwIHFh-.js +31 -0
- package/dist/{getFieldsWithExistingData-IBtwmkzo.js → getFieldsWithExistingData-CXFYcjIh.js} +2 -2
- package/dist/{hasDataChanged-jfUaeqmj.js → hasDataChanged-Bh_UrmLp.js} +2 -2
- package/dist/{localizeDateString-WPsz6b9a.js → localizeDateString-CWh-ttUS.js} +1 -1
- package/dist/{mapFinancialReportsToFinancialInformation-Dws6jTwF.js → mapFinancialReportsToFinancialInformation-CQMM1PgM.js} +2 -2
- package/dist/{resolveEnvironment-DzMwcE0P.js → resolveEnvironment-DtkNmlSt.js} +3 -3
- package/dist/{rules-Bs0GE4lO.js → rules-ByuGwTNE.js} +2 -2
- package/dist/types/api/configurations/useScenarios.d.ts +2 -1
- package/dist/types/api/idNowProvider/idNowProvider.types.d.ts +1 -1
- package/dist/types/components/Individual/forms/Individual/IdVerificationMethod/idVerificationMethodMetadata.d.ts +3 -3
- package/dist/types/components/Individual/forms/IndividualOnfido/IdNowVerificationModal/isIdNowModalOpen.d.ts +1 -0
- package/dist/types/components/Individual/helpers/bafinUtils.d.ts +35 -0
- package/dist/types/components/Shared/SingpassBanner/ProviderButton/ProviderButton.d.ts +7 -0
- package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
- package/dist/types/components/ui/atoms/Button/Button.types.d.ts +1 -2
- package/dist/types/components/ui/atoms/Image/Image.d.ts +18 -0
- package/dist/types/components/ui/atoms/Remove/Remove.d.ts +1 -1
- package/dist/types/components/ui/atoms/Svg/svgs.d.ts +0 -64
- package/dist/types/components/ui/atoms/TaskStatusIndicator/TaskStatusIndicator.d.ts +1 -2
- package/dist/types/components/ui/molecules/DocumentGuidance/DocumentGuidance.types.d.ts +2 -3
- package/dist/types/utils/entityStatusUtil.d.ts +1 -1
- package/dist/{useMultiForm-Dd8QMW1a.js → useMultiForm-CiCxhoIc.js} +2 -2
- package/dist/{useOnboardingStatus-CnkkqgHk.js → useOnboardingStatus-DHu80m4m.js} +1 -1
- package/dist/{useTermsOfServiceStatus-Bo2R7-be.js → useTermsOfServiceStatus-ZzLl2fnP.js} +1 -1
- package/dist/{useUpdateLegalEntity-H61VFP32.js → useUpdateLegalEntity-CKaq6DPT.js} +2 -2
- package/dist/{utils-C2CTmvLO.js → utils-B2fOaECU.js} +4 -4
- package/dist/{validate-BmPFBT-A.js → validate-CaKWtDK0.js} +2 -2
- package/dist/{validate-Cg3P0WRF.js → validate-DWYqp_FY.js} +2 -2
- package/package.json +1 -1
- package/dist/adyen-a-filled-czhSM_bc.js +0 -14
- package/dist/arrow-left-Dtc2gya1.js +0 -14
- package/dist/document-plus-NwgAdjyB.js +0 -17
- package/dist/hide-CigAXbWC.js +0 -18
- package/dist/idea-DwJIwJHR.js +0 -18
- package/dist/instant-verification-method-BGfknV9x.js +0 -28
- package/dist/plus-small-Dj1WRyFM.js +0 -14
- package/dist/types/components/ui/atoms/ProviderButton/ProviderButton.d.ts +0 -3
- package/dist/types/components/ui/atoms/ProviderButton/ProviderButton.types.d.ts +0 -5
package/dist/{AcceptTermsOfServiceComponent-aQcg1tq3.js → AcceptTermsOfServiceComponent-h4RGwmfr.js}
RENAMED
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "af946f37-c473-417d-88bf-e1cfc9f196c2", e._sentryDebugIdIdentifier = "sentry-dbid-af946f37-c473-417d-88bf-e1cfc9f196c2");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useState, useEffect, useCallback } from "preact/hooks";
|
|
12
|
-
import { a as useApiContext,
|
|
13
|
-
import { u as useTermsOfServiceStatus, a as useTermsOfServiceAcceptanceInfos } from "./useTermsOfServiceStatus-
|
|
14
|
-
import { E as EndStateLayout } from "./EndStateLayout-
|
|
12
|
+
import { a as useApiContext, bn as useInvalidateRootLegalEntity, bo as useMutation, t as httpPost, r as useQuery, B as skipToken, x as httpGet, a0 as createLogger, c as useTranslation, a3 as useAnalyticsContext, a9 as useToastContext, aa as useExperimentsContext, bs as getLanguageCode, az as useForm, K as Alert, G as Button, a6 as LoaderWrapper, aE as Field, bt as Select, bu as Checkbox, aT as ActionBar, bv as MaybeModal, bw as ModalContent, bx as ModalFooter, by as StepProgressIndicator, bz as Spacer, O as LegalEntityTypes, aj as getOwnSignatories, C as doesLegalEntityRequiresLegalRepresentative, z as getLegalRepresentative, ar as getLegalEntityNameBasedOnType, aR as FormNavigation, d as useLegalEntity, R as ROOT_LE, L as Loader, $ as TaskTypes } from "./StoreProvider-BK6S-tUB.js";
|
|
13
|
+
import { u as useTermsOfServiceStatus, a as useTermsOfServiceAcceptanceInfos } from "./useTermsOfServiceStatus-ZzLl2fnP.js";
|
|
14
|
+
import { E as EndStateLayout } from "./EndStateLayout-D4XztFnd.js";
|
|
15
15
|
import { d as downloadFile } from "./file-CiG1D0zy.js";
|
|
16
|
-
import { l as localizeDateString } from "./localizeDateString-
|
|
16
|
+
import { l as localizeDateString } from "./localizeDateString-CWh-ttUS.js";
|
|
17
17
|
import { C as ContractViewer } from "./ContractViewer-B2LwC3wV.js";
|
|
18
18
|
const acceptTermsOfService = async (legalEntityId, baseUrl, termsOfServiceDocumentId, data) => {
|
|
19
19
|
return httpPost(
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { c as useTranslation, A as AlertIcon, F as FormHeader } from "./StoreProvider-
|
|
12
|
-
import { D as DropinLayout } from "./OnboardingDropinComponent-
|
|
11
|
+
import { c as useTranslation, A as AlertIcon, F as FormHeader } from "./StoreProvider-BK6S-tUB.js";
|
|
12
|
+
import { D as DropinLayout } from "./OnboardingDropinComponent-BUmJ_JVk.js";
|
|
13
13
|
function AccountSetupRejected() {
|
|
14
14
|
const { t } = useTranslation();
|
|
15
15
|
const content = /* @__PURE__ */ jsxs("div", { children: [
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import { a7 as Icon } from "./StoreProvider-
|
|
12
|
+
import { a7 as Icon } from "./StoreProvider-BK6S-tUB.js";
|
|
13
13
|
const avatar = "adyen-kyc-avatar";
|
|
14
14
|
const avatarLabel = "adyen-kyc-avatar-label";
|
|
15
15
|
const avatarPrimary = "adyen-kyc-avatar-primary";
|
|
@@ -2,20 +2,20 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "5e1f42b3-0acc-4120-9494-ffbf31e94c9d", e._sentryDebugIdIdentifier = "sentry-dbid-5e1f42b3-0acc-4120-9494-ffbf31e94c9d");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
|
-
import { u as useI18nContext,
|
|
11
|
+
import { u as useI18nContext, dz as MemoizedDocumentUpload, G as Button, bf as Modal, bw as ModalContent, N as Typography, at as CountryCodes, Y as CompanyTypesValues, f1 as useGlobalData, eT as getForms, $ as TaskTypes, f2 as BasicInformation, dt as getFormProps, f3 as CompanyStructure, f4 as AdditionalInformation, eN as MemoizedConstitutionalDocument, O as LegalEntityTypes, eM as FinancialInformation, ci as getDocument, cj as mapExistingFile, ck as getPageName, bC as formatObject, bl as entriesOf, b9 as businessDetailsComponentsKeyMapping, f5 as solePropBusinessDetailsKeyMapping, f6 as getDefaultRegistrationNumberType, f7 as getDefaultVatNumberType, b4 as objectsDeepEqual, d$ as operationalAddressIsSameIds, eP as COUNTRIES_USING_COMPANY_SEARCH, f8 as FIELDS_NEEDED_FOR_COMPANY_SEARCH, dk as keysOf, i as isUndefinedOrNull, dM as isDateOlderThanAYear, aO as summaryItem, f9 as solePropBusinessDetailsApiKeyMapping, f0 as businessDetailsApiKeyMapping, fa as isRegistrationNumberAbsentStateV4Scenario, cp as isEmpty, fb as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, cn as createDocumentRequest, bd as datasetUtilities, cJ as mapAddressLabels, eL as companyTypeMetadata, a0 as createLogger, cI as filterOutUnwantedAssociationsIfRootLE, bW as isValidationError, bX as processValidationErrors, bY as isMaintenanceModeError, fc as getProp, au as isEmpty$1, fd as documentFormsIds, aw as resolveFieldMetadata, e9 as registrationNumberDefaultFieldMetadata, fe as inferCompanyRegistrationNumberType, ff as getCompanyRegistrationNumberOptions, ea as registrationNumberDefaultFieldConfig, cd as taxInformationDefaultFieldMetadata, fg as countryToTaxInfoTypeMap, ce as taxInformationDefaultFieldConfig, fh as getKeyForField, cr as drop, ap as getOwnEntityAssociations, cS as doArraysMatch, cO as getFileExtention, X as useAccountHolder, a9 as useToastContext, a3 as useAnalyticsContext, aa as useExperimentsContext, v as useSettingsContext, a as useApiContext, dW as verifiedBusiness, bq as useQueryClient, fi as useStateContext, w as SettingNames, fj as setIsBankAccountRequestedForOrganization, bR as getAssociatedLeAnalyticsPayload, be as getCapabilityProblems, cs as documentApiUtils, cG as composePerScenarioFormConfigurations, cA as useScenarioConfiguration, eX as rules, cB as getPropsFromConfigurations, eY as useCompanySearch, fk as useCompanySelection, eZ as useVerifyTin, bS as getRequiredForms, bT as addValidityToForms, fl as useClearCompanyData, bU as useFormComposer, fm as setVerifiedBusiness, fn as FormWrapper, bh as Confirm, fo as solePropBusinessDetailsDocumentMapping, e$ as businessDetailsDocumentMapping } from "./StoreProvider-BK6S-tUB.js";
|
|
12
12
|
import { useState, useEffect, useRef, useMemo, useCallback } from "preact/hooks";
|
|
13
|
-
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
14
|
-
import { h as hasDataChanged } from "./hasDataChanged-
|
|
15
|
-
import { o as organizationTypesToSkipCompanyStructureForm } from "./utils-
|
|
16
|
-
import { g as getFieldsWithExistingData } from "./getFieldsWithExistingData-
|
|
13
|
+
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-CKaq6DPT.js";
|
|
14
|
+
import { h as hasDataChanged } from "./hasDataChanged-Bh_UrmLp.js";
|
|
15
|
+
import { o as organizationTypesToSkipCompanyStructureForm } from "./utils-B2fOaECU.js";
|
|
16
|
+
import { g as getFieldsWithExistingData } from "./getFieldsWithExistingData-CXFYcjIh.js";
|
|
17
17
|
import cx from "classnames";
|
|
18
|
-
import { m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./mapFinancialReportsToFinancialInformation-
|
|
18
|
+
import { m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./mapFinancialReportsToFinancialInformation-CQMM1PgM.js";
|
|
19
19
|
import { a as mapApiScriptLocalizationToSchemaFields, m as mapSchemaFieldsToApiScriptLocalization } from "./mapScriptLocalization-H2Re3k5X.js";
|
|
20
20
|
import { f as formatCurrency } from "./formatCurrency-CMOSdJMB.js";
|
|
21
21
|
const stripWhitespace = (str) => str.replace(/\s/g, "");
|
package/dist/{BusinessFinancingComponent-DE4YthcJ.js → BusinessFinancingComponent-Bx3WRW6i.js}
RENAMED
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "d0ea262c-7f52-4970-ad12-8f95b3c4fa8e", e._sentryDebugIdIdentifier = "sentry-dbid-d0ea262c-7f52-4970-ad12-8f95b3c4fa8e");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { useMemo } from "preact/hooks";
|
|
12
|
-
import { d as useLegalEntity, g as getLegalEntityCountry, L as Loader } from "./StoreProvider-
|
|
13
|
-
import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-
|
|
12
|
+
import { d as useLegalEntity, g as getLegalEntityCountry, L as Loader } from "./StoreProvider-BK6S-tUB.js";
|
|
13
|
+
import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-CuF4P-yp.js";
|
|
14
14
|
function BusinessFinancingComponent({
|
|
15
15
|
legalEntityId,
|
|
16
16
|
onSubmitSuccess
|
|
@@ -2,21 +2,21 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "f395cbc6-8688-45ae-adc9-dfec751aebae", e._sentryDebugIdIdentifier = "sentry-dbid-f395cbc6-8688-45ae-adc9-dfec751aebae");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useRef, useEffect, useMemo, useState, useCallback } from "preact/hooks";
|
|
12
|
-
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
13
|
-
import {
|
|
14
|
-
import { F as FormContextProvider, a as FormFlow } from "./FormFlow-
|
|
15
|
-
import { u as useMultiForm } from "./useMultiForm-
|
|
16
|
-
import { E as EndStateLayout } from "./EndStateLayout-
|
|
17
|
-
import { l as localizeDateString } from "./localizeDateString-
|
|
18
|
-
import { m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./mapFinancialReportsToFinancialInformation-
|
|
19
|
-
import { b as businessFinancingMultiformRules } from "./validate-
|
|
12
|
+
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-CKaq6DPT.js";
|
|
13
|
+
import { bB as reverseMapping, bC as formatObject, bD as isEeaCountry, O as LegalEntityTypes, bj as cloneObject, a as useApiContext, r as useQuery, x as httpGet, u as useI18nContext, aE as Field, bt as Select, c as useTranslation, N as Typography, M as translateStringOrObject, bE as LegalFormField, aD as createFormUtils, a$ as RadioGroup, bF as Link, bG as InputText, bk as currencyByCountry, bH as InputNumber, bI as Currency, bJ as CURRENCY_FIELD, bK as InputCurrency, bL as InputDate, bM as useFormContext, aA as getFieldProps, aC as ErrorPanel, bd as datasetUtilities, bN as getAddressSchemaForCountry, bO as COUNTRIES_WITH_STATES_DATASET, bu as Checkbox, bP as Address, bQ as getAddressSchemaLabelsByCountry, a3 as useAnalyticsContext, bn as useInvalidateRootLegalEntity, as as useAssociatedLegalEntity, a9 as useToastContext, v as useSettingsContext, w as SettingNames, bR as getAssociatedLeAnalyticsPayload, bS as getRequiredForms, bT as addValidityToForms, bU as useFormComposer, bV as trackNavigation, L as Loader, G as Button, bW as isValidationError, bX as processValidationErrors, bY as isMaintenanceModeError } from "./StoreProvider-BK6S-tUB.js";
|
|
14
|
+
import { F as FormContextProvider, a as FormFlow } from "./FormFlow-OxZkj1IL.js";
|
|
15
|
+
import { u as useMultiForm } from "./useMultiForm-CiCxhoIc.js";
|
|
16
|
+
import { E as EndStateLayout } from "./EndStateLayout-D4XztFnd.js";
|
|
17
|
+
import { l as localizeDateString } from "./localizeDateString-CWh-ttUS.js";
|
|
18
|
+
import { m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./mapFinancialReportsToFinancialInformation-CQMM1PgM.js";
|
|
19
|
+
import { b as businessFinancingMultiformRules } from "./validate-DWYqp_FY.js";
|
|
20
20
|
const businessFinancingBaseMapping = {
|
|
21
21
|
legalProceedingsDate: "organization.dateOfInitiationOfLegalProceeding",
|
|
22
22
|
legalInformationInsolvency: "organization.statusOfLegalProceeding",
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "57b4f4ac-00dd-4322-a653-05cdd45983f1", e._sentryDebugIdIdentifier = "sentry-dbid-57b4f4ac-00dd-4322-a653-05cdd45983f1");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { u as useI18nContext, d as useLegalEntity, R as ROOT_LE, L as Loader, g as getLegalEntityCountry } from "./StoreProvider-
|
|
12
|
-
import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-
|
|
11
|
+
import { u as useI18nContext, d as useLegalEntity, R as ROOT_LE, L as Loader, g as getLegalEntityCountry } from "./StoreProvider-BK6S-tUB.js";
|
|
12
|
+
import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-CuF4P-yp.js";
|
|
13
13
|
const BusinessFinancingPage = ({
|
|
14
14
|
onSubmit,
|
|
15
15
|
handleHomeClick
|
package/dist/{BusinessTypeSelectionPage-CYm_WsH_.js → BusinessTypeSelectionPage-yupMVCzr.js}
RENAMED
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "a8f3697d-2e74-4ced-b75e-c9659bfc325a", e._sentryDebugIdIdentifier = "sentry-dbid-a8f3697d-2e74-4ced-b75e-c9659bfc325a");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
|
-
import { a0 as createLogger, c as useTranslation, a3 as useAnalyticsContext, a9 as useToastContext, aa as useExperimentsContext, X as useAccountHolder,
|
|
11
|
+
import { a0 as createLogger, c as useTranslation, a3 as useAnalyticsContext, a9 as useToastContext, aa as useExperimentsContext, X as useAccountHolder, dS as getCapabilities, g as getLegalEntityCountry, O as LegalEntityTypes, az as useForm, a6 as LoaderWrapper, N as Typography, aE as Field, dT as EntityTypeRadioGroupCard, aH as RadioGroupCard, G as Button, bz as Spacer, a7 as Icon, d as useLegalEntity, R as ROOT_LE, L as Loader } from "./StoreProvider-BK6S-tUB.js";
|
|
12
12
|
import { useState, useEffect } from "preact/hooks";
|
|
13
|
-
import { a as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
14
|
-
import { u as useSelectionOptions, g as getBusinessType, a as getDefaultLegalArrangementOrSuborganizationType, l as legalArrangementMetadata, b as getTargetLegalEntityType, c as businessTypeIcons, d as determineOrganizationTypeToUpdate } from "./utils-
|
|
13
|
+
import { a as useUpdateLegalEntity } from "./useUpdateLegalEntity-CKaq6DPT.js";
|
|
14
|
+
import { u as useSelectionOptions, g as getBusinessType, a as getDefaultLegalArrangementOrSuborganizationType, l as legalArrangementMetadata, b as getTargetLegalEntityType, c as businessTypeIcons, d as determineOrganizationTypeToUpdate } from "./utils-B2fOaECU.js";
|
|
15
15
|
const businessTypeExamples = /* @__PURE__ */ Object.assign({ "../localized/legalEntityTypeExamples/AT.json": () => import("./AT-EpV7jN58.js"), "../localized/legalEntityTypeExamples/AU.json": () => import("./AU-pBsEvEUy.js"), "../localized/legalEntityTypeExamples/BE.json": () => import("./BE-CU5o9cmc.js"), "../localized/legalEntityTypeExamples/BR.json": () => import("./BR-ORoHRwTk.js"), "../localized/legalEntityTypeExamples/CA.json": () => import("./CA-VXNq-m6m.js"), "../localized/legalEntityTypeExamples/CH.json": () => import("./CH-B_-afpD_.js"), "../localized/legalEntityTypeExamples/CZ.json": () => import("./CZ-CTw_bQIu.js"), "../localized/legalEntityTypeExamples/DE.json": () => import("./DE-D_jIDxOH.js"), "../localized/legalEntityTypeExamples/DK.json": () => import("./DK-dBzrfgpQ.js"), "../localized/legalEntityTypeExamples/ES.json": () => import("./ES-DYbZmFcJ.js"), "../localized/legalEntityTypeExamples/FI.json": () => import("./FI-C9nRvop7.js"), "../localized/legalEntityTypeExamples/FR.json": () => import("./FR-BycGQO4W.js"), "../localized/legalEntityTypeExamples/GB.json": () => import("./GB-DFyzo5sN.js"), "../localized/legalEntityTypeExamples/HK.json": () => import("./HK-WqZ5UBEF.js"), "../localized/legalEntityTypeExamples/HR.json": () => import("./HR-CRa19tH1.js"), "../localized/legalEntityTypeExamples/HU.json": () => import("./HU-D5NCweWf.js"), "../localized/legalEntityTypeExamples/IE.json": () => import("./IE-rhATS57q.js"), "../localized/legalEntityTypeExamples/IT.json": () => import("./IT-wD7dHdYD.js"), "../localized/legalEntityTypeExamples/LT.json": () => import("./LT-0F72uCyI.js"), "../localized/legalEntityTypeExamples/NL.json": () => import("./NL-q2U2l276.js"), "../localized/legalEntityTypeExamples/NO.json": () => import("./NO-CX12Zsf_.js"), "../localized/legalEntityTypeExamples/PL.json": () => import("./PL-CwCXF3Yu.js"), "../localized/legalEntityTypeExamples/PT.json": () => import("./PT-Dei5v1nD.js"), "../localized/legalEntityTypeExamples/RO.json": () => import("./RO-Dxk08mOu.js"), "../localized/legalEntityTypeExamples/SE.json": () => import("./SE-AP3gLiyy.js"), "../localized/legalEntityTypeExamples/SG.json": () => import("./SG-DMcOb17i.js"), "../localized/legalEntityTypeExamples/SI.json": () => import("./SI-BXe-yndm.js"), "../localized/legalEntityTypeExamples/SK.json": () => import("./SK-DwdgoGnD.js"), "../localized/legalEntityTypeExamples/US.json": () => import("./US-DHxLSqeC.js") });
|
|
16
16
|
const logger$1 = createLogger();
|
|
17
17
|
const getBusinessTypeExamplesForCountry = async (country) => {
|
package/dist/{CreateIndividualComponent-CyPD165W.js → CreateIndividualComponent-0ye57Eu5.js}
RENAMED
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "947cf5f8-ba6a-477c-91d2-3c610fba73eb", e._sentryDebugIdIdentifier = "sentry-dbid-947cf5f8-ba6a-477c-91d2-3c610fba73eb");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { d as useLegalEntity, af as useCapabilityProblems, aa as useExperimentsContext, L as Loader, g as getLegalEntityCountry,
|
|
12
|
-
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-
|
|
11
|
+
import { d as useLegalEntity, af as useCapabilityProblems, aa as useExperimentsContext, L as Loader, g as getLegalEntityCountry, b6 as getProblemsForEntity, Z as EntityTypes, b7 as isOnfidoAutofillFlowEnabled, $ as TaskTypes } from "./StoreProvider-BK6S-tUB.js";
|
|
12
|
+
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-BGSe9ayX.js";
|
|
13
13
|
const CreateIndividualComponent = ({
|
|
14
14
|
legalEntityId,
|
|
15
15
|
onSubmitSuccess,
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "40f6464b-fd31-4f87-8e1e-ba52aa3b76c7", e._sentryDebugIdIdentifier = "sentry-dbid-40f6464b-fd31-4f87-8e1e-ba52aa3b76c7");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { useState } from "preact/hooks";
|
|
12
|
-
import { d as useLegalEntity,
|
|
12
|
+
import { d as useLegalEntity, as as useAssociatedLegalEntity, O as LegalEntityTypes, L as Loader, bc as PayoutDetailsDropin, $ as TaskTypes } from "./StoreProvider-BK6S-tUB.js";
|
|
13
13
|
function CreateTransferInstrumentComponent({
|
|
14
14
|
legalEntityId,
|
|
15
15
|
transferInstrumentId,
|
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "a387e0d1-eaf5-4a16-b7ed-22c50efb6d41", e._sentryDebugIdIdentifier = "sentry-dbid-a387e0d1-eaf5-4a16-b7ed-22c50efb6d41");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
|
-
import { d as useLegalEntity, R as ROOT_LE, L as Loader, c as useTranslation, a3 as useAnalyticsContext, a9 as useToastContext,
|
|
11
|
+
import { d as useLegalEntity, R as ROOT_LE, L as Loader, c as useTranslation, a3 as useAnalyticsContext, a9 as useToastContext, bq as useQueryClient, aw as resolveFieldMetadata, cb as defaultFieldMetadata, cc as fieldConfig, cw as getAsyncPhoneValidationRules, F as FormHeader, dj as ContactDetails, aT as ActionBar, a0 as createLogger } from "./StoreProvider-BK6S-tUB.js";
|
|
12
12
|
import { useCallback, useMemo, useEffect } from "preact/hooks";
|
|
13
|
-
import { a as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
14
|
-
import { c as contactDetailsValidationRules, u as useValidatePhoneNumberImperatively } from "./validate-
|
|
15
|
-
import { u as useMultiForm } from "./useMultiForm-
|
|
13
|
+
import { a as useUpdateLegalEntity } from "./useUpdateLegalEntity-CKaq6DPT.js";
|
|
14
|
+
import { c as contactDetailsValidationRules, u as useValidatePhoneNumberImperatively } from "./validate-CaKWtDK0.js";
|
|
15
|
+
import { u as useMultiForm } from "./useMultiForm-CiCxhoIc.js";
|
|
16
16
|
const mapCustomerSupportSchemaToCustomerSupportType = (customerSupport) => {
|
|
17
17
|
return {
|
|
18
18
|
email: customerSupport?.customerSupport?.email || "",
|
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "216f65f9-0c72-49ab-af61-faac4c902731", e._sentryDebugIdIdentifier = "sentry-dbid-216f65f9-0c72-49ab-af61-faac4c902731");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useMemo, useState } from "preact/hooks";
|
|
12
|
-
import { G as Button,
|
|
12
|
+
import { G as Button, bl as entriesOf, bG as InputText, c as useTranslation, dP as splitTaskIdentifier, aa as useExperimentsContext, v as useSettingsContext, u as useI18nContext, ag as useGlobalStore, dm as listToRecord, dQ as valuesOf, bf as Modal, a0 as createLogger, a7 as Icon, w as SettingNames, dR as ExperimentNames } from "./StoreProvider-BK6S-tUB.js";
|
|
13
13
|
import { T as Tag } from "./Tag-DdkVScyr.js";
|
|
14
14
|
import MonogonCode from "monogon/preact";
|
|
15
|
-
import { T as TaskItemStatus } from "./TaskItemStatus-
|
|
15
|
+
import { T as TaskItemStatus } from "./TaskItemStatus-BXv5vZOC.js";
|
|
16
16
|
const tabs = "adyen-kyc-tabs";
|
|
17
17
|
const styles$2 = {
|
|
18
18
|
tabs
|
|
@@ -239,7 +239,7 @@ const DebugModal = ({ onExit }) => {
|
|
|
239
239
|
const [tab, setTab] = useState("metadata");
|
|
240
240
|
const rootLegalEntity = useGlobalStore().rootLegalEntity.value;
|
|
241
241
|
const metadata = {
|
|
242
|
-
sdkVersion: "3.81.0-beta.
|
|
242
|
+
sdkVersion: "3.81.0-beta.5",
|
|
243
243
|
locale: i18n.locale,
|
|
244
244
|
rootLegalEntityId: rootLegalEntity.id
|
|
245
245
|
};
|
|
@@ -2,14 +2,15 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "d6168696-7db4-4211-9d9f-193fc413932d", e._sentryDebugIdIdentifier = "sentry-dbid-d6168696-7db4-4211-9d9f-193fc413932d");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { d as useLegalEntity, B as skipToken, af as useCapabilityProblems, aa as useExperimentsContext,
|
|
12
|
-
import {
|
|
11
|
+
import { d as useLegalEntity, B as skipToken, af as useCapabilityProblems, aa as useExperimentsContext, cy as useScenarios, g as getLegalEntityCountry, L as Loader, b6 as getProblemsForEntity, b7 as isOnfidoAutofillFlowEnabled, a8 as noop, $ as TaskTypes, Z as EntityTypes, O as LegalEntityTypes } from "./StoreProvider-BK6S-tUB.js";
|
|
12
|
+
import { i as isBafinSignatoryFlow, r as removeIdVerificationProblemsForBafinSignatory } from "./bafinUtils-WzgnLHUH.js";
|
|
13
|
+
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-BGSe9ayX.js";
|
|
13
14
|
function DecisionMakerDetailsPage({
|
|
14
15
|
decisionMakerId,
|
|
15
16
|
parentCompanyId,
|
|
@@ -29,11 +30,23 @@ function DecisionMakerDetailsPage({
|
|
|
29
30
|
const { data: parentCompanyLe } = useLegalEntity(parentCompanyId ?? skipToken);
|
|
30
31
|
const capabilityProblems = useCapabilityProblems();
|
|
31
32
|
const { isExperimentEnabled } = useExperimentsContext();
|
|
33
|
+
const { data: scenarios } = useScenarios(
|
|
34
|
+
(parentCompanyLe && getLegalEntityCountry(parentCompanyLe)) ?? skipToken,
|
|
35
|
+
LegalEntityTypes.INDIVIDUAL
|
|
36
|
+
);
|
|
32
37
|
if (!parentCompanyLe || decisionMakerId && !decisionMakerLe) {
|
|
33
38
|
return /* @__PURE__ */ jsx(Loader, {});
|
|
34
39
|
}
|
|
35
40
|
const country = getLegalEntityCountry(decisionMakerLe ?? parentCompanyLe);
|
|
36
|
-
|
|
41
|
+
let problems = capabilityProblems && decisionMakerId ? getProblemsForEntity(capabilityProblems, EntityTypes.LEGAL_ENTITY, decisionMakerId) : void 0;
|
|
42
|
+
if (problems && parentCompanyLe && decisionMakerLe && scenarios) {
|
|
43
|
+
const associatedDecisionMaker = parentCompanyLe.entityAssociations?.find(
|
|
44
|
+
(association) => association.legalEntityId === decisionMakerLe.id
|
|
45
|
+
);
|
|
46
|
+
if (isBafinSignatoryFlow({ taskType, data: associatedDecisionMaker, scenarios })) {
|
|
47
|
+
problems = removeIdVerificationProblemsForBafinSignatory(problems);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
37
50
|
const isOnfidoAutofillFlow = isOnfidoAutofillFlowEnabled(
|
|
38
51
|
country,
|
|
39
52
|
TaskTypes.DECISION_MAKER,
|
|
@@ -2,21 +2,22 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "aaa6ef03-d2dd-49a1-89c9-d371365a793b", e._sentryDebugIdIdentifier = "sentry-dbid-aaa6ef03-d2dd-49a1-89c9-d371365a793b");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useState, useEffect } from "preact/hooks";
|
|
12
|
-
import { a7 as Icon, c as useTranslation, d as useLegalEntity, G as Button,
|
|
13
|
-
import { a as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
14
|
-
import { e as useDataMissingRemediations, D as DropinLayout, E as EntityGuidanceStatus, i as iconStatus, f as EntityAssociation } from "./OnboardingDropinComponent-
|
|
12
|
+
import { a7 as Icon, c as useTranslation, d as useLegalEntity, G as Button, bf as Modal, L as Loader, aP as getRoleName, bh as Confirm, u as useI18nContext, N as Typography, K as Alert, a3 as useAnalyticsContext, ao as Image, R as ROOT_LE, ad as useGetTaskStatus, aa as useExperimentsContext, a9 as useToastContext, af as useCapabilityProblems, bA as getOwnDecisionMakers, cy as useScenarios, cW as getAvailableDecisionMakerRoleTypes, $ as TaskTypes, cE as getAllowedDecisionMakerRoles, F as FormHeader, a_ as ContextGuidance, aY as Trans, ba as DecisionMakerTypes, ae as CardGroup, aT as ActionBar, O as LegalEntityTypes } from "./StoreProvider-BK6S-tUB.js";
|
|
13
|
+
import { a as useUpdateLegalEntity } from "./useUpdateLegalEntity-CKaq6DPT.js";
|
|
14
|
+
import { e as useDataMissingRemediations, D as DropinLayout, E as EntityGuidanceStatus, i as iconStatus, f as EntityAssociation } from "./OnboardingDropinComponent-BUmJ_JVk.js";
|
|
15
15
|
import cx from "classnames";
|
|
16
|
-
import { A as Avatar } from "./Avatar-
|
|
17
|
-
import { T as TaskStatusIndicator } from "./TaskStatusIndicator-
|
|
16
|
+
import { A as Avatar } from "./Avatar-D11TdIAz.js";
|
|
17
|
+
import { T as TaskStatusIndicator } from "./TaskStatusIndicator-BqoOgtJU.js";
|
|
18
18
|
import { D as DetailViewLayout } from "./DetailViewLayout-Z9cuUp4X.js";
|
|
19
|
-
import { S as StackLayout, L as LandingLayout } from "./
|
|
19
|
+
import { S as StackLayout, L as LandingLayout } from "./bafinUtils-WzgnLHUH.js";
|
|
20
|
+
import { lazy } from "preact/compat";
|
|
20
21
|
const listItem = "adyen-kyc-list-item";
|
|
21
22
|
const listItemInteractive = "adyen-kyc-list-item-interactive";
|
|
22
23
|
const listItemText = "adyen-kyc-list-item-text";
|
|
@@ -145,6 +146,7 @@ const DecisionMakersModalContent = () => {
|
|
|
145
146
|
/* @__PURE__ */ jsx(Typography, { el: "p", className: "adyen-kyc-u-margin-bottom-32", children: i18n.get("ownersAndDecisionMakersDescriptionA4") })
|
|
146
147
|
] });
|
|
147
148
|
};
|
|
149
|
+
const decisionMakerGroup = lazy(() => import("./decision-makers-group-CgddXgrx.js"));
|
|
148
150
|
const DecisionMakersGettingStarted = ({
|
|
149
151
|
addDecisionMakerOnClick,
|
|
150
152
|
handleCancelClick
|
|
@@ -170,14 +172,7 @@ const DecisionMakersGettingStarted = ({
|
|
|
170
172
|
/* @__PURE__ */ jsx(
|
|
171
173
|
LandingLayout,
|
|
172
174
|
{
|
|
173
|
-
media: /* @__PURE__ */ jsx(
|
|
174
|
-
Svg,
|
|
175
|
-
{
|
|
176
|
-
type: "image",
|
|
177
|
-
testId: "decision-makers-getting-started-icon",
|
|
178
|
-
name: "decision-makers-group"
|
|
179
|
-
}
|
|
180
|
-
),
|
|
175
|
+
media: /* @__PURE__ */ jsx(Image, { lazyLoadedImage: decisionMakerGroup }),
|
|
181
176
|
title: i18n.get("ownersAndDecisionMakers"),
|
|
182
177
|
description: i18n.get("ownersAndDecisionMakersDescription"),
|
|
183
178
|
helpAction: /* @__PURE__ */ jsx(Button, { variant: "link", onClick: openModal, fullWidth: true, children: i18n.get("learnMore") }),
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "cb646361-5441-42e9-9cc9-49ab9d80f815", e._sentryDebugIdIdentifier = "sentry-dbid-cb646361-5441-42e9-9cc9-49ab9d80f815");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import { A as Avatar } from "./Avatar-
|
|
13
|
-
import { a1 as TaskStatuses, c as useTranslation, J as Skeleton, N as Typography } from "./StoreProvider-
|
|
12
|
+
import { A as Avatar } from "./Avatar-D11TdIAz.js";
|
|
13
|
+
import { a1 as TaskStatuses, c as useTranslation, J as Skeleton, N as Typography } from "./StoreProvider-BK6S-tUB.js";
|
|
14
14
|
import { T as Tag } from "./Tag-DdkVScyr.js";
|
|
15
15
|
import { O as OnboardingStatuses } from "./view-verification-status-VFcBydkR.js";
|
|
16
16
|
const embeddedStatus = "adyen-kyc-embedded-status";
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
12
|
import { isValidElement, cloneElement } from "preact";
|
|
13
|
-
import { G as Button, L as Loader, a7 as Icon } from "./StoreProvider-
|
|
13
|
+
import { G as Button, L as Loader, a7 as Icon } from "./StoreProvider-BK6S-tUB.js";
|
|
14
14
|
const endStateLayout = "adyen-kyc-end-state-layout";
|
|
15
15
|
const endStateLayoutHeader = "adyen-kyc-end-state-layout-header";
|
|
16
16
|
const endStateLayoutIcon = "adyen-kyc-end-state-layout-icon";
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "b745e065-bff2-4371-915c-f6a2319fdae8", e._sentryDebugIdIdentifier = "sentry-dbid-b745e065-bff2-4371-915c-f6a2319fdae8");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { useMemo, useRef, useState } from "preact/hooks";
|
|
12
|
-
import {
|
|
12
|
+
import { dF as FormContext, a3 as useAnalyticsContext, c as useTranslation, bv as MaybeModal, a6 as LoaderWrapper, dG as FormRouterContextProvider, aS as Summary, G as Button, a2 as IconButton, bh as Confirm } from "./StoreProvider-BK6S-tUB.js";
|
|
13
13
|
import cx from "classnames";
|
|
14
14
|
function FormContextProvider({
|
|
15
15
|
children,
|