@adyen/kyc-components 4.7.0-beta.0 → 4.7.2
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-RYwThKmu.js → AcceptTermsOfServiceComponent-BbktO0zC.js} +14 -14
- package/dist/{AccountSetupRejected-DhwwBH0S.js → AccountSetupRejected-B9jCHNz-.js} +1 -1
- package/dist/{ActionBar-u-Qc7Y4w.js → ActionBar-CbFBdfam.js} +1 -1
- package/dist/{Address-TGZeMCUA.js → Address-CAzHDiil.js} +9 -9
- package/dist/{Avatar-LSd9cIJV.js → Avatar-D7DkiYRU.js} +1 -1
- package/dist/{BusinessFinancingComponent-DAeZTKW1.js → BusinessFinancingComponent-B7O8VSuR.js} +4 -4
- package/dist/{BusinessFinancingDropin-BVgSTmUm.js → BusinessFinancingDropin-CZjat6zg.js} +27 -27
- package/dist/{BusinessFinancingPage-vKWY2gWN.js → BusinessFinancingPage-wYYsqc5D.js} +3 -3
- package/dist/{BusinessTypeSelectionPage-DhpGpgac.js → BusinessTypeSelectionPage-SVmYYbcY.js} +8 -8
- package/dist/{Checkbox-D5-_dw4-.js → Checkbox-DntVTT7e.js} +1 -1
- package/dist/{Confirm-BoQbVMKQ.js → Confirm-CceRWfkX.js} +2 -2
- package/dist/{ConstitutionalDocument-CjUSPI6f.js → ConstitutionalDocument-M10n8QHQ.js} +16 -16
- package/dist/{ContactDetails-Bj1jL-WF.js → ContactDetails-CJ49drHv.js} +5 -5
- package/dist/{ContextGuidance-CoDkF9Kh.js → ContextGuidance-DeSyT-K4.js} +1 -1
- package/dist/{CountryField-DPtohqO0.js → CountryField-B0KnMSNK.js} +3 -3
- package/dist/{CreateIndividualComponent-DnDxRY8S.js → CreateIndividualComponent-BsABgMiA.js} +4 -4
- package/dist/{CreateTransferInstrumentComponent-BB1v1vPR.js → CreateTransferInstrumentComponent-CHhSi-Nd.js} +3 -3
- package/dist/{Currency-DjKXc6D1.js → Currency-wZFwkXz6.js} +6 -6
- package/dist/{CustomerSupport-nxoB2aXL.js → CustomerSupport-CZZVSn5p.js} +9 -9
- package/dist/{DebugModal-DK9xbFjU.js → DebugModal-B7AyfRi1.js} +6 -6
- package/dist/{DecisionMakerDetails-D-POvfJr.js → DecisionMakerDetails-CmIkuKMd.js} +8 -8
- package/dist/{DecisionMakerDetailsPage-CABFACYm.js → DecisionMakerDetailsPage-C86M_cr7.js} +6 -6
- package/dist/{DecisionMakers-B4gmdJ-s.js → DecisionMakers-BJzPsxVk.js} +17 -17
- package/dist/{Dropzone-IwRNw22i.js → Dropzone-DkOStOI3.js} +3 -3
- package/dist/{EmbeddedStatus-BU2hma9l.js → EmbeddedStatus-BDk-Cdzb.js} +2 -2
- package/dist/{EndStateLayout-DURCt96r.js → EndStateLayout-yZlKFmxQ.js} +1 -1
- package/dist/{EntityAssociation-TBvPBEGa.js → EntityAssociation-BQinpNn-.js} +4 -4
- package/dist/{EntityGuidanceStatus-CFRY8Yia.js → EntityGuidanceStatus-DgrTCy2a.js} +3 -3
- package/dist/{ErrorPanel-ALBlWg3_.js → ErrorPanel-rmGb9PlE.js} +1 -1
- package/dist/{Field--T3FQepj.js → Field-DDqviWD6.js} +1 -1
- package/dist/{FormNavigation-nE2uj2oQ.js → FormNavigation-hnWA-Ehl.js} +2 -2
- package/dist/{Individual.rules-DotRDPTM.js → Individual.rules-DkkHd4AC.js} +5 -5
- package/dist/{IndividualDropin-eiRXQvS_.js → IndividualDropin-HfCpdNoz.js} +49 -49
- package/dist/{InputDate-BAzF-upe.js → InputDate-BB4WZBNP.js} +1 -1
- package/dist/{InputText-CywP4Ojh.js → InputText-BCi31wZB.js} +1 -1
- package/dist/{Introduction-CKoQlTAr.js → Introduction-DShrdSBn.js} +3 -3
- package/dist/{InvitedDecisionMakerComponent-CV8OExOI.js → InvitedDecisionMakerComponent-B2HU3LgV.js} +9 -9
- package/dist/{JpAddress-BIgqDfQ0.js → JpAddress-DE9yfseS.js} +8 -8
- package/dist/{LandingLayout-DEgZw1-N.js → LandingLayout-D_EQfRqT.js} +1 -1
- package/dist/{LegalCompanyNameField-CblBotGC.js → LegalCompanyNameField-CCPNDYao.js} +5 -5
- package/dist/{LegalRepresentativeDetailsPage-BYgKGZL1.js → LegalRepresentativeDetailsPage-ZsBB2MMq.js} +3 -3
- package/dist/{Link-BVdY7Jkl.js → Link-DWRRNNKW.js} +1 -1
- package/dist/{ListItem-CNuX4D7n.js → ListItem-DlliPqo-.js} +2 -2
- package/dist/{LoaderWrapper-CU0bf3jD.js → LoaderWrapper-DE-3T3QK.js} +1 -1
- package/dist/{ManageIndividualComponent-BYBvuHfj.js → ManageIndividualComponent-CGjYieXl.js} +4 -4
- package/dist/{ManageTermsOfServiceComponent-CfN53LIT.js → ManageTermsOfServiceComponent-DVal60Sx.js} +3 -3
- package/dist/{ManageTransferInstrumentComponent-B7gKGWHz.js → ManageTransferInstrumentComponent-oOQNBPeD.js} +9 -9
- package/dist/{MaskedInput-BNceotwn.js → MaskedInput-Dzp3Td83.js} +4 -4
- package/dist/{MaybeModal-hVrKDPDU.js → MaybeModal-Vk2hdUdf.js} +2 -2
- package/dist/{Modal-C8kGCLbp.js → Modal-Bq5ccK7z.js} +1 -1
- package/dist/{Name-GILpP1SS.js → Name-w6uDAo1S.js} +4 -4
- package/dist/{NewSummary-C5UR_Xj1.js → NewSummary-fp6oz9Ko.js} +1 -1
- package/dist/{OnboardingDropinComponent-CK5KIhNx.js → OnboardingDropinComponent-Cn45HTst.js} +105 -86
- package/dist/{PayoutDetailsDropin-CLdEm9BA.js → PayoutDetailsDropin-Bzs2jydk.js} +32 -32
- package/dist/{PayoutDetailsPage-s-_gJFC2.js → PayoutDetailsPage-BGdufep3.js} +19 -19
- package/dist/{RadioGroup-PEWX2KAj.js → RadioGroup-BOUo26G0.js} +1 -1
- package/dist/{Review-CFnIOiZT.js → Review-Be1zBkVv.js} +5 -5
- package/dist/{RootBusinessDetailsPage-mnrfIy0-.js → RootBusinessDetailsPage-CnX2zYB9.js} +4 -4
- package/dist/{RootBusinessLinesPage-BH3Lns3X.js → RootBusinessLinesPage-G9LnOcFE.js} +24 -24
- package/dist/{RootIndividualDetailsPage-BzgHIe3h.js → RootIndividualDetailsPage-DPim7JYp.js} +5 -5
- package/dist/{Select-C4C8R-Ci.js → Select-D5a5aVFZ.js} +3 -3
- package/dist/{SignPCIComponent-B7rKUpjS.js → SignPCIComponent-BTyUfmK_.js} +10 -10
- package/dist/{SingpassSelection-WxIUEYNK.js → SingpassSelection-DowkF6pT.js} +4 -4
- package/dist/{SoleProprietorshipPage-C_fewFI3.js → SoleProprietorshipPage-C_875t2r.js} +3 -3
- package/dist/{SourceOfFundsPage-UeXmtQEJ.js → SourceOfFundsPage-Cx6ekIue.js} +31 -31
- package/dist/{StepProgressIndicator-DiB-t9hK.js → StepProgressIndicator-CW9yp5Ud.js} +1 -1
- package/dist/{StoreProvider-C4og8Y8I.js → StoreProvider-CApjzEDt.js} +4 -4
- package/dist/{Summary-DkZ_an9u.js → Summary-DlYtNJQD.js} +5 -5
- package/dist/{TaxInformationField-BOZj8YLo.js → TaxInformationField-ByQTgGxY.js} +19 -19
- package/dist/{TaxReportingDropin-9HGGrPyM.js → TaxReportingDropin-D52Nf4f2.js} +13 -13
- package/dist/{TextArea-Bu9ppy0I.js → TextArea-C4OmPCHh.js} +1 -1
- package/dist/{TileGroup-BRzhDdL0.js → TileGroup-Aj0Yql_d.js} +2 -2
- package/dist/{TrustDetailsPage-C3gYEzPT.js → TrustDetailsPage-Cj368KCb.js} +30 -30
- package/dist/{TrustMemberCompanyPage-BK54Of_F.js → TrustMemberCompanyPage-CTXwk8mB.js} +4 -4
- package/dist/{TrustMemberIndividualPage-fVZrXJjA.js → TrustMemberIndividualPage-BusLDMBC.js} +3 -3
- package/dist/{TrustMemberRoleAndTypePage-BVHOuXP3.js → TrustMemberRoleAndTypePage-D6Ir0aGf.js} +20 -20
- package/dist/{TrustMembersOverview-Ab-dwNTz.js → TrustMembersOverview-_eQwa8o8.js} +9 -9
- package/dist/{UnincorporatedPartnershipIndividualPage-C32LEyHG.js → UnincorporatedPartnershipIndividualPage-tCLAddt7.js} +3 -3
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-22Bl_EUP.js → UnincorporatedPartnershipMemberCompanyPage-A7gQ5wwr.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-BjywaZQe.js → UnincorporatedPartnershipMemberRoleAndTypePage-DaFl9wVc.js} +10 -10
- package/dist/{UnincorporatedPartnershipMembersOverview-RY7m4iC5.js → UnincorporatedPartnershipMembersOverview-C3YF2E_k.js} +6 -6
- package/dist/{VerificationErrorAlert-CCJ0vNsY.js → VerificationErrorAlert-D8Menx5E.js} +2 -2
- package/dist/{ViewVerificationStatusComponent-Bg1I1q10.js → ViewVerificationStatusComponent-TBlv6an5.js} +2 -2
- package/dist/adyen-business-financing.js +2 -2
- package/dist/adyen-individual-configuration.js +2 -2
- package/dist/adyen-individual-status.js +2 -2
- package/dist/adyen-invited-decision-maker.js +2 -2
- package/dist/adyen-kyc-components.js +15 -15
- package/dist/adyen-onboarding.js +2 -2
- package/dist/adyen-terms-of-service-management.js +2 -2
- package/dist/adyen-terms-of-service-status.js +2 -2
- package/dist/adyen-transfer-instrument-configuration.js +2 -2
- package/dist/adyen-transfer-instrument-management.js +2 -2
- package/dist/adyen-verification-status.js +2 -2
- package/dist/{bafinUtils-DkCSO6ft.js → bafinUtils-DOGd6Xk9.js} +1 -1
- package/dist/{commonValidators-Dd4wegC9.js → commonValidators-D1bdFvRX.js} +1 -1
- package/dist/{dropinUtils-vsDEK6cs.js → dropinUtils-C6SkIQLo.js} +3 -3
- package/dist/{formUtils-DFuc8i5Q.js → formUtils-BVAIyFiB.js} +2 -2
- package/dist/{getName-D3Sba-PI.js → getName-CfQAf_l-.js} +1 -1
- package/dist/{getProblemsForEntity-Db-ejW4z.js → getProblemsForEntity-I5B0dWUU.js} +1 -1
- package/dist/{getTrustedFields-DUXTMWcg.js → getTrustedFields-Cv6R496P.js} +1 -1
- package/dist/{isEmpty-DFqK5kY2.js → isEmpty-BcLvy0xw.js} +1 -1
- package/dist/{japanSupportUtils-DqXOWm97.js → japanSupportUtils-DR5unSI9.js} +1 -1
- package/dist/{localizeDateString-D8JgUqw2.js → localizeDateString-0FoP1ZoN.js} +1 -1
- package/dist/{mapExistingFile-BIYg1E5G.js → mapExistingFile-BOZ-beF3.js} +2 -2
- package/dist/{mapJpAddressSchemaToAddressLocalizations-D5xnQLSI.js → mapJpAddressSchemaToAddressLocalizations-MqYxkfLg.js} +1 -1
- package/dist/{mapLegalEntityToIndividualSchema-By5v9v9G.js → mapLegalEntityToIndividualSchema-CQnZl2f1.js} +3 -3
- package/dist/{mapTransferInstrumentToPayoutAccount-BM24JYqT.js → mapTransferInstrumentToPayoutAccount-DJ5E9tqe.js} +1 -1
- package/dist/{omitObscuredFieldsIfUnchanged-CyJfNYkP.js → omitObscuredFieldsIfUnchanged-DMBgASfn.js} +2 -2
- package/dist/{patternValidators-DRSnA1z7.js → patternValidators-a6VZDG0x.js} +1 -1
- package/dist/{process-field-configurations-Cl2nqpBp.js → process-field-configurations-CMIDJACq.js} +1 -1
- package/dist/{resolveEnvironment-BIF7mwM5.js → resolveEnvironment-BBqc2XYC.js} +3 -3
- package/dist/{roleMetadata-BAURfCmh.js → roleMetadata-D1-6Xl8x.js} +2 -2
- package/dist/{types-DxlKs1U5.js → types--xPA8bq3.js} +1 -1
- package/dist/{types-DsA42AXS.js → types-BDdV-c-7.js} +1 -1
- package/dist/{types-VsWq4EjV.js → types-CMK2Gs1Z.js} +1 -1
- package/dist/{unincorporated-partnership-uA1X2l53.js → unincorporated-partnership-5iQ8augf.js} +1 -1
- package/dist/{useAssociatedLegalEntity-3LNpnrN6.js → useAssociatedLegalEntity-9hHARgoS.js} +1 -1
- package/dist/{useBusinessDetailsData-dZbZQSmY.js → useBusinessDetailsData-eIZWfksO.js} +47 -47
- package/dist/{useCreateLegalEntity-DDkkYr4O.js → useCreateLegalEntity-CtGUDesz.js} +1 -1
- package/dist/{useForm-Y4-kimHb.js → useForm-BgHdSJLD.js} +2 -2
- package/dist/{useFormContext-TKoF8IdB.js → useFormContext-CS1RRaOG.js} +6 -6
- package/dist/{useGlobalData-DZvXyS0l.js → useGlobalData-TnV6PIkt.js} +8 -8
- package/dist/{useMultiForm-ieaYM7hW.js → useMultiForm-D_RXm-EH.js} +3 -3
- package/dist/{useOnboardingStatus-DhxCTR8e.js → useOnboardingStatus-C24Lv41L.js} +1 -1
- package/dist/{useScenarios-CwSfXmoW.js → useScenarios-Dt8fTJaF.js} +1 -1
- package/dist/{useTermsOfServiceStatus-DPGw4QdQ.js → useTermsOfServiceStatus-uLxHxESA.js} +1 -1
- package/dist/{useToastContext-BdsMS3mt.js → useToastContext-DrlXuGmm.js} +1 -1
- package/dist/{useUnincorporatedPartnershipMembers-D5ndPAbv.js → useUnincorporatedPartnershipMembers-DCGs6f0a.js} +4 -4
- package/dist/{useUpdateBusinessLines-Dwk23sZB.js → useUpdateBusinessLines-fa9VQXA7.js} +3 -3
- package/dist/{useUpdateLegalEntity-5lOidXXX.js → useUpdateLegalEntity-pCVJvMOY.js} +2 -2
- package/dist/{utils-CdhuiXMy.js → utils-3sCyD_Sz.js} +1 -1
- package/dist/{utils-C5ekxdx1.js → utils-C0z7wmlu.js} +1 -1
- package/dist/{utils-BwwVW2aU.js → utils-CPcpt-fR.js} +5 -5
- package/dist/{utils-C_Fyu6Kr.js → utils-CgfUpZyZ.js} +1 -1
- package/dist/{utils-Dny5dbku.js → utils-CinWv0Kh.js} +2 -2
- package/dist/{validate-CFI052fe.js → validate-B1FpiTip.js} +2 -2
- package/dist/{validate-bZBB2yOu.js → validate-DfJceNKE.js} +1 -1
- package/dist/{validationError-XxBa8ECY.js → validationError-kYn_eC4r.js} +1 -1
- package/package.json +1 -1
package/dist/{OnboardingDropinComponent-CK5KIhNx.js → OnboardingDropinComponent-Cn45HTst.js}
RENAMED
|
@@ -2,35 +2,35 @@
|
|
|
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] = "707366ca-82dc-4263-a31e-fe12a489fa46", e._sentryDebugIdIdentifier = "sentry-dbid-707366ca-82dc-4263-a31e-fe12a489fa46");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, j as httpPost, k as httpGet, m as useSettingsContext, o as isPartOfTrustFromLegalEntity, p as hasSolePropInLegalEntity, L as LegalEntityTypes, q as hasOwnEntityAssociationOfType, r as isEmptyEntity, t as useAccountHolder, u as useTranslation, E as EntityTypes, v as DATA_MISSING_DECISION_MAKER_ERROR_CODE_MAPPING, w as TaskTypes, x as useAnalyticsContext, y as TaskStatuses, z as Icon, B as IconButton, C as Alert, G as TaskVerificationStatus, H as useToggleContext, J as isInstantVerifiedAccount, K as getObscuredAccountNumber, M as useGetTaskStatus, N as Typography, O as StackLayout, P as useLegalEntity, R as ROOT_LE, U as Loader, V as Button, W as useGlobalStore, X as TASK_STATUS_COMPLETED_POLLING_INTERVAL_MS, Y as TASK_STATUS_POLLING_INTERVAL_MS, Z as useSetting, $ as isPartOfUnincorporatedPartnership, a0 as doesLegalEntityRequiresLegalRepresentative, a1 as getLegalRepresentative, a2 as getOwnSignatories, a3 as getOwnDecisionMakersLegalEntityIds, a4 as getOwnSolePropProblems, a5 as getOwnTrustProblems, a6 as getOwnUnincorporatedPartnershipProblems, a7 as useLocalStorage, a8 as getLegalEntityCountry, a9 as CountryCodes, aa as Skeleton, ab as translateTranslatable, ac as getOwnEntityAssociations, ad as TrustMemberTypes, ae as createLogger, af as hasAllCapabilitiesResolved, ag as hasRejectedCapabilities, ah as objectsDeepEqual, ai as noop, aj as useToggles, a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { b as useApiContext, j as httpPost, k as httpGet, m as useSettingsContext, o as isPartOfTrustFromLegalEntity, p as hasSolePropInLegalEntity, L as LegalEntityTypes, q as hasOwnEntityAssociationOfType, r as isEmptyEntity, t as useAccountHolder, u as useTranslation, E as EntityTypes, v as DATA_MISSING_DECISION_MAKER_ERROR_CODE_MAPPING, w as TaskTypes, x as useAnalyticsContext, y as TaskStatuses, z as Icon, B as IconButton, C as Alert, G as TaskVerificationStatus, H as useToggleContext, J as isInstantVerifiedAccount, K as getObscuredAccountNumber, M as useGetTaskStatus, N as Typography, O as StackLayout, P as useLegalEntity, R as ROOT_LE, U as Loader, V as Button, W as useGlobalStore, X as TASK_STATUS_COMPLETED_POLLING_INTERVAL_MS, Y as TASK_STATUS_POLLING_INTERVAL_MS, Z as useSetting, $ as isPartOfUnincorporatedPartnership, a0 as doesLegalEntityRequiresLegalRepresentative, a1 as getLegalRepresentative, a2 as getOwnSignatories, a3 as getOwnDecisionMakersLegalEntityIds, a4 as getOwnSolePropProblems, a5 as getOwnTrustProblems, a6 as getOwnUnincorporatedPartnershipProblems, a7 as useLocalStorage, a8 as getLegalEntityCountry, a9 as CountryCodes, aa as Skeleton, ab as translateTranslatable, ac as getOwnEntityAssociations, ad as TrustMemberTypes, ae as createLogger, af as hasAllCapabilitiesResolved, ag as hasRejectedCapabilities, ah as objectsDeepEqual, ai as noop, aj as useToggles, a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-CApjzEDt.js";
|
|
11
11
|
import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
|
|
12
12
|
import { useQuery, skipToken } from "@tanstack/preact-query";
|
|
13
13
|
import { lazy, Suspense } from "preact/compat";
|
|
14
14
|
import { useMemo, useState, useEffect, useReducer, useRef, useCallback, useContext } from "preact/hooks";
|
|
15
|
-
import { g as getAccountTaskStatus, u as useTaskStatus, a as getTrustedFieldsProvider } from "./getTrustedFields-
|
|
16
|
-
import { u as useTermsOfServiceStatus, a as useTermsOfServiceAcceptanceInfos } from "./useTermsOfServiceStatus-
|
|
15
|
+
import { g as getAccountTaskStatus, u as useTaskStatus, a as getTrustedFieldsProvider } from "./getTrustedFields-Cv6R496P.js";
|
|
16
|
+
import { u as useTermsOfServiceStatus, a as useTermsOfServiceAcceptanceInfos } from "./useTermsOfServiceStatus-uLxHxESA.js";
|
|
17
17
|
import { C as Card } from "./Card-OQuFzmxm.js";
|
|
18
18
|
import { S as SettingNames } from "./types-Dv0COrvY.js";
|
|
19
|
-
import { u as useToastContext } from "./useToastContext-
|
|
20
|
-
import { C as CompanyTypesValues, i as isBafinSignatoryFlow, s as showIdNowModal, a as idNowPostSubmit } from "./bafinUtils-
|
|
21
|
-
import { E as EndStateLayout } from "./EndStateLayout-
|
|
22
|
-
import { u as useCapabilityProblems } from "./getProblemsForEntity-
|
|
19
|
+
import { u as useToastContext } from "./useToastContext-DrlXuGmm.js";
|
|
20
|
+
import { C as CompanyTypesValues, i as isBafinSignatoryFlow, s as showIdNowModal, a as idNowPostSubmit } from "./bafinUtils-DOGd6Xk9.js";
|
|
21
|
+
import { E as EndStateLayout } from "./EndStateLayout-yZlKFmxQ.js";
|
|
22
|
+
import { u as useCapabilityProblems } from "./getProblemsForEntity-I5B0dWUU.js";
|
|
23
23
|
import { d as downloadFile } from "./file-CiG1D0zy.js";
|
|
24
|
-
import { V as VerificationErrorAlert, u as useDeleteTransferInstrument } from "./VerificationErrorAlert-
|
|
25
|
-
import { A as Avatar } from "./Avatar-
|
|
26
|
-
import { L as LoaderWrapper } from "./LoaderWrapper-
|
|
27
|
-
import { C as Confirm } from "./Confirm-
|
|
24
|
+
import { V as VerificationErrorAlert, u as useDeleteTransferInstrument } from "./VerificationErrorAlert-D8Menx5E.js";
|
|
25
|
+
import { A as Avatar } from "./Avatar-D7DkiYRU.js";
|
|
26
|
+
import { L as LoaderWrapper } from "./LoaderWrapper-DE-3T3QK.js";
|
|
27
|
+
import { C as Confirm } from "./Confirm-CceRWfkX.js";
|
|
28
28
|
import { F as FeatureNames } from "./types-C7ANBXKc.js";
|
|
29
29
|
import { T as TrustedFieldsProviders } from "./trusted-fields-provider-BgfIoSNJ.js";
|
|
30
|
-
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-
|
|
30
|
+
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-9hHARgoS.js";
|
|
31
31
|
import cx from "classnames";
|
|
32
|
-
import { I as Image, U as UnincorporatedPartnershipMemberTypes } from "./unincorporated-partnership-
|
|
33
|
-
import { g as getLegalEntityNameBasedOnType } from "./getName-
|
|
32
|
+
import { I as Image, U as UnincorporatedPartnershipMemberTypes } from "./unincorporated-partnership-5iQ8augf.js";
|
|
33
|
+
import { g as getLegalEntityNameBasedOnType } from "./getName-CfQAf_l-.js";
|
|
34
34
|
import { matchRoute, useLocation, Route, Switch, useRouter, Router } from "wouter-preact";
|
|
35
35
|
import { memoryLocation } from "wouter-preact/memory-location";
|
|
36
36
|
import { createContext } from "preact";
|
|
@@ -1487,89 +1487,89 @@ const hasProgressedBeyondEntitySelection$1 = (legalEntity) => {
|
|
|
1487
1487
|
return hasOwnEntityAssocation || !!hasOrganizationType;
|
|
1488
1488
|
};
|
|
1489
1489
|
const Introduction$1 = lazy(
|
|
1490
|
-
async () => (await import("./Introduction-
|
|
1490
|
+
async () => (await import("./Introduction-DShrdSBn.js")).Introduction
|
|
1491
1491
|
);
|
|
1492
1492
|
const BusinessTypeSelectionPage$1 = lazy(
|
|
1493
|
-
async () => (await import("./BusinessTypeSelectionPage-
|
|
1493
|
+
async () => (await import("./BusinessTypeSelectionPage-SVmYYbcY.js")).BusinessTypeSelectionPage
|
|
1494
1494
|
);
|
|
1495
1495
|
const SingpassSelection$1 = lazy(
|
|
1496
|
-
async () => (await import("./SingpassSelection-
|
|
1496
|
+
async () => (await import("./SingpassSelection-DowkF6pT.js")).SingpassSelection
|
|
1497
1497
|
);
|
|
1498
1498
|
const AccountSetupRejected$1 = lazy(
|
|
1499
|
-
async () => (await import("./AccountSetupRejected-
|
|
1499
|
+
async () => (await import("./AccountSetupRejected-B9jCHNz-.js")).AccountSetupRejected
|
|
1500
1500
|
);
|
|
1501
1501
|
const DecisionMakers$1 = lazy(
|
|
1502
|
-
async () => (await import("./DecisionMakers-
|
|
1502
|
+
async () => (await import("./DecisionMakers-BJzPsxVk.js")).DecisionMakers
|
|
1503
1503
|
);
|
|
1504
1504
|
const CustomerSupport$1 = lazy(
|
|
1505
|
-
async () => (await import("./CustomerSupport-
|
|
1505
|
+
async () => (await import("./CustomerSupport-CZZVSn5p.js")).CustomerSupport
|
|
1506
1506
|
);
|
|
1507
|
-
const Review$1 = lazy(async () => (await import("./Review-
|
|
1507
|
+
const Review$1 = lazy(async () => (await import("./Review-Be1zBkVv.js")).Review);
|
|
1508
1508
|
const SignPCIComponent$1 = lazy(
|
|
1509
|
-
async () => (await import("./SignPCIComponent-
|
|
1509
|
+
async () => (await import("./SignPCIComponent-BTyUfmK_.js")).SignPCIComponent
|
|
1510
1510
|
);
|
|
1511
1511
|
const AcceptTermsOfService$1 = lazy(
|
|
1512
|
-
async () => (await import("./AcceptTermsOfServiceComponent-
|
|
1512
|
+
async () => (await import("./AcceptTermsOfServiceComponent-BbktO0zC.js")).AcceptTermsOfServiceComponent
|
|
1513
1513
|
);
|
|
1514
1514
|
const TaxReportingDropin$1 = lazy(
|
|
1515
|
-
async () => (await import("./TaxReportingDropin-
|
|
1515
|
+
async () => (await import("./TaxReportingDropin-D52Nf4f2.js")).TaxReportingDropin
|
|
1516
1516
|
);
|
|
1517
1517
|
const PayoutDetailsPage$1 = lazy(
|
|
1518
|
-
async () => (await import("./PayoutDetailsPage-
|
|
1518
|
+
async () => (await import("./PayoutDetailsPage-BGdufep3.js")).PayoutDetailsPage
|
|
1519
1519
|
);
|
|
1520
1520
|
const RootBusinessDetailsPage$1 = lazy(
|
|
1521
|
-
async () => (await import("./RootBusinessDetailsPage-
|
|
1521
|
+
async () => (await import("./RootBusinessDetailsPage-CnX2zYB9.js")).RootBusinessDetailsPage
|
|
1522
1522
|
);
|
|
1523
1523
|
const RootBusinessLinesPage$1 = lazy(
|
|
1524
|
-
async () => (await import("./RootBusinessLinesPage-
|
|
1524
|
+
async () => (await import("./RootBusinessLinesPage-G9LnOcFE.js")).RootBusinessLinesPage
|
|
1525
1525
|
);
|
|
1526
1526
|
const SoleProprietorshipPage$1 = lazy(
|
|
1527
|
-
async () => (await import("./SoleProprietorshipPage-
|
|
1527
|
+
async () => (await import("./SoleProprietorshipPage-C_875t2r.js")).SoleProprietorshipPage
|
|
1528
1528
|
);
|
|
1529
1529
|
const TrustMemberCompanyPage$1 = lazy(
|
|
1530
|
-
async () => (await import("./TrustMemberCompanyPage-
|
|
1530
|
+
async () => (await import("./TrustMemberCompanyPage-CTXwk8mB.js")).TrustMemberCompanyPage
|
|
1531
1531
|
);
|
|
1532
1532
|
const TrustMemberIndividualPage$1 = lazy(
|
|
1533
|
-
async () => (await import("./TrustMemberIndividualPage-
|
|
1533
|
+
async () => (await import("./TrustMemberIndividualPage-BusLDMBC.js")).TrustMemberIndividualPage
|
|
1534
1534
|
);
|
|
1535
1535
|
const TrustMemberRoleAndTypePage$1 = lazy(
|
|
1536
|
-
async () => (await import("./TrustMemberRoleAndTypePage-
|
|
1536
|
+
async () => (await import("./TrustMemberRoleAndTypePage-D6Ir0aGf.js")).TrustMemberRoleAndTypePage
|
|
1537
1537
|
);
|
|
1538
1538
|
const TrustMembersOverview$1 = lazy(
|
|
1539
|
-
async () => (await import("./TrustMembersOverview-
|
|
1539
|
+
async () => (await import("./TrustMembersOverview-_eQwa8o8.js")).TrustMembersOverview
|
|
1540
1540
|
);
|
|
1541
1541
|
const UnincorporatedPartnershipMemberCompanyPage$1 = lazy(
|
|
1542
|
-
async () => (await import("./UnincorporatedPartnershipMemberCompanyPage-
|
|
1542
|
+
async () => (await import("./UnincorporatedPartnershipMemberCompanyPage-A7gQ5wwr.js")).UnincorporatedPartnershipMemberCompanyPage
|
|
1543
1543
|
);
|
|
1544
1544
|
const UnincorporatedPartnershipIndividualPage$1 = lazy(
|
|
1545
|
-
async () => (await import("./UnincorporatedPartnershipIndividualPage-
|
|
1545
|
+
async () => (await import("./UnincorporatedPartnershipIndividualPage-tCLAddt7.js")).UnincorporatedPartnershipIndividualPage
|
|
1546
1546
|
);
|
|
1547
1547
|
const UnincorporatedPartnershipMemberRoleAndTypePage$1 = lazy(
|
|
1548
|
-
async () => (await import("./UnincorporatedPartnershipMemberRoleAndTypePage-
|
|
1548
|
+
async () => (await import("./UnincorporatedPartnershipMemberRoleAndTypePage-DaFl9wVc.js")).UnincorporatedPartnershipMemberRoleAndTypePage
|
|
1549
1549
|
);
|
|
1550
1550
|
const UnincorporatedPartnershipMembersOverview$1 = lazy(
|
|
1551
|
-
async () => (await import("./UnincorporatedPartnershipMembersOverview-
|
|
1551
|
+
async () => (await import("./UnincorporatedPartnershipMembersOverview-C3YF2E_k.js")).UnincorporatedPartnershipMembersOverview
|
|
1552
1552
|
);
|
|
1553
1553
|
const BusinessFinancingPage$1 = lazy(
|
|
1554
|
-
async () => (await import("./BusinessFinancingPage-
|
|
1554
|
+
async () => (await import("./BusinessFinancingPage-wYYsqc5D.js")).BusinessFinancingPage
|
|
1555
1555
|
);
|
|
1556
1556
|
const TrustDetailsPage$1 = lazy(
|
|
1557
|
-
async () => (await import("./TrustDetailsPage-
|
|
1557
|
+
async () => (await import("./TrustDetailsPage-Cj368KCb.js")).TrustDetailsPage
|
|
1558
1558
|
);
|
|
1559
1559
|
const SourceOfFundsPage$1 = lazy(
|
|
1560
|
-
async () => (await import("./SourceOfFundsPage-
|
|
1560
|
+
async () => (await import("./SourceOfFundsPage-Cx6ekIue.js")).SourceOfFundsPage
|
|
1561
1561
|
);
|
|
1562
1562
|
const RootIndividualDetailsPage$1 = lazy(
|
|
1563
|
-
async () => (await import("./RootIndividualDetailsPage-
|
|
1563
|
+
async () => (await import("./RootIndividualDetailsPage-DPim7JYp.js")).RootIndividualDetailsPage
|
|
1564
1564
|
);
|
|
1565
1565
|
const LegalRepresentativeDetailsPage$1 = lazy(
|
|
1566
|
-
async () => (await import("./LegalRepresentativeDetailsPage-
|
|
1566
|
+
async () => (await import("./LegalRepresentativeDetailsPage-ZsBB2MMq.js")).LegalRepresentativeDetailsPage
|
|
1567
1567
|
);
|
|
1568
1568
|
const DecisionMakerDetailsPage$1 = lazy(
|
|
1569
|
-
async () => (await import("./DecisionMakerDetailsPage-
|
|
1569
|
+
async () => (await import("./DecisionMakerDetailsPage-C86M_cr7.js")).DecisionMakerDetailsPage
|
|
1570
1570
|
);
|
|
1571
1571
|
const InvitedDecisionMakerComponent = lazy(
|
|
1572
|
-
async () => (await import("./InvitedDecisionMakerComponent-
|
|
1572
|
+
async () => (await import("./InvitedDecisionMakerComponent-B2HU3LgV.js")).InvitedDecisionMakerComponent
|
|
1573
1573
|
);
|
|
1574
1574
|
const ROUTE_CONFIG = {
|
|
1575
1575
|
[TaskTypes.TASKS_OVERVIEW]: { path: "/tasks" },
|
|
@@ -1619,11 +1619,11 @@ const ROUTE_CONFIG = {
|
|
|
1619
1619
|
Component: TrustMemberRoleAndTypePage$1
|
|
1620
1620
|
},
|
|
1621
1621
|
[TaskTypes.TRUST_MEMBER_INDIVIDUAL]: {
|
|
1622
|
-
path: "/trust/member/:memberId
|
|
1622
|
+
path: "/trust/member/:memberId?/individual",
|
|
1623
1623
|
Component: TrustMemberIndividualPage$1
|
|
1624
1624
|
},
|
|
1625
1625
|
[TaskTypes.TRUST_MEMBER_COMPANY]: {
|
|
1626
|
-
path: "/trust/member/:memberId
|
|
1626
|
+
path: "/trust/member/:memberId?/company",
|
|
1627
1627
|
Component: TrustMemberCompanyPage$1
|
|
1628
1628
|
},
|
|
1629
1629
|
[TaskTypes.TRUST_MEMBER_COMPANY_OWNER]: {
|
|
@@ -1643,11 +1643,11 @@ const ROUTE_CONFIG = {
|
|
|
1643
1643
|
Component: UnincorporatedPartnershipMemberRoleAndTypePage$1
|
|
1644
1644
|
},
|
|
1645
1645
|
[TaskTypes.UNINCORPORATED_PARTNERSHIP_MEMBER_INDIVIDUAL]: {
|
|
1646
|
-
path: "/partnership/member/:memberId
|
|
1646
|
+
path: "/partnership/member/:memberId?/individual",
|
|
1647
1647
|
Component: UnincorporatedPartnershipIndividualPage$1
|
|
1648
1648
|
},
|
|
1649
1649
|
[TaskTypes.UNINCORPORATED_PARTNERSHIP_MEMBER_COMPANY]: {
|
|
1650
|
-
path: "/partnership/member/:memberId
|
|
1650
|
+
path: "/partnership/member/:memberId?/company",
|
|
1651
1651
|
Component: UnincorporatedPartnershipMemberCompanyPage$1
|
|
1652
1652
|
},
|
|
1653
1653
|
[TaskTypes.UNINCORPORATED_PARTNERSHIP_MEMBER_COMPANY_OWNER]: {
|
|
@@ -1982,8 +1982,12 @@ function OnboardingRouter({
|
|
|
1982
1982
|
trustId: trust?.id,
|
|
1983
1983
|
newMember: trustMember?.legalEntityId === isNewEntity ? trustMember : void 0,
|
|
1984
1984
|
onSubmit: async (data) => {
|
|
1985
|
-
|
|
1986
|
-
|
|
1985
|
+
try {
|
|
1986
|
+
await handleOnSubmit(data, 2);
|
|
1987
|
+
await refetchTrust();
|
|
1988
|
+
navigate.replace(TaskTypes.TRUST_MEMBER_OVERVIEW);
|
|
1989
|
+
} catch {
|
|
1990
|
+
}
|
|
1987
1991
|
},
|
|
1988
1992
|
handleBackClick: () => navigate.back(),
|
|
1989
1993
|
handleHomeClick: () => navigate.to(TaskTypes.TRUST_MEMBER_OVERVIEW)
|
|
@@ -1995,8 +1999,12 @@ function OnboardingRouter({
|
|
|
1995
1999
|
trustId: trust?.id,
|
|
1996
2000
|
newMember: trustMember?.legalEntityId === isNewEntity ? trustMember : void 0,
|
|
1997
2001
|
onSubmit: async (data) => {
|
|
1998
|
-
|
|
1999
|
-
|
|
2002
|
+
try {
|
|
2003
|
+
await handleOnSubmit(data, 2);
|
|
2004
|
+
await refetchTrust();
|
|
2005
|
+
navigate.replace(TaskTypes.TRUST_MEMBER_OVERVIEW);
|
|
2006
|
+
} catch {
|
|
2007
|
+
}
|
|
2000
2008
|
},
|
|
2001
2009
|
handleHomeClick: () => navigate.back()
|
|
2002
2010
|
}
|
|
@@ -2058,12 +2066,16 @@ function OnboardingRouter({
|
|
|
2058
2066
|
{
|
|
2059
2067
|
partnershipId: unincorporatedPartnership?.id,
|
|
2060
2068
|
member: unincorporatedPartnershipMember,
|
|
2061
|
-
onSubmit: (data) => {
|
|
2062
|
-
|
|
2063
|
-
|
|
2069
|
+
onSubmit: async (data) => {
|
|
2070
|
+
try {
|
|
2071
|
+
await handleOnSubmit(data, 2);
|
|
2072
|
+
await refetchUnincorporatedPartnership();
|
|
2073
|
+
navigate.replace(TaskTypes.UNINCORPORATED_PARTNERSHIP_MEMBER_OVERVIEW);
|
|
2074
|
+
} catch {
|
|
2075
|
+
}
|
|
2064
2076
|
},
|
|
2065
2077
|
handleBackClick: () => navigate.back(),
|
|
2066
|
-
handleHomeClick: () => navigate.to(TaskTypes.
|
|
2078
|
+
handleHomeClick: () => navigate.to(TaskTypes.UNINCORPORATED_PARTNERSHIP_MEMBER_OVERVIEW)
|
|
2067
2079
|
}
|
|
2068
2080
|
) }),
|
|
2069
2081
|
/* @__PURE__ */ jsx(SuspenseRoute, { path: ROUTE_PATHS[TaskTypes.UNINCORPORATED_PARTNERSHIP_MEMBER_COMPANY], children: /* @__PURE__ */ jsx(
|
|
@@ -2071,7 +2083,14 @@ function OnboardingRouter({
|
|
|
2071
2083
|
{
|
|
2072
2084
|
partnershipId: unincorporatedPartnership?.id,
|
|
2073
2085
|
newMember: unincorporatedPartnershipMember?.legalEntityId === "" ? unincorporatedPartnershipMember : void 0,
|
|
2074
|
-
onSubmit: (data) =>
|
|
2086
|
+
onSubmit: async (data) => {
|
|
2087
|
+
try {
|
|
2088
|
+
await handleOnSubmit(data, 2);
|
|
2089
|
+
await refetchUnincorporatedPartnership();
|
|
2090
|
+
navigate.replace(TaskTypes.UNINCORPORATED_PARTNERSHIP_MEMBER_OVERVIEW);
|
|
2091
|
+
} catch {
|
|
2092
|
+
}
|
|
2093
|
+
},
|
|
2075
2094
|
handleHomeClick: () => navigate.back()
|
|
2076
2095
|
}
|
|
2077
2096
|
) }),
|
|
@@ -2563,86 +2582,86 @@ const hasProgressedBeyondEntitySelection = (legalEntity) => {
|
|
|
2563
2582
|
return hasOwnEntityAssocation || !!hasOrganizationType;
|
|
2564
2583
|
};
|
|
2565
2584
|
const Introduction = lazy(
|
|
2566
|
-
async () => (await import("./Introduction-
|
|
2585
|
+
async () => (await import("./Introduction-DShrdSBn.js")).Introduction
|
|
2567
2586
|
);
|
|
2568
2587
|
const BusinessTypeSelectionPage = lazy(
|
|
2569
|
-
async () => (await import("./BusinessTypeSelectionPage-
|
|
2588
|
+
async () => (await import("./BusinessTypeSelectionPage-SVmYYbcY.js")).BusinessTypeSelectionPage
|
|
2570
2589
|
);
|
|
2571
2590
|
const SingpassSelection = lazy(
|
|
2572
|
-
async () => (await import("./SingpassSelection-
|
|
2591
|
+
async () => (await import("./SingpassSelection-DowkF6pT.js")).SingpassSelection
|
|
2573
2592
|
);
|
|
2574
2593
|
const AccountSetupRejected = lazy(
|
|
2575
|
-
async () => (await import("./AccountSetupRejected-
|
|
2594
|
+
async () => (await import("./AccountSetupRejected-B9jCHNz-.js")).AccountSetupRejected
|
|
2576
2595
|
);
|
|
2577
2596
|
const DecisionMakers = lazy(
|
|
2578
|
-
async () => (await import("./DecisionMakers-
|
|
2597
|
+
async () => (await import("./DecisionMakers-BJzPsxVk.js")).DecisionMakers
|
|
2579
2598
|
);
|
|
2580
2599
|
const CustomerSupport = lazy(
|
|
2581
|
-
async () => (await import("./CustomerSupport-
|
|
2600
|
+
async () => (await import("./CustomerSupport-CZZVSn5p.js")).CustomerSupport
|
|
2582
2601
|
);
|
|
2583
|
-
const Review = lazy(async () => (await import("./Review-
|
|
2602
|
+
const Review = lazy(async () => (await import("./Review-Be1zBkVv.js")).Review);
|
|
2584
2603
|
const SignPCIComponent = lazy(
|
|
2585
|
-
async () => (await import("./SignPCIComponent-
|
|
2604
|
+
async () => (await import("./SignPCIComponent-BTyUfmK_.js")).SignPCIComponent
|
|
2586
2605
|
);
|
|
2587
2606
|
const AcceptTermsOfService = lazy(
|
|
2588
|
-
async () => (await import("./AcceptTermsOfServiceComponent-
|
|
2607
|
+
async () => (await import("./AcceptTermsOfServiceComponent-BbktO0zC.js")).AcceptTermsOfServiceComponent
|
|
2589
2608
|
);
|
|
2590
2609
|
const TaxReportingDropin = lazy(
|
|
2591
|
-
async () => (await import("./TaxReportingDropin-
|
|
2610
|
+
async () => (await import("./TaxReportingDropin-D52Nf4f2.js")).TaxReportingDropin
|
|
2592
2611
|
);
|
|
2593
2612
|
const PayoutDetailsPage = lazy(
|
|
2594
|
-
async () => (await import("./PayoutDetailsPage-
|
|
2613
|
+
async () => (await import("./PayoutDetailsPage-BGdufep3.js")).PayoutDetailsPage
|
|
2595
2614
|
);
|
|
2596
2615
|
const RootBusinessDetailsPage = lazy(
|
|
2597
|
-
async () => (await import("./RootBusinessDetailsPage-
|
|
2616
|
+
async () => (await import("./RootBusinessDetailsPage-CnX2zYB9.js")).RootBusinessDetailsPage
|
|
2598
2617
|
);
|
|
2599
2618
|
const RootBusinessLinesPage = lazy(
|
|
2600
|
-
async () => (await import("./RootBusinessLinesPage-
|
|
2619
|
+
async () => (await import("./RootBusinessLinesPage-G9LnOcFE.js")).RootBusinessLinesPage
|
|
2601
2620
|
);
|
|
2602
2621
|
const SoleProprietorshipPage = lazy(
|
|
2603
|
-
async () => (await import("./SoleProprietorshipPage-
|
|
2622
|
+
async () => (await import("./SoleProprietorshipPage-C_875t2r.js")).SoleProprietorshipPage
|
|
2604
2623
|
);
|
|
2605
2624
|
const TrustMemberCompanyPage = lazy(
|
|
2606
|
-
async () => (await import("./TrustMemberCompanyPage-
|
|
2625
|
+
async () => (await import("./TrustMemberCompanyPage-CTXwk8mB.js")).TrustMemberCompanyPage
|
|
2607
2626
|
);
|
|
2608
2627
|
const TrustMemberIndividualPage = lazy(
|
|
2609
|
-
async () => (await import("./TrustMemberIndividualPage-
|
|
2628
|
+
async () => (await import("./TrustMemberIndividualPage-BusLDMBC.js")).TrustMemberIndividualPage
|
|
2610
2629
|
);
|
|
2611
2630
|
const TrustMemberRoleAndTypePage = lazy(
|
|
2612
|
-
async () => (await import("./TrustMemberRoleAndTypePage-
|
|
2631
|
+
async () => (await import("./TrustMemberRoleAndTypePage-D6Ir0aGf.js")).TrustMemberRoleAndTypePage
|
|
2613
2632
|
);
|
|
2614
2633
|
const TrustMembersOverview = lazy(
|
|
2615
|
-
async () => (await import("./TrustMembersOverview-
|
|
2634
|
+
async () => (await import("./TrustMembersOverview-_eQwa8o8.js")).TrustMembersOverview
|
|
2616
2635
|
);
|
|
2617
2636
|
const UnincorporatedPartnershipMemberCompanyPage = lazy(
|
|
2618
|
-
async () => (await import("./UnincorporatedPartnershipMemberCompanyPage-
|
|
2637
|
+
async () => (await import("./UnincorporatedPartnershipMemberCompanyPage-A7gQ5wwr.js")).UnincorporatedPartnershipMemberCompanyPage
|
|
2619
2638
|
);
|
|
2620
2639
|
const UnincorporatedPartnershipIndividualPage = lazy(
|
|
2621
|
-
async () => (await import("./UnincorporatedPartnershipIndividualPage-
|
|
2640
|
+
async () => (await import("./UnincorporatedPartnershipIndividualPage-tCLAddt7.js")).UnincorporatedPartnershipIndividualPage
|
|
2622
2641
|
);
|
|
2623
2642
|
const UnincorporatedPartnershipMemberRoleAndTypePage = lazy(
|
|
2624
|
-
async () => (await import("./UnincorporatedPartnershipMemberRoleAndTypePage-
|
|
2643
|
+
async () => (await import("./UnincorporatedPartnershipMemberRoleAndTypePage-DaFl9wVc.js")).UnincorporatedPartnershipMemberRoleAndTypePage
|
|
2625
2644
|
);
|
|
2626
2645
|
const UnincorporatedPartnershipMembersOverview = lazy(
|
|
2627
|
-
async () => (await import("./UnincorporatedPartnershipMembersOverview-
|
|
2646
|
+
async () => (await import("./UnincorporatedPartnershipMembersOverview-C3YF2E_k.js")).UnincorporatedPartnershipMembersOverview
|
|
2628
2647
|
);
|
|
2629
2648
|
const BusinessFinancingPage = lazy(
|
|
2630
|
-
async () => (await import("./BusinessFinancingPage-
|
|
2649
|
+
async () => (await import("./BusinessFinancingPage-wYYsqc5D.js")).BusinessFinancingPage
|
|
2631
2650
|
);
|
|
2632
2651
|
const TrustDetailsPage = lazy(
|
|
2633
|
-
async () => (await import("./TrustDetailsPage-
|
|
2652
|
+
async () => (await import("./TrustDetailsPage-Cj368KCb.js")).TrustDetailsPage
|
|
2634
2653
|
);
|
|
2635
2654
|
const SourceOfFundsPage = lazy(
|
|
2636
|
-
async () => (await import("./SourceOfFundsPage-
|
|
2655
|
+
async () => (await import("./SourceOfFundsPage-Cx6ekIue.js")).SourceOfFundsPage
|
|
2637
2656
|
);
|
|
2638
2657
|
const RootIndividualDetailsPage = lazy(
|
|
2639
|
-
async () => (await import("./RootIndividualDetailsPage-
|
|
2658
|
+
async () => (await import("./RootIndividualDetailsPage-DPim7JYp.js")).RootIndividualDetailsPage
|
|
2640
2659
|
);
|
|
2641
2660
|
const LegalRepresentativeDetailsPage = lazy(
|
|
2642
|
-
async () => (await import("./LegalRepresentativeDetailsPage-
|
|
2661
|
+
async () => (await import("./LegalRepresentativeDetailsPage-ZsBB2MMq.js")).LegalRepresentativeDetailsPage
|
|
2643
2662
|
);
|
|
2644
2663
|
const DecisionMakerDetailsPage = lazy(
|
|
2645
|
-
async () => (await import("./DecisionMakerDetailsPage-
|
|
2664
|
+
async () => (await import("./DecisionMakerDetailsPage-C86M_cr7.js")).DecisionMakerDetailsPage
|
|
2646
2665
|
);
|
|
2647
2666
|
function isIn(values, x) {
|
|
2648
2667
|
return values.includes(x);
|
|
@@ -3262,7 +3281,7 @@ function OnboardingDropinComponent({
|
|
|
3262
3281
|
}
|
|
3263
3282
|
const { i18n } = useTranslation();
|
|
3264
3283
|
addResourceBundles(i18n, [
|
|
3265
|
-
{ ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-dmpv4Zom.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-6rOIfRJu.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-C_GqHCay.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-BmWBo3gX.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-Fo7-xCrc.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-CfIM2SRF.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-
|
|
3284
|
+
{ ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-dmpv4Zom.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-6rOIfRJu.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-C_GqHCay.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-BmWBo3gX.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-Fo7-xCrc.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-CfIM2SRF.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-CApjzEDt.js").then((n) => n.bS), "../../../language/locales/es-ES.json": () => import("./es-ES-BkqlH093.js"), "../../../language/locales/et-EE.json": () => import("./et-EE-H8yxvhQj.js"), "../../../language/locales/fi-FI.json": () => import("./fi-FI-BfwJVwi9.js"), "../../../language/locales/fr-FR.json": () => import("./fr-FR-CzjsW73Q.js"), "../../../language/locales/hr-HR.json": () => import("./hr-HR-ZrpQrsik.js"), "../../../language/locales/hu-HU.json": () => import("./hu-HU-Ds3go4h4.js"), "../../../language/locales/it-IT.json": () => import("./it-IT-Dx15tkIe.js"), "../../../language/locales/ja-JP.json": () => import("./ja-JP-Qu7oEIEy.js"), "../../../language/locales/lt-LT.json": () => import("./lt-LT-BebOeKIA.js"), "../../../language/locales/lv-LV.json": () => import("./lv-LV-CYcrO-6d.js"), "../../../language/locales/nl-NL.json": () => import("./nl-NL-FbJ2sHba.js"), "../../../language/locales/no-NO.json": () => import("./no-NO-B5BjEy8n.js"), "../../../language/locales/pl-PL.json": () => import("./pl-PL-DuM6hbqZ.js"), "../../../language/locales/pt-BR.json": () => import("./pt-BR-BKKQIUJP.js"), "../../../language/locales/pt-PT.json": () => import("./pt-PT-CC7zlk3R.js"), "../../../language/locales/ro-RO.json": () => import("./ro-RO-CuabgXj1.js"), "../../../language/locales/sk-SK.json": () => import("./sk-SK-DM1yY8DA.js"), "../../../language/locales/sl-SI.json": () => import("./sl-SI--pDTatHh.js"), "../../../language/locales/sv-SE.json": () => import("./sv-SE-CDxyyNV0.js") }), `../../../language/locales/${lang}.json`, 6) },
|
|
3266
3285
|
{ ns: "ui", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../ui/language/bg-BG.json": () => import("./bg-BG-zZhDshGi.js"), "../../ui/language/cs-CZ.json": () => import("./cs-CZ-Ck22NTT9.js"), "../../ui/language/da-DK.json": () => import("./da-DK-DQ4ZYSea.js"), "../../ui/language/de-DE.json": () => import("./de-DE-CkbOZ6S_.js"), "../../ui/language/el-GR.json": () => import("./el-GR-DudORw4U.js"), "../../ui/language/en-US.json": () => import("./en-US-B-qSAb-7.js"), "../../ui/language/es-ES.json": () => import("./es-ES-BAolMrZ0.js"), "../../ui/language/et-EE.json": () => import("./et-EE-BOIrYrz9.js"), "../../ui/language/fi-FI.json": () => import("./fi-FI-D8WrLxxq.js"), "../../ui/language/fr-FR.json": () => import("./fr-FR-Beljeilc.js"), "../../ui/language/hr-HR.json": () => import("./hr-HR-lIHN6Yl2.js"), "../../ui/language/hu-HU.json": () => import("./hu-HU-CWdwNCev.js"), "../../ui/language/it-IT.json": () => import("./it-IT-5a7NHVFo.js"), "../../ui/language/ja-JP.json": () => import("./ja-JP-DSvZhFNY.js"), "../../ui/language/lt-LT.json": () => import("./lt-LT-CgalYpUh.js"), "../../ui/language/lv-LV.json": () => import("./lv-LV-aAd9SEqx.js"), "../../ui/language/nl-NL.json": () => import("./nl-NL-CmURERx_.js"), "../../ui/language/no-NO.json": () => import("./no-NO-qyqWODMp.js"), "../../ui/language/pl-PL.json": () => import("./pl-PL-q9azN24o.js"), "../../ui/language/pt-BR.json": () => import("./pt-BR-BxoOF8jB.js"), "../../ui/language/pt-PT.json": () => import("./pt-PT-pIChDwiI.js"), "../../ui/language/ro-RO.json": () => import("./ro-RO-DRsaNX9j.js"), "../../ui/language/sk-SK.json": () => import("./sk-SK-7-enbO1N.js"), "../../ui/language/sl-SI.json": () => import("./sl-SI-DTvJT7fC.js"), "../../ui/language/sv-SE.json": () => import("./sv-SE-N-Hqwcjq.js") }), `../../ui/language/${lang}.json`, 5) }
|
|
3267
3286
|
]);
|
|
3268
3287
|
const { data: legalEntityData } = useLegalEntity(ROOT_LE);
|
|
@@ -10,53 +10,53 @@
|
|
|
10
10
|
import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useQuery, useMutation, useQueryClient, skipToken } from "@tanstack/preact-query";
|
|
12
12
|
import { useState, useEffect, useRef, useCallback, useContext, useMemo as useMemo$1 } from "preact/hooks";
|
|
13
|
-
import { b as useApiContext, j as httpPost, k as httpGet, ae as createLogger, a9 as CountryCodes, u as useTranslation, x as useAnalyticsContext, z as Icon, N as Typography, V as Button, ah as objectsDeepEqual, H as useToggleContext, aB as Header, ax as isEmpty, ab as translateTranslatable, q as hasOwnEntityAssociationOfType, L as LegalEntityTypes, t as useAccountHolder, m as useSettingsContext, C as Alert, a8 as getLegalEntityCountry, aR as Trans, b4 as EEA_Countries, ap as useDataset, O as StackLayout, aq as datasetIdentifier, b5 as isAccountIdentifierObscured, b6 as hasEmptyFields, b7 as extractFieldName, b8 as concatenateFieldNames, aT as keysOf, ak as getCapabilityProblems, w as TaskTypes, an as cloneObject, am as datasetUtilities } from "./StoreProvider-
|
|
14
|
-
import { u as useTransferInstrument, m as mapTransferInstrumentToPayoutAccount } from "./mapTransferInstrumentToPayoutAccount-
|
|
15
|
-
import { L as LoaderWrapper } from "./LoaderWrapper-
|
|
13
|
+
import { b as useApiContext, j as httpPost, k as httpGet, ae as createLogger, a9 as CountryCodes, u as useTranslation, x as useAnalyticsContext, z as Icon, N as Typography, V as Button, ah as objectsDeepEqual, H as useToggleContext, aB as Header, ax as isEmpty, ab as translateTranslatable, q as hasOwnEntityAssociationOfType, L as LegalEntityTypes, t as useAccountHolder, m as useSettingsContext, C as Alert, a8 as getLegalEntityCountry, aR as Trans, b4 as EEA_Countries, ap as useDataset, O as StackLayout, aq as datasetIdentifier, b5 as isAccountIdentifierObscured, b6 as hasEmptyFields, b7 as extractFieldName, b8 as concatenateFieldNames, aT as keysOf, ak as getCapabilityProblems, w as TaskTypes, an as cloneObject, am as datasetUtilities } from "./StoreProvider-CApjzEDt.js";
|
|
14
|
+
import { u as useTransferInstrument, m as mapTransferInstrumentToPayoutAccount } from "./mapTransferInstrumentToPayoutAccount-DJ5E9tqe.js";
|
|
15
|
+
import { L as LoaderWrapper } from "./LoaderWrapper-DE-3T3QK.js";
|
|
16
16
|
import { S as SettingNames } from "./types-Dv0COrvY.js";
|
|
17
|
-
import { u as useGlobalDataSlice, a as useGlobalData, b as useResetGlobalData, c as useStateContext, F as FormWrapper } from "./useGlobalData-
|
|
18
|
-
import { a as useInvalidateRootLegalEntity, u as useToastContext } from "./useToastContext-
|
|
17
|
+
import { u as useGlobalDataSlice, a as useGlobalData, b as useResetGlobalData, c as useStateContext, F as FormWrapper } from "./useGlobalData-TnV6PIkt.js";
|
|
18
|
+
import { a as useInvalidateRootLegalEntity, u as useToastContext } from "./useToastContext-DrlXuGmm.js";
|
|
19
19
|
import { F as FeatureNames } from "./types-C7ANBXKc.js";
|
|
20
|
-
import { a as augmentWithCountryConfigs, g as getPropsFromConfigurations } from "./process-field-configurations-
|
|
21
|
-
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-
|
|
22
|
-
import { u as uppercase, p as payoutAccountFormat, m as mapExistingFile, g as getPageName, b as useScenarioConfiguration, c as useUnifyLoadingStatus } from "./mapExistingFile-
|
|
23
|
-
import { C as Confirm } from "./Confirm-
|
|
24
|
-
import { c as currencyByCountry } from "./types-
|
|
25
|
-
import { i as isValidationError, p as processValidationErrors, b as isIdDocumentUploadError, c as isBankStatementUploadError, a as isMaintenanceModeError, m as mapCreateOrUpdateTransferInstrumentErrorMessageToTranslatable } from "./validationError-
|
|
20
|
+
import { a as augmentWithCountryConfigs, g as getPropsFromConfigurations } from "./process-field-configurations-CMIDJACq.js";
|
|
21
|
+
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-C6SkIQLo.js";
|
|
22
|
+
import { u as uppercase, p as payoutAccountFormat, m as mapExistingFile, g as getPageName, b as useScenarioConfiguration, c as useUnifyLoadingStatus } from "./mapExistingFile-BOZ-beF3.js";
|
|
23
|
+
import { C as Confirm } from "./Confirm-CceRWfkX.js";
|
|
24
|
+
import { c as currencyByCountry } from "./types-BDdV-c-7.js";
|
|
25
|
+
import { i as isValidationError, p as processValidationErrors, b as isIdDocumentUploadError, c as isBankStatementUploadError, a as isMaintenanceModeError, m as mapCreateOrUpdateTransferInstrumentErrorMessageToTranslatable } from "./validationError-kYn_eC4r.js";
|
|
26
26
|
import { t as trackNavigation } from "./trackNavigation-db_h46BT.js";
|
|
27
|
-
import { D as DropzoneFile, e as bytesToSize, f as defaultFileValidationOptions, h as fileValidationRules, S as StateContextSetter, i as fileToBase64, a as getDocument, c as createDocumentRequest, d as documentApiUtils, b as getFileExtention } from "./validate-
|
|
28
|
-
import { b as getPayoutAccountHolderName, g as getLegalEntityNameBasedOnType } from "./getName-
|
|
29
|
-
import { o as omitObscuredFieldsIfUnchanged } from "./omitObscuredFieldsIfUnchanged-
|
|
27
|
+
import { D as DropzoneFile, e as bytesToSize, f as defaultFileValidationOptions, h as fileValidationRules, S as StateContextSetter, i as fileToBase64, a as getDocument, c as createDocumentRequest, d as documentApiUtils, b as getFileExtention } from "./validate-B1FpiTip.js";
|
|
28
|
+
import { b as getPayoutAccountHolderName, g as getLegalEntityNameBasedOnType } from "./getName-CfQAf_l-.js";
|
|
29
|
+
import { o as omitObscuredFieldsIfUnchanged } from "./omitObscuredFieldsIfUnchanged-DMBgASfn.js";
|
|
30
30
|
import { signal } from "@preact/signals";
|
|
31
31
|
import { Show } from "@preact/signals/utils";
|
|
32
|
-
import { s as summaryStep } from "./Summary-
|
|
32
|
+
import { s as summaryStep } from "./Summary-DlYtNJQD.js";
|
|
33
33
|
import { g as getFieldProps, a as getFormProps } from "./getProps-Cc3J2-z9.js";
|
|
34
34
|
import cx from "classnames";
|
|
35
35
|
import { memo, useRef as useRef$1, useState as useState$1, useMemo, useEffect as useEffect$1, lazy } from "preact/compat";
|
|
36
|
-
import { F as Field } from "./Field
|
|
37
|
-
import { M as Modal } from "./Modal-
|
|
38
|
-
import { T as TextArea } from "./TextArea-
|
|
39
|
-
import { u as useForm } from "./useForm-
|
|
40
|
-
import { E as EndStateLayout } from "./EndStateLayout-
|
|
41
|
-
import { E as ErrorPanel } from "./ErrorPanel-
|
|
42
|
-
import { c as createFormUtils, m as mergeFieldMetadataIntoProps } from "./formUtils-
|
|
36
|
+
import { F as Field } from "./Field-DDqviWD6.js";
|
|
37
|
+
import { M as Modal } from "./Modal-Bq5ccK7z.js";
|
|
38
|
+
import { T as TextArea } from "./TextArea-C4OmPCHh.js";
|
|
39
|
+
import { u as useForm } from "./useForm-BgHdSJLD.js";
|
|
40
|
+
import { E as EndStateLayout } from "./EndStateLayout-yZlKFmxQ.js";
|
|
41
|
+
import { E as ErrorPanel } from "./ErrorPanel-rmGb9PlE.js";
|
|
42
|
+
import { c as createFormUtils, m as mergeFieldMetadataIntoProps } from "./formUtils-BVAIyFiB.js";
|
|
43
43
|
import { b as bankStatementDescriptionPattern } from "./basePatterns-BwdnMQxI.js";
|
|
44
44
|
import { createContext } from "preact";
|
|
45
45
|
import OpenBankingSDK from "@adyen/openbankingsdk";
|
|
46
|
-
import { S as Select } from "./Select-
|
|
47
|
-
import { m as makeMask, n as numericInputs, a as nonInputs, s as spacer, c as customInputs, M as MaskedInput, d as alphanumericInputs, b as alphaInputs } from "./MaskedInput-
|
|
46
|
+
import { S as Select } from "./Select-D5a5aVFZ.js";
|
|
47
|
+
import { m as makeMask, n as numericInputs, a as nonInputs, s as spacer, c as customInputs, M as MaskedInput, d as alphanumericInputs, b as alphaInputs } from "./MaskedInput-Dzp3Td83.js";
|
|
48
48
|
import { r as resolveFieldMetadata } from "./fieldConfigurations-BUT9DTUH.js";
|
|
49
|
-
import { v as validatePatternOnBlur } from "./patternValidators-
|
|
50
|
-
import { a as isNotEmptyValidator } from "./commonValidators-
|
|
51
|
-
import { I as InputText } from "./InputText-
|
|
49
|
+
import { v as validatePatternOnBlur } from "./patternValidators-a6VZDG0x.js";
|
|
50
|
+
import { a as isNotEmptyValidator } from "./commonValidators-D1bdFvRX.js";
|
|
51
|
+
import { I as InputText } from "./InputText-BCi31wZB.js";
|
|
52
52
|
import { C as Currencies } from "./currency-CrdnaaDu.js";
|
|
53
|
-
import { u as useUnincorporatedPartnershipMembers } from "./useUnincorporatedPartnershipMembers-
|
|
54
|
-
import { I as Image } from "./unincorporated-partnership-
|
|
55
|
-
import { C as CountryField } from "./CountryField-
|
|
53
|
+
import { u as useUnincorporatedPartnershipMembers } from "./useUnincorporatedPartnershipMembers-DCGs6f0a.js";
|
|
54
|
+
import { I as Image } from "./unincorporated-partnership-5iQ8augf.js";
|
|
55
|
+
import { C as CountryField } from "./CountryField-B0KnMSNK.js";
|
|
56
56
|
import { C as Card } from "./Card-OQuFzmxm.js";
|
|
57
|
-
import { L as Link } from "./Link-
|
|
57
|
+
import { L as Link } from "./Link-DWRRNNKW.js";
|
|
58
58
|
import { T as Tag } from "./Tag-DdkVScyr.js";
|
|
59
|
-
import { C as ContextGuidance } from "./ContextGuidance-
|
|
59
|
+
import { C as ContextGuidance } from "./ContextGuidance-DeSyT-K4.js";
|
|
60
60
|
import { c as createFormRules } from "./form-rules-DhbF2mY4.js";
|
|
61
61
|
import { s as summaryItem } from "./summaryItem-CAQCQSkt.js";
|
|
62
62
|
const getCheck = async (legalEntityId, baseUrl, data) => {
|
|
@@ -7,32 +7,32 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { u as useTranslation, H as useToggleContext, m as useSettingsContext, b5 as isAccountIdentifierObscured, b6 as hasEmptyFields, b7 as extractFieldName, b8 as concatenateFieldNames, b as useApiContext, x as useAnalyticsContext, a8 as getLegalEntityCountry, w as TaskTypes, an as cloneObject, am as datasetUtilities, P as useLegalEntity, a as addResourceBundles, U as Loader, R as ROOT_LE, E as EntityTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { u as useTranslation, H as useToggleContext, m as useSettingsContext, b5 as isAccountIdentifierObscured, b6 as hasEmptyFields, b7 as extractFieldName, b8 as concatenateFieldNames, b as useApiContext, x as useAnalyticsContext, a8 as getLegalEntityCountry, w as TaskTypes, an as cloneObject, am as datasetUtilities, P as useLegalEntity, a as addResourceBundles, U as Loader, R as ROOT_LE, E as EntityTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-CApjzEDt.js";
|
|
11
11
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
12
12
|
import { useParams } from "wouter-preact";
|
|
13
|
-
import { f as useNavigate } from "./OnboardingDropinComponent-
|
|
14
|
-
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-
|
|
15
|
-
import { u as useInstantVerificationErrorNotification, g as getAccountIdentificationFromPayoutAccountSchema, a as useAsyncAccountDetailsValidationRules, s as showInstantVerificationPayoutModal, B as BankVerification, p as payoutSteps, M as MemoizedBankDocumentClassification, b as PayoutAccount, I as InstantVerificationErrorContext, c as PayoutVerificationMethod, d as PayoutCountryDetails, e as bankVerificationValidationRules, f as bankDocumentValidationRules, h as defaultFieldMetadata, i as defaultFieldConfig, j as defaultFieldMetadata$1, k as defaultFieldConfig$1, l as defaultFieldMetadata$2, m as defaultFieldConfig$2, n as defaultFieldMetadata$3, o as defaultFieldConfig$3, q as swiftCodeFieldMetadata, r as useUpdateTransferInstrument, t as useUpdateTrustedTransferInstrument, v as useCreateTrustedTransferInstrument, w as getPayoutVerificationMethod, x as getDefaultCurrencyForCountry, y as useBankVerificationProviders, z as getAccountFormatsForCountry, A as rules, C as mapPayoutAccountSchemaToApiBankAccount, D as useCheck, E as getAppropriatePayoutDetailsSteps, F as mapApiDocumentToPayoutDocuments, G as getInvalidFieldsErrorMessage, H as parseConfiguration, J as mapPayoutDetailsToTransferInstrument, K as createTransferInstrument, L as formatAccountVerificationSummary, N as mapPayoutDocumentsToApiDocuments, P as PayoutDetailsDropin } from "./PayoutDetailsDropin-
|
|
13
|
+
import { f as useNavigate } from "./OnboardingDropinComponent-Cn45HTst.js";
|
|
14
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-I5B0dWUU.js";
|
|
15
|
+
import { u as useInstantVerificationErrorNotification, g as getAccountIdentificationFromPayoutAccountSchema, a as useAsyncAccountDetailsValidationRules, s as showInstantVerificationPayoutModal, B as BankVerification, p as payoutSteps, M as MemoizedBankDocumentClassification, b as PayoutAccount, I as InstantVerificationErrorContext, c as PayoutVerificationMethod, d as PayoutCountryDetails, e as bankVerificationValidationRules, f as bankDocumentValidationRules, h as defaultFieldMetadata, i as defaultFieldConfig, j as defaultFieldMetadata$1, k as defaultFieldConfig$1, l as defaultFieldMetadata$2, m as defaultFieldConfig$2, n as defaultFieldMetadata$3, o as defaultFieldConfig$3, q as swiftCodeFieldMetadata, r as useUpdateTransferInstrument, t as useUpdateTrustedTransferInstrument, v as useCreateTrustedTransferInstrument, w as getPayoutVerificationMethod, x as getDefaultCurrencyForCountry, y as useBankVerificationProviders, z as getAccountFormatsForCountry, A as rules, C as mapPayoutAccountSchemaToApiBankAccount, D as useCheck, E as getAppropriatePayoutDetailsSteps, F as mapApiDocumentToPayoutDocuments, G as getInvalidFieldsErrorMessage, H as parseConfiguration, J as mapPayoutDetailsToTransferInstrument, K as createTransferInstrument, L as formatAccountVerificationSummary, N as mapPayoutDocumentsToApiDocuments, P as PayoutDetailsDropin } from "./PayoutDetailsDropin-Bzs2jydk.js";
|
|
16
16
|
import { skipToken } from "@tanstack/preact-query";
|
|
17
17
|
import { useState, useMemo, useEffect, useCallback } from "preact/hooks";
|
|
18
|
-
import { u as useTransferInstrument, m as mapTransferInstrumentToPayoutAccount } from "./mapTransferInstrumentToPayoutAccount-
|
|
19
|
-
import { L as LoaderWrapper } from "./LoaderWrapper-
|
|
20
|
-
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-
|
|
18
|
+
import { u as useTransferInstrument, m as mapTransferInstrumentToPayoutAccount } from "./mapTransferInstrumentToPayoutAccount-DJ5E9tqe.js";
|
|
19
|
+
import { L as LoaderWrapper } from "./LoaderWrapper-DE-3T3QK.js";
|
|
20
|
+
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-CS1RRaOG.js";
|
|
21
21
|
import { S as SettingNames } from "./types-Dv0COrvY.js";
|
|
22
|
-
import { u as useToastContext } from "./useToastContext-
|
|
22
|
+
import { u as useToastContext } from "./useToastContext-DrlXuGmm.js";
|
|
23
23
|
import { F as FeatureNames } from "./types-C7ANBXKc.js";
|
|
24
|
-
import { g as getPropsFromConfigurations } from "./process-field-configurations-
|
|
25
|
-
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-
|
|
26
|
-
import { u as useMultiForm } from "./useMultiForm-
|
|
27
|
-
import { b as useScenarioConfiguration, c as useUnifyLoadingStatus } from "./mapExistingFile-
|
|
28
|
-
import { C as Confirm } from "./Confirm-
|
|
29
|
-
import { c as currencyByCountry } from "./types-
|
|
30
|
-
import { s as summaryStep } from "./Summary-
|
|
31
|
-
import { i as isValidationError, p as processValidationErrors, b as isIdDocumentUploadError, c as isBankStatementUploadError, a as isMaintenanceModeError, m as mapCreateOrUpdateTransferInstrumentErrorMessageToTranslatable } from "./validationError-
|
|
24
|
+
import { g as getPropsFromConfigurations } from "./process-field-configurations-CMIDJACq.js";
|
|
25
|
+
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-C6SkIQLo.js";
|
|
26
|
+
import { u as useMultiForm } from "./useMultiForm-D_RXm-EH.js";
|
|
27
|
+
import { b as useScenarioConfiguration, c as useUnifyLoadingStatus } from "./mapExistingFile-BOZ-beF3.js";
|
|
28
|
+
import { C as Confirm } from "./Confirm-CceRWfkX.js";
|
|
29
|
+
import { c as currencyByCountry } from "./types-BDdV-c-7.js";
|
|
30
|
+
import { s as summaryStep } from "./Summary-DlYtNJQD.js";
|
|
31
|
+
import { i as isValidationError, p as processValidationErrors, b as isIdDocumentUploadError, c as isBankStatementUploadError, a as isMaintenanceModeError, m as mapCreateOrUpdateTransferInstrumentErrorMessageToTranslatable } from "./validationError-kYn_eC4r.js";
|
|
32
32
|
import { t as trackNavigation } from "./trackNavigation-db_h46BT.js";
|
|
33
|
-
import { h as fileValidationRules, f as defaultFileValidationOptions, d as documentApiUtils, b as getFileExtention } from "./validate-
|
|
34
|
-
import { b as getPayoutAccountHolderName, g as getLegalEntityNameBasedOnType } from "./getName-
|
|
35
|
-
import { o as omitObscuredFieldsIfUnchanged } from "./omitObscuredFieldsIfUnchanged-
|
|
33
|
+
import { h as fileValidationRules, f as defaultFileValidationOptions, d as documentApiUtils, b as getFileExtention } from "./validate-B1FpiTip.js";
|
|
34
|
+
import { b as getPayoutAccountHolderName, g as getLegalEntityNameBasedOnType } from "./getName-CfQAf_l-.js";
|
|
35
|
+
import { o as omitObscuredFieldsIfUnchanged } from "./omitObscuredFieldsIfUnchanged-DMBgASfn.js";
|
|
36
36
|
import { Show } from "@preact/signals/utils";
|
|
37
37
|
import { r as resolveFieldMetadata } from "./fieldConfigurations-BUT9DTUH.js";
|
|
38
38
|
const PayoutCountryDetailsFormID = payoutSteps.payoutCountryDetails.formId;
|
|
@@ -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 useTranslation, x as useAnalyticsContext } from "./StoreProvider-
|
|
12
|
+
import { u as useTranslation, x as useAnalyticsContext } from "./StoreProvider-CApjzEDt.js";
|
|
13
13
|
import { a as useId } from "./useId-BZ0PA7jP.js";
|
|
14
14
|
import { R as Radio } from "./Radio-BMtxBpnn.js";
|
|
15
15
|
const RadioWithLabel = ({
|
|
@@ -10,11 +10,11 @@
|
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { useState } from "preact/hooks";
|
|
12
12
|
import { useMutation } from "@tanstack/preact-query";
|
|
13
|
-
import { b as useApiContext, j as httpPost, u as useTranslation, aB as Header, bD as DropinLayout } from "./StoreProvider-
|
|
14
|
-
import { C as Checkbox } from "./Checkbox-
|
|
15
|
-
import { L as LoaderWrapper } from "./LoaderWrapper-
|
|
16
|
-
import { u as useToastContext } from "./useToastContext-
|
|
17
|
-
import { A as ActionBar } from "./ActionBar-
|
|
13
|
+
import { b as useApiContext, j as httpPost, u as useTranslation, aB as Header, bD as DropinLayout } from "./StoreProvider-CApjzEDt.js";
|
|
14
|
+
import { C as Checkbox } from "./Checkbox-DntVTT7e.js";
|
|
15
|
+
import { L as LoaderWrapper } from "./LoaderWrapper-DE-3T3QK.js";
|
|
16
|
+
import { u as useToastContext } from "./useToastContext-DrlXuGmm.js";
|
|
17
|
+
import { A as ActionBar } from "./ActionBar-CbFBdfam.js";
|
|
18
18
|
const confirmReview = async (legalEntityId, baseUrl) => {
|
|
19
19
|
return httpPost({
|
|
20
20
|
baseUrl,
|
|
@@ -7,11 +7,11 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { u as useTranslation, a as addResourceBundles, U as Loader, E as EntityTypes, a8 as getLegalEntityCountry, w as TaskTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { u as useTranslation, a as addResourceBundles, U as Loader, E as EntityTypes, a8 as getLegalEntityCountry, w as TaskTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-CApjzEDt.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
|
-
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-
|
|
13
|
-
import { g as filterProblemsByTaskForms } from "./OnboardingDropinComponent-
|
|
14
|
-
import { u as useBusinessDetailsData, g as getForms, B as BusinessDetailsDropin } from "./useBusinessDetailsData-
|
|
12
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-I5B0dWUU.js";
|
|
13
|
+
import { g as filterProblemsByTaskForms } from "./OnboardingDropinComponent-Cn45HTst.js";
|
|
14
|
+
import { u as useBusinessDetailsData, g as getForms, B as BusinessDetailsDropin } from "./useBusinessDetailsData-eIZWfksO.js";
|
|
15
15
|
const RootBusinessDetailsPage = ({
|
|
16
16
|
onSubmit,
|
|
17
17
|
handleHomeClick
|