@adyen/kyc-components 4.3.0 → 4.3.1
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-OMNQzzlt.js → AcceptTermsOfServiceComponent-CxiQwvJk.js} +14 -14
- package/dist/{AccountSetupRejected-BmELqasB.js → AccountSetupRejected-CFFqpbf5.js} +1 -1
- package/dist/{ActionBar-CYYTQnyt.js → ActionBar-Ctn54Y2A.js} +1 -1
- package/dist/{Address-BuvEwdEz.js → Address-DYcjUVJR.js} +9 -9
- package/dist/{Avatar-6Ijr-U98.js → Avatar-DetG5lKT.js} +1 -1
- package/dist/{BusinessFinancingComponent-C_dvZWrV.js → BusinessFinancingComponent-CLjrTCZX.js} +4 -4
- package/dist/{BusinessFinancingDropin-CqBXTRew.js → BusinessFinancingDropin-BfClJSkQ.js} +26 -26
- package/dist/{BusinessFinancingPage-CJXuD19C.js → BusinessFinancingPage-D2mvDwJ9.js} +3 -3
- package/dist/{BusinessTypeSelectionPage-0ykcbLXM.js → BusinessTypeSelectionPage-BXLFDSNj.js} +8 -8
- package/dist/{Checkbox-CEt2JNWg.js → Checkbox-Czl07sQR.js} +1 -1
- package/dist/{Confirm-tO8eG5lI.js → Confirm-Dj404jbd.js} +2 -2
- package/dist/{ConstitutionalDocument-BNQrCuoP.js → ConstitutionalDocument-BmmKeBpa.js} +16 -16
- package/dist/{ContactDetails-wRdhpEXl.js → ContactDetails-Cufj6PAe.js} +5 -5
- package/dist/{ContextGuidance-D-wkN66k.js → ContextGuidance-DtgBZK4G.js} +1 -1
- package/dist/{CountryField-BfpNTqr6.js → CountryField-CXtWJ2cJ.js} +3 -3
- package/dist/{CreateIndividualComponent-BXI_yAXJ.js → CreateIndividualComponent-IeQLzzep.js} +4 -4
- package/dist/{CreateTransferInstrumentComponent-C94kteP5.js → CreateTransferInstrumentComponent-CuCprof3.js} +3 -3
- package/dist/{Currency-CIvge00Z.js → Currency-C3BBSuI_.js} +6 -6
- package/dist/{CustomerSupport-Cn0cURdF.js → CustomerSupport-D7ylyPKY.js} +9 -9
- package/dist/{DebugModal-CPJQfotk.js → DebugModal-B7hCqbYi.js} +6 -6
- package/dist/{DecisionMakerDetailsPage-HY7FMT3F.js → DecisionMakerDetailsPage-DvX5K2F4.js} +5 -5
- package/dist/{DecisionMakers-C9Y6zR4s.js → DecisionMakers-CRWZS3lI.js} +18 -18
- package/dist/{Dropzone-B87ivHUX.js → Dropzone-DL2w1NGh.js} +3 -3
- package/dist/{EmbeddedStatus-Qp66N9js.js → EmbeddedStatus-D1b16Y6z.js} +2 -2
- package/dist/{EndStateLayout-BcYjyuoi.js → EndStateLayout-B6hLSI0I.js} +1 -1
- package/dist/{EntityAssociation-NEf45gFy.js → EntityAssociation-jjYJZhw_.js} +4 -4
- package/dist/{EntityGuidanceStatus-BSe0LbpA.js → EntityGuidanceStatus-BCrHVQnw.js} +2 -2
- package/dist/{ErrorPanel-0defccwj.js → ErrorPanel-CmkNrtcM.js} +1 -1
- package/dist/{Field-CS5lBNi-.js → Field-CwFxUG4S.js} +1 -1
- package/dist/{FormNavigation-Ds6Zo4kr.js → FormNavigation-Bzd8GI_y.js} +2 -2
- package/dist/{FormWrapper-CM27JHcm.js → FormWrapper-C5cjNgOF.js} +8 -8
- package/dist/{Image-kVLn7Cb2.js → Image-dsUitZt9.js} +1 -1
- package/dist/{Individual.rules-BKCZ5pw4.js → Individual.rules-B1kJEwIy.js} +5 -5
- package/dist/{IndividualDropin-BEfS_NNT.js → IndividualDropin-Drcvb_K1.js} +48 -48
- package/dist/{InputDate-DbPcPUic.js → InputDate-xJYFktYU.js} +1 -1
- package/dist/{InputText-CQMxEarX.js → InputText-Bld610xH.js} +1 -1
- package/dist/{Introduction-_K-ioq4w.js → Introduction-Y4kn2wIR.js} +3 -3
- package/dist/{JpAddress-8qsY8wnP.js → JpAddress-M8LO5qWN.js} +8 -8
- package/dist/{LandingLayout-Bx0c6vHb.js → LandingLayout-tMw_lv0y.js} +1 -1
- package/dist/{LegalCompanyNameField-BD6Te5c5.js → LegalCompanyNameField-D8GAh_KT.js} +5 -5
- package/dist/{LegalRepresentativeDetailsPage-C3QWHa7T.js → LegalRepresentativeDetailsPage-CJqPzB3s.js} +3 -3
- package/dist/{Link-deXxlSsM.js → Link-Rx1tLf8b.js} +1 -1
- package/dist/{ListItem-Dtx0lKaK.js → ListItem-DyhLxJBS.js} +2 -2
- package/dist/{LoaderWrapper-Dg9BXOfN.js → LoaderWrapper-CBknZ9Da.js} +1 -1
- package/dist/{ManageIndividualComponent-DvmShxf5.js → ManageIndividualComponent-BJgpHEnw.js} +4 -4
- package/dist/{ManageTermsOfServiceComponent-rpvf07UO.js → ManageTermsOfServiceComponent-BIU-c5CG.js} +3 -3
- package/dist/{ManageTransferInstrumentComponent-D_10bdI3.js → ManageTransferInstrumentComponent-BoDGtQwJ.js} +10 -10
- package/dist/{MaskedInput-DX9qywO6.js → MaskedInput-Dl_2fV_0.js} +4 -4
- package/dist/{MaybeModal-B6Y-CUwt.js → MaybeModal-DPO3iz_q.js} +2 -2
- package/dist/{Modal-CyGRv-gZ.js → Modal-Clg5zjtw.js} +1 -1
- package/dist/{Name-DB6DpTUy.js → Name-CG_KFcsI.js} +4 -4
- package/dist/{OnboardingDropinComponent-ByCzepLz.js → OnboardingDropinComponent-B6Lx1nPd.js} +50 -50
- package/dist/{PayoutDetailsDropin-CHKMEoSE.js → PayoutDetailsDropin-33AnK03h.js} +38 -38
- package/dist/{RadioGroup-Bmyz_UGC.js → RadioGroup-f1fWKiU5.js} +1 -1
- package/dist/{RadioGroupCard-DfDec_J3.js → RadioGroupCard-BQ753Ka9.js} +1 -1
- package/dist/{Review-BfeBbmqL.js → Review-BpsNOp4F.js} +5 -5
- package/dist/{RootBusinessDetailsPage-CtRd9HPs.js → RootBusinessDetailsPage-B8Bs6uRc.js} +3 -3
- package/dist/{RootBusinessLinesPage-Btnsj8r_.js → RootBusinessLinesPage-ClxhYLqV.js} +25 -25
- package/dist/{RootIndividualDetailsPage-8nUlp7YZ.js → RootIndividualDetailsPage-CsyGYHTx.js} +3 -3
- package/dist/{Select-w8VBNvQR.js → Select-D1F5NGjs.js} +3 -3
- package/dist/{SignPCIComponent-CA5Ao7_u.js → SignPCIComponent-Y3johwRJ.js} +10 -10
- package/dist/{SingpassSelection-DOUOHu-z.js → SingpassSelection-BfSI1-ML.js} +5 -5
- package/dist/{SoleProprietorshipPage-4OFUvq_A.js → SoleProprietorshipPage-aVHLdSAU.js} +3 -3
- package/dist/{SourceOfFundsPage-B2L2vYO7.js → SourceOfFundsPage-L42Ggk31.js} +30 -30
- package/dist/{StepProgressIndicator-BBjfKoHH.js → StepProgressIndicator-CzNK-GNc.js} +1 -1
- package/dist/{StoreProvider-DFR6yFy8.js → StoreProvider-BWH3E9ba.js} +4 -4
- package/dist/{Summary-SxfPLeM9.js → Summary-CvCyV2hU.js} +4 -4
- package/dist/{TaxInformationField-pIOj5IIN.js → TaxInformationField-Cunwl2sG.js} +17 -17
- package/dist/{TaxReportingDropin-BzB8nYXE.js → TaxReportingDropin-Bj1chorw.js} +13 -13
- package/dist/{TextArea-I88bxkOh.js → TextArea-BoZthCA1.js} +1 -1
- package/dist/{TileGroup-PHV4JXvH.js → TileGroup-BoDB8Oqb.js} +2 -2
- package/dist/{TrustDetailsPage-Dr6YIRGG.js → TrustDetailsPage-DnzPm-4e.js} +31 -31
- package/dist/{TrustMemberCompanyPage-CfUxQni4.js → TrustMemberCompanyPage-BW40Ezkp.js} +4 -4
- package/dist/{TrustMemberIndividualPage-DG9KUe02.js → TrustMemberIndividualPage-BwlIf4n1.js} +3 -3
- package/dist/{TrustMemberRoleAndTypePage-BdBKpEha.js → TrustMemberRoleAndTypePage-DrR1LXsH.js} +20 -20
- package/dist/{TrustMembersOverview-Ynu4zahR.js → TrustMembersOverview-BKg8hNgu.js} +9 -9
- package/dist/{UnincorporatedPartnershipIndividualPage-DKMj8Dwh.js → UnincorporatedPartnershipIndividualPage-SqRyyZ1H.js} +3 -3
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-BFZ7GGpo.js → UnincorporatedPartnershipMemberCompanyPage-DVqwHqG5.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-6C67QTtR.js → UnincorporatedPartnershipMemberRoleAndTypePage-BfBCJGUL.js} +9 -9
- package/dist/{UnincorporatedPartnershipMembersOverview-BkAc4tTI.js → UnincorporatedPartnershipMembersOverview-T5V5sIWL.js} +6 -6
- package/dist/{VerificationErrorAlert-CyE2-4NI.js → VerificationErrorAlert-fNKHPIFN.js} +1 -1
- package/dist/{ViewVerificationStatusComponent-0IyRvr_W.js → ViewVerificationStatusComponent-6yMx8KGW.js} +2 -2
- package/dist/{accountHolderUtils-yQ8liitv.js → accountHolderUtils-CRgkTizd.js} +1 -1
- package/dist/adyen-business-financing.js +2 -2
- package/dist/adyen-individual-configuration.js +2 -2
- package/dist/adyen-individual-status.js +2 -2
- package/dist/adyen-invited-decision-maker.js +6 -6
- package/dist/adyen-kyc-components.js +16 -16
- package/dist/adyen-onboarding.js +2 -2
- package/dist/adyen-terms-of-service-management.js +2 -2
- package/dist/adyen-terms-of-service-status.js +2 -2
- package/dist/adyen-transfer-instrument-configuration.js +2 -2
- package/dist/adyen-transfer-instrument-management.js +2 -2
- package/dist/adyen-verification-status.js +2 -2
- package/dist/{bafinUtils-BABg2zgB.js → bafinUtils-ocpQBVHv.js} +1 -1
- package/dist/{commonValidators-BcyFMdFA.js → commonValidators-C7utqwzn.js} +1 -1
- package/dist/{dropinUtils-Ds8fesIK.js → dropinUtils-BR6FQlKT.js} +5 -7
- package/dist/{formUtils-Ctj-XQBQ.js → formUtils-BwYBoQsx.js} +2 -2
- package/dist/{getName-VMVSrxGw.js → getName-P8LWHe4X.js} +1 -1
- package/dist/{getProblemsForEntity-B2aPSiz5.js → getProblemsForEntity-B6TquhHO.js} +1 -1
- package/dist/{iframeWidget-CJ4GOEBG.js → iframeWidget-rupjAtH8.js} +3 -3
- package/dist/{isEmpty-BNrK3WJw.js → isEmpty-DAZtgvI3.js} +1 -1
- package/dist/{japanSupportUtils-B1kmKF7K.js → japanSupportUtils-fpWnynCx.js} +1 -1
- package/dist/{localizeDateString-DUFhW5fN.js → localizeDateString-CyW6k1R8.js} +1 -1
- package/dist/{mapExistingFile-BU4Lq435.js → mapExistingFile-C5Qv3u3V.js} +3 -3
- package/dist/{mapJpAddressSchemaToAddressLocalizations-BLzSTlhK.js → mapJpAddressSchemaToAddressLocalizations-CgLvj2x1.js} +1 -1
- package/dist/{mapLegalEntityToIndividualSchema-DHieAjhC.js → mapLegalEntityToIndividualSchema-CpbODYlF.js} +3 -3
- package/dist/{mapTransferInstrumentToPayoutAccount-CBruJcGL.js → mapTransferInstrumentToPayoutAccount-Z1djH2ML.js} +1 -1
- package/dist/{patternValidators-hk7OKIOW.js → patternValidators-BnIR4gA-.js} +1 -1
- package/dist/{process-field-configurations-CSUAI1_s.js → process-field-configurations-CdcmRpYA.js} +2 -2
- package/dist/{resolveEnvironment-Dz4WVUeH.js → resolveEnvironment-QZpVTNGD.js} +3 -3
- package/dist/{roleMetadata-CCCowA5b.js → roleMetadata-C0L5wL9H.js} +1 -1
- package/dist/types/core/user-events.d.ts +1 -1
- package/dist/{types-CYkhUYV6.js → types-BGjwGjdJ.js} +1 -1
- package/dist/{types-BxMBuuEz.js → types-BmIsIHxa.js} +1 -1
- package/dist/{types-DU69aeMN.js → types-kZEVKWh5.js} +1 -1
- package/dist/{useAssociatedLegalEntity-BORPRBzY.js → useAssociatedLegalEntity-BL7W3NB4.js} +1 -1
- package/dist/{useBusinessDetailsData-SFopK4ma.js → useBusinessDetailsData-T-2hN3u_.js} +48 -52
- package/dist/{useBusinessLines-ewWROXYV.js → useBusinessLines-CrOTGwfX.js} +1 -1
- package/dist/{useCanSeeIntroduction-BbjNCK9Z.js → useCanSeeIntroduction-V5qM-BFd.js} +1 -1
- package/dist/{useCreateLegalEntity-DC4AmtL1.js → useCreateLegalEntity-D5s-lZwZ.js} +1 -1
- package/dist/{useDataMissingRemediations-CjxCe3yc.js → useDataMissingRemediations-9UhYDXLS.js} +1 -1
- package/dist/{useDeleteTransferInstrument-HN2BLhyP.js → useDeleteTransferInstrument-CPLggK7o.js} +2 -2
- package/dist/{useForm-B64f0N0r.js → useForm-B3J1SQIH.js} +2 -2
- package/dist/{useFormContext-B08W9NV0.js → useFormContext-BqP4U54l.js} +6 -6
- package/dist/{useGlobalData-CAfs9dkH.js → useGlobalData-Brqm6mMI.js} +1 -1
- package/dist/{useMultiForm-BwoKhXUz.js → useMultiForm-qc4_58sn.js} +3 -3
- package/dist/{useNavigate-BXyVMJUH.js → useNavigate-CkxGAEou.js} +29 -29
- package/dist/{useOnboardingStatus-DgaMwRGt.js → useOnboardingStatus-BAFwB8A4.js} +1 -1
- package/dist/{usePciQuestionnaireList--rMXF8VL.js → usePciQuestionnaireList-TLpAO3GD.js} +1 -1
- package/dist/{useSalesChannels-CGESLvW6.js → useSalesChannels-BO4GysVh.js} +2 -2
- package/dist/{useScenarios-DfdvyKrI.js → useScenarios-DSpc898-.js} +1 -1
- package/dist/{useTaskStatus-CBWvTwlZ.js → useTaskStatus-Csrso18D.js} +1 -1
- package/dist/{useTermsOfServiceStatus-BlBedFIs.js → useTermsOfServiceStatus-DdYlsALm.js} +1 -1
- package/dist/{useToastContext-D7Wu9TN_.js → useToastContext-BtLAxaNl.js} +1 -1
- package/dist/{useTrustMembers-GEABHhkr.js → useTrustMembers-rqlnbKZ1.js} +3 -3
- package/dist/{useUnincorporatedPartnershipMembers-CRs95EuP.js → useUnincorporatedPartnershipMembers-FQdnqW4h.js} +3 -3
- package/dist/{useUpdateBusinessLines-B6YZCqOX.js → useUpdateBusinessLines-TXNjWpIG.js} +3 -3
- package/dist/{useUpdateLegalEntity-B1R9qggb.js → useUpdateLegalEntity-BNsvQpIe.js} +2 -2
- package/dist/{utils-BUyOscpp.js → utils-DHCSrG2W.js} +1 -1
- package/dist/{utils-DTUxA3nO.js → utils-J2EeeAsL.js} +1 -1
- package/dist/{utils-Drnia92l.js → utils-TdGg-Brl.js} +2 -2
- package/dist/{utils-CPRZoX7V.js → utils-XiEWYRYH.js} +4 -4
- package/dist/{utils-CnulHkMn.js → utils-_Ga2UTWr.js} +1 -1
- package/dist/{validate-DlUk1wzH.js → validate-1pvDa1M7.js} +1 -1
- package/dist/{validate-DLxn3LIK.js → validate-F0Rs0x5e.js} +2 -2
- package/dist/{validationError-CcsgWg6J.js → validationError-C_lTZTYg.js} +1 -1
- package/package.json +1 -1
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { a5 as CountryCodes } from "./StoreProvider-
|
|
10
|
+
import { a5 as CountryCodes } from "./StoreProvider-BWH3E9ba.js";
|
|
11
11
|
const isJapanLocalizationEnabled = (isExperimentEnabled = () => false, country) => {
|
|
12
12
|
return country === CountryCodes.Japan && isExperimentEnabled("EnableJapanLocalization");
|
|
13
13
|
};
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { a8 as createLogger } from "./StoreProvider-
|
|
10
|
+
import { a8 as createLogger } from "./StoreProvider-BWH3E9ba.js";
|
|
11
11
|
const localizeDateString = (dateString, locale, options) => {
|
|
12
12
|
const logger = createLogger();
|
|
13
13
|
const formatOptions = {
|
|
@@ -8,13 +8,13 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useEffect, useState, useMemo } from "preact/hooks";
|
|
11
|
-
import { u as useScenarios } from "./useScenarios-
|
|
12
|
-
import { a5 as CountryCodes, a8 as createLogger, u as useTranslation, p as Icon } from "./StoreProvider-
|
|
11
|
+
import { u as useScenarios } from "./useScenarios-DSpc898-.js";
|
|
12
|
+
import { a5 as CountryCodes, a8 as createLogger, u as useTranslation, p as Icon } from "./StoreProvider-BWH3E9ba.js";
|
|
13
13
|
import { signal } from "@preact/signals";
|
|
14
14
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
15
15
|
import cx from "classnames";
|
|
16
16
|
import { lazy } from "preact/compat";
|
|
17
|
-
import { I as Image } from "./Image-
|
|
17
|
+
import { I as Image } from "./Image-dsUitZt9.js";
|
|
18
18
|
class AdyenKycSdkError extends Error {
|
|
19
19
|
sourceError;
|
|
20
20
|
constructor(message, sourceError) {
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { s as summaryItem } from "./summaryItem-CAQCQSkt.js";
|
|
12
|
-
import { i as isEmpty } from "./isEmpty-
|
|
12
|
+
import { i as isEmpty } from "./isEmpty-DAZtgvI3.js";
|
|
13
13
|
import { m as mapSchemaFieldsToApiScriptLocalization } from "./mapAddressLocalizationToJpAddressSchema-vJWbpAyq.js";
|
|
14
14
|
const mapJpAddressSummary = (data, datasetUtils) => {
|
|
15
15
|
if (!data) return {};
|
|
@@ -8,12 +8,12 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { signal } from "@preact/signals";
|
|
11
|
-
import { af as useI18nContext, m as useAnalyticsContext, z as Typography, Z as Button, a5 as CountryCodes, as as reverseMapping, bj as getNomineeFromAssociation, bk as individualBaseMapping, aG as DecisionMakerTypes } from "./StoreProvider-
|
|
11
|
+
import { af as useI18nContext, m as useAnalyticsContext, z as Typography, Z as Button, a5 as CountryCodes, as as reverseMapping, bj as getNomineeFromAssociation, bk as individualBaseMapping, aG as DecisionMakerTypes } from "./StoreProvider-BWH3E9ba.js";
|
|
12
12
|
import { a as mapApiScriptLocalizationToSchemaFields, b as mapAddressLocalizationToJpAddressSchema } from "./mapAddressLocalizationToJpAddressSchema-vJWbpAyq.js";
|
|
13
13
|
import { f as formatObject } from "./utils-DNSfZiio.js";
|
|
14
14
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
15
|
-
import { F as Field } from "./Field-
|
|
16
|
-
import { T as TileGroup } from "./TileGroup-
|
|
15
|
+
import { F as Field } from "./Field-CwFxUG4S.js";
|
|
16
|
+
import { T as TileGroup } from "./TileGroup-BoDB8Oqb.js";
|
|
17
17
|
const individualFormDefaultData = signal(null);
|
|
18
18
|
const guidanceQuestion = "adyen-kyc-guidance-question";
|
|
19
19
|
const options = "adyen-kyc-options";
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useQuery, skipToken } from "@tanstack/preact-query";
|
|
11
|
-
import { b as useApiContext, j as httpGet, br as crossBorderMapping, bs as payoutComponentKeyMapping } from "./StoreProvider-
|
|
11
|
+
import { b as useApiContext, j as httpGet, br as crossBorderMapping, bs as payoutComponentKeyMapping } from "./StoreProvider-BWH3E9ba.js";
|
|
12
12
|
import { m as mapWith } from "./utils-DNSfZiio.js";
|
|
13
13
|
const getTransferInstrument = async (legalEntityId, baseUrl, transferInstrumentId) => {
|
|
14
14
|
return httpGet({
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { aD as hasText, aq as isEmpty, av as matchesRegex, aw as NO_ALPHABET_REGEX, ax as EMOJI_REGEX, ay as hasRepeatedCharacters, bc as isValidMinLength, az as isInvalidName, bv as OTHER_ENTITIES_VALID_CHAR_REGEX, bw as LATIN_SPACE_MARK_PUNCTUATION_NUMBERS_REGEX, aE as standardKatakanaValidator, aF as standardKanjiValidator } from "./StoreProvider-
|
|
10
|
+
import { aD as hasText, aq as isEmpty, av as matchesRegex, aw as NO_ALPHABET_REGEX, ax as EMOJI_REGEX, ay as hasRepeatedCharacters, bc as isValidMinLength, az as isInvalidName, bv as OTHER_ENTITIES_VALID_CHAR_REGEX, bw as LATIN_SPACE_MARK_PUNCTUATION_NUMBERS_REGEX, aE as standardKatakanaValidator, aF as standardKanjiValidator } from "./StoreProvider-BWH3E9ba.js";
|
|
11
11
|
const validateNotEmptyOnBlur = {
|
|
12
12
|
modes: ["blur"],
|
|
13
13
|
validate: (val) => !isEmpty(val),
|
package/dist/{process-field-configurations-CSUAI1_s.js → process-field-configurations-CdcmRpYA.js}
RENAMED
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { T as TrustedFieldsProviders } from "./Image-
|
|
10
|
+
import { T as TrustedFieldsProviders } from "./Image-dsUitZt9.js";
|
|
11
11
|
import { f as formDebugInfo } from "./debugStore-BvbyN1Oi.js";
|
|
12
|
-
import { a8 as createLogger, bh as businessDetailsApiKeyMapping, aR as individualApiKeyMapping, b5 as remediationHasFileUploadField, bi as dataMissingRemediationsToFieldsMap, aN as keysOf } from "./StoreProvider-
|
|
12
|
+
import { a8 as createLogger, bh as businessDetailsApiKeyMapping, aR as individualApiKeyMapping, b5 as remediationHasFileUploadField, bi as dataMissingRemediationsToFieldsMap, aN as keysOf } from "./StoreProvider-BWH3E9ba.js";
|
|
13
13
|
const linkedFieldsMap = {
|
|
14
14
|
"additionalInformation.vatNumber": [
|
|
15
15
|
"additionalInformation.exemptedFromVat",
|
|
@@ -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] = "0c0014d1-9fdc-430b-a0e7-cdf4e20c700a", e._sentryDebugIdIdentifier = "sentry-dbid-0c0014d1-9fdc-430b-a0e7-cdf4e20c700a");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { ao as refreshSession, Z as Button, G as Loader, S as SettingsProvider, Q as QueryClientProvider, A as ApiProvider, E as ExperimentsContextProvider, c as StoreProvider, d as AnalyticsProvider, I as I18nProvider, e as AllowedCountryGate, D as DebugListener, T as ToastContextProvider, f as StateProvider, g as setSdkTokenHandler, n as normalizeEnvironment } from "./StoreProvider-
|
|
11
|
+
import { ao as refreshSession, Z as Button, G as Loader, S as SettingsProvider, Q as QueryClientProvider, A as ApiProvider, E as ExperimentsContextProvider, c as StoreProvider, d as AnalyticsProvider, I as I18nProvider, e as AllowedCountryGate, D as DebugListener, T as ToastContextProvider, f as StateProvider, g as setSdkTokenHandler, n as normalizeEnvironment } from "./StoreProvider-BWH3E9ba.js";
|
|
12
12
|
import { useState, useEffect } from "preact/hooks";
|
|
13
13
|
const sheet = new CSSStyleSheet();
|
|
14
14
|
const stylesheets = [sheet];
|
|
@@ -56,7 +56,7 @@ const EmbedShell = ({
|
|
|
56
56
|
experiments,
|
|
57
57
|
refreshExperiments,
|
|
58
58
|
children: /* @__PURE__ */ jsxs(StoreProvider, { children: [
|
|
59
|
-
/* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "4.3.
|
|
59
|
+
/* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "4.3.1" }),
|
|
60
60
|
/* @__PURE__ */ jsx(
|
|
61
61
|
AnalyticsProvider,
|
|
62
62
|
{
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { bz as TrustMemberGuidanceLabels, by as TrustMemberTypes, aG as DecisionMakerTypes } from "./StoreProvider-
|
|
10
|
+
import { bz as TrustMemberGuidanceLabels, by as TrustMemberTypes, aG as DecisionMakerTypes } from "./StoreProvider-BWH3E9ba.js";
|
|
11
11
|
import { U as UnincorporatedPartnershipMemberTypes } from "./unincorporated-partnership-D8XzcFAz.js";
|
|
12
12
|
const roleMetadata = {
|
|
13
13
|
[DecisionMakerTypes.CONTROLLING_PERSON]: {
|
|
@@ -76,7 +76,7 @@ export interface AdditionalEventProperties {
|
|
|
76
76
|
* Name of the tracked event
|
|
77
77
|
* Can be either a custom name or one of the pre-defined values
|
|
78
78
|
*/
|
|
79
|
-
export type EventName = 'Clicked button' | 'Clicked accordion' | '
|
|
79
|
+
export type EventName = 'Clicked button' | 'Clicked accordion' | 'Success' | 'Encountered error' | 'Landed on page' | 'Interacted with form field' | 'Opened modal' | 'Closed modal' | 'Performance' | '$experiment_started';
|
|
80
80
|
export type AnalyticsEventPayload = RequiredExcept<BaseEventProperties, OptionalBaseEventProperties> & AdditionalEventProperties;
|
|
81
81
|
export type EventType = 'add_event';
|
|
82
82
|
export type EventQueueItem = {
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { L as LegalEntityTypes, a5 as CountryCodes } from "./StoreProvider-
|
|
10
|
+
import { L as LegalEntityTypes, a5 as CountryCodes } from "./StoreProvider-BWH3E9ba.js";
|
|
11
11
|
const trustMemberLegalEntityTypes = [
|
|
12
12
|
LegalEntityTypes.INDIVIDUAL,
|
|
13
13
|
LegalEntityTypes.ORGANIZATION
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { a5 as CountryCodes } from "./StoreProvider-
|
|
10
|
+
import { a5 as CountryCodes } from "./StoreProvider-BWH3E9ba.js";
|
|
11
11
|
import { C as Currencies } from "./currency-CrdnaaDu.js";
|
|
12
12
|
const currencyByCountry = {
|
|
13
13
|
[CountryCodes.Australia]: [Currencies.AUD],
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { skipToken } from "@tanstack/preact-query";
|
|
11
11
|
import { useMemo } from "preact/hooks";
|
|
12
|
-
import { a8 as createLogger, C as useLegalEntity } from "./StoreProvider-
|
|
12
|
+
import { a8 as createLogger, C as useLegalEntity } from "./StoreProvider-BWH3E9ba.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] = "ea3ddd9f-9763-4f48-8ed3-f4d021e52002", e._sentryDebugIdIdentifier = "sentry-dbid-ea3ddd9f-9763-4f48-8ed3-f4d021e52002");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
@@ -10,63 +10,63 @@
|
|
|
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, useRef, 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 useScenarios } from "./useScenarios-
|
|
15
|
-
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-
|
|
16
|
-
import { u as useToastContext, a as useInvalidateRootLegalEntity } from "./useToastContext-
|
|
17
|
-
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
18
|
-
import { u as useTranslation, bH as isISIN, v as useExperimentsContext, Z as Button, C as useLegalEntity, R as ROOT_LE, ag as datasetUtilities, au as Header, z as Typography, G as Loader, a5 as CountryCodes, H as useSettingsContext, aI as useAllowedCountries, b as useApiContext, a3 as httpPost, B as StackLayout, r as Alert, ai as entriesOf, m as useAnalyticsContext, a8 as createLogger, k as useAccountHolder, af as useI18nContext, aq as isEmpty, i as isUndefinedOrNull, h as TaskTypes, L as LegalEntityTypes, bI as businessDetailsComponentsKeyMapping, bJ as solePropBusinessDetailsKeyMapping, ab as objectsDeepEqual, aN as keysOf, bK as solePropBusinessDetailsApiKeyMapping, bh as businessDetailsApiKeyMapping, aH as Scenarios, aU as filterOutUnwantedAssociationsIfRootLE, aS as drop, am as getOwnEntityAssociations, aZ as doArraysMatch, bL as solePropBusinessDetailsDocumentMapping, bM as businessDetailsDocumentMapping } from "./StoreProvider-
|
|
19
|
-
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-
|
|
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-TXNjWpIG.js";
|
|
14
|
+
import { u as useScenarios } from "./useScenarios-DSpc898-.js";
|
|
15
|
+
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-D5s-lZwZ.js";
|
|
16
|
+
import { u as useToastContext, a as useInvalidateRootLegalEntity } from "./useToastContext-BtLAxaNl.js";
|
|
17
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-BNsvQpIe.js";
|
|
18
|
+
import { u as useTranslation, bH as isISIN, v as useExperimentsContext, Z as Button, C as useLegalEntity, R as ROOT_LE, ag as datasetUtilities, au as Header, z as Typography, G as Loader, a5 as CountryCodes, H as useSettingsContext, aI as useAllowedCountries, b as useApiContext, a3 as httpPost, B as StackLayout, r as Alert, ai as entriesOf, m as useAnalyticsContext, a8 as createLogger, k as useAccountHolder, af as useI18nContext, aq as isEmpty, i as isUndefinedOrNull, h as TaskTypes, L as LegalEntityTypes, bI as businessDetailsComponentsKeyMapping, bJ as solePropBusinessDetailsKeyMapping, ab as objectsDeepEqual, aN as keysOf, bK as solePropBusinessDetailsApiKeyMapping, bh as businessDetailsApiKeyMapping, aH as Scenarios, aU as filterOutUnwantedAssociationsIfRootLE, aS as drop, am as getOwnEntityAssociations, aZ as doArraysMatch, bL as solePropBusinessDetailsDocumentMapping, bM as businessDetailsDocumentMapping } from "./StoreProvider-BWH3E9ba.js";
|
|
19
|
+
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-BqP4U54l.js";
|
|
20
20
|
import { C as CompanyTypesValues } from "./company-types-value-D_mKv5PT.js";
|
|
21
|
-
import { c as composePerScenarioFormConfigurations, g as getPropsFromConfigurations } from "./process-field-configurations-
|
|
22
|
-
import { a as addValidityToForms, u as useFormComposer } from "./dropinUtils-
|
|
23
|
-
import { u as useMultiForm } from "./useMultiForm-
|
|
24
|
-
import { u as uppercase, m as mapExistingFile, g as getPageName, b as useScenarioConfiguration } from "./mapExistingFile-
|
|
25
|
-
import { C as Confirm } from "./Confirm-
|
|
26
|
-
import { a as getDocument, j as getDocuments, c as createDocumentRequest, k as mergeProofOfOwnershipAttachments, b as getFileExtention, d as documentApiUtils } from "./validate-
|
|
27
|
-
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, f as getTaxInformationPlaceholderText, S as StateCodesUS, h as isUsingCompanySearch, M as MemoizedDocumentUpload, j as getCompanyRegistrationNumberOptions, k as countryToTaxInfoTypeMap, l as isRegistrationNumberAbsentStateV4Scenario, m as getTaxIdNumberOptions, n as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, o as rules, g as getFieldsWithExistingData } from "./TaxInformationField-
|
|
28
|
-
import { u as usePageLandedEvent, s as summaryStep } from "./Summary-
|
|
29
|
-
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, a as defaultFieldConfig, 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-
|
|
30
|
-
import { K as KEYBOARD_KEYS, M as Modal, a as ModalContent } from "./Modal-
|
|
31
|
-
import { t as toFullWidth, a as mapJpAddressSummary, m as mapJpAddressSchemaToAddressLocalizations } from "./mapJpAddressSchemaToAddressLocalizations-
|
|
32
|
-
import { g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET, a as getAddressSchemaLabelsByCountry, m as mapAddressLabels, c as getKeyForField } from "./utils-
|
|
21
|
+
import { c as composePerScenarioFormConfigurations, g as getPropsFromConfigurations } from "./process-field-configurations-CdcmRpYA.js";
|
|
22
|
+
import { a as addValidityToForms, u as useFormComposer } from "./dropinUtils-BR6FQlKT.js";
|
|
23
|
+
import { u as useMultiForm } from "./useMultiForm-qc4_58sn.js";
|
|
24
|
+
import { u as uppercase, m as mapExistingFile, g as getPageName, b as useScenarioConfiguration } from "./mapExistingFile-C5Qv3u3V.js";
|
|
25
|
+
import { C as Confirm } from "./Confirm-Dj404jbd.js";
|
|
26
|
+
import { a as getDocument, j as getDocuments, c as createDocumentRequest, k as mergeProofOfOwnershipAttachments, b as getFileExtention, d as documentApiUtils } from "./validate-F0Rs0x5e.js";
|
|
27
|
+
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, f as getTaxInformationPlaceholderText, S as StateCodesUS, h as isUsingCompanySearch, M as MemoizedDocumentUpload, j as getCompanyRegistrationNumberOptions, k as countryToTaxInfoTypeMap, l as isRegistrationNumberAbsentStateV4Scenario, m as getTaxIdNumberOptions, n as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, o as rules, g as getFieldsWithExistingData } from "./TaxInformationField-Cunwl2sG.js";
|
|
28
|
+
import { u as usePageLandedEvent, s as summaryStep } from "./Summary-CvCyV2hU.js";
|
|
29
|
+
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, a as defaultFieldConfig, 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-BmmKeBpa.js";
|
|
30
|
+
import { K as KEYBOARD_KEYS, M as Modal, a as ModalContent } from "./Modal-Clg5zjtw.js";
|
|
31
|
+
import { t as toFullWidth, a as mapJpAddressSummary, m as mapJpAddressSchemaToAddressLocalizations } from "./mapJpAddressSchemaToAddressLocalizations-CgLvj2x1.js";
|
|
32
|
+
import { g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET, a as getAddressSchemaLabelsByCountry, m as mapAddressLabels, c as getKeyForField } from "./utils-J2EeeAsL.js";
|
|
33
33
|
import { r as resolveFieldMetadata } from "./fieldConfigurations-BUT9DTUH.js";
|
|
34
34
|
import { s as summaryItem } from "./summaryItem-CAQCQSkt.js";
|
|
35
|
-
import { f as formatCurrency, A as ALLOWED_SOF_SERVICES } from "./utils-
|
|
36
|
-
import { b as useAddressCleanse, f as formatAddressForCleanse, m as mapAddressData, A as Address, g as getNestedTrustedFields, S as STATE_FIELD, d as defaultFieldMetadata$1, c as defaultFieldConfig$1, e as StateField, i as isDateOlderThanAYear } from "./Address-
|
|
35
|
+
import { f as formatCurrency, A as ALLOWED_SOF_SERVICES } from "./utils-TdGg-Brl.js";
|
|
36
|
+
import { b as useAddressCleanse, f as formatAddressForCleanse, m as mapAddressData, A as Address, g as getNestedTrustedFields, S as STATE_FIELD, d as defaultFieldMetadata$1, c as defaultFieldConfig$1, e as StateField, i as isDateOlderThanAYear } from "./Address-DYcjUVJR.js";
|
|
37
37
|
import { S as SettingNames } from "./types-CQ2p58-6.js";
|
|
38
|
-
import { o as organizationTypesToSkipCompanyStructureForm } from "./utils-
|
|
39
|
-
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-
|
|
40
|
-
import { i as isEmpty$1 } from "./isEmpty-
|
|
38
|
+
import { o as organizationTypesToSkipCompanyStructureForm } from "./utils-XiEWYRYH.js";
|
|
39
|
+
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-C_lTZTYg.js";
|
|
40
|
+
import { i as isEmpty$1 } from "./isEmpty-DAZtgvI3.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-C3BBSuI_.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-D8GAh_KT.js";
|
|
45
|
+
import { u as useBusinessLines } from "./useBusinessLines-CrOTGwfX.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 { E as ErrorPanel } from "./ErrorPanel-
|
|
50
|
-
import { I as InputDate, f as formatDateObj } from "./InputDate-
|
|
51
|
-
import { a as validateNotEmptyOnBlur, v as validatePatternOnBlur, b as validateJaKanaLegalCompanyName, c as validateJaHaniLegalCompanyName } from "./patternValidators-
|
|
52
|
-
import { M as MaskedInput, m as makeMask, d as alphanumericInputs, b as alphaInputs, n as numericInputs } from "./MaskedInput-
|
|
53
|
-
import { m as mergeFieldMetadataIntoProps, c as createFormUtils } from "./formUtils-
|
|
54
|
-
import { i as isJapanLocalizationEnabled } from "./japanSupportUtils-
|
|
47
|
+
import { C as Checkbox } from "./Checkbox-Czl07sQR.js";
|
|
48
|
+
import { F as Field } from "./Field-CwFxUG4S.js";
|
|
49
|
+
import { E as ErrorPanel } from "./ErrorPanel-CmkNrtcM.js";
|
|
50
|
+
import { I as InputDate, f as formatDateObj } from "./InputDate-xJYFktYU.js";
|
|
51
|
+
import { a as validateNotEmptyOnBlur, v as validatePatternOnBlur, b as validateJaKanaLegalCompanyName, c as validateJaHaniLegalCompanyName } from "./patternValidators-BnIR4gA-.js";
|
|
52
|
+
import { M as MaskedInput, m as makeMask, d as alphanumericInputs, b as alphaInputs, n as numericInputs } from "./MaskedInput-Dl_2fV_0.js";
|
|
53
|
+
import { m as mergeFieldMetadataIntoProps, c as createFormUtils } from "./formUtils-BwYBoQsx.js";
|
|
54
|
+
import { i as isJapanLocalizationEnabled } from "./japanSupportUtils-fpWnynCx.js";
|
|
55
55
|
import { u as useDebouncedCallback } from "./debouncedInputEvent-Cv2S512Y.js";
|
|
56
56
|
import { signal } from "@preact/signals";
|
|
57
57
|
import cx from "classnames";
|
|
58
|
-
import { L as Link } from "./Link-
|
|
58
|
+
import { L as Link } from "./Link-Rx1tLf8b.js";
|
|
59
59
|
import { S as StructuredList } from "./StructuredList-Bh1vlAFE.js";
|
|
60
|
-
import { I as InputText } from "./InputText-
|
|
61
|
-
import { C as CountryField, a as COUNTRY_FIELD } from "./CountryField-
|
|
62
|
-
import { L as LoaderWrapper } from "./LoaderWrapper-
|
|
60
|
+
import { I as InputText } from "./InputText-Bld610xH.js";
|
|
61
|
+
import { C as CountryField, a as COUNTRY_FIELD } from "./CountryField-CXtWJ2cJ.js";
|
|
62
|
+
import { L as LoaderWrapper } from "./LoaderWrapper-CBknZ9Da.js";
|
|
63
63
|
import { C as Card } from "./Card-OQuFzmxm.js";
|
|
64
|
-
import { L as ListItem } from "./ListItem-
|
|
65
|
-
import { T as TileGroup } from "./TileGroup-
|
|
66
|
-
import { R as RadioGroup } from "./RadioGroup-
|
|
67
|
-
import { u as useGlobalDataSlice } from "./useGlobalData-
|
|
68
|
-
import { u as useForm } from "./useForm-
|
|
69
|
-
import { c as currencyByCountry } from "./types-
|
|
64
|
+
import { L as ListItem } from "./ListItem-DyhLxJBS.js";
|
|
65
|
+
import { T as TileGroup } from "./TileGroup-BoDB8Oqb.js";
|
|
66
|
+
import { R as RadioGroup } from "./RadioGroup-f1fWKiU5.js";
|
|
67
|
+
import { u as useGlobalDataSlice } from "./useGlobalData-Brqm6mMI.js";
|
|
68
|
+
import { u as useForm } from "./useForm-B3J1SQIH.js";
|
|
69
|
+
import { c as currencyByCountry } from "./types-BmIsIHxa.js";
|
|
70
70
|
const DATE_OF_INCORPORATION_FIELD = [
|
|
71
71
|
"dateOfIncorporation"
|
|
72
72
|
];
|
|
@@ -409,7 +409,7 @@ function VerifiedBusinessCard({
|
|
|
409
409
|
] });
|
|
410
410
|
}
|
|
411
411
|
const LazyJpAddress = lazy(
|
|
412
|
-
async () => (await import("./JpAddress-
|
|
412
|
+
async () => (await import("./JpAddress-M8LO5qWN.js")).JpAddress
|
|
413
413
|
);
|
|
414
414
|
const ADDITIONAL_INFORMATION_FORM_ID = "additionalInformation";
|
|
415
415
|
const ADDITIONAL_INFORMATION_FIELDS = [
|
|
@@ -5067,7 +5067,7 @@ function BusinessDetailsDropin({
|
|
|
5067
5067
|
useEffect(() => {
|
|
5068
5068
|
if (!searchingCompanies && companySearchResponse?.results) {
|
|
5069
5069
|
userEvents.addPageEvent("Success", {
|
|
5070
|
-
actionType: "
|
|
5070
|
+
actionType: "resolve",
|
|
5071
5071
|
returnValue: "companySearch",
|
|
5072
5072
|
additionalData: {
|
|
5073
5073
|
numberOfResults: companySearchResponse.results.length
|
|
@@ -5088,10 +5088,6 @@ function BusinessDetailsDropin({
|
|
|
5088
5088
|
return handleNextClick(currentForms);
|
|
5089
5089
|
}
|
|
5090
5090
|
try {
|
|
5091
|
-
userEvents.addPageEvent("Triggered async operation", {
|
|
5092
|
-
actionType: "start",
|
|
5093
|
-
returnValue: "companySearch"
|
|
5094
|
-
});
|
|
5095
5091
|
setLoadingStatus("loading");
|
|
5096
5092
|
tinMatched.value = void 0;
|
|
5097
5093
|
verifiedBusiness.value = void 0;
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useQuery } from "@tanstack/preact-query";
|
|
11
|
-
import { b as useApiContext, j as httpGet } from "./StoreProvider-
|
|
11
|
+
import { b as useApiContext, j as httpGet } from "./StoreProvider-BWH3E9ba.js";
|
|
12
12
|
const getBusinessLines = async (legalEntityId, baseUrl) => {
|
|
13
13
|
return httpGet({
|
|
14
14
|
baseUrl,
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { S as SettingNames } from "./types-CQ2p58-6.js";
|
|
11
|
-
import { O as isPartOfTrustFromLegalEntity, U as hasSolePropInLegalEntity, L as LegalEntityTypes, H as useSettingsContext } from "./StoreProvider-
|
|
11
|
+
import { O as isPartOfTrustFromLegalEntity, U as hasSolePropInLegalEntity, L as LegalEntityTypes, H as useSettingsContext } from "./StoreProvider-BWH3E9ba.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, a3 as httpPost } from "./StoreProvider-
|
|
11
|
+
import { b as useApiContext, a3 as httpPost } from "./StoreProvider-BWH3E9ba.js";
|
|
12
12
|
const createLegalEntity = async (legalEntityId, baseUrl, data) => {
|
|
13
13
|
return httpPost(
|
|
14
14
|
{
|
package/dist/{useDataMissingRemediations-CjxCe3yc.js → useDataMissingRemediations-9UhYDXLS.js}
RENAMED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useMemo } from "preact/hooks";
|
|
11
|
-
import { u as useTranslation, ad as EntityTypes, bx as DATA_MISSING_DECISION_MAKER_ERROR_CODE_MAPPING, h as TaskTypes } from "./StoreProvider-
|
|
11
|
+
import { u as useTranslation, ad as EntityTypes, bx as DATA_MISSING_DECISION_MAKER_ERROR_CODE_MAPPING, h as TaskTypes } from "./StoreProvider-BWH3E9ba.js";
|
|
12
12
|
function useDataMissingRemediations({
|
|
13
13
|
legalEntityId,
|
|
14
14
|
problems
|
package/dist/{useDeleteTransferInstrument-HN2BLhyP.js → useDeleteTransferInstrument-CPLggK7o.js}
RENAMED
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useMutation } from "@tanstack/preact-query";
|
|
11
|
-
import { a as useInvalidateRootLegalEntity } from "./useToastContext-
|
|
12
|
-
import { b as useApiContext, al as httpDelete } from "./StoreProvider-
|
|
11
|
+
import { a as useInvalidateRootLegalEntity } from "./useToastContext-BtLAxaNl.js";
|
|
12
|
+
import { b as useApiContext, al as httpDelete } from "./StoreProvider-BWH3E9ba.js";
|
|
13
13
|
const deleteTransferInstrument = async (legalEntityId, baseUrl, transferInstrumentId) => {
|
|
14
14
|
return httpDelete({
|
|
15
15
|
baseUrl,
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useState, useCallback, useMemo, useReducer, useEffect } from "preact/hooks";
|
|
11
|
-
import { a8 as createLogger, aq as isEmpty, aZ as doArraysMatch } from "./StoreProvider-
|
|
12
|
-
import { V as ValidationResult, o as omitKeys, a as addKeys } from "./utils-
|
|
11
|
+
import { a8 as createLogger, aq as isEmpty, aZ as doArraysMatch } from "./StoreProvider-BWH3E9ba.js";
|
|
12
|
+
import { V as ValidationResult, o as omitKeys, a as addKeys } from "./utils-_Ga2UTWr.js";
|
|
13
13
|
const logger = createLogger();
|
|
14
14
|
const useAsyncValidator = (asyncRules) => {
|
|
15
15
|
const [asyncValidationResults, setAsyncValidationResults] = useState({});
|
|
@@ -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 { m as useAnalyticsContext, u as useTranslation, Z as Button } from "./StoreProvider-
|
|
14
|
-
import { L as LoaderWrapper } from "./LoaderWrapper-
|
|
15
|
-
import { M as MaybeModal } from "./MaybeModal-
|
|
13
|
+
import { m as useAnalyticsContext, u as useTranslation, Z as Button } from "./StoreProvider-BWH3E9ba.js";
|
|
14
|
+
import { L as LoaderWrapper } from "./LoaderWrapper-CBknZ9Da.js";
|
|
15
|
+
import { M as MaybeModal } from "./MaybeModal-DPO3iz_q.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-BR6FQlKT.js";
|
|
18
|
+
import { C as Confirm } from "./Confirm-Dj404jbd.js";
|
|
19
|
+
import { S as Summary } from "./Summary-CvCyV2hU.js";
|
|
20
20
|
import { createContext } from "preact";
|
|
21
21
|
const FormContext = createContext(null);
|
|
22
22
|
function FormContextProvider({
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { useContext, useCallback, useMemo } from "preact/hooks";
|
|
11
11
|
import { a as debounce } from "./debouncedInputEvent-Cv2S512Y.js";
|
|
12
|
-
import { bl as StateContext } from "./StoreProvider-
|
|
12
|
+
import { bl as StateContext } from "./StoreProvider-BWH3E9ba.js";
|
|
13
13
|
function useStateContext() {
|
|
14
14
|
const context = useContext(StateContext);
|
|
15
15
|
return context;
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useCallback, useMemo, useReducer, useEffect } from "preact/hooks";
|
|
11
|
-
import { ab as objectsDeepEqual, a8 as createLogger, aq as isEmpty } from "./StoreProvider-
|
|
12
|
-
import { V as ValidationResult } from "./utils-
|
|
13
|
-
import { a as isNotEmptyValidator } from "./commonValidators-
|
|
11
|
+
import { ab as objectsDeepEqual, a8 as createLogger, aq as isEmpty } from "./StoreProvider-BWH3E9ba.js";
|
|
12
|
+
import { V as ValidationResult } from "./utils-_Ga2UTWr.js";
|
|
13
|
+
import { a as isNotEmptyValidator } from "./commonValidators-C7utqwzn.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;
|
|
@@ -9,88 +9,88 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { matchRoute, useLocation } from "wouter-preact";
|
|
11
11
|
import { lazy } from "preact/compat";
|
|
12
|
-
import { h as TaskTypes } from "./StoreProvider-
|
|
12
|
+
import { h as TaskTypes } from "./StoreProvider-BWH3E9ba.js";
|
|
13
13
|
const Introduction = lazy(
|
|
14
|
-
async () => (await import("./Introduction-
|
|
14
|
+
async () => (await import("./Introduction-Y4kn2wIR.js")).Introduction
|
|
15
15
|
);
|
|
16
16
|
const BusinessTypeSelectionPage = lazy(
|
|
17
|
-
async () => (await import("./BusinessTypeSelectionPage-
|
|
17
|
+
async () => (await import("./BusinessTypeSelectionPage-BXLFDSNj.js")).BusinessTypeSelectionPage
|
|
18
18
|
);
|
|
19
19
|
const SingpassSelection = lazy(
|
|
20
|
-
async () => (await import("./SingpassSelection-
|
|
20
|
+
async () => (await import("./SingpassSelection-BfSI1-ML.js")).SingpassSelection
|
|
21
21
|
);
|
|
22
22
|
const AccountSetupRejected = lazy(
|
|
23
|
-
async () => (await import("./AccountSetupRejected-
|
|
23
|
+
async () => (await import("./AccountSetupRejected-CFFqpbf5.js")).AccountSetupRejected
|
|
24
24
|
);
|
|
25
25
|
const DecisionMakers = lazy(
|
|
26
|
-
async () => (await import("./DecisionMakers-
|
|
26
|
+
async () => (await import("./DecisionMakers-CRWZS3lI.js")).DecisionMakers
|
|
27
27
|
);
|
|
28
28
|
const CustomerSupport = lazy(
|
|
29
|
-
async () => (await import("./CustomerSupport-
|
|
29
|
+
async () => (await import("./CustomerSupport-D7ylyPKY.js")).CustomerSupport
|
|
30
30
|
);
|
|
31
|
-
const Review = lazy(async () => (await import("./Review-
|
|
31
|
+
const Review = lazy(async () => (await import("./Review-BpsNOp4F.js")).Review);
|
|
32
32
|
const SignPCIComponent = lazy(
|
|
33
|
-
async () => (await import("./SignPCIComponent-
|
|
33
|
+
async () => (await import("./SignPCIComponent-Y3johwRJ.js")).SignPCIComponent
|
|
34
34
|
);
|
|
35
35
|
const AcceptTermsOfService = lazy(
|
|
36
|
-
async () => (await import("./AcceptTermsOfServiceComponent-
|
|
36
|
+
async () => (await import("./AcceptTermsOfServiceComponent-CxiQwvJk.js")).AcceptTermsOfServiceComponent
|
|
37
37
|
);
|
|
38
38
|
const TaxReportingDropin = lazy(
|
|
39
|
-
async () => (await import("./TaxReportingDropin-
|
|
39
|
+
async () => (await import("./TaxReportingDropin-Bj1chorw.js")).TaxReportingDropin
|
|
40
40
|
);
|
|
41
41
|
const PayoutDetailsPage = lazy(
|
|
42
|
-
async () => (await import("./PayoutDetailsDropin-
|
|
42
|
+
async () => (await import("./PayoutDetailsDropin-33AnK03h.js").then((n) => n.a)).PayoutDetailsPage
|
|
43
43
|
);
|
|
44
44
|
const RootBusinessDetailsPage = lazy(
|
|
45
|
-
async () => (await import("./RootBusinessDetailsPage-
|
|
45
|
+
async () => (await import("./RootBusinessDetailsPage-B8Bs6uRc.js")).RootBusinessDetailsPage
|
|
46
46
|
);
|
|
47
47
|
const RootBusinessLinesPage = lazy(
|
|
48
|
-
async () => (await import("./RootBusinessLinesPage-
|
|
48
|
+
async () => (await import("./RootBusinessLinesPage-ClxhYLqV.js")).RootBusinessLinesPage
|
|
49
49
|
);
|
|
50
50
|
const SoleProprietorshipPage = lazy(
|
|
51
|
-
async () => (await import("./SoleProprietorshipPage-
|
|
51
|
+
async () => (await import("./SoleProprietorshipPage-aVHLdSAU.js")).SoleProprietorshipPage
|
|
52
52
|
);
|
|
53
53
|
const TrustMemberCompanyPage = lazy(
|
|
54
|
-
async () => (await import("./TrustMemberCompanyPage-
|
|
54
|
+
async () => (await import("./TrustMemberCompanyPage-BW40Ezkp.js")).TrustMemberCompanyPage
|
|
55
55
|
);
|
|
56
56
|
const TrustMemberIndividualPage = lazy(
|
|
57
|
-
async () => (await import("./TrustMemberIndividualPage-
|
|
57
|
+
async () => (await import("./TrustMemberIndividualPage-BwlIf4n1.js")).TrustMemberIndividualPage
|
|
58
58
|
);
|
|
59
59
|
const TrustMemberRoleAndTypePage = lazy(
|
|
60
|
-
async () => (await import("./TrustMemberRoleAndTypePage-
|
|
60
|
+
async () => (await import("./TrustMemberRoleAndTypePage-DrR1LXsH.js")).TrustMemberRoleAndTypePage
|
|
61
61
|
);
|
|
62
62
|
const TrustMembersOverview = lazy(
|
|
63
|
-
async () => (await import("./TrustMembersOverview-
|
|
63
|
+
async () => (await import("./TrustMembersOverview-BKg8hNgu.js")).TrustMembersOverview
|
|
64
64
|
);
|
|
65
65
|
const UnincorporatedPartnershipMemberCompanyPage = lazy(
|
|
66
|
-
async () => (await import("./UnincorporatedPartnershipMemberCompanyPage-
|
|
66
|
+
async () => (await import("./UnincorporatedPartnershipMemberCompanyPage-DVqwHqG5.js")).UnincorporatedPartnershipMemberCompanyPage
|
|
67
67
|
);
|
|
68
68
|
const UnincorporatedPartnershipIndividualPage = lazy(
|
|
69
|
-
async () => (await import("./UnincorporatedPartnershipIndividualPage-
|
|
69
|
+
async () => (await import("./UnincorporatedPartnershipIndividualPage-SqRyyZ1H.js")).UnincorporatedPartnershipIndividualPage
|
|
70
70
|
);
|
|
71
71
|
const UnincorporatedPartnershipMemberRoleAndTypePage = lazy(
|
|
72
|
-
async () => (await import("./UnincorporatedPartnershipMemberRoleAndTypePage-
|
|
72
|
+
async () => (await import("./UnincorporatedPartnershipMemberRoleAndTypePage-BfBCJGUL.js")).UnincorporatedPartnershipMemberRoleAndTypePage
|
|
73
73
|
);
|
|
74
74
|
const UnincorporatedPartnershipMembersOverview = lazy(
|
|
75
|
-
async () => (await import("./UnincorporatedPartnershipMembersOverview-
|
|
75
|
+
async () => (await import("./UnincorporatedPartnershipMembersOverview-T5V5sIWL.js")).UnincorporatedPartnershipMembersOverview
|
|
76
76
|
);
|
|
77
77
|
const BusinessFinancingPage = lazy(
|
|
78
|
-
async () => (await import("./BusinessFinancingPage-
|
|
78
|
+
async () => (await import("./BusinessFinancingPage-D2mvDwJ9.js")).BusinessFinancingPage
|
|
79
79
|
);
|
|
80
80
|
const TrustDetailsPage = lazy(
|
|
81
|
-
async () => (await import("./TrustDetailsPage-
|
|
81
|
+
async () => (await import("./TrustDetailsPage-DnzPm-4e.js")).TrustDetailsPage
|
|
82
82
|
);
|
|
83
83
|
const SourceOfFundsPage = lazy(
|
|
84
|
-
async () => (await import("./SourceOfFundsPage-
|
|
84
|
+
async () => (await import("./SourceOfFundsPage-L42Ggk31.js")).SourceOfFundsPage
|
|
85
85
|
);
|
|
86
86
|
const RootIndividualDetailsPage = lazy(
|
|
87
|
-
async () => (await import("./RootIndividualDetailsPage-
|
|
87
|
+
async () => (await import("./RootIndividualDetailsPage-CsyGYHTx.js")).RootIndividualDetailsPage
|
|
88
88
|
);
|
|
89
89
|
const LegalRepresentativeDetailsPage = lazy(
|
|
90
|
-
async () => (await import("./LegalRepresentativeDetailsPage-
|
|
90
|
+
async () => (await import("./LegalRepresentativeDetailsPage-CJqPzB3s.js")).LegalRepresentativeDetailsPage
|
|
91
91
|
);
|
|
92
92
|
const DecisionMakerDetailsPage = lazy(
|
|
93
|
-
async () => (await import("./DecisionMakerDetailsPage-
|
|
93
|
+
async () => (await import("./DecisionMakerDetailsPage-DvX5K2F4.js")).DecisionMakerDetailsPage
|
|
94
94
|
);
|
|
95
95
|
const ROUTE_CONFIG = {
|
|
96
96
|
[TaskTypes.TASKS_OVERVIEW]: { path: "/tasks" },
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useQuery } from "@tanstack/preact-query";
|
|
11
|
-
import { b as useApiContext, j as httpGet } from "./StoreProvider-
|
|
11
|
+
import { b as useApiContext, j as httpGet } from "./StoreProvider-BWH3E9ba.js";
|
|
12
12
|
const getOnboardingStatus = async (legalEntityId, baseUrl) => {
|
|
13
13
|
return httpGet({
|
|
14
14
|
baseUrl,
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useQuery } from "@tanstack/preact-query";
|
|
11
|
-
import { b as useApiContext, j as httpGet } from "./StoreProvider-
|
|
11
|
+
import { b as useApiContext, j as httpGet } from "./StoreProvider-BWH3E9ba.js";
|
|
12
12
|
const getPciQuestionnaireList = async (legalEntityId, baseUrl) => {
|
|
13
13
|
return httpGet({
|
|
14
14
|
baseUrl,
|