@adyen/kyc-components 4.3.0-beta.2 → 4.3.0-beta.3
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-9-ImLN22.js → AcceptTermsOfServiceComponent-N02RdMPd.js} +14 -14
- package/dist/{AccountSetupRejected-DfZaOzOb.js → AccountSetupRejected-qppDNaqT.js} +1 -1
- package/dist/{ActionBar-KIujm501.js → ActionBar-DPsZuOH9.js} +1 -1
- package/dist/{Address-DnboezRi.js → Address-Bg1lSSzj.js} +9 -9
- package/dist/{Avatar-Ce_F4HTA.js → Avatar-DwoN96es.js} +1 -1
- package/dist/{BusinessFinancingComponent-v2UbtnW9.js → BusinessFinancingComponent-BCtcIpsh.js} +4 -4
- package/dist/{BusinessFinancingDropin-DzqS7jI1.js → BusinessFinancingDropin-CIBqxqkd.js} +26 -26
- package/dist/{BusinessFinancingPage-CQIcMNg2.js → BusinessFinancingPage-DxGt5Ocj.js} +3 -3
- package/dist/{BusinessTypeSelectionPage-wuMGLHpk.js → BusinessTypeSelectionPage-Be153QpA.js} +8 -8
- package/dist/{Checkbox-1IaWDO-5.js → Checkbox-4pvm19W3.js} +1 -1
- package/dist/{Confirm-DeS8uPpS.js → Confirm-CiO_9zke.js} +2 -2
- package/dist/{ConstitutionalDocument-ja5tc97W.js → ConstitutionalDocument-C33ool-C.js} +16 -16
- package/dist/{ContactDetails-ClpK0rYl.js → ContactDetails-kXtXe8q_.js} +5 -5
- package/dist/{ContextGuidance-CkIfITwc.js → ContextGuidance-kiqztLD-.js} +1 -1
- package/dist/{CountryField-DKRNTCxN.js → CountryField-BUevzQI8.js} +3 -3
- package/dist/{CreateIndividualComponent-BWfkj81a.js → CreateIndividualComponent-BB9Lfbcl.js} +4 -4
- package/dist/{CreateTransferInstrumentComponent-CQp4LO1m.js → CreateTransferInstrumentComponent-BSk4_wMu.js} +3 -3
- package/dist/{Currency-DZFQVIBy.js → Currency-Co6wZF-F.js} +6 -6
- package/dist/{CustomerSupport-hlRLU2Em.js → CustomerSupport-9t0qwKkV.js} +9 -9
- package/dist/{DebugModal-DFCfk-kr.js → DebugModal-DsQGEEKQ.js} +6 -6
- package/dist/{DecisionMakerDetailsPage-BrKxYF38.js → DecisionMakerDetailsPage-B69yV7Ke.js} +5 -5
- package/dist/{DecisionMakers-BXUgNEG3.js → DecisionMakers-Dq_xy40z.js} +18 -18
- package/dist/{Dropzone-s6lDKk1S.js → Dropzone-D5uZw2p8.js} +3 -3
- package/dist/{EmbeddedStatus-WXeXOFnJ.js → EmbeddedStatus-CMUq4Ea3.js} +2 -2
- package/dist/{EndStateLayout-Dz4Ghepc.js → EndStateLayout-B-Ov73GU.js} +1 -1
- package/dist/{EntityAssociation-DrGfXJnH.js → EntityAssociation-BxI3D_9n.js} +4 -4
- package/dist/{EntityGuidanceStatus-BoRDdM43.js → EntityGuidanceStatus-CowsWEFV.js} +2 -2
- package/dist/{ErrorPanel-CwMEFe2c.js → ErrorPanel-BkOxqUcW.js} +1 -1
- package/dist/{Field-Z4Z58bN7.js → Field-DVRdcOuQ.js} +1 -1
- package/dist/{FormNavigation-DEt00Gjo.js → FormNavigation-DZrIDzq3.js} +2 -2
- package/dist/{FormWrapper-BsxnLJ4E.js → FormWrapper-Nz7qiETh.js} +8 -8
- package/dist/{Image-BKv85hyU.js → Image-UERY5uEG.js} +1 -1
- package/dist/{Individual.rules-DVBgopnA.js → Individual.rules-BawDo3vY.js} +5 -5
- package/dist/{IndividualDropin-Dzy1BXw7.js → IndividualDropin-PNgIzhaT.js} +48 -48
- package/dist/{InputDate-BGu6eRGX.js → InputDate-CZHWRWHn.js} +1 -1
- package/dist/{InputText-_l5XGZIQ.js → InputText-BDr2xZC-.js} +1 -1
- package/dist/{Introduction-uq5E5BQc.js → Introduction-BQnUHIkn.js} +3 -3
- package/dist/{JpAddress-jNI5Hfvi.js → JpAddress-4C5uACEx.js} +8 -8
- package/dist/{LandingLayout-s0kT1OAL.js → LandingLayout-CdcV6BDB.js} +1 -1
- package/dist/{LegalCompanyNameField-B3CltA0G.js → LegalCompanyNameField-Dq-f0pJE.js} +5 -5
- package/dist/{LegalRepresentativeDetailsPage-DYpVId65.js → LegalRepresentativeDetailsPage-8nf0eFso.js} +3 -3
- package/dist/{Link-Vdj2ae4D.js → Link-jp6BSst5.js} +1 -1
- package/dist/{ListItem-BPiIUSa-.js → ListItem-BhuxnRwc.js} +2 -2
- package/dist/{LoaderWrapper-Bdt1H5n4.js → LoaderWrapper-C4e9OdpX.js} +1 -1
- package/dist/{ManageIndividualComponent-CMvW9O8I.js → ManageIndividualComponent-Be8gdbmP.js} +4 -4
- package/dist/{ManageTermsOfServiceComponent-DJ1dDuAQ.js → ManageTermsOfServiceComponent-BxieINs4.js} +3 -3
- package/dist/{ManageTransferInstrumentComponent-3TmnC1tc.js → ManageTransferInstrumentComponent-DDgxsXIN.js} +10 -10
- package/dist/{MaskedInput-uTXj3Ng-.js → MaskedInput-K5CsmEdt.js} +4 -4
- package/dist/{MaybeModal-C1KNE-2b.js → MaybeModal-BflNR2-2.js} +2 -2
- package/dist/{Modal-DaRLXdJf.js → Modal-Bylrd08N.js} +1 -1
- package/dist/{Name-ChjGwqJ0.js → Name-AwICGMd0.js} +4 -4
- package/dist/{OnboardingDropinComponent-CAka_-XA.js → OnboardingDropinComponent-DDXpr_5c.js} +50 -50
- package/dist/{PayoutDetailsDropin-BahPkJ5P.js → PayoutDetailsDropin-BMFYjkAi.js} +38 -38
- package/dist/{RadioGroup-BBnZj4W8.js → RadioGroup-bUX5rcZj.js} +1 -1
- package/dist/{RadioGroupCard-1qSGvUGx.js → RadioGroupCard-C8HZZB2J.js} +1 -1
- package/dist/{Review-BPrq-7fK.js → Review-DW-0PrCC.js} +5 -5
- package/dist/{RootBusinessDetailsPage-C5DbGEiQ.js → RootBusinessDetailsPage-iW8nQTPF.js} +3 -3
- package/dist/{RootBusinessLinesPage-DSs0g7Bj.js → RootBusinessLinesPage-BRbwkL2R.js} +25 -25
- package/dist/{RootIndividualDetailsPage-9hYxvj_r.js → RootIndividualDetailsPage-Yut0K0hU.js} +3 -3
- package/dist/{Select-CDQ4iKox.js → Select-CXXz1RK7.js} +3 -3
- package/dist/{SignPCIComponent-D9Wy1_ZI.js → SignPCIComponent-V4kihXYP.js} +10 -10
- package/dist/{SingpassSelection-COcGH4T9.js → SingpassSelection-CqqF6zJF.js} +5 -5
- package/dist/{SoleProprietorshipPage-YHllAMBO.js → SoleProprietorshipPage-CN0pa1YB.js} +3 -3
- package/dist/{SourceOfFundsPage-BhLWJpGV.js → SourceOfFundsPage-DmVuwfLS.js} +30 -30
- package/dist/{StepProgressIndicator-0QbfbM-8.js → StepProgressIndicator-DJn4rZ5t.js} +1 -1
- package/dist/{StoreProvider-DLqUtIHv.js → StoreProvider-fQYx-RPc.js} +4 -4
- package/dist/{Summary-caL0qZjz.js → Summary-hGkJO37D.js} +4 -4
- package/dist/{TaxInformationField-BkGtDFw4.js → TaxInformationField-JdMfAIv8.js} +17 -17
- package/dist/{TaxReportingDropin-DLRV39BU.js → TaxReportingDropin-CZZAp9FV.js} +13 -13
- package/dist/{TextArea-CQrM775_.js → TextArea-BiH1RRYp.js} +1 -1
- package/dist/{TileGroup-Cq7vLRd5.js → TileGroup-CdqFygWv.js} +2 -2
- package/dist/{TrustDetailsPage-C22tgvxL.js → TrustDetailsPage-BMWmYwKG.js} +31 -31
- package/dist/{TrustMemberCompanyPage-CCeNCZ0m.js → TrustMemberCompanyPage-bfyqb3Mk.js} +4 -4
- package/dist/{TrustMemberIndividualPage-C1XM9vYK.js → TrustMemberIndividualPage-BnVTOtwf.js} +3 -3
- package/dist/{TrustMemberRoleAndTypePage-LRbm4eyB.js → TrustMemberRoleAndTypePage-Co0y4L8A.js} +20 -20
- package/dist/{TrustMembersOverview--G_a6688.js → TrustMembersOverview-IFzxS4GA.js} +9 -9
- package/dist/{UnincorporatedPartnershipIndividualPage-DjJPuQ1t.js → UnincorporatedPartnershipIndividualPage-DMX_NRCF.js} +3 -3
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-BHeF9N9u.js → UnincorporatedPartnershipMemberCompanyPage-CMhTcu6t.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-rc9vBbhg.js → UnincorporatedPartnershipMemberRoleAndTypePage-BmMOPDaG.js} +9 -9
- package/dist/{UnincorporatedPartnershipMembersOverview-Bc0N7SgX.js → UnincorporatedPartnershipMembersOverview-BtE5NtjF.js} +6 -6
- package/dist/{VerificationErrorAlert-DzBr1ivR.js → VerificationErrorAlert-Dh1YkL3d.js} +1 -1
- package/dist/{ViewVerificationStatusComponent-7fXmJ7oo.js → ViewVerificationStatusComponent-BTpnN2vP.js} +2 -2
- package/dist/{accountHolderUtils-C77s6-rF.js → accountHolderUtils-rpJd6WrL.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-BA2QmppA.js → bafinUtils-DcLbZWp-.js} +1 -1
- package/dist/{commonValidators-BEAQieRZ.js → commonValidators-c_nO9sQJ.js} +1 -1
- package/dist/{dropinUtils-FSB8Ysfb.js → dropinUtils-BCy_VUQ7.js} +3 -3
- package/dist/{formUtils-Cw07RDxl.js → formUtils-CRcJbbRb.js} +2 -2
- package/dist/{getName-jOaN6bEo.js → getName-qR9fguc7.js} +1 -1
- package/dist/{getProblemsForEntity-Cpp79N5N.js → getProblemsForEntity-BuH9zCjL.js} +1 -1
- package/dist/{iframeWidget-OXIn557m.js → iframeWidget-D3xqr78r.js} +3 -3
- package/dist/{isEmpty-DsEtZpIE.js → isEmpty-CYgAPBO_.js} +1 -1
- package/dist/{japanSupportUtils-D7ahGsil.js → japanSupportUtils-DMYU8nVm.js} +1 -1
- package/dist/{localizeDateString-CGZ798Bl.js → localizeDateString-Cum2LWIN.js} +1 -1
- package/dist/{mapExistingFile-gBKAHdzC.js → mapExistingFile-BMfqEXKo.js} +3 -3
- package/dist/{mapJpAddressSchemaToAddressLocalizations-CbEp6AJY.js → mapJpAddressSchemaToAddressLocalizations-DJ-Mhet1.js} +1 -1
- package/dist/{mapLegalEntityToIndividualSchema-CZ1nAjYV.js → mapLegalEntityToIndividualSchema-Cr447xyd.js} +3 -3
- package/dist/{mapTransferInstrumentToPayoutAccount-Bxn3M4w1.js → mapTransferInstrumentToPayoutAccount-D95_lgpR.js} +1 -1
- package/dist/{patternValidators-CGBvuH8V.js → patternValidators-NunsWcYm.js} +1 -1
- package/dist/{process-field-configurations-BCImS6WV.js → process-field-configurations-Cxprq5Bv.js} +2 -2
- package/dist/{resolveEnvironment-h9ME0MtG.js → resolveEnvironment-CbPqGmgO.js} +3 -3
- package/dist/{roleMetadata-DK9C9DYA.js → roleMetadata-BPMWB7Co.js} +1 -1
- package/dist/types/api/companySelection/useCompanySelection.d.ts +1 -1
- package/dist/{types-CjDp1ZJQ.js → types-B0REvjqJ.js} +1 -1
- package/dist/{types-YEcYkhnD.js → types-BU7-Cx4D.js} +1 -1
- package/dist/{types-CF5Fq4zT.js → types-CajVo6N9.js} +1 -1
- package/dist/{useAssociatedLegalEntity-BbzhxlhG.js → useAssociatedLegalEntity-CeJzxLG3.js} +1 -1
- package/dist/{useBusinessDetailsData-Ddh77R12.js → useBusinessDetailsData-Dtkh2qCL.js} +55 -55
- package/dist/{useBusinessLines-BkHffvA1.js → useBusinessLines-CI7V55s9.js} +1 -1
- package/dist/{useCanSeeIntroduction-Cu1V5Sf5.js → useCanSeeIntroduction-C90WBJIj.js} +1 -1
- package/dist/{useCreateLegalEntity-CQYi1Uqw.js → useCreateLegalEntity-Dj5Svx3v.js} +1 -1
- package/dist/{useDataMissingRemediations-CNgRBVr1.js → useDataMissingRemediations-CMoZmPj8.js} +1 -1
- package/dist/{useDeleteTransferInstrument-BU1Ohhqk.js → useDeleteTransferInstrument-DeshUcGV.js} +2 -2
- package/dist/{useForm-ChN_i-0E.js → useForm-B7W5yMWm.js} +2 -2
- package/dist/{useFormContext-CG-xpqzp.js → useFormContext-CC7hF-So.js} +6 -6
- package/dist/{useGlobalData-H3pXVnNa.js → useGlobalData-Bsa1YYFJ.js} +1 -1
- package/dist/{useMultiForm-C2nWUpQl.js → useMultiForm-B8wZN7OS.js} +3 -3
- package/dist/{useNavigate-BnNchOWn.js → useNavigate-CDqshXn_.js} +29 -29
- package/dist/{useOnboardingStatus-DnbuysAl.js → useOnboardingStatus-Bx93aUc5.js} +1 -1
- package/dist/{usePciQuestionnaireList-DuTOG97B.js → usePciQuestionnaireList-ShylU7zj.js} +1 -1
- package/dist/{useSalesChannels-CmmQc-P2.js → useSalesChannels-DaFbHGd2.js} +2 -2
- package/dist/{useScenarios-CDidhm-4.js → useScenarios-SRhCOjKY.js} +1 -1
- package/dist/{useTaskStatus-vrOTWyGh.js → useTaskStatus-Djc4CV1h.js} +1 -1
- package/dist/{useTermsOfServiceStatus-BqIU9xYs.js → useTermsOfServiceStatus-Dka0I_mz.js} +1 -1
- package/dist/{useToastContext-CrIGGdcG.js → useToastContext-D7A5CxP0.js} +1 -1
- package/dist/{useTrustMembers-BHCrcJru.js → useTrustMembers-hMw5YJIq.js} +3 -3
- package/dist/{useUnincorporatedPartnershipMembers-BFFZIKAf.js → useUnincorporatedPartnershipMembers-qkl61jqm.js} +3 -3
- package/dist/{useUpdateBusinessLines-D9X4Hh01.js → useUpdateBusinessLines-BsSqtztQ.js} +3 -3
- package/dist/{useUpdateLegalEntity-Cf0F07Mj.js → useUpdateLegalEntity-CKdDx6G9.js} +2 -2
- package/dist/{utils-D9IdOjnx.js → utils-BHGl7ECx.js} +1 -1
- package/dist/{utils-B5EucYsp.js → utils-BpVD-ywY.js} +1 -1
- package/dist/{utils-BKRbefrM.js → utils-CccTth_m.js} +2 -2
- package/dist/{utils-CLU3ulgW.js → utils-D4GIPqz0.js} +1 -1
- package/dist/{utils--g4xMpbo.js → utils-DgjlljPB.js} +4 -4
- package/dist/{validate-U3OcpE_T.js → validate-Cx7psWcv.js} +1 -1
- package/dist/{validate-Cb8mJeKd.js → validate-D726W3qy.js} +2 -2
- package/dist/{validationError-BprZHghs.js → validationError-Ca_TT6DG.js} +1 -1
- package/package.json +1 -1
|
@@ -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-SRhCOjKY.js";
|
|
12
|
+
import { a5 as CountryCodes, a8 as createLogger, u as useTranslation, p as Icon } from "./StoreProvider-fQYx-RPc.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-UERY5uEG.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-CYgAPBO_.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-fQYx-RPc.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-DVRdcOuQ.js";
|
|
16
|
+
import { T as TileGroup } from "./TileGroup-CdqFygWv.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-fQYx-RPc.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-fQYx-RPc.js";
|
|
11
11
|
const validateNotEmptyOnBlur = {
|
|
12
12
|
modes: ["blur"],
|
|
13
13
|
validate: (val) => !isEmpty(val),
|
package/dist/{process-field-configurations-BCImS6WV.js → process-field-configurations-Cxprq5Bv.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-UERY5uEG.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-fQYx-RPc.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] = "4f947137-2f18-4ff6-89ad-7a7fd30b00a6", e._sentryDebugIdIdentifier = "sentry-dbid-4f947137-2f18-4ff6-89ad-7a7fd30b00a6");
|
|
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-fQYx-RPc.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.0-beta.
|
|
59
|
+
/* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "4.3.0-beta.3" }),
|
|
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-fQYx-RPc.js";
|
|
11
11
|
import { U as UnincorporatedPartnershipMemberTypes } from "./unincorporated-partnership-D8XzcFAz.js";
|
|
12
12
|
const roleMetadata = {
|
|
13
13
|
[DecisionMakerTypes.CONTROLLING_PERSON]: {
|
|
@@ -2,4 +2,4 @@ import type { QueryOptions } from '../types';
|
|
|
2
2
|
import type { CompanySelectionRequest, CompanySelectionResponse } from './companySelection.types';
|
|
3
3
|
export type QueryKeyCompanySelection = ['companySelection', CompanySelectionRequest | undefined];
|
|
4
4
|
export declare const useCompanySelection: (data: CompanySelectionRequest | undefined, options?: QueryOptions<CompanySelectionResponse>) => import("@tanstack/preact-query").UseQueryResult<CompanySelectionResponse, Error>;
|
|
5
|
-
export declare const handleCompanySelection: (rootLegalEntityId: string, baseUrl: string, data: CompanySelectionRequest, isAgnosticEndpointEnabled: boolean) => Promise<CompanySelectionResponse>;
|
|
5
|
+
export declare const handleCompanySelection: (rootLegalEntityId: string, baseUrl: string, data: CompanySelectionRequest, isAgnosticEndpointEnabled: boolean, isLookupPathEnabled: boolean) => Promise<CompanySelectionResponse>;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { a5 as CountryCodes } from "./StoreProvider-
|
|
10
|
+
import { a5 as CountryCodes } from "./StoreProvider-fQYx-RPc.js";
|
|
11
11
|
import { C as Currencies } from "./currency-CrdnaaDu.js";
|
|
12
12
|
const currencyByCountry = {
|
|
13
13
|
[CountryCodes.Australia]: [Currencies.AUD],
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { L as LegalEntityTypes, a5 as CountryCodes } from "./StoreProvider-
|
|
10
|
+
import { L as LegalEntityTypes, a5 as CountryCodes } from "./StoreProvider-fQYx-RPc.js";
|
|
11
11
|
const trustMemberLegalEntityTypes = [
|
|
12
12
|
LegalEntityTypes.INDIVIDUAL,
|
|
13
13
|
LegalEntityTypes.ORGANIZATION
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { skipToken } from "@tanstack/preact-query";
|
|
11
11
|
import { useMemo } from "preact/hooks";
|
|
12
|
-
import { a8 as createLogger, C as useLegalEntity } from "./StoreProvider-
|
|
12
|
+
import { a8 as createLogger, C as useLegalEntity } from "./StoreProvider-fQYx-RPc.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] = "cb1f165b-d0fc-41b8-9043-f71117e136ed", e._sentryDebugIdIdentifier = "sentry-dbid-cb1f165b-d0fc-41b8-9043-f71117e136ed");
|
|
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-BsSqtztQ.js";
|
|
14
|
+
import { u as useScenarios } from "./useScenarios-SRhCOjKY.js";
|
|
15
|
+
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-Dj5Svx3v.js";
|
|
16
|
+
import { u as useToastContext, a as useInvalidateRootLegalEntity } from "./useToastContext-D7A5CxP0.js";
|
|
17
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-CKdDx6G9.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-fQYx-RPc.js";
|
|
19
|
+
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-CC7hF-So.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-Cxprq5Bv.js";
|
|
22
|
+
import { a as addValidityToForms, u as useFormComposer } from "./dropinUtils-BCy_VUQ7.js";
|
|
23
|
+
import { u as useMultiForm } from "./useMultiForm-B8wZN7OS.js";
|
|
24
|
+
import { u as uppercase, m as mapExistingFile, g as getPageName, b as useScenarioConfiguration } from "./mapExistingFile-BMfqEXKo.js";
|
|
25
|
+
import { C as Confirm } from "./Confirm-CiO_9zke.js";
|
|
26
|
+
import { a as getDocument, j as getDocuments, c as createDocumentRequest, k as mergeProofOfOwnershipAttachments, b as getFileExtention, d as documentApiUtils } from "./validate-D726W3qy.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-JdMfAIv8.js";
|
|
28
|
+
import { u as usePageLandedEvent, s as summaryStep } from "./Summary-hGkJO37D.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-C33ool-C.js";
|
|
30
|
+
import { K as KEYBOARD_KEYS, M as Modal, a as ModalContent } from "./Modal-Bylrd08N.js";
|
|
31
|
+
import { t as toFullWidth, a as mapJpAddressSummary, m as mapJpAddressSchemaToAddressLocalizations } from "./mapJpAddressSchemaToAddressLocalizations-DJ-Mhet1.js";
|
|
32
|
+
import { g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET, a as getAddressSchemaLabelsByCountry, m as mapAddressLabels, c as getKeyForField } from "./utils-BHGl7ECx.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-CccTth_m.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-Bg1lSSzj.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-DgjlljPB.js";
|
|
39
|
+
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-Ca_TT6DG.js";
|
|
40
|
+
import { i as isEmpty$1 } from "./isEmpty-CYgAPBO_.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-Co6wZF-F.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-Dq-f0pJE.js";
|
|
45
|
+
import { u as useBusinessLines } from "./useBusinessLines-CI7V55s9.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-4pvm19W3.js";
|
|
48
|
+
import { F as Field } from "./Field-DVRdcOuQ.js";
|
|
49
|
+
import { E as ErrorPanel } from "./ErrorPanel-BkOxqUcW.js";
|
|
50
|
+
import { I as InputDate, f as formatDateObj } from "./InputDate-CZHWRWHn.js";
|
|
51
|
+
import { a as validateNotEmptyOnBlur, v as validatePatternOnBlur, b as validateJaKanaLegalCompanyName, c as validateJaHaniLegalCompanyName } from "./patternValidators-NunsWcYm.js";
|
|
52
|
+
import { M as MaskedInput, m as makeMask, d as alphanumericInputs, b as alphaInputs, n as numericInputs } from "./MaskedInput-K5CsmEdt.js";
|
|
53
|
+
import { m as mergeFieldMetadataIntoProps, c as createFormUtils } from "./formUtils-CRcJbbRb.js";
|
|
54
|
+
import { i as isJapanLocalizationEnabled } from "./japanSupportUtils-DMYU8nVm.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-jp6BSst5.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-BDr2xZC-.js";
|
|
61
|
+
import { C as CountryField, a as COUNTRY_FIELD } from "./CountryField-BUevzQI8.js";
|
|
62
|
+
import { L as LoaderWrapper } from "./LoaderWrapper-C4e9OdpX.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-BhuxnRwc.js";
|
|
65
|
+
import { T as TileGroup } from "./TileGroup-CdqFygWv.js";
|
|
66
|
+
import { R as RadioGroup } from "./RadioGroup-bUX5rcZj.js";
|
|
67
|
+
import { u as useGlobalDataSlice } from "./useGlobalData-Bsa1YYFJ.js";
|
|
68
|
+
import { u as useForm } from "./useForm-B7W5yMWm.js";
|
|
69
|
+
import { c as currencyByCountry } from "./types-BU7-Cx4D.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-4C5uACEx.js")).JpAddress
|
|
413
413
|
);
|
|
414
414
|
const ADDITIONAL_INFORMATION_FORM_ID = "additionalInformation";
|
|
415
415
|
const ADDITIONAL_INFORMATION_FIELDS = [
|
|
@@ -1746,24 +1746,24 @@ const verifyTin = async (legalEntityId, baseUrl, data) => {
|
|
|
1746
1746
|
const useCompanySelection = (data, options) => {
|
|
1747
1747
|
const { rootLegalEntityId, baseUrl } = useApiContext();
|
|
1748
1748
|
const { isAgnosticEndpointEnabled, isLookupPathEnabled } = useCompanySearchExperiments();
|
|
1749
|
-
const baseUrlValue = isLookupPathEnabled ? getLookupBaseUrl(baseUrl.value) : baseUrl.value;
|
|
1750
1749
|
return useQuery({
|
|
1751
1750
|
queryKey: ["companySelection", data],
|
|
1752
1751
|
queryFn: data ? () => handleCompanySelection(
|
|
1753
1752
|
rootLegalEntityId.value,
|
|
1754
|
-
|
|
1753
|
+
baseUrl.value,
|
|
1755
1754
|
data,
|
|
1756
|
-
isAgnosticEndpointEnabled
|
|
1755
|
+
isAgnosticEndpointEnabled,
|
|
1756
|
+
isLookupPathEnabled
|
|
1757
1757
|
) : skipToken,
|
|
1758
1758
|
retry: 0,
|
|
1759
1759
|
...options
|
|
1760
1760
|
});
|
|
1761
1761
|
};
|
|
1762
|
-
const handleCompanySelection = async (rootLegalEntityId, baseUrl, data, isAgnosticEndpointEnabled) => {
|
|
1762
|
+
const handleCompanySelection = async (rootLegalEntityId, baseUrl, data, isAgnosticEndpointEnabled, isLookupPathEnabled) => {
|
|
1763
1763
|
const [companyDatasetResult, tinMatch] = await Promise.all([
|
|
1764
1764
|
handleCompanyDataset(
|
|
1765
1765
|
rootLegalEntityId,
|
|
1766
|
-
baseUrl,
|
|
1766
|
+
isLookupPathEnabled ? getLookupBaseUrl(baseUrl) : baseUrl,
|
|
1767
1767
|
isAgnosticEndpointEnabled ? {
|
|
1768
1768
|
id: data.id
|
|
1769
1769
|
} : {
|
|
@@ -5117,17 +5117,17 @@ function BusinessDetailsDropin({
|
|
|
5117
5117
|
multiForm.data.basicInformation?.legalCompanyName ?? "",
|
|
5118
5118
|
searchResponse.results[0].name
|
|
5119
5119
|
)) {
|
|
5120
|
-
const baseUrlValue = isLookupPathEnabled ? getLookupBaseUrl(baseUrl.value) : baseUrl.value;
|
|
5121
5120
|
const companySelectionResponse = await handleCompanySelection(
|
|
5122
5121
|
rootLegalEntityId.peek(),
|
|
5123
|
-
|
|
5122
|
+
baseUrl.peek(),
|
|
5124
5123
|
{
|
|
5125
5124
|
...companySelectionInput,
|
|
5126
5125
|
...isAgnosticEndpointEnabled ? {
|
|
5127
5126
|
id: searchResponse.results[0].resultId
|
|
5128
5127
|
} : { company: searchResponse.results[0] }
|
|
5129
5128
|
},
|
|
5130
|
-
isAgnosticEndpointEnabled
|
|
5129
|
+
isAgnosticEndpointEnabled,
|
|
5130
|
+
isLookupPathEnabled
|
|
5131
5131
|
);
|
|
5132
5132
|
if (handleTinResponse(!!companySelectionResponse.tinMatched)) {
|
|
5133
5133
|
verifiedBusiness.value = companySelectionResponse;
|
|
@@ -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-fQYx-RPc.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-fQYx-RPc.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-fQYx-RPc.js";
|
|
12
12
|
const createLegalEntity = async (legalEntityId, baseUrl, data) => {
|
|
13
13
|
return httpPost(
|
|
14
14
|
{
|
package/dist/{useDataMissingRemediations-CNgRBVr1.js → useDataMissingRemediations-CMoZmPj8.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-fQYx-RPc.js";
|
|
12
12
|
function useDataMissingRemediations({
|
|
13
13
|
legalEntityId,
|
|
14
14
|
problems
|
package/dist/{useDeleteTransferInstrument-BU1Ohhqk.js → useDeleteTransferInstrument-DeshUcGV.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-D7A5CxP0.js";
|
|
12
|
+
import { b as useApiContext, al as httpDelete } from "./StoreProvider-fQYx-RPc.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-fQYx-RPc.js";
|
|
12
|
+
import { V as ValidationResult, o as omitKeys, a as addKeys } from "./utils-D4GIPqz0.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-fQYx-RPc.js";
|
|
14
|
+
import { L as LoaderWrapper } from "./LoaderWrapper-C4e9OdpX.js";
|
|
15
|
+
import { M as MaybeModal } from "./MaybeModal-BflNR2-2.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-BCy_VUQ7.js";
|
|
18
|
+
import { C as Confirm } from "./Confirm-CiO_9zke.js";
|
|
19
|
+
import { S as Summary } from "./Summary-hGkJO37D.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-fQYx-RPc.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-fQYx-RPc.js";
|
|
12
|
+
import { V as ValidationResult } from "./utils-D4GIPqz0.js";
|
|
13
|
+
import { a as isNotEmptyValidator } from "./commonValidators-c_nO9sQJ.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-fQYx-RPc.js";
|
|
13
13
|
const Introduction = lazy(
|
|
14
|
-
async () => (await import("./Introduction-
|
|
14
|
+
async () => (await import("./Introduction-BQnUHIkn.js")).Introduction
|
|
15
15
|
);
|
|
16
16
|
const BusinessTypeSelectionPage = lazy(
|
|
17
|
-
async () => (await import("./BusinessTypeSelectionPage-
|
|
17
|
+
async () => (await import("./BusinessTypeSelectionPage-Be153QpA.js")).BusinessTypeSelectionPage
|
|
18
18
|
);
|
|
19
19
|
const SingpassSelection = lazy(
|
|
20
|
-
async () => (await import("./SingpassSelection-
|
|
20
|
+
async () => (await import("./SingpassSelection-CqqF6zJF.js")).SingpassSelection
|
|
21
21
|
);
|
|
22
22
|
const AccountSetupRejected = lazy(
|
|
23
|
-
async () => (await import("./AccountSetupRejected-
|
|
23
|
+
async () => (await import("./AccountSetupRejected-qppDNaqT.js")).AccountSetupRejected
|
|
24
24
|
);
|
|
25
25
|
const DecisionMakers = lazy(
|
|
26
|
-
async () => (await import("./DecisionMakers-
|
|
26
|
+
async () => (await import("./DecisionMakers-Dq_xy40z.js")).DecisionMakers
|
|
27
27
|
);
|
|
28
28
|
const CustomerSupport = lazy(
|
|
29
|
-
async () => (await import("./CustomerSupport-
|
|
29
|
+
async () => (await import("./CustomerSupport-9t0qwKkV.js")).CustomerSupport
|
|
30
30
|
);
|
|
31
|
-
const Review = lazy(async () => (await import("./Review-
|
|
31
|
+
const Review = lazy(async () => (await import("./Review-DW-0PrCC.js")).Review);
|
|
32
32
|
const SignPCIComponent = lazy(
|
|
33
|
-
async () => (await import("./SignPCIComponent-
|
|
33
|
+
async () => (await import("./SignPCIComponent-V4kihXYP.js")).SignPCIComponent
|
|
34
34
|
);
|
|
35
35
|
const AcceptTermsOfService = lazy(
|
|
36
|
-
async () => (await import("./AcceptTermsOfServiceComponent-
|
|
36
|
+
async () => (await import("./AcceptTermsOfServiceComponent-N02RdMPd.js")).AcceptTermsOfServiceComponent
|
|
37
37
|
);
|
|
38
38
|
const TaxReportingDropin = lazy(
|
|
39
|
-
async () => (await import("./TaxReportingDropin-
|
|
39
|
+
async () => (await import("./TaxReportingDropin-CZZAp9FV.js")).TaxReportingDropin
|
|
40
40
|
);
|
|
41
41
|
const PayoutDetailsPage = lazy(
|
|
42
|
-
async () => (await import("./PayoutDetailsDropin-
|
|
42
|
+
async () => (await import("./PayoutDetailsDropin-BMFYjkAi.js").then((n) => n.a)).PayoutDetailsPage
|
|
43
43
|
);
|
|
44
44
|
const RootBusinessDetailsPage = lazy(
|
|
45
|
-
async () => (await import("./RootBusinessDetailsPage-
|
|
45
|
+
async () => (await import("./RootBusinessDetailsPage-iW8nQTPF.js")).RootBusinessDetailsPage
|
|
46
46
|
);
|
|
47
47
|
const RootBusinessLinesPage = lazy(
|
|
48
|
-
async () => (await import("./RootBusinessLinesPage-
|
|
48
|
+
async () => (await import("./RootBusinessLinesPage-BRbwkL2R.js")).RootBusinessLinesPage
|
|
49
49
|
);
|
|
50
50
|
const SoleProprietorshipPage = lazy(
|
|
51
|
-
async () => (await import("./SoleProprietorshipPage-
|
|
51
|
+
async () => (await import("./SoleProprietorshipPage-CN0pa1YB.js")).SoleProprietorshipPage
|
|
52
52
|
);
|
|
53
53
|
const TrustMemberCompanyPage = lazy(
|
|
54
|
-
async () => (await import("./TrustMemberCompanyPage-
|
|
54
|
+
async () => (await import("./TrustMemberCompanyPage-bfyqb3Mk.js")).TrustMemberCompanyPage
|
|
55
55
|
);
|
|
56
56
|
const TrustMemberIndividualPage = lazy(
|
|
57
|
-
async () => (await import("./TrustMemberIndividualPage-
|
|
57
|
+
async () => (await import("./TrustMemberIndividualPage-BnVTOtwf.js")).TrustMemberIndividualPage
|
|
58
58
|
);
|
|
59
59
|
const TrustMemberRoleAndTypePage = lazy(
|
|
60
|
-
async () => (await import("./TrustMemberRoleAndTypePage-
|
|
60
|
+
async () => (await import("./TrustMemberRoleAndTypePage-Co0y4L8A.js")).TrustMemberRoleAndTypePage
|
|
61
61
|
);
|
|
62
62
|
const TrustMembersOverview = lazy(
|
|
63
|
-
async () => (await import("./TrustMembersOverview
|
|
63
|
+
async () => (await import("./TrustMembersOverview-IFzxS4GA.js")).TrustMembersOverview
|
|
64
64
|
);
|
|
65
65
|
const UnincorporatedPartnershipMemberCompanyPage = lazy(
|
|
66
|
-
async () => (await import("./UnincorporatedPartnershipMemberCompanyPage-
|
|
66
|
+
async () => (await import("./UnincorporatedPartnershipMemberCompanyPage-CMhTcu6t.js")).UnincorporatedPartnershipMemberCompanyPage
|
|
67
67
|
);
|
|
68
68
|
const UnincorporatedPartnershipIndividualPage = lazy(
|
|
69
|
-
async () => (await import("./UnincorporatedPartnershipIndividualPage-
|
|
69
|
+
async () => (await import("./UnincorporatedPartnershipIndividualPage-DMX_NRCF.js")).UnincorporatedPartnershipIndividualPage
|
|
70
70
|
);
|
|
71
71
|
const UnincorporatedPartnershipMemberRoleAndTypePage = lazy(
|
|
72
|
-
async () => (await import("./UnincorporatedPartnershipMemberRoleAndTypePage-
|
|
72
|
+
async () => (await import("./UnincorporatedPartnershipMemberRoleAndTypePage-BmMOPDaG.js")).UnincorporatedPartnershipMemberRoleAndTypePage
|
|
73
73
|
);
|
|
74
74
|
const UnincorporatedPartnershipMembersOverview = lazy(
|
|
75
|
-
async () => (await import("./UnincorporatedPartnershipMembersOverview-
|
|
75
|
+
async () => (await import("./UnincorporatedPartnershipMembersOverview-BtE5NtjF.js")).UnincorporatedPartnershipMembersOverview
|
|
76
76
|
);
|
|
77
77
|
const BusinessFinancingPage = lazy(
|
|
78
|
-
async () => (await import("./BusinessFinancingPage-
|
|
78
|
+
async () => (await import("./BusinessFinancingPage-DxGt5Ocj.js")).BusinessFinancingPage
|
|
79
79
|
);
|
|
80
80
|
const TrustDetailsPage = lazy(
|
|
81
|
-
async () => (await import("./TrustDetailsPage-
|
|
81
|
+
async () => (await import("./TrustDetailsPage-BMWmYwKG.js")).TrustDetailsPage
|
|
82
82
|
);
|
|
83
83
|
const SourceOfFundsPage = lazy(
|
|
84
|
-
async () => (await import("./SourceOfFundsPage-
|
|
84
|
+
async () => (await import("./SourceOfFundsPage-DmVuwfLS.js")).SourceOfFundsPage
|
|
85
85
|
);
|
|
86
86
|
const RootIndividualDetailsPage = lazy(
|
|
87
|
-
async () => (await import("./RootIndividualDetailsPage-
|
|
87
|
+
async () => (await import("./RootIndividualDetailsPage-Yut0K0hU.js")).RootIndividualDetailsPage
|
|
88
88
|
);
|
|
89
89
|
const LegalRepresentativeDetailsPage = lazy(
|
|
90
|
-
async () => (await import("./LegalRepresentativeDetailsPage-
|
|
90
|
+
async () => (await import("./LegalRepresentativeDetailsPage-8nf0eFso.js")).LegalRepresentativeDetailsPage
|
|
91
91
|
);
|
|
92
92
|
const DecisionMakerDetailsPage = lazy(
|
|
93
|
-
async () => (await import("./DecisionMakerDetailsPage-
|
|
93
|
+
async () => (await import("./DecisionMakerDetailsPage-B69yV7Ke.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-fQYx-RPc.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-fQYx-RPc.js";
|
|
12
12
|
const getPciQuestionnaireList = async (legalEntityId, baseUrl) => {
|
|
13
13
|
return httpGet({
|
|
14
14
|
baseUrl,
|