@adyen/kyc-components 3.92.0 → 3.92.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-T7eWi57Z.js → AcceptTermsOfServiceComponent-Cc5TwxYd.js} +15 -15
- package/dist/{Accordion-Boa_Vira.js → Accordion-CAqKHAj9.js} +1 -1
- package/dist/{AccountSetupRejected-LAVhMMBt.js → AccountSetupRejected-C9FCwunF.js} +3 -3
- package/dist/{ActionBar-CK8dwgSJ.js → ActionBar-C1rqfjkV.js} +1 -1
- package/dist/{Address-ki-bCjUJ.js → Address-C8Kqz-2b.js} +9 -9
- package/dist/{Alert-TCEgDc2-.js → Alert-E_a_csSs.js} +2 -2
- package/dist/{Avatar-AC-D1DKh.js → Avatar-wQ0mYsYL.js} +1 -1
- package/dist/{BusinessFinancingComponent-Cf-EEnyR.js → BusinessFinancingComponent-ReMZLbjX.js} +4 -4
- package/dist/{BusinessFinancingDropin-DeLlYaOF.js → BusinessFinancingDropin-DtSERjsb.js} +27 -27
- package/dist/{BusinessFinancingPage-DtX8x3Zp.js → BusinessFinancingPage-DqSCsrPJ.js} +3 -3
- package/dist/{BusinessTypeSelectionPage-6Ltt53Mu.js → BusinessTypeSelectionPage-zzDSHomI.js} +8 -8
- package/dist/{Card-Det7uTiv.js → Card-BSfGetza.js} +2 -2
- package/dist/{Checkbox-D8rB6_HN.js → Checkbox-Bp4HrJKI.js} +1 -1
- package/dist/{Confirm-Ctfqp-1b.js → Confirm-Ba5lqFqd.js} +2 -2
- package/dist/{ConstitutionalDocument-TJAc9nDQ.js → ConstitutionalDocument-DD5CB7gM.js} +17 -17
- package/dist/{ContextGuidance-CCknw_Y1.js → ContextGuidance-aACh9e6u.js} +2 -2
- package/dist/{CountryField-DzmOWqiE.js → CountryField-B0daMnwW.js} +4 -4
- package/dist/{CreateIndividualComponent-_H34wdze.js → CreateIndividualComponent-pLTW4M3J.js} +4 -4
- package/dist/{CreateTransferInstrumentComponent-CmnVEFaB.js → CreateTransferInstrumentComponent-DlSD28ga.js} +3 -3
- package/dist/{Currency-C2egEHMF.js → Currency-DXgu9MoR.js} +6 -6
- package/dist/{CustomerSupport-DLfbNC-J.js → CustomerSupport-eNBxns8l.js} +10 -10
- package/dist/{DebugModal-C0uG_A8N.js → DebugModal-jvulkSEe.js} +8 -8
- package/dist/{DecisionMakerDetailsPage-BTR-hRwO.js → DecisionMakerDetailsPage-IV32QvAq.js} +5 -5
- package/dist/{DecisionMakers-B4qQ3M6Y.js → DecisionMakers-CNxYaQOO.js} +21 -21
- package/dist/{Dropzone-CKT3THCY.js → Dropzone-CJTj99Jm.js} +3 -3
- package/dist/{EmbeddedStatus-Bst5MPzi.js → EmbeddedStatus-BytQYrC_.js} +2 -2
- package/dist/{EndStateLayout-Ck_Lvgng.js → EndStateLayout-DlvjAj-7.js} +1 -1
- package/dist/{EntityAssociation-bcF_I_DK.js → EntityAssociation-Bl1NeRHI.js} +7 -7
- package/dist/{EntityGuidanceStatus-D6VoRE_0.js → EntityGuidanceStatus-D9aXAd7N.js} +2 -2
- package/dist/{ErrorPanel-CFN2G9Vz.js → ErrorPanel-DNtK56tD.js} +2 -2
- package/dist/{Field-B3Vy1-QZ.js → Field-BEoeMy3u.js} +1 -1
- package/dist/{FormNavigation-Brw-75s0.js → FormNavigation-Ci1LhKvo.js} +2 -2
- package/dist/{FormWrapper-BcNyCMkD.js → FormWrapper-BCkcULLO.js} +8 -8
- package/dist/{Header-YafgG5Nz.js → Header-87H731cQ.js} +1 -1
- package/dist/{Image-Cvb4hnru.js → Image-Dv-RB-a6.js} +1 -1
- package/dist/{IndividualOnfidoDropin-Dy5obHs1.js → IndividualOnfidoDropin-HK_0jjJH.js} +53 -53
- package/dist/{InputDate-UCHQ3zOB.js → InputDate-BcSMepXz.js} +1 -1
- package/dist/{InputText-DGKAS6ZI.js → InputText-D0zIJLdp.js} +1 -1
- package/dist/{Introduction-DOxSVZ6X.js → Introduction-D_Zv9G9d.js} +3 -3
- package/dist/{JpAddress-DClXaVjy.js → JpAddress-C0Q47X_G.js} +8 -8
- package/dist/{LandingLayout-co7NR2te.js → LandingLayout-oK1JT5Lv.js} +1 -1
- package/dist/{LegalRepresentativeDetailsPage-DOP3L2r9.js → LegalRepresentativeDetailsPage-BrBQg06_.js} +3 -3
- package/dist/{Link-DWTJ55UO.js → Link-BTTClZw-.js} +1 -1
- package/dist/{ListItem-B8D-kUHN.js → ListItem-BJYQ6BfN.js} +2 -2
- package/dist/{LoaderWrapper-CUz5NRFr.js → LoaderWrapper-Dl2oV2v2.js} +1 -1
- package/dist/{ManageIndividualComponent-DND7vuna.js → ManageIndividualComponent-C7zwlJuO.js} +4 -4
- package/dist/{ManageTermsOfServiceComponent-ylDupO1E.js → ManageTermsOfServiceComponent-Qpzy5iZg.js} +3 -3
- package/dist/{ManageTransferInstrumentComponent-CgUfGP5E.js → ManageTransferInstrumentComponent-CvTD7JqX.js} +12 -12
- package/dist/{MaskedInput-Cn0VAuEp.js → MaskedInput-Bet0abik.js} +4 -4
- package/dist/{MaybeModal-CWCEHeOg.js → MaybeModal-Bk3WmK24.js} +2 -2
- package/dist/{Modal-pyBUluei.js → Modal-1Hv5tfNy.js} +1 -1
- package/dist/{OnboardingDropinComponent-DwKImil4.js → OnboardingDropinComponent-tQW1hXKP.js} +43 -43
- package/dist/{PayoutDetailsDropin-lYVb5WCQ.js → PayoutDetailsDropin-BEoP-NR0.js} +50 -46
- package/dist/{RadioGroup-DPc8nUuk.js → RadioGroup-Bg_8BEDn.js} +1 -1
- package/dist/{RadioGroupCard-Pj9qq4uW.js → RadioGroupCard-NRR-OqqG.js} +1 -1
- package/dist/{Review-gkTjl3a8.js → Review-DbX6GFkR.js} +6 -6
- package/dist/{RootBusinessDetailsPage-DjwEzuLA.js → RootBusinessDetailsPage-BWewaAOg.js} +4 -4
- package/dist/{RootBusinessLinesPage-2-U3mf6i.js → RootBusinessLinesPage-CJ9jECx0.js} +23 -23
- package/dist/{RootIndividualDetailsPage-BFYP63_i.js → RootIndividualDetailsPage-CvQ2742R.js} +5 -5
- package/dist/{Select-D1rFT3T8.js → Select-DglmHz2C.js} +3 -3
- package/dist/{SignPCIComponent-DqElmjjG.js → SignPCIComponent-C6vCs_hW.js} +11 -11
- package/dist/{SingpassSelection-eruroIiQ.js → SingpassSelection-Dv7obY3Y.js} +5 -5
- package/dist/{SoleProprietorshipPage-7YdzA7iH.js → SoleProprietorshipPage-BBaiVx9A.js} +3 -3
- package/dist/{SourceOfFundsPage-C_wiSoc4.js → SourceOfFundsPage-y4UhFduk.js} +34 -34
- package/dist/{StepProgressIndicator-DLoEzGro.js → StepProgressIndicator-zp8q1OzD.js} +1 -1
- package/dist/{StoreProvider-D9IR5HNN.js → StoreProvider-BY1HQxMn.js} +4 -4
- package/dist/{Summary-Bq94iVfc.js → Summary-Dt4LcwGJ.js} +5 -5
- package/dist/{TaskVerificationStatus-BLCkXEn6.js → TaskVerificationStatus-D7Yyt06M.js} +1 -1
- package/dist/{TaxInformationField-c-ZWfhUk.js → TaxInformationField-jCqBsFve.js} +20 -20
- package/dist/{TaxReportingDropin-ajO0q4eZ.js → TaxReportingDropin-PYjxhlen.js} +16 -16
- package/dist/{TextArea-D9eJloeE.js → TextArea-DaEM1LmR.js} +1 -1
- package/dist/{TileGroup-CaY3i_T7.js → TileGroup-B9NP0xL_.js} +2 -2
- package/dist/{TrustDetailsPage-BWXZX4-u.js → TrustDetailsPage-CcSVv1MP.js} +34 -34
- package/dist/{TrustMemberCompanyPage-CJj2BpXu.js → TrustMemberCompanyPage-f7sbolBK.js} +4 -4
- package/dist/{TrustMemberIndividualPage-BXp9RXDw.js → TrustMemberIndividualPage-BlkZ5WtP.js} +3 -3
- package/dist/{TrustMemberRoleAndTypePage-gYJ5U6RH.js → TrustMemberRoleAndTypePage-DCsR7Tdy.js} +20 -20
- package/dist/{TrustMembersOverview-Chmnt5jS.js → TrustMembersOverview-BhDqS5F-.js} +11 -11
- package/dist/{UnincorporatedPartnershipIndividualPage-DckUiPPY.js → UnincorporatedPartnershipIndividualPage-BbprnGI_.js} +3 -3
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-Bx0A5Bit.js → UnincorporatedPartnershipMemberCompanyPage-BxpxNdg6.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-CEE1hzIn.js → UnincorporatedPartnershipMemberRoleAndTypePage-3xUvx9l-.js} +10 -10
- package/dist/{UnincorporatedPartnershipMembersOverview-wB8K9r6g.js → UnincorporatedPartnershipMembersOverview-BpZbRr_e.js} +8 -8
- package/dist/{VerificationErrorAlert-DZ5OOTBN.js → VerificationErrorAlert-7DNyS4C_.js} +3 -3
- package/dist/{ViewVerificationStatusComponent-BVY4YUJf.js → ViewVerificationStatusComponent-urVZF63U.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-Wct4TWLH.js → bafinUtils-BROXAx5r.js} +1 -1
- package/dist/{commonValidators-DcFd5CHs.js → commonValidators-B7eyF3yt.js} +1 -1
- package/dist/{dropinUtils-BpJn607e.js → dropinUtils-DqJ1Ds6F.js} +3 -3
- package/dist/{fieldConfig-BPwb1GHc.js → fieldConfig-DVdDkF4v.js} +5 -5
- package/dist/{formUtils-BlVlgetw.js → formUtils-6n_sAj9f.js} +2 -2
- package/dist/{getName-CzpJ9tV7.js → getName-2kWqXhZa.js} +1 -1
- package/dist/{hasDataChanged-8e8x8zjz.js → hasDataChanged-DzGl3k7N.js} +1 -1
- package/dist/{iframeWidget-D6BlBF0m.js → iframeWidget-BHiCu3PY.js} +3 -3
- package/dist/{isEmpty-CsYVgjoD.js → isEmpty-COLZr49P.js} +1 -1
- package/dist/{japanSupportUtils-iATUjnbf.js → japanSupportUtils-DHTmTrsj.js} +1 -1
- package/dist/{localizeDateString-BHDr1NID.js → localizeDateString-tOyK52gO.js} +1 -1
- package/dist/{makeSelectItemForRole-Bm2NwBxD.js → makeSelectItemForRole-B1DAxBZ_.js} +7 -7
- package/dist/{mapExistingFile-DNBa6Ekj.js → mapExistingFile-Bz4_d6_m.js} +3 -3
- package/dist/{mapJpAddressSchemaToAddressLocalizations-BNb8d51F.js → mapJpAddressSchemaToAddressLocalizations-COA1bDNt.js} +4 -4
- package/dist/{mapLegalEntityToIndividualOnfidoSchema-DREgz5Ms.js → mapLegalEntityToIndividualOnfidoSchema-CdLLvb8F.js} +3 -3
- package/dist/{mapTransferInstrumentToPayoutAccount-C5NqOfNW.js → mapTransferInstrumentToPayoutAccount-CPpBX8oM.js} +1 -1
- package/dist/{patternValidators-BXduwLbz.js → patternValidators-DSKvrLlO.js} +1 -1
- package/dist/{process-field-configurations-B26ehyAw.js → process-field-configurations-2fq1Bq8j.js} +2 -2
- package/dist/{resolveEnvironment-B5Yrsa4J.js → resolveEnvironment-DPBuIa7_.js} +3 -3
- package/dist/{roleMetadata-DmgqzhZJ.js → roleMetadata-steXST1L.js} +1 -1
- package/dist/{rules-B_6RrE9T.js → rules-CovTg5rc.js} +4 -4
- package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/utils.d.ts +1 -1
- package/dist/{types-c9nG7Dev.js → types-2lh4v1NS.js} +1 -1
- package/dist/{types-C6ntGMCy.js → types-CGYmPCYj.js} +1 -1
- package/dist/{types-CpAtsPmJ.js → types-MoVpdFbr.js} +1 -1
- package/dist/{useAssociatedLegalEntity-ahBb64MW.js → useAssociatedLegalEntity-BufOLUsc.js} +1 -1
- package/dist/{useBusinessDetailsData-qQ2HRnKK.js → useBusinessDetailsData-D4EbMk7x.js} +49 -49
- package/dist/{useCreateLegalEntity-Kc8_ZlAe.js → useCreateLegalEntity-CmZ_Xs5Y.js} +1 -1
- package/dist/{useDataset-DfKmlbQd.js → useDataset-BRi4mlWJ.js} +1 -1
- package/dist/{useForm-9uKM-XKf.js → useForm-DpYu-ydO.js} +2 -2
- package/dist/{useFormContext-CvQfKDA3.js → useFormContext-03qTwgil.js} +6 -6
- package/dist/{useGlobalData-BVQ2OrIi.js → useGlobalData-Dk70ESMH.js} +1 -1
- package/dist/{useMultiForm-pAiPIh7X.js → useMultiForm-BNwZbeFz.js} +3 -3
- package/dist/{useOnboardingStatus-BhDBSLB6.js → useOnboardingStatus-D6f5Kt_w.js} +1 -1
- package/dist/{useScenarios-DFW21Vhf.js → useScenarios-BQO76Qbs.js} +1 -1
- package/dist/{useTermsOfServiceStatus-BnO0rXiL.js → useTermsOfServiceStatus-pQ-OjZcj.js} +1 -1
- package/dist/{useToastContext-D6Lbxqj9.js → useToastContext-BG3cHfke.js} +1 -1
- package/dist/{useUnincorporatedPartnershipMembers-CIC7xPbD.js → useUnincorporatedPartnershipMembers-DumGMdhZ.js} +3 -3
- package/dist/{useUpdateBusinessLines-WlwUOtSU.js → useUpdateBusinessLines-BWk0eCVS.js} +3 -3
- package/dist/{useUpdateLegalEntity-CStkUt4I.js → useUpdateLegalEntity-DJomQK33.js} +2 -2
- package/dist/{utils-CB39nVjj.js → utils-B5nzpIMU.js} +5 -5
- package/dist/{utils-BmxzrkCX.js → utils-CANy0Arr.js} +1 -1
- package/dist/{utils-DOiFhaKn.js → utils-Cm0vPCdA.js} +1 -1
- package/dist/{utils-CDAwsXQa.js → utils-DkGVdk7W.js} +2 -2
- package/dist/{utils-7_xBiPO_.js → utils-DtmnCXcG.js} +1 -1
- package/dist/{validate-D4iK6FUk.js → validate-CIuB6JUT.js} +7 -7
- package/dist/{validate-Bsx2oHT1.js → validate-D5t_i90f.js} +2 -2
- package/dist/{validate-D-l23QLG.js → validate-DUJOPfMa.js} +1 -1
- package/dist/{validationError-DYYlX-5X.js → validationError-BkGOdtDT.js} +1 -1
- package/package.json +1 -1
|
@@ -8,14 +8,14 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { F as Field } from "./Field-
|
|
12
|
-
import { I as InputText } from "./InputText-
|
|
13
|
-
import { c as createFormUtils } from "./formUtils-
|
|
14
|
-
import { u as useTranslation } from "./StoreProvider-
|
|
11
|
+
import { F as Field } from "./Field-BEoeMy3u.js";
|
|
12
|
+
import { I as InputText } from "./InputText-D0zIJLdp.js";
|
|
13
|
+
import { c as createFormUtils } from "./formUtils-6n_sAj9f.js";
|
|
14
|
+
import { u as useTranslation } from "./StoreProvider-BY1HQxMn.js";
|
|
15
15
|
import cx from "classnames";
|
|
16
|
-
import { h as handleKeys } from "./bafinUtils-
|
|
17
|
-
import { a as SelectListItem } from "./Select-
|
|
18
|
-
import { r as roleMetadata } from "./roleMetadata-
|
|
16
|
+
import { h as handleKeys } from "./bafinUtils-BROXAx5r.js";
|
|
17
|
+
import { a as SelectListItem } from "./Select-DglmHz2C.js";
|
|
18
|
+
import { r as roleMetadata } from "./roleMetadata-steXST1L.js";
|
|
19
19
|
const nameFields = ["firstName", "lastName"];
|
|
20
20
|
function Name(props) {
|
|
21
21
|
const { data, handleFieldChange, errors, valid, fieldValidationErrors } = props;
|
|
@@ -8,13 +8,13 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useEffect, useState, useMemo } from "preact/hooks";
|
|
11
|
-
import { u as useScenarios } from "./useScenarios-
|
|
12
|
-
import { C as CountryCodes, H as createLogger, u as useTranslation, W as Icon } from "./StoreProvider-
|
|
11
|
+
import { u as useScenarios } from "./useScenarios-BQO76Qbs.js";
|
|
12
|
+
import { C as CountryCodes, H as createLogger, u as useTranslation, W as Icon } from "./StoreProvider-BY1HQxMn.js";
|
|
13
13
|
import { signal } from "@preact/signals";
|
|
14
14
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
15
15
|
import cx from "classnames";
|
|
16
16
|
import { lazy } from "preact/compat";
|
|
17
|
-
import { I as Image } from "./Image-
|
|
17
|
+
import { I as Image } from "./Image-Dv-RB-a6.js";
|
|
18
18
|
class AdyenKycSdkError extends Error {
|
|
19
19
|
sourceError;
|
|
20
20
|
constructor(message, sourceError) {
|
|
@@ -7,12 +7,12 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, j as useQuery, m as httpGet, Z as useExperimentsContext, C as CountryCodes } from "./StoreProvider-
|
|
11
|
-
import { u as useSetting } from "./bafinUtils-
|
|
12
|
-
import { u as useCapabilities } from "./TaxInformationField-
|
|
10
|
+
import { b as useApiContext, j as useQuery, m as httpGet, Z as useExperimentsContext, C as CountryCodes } from "./StoreProvider-BY1HQxMn.js";
|
|
11
|
+
import { u as useSetting } from "./bafinUtils-BROXAx5r.js";
|
|
12
|
+
import { u as useCapabilities } from "./TaxInformationField-jCqBsFve.js";
|
|
13
13
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
14
14
|
import { s as summaryItem } from "./summaryItem-CAQCQSkt.js";
|
|
15
|
-
import { i as isEmpty } from "./isEmpty-
|
|
15
|
+
import { i as isEmpty } from "./isEmpty-COLZr49P.js";
|
|
16
16
|
import { m as mapSchemaFieldsToApiScriptLocalization } from "./mapAddressLocalizationToJpAddressSchema-vJWbpAyq.js";
|
|
17
17
|
const getSupportedCountries = async (legalEntityId, baseUrl) => {
|
|
18
18
|
return httpGet({
|
|
@@ -8,12 +8,12 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { signal } from "@preact/signals";
|
|
11
|
-
import { aj as useI18nContext, V as useAnalyticsContext, G as Typography, B as Button, C as CountryCodes, au as reverseMapping, aM as getNomineeFromAssociation, bp as individualOnfidoBaseMapping, ag as DecisionMakerTypes } from "./StoreProvider-
|
|
11
|
+
import { aj as useI18nContext, V as useAnalyticsContext, G as Typography, B as Button, C as CountryCodes, au as reverseMapping, aM as getNomineeFromAssociation, bp as individualOnfidoBaseMapping, ag as DecisionMakerTypes } from "./StoreProvider-BY1HQxMn.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-BEoeMy3u.js";
|
|
16
|
+
import { T as TileGroup } from "./TileGroup-B9NP0xL_.js";
|
|
17
17
|
const individualFormDefaultData = signal(null);
|
|
18
18
|
const guidanceQuestion = "adyen-kyc-guidance-question";
|
|
19
19
|
const options = "adyen-kyc-options";
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, j as useQuery, w as skipToken, m as httpGet, bq as crossBorderMapping, br as payoutComponentKeyMapping } from "./StoreProvider-
|
|
10
|
+
import { b as useApiContext, j as useQuery, w as skipToken, m as httpGet, bq as crossBorderMapping, br as payoutComponentKeyMapping } from "./StoreProvider-BY1HQxMn.js";
|
|
11
11
|
import { m as mapWith } from "./utils-DNSfZiio.js";
|
|
12
12
|
const getTransferInstrument = async (legalEntityId, baseUrl, transferInstrumentId) => {
|
|
13
13
|
return httpGet({
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { bf as hasText, bg as isValidMinLength, aw as matchesRegex, as as isEmpty, ay as NO_ALPHABET_REGEX, az as EMOJI_REGEX, aA as hasRepeatedCharacters, aB as isInvalidName, bt as OTHER_ENTITIES_VALID_CHAR_REGEX, bu as LATIN_SPACE_MARK_PUNCTUATION_REGEX, aH as standardKatakanaValidator, aI as standardKanjiValidator } from "./StoreProvider-
|
|
10
|
+
import { bf as hasText, bg as isValidMinLength, aw as matchesRegex, as as isEmpty, ay as NO_ALPHABET_REGEX, az as EMOJI_REGEX, aA as hasRepeatedCharacters, aB as isInvalidName, bt as OTHER_ENTITIES_VALID_CHAR_REGEX, bu as LATIN_SPACE_MARK_PUNCTUATION_REGEX, aH as standardKatakanaValidator, aI as standardKanjiValidator } from "./StoreProvider-BY1HQxMn.js";
|
|
11
11
|
const validateNotEmptyOnBlur = {
|
|
12
12
|
modes: ["blur"],
|
|
13
13
|
validate: (val) => !isEmpty(val),
|
package/dist/{process-field-configurations-B26ehyAw.js → process-field-configurations-2fq1Bq8j.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-Dv-RB-a6.js";
|
|
11
11
|
import { f as formDebugInfo } from "./debugStore-BvbyN1Oi.js";
|
|
12
|
-
import { H as createLogger, bj as businessDetailsApiKeyMapping, aL as individualApiKeyMapping, bk as remediationHasFileUploadField, bl as dataMissingRemediationsToFieldsMap, b0 as keysOf } from "./StoreProvider-
|
|
12
|
+
import { H as createLogger, bj as businessDetailsApiKeyMapping, aL as individualApiKeyMapping, bk as remediationHasFileUploadField, bl as dataMissingRemediationsToFieldsMap, b0 as keysOf } from "./StoreProvider-BY1HQxMn.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] = "a1c65596-bcaf-45d0-b936-67f9ca686064", e._sentryDebugIdIdentifier = "sentry-dbid-a1c65596-bcaf-45d0-b936-67f9ca686064");
|
|
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 { aq as refreshSession, B 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 { aq as refreshSession, B 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-BY1HQxMn.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.92.
|
|
138
|
+
/* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.92.1" }),
|
|
139
139
|
/* @__PURE__ */ jsx(
|
|
140
140
|
AnalyticsProvider,
|
|
141
141
|
{
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { bv as TrustMemberGuidanceLabels, aa as TrustMemberTypes, ag as DecisionMakerTypes } from "./StoreProvider-
|
|
10
|
+
import { bv as TrustMemberGuidanceLabels, aa as TrustMemberTypes, ag as DecisionMakerTypes } from "./StoreProvider-BY1HQxMn.js";
|
|
11
11
|
import { U as UnincorporatedPartnershipMemberTypes } from "./unincorporated-partnership-MeN1dp53.js";
|
|
12
12
|
const roleMetadata = {
|
|
13
13
|
[DecisionMakerTypes.CONTROLLING_PERSON]: {
|
|
@@ -7,11 +7,11 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { C as CountryCodes, U as TaskTypes, aY as allowedCountriesForNominee, ag as DecisionMakerTypes, ah as Scenarios } from "./StoreProvider-
|
|
11
|
-
import { g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET } from "./utils-
|
|
10
|
+
import { C as CountryCodes, U as TaskTypes, aY as allowedCountriesForNominee, ag as DecisionMakerTypes, ah as Scenarios } from "./StoreProvider-BY1HQxMn.js";
|
|
11
|
+
import { g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET } from "./utils-CANy0Arr.js";
|
|
12
12
|
import { c as createFormRules } from "./form-rules-DhbF2mY4.js";
|
|
13
|
-
import { i as isCompatibleJapanVersion } from "./japanSupportUtils-
|
|
14
|
-
import { g as getLocalizedIdDocumentTypeOptions } from "./utils-
|
|
13
|
+
import { i as isCompatibleJapanVersion } from "./japanSupportUtils-DHTmTrsj.js";
|
|
14
|
+
import { g as getLocalizedIdDocumentTypeOptions } from "./utils-Cm0vPCdA.js";
|
|
15
15
|
const REQUIRED = "REQUIRED";
|
|
16
16
|
const OPTIONAL = "OPTIONAL";
|
|
17
17
|
const SOLE_PROP_COUNTRIES = [
|
|
@@ -7,5 +7,5 @@ interface InvalidFieldMessage {
|
|
|
7
7
|
content: NsTranslationKey<'banking'>;
|
|
8
8
|
}
|
|
9
9
|
export declare const getInvalidFieldsErrorMessage: (errors: CAASResponseError) => InvalidFieldMessage;
|
|
10
|
-
export declare const getPayoutVerificationMethod: (transferInstrument: ExistingTransferInstrument | undefined, instantVerificationEnabled: boolean, enabledUnbiasedVerificationMethod: boolean) => VerificationMethod | undefined;
|
|
10
|
+
export declare const getPayoutVerificationMethod: (transferInstrument: ExistingTransferInstrument | undefined, instantVerificationEnabled: boolean, enabledUnbiasedVerificationMethod: boolean, isVerificationMethodPageVisible: boolean) => VerificationMethod | undefined;
|
|
11
11
|
export {};
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { C as CountryCodes } from "./StoreProvider-
|
|
10
|
+
import { C as CountryCodes } from "./StoreProvider-BY1HQxMn.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 { r as LegalEntityTypes, C as CountryCodes } from "./StoreProvider-
|
|
10
|
+
import { r as LegalEntityTypes, C as CountryCodes } from "./StoreProvider-BY1HQxMn.js";
|
|
11
11
|
const trustMemberLegalEntityTypes = [
|
|
12
12
|
LegalEntityTypes.INDIVIDUAL,
|
|
13
13
|
LegalEntityTypes.ORGANIZATION
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useMemo } from "preact/hooks";
|
|
11
|
-
import { H as createLogger, c as useLegalEntity, w as skipToken } from "./StoreProvider-
|
|
11
|
+
import { H as createLogger, c as useLegalEntity, w as skipToken } from "./StoreProvider-BY1HQxMn.js";
|
|
12
12
|
const logger = createLogger();
|
|
13
13
|
function useAssociatedLegalEntity(parentLegalEntity, associationType) {
|
|
14
14
|
const matchingAssociation = useMemo(() => {
|
|
@@ -8,66 +8,66 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
|
-
import { u as useTranslation, aj as useI18nContext, as as isEmpty, i as isUndefinedOrNull, C as CountryCodes, bB as isISIN, B as Button, Z as useExperimentsContext, c as useLegalEntity, R as ROOT_LE, aP as useVersionConfiguration, G as Typography, L as Loader, o as useSettingsContext, b as useApiContext, am as useMutation, k as httpPost, j as useQuery, w as skipToken, al as entriesOf, ao as useQueryClient, V as useAnalyticsContext, H as createLogger, N as useAccountHolder, U as TaskTypes, r as LegalEntityTypes, bC as businessDetailsComponentsKeyMapping, bD as solePropBusinessDetailsKeyMapping, ad as objectsDeepEqual, b0 as keysOf, bE as solePropBusinessDetailsApiKeyMapping, bj as businessDetailsApiKeyMapping, aR as filterOutUnwantedAssociationsIfRootLE, aO as drop, a9 as getOwnEntityAssociations, aW as doArraysMatch, bF as solePropBusinessDetailsDocumentMapping, bG as businessDetailsDocumentMapping } from "./StoreProvider-
|
|
11
|
+
import { u as useTranslation, aj as useI18nContext, as as isEmpty, i as isUndefinedOrNull, C as CountryCodes, bB as isISIN, B as Button, Z as useExperimentsContext, c as useLegalEntity, R as ROOT_LE, aP as useVersionConfiguration, G as Typography, L as Loader, o as useSettingsContext, b as useApiContext, am as useMutation, k as httpPost, j as useQuery, w as skipToken, al as entriesOf, ao as useQueryClient, V as useAnalyticsContext, H as createLogger, N as useAccountHolder, U as TaskTypes, r as LegalEntityTypes, bC as businessDetailsComponentsKeyMapping, bD as solePropBusinessDetailsKeyMapping, ad as objectsDeepEqual, b0 as keysOf, bE as solePropBusinessDetailsApiKeyMapping, bj as businessDetailsApiKeyMapping, aR as filterOutUnwantedAssociationsIfRootLE, aO as drop, a9 as getOwnEntityAssociations, aW as doArraysMatch, bF as solePropBusinessDetailsDocumentMapping, bG as businessDetailsDocumentMapping } from "./StoreProvider-BY1HQxMn.js";
|
|
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 useCreateLegalEntity } from "./useCreateLegalEntity-
|
|
15
|
-
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
16
|
-
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-
|
|
17
|
-
import { u as useToastContext } from "./useToastContext-
|
|
18
|
-
import { C as CompanyTypesValues, h as handleKeys } from "./bafinUtils-
|
|
19
|
-
import { c as composePerScenarioFormConfigurations, g as getPropsFromConfigurations } from "./process-field-configurations-
|
|
20
|
-
import { a as addValidityToForms, u as useFormComposer } from "./dropinUtils-
|
|
21
|
-
import { u as useMultiForm } from "./useMultiForm-
|
|
22
|
-
import { u as uppercase, m as mapExistingFile, g as getPageName, b as useScenarioConfiguration } from "./mapExistingFile-
|
|
23
|
-
import { C as Confirm } from "./Confirm-
|
|
24
|
-
import { a as getDocument, j as getDocuments, c as createDocumentRequest, k as mergeProofOfOwnershipAttachments, b as getFileExtention, d as documentApiUtils } from "./validate-
|
|
25
|
-
import { c as TAX_INFORMATION_FIELD, r as requestingBanking, d as requestingIssuing, t as taxInformationDefaultFieldMetadata, b as taxInformationDefaultFieldConfig, T as TaxInformationField, C as COUNTRY_OF_GOVERNING_LAW_POSSIBLE, S as StateCodesUS, e as COUNTRIES_USING_COMPANY_SEARCH, 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-
|
|
26
|
-
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-
|
|
27
|
-
import { K as KEYBOARD_KEYS, M as Modal, a as ModalContent } from "./Modal-
|
|
28
|
-
import { S as SettingNames } from "./TaskVerificationStatus-
|
|
29
|
-
import { t as toFullWidth, u as useAllowedCountries, m as mapJpAddressSchemaToAddressLocalizations, a as mapJpAddressSummary } from "./mapJpAddressSchemaToAddressLocalizations-
|
|
30
|
-
import { g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET, a as getAddressSchemaLabelsByCountry, m as mapAddressLabels, c as getKeyForField } from "./utils-
|
|
31
|
-
import { o as organizationTypesToSkipCompanyStructureForm } from "./utils-
|
|
32
|
-
import { f as formatCurrency, A as ALLOWED_SOF_SERVICES } from "./utils-
|
|
33
|
-
import { c as useAddressCleanse, f as formatAddressForCleanse, m as mapAddressData, A as Address, g as getNestedTrustedFields, S as STATE_FIELD, d 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-BWk0eCVS.js";
|
|
14
|
+
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-CmZ_Xs5Y.js";
|
|
15
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-DJomQK33.js";
|
|
16
|
+
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-03qTwgil.js";
|
|
17
|
+
import { u as useToastContext } from "./useToastContext-BG3cHfke.js";
|
|
18
|
+
import { C as CompanyTypesValues, h as handleKeys } from "./bafinUtils-BROXAx5r.js";
|
|
19
|
+
import { c as composePerScenarioFormConfigurations, g as getPropsFromConfigurations } from "./process-field-configurations-2fq1Bq8j.js";
|
|
20
|
+
import { a as addValidityToForms, u as useFormComposer } from "./dropinUtils-DqJ1Ds6F.js";
|
|
21
|
+
import { u as useMultiForm } from "./useMultiForm-BNwZbeFz.js";
|
|
22
|
+
import { u as uppercase, m as mapExistingFile, g as getPageName, b as useScenarioConfiguration } from "./mapExistingFile-Bz4_d6_m.js";
|
|
23
|
+
import { C as Confirm } from "./Confirm-Ba5lqFqd.js";
|
|
24
|
+
import { a as getDocument, j as getDocuments, c as createDocumentRequest, k as mergeProofOfOwnershipAttachments, b as getFileExtention, d as documentApiUtils } from "./validate-D5t_i90f.js";
|
|
25
|
+
import { c as TAX_INFORMATION_FIELD, r as requestingBanking, d as requestingIssuing, t as taxInformationDefaultFieldMetadata, b as taxInformationDefaultFieldConfig, T as TaxInformationField, C as COUNTRY_OF_GOVERNING_LAW_POSSIBLE, S as StateCodesUS, e as COUNTRIES_USING_COMPANY_SEARCH, 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-jCqBsFve.js";
|
|
26
|
+
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-DD5CB7gM.js";
|
|
27
|
+
import { K as KEYBOARD_KEYS, M as Modal, a as ModalContent } from "./Modal-1Hv5tfNy.js";
|
|
28
|
+
import { S as SettingNames } from "./TaskVerificationStatus-D7Yyt06M.js";
|
|
29
|
+
import { t as toFullWidth, u as useAllowedCountries, m as mapJpAddressSchemaToAddressLocalizations, a as mapJpAddressSummary } from "./mapJpAddressSchemaToAddressLocalizations-COA1bDNt.js";
|
|
30
|
+
import { g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET, a as getAddressSchemaLabelsByCountry, m as mapAddressLabels, c as getKeyForField } from "./utils-CANy0Arr.js";
|
|
31
|
+
import { o as organizationTypesToSkipCompanyStructureForm } from "./utils-B5nzpIMU.js";
|
|
32
|
+
import { f as formatCurrency, A as ALLOWED_SOF_SERVICES } from "./utils-DkGVdk7W.js";
|
|
33
|
+
import { c as useAddressCleanse, f as formatAddressForCleanse, m as mapAddressData, A as Address, g as getNestedTrustedFields, S as STATE_FIELD, d as StateField, i as isDateOlderThanAYear } from "./Address-C8Kqz-2b.js";
|
|
34
34
|
import { s as summaryItem } from "./summaryItem-CAQCQSkt.js";
|
|
35
|
-
import { s as summaryStep } from "./Summary-
|
|
36
|
-
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-
|
|
35
|
+
import { s as summaryStep } from "./Summary-Dt4LcwGJ.js";
|
|
36
|
+
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-BkGOdtDT.js";
|
|
37
37
|
import { a as datasetUtilities } from "./datasetUtil-BHQp0-xL.js";
|
|
38
38
|
import { r as resolveFieldMetadata } from "./fieldConfigurations-BUT9DTUH.js";
|
|
39
|
-
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-
|
|
40
|
-
import { i as isEmpty$1 } from "./isEmpty-
|
|
39
|
+
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-DXgu9MoR.js";
|
|
40
|
+
import { i as isEmpty$1 } from "./isEmpty-COLZr49P.js";
|
|
41
41
|
import { f as formatObject } from "./utils-DNSfZiio.js";
|
|
42
42
|
import { b as mapAddressLocalizationToJpAddressSchema, a as mapApiScriptLocalizationToSchemaFields, m as mapSchemaFieldsToApiScriptLocalization } from "./mapAddressLocalizationToJpAddressSchema-vJWbpAyq.js";
|
|
43
|
-
import { L as LEGAL_COMPANY_NAME_FIELD, d as defaultFieldMetadataV4, a as defaultFieldMetadata$2, b as defaultFieldConfigV4, c as defaultFieldConfig$2 } from "./fieldConfig-
|
|
44
|
-
import { g as useBusinessLines } from "./OnboardingDropinComponent-
|
|
45
|
-
import { F as Field } from "./Field-
|
|
46
|
-
import { H as Header } from "./Header-
|
|
47
|
-
import { R as RadioGroup } from "./RadioGroup-
|
|
48
|
-
import { u as useGlobalDataSlice } from "./useGlobalData-
|
|
49
|
-
import { u as useForm } from "./useForm-
|
|
50
|
-
import { c as createFormUtils, m as mergeFieldMetadataIntoProps } from "./formUtils-
|
|
51
|
-
import { c as currencyByCountry } from "./types-
|
|
52
|
-
import { I as InputDate, f as formatDateObj } from "./InputDate-
|
|
43
|
+
import { L as LEGAL_COMPANY_NAME_FIELD, d as defaultFieldMetadataV4, a as defaultFieldMetadata$2, b as defaultFieldConfigV4, c as defaultFieldConfig$2 } from "./fieldConfig-DVdDkF4v.js";
|
|
44
|
+
import { g as useBusinessLines } from "./OnboardingDropinComponent-tQW1hXKP.js";
|
|
45
|
+
import { F as Field } from "./Field-BEoeMy3u.js";
|
|
46
|
+
import { H as Header } from "./Header-87H731cQ.js";
|
|
47
|
+
import { R as RadioGroup } from "./RadioGroup-Bg_8BEDn.js";
|
|
48
|
+
import { u as useGlobalDataSlice } from "./useGlobalData-Dk70ESMH.js";
|
|
49
|
+
import { u as useForm } from "./useForm-DpYu-ydO.js";
|
|
50
|
+
import { c as createFormUtils, m as mergeFieldMetadataIntoProps } from "./formUtils-6n_sAj9f.js";
|
|
51
|
+
import { c as currencyByCountry } from "./types-CGYmPCYj.js";
|
|
52
|
+
import { I as InputDate, f as formatDateObj } from "./InputDate-BcSMepXz.js";
|
|
53
53
|
import { Suspense, lazy } from "preact/compat";
|
|
54
|
-
import { C as Checkbox } from "./Checkbox-
|
|
55
|
-
import { E as ErrorPanel } from "./ErrorPanel-
|
|
56
|
-
import { a as validateNotEmptyOnBlur, v as validatePatternOnBlur, b as validateJaKanaLegalCompanyName, c as validateJaHaniLegalCompanyName } from "./patternValidators-
|
|
57
|
-
import { M as MaskedInput, m as makeMask, d as alphanumericInputs, b as alphaInputs, n as numericInputs } from "./MaskedInput-
|
|
58
|
-
import { i as isCompatibleJapanVersion } from "./japanSupportUtils-
|
|
54
|
+
import { C as Checkbox } from "./Checkbox-Bp4HrJKI.js";
|
|
55
|
+
import { E as ErrorPanel } from "./ErrorPanel-DNtK56tD.js";
|
|
56
|
+
import { a as validateNotEmptyOnBlur, v as validatePatternOnBlur, b as validateJaKanaLegalCompanyName, c as validateJaHaniLegalCompanyName } from "./patternValidators-DSKvrLlO.js";
|
|
57
|
+
import { M as MaskedInput, m as makeMask, d as alphanumericInputs, b as alphaInputs, n as numericInputs } from "./MaskedInput-Bet0abik.js";
|
|
58
|
+
import { i as isCompatibleJapanVersion } from "./japanSupportUtils-DHTmTrsj.js";
|
|
59
59
|
import { u as useDebouncedCallback } from "./debouncedInputEvent-Cv2S512Y.js";
|
|
60
60
|
import { signal } from "@preact/signals";
|
|
61
61
|
import cx from "classnames";
|
|
62
|
-
import { L as Link } from "./Link-
|
|
62
|
+
import { L as Link } from "./Link-BTTClZw-.js";
|
|
63
63
|
import { S as StructuredList } from "./StructuredList-9dnJRdx_.js";
|
|
64
|
-
import { I as InputText } from "./InputText-
|
|
65
|
-
import { C as CountryField, a as COUNTRY_FIELD } from "./CountryField-
|
|
66
|
-
import { L as LoaderWrapper } from "./LoaderWrapper-
|
|
64
|
+
import { I as InputText } from "./InputText-D0zIJLdp.js";
|
|
65
|
+
import { C as CountryField, a as COUNTRY_FIELD } from "./CountryField-B0daMnwW.js";
|
|
66
|
+
import { L as LoaderWrapper } from "./LoaderWrapper-Dl2oV2v2.js";
|
|
67
67
|
import { S as StackLayout } from "./unincorporated-partnership-MeN1dp53.js";
|
|
68
|
-
import { a as Alert } from "./Alert-
|
|
69
|
-
import { C as Card } from "./Card-
|
|
70
|
-
import { T as TileGroup } from "./TileGroup-
|
|
68
|
+
import { a as Alert } from "./Alert-E_a_csSs.js";
|
|
69
|
+
import { C as Card } from "./Card-BSfGetza.js";
|
|
70
|
+
import { T as TileGroup } from "./TileGroup-B9NP0xL_.js";
|
|
71
71
|
const FINANCIAL_REPORTING_DATE_FIELD = [
|
|
72
72
|
"financialReportingDate"
|
|
73
73
|
];
|
|
@@ -779,7 +779,7 @@ function VerifiedBusinessCard({
|
|
|
779
779
|
] });
|
|
780
780
|
}
|
|
781
781
|
const LazyJpAddress = lazy(
|
|
782
|
-
async () => (await import("./JpAddress-
|
|
782
|
+
async () => (await import("./JpAddress-C0Q47X_G.js")).JpAddress
|
|
783
783
|
);
|
|
784
784
|
const ADDITIONAL_INFORMATION_FORM_ID = "additionalInformation";
|
|
785
785
|
const ADDITIONAL_INFORMATION_FIELDS = [
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, am as useMutation, k as httpPost } from "./StoreProvider-
|
|
10
|
+
import { b as useApiContext, am as useMutation, k as httpPost } from "./StoreProvider-BY1HQxMn.js";
|
|
11
11
|
const createLegalEntity = async (legalEntityId, baseUrl, data) => {
|
|
12
12
|
return httpPost(
|
|
13
13
|
{
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useState, useEffect } from "preact/hooks";
|
|
11
|
-
import { H as createLogger, aj as useI18nContext } from "./StoreProvider-
|
|
11
|
+
import { H as createLogger, aj as useI18nContext } from "./StoreProvider-BY1HQxMn.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 { H as createLogger, as as isEmpty, aW as doArraysMatch } from "./StoreProvider-
|
|
12
|
-
import { V as ValidationResult, o as omitKeys, a as addKeys } from "./utils-
|
|
11
|
+
import { H as createLogger, as as isEmpty, aW as doArraysMatch } from "./StoreProvider-BY1HQxMn.js";
|
|
12
|
+
import { V as ValidationResult, o as omitKeys, a as addKeys } from "./utils-DtmnCXcG.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 { V as useAnalyticsContext, u as useTranslation, B as Button } from "./StoreProvider-
|
|
14
|
-
import { L as LoaderWrapper } from "./LoaderWrapper-
|
|
15
|
-
import { M as MaybeModal } from "./MaybeModal-
|
|
13
|
+
import { V as useAnalyticsContext, u as useTranslation, B as Button } from "./StoreProvider-BY1HQxMn.js";
|
|
14
|
+
import { L as LoaderWrapper } from "./LoaderWrapper-Dl2oV2v2.js";
|
|
15
|
+
import { M as MaybeModal } from "./MaybeModal-Bk3WmK24.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-DqJ1Ds6F.js";
|
|
18
|
+
import { C as Confirm } from "./Confirm-Ba5lqFqd.js";
|
|
19
|
+
import { S as Summary } from "./Summary-Dt4LcwGJ.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 { bm as StateContext } from "./StoreProvider-
|
|
12
|
+
import { bm as StateContext } from "./StoreProvider-BY1HQxMn.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 { ad as objectsDeepEqual, H as createLogger, as as isEmpty } from "./StoreProvider-
|
|
12
|
-
import { V as ValidationResult } from "./utils-
|
|
13
|
-
import { a as isNotEmptyValidator } from "./commonValidators-
|
|
11
|
+
import { ad as objectsDeepEqual, H as createLogger, as as isEmpty } from "./StoreProvider-BY1HQxMn.js";
|
|
12
|
+
import { V as ValidationResult } from "./utils-DtmnCXcG.js";
|
|
13
|
+
import { a as isNotEmptyValidator } from "./commonValidators-B7eyF3yt.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;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, j as useQuery, m as httpGet } from "./StoreProvider-
|
|
10
|
+
import { b as useApiContext, j as useQuery, m as httpGet } from "./StoreProvider-BY1HQxMn.js";
|
|
11
11
|
const getOnboardingStatus = async (legalEntityId, baseUrl) => {
|
|
12
12
|
return httpGet({
|
|
13
13
|
baseUrl,
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, j as useQuery, al as entriesOf, w as skipToken, ah as Scenarios, m as httpGet } from "./StoreProvider-
|
|
10
|
+
import { b as useApiContext, j as useQuery, al as entriesOf, w as skipToken, ah as Scenarios, m as httpGet } from "./StoreProvider-BY1HQxMn.js";
|
|
11
11
|
const getScenarios = async (legalEntityId, baseUrl, legalEntityType, countryCode) => {
|
|
12
12
|
const scenarioParams = new URLSearchParams({
|
|
13
13
|
...countryCode && { countryCode },
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, j as useQuery, m as httpGet } from "./StoreProvider-
|
|
10
|
+
import { b as useApiContext, j as useQuery, m as httpGet } from "./StoreProvider-BY1HQxMn.js";
|
|
11
11
|
const getTermsOfServiceAcceptanceInfos = async (legalEntityId, baseUrl) => {
|
|
12
12
|
return httpGet({
|
|
13
13
|
baseUrl,
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { H as createLogger, ao as useQueryClient, b as useApiContext, ap as ToastContext } from "./StoreProvider-
|
|
10
|
+
import { H as createLogger, ao as useQueryClient, b as useApiContext, ap as ToastContext } from "./StoreProvider-BY1HQxMn.js";
|
|
11
11
|
import { useCallback, useContext } from "preact/hooks";
|
|
12
12
|
const logger = createLogger();
|
|
13
13
|
const QUERIES_TO_INVALIDATE_WHEN_ROOT_LE_IS_INVALIDATED = [
|
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useMemo } from "preact/hooks";
|
|
11
|
-
import { r as LegalEntityTypes, a9 as getOwnEntityAssociations, c as useLegalEntity, R as ROOT_LE } from "./StoreProvider-
|
|
12
|
-
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-
|
|
11
|
+
import { r as LegalEntityTypes, a9 as getOwnEntityAssociations, c as useLegalEntity, R as ROOT_LE } from "./StoreProvider-BY1HQxMn.js";
|
|
12
|
+
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-BufOLUsc.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-2kWqXhZa.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)
|
|
@@ -7,12 +7,12 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, j as useQuery, m as httpGet, as as isEmpty, u as useTranslation, Z as useExperimentsContext, X as IconButton, am as useMutation, k as httpPost } from "./StoreProvider-
|
|
10
|
+
import { b as useApiContext, j as useQuery, m as httpGet, as as isEmpty, u as useTranslation, Z as useExperimentsContext, X as IconButton, am as useMutation, k as httpPost } from "./StoreProvider-BY1HQxMn.js";
|
|
11
11
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
12
12
|
import { useRef, useMemo, useState, useEffect } from "preact/hooks";
|
|
13
|
-
import { F as Field } from "./Field-
|
|
13
|
+
import { F as Field } from "./Field-BEoeMy3u.js";
|
|
14
14
|
import { L as List } from "./List-BAzyC6sw.js";
|
|
15
|
-
import { S as Select } from "./Select-
|
|
15
|
+
import { S as Select } from "./Select-DglmHz2C.js";
|
|
16
16
|
import { signal } from "@preact/signals";
|
|
17
17
|
const fetchIndustryCodes = async (legalEntityId, baseUrl, businessLineTypes, locale) => {
|
|
18
18
|
const results = await Promise.all(
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, ao as useQueryClient, am as useMutation, k as httpPost } from "./StoreProvider-
|
|
11
|
-
import { a as useInvalidateRootLegalEntity } from "./useToastContext-
|
|
10
|
+
import { b as useApiContext, ao as useQueryClient, am as useMutation, k as httpPost } from "./StoreProvider-BY1HQxMn.js";
|
|
11
|
+
import { a as useInvalidateRootLegalEntity } from "./useToastContext-BG3cHfke.js";
|
|
12
12
|
const updateLegalEntity = async (rootLegalEntityId, baseUrl, data) => {
|
|
13
13
|
return httpPost(
|
|
14
14
|
{
|
|
@@ -7,11 +7,11 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { C as CompanyTypesValues } from "./bafinUtils-
|
|
11
|
-
import { g as getLegalEntityCountry, by as getCapabilities, r as LegalEntityTypes, K as hasOwnEntityAssociationOfType, C as CountryCodes } from "./StoreProvider-
|
|
12
|
-
import { d as allowIndividualWithoutSoleProp } from "./OnboardingDropinComponent-
|
|
13
|
-
import { S as SOLE_PROP_COUNTRIES } from "./rules-
|
|
14
|
-
import { A as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./types-
|
|
10
|
+
import { C as CompanyTypesValues } from "./bafinUtils-BROXAx5r.js";
|
|
11
|
+
import { g as getLegalEntityCountry, by as getCapabilities, r as LegalEntityTypes, K as hasOwnEntityAssociationOfType, C as CountryCodes } from "./StoreProvider-BY1HQxMn.js";
|
|
12
|
+
import { d as allowIndividualWithoutSoleProp } from "./OnboardingDropinComponent-tQW1hXKP.js";
|
|
13
|
+
import { S as SOLE_PROP_COUNTRIES } from "./rules-CovTg5rc.js";
|
|
14
|
+
import { A as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./types-2lh4v1NS.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 { C as CountryCodes } from "./StoreProvider-
|
|
11
|
+
import { C as CountryCodes } from "./StoreProvider-BY1HQxMn.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 { r as LegalEntityTypes, G as Typography } from "./StoreProvider-
|
|
11
|
+
import { r as LegalEntityTypes, G as Typography } from "./StoreProvider-BY1HQxMn.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-tOyK52gO.js";
|
|
14
14
|
const formatCurrency = (amount, currency, locale) => {
|
|
15
15
|
const { format } = new Intl.NumberFormat(
|
|
16
16
|
locale,
|