@adyen/kyc-components 3.73.0-beta.1 → 4.0.0-beta.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-BpPJ7QV9.js → AcceptTermsOfServiceComponent-Dh7RSJoE.js} +10 -10
- package/dist/{AccountSetupRejected-Co9Ldwfy.js → AccountSetupRejected-PdYyKwbS.js} +2 -2
- package/dist/{Avatar-CQhxoMB3.js → Avatar-C8aZB2wq.js} +1 -1
- package/dist/{BusinessDetailsDropin-Bc0ZtPOt.js → BusinessDetailsDropin-DC8FEWvP.js} +52 -78
- package/dist/{BusinessFinancingComponent-3BqQCow9.js → BusinessFinancingComponent-B0vW7r62.js} +2 -2
- package/dist/{BusinessFinancingDropin-CwOTXiSi.js → BusinessFinancingDropin-D8HAwTSq.js} +13 -13
- package/dist/{BusinessFinancingPage-BqHp3Fby.js → BusinessFinancingPage-L1APYvzn.js} +2 -2
- package/dist/{BusinessTypeSelectionPage-hI4jIyJg.js → BusinessTypeSelectionPage-sfGqHnp6.js} +4 -4
- package/dist/{CXEL7IU7-B6EM559-.js → CXEL7IU7-B_FIdhoh.js} +2 -2
- package/dist/{Confirm-BGmpGH40.js → Confirm-okTxq40p.js} +2 -2
- package/dist/{ContractViewer-CcrXsTmt.js → ContractViewer-BChszuWL.js} +1 -1
- package/dist/{CreateIndividualComponent-Cuh3O6Yk.js → CreateIndividualComponent-i-QNCzp0.js} +3 -3
- package/dist/{CreateTransferInstrumentComponent-BXoOSu0n.js → CreateTransferInstrumentComponent-8n3tjBYK.js} +2 -2
- package/dist/{CustomerSupport-CQVsEXjs.js → CustomerSupport-BER6nSK2.js} +5 -5
- package/dist/{DebugModal-RNAwmSbO.js → DebugModal-DeSsKkh_.js} +9 -9
- package/dist/{DecisionMakerDetailsPage-BLz0SKIB.js → DecisionMakerDetailsPage-DgjlfKyP.js} +3 -3
- package/dist/{DecisionMakers-CbaGeGt2.js → DecisionMakers-D2TjKnOc.js} +5 -5
- package/dist/{EmbeddedStatus-BIDnwe9H.js → EmbeddedStatus-Bn5KNA0V.js} +2 -2
- package/dist/{FormEndState-3C_0cBfN.js → FormEndState-BQOQ83vO.js} +1 -1
- package/dist/{FormFlow-DscNe7ys.js → FormFlow-CZgc09E3.js} +4 -4
- package/dist/{FormNavigation-Df6JZprG.js → FormNavigation-B6RspX9C.js} +1 -1
- package/dist/{FormWrapper-Bg3CC-WH.js → FormWrapper-Dvm1o4tC.js} +6 -6
- package/dist/{HASRA6WW-DOjfNsmI.js → HASRA6WW-C1SPXfmX.js} +1 -1
- package/dist/{I3HPI4QX-D3uEMvQ4.js → I3HPI4QX-A8JLvlId.js} +2 -2
- package/dist/{IndividualOnfidoDropin-3NKwZqzg.js → IndividualOnfidoDropin-D6uwo7VI.js} +23 -23
- package/dist/{Introduction-DeTz9p9F.js → Introduction-DW2IQ57R.js} +3 -3
- package/dist/{LegalRepresentativeDetailsPage-p9s3pi2X.js → LegalRepresentativeDetailsPage-BfIDXqv1.js} +3 -3
- package/dist/{ManageIndividualComponent-D280CrnL.js → ManageIndividualComponent-DJoEsE2m.js} +3 -3
- package/dist/{ManagePCIComponent-B8HAOoud.js → ManagePCIComponent-BGESFWL6.js} +3 -3
- package/dist/{ManageTermsOfServiceComponent-BHjy3s80.js → ManageTermsOfServiceComponent-_wTZrjqd.js} +3 -3
- package/dist/{ManageTransferInstrumentComponent-DR-g56dA.js → ManageTransferInstrumentComponent-Cvc3kk94.js} +7 -7
- package/dist/{MaybeModal-VM8yI7rt.js → MaybeModal-Djz8fRfd.js} +2 -2
- package/dist/{Modal-BXOAkw_5.js → Modal-CRNejb1x.js} +1 -1
- package/dist/{OnboardingDropinComponent-BMRIbR5k.js → OnboardingDropinComponent-CocnpjvA.js} +35 -35
- package/dist/{PayoutDetailsDropin-Bnj9o5ge.js → PayoutDetailsDropin-Bw29V8E7.js} +10 -10
- package/dist/{PayoutDetailsPage-DaPErqvW.js → PayoutDetailsPage-BHNHaMbR.js} +3 -3
- package/dist/{ProviderButton-Bc2kpCtT.js → ProviderButton-vD5DUJaN.js} +1 -1
- package/dist/{Review-DMtgjz9r.js → Review-BFgzcIDj.js} +3 -3
- package/dist/{RootBusinessDetailsPage-B2o2bNf0.js → RootBusinessDetailsPage-C6lHQShI.js} +3 -3
- package/dist/{RootIndividualDetailsPage-DD3jPfVf.js → RootIndividualDetailsPage-DfpqHdAS.js} +3 -3
- package/dist/{ShadowStylesRoot-NyW8GGjo.js → ShadowStylesRoot-D4KvocCc.js} +3 -3
- package/dist/{SignPCIComponent-A5RYkBgJ.js → SignPCIComponent-D35913wJ.js} +7 -7
- package/dist/{SingpassSelection-DOmVN5nW.js → SingpassSelection-D2Xe1wGv.js} +1 -1
- package/dist/{SoleProprietorshipPage-CHs6EAoz.js → SoleProprietorshipPage-D2F8Ghmo.js} +3 -3
- package/dist/{SourceOfFunds.module-DdMMgql6.js → SourceOfFunds.module-OqFTr4WQ.js} +1 -1
- package/dist/{SourceOfFundsPage-CTvVW-mq.js → SourceOfFundsPage-RjAcZ3Bo.js} +17 -17
- package/dist/{StepProgressIndicator-DAXmbfrj.js → StepProgressIndicator-BuGfVdlr.js} +1 -1
- package/dist/{StoreProvider-Bsm9wnc_.js → StoreProvider-COHi02bX.js} +10 -8
- package/dist/{TaskItemStatus-DZWrwQgl.js → TaskItemStatus-Bi1L8gea.js} +1 -1
- package/dist/{TaxReportingDropin-JQpn1O3P.js → TaxReportingDropin-BLXgRbuR.js} +7 -7
- package/dist/{TileGroup-sWE-BHL6.js → TileGroup-B1IymoWv.js} +1 -1
- package/dist/{TrustDetailsPage-BKfrVE3O.js → TrustDetailsPage-DVvGJ_Ta.js} +11 -11
- package/dist/{TrustMemberCompanyPage-1mnMSVIK.js → TrustMemberCompanyPage-D0wTEhuh.js} +4 -4
- package/dist/{TrustMemberIndividualPage-CBOtrIWT.js → TrustMemberIndividualPage-BLuaBi3j.js} +3 -3
- package/dist/{UnincorporatedPartnershipIndividualPage-C-ZJt5TZ.js → UnincorporatedPartnershipIndividualPage-BhIihH2v.js} +5 -5
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-BF-SgXlE.js → UnincorporatedPartnershipMemberCompanyPage-CgujXwfX.js} +6 -6
- package/dist/{VerificationErrorAlert-BIbs90l8.js → VerificationErrorAlert-BkImnGA-.js} +1 -1
- package/dist/{ViewVerificationStatusComponent-BRSk6q98.js → ViewVerificationStatusComponent-CRefu327.js} +2 -2
- package/dist/adyen-business-financing.js +15 -5
- package/dist/adyen-individual.js +15 -5
- package/dist/adyen-kyc-components.js +14 -14
- package/dist/adyen-manage-individual.js +15 -5
- package/dist/adyen-manage-pci.js +15 -5
- package/dist/adyen-manage-terms-of-service.js +15 -5
- package/dist/adyen-manage-transfer-instruments.js +9 -5
- package/dist/adyen-onboarding.js +14 -5
- package/dist/adyen-sign-pci.js +9 -5
- package/dist/adyen-terms-of-service.js +15 -5
- package/dist/{adyen-terms-of-service.vue_vue_type_script_lang-CLUMW5mI.js → adyen-terms-of-service.vue_vue_type_script_lang-BD4hndWg.js} +11 -3
- package/dist/adyen-transfer-instrument.js +9 -5
- package/dist/{adyen-transfer-instrument.vue_vue_type_script_lang-uEpG3KG3.js → adyen-transfer-instrument.vue_vue_type_script_lang-BE-ro1iH.js} +11 -3
- package/dist/adyen-verification-status.js +9 -5
- package/dist/{bg-BG-CZRQZyXO.js → bg-BG-CGHVGS50.js} +62 -19
- package/dist/{cs-CZ-BbUFgifZ.js → cs-CZ-5Os6MsQs.js} +60 -17
- package/dist/{css-D1Y__8Cn.js → css-DZNXkIaY.js} +1 -1
- package/dist/{da-DK-CP71BFS7.js → da-DK-Dk9852pS.js} +60 -17
- package/dist/{de-DE-DY56JGZt.js → de-DE-dk9CMgxF.js} +60 -17
- package/dist/{documentUtils-Ks2mBtYP.js → documentUtils-51iMbUyU.js} +1 -1
- package/dist/{dropinUtils-PxJRIGvX.js → dropinUtils-Bk0T79SK.js} +1 -1
- package/dist/{el-GR-CnENEp5c.js → el-GR-DgI6Cgl6.js} +61 -18
- package/dist/{es-ES-dV62vQcV.js → es-ES-BzoYprDP.js} +62 -19
- package/dist/{et-EE-BBgAN3Wc.js → et-EE-DlbiEFQu.js} +61 -18
- package/dist/{fi-FI-DVmGWIxn.js → fi-FI-GSyT4vm7.js} +61 -18
- package/dist/{fr-FR-VwG8Rg7R.js → fr-FR-BEImhl_J.js} +60 -17
- package/dist/{getFieldsWithExistingData-BeMLZuc-.js → getFieldsWithExistingData-UNUNInq5.js} +1 -1
- package/dist/{hasDataChanged-Q8MsyWQK.js → hasDataChanged-CIg-bPSm.js} +1 -1
- package/dist/{hr-HR-Bs_lxjxQ.js → hr-HR-CNFI9uDD.js} +62 -19
- package/dist/{hu-HU-8dVSiOZM.js → hu-HU-D4xFA3R6.js} +60 -17
- package/dist/{individualFormConfig-CAaBoHzf.js → individualFormConfig-BrFLPTfr.js} +1 -1
- package/dist/{it-IT-DvwWMDl1.js → it-IT-B65JP9Qv.js} +63 -20
- package/dist/{ja-JP-BB6zzyEg.js → ja-JP-CgGmwtzl.js} +62 -19
- package/dist/{json-DYyBJzuY.js → json-DGARJCng.js} +1 -1
- package/dist/{localizeDateString-BFDlnA-d.js → localizeDateString-KlstHAcM.js} +1 -1
- package/dist/{lt-LT-BQtNojlb.js → lt-LT-D_Q1Z3N4.js} +61 -18
- package/dist/{lv-LV-BpEw5uN5.js → lv-LV-aF5bMtic.js} +62 -19
- package/dist/{mapFinancialReportsToFinancialInformation-BKcRtFf3.js → mapFinancialReportsToFinancialInformation-Cid31JpK.js} +1 -1
- package/dist/{mapTransferInstrumentToPayoutAccount-DbAz0ABq.js → mapTransferInstrumentToPayoutAccount-DR8zv8gS.js} +1 -1
- package/dist/{nl-NL-vBEBXTP-.js → nl-NL-GDXpht_y.js} +60 -17
- package/dist/{no-NO-BFhTqUoD.js → no-NO-CEow5Bac.js} +61 -18
- package/dist/{omitObscuredFieldsIfUnchanged-Ccf5kSA5.js → omitObscuredFieldsIfUnchanged-DhCrqm4T.js} +1 -1
- package/dist/{pl-PL-dsGZvzVf.js → pl-PL-Bir_Ltlv.js} +60 -17
- package/dist/{plaintext-DUC9JbGr.js → plaintext-jF9fCLMp.js} +1 -1
- package/dist/preact/adyen-terms-of-service.js +1 -1
- package/dist/preact/adyen-transfer-instrument.js +1 -1
- package/dist/{process-field-configurations-DXLUrn0y.js → process-field-configurations-DugpEY9k.js} +1 -1
- package/dist/{processValidationErrors-_rQCcpIw.js → processValidationErrors-RYlNmxB9.js} +1 -1
- package/dist/{pt-PT-BB38pZbh.js → pt-PT-lkmVY63I.js} +60 -17
- package/dist/{ro-RO-BgxNxoxJ.js → ro-RO-CTQvP4R9.js} +61 -18
- package/dist/{rules-DiFMclZh.js → rules-a4kJDPzY.js} +1 -1
- package/dist/{sk-SK-rtDeCztl.js → sk-SK-Ct3OVI0e.js} +61 -18
- package/dist/{sl-SI-qoGCwUdU.js → sl-SI-CNjkFWB7.js} +60 -17
- package/dist/style.css +31 -16
- package/dist/styles-CLV89_hH.js +31 -16
- package/dist/{sv-SE-f1T7PBSW.js → sv-SE-BwREUuQq.js} +61 -18
- package/dist/types/api/address/address.types.d.ts +17 -0
- package/dist/types/api/address/useAddressCleanse.d.ts +1 -1
- package/dist/types/api/address/useRetrieveAddress.d.ts +1 -2
- package/dist/types/api/address/useSearchAddress.d.ts +13 -14
- package/dist/types/api/check/useCheck.d.ts +5 -4
- package/dist/types/api/companyDataSet/companyDataset.types.d.ts +15 -0
- package/dist/types/api/companyDataSet/useCompanyDataset.d.ts +1 -15
- package/dist/types/api/companySearch/companySearch.types.d.ts +18 -0
- package/dist/types/api/companySearch/useCompanySearch.d.ts +1 -18
- package/dist/types/api/createLegalEntity/useCreateLegalEntity.d.ts +1 -1
- package/dist/types/api/legalEntity/useLegalEntity.d.ts +19 -19
- package/dist/types/api/legalEntity/useUpdateLegalEntity.d.ts +1 -1
- package/dist/types/components/BankAccount/forms/PayoutDetails/PayoutDetails.d.ts +1 -1
- package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/utils.d.ts +1 -1
- package/dist/types/components/Business/forms/AdditionalInformation/VerifiedBusinessCard.d.ts +1 -1
- package/dist/types/components/Business/forms/AdditionalInformation/utils.d.ts +1 -1
- package/dist/types/components/Business/forms/BasicInformation/types.d.ts +1 -1
- package/dist/types/components/Business/forms/BusinessDetails/types.d.ts +1 -1
- package/dist/types/components/Business/forms/BusinessSelection/BusinessInformationCard.d.ts +2 -2
- package/dist/types/components/Business/forms/BusinessSelection/types.d.ts +1 -1
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/businessDetailsStore.d.ts +1 -1
- package/dist/types/components/Shared/forms/Address/SearchAddress.d.ts +1 -1
- package/dist/types/components/Shared/forms/Address/types.d.ts +1 -1
- package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
- package/dist/types/components/Shared/forms/Address/validate.d.ts +1 -1
- package/dist/types/components/Trust/hooks/useTrustMemberNavigation.hook.d.ts +1 -1
- package/dist/types/components/ui/atoms/Modal/Modal.d.ts +3 -0
- package/dist/types/core/models/api/contracts.d.ts +1 -12
- package/dist/types/core/models/api/data-set.d.ts +2 -1
- package/dist/types/core/models/api/document.d.ts +10 -1
- package/dist/types/core/models/api/legal-entity.d.ts +1 -1
- package/dist/types/core/models/api/transfer-instrument.d.ts +1 -1
- package/dist/types/embeds/baseEmbedProps.d.ts +9 -11
- package/dist/types/embeds/individual/adyen-individual.types.d.ts +1 -1
- package/dist/types/hooks/useAnalytics.d.ts +8 -1
- package/dist/types/utils/api/documentUtils.d.ts +1 -2
- package/dist/types/utils/entityStatusUtil.d.ts +1 -1
- package/dist/{useMultiForm-BhR3Fm8e.js → useMultiForm-Lh2i5tRJ.js} +1 -1
- package/dist/{useOnboardingStatus-D2pJpkPi.js → useOnboardingStatus-D1ym3MHp.js} +1 -1
- package/dist/{useSalesChannelsSettings-KTEFxWTJ.js → useSalesChannelsSettings-BGuBY0ls.js} +1 -1
- package/dist/{useTermsOfServiceStatus-7LcnO_vd.js → useTermsOfServiceStatus-DGZYHVsm.js} +1 -1
- package/dist/{useToastContext-C__UQE5m.js → useToastContext-CF2xonft.js} +1 -1
- package/dist/{useUpdateLegalEntity-CP6JPraS.js → useUpdateLegalEntity-By6uwPUg.js} +1 -1
- package/dist/{utils-DOXyyTZX.js → utils-BPrqY9DW.js} +3 -3
- package/dist/{validate-DRojq21X.js → validate-Dyb8B4Hi.js} +1 -1
- package/dist/{validate-DCVdOnY3.js → validate-wd48TLfx.js} +1 -1
- package/dist/vue/adyen-individual.js +15 -5
- package/dist/vue/adyen-manage-individual.js +15 -5
- package/dist/vue/adyen-terms-of-service.js +6 -4
- package/dist/vue/adyen-transfer-instrument.js +6 -4
- package/dist/{yaml-Pfrpa3-X.js → yaml-Ba_Tz8d4.js} +1 -1
- package/package.json +1 -1
- package/dist/types/core/models/api/analytics.d.ts +0 -13
- package/dist/types/core/models/api/check.d.ts +0 -4
- package/dist/types/core/models/api/documentDetail.d.ts +0 -9
package/dist/{AcceptTermsOfServiceComponent-BpPJ7QV9.js → AcceptTermsOfServiceComponent-Dh7RSJoE.js}
RENAMED
|
@@ -9,18 +9,18 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useState, useEffect, useCallback } from "preact/hooks";
|
|
12
|
-
import { q as useApiContext, b4 as useInvalidateRootLegalEntity, b5 as useMutation, b7 as httpPost, r as useQuery, x as skipToken, t as httpGet, aJ as createLogger, b as useI18nContext, $ as useAnalyticsContext, a5 as useExperimentsContext, as as useForm, C as Alert, Z as Button, a2 as LoaderWrapper, ax as Field, bw as Select, bv as Checkbox, aM as ActionBar, z as LegalEntityType, ad as getOwnSignatories, y as doesLegalEntityRequiresLegalRepresentative, w as getLegalRepresentative, a as useLegalEntity, R as ROOT_LE, L as Loader, X as TaskTypes } from "./StoreProvider-
|
|
13
|
-
import { a as useTermsOfServiceStatus, u as useTermsOfServiceAcceptanceInfos } from "./useTermsOfServiceStatus-
|
|
14
|
-
import { M as MaybeModal } from "./MaybeModal-
|
|
15
|
-
import { b as ModalContent, c as ModalFooter } from "./Modal-
|
|
16
|
-
import { C as ContractViewer, O as OutlinedIcon } from "./ContractViewer-
|
|
12
|
+
import { q as useApiContext, b4 as useInvalidateRootLegalEntity, b5 as useMutation, b7 as httpPost, r as useQuery, x as skipToken, t as httpGet, aJ as createLogger, b as useI18nContext, $ as useAnalyticsContext, a5 as useExperimentsContext, as as useForm, C as Alert, Z as Button, a2 as LoaderWrapper, ax as Field, bw as Select, bv as Checkbox, aM as ActionBar, z as LegalEntityType, ad as getOwnSignatories, y as doesLegalEntityRequiresLegalRepresentative, w as getLegalRepresentative, a as useLegalEntity, R as ROOT_LE, L as Loader, X as TaskTypes } from "./StoreProvider-COHi02bX.js";
|
|
13
|
+
import { a as useTermsOfServiceStatus, u as useTermsOfServiceAcceptanceInfos } from "./useTermsOfServiceStatus-DGZYHVsm.js";
|
|
14
|
+
import { M as MaybeModal } from "./MaybeModal-Djz8fRfd.js";
|
|
15
|
+
import { b as ModalContent, c as ModalFooter } from "./Modal-CRNejb1x.js";
|
|
16
|
+
import { C as ContractViewer, O as OutlinedIcon } from "./ContractViewer-BChszuWL.js";
|
|
17
17
|
import { S as Spacer } from "./Spacer-BK3jDget.js";
|
|
18
|
-
import { S as StepProgressIndicator } from "./StepProgressIndicator-
|
|
19
|
-
import { u as useToastContext } from "./useToastContext-
|
|
20
|
-
import { F as FormEndState } from "./FormEndState-
|
|
21
|
-
import { F as FormNavigation } from "./FormNavigation-
|
|
18
|
+
import { S as StepProgressIndicator } from "./StepProgressIndicator-BuGfVdlr.js";
|
|
19
|
+
import { u as useToastContext } from "./useToastContext-CF2xonft.js";
|
|
20
|
+
import { F as FormEndState } from "./FormEndState-BQOQ83vO.js";
|
|
21
|
+
import { F as FormNavigation } from "./FormNavigation-B6RspX9C.js";
|
|
22
22
|
import { d as downloadFile } from "./file-CiG1D0zy.js";
|
|
23
|
-
import { l as localizeDateString } from "./localizeDateString-
|
|
23
|
+
import { l as localizeDateString } from "./localizeDateString-KlstHAcM.js";
|
|
24
24
|
const acceptTermsOfService = async (legalEntityId, baseUrl, termsOfServiceDocumentId, data) => {
|
|
25
25
|
return httpPost(
|
|
26
26
|
{
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { b as useI18nContext, A as AlertIcon, F as FormHeader } from "./StoreProvider-
|
|
12
|
-
import { D as DropinLayout } from "./OnboardingDropinComponent-
|
|
11
|
+
import { b as useI18nContext, A as AlertIcon, F as FormHeader } from "./StoreProvider-COHi02bX.js";
|
|
12
|
+
import { D as DropinLayout } from "./OnboardingDropinComponent-CocnpjvA.js";
|
|
13
13
|
function AccountSetupRejected() {
|
|
14
14
|
const { i18n } = useI18nContext();
|
|
15
15
|
const content = /* @__PURE__ */ jsxs("div", { children: [
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import { a3 as Icon } from "./StoreProvider-
|
|
12
|
+
import { a3 as Icon } from "./StoreProvider-COHi02bX.js";
|
|
13
13
|
const avatar = "adyen-kyc-avatar";
|
|
14
14
|
const avatarLabel = "adyen-kyc-avatar-label";
|
|
15
15
|
const avatarPrimary = "adyen-kyc-avatar-primary";
|
|
@@ -2,28 +2,28 @@
|
|
|
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] = "74e85ce1-0038-47d8-bdf4-f7ea3f406bbb", e._sentryDebugIdIdentifier = "sentry-dbid-74e85ce1-0038-47d8-bdf4-f7ea3f406bbb");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
|
-
import { q as useApiContext, b5 as useMutation, b7 as httpPost, r as useQuery, dl as KNOWN_BROKEN_PRIMARY_SOURCE_CONNECTIONS, b as useI18nContext, c$ as MemoizedDocumentUpload, Z as Button, G as Typography, am as CountryCodes, P as CompanyTypesValue, bR as useGlobalData, dm as getForms, X as TaskTypes, dn as BasicInformation, by as getFormProps, dp as CompanyStructure, dq as AdditionalInformation, dr as MemoizedConstitutionalDocument, z as LegalEntityType, ds as FinancialInformation, b3 as entriesOf, b9 as businessDetailsComponentsKeyMapping, dt as solePropBusinessDetailsKeyMapping, aY as objectsDeepEqual, du as operationalAddressIsSameIds, dv as COUNTRIES_USING_COMPANY_SEARCH, dw as FIELDS_NEEDED_FOR_COMPANY_SEARCH, bB as keysOf, i as isUndefinedOrNull, aH as summaryItem, dx as solePropBusinessDetailsApiKeyMapping, d6 as businessDetailsApiKeyMapping, bz as isEmpty, dy as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, a_ as datasetUtilities, cn as mapAddressLabels, dz as companyTypeMetadata, an as isEmpty$1, aJ as createLogger, cm as filterOutUnwantedAssociationsIfRootLE, dA as documentFormsIds, ap as resolveFieldMetadata, dB as defaultFieldMetadata, dC as inferCompanyRegistrationNumberType, dD as getCompanyRegistrationNumberOptions, dE as defaultFieldConfig, c7 as defaultFieldMetadata$1, dF as countryToTaxInfoTypeMap, c8 as defaultFieldConfig$1, dG as getKeyForField, cr as drop, ak as getOwnEntityAssociations, cv as doArraysMatch, U as useAccountHolder, $ as useAnalyticsContext, a5 as useExperimentsContext, K as useSettingsContext, dH as verifiedBusiness, bb as useQueryClient, bG as useStateContext, M as SettingNames, dI as setIsBankAccountRequestedForOrganization, bW as getAssociatedLeAnalyticsPayload, a$ as getCapabilityProblems, dJ as rules, dK as useCompanyDataset, dL as useVerifyTin, dM as setVerifiedBusiness, dN as solePropBusinessDetailsDocumentMapping, dO as businessDetailsDocumentMapping } from "./StoreProvider-
|
|
12
|
-
import { useState, useEffect, useRef,
|
|
13
|
-
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
14
|
-
import { h as hasDataChanged } from "./hasDataChanged-
|
|
15
|
-
import { u as useToastContext } from "./useToastContext-
|
|
16
|
-
import { a as augmentWithCountryConfigs, c as composePerScenarioFormConfigurations, g as getPropsFromConfigurations } from "./process-field-configurations-
|
|
17
|
-
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer, t as trackNavigation } from "./dropinUtils-
|
|
18
|
-
import { i as isValidationError, p as processValidationErrors, d as isMaintenanceModeError, u as useScenarioConfiguration } from "./processValidationErrors-
|
|
19
|
-
import { C as Confirm } from "./Confirm-
|
|
20
|
-
import { o as organizationTypesToSkipCompanyStructureForm } from "./utils-
|
|
21
|
-
import { F as FormWrapper } from "./FormWrapper-
|
|
22
|
-
import { g as getDocument, c as createDocumentRequest, a as getFileExtention, d as documentApiUtils } from "./documentUtils-
|
|
23
|
-
import { g as getFieldsWithExistingData } from "./getFieldsWithExistingData-
|
|
11
|
+
import { q as useApiContext, b5 as useMutation, b7 as httpPost, r as useQuery, dl as KNOWN_BROKEN_PRIMARY_SOURCE_CONNECTIONS, b as useI18nContext, c$ as MemoizedDocumentUpload, Z as Button, G as Typography, am as CountryCodes, P as CompanyTypesValue, bR as useGlobalData, dm as getForms, X as TaskTypes, dn as BasicInformation, by as getFormProps, dp as CompanyStructure, dq as AdditionalInformation, dr as MemoizedConstitutionalDocument, z as LegalEntityType, ds as FinancialInformation, b3 as entriesOf, b9 as businessDetailsComponentsKeyMapping, dt as solePropBusinessDetailsKeyMapping, aY as objectsDeepEqual, du as operationalAddressIsSameIds, dv as COUNTRIES_USING_COMPANY_SEARCH, dw as FIELDS_NEEDED_FOR_COMPANY_SEARCH, bB as keysOf, i as isUndefinedOrNull, aH as summaryItem, dx as solePropBusinessDetailsApiKeyMapping, d6 as businessDetailsApiKeyMapping, bz as isEmpty, dy as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, a_ as datasetUtilities, cn as mapAddressLabels, dz as companyTypeMetadata, an as isEmpty$1, aJ as createLogger, cm as filterOutUnwantedAssociationsIfRootLE, dA as documentFormsIds, ap as resolveFieldMetadata, dB as defaultFieldMetadata, dC as inferCompanyRegistrationNumberType, dD as getCompanyRegistrationNumberOptions, dE as defaultFieldConfig, c7 as defaultFieldMetadata$1, dF as countryToTaxInfoTypeMap, c8 as defaultFieldConfig$1, dG as getKeyForField, cr as drop, ak as getOwnEntityAssociations, cv as doArraysMatch, U as useAccountHolder, $ as useAnalyticsContext, a5 as useExperimentsContext, K as useSettingsContext, dH as verifiedBusiness, bb as useQueryClient, bG as useStateContext, M as SettingNames, dI as setIsBankAccountRequestedForOrganization, bW as getAssociatedLeAnalyticsPayload, a$ as getCapabilityProblems, dJ as rules, dK as useCompanyDataset, dL as useVerifyTin, dM as setVerifiedBusiness, dN as solePropBusinessDetailsDocumentMapping, dO as businessDetailsDocumentMapping } from "./StoreProvider-COHi02bX.js";
|
|
12
|
+
import { useState, useEffect, useRef, useCallback, useMemo } from "preact/hooks";
|
|
13
|
+
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-By6uwPUg.js";
|
|
14
|
+
import { h as hasDataChanged } from "./hasDataChanged-CIg-bPSm.js";
|
|
15
|
+
import { u as useToastContext } from "./useToastContext-CF2xonft.js";
|
|
16
|
+
import { a as augmentWithCountryConfigs, c as composePerScenarioFormConfigurations, g as getPropsFromConfigurations } from "./process-field-configurations-DugpEY9k.js";
|
|
17
|
+
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer, t as trackNavigation } from "./dropinUtils-Bk0T79SK.js";
|
|
18
|
+
import { i as isValidationError, p as processValidationErrors, d as isMaintenanceModeError, u as useScenarioConfiguration } from "./processValidationErrors-RYlNmxB9.js";
|
|
19
|
+
import { C as Confirm } from "./Confirm-okTxq40p.js";
|
|
20
|
+
import { o as organizationTypesToSkipCompanyStructureForm } from "./utils-BPrqY9DW.js";
|
|
21
|
+
import { F as FormWrapper } from "./FormWrapper-Dvm1o4tC.js";
|
|
22
|
+
import { g as getDocument, c as createDocumentRequest, a as getFileExtention, d as documentApiUtils } from "./documentUtils-51iMbUyU.js";
|
|
23
|
+
import { g as getFieldsWithExistingData } from "./getFieldsWithExistingData-UNUNInq5.js";
|
|
24
24
|
import cx from "classnames";
|
|
25
|
-
import { M as Modal, b as ModalContent } from "./Modal-
|
|
26
|
-
import { m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./mapFinancialReportsToFinancialInformation-
|
|
25
|
+
import { M as Modal, b as ModalContent } from "./Modal-CRNejb1x.js";
|
|
26
|
+
import { m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./mapFinancialReportsToFinancialInformation-Cid31JpK.js";
|
|
27
27
|
import { m as mapExistingFile, g as getPageName } from "./mapExistingFile-BE74t9jV.js";
|
|
28
28
|
import { f as formatObject, g as getProp } from "./utils-B1H_8b1P.js";
|
|
29
29
|
import { f as formatCurrency } from "./formatCurrency-CMOSdJMB.js";
|
|
@@ -1567,7 +1567,7 @@ function BusinessDetailsDropin({
|
|
|
1567
1567
|
onSubmit: onExternalSubmit,
|
|
1568
1568
|
handleHomeClick
|
|
1569
1569
|
}) {
|
|
1570
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q;
|
|
1570
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t;
|
|
1571
1571
|
const formRef = useRef(null);
|
|
1572
1572
|
const { accountHolder, setAccountHolder } = useAccountHolder();
|
|
1573
1573
|
const { showToast } = useToastContext();
|
|
@@ -1586,36 +1586,23 @@ function BusinessDetailsDropin({
|
|
|
1586
1586
|
}, [currentState, onChange]);
|
|
1587
1587
|
const isSoleProp = accountHolder === "mySoleProprietorName";
|
|
1588
1588
|
const formWith2Views = "basicInformation";
|
|
1589
|
-
const isAssociationTaskType =
|
|
1590
|
-
if (!taskType) {
|
|
1591
|
-
return accountHolder !== "theCompanyIWorkFor";
|
|
1592
|
-
}
|
|
1593
|
-
return taskType !== TaskTypes.BUSINESS_DETAILS;
|
|
1594
|
-
}, [accountHolder, taskType]);
|
|
1589
|
+
const isAssociationTaskType = !taskType ? accountHolder !== "theCompanyIWorkFor" : taskType !== TaskTypes.BUSINESS_DETAILS;
|
|
1595
1590
|
const legalEntityType = !isSoleProp ? LegalEntityType.ORGANIZATION : LegalEntityType.SOLE_PROPRIETORSHIP;
|
|
1596
|
-
const
|
|
1597
|
-
const currentCountry =
|
|
1598
|
-
() => {
|
|
1599
|
-
var _a2;
|
|
1600
|
-
return ((_a2 = currentState.data.basicInformation) == null ? void 0 : _a2.country) ?? country;
|
|
1601
|
-
},
|
|
1602
|
-
[(_a = currentState.data.basicInformation) == null ? void 0 : _a.country, country]
|
|
1603
|
-
);
|
|
1591
|
+
const isUS = country === CountryCodes.UnitedStates;
|
|
1592
|
+
const currentCountry = ((_a = currentState.data.basicInformation) == null ? void 0 : _a.country) ?? country;
|
|
1604
1593
|
const isSkippingCompanyStructure = isSettingEnabled(SettingNames.AllowLegalEntityTypeChange) && organizationTypesToSkipCompanyStructureForm.includes(
|
|
1605
1594
|
(_b = legalEntityResponse == null ? void 0 : legalEntityResponse.organization) == null ? void 0 : _b.type
|
|
1606
1595
|
) && accountHolder !== "aTrust" || isSoleProp;
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
const isBankAccountRequested = (
|
|
1596
|
+
const [prevLegalEntityResponse, setPrevLegalEntityResponse] = useState(legalEntityResponse);
|
|
1597
|
+
if (prevLegalEntityResponse !== legalEntityResponse) {
|
|
1598
|
+
const isBankAccountRequested = (_d = (_c = legalEntityResponse == null ? void 0 : legalEntityResponse.capabilities) == null ? void 0 : _c.issueBankAccount) == null ? void 0 : _d.requested;
|
|
1610
1599
|
setIsBankAccountRequestedForOrganization(isBankAccountRequested);
|
|
1611
|
-
|
|
1600
|
+
setPrevLegalEntityResponse(legalEntityResponse);
|
|
1601
|
+
}
|
|
1612
1602
|
const subjectEntity = !isAssociationTaskType ? legalEntityResponse : isSoleProp ? associatedLegalArrangement : nestedLegalEntity;
|
|
1613
|
-
const associatedLeTrackingParams =
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
}),
|
|
1617
|
-
[associatedLegalArrangement]
|
|
1618
|
-
);
|
|
1603
|
+
const associatedLeTrackingParams = getAssociatedLeAnalyticsPayload({
|
|
1604
|
+
associatedLegalEntity: associatedLegalArrangement
|
|
1605
|
+
});
|
|
1619
1606
|
useEffect(() => {
|
|
1620
1607
|
userEvents.updateBaseTrackingPayload({ task: taskType });
|
|
1621
1608
|
userEvents.addTaskEvent("Landed on page", {
|
|
@@ -1632,7 +1619,7 @@ function BusinessDetailsDropin({
|
|
|
1632
1619
|
});
|
|
1633
1620
|
const [trustedFields, setTrustedFields] = useState((subjectEntity == null ? void 0 : subjectEntity.trustedFields) ?? void 0);
|
|
1634
1621
|
const [currentProblems, setCurrentProblems] = useState(
|
|
1635
|
-
problems ?? ((
|
|
1622
|
+
problems ?? ((_f = (_e = getCapabilityProblems(legalEntityResponse, currentCountry)) == null ? void 0 : _e.LegalEntity) == null ? void 0 : _f[legalEntityResponse.id])
|
|
1636
1623
|
);
|
|
1637
1624
|
const [showCompanyStructure, setShowCompanyStructure] = useState(
|
|
1638
1625
|
currentCountry !== "US" && !isSoleProp
|
|
@@ -1745,10 +1732,10 @@ function BusinessDetailsDropin({
|
|
|
1745
1732
|
}
|
|
1746
1733
|
);
|
|
1747
1734
|
const companySearchResults = companySearchResponse == null ? void 0 : companySearchResponse.results;
|
|
1748
|
-
const businessName = ((
|
|
1749
|
-
const nameMatch = isNormalizedStringMatch(businessName, ((
|
|
1750
|
-
const taxInformation = (
|
|
1751
|
-
const tin = ((
|
|
1735
|
+
const businessName = ((_h = (_g = currentState == null ? void 0 : currentState.data) == null ? void 0 : _g.basicInformation) == null ? void 0 : _h.legalCompanyName) || "";
|
|
1736
|
+
const nameMatch = isNormalizedStringMatch(businessName, ((_i = companySearchResults == null ? void 0 : companySearchResults[0]) == null ? void 0 : _i.name) ?? "");
|
|
1737
|
+
const taxInformation = (_k = (_j = currentState == null ? void 0 : currentState.data) == null ? void 0 : _j.basicInformation) == null ? void 0 : _k.taxInformation;
|
|
1738
|
+
const tin = ((_l = taxInformation == null ? void 0 : taxInformation.find((taxId) => currentCountry === taxId.country)) == null ? void 0 : _l.number) || "";
|
|
1752
1739
|
const [prevCompanySearchResults, setPrevCompanySearchResults] = useState(companySearchResults);
|
|
1753
1740
|
const { data: singleCompanyDatasetResponse, isLoading: fetchingDataset } = useCompanyDataset(
|
|
1754
1741
|
singleCompanyDatasetParams,
|
|
@@ -1879,7 +1866,7 @@ function BusinessDetailsDropin({
|
|
|
1879
1866
|
const loading = fetchingDataset || verifyingTin || searchingCompanies || resettingTrustedData;
|
|
1880
1867
|
const proceedToManualDataEntry = useCallback(async () => {
|
|
1881
1868
|
await clearCompanyData2().then(async () => {
|
|
1882
|
-
if (!
|
|
1869
|
+
if (!isUS) {
|
|
1883
1870
|
setShowCompanyStructure(true);
|
|
1884
1871
|
return;
|
|
1885
1872
|
}
|
|
@@ -1906,7 +1893,7 @@ function BusinessDetailsDropin({
|
|
|
1906
1893
|
});
|
|
1907
1894
|
}, [
|
|
1908
1895
|
clearCompanyData2,
|
|
1909
|
-
|
|
1896
|
+
isUS,
|
|
1910
1897
|
businessName,
|
|
1911
1898
|
tin,
|
|
1912
1899
|
fetchTin,
|
|
@@ -1918,7 +1905,7 @@ function BusinessDetailsDropin({
|
|
|
1918
1905
|
if ((companySearchResults == null ? void 0 : companySearchResults.length) === 1 && nameMatch) {
|
|
1919
1906
|
setSingleCompanyDatasetParams({
|
|
1920
1907
|
company: companySearchResults[0],
|
|
1921
|
-
state: (
|
|
1908
|
+
state: (_m = currentState.data.basicInformation) == null ? void 0 : _m.stateOrProvince
|
|
1922
1909
|
});
|
|
1923
1910
|
if ((tinResponse == null ? void 0 : tinResponse.matched) === true) {
|
|
1924
1911
|
handleNextClick();
|
|
@@ -1928,22 +1915,10 @@ function BusinessDetailsDropin({
|
|
|
1928
1915
|
}
|
|
1929
1916
|
setPrevCompanySearchResults(companySearchResults);
|
|
1930
1917
|
}
|
|
1931
|
-
const isBusinessSelection =
|
|
1932
|
-
() => showBusinessSelection && activeForm.formId === formWith2Views,
|
|
1933
|
-
[activeForm.formId, showBusinessSelection]
|
|
1934
|
-
);
|
|
1918
|
+
const isBusinessSelection = showBusinessSelection && activeForm.formId === formWith2Views;
|
|
1935
1919
|
const hideFooter = isBusinessSelection === true && loading;
|
|
1936
|
-
const hideNextButton =
|
|
1937
|
-
|
|
1938
|
-
else return false;
|
|
1939
|
-
}, [activeForm.formId, isBusinessSelection]);
|
|
1940
|
-
const showBackButton = useMemo(() => {
|
|
1941
|
-
if (!COUNTRIES_USING_COMPANY_SEARCH.includes(currentCountry)) return false;
|
|
1942
|
-
if (isBusinessSelection) {
|
|
1943
|
-
return loading;
|
|
1944
|
-
}
|
|
1945
|
-
return false;
|
|
1946
|
-
}, [currentCountry, isBusinessSelection, loading]);
|
|
1920
|
+
const hideNextButton = activeForm.formId === formWith2Views ? isBusinessSelection : false;
|
|
1921
|
+
const showBackButton = !COUNTRIES_USING_COMPANY_SEARCH.includes(currentCountry) ? false : isBusinessSelection ? loading : false;
|
|
1947
1922
|
const goToForm = useCallback(
|
|
1948
1923
|
(index) => {
|
|
1949
1924
|
if (!COUNTRIES_USING_COMPANY_SEARCH.includes(currentCountry)) {
|
|
@@ -2003,11 +1978,11 @@ function BusinessDetailsDropin({
|
|
|
2003
1978
|
handleNextClick,
|
|
2004
1979
|
forms,
|
|
2005
1980
|
activeForm.formId,
|
|
2006
|
-
(
|
|
2007
|
-
(
|
|
2008
|
-
(
|
|
2009
|
-
(
|
|
2010
|
-
(
|
|
1981
|
+
(_n = currentState.validityByForm) == null ? void 0 : _n.basicInformation,
|
|
1982
|
+
(_o = currentState == null ? void 0 : currentState.data.basicInformation) == null ? void 0 : _o.legalCompanyName,
|
|
1983
|
+
(_p = currentState == null ? void 0 : currentState.data.basicInformation) == null ? void 0 : _p.country,
|
|
1984
|
+
(_q = currentState == null ? void 0 : currentState.data.basicInformation) == null ? void 0 : _q.stateOrProvince,
|
|
1985
|
+
(_r = currentState == null ? void 0 : currentState.data.basicInformation) == null ? void 0 : _r.registrationNumber,
|
|
2011
1986
|
isBusinessSelection,
|
|
2012
1987
|
verifiedBusiness$1,
|
|
2013
1988
|
userEvents,
|
|
@@ -2113,24 +2088,23 @@ function BusinessDetailsDropin({
|
|
|
2113
2088
|
queryClient
|
|
2114
2089
|
]);
|
|
2115
2090
|
useEffect(() => {
|
|
2116
|
-
var _a2, _b2;
|
|
2117
|
-
if (((_a2 = currentState.data.basicInformation) == null ? void 0 : _a2.legalCompanyName) !== (verifiedBusiness$1 == null ? void 0 : verifiedBusiness$1.name) && ((_b2 = currentState.data.basicInformation) == null ? void 0 : _b2.legalCompanyName) !== companySearchParams.legalCompanyName) {
|
|
2091
|
+
var _a2, _b2, _c2;
|
|
2092
|
+
if (((_a2 = currentState.data.basicInformation) == null ? void 0 : _a2.legalCompanyName) !== (verifiedBusiness$1 == null ? void 0 : verifiedBusiness$1.name) && (((_b2 = currentState.data.basicInformation) == null ? void 0 : _b2.legalCompanyName) !== companySearchParams.legalCompanyName || ((_c2 = currentState.data.basicInformation) == null ? void 0 : _c2.stateOrProvince) !== companySearchParams.stateOrProvince)) {
|
|
2118
2093
|
setShowCompanyStructure(false);
|
|
2119
2094
|
resetBusinessData();
|
|
2120
2095
|
}
|
|
2121
2096
|
}, [
|
|
2122
2097
|
companySearchParams,
|
|
2123
2098
|
currentState.data.basicInformation,
|
|
2124
|
-
(
|
|
2099
|
+
(_s = currentState.data.basicInformation) == null ? void 0 : _s.legalCompanyName,
|
|
2125
2100
|
resetBusinessData,
|
|
2126
2101
|
verifiedBusiness$1
|
|
2127
2102
|
]);
|
|
2128
|
-
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
}, [currentCountry]);
|
|
2103
|
+
const [prevCurrentCountry, setPrevCurrentCountry] = useState(currentCountry);
|
|
2104
|
+
if (prevCurrentCountry !== currentCountry && (trustedFields == null ? void 0 : trustedFields.length) && ((_t = legalEntityResponse.organization) == null ? void 0 : _t.registeredAddress.country) !== currentCountry) {
|
|
2105
|
+
setTrustedFields(void 0);
|
|
2106
|
+
setPrevCurrentCountry(currentCountry);
|
|
2107
|
+
}
|
|
2134
2108
|
return /* @__PURE__ */ jsxs(
|
|
2135
2109
|
FormWrapper,
|
|
2136
2110
|
{
|
package/dist/{BusinessFinancingComponent-3BqQCow9.js → BusinessFinancingComponent-B0vW7r62.js}
RENAMED
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { useMemo } from "preact/hooks";
|
|
12
|
-
import { a as useLegalEntity, g as getLegalEntityCountry, L as Loader } from "./StoreProvider-
|
|
13
|
-
import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-
|
|
12
|
+
import { a as useLegalEntity, g as getLegalEntityCountry, L as Loader } from "./StoreProvider-COHi02bX.js";
|
|
13
|
+
import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-D8HAwTSq.js";
|
|
14
14
|
function BusinessFinancingComponent({
|
|
15
15
|
legalEntityId,
|
|
16
16
|
onSubmitSuccess
|
|
@@ -9,20 +9,20 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useMemo, useEffect, useCallback, useState, useRef } from "preact/hooks";
|
|
12
|
-
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
13
|
-
import { bJ as reverseMapping, z as LegalEntityType, b1 as cloneObject, an as isEmpty, q as useApiContext, r as useQuery, t as httpGet, b as useI18nContext, ax as Field, bw as Select, G as Typography, aT as RadioGroup, bK as Link, bg as InputText, b2 as currencyByCountry, bL as InputNumber, bM as InputDate, bN as Currency, bO as CURRENCY_FIELD, bP as InputCurrency, as as useForm, bQ as useGlobalDataSlice, av as ErrorPanel, aw as createFormUtils, bR as useGlobalData, bS as getAddressSchemaForCountry, bT as COUNTRIES_WITH_STATES_DATASET, bU as Address, bV as getAddressSchemaLabelsByCountry, $ as useAnalyticsContext, b4 as useInvalidateRootLegalEntity, al as useAssociatedLegalEntity, a_ as datasetUtilities, bG as useStateContext, K as useSettingsContext, M as SettingNames, bW as getAssociatedLeAnalyticsPayload, by as getFormProps, L as Loader, a3 as Icon, Z as Button } from "./StoreProvider-
|
|
14
|
-
import { h as hasDataChanged } from "./hasDataChanged-
|
|
15
|
-
import { u as useToastContext } from "./useToastContext-
|
|
16
|
-
import { u as useScenarioConfiguration, i as isValidationError, p as processValidationErrors, d as isMaintenanceModeError } from "./processValidationErrors-
|
|
17
|
-
import { g as getPropsFromConfigurations, c as composePerScenarioFormConfigurations } from "./process-field-configurations-
|
|
18
|
-
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer, t as trackNavigation } from "./dropinUtils-
|
|
19
|
-
import { F as FormEndState } from "./FormEndState-
|
|
20
|
-
import { F as FormWrapper } from "./FormWrapper-
|
|
21
|
-
import { l as localizeDateString } from "./localizeDateString-
|
|
12
|
+
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-By6uwPUg.js";
|
|
13
|
+
import { bJ as reverseMapping, z as LegalEntityType, b1 as cloneObject, an as isEmpty, q as useApiContext, r as useQuery, t as httpGet, b as useI18nContext, ax as Field, bw as Select, G as Typography, aT as RadioGroup, bK as Link, bg as InputText, b2 as currencyByCountry, bL as InputNumber, bM as InputDate, bN as Currency, bO as CURRENCY_FIELD, bP as InputCurrency, as as useForm, bQ as useGlobalDataSlice, av as ErrorPanel, aw as createFormUtils, bR as useGlobalData, bS as getAddressSchemaForCountry, bT as COUNTRIES_WITH_STATES_DATASET, bU as Address, bV as getAddressSchemaLabelsByCountry, $ as useAnalyticsContext, b4 as useInvalidateRootLegalEntity, al as useAssociatedLegalEntity, a_ as datasetUtilities, bG as useStateContext, K as useSettingsContext, M as SettingNames, bW as getAssociatedLeAnalyticsPayload, by as getFormProps, L as Loader, a3 as Icon, Z as Button } from "./StoreProvider-COHi02bX.js";
|
|
14
|
+
import { h as hasDataChanged } from "./hasDataChanged-CIg-bPSm.js";
|
|
15
|
+
import { u as useToastContext } from "./useToastContext-CF2xonft.js";
|
|
16
|
+
import { u as useScenarioConfiguration, i as isValidationError, p as processValidationErrors, d as isMaintenanceModeError } from "./processValidationErrors-RYlNmxB9.js";
|
|
17
|
+
import { g as getPropsFromConfigurations, c as composePerScenarioFormConfigurations } from "./process-field-configurations-DugpEY9k.js";
|
|
18
|
+
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer, t as trackNavigation } from "./dropinUtils-Bk0T79SK.js";
|
|
19
|
+
import { F as FormEndState } from "./FormEndState-BQOQ83vO.js";
|
|
20
|
+
import { F as FormWrapper } from "./FormWrapper-Dvm1o4tC.js";
|
|
21
|
+
import { l as localizeDateString } from "./localizeDateString-KlstHAcM.js";
|
|
22
22
|
import { f as formatObject, g as getProp } from "./utils-B1H_8b1P.js";
|
|
23
|
-
import { m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./mapFinancialReportsToFinancialInformation-
|
|
24
|
-
import { i as isEeaCountry, f as fieldsPerScenario } from "./individualFormConfig-
|
|
25
|
-
import { b as businessFinancingCompanyDetailsValidations, a as businessFinancingParentCompanyDetailsValidations } from "./validate-
|
|
23
|
+
import { m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./mapFinancialReportsToFinancialInformation-Cid31JpK.js";
|
|
24
|
+
import { i as isEeaCountry, f as fieldsPerScenario } from "./individualFormConfig-BrFLPTfr.js";
|
|
25
|
+
import { b as businessFinancingCompanyDetailsValidations, a as businessFinancingParentCompanyDetailsValidations } from "./validate-wd48TLfx.js";
|
|
26
26
|
const MANDATORY_FIELDS_BUSINESS_FINANCING = [
|
|
27
27
|
"company.numberOfEmployees",
|
|
28
28
|
"parentCompany.numberOfEmployees",
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { b as useI18nContext, a as useLegalEntity, R as ROOT_LE, L as Loader, g as getLegalEntityCountry } from "./StoreProvider-
|
|
12
|
-
import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-
|
|
11
|
+
import { b as useI18nContext, a as useLegalEntity, R as ROOT_LE, L as Loader, g as getLegalEntityCountry } from "./StoreProvider-COHi02bX.js";
|
|
12
|
+
import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-D8HAwTSq.js";
|
|
13
13
|
const BusinessFinancingPage = ({
|
|
14
14
|
onSubmit,
|
|
15
15
|
handleHomeClick
|
package/dist/{BusinessTypeSelectionPage-hI4jIyJg.js → BusinessTypeSelectionPage-sfGqHnp6.js}
RENAMED
|
@@ -8,12 +8,12 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
|
-
import { b as useI18nContext, $ as useAnalyticsContext, a5 as useExperimentsContext, U as useAccountHolder, bl as getCapabilities, g as getLegalEntityCountry, z as LegalEntityType, as as useForm, a2 as LoaderWrapper, G as Typography, ax as Field, bm as EntityTypeRadioGroupCard, aA as RadioGroupCard, Z as Button, a3 as Icon, J as hasSolePropInLegalEntity, a as useLegalEntity, R as ROOT_LE, L as Loader } from "./StoreProvider-
|
|
11
|
+
import { b as useI18nContext, $ as useAnalyticsContext, a5 as useExperimentsContext, U as useAccountHolder, bl as getCapabilities, g as getLegalEntityCountry, z as LegalEntityType, as as useForm, a2 as LoaderWrapper, G as Typography, ax as Field, bm as EntityTypeRadioGroupCard, aA as RadioGroupCard, Z as Button, a3 as Icon, J as hasSolePropInLegalEntity, a as useLegalEntity, R as ROOT_LE, L as Loader } from "./StoreProvider-COHi02bX.js";
|
|
12
12
|
import { useState, useEffect } from "preact/hooks";
|
|
13
|
-
import { a as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
13
|
+
import { a as useUpdateLegalEntity } from "./useUpdateLegalEntity-By6uwPUg.js";
|
|
14
14
|
import { S as Spacer } from "./Spacer-BK3jDget.js";
|
|
15
|
-
import { u as useToastContext } from "./useToastContext-
|
|
16
|
-
import { u as useSelectionOptions, g as getBusinessType, a as getDefaultLegalArrangementOrSuborganizationType, l as legalArrangementMetadata, b as getTargetLegalEntityType, c as businessTypeIcons, d as determineOrganizationTypeToUpdate } from "./utils-
|
|
15
|
+
import { u as useToastContext } from "./useToastContext-CF2xonft.js";
|
|
16
|
+
import { u as useSelectionOptions, g as getBusinessType, a as getDefaultLegalArrangementOrSuborganizationType, l as legalArrangementMetadata, b as getTargetLegalEntityType, c as businessTypeIcons, d as determineOrganizationTypeToUpdate } from "./utils-BPrqY9DW.js";
|
|
17
17
|
const businessTypeExamples = /* @__PURE__ */ Object.assign({ "../localized/legalEntityTypeExamples/AT.json": () => import("./AT-EpV7jN58.js"), "../localized/legalEntityTypeExamples/AU.json": () => import("./AU-pBsEvEUy.js"), "../localized/legalEntityTypeExamples/BE.json": () => import("./BE-CU5o9cmc.js"), "../localized/legalEntityTypeExamples/BR.json": () => import("./BR-ORoHRwTk.js"), "../localized/legalEntityTypeExamples/CA.json": () => import("./CA-VXNq-m6m.js"), "../localized/legalEntityTypeExamples/CH.json": () => import("./CH-B_-afpD_.js"), "../localized/legalEntityTypeExamples/CZ.json": () => import("./CZ-CTw_bQIu.js"), "../localized/legalEntityTypeExamples/DE.json": () => import("./DE-D_jIDxOH.js"), "../localized/legalEntityTypeExamples/DK.json": () => import("./DK-dBzrfgpQ.js"), "../localized/legalEntityTypeExamples/ES.json": () => import("./ES-DYbZmFcJ.js"), "../localized/legalEntityTypeExamples/FI.json": () => import("./FI-C9nRvop7.js"), "../localized/legalEntityTypeExamples/FR.json": () => import("./FR-BycGQO4W.js"), "../localized/legalEntityTypeExamples/GB.json": () => import("./GB-DFyzo5sN.js"), "../localized/legalEntityTypeExamples/HK.json": () => import("./HK-WqZ5UBEF.js"), "../localized/legalEntityTypeExamples/HR.json": () => import("./HR-CRa19tH1.js"), "../localized/legalEntityTypeExamples/HU.json": () => import("./HU-D5NCweWf.js"), "../localized/legalEntityTypeExamples/IE.json": () => import("./IE-rhATS57q.js"), "../localized/legalEntityTypeExamples/IT.json": () => import("./IT-wD7dHdYD.js"), "../localized/legalEntityTypeExamples/LT.json": () => import("./LT-0F72uCyI.js"), "../localized/legalEntityTypeExamples/NL.json": () => import("./NL-q2U2l276.js"), "../localized/legalEntityTypeExamples/NO.json": () => import("./NO-CX12Zsf_.js"), "../localized/legalEntityTypeExamples/PL.json": () => import("./PL-CwCXF3Yu.js"), "../localized/legalEntityTypeExamples/PT.json": () => import("./PT-Dei5v1nD.js"), "../localized/legalEntityTypeExamples/RO.json": () => import("./RO-Dxk08mOu.js"), "../localized/legalEntityTypeExamples/SE.json": () => import("./SE-AP3gLiyy.js"), "../localized/legalEntityTypeExamples/SG.json": () => import("./SG-DMcOb17i.js"), "../localized/legalEntityTypeExamples/SI.json": () => import("./SI-BXe-yndm.js"), "../localized/legalEntityTypeExamples/SK.json": () => import("./SK-DwdgoGnD.js"), "../localized/legalEntityTypeExamples/US.json": () => import("./US-DHxLSqeC.js") });
|
|
18
18
|
const getBusinessTypeExamplesForCountry = async (country) => {
|
|
19
19
|
const importForCountry = businessTypeExamples[`../localized/legalEntityTypeExamples/${country}.json`];
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { c as createLocalStorage, T as THEME_PREFERENCE, P as PiPProvider, a as ThemeContext, b as ParentPanel, C as ContentView, Q as QueryDevtoolsContext } from "./HASRA6WW-
|
|
11
|
-
import { e3 as getPreferredColorScheme, e4 as createMemo, e5 as createComponent } from "./StoreProvider-
|
|
10
|
+
import { c as createLocalStorage, T as THEME_PREFERENCE, P as PiPProvider, a as ThemeContext, b as ParentPanel, C as ContentView, Q as QueryDevtoolsContext } from "./HASRA6WW-C1SPXfmX.js";
|
|
11
|
+
import { e3 as getPreferredColorScheme, e4 as createMemo, e5 as createComponent } from "./StoreProvider-COHi02bX.js";
|
|
12
12
|
var DevtoolsPanelComponent = (props) => {
|
|
13
13
|
const [localStore, setLocalStore] = createLocalStorage({
|
|
14
14
|
prefix: "TanstackQueryDevtools"
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { useState } from "preact/hooks";
|
|
12
|
-
import { b as useI18nContext, G as Typography, Z as Button } from "./StoreProvider-
|
|
13
|
-
import { M as Modal } from "./Modal-
|
|
12
|
+
import { b as useI18nContext, G as Typography, Z as Button } from "./StoreProvider-COHi02bX.js";
|
|
13
|
+
import { M as Modal } from "./Modal-CRNejb1x.js";
|
|
14
14
|
const confirm = "adyen-kyc-confirm";
|
|
15
15
|
const confirmMessage = "adyen-kyc-confirm-message";
|
|
16
16
|
const confirmActions = "adyen-kyc-confirm-actions";
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { a3 as Icon } from "./StoreProvider-
|
|
11
|
+
import { a3 as Icon } from "./StoreProvider-COHi02bX.js";
|
|
12
12
|
import cx from "classnames";
|
|
13
13
|
import { useRef, useState, useEffect } from "preact/hooks";
|
|
14
14
|
const outlinedIcon = "adyen-kyc-outlined-icon";
|
package/dist/{CreateIndividualComponent-Cuh3O6Yk.js → CreateIndividualComponent-i-QNCzp0.js}
RENAMED
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { a as useLegalEntity, a5 as useExperimentsContext, L as Loader, g as getLegalEntityCountry, V as EntityType, X as TaskTypes } from "./StoreProvider-
|
|
12
|
-
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./ProviderButton-
|
|
13
|
-
import { i as isOnfidoAutofillFlowEnabled, I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-
|
|
11
|
+
import { a as useLegalEntity, a5 as useExperimentsContext, L as Loader, g as getLegalEntityCountry, V as EntityType, X as TaskTypes } from "./StoreProvider-COHi02bX.js";
|
|
12
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./ProviderButton-vD5DUJaN.js";
|
|
13
|
+
import { i as isOnfidoAutofillFlowEnabled, I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-D6uwo7VI.js";
|
|
14
14
|
const CreateIndividualComponent = ({
|
|
15
15
|
legalEntityId,
|
|
16
16
|
onSubmitSuccess,
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { useState } from "preact/hooks";
|
|
12
|
-
import { a as useLegalEntity, al as useAssociatedLegalEntity, z as LegalEntityType, L as Loader, X as TaskTypes } from "./StoreProvider-
|
|
13
|
-
import { P as PayoutDetailsDropin } from "./PayoutDetailsDropin-
|
|
12
|
+
import { a as useLegalEntity, al as useAssociatedLegalEntity, z as LegalEntityType, L as Loader, X as TaskTypes } from "./StoreProvider-COHi02bX.js";
|
|
13
|
+
import { P as PayoutDetailsDropin } from "./PayoutDetailsDropin-Bw29V8E7.js";
|
|
14
14
|
function CreateTransferInstrumentComponent({
|
|
15
15
|
legalEntityId,
|
|
16
16
|
transferInstrumentId,
|
|
@@ -8,12 +8,12 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
|
-
import { a as useLegalEntity, R as ROOT_LE, L as Loader, b as useI18nContext, $ as useAnalyticsContext, bb as useQueryClient, ap as resolveFieldMetadata, br as defaultFieldMetadata, bs as fieldConfig, bt as getAsyncPhoneValidationRules, F as FormHeader, bu as ContactDetails, aM as ActionBar, aJ as createLogger } from "./StoreProvider-
|
|
11
|
+
import { a as useLegalEntity, R as ROOT_LE, L as Loader, b as useI18nContext, $ as useAnalyticsContext, bb as useQueryClient, ap as resolveFieldMetadata, br as defaultFieldMetadata, bs as fieldConfig, bt as getAsyncPhoneValidationRules, F as FormHeader, bu as ContactDetails, aM as ActionBar, aJ as createLogger } from "./StoreProvider-COHi02bX.js";
|
|
12
12
|
import { useCallback, useMemo, useEffect } from "preact/hooks";
|
|
13
|
-
import { a as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
14
|
-
import { c as contactDetailsValidationRules, u as useValidatePhoneNumberImperatively } from "./validate-
|
|
15
|
-
import { u as useToastContext } from "./useToastContext-
|
|
16
|
-
import { u as useMultiForm } from "./useMultiForm-
|
|
13
|
+
import { a as useUpdateLegalEntity } from "./useUpdateLegalEntity-By6uwPUg.js";
|
|
14
|
+
import { c as contactDetailsValidationRules, u as useValidatePhoneNumberImperatively } from "./validate-Dyb8B4Hi.js";
|
|
15
|
+
import { u as useToastContext } from "./useToastContext-CF2xonft.js";
|
|
16
|
+
import { u as useMultiForm } from "./useMultiForm-Lh2i5tRJ.js";
|
|
17
17
|
const mapCustomerSupportSchemaToCustomerSupportType = (customerSupport) => {
|
|
18
18
|
var _a, _b, _c;
|
|
19
19
|
return {
|
|
@@ -2,17 +2,17 @@
|
|
|
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] = "9580f18f-6e18-408f-a1b9-bc8dab5a1ea0", e._sentryDebugIdIdentifier = "sentry-dbid-9580f18f-6e18-408f-a1b9-bc8dab5a1ea0");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useMemo, useState } from "preact/hooks";
|
|
12
|
-
import { Z as Button, b3 as entriesOf, bg as InputText, b as useI18nContext, bh as splitTaskIdentifier, a5 as useExperimentsContext, K as useSettingsContext, ab as useGlobalStore, bi as listToRecord, bj as valuesOf, aJ as createLogger, a3 as Icon, M as SettingNames } from "./StoreProvider-
|
|
13
|
-
import { M as Modal } from "./Modal-
|
|
12
|
+
import { Z as Button, b3 as entriesOf, bg as InputText, b as useI18nContext, bh as splitTaskIdentifier, a5 as useExperimentsContext, K as useSettingsContext, ab as useGlobalStore, bi as listToRecord, bj as valuesOf, aJ as createLogger, a3 as Icon, M as SettingNames } from "./StoreProvider-COHi02bX.js";
|
|
13
|
+
import { M as Modal } from "./Modal-CRNejb1x.js";
|
|
14
14
|
import { T as Tag } from "./Tag-DdkVScyr.js";
|
|
15
|
-
import { T as TaskItemStatus } from "./TaskItemStatus-
|
|
15
|
+
import { T as TaskItemStatus } from "./TaskItemStatus-Bi1L8gea.js";
|
|
16
16
|
var ExperimentNames = /* @__PURE__ */ ((ExperimentNames2) => {
|
|
17
17
|
ExperimentNames2["AllowMoreRolesForMainRootTrustee"] = "AllowMoreRolesForMainRootTrustee";
|
|
18
18
|
ExperimentNames2["ShowUnsupportedEntityType"] = "ShowUnsupportedEntityType";
|
|
@@ -180,10 +180,10 @@ const transformModule = (highlights, codeNode, scope) => {
|
|
|
180
180
|
};
|
|
181
181
|
const supportedModules = ["plaintext", "json", "yaml", "css"];
|
|
182
182
|
const moduleMap = {
|
|
183
|
-
plaintext: () => import("./plaintext-
|
|
184
|
-
json: () => import("./json-
|
|
185
|
-
yaml: () => import("./yaml-
|
|
186
|
-
css: () => import("./css-
|
|
183
|
+
plaintext: () => import("./plaintext-jF9fCLMp.js"),
|
|
184
|
+
json: () => import("./json-DGARJCng.js"),
|
|
185
|
+
yaml: () => import("./yaml-Ba_Tz8d4.js"),
|
|
186
|
+
css: () => import("./css-DZNXkIaY.js")
|
|
187
187
|
};
|
|
188
188
|
const getModule = async (name) => {
|
|
189
189
|
if (!supportedModules.includes(name)) {
|
|
@@ -474,7 +474,7 @@ const DebugModal = ({ onExit }) => {
|
|
|
474
474
|
const [tab, setTab] = useState("metadata");
|
|
475
475
|
const rootLegalEntity = useGlobalStore().rootLegalEntity.value;
|
|
476
476
|
const metadata = {
|
|
477
|
-
sdkVersion: "
|
|
477
|
+
sdkVersion: "4.0.0-beta.0",
|
|
478
478
|
locale: i18n.locale,
|
|
479
479
|
rootLegalEntityId: rootLegalEntity.id
|
|
480
480
|
};
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { a as useLegalEntity, x as skipToken, a5 as useExperimentsContext, L as Loader, g as getLegalEntityCountry, V as EntityType, X as TaskTypes, a4 as noop } from "./StoreProvider-
|
|
12
|
-
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./ProviderButton-
|
|
13
|
-
import { i as isOnfidoAutofillFlowEnabled, I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-
|
|
11
|
+
import { a as useLegalEntity, x as skipToken, a5 as useExperimentsContext, L as Loader, g as getLegalEntityCountry, V as EntityType, X as TaskTypes, a4 as noop } from "./StoreProvider-COHi02bX.js";
|
|
12
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./ProviderButton-vD5DUJaN.js";
|
|
13
|
+
import { i as isOnfidoAutofillFlowEnabled, I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-D6uwo7VI.js";
|
|
14
14
|
function DecisionMakerDetailsPage({
|
|
15
15
|
decisionMakerId,
|
|
16
16
|
parentCompanyId,
|
|
@@ -9,11 +9,11 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { useState, useEffect } from "preact/hooks";
|
|
12
|
-
import { a as useLegalEntity, R as ROOT_LE, L as Loader, a8 as useGetTaskStatus, b as useI18nContext, $ as useAnalyticsContext, bn as getOwnDecisionMakers, bo as getAvailableDecisionMakerRoleTypes, X as TaskTypes, bp as getAllowedDecisionMakerRoles, F as FormHeader, aS as ContextGuidance, bq as DecisionMakerType, C as Alert, a9 as CardGroup, Z as Button, aM as ActionBar } from "./StoreProvider-
|
|
13
|
-
import { a as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
14
|
-
import { u as useToastContext } from "./useToastContext-
|
|
15
|
-
import { b as useDataMissingRemediations, D as DropinLayout, E as EntityGuidanceStatus, i as iconStatus, c as EntityAssociation } from "./OnboardingDropinComponent-
|
|
16
|
-
import { u as useCapabilityProblems } from "./ProviderButton-
|
|
12
|
+
import { a as useLegalEntity, R as ROOT_LE, L as Loader, a8 as useGetTaskStatus, b as useI18nContext, $ as useAnalyticsContext, bn as getOwnDecisionMakers, bo as getAvailableDecisionMakerRoleTypes, X as TaskTypes, bp as getAllowedDecisionMakerRoles, F as FormHeader, aS as ContextGuidance, bq as DecisionMakerType, C as Alert, a9 as CardGroup, Z as Button, aM as ActionBar } from "./StoreProvider-COHi02bX.js";
|
|
13
|
+
import { a as useUpdateLegalEntity } from "./useUpdateLegalEntity-By6uwPUg.js";
|
|
14
|
+
import { u as useToastContext } from "./useToastContext-CF2xonft.js";
|
|
15
|
+
import { b as useDataMissingRemediations, D as DropinLayout, E as EntityGuidanceStatus, i as iconStatus, c as EntityAssociation } from "./OnboardingDropinComponent-CocnpjvA.js";
|
|
16
|
+
import { u as useCapabilityProblems } from "./ProviderButton-vD5DUJaN.js";
|
|
17
17
|
const DecisionMakers = (props) => {
|
|
18
18
|
const { data, isLoading } = useLegalEntity(ROOT_LE);
|
|
19
19
|
if (isLoading || !data) {
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import { A as Avatar } from "./Avatar-
|
|
13
|
-
import { Y as TaskStatus, b as useI18nContext, B as Skeleton, G as Typography } from "./StoreProvider-
|
|
12
|
+
import { A as Avatar } from "./Avatar-C8aZB2wq.js";
|
|
13
|
+
import { Y as TaskStatus, b as useI18nContext, B as Skeleton, G as Typography } from "./StoreProvider-COHi02bX.js";
|
|
14
14
|
import { T as Tag } from "./Tag-DdkVScyr.js";
|
|
15
15
|
import { O as OnboardingStatus } from "./view-verification-status-DTkA8PtO.js";
|
|
16
16
|
const embeddedStatus = "adyen-kyc-embedded-status";
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
12
|
import { defineSlots } from "named-slots";
|
|
13
|
-
import { a3 as Icon, A as AlertIcon } from "./StoreProvider-
|
|
13
|
+
import { a3 as Icon, A as AlertIcon } from "./StoreProvider-COHi02bX.js";
|
|
14
14
|
const FormEndState = ({ variant = "success", children, className }) => {
|
|
15
15
|
const Slot = defineSlots(children, ["title", "content", "icon", "actions"]);
|
|
16
16
|
return /* @__PURE__ */ jsxs(
|
|
@@ -9,11 +9,11 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { useMemo, useRef, useState } from "preact/hooks";
|
|
12
|
-
import { dd as FormContext, $ as useAnalyticsContext, b as useI18nContext, a2 as LoaderWrapper, aL as Summary, Z as Button, _ as IconButton } from "./StoreProvider-
|
|
12
|
+
import { dd as FormContext, $ as useAnalyticsContext, b as useI18nContext, a2 as LoaderWrapper, aL as Summary, Z as Button, _ as IconButton } from "./StoreProvider-COHi02bX.js";
|
|
13
13
|
import cx from "classnames";
|
|
14
|
-
import { M as MaybeModal } from "./MaybeModal-
|
|
15
|
-
import { F as FormRouterContextProvider } from "./dropinUtils-
|
|
16
|
-
import { C as Confirm } from "./Confirm-
|
|
14
|
+
import { M as MaybeModal } from "./MaybeModal-Djz8fRfd.js";
|
|
15
|
+
import { F as FormRouterContextProvider } from "./dropinUtils-Bk0T79SK.js";
|
|
16
|
+
import { C as Confirm } from "./Confirm-okTxq40p.js";
|
|
17
17
|
function FormContextProvider({
|
|
18
18
|
children,
|
|
19
19
|
form
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import { b as useI18nContext, a3 as Icon, bc as globalStyles, bd as KEYBOARD_KEYS, $ as useAnalyticsContext, G as Typography, a4 as noop } from "./StoreProvider-
|
|
12
|
+
import { b as useI18nContext, a3 as Icon, bc as globalStyles, bd as KEYBOARD_KEYS, $ as useAnalyticsContext, G as Typography, a4 as noop } from "./StoreProvider-COHi02bX.js";
|
|
13
13
|
const FormNavigationItem = ({
|
|
14
14
|
form,
|
|
15
15
|
isActive,
|