@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
|
@@ -63,9 +63,9 @@ export declare const ExperimentNames: {
|
|
|
63
63
|
*/
|
|
64
64
|
readonly UseOnboardingComponentsForSingpass: "UseOnboardingComponentsForSingpass";
|
|
65
65
|
/**
|
|
66
|
-
* Enables
|
|
66
|
+
* Enables localization for Japan
|
|
67
67
|
*/
|
|
68
|
-
readonly
|
|
68
|
+
readonly EnableJapanLocalization: "EnableJapanLocalization";
|
|
69
69
|
/**
|
|
70
70
|
* Use the status calculated on the backend for the payout task.
|
|
71
71
|
* If false, instead compute the status from capabilities and problems on the root LE.
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { AdyenInvitedDecisionMakerProps } from './adyen-invited-decision-maker.types';
|
|
2
|
+
/**
|
|
3
|
+
* Allows invited decision makers to provide their details. Used from hosted invite flow.
|
|
4
|
+
*/
|
|
5
|
+
export declare const AdyenInvitedDecisionMaker: ({ rootlegalentityid, fetchToken, environment, locale, settings, experiments, }: AdyenInvitedDecisionMakerProps) => import("preact/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import type { DOMAttributes } from 'react';
|
|
2
|
+
import type { DefineComponent } from 'vue';
|
|
3
|
+
import type { BaseEmbedProps } from '../baseEmbedProps';
|
|
4
|
+
export type AdyenInvitedDecisionMakerProps = BaseEmbedProps;
|
|
5
|
+
declare module 'preact/jsx-runtime' {
|
|
6
|
+
namespace JSX {
|
|
7
|
+
interface IntrinsicElements {
|
|
8
|
+
'adyen-invited-decision-maker': AdyenInvitedDecisionMakerProps;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
type CustomElement<T> = Partial<T & DOMAttributes<T> & {
|
|
13
|
+
children: any;
|
|
14
|
+
}>;
|
|
15
|
+
declare global {
|
|
16
|
+
namespace JSX {
|
|
17
|
+
interface IntrinsicElements {
|
|
18
|
+
'adyen-invited-decision-maker': CustomElement<AdyenInvitedDecisionMakerProps>;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
declare module 'react/jsx-runtime' {
|
|
23
|
+
namespace JSX {
|
|
24
|
+
interface IntrinsicElements {
|
|
25
|
+
'adyen-invited-decision-maker': AdyenInvitedDecisionMakerProps;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
declare module 'vue' {
|
|
30
|
+
interface GlobalComponents {
|
|
31
|
+
'adyen-invited-decision-maker': DefineComponent<AdyenInvitedDecisionMakerProps>;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
export {};
|
|
@@ -20,7 +20,6 @@ export interface FormRulesParams<TLDS extends TopLevelDataSchema> {
|
|
|
20
20
|
accountHolder?: AccountHolderOption;
|
|
21
21
|
tinMatched?: boolean;
|
|
22
22
|
problems?: EntityProblems;
|
|
23
|
-
version?: number;
|
|
24
23
|
}
|
|
25
24
|
type FieldRule = () => 'REQUIRED' | 'OPTIONAL' | undefined;
|
|
26
25
|
export type FormRules<RuleName extends string> = Record<RuleName, FieldRule>;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
+
import type { ExperimentName } from '../context/ExperimentContext/types';
|
|
1
2
|
import type { CountryCode } from '../types/datasets/country-code';
|
|
2
|
-
export declare const
|
|
3
|
+
export declare const isJapanLocalizationEnabled: (isExperimentEnabled: ((key: ExperimentName) => boolean) | undefined, country: CountryCode) => boolean;
|
|
@@ -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] = "a1675c95-2621-4f69-bd67-8821ce655fec", e._sentryDebugIdIdentifier = "sentry-dbid-a1675c95-2621-4f69-bd67-8821ce655fec");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
@@ -68,9 +68,9 @@ const ExperimentNames = {
|
|
|
68
68
|
*/
|
|
69
69
|
UseOnboardingComponentsForSingpass: "UseOnboardingComponentsForSingpass",
|
|
70
70
|
/**
|
|
71
|
-
* Enables
|
|
71
|
+
* Enables localization for Japan
|
|
72
72
|
*/
|
|
73
|
-
|
|
73
|
+
EnableJapanLocalization: "EnableJapanLocalization",
|
|
74
74
|
/**
|
|
75
75
|
* Use the status calculated on the backend for the payout task.
|
|
76
76
|
* If false, instead compute the status from capabilities and problems on the root LE.
|
|
@@ -2,12 +2,12 @@
|
|
|
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] = "bb52cde8-08b0-43d8-b605-f0ea532a301d", e._sentryDebugIdIdentifier = "sentry-dbid-bb52cde8-08b0-43d8-b605-f0ea532a301d");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { a0 as CountryCodes } from "./StoreProvider-
|
|
10
|
+
import { a0 as CountryCodes } from "./StoreProvider-R8HTTjSj.js";
|
|
11
11
|
import { C as Currencies } from "./currency-CrdnaaDu.js";
|
|
12
12
|
const currencyByCountry = {
|
|
13
13
|
[CountryCodes.Australia]: [Currencies.AUD],
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { o as LegalEntityTypes, a0 as CountryCodes } from "./StoreProvider-
|
|
10
|
+
import { o as LegalEntityTypes, a0 as CountryCodes } from "./StoreProvider-R8HTTjSj.js";
|
|
11
11
|
const trustMemberLegalEntityTypes = [
|
|
12
12
|
LegalEntityTypes.INDIVIDUAL,
|
|
13
13
|
LegalEntityTypes.ORGANIZATION
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { skipToken } from "@tanstack/preact-query";
|
|
11
11
|
import { useMemo } from "preact/hooks";
|
|
12
|
-
import { a3 as createLogger, c as useLegalEntity } from "./StoreProvider-
|
|
12
|
+
import { a3 as createLogger, c as useLegalEntity } from "./StoreProvider-R8HTTjSj.js";
|
|
13
13
|
const logger = createLogger();
|
|
14
14
|
function useAssociatedLegalEntity(parentLegalEntity, associationType) {
|
|
15
15
|
const matchingAssociation = useMemo(() => {
|
|
@@ -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] = "be5a6f23-0883-40ca-aeb9-e962f7f8d76a", e._sentryDebugIdIdentifier = "sentry-dbid-be5a6f23-0883-40ca-aeb9-e962f7f8d76a");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
@@ -10,66 +10,66 @@
|
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useMutation, useQuery, skipToken, useQueryClient } from "@tanstack/preact-query";
|
|
12
12
|
import { useState, useMemo, useEffect, useCallback } from "preact/hooks";
|
|
13
|
-
import { D as Divider, I as INDUSTRY_CODE_FIELD, i as industryCodeFieldMetadata, u as useIndustryCodes, a as IndustryCodeField, b as useCreateBusinessLine, c as useUpdateBusinessLine } from "./useUpdateBusinessLines-
|
|
14
|
-
import { u as
|
|
15
|
-
import { u as
|
|
16
|
-
import { u as
|
|
17
|
-
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-
|
|
18
|
-
import { u as useToastContext } from "./useToastContext-
|
|
13
|
+
import { D as Divider, I as INDUSTRY_CODE_FIELD, i as industryCodeFieldMetadata, u as useIndustryCodes, a as IndustryCodeField, b as useCreateBusinessLine, c as useUpdateBusinessLine } from "./useUpdateBusinessLines-CMUHoLaq.js";
|
|
14
|
+
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-DR7rwVaq.js";
|
|
15
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-B6ROWewZ.js";
|
|
16
|
+
import { u as useTranslation, bt as isISIN, V as Button, v as useExperimentsContext, c as useLegalEntity, R as ROOT_LE, z as Typography, L as Loader, a0 as CountryCodes, B as useSettingsContext, b as useApiContext, $ as httpPost, ac as entriesOf, p as useAnalyticsContext, a3 as createLogger, m as useAccountHolder, aa as useI18nContext, ai as isEmpty, i as isUndefinedOrNull, j as TaskTypes, o as LegalEntityTypes, bu as businessDetailsComponentsKeyMapping, bv as solePropBusinessDetailsKeyMapping, a6 as objectsDeepEqual, aC as keysOf, bw as solePropBusinessDetailsApiKeyMapping, b3 as businessDetailsApiKeyMapping, aI as filterOutUnwantedAssociationsIfRootLE, aG as drop, ae as getOwnEntityAssociations, aN as doArraysMatch, bx as solePropBusinessDetailsDocumentMapping, by as businessDetailsDocumentMapping } from "./StoreProvider-R8HTTjSj.js";
|
|
17
|
+
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-DpaS6tOQ.js";
|
|
18
|
+
import { u as useToastContext } from "./useToastContext-BVrrLs7J.js";
|
|
19
19
|
import { C as CompanyTypesValues } from "./company-types-value-D_mKv5PT.js";
|
|
20
|
-
import { c as composePerScenarioFormConfigurations, g as getPropsFromConfigurations } from "./process-field-configurations-
|
|
21
|
-
import { a as addValidityToForms, u as useFormComposer } from "./dropinUtils-
|
|
22
|
-
import { u as useMultiForm } from "./useMultiForm-
|
|
23
|
-
import { u as uppercase, m as mapExistingFile, g as getPageName, b as useScenarioConfiguration } from "./mapExistingFile-
|
|
24
|
-
import { C as Confirm } from "./Confirm-
|
|
25
|
-
import { a as getDocument, j as getDocuments, c as createDocumentRequest, k as mergeProofOfOwnershipAttachments, b as getFileExtention, d as documentApiUtils } from "./validate-
|
|
26
|
-
import { d as TAX_INFORMATION_FIELD, r as requestingBanking, e as requestingIssuing, t as taxInformationDefaultFieldMetadata, a as taxInformationDefaultFieldConfig, T as TaxInformationField, C as COUNTRY_OF_GOVERNING_LAW_POSSIBLE, S as StateCodesUS, f as isUsingCompanySearch, M as MemoizedDocumentUpload, h as isRegistrationNumberAbsentStateV4Scenario, j as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, k as getCompanyRegistrationNumberOptions, l as countryToTaxInfoTypeMap, m as rules, g as getFieldsWithExistingData } from "./TaxInformationField-
|
|
27
|
-
import { u as usePageLandedEvent, s as summaryStep } from "./Summary-
|
|
28
|
-
import { D as DBA_NAME_FIELD, B as BUSINESS_REGISTRATION_NUMBER_FIELD, V as VAT_NUMBER_FIELD, r as registrationAddressFields, o as operationalAddressIsSameIds, v as vatAbsenceReasonMetadata, d as defaultFieldMetadata$1, a as defaultFieldConfig$1, b as registrationNumberDefaultFieldMetadata, c as registrationNumberDefaultFieldConfig, e as doingBusinessAsFieldMetadata, f as doingBusinessAsAbsentFieldMetadata, g as DBANameField, h as BusinessRegistrationNumberField, i as getRegistrationNumberHelperText, j as VatNumberField, M as MemoizedConstitutionalDocument, k as getDefaultRegistrationNumberType, l as getDefaultVatNumberType, m as inferCompanyRegistrationNumberType, n as exemptFromRegistrationNumberDefaultFieldMetadata } from "./ConstitutionalDocument-
|
|
29
|
-
import { K as KEYBOARD_KEYS, M as Modal, a as ModalContent } from "./Modal-
|
|
30
|
-
import { S as SettingNames } from "./TaskVerificationStatus-
|
|
31
|
-
import { t as toFullWidth, u as useAllowedCountries, m as mapJpAddressSchemaToAddressLocalizations, a as mapJpAddressSummary } from "./mapJpAddressSchemaToAddressLocalizations-
|
|
32
|
-
import { g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET, a as getAddressSchemaLabelsByCountry, m as mapAddressLabels, c as getKeyForField } from "./utils-
|
|
33
|
-
import { o as organizationTypesToSkipCompanyStructureForm } from "./utils-
|
|
34
|
-
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-
|
|
20
|
+
import { c as composePerScenarioFormConfigurations, g as getPropsFromConfigurations } from "./process-field-configurations-CauvcVgJ.js";
|
|
21
|
+
import { a as addValidityToForms, u as useFormComposer } from "./dropinUtils-DaVcEvR9.js";
|
|
22
|
+
import { u as useMultiForm } from "./useMultiForm-DEqGcJ6u.js";
|
|
23
|
+
import { u as uppercase, m as mapExistingFile, g as getPageName, b as useScenarioConfiguration } from "./mapExistingFile-DrV6ETrQ.js";
|
|
24
|
+
import { C as Confirm } from "./Confirm-BnJOYc76.js";
|
|
25
|
+
import { a as getDocument, j as getDocuments, c as createDocumentRequest, k as mergeProofOfOwnershipAttachments, b as getFileExtention, d as documentApiUtils } from "./validate-xqnF9QqW.js";
|
|
26
|
+
import { d as TAX_INFORMATION_FIELD, r as requestingBanking, e as requestingIssuing, t as taxInformationDefaultFieldMetadata, a as taxInformationDefaultFieldConfig, T as TaxInformationField, C as COUNTRY_OF_GOVERNING_LAW_POSSIBLE, S as StateCodesUS, f as isUsingCompanySearch, M as MemoizedDocumentUpload, h as isRegistrationNumberAbsentStateV4Scenario, j as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, k as getCompanyRegistrationNumberOptions, l as countryToTaxInfoTypeMap, m as rules, g as getFieldsWithExistingData } from "./TaxInformationField-BMegKexk.js";
|
|
27
|
+
import { u as usePageLandedEvent, s as summaryStep } from "./Summary-itpVUbwv.js";
|
|
28
|
+
import { D as DBA_NAME_FIELD, B as BUSINESS_REGISTRATION_NUMBER_FIELD, V as VAT_NUMBER_FIELD, r as registrationAddressFields, o as operationalAddressIsSameIds, v as vatAbsenceReasonMetadata, d as defaultFieldMetadata$1, a as defaultFieldConfig$1, b as registrationNumberDefaultFieldMetadata, c as registrationNumberDefaultFieldConfig, e as doingBusinessAsFieldMetadata, f as doingBusinessAsAbsentFieldMetadata, g as DBANameField, h as BusinessRegistrationNumberField, i as getRegistrationNumberHelperText, j as VatNumberField, M as MemoizedConstitutionalDocument, k as getDefaultRegistrationNumberType, l as getDefaultVatNumberType, m as inferCompanyRegistrationNumberType, n as exemptFromRegistrationNumberDefaultFieldMetadata } from "./ConstitutionalDocument-Cuezk4yt.js";
|
|
29
|
+
import { K as KEYBOARD_KEYS, M as Modal, a as ModalContent } from "./Modal-DVBgbO7M.js";
|
|
30
|
+
import { S as SettingNames } from "./TaskVerificationStatus-DMo_YL-Q.js";
|
|
31
|
+
import { t as toFullWidth, u as useAllowedCountries, m as mapJpAddressSchemaToAddressLocalizations, a as mapJpAddressSummary } from "./mapJpAddressSchemaToAddressLocalizations-h3wfuHZF.js";
|
|
32
|
+
import { g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET, a as getAddressSchemaLabelsByCountry, m as mapAddressLabels, c as getKeyForField } from "./utils-DSoDxwnp.js";
|
|
33
|
+
import { o as organizationTypesToSkipCompanyStructureForm } from "./utils-BgPvD8_F.js";
|
|
34
|
+
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-DQ-2UuzB.js";
|
|
35
35
|
import { a as datasetUtilities } from "./datasetUtil-BHQp0-xL.js";
|
|
36
36
|
import { r as resolveFieldMetadata } from "./fieldConfigurations-BUT9DTUH.js";
|
|
37
37
|
import { s as summaryItem } from "./summaryItem-CAQCQSkt.js";
|
|
38
|
-
import { f as formatCurrency, A as ALLOWED_SOF_SERVICES } from "./utils-
|
|
39
|
-
import { b as useAddressCleanse, f as formatAddressForCleanse, m as mapAddressData, A as Address, g as getNestedTrustedFields, S as STATE_FIELD, c as StateField, i as isDateOlderThanAYear } from "./Address-
|
|
40
|
-
import { i as isEmpty$1 } from "./isEmpty-
|
|
38
|
+
import { f as formatCurrency, A as ALLOWED_SOF_SERVICES } from "./utils-BOHUVuDG.js";
|
|
39
|
+
import { b as useAddressCleanse, f as formatAddressForCleanse, m as mapAddressData, A as Address, g as getNestedTrustedFields, S as STATE_FIELD, c as StateField, i as isDateOlderThanAYear } from "./Address-CUMHdDDB.js";
|
|
40
|
+
import { i as isEmpty$1 } from "./isEmpty-YP88OF9k.js";
|
|
41
41
|
import { f as formatObject } from "./utils-DNSfZiio.js";
|
|
42
42
|
import { b as mapAddressLocalizationToJpAddressSchema, a as mapApiScriptLocalizationToSchemaFields, m as mapSchemaFieldsToApiScriptLocalization } from "./mapAddressLocalizationToJpAddressSchema-vJWbpAyq.js";
|
|
43
|
-
import { L as LegalFormField, I as InputNumber, c as InputCurrency, b as CURRENCY_FIELD, C as Currency, m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./Currency-
|
|
44
|
-
import { g as getLegalCompanyNameHelperText, L as LEGAL_COMPANY_NAME_FIELD, d as defaultFieldMetadataV4, a as defaultFieldMetadata$2, b as defaultFieldConfigV4, c as defaultFieldConfig$2 } from "./LegalCompanyNameField-
|
|
45
|
-
import { u as useBusinessLines } from "./useBusinessLines-
|
|
43
|
+
import { L as LegalFormField, I as InputNumber, c as InputCurrency, b as CURRENCY_FIELD, C as Currency, m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./Currency-DGkjeLuN.js";
|
|
44
|
+
import { g as getLegalCompanyNameHelperText, L as LEGAL_COMPANY_NAME_FIELD, d as defaultFieldMetadataV4, a as defaultFieldMetadata$2, b as defaultFieldConfigV4, c as defaultFieldConfig$2 } from "./LegalCompanyNameField-Cgt1TNEB.js";
|
|
45
|
+
import { u as useBusinessLines } from "./useBusinessLines-DYARfG9m.js";
|
|
46
46
|
import { Suspense, lazy } from "preact/compat";
|
|
47
|
-
import { C as Checkbox } from "./Checkbox-
|
|
48
|
-
import { F as Field } from "./Field-
|
|
49
|
-
import { H as Header } from "./Header
|
|
50
|
-
import { E as ErrorPanel } from "./ErrorPanel-
|
|
51
|
-
import { I as InputDate, f as formatDateObj } from "./InputDate-
|
|
52
|
-
import { a as validateNotEmptyOnBlur, v as validatePatternOnBlur, b as validateJaKanaLegalCompanyName, c as validateJaHaniLegalCompanyName } from "./patternValidators-
|
|
53
|
-
import { M as MaskedInput, m as makeMask, d as alphanumericInputs, b as alphaInputs, n as numericInputs } from "./MaskedInput-
|
|
54
|
-
import { m as mergeFieldMetadataIntoProps, c as createFormUtils } from "./formUtils-
|
|
55
|
-
import { i as
|
|
47
|
+
import { C as Checkbox } from "./Checkbox-Cjzq-IgW.js";
|
|
48
|
+
import { F as Field } from "./Field-JfW2EFGR.js";
|
|
49
|
+
import { H as Header } from "./Header--2llFP2l.js";
|
|
50
|
+
import { E as ErrorPanel } from "./ErrorPanel-AOXcd1rV.js";
|
|
51
|
+
import { I as InputDate, f as formatDateObj } from "./InputDate-Burmi6Sh.js";
|
|
52
|
+
import { a as validateNotEmptyOnBlur, v as validatePatternOnBlur, b as validateJaKanaLegalCompanyName, c as validateJaHaniLegalCompanyName } from "./patternValidators-D1I-TyxX.js";
|
|
53
|
+
import { M as MaskedInput, m as makeMask, d as alphanumericInputs, b as alphaInputs, n as numericInputs } from "./MaskedInput-DKifZn9r.js";
|
|
54
|
+
import { m as mergeFieldMetadataIntoProps, c as createFormUtils } from "./formUtils-BXVrjV16.js";
|
|
55
|
+
import { i as isJapanLocalizationEnabled } from "./japanSupportUtils-BVEiDev9.js";
|
|
56
56
|
import { u as useDebouncedCallback } from "./debouncedInputEvent-Cv2S512Y.js";
|
|
57
57
|
import { signal } from "@preact/signals";
|
|
58
58
|
import cx from "classnames";
|
|
59
|
-
import { L as Link } from "./Link-
|
|
59
|
+
import { L as Link } from "./Link-C1ItzqIL.js";
|
|
60
60
|
import { S as StructuredList } from "./StructuredList-BNLhk_zV.js";
|
|
61
|
-
import { I as InputText } from "./InputText-
|
|
62
|
-
import { C as CountryField, a as COUNTRY_FIELD } from "./CountryField-
|
|
63
|
-
import { L as LoaderWrapper } from "./LoaderWrapper-
|
|
61
|
+
import { I as InputText } from "./InputText-CDJu-sEq.js";
|
|
62
|
+
import { C as CountryField, a as COUNTRY_FIELD } from "./CountryField-DIm2rPmp.js";
|
|
63
|
+
import { L as LoaderWrapper } from "./LoaderWrapper-CZo0SNKQ.js";
|
|
64
64
|
import { S as StackLayout } from "./unincorporated-partnership-MeN1dp53.js";
|
|
65
65
|
import { C as Card } from "./Card-OQuFzmxm.js";
|
|
66
|
-
import { L as ListItem } from "./ListItem-
|
|
67
|
-
import { a as Alert } from "./Alert-
|
|
68
|
-
import { T as TileGroup } from "./TileGroup-
|
|
69
|
-
import { R as RadioGroup } from "./RadioGroup-
|
|
70
|
-
import { u as useGlobalDataSlice } from "./useGlobalData-
|
|
71
|
-
import { u as useForm } from "./useForm-
|
|
72
|
-
import { c as currencyByCountry } from "./types-
|
|
66
|
+
import { L as ListItem } from "./ListItem-BIog5phF.js";
|
|
67
|
+
import { a as Alert } from "./Alert-AsIgy5ys.js";
|
|
68
|
+
import { T as TileGroup } from "./TileGroup-2DhDOa2v.js";
|
|
69
|
+
import { R as RadioGroup } from "./RadioGroup-BKDP8z8a.js";
|
|
70
|
+
import { u as useGlobalDataSlice } from "./useGlobalData-CX1o5IxG.js";
|
|
71
|
+
import { u as useForm } from "./useForm-BsasYish.js";
|
|
72
|
+
import { c as currencyByCountry } from "./types-C71UTKFj.js";
|
|
73
73
|
const DATE_OF_INCORPORATION_FIELD = [
|
|
74
74
|
"dateOfIncorporation"
|
|
75
75
|
];
|
|
@@ -438,7 +438,7 @@ function VerifiedBusinessCard({
|
|
|
438
438
|
] });
|
|
439
439
|
}
|
|
440
440
|
const LazyJpAddress = lazy(
|
|
441
|
-
async () => (await import("./JpAddress-
|
|
441
|
+
async () => (await import("./JpAddress-BSy0UJ3M.js")).JpAddress
|
|
442
442
|
);
|
|
443
443
|
const ADDITIONAL_INFORMATION_FORM_ID = "additionalInformation";
|
|
444
444
|
const ADDITIONAL_INFORMATION_FIELDS = [
|
|
@@ -469,7 +469,6 @@ function AdditionalInformation({
|
|
|
469
469
|
const { form } = useFormContext();
|
|
470
470
|
const { isExperimentEnabled } = useExperimentsContext();
|
|
471
471
|
const { data: rootLegalEntity } = useLegalEntity(ROOT_LE);
|
|
472
|
-
const { data: versionData } = useVersionConfiguration();
|
|
473
472
|
const verifiedBusiness$1 = verifiedBusiness.value;
|
|
474
473
|
const showVerified = !!verifiedBusiness$1;
|
|
475
474
|
const showStockData = companyType === CompanyTypesValues.PUBLIC_COMPANY;
|
|
@@ -687,6 +686,7 @@ function AdditionalInformation({
|
|
|
687
686
|
country: datasetUtils.getCountryName(country)
|
|
688
687
|
});
|
|
689
688
|
}, [country, datasetUtils, t]);
|
|
689
|
+
const showJapanLocalization = isJapanLocalizationEnabled(isExperimentEnabled, country);
|
|
690
690
|
return /* @__PURE__ */ jsxs("form", { id, children: [
|
|
691
691
|
/* @__PURE__ */ jsx(Header, { title: t(($) => $["additionalInformationFormHeading"], { ns: "business" }) }),
|
|
692
692
|
/* @__PURE__ */ jsx(
|
|
@@ -1013,7 +1013,7 @@ function AdditionalInformation({
|
|
|
1013
1013
|
/* @__PURE__ */ jsx(Typography, { el: "h3", variant: "title", children: t(($) => $["registeredBusinessAddress"], { ns: "business" }) }),
|
|
1014
1014
|
/* @__PURE__ */ jsx(Typography, { el: "p", variant: "body", children: registrationAddressDescription })
|
|
1015
1015
|
] }),
|
|
1016
|
-
|
|
1016
|
+
showJapanLocalization ? /* @__PURE__ */ jsx(Suspense, { fallback: /* @__PURE__ */ jsx(Loader, {}), children: /* @__PURE__ */ jsx(
|
|
1017
1017
|
LazyJpAddress,
|
|
1018
1018
|
{
|
|
1019
1019
|
id: ADDITIONAL_INFORMATION_FORM_ID,
|
|
@@ -1075,7 +1075,7 @@ function AdditionalInformation({
|
|
|
1075
1075
|
)
|
|
1076
1076
|
}
|
|
1077
1077
|
),
|
|
1078
|
-
form.data.additionalInformation?.operationalAddressIsSame === operationalAddressIsSameIds.OPERATIONAL_ADDRESS_IS_NOT_SAME && (
|
|
1078
|
+
form.data.additionalInformation?.operationalAddressIsSame === operationalAddressIsSameIds.OPERATIONAL_ADDRESS_IS_NOT_SAME && (showJapanLocalization ? /* @__PURE__ */ jsx(Suspense, { fallback: /* @__PURE__ */ jsx(Loader, {}), children: /* @__PURE__ */ jsx(
|
|
1079
1079
|
LazyJpAddress,
|
|
1080
1080
|
{
|
|
1081
1081
|
id: ADDITIONAL_INFORMATION_FORM_ID,
|
|
@@ -1124,8 +1124,8 @@ function useLegalCompanyNameField({
|
|
|
1124
1124
|
handleChange,
|
|
1125
1125
|
t
|
|
1126
1126
|
}) {
|
|
1127
|
-
const {
|
|
1128
|
-
const fieldKeys = getFieldKeys(
|
|
1127
|
+
const { isExperimentEnabled } = useExperimentsContext();
|
|
1128
|
+
const fieldKeys = getFieldKeys(isExperimentEnabled, country);
|
|
1129
1129
|
const labels = formUtils.getFieldLabels(fieldKeys);
|
|
1130
1130
|
const fieldErrors = formUtils.getFieldErrors(errors, fieldProblems, fieldKeys);
|
|
1131
1131
|
const fieldsTransformInput = {
|
|
@@ -1157,16 +1157,11 @@ function useLegalCompanyNameField({
|
|
|
1157
1157
|
}
|
|
1158
1158
|
});
|
|
1159
1159
|
}
|
|
1160
|
-
const getFieldKeys = (
|
|
1161
|
-
if (
|
|
1162
|
-
return LEGAL_COMPANY_NAME_FIELD;
|
|
1163
|
-
}
|
|
1164
|
-
switch (country) {
|
|
1165
|
-
case "JP":
|
|
1166
|
-
return [...JAPANESE_LEGAL_COMPANY_NAME_FIELDS, ...LEGAL_COMPANY_NAME_FIELD];
|
|
1167
|
-
default:
|
|
1168
|
-
return LEGAL_COMPANY_NAME_FIELD;
|
|
1160
|
+
const getFieldKeys = (isExperimentEnabled = () => false, country) => {
|
|
1161
|
+
if (isJapanLocalizationEnabled(isExperimentEnabled, country)) {
|
|
1162
|
+
return [...JAPANESE_LEGAL_COMPANY_NAME_FIELDS, ...LEGAL_COMPANY_NAME_FIELD];
|
|
1169
1163
|
}
|
|
1164
|
+
return LEGAL_COMPANY_NAME_FIELD;
|
|
1170
1165
|
};
|
|
1171
1166
|
const handleKeyDown = (e) => {
|
|
1172
1167
|
if (e.key === KEYBOARD_KEYS.enter) {
|
|
@@ -3951,6 +3946,9 @@ const mapBusinessDetailsSchemaToLegalEntity = (data, accountHolder, isExperiment
|
|
|
3951
3946
|
);
|
|
3952
3947
|
if (addressLocalizations.length > 0)
|
|
3953
3948
|
entityObject.registeredAddress.localization = addressLocalizations;
|
|
3949
|
+
if (entityObject.registeredAddress?.country && entityObject.registeredAddress?.stateOrProvince && !COUNTRIES_WITH_STATES_DATASET.includes(entityObject.registeredAddress?.country)) {
|
|
3950
|
+
entityObject.registeredAddress.stateOrProvince = "";
|
|
3951
|
+
}
|
|
3954
3952
|
if (!isEmpty$1(data.companyFinancialInformation)) {
|
|
3955
3953
|
const isIncorporationDateDependencyEnabled = isExperimentEnabled(
|
|
3956
3954
|
"EnableIncorporationDateBasedFinancialValidationForHO"
|
|
@@ -4652,7 +4650,6 @@ function BusinessDetailsDropin({
|
|
|
4652
4650
|
const { showToast } = useToastContext();
|
|
4653
4651
|
const queryClient = useQueryClient();
|
|
4654
4652
|
const { isExperimentEnabled } = useExperimentsContext();
|
|
4655
|
-
const { data: versionData } = useVersionConfiguration();
|
|
4656
4653
|
const { isSettingEnabled } = useSettingsContext();
|
|
4657
4654
|
const { accountHolder, setAccountHolder } = useAccountHolder();
|
|
4658
4655
|
const { mutateAsync: createLegalEntity } = useCreateLegalEntity();
|
|
@@ -4770,8 +4767,7 @@ function BusinessDetailsDropin({
|
|
|
4770
4767
|
isSettingEnabled,
|
|
4771
4768
|
accountHolder,
|
|
4772
4769
|
tinMatched: isTinMatched,
|
|
4773
|
-
rootLegalEntity: legalEntityResponse
|
|
4774
|
-
version: versionData?.version
|
|
4770
|
+
rootLegalEntity: legalEntityResponse
|
|
4775
4771
|
}),
|
|
4776
4772
|
[
|
|
4777
4773
|
multiForm.data,
|
|
@@ -4781,8 +4777,7 @@ function BusinessDetailsDropin({
|
|
|
4781
4777
|
isSettingEnabled,
|
|
4782
4778
|
accountHolder,
|
|
4783
4779
|
isTinMatched,
|
|
4784
|
-
legalEntityResponse
|
|
4785
|
-
versionData?.version
|
|
4780
|
+
legalEntityResponse
|
|
4786
4781
|
]
|
|
4787
4782
|
);
|
|
4788
4783
|
useEffect(() => {
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useQuery } from "@tanstack/preact-query";
|
|
11
|
-
import { b as useApiContext, k as httpGet } from "./StoreProvider-
|
|
11
|
+
import { b as useApiContext, k as httpGet } from "./StoreProvider-R8HTTjSj.js";
|
|
12
12
|
const getBusinessLines = async (legalEntityId, baseUrl) => {
|
|
13
13
|
return httpGet({
|
|
14
14
|
baseUrl,
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { S as SettingNames } from "./TaskVerificationStatus-
|
|
11
|
-
import { J as isPartOfTrustFromLegalEntity, M as hasSolePropInLegalEntity, o as LegalEntityTypes, B as useSettingsContext } from "./StoreProvider-
|
|
10
|
+
import { S as SettingNames } from "./TaskVerificationStatus-DMo_YL-Q.js";
|
|
11
|
+
import { J as isPartOfTrustFromLegalEntity, M as hasSolePropInLegalEntity, o as LegalEntityTypes, B as useSettingsContext } from "./StoreProvider-R8HTTjSj.js";
|
|
12
12
|
const useLegalEntityType = ({
|
|
13
13
|
legalEntity
|
|
14
14
|
}) => {
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useMutation } from "@tanstack/preact-query";
|
|
11
|
-
import { b as useApiContext, $ as httpPost } from "./StoreProvider-
|
|
11
|
+
import { b as useApiContext, $ as httpPost } from "./StoreProvider-R8HTTjSj.js";
|
|
12
12
|
const createLegalEntity = async (legalEntityId, baseUrl, data) => {
|
|
13
13
|
return httpPost(
|
|
14
14
|
{
|
package/dist/{useDataMissingRemediations-CDMb2Iu7.js → useDataMissingRemediations-DReynHoU.js}
RENAMED
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "c13dcc3a-a283-40d1-8013-7d56951bdbf8", e._sentryDebugIdIdentifier = "sentry-dbid-c13dcc3a-a283-40d1-8013-7d56951bdbf8");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useMemo } from "preact/hooks";
|
|
11
|
-
import { u as useTranslation, a8 as EntityTypes,
|
|
11
|
+
import { u as useTranslation, a8 as EntityTypes, bl as DATA_MISSING_DECISION_MAKER_ERROR_CODE_MAPPING, j as TaskTypes } from "./StoreProvider-R8HTTjSj.js";
|
|
12
12
|
function useDataMissingRemediations({
|
|
13
13
|
legalEntityId,
|
|
14
14
|
problems
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "960d28f2-95cd-44a4-a177-b07c181980e1", e._sentryDebugIdIdentifier = "sentry-dbid-960d28f2-95cd-44a4-a177-b07c181980e1");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useState, useEffect } from "preact/hooks";
|
|
11
|
-
import { a3 as createLogger,
|
|
11
|
+
import { a3 as createLogger, aa as useI18nContext } from "./StoreProvider-R8HTTjSj.js";
|
|
12
12
|
import { a as datasetUtilities, d as datasetIdentifier } from "./datasetUtil-BHQp0-xL.js";
|
|
13
13
|
const logger$1 = createLogger();
|
|
14
14
|
const countriesImports = /* @__PURE__ */ Object.assign({ "../countries/de-DE.json": () => import("./de-DE-B3nctkG8.js"), "../countries/el-GR.json": () => import("./el-GR-CdgLZhuO.js"), "../countries/en-US.json": () => import("./en-US-DSoLr6rp.js"), "../countries/es-ES.json": () => import("./es-ES-BRfK6tX7.js"), "../countries/fr-FR.json": () => import("./fr-FR-Dk6Lw2On.js"), "../countries/it-IT.json": () => import("./it-IT-D7G4BaP7.js"), "../countries/ja-JP.json": () => import("./ja-JP-DTW_hY1L.js"), "../countries/nl-NL.json": () => import("./nl-NL-CFzm75Jw.js"), "../countries/pt-PT.json": () => import("./pt-PT-DpDxAynk.js"), "../countries/sv-SE.json": () => import("./sv-SE-rckxD-43.js") });
|
package/dist/{useDeleteTransferInstrument-YSr-Fo6s.js → useDeleteTransferInstrument-B-Oi9ZLT.js}
RENAMED
|
@@ -2,14 +2,14 @@
|
|
|
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] = "004240a0-b954-4f2e-843b-bd82f8213542", e._sentryDebugIdIdentifier = "sentry-dbid-004240a0-b954-4f2e-843b-bd82f8213542");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useMutation } from "@tanstack/preact-query";
|
|
11
|
-
import { a as useInvalidateRootLegalEntity } from "./useToastContext-
|
|
12
|
-
import { b as useApiContext,
|
|
11
|
+
import { a as useInvalidateRootLegalEntity } from "./useToastContext-BVrrLs7J.js";
|
|
12
|
+
import { b as useApiContext, ad as httpDelete } from "./StoreProvider-R8HTTjSj.js";
|
|
13
13
|
const deleteTransferInstrument = async (legalEntityId, baseUrl, transferInstrumentId) => {
|
|
14
14
|
return httpDelete({
|
|
15
15
|
baseUrl,
|
|
@@ -2,14 +2,14 @@
|
|
|
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] = "cf78d92b-871e-40de-980f-96c23c1a6727", e._sentryDebugIdIdentifier = "sentry-dbid-cf78d92b-871e-40de-980f-96c23c1a6727");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useState, useCallback, useMemo, useReducer, useEffect } from "preact/hooks";
|
|
11
|
-
import { a3 as createLogger, ai as isEmpty,
|
|
12
|
-
import { V as ValidationResult, o as omitKeys, a as addKeys } from "./utils-
|
|
11
|
+
import { a3 as createLogger, ai as isEmpty, aN as doArraysMatch } from "./StoreProvider-R8HTTjSj.js";
|
|
12
|
+
import { V as ValidationResult, o as omitKeys, a as addKeys } from "./utils-kWwTKQ5D.js";
|
|
13
13
|
const logger = createLogger();
|
|
14
14
|
const useAsyncValidator = (asyncRules) => {
|
|
15
15
|
const [asyncValidationResults, setAsyncValidationResults] = useState({});
|
|
@@ -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] = "5e80dab2-3f79-4f47-be52-29387f28c6ed", e._sentryDebugIdIdentifier = "sentry-dbid-5e80dab2-3f79-4f47-be52-29387f28c6ed");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
@@ -10,13 +10,13 @@
|
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { useMemo, useRef, useState, useContext } from "preact/hooks";
|
|
12
12
|
import cx from "classnames";
|
|
13
|
-
import { p as useAnalyticsContext, u as useTranslation, V as Button } from "./StoreProvider-
|
|
14
|
-
import { L as LoaderWrapper } from "./LoaderWrapper-
|
|
15
|
-
import { M as MaybeModal } from "./MaybeModal-
|
|
13
|
+
import { p as useAnalyticsContext, u as useTranslation, V as Button } from "./StoreProvider-R8HTTjSj.js";
|
|
14
|
+
import { L as LoaderWrapper } from "./LoaderWrapper-CZo0SNKQ.js";
|
|
15
|
+
import { M as MaybeModal } from "./MaybeModal-CRIZCDqy.js";
|
|
16
16
|
import { P as ProgressBar } from "./ProgressBar-B7gTQncy.js";
|
|
17
|
-
import { F as FormRouterContextProvider } from "./dropinUtils-
|
|
18
|
-
import { C as Confirm } from "./Confirm-
|
|
19
|
-
import { S as Summary } from "./Summary-
|
|
17
|
+
import { F as FormRouterContextProvider } from "./dropinUtils-DaVcEvR9.js";
|
|
18
|
+
import { C as Confirm } from "./Confirm-BnJOYc76.js";
|
|
19
|
+
import { S as Summary } from "./Summary-itpVUbwv.js";
|
|
20
20
|
import { createContext } from "preact";
|
|
21
21
|
const FormContext = createContext(null);
|
|
22
22
|
function FormContextProvider({
|
|
@@ -2,14 +2,14 @@
|
|
|
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] = "87ab5e20-8331-4cf6-91fd-c8d84f51f285", e._sentryDebugIdIdentifier = "sentry-dbid-87ab5e20-8331-4cf6-91fd-c8d84f51f285");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useContext, useCallback, useMemo } from "preact/hooks";
|
|
11
11
|
import { a as debounce } from "./debouncedInputEvent-Cv2S512Y.js";
|
|
12
|
-
import {
|
|
12
|
+
import { b8 as StateContext } from "./StoreProvider-R8HTTjSj.js";
|
|
13
13
|
function useStateContext() {
|
|
14
14
|
const context = useContext(StateContext);
|
|
15
15
|
return context;
|
|
@@ -2,15 +2,15 @@
|
|
|
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] = "8e923d77-7b32-4c8b-a4bf-b73986b42c04", e._sentryDebugIdIdentifier = "sentry-dbid-8e923d77-7b32-4c8b-a4bf-b73986b42c04");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useCallback, useMemo, useReducer, useEffect } from "preact/hooks";
|
|
11
|
-
import { a6 as objectsDeepEqual, a3 as createLogger, ai as isEmpty } from "./StoreProvider-
|
|
12
|
-
import { V as ValidationResult } from "./utils-
|
|
13
|
-
import { a as isNotEmptyValidator } from "./commonValidators-
|
|
11
|
+
import { a6 as objectsDeepEqual, a3 as createLogger, ai as isEmpty } from "./StoreProvider-R8HTTjSj.js";
|
|
12
|
+
import { V as ValidationResult } from "./utils-kWwTKQ5D.js";
|
|
13
|
+
import { a as isNotEmptyValidator } from "./commonValidators-COQPDrJD.js";
|
|
14
14
|
const omitKeys = (obj, omit) => Object.keys(obj).filter((k) => !omit.includes(k)).reduce((a, c) => {
|
|
15
15
|
a[c] = obj[c];
|
|
16
16
|
return a;
|