@adyen/kyc-components 3.94.0-beta.1 → 3.94.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-DhISLeyz.js → AcceptTermsOfServiceComponent-UXDlHmf_.js} +15 -15
- package/dist/{Accordion-B7zr99OE.js → Accordion-DM9qeMoR.js} +1 -1
- package/dist/{AccountSetupRejected-e4OwObRX.js → AccountSetupRejected-DfmKQEp-.js} +3 -3
- package/dist/{ActionBar-cqF2mXa4.js → ActionBar-DCKuV5BO.js} +1 -1
- package/dist/{Address-DOBvNgXp.js → Address-BEUcWe_H.js} +9 -9
- package/dist/{Alert-CqWt2GEL.js → Alert-D9HbhU88.js} +2 -2
- package/dist/{Avatar-DUIw9va_.js → Avatar-C_tjYaBz.js} +1 -1
- package/dist/{BusinessFinancingComponent-tkqEsmyS.js → BusinessFinancingComponent-B5gLGmkK.js} +4 -4
- package/dist/{BusinessFinancingDropin-CZriwXvD.js → BusinessFinancingDropin-BpZKzB71.js} +27 -27
- package/dist/{BusinessFinancingPage-DryF_02-.js → BusinessFinancingPage-CKdy77OK.js} +3 -3
- package/dist/{BusinessTypeSelectionPage-DH2F4mdD.js → BusinessTypeSelectionPage-ClkY9cbT.js} +8 -8
- package/dist/{Checkbox-DZmvMvyi.js → Checkbox-BU4IYlt6.js} +1 -1
- package/dist/{Confirm-7S3BF2sR.js → Confirm-BM1PTsnm.js} +2 -2
- package/dist/{ConstitutionalDocument-_O2L8Uoe.js → ConstitutionalDocument-D9sPfw_B.js} +17 -17
- package/dist/{ContactDetails-CNaOR29n.js → ContactDetails-BRnbG7BX.js} +7 -7
- package/dist/{ContextGuidance-C2HoOb9q.js → ContextGuidance-CZGa7C-r.js} +2 -2
- package/dist/{CountryField-EjrnXp6x.js → CountryField-DShqP-Yi.js} +4 -4
- package/dist/{CreateIndividualComponent-DcG18Rxf.js → CreateIndividualComponent-BZ6dd8Bd.js} +4 -4
- package/dist/{CreateTransferInstrumentComponent-B3sWQ2vz.js → CreateTransferInstrumentComponent-1pjVr_3y.js} +3 -3
- package/dist/{Currency-DnvCapGE.js → Currency-CEtDxV-F.js} +6 -6
- package/dist/{CustomerSupport-DfuCuTFz.js → CustomerSupport-gmN79qSl.js} +10 -10
- package/dist/{DebugModal-dFIg5nwL.js → DebugModal-C3horl0P.js} +8 -8
- package/dist/{DecisionMakerDetailsPage-D-5f4qLY.js → DecisionMakerDetailsPage-CN1t2Ok6.js} +6 -6
- package/dist/{DecisionMakers-BEawstAd.js → DecisionMakers-83kflZpA.js} +20 -20
- package/dist/{Dropzone-BRbPbfYB.js → Dropzone-DYIUInYF.js} +3 -3
- package/dist/{EmbeddedStatus-BUFxcyIL.js → EmbeddedStatus-BID4yaOx.js} +2 -2
- package/dist/{EndStateLayout-Bush8tbD.js → EndStateLayout-Cqmi0QYW.js} +1 -1
- package/dist/{EntityAssociation-CqAJuez-.js → EntityAssociation-jMAjopdW.js} +5 -5
- package/dist/{EntityGuidanceStatus-B1B6cYV6.js → EntityGuidanceStatus-ek-5IvZb.js} +2 -2
- package/dist/{ErrorPanel-irMZQ-0R.js → ErrorPanel-ByEaxCQu.js} +2 -2
- package/dist/{Field-C01TC1hb.js → Field-Cp_UOAnA.js} +1 -1
- package/dist/{FormNavigation-BgThhI1H.js → FormNavigation-CttAyMuX.js} +2 -2
- package/dist/{FormWrapper-DVLN4f4S.js → FormWrapper-C8UDjnjQ.js} +8 -8
- package/dist/{Header-DHg-pSs6.js → Header-CIxJSQWR.js} +1 -1
- package/dist/{Image-CGeTwSQG.js → Image-T-D-HDf5.js} +1 -1
- package/dist/{Individual.rules-C0q2UFzh.js → Individual.rules-DEhHxeiv.js} +5 -5
- package/dist/{IndividualDropin-CdVsDukP.js → IndividualDropin-Dz2ooI0s.js} +52 -52
- package/dist/{InputDate-LVJ0c7lR.js → InputDate-z9OpUslu.js} +1 -1
- package/dist/{InputText-Du55o9C0.js → InputText-CBhD5jca.js} +1 -1
- package/dist/{Introduction-DVCQnncG.js → Introduction-Bm3kybSH.js} +3 -3
- package/dist/{JpAddress-OZEtV8J2.js → JpAddress-owiNWOqn.js} +8 -8
- package/dist/{LandingLayout-CE82o2_L.js → LandingLayout-BuBU3Pyb.js} +1 -1
- package/dist/{LegalRepresentativeDetailsPage-Cjq8Pzuh.js → LegalRepresentativeDetailsPage-vS7jAxuO.js} +3 -3
- package/dist/{Link-BaOWR7WV.js → Link-CIBefZJS.js} +1 -1
- package/dist/{ListItem-CoikaLel.js → ListItem-CnzgA-sH.js} +2 -2
- package/dist/{LoaderWrapper-NpHG0FMQ.js → LoaderWrapper-CwhIpGKR.js} +1 -1
- package/dist/{ManageIndividualComponent-CYvrMM28.js → ManageIndividualComponent-CJEqOUgN.js} +4 -4
- package/dist/{ManageTermsOfServiceComponent-DrWBcWOt.js → ManageTermsOfServiceComponent-BdiC5Nbd.js} +3 -3
- package/dist/{ManageTransferInstrumentComponent-DEPiIuUl.js → ManageTransferInstrumentComponent-CObC5Uof.js} +11 -11
- package/dist/{MaskedInput-C8Xzx60t.js → MaskedInput-BfI4FGAA.js} +4 -4
- package/dist/{MaybeModal-D19WF6LY.js → MaybeModal-DHcu32Dh.js} +2 -2
- package/dist/{Modal-DFfoUdop.js → Modal-BKWXTEoU.js} +1 -1
- package/dist/{Name-CUApd6pQ.js → Name-BCar2_dk.js} +4 -4
- package/dist/{OnboardingDropinComponent-Bmxjdoqk.js → OnboardingDropinComponent-DstStqYS.js} +42 -42
- package/dist/{PayoutDetailsDropin-fb1vIMiX.js → PayoutDetailsDropin-DSdlqAe2.js} +40 -40
- package/dist/{RadioGroup-BhXRCHmf.js → RadioGroup-COsozc9g.js} +1 -1
- package/dist/{RadioGroupCard-B0MUCafF.js → RadioGroupCard-xqC3IACY.js} +1 -1
- package/dist/{Review-C2R4NrZu.js → Review-CZwc-DMp.js} +6 -6
- package/dist/{RootBusinessDetailsPage-YYevwp74.js → RootBusinessDetailsPage-BsAtLAyF.js} +4 -4
- package/dist/{RootBusinessLinesPage-CTRu3Qgq.js → RootBusinessLinesPage-BRgtyHFs.js} +22 -22
- package/dist/{RootIndividualDetailsPage-DtvX2HO3.js → RootIndividualDetailsPage-C3wTzTp1.js} +4 -4
- package/dist/{Select-BPLro8vN.js → Select-DeTBytOH.js} +3 -3
- package/dist/{SignPCIComponent-Cq3NHNX2.js → SignPCIComponent-CCGyrXvI.js} +10 -10
- package/dist/{SingpassSelection-DI_UwCxR.js → SingpassSelection-BumqRwXI.js} +5 -5
- package/dist/{SoleProprietorshipPage-DtKJETEU.js → SoleProprietorshipPage-zgU4q95D.js} +3 -3
- package/dist/{SourceOfFundsPage-CpLR6cyH.js → SourceOfFundsPage-DkjYls-E.js} +30 -30
- package/dist/{StepProgressIndicator-TV48SpUP.js → StepProgressIndicator-D8PfKJKf.js} +1 -1
- package/dist/{StoreProvider-DVXLYGfA.js → StoreProvider-CsZ-qrGt.js} +7 -7
- package/dist/{Summary-Br4UQ3cB.js → Summary-DPm9r7Az.js} +5 -5
- package/dist/{TaskVerificationStatus-ChqiUqNk.js → TaskVerificationStatus-DrOQToMh.js} +1 -1
- package/dist/{TaxInformationField-CWuZa2mD.js → TaxInformationField-NI7Hbgov.js} +20 -20
- package/dist/{TaxReportingDropin-BQZsPQiJ.js → TaxReportingDropin-BBUAxx92.js} +15 -15
- package/dist/{TextArea-CEVyy20t.js → TextArea-CCjCNpAP.js} +1 -1
- package/dist/{TileGroup-jxHcTAxV.js → TileGroup-BhKhvfLz.js} +2 -2
- package/dist/{TrustDetailsPage-BU5x2aC8.js → TrustDetailsPage-yOmFcEyO.js} +33 -33
- package/dist/{TrustMemberCompanyPage-atDtrWR2.js → TrustMemberCompanyPage-DfXulzKv.js} +4 -4
- package/dist/{TrustMemberIndividualPage-AW7wfWSl.js → TrustMemberIndividualPage-B8tb56n2.js} +3 -3
- package/dist/{TrustMemberRoleAndTypePage-WFJpbS5b.js → TrustMemberRoleAndTypePage-WHu1tc4O.js} +21 -21
- package/dist/{TrustMembersOverview-k24c5hXZ.js → TrustMembersOverview-BWbGUK3k.js} +11 -11
- package/dist/{UnincorporatedPartnershipIndividualPage-CrRQi6Un.js → UnincorporatedPartnershipIndividualPage-DD2dn41k.js} +3 -3
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-BFohOhrC.js → UnincorporatedPartnershipMemberCompanyPage-DsUSSYnI.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-CbTkr-zr.js → UnincorporatedPartnershipMemberRoleAndTypePage-Ctb0Lz_0.js} +10 -10
- package/dist/{UnincorporatedPartnershipMembersOverview-CvkRZFIR.js → UnincorporatedPartnershipMembersOverview-B_GJIeZC.js} +8 -8
- package/dist/{VerificationErrorAlert-BNcxNDaf.js → VerificationErrorAlert-CCiMqGl8.js} +3 -3
- package/dist/{ViewVerificationStatusComponent-BrkeOJnL.js → ViewVerificationStatusComponent-CICJ6cy4.js} +3 -3
- 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-kyc-components.js +19 -19
- 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-DQQCgSDY.js → bafinUtils-Ch6rVpGi.js} +1 -1
- package/dist/{commonValidators-C9AWAaVE.js → commonValidators-B8wfpMjX.js} +1 -1
- package/dist/{dropinUtils-CTP4dsAq.js → dropinUtils-B4Vv7_zJ.js} +3 -3
- package/dist/{fieldConfig-DfN0YLoq.js → fieldConfig-CMdKt41r.js} +5 -5
- package/dist/{formUtils-BAwzuKKL.js → formUtils-q44BTi2U.js} +2 -2
- package/dist/{getName-C0H4LlbP.js → getName-BxKx8lLd.js} +1 -1
- package/dist/{iframeWidget-KqhgGmqr.js → iframeWidget-iDH8bVr4.js} +3 -3
- package/dist/{isEmpty-CDlCW3Ts.js → isEmpty-BNacTlfR.js} +1 -1
- package/dist/{japanSupportUtils-CvW07poK.js → japanSupportUtils-C7aPdWXD.js} +1 -1
- package/dist/{localizeDateString-DmWzTFSS.js → localizeDateString-DuTq6aHe.js} +1 -1
- package/dist/{mapExistingFile-BuJEEc84.js → mapExistingFile-CGg2sd-T.js} +3 -3
- package/dist/{mapJpAddressSchemaToAddressLocalizations-Cx3ocJfZ.js → mapJpAddressSchemaToAddressLocalizations-BwHU4ZwL.js} +4 -4
- package/dist/{mapLegalEntityToIndividualSchema-hogIvR9m.js → mapLegalEntityToIndividualSchema-DzCEngXr.js} +3 -3
- package/dist/{mapTransferInstrumentToPayoutAccount-RgCsIxlF.js → mapTransferInstrumentToPayoutAccount-DLHvwig1.js} +1 -1
- package/dist/{patternValidators-BOqs1rTX.js → patternValidators-CZ5mQeGD.js} +1 -1
- package/dist/{process-field-configurations-BtorsiZi.js → process-field-configurations-BQY03q4v.js} +2 -2
- package/dist/{resolveEnvironment-0jP8T0kp.js → resolveEnvironment-BEU3VKd8.js} +3 -3
- package/dist/{roleMetadata-CVnvoVk2.js → roleMetadata-BeJKyoeE.js} +1 -1
- package/dist/types/stores/globalStore/taskStatus.d.ts +3 -3
- package/dist/{types-pXUqG-8h.js → types-BY62XJTq.js} +1 -1
- package/dist/{types-D4ndxXa7.js → types-BuMuCpsa.js} +1 -1
- package/dist/{types-DNxSxOCq.js → types-pKG9olDB.js} +1 -1
- package/dist/{useAssociatedLegalEntity-vKa05rtf.js → useAssociatedLegalEntity-V0OP9ejx.js} +1 -1
- package/dist/{useBusinessDetailsData-Djk9YU7O.js → useBusinessDetailsData-BsXXL7fg.js} +49 -49
- package/dist/{useCreateLegalEntity-BN4DpPmP.js → useCreateLegalEntity-otpCRCfZ.js} +1 -1
- package/dist/{useDataset-CyvBNHPU.js → useDataset-CvATx7EN.js} +1 -1
- package/dist/{useForm-CEWVkAwN.js → useForm-9nSw9LZY.js} +2 -2
- package/dist/{useFormContext-CtHN4pay.js → useFormContext-BnlNKQZ7.js} +6 -6
- package/dist/{useGlobalData-8Z4XuGEt.js → useGlobalData-Dy2O7YGk.js} +1 -1
- package/dist/{useMultiForm-ceabaGoo.js → useMultiForm-CBefohos.js} +3 -3
- package/dist/{useOnboardingStatus-C6O20k9z.js → useOnboardingStatus-CJrlnkvv.js} +1 -1
- package/dist/{useScenarios-DLj70nMb.js → useScenarios-CkgrmOF-.js} +1 -1
- package/dist/{useTermsOfServiceStatus-D53-qLEI.js → useTermsOfServiceStatus-DFLF3xas.js} +1 -1
- package/dist/{useToastContext-BYa1vWUT.js → useToastContext-uSKjdph9.js} +1 -1
- package/dist/{useUnincorporatedPartnershipMembers-DBKzyNHX.js → useUnincorporatedPartnershipMembers-BmLKVfkf.js} +3 -3
- package/dist/{useUpdateBusinessLines-DKf49kjQ.js → useUpdateBusinessLines-BBNXF45E.js} +3 -3
- package/dist/{useUpdateLegalEntity-D2QNI3yk.js → useUpdateLegalEntity-DHxCVgNk.js} +2 -2
- package/dist/{utils-8ELY3y1M.js → utils-5yZQq_bx.js} +5 -5
- package/dist/{utils-Bdnx4SYi.js → utils-CIHH_aYF.js} +1 -1
- package/dist/{utils-CF2qS4pC.js → utils-CIIs2bXi.js} +1 -1
- package/dist/{utils-tiMgA3mn.js → utils-CLLUBF1a.js} +1 -1
- package/dist/{utils-OXAfgteS.js → utils-ClKogQZa.js} +2 -2
- package/dist/{validate-CkAaEMW9.js → validate-BntX2W3B.js} +1 -1
- package/dist/{validate-a5Le-_pl.js → validate-CLYo0JdH.js} +2 -2
- package/dist/{validationError-ZD_wwRuh.js → validationError-DJ6zTIzv.js} +1 -1
- package/package.json +1 -1
|
@@ -10,10 +10,10 @@
|
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { s as summaryItem } from "./summaryItem-CAQCQSkt.js";
|
|
12
12
|
import { useQuery } from "@tanstack/preact-query";
|
|
13
|
-
import { b as useApiContext, k as httpGet, a5 as CountryCodes } from "./StoreProvider-
|
|
14
|
-
import { u as useSetting } from "./bafinUtils-
|
|
15
|
-
import { u as useCapabilities } from "./TaxInformationField-
|
|
16
|
-
import { i as isEmpty } from "./isEmpty-
|
|
13
|
+
import { b as useApiContext, k as httpGet, a5 as CountryCodes } from "./StoreProvider-CsZ-qrGt.js";
|
|
14
|
+
import { u as useSetting } from "./bafinUtils-Ch6rVpGi.js";
|
|
15
|
+
import { u as useCapabilities } from "./TaxInformationField-NI7Hbgov.js";
|
|
16
|
+
import { i as isEmpty } from "./isEmpty-BNacTlfR.js";
|
|
17
17
|
import { m as mapSchemaFieldsToApiScriptLocalization } from "./mapAddressLocalizationToJpAddressSchema-vJWbpAyq.js";
|
|
18
18
|
const mapJpAddressSummary = (data, datasetUtils) => {
|
|
19
19
|
if (!data) return {};
|
|
@@ -8,12 +8,12 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { signal } from "@preact/signals";
|
|
11
|
-
import { ai as useI18nContext, C as useAnalyticsContext, O as Typography, a0 as Button, a5 as CountryCodes, ar as reverseMapping, bb as getNomineeFromAssociation, bc as individualOnfidoBaseMapping, af as DecisionMakerTypes } from "./StoreProvider-
|
|
11
|
+
import { ai as useI18nContext, C as useAnalyticsContext, O as Typography, a0 as Button, a5 as CountryCodes, ar as reverseMapping, bb as getNomineeFromAssociation, bc as individualOnfidoBaseMapping, af as DecisionMakerTypes } from "./StoreProvider-CsZ-qrGt.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-Cp_UOAnA.js";
|
|
16
|
+
import { T as TileGroup } from "./TileGroup-BhKhvfLz.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, k as httpGet, bj as crossBorderMapping, bk as payoutComponentKeyMapping } from "./StoreProvider-
|
|
11
|
+
import { b as useApiContext, k as httpGet, bj as crossBorderMapping, bk as payoutComponentKeyMapping } from "./StoreProvider-CsZ-qrGt.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 { aB as hasText, ap as isEmpty, at as matchesRegex, au as NO_ALPHABET_REGEX, av as EMOJI_REGEX, aw as hasRepeatedCharacters, b4 as isValidMinLength, ax as isInvalidName, bm as OTHER_ENTITIES_VALID_CHAR_REGEX, bn as LATIN_SPACE_MARK_PUNCTUATION_REGEX, aC as standardKatakanaValidator, aD as standardKanjiValidator } from "./StoreProvider-
|
|
10
|
+
import { aB as hasText, ap as isEmpty, at as matchesRegex, au as NO_ALPHABET_REGEX, av as EMOJI_REGEX, aw as hasRepeatedCharacters, b4 as isValidMinLength, ax as isInvalidName, bm as OTHER_ENTITIES_VALID_CHAR_REGEX, bn as LATIN_SPACE_MARK_PUNCTUATION_REGEX, aC as standardKatakanaValidator, aD as standardKanjiValidator } from "./StoreProvider-CsZ-qrGt.js";
|
|
11
11
|
const validateNotEmptyOnBlur = {
|
|
12
12
|
modes: ["blur"],
|
|
13
13
|
validate: (val) => !isEmpty(val),
|
package/dist/{process-field-configurations-BtorsiZi.js → process-field-configurations-BQY03q4v.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-T-D-HDf5.js";
|
|
11
11
|
import { f as formDebugInfo } from "./debugStore-BvbyN1Oi.js";
|
|
12
|
-
import { o as createLogger, b8 as businessDetailsApiKeyMapping, aL as individualOnfidoApiKeyMapping, b9 as remediationHasFileUploadField, ba as dataMissingRemediationsToFieldsMap, aI as keysOf } from "./StoreProvider-
|
|
12
|
+
import { o as createLogger, b8 as businessDetailsApiKeyMapping, aL as individualOnfidoApiKeyMapping, b9 as remediationHasFileUploadField, ba as dataMissingRemediationsToFieldsMap, aI as keysOf } from "./StoreProvider-CsZ-qrGt.js";
|
|
13
13
|
const linkedFieldsMap = {
|
|
14
14
|
"additionalInformation.vatNumber": [
|
|
15
15
|
"additionalInformation.exemptedFromVat",
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "fb1e997c-cd6d-446f-9702-a260cb1475aa", e._sentryDebugIdIdentifier = "sentry-dbid-fb1e997c-cd6d-446f-9702-a260cb1475aa");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { h as h$1, hydrate, render, cloneElement, Fragment } from "preact";
|
|
11
11
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
12
|
-
import { an as refreshSession, a0 as Button, L as Loader, S as SettingsProvider, Q as QueryClientProvider, A as ApiProvider, E as ExperimentsContextProvider, d as StoreProvider, e as AnalyticsProvider, I as I18nProvider, D as DebugListener, T as ToastContextProvider, f as StateProvider, h as setSdkTokenHandler, n as normalizeEnvironment } from "./StoreProvider-
|
|
12
|
+
import { an as refreshSession, a0 as Button, L as Loader, S as SettingsProvider, Q as QueryClientProvider, A as ApiProvider, E as ExperimentsContextProvider, d as StoreProvider, e as AnalyticsProvider, I as I18nProvider, D as DebugListener, T as ToastContextProvider, f as StateProvider, h as setSdkTokenHandler, n as normalizeEnvironment } from "./StoreProvider-CsZ-qrGt.js";
|
|
13
13
|
import { useState, useEffect } from "preact/hooks";
|
|
14
14
|
function i() {
|
|
15
15
|
return i = Object.assign ? Object.assign.bind() : function(t) {
|
|
@@ -135,7 +135,7 @@ const EmbedShell = ({
|
|
|
135
135
|
experiments,
|
|
136
136
|
refreshExperiments,
|
|
137
137
|
children: /* @__PURE__ */ jsxs(StoreProvider, { children: [
|
|
138
|
-
/* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.94.0
|
|
138
|
+
/* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.94.0" }),
|
|
139
139
|
/* @__PURE__ */ jsx(
|
|
140
140
|
AnalyticsProvider,
|
|
141
141
|
{
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { bo as TrustMemberGuidanceLabels, a9 as TrustMemberTypes, af as DecisionMakerTypes } from "./StoreProvider-
|
|
10
|
+
import { bo as TrustMemberGuidanceLabels, a9 as TrustMemberTypes, af as DecisionMakerTypes } from "./StoreProvider-CsZ-qrGt.js";
|
|
11
11
|
import { U as UnincorporatedPartnershipMemberTypes } from "./unincorporated-partnership-MeN1dp53.js";
|
|
12
12
|
const roleMetadata = {
|
|
13
13
|
[DecisionMakerTypes.CONTROLLING_PERSON]: {
|
|
@@ -12,9 +12,9 @@ export declare const TaskStatuses: {
|
|
|
12
12
|
readonly DETAILS_REQUIRED: 3;
|
|
13
13
|
readonly SIGN: 4;
|
|
14
14
|
readonly DOWNLOAD: 5;
|
|
15
|
-
readonly
|
|
16
|
-
readonly
|
|
17
|
-
readonly
|
|
15
|
+
readonly SUBMIT: 6;
|
|
16
|
+
readonly ERROR: 7;
|
|
17
|
+
readonly SIGNED: 8;
|
|
18
18
|
readonly REMOVING: 9;
|
|
19
19
|
readonly UNKNOWN: 10;
|
|
20
20
|
};
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { a5 as CountryCodes } from "./StoreProvider-
|
|
10
|
+
import { a5 as CountryCodes } from "./StoreProvider-CsZ-qrGt.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 { t as LegalEntityTypes, a5 as CountryCodes } from "./StoreProvider-
|
|
10
|
+
import { t as LegalEntityTypes, a5 as CountryCodes } from "./StoreProvider-CsZ-qrGt.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 { o as createLogger, c as useLegalEntity } from "./StoreProvider-
|
|
12
|
+
import { o as createLogger, c as useLegalEntity } from "./StoreProvider-CsZ-qrGt.js";
|
|
13
13
|
const logger = createLogger();
|
|
14
14
|
function useAssociatedLegalEntity(parentLegalEntity, associationType) {
|
|
15
15
|
const matchingAssociation = useMemo(() => {
|
|
@@ -10,66 +10,66 @@
|
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useMutation, useQuery, skipToken, useQueryClient } from "@tanstack/preact-query";
|
|
12
12
|
import { useEffect, useCallback, useState, useMemo } 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 useTranslation, ai as useI18nContext, ap as isEmpty, i as isUndefinedOrNull, a5 as CountryCodes, bu as isISIN, a0 as Button, J as useExperimentsContext, c as useLegalEntity, R as ROOT_LE, aE as useVersionConfiguration, O as Typography, L as Loader, m as useSettingsContext, b as useApiContext, j as httpPost, ak as entriesOf, C as useAnalyticsContext, o as createLogger, x as useAccountHolder, B as TaskTypes, t as LegalEntityTypes, bv as businessDetailsComponentsKeyMapping, bw as solePropBusinessDetailsKeyMapping, ac as objectsDeepEqual, aI as keysOf, bx as solePropBusinessDetailsApiKeyMapping, b8 as businessDetailsApiKeyMapping, aO as filterOutUnwantedAssociationsIfRootLE, aM as drop, a8 as getOwnEntityAssociations, aT as doArraysMatch, by as solePropBusinessDetailsDocumentMapping, bz as businessDetailsDocumentMapping } from "./StoreProvider-
|
|
15
|
-
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-
|
|
16
|
-
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
17
|
-
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-
|
|
18
|
-
import { u as useToastContext } from "./useToastContext-
|
|
19
|
-
import { C as CompanyTypesValues } from "./bafinUtils-
|
|
20
|
-
import { c as composePerScenarioFormConfigurations, g as getPropsFromConfigurations } from "./process-field-configurations-
|
|
21
|
-
import { a as addValidityToForms, u as useFormComposer } from "./dropinUtils-
|
|
22
|
-
import { u as useMultiForm } from "./useMultiForm-
|
|
23
|
-
import { u as uppercase, m as mapExistingFile, g as getPageName, b as useScenarioConfiguration } from "./mapExistingFile-
|
|
24
|
-
import { C as Confirm } from "./Confirm-
|
|
25
|
-
import { a as getDocument, j as getDocuments, c as createDocumentRequest, k as mergeProofOfOwnershipAttachments, b as getFileExtention, d as documentApiUtils } from "./validate-
|
|
26
|
-
import { c as TAX_INFORMATION_FIELD, r as requestingBanking, d as requestingIssuing, t as taxInformationDefaultFieldMetadata, a as taxInformationDefaultFieldConfig, T as TaxInformationField, C as COUNTRY_OF_GOVERNING_LAW_POSSIBLE, S as StateCodesUS, e as isUsingCompanySearch, M as MemoizedDocumentUpload, f as isRegistrationNumberAbsentStateV4Scenario, h as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, j as getCompanyRegistrationNumberOptions, k as countryToTaxInfoTypeMap, l as rules, g as getFieldsWithExistingData } from "./TaxInformationField-
|
|
27
|
-
import { D as DBA_NAME_FIELD, B as BUSINESS_REGISTRATION_NUMBER_FIELD, V as VAT_NUMBER_FIELD, r as registrationAddressFields, o as operationalAddressIsSameIds, v as vatAbsenceReasonMetadata, d as defaultFieldMetadata$1, a as defaultFieldConfig$1, b as registrationNumberDefaultFieldMetadata, c as registrationNumberDefaultFieldConfig, e as doingBusinessAsFieldMetadata, f as doingBusinessAsAbsentFieldMetadata, g as DBANameField, h as BusinessRegistrationNumberField, i as VatNumberField, M as MemoizedConstitutionalDocument, j as getDefaultRegistrationNumberType, k as getDefaultVatNumberType, l as inferCompanyRegistrationNumberType, m as exemptFromRegistrationNumberDefaultFieldMetadata } from "./ConstitutionalDocument-
|
|
28
|
-
import { K as KEYBOARD_KEYS, M as Modal, a as ModalContent } from "./Modal-
|
|
29
|
-
import { S as SettingNames } from "./TaskVerificationStatus-
|
|
30
|
-
import { t as toFullWidth, u as useAllowedCountries, m as mapJpAddressSchemaToAddressLocalizations, a as mapJpAddressSummary } from "./mapJpAddressSchemaToAddressLocalizations-
|
|
31
|
-
import { g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET, a as getAddressSchemaLabelsByCountry, m as mapAddressLabels, c as getKeyForField } from "./utils-
|
|
32
|
-
import { o as organizationTypesToSkipCompanyStructureForm } from "./utils-
|
|
33
|
-
import { f as formatCurrency, A as ALLOWED_SOF_SERVICES } from "./utils-
|
|
34
|
-
import { b as useAddressCleanse, f as formatAddressForCleanse, m as mapAddressData, A as Address, g as getNestedTrustedFields, S as STATE_FIELD, c as StateField, i as isDateOlderThanAYear } from "./Address-
|
|
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-BBNXF45E.js";
|
|
14
|
+
import { u as useTranslation, ai as useI18nContext, ap as isEmpty, i as isUndefinedOrNull, a5 as CountryCodes, bu as isISIN, a0 as Button, J as useExperimentsContext, c as useLegalEntity, R as ROOT_LE, aE as useVersionConfiguration, O as Typography, L as Loader, m as useSettingsContext, b as useApiContext, j as httpPost, ak as entriesOf, C as useAnalyticsContext, o as createLogger, x as useAccountHolder, B as TaskTypes, t as LegalEntityTypes, bv as businessDetailsComponentsKeyMapping, bw as solePropBusinessDetailsKeyMapping, ac as objectsDeepEqual, aI as keysOf, bx as solePropBusinessDetailsApiKeyMapping, b8 as businessDetailsApiKeyMapping, aO as filterOutUnwantedAssociationsIfRootLE, aM as drop, a8 as getOwnEntityAssociations, aT as doArraysMatch, by as solePropBusinessDetailsDocumentMapping, bz as businessDetailsDocumentMapping } from "./StoreProvider-CsZ-qrGt.js";
|
|
15
|
+
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-otpCRCfZ.js";
|
|
16
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-DHxCVgNk.js";
|
|
17
|
+
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-BnlNKQZ7.js";
|
|
18
|
+
import { u as useToastContext } from "./useToastContext-uSKjdph9.js";
|
|
19
|
+
import { C as CompanyTypesValues } from "./bafinUtils-Ch6rVpGi.js";
|
|
20
|
+
import { c as composePerScenarioFormConfigurations, g as getPropsFromConfigurations } from "./process-field-configurations-BQY03q4v.js";
|
|
21
|
+
import { a as addValidityToForms, u as useFormComposer } from "./dropinUtils-B4Vv7_zJ.js";
|
|
22
|
+
import { u as useMultiForm } from "./useMultiForm-CBefohos.js";
|
|
23
|
+
import { u as uppercase, m as mapExistingFile, g as getPageName, b as useScenarioConfiguration } from "./mapExistingFile-CGg2sd-T.js";
|
|
24
|
+
import { C as Confirm } from "./Confirm-BM1PTsnm.js";
|
|
25
|
+
import { a as getDocument, j as getDocuments, c as createDocumentRequest, k as mergeProofOfOwnershipAttachments, b as getFileExtention, d as documentApiUtils } from "./validate-CLYo0JdH.js";
|
|
26
|
+
import { c as TAX_INFORMATION_FIELD, r as requestingBanking, d as requestingIssuing, t as taxInformationDefaultFieldMetadata, a as taxInformationDefaultFieldConfig, T as TaxInformationField, C as COUNTRY_OF_GOVERNING_LAW_POSSIBLE, S as StateCodesUS, e as isUsingCompanySearch, M as MemoizedDocumentUpload, f as isRegistrationNumberAbsentStateV4Scenario, h as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, j as getCompanyRegistrationNumberOptions, k as countryToTaxInfoTypeMap, l as rules, g as getFieldsWithExistingData } from "./TaxInformationField-NI7Hbgov.js";
|
|
27
|
+
import { D as DBA_NAME_FIELD, B as BUSINESS_REGISTRATION_NUMBER_FIELD, V as VAT_NUMBER_FIELD, r as registrationAddressFields, o as operationalAddressIsSameIds, v as vatAbsenceReasonMetadata, d as defaultFieldMetadata$1, a as defaultFieldConfig$1, b as registrationNumberDefaultFieldMetadata, c as registrationNumberDefaultFieldConfig, e as doingBusinessAsFieldMetadata, f as doingBusinessAsAbsentFieldMetadata, g as DBANameField, h as BusinessRegistrationNumberField, i as VatNumberField, M as MemoizedConstitutionalDocument, j as getDefaultRegistrationNumberType, k as getDefaultVatNumberType, l as inferCompanyRegistrationNumberType, m as exemptFromRegistrationNumberDefaultFieldMetadata } from "./ConstitutionalDocument-D9sPfw_B.js";
|
|
28
|
+
import { K as KEYBOARD_KEYS, M as Modal, a as ModalContent } from "./Modal-BKWXTEoU.js";
|
|
29
|
+
import { S as SettingNames } from "./TaskVerificationStatus-DrOQToMh.js";
|
|
30
|
+
import { t as toFullWidth, u as useAllowedCountries, m as mapJpAddressSchemaToAddressLocalizations, a as mapJpAddressSummary } from "./mapJpAddressSchemaToAddressLocalizations-BwHU4ZwL.js";
|
|
31
|
+
import { g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET, a as getAddressSchemaLabelsByCountry, m as mapAddressLabels, c as getKeyForField } from "./utils-CIIs2bXi.js";
|
|
32
|
+
import { o as organizationTypesToSkipCompanyStructureForm } from "./utils-5yZQq_bx.js";
|
|
33
|
+
import { f as formatCurrency, A as ALLOWED_SOF_SERVICES } from "./utils-ClKogQZa.js";
|
|
34
|
+
import { b as useAddressCleanse, f as formatAddressForCleanse, m as mapAddressData, A as Address, g as getNestedTrustedFields, S as STATE_FIELD, c as StateField, i as isDateOlderThanAYear } from "./Address-BEUcWe_H.js";
|
|
35
35
|
import { s as summaryItem } from "./summaryItem-CAQCQSkt.js";
|
|
36
|
-
import { s as summaryStep } from "./Summary-
|
|
37
|
-
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-
|
|
36
|
+
import { s as summaryStep } from "./Summary-DPm9r7Az.js";
|
|
37
|
+
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-DJ6zTIzv.js";
|
|
38
38
|
import { a as datasetUtilities } from "./datasetUtil-BHQp0-xL.js";
|
|
39
39
|
import { r as resolveFieldMetadata } from "./fieldConfigurations-BUT9DTUH.js";
|
|
40
|
-
import { I as InputNumber, c as InputCurrency, b as CURRENCY_FIELD, C as Currency, L as LegalFormField, m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./Currency-
|
|
41
|
-
import { i as isEmpty$1 } from "./isEmpty-
|
|
40
|
+
import { I as InputNumber, c as InputCurrency, b as CURRENCY_FIELD, C as Currency, L as LegalFormField, m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./Currency-CEtDxV-F.js";
|
|
41
|
+
import { i as isEmpty$1 } from "./isEmpty-BNacTlfR.js";
|
|
42
42
|
import { f as formatObject } from "./utils-DNSfZiio.js";
|
|
43
43
|
import { b as mapAddressLocalizationToJpAddressSchema, a as mapApiScriptLocalizationToSchemaFields, m as mapSchemaFieldsToApiScriptLocalization } from "./mapAddressLocalizationToJpAddressSchema-vJWbpAyq.js";
|
|
44
|
-
import { L as LEGAL_COMPANY_NAME_FIELD, d as defaultFieldMetadataV4, a as defaultFieldMetadata$2, b as defaultFieldConfigV4, c as defaultFieldConfig$2 } from "./fieldConfig-
|
|
45
|
-
import { i as useBusinessLines } from "./OnboardingDropinComponent-
|
|
46
|
-
import { F as Field } from "./Field-
|
|
47
|
-
import { H as Header } from "./Header-
|
|
48
|
-
import { R as RadioGroup } from "./RadioGroup-
|
|
49
|
-
import { u as useGlobalDataSlice } from "./useGlobalData-
|
|
50
|
-
import { u as useForm } from "./useForm-
|
|
51
|
-
import { c as createFormUtils, m as mergeFieldMetadataIntoProps } from "./formUtils-
|
|
52
|
-
import { c as currencyByCountry } from "./types-
|
|
53
|
-
import { I as InputDate, f as formatDateObj } from "./InputDate-
|
|
44
|
+
import { L as LEGAL_COMPANY_NAME_FIELD, d as defaultFieldMetadataV4, a as defaultFieldMetadata$2, b as defaultFieldConfigV4, c as defaultFieldConfig$2 } from "./fieldConfig-CMdKt41r.js";
|
|
45
|
+
import { i as useBusinessLines } from "./OnboardingDropinComponent-DstStqYS.js";
|
|
46
|
+
import { F as Field } from "./Field-Cp_UOAnA.js";
|
|
47
|
+
import { H as Header } from "./Header-CIxJSQWR.js";
|
|
48
|
+
import { R as RadioGroup } from "./RadioGroup-COsozc9g.js";
|
|
49
|
+
import { u as useGlobalDataSlice } from "./useGlobalData-Dy2O7YGk.js";
|
|
50
|
+
import { u as useForm } from "./useForm-9nSw9LZY.js";
|
|
51
|
+
import { c as createFormUtils, m as mergeFieldMetadataIntoProps } from "./formUtils-q44BTi2U.js";
|
|
52
|
+
import { c as currencyByCountry } from "./types-BY62XJTq.js";
|
|
53
|
+
import { I as InputDate, f as formatDateObj } from "./InputDate-z9OpUslu.js";
|
|
54
54
|
import { Suspense, lazy } from "preact/compat";
|
|
55
|
-
import { C as Checkbox } from "./Checkbox-
|
|
56
|
-
import { E as ErrorPanel } from "./ErrorPanel-
|
|
57
|
-
import { a as validateNotEmptyOnBlur, v as validatePatternOnBlur, b as validateJaKanaLegalCompanyName, c as validateJaHaniLegalCompanyName } from "./patternValidators-
|
|
58
|
-
import { M as MaskedInput, m as makeMask, d as alphanumericInputs, b as alphaInputs, n as numericInputs } from "./MaskedInput-
|
|
59
|
-
import { i as isCompatibleJapanVersion } from "./japanSupportUtils-
|
|
55
|
+
import { C as Checkbox } from "./Checkbox-BU4IYlt6.js";
|
|
56
|
+
import { E as ErrorPanel } from "./ErrorPanel-ByEaxCQu.js";
|
|
57
|
+
import { a as validateNotEmptyOnBlur, v as validatePatternOnBlur, b as validateJaKanaLegalCompanyName, c as validateJaHaniLegalCompanyName } from "./patternValidators-CZ5mQeGD.js";
|
|
58
|
+
import { M as MaskedInput, m as makeMask, d as alphanumericInputs, b as alphaInputs, n as numericInputs } from "./MaskedInput-BfI4FGAA.js";
|
|
59
|
+
import { i as isCompatibleJapanVersion } from "./japanSupportUtils-C7aPdWXD.js";
|
|
60
60
|
import { u as useDebouncedCallback } from "./debouncedInputEvent-Cv2S512Y.js";
|
|
61
61
|
import { signal } from "@preact/signals";
|
|
62
62
|
import cx from "classnames";
|
|
63
|
-
import { L as Link } from "./Link-
|
|
63
|
+
import { L as Link } from "./Link-CIBefZJS.js";
|
|
64
64
|
import { S as StructuredList } from "./StructuredList-9dnJRdx_.js";
|
|
65
|
-
import { I as InputText } from "./InputText-
|
|
66
|
-
import { C as CountryField, a as COUNTRY_FIELD } from "./CountryField-
|
|
67
|
-
import { L as LoaderWrapper } from "./LoaderWrapper-
|
|
65
|
+
import { I as InputText } from "./InputText-CBhD5jca.js";
|
|
66
|
+
import { C as CountryField, a as COUNTRY_FIELD } from "./CountryField-DShqP-Yi.js";
|
|
67
|
+
import { L as LoaderWrapper } from "./LoaderWrapper-CwhIpGKR.js";
|
|
68
68
|
import { S as StackLayout } from "./unincorporated-partnership-MeN1dp53.js";
|
|
69
69
|
import { C as Card } from "./Card-OQuFzmxm.js";
|
|
70
|
-
import { L as ListItem } from "./ListItem-
|
|
71
|
-
import { a as Alert } from "./Alert-
|
|
72
|
-
import { T as TileGroup } from "./TileGroup-
|
|
70
|
+
import { L as ListItem } from "./ListItem-CnzgA-sH.js";
|
|
71
|
+
import { a as Alert } from "./Alert-D9HbhU88.js";
|
|
72
|
+
import { T as TileGroup } from "./TileGroup-BhKhvfLz.js";
|
|
73
73
|
const FINANCIAL_REPORTING_DATE_FIELD = [
|
|
74
74
|
"financialReportingDate"
|
|
75
75
|
];
|
|
@@ -781,7 +781,7 @@ function VerifiedBusinessCard({
|
|
|
781
781
|
] });
|
|
782
782
|
}
|
|
783
783
|
const LazyJpAddress = lazy(
|
|
784
|
-
async () => (await import("./JpAddress-
|
|
784
|
+
async () => (await import("./JpAddress-owiNWOqn.js")).JpAddress
|
|
785
785
|
);
|
|
786
786
|
const ADDITIONAL_INFORMATION_FORM_ID = "additionalInformation";
|
|
787
787
|
const ADDITIONAL_INFORMATION_FIELDS = [
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useMutation } from "@tanstack/preact-query";
|
|
11
|
-
import { b as useApiContext, j as httpPost } from "./StoreProvider-
|
|
11
|
+
import { b as useApiContext, j as httpPost } from "./StoreProvider-CsZ-qrGt.js";
|
|
12
12
|
const createLegalEntity = async (legalEntityId, baseUrl, data) => {
|
|
13
13
|
return httpPost(
|
|
14
14
|
{
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useState, useEffect } from "preact/hooks";
|
|
11
|
-
import { o as createLogger, ai as useI18nContext } from "./StoreProvider-
|
|
11
|
+
import { o as createLogger, ai as useI18nContext } from "./StoreProvider-CsZ-qrGt.js";
|
|
12
12
|
import { a as datasetUtilities, d as datasetIdentifier } from "./datasetUtil-BHQp0-xL.js";
|
|
13
13
|
const logger$1 = createLogger();
|
|
14
14
|
const countriesImports = /* @__PURE__ */ Object.assign({ "../countries/de-DE.json": () => import("./de-DE-B3nctkG8.js"), "../countries/el-GR.json": () => import("./el-GR-CdgLZhuO.js"), "../countries/en-US.json": () => import("./en-US-DSoLr6rp.js"), "../countries/es-ES.json": () => import("./es-ES-BRfK6tX7.js"), "../countries/fr-FR.json": () => import("./fr-FR-Dk6Lw2On.js"), "../countries/it-IT.json": () => import("./it-IT-D7G4BaP7.js"), "../countries/ja-JP.json": () => import("./ja-JP-DTW_hY1L.js"), "../countries/nl-NL.json": () => import("./nl-NL-CFzm75Jw.js"), "../countries/pt-PT.json": () => import("./pt-PT-DpDxAynk.js"), "../countries/sv-SE.json": () => import("./sv-SE-rckxD-43.js") });
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useState, useCallback, useMemo, useReducer, useEffect } from "preact/hooks";
|
|
11
|
-
import { o as createLogger, ap as isEmpty, aT as doArraysMatch } from "./StoreProvider-
|
|
12
|
-
import { V as ValidationResult, o as omitKeys, a as addKeys } from "./utils-
|
|
11
|
+
import { o as createLogger, ap as isEmpty, aT as doArraysMatch } from "./StoreProvider-CsZ-qrGt.js";
|
|
12
|
+
import { V as ValidationResult, o as omitKeys, a as addKeys } from "./utils-CLLUBF1a.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 { C as useAnalyticsContext, u as useTranslation, a0 as Button } from "./StoreProvider-
|
|
14
|
-
import { L as LoaderWrapper } from "./LoaderWrapper-
|
|
15
|
-
import { M as MaybeModal } from "./MaybeModal-
|
|
13
|
+
import { C as useAnalyticsContext, u as useTranslation, a0 as Button } from "./StoreProvider-CsZ-qrGt.js";
|
|
14
|
+
import { L as LoaderWrapper } from "./LoaderWrapper-CwhIpGKR.js";
|
|
15
|
+
import { M as MaybeModal } from "./MaybeModal-DHcu32Dh.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-B4Vv7_zJ.js";
|
|
18
|
+
import { C as Confirm } from "./Confirm-BM1PTsnm.js";
|
|
19
|
+
import { S as Summary } from "./Summary-DPm9r7Az.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 { bd as StateContext } from "./StoreProvider-
|
|
12
|
+
import { bd as StateContext } from "./StoreProvider-CsZ-qrGt.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 { ac as objectsDeepEqual, o as createLogger, ap as isEmpty } from "./StoreProvider-
|
|
12
|
-
import { V as ValidationResult } from "./utils-
|
|
13
|
-
import { a as isNotEmptyValidator } from "./commonValidators-
|
|
11
|
+
import { ac as objectsDeepEqual, o as createLogger, ap as isEmpty } from "./StoreProvider-CsZ-qrGt.js";
|
|
12
|
+
import { V as ValidationResult } from "./utils-CLLUBF1a.js";
|
|
13
|
+
import { a as isNotEmptyValidator } from "./commonValidators-B8wfpMjX.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;
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useQuery } from "@tanstack/preact-query";
|
|
11
|
-
import { b as useApiContext, k as httpGet } from "./StoreProvider-
|
|
11
|
+
import { b as useApiContext, k as httpGet } from "./StoreProvider-CsZ-qrGt.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, skipToken } from "@tanstack/preact-query";
|
|
11
|
-
import { b as useApiContext, ak as entriesOf, ag as Scenarios, k as httpGet } from "./StoreProvider-
|
|
11
|
+
import { b as useApiContext, ak as entriesOf, ag as Scenarios, k as httpGet } from "./StoreProvider-CsZ-qrGt.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 { b as useApiContext, k as httpGet } from "./StoreProvider-
|
|
11
|
+
import { b as useApiContext, k as httpGet } from "./StoreProvider-CsZ-qrGt.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 { o as createLogger, b as useApiContext, am as ToastContext } from "./StoreProvider-
|
|
12
|
+
import { o as createLogger, b as useApiContext, am as ToastContext } from "./StoreProvider-CsZ-qrGt.js";
|
|
13
13
|
const logger = createLogger();
|
|
14
14
|
const QUERIES_TO_INVALIDATE_WHEN_ROOT_LE_IS_INVALIDATED = [
|
|
15
15
|
"businessLines",
|
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useMemo } from "preact/hooks";
|
|
11
|
-
import { t as LegalEntityTypes, a8 as getOwnEntityAssociations, c as useLegalEntity, R as ROOT_LE } from "./StoreProvider-
|
|
12
|
-
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-
|
|
11
|
+
import { t as LegalEntityTypes, a8 as getOwnEntityAssociations, c as useLegalEntity, R as ROOT_LE } from "./StoreProvider-CsZ-qrGt.js";
|
|
12
|
+
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-V0OP9ejx.js";
|
|
13
13
|
import { U as UnincorporatedPartnershipMemberTypes } from "./unincorporated-partnership-MeN1dp53.js";
|
|
14
|
-
import { g as getLegalEntityNameBasedOnType } from "./getName-
|
|
14
|
+
import { g as getLegalEntityNameBasedOnType } from "./getName-BxKx8lLd.js";
|
|
15
15
|
const getMemberOwnerId = (memberId, entityAssociations) => entityAssociations.find((association) => association.associatorId === memberId)?.legalEntityId;
|
|
16
16
|
const convertEntityAssociationIntoUnincorporatedPartnershipMember = (association) => {
|
|
17
17
|
if (association.entityType === LegalEntityTypes.INDIVIDUAL || association.entityType === LegalEntityTypes.ORGANIZATION)
|
|
@@ -8,12 +8,12 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useQuery, useMutation } from "@tanstack/preact-query";
|
|
11
|
-
import { b as useApiContext, k as httpGet, ap as isEmpty, u as useTranslation, J as useExperimentsContext, H as IconButton, j as httpPost } from "./StoreProvider-
|
|
11
|
+
import { b as useApiContext, k as httpGet, ap as isEmpty, u as useTranslation, J as useExperimentsContext, H as IconButton, j as httpPost } from "./StoreProvider-CsZ-qrGt.js";
|
|
12
12
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
13
13
|
import { useRef, useMemo, useState, useEffect } from "preact/hooks";
|
|
14
|
-
import { F as Field } from "./Field-
|
|
14
|
+
import { F as Field } from "./Field-Cp_UOAnA.js";
|
|
15
15
|
import { L as List } from "./List-BAzyC6sw.js";
|
|
16
|
-
import { S as Select } from "./Select-
|
|
16
|
+
import { S as Select } from "./Select-DeTBytOH.js";
|
|
17
17
|
import { signal } from "@preact/signals";
|
|
18
18
|
const fetchIndustryCodes = async (legalEntityId, baseUrl, businessLineTypes2, locale) => {
|
|
19
19
|
const results = await Promise.all(
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useQueryClient, useMutation } from "@tanstack/preact-query";
|
|
11
|
-
import { a as useInvalidateRootLegalEntity } from "./useToastContext-
|
|
12
|
-
import { b as useApiContext, j as httpPost } from "./StoreProvider-
|
|
11
|
+
import { a as useInvalidateRootLegalEntity } from "./useToastContext-uSKjdph9.js";
|
|
12
|
+
import { b as useApiContext, j as httpPost } from "./StoreProvider-CsZ-qrGt.js";
|
|
13
13
|
const updateLegalEntity = async (rootLegalEntityId, baseUrl, data) => {
|
|
14
14
|
return httpPost(
|
|
15
15
|
{
|
|
@@ -7,11 +7,11 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { C as CompanyTypesValues } from "./bafinUtils-
|
|
11
|
-
import { g as getLegalEntityCountry, br as getCapabilities, t as LegalEntityTypes, v as hasOwnEntityAssociationOfType, a5 as CountryCodes } from "./StoreProvider-
|
|
12
|
-
import { d as allowIndividualWithoutSoleProp } from "./OnboardingDropinComponent-
|
|
13
|
-
import { S as SOLE_PROP_COUNTRIES } from "./Individual.rules-
|
|
14
|
-
import { A as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./types-
|
|
10
|
+
import { C as CompanyTypesValues } from "./bafinUtils-Ch6rVpGi.js";
|
|
11
|
+
import { g as getLegalEntityCountry, br as getCapabilities, t as LegalEntityTypes, v as hasOwnEntityAssociationOfType, a5 as CountryCodes } from "./StoreProvider-CsZ-qrGt.js";
|
|
12
|
+
import { d as allowIndividualWithoutSoleProp } from "./OnboardingDropinComponent-DstStqYS.js";
|
|
13
|
+
import { S as SOLE_PROP_COUNTRIES } from "./Individual.rules-DEhHxeiv.js";
|
|
14
|
+
import { A as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./types-pKG9olDB.js";
|
|
15
15
|
const TRUST_COUNTRIES = [CountryCodes.Australia, CountryCodes.NewZealand];
|
|
16
16
|
const BUSINESS_BANK_ACCOUNT_COUNTRIES = [
|
|
17
17
|
CountryCodes.UnitedStates,
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { s as summaryItem } from "./summaryItem-CAQCQSkt.js";
|
|
11
|
-
import { a5 as CountryCodes } from "./StoreProvider-
|
|
11
|
+
import { a5 as CountryCodes } from "./StoreProvider-CsZ-qrGt.js";
|
|
12
12
|
const addressFields = [
|
|
13
13
|
"address",
|
|
14
14
|
"otherAddressInformation",
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { t as LegalEntityTypes, O as Typography } from "./StoreProvider-
|
|
11
|
+
import { t as LegalEntityTypes, O as Typography } from "./StoreProvider-CsZ-qrGt.js";
|
|
12
12
|
import { C as Currencies } from "./currency-CrdnaaDu.js";
|
|
13
|
-
import { l as localizeDateString } from "./localizeDateString-
|
|
13
|
+
import { l as localizeDateString } from "./localizeDateString-DuTq6aHe.js";
|
|
14
14
|
const formatCurrency = (amount, currency, locale) => {
|
|
15
15
|
const { format } = new Intl.NumberFormat(
|
|
16
16
|
locale,
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import "@tanstack/preact-query";
|
|
11
|
-
import { j as httpPost, al as httpDelete, k as httpGet, o as createLogger, bd as StateContext, u as useTranslation, C as useAnalyticsContext, G as Icon, O as Typography, L as Loader, H as IconButton } from "./StoreProvider-
|
|
12
|
-
import { g as getLocalizedIdDocumentTypeOptions } from "./utils-
|
|
11
|
+
import { j as httpPost, al as httpDelete, k as httpGet, o as createLogger, bd as StateContext, u as useTranslation, C as useAnalyticsContext, G as Icon, O as Typography, L as Loader, H as IconButton } from "./StoreProvider-CsZ-qrGt.js";
|
|
12
|
+
import { g as getLocalizedIdDocumentTypeOptions } from "./utils-CIHH_aYF.js";
|
|
13
13
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
14
14
|
import cx from "classnames";
|
|
15
15
|
import { useEffect } from "preact/hooks";
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { B as TaskTypes, a_ as remediationPayoutApiKeyMapping, a$ as remediationBusinessDetailsApiKeyMapping, b0 as remediationIndividualOnfidoApiKeyMapping } from "./StoreProvider-
|
|
10
|
+
import { B as TaskTypes, a_ as remediationPayoutApiKeyMapping, a$ as remediationBusinessDetailsApiKeyMapping, b0 as remediationIndividualOnfidoApiKeyMapping } from "./StoreProvider-CsZ-qrGt.js";
|
|
11
11
|
import { a as assignToProp } from "./utils-DNSfZiio.js";
|
|
12
12
|
const isMaintenanceModeError = (error) => error && typeof error === "object" && "messageCode" in error && error.messageCode === "maintenanceMode";
|
|
13
13
|
const overrideKeyMapping = {
|