@adyen/kyc-components 3.77.5-beta.2 → 3.77.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-B1ou0Xjb.js → AcceptTermsOfServiceComponent-CXM0KBIQ.js} +5 -5
- package/dist/{AccountSetupRejected-DMWz6oaF.js → AccountSetupRejected-Db7hEm2Q.js} +2 -2
- package/dist/{Avatar-DFW5W4YX.js → Avatar-B8UufSUv.js} +1 -1
- package/dist/{BusinessDetailsDropin-f8GWA7pM.js → BusinessDetailsDropin-Cap8qwaf.js} +6 -6
- package/dist/{BusinessFinancingComponent-n1pGppQA.js → BusinessFinancingComponent-B43xGbhB.js} +2 -2
- package/dist/{BusinessFinancingDropin-C0AzYGSs.js → BusinessFinancingDropin-CFSlZNh6.js} +7 -7
- package/dist/{BusinessFinancingPage-EZc0UwTN.js → BusinessFinancingPage-_DmFTyDE.js} +2 -2
- package/dist/{BusinessTypeSelectionPage-D0qrQLtJ.js → BusinessTypeSelectionPage-DZccU5LS.js} +3 -3
- package/dist/{ContractViewer-C5vTUwi6.js → ContractViewer-BiUZQNaL.js} +1 -1
- package/dist/{CreateIndividualComponent-BBsv_ZZS.js → CreateIndividualComponent-BegJ0xdr.js} +2 -2
- package/dist/{CreateTransferInstrumentComponent-DoeCZBpL.js → CreateTransferInstrumentComponent-YSFuOxgN.js} +1 -1
- package/dist/{CustomerSupport-DLk9Xmmz.js → CustomerSupport-WUdR3ziX.js} +4 -4
- package/dist/{DebugModal-DtdnG9X-.js → DebugModal-D_ZJIH1_.js} +8 -8
- package/dist/{DecisionMakerDetailsPage-D_ySr3mj.js → DecisionMakerDetailsPage-DsQuhsSE.js} +2 -2
- package/dist/{DecisionMakers-dTbPhR8g.js → DecisionMakers-DPfCISpI.js} +3 -3
- package/dist/{EmbeddedStatus-BurvBkzR.js → EmbeddedStatus-BYEHACY3.js} +2 -2
- package/dist/{FormEndState-BOLjAHPr.js → FormEndState-BROfzthr.js} +1 -1
- package/dist/{FormFlow-Bz_p0xsa.js → FormFlow-DXUTh9kW.js} +1 -1
- package/dist/{IndividualOnfidoDropin-CXZm0Eyl.js → IndividualOnfidoDropin-CIn1RYji.js} +64 -19
- package/dist/{Introduction-BbX9dHrl.js → Introduction-D2_06uLp.js} +2 -2
- package/dist/{LegalRepresentativeDetailsPage-DXueD37g.js → LegalRepresentativeDetailsPage-Bbtth4m_.js} +2 -2
- package/dist/{ManageIndividualComponent-DZ2ZMymW.js → ManageIndividualComponent-Brh23n1f.js} +3 -3
- package/dist/{ManagePCIComponent-DlWchRyl.js → ManagePCIComponent-D9wUw01S.js} +3 -3
- package/dist/{ManageTermsOfServiceComponent-CAGCSxy0.js → ManageTermsOfServiceComponent-DFGexyNM.js} +3 -3
- package/dist/{ManageTransferInstrumentComponent-CJpSoEtw.js → ManageTransferInstrumentComponent-DcPA5kBH.js} +3 -3
- package/dist/{OnboardingDropinComponent-DaHibW9C.js → OnboardingDropinComponent-uMaNN5m1.js} +31 -31
- package/dist/{ProviderButton-DHscEbZU.js → ProviderButton-BDBAonxK.js} +1 -1
- package/dist/{Review-JOOoj1eM.js → Review-CsLqGWqv.js} +2 -2
- package/dist/{RootBusinessDetailsPage-BMavpSv2.js → RootBusinessDetailsPage-DHOlc2Fb.js} +2 -2
- package/dist/{RootIndividualDetailsPage-3YQkBiVf.js → RootIndividualDetailsPage-CM3pLPec.js} +2 -2
- package/dist/{SignPCIComponent-Cy2Dbiit.js → SignPCIComponent-DjE8iIM_.js} +4 -4
- package/dist/{SingpassSelection-Cxsu4TDP.js → SingpassSelection-BBE9tXwz.js} +1 -1
- package/dist/{SoleProprietorshipPage-DdfDoojL.js → SoleProprietorshipPage-C09wz4Fq.js} +2 -2
- package/dist/{SourceOfFunds.module-DzT1QxBg.js → SourceOfFunds.module-D1YjjFnh.js} +1 -1
- package/dist/{SourceOfFundsPage-Bkh_P1YL.js → SourceOfFundsPage-BNRw84cs.js} +8 -8
- package/dist/{StoreProvider-BlxHmdxo.js → StoreProvider-eNTPiAvJ.js} +4 -4
- package/dist/{TaskItemStatus-Bripap_3.js → TaskItemStatus-Ld65e2Ib.js} +1 -1
- package/dist/{TaxReportingDropin-Cu7ZdWl8.js → TaxReportingDropin-DztI9thM.js} +6 -6
- package/dist/{TileGroup-RjvUzMgq.js → TileGroup-C1slMQpY.js} +1 -1
- package/dist/{TrustDetailsPage-CrwnxTN6.js → TrustDetailsPage-DryOPXie.js} +4 -4
- package/dist/{TrustMemberCompanyPage-Bn6RfVN7.js → TrustMemberCompanyPage-BcC6fDjH.js} +3 -3
- package/dist/{TrustMemberIndividualPage-DtNEKIPL.js → TrustMemberIndividualPage-C_BF2jF1.js} +2 -2
- package/dist/{UnincorporatedPartnershipIndividualPage-Ckdp_DKh.js → UnincorporatedPartnershipIndividualPage-Bsvx1afN.js} +2 -2
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-BLTe7tp1.js → UnincorporatedPartnershipMemberCompanyPage-DAtMmeAT.js} +2 -2
- package/dist/{VerificationErrorAlert-CH-abELt.js → VerificationErrorAlert-n7jOorHi.js} +1 -1
- package/dist/{ViewVerificationStatusComponent-DswViu11.js → ViewVerificationStatusComponent-DDRWRYI6.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-AKHn9u2t.js → css-Dx3lO5_A.js} +1 -1
- package/dist/{getFieldsWithExistingData-Dfk1pdse.js → getFieldsWithExistingData-D7Jd2dGv.js} +1 -1
- package/dist/{hasDataChanged-DYh9A-Cs.js → hasDataChanged-BlhW8sAo.js} +1 -1
- package/dist/{json-k_VVE9dd.js → json-DRqISTZZ.js} +1 -1
- package/dist/{localizeDateString-DglRbOrX.js → localizeDateString-CWf9NFMr.js} +1 -1
- package/dist/{mapFinancialReportsToFinancialInformation-iG_TohEW.js → mapFinancialReportsToFinancialInformation--y0TnagP.js} +1 -1
- package/dist/{plaintext-D3_HvTX6.js → plaintext-IY5y96pS.js} +1 -1
- package/dist/{resolveEnvironment-Bqw11TCW.js → resolveEnvironment-CSnhhzZu.js} +3 -3
- package/dist/{rules-CA35pFiJ.js → rules-Bw5VoD84.js} +1 -1
- package/dist/types/components/Individual/mapping/adjustOnfidoIdentificationData.d.ts +3 -0
- package/dist/types/components/Individual/mapping/getOnfidoIdentityTypeToApiIdentityTypeMap.d.ts +3 -0
- package/dist/{useMultiForm-Swnwzuh_.js → useMultiForm-DWTYgSWt.js} +1 -1
- package/dist/{useOnboardingStatus-BCKyMZP5.js → useOnboardingStatus-D2L5eGBb.js} +1 -1
- package/dist/{useSalesChannelsSettings-Q3El6UNQ.js → useSalesChannelsSettings-CCJIOx0C.js} +1 -1
- package/dist/{useTermsOfServiceStatus-Dh6F0VmB.js → useTermsOfServiceStatus-JYMeMxqh.js} +1 -1
- package/dist/{useUpdateLegalEntity-DBZSmTQG.js → useUpdateLegalEntity-DKmkARfB.js} +1 -1
- package/dist/{utils-Djm_cVk7.js → utils-Dl28-SeM.js} +3 -3
- package/dist/{validate-CTyLw8gH.js → validate-DZwaq7U4.js} +1 -1
- package/dist/{yaml-BjEeT7Ib.js → yaml-KMfiNxd3.js} +1 -1
- package/package.json +1 -1
package/dist/{AcceptTermsOfServiceComponent-B1ou0Xjb.js → AcceptTermsOfServiceComponent-CXM0KBIQ.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, 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-
|
|
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-eNTPiAvJ.js";
|
|
13
|
+
import { u as useTermsOfServiceStatus, a as useTermsOfServiceAcceptanceInfos } from "./useTermsOfServiceStatus-JYMeMxqh.js";
|
|
14
|
+
import { C as ContractViewer, O as OutlinedIcon } from "./ContractViewer-BiUZQNaL.js";
|
|
15
|
+
import { F as FormEndState } from "./FormEndState-BROfzthr.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-CWf9NFMr.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-eNTPiAvJ.js";
|
|
12
|
+
import { D as DropinLayout } from "./OnboardingDropinComponent-uMaNN5m1.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-eNTPiAvJ.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, bf as useMutation, bh as httpPost, q as useQuery, dP 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, dQ as useGlobalData, dR as getForms, W as TaskTypes, dS as BasicInformation, bM as getFormProps, dT as CompanyStructure, dU as AdditionalInformation, dV as MemoizedConstitutionalDocument, y as LegalEntityType, dW as FinancialInformation, bS as formatObject, bc as entriesOf, cq as getDocument, cr as mapExistingFile, cs as getPageName, bl as businessDetailsComponentsKeyMapping, dX as solePropBusinessDetailsKeyMapping, a_ as objectsDeepEqual, dY as operationalAddressIsSameIds, dZ as COUNTRIES_USING_COMPANY_SEARCH, d_ as FIELDS_NEEDED_FOR_COMPANY_SEARCH, dm as keysOf, i as isUndefinedOrNull, dM as isDateOlderThanAYear, aJ as summaryItem, d$ as solePropBusinessDetailsApiKeyMapping, e0 as businessDetailsApiKeyMapping, bN as isEmpty, e1 as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, cv as createDocumentRequest, 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 taxInformationDefaultFieldMetadata, e9 as countryToTaxInfoTypeMap, cm as taxInformationDefaultFieldConfig, 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, cL as composePerScenarioFormConfigurations, 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-
|
|
11
|
+
import { p as useApiContext, bf as useMutation, bh as httpPost, q as useQuery, dP 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, dQ as useGlobalData, dR as getForms, W as TaskTypes, dS as BasicInformation, bM as getFormProps, dT as CompanyStructure, dU as AdditionalInformation, dV as MemoizedConstitutionalDocument, y as LegalEntityType, dW as FinancialInformation, bS as formatObject, bc as entriesOf, cq as getDocument, cr as mapExistingFile, cs as getPageName, bl as businessDetailsComponentsKeyMapping, dX as solePropBusinessDetailsKeyMapping, a_ as objectsDeepEqual, dY as operationalAddressIsSameIds, dZ as COUNTRIES_USING_COMPANY_SEARCH, d_ as FIELDS_NEEDED_FOR_COMPANY_SEARCH, dm as keysOf, i as isUndefinedOrNull, dM as isDateOlderThanAYear, aJ as summaryItem, d$ as solePropBusinessDetailsApiKeyMapping, e0 as businessDetailsApiKeyMapping, bN as isEmpty, e1 as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, cv as createDocumentRequest, 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 taxInformationDefaultFieldMetadata, e9 as countryToTaxInfoTypeMap, cm as taxInformationDefaultFieldConfig, 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, cL as composePerScenarioFormConfigurations, 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-eNTPiAvJ.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-DKmkARfB.js";
|
|
14
|
+
import { h as hasDataChanged } from "./hasDataChanged-BlhW8sAo.js";
|
|
15
|
+
import { o as organizationTypesToSkipCompanyStructureForm } from "./utils-Dl28-SeM.js";
|
|
16
|
+
import { g as getFieldsWithExistingData } from "./getFieldsWithExistingData-D7Jd2dGv.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--y0TnagP.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-n1pGppQA.js → BusinessFinancingComponent-B43xGbhB.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-eNTPiAvJ.js";
|
|
13
|
+
import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-CFSlZNh6.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, useCallback, useMemo, useState } from "preact/hooks";
|
|
12
|
-
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
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-
|
|
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-DKmkARfB.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-eNTPiAvJ.js";
|
|
14
|
+
import { F as FormContextProvider, a as FormFlow } from "./FormFlow-DXUTh9kW.js";
|
|
15
|
+
import { u as useMultiForm } from "./useMultiForm-DWTYgSWt.js";
|
|
16
|
+
import { F as FormEndState } from "./FormEndState-BROfzthr.js";
|
|
17
|
+
import { l as localizeDateString } from "./localizeDateString-CWf9NFMr.js";
|
|
18
|
+
import { m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./mapFinancialReportsToFinancialInformation--y0TnagP.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-eNTPiAvJ.js";
|
|
12
|
+
import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-CFSlZNh6.js";
|
|
13
13
|
const BusinessFinancingPage = ({
|
|
14
14
|
onSubmit,
|
|
15
15
|
handleHomeClick
|
package/dist/{BusinessTypeSelectionPage-D0qrQLtJ.js → BusinessTypeSelectionPage-DZccU5LS.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, 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, 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, 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, a as useLegalEntity, R as ROOT_LE, L as Loader } from "./StoreProvider-eNTPiAvJ.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-DKmkARfB.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-Dl28-SeM.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-eNTPiAvJ.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-BBsv_ZZS.js → CreateIndividualComponent-BegJ0xdr.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, bi as getProblemsForEntity, U as EntityType, bj 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, bi as getProblemsForEntity, U as EntityType, bj as isOnfidoAutofillFlowEnabled, W as TaskTypes } from "./StoreProvider-eNTPiAvJ.js";
|
|
12
|
+
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-CIn1RYji.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, bo as PayoutDetailsDropin, W as TaskTypes } from "./StoreProvider-
|
|
12
|
+
import { a as useLegalEntity, an as useAssociatedLegalEntity, y as LegalEntityType, L as Loader, bo as PayoutDetailsDropin, W as TaskTypes } from "./StoreProvider-eNTPiAvJ.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, 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-
|
|
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-eNTPiAvJ.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-DKmkARfB.js";
|
|
14
|
+
import { c as contactDetailsValidationRules, u as useValidatePhoneNumberImperatively } from "./validate-DZwaq7U4.js";
|
|
15
|
+
import { u as useMultiForm } from "./useMultiForm-DWTYgSWt.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] = "da84f834-a672-42fb-90a8-5a0c971904c6", e._sentryDebugIdIdentifier = "sentry-dbid-da84f834-a672-42fb-90a8-5a0c971904c6");
|
|
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, 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-
|
|
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-eNTPiAvJ.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-Ld65e2Ib.js";
|
|
15
15
|
const tabs = "adyen-kyc-tabs";
|
|
16
16
|
const styles$1 = {
|
|
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-IY5y96pS.js"),
|
|
148
|
+
json: () => import("./json-DRqISTZZ.js"),
|
|
149
|
+
yaml: () => import("./yaml-KMfiNxd3.js"),
|
|
150
|
+
css: () => import("./css-Dx3lO5_A.js")
|
|
151
151
|
};
|
|
152
152
|
const getModule = async (name) => {
|
|
153
153
|
if (!supportedModules.includes(name)) {
|
|
@@ -436,7 +436,7 @@ const DebugModal = ({ onExit }) => {
|
|
|
436
436
|
const [tab, setTab] = useState("metadata");
|
|
437
437
|
const rootLegalEntity = useGlobalStore().rootLegalEntity.value;
|
|
438
438
|
const metadata = {
|
|
439
|
-
sdkVersion: "3.77.5
|
|
439
|
+
sdkVersion: "3.77.5",
|
|
440
440
|
locale: i18n.locale,
|
|
441
441
|
rootLegalEntityId: rootLegalEntity.id
|
|
442
442
|
};
|
|
@@ -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, bi as getProblemsForEntity, U as EntityType, bj 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, bi as getProblemsForEntity, U as EntityType, bj as isOnfidoAutofillFlowEnabled, W as TaskTypes, a4 as noop } from "./StoreProvider-eNTPiAvJ.js";
|
|
12
|
+
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-CIn1RYji.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 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-
|
|
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-eNTPiAvJ.js";
|
|
13
|
+
import { a as useUpdateLegalEntity } from "./useUpdateLegalEntity-DKmkARfB.js";
|
|
14
|
+
import { b as useDataMissingRemediations, D as DropinLayout, E as EntityGuidanceStatus, i as iconStatus, c as EntityAssociation } from "./OnboardingDropinComponent-uMaNN5m1.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-B8UufSUv.js";
|
|
13
|
+
import { Y as TaskStatus, b as useI18nContext, z as Skeleton, C as Typography } from "./StoreProvider-eNTPiAvJ.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-eNTPiAvJ.js";
|
|
14
14
|
const FormEndState = ({ variant = "success", children, className }) => {
|
|
15
15
|
const Slot = defineSlots(children, ["title", "content", "icon", "actions"]);
|
|
16
16
|
return /* @__PURE__ */ jsxs(
|
|
@@ -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 { 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-
|
|
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-eNTPiAvJ.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] = "10d33237-8613-4831-ad7b-a716baf2d15e", e._sentryDebugIdIdentifier = "sentry-dbid-10d33237-8613-4831-ad7b-a716baf2d15e");
|
|
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, bf as useMutation, bh as httpPost, c7 as matchesRegex, c8 as trimValWithOneSpace, c9 as NO_ALPHABET_REGEX, ca as EMOJI_REGEX, cb as hasRepeatedCharacters, cc as isInvalidName, cd as INDIVIDUAL_VALID_CHAR_REGEX, ce as getFormattingRegEx, cf as SPECIAL_CHARS, cg as standardKatakanaValidator, ch as standardKanjiValidator, ar as resolveFieldMetadata, ao as CountryCodes, ci as getSSNType, ap as isEmpty, cj as defaultFieldMetadata, ck as defaultFieldConfig, bE as defaultFieldMetadata$1, bF as fieldConfig, W as TaskTypes, cl as taxInformationDefaultFieldMetadata, y as LegalEntityType, cm as taxInformationDefaultFieldConfig, cn as getAgeToday, co as euCountries, cp as getIdDocument, cq as getDocument, cr as mapExistingFile, cs as getPageName, ct as getLocalizedIdDocumentTypeOptions, cu as getPage, cv as createDocumentRequest, bS as formatObject, cw as individualApiKeyMapping, bk as individualComponentsKeyMapping, bR as reverseMapping, cx as getNomineeFromAssociation, cy as drop, X as createLogger, P as useAccountHolder, b as useI18nContext, $ as useAnalyticsContext, a5 as useToastContext, a6 as useExperimentsContext, J as useSettingsContext, cz as documentApiUtils, cA as useProviderStatus, g as getLegalEntityCountry, c2 as getAssociatedLeAnalyticsPayload, cB as addressValidators, cC as getAsyncIdNumberValidationRule, bG as getAsyncPhoneValidationRules, cD as addressFormatters, cE as useScenarios, cF as setHasMotionCaptureScenario, cG as useScenarioConfiguration, cH as getPropsFromConfigurations, cI as individualForms, cJ as showIndividualMotionCapture, bO as getRequiredForms, bP as addValidityToForms, bC as getAllowedDecisionMakerRoles, b0 as datasetUtilities, bQ as useFormComposer, c3 as trackNavigation, cK as Individual, cL as composePerScenarioFormConfigurations, cM as omitObscuredFieldsIfUnchanged, cN as filterOutUnwantedAssociationsIfRootLE, c4 as isValidationError, c5 as processValidationErrors, c6 as isMaintenanceModeError, ba as cloneObject, cO as mapAddressLabels, cP as individualDocumentForms, cQ as individualDocumentMapping, cR as individualObscuredFields, cS as mergeAttachments, cT as getFileExtention, ak as getOwnEntityAssociations, cU as hasNomineesChanged, cV as attachNomineeToRole, cW as idVerificationProviderId, cX as doArraysMatch, bD as DecisionMakerType, cY as createFormRules, bB as getAvailableDecisionMakerRoleTypes, cZ as allowedCountriesForNominee, b_ as getAddressSchemaForCountry, b$ as COUNTRIES_WITH_STATES_DATASET, c_ as Scenarios, c$ as isLowRiskCountry, az as Field, bK as Select, d0 as isTruthyValidator, d1 as licenseCardNumberDefaultMetadata, d2 as licenseCardNumberDefaultConfig, aq as mergeFieldMetadataIntoProps, ay as createFormUtils, bL as useFormContext, av as getFieldProps, d3 as idNumberFields, d4 as IdentityNumber, d5 as additionallIdNumberOptions, d6 as MaskedInput, bW as InputDate, d7 as formatDateObj, d8 as DriversLicense, d9 as addressFields, u as useAllowedCountries, K as SettingNames, da as getDefaultTaxIdNumberType, F as FormHeader, ax as ErrorPanel, C as Typography, aF as CountryField, c0 as Address, c1 as getAddressSchemaLabelsByCountry, bU as Link, b8 as Confirm, db as getAgeRangeForLegalRepresentative, dc as IndividualIdNumberTypeSelector, dd as TaxInformationField, de as PatriotActDisclosure, df as isLegalRepresentativeNeeded, aw as nameFields, dg as decisionMakerRoleFields, dh as nomineeFields, di as contactDetailFields, B as Alert, aU as ContextGuidance, a$ as TrustedFieldsProvider, dj as DecisionMakerRole, dk as NomineeDecisionMakerRole, dl as LocalizedNameFields, bq as InputText, bH as ContactDetails, dm as keysOf, a_ as objectsDeepEqual, bN as isEmpty$1, dn as RadioWithLabel, bs as listToRecord, b2 as Modal, Z as Button, bm as Svg, dp as pick, dq as IdVerification, b7 as Spacer, _ as IconButton, c as useDataset, d as datasetIdentifier, L as Loader, dr as isPersonUnderAge, ds as IdDocumentManualUpload, dt as idDocumentUploadFields, du as useFormRouterContext, bM as getFormProps, dv as useCapabilities, dw as hasMotionCaptureScenario, dx as setShowIndividualMotionCapture, dy as shouldShowMotionCapture, dz as MemoizedProofOfRelationship, dA as MemoizedDocumentUpload, dB as MemoizedProofOfResidencyUpload, dC as individualOnfidoApiKeyMapping, dD as individualOnfidoBaseMapping, bn as useQueryClient, dE as individualOnfidoDocumentMapping, dF 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, bf as useMutation, bh as httpPost, c7 as matchesRegex, c8 as trimValWithOneSpace, c9 as NO_ALPHABET_REGEX, ca as EMOJI_REGEX, cb as hasRepeatedCharacters, cc as isInvalidName, cd as INDIVIDUAL_VALID_CHAR_REGEX, ce as getFormattingRegEx, cf as SPECIAL_CHARS, cg as standardKatakanaValidator, ch as standardKanjiValidator, ar as resolveFieldMetadata, ao as CountryCodes, ci as getSSNType, ap as isEmpty, cj as defaultFieldMetadata, ck as defaultFieldConfig, bE as defaultFieldMetadata$1, bF as fieldConfig, W as TaskTypes, cl as taxInformationDefaultFieldMetadata, y as LegalEntityType, cm as taxInformationDefaultFieldConfig, cn as getAgeToday, co as euCountries, cp as getIdDocument, cq as getDocument, cr as mapExistingFile, cs as getPageName, ct as getLocalizedIdDocumentTypeOptions, cu as getPage, cv as createDocumentRequest, bS as formatObject, cw as individualApiKeyMapping, bk as individualComponentsKeyMapping, bR as reverseMapping, cx as getNomineeFromAssociation, cy as drop, X as createLogger, P as useAccountHolder, b as useI18nContext, $ as useAnalyticsContext, a5 as useToastContext, a6 as useExperimentsContext, J as useSettingsContext, cz as documentApiUtils, cA as useProviderStatus, g as getLegalEntityCountry, c2 as getAssociatedLeAnalyticsPayload, cB as addressValidators, cC as getAsyncIdNumberValidationRule, bG as getAsyncPhoneValidationRules, cD as addressFormatters, cE as useScenarios, cF as setHasMotionCaptureScenario, cG as useScenarioConfiguration, cH as getPropsFromConfigurations, cI as individualForms, cJ as showIndividualMotionCapture, bO as getRequiredForms, bP as addValidityToForms, bC as getAllowedDecisionMakerRoles, b0 as datasetUtilities, bQ as useFormComposer, c3 as trackNavigation, cK as Individual, cL as composePerScenarioFormConfigurations, cM as omitObscuredFieldsIfUnchanged, cN as filterOutUnwantedAssociationsIfRootLE, c4 as isValidationError, c5 as processValidationErrors, c6 as isMaintenanceModeError, ba as cloneObject, cO as mapAddressLabels, cP as individualDocumentForms, cQ as individualDocumentMapping, cR as individualObscuredFields, cS as mergeAttachments, cT as getFileExtention, ak as getOwnEntityAssociations, cU as hasNomineesChanged, cV as attachNomineeToRole, cW as idVerificationProviderId, cX as doArraysMatch, bD as DecisionMakerType, cY as createFormRules, bB as getAvailableDecisionMakerRoleTypes, cZ as allowedCountriesForNominee, b_ as getAddressSchemaForCountry, b$ as COUNTRIES_WITH_STATES_DATASET, c_ as Scenarios, c$ as isLowRiskCountry, az as Field, bK as Select, d0 as isTruthyValidator, d1 as licenseCardNumberDefaultMetadata, d2 as licenseCardNumberDefaultConfig, aq as mergeFieldMetadataIntoProps, ay as createFormUtils, bL as useFormContext, av as getFieldProps, d3 as idNumberFields, d4 as IdentityNumber, d5 as additionallIdNumberOptions, d6 as MaskedInput, bW as InputDate, d7 as formatDateObj, d8 as DriversLicense, d9 as addressFields, u as useAllowedCountries, K as SettingNames, da as getDefaultTaxIdNumberType, F as FormHeader, ax as ErrorPanel, C as Typography, aF as CountryField, c0 as Address, c1 as getAddressSchemaLabelsByCountry, bU as Link, b8 as Confirm, db as getAgeRangeForLegalRepresentative, dc as IndividualIdNumberTypeSelector, dd as TaxInformationField, de as PatriotActDisclosure, df as isLegalRepresentativeNeeded, aw as nameFields, dg as decisionMakerRoleFields, dh as nomineeFields, di as contactDetailFields, B as Alert, aU as ContextGuidance, a$ as TrustedFieldsProvider, dj as DecisionMakerRole, dk as NomineeDecisionMakerRole, dl as LocalizedNameFields, bq as InputText, bH as ContactDetails, dm as keysOf, a_ as objectsDeepEqual, bN as isEmpty$1, dn as RadioWithLabel, bs as listToRecord, b2 as Modal, Z as Button, bm as Svg, dp as pick, dq as IdVerification, b7 as Spacer, _ as IconButton, c as useDataset, d as datasetIdentifier, L as Loader, dr as isPersonUnderAge, ds as IdDocumentManualUpload, dt as idDocumentUploadFields, du as useFormRouterContext, bM as getFormProps, dv as useCapabilities, dw as hasMotionCaptureScenario, dx as setShowIndividualMotionCapture, dy as shouldShowMotionCapture, dz as MemoizedProofOfRelationship, dA as MemoizedDocumentUpload, dB as MemoizedProofOfResidencyUpload, dC as individualOnfidoApiKeyMapping, dD as individualOnfidoBaseMapping, bn as useQueryClient, dE as individualOnfidoDocumentMapping, dF as individualOnfidoObscuredFields } from "./StoreProvider-eNTPiAvJ.js";
|
|
13
|
+
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-DKmkARfB.js";
|
|
14
|
+
import { c as contactDetailsValidationRules, u as useValidatePhoneNumberImperatively } from "./validate-DZwaq7U4.js";
|
|
15
|
+
import { F as FormContextProvider, a as FormFlow } from "./FormFlow-DXUTh9kW.js";
|
|
16
|
+
import { u as useSingpassMyInfoLogin, P as ProviderButton } from "./ProviderButton-BDBAonxK.js";
|
|
17
|
+
import { u as useMultiForm } from "./useMultiForm-DWTYgSWt.js";
|
|
18
|
+
import { g as getFieldsWithExistingData } from "./getFieldsWithExistingData-D7Jd2dGv.js";
|
|
19
|
+
import { l as localizeDateString } from "./localizeDateString-CWf9NFMr.js";
|
|
20
|
+
import { r as rules, D as DECISION_MAKER_TYPES_WITH_JOBTITLE$1 } from "./rules-Bw5VoD84.js";
|
|
21
21
|
import { signal, computed } from "@preact/signals";
|
|
22
|
-
import { T as TileGroup } from "./TileGroup-
|
|
22
|
+
import { T as TileGroup } from "./TileGroup-C1slMQpY.js";
|
|
23
23
|
const verifyIdNumber = async (legalEntityId, baseUrl, data) => {
|
|
24
24
|
return await httpPost(
|
|
25
25
|
{
|
|
@@ -2923,12 +2923,6 @@ function IdVerificationMethod(props) {
|
|
|
2923
2923
|
lastName: data.basicDetails?.lastName,
|
|
2924
2924
|
residencyCountry: data.additionalPersonalDetails?.country
|
|
2925
2925
|
};
|
|
2926
|
-
const delayedOnClickOnfido = () => {
|
|
2927
|
-
setTimeout(() => {
|
|
2928
|
-
console.log("launching");
|
|
2929
|
-
launchOnfido();
|
|
2930
|
-
}, 2e3);
|
|
2931
|
-
};
|
|
2932
2926
|
const launchOnfido = () => {
|
|
2933
2927
|
clearError();
|
|
2934
2928
|
userEvents.addPageEvent("Clicked button", {
|
|
@@ -3087,7 +3081,7 @@ function IdVerificationMethod(props) {
|
|
|
3087
3081
|
fullWidth: true,
|
|
3088
3082
|
disabled: status === "extractionLoading",
|
|
3089
3083
|
loading: status === "extractionLoading",
|
|
3090
|
-
onClick:
|
|
3084
|
+
onClick: launchOnfido
|
|
3091
3085
|
}
|
|
3092
3086
|
),
|
|
3093
3087
|
!showIndividualMotionCapture?.value && /* @__PURE__ */ jsx(
|
|
@@ -3771,6 +3765,51 @@ function IndividualOnfido(props) {
|
|
|
3771
3765
|
)
|
|
3772
3766
|
] });
|
|
3773
3767
|
}
|
|
3768
|
+
const getOnfidoIdentityTypeToApiIdentityTypeMap = (data) => {
|
|
3769
|
+
const { country } = data;
|
|
3770
|
+
switch (country) {
|
|
3771
|
+
case CountryCodes.HongKong:
|
|
3772
|
+
return {
|
|
3773
|
+
passport: "passport",
|
|
3774
|
+
driversLicense: "driversLicense",
|
|
3775
|
+
proofOfIdentityCard: "nationalIdNumber"
|
|
3776
|
+
};
|
|
3777
|
+
default:
|
|
3778
|
+
return {
|
|
3779
|
+
nationalIdNumber: "nationalIdNumber",
|
|
3780
|
+
passport: "passport",
|
|
3781
|
+
driversLicense: "driversLicense",
|
|
3782
|
+
proofOfIdentityCard: "identityCard"
|
|
3783
|
+
};
|
|
3784
|
+
}
|
|
3785
|
+
};
|
|
3786
|
+
const adjustOnfidoIdentificationData = (data, apiData) => {
|
|
3787
|
+
const { typeOfIdentity, idNumber, idNumberExempt } = data;
|
|
3788
|
+
const identificationData = {
|
|
3789
|
+
...apiData,
|
|
3790
|
+
number: idNumber,
|
|
3791
|
+
type: getOnfidoIdentityTypeToApiIdentityTypeMap(data)[typeOfIdentity] ?? "nationalIdNumber"
|
|
3792
|
+
};
|
|
3793
|
+
switch (typeOfIdentity) {
|
|
3794
|
+
case "passport":
|
|
3795
|
+
return {
|
|
3796
|
+
...identificationData,
|
|
3797
|
+
cardNumber: ""
|
|
3798
|
+
};
|
|
3799
|
+
case "driversLicense":
|
|
3800
|
+
return {
|
|
3801
|
+
...identificationData,
|
|
3802
|
+
expiryDate: ""
|
|
3803
|
+
};
|
|
3804
|
+
default:
|
|
3805
|
+
return idNumber === void 0 && idNumberExempt === void 0 ? void 0 : {
|
|
3806
|
+
...identificationData,
|
|
3807
|
+
expiryDate: "",
|
|
3808
|
+
cardNumber: "",
|
|
3809
|
+
nationalIdExempt: apiData?.nationalIdExempt ?? !idNumber
|
|
3810
|
+
};
|
|
3811
|
+
}
|
|
3812
|
+
};
|
|
3774
3813
|
const mapIndividualOnfidoSchemaToLegalEntity = (individualOnfido, isExperimentEnabled, matchingScenario) => {
|
|
3775
3814
|
const legalEntity = {
|
|
3776
3815
|
...formatObject(individualOnfido, individualOnfidoApiKeyMapping),
|
|
@@ -3786,7 +3825,7 @@ const mapIndividualOnfidoSchemaToLegalEntity = (individualOnfido, isExperimentEn
|
|
|
3786
3825
|
}
|
|
3787
3826
|
];
|
|
3788
3827
|
}
|
|
3789
|
-
legalEntity.individual.identificationData =
|
|
3828
|
+
legalEntity.individual.identificationData = adjustOnfidoIdentificationData(
|
|
3790
3829
|
individualOnfido.additionalPersonalDetails,
|
|
3791
3830
|
legalEntity.individual.identificationData
|
|
3792
3831
|
);
|
|
@@ -3852,6 +3891,12 @@ const mapLegalEntityToIndividualOnfidoSchema = (legalEntity, isChangingType, isR
|
|
|
3852
3891
|
}
|
|
3853
3892
|
};
|
|
3854
3893
|
}
|
|
3894
|
+
if (legalEntity.individual?.identificationData?.type && individualOnfido.additionalPersonalDetails) {
|
|
3895
|
+
const apiIdentityTypeToIdentityTypeMap = reverseMapping(
|
|
3896
|
+
getOnfidoIdentityTypeToApiIdentityTypeMap(individualOnfido.additionalPersonalDetails)
|
|
3897
|
+
);
|
|
3898
|
+
individualOnfido.additionalPersonalDetails.typeOfIdentity = apiIdentityTypeToIdentityTypeMap[legalEntity.individual.identificationData.type];
|
|
3899
|
+
}
|
|
3855
3900
|
if (legalEntity.individual?.name?.localization) {
|
|
3856
3901
|
const configs = [
|
|
3857
3902
|
{
|
|
@@ -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, bw as getTranslationKeysByPrefix, b as useI18nContext, a as useLegalEntity, R as ROOT_LE, L as Loader, $ as useAnalyticsContext, bx as StepProgressIndicator, Z as Button } from "./StoreProvider-
|
|
12
|
+
import { W as TaskTypes, y as LegalEntityType, bw as getTranslationKeysByPrefix, b as useI18nContext, a as useLegalEntity, R as ROOT_LE, L as Loader, $ as useAnalyticsContext, bx as StepProgressIndicator, Z as Button } from "./StoreProvider-eNTPiAvJ.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-uMaNN5m1.js";
|
|
15
15
|
import { t as toCapitalized } from "./toCapitalized-Bq7laD0b.js";
|
|
16
16
|
var IntroductionScreens = ((IntroductionScreens2) => {
|
|
17
17
|
IntroductionScreens2["PROLOGUE"] = "PROLOGUE";
|
|
@@ -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, bi as getProblemsForEntity, U as EntityType, bj 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, bi as getProblemsForEntity, U as EntityType, bj as isOnfidoAutofillFlowEnabled, W as TaskTypes, a4 as noop } from "./StoreProvider-eNTPiAvJ.js";
|
|
12
|
+
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-CIn1RYji.js";
|
|
13
13
|
function LegalRepresentativeDetailsPage({
|
|
14
14
|
legalRepresentativeId,
|
|
15
15
|
asModal = false,
|
package/dist/{ManageIndividualComponent-DZ2ZMymW.js → ManageIndividualComponent-Brh23n1f.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-eNTPiAvJ.js";
|
|
12
|
+
import { u as useOnboardingStatus } from "./useOnboardingStatus-D2L5eGBb.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-BYEHACY3.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-CCJIOx0C.js";
|
|
12
|
+
import { b as useI18nContext, p as useApiContext } from "./StoreProvider-eNTPiAvJ.js";
|
|
13
|
+
import { E as EmbeddedStatus } from "./EmbeddedStatus-BYEHACY3.js";
|
|
14
14
|
function ManagePCIComponent({ legalEntityId, onClick }) {
|
|
15
15
|
const { i18n } = useI18nContext();
|
|
16
16
|
const title = i18n.get("pciDssQuestionnaire");
|
package/dist/{ManageTermsOfServiceComponent-CAGCSxy0.js → ManageTermsOfServiceComponent-DFGexyNM.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-JYMeMxqh.js";
|
|
12
|
+
import { p as useApiContext, b as useI18nContext } from "./StoreProvider-eNTPiAvJ.js";
|
|
13
|
+
import { E as EmbeddedStatus } from "./EmbeddedStatus-BYEHACY3.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, b0 as datasetUtilities, b1 as getCapabilityProblems, b2 as Modal, b3 as ModalHeader, C as Typography, b4 as ModalContent, L as Loader, Z as Button, a0 as Card, b5 as StructuredList, b6 as ModalFooter, b7 as Spacer, _ as IconButton, b8 as Confirm, b9 as mapTransferInstrumentToPayoutAccount, ba as cloneObject, bb as currencyByCountry, bc as entriesOf, Y as TaskStatus, bd 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-n7jOorHi.js";
|
|
12
|
+
import { p as useApiContext, q as useQuery, r as httpGet, b as useI18nContext, b0 as datasetUtilities, b1 as getCapabilityProblems, b2 as Modal, b3 as ModalHeader, C as Typography, b4 as ModalContent, L as Loader, Z as Button, a0 as Card, b5 as StructuredList, b6 as ModalFooter, b7 as Spacer, _ as IconButton, b8 as Confirm, b9 as mapTransferInstrumentToPayoutAccount, ba as cloneObject, bb as currencyByCountry, bc as entriesOf, Y as TaskStatus, bd as useTransferInstrument, X as createLogger, a5 as useToastContext, c as useDataset, d as datasetIdentifier, B as Alert } from "./StoreProvider-eNTPiAvJ.js";
|
|
13
|
+
import { s as statusToTag, E as EmbeddedStatus } from "./EmbeddedStatus-BYEHACY3.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) => {
|