@adyen/kyc-components 3.78.3 → 3.78.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AcceptTermsOfServiceComponent-CFQ2P9GH.js → AcceptTermsOfServiceComponent-BEW6FHYT.js} +5 -5
- package/dist/{AccountSetupRejected-D2OyL7wQ.js → AccountSetupRejected-QeOZkTY6.js} +2 -2
- package/dist/{Avatar-b1nh0c1z.js → Avatar-LH_sWDK-.js} +1 -1
- package/dist/{BusinessDetailsDropin-BHyUiC4f.js → BusinessDetailsDropin-BBzOW0o4.js} +6 -6
- package/dist/{BusinessFinancingComponent-D0bI8QG9.js → BusinessFinancingComponent-DU0mWs9r.js} +2 -2
- package/dist/{BusinessFinancingDropin-BIgasljk.js → BusinessFinancingDropin-B3ioIXKc.js} +7 -7
- package/dist/{BusinessFinancingPage-CBtYdRj2.js → BusinessFinancingPage-nzofon0J.js} +2 -2
- package/dist/{BusinessTypeSelectionPage-CkAIG4MA.js → BusinessTypeSelectionPage-D5eCKINu.js} +3 -3
- package/dist/{ContractViewer-DOrGvGUT.js → ContractViewer-CWU3EYed.js} +1 -1
- package/dist/{CreateIndividualComponent-DS7HZrzM.js → CreateIndividualComponent-DXc7G0ZO.js} +2 -2
- package/dist/{CreateTransferInstrumentComponent-Cjo-aGq0.js → CreateTransferInstrumentComponent-D44JOYOy.js} +1 -1
- package/dist/{CustomerSupport-Di-MUHKt.js → CustomerSupport-DbCj2ndR.js} +4 -4
- package/dist/{DebugModal-BcWVxnmF.js → DebugModal-C-uGufQt.js} +8 -8
- package/dist/{DecisionMakerDetailsPage-Bmtqk9o2.js → DecisionMakerDetailsPage-BTQBmGSA.js} +2 -2
- package/dist/{DecisionMakers-C40cx8jj.js → DecisionMakers-C6q74eg_.js} +3 -3
- package/dist/{EmbeddedStatus-BebcyVex.js → EmbeddedStatus-DEQtNM04.js} +2 -2
- package/dist/{FormEndState-yG8FwMCW.js → FormEndState-C_pZVxBv.js} +11 -11
- package/dist/{FormFlow-pF4ECJAh.js → FormFlow-By48fHuP.js} +1 -1
- package/dist/{IndividualOnfidoDropin-DcZ1td6o.js → IndividualOnfidoDropin-_IGolPzp.js} +13 -12
- package/dist/{Introduction-sicGdaMe.js → Introduction-2ATupL_V.js} +2 -2
- package/dist/{LegalRepresentativeDetailsPage-Bq5NtNHZ.js → LegalRepresentativeDetailsPage-sGsFPHXr.js} +2 -2
- package/dist/{ManageIndividualComponent-Bi7TdTHQ.js → ManageIndividualComponent-BXfXlE-G.js} +3 -3
- package/dist/{ManagePCIComponent-DXcATWWY.js → ManagePCIComponent-Ddi7pC8l.js} +3 -3
- package/dist/{ManageTermsOfServiceComponent-DbkXhNfX.js → ManageTermsOfServiceComponent-R5jGfDjQ.js} +3 -3
- package/dist/{ManageTransferInstrumentComponent-iAkRDdmS.js → ManageTransferInstrumentComponent-BBa1KcEQ.js} +3 -3
- package/dist/{OnboardingDropinComponent-DXqY0EUb.js → OnboardingDropinComponent-CY6A0FO9.js} +31 -31
- package/dist/{ProviderButton-BvsqIv1L.js → ProviderButton-C-xNK16K.js} +1 -1
- package/dist/{Review-CeZDu_oy.js → Review-C8jCW3Ib.js} +2 -2
- package/dist/{RootBusinessDetailsPage-VKfoRwqt.js → RootBusinessDetailsPage-ChVHmljX.js} +2 -2
- package/dist/{RootIndividualDetailsPage-DdCj1RdD.js → RootIndividualDetailsPage-DoWO_po2.js} +2 -2
- package/dist/{SignPCIComponent-DgB1Q-36.js → SignPCIComponent-DKwNu-XK.js} +4 -4
- package/dist/{SingpassSelection-Bp6j1jmc.js → SingpassSelection-BhDWPYPr.js} +1 -1
- package/dist/{SoleProprietorshipPage-ntG1rgR2.js → SoleProprietorshipPage-T1WaH9T6.js} +2 -2
- package/dist/{SourceOfFunds.module-CNGzYpVs.js → SourceOfFunds.module-DhsGmRKj.js} +1 -1
- package/dist/{SourceOfFundsPage-CPO8tQFT.js → SourceOfFundsPage-C2o2pkdn.js} +8 -8
- package/dist/{StoreProvider-C6mNefoa.js → StoreProvider-Dl6RsdlA.js} +4 -4
- package/dist/{TaskItemStatus-DDb7GB3A.js → TaskItemStatus-hKY0WKY_.js} +1 -1
- package/dist/{TaxReportingDropin-Dao_ShBD.js → TaxReportingDropin-BpJDlYcv.js} +6 -6
- package/dist/{TileGroup-BGHPnzVN.js → TileGroup-CDsqHMzz.js} +1 -1
- package/dist/{TrustDetailsPage-DZV52Z3-.js → TrustDetailsPage-DXdH-Pns.js} +4 -4
- package/dist/{TrustMemberCompanyPage-HyolA2vf.js → TrustMemberCompanyPage-DEdKrVeW.js} +3 -3
- package/dist/{TrustMemberIndividualPage-Cb4f8CAe.js → TrustMemberIndividualPage-Baoj9XzB.js} +2 -2
- package/dist/{UnincorporatedPartnershipIndividualPage-C5t-TM-k.js → UnincorporatedPartnershipIndividualPage-CgOcBzIN.js} +2 -2
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-qSsED0Pk.js → UnincorporatedPartnershipMemberCompanyPage-Cfqi4GRx.js} +2 -2
- package/dist/{VerificationErrorAlert-SUCoLwKF.js → VerificationErrorAlert-B6U2b9Kh.js} +1 -1
- package/dist/{ViewVerificationStatusComponent-DCcsVJW8.js → ViewVerificationStatusComponent-Cnh-bS9-.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-CmV7gaSV.js → css-CIbaB-Fq.js} +1 -1
- package/dist/{getFieldsWithExistingData-BJwNIu6t.js → getFieldsWithExistingData-BSBbygpk.js} +1 -1
- package/dist/{hasDataChanged-BFe8RP7H.js → hasDataChanged-BLO_4k7I.js} +1 -1
- package/dist/{json-BFy1DImk.js → json-Di2CpSto.js} +1 -1
- package/dist/{localizeDateString-BKe3-ezW.js → localizeDateString-BYLDRYYy.js} +1 -1
- package/dist/{mapFinancialReportsToFinancialInformation-DWKIkjZm.js → mapFinancialReportsToFinancialInformation-BP8auoGx.js} +1 -1
- package/dist/{plaintext--_fTyyKK.js → plaintext-BrT6NjxU.js} +1 -1
- package/dist/{resolveEnvironment-YshKq2mn.js → resolveEnvironment-D7d2rzPC.js} +3 -3
- package/dist/{rules-CI4IFSpV.js → rules-CQHYr0U_.js} +1 -1
- package/dist/style.css +18 -17
- package/dist/styles-CLV89_hH.js +18 -17
- package/dist/{useMultiForm-CvOU9CI3.js → useMultiForm-BzO5RjPA.js} +1 -1
- package/dist/{useOnboardingStatus-DNkLVq4Q.js → useOnboardingStatus-DrOZAZUh.js} +1 -1
- package/dist/{useSalesChannelsSettings-D6uhscw1.js → useSalesChannelsSettings-BREqsu6X.js} +1 -1
- package/dist/{useTermsOfServiceStatus-BTUI5lrV.js → useTermsOfServiceStatus-Nc2Ap__L.js} +1 -1
- package/dist/{useUpdateLegalEntity-BtFINNth.js → useUpdateLegalEntity-wTfvj3z_.js} +1 -1
- package/dist/{utils-kIn4Vp11.js → utils-B3tcU8He.js} +3 -3
- package/dist/{validate-1Wu5M2NH.js → validate-DAZxawsa.js} +1 -1
- package/dist/{yaml-ck7-FnZU.js → yaml-ByUSnl45.js} +1 -1
- package/package.json +1 -1
package/dist/{AcceptTermsOfServiceComponent-CFQ2P9GH.js → AcceptTermsOfServiceComponent-BEW6FHYT.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-Dl6RsdlA.js";
|
|
13
|
+
import { u as useTermsOfServiceStatus, a as useTermsOfServiceAcceptanceInfos } from "./useTermsOfServiceStatus-Nc2Ap__L.js";
|
|
14
|
+
import { C as ContractViewer, O as OutlinedIcon } from "./ContractViewer-CWU3EYed.js";
|
|
15
|
+
import { F as FormEndState } from "./FormEndState-C_pZVxBv.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-BYLDRYYy.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-Dl6RsdlA.js";
|
|
12
|
+
import { D as DropinLayout } from "./OnboardingDropinComponent-CY6A0FO9.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-Dl6RsdlA.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-Dl6RsdlA.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-wTfvj3z_.js";
|
|
14
|
+
import { h as hasDataChanged } from "./hasDataChanged-BLO_4k7I.js";
|
|
15
|
+
import { o as organizationTypesToSkipCompanyStructureForm } from "./utils-B3tcU8He.js";
|
|
16
|
+
import { g as getFieldsWithExistingData } from "./getFieldsWithExistingData-BSBbygpk.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-BP8auoGx.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-D0bI8QG9.js → BusinessFinancingComponent-DU0mWs9r.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-Dl6RsdlA.js";
|
|
13
|
+
import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-B3ioIXKc.js";
|
|
14
14
|
function BusinessFinancingComponent({
|
|
15
15
|
legalEntityId,
|
|
16
16
|
onSubmitSuccess
|
|
@@ -9,13 +9,13 @@
|
|
|
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-wTfvj3z_.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-Dl6RsdlA.js";
|
|
14
|
+
import { F as FormContextProvider, a as FormFlow } from "./FormFlow-By48fHuP.js";
|
|
15
|
+
import { u as useMultiForm } from "./useMultiForm-BzO5RjPA.js";
|
|
16
|
+
import { F as FormEndState } from "./FormEndState-C_pZVxBv.js";
|
|
17
|
+
import { l as localizeDateString } from "./localizeDateString-BYLDRYYy.js";
|
|
18
|
+
import { m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./mapFinancialReportsToFinancialInformation-BP8auoGx.js";
|
|
19
19
|
import { b as businessFinancingMultiformRules } from "./validate-CuwYJGc9.js";
|
|
20
20
|
const businessFinancingBaseMapping = {
|
|
21
21
|
legalProceedingsDate: "organization.dateOfInitiationOfLegalProceeding",
|
|
@@ -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-Dl6RsdlA.js";
|
|
12
|
+
import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-B3ioIXKc.js";
|
|
13
13
|
const BusinessFinancingPage = ({
|
|
14
14
|
onSubmit,
|
|
15
15
|
handleHomeClick
|
package/dist/{BusinessTypeSelectionPage-CkAIG4MA.js → BusinessTypeSelectionPage-D5eCKINu.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-Dl6RsdlA.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-wTfvj3z_.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-B3tcU8He.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-Dl6RsdlA.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-DS7HZrzM.js → CreateIndividualComponent-DXc7G0ZO.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-Dl6RsdlA.js";
|
|
12
|
+
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-_IGolPzp.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-Dl6RsdlA.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-Dl6RsdlA.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-wTfvj3z_.js";
|
|
14
|
+
import { c as contactDetailsValidationRules, u as useValidatePhoneNumberImperatively } from "./validate-DAZxawsa.js";
|
|
15
|
+
import { u as useMultiForm } from "./useMultiForm-BzO5RjPA.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] = "d393b002-ccc7-4a7e-a7af-4eaec8927746", e._sentryDebugIdIdentifier = "sentry-dbid-d393b002-ccc7-4a7e-a7af-4eaec8927746");
|
|
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-Dl6RsdlA.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-hKY0WKY_.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-BrT6NjxU.js"),
|
|
148
|
+
json: () => import("./json-Di2CpSto.js"),
|
|
149
|
+
yaml: () => import("./yaml-ByUSnl45.js"),
|
|
150
|
+
css: () => import("./css-CIbaB-Fq.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.5",
|
|
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-Dl6RsdlA.js";
|
|
12
|
+
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-_IGolPzp.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-Dl6RsdlA.js";
|
|
13
|
+
import { a as useUpdateLegalEntity } from "./useUpdateLegalEntity-wTfvj3z_.js";
|
|
14
|
+
import { c as useDataMissingRemediations, D as DropinLayout, E as EntityGuidanceStatus, i as iconStatus, d as EntityAssociation } from "./OnboardingDropinComponent-CY6A0FO9.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-LH_sWDK-.js";
|
|
13
|
+
import { Y as TaskStatus, b as useI18nContext, z as Skeleton, C as Typography } from "./StoreProvider-Dl6RsdlA.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";
|
|
@@ -2,7 +2,7 @@
|
|
|
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] = "4a78dd14-65b6-44f1-9324-3259e4175c09", e._sentryDebugIdIdentifier = "sentry-dbid-4a78dd14-65b6-44f1-9324-3259e4175c09");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
@@ -10,26 +10,26 @@
|
|
|
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-Dl6RsdlA.js";
|
|
14
14
|
const formEndState = "adyen-kyc-form-end-state";
|
|
15
|
-
const
|
|
15
|
+
const endStateIcon = "adyen-kyc-end-state-icon";
|
|
16
16
|
const iconInfo = "adyen-kyc-icon-info";
|
|
17
17
|
const iconError = "adyen-kyc-icon-error";
|
|
18
18
|
const iconWarning = "adyen-kyc-icon-warning";
|
|
19
19
|
const iconSuccess = "adyen-kyc-icon-success";
|
|
20
20
|
const title = "adyen-kyc-title";
|
|
21
|
-
const
|
|
22
|
-
const
|
|
21
|
+
const endStateDescription = "adyen-kyc-end-state-description";
|
|
22
|
+
const endStateActions = "adyen-kyc-end-state-actions";
|
|
23
23
|
const styles = {
|
|
24
24
|
formEndState,
|
|
25
|
-
|
|
25
|
+
endStateIcon,
|
|
26
26
|
iconInfo,
|
|
27
27
|
iconError,
|
|
28
28
|
iconWarning,
|
|
29
29
|
iconSuccess,
|
|
30
30
|
title,
|
|
31
|
-
|
|
32
|
-
|
|
31
|
+
endStateDescription,
|
|
32
|
+
endStateActions
|
|
33
33
|
};
|
|
34
34
|
const FormEndState = ({ variant = "success", children, className }) => {
|
|
35
35
|
const Slot = defineSlots(children, ["title", "content", "icon", "actions"]);
|
|
@@ -43,13 +43,13 @@ const FormEndState = ({ variant = "success", children, className }) => {
|
|
|
43
43
|
return /* @__PURE__ */ jsxs(
|
|
44
44
|
"div",
|
|
45
45
|
{
|
|
46
|
-
className: cx(styles.formEndState, styles.
|
|
46
|
+
className: cx(styles.formEndState, styles.endStateIcon, variantMap[variant], className),
|
|
47
47
|
role: "alert",
|
|
48
48
|
children: [
|
|
49
49
|
/* @__PURE__ */ jsx(Slot, { name: "icon", children: variant === "success" ? /* @__PURE__ */ jsx(Icon, { name: "checkmark" }) : /* @__PURE__ */ jsx(AlertIcon, { variant }) }),
|
|
50
50
|
/* @__PURE__ */ jsx("span", { className: styles.title, children: /* @__PURE__ */ jsx(Slot, { name: "title" }) }),
|
|
51
|
-
/* @__PURE__ */ jsx("div", { className: styles.
|
|
52
|
-
/* @__PURE__ */ jsx("div", { className: styles.
|
|
51
|
+
/* @__PURE__ */ jsx("div", { className: styles.endStateDescription, children: /* @__PURE__ */ jsx(Slot, { name: "content" }) }),
|
|
52
|
+
/* @__PURE__ */ jsx("div", { className: styles.endStateActions, children: /* @__PURE__ */ jsx(Slot, { name: "actions" }) })
|
|
53
53
|
]
|
|
54
54
|
}
|
|
55
55
|
);
|
|
@@ -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-Dl6RsdlA.js";
|
|
13
13
|
import cx from "classnames";
|
|
14
14
|
function FormContextProvider({
|
|
15
15
|
children,
|
|
@@ -2,24 +2,24 @@
|
|
|
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] = "233cf979-7149-458d-89b8-684635b08351", e._sentryDebugIdIdentifier = "sentry-dbid-233cf979-7149-458d-89b8-684635b08351");
|
|
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, 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-Dl6RsdlA.js";
|
|
13
|
+
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-wTfvj3z_.js";
|
|
14
|
+
import { c as contactDetailsValidationRules, u as useValidatePhoneNumberImperatively } from "./validate-DAZxawsa.js";
|
|
15
|
+
import { F as FormContextProvider, a as FormFlow } from "./FormFlow-By48fHuP.js";
|
|
16
|
+
import { u as useSingpassMyInfoLogin, P as ProviderButton } from "./ProviderButton-C-xNK16K.js";
|
|
17
|
+
import { u as useMultiForm } from "./useMultiForm-BzO5RjPA.js";
|
|
18
|
+
import { g as getFieldsWithExistingData } from "./getFieldsWithExistingData-BSBbygpk.js";
|
|
19
|
+
import { l as localizeDateString } from "./localizeDateString-BYLDRYYy.js";
|
|
20
|
+
import { r as rules, D as DECISION_MAKER_TYPES_WITH_JOBTITLE$1 } from "./rules-CQHYr0U_.js";
|
|
21
21
|
import { signal, computed } from "@preact/signals";
|
|
22
|
-
import { T as TileGroup } from "./TileGroup-
|
|
22
|
+
import { T as TileGroup } from "./TileGroup-CDsqHMzz.js";
|
|
23
23
|
const verifyIdNumber = async (legalEntityId, baseUrl, data) => {
|
|
24
24
|
return await httpPost(
|
|
25
25
|
{
|
|
@@ -4306,6 +4306,7 @@ function IndividualOnfidoDropin({
|
|
|
4306
4306
|
}),
|
|
4307
4307
|
[propProblems, validationErrors]
|
|
4308
4308
|
);
|
|
4309
|
+
const hasVerificationErrors = propProblems?.verificationErrors && Object.keys(propProblems.verificationErrors).length > 0;
|
|
4309
4310
|
const associatedLeTrackingParams = useMemo(() => {
|
|
4310
4311
|
return taskType === TaskTypes.INDIVIDUAL ? {} : getAssociatedLeAnalyticsPayload({
|
|
4311
4312
|
associatedLegalEntity: legalEntityResponse,
|
|
@@ -4621,7 +4622,7 @@ function IndividualOnfidoDropin({
|
|
|
4621
4622
|
idDocumentType
|
|
4622
4623
|
});
|
|
4623
4624
|
setAccountHolder(accountHolder);
|
|
4624
|
-
if (dataSubmitted.idVerificationMethod?.idVerificationMethod !== "existingDocument") {
|
|
4625
|
+
if (dataSubmitted.idVerificationMethod && dataSubmitted.idVerificationMethod?.idVerificationMethod !== "existingDocument" || hasVerificationErrors) {
|
|
4625
4626
|
await submitDocuments({ legalEntity: createdLegalEntity, dataSubmitted });
|
|
4626
4627
|
}
|
|
4627
4628
|
if (parentLegalEntity) {
|
|
@@ -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-Dl6RsdlA.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-CY6A0FO9.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-Dl6RsdlA.js";
|
|
12
|
+
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-_IGolPzp.js";
|
|
13
13
|
function LegalRepresentativeDetailsPage({
|
|
14
14
|
legalRepresentativeId,
|
|
15
15
|
asModal = false,
|
package/dist/{ManageIndividualComponent-Bi7TdTHQ.js → ManageIndividualComponent-BXfXlE-G.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-Dl6RsdlA.js";
|
|
12
|
+
import { u as useOnboardingStatus } from "./useOnboardingStatus-DrOZAZUh.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-DEQtNM04.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-BREqsu6X.js";
|
|
12
|
+
import { b as useI18nContext, p as useApiContext } from "./StoreProvider-Dl6RsdlA.js";
|
|
13
|
+
import { E as EmbeddedStatus } from "./EmbeddedStatus-DEQtNM04.js";
|
|
14
14
|
function ManagePCIComponent({ legalEntityId, onClick }) {
|
|
15
15
|
const { i18n } = useI18nContext();
|
|
16
16
|
const title = i18n.get("pciDssQuestionnaire");
|
package/dist/{ManageTermsOfServiceComponent-DbkXhNfX.js → ManageTermsOfServiceComponent-R5jGfDjQ.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-Nc2Ap__L.js";
|
|
12
|
+
import { p as useApiContext, b as useI18nContext } from "./StoreProvider-Dl6RsdlA.js";
|
|
13
|
+
import { E as EmbeddedStatus } from "./EmbeddedStatus-DEQtNM04.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-B6U2b9Kh.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-Dl6RsdlA.js";
|
|
13
|
+
import { s as statusToTag, E as EmbeddedStatus } from "./EmbeddedStatus-DEQtNM04.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) => {
|