@adyen/kyc-components 3.95.0-beta.1 → 3.95.0-beta.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-BW0brynM.js → AcceptTermsOfServiceComponent-BlEaBswl.js} +16 -16
- package/dist/{Accordion-BM8hZAXY.js → Accordion-xQ7nYxl-.js} +1 -1
- package/dist/{AccountSetupRejected-BodluXLt.js → AccountSetupRejected-CPavzOgc.js} +3 -3
- package/dist/{ActionBar-UJRkmh5s.js → ActionBar-BCKFGEro.js} +1 -1
- package/dist/{Address-DI_WQl-j.js → Address-CUMHdDDB.js} +10 -10
- package/dist/{Alert-BZOtTqxJ.js → Alert-AsIgy5ys.js} +3 -3
- package/dist/{Avatar-BkSExeAD.js → Avatar-CPSU1jss.js} +1 -1
- package/dist/{BusinessFinancingComponent-XUA40MWu.js → BusinessFinancingComponent-C2PQs3gR.js} +5 -5
- package/dist/{BusinessFinancingDropin-BmdwxjTl.js → BusinessFinancingDropin-DTiURzP3.js} +29 -29
- package/dist/{BusinessFinancingPage-4HciuNgT.js → BusinessFinancingPage-Wadm29GW.js} +4 -4
- package/dist/{BusinessTypeSelectionPage-D6N0Ru4g.js → BusinessTypeSelectionPage-Cc6WG-M5.js} +9 -9
- package/dist/{Checkbox-HJ5QMOjP.js → Checkbox-Cjzq-IgW.js} +1 -1
- package/dist/{Confirm-BtVNOsTV.js → Confirm-BnJOYc76.js} +2 -2
- package/dist/{ConstitutionalDocument-Dhw6t4Ni.js → ConstitutionalDocument-Cuezk4yt.js} +18 -18
- package/dist/{ContactDetails-CbxMguHb.js → ContactDetails-Cp0fGlU3.js} +8 -8
- package/dist/{ContextGuidance-vOFdWDn9.js → ContextGuidance-BxC-gbkP.js} +2 -2
- package/dist/{CountryField-C7bj3yyn.js → CountryField-DIm2rPmp.js} +5 -5
- package/dist/{CreateIndividualComponent-D686ciaV.js → CreateIndividualComponent-Bn0sxDjy.js} +5 -5
- package/dist/{CreateTransferInstrumentComponent-C7B7UCpu.js → CreateTransferInstrumentComponent-Bz5GoylI.js} +4 -4
- package/dist/{Currency-hS0YWWxq.js → Currency-DGkjeLuN.js} +7 -7
- package/dist/{CustomerSupport-8s-w8iKy.js → CustomerSupport-CBKzdmnU.js} +11 -11
- package/dist/{DebugModal-BwrOlWvA.js → DebugModal-B0LNaFHQ.js} +9 -9
- package/dist/{DecisionMakerDetailsPage-BKYVxewR.js → DecisionMakerDetailsPage-B2qQWfwH.js} +6 -6
- package/dist/{DecisionMakers-Om-7b55R.js → DecisionMakers-DsEvjMgy.js} +22 -21
- package/dist/{Dropzone-Dayv7PAA.js → Dropzone-DN5uCyVU.js} +4 -4
- package/dist/{EmbeddedStatus-uhtoE0i5.js → EmbeddedStatus-Dv1_ftCI.js} +3 -3
- package/dist/{EndStateLayout-Bircmn4k.js → EndStateLayout-Be7knc_u.js} +1 -1
- package/dist/{EntityAssociation-CpwvMeU9.js → EntityAssociation-ehFx0Lsk.js} +6 -6
- package/dist/{EntityGuidanceStatus-BGP7anTO.js → EntityGuidanceStatus-DogG6s5I.js} +3 -3
- package/dist/{ErrorPanel-CTnweIrR.js → ErrorPanel-AOXcd1rV.js} +3 -3
- package/dist/{Field-B5icSx65.js → Field-JfW2EFGR.js} +1 -1
- package/dist/{FormNavigation-CwNfQJDE.js → FormNavigation-DDdhTt0b.js} +3 -3
- package/dist/{FormWrapper-B1OeeS_n.js → FormWrapper-Ct9HZWod.js} +9 -9
- package/dist/{Header-Dsxscc11.js → Header--2llFP2l.js} +1 -1
- package/dist/Image-BCApSFnP.js +27 -0
- package/dist/{Individual.rules-SVdbtMZX.js → Individual.rules-CyhqPTcX.js} +9 -10
- package/dist/{IndividualDropin-Cc4CEZFn.js → IndividualDropin-mVN_KUBh.js} +65 -76
- package/dist/{InputDate-BbhqEb0A.js → InputDate-Burmi6Sh.js} +2 -2
- package/dist/{InputText-DsyMVWuS.js → InputText-CDJu-sEq.js} +2 -2
- package/dist/{Introduction-0o7soNWJ.js → Introduction-BwKLGTUv.js} +4 -4
- package/dist/{JpAddress-DR9efscK.js → JpAddress-BSy0UJ3M.js} +9 -9
- package/dist/{LandingLayout-BmfO073v.js → LandingLayout-BwkomD3H.js} +1 -1
- package/dist/{LegalCompanyNameField-DUA1xhu7.js → LegalCompanyNameField-Cgt1TNEB.js} +6 -6
- package/dist/{LegalRepresentativeDetailsPage-Dd7C7gUQ.js → LegalRepresentativeDetailsPage-Cqajm3hR.js} +4 -4
- package/dist/{Link-5z1nhcfe.js → Link-C1ItzqIL.js} +1 -1
- package/dist/{ListItem-BFs1CkoM.js → ListItem-BIog5phF.js} +2 -2
- package/dist/{LoaderWrapper-D7zyni9T.js → LoaderWrapper-CZo0SNKQ.js} +1 -1
- package/dist/{ManageIndividualComponent-DwWloLdY.js → ManageIndividualComponent-BBOXsqnJ.js} +5 -5
- package/dist/{ManageTermsOfServiceComponent-DyyWEEWM.js → ManageTermsOfServiceComponent-COmlFRSF.js} +3 -3
- package/dist/{ManageTransferInstrumentComponent-DT93KOu6.js → ManageTransferInstrumentComponent-BVY-1aD7.js} +13 -13
- package/dist/{MaskedInput-Ble-w1-c.js → MaskedInput-DKifZn9r.js} +5 -5
- package/dist/{MaybeModal-D7DmwNpk.js → MaybeModal-CRIZCDqy.js} +2 -2
- package/dist/{Modal-VzVyfuvm.js → Modal-DVBgbO7M.js} +1 -1
- package/dist/{Name-D_X4kyiG.js → Name-7k-lHFYu.js} +5 -5
- package/dist/{OnboardingDropinComponent-DYT6l2t6.js → OnboardingDropinComponent-BRhZOfli.js} +55 -54
- package/dist/{PayoutDetailsDropin-De5xS7km.js → PayoutDetailsDropin-oy4QPb8_.js} +44 -43
- package/dist/{RadioGroup-CpnraQPG.js → RadioGroup-BKDP8z8a.js} +2 -2
- package/dist/{RadioGroupCard-BDvxdl0T.js → RadioGroupCard-BRaP96s2.js} +2 -2
- package/dist/{Review-BrP7xRy2.js → Review-BuZsPiQ4.js} +7 -7
- package/dist/{RootBusinessDetailsPage-C4io3SHK.js → RootBusinessDetailsPage-YR2zdnnH.js} +4 -4
- package/dist/{RootBusinessLinesPage-CknZuu0f.js → RootBusinessLinesPage-C7flPjmZ.js} +27 -26
- package/dist/{RootIndividualDetailsPage-D2InAZ2K.js → RootIndividualDetailsPage-Bos1Wn3a.js} +4 -4
- package/dist/{Select-B3w5VkGQ.js → Select-CaTtCKfk.js} +4 -4
- package/dist/{SignPCIComponent-B8U7Hilk.js → SignPCIComponent-BQX3rni3.js} +11 -11
- package/dist/{SingpassSelection-BdRZAxtT.js → SingpassSelection-CfZV_Gh8.js} +6 -6
- package/dist/{SoleProprietorshipPage-C64fSOwN.js → SoleProprietorshipPage-CUHHAiF8.js} +4 -4
- package/dist/{SourceOfFundsPage-C855dB1F.js → SourceOfFundsPage-Bco19EV7.js} +33 -32
- package/dist/{StepProgressIndicator-B06vG0EZ.js → StepProgressIndicator-C0V9U0YD.js} +1 -1
- package/dist/{StoreProvider-C-jMv9L5.js → StoreProvider-R8HTTjSj.js} +96 -97
- package/dist/{Summary-HNxR09dk.js → Summary-itpVUbwv.js} +6 -6
- package/dist/{TaskVerificationStatus-BvU5X9F0.js → TaskVerificationStatus-DMo_YL-Q.js} +1 -1
- package/dist/{TaxInformationField-ghLphbCF.js → TaxInformationField-BMegKexk.js} +22 -23
- package/dist/{TaxReportingDropin-8PKUrVeE.js → TaxReportingDropin-BefiGSvu.js} +16 -16
- package/dist/{TextArea-XzZ59IRn.js → TextArea-DoQSgYyO.js} +2 -2
- package/dist/{TileGroup-BsvBLQp4.js → TileGroup-2DhDOa2v.js} +2 -2
- package/dist/{TrustDetailsPage-BZamlxY7.js → TrustDetailsPage-nz98r5ao.js} +34 -34
- package/dist/{TrustMemberCompanyPage-DHdEuAQJ.js → TrustMemberCompanyPage-C1hkerc6.js} +5 -5
- package/dist/{TrustMemberIndividualPage-BLjorgiQ.js → TrustMemberIndividualPage-BP1rh_3-.js} +4 -4
- package/dist/{TrustMemberRoleAndTypePage-O-JmFZ6x.js → TrustMemberRoleAndTypePage-DM_SAeST.js} +22 -22
- package/dist/{TrustMembersOverview-CJEjx7vn.js → TrustMembersOverview-DJq55hwH.js} +12 -12
- package/dist/{UnincorporatedPartnershipIndividualPage-CLm7rltZ.js → UnincorporatedPartnershipIndividualPage-C3cNtO8h.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-DstG5mil.js → UnincorporatedPartnershipMemberCompanyPage-DwWQxBJZ.js} +5 -5
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-CcboW2-W.js → UnincorporatedPartnershipMemberRoleAndTypePage-CD9BjZAV.js} +11 -11
- package/dist/{UnincorporatedPartnershipMembersOverview-C8d8pfxJ.js → UnincorporatedPartnershipMembersOverview-Ddkf3qsV.js} +9 -9
- package/dist/{VerificationErrorAlert-CAncqFAs.js → VerificationErrorAlert-B3lc-lS0.js} +2 -2
- package/dist/{ViewVerificationStatusComponent-BwndGcdj.js → ViewVerificationStatusComponent-ClqvblmK.js} +4 -4
- package/dist/{accountHolderUtils-B437qMYm.js → accountHolderUtils-Bt3WWiKU.js} +2 -2
- package/dist/adyen-business-financing.js +5 -4
- package/dist/adyen-individual-configuration.js +5 -4
- package/dist/adyen-individual-status.js +5 -4
- package/dist/adyen-invited-decision-maker.js +87 -0
- package/dist/adyen-kyc-components.js +20 -20
- package/dist/adyen-onboarding.js +5 -4
- package/dist/adyen-terms-of-service-management.js +5 -4
- package/dist/adyen-terms-of-service-status.js +5 -4
- package/dist/adyen-transfer-instrument-configuration.js +5 -4
- package/dist/adyen-transfer-instrument-management.js +5 -4
- package/dist/adyen-verification-status.js +5 -4
- package/dist/{bafinUtils-DFWYU0eC.js → bafinUtils-BQuOAA7n.js} +1 -1
- package/dist/{commonValidators-DnSqf1bK.js → commonValidators-COQPDrJD.js} +1 -1
- package/dist/{dropinUtils-CVk-9IZr.js → dropinUtils-DaVcEvR9.js} +4 -4
- package/dist/{formUtils-KRYFb23Q.js → formUtils-BXVrjV16.js} +3 -3
- package/dist/{getName-c86ZSHdY.js → getName-BSp8sqBk.js} +2 -2
- package/dist/{Image-DSSLH2Gg.js → getProblemsForEntity-D3Mk1tAO.js} +2 -17
- package/dist/{iframeWidget-COB6S0Zd.js → iframeWidget-D9fIYT_A.js} +4 -4
- package/dist/{isEmpty-DG6Y1P62.js → isEmpty-YP88OF9k.js} +2 -2
- package/dist/japanSupportUtils-BVEiDev9.js +16 -0
- package/dist/{localizeDateString-CW0xkVFv.js → localizeDateString-D4QbYS20.js} +1 -1
- package/dist/{mapExistingFile-BRTT2WyL.js → mapExistingFile-DrV6ETrQ.js} +4 -4
- package/dist/{mapJpAddressSchemaToAddressLocalizations-CwG96wSK.js → mapJpAddressSchemaToAddressLocalizations-h3wfuHZF.js} +5 -5
- package/dist/{mapLegalEntityToIndividualSchema-Cu08lm2S.js → mapLegalEntityToIndividualSchema-xKiA35iB.js} +4 -4
- package/dist/{mapTransferInstrumentToPayoutAccount-BVOwByXx.js → mapTransferInstrumentToPayoutAccount-BGH81_rp.js} +2 -2
- package/dist/{patternValidators-DAtPy1-5.js → patternValidators-D1I-TyxX.js} +2 -2
- package/dist/{process-field-configurations-2ry-JbdI.js → process-field-configurations-CauvcVgJ.js} +3 -3
- package/dist/resolveEnvironment-BGOF8ZN0.js +84 -0
- package/dist/{roleMetadata-D9T__4VE.js → roleMetadata-IJmMKj7H.js} +2 -2
- package/dist/types/components/Business/forms/rules.d.ts +1 -1
- package/dist/types/components/EmbeddedDropins/InvitedDecisionMakerComponent/InvitedDecisionMakerComponent.d.ts +4 -0
- package/dist/types/components/Individual/forms/BasicDetails/validate.d.ts +1 -2
- package/dist/types/components/Individual/forms/Individual.rules.d.ts +1 -1
- package/dist/types/components/Shared/fields/LocalizedNameFields/validate.d.ts +2 -1
- package/dist/types/context/ExperimentContext/types.d.ts +2 -2
- package/dist/types/embeds/invited-decision-maker/adyen-invited-decision-maker.d.ts +5 -0
- package/dist/types/embeds/invited-decision-maker/adyen-invited-decision-maker.types.d.ts +34 -0
- package/dist/types/types/form-rules.d.ts +0 -1
- package/dist/types/utils/japanSupportUtils.d.ts +2 -1
- package/dist/{types-C8yt1YG2.js → types-B7GElie6.js} +3 -3
- package/dist/{types-BstoJPXR.js → types-C71UTKFj.js} +2 -2
- package/dist/{types-FtiqI-S9.js → types-CbmL-OPw.js} +1 -1
- package/dist/{types-DHdmZe3R.js → types-L5qYiAza.js} +1 -1
- package/dist/{useAssociatedLegalEntity-BVu7zj1c.js → useAssociatedLegalEntity-C-xiImww.js} +1 -1
- package/dist/{useBusinessDetailsData-B9I865mu.js → useBusinessDetailsData-ClDMNd4T.js} +63 -68
- package/dist/{useBusinessLines-Coc7iGhS.js → useBusinessLines-DYARfG9m.js} +1 -1
- package/dist/{useCanSeeIntroduction-DG9Yn42f.js → useCanSeeIntroduction-BiE8u_KK.js} +2 -2
- package/dist/{useCreateLegalEntity-D1LQY6P5.js → useCreateLegalEntity-DR7rwVaq.js} +1 -1
- package/dist/{useDataMissingRemediations-CDMb2Iu7.js → useDataMissingRemediations-DReynHoU.js} +2 -2
- package/dist/{useDataset-BiERW7fi.js → useDataset-C5FlqHce.js} +2 -2
- package/dist/{useDeleteTransferInstrument-YSr-Fo6s.js → useDeleteTransferInstrument-B-Oi9ZLT.js} +3 -3
- package/dist/{useForm-ZeyqDFOi.js → useForm-BsasYish.js} +3 -3
- package/dist/{useFormContext-CcAa10tn.js → useFormContext-DpaS6tOQ.js} +7 -7
- package/dist/{useGlobalData-MctSxOcn.js → useGlobalData-CX1o5IxG.js} +2 -2
- package/dist/{useMultiForm-BhV8RCm4.js → useMultiForm-DEqGcJ6u.js} +4 -4
- package/dist/{useNavigate-CyixZ7Bd.js → useNavigate-Cj2nZ22H.js} +29 -29
- package/dist/{useOnboardingStatus-YzbGKkC5.js → useOnboardingStatus-Dris0Ncf.js} +1 -1
- package/dist/{usePciQuestionnaireList-CLwiJDxW.js → usePciQuestionnaireList-BBySNcwm.js} +1 -1
- package/dist/{useSalesChannels-C3oiiB07.js → useSalesChannels-BOd-o11d.js} +3 -3
- package/dist/{useScenarios-CGNlbMLu.js → useScenarios-HMGtblyu.js} +2 -2
- package/dist/{useSetting-BF2CM06n.js → useSetting-BYr76RvU.js} +2 -2
- package/dist/{useTaskStatus-DgRzelGp.js → useTaskStatus-BbVw9GeJ.js} +1 -1
- package/dist/{useTermsOfServiceStatus-IjRaxZu3.js → useTermsOfServiceStatus-ksgZfSQU.js} +1 -1
- package/dist/{useToastContext-C0ytklOM.js → useToastContext-BVrrLs7J.js} +1 -1
- package/dist/{useTrustMembers-MZLGyg68.js → useTrustMembers-1tH9uxR9.js} +4 -4
- package/dist/{useUnincorporatedPartnershipMembers-CtzCBX3o.js → useUnincorporatedPartnershipMembers-gG8G3tCc.js} +4 -4
- package/dist/{useUpdateBusinessLines-Do9Ap-zs.js → useUpdateBusinessLines-CMUHoLaq.js} +4 -4
- package/dist/{useUpdateLegalEntity-CrL2KyrF.js → useUpdateLegalEntity-B6ROWewZ.js} +2 -2
- package/dist/{utils-C8SToqFp.js → utils-BOHUVuDG.js} +3 -3
- package/dist/{utils-Bbxtjil1.js → utils-BgPvD8_F.js} +5 -5
- package/dist/{utils-DDh9Wc69.js → utils-DSoDxwnp.js} +2 -2
- package/dist/{utils-BtRcjM8l.js → utils-LHyfmjEK.js} +1 -1
- package/dist/{utils-D6lKjllx.js → utils-kWwTKQ5D.js} +2 -2
- package/dist/{validate-CXFzJNVc.js → validate-5WfBgXVu.js} +1 -1
- package/dist/{validate-B7VfZzB0.js → validate-xqnF9QqW.js} +3 -3
- package/dist/{validationError-Bhb_p0Dm.js → validationError-DQ-2UuzB.js} +2 -2
- package/package.json +6 -2
- package/dist/japanSupportUtils-Dl5g_UWE.js +0 -17
- package/dist/resolveEnvironment-CWyr9MeQ.js +0 -164
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e2 = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n2 = new e2.Error().stack;
|
|
5
|
-
n2 && (e2._sentryDebugIds = e2._sentryDebugIds || {}, e2._sentryDebugIds[n2] = "
|
|
5
|
+
n2 && (e2._sentryDebugIds = e2._sentryDebugIds || {}, e2._sentryDebugIds[n2] = "3c6dbd85-116c-4f16-b603-799e2b796a28", e2._sentryDebugIdIdentifier = "sentry-dbid-3c6dbd85-116c-4f16-b603-799e2b796a28");
|
|
6
6
|
} catch (e2) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
@@ -3153,20 +3153,6 @@ const TRUST_DEFAULT_DESCRIPTIONS_MAP = {
|
|
|
3153
3153
|
[TrustMemberGuidanceLabels.TRUSTEE]: "provideAllTrustees",
|
|
3154
3154
|
[TrustMemberGuidanceLabels.SETTLOR]: "provideAtLeastOneSettlor"
|
|
3155
3155
|
};
|
|
3156
|
-
const getVersionConfiguration = async (legalEntityId, baseUrl) => {
|
|
3157
|
-
return httpGet({
|
|
3158
|
-
baseUrl,
|
|
3159
|
-
path: `legalEntities/${legalEntityId}/configurations/version`
|
|
3160
|
-
});
|
|
3161
|
-
};
|
|
3162
|
-
const useVersionConfiguration = (options) => {
|
|
3163
|
-
const { rootLegalEntityId, baseUrl } = useApiContext();
|
|
3164
|
-
return useQuery({
|
|
3165
|
-
queryKey: ["versionConfiguration"],
|
|
3166
|
-
queryFn: () => getVersionConfiguration(rootLegalEntityId.value, baseUrl.value),
|
|
3167
|
-
...options
|
|
3168
|
-
});
|
|
3169
|
-
};
|
|
3170
3156
|
const IgnoreLocalStorageContext = createContext(false);
|
|
3171
3157
|
const useIgnoreLocalStorage = () => useContext(IgnoreLocalStorageContext);
|
|
3172
3158
|
const logger$3 = createLogger();
|
|
@@ -3891,6 +3877,20 @@ i18n.use(initReactI18next).init({
|
|
|
3891
3877
|
suffix: "}"
|
|
3892
3878
|
}
|
|
3893
3879
|
});
|
|
3880
|
+
const getVersionConfiguration = async (legalEntityId, baseUrl) => {
|
|
3881
|
+
return httpGet({
|
|
3882
|
+
baseUrl,
|
|
3883
|
+
path: `legalEntities/${legalEntityId}/configurations/version`
|
|
3884
|
+
});
|
|
3885
|
+
};
|
|
3886
|
+
const useVersionConfiguration = (options) => {
|
|
3887
|
+
const { rootLegalEntityId, baseUrl } = useApiContext();
|
|
3888
|
+
return useQuery({
|
|
3889
|
+
queryKey: ["versionConfiguration"],
|
|
3890
|
+
queryFn: () => getVersionConfiguration(rootLegalEntityId.value, baseUrl.value),
|
|
3891
|
+
...options
|
|
3892
|
+
});
|
|
3893
|
+
};
|
|
3894
3894
|
const getAnalyticsSession = async (baseUrl, data) => {
|
|
3895
3895
|
return httpPost(
|
|
3896
3896
|
{
|
|
@@ -4094,7 +4094,7 @@ const getAnalyticsAssociatedEntityDetails = (rootLegalEntity, accountHolderType)
|
|
|
4094
4094
|
};
|
|
4095
4095
|
};
|
|
4096
4096
|
const useAnalytics = ({ userEvents, sessionId, sessionData }) => {
|
|
4097
|
-
const sdkVersion = "3.95.0-beta.
|
|
4097
|
+
const sdkVersion = "3.95.0-beta.2";
|
|
4098
4098
|
const { data: rootLegalEntity } = useLegalEntity(ROOT_LE);
|
|
4099
4099
|
const { mutateAsync } = usePushAnalyticEvent(sessionId ?? "");
|
|
4100
4100
|
const { accountHolder } = useAccountHolder();
|
|
@@ -4185,7 +4185,7 @@ const AnalyticsProvider = ({
|
|
|
4185
4185
|
const capabilities = rootLegalEntity?.capabilities && Object.keys(rootLegalEntity.capabilities);
|
|
4186
4186
|
const shouldTrackPrefilledDetails = capabilities?.includes("receivePayments") && onboardingVersion && onboardingVersion > 1;
|
|
4187
4187
|
const sessionData = {
|
|
4188
|
-
sdkVersion: "3.95.0-beta.
|
|
4188
|
+
sdkVersion: "3.95.0-beta.2",
|
|
4189
4189
|
componentName,
|
|
4190
4190
|
userAgent: navigator.userAgent,
|
|
4191
4191
|
legalEntityId: rootLegalEntityId,
|
|
@@ -4308,7 +4308,7 @@ const I18nProvider = ({ locale: propLocale, eventEmitter, children }) => {
|
|
|
4308
4308
|
const { i18n: i18next } = useTranslation("common");
|
|
4309
4309
|
const [locale, setLocale] = useState$1(propLocale);
|
|
4310
4310
|
const [prevPropLocale, setPrevPropLocale] = useState$1(propLocale);
|
|
4311
|
-
if (isExperimentEnabled("
|
|
4311
|
+
if (isExperimentEnabled("EnableJapanLocalization")) {
|
|
4312
4312
|
allowedLocales.push("ja-JP");
|
|
4313
4313
|
}
|
|
4314
4314
|
const { translations, locale: loadedLocale } = useTranslations({ locale, allowedLocales });
|
|
@@ -4325,7 +4325,7 @@ const I18nProvider = ({ locale: propLocale, eventEmitter, children }) => {
|
|
|
4325
4325
|
}, [locale, userEvents]);
|
|
4326
4326
|
useEffect$1(() => {
|
|
4327
4327
|
(async () => {
|
|
4328
|
-
if (locale === "ja-JP" && !isExperimentEnabled("
|
|
4328
|
+
if (locale === "ja-JP" && !isExperimentEnabled("EnableJapanLocalization")) return;
|
|
4329
4329
|
i18next.changeLanguage(locale);
|
|
4330
4330
|
})();
|
|
4331
4331
|
}, [locale, i18next, isExperimentEnabled]);
|
|
@@ -4600,7 +4600,7 @@ function StateProvider({
|
|
|
4600
4600
|
);
|
|
4601
4601
|
return /* @__PURE__ */ jsx(StateContext.Provider, { value: contextValue, children });
|
|
4602
4602
|
}
|
|
4603
|
-
const DebugModal = lazy(async () => (await import("./DebugModal-
|
|
4603
|
+
const DebugModal = lazy(async () => (await import("./DebugModal-B0LNaFHQ.js")).DebugModal);
|
|
4604
4604
|
const DebugListener = () => {
|
|
4605
4605
|
const [debugUiOpen, setDebugUiOpen] = useState$1(false);
|
|
4606
4606
|
const { isSettingEnabled } = useSettingsContext();
|
|
@@ -4658,7 +4658,7 @@ export {
|
|
|
4658
4658
|
useLocalStorage as Z,
|
|
4659
4659
|
__variableDynamicImportRuntimeHelper as _,
|
|
4660
4660
|
addResourceBundles as a,
|
|
4661
|
-
|
|
4661
|
+
isValidMinLength as a$,
|
|
4662
4662
|
CountryCodes as a0,
|
|
4663
4663
|
Skeleton as a1,
|
|
4664
4664
|
translateStringOrObject as a2,
|
|
@@ -4669,38 +4669,38 @@ export {
|
|
|
4669
4669
|
noop as a7,
|
|
4670
4670
|
EntityTypes as a8,
|
|
4671
4671
|
getCapabilityProblems as a9,
|
|
4672
|
-
|
|
4673
|
-
|
|
4674
|
-
|
|
4675
|
-
|
|
4676
|
-
|
|
4677
|
-
|
|
4678
|
-
|
|
4679
|
-
|
|
4680
|
-
|
|
4681
|
-
|
|
4682
|
-
|
|
4683
|
-
|
|
4684
|
-
|
|
4685
|
-
|
|
4686
|
-
|
|
4687
|
-
|
|
4688
|
-
|
|
4689
|
-
|
|
4690
|
-
|
|
4691
|
-
|
|
4692
|
-
|
|
4693
|
-
|
|
4694
|
-
|
|
4695
|
-
|
|
4696
|
-
|
|
4697
|
-
|
|
4698
|
-
|
|
4699
|
-
|
|
4700
|
-
|
|
4701
|
-
|
|
4702
|
-
|
|
4703
|
-
|
|
4672
|
+
isLegalRepresentativeNeeded as aA,
|
|
4673
|
+
Trans as aB,
|
|
4674
|
+
keysOf as aC,
|
|
4675
|
+
listToRecord as aD,
|
|
4676
|
+
pick as aE,
|
|
4677
|
+
individualOnfidoApiKeyMapping as aF,
|
|
4678
|
+
drop as aG,
|
|
4679
|
+
getAllowedDecisionMakerRoles as aH,
|
|
4680
|
+
filterOutUnwantedAssociationsIfRootLE as aI,
|
|
4681
|
+
individualOnfidoDocumentMapping as aJ,
|
|
4682
|
+
individualOnfidoObscuredFields as aK,
|
|
4683
|
+
hasNomineesChanged as aL,
|
|
4684
|
+
attachNomineeToRole as aM,
|
|
4685
|
+
doArraysMatch as aN,
|
|
4686
|
+
getSdkToken as aO,
|
|
4687
|
+
hasOwnEntityAssociationOfType as aP,
|
|
4688
|
+
EEA_Countries as aQ,
|
|
4689
|
+
isAccountIdentifierObscured as aR,
|
|
4690
|
+
hasEmptyFields as aS,
|
|
4691
|
+
extractFieldName as aT,
|
|
4692
|
+
concatenateFieldNames as aU,
|
|
4693
|
+
remediationPayoutApiKeyMapping as aV,
|
|
4694
|
+
remediationBusinessDetailsApiKeyMapping as aW,
|
|
4695
|
+
remediationIndividualOnfidoApiKeyMapping as aX,
|
|
4696
|
+
getFormattingRegEx as aY,
|
|
4697
|
+
SPECIAL_CHARS as aZ,
|
|
4698
|
+
trimValWithOneSpace as a_,
|
|
4699
|
+
useI18nContext as aa,
|
|
4700
|
+
cloneObject as ab,
|
|
4701
|
+
entriesOf as ac,
|
|
4702
|
+
httpDelete as ad,
|
|
4703
|
+
getOwnEntityAssociations as ae,
|
|
4704
4704
|
ToastContext as af,
|
|
4705
4705
|
refreshSession as ag,
|
|
4706
4706
|
getLanguageCode as ah,
|
|
@@ -4721,51 +4721,50 @@ export {
|
|
|
4721
4721
|
standardKanjiValidator as aw,
|
|
4722
4722
|
DecisionMakerTypes as ax,
|
|
4723
4723
|
Scenarios as ay,
|
|
4724
|
-
|
|
4724
|
+
getAgeRangeForLegalRepresentative as az,
|
|
4725
4725
|
useApiContext as b,
|
|
4726
|
-
|
|
4727
|
-
|
|
4728
|
-
|
|
4729
|
-
|
|
4730
|
-
|
|
4731
|
-
|
|
4732
|
-
|
|
4733
|
-
|
|
4734
|
-
|
|
4735
|
-
|
|
4736
|
-
|
|
4737
|
-
|
|
4738
|
-
|
|
4739
|
-
|
|
4740
|
-
|
|
4741
|
-
|
|
4742
|
-
|
|
4743
|
-
|
|
4744
|
-
|
|
4745
|
-
|
|
4746
|
-
|
|
4747
|
-
|
|
4748
|
-
|
|
4749
|
-
|
|
4750
|
-
|
|
4751
|
-
|
|
4752
|
-
|
|
4753
|
-
|
|
4754
|
-
|
|
4755
|
-
|
|
4756
|
-
|
|
4757
|
-
|
|
4758
|
-
|
|
4759
|
-
|
|
4760
|
-
|
|
4761
|
-
|
|
4762
|
-
|
|
4763
|
-
|
|
4764
|
-
|
|
4765
|
-
|
|
4766
|
-
|
|
4767
|
-
|
|
4768
|
-
businessDetailsDocumentMapping as bz,
|
|
4726
|
+
chomeAndBanchiValidator as b0,
|
|
4727
|
+
ADDRESS_VALID_CHAR_REGEX as b1,
|
|
4728
|
+
getMaxLengthByFieldAndCountry as b2,
|
|
4729
|
+
businessDetailsApiKeyMapping as b3,
|
|
4730
|
+
remediationHasFileUploadField as b4,
|
|
4731
|
+
dataMissingRemediationsToFieldsMap as b5,
|
|
4732
|
+
getNomineeFromAssociation as b6,
|
|
4733
|
+
individualOnfidoBaseMapping as b7,
|
|
4734
|
+
StateContext as b8,
|
|
4735
|
+
getNestedPropertyKeys as b9,
|
|
4736
|
+
getCountrySpecificTrustTypeOptions as bA,
|
|
4737
|
+
trustComponentsKeyMapping as bB,
|
|
4738
|
+
trustApiKeyMapping as bC,
|
|
4739
|
+
trustDocumentMapping as bD,
|
|
4740
|
+
useLegalEntities as bE,
|
|
4741
|
+
enUS as bF,
|
|
4742
|
+
isString as ba,
|
|
4743
|
+
getAvailableDecisionMakerRoleTypes as bb,
|
|
4744
|
+
allowedCountriesForNominee as bc,
|
|
4745
|
+
isLowRiskCountry as bd,
|
|
4746
|
+
crossBorderMapping as be,
|
|
4747
|
+
payoutComponentKeyMapping as bf,
|
|
4748
|
+
isEmptyEntity as bg,
|
|
4749
|
+
SettingsContext as bh,
|
|
4750
|
+
Svg as bi,
|
|
4751
|
+
OTHER_ENTITIES_VALID_CHAR_REGEX as bj,
|
|
4752
|
+
LATIN_SPACE_MARK_PUNCTUATION_NUMBERS_REGEX as bk,
|
|
4753
|
+
DATA_MISSING_DECISION_MAKER_ERROR_CODE_MAPPING as bl,
|
|
4754
|
+
TrustMemberTypes as bm,
|
|
4755
|
+
TrustMemberGuidanceLabels as bn,
|
|
4756
|
+
splitTaskIdentifier as bo,
|
|
4757
|
+
valuesOf as bp,
|
|
4758
|
+
getCapabilities as bq,
|
|
4759
|
+
getDecisionMakerDescriptionMap as br,
|
|
4760
|
+
TRUST_DEFAULT_DESCRIPTIONS_MAP as bs,
|
|
4761
|
+
isISIN as bt,
|
|
4762
|
+
businessDetailsComponentsKeyMapping as bu,
|
|
4763
|
+
solePropBusinessDetailsKeyMapping as bv,
|
|
4764
|
+
solePropBusinessDetailsApiKeyMapping as bw,
|
|
4765
|
+
solePropBusinessDetailsDocumentMapping as bx,
|
|
4766
|
+
businessDetailsDocumentMapping as by,
|
|
4767
|
+
DEFAULT_TRUST_MEMBER_REQUIREMENTS as bz,
|
|
4769
4768
|
useLegalEntity as c,
|
|
4770
4769
|
StoreProvider as d,
|
|
4771
4770
|
AnalyticsProvider as e,
|
|
@@ -2,21 +2,21 @@
|
|
|
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] = "093ef3d5-24ea-4f83-b9cc-8b5f9738c54d", e._sentryDebugIdIdentifier = "sentry-dbid-093ef3d5-24ea-4f83-b9cc-8b5f9738c54d");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { p as useAnalyticsContext,
|
|
12
|
-
import { H as Header } from "./Header
|
|
11
|
+
import { p as useAnalyticsContext, aa as useI18nContext, u as useTranslation, ai as isEmpty, t as IconButton, a2 as translateStringOrObject, bi as Svg } from "./StoreProvider-R8HTTjSj.js";
|
|
12
|
+
import { H as Header } from "./Header--2llFP2l.js";
|
|
13
13
|
import { L as List } from "./List-BAzyC6sw.js";
|
|
14
14
|
import { S as StructuredList } from "./StructuredList-BNLhk_zV.js";
|
|
15
15
|
import { useEffect } from "preact/hooks";
|
|
16
|
-
import { E as ErrorPanel } from "./ErrorPanel-
|
|
16
|
+
import { E as ErrorPanel } from "./ErrorPanel-AOXcd1rV.js";
|
|
17
17
|
import { t as trackNavigation } from "./trackNavigation-db_h46BT.js";
|
|
18
|
-
import { c as createFormUtils } from "./formUtils-
|
|
19
|
-
import { g as getRoleName } from "./roleMetadata-
|
|
18
|
+
import { c as createFormUtils } from "./formUtils-BXVrjV16.js";
|
|
19
|
+
import { g as getRoleName } from "./roleMetadata-IJmMKj7H.js";
|
|
20
20
|
import { i as isSummaryItem } from "./summaryItem-CAQCQSkt.js";
|
|
21
21
|
const usePageLandedEvent = () => {
|
|
22
22
|
const userEvents = useAnalyticsContext();
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import { r as Icon, u as useTranslation, q as TaskStatuses } from "./StoreProvider-
|
|
12
|
+
import { r as Icon, u as useTranslation, q as TaskStatuses } from "./StoreProvider-R8HTTjSj.js";
|
|
13
13
|
const SettingNames = {
|
|
14
14
|
AcceptedCountries: "acceptedCountries",
|
|
15
15
|
AllowBankAccountFormatSelection: "allowBankAccountFormatSelection",
|
|
@@ -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] = "22537e15-25dd-4519-9e13-216492a49456", e._sentryDebugIdIdentifier = "sentry-dbid-22537e15-25dd-4519-9e13-216492a49456");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import {
|
|
10
|
+
import { b9 as getNestedPropertyKeys, a0 as CountryCodes, o as LegalEntityTypes, a6 as objectsDeepEqual, u as useTranslation, c as useLegalEntity, R as ROOT_LE, j as TaskTypes, aC as keysOf, v as useExperimentsContext, m as useAccountHolder } from "./StoreProvider-R8HTTjSj.js";
|
|
11
11
|
import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
|
|
12
12
|
import { memo } from "preact/compat";
|
|
13
13
|
import { useState, useRef, useEffect, useCallback, useMemo } from "preact/hooks";
|
|
14
|
-
import { F as Field } from "./Field-
|
|
15
|
-
import { H as Header } from "./Header
|
|
16
|
-
import { S as Select } from "./Select-
|
|
17
|
-
import { T as TextArea } from "./TextArea-
|
|
18
|
-
import { S as StateContextSetter } from "./validate-
|
|
19
|
-
import { u as useForm } from "./useForm-
|
|
20
|
-
import { u as uppercase, D as DocumentGuidance } from "./mapExistingFile-
|
|
21
|
-
import { D as Dropzone } from "./Dropzone-
|
|
22
|
-
import { E as ErrorPanel } from "./ErrorPanel-
|
|
23
|
-
import { c as createFormUtils } from "./formUtils-
|
|
24
|
-
import { C as Checkbox } from "./Checkbox-
|
|
14
|
+
import { F as Field } from "./Field-JfW2EFGR.js";
|
|
15
|
+
import { H as Header } from "./Header--2llFP2l.js";
|
|
16
|
+
import { S as Select } from "./Select-CaTtCKfk.js";
|
|
17
|
+
import { T as TextArea } from "./TextArea-DoQSgYyO.js";
|
|
18
|
+
import { S as StateContextSetter } from "./validate-xqnF9QqW.js";
|
|
19
|
+
import { u as useForm } from "./useForm-BsasYish.js";
|
|
20
|
+
import { u as uppercase, D as DocumentGuidance } from "./mapExistingFile-DrV6ETrQ.js";
|
|
21
|
+
import { D as Dropzone } from "./Dropzone-DN5uCyVU.js";
|
|
22
|
+
import { E as ErrorPanel } from "./ErrorPanel-AOXcd1rV.js";
|
|
23
|
+
import { c as createFormUtils } from "./formUtils-BXVrjV16.js";
|
|
24
|
+
import { C as Checkbox } from "./Checkbox-Cjzq-IgW.js";
|
|
25
25
|
import { C as CompanyTypesValues } from "./company-types-value-D_mKv5PT.js";
|
|
26
|
-
import { m as makeMask, n as numericInputs, a as nonInputs, d as alphanumericInputs, c as customInputs, b as alphaInputs, s as spacer, M as MaskedInput } from "./MaskedInput-
|
|
27
|
-
import { S as SettingNames } from "./TaskVerificationStatus-
|
|
28
|
-
import { C as COUNTRIES_WITH_STATES_DATASET } from "./utils-
|
|
26
|
+
import { m as makeMask, n as numericInputs, a as nonInputs, d as alphanumericInputs, c as customInputs, b as alphaInputs, s as spacer, M as MaskedInput } from "./MaskedInput-DKifZn9r.js";
|
|
27
|
+
import { S as SettingNames } from "./TaskVerificationStatus-DMo_YL-Q.js";
|
|
28
|
+
import { C as COUNTRIES_WITH_STATES_DATASET } from "./utils-DSoDxwnp.js";
|
|
29
29
|
import { c as createFormRules } from "./form-rules-DhbF2mY4.js";
|
|
30
|
-
import { i as
|
|
31
|
-
import { i as isDateOlderThanAYear } from "./Address-
|
|
32
|
-
import { v as validatePatternOnBlur, a as validateNotEmptyOnBlur } from "./patternValidators-
|
|
33
|
-
import { R as RadioGroup } from "./RadioGroup-
|
|
30
|
+
import { i as isJapanLocalizationEnabled } from "./japanSupportUtils-BVEiDev9.js";
|
|
31
|
+
import { i as isDateOlderThanAYear } from "./Address-CUMHdDDB.js";
|
|
32
|
+
import { v as validatePatternOnBlur, a as validateNotEmptyOnBlur } from "./patternValidators-D1I-TyxX.js";
|
|
33
|
+
import { R as RadioGroup } from "./RadioGroup-BKDP8z8a.js";
|
|
34
34
|
const getFieldsWithExistingData = (legalEntity, keyMapping, documentMapping, knownProblematicFields = []) => {
|
|
35
35
|
const apiFieldsWithExistingData = getNestedPropertyKeys(legalEntity);
|
|
36
36
|
const nonDocumentFields = apiFieldsWithExistingData.map((field) => keyMapping[field]).filter(Boolean).filter((field) => !knownProblematicFields.includes(field));
|
|
@@ -2850,8 +2850,7 @@ const rules = ({
|
|
|
2850
2850
|
isSettingEnabled = () => false,
|
|
2851
2851
|
accountHolder,
|
|
2852
2852
|
rootLegalEntity,
|
|
2853
|
-
tinMatched
|
|
2854
|
-
version
|
|
2853
|
+
tinMatched
|
|
2855
2854
|
}) => {
|
|
2856
2855
|
const countryRequiresDateOfIncorporationForCompanies = () => {
|
|
2857
2856
|
if (COUNTRIES_THAT_REQUIRE_DATE_OF_INCORPORATION.includes(country)) {
|
|
@@ -3077,7 +3076,7 @@ const rules = ({
|
|
|
3077
3076
|
}
|
|
3078
3077
|
},
|
|
3079
3078
|
japaneseLegalCompanyName: () => {
|
|
3080
|
-
if (
|
|
3079
|
+
if (isJapanLocalizationEnabled(isExperimentEnabled, country)) {
|
|
3081
3080
|
return "REQUIRED";
|
|
3082
3081
|
}
|
|
3083
3082
|
}
|
|
@@ -2,34 +2,34 @@
|
|
|
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] = "ba3aff3b-6e00-43dd-aaa1-cd5274752112", e._sentryDebugIdIdentifier = "sentry-dbid-ba3aff3b-6e00-43dd-aaa1-cd5274752112");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, k as httpGet, z as Typography, u as useTranslation,
|
|
10
|
+
import { b as useApiContext, k as httpGet, z as Typography, u as useTranslation, aB as Trans, r as Icon, V as Button, t as IconButton, H as TASK_STATUS_POLLING_INTERVAL_MS, ai as isEmpty$1, a as addResourceBundles, p as useAnalyticsContext, c as useLegalEntity, L as Loader, R as ROOT_LE, a3 as createLogger, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-R8HTTjSj.js";
|
|
11
11
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
12
12
|
import { useState, useRef, useEffect, useMemo, useCallback } from "preact/hooks";
|
|
13
|
-
import { a as useInvalidateRootLegalEntity } from "./useToastContext-
|
|
14
|
-
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
13
|
+
import { a as useInvalidateRootLegalEntity } from "./useToastContext-BVrrLs7J.js";
|
|
14
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-B6ROWewZ.js";
|
|
15
15
|
import { useQuery } from "@tanstack/preact-query";
|
|
16
|
-
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-
|
|
17
|
-
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-
|
|
18
|
-
import { u as useMultiForm } from "./useMultiForm-
|
|
16
|
+
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-DpaS6tOQ.js";
|
|
17
|
+
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-DaVcEvR9.js";
|
|
18
|
+
import { u as useMultiForm } from "./useMultiForm-DEqGcJ6u.js";
|
|
19
19
|
import { signal } from "@preact/signals";
|
|
20
20
|
import { a as getFormProps } from "./getProps-O8Fpl_k_.js";
|
|
21
|
-
import { F as Field } from "./Field-
|
|
22
|
-
import { H as Header } from "./Header
|
|
23
|
-
import { L as Link } from "./Link-
|
|
24
|
-
import { R as RadioGroup } from "./RadioGroup-
|
|
25
|
-
import { a as Alert } from "./Alert-
|
|
21
|
+
import { F as Field } from "./Field-JfW2EFGR.js";
|
|
22
|
+
import { H as Header } from "./Header--2llFP2l.js";
|
|
23
|
+
import { L as Link } from "./Link-C1ItzqIL.js";
|
|
24
|
+
import { R as RadioGroup } from "./RadioGroup-BKDP8z8a.js";
|
|
25
|
+
import { a as Alert } from "./Alert-AsIgy5ys.js";
|
|
26
26
|
import { lazy } from "preact/compat";
|
|
27
|
-
import { u as useTaskStatus } from "./useTaskStatus-
|
|
27
|
+
import { u as useTaskStatus } from "./useTaskStatus-BbVw9GeJ.js";
|
|
28
28
|
import { C as Card } from "./Card-OQuFzmxm.js";
|
|
29
|
-
import { I as Image } from "./Image-
|
|
29
|
+
import { I as Image } from "./Image-BCApSFnP.js";
|
|
30
30
|
import { S as StructuredList } from "./StructuredList-BNLhk_zV.js";
|
|
31
|
-
import { L as LandingLayout } from "./LandingLayout-
|
|
32
|
-
import { i as isEmpty } from "./isEmpty-
|
|
31
|
+
import { L as LandingLayout } from "./LandingLayout-BwkomD3H.js";
|
|
32
|
+
import { i as isEmpty } from "./isEmpty-YP88OF9k.js";
|
|
33
33
|
const getTaxClassification = async (legalEntityId, baseUrl) => {
|
|
34
34
|
return httpGet({
|
|
35
35
|
baseUrl,
|
|
@@ -2,7 +2,7 @@
|
|
|
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] = "dd4709d6-be02-430b-825b-43ba663a27aa", e._sentryDebugIdIdentifier = "sentry-dbid-dd4709d6-be02-430b-825b-43ba663a27aa");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
12
|
import { useState } from "preact/hooks";
|
|
13
|
-
import { a3 as createLogger, u as useTranslation, p as useAnalyticsContext } from "./StoreProvider-
|
|
13
|
+
import { a3 as createLogger, u as useTranslation, p as useAnalyticsContext } from "./StoreProvider-R8HTTjSj.js";
|
|
14
14
|
import { d as debouncedInputEvent } from "./debouncedInputEvent-Cv2S512Y.js";
|
|
15
15
|
const convertFullToHalf = (str) => str.replace(/[!-~]/g, (r) => String.fromCharCode(r.charCodeAt(0) - 65248));
|
|
16
16
|
const logger = createLogger();
|
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import { r as Icon, z as Typography, p as useAnalyticsContext, a7 as noop } from "./StoreProvider-
|
|
12
|
+
import { r as Icon, z as Typography, p as useAnalyticsContext, a7 as noop } from "./StoreProvider-R8HTTjSj.js";
|
|
13
13
|
import { a as useId } from "./useId-BZ0PA7jP.js";
|
|
14
14
|
import { useRef } from "preact/hooks";
|
|
15
|
-
import { K as KEYBOARD_KEYS } from "./Modal-
|
|
15
|
+
import { K as KEYBOARD_KEYS } from "./Modal-DVBgbO7M.js";
|
|
16
16
|
const tileContainer = "adyen-kyc-tile-container";
|
|
17
17
|
const tile = "adyen-kyc-tile";
|
|
18
18
|
const tileIcon = "adyen-kyc-tile-icon";
|
|
@@ -2,57 +2,57 @@
|
|
|
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] = "2355cffe-fec9-4955-bbb7-71940de81fde", e._sentryDebugIdIdentifier = "sentry-dbid-2355cffe-fec9-4955-bbb7-71940de81fde");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import {
|
|
10
|
+
import { ac as entriesOf, a6 as objectsDeepEqual, ak as reverseMapping, o as LegalEntityTypes, j as TaskTypes, a0 as CountryCodes, au as hasText, am as matchesRegex, an as NO_ALPHABET_REGEX, ao as EMOJI_REGEX, ap as hasRepeatedCharacters, a$ as isValidMinLength, aq as isInvalidName, bj as OTHER_ENTITIES_VALID_CHAR_REGEX, u as useTranslation, v as useExperimentsContext, z as Typography, bA as getCountrySpecificTrustTypeOptions, bB as trustComponentsKeyMapping, bC as trustApiKeyMapping, b as useApiContext, p as useAnalyticsContext, bD as trustDocumentMapping, ab as cloneObject, g as getLegalEntityCountry, ai as isEmpty$1, aG as drop, ae as getOwnEntityAssociations, c as useLegalEntity, a as addResourceBundles, L as Loader, R as ROOT_LE, aC as keysOf, a8 as EntityTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-R8HTTjSj.js";
|
|
11
11
|
import { jsx, Fragment, jsxs } from "preact/jsx-runtime";
|
|
12
12
|
import { skipToken } from "@tanstack/preact-query";
|
|
13
|
-
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./
|
|
14
|
-
import { j as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, d as TAX_INFORMATION_FIELD, t as taxInformationDefaultFieldMetadata, a as taxInformationDefaultFieldConfig, q as exemptedFromTaxDefaultFieldMetadata, w as exemptedFromTaxDefaultFieldConfig, T as TaxInformationField, g as getFieldsWithExistingData, k as getCompanyRegistrationNumberOptions, l as countryToTaxInfoTypeMap, u as useCapabilities } from "./TaxInformationField-
|
|
13
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-D3Mk1tAO.js";
|
|
14
|
+
import { j as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, d as TAX_INFORMATION_FIELD, t as taxInformationDefaultFieldMetadata, a as taxInformationDefaultFieldConfig, q as exemptedFromTaxDefaultFieldMetadata, w as exemptedFromTaxDefaultFieldConfig, T as TaxInformationField, g as getFieldsWithExistingData, k as getCompanyRegistrationNumberOptions, l as countryToTaxInfoTypeMap, u as useCapabilities } from "./TaxInformationField-BMegKexk.js";
|
|
15
15
|
import { useMemo, useCallback, useEffect, useState, useRef } from "preact/hooks";
|
|
16
|
-
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-
|
|
17
|
-
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
18
|
-
import { u as useGlobalDataSlice, c as useStateContext } from "./useGlobalData-
|
|
19
|
-
import { u as useToastContext } from "./useToastContext-
|
|
20
|
-
import { g as getPropsFromConfigurations, a as augmentWithCountryConfigs, c as composePerScenarioFormConfigurations } from "./process-field-configurations-
|
|
21
|
-
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-
|
|
22
|
-
import { m as mapExistingFile, g as getPageName, b as useScenarioConfiguration } from "./mapExistingFile-
|
|
23
|
-
import { o as operationalAddressIsSameIds, D as DBA_NAME_FIELD, B as BUSINESS_REGISTRATION_NUMBER_FIELD, V as VAT_NUMBER_FIELD, f as doingBusinessAsAbsentFieldMetadata, e as doingBusinessAsFieldMetadata, b as registrationNumberDefaultFieldMetadata, k as getDefaultRegistrationNumberType, c as registrationNumberDefaultFieldConfig, n as exemptFromRegistrationNumberDefaultFieldMetadata, p as exemptFromRegistrationNumberDefaultFieldConfig, d as defaultFieldMetadata, l as getDefaultVatNumberType, a as defaultFieldConfig, g as DBANameField, h as BusinessRegistrationNumberField, i as getRegistrationNumberHelperText, j as VatNumberField, r as registrationAddressFields, R as RegistrationAddress, M as MemoizedConstitutionalDocument, m as inferCompanyRegistrationNumberType, q as operationalAddressIsSameItems } from "./ConstitutionalDocument-
|
|
24
|
-
import { m as mapAddressLabels } from "./utils-
|
|
25
|
-
import { F as FormWrapper } from "./FormWrapper-
|
|
26
|
-
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-
|
|
27
|
-
import { a as getDocument, c as createDocumentRequest, d as documentApiUtils } from "./validate-
|
|
16
|
+
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-DR7rwVaq.js";
|
|
17
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-B6ROWewZ.js";
|
|
18
|
+
import { u as useGlobalDataSlice, c as useStateContext } from "./useGlobalData-CX1o5IxG.js";
|
|
19
|
+
import { u as useToastContext } from "./useToastContext-BVrrLs7J.js";
|
|
20
|
+
import { g as getPropsFromConfigurations, a as augmentWithCountryConfigs, c as composePerScenarioFormConfigurations } from "./process-field-configurations-CauvcVgJ.js";
|
|
21
|
+
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-DaVcEvR9.js";
|
|
22
|
+
import { m as mapExistingFile, g as getPageName, b as useScenarioConfiguration } from "./mapExistingFile-DrV6ETrQ.js";
|
|
23
|
+
import { o as operationalAddressIsSameIds, D as DBA_NAME_FIELD, B as BUSINESS_REGISTRATION_NUMBER_FIELD, V as VAT_NUMBER_FIELD, f as doingBusinessAsAbsentFieldMetadata, e as doingBusinessAsFieldMetadata, b as registrationNumberDefaultFieldMetadata, k as getDefaultRegistrationNumberType, c as registrationNumberDefaultFieldConfig, n as exemptFromRegistrationNumberDefaultFieldMetadata, p as exemptFromRegistrationNumberDefaultFieldConfig, d as defaultFieldMetadata, l as getDefaultVatNumberType, a as defaultFieldConfig, g as DBANameField, h as BusinessRegistrationNumberField, i as getRegistrationNumberHelperText, j as VatNumberField, r as registrationAddressFields, R as RegistrationAddress, M as MemoizedConstitutionalDocument, m as inferCompanyRegistrationNumberType, q as operationalAddressIsSameItems } from "./ConstitutionalDocument-Cuezk4yt.js";
|
|
24
|
+
import { m as mapAddressLabels } from "./utils-DSoDxwnp.js";
|
|
25
|
+
import { F as FormWrapper } from "./FormWrapper-Ct9HZWod.js";
|
|
26
|
+
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-DQ-2UuzB.js";
|
|
27
|
+
import { a as getDocument, c as createDocumentRequest, d as documentApiUtils } from "./validate-xqnF9QqW.js";
|
|
28
28
|
import { a as datasetUtilities } from "./datasetUtil-BHQp0-xL.js";
|
|
29
29
|
import { r as resolveFieldMetadata } from "./fieldConfigurations-BUT9DTUH.js";
|
|
30
30
|
import { f as formatObject, g as getProp } from "./utils-DNSfZiio.js";
|
|
31
31
|
import { c as createFormRules } from "./form-rules-DhbF2mY4.js";
|
|
32
|
-
import { U as UNINCORPORATED_PARTNERSHIP_COUNTRIES_VAT_NUMBER_OPTIONAL, a as UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_REQUIRED, b as UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_OPTIONAL, c as UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_REQUIRED, d as UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_OPTIONAL, A as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./types-
|
|
32
|
+
import { U as UNINCORPORATED_PARTNERSHIP_COUNTRIES_VAT_NUMBER_OPTIONAL, a as UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_REQUIRED, b as UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_OPTIONAL, c as UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_REQUIRED, d as UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_OPTIONAL, A as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./types-L5qYiAza.js";
|
|
33
33
|
import { a as getFormProps, b as getNestedOuterFormPropsFromOuterFormProps } from "./getProps-O8Fpl_k_.js";
|
|
34
|
-
import { F as Field } from "./Field-
|
|
35
|
-
import { H as Header } from "./Header
|
|
36
|
-
import { S as Select } from "./Select-
|
|
37
|
-
import { u as useForm } from "./useForm-
|
|
38
|
-
import { a as Alert } from "./Alert-
|
|
39
|
-
import { E as ErrorPanel } from "./ErrorPanel-
|
|
40
|
-
import { I as InputText } from "./InputText-
|
|
41
|
-
import { C as CountryField, a as COUNTRY_FIELD } from "./CountryField-
|
|
42
|
-
import { m as mergeFieldMetadataIntoProps, c as createFormUtils } from "./formUtils-
|
|
43
|
-
import { i as isEmpty } from "./isEmpty-
|
|
44
|
-
import { a as validateNotEmptyOnBlur } from "./patternValidators-
|
|
45
|
-
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-
|
|
46
|
-
import { u as useMultiForm } from "./useMultiForm-
|
|
34
|
+
import { F as Field } from "./Field-JfW2EFGR.js";
|
|
35
|
+
import { H as Header } from "./Header--2llFP2l.js";
|
|
36
|
+
import { S as Select } from "./Select-CaTtCKfk.js";
|
|
37
|
+
import { u as useForm } from "./useForm-BsasYish.js";
|
|
38
|
+
import { a as Alert } from "./Alert-AsIgy5ys.js";
|
|
39
|
+
import { E as ErrorPanel } from "./ErrorPanel-AOXcd1rV.js";
|
|
40
|
+
import { I as InputText } from "./InputText-CDJu-sEq.js";
|
|
41
|
+
import { C as CountryField, a as COUNTRY_FIELD } from "./CountryField-DIm2rPmp.js";
|
|
42
|
+
import { m as mergeFieldMetadataIntoProps, c as createFormUtils } from "./formUtils-BXVrjV16.js";
|
|
43
|
+
import { i as isEmpty } from "./isEmpty-YP88OF9k.js";
|
|
44
|
+
import { a as validateNotEmptyOnBlur } from "./patternValidators-D1I-TyxX.js";
|
|
45
|
+
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-DpaS6tOQ.js";
|
|
46
|
+
import { u as useMultiForm } from "./useMultiForm-DEqGcJ6u.js";
|
|
47
47
|
import "preact";
|
|
48
48
|
import "classnames";
|
|
49
49
|
import "named-slots";
|
|
50
|
-
import { R as RadioGroup } from "./RadioGroup-
|
|
50
|
+
import { R as RadioGroup } from "./RadioGroup-BKDP8z8a.js";
|
|
51
51
|
import "./Radio-BMtxBpnn.js";
|
|
52
|
-
import { A as Address } from "./Address-
|
|
52
|
+
import { A as Address } from "./Address-CUMHdDDB.js";
|
|
53
53
|
import "@preact/signals";
|
|
54
|
-
import "./useDataset-
|
|
55
|
-
import { C as ContextGuidance } from "./ContextGuidance-
|
|
54
|
+
import "./useDataset-C5FlqHce.js";
|
|
55
|
+
import { C as ContextGuidance } from "./ContextGuidance-BxC-gbkP.js";
|
|
56
56
|
const hasDataChanged = (initialData, currentData) => entriesOf(currentData ?? {}).some(([key, value]) => {
|
|
57
57
|
if (typeof value === "object") {
|
|
58
58
|
return !objectsDeepEqual(value, initialData?.[key]);
|
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "1f9a5001-7b22-4104-8182-f73d5b934064", e._sentryDebugIdIdentifier = "sentry-dbid-1f9a5001-7b22-4104-8182-f73d5b934064");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { u as useTranslation, c as useLegalEntity, a as addResourceBundles, L as Loader, g as getLegalEntityCountry, j as TaskTypes, a8 as EntityTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { u as useTranslation, c as useLegalEntity, a as addResourceBundles, L as Loader, g as getLegalEntityCountry, j as TaskTypes, a8 as EntityTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-R8HTTjSj.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
12
|
import { skipToken } from "@tanstack/preact-query";
|
|
13
13
|
import { useParams } from "wouter-preact";
|
|
14
|
-
import { u as useTrustMembers } from "./useTrustMembers-
|
|
15
|
-
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./
|
|
16
|
-
import { u as useBusinessDetailsData, B as BusinessDetailsDropin } from "./useBusinessDetailsData-
|
|
14
|
+
import { u as useTrustMembers } from "./useTrustMembers-1tH9uxR9.js";
|
|
15
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-D3Mk1tAO.js";
|
|
16
|
+
import { u as useBusinessDetailsData, B as BusinessDetailsDropin } from "./useBusinessDetailsData-ClDMNd4T.js";
|
|
17
17
|
function TrustMemberCompanyPage({
|
|
18
18
|
trustId,
|
|
19
19
|
trustMemberCompanyId: trustMemberCompanyIdProp,
|
package/dist/{TrustMemberIndividualPage-BLjorgiQ.js → TrustMemberIndividualPage-BP1rh_3-.js}
RENAMED
|
@@ -2,17 +2,17 @@
|
|
|
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] = "0b121dcb-a0e4-47c6-8cb6-3b78ba8901b7", e._sentryDebugIdIdentifier = "sentry-dbid-0b121dcb-a0e4-47c6-8cb6-3b78ba8901b7");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { c as useLegalEntity, u as useTranslation, a as addResourceBundles, L as Loader, g as getLegalEntityCountry, a7 as noop, j as TaskTypes, a8 as EntityTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { c as useLegalEntity, u as useTranslation, a as addResourceBundles, L as Loader, g as getLegalEntityCountry, a7 as noop, j as TaskTypes, a8 as EntityTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-R8HTTjSj.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
12
|
import { skipToken } from "@tanstack/preact-query";
|
|
13
13
|
import { useParams } from "wouter-preact";
|
|
14
|
-
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./
|
|
15
|
-
import { I as IndividualOnfidoDropin } from "./IndividualDropin-
|
|
14
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-D3Mk1tAO.js";
|
|
15
|
+
import { I as IndividualOnfidoDropin } from "./IndividualDropin-mVN_KUBh.js";
|
|
16
16
|
function TrustMemberIndividualPage({
|
|
17
17
|
trustId,
|
|
18
18
|
memberId: memberIdProp,
|