@adyen/kyc-components 3.82.0 → 3.82.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-C3yRLumN.js → AcceptTermsOfServiceComponent-SUI-Gay3.js} +14 -14
- package/dist/{AccountSetupRejected-C9_iMOBl.js → AccountSetupRejected-CWKZ1tTW.js} +4 -4
- package/dist/{Address-ysG9f0Uu.js → Address-wVmHTSPw.js} +7 -7
- package/dist/{Alert-B1lzQY12.js → Alert-DLxh7-8w.js} +1 -1
- package/dist/{Avatar-DM-fkaYa.js → Avatar-C5JTIpwu.js} +1 -1
- package/dist/{BusinessDetailsDropin-D5d1SNjD.js → BusinessDetailsDropin-Cr2U6fR3.js} +33 -33
- package/dist/{BusinessFinancingComponent-B0polrPy.js → BusinessFinancingComponent-YOFOlp_h.js} +4 -4
- package/dist/{BusinessFinancingDropin-BGGarWem.js → BusinessFinancingDropin-DQZiR-IB.js} +22 -22
- package/dist/{BusinessFinancingPage-BetFc_7v.js → BusinessFinancingPage-LT_Py0hN.js} +3 -3
- package/dist/{BusinessTypeSelectionPage-Bj0yWUVq.js → BusinessTypeSelectionPage-k2Q7W0Mn.js} +6 -6
- package/dist/{Card-DSMAwffx.js → Card-Tr1fI5am.js} +3 -3
- package/dist/{Confirm-0YL4osCA.js → Confirm-JoQJOE3O.js} +2 -2
- package/dist/{CountryField-WxFXwPs4.js → CountryField-iSMu28Mk.js} +4 -4
- package/dist/{CreateIndividualComponent-TIaVKbOC.js → CreateIndividualComponent-ClNn2xJg.js} +5 -5
- package/dist/{CreateTransferInstrumentComponent-BnPAq-yv.js → CreateTransferInstrumentComponent-yzsw5TTg.js} +5 -5
- package/dist/{Currency-Ds_a8CCd.js → Currency-Go1bmfbD.js} +5 -5
- package/dist/{CustomerSupport-qDVdkBKm.js → CustomerSupport-C4tsbfth.js} +8 -8
- package/dist/{DebugModal-CDdpa71W.js → DebugModal-B-o2DxSe.js} +6 -6
- package/dist/{DecisionMakerDetailsPage-Dtg5K2WO.js → DecisionMakerDetailsPage-BrXGA3kf.js} +6 -6
- package/dist/{DecisionMakers-Ib95iw7Q.js → DecisionMakers-aR8bSImU.js} +17 -17
- package/dist/{Dropzone-DfNEAtUH.js → Dropzone-DB9V0sM_.js} +3 -3
- package/dist/{EmbeddedStatus-DQRl8yD4.js → EmbeddedStatus-L5Ejg05e.js} +2 -2
- package/dist/{EndStateLayout-D5En3kQc.js → EndStateLayout-BHcSEGUy.js} +1 -1
- package/dist/{FormFlow-BDQPifwl.js → FormFlow-DbvyREd3.js} +6 -6
- package/dist/{FormNavigation-CFn0ei_X.js → FormNavigation-CEVhOVCM.js} +1 -1
- package/dist/{IndividualOnfidoDropin-47JRhwaW.js → IndividualOnfidoDropin-CsmtZoD6.js} +38 -38
- package/dist/{InputDate-BySP0-t1.js → InputDate-DL2uWfA_.js} +1 -1
- package/dist/{InputText-3-O0-n_9.js → InputText-DZhDhSHU.js} +2 -2
- package/dist/{Introduction-Ch2rwlJb.js → Introduction-BnDuQe0P.js} +4 -4
- package/dist/{LegalRepresentativeDetailsPage-eLpqCWOP.js → LegalRepresentativeDetailsPage-CFCa0Psw.js} +4 -4
- package/dist/{Link-vc9K37Kl.js → Link-H_NUrrQh.js} +1 -1
- package/dist/{ManageIndividualComponent-C9ltSbcq.js → ManageIndividualComponent-CMH6zq4t.js} +5 -5
- package/dist/{ManageTermsOfServiceComponent-aRnfztzi.js → ManageTermsOfServiceComponent-CqpVk2Xs.js} +5 -5
- package/dist/{ManageTransferInstrumentComponent-58UX0Cbl.js → ManageTransferInstrumentComponent-BYLeYGAe.js} +12 -12
- package/dist/{MaskedInput-Qm8c9y74.js → MaskedInput-d6ynk2DD.js} +3 -3
- package/dist/{MaybeModal-BWiEjybE.js → MaybeModal-D66squvj.js} +2 -2
- package/dist/{Modal-g8bvykqd.js → Modal-Cd7U20yD.js} +1 -1
- package/dist/{OnboardingDropinComponent-CR06usbc.js → OnboardingDropinComponent-BLs1ytyI.js} +85 -75
- package/dist/{PayoutDetailsDropin-DAnqO6iH.js → PayoutDetailsDropin-WtZW5UuV.js} +25 -25
- package/dist/{RadioGroup-CUIvLdaZ.js → RadioGroup-CSiEda6F.js} +4 -4
- package/dist/{RegistrationAddress-CwJIVHdK.js → RegistrationAddress-R2IiB9Ve.js} +12 -12
- package/dist/{Review-CSUU9QbK.js → Review-4BwgO2_f.js} +6 -6
- package/dist/{RootBusinessDetailsPage-DVb4OI9j.js → RootBusinessDetailsPage-CtJ-K76Z.js} +27 -27
- package/dist/{RootIndividualDetailsPage-BxCD6w1o.js → RootIndividualDetailsPage-B4uGKMez.js} +4 -4
- package/dist/{SignPCIComponent-Ck_GRyGz.js → SignPCIComponent-DNyKu7Nm.js} +9 -9
- package/dist/{SingpassSelection-DqWI5TmK.js → SingpassSelection-Df94BbH_.js} +3 -3
- package/dist/{SoleProprietorshipPage-COnXtPXT.js → SoleProprietorshipPage-BWyEYtMH.js} +4 -4
- package/dist/{SourceOfFundsPage-W1MrK36S.js → SourceOfFundsPage-Dh023bHi.js} +26 -26
- package/dist/{StepProgressIndicator-BGZAAFy8.js → StepProgressIndicator-BucOrwKd.js} +1 -1
- package/dist/{StoreProvider-CgV8wQ9w.js → StoreProvider-wlEnMP3i.js} +4 -4
- package/dist/{TaskItemStatus-nJWn4WoW.js → TaskItemStatus-C-Njc7DC.js} +1 -1
- package/dist/{TaskStatusIndicator-DHHoZWPy.js → TaskStatusIndicator-Dv0Mc-Km.js} +1 -1
- package/dist/{TaxInformationField-COoRE_jM.js → TaxInformationField-tKF_0haj.js} +19 -13
- package/dist/{TaxReportingDropin-CB24aTcw.js → TaxReportingDropin-Csu-pEqc.js} +17 -17
- package/dist/{TileGroup-qwGOc27a.js → TileGroup-DEC83DCn.js} +2 -2
- package/dist/{TrustDetailsPage-COoAGN6z.js → TrustDetailsPage-CUAO8IO4.js} +27 -25
- package/dist/{TrustMemberCompanyPage-CC2S0rDO.js → TrustMemberCompanyPage-fmSEycW1.js} +5 -5
- package/dist/{TrustMemberIndividualPage-osaf6tGX.js → TrustMemberIndividualPage-ClhOZ8a1.js} +4 -4
- package/dist/{UnincorporatedPartnershipIndividualPage-D0-9jZCT.js → UnincorporatedPartnershipIndividualPage-CJ0y-apw.js} +6 -6
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-DUhnWK_-.js → UnincorporatedPartnershipMemberCompanyPage-CZQp6aIG.js} +5 -5
- package/dist/{ViewVerificationStatusComponent-CdONqy2n.js → ViewVerificationStatusComponent-DuUKHS2R.js} +3 -3
- package/dist/adyen-business-financing.js +2 -2
- package/dist/adyen-individual.js +2 -2
- package/dist/adyen-kyc-components.js +21 -21
- package/dist/adyen-manage-individual.js +2 -2
- package/dist/adyen-manage-terms-of-service.js +2 -2
- package/dist/adyen-manage-transfer-instruments.js +2 -2
- package/dist/adyen-onboarding.js +2 -2
- package/dist/adyen-terms-of-service.js +2 -2
- package/dist/adyen-transfer-instrument.js +2 -2
- package/dist/adyen-verification-status.js +2 -2
- package/dist/{analytics-hmMnbz0P.js → analytics-CORlrLRf.js} +1 -1
- package/dist/{bafinUtils-y6mSKEf5.js → bafinUtils-DLTAySgX.js} +5 -5
- package/dist/{commonValidators-Dm-0sW3o.js → commonValidators-QR43B0Ha.js} +1 -1
- package/dist/{dropinUtils-CZxq6hrg.js → dropinUtils-DEsrhYpI.js} +2 -2
- package/dist/{fieldConfigurations-BQHQxqm2.js → fieldConfigurations-D_iawESq.js} +6 -6
- package/dist/{getName-Dx6-W0G-.js → getName-C4Pxr0ab.js} +1 -1
- package/dist/{hasDataChanged-BAP0DgMv.js → hasDataChanged-ByQSHK_m.js} +1 -1
- package/dist/{iframeWidget-IJAjx4Ds.js → iframeWidget-D9C_KIwR.js} +3 -3
- package/dist/{isEmpty-caP-ML9a.js → isEmpty-BQJyCmjV.js} +1 -1
- package/dist/{localizeDateString-Ik3d70hz.js → localizeDateString-C5K0krdw.js} +1 -1
- package/dist/{mapExistingFile-B9JGUws9.js → mapExistingFile-CjQICfcM.js} +3 -3
- package/dist/{mapScriptLocalization-DRiKh34Q.js → mapScriptLocalization-B4D7OxNz.js} +3 -3
- package/dist/{mapTransferInstrumentToPayoutAccount-BhVq_8Nc.js → mapTransferInstrumentToPayoutAccount-CpeE4kbr.js} +1 -1
- package/dist/{resolveEnvironment-Bj8QEsTZ.js → resolveEnvironment-CXDbuHvq.js} +3 -3
- package/dist/{rules-Cq-V9ekY.js → rules-DENS4Q9p.js} +3 -3
- package/dist/style.css +5 -26
- package/dist/styles-CLV89_hH.js +5 -26
- package/dist/{translation-BEICd4Lt.js → translation-DD0CkeYX.js} +1 -1
- package/dist/types/components/Business/forms/rules.d.ts +1 -0
- package/dist/types/components/Trust/hooks/useTrustMemberNavigation.hook.d.ts +1 -16
- package/dist/{types-YB_RkbF2.js → types-BdLjSZ_L.js} +1 -1
- package/dist/{types-uCv9Erz_.js → types-DC2RJOQB.js} +1 -1
- package/dist/{useAssociatedLegalEntity-6ePKn92X.js → useAssociatedLegalEntity-CsKbF3Mo.js} +1 -1
- package/dist/{useDataset-BoLNwxBb.js → useDataset-KpIFgCMq.js} +1 -1
- package/dist/{useForm-CQ1rW1C8.js → useForm-lGwsWpQe.js} +2 -2
- package/dist/{useGlobalData-Cla23z9Z.js → useGlobalData-BtKU3xhR.js} +9 -9
- package/dist/{useMultiForm-BOpjB1IL.js → useMultiForm-BzBD0i-f.js} +3 -3
- package/dist/{useOnboardingStatus-BsGl6ARq.js → useOnboardingStatus-Dney9Bak.js} +1 -1
- package/dist/{useScenarios-C-sele_3.js → useScenarios-Dei_gPcX.js} +1 -1
- package/dist/{useTermsOfServiceStatus-Qz-Qx_FV.js → useTermsOfServiceStatus-B_EAC_gv.js} +1 -1
- package/dist/{useToastContext-Cyd2sf78.js → useToastContext-Di9myP0k.js} +1 -1
- package/dist/{useUnincorporatedPartnershipMembers-CGYg_lAO.js → useUnincorporatedPartnershipMembers-D-oaBt_8.js} +4 -4
- package/dist/{utils-Dx-L2JNN.js → utils-7zBGFwP6.js} +1 -1
- package/dist/{utils-D2OHa0ZV.js → utils-BACR-Sq5.js} +6 -6
- package/dist/{utils-D_27dTWh.js → utils-YVMM6naZ.js} +1 -1
- package/dist/{validate-Bo4GvVxC.js → validate-Bbd71WPE.js} +3 -3
- package/dist/{validate-8V55d9Bn.js → validate-C_m3dM1T.js} +6 -6
- package/dist/{validate-B_dvz3Gv.js → validate-Da9A3vs4.js} +1 -1
- package/dist/{validationError-BgyG5agZ.js → validationError-DE82pJmH.js} +1 -1
- package/package.json +1 -1
package/dist/{OnboardingDropinComponent-CR06usbc.js → OnboardingDropinComponent-BLs1ytyI.js}
RENAMED
|
@@ -2,37 +2,37 @@
|
|
|
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] = "a1e2ddba-d4c3-415d-9100-0b42465d10ba", e._sentryDebugIdIdentifier = "sentry-dbid-a1e2ddba-d4c3-415d-9100-0b42465d10ba");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper, T as Trans } from "./translation-
|
|
10
|
+
import { a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper, T as Trans } from "./translation-DD0CkeYX.js";
|
|
11
11
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
12
|
-
import { b as useApiContext, j as useQuery, k as httpPost, m as useSettingsContext, o as httpGet, p as getLegalRepresentative, c as useLegalEntity, q as skipToken, r as doesLegalEntityRequiresLegalRepresentative, a as useTranslation, B as Button, t as Svg, v as Skeleton, w as translateStringOrObject, x as Typography, y as LegalEntityTypes, z as isPartOfTrustFromLegalEntity, C as hasSolePropInLegalEntity, G as hasOwnEntityAssociationOfType, H as isEmptyEntity, J as EntityTypes, K as DATA_MISSING_DECISION_MAKER_ERROR_CODE_MAPPING, M as TaskTypes, N as createLogger, O as TaskStatuses, P as IconButton, U as useAnalyticsContext, V as Icon, W as noop, X as useExperimentsContext, Y as isInstantVerifiedAccount, Z as getObscuredAccountNumber, _ as useGetTaskStatus, R as ROOT_LE, L as Loader, $ as useGlobalStore, a0 as isPartOfUnincorporatedPartnership, a1 as getOwnSignatories, a2 as getOwnDecisionMakersLegalEntityIds, a3 as getOwnSolePropProblems, a4 as getOwnTrustProblems, a5 as getOwnUnincorporatedPartnershipProblems, a6 as getOwnEntityAssociations, a7 as TrustMemberTypes, u as useI18nContext, a8 as CountryCodes, a9 as isEmpty, g as getLegalEntityCountry, aa as getDecisionMakerDescriptionMap, ab as TRUST_DEFAULT_DESCRIPTIONS_MAP, ac as DEFAULT_TRUST_MEMBER_REQUIREMENTS, ad as hasAllCapabilitiesResolved, ae as hasRejectedCapabilities, af as objectsDeepEqual } from "./StoreProvider-
|
|
12
|
+
import { b as useApiContext, j as useQuery, k as httpPost, m as useSettingsContext, o as httpGet, p as getLegalRepresentative, c as useLegalEntity, q as skipToken, r as doesLegalEntityRequiresLegalRepresentative, a as useTranslation, B as Button, t as Svg, v as Skeleton, w as translateStringOrObject, x as Typography, y as LegalEntityTypes, z as isPartOfTrustFromLegalEntity, C as hasSolePropInLegalEntity, G as hasOwnEntityAssociationOfType, H as isEmptyEntity, J as EntityTypes, K as DATA_MISSING_DECISION_MAKER_ERROR_CODE_MAPPING, M as TaskTypes, N as createLogger, O as TaskStatuses, P as IconButton, U as useAnalyticsContext, V as Icon, W as noop, X as useExperimentsContext, Y as isInstantVerifiedAccount, Z as getObscuredAccountNumber, _ as useGetTaskStatus, R as ROOT_LE, L as Loader, $ as useGlobalStore, a0 as isPartOfUnincorporatedPartnership, a1 as getOwnSignatories, a2 as getOwnDecisionMakersLegalEntityIds, a3 as getOwnSolePropProblems, a4 as getOwnTrustProblems, a5 as getOwnUnincorporatedPartnershipProblems, a6 as getOwnEntityAssociations, a7 as TrustMemberTypes, u as useI18nContext, a8 as CountryCodes, a9 as isEmpty, g as getLegalEntityCountry, aa as getDecisionMakerDescriptionMap, ab as TRUST_DEFAULT_DESCRIPTIONS_MAP, ac as DEFAULT_TRUST_MEMBER_REQUIREMENTS, ad as hasAllCapabilitiesResolved, ae as hasRejectedCapabilities, af as objectsDeepEqual } from "./StoreProvider-wlEnMP3i.js";
|
|
13
13
|
import { lazy, Suspense } from "preact/compat";
|
|
14
14
|
import { useMemo, useCallback, useEffect, useState, useRef } from "preact/hooks";
|
|
15
|
-
import { u as useLocalStorage, a as useAccountHolder, b as useCapabilityProblems, I as Image, v as validateLegalCompanyName, c as validateNotEmptyOnBlur, d as validateLatinSpaceMarkPunctuationOnlyOnBlur, r as resolveFieldMetadata, R as RadioGroupCard, T as TextArea, C as ContextGuidance, e as TrustedFieldsProviders } from "./fieldConfigurations-
|
|
16
|
-
import { C as CompanyTypesValues, h as handleKeys, u as useSetting, L as LandingLayout, n as nameFields, M as MultiSelectList, m as makeSelectItemForRole, N as Name, a as useSingpassMyInfoLogin, i as isBafinSignatoryFlow, s as showIdNowModal } from "./bafinUtils-
|
|
17
|
-
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-
|
|
15
|
+
import { u as useLocalStorage, a as useAccountHolder, b as useCapabilityProblems, I as Image, v as validateLegalCompanyName, c as validateNotEmptyOnBlur, d as validateLatinSpaceMarkPunctuationOnlyOnBlur, r as resolveFieldMetadata, R as RadioGroupCard, T as TextArea, C as ContextGuidance, e as TrustedFieldsProviders } from "./fieldConfigurations-D_iawESq.js";
|
|
16
|
+
import { C as CompanyTypesValues, h as handleKeys, u as useSetting, L as LandingLayout, n as nameFields, M as MultiSelectList, m as makeSelectItemForRole, N as Name, a as useSingpassMyInfoLogin, i as isBafinSignatoryFlow, s as showIdNowModal } from "./bafinUtils-DLTAySgX.js";
|
|
17
|
+
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-CsKbF3Mo.js";
|
|
18
18
|
import cx from "classnames";
|
|
19
|
-
import { a as Alert } from "./Alert-
|
|
20
|
-
import { u as useTermsOfServiceStatus, a as useTermsOfServiceAcceptanceInfos } from "./useTermsOfServiceStatus-
|
|
21
|
-
import { S as SettingNames, I as InputText } from "./InputText-
|
|
22
|
-
import { u as useToastContext } from "./useToastContext-
|
|
23
|
-
import { C as Card, V as VerificationErrorAlert, u as useDeleteTransferInstrument } from "./Card-
|
|
19
|
+
import { a as Alert } from "./Alert-DLxh7-8w.js";
|
|
20
|
+
import { u as useTermsOfServiceStatus, a as useTermsOfServiceAcceptanceInfos } from "./useTermsOfServiceStatus-B_EAC_gv.js";
|
|
21
|
+
import { S as SettingNames, I as InputText } from "./InputText-DZhDhSHU.js";
|
|
22
|
+
import { u as useToastContext } from "./useToastContext-Di9myP0k.js";
|
|
23
|
+
import { C as Card, V as VerificationErrorAlert, u as useDeleteTransferInstrument } from "./Card-Tr1fI5am.js";
|
|
24
24
|
import { signal } from "@preact/signals";
|
|
25
25
|
import { d as downloadFile } from "./file-CiG1D0zy.js";
|
|
26
|
-
import { A as Avatar } from "./Avatar-
|
|
27
|
-
import { L as LoaderWrapper, F as Field, a as useForm } from "./useForm-
|
|
28
|
-
import { T as TaskItemStatus } from "./TaskItemStatus-
|
|
29
|
-
import { g as getLegalEntityNameBasedOnType } from "./getName-
|
|
30
|
-
import { u as useCreateLegalEntity, a as useUpdateLegalEntity, R as RadioGroup } from "./RadioGroup-
|
|
31
|
-
import { F as FormNavigation, A as ActionBar } from "./FormNavigation-
|
|
32
|
-
import { m as mergeFieldMetadataIntoProps, g as getFieldProps, F as FormHeader, E as ErrorPanel, c as createFormUtils, C as CountryField, a as COUNTRY_FIELD, s as summaryItem, b as getRoleName, d as summaryStep, S as Summary, U as UnincorporatedPartnershipMemberTypes, e as getRoleTagVariant } from "./CountryField-
|
|
26
|
+
import { A as Avatar } from "./Avatar-C5JTIpwu.js";
|
|
27
|
+
import { L as LoaderWrapper, F as Field, a as useForm } from "./useForm-lGwsWpQe.js";
|
|
28
|
+
import { T as TaskItemStatus } from "./TaskItemStatus-C-Njc7DC.js";
|
|
29
|
+
import { g as getLegalEntityNameBasedOnType } from "./getName-C4Pxr0ab.js";
|
|
30
|
+
import { u as useCreateLegalEntity, a as useUpdateLegalEntity, R as RadioGroup } from "./RadioGroup-CSiEda6F.js";
|
|
31
|
+
import { F as FormNavigation, A as ActionBar } from "./FormNavigation-CEVhOVCM.js";
|
|
32
|
+
import { m as mergeFieldMetadataIntoProps, g as getFieldProps, F as FormHeader, E as ErrorPanel, c as createFormUtils, C as CountryField, a as COUNTRY_FIELD, s as summaryItem, b as getRoleName, d as summaryStep, S as Summary, U as UnincorporatedPartnershipMemberTypes, e as getRoleTagVariant } from "./CountryField-iSMu28Mk.js";
|
|
33
33
|
import { K as KEYBOARD_KEYS } from "./keys-BpNgnAsD.js";
|
|
34
34
|
import { T as Tag } from "./Tag-DdkVScyr.js";
|
|
35
|
-
import { u as useUnincorporatedPartnershipMembers, d as deleteUnincorporatedPartnershipMember } from "./useUnincorporatedPartnershipMembers-
|
|
35
|
+
import { u as useUnincorporatedPartnershipMembers, d as deleteUnincorporatedPartnershipMember } from "./useUnincorporatedPartnershipMembers-D-oaBt_8.js";
|
|
36
36
|
const getPciStatus = async (legalEntityId, baseUrl, data) => {
|
|
37
37
|
return httpPost(
|
|
38
38
|
{
|
|
@@ -1282,19 +1282,14 @@ const useTrustMemberNavigation = ({ navigateTo, trust }) => {
|
|
|
1282
1282
|
const { i18n } = useI18nContext();
|
|
1283
1283
|
const { showToast } = useToastContext();
|
|
1284
1284
|
const [trustMember, setTrustMember] = useState();
|
|
1285
|
-
const [currentTrustMemberId, setCurrentTrustMemberId] = useState();
|
|
1286
1285
|
const { setTrustMembers } = useGlobalStore();
|
|
1287
|
-
const { data: currentTrustMemberLe } = useLegalEntity(currentTrustMemberId ?? skipToken);
|
|
1288
1286
|
const trustMembers = useTrustMembers();
|
|
1287
|
+
const memberId = trustMember?.trustMemberType === "undefinedBeneficiary" ? trustMember.reference : trustMember?.legalEntityId;
|
|
1289
1288
|
useEffect(() => setTrustMembers(trustMembers), [trustMembers]);
|
|
1290
1289
|
const onNavigateToTrustMemberEditDetails = async (tm) => {
|
|
1291
1290
|
try {
|
|
1292
1291
|
if (tm.legalEntityId === isNewEntity) {
|
|
1293
|
-
setCurrentTrustMemberId(void 0);
|
|
1294
1292
|
setTrustMember(tm);
|
|
1295
|
-
} else {
|
|
1296
|
-
setCurrentTrustMemberId(tm.legalEntityId);
|
|
1297
|
-
setTrustMember(void 0);
|
|
1298
1293
|
}
|
|
1299
1294
|
navigateTo(
|
|
1300
1295
|
tm.trustMemberType === "company" ? TaskTypes.TRUST_MEMBER_COMPANY : TaskTypes.TRUST_MEMBER_INDIVIDUAL
|
|
@@ -1320,8 +1315,8 @@ const useTrustMemberNavigation = ({ navigateTo, trust }) => {
|
|
|
1320
1315
|
};
|
|
1321
1316
|
return {
|
|
1322
1317
|
trustMember,
|
|
1323
|
-
|
|
1324
|
-
|
|
1318
|
+
trustMemberId: memberId === isNewEntity ? void 0 : memberId,
|
|
1319
|
+
// Do not pass Symbol('isNewEntity') as trustMemberId
|
|
1325
1320
|
trustMembers,
|
|
1326
1321
|
onNavigateToTrust,
|
|
1327
1322
|
onNavigateToTrustMemberRoleAndType,
|
|
@@ -1636,7 +1631,15 @@ const convertExistingTrustMemberToDefaultData = (trustMember, allowMoreRolesForM
|
|
|
1636
1631
|
const TrustRoleAndEntityType = (props) => {
|
|
1637
1632
|
const { t } = useTranslation("common");
|
|
1638
1633
|
const { i18n } = useI18nContext();
|
|
1639
|
-
const {
|
|
1634
|
+
const {
|
|
1635
|
+
existingTrustMember,
|
|
1636
|
+
isOrganizationSettlorWithExemptionEnabled,
|
|
1637
|
+
onChange,
|
|
1638
|
+
id,
|
|
1639
|
+
country,
|
|
1640
|
+
fieldValidationErrors,
|
|
1641
|
+
formVerificationErrors
|
|
1642
|
+
} = props;
|
|
1640
1643
|
const trustRoleAndEntityTypeCountry = country;
|
|
1641
1644
|
let mergedProps = props;
|
|
1642
1645
|
mergedProps = mergeFieldMetadataIntoProps(
|
|
@@ -1677,7 +1680,7 @@ const TrustRoleAndEntityType = (props) => {
|
|
|
1677
1680
|
schema: decideFields,
|
|
1678
1681
|
rules: roleAndTypeValidationRules,
|
|
1679
1682
|
defaultData,
|
|
1680
|
-
fieldProblems:
|
|
1683
|
+
fieldProblems: fieldValidationErrors
|
|
1681
1684
|
});
|
|
1682
1685
|
const availableRoles = allowMoreRolesForMainRootTrusteeEnabled && existingTrustMember?.trustMemberType === "rootTrustee" ? getAvailableRolesByTrustMemberTypeAndLegalEntityType(data.role, existingTrustMember) : getAvailableRoles(data.role);
|
|
1683
1686
|
const { data: exemptSettlorLe } = useLegalEntity(
|
|
@@ -1732,8 +1735,8 @@ const TrustRoleAndEntityType = (props) => {
|
|
|
1732
1735
|
/* @__PURE__ */ jsx(
|
|
1733
1736
|
ErrorPanel,
|
|
1734
1737
|
{
|
|
1735
|
-
verificationErrors:
|
|
1736
|
-
validationErrors:
|
|
1738
|
+
verificationErrors: formVerificationErrors,
|
|
1739
|
+
validationErrors: fieldValidationErrors,
|
|
1737
1740
|
formUtils,
|
|
1738
1741
|
id: "ariaErrorField"
|
|
1739
1742
|
}
|
|
@@ -1784,7 +1787,8 @@ const TrustRoleAndEntityType = (props) => {
|
|
|
1784
1787
|
optionName: (option) => leTypeCardDetails$1[option].name,
|
|
1785
1788
|
optionDescription: (option) => leTypeCardDetails$1[option].description,
|
|
1786
1789
|
"aria-required": true,
|
|
1787
|
-
"aria-invalid": !valid.entityType
|
|
1790
|
+
"aria-invalid": !valid.entityType,
|
|
1791
|
+
floatingRadio: true
|
|
1788
1792
|
}
|
|
1789
1793
|
)
|
|
1790
1794
|
}
|
|
@@ -2677,7 +2681,7 @@ const CompanyTrustMemberTaskItem = ({
|
|
|
2677
2681
|
" ",
|
|
2678
2682
|
/* @__PURE__ */ jsx(Button, { onClick: onAddOwner, variant: "link", children: i18n.get("providePersonalDetailsOfOwner") })
|
|
2679
2683
|
] }),
|
|
2680
|
-
className: "
|
|
2684
|
+
className: "add-owner-alert"
|
|
2681
2685
|
}
|
|
2682
2686
|
);
|
|
2683
2687
|
return /* @__PURE__ */ jsx(
|
|
@@ -3607,71 +3611,71 @@ const hasProgressedBeyondEntitySelection = (legalEntity) => {
|
|
|
3607
3611
|
return hasOwnEntityAssocation || !!hasOrganizationType;
|
|
3608
3612
|
};
|
|
3609
3613
|
const Introduction = lazy(
|
|
3610
|
-
async () => (await import("./Introduction-
|
|
3614
|
+
async () => (await import("./Introduction-BnDuQe0P.js")).Introduction
|
|
3611
3615
|
);
|
|
3612
3616
|
const BusinessTypeSelectionPage = lazy(
|
|
3613
|
-
async () => (await import("./BusinessTypeSelectionPage-
|
|
3617
|
+
async () => (await import("./BusinessTypeSelectionPage-k2Q7W0Mn.js")).BusinessTypeSelectionPage
|
|
3614
3618
|
);
|
|
3615
3619
|
const SingpassSelection = lazy(
|
|
3616
|
-
async () => (await import("./SingpassSelection-
|
|
3620
|
+
async () => (await import("./SingpassSelection-Df94BbH_.js")).SingpassSelection
|
|
3617
3621
|
);
|
|
3618
3622
|
const AccountSetupRejected = lazy(
|
|
3619
|
-
async () => (await import("./AccountSetupRejected-
|
|
3623
|
+
async () => (await import("./AccountSetupRejected-CWKZ1tTW.js")).AccountSetupRejected
|
|
3620
3624
|
);
|
|
3621
3625
|
const DecisionMakers = lazy(
|
|
3622
|
-
async () => (await import("./DecisionMakers-
|
|
3626
|
+
async () => (await import("./DecisionMakers-aR8bSImU.js")).DecisionMakers
|
|
3623
3627
|
);
|
|
3624
3628
|
const CustomerSupport = lazy(
|
|
3625
|
-
async () => (await import("./CustomerSupport-
|
|
3629
|
+
async () => (await import("./CustomerSupport-C4tsbfth.js")).CustomerSupport
|
|
3626
3630
|
);
|
|
3627
|
-
const Review = lazy(async () => (await import("./Review-
|
|
3631
|
+
const Review = lazy(async () => (await import("./Review-4BwgO2_f.js")).Review);
|
|
3628
3632
|
const SignPCIComponent = lazy(
|
|
3629
|
-
async () => (await import("./SignPCIComponent-
|
|
3633
|
+
async () => (await import("./SignPCIComponent-DNyKu7Nm.js")).SignPCIComponent
|
|
3630
3634
|
);
|
|
3631
3635
|
const AcceptTermsOfService = lazy(
|
|
3632
|
-
async () => (await import("./AcceptTermsOfServiceComponent-
|
|
3636
|
+
async () => (await import("./AcceptTermsOfServiceComponent-SUI-Gay3.js")).AcceptTermsOfServiceComponent
|
|
3633
3637
|
);
|
|
3634
3638
|
const TaxReportingDropin = lazy(
|
|
3635
|
-
async () => (await import("./TaxReportingDropin-
|
|
3639
|
+
async () => (await import("./TaxReportingDropin-Csu-pEqc.js")).TaxReportingDropin
|
|
3636
3640
|
);
|
|
3637
3641
|
const PayoutDetailsPage = lazy(
|
|
3638
|
-
async () => (await import("./PayoutDetailsDropin-
|
|
3642
|
+
async () => (await import("./PayoutDetailsDropin-WtZW5UuV.js").then((n) => n.a)).PayoutDetailsPage
|
|
3639
3643
|
);
|
|
3640
3644
|
const RootBusinessDetailsPage = lazy(
|
|
3641
|
-
async () => (await import("./RootBusinessDetailsPage-
|
|
3645
|
+
async () => (await import("./RootBusinessDetailsPage-CtJ-K76Z.js")).RootBusinessDetailsPage
|
|
3642
3646
|
);
|
|
3643
3647
|
const SoleProprietorshipPage = lazy(
|
|
3644
|
-
async () => (await import("./SoleProprietorshipPage-
|
|
3648
|
+
async () => (await import("./SoleProprietorshipPage-BWyEYtMH.js")).SoleProprietorshipPage
|
|
3645
3649
|
);
|
|
3646
3650
|
const TrustMemberCompanyPage = lazy(
|
|
3647
|
-
async () => (await import("./TrustMemberCompanyPage-
|
|
3651
|
+
async () => (await import("./TrustMemberCompanyPage-fmSEycW1.js")).TrustMemberCompanyPage
|
|
3648
3652
|
);
|
|
3649
3653
|
const UnincorporatedPartnershipMemberCompanyPage = lazy(
|
|
3650
|
-
async () => (await import("./UnincorporatedPartnershipMemberCompanyPage-
|
|
3654
|
+
async () => (await import("./UnincorporatedPartnershipMemberCompanyPage-CZQp6aIG.js")).UnincorporatedPartnershipMemberCompanyPage
|
|
3651
3655
|
);
|
|
3652
3656
|
const BusinessFinancingPage = lazy(
|
|
3653
|
-
async () => (await import("./BusinessFinancingPage-
|
|
3657
|
+
async () => (await import("./BusinessFinancingPage-LT_Py0hN.js")).BusinessFinancingPage
|
|
3654
3658
|
);
|
|
3655
3659
|
const TrustDetailsPage = lazy(
|
|
3656
|
-
async () => (await import("./TrustDetailsPage-
|
|
3660
|
+
async () => (await import("./TrustDetailsPage-CUAO8IO4.js")).TrustDetailsPage
|
|
3657
3661
|
);
|
|
3658
3662
|
const SourceOfFundsPage = lazy(
|
|
3659
|
-
async () => (await import("./SourceOfFundsPage-
|
|
3663
|
+
async () => (await import("./SourceOfFundsPage-Dh023bHi.js")).SourceOfFundsPage
|
|
3660
3664
|
);
|
|
3661
3665
|
const RootIndividualDetailsPage = lazy(
|
|
3662
|
-
async () => (await import("./RootIndividualDetailsPage-
|
|
3666
|
+
async () => (await import("./RootIndividualDetailsPage-B4uGKMez.js")).RootIndividualDetailsPage
|
|
3663
3667
|
);
|
|
3664
3668
|
const LegalRepresentativeDetailsPage = lazy(
|
|
3665
|
-
async () => (await import("./LegalRepresentativeDetailsPage-
|
|
3669
|
+
async () => (await import("./LegalRepresentativeDetailsPage-CFCa0Psw.js")).LegalRepresentativeDetailsPage
|
|
3666
3670
|
);
|
|
3667
3671
|
const TrustMemberIndividualPage = lazy(
|
|
3668
|
-
async () => (await import("./TrustMemberIndividualPage-
|
|
3672
|
+
async () => (await import("./TrustMemberIndividualPage-ClhOZ8a1.js")).TrustMemberIndividualPage
|
|
3669
3673
|
);
|
|
3670
3674
|
const UnincorporatedPartnershipIndividualPage = lazy(
|
|
3671
|
-
async () => (await import("./UnincorporatedPartnershipIndividualPage-
|
|
3675
|
+
async () => (await import("./UnincorporatedPartnershipIndividualPage-CJ0y-apw.js")).UnincorporatedPartnershipIndividualPage
|
|
3672
3676
|
);
|
|
3673
3677
|
const DecisionMakerDetailsPage = lazy(
|
|
3674
|
-
async () => (await import("./DecisionMakerDetailsPage-
|
|
3678
|
+
async () => (await import("./DecisionMakerDetailsPage-BrXGA3kf.js")).DecisionMakerDetailsPage
|
|
3675
3679
|
);
|
|
3676
3680
|
function isIn(values, x) {
|
|
3677
3681
|
return values.includes(x);
|
|
@@ -3761,7 +3765,7 @@ function DropinComposer({
|
|
|
3761
3765
|
const [targetLegalEntityType, setTargetLegalEntityType] = useState();
|
|
3762
3766
|
const {
|
|
3763
3767
|
trustMember,
|
|
3764
|
-
|
|
3768
|
+
trustMemberId,
|
|
3765
3769
|
onNavigateToTrust,
|
|
3766
3770
|
onNavigateToTrustMemberRoleAndType,
|
|
3767
3771
|
onNavigateToTrustMemberEditDetails
|
|
@@ -4023,36 +4027,42 @@ function DropinComposer({
|
|
|
4023
4027
|
return /* @__PURE__ */ jsx(Suspense, { fallback: /* @__PURE__ */ jsx(Loader, {}), children: /* @__PURE__ */ jsx(
|
|
4024
4028
|
TrustMemberIndividualPage,
|
|
4025
4029
|
{
|
|
4026
|
-
memberId:
|
|
4030
|
+
memberId: trustMemberId,
|
|
4027
4031
|
trustId: trust.id,
|
|
4028
4032
|
newMember: trustMember?.legalEntityId === isNewEntity ? trustMember : void 0,
|
|
4029
|
-
onSubmit: (data) =>
|
|
4033
|
+
onSubmit: async (data) => {
|
|
4034
|
+
await handleOnSubmit(data, 2);
|
|
4035
|
+
await refetchTrust();
|
|
4036
|
+
},
|
|
4030
4037
|
handleBackClick: navigateBack,
|
|
4031
4038
|
handleHomeClick: () => navigateTo(TaskTypes.TRUST_MEMBER_OVERVIEW)
|
|
4032
4039
|
}
|
|
4033
4040
|
) });
|
|
4034
|
-
case TaskTypes.
|
|
4041
|
+
case TaskTypes.TRUST_MEMBER_COMPANY:
|
|
4035
4042
|
return /* @__PURE__ */ jsx(Suspense, { fallback: /* @__PURE__ */ jsx(Loader, {}), children: /* @__PURE__ */ jsx(
|
|
4036
|
-
|
|
4043
|
+
TrustMemberCompanyPage,
|
|
4037
4044
|
{
|
|
4045
|
+
trustId: trust.id,
|
|
4046
|
+
trustMemberCompanyId: trustMemberId,
|
|
4047
|
+
newMember: trustMember?.legalEntityId === isNewEntity ? trustMember : void 0,
|
|
4038
4048
|
onSubmit: async (data) => {
|
|
4039
|
-
|
|
4040
|
-
await
|
|
4041
|
-
navigateTo(TaskTypes.TASKS_OVERVIEW);
|
|
4042
|
-
setTargetLegalEntityType(void 0);
|
|
4049
|
+
await handleOnSubmit(data, 2);
|
|
4050
|
+
await refetchTrust();
|
|
4043
4051
|
},
|
|
4044
4052
|
handleHomeClick: navigateBack,
|
|
4045
4053
|
isTargetLegalEntityType: targetLegalEntityType === LegalEntityTypes.ORGANIZATION
|
|
4046
4054
|
}
|
|
4047
4055
|
) });
|
|
4048
|
-
case TaskTypes.
|
|
4056
|
+
case TaskTypes.BUSINESS_DETAILS:
|
|
4049
4057
|
return /* @__PURE__ */ jsx(Suspense, { fallback: /* @__PURE__ */ jsx(Loader, {}), children: /* @__PURE__ */ jsx(
|
|
4050
|
-
|
|
4058
|
+
RootBusinessDetailsPage,
|
|
4051
4059
|
{
|
|
4052
|
-
|
|
4053
|
-
|
|
4054
|
-
|
|
4055
|
-
|
|
4060
|
+
onSubmit: async (data) => {
|
|
4061
|
+
onSubmit?.(data);
|
|
4062
|
+
await refetchLegalEntity();
|
|
4063
|
+
navigateTo(TaskTypes.TASKS_OVERVIEW);
|
|
4064
|
+
setTargetLegalEntityType(void 0);
|
|
4065
|
+
},
|
|
4056
4066
|
handleHomeClick: navigateBack,
|
|
4057
4067
|
isTargetLegalEntityType: targetLegalEntityType === LegalEntityTypes.ORGANIZATION
|
|
4058
4068
|
}
|
|
@@ -4086,10 +4096,10 @@ function DropinComposer({
|
|
|
4086
4096
|
{
|
|
4087
4097
|
navigateBackToTaskList: navigateBack,
|
|
4088
4098
|
navigateToEditTrustMember: onNavigateToTrustMemberRoleAndType,
|
|
4089
|
-
navigateToEditTrustMemberOwner: (trustMemberOwnerId,
|
|
4099
|
+
navigateToEditTrustMemberOwner: (trustMemberOwnerId, trustMemberId2) => onNavigateToDecisionMakerIndividual(
|
|
4090
4100
|
TaskTypes.TRUST_MEMBER_COMPANY_OWNER,
|
|
4091
4101
|
trustMemberOwnerId,
|
|
4092
|
-
|
|
4102
|
+
trustMemberId2
|
|
4093
4103
|
)
|
|
4094
4104
|
}
|
|
4095
4105
|
) });
|
|
@@ -4098,7 +4108,7 @@ function DropinComposer({
|
|
|
4098
4108
|
TrustMemberRoleAndTypePage,
|
|
4099
4109
|
{
|
|
4100
4110
|
trustId: trust.id,
|
|
4101
|
-
memberId:
|
|
4111
|
+
memberId: trustMemberId,
|
|
4102
4112
|
navigateToFullDropinFor: onNavigateToTrustMemberEditDetails,
|
|
4103
4113
|
navigateBack: async () => {
|
|
4104
4114
|
await refetchTrust();
|
|
@@ -4265,7 +4275,7 @@ function OnboardingDropinComponent({
|
|
|
4265
4275
|
addResourceBundles(i18n, i18n.language, [
|
|
4266
4276
|
{
|
|
4267
4277
|
ns: "common",
|
|
4268
|
-
importFn: () => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-CW9c658c.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-dU9fnQ1g.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-BJ7aTPir.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-C78RLE2G.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-BZRKurtr.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-Ddr7AO05.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-
|
|
4278
|
+
importFn: () => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-CW9c658c.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-dU9fnQ1g.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-BJ7aTPir.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-C78RLE2G.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-BZRKurtr.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-Ddr7AO05.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-wlEnMP3i.js").then((n) => n.bN), "../../../language/locales/es-ES.json": () => import("./es-ES-BtUSEzkE.js"), "../../../language/locales/et-EE.json": () => import("./et-EE-BCnK305R.js"), "../../../language/locales/fi-FI.json": () => import("./fi-FI-Cvar63RH.js"), "../../../language/locales/fr-FR.json": () => import("./fr-FR-B5543Fe-.js"), "../../../language/locales/hr-HR.json": () => import("./hr-HR-ZreFlbK9.js"), "../../../language/locales/hu-HU.json": () => import("./hu-HU-B3BihdGh.js"), "../../../language/locales/it-IT.json": () => import("./it-IT-Dd6xGSe-.js"), "../../../language/locales/ja-JP.json": () => import("./ja-JP-iTbqSPNL.js"), "../../../language/locales/lt-LT.json": () => import("./lt-LT-DE-4IXNG.js"), "../../../language/locales/lv-LV.json": () => import("./lv-LV-CeivEZms.js"), "../../../language/locales/nl-NL.json": () => import("./nl-NL-DVENFpd5.js"), "../../../language/locales/no-NO.json": () => import("./no-NO-Dn2UkdoI.js"), "../../../language/locales/pl-PL.json": () => import("./pl-PL-DFAzuceF.js"), "../../../language/locales/pt-PT.json": () => import("./pt-PT-_o5xgnxS.js"), "../../../language/locales/ro-RO.json": () => import("./ro-RO-D7c_Rj8V.js"), "../../../language/locales/sk-SK.json": () => import("./sk-SK-BBSuh2fA.js"), "../../../language/locales/sl-SI.json": () => import("./sl-SI-BLTuWNf5.js"), "../../../language/locales/sv-SE.json": () => import("./sv-SE-BUfESAQK.js") }), `../../../language/locales/${i18n.language}.json`, 6)
|
|
4269
4279
|
},
|
|
4270
4280
|
{ ns: "ui", importFn: () => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../ui/language/bg-BG.json": () => import("./bg-BG-CZ8v3rdy.js"), "../../ui/language/cs-CZ.json": () => import("./cs-CZ-Dx6momCa.js"), "../../ui/language/da-DK.json": () => import("./da-DK-D4H69PX3.js"), "../../ui/language/de-DE.json": () => import("./de-DE-wp5-H-ov.js"), "../../ui/language/el-GR.json": () => import("./el-GR-CK2heqPJ.js"), "../../ui/language/en-US.json": () => import("./en-US-CAm3meB1.js"), "../../ui/language/es-ES.json": () => import("./es-ES-Ds3-DtqZ.js"), "../../ui/language/et-EE.json": () => import("./et-EE-Co-8akjV.js"), "../../ui/language/fi-FI.json": () => import("./fi-FI-DPNeTsJS.js"), "../../ui/language/fr-FR.json": () => import("./fr-FR-ChmNQciP.js"), "../../ui/language/hr-HR.json": () => import("./hr-HR-DqC8Cgs6.js"), "../../ui/language/hu-HU.json": () => import("./hu-HU-BOanVlKb.js"), "../../ui/language/it-IT.json": () => import("./it-IT-eCrTB65E.js"), "../../ui/language/ja-JP.json": () => import("./ja-JP-BJljbFIZ.js"), "../../ui/language/lt-LT.json": () => import("./lt-LT-DckQGgoT.js"), "../../ui/language/lv-LV.json": () => import("./lv-LV-DP9oRTFv.js"), "../../ui/language/nl-NL.json": () => import("./nl-NL-D2QKudfh.js"), "../../ui/language/no-NO.json": () => import("./no-NO-C_snYWBc.js"), "../../ui/language/pl-PL.json": () => import("./pl-PL-CQ6c2Qz_.js"), "../../ui/language/pt-PT.json": () => import("./pt-PT-C-hbNnsB.js"), "../../ui/language/ro-RO.json": () => import("./ro-RO-BrTWk1Ui.js"), "../../ui/language/sk-SK.json": () => import("./sk-SK-BTFtoPmI.js"), "../../ui/language/sl-SI.json": () => import("./sl-SI-BhVTSmhQ.js"), "../../ui/language/sv-SE.json": () => import("./sv-SE-66rqYTxi.js") }), `../../ui/language/${i18n.language}.json`, 5) }
|
|
4271
4281
|
]);
|
|
@@ -9,41 +9,41 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useState, useEffect, useRef, useMemo, useCallback, useContext } from "preact/hooks";
|
|
12
|
-
import { b as useApiContext, j as useQuery, k as httpPost, o as httpGet, aA as useMutation, aC as useQueryClient, N as createLogger, a8 as CountryCodes, a as useTranslation, c as useLegalEntity, R as ROOT_LE, y as LegalEntityTypes, L as Loader, J as EntityTypes, U as useAnalyticsContext, V as Icon, x as Typography, B as Button, u as useI18nContext, af as objectsDeepEqual, aG as doArraysMatch, a9 as isEmpty, bj as getSdkToken, G as hasOwnEntityAssociationOfType, m as useSettingsContext, bk as EEA_Countries, X as useExperimentsContext, bl as isAccountIdentifierObscured, bm as hasEmptyFields, bn as extractFieldName, bo as concatenateFieldNames, aD as keysOf, g as getLegalEntityCountry, am as getCapabilityProblems, M as TaskTypes, ay as cloneObject, q as skipToken } from "./StoreProvider-
|
|
13
|
-
import { u as useTransferInstrument, m as mapTransferInstrumentToPayoutAccount } from "./mapTransferInstrumentToPayoutAccount-
|
|
14
|
-
import { a as useForm, F as Field, c as Select, L as LoaderWrapper } from "./useForm-
|
|
12
|
+
import { b as useApiContext, j as useQuery, k as httpPost, o as httpGet, aA as useMutation, aC as useQueryClient, N as createLogger, a8 as CountryCodes, a as useTranslation, c as useLegalEntity, R as ROOT_LE, y as LegalEntityTypes, L as Loader, J as EntityTypes, U as useAnalyticsContext, V as Icon, x as Typography, B as Button, u as useI18nContext, af as objectsDeepEqual, aG as doArraysMatch, a9 as isEmpty, bj as getSdkToken, G as hasOwnEntityAssociationOfType, m as useSettingsContext, bk as EEA_Countries, X as useExperimentsContext, bl as isAccountIdentifierObscured, bm as hasEmptyFields, bn as extractFieldName, bo as concatenateFieldNames, aD as keysOf, g as getLegalEntityCountry, am as getCapabilityProblems, M as TaskTypes, ay as cloneObject, q as skipToken } from "./StoreProvider-wlEnMP3i.js";
|
|
13
|
+
import { u as useTransferInstrument, m as mapTransferInstrumentToPayoutAccount } from "./mapTransferInstrumentToPayoutAccount-CpeE4kbr.js";
|
|
14
|
+
import { a as useForm, F as Field, c as Select, L as LoaderWrapper } from "./useForm-lGwsWpQe.js";
|
|
15
15
|
import { E as ExperimentNames } from "./types-CAznNNSI.js";
|
|
16
|
-
import { I as InputText, S as SettingNames } from "./InputText-
|
|
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-
|
|
19
|
-
import { D as DropzoneFile, h as bytesToSize, i as defaultFileValidationOptions, j as fileValidationRules, S as StateContextSetter, a as getDocument, c as createDocumentRequest, k as augmentWithCountryConfigs, d as documentApiUtils, b as getPropsFromConfigurations, f as getFileExtention } from "./validate-
|
|
20
|
-
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-
|
|
21
|
-
import { D as DocumentGuidance, A as AdyenKycSdkError, u as uppercase, p as payoutAccountFormat, m as mapExistingFile, g as getPageName, b as useScenarioConfiguration, c as useUnifyLoadingStatus } from "./mapExistingFile-
|
|
22
|
-
import { C as Confirm } from "./Confirm-
|
|
23
|
-
import { c as currencyByCountry } from "./types-
|
|
24
|
-
import { i as isValidationError, p as processValidationErrors, b as isIdDocumentUploadError, c as isBankStatementUploadError, a as isMaintenanceModeError, m as mapCreateOrUpdateTransferInstrumentErrorMessageToTranslatable } from "./validationError-
|
|
25
|
-
import { u as useDataset, d as datasetIdentifier, a as datasetUtilities } from "./useDataset-
|
|
26
|
-
import { g as getLegalEntityNameBasedOnType, b as getPayoutAccountHolderName } from "./getName-
|
|
27
|
-
import { I as IFrameWidget, o as omitObscuredFieldsIfUnchanged } from "./iframeWidget-
|
|
16
|
+
import { I as InputText, S as SettingNames } from "./InputText-DZhDhSHU.js";
|
|
17
|
+
import { u as useGlobalDataSlice, a as useGlobalData, b as useResetGlobalData, c as useStateContext, F as FormWrapper } from "./useGlobalData-BtKU3xhR.js";
|
|
18
|
+
import { a as useInvalidateRootLegalEntity, u as useToastContext } from "./useToastContext-Di9myP0k.js";
|
|
19
|
+
import { D as DropzoneFile, h as bytesToSize, i as defaultFileValidationOptions, j as fileValidationRules, S as StateContextSetter, a as getDocument, c as createDocumentRequest, k as augmentWithCountryConfigs, d as documentApiUtils, b as getPropsFromConfigurations, f as getFileExtention } from "./validate-Bbd71WPE.js";
|
|
20
|
+
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-DEsrhYpI.js";
|
|
21
|
+
import { D as DocumentGuidance, A as AdyenKycSdkError, u as uppercase, p as payoutAccountFormat, m as mapExistingFile, g as getPageName, b as useScenarioConfiguration, c as useUnifyLoadingStatus } from "./mapExistingFile-CjQICfcM.js";
|
|
22
|
+
import { C as Confirm } from "./Confirm-JoQJOE3O.js";
|
|
23
|
+
import { c as currencyByCountry } from "./types-BdLjSZ_L.js";
|
|
24
|
+
import { i as isValidationError, p as processValidationErrors, b as isIdDocumentUploadError, c as isBankStatementUploadError, a as isMaintenanceModeError, m as mapCreateOrUpdateTransferInstrumentErrorMessageToTranslatable } from "./validationError-DE82pJmH.js";
|
|
25
|
+
import { u as useDataset, d as datasetIdentifier, a as datasetUtilities } from "./useDataset-KpIFgCMq.js";
|
|
26
|
+
import { g as getLegalEntityNameBasedOnType, b as getPayoutAccountHolderName } from "./getName-C4Pxr0ab.js";
|
|
27
|
+
import { I as IFrameWidget, o as omitObscuredFieldsIfUnchanged } from "./iframeWidget-D9C_KIwR.js";
|
|
28
28
|
import { Show } from "@preact/signals/utils";
|
|
29
|
-
import { c as createFormUtils, F as FormHeader, E as ErrorPanel, m as mergeFieldMetadataIntoProps, g as getFieldProps, C as CountryField, f as getFormProps, d as summaryStep, s as summaryItem } from "./CountryField-
|
|
30
|
-
import { a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper, T as Trans } from "./translation-
|
|
29
|
+
import { c as createFormUtils, F as FormHeader, E as ErrorPanel, m as mergeFieldMetadataIntoProps, g as getFieldProps, C as CountryField, f as getFormProps, d as summaryStep, s as summaryItem } from "./CountryField-iSMu28Mk.js";
|
|
30
|
+
import { a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper, T as Trans } from "./translation-DD0CkeYX.js";
|
|
31
31
|
import { signal } from "@preact/signals";
|
|
32
|
-
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-
|
|
33
|
-
import { b as useCapabilityProblems, g as getProblemsForEntity, T as TextArea, f as validatePatternOnBlur, r as resolveFieldMetadata, a as useAccountHolder, I as Image, R as RadioGroupCard, C as ContextGuidance } from "./fieldConfigurations-
|
|
32
|
+
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-CsKbF3Mo.js";
|
|
33
|
+
import { b as useCapabilityProblems, g as getProblemsForEntity, T as TextArea, f as validatePatternOnBlur, r as resolveFieldMetadata, a as useAccountHolder, I as Image, R as RadioGroupCard, C as ContextGuidance } from "./fieldConfigurations-D_iawESq.js";
|
|
34
34
|
import { c as createFormRules } from "./form-rules-DhbF2mY4.js";
|
|
35
35
|
import { memo, lazy } from "preact/compat";
|
|
36
|
-
import { u as useUnincorporatedPartnershipMembers } from "./useUnincorporatedPartnershipMembers-
|
|
36
|
+
import { u as useUnincorporatedPartnershipMembers } from "./useUnincorporatedPartnershipMembers-D-oaBt_8.js";
|
|
37
37
|
import cx from "classnames";
|
|
38
38
|
import { b as bankStatementDescriptionPattern } from "./basePatterns-BwdnMQxI.js";
|
|
39
39
|
import { createContext } from "preact";
|
|
40
|
-
import { a as Alert } from "./Alert-
|
|
41
|
-
import { A as ActionBar } from "./FormNavigation-
|
|
40
|
+
import { a as Alert } from "./Alert-DLxh7-8w.js";
|
|
41
|
+
import { A as ActionBar } from "./FormNavigation-CEVhOVCM.js";
|
|
42
42
|
import OpenBankingSDK from "@adyen/openbankingsdk";
|
|
43
|
-
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-
|
|
44
|
-
import { a as isNotEmptyValidator } from "./commonValidators-
|
|
43
|
+
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-d6ynk2DD.js";
|
|
44
|
+
import { a as isNotEmptyValidator } from "./commonValidators-QR43B0Ha.js";
|
|
45
45
|
import { C as Currencies } from "./currency-BGwQyxBo.js";
|
|
46
|
-
import { L as Link } from "./Link-
|
|
46
|
+
import { L as Link } from "./Link-H_NUrrQh.js";
|
|
47
47
|
const getCheck = async (legalEntityId, baseUrl, data) => {
|
|
48
48
|
return httpPost(
|
|
49
49
|
{
|
|
@@ -7,12 +7,12 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, aA as useMutation, k as httpPost, aC as useQueryClient, a as useTranslation, U as useAnalyticsContext, W as noop } from "./StoreProvider-
|
|
11
|
-
import { a as useInvalidateRootLegalEntity } from "./useToastContext-
|
|
10
|
+
import { b as useApiContext, aA as useMutation, k as httpPost, aC as useQueryClient, a as useTranslation, U as useAnalyticsContext, W as noop } from "./StoreProvider-wlEnMP3i.js";
|
|
11
|
+
import { a as useInvalidateRootLegalEntity } from "./useToastContext-Di9myP0k.js";
|
|
12
12
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
13
13
|
import cx from "classnames";
|
|
14
|
-
import { b as useId } from "./useForm-
|
|
15
|
-
import { R as Radio } from "./CountryField-
|
|
14
|
+
import { b as useId } from "./useForm-lGwsWpQe.js";
|
|
15
|
+
import { R as Radio } from "./CountryField-iSMu28Mk.js";
|
|
16
16
|
const createLegalEntity = async (legalEntityId, baseUrl, data) => {
|
|
17
17
|
return httpPost(
|
|
18
18
|
{
|
|
@@ -9,20 +9,20 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { memo } from "preact/compat";
|
|
12
|
-
import { af as objectsDeepEqual, a as useTranslation, y as LegalEntityTypes, a8 as CountryCodes, X as useExperimentsContext } from "./StoreProvider-
|
|
13
|
-
import { M as MemoizedDocumentUpload, k as getCompanyRegistrationNumberOptions, s as stateFormatGuidanceText, m as businessRegistrationNumberMasks, n as businessRegistrationNumberPatterns, v as vatNumberOptions, o as getVatNumberOptions } from "./TaxInformationField-
|
|
14
|
-
import { F as Field, C as Checkbox, a as useForm } from "./useForm-
|
|
15
|
-
import { m as makeMask, n as numericInputs, s as spacer, M as MaskedInput, a as nonInputs, b as alphaInputs, d as alphanumericInputs } from "./MaskedInput-
|
|
12
|
+
import { af as objectsDeepEqual, a as useTranslation, y as LegalEntityTypes, a8 as CountryCodes, X as useExperimentsContext } from "./StoreProvider-wlEnMP3i.js";
|
|
13
|
+
import { M as MemoizedDocumentUpload, k as getCompanyRegistrationNumberOptions, s as stateFormatGuidanceText, m as businessRegistrationNumberMasks, n as businessRegistrationNumberPatterns, v as vatNumberOptions, o as getVatNumberOptions } from "./TaxInformationField-tKF_0haj.js";
|
|
14
|
+
import { F as Field, C as Checkbox, a as useForm } from "./useForm-lGwsWpQe.js";
|
|
15
|
+
import { m as makeMask, n as numericInputs, s as spacer, M as MaskedInput, a as nonInputs, b as alphaInputs, d as alphanumericInputs } from "./MaskedInput-d6ynk2DD.js";
|
|
16
16
|
import { useMemo, useCallback, useEffect, useRef } from "preact/hooks";
|
|
17
|
-
import { R as RadioGroup } from "./RadioGroup-
|
|
18
|
-
import { C as CompanyTypesValues } from "./bafinUtils-
|
|
19
|
-
import { f as validatePatternOnBlur, c as validateNotEmptyOnBlur, C as ContextGuidance } from "./fieldConfigurations-
|
|
20
|
-
import { I as InputText } from "./InputText-
|
|
21
|
-
import { u as uppercase } from "./mapExistingFile-
|
|
17
|
+
import { R as RadioGroup } from "./RadioGroup-CSiEda6F.js";
|
|
18
|
+
import { C as CompanyTypesValues } from "./bafinUtils-DLTAySgX.js";
|
|
19
|
+
import { f as validatePatternOnBlur, c as validateNotEmptyOnBlur, C as ContextGuidance } from "./fieldConfigurations-D_iawESq.js";
|
|
20
|
+
import { I as InputText } from "./InputText-DZhDhSHU.js";
|
|
21
|
+
import { u as uppercase } from "./mapExistingFile-CjQICfcM.js";
|
|
22
22
|
import { createElement } from "preact";
|
|
23
|
-
import { f as getFormProps, F as FormHeader, E as ErrorPanel, c as createFormUtils } from "./CountryField-
|
|
24
|
-
import { S as StateContextSetter } from "./validate-
|
|
25
|
-
import { o as operationalAddressIsSameIds, A as Address, h as operationalAddressIsSameItems } from "./Address-
|
|
23
|
+
import { f as getFormProps, F as FormHeader, E as ErrorPanel, c as createFormUtils } from "./CountryField-iSMu28Mk.js";
|
|
24
|
+
import { S as StateContextSetter } from "./validate-Bbd71WPE.js";
|
|
25
|
+
import { o as operationalAddressIsSameIds, A as Address, h as operationalAddressIsSameItems } from "./Address-wVmHTSPw.js";
|
|
26
26
|
const ConstitutionalDocumentTypes = {
|
|
27
27
|
BUSINESS_NAME_FILING: "doingBusinessAsNameFiling",
|
|
28
28
|
TAX_FILING: "taxFiling",
|
|
@@ -9,12 +9,12 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { useState } from "preact/hooks";
|
|
12
|
-
import { b as useApiContext, aA as useMutation, k as httpPost, a as useTranslation } from "./StoreProvider-
|
|
13
|
-
import { L as LoaderWrapper, C as Checkbox } from "./useForm-
|
|
14
|
-
import { F as FormHeader } from "./CountryField-
|
|
15
|
-
import { u as useToastContext } from "./useToastContext-
|
|
16
|
-
import { A as ActionBar } from "./FormNavigation-
|
|
17
|
-
import { D as DropinLayout } from "./OnboardingDropinComponent-
|
|
12
|
+
import { b as useApiContext, aA as useMutation, k as httpPost, a as useTranslation } from "./StoreProvider-wlEnMP3i.js";
|
|
13
|
+
import { L as LoaderWrapper, C as Checkbox } from "./useForm-lGwsWpQe.js";
|
|
14
|
+
import { F as FormHeader } from "./CountryField-iSMu28Mk.js";
|
|
15
|
+
import { u as useToastContext } from "./useToastContext-Di9myP0k.js";
|
|
16
|
+
import { A as ActionBar } from "./FormNavigation-CEVhOVCM.js";
|
|
17
|
+
import { D as DropinLayout } from "./OnboardingDropinComponent-BLs1ytyI.js";
|
|
18
18
|
const confirmReview = async (legalEntityId, baseUrl) => {
|
|
19
19
|
return httpPost({
|
|
20
20
|
baseUrl,
|
|
@@ -7,36 +7,36 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper } from "./translation-
|
|
10
|
+
import { a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper } from "./translation-DD0CkeYX.js";
|
|
11
11
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
12
|
-
import { a as useTranslation, X as useExperimentsContext, x as Typography, m as useSettingsContext, u as useI18nContext, M as TaskTypes, y as LegalEntityTypes, b as useApiContext, U as useAnalyticsContext, aC as useQueryClient, bD as businessDetailsDocumentMapping, bu as businessDetailsApiKeyMapping, c as useLegalEntity, R as ROOT_LE, L as Loader, z as isPartOfTrustFromLegalEntity, J as EntityTypes, g as getLegalEntityCountry } from "./StoreProvider-
|
|
13
|
-
import { r as resolveFieldMetadata, a as useAccountHolder, b as useCapabilityProblems, g as getProblemsForEntity } from "./fieldConfigurations-
|
|
14
|
-
import { v as verifiedBusiness, u as useDebouncedState, l as legalFormFieldMetadata, s as stockTickerSymbolFieldMetadata, a as stockISINFieldMetadata, b as stockExchangeMICFieldMetadata, d as dateOfIncorporationFieldMetadata, e as eInvoicingCodeFieldMetadata, V as VerifiedBusinessCard, L as LEGAL_FORM_FIELDS, E as EInvoicingCodeField, c as EINVOICING_CODE_FIELD, D as DATE_OF_INCORPORATION_FIELD, f as DateOfIncorporationField, S as STOCK_EXCHANGE_MIC_FIELD, g as StockExchangeMICField, h as STOCK_ISIN_FIELD, i as StockISINField, j as STOCK_TICKER_SYMBOL_FIELD, k as StockTickerSymbolField, A as ADDITIONAL_INFORMATION_FORM_ID, m as localizedLegalCompanyNameFieldConfig, n as defaultFieldMetadata$1, o as defaultFieldConfig$1, p as useLegalCompanyNameField, C as COUNTRY_OF_GOVERNING_LAW_FIELD, q as CountryOfGoverningLawField, r as isBankAccountRequestedForOrganization, t as companyTypeOptions, w as useCompanyTypeExamples, x as companyTypeMetadata, F as FinancialInformation, P as ProofOfOwnershipDocument, y as ProofOfSignatoryDocument, z as ProofOfDirectorDocument, R as RegistrationDocument, T as TaxDocument, B as BusinessSelectionMultiform, G as CountryOfGoverningLawFieldValidation, H as CountryFieldValidation, I as getForms, J as mapApiDocumentToBusinessDetailsDocuments, K as mapLegalEntityToBusinessDetailsSchema, M as financialInfoValidationWithEmployeesRules, N as CompanyStructureValidation, O as tinMatched, Q as businessMismatchModalOpen, U as formatDataForSummary, W as submit, X as useCompanySearch, Y as useVerifyTin, Z as businessDetailsFieldsPerScenario, _ as BusinessDetailsDropin } from "./BusinessDetailsDropin-
|
|
12
|
+
import { a as useTranslation, X as useExperimentsContext, x as Typography, m as useSettingsContext, u as useI18nContext, M as TaskTypes, y as LegalEntityTypes, b as useApiContext, U as useAnalyticsContext, aC as useQueryClient, bD as businessDetailsDocumentMapping, bu as businessDetailsApiKeyMapping, c as useLegalEntity, R as ROOT_LE, L as Loader, z as isPartOfTrustFromLegalEntity, J as EntityTypes, g as getLegalEntityCountry } from "./StoreProvider-wlEnMP3i.js";
|
|
13
|
+
import { r as resolveFieldMetadata, a as useAccountHolder, b as useCapabilityProblems, g as getProblemsForEntity } from "./fieldConfigurations-D_iawESq.js";
|
|
14
|
+
import { v as verifiedBusiness, u as useDebouncedState, l as legalFormFieldMetadata, s as stockTickerSymbolFieldMetadata, a as stockISINFieldMetadata, b as stockExchangeMICFieldMetadata, d as dateOfIncorporationFieldMetadata, e as eInvoicingCodeFieldMetadata, V as VerifiedBusinessCard, L as LEGAL_FORM_FIELDS, E as EInvoicingCodeField, c as EINVOICING_CODE_FIELD, D as DATE_OF_INCORPORATION_FIELD, f as DateOfIncorporationField, S as STOCK_EXCHANGE_MIC_FIELD, g as StockExchangeMICField, h as STOCK_ISIN_FIELD, i as StockISINField, j as STOCK_TICKER_SYMBOL_FIELD, k as StockTickerSymbolField, A as ADDITIONAL_INFORMATION_FORM_ID, m as localizedLegalCompanyNameFieldConfig, n as defaultFieldMetadata$1, o as defaultFieldConfig$1, p as useLegalCompanyNameField, C as COUNTRY_OF_GOVERNING_LAW_FIELD, q as CountryOfGoverningLawField, r as isBankAccountRequestedForOrganization, t as companyTypeOptions, w as useCompanyTypeExamples, x as companyTypeMetadata, F as FinancialInformation, P as ProofOfOwnershipDocument, y as ProofOfSignatoryDocument, z as ProofOfDirectorDocument, R as RegistrationDocument, T as TaxDocument, B as BusinessSelectionMultiform, G as CountryOfGoverningLawFieldValidation, H as CountryFieldValidation, I as getForms, J as mapApiDocumentToBusinessDetailsDocuments, K as mapLegalEntityToBusinessDetailsSchema, M as financialInfoValidationWithEmployeesRules, N as CompanyStructureValidation, O as tinMatched, Q as businessMismatchModalOpen, U as formatDataForSummary, W as submit, X as useCompanySearch, Y as useVerifyTin, Z as businessDetailsFieldsPerScenario, _ as BusinessDetailsDropin } from "./BusinessDetailsDropin-Cr2U6fR3.js";
|
|
15
15
|
import { useEffect, useMemo, useCallback, useState } from "preact/hooks";
|
|
16
|
-
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./RadioGroup-
|
|
17
|
-
import { F as FormContextProvider, a as FormFlow } from "./FormFlow-
|
|
18
|
-
import { u as useToastContext } from "./useToastContext-
|
|
19
|
-
import { g as getAssociatedLeAnalyticsPayload } from "./analytics-
|
|
20
|
-
import { d as documentApiUtils, e as composePerScenarioFormConfigurations, b as getPropsFromConfigurations } from "./validate-
|
|
21
|
-
import { a as addValidityToForms, t as trackNavigation, u as useFormComposer } from "./dropinUtils-
|
|
22
|
-
import { u as useMultiForm } from "./useMultiForm-
|
|
23
|
-
import { b as useScenarioConfiguration } from "./mapExistingFile-
|
|
24
|
-
import { C as Confirm } from "./Confirm-
|
|
25
|
-
import { t as taxInformationDefaultFieldMetadata, b as taxInformationDefaultFieldConfig, c as TAX_INFORMATION_FIELD, T as TaxInformationField, M as MemoizedDocumentUpload, C as COUNTRIES_USING_COMPANY_SEARCH, r as rules, g as getFieldsWithExistingData } from "./TaxInformationField-
|
|
16
|
+
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./RadioGroup-CSiEda6F.js";
|
|
17
|
+
import { F as FormContextProvider, a as FormFlow } from "./FormFlow-DbvyREd3.js";
|
|
18
|
+
import { u as useToastContext } from "./useToastContext-Di9myP0k.js";
|
|
19
|
+
import { g as getAssociatedLeAnalyticsPayload } from "./analytics-CORlrLRf.js";
|
|
20
|
+
import { d as documentApiUtils, e as composePerScenarioFormConfigurations, b as getPropsFromConfigurations } from "./validate-Bbd71WPE.js";
|
|
21
|
+
import { a as addValidityToForms, t as trackNavigation, u as useFormComposer } from "./dropinUtils-DEsrhYpI.js";
|
|
22
|
+
import { u as useMultiForm } from "./useMultiForm-BzBD0i-f.js";
|
|
23
|
+
import { b as useScenarioConfiguration } from "./mapExistingFile-CjQICfcM.js";
|
|
24
|
+
import { C as Confirm } from "./Confirm-JoQJOE3O.js";
|
|
25
|
+
import { t as taxInformationDefaultFieldMetadata, b as taxInformationDefaultFieldConfig, c as TAX_INFORMATION_FIELD, T as TaxInformationField, M as MemoizedDocumentUpload, C as COUNTRIES_USING_COMPANY_SEARCH, r as rules, g as getFieldsWithExistingData } from "./TaxInformationField-tKF_0haj.js";
|
|
26
26
|
import { u as useFormContext } from "./useFormContext-beqGS11A.js";
|
|
27
|
-
import { C as CompanyTypesValues } from "./bafinUtils-
|
|
28
|
-
import { v as vatAbsenceReasonMetadata, d as defaultFieldMetadata, a as defaultFieldConfig, r as registrationNumberDefaultFieldMetadata, b as registrationNumberDefaultFieldConfig, c as doingBusinessAsFieldMetadata, e as doingBusinessAsAbsentFieldMetadata, D as DBA_NAME_FIELD, f as DBANameField, B as BUSINESS_REGISTRATION_NUMBER_FIELD, g as BusinessRegistrationNumberField, V as VAT_NUMBER_FIELD, h as VatNumberField, M as MemoizedConstitutionalDocument, i as exemptFromRegistrationNumberDefaultFieldMetadata } from "./RegistrationAddress-
|
|
29
|
-
import { c as useAddressCleanse, f as formatAddressForCleanse, m as mapAddressData, o as operationalAddressIsSameIds, A as Address, g as getNestedTrustedFields, S as STATE_FIELD, d as StateField } from "./Address-
|
|
30
|
-
import { F as Field, C as Checkbox } from "./useForm-
|
|
31
|
-
import { m as mergeFieldMetadataIntoProps, c as createFormUtils, F as FormHeader, E as ErrorPanel, C as CountryField, a as COUNTRY_FIELD, d as summaryStep } from "./CountryField-
|
|
32
|
-
import { g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET, a as getAddressSchemaLabelsByCountry } from "./utils-
|
|
33
|
-
import { a as datasetUtilities } from "./useDataset-
|
|
34
|
-
import { L as LegalFormField } from "./Currency-
|
|
35
|
-
import { L as Link } from "./Link-
|
|
36
|
-
import { S as SettingNames, I as InputText } from "./InputText-
|
|
37
|
-
import { u as useAllowedCountries } from "./mapScriptLocalization-
|
|
38
|
-
import { g as defaultFieldMetadataV4, h as defaultFieldMetadata$2, j as defaultFieldConfigV4, k as defaultFieldConfig$2, L as LEGAL_COMPANY_NAME_FIELD } from "./OnboardingDropinComponent-
|
|
39
|
-
import { E as EntityTypeRadioGroupCard } from "./utils-
|
|
27
|
+
import { C as CompanyTypesValues } from "./bafinUtils-DLTAySgX.js";
|
|
28
|
+
import { v as vatAbsenceReasonMetadata, d as defaultFieldMetadata, a as defaultFieldConfig, r as registrationNumberDefaultFieldMetadata, b as registrationNumberDefaultFieldConfig, c as doingBusinessAsFieldMetadata, e as doingBusinessAsAbsentFieldMetadata, D as DBA_NAME_FIELD, f as DBANameField, B as BUSINESS_REGISTRATION_NUMBER_FIELD, g as BusinessRegistrationNumberField, V as VAT_NUMBER_FIELD, h as VatNumberField, M as MemoizedConstitutionalDocument, i as exemptFromRegistrationNumberDefaultFieldMetadata } from "./RegistrationAddress-R2IiB9Ve.js";
|
|
29
|
+
import { c as useAddressCleanse, f as formatAddressForCleanse, m as mapAddressData, o as operationalAddressIsSameIds, A as Address, g as getNestedTrustedFields, S as STATE_FIELD, d as StateField } from "./Address-wVmHTSPw.js";
|
|
30
|
+
import { F as Field, C as Checkbox } from "./useForm-lGwsWpQe.js";
|
|
31
|
+
import { m as mergeFieldMetadataIntoProps, c as createFormUtils, F as FormHeader, E as ErrorPanel, C as CountryField, a as COUNTRY_FIELD, d as summaryStep } from "./CountryField-iSMu28Mk.js";
|
|
32
|
+
import { g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET, a as getAddressSchemaLabelsByCountry } from "./utils-7zBGFwP6.js";
|
|
33
|
+
import { a as datasetUtilities } from "./useDataset-KpIFgCMq.js";
|
|
34
|
+
import { L as LegalFormField } from "./Currency-Go1bmfbD.js";
|
|
35
|
+
import { L as Link } from "./Link-H_NUrrQh.js";
|
|
36
|
+
import { S as SettingNames, I as InputText } from "./InputText-DZhDhSHU.js";
|
|
37
|
+
import { u as useAllowedCountries } from "./mapScriptLocalization-B4D7OxNz.js";
|
|
38
|
+
import { g as defaultFieldMetadataV4, h as defaultFieldMetadata$2, j as defaultFieldConfigV4, k as defaultFieldConfig$2, L as LEGAL_COMPANY_NAME_FIELD } from "./OnboardingDropinComponent-BLs1ytyI.js";
|
|
39
|
+
import { E as EntityTypeRadioGroupCard } from "./utils-BACR-Sq5.js";
|
|
40
40
|
function AdditionalInformationMultiform({
|
|
41
41
|
id,
|
|
42
42
|
country,
|
package/dist/{RootIndividualDetailsPage-BxCD6w1o.js → RootIndividualDetailsPage-B4uGKMez.js}
RENAMED
|
@@ -7,11 +7,11 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper } from "./translation-
|
|
10
|
+
import { a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper } from "./translation-DD0CkeYX.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
|
-
import { c as useLegalEntity, R as ROOT_LE, X as useExperimentsContext, a as useTranslation, L as Loader, g as getLegalEntityCountry, z as isPartOfTrustFromLegalEntity, J as EntityTypes, ag as isOnfidoAutofillFlowEnabled, W as noop, M as TaskTypes } from "./StoreProvider-
|
|
13
|
-
import { b as useCapabilityProblems, a as useAccountHolder, g as getProblemsForEntity } from "./fieldConfigurations-
|
|
14
|
-
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-
|
|
12
|
+
import { c as useLegalEntity, R as ROOT_LE, X as useExperimentsContext, a as useTranslation, L as Loader, g as getLegalEntityCountry, z as isPartOfTrustFromLegalEntity, J as EntityTypes, ag as isOnfidoAutofillFlowEnabled, W as noop, M as TaskTypes } from "./StoreProvider-wlEnMP3i.js";
|
|
13
|
+
import { b as useCapabilityProblems, a as useAccountHolder, g as getProblemsForEntity } from "./fieldConfigurations-D_iawESq.js";
|
|
14
|
+
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-CsmtZoD6.js";
|
|
15
15
|
function RootIndividualDetailsPage({
|
|
16
16
|
asModal = false,
|
|
17
17
|
hideSidebar = false,
|