@adyen/kyc-components 3.78.1 → 3.78.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AcceptTermsOfServiceComponent-CALk_lYs.js → AcceptTermsOfServiceComponent-CZaKPoc0.js} +5 -5
- package/dist/{AccountSetupRejected-B4it2mAn.js → AccountSetupRejected-D3TKo6C6.js} +2 -2
- package/dist/{Avatar-DTNBQIw4.js → Avatar-dviV55ST.js} +1 -1
- package/dist/{BusinessDetailsDropin-BbiQUpTu.js → BusinessDetailsDropin-VOF4asHw.js} +6 -6
- package/dist/{BusinessFinancingComponent-CoGow_z4.js → BusinessFinancingComponent-DwJJMj8c.js} +2 -2
- package/dist/{BusinessFinancingDropin-BUDDEt2y.js → BusinessFinancingDropin-BgPoMa74.js} +11 -11
- package/dist/{BusinessFinancingPage-Dx_hYx0g.js → BusinessFinancingPage-BYuXIkDq.js} +2 -2
- package/dist/{BusinessTypeSelectionPage-R-vVja1w.js → BusinessTypeSelectionPage-DzB_a1GI.js} +3 -3
- package/dist/{ContractViewer-BUrLFkjz.js → ContractViewer-CBiomL4B.js} +1 -1
- package/dist/{CreateIndividualComponent-CheH_tkQ.js → CreateIndividualComponent-Cwl9OdXf.js} +2 -2
- package/dist/{CreateTransferInstrumentComponent-CzT-zIuq.js → CreateTransferInstrumentComponent-BRhCQc5H.js} +1 -1
- package/dist/{CustomerSupport-eBFsBh5z.js → CustomerSupport-Dfrylcd2.js} +4 -4
- package/dist/{DebugModal-DSJ2Bu7L.js → DebugModal-RbqxP5FV.js} +8 -8
- package/dist/{DecisionMakerDetailsPage-D9HX27JP.js → DecisionMakerDetailsPage-CU8GK2zM.js} +2 -2
- package/dist/{DecisionMakers-DtEzrxlu.js → DecisionMakers-BK6PBUmL.js} +3 -3
- package/dist/{EmbeddedStatus-DW2KDeVq.js → EmbeddedStatus-BUcC_7yF.js} +2 -2
- package/dist/{FormEndState-CFsbWpxb.js → FormEndState-DYBiYZUh.js} +1 -1
- package/dist/{FormFlow-DCykB5i5.js → FormFlow-B9jgV_nq.js} +1 -1
- package/dist/{IndividualOnfidoDropin-BSlyi20E.js → IndividualOnfidoDropin-Cyy1M6bn.js} +10 -10
- package/dist/{Introduction-BZi_bthG.js → Introduction-CZIUTSSA.js} +2 -2
- package/dist/{LegalRepresentativeDetailsPage-BIoRbtw2.js → LegalRepresentativeDetailsPage-BhvPvKFl.js} +2 -2
- package/dist/{ManageIndividualComponent-DMjlsbAy.js → ManageIndividualComponent-X2EiIABJ.js} +3 -3
- package/dist/{ManagePCIComponent-DBZfPp3V.js → ManagePCIComponent-3pbe8Vyg.js} +3 -3
- package/dist/{ManageTermsOfServiceComponent-DKETCed8.js → ManageTermsOfServiceComponent-CQkeTHNh.js} +3 -3
- package/dist/{ManageTransferInstrumentComponent-BSmYg0hN.js → ManageTransferInstrumentComponent-Dus3f-Nx.js} +3 -3
- package/dist/{OnboardingDropinComponent-BIYee1P5.js → OnboardingDropinComponent-CJETgeaa.js} +31 -31
- package/dist/{ProviderButton-68h5aop6.js → ProviderButton-DDxFakjP.js} +1 -1
- package/dist/{Review-B64WSoNY.js → Review-vztQ2s3d.js} +2 -2
- package/dist/{RootBusinessDetailsPage-pLFlImAT.js → RootBusinessDetailsPage-IlXZictu.js} +2 -2
- package/dist/{RootIndividualDetailsPage-DNB6X1fo.js → RootIndividualDetailsPage-CkdegfG3.js} +2 -2
- package/dist/{SignPCIComponent-C1FVDlrB.js → SignPCIComponent-D4SzMaH8.js} +4 -4
- package/dist/{SingpassSelection-CYGyZdB5.js → SingpassSelection-CfSDcW7-.js} +1 -1
- package/dist/{SoleProprietorshipPage-B7edHXYn.js → SoleProprietorshipPage-Wp4tX3eT.js} +2 -2
- package/dist/{SourceOfFunds.module-C6_DeyyN.js → SourceOfFunds.module-4Br0m_sK.js} +1 -1
- package/dist/{SourceOfFundsPage-Bl_iGS7M.js → SourceOfFundsPage-b35ayqLW.js} +8 -8
- package/dist/{StoreProvider-C_CN8zyd.js → StoreProvider-Ds8GpUI7.js} +4 -4
- package/dist/{TaskItemStatus-BSA2z5Iz.js → TaskItemStatus-BAplXN6G.js} +1 -1
- package/dist/{TaxReportingDropin-CAUNn0j2.js → TaxReportingDropin-kx2ViDF0.js} +6 -6
- package/dist/{TileGroup-WyUkfpOq.js → TileGroup-DIDa-YLk.js} +1 -1
- package/dist/{TrustDetailsPage-BL01OsYz.js → TrustDetailsPage-DzaS55wu.js} +4 -4
- package/dist/{TrustMemberCompanyPage-DUahXkBs.js → TrustMemberCompanyPage-B9bWl-Je.js} +3 -3
- package/dist/{TrustMemberIndividualPage-Q_ILxUsL.js → TrustMemberIndividualPage-fTW3Mg0B.js} +2 -2
- package/dist/{UnincorporatedPartnershipIndividualPage-ByeOd96j.js → UnincorporatedPartnershipIndividualPage-BLeeU5He.js} +2 -2
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-DfnEI10w.js → UnincorporatedPartnershipMemberCompanyPage-BOfpHGuk.js} +2 -2
- package/dist/{VerificationErrorAlert-BdX_bk-t.js → VerificationErrorAlert-DaDb6KkR.js} +1 -1
- package/dist/{ViewVerificationStatusComponent-DxSqjkK8.js → ViewVerificationStatusComponent-C1DE6z5Y.js} +2 -2
- 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-pci.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-sign-pci.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/{css-Shm8LIVZ.js → css-CbL9wYLV.js} +1 -1
- package/dist/{getFieldsWithExistingData-FB3OWEkp.js → getFieldsWithExistingData-MqJkvddX.js} +1 -1
- package/dist/{hasDataChanged-DPdMlQpS.js → hasDataChanged-f2B3AZmE.js} +1 -1
- package/dist/{json-BoKnQ33j.js → json-B7mcsdJ0.js} +1 -1
- package/dist/{localizeDateString-Bt8M0P5i.js → localizeDateString-i6RhzqO6.js} +1 -1
- package/dist/{mapFinancialReportsToFinancialInformation-BWJUvu-v.js → mapFinancialReportsToFinancialInformation-BmE2A_pM.js} +1 -1
- package/dist/{plaintext-D6ArdwCo.js → plaintext-Czn9--Gw.js} +1 -1
- package/dist/{resolveEnvironment-Bj2dnNqq.js → resolveEnvironment-C10fTVeS.js} +3 -3
- package/dist/{rules-f7BBCo7l.js → rules-BCkTGcXc.js} +1 -1
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/utils.d.ts +1 -1
- package/dist/{useMultiForm-BrNel_mc.js → useMultiForm-S0ZY8TxR.js} +1 -1
- package/dist/{useOnboardingStatus-BE1z1eUt.js → useOnboardingStatus-BJvxykIg.js} +1 -1
- package/dist/{useSalesChannelsSettings-nYpTkuYo.js → useSalesChannelsSettings-BPGezvAN.js} +1 -1
- package/dist/{useTermsOfServiceStatus-YHUiTdhT.js → useTermsOfServiceStatus-CFvVKN2D.js} +1 -1
- package/dist/{useUpdateLegalEntity-Csc_isIR.js → useUpdateLegalEntity-CQERAQRB.js} +1 -1
- package/dist/{utils-CdkXwLGZ.js → utils-hRPJYoJQ.js} +3 -3
- package/dist/{validate-B6FOA4Ta.js → validate-DBcu5ebv.js} +1 -1
- package/dist/{yaml-BsoWkUaV.js → yaml-Dgs0tY6b.js} +1 -1
- package/package.json +1 -1
package/dist/{AcceptTermsOfServiceComponent-CALk_lYs.js → AcceptTermsOfServiceComponent-CZaKPoc0.js}
RENAMED
|
@@ -9,12 +9,12 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useState, useEffect, useCallback } from "preact/hooks";
|
|
12
|
-
import { p as useApiContext, bg as useInvalidateRootLegalEntity, bh as useMutation, bj as httpPost, q as useQuery, w as skipToken, r as httpGet, X as createLogger, b as useI18nContext, $ as useAnalyticsContext, a5 as useToastContext, a6 as useExperimentsContext, au as useForm, B as Alert, Z as Button, a2 as LoaderWrapper, az as Field, bs as Select, bt as Checkbox, aO as ActionBar, bu as MaybeModal, b6 as ModalContent, b8 as ModalFooter, bv as StepProgressIndicator, b9 as Spacer, y as LegalEntityType, af as getOwnSignatories, x as doesLegalEntityRequiresLegalRepresentative, v as getLegalRepresentative, am as getLegalEntityNameBasedOnType, aM as FormNavigation, a as useLegalEntity, R as ROOT_LE, L as Loader, W as TaskTypes } from "./StoreProvider-
|
|
13
|
-
import { u as useTermsOfServiceStatus, a as useTermsOfServiceAcceptanceInfos } from "./useTermsOfServiceStatus-
|
|
14
|
-
import { C as ContractViewer, O as OutlinedIcon } from "./ContractViewer-
|
|
15
|
-
import { F as FormEndState } from "./FormEndState-
|
|
12
|
+
import { p as useApiContext, bg as useInvalidateRootLegalEntity, bh as useMutation, bj as httpPost, q as useQuery, w as skipToken, r as httpGet, X as createLogger, b as useI18nContext, $ as useAnalyticsContext, a5 as useToastContext, a6 as useExperimentsContext, au as useForm, B as Alert, Z as Button, a2 as LoaderWrapper, az as Field, bs as Select, bt as Checkbox, aO as ActionBar, bu as MaybeModal, b6 as ModalContent, b8 as ModalFooter, bv as StepProgressIndicator, b9 as Spacer, y as LegalEntityType, af as getOwnSignatories, x as doesLegalEntityRequiresLegalRepresentative, v as getLegalRepresentative, am as getLegalEntityNameBasedOnType, aM as FormNavigation, a as useLegalEntity, R as ROOT_LE, L as Loader, W as TaskTypes } from "./StoreProvider-Ds8GpUI7.js";
|
|
13
|
+
import { u as useTermsOfServiceStatus, a as useTermsOfServiceAcceptanceInfos } from "./useTermsOfServiceStatus-CFvVKN2D.js";
|
|
14
|
+
import { C as ContractViewer, O as OutlinedIcon } from "./ContractViewer-CBiomL4B.js";
|
|
15
|
+
import { F as FormEndState } from "./FormEndState-DYBiYZUh.js";
|
|
16
16
|
import { d as downloadFile } from "./file-CiG1D0zy.js";
|
|
17
|
-
import { l as localizeDateString } from "./localizeDateString-
|
|
17
|
+
import { l as localizeDateString } from "./localizeDateString-i6RhzqO6.js";
|
|
18
18
|
const acceptTermsOfService = async (legalEntityId, baseUrl, termsOfServiceDocumentId, data) => {
|
|
19
19
|
return httpPost(
|
|
20
20
|
{
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { b as useI18nContext, A as AlertIcon, F as FormHeader } from "./StoreProvider-
|
|
12
|
-
import { D as DropinLayout } from "./OnboardingDropinComponent-
|
|
11
|
+
import { b as useI18nContext, A as AlertIcon, F as FormHeader } from "./StoreProvider-Ds8GpUI7.js";
|
|
12
|
+
import { D as DropinLayout } from "./OnboardingDropinComponent-CJETgeaa.js";
|
|
13
13
|
function AccountSetupRejected() {
|
|
14
14
|
const { i18n } = useI18nContext();
|
|
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 { a3 as Icon } from "./StoreProvider-
|
|
12
|
+
import { a3 as Icon } from "./StoreProvider-Ds8GpUI7.js";
|
|
13
13
|
const avatar = "adyen-kyc-avatar";
|
|
14
14
|
const avatarLabel = "adyen-kyc-avatar-label";
|
|
15
15
|
const avatarPrimary = "adyen-kyc-avatar-primary";
|
|
@@ -8,14 +8,14 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
|
-
import { p as useApiContext, bh as useMutation, bj as httpPost, q as useQuery, dR as KNOWN_BROKEN_PRIMARY_SOURCE_CONNECTIONS, b as useI18nContext, dw as MemoizedDocumentUpload, Z as Button, b4 as Modal, b6 as ModalContent, C as Typography, ao as CountryCodes, O as CompanyTypesValue, dS as useGlobalData, dT as getForms, W as TaskTypes, dU as BasicInformation, dq as getFormProps, dV as CompanyStructure, dW as AdditionalInformation, dX as MemoizedConstitutionalDocument, y as LegalEntityType, dY as FinancialInformation, by as formatObject, be as entriesOf, ce as getDocument, cf as mapExistingFile, cg as getPageName, bn as businessDetailsComponentsKeyMapping, dZ as solePropBusinessDetailsKeyMapping, b0 as objectsDeepEqual, d_ as operationalAddressIsSameIds, d$ as COUNTRIES_USING_COMPANY_SEARCH, e0 as FIELDS_NEEDED_FOR_COMPANY_SEARCH, df as keysOf, i as isUndefinedOrNull, dI as isDateOlderThanAYear, aJ as summaryItem, e1 as solePropBusinessDetailsApiKeyMapping, e2 as businessDetailsApiKeyMapping, dg as isEmpty, e3 as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, cj as createDocumentRequest, b2 as datasetUtilities, cE as mapAddressLabels, e4 as companyTypeMetadata, e5 as getProp, ap as isEmpty$1, X as createLogger, cD as filterOutUnwantedAssociationsIfRootLE, bS as isValidationError, bT as processValidationErrors, bU as isMaintenanceModeError, e6 as documentFormsIds, ar as resolveFieldMetadata, e7 as registrationNumberDefaultFieldMetadata, e8 as inferCompanyRegistrationNumberType, e9 as getCompanyRegistrationNumberOptions, ea as registrationNumberDefaultFieldConfig, c9 as taxInformationDefaultFieldMetadata, eb as countryToTaxInfoTypeMap, ca as taxInformationDefaultFieldConfig, ec as getKeyForField, cm as drop, ak as getOwnEntityAssociations, cN as doArraysMatch, cJ as getFileExtention, P as useAccountHolder, a5 as useToastContext, $ as useAnalyticsContext, a6 as useExperimentsContext, J as useSettingsContext, ed as verifiedBusiness, bp as useQueryClient, ee as useStateContext, K as SettingNames, ef as setIsBankAccountRequestedForOrganization, bN as getAssociatedLeAnalyticsPayload, b3 as getCapabilityProblems, cn as documentApiUtils, cB as composePerScenarioFormConfigurations, cv as useScenarioConfiguration, eg as rules, cw as getPropsFromConfigurations, eh as useCompanySelection, ei as useVerifyTin, bO as getRequiredForms, bP as addValidityToForms, bQ as useFormComposer, ej as setVerifiedBusiness, ek as FormWrapper, ba as Confirm, el as solePropBusinessDetailsDocumentMapping, em as businessDetailsDocumentMapping } from "./StoreProvider-
|
|
11
|
+
import { p as useApiContext, bh as useMutation, bj as httpPost, q as useQuery, dR as KNOWN_BROKEN_PRIMARY_SOURCE_CONNECTIONS, b as useI18nContext, dw as MemoizedDocumentUpload, Z as Button, b4 as Modal, b6 as ModalContent, C as Typography, ao as CountryCodes, O as CompanyTypesValue, dS as useGlobalData, dT as getForms, W as TaskTypes, dU as BasicInformation, dq as getFormProps, dV as CompanyStructure, dW as AdditionalInformation, dX as MemoizedConstitutionalDocument, y as LegalEntityType, dY as FinancialInformation, by as formatObject, be as entriesOf, ce as getDocument, cf as mapExistingFile, cg as getPageName, bn as businessDetailsComponentsKeyMapping, dZ as solePropBusinessDetailsKeyMapping, b0 as objectsDeepEqual, d_ as operationalAddressIsSameIds, d$ as COUNTRIES_USING_COMPANY_SEARCH, e0 as FIELDS_NEEDED_FOR_COMPANY_SEARCH, df as keysOf, i as isUndefinedOrNull, dI as isDateOlderThanAYear, aJ as summaryItem, e1 as solePropBusinessDetailsApiKeyMapping, e2 as businessDetailsApiKeyMapping, dg as isEmpty, e3 as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, cj as createDocumentRequest, b2 as datasetUtilities, cE as mapAddressLabels, e4 as companyTypeMetadata, e5 as getProp, ap as isEmpty$1, X as createLogger, cD as filterOutUnwantedAssociationsIfRootLE, bS as isValidationError, bT as processValidationErrors, bU as isMaintenanceModeError, e6 as documentFormsIds, ar as resolveFieldMetadata, e7 as registrationNumberDefaultFieldMetadata, e8 as inferCompanyRegistrationNumberType, e9 as getCompanyRegistrationNumberOptions, ea as registrationNumberDefaultFieldConfig, c9 as taxInformationDefaultFieldMetadata, eb as countryToTaxInfoTypeMap, ca as taxInformationDefaultFieldConfig, ec as getKeyForField, cm as drop, ak as getOwnEntityAssociations, cN as doArraysMatch, cJ as getFileExtention, P as useAccountHolder, a5 as useToastContext, $ as useAnalyticsContext, a6 as useExperimentsContext, J as useSettingsContext, ed as verifiedBusiness, bp as useQueryClient, ee as useStateContext, K as SettingNames, ef as setIsBankAccountRequestedForOrganization, bN as getAssociatedLeAnalyticsPayload, b3 as getCapabilityProblems, cn as documentApiUtils, cB as composePerScenarioFormConfigurations, cv as useScenarioConfiguration, eg as rules, cw as getPropsFromConfigurations, eh as useCompanySelection, ei as useVerifyTin, bO as getRequiredForms, bP as addValidityToForms, bQ as useFormComposer, ej as setVerifiedBusiness, ek as FormWrapper, ba as Confirm, el as solePropBusinessDetailsDocumentMapping, em as businessDetailsDocumentMapping } from "./StoreProvider-Ds8GpUI7.js";
|
|
12
12
|
import { useState, useEffect, useRef, useCallback, useMemo } 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-CQERAQRB.js";
|
|
14
|
+
import { h as hasDataChanged } from "./hasDataChanged-f2B3AZmE.js";
|
|
15
|
+
import { o as organizationTypesToSkipCompanyStructureForm } from "./utils-hRPJYoJQ.js";
|
|
16
|
+
import { g as getFieldsWithExistingData } from "./getFieldsWithExistingData-MqJkvddX.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-BmE2A_pM.js";
|
|
19
19
|
import { f as formatCurrency } from "./formatCurrency-CMOSdJMB.js";
|
|
20
20
|
const clearCompanyData = async (legalEntityId, baseUrl) => {
|
|
21
21
|
return httpPost({
|
package/dist/{BusinessFinancingComponent-CoGow_z4.js → BusinessFinancingComponent-DwJJMj8c.js}
RENAMED
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { useMemo } from "preact/hooks";
|
|
12
|
-
import { a as useLegalEntity, g as getLegalEntityCountry, L as Loader } from "./StoreProvider-
|
|
13
|
-
import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-
|
|
12
|
+
import { a as useLegalEntity, g as getLegalEntityCountry, L as Loader } from "./StoreProvider-Ds8GpUI7.js";
|
|
13
|
+
import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-BgPoMa74.js";
|
|
14
14
|
function BusinessFinancingComponent({
|
|
15
15
|
legalEntityId,
|
|
16
16
|
onSubmitSuccess
|
|
@@ -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] = "88e76324-3cd8-4c72-b20c-e46097260ee0", e._sentryDebugIdIdentifier = "sentry-dbid-88e76324-3cd8-4c72-b20c-e46097260ee0");
|
|
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 { bx as reverseMapping, by as formatObject, bz as isEeaCountry, y as LegalEntityType, bc as cloneObject, p as useApiContext, q as useQuery, r as httpGet, b as useI18nContext, az as Field, bs as Select, C as Typography, bA as LegalFormField, ay as createFormUtils, aX as RadioGroup, bB as Link, bC as InputText, bd as currencyByCountry, bD as InputNumber, bE as InputDate, bF as Currency, bG as CURRENCY_FIELD, bH as InputCurrency, bI as useFormContext, av as getFieldProps, ax as ErrorPanel, bJ as getAddressSchemaForCountry, bK as COUNTRIES_WITH_STATES_DATASET, bL as Address, bM as getAddressSchemaLabelsByCountry, $ as useAnalyticsContext, bg as useInvalidateRootLegalEntity, an as useAssociatedLegalEntity, b2 as datasetUtilities, a5 as useToastContext, J as useSettingsContext, K as SettingNames, bN as getAssociatedLeAnalyticsPayload, bO as getRequiredForms, bP as addValidityToForms, bQ as useFormComposer, bR as trackNavigation, L as Loader, a3 as Icon, Z as Button, bS as isValidationError, bT as processValidationErrors, bU as isMaintenanceModeError } from "./StoreProvider-
|
|
14
|
-
import { F as FormContextProvider, a as FormFlow } from "./FormFlow-
|
|
15
|
-
import { u as useMultiForm } from "./useMultiForm-
|
|
16
|
-
import { F as FormEndState } from "./FormEndState-
|
|
17
|
-
import { l as localizeDateString } from "./localizeDateString-
|
|
18
|
-
import { m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./mapFinancialReportsToFinancialInformation-
|
|
12
|
+
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-CQERAQRB.js";
|
|
13
|
+
import { bx as reverseMapping, by as formatObject, bz as isEeaCountry, y as LegalEntityType, bc as cloneObject, p as useApiContext, q as useQuery, r as httpGet, b as useI18nContext, az as Field, bs as Select, C as Typography, bA as LegalFormField, ay as createFormUtils, aX as RadioGroup, bB as Link, bC as InputText, bd as currencyByCountry, bD as InputNumber, bE as InputDate, bF as Currency, bG as CURRENCY_FIELD, bH as InputCurrency, bI as useFormContext, av as getFieldProps, ax as ErrorPanel, bJ as getAddressSchemaForCountry, bK as COUNTRIES_WITH_STATES_DATASET, bL as Address, bM as getAddressSchemaLabelsByCountry, $ as useAnalyticsContext, bg as useInvalidateRootLegalEntity, an as useAssociatedLegalEntity, b2 as datasetUtilities, a5 as useToastContext, J as useSettingsContext, K as SettingNames, bN as getAssociatedLeAnalyticsPayload, bO as getRequiredForms, bP as addValidityToForms, bQ as useFormComposer, bR as trackNavigation, L as Loader, a3 as Icon, Z as Button, bS as isValidationError, bT as processValidationErrors, bU as isMaintenanceModeError } from "./StoreProvider-Ds8GpUI7.js";
|
|
14
|
+
import { F as FormContextProvider, a as FormFlow } from "./FormFlow-B9jgV_nq.js";
|
|
15
|
+
import { u as useMultiForm } from "./useMultiForm-S0ZY8TxR.js";
|
|
16
|
+
import { F as FormEndState } from "./FormEndState-DYBiYZUh.js";
|
|
17
|
+
import { l as localizeDateString } from "./localizeDateString-i6RhzqO6.js";
|
|
18
|
+
import { m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./mapFinancialReportsToFinancialInformation-BmE2A_pM.js";
|
|
19
19
|
import { b as businessFinancingMultiformRules } from "./validate-CuwYJGc9.js";
|
|
20
20
|
const businessFinancingBaseMapping = {
|
|
21
21
|
legalProceedingsDate: "organization.dateOfInitiationOfLegalProceeding",
|
|
@@ -274,7 +274,7 @@ const getParentCompanySchemaKeys = (currentData, schemaKeys) => {
|
|
|
274
274
|
}
|
|
275
275
|
return schemaKeys.filter((field) => !fieldsToRemove.includes(field));
|
|
276
276
|
};
|
|
277
|
-
const getBusinessFinancingRequiredFields = (data) => {
|
|
277
|
+
const getBusinessFinancingRequiredFields = (country, data) => {
|
|
278
278
|
let requiredFields = {
|
|
279
279
|
company: companySchemaKeys
|
|
280
280
|
};
|
|
@@ -283,7 +283,7 @@ const getBusinessFinancingRequiredFields = (data) => {
|
|
|
283
283
|
}
|
|
284
284
|
const { company, parentCompany = {}, ultimateParentCompany = {} } = data;
|
|
285
285
|
if (company) {
|
|
286
|
-
requiredFields.company = getCompanySchemaKeys(
|
|
286
|
+
requiredFields.company = getCompanySchemaKeys(country, company, companySchemaKeys);
|
|
287
287
|
}
|
|
288
288
|
if (company?.isCompanyOwnedByAnotherCompany === "Yes") {
|
|
289
289
|
const parentCompanyRequiredFields = getParentCompanySchemaKeys(
|
|
@@ -1516,7 +1516,7 @@ function BusinessFinancingDropin(props) {
|
|
|
1516
1516
|
umfData?.company?.isParentOwnedByAnotherCompany
|
|
1517
1517
|
]);
|
|
1518
1518
|
useEffect(() => {
|
|
1519
|
-
const reqs = getBusinessFinancingRequiredFields(umfData);
|
|
1519
|
+
const reqs = getBusinessFinancingRequiredFields(country, umfData);
|
|
1520
1520
|
setRequiredFields(reqs);
|
|
1521
1521
|
}, [umfData]);
|
|
1522
1522
|
const forms = useMemo(() => {
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { b as useI18nContext, a as useLegalEntity, R as ROOT_LE, L as Loader, g as getLegalEntityCountry } from "./StoreProvider-
|
|
12
|
-
import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-
|
|
11
|
+
import { b as useI18nContext, a as useLegalEntity, R as ROOT_LE, L as Loader, g as getLegalEntityCountry } from "./StoreProvider-Ds8GpUI7.js";
|
|
12
|
+
import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-BgPoMa74.js";
|
|
13
13
|
const BusinessFinancingPage = ({
|
|
14
14
|
onSubmit,
|
|
15
15
|
handleHomeClick
|
package/dist/{BusinessTypeSelectionPage-R-vVja1w.js → BusinessTypeSelectionPage-DzB_a1GI.js}
RENAMED
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
|
-
import { X as createLogger, b as useI18nContext, $ as useAnalyticsContext, a5 as useToastContext, a6 as useExperimentsContext, P as useAccountHolder, dO as getCapabilities, g as getLegalEntityCountry, y as LegalEntityType, au as useForm, a2 as LoaderWrapper, C as Typography, az as Field, dP as EntityTypeRadioGroupCard, aC as RadioGroupCard, Z as Button, b9 as Spacer, a3 as Icon, a as useLegalEntity, R as ROOT_LE, L as Loader } from "./StoreProvider-
|
|
11
|
+
import { X as createLogger, b as useI18nContext, $ as useAnalyticsContext, a5 as useToastContext, a6 as useExperimentsContext, P as useAccountHolder, dO as getCapabilities, g as getLegalEntityCountry, y as LegalEntityType, au as useForm, a2 as LoaderWrapper, C as Typography, az as Field, dP as EntityTypeRadioGroupCard, aC as RadioGroupCard, Z as Button, b9 as Spacer, a3 as Icon, a as useLegalEntity, R as ROOT_LE, L as Loader } from "./StoreProvider-Ds8GpUI7.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-CQERAQRB.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-hRPJYoJQ.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) => {
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { a3 as Icon } from "./StoreProvider-
|
|
11
|
+
import { a3 as Icon } from "./StoreProvider-Ds8GpUI7.js";
|
|
12
12
|
import cx from "classnames";
|
|
13
13
|
import { useRef, useState, useEffect } from "preact/hooks";
|
|
14
14
|
const outlinedIcon = "adyen-kyc-outlined-icon";
|
package/dist/{CreateIndividualComponent-CheH_tkQ.js → CreateIndividualComponent-Cwl9OdXf.js}
RENAMED
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { a as useLegalEntity, ab as useCapabilityProblems, a6 as useExperimentsContext, L as Loader, g as getLegalEntityCountry, bk as getProblemsForEntity, U as EntityType, bl as isOnfidoAutofillFlowEnabled, W as TaskTypes } from "./StoreProvider-
|
|
12
|
-
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-
|
|
11
|
+
import { a as useLegalEntity, ab as useCapabilityProblems, a6 as useExperimentsContext, L as Loader, g as getLegalEntityCountry, bk as getProblemsForEntity, U as EntityType, bl as isOnfidoAutofillFlowEnabled, W as TaskTypes } from "./StoreProvider-Ds8GpUI7.js";
|
|
12
|
+
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-Cyy1M6bn.js";
|
|
13
13
|
const CreateIndividualComponent = ({
|
|
14
14
|
legalEntityId,
|
|
15
15
|
onSubmitSuccess,
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { useState } from "preact/hooks";
|
|
12
|
-
import { a as useLegalEntity, an as useAssociatedLegalEntity, y as LegalEntityType, L as Loader, bq as PayoutDetailsDropin, W as TaskTypes } from "./StoreProvider-
|
|
12
|
+
import { a as useLegalEntity, an as useAssociatedLegalEntity, y as LegalEntityType, L as Loader, bq as PayoutDetailsDropin, W as TaskTypes } from "./StoreProvider-Ds8GpUI7.js";
|
|
13
13
|
function CreateTransferInstrumentComponent({
|
|
14
14
|
legalEntityId,
|
|
15
15
|
transferInstrumentId,
|
|
@@ -8,11 +8,11 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
|
-
import { a as useLegalEntity, R as ROOT_LE, L as Loader, b as useI18nContext, $ as useAnalyticsContext, a5 as useToastContext, bp as useQueryClient, ar as resolveFieldMetadata, c7 as defaultFieldMetadata, c8 as fieldConfig, cr as getAsyncPhoneValidationRules, F as FormHeader, de as ContactDetails, aO as ActionBar, X as createLogger } from "./StoreProvider-
|
|
11
|
+
import { a as useLegalEntity, R as ROOT_LE, L as Loader, b as useI18nContext, $ as useAnalyticsContext, a5 as useToastContext, bp as useQueryClient, ar as resolveFieldMetadata, c7 as defaultFieldMetadata, c8 as fieldConfig, cr as getAsyncPhoneValidationRules, F as FormHeader, de as ContactDetails, aO as ActionBar, X as createLogger } from "./StoreProvider-Ds8GpUI7.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-CQERAQRB.js";
|
|
14
|
+
import { c as contactDetailsValidationRules, u as useValidatePhoneNumberImperatively } from "./validate-DBcu5ebv.js";
|
|
15
|
+
import { u as useMultiForm } from "./useMultiForm-S0ZY8TxR.js";
|
|
16
16
|
const mapCustomerSupportSchemaToCustomerSupportType = (customerSupport) => {
|
|
17
17
|
return {
|
|
18
18
|
email: customerSupport?.customerSupport?.email || "",
|
|
@@ -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] = "133565f9-9868-4f5c-a0c8-a4badf5ebad6", e._sentryDebugIdIdentifier = "sentry-dbid-133565f9-9868-4f5c-a0c8-a4badf5ebad6");
|
|
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 { Z as Button, be as entriesOf, bC as InputText, b as useI18nContext, dL as splitTaskIdentifier, a6 as useExperimentsContext, J as useSettingsContext, ac as useGlobalStore, di as listToRecord, dM as valuesOf, b4 as Modal, X as createLogger, a3 as Icon, K as SettingNames, dN as ExperimentNames } from "./StoreProvider-
|
|
12
|
+
import { Z as Button, be as entriesOf, bC as InputText, b as useI18nContext, dL as splitTaskIdentifier, a6 as useExperimentsContext, J as useSettingsContext, ac as useGlobalStore, di as listToRecord, dM as valuesOf, b4 as Modal, X as createLogger, a3 as Icon, K as SettingNames, dN as ExperimentNames } from "./StoreProvider-Ds8GpUI7.js";
|
|
13
13
|
import { T as Tag } from "./Tag-DdkVScyr.js";
|
|
14
|
-
import { T as TaskItemStatus } from "./TaskItemStatus-
|
|
14
|
+
import { T as TaskItemStatus } from "./TaskItemStatus-BAplXN6G.js";
|
|
15
15
|
const tabs = "adyen-kyc-tabs";
|
|
16
16
|
const styles$2 = {
|
|
17
17
|
tabs
|
|
@@ -144,10 +144,10 @@ const transformModule = (highlights, codeNode, scope) => {
|
|
|
144
144
|
};
|
|
145
145
|
const supportedModules = ["plaintext", "json", "yaml", "css"];
|
|
146
146
|
const moduleMap = {
|
|
147
|
-
plaintext: () => import("./plaintext-
|
|
148
|
-
json: () => import("./json-
|
|
149
|
-
yaml: () => import("./yaml-
|
|
150
|
-
css: () => import("./css-
|
|
147
|
+
plaintext: () => import("./plaintext-Czn9--Gw.js"),
|
|
148
|
+
json: () => import("./json-B7mcsdJ0.js"),
|
|
149
|
+
yaml: () => import("./yaml-Dgs0tY6b.js"),
|
|
150
|
+
css: () => import("./css-CbL9wYLV.js")
|
|
151
151
|
};
|
|
152
152
|
const getModule = async (name) => {
|
|
153
153
|
if (!supportedModules.includes(name)) {
|
|
@@ -448,7 +448,7 @@ const DebugModal = ({ onExit }) => {
|
|
|
448
448
|
const [tab, setTab] = useState("metadata");
|
|
449
449
|
const rootLegalEntity = useGlobalStore().rootLegalEntity.value;
|
|
450
450
|
const metadata = {
|
|
451
|
-
sdkVersion: "3.78.
|
|
451
|
+
sdkVersion: "3.78.2",
|
|
452
452
|
locale: i18n.locale,
|
|
453
453
|
rootLegalEntityId: rootLegalEntity.id
|
|
454
454
|
};
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { a as useLegalEntity, w as skipToken, ab as useCapabilityProblems, a6 as useExperimentsContext, L as Loader, g as getLegalEntityCountry, bk as getProblemsForEntity, U as EntityType, bl as isOnfidoAutofillFlowEnabled, W as TaskTypes, a4 as noop } from "./StoreProvider-
|
|
12
|
-
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-
|
|
11
|
+
import { a as useLegalEntity, w as skipToken, ab as useCapabilityProblems, a6 as useExperimentsContext, L as Loader, g as getLegalEntityCountry, bk as getProblemsForEntity, U as EntityType, bl as isOnfidoAutofillFlowEnabled, W as TaskTypes, a4 as noop } from "./StoreProvider-Ds8GpUI7.js";
|
|
12
|
+
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-Cyy1M6bn.js";
|
|
13
13
|
function DecisionMakerDetailsPage({
|
|
14
14
|
decisionMakerId,
|
|
15
15
|
parentCompanyId,
|
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { useState, useEffect } from "preact/hooks";
|
|
12
|
-
import { a as useLegalEntity, R as ROOT_LE, L as Loader, a9 as useGetTaskStatus, b as useI18nContext, aS as useTranslation, $ as useAnalyticsContext, a5 as useToastContext, ab as useCapabilityProblems, bw as getOwnDecisionMakers, cQ as getAvailableDecisionMakerRoleTypes, W as TaskTypes, cz as getAllowedDecisionMakerRoles, F as FormHeader, aW as ContextGuidance, aU as Trans, cO as DecisionMakerType, B as Alert, aa as CardGroup, Z as Button, aO as ActionBar } from "./StoreProvider-
|
|
13
|
-
import { a as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
14
|
-
import { c as useDataMissingRemediations, D as DropinLayout, E as EntityGuidanceStatus, i as iconStatus, d as EntityAssociation } from "./OnboardingDropinComponent-
|
|
12
|
+
import { a as useLegalEntity, R as ROOT_LE, L as Loader, a9 as useGetTaskStatus, b as useI18nContext, aS as useTranslation, $ as useAnalyticsContext, a5 as useToastContext, ab as useCapabilityProblems, bw as getOwnDecisionMakers, cQ as getAvailableDecisionMakerRoleTypes, W as TaskTypes, cz as getAllowedDecisionMakerRoles, F as FormHeader, aW as ContextGuidance, aU as Trans, cO as DecisionMakerType, B as Alert, aa as CardGroup, Z as Button, aO as ActionBar } from "./StoreProvider-Ds8GpUI7.js";
|
|
13
|
+
import { a as useUpdateLegalEntity } from "./useUpdateLegalEntity-CQERAQRB.js";
|
|
14
|
+
import { c as useDataMissingRemediations, D as DropinLayout, E as EntityGuidanceStatus, i as iconStatus, d as EntityAssociation } from "./OnboardingDropinComponent-CJETgeaa.js";
|
|
15
15
|
const DecisionMakers = (props) => {
|
|
16
16
|
const { data, isLoading } = useLegalEntity(ROOT_LE);
|
|
17
17
|
if (isLoading || !data) {
|
|
@@ -9,8 +9,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 { Y as TaskStatus, b as useI18nContext, z as Skeleton, C as Typography } from "./StoreProvider-
|
|
12
|
+
import { A as Avatar } from "./Avatar-dviV55ST.js";
|
|
13
|
+
import { Y as TaskStatus, b as useI18nContext, z as Skeleton, C as Typography } from "./StoreProvider-Ds8GpUI7.js";
|
|
14
14
|
import { T as Tag } from "./Tag-DdkVScyr.js";
|
|
15
15
|
import { O as OnboardingStatus } from "./view-verification-status-DTkA8PtO.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 { defineSlots } from "named-slots";
|
|
13
|
-
import { a3 as Icon, A as AlertIcon } from "./StoreProvider-
|
|
13
|
+
import { a3 as Icon, A as AlertIcon } from "./StoreProvider-Ds8GpUI7.js";
|
|
14
14
|
const formEndState = "adyen-kyc-form-end-state";
|
|
15
15
|
const endstateIcon = "adyen-kyc-endstate-icon";
|
|
16
16
|
const iconInfo = "adyen-kyc-icon-info";
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { useMemo, useRef, useState } from "preact/hooks";
|
|
12
|
-
import { dC as FormContext, $ as useAnalyticsContext, aS as useTranslation, bu as MaybeModal, a2 as LoaderWrapper, dD as FormRouterContextProvider, aN as Summary, Z as Button, _ as IconButton, ba as Confirm } from "./StoreProvider-
|
|
12
|
+
import { dC as FormContext, $ as useAnalyticsContext, aS as useTranslation, bu as MaybeModal, a2 as LoaderWrapper, dD as FormRouterContextProvider, aN as Summary, Z as Button, _ as IconButton, ba as Confirm } from "./StoreProvider-Ds8GpUI7.js";
|
|
13
13
|
import cx from "classnames";
|
|
14
14
|
function FormContextProvider({
|
|
15
15
|
children,
|
|
@@ -9,17 +9,17 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useMemo, useState, useEffect, useCallback } from "preact/hooks";
|
|
12
|
-
import { p as useApiContext, bh as useMutation, bj as httpPost, bV as matchesRegex, bW as trimValWithOneSpace, bX as NO_ALPHABET_REGEX, bY as EMOJI_REGEX, bZ as hasRepeatedCharacters, b_ as isInvalidName, b$ as INDIVIDUAL_VALID_CHAR_REGEX, c0 as getFormattingRegEx, c1 as SPECIAL_CHARS, c2 as standardKatakanaValidator, c3 as standardKanjiValidator, ar as resolveFieldMetadata, ao as CountryCodes, c4 as getSSNType, ap as isEmpty, c5 as defaultFieldMetadata, c6 as defaultFieldConfig, c7 as defaultFieldMetadata$1, c8 as fieldConfig, W as TaskTypes, c9 as taxInformationDefaultFieldMetadata, y as LegalEntityType, ca as taxInformationDefaultFieldConfig, cb as getAgeToday, cc as euCountries, cd as getIdDocument, ce as getDocument, cf as mapExistingFile, cg as getPageName, ch as getLocalizedIdDocumentTypeOptions, ci as getPage, cj as createDocumentRequest, by as formatObject, ck as individualApiKeyMapping, bm as individualComponentsKeyMapping, bx as reverseMapping, cl as getNomineeFromAssociation, cm as drop, X as createLogger, P as useAccountHolder, b as useI18nContext, $ as useAnalyticsContext, a5 as useToastContext, a6 as useExperimentsContext, J as useSettingsContext, cn as documentApiUtils, co as useProviderStatus, g as getLegalEntityCountry, bN as getAssociatedLeAnalyticsPayload, cp as addressValidators, cq as getAsyncIdNumberValidationRule, cr as getAsyncPhoneValidationRules, cs as addressFormatters, ct as useScenarios, cu as setHasMotionCaptureScenario, cv as useScenarioConfiguration, cw as getPropsFromConfigurations, cx as individualForms, cy as showIndividualMotionCapture, bO as getRequiredForms, bP as addValidityToForms, cz as getAllowedDecisionMakerRoles, b2 as datasetUtilities, bQ as useFormComposer, bR as trackNavigation, cA as Individual, cB as composePerScenarioFormConfigurations, cC as omitObscuredFieldsIfUnchanged, cD as filterOutUnwantedAssociationsIfRootLE, bS as isValidationError, bT as processValidationErrors, bU as isMaintenanceModeError, bc as cloneObject, cE as mapAddressLabels, cF as individualDocumentForms, cG as individualDocumentMapping, cH as individualObscuredFields, cI as mergeAttachments, cJ as getFileExtention, ak as getOwnEntityAssociations, cK as hasNomineesChanged, cL as attachNomineeToRole, cM as idVerificationProviderId, cN as doArraysMatch, C as Typography, Z as Button, az as Field, cO as DecisionMakerType, cP as createFormRules, cQ as getAvailableDecisionMakerRoleTypes, cR as allowedCountriesForNominee, bJ as getAddressSchemaForCountry, bK as COUNTRIES_WITH_STATES_DATASET, cS as Scenarios, cT as isLowRiskCountry, bs as Select, cU as isTruthyValidator, cV as licenseCardNumberDefaultMetadata, cW as licenseCardNumberDefaultConfig, aq as mergeFieldMetadataIntoProps, ay as createFormUtils, bI as useFormContext, av as getFieldProps, cX as idNumberFields, cY as IdentityNumber, cZ as additionallIdNumberOptions, c_ as MaskedInput, bE as InputDate, c$ as formatDateObj, d0 as DriversLicense, d1 as addressFields, u as useAllowedCountries, K as SettingNames, d2 as getDefaultTaxIdNumberType, F as FormHeader, ax as ErrorPanel, aF as CountryField, bL as Address, bM as getAddressSchemaLabelsByCountry, bB as Link, ba as Confirm, d3 as getAgeRangeForLegalRepresentative, d4 as IndividualIdNumberTypeSelector, d5 as TaxInformationField, d6 as PatriotActDisclosure, d7 as isLegalRepresentativeNeeded, aw as nameFields, d8 as decisionMakerRoleFields, d9 as nomineeFields, da as contactDetailFields, B as Alert, aW as ContextGuidance, b1 as TrustedFieldsProvider, db as DecisionMakerRole, dc as NomineeDecisionMakerRole, dd as LocalizedNameFields, bC as InputText, de as ContactDetails, df as keysOf, b0 as objectsDeepEqual, dg as isEmpty$1, dh as RadioWithLabel, di as listToRecord, b4 as Modal, bo as Svg, dj as pick, dk as IdVerification, b9 as Spacer, _ as IconButton, c as useDataset, d as datasetIdentifier, L as Loader, dl as isPersonUnderAge, dm as IdDocumentManualUpload, dn as idDocumentUploadFields, dp as useFormRouterContext, dq as getFormProps, dr as useCapabilities, ds as hasMotionCaptureScenario, dt as setShowIndividualMotionCapture, du as shouldShowMotionCapture, dv as MemoizedProofOfRelationship, dw as MemoizedDocumentUpload, dx as MemoizedProofOfResidencyUpload, dy as individualOnfidoApiKeyMapping, dz as individualOnfidoBaseMapping, bp as useQueryClient, dA as individualOnfidoDocumentMapping, dB as individualOnfidoObscuredFields } from "./StoreProvider-
|
|
13
|
-
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
14
|
-
import { c as contactDetailsValidationRules, u as useValidatePhoneNumberImperatively } from "./validate-
|
|
15
|
-
import { F as FormContextProvider, a as FormFlow } from "./FormFlow-
|
|
16
|
-
import { u as useSingpassMyInfoLogin, P as ProviderButton } from "./ProviderButton-
|
|
17
|
-
import { u as useMultiForm } from "./useMultiForm-
|
|
18
|
-
import { g as getFieldsWithExistingData } from "./getFieldsWithExistingData-
|
|
19
|
-
import { l as localizeDateString } from "./localizeDateString-
|
|
20
|
-
import { r as rules, D as DECISION_MAKER_TYPES_WITH_JOBTITLE$1 } from "./rules-
|
|
12
|
+
import { p as useApiContext, bh as useMutation, bj as httpPost, bV as matchesRegex, bW as trimValWithOneSpace, bX as NO_ALPHABET_REGEX, bY as EMOJI_REGEX, bZ as hasRepeatedCharacters, b_ as isInvalidName, b$ as INDIVIDUAL_VALID_CHAR_REGEX, c0 as getFormattingRegEx, c1 as SPECIAL_CHARS, c2 as standardKatakanaValidator, c3 as standardKanjiValidator, ar as resolveFieldMetadata, ao as CountryCodes, c4 as getSSNType, ap as isEmpty, c5 as defaultFieldMetadata, c6 as defaultFieldConfig, c7 as defaultFieldMetadata$1, c8 as fieldConfig, W as TaskTypes, c9 as taxInformationDefaultFieldMetadata, y as LegalEntityType, ca as taxInformationDefaultFieldConfig, cb as getAgeToday, cc as euCountries, cd as getIdDocument, ce as getDocument, cf as mapExistingFile, cg as getPageName, ch as getLocalizedIdDocumentTypeOptions, ci as getPage, cj as createDocumentRequest, by as formatObject, ck as individualApiKeyMapping, bm as individualComponentsKeyMapping, bx as reverseMapping, cl as getNomineeFromAssociation, cm as drop, X as createLogger, P as useAccountHolder, b as useI18nContext, $ as useAnalyticsContext, a5 as useToastContext, a6 as useExperimentsContext, J as useSettingsContext, cn as documentApiUtils, co as useProviderStatus, g as getLegalEntityCountry, bN as getAssociatedLeAnalyticsPayload, cp as addressValidators, cq as getAsyncIdNumberValidationRule, cr as getAsyncPhoneValidationRules, cs as addressFormatters, ct as useScenarios, cu as setHasMotionCaptureScenario, cv as useScenarioConfiguration, cw as getPropsFromConfigurations, cx as individualForms, cy as showIndividualMotionCapture, bO as getRequiredForms, bP as addValidityToForms, cz as getAllowedDecisionMakerRoles, b2 as datasetUtilities, bQ as useFormComposer, bR as trackNavigation, cA as Individual, cB as composePerScenarioFormConfigurations, cC as omitObscuredFieldsIfUnchanged, cD as filterOutUnwantedAssociationsIfRootLE, bS as isValidationError, bT as processValidationErrors, bU as isMaintenanceModeError, bc as cloneObject, cE as mapAddressLabels, cF as individualDocumentForms, cG as individualDocumentMapping, cH as individualObscuredFields, cI as mergeAttachments, cJ as getFileExtention, ak as getOwnEntityAssociations, cK as hasNomineesChanged, cL as attachNomineeToRole, cM as idVerificationProviderId, cN as doArraysMatch, C as Typography, Z as Button, az as Field, cO as DecisionMakerType, cP as createFormRules, cQ as getAvailableDecisionMakerRoleTypes, cR as allowedCountriesForNominee, bJ as getAddressSchemaForCountry, bK as COUNTRIES_WITH_STATES_DATASET, cS as Scenarios, cT as isLowRiskCountry, bs as Select, cU as isTruthyValidator, cV as licenseCardNumberDefaultMetadata, cW as licenseCardNumberDefaultConfig, aq as mergeFieldMetadataIntoProps, ay as createFormUtils, bI as useFormContext, av as getFieldProps, cX as idNumberFields, cY as IdentityNumber, cZ as additionallIdNumberOptions, c_ as MaskedInput, bE as InputDate, c$ as formatDateObj, d0 as DriversLicense, d1 as addressFields, u as useAllowedCountries, K as SettingNames, d2 as getDefaultTaxIdNumberType, F as FormHeader, ax as ErrorPanel, aF as CountryField, bL as Address, bM as getAddressSchemaLabelsByCountry, bB as Link, ba as Confirm, d3 as getAgeRangeForLegalRepresentative, d4 as IndividualIdNumberTypeSelector, d5 as TaxInformationField, d6 as PatriotActDisclosure, d7 as isLegalRepresentativeNeeded, aw as nameFields, d8 as decisionMakerRoleFields, d9 as nomineeFields, da as contactDetailFields, B as Alert, aW as ContextGuidance, b1 as TrustedFieldsProvider, db as DecisionMakerRole, dc as NomineeDecisionMakerRole, dd as LocalizedNameFields, bC as InputText, de as ContactDetails, df as keysOf, b0 as objectsDeepEqual, dg as isEmpty$1, dh as RadioWithLabel, di as listToRecord, b4 as Modal, bo as Svg, dj as pick, dk as IdVerification, b9 as Spacer, _ as IconButton, c as useDataset, d as datasetIdentifier, L as Loader, dl as isPersonUnderAge, dm as IdDocumentManualUpload, dn as idDocumentUploadFields, dp as useFormRouterContext, dq as getFormProps, dr as useCapabilities, ds as hasMotionCaptureScenario, dt as setShowIndividualMotionCapture, du as shouldShowMotionCapture, dv as MemoizedProofOfRelationship, dw as MemoizedDocumentUpload, dx as MemoizedProofOfResidencyUpload, dy as individualOnfidoApiKeyMapping, dz as individualOnfidoBaseMapping, bp as useQueryClient, dA as individualOnfidoDocumentMapping, dB as individualOnfidoObscuredFields } from "./StoreProvider-Ds8GpUI7.js";
|
|
13
|
+
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-CQERAQRB.js";
|
|
14
|
+
import { c as contactDetailsValidationRules, u as useValidatePhoneNumberImperatively } from "./validate-DBcu5ebv.js";
|
|
15
|
+
import { F as FormContextProvider, a as FormFlow } from "./FormFlow-B9jgV_nq.js";
|
|
16
|
+
import { u as useSingpassMyInfoLogin, P as ProviderButton } from "./ProviderButton-DDxFakjP.js";
|
|
17
|
+
import { u as useMultiForm } from "./useMultiForm-S0ZY8TxR.js";
|
|
18
|
+
import { g as getFieldsWithExistingData } from "./getFieldsWithExistingData-MqJkvddX.js";
|
|
19
|
+
import { l as localizeDateString } from "./localizeDateString-i6RhzqO6.js";
|
|
20
|
+
import { r as rules, D as DECISION_MAKER_TYPES_WITH_JOBTITLE$1 } from "./rules-BCkTGcXc.js";
|
|
21
21
|
import { signal, computed } from "@preact/signals";
|
|
22
|
-
import { T as TileGroup } from "./TileGroup-
|
|
22
|
+
import { T as TileGroup } from "./TileGroup-DIDa-YLk.js";
|
|
23
23
|
const verifyIdNumber = async (legalEntityId, baseUrl, data) => {
|
|
24
24
|
return await httpPost(
|
|
25
25
|
{
|
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { useMemo as useMemo$1, useState, useEffect } from "preact/hooks";
|
|
12
|
-
import { W as TaskTypes, y as LegalEntityType, aS as useTranslation, a as useLegalEntity, R as ROOT_LE, L as Loader, $ as useAnalyticsContext, bv as StepProgressIndicator, Z as Button } from "./StoreProvider-
|
|
12
|
+
import { W as TaskTypes, y as LegalEntityType, aS as useTranslation, a as useLegalEntity, R as ROOT_LE, L as Loader, $ as useAnalyticsContext, bv as StepProgressIndicator, Z as Button } from "./StoreProvider-Ds8GpUI7.js";
|
|
13
13
|
import { useMemo } from "preact/compat";
|
|
14
|
-
import { u as useCanSeeIntroduction, a as useLegalEntityType } from "./OnboardingDropinComponent-
|
|
14
|
+
import { u as useCanSeeIntroduction, a as useLegalEntityType } from "./OnboardingDropinComponent-CJETgeaa.js";
|
|
15
15
|
import { t as toCapitalized } from "./toCapitalized-Bq7laD0b.js";
|
|
16
16
|
import IntroductionStrings from "./en-US-Bq2Twy6x.js";
|
|
17
17
|
var IntroductionScreens = ((IntroductionScreens2) => {
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { a as useLegalEntity, w as skipToken, R as ROOT_LE, ab as useCapabilityProblems, a6 as useExperimentsContext, L as Loader, g as getLegalEntityCountry, bk as getProblemsForEntity, U as EntityType, bl as isOnfidoAutofillFlowEnabled, W as TaskTypes, a4 as noop } from "./StoreProvider-
|
|
12
|
-
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-
|
|
11
|
+
import { a as useLegalEntity, w as skipToken, R as ROOT_LE, ab as useCapabilityProblems, a6 as useExperimentsContext, L as Loader, g as getLegalEntityCountry, bk as getProblemsForEntity, U as EntityType, bl as isOnfidoAutofillFlowEnabled, W as TaskTypes, a4 as noop } from "./StoreProvider-Ds8GpUI7.js";
|
|
12
|
+
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-Cyy1M6bn.js";
|
|
13
13
|
function LegalRepresentativeDetailsPage({
|
|
14
14
|
legalRepresentativeId,
|
|
15
15
|
asModal = false,
|
package/dist/{ManageIndividualComponent-DMjlsbAy.js → ManageIndividualComponent-X2EiIABJ.js}
RENAMED
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { p as useApiContext, a as useLegalEntity, R as ROOT_LE } from "./StoreProvider-
|
|
12
|
-
import { u as useOnboardingStatus } from "./useOnboardingStatus-
|
|
11
|
+
import { p as useApiContext, a as useLegalEntity, R as ROOT_LE } from "./StoreProvider-Ds8GpUI7.js";
|
|
12
|
+
import { u as useOnboardingStatus } from "./useOnboardingStatus-BJvxykIg.js";
|
|
13
13
|
import { O as OnboardingStatus } from "./view-verification-status-DTkA8PtO.js";
|
|
14
|
-
import { E as EmbeddedStatus } from "./EmbeddedStatus-
|
|
14
|
+
import { E as EmbeddedStatus } from "./EmbeddedStatus-BUcC_7yF.js";
|
|
15
15
|
function ManageIndividualComponent({
|
|
16
16
|
legalEntityId,
|
|
17
17
|
onClick
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { u as useSalesChannelsSettings, a as usePciStatus } from "./useSalesChannelsSettings-
|
|
12
|
-
import { b as useI18nContext, p as useApiContext } from "./StoreProvider-
|
|
13
|
-
import { E as EmbeddedStatus } from "./EmbeddedStatus-
|
|
11
|
+
import { u as useSalesChannelsSettings, a as usePciStatus } from "./useSalesChannelsSettings-BPGezvAN.js";
|
|
12
|
+
import { b as useI18nContext, p as useApiContext } from "./StoreProvider-Ds8GpUI7.js";
|
|
13
|
+
import { E as EmbeddedStatus } from "./EmbeddedStatus-BUcC_7yF.js";
|
|
14
14
|
function ManagePCIComponent({ legalEntityId, onClick }) {
|
|
15
15
|
const { i18n } = useI18nContext();
|
|
16
16
|
const title = i18n.get("pciDssQuestionnaire");
|
package/dist/{ManageTermsOfServiceComponent-DKETCed8.js → ManageTermsOfServiceComponent-CQkeTHNh.js}
RENAMED
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { a as useTermsOfServiceAcceptanceInfos, u as useTermsOfServiceStatus } from "./useTermsOfServiceStatus-
|
|
12
|
-
import { p as useApiContext, b as useI18nContext } from "./StoreProvider-
|
|
13
|
-
import { E as EmbeddedStatus } from "./EmbeddedStatus-
|
|
11
|
+
import { a as useTermsOfServiceAcceptanceInfos, u as useTermsOfServiceStatus } from "./useTermsOfServiceStatus-CFvVKN2D.js";
|
|
12
|
+
import { p as useApiContext, b as useI18nContext } from "./StoreProvider-Ds8GpUI7.js";
|
|
13
|
+
import { E as EmbeddedStatus } from "./EmbeddedStatus-BUcC_7yF.js";
|
|
14
14
|
function ManageTermsOfServiceComponent({
|
|
15
15
|
legalEntityId,
|
|
16
16
|
onClick
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { V as VerificationErrorAlert, u as useDeleteTransferInstrument } from "./VerificationErrorAlert-
|
|
12
|
-
import { p as useApiContext, q as useQuery, r as httpGet, b as useI18nContext, b2 as datasetUtilities, b3 as getCapabilityProblems, b4 as Modal, b5 as ModalHeader, C as Typography, b6 as ModalContent, L as Loader, Z as Button, a0 as Card, b7 as StructuredList, b8 as ModalFooter, b9 as Spacer, _ as IconButton, ba as Confirm, bb as mapTransferInstrumentToPayoutAccount, bc as cloneObject, bd as currencyByCountry, be as entriesOf, Y as TaskStatus, bf as useTransferInstrument, X as createLogger, a5 as useToastContext, c as useDataset, d as datasetIdentifier, B as Alert } from "./StoreProvider-
|
|
13
|
-
import { s as statusToTag, E as EmbeddedStatus } from "./EmbeddedStatus-
|
|
11
|
+
import { V as VerificationErrorAlert, u as useDeleteTransferInstrument } from "./VerificationErrorAlert-DaDb6KkR.js";
|
|
12
|
+
import { p as useApiContext, q as useQuery, r as httpGet, b as useI18nContext, b2 as datasetUtilities, b3 as getCapabilityProblems, b4 as Modal, b5 as ModalHeader, C as Typography, b6 as ModalContent, L as Loader, Z as Button, a0 as Card, b7 as StructuredList, b8 as ModalFooter, b9 as Spacer, _ as IconButton, ba as Confirm, bb as mapTransferInstrumentToPayoutAccount, bc as cloneObject, bd as currencyByCountry, be as entriesOf, Y as TaskStatus, bf as useTransferInstrument, X as createLogger, a5 as useToastContext, c as useDataset, d as datasetIdentifier, B as Alert } from "./StoreProvider-Ds8GpUI7.js";
|
|
13
|
+
import { s as statusToTag, E as EmbeddedStatus } from "./EmbeddedStatus-BUcC_7yF.js";
|
|
14
14
|
import { useState } from "preact/hooks";
|
|
15
15
|
import { T as Tag } from "./Tag-DdkVScyr.js";
|
|
16
16
|
const getTransferInstruments = async (legalEntityId, baseUrl) => {
|