@adyen/kyc-components 3.94.0-beta.0 → 3.94.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AcceptTermsOfServiceComponent-BNEMFBq0.js → AcceptTermsOfServiceComponent-DhISLeyz.js} +15 -15
- package/dist/{Accordion-Cax_J3Gf.js → Accordion-B7zr99OE.js} +1 -1
- package/dist/{AccountSetupRejected-Dw1JmaLa.js → AccountSetupRejected-e4OwObRX.js} +3 -3
- package/dist/{ActionBar-DIloxhqg.js → ActionBar-cqF2mXa4.js} +1 -1
- package/dist/{Address-Dts3DYj0.js → Address-DOBvNgXp.js} +9 -9
- package/dist/{Alert-DC8mEKEP.js → Alert-CqWt2GEL.js} +2 -2
- package/dist/{Avatar-Bbe-eBCS.js → Avatar-DUIw9va_.js} +1 -1
- package/dist/{BusinessFinancingComponent-BiSUGgX3.js → BusinessFinancingComponent-tkqEsmyS.js} +4 -4
- package/dist/{BusinessFinancingDropin-BmkqIua-.js → BusinessFinancingDropin-CZriwXvD.js} +27 -27
- package/dist/{BusinessFinancingPage-DwBfN6qr.js → BusinessFinancingPage-DryF_02-.js} +3 -3
- package/dist/{BusinessTypeSelectionPage-1Buco8zw.js → BusinessTypeSelectionPage-DH2F4mdD.js} +8 -8
- package/dist/{Checkbox-CE_M5n7n.js → Checkbox-DZmvMvyi.js} +1 -1
- package/dist/{Confirm-4erRYnyk.js → Confirm-7S3BF2sR.js} +2 -2
- package/dist/{ConstitutionalDocument-BHFNYRzM.js → ConstitutionalDocument-_O2L8Uoe.js} +17 -17
- package/dist/{ContactDetails-np9EyPXf.js → ContactDetails-CNaOR29n.js} +7 -7
- package/dist/{ContextGuidance-BHoxIzER.js → ContextGuidance-C2HoOb9q.js} +2 -2
- package/dist/{CountryField-BZaRhZqo.js → CountryField-EjrnXp6x.js} +4 -4
- package/dist/{CreateIndividualComponent-BVrZI8vP.js → CreateIndividualComponent-DcG18Rxf.js} +4 -4
- package/dist/{CreateTransferInstrumentComponent-Dv1-pVcx.js → CreateTransferInstrumentComponent-B3sWQ2vz.js} +3 -3
- package/dist/{Currency-BS3HwMyK.js → Currency-DnvCapGE.js} +6 -6
- package/dist/{CustomerSupport-m1MtY5to.js → CustomerSupport-DfuCuTFz.js} +10 -10
- package/dist/{DebugModal-1U6Vcfva.js → DebugModal-dFIg5nwL.js} +8 -8
- package/dist/{DecisionMakerDetailsPage-90FD9zit.js → DecisionMakerDetailsPage-D-5f4qLY.js} +6 -6
- package/dist/{DecisionMakers-BSRsaNHN.js → DecisionMakers-BEawstAd.js} +20 -20
- package/dist/{Dropzone-Dst8zrJ5.js → Dropzone-BRbPbfYB.js} +3 -3
- package/dist/{EmbeddedStatus-Bait23vL.js → EmbeddedStatus-BUFxcyIL.js} +2 -2
- package/dist/{EndStateLayout-v1G8vJNv.js → EndStateLayout-Bush8tbD.js} +1 -1
- package/dist/{EntityAssociation-D-Hu6nbx.js → EntityAssociation-CqAJuez-.js} +5 -5
- package/dist/{EntityGuidanceStatus-Cgf5U69e.js → EntityGuidanceStatus-B1B6cYV6.js} +2 -2
- package/dist/{ErrorPanel-CBcipAyR.js → ErrorPanel-irMZQ-0R.js} +2 -2
- package/dist/{Field-BVJQCZ4k.js → Field-C01TC1hb.js} +1 -1
- package/dist/{FormNavigation-V321wMS9.js → FormNavigation-BgThhI1H.js} +2 -2
- package/dist/{FormWrapper-DikNrlhx.js → FormWrapper-DVLN4f4S.js} +8 -8
- package/dist/{Header-DGLSSdVe.js → Header-DHg-pSs6.js} +1 -1
- package/dist/{Image-PEzI5V8F.js → Image-CGeTwSQG.js} +1 -1
- package/dist/{Individual.rules-Dtutjobs.js → Individual.rules-C0q2UFzh.js} +5 -5
- package/dist/{IndividualDropin-Bj-hf2Kf.js → IndividualDropin-CdVsDukP.js} +52 -52
- package/dist/{InputDate-BXwWXVWw.js → InputDate-LVJ0c7lR.js} +1 -1
- package/dist/{InputText-HZSqDIB8.js → InputText-Du55o9C0.js} +1 -1
- package/dist/{Introduction-BQlQc5c7.js → Introduction-DVCQnncG.js} +3 -3
- package/dist/{JpAddress-BaQUlDsw.js → JpAddress-OZEtV8J2.js} +8 -8
- package/dist/{LandingLayout-DbwioiQp.js → LandingLayout-CE82o2_L.js} +1 -1
- package/dist/{LegalRepresentativeDetailsPage-BlwoKFAG.js → LegalRepresentativeDetailsPage-Cjq8Pzuh.js} +3 -3
- package/dist/{Link-DrAsV5CE.js → Link-BaOWR7WV.js} +1 -1
- package/dist/{ListItem-C5mM57vH.js → ListItem-CoikaLel.js} +2 -2
- package/dist/{LoaderWrapper-EJyrMlRe.js → LoaderWrapper-NpHG0FMQ.js} +1 -1
- package/dist/{ManageIndividualComponent-BEW6MiAh.js → ManageIndividualComponent-CYvrMM28.js} +4 -4
- package/dist/{ManageTermsOfServiceComponent-cxkbu9GB.js → ManageTermsOfServiceComponent-DrWBcWOt.js} +3 -3
- package/dist/{ManageTransferInstrumentComponent-vQaHwwGe.js → ManageTransferInstrumentComponent-DEPiIuUl.js} +11 -11
- package/dist/{MaskedInput-DETPfraM.js → MaskedInput-C8Xzx60t.js} +4 -4
- package/dist/{MaybeModal-CkPgfjYm.js → MaybeModal-D19WF6LY.js} +2 -2
- package/dist/{Modal-DFeQpiAs.js → Modal-DFfoUdop.js} +1 -1
- package/dist/{Name-CprkUDfC.js → Name-CUApd6pQ.js} +4 -4
- package/dist/{OnboardingDropinComponent-DSAf1tUs.js → OnboardingDropinComponent-Bmxjdoqk.js} +51 -44
- package/dist/{PayoutDetailsDropin-BfGD6ufv.js → PayoutDetailsDropin-fb1vIMiX.js} +40 -40
- package/dist/{RadioGroup-B5XmO71J.js → RadioGroup-BhXRCHmf.js} +1 -1
- package/dist/{RadioGroupCard-BX-iOHES.js → RadioGroupCard-B0MUCafF.js} +1 -1
- package/dist/{Review-DUQ7OE7u.js → Review-C2R4NrZu.js} +6 -6
- package/dist/{RootBusinessDetailsPage-D1nyQdET.js → RootBusinessDetailsPage-YYevwp74.js} +4 -4
- package/dist/{RootBusinessLinesPage-DNXNQgRM.js → RootBusinessLinesPage-CTRu3Qgq.js} +22 -22
- package/dist/{RootIndividualDetailsPage-ry80z-pK.js → RootIndividualDetailsPage-DtvX2HO3.js} +4 -4
- package/dist/{Select-SROdnYi2.js → Select-BPLro8vN.js} +3 -3
- package/dist/{SignPCIComponent-B4OXK4xP.js → SignPCIComponent-Cq3NHNX2.js} +10 -10
- package/dist/{SingpassSelection-IIjUQ41x.js → SingpassSelection-DI_UwCxR.js} +5 -5
- package/dist/{SoleProprietorshipPage-ClFH2EBV.js → SoleProprietorshipPage-DtKJETEU.js} +3 -3
- package/dist/{SourceOfFundsPage-mjYtq4eU.js → SourceOfFundsPage-CpLR6cyH.js} +30 -30
- package/dist/{StepProgressIndicator-B8qcehGD.js → StepProgressIndicator-TV48SpUP.js} +1 -1
- package/dist/{StoreProvider-pL-BkCK-.js → StoreProvider-DVXLYGfA.js} +4 -4
- package/dist/{Summary-f-39M2QO.js → Summary-Br4UQ3cB.js} +5 -5
- package/dist/{TaskVerificationStatus-dbOSdzvA.js → TaskVerificationStatus-ChqiUqNk.js} +1 -1
- package/dist/{TaxInformationField-D-XvuOUS.js → TaxInformationField-CWuZa2mD.js} +20 -20
- package/dist/{TaxReportingDropin-BsH0kVTP.js → TaxReportingDropin-BQZsPQiJ.js} +15 -15
- package/dist/{TextArea-nHJNn1c6.js → TextArea-CEVyy20t.js} +1 -1
- package/dist/{TileGroup-CxNF4bco.js → TileGroup-jxHcTAxV.js} +2 -2
- package/dist/{TrustDetailsPage-D1DwEhXk.js → TrustDetailsPage-BU5x2aC8.js} +33 -33
- package/dist/{TrustMemberCompanyPage-7lDkP6RS.js → TrustMemberCompanyPage-atDtrWR2.js} +4 -4
- package/dist/{TrustMemberIndividualPage-D7x6Ohbq.js → TrustMemberIndividualPage-AW7wfWSl.js} +3 -3
- package/dist/{TrustMemberRoleAndTypePage-DedLQEbR.js → TrustMemberRoleAndTypePage-WFJpbS5b.js} +21 -21
- package/dist/{TrustMembersOverview-Biu1qx3Y.js → TrustMembersOverview-k24c5hXZ.js} +11 -11
- package/dist/{UnincorporatedPartnershipIndividualPage-BWpULV18.js → UnincorporatedPartnershipIndividualPage-CrRQi6Un.js} +3 -3
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-B5OhlwZs.js → UnincorporatedPartnershipMemberCompanyPage-BFohOhrC.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-Dtaas7EX.js → UnincorporatedPartnershipMemberRoleAndTypePage-CbTkr-zr.js} +10 -10
- package/dist/{UnincorporatedPartnershipMembersOverview-CGwyHjL5.js → UnincorporatedPartnershipMembersOverview-CvkRZFIR.js} +8 -8
- package/dist/{VerificationErrorAlert-Cj3Ov9Wd.js → VerificationErrorAlert-BNcxNDaf.js} +3 -3
- package/dist/{ViewVerificationStatusComponent-YZLiwfQ8.js → ViewVerificationStatusComponent-BrkeOJnL.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-DWHHDetG.js → bafinUtils-DQQCgSDY.js} +1 -1
- package/dist/{commonValidators-BiXk5bnP.js → commonValidators-C9AWAaVE.js} +1 -1
- package/dist/{dropinUtils-p0poGh9q.js → dropinUtils-CTP4dsAq.js} +3 -3
- package/dist/{fieldConfig-CIVK5vEg.js → fieldConfig-DfN0YLoq.js} +5 -5
- package/dist/{formUtils-BMDzfKoI.js → formUtils-BAwzuKKL.js} +2 -2
- package/dist/{getName-B-5z5pPo.js → getName-C0H4LlbP.js} +1 -1
- package/dist/{iframeWidget-DMwszdzn.js → iframeWidget-KqhgGmqr.js} +3 -3
- package/dist/{isEmpty-CEp5kEn8.js → isEmpty-CDlCW3Ts.js} +1 -1
- package/dist/{japanSupportUtils-CXvOWpfs.js → japanSupportUtils-CvW07poK.js} +1 -1
- package/dist/{localizeDateString-D1Rxv146.js → localizeDateString-DmWzTFSS.js} +1 -1
- package/dist/{mapExistingFile-DhXLjrL3.js → mapExistingFile-BuJEEc84.js} +3 -3
- package/dist/{mapJpAddressSchemaToAddressLocalizations-Gtft-aMS.js → mapJpAddressSchemaToAddressLocalizations-Cx3ocJfZ.js} +4 -4
- package/dist/{mapLegalEntityToIndividualSchema-C4em1xNr.js → mapLegalEntityToIndividualSchema-hogIvR9m.js} +3 -3
- package/dist/{mapTransferInstrumentToPayoutAccount-B93xxL8-.js → mapTransferInstrumentToPayoutAccount-RgCsIxlF.js} +1 -1
- package/dist/{patternValidators-BZ5HZjL4.js → patternValidators-BOqs1rTX.js} +1 -1
- package/dist/{process-field-configurations-DyGLcuVp.js → process-field-configurations-BtorsiZi.js} +2 -2
- package/dist/{resolveEnvironment-kTY1wF0t.js → resolveEnvironment-0jP8T0kp.js} +3 -3
- package/dist/{roleMetadata-CqOzDtbc.js → roleMetadata-CVnvoVk2.js} +1 -1
- package/dist/style.css +3 -0
- package/dist/styles-CLV89_hH.js +3 -0
- package/dist/{types-Cly9MlRV.js → types-D4ndxXa7.js} +1 -1
- package/dist/{types-D0oAURZj.js → types-DNxSxOCq.js} +1 -1
- package/dist/{types-hKa8V4m6.js → types-pXUqG-8h.js} +1 -1
- package/dist/{useAssociatedLegalEntity-BdcJAGui.js → useAssociatedLegalEntity-vKa05rtf.js} +1 -1
- package/dist/{useBusinessDetailsData-BkPfxf01.js → useBusinessDetailsData-Djk9YU7O.js} +49 -49
- package/dist/{useCreateLegalEntity-BMxctrrP.js → useCreateLegalEntity-BN4DpPmP.js} +1 -1
- package/dist/{useDataset-BKPlak8s.js → useDataset-CyvBNHPU.js} +1 -1
- package/dist/{useForm-DhtZQUrq.js → useForm-CEWVkAwN.js} +2 -2
- package/dist/{useFormContext-DWDQbfuT.js → useFormContext-CtHN4pay.js} +6 -6
- package/dist/{useGlobalData-DN7ETXLF.js → useGlobalData-8Z4XuGEt.js} +1 -1
- package/dist/{useMultiForm-BQe3juXK.js → useMultiForm-ceabaGoo.js} +3 -3
- package/dist/{useOnboardingStatus-FRsxI_Yy.js → useOnboardingStatus-C6O20k9z.js} +1 -1
- package/dist/{useScenarios-B6bjpKeS.js → useScenarios-DLj70nMb.js} +1 -1
- package/dist/{useTermsOfServiceStatus-Bf59UHb2.js → useTermsOfServiceStatus-D53-qLEI.js} +1 -1
- package/dist/{useToastContext-CoRh-Ds6.js → useToastContext-BYa1vWUT.js} +1 -1
- package/dist/{useUnincorporatedPartnershipMembers-DI9dqVl3.js → useUnincorporatedPartnershipMembers-DBKzyNHX.js} +3 -3
- package/dist/{useUpdateBusinessLines-CK3dNSC2.js → useUpdateBusinessLines-DKf49kjQ.js} +3 -3
- package/dist/{useUpdateLegalEntity-Ci2JFHtw.js → useUpdateLegalEntity-D2QNI3yk.js} +2 -2
- package/dist/{utils-vxERe8Wa.js → utils-8ELY3y1M.js} +5 -5
- package/dist/{utils-OW2KMtsK.js → utils-Bdnx4SYi.js} +1 -1
- package/dist/{utils-CsGVlrNp.js → utils-CF2qS4pC.js} +1 -1
- package/dist/{utils-CqmVP7f-.js → utils-OXAfgteS.js} +2 -2
- package/dist/{utils-pbBGc1Wn.js → utils-tiMgA3mn.js} +1 -1
- package/dist/{validate-7vn7mbf5.js → validate-CkAaEMW9.js} +1 -1
- package/dist/{validate-DEZwHywd.js → validate-a5Le-_pl.js} +2 -2
- package/dist/{validationError-C4wv4P-j.js → validationError-ZD_wwRuh.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-DVXLYGfA.js";
|
|
14
|
+
import { u as useSetting } from "./bafinUtils-DQQCgSDY.js";
|
|
15
|
+
import { u as useCapabilities } from "./TaxInformationField-CWuZa2mD.js";
|
|
16
|
+
import { i as isEmpty } from "./isEmpty-CDlCW3Ts.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-DVXLYGfA.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-C01TC1hb.js";
|
|
16
|
+
import { T as TileGroup } from "./TileGroup-jxHcTAxV.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-DVXLYGfA.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-DVXLYGfA.js";
|
|
11
11
|
const validateNotEmptyOnBlur = {
|
|
12
12
|
modes: ["blur"],
|
|
13
13
|
validate: (val) => !isEmpty(val),
|
package/dist/{process-field-configurations-DyGLcuVp.js → process-field-configurations-BtorsiZi.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-CGeTwSQG.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-DVXLYGfA.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] = "8b57514b-9f6b-418a-9ea6-c6f4ee15ee48", e._sentryDebugIdIdentifier = "sentry-dbid-8b57514b-9f6b-418a-9ea6-c6f4ee15ee48");
|
|
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-DVXLYGfA.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-beta.
|
|
138
|
+
/* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.94.0-beta.1" }),
|
|
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-DVXLYGfA.js";
|
|
11
11
|
import { U as UnincorporatedPartnershipMemberTypes } from "./unincorporated-partnership-MeN1dp53.js";
|
|
12
12
|
const roleMetadata = {
|
|
13
13
|
[DecisionMakerTypes.CONTROLLING_PERSON]: {
|
package/dist/style.css
CHANGED
|
@@ -4738,6 +4738,9 @@ input.adyen-kyc-radio-group-card__radio--floating {
|
|
|
4738
4738
|
height: 32px;
|
|
4739
4739
|
padding: var(--adyen-internal-spacer-000, 0px) var(--adyen-internal-spacer-040, 8px);
|
|
4740
4740
|
}
|
|
4741
|
+
.adyen-task-item__warning-message {
|
|
4742
|
+
margin-top: var(--adyen-internal-spacer-050, 10px);
|
|
4743
|
+
}
|
|
4741
4744
|
|
|
4742
4745
|
.adyen-kyc-task-status-details-required,
|
|
4743
4746
|
.adyen-kyc-task-status-sign,
|
package/dist/styles-CLV89_hH.js
CHANGED
|
@@ -4747,6 +4747,9 @@ input.adyen-kyc-radio-group-card__radio--floating {
|
|
|
4747
4747
|
height: 32px;
|
|
4748
4748
|
padding: var(--adyen-internal-spacer-000, 0px) var(--adyen-internal-spacer-040, 8px);
|
|
4749
4749
|
}
|
|
4750
|
+
.adyen-task-item__warning-message {
|
|
4751
|
+
margin-top: var(--adyen-internal-spacer-050, 10px);
|
|
4752
|
+
}
|
|
4750
4753
|
|
|
4751
4754
|
.adyen-kyc-task-status-details-required,
|
|
4752
4755
|
.adyen-kyc-task-status-sign,
|
|
@@ -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-DVXLYGfA.js";
|
|
11
11
|
const trustMemberLegalEntityTypes = [
|
|
12
12
|
LegalEntityTypes.INDIVIDUAL,
|
|
13
13
|
LegalEntityTypes.ORGANIZATION
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { a5 as CountryCodes } from "./StoreProvider-
|
|
10
|
+
import { a5 as CountryCodes } from "./StoreProvider-DVXLYGfA.js";
|
|
11
11
|
import { C as Currencies } from "./currency-CrdnaaDu.js";
|
|
12
12
|
const currencyByCountry = {
|
|
13
13
|
[CountryCodes.Australia]: [Currencies.AUD],
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { skipToken } from "@tanstack/preact-query";
|
|
11
11
|
import { useMemo } from "preact/hooks";
|
|
12
|
-
import { o as createLogger, c as useLegalEntity } from "./StoreProvider-
|
|
12
|
+
import { o as createLogger, c as useLegalEntity } from "./StoreProvider-DVXLYGfA.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-DKf49kjQ.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-DVXLYGfA.js";
|
|
15
|
+
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-BN4DpPmP.js";
|
|
16
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-D2QNI3yk.js";
|
|
17
|
+
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-CtHN4pay.js";
|
|
18
|
+
import { u as useToastContext } from "./useToastContext-BYa1vWUT.js";
|
|
19
|
+
import { C as CompanyTypesValues } from "./bafinUtils-DQQCgSDY.js";
|
|
20
|
+
import { c as composePerScenarioFormConfigurations, g as getPropsFromConfigurations } from "./process-field-configurations-BtorsiZi.js";
|
|
21
|
+
import { a as addValidityToForms, u as useFormComposer } from "./dropinUtils-CTP4dsAq.js";
|
|
22
|
+
import { u as useMultiForm } from "./useMultiForm-ceabaGoo.js";
|
|
23
|
+
import { u as uppercase, m as mapExistingFile, g as getPageName, b as useScenarioConfiguration } from "./mapExistingFile-BuJEEc84.js";
|
|
24
|
+
import { C as Confirm } from "./Confirm-7S3BF2sR.js";
|
|
25
|
+
import { a as getDocument, j as getDocuments, c as createDocumentRequest, k as mergeProofOfOwnershipAttachments, b as getFileExtention, d as documentApiUtils } from "./validate-a5Le-_pl.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-CWuZa2mD.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-_O2L8Uoe.js";
|
|
28
|
+
import { K as KEYBOARD_KEYS, M as Modal, a as ModalContent } from "./Modal-DFfoUdop.js";
|
|
29
|
+
import { S as SettingNames } from "./TaskVerificationStatus-ChqiUqNk.js";
|
|
30
|
+
import { t as toFullWidth, u as useAllowedCountries, m as mapJpAddressSchemaToAddressLocalizations, a as mapJpAddressSummary } from "./mapJpAddressSchemaToAddressLocalizations-Cx3ocJfZ.js";
|
|
31
|
+
import { g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET, a as getAddressSchemaLabelsByCountry, m as mapAddressLabels, c as getKeyForField } from "./utils-CF2qS4pC.js";
|
|
32
|
+
import { o as organizationTypesToSkipCompanyStructureForm } from "./utils-8ELY3y1M.js";
|
|
33
|
+
import { f as formatCurrency, A as ALLOWED_SOF_SERVICES } from "./utils-OXAfgteS.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-DOBvNgXp.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-Br4UQ3cB.js";
|
|
37
|
+
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-ZD_wwRuh.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-DnvCapGE.js";
|
|
41
|
+
import { i as isEmpty$1 } from "./isEmpty-CDlCW3Ts.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-DfN0YLoq.js";
|
|
45
|
+
import { i as useBusinessLines } from "./OnboardingDropinComponent-Bmxjdoqk.js";
|
|
46
|
+
import { F as Field } from "./Field-C01TC1hb.js";
|
|
47
|
+
import { H as Header } from "./Header-DHg-pSs6.js";
|
|
48
|
+
import { R as RadioGroup } from "./RadioGroup-BhXRCHmf.js";
|
|
49
|
+
import { u as useGlobalDataSlice } from "./useGlobalData-8Z4XuGEt.js";
|
|
50
|
+
import { u as useForm } from "./useForm-CEWVkAwN.js";
|
|
51
|
+
import { c as createFormUtils, m as mergeFieldMetadataIntoProps } from "./formUtils-BAwzuKKL.js";
|
|
52
|
+
import { c as currencyByCountry } from "./types-pXUqG-8h.js";
|
|
53
|
+
import { I as InputDate, f as formatDateObj } from "./InputDate-LVJ0c7lR.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-DZmvMvyi.js";
|
|
56
|
+
import { E as ErrorPanel } from "./ErrorPanel-irMZQ-0R.js";
|
|
57
|
+
import { a as validateNotEmptyOnBlur, v as validatePatternOnBlur, b as validateJaKanaLegalCompanyName, c as validateJaHaniLegalCompanyName } from "./patternValidators-BOqs1rTX.js";
|
|
58
|
+
import { M as MaskedInput, m as makeMask, d as alphanumericInputs, b as alphaInputs, n as numericInputs } from "./MaskedInput-C8Xzx60t.js";
|
|
59
|
+
import { i as isCompatibleJapanVersion } from "./japanSupportUtils-CvW07poK.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-BaOWR7WV.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-Du55o9C0.js";
|
|
66
|
+
import { C as CountryField, a as COUNTRY_FIELD } from "./CountryField-EjrnXp6x.js";
|
|
67
|
+
import { L as LoaderWrapper } from "./LoaderWrapper-NpHG0FMQ.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-CoikaLel.js";
|
|
71
|
+
import { a as Alert } from "./Alert-CqWt2GEL.js";
|
|
72
|
+
import { T as TileGroup } from "./TileGroup-jxHcTAxV.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-OZEtV8J2.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-DVXLYGfA.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-DVXLYGfA.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-DVXLYGfA.js";
|
|
12
|
+
import { V as ValidationResult, o as omitKeys, a as addKeys } from "./utils-tiMgA3mn.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-DVXLYGfA.js";
|
|
14
|
+
import { L as LoaderWrapper } from "./LoaderWrapper-NpHG0FMQ.js";
|
|
15
|
+
import { M as MaybeModal } from "./MaybeModal-D19WF6LY.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-CTP4dsAq.js";
|
|
18
|
+
import { C as Confirm } from "./Confirm-7S3BF2sR.js";
|
|
19
|
+
import { S as Summary } from "./Summary-Br4UQ3cB.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-DVXLYGfA.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-DVXLYGfA.js";
|
|
12
|
+
import { V as ValidationResult } from "./utils-tiMgA3mn.js";
|
|
13
|
+
import { a as isNotEmptyValidator } from "./commonValidators-C9AWAaVE.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-DVXLYGfA.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-DVXLYGfA.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-DVXLYGfA.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-DVXLYGfA.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-DVXLYGfA.js";
|
|
12
|
+
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-vKa05rtf.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-C0H4LlbP.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-DVXLYGfA.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-C01TC1hb.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-BPLro8vN.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-BYa1vWUT.js";
|
|
12
|
+
import { b as useApiContext, j as httpPost } from "./StoreProvider-DVXLYGfA.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-DQQCgSDY.js";
|
|
11
|
+
import { g as getLegalEntityCountry, br as getCapabilities, t as LegalEntityTypes, v as hasOwnEntityAssociationOfType, a5 as CountryCodes } from "./StoreProvider-DVXLYGfA.js";
|
|
12
|
+
import { d as allowIndividualWithoutSoleProp } from "./OnboardingDropinComponent-Bmxjdoqk.js";
|
|
13
|
+
import { S as SOLE_PROP_COUNTRIES } from "./Individual.rules-C0q2UFzh.js";
|
|
14
|
+
import { A as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./types-DNxSxOCq.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-DVXLYGfA.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-DVXLYGfA.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-DmWzTFSS.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-DVXLYGfA.js";
|
|
12
|
+
import { g as getLocalizedIdDocumentTypeOptions } from "./utils-Bdnx4SYi.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-DVXLYGfA.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 = {
|