@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
|
@@ -8,10 +8,10 @@
|
|
|
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 { d as useTrustMembers } from "./core-
|
|
13
|
-
import { G as useCapabilityProblems, N as getProblemsForEntity } from "./CreateIndividualComponent-
|
|
14
|
-
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 { d as useTrustMembers } from "./core-5FdDgGAA.js";
|
|
13
|
+
import { G as useCapabilityProblems, N as getProblemsForEntity } from "./CreateIndividualComponent-sONOk9nw.js";
|
|
14
|
+
import { B as BusinessDetailsDropin } from "./BusinessDetailsDropin-B9uPe28F.js";
|
|
15
15
|
function TrustMemberCompanyPage({
|
|
16
16
|
trustId,
|
|
17
17
|
trustMemberCompanyId,
|
package/dist/{TrustMemberIndividualPage-Dd7EcMDe.js → TrustMemberIndividualPage-CQQ7uc3H.js}
RENAMED
|
@@ -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 TrustMemberIndividualPage({
|
|
14
14
|
memberId,
|
|
15
15
|
trustId,
|
|
@@ -2,18 +2,18 @@
|
|
|
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] = "ff08e82e-0fa2-47f4-b19f-6094fb466038", e._sentryDebugIdIdentifier = "sentry-dbid-ff08e82e-0fa2-47f4-b19f-6094fb466038");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
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 UnincorporatedPartnershipIndividualPage({
|
|
14
14
|
memberId,
|
|
15
15
|
partnershipId,
|
|
16
|
-
|
|
16
|
+
member,
|
|
17
17
|
asModal = false,
|
|
18
18
|
hideSidebar = false,
|
|
19
19
|
isTargetLegalEntityType = false,
|
|
@@ -42,7 +42,7 @@ function UnincorporatedPartnershipIndividualPage({
|
|
|
42
42
|
taskName: "partnershipMemberDetails",
|
|
43
43
|
legalEntityResponse: memberLe,
|
|
44
44
|
parentLegalEntity: partnershipLe,
|
|
45
|
-
trustMember:
|
|
45
|
+
trustMember: member,
|
|
46
46
|
problems,
|
|
47
47
|
country,
|
|
48
48
|
asModal,
|
|
@@ -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, bk as useUnincorporatedPartnershipMembers, 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, bk as useUnincorporatedPartnershipMembers, 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 UnincorporatedPartnershipMemberCompanyPage({
|
|
15
15
|
partnershipId,
|
|
16
16
|
partnershipMemberCompanyId,
|
package/dist/adyenConfig.js
CHANGED
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { C as Core } from "./core-
|
|
11
|
-
import { p as propsToCoreOptions } from "./utils-
|
|
10
|
+
import { C as Core } from "./core-5FdDgGAA.js";
|
|
11
|
+
import { p as propsToCoreOptions } from "./utils-B5iKTXQt.js";
|
|
12
12
|
const loadAdyenConfig = async (config) => {
|
|
13
13
|
if (!config.environment) {
|
|
14
14
|
config.environment = "live";
|
|
@@ -2,18 +2,18 @@
|
|
|
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] = "3f396225-2d6e-44a5-91b4-655f12bbe64b", e._sentryDebugIdIdentifier = "sentry-dbid-3f396225-2d6e-44a5-91b4-655f12bbe64b");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { e as entriesOf, o as objectsDeepEqual, u as useI18nContext, a as useAnalyticsContext, b as useExperimentsContext, M as MaybeModal, c as ModalContent, d as ModalHeader, L as LoaderWrapper, s as summaryStep, f as ModalFooter, B as Button, S as Spacer, g as Summary, h as drop, r as reverseMapping, i as LegalEntityType, j as cloneObject, l as localizeDateString, k as isEmpty, m as useApiContext, p as useQuery, q as httpGet, F as Field, t as Select, T as Typography, R as RadioGroup, v as Link, I as InputText, w as currencyByCountry, x as InputNumber, y as InputDate, C as Currency, z as CURRENCY_FIELD, A as InputCurrency, D as useForm, E as useGlobalDataSlice, G as ErrorPanel, H as createFormUtils, J as useGlobalData, K as getAddressSchemaForCountry, N as COUNTRIES_WITH_STATES_DATASET, O as Address, P as getAddressSchemaLabelsByCountry, Q as useInvalidateRootLegalEntity, U as useAssociatedLegalEntity, V as datasetUtilities, W as useToastContext, X as useStateContext, Y as useSettingsContext, Z as SettingNames, _ as getAssociatedLeAnalyticsPayload, $ as getFormProps, a0 as Loader, a1 as Icon, a2 as useLegalEntity, a3 as getLegalEntityCountry, a4 as httpPost, a5 as useMutation, a6 as skipToken, a7 as useQueryClient, a8 as createFormRules, a9 as mapPayoutAccountSchemaToApiBankAccount, aa as payoutComponentKeyMapping, ab as keysOf, ac as summaryItem, ad as CountryCodes, ae as payoutSteps, af as getPayoutAccountHolderName, ag as getLegalEntityNameBasedOnType, ah as TaskTypes, ai as isInstantVerifiedAccount, aj as getCapabilityProblems, ak as Modal, al as PayoutDetails, am as TaskStatus, an as Skeleton, ao as ROOT_LE, ap as httpDelete, aq as Alert, ar as Card, as as StructuredList, at as IconButton, au as createLogger, av as useDataset, aw as datasetIdentifier, ax as useLocalStorage, ay as getLegalRepresentative, az as doesLegalEntityRequiresLegalRepresentative, aA as isPartOfTrustFromLegalEntity, aB as hasSolePropInLegalEntity, aC as hasOwnEntityAssociationOfType, aD as isEmptyEntity, aE as CompanyTypesValue, aF as useAccountHolder, aG as EntityType, aH as DATA_MISSING_DECISION_MAKER_ERROR_CODE_MAPPING, aI as handleKeys, aJ as noop, aK as getObscuredAccountNumber, aL as useGetTaskStatus, aM as CardGroup, aN as useSetting, aO as useSignalValue, aP as useGlobalStore, aQ as isPartOfUnincorporatedPartnership, aR as getOwnSignatories, aS as getOwnDecisionMakersLegalEntityIds, aT as getOwnSolePropProblems, aU as getOwnTrustProblems, aV as getOwnUnincorporatedPartnershipProblems, aW as TrustMemberTypes, aX as getOwnEntityAssociations, aY as mergeFieldMetadataIntoProps, aZ as resolveFieldMetadata, a_ as defaultFieldMetadata, a$ as defaultFieldConfig, b0 as getFieldProps, b1 as nameFields, b2 as FormHeader, b3 as MultiSelectList, b4 as makeSelectItemForRole, b5 as RadioGroupCard, b6 as TextArea, b7 as Name, b8 as CountryField, b9 as COUNTRY_FIELD, ba as LegalCompanyNameField, bb as LEGAL_COMPANY_NAME_FIELD, bc as getRoleName, bd as ActionBar, be as UnincorporatedPartnershipMemberTypes, bf as getDecisionMakerDescriptionMap, bg as TRUST_DEFAULT_DESCRIPTIONS_MAP, bh as getRoleTagVariant, bi as DEFAULT_TRUST_MEMBER_REQUIREMENTS, bj as ContextGuidance, bk as useUnincorporatedPartnershipMembers, bl as deleteUnincorporatedPartnershipMember, bm as hasAllCapabilitiesResolved, bn as hasRejectedCapabilities, bo as TrustedFieldsProvider, bp as getOwnDecisionMakers, bq as Checkbox, br as listify, bs as isUndefinedOrNull, bt as useAllowedCountries, bu as AlertIcon, bv as uuidv4, bw as EventEmitter, bx as SettingsProvider, by as ExperimentsContextProvider, bz as ApiProvider, bA as QueryClientProvider, bB as StoreProvider, bC as AnalyticsProvider, bD as I18nProvider, bE as DebugListener, bF as ToastContextProvider, bG as StateProvider, bH as ReactQueryDevtools2, n as normalizeEnvironment, bI as FALLBACK_LOCALE, bJ as setSdkToken, bK as setSdkTokenHandler } from "./EventEmitter-
|
|
11
|
-
import { F as FormNavigation, S as StepProgressIndicator, a as FormEndState, u as useTermsOfServiceAcceptanceInfos, b as useTermsOfServiceStatus, d as downloadFile, O as OutlinedIcon, C as ContractViewer, A as AcceptTermsOfServiceComponent } from "./AcceptTermsOfServiceComponent-
|
|
10
|
+
import { e as entriesOf, o as objectsDeepEqual, u as useI18nContext, a as useAnalyticsContext, b as useExperimentsContext, M as MaybeModal, c as ModalContent, d as ModalHeader, L as LoaderWrapper, s as summaryStep, f as ModalFooter, B as Button, S as Spacer, g as Summary, h as drop, r as reverseMapping, i as LegalEntityType, j as cloneObject, l as localizeDateString, k as isEmpty, m as useApiContext, p as useQuery, q as httpGet, F as Field, t as Select, T as Typography, R as RadioGroup, v as Link, I as InputText, w as currencyByCountry, x as InputNumber, y as InputDate, C as Currency, z as CURRENCY_FIELD, A as InputCurrency, D as useForm, E as useGlobalDataSlice, G as ErrorPanel, H as createFormUtils, J as useGlobalData, K as getAddressSchemaForCountry, N as COUNTRIES_WITH_STATES_DATASET, O as Address, P as getAddressSchemaLabelsByCountry, Q as useInvalidateRootLegalEntity, U as useAssociatedLegalEntity, V as datasetUtilities, W as useToastContext, X as useStateContext, Y as useSettingsContext, Z as SettingNames, _ as getAssociatedLeAnalyticsPayload, $ as getFormProps, a0 as Loader, a1 as Icon, a2 as useLegalEntity, a3 as getLegalEntityCountry, a4 as httpPost, a5 as useMutation, a6 as skipToken, a7 as useQueryClient, a8 as createFormRules, a9 as mapPayoutAccountSchemaToApiBankAccount, aa as payoutComponentKeyMapping, ab as keysOf, ac as summaryItem, ad as CountryCodes, ae as payoutSteps, af as getPayoutAccountHolderName, ag as getLegalEntityNameBasedOnType, ah as TaskTypes, ai as isInstantVerifiedAccount, aj as getCapabilityProblems, ak as Modal, al as PayoutDetails, am as TaskStatus, an as Skeleton, ao as ROOT_LE, ap as httpDelete, aq as Alert, ar as Card, as as StructuredList, at as IconButton, au as createLogger, av as useDataset, aw as datasetIdentifier, ax as useLocalStorage, ay as getLegalRepresentative, az as doesLegalEntityRequiresLegalRepresentative, aA as isPartOfTrustFromLegalEntity, aB as hasSolePropInLegalEntity, aC as hasOwnEntityAssociationOfType, aD as isEmptyEntity, aE as CompanyTypesValue, aF as useAccountHolder, aG as EntityType, aH as DATA_MISSING_DECISION_MAKER_ERROR_CODE_MAPPING, aI as handleKeys, aJ as noop, aK as getObscuredAccountNumber, aL as useGetTaskStatus, aM as CardGroup, aN as useSetting, aO as useSignalValue, aP as useGlobalStore, aQ as isPartOfUnincorporatedPartnership, aR as getOwnSignatories, aS as getOwnDecisionMakersLegalEntityIds, aT as getOwnSolePropProblems, aU as getOwnTrustProblems, aV as getOwnUnincorporatedPartnershipProblems, aW as TrustMemberTypes, aX as getOwnEntityAssociations, aY as mergeFieldMetadataIntoProps, aZ as resolveFieldMetadata, a_ as defaultFieldMetadata, a$ as defaultFieldConfig, b0 as getFieldProps, b1 as nameFields, b2 as FormHeader, b3 as MultiSelectList, b4 as makeSelectItemForRole, b5 as RadioGroupCard, b6 as TextArea, b7 as Name, b8 as CountryField, b9 as COUNTRY_FIELD, ba as LegalCompanyNameField, bb as LEGAL_COMPANY_NAME_FIELD, bc as getRoleName, bd as ActionBar, be as UnincorporatedPartnershipMemberTypes, bf as getDecisionMakerDescriptionMap, bg as TRUST_DEFAULT_DESCRIPTIONS_MAP, bh as getRoleTagVariant, bi as DEFAULT_TRUST_MEMBER_REQUIREMENTS, bj as ContextGuidance, bk as useUnincorporatedPartnershipMembers, bl as deleteUnincorporatedPartnershipMember, bm as hasAllCapabilitiesResolved, bn as hasRejectedCapabilities, bo as TrustedFieldsProvider, bp as getOwnDecisionMakers, bq as Checkbox, br as listify, bs as isUndefinedOrNull, bt as useAllowedCountries, bu as AlertIcon, bv as uuidv4, bw as EventEmitter, bx as SettingsProvider, by as ExperimentsContextProvider, bz as ApiProvider, bA as QueryClientProvider, bB as StoreProvider, bC as AnalyticsProvider, bD as I18nProvider, bE as DebugListener, bF as ToastContextProvider, bG as StateProvider, bH as ReactQueryDevtools2, n as normalizeEnvironment, bI as FALLBACK_LOCALE, bJ as setSdkToken, bK as setSdkTokenHandler } from "./EventEmitter-CzgfRWAv.js";
|
|
11
|
+
import { F as FormNavigation, S as StepProgressIndicator, a as FormEndState, u as useTermsOfServiceAcceptanceInfos, b as useTermsOfServiceStatus, d as downloadFile, O as OutlinedIcon, C as ContractViewer, A as AcceptTermsOfServiceComponent } from "./AcceptTermsOfServiceComponent-DHkK0S6k.js";
|
|
12
12
|
import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
|
|
13
13
|
import { useState, useCallback, useMemo, useEffect, useRef } from "preact/hooks";
|
|
14
|
-
import { t as trackNavigation, F as FormRouterContextProvider, f as formatObject, i as isEeaCountry, g as getProp, u as useCreateLegalEntity, a as useUpdateLegalEntity, b as useScenarioConfiguration, c as getPropsFromConfigurations, d as getRequiredForms, e as addValidityToForms, h as useFormComposer, j as composePerScenarioFormConfigurations, k as fieldsPerScenario, l as isValidationError, p as processValidationErrors, m as isMaintenanceModeError, n as getDocument, o as mapExistingFile, q as getPageName, r as createDocumentRequest, s as mapWith, v as augmentWithCountryConfigs, w as documentApiUtils, x as useUnifyLoadingStatus, y as omitObscuredFieldsIfUnchanged, z as isIdDocumentUploadError, A as isBankStatementUploadError, B as mapCreateOrUpdateTransferInstrumentErrorMessageToTranslatable, D as getFileExtention, E as Confirm, P as ProviderButton, G as useCapabilityProblems, H as useSingpassMyInfoLogin, C as CreateIndividualComponent } from "./CreateIndividualComponent-
|
|
14
|
+
import { t as trackNavigation, F as FormRouterContextProvider, f as formatObject, i as isEeaCountry, g as getProp, u as useCreateLegalEntity, a as useUpdateLegalEntity, b as useScenarioConfiguration, c as getPropsFromConfigurations, d as getRequiredForms, e as addValidityToForms, h as useFormComposer, j as composePerScenarioFormConfigurations, k as fieldsPerScenario, l as isValidationError, p as processValidationErrors, m as isMaintenanceModeError, n as getDocument, o as mapExistingFile, q as getPageName, r as createDocumentRequest, s as mapWith, v as augmentWithCountryConfigs, w as documentApiUtils, x as useUnifyLoadingStatus, y as omitObscuredFieldsIfUnchanged, z as isIdDocumentUploadError, A as isBankStatementUploadError, B as mapCreateOrUpdateTransferInstrumentErrorMessageToTranslatable, D as getFileExtention, E as Confirm, P as ProviderButton, G as useCapabilityProblems, H as useSingpassMyInfoLogin, C as CreateIndividualComponent } from "./CreateIndividualComponent-sONOk9nw.js";
|
|
15
15
|
import cx from "classnames";
|
|
16
|
-
import { T as Tag, a as TaskItemStatus } from "./TaskItemStatus-
|
|
16
|
+
import { T as Tag, a as TaskItemStatus } from "./TaskItemStatus-BAB2JvM0.js";
|
|
17
17
|
import { lazy, Suspense } from "preact/compat";
|
|
18
18
|
import { signal } from "@preact/signals";
|
|
19
19
|
import { render } from "preact";
|
|
@@ -4079,11 +4079,12 @@ const normalizeTaskStatuses = (taskStatuses) => {
|
|
|
4079
4079
|
};
|
|
4080
4080
|
const TASK_STATUS_POLLING_INTERVAL_MS = 3e3;
|
|
4081
4081
|
const TASK_STATUS_COMPLETED_POLLING_INTERVAL_MS = 6e3;
|
|
4082
|
-
const getAccountTaskStatus = (accountId,
|
|
4082
|
+
const getAccountTaskStatus = (accountId, payinPayoutTaskStatus) => {
|
|
4083
|
+
const taskStatusEntries = payinPayoutTaskStatus == null ? void 0 : payinPayoutTaskStatus.taskStatusEntries;
|
|
4083
4084
|
const taskStatusEntry = taskStatusEntries == null ? void 0 : taskStatusEntries.find((entry) => entry.id.includes(accountId));
|
|
4084
4085
|
if (!taskStatusEntry) {
|
|
4085
4086
|
console.warn(`No task status for this account: ${accountId}`);
|
|
4086
|
-
return TaskStatus.
|
|
4087
|
+
return (payinPayoutTaskStatus == null ? void 0 : payinPayoutTaskStatus.status) ?? TaskStatus.PROCESSING;
|
|
4087
4088
|
}
|
|
4088
4089
|
return TaskStatus[taskStatusEntry.status];
|
|
4089
4090
|
};
|
|
@@ -4240,7 +4241,7 @@ const PayoutAccountTaskListItem = ({
|
|
|
4240
4241
|
account,
|
|
4241
4242
|
capabilityProblems,
|
|
4242
4243
|
onNavigateToTask,
|
|
4243
|
-
|
|
4244
|
+
payinPayoutTaskStatus
|
|
4244
4245
|
}) => {
|
|
4245
4246
|
var _a;
|
|
4246
4247
|
const { i18n } = useI18nContext();
|
|
@@ -4252,7 +4253,7 @@ const PayoutAccountTaskListItem = ({
|
|
|
4252
4253
|
const [isRemoveDisabled, setIsRemoveDisabled] = useState(false);
|
|
4253
4254
|
const obscuredAccountNumber = getObscuredAccountNumber(account);
|
|
4254
4255
|
const getTaskStatus2 = useGetTaskStatus();
|
|
4255
|
-
const status = isExperimentEnabled("UseTaskStatusApiForPayout") ? getAccountTaskStatus(account.id,
|
|
4256
|
+
const status = isExperimentEnabled("UseTaskStatusApiForPayout") ? getAccountTaskStatus(account.id, payinPayoutTaskStatus) : getTaskStatus2(TaskTypes.PAYOUT, account.id);
|
|
4256
4257
|
const handleDeleteTransferInstrument = async () => {
|
|
4257
4258
|
try {
|
|
4258
4259
|
await deleteTransferInstrument2(account.id);
|
|
@@ -4632,7 +4633,7 @@ function TaskListInner({
|
|
|
4632
4633
|
account: transferInstrument,
|
|
4633
4634
|
capabilityProblems,
|
|
4634
4635
|
onNavigateToTask: () => handleOnNavigateToTaskPayout(transferInstrument.id),
|
|
4635
|
-
|
|
4636
|
+
payinPayoutTaskStatus
|
|
4636
4637
|
},
|
|
4637
4638
|
transferInstrument.id
|
|
4638
4639
|
)),
|
|
@@ -4657,7 +4658,7 @@ function TaskListInner({
|
|
|
4657
4658
|
onNavigateToTask: () => handleOnNavigateToTaskPayout(),
|
|
4658
4659
|
icon: "payout",
|
|
4659
4660
|
titleKey: canChangeEntityType ? "bankAccountDetails" : hasPayinTaskNotPayout ? "payinDetails" : "payoutDetails",
|
|
4660
|
-
status:
|
|
4661
|
+
status: TaskStatus.DETAILS_REQUIRED,
|
|
4661
4662
|
disabled: !canAddPayoutAccount,
|
|
4662
4663
|
problems: getEmptyBankAccountProblems()
|
|
4663
4664
|
}
|
|
@@ -6523,7 +6524,6 @@ const createDefaultMember = (selectedMember, selectedEntityType, selectedRoles)
|
|
|
6523
6524
|
const useUnincorporatedPartnershipNavigation = ({ navigateTo }) => {
|
|
6524
6525
|
const [activeMember, setActiveMember] = useState();
|
|
6525
6526
|
const { rootLegalEntityId } = useApiContext();
|
|
6526
|
-
const { data: activeMemberLe } = useLegalEntity((activeMember == null ? void 0 : activeMember.legalEntityId) ?? skipToken);
|
|
6527
6527
|
const onNavigateToMember = async ({
|
|
6528
6528
|
selectedMember,
|
|
6529
6529
|
selectedRoles,
|
|
@@ -6549,7 +6549,6 @@ const useUnincorporatedPartnershipNavigation = ({ navigateTo }) => {
|
|
|
6549
6549
|
return {
|
|
6550
6550
|
onNavigateToMember,
|
|
6551
6551
|
activeMember,
|
|
6552
|
-
currentUnincorporatedPartnershipMember: activeMemberLe,
|
|
6553
6552
|
setActiveMember
|
|
6554
6553
|
};
|
|
6555
6554
|
};
|
|
@@ -7090,71 +7089,71 @@ const hasProgressedBeyondEntitySelection = (legalEntity) => {
|
|
|
7090
7089
|
return hasOwnEntityAssocation || !!hasOrganizationType;
|
|
7091
7090
|
};
|
|
7092
7091
|
const Introduction = lazy(
|
|
7093
|
-
async () => (await import("./Introduction-
|
|
7092
|
+
async () => (await import("./Introduction-C4GxNaag.js")).Introduction
|
|
7094
7093
|
);
|
|
7095
7094
|
const BusinessTypeSelectionPage = lazy(
|
|
7096
|
-
async () => (await import("./BusinessTypeSelectionPage-
|
|
7095
|
+
async () => (await import("./BusinessTypeSelectionPage-DnC4iBWX.js")).BusinessTypeSelectionPage
|
|
7097
7096
|
);
|
|
7098
7097
|
const SingpassSelection = lazy(
|
|
7099
|
-
async () => (await import("./SingpassSelection-
|
|
7098
|
+
async () => (await import("./SingpassSelection-CossYnOE.js")).SingpassSelection
|
|
7100
7099
|
);
|
|
7101
7100
|
const AccountSetupRejected = lazy(
|
|
7102
|
-
async () => (await import("./AccountSetupRejected-
|
|
7101
|
+
async () => (await import("./AccountSetupRejected-M0eVeA7G.js")).AccountSetupRejected
|
|
7103
7102
|
);
|
|
7104
7103
|
const DecisionMakers = lazy(
|
|
7105
|
-
async () => (await import("./DecisionMakers-
|
|
7104
|
+
async () => (await import("./DecisionMakers-BJQxLnxR.js")).DecisionMakers
|
|
7106
7105
|
);
|
|
7107
7106
|
const CustomerSupport = lazy(
|
|
7108
|
-
async () => (await import("./CustomerSupport-
|
|
7107
|
+
async () => (await import("./CustomerSupport-B7cVQRXG.js")).CustomerSupport
|
|
7109
7108
|
);
|
|
7110
|
-
const Review = lazy(async () => (await import("./Review-
|
|
7109
|
+
const Review = lazy(async () => (await import("./Review-C1Z1HnSf.js")).Review);
|
|
7111
7110
|
const SignPCIComponent$2 = lazy(
|
|
7112
7111
|
async () => (await Promise.resolve().then(() => SignPCIComponent$1)).SignPCIComponent
|
|
7113
7112
|
);
|
|
7114
7113
|
const AcceptTermsOfService = lazy(
|
|
7115
|
-
async () => (await import("./AcceptTermsOfServiceComponent-
|
|
7114
|
+
async () => (await import("./AcceptTermsOfServiceComponent-DHkK0S6k.js").then((n) => n.c)).AcceptTermsOfServiceComponent
|
|
7116
7115
|
);
|
|
7117
7116
|
const TaxReportingDropin = lazy(
|
|
7118
|
-
async () => (await import("./TaxReportingDropin-
|
|
7117
|
+
async () => (await import("./TaxReportingDropin-B0UcXDOr.js")).TaxReportingDropin
|
|
7119
7118
|
);
|
|
7120
7119
|
const PayoutDetailsPage = lazy(
|
|
7121
|
-
async () => (await import("./PayoutDetailsPage-
|
|
7120
|
+
async () => (await import("./PayoutDetailsPage-C5Z3ufab.js")).PayoutDetailsPage
|
|
7122
7121
|
);
|
|
7123
7122
|
const RootBusinessDetailsPage = lazy(
|
|
7124
|
-
async () => (await import("./RootBusinessDetailsPage-
|
|
7123
|
+
async () => (await import("./RootBusinessDetailsPage-D2WdGQb1.js")).RootBusinessDetailsPage
|
|
7125
7124
|
);
|
|
7126
7125
|
const SoleProprietorshipPage = lazy(
|
|
7127
|
-
async () => (await import("./SoleProprietorshipPage-
|
|
7126
|
+
async () => (await import("./SoleProprietorshipPage-JyydDMFE.js")).SoleProprietorshipPage
|
|
7128
7127
|
);
|
|
7129
7128
|
const TrustMemberCompanyPage = lazy(
|
|
7130
|
-
async () => (await import("./TrustMemberCompanyPage-
|
|
7129
|
+
async () => (await import("./TrustMemberCompanyPage-CKdqeimg.js")).TrustMemberCompanyPage
|
|
7131
7130
|
);
|
|
7132
7131
|
const UnincorporatedPartnershipMemberCompanyPage = lazy(
|
|
7133
|
-
async () => (await import("./UnincorporatedPartnershipMemberCompanyPage-
|
|
7132
|
+
async () => (await import("./UnincorporatedPartnershipMemberCompanyPage-C23EVNu9.js")).UnincorporatedPartnershipMemberCompanyPage
|
|
7134
7133
|
);
|
|
7135
7134
|
const BusinessFinancingPage = lazy(
|
|
7136
|
-
async () => (await import("./BusinessFinancingPage-
|
|
7135
|
+
async () => (await import("./BusinessFinancingPage-DXJOEtf6.js")).BusinessFinancingPage
|
|
7137
7136
|
);
|
|
7138
7137
|
const TrustDetailsPage = lazy(
|
|
7139
|
-
async () => (await import("./TrustDetailsPage-
|
|
7138
|
+
async () => (await import("./TrustDetailsPage-DWDIpVr2.js")).TrustDetailsPage
|
|
7140
7139
|
);
|
|
7141
7140
|
const SourceOfFundsPage = lazy(
|
|
7142
|
-
async () => (await import("./SourceOfFundsPage-
|
|
7141
|
+
async () => (await import("./SourceOfFundsPage-AljyEVxa.js")).SourceOfFundsPage
|
|
7143
7142
|
);
|
|
7144
7143
|
const RootIndividualDetailsPage = lazy(
|
|
7145
|
-
async () => (await import("./RootIndividualDetailsPage-
|
|
7144
|
+
async () => (await import("./RootIndividualDetailsPage-Bd2NdUyL.js")).RootIndividualDetailsPage
|
|
7146
7145
|
);
|
|
7147
7146
|
const LegalRepresentativeDetailsPage = lazy(
|
|
7148
|
-
async () => (await import("./LegalRepresentativeDetailsPage-
|
|
7147
|
+
async () => (await import("./LegalRepresentativeDetailsPage-U0bxN6y_.js")).LegalRepresentativeDetailsPage
|
|
7149
7148
|
);
|
|
7150
7149
|
const TrustMemberIndividualPage = lazy(
|
|
7151
|
-
async () => (await import("./TrustMemberIndividualPage-
|
|
7150
|
+
async () => (await import("./TrustMemberIndividualPage-CQQ7uc3H.js")).TrustMemberIndividualPage
|
|
7152
7151
|
);
|
|
7153
7152
|
const UnincorporatedPartnershipIndividualPage = lazy(
|
|
7154
|
-
async () => (await import("./UnincorporatedPartnershipIndividualPage-
|
|
7153
|
+
async () => (await import("./UnincorporatedPartnershipIndividualPage-CogMd4F3.js")).UnincorporatedPartnershipIndividualPage
|
|
7155
7154
|
);
|
|
7156
7155
|
const DecisionMakerDetailsPage = lazy(
|
|
7157
|
-
async () => (await import("./DecisionMakerDetailsPage-
|
|
7156
|
+
async () => (await import("./DecisionMakerDetailsPage-COEpFtfs.js")).DecisionMakerDetailsPage
|
|
7158
7157
|
);
|
|
7159
7158
|
const PAGES_WITH_POLLING = [TaskTypes.DECISION_MAKER_OVERVIEW, TaskTypes.TASKS_OVERVIEW];
|
|
7160
7159
|
const logger$1 = createLogger();
|
|
@@ -7255,7 +7254,6 @@ function DropinComposer({
|
|
|
7255
7254
|
});
|
|
7256
7255
|
const {
|
|
7257
7256
|
onNavigateToMember,
|
|
7258
|
-
currentUnincorporatedPartnershipMember,
|
|
7259
7257
|
activeMember: unincorporatedPartnershipMember,
|
|
7260
7258
|
setActiveMember
|
|
7261
7259
|
} = useUnincorporatedPartnershipNavigation({
|
|
@@ -7493,20 +7491,6 @@ function DropinComposer({
|
|
|
7493
7491
|
handleHomeClick: navigateBack
|
|
7494
7492
|
}
|
|
7495
7493
|
) });
|
|
7496
|
-
case TaskTypes.UNINCORPORATED_PARTNERSHIP_MEMBER_COMPANY_OWNER:
|
|
7497
|
-
return /* @__PURE__ */ jsx(Suspense, { fallback: /* @__PURE__ */ jsx(Loader, {}), children: /* @__PURE__ */ jsx(
|
|
7498
|
-
DecisionMakerDetailsPage,
|
|
7499
|
-
{
|
|
7500
|
-
taskType: TaskTypes.UNINCORPORATED_PARTNERSHIP_MEMBER_COMPANY_OWNER,
|
|
7501
|
-
parentCompanyId: currentUnincorporatedPartnershipMember.id,
|
|
7502
|
-
decisionMakerId: currentDecisionMakerId,
|
|
7503
|
-
onSubmit: async (data) => {
|
|
7504
|
-
await handleOnSubmit(data);
|
|
7505
|
-
await refetchUnincorporatedPartnership();
|
|
7506
|
-
},
|
|
7507
|
-
handleHomeClick: navigateBack
|
|
7508
|
-
}
|
|
7509
|
-
) });
|
|
7510
7494
|
case TaskTypes.TRUST_MEMBER_INDIVIDUAL:
|
|
7511
7495
|
return /* @__PURE__ */ jsx(Suspense, { fallback: /* @__PURE__ */ jsx(Loader, {}), children: /* @__PURE__ */ jsx(
|
|
7512
7496
|
TrustMemberIndividualPage,
|
|
@@ -7519,21 +7503,6 @@ function DropinComposer({
|
|
|
7519
7503
|
handleHomeClick: () => navigateTo(TaskTypes.TRUST_MEMBER_OVERVIEW)
|
|
7520
7504
|
}
|
|
7521
7505
|
) });
|
|
7522
|
-
case TaskTypes.UNINCORPORATED_PARTNERSHIP_MEMBER_INDIVIDUAL:
|
|
7523
|
-
return /* @__PURE__ */ jsx(Suspense, { fallback: /* @__PURE__ */ jsx(Loader, {}), children: /* @__PURE__ */ jsx(
|
|
7524
|
-
UnincorporatedPartnershipIndividualPage,
|
|
7525
|
-
{
|
|
7526
|
-
memberId: currentUnincorporatedPartnershipMember == null ? void 0 : currentUnincorporatedPartnershipMember.id,
|
|
7527
|
-
partnershipId: unincorporatedPartnership.id,
|
|
7528
|
-
newMember: (
|
|
7529
|
-
// empty string for legalEntityId means it's a new member
|
|
7530
|
-
(unincorporatedPartnershipMember == null ? void 0 : unincorporatedPartnershipMember.legalEntityId) === "" ? unincorporatedPartnershipMember : void 0
|
|
7531
|
-
),
|
|
7532
|
-
onSubmit: (data) => handleOnSubmit(data, 2),
|
|
7533
|
-
handleBackClick: navigateBack,
|
|
7534
|
-
handleHomeClick: () => navigateTo(TaskTypes.TRUST_MEMBER_OVERVIEW)
|
|
7535
|
-
}
|
|
7536
|
-
) });
|
|
7537
7506
|
case TaskTypes.BUSINESS_DETAILS:
|
|
7538
7507
|
return /* @__PURE__ */ jsx(Suspense, { fallback: /* @__PURE__ */ jsx(Loader, {}), children: /* @__PURE__ */ jsx(
|
|
7539
7508
|
RootBusinessDetailsPage,
|
|
@@ -7548,21 +7517,6 @@ function DropinComposer({
|
|
|
7548
7517
|
isTargetLegalEntityType: targetLegalEntityType === LegalEntityType.ORGANIZATION
|
|
7549
7518
|
}
|
|
7550
7519
|
) });
|
|
7551
|
-
case TaskTypes.UNINCORPORATED_PARTNERSHIP_MEMBER_COMPANY:
|
|
7552
|
-
return /* @__PURE__ */ jsx(Suspense, { fallback: /* @__PURE__ */ jsx(Loader, {}), children: /* @__PURE__ */ jsx(
|
|
7553
|
-
UnincorporatedPartnershipMemberCompanyPage,
|
|
7554
|
-
{
|
|
7555
|
-
partnershipId: unincorporatedPartnership.id,
|
|
7556
|
-
partnershipMemberCompanyId: unincorporatedPartnershipMember == null ? void 0 : unincorporatedPartnershipMember.legalEntityId,
|
|
7557
|
-
newMember: (
|
|
7558
|
-
// empty string for legalEntityId means it's a new member
|
|
7559
|
-
(unincorporatedPartnershipMember == null ? void 0 : unincorporatedPartnershipMember.legalEntityId) === "" ? unincorporatedPartnershipMember : void 0
|
|
7560
|
-
),
|
|
7561
|
-
onSubmit: (data) => handleOnSubmit(data, 2),
|
|
7562
|
-
handleHomeClick: navigateBack,
|
|
7563
|
-
isTargetLegalEntityType: targetLegalEntityType === LegalEntityType.ORGANIZATION
|
|
7564
|
-
}
|
|
7565
|
-
) });
|
|
7566
7520
|
case TaskTypes.TRUST_MEMBER_COMPANY:
|
|
7567
7521
|
return /* @__PURE__ */ jsx(Suspense, { fallback: /* @__PURE__ */ jsx(Loader, {}), children: /* @__PURE__ */ jsx(
|
|
7568
7522
|
TrustMemberCompanyPage,
|
|
@@ -7655,6 +7609,50 @@ function DropinComposer({
|
|
|
7655
7609
|
}
|
|
7656
7610
|
}
|
|
7657
7611
|
);
|
|
7612
|
+
case TaskTypes.UNINCORPORATED_PARTNERSHIP_MEMBER_COMPANY:
|
|
7613
|
+
return /* @__PURE__ */ jsx(Suspense, { fallback: /* @__PURE__ */ jsx(Loader, {}), children: /* @__PURE__ */ jsx(
|
|
7614
|
+
UnincorporatedPartnershipMemberCompanyPage,
|
|
7615
|
+
{
|
|
7616
|
+
partnershipId: unincorporatedPartnership.id,
|
|
7617
|
+
partnershipMemberCompanyId: unincorporatedPartnershipMember == null ? void 0 : unincorporatedPartnershipMember.legalEntityId,
|
|
7618
|
+
newMember: (
|
|
7619
|
+
// empty string for legalEntityId means it's a new member
|
|
7620
|
+
(unincorporatedPartnershipMember == null ? void 0 : unincorporatedPartnershipMember.legalEntityId) === "" ? unincorporatedPartnershipMember : void 0
|
|
7621
|
+
),
|
|
7622
|
+
onSubmit: (data) => handleOnSubmit(data, 2),
|
|
7623
|
+
handleHomeClick: navigateBack,
|
|
7624
|
+
isTargetLegalEntityType: targetLegalEntityType === LegalEntityType.ORGANIZATION
|
|
7625
|
+
}
|
|
7626
|
+
) });
|
|
7627
|
+
case TaskTypes.UNINCORPORATED_PARTNERSHIP_MEMBER_COMPANY_OWNER:
|
|
7628
|
+
return /* @__PURE__ */ jsx(Suspense, { fallback: /* @__PURE__ */ jsx(Loader, {}), children: /* @__PURE__ */ jsx(
|
|
7629
|
+
DecisionMakerDetailsPage,
|
|
7630
|
+
{
|
|
7631
|
+
taskType: TaskTypes.UNINCORPORATED_PARTNERSHIP_MEMBER_COMPANY_OWNER,
|
|
7632
|
+
parentCompanyId: unincorporatedPartnershipMember == null ? void 0 : unincorporatedPartnershipMember.legalEntityId,
|
|
7633
|
+
decisionMakerId: currentDecisionMakerId,
|
|
7634
|
+
onSubmit: async (data) => {
|
|
7635
|
+
await handleOnSubmit(data);
|
|
7636
|
+
await refetchUnincorporatedPartnership();
|
|
7637
|
+
},
|
|
7638
|
+
handleHomeClick: navigateBack
|
|
7639
|
+
}
|
|
7640
|
+
) });
|
|
7641
|
+
case TaskTypes.UNINCORPORATED_PARTNERSHIP_MEMBER_INDIVIDUAL:
|
|
7642
|
+
return /* @__PURE__ */ jsx(Suspense, { fallback: /* @__PURE__ */ jsx(Loader, {}), children: /* @__PURE__ */ jsx(
|
|
7643
|
+
UnincorporatedPartnershipIndividualPage,
|
|
7644
|
+
{
|
|
7645
|
+
memberId: unincorporatedPartnershipMember == null ? void 0 : unincorporatedPartnershipMember.legalEntityId,
|
|
7646
|
+
partnershipId: unincorporatedPartnership.id,
|
|
7647
|
+
member: unincorporatedPartnershipMember,
|
|
7648
|
+
onSubmit: (data) => {
|
|
7649
|
+
handleOnSubmit(data, 2);
|
|
7650
|
+
refetchUnincorporatedPartnership();
|
|
7651
|
+
},
|
|
7652
|
+
handleBackClick: navigateBack,
|
|
7653
|
+
handleHomeClick: () => navigateTo(TaskTypes.TRUST_MEMBER_OVERVIEW)
|
|
7654
|
+
}
|
|
7655
|
+
) });
|
|
7658
7656
|
case TaskTypes.UNINCORPORATED_PARTNERSHIP_MEMBER_ROLE_AND_TYPE:
|
|
7659
7657
|
return /* @__PURE__ */ jsx(
|
|
7660
7658
|
UnincorporatedPartnershipMemberRoleAndTypePage,
|
|
@@ -8476,7 +8474,7 @@ class UIElement extends BaseElement {
|
|
|
8476
8474
|
baseUrl: this.props.baseUrl,
|
|
8477
8475
|
children: /* @__PURE__ */ jsx(QueryClientProvider, { children: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
8478
8476
|
/* @__PURE__ */ jsxs(StoreProvider, { children: [
|
|
8479
|
-
/* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.72.
|
|
8477
|
+
/* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.72.4" }),
|
|
8480
8478
|
/* @__PURE__ */ jsx(
|
|
8481
8479
|
AnalyticsProvider,
|
|
8482
8480
|
{
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { c as cssProps } from "./DebugModal-
|
|
10
|
+
import { c as cssProps } from "./DebugModal-DYMeTDAV.js";
|
|
11
11
|
const definitions = {
|
|
12
12
|
any: { regex: /.*/g, css: cssProps.text },
|
|
13
13
|
property: { regex: /(^|[\r\n])[^:]*:/g, css: cssProps.key },
|
package/dist/individual.js
CHANGED
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { render } from "preact";
|
|
12
|
-
import { i as injectCss, E as EmbedShell } from "./EmbedShell-
|
|
13
|
-
import { n as normalizeEnvironment } from "./EventEmitter-
|
|
14
|
-
import { C as CreateIndividualComponent } from "./CreateIndividualComponent-
|
|
15
|
-
import { e as environmentMap } from "./utils-
|
|
12
|
+
import { i as injectCss, E as EmbedShell } from "./EmbedShell-B_71Sq3f.js";
|
|
13
|
+
import { n as normalizeEnvironment } from "./EventEmitter-CzgfRWAv.js";
|
|
14
|
+
import { C as CreateIndividualComponent } from "./CreateIndividualComponent-sONOk9nw.js";
|
|
15
|
+
import { e as environmentMap } from "./utils-B5iKTXQt.js";
|
|
16
16
|
class AdyenIndividual extends HTMLElement {
|
|
17
17
|
constructor() {
|
|
18
18
|
super();
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { c as cssProps } from "./DebugModal-
|
|
10
|
+
import { c as cssProps } from "./DebugModal-DYMeTDAV.js";
|
|
11
11
|
const definitions = {
|
|
12
12
|
any: { regex: /.*/g, css: cssProps.text },
|
|
13
13
|
number: { regex: /-?\d+(\.\d+)?([eE][+-]?\d+)?/g, css: cssProps.number },
|
package/dist/terms-of-service.js
CHANGED
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { render } from "preact";
|
|
12
|
-
import { i as injectCss, E as EmbedShell } from "./EmbedShell-
|
|
13
|
-
import { n as normalizeEnvironment } from "./EventEmitter-
|
|
14
|
-
import { A as AcceptTermsOfServiceComponent } from "./AcceptTermsOfServiceComponent-
|
|
15
|
-
import { e as environmentMap } from "./utils-
|
|
12
|
+
import { i as injectCss, E as EmbedShell } from "./EmbedShell-B_71Sq3f.js";
|
|
13
|
+
import { n as normalizeEnvironment } from "./EventEmitter-CzgfRWAv.js";
|
|
14
|
+
import { A as AcceptTermsOfServiceComponent } from "./AcceptTermsOfServiceComponent-DHkK0S6k.js";
|
|
15
|
+
import { e as environmentMap } from "./utils-B5iKTXQt.js";
|
|
16
16
|
class AdyenTermsOfService extends HTMLElement {
|
|
17
17
|
constructor() {
|
|
18
18
|
super();
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type { TaskStatusEntry } from '../../../../api/taskStatus/useTaskStatus';
|
|
2
1
|
import type { TransferInstrumentOverview } from '../../../../core/models/api/transfer-instrument';
|
|
3
2
|
import type { CapabilityProblems } from '../../../../core/models/errors/capability-problems';
|
|
3
|
+
import type { TaskStatusWithSupportingEntities } from './types';
|
|
4
4
|
export interface PayoutAccountTaskListItemProps {
|
|
5
5
|
account: TransferInstrumentOverview;
|
|
6
6
|
capabilityProblems: CapabilityProblems;
|
|
7
7
|
onNavigateToTask: () => void;
|
|
8
|
-
|
|
8
|
+
payinPayoutTaskStatus: TaskStatusWithSupportingEntities | undefined;
|
|
9
9
|
}
|
|
10
|
-
export declare const PayoutAccountTaskListItem: ({ account, capabilityProblems, onNavigateToTask,
|
|
10
|
+
export declare const PayoutAccountTaskListItem: ({ account, capabilityProblems, onNavigateToTask, payinPayoutTaskStatus, }: PayoutAccountTaskListItemProps) => import("preact/jsx-runtime").JSX.Element;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { JSX } from 'preact';
|
|
2
2
|
import type { Dispatch, StateUpdater } from 'preact/hooks';
|
|
3
|
+
import type { TaskStatusEntry } from '#api/taskStatus/taskStatus.contract.overrides';
|
|
3
4
|
import type { ActionsMenuOption } from '../../../ui/atoms/ActionsMenu/ActionsMenu';
|
|
4
5
|
import type { IconName } from '../../../ui/atoms/Icon/Icon';
|
|
5
6
|
import type { StatusProps } from '../../../ui/atoms/Status/Status.types';
|
|
@@ -41,3 +42,7 @@ export interface TaskListItemProps extends TaskStatusProps {
|
|
|
41
42
|
testId?: string;
|
|
42
43
|
enableTracking?: boolean;
|
|
43
44
|
}
|
|
45
|
+
export type TaskStatusWithSupportingEntities = {
|
|
46
|
+
status: TaskStatus;
|
|
47
|
+
taskStatusEntries?: TaskStatusEntry[];
|
|
48
|
+
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { TaskStatusWithSupportingEntities } from '../../tasks/TaskList/types';
|
|
2
2
|
import type { NormalizedTaskStatus, TaskStatusApiResponse } from '../../../../stores/globalStore/taskStatus';
|
|
3
3
|
import { TaskStatus } from '../../../../stores/globalStore/taskStatus';
|
|
4
4
|
export declare const normalizeTaskStatuses: (taskStatuses: TaskStatusApiResponse | undefined) => NormalizedTaskStatus | undefined;
|
|
5
5
|
export declare const TASK_STATUS_POLLING_INTERVAL_MS = 3000;
|
|
6
6
|
export declare const TASK_STATUS_COMPLETED_POLLING_INTERVAL_MS = 6000;
|
|
7
|
-
export declare const getAccountTaskStatus: (accountId: string,
|
|
7
|
+
export declare const getAccountTaskStatus: (accountId: string, payinPayoutTaskStatus: TaskStatusWithSupportingEntities | undefined) => TaskStatus;
|
|
8
8
|
export declare const normalizedTaskStatusStore: import("@preact/signals-core").Signal<NormalizedTaskStatus>;
|
|
9
9
|
export declare const setNormalizedTaskStatusStore: (taskStatus: NormalizedTaskStatus | undefined) => void;
|
|
@@ -15,21 +15,6 @@ export interface NavigationProps {
|
|
|
15
15
|
export declare const useUnincorporatedPartnershipNavigation: ({ navigateTo }: NavigationProps) => {
|
|
16
16
|
onNavigateToMember: ({ selectedMember, selectedRoles, selectedEntityType, roleAndType, }: NavigateToMemberProps) => Promise<void>;
|
|
17
17
|
activeMember: UnincorporatedPartnershipMember;
|
|
18
|
-
currentUnincorporatedPartnershipMember: {
|
|
19
|
-
documentDetails?: import("../../../core/models/api/documentDetail").DocumentDetail[];
|
|
20
|
-
entityAssociations?: import("../../../core/models/api/legal-entity-association").LegalEntityAssociation[];
|
|
21
|
-
individual?: import("../../../core/models/api/individual").Individual;
|
|
22
|
-
organization?: import("../../../core/models/api/organization").Organization;
|
|
23
|
-
soleProprietorship?: import("../../../core/models/api/sole-proprietor").SoleProprietor;
|
|
24
|
-
trust?: import("../../../core/models/api/trust").Trust;
|
|
25
|
-
unincorporatedPartnership?: import("../../../core/models/api/unincorporated-partnership").UnincorporatedPartnership;
|
|
26
|
-
capabilities?: Partial<Record<import("../../../core/models/api/capability").CapabilityName, import("../../../core/models/api/capability").Capability>>;
|
|
27
|
-
problems?: import("../../../core/models/api/problem").Problem[];
|
|
28
|
-
transferInstruments?: import("../../../core/models/api/transfer-instrument").TransferInstrumentOverview[];
|
|
29
|
-
trustedFields?: import("../../../core/models/api/legal-entity").LegalEntityTrustedFields[];
|
|
30
|
-
id: string;
|
|
31
|
-
type: LegalEntityType;
|
|
32
|
-
};
|
|
33
18
|
setActiveMember: import("preact/hooks").Dispatch<import("preact/hooks").StateUpdater<UnincorporatedPartnershipMember>>;
|
|
34
19
|
};
|
|
35
20
|
export {};
|
|
@@ -4,13 +4,13 @@ import type { UnincorporatedPartnershipMember } from '../tasks/UnincorporatedPar
|
|
|
4
4
|
interface UnincorporatedPartnershipIndividualPageProps extends DropinProps {
|
|
5
5
|
memberId: string | undefined;
|
|
6
6
|
partnershipId: string;
|
|
7
|
-
|
|
7
|
+
member?: UnincorporatedPartnershipMember;
|
|
8
8
|
asModal?: boolean;
|
|
9
9
|
hideSidebar?: boolean;
|
|
10
10
|
isTargetLegalEntityType?: boolean;
|
|
11
11
|
onSubmit?(dataSubmitted: IndividualSchema): void;
|
|
12
12
|
}
|
|
13
|
-
export declare function UnincorporatedPartnershipIndividualPage({ memberId, partnershipId,
|
|
13
|
+
export declare function UnincorporatedPartnershipIndividualPage({ memberId, partnershipId, member, asModal, hideSidebar, isTargetLegalEntityType, onSubmit,
|
|
14
14
|
/** below from {@link DropinProps} */
|
|
15
15
|
handleBackClick, handleCloseClick, handleHomeClick, }: UnincorporatedPartnershipIndividualPageProps): import("preact/jsx-runtime").JSX.Element;
|
|
16
16
|
export {};
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { n as normalizeEnvironment } from "./EventEmitter-
|
|
10
|
+
import { n as normalizeEnvironment } from "./EventEmitter-CzgfRWAv.js";
|
|
11
11
|
const environmentMap = Object.freeze({
|
|
12
12
|
live: "https://live.adyen.com/",
|
|
13
13
|
test: "https://test.adyen.com/"
|
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { a3 as getLegalEntityCountry, ds as getCapabilities, i as LegalEntityType, aC as hasOwnEntityAssociationOfType, aE as CompanyTypesValue, ad as CountryCodes, dT as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./EventEmitter-
|
|
11
|
-
import { f as allowIndividualWithoutSoleProp } from "./core-
|
|
12
|
-
import { S as SOLE_PROP_COUNTRIES } from "./CreateIndividualComponent-
|
|
10
|
+
import { a3 as getLegalEntityCountry, ds as getCapabilities, i as LegalEntityType, aC as hasOwnEntityAssociationOfType, aE as CompanyTypesValue, ad as CountryCodes, dT as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./EventEmitter-CzgfRWAv.js";
|
|
11
|
+
import { f as allowIndividualWithoutSoleProp } from "./core-5FdDgGAA.js";
|
|
12
|
+
import { S as SOLE_PROP_COUNTRIES } from "./CreateIndividualComponent-sONOk9nw.js";
|
|
13
13
|
const TRUST_COUNTRIES = [CountryCodes.Australia, CountryCodes.NewZealand];
|
|
14
14
|
const BUSINESS_BANK_ACCOUNT_COUNTRIES = [
|
|
15
15
|
CountryCodes.UnitedStates,
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { c as cssProps } from "./DebugModal-
|
|
10
|
+
import { c as cssProps } from "./DebugModal-DYMeTDAV.js";
|
|
11
11
|
const definitions = {
|
|
12
12
|
any: { regex: /.*/g, css: cssProps.text },
|
|
13
13
|
boolean: { regex: /^(\s*)([\w-]+)(:)\s*(.*)$/g, css: cssProps.boolean },
|