@adyen/kyc-components 3.90.0 → 3.90.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AcceptTermsOfServiceComponent-jlzA4hRO.js → AcceptTermsOfServiceComponent-rHbpLgiw.js} +12 -12
- package/dist/{Accordion-48qDUfrn.js → Accordion-bNe23ft-.js} +1 -1
- package/dist/{AccountSetupRejected-eL8cEb4U.js → AccountSetupRejected-r41b_IBZ.js} +3 -3
- package/dist/{ActionBar-BO6XSNuM.js → ActionBar-Dis5nYqm.js} +1 -1
- package/dist/{Address-BCTZUD2J.js → Address-yCSNuL5Z.js} +7 -7
- package/dist/{Alert-DlSROjS7.js → Alert-BwI1gE5-.js} +2 -2
- package/dist/{Avatar-1DJaB2Fj.js → Avatar-1gT2TOqE.js} +1 -1
- package/dist/{BusinessDetailsDropin-lXErWzqC.js → BusinessDetailsDropin-DN-h5hoU.js} +27 -27
- package/dist/{BusinessFinancingComponent-C6wgWrZx.js → BusinessFinancingComponent-DoZY3vBl.js} +4 -4
- package/dist/{BusinessFinancingDropin-Doz0wI42.js → BusinessFinancingDropin-BUPkJPvR.js} +21 -21
- package/dist/{BusinessFinancingPage-CWkMdnqc.js → BusinessFinancingPage-DlRDYso0.js} +3 -3
- package/dist/{BusinessTypeSelectionPage-DFJqkG5_.js → BusinessTypeSelectionPage-H5Rr-qjO.js} +7 -7
- package/dist/{Card-I1r9oUx8.js → Card-BqxNTWDR.js} +2 -2
- package/dist/{ConstitutionalDocument-DdFjrLEq.js → ConstitutionalDocument-DQ2y25Wo.js} +2 -2
- package/dist/{CountryField-BO-n2nAh.js → CountryField-0kaLf2ip.js} +5 -5
- package/dist/{CreateIndividualComponent-D14kgQET.js → CreateIndividualComponent-CKoFrGSA.js} +4 -4
- package/dist/{CreateTransferInstrumentComponent-DOM7CWHW.js → CreateTransferInstrumentComponent-27-zWC7w.js} +4 -4
- package/dist/{Currency-U_NBiYL_.js → Currency-BPrz2Bvj.js} +4 -4
- package/dist/{CustomerSupport-gUFWyk3X.js → CustomerSupport-Let8plHp.js} +9 -9
- package/dist/{DebugModal-B-9dnXq3.js → DebugModal-COjbEBUs.js} +7 -7
- package/dist/{DecisionMakerDetailsPage-Y59IaBti.js → DecisionMakerDetailsPage-DIhFG7Pm.js} +5 -5
- package/dist/{DecisionMakers-CXX7UaII.js → DecisionMakers-p-wru8jq.js} +19 -19
- package/dist/{EmbeddedStatus-DY5iLZFD.js → EmbeddedStatus-CbWjM1iG.js} +2 -2
- package/dist/{EndStateLayout-CwW4wDY8.js → EndStateLayout-zmc2wXNu.js} +1 -1
- package/dist/{EntityAssociation-CYAh0KGI.js → EntityAssociation-DaOk478U.js} +7 -7
- package/dist/{EntityGuidanceStatus-Dkb_9kLQ.js → EntityGuidanceStatus-C52S57_B.js} +2 -2
- package/dist/{FormFlow-Dgc0gB-O.js → FormFlow-Bv1422cp.js} +7 -7
- package/dist/{FormNavigation-BE3rLf_S.js → FormNavigation-CeOkSTKj.js} +2 -2
- package/dist/{FormWrapper-B7su5eh3.js → FormWrapper-DozSnYxU.js} +9 -9
- package/dist/{IndividualOnfido-DH3VYYau.js → IndividualOnfido-DH3MaGPp.js} +13 -13
- package/dist/{IndividualOnfidoDropin-SiWSMsi9.js → IndividualOnfidoDropin-CMvXInSa.js} +26 -26
- package/dist/{InputText-DR70nC51.js → InputText-E3bqmvue.js} +2 -2
- package/dist/{Introduction-C2X6DyHw.js → Introduction-BLV8LKKc.js} +3 -3
- package/dist/{JpAddress-CvQyBExq.js → JpAddress-D6Gj6H63.js} +7 -7
- package/dist/{LegalRepresentativeDetailsPage-Wf7cQkQn.js → LegalRepresentativeDetailsPage-Dy5UJGSJ.js} +3 -3
- package/dist/{ListItem-BBHNYCCw.js → ListItem-CNkfdEc2.js} +2 -2
- package/dist/{ManageIndividualComponent-DPh2Jp_T.js → ManageIndividualComponent-3ycR2pfZ.js} +4 -4
- package/dist/{ManageTermsOfServiceComponent-4-iML1dO.js → ManageTermsOfServiceComponent-DPc1GRjG.js} +4 -4
- package/dist/{ManageTransferInstrumentComponent-D8MMBSWg.js → ManageTransferInstrumentComponent-CIg_pns4.js} +11 -11
- package/dist/{MaybeModal-Us27ek4u.js → MaybeModal-CdOrwKiX.js} +2 -2
- package/dist/{Modal-W8cfdxrr.js → Modal-CCNcDrnP.js} +1 -1
- package/dist/{OnboardingDropinComponent-HHq3dL3N.js → OnboardingDropinComponent-CLupKd1b.js} +54 -53
- package/dist/{PayoutDetailsDropin-M9FYw20B.js → PayoutDetailsDropin-CEV9cjQf.js} +26 -26
- package/dist/{Review-CUNKnKSZ.js → Review-otEDatuj.js} +6 -6
- package/dist/{RootBusinessDetailsPage-DC0qALED.js → RootBusinessDetailsPage-BOgszPAQ.js} +4 -4
- package/dist/{RootBusinessLinesPage-B8gUQ93t.js → RootBusinessLinesPage-GYAoDeKt.js} +22 -22
- package/dist/{RootIndividualDetailsPage-ULrh2_YN.js → RootIndividualDetailsPage-D9zsUi0y.js} +5 -5
- package/dist/{SignPCIComponent-MnotetIL.js → SignPCIComponent-BL7aG_Ax.js} +9 -9
- package/dist/{SingpassSelection-BWdMU1Lv.js → SingpassSelection-Dnh00Fel.js} +3 -3
- package/dist/{SoleProprietorshipPage-C9mxOyGm.js → SoleProprietorshipPage-Dm094P92.js} +3 -3
- package/dist/{SourceOfFundsPage-bptpOZNp.js → SourceOfFundsPage-b1c_Y4Gv.js} +24 -24
- package/dist/{Spacer-D-c-0ch_.js → Spacer-DNqjKZqD.js} +8 -8
- package/dist/{StepProgressIndicator--8FNnauI.js → StepProgressIndicator-BwSGwPBX.js} +1 -1
- package/dist/{StoreProvider-D_0Pta7w.js → StoreProvider-CGako8b0.js} +4 -4
- package/dist/{Summary-D741mrWG.js → Summary-Cyl7hd3z.js} +3 -3
- package/dist/{TaxReportingDropin-D2gjRJag.js → TaxReportingDropin-CtEcxZE3.js} +15 -15
- package/dist/{TrustDetailsPage-Dj64OqRJ.js → TrustDetailsPage-mQFzwpXO.js} +26 -26
- package/dist/{TrustMemberCompanyPage-DlnCvpf5.js → TrustMemberCompanyPage-9OQMcPjI.js} +4 -4
- package/dist/{TrustMemberIndividualPage-D8LSPYGf.js → TrustMemberIndividualPage-CLF0ZjQl.js} +3 -3
- package/dist/{TrustMemberRoleAndTypePage-CN7oQduU.js → TrustMemberRoleAndTypePage-DM3iM-UO.js} +13 -13
- package/dist/{TrustMembersOverview-C2VH8NIl.js → TrustMembersOverview-CMebQqlZ.js} +11 -11
- package/dist/{UnincorporatedPartnershipIndividualPage-fN2QrGh4.js → UnincorporatedPartnershipIndividualPage-ALWIbSyC.js} +3 -3
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-BUEeNfv-.js → UnincorporatedPartnershipMemberCompanyPage-CoclwaxX.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-DeUAOKnx.js → UnincorporatedPartnershipMemberRoleAndTypePage-Cy55bZFw.js} +8 -8
- package/dist/{UnincorporatedPartnershipMembersOverview-EeE4JNAc.js → UnincorporatedPartnershipMembersOverview-hV4By7Y1.js} +8 -8
- package/dist/{VerificationErrorAlert-COgw5uh1.js → VerificationErrorAlert-DFNMQiBs.js} +3 -3
- package/dist/{ViewVerificationStatusComponent-CaPz-G-G.js → ViewVerificationStatusComponent-Bey8W2EX.js} +3 -3
- package/dist/adyen-business-financing.js +2 -2
- package/dist/adyen-individual-configuration.js +2 -2
- package/dist/adyen-individual-status.js +2 -2
- package/dist/adyen-kyc-components.js +20 -20
- 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/{debouncedInputEvent-ZbuNEN6W.js → debouncedInputEvent-eHK9LXJg.js} +1 -1
- package/dist/{documentUtils-XUGK4RIp.js → documentUtils-CQe8F0JI.js} +2 -2
- package/dist/{dropinUtils-Dggo6PZA.js → dropinUtils-JfkUzj5m.js} +3 -3
- package/dist/{getFieldsWithExistingData-KwCfBJn2.js → getFieldsWithExistingData-DHMh2qiJ.js} +1 -1
- package/dist/{getName-B1UTZRuu.js → getName-3tkBO1jL.js} +1 -1
- package/dist/{hasDataChanged-CSn4V18R.js → hasDataChanged-ca7QwDb4.js} +1 -1
- package/dist/{iframeWidget-BDp1ajgy.js → iframeWidget-Dtk68KgN.js} +3 -3
- package/dist/{localizeDateString-CZrFwyd0.js → localizeDateString-C-Jph6zP.js} +1 -1
- package/dist/{mapExistingFile-D5fqNt1l.js → mapExistingFile-1urJeRPC.js} +2 -2
- package/dist/{mapFinancialReportsToFinancialInformation-eCMwJnwj.js → mapFinancialReportsToFinancialInformation-8RB3ttN_.js} +2 -2
- package/dist/{mapJpAddressSchemaToAddressLocalizations-i8O5_wuI.js → mapJpAddressSchemaToAddressLocalizations-CA7YxKdZ.js} +2 -2
- package/dist/{mapLegalEntityToIndividualOnfidoSchema-Cyg_384J.js → mapLegalEntityToIndividualOnfidoSchema-BnjzuvKj.js} +2 -2
- package/dist/{mapTransferInstrumentToPayoutAccount-BOYDxAUf.js → mapTransferInstrumentToPayoutAccount-C2qh0VSM.js} +1 -1
- package/dist/{process-field-configurations-ClLFHxX6.js → process-field-configurations-BFhu7wxG.js} +2 -2
- package/dist/{resolveEnvironment-D8CEfrp4.js → resolveEnvironment-noyLQ0vB.js} +3 -3
- package/dist/{rules-Cr3Ka8oq.js → rules-3KdlQVvF.js} +4 -4
- package/dist/{types-DjTezJBU.js → types-CMNeqyO0.js} +1 -1
- package/dist/{types-CR2U3VAD.js → types-CdYWxOFW.js} +1 -1
- package/dist/{types-Gm2SleFm.js → types-CtoOcAS_.js} +1 -1
- package/dist/{useAssociatedLegalEntity-Pgb7_79V.js → useAssociatedLegalEntity-BWXPNWfP.js} +1 -1
- package/dist/{useCreateLegalEntity-Ba2rxRgb.js → useCreateLegalEntity-DonOl4nS.js} +1 -1
- package/dist/{useDataset-RNFlX1-i.js → useDataset-DuHP7LJl.js} +3 -3
- package/dist/{useForm-C261ZUdn.js → useForm-CBL8sHgn.js} +4 -4
- package/dist/{useGlobalData-COSDbjgb.js → useGlobalData-Bh2OmI7a.js} +2 -2
- package/dist/{useMultiForm--zHGgbxw.js → useMultiForm-DK0DX3NP.js} +3 -3
- package/dist/{useOnboardingStatus-DytPj9Ai.js → useOnboardingStatus-IvWzxag4.js} +1 -1
- package/dist/{useScenarios-eYrKID9N.js → useScenarios-DeR6rGue.js} +1 -1
- package/dist/{useTermsOfServiceStatus-BYJqq3Oi.js → useTermsOfServiceStatus-CFz_tBjI.js} +1 -1
- package/dist/{useToastContext-CqIJgGTa.js → useToastContext-Bwbh8-u5.js} +1 -1
- package/dist/{useUnincorporatedPartnershipMembers-HC3erocB.js → useUnincorporatedPartnershipMembers-DRicq_6C.js} +4 -4
- package/dist/{useUpdateBusinessLines-Dq3B1Jvy.js → useUpdateBusinessLines-CKrKEmOI.js} +1 -1
- package/dist/{useUpdateLegalEntity-BPQX_o3v.js → useUpdateLegalEntity-JgEj2H9L.js} +2 -2
- package/dist/{utils-BbmGXGUy.js → utils-DnZtpTJ-.js} +5 -5
- package/dist/{utils-B_eQ3Eny.js → utils-DrbHJZYU.js} +3 -3
- package/dist/{validate-ArlZWHo0.js → validate-BZ1lC0ot.js} +1 -1
- package/dist/{validate-B_v0PjtX.js → validate-DSeAPAYm.js} +1 -1
- package/dist/{validationError-BQZWqXfp.js → validationError-DXBqMDWR.js} +1 -1
- package/package.json +1 -1
|
@@ -8,16 +8,16 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
|
-
import { c as useLegalEntity, R as ROOT_LE, L as Loader, M as EntityTypes, u as useTranslation, a2 as useAnalyticsContext, a1 as useQueryClient, P as createLogger } from "./StoreProvider-
|
|
11
|
+
import { c as useLegalEntity, R as ROOT_LE, L as Loader, M as EntityTypes, u as useTranslation, a2 as useAnalyticsContext, a1 as useQueryClient, P as createLogger } from "./StoreProvider-CGako8b0.js";
|
|
12
12
|
import { useCallback, useMemo, useEffect } from "preact/hooks";
|
|
13
|
-
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
14
|
-
import { c as contactDetailsValidationRules, u as useValidatePhoneNumberImperatively } from "./validate-
|
|
15
|
-
import { H as Header, E as ErrorPanel, c as createFormUtils } from "./CountryField-
|
|
16
|
-
import { a as useToastContext } from "./useToastContext-
|
|
17
|
-
import { u as useMultiForm } from "./useMultiForm
|
|
18
|
-
import { i as useCapabilityProblems, j as getProblemsForEntity, r as resolveFieldMetadata } from "./Spacer-
|
|
19
|
-
import { A as ActionBar } from "./ActionBar-
|
|
20
|
-
import { z as defaultFieldMetadata, A as fieldConfig, F as getAsyncPhoneValidationRules, Z as ContactDetails } from "./IndividualOnfido-
|
|
13
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-JgEj2H9L.js";
|
|
14
|
+
import { c as contactDetailsValidationRules, u as useValidatePhoneNumberImperatively } from "./validate-DSeAPAYm.js";
|
|
15
|
+
import { H as Header, E as ErrorPanel, c as createFormUtils } from "./CountryField-0kaLf2ip.js";
|
|
16
|
+
import { a as useToastContext } from "./useToastContext-Bwbh8-u5.js";
|
|
17
|
+
import { u as useMultiForm } from "./useMultiForm-DK0DX3NP.js";
|
|
18
|
+
import { i as useCapabilityProblems, j as getProblemsForEntity, r as resolveFieldMetadata } from "./Spacer-DNqjKZqD.js";
|
|
19
|
+
import { A as ActionBar } from "./ActionBar-Dis5nYqm.js";
|
|
20
|
+
import { z as defaultFieldMetadata, A as fieldConfig, F as getAsyncPhoneValidationRules, Z as ContactDetails } from "./IndividualOnfido-DH3MaGPp.js";
|
|
21
21
|
const mapCustomerSupportSchemaToCustomerSupportType = (customerSupport) => {
|
|
22
22
|
return {
|
|
23
23
|
email: customerSupport?.customerSupport?.email || "",
|
|
@@ -2,20 +2,20 @@
|
|
|
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] = "b8904210-eb42-4e88-8599-46a6d6289f00", e._sentryDebugIdIdentifier = "sentry-dbid-b8904210-eb42-4e88-8599-46a6d6289f00");
|
|
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 { B as Button, a0 as entriesOf, u as useTranslation, bx as splitTaskIdentifier, X as useExperimentsContext, o as useSettingsContext, V as useI18nContext, a8 as useGlobalStore, ax as listToRecord, by as valuesOf, P as createLogger, a3 as Icon } from "./StoreProvider-
|
|
13
|
-
import { M as Modal } from "./Modal-
|
|
12
|
+
import { B as Button, a0 as entriesOf, u as useTranslation, bx as splitTaskIdentifier, X as useExperimentsContext, o as useSettingsContext, V as useI18nContext, a8 as useGlobalStore, ax as listToRecord, by as valuesOf, P as createLogger, a3 as Icon } from "./StoreProvider-CGako8b0.js";
|
|
13
|
+
import { M as Modal } from "./Modal-CCNcDrnP.js";
|
|
14
14
|
import { E as ExperimentNames } from "./types-Dk94b8kx.js";
|
|
15
|
-
import { I as InputText, T as TaskVerificationStatus, S as SettingNames } from "./InputText-
|
|
15
|
+
import { I as InputText, T as TaskVerificationStatus, S as SettingNames } from "./InputText-E3bqmvue.js";
|
|
16
16
|
import { T as Tag } from "./Tag-DdkVScyr.js";
|
|
17
|
-
import { A as Accordion } from "./Accordion-
|
|
18
|
-
import { C as Checkbox } from "./debouncedInputEvent-
|
|
17
|
+
import { A as Accordion } from "./Accordion-bNe23ft-.js";
|
|
18
|
+
import { C as Checkbox } from "./debouncedInputEvent-eHK9LXJg.js";
|
|
19
19
|
import { f as formDebugInfo } from "./debugStore-BvbyN1Oi.js";
|
|
20
20
|
import MonogonCode from "monogon/preact";
|
|
21
21
|
const tabs = "adyen-kyc-tabs";
|
|
@@ -326,7 +326,7 @@ const DebugModal = ({ onExit }) => {
|
|
|
326
326
|
const rootLegalEntity = useGlobalStore().rootLegalEntity.value;
|
|
327
327
|
const formDebugAvailable = Object.keys(formDebugInfo.value).length > 0;
|
|
328
328
|
const metadata = {
|
|
329
|
-
sdkVersion: "3.90.
|
|
329
|
+
sdkVersion: "3.90.1",
|
|
330
330
|
locale: i18n.locale,
|
|
331
331
|
rootLegalEntityId: rootLegalEntity.id
|
|
332
332
|
};
|
|
@@ -7,12 +7,12 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { c as useLegalEntity, w as skipToken, X as useExperimentsContext, g as getLegalEntityCountry, u as useTranslation, a as addResourceBundles, L as Loader, ak as isOnfidoAutofillFlowEnabled, a4 as noop, O as TaskTypes, M as EntityTypes, r as LegalEntityTypes, _ as __variableDynamicImportRuntimeHelper, bt as individualOnfidoBaseMapping, b5 as individualComponentsKeyMapping } from "./StoreProvider-
|
|
10
|
+
import { c as useLegalEntity, w as skipToken, X as useExperimentsContext, g as getLegalEntityCountry, u as useTranslation, a as addResourceBundles, L as Loader, ak as isOnfidoAutofillFlowEnabled, a4 as noop, O as TaskTypes, M as EntityTypes, r as LegalEntityTypes, _ as __variableDynamicImportRuntimeHelper, bt as individualOnfidoBaseMapping, b5 as individualComponentsKeyMapping } from "./StoreProvider-CGako8b0.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
|
-
import { u as useScenarios } from "./useScenarios-
|
|
13
|
-
import { i as useCapabilityProblems, j as getProblemsForEntity } from "./Spacer-
|
|
14
|
-
import { p as isBafinSignatoryFlow, ad as removeIdVerificationProblemsForBafinSignatory, g as getTrustedFieldsProvider, D as getTrustedFields, Y as getTrustedEntityAssociations } from "./IndividualOnfido-
|
|
15
|
-
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-
|
|
12
|
+
import { u as useScenarios } from "./useScenarios-DeR6rGue.js";
|
|
13
|
+
import { i as useCapabilityProblems, j as getProblemsForEntity } from "./Spacer-DNqjKZqD.js";
|
|
14
|
+
import { p as isBafinSignatoryFlow, ad as removeIdVerificationProblemsForBafinSignatory, g as getTrustedFieldsProvider, D as getTrustedFields, Y as getTrustedEntityAssociations } from "./IndividualOnfido-DH3MaGPp.js";
|
|
15
|
+
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-CMvXInSa.js";
|
|
16
16
|
function DecisionMakerDetailsPage({
|
|
17
17
|
decisionMakerId,
|
|
18
18
|
parentCompanyId,
|
|
@@ -7,29 +7,29 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { am as DecisionMakerTypes, b6 as drop, aB as cloneObject, u as useTranslation, c as useLegalEntity, B as Button, L as Loader, G as Typography, a2 as useAnalyticsContext, R as ROOT_LE, a as addResourceBundles, a7 as useGetTaskStatus, X as useExperimentsContext, M as EntityTypes, N as DATA_MISSING_DECISION_MAKER_ERROR_CODE_MAPPING, aZ as getOwnDecisionMakers, ar as getAvailableDecisionMakerRoleTypes, O as TaskTypes, b7 as getAllowedDecisionMakerRoles, an as Trans, U as TaskStatuses, _ as __variableDynamicImportRuntimeHelper, r as LegalEntityTypes } from "./StoreProvider-
|
|
10
|
+
import { am as DecisionMakerTypes, b6 as drop, aB as cloneObject, u as useTranslation, c as useLegalEntity, B as Button, L as Loader, G as Typography, a2 as useAnalyticsContext, R as ROOT_LE, a as addResourceBundles, a7 as useGetTaskStatus, X as useExperimentsContext, M as EntityTypes, N as DATA_MISSING_DECISION_MAKER_ERROR_CODE_MAPPING, aZ as getOwnDecisionMakers, ar as getAvailableDecisionMakerRoleTypes, O as TaskTypes, b7 as getAllowedDecisionMakerRoles, an as Trans, U as TaskStatuses, _ as __variableDynamicImportRuntimeHelper, r as LegalEntityTypes } from "./StoreProvider-CGako8b0.js";
|
|
11
11
|
import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
|
|
12
12
|
import { useState, useMemo, useEffect } from "preact/hooks";
|
|
13
|
-
import { u as useScenarios } from "./useScenarios-
|
|
14
|
-
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
15
|
-
import { S as StackLayout, L as List, H as Header } from "./CountryField-
|
|
16
|
-
import { L as ListItem } from "./ListItem-
|
|
17
|
-
import { M as Modal } from "./Modal-
|
|
18
|
-
import { a as useToastContext } from "./useToastContext-
|
|
19
|
-
import { e as useDataMissingRemediations } from "./OnboardingDropinComponent-
|
|
20
|
-
import { a as Alert } from "./Alert-
|
|
21
|
-
import { I as Image, i as useCapabilityProblems, C as ContextGuidance } from "./Spacer-
|
|
22
|
-
import { A as ActionBar } from "./ActionBar-
|
|
13
|
+
import { u as useScenarios } from "./useScenarios-DeR6rGue.js";
|
|
14
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-JgEj2H9L.js";
|
|
15
|
+
import { S as StackLayout, L as List, H as Header } from "./CountryField-0kaLf2ip.js";
|
|
16
|
+
import { L as ListItem } from "./ListItem-CNkfdEc2.js";
|
|
17
|
+
import { M as Modal } from "./Modal-CCNcDrnP.js";
|
|
18
|
+
import { a as useToastContext } from "./useToastContext-Bwbh8-u5.js";
|
|
19
|
+
import { e as useDataMissingRemediations } from "./OnboardingDropinComponent-CLupKd1b.js";
|
|
20
|
+
import { a as Alert } from "./Alert-BwI1gE5-.js";
|
|
21
|
+
import { I as Image, i as useCapabilityProblems, C as ContextGuidance } from "./Spacer-DNqjKZqD.js";
|
|
22
|
+
import { A as ActionBar } from "./ActionBar-Dis5nYqm.js";
|
|
23
23
|
import { D as DropinLayout } from "./DropinLayout-CBP_cHLC.js";
|
|
24
|
-
import { E as EntityAssociation } from "./EntityAssociation-
|
|
25
|
-
import { E as EntityGuidanceStatus, i as iconStatus } from "./EntityGuidanceStatus-
|
|
26
|
-
import { T as TaskVerificationStatus } from "./InputText-
|
|
27
|
-
import { m as mapLegalEntityToIndividualOnfidoSchema, i as individualFormDefaultData } from "./mapLegalEntityToIndividualOnfidoSchema-
|
|
28
|
-
import { W as GuidanceQuestionValues, Y as getTrustedEntityAssociations, M as LandingLayout } from "./IndividualOnfido-
|
|
29
|
-
import { a as datasetUtilities, S as StructuredList, C as Confirm } from "./useDataset-
|
|
24
|
+
import { E as EntityAssociation } from "./EntityAssociation-DaOk478U.js";
|
|
25
|
+
import { E as EntityGuidanceStatus, i as iconStatus } from "./EntityGuidanceStatus-C52S57_B.js";
|
|
26
|
+
import { T as TaskVerificationStatus } from "./InputText-E3bqmvue.js";
|
|
27
|
+
import { m as mapLegalEntityToIndividualOnfidoSchema, i as individualFormDefaultData } from "./mapLegalEntityToIndividualOnfidoSchema-BnjzuvKj.js";
|
|
28
|
+
import { W as GuidanceQuestionValues, Y as getTrustedEntityAssociations, M as LandingLayout } from "./IndividualOnfido-DH3MaGPp.js";
|
|
29
|
+
import { a as datasetUtilities, S as StructuredList, C as Confirm } from "./useDataset-DuHP7LJl.js";
|
|
30
30
|
import { D as DetailViewLayout } from "./DetailViewLayout-Z9cuUp4X.js";
|
|
31
|
-
import { o as mapAddressLabels } from "./Address-
|
|
32
|
-
import { l as localizeDateString } from "./localizeDateString-
|
|
31
|
+
import { o as mapAddressLabels } from "./Address-yCSNuL5Z.js";
|
|
32
|
+
import { l as localizeDateString } from "./localizeDateString-C-Jph6zP.js";
|
|
33
33
|
import { lazy } from "preact/compat";
|
|
34
34
|
const BENEFICIAL_OWNER_ROLES = [
|
|
35
35
|
DecisionMakerTypes.OWNER,
|
|
@@ -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 { U as TaskStatuses, u as useTranslation, y as Skeleton, G as Typography } from "./StoreProvider-
|
|
12
|
+
import { A as Avatar } from "./Avatar-1gT2TOqE.js";
|
|
13
|
+
import { U as TaskStatuses, u as useTranslation, y as Skeleton, G as Typography } from "./StoreProvider-CGako8b0.js";
|
|
14
14
|
import { T as Tag } from "./Tag-DdkVScyr.js";
|
|
15
15
|
import { O as OnboardingStatuses } from "./view-verification-status-VFcBydkR.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 { isValidElement, cloneElement } from "preact";
|
|
13
|
-
import { B as Button, L as Loader, a3 as Icon } from "./StoreProvider-
|
|
13
|
+
import { B as Button, L as Loader, a3 as Icon } from "./StoreProvider-CGako8b0.js";
|
|
14
14
|
const endStateLayout = "adyen-kyc-end-state-layout";
|
|
15
15
|
const endStateLayoutHeader = "adyen-kyc-end-state-layout-header";
|
|
16
16
|
const endStateLayoutIcon = "adyen-kyc-end-state-layout-icon";
|
|
@@ -9,14 +9,14 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useRef, useCallback, useEffect, useState } from "preact/hooks";
|
|
12
|
-
import { B as Button, u as useTranslation, Y as IconButton, U as TaskStatuses, a4 as noop } from "./StoreProvider-
|
|
12
|
+
import { B as Button, u as useTranslation, Y as IconButton, U as TaskStatuses, a4 as noop } from "./StoreProvider-CGako8b0.js";
|
|
13
13
|
import { T as Tag } from "./Tag-DdkVScyr.js";
|
|
14
|
-
import { V as VerificationErrorAlert } from "./VerificationErrorAlert-
|
|
15
|
-
import { C as Card } from "./Card-
|
|
16
|
-
import { C as Confirm } from "./useDataset-
|
|
17
|
-
import { T as TaskVerificationStatus } from "./InputText-
|
|
18
|
-
import { k as handleKeys } from "./IndividualOnfido-
|
|
19
|
-
import { j as getRoleTagVariant, f as getRoleName } from "./CountryField-
|
|
14
|
+
import { V as VerificationErrorAlert } from "./VerificationErrorAlert-DFNMQiBs.js";
|
|
15
|
+
import { C as Card } from "./Card-BqxNTWDR.js";
|
|
16
|
+
import { C as Confirm } from "./useDataset-DuHP7LJl.js";
|
|
17
|
+
import { T as TaskVerificationStatus } from "./InputText-E3bqmvue.js";
|
|
18
|
+
import { k as handleKeys } from "./IndividualOnfido-DH3MaGPp.js";
|
|
19
|
+
import { j as getRoleTagVariant, f as getRoleName } from "./CountryField-0kaLf2ip.js";
|
|
20
20
|
function useClickAwayListener(ref, onClickAway) {
|
|
21
21
|
const handleClickAway = useCallback(
|
|
22
22
|
(event) => {
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { T as Tag } from "./Tag-DdkVScyr.js";
|
|
12
|
-
import { bA as getDecisionMakerDescriptionMap, O as TaskTypes, bB as TRUST_DEFAULT_DESCRIPTIONS_MAP, a3 as Icon, u as useTranslation, an as Trans } from "./StoreProvider-
|
|
13
|
-
import { U as UnincorporatedPartnershipMemberTypes, j as getRoleTagVariant, f as getRoleName } from "./CountryField-
|
|
12
|
+
import { bA as getDecisionMakerDescriptionMap, O as TaskTypes, bB as TRUST_DEFAULT_DESCRIPTIONS_MAP, a3 as Icon, u as useTranslation, an as Trans } from "./StoreProvider-CGako8b0.js";
|
|
13
|
+
import { U as UnincorporatedPartnershipMemberTypes, j as getRoleTagVariant, f as getRoleName } from "./CountryField-0kaLf2ip.js";
|
|
14
14
|
const UNINCORPORATED_PARTNERSHIP__DEFAULT_DESCRIPTIONS_MAP = {
|
|
15
15
|
[UnincorporatedPartnershipMemberTypes.SECONDARY_PARTNER]: "provideAtLeastOneSecondaryPartner",
|
|
16
16
|
[UnincorporatedPartnershipMemberTypes.OWNER]: "provideAllOwners",
|
|
@@ -9,15 +9,15 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useMemo, useRef, useState } from "preact/hooks";
|
|
12
|
-
import { F as FormContext } from "./Address-
|
|
12
|
+
import { F as FormContext } from "./Address-yCSNuL5Z.js";
|
|
13
13
|
import cx from "classnames";
|
|
14
|
-
import { a2 as useAnalyticsContext, u as useTranslation, B as Button } from "./StoreProvider-
|
|
15
|
-
import { L as LoaderWrapper } from "./useForm-
|
|
16
|
-
import { M as MaybeModal } from "./MaybeModal-
|
|
14
|
+
import { a2 as useAnalyticsContext, u as useTranslation, B as Button } from "./StoreProvider-CGako8b0.js";
|
|
15
|
+
import { L as LoaderWrapper } from "./useForm-CBL8sHgn.js";
|
|
16
|
+
import { M as MaybeModal } from "./MaybeModal-CdOrwKiX.js";
|
|
17
17
|
import { P as ProgressBar } from "./ProgressBar-B7gTQncy.js";
|
|
18
|
-
import { F as FormRouterContextProvider } from "./dropinUtils-
|
|
19
|
-
import { C as Confirm } from "./useDataset-
|
|
20
|
-
import { S as Summary } from "./Summary-
|
|
18
|
+
import { F as FormRouterContextProvider } from "./dropinUtils-JfkUzj5m.js";
|
|
19
|
+
import { C as Confirm } from "./useDataset-DuHP7LJl.js";
|
|
20
|
+
import { S as Summary } from "./Summary-Cyl7hd3z.js";
|
|
21
21
|
function FormContextProvider({
|
|
22
22
|
children,
|
|
23
23
|
form
|
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import { u as useTranslation, a3 as Icon, a2 as useAnalyticsContext, G as Typography } from "./StoreProvider-
|
|
12
|
+
import { u as useTranslation, a3 as Icon, a2 as useAnalyticsContext, G as Typography } from "./StoreProvider-CGako8b0.js";
|
|
13
13
|
import { t as trackNavigation } from "./trackNavigation-db_h46BT.js";
|
|
14
|
-
import { K as KEYBOARD_KEYS } from "./Modal-
|
|
14
|
+
import { K as KEYBOARD_KEYS } from "./Modal-CCNcDrnP.js";
|
|
15
15
|
const FormNavigationItem = ({
|
|
16
16
|
form,
|
|
17
17
|
isActive,
|
|
@@ -9,15 +9,15 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { useState } from "preact/hooks";
|
|
12
|
-
import { u as useTranslation, a2 as useAnalyticsContext, X as useExperimentsContext, B as Button } from "./StoreProvider-
|
|
13
|
-
import { L as LoaderWrapper } from "./useForm-
|
|
14
|
-
import { M as MaybeModal } from "./MaybeModal-
|
|
15
|
-
import { a as ModalContent, b as ModalHeader, c as ModalFooter } from "./Modal-
|
|
16
|
-
import { z as Spacer } from "./Spacer-
|
|
17
|
-
import { S as StepProgressIndicator } from "./StepProgressIndicator
|
|
18
|
-
import { F as FormRouterContextProvider } from "./dropinUtils-
|
|
19
|
-
import { F as FormNavigation } from "./FormNavigation-
|
|
20
|
-
import { s as summaryStep, S as Summary } from "./Summary-
|
|
12
|
+
import { u as useTranslation, a2 as useAnalyticsContext, X as useExperimentsContext, B as Button } from "./StoreProvider-CGako8b0.js";
|
|
13
|
+
import { L as LoaderWrapper } from "./useForm-CBL8sHgn.js";
|
|
14
|
+
import { M as MaybeModal } from "./MaybeModal-CdOrwKiX.js";
|
|
15
|
+
import { a as ModalContent, b as ModalHeader, c as ModalFooter } from "./Modal-CCNcDrnP.js";
|
|
16
|
+
import { z as Spacer } from "./Spacer-DNqjKZqD.js";
|
|
17
|
+
import { S as StepProgressIndicator } from "./StepProgressIndicator-BwSGwPBX.js";
|
|
18
|
+
import { F as FormRouterContextProvider } from "./dropinUtils-JfkUzj5m.js";
|
|
19
|
+
import { F as FormNavigation } from "./FormNavigation-CeOkSTKj.js";
|
|
20
|
+
import { s as summaryStep, S as Summary } from "./Summary-Cyl7hd3z.js";
|
|
21
21
|
const FormWrapper = ({
|
|
22
22
|
asModal = false,
|
|
23
23
|
summary,
|
|
@@ -9,22 +9,22 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useRef, useState, useMemo, useEffect, useContext, useCallback } from "preact/hooks";
|
|
12
|
-
import { h as useProviderStatus, R as RadioGroup, i as isDateOlderThanAYear, C as COUNTRIES_WITH_STATES_DATASET, I as InputDate, f as formatDateObj, u as useFormContext, j as addressFields, A as Address, g as getAddressSchemaForCountry, d as getAddressSchemaLabelsByCountry, k as RadioWithLabel } from "./Address-
|
|
13
|
-
import { c as createFormUtils, H as Header, E as ErrorPanel, a as Link, m as mergeFieldMetadataIntoProps, r as roleMetadata, d as getFieldProps, i as isTruthyValidator, C as CountryField, g as getFormProps, S as StackLayout, u as useFormRouterContext } from "./CountryField-
|
|
14
|
-
import { m as makeMask, d as nonInputs, n as numericInputs, s as spacer, c as alphaInputs, k as customInputs, b as alphanumericInputs, v as validatePatternOnBlur, u as uppercase, l as defaultFileValidationOptions, o as fileValidationRules, S as StateContextSetter, D as DropzoneFile, p as bytesToSize, q as DocumentGuidance, t as TextArea, w as getLocalizedIdDocumentTypeOptions, R as RadioGroupCard, C as ContextGuidance, I as Image, a as validateNotEmptyOnBlur, x as createFormRules, M as MaskedInput, r as resolveFieldMetadata, y as InputEmail, T as TrustedFieldsProviders, z as Spacer } from "./Spacer-
|
|
15
|
-
import { C as CountryCodes, W as isEmpty$1, u as useTranslation, a2 as useAnalyticsContext, B as Button, G as Typography, a3 as Icon, aj as objectsDeepEqual, c as useLegalEntity, R as ROOT_LE, al as Scenarios, am as DecisionMakerTypes, O as TaskTypes, an as Trans, b as useApiContext, j as useQuery, k as httpPost, P as createLogger, V as useI18nContext, m as httpGet, ao as SettingsContext, X as useExperimentsContext, r as LegalEntityTypes, ap as keysOf, K as useAccountHolder, a0 as entriesOf, o as useSettingsContext, aq as getLegalRepresentativeWarningMessage, a4 as noop, g as getLegalEntityCountry, ar as getAvailableDecisionMakerRoleTypes, as as allowedCountriesForNominee, at as isLowRiskCountry, au as useVersionConfiguration, L as Loader, av as getAgeRangeForLegalRepresentative, aw as isLegalRepresentativeNeeded, $ as useMutation, ax as listToRecord, ay as pick, Y as IconButton, z as translateStringOrObject } from "./StoreProvider-
|
|
12
|
+
import { h as useProviderStatus, R as RadioGroup, i as isDateOlderThanAYear, C as COUNTRIES_WITH_STATES_DATASET, I as InputDate, f as formatDateObj, u as useFormContext, j as addressFields, A as Address, g as getAddressSchemaForCountry, d as getAddressSchemaLabelsByCountry, k as RadioWithLabel } from "./Address-yCSNuL5Z.js";
|
|
13
|
+
import { c as createFormUtils, H as Header, E as ErrorPanel, a as Link, m as mergeFieldMetadataIntoProps, r as roleMetadata, d as getFieldProps, i as isTruthyValidator, C as CountryField, g as getFormProps, S as StackLayout, u as useFormRouterContext } from "./CountryField-0kaLf2ip.js";
|
|
14
|
+
import { m as makeMask, d as nonInputs, n as numericInputs, s as spacer, c as alphaInputs, k as customInputs, b as alphanumericInputs, v as validatePatternOnBlur, u as uppercase, l as defaultFileValidationOptions, o as fileValidationRules, S as StateContextSetter, D as DropzoneFile, p as bytesToSize, q as DocumentGuidance, t as TextArea, w as getLocalizedIdDocumentTypeOptions, R as RadioGroupCard, C as ContextGuidance, I as Image, a as validateNotEmptyOnBlur, x as createFormRules, M as MaskedInput, r as resolveFieldMetadata, y as InputEmail, T as TrustedFieldsProviders, z as Spacer } from "./Spacer-DNqjKZqD.js";
|
|
15
|
+
import { C as CountryCodes, W as isEmpty$1, u as useTranslation, a2 as useAnalyticsContext, B as Button, G as Typography, a3 as Icon, aj as objectsDeepEqual, c as useLegalEntity, R as ROOT_LE, al as Scenarios, am as DecisionMakerTypes, O as TaskTypes, an as Trans, b as useApiContext, j as useQuery, k as httpPost, P as createLogger, V as useI18nContext, m as httpGet, ao as SettingsContext, X as useExperimentsContext, r as LegalEntityTypes, ap as keysOf, K as useAccountHolder, a0 as entriesOf, o as useSettingsContext, aq as getLegalRepresentativeWarningMessage, a4 as noop, g as getLegalEntityCountry, ar as getAvailableDecisionMakerRoleTypes, as as allowedCountriesForNominee, at as isLowRiskCountry, au as useVersionConfiguration, L as Loader, av as getAgeRangeForLegalRepresentative, aw as isLegalRepresentativeNeeded, $ as useMutation, ax as listToRecord, ay as pick, Y as IconButton, z as translateStringOrObject } from "./StoreProvider-CGako8b0.js";
|
|
16
16
|
import { memo, lazy, forwardRef, Suspense } from "preact/compat";
|
|
17
|
-
import { u as useForm, F as Field, S as Select, L as LoaderWrapper, a as SelectListItem } from "./useForm-
|
|
18
|
-
import { I as InputText, S as SettingNames } from "./InputText-
|
|
19
|
-
import { a as Alert } from "./Alert-
|
|
17
|
+
import { u as useForm, F as Field, S as Select, L as LoaderWrapper, a as SelectListItem } from "./useForm-CBL8sHgn.js";
|
|
18
|
+
import { I as InputText, S as SettingNames } from "./InputText-E3bqmvue.js";
|
|
19
|
+
import { a as Alert } from "./Alert-BwI1gE5-.js";
|
|
20
20
|
import { signal, computed } from "@preact/signals";
|
|
21
|
-
import { u as useDataset, d as datasetIdentifier, C as Confirm, a as datasetUtilities } from "./useDataset-
|
|
21
|
+
import { u as useDataset, d as datasetIdentifier, C as Confirm, a as datasetUtilities } from "./useDataset-DuHP7LJl.js";
|
|
22
22
|
import cx from "classnames";
|
|
23
|
-
import { b as useId } from "./useToastContext-
|
|
24
|
-
import { K as KEYBOARD_KEYS, M as Modal } from "./Modal-
|
|
25
|
-
import { C as Checkbox } from "./debouncedInputEvent-
|
|
23
|
+
import { b as useId } from "./useToastContext-Bwbh8-u5.js";
|
|
24
|
+
import { K as KEYBOARD_KEYS, M as Modal } from "./Modal-CCNcDrnP.js";
|
|
25
|
+
import { C as Checkbox } from "./debouncedInputEvent-eHK9LXJg.js";
|
|
26
26
|
import { Onfido } from "onfido-sdk-ui";
|
|
27
|
-
import { l as localizeDateString } from "./localizeDateString-
|
|
27
|
+
import { l as localizeDateString } from "./localizeDateString-C-Jph6zP.js";
|
|
28
28
|
const validatePhoneCountryCodeNotEmptyOnBlur = {
|
|
29
29
|
modes: ["blur"],
|
|
30
30
|
validate: (phone) => !isEmpty$1(phone?.phoneCountryCode),
|
|
@@ -7558,7 +7558,7 @@ const additionalIdentityInfoFields = [
|
|
|
7558
7558
|
"expiryDate"
|
|
7559
7559
|
];
|
|
7560
7560
|
const LazyJpAddress = lazy(
|
|
7561
|
-
async () => (await import("./JpAddress-
|
|
7561
|
+
async () => (await import("./JpAddress-D6Gj6H63.js")).JpAddress
|
|
7562
7562
|
);
|
|
7563
7563
|
const additionalPersonalDetailsFields = [
|
|
7564
7564
|
"birthDate",
|
|
@@ -9,36 +9,36 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useMemo, useState, useEffect, useCallback, useRef } from "preact/hooks";
|
|
12
|
-
import { u as useScenarios } from "./useScenarios-
|
|
13
|
-
import { b as useApiContext, $ as useMutation, k as httpPost, aE as matchesRegex, aQ as trimValWithOneSpace, aF as NO_ALPHABET_REGEX, aG as EMOJI_REGEX, aH as hasRepeatedCharacters, aI as isInvalidName, b0 as INDIVIDUAL_VALID_CHAR_REGEX, aO as getFormattingRegEx, aP as SPECIAL_CHARS, C as CountryCodes, aL as standardKatakanaValidator, aM as standardKanjiValidator, W as isEmpty, O as TaskTypes, r as LegalEntityTypes, b1 as getAgeToday, b2 as euCountries, b3 as individualApiKeyMapping, a_ as reverseMapping, b4 as getNomineeFromAssociation, b5 as individualComponentsKeyMapping, b6 as drop, P as createLogger, K as useAccountHolder, V as useI18nContext, a2 as useAnalyticsContext, X as useExperimentsContext, au as useVersionConfiguration, o as useSettingsContext, g as getLegalEntityCountry, b7 as getAllowedDecisionMakerRoles, b8 as filterOutUnwantedAssociationsIfRootLE, aB as cloneObject, b9 as individualDocumentMapping, ba as individualObscuredFields, af as getOwnEntityAssociations, bb as hasNomineesChanged, bc as attachNomineeToRole, aV as doArraysMatch, j as useQuery, w as skipToken, m as httpGet, u as useTranslation, a1 as useQueryClient, B as Button, L as Loader, bd as individualOnfidoApiKeyMapping, al as Scenarios, am as DecisionMakerTypes, be as individualOnfidoDocumentMapping, bf as individualOnfidoObscuredFields } from "./StoreProvider-
|
|
14
|
-
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-
|
|
15
|
-
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
16
|
-
import { h as useProviderStatus, l as addressValidators, n as addressFormatters, o as mapAddressLabels } from "./Address-
|
|
17
|
-
import { c as contactDetailsValidationRules, u as useValidatePhoneNumberImperatively } from "./validate-
|
|
18
|
-
import { F as FormContextProvider, a as FormFlow } from "./FormFlow-
|
|
19
|
-
import { a as useToastContext } from "./useToastContext-
|
|
20
|
-
import { g as getPropsFromConfigurations, c as composePerScenarioFormConfigurations } from "./process-field-configurations-
|
|
21
|
-
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-
|
|
22
|
-
import { u as useMultiForm } from "./useMultiForm
|
|
23
|
-
import { m as mapExistingFile, g as getPageName, a as getPage, u as useScenarioConfiguration } from "./mapExistingFile-
|
|
24
|
-
import { w as getSSNType, x as defaultFieldMetadata, y as defaultFieldConfig, z as defaultFieldMetadata$1, A as fieldConfig, t as taxInformationDefaultFieldMetadata, f as taxInformationDefaultFieldConfig, B as isEmpty$1, D as getTrustedFields, E as getAsyncIdNumberValidationRule, F as getAsyncPhoneValidationRules, G as setHasMotionCaptureScenario, H as showIndividualMotionCapture, o as individualForms, I as Individual, J as individualDocumentForms, K as idVerificationProviderId, L as idNowModalChildEntityId, M as LandingLayout, q as showIdNowModal, N as check4DigitSsnFailed, O as individualOnfidoRules, n as individualOnfidoForms, P as isNextStepDisabled, Q as shouldShowIdNowModal, R as IndividualOnfido, U as isCompatibleJapanVersion, V as JP_ADDRESS_REQUIRED_FIELDS, W as GuidanceQuestionValues, X as DECISION_MAKER_TYPES_WITH_JOBTITLE$1 } from "./IndividualOnfido-
|
|
25
|
-
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-
|
|
26
|
-
import { g as getIdDocument, a as getDocument, c as createDocumentRequest, d as documentApiUtils, m as mergeAttachments, b as getFileExtention } from "./documentUtils-
|
|
27
|
-
import { a as datasetUtilities, C as Confirm } from "./useDataset-
|
|
28
|
-
import { g as getFieldsWithExistingData } from "./getFieldsWithExistingData-
|
|
29
|
-
import { l as localizeDateString } from "./localizeDateString-
|
|
30
|
-
import { o as omitObscuredFieldsIfUnchanged, I as IFrameWidget } from "./iframeWidget-
|
|
31
|
-
import { r as resolveFieldMetadata, w as getLocalizedIdDocumentTypeOptions, I as Image } from "./Spacer-
|
|
32
|
-
import { r as rules, D as DECISION_MAKER_TYPES_WITH_JOBTITLE } from "./rules-
|
|
12
|
+
import { u as useScenarios } from "./useScenarios-DeR6rGue.js";
|
|
13
|
+
import { b as useApiContext, $ as useMutation, k as httpPost, aE as matchesRegex, aQ as trimValWithOneSpace, aF as NO_ALPHABET_REGEX, aG as EMOJI_REGEX, aH as hasRepeatedCharacters, aI as isInvalidName, b0 as INDIVIDUAL_VALID_CHAR_REGEX, aO as getFormattingRegEx, aP as SPECIAL_CHARS, C as CountryCodes, aL as standardKatakanaValidator, aM as standardKanjiValidator, W as isEmpty, O as TaskTypes, r as LegalEntityTypes, b1 as getAgeToday, b2 as euCountries, b3 as individualApiKeyMapping, a_ as reverseMapping, b4 as getNomineeFromAssociation, b5 as individualComponentsKeyMapping, b6 as drop, P as createLogger, K as useAccountHolder, V as useI18nContext, a2 as useAnalyticsContext, X as useExperimentsContext, au as useVersionConfiguration, o as useSettingsContext, g as getLegalEntityCountry, b7 as getAllowedDecisionMakerRoles, b8 as filterOutUnwantedAssociationsIfRootLE, aB as cloneObject, b9 as individualDocumentMapping, ba as individualObscuredFields, af as getOwnEntityAssociations, bb as hasNomineesChanged, bc as attachNomineeToRole, aV as doArraysMatch, j as useQuery, w as skipToken, m as httpGet, u as useTranslation, a1 as useQueryClient, B as Button, L as Loader, bd as individualOnfidoApiKeyMapping, al as Scenarios, am as DecisionMakerTypes, be as individualOnfidoDocumentMapping, bf as individualOnfidoObscuredFields } from "./StoreProvider-CGako8b0.js";
|
|
14
|
+
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-DonOl4nS.js";
|
|
15
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-JgEj2H9L.js";
|
|
16
|
+
import { h as useProviderStatus, l as addressValidators, n as addressFormatters, o as mapAddressLabels } from "./Address-yCSNuL5Z.js";
|
|
17
|
+
import { c as contactDetailsValidationRules, u as useValidatePhoneNumberImperatively } from "./validate-DSeAPAYm.js";
|
|
18
|
+
import { F as FormContextProvider, a as FormFlow } from "./FormFlow-Bv1422cp.js";
|
|
19
|
+
import { a as useToastContext } from "./useToastContext-Bwbh8-u5.js";
|
|
20
|
+
import { g as getPropsFromConfigurations, c as composePerScenarioFormConfigurations } from "./process-field-configurations-BFhu7wxG.js";
|
|
21
|
+
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-JfkUzj5m.js";
|
|
22
|
+
import { u as useMultiForm } from "./useMultiForm-DK0DX3NP.js";
|
|
23
|
+
import { m as mapExistingFile, g as getPageName, a as getPage, u as useScenarioConfiguration } from "./mapExistingFile-1urJeRPC.js";
|
|
24
|
+
import { w as getSSNType, x as defaultFieldMetadata, y as defaultFieldConfig, z as defaultFieldMetadata$1, A as fieldConfig, t as taxInformationDefaultFieldMetadata, f as taxInformationDefaultFieldConfig, B as isEmpty$1, D as getTrustedFields, E as getAsyncIdNumberValidationRule, F as getAsyncPhoneValidationRules, G as setHasMotionCaptureScenario, H as showIndividualMotionCapture, o as individualForms, I as Individual, J as individualDocumentForms, K as idVerificationProviderId, L as idNowModalChildEntityId, M as LandingLayout, q as showIdNowModal, N as check4DigitSsnFailed, O as individualOnfidoRules, n as individualOnfidoForms, P as isNextStepDisabled, Q as shouldShowIdNowModal, R as IndividualOnfido, U as isCompatibleJapanVersion, V as JP_ADDRESS_REQUIRED_FIELDS, W as GuidanceQuestionValues, X as DECISION_MAKER_TYPES_WITH_JOBTITLE$1 } from "./IndividualOnfido-DH3MaGPp.js";
|
|
25
|
+
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-DXBqMDWR.js";
|
|
26
|
+
import { g as getIdDocument, a as getDocument, c as createDocumentRequest, d as documentApiUtils, m as mergeAttachments, b as getFileExtention } from "./documentUtils-CQe8F0JI.js";
|
|
27
|
+
import { a as datasetUtilities, C as Confirm } from "./useDataset-DuHP7LJl.js";
|
|
28
|
+
import { g as getFieldsWithExistingData } from "./getFieldsWithExistingData-DHMh2qiJ.js";
|
|
29
|
+
import { l as localizeDateString } from "./localizeDateString-C-Jph6zP.js";
|
|
30
|
+
import { o as omitObscuredFieldsIfUnchanged, I as IFrameWidget } from "./iframeWidget-Dtk68KgN.js";
|
|
31
|
+
import { r as resolveFieldMetadata, w as getLocalizedIdDocumentTypeOptions, I as Image } from "./Spacer-DNqjKZqD.js";
|
|
32
|
+
import { r as rules, D as DECISION_MAKER_TYPES_WITH_JOBTITLE } from "./rules-3KdlQVvF.js";
|
|
33
33
|
import { f as formatObject } from "./utils-DNSfZiio.js";
|
|
34
34
|
import { m as mapSchemaFieldsToApiScriptLocalization, a as mapApiScriptLocalizationToSchemaFields } from "./mapAddressLocalizationToJpAddressSchema-vJWbpAyq.js";
|
|
35
35
|
import { Show } from "@preact/signals/utils";
|
|
36
|
-
import { m as mapJpAddressSchemaToAddressLocalizations, a as mapJpAddressSummary } from "./mapJpAddressSchemaToAddressLocalizations-
|
|
37
|
-
import { g as getOnfidoIdentityTypeToApiIdentityTypeMap, i as individualFormDefaultData, m as mapLegalEntityToIndividualOnfidoSchema } from "./mapLegalEntityToIndividualOnfidoSchema-
|
|
36
|
+
import { m as mapJpAddressSchemaToAddressLocalizations, a as mapJpAddressSummary } from "./mapJpAddressSchemaToAddressLocalizations-CA7YxKdZ.js";
|
|
37
|
+
import { g as getOnfidoIdentityTypeToApiIdentityTypeMap, i as individualFormDefaultData, m as mapLegalEntityToIndividualOnfidoSchema } from "./mapLegalEntityToIndividualOnfidoSchema-BnjzuvKj.js";
|
|
38
38
|
import { lazy } from "preact/compat";
|
|
39
|
-
import { M as Modal } from "./Modal-
|
|
40
|
-
import { a as Alert } from "./Alert-
|
|
41
|
-
import { a as getIndividualLegalEntityName } from "./getName-
|
|
39
|
+
import { M as Modal } from "./Modal-CCNcDrnP.js";
|
|
40
|
+
import { a as Alert } from "./Alert-BwI1gE5-.js";
|
|
41
|
+
import { a as getIndividualLegalEntityName } from "./getName-3tkBO1jL.js";
|
|
42
42
|
const verifyIdNumber = async (legalEntityId, baseUrl, data) => {
|
|
43
43
|
return await httpPost(
|
|
44
44
|
{
|
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import { a3 as Icon, u as useTranslation, U as TaskStatuses, a2 as useAnalyticsContext } from "./StoreProvider-
|
|
12
|
+
import { a3 as Icon, u as useTranslation, U as TaskStatuses, a2 as useAnalyticsContext } from "./StoreProvider-CGako8b0.js";
|
|
13
13
|
import { forwardRef } from "preact/compat";
|
|
14
14
|
import { useRef, useState, useCallback, useLayoutEffect } from "preact/hooks";
|
|
15
|
-
import { a as debouncedInputEvent } from "./debouncedInputEvent-
|
|
15
|
+
import { a as debouncedInputEvent } from "./debouncedInputEvent-eHK9LXJg.js";
|
|
16
16
|
const SettingNames = {
|
|
17
17
|
AcceptedCountries: "acceptedCountries",
|
|
18
18
|
AllowBankAccountFormatSelection: "allowBankAccountFormatSelection",
|
|
@@ -7,12 +7,12 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { O as TaskTypes, r as LegalEntityTypes, u as useTranslation, c as useLegalEntity, R as ROOT_LE, a as addResourceBundles, L as Loader, a2 as useAnalyticsContext, B as Button, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { O as TaskTypes, r as LegalEntityTypes, u as useTranslation, c as useLegalEntity, R as ROOT_LE, a as addResourceBundles, L as Loader, a2 as useAnalyticsContext, B as Button, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-CGako8b0.js";
|
|
11
11
|
import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
|
|
12
12
|
import { useMemo as useMemo$1, useState, useEffect } from "preact/hooks";
|
|
13
|
-
import { S as StepProgressIndicator } from "./StepProgressIndicator
|
|
13
|
+
import { S as StepProgressIndicator } from "./StepProgressIndicator-BwSGwPBX.js";
|
|
14
14
|
import { useMemo } from "preact/compat";
|
|
15
|
-
import { b as useCanSeeIntroduction, c as useLegalEntityType } from "./OnboardingDropinComponent-
|
|
15
|
+
import { b as useCanSeeIntroduction, c as useLegalEntityType } from "./OnboardingDropinComponent-CLupKd1b.js";
|
|
16
16
|
const IntroductionScreens = {
|
|
17
17
|
PROLOGUE: "PROLOGUE",
|
|
18
18
|
INDIVIDUAL: TaskTypes.INDIVIDUAL,
|
|
@@ -9,13 +9,13 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { useState, useEffect } from "preact/hooks";
|
|
12
|
-
import { b as useApiContext, j as useQuery, m as httpGet, a4 as noop, u as useTranslation, V as useI18nContext, X as useExperimentsContext, a2 as useAnalyticsContext, P as createLogger, C as CountryCodes, G as Typography } from "./StoreProvider-
|
|
13
|
-
import { F as Field, u as useForm } from "./useForm-
|
|
14
|
-
import { I as InputText } from "./InputText-
|
|
15
|
-
import { M as MaskedInput, m as makeMask, n as numericInputs, d as nonInputs } from "./Spacer-
|
|
16
|
-
import { V as JP_ADDRESS_REQUIRED_FIELDS, i as toFullWidth } from "./IndividualOnfido-
|
|
17
|
-
import { q as addressValidationRulesV4, r as addressValidationRules } from "./Address-
|
|
18
|
-
import { u as useDebouncedCallback } from "./debouncedInputEvent-
|
|
12
|
+
import { b as useApiContext, j as useQuery, m as httpGet, a4 as noop, u as useTranslation, V as useI18nContext, X as useExperimentsContext, a2 as useAnalyticsContext, P as createLogger, C as CountryCodes, G as Typography } from "./StoreProvider-CGako8b0.js";
|
|
13
|
+
import { F as Field, u as useForm } from "./useForm-CBL8sHgn.js";
|
|
14
|
+
import { I as InputText } from "./InputText-E3bqmvue.js";
|
|
15
|
+
import { M as MaskedInput, m as makeMask, n as numericInputs, d as nonInputs } from "./Spacer-DNqjKZqD.js";
|
|
16
|
+
import { V as JP_ADDRESS_REQUIRED_FIELDS, i as toFullWidth } from "./IndividualOnfido-DH3MaGPp.js";
|
|
17
|
+
import { q as addressValidationRulesV4, r as addressValidationRules } from "./Address-yCSNuL5Z.js";
|
|
18
|
+
import { u as useDebouncedCallback } from "./debouncedInputEvent-eHK9LXJg.js";
|
|
19
19
|
const retrieveFromPostcodeJp = async (legalEntityId, baseUrl, postalCode) => httpGet({
|
|
20
20
|
baseUrl,
|
|
21
21
|
path: `legalEntities/${legalEntityId}/addresses/jp/${postalCode}`
|
|
@@ -7,10 +7,10 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { c as useLegalEntity, w as skipToken, R as ROOT_LE, X as useExperimentsContext, u as useTranslation, a as addResourceBundles, L as Loader, g as getLegalEntityCountry, M as EntityTypes, ak as isOnfidoAutofillFlowEnabled, a4 as noop, O as TaskTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { c as useLegalEntity, w as skipToken, R as ROOT_LE, X as useExperimentsContext, u as useTranslation, a as addResourceBundles, L as Loader, g as getLegalEntityCountry, M as EntityTypes, ak as isOnfidoAutofillFlowEnabled, a4 as noop, O as TaskTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-CGako8b0.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
|
-
import { i as useCapabilityProblems, j as getProblemsForEntity } from "./Spacer-
|
|
13
|
-
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-
|
|
12
|
+
import { i as useCapabilityProblems, j as getProblemsForEntity } from "./Spacer-DNqjKZqD.js";
|
|
13
|
+
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-CMvXInSa.js";
|
|
14
14
|
function LegalRepresentativeDetailsPage({
|
|
15
15
|
legalRepresentativeId,
|
|
16
16
|
asModal = false,
|
|
@@ -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 { a3 as Icon } from "./StoreProvider-
|
|
12
|
+
import { A as Avatar } from "./Avatar-1gT2TOqE.js";
|
|
13
|
+
import { a3 as Icon } from "./StoreProvider-CGako8b0.js";
|
|
14
14
|
const listItem = "adyen-kyc-list-item";
|
|
15
15
|
const listItemInteractive = "adyen-kyc-list-item-interactive";
|
|
16
16
|
const listItemText = "adyen-kyc-list-item-text";
|
package/dist/{ManageIndividualComponent-DPh2Jp_T.js → ManageIndividualComponent-3ycR2pfZ.js}
RENAMED
|
@@ -7,11 +7,11 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { u as useTranslation, b as useApiContext, a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper, c as useLegalEntity, R as ROOT_LE } from "./StoreProvider-
|
|
10
|
+
import { u as useTranslation, b as useApiContext, a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper, c as useLegalEntity, R as ROOT_LE } from "./StoreProvider-CGako8b0.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
|
-
import { u as useOnboardingStatus } from "./useOnboardingStatus-
|
|
12
|
+
import { u as useOnboardingStatus } from "./useOnboardingStatus-IvWzxag4.js";
|
|
13
13
|
import { O as OnboardingStatuses } from "./view-verification-status-VFcBydkR.js";
|
|
14
|
-
import { E as EmbeddedStatus } from "./EmbeddedStatus-
|
|
14
|
+
import { E as EmbeddedStatus } from "./EmbeddedStatus-CbWjM1iG.js";
|
|
15
15
|
function ManageIndividualComponent({
|
|
16
16
|
legalEntityId,
|
|
17
17
|
onClick
|
|
@@ -20,7 +20,7 @@ function ManageIndividualComponent({
|
|
|
20
20
|
const { rootLegalEntityId: currentLegalEntityId } = useApiContext();
|
|
21
21
|
currentLegalEntityId.value = legalEntityId;
|
|
22
22
|
addResourceBundles(i18n, [
|
|
23
|
-
{ ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-4gJjMBoz.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-CxB0DJQ6.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-DqkN5oIu.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-COuUdtao.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-CjhbnLfE.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-Ddr7AO05.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-
|
|
23
|
+
{ ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-4gJjMBoz.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-CxB0DJQ6.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-DqkN5oIu.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-COuUdtao.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-CjhbnLfE.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-Ddr7AO05.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-CGako8b0.js").then((n) => n.bN), "../../../language/locales/es-ES.json": () => import("./es-ES-DNGEW6V_.js"), "../../../language/locales/et-EE.json": () => import("./et-EE-Be9wlXLD.js"), "../../../language/locales/fi-FI.json": () => import("./fi-FI-CoI_94Fv.js"), "../../../language/locales/fr-FR.json": () => import("./fr-FR-Br7OeDIe.js"), "../../../language/locales/hr-HR.json": () => import("./hr-HR-iodfRS4f.js"), "../../../language/locales/hu-HU.json": () => import("./hu-HU-CEb_Wl4I.js"), "../../../language/locales/it-IT.json": () => import("./it-IT-BAvsF2TB.js"), "../../../language/locales/ja-JP.json": () => import("./ja-JP-US4BD67C.js"), "../../../language/locales/lt-LT.json": () => import("./lt-LT-os-nxAb0.js"), "../../../language/locales/lv-LV.json": () => import("./lv-LV-9NRF8DKM.js"), "../../../language/locales/nl-NL.json": () => import("./nl-NL-BwKrj-29.js"), "../../../language/locales/no-NO.json": () => import("./no-NO-B6OPS2CA.js"), "../../../language/locales/pl-PL.json": () => import("./pl-PL-B0BQdtqx.js"), "../../../language/locales/pt-BR.json": () => import("./pt-BR-BKQRvAfq.js"), "../../../language/locales/pt-PT.json": () => import("./pt-PT-D2Xe-OdG.js"), "../../../language/locales/ro-RO.json": () => import("./ro-RO-WGnCVll9.js"), "../../../language/locales/sk-SK.json": () => import("./sk-SK-Cq_DSPZu.js"), "../../../language/locales/sl-SI.json": () => import("./sl-SI-C3gfuen3.js"), "../../../language/locales/sv-SE.json": () => import("./sv-SE-zTiw1bUU.js") }), `../../../language/locales/${lang}.json`, 6) }
|
|
24
24
|
]);
|
|
25
25
|
const { data: legalEntityData } = useLegalEntity(ROOT_LE);
|
|
26
26
|
const { isPending, data: onboardingStatusData } = useOnboardingStatus({
|
package/dist/{ManageTermsOfServiceComponent-4-iML1dO.js → ManageTermsOfServiceComponent-DPc1GRjG.js}
RENAMED
|
@@ -7,10 +7,10 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, u as useTranslation, a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { b as useApiContext, u as useTranslation, a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-CGako8b0.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
|
-
import { a as useTermsOfServiceAcceptanceInfos, u as useTermsOfServiceStatus } from "./useTermsOfServiceStatus-
|
|
13
|
-
import { E as EmbeddedStatus } from "./EmbeddedStatus-
|
|
12
|
+
import { a as useTermsOfServiceAcceptanceInfos, u as useTermsOfServiceStatus } from "./useTermsOfServiceStatus-CFz_tBjI.js";
|
|
13
|
+
import { E as EmbeddedStatus } from "./EmbeddedStatus-CbWjM1iG.js";
|
|
14
14
|
function ManageTermsOfServiceComponent({
|
|
15
15
|
legalEntityId,
|
|
16
16
|
onClick
|
|
@@ -21,7 +21,7 @@ function ManageTermsOfServiceComponent({
|
|
|
21
21
|
const { isLoading: isLoadingSigned, data: signedData } = useTermsOfServiceAcceptanceInfos();
|
|
22
22
|
const { isLoading: isLoadingUnsigned, data: unsignedData } = useTermsOfServiceStatus();
|
|
23
23
|
addResourceBundles(i18n, [
|
|
24
|
-
{ ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-4gJjMBoz.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-CxB0DJQ6.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-DqkN5oIu.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-COuUdtao.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-CjhbnLfE.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-Ddr7AO05.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-
|
|
24
|
+
{ ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-4gJjMBoz.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-CxB0DJQ6.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-DqkN5oIu.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-COuUdtao.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-CjhbnLfE.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-Ddr7AO05.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-CGako8b0.js").then((n) => n.bN), "../../../language/locales/es-ES.json": () => import("./es-ES-DNGEW6V_.js"), "../../../language/locales/et-EE.json": () => import("./et-EE-Be9wlXLD.js"), "../../../language/locales/fi-FI.json": () => import("./fi-FI-CoI_94Fv.js"), "../../../language/locales/fr-FR.json": () => import("./fr-FR-Br7OeDIe.js"), "../../../language/locales/hr-HR.json": () => import("./hr-HR-iodfRS4f.js"), "../../../language/locales/hu-HU.json": () => import("./hu-HU-CEb_Wl4I.js"), "../../../language/locales/it-IT.json": () => import("./it-IT-BAvsF2TB.js"), "../../../language/locales/ja-JP.json": () => import("./ja-JP-US4BD67C.js"), "../../../language/locales/lt-LT.json": () => import("./lt-LT-os-nxAb0.js"), "../../../language/locales/lv-LV.json": () => import("./lv-LV-9NRF8DKM.js"), "../../../language/locales/nl-NL.json": () => import("./nl-NL-BwKrj-29.js"), "../../../language/locales/no-NO.json": () => import("./no-NO-B6OPS2CA.js"), "../../../language/locales/pl-PL.json": () => import("./pl-PL-B0BQdtqx.js"), "../../../language/locales/pt-BR.json": () => import("./pt-BR-BKQRvAfq.js"), "../../../language/locales/pt-PT.json": () => import("./pt-PT-D2Xe-OdG.js"), "../../../language/locales/ro-RO.json": () => import("./ro-RO-WGnCVll9.js"), "../../../language/locales/sk-SK.json": () => import("./sk-SK-Cq_DSPZu.js"), "../../../language/locales/sl-SI.json": () => import("./sl-SI-C3gfuen3.js"), "../../../language/locales/sv-SE.json": () => import("./sv-SE-zTiw1bUU.js") }), `../../../language/locales/${lang}.json`, 6) },
|
|
25
25
|
{ ns: "contract", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../Contract/language/bg-BG.json": () => import("./bg-BG-Dp4LxSP7.js"), "../../Contract/language/cs-CZ.json": () => import("./cs-CZ-CyLqoG1j.js"), "../../Contract/language/da-DK.json": () => import("./da-DK-DYpfNZdP.js"), "../../Contract/language/de-DE.json": () => import("./de-DE-BXt1K0Tr.js"), "../../Contract/language/el-GR.json": () => import("./el-GR-B90M6tcZ.js"), "../../Contract/language/en-US.json": () => import("./en-US-Dg505Oh3.js"), "../../Contract/language/es-ES.json": () => import("./es-ES-BhNhIf08.js"), "../../Contract/language/et-EE.json": () => import("./et-EE-BMgFCxds.js"), "../../Contract/language/fi-FI.json": () => import("./fi-FI-ysUrBilO.js"), "../../Contract/language/fr-FR.json": () => import("./fr-FR-BSvSKazD.js"), "../../Contract/language/hr-HR.json": () => import("./hr-HR-BLpGb4f2.js"), "../../Contract/language/hu-HU.json": () => import("./hu-HU-Ca9Hex26.js"), "../../Contract/language/it-IT.json": () => import("./it-IT-Qfzc8jnW.js"), "../../Contract/language/ja-JP.json": () => import("./ja-JP-CHQ64lw1.js"), "../../Contract/language/lt-LT.json": () => import("./lt-LT-0RKZeraM.js"), "../../Contract/language/lv-LV.json": () => import("./lv-LV-Bh-WQp0K.js"), "../../Contract/language/nl-NL.json": () => import("./nl-NL-D7gBNWEY.js"), "../../Contract/language/no-NO.json": () => import("./no-NO-C-gCYc9q.js"), "../../Contract/language/pl-PL.json": () => import("./pl-PL-LnVPufjb.js"), "../../Contract/language/pt-BR.json": () => import("./pt-BR-ur86nRrK.js"), "../../Contract/language/pt-PT.json": () => import("./pt-PT-CVNEcs32.js"), "../../Contract/language/ro-RO.json": () => import("./ro-RO-i7lojG2G.js"), "../../Contract/language/sk-SK.json": () => import("./sk-SK-B5brxU1N.js"), "../../Contract/language/sl-SI.json": () => import("./sl-SI-CUCrzJQv.js"), "../../Contract/language/sv-SE.json": () => import("./sv-SE-C6uPh9g5.js") }), `../../Contract/language/${lang}.json`, 5) }
|
|
26
26
|
]);
|
|
27
27
|
const signed = signedData?.data?.map((d) => d.type);
|