@adyen/kyc-components 4.3.0-beta.3 → 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-N02RdMPd.js → AcceptTermsOfServiceComponent-CxiQwvJk.js} +14 -14
- package/dist/{AccountSetupRejected-qppDNaqT.js → AccountSetupRejected-CFFqpbf5.js} +1 -1
- package/dist/{ActionBar-DPsZuOH9.js → ActionBar-Ctn54Y2A.js} +1 -1
- package/dist/{Address-Bg1lSSzj.js → Address-DYcjUVJR.js} +9 -9
- package/dist/{Avatar-DwoN96es.js → Avatar-DetG5lKT.js} +1 -1
- package/dist/{BusinessFinancingComponent-BCtcIpsh.js → BusinessFinancingComponent-CLjrTCZX.js} +4 -4
- package/dist/{BusinessFinancingDropin-CIBqxqkd.js → BusinessFinancingDropin-BfClJSkQ.js} +26 -26
- package/dist/{BusinessFinancingPage-DxGt5Ocj.js → BusinessFinancingPage-D2mvDwJ9.js} +3 -3
- package/dist/{BusinessTypeSelectionPage-Be153QpA.js → BusinessTypeSelectionPage-BXLFDSNj.js} +8 -8
- package/dist/{Checkbox-4pvm19W3.js → Checkbox-Czl07sQR.js} +1 -1
- package/dist/{Confirm-CiO_9zke.js → Confirm-Dj404jbd.js} +2 -2
- package/dist/{ConstitutionalDocument-C33ool-C.js → ConstitutionalDocument-BmmKeBpa.js} +16 -16
- package/dist/{ContactDetails-kXtXe8q_.js → ContactDetails-Cufj6PAe.js} +5 -5
- package/dist/{ContextGuidance-kiqztLD-.js → ContextGuidance-DtgBZK4G.js} +1 -1
- package/dist/{CountryField-BUevzQI8.js → CountryField-CXtWJ2cJ.js} +3 -3
- package/dist/{CreateIndividualComponent-BB9Lfbcl.js → CreateIndividualComponent-IeQLzzep.js} +4 -4
- package/dist/{CreateTransferInstrumentComponent-BSk4_wMu.js → CreateTransferInstrumentComponent-CuCprof3.js} +3 -3
- package/dist/{Currency-Co6wZF-F.js → Currency-C3BBSuI_.js} +6 -6
- package/dist/{CustomerSupport-9t0qwKkV.js → CustomerSupport-D7ylyPKY.js} +9 -9
- package/dist/{DebugModal-DsQGEEKQ.js → DebugModal-B7hCqbYi.js} +6 -6
- package/dist/{DecisionMakerDetailsPage-B69yV7Ke.js → DecisionMakerDetailsPage-DvX5K2F4.js} +5 -5
- package/dist/{DecisionMakers-Dq_xy40z.js → DecisionMakers-CRWZS3lI.js} +18 -18
- package/dist/{Dropzone-D5uZw2p8.js → Dropzone-DL2w1NGh.js} +3 -3
- package/dist/{EmbeddedStatus-CMUq4Ea3.js → EmbeddedStatus-D1b16Y6z.js} +2 -2
- package/dist/{EndStateLayout-B-Ov73GU.js → EndStateLayout-B6hLSI0I.js} +1 -1
- package/dist/{EntityAssociation-BxI3D_9n.js → EntityAssociation-jjYJZhw_.js} +4 -4
- package/dist/{EntityGuidanceStatus-CowsWEFV.js → EntityGuidanceStatus-BCrHVQnw.js} +2 -2
- package/dist/{ErrorPanel-BkOxqUcW.js → ErrorPanel-CmkNrtcM.js} +1 -1
- package/dist/{Field-DVRdcOuQ.js → Field-CwFxUG4S.js} +1 -1
- package/dist/{FormNavigation-DZrIDzq3.js → FormNavigation-Bzd8GI_y.js} +2 -2
- package/dist/{FormWrapper-Nz7qiETh.js → FormWrapper-C5cjNgOF.js} +8 -8
- package/dist/{Image-UERY5uEG.js → Image-dsUitZt9.js} +1 -1
- package/dist/{Individual.rules-BawDo3vY.js → Individual.rules-B1kJEwIy.js} +5 -5
- package/dist/{IndividualDropin-PNgIzhaT.js → IndividualDropin-Drcvb_K1.js} +48 -48
- package/dist/{InputDate-CZHWRWHn.js → InputDate-xJYFktYU.js} +1 -1
- package/dist/{InputText-BDr2xZC-.js → InputText-Bld610xH.js} +1 -1
- package/dist/{Introduction-BQnUHIkn.js → Introduction-Y4kn2wIR.js} +3 -3
- package/dist/{JpAddress-4C5uACEx.js → JpAddress-M8LO5qWN.js} +8 -8
- package/dist/{LandingLayout-CdcV6BDB.js → LandingLayout-tMw_lv0y.js} +1 -1
- package/dist/{LegalCompanyNameField-Dq-f0pJE.js → LegalCompanyNameField-D8GAh_KT.js} +5 -5
- package/dist/{LegalRepresentativeDetailsPage-8nf0eFso.js → LegalRepresentativeDetailsPage-CJqPzB3s.js} +3 -3
- package/dist/{Link-jp6BSst5.js → Link-Rx1tLf8b.js} +1 -1
- package/dist/{ListItem-BhuxnRwc.js → ListItem-DyhLxJBS.js} +2 -2
- package/dist/{LoaderWrapper-C4e9OdpX.js → LoaderWrapper-CBknZ9Da.js} +1 -1
- package/dist/{ManageIndividualComponent-Be8gdbmP.js → ManageIndividualComponent-BJgpHEnw.js} +4 -4
- package/dist/{ManageTermsOfServiceComponent-BxieINs4.js → ManageTermsOfServiceComponent-BIU-c5CG.js} +3 -3
- package/dist/{ManageTransferInstrumentComponent-DDgxsXIN.js → ManageTransferInstrumentComponent-BoDGtQwJ.js} +10 -10
- package/dist/{MaskedInput-K5CsmEdt.js → MaskedInput-Dl_2fV_0.js} +4 -4
- package/dist/{MaybeModal-BflNR2-2.js → MaybeModal-DPO3iz_q.js} +2 -2
- package/dist/{Modal-Bylrd08N.js → Modal-Clg5zjtw.js} +1 -1
- package/dist/{Name-AwICGMd0.js → Name-CG_KFcsI.js} +4 -4
- package/dist/{OnboardingDropinComponent-DDXpr_5c.js → OnboardingDropinComponent-B6Lx1nPd.js} +50 -50
- package/dist/{PayoutDetailsDropin-BMFYjkAi.js → PayoutDetailsDropin-33AnK03h.js} +38 -38
- package/dist/{RadioGroup-bUX5rcZj.js → RadioGroup-f1fWKiU5.js} +1 -1
- package/dist/{RadioGroupCard-C8HZZB2J.js → RadioGroupCard-BQ753Ka9.js} +1 -1
- package/dist/{Review-DW-0PrCC.js → Review-BpsNOp4F.js} +5 -5
- package/dist/{RootBusinessDetailsPage-iW8nQTPF.js → RootBusinessDetailsPage-B8Bs6uRc.js} +3 -3
- package/dist/{RootBusinessLinesPage-BRbwkL2R.js → RootBusinessLinesPage-ClxhYLqV.js} +25 -25
- package/dist/{RootIndividualDetailsPage-Yut0K0hU.js → RootIndividualDetailsPage-CsyGYHTx.js} +3 -3
- package/dist/{Select-CXXz1RK7.js → Select-D1F5NGjs.js} +3 -3
- package/dist/{SignPCIComponent-V4kihXYP.js → SignPCIComponent-Y3johwRJ.js} +10 -10
- package/dist/{SingpassSelection-CqqF6zJF.js → SingpassSelection-BfSI1-ML.js} +5 -5
- package/dist/{SoleProprietorshipPage-CN0pa1YB.js → SoleProprietorshipPage-aVHLdSAU.js} +3 -3
- package/dist/{SourceOfFundsPage-DmVuwfLS.js → SourceOfFundsPage-L42Ggk31.js} +30 -30
- package/dist/{StepProgressIndicator-DJn4rZ5t.js → StepProgressIndicator-CzNK-GNc.js} +1 -1
- package/dist/{StoreProvider-fQYx-RPc.js → StoreProvider-BWH3E9ba.js} +4 -4
- package/dist/{Summary-hGkJO37D.js → Summary-CvCyV2hU.js} +4 -4
- package/dist/{TaxInformationField-JdMfAIv8.js → TaxInformationField-Cunwl2sG.js} +17 -17
- package/dist/{TaxReportingDropin-CZZAp9FV.js → TaxReportingDropin-Bj1chorw.js} +13 -13
- package/dist/{TextArea-BiH1RRYp.js → TextArea-BoZthCA1.js} +1 -1
- package/dist/{TileGroup-CdqFygWv.js → TileGroup-BoDB8Oqb.js} +2 -2
- package/dist/{TrustDetailsPage-BMWmYwKG.js → TrustDetailsPage-DnzPm-4e.js} +31 -31
- package/dist/{TrustMemberCompanyPage-bfyqb3Mk.js → TrustMemberCompanyPage-BW40Ezkp.js} +4 -4
- package/dist/{TrustMemberIndividualPage-BnVTOtwf.js → TrustMemberIndividualPage-BwlIf4n1.js} +3 -3
- package/dist/{TrustMemberRoleAndTypePage-Co0y4L8A.js → TrustMemberRoleAndTypePage-DrR1LXsH.js} +20 -20
- package/dist/{TrustMembersOverview-IFzxS4GA.js → TrustMembersOverview-BKg8hNgu.js} +9 -9
- package/dist/{UnincorporatedPartnershipIndividualPage-DMX_NRCF.js → UnincorporatedPartnershipIndividualPage-SqRyyZ1H.js} +3 -3
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-CMhTcu6t.js → UnincorporatedPartnershipMemberCompanyPage-DVqwHqG5.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-BmMOPDaG.js → UnincorporatedPartnershipMemberRoleAndTypePage-BfBCJGUL.js} +9 -9
- package/dist/{UnincorporatedPartnershipMembersOverview-BtE5NtjF.js → UnincorporatedPartnershipMembersOverview-T5V5sIWL.js} +6 -6
- package/dist/{VerificationErrorAlert-Dh1YkL3d.js → VerificationErrorAlert-fNKHPIFN.js} +1 -1
- package/dist/{ViewVerificationStatusComponent-BTpnN2vP.js → ViewVerificationStatusComponent-6yMx8KGW.js} +2 -2
- package/dist/{accountHolderUtils-rpJd6WrL.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-DcLbZWp-.js → bafinUtils-ocpQBVHv.js} +1 -1
- package/dist/{commonValidators-c_nO9sQJ.js → commonValidators-C7utqwzn.js} +1 -1
- package/dist/{dropinUtils-BCy_VUQ7.js → dropinUtils-BR6FQlKT.js} +5 -7
- package/dist/{formUtils-CRcJbbRb.js → formUtils-BwYBoQsx.js} +2 -2
- package/dist/{getName-qR9fguc7.js → getName-P8LWHe4X.js} +1 -1
- package/dist/{getProblemsForEntity-BuH9zCjL.js → getProblemsForEntity-B6TquhHO.js} +1 -1
- package/dist/{iframeWidget-D3xqr78r.js → iframeWidget-rupjAtH8.js} +3 -3
- package/dist/{isEmpty-CYgAPBO_.js → isEmpty-DAZtgvI3.js} +1 -1
- package/dist/{japanSupportUtils-DMYU8nVm.js → japanSupportUtils-fpWnynCx.js} +1 -1
- package/dist/{localizeDateString-Cum2LWIN.js → localizeDateString-CyW6k1R8.js} +1 -1
- package/dist/{mapExistingFile-BMfqEXKo.js → mapExistingFile-C5Qv3u3V.js} +3 -3
- package/dist/{mapJpAddressSchemaToAddressLocalizations-DJ-Mhet1.js → mapJpAddressSchemaToAddressLocalizations-CgLvj2x1.js} +1 -1
- package/dist/{mapLegalEntityToIndividualSchema-Cr447xyd.js → mapLegalEntityToIndividualSchema-CpbODYlF.js} +3 -3
- package/dist/{mapTransferInstrumentToPayoutAccount-D95_lgpR.js → mapTransferInstrumentToPayoutAccount-Z1djH2ML.js} +1 -1
- package/dist/{patternValidators-NunsWcYm.js → patternValidators-BnIR4gA-.js} +1 -1
- package/dist/{process-field-configurations-Cxprq5Bv.js → process-field-configurations-CdcmRpYA.js} +2 -2
- package/dist/{resolveEnvironment-CbPqGmgO.js → resolveEnvironment-QZpVTNGD.js} +3 -3
- package/dist/{roleMetadata-BPMWB7Co.js → roleMetadata-C0L5wL9H.js} +1 -1
- package/dist/types/core/user-events.d.ts +1 -1
- package/dist/{types-CajVo6N9.js → types-BGjwGjdJ.js} +1 -1
- package/dist/{types-BU7-Cx4D.js → types-BmIsIHxa.js} +1 -1
- package/dist/{types-B0REvjqJ.js → types-kZEVKWh5.js} +1 -1
- package/dist/{useAssociatedLegalEntity-CeJzxLG3.js → useAssociatedLegalEntity-BL7W3NB4.js} +1 -1
- package/dist/{useBusinessDetailsData-Dtkh2qCL.js → useBusinessDetailsData-T-2hN3u_.js} +48 -52
- package/dist/{useBusinessLines-CI7V55s9.js → useBusinessLines-CrOTGwfX.js} +1 -1
- package/dist/{useCanSeeIntroduction-C90WBJIj.js → useCanSeeIntroduction-V5qM-BFd.js} +1 -1
- package/dist/{useCreateLegalEntity-Dj5Svx3v.js → useCreateLegalEntity-D5s-lZwZ.js} +1 -1
- package/dist/{useDataMissingRemediations-CMoZmPj8.js → useDataMissingRemediations-9UhYDXLS.js} +1 -1
- package/dist/{useDeleteTransferInstrument-DeshUcGV.js → useDeleteTransferInstrument-CPLggK7o.js} +2 -2
- package/dist/{useForm-B7W5yMWm.js → useForm-B3J1SQIH.js} +2 -2
- package/dist/{useFormContext-CC7hF-So.js → useFormContext-BqP4U54l.js} +6 -6
- package/dist/{useGlobalData-Bsa1YYFJ.js → useGlobalData-Brqm6mMI.js} +1 -1
- package/dist/{useMultiForm-B8wZN7OS.js → useMultiForm-qc4_58sn.js} +3 -3
- package/dist/{useNavigate-CDqshXn_.js → useNavigate-CkxGAEou.js} +29 -29
- package/dist/{useOnboardingStatus-Bx93aUc5.js → useOnboardingStatus-BAFwB8A4.js} +1 -1
- package/dist/{usePciQuestionnaireList-ShylU7zj.js → usePciQuestionnaireList-TLpAO3GD.js} +1 -1
- package/dist/{useSalesChannels-DaFbHGd2.js → useSalesChannels-BO4GysVh.js} +2 -2
- package/dist/{useScenarios-SRhCOjKY.js → useScenarios-DSpc898-.js} +1 -1
- package/dist/{useTaskStatus-Djc4CV1h.js → useTaskStatus-Csrso18D.js} +1 -1
- package/dist/{useTermsOfServiceStatus-Dka0I_mz.js → useTermsOfServiceStatus-DdYlsALm.js} +1 -1
- package/dist/{useToastContext-D7A5CxP0.js → useToastContext-BtLAxaNl.js} +1 -1
- package/dist/{useTrustMembers-hMw5YJIq.js → useTrustMembers-rqlnbKZ1.js} +3 -3
- package/dist/{useUnincorporatedPartnershipMembers-qkl61jqm.js → useUnincorporatedPartnershipMembers-FQdnqW4h.js} +3 -3
- package/dist/{useUpdateBusinessLines-BsSqtztQ.js → useUpdateBusinessLines-TXNjWpIG.js} +3 -3
- package/dist/{useUpdateLegalEntity-CKdDx6G9.js → useUpdateLegalEntity-BNsvQpIe.js} +2 -2
- package/dist/{utils-BpVD-ywY.js → utils-DHCSrG2W.js} +1 -1
- package/dist/{utils-BHGl7ECx.js → utils-J2EeeAsL.js} +1 -1
- package/dist/{utils-CccTth_m.js → utils-TdGg-Brl.js} +2 -2
- package/dist/{utils-DgjlljPB.js → utils-XiEWYRYH.js} +4 -4
- package/dist/{utils-D4GIPqz0.js → utils-_Ga2UTWr.js} +1 -1
- package/dist/{validate-Cx7psWcv.js → validate-1pvDa1M7.js} +1 -1
- package/dist/{validate-D726W3qy.js → validate-F0Rs0x5e.js} +2 -2
- package/dist/{validationError-Ca_TT6DG.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-Cxprq5Bv.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-CMoZmPj8.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-DeshUcGV.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,
|