@adyen/kyc-components 3.80.0-beta.0 → 3.80.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-DBSkKRHS.js → AcceptTermsOfServiceComponent-DKDi6iRX.js} +5 -5
- package/dist/{AccountSetupRejected-gAGWuJ9N.js → AccountSetupRejected-P-8-WKZp.js} +2 -2
- package/dist/{Avatar-5RObc8Yd.js → Avatar-Bsc58neS.js} +1 -1
- package/dist/{BusinessDetailsDropin-O92NE-y1.js → BusinessDetailsDropin-CL-7UQcT.js} +7 -7
- package/dist/{BusinessFinancingComponent-DDKomenp.js → BusinessFinancingComponent-D1XrIsPc.js} +2 -2
- package/dist/{BusinessFinancingDropin-Bhg9neRS.js → BusinessFinancingDropin-DQ56QSPj.js} +8 -8
- package/dist/{BusinessFinancingPage-DyItV5SR.js → BusinessFinancingPage-B6M7ESoA.js} +2 -2
- package/dist/{BusinessTypeSelectionPage-DmjbM57I.js → BusinessTypeSelectionPage-CFignJ19.js} +4 -4
- package/dist/{ContractViewer-DBW5C6kA.js → ContractViewer-DiT_8GRM.js} +1 -1
- package/dist/{CreateIndividualComponent-c8yAn2_J.js → CreateIndividualComponent-DkX98cSx.js} +2 -2
- package/dist/{CreateTransferInstrumentComponent-BF-KFdjU.js → CreateTransferInstrumentComponent-SaPgQY2J.js} +1 -1
- package/dist/{CustomerSupport-rSYElbVr.js → CustomerSupport-XD8NZGtZ.js} +5 -5
- package/dist/{DebugModal-BTr0idCC.js → DebugModal-Dx55VMz1.js} +4 -4
- package/dist/{DecisionMakerDetailsPage-DQcWSwTb.js → DecisionMakerDetailsPage-3fUQSm8D.js} +2 -2
- package/dist/{DecisionMakers-C2awPhE6.js → DecisionMakers-DHeZux6T.js} +6 -6
- package/dist/{EmbeddedStatus-COKtxNW-.js → EmbeddedStatus-BXBTxeW1.js} +2 -2
- package/dist/{FormEndState-BmDRa3zJ.js → FormEndState-D_8_v1NU.js} +1 -1
- package/dist/{FormFlow-CNxGh4Yu.js → FormFlow-Urrg9vMm.js} +2 -2
- package/dist/{IndividualOnfidoDropin-DUzjucM9.js → IndividualOnfidoDropin-VYVSjf_C.js} +46 -24
- package/dist/{Introduction-BEM_wmkj.js → Introduction-DZCNLnIC.js} +2 -2
- package/dist/{LandingLayout-DyY0Exht.js → LandingLayout-CddoBOJ4.js} +1 -1
- package/dist/{LegalRepresentativeDetailsPage-1tw_BPLr.js → LegalRepresentativeDetailsPage-zEJCKboy.js} +2 -2
- package/dist/{ManageIndividualComponent-B0y8wd24.js → ManageIndividualComponent-BPI2aesr.js} +3 -3
- package/dist/{ManageTermsOfServiceComponent-DJVDf-iH.js → ManageTermsOfServiceComponent-BzkhmJMD.js} +3 -3
- package/dist/{ManageTransferInstrumentComponent-DF4Q8oEB.js → ManageTransferInstrumentComponent-nlmjHqMN.js} +3 -3
- package/dist/{OnboardingDropinComponent-B0Sj7qf1.js → OnboardingDropinComponent-DkkC-O2y.js} +31 -31
- package/dist/{Review-C4HOjR6y.js → Review-CrcnPOYr.js} +2 -2
- package/dist/{RootBusinessDetailsPage-DeqKfOFX.js → RootBusinessDetailsPage-DHv2mk_-.js} +7 -7
- package/dist/{RootIndividualDetailsPage-CKOquQ0-.js → RootIndividualDetailsPage-D6AiPFI0.js} +2 -2
- package/dist/{SignPCIComponent-Cx8oL8wu.js → SignPCIComponent-B3UDh5F8.js} +4 -4
- package/dist/{SingpassSelection-BJNZw1u-.js → SingpassSelection-DDoYQM_e.js} +1 -1
- package/dist/{SoleProprietorshipPage-Dtw3XHVJ.js → SoleProprietorshipPage-CKWYdVS_.js} +2 -2
- package/dist/{SourceOfFundsPage-gPmK4QX6.js → SourceOfFundsPage-D0kJCtH3.js} +11 -11
- package/dist/{StoreProvider-DhQ4sdLg.js → StoreProvider-nqVR_kWS.js} +172 -171
- package/dist/{TaskItemStatus-Cxcag2AH.js → TaskItemStatus-o-rpFU9k.js} +2 -2
- package/dist/{TaskStatusIndicator-B5fp8LzR.js → TaskStatusIndicator-6bpYVt4Z.js} +1 -1
- package/dist/{TaxReportingDropin-CbDYoO31.js → TaxReportingDropin-wcsNHxqr.js} +8 -8
- package/dist/{TileGroup-BkLtnLiA.js → TileGroup-BrD32_Y0.js} +2 -2
- package/dist/{TrustDetailsPage-DktRQRum.js → TrustDetailsPage-DBoP1d57.js} +5 -5
- package/dist/{TrustMemberCompanyPage-CLTOpWzU.js → TrustMemberCompanyPage-CH47pq1l.js} +3 -3
- package/dist/{TrustMemberIndividualPage-wPh86-GQ.js → TrustMemberIndividualPage-g6tCyoZp.js} +2 -2
- package/dist/{UnincorporatedPartnershipIndividualPage-B-2i68Nd.js → UnincorporatedPartnershipIndividualPage-BANlV7bn.js} +2 -2
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-DWLczj6F.js → UnincorporatedPartnershipMemberCompanyPage-BSrxjjH_.js} +2 -2
- package/dist/{VerificationErrorAlert-AbvM4lbK.js → VerificationErrorAlert-w9MIQ2hH.js} +1 -1
- package/dist/{ViewVerificationStatusComponent-vVZeXYDs.js → ViewVerificationStatusComponent-DAx2BfA6.js} +2 -2
- package/dist/adyen-business-financing.js +2 -2
- package/dist/adyen-individual.js +2 -2
- package/dist/adyen-kyc-components.js +14 -14
- package/dist/adyen-manage-individual.js +2 -2
- package/dist/adyen-manage-terms-of-service.js +2 -2
- package/dist/adyen-manage-transfer-instruments.js +2 -2
- package/dist/adyen-onboarding.js +2 -2
- package/dist/adyen-terms-of-service.js +2 -2
- package/dist/adyen-transfer-instrument.js +2 -2
- package/dist/adyen-verification-status.js +2 -2
- package/dist/{getFieldsWithExistingData-BS9W6RQp.js → getFieldsWithExistingData-D1vVVeaf.js} +2 -2
- package/dist/{hasDataChanged-DK74H0sZ.js → hasDataChanged-DIVMD4Rh.js} +1 -1
- package/dist/{localizeDateString-C34eXZqY.js → localizeDateString-DLWgJuND.js} +1 -1
- package/dist/{mapFinancialReportsToFinancialInformation-DoJu-RRw.js → mapFinancialReportsToFinancialInformation-anU-0sl0.js} +2 -2
- package/dist/{resolveEnvironment-rJv_NJF_.js → resolveEnvironment-BOHs0YoH.js} +3 -3
- package/dist/{rules-OP83mdq4.js → rules-DF6nIpnn.js} +1 -1
- package/dist/types/components/Individual/forms/IndividualOnfido/AdditionalPersonalDetails/AdditionalPersonalDetails.types.d.ts +1 -1
- package/dist/types/components/Individual/forms/IndividualOnfido/BasicDetails/BasicDetails.types.d.ts +1 -1
- package/dist/types/components/Individual/forms/IndividualOnfido/IdVerificationMethod/IdVerificationMethod.types.d.ts +2 -0
- package/dist/types/components/Individual/forms/IndividualOnfido/IdVerificationMethod/mapExtractionResultToSchema.d.ts +2 -1
- package/dist/types/components/Individual/forms/IndividualOnfido/IndividualOnfido.types.d.ts +2 -2
- package/dist/types/components/Individual/helpers/isDecisionMakerTask.d.ts +2 -0
- package/dist/{useMultiForm-ChxUZ4e7.js → useMultiForm-CD30RFXS.js} +2 -2
- package/dist/{useOnboardingStatus-1BQlEPEi.js → useOnboardingStatus-_s90wk5C.js} +1 -1
- package/dist/{useTermsOfServiceStatus-BaVCmUdo.js → useTermsOfServiceStatus-DCkVaRvN.js} +1 -1
- package/dist/{useUpdateLegalEntity-LE_Kt3am.js → useUpdateLegalEntity-xfJlMkrb.js} +1 -1
- package/dist/{utils-DmcbDJEd.js → utils-CusOxwr8.js} +4 -4
- package/dist/{validate-D66zPhDG.js → validate-C3WaahoD.js} +2 -2
- package/dist/{validate-B2VmmEPC.js → validate-Dnz1cwsS.js} +2 -2
- package/package.json +1 -1
package/dist/{AcceptTermsOfServiceComponent-DBSkKRHS.js → AcceptTermsOfServiceComponent-DKDi6iRX.js}
RENAMED
|
@@ -9,12 +9,12 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useState, useEffect, useCallback } from "preact/hooks";
|
|
12
|
-
import { a as useApiContext, bo as useInvalidateRootLegalEntity, bp as useMutation, t as httpPost, r as useQuery, B as skipToken, x as httpGet, a0 as createLogger, u as useI18nContext, c as useTranslation, a3 as useAnalyticsContext, a9 as useToastContext, aa as useExperimentsContext, bt as getLanguageCode, ay as useForm, K as Alert, G as Button, a6 as LoaderWrapper, aD as Field, bu as Select, bv as Checkbox, aS as ActionBar, bw as MaybeModal, be as ModalContent, bg as ModalFooter, bx as StepProgressIndicator, bh as Spacer, O as LegalEntityTypes, aj as getOwnSignatories, C as doesLegalEntityRequiresLegalRepresentative, z as getLegalRepresentative, aq as getLegalEntityNameBasedOnType, aQ as FormNavigation, d as useLegalEntity, R as ROOT_LE, L as Loader, $ as TaskTypes } from "./StoreProvider-
|
|
13
|
-
import { u as useTermsOfServiceStatus, a as useTermsOfServiceAcceptanceInfos } from "./useTermsOfServiceStatus-
|
|
14
|
-
import { C as ContractViewer, O as OutlinedIcon } from "./ContractViewer-
|
|
15
|
-
import { F as FormEndState } from "./FormEndState-
|
|
12
|
+
import { a as useApiContext, bo as useInvalidateRootLegalEntity, bp as useMutation, t as httpPost, r as useQuery, B as skipToken, x as httpGet, a0 as createLogger, u as useI18nContext, c as useTranslation, a3 as useAnalyticsContext, a9 as useToastContext, aa as useExperimentsContext, bt as getLanguageCode, ay as useForm, K as Alert, G as Button, a6 as LoaderWrapper, aD as Field, bu as Select, bv as Checkbox, aS as ActionBar, bw as MaybeModal, be as ModalContent, bg as ModalFooter, bx as StepProgressIndicator, bh as Spacer, O as LegalEntityTypes, aj as getOwnSignatories, C as doesLegalEntityRequiresLegalRepresentative, z as getLegalRepresentative, aq as getLegalEntityNameBasedOnType, aQ as FormNavigation, d as useLegalEntity, R as ROOT_LE, L as Loader, $ as TaskTypes } from "./StoreProvider-nqVR_kWS.js";
|
|
13
|
+
import { u as useTermsOfServiceStatus, a as useTermsOfServiceAcceptanceInfos } from "./useTermsOfServiceStatus-DCkVaRvN.js";
|
|
14
|
+
import { C as ContractViewer, O as OutlinedIcon } from "./ContractViewer-DiT_8GRM.js";
|
|
15
|
+
import { F as FormEndState } from "./FormEndState-D_8_v1NU.js";
|
|
16
16
|
import { d as downloadFile } from "./file-CiG1D0zy.js";
|
|
17
|
-
import { l as localizeDateString } from "./localizeDateString-
|
|
17
|
+
import { l as localizeDateString } from "./localizeDateString-DLWgJuND.js";
|
|
18
18
|
const acceptTermsOfService = async (legalEntityId, baseUrl, termsOfServiceDocumentId, data) => {
|
|
19
19
|
return httpPost(
|
|
20
20
|
{
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { c as useTranslation, A as AlertIcon, F as FormHeader } from "./StoreProvider-
|
|
12
|
-
import { D as DropinLayout } from "./OnboardingDropinComponent-
|
|
11
|
+
import { c as useTranslation, A as AlertIcon, F as FormHeader } from "./StoreProvider-nqVR_kWS.js";
|
|
12
|
+
import { D as DropinLayout } from "./OnboardingDropinComponent-DkkC-O2y.js";
|
|
13
13
|
function AccountSetupRejected() {
|
|
14
14
|
const { t } = useTranslation();
|
|
15
15
|
const content = /* @__PURE__ */ jsxs("div", { children: [
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import { a7 as Icon } from "./StoreProvider-
|
|
12
|
+
import { a7 as Icon } from "./StoreProvider-nqVR_kWS.js";
|
|
13
13
|
const avatar = "adyen-kyc-avatar";
|
|
14
14
|
const avatarLabel = "adyen-kyc-avatar-label";
|
|
15
15
|
const avatarPrimary = "adyen-kyc-avatar-primary";
|
|
@@ -2,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] = "43b76209-554a-44f8-90ba-584a84d71a82", e._sentryDebugIdIdentifier = "sentry-dbid-43b76209-554a-44f8-90ba-584a84d71a82");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
|
-
import { u as useI18nContext,
|
|
11
|
+
import { u as useI18nContext, dy as MemoizedDocumentUpload, G as Button, bc as Modal, be as ModalContent, N as Typography, as as CountryCodes, Y as CompanyTypesValues, f0 as useGlobalData, eS as getForms, $ as TaskTypes, f1 as BasicInformation, ds as getFormProps, f2 as CompanyStructure, f3 as AdditionalInformation, eM as MemoizedConstitutionalDocument, O as LegalEntityTypes, eL as FinancialInformation, cg as getDocument, ch as mapExistingFile, ci as getPageName, bA as formatObject, bm as entriesOf, b8 as businessDetailsComponentsKeyMapping, f4 as solePropBusinessDetailsKeyMapping, f5 as getDefaultRegistrationNumberType, f6 as getDefaultVatNumberType, b3 as objectsDeepEqual, d_ as operationalAddressIsSameIds, eO as COUNTRIES_USING_COMPANY_SEARCH, f7 as FIELDS_NEEDED_FOR_COMPANY_SEARCH, dh as keysOf, i as isUndefinedOrNull, dL as isDateOlderThanAYear, aN as summaryItem, f8 as solePropBusinessDetailsApiKeyMapping, e$ as businessDetailsApiKeyMapping, f9 as isRegistrationNumberAbsentStateV4Scenario, di as isEmpty, fa as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, cl as createDocumentRequest, ba as datasetUtilities, cG as mapAddressLabels, eK as companyTypeMetadata, a0 as createLogger, cF as filterOutUnwantedAssociationsIfRootLE, bU as isValidationError, bV as processValidationErrors, bW as isMaintenanceModeError, fb as getProp, at as isEmpty$1, fc as documentFormsIds, av as resolveFieldMetadata, e8 as registrationNumberDefaultFieldMetadata, fd as inferCompanyRegistrationNumberType, fe as getCompanyRegistrationNumberOptions, e9 as registrationNumberDefaultFieldConfig, cb as taxInformationDefaultFieldMetadata, ff as countryToTaxInfoTypeMap, cc as taxInformationDefaultFieldConfig, fg as getKeyForField, co as drop, ao as getOwnEntityAssociations, cP as doArraysMatch, cL as getFileExtention, X as useAccountHolder, a9 as useToastContext, a3 as useAnalyticsContext, aa as useExperimentsContext, v as useSettingsContext, a as useApiContext, dV as verifiedBusiness, br as useQueryClient, fh as useStateContext, w as SettingNames, fi as setIsBankAccountRequestedForOrganization, bP as getAssociatedLeAnalyticsPayload, bb as getCapabilityProblems, cp as documentApiUtils, cD as composePerScenarioFormConfigurations, cx as useScenarioConfiguration, eW as rules, cy as getPropsFromConfigurations, eX as useCompanySearch, fj as useCompanySelection, eY as useVerifyTin, bQ as getRequiredForms, bR as addValidityToForms, fk as useClearCompanyData, bS as useFormComposer, fl as setVerifiedBusiness, fm as FormWrapper, bi as Confirm, fn as solePropBusinessDetailsDocumentMapping, e_ as businessDetailsDocumentMapping } from "./StoreProvider-nqVR_kWS.js";
|
|
12
12
|
import { useState, useEffect, useRef, useMemo, useCallback } from "preact/hooks";
|
|
13
|
-
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
14
|
-
import { h as hasDataChanged } from "./hasDataChanged-
|
|
15
|
-
import { o as organizationTypesToSkipCompanyStructureForm } from "./utils-
|
|
16
|
-
import { g as getFieldsWithExistingData } from "./getFieldsWithExistingData-
|
|
13
|
+
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-xfJlMkrb.js";
|
|
14
|
+
import { h as hasDataChanged } from "./hasDataChanged-DIVMD4Rh.js";
|
|
15
|
+
import { o as organizationTypesToSkipCompanyStructureForm } from "./utils-CusOxwr8.js";
|
|
16
|
+
import { g as getFieldsWithExistingData } from "./getFieldsWithExistingData-D1vVVeaf.js";
|
|
17
17
|
import cx from "classnames";
|
|
18
|
-
import { m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./mapFinancialReportsToFinancialInformation-
|
|
18
|
+
import { m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./mapFinancialReportsToFinancialInformation-anU-0sl0.js";
|
|
19
19
|
import { f as formatCurrency } from "./formatCurrency-CMOSdJMB.js";
|
|
20
20
|
const stripWhitespace = (str) => str.replace(/\s/g, "");
|
|
21
21
|
const toNormalizedString = (s) => stripWhitespace(s.toLowerCase());
|
package/dist/{BusinessFinancingComponent-DDKomenp.js → BusinessFinancingComponent-D1XrIsPc.js}
RENAMED
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { useMemo } from "preact/hooks";
|
|
12
|
-
import { d as useLegalEntity, g as getLegalEntityCountry, L as Loader } from "./StoreProvider-
|
|
13
|
-
import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-
|
|
12
|
+
import { d as useLegalEntity, g as getLegalEntityCountry, L as Loader } from "./StoreProvider-nqVR_kWS.js";
|
|
13
|
+
import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-DQ56QSPj.js";
|
|
14
14
|
function BusinessFinancingComponent({
|
|
15
15
|
legalEntityId,
|
|
16
16
|
onSubmitSuccess
|
|
@@ -9,14 +9,14 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useRef, useEffect, useMemo, useState, useCallback } from "preact/hooks";
|
|
12
|
-
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
13
|
-
import { bz as reverseMapping, bA as formatObject, bB as isEeaCountry, O as LegalEntityTypes, bk as cloneObject, a as useApiContext, r as useQuery, x as httpGet, u as useI18nContext, aD as Field, bu as Select, c as useTranslation, N as Typography, bC as LegalFormField, aC as createFormUtils, a_ as RadioGroup, bD as Link, bE as InputText, bl as currencyByCountry, bF as InputNumber, bG as Currency, bH as CURRENCY_FIELD, bI as InputCurrency, bJ as InputDate, bK as useFormContext, az as getFieldProps, aB as ErrorPanel, ba as datasetUtilities, bL as getAddressSchemaForCountry, bM as COUNTRIES_WITH_STATES_DATASET, bv as Checkbox, bN as Address, bO as getAddressSchemaLabelsByCountry, a3 as useAnalyticsContext, bo as useInvalidateRootLegalEntity, ar as useAssociatedLegalEntity, a9 as useToastContext, v as useSettingsContext, w as SettingNames, bP as getAssociatedLeAnalyticsPayload, bQ as getRequiredForms, bR as addValidityToForms, bS as useFormComposer, bT as trackNavigation, L as Loader, a7 as Icon, G as Button, bU as isValidationError, bV as processValidationErrors, bW as isMaintenanceModeError } from "./StoreProvider-
|
|
14
|
-
import { F as FormContextProvider, a as FormFlow } from "./FormFlow-
|
|
15
|
-
import { u as useMultiForm } from "./useMultiForm-
|
|
16
|
-
import { F as FormEndState } from "./FormEndState-
|
|
17
|
-
import { l as localizeDateString } from "./localizeDateString-
|
|
18
|
-
import { m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./mapFinancialReportsToFinancialInformation-
|
|
19
|
-
import { b as businessFinancingMultiformRules } from "./validate-
|
|
12
|
+
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-xfJlMkrb.js";
|
|
13
|
+
import { bz as reverseMapping, bA as formatObject, bB as isEeaCountry, O as LegalEntityTypes, bk as cloneObject, a as useApiContext, r as useQuery, x as httpGet, u as useI18nContext, aD as Field, bu as Select, c as useTranslation, N as Typography, bC as LegalFormField, aC as createFormUtils, a_ as RadioGroup, bD as Link, bE as InputText, bl as currencyByCountry, bF as InputNumber, bG as Currency, bH as CURRENCY_FIELD, bI as InputCurrency, bJ as InputDate, bK as useFormContext, az as getFieldProps, aB as ErrorPanel, ba as datasetUtilities, bL as getAddressSchemaForCountry, bM as COUNTRIES_WITH_STATES_DATASET, bv as Checkbox, bN as Address, bO as getAddressSchemaLabelsByCountry, a3 as useAnalyticsContext, bo as useInvalidateRootLegalEntity, ar as useAssociatedLegalEntity, a9 as useToastContext, v as useSettingsContext, w as SettingNames, bP as getAssociatedLeAnalyticsPayload, bQ as getRequiredForms, bR as addValidityToForms, bS as useFormComposer, bT as trackNavigation, L as Loader, a7 as Icon, G as Button, bU as isValidationError, bV as processValidationErrors, bW as isMaintenanceModeError } from "./StoreProvider-nqVR_kWS.js";
|
|
14
|
+
import { F as FormContextProvider, a as FormFlow } from "./FormFlow-Urrg9vMm.js";
|
|
15
|
+
import { u as useMultiForm } from "./useMultiForm-CD30RFXS.js";
|
|
16
|
+
import { F as FormEndState } from "./FormEndState-D_8_v1NU.js";
|
|
17
|
+
import { l as localizeDateString } from "./localizeDateString-DLWgJuND.js";
|
|
18
|
+
import { m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./mapFinancialReportsToFinancialInformation-anU-0sl0.js";
|
|
19
|
+
import { b as businessFinancingMultiformRules } from "./validate-Dnz1cwsS.js";
|
|
20
20
|
const businessFinancingBaseMapping = {
|
|
21
21
|
legalProceedingsDate: "organization.dateOfInitiationOfLegalProceeding",
|
|
22
22
|
legalInformationInsolvency: "organization.statusOfLegalProceeding",
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { u as useI18nContext, d as useLegalEntity, R as ROOT_LE, L as Loader, g as getLegalEntityCountry } from "./StoreProvider-
|
|
12
|
-
import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-
|
|
11
|
+
import { u as useI18nContext, d as useLegalEntity, R as ROOT_LE, L as Loader, g as getLegalEntityCountry } from "./StoreProvider-nqVR_kWS.js";
|
|
12
|
+
import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-DQ56QSPj.js";
|
|
13
13
|
const BusinessFinancingPage = ({
|
|
14
14
|
onSubmit,
|
|
15
15
|
handleHomeClick
|
package/dist/{BusinessTypeSelectionPage-DmjbM57I.js → BusinessTypeSelectionPage-CFignJ19.js}
RENAMED
|
@@ -2,16 +2,16 @@
|
|
|
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] = "42d27b0d-95c6-4926-b599-5a29040f7074", e._sentryDebugIdIdentifier = "sentry-dbid-42d27b0d-95c6-4926-b599-5a29040f7074");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
|
-
import { a0 as createLogger, c as useTranslation, a3 as useAnalyticsContext, a9 as useToastContext, aa as useExperimentsContext, X as useAccountHolder,
|
|
11
|
+
import { a0 as createLogger, c as useTranslation, a3 as useAnalyticsContext, a9 as useToastContext, aa as useExperimentsContext, X as useAccountHolder, dR as getCapabilities, g as getLegalEntityCountry, O as LegalEntityTypes, ay as useForm, a6 as LoaderWrapper, N as Typography, aD as Field, dS as EntityTypeRadioGroupCard, aG as RadioGroupCard, G as Button, bh as Spacer, a7 as Icon, d as useLegalEntity, R as ROOT_LE, L as Loader } from "./StoreProvider-nqVR_kWS.js";
|
|
12
12
|
import { useState, useEffect } from "preact/hooks";
|
|
13
|
-
import { a as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
14
|
-
import { u as useSelectionOptions, g as getBusinessType, a as getDefaultLegalArrangementOrSuborganizationType, l as legalArrangementMetadata, b as getTargetLegalEntityType, c as businessTypeIcons, d as determineOrganizationTypeToUpdate } from "./utils-
|
|
13
|
+
import { a as useUpdateLegalEntity } from "./useUpdateLegalEntity-xfJlMkrb.js";
|
|
14
|
+
import { u as useSelectionOptions, g as getBusinessType, a as getDefaultLegalArrangementOrSuborganizationType, l as legalArrangementMetadata, b as getTargetLegalEntityType, c as businessTypeIcons, d as determineOrganizationTypeToUpdate } from "./utils-CusOxwr8.js";
|
|
15
15
|
const businessTypeExamples = /* @__PURE__ */ Object.assign({ "../localized/legalEntityTypeExamples/AT.json": () => import("./AT-EpV7jN58.js"), "../localized/legalEntityTypeExamples/AU.json": () => import("./AU-pBsEvEUy.js"), "../localized/legalEntityTypeExamples/BE.json": () => import("./BE-CU5o9cmc.js"), "../localized/legalEntityTypeExamples/BR.json": () => import("./BR-ORoHRwTk.js"), "../localized/legalEntityTypeExamples/CA.json": () => import("./CA-VXNq-m6m.js"), "../localized/legalEntityTypeExamples/CH.json": () => import("./CH-B_-afpD_.js"), "../localized/legalEntityTypeExamples/CZ.json": () => import("./CZ-CTw_bQIu.js"), "../localized/legalEntityTypeExamples/DE.json": () => import("./DE-D_jIDxOH.js"), "../localized/legalEntityTypeExamples/DK.json": () => import("./DK-dBzrfgpQ.js"), "../localized/legalEntityTypeExamples/ES.json": () => import("./ES-DYbZmFcJ.js"), "../localized/legalEntityTypeExamples/FI.json": () => import("./FI-C9nRvop7.js"), "../localized/legalEntityTypeExamples/FR.json": () => import("./FR-BycGQO4W.js"), "../localized/legalEntityTypeExamples/GB.json": () => import("./GB-DFyzo5sN.js"), "../localized/legalEntityTypeExamples/HK.json": () => import("./HK-WqZ5UBEF.js"), "../localized/legalEntityTypeExamples/HR.json": () => import("./HR-CRa19tH1.js"), "../localized/legalEntityTypeExamples/HU.json": () => import("./HU-D5NCweWf.js"), "../localized/legalEntityTypeExamples/IE.json": () => import("./IE-rhATS57q.js"), "../localized/legalEntityTypeExamples/IT.json": () => import("./IT-wD7dHdYD.js"), "../localized/legalEntityTypeExamples/LT.json": () => import("./LT-0F72uCyI.js"), "../localized/legalEntityTypeExamples/NL.json": () => import("./NL-q2U2l276.js"), "../localized/legalEntityTypeExamples/NO.json": () => import("./NO-CX12Zsf_.js"), "../localized/legalEntityTypeExamples/PL.json": () => import("./PL-CwCXF3Yu.js"), "../localized/legalEntityTypeExamples/PT.json": () => import("./PT-Dei5v1nD.js"), "../localized/legalEntityTypeExamples/RO.json": () => import("./RO-Dxk08mOu.js"), "../localized/legalEntityTypeExamples/SE.json": () => import("./SE-AP3gLiyy.js"), "../localized/legalEntityTypeExamples/SG.json": () => import("./SG-DMcOb17i.js"), "../localized/legalEntityTypeExamples/SI.json": () => import("./SI-BXe-yndm.js"), "../localized/legalEntityTypeExamples/SK.json": () => import("./SK-DwdgoGnD.js"), "../localized/legalEntityTypeExamples/US.json": () => import("./US-DHxLSqeC.js") });
|
|
16
16
|
const logger$1 = createLogger();
|
|
17
17
|
const getBusinessTypeExamplesForCountry = async (country) => {
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { a7 as Icon } from "./StoreProvider-
|
|
11
|
+
import { a7 as Icon } from "./StoreProvider-nqVR_kWS.js";
|
|
12
12
|
import cx from "classnames";
|
|
13
13
|
import { useRef, useState, useEffect } from "preact/hooks";
|
|
14
14
|
const outlinedIcon = "adyen-kyc-outlined-icon";
|
package/dist/{CreateIndividualComponent-c8yAn2_J.js → CreateIndividualComponent-DkX98cSx.js}
RENAMED
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { d as useLegalEntity, af as useCapabilityProblems, aa as useExperimentsContext, L as Loader, g as getLegalEntityCountry, b5 as getProblemsForEntity, Z as EntityTypes, b6 as isOnfidoAutofillFlowEnabled, $ as TaskTypes } from "./StoreProvider-
|
|
12
|
-
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-
|
|
11
|
+
import { d as useLegalEntity, af as useCapabilityProblems, aa as useExperimentsContext, L as Loader, g as getLegalEntityCountry, b5 as getProblemsForEntity, Z as EntityTypes, b6 as isOnfidoAutofillFlowEnabled, $ as TaskTypes } from "./StoreProvider-nqVR_kWS.js";
|
|
12
|
+
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-VYVSjf_C.js";
|
|
13
13
|
const CreateIndividualComponent = ({
|
|
14
14
|
legalEntityId,
|
|
15
15
|
onSubmitSuccess,
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { useState } from "preact/hooks";
|
|
12
|
-
import { d as useLegalEntity, ar as useAssociatedLegalEntity, O as LegalEntityTypes, L as Loader, b9 as PayoutDetailsDropin, $ as TaskTypes } from "./StoreProvider-
|
|
12
|
+
import { d as useLegalEntity, ar as useAssociatedLegalEntity, O as LegalEntityTypes, L as Loader, b9 as PayoutDetailsDropin, $ as TaskTypes } from "./StoreProvider-nqVR_kWS.js";
|
|
13
13
|
function CreateTransferInstrumentComponent({
|
|
14
14
|
legalEntityId,
|
|
15
15
|
transferInstrumentId,
|
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "80e5bf37-275d-47f6-88db-9d9c8829fb79", e._sentryDebugIdIdentifier = "sentry-dbid-80e5bf37-275d-47f6-88db-9d9c8829fb79");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
|
-
import { d as useLegalEntity, R as ROOT_LE, L as Loader, c as useTranslation, a3 as useAnalyticsContext, a9 as useToastContext, br as useQueryClient, av as resolveFieldMetadata, c9 as defaultFieldMetadata, ca as fieldConfig, ct as getAsyncPhoneValidationRules, F as FormHeader,
|
|
11
|
+
import { d as useLegalEntity, R as ROOT_LE, L as Loader, c as useTranslation, a3 as useAnalyticsContext, a9 as useToastContext, br as useQueryClient, av as resolveFieldMetadata, c9 as defaultFieldMetadata, ca as fieldConfig, ct as getAsyncPhoneValidationRules, F as FormHeader, dg as ContactDetails, aS as ActionBar, a0 as createLogger } from "./StoreProvider-nqVR_kWS.js";
|
|
12
12
|
import { useCallback, useMemo, useEffect } from "preact/hooks";
|
|
13
|
-
import { a as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
14
|
-
import { c as contactDetailsValidationRules, u as useValidatePhoneNumberImperatively } from "./validate-
|
|
15
|
-
import { u as useMultiForm } from "./useMultiForm-
|
|
13
|
+
import { a as useUpdateLegalEntity } from "./useUpdateLegalEntity-xfJlMkrb.js";
|
|
14
|
+
import { c as contactDetailsValidationRules, u as useValidatePhoneNumberImperatively } from "./validate-C3WaahoD.js";
|
|
15
|
+
import { u as useMultiForm } from "./useMultiForm-CD30RFXS.js";
|
|
16
16
|
const mapCustomerSupportSchemaToCustomerSupportType = (customerSupport) => {
|
|
17
17
|
return {
|
|
18
18
|
email: customerSupport?.customerSupport?.email || "",
|
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "82f8355f-6006-4be6-9b27-ed00ccdb621f", e._sentryDebugIdIdentifier = "sentry-dbid-82f8355f-6006-4be6-9b27-ed00ccdb621f");
|
|
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 { G as Button, bm as entriesOf, bE as InputText, c as useTranslation,
|
|
12
|
+
import { G as Button, bm as entriesOf, bE as InputText, c as useTranslation, dO as splitTaskIdentifier, aa as useExperimentsContext, v as useSettingsContext, u as useI18nContext, ag as useGlobalStore, dk as listToRecord, dP as valuesOf, bc as Modal, a0 as createLogger, a7 as Icon, w as SettingNames, dQ as ExperimentNames } from "./StoreProvider-nqVR_kWS.js";
|
|
13
13
|
import { T as Tag } from "./Tag-DdkVScyr.js";
|
|
14
14
|
import MonogonCode from "monogon/preact";
|
|
15
|
-
import { T as TaskItemStatus } from "./TaskItemStatus-
|
|
15
|
+
import { T as TaskItemStatus } from "./TaskItemStatus-o-rpFU9k.js";
|
|
16
16
|
const tabs = "adyen-kyc-tabs";
|
|
17
17
|
const styles$2 = {
|
|
18
18
|
tabs
|
|
@@ -239,7 +239,7 @@ const DebugModal = ({ onExit }) => {
|
|
|
239
239
|
const [tab, setTab] = useState("metadata");
|
|
240
240
|
const rootLegalEntity = useGlobalStore().rootLegalEntity.value;
|
|
241
241
|
const metadata = {
|
|
242
|
-
sdkVersion: "3.80.0
|
|
242
|
+
sdkVersion: "3.80.0",
|
|
243
243
|
locale: i18n.locale,
|
|
244
244
|
rootLegalEntityId: rootLegalEntity.id
|
|
245
245
|
};
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { d as useLegalEntity, B as skipToken, af as useCapabilityProblems, aa as useExperimentsContext, L as Loader, g as getLegalEntityCountry, b5 as getProblemsForEntity, b6 as isOnfidoAutofillFlowEnabled, a8 as noop, $ as TaskTypes, Z as EntityTypes } from "./StoreProvider-
|
|
12
|
-
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-
|
|
11
|
+
import { d as useLegalEntity, B as skipToken, af as useCapabilityProblems, aa as useExperimentsContext, L as Loader, g as getLegalEntityCountry, b5 as getProblemsForEntity, b6 as isOnfidoAutofillFlowEnabled, a8 as noop, $ as TaskTypes, Z as EntityTypes } from "./StoreProvider-nqVR_kWS.js";
|
|
12
|
+
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-VYVSjf_C.js";
|
|
13
13
|
function DecisionMakerDetailsPage({
|
|
14
14
|
decisionMakerId,
|
|
15
15
|
parentCompanyId,
|
|
@@ -9,13 +9,13 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useState, useEffect } from "preact/hooks";
|
|
12
|
-
import { a7 as Icon, c as useTranslation, d as useLegalEntity, bc as Modal, L as Loader, aO as getRoleName, G as Button, bi as Confirm, u as useI18nContext, N as Typography, K as Alert, a3 as useAnalyticsContext, H as Svg, R as ROOT_LE, ad as useGetTaskStatus, aa as useExperimentsContext, a9 as useToastContext, af as useCapabilityProblems, by as getOwnDecisionMakers, cv as useScenarios, cS as getAvailableDecisionMakerRoleTypes, $ as TaskTypes, cB as getAllowedDecisionMakerRoles, F as FormHeader, aZ as ContextGuidance, aX as Trans, cQ as DecisionMakerTypes, ae as CardGroup, aS as ActionBar, O as LegalEntityTypes } from "./StoreProvider-
|
|
13
|
-
import { a as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
14
|
-
import { e as useDataMissingRemediations, D as DropinLayout, E as EntityGuidanceStatus, i as iconStatus, f as EntityAssociation } from "./OnboardingDropinComponent-
|
|
12
|
+
import { a7 as Icon, c as useTranslation, d as useLegalEntity, bc as Modal, L as Loader, aO as getRoleName, G as Button, bi as Confirm, u as useI18nContext, N as Typography, K as Alert, a3 as useAnalyticsContext, H as Svg, R as ROOT_LE, ad as useGetTaskStatus, aa as useExperimentsContext, a9 as useToastContext, af as useCapabilityProblems, by as getOwnDecisionMakers, cv as useScenarios, cS as getAvailableDecisionMakerRoleTypes, $ as TaskTypes, cB as getAllowedDecisionMakerRoles, F as FormHeader, aZ as ContextGuidance, aX as Trans, cQ as DecisionMakerTypes, ae as CardGroup, aS as ActionBar, O as LegalEntityTypes } from "./StoreProvider-nqVR_kWS.js";
|
|
13
|
+
import { a as useUpdateLegalEntity } from "./useUpdateLegalEntity-xfJlMkrb.js";
|
|
14
|
+
import { e as useDataMissingRemediations, D as DropinLayout, E as EntityGuidanceStatus, i as iconStatus, f as EntityAssociation } from "./OnboardingDropinComponent-DkkC-O2y.js";
|
|
15
15
|
import cx from "classnames";
|
|
16
|
-
import { A as Avatar } from "./Avatar-
|
|
17
|
-
import { T as TaskStatusIndicator } from "./TaskStatusIndicator-
|
|
18
|
-
import { S as StackLayout, L as LandingLayout } from "./LandingLayout-
|
|
16
|
+
import { A as Avatar } from "./Avatar-Bsc58neS.js";
|
|
17
|
+
import { T as TaskStatusIndicator } from "./TaskStatusIndicator-6bpYVt4Z.js";
|
|
18
|
+
import { S as StackLayout, L as LandingLayout } from "./LandingLayout-CddoBOJ4.js";
|
|
19
19
|
const listItem = "adyen-kyc-list-item";
|
|
20
20
|
const listItemInteractive = "adyen-kyc-list-item-interactive";
|
|
21
21
|
const listItemText = "adyen-kyc-list-item-text";
|
|
@@ -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 { a1 as TaskStatuses, c as useTranslation, J as Skeleton, N as Typography } from "./StoreProvider-
|
|
12
|
+
import { A as Avatar } from "./Avatar-Bsc58neS.js";
|
|
13
|
+
import { a1 as TaskStatuses, c as useTranslation, J as Skeleton, N as Typography } from "./StoreProvider-nqVR_kWS.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 { defineSlots } from "named-slots";
|
|
13
|
-
import { a7 as Icon, A as AlertIcon } from "./StoreProvider-
|
|
13
|
+
import { a7 as Icon, A as AlertIcon } from "./StoreProvider-nqVR_kWS.js";
|
|
14
14
|
const formEndState = "adyen-kyc-form-end-state";
|
|
15
15
|
const endStateIcon = "adyen-kyc-end-state-icon";
|
|
16
16
|
const iconInfo = "adyen-kyc-icon-info";
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "252b306a-b541-4c7e-86a2-807aa8eec85f", e._sentryDebugIdIdentifier = "sentry-dbid-252b306a-b541-4c7e-86a2-807aa8eec85f");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { useMemo, useRef, useState } from "preact/hooks";
|
|
12
|
-
import {
|
|
12
|
+
import { dE as FormContext, a3 as useAnalyticsContext, c as useTranslation, bw as MaybeModal, a6 as LoaderWrapper, dF as FormRouterContextProvider, aR as Summary, G as Button, a2 as IconButton, bi as Confirm } from "./StoreProvider-nqVR_kWS.js";
|
|
13
13
|
import cx from "classnames";
|
|
14
14
|
function FormContextProvider({
|
|
15
15
|
children,
|
|
@@ -2,24 +2,24 @@
|
|
|
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] = "4820f618-179c-42bf-ba8e-f62e77d52204", e._sentryDebugIdIdentifier = "sentry-dbid-4820f618-179c-42bf-ba8e-f62e77d52204");
|
|
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, useEffect, useCallback } from "preact/hooks";
|
|
12
|
-
import { a as useApiContext, bp as useMutation, t as httpPost, bX as matchesRegex, bY as trimValWithOneSpace, bZ as NO_ALPHABET_REGEX, b_ as EMOJI_REGEX, b$ as hasRepeatedCharacters, c0 as isInvalidName, c1 as INDIVIDUAL_VALID_CHAR_REGEX, c2 as getFormattingRegEx, c3 as SPECIAL_CHARS, c4 as standardKatakanaValidator, c5 as standardKanjiValidator, av as resolveFieldMetadata, as as CountryCodes, c6 as getSSNType, at as isEmpty, c7 as defaultFieldMetadata, c8 as defaultFieldConfig, c9 as defaultFieldMetadata$1, ca as fieldConfig, $ as TaskTypes, cb as taxInformationDefaultFieldMetadata, O as LegalEntityTypes, cc as taxInformationDefaultFieldConfig, cd as getAgeToday, ce as euCountries, cf as getIdDocument, cg as getDocument, ch as mapExistingFile, ci as getPageName, cj as getLocalizedIdDocumentTypeOptions, ck as getPage, cl as createDocumentRequest, bA as formatObject, cm as individualApiKeyMapping, b7 as individualComponentsKeyMapping, bz as reverseMapping, cn as getNomineeFromAssociation, co as drop, a0 as createLogger, X as useAccountHolder, u as useI18nContext, a3 as useAnalyticsContext, a9 as useToastContext, aa as useExperimentsContext, v as useSettingsContext, cp as documentApiUtils, cq as useProviderStatus, g as getLegalEntityCountry, bP as getAssociatedLeAnalyticsPayload, cr as addressValidators, cs as getAsyncIdNumberValidationRule, ct as getAsyncPhoneValidationRules, cu as addressFormatters, cv as useScenarios, cw as setHasMotionCaptureScenario, cx as useScenarioConfiguration, cy as getPropsFromConfigurations, cz as individualForms, cA as showIndividualMotionCapture, bQ as getRequiredForms, bR as addValidityToForms, cB as getAllowedDecisionMakerRoles, ba as datasetUtilities, bS as useFormComposer, bT as trackNavigation, cC as Individual, cD as composePerScenarioFormConfigurations, cE as omitObscuredFieldsIfUnchanged, cF as filterOutUnwantedAssociationsIfRootLE, bU as isValidationError, bV as processValidationErrors, bW as isMaintenanceModeError, bk as cloneObject, cG as mapAddressLabels, cH as individualDocumentForms, cI as individualDocumentMapping, cJ as individualObscuredFields, cK as mergeAttachments, cL as getFileExtention, ao as getOwnEntityAssociations, cM as hasNomineesChanged, cN as attachNomineeToRole, cO as idVerificationProviderId, cP as doArraysMatch, N as Typography, G as Button, aD as Field, cQ as DecisionMakerTypes, cR as createFormRules, cS as getAvailableDecisionMakerRoleTypes, cT as allowedCountriesForNominee, bL as getAddressSchemaForCountry, bM as COUNTRIES_WITH_STATES_DATASET, cU as Scenarios, cV as isLowRiskCountry, bu as Select, cW as isTruthyValidator, cX as licenseCardNumberDefaultMetadata, cY as licenseCardNumberDefaultConfig, au as mergeFieldMetadataIntoProps, c as useTranslation, aC as createFormUtils, bK as useFormContext, az as getFieldProps, cZ as idNumberFields, c_ as IdentityNumber, c$ as additionallIdNumberOptions, d0 as MaskedInput, bJ as InputDate, d1 as formatDateObj, d2 as DriversLicense, d3 as addressFields, b as useAllowedCountries, w as SettingNames, F as FormHeader, aB as ErrorPanel, aJ as CountryField, bN as Address, bO as getAddressSchemaLabelsByCountry, bD as Link, bi as Confirm,
|
|
13
|
-
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
14
|
-
import { c as contactDetailsValidationRules, u as useValidatePhoneNumberImperatively } from "./validate-
|
|
15
|
-
import { F as FormContextProvider, a as FormFlow } from "./FormFlow-
|
|
16
|
-
import { u as useSingpassMyInfoLogin, L as LandingLayout } from "./LandingLayout-
|
|
17
|
-
import { u as useMultiForm } from "./useMultiForm-
|
|
18
|
-
import { g as getFieldsWithExistingData } from "./getFieldsWithExistingData-
|
|
19
|
-
import { l as localizeDateString } from "./localizeDateString-
|
|
20
|
-
import { r as rules, D as DECISION_MAKER_TYPES_WITH_JOBTITLE$1 } from "./rules-
|
|
12
|
+
import { a as useApiContext, bp as useMutation, t as httpPost, bX as matchesRegex, bY as trimValWithOneSpace, bZ as NO_ALPHABET_REGEX, b_ as EMOJI_REGEX, b$ as hasRepeatedCharacters, c0 as isInvalidName, c1 as INDIVIDUAL_VALID_CHAR_REGEX, c2 as getFormattingRegEx, c3 as SPECIAL_CHARS, c4 as standardKatakanaValidator, c5 as standardKanjiValidator, av as resolveFieldMetadata, as as CountryCodes, c6 as getSSNType, at as isEmpty, c7 as defaultFieldMetadata, c8 as defaultFieldConfig, c9 as defaultFieldMetadata$1, ca as fieldConfig, $ as TaskTypes, cb as taxInformationDefaultFieldMetadata, O as LegalEntityTypes, cc as taxInformationDefaultFieldConfig, cd as getAgeToday, ce as euCountries, cf as getIdDocument, cg as getDocument, ch as mapExistingFile, ci as getPageName, cj as getLocalizedIdDocumentTypeOptions, ck as getPage, cl as createDocumentRequest, bA as formatObject, cm as individualApiKeyMapping, b7 as individualComponentsKeyMapping, bz as reverseMapping, cn as getNomineeFromAssociation, co as drop, a0 as createLogger, X as useAccountHolder, u as useI18nContext, a3 as useAnalyticsContext, a9 as useToastContext, aa as useExperimentsContext, v as useSettingsContext, cp as documentApiUtils, cq as useProviderStatus, g as getLegalEntityCountry, bP as getAssociatedLeAnalyticsPayload, cr as addressValidators, cs as getAsyncIdNumberValidationRule, ct as getAsyncPhoneValidationRules, cu as addressFormatters, cv as useScenarios, cw as setHasMotionCaptureScenario, cx as useScenarioConfiguration, cy as getPropsFromConfigurations, cz as individualForms, cA as showIndividualMotionCapture, bQ as getRequiredForms, bR as addValidityToForms, cB as getAllowedDecisionMakerRoles, ba as datasetUtilities, bS as useFormComposer, bT as trackNavigation, cC as Individual, cD as composePerScenarioFormConfigurations, cE as omitObscuredFieldsIfUnchanged, cF as filterOutUnwantedAssociationsIfRootLE, bU as isValidationError, bV as processValidationErrors, bW as isMaintenanceModeError, bk as cloneObject, cG as mapAddressLabels, cH as individualDocumentForms, cI as individualDocumentMapping, cJ as individualObscuredFields, cK as mergeAttachments, cL as getFileExtention, ao as getOwnEntityAssociations, cM as hasNomineesChanged, cN as attachNomineeToRole, cO as idVerificationProviderId, cP as doArraysMatch, N as Typography, G as Button, aD as Field, cQ as DecisionMakerTypes, cR as createFormRules, cS as getAvailableDecisionMakerRoleTypes, cT as allowedCountriesForNominee, bL as getAddressSchemaForCountry, bM as COUNTRIES_WITH_STATES_DATASET, cU as Scenarios, cV as isLowRiskCountry, bu as Select, cW as isTruthyValidator, cX as licenseCardNumberDefaultMetadata, cY as licenseCardNumberDefaultConfig, au as mergeFieldMetadataIntoProps, c as useTranslation, aC as createFormUtils, bK as useFormContext, az as getFieldProps, cZ as idNumberFields, c_ as IdentityNumber, c$ as additionallIdNumberOptions, d0 as MaskedInput, bJ as InputDate, d1 as formatDateObj, d2 as DriversLicense, d3 as addressFields, b as useAllowedCountries, w as SettingNames, d4 as isDecisionMakerTask, F as FormHeader, aB as ErrorPanel, aJ as CountryField, bN as Address, bO as getAddressSchemaLabelsByCountry, bD as Link, bi as Confirm, d5 as getAgeRangeForLegalRepresentative, d6 as IndividualIdNumberTypeSelector, d7 as TaxInformationField, bE as InputText, d8 as PatriotActDisclosure, d9 as isLegalRepresentativeNeeded, aA as nameFields, da as decisionMakerRoleFields, db as nomineeFields, dc as contactDetailFields, K as Alert, aZ as ContextGuidance, b4 as TrustedFieldsProviders, dd as DecisionMakerRole, de as NomineeDecisionMakerRole, df as LocalizedNameFields, dg as ContactDetails, dh as keysOf, b3 as objectsDeepEqual, di as isEmpty$1, dj as RadioWithLabel, dk as listToRecord, bc as Modal, dl as pick, dm as IdVerification, bh as Spacer, a2 as IconButton, e as useDataset, f as datasetIdentifier, L as Loader, H as Svg, dn as isPersonUnderAge, dp as IdDocumentManualUpload, M as translateStringOrObject, aX as Trans, dq as idDocumentUploadFields, dr as useFormRouterContext, ds as getFormProps, dt as useCapabilities, du as hasMotionCaptureScenario, dv as setShowIndividualMotionCapture, dw as shouldShowMotionCapture, dx as MemoizedProofOfRelationship, dy as MemoizedDocumentUpload, dz as MemoizedProofOfResidencyUpload, dA as individualOnfidoApiKeyMapping, dB as individualOnfidoBaseMapping, br as useQueryClient, dC as individualOnfidoDocumentMapping, dD as individualOnfidoObscuredFields } from "./StoreProvider-nqVR_kWS.js";
|
|
13
|
+
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-xfJlMkrb.js";
|
|
14
|
+
import { c as contactDetailsValidationRules, u as useValidatePhoneNumberImperatively } from "./validate-C3WaahoD.js";
|
|
15
|
+
import { F as FormContextProvider, a as FormFlow } from "./FormFlow-Urrg9vMm.js";
|
|
16
|
+
import { u as useSingpassMyInfoLogin, L as LandingLayout } from "./LandingLayout-CddoBOJ4.js";
|
|
17
|
+
import { u as useMultiForm } from "./useMultiForm-CD30RFXS.js";
|
|
18
|
+
import { g as getFieldsWithExistingData } from "./getFieldsWithExistingData-D1vVVeaf.js";
|
|
19
|
+
import { l as localizeDateString } from "./localizeDateString-DLWgJuND.js";
|
|
20
|
+
import { r as rules, D as DECISION_MAKER_TYPES_WITH_JOBTITLE$1 } from "./rules-DF6nIpnn.js";
|
|
21
21
|
import { signal, computed } from "@preact/signals";
|
|
22
|
-
import { T as TileGroup } from "./TileGroup-
|
|
22
|
+
import { T as TileGroup } from "./TileGroup-BrD32_Y0.js";
|
|
23
23
|
const verifyIdNumber = async (legalEntityId, baseUrl, data) => {
|
|
24
24
|
return await httpPost(
|
|
25
25
|
{
|
|
@@ -2066,6 +2066,7 @@ function AdditionalPersonalDetails(props) {
|
|
|
2066
2066
|
}
|
|
2067
2067
|
};
|
|
2068
2068
|
const isRootIndividual = taskType === TaskTypes.INDIVIDUAL;
|
|
2069
|
+
const canEditCountry = isSettingEnabled(SettingNames.AllowPrefilledCountryEdit) || isDecisionMakerTask(taskType);
|
|
2069
2070
|
return /* @__PURE__ */ jsxs("form", { className: "adyen-kyc-individual__personal-details", "aria-describedby": "ariaErrorField", children: [
|
|
2070
2071
|
/* @__PURE__ */ jsx(FormHeader, { heading }),
|
|
2071
2072
|
/* @__PURE__ */ jsx(
|
|
@@ -2090,7 +2091,7 @@ function AdditionalPersonalDetails(props) {
|
|
|
2090
2091
|
country: formUtils.getErrorMessage("country", errors, fieldValidationErrors)
|
|
2091
2092
|
},
|
|
2092
2093
|
labels: { country: formUtils.getLabel("country") },
|
|
2093
|
-
readonly: formUtils.isReadOnly("country"),
|
|
2094
|
+
readonly: formUtils.isReadOnly("country") || !canEditCountry,
|
|
2094
2095
|
allowedCountries: isRootIndividual ? allowedCountries : void 0,
|
|
2095
2096
|
handleChangeFor: handleFieldChange
|
|
2096
2097
|
}
|
|
@@ -2277,7 +2278,6 @@ function BasicDetails(props) {
|
|
|
2277
2278
|
errors,
|
|
2278
2279
|
handleFieldChange
|
|
2279
2280
|
} = props;
|
|
2280
|
-
const isDecisionMakerTask = taskType === TaskTypes.DECISION_MAKER || taskType === TaskTypes.TRUST_MEMBER_COMPANY_OWNER || taskType === TaskTypes.UNINCORPORATED_PARTNERSHIP_MEMBER_COMPANY_OWNER;
|
|
2281
2281
|
const isLegalRepresentativeDetailsTask = taskType === TaskTypes.LEGAL_REPRESENTATIVE_DETAILS;
|
|
2282
2282
|
const formUtils = createFormUtils(props, t);
|
|
2283
2283
|
const decisionMakerRoleProps = getFieldProps(props, decisionMakerRoleFields);
|
|
@@ -2326,10 +2326,10 @@ function BasicDetails(props) {
|
|
|
2326
2326
|
contentId: "reasonForFillingIndividualPersonalDetails"
|
|
2327
2327
|
}
|
|
2328
2328
|
),
|
|
2329
|
-
isDecisionMakerTask && trustedFieldsProvider === TrustedFieldsProviders.SINGPASS && readOnlyFields && /* @__PURE__ */ jsx(Typography, { color: "secondary", variant: "caption", children: i18n.get(
|
|
2329
|
+
isDecisionMakerTask(taskType) && trustedFieldsProvider === TrustedFieldsProviders.SINGPASS && readOnlyFields && /* @__PURE__ */ jsx(Typography, { color: "secondary", variant: "caption", children: i18n.get(
|
|
2330
2330
|
"weSelectedSomeRolesBasedOnMyinfoBusinessDataAboutYourCompanysAppointmentHoldersAndShareholders"
|
|
2331
2331
|
) }),
|
|
2332
|
-
isDecisionMakerTask && (isGuidedDecisionMakersFlowDisabled || !isGuidedDecisionMakersFlowEnabled) && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
2332
|
+
isDecisionMakerTask(taskType) && (isGuidedDecisionMakersFlowDisabled || !isGuidedDecisionMakersFlowEnabled) && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
2333
2333
|
/* @__PURE__ */ jsx(
|
|
2334
2334
|
DecisionMakerRole,
|
|
2335
2335
|
{
|
|
@@ -2774,7 +2774,7 @@ const fromIndividualOnfidoConflictSchema = ({
|
|
|
2774
2774
|
}
|
|
2775
2775
|
});
|
|
2776
2776
|
const logger$3 = createLogger();
|
|
2777
|
-
const mapExtractionResultToSchema = (result) => {
|
|
2777
|
+
const mapExtractionResultToSchema = (result, restrictCountryOfResidenceTo) => {
|
|
2778
2778
|
const {
|
|
2779
2779
|
firstName,
|
|
2780
2780
|
lastName,
|
|
@@ -2796,11 +2796,21 @@ const mapExtractionResultToSchema = (result) => {
|
|
|
2796
2796
|
},
|
|
2797
2797
|
additionalPersonalDetails: {}
|
|
2798
2798
|
};
|
|
2799
|
+
let issuingCountryIsCountryOfResidency = false;
|
|
2800
|
+
if (issuingCountry) {
|
|
2801
|
+
const countryFromOcr = issuingCountry;
|
|
2802
|
+
if (!restrictCountryOfResidenceTo || restrictCountryOfResidenceTo.includes(countryFromOcr)) {
|
|
2803
|
+
schema.additionalPersonalDetails.country = countryFromOcr;
|
|
2804
|
+
issuingCountryIsCountryOfResidency = true;
|
|
2805
|
+
} else {
|
|
2806
|
+
schema.additionalPersonalDetails.nationality = countryFromOcr;
|
|
2807
|
+
issuingCountryIsCountryOfResidency = false;
|
|
2808
|
+
}
|
|
2809
|
+
}
|
|
2799
2810
|
if (dateOfBirth) schema.additionalPersonalDetails.birthDate = dateOfBirth;
|
|
2800
|
-
if (issuingCountry) schema.additionalPersonalDetails.country = issuingCountry;
|
|
2801
2811
|
if (issuingState) schema.additionalPersonalDetails.issuerState = issuingState;
|
|
2802
2812
|
if (nationality2) schema.additionalPersonalDetails.nationality = nationality2;
|
|
2803
|
-
if (address && Object.keys(address).length > 0)
|
|
2813
|
+
if (address && issuingCountryIsCountryOfResidency && Object.keys(address).length > 0)
|
|
2804
2814
|
schema.additionalPersonalDetails = {
|
|
2805
2815
|
...schema.additionalPersonalDetails,
|
|
2806
2816
|
...mapAddressToSchema(address)
|
|
@@ -2831,15 +2841,13 @@ const mapAddressToSchema = ({
|
|
|
2831
2841
|
street2,
|
|
2832
2842
|
city,
|
|
2833
2843
|
postalCode,
|
|
2834
|
-
stateOrProvince
|
|
2835
|
-
country
|
|
2844
|
+
stateOrProvince
|
|
2836
2845
|
}) => ({
|
|
2837
2846
|
address: street,
|
|
2838
2847
|
otherAddressInformation: street2,
|
|
2839
2848
|
city,
|
|
2840
2849
|
postalCode,
|
|
2841
|
-
stateOrProvince
|
|
2842
|
-
country
|
|
2850
|
+
stateOrProvince
|
|
2843
2851
|
});
|
|
2844
2852
|
const OnfidoVerificationModal = ({
|
|
2845
2853
|
closeModal,
|
|
@@ -2897,6 +2905,7 @@ const idVerificationMethodFields = [
|
|
|
2897
2905
|
function IdVerificationMethod(props) {
|
|
2898
2906
|
const {
|
|
2899
2907
|
legalEntityId,
|
|
2908
|
+
taskType,
|
|
2900
2909
|
handlers,
|
|
2901
2910
|
formVerificationErrors,
|
|
2902
2911
|
fieldValidationErrors,
|
|
@@ -2924,9 +2933,21 @@ function IdVerificationMethod(props) {
|
|
|
2924
2933
|
const [ocrExtractedData, setOcrExtractedData] = useState(
|
|
2925
2934
|
void 0
|
|
2926
2935
|
);
|
|
2936
|
+
const allowedCountries = useAllowedCountries();
|
|
2937
|
+
const { isSettingEnabled } = useSettingsContext();
|
|
2938
|
+
const canEditPrefilledCountry = isSettingEnabled(SettingNames.AllowPrefilledCountryEdit);
|
|
2939
|
+
const restrictCountryOfResidenceTo = useMemo(() => {
|
|
2940
|
+
if (isDecisionMakerTask(taskType)) {
|
|
2941
|
+
return void 0;
|
|
2942
|
+
}
|
|
2943
|
+
if (!canEditPrefilledCountry) {
|
|
2944
|
+
return [data.additionalPersonalDetails.country];
|
|
2945
|
+
}
|
|
2946
|
+
return allowedCountries;
|
|
2947
|
+
}, [allowedCountries, canEditPrefilledCountry, data.additionalPersonalDetails, taskType]);
|
|
2927
2948
|
const extractedData = useMemo(
|
|
2928
|
-
() => ocrExtractedData ? mapExtractionResultToSchema(ocrExtractedData) : void 0,
|
|
2929
|
-
[ocrExtractedData]
|
|
2949
|
+
() => ocrExtractedData ? mapExtractionResultToSchema(ocrExtractedData, restrictCountryOfResidenceTo) : void 0,
|
|
2950
|
+
[ocrExtractedData, restrictCountryOfResidenceTo]
|
|
2930
2951
|
);
|
|
2931
2952
|
const comparableExistingData = useMemo(() => toIndividualOnfidoConflictSchema(data), [data]);
|
|
2932
2953
|
const comparableExtractedData = useMemo(
|
|
@@ -3750,6 +3771,7 @@ function IndividualOnfido(props) {
|
|
|
3750
3771
|
IdVerificationMethod,
|
|
3751
3772
|
{
|
|
3752
3773
|
legalEntityId,
|
|
3774
|
+
taskType,
|
|
3753
3775
|
handlers: {
|
|
3754
3776
|
handleContinueToAdditionalDetails,
|
|
3755
3777
|
handleDeleteDocument,
|
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { useMemo as useMemo$1, useState, useEffect } from "preact/hooks";
|
|
12
|
-
import { $ as TaskTypes, O as LegalEntityTypes, c as useTranslation, d as useLegalEntity, R as ROOT_LE, L as Loader, a3 as useAnalyticsContext, bx as StepProgressIndicator, G as Button } from "./StoreProvider-
|
|
12
|
+
import { $ as TaskTypes, O as LegalEntityTypes, c as useTranslation, d as useLegalEntity, R as ROOT_LE, L as Loader, a3 as useAnalyticsContext, bx as StepProgressIndicator, G as Button } from "./StoreProvider-nqVR_kWS.js";
|
|
13
13
|
import { useMemo } from "preact/compat";
|
|
14
|
-
import { b as useCanSeeIntroduction, c as useLegalEntityType } from "./OnboardingDropinComponent-
|
|
14
|
+
import { b as useCanSeeIntroduction, c as useLegalEntityType } from "./OnboardingDropinComponent-DkkC-O2y.js";
|
|
15
15
|
import { t as toCapitalized } from "./toCapitalized-Bq7laD0b.js";
|
|
16
16
|
import IntroductionStrings from "./en-US-Bq2Twy6x.js";
|
|
17
17
|
const IntroductionScreens = {
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useReducer, useMemo } from "preact/hooks";
|
|
11
|
-
import { a as useApiContext, r as useQuery, t as httpPost, aa as useExperimentsContext, g as getLegalEntityCountry, as as CountryCodes, P as isPartOfTrustFromLegalEntity, O as LegalEntityTypes, U as hasSolePropInLegalEntity, b4 as TrustedFieldsProviders, b7 as individualComponentsKeyMapping, b8 as businessDetailsComponentsKeyMapping, N as Typography } from "./StoreProvider-
|
|
11
|
+
import { a as useApiContext, r as useQuery, t as httpPost, aa as useExperimentsContext, g as getLegalEntityCountry, as as CountryCodes, P as isPartOfTrustFromLegalEntity, O as LegalEntityTypes, U as hasSolePropInLegalEntity, b4 as TrustedFieldsProviders, b7 as individualComponentsKeyMapping, b8 as businessDetailsComponentsKeyMapping, N as Typography } from "./StoreProvider-nqVR_kWS.js";
|
|
12
12
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
13
13
|
import cx from "classnames";
|
|
14
14
|
async function convertToSingpassLinkResponse(openIdInitiateResponse) {
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { d as useLegalEntity, B as skipToken, R as ROOT_LE, af as useCapabilityProblems, aa as useExperimentsContext, L as Loader, g as getLegalEntityCountry, b5 as getProblemsForEntity, Z as EntityTypes, b6 as isOnfidoAutofillFlowEnabled, a8 as noop, $ as TaskTypes } from "./StoreProvider-
|
|
12
|
-
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-
|
|
11
|
+
import { d as useLegalEntity, B as skipToken, R as ROOT_LE, af as useCapabilityProblems, aa as useExperimentsContext, L as Loader, g as getLegalEntityCountry, b5 as getProblemsForEntity, Z as EntityTypes, b6 as isOnfidoAutofillFlowEnabled, a8 as noop, $ as TaskTypes } from "./StoreProvider-nqVR_kWS.js";
|
|
12
|
+
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-VYVSjf_C.js";
|
|
13
13
|
function LegalRepresentativeDetailsPage({
|
|
14
14
|
legalRepresentativeId,
|
|
15
15
|
asModal = false,
|
package/dist/{ManageIndividualComponent-B0y8wd24.js → ManageIndividualComponent-BPI2aesr.js}
RENAMED
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { a as useApiContext, d as useLegalEntity, R as ROOT_LE } from "./StoreProvider-
|
|
12
|
-
import { u as useOnboardingStatus } from "./useOnboardingStatus-
|
|
11
|
+
import { a as useApiContext, d as useLegalEntity, R as ROOT_LE } from "./StoreProvider-nqVR_kWS.js";
|
|
12
|
+
import { u as useOnboardingStatus } from "./useOnboardingStatus-_s90wk5C.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-BXBTxeW1.js";
|
|
15
15
|
function ManageIndividualComponent({
|
|
16
16
|
legalEntityId,
|
|
17
17
|
onClick
|
package/dist/{ManageTermsOfServiceComponent-DJVDf-iH.js → ManageTermsOfServiceComponent-BzkhmJMD.js}
RENAMED
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { a as useTermsOfServiceAcceptanceInfos, u as useTermsOfServiceStatus } from "./useTermsOfServiceStatus-
|
|
12
|
-
import { a as useApiContext, u as useI18nContext } from "./StoreProvider-
|
|
13
|
-
import { E as EmbeddedStatus } from "./EmbeddedStatus-
|
|
11
|
+
import { a as useTermsOfServiceAcceptanceInfos, u as useTermsOfServiceStatus } from "./useTermsOfServiceStatus-DCkVaRvN.js";
|
|
12
|
+
import { a as useApiContext, u as useI18nContext } from "./StoreProvider-nqVR_kWS.js";
|
|
13
|
+
import { E as EmbeddedStatus } from "./EmbeddedStatus-BXBTxeW1.js";
|
|
14
14
|
function ManageTermsOfServiceComponent({
|
|
15
15
|
legalEntityId,
|
|
16
16
|
onClick
|