@adyen/kyc-components 3.93.0-beta.3 → 3.93.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AcceptTermsOfServiceComponent-BORuYoKh.js → AcceptTermsOfServiceComponent-CMudf1Zd.js} +15 -15
- package/dist/{Accordion-BcP1509e.js → Accordion-sjC2ic9o.js} +1 -1
- package/dist/{AccountSetupRejected-CyrHNl_C.js → AccountSetupRejected-CncpaGTO.js} +3 -3
- package/dist/{ActionBar-C2K1XJLW.js → ActionBar-DjsFjykP.js} +1 -1
- package/dist/{Address-BicHlVSb.js → Address-C6DVkZcL.js} +9 -9
- package/dist/{Alert-BhqU9Zsh.js → Alert-D-FgKxmc.js} +2 -2
- package/dist/{Avatar-Dq9CNqTT.js → Avatar-BXJlAa_m.js} +1 -1
- package/dist/{BusinessFinancingComponent-BZmNDLQP.js → BusinessFinancingComponent-BIBLD7if.js} +4 -4
- package/dist/{BusinessFinancingDropin-CRL4qzd2.js → BusinessFinancingDropin-DUPVG0ac.js} +27 -27
- package/dist/{BusinessFinancingPage-M80ajfPC.js → BusinessFinancingPage-Cnkyi_iv.js} +3 -3
- package/dist/{BusinessTypeSelectionPage-FAr1Q4Kl.js → BusinessTypeSelectionPage-CL2iSuLE.js} +8 -8
- package/dist/{Checkbox-Bz4iJzph.js → Checkbox-CEjRzpIP.js} +1 -1
- package/dist/{Confirm-BLwuiqSU.js → Confirm-xO5Yr0Bp.js} +2 -2
- package/dist/{ConstitutionalDocument-T3AyALQD.js → ConstitutionalDocument-BBKeUmtC.js} +17 -17
- package/dist/{ContactDetails-DAW9DhOL.js → ContactDetails-BeEGNrjK.js} +7 -7
- package/dist/{ContextGuidance-BBD7r31R.js → ContextGuidance-BkdCvkro.js} +2 -2
- package/dist/{CountryField-bQmvNm-i.js → CountryField-pbj23eqG.js} +4 -4
- package/dist/{CreateIndividualComponent-C76kKHV7.js → CreateIndividualComponent-BN14wsvP.js} +4 -4
- package/dist/{CreateTransferInstrumentComponent-kwHitA_G.js → CreateTransferInstrumentComponent-DKun_1JG.js} +3 -3
- package/dist/{Currency-DcHiWmY6.js → Currency-BuKwitqQ.js} +6 -6
- package/dist/{CustomerSupport-B68euil9.js → CustomerSupport-BK_OaKRW.js} +10 -10
- package/dist/{DebugModal-s_ALZiB0.js → DebugModal-3ueK1tGl.js} +8 -8
- package/dist/{DecisionMakerDetailsPage-BPK3Enjj.js → DecisionMakerDetailsPage-DiHhMxKc.js} +6 -6
- package/dist/{DecisionMakers-Dj3oQ4Vi.js → DecisionMakers-D8ptIY_S.js} +20 -20
- package/dist/{Dropzone-wTbnv8Yx.js → Dropzone-BAI02vwf.js} +3 -3
- package/dist/{EmbeddedStatus-iDiPii6j.js → EmbeddedStatus-mFb9ozhT.js} +2 -2
- package/dist/{EndStateLayout-CzGfWwK4.js → EndStateLayout-kC48ysnK.js} +1 -1
- package/dist/{EntityAssociation-CNcOdAmf.js → EntityAssociation-BlNKc5SW.js} +5 -5
- package/dist/{EntityGuidanceStatus-CN-C3FNt.js → EntityGuidanceStatus-n2W71Gts.js} +2 -2
- package/dist/{ErrorPanel-DdDlVa5U.js → ErrorPanel-FW37V8f_.js} +2 -2
- package/dist/{Field-D_GI_ScJ.js → Field-Dy-q5CRB.js} +1 -1
- package/dist/{FormNavigation-C4e19J1i.js → FormNavigation-C2Px6-hH.js} +2 -2
- package/dist/{FormWrapper-CkY2po1g.js → FormWrapper-Dc0IK6hk.js} +8 -8
- package/dist/{Header-CFygc76k.js → Header-BjgMqCtO.js} +1 -1
- package/dist/{Image-D358o6Ab.js → Image-AkeY7yyQ.js} +1 -1
- package/dist/{Individual.rules-BFaFQyQ5.js → Individual.rules-CIRdj4rM.js} +5 -5
- package/dist/{IndividualDropin-yLMp6j9e.js → IndividualDropin-D9A2gQhU.js} +52 -52
- package/dist/{InputDate-DWUVHi-_.js → InputDate-Di73YeN7.js} +1 -1
- package/dist/{InputText-m3VobW6P.js → InputText-BAe550-Y.js} +1 -1
- package/dist/{Introduction-DtideCT-.js → Introduction-9UAua8ny.js} +3 -3
- package/dist/{JpAddress-CBSXY74C.js → JpAddress-CzX-4x0r.js} +8 -8
- package/dist/{LandingLayout-DmbPJxyT.js → LandingLayout-DSg_u3kp.js} +1 -1
- package/dist/{LegalRepresentativeDetailsPage-DERTze6c.js → LegalRepresentativeDetailsPage-CepeGeY3.js} +3 -3
- package/dist/{Link-Byj8tYET.js → Link-CfLCIefo.js} +1 -1
- package/dist/{ListItem-CdVib3HX.js → ListItem-BaKatovL.js} +2 -2
- package/dist/{LoaderWrapper-qeXxcDhF.js → LoaderWrapper-Cts9cXUa.js} +1 -1
- package/dist/{ManageIndividualComponent-CzGnr3yx.js → ManageIndividualComponent-C_EH5Vig.js} +4 -4
- package/dist/{ManageTermsOfServiceComponent-CRELhFSp.js → ManageTermsOfServiceComponent-a2WN8S51.js} +3 -3
- package/dist/{ManageTransferInstrumentComponent-CnNRPfk0.js → ManageTransferInstrumentComponent-Bz0RI5-k.js} +11 -11
- package/dist/{MaskedInput-B_K8Xm6P.js → MaskedInput-TmmXvrVs.js} +4 -4
- package/dist/{MaybeModal-Cx5F2lYo.js → MaybeModal-B4I25cx2.js} +2 -2
- package/dist/{Modal-xOB3_CIT.js → Modal-DsEofbSA.js} +1 -1
- package/dist/{Name-JHqNOEOs.js → Name-Gmo-5Bqr.js} +4 -4
- package/dist/{OnboardingDropinComponent-BoTm20zd.js → OnboardingDropinComponent-B-PFBlrP.js} +42 -42
- package/dist/{PayoutDetailsDropin-DNVadi2a.js → PayoutDetailsDropin-m1aKlkrm.js} +40 -40
- package/dist/{RadioGroup-D3mbKttb.js → RadioGroup-YRhJgLUn.js} +1 -1
- package/dist/{RadioGroupCard-BUxW4les.js → RadioGroupCard-CSw-Q3AS.js} +1 -1
- package/dist/{Review-CdnH4nX-.js → Review-Bf_fhmvT.js} +6 -6
- package/dist/{RootBusinessDetailsPage-CWOsESx8.js → RootBusinessDetailsPage-B7mYqkzh.js} +4 -4
- package/dist/{RootBusinessLinesPage-BC2Fe-dS.js → RootBusinessLinesPage-CBT76Jex.js} +22 -22
- package/dist/{RootIndividualDetailsPage-CAI4KaMf.js → RootIndividualDetailsPage-Bn10ChZj.js} +4 -4
- package/dist/{Select-CL85cNQb.js → Select-HYaeyASt.js} +3 -3
- package/dist/{SignPCIComponent-Dw8EjMGu.js → SignPCIComponent-Bk-70qiE.js} +10 -10
- package/dist/{SingpassSelection-BIyncfQe.js → SingpassSelection-DWFCfKWp.js} +5 -5
- package/dist/{SoleProprietorshipPage-BChyrxCI.js → SoleProprietorshipPage-IjH5yPNi.js} +3 -3
- package/dist/{SourceOfFundsPage-keRBb3w_.js → SourceOfFundsPage-Co0-_xzX.js} +30 -30
- package/dist/{StepProgressIndicator-BgOx19pB.js → StepProgressIndicator-Bbwofr0t.js} +1 -1
- package/dist/{StoreProvider-D6UByIpQ.js → StoreProvider-YEGUipRq.js} +4 -4
- package/dist/{Summary-rcGcMgsP.js → Summary-q5A1DaDu.js} +5 -5
- package/dist/{TaskVerificationStatus-DO-XzO77.js → TaskVerificationStatus-LYc1SphW.js} +1 -1
- package/dist/{TaxInformationField-CFy8ODcE.js → TaxInformationField-BgO9VWpf.js} +20 -20
- package/dist/{TaxReportingDropin-WlsO6qm0.js → TaxReportingDropin-DP3XpU3B.js} +15 -15
- package/dist/{TextArea-DVBhISwH.js → TextArea-D1lViRKu.js} +1 -1
- package/dist/{TileGroup-BZFRL8CR.js → TileGroup-C_C30bzD.js} +2 -2
- package/dist/{TrustDetailsPage-BVC-to-d.js → TrustDetailsPage-BSfMU0YT.js} +33 -33
- package/dist/{TrustMemberCompanyPage-BK8RMSDe.js → TrustMemberCompanyPage-DtwGPkqY.js} +4 -4
- package/dist/{TrustMemberIndividualPage-DHh650m3.js → TrustMemberIndividualPage-ex2rpkAe.js} +3 -3
- package/dist/{TrustMemberRoleAndTypePage-Db7WLJjT.js → TrustMemberRoleAndTypePage-CWAfynOq.js} +21 -21
- package/dist/{TrustMembersOverview-DTCXFIC-.js → TrustMembersOverview-BbB0IJts.js} +11 -11
- package/dist/{UnincorporatedPartnershipIndividualPage-C1NHr792.js → UnincorporatedPartnershipIndividualPage-DPH1CF-Y.js} +3 -3
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-BuhpJVLy.js → UnincorporatedPartnershipMemberCompanyPage-BEeP9VgA.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-CdPkXR1_.js → UnincorporatedPartnershipMemberRoleAndTypePage-C2drIpsK.js} +10 -10
- package/dist/{UnincorporatedPartnershipMembersOverview-UXHAulrQ.js → UnincorporatedPartnershipMembersOverview-DTlmitVj.js} +8 -8
- package/dist/{VerificationErrorAlert-DS1Yn2Lw.js → VerificationErrorAlert-STnkmqXM.js} +3 -3
- package/dist/{ViewVerificationStatusComponent-BcQbKwfF.js → ViewVerificationStatusComponent-DFrWb4w0.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-ozYacqyW.js → bafinUtils-D5u2Q3sP.js} +1 -1
- package/dist/{commonValidators-CrqpYx7e.js → commonValidators-Xp2_i3fV.js} +1 -1
- package/dist/{dropinUtils-DwKqfZ1A.js → dropinUtils-C8JolVCN.js} +3 -3
- package/dist/{fieldConfig-BeFZgiBT.js → fieldConfig-DhKu9uvC.js} +5 -5
- package/dist/{formUtils-JX75V0Mz.js → formUtils-b6H7bo93.js} +2 -2
- package/dist/{getName-CSu7324Z.js → getName-B7GLK85C.js} +1 -1
- package/dist/{iframeWidget-X__gFqoJ.js → iframeWidget-D_jSy0Dr.js} +3 -3
- package/dist/{isEmpty-D4RFOGZr.js → isEmpty-Cihu0R9o.js} +1 -1
- package/dist/{japanSupportUtils-P-CjElBp.js → japanSupportUtils-BdfAErog.js} +1 -1
- package/dist/{localizeDateString-BKW4Wc-S.js → localizeDateString-CgaQjcxh.js} +1 -1
- package/dist/{mapExistingFile-BuYyrfdO.js → mapExistingFile-BkYAx_kl.js} +3 -3
- package/dist/{mapJpAddressSchemaToAddressLocalizations-CQnCG6-e.js → mapJpAddressSchemaToAddressLocalizations-B5qq0L3K.js} +4 -4
- package/dist/{mapLegalEntityToIndividualSchema-BpIE3mAi.js → mapLegalEntityToIndividualSchema-BlVuwE9G.js} +3 -3
- package/dist/{mapTransferInstrumentToPayoutAccount-Bm9P-TzW.js → mapTransferInstrumentToPayoutAccount-CCH5t9Mv.js} +1 -1
- package/dist/{patternValidators-D4Qd7iz8.js → patternValidators-CBAdtbkx.js} +1 -1
- package/dist/{process-field-configurations-MdjsSDpj.js → process-field-configurations-BUh-8mae.js} +2 -2
- package/dist/{resolveEnvironment-BMTfmLXO.js → resolveEnvironment-CuY6Nqws.js} +3 -3
- package/dist/{roleMetadata-iTkHPxca.js → roleMetadata-rJyitaSY.js} +1 -1
- package/dist/{types-IEIX6IVi.js → types-DFQuEUfV.js} +1 -1
- package/dist/{types-CpGCs7rW.js → types-DSigzqfS.js} +1 -1
- package/dist/{types-9CBCVCyb.js → types-Dhqy-Af0.js} +1 -1
- package/dist/{useAssociatedLegalEntity-CqP38HcR.js → useAssociatedLegalEntity-h5ma5-Vo.js} +1 -1
- package/dist/{useBusinessDetailsData-BaI4hkBq.js → useBusinessDetailsData-iN0xS5Wd.js} +49 -49
- package/dist/{useCreateLegalEntity-CrnYRoZU.js → useCreateLegalEntity-BWaKnWUz.js} +1 -1
- package/dist/{useDataset-VMgmoaKY.js → useDataset-tV4eDy-F.js} +1 -1
- package/dist/{useForm-PYQmTzM7.js → useForm-C1fOe0m2.js} +2 -2
- package/dist/{useFormContext-B2q5-Bnf.js → useFormContext-kmuj5zs-.js} +6 -6
- package/dist/{useGlobalData-o_IyK59w.js → useGlobalData-BYqUQNJg.js} +1 -1
- package/dist/{useMultiForm-nmBcSMfL.js → useMultiForm-Bl_xtgL5.js} +3 -3
- package/dist/{useOnboardingStatus-C59x7Z_a.js → useOnboardingStatus-NYnHxnQZ.js} +1 -1
- package/dist/{useScenarios-DuRqU_ik.js → useScenarios-C_o86avG.js} +1 -1
- package/dist/{useTermsOfServiceStatus-Day04qKp.js → useTermsOfServiceStatus-BC3q9gh2.js} +1 -1
- package/dist/{useToastContext-B28pxZFd.js → useToastContext-CpA8031K.js} +1 -1
- package/dist/{useUnincorporatedPartnershipMembers-yLGQXtKq.js → useUnincorporatedPartnershipMembers-BiM1tViV.js} +3 -3
- package/dist/{useUpdateBusinessLines-sqplLmG5.js → useUpdateBusinessLines-Bx3E58F0.js} +3 -3
- package/dist/{useUpdateLegalEntity-D6sSf8EA.js → useUpdateLegalEntity-DhMquhhd.js} +2 -2
- package/dist/{utils-BAtArlwu.js → utils-B25Hd8qN.js} +1 -1
- package/dist/{utils-Dhj1ayRz.js → utils-B57SzsP3.js} +1 -1
- package/dist/{utils-FswL_O8y.js → utils-BxqaMM16.js} +1 -1
- package/dist/{utils-CH_40ThY.js → utils-Cvq7mmTk.js} +2 -2
- package/dist/{utils-O4p-0dtC.js → utils-DFJh2jVb.js} +5 -5
- package/dist/{validate-D_xbczqZ.js → validate-Bsk5GxX3.js} +2 -2
- package/dist/{validate-CvNoCwHs.js → validate-DMbFk5A_.js} +1 -1
- package/dist/{validationError-B5bVL3FY.js → validationError-DNOYUd_z.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, C 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, C as CountryCodes } from "./StoreProvider-YEGUipRq.js";
|
|
14
|
+
import { u as useSetting } from "./bafinUtils-D5u2Q3sP.js";
|
|
15
|
+
import { u as useCapabilities } from "./TaxInformationField-BgO9VWpf.js";
|
|
16
|
+
import { i as isEmpty } from "./isEmpty-Cihu0R9o.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 { ag as useI18nContext, P as useAnalyticsContext, x as Typography, B as Button, C as CountryCodes, ap as reverseMapping, b8 as getNomineeFromAssociation, b9 as individualOnfidoBaseMapping, ad as DecisionMakerTypes } from "./StoreProvider-
|
|
11
|
+
import { ag as useI18nContext, P as useAnalyticsContext, x as Typography, B as Button, C as CountryCodes, ap as reverseMapping, b8 as getNomineeFromAssociation, b9 as individualOnfidoBaseMapping, ad as DecisionMakerTypes } from "./StoreProvider-YEGUipRq.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-Dy-q5CRB.js";
|
|
16
|
+
import { T as TileGroup } from "./TileGroup-C_C30bzD.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, bg as crossBorderMapping, bh as payoutComponentKeyMapping } from "./StoreProvider-
|
|
11
|
+
import { b as useApiContext, k as httpGet, bg as crossBorderMapping, bh as payoutComponentKeyMapping } from "./StoreProvider-YEGUipRq.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 { az as hasText, an as isEmpty, ar as matchesRegex, as as NO_ALPHABET_REGEX, at as EMOJI_REGEX, au as hasRepeatedCharacters, b2 as isValidMinLength, av as isInvalidName, bj as OTHER_ENTITIES_VALID_CHAR_REGEX, bk as LATIN_SPACE_MARK_PUNCTUATION_REGEX, aA as standardKatakanaValidator, aB as standardKanjiValidator } from "./StoreProvider-
|
|
10
|
+
import { az as hasText, an as isEmpty, ar as matchesRegex, as as NO_ALPHABET_REGEX, at as EMOJI_REGEX, au as hasRepeatedCharacters, b2 as isValidMinLength, av as isInvalidName, bj as OTHER_ENTITIES_VALID_CHAR_REGEX, bk as LATIN_SPACE_MARK_PUNCTUATION_REGEX, aA as standardKatakanaValidator, aB as standardKanjiValidator } from "./StoreProvider-YEGUipRq.js";
|
|
11
11
|
const validateNotEmptyOnBlur = {
|
|
12
12
|
modes: ["blur"],
|
|
13
13
|
validate: (val) => !isEmpty(val),
|
package/dist/{process-field-configurations-MdjsSDpj.js → process-field-configurations-BUh-8mae.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-AkeY7yyQ.js";
|
|
11
11
|
import { f as formDebugInfo } from "./debugStore-BvbyN1Oi.js";
|
|
12
|
-
import { z as createLogger, b5 as businessDetailsApiKeyMapping, aJ as individualOnfidoApiKeyMapping, b6 as remediationHasFileUploadField, b7 as dataMissingRemediationsToFieldsMap, aG as keysOf } from "./StoreProvider-
|
|
12
|
+
import { z as createLogger, b5 as businessDetailsApiKeyMapping, aJ as individualOnfidoApiKeyMapping, b6 as remediationHasFileUploadField, b7 as dataMissingRemediationsToFieldsMap, aG as keysOf } from "./StoreProvider-YEGUipRq.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] = "3dc7586a-bdf4-4037-bb03-755b88b3746f", e._sentryDebugIdIdentifier = "sentry-dbid-3dc7586a-bdf4-4037-bb03-755b88b3746f");
|
|
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 { al 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 { al 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-YEGUipRq.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.93.0
|
|
138
|
+
/* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.93.0" }),
|
|
139
139
|
/* @__PURE__ */ jsx(
|
|
140
140
|
AnalyticsProvider,
|
|
141
141
|
{
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { bl as TrustMemberGuidanceLabels, a7 as TrustMemberTypes, ad as DecisionMakerTypes } from "./StoreProvider-
|
|
10
|
+
import { bl as TrustMemberGuidanceLabels, a7 as TrustMemberTypes, ad as DecisionMakerTypes } from "./StoreProvider-YEGUipRq.js";
|
|
11
11
|
import { U as UnincorporatedPartnershipMemberTypes } from "./unincorporated-partnership-MeN1dp53.js";
|
|
12
12
|
const roleMetadata = {
|
|
13
13
|
[DecisionMakerTypes.CONTROLLING_PERSON]: {
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { q as LegalEntityTypes, C as CountryCodes } from "./StoreProvider-
|
|
10
|
+
import { q as LegalEntityTypes, C as CountryCodes } from "./StoreProvider-YEGUipRq.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 { C as CountryCodes } from "./StoreProvider-
|
|
10
|
+
import { C as CountryCodes } from "./StoreProvider-YEGUipRq.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 { z as createLogger, c as useLegalEntity } from "./StoreProvider-
|
|
12
|
+
import { z as createLogger, c as useLegalEntity } from "./StoreProvider-YEGUipRq.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, ag as useI18nContext, an as isEmpty, i as isUndefinedOrNull, C as CountryCodes, br as isISIN, B as Button, W as useExperimentsContext, c as useLegalEntity, R as ROOT_LE, aC as useVersionConfiguration, x as Typography, L as Loader, m as useSettingsContext, b as useApiContext, j as httpPost, ai as entriesOf, P as useAnalyticsContext, z as createLogger, K as useAccountHolder, O as TaskTypes, q as LegalEntityTypes, bs as businessDetailsComponentsKeyMapping, bt as solePropBusinessDetailsKeyMapping, aa as objectsDeepEqual, aG as keysOf, bu as solePropBusinessDetailsApiKeyMapping, b5 as businessDetailsApiKeyMapping, aM as filterOutUnwantedAssociationsIfRootLE, aK as drop, a6 as getOwnEntityAssociations, aR as doArraysMatch, bv as solePropBusinessDetailsDocumentMapping, bw 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-Bx3E58F0.js";
|
|
14
|
+
import { u as useTranslation, ag as useI18nContext, an as isEmpty, i as isUndefinedOrNull, C as CountryCodes, br as isISIN, B as Button, W as useExperimentsContext, c as useLegalEntity, R as ROOT_LE, aC as useVersionConfiguration, x as Typography, L as Loader, m as useSettingsContext, b as useApiContext, j as httpPost, ai as entriesOf, P as useAnalyticsContext, z as createLogger, K as useAccountHolder, O as TaskTypes, q as LegalEntityTypes, bs as businessDetailsComponentsKeyMapping, bt as solePropBusinessDetailsKeyMapping, aa as objectsDeepEqual, aG as keysOf, bu as solePropBusinessDetailsApiKeyMapping, b5 as businessDetailsApiKeyMapping, aM as filterOutUnwantedAssociationsIfRootLE, aK as drop, a6 as getOwnEntityAssociations, aR as doArraysMatch, bv as solePropBusinessDetailsDocumentMapping, bw as businessDetailsDocumentMapping } from "./StoreProvider-YEGUipRq.js";
|
|
15
|
+
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-BWaKnWUz.js";
|
|
16
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-DhMquhhd.js";
|
|
17
|
+
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-kmuj5zs-.js";
|
|
18
|
+
import { u as useToastContext } from "./useToastContext-CpA8031K.js";
|
|
19
|
+
import { C as CompanyTypesValues } from "./bafinUtils-D5u2Q3sP.js";
|
|
20
|
+
import { c as composePerScenarioFormConfigurations, g as getPropsFromConfigurations } from "./process-field-configurations-BUh-8mae.js";
|
|
21
|
+
import { a as addValidityToForms, u as useFormComposer } from "./dropinUtils-C8JolVCN.js";
|
|
22
|
+
import { u as useMultiForm } from "./useMultiForm-Bl_xtgL5.js";
|
|
23
|
+
import { u as uppercase, m as mapExistingFile, g as getPageName, b as useScenarioConfiguration } from "./mapExistingFile-BkYAx_kl.js";
|
|
24
|
+
import { C as Confirm } from "./Confirm-xO5Yr0Bp.js";
|
|
25
|
+
import { a as getDocument, j as getDocuments, c as createDocumentRequest, k as mergeProofOfOwnershipAttachments, b as getFileExtention, d as documentApiUtils } from "./validate-Bsk5GxX3.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-BgO9VWpf.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-BBKeUmtC.js";
|
|
28
|
+
import { K as KEYBOARD_KEYS, M as Modal, a as ModalContent } from "./Modal-DsEofbSA.js";
|
|
29
|
+
import { S as SettingNames } from "./TaskVerificationStatus-LYc1SphW.js";
|
|
30
|
+
import { t as toFullWidth, u as useAllowedCountries, m as mapJpAddressSchemaToAddressLocalizations, a as mapJpAddressSummary } from "./mapJpAddressSchemaToAddressLocalizations-B5qq0L3K.js";
|
|
31
|
+
import { g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET, a as getAddressSchemaLabelsByCountry, m as mapAddressLabels, c as getKeyForField } from "./utils-B57SzsP3.js";
|
|
32
|
+
import { o as organizationTypesToSkipCompanyStructureForm } from "./utils-DFJh2jVb.js";
|
|
33
|
+
import { f as formatCurrency, A as ALLOWED_SOF_SERVICES } from "./utils-Cvq7mmTk.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-C6DVkZcL.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-q5A1DaDu.js";
|
|
37
|
+
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-DNOYUd_z.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-BuKwitqQ.js";
|
|
41
|
+
import { i as isEmpty$1 } from "./isEmpty-Cihu0R9o.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-DhKu9uvC.js";
|
|
45
|
+
import { i as useBusinessLines } from "./OnboardingDropinComponent-B-PFBlrP.js";
|
|
46
|
+
import { F as Field } from "./Field-Dy-q5CRB.js";
|
|
47
|
+
import { H as Header } from "./Header-BjgMqCtO.js";
|
|
48
|
+
import { R as RadioGroup } from "./RadioGroup-YRhJgLUn.js";
|
|
49
|
+
import { u as useGlobalDataSlice } from "./useGlobalData-BYqUQNJg.js";
|
|
50
|
+
import { u as useForm } from "./useForm-C1fOe0m2.js";
|
|
51
|
+
import { c as createFormUtils, m as mergeFieldMetadataIntoProps } from "./formUtils-b6H7bo93.js";
|
|
52
|
+
import { c as currencyByCountry } from "./types-Dhqy-Af0.js";
|
|
53
|
+
import { I as InputDate, f as formatDateObj } from "./InputDate-Di73YeN7.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-CEjRzpIP.js";
|
|
56
|
+
import { E as ErrorPanel } from "./ErrorPanel-FW37V8f_.js";
|
|
57
|
+
import { a as validateNotEmptyOnBlur, v as validatePatternOnBlur, b as validateJaKanaLegalCompanyName, c as validateJaHaniLegalCompanyName } from "./patternValidators-CBAdtbkx.js";
|
|
58
|
+
import { M as MaskedInput, m as makeMask, d as alphanumericInputs, b as alphaInputs, n as numericInputs } from "./MaskedInput-TmmXvrVs.js";
|
|
59
|
+
import { i as isCompatibleJapanVersion } from "./japanSupportUtils-BdfAErog.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-CfLCIefo.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-BAe550-Y.js";
|
|
66
|
+
import { C as CountryField, a as COUNTRY_FIELD } from "./CountryField-pbj23eqG.js";
|
|
67
|
+
import { L as LoaderWrapper } from "./LoaderWrapper-Cts9cXUa.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-BaKatovL.js";
|
|
71
|
+
import { a as Alert } from "./Alert-D-FgKxmc.js";
|
|
72
|
+
import { T as TileGroup } from "./TileGroup-C_C30bzD.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-CzX-4x0r.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-YEGUipRq.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 { z as createLogger, ag as useI18nContext } from "./StoreProvider-
|
|
11
|
+
import { z as createLogger, ag as useI18nContext } from "./StoreProvider-YEGUipRq.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 { z as createLogger, an as isEmpty, aR as doArraysMatch } from "./StoreProvider-
|
|
12
|
-
import { V as ValidationResult, o as omitKeys, a as addKeys } from "./utils-
|
|
11
|
+
import { z as createLogger, an as isEmpty, aR as doArraysMatch } from "./StoreProvider-YEGUipRq.js";
|
|
12
|
+
import { V as ValidationResult, o as omitKeys, a as addKeys } from "./utils-B25Hd8qN.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 { P 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 { P as useAnalyticsContext, u as useTranslation, B as Button } from "./StoreProvider-YEGUipRq.js";
|
|
14
|
+
import { L as LoaderWrapper } from "./LoaderWrapper-Cts9cXUa.js";
|
|
15
|
+
import { M as MaybeModal } from "./MaybeModal-B4I25cx2.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-C8JolVCN.js";
|
|
18
|
+
import { C as Confirm } from "./Confirm-xO5Yr0Bp.js";
|
|
19
|
+
import { S as Summary } from "./Summary-q5A1DaDu.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 { ba as StateContext } from "./StoreProvider-
|
|
12
|
+
import { ba as StateContext } from "./StoreProvider-YEGUipRq.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 { aa as objectsDeepEqual, z as createLogger, an as isEmpty } from "./StoreProvider-
|
|
12
|
-
import { V as ValidationResult } from "./utils-
|
|
13
|
-
import { a as isNotEmptyValidator } from "./commonValidators-
|
|
11
|
+
import { aa as objectsDeepEqual, z as createLogger, an as isEmpty } from "./StoreProvider-YEGUipRq.js";
|
|
12
|
+
import { V as ValidationResult } from "./utils-B25Hd8qN.js";
|
|
13
|
+
import { a as isNotEmptyValidator } from "./commonValidators-Xp2_i3fV.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-YEGUipRq.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, ai as entriesOf, ae as Scenarios, k as httpGet } from "./StoreProvider-
|
|
11
|
+
import { b as useApiContext, ai as entriesOf, ae as Scenarios, k as httpGet } from "./StoreProvider-YEGUipRq.js";
|
|
12
12
|
const getScenarios = async (legalEntityId, baseUrl, legalEntityType, countryCode) => {
|
|
13
13
|
const scenarioParams = new URLSearchParams({
|
|
14
14
|
...countryCode && { 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-YEGUipRq.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 { z as createLogger, b as useApiContext, ak as ToastContext } from "./StoreProvider-
|
|
12
|
+
import { z as createLogger, b as useApiContext, ak as ToastContext } from "./StoreProvider-YEGUipRq.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 { q as LegalEntityTypes, a6 as getOwnEntityAssociations, c as useLegalEntity, R as ROOT_LE } from "./StoreProvider-
|
|
12
|
-
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-
|
|
11
|
+
import { q as LegalEntityTypes, a6 as getOwnEntityAssociations, c as useLegalEntity, R as ROOT_LE } from "./StoreProvider-YEGUipRq.js";
|
|
12
|
+
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-h5ma5-Vo.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-B7GLK85C.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, an as isEmpty, u as useTranslation, W as useExperimentsContext, V as IconButton, j as httpPost } from "./StoreProvider-
|
|
11
|
+
import { b as useApiContext, k as httpGet, an as isEmpty, u as useTranslation, W as useExperimentsContext, V as IconButton, j as httpPost } from "./StoreProvider-YEGUipRq.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-Dy-q5CRB.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-HYaeyASt.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-CpA8031K.js";
|
|
12
|
+
import { b as useApiContext, j as httpPost } from "./StoreProvider-YEGUipRq.js";
|
|
13
13
|
const updateLegalEntity = async (rootLegalEntityId, baseUrl, data) => {
|
|
14
14
|
return httpPost(
|
|
15
15
|
{
|
|
@@ -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-YEGUipRq.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 { q as LegalEntityTypes, x as Typography } from "./StoreProvider-
|
|
11
|
+
import { q as LegalEntityTypes, x as Typography } from "./StoreProvider-YEGUipRq.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-CgaQjcxh.js";
|
|
14
14
|
const formatCurrency = (amount, currency, locale) => {
|
|
15
15
|
const { format } = new Intl.NumberFormat(
|
|
16
16
|
locale,
|
|
@@ -7,11 +7,11 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { C as CompanyTypesValues } from "./bafinUtils-
|
|
11
|
-
import { g as getLegalEntityCountry, bo as getCapabilities, q as LegalEntityTypes, H as hasOwnEntityAssociationOfType, C 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-D5u2Q3sP.js";
|
|
11
|
+
import { g as getLegalEntityCountry, bo as getCapabilities, q as LegalEntityTypes, H as hasOwnEntityAssociationOfType, C as CountryCodes } from "./StoreProvider-YEGUipRq.js";
|
|
12
|
+
import { d as allowIndividualWithoutSoleProp } from "./OnboardingDropinComponent-B-PFBlrP.js";
|
|
13
|
+
import { S as SOLE_PROP_COUNTRIES } from "./Individual.rules-CIRdj4rM.js";
|
|
14
|
+
import { A as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./types-DSigzqfS.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, aj as httpDelete, k as httpGet, z as createLogger, ba as StateContext, u as useTranslation, P as useAnalyticsContext, U as Icon, x as Typography, L as Loader, V as IconButton } from "./StoreProvider-
|
|
12
|
-
import { g as getLocalizedIdDocumentTypeOptions } from "./utils-
|
|
11
|
+
import { j as httpPost, aj as httpDelete, k as httpGet, z as createLogger, ba as StateContext, u as useTranslation, P as useAnalyticsContext, U as Icon, x as Typography, L as Loader, V as IconButton } from "./StoreProvider-YEGUipRq.js";
|
|
12
|
+
import { g as getLocalizedIdDocumentTypeOptions } from "./utils-BxqaMM16.js";
|
|
13
13
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
14
14
|
import cx from "classnames";
|
|
15
15
|
import { useEffect } from "preact/hooks";
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { O as TaskTypes, aY as remediationPayoutApiKeyMapping, aZ as remediationBusinessDetailsApiKeyMapping, a_ as remediationIndividualOnfidoApiKeyMapping } from "./StoreProvider-
|
|
10
|
+
import { O as TaskTypes, aY as remediationPayoutApiKeyMapping, aZ as remediationBusinessDetailsApiKeyMapping, a_ as remediationIndividualOnfidoApiKeyMapping } from "./StoreProvider-YEGUipRq.js";
|
|
11
11
|
import { a as assignToProp } from "./utils-DNSfZiio.js";
|
|
12
12
|
const isMaintenanceModeError = (error) => error && typeof error === "object" && "messageCode" in error && error.messageCode === "maintenanceMode";
|
|
13
13
|
const overrideKeyMapping = {
|