@adyen/kyc-components 4.4.0-beta.0 → 4.4.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-BNYCiHcM.js → AcceptTermsOfServiceComponent-CtSxtBKi.js} +14 -14
- package/dist/{AccountSetupRejected-CjBJD3co.js → AccountSetupRejected-Izp48yEO.js} +1 -1
- package/dist/{ActionBar-CNo6TTyu.js → ActionBar-Ca6J5mWK.js} +1 -1
- package/dist/{Address-Diyf6D1h.js → Address-D_vmsuPk.js} +9 -9
- package/dist/{Avatar-Brfu-Afq.js → Avatar-CKx8J5lx.js} +1 -1
- package/dist/{BusinessFinancingComponent-CFjqKEuN.js → BusinessFinancingComponent-DaxARiGM.js} +4 -4
- package/dist/{BusinessFinancingDropin-CTIycsy1.js → BusinessFinancingDropin-Dd2HLLMa.js} +26 -26
- package/dist/{BusinessFinancingPage-CgjmgSnX.js → BusinessFinancingPage-BOejVYXh.js} +3 -3
- package/dist/{BusinessTypeSelectionPage-B06fk_Rg.js → BusinessTypeSelectionPage-CTDOUjiA.js} +8 -8
- package/dist/{Checkbox-DNfOluUb.js → Checkbox-RZJnbRBZ.js} +1 -1
- package/dist/{Confirm-DCXKUVXM.js → Confirm-DHTZz6n-.js} +2 -2
- package/dist/{ConstitutionalDocument-Coj5aMaC.js → ConstitutionalDocument-CG6z6hOH.js} +17 -17
- package/dist/{ContactDetails-tXeN2x-X.js → ContactDetails-X7roxa7M.js} +5 -5
- package/dist/{ContextGuidance-BGYRTngC.js → ContextGuidance-DeZxHGha.js} +1 -1
- package/dist/{CountryField-pShtGZpv.js → CountryField-prWQNOFZ.js} +3 -3
- package/dist/{CreateIndividualComponent-abEc0kLX.js → CreateIndividualComponent-Cr5P6AhY.js} +4 -4
- package/dist/{CreateTransferInstrumentComponent-Cg8q2lzu.js → CreateTransferInstrumentComponent-BUzLyFsB.js} +3 -3
- package/dist/{Currency-3KfPJJfd.js → Currency-BCTmbxvQ.js} +6 -6
- package/dist/{CustomerSupport-dXIEfG6m.js → CustomerSupport-BUSF6AeJ.js} +9 -9
- package/dist/{DebugModal-xFsjUBKk.js → DebugModal-DnwBnRrX.js} +6 -6
- package/dist/{DecisionMakerDetailsPage-BdZAgdo_.js → DecisionMakerDetailsPage-l8dykx5K.js} +6 -6
- package/dist/{DecisionMakers-efKmwEH6.js → DecisionMakers-DwsykbVA.js} +18 -18
- package/dist/{Dropzone-BtwqJU5w.js → Dropzone-BpVTBLdK.js} +3 -3
- package/dist/{EmbeddedStatus-Di3lXGXA.js → EmbeddedStatus-CiAT9LVT.js} +2 -2
- package/dist/{EndStateLayout-C63kFcwB.js → EndStateLayout-DmuB86Km.js} +1 -1
- package/dist/{EntityAssociation-Cz6ly5Qe.js → EntityAssociation-B2agfeew.js} +4 -4
- package/dist/{EntityGuidanceStatus-BGC_I-s6.js → EntityGuidanceStatus-ByQeAaJX.js} +3 -3
- package/dist/{ErrorPanel-Bsb874-e.js → ErrorPanel-Dc-0FFlw.js} +1 -1
- package/dist/{Field-nIoNNk_N.js → Field-BCh4RjjH.js} +1 -1
- package/dist/{FormNavigation-9E9YQaln.js → FormNavigation-Dw9vBfOE.js} +2 -2
- package/dist/{FormWrapper-HYumfmvK.js → FormWrapper-DBd93g5-.js} +8 -8
- package/dist/{Individual.rules-DJfPeca6.js → Individual.rules-Df2tyewj.js} +5 -5
- package/dist/{IndividualDropin-FCdKMguU.js → IndividualDropin-ffk4cENA.js} +48 -48
- package/dist/{InputDate-BAWkxli9.js → InputDate-lBYns5ES.js} +1 -1
- package/dist/{InputText-DCNTJXjB.js → InputText-cE4sdkOF.js} +1 -1
- package/dist/{Introduction-zRpWy7HO.js → Introduction-BLHqyzh4.js} +3 -3
- package/dist/{JpAddress-B8_YLYu7.js → JpAddress-DgMxCxUO.js} +8 -8
- package/dist/{LandingLayout-BkwhYMd1.js → LandingLayout-DO4D3GZF.js} +1 -1
- package/dist/{LegalCompanyNameField-Br-bRib5.js → LegalCompanyNameField-C2V3zE5H.js} +5 -5
- package/dist/{LegalRepresentativeDetailsPage-DsfDlsBE.js → LegalRepresentativeDetailsPage-C-fi8ExM.js} +3 -3
- package/dist/{Link-B5DpLekJ.js → Link-C53bmm0L.js} +1 -1
- package/dist/{ListItem-C9ET58aa.js → ListItem-DPoOuxMs.js} +2 -2
- package/dist/{LoaderWrapper-BrMjOh8d.js → LoaderWrapper-CyNmE5d5.js} +1 -1
- package/dist/{ManageIndividualComponent-DNe0RWZb.js → ManageIndividualComponent-D2TaeVp-.js} +4 -4
- package/dist/{ManageTermsOfServiceComponent-Dca8Fs-a.js → ManageTermsOfServiceComponent-B06SqV2S.js} +3 -3
- package/dist/{ManageTransferInstrumentComponent-EZgfMS-6.js → ManageTransferInstrumentComponent-CD5CeLd4.js} +9 -9
- package/dist/{MaskedInput-BcdqJYu3.js → MaskedInput-BiyWZvf9.js} +4 -4
- package/dist/{MaybeModal-BndZ-_x7.js → MaybeModal-CQ9Nwb5m.js} +2 -2
- package/dist/{Modal-DFCycX68.js → Modal-B2axEGgw.js} +1 -1
- package/dist/{Name-TIfffXgJ.js → Name-DF_giEzW.js} +4 -4
- package/dist/{OnboardingDropinComponent-CvE6pJKz.js → OnboardingDropinComponent-JrMNoZpj.js} +83 -75
- package/dist/{PayoutDetailsDropin-fP0XOKYY.js → PayoutDetailsDropin-CiUSUC71.js} +36 -36
- package/dist/{PayoutDetailsPage-Bg4jqe0M.js → PayoutDetailsPage-DqQzTo4c.js} +4 -4
- package/dist/{RadioGroup-sThBOoyi.js → RadioGroup-DoV1tEJl.js} +1 -1
- package/dist/{RadioGroupCard-C6sxs8KI.js → RadioGroupCard-9aQGW7JN.js} +1 -1
- package/dist/{Review-EZfLF4rz.js → Review-ai4kHVX1.js} +5 -5
- package/dist/{RootBusinessDetailsPage-DpdikJPd.js → RootBusinessDetailsPage-DSkrHvsT.js} +4 -4
- package/dist/{RootBusinessLinesPage-C-sZv7m1.js → RootBusinessLinesPage-A0Tr3mxD.js} +22 -22
- package/dist/{RootIndividualDetailsPage-BY5WbcpR.js → RootIndividualDetailsPage-Bq6hAuWB.js} +4 -4
- package/dist/{Select-C90SXgWt.js → Select-DpfHA9OG.js} +3 -3
- package/dist/{SignPCIComponent-BM4bM5lG.js → SignPCIComponent-BQiuhLUm.js} +10 -10
- package/dist/{SingpassSelection-Bf4TJmNp.js → SingpassSelection-DZllhRC7.js} +5 -5
- package/dist/{SoleProprietorshipPage-DuR8s39H.js → SoleProprietorshipPage-dW52UoqY.js} +3 -3
- package/dist/{SourceOfFundsPage-B-4L7Rbi.js → SourceOfFundsPage-CP1y52UZ.js} +29 -29
- package/dist/{StepProgressIndicator-DwIkNQ98.js → StepProgressIndicator-CbH70qse.js} +1 -1
- package/dist/{StoreProvider-OuIcrYXq.js → StoreProvider-mHLtWums.js} +4 -4
- package/dist/{Summary-BdZCrtmA.js → Summary-D-nudpZf.js} +5 -5
- package/dist/{TaxInformationField-CLotsTdy.js → TaxInformationField-b3yhWTWD.js} +18 -18
- package/dist/{TaxReportingDropin-CCjRFYko.js → TaxReportingDropin-B-8GeWGr.js} +13 -13
- package/dist/{TextArea-DggFRd6A.js → TextArea-C0PzOf5N.js} +1 -1
- package/dist/{TileGroup-Chn8t1lL.js → TileGroup-CKUlaXGR.js} +2 -2
- package/dist/{TrustDetailsPage-C61KvX6f.js → TrustDetailsPage-Czk6U1Tc.js} +31 -31
- package/dist/{TrustMemberCompanyPage-CqiLrrtT.js → TrustMemberCompanyPage-DXT3RepM.js} +4 -4
- package/dist/{TrustMemberIndividualPage-DOOv3UCM.js → TrustMemberIndividualPage-DWmPqSUW.js} +3 -3
- package/dist/{TrustMemberRoleAndTypePage-Cil5oL0H.js → TrustMemberRoleAndTypePage-c23IPOaR.js} +20 -20
- package/dist/{TrustMembersOverview-5PfCpnLZ.js → TrustMembersOverview-BRNYhXYG.js} +9 -9
- package/dist/{UnincorporatedPartnershipIndividualPage-Imr8r98E.js → UnincorporatedPartnershipIndividualPage-CZVQg1Lm.js} +3 -3
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-DVn8X5ZA.js → UnincorporatedPartnershipMemberCompanyPage-D3GMfr2u.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-D1ZiUnfd.js → UnincorporatedPartnershipMemberRoleAndTypePage-Dwi-t1pR.js} +10 -10
- package/dist/{UnincorporatedPartnershipMembersOverview-B3hUsoDk.js → UnincorporatedPartnershipMembersOverview-D-hiEWen.js} +6 -6
- package/dist/{VerificationErrorAlert-C-FdjLP6.js → VerificationErrorAlert-Bv13UiEj.js} +2 -2
- package/dist/{ViewVerificationStatusComponent-BrH14DRo.js → ViewVerificationStatusComponent-8v5Nm_wk.js} +2 -2
- 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-invited-decision-maker.js +6 -6
- package/dist/adyen-kyc-components.js +15 -15
- 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-IYWLuHfZ.js → bafinUtils-pwkl8kSq.js} +1 -1
- package/dist/{commonValidators-Bv3KYb4e.js → commonValidators-Q1vH12Fp.js} +1 -1
- package/dist/{dropinUtils-BIMKuwjT.js → dropinUtils-cvPDQGkm.js} +3 -3
- package/dist/{formUtils-BFUZHoQZ.js → formUtils-Cu4r_cE7.js} +2 -2
- package/dist/{getName-B38W_qUJ.js → getName-D92TbZE4.js} +1 -1
- package/dist/{getProblemsForEntity-1vXQVg7Q.js → getProblemsForEntity-Cn6NNpx3.js} +1 -1
- package/dist/{iframeWidget-CjQFGMKX.js → iframeWidget-LYI4Hywy.js} +3 -3
- package/dist/{isEmpty-CsJihz8_.js → isEmpty-BtKNXm_E.js} +1 -1
- package/dist/{japanSupportUtils-Cr3OSFeT.js → japanSupportUtils-Cjg3HGeh.js} +1 -1
- package/dist/{localizeDateString-aLVQhrrE.js → localizeDateString-iKn35I7t.js} +1 -1
- package/dist/{mapExistingFile-CqGVkBAW.js → mapExistingFile-DAKnbl3q.js} +3 -3
- package/dist/{mapJpAddressSchemaToAddressLocalizations-BDUUUodD.js → mapJpAddressSchemaToAddressLocalizations-BwqkpwLG.js} +1 -1
- package/dist/{mapLegalEntityToIndividualSchema-CTNNZ_f2.js → mapLegalEntityToIndividualSchema-DHNvFq3z.js} +3 -3
- package/dist/{mapTransferInstrumentToPayoutAccount-DC5rCBeC.js → mapTransferInstrumentToPayoutAccount-CFiPK7nF.js} +1 -1
- package/dist/{patternValidators-re9oGFvp.js → patternValidators-DHivz8FR.js} +1 -1
- package/dist/{process-field-configurations-BLwIIYnH.js → process-field-configurations-TVQJVhh6.js} +1 -1
- package/dist/{resolveEnvironment-CfoOtzJq.js → resolveEnvironment-DRIoWKkq.js} +3 -3
- package/dist/{roleMetadata-DYV3rdBn.js → roleMetadata-23PazJen.js} +2 -2
- package/dist/{types-uVH7U0h2.js → types-CCxHnxb7.js} +1 -1
- package/dist/{types-C-ztKw54.js → types-DW90uFG-.js} +1 -1
- package/dist/{types-g6JPEyyN.js → types-s-Q2XpkZ.js} +1 -1
- package/dist/{unincorporated-partnership-Hoe7PA91.js → unincorporated-partnership-DPbAzJDe.js} +1 -1
- package/dist/{useAssociatedLegalEntity-ucvdLTGT.js → useAssociatedLegalEntity-BEuHjBZz.js} +1 -1
- package/dist/{useBusinessDetailsData-CxXKyGeU.js → useBusinessDetailsData-BO8XWfJZ.js} +47 -47
- package/dist/{useCreateLegalEntity-Bk61sk7s.js → useCreateLegalEntity-Bk8GSKP1.js} +1 -1
- package/dist/{useForm-DQH4mGUZ.js → useForm-vad8DlLx.js} +2 -2
- package/dist/{useFormContext-ZCKflTK_.js → useFormContext-B5QKkdAI.js} +6 -6
- package/dist/{useGlobalData-Byz86Dwm.js → useGlobalData-Btrs_29g.js} +1 -1
- package/dist/{useMultiForm-h2cXm0Wp.js → useMultiForm-cC2wlHNB.js} +3 -3
- package/dist/{useOnboardingStatus-CrRySsUj.js → useOnboardingStatus-V-UqaVrD.js} +1 -1
- package/dist/{useScenarios-DZTIxRUa.js → useScenarios-BbG9i_sD.js} +1 -1
- package/dist/{useTermsOfServiceStatus-D7U4ZvId.js → useTermsOfServiceStatus-QeWE09L-.js} +1 -1
- package/dist/{useToastContext-B6kjomhG.js → useToastContext-wDfBfnfF.js} +1 -1
- package/dist/{useUnincorporatedPartnershipMembers-DFI414tD.js → useUnincorporatedPartnershipMembers-qPE2KPx9.js} +4 -4
- package/dist/{useUpdateBusinessLines-DwvzXYBi.js → useUpdateBusinessLines-Dt0n6cQU.js} +3 -3
- package/dist/{useUpdateLegalEntity-C6sJWLoQ.js → useUpdateLegalEntity-DZgtsmFg.js} +2 -2
- package/dist/{utils-Dc5iJioT.js → utils-CXINiC_b.js} +1 -1
- package/dist/{utils-b2XySOaT.js → utils-Cg8MDRUC.js} +1 -1
- package/dist/{utils-B_vtlCcH.js → utils-DvL1qQJh.js} +2 -2
- package/dist/{utils-B4lHukc_.js → utils-JAP5Kj4w.js} +5 -5
- package/dist/{utils-DppirtL5.js → utils-t9bNKGqn.js} +1 -1
- package/dist/{validate-QeOupYto.js → validate-CkFqyHrv.js} +2 -2
- package/dist/{validate-Bb8eQLcr.js → validate-DmrKFNZ-.js} +1 -1
- package/dist/{validationError-YeKQde9b.js → validationError-BZEfEJF0.js} +1 -1
- package/package.json +1 -1
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { useRef } from "preact/hooks";
|
|
12
12
|
import register from "preact-custom-element";
|
|
13
|
-
import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-
|
|
14
|
-
import { AcceptTermsOfServiceComponent } from "./AcceptTermsOfServiceComponent-
|
|
13
|
+
import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-DRIoWKkq.js";
|
|
14
|
+
import { AcceptTermsOfServiceComponent } from "./AcceptTermsOfServiceComponent-CtSxtBKi.js";
|
|
15
15
|
import { e as emitAdyenSdkEvent } from "./emitEvent-CzZf80Am.js";
|
|
16
16
|
const AdyenTermsOfService = ({
|
|
17
17
|
rootlegalentityid,
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { useRef } from "preact/hooks";
|
|
12
12
|
import register from "preact-custom-element";
|
|
13
|
-
import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-
|
|
14
|
-
import { M as ManageTermsOfServiceComponent } from "./ManageTermsOfServiceComponent-
|
|
13
|
+
import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-DRIoWKkq.js";
|
|
14
|
+
import { M as ManageTermsOfServiceComponent } from "./ManageTermsOfServiceComponent-B06SqV2S.js";
|
|
15
15
|
import { e as emitAdyenSdkEvent } from "./emitEvent-CzZf80Am.js";
|
|
16
16
|
const AdyenManageTermsOfService = ({
|
|
17
17
|
rootlegalentityid,
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { useRef } from "preact/hooks";
|
|
12
12
|
import register from "preact-custom-element";
|
|
13
|
-
import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-
|
|
14
|
-
import { C as CreateTransferInstrumentComponent } from "./CreateTransferInstrumentComponent-
|
|
13
|
+
import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-DRIoWKkq.js";
|
|
14
|
+
import { C as CreateTransferInstrumentComponent } from "./CreateTransferInstrumentComponent-BUzLyFsB.js";
|
|
15
15
|
import { e as emitAdyenSdkEvent } from "./emitEvent-CzZf80Am.js";
|
|
16
16
|
const AdyenTransferInstrument = ({
|
|
17
17
|
rootlegalentityid,
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { useRef } from "preact/hooks";
|
|
12
12
|
import register from "preact-custom-element";
|
|
13
|
-
import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-
|
|
14
|
-
import { M as ManageTransferInstrumentComponent } from "./ManageTransferInstrumentComponent-
|
|
13
|
+
import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-DRIoWKkq.js";
|
|
14
|
+
import { M as ManageTransferInstrumentComponent } from "./ManageTransferInstrumentComponent-CD5CeLd4.js";
|
|
15
15
|
import { e as emitAdyenSdkEvent } from "./emitEvent-CzZf80Am.js";
|
|
16
16
|
const AdyenManageTransferInstruments = ({
|
|
17
17
|
rootlegalentityid,
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { useRef } from "preact/hooks";
|
|
12
12
|
import register from "preact-custom-element";
|
|
13
|
-
import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-
|
|
14
|
-
import { V as ViewVerificationStatusComponent } from "./ViewVerificationStatusComponent-
|
|
13
|
+
import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-DRIoWKkq.js";
|
|
14
|
+
import { V as ViewVerificationStatusComponent } from "./ViewVerificationStatusComponent-8v5Nm_wk.js";
|
|
15
15
|
import { e as emitAdyenSdkEvent } from "./emitEvent-CzZf80Am.js";
|
|
16
16
|
const AdyenVerificationStatus = ({
|
|
17
17
|
rootlegalentityid,
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { as as DecisionMakerTypes, y as TaskTypes, at as Scenarios } from "./StoreProvider-
|
|
10
|
+
import { as as DecisionMakerTypes, y as TaskTypes, at as Scenarios } from "./StoreProvider-mHLtWums.js";
|
|
11
11
|
import { signal, computed } from "@preact/signals";
|
|
12
12
|
const CompanyTypesValues = {
|
|
13
13
|
PRIVATE_COMPANY: "privateCompany",
|
|
@@ -8,11 +8,11 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useState, useEffect, useMemo } from "preact/hooks";
|
|
11
|
-
import { z as useAnalyticsContext, m as createLogger } from "./StoreProvider-
|
|
12
|
-
import { s as summaryStep } from "./Summary-
|
|
11
|
+
import { z as useAnalyticsContext, m as createLogger } from "./StoreProvider-mHLtWums.js";
|
|
12
|
+
import { s as summaryStep } from "./Summary-D-nudpZf.js";
|
|
13
13
|
import { t as trackNavigation } from "./trackNavigation-db_h46BT.js";
|
|
14
14
|
import { jsx } from "preact/jsx-runtime";
|
|
15
|
-
import { F as FormRouterContext } from "./ErrorPanel-
|
|
15
|
+
import { F as FormRouterContext } from "./ErrorPanel-Dc-0FFlw.js";
|
|
16
16
|
import { f as formDebugInfo } from "./debugStore-BvbyN1Oi.js";
|
|
17
17
|
const getOpeningStep = (forms, remediationActions) => {
|
|
18
18
|
if (remediationActions && Object.keys(remediationActions).length > 0) {
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { g as getDataByFields } from "./utils-
|
|
11
|
-
import { ao as entriesOf } from "./StoreProvider-
|
|
10
|
+
import { g as getDataByFields } from "./utils-Cg8MDRUC.js";
|
|
11
|
+
import { ao as entriesOf } from "./StoreProvider-mHLtWums.js";
|
|
12
12
|
const createFormUtils = (props, t) => ({
|
|
13
13
|
getLabel: (field, fallbackLabelKey) => {
|
|
14
14
|
let translationKey = props.labels?.[field] ?? fallbackLabelKey ?? field;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { L as LegalEntityTypes, ad as getOwnEntityAssociations } from "./StoreProvider-
|
|
10
|
+
import { L as LegalEntityTypes, ad as getOwnEntityAssociations } from "./StoreProvider-mHLtWums.js";
|
|
11
11
|
const getIndividualLegalEntityName = (legalEntityResponse) => {
|
|
12
12
|
if (!legalEntityResponse || !legalEntityResponse?.individual) return "";
|
|
13
13
|
return `${legalEntityResponse.individual?.name?.firstName ?? ""} ${legalEntityResponse.individual?.name?.lastName ?? ""}`;
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useMemo } from "preact/hooks";
|
|
11
|
-
import { R as useLegalEntity, U as ROOT_LE, ak as getCapabilityProblems, a9 as getLegalEntityCountry } from "./StoreProvider-
|
|
11
|
+
import { R as useLegalEntity, U as ROOT_LE, ak as getCapabilityProblems, a9 as getLegalEntityCountry } from "./StoreProvider-mHLtWums.js";
|
|
12
12
|
const useCapabilityProblems = () => {
|
|
13
13
|
const { data: rootLegalEntity } = useLegalEntity(ROOT_LE);
|
|
14
14
|
const problems = useMemo(
|
|
@@ -7,10 +7,10 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { an as cloneObject, m as createLogger, br as isString, h as httpPost } from "./StoreProvider-
|
|
11
|
-
import { i as isValueObscured } from "./MaskedInput-
|
|
10
|
+
import { an as cloneObject, m as createLogger, br as isString, h as httpPost } from "./StoreProvider-mHLtWums.js";
|
|
11
|
+
import { i as isValueObscured } from "./MaskedInput-BiyWZvf9.js";
|
|
12
12
|
import { g as getProp, d as deleteProp } from "./utils-DNSfZiio.js";
|
|
13
|
-
import { A as AdyenKycSdkError } from "./mapExistingFile-
|
|
13
|
+
import { A as AdyenKycSdkError } from "./mapExistingFile-DAKnbl3q.js";
|
|
14
14
|
const omitObscuredFieldsIfUnchanged = (obscuredFields, dataSubmitted, savedData) => {
|
|
15
15
|
if (!dataSubmitted) {
|
|
16
16
|
return;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { aS as keysOf } from "./StoreProvider-
|
|
10
|
+
import { aS as keysOf } from "./StoreProvider-mHLtWums.js";
|
|
11
11
|
const isEmpty = (obj, ignoreEmptyProperties = true) => {
|
|
12
12
|
if (obj === null || obj === void 0) return true;
|
|
13
13
|
if (Array.isArray(obj)) return obj.length === 0;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { aa as CountryCodes } from "./StoreProvider-
|
|
10
|
+
import { aa as CountryCodes } from "./StoreProvider-mHLtWums.js";
|
|
11
11
|
const isJapanLocalizationEnabled = (isExperimentEnabled = () => false, country) => {
|
|
12
12
|
return country === CountryCodes.Japan && isExperimentEnabled("EnableJapanLocalization");
|
|
13
13
|
};
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { m as createLogger } from "./StoreProvider-
|
|
10
|
+
import { m as createLogger } from "./StoreProvider-mHLtWums.js";
|
|
11
11
|
const localizeDateString = (dateString, locale, options) => {
|
|
12
12
|
const logger = createLogger();
|
|
13
13
|
const formatOptions = {
|
|
@@ -8,13 +8,13 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useEffect, useState, useMemo } from "preact/hooks";
|
|
11
|
-
import { u as useScenarios } from "./useScenarios-
|
|
12
|
-
import { aa as CountryCodes, m as createLogger, u as useTranslation, B as Icon } from "./StoreProvider-
|
|
11
|
+
import { u as useScenarios } from "./useScenarios-BbG9i_sD.js";
|
|
12
|
+
import { aa as CountryCodes, m as createLogger, u as useTranslation, B as Icon } from "./StoreProvider-mHLtWums.js";
|
|
13
13
|
import { signal } from "@preact/signals";
|
|
14
14
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
15
15
|
import cx from "classnames";
|
|
16
16
|
import { lazy } from "preact/compat";
|
|
17
|
-
import { I as Image } from "./unincorporated-partnership-
|
|
17
|
+
import { I as Image } from "./unincorporated-partnership-DPbAzJDe.js";
|
|
18
18
|
class AdyenKycSdkError extends Error {
|
|
19
19
|
sourceError;
|
|
20
20
|
constructor(message, sourceError) {
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { s as summaryItem } from "./summaryItem-CAQCQSkt.js";
|
|
12
|
-
import { i as isEmpty } from "./isEmpty-
|
|
12
|
+
import { i as isEmpty } from "./isEmpty-BtKNXm_E.js";
|
|
13
13
|
import { m as mapSchemaFieldsToApiScriptLocalization } from "./mapAddressLocalizationToJpAddressSchema-vJWbpAyq.js";
|
|
14
14
|
const mapJpAddressSummary = (data, datasetUtils) => {
|
|
15
15
|
if (!data) return {};
|
|
@@ -8,12 +8,12 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { signal } from "@preact/signals";
|
|
11
|
-
import { u as useTranslation, z as useAnalyticsContext, O as Typography, W as Button, aa as CountryCodes, az as reverseMapping, bn as getNomineeFromAssociation, bo as individualBaseMapping, as as DecisionMakerTypes } from "./StoreProvider-
|
|
11
|
+
import { u as useTranslation, z as useAnalyticsContext, O as Typography, W as Button, aa as CountryCodes, az as reverseMapping, bn as getNomineeFromAssociation, bo as individualBaseMapping, as as DecisionMakerTypes } from "./StoreProvider-mHLtWums.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-BCh4RjjH.js";
|
|
16
|
+
import { T as TileGroup } from "./TileGroup-CKUlaXGR.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, j as httpGet, bv as crossBorderMapping, bw as payoutComponentKeyMapping } from "./StoreProvider-
|
|
11
|
+
import { b as useApiContext, j as httpGet, bv as crossBorderMapping, bw as payoutComponentKeyMapping } from "./StoreProvider-mHLtWums.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 { aK as hasText, ax as isEmpty, aC as matchesRegex, aD as NO_ALPHABET_REGEX, aE as EMOJI_REGEX, aF as hasRepeatedCharacters, bg as isValidMinLength, aG as isInvalidName, bx as OTHER_ENTITIES_VALID_CHAR_REGEX, by as LATIN_SPACE_MARK_PUNCTUATION_NUMBERS_REGEX, aL as standardKatakanaValidator, aM as standardKanjiValidator } from "./StoreProvider-
|
|
10
|
+
import { aK as hasText, ax as isEmpty, aC as matchesRegex, aD as NO_ALPHABET_REGEX, aE as EMOJI_REGEX, aF as hasRepeatedCharacters, bg as isValidMinLength, aG as isInvalidName, bx as OTHER_ENTITIES_VALID_CHAR_REGEX, by as LATIN_SPACE_MARK_PUNCTUATION_NUMBERS_REGEX, aL as standardKatakanaValidator, aM as standardKanjiValidator } from "./StoreProvider-mHLtWums.js";
|
|
11
11
|
const validateNotEmptyOnBlur = {
|
|
12
12
|
modes: ["blur"],
|
|
13
13
|
validate: (val) => !isEmpty(val),
|
package/dist/{process-field-configurations-BLwIIYnH.js → process-field-configurations-TVQJVhh6.js}
RENAMED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { T as TrustedFieldsProviders } from "./trusted-fields-provider-BgfIoSNJ.js";
|
|
11
11
|
import { f as formDebugInfo } from "./debugStore-BvbyN1Oi.js";
|
|
12
|
-
import { m as createLogger, bl as businessDetailsApiKeyMapping, aW as individualApiKeyMapping, b9 as remediationHasFileUploadField, bm as dataMissingRemediationsToFieldsMap, aS as keysOf } from "./StoreProvider-
|
|
12
|
+
import { m as createLogger, bl as businessDetailsApiKeyMapping, aW as individualApiKeyMapping, b9 as remediationHasFileUploadField, bm as dataMissingRemediationsToFieldsMap, aS as keysOf } from "./StoreProvider-mHLtWums.js";
|
|
13
13
|
const linkedFieldsMap = {
|
|
14
14
|
"additionalInformation.vatNumber": [
|
|
15
15
|
"additionalInformation.exemptedFromVat",
|
|
@@ -2,13 +2,13 @@
|
|
|
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] = "84c5778c-a9d1-4b17-83df-9b7bd6bbe643", e._sentryDebugIdIdentifier = "sentry-dbid-84c5778c-a9d1-4b17-83df-9b7bd6bbe643");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { av as refreshSession, W as Button, V as Loader, S as SettingsProvider, Q as QueryClientProvider, A as ApiProvider, E as ExperimentsContextProvider, c as StoreProvider, d as AnalyticsProvider, I as I18nProvider, e as AllowedCountryGate, D as DebugListener, T as ToastContextProvider, f as StateProvider, g as setSdkTokenHandler, n as normalizeEnvironment } from "./StoreProvider-
|
|
11
|
+
import { av as refreshSession, W as Button, V as Loader, S as SettingsProvider, Q as QueryClientProvider, A as ApiProvider, E as ExperimentsContextProvider, c as StoreProvider, d as AnalyticsProvider, I as I18nProvider, e as AllowedCountryGate, D as DebugListener, T as ToastContextProvider, f as StateProvider, g as setSdkTokenHandler, n as normalizeEnvironment } from "./StoreProvider-mHLtWums.js";
|
|
12
12
|
import { useState, useEffect } from "preact/hooks";
|
|
13
13
|
const sheet = new CSSStyleSheet();
|
|
14
14
|
const stylesheets = [sheet];
|
|
@@ -56,7 +56,7 @@ const EmbedShell = ({
|
|
|
56
56
|
experiments,
|
|
57
57
|
refreshExperiments,
|
|
58
58
|
children: /* @__PURE__ */ jsxs(StoreProvider, { children: [
|
|
59
|
-
/* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "4.4.0
|
|
59
|
+
/* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "4.4.0" }),
|
|
60
60
|
/* @__PURE__ */ jsx(
|
|
61
61
|
AnalyticsProvider,
|
|
62
62
|
{
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { bz as TrustMemberGuidanceLabels, ae as TrustMemberTypes, as as DecisionMakerTypes } from "./StoreProvider-
|
|
11
|
-
import { U as UnincorporatedPartnershipMemberTypes } from "./unincorporated-partnership-
|
|
10
|
+
import { bz as TrustMemberGuidanceLabels, ae as TrustMemberTypes, as as DecisionMakerTypes } from "./StoreProvider-mHLtWums.js";
|
|
11
|
+
import { U as UnincorporatedPartnershipMemberTypes } from "./unincorporated-partnership-DPbAzJDe.js";
|
|
12
12
|
const roleMetadata = {
|
|
13
13
|
[DecisionMakerTypes.CONTROLLING_PERSON]: {
|
|
14
14
|
name: "controllingPerson",
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { aa as CountryCodes } from "./StoreProvider-
|
|
10
|
+
import { aa as CountryCodes } from "./StoreProvider-mHLtWums.js";
|
|
11
11
|
import { C as Currencies } from "./currency-CrdnaaDu.js";
|
|
12
12
|
const currencyByCountry = {
|
|
13
13
|
[CountryCodes.Australia]: [Currencies.AUD],
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { L as LegalEntityTypes, aa as CountryCodes } from "./StoreProvider-
|
|
10
|
+
import { L as LegalEntityTypes, aa as CountryCodes } from "./StoreProvider-mHLtWums.js";
|
|
11
11
|
const trustMemberLegalEntityTypes = [
|
|
12
12
|
LegalEntityTypes.INDIVIDUAL,
|
|
13
13
|
LegalEntityTypes.ORGANIZATION
|
package/dist/{unincorporated-partnership-Hoe7PA91.js → unincorporated-partnership-DPbAzJDe.js}
RENAMED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { Suspense } from "preact/compat";
|
|
12
|
-
import { V as Loader } from "./StoreProvider-
|
|
12
|
+
import { V as Loader } from "./StoreProvider-mHLtWums.js";
|
|
13
13
|
const Image = ({
|
|
14
14
|
lazyLoadedImage,
|
|
15
15
|
className
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { skipToken } from "@tanstack/preact-query";
|
|
11
11
|
import { useMemo } from "preact/hooks";
|
|
12
|
-
import { m as createLogger, R as useLegalEntity } from "./StoreProvider-
|
|
12
|
+
import { m as createLogger, R as useLegalEntity } from "./StoreProvider-mHLtWums.js";
|
|
13
13
|
const logger = createLogger();
|
|
14
14
|
function useAssociatedLegalEntity(parentLegalEntity, associationType) {
|
|
15
15
|
const matchingAssociation = useMemo(() => {
|
|
@@ -10,63 +10,63 @@
|
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useMutation, useQuery, skipToken, useQueryClient } from "@tanstack/preact-query";
|
|
12
12
|
import { useState, useMemo, useEffect, useRef, useCallback } 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 useScenarios } from "./useScenarios-
|
|
15
|
-
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-
|
|
16
|
-
import { u as useToastContext, a as useInvalidateRootLegalEntity } from "./useToastContext-
|
|
17
|
-
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
18
|
-
import { u as useTranslation, bH as isISIN, W as Button, J as useExperimentsContext, R as useLegalEntity, U as ROOT_LE, am as datasetUtilities, aB as Header, O as Typography, V as Loader, aa as CountryCodes, k as useSettingsContext, aN as useAllowedCountries, b as useApiContext, h as httpPost, P as StackLayout, G as Alert, ao as entriesOf, z as useAnalyticsContext, m as createLogger, v as useAccountHolder, ax as isEmpty, i as isUndefinedOrNull, y as TaskTypes, L as LegalEntityTypes, bI as businessDetailsComponentsKeyMapping, bJ as solePropBusinessDetailsKeyMapping, ah as objectsDeepEqual, aS as keysOf, bK as solePropBusinessDetailsApiKeyMapping, bl as businessDetailsApiKeyMapping, at as Scenarios, aZ as filterOutUnwantedAssociationsIfRootLE, aX as drop, ad as getOwnEntityAssociations, b2 as doArraysMatch, bL as solePropBusinessDetailsDocumentMapping, bM as businessDetailsDocumentMapping } from "./StoreProvider-
|
|
19
|
-
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-
|
|
20
|
-
import { C as CompanyTypesValues } from "./bafinUtils-
|
|
21
|
-
import { c as composePerScenarioFormConfigurations, g as getPropsFromConfigurations } from "./process-field-configurations-
|
|
22
|
-
import { a as addValidityToForms, u as useFormComposer } from "./dropinUtils-
|
|
23
|
-
import { u as useMultiForm } from "./useMultiForm-
|
|
24
|
-
import { u as uppercase, m as mapExistingFile, g as getPageName, b as useScenarioConfiguration } from "./mapExistingFile-
|
|
25
|
-
import { C as Confirm } from "./Confirm-
|
|
26
|
-
import { a as getDocument, j as getDocuments, c as createDocumentRequest, k as mergeProofOfOwnershipAttachments, b as getFileExtention, d as documentApiUtils } from "./validate-
|
|
27
|
-
import { d as TAX_INFORMATION_FIELD, r as requestingBanking, e as requestingIssuing, t as taxInformationDefaultFieldMetadata, a as taxInformationDefaultFieldConfig, T as TaxInformationField, C as COUNTRY_OF_GOVERNING_LAW_POSSIBLE, f as getTaxInformationPlaceholderText, S as StateCodesUS, h as isUsingCompanySearch, M as MemoizedDocumentUpload, j as getCompanyRegistrationNumberOptions, k as countryToTaxInfoTypeMap, l as isRegistrationNumberAbsentStateV4Scenario, m as getTaxIdNumberOptions, n as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, o as rules, g as getFieldsWithExistingData } from "./TaxInformationField-
|
|
28
|
-
import { u as usePageLandedEvent, s as summaryStep } from "./Summary-
|
|
29
|
-
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, a as defaultFieldConfig, b as registrationNumberDefaultFieldMetadata, c as registrationNumberDefaultFieldConfig, e as doingBusinessAsFieldMetadata, f as doingBusinessAsAbsentFieldMetadata, g as DBANameField, h as BusinessRegistrationNumberField, i as getRegistrationNumberHelperText, j as VatNumberField, M as MemoizedConstitutionalDocument, k as getDefaultRegistrationNumberType, l as getDefaultVatNumberType, m as inferCompanyRegistrationNumberType, n as exemptFromRegistrationNumberDefaultFieldMetadata } from "./ConstitutionalDocument-
|
|
30
|
-
import { K as KEYBOARD_KEYS, M as Modal, a as ModalContent } from "./Modal-
|
|
31
|
-
import { t as toFullWidth, a as mapJpAddressSummary, m as mapJpAddressSchemaToAddressLocalizations } from "./mapJpAddressSchemaToAddressLocalizations-
|
|
32
|
-
import { g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET, a as getAddressSchemaLabelsByCountry, m as mapAddressLabels, c as getKeyForField } from "./utils-
|
|
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-Dt0n6cQU.js";
|
|
14
|
+
import { u as useScenarios } from "./useScenarios-BbG9i_sD.js";
|
|
15
|
+
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-Bk8GSKP1.js";
|
|
16
|
+
import { u as useToastContext, a as useInvalidateRootLegalEntity } from "./useToastContext-wDfBfnfF.js";
|
|
17
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-DZgtsmFg.js";
|
|
18
|
+
import { u as useTranslation, bH as isISIN, W as Button, J as useExperimentsContext, R as useLegalEntity, U as ROOT_LE, am as datasetUtilities, aB as Header, O as Typography, V as Loader, aa as CountryCodes, k as useSettingsContext, aN as useAllowedCountries, b as useApiContext, h as httpPost, P as StackLayout, G as Alert, ao as entriesOf, z as useAnalyticsContext, m as createLogger, v as useAccountHolder, ax as isEmpty, i as isUndefinedOrNull, y as TaskTypes, L as LegalEntityTypes, bI as businessDetailsComponentsKeyMapping, bJ as solePropBusinessDetailsKeyMapping, ah as objectsDeepEqual, aS as keysOf, bK as solePropBusinessDetailsApiKeyMapping, bl as businessDetailsApiKeyMapping, at as Scenarios, aZ as filterOutUnwantedAssociationsIfRootLE, aX as drop, ad as getOwnEntityAssociations, b2 as doArraysMatch, bL as solePropBusinessDetailsDocumentMapping, bM as businessDetailsDocumentMapping } from "./StoreProvider-mHLtWums.js";
|
|
19
|
+
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-B5QKkdAI.js";
|
|
20
|
+
import { C as CompanyTypesValues } from "./bafinUtils-pwkl8kSq.js";
|
|
21
|
+
import { c as composePerScenarioFormConfigurations, g as getPropsFromConfigurations } from "./process-field-configurations-TVQJVhh6.js";
|
|
22
|
+
import { a as addValidityToForms, u as useFormComposer } from "./dropinUtils-cvPDQGkm.js";
|
|
23
|
+
import { u as useMultiForm } from "./useMultiForm-cC2wlHNB.js";
|
|
24
|
+
import { u as uppercase, m as mapExistingFile, g as getPageName, b as useScenarioConfiguration } from "./mapExistingFile-DAKnbl3q.js";
|
|
25
|
+
import { C as Confirm } from "./Confirm-DHTZz6n-.js";
|
|
26
|
+
import { a as getDocument, j as getDocuments, c as createDocumentRequest, k as mergeProofOfOwnershipAttachments, b as getFileExtention, d as documentApiUtils } from "./validate-CkFqyHrv.js";
|
|
27
|
+
import { d as TAX_INFORMATION_FIELD, r as requestingBanking, e as requestingIssuing, t as taxInformationDefaultFieldMetadata, a as taxInformationDefaultFieldConfig, T as TaxInformationField, C as COUNTRY_OF_GOVERNING_LAW_POSSIBLE, f as getTaxInformationPlaceholderText, S as StateCodesUS, h as isUsingCompanySearch, M as MemoizedDocumentUpload, j as getCompanyRegistrationNumberOptions, k as countryToTaxInfoTypeMap, l as isRegistrationNumberAbsentStateV4Scenario, m as getTaxIdNumberOptions, n as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, o as rules, g as getFieldsWithExistingData } from "./TaxInformationField-b3yhWTWD.js";
|
|
28
|
+
import { u as usePageLandedEvent, s as summaryStep } from "./Summary-D-nudpZf.js";
|
|
29
|
+
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, a as defaultFieldConfig, b as registrationNumberDefaultFieldMetadata, c as registrationNumberDefaultFieldConfig, e as doingBusinessAsFieldMetadata, f as doingBusinessAsAbsentFieldMetadata, g as DBANameField, h as BusinessRegistrationNumberField, i as getRegistrationNumberHelperText, j as VatNumberField, M as MemoizedConstitutionalDocument, k as getDefaultRegistrationNumberType, l as getDefaultVatNumberType, m as inferCompanyRegistrationNumberType, n as exemptFromRegistrationNumberDefaultFieldMetadata } from "./ConstitutionalDocument-CG6z6hOH.js";
|
|
30
|
+
import { K as KEYBOARD_KEYS, M as Modal, a as ModalContent } from "./Modal-B2axEGgw.js";
|
|
31
|
+
import { t as toFullWidth, a as mapJpAddressSummary, m as mapJpAddressSchemaToAddressLocalizations } from "./mapJpAddressSchemaToAddressLocalizations-BwqkpwLG.js";
|
|
32
|
+
import { g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET, a as getAddressSchemaLabelsByCountry, m as mapAddressLabels, c as getKeyForField } from "./utils-CXINiC_b.js";
|
|
33
33
|
import { r as resolveFieldMetadata } from "./fieldConfigurations-BUT9DTUH.js";
|
|
34
34
|
import { s as summaryItem } from "./summaryItem-CAQCQSkt.js";
|
|
35
|
-
import { f as formatCurrency, A as ALLOWED_SOF_SERVICES } from "./utils-
|
|
36
|
-
import { b as useAddressCleanse, f as formatAddressForCleanse, m as mapAddressData, A as Address, g as getNestedTrustedFields, S as STATE_FIELD, d as defaultFieldMetadata$1, c as defaultFieldConfig$1, e as StateField, i as isDateOlderThanAYear } from "./Address-
|
|
35
|
+
import { f as formatCurrency, A as ALLOWED_SOF_SERVICES } from "./utils-DvL1qQJh.js";
|
|
36
|
+
import { b as useAddressCleanse, f as formatAddressForCleanse, m as mapAddressData, A as Address, g as getNestedTrustedFields, S as STATE_FIELD, d as defaultFieldMetadata$1, c as defaultFieldConfig$1, e as StateField, i as isDateOlderThanAYear } from "./Address-D_vmsuPk.js";
|
|
37
37
|
import { S as SettingNames } from "./types-CQ2p58-6.js";
|
|
38
|
-
import { o as organizationTypesToSkipCompanyStructureForm } from "./utils-
|
|
39
|
-
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-
|
|
40
|
-
import { i as isEmpty$1 } from "./isEmpty-
|
|
38
|
+
import { o as organizationTypesToSkipCompanyStructureForm } from "./utils-JAP5Kj4w.js";
|
|
39
|
+
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-BZEfEJF0.js";
|
|
40
|
+
import { i as isEmpty$1 } from "./isEmpty-BtKNXm_E.js";
|
|
41
41
|
import { f as formatObject } from "./utils-DNSfZiio.js";
|
|
42
42
|
import { b as mapAddressLocalizationToJpAddressSchema, a as mapApiScriptLocalizationToSchemaFields, m as mapSchemaFieldsToApiScriptLocalization } from "./mapAddressLocalizationToJpAddressSchema-vJWbpAyq.js";
|
|
43
|
-
import { L as LegalFormField, I as InputNumber, c as InputCurrency, b as CURRENCY_FIELD, C as Currency, m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./Currency-
|
|
44
|
-
import { g as getLegalCompanyNameHelperText, L as LEGAL_COMPANY_NAME_FIELD, d as defaultFieldMetadataV4, a as defaultFieldMetadata$2, b as defaultFieldConfigV4, c as defaultFieldConfig$2 } from "./LegalCompanyNameField-
|
|
45
|
-
import { j as useBusinessLines } from "./OnboardingDropinComponent-
|
|
43
|
+
import { L as LegalFormField, I as InputNumber, c as InputCurrency, b as CURRENCY_FIELD, C as Currency, m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./Currency-BCTmbxvQ.js";
|
|
44
|
+
import { g as getLegalCompanyNameHelperText, L as LEGAL_COMPANY_NAME_FIELD, d as defaultFieldMetadataV4, a as defaultFieldMetadata$2, b as defaultFieldConfigV4, c as defaultFieldConfig$2 } from "./LegalCompanyNameField-C2V3zE5H.js";
|
|
45
|
+
import { j as useBusinessLines } from "./OnboardingDropinComponent-JrMNoZpj.js";
|
|
46
46
|
import { Suspense, lazy } from "preact/compat";
|
|
47
|
-
import { C as Checkbox } from "./Checkbox-
|
|
48
|
-
import { F as Field } from "./Field-
|
|
49
|
-
import { E as ErrorPanel } from "./ErrorPanel-
|
|
50
|
-
import { I as InputDate, f as formatDateObj } from "./InputDate-
|
|
51
|
-
import { a as validateNotEmptyOnBlur, v as validatePatternOnBlur, b as validateJaKanaLegalCompanyName, c as validateJaHaniLegalCompanyName } from "./patternValidators-
|
|
52
|
-
import { M as MaskedInput, m as makeMask, d as alphanumericInputs, b as alphaInputs, n as numericInputs } from "./MaskedInput-
|
|
53
|
-
import { m as mergeFieldMetadataIntoProps, c as createFormUtils } from "./formUtils-
|
|
54
|
-
import { i as isJapanLocalizationEnabled } from "./japanSupportUtils-
|
|
47
|
+
import { C as Checkbox } from "./Checkbox-RZJnbRBZ.js";
|
|
48
|
+
import { F as Field } from "./Field-BCh4RjjH.js";
|
|
49
|
+
import { E as ErrorPanel } from "./ErrorPanel-Dc-0FFlw.js";
|
|
50
|
+
import { I as InputDate, f as formatDateObj } from "./InputDate-lBYns5ES.js";
|
|
51
|
+
import { a as validateNotEmptyOnBlur, v as validatePatternOnBlur, b as validateJaKanaLegalCompanyName, c as validateJaHaniLegalCompanyName } from "./patternValidators-DHivz8FR.js";
|
|
52
|
+
import { M as MaskedInput, m as makeMask, d as alphanumericInputs, b as alphaInputs, n as numericInputs } from "./MaskedInput-BiyWZvf9.js";
|
|
53
|
+
import { m as mergeFieldMetadataIntoProps, c as createFormUtils } from "./formUtils-Cu4r_cE7.js";
|
|
54
|
+
import { i as isJapanLocalizationEnabled } from "./japanSupportUtils-Cjg3HGeh.js";
|
|
55
55
|
import { u as useDebouncedCallback } from "./debouncedInputEvent-Cv2S512Y.js";
|
|
56
56
|
import { signal } from "@preact/signals";
|
|
57
57
|
import cx from "classnames";
|
|
58
|
-
import { L as Link } from "./Link-
|
|
58
|
+
import { L as Link } from "./Link-C53bmm0L.js";
|
|
59
59
|
import { S as StructuredList } from "./StructuredList-CNha20ka.js";
|
|
60
|
-
import { I as InputText } from "./InputText-
|
|
61
|
-
import { C as CountryField, a as COUNTRY_FIELD } from "./CountryField-
|
|
62
|
-
import { L as LoaderWrapper } from "./LoaderWrapper-
|
|
60
|
+
import { I as InputText } from "./InputText-cE4sdkOF.js";
|
|
61
|
+
import { C as CountryField, a as COUNTRY_FIELD } from "./CountryField-prWQNOFZ.js";
|
|
62
|
+
import { L as LoaderWrapper } from "./LoaderWrapper-CyNmE5d5.js";
|
|
63
63
|
import { C as Card } from "./Card-OQuFzmxm.js";
|
|
64
|
-
import { L as ListItem } from "./ListItem-
|
|
65
|
-
import { T as TileGroup } from "./TileGroup-
|
|
66
|
-
import { R as RadioGroup } from "./RadioGroup-
|
|
67
|
-
import { u as useGlobalDataSlice } from "./useGlobalData-
|
|
68
|
-
import { u as useForm } from "./useForm-
|
|
69
|
-
import { c as currencyByCountry } from "./types-
|
|
64
|
+
import { L as ListItem } from "./ListItem-DPoOuxMs.js";
|
|
65
|
+
import { T as TileGroup } from "./TileGroup-CKUlaXGR.js";
|
|
66
|
+
import { R as RadioGroup } from "./RadioGroup-DoV1tEJl.js";
|
|
67
|
+
import { u as useGlobalDataSlice } from "./useGlobalData-Btrs_29g.js";
|
|
68
|
+
import { u as useForm } from "./useForm-vad8DlLx.js";
|
|
69
|
+
import { c as currencyByCountry } from "./types-DW90uFG-.js";
|
|
70
70
|
const DATE_OF_INCORPORATION_FIELD = [
|
|
71
71
|
"dateOfIncorporation"
|
|
72
72
|
];
|
|
@@ -407,7 +407,7 @@ function VerifiedBusinessCard({
|
|
|
407
407
|
] });
|
|
408
408
|
}
|
|
409
409
|
const LazyJpAddress = lazy(
|
|
410
|
-
async () => (await import("./JpAddress-
|
|
410
|
+
async () => (await import("./JpAddress-DgMxCxUO.js")).JpAddress
|
|
411
411
|
);
|
|
412
412
|
const ADDITIONAL_INFORMATION_FORM_ID = "additionalInformation";
|
|
413
413
|
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, h as httpPost } from "./StoreProvider-
|
|
11
|
+
import { b as useApiContext, h as httpPost } from "./StoreProvider-mHLtWums.js";
|
|
12
12
|
const createLegalEntity = async (legalEntityId, baseUrl, data) => {
|
|
13
13
|
return httpPost(
|
|
14
14
|
{
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useState, useCallback, useMemo, useReducer, useEffect } from "preact/hooks";
|
|
11
|
-
import { m as createLogger, ax as isEmpty, b2 as doArraysMatch } from "./StoreProvider-
|
|
12
|
-
import { V as ValidationResult, o as omitKeys, a as addKeys } from "./utils-
|
|
11
|
+
import { m as createLogger, ax as isEmpty, b2 as doArraysMatch } from "./StoreProvider-mHLtWums.js";
|
|
12
|
+
import { V as ValidationResult, o as omitKeys, a as addKeys } from "./utils-Cg8MDRUC.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 { z as useAnalyticsContext, u as useTranslation, W as Button } from "./StoreProvider-
|
|
14
|
-
import { L as LoaderWrapper } from "./LoaderWrapper-
|
|
15
|
-
import { M as MaybeModal } from "./MaybeModal-
|
|
13
|
+
import { z as useAnalyticsContext, u as useTranslation, W as Button } from "./StoreProvider-mHLtWums.js";
|
|
14
|
+
import { L as LoaderWrapper } from "./LoaderWrapper-CyNmE5d5.js";
|
|
15
|
+
import { M as MaybeModal } from "./MaybeModal-CQ9Nwb5m.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-cvPDQGkm.js";
|
|
18
|
+
import { C as Confirm } from "./Confirm-DHTZz6n-.js";
|
|
19
|
+
import { S as Summary } from "./Summary-D-nudpZf.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 { bp as StateContext } from "./StoreProvider-
|
|
12
|
+
import { bp as StateContext } from "./StoreProvider-mHLtWums.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 { ah as objectsDeepEqual, m as createLogger, ax as isEmpty } from "./StoreProvider-
|
|
12
|
-
import { V as ValidationResult } from "./utils-
|
|
13
|
-
import { a as isNotEmptyValidator } from "./commonValidators-
|
|
11
|
+
import { ah as objectsDeepEqual, m as createLogger, ax as isEmpty } from "./StoreProvider-mHLtWums.js";
|
|
12
|
+
import { V as ValidationResult } from "./utils-Cg8MDRUC.js";
|
|
13
|
+
import { a as isNotEmptyValidator } from "./commonValidators-Q1vH12Fp.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, j as httpGet } from "./StoreProvider-
|
|
11
|
+
import { b as useApiContext, j as httpGet } from "./StoreProvider-mHLtWums.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, ao as entriesOf, at as Scenarios, j as httpGet } from "./StoreProvider-
|
|
11
|
+
import { b as useApiContext, ao as entriesOf, at as Scenarios, j as httpGet } from "./StoreProvider-mHLtWums.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, j as httpGet } from "./StoreProvider-
|
|
11
|
+
import { b as useApiContext, j as httpGet } from "./StoreProvider-mHLtWums.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 { m as createLogger, b as useApiContext, au as ToastContext } from "./StoreProvider-
|
|
12
|
+
import { m as createLogger, b as useApiContext, au as ToastContext } from "./StoreProvider-mHLtWums.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 { L as LegalEntityTypes, ad as getOwnEntityAssociations, R as useLegalEntity, U as ROOT_LE } from "./StoreProvider-
|
|
12
|
-
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-
|
|
13
|
-
import { U as UnincorporatedPartnershipMemberTypes } from "./unincorporated-partnership-
|
|
14
|
-
import { g as getLegalEntityNameBasedOnType } from "./getName-
|
|
11
|
+
import { L as LegalEntityTypes, ad as getOwnEntityAssociations, R as useLegalEntity, U as ROOT_LE } from "./StoreProvider-mHLtWums.js";
|
|
12
|
+
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-BEuHjBZz.js";
|
|
13
|
+
import { U as UnincorporatedPartnershipMemberTypes } from "./unincorporated-partnership-DPbAzJDe.js";
|
|
14
|
+
import { g as getLegalEntityNameBasedOnType } from "./getName-D92TbZE4.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)
|