@adyen/kyc-components 3.76.0-beta.1 → 4.0.0-beta.1
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-BOQpgDuh.js → AcceptTermsOfServiceComponent-BQ4Yct7L.js} +6 -6
- package/dist/{AccountSetupRejected-CLD5yPUd.js → AccountSetupRejected-UVhxMcAe.js} +2 -2
- package/dist/{Avatar-ByXDvRnN.js → Avatar-NEiNEcRx.js} +1 -1
- package/dist/{BusinessDetailsDropin-CC8AQSzz.js → BusinessDetailsDropin-l0xfPekL.js} +18 -47
- package/dist/{BusinessFinancingComponent-DaTK2ha9.js → BusinessFinancingComponent-Bs-poF2d.js} +2 -2
- package/dist/{BusinessFinancingDropin-Cxo-nBOC.js → BusinessFinancingDropin-DoRzdS4n.js} +10 -20
- package/dist/{BusinessFinancingPage-CBxphlTv.js → BusinessFinancingPage-DSlmJmOK.js} +2 -2
- package/dist/{BusinessTypeSelectionPage-BTtEGnSf.js → BusinessTypeSelectionPage-Bmi_8K2g.js} +4 -4
- package/dist/{ContractViewer-Df9tNJPa.js → ContractViewer-R4-gfVmp.js} +1 -1
- package/dist/{CreateIndividualComponent-CB4EKaBU.js → CreateIndividualComponent-D3aXuYRk.js} +3 -3
- package/dist/{CreateTransferInstrumentComponent-DzLl5c2J.js → CreateTransferInstrumentComponent-C-ncZ-A8.js} +2 -2
- package/dist/{CustomerSupport-WjBJL8ee.js → CustomerSupport-CMFRgQNa.js} +5 -5
- package/dist/{DebugModal-DTjZh61l.js → DebugModal-BEmhG3UP.js} +8 -8
- package/dist/{DecisionMakerDetailsPage-CGHxqfLV.js → DecisionMakerDetailsPage-DI2Ubmef.js} +3 -3
- package/dist/{DecisionMakers-Cq1ugA0Q.js → DecisionMakers-BKhtcs_K.js} +4 -4
- package/dist/{EmbeddedStatus-U4HvtsbX.js → EmbeddedStatus-BsZsXbKc.js} +2 -2
- package/dist/{FormEndState-DXjakR3n.js → FormEndState-C3HCmXcw.js} +1 -1
- package/dist/{FormFlow-DQdofZrs.js → FormFlow-Bt-mu4Wm.js} +2 -2
- package/dist/{IndividualOnfidoDropin-Ces-NVRq.js → IndividualOnfidoDropin-DGMCOm9M.js} +12 -80
- package/dist/{Introduction-CoAMVQ3N.js → Introduction-DJ6qIUPC.js} +3 -3
- package/dist/{LegalRepresentativeDetailsPage-DR4k-6tr.js → LegalRepresentativeDetailsPage-CyHwQR_W.js} +3 -3
- package/dist/{ManageIndividualComponent-DCy_23X2.js → ManageIndividualComponent-BIMCvcr2.js} +3 -3
- package/dist/{ManagePCIComponent-mIpoEgqY.js → ManagePCIComponent-Blj60xLa.js} +3 -3
- package/dist/{ManageTermsOfServiceComponent-BhbLMdNx.js → ManageTermsOfServiceComponent-CsM23jq3.js} +3 -3
- package/dist/{ManageTransferInstrumentComponent-BPiWJOhY.js → ManageTransferInstrumentComponent-Vut9_bRn.js} +3 -3
- package/dist/{OnboardingDropinComponent-BVaYr5u1.js → OnboardingDropinComponent-BW6er2HU.js} +44 -45
- package/dist/{ProviderButton-BhJVIjNR.js → ProviderButton-DAsW5EVa.js} +2 -2
- package/dist/{Review-C5hzFoFb.js → Review-DWDbL9-9.js} +3 -3
- package/dist/{RootBusinessDetailsPage-msInyOAG.js → RootBusinessDetailsPage-BTYIldSf.js} +2 -2
- package/dist/{RootIndividualDetailsPage-DkzqPD70.js → RootIndividualDetailsPage-DCxJ3ycQ.js} +3 -3
- package/dist/{SignPCIComponent-DGUa4ESJ.js → SignPCIComponent-kHaxhkWa.js} +5 -5
- package/dist/{SingpassSelection-ChJWE7tg.js → SingpassSelection-Dmlbiq4Z.js} +2 -2
- package/dist/{SoleProprietorshipPage-Bkz3cuhd.js → SoleProprietorshipPage-Bdhs90-q.js} +2 -2
- package/dist/{SourceOfFunds.module-D9RYIoX3.js → SourceOfFunds.module-xwHIboir.js} +1 -1
- package/dist/{SourceOfFundsPage-gHK01p0a.js → SourceOfFundsPage-Bj22DAFv.js} +9 -14
- package/dist/{StoreProvider-BPX6_P1w.js → StoreProvider-BmzY19Td.js} +423 -367
- package/dist/{TaskItemStatus-Cja3jHef.js → TaskItemStatus-CB6FEOnk.js} +2 -2
- package/dist/{TaxReportingDropin-EGclbYvF.js → TaxReportingDropin-jofokkei.js} +7 -7
- package/dist/{TileGroup-D2oyZXRy.js → TileGroup-i5Jc08ns.js} +2 -2
- package/dist/{TrustDetailsPage-BjZh9pfZ.js → TrustDetailsPage-B6HmvYUf.js} +9 -9
- package/dist/{TrustMemberCompanyPage-YzgDh_y0.js → TrustMemberCompanyPage-D3VJOq6a.js} +3 -3
- package/dist/{TrustMemberIndividualPage-B08_52rA.js → TrustMemberIndividualPage-1aeOYsnG.js} +3 -3
- package/dist/{UnincorporatedPartnershipIndividualPage-DECzh_NU.js → UnincorporatedPartnershipIndividualPage-Bt7e6ncF.js} +3 -3
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-CY5rfvMd.js → UnincorporatedPartnershipMemberCompanyPage-Ck5C_SEU.js} +2 -2
- package/dist/{VerificationErrorAlert-BMxnbhxL.js → VerificationErrorAlert-DhtKOmjt.js} +1 -1
- package/dist/{ViewVerificationStatusComponent-MQ3YZjpk.js → ViewVerificationStatusComponent-DtKLcCGI.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-CCYsn1Bx.js → css-CQUoQdd2.js} +1 -1
- package/dist/{getFieldsWithExistingData-Df64vw7x.js → getFieldsWithExistingData-BW8_TEQl.js} +2 -2
- package/dist/{hasDataChanged-sUtN0Sjv.js → hasDataChanged-Mu0HyZ3E.js} +1 -1
- package/dist/{json-BYBI9iH_.js → json-DWikzB4g.js} +1 -1
- package/dist/{localizeDateString-CNlJ2Twp.js → localizeDateString-QtCjf8Fg.js} +1 -1
- package/dist/{mapFinancialReportsToFinancialInformation-ByUX4IZt.js → mapFinancialReportsToFinancialInformation-C-2jp0wg.js} +2 -2
- package/dist/{plaintext-BuWLFFGU.js → plaintext-B39yQnOr.js} +1 -1
- package/dist/{resolveEnvironment-CeEOE-Ml.js → resolveEnvironment-Dx0BPNMa.js} +3 -3
- package/dist/{rules-BOvgh8q2.js → rules-CUANHpja.js} +2 -2
- package/dist/style.css +0 -19
- package/dist/styles-CLV89_hH.js +0 -19
- package/dist/types/api/transferInstruments/useHandleBankVerificationError.d.ts +3 -3
- package/dist/types/components/EFP/fields/LegalFormField/LegalFormField.d.ts +1 -1
- package/dist/types/components/EFP/fields/NaceCodeField/NaceCodeField.d.ts +1 -1
- package/dist/types/components/EFP/tasks/SourceOfFundsDropin/utils.d.ts +0 -1
- package/dist/types/components/Individual/fields/IdentityNumber/IdentityNumber.d.ts +0 -1
- package/dist/types/components/Individual/fields/NameFields/NameFields.d.ts +2 -1
- package/dist/types/components/Individual/mapping/individualOnfidoKeyMappings.d.ts +1 -0
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/fieldConfig.d.ts +5 -3
- package/dist/types/components/Shared/fields/CountryField/CountryField.d.ts +1 -1
- package/dist/types/components/Shared/fields/CountryOfGoverningLawField/CountryOfGoverningLawField.d.ts +1 -1
- package/dist/types/components/Shared/fields/StateField/StateField.d.ts +1 -1
- package/dist/types/components/Shared/forms/Address/AddressField.d.ts +1 -1
- package/dist/types/components/Shared/forms/Address/SearchAddress.d.ts +2 -2
- package/dist/types/components/Shared/forms/Address/types.d.ts +0 -1
- package/dist/types/components/ui/atoms/Checkbox/Checkbox.d.ts +1 -2
- package/dist/types/components/ui/atoms/Field/Field.d.ts +1 -1
- package/dist/types/components/ui/atoms/Field/Field.types.d.ts +2 -0
- package/dist/types/components/ui/molecules/MaskedInput/MaskedInput.d.ts +1 -5
- package/dist/types/context/StateContext/types.d.ts +0 -1
- package/dist/types/hooks/useForm/types.d.ts +1 -2
- package/dist/types/utils/api/processCapabilitites.d.ts +2 -1
- package/dist/{useMultiForm-CZt22ApL.js → useMultiForm-Bwx2nVhh.js} +2 -2
- package/dist/{useOnboardingStatus-DUpCpEX5.js → useOnboardingStatus-Cwba-HzS.js} +1 -1
- package/dist/{useSalesChannelsSettings-7_LCHKOD.js → useSalesChannelsSettings-BLzegVJh.js} +1 -1
- package/dist/{useTermsOfServiceStatus-XQrO9fJx.js → useTermsOfServiceStatus-C-i9mF4m.js} +1 -1
- package/dist/{useUpdateLegalEntity-n02Bk4nJ.js → useUpdateLegalEntity-xQlAqIqy.js} +2 -2
- package/dist/{utils-0EQ0eKAn.js → utils-DXv7uAh6.js} +4 -4
- package/dist/{validate-DVNNANhX.js → validate-BN5p-GhK.js} +2 -2
- package/dist/{yaml-Ca7Tl3w_.js → yaml-jFdy-qnY.js} +1 -1
- package/package.json +1 -1
package/dist/{AcceptTermsOfServiceComponent-BOQpgDuh.js → AcceptTermsOfServiceComponent-BQ4Yct7L.js}
RENAMED
|
@@ -2,19 +2,19 @@
|
|
|
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] = "67e3cd7a-3b33-44aa-89f7-92d4fe6bb755", e._sentryDebugIdIdentifier = "sentry-dbid-67e3cd7a-3b33-44aa-89f7-92d4fe6bb755");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useState, useCallback, useEffect } from "preact/hooks";
|
|
12
|
-
import { p as useApiContext, be as useInvalidateRootLegalEntity, bf as useMutation, bh 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,
|
|
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, be as useInvalidateRootLegalEntity, bf as useMutation, bh 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, bK as Select, bI as Checkbox, aO as ActionBar, bJ as MaybeModal, b4 as ModalContent, b6 as ModalFooter, bx as StepProgressIndicator, b7 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-BmzY19Td.js";
|
|
13
|
+
import { u as useTermsOfServiceStatus, a as useTermsOfServiceAcceptanceInfos } from "./useTermsOfServiceStatus-C-i9mF4m.js";
|
|
14
|
+
import { C as ContractViewer, O as OutlinedIcon } from "./ContractViewer-R4-gfVmp.js";
|
|
15
|
+
import { F as FormEndState } from "./FormEndState-C3HCmXcw.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-QtCjf8Fg.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-BmzY19Td.js";
|
|
12
|
+
import { D as DropinLayout } from "./OnboardingDropinComponent-BW6er2HU.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-BmzY19Td.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] = "92006294-5277-453f-980d-87b758b51c7c", e._sentryDebugIdIdentifier = "sentry-dbid-92006294-5277-453f-980d-87b758b51c7c");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
|
-
import { p as useApiContext, bf as useMutation, bh as httpPost, q as useQuery,
|
|
11
|
+
import { p as useApiContext, bf as useMutation, bh as httpPost, q as useQuery, dO as KNOWN_BROKEN_PRIMARY_SOURCE_CONNECTIONS, b as useI18nContext, dA as MemoizedDocumentUpload, Z as Button, b2 as Modal, b4 as ModalContent, C as Typography, ao as CountryCodes, O as CompanyTypesValue, dP as useGlobalData, dQ as getForms, W as TaskTypes, dR as BasicInformation, bM as getFormProps, dS as CompanyStructure, dT as AdditionalInformation, dU as MemoizedConstitutionalDocument, y as LegalEntityType, dV as FinancialInformation, bS as formatObject, bc as entriesOf, cq as getDocument, cr as mapExistingFile, cs as getPageName, bl as businessDetailsComponentsKeyMapping, dW as solePropBusinessDetailsKeyMapping, a_ as objectsDeepEqual, dX as operationalAddressIsSameIds, dY as COUNTRIES_USING_COMPANY_SEARCH, dZ as FIELDS_NEEDED_FOR_COMPANY_SEARCH, dm as keysOf, i as isUndefinedOrNull, aJ as summaryItem, d_ as solePropBusinessDetailsApiKeyMapping, d$ as businessDetailsApiKeyMapping, bN as isEmpty, e0 as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, cv as createDocumentRequest, e1 as augmentWithCountryConfigs, cL as composePerScenarioFormConfigurations, b0 as datasetUtilities, cO as mapAddressLabels, e2 as companyTypeMetadata, e3 as getProp, ap as isEmpty$1, X as createLogger, cN as filterOutUnwantedAssociationsIfRootLE, c4 as isValidationError, c5 as processValidationErrors, c6 as isMaintenanceModeError, e4 as documentFormsIds, ar as resolveFieldMetadata, e5 as registrationNumberDefaultFieldMetadata, e6 as inferCompanyRegistrationNumberType, e7 as getCompanyRegistrationNumberOptions, e8 as registrationNumberDefaultFieldConfig, cl as defaultFieldMetadata, e9 as countryToTaxInfoTypeMap, cm as defaultFieldConfig, ea as getKeyForField, cy as drop, ak as getOwnEntityAssociations, cX as doArraysMatch, cT as getFileExtention, P as useAccountHolder, a5 as useToastContext, $ as useAnalyticsContext, a6 as useExperimentsContext, J as useSettingsContext, eb as verifiedBusiness, bn as useQueryClient, ec as useStateContext, K as SettingNames, ed as setIsBankAccountRequestedForOrganization, c2 as getAssociatedLeAnalyticsPayload, b1 as getCapabilityProblems, cz as documentApiUtils, cG as useScenarioConfiguration, ee as rules, cH as getPropsFromConfigurations, ef as useCompanySelection, eg as useVerifyTin, bO as getRequiredForms, bP as addValidityToForms, bQ as useFormComposer, eh as setVerifiedBusiness, ei as FormWrapper, b8 as Confirm, ej as solePropBusinessDetailsDocumentMapping, ek as businessDetailsDocumentMapping } from "./StoreProvider-BmzY19Td.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-xQlAqIqy.js";
|
|
14
|
+
import { h as hasDataChanged } from "./hasDataChanged-Mu0HyZ3E.js";
|
|
15
|
+
import { o as organizationTypesToSkipCompanyStructureForm } from "./utils-DXv7uAh6.js";
|
|
16
|
+
import { g as getFieldsWithExistingData } from "./getFieldsWithExistingData-BW8_TEQl.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-C-2jp0wg.js";
|
|
19
19
|
import { f as formatCurrency } from "./formatCurrency-CMOSdJMB.js";
|
|
20
20
|
const clearCompanyData = async (legalEntityId, baseUrl) => {
|
|
21
21
|
return httpPost({
|
|
@@ -1089,34 +1089,15 @@ const businessDetailsFieldsPerScenario = {
|
|
|
1089
1089
|
const businessDetailsCountryConfig = {
|
|
1090
1090
|
[CountryCodes.Australia]: {
|
|
1091
1091
|
entityType: { label: "companyType" },
|
|
1092
|
-
exemptedFromTax: { label: "doNotHaveAbn" }
|
|
1093
|
-
exemptedFromRegistrationNumber: { label: "doNotHaveAcn" }
|
|
1094
|
-
},
|
|
1095
|
-
[CountryCodes.Austria]: {
|
|
1096
|
-
exemptedFromRegistrationNumber: { label: "doNotHaveFirmenbuchnummer" }
|
|
1097
|
-
},
|
|
1098
|
-
[CountryCodes.Finland]: {
|
|
1099
|
-
exemptedFromRegistrationNumber: { label: "doNotHaveYTunnus" }
|
|
1100
|
-
},
|
|
1101
|
-
[CountryCodes.Germany]: {
|
|
1102
|
-
exemptedFromRegistrationNumber: {
|
|
1103
|
-
label: "doNotHaveHandelsregisternummerOrVereinsregisternummer"
|
|
1104
|
-
}
|
|
1092
|
+
exemptedFromTax: { label: "doNotHaveAbn" }
|
|
1105
1093
|
},
|
|
1106
1094
|
[CountryCodes.HongKong]: {
|
|
1107
1095
|
entityType: { label: "typeOfCompany" },
|
|
1108
|
-
registrationDocument: { label: "companyRegistrationDocument" }
|
|
1109
|
-
exemptedFromRegistrationNumber: { label: "iDoNotHaveCompanyRegistrationNumber" }
|
|
1096
|
+
registrationDocument: { label: "companyRegistrationDocument" }
|
|
1110
1097
|
},
|
|
1111
1098
|
[CountryCodes.Japan]: {
|
|
1112
1099
|
registrationDocument: { label: "chamberOfCommerceExtract" }
|
|
1113
1100
|
},
|
|
1114
|
-
[CountryCodes.Lithuania]: {
|
|
1115
|
-
exemptedFromRegistrationNumber: { label: "doNotHaveLtRegistrationNumber" }
|
|
1116
|
-
},
|
|
1117
|
-
[CountryCodes.Luxembourg]: {
|
|
1118
|
-
exemptedFromRegistrationNumber: { label: "doNotHaveLuRegistrationNumber" }
|
|
1119
|
-
},
|
|
1120
1101
|
[CountryCodes.Malaysia]: {
|
|
1121
1102
|
registrationDocument: { label: "companyProfile" }
|
|
1122
1103
|
},
|
|
@@ -1126,25 +1107,15 @@ const businessDetailsCountryConfig = {
|
|
|
1126
1107
|
[CountryCodes.NewZealand]: {
|
|
1127
1108
|
taxDocument: { label: "irdDocument" }
|
|
1128
1109
|
},
|
|
1129
|
-
[CountryCodes.Poland]: {
|
|
1130
|
-
exemptedFromRegistrationNumber: { label: "doNotHaveRegonKrsNumber" }
|
|
1131
|
-
},
|
|
1132
1110
|
[CountryCodes.PuertoRico]: {
|
|
1133
1111
|
// exactly matches CountryCodes.UnitedStates, except `stateOrProvince`
|
|
1134
|
-
country: { label: "country__US__business" }
|
|
1135
|
-
exemptedFromTax: { label: "doNotHaveEIN" }
|
|
1112
|
+
country: { label: "country__US__business" }
|
|
1136
1113
|
},
|
|
1137
1114
|
[CountryCodes.Singapore]: {
|
|
1138
1115
|
registrationNumber: { label: "uen" },
|
|
1139
1116
|
entityType: { label: "companyType" },
|
|
1140
1117
|
isUen: { label: "iDoNotHaveGst" }
|
|
1141
1118
|
},
|
|
1142
|
-
[CountryCodes.Sweden]: {
|
|
1143
|
-
exemptedFromRegistrationNumber: { label: "doNotHaveOrganisationsnummer" }
|
|
1144
|
-
},
|
|
1145
|
-
[CountryCodes.Switzerland]: {
|
|
1146
|
-
exemptedFromRegistrationNumber: { label: "doNotHaveChRegistrationNumber" }
|
|
1147
|
-
},
|
|
1148
1119
|
[CountryCodes.UnitedStates]: {
|
|
1149
1120
|
country: { label: "country__US__business" },
|
|
1150
1121
|
stateOrProvince: { label: "stateOrProvince__US__business" },
|
|
@@ -1170,21 +1141,21 @@ const formatBasicInformation = (data, labels, datasetUtils, companyType, isCount
|
|
|
1170
1141
|
var _a, _b, _c, _d, _e;
|
|
1171
1142
|
const country = data == null ? void 0 : data.country;
|
|
1172
1143
|
const registrationNumberLabel = resolveFieldMetadata(
|
|
1173
|
-
|
|
1144
|
+
registrationNumberDefaultFieldConfig[country],
|
|
1174
1145
|
{
|
|
1175
1146
|
companyType,
|
|
1176
1147
|
registrationNumberType: data.registrationNumber ? inferCompanyRegistrationNumberType(data == null ? void 0 : data.registrationNumber, country, companyType) : (_b = (_a = getCompanyRegistrationNumberOptions(country, companyType)) == null ? void 0 : _a[0]) == null ? void 0 : _b.id
|
|
1177
1148
|
},
|
|
1178
|
-
|
|
1149
|
+
registrationNumberDefaultFieldMetadata
|
|
1179
1150
|
).label;
|
|
1180
1151
|
const taxIdLabel = resolveFieldMetadata(
|
|
1181
|
-
defaultFieldConfig
|
|
1152
|
+
defaultFieldConfig[country],
|
|
1182
1153
|
{
|
|
1183
1154
|
taxIdNumberType: countryToTaxInfoTypeMap[country] ?? void 0,
|
|
1184
1155
|
// TODO use type selector
|
|
1185
1156
|
companyType: void 0
|
|
1186
1157
|
},
|
|
1187
|
-
defaultFieldMetadata
|
|
1158
|
+
defaultFieldMetadata
|
|
1188
1159
|
).label;
|
|
1189
1160
|
const countryOfGoverningLaw = getCountryOfGoverningLaw(isCountryOfGoverningLawEnabled, data);
|
|
1190
1161
|
return {
|
|
@@ -1202,21 +1173,21 @@ const formatBasicInformation = (data, labels, datasetUtils, companyType, isCount
|
|
|
1202
1173
|
const formatAdditionalInformation = (data, labels, country, companyType, i18n) => {
|
|
1203
1174
|
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l;
|
|
1204
1175
|
const registrationNumberLabel = resolveFieldMetadata(
|
|
1205
|
-
|
|
1176
|
+
registrationNumberDefaultFieldConfig[country],
|
|
1206
1177
|
{
|
|
1207
1178
|
companyType,
|
|
1208
1179
|
registrationNumberType: data.registrationNumber ? inferCompanyRegistrationNumberType(data == null ? void 0 : data.registrationNumber, country, companyType) : (_b = (_a = getCompanyRegistrationNumberOptions(country, companyType)) == null ? void 0 : _a[0]) == null ? void 0 : _b.id
|
|
1209
1180
|
},
|
|
1210
|
-
|
|
1181
|
+
registrationNumberDefaultFieldMetadata
|
|
1211
1182
|
).label;
|
|
1212
1183
|
const taxIdLabel = resolveFieldMetadata(
|
|
1213
|
-
defaultFieldConfig
|
|
1184
|
+
defaultFieldConfig[country],
|
|
1214
1185
|
{
|
|
1215
1186
|
taxIdNumberType: countryToTaxInfoTypeMap[country] ?? void 0,
|
|
1216
1187
|
// TODO use type selector
|
|
1217
1188
|
companyType: void 0
|
|
1218
1189
|
},
|
|
1219
|
-
defaultFieldMetadata
|
|
1190
|
+
defaultFieldMetadata
|
|
1220
1191
|
).label;
|
|
1221
1192
|
return {
|
|
1222
1193
|
[((_c = labels == null ? void 0 : labels.additionalInformation) == null ? void 0 : _c.doingBusinessAs) ?? "doingBusinessAs"]: data.doingBusinessAs,
|
package/dist/{BusinessFinancingComponent-DaTK2ha9.js → BusinessFinancingComponent-Bs-poF2d.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-BmzY19Td.js";
|
|
13
|
+
import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-DoRzdS4n.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] = "445db899-d54f-429c-910c-46ebe44c7ef3", e._sentryDebugIdIdentifier = "sentry-dbid-445db899-d54f-429c-910c-46ebe44c7ef3");
|
|
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, useCallback, useMemo, useState } 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 { 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-xQlAqIqy.js";
|
|
13
|
+
import { bR as reverseMapping, bS as formatObject, bT as isEeaCountry, y as LegalEntityType, ba as cloneObject, p as useApiContext, q as useQuery, r as httpGet, b as useI18nContext, az as Field, bK as Select, C as Typography, ay as createFormUtils, aV as RadioGroup, bU as Link, bq as InputText, bb as currencyByCountry, bV as InputNumber, bW as InputDate, bX as Currency, bY as CURRENCY_FIELD, bZ as InputCurrency, bL as useFormContext, av as getFieldProps, ax as ErrorPanel, b_ as getAddressSchemaForCountry, b$ as COUNTRIES_WITH_STATES_DATASET, c0 as Address, c1 as getAddressSchemaLabelsByCountry, $ as useAnalyticsContext, be as useInvalidateRootLegalEntity, an as useAssociatedLegalEntity, b0 as datasetUtilities, a5 as useToastContext, J as useSettingsContext, K as SettingNames, c2 as getAssociatedLeAnalyticsPayload, bO as getRequiredForms, bP as addValidityToForms, bQ as useFormComposer, c3 as trackNavigation, L as Loader, a3 as Icon, Z as Button, c4 as isValidationError, c5 as processValidationErrors, c6 as isMaintenanceModeError } from "./StoreProvider-BmzY19Td.js";
|
|
14
|
+
import { F as FormContextProvider, a as FormFlow } from "./FormFlow-Bt-mu4Wm.js";
|
|
15
|
+
import { u as useMultiForm } from "./useMultiForm-Bwx2nVhh.js";
|
|
16
|
+
import { F as FormEndState } from "./FormEndState-C3HCmXcw.js";
|
|
17
|
+
import { l as localizeDateString } from "./localizeDateString-QtCjf8Fg.js";
|
|
18
|
+
import { m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./mapFinancialReportsToFinancialInformation-C-2jp0wg.js";
|
|
19
19
|
import { b as businessFinancingMultiformRules } from "./validate-CuwYJGc9.js";
|
|
20
20
|
const businessFinancingBaseMapping = {
|
|
21
21
|
legalProceedingsDate: "organization.dateOfInitiationOfLegalProceeding",
|
|
@@ -445,8 +445,7 @@ function LegalFormField({
|
|
|
445
445
|
readonly,
|
|
446
446
|
handleChangeFor,
|
|
447
447
|
helperText,
|
|
448
|
-
countryCode
|
|
449
|
-
classNameModifiers = []
|
|
448
|
+
countryCode
|
|
450
449
|
}) {
|
|
451
450
|
const { i18n } = useI18nContext();
|
|
452
451
|
const { data: legalFormsData } = useLegalForms(countryCode);
|
|
@@ -485,7 +484,6 @@ function LegalFormField({
|
|
|
485
484
|
name,
|
|
486
485
|
label: label || i18n.get("businessStructure"),
|
|
487
486
|
errorMessage,
|
|
488
|
-
classNameModifiers,
|
|
489
487
|
isValid: valid.legalForm,
|
|
490
488
|
helper: helperText == null ? void 0 : helperText.legalForm,
|
|
491
489
|
children: (childProps) => /* @__PURE__ */ jsx(
|
|
@@ -525,8 +523,7 @@ function NaceCodeField({
|
|
|
525
523
|
label,
|
|
526
524
|
readonly,
|
|
527
525
|
handleChangeFor,
|
|
528
|
-
helperText
|
|
529
|
-
classNameModifiers = []
|
|
526
|
+
helperText
|
|
530
527
|
}) {
|
|
531
528
|
const { i18n } = useI18nContext();
|
|
532
529
|
const { data: naceCodesData } = useNaceCodes();
|
|
@@ -560,7 +557,6 @@ function NaceCodeField({
|
|
|
560
557
|
name,
|
|
561
558
|
label: label || i18n.get("industryAndNaceCode"),
|
|
562
559
|
errorMessage,
|
|
563
|
-
classNameModifiers,
|
|
564
560
|
isValid: valid.naceCode,
|
|
565
561
|
helper: helperText == null ? void 0 : helperText.naceCode,
|
|
566
562
|
children: (childProps) => /* @__PURE__ */ jsx(
|
|
@@ -688,7 +684,6 @@ function BusinessFinancingBusinessInformation(props) {
|
|
|
688
684
|
name: "legalEntityIdentifier",
|
|
689
685
|
value: data == null ? void 0 : data.legalEntityIdentifier,
|
|
690
686
|
readonly: false,
|
|
691
|
-
classNameModifiers: ["legalName"],
|
|
692
687
|
onInput: handleFieldChange("legalEntityIdentifier", "input"),
|
|
693
688
|
onBlur: handleFieldChange("legalEntityIdentifier", "blur"),
|
|
694
689
|
"aria-required": true,
|
|
@@ -732,7 +727,6 @@ function BusinessFinancingFinancialInformation(props) {
|
|
|
732
727
|
label: formUtils.getLabel("numberOfEmployees", "numberOfEmployees"),
|
|
733
728
|
errorMessage: formUtils.getErrorMessage("numberOfEmployees", errors, fieldValidationErrors),
|
|
734
729
|
isValid: valid == null ? void 0 : valid.numberOfEmployees,
|
|
735
|
-
classNameModifiers: ["numberOfEmployees"],
|
|
736
730
|
children: (childProps) => /* @__PURE__ */ jsx(
|
|
737
731
|
InputNumber,
|
|
738
732
|
{
|
|
@@ -761,7 +755,6 @@ function BusinessFinancingFinancialInformation(props) {
|
|
|
761
755
|
fieldValidationErrors
|
|
762
756
|
),
|
|
763
757
|
isValid: valid == null ? void 0 : valid.financialReportingDate,
|
|
764
|
-
classNameModifiers: ["financialReportingDate"],
|
|
765
758
|
children: (childProps) => /* @__PURE__ */ jsx(
|
|
766
759
|
InputDate,
|
|
767
760
|
{
|
|
@@ -897,7 +890,6 @@ function BusinessFinancingLegalInformation(props) {
|
|
|
897
890
|
...childProps,
|
|
898
891
|
name: "legalProceedingsDate",
|
|
899
892
|
value: data.legalProceedingsDate,
|
|
900
|
-
classNameModifiers: ["legalProceedingsDate"],
|
|
901
893
|
onInput: handleFieldChange("legalProceedingsDate", "input"),
|
|
902
894
|
onBlur: handleFieldChange("legalProceedingsDate", "blur"),
|
|
903
895
|
"aria-required": true,
|
|
@@ -1066,7 +1058,6 @@ function BusinessFinancingBasicCompanyInformation(props) {
|
|
|
1066
1058
|
{
|
|
1067
1059
|
name: "legalName",
|
|
1068
1060
|
label: formUtils.getLabel("legalName", "legalName"),
|
|
1069
|
-
classNameModifiers: ["legalName"],
|
|
1070
1061
|
errorMessage: formUtils.getErrorMessage("legalName", errors, fieldValidationErrors),
|
|
1071
1062
|
isValid: valid == null ? void 0 : valid.legalName,
|
|
1072
1063
|
helper: i18n.get("legalNameIsUsedToIdentifyABusinessWithTheGovernment"),
|
|
@@ -1077,7 +1068,6 @@ function BusinessFinancingBasicCompanyInformation(props) {
|
|
|
1077
1068
|
name: "legalName",
|
|
1078
1069
|
value: data == null ? void 0 : data.legalName,
|
|
1079
1070
|
readonly: false,
|
|
1080
|
-
classNameModifiers: ["legalName"],
|
|
1081
1071
|
onInput: handleFieldChange("legalName", "input"),
|
|
1082
1072
|
onBlur: handleFieldChange("legalName", "blur"),
|
|
1083
1073
|
"aria-required": true,
|
|
@@ -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-BmzY19Td.js";
|
|
12
|
+
import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-DoRzdS4n.js";
|
|
13
13
|
const BusinessFinancingPage = ({
|
|
14
14
|
onSubmit,
|
|
15
15
|
handleHomeClick
|
package/dist/{BusinessTypeSelectionPage-BTtEGnSf.js → BusinessTypeSelectionPage-Bmi_8K2g.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] = "b04087b3-9599-491a-991b-c9be5b7b29aa", e._sentryDebugIdIdentifier = "sentry-dbid-b04087b3-9599-491a-991b-c9be5b7b29aa");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
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,
|
|
11
|
+
import { X as createLogger, b as useI18nContext, $ as useAnalyticsContext, a5 as useToastContext, a6 as useExperimentsContext, P as useAccountHolder, by as getCapabilities, g as getLegalEntityCountry, y as LegalEntityType, au as useForm, a2 as LoaderWrapper, C as Typography, az as Field, bz as EntityTypeRadioGroupCard, aC as RadioGroupCard, Z as Button, b7 as Spacer, a3 as Icon, H as hasSolePropInLegalEntity, a as useLegalEntity, R as ROOT_LE, L as Loader } from "./StoreProvider-BmzY19Td.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-xQlAqIqy.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-DXv7uAh6.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-BmzY19Td.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-CB4EKaBU.js → CreateIndividualComponent-D3aXuYRk.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] = "e4a83a02-3014-415c-9520-fb8ef5671a7c", e._sentryDebugIdIdentifier = "sentry-dbid-e4a83a02-3014-415c-9520-fb8ef5671a7c");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
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, bi as getProblemsForEntity, U as EntityType, W as TaskTypes } from "./StoreProvider-
|
|
12
|
-
import {
|
|
11
|
+
import { a as useLegalEntity, ab as useCapabilityProblems, a6 as useExperimentsContext, L as Loader, g as getLegalEntityCountry, bi as getProblemsForEntity, U as EntityType, bj as isOnfidoAutofillFlowEnabled, W as TaskTypes } from "./StoreProvider-BmzY19Td.js";
|
|
12
|
+
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-DGMCOm9M.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] = "5f2db3a2-bb3a-4925-a08c-f513cbffb819", e._sentryDebugIdIdentifier = "sentry-dbid-5f2db3a2-bb3a-4925-a08c-f513cbffb819");
|
|
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 { a as useLegalEntity, an as useAssociatedLegalEntity, y as LegalEntityType, L as Loader,
|
|
12
|
+
import { a as useLegalEntity, an as useAssociatedLegalEntity, y as LegalEntityType, L as Loader, bo as PayoutDetailsDropin, W as TaskTypes } from "./StoreProvider-BmzY19Td.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] = "1606c5d7-7b8d-4fb5-930c-16ba64d93f30", e._sentryDebugIdIdentifier = "sentry-dbid-1606c5d7-7b8d-4fb5-930c-16ba64d93f30");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
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,
|
|
11
|
+
import { a as useLegalEntity, R as ROOT_LE, L as Loader, b as useI18nContext, $ as useAnalyticsContext, a5 as useToastContext, bn as useQueryClient, ar as resolveFieldMetadata, bE as defaultFieldMetadata, bF as fieldConfig, bG as getAsyncPhoneValidationRules, F as FormHeader, bH as ContactDetails, aO as ActionBar, X as createLogger } from "./StoreProvider-BmzY19Td.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-xQlAqIqy.js";
|
|
14
|
+
import { c as contactDetailsValidationRules, u as useValidatePhoneNumberImperatively } from "./validate-BN5p-GhK.js";
|
|
15
|
+
import { u as useMultiForm } from "./useMultiForm-Bwx2nVhh.js";
|
|
16
16
|
const mapCustomerSupportSchemaToCustomerSupportType = (customerSupport) => {
|
|
17
17
|
var _a, _b, _c;
|
|
18
18
|
return {
|
|
@@ -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] = "f226726c-39fb-475d-abdf-71501bb56097", e._sentryDebugIdIdentifier = "sentry-dbid-f226726c-39fb-475d-abdf-71501bb56097");
|
|
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, bc as entriesOf,
|
|
12
|
+
import { Z as Button, bc as entriesOf, bq as InputText, b as useI18nContext, br as splitTaskIdentifier, a6 as useExperimentsContext, J as useSettingsContext, ac as useGlobalStore, bs as listToRecord, bt as valuesOf, b2 as Modal, X as createLogger, a3 as Icon, K as SettingNames, bu as ExperimentNames } from "./StoreProvider-BmzY19Td.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-CB6FEOnk.js";
|
|
15
15
|
const tabs = "adyen-kyc-tabs";
|
|
16
16
|
const styles$1 = {
|
|
17
17
|
tabs
|
|
@@ -146,10 +146,10 @@ const transformModule = (highlights, codeNode, scope) => {
|
|
|
146
146
|
};
|
|
147
147
|
const supportedModules = ["plaintext", "json", "yaml", "css"];
|
|
148
148
|
const moduleMap = {
|
|
149
|
-
plaintext: () => import("./plaintext-
|
|
150
|
-
json: () => import("./json-
|
|
151
|
-
yaml: () => import("./yaml-
|
|
152
|
-
css: () => import("./css-
|
|
149
|
+
plaintext: () => import("./plaintext-B39yQnOr.js"),
|
|
150
|
+
json: () => import("./json-DWikzB4g.js"),
|
|
151
|
+
yaml: () => import("./yaml-jFdy-qnY.js"),
|
|
152
|
+
css: () => import("./css-CQUoQdd2.js")
|
|
153
153
|
};
|
|
154
154
|
const getModule = async (name) => {
|
|
155
155
|
if (!supportedModules.includes(name)) {
|
|
@@ -440,7 +440,7 @@ const DebugModal = ({ onExit }) => {
|
|
|
440
440
|
const [tab, setTab] = useState("metadata");
|
|
441
441
|
const rootLegalEntity = useGlobalStore().rootLegalEntity.value;
|
|
442
442
|
const metadata = {
|
|
443
|
-
sdkVersion: "
|
|
443
|
+
sdkVersion: "4.0.0-beta.1",
|
|
444
444
|
locale: i18n.locale,
|
|
445
445
|
rootLegalEntityId: rootLegalEntity.id
|
|
446
446
|
};
|
|
@@ -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] = "9ce97466-5791-4f80-9ca1-05b595ea8414", e._sentryDebugIdIdentifier = "sentry-dbid-9ce97466-5791-4f80-9ca1-05b595ea8414");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
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, bi as getProblemsForEntity, U as EntityType, W as TaskTypes, a4 as noop } from "./StoreProvider-
|
|
12
|
-
import {
|
|
11
|
+
import { a as useLegalEntity, w as skipToken, ab as useCapabilityProblems, a6 as useExperimentsContext, L as Loader, g as getLegalEntityCountry, bi as getProblemsForEntity, U as EntityType, bj as isOnfidoAutofillFlowEnabled, W as TaskTypes, a4 as noop } from "./StoreProvider-BmzY19Td.js";
|
|
12
|
+
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-DGMCOm9M.js";
|
|
13
13
|
function DecisionMakerDetailsPage({
|
|
14
14
|
decisionMakerId,
|
|
15
15
|
parentCompanyId,
|
|
@@ -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] = "4bb2b43d-6348-4cea-addb-4e869c53192a", e._sentryDebugIdIdentifier = "sentry-dbid-4bb2b43d-6348-4cea-addb-4e869c53192a");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
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 useAnalyticsContext, a5 as useToastContext, ab as useCapabilityProblems,
|
|
13
|
-
import { a as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
14
|
-
import { b as useDataMissingRemediations, D as DropinLayout, E as EntityGuidanceStatus, i as iconStatus, c as EntityAssociation } from "./OnboardingDropinComponent-
|
|
12
|
+
import { a as useLegalEntity, R as ROOT_LE, L as Loader, a9 as useGetTaskStatus, b as useI18nContext, $ as useAnalyticsContext, a5 as useToastContext, ab as useCapabilityProblems, bA as getOwnDecisionMakers, bB as getAvailableDecisionMakerRoleTypes, W as TaskTypes, bC as getAllowedDecisionMakerRoles, F as FormHeader, aU as ContextGuidance, bD as DecisionMakerType, B as Alert, aa as CardGroup, Z as Button, aO as ActionBar } from "./StoreProvider-BmzY19Td.js";
|
|
13
|
+
import { a as useUpdateLegalEntity } from "./useUpdateLegalEntity-xQlAqIqy.js";
|
|
14
|
+
import { b as useDataMissingRemediations, D as DropinLayout, E as EntityGuidanceStatus, i as iconStatus, c as EntityAssociation } from "./OnboardingDropinComponent-BW6er2HU.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-NEiNEcRx.js";
|
|
13
|
+
import { Y as TaskStatus, b as useI18nContext, z as Skeleton, C as Typography } from "./StoreProvider-BmzY19Td.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-BmzY19Td.js";
|
|
14
14
|
const FormEndState = ({ variant = "success", children, className }) => {
|
|
15
15
|
const Slot = defineSlots(children, ["title", "content", "icon", "actions"]);
|
|
16
16
|
return /* @__PURE__ */ jsxs(
|
|
@@ -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] = "c04b5158-4f94-4a7c-907c-13f580f27d14", e._sentryDebugIdIdentifier = "sentry-dbid-c04b5158-4f94-4a7c-907c-13f580f27d14");
|
|
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 { dG as FormContext, $ as useAnalyticsContext, b as useI18nContext, bJ as MaybeModal, a2 as LoaderWrapper, dH as FormRouterContextProvider, aN as Summary, Z as Button, _ as IconButton, b8 as Confirm } from "./StoreProvider-BmzY19Td.js";
|
|
13
13
|
import cx from "classnames";
|
|
14
14
|
function FormContextProvider({
|
|
15
15
|
children,
|