@adyen/kyc-components 3.94.0 → 3.94.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-UXDlHmf_.js → AcceptTermsOfServiceComponent-sH4rxSc9.js} +15 -15
- package/dist/{Accordion-DM9qeMoR.js → Accordion-CkNvJ4kT.js} +1 -1
- package/dist/{AccountSetupRejected-DfmKQEp-.js → AccountSetupRejected-Dq_8O0cj.js} +3 -3
- package/dist/{ActionBar-DCKuV5BO.js → ActionBar-DAYW611i.js} +1 -1
- package/dist/{Address-BEUcWe_H.js → Address-BHQeY0gZ.js} +9 -9
- package/dist/{Alert-D9HbhU88.js → Alert-GJQ5T45c.js} +2 -2
- package/dist/{Avatar-C_tjYaBz.js → Avatar-CE3Vdw-a.js} +1 -1
- package/dist/{BusinessFinancingComponent-B5gLGmkK.js → BusinessFinancingComponent-BghSUOhK.js} +4 -4
- package/dist/{BusinessFinancingDropin-BpZKzB71.js → BusinessFinancingDropin-TaNeXvD7.js} +27 -27
- package/dist/{BusinessFinancingPage-CKdy77OK.js → BusinessFinancingPage-DWBB4A7i.js} +3 -3
- package/dist/{BusinessTypeSelectionPage-ClkY9cbT.js → BusinessTypeSelectionPage-Boqvqj4o.js} +8 -8
- package/dist/{Checkbox-BU4IYlt6.js → Checkbox-UmOe8uZC.js} +1 -1
- package/dist/{Confirm-BM1PTsnm.js → Confirm-Cq9502dt.js} +2 -2
- package/dist/{ConstitutionalDocument-D9sPfw_B.js → ConstitutionalDocument-CVfC6g_r.js} +17 -17
- package/dist/{ContactDetails-BRnbG7BX.js → ContactDetails-CSwaBiDA.js} +7 -7
- package/dist/{ContextGuidance-CZGa7C-r.js → ContextGuidance-CYFHnvHY.js} +2 -2
- package/dist/{CountryField-DShqP-Yi.js → CountryField-BmCcBDnB.js} +4 -4
- package/dist/{CreateIndividualComponent-BZ6dd8Bd.js → CreateIndividualComponent-LzwpwYcO.js} +4 -4
- package/dist/{CreateTransferInstrumentComponent-1pjVr_3y.js → CreateTransferInstrumentComponent-DHTBgxQl.js} +3 -3
- package/dist/{Currency-CEtDxV-F.js → Currency-BcqhmK8t.js} +6 -6
- package/dist/{CustomerSupport-gmN79qSl.js → CustomerSupport-BpMbjauY.js} +10 -10
- package/dist/{DebugModal-C3horl0P.js → DebugModal-DAJcN3hx.js} +8 -8
- package/dist/{DecisionMakerDetailsPage-CN1t2Ok6.js → DecisionMakerDetailsPage-B94wh9yj.js} +6 -6
- package/dist/{DecisionMakers-83kflZpA.js → DecisionMakers-Dt-p6zwO.js} +20 -20
- package/dist/{Dropzone-DYIUInYF.js → Dropzone-CNn_hPhi.js} +3 -3
- package/dist/{EmbeddedStatus-BID4yaOx.js → EmbeddedStatus-C2UaHa70.js} +2 -2
- package/dist/{EndStateLayout-Cqmi0QYW.js → EndStateLayout-CZwGX54V.js} +1 -1
- package/dist/{EntityAssociation-jMAjopdW.js → EntityAssociation-CLCJA57v.js} +5 -5
- package/dist/{EntityGuidanceStatus-ek-5IvZb.js → EntityGuidanceStatus-DlZfC9pT.js} +2 -2
- package/dist/{ErrorPanel-ByEaxCQu.js → ErrorPanel-CHLFYAGU.js} +2 -2
- package/dist/{Field-Cp_UOAnA.js → Field-CL2SyUK_.js} +1 -1
- package/dist/{FormNavigation-CttAyMuX.js → FormNavigation-D9AYk5oO.js} +2 -2
- package/dist/{FormWrapper-C8UDjnjQ.js → FormWrapper-Ss3EecNg.js} +8 -8
- package/dist/{Header-CIxJSQWR.js → Header-B8qkYn4f.js} +1 -1
- package/dist/{Image-T-D-HDf5.js → Image-UqgzvUPD.js} +1 -1
- package/dist/{Individual.rules-DEhHxeiv.js → Individual.rules-BY65pZ_4.js} +5 -5
- package/dist/{IndividualDropin-Dz2ooI0s.js → IndividualDropin-C7a9m3jT.js} +52 -52
- package/dist/{InputDate-z9OpUslu.js → InputDate-CasqUcbo.js} +1 -1
- package/dist/{InputText-CBhD5jca.js → InputText-A91_xfE6.js} +1 -1
- package/dist/{Introduction-Bm3kybSH.js → Introduction-B_G2_Ak6.js} +3 -3
- package/dist/{JpAddress-owiNWOqn.js → JpAddress-CzTMoLQZ.js} +8 -8
- package/dist/{LandingLayout-BuBU3Pyb.js → LandingLayout-ChgKjsos.js} +1 -1
- package/dist/{LegalRepresentativeDetailsPage-vS7jAxuO.js → LegalRepresentativeDetailsPage-Bin7luSJ.js} +3 -3
- package/dist/{Link-CIBefZJS.js → Link-CHB5rlk5.js} +1 -1
- package/dist/{ListItem-CnzgA-sH.js → ListItem-90fVUJ3T.js} +2 -2
- package/dist/{LoaderWrapper-CwhIpGKR.js → LoaderWrapper-KayOKxCD.js} +1 -1
- package/dist/{ManageIndividualComponent-CJEqOUgN.js → ManageIndividualComponent-6wZDjWT7.js} +4 -4
- package/dist/{ManageTermsOfServiceComponent-BdiC5Nbd.js → ManageTermsOfServiceComponent-CxT_QZVX.js} +3 -3
- package/dist/{ManageTransferInstrumentComponent-CObC5Uof.js → ManageTransferInstrumentComponent-DUB6tlrd.js} +11 -11
- package/dist/{MaskedInput-BfI4FGAA.js → MaskedInput-Dolhh7yX.js} +4 -4
- package/dist/{MaybeModal-DHcu32Dh.js → MaybeModal-CAurh129.js} +2 -2
- package/dist/{Modal-BKWXTEoU.js → Modal-BMQ9RmbO.js} +1 -1
- package/dist/{Name-BCar2_dk.js → Name-BsvdKyt8.js} +4 -4
- package/dist/{OnboardingDropinComponent-DstStqYS.js → OnboardingDropinComponent-Dv-WP3-3.js} +42 -42
- package/dist/{PayoutDetailsDropin-DSdlqAe2.js → PayoutDetailsDropin-BfJFJiaL.js} +40 -40
- package/dist/{RadioGroup-COsozc9g.js → RadioGroup-B_XR2iwa.js} +1 -1
- package/dist/{RadioGroupCard-xqC3IACY.js → RadioGroupCard-CNjYzk2n.js} +1 -1
- package/dist/{Review-CZwc-DMp.js → Review-BSi6u6dv.js} +6 -6
- package/dist/{RootBusinessDetailsPage-BsAtLAyF.js → RootBusinessDetailsPage-Cz_-Gfr3.js} +4 -4
- package/dist/{RootBusinessLinesPage-BRgtyHFs.js → RootBusinessLinesPage-HOinWNPJ.js} +22 -22
- package/dist/{RootIndividualDetailsPage-C3wTzTp1.js → RootIndividualDetailsPage-CFUZJhpo.js} +4 -4
- package/dist/{Select-DeTBytOH.js → Select-IlZLfi3_.js} +3 -3
- package/dist/{SignPCIComponent-CCGyrXvI.js → SignPCIComponent-gPEfrD4-.js} +10 -10
- package/dist/{SingpassSelection-BumqRwXI.js → SingpassSelection-DOL9BZkp.js} +5 -5
- package/dist/{SoleProprietorshipPage-zgU4q95D.js → SoleProprietorshipPage-CoLrpilH.js} +3 -3
- package/dist/{SourceOfFundsPage-DkjYls-E.js → SourceOfFundsPage-C2PgvSOC.js} +30 -30
- package/dist/{StepProgressIndicator-D8PfKJKf.js → StepProgressIndicator-CtqHOctz.js} +1 -1
- package/dist/{StoreProvider-CsZ-qrGt.js → StoreProvider-CmW2tb7E.js} +4 -4
- package/dist/{Summary-DPm9r7Az.js → Summary-CcBpezVs.js} +5 -5
- package/dist/{TaskVerificationStatus-DrOQToMh.js → TaskVerificationStatus-nanzio9G.js} +1 -1
- package/dist/{TaxInformationField-NI7Hbgov.js → TaxInformationField-B1uanesg.js} +20 -20
- package/dist/{TaxReportingDropin-BBUAxx92.js → TaxReportingDropin-Bc7t_n1I.js} +15 -15
- package/dist/{TextArea-CCjCNpAP.js → TextArea-DVLoRxlf.js} +1 -1
- package/dist/{TileGroup-BhKhvfLz.js → TileGroup-1H0NMYGX.js} +2 -2
- package/dist/{TrustDetailsPage-yOmFcEyO.js → TrustDetailsPage-BUFDsVT-.js} +33 -33
- package/dist/{TrustMemberCompanyPage-DfXulzKv.js → TrustMemberCompanyPage-Bd9nqqyC.js} +4 -4
- package/dist/{TrustMemberIndividualPage-B8tb56n2.js → TrustMemberIndividualPage-BXvYsgC5.js} +3 -3
- package/dist/{TrustMemberRoleAndTypePage-WHu1tc4O.js → TrustMemberRoleAndTypePage-BOhZJ3r5.js} +21 -21
- package/dist/{TrustMembersOverview-BWbGUK3k.js → TrustMembersOverview-CXC3cabX.js} +11 -11
- package/dist/{UnincorporatedPartnershipIndividualPage-DD2dn41k.js → UnincorporatedPartnershipIndividualPage-8caLaWNu.js} +3 -3
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-DsUSSYnI.js → UnincorporatedPartnershipMemberCompanyPage-D6iHHZFJ.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-Ctb0Lz_0.js → UnincorporatedPartnershipMemberRoleAndTypePage-DLQ4tFt5.js} +10 -10
- package/dist/{UnincorporatedPartnershipMembersOverview-B_GJIeZC.js → UnincorporatedPartnershipMembersOverview-B3NSCrqI.js} +8 -8
- package/dist/{VerificationErrorAlert-CCiMqGl8.js → VerificationErrorAlert-DERyL-Ve.js} +3 -3
- package/dist/{ViewVerificationStatusComponent-CICJ6cy4.js → ViewVerificationStatusComponent-BnSQ67x5.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-Ch6rVpGi.js → bafinUtils-4fqP157_.js} +1 -1
- package/dist/{commonValidators-B8wfpMjX.js → commonValidators-B-7epFA5.js} +1 -1
- package/dist/{dropinUtils-B4Vv7_zJ.js → dropinUtils-CIat9gS7.js} +3 -3
- package/dist/{fieldConfig-CMdKt41r.js → fieldConfig-CpHkwYmW.js} +5 -5
- package/dist/{formUtils-q44BTi2U.js → formUtils-CQIwcS8V.js} +2 -2
- package/dist/{getName-BxKx8lLd.js → getName-SMiWFGIc.js} +1 -1
- package/dist/{iframeWidget-iDH8bVr4.js → iframeWidget-Bm64pKZa.js} +3 -3
- package/dist/{isEmpty-BNacTlfR.js → isEmpty-Co3c-R6n.js} +1 -1
- package/dist/{japanSupportUtils-C7aPdWXD.js → japanSupportUtils-DUlZ-afy.js} +1 -1
- package/dist/{localizeDateString-DuTq6aHe.js → localizeDateString-C1oPVqub.js} +1 -1
- package/dist/{mapExistingFile-CGg2sd-T.js → mapExistingFile-6U-l-M8P.js} +3 -3
- package/dist/{mapJpAddressSchemaToAddressLocalizations-BwHU4ZwL.js → mapJpAddressSchemaToAddressLocalizations-BjqUfeDn.js} +4 -4
- package/dist/{mapLegalEntityToIndividualSchema-DzCEngXr.js → mapLegalEntityToIndividualSchema-CEZ_SwAB.js} +3 -3
- package/dist/{mapTransferInstrumentToPayoutAccount-DLHvwig1.js → mapTransferInstrumentToPayoutAccount-BlUZjYuF.js} +1 -1
- package/dist/{patternValidators-CZ5mQeGD.js → patternValidators-BwTbcBai.js} +1 -1
- package/dist/{process-field-configurations-BQY03q4v.js → process-field-configurations-Djws978Q.js} +2 -2
- package/dist/{resolveEnvironment-BEU3VKd8.js → resolveEnvironment-CVu1Sp-Z.js} +3 -3
- package/dist/{roleMetadata-BeJKyoeE.js → roleMetadata-Bet27ep3.js} +1 -1
- package/dist/style.css +5 -5
- package/dist/styles-CLV89_hH.js +5 -5
- package/dist/{types-pKG9olDB.js → types-BByxDB-r.js} +1 -1
- package/dist/{types-BuMuCpsa.js → types-D5soxm6D.js} +1 -1
- package/dist/{types-BY62XJTq.js → types-DodxtkyD.js} +1 -1
- package/dist/{useAssociatedLegalEntity-V0OP9ejx.js → useAssociatedLegalEntity-BiUeJrfT.js} +1 -1
- package/dist/{useBusinessDetailsData-BsXXL7fg.js → useBusinessDetailsData-C_8-0d7Z.js} +49 -49
- package/dist/{useCreateLegalEntity-otpCRCfZ.js → useCreateLegalEntity-BLnPzlKG.js} +1 -1
- package/dist/{useDataset-CvATx7EN.js → useDataset-BZDB4-94.js} +1 -1
- package/dist/{useForm-9nSw9LZY.js → useForm-BVECSHTo.js} +2 -2
- package/dist/{useFormContext-BnlNKQZ7.js → useFormContext-ByLkto9e.js} +6 -6
- package/dist/{useGlobalData-Dy2O7YGk.js → useGlobalData-Ct4ardnB.js} +1 -1
- package/dist/{useMultiForm-CBefohos.js → useMultiForm-CucoFPTP.js} +3 -3
- package/dist/{useOnboardingStatus-CJrlnkvv.js → useOnboardingStatus-DhWqfv4y.js} +1 -1
- package/dist/{useScenarios-CkgrmOF-.js → useScenarios-hJelzilY.js} +1 -1
- package/dist/{useTermsOfServiceStatus-DFLF3xas.js → useTermsOfServiceStatus-B4mDxap_.js} +1 -1
- package/dist/{useToastContext-uSKjdph9.js → useToastContext-DYJr2Yhx.js} +1 -1
- package/dist/{useUnincorporatedPartnershipMembers-BmLKVfkf.js → useUnincorporatedPartnershipMembers-DuucUfhV.js} +3 -3
- package/dist/{useUpdateBusinessLines-BBNXF45E.js → useUpdateBusinessLines-ZSZ-grb3.js} +3 -3
- package/dist/{useUpdateLegalEntity-DHxCVgNk.js → useUpdateLegalEntity-B9jFutW6.js} +2 -2
- package/dist/{utils-ClKogQZa.js → utils-Ag8KeYzT.js} +2 -2
- package/dist/{utils-CIHH_aYF.js → utils-CRq_aSxq.js} +1 -1
- package/dist/{utils-CLLUBF1a.js → utils-DVWo9odT.js} +1 -1
- package/dist/{utils-CIIs2bXi.js → utils-DkuYidIK.js} +1 -1
- package/dist/{utils-5yZQq_bx.js → utils-DkwzPpL2.js} +5 -5
- package/dist/{validate-CLYo0JdH.js → validate-CnZQywR5.js} +2 -2
- package/dist/{validate-BntX2W3B.js → validate-CtBguJTj.js} +1 -1
- package/dist/{validationError-DJ6zTIzv.js → validationError-B7cbiM5j.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-CmW2tb7E.js";
|
|
14
|
+
import { u as useSetting } from "./bafinUtils-4fqP157_.js";
|
|
15
|
+
import { u as useCapabilities } from "./TaxInformationField-B1uanesg.js";
|
|
16
|
+
import { i as isEmpty } from "./isEmpty-Co3c-R6n.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-CmW2tb7E.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-CL2SyUK_.js";
|
|
16
|
+
import { T as TileGroup } from "./TileGroup-1H0NMYGX.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-CmW2tb7E.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-CmW2tb7E.js";
|
|
11
11
|
const validateNotEmptyOnBlur = {
|
|
12
12
|
modes: ["blur"],
|
|
13
13
|
validate: (val) => !isEmpty(val),
|
package/dist/{process-field-configurations-BQY03q4v.js → process-field-configurations-Djws978Q.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-UqgzvUPD.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-CmW2tb7E.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] = "f3f8da61-74e7-485c-aefb-98f860ef0578", e._sentryDebugIdIdentifier = "sentry-dbid-f3f8da61-74e7-485c-aefb-98f860ef0578");
|
|
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-CmW2tb7E.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.
|
|
138
|
+
/* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.94.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-CmW2tb7E.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
|
@@ -3969,15 +3969,15 @@ fieldset {
|
|
|
3969
3969
|
box-shadow: none;
|
|
3970
3970
|
border-color: transparent;
|
|
3971
3971
|
color: var(--adyen-internal-color-label-disabled);
|
|
3972
|
-
|
|
3972
|
+
cursor: default;
|
|
3973
3973
|
}
|
|
3974
3974
|
|
|
3975
3975
|
@media (hover: hover) {
|
|
3976
|
-
.adyen-kyc-card-interactive.adyen-kyc-card-primary:hover {
|
|
3976
|
+
.adyen-kyc-card-interactive.adyen-kyc-card-primary:hover:not(.adyen-kyc-card-interactive:disabled) {
|
|
3977
3977
|
background-color: var(--adyen-internal-color-background-primary-hover);
|
|
3978
3978
|
}
|
|
3979
3979
|
|
|
3980
|
-
.adyen-kyc-card-interactive.adyen-kyc-card-secondary:hover {
|
|
3980
|
+
.adyen-kyc-card-interactive.adyen-kyc-card-secondary:hover:not(.adyen-kyc-card-interactive:disabled) {
|
|
3981
3981
|
background-color: var(--adyen-internal-color-background-secondary-hover);
|
|
3982
3982
|
}
|
|
3983
3983
|
}
|
|
@@ -3986,11 +3986,11 @@ fieldset {
|
|
|
3986
3986
|
outline-color: var(--adyen-internal-focus-ring-color);
|
|
3987
3987
|
}
|
|
3988
3988
|
|
|
3989
|
-
.adyen-kyc-card-interactive.adyen-kyc-card-primary:active {
|
|
3989
|
+
.adyen-kyc-card-interactive.adyen-kyc-card-primary:active:not(.adyen-kyc-card-interactive:disabled) {
|
|
3990
3990
|
background-color: var(--adyen-internal-color-background-primary-active);
|
|
3991
3991
|
}
|
|
3992
3992
|
|
|
3993
|
-
.adyen-kyc-card-interactive.adyen-kyc-card-secondary:active {
|
|
3993
|
+
.adyen-kyc-card-interactive.adyen-kyc-card-secondary:active:not(.adyen-kyc-card-interactive:disabled) {
|
|
3994
3994
|
background-color: var(--adyen-internal-color-background-secondary-active);
|
|
3995
3995
|
}
|
|
3996
3996
|
|
package/dist/styles-CLV89_hH.js
CHANGED
|
@@ -3978,15 +3978,15 @@ fieldset {
|
|
|
3978
3978
|
box-shadow: none;
|
|
3979
3979
|
border-color: transparent;
|
|
3980
3980
|
color: var(--adyen-internal-color-label-disabled);
|
|
3981
|
-
|
|
3981
|
+
cursor: default;
|
|
3982
3982
|
}
|
|
3983
3983
|
|
|
3984
3984
|
@media (hover: hover) {
|
|
3985
|
-
.adyen-kyc-card-interactive.adyen-kyc-card-primary:hover {
|
|
3985
|
+
.adyen-kyc-card-interactive.adyen-kyc-card-primary:hover:not(.adyen-kyc-card-interactive:disabled) {
|
|
3986
3986
|
background-color: var(--adyen-internal-color-background-primary-hover);
|
|
3987
3987
|
}
|
|
3988
3988
|
|
|
3989
|
-
.adyen-kyc-card-interactive.adyen-kyc-card-secondary:hover {
|
|
3989
|
+
.adyen-kyc-card-interactive.adyen-kyc-card-secondary:hover:not(.adyen-kyc-card-interactive:disabled) {
|
|
3990
3990
|
background-color: var(--adyen-internal-color-background-secondary-hover);
|
|
3991
3991
|
}
|
|
3992
3992
|
}
|
|
@@ -3995,11 +3995,11 @@ fieldset {
|
|
|
3995
3995
|
outline-color: var(--adyen-internal-focus-ring-color);
|
|
3996
3996
|
}
|
|
3997
3997
|
|
|
3998
|
-
.adyen-kyc-card-interactive.adyen-kyc-card-primary:active {
|
|
3998
|
+
.adyen-kyc-card-interactive.adyen-kyc-card-primary:active:not(.adyen-kyc-card-interactive:disabled) {
|
|
3999
3999
|
background-color: var(--adyen-internal-color-background-primary-active);
|
|
4000
4000
|
}
|
|
4001
4001
|
|
|
4002
|
-
.adyen-kyc-card-interactive.adyen-kyc-card-secondary:active {
|
|
4002
|
+
.adyen-kyc-card-interactive.adyen-kyc-card-secondary:active:not(.adyen-kyc-card-interactive:disabled) {
|
|
4003
4003
|
background-color: var(--adyen-internal-color-background-secondary-active);
|
|
4004
4004
|
}
|
|
4005
4005
|
|
|
@@ -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-CmW2tb7E.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-CmW2tb7E.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-CmW2tb7E.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-ZSZ-grb3.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-CmW2tb7E.js";
|
|
15
|
+
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-BLnPzlKG.js";
|
|
16
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-B9jFutW6.js";
|
|
17
|
+
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-ByLkto9e.js";
|
|
18
|
+
import { u as useToastContext } from "./useToastContext-DYJr2Yhx.js";
|
|
19
|
+
import { C as CompanyTypesValues } from "./bafinUtils-4fqP157_.js";
|
|
20
|
+
import { c as composePerScenarioFormConfigurations, g as getPropsFromConfigurations } from "./process-field-configurations-Djws978Q.js";
|
|
21
|
+
import { a as addValidityToForms, u as useFormComposer } from "./dropinUtils-CIat9gS7.js";
|
|
22
|
+
import { u as useMultiForm } from "./useMultiForm-CucoFPTP.js";
|
|
23
|
+
import { u as uppercase, m as mapExistingFile, g as getPageName, b as useScenarioConfiguration } from "./mapExistingFile-6U-l-M8P.js";
|
|
24
|
+
import { C as Confirm } from "./Confirm-Cq9502dt.js";
|
|
25
|
+
import { a as getDocument, j as getDocuments, c as createDocumentRequest, k as mergeProofOfOwnershipAttachments, b as getFileExtention, d as documentApiUtils } from "./validate-CnZQywR5.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-B1uanesg.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-CVfC6g_r.js";
|
|
28
|
+
import { K as KEYBOARD_KEYS, M as Modal, a as ModalContent } from "./Modal-BMQ9RmbO.js";
|
|
29
|
+
import { S as SettingNames } from "./TaskVerificationStatus-nanzio9G.js";
|
|
30
|
+
import { t as toFullWidth, u as useAllowedCountries, m as mapJpAddressSchemaToAddressLocalizations, a as mapJpAddressSummary } from "./mapJpAddressSchemaToAddressLocalizations-BjqUfeDn.js";
|
|
31
|
+
import { g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET, a as getAddressSchemaLabelsByCountry, m as mapAddressLabels, c as getKeyForField } from "./utils-DkuYidIK.js";
|
|
32
|
+
import { o as organizationTypesToSkipCompanyStructureForm } from "./utils-DkwzPpL2.js";
|
|
33
|
+
import { f as formatCurrency, A as ALLOWED_SOF_SERVICES } from "./utils-Ag8KeYzT.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-BHQeY0gZ.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-CcBpezVs.js";
|
|
37
|
+
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-B7cbiM5j.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-BcqhmK8t.js";
|
|
41
|
+
import { i as isEmpty$1 } from "./isEmpty-Co3c-R6n.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-CpHkwYmW.js";
|
|
45
|
+
import { i as useBusinessLines } from "./OnboardingDropinComponent-Dv-WP3-3.js";
|
|
46
|
+
import { F as Field } from "./Field-CL2SyUK_.js";
|
|
47
|
+
import { H as Header } from "./Header-B8qkYn4f.js";
|
|
48
|
+
import { R as RadioGroup } from "./RadioGroup-B_XR2iwa.js";
|
|
49
|
+
import { u as useGlobalDataSlice } from "./useGlobalData-Ct4ardnB.js";
|
|
50
|
+
import { u as useForm } from "./useForm-BVECSHTo.js";
|
|
51
|
+
import { c as createFormUtils, m as mergeFieldMetadataIntoProps } from "./formUtils-CQIwcS8V.js";
|
|
52
|
+
import { c as currencyByCountry } from "./types-DodxtkyD.js";
|
|
53
|
+
import { I as InputDate, f as formatDateObj } from "./InputDate-CasqUcbo.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-UmOe8uZC.js";
|
|
56
|
+
import { E as ErrorPanel } from "./ErrorPanel-CHLFYAGU.js";
|
|
57
|
+
import { a as validateNotEmptyOnBlur, v as validatePatternOnBlur, b as validateJaKanaLegalCompanyName, c as validateJaHaniLegalCompanyName } from "./patternValidators-BwTbcBai.js";
|
|
58
|
+
import { M as MaskedInput, m as makeMask, d as alphanumericInputs, b as alphaInputs, n as numericInputs } from "./MaskedInput-Dolhh7yX.js";
|
|
59
|
+
import { i as isCompatibleJapanVersion } from "./japanSupportUtils-DUlZ-afy.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-CHB5rlk5.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-A91_xfE6.js";
|
|
66
|
+
import { C as CountryField, a as COUNTRY_FIELD } from "./CountryField-BmCcBDnB.js";
|
|
67
|
+
import { L as LoaderWrapper } from "./LoaderWrapper-KayOKxCD.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-90fVUJ3T.js";
|
|
71
|
+
import { a as Alert } from "./Alert-GJQ5T45c.js";
|
|
72
|
+
import { T as TileGroup } from "./TileGroup-1H0NMYGX.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-CzTMoLQZ.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-CmW2tb7E.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-CmW2tb7E.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-CmW2tb7E.js";
|
|
12
|
+
import { V as ValidationResult, o as omitKeys, a as addKeys } from "./utils-DVWo9odT.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-CmW2tb7E.js";
|
|
14
|
+
import { L as LoaderWrapper } from "./LoaderWrapper-KayOKxCD.js";
|
|
15
|
+
import { M as MaybeModal } from "./MaybeModal-CAurh129.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-CIat9gS7.js";
|
|
18
|
+
import { C as Confirm } from "./Confirm-Cq9502dt.js";
|
|
19
|
+
import { S as Summary } from "./Summary-CcBpezVs.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-CmW2tb7E.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-CmW2tb7E.js";
|
|
12
|
+
import { V as ValidationResult } from "./utils-DVWo9odT.js";
|
|
13
|
+
import { a as isNotEmptyValidator } from "./commonValidators-B-7epFA5.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-CmW2tb7E.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-CmW2tb7E.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-CmW2tb7E.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-CmW2tb7E.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-CmW2tb7E.js";
|
|
12
|
+
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-BiUeJrfT.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-SMiWFGIc.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-CmW2tb7E.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-CL2SyUK_.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-IlZLfi3_.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-DYJr2Yhx.js";
|
|
12
|
+
import { b as useApiContext, j as httpPost } from "./StoreProvider-CmW2tb7E.js";
|
|
13
13
|
const updateLegalEntity = async (rootLegalEntityId, baseUrl, data) => {
|
|
14
14
|
return httpPost(
|
|
15
15
|
{
|
|
@@ -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-CmW2tb7E.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-C1oPVqub.js";
|
|
14
14
|
const formatCurrency = (amount, currency, locale) => {
|
|
15
15
|
const { format } = new Intl.NumberFormat(
|
|
16
16
|
locale,
|
|
@@ -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-CmW2tb7E.js";
|
|
12
12
|
const addressFields = [
|
|
13
13
|
"address",
|
|
14
14
|
"otherAddressInformation",
|
|
@@ -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-4fqP157_.js";
|
|
11
|
+
import { g as getLegalEntityCountry, br as getCapabilities, t as LegalEntityTypes, v as hasOwnEntityAssociationOfType, a5 as CountryCodes } from "./StoreProvider-CmW2tb7E.js";
|
|
12
|
+
import { d as allowIndividualWithoutSoleProp } from "./OnboardingDropinComponent-Dv-WP3-3.js";
|
|
13
|
+
import { S as SOLE_PROP_COUNTRIES } from "./Individual.rules-BY65pZ_4.js";
|
|
14
|
+
import { A as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./types-BByxDB-r.js";
|
|
15
15
|
const TRUST_COUNTRIES = [CountryCodes.Australia, CountryCodes.NewZealand];
|
|
16
16
|
const BUSINESS_BANK_ACCOUNT_COUNTRIES = [
|
|
17
17
|
CountryCodes.UnitedStates,
|
|
@@ -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-CmW2tb7E.js";
|
|
12
|
+
import { g as getLocalizedIdDocumentTypeOptions } from "./utils-CRq_aSxq.js";
|
|
13
13
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
14
14
|
import cx from "classnames";
|
|
15
15
|
import { useEffect } from "preact/hooks";
|