@adyen/kyc-components 3.72.2 → 3.72.4
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-BaJQ0wya.js → AcceptTermsOfServiceComponent-DHkK0S6k.js} +1 -1
- package/dist/{AccountSetupRejected-By6Ifpwr.js → AccountSetupRejected-M0eVeA7G.js} +2 -2
- package/dist/{BusinessDetailsDropin-Cfu4McVE.js → BusinessDetailsDropin-B9uPe28F.js} +4 -4
- package/dist/{BusinessFinancingPage-C6tkc3mO.js → BusinessFinancingPage-DXJOEtf6.js} +2 -2
- package/dist/{BusinessTypeSelectionPage-CaUeq9NW.js → BusinessTypeSelectionPage-DnC4iBWX.js} +3 -3
- package/dist/{CXEL7IU7-9vQEuBnl.js → CXEL7IU7-CvXEJiqY.js} +2 -2
- package/dist/{CreateIndividualComponent-B_bhrCgF.js → CreateIndividualComponent-sONOk9nw.js} +5 -5
- package/dist/{CustomerSupport-BOiEqsTK.js → CustomerSupport-B7cVQRXG.js} +2 -2
- package/dist/{DebugModal-43EKnUSa.js → DebugModal-DYMeTDAV.js} +8 -8
- package/dist/{DecisionMakerDetailsPage-zNtN6yeF.js → DecisionMakerDetailsPage-COEpFtfs.js} +2 -2
- package/dist/{DecisionMakers-BNmCM4T8.js → DecisionMakers-BJQxLnxR.js} +3 -3
- package/dist/{EmbedShell-BBswmWID.js → EmbedShell-B_71Sq3f.js} +3 -3
- package/dist/{EventEmitter-D3i2EGg8.js → EventEmitter-CzgfRWAv.js} +9 -9
- package/dist/{HASRA6WW-ifp7Ed-d.js → HASRA6WW-DIKU4smF.js} +1 -1
- package/dist/{I3HPI4QX-ByfV7v4Q.js → I3HPI4QX-DA5fm-8_.js} +2 -2
- package/dist/{Introduction-Dufn889m.js → Introduction-C4GxNaag.js} +3 -3
- package/dist/{LegalRepresentativeDetailsPage-me62oxAN.js → LegalRepresentativeDetailsPage-U0bxN6y_.js} +2 -2
- package/dist/{PayoutDetailsPage-DWL8wBCd.js → PayoutDetailsPage-C5Z3ufab.js} +3 -3
- package/dist/{Review-q5pogLN-.js → Review-C1Z1HnSf.js} +2 -2
- package/dist/{RootBusinessDetailsPage-eJkkAbYZ.js → RootBusinessDetailsPage-D2WdGQb1.js} +3 -3
- package/dist/{RootIndividualDetailsPage-De3X-I9y.js → RootIndividualDetailsPage-Bd2NdUyL.js} +2 -2
- package/dist/{SingpassSelection-DtmsGbe3.js → SingpassSelection-CossYnOE.js} +1 -1
- package/dist/{SoleProprietorshipPage-C-MTZnFV.js → SoleProprietorshipPage-JyydDMFE.js} +3 -3
- package/dist/{SourceOfFunds.module-BO9aZLGR.js → SourceOfFunds.module-PmQYsn_w.js} +1 -1
- package/dist/{SourceOfFundsPage-DSBWmZD_.js → SourceOfFundsPage-AljyEVxa.js} +4 -4
- package/dist/{TaskItemStatus-Cdp3ERNL.js → TaskItemStatus-BAB2JvM0.js} +1 -1
- package/dist/{TaxReportingDropin-bjAAXuEw.js → TaxReportingDropin-B0UcXDOr.js} +4 -4
- package/dist/{TrustDetailsPage-DMp_7o6A.js → TrustDetailsPage-DWDIpVr2.js} +6 -6
- package/dist/{TrustMemberCompanyPage-BFFrIu1d.js → TrustMemberCompanyPage-CKdqeimg.js} +4 -4
- package/dist/{TrustMemberIndividualPage-Dd7EcMDe.js → TrustMemberIndividualPage-CQQ7uc3H.js} +2 -2
- package/dist/{UnincorporatedPartnershipIndividualPage-CKN9v-a0.js → UnincorporatedPartnershipIndividualPage-CogMd4F3.js} +5 -5
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-BJfiRzSn.js → UnincorporatedPartnershipMemberCompanyPage-C23EVNu9.js} +3 -3
- package/dist/adyen-kyc-components.js +1 -1
- package/dist/adyenConfig.js +2 -2
- package/dist/{core-DR71b30c.js → core-5FdDgGAA.js} +79 -81
- package/dist/{css-CR84K1q2.js → css-CJ8Vkl-J.js} +1 -1
- package/dist/individual.js +4 -4
- package/dist/{json-BsTAlIEX.js → json-DHQJSjrH.js} +1 -1
- package/dist/{plaintext-BMe1IXiN.js → plaintext-BF-9vQ8Q.js} +1 -1
- package/dist/terms-of-service.js +4 -4
- package/dist/types/components/Shared/tasks/TaskList/PayoutAccountTaskListItem.d.ts +3 -3
- package/dist/types/components/Shared/tasks/TaskList/types.d.ts +5 -0
- package/dist/types/components/Shared/tasks/TaskList/utils.d.ts +2 -2
- package/dist/types/components/UnincorporatedPartnership/hooks/useUnincorporatedPartnershipNavigation.d.ts +0 -15
- package/dist/types/components/UnincorporatedPartnership/pages/UnincorporatedPartnershipIndividualPage.d.ts +2 -2
- package/dist/{utils-BwkrNBAV.js → utils-B5iKTXQt.js} +1 -1
- package/dist/{utils-bec_hydR.js → utils-B7AWyYSS.js} +3 -3
- package/dist/{yaml-cGZJGzRu.js → yaml-BsCaKulN.js} +1 -1
- package/package.json +1 -1
package/dist/{AcceptTermsOfServiceComponent-BaJQ0wya.js → AcceptTermsOfServiceComponent-DHkK0S6k.js}
RENAMED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useRef, useState, useEffect, useCallback } from "preact/hooks";
|
|
12
|
-
import { m as useApiContext, Q as useInvalidateRootLegalEntity, a5 as useMutation, a4 as httpPost, p as useQuery, q as httpGet, a6 as skipToken, a1 as Icon, u as useI18nContext, T as Typography, dn as globalStyles, bu as AlertIcon, dc as KEYBOARD_KEYS, a as useAnalyticsContext, aJ as noop, au as createLogger, W as useToastContext, b as useExperimentsContext, D as useForm, aq as Alert, B as Button, l as localizeDateString, L as LoaderWrapper, F as Field, t as Select, bq as Checkbox, bd as ActionBar, M as MaybeModal, c as ModalContent, f as ModalFooter, S as Spacer, i as LegalEntityType, aR as getOwnSignatories, az as doesLegalEntityRequiresLegalRepresentative, ay as getLegalRepresentative, a2 as useLegalEntity, ao as ROOT_LE, a0 as Loader, ah as TaskTypes } from "./EventEmitter-
|
|
12
|
+
import { m as useApiContext, Q as useInvalidateRootLegalEntity, a5 as useMutation, a4 as httpPost, p as useQuery, q as httpGet, a6 as skipToken, a1 as Icon, u as useI18nContext, T as Typography, dn as globalStyles, bu as AlertIcon, dc as KEYBOARD_KEYS, a as useAnalyticsContext, aJ as noop, au as createLogger, W as useToastContext, b as useExperimentsContext, D as useForm, aq as Alert, B as Button, l as localizeDateString, L as LoaderWrapper, F as Field, t as Select, bq as Checkbox, bd as ActionBar, M as MaybeModal, c as ModalContent, f as ModalFooter, S as Spacer, i as LegalEntityType, aR as getOwnSignatories, az as doesLegalEntityRequiresLegalRepresentative, ay as getLegalRepresentative, a2 as useLegalEntity, ao as ROOT_LE, a0 as Loader, ah as TaskTypes } from "./EventEmitter-CzgfRWAv.js";
|
|
13
13
|
import cx from "classnames";
|
|
14
14
|
import { defineSlots } from "named-slots";
|
|
15
15
|
const acceptTermsOfService = async (legalEntityId, baseUrl, termsOfServiceDocumentId, data) => {
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { u as useI18nContext, bu as AlertIcon, b2 as FormHeader } from "./EventEmitter-
|
|
12
|
-
import { D as DropinLayout } from "./core-
|
|
11
|
+
import { u as useI18nContext, bu as AlertIcon, b2 as FormHeader } from "./EventEmitter-CzgfRWAv.js";
|
|
12
|
+
import { D as DropinLayout } from "./core-5FdDgGAA.js";
|
|
13
13
|
function AccountSetupRejected() {
|
|
14
14
|
const { i18n } = useI18nContext();
|
|
15
15
|
const content = /* @__PURE__ */ jsxs("div", { children: [
|
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useState, useEffect, useCallback, useRef, useMemo } from "preact/hooks";
|
|
12
|
-
import { m as useApiContext, a5 as useMutation, a4 as httpPost, u as useI18nContext, dk as MemoizedDocumentUpload, B as Button, ak as Modal, c as ModalContent, T as Typography, ad as CountryCodes, aE as CompanyTypesValue, J as useGlobalData, du as getForms, ah as TaskTypes, dv as BasicInformation, $ as getFormProps, dw as CompanyStructure, dx as AdditionalInformation, dy as MemoizedConstitutionalDocument, i as LegalEntityType, dz as FinancialInformation, dA as StateCodesUS, o as objectsDeepEqual, au as createLogger, e as entriesOf, bZ as businessDetailsComponentsKeyMapping, dB as solePropBusinessDetailsKeyMapping, dC as operationalAddressIsSameIds, dD as COUNTRIES_USING_COMPANY_SEARCH, dE as FIELDS_NEEDED_FOR_COMPANY_SEARCH, ab as keysOf, bs as isUndefinedOrNull, ac as summaryItem, dF as solePropBusinessDetailsApiKeyMapping, bL as businessDetailsApiKeyMapping, d6 as isEmpty, dG as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, V as datasetUtilities, cE as mapAddressLabels, dH as companyTypeMetadata, k as isEmpty$1, cD as filterOutUnwantedAssociationsIfRootLE, dI as documentFormsIds, aZ as resolveFieldMetadata, dJ as defaultFieldMetadata, dK as inferCompanyRegistrationNumberType, dL as getCompanyRegistrationNumberOptions, dM as defaultFieldConfig, cl as defaultFieldMetadata$1, dN as countryToTaxInfoTypeMap, cm as defaultFieldConfig$1, dO as getKeyForField, h as drop, aX as getOwnEntityAssociations, cL as doArraysMatch, aF as useAccountHolder, W as useToastContext, a as useAnalyticsContext, b as useExperimentsContext, Y as useSettingsContext, X as useStateContext, Z as SettingNames, dP as setIsBankAccountRequestedForOrganization, _ as getAssociatedLeAnalyticsPayload, aj as getCapabilityProblems, dQ as rules, dR as solePropBusinessDetailsDocumentMapping, dS as businessDetailsDocumentMapping } from "./EventEmitter-
|
|
13
|
-
import { f as formatObject, n as getDocument, o as mapExistingFile, q as getPageName, r as createDocumentRequest, v as augmentWithCountryConfigs, j as composePerScenarioFormConfigurations, g as getProp, l as isValidationError, p as processValidationErrors, m as isMaintenanceModeError, D as getFileExtention, w as documentApiUtils, b as useScenarioConfiguration, c as getPropsFromConfigurations, O as getFieldsWithExistingData, d as getRequiredForms, e as addValidityToForms, u as useCreateLegalEntity, a as useUpdateLegalEntity, h as useFormComposer, t as trackNavigation, E as Confirm } from "./CreateIndividualComponent-
|
|
14
|
-
import { m as mapFinancialReportsToFinancialInformation, e as mapFinancialInformationToFinancialReport, h as hasDataChanged, F as FormWrapper } from "./core-
|
|
15
|
-
import { o as organizationTypesToSkipCompanyStructureForm } from "./utils-
|
|
12
|
+
import { m as useApiContext, a5 as useMutation, a4 as httpPost, u as useI18nContext, dk as MemoizedDocumentUpload, B as Button, ak as Modal, c as ModalContent, T as Typography, ad as CountryCodes, aE as CompanyTypesValue, J as useGlobalData, du as getForms, ah as TaskTypes, dv as BasicInformation, $ as getFormProps, dw as CompanyStructure, dx as AdditionalInformation, dy as MemoizedConstitutionalDocument, i as LegalEntityType, dz as FinancialInformation, dA as StateCodesUS, o as objectsDeepEqual, au as createLogger, e as entriesOf, bZ as businessDetailsComponentsKeyMapping, dB as solePropBusinessDetailsKeyMapping, dC as operationalAddressIsSameIds, dD as COUNTRIES_USING_COMPANY_SEARCH, dE as FIELDS_NEEDED_FOR_COMPANY_SEARCH, ab as keysOf, bs as isUndefinedOrNull, ac as summaryItem, dF as solePropBusinessDetailsApiKeyMapping, bL as businessDetailsApiKeyMapping, d6 as isEmpty, dG as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, V as datasetUtilities, cE as mapAddressLabels, dH as companyTypeMetadata, k as isEmpty$1, cD as filterOutUnwantedAssociationsIfRootLE, dI as documentFormsIds, aZ as resolveFieldMetadata, dJ as defaultFieldMetadata, dK as inferCompanyRegistrationNumberType, dL as getCompanyRegistrationNumberOptions, dM as defaultFieldConfig, cl as defaultFieldMetadata$1, dN as countryToTaxInfoTypeMap, cm as defaultFieldConfig$1, dO as getKeyForField, h as drop, aX as getOwnEntityAssociations, cL as doArraysMatch, aF as useAccountHolder, W as useToastContext, a as useAnalyticsContext, b as useExperimentsContext, Y as useSettingsContext, X as useStateContext, Z as SettingNames, dP as setIsBankAccountRequestedForOrganization, _ as getAssociatedLeAnalyticsPayload, aj as getCapabilityProblems, dQ as rules, dR as solePropBusinessDetailsDocumentMapping, dS as businessDetailsDocumentMapping } from "./EventEmitter-CzgfRWAv.js";
|
|
13
|
+
import { f as formatObject, n as getDocument, o as mapExistingFile, q as getPageName, r as createDocumentRequest, v as augmentWithCountryConfigs, j as composePerScenarioFormConfigurations, g as getProp, l as isValidationError, p as processValidationErrors, m as isMaintenanceModeError, D as getFileExtention, w as documentApiUtils, b as useScenarioConfiguration, c as getPropsFromConfigurations, O as getFieldsWithExistingData, d as getRequiredForms, e as addValidityToForms, u as useCreateLegalEntity, a as useUpdateLegalEntity, h as useFormComposer, t as trackNavigation, E as Confirm } from "./CreateIndividualComponent-sONOk9nw.js";
|
|
14
|
+
import { m as mapFinancialReportsToFinancialInformation, e as mapFinancialInformationToFinancialReport, h as hasDataChanged, F as FormWrapper } from "./core-5FdDgGAA.js";
|
|
15
|
+
import { o as organizationTypesToSkipCompanyStructureForm } from "./utils-B7AWyYSS.js";
|
|
16
16
|
import cx from "classnames";
|
|
17
17
|
import { f as formatCurrency } from "./formatCurrency-CMOSdJMB.js";
|
|
18
18
|
const clearCompanyData = async (legalEntityId, baseUrl) => {
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { u as useI18nContext, a2 as useLegalEntity, ao as ROOT_LE, a0 as Loader, a3 as getLegalEntityCountry } from "./EventEmitter-
|
|
12
|
-
import { B as BusinessFinancingDropin } from "./core-
|
|
11
|
+
import { u as useI18nContext, a2 as useLegalEntity, ao as ROOT_LE, a0 as Loader, a3 as getLegalEntityCountry } from "./EventEmitter-CzgfRWAv.js";
|
|
12
|
+
import { B as BusinessFinancingDropin } from "./core-5FdDgGAA.js";
|
|
13
13
|
const BusinessFinancingPage = ({
|
|
14
14
|
onSubmit,
|
|
15
15
|
handleHomeClick
|
package/dist/{BusinessTypeSelectionPage-CaUeq9NW.js → BusinessTypeSelectionPage-DnC4iBWX.js}
RENAMED
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
|
-
import { u as useI18nContext, a as useAnalyticsContext, W as useToastContext, b as useExperimentsContext, aF as useAccountHolder, ds as getCapabilities, a3 as getLegalEntityCountry, i as LegalEntityType, D as useForm, L as LoaderWrapper, T as Typography, F as Field, dt as EntityTypeRadioGroupCard, b5 as RadioGroupCard, B as Button, S as Spacer, a1 as Icon, aB as hasSolePropInLegalEntity, a2 as useLegalEntity, ao as ROOT_LE, a0 as Loader } from "./EventEmitter-
|
|
11
|
+
import { u as useI18nContext, a as useAnalyticsContext, W as useToastContext, b as useExperimentsContext, aF as useAccountHolder, ds as getCapabilities, a3 as getLegalEntityCountry, i as LegalEntityType, D as useForm, L as LoaderWrapper, T as Typography, F as Field, dt as EntityTypeRadioGroupCard, b5 as RadioGroupCard, B as Button, S as Spacer, a1 as Icon, aB as hasSolePropInLegalEntity, a2 as useLegalEntity, ao as ROOT_LE, a0 as Loader } from "./EventEmitter-CzgfRWAv.js";
|
|
12
12
|
import { useState, useEffect } from "preact/hooks";
|
|
13
|
-
import { a as useUpdateLegalEntity } from "./CreateIndividualComponent-
|
|
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 "./CreateIndividualComponent-sONOk9nw.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-B7AWyYSS.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 getBusinessTypeExamplesForCountry = async (country) => {
|
|
17
17
|
const importForCountry = businessTypeExamples[`../localized/legalEntityTypeExamples/${country}.json`];
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { c as createLocalStorage, T as THEME_PREFERENCE, P as PiPProvider, a as ThemeContext, b as ParentPanel, C as ContentView, Q as QueryDevtoolsContext } from "./HASRA6WW-
|
|
11
|
-
import { e8 as getPreferredColorScheme, e9 as createMemo, ea as createComponent } from "./EventEmitter-
|
|
10
|
+
import { c as createLocalStorage, T as THEME_PREFERENCE, P as PiPProvider, a as ThemeContext, b as ParentPanel, C as ContentView, Q as QueryDevtoolsContext } from "./HASRA6WW-DIKU4smF.js";
|
|
11
|
+
import { e8 as getPreferredColorScheme, e9 as createMemo, ea as createComponent } from "./EventEmitter-CzgfRWAv.js";
|
|
12
12
|
var DevtoolsPanelComponent = (props) => {
|
|
13
13
|
const [localStore, setLocalStore] = createLocalStorage({
|
|
14
14
|
prefix: "TanstackQueryDevtools"
|
package/dist/{CreateIndividualComponent-B_bhrCgF.js → CreateIndividualComponent-sONOk9nw.js}
RENAMED
|
@@ -2,13 +2,13 @@
|
|
|
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] = "ee679854-23b9-4fdb-ac93-473ace569bdb", e._sentryDebugIdIdentifier = "sentry-dbid-ee679854-23b9-4fdb-ac93-473ace569bdb");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
|
-
import { m as useApiContext, a5 as useMutation, a4 as httpPost, Q as useInvalidateRootLegalEntity, a7 as useQueryClient, au as createLogger, bo as TrustedFieldsProvider, bL as businessDetailsApiKeyMapping, bM as individualApiKeyMapping, ab as keysOf, bN as remediationHasFileUploadField, bO as dataMissingRemediationsToFieldsMap, a as useAnalyticsContext, s as summaryStep, p as useQuery, q as httpGet, ad as CountryCodes, aO as useSignalValue, bP as AdyenKycSdkError, bQ as payoutAccountFormat, bR as FormRouterContext, ah as TaskTypes, bS as remediationPayoutApiKeyMapping, bT as remediationBusinessDetailsApiKeyMapping, bU as remediationIndividualApiKeyMapping, bV as LOW_RISK_COUNTRIES, bW as EEA_Countries, h as drop, a2 as useLegalEntity, ao as ROOT_LE, aj as getCapabilityProblems, a3 as getLegalEntityCountry, bX as FormContext, b as useExperimentsContext, aA as isPartOfTrustFromLegalEntity, i as LegalEntityType, aB as hasSolePropInLegalEntity, bY as individualComponentsKeyMapping, bZ as businessDetailsComponentsKeyMapping, o as objectsDeepEqual, b_ as ValidationResult, b$ as isNotEmptyValidator, k as isEmpty, c0 as hasText, c1 as matchesRegex, c2 as trimValWithOneSpace, c3 as NO_ALPHABET_REGEX, c4 as EMOJI_REGEX, c5 as hasRepeatedCharacters, c6 as isInvalidName, c7 as INDIVIDUAL_VALID_CHAR_REGEX, c8 as getFormattingRegEx, c9 as SPECIAL_CHARS, u as useI18nContext, ak as Modal, T as Typography, B as Button, M as MaybeModal, L as LoaderWrapper, g as Summary, at as IconButton, ap as httpDelete, ca as getLocalizedIdDocumentTypeOptions, cb as isNewlyUploadedFile, cc as getNestedPropertyKeys, j as cloneObject, cd as isValueObscured, ce as isTruthyValidator, cf as emailPattern, aZ as resolveFieldMetadata, cg as getSSNType, ch as defaultFieldMetadata, ci as defaultFieldConfig, cj as defaultFieldMetadata$1, ck as fieldConfig, cl as defaultFieldMetadata$2, cm as defaultFieldConfig$1, cn as getAgeToday, co as euCountries, cp as DecisionMakerType, a8 as createFormRules, cq as allowedCountriesForNominee, K as getAddressSchemaForCountry, N as COUNTRIES_WITH_STATES_DATASET, cr as Scenarios, r as reverseMapping, cs as getNomineeFromAssociation, aF as useAccountHolder, W as useToastContext, Y as useSettingsContext, ct as useProviderStatus, _ as getAssociatedLeAnalyticsPayload, cu as addressValidators, cv as getAsyncIdNumberValidationRule, cw as getAsyncPhoneValidationRules, cx as addressFormatters, cy as setHasMotionCaptureScenario, cz as individualForms, cA as showIndividualMotionCapture, cB as getAllowedDecisionMakerRoles, V as datasetUtilities, cC as Individual, cD as filterOutUnwantedAssociationsIfRootLE, cE as mapAddressLabels, cF as individualDocumentForms, l as localizeDateString, cG as individualDocumentMapping, cH as individualObscuredFields, aX as getOwnEntityAssociations, cI as hasNomineesChanged, cJ as attachNomineeToRole, cK as idVerificationProviderId, cL as doArraysMatch, cM as getAvailableDecisionMakerRoleTypes, F as Field, t as Select, cN as licenseCardNumberDefaultMetadata, cO as licenseCardNumberDefaultConfig, aY as mergeFieldMetadataIntoProps, H as createFormUtils, cP as useFormContext, b0 as getFieldProps, cQ as idNumberFields, cR as IdentityNumber, cS as additionallIdNumberOptions, cT as MaskedInput, y as InputDate, cU as formatDateObj, cV as DriversLicense, cW as addressFields, bt as useAllowedCountries, cX as getDefaultTaxIdNumberType, b2 as FormHeader, G as ErrorPanel, b8 as CountryField, O as Address, P as getAddressSchemaLabelsByCountry, v as Link, cY as IndividualIdNumberTypeSelector, cZ as TaxInformationField, c_ as PatriotActDisclosure, b1 as nameFields, c$ as decisionMakerRoleFields, d0 as nomineeFields, d1 as contactDetailFields, aq as Alert, bj as ContextGuidance, d2 as DecisionMakerRole, d3 as NomineeDecisionMakerRole, b7 as Name, I as InputText, d4 as ContactDetails, d5 as Svg, d6 as isEmpty$1, d7 as RadioWithLabel, d8 as pick, d9 as IdVerification, S as Spacer, av as useDataset, aw as datasetIdentifier, a0 as Loader, da as IdDocumentManualUpload, db as useId, a1 as Icon, dc as KEYBOARD_KEYS, aJ as noop, dd as idDocumentUploadFields, de as useFormRouterContext, $ as getFormProps, df as useCapabilities, dg as setShowIndividualMotionCapture, dh as shouldShowMotionCapture, di as hasMotionCaptureScenario, dj as MemoizedProofOfRelationship, dk as MemoizedDocumentUpload, dl as MemoizedProofOfResidencyUpload, aG as EntityType } from "./EventEmitter-
|
|
11
|
+
import { m as useApiContext, a5 as useMutation, a4 as httpPost, Q as useInvalidateRootLegalEntity, a7 as useQueryClient, au as createLogger, bo as TrustedFieldsProvider, bL as businessDetailsApiKeyMapping, bM as individualApiKeyMapping, ab as keysOf, bN as remediationHasFileUploadField, bO as dataMissingRemediationsToFieldsMap, a as useAnalyticsContext, s as summaryStep, p as useQuery, q as httpGet, ad as CountryCodes, aO as useSignalValue, bP as AdyenKycSdkError, bQ as payoutAccountFormat, bR as FormRouterContext, ah as TaskTypes, bS as remediationPayoutApiKeyMapping, bT as remediationBusinessDetailsApiKeyMapping, bU as remediationIndividualApiKeyMapping, bV as LOW_RISK_COUNTRIES, bW as EEA_Countries, h as drop, a2 as useLegalEntity, ao as ROOT_LE, aj as getCapabilityProblems, a3 as getLegalEntityCountry, bX as FormContext, b as useExperimentsContext, aA as isPartOfTrustFromLegalEntity, i as LegalEntityType, aB as hasSolePropInLegalEntity, bY as individualComponentsKeyMapping, bZ as businessDetailsComponentsKeyMapping, o as objectsDeepEqual, b_ as ValidationResult, b$ as isNotEmptyValidator, k as isEmpty, c0 as hasText, c1 as matchesRegex, c2 as trimValWithOneSpace, c3 as NO_ALPHABET_REGEX, c4 as EMOJI_REGEX, c5 as hasRepeatedCharacters, c6 as isInvalidName, c7 as INDIVIDUAL_VALID_CHAR_REGEX, c8 as getFormattingRegEx, c9 as SPECIAL_CHARS, u as useI18nContext, ak as Modal, T as Typography, B as Button, M as MaybeModal, L as LoaderWrapper, g as Summary, at as IconButton, ap as httpDelete, ca as getLocalizedIdDocumentTypeOptions, cb as isNewlyUploadedFile, cc as getNestedPropertyKeys, j as cloneObject, cd as isValueObscured, ce as isTruthyValidator, cf as emailPattern, aZ as resolveFieldMetadata, cg as getSSNType, ch as defaultFieldMetadata, ci as defaultFieldConfig, cj as defaultFieldMetadata$1, ck as fieldConfig, cl as defaultFieldMetadata$2, cm as defaultFieldConfig$1, cn as getAgeToday, co as euCountries, cp as DecisionMakerType, a8 as createFormRules, cq as allowedCountriesForNominee, K as getAddressSchemaForCountry, N as COUNTRIES_WITH_STATES_DATASET, cr as Scenarios, r as reverseMapping, cs as getNomineeFromAssociation, aF as useAccountHolder, W as useToastContext, Y as useSettingsContext, ct as useProviderStatus, _ as getAssociatedLeAnalyticsPayload, cu as addressValidators, cv as getAsyncIdNumberValidationRule, cw as getAsyncPhoneValidationRules, cx as addressFormatters, cy as setHasMotionCaptureScenario, cz as individualForms, cA as showIndividualMotionCapture, cB as getAllowedDecisionMakerRoles, V as datasetUtilities, cC as Individual, cD as filterOutUnwantedAssociationsIfRootLE, cE as mapAddressLabels, cF as individualDocumentForms, l as localizeDateString, cG as individualDocumentMapping, cH as individualObscuredFields, aX as getOwnEntityAssociations, cI as hasNomineesChanged, cJ as attachNomineeToRole, cK as idVerificationProviderId, cL as doArraysMatch, cM as getAvailableDecisionMakerRoleTypes, F as Field, t as Select, cN as licenseCardNumberDefaultMetadata, cO as licenseCardNumberDefaultConfig, aY as mergeFieldMetadataIntoProps, H as createFormUtils, cP as useFormContext, b0 as getFieldProps, cQ as idNumberFields, cR as IdentityNumber, cS as additionallIdNumberOptions, cT as MaskedInput, y as InputDate, cU as formatDateObj, cV as DriversLicense, cW as addressFields, bt as useAllowedCountries, cX as getDefaultTaxIdNumberType, b2 as FormHeader, G as ErrorPanel, b8 as CountryField, O as Address, P as getAddressSchemaLabelsByCountry, v as Link, cY as IndividualIdNumberTypeSelector, cZ as TaxInformationField, c_ as PatriotActDisclosure, b1 as nameFields, c$ as decisionMakerRoleFields, d0 as nomineeFields, d1 as contactDetailFields, aq as Alert, bj as ContextGuidance, d2 as DecisionMakerRole, d3 as NomineeDecisionMakerRole, b7 as Name, I as InputText, d4 as ContactDetails, d5 as Svg, d6 as isEmpty$1, d7 as RadioWithLabel, d8 as pick, d9 as IdVerification, S as Spacer, av as useDataset, aw as datasetIdentifier, a0 as Loader, da as IdDocumentManualUpload, db as useId, a1 as Icon, dc as KEYBOARD_KEYS, aJ as noop, dd as idDocumentUploadFields, de as useFormRouterContext, $ as getFormProps, df as useCapabilities, dg as setShowIndividualMotionCapture, dh as shouldShowMotionCapture, di as hasMotionCaptureScenario, dj as MemoizedProofOfRelationship, dk as MemoizedDocumentUpload, dl as MemoizedProofOfResidencyUpload, aG as EntityType } from "./EventEmitter-CzgfRWAv.js";
|
|
12
12
|
import { useState, useEffect, useMemo, useCallback, useReducer, useRef } from "preact/hooks";
|
|
13
13
|
import cx from "classnames";
|
|
14
14
|
import { l as listToRecord } from "./listToRecord-CO3M1Q74.js";
|
|
@@ -6002,7 +6002,7 @@ const proofOfResidencyFormID = individualOnfidoForms.proofOfResidency.formId;
|
|
|
6002
6002
|
const proofOfNationalIdFormID = individualOnfidoForms.proofOfNationalId.formId;
|
|
6003
6003
|
const proofOfRelationshipFormID = individualOnfidoForms.proofOfRelationship.formId;
|
|
6004
6004
|
function IndividualOnfido(props) {
|
|
6005
|
-
var _a, _b, _c, _d;
|
|
6005
|
+
var _a, _b, _c, _d, _e;
|
|
6006
6006
|
const { i18n } = useI18nContext();
|
|
6007
6007
|
const {
|
|
6008
6008
|
form: { errors, valid, fieldProblems: fieldValidationErrors, handleChangeFor, setFormData }
|
|
@@ -6097,8 +6097,8 @@ function IndividualOnfido(props) {
|
|
|
6097
6097
|
hasMotionScenario: (_b2 = hasMotionCaptureScenario) == null ? void 0 : _b2.value
|
|
6098
6098
|
})
|
|
6099
6099
|
);
|
|
6100
|
-
}, [(_b = data == null ? void 0 : data.basicDetails) == null ? void 0 : _b.role, taskType, capabilities]);
|
|
6101
|
-
const fullName = `${(
|
|
6100
|
+
}, [(_b = data == null ? void 0 : data.basicDetails) == null ? void 0 : _b.role, taskType, capabilities, (_c = hasMotionCaptureScenario) == null ? void 0 : _c.value]);
|
|
6101
|
+
const fullName = `${(_d = data == null ? void 0 : data.basicDetails) == null ? void 0 : _d.firstName} ${(_e = data == null ? void 0 : data.basicDetails) == null ? void 0 : _e.lastName}`;
|
|
6102
6102
|
const handleFieldChange = (formName) => (fieldName, mode) => handleChangeFor(fieldName, formName, mode);
|
|
6103
6103
|
const handleDescriptionLinkClick = () => {
|
|
6104
6104
|
};
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
|
-
import { a2 as useLegalEntity, ao as ROOT_LE, a0 as Loader, u as useI18nContext, a as useAnalyticsContext, W as useToastContext, a7 as useQueryClient, aZ as resolveFieldMetadata, cj as defaultFieldMetadata, ck as fieldConfig, cw as getAsyncPhoneValidationRules, b2 as FormHeader, d4 as ContactDetails, bd as ActionBar, au as createLogger } from "./EventEmitter-
|
|
11
|
+
import { a2 as useLegalEntity, ao as ROOT_LE, a0 as Loader, u as useI18nContext, a as useAnalyticsContext, W as useToastContext, a7 as useQueryClient, aZ as resolveFieldMetadata, cj as defaultFieldMetadata, ck as fieldConfig, cw as getAsyncPhoneValidationRules, b2 as FormHeader, d4 as ContactDetails, bd as ActionBar, au as createLogger } from "./EventEmitter-CzgfRWAv.js";
|
|
12
12
|
import { useCallback, useMemo, useEffect } from "preact/hooks";
|
|
13
|
-
import { a as useUpdateLegalEntity, I as contactDetailsValidationRules, J as useValidatePhoneNumberImperatively, K as useMultiForm } from "./CreateIndividualComponent-
|
|
13
|
+
import { a as useUpdateLegalEntity, I as contactDetailsValidationRules, J as useValidatePhoneNumberImperatively, K as useMultiForm } from "./CreateIndividualComponent-sONOk9nw.js";
|
|
14
14
|
const mapCustomerSupportSchemaToCustomerSupportType = (customerSupport) => {
|
|
15
15
|
var _a, _b, _c;
|
|
16
16
|
return {
|
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "f59c88a2-bc03-4dc1-9d6e-d609094796e8", e._sentryDebugIdIdentifier = "sentry-dbid-f59c88a2-bc03-4dc1-9d6e-d609094796e8");
|
|
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 { B as Button, e as entriesOf, I as InputText, u as useI18nContext, dp as splitTaskIdentifier, b as useExperimentsContext, Y as useSettingsContext, aO as useSignalValue, aP as useGlobalStore, dq as valuesOf, ak as Modal, au as createLogger, a1 as Icon, Z as SettingNames } from "./EventEmitter-
|
|
12
|
+
import { B as Button, e as entriesOf, I as InputText, u as useI18nContext, dp as splitTaskIdentifier, b as useExperimentsContext, Y as useSettingsContext, aO as useSignalValue, aP as useGlobalStore, dq as valuesOf, ak as Modal, au as createLogger, a1 as Icon, Z as SettingNames } from "./EventEmitter-CzgfRWAv.js";
|
|
13
13
|
import { l as listToRecord } from "./listToRecord-CO3M1Q74.js";
|
|
14
|
-
import { T as Tag, a as TaskItemStatus } from "./TaskItemStatus-
|
|
14
|
+
import { T as Tag, a as TaskItemStatus } from "./TaskItemStatus-BAB2JvM0.js";
|
|
15
15
|
var ExperimentNames = /* @__PURE__ */ ((ExperimentNames2) => {
|
|
16
16
|
ExperimentNames2["AllowMoreRolesForMainRootTrustee"] = "AllowMoreRolesForMainRootTrustee";
|
|
17
17
|
ExperimentNames2["ShowUnsupportedEntityType"] = "ShowUnsupportedEntityType";
|
|
@@ -178,10 +178,10 @@ const transformModule = (highlights, codeNode, scope) => {
|
|
|
178
178
|
};
|
|
179
179
|
const supportedModules = ["plaintext", "json", "yaml", "css"];
|
|
180
180
|
const moduleMap = {
|
|
181
|
-
plaintext: () => import("./plaintext-
|
|
182
|
-
json: () => import("./json-
|
|
183
|
-
yaml: () => import("./yaml-
|
|
184
|
-
css: () => import("./css-
|
|
181
|
+
plaintext: () => import("./plaintext-BF-9vQ8Q.js"),
|
|
182
|
+
json: () => import("./json-DHQJSjrH.js"),
|
|
183
|
+
yaml: () => import("./yaml-BsCaKulN.js"),
|
|
184
|
+
css: () => import("./css-CJ8Vkl-J.js")
|
|
185
185
|
};
|
|
186
186
|
const getModule = async (name) => {
|
|
187
187
|
if (!supportedModules.includes(name)) {
|
|
@@ -472,7 +472,7 @@ const DebugModal = ({ onExit }) => {
|
|
|
472
472
|
const [tab, setTab] = useState("metadata");
|
|
473
473
|
const rootLegalEntity = useSignalValue(useGlobalStore().rootLegalEntity);
|
|
474
474
|
const metadata = {
|
|
475
|
-
sdkVersion: "3.72.
|
|
475
|
+
sdkVersion: "3.72.4",
|
|
476
476
|
locale: i18n.locale,
|
|
477
477
|
rootLegalEntityId: rootLegalEntity.id
|
|
478
478
|
};
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { a2 as useLegalEntity, a6 as skipToken, b as useExperimentsContext, a0 as Loader, a3 as getLegalEntityCountry, aG as EntityType, ah as TaskTypes, aJ as noop } from "./EventEmitter-
|
|
12
|
-
import { G as useCapabilityProblems, N as getProblemsForEntity, Q as isOnfidoAutofillFlowEnabled, R as IndividualOnfidoDropin, U as IndividualDropin } from "./CreateIndividualComponent-
|
|
11
|
+
import { a2 as useLegalEntity, a6 as skipToken, b as useExperimentsContext, a0 as Loader, a3 as getLegalEntityCountry, aG as EntityType, ah as TaskTypes, aJ as noop } from "./EventEmitter-CzgfRWAv.js";
|
|
12
|
+
import { G as useCapabilityProblems, N as getProblemsForEntity, Q as isOnfidoAutofillFlowEnabled, R as IndividualOnfidoDropin, U as IndividualDropin } from "./CreateIndividualComponent-sONOk9nw.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 { a2 as useLegalEntity, ao as ROOT_LE, a0 as Loader, aL as useGetTaskStatus, u as useI18nContext, a as useAnalyticsContext, W as useToastContext, bp as getOwnDecisionMakers, cM as getAvailableDecisionMakerRoleTypes, ah as TaskTypes, cB as getAllowedDecisionMakerRoles, b2 as FormHeader, bj as ContextGuidance, cp as DecisionMakerType, aq as Alert, aM as CardGroup, B as Button, bd as ActionBar } from "./EventEmitter-
|
|
13
|
-
import { G as useCapabilityProblems, a as useUpdateLegalEntity } from "./CreateIndividualComponent-
|
|
14
|
-
import { b as useDataMissingRemediations, D as DropinLayout, E as EntityGuidanceStatus, i as iconStatus, c as EntityAssociation } from "./core-
|
|
12
|
+
import { a2 as useLegalEntity, ao as ROOT_LE, a0 as Loader, aL as useGetTaskStatus, u as useI18nContext, a as useAnalyticsContext, W as useToastContext, bp as getOwnDecisionMakers, cM as getAvailableDecisionMakerRoleTypes, ah as TaskTypes, cB as getAllowedDecisionMakerRoles, b2 as FormHeader, bj as ContextGuidance, cp as DecisionMakerType, aq as Alert, aM as CardGroup, B as Button, bd as ActionBar } from "./EventEmitter-CzgfRWAv.js";
|
|
13
|
+
import { G as useCapabilityProblems, a as useUpdateLegalEntity } from "./CreateIndividualComponent-sONOk9nw.js";
|
|
14
|
+
import { b as useDataMissingRemediations, D as DropinLayout, E as EntityGuidanceStatus, i as iconStatus, c as EntityAssociation } from "./core-5FdDgGAA.js";
|
|
15
15
|
const DecisionMakers = (props) => {
|
|
16
16
|
const { data, isLoading } = useLegalEntity(ROOT_LE);
|
|
17
17
|
if (isLoading || !data) {
|
|
@@ -2,13 +2,13 @@
|
|
|
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] = "ed76feb2-a3f2-4737-b7f6-2c25b1f2a5d7", e._sentryDebugIdIdentifier = "sentry-dbid-ed76feb2-a3f2-4737-b7f6-2c25b1f2a5d7");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
|
|
11
|
-
import { dm as refreshSession, B as Button, a0 as Loader, bx as SettingsProvider, by as ExperimentsContextProvider, bz as ApiProvider, bA as QueryClientProvider, bB as StoreProvider, bC as AnalyticsProvider, bD as I18nProvider, bw as EventEmitter, bE as DebugListener, bF as ToastContextProvider, bG as StateProvider, bH as ReactQueryDevtools2, bK as setSdkTokenHandler } from "./EventEmitter-
|
|
11
|
+
import { dm as refreshSession, B as Button, a0 as Loader, bx as SettingsProvider, by as ExperimentsContextProvider, bz as ApiProvider, bA as QueryClientProvider, bB as StoreProvider, bC as AnalyticsProvider, bD as I18nProvider, bw as EventEmitter, bE as DebugListener, bF as ToastContextProvider, bG as StateProvider, bH as ReactQueryDevtools2, bK as setSdkTokenHandler } from "./EventEmitter-CzgfRWAv.js";
|
|
12
12
|
import { useState, useEffect } from "preact/hooks";
|
|
13
13
|
function injectCss(shadowRoot) {
|
|
14
14
|
{
|
|
@@ -57,7 +57,7 @@ const EmbedShell = ({
|
|
|
57
57
|
}
|
|
58
58
|
return /* @__PURE__ */ jsx(SettingsProvider, { settings, children: /* @__PURE__ */ jsx(ExperimentsContextProvider, { experiments, refreshExperiments, children: /* @__PURE__ */ jsx(ApiProvider, { rootLegalEntityId: legalEntityId, baseUrl, children: /* @__PURE__ */ jsx(QueryClientProvider, { children: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
59
59
|
/* @__PURE__ */ jsxs(StoreProvider, { children: [
|
|
60
|
-
/* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.72.
|
|
60
|
+
/* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.72.4" }),
|
|
61
61
|
/* @__PURE__ */ jsx(
|
|
62
62
|
AnalyticsProvider,
|
|
63
63
|
{
|
|
@@ -19,7 +19,7 @@ var _focused, _cleanup, _setup, _a, _online, _cleanup2, _setup2, _b, _gcTimeout,
|
|
|
19
19
|
{
|
|
20
20
|
try {
|
|
21
21
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
22
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
22
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "3c3d95ec-ab1d-4e3d-9d31-759abe5f9c90", e._sentryDebugIdIdentifier = "sentry-dbid-3c3d95ec-ab1d-4e3d-9d31-759abe5f9c90");
|
|
23
23
|
} catch (e) {
|
|
24
24
|
}
|
|
25
25
|
}
|
|
@@ -1851,8 +1851,8 @@ const defaultLocaleTranslations = {
|
|
|
1851
1851
|
undoWithTimer: "Undo... %{secondsLeft}",
|
|
1852
1852
|
unfortunatelyAnInstantProvider: "Unfortunately an instant provider isn’t available for this country.",
|
|
1853
1853
|
unincorporatedDetails: "Unincorporated partnership details",
|
|
1854
|
-
unincorporatedPartnershipMembers: "Unincorporated
|
|
1855
|
-
unincorporatedPartnershipType: "Unincorporated
|
|
1854
|
+
unincorporatedPartnershipMembers: "Unincorporated partnership members",
|
|
1855
|
+
unincorporatedPartnershipType: "Unincorporated partnership Type",
|
|
1856
1856
|
uniqueIdentificationCode: "Unique identification code (ЕИК/UIC)",
|
|
1857
1857
|
unknown: "Unknown",
|
|
1858
1858
|
unlistedPublicUnitTrust: "Unlisted public unit trust",
|
|
@@ -27183,7 +27183,7 @@ function Individual(props) {
|
|
|
27183
27183
|
hasMotionScenario: hasMotionCaptureScenario == null ? void 0 : hasMotionCaptureScenario.value
|
|
27184
27184
|
})
|
|
27185
27185
|
);
|
|
27186
|
-
}, [(_i2 = data == null ? void 0 : data.personalDetails) == null ? void 0 : _i2.role, capabilities, taskType]);
|
|
27186
|
+
}, [(_i2 = data == null ? void 0 : data.personalDetails) == null ? void 0 : _i2.role, capabilities, taskType, hasMotionCaptureScenario == null ? void 0 : hasMotionCaptureScenario.value]);
|
|
27187
27187
|
const renderActiveForm = (activeForm) => {
|
|
27188
27188
|
var _a3, _b3, _c3, _d3, _e3, _f3;
|
|
27189
27189
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
@@ -31662,7 +31662,7 @@ var TanstackQueryDevtools = (_l = class {
|
|
|
31662
31662
|
if (__privateGet(this, _Component)) {
|
|
31663
31663
|
Devtools = __privateGet(this, _Component);
|
|
31664
31664
|
} else {
|
|
31665
|
-
Devtools = lazy(() => import("./I3HPI4QX-
|
|
31665
|
+
Devtools = lazy(() => import("./I3HPI4QX-DA5fm-8_.js"));
|
|
31666
31666
|
__privateSet(this, _Component, Devtools);
|
|
31667
31667
|
}
|
|
31668
31668
|
setupStyleSheet(__privateGet(this, _styleNonce), __privateGet(this, _shadowDOMTarget));
|
|
@@ -31784,7 +31784,7 @@ var TanstackQueryDevtoolsPanel = (_m = class {
|
|
|
31784
31784
|
if (__privateGet(this, _Component2)) {
|
|
31785
31785
|
Devtools = __privateGet(this, _Component2);
|
|
31786
31786
|
} else {
|
|
31787
|
-
Devtools = lazy(() => import("./CXEL7IU7-
|
|
31787
|
+
Devtools = lazy(() => import("./CXEL7IU7-CvXEJiqY.js"));
|
|
31788
31788
|
__privateSet(this, _Component2, Devtools);
|
|
31789
31789
|
}
|
|
31790
31790
|
setupStyleSheet(__privateGet(this, _styleNonce2), __privateGet(this, _shadowDOMTarget2));
|
|
@@ -31991,7 +31991,7 @@ const convertToEmbeddedEvent = (eventQueueItem, sessionData) => {
|
|
|
31991
31991
|
};
|
|
31992
31992
|
};
|
|
31993
31993
|
const useAnalytics = ({ userEvents: userEvents2, sessionId, sessionData }) => {
|
|
31994
|
-
const sdkVersion = "3.72.
|
|
31994
|
+
const sdkVersion = "3.72.4";
|
|
31995
31995
|
const { data: rootLegalEntity } = useLegalEntity(ROOT_LE);
|
|
31996
31996
|
const { mutateAsync } = usePushAnalyticEvent(sessionId ?? "");
|
|
31997
31997
|
useEffect(() => {
|
|
@@ -32059,7 +32059,7 @@ const AnalyticsProvider = ({
|
|
|
32059
32059
|
const { onboardingVersion } = useVersion();
|
|
32060
32060
|
const userEvents2 = useMemo(() => createUserEvents(), []);
|
|
32061
32061
|
const sessionData = {
|
|
32062
|
-
sdkVersion: "3.72.
|
|
32062
|
+
sdkVersion: "3.72.4",
|
|
32063
32063
|
componentName,
|
|
32064
32064
|
userAgent: navigator.userAgent,
|
|
32065
32065
|
legalEntityId,
|
|
@@ -32444,7 +32444,7 @@ function StateProvider({
|
|
|
32444
32444
|
);
|
|
32445
32445
|
return /* @__PURE__ */ jsx$1(StateContext.Provider, { value: contextValue, children: children2 });
|
|
32446
32446
|
}
|
|
32447
|
-
const DebugModal = lazy$1(async () => (await import("./DebugModal-
|
|
32447
|
+
const DebugModal = lazy$1(async () => (await import("./DebugModal-DYMeTDAV.js").then((n) => n.D)).DebugModal);
|
|
32448
32448
|
const DebugListener = () => {
|
|
32449
32449
|
const [debugUiOpen, setDebugUiOpen] = useState(false);
|
|
32450
32450
|
const { isSettingEnabled } = useSettingsContext();
|
|
@@ -10,7 +10,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
12
|
;
|
|
13
|
-
import { eb as createContext, ec as createSignal, ed as onMount, ee as createEffect, e9 as createMemo, ea as createComponent, ef as Portal, eg as Show, eh as template, ei as insert, ej as createRenderEffect, ek as className, el as clearDelegatedEvents, em as delegateEvents, en as useContext, eo as onCleanup, ep as sortFns, eq as mutationSortFns, er as on, es as setAttribute, et as getSidedProp, eu as use, ev as createUniqueId, ew as batch, ex as getQueryStatusLabel, ey as getMutationStatusColor, ez as getQueryStatusColor, eA as getQueryStatusColorByLabel, eB as displayValue, eC as For, eD as convertRemToPixels, eE as untrack, eF as $TRACK, eG as useTransition, eH as spread, eI as mergeProps, eJ as createRoot, eK as serialize, eL as Index, eM as updateNestedDataByPath, eN as addEventListener, eO as stringify, eP as Match, eQ as Switch, eR as deleteNestedDataByPath, eS as splitProps, eT as Dynamic, eU as createComputed } from "./EventEmitter-
|
|
13
|
+
import { eb as createContext, ec as createSignal, ed as onMount, ee as createEffect, e9 as createMemo, ea as createComponent, ef as Portal, eg as Show, eh as template, ei as insert, ej as createRenderEffect, ek as className, el as clearDelegatedEvents, em as delegateEvents, en as useContext, eo as onCleanup, ep as sortFns, eq as mutationSortFns, er as on, es as setAttribute, et as getSidedProp, eu as use, ev as createUniqueId, ew as batch, ex as getQueryStatusLabel, ey as getMutationStatusColor, ez as getQueryStatusColor, eA as getQueryStatusColorByLabel, eB as displayValue, eC as For, eD as convertRemToPixels, eE as untrack, eF as $TRACK, eG as useTransition, eH as spread, eI as mergeProps, eJ as createRoot, eK as serialize, eL as Index, eM as updateNestedDataByPath, eN as addEventListener, eO as stringify, eP as Match, eQ as Switch, eR as deleteNestedDataByPath, eS as splitProps, eT as Dynamic, eU as createComputed } from "./EventEmitter-CzgfRWAv.js";
|
|
14
14
|
var isNonNullable = (i2) => i2 != null;
|
|
15
15
|
var filterNonNullable = (arr) => arr.filter(isNonNullable);
|
|
16
16
|
function chain(callbacks) {
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { c as createLocalStorage, T as THEME_PREFERENCE, P as PiPProvider, a as ThemeContext, D as Devtools, Q as QueryDevtoolsContext } from "./HASRA6WW-
|
|
11
|
-
import { e8 as getPreferredColorScheme, e9 as createMemo, ea as createComponent } from "./EventEmitter-
|
|
10
|
+
import { c as createLocalStorage, T as THEME_PREFERENCE, P as PiPProvider, a as ThemeContext, D as Devtools, Q as QueryDevtoolsContext } from "./HASRA6WW-DIKU4smF.js";
|
|
11
|
+
import { e8 as getPreferredColorScheme, e9 as createMemo, ea as createComponent } from "./EventEmitter-CzgfRWAv.js";
|
|
12
12
|
var DevtoolsComponent = (props) => {
|
|
13
13
|
const [localStore, setLocalStore] = createLocalStorage({
|
|
14
14
|
prefix: "TanstackQueryDevtools"
|
|
@@ -9,10 +9,10 @@
|
|
|
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 { ah as TaskTypes, i as LegalEntityType, dr as getTranslationKeysByPrefix, u as useI18nContext, a2 as useLegalEntity, ao as ROOT_LE, a0 as Loader, a as useAnalyticsContext, B as Button } from "./EventEmitter-
|
|
13
|
-
import { S as StepProgressIndicator } from "./AcceptTermsOfServiceComponent-
|
|
12
|
+
import { ah as TaskTypes, i as LegalEntityType, dr as getTranslationKeysByPrefix, u as useI18nContext, a2 as useLegalEntity, ao as ROOT_LE, a0 as Loader, a as useAnalyticsContext, B as Button } from "./EventEmitter-CzgfRWAv.js";
|
|
13
|
+
import { S as StepProgressIndicator } from "./AcceptTermsOfServiceComponent-DHkK0S6k.js";
|
|
14
14
|
import { useMemo } from "preact/compat";
|
|
15
|
-
import { u as useCanSeeIntroduction, a as useLegalEntityType } from "./core-
|
|
15
|
+
import { u as useCanSeeIntroduction, a as useLegalEntityType } from "./core-5FdDgGAA.js";
|
|
16
16
|
import { t as toCapitalized } from "./toCapitalized-Bq7laD0b.js";
|
|
17
17
|
var IntroductionScreens = ((IntroductionScreens2) => {
|
|
18
18
|
IntroductionScreens2["PROLOGUE"] = "PROLOGUE";
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { a2 as useLegalEntity, a6 as skipToken, ao as ROOT_LE, b as useExperimentsContext, a0 as Loader, a3 as getLegalEntityCountry, aG as EntityType, ah as TaskTypes, aJ as noop } from "./EventEmitter-
|
|
12
|
-
import { G as useCapabilityProblems, N as getProblemsForEntity, Q as isOnfidoAutofillFlowEnabled, R as IndividualOnfidoDropin, U as IndividualDropin } from "./CreateIndividualComponent-
|
|
11
|
+
import { a2 as useLegalEntity, a6 as skipToken, ao as ROOT_LE, b as useExperimentsContext, a0 as Loader, a3 as getLegalEntityCountry, aG as EntityType, ah as TaskTypes, aJ as noop } from "./EventEmitter-CzgfRWAv.js";
|
|
12
|
+
import { G as useCapabilityProblems, N as getProblemsForEntity, Q as isOnfidoAutofillFlowEnabled, R as IndividualOnfidoDropin, U as IndividualDropin } from "./CreateIndividualComponent-sONOk9nw.js";
|
|
13
13
|
function LegalRepresentativeDetailsPage({
|
|
14
14
|
legalRepresentativeId,
|
|
15
15
|
asModal = false,
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { a2 as useLegalEntity, ao as ROOT_LE, U as useAssociatedLegalEntity, i as LegalEntityType, df as useCapabilities, a0 as Loader, aG as EntityType, ab as keysOf } from "./EventEmitter-
|
|
12
|
-
import { G as useCapabilityProblems, N as getProblemsForEntity } from "./CreateIndividualComponent-
|
|
13
|
-
import { P as PayoutDetailsDropin } from "./core-
|
|
11
|
+
import { a2 as useLegalEntity, ao as ROOT_LE, U as useAssociatedLegalEntity, i as LegalEntityType, df as useCapabilities, a0 as Loader, aG as EntityType, ab as keysOf } from "./EventEmitter-CzgfRWAv.js";
|
|
12
|
+
import { G as useCapabilityProblems, N as getProblemsForEntity } from "./CreateIndividualComponent-sONOk9nw.js";
|
|
13
|
+
import { P as PayoutDetailsDropin } from "./core-5FdDgGAA.js";
|
|
14
14
|
function PayoutDetailsPage({
|
|
15
15
|
transferInstrumentId,
|
|
16
16
|
setTransferInstrumentId,
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { useState } from "preact/hooks";
|
|
12
|
-
import { m as useApiContext, a5 as useMutation, a4 as httpPost, u as useI18nContext, W as useToastContext, L as LoaderWrapper, b2 as FormHeader, bq as Checkbox, bd as ActionBar } from "./EventEmitter-
|
|
13
|
-
import { D as DropinLayout } from "./core-
|
|
12
|
+
import { m as useApiContext, a5 as useMutation, a4 as httpPost, u as useI18nContext, W as useToastContext, L as LoaderWrapper, b2 as FormHeader, bq as Checkbox, bd as ActionBar } from "./EventEmitter-CzgfRWAv.js";
|
|
13
|
+
import { D as DropinLayout } from "./core-5FdDgGAA.js";
|
|
14
14
|
const confirmReview = async (legalEntityId, baseUrl) => {
|
|
15
15
|
return httpPost({
|
|
16
16
|
baseUrl,
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { aF as useAccountHolder, a2 as useLegalEntity, ao as ROOT_LE, a0 as Loader, aA as isPartOfTrustFromLegalEntity, aG as EntityType, a3 as getLegalEntityCountry, ah as TaskTypes } from "./EventEmitter-
|
|
12
|
-
import { G as useCapabilityProblems, N as getProblemsForEntity } from "./CreateIndividualComponent-
|
|
13
|
-
import { B as BusinessDetailsDropin } from "./BusinessDetailsDropin-
|
|
11
|
+
import { aF as useAccountHolder, a2 as useLegalEntity, ao as ROOT_LE, a0 as Loader, aA as isPartOfTrustFromLegalEntity, aG as EntityType, a3 as getLegalEntityCountry, ah as TaskTypes } from "./EventEmitter-CzgfRWAv.js";
|
|
12
|
+
import { G as useCapabilityProblems, N as getProblemsForEntity } from "./CreateIndividualComponent-sONOk9nw.js";
|
|
13
|
+
import { B as BusinessDetailsDropin } from "./BusinessDetailsDropin-B9uPe28F.js";
|
|
14
14
|
const RootBusinessDetailsPage = ({
|
|
15
15
|
isTargetLegalEntityType = false,
|
|
16
16
|
onSubmit,
|
package/dist/{RootIndividualDetailsPage-De3X-I9y.js → RootIndividualDetailsPage-Bd2NdUyL.js}
RENAMED
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { a2 as useLegalEntity, ao as ROOT_LE, b as useExperimentsContext, aF as useAccountHolder, a0 as Loader, a3 as getLegalEntityCountry, aA as isPartOfTrustFromLegalEntity, aG as EntityType, ah as TaskTypes, aJ as noop } from "./EventEmitter-
|
|
12
|
-
import { G as useCapabilityProblems, N as getProblemsForEntity, Q as isOnfidoAutofillFlowEnabled, R as IndividualOnfidoDropin, U as IndividualDropin } from "./CreateIndividualComponent-
|
|
11
|
+
import { a2 as useLegalEntity, ao as ROOT_LE, b as useExperimentsContext, aF as useAccountHolder, a0 as Loader, a3 as getLegalEntityCountry, aA as isPartOfTrustFromLegalEntity, aG as EntityType, ah as TaskTypes, aJ as noop } from "./EventEmitter-CzgfRWAv.js";
|
|
12
|
+
import { G as useCapabilityProblems, N as getProblemsForEntity, Q as isOnfidoAutofillFlowEnabled, R as IndividualOnfidoDropin, U as IndividualDropin } from "./CreateIndividualComponent-sONOk9nw.js";
|
|
13
13
|
function RootIndividualDetailsPage({
|
|
14
14
|
asModal = false,
|
|
15
15
|
hideSidebar = false,
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { useState } from "preact/hooks";
|
|
12
|
-
import { u as useI18nContext, D as useForm, T as Typography, F as Field, b5 as RadioGroupCard, B as Button, d5 as Svg, i as LegalEntityType } from "./EventEmitter-
|
|
12
|
+
import { u as useI18nContext, D as useForm, T as Typography, F as Field, b5 as RadioGroupCard, B as Button, d5 as Svg, i as LegalEntityType } from "./EventEmitter-CzgfRWAv.js";
|
|
13
13
|
const setupAccountMethods = ["singpass", "manual"];
|
|
14
14
|
const setupAccountMethodFields = ["setupAccountMethod"];
|
|
15
15
|
const getSingpassSelectionDisabled = (legalEntityType) => {
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { a2 as useLegalEntity, ao as ROOT_LE, a6 as skipToken, a0 as Loader, aG as EntityType, a3 as getLegalEntityCountry, ah as TaskTypes } from "./EventEmitter-
|
|
12
|
-
import { G as useCapabilityProblems, N as getProblemsForEntity } from "./CreateIndividualComponent-
|
|
13
|
-
import { B as BusinessDetailsDropin } from "./BusinessDetailsDropin-
|
|
11
|
+
import { a2 as useLegalEntity, ao as ROOT_LE, a6 as skipToken, a0 as Loader, aG as EntityType, a3 as getLegalEntityCountry, ah as TaskTypes } from "./EventEmitter-CzgfRWAv.js";
|
|
12
|
+
import { G as useCapabilityProblems, N as getProblemsForEntity } from "./CreateIndividualComponent-sONOk9nw.js";
|
|
13
|
+
import { B as BusinessDetailsDropin } from "./BusinessDetailsDropin-B9uPe28F.js";
|
|
14
14
|
function SoleProprietorshipPage({
|
|
15
15
|
solePropId,
|
|
16
16
|
isTargetLegalEntityType = false,
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import { u as useI18nContext, am as TaskStatus } from "./EventEmitter-
|
|
12
|
+
import { u as useI18nContext, am as TaskStatus } from "./EventEmitter-CzgfRWAv.js";
|
|
13
13
|
const inTaskStatus = "adyen-kyc-in-task-status";
|
|
14
14
|
const inTaskStatusIndicator = "adyen-kyc-in-task-status-indicator";
|
|
15
15
|
const inTaskStatusIndicatorSuccess = "adyen-kyc-in-task-status-indicator-success";
|
|
@@ -8,12 +8,12 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
|
-
import { m as useApiContext, p as useQuery, q as httpGet, Q as useInvalidateRootLegalEntity, a5 as useMutation, a4 as httpPost, i as LegalEntityType, l as localizeDateString, T as Typography, e4 as Currencies, u as useI18nContext, F as Field, e5 as InputGroup, t as Select, I as InputText, y as InputDate, b6 as TextArea, R as RadioGroup, b8 as CountryField, ak as Modal, aq as Alert, B as Button, k as isEmpty, D as useForm, E as useGlobalDataSlice, G as ErrorPanel, H as createFormUtils, a0 as Loader, a1 as Icon, $ as getFormProps, ar as Card, as as StructuredList, at as IconButton, d6 as isEmpty$1, d5 as Svg, W as useToastContext, au as createLogger, e6 as Dropzone, a7 as useQueryClient, a2 as useLegalEntity, ao as ROOT_LE, X as useStateContext, a as useAnalyticsContext, e7 as useLegalEntities, aG as EntityType, a3 as getLegalEntityCountry } from "./EventEmitter-
|
|
12
|
-
import { f as formatObject, E as Confirm, T as TileGroup, r as createDocumentRequest, u as useCreateLegalEntity, a as useUpdateLegalEntity, c as getPropsFromConfigurations, d as getRequiredForms, e as addValidityToForms, h as useFormComposer, w as documentApiUtils, G as useCapabilityProblems, N as getProblemsForEntity } from "./CreateIndividualComponent-
|
|
11
|
+
import { m as useApiContext, p as useQuery, q as httpGet, Q as useInvalidateRootLegalEntity, a5 as useMutation, a4 as httpPost, i as LegalEntityType, l as localizeDateString, T as Typography, e4 as Currencies, u as useI18nContext, F as Field, e5 as InputGroup, t as Select, I as InputText, y as InputDate, b6 as TextArea, R as RadioGroup, b8 as CountryField, ak as Modal, aq as Alert, B as Button, k as isEmpty, D as useForm, E as useGlobalDataSlice, G as ErrorPanel, H as createFormUtils, a0 as Loader, a1 as Icon, $ as getFormProps, ar as Card, as as StructuredList, at as IconButton, d6 as isEmpty$1, d5 as Svg, W as useToastContext, au as createLogger, e6 as Dropzone, a7 as useQueryClient, a2 as useLegalEntity, ao as ROOT_LE, X as useStateContext, a as useAnalyticsContext, e7 as useLegalEntities, aG as EntityType, a3 as getLegalEntityCountry } from "./EventEmitter-CzgfRWAv.js";
|
|
12
|
+
import { f as formatObject, E as Confirm, T as TileGroup, r as createDocumentRequest, u as useCreateLegalEntity, a as useUpdateLegalEntity, c as getPropsFromConfigurations, d as getRequiredForms, e as addValidityToForms, h as useFormComposer, w as documentApiUtils, G as useCapabilityProblems, N as getProblemsForEntity } from "./CreateIndividualComponent-sONOk9nw.js";
|
|
13
13
|
import { useState, useMemo, useEffect, useCallback, useRef } from "preact/hooks";
|
|
14
|
-
import { A as Avatar, v as validateDateNotInTheFuture, n as normalizedTaskStatusStore, h as hasDataChanged, F as FormWrapper } from "./core-
|
|
14
|
+
import { A as Avatar, v as validateDateNotInTheFuture, n as normalizedTaskStatusStore, h as hasDataChanged, F as FormWrapper } from "./core-5FdDgGAA.js";
|
|
15
15
|
import { signal } from "@preact/signals";
|
|
16
|
-
import { s as styles, T as TaskStatusIndicator } from "./SourceOfFunds.module-
|
|
16
|
+
import { s as styles, T as TaskStatusIndicator } from "./SourceOfFunds.module-PmQYsn_w.js";
|
|
17
17
|
import { a as formatAmountWithCurrency } from "./formatCurrency-CMOSdJMB.js";
|
|
18
18
|
import { t as toCapitalized } from "./toCapitalized-Bq7laD0b.js";
|
|
19
19
|
import isURL from "validator/es/lib/isURL.js";
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import { a0 as Loader, a1 as Icon, u as useI18nContext, am as TaskStatus, dc as KEYBOARD_KEYS } from "./EventEmitter-
|
|
12
|
+
import { a0 as Loader, a1 as Icon, u as useI18nContext, am as TaskStatus, dc as KEYBOARD_KEYS } from "./EventEmitter-CzgfRWAv.js";
|
|
13
13
|
const tag = "adyen-kyc-tag";
|
|
14
14
|
const tagGrey = "adyen-kyc-tag-grey";
|
|
15
15
|
const tagBlue = "adyen-kyc-tag-blue";
|
|
@@ -9,11 +9,11 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useState, useRef, useEffect, useMemo, useCallback } from "preact/hooks";
|
|
12
|
-
import { m as useApiContext, p as useQuery, q as httpGet, T as Typography, u as useI18nContext, cP as useFormContext, aq as Alert, F as Field, R as RadioGroup, $ as getFormProps, a1 as Icon, d6 as isEmpty, d5 as Svg, B as Button, ar as Card, as as StructuredList, at as IconButton, k as isEmpty$1, Q as useInvalidateRootLegalEntity, a as useAnalyticsContext, a2 as useLegalEntity, ao as ROOT_LE, au as createLogger, a0 as Loader } from "./EventEmitter-
|
|
13
|
-
import { a as useUpdateLegalEntity, K as useMultiForm, d as getRequiredForms, e as addValidityToForms, h as useFormComposer, L as FormContextProvider, M as FormFlow } from "./CreateIndividualComponent-
|
|
12
|
+
import { m as useApiContext, p as useQuery, q as httpGet, T as Typography, u as useI18nContext, cP as useFormContext, aq as Alert, F as Field, R as RadioGroup, $ as getFormProps, a1 as Icon, d6 as isEmpty, d5 as Svg, B as Button, ar as Card, as as StructuredList, at as IconButton, k as isEmpty$1, Q as useInvalidateRootLegalEntity, a as useAnalyticsContext, a2 as useLegalEntity, ao as ROOT_LE, au as createLogger, a0 as Loader } from "./EventEmitter-CzgfRWAv.js";
|
|
13
|
+
import { a as useUpdateLegalEntity, K as useMultiForm, d as getRequiredForms, e as addValidityToForms, h as useFormComposer, L as FormContextProvider, M as FormFlow } from "./CreateIndividualComponent-sONOk9nw.js";
|
|
14
14
|
import { signal } from "@preact/signals";
|
|
15
|
-
import { s as styles$1, T as TaskStatusIndicator } from "./SourceOfFunds.module-
|
|
16
|
-
import { n as normalizedTaskStatusStore } from "./core-
|
|
15
|
+
import { s as styles$1, T as TaskStatusIndicator } from "./SourceOfFunds.module-PmQYsn_w.js";
|
|
16
|
+
import { n as normalizedTaskStatusStore } from "./core-5FdDgGAA.js";
|
|
17
17
|
const getTaxClassification = async (legalEntityId, baseUrl) => {
|
|
18
18
|
return httpGet({
|
|
19
19
|
baseUrl,
|
|
@@ -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] = "854e3119-9dda-4370-a53f-b1dfe528548a", e._sentryDebugIdIdentifier = "sentry-dbid-854e3119-9dda-4370-a53f-b1dfe528548a");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { r as reverseMapping, dC as operationalAddressIsSameIds, i as LegalEntityType, a8 as createFormRules, ah as TaskTypes, dU as UNINCORPORATED_PARTNERSHIP_COUNTRIES_VAT_NUMBER_OPTIONAL, dV as UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_REQUIRED, dW as UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_OPTIONAL, ad as CountryCodes, dX as UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_REQUIRED, dY as UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_OPTIONAL, dG as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, dZ as trustComponentsKeyMapping, d_ as trustApiKeyMapping, d$ as updateTaxInformation, X as useStateContext, m as useApiContext, u as useI18nContext, a as useAnalyticsContext, V as datasetUtilities, b as useExperimentsContext, W as useToastContext, _ as getAssociatedLeAnalyticsPayload, e0 as trustForms, e1 as Trust, e2 as trustDocumentMapping, j as cloneObject, a3 as getLegalEntityCountry, aZ as resolveFieldMetadata, dJ as defaultFieldMetadata, dK as inferCompanyRegistrationNumberType, dL as getCompanyRegistrationNumberOptions, dM as defaultFieldConfig, cl as defaultFieldMetadata$1, dN as countryToTaxInfoTypeMap, cm as defaultFieldConfig$1, cE as mapAddressLabels, e3 as trustConstitutionalDocumentFormId, k as isEmpty, h as drop, aX as getOwnEntityAssociations, a2 as useLegalEntity, a6 as skipToken, ao as ROOT_LE, df as useCapabilities, aG as EntityType, a0 as Loader, ab as keysOf } from "./EventEmitter-
|
|
12
|
-
import { n as getDocument, o as mapExistingFile, q as getPageName, f as formatObject, r as createDocumentRequest, w as documentApiUtils, b as useScenarioConfiguration, c as getPropsFromConfigurations, O as getFieldsWithExistingData, d as getRequiredForms, e as addValidityToForms, u as useCreateLegalEntity, a as useUpdateLegalEntity, h as useFormComposer, v as augmentWithCountryConfigs, l as isValidationError, p as processValidationErrors, m as isMaintenanceModeError, g as getProp, j as composePerScenarioFormConfigurations, G as useCapabilityProblems, N as getProblemsForEntity } from "./CreateIndividualComponent-
|
|
11
|
+
import { r as reverseMapping, dC as operationalAddressIsSameIds, i as LegalEntityType, a8 as createFormRules, ah as TaskTypes, dU as UNINCORPORATED_PARTNERSHIP_COUNTRIES_VAT_NUMBER_OPTIONAL, dV as UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_REQUIRED, dW as UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_OPTIONAL, ad as CountryCodes, dX as UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_REQUIRED, dY as UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_OPTIONAL, dG as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, dZ as trustComponentsKeyMapping, d_ as trustApiKeyMapping, d$ as updateTaxInformation, X as useStateContext, m as useApiContext, u as useI18nContext, a as useAnalyticsContext, V as datasetUtilities, b as useExperimentsContext, W as useToastContext, _ as getAssociatedLeAnalyticsPayload, e0 as trustForms, e1 as Trust, e2 as trustDocumentMapping, j as cloneObject, a3 as getLegalEntityCountry, aZ as resolveFieldMetadata, dJ as defaultFieldMetadata, dK as inferCompanyRegistrationNumberType, dL as getCompanyRegistrationNumberOptions, dM as defaultFieldConfig, cl as defaultFieldMetadata$1, dN as countryToTaxInfoTypeMap, cm as defaultFieldConfig$1, cE as mapAddressLabels, e3 as trustConstitutionalDocumentFormId, k as isEmpty, h as drop, aX as getOwnEntityAssociations, a2 as useLegalEntity, a6 as skipToken, ao as ROOT_LE, df as useCapabilities, aG as EntityType, a0 as Loader, ab as keysOf } from "./EventEmitter-CzgfRWAv.js";
|
|
12
|
+
import { n as getDocument, o as mapExistingFile, q as getPageName, f as formatObject, r as createDocumentRequest, w as documentApiUtils, b as useScenarioConfiguration, c as getPropsFromConfigurations, O as getFieldsWithExistingData, d as getRequiredForms, e as addValidityToForms, u as useCreateLegalEntity, a as useUpdateLegalEntity, h as useFormComposer, v as augmentWithCountryConfigs, l as isValidationError, p as processValidationErrors, m as isMaintenanceModeError, g as getProp, j as composePerScenarioFormConfigurations, G as useCapabilityProblems, N as getProblemsForEntity } from "./CreateIndividualComponent-sONOk9nw.js";
|
|
13
13
|
import { useEffect, useState, useRef, useMemo } from "preact/hooks";
|
|
14
|
-
import { F as FormWrapper, h as hasDataChanged } from "./core-
|
|
14
|
+
import { F as FormWrapper, h as hasDataChanged } from "./core-5FdDgGAA.js";
|
|
15
15
|
const mapApiDocumentToTrustDocument = (entityId) => {
|
|
16
16
|
const constitutionalDocument = getDocument(entityId, "constitutionalDocument") || null;
|
|
17
17
|
return {
|
|
@@ -577,10 +577,10 @@ function TrustDropin({
|
|
|
577
577
|
defaultFieldMetadata$1
|
|
578
578
|
).label;
|
|
579
579
|
summaryData.trustRegistrationDetails = {
|
|
580
|
-
nameOfTrustAgreement: (_d = formData.trustRegistrationDetails) == null ? void 0 : _d.legalName,
|
|
580
|
+
[isUnincorporatedPartnership ? "legalName" : "nameOfTrustAgreement"]: (_d = formData.trustRegistrationDetails) == null ? void 0 : _d.legalName,
|
|
581
581
|
doingBusinessAs: (_e = formData.trustRegistrationDetails) == null ? void 0 : _e.doingBusinessAs,
|
|
582
582
|
countryRegionOfEstablishment: trustCountry,
|
|
583
|
-
typeOfTrustAgreement: trustType,
|
|
583
|
+
typeOfTrustAgreement: isUnincorporatedPartnership ? void 0 : trustType,
|
|
584
584
|
objectOfTrust: (_f = formData.trustRegistrationDetails) == null ? void 0 : _f.objectOfTrust,
|
|
585
585
|
[taxIdLabel]: (_i = (_h = (_g = formData.trustRegistrationDetails) == null ? void 0 : _g.taxInformation) == null ? void 0 : _h.find(
|
|
586
586
|
(taxId) => country === taxId.country
|