@adyen/kyc-components 3.90.0-beta.0 → 3.90.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-C15N0ZUF.js → AcceptTermsOfServiceComponent-jlzA4hRO.js} +12 -12
- package/dist/{Accordion-DxAvtqyN.js → Accordion-48qDUfrn.js} +1 -1
- package/dist/{AccountSetupRejected-CJEC9V31.js → AccountSetupRejected-eL8cEb4U.js} +3 -3
- package/dist/{ActionBar-CMaTcnyU.js → ActionBar-BO6XSNuM.js} +1 -1
- package/dist/{Address-DhPHns9b.js → Address-BCTZUD2J.js} +7 -7
- package/dist/{Alert-4jvSqn2I.js → Alert-DlSROjS7.js} +2 -2
- package/dist/{Avatar-CowRz5rB.js → Avatar-1DJaB2Fj.js} +1 -1
- package/dist/{BusinessDetailsDropin-CoQA-QZn.js → BusinessDetailsDropin-lXErWzqC.js} +27 -27
- package/dist/{BusinessFinancingComponent-BUXvPO_t.js → BusinessFinancingComponent-C6wgWrZx.js} +4 -4
- package/dist/{BusinessFinancingDropin-D7HQ0fxW.js → BusinessFinancingDropin-Doz0wI42.js} +21 -21
- package/dist/{BusinessFinancingPage-BNCloKBm.js → BusinessFinancingPage-CWkMdnqc.js} +3 -3
- package/dist/{BusinessTypeSelectionPage-ClaW0q1b.js → BusinessTypeSelectionPage-DFJqkG5_.js} +7 -7
- package/dist/{Card-B4wvck_n.js → Card-I1r9oUx8.js} +2 -2
- package/dist/{ConstitutionalDocument-SKhWRnWx.js → ConstitutionalDocument-DdFjrLEq.js} +2 -2
- package/dist/{CountryField-BaYyWFXk.js → CountryField-BO-n2nAh.js} +5 -5
- package/dist/{CreateIndividualComponent-M_rhCRjG.js → CreateIndividualComponent-D14kgQET.js} +4 -4
- package/dist/{CreateTransferInstrumentComponent-BJxSbJY3.js → CreateTransferInstrumentComponent-DOM7CWHW.js} +4 -4
- package/dist/{Currency-Bl8pKCpj.js → Currency-U_NBiYL_.js} +4 -4
- package/dist/{CustomerSupport-BBp_kAB6.js → CustomerSupport-gUFWyk3X.js} +9 -9
- package/dist/{DebugModal-D6ROPhng.js → DebugModal-B-9dnXq3.js} +7 -7
- package/dist/{DecisionMakerDetailsPage-BtUhVF6C.js → DecisionMakerDetailsPage-Y59IaBti.js} +5 -5
- package/dist/{DecisionMakers-Ctwwbd-q.js → DecisionMakers-CXX7UaII.js} +19 -19
- package/dist/{EmbeddedStatus-B33cCsYP.js → EmbeddedStatus-DY5iLZFD.js} +2 -2
- package/dist/{EndStateLayout-C-njoytF.js → EndStateLayout-CwW4wDY8.js} +1 -1
- package/dist/{EntityAssociation-94E5qp1C.js → EntityAssociation-CYAh0KGI.js} +7 -7
- package/dist/{EntityGuidanceStatus-SgjcGk5p.js → EntityGuidanceStatus-Dkb_9kLQ.js} +2 -2
- package/dist/{FormFlow-Poe97Z6i.js → FormFlow-Dgc0gB-O.js} +7 -7
- package/dist/{FormNavigation-B0D8RWB0.js → FormNavigation-BE3rLf_S.js} +2 -2
- package/dist/{FormWrapper-4wa6SP_P.js → FormWrapper-B7su5eh3.js} +9 -9
- package/dist/{IndividualOnfido-fz_JSugv.js → IndividualOnfido-DH3VYYau.js} +13 -13
- package/dist/{IndividualOnfidoDropin-Duc8XgvR.js → IndividualOnfidoDropin-SiWSMsi9.js} +26 -26
- package/dist/{InputText--yiwNMDS.js → InputText-DR70nC51.js} +2 -2
- package/dist/{Introduction-T5fyomwa.js → Introduction-C2X6DyHw.js} +3 -3
- package/dist/{JpAddress-BrDgtuyI.js → JpAddress-CvQyBExq.js} +7 -7
- package/dist/{LegalRepresentativeDetailsPage-BK0gMJgs.js → LegalRepresentativeDetailsPage-Wf7cQkQn.js} +3 -3
- package/dist/{ListItem-B8H6RY9f.js → ListItem-BBHNYCCw.js} +2 -2
- package/dist/{ManageIndividualComponent-BrBjHu3-.js → ManageIndividualComponent-DPh2Jp_T.js} +4 -4
- package/dist/{ManageTermsOfServiceComponent-Dqy8vOUA.js → ManageTermsOfServiceComponent-4-iML1dO.js} +4 -4
- package/dist/{ManageTransferInstrumentComponent-Bx6Netyq.js → ManageTransferInstrumentComponent-D8MMBSWg.js} +11 -11
- package/dist/{MaybeModal-BwPaMUks.js → MaybeModal-Us27ek4u.js} +2 -2
- package/dist/{Modal-DupiiqVr.js → Modal-W8cfdxrr.js} +1 -1
- package/dist/{OnboardingDropinComponent-Do1mhuK-.js → OnboardingDropinComponent-HHq3dL3N.js} +51 -51
- package/dist/{PayoutDetailsDropin-BvEqGrIA.js → PayoutDetailsDropin-M9FYw20B.js} +30 -30
- package/dist/{Review-BBENKcjD.js → Review-CUNKnKSZ.js} +6 -6
- package/dist/{RootBusinessDetailsPage-DpdZ4vqu.js → RootBusinessDetailsPage-DC0qALED.js} +4 -4
- package/dist/{RootBusinessLinesPage-YoF28HOQ.js → RootBusinessLinesPage-B8gUQ93t.js} +22 -22
- package/dist/{RootIndividualDetailsPage-DNivhou9.js → RootIndividualDetailsPage-ULrh2_YN.js} +5 -5
- package/dist/{SignPCIComponent-DN5PE2Sc.js → SignPCIComponent-MnotetIL.js} +9 -9
- package/dist/{SingpassSelection-uLhOFdfh.js → SingpassSelection-BWdMU1Lv.js} +3 -3
- package/dist/{SoleProprietorshipPage-BUwCiVtH.js → SoleProprietorshipPage-C9mxOyGm.js} +3 -3
- package/dist/{SourceOfFundsPage-D7B5ReUC.js → SourceOfFundsPage-bptpOZNp.js} +24 -24
- package/dist/{Spacer-D3By5Y6E.js → Spacer-D-c-0ch_.js} +8 -8
- package/dist/{StepProgressIndicator-CvbjwImE.js → StepProgressIndicator--8FNnauI.js} +1 -1
- package/dist/{StoreProvider-BLtYcc3h.js → StoreProvider-D_0Pta7w.js} +4 -4
- package/dist/{Summary-Buc_vuRS.js → Summary-D741mrWG.js} +3 -3
- package/dist/{TaxReportingDropin-1dhULaM8.js → TaxReportingDropin-D2gjRJag.js} +15 -15
- package/dist/{TrustDetailsPage-BtRNXF3Z.js → TrustDetailsPage-Dj64OqRJ.js} +26 -26
- package/dist/{TrustMemberCompanyPage-B2Khgije.js → TrustMemberCompanyPage-DlnCvpf5.js} +4 -4
- package/dist/{TrustMemberIndividualPage-CL7Yv-FS.js → TrustMemberIndividualPage-D8LSPYGf.js} +3 -3
- package/dist/{TrustMemberRoleAndTypePage-F_7iqOo2.js → TrustMemberRoleAndTypePage-CN7oQduU.js} +13 -13
- package/dist/{TrustMembersOverview-BfI58H5u.js → TrustMembersOverview-C2VH8NIl.js} +11 -11
- package/dist/{UnincorporatedPartnershipIndividualPage-Doc7RvyT.js → UnincorporatedPartnershipIndividualPage-fN2QrGh4.js} +3 -3
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-D5Arebes.js → UnincorporatedPartnershipMemberCompanyPage-BUEeNfv-.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-oCjJEXYT.js → UnincorporatedPartnershipMemberRoleAndTypePage-DeUAOKnx.js} +8 -8
- package/dist/{UnincorporatedPartnershipMembersOverview-Dh6kUlMq.js → UnincorporatedPartnershipMembersOverview-EeE4JNAc.js} +8 -8
- package/dist/{VerificationErrorAlert-DUpyVrCU.js → VerificationErrorAlert-COgw5uh1.js} +3 -3
- package/dist/{ViewVerificationStatusComponent-BcauKtPB.js → ViewVerificationStatusComponent-CaPz-G-G.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-lq58yTg6.js → debouncedInputEvent-ZbuNEN6W.js} +1 -1
- package/dist/{documentUtils-CdJ4Sc-B.js → documentUtils-XUGK4RIp.js} +2 -2
- package/dist/{dropinUtils-L7Zcqfg9.js → dropinUtils-Dggo6PZA.js} +3 -3
- package/dist/{getFieldsWithExistingData-D1vsiEEX.js → getFieldsWithExistingData-KwCfBJn2.js} +1 -1
- package/dist/{getName-Du9QmiTF.js → getName-B1UTZRuu.js} +1 -1
- package/dist/{hasDataChanged-BWko8Wa4.js → hasDataChanged-CSn4V18R.js} +1 -1
- package/dist/{iframeWidget-CQOg-QHE.js → iframeWidget-BDp1ajgy.js} +3 -3
- package/dist/{localizeDateString-BJJ8B0Hs.js → localizeDateString-CZrFwyd0.js} +1 -1
- package/dist/{mapExistingFile-D_q68JAm.js → mapExistingFile-D5fqNt1l.js} +2 -2
- package/dist/{mapFinancialReportsToFinancialInformation-BJZ89yJV.js → mapFinancialReportsToFinancialInformation-eCMwJnwj.js} +2 -2
- package/dist/{mapJpAddressSchemaToAddressLocalizations-CHcGrBAs.js → mapJpAddressSchemaToAddressLocalizations-i8O5_wuI.js} +2 -2
- package/dist/{mapLegalEntityToIndividualOnfidoSchema-Cqerm1wl.js → mapLegalEntityToIndividualOnfidoSchema-Cyg_384J.js} +2 -2
- package/dist/{mapTransferInstrumentToPayoutAccount-CboZmyKj.js → mapTransferInstrumentToPayoutAccount-BOYDxAUf.js} +1 -1
- package/dist/{process-field-configurations-D7pGneC_.js → process-field-configurations-ClLFHxX6.js} +2 -2
- package/dist/{resolveEnvironment-Q9yFO0a9.js → resolveEnvironment-D8CEfrp4.js} +3 -3
- package/dist/{rules-LsdRG331.js → rules-Cr3Ka8oq.js} +4 -4
- package/dist/{types-GIbEJ_5v.js → types-CR2U3VAD.js} +1 -1
- package/dist/{types-B9IVn1Zt.js → types-DjTezJBU.js} +1 -1
- package/dist/{types-CBwe7M_O.js → types-Gm2SleFm.js} +1 -1
- package/dist/{useAssociatedLegalEntity-BLnxc-jt.js → useAssociatedLegalEntity-Pgb7_79V.js} +1 -1
- package/dist/{useCreateLegalEntity-BD9PcstC.js → useCreateLegalEntity-Ba2rxRgb.js} +1 -1
- package/dist/{useDataset-BEeSTdTX.js → useDataset-RNFlX1-i.js} +3 -3
- package/dist/{useForm-ByJEO5yi.js → useForm-C261ZUdn.js} +4 -4
- package/dist/{useGlobalData-CyYyTpXW.js → useGlobalData-COSDbjgb.js} +2 -2
- package/dist/{useMultiForm-CEmUnHA9.js → useMultiForm--zHGgbxw.js} +3 -3
- package/dist/{useOnboardingStatus-bt6QJFFl.js → useOnboardingStatus-DytPj9Ai.js} +1 -1
- package/dist/{useScenarios-BdwSb0HX.js → useScenarios-eYrKID9N.js} +1 -1
- package/dist/{useTermsOfServiceStatus-B51PQgY1.js → useTermsOfServiceStatus-BYJqq3Oi.js} +1 -1
- package/dist/{useToastContext-DGtZBX02.js → useToastContext-CqIJgGTa.js} +1 -1
- package/dist/{useUnincorporatedPartnershipMembers-C5OUWIiP.js → useUnincorporatedPartnershipMembers-HC3erocB.js} +4 -4
- package/dist/{useUpdateBusinessLines-DKicYyWN.js → useUpdateBusinessLines-Dq3B1Jvy.js} +1 -1
- package/dist/{useUpdateLegalEntity-oC3jKNtm.js → useUpdateLegalEntity-BPQX_o3v.js} +2 -2
- package/dist/{utils-DaXTVI0w.js → utils-B_eQ3Eny.js} +3 -3
- package/dist/{utils-BYzUEzaG.js → utils-BbmGXGUy.js} +5 -5
- package/dist/{validate-BTAaa27x.js → validate-ArlZWHo0.js} +1 -1
- package/dist/{validate-DBklijcP.js → validate-B_v0PjtX.js} +1 -1
- package/dist/{validationError-B6JKQAKI.js → validationError-BQZWqXfp.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-D_0Pta7w.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-BPQX_o3v.js";
|
|
14
|
+
import { c as contactDetailsValidationRules, u as useValidatePhoneNumberImperatively } from "./validate-B_v0PjtX.js";
|
|
15
|
+
import { H as Header, E as ErrorPanel, c as createFormUtils } from "./CountryField-BO-n2nAh.js";
|
|
16
|
+
import { a as useToastContext } from "./useToastContext-CqIJgGTa.js";
|
|
17
|
+
import { u as useMultiForm } from "./useMultiForm--zHGgbxw.js";
|
|
18
|
+
import { i as useCapabilityProblems, j as getProblemsForEntity, r as resolveFieldMetadata } from "./Spacer-D-c-0ch_.js";
|
|
19
|
+
import { A as ActionBar } from "./ActionBar-BO6XSNuM.js";
|
|
20
|
+
import { z as defaultFieldMetadata, A as fieldConfig, F as getAsyncPhoneValidationRules, Z as ContactDetails } from "./IndividualOnfido-DH3VYYau.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] = "71bda5dd-876e-414d-a74d-7b0a6a28df4e", e._sentryDebugIdIdentifier = "sentry-dbid-71bda5dd-876e-414d-a74d-7b0a6a28df4e");
|
|
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-D_0Pta7w.js";
|
|
13
|
+
import { M as Modal } from "./Modal-W8cfdxrr.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-DR70nC51.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-48qDUfrn.js";
|
|
18
|
+
import { C as Checkbox } from "./debouncedInputEvent-ZbuNEN6W.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.0
|
|
329
|
+
sdkVersion: "3.90.0",
|
|
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-D_0Pta7w.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-eYrKID9N.js";
|
|
13
|
+
import { i as useCapabilityProblems, j as getProblemsForEntity } from "./Spacer-D-c-0ch_.js";
|
|
14
|
+
import { p as isBafinSignatoryFlow, ad as removeIdVerificationProblemsForBafinSignatory, g as getTrustedFieldsProvider, D as getTrustedFields, Y as getTrustedEntityAssociations } from "./IndividualOnfido-DH3VYYau.js";
|
|
15
|
+
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-SiWSMsi9.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-D_0Pta7w.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-eYrKID9N.js";
|
|
14
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-BPQX_o3v.js";
|
|
15
|
+
import { S as StackLayout, L as List, H as Header } from "./CountryField-BO-n2nAh.js";
|
|
16
|
+
import { L as ListItem } from "./ListItem-BBHNYCCw.js";
|
|
17
|
+
import { M as Modal } from "./Modal-W8cfdxrr.js";
|
|
18
|
+
import { a as useToastContext } from "./useToastContext-CqIJgGTa.js";
|
|
19
|
+
import { e as useDataMissingRemediations } from "./OnboardingDropinComponent-HHq3dL3N.js";
|
|
20
|
+
import { a as Alert } from "./Alert-DlSROjS7.js";
|
|
21
|
+
import { I as Image, i as useCapabilityProblems, C as ContextGuidance } from "./Spacer-D-c-0ch_.js";
|
|
22
|
+
import { A as ActionBar } from "./ActionBar-BO6XSNuM.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-CYAh0KGI.js";
|
|
25
|
+
import { E as EntityGuidanceStatus, i as iconStatus } from "./EntityGuidanceStatus-Dkb_9kLQ.js";
|
|
26
|
+
import { T as TaskVerificationStatus } from "./InputText-DR70nC51.js";
|
|
27
|
+
import { m as mapLegalEntityToIndividualOnfidoSchema, i as individualFormDefaultData } from "./mapLegalEntityToIndividualOnfidoSchema-Cyg_384J.js";
|
|
28
|
+
import { W as GuidanceQuestionValues, Y as getTrustedEntityAssociations, M as LandingLayout } from "./IndividualOnfido-DH3VYYau.js";
|
|
29
|
+
import { a as datasetUtilities, S as StructuredList, C as Confirm } from "./useDataset-RNFlX1-i.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-BCTZUD2J.js";
|
|
32
|
+
import { l as localizeDateString } from "./localizeDateString-CZrFwyd0.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-1DJaB2Fj.js";
|
|
13
|
+
import { U as TaskStatuses, u as useTranslation, y as Skeleton, G as Typography } from "./StoreProvider-D_0Pta7w.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-D_0Pta7w.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-D_0Pta7w.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-COgw5uh1.js";
|
|
15
|
+
import { C as Card } from "./Card-I1r9oUx8.js";
|
|
16
|
+
import { C as Confirm } from "./useDataset-RNFlX1-i.js";
|
|
17
|
+
import { T as TaskVerificationStatus } from "./InputText-DR70nC51.js";
|
|
18
|
+
import { k as handleKeys } from "./IndividualOnfido-DH3VYYau.js";
|
|
19
|
+
import { j as getRoleTagVariant, f as getRoleName } from "./CountryField-BO-n2nAh.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-D_0Pta7w.js";
|
|
13
|
+
import { U as UnincorporatedPartnershipMemberTypes, j as getRoleTagVariant, f as getRoleName } from "./CountryField-BO-n2nAh.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-BCTZUD2J.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-D_0Pta7w.js";
|
|
15
|
+
import { L as LoaderWrapper } from "./useForm-C261ZUdn.js";
|
|
16
|
+
import { M as MaybeModal } from "./MaybeModal-Us27ek4u.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-Dggo6PZA.js";
|
|
19
|
+
import { C as Confirm } from "./useDataset-RNFlX1-i.js";
|
|
20
|
+
import { S as Summary } from "./Summary-D741mrWG.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-D_0Pta7w.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-W8cfdxrr.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-D_0Pta7w.js";
|
|
13
|
+
import { L as LoaderWrapper } from "./useForm-C261ZUdn.js";
|
|
14
|
+
import { M as MaybeModal } from "./MaybeModal-Us27ek4u.js";
|
|
15
|
+
import { a as ModalContent, b as ModalHeader, c as ModalFooter } from "./Modal-W8cfdxrr.js";
|
|
16
|
+
import { z as Spacer } from "./Spacer-D-c-0ch_.js";
|
|
17
|
+
import { S as StepProgressIndicator } from "./StepProgressIndicator--8FNnauI.js";
|
|
18
|
+
import { F as FormRouterContextProvider } from "./dropinUtils-Dggo6PZA.js";
|
|
19
|
+
import { F as FormNavigation } from "./FormNavigation-BE3rLf_S.js";
|
|
20
|
+
import { s as summaryStep, S as Summary } from "./Summary-D741mrWG.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-BCTZUD2J.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-BO-n2nAh.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-D-c-0ch_.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-D_0Pta7w.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-C261ZUdn.js";
|
|
18
|
+
import { I as InputText, S as SettingNames } from "./InputText-DR70nC51.js";
|
|
19
|
+
import { a as Alert } from "./Alert-DlSROjS7.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-RNFlX1-i.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-CqIJgGTa.js";
|
|
24
|
+
import { K as KEYBOARD_KEYS, M as Modal } from "./Modal-W8cfdxrr.js";
|
|
25
|
+
import { C as Checkbox } from "./debouncedInputEvent-ZbuNEN6W.js";
|
|
26
26
|
import { Onfido } from "onfido-sdk-ui";
|
|
27
|
-
import { l as localizeDateString } from "./localizeDateString-
|
|
27
|
+
import { l as localizeDateString } from "./localizeDateString-CZrFwyd0.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-CvQyBExq.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-eYrKID9N.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-D_0Pta7w.js";
|
|
14
|
+
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-Ba2rxRgb.js";
|
|
15
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-BPQX_o3v.js";
|
|
16
|
+
import { h as useProviderStatus, l as addressValidators, n as addressFormatters, o as mapAddressLabels } from "./Address-BCTZUD2J.js";
|
|
17
|
+
import { c as contactDetailsValidationRules, u as useValidatePhoneNumberImperatively } from "./validate-B_v0PjtX.js";
|
|
18
|
+
import { F as FormContextProvider, a as FormFlow } from "./FormFlow-Dgc0gB-O.js";
|
|
19
|
+
import { a as useToastContext } from "./useToastContext-CqIJgGTa.js";
|
|
20
|
+
import { g as getPropsFromConfigurations, c as composePerScenarioFormConfigurations } from "./process-field-configurations-ClLFHxX6.js";
|
|
21
|
+
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-Dggo6PZA.js";
|
|
22
|
+
import { u as useMultiForm } from "./useMultiForm--zHGgbxw.js";
|
|
23
|
+
import { m as mapExistingFile, g as getPageName, a as getPage, u as useScenarioConfiguration } from "./mapExistingFile-D5fqNt1l.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-DH3VYYau.js";
|
|
25
|
+
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-BQZWqXfp.js";
|
|
26
|
+
import { g as getIdDocument, a as getDocument, c as createDocumentRequest, d as documentApiUtils, m as mergeAttachments, b as getFileExtention } from "./documentUtils-XUGK4RIp.js";
|
|
27
|
+
import { a as datasetUtilities, C as Confirm } from "./useDataset-RNFlX1-i.js";
|
|
28
|
+
import { g as getFieldsWithExistingData } from "./getFieldsWithExistingData-KwCfBJn2.js";
|
|
29
|
+
import { l as localizeDateString } from "./localizeDateString-CZrFwyd0.js";
|
|
30
|
+
import { o as omitObscuredFieldsIfUnchanged, I as IFrameWidget } from "./iframeWidget-BDp1ajgy.js";
|
|
31
|
+
import { r as resolveFieldMetadata, w as getLocalizedIdDocumentTypeOptions, I as Image } from "./Spacer-D-c-0ch_.js";
|
|
32
|
+
import { r as rules, D as DECISION_MAKER_TYPES_WITH_JOBTITLE } from "./rules-Cr3Ka8oq.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-i8O5_wuI.js";
|
|
37
|
+
import { g as getOnfidoIdentityTypeToApiIdentityTypeMap, i as individualFormDefaultData, m as mapLegalEntityToIndividualOnfidoSchema } from "./mapLegalEntityToIndividualOnfidoSchema-Cyg_384J.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-W8cfdxrr.js";
|
|
40
|
+
import { a as Alert } from "./Alert-DlSROjS7.js";
|
|
41
|
+
import { a as getIndividualLegalEntityName } from "./getName-B1UTZRuu.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-D_0Pta7w.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-ZbuNEN6W.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-D_0Pta7w.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--8FNnauI.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-HHq3dL3N.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-D_0Pta7w.js";
|
|
13
|
+
import { F as Field, u as useForm } from "./useForm-C261ZUdn.js";
|
|
14
|
+
import { I as InputText } from "./InputText-DR70nC51.js";
|
|
15
|
+
import { M as MaskedInput, m as makeMask, n as numericInputs, d as nonInputs } from "./Spacer-D-c-0ch_.js";
|
|
16
|
+
import { V as JP_ADDRESS_REQUIRED_FIELDS, i as toFullWidth } from "./IndividualOnfido-DH3VYYau.js";
|
|
17
|
+
import { q as addressValidationRulesV4, r as addressValidationRules } from "./Address-BCTZUD2J.js";
|
|
18
|
+
import { u as useDebouncedCallback } from "./debouncedInputEvent-ZbuNEN6W.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-D_0Pta7w.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-D-c-0ch_.js";
|
|
13
|
+
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-SiWSMsi9.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-1DJaB2Fj.js";
|
|
13
|
+
import { a3 as Icon } from "./StoreProvider-D_0Pta7w.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-BrBjHu3-.js → ManageIndividualComponent-DPh2Jp_T.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-D_0Pta7w.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
|
-
import { u as useOnboardingStatus } from "./useOnboardingStatus-
|
|
12
|
+
import { u as useOnboardingStatus } from "./useOnboardingStatus-DytPj9Ai.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-DY5iLZFD.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-D_0Pta7w.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-Dqy8vOUA.js → ManageTermsOfServiceComponent-4-iML1dO.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-D_0Pta7w.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-BYJqq3Oi.js";
|
|
13
|
+
import { E as EmbeddedStatus } from "./EmbeddedStatus-DY5iLZFD.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-D_0Pta7w.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);
|