@adyen/kyc-components 4.3.0-beta.3 → 4.3.0
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-OMNQzzlt.js} +14 -14
- package/dist/{AccountSetupRejected-qppDNaqT.js → AccountSetupRejected-BmELqasB.js} +1 -1
- package/dist/{ActionBar-DPsZuOH9.js → ActionBar-CYYTQnyt.js} +1 -1
- package/dist/{Address-Bg1lSSzj.js → Address-BuvEwdEz.js} +9 -9
- package/dist/{Avatar-DwoN96es.js → Avatar-6Ijr-U98.js} +1 -1
- package/dist/{BusinessFinancingComponent-BCtcIpsh.js → BusinessFinancingComponent-C_dvZWrV.js} +4 -4
- package/dist/{BusinessFinancingDropin-CIBqxqkd.js → BusinessFinancingDropin-CqBXTRew.js} +26 -26
- package/dist/{BusinessFinancingPage-DxGt5Ocj.js → BusinessFinancingPage-CJXuD19C.js} +3 -3
- package/dist/{BusinessTypeSelectionPage-Be153QpA.js → BusinessTypeSelectionPage-0ykcbLXM.js} +8 -8
- package/dist/{Checkbox-4pvm19W3.js → Checkbox-CEt2JNWg.js} +1 -1
- package/dist/{Confirm-CiO_9zke.js → Confirm-tO8eG5lI.js} +2 -2
- package/dist/{ConstitutionalDocument-C33ool-C.js → ConstitutionalDocument-BNQrCuoP.js} +16 -16
- package/dist/{ContactDetails-kXtXe8q_.js → ContactDetails-wRdhpEXl.js} +5 -5
- package/dist/{ContextGuidance-kiqztLD-.js → ContextGuidance-D-wkN66k.js} +1 -1
- package/dist/{CountryField-BUevzQI8.js → CountryField-BfpNTqr6.js} +3 -3
- package/dist/{CreateIndividualComponent-BB9Lfbcl.js → CreateIndividualComponent-BXI_yAXJ.js} +4 -4
- package/dist/{CreateTransferInstrumentComponent-BSk4_wMu.js → CreateTransferInstrumentComponent-C94kteP5.js} +3 -3
- package/dist/{Currency-Co6wZF-F.js → Currency-CIvge00Z.js} +6 -6
- package/dist/{CustomerSupport-9t0qwKkV.js → CustomerSupport-Cn0cURdF.js} +9 -9
- package/dist/{DebugModal-DsQGEEKQ.js → DebugModal-CPJQfotk.js} +6 -6
- package/dist/{DecisionMakerDetailsPage-B69yV7Ke.js → DecisionMakerDetailsPage-HY7FMT3F.js} +5 -5
- package/dist/{DecisionMakers-Dq_xy40z.js → DecisionMakers-C9Y6zR4s.js} +18 -18
- package/dist/{Dropzone-D5uZw2p8.js → Dropzone-B87ivHUX.js} +3 -3
- package/dist/{EmbeddedStatus-CMUq4Ea3.js → EmbeddedStatus-Qp66N9js.js} +2 -2
- package/dist/{EndStateLayout-B-Ov73GU.js → EndStateLayout-BcYjyuoi.js} +1 -1
- package/dist/{EntityAssociation-BxI3D_9n.js → EntityAssociation-NEf45gFy.js} +4 -4
- package/dist/{EntityGuidanceStatus-CowsWEFV.js → EntityGuidanceStatus-BSe0LbpA.js} +2 -2
- package/dist/{ErrorPanel-BkOxqUcW.js → ErrorPanel-0defccwj.js} +1 -1
- package/dist/{Field-DVRdcOuQ.js → Field-CS5lBNi-.js} +1 -1
- package/dist/{FormNavigation-DZrIDzq3.js → FormNavigation-Ds6Zo4kr.js} +2 -2
- package/dist/{FormWrapper-Nz7qiETh.js → FormWrapper-CM27JHcm.js} +8 -8
- package/dist/{Image-UERY5uEG.js → Image-kVLn7Cb2.js} +1 -1
- package/dist/{Individual.rules-BawDo3vY.js → Individual.rules-BKCZ5pw4.js} +5 -5
- package/dist/{IndividualDropin-PNgIzhaT.js → IndividualDropin-BEfS_NNT.js} +48 -48
- package/dist/{InputDate-CZHWRWHn.js → InputDate-DbPcPUic.js} +1 -1
- package/dist/{InputText-BDr2xZC-.js → InputText-CQMxEarX.js} +1 -1
- package/dist/{Introduction-BQnUHIkn.js → Introduction-_K-ioq4w.js} +3 -3
- package/dist/{JpAddress-4C5uACEx.js → JpAddress-8qsY8wnP.js} +8 -8
- package/dist/{LandingLayout-CdcV6BDB.js → LandingLayout-Bx0c6vHb.js} +1 -1
- package/dist/{LegalCompanyNameField-Dq-f0pJE.js → LegalCompanyNameField-BD6Te5c5.js} +5 -5
- package/dist/{LegalRepresentativeDetailsPage-8nf0eFso.js → LegalRepresentativeDetailsPage-C3QWHa7T.js} +3 -3
- package/dist/{Link-jp6BSst5.js → Link-deXxlSsM.js} +1 -1
- package/dist/{ListItem-BhuxnRwc.js → ListItem-Dtx0lKaK.js} +2 -2
- package/dist/{LoaderWrapper-C4e9OdpX.js → LoaderWrapper-Dg9BXOfN.js} +1 -1
- package/dist/{ManageIndividualComponent-Be8gdbmP.js → ManageIndividualComponent-DvmShxf5.js} +4 -4
- package/dist/{ManageTermsOfServiceComponent-BxieINs4.js → ManageTermsOfServiceComponent-rpvf07UO.js} +3 -3
- package/dist/{ManageTransferInstrumentComponent-DDgxsXIN.js → ManageTransferInstrumentComponent-D_10bdI3.js} +10 -10
- package/dist/{MaskedInput-K5CsmEdt.js → MaskedInput-DX9qywO6.js} +4 -4
- package/dist/{MaybeModal-BflNR2-2.js → MaybeModal-B6Y-CUwt.js} +2 -2
- package/dist/{Modal-Bylrd08N.js → Modal-CyGRv-gZ.js} +1 -1
- package/dist/{Name-AwICGMd0.js → Name-DB6DpTUy.js} +4 -4
- package/dist/{OnboardingDropinComponent-DDXpr_5c.js → OnboardingDropinComponent-ByCzepLz.js} +50 -50
- package/dist/{PayoutDetailsDropin-BMFYjkAi.js → PayoutDetailsDropin-CHKMEoSE.js} +38 -38
- package/dist/{RadioGroup-bUX5rcZj.js → RadioGroup-Bmyz_UGC.js} +1 -1
- package/dist/{RadioGroupCard-C8HZZB2J.js → RadioGroupCard-DfDec_J3.js} +1 -1
- package/dist/{Review-DW-0PrCC.js → Review-BfeBbmqL.js} +5 -5
- package/dist/{RootBusinessDetailsPage-iW8nQTPF.js → RootBusinessDetailsPage-CtRd9HPs.js} +3 -3
- package/dist/{RootBusinessLinesPage-BRbwkL2R.js → RootBusinessLinesPage-Btnsj8r_.js} +25 -25
- package/dist/{RootIndividualDetailsPage-Yut0K0hU.js → RootIndividualDetailsPage-8nUlp7YZ.js} +3 -3
- package/dist/{Select-CXXz1RK7.js → Select-w8VBNvQR.js} +3 -3
- package/dist/{SignPCIComponent-V4kihXYP.js → SignPCIComponent-CA5Ao7_u.js} +10 -10
- package/dist/{SingpassSelection-CqqF6zJF.js → SingpassSelection-DOUOHu-z.js} +5 -5
- package/dist/{SoleProprietorshipPage-CN0pa1YB.js → SoleProprietorshipPage-4OFUvq_A.js} +3 -3
- package/dist/{SourceOfFundsPage-DmVuwfLS.js → SourceOfFundsPage-B2L2vYO7.js} +30 -30
- package/dist/{StepProgressIndicator-DJn4rZ5t.js → StepProgressIndicator-BBjfKoHH.js} +1 -1
- package/dist/{StoreProvider-fQYx-RPc.js → StoreProvider-DFR6yFy8.js} +4 -4
- package/dist/{Summary-hGkJO37D.js → Summary-SxfPLeM9.js} +4 -4
- package/dist/{TaxInformationField-JdMfAIv8.js → TaxInformationField-pIOj5IIN.js} +17 -17
- package/dist/{TaxReportingDropin-CZZAp9FV.js → TaxReportingDropin-BzB8nYXE.js} +13 -13
- package/dist/{TextArea-BiH1RRYp.js → TextArea-I88bxkOh.js} +1 -1
- package/dist/{TileGroup-CdqFygWv.js → TileGroup-PHV4JXvH.js} +2 -2
- package/dist/{TrustDetailsPage-BMWmYwKG.js → TrustDetailsPage-Dr6YIRGG.js} +31 -31
- package/dist/{TrustMemberCompanyPage-bfyqb3Mk.js → TrustMemberCompanyPage-CfUxQni4.js} +4 -4
- package/dist/{TrustMemberIndividualPage-BnVTOtwf.js → TrustMemberIndividualPage-DG9KUe02.js} +3 -3
- package/dist/{TrustMemberRoleAndTypePage-Co0y4L8A.js → TrustMemberRoleAndTypePage-BdBKpEha.js} +20 -20
- package/dist/{TrustMembersOverview-IFzxS4GA.js → TrustMembersOverview-Ynu4zahR.js} +9 -9
- package/dist/{UnincorporatedPartnershipIndividualPage-DMX_NRCF.js → UnincorporatedPartnershipIndividualPage-DKMj8Dwh.js} +3 -3
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-CMhTcu6t.js → UnincorporatedPartnershipMemberCompanyPage-BFZ7GGpo.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-BmMOPDaG.js → UnincorporatedPartnershipMemberRoleAndTypePage-6C67QTtR.js} +9 -9
- package/dist/{UnincorporatedPartnershipMembersOverview-BtE5NtjF.js → UnincorporatedPartnershipMembersOverview-BkAc4tTI.js} +6 -6
- package/dist/{VerificationErrorAlert-Dh1YkL3d.js → VerificationErrorAlert-CyE2-4NI.js} +1 -1
- package/dist/{ViewVerificationStatusComponent-BTpnN2vP.js → ViewVerificationStatusComponent-0IyRvr_W.js} +2 -2
- package/dist/{accountHolderUtils-rpJd6WrL.js → accountHolderUtils-yQ8liitv.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-BABg2zgB.js} +1 -1
- package/dist/{commonValidators-c_nO9sQJ.js → commonValidators-BcyFMdFA.js} +1 -1
- package/dist/{dropinUtils-BCy_VUQ7.js → dropinUtils-Ds8fesIK.js} +3 -3
- package/dist/{formUtils-CRcJbbRb.js → formUtils-Ctj-XQBQ.js} +2 -2
- package/dist/{getName-qR9fguc7.js → getName-VMVSrxGw.js} +1 -1
- package/dist/{getProblemsForEntity-BuH9zCjL.js → getProblemsForEntity-B2aPSiz5.js} +1 -1
- package/dist/{iframeWidget-D3xqr78r.js → iframeWidget-CJ4GOEBG.js} +3 -3
- package/dist/{isEmpty-CYgAPBO_.js → isEmpty-BNrK3WJw.js} +1 -1
- package/dist/{japanSupportUtils-DMYU8nVm.js → japanSupportUtils-B1kmKF7K.js} +1 -1
- package/dist/{localizeDateString-Cum2LWIN.js → localizeDateString-DUFhW5fN.js} +1 -1
- package/dist/{mapExistingFile-BMfqEXKo.js → mapExistingFile-BU4Lq435.js} +3 -3
- package/dist/{mapJpAddressSchemaToAddressLocalizations-DJ-Mhet1.js → mapJpAddressSchemaToAddressLocalizations-BLzSTlhK.js} +1 -1
- package/dist/{mapLegalEntityToIndividualSchema-Cr447xyd.js → mapLegalEntityToIndividualSchema-DHieAjhC.js} +3 -3
- package/dist/{mapTransferInstrumentToPayoutAccount-D95_lgpR.js → mapTransferInstrumentToPayoutAccount-CBruJcGL.js} +1 -1
- package/dist/{patternValidators-NunsWcYm.js → patternValidators-hk7OKIOW.js} +1 -1
- package/dist/{process-field-configurations-Cxprq5Bv.js → process-field-configurations-CSUAI1_s.js} +2 -2
- package/dist/{resolveEnvironment-CbPqGmgO.js → resolveEnvironment-Dz4WVUeH.js} +3 -3
- package/dist/{roleMetadata-BPMWB7Co.js → roleMetadata-CCCowA5b.js} +1 -1
- package/dist/{types-BU7-Cx4D.js → types-BxMBuuEz.js} +1 -1
- package/dist/{types-CajVo6N9.js → types-CYkhUYV6.js} +1 -1
- package/dist/{types-B0REvjqJ.js → types-DU69aeMN.js} +1 -1
- package/dist/{useAssociatedLegalEntity-CeJzxLG3.js → useAssociatedLegalEntity-BORPRBzY.js} +1 -1
- package/dist/{useBusinessDetailsData-Dtkh2qCL.js → useBusinessDetailsData-SFopK4ma.js} +46 -46
- package/dist/{useBusinessLines-CI7V55s9.js → useBusinessLines-ewWROXYV.js} +1 -1
- package/dist/{useCanSeeIntroduction-C90WBJIj.js → useCanSeeIntroduction-BbjNCK9Z.js} +1 -1
- package/dist/{useCreateLegalEntity-Dj5Svx3v.js → useCreateLegalEntity-DC4AmtL1.js} +1 -1
- package/dist/{useDataMissingRemediations-CMoZmPj8.js → useDataMissingRemediations-CjxCe3yc.js} +1 -1
- package/dist/{useDeleteTransferInstrument-DeshUcGV.js → useDeleteTransferInstrument-HN2BLhyP.js} +2 -2
- package/dist/{useForm-B7W5yMWm.js → useForm-B64f0N0r.js} +2 -2
- package/dist/{useFormContext-CC7hF-So.js → useFormContext-B08W9NV0.js} +6 -6
- package/dist/{useGlobalData-Bsa1YYFJ.js → useGlobalData-CAfs9dkH.js} +1 -1
- package/dist/{useMultiForm-B8wZN7OS.js → useMultiForm-BwoKhXUz.js} +3 -3
- package/dist/{useNavigate-CDqshXn_.js → useNavigate-BXyVMJUH.js} +29 -29
- package/dist/{useOnboardingStatus-Bx93aUc5.js → useOnboardingStatus-DgaMwRGt.js} +1 -1
- package/dist/{usePciQuestionnaireList-ShylU7zj.js → usePciQuestionnaireList--rMXF8VL.js} +1 -1
- package/dist/{useSalesChannels-DaFbHGd2.js → useSalesChannels-CGESLvW6.js} +2 -2
- package/dist/{useScenarios-SRhCOjKY.js → useScenarios-DfdvyKrI.js} +1 -1
- package/dist/{useTaskStatus-Djc4CV1h.js → useTaskStatus-CBWvTwlZ.js} +1 -1
- package/dist/{useTermsOfServiceStatus-Dka0I_mz.js → useTermsOfServiceStatus-BlBedFIs.js} +1 -1
- package/dist/{useToastContext-D7A5CxP0.js → useToastContext-D7Wu9TN_.js} +1 -1
- package/dist/{useTrustMembers-hMw5YJIq.js → useTrustMembers-GEABHhkr.js} +3 -3
- package/dist/{useUnincorporatedPartnershipMembers-qkl61jqm.js → useUnincorporatedPartnershipMembers-CRs95EuP.js} +3 -3
- package/dist/{useUpdateBusinessLines-BsSqtztQ.js → useUpdateBusinessLines-B6YZCqOX.js} +3 -3
- package/dist/{useUpdateLegalEntity-CKdDx6G9.js → useUpdateLegalEntity-B1R9qggb.js} +2 -2
- package/dist/{utils-BpVD-ywY.js → utils-BUyOscpp.js} +1 -1
- package/dist/{utils-DgjlljPB.js → utils-CPRZoX7V.js} +4 -4
- package/dist/{utils-D4GIPqz0.js → utils-CnulHkMn.js} +1 -1
- package/dist/{utils-BHGl7ECx.js → utils-DTUxA3nO.js} +1 -1
- package/dist/{utils-CccTth_m.js → utils-Drnia92l.js} +2 -2
- package/dist/{validate-D726W3qy.js → validate-DLxn3LIK.js} +2 -2
- package/dist/{validate-Cx7psWcv.js → validate-DlUk1wzH.js} +1 -1
- package/dist/{validationError-Ca_TT6DG.js → validationError-CcsgWg6J.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-DfdvyKrI.js";
|
|
12
|
+
import { a5 as CountryCodes, a8 as createLogger, u as useTranslation, p as Icon } from "./StoreProvider-DFR6yFy8.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-kVLn7Cb2.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-BNrK3WJw.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-DFR6yFy8.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-CS5lBNi-.js";
|
|
16
|
+
import { T as TileGroup } from "./TileGroup-PHV4JXvH.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-DFR6yFy8.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-DFR6yFy8.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-CSUAI1_s.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-kVLn7Cb2.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-DFR6yFy8.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] = "9b847c18-2f01-4a35-84f3-b3db06294843", e._sentryDebugIdIdentifier = "sentry-dbid-9b847c18-2f01-4a35-84f3-b3db06294843");
|
|
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-DFR6yFy8.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
|
|
59
|
+
/* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "4.3.0" }),
|
|
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-DFR6yFy8.js";
|
|
11
11
|
import { U as UnincorporatedPartnershipMemberTypes } from "./unincorporated-partnership-D8XzcFAz.js";
|
|
12
12
|
const roleMetadata = {
|
|
13
13
|
[DecisionMakerTypes.CONTROLLING_PERSON]: {
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { a5 as CountryCodes } from "./StoreProvider-
|
|
10
|
+
import { a5 as CountryCodes } from "./StoreProvider-DFR6yFy8.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-DFR6yFy8.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-DFR6yFy8.js";
|
|
13
13
|
const logger = createLogger();
|
|
14
14
|
function useAssociatedLegalEntity(parentLegalEntity, associationType) {
|
|
15
15
|
const matchingAssociation = useMemo(() => {
|
|
@@ -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-B6YZCqOX.js";
|
|
14
|
+
import { u as useScenarios } from "./useScenarios-DfdvyKrI.js";
|
|
15
|
+
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-DC4AmtL1.js";
|
|
16
|
+
import { u as useToastContext, a as useInvalidateRootLegalEntity } from "./useToastContext-D7Wu9TN_.js";
|
|
17
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-B1R9qggb.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-DFR6yFy8.js";
|
|
19
|
+
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-B08W9NV0.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-CSUAI1_s.js";
|
|
22
|
+
import { a as addValidityToForms, u as useFormComposer } from "./dropinUtils-Ds8fesIK.js";
|
|
23
|
+
import { u as useMultiForm } from "./useMultiForm-BwoKhXUz.js";
|
|
24
|
+
import { u as uppercase, m as mapExistingFile, g as getPageName, b as useScenarioConfiguration } from "./mapExistingFile-BU4Lq435.js";
|
|
25
|
+
import { C as Confirm } from "./Confirm-tO8eG5lI.js";
|
|
26
|
+
import { a as getDocument, j as getDocuments, c as createDocumentRequest, k as mergeProofOfOwnershipAttachments, b as getFileExtention, d as documentApiUtils } from "./validate-DLxn3LIK.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-pIOj5IIN.js";
|
|
28
|
+
import { u as usePageLandedEvent, s as summaryStep } from "./Summary-SxfPLeM9.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-BNQrCuoP.js";
|
|
30
|
+
import { K as KEYBOARD_KEYS, M as Modal, a as ModalContent } from "./Modal-CyGRv-gZ.js";
|
|
31
|
+
import { t as toFullWidth, a as mapJpAddressSummary, m as mapJpAddressSchemaToAddressLocalizations } from "./mapJpAddressSchemaToAddressLocalizations-BLzSTlhK.js";
|
|
32
|
+
import { g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET, a as getAddressSchemaLabelsByCountry, m as mapAddressLabels, c as getKeyForField } from "./utils-DTUxA3nO.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-Drnia92l.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-BuvEwdEz.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-CPRZoX7V.js";
|
|
39
|
+
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-CcsgWg6J.js";
|
|
40
|
+
import { i as isEmpty$1 } from "./isEmpty-BNrK3WJw.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-CIvge00Z.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-BD6Te5c5.js";
|
|
45
|
+
import { u as useBusinessLines } from "./useBusinessLines-ewWROXYV.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-CEt2JNWg.js";
|
|
48
|
+
import { F as Field } from "./Field-CS5lBNi-.js";
|
|
49
|
+
import { E as ErrorPanel } from "./ErrorPanel-0defccwj.js";
|
|
50
|
+
import { I as InputDate, f as formatDateObj } from "./InputDate-DbPcPUic.js";
|
|
51
|
+
import { a as validateNotEmptyOnBlur, v as validatePatternOnBlur, b as validateJaKanaLegalCompanyName, c as validateJaHaniLegalCompanyName } from "./patternValidators-hk7OKIOW.js";
|
|
52
|
+
import { M as MaskedInput, m as makeMask, d as alphanumericInputs, b as alphaInputs, n as numericInputs } from "./MaskedInput-DX9qywO6.js";
|
|
53
|
+
import { m as mergeFieldMetadataIntoProps, c as createFormUtils } from "./formUtils-Ctj-XQBQ.js";
|
|
54
|
+
import { i as isJapanLocalizationEnabled } from "./japanSupportUtils-B1kmKF7K.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-deXxlSsM.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-CQMxEarX.js";
|
|
61
|
+
import { C as CountryField, a as COUNTRY_FIELD } from "./CountryField-BfpNTqr6.js";
|
|
62
|
+
import { L as LoaderWrapper } from "./LoaderWrapper-Dg9BXOfN.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-Dtx0lKaK.js";
|
|
65
|
+
import { T as TileGroup } from "./TileGroup-PHV4JXvH.js";
|
|
66
|
+
import { R as RadioGroup } from "./RadioGroup-Bmyz_UGC.js";
|
|
67
|
+
import { u as useGlobalDataSlice } from "./useGlobalData-CAfs9dkH.js";
|
|
68
|
+
import { u as useForm } from "./useForm-B64f0N0r.js";
|
|
69
|
+
import { c as currencyByCountry } from "./types-BxMBuuEz.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-8qsY8wnP.js")).JpAddress
|
|
413
413
|
);
|
|
414
414
|
const ADDITIONAL_INFORMATION_FORM_ID = "additionalInformation";
|
|
415
415
|
const ADDITIONAL_INFORMATION_FIELDS = [
|
|
@@ -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-DFR6yFy8.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-DFR6yFy8.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-DFR6yFy8.js";
|
|
12
12
|
const createLegalEntity = async (legalEntityId, baseUrl, data) => {
|
|
13
13
|
return httpPost(
|
|
14
14
|
{
|
package/dist/{useDataMissingRemediations-CMoZmPj8.js → useDataMissingRemediations-CjxCe3yc.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-DFR6yFy8.js";
|
|
12
12
|
function useDataMissingRemediations({
|
|
13
13
|
legalEntityId,
|
|
14
14
|
problems
|
package/dist/{useDeleteTransferInstrument-DeshUcGV.js → useDeleteTransferInstrument-HN2BLhyP.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-D7Wu9TN_.js";
|
|
12
|
+
import { b as useApiContext, al as httpDelete } from "./StoreProvider-DFR6yFy8.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-DFR6yFy8.js";
|
|
12
|
+
import { V as ValidationResult, o as omitKeys, a as addKeys } from "./utils-CnulHkMn.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-DFR6yFy8.js";
|
|
14
|
+
import { L as LoaderWrapper } from "./LoaderWrapper-Dg9BXOfN.js";
|
|
15
|
+
import { M as MaybeModal } from "./MaybeModal-B6Y-CUwt.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-Ds8fesIK.js";
|
|
18
|
+
import { C as Confirm } from "./Confirm-tO8eG5lI.js";
|
|
19
|
+
import { S as Summary } from "./Summary-SxfPLeM9.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-DFR6yFy8.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-DFR6yFy8.js";
|
|
12
|
+
import { V as ValidationResult } from "./utils-CnulHkMn.js";
|
|
13
|
+
import { a as isNotEmptyValidator } from "./commonValidators-BcyFMdFA.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-DFR6yFy8.js";
|
|
13
13
|
const Introduction = lazy(
|
|
14
|
-
async () => (await import("./Introduction-
|
|
14
|
+
async () => (await import("./Introduction-_K-ioq4w.js")).Introduction
|
|
15
15
|
);
|
|
16
16
|
const BusinessTypeSelectionPage = lazy(
|
|
17
|
-
async () => (await import("./BusinessTypeSelectionPage-
|
|
17
|
+
async () => (await import("./BusinessTypeSelectionPage-0ykcbLXM.js")).BusinessTypeSelectionPage
|
|
18
18
|
);
|
|
19
19
|
const SingpassSelection = lazy(
|
|
20
|
-
async () => (await import("./SingpassSelection-
|
|
20
|
+
async () => (await import("./SingpassSelection-DOUOHu-z.js")).SingpassSelection
|
|
21
21
|
);
|
|
22
22
|
const AccountSetupRejected = lazy(
|
|
23
|
-
async () => (await import("./AccountSetupRejected-
|
|
23
|
+
async () => (await import("./AccountSetupRejected-BmELqasB.js")).AccountSetupRejected
|
|
24
24
|
);
|
|
25
25
|
const DecisionMakers = lazy(
|
|
26
|
-
async () => (await import("./DecisionMakers-
|
|
26
|
+
async () => (await import("./DecisionMakers-C9Y6zR4s.js")).DecisionMakers
|
|
27
27
|
);
|
|
28
28
|
const CustomerSupport = lazy(
|
|
29
|
-
async () => (await import("./CustomerSupport-
|
|
29
|
+
async () => (await import("./CustomerSupport-Cn0cURdF.js")).CustomerSupport
|
|
30
30
|
);
|
|
31
|
-
const Review = lazy(async () => (await import("./Review-
|
|
31
|
+
const Review = lazy(async () => (await import("./Review-BfeBbmqL.js")).Review);
|
|
32
32
|
const SignPCIComponent = lazy(
|
|
33
|
-
async () => (await import("./SignPCIComponent-
|
|
33
|
+
async () => (await import("./SignPCIComponent-CA5Ao7_u.js")).SignPCIComponent
|
|
34
34
|
);
|
|
35
35
|
const AcceptTermsOfService = lazy(
|
|
36
|
-
async () => (await import("./AcceptTermsOfServiceComponent-
|
|
36
|
+
async () => (await import("./AcceptTermsOfServiceComponent-OMNQzzlt.js")).AcceptTermsOfServiceComponent
|
|
37
37
|
);
|
|
38
38
|
const TaxReportingDropin = lazy(
|
|
39
|
-
async () => (await import("./TaxReportingDropin-
|
|
39
|
+
async () => (await import("./TaxReportingDropin-BzB8nYXE.js")).TaxReportingDropin
|
|
40
40
|
);
|
|
41
41
|
const PayoutDetailsPage = lazy(
|
|
42
|
-
async () => (await import("./PayoutDetailsDropin-
|
|
42
|
+
async () => (await import("./PayoutDetailsDropin-CHKMEoSE.js").then((n) => n.a)).PayoutDetailsPage
|
|
43
43
|
);
|
|
44
44
|
const RootBusinessDetailsPage = lazy(
|
|
45
|
-
async () => (await import("./RootBusinessDetailsPage-
|
|
45
|
+
async () => (await import("./RootBusinessDetailsPage-CtRd9HPs.js")).RootBusinessDetailsPage
|
|
46
46
|
);
|
|
47
47
|
const RootBusinessLinesPage = lazy(
|
|
48
|
-
async () => (await import("./RootBusinessLinesPage-
|
|
48
|
+
async () => (await import("./RootBusinessLinesPage-Btnsj8r_.js")).RootBusinessLinesPage
|
|
49
49
|
);
|
|
50
50
|
const SoleProprietorshipPage = lazy(
|
|
51
|
-
async () => (await import("./SoleProprietorshipPage-
|
|
51
|
+
async () => (await import("./SoleProprietorshipPage-4OFUvq_A.js")).SoleProprietorshipPage
|
|
52
52
|
);
|
|
53
53
|
const TrustMemberCompanyPage = lazy(
|
|
54
|
-
async () => (await import("./TrustMemberCompanyPage-
|
|
54
|
+
async () => (await import("./TrustMemberCompanyPage-CfUxQni4.js")).TrustMemberCompanyPage
|
|
55
55
|
);
|
|
56
56
|
const TrustMemberIndividualPage = lazy(
|
|
57
|
-
async () => (await import("./TrustMemberIndividualPage-
|
|
57
|
+
async () => (await import("./TrustMemberIndividualPage-DG9KUe02.js")).TrustMemberIndividualPage
|
|
58
58
|
);
|
|
59
59
|
const TrustMemberRoleAndTypePage = lazy(
|
|
60
|
-
async () => (await import("./TrustMemberRoleAndTypePage-
|
|
60
|
+
async () => (await import("./TrustMemberRoleAndTypePage-BdBKpEha.js")).TrustMemberRoleAndTypePage
|
|
61
61
|
);
|
|
62
62
|
const TrustMembersOverview = lazy(
|
|
63
|
-
async () => (await import("./TrustMembersOverview-
|
|
63
|
+
async () => (await import("./TrustMembersOverview-Ynu4zahR.js")).TrustMembersOverview
|
|
64
64
|
);
|
|
65
65
|
const UnincorporatedPartnershipMemberCompanyPage = lazy(
|
|
66
|
-
async () => (await import("./UnincorporatedPartnershipMemberCompanyPage-
|
|
66
|
+
async () => (await import("./UnincorporatedPartnershipMemberCompanyPage-BFZ7GGpo.js")).UnincorporatedPartnershipMemberCompanyPage
|
|
67
67
|
);
|
|
68
68
|
const UnincorporatedPartnershipIndividualPage = lazy(
|
|
69
|
-
async () => (await import("./UnincorporatedPartnershipIndividualPage-
|
|
69
|
+
async () => (await import("./UnincorporatedPartnershipIndividualPage-DKMj8Dwh.js")).UnincorporatedPartnershipIndividualPage
|
|
70
70
|
);
|
|
71
71
|
const UnincorporatedPartnershipMemberRoleAndTypePage = lazy(
|
|
72
|
-
async () => (await import("./UnincorporatedPartnershipMemberRoleAndTypePage-
|
|
72
|
+
async () => (await import("./UnincorporatedPartnershipMemberRoleAndTypePage-6C67QTtR.js")).UnincorporatedPartnershipMemberRoleAndTypePage
|
|
73
73
|
);
|
|
74
74
|
const UnincorporatedPartnershipMembersOverview = lazy(
|
|
75
|
-
async () => (await import("./UnincorporatedPartnershipMembersOverview-
|
|
75
|
+
async () => (await import("./UnincorporatedPartnershipMembersOverview-BkAc4tTI.js")).UnincorporatedPartnershipMembersOverview
|
|
76
76
|
);
|
|
77
77
|
const BusinessFinancingPage = lazy(
|
|
78
|
-
async () => (await import("./BusinessFinancingPage-
|
|
78
|
+
async () => (await import("./BusinessFinancingPage-CJXuD19C.js")).BusinessFinancingPage
|
|
79
79
|
);
|
|
80
80
|
const TrustDetailsPage = lazy(
|
|
81
|
-
async () => (await import("./TrustDetailsPage-
|
|
81
|
+
async () => (await import("./TrustDetailsPage-Dr6YIRGG.js")).TrustDetailsPage
|
|
82
82
|
);
|
|
83
83
|
const SourceOfFundsPage = lazy(
|
|
84
|
-
async () => (await import("./SourceOfFundsPage-
|
|
84
|
+
async () => (await import("./SourceOfFundsPage-B2L2vYO7.js")).SourceOfFundsPage
|
|
85
85
|
);
|
|
86
86
|
const RootIndividualDetailsPage = lazy(
|
|
87
|
-
async () => (await import("./RootIndividualDetailsPage-
|
|
87
|
+
async () => (await import("./RootIndividualDetailsPage-8nUlp7YZ.js")).RootIndividualDetailsPage
|
|
88
88
|
);
|
|
89
89
|
const LegalRepresentativeDetailsPage = lazy(
|
|
90
|
-
async () => (await import("./LegalRepresentativeDetailsPage-
|
|
90
|
+
async () => (await import("./LegalRepresentativeDetailsPage-C3QWHa7T.js")).LegalRepresentativeDetailsPage
|
|
91
91
|
);
|
|
92
92
|
const DecisionMakerDetailsPage = lazy(
|
|
93
|
-
async () => (await import("./DecisionMakerDetailsPage-
|
|
93
|
+
async () => (await import("./DecisionMakerDetailsPage-HY7FMT3F.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-DFR6yFy8.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-DFR6yFy8.js";
|
|
12
12
|
const getPciQuestionnaireList = async (legalEntityId, baseUrl) => {
|
|
13
13
|
return httpGet({
|
|
14
14
|
baseUrl,
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useQuery } from "@tanstack/preact-query";
|
|
11
|
-
import { b as useApiContext, a3 as httpPost, H as useSettingsContext } from "./StoreProvider-
|
|
11
|
+
import { b as useApiContext, a3 as httpPost, H as useSettingsContext } from "./StoreProvider-DFR6yFy8.js";
|
|
12
12
|
import { useMemo } from "preact/hooks";
|
|
13
|
-
import { u as useBusinessLines } from "./useBusinessLines-
|
|
13
|
+
import { u as useBusinessLines } from "./useBusinessLines-ewWROXYV.js";
|
|
14
14
|
import { S as SettingNames } from "./types-CQ2p58-6.js";
|
|
15
15
|
const getPciStatus = async (legalEntityId, baseUrl, data) => {
|
|
16
16
|
const filteredData = {
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useQuery, skipToken } from "@tanstack/preact-query";
|
|
11
|
-
import { b as useApiContext, ai as entriesOf, aH as Scenarios, j as httpGet } from "./StoreProvider-
|
|
11
|
+
import { b as useApiContext, ai as entriesOf, aH as Scenarios, j as httpGet } from "./StoreProvider-DFR6yFy8.js";
|
|
12
12
|
const getScenarios = async (legalEntityId, baseUrl, legalEntityType, countryCode) => {
|
|
13
13
|
const scenarioParams = new URLSearchParams({
|
|
14
14
|
countryCode,
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useQuery } from "@tanstack/preact-query";
|
|
11
|
-
import { o as TaskStatuses, a8 as createLogger, b as useApiContext, j as httpGet } from "./StoreProvider-
|
|
11
|
+
import { o as TaskStatuses, a8 as createLogger, b as useApiContext, j as httpGet } from "./StoreProvider-DFR6yFy8.js";
|
|
12
12
|
const logger = createLogger();
|
|
13
13
|
const normalizeTaskStatuses = (taskStatuses) => {
|
|
14
14
|
return taskStatuses?.statuses?.reduce((acc, currentTask) => {
|
|
@@ -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-DFR6yFy8.js";
|
|
12
12
|
const getTermsOfServiceAcceptanceInfos = async (legalEntityId, baseUrl) => {
|
|
13
13
|
return httpGet({
|
|
14
14
|
baseUrl,
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { useQueryClient } from "@tanstack/preact-query";
|
|
11
11
|
import { useCallback, useContext } from "preact/hooks";
|
|
12
|
-
import { a8 as createLogger, b as useApiContext, an as ToastContext } from "./StoreProvider-
|
|
12
|
+
import { a8 as createLogger, b as useApiContext, an as ToastContext } from "./StoreProvider-DFR6yFy8.js";
|
|
13
13
|
const logger = createLogger();
|
|
14
14
|
const QUERIES_TO_INVALIDATE_WHEN_ROOT_LE_IS_INVALIDATED = [
|
|
15
15
|
"businessLines",
|