@adyen/kyc-components 3.77.2 → 3.77.3
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-BHGUQ3R2.js → AcceptTermsOfServiceComponent-BvuScR3J.js} +5 -5
- package/dist/{AccountSetupRejected-DuXFSqKr.js → AccountSetupRejected-CT8zv1js.js} +2 -2
- package/dist/{Avatar-CgzcYDKy.js → Avatar-B169csgV.js} +1 -1
- package/dist/{BusinessDetailsDropin-D6bif1F2.js → BusinessDetailsDropin-Cd1-gPS0.js} +6 -6
- package/dist/{BusinessFinancingComponent-P_nH7-d1.js → BusinessFinancingComponent-CrmK93-J.js} +2 -2
- package/dist/{BusinessFinancingDropin-CJmxaZtp.js → BusinessFinancingDropin-2rBJ3zUS.js} +7 -7
- package/dist/{BusinessFinancingPage-D078pS4s.js → BusinessFinancingPage-BRrpX8aE.js} +2 -2
- package/dist/{BusinessTypeSelectionPage-DVmUJDOH.js → BusinessTypeSelectionPage-D41G2lxM.js} +3 -3
- package/dist/{ContractViewer-Dkukp3Dh.js → ContractViewer-f5gTGYnJ.js} +1 -1
- package/dist/{CreateIndividualComponent-CZZdLf-m.js → CreateIndividualComponent-s11ezb_a.js} +2 -2
- package/dist/{CreateTransferInstrumentComponent-BBnTKjia.js → CreateTransferInstrumentComponent-DJaEJo9c.js} +1 -1
- package/dist/{CustomerSupport-DmD-nwQz.js → CustomerSupport-CSoNXPCc.js} +4 -4
- package/dist/{DebugModal-C6w-xId4.js → DebugModal-C6aCtmuf.js} +8 -8
- package/dist/{DecisionMakerDetailsPage-BgkPWyyy.js → DecisionMakerDetailsPage-eucyEknb.js} +2 -2
- package/dist/{DecisionMakers-By6lBV_a.js → DecisionMakers-C6eH2OVd.js} +3 -3
- package/dist/{EmbeddedStatus-ByFYh7Zj.js → EmbeddedStatus-CbEw7-UU.js} +2 -2
- package/dist/{FormEndState-CmliB4zc.js → FormEndState-BdBpGq-s.js} +1 -1
- package/dist/{FormFlow-CSaU966l.js → FormFlow-BZOCNiZd.js} +1 -1
- package/dist/{IndividualOnfidoDropin-s5mltIMR.js → IndividualOnfidoDropin-BlxIQQfM.js} +57 -12
- package/dist/{Introduction-JOAp50Nv.js → Introduction-UOZ3XiHa.js} +2 -2
- package/dist/{LegalRepresentativeDetailsPage-V8Td-XDA.js → LegalRepresentativeDetailsPage-BKWaF6tf.js} +2 -2
- package/dist/{ManageIndividualComponent-BlYDAOz1.js → ManageIndividualComponent-DZlDnTT1.js} +3 -3
- package/dist/{ManagePCIComponent-kckwuYK9.js → ManagePCIComponent-B24ySoiH.js} +3 -3
- package/dist/{ManageTermsOfServiceComponent-COVp-CAb.js → ManageTermsOfServiceComponent-ByuI0h_f.js} +3 -3
- package/dist/{ManageTransferInstrumentComponent-bNoayLgp.js → ManageTransferInstrumentComponent-DYpT82q1.js} +3 -3
- package/dist/{OnboardingDropinComponent-C3BVvzKO.js → OnboardingDropinComponent-CCeltjuy.js} +31 -31
- package/dist/{ProviderButton-CdzPKl2p.js → ProviderButton-QwKEiAQN.js} +1 -1
- package/dist/{Review-C-SPZtj7.js → Review-BhuWXXaS.js} +2 -2
- package/dist/{RootBusinessDetailsPage-Bbq0w7Qm.js → RootBusinessDetailsPage-Bg5UrS_C.js} +2 -2
- package/dist/{RootIndividualDetailsPage-B_T7unbY.js → RootIndividualDetailsPage-BAYiii2T.js} +2 -2
- package/dist/{SignPCIComponent-UkYDmvYy.js → SignPCIComponent-C02vgFjq.js} +4 -4
- package/dist/{SingpassSelection-Hocpqm48.js → SingpassSelection-CiLeaMz1.js} +1 -1
- package/dist/{SoleProprietorshipPage-CunQasRF.js → SoleProprietorshipPage-5YdjaQc6.js} +2 -2
- package/dist/{SourceOfFunds.module-wbnEpqSN.js → SourceOfFunds.module-CNmRcuFg.js} +1 -1
- package/dist/{SourceOfFundsPage-C5LNpp2B.js → SourceOfFundsPage-inB5Qr0G.js} +8 -8
- package/dist/{StoreProvider-EkFQ2qAE.js → StoreProvider-BhwpwyEE.js} +4 -4
- package/dist/{TaskItemStatus-Cpxf5y8L.js → TaskItemStatus-DOSmWQAF.js} +1 -1
- package/dist/{TaxReportingDropin-COtcYhWh.js → TaxReportingDropin-BJQkSTni.js} +6 -6
- package/dist/{TileGroup-Bpg8eTdf.js → TileGroup-BU7DFNQz.js} +1 -1
- package/dist/{TrustDetailsPage-cXMV2xlY.js → TrustDetailsPage-CjIB7yEP.js} +4 -4
- package/dist/{TrustMemberCompanyPage-CS3LkOXn.js → TrustMemberCompanyPage-mtWxIOrX.js} +3 -3
- package/dist/{TrustMemberIndividualPage-BWvDV8rt.js → TrustMemberIndividualPage-ClPqdO9X.js} +2 -2
- package/dist/{UnincorporatedPartnershipIndividualPage-SpK8rdwn.js → UnincorporatedPartnershipIndividualPage-BzJO46jR.js} +2 -2
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-jk_-8fdm.js → UnincorporatedPartnershipMemberCompanyPage-Drr6964W.js} +2 -2
- package/dist/{VerificationErrorAlert-B3sx6T7P.js → VerificationErrorAlert-DVJ4TpK7.js} +1 -1
- package/dist/{ViewVerificationStatusComponent-BZ-TUrm6.js → ViewVerificationStatusComponent-B3I7vmpw.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-6BXsnN8t.js → css-DonS0ZAS.js} +1 -1
- package/dist/{getFieldsWithExistingData-BBir6gtO.js → getFieldsWithExistingData-Cbtv2Z8k.js} +1 -1
- package/dist/{hasDataChanged-DczFFSty.js → hasDataChanged-CABg2VLb.js} +1 -1
- package/dist/{json-Dg2Vd5FI.js → json-DbvlEZpZ.js} +1 -1
- package/dist/{localizeDateString-C1dlk2_2.js → localizeDateString-Bhc4-FBk.js} +1 -1
- package/dist/{mapFinancialReportsToFinancialInformation-CgcFLOcH.js → mapFinancialReportsToFinancialInformation-BKC_IRUx.js} +1 -1
- package/dist/{plaintext-Crr9AkKj.js → plaintext-DYzhGDVp.js} +1 -1
- package/dist/{resolveEnvironment-B39yXDWs.js → resolveEnvironment-CBVC1KqB.js} +3 -3
- package/dist/{rules-BaM9Zjbt.js → rules-B6HPxGDV.js} +1 -1
- package/dist/style.css +9 -0
- package/dist/styles-CLV89_hH.js +9 -0
- 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-C6i-y56O.js → useMultiForm-Bp6XlYOX.js} +1 -1
- package/dist/{useOnboardingStatus-C98BgY17.js → useOnboardingStatus-B5tCDkC9.js} +1 -1
- package/dist/{useSalesChannelsSettings-Dyi62FyU.js → useSalesChannelsSettings-xr55ROUd.js} +1 -1
- package/dist/{useTermsOfServiceStatus-BBX6SBxc.js → useTermsOfServiceStatus-zzS7iFDX.js} +1 -1
- package/dist/{useUpdateLegalEntity-B3wnNC-r.js → useUpdateLegalEntity-BgE3atE2.js} +1 -1
- package/dist/{utils-hxWEL5KS.js → utils-CwMVLVeZ.js} +3 -3
- package/dist/{validate-BFxruRxA.js → validate-BbSLjhLW.js} +1 -1
- package/dist/{yaml-DZl9h3oH.js → yaml-DNr7L4PE.js} +1 -1
- package/package.json +1 -1
package/dist/{AcceptTermsOfServiceComponent-BHGUQ3R2.js → AcceptTermsOfServiceComponent-BvuScR3J.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-BhwpwyEE.js";
|
|
13
|
+
import { u as useTermsOfServiceStatus, a as useTermsOfServiceAcceptanceInfos } from "./useTermsOfServiceStatus-zzS7iFDX.js";
|
|
14
|
+
import { C as ContractViewer, O as OutlinedIcon } from "./ContractViewer-f5gTGYnJ.js";
|
|
15
|
+
import { F as FormEndState } from "./FormEndState-BdBpGq-s.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-Bhc4-FBk.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-BhwpwyEE.js";
|
|
12
|
+
import { D as DropinLayout } from "./OnboardingDropinComponent-CCeltjuy.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-BhwpwyEE.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-BhwpwyEE.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-BgE3atE2.js";
|
|
14
|
+
import { h as hasDataChanged } from "./hasDataChanged-CABg2VLb.js";
|
|
15
|
+
import { o as organizationTypesToSkipCompanyStructureForm } from "./utils-CwMVLVeZ.js";
|
|
16
|
+
import { g as getFieldsWithExistingData } from "./getFieldsWithExistingData-Cbtv2Z8k.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-BKC_IRUx.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-P_nH7-d1.js → BusinessFinancingComponent-CrmK93-J.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-BhwpwyEE.js";
|
|
13
|
+
import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-2rBJ3zUS.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-BgE3atE2.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-BhwpwyEE.js";
|
|
14
|
+
import { F as FormContextProvider, a as FormFlow } from "./FormFlow-BZOCNiZd.js";
|
|
15
|
+
import { u as useMultiForm } from "./useMultiForm-Bp6XlYOX.js";
|
|
16
|
+
import { F as FormEndState } from "./FormEndState-BdBpGq-s.js";
|
|
17
|
+
import { l as localizeDateString } from "./localizeDateString-Bhc4-FBk.js";
|
|
18
|
+
import { m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./mapFinancialReportsToFinancialInformation-BKC_IRUx.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-BhwpwyEE.js";
|
|
12
|
+
import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-2rBJ3zUS.js";
|
|
13
13
|
const BusinessFinancingPage = ({
|
|
14
14
|
onSubmit,
|
|
15
15
|
handleHomeClick
|
package/dist/{BusinessTypeSelectionPage-DVmUJDOH.js → BusinessTypeSelectionPage-D41G2lxM.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-BhwpwyEE.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-BgE3atE2.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-CwMVLVeZ.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-BhwpwyEE.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-CZZdLf-m.js → CreateIndividualComponent-s11ezb_a.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-BhwpwyEE.js";
|
|
12
|
+
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-BlxIQQfM.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-BhwpwyEE.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-BhwpwyEE.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-BgE3atE2.js";
|
|
14
|
+
import { c as contactDetailsValidationRules, u as useValidatePhoneNumberImperatively } from "./validate-BbSLjhLW.js";
|
|
15
|
+
import { u as useMultiForm } from "./useMultiForm-Bp6XlYOX.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] = "674367b9-d7e7-4561-9bf4-751363b6d677", e._sentryDebugIdIdentifier = "sentry-dbid-674367b9-d7e7-4561-9bf4-751363b6d677");
|
|
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-BhwpwyEE.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-DOSmWQAF.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-DYzhGDVp.js"),
|
|
148
|
+
json: () => import("./json-DbvlEZpZ.js"),
|
|
149
|
+
yaml: () => import("./yaml-DNr7L4PE.js"),
|
|
150
|
+
css: () => import("./css-DonS0ZAS.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.
|
|
439
|
+
sdkVersion: "3.77.3",
|
|
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-BhwpwyEE.js";
|
|
12
|
+
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-BlxIQQfM.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-BhwpwyEE.js";
|
|
13
|
+
import { a as useUpdateLegalEntity } from "./useUpdateLegalEntity-BgE3atE2.js";
|
|
14
|
+
import { b as useDataMissingRemediations, D as DropinLayout, E as EntityGuidanceStatus, i as iconStatus, c as EntityAssociation } from "./OnboardingDropinComponent-CCeltjuy.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-B169csgV.js";
|
|
13
|
+
import { Y as TaskStatus, b as useI18nContext, z as Skeleton, C as Typography } from "./StoreProvider-BhwpwyEE.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-BhwpwyEE.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-BhwpwyEE.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] = "58ff6b26-a2ac-4cd9-a0b3-d139b5d5aa37", e._sentryDebugIdIdentifier = "sentry-dbid-58ff6b26-a2ac-4cd9-a0b3-d139b5d5aa37");
|
|
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-BhwpwyEE.js";
|
|
13
|
+
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-BgE3atE2.js";
|
|
14
|
+
import { c as contactDetailsValidationRules, u as useValidatePhoneNumberImperatively } from "./validate-BbSLjhLW.js";
|
|
15
|
+
import { F as FormContextProvider, a as FormFlow } from "./FormFlow-BZOCNiZd.js";
|
|
16
|
+
import { u as useSingpassMyInfoLogin, P as ProviderButton } from "./ProviderButton-QwKEiAQN.js";
|
|
17
|
+
import { u as useMultiForm } from "./useMultiForm-Bp6XlYOX.js";
|
|
18
|
+
import { g as getFieldsWithExistingData } from "./getFieldsWithExistingData-Cbtv2Z8k.js";
|
|
19
|
+
import { l as localizeDateString } from "./localizeDateString-Bhc4-FBk.js";
|
|
20
|
+
import { r as rules, D as DECISION_MAKER_TYPES_WITH_JOBTITLE$1 } from "./rules-B6HPxGDV.js";
|
|
21
21
|
import { signal, computed } from "@preact/signals";
|
|
22
|
-
import { T as TileGroup } from "./TileGroup-
|
|
22
|
+
import { T as TileGroup } from "./TileGroup-BU7DFNQz.js";
|
|
23
23
|
const verifyIdNumber = async (legalEntityId, baseUrl, data) => {
|
|
24
24
|
return await httpPost(
|
|
25
25
|
{
|
|
@@ -3765,6 +3765,51 @@ function IndividualOnfido(props) {
|
|
|
3765
3765
|
)
|
|
3766
3766
|
] });
|
|
3767
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
|
+
};
|
|
3768
3813
|
const mapIndividualOnfidoSchemaToLegalEntity = (individualOnfido, isExperimentEnabled, matchingScenario) => {
|
|
3769
3814
|
const legalEntity = {
|
|
3770
3815
|
...formatObject(individualOnfido, individualOnfidoApiKeyMapping),
|
|
@@ -3780,7 +3825,7 @@ const mapIndividualOnfidoSchemaToLegalEntity = (individualOnfido, isExperimentEn
|
|
|
3780
3825
|
}
|
|
3781
3826
|
];
|
|
3782
3827
|
}
|
|
3783
|
-
legalEntity.individual.identificationData =
|
|
3828
|
+
legalEntity.individual.identificationData = adjustOnfidoIdentificationData(
|
|
3784
3829
|
individualOnfido.additionalPersonalDetails,
|
|
3785
3830
|
legalEntity.individual.identificationData
|
|
3786
3831
|
);
|
|
@@ -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-BhwpwyEE.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-CCeltjuy.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-BhwpwyEE.js";
|
|
12
|
+
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-BlxIQQfM.js";
|
|
13
13
|
function LegalRepresentativeDetailsPage({
|
|
14
14
|
legalRepresentativeId,
|
|
15
15
|
asModal = false,
|
package/dist/{ManageIndividualComponent-BlYDAOz1.js → ManageIndividualComponent-DZlDnTT1.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-BhwpwyEE.js";
|
|
12
|
+
import { u as useOnboardingStatus } from "./useOnboardingStatus-B5tCDkC9.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-CbEw7-UU.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-xr55ROUd.js";
|
|
12
|
+
import { b as useI18nContext, p as useApiContext } from "./StoreProvider-BhwpwyEE.js";
|
|
13
|
+
import { E as EmbeddedStatus } from "./EmbeddedStatus-CbEw7-UU.js";
|
|
14
14
|
function ManagePCIComponent({ legalEntityId, onClick }) {
|
|
15
15
|
const { i18n } = useI18nContext();
|
|
16
16
|
const title = i18n.get("pciDssQuestionnaire");
|
package/dist/{ManageTermsOfServiceComponent-COVp-CAb.js → ManageTermsOfServiceComponent-ByuI0h_f.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-zzS7iFDX.js";
|
|
12
|
+
import { p as useApiContext, b as useI18nContext } from "./StoreProvider-BhwpwyEE.js";
|
|
13
|
+
import { E as EmbeddedStatus } from "./EmbeddedStatus-CbEw7-UU.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-DVJ4TpK7.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-BhwpwyEE.js";
|
|
13
|
+
import { s as statusToTag, E as EmbeddedStatus } from "./EmbeddedStatus-CbEw7-UU.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) => {
|