@adyen/kyc-components 3.74.3 → 3.74.5
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-Ck5vcITZ.js → AcceptTermsOfServiceComponent-BtYXTKAI.js} +11 -11
- package/dist/{AccountSetupRejected-BTxTladO.js → AccountSetupRejected-CvwpNXeD.js} +2 -2
- package/dist/{Avatar-D3cma0Ca.js → Avatar-DTxJSOVb.js} +1 -1
- package/dist/{BusinessDetailsDropin-iP-5Iee_.js → BusinessDetailsDropin-CnSzgAux.js} +15 -15
- package/dist/{BusinessFinancingComponent-CoOKkXsQ.js → BusinessFinancingComponent-DLXAg2Ln.js} +2 -2
- package/dist/{BusinessFinancingDropin-CmgYopR_.js → BusinessFinancingDropin-BkAM1ASV.js} +14 -14
- package/dist/{BusinessFinancingPage-BpzZN6_M.js → BusinessFinancingPage-DaUZHWDR.js} +2 -2
- package/dist/{BusinessTypeSelectionPage-DmjIOdYQ.js → BusinessTypeSelectionPage-CLm4eQ1O.js} +5 -5
- package/dist/{Confirm-CSYow9zX.js → Confirm-CrDKBs6A.js} +2 -2
- package/dist/{ContractViewer-3PX9_9q0.js → ContractViewer-aFCt9tnN.js} +1 -1
- package/dist/{CreateIndividualComponent-BIcKe___.js → CreateIndividualComponent-BF38NAzW.js} +3 -3
- package/dist/{CreateTransferInstrumentComponent-03Lc-o4l.js → CreateTransferInstrumentComponent-BYraUQaN.js} +2 -2
- package/dist/{CustomerSupport-Cau1epER.js → CustomerSupport-CTDc1dSQ.js} +6 -6
- package/dist/{DebugModal-CIhZupHm.js → DebugModal-bNnw8uAL.js} +10 -42
- package/dist/{DecisionMakerDetailsPage-BALNj-sG.js → DecisionMakerDetailsPage-Y3-Xluao.js} +3 -3
- package/dist/{DecisionMakers-DaeP2HJk.js → DecisionMakers-CTC1H-i7.js} +5 -5
- package/dist/{EmbeddedStatus-Chlr2BOy.js → EmbeddedStatus-CL-otWo2.js} +2 -2
- package/dist/{FormEndState-BoZjTIZQ.js → FormEndState-BQsjkCB_.js} +1 -1
- package/dist/{FormFlow-DV4lzmaT.js → FormFlow-Dm3Fss-M.js} +5 -5
- package/dist/{FormNavigation-B0U6S6OX.js → FormNavigation-Bnypiume.js} +1 -1
- package/dist/{FormWrapper-BGT0y0_A.js → FormWrapper-C7TUCdRD.js} +7 -7
- package/dist/{IndividualOnfidoDropin-C5xkTx8D.js → IndividualOnfidoDropin-ocLPJaw0.js} +20 -20
- package/dist/{Introduction-DwMIAUVr.js → Introduction-CEbESO3R.js} +4 -4
- package/dist/{LegalRepresentativeDetailsPage-h0-QObw4.js → LegalRepresentativeDetailsPage-CNayO7OL.js} +3 -3
- package/dist/{ManageIndividualComponent-DTUmEsiI.js → ManageIndividualComponent-Co9mWtLd.js} +3 -3
- package/dist/{ManagePCIComponent-D--Sc5iS.js → ManagePCIComponent-B-CO9Id-.js} +3 -3
- package/dist/{ManageTermsOfServiceComponent-DAeZ5vYi.js → ManageTermsOfServiceComponent-DhDnE3Pa.js} +3 -3
- package/dist/{ManageTransferInstrumentComponent-CSmDe2Aj.js → ManageTransferInstrumentComponent-DBK-QH3s.js} +7 -7
- package/dist/{MaybeModal-Dnx2ARAl.js → MaybeModal--Q5-PA4M.js} +2 -2
- package/dist/{Modal-CAvMYaEN.js → Modal-DgYkB7th.js} +1 -1
- package/dist/{OnboardingDropinComponent-BRiJTEi2.js → OnboardingDropinComponent-DavZP279.js} +33 -33
- package/dist/{PayoutDetailsDropin-DV9Dz3yb.js → PayoutDetailsDropin-Dci7oa7r.js} +27 -14
- package/dist/{PayoutDetailsPage-ChrYPNyW.js → PayoutDetailsPage-DpYap71D.js} +3 -3
- package/dist/{ProviderButton-CWJ-FtN2.js → ProviderButton-DmUXblnz.js} +1 -1
- package/dist/{Review-D00Ongqo.js → Review-CdwI2VuP.js} +3 -3
- package/dist/{RootBusinessDetailsPage-BbJiQRFS.js → RootBusinessDetailsPage-D4q-UkNw.js} +4 -4
- package/dist/{RootIndividualDetailsPage-BCukNljO.js → RootIndividualDetailsPage-DGBHuBBl.js} +3 -3
- package/dist/{SignPCIComponent-Bie5l5Pp.js → SignPCIComponent-CgACd7Gv.js} +8 -8
- package/dist/{SingpassSelection-BzR43Ssh.js → SingpassSelection-DeCft6KM.js} +1 -1
- package/dist/{SoleProprietorshipPage-C7JFyBmF.js → SoleProprietorshipPage-DnGdL-n7.js} +4 -4
- package/dist/{SourceOfFunds.module-LqkzqWQw.js → SourceOfFunds.module-Xhiq4163.js} +1 -1
- package/dist/{SourceOfFundsPage-DRcWTb4M.js → SourceOfFundsPage-CUHZCflk.js} +18 -18
- package/dist/{StepProgressIndicator-CBua2pA0.js → StepProgressIndicator-DN9LrmEE.js} +1 -1
- package/dist/{StoreProvider-HRzOkLfJ.js → StoreProvider-DV22cGY2.js} +4 -4
- package/dist/{TaskItemStatus-DFo5TC2Y.js → TaskItemStatus-B4VKKBXv.js} +1 -1
- package/dist/{TaxReportingDropin-DaeK7OJ5.js → TaxReportingDropin-BFsLRdsw.js} +8 -8
- package/dist/{TileGroup-CyOXU1VM.js → TileGroup-kfxKl3zX.js} +1 -1
- package/dist/{TrustDetailsPage-BGTV2VoA.js → TrustDetailsPage-BFzSOsHf.js} +12 -12
- package/dist/{TrustMemberCompanyPage-CORiuRx_.js → TrustMemberCompanyPage-Cg86ersw.js} +5 -5
- package/dist/{TrustMemberIndividualPage-CCYWbLgI.js → TrustMemberIndividualPage-Cexr_Yu7.js} +3 -3
- package/dist/{UnincorporatedPartnershipIndividualPage-BZaQMQIr.js → UnincorporatedPartnershipIndividualPage-BrqF0a0T.js} +3 -3
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-CqxV_reO.js → UnincorporatedPartnershipMemberCompanyPage-jydxQ32J.js} +4 -4
- package/dist/{VerificationErrorAlert-D-7UwDcj.js → VerificationErrorAlert-hFe3yh4W.js} +1 -1
- package/dist/{ViewVerificationStatusComponent-Cbx4hMbW.js → ViewVerificationStatusComponent-CowZhgOU.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-pci.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-sign-pci.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/{css-CjGexWiH.js → css-7kjJGAx1.js} +1 -1
- package/dist/{documentUtils-Bx37-uJ_.js → documentUtils-BeCTEpjy.js} +1 -1
- package/dist/{dropinUtils-B4hMy9jU.js → dropinUtils-DDRulId5.js} +1 -1
- package/dist/{getFieldsWithExistingData-V_dOfMAx.js → getFieldsWithExistingData-tRNrerc0.js} +1 -1
- package/dist/{hasDataChanged-8P9Lq6q6.js → hasDataChanged-JGGLk-GT.js} +1 -1
- package/dist/{individualFormConfig-CC14oka4.js → individualFormConfig-BEbr9y4t.js} +1 -1
- package/dist/{json-BDCUvP6f.js → json-DhQe9D8_.js} +1 -1
- package/dist/{localizeDateString-DT4qdmzP.js → localizeDateString-DR32FTfB.js} +1 -1
- package/dist/{mapFinancialReportsToFinancialInformation-BSpq38Ec.js → mapFinancialReportsToFinancialInformation-CG7Ykjjs.js} +1 -1
- package/dist/{mapTransferInstrumentToPayoutAccount-D2ouRoHp.js → mapTransferInstrumentToPayoutAccount-ztCBmjNa.js} +2 -2
- package/dist/{omitObscuredFieldsIfUnchanged-jdf97C04.js → omitObscuredFieldsIfUnchanged-O4MFo8yl.js} +2 -2
- package/dist/{plaintext-CRAmB2-f.js → plaintext-QfESvy3p.js} +1 -1
- package/dist/{process-field-configurations-BWHX3P5x.js → process-field-configurations-6mXjpjRV.js} +1 -1
- package/dist/{processValidationErrors-C6TDpZz0.js → processValidationErrors-DKucETeu.js} +2 -2
- package/dist/{resolveEnvironment-tasvyH9Q.js → resolveEnvironment-oYW3SRct.js} +3 -3
- package/dist/{rules-6t6CtVMU.js → rules-CU1layLy.js} +1 -1
- package/dist/types-CjUrSQiM.js +45 -0
- package/dist/{useMultiForm-DxlQ1Mkc.js → useMultiForm-DcLcC9Ht.js} +1 -1
- package/dist/{useOnboardingStatus-BhjtrqPQ.js → useOnboardingStatus-VcBGjih4.js} +1 -1
- package/dist/{useSalesChannelsSettings-4cf4pJ0N.js → useSalesChannelsSettings-Cc2T2nL_.js} +1 -1
- package/dist/{useTermsOfServiceStatus-CExwHP29.js → useTermsOfServiceStatus-DF7-Wb58.js} +1 -1
- package/dist/{useToastContext-DJS5737s.js → useToastContext-Brh-m-0n.js} +1 -1
- package/dist/{useUpdateLegalEntity-D1AbV8w_.js → useUpdateLegalEntity-DcIsom8L.js} +1 -1
- package/dist/{utils-vsa5CskP.js → utils-CN-jXGDY.js} +4 -4
- package/dist/{validate-tGjEyd8Q.js → validate-CuZ3_O-X.js} +1 -1
- package/dist/{validate-y0pyKWME.js → validate-DjyITW89.js} +1 -1
- package/dist/{yaml-B7DVK1fQ.js → yaml-CS2SDEDD.js} +1 -1
- package/package.json +1 -1
package/dist/{AcceptTermsOfServiceComponent-Ck5vcITZ.js → AcceptTermsOfServiceComponent-BtYXTKAI.js}
RENAMED
|
@@ -2,25 +2,25 @@
|
|
|
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] = "eadc2665-5b72-411f-8cb9-431e52f566fa", e._sentryDebugIdIdentifier = "sentry-dbid-eadc2665-5b72-411f-8cb9-431e52f566fa");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useState, useEffect, useCallback } from "preact/hooks";
|
|
12
|
-
import { p as useApiContext, b3 as useInvalidateRootLegalEntity, b4 as useMutation, b6 as httpPost, q as useQuery, w as skipToken, r as httpGet, aI as createLogger, b as useI18nContext, _ as useAnalyticsContext, a4 as useExperimentsContext, ar as useForm, B as Alert, Y as Button, a1 as LoaderWrapper, aw as Field, bv as Select, bu as Checkbox, aL as ActionBar, y as LegalEntityType, ac as getOwnSignatories, x as doesLegalEntityRequiresLegalRepresentative, v as getLegalRepresentative, ai as getLegalEntityNameBasedOnType, a as useLegalEntity, R as ROOT_LE, L as Loader, W as TaskTypes } from "./StoreProvider-
|
|
13
|
-
import { a as useTermsOfServiceStatus, u as useTermsOfServiceAcceptanceInfos } from "./useTermsOfServiceStatus-
|
|
14
|
-
import { M as MaybeModal } from "./MaybeModal-
|
|
15
|
-
import { b as ModalContent, c as ModalFooter } from "./Modal-
|
|
16
|
-
import { C as ContractViewer, O as OutlinedIcon } from "./ContractViewer-
|
|
12
|
+
import { p as useApiContext, b3 as useInvalidateRootLegalEntity, b4 as useMutation, b6 as httpPost, q as useQuery, w as skipToken, r as httpGet, aI as createLogger, b as useI18nContext, _ as useAnalyticsContext, a4 as useExperimentsContext, ar as useForm, B as Alert, Y as Button, a1 as LoaderWrapper, aw as Field, bv as Select, bu as Checkbox, aL as ActionBar, y as LegalEntityType, ac as getOwnSignatories, x as doesLegalEntityRequiresLegalRepresentative, v as getLegalRepresentative, ai as getLegalEntityNameBasedOnType, a as useLegalEntity, R as ROOT_LE, L as Loader, W as TaskTypes } from "./StoreProvider-DV22cGY2.js";
|
|
13
|
+
import { a as useTermsOfServiceStatus, u as useTermsOfServiceAcceptanceInfos } from "./useTermsOfServiceStatus-DF7-Wb58.js";
|
|
14
|
+
import { M as MaybeModal } from "./MaybeModal--Q5-PA4M.js";
|
|
15
|
+
import { b as ModalContent, c as ModalFooter } from "./Modal-DgYkB7th.js";
|
|
16
|
+
import { C as ContractViewer, O as OutlinedIcon } from "./ContractViewer-aFCt9tnN.js";
|
|
17
17
|
import { S as Spacer } from "./Spacer-BK3jDget.js";
|
|
18
|
-
import { S as StepProgressIndicator } from "./StepProgressIndicator-
|
|
19
|
-
import { u as useToastContext } from "./useToastContext-
|
|
20
|
-
import { F as FormEndState } from "./FormEndState-
|
|
21
|
-
import { F as FormNavigation } from "./FormNavigation-
|
|
18
|
+
import { S as StepProgressIndicator } from "./StepProgressIndicator-DN9LrmEE.js";
|
|
19
|
+
import { u as useToastContext } from "./useToastContext-Brh-m-0n.js";
|
|
20
|
+
import { F as FormEndState } from "./FormEndState-BQsjkCB_.js";
|
|
21
|
+
import { F as FormNavigation } from "./FormNavigation-Bnypiume.js";
|
|
22
22
|
import { d as downloadFile } from "./file-CiG1D0zy.js";
|
|
23
|
-
import { l as localizeDateString } from "./localizeDateString-
|
|
23
|
+
import { l as localizeDateString } from "./localizeDateString-DR32FTfB.js";
|
|
24
24
|
const acceptTermsOfService = async (legalEntityId, baseUrl, termsOfServiceDocumentId, data) => {
|
|
25
25
|
return httpPost(
|
|
26
26
|
{
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { b as useI18nContext, A as AlertIcon, F as FormHeader } from "./StoreProvider-
|
|
12
|
-
import { D as DropinLayout } from "./OnboardingDropinComponent-
|
|
11
|
+
import { b as useI18nContext, A as AlertIcon, F as FormHeader } from "./StoreProvider-DV22cGY2.js";
|
|
12
|
+
import { D as DropinLayout } from "./OnboardingDropinComponent-DavZP279.js";
|
|
13
13
|
function AccountSetupRejected() {
|
|
14
14
|
const { i18n } = useI18nContext();
|
|
15
15
|
const content = /* @__PURE__ */ jsxs("div", { children: [
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import { a2 as Icon } from "./StoreProvider-
|
|
12
|
+
import { a2 as Icon } from "./StoreProvider-DV22cGY2.js";
|
|
13
13
|
const avatar = "adyen-kyc-avatar";
|
|
14
14
|
const avatarLabel = "adyen-kyc-avatar-label";
|
|
15
15
|
const avatarPrimary = "adyen-kyc-avatar-primary";
|
|
@@ -2,28 +2,28 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "5322734c-34f0-44a3-ac4e-fa12d4e38c42", e._sentryDebugIdIdentifier = "sentry-dbid-5322734c-34f0-44a3-ac4e-fa12d4e38c42");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
|
-
import { p as useApiContext, b4 as useMutation, b6 as httpPost, q as useQuery, dq as KNOWN_BROKEN_PRIMARY_SOURCE_CONNECTIONS, b as useI18nContext, d5 as MemoizedDocumentUpload, Y as Button, C as Typography, al as CountryCodes, O as CompanyTypesValue, bR as useGlobalData, dr as getForms, W as TaskTypes, ds as BasicInformation, bx as getFormProps, dt as CompanyStructure, du as AdditionalInformation, dv as MemoizedConstitutionalDocument, y as LegalEntityType, dw as FinancialInformation, b2 as entriesOf, b8 as businessDetailsComponentsKeyMapping, dx as solePropBusinessDetailsKeyMapping, aX as objectsDeepEqual, dy as operationalAddressIsSameIds, dz as COUNTRIES_USING_COMPANY_SEARCH, dA as FIELDS_NEEDED_FOR_COMPANY_SEARCH, bA as keysOf, i as isUndefinedOrNull, aG as summaryItem, dB as solePropBusinessDetailsApiKeyMapping, dc as businessDetailsApiKeyMapping, by as isEmpty, dC as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, aZ as datasetUtilities, cp as mapAddressLabels, dD as companyTypeMetadata, am as isEmpty$1, aI as createLogger, co as filterOutUnwantedAssociationsIfRootLE, dE as documentFormsIds, ao as resolveFieldMetadata, dF as defaultFieldMetadata, dG as inferCompanyRegistrationNumberType, dH as getCompanyRegistrationNumberOptions, dI as defaultFieldConfig, c9 as defaultFieldMetadata$1, dJ as countryToTaxInfoTypeMap, ca as defaultFieldConfig$1, dK as getKeyForField, ct as drop, aj as getOwnEntityAssociations, cx as doArraysMatch, P as useAccountHolder, _ as useAnalyticsContext, a4 as useExperimentsContext, J as useSettingsContext, dL as verifiedBusiness, ba as useQueryClient, bF as useStateContext, K as SettingNames, dM as setIsBankAccountRequestedForOrganization, bW as getAssociatedLeAnalyticsPayload, a_ as getCapabilityProblems, dN as rules, dO as useCompanyDataset, dP as useVerifyTin, dQ as setVerifiedBusiness, dR as solePropBusinessDetailsDocumentMapping, dS as businessDetailsDocumentMapping } from "./StoreProvider-
|
|
11
|
+
import { p as useApiContext, b4 as useMutation, b6 as httpPost, q as useQuery, dq as KNOWN_BROKEN_PRIMARY_SOURCE_CONNECTIONS, b as useI18nContext, d5 as MemoizedDocumentUpload, Y as Button, C as Typography, al as CountryCodes, O as CompanyTypesValue, bR as useGlobalData, dr as getForms, W as TaskTypes, ds as BasicInformation, bx as getFormProps, dt as CompanyStructure, du as AdditionalInformation, dv as MemoizedConstitutionalDocument, y as LegalEntityType, dw as FinancialInformation, b2 as entriesOf, b8 as businessDetailsComponentsKeyMapping, dx as solePropBusinessDetailsKeyMapping, aX as objectsDeepEqual, dy as operationalAddressIsSameIds, dz as COUNTRIES_USING_COMPANY_SEARCH, dA as FIELDS_NEEDED_FOR_COMPANY_SEARCH, bA as keysOf, i as isUndefinedOrNull, aG as summaryItem, dB as solePropBusinessDetailsApiKeyMapping, dc as businessDetailsApiKeyMapping, by as isEmpty, dC as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, aZ as datasetUtilities, cp as mapAddressLabels, dD as companyTypeMetadata, am as isEmpty$1, aI as createLogger, co as filterOutUnwantedAssociationsIfRootLE, dE as documentFormsIds, ao as resolveFieldMetadata, dF as defaultFieldMetadata, dG as inferCompanyRegistrationNumberType, dH as getCompanyRegistrationNumberOptions, dI as defaultFieldConfig, c9 as defaultFieldMetadata$1, dJ as countryToTaxInfoTypeMap, ca as defaultFieldConfig$1, dK as getKeyForField, ct as drop, aj as getOwnEntityAssociations, cx as doArraysMatch, P as useAccountHolder, _ as useAnalyticsContext, a4 as useExperimentsContext, J as useSettingsContext, dL as verifiedBusiness, ba as useQueryClient, bF as useStateContext, K as SettingNames, dM as setIsBankAccountRequestedForOrganization, bW as getAssociatedLeAnalyticsPayload, a_ as getCapabilityProblems, dN as rules, dO as useCompanyDataset, dP as useVerifyTin, dQ as setVerifiedBusiness, dR as solePropBusinessDetailsDocumentMapping, dS as businessDetailsDocumentMapping } from "./StoreProvider-DV22cGY2.js";
|
|
12
12
|
import { useState, useEffect, useRef, useCallback, useMemo } from "preact/hooks";
|
|
13
|
-
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
14
|
-
import { h as hasDataChanged } from "./hasDataChanged-
|
|
15
|
-
import { u as useToastContext } from "./useToastContext-
|
|
16
|
-
import { a as augmentWithCountryConfigs, c as composePerScenarioFormConfigurations, g as getPropsFromConfigurations } from "./process-field-configurations-
|
|
17
|
-
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-
|
|
18
|
-
import { i as isValidationError, p as processValidationErrors, d as isMaintenanceModeError, u as useScenarioConfiguration } from "./processValidationErrors-
|
|
19
|
-
import { C as Confirm } from "./Confirm-
|
|
20
|
-
import { o as organizationTypesToSkipCompanyStructureForm } from "./utils-
|
|
21
|
-
import { F as FormWrapper } from "./FormWrapper-
|
|
22
|
-
import { g as getDocument, c as createDocumentRequest, a as getFileExtention, d as documentApiUtils } from "./documentUtils-
|
|
23
|
-
import { g as getFieldsWithExistingData } from "./getFieldsWithExistingData-
|
|
13
|
+
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-DcIsom8L.js";
|
|
14
|
+
import { h as hasDataChanged } from "./hasDataChanged-JGGLk-GT.js";
|
|
15
|
+
import { u as useToastContext } from "./useToastContext-Brh-m-0n.js";
|
|
16
|
+
import { a as augmentWithCountryConfigs, c as composePerScenarioFormConfigurations, g as getPropsFromConfigurations } from "./process-field-configurations-6mXjpjRV.js";
|
|
17
|
+
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-DDRulId5.js";
|
|
18
|
+
import { i as isValidationError, p as processValidationErrors, d as isMaintenanceModeError, u as useScenarioConfiguration } from "./processValidationErrors-DKucETeu.js";
|
|
19
|
+
import { C as Confirm } from "./Confirm-CrDKBs6A.js";
|
|
20
|
+
import { o as organizationTypesToSkipCompanyStructureForm } from "./utils-CN-jXGDY.js";
|
|
21
|
+
import { F as FormWrapper } from "./FormWrapper-C7TUCdRD.js";
|
|
22
|
+
import { g as getDocument, c as createDocumentRequest, a as getFileExtention, d as documentApiUtils } from "./documentUtils-BeCTEpjy.js";
|
|
23
|
+
import { g as getFieldsWithExistingData } from "./getFieldsWithExistingData-tRNrerc0.js";
|
|
24
24
|
import cx from "classnames";
|
|
25
|
-
import { M as Modal, b as ModalContent } from "./Modal-
|
|
26
|
-
import { m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./mapFinancialReportsToFinancialInformation-
|
|
25
|
+
import { M as Modal, b as ModalContent } from "./Modal-DgYkB7th.js";
|
|
26
|
+
import { m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./mapFinancialReportsToFinancialInformation-CG7Ykjjs.js";
|
|
27
27
|
import { m as mapExistingFile, g as getPageName } from "./mapExistingFile-BE74t9jV.js";
|
|
28
28
|
import { f as formatObject, g as getProp } from "./utils-B1H_8b1P.js";
|
|
29
29
|
import { f as formatCurrency } from "./formatCurrency-CMOSdJMB.js";
|
package/dist/{BusinessFinancingComponent-CoOKkXsQ.js → BusinessFinancingComponent-DLXAg2Ln.js}
RENAMED
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { useMemo } from "preact/hooks";
|
|
12
|
-
import { a as useLegalEntity, g as getLegalEntityCountry, L as Loader } from "./StoreProvider-
|
|
13
|
-
import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-
|
|
12
|
+
import { a as useLegalEntity, g as getLegalEntityCountry, L as Loader } from "./StoreProvider-DV22cGY2.js";
|
|
13
|
+
import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-BkAM1ASV.js";
|
|
14
14
|
function BusinessFinancingComponent({
|
|
15
15
|
legalEntityId,
|
|
16
16
|
onSubmitSuccess
|
|
@@ -2,27 +2,27 @@
|
|
|
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] = "18c5ecff-0fdc-4982-93a6-7411fcd28d6d", e._sentryDebugIdIdentifier = "sentry-dbid-18c5ecff-0fdc-4982-93a6-7411fcd28d6d");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useMemo, useEffect, useCallback, useState, useRef } from "preact/hooks";
|
|
12
|
-
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
13
|
-
import { bI as reverseMapping, bJ as isEeaCountry, y as LegalEntityType, b0 as cloneObject, am as isEmpty, p as useApiContext, q as useQuery, r as httpGet, b as useI18nContext, aw as Field, bv as Select, C as Typography, aS as RadioGroup, bK as Link, bf as InputText, b1 as currencyByCountry, bL as InputNumber, bM as InputDate, bN as Currency, bO as CURRENCY_FIELD, bP as InputCurrency, ar as useForm, bQ as useGlobalDataSlice, au as ErrorPanel, av as createFormUtils, bR as useGlobalData, bS as getAddressSchemaForCountry, bT as COUNTRIES_WITH_STATES_DATASET, bU as Address, bV as getAddressSchemaLabelsByCountry, _ as useAnalyticsContext, b3 as useInvalidateRootLegalEntity, ak as useAssociatedLegalEntity, aZ as datasetUtilities, bF as useStateContext, J as useSettingsContext, K as SettingNames, bW as getAssociatedLeAnalyticsPayload, bx as getFormProps, L as Loader, a2 as Icon, Y as Button } from "./StoreProvider-
|
|
14
|
-
import { h as hasDataChanged } from "./hasDataChanged-
|
|
15
|
-
import { u as useToastContext } from "./useToastContext-
|
|
16
|
-
import { u as useScenarioConfiguration, i as isValidationError, p as processValidationErrors, d as isMaintenanceModeError } from "./processValidationErrors-
|
|
17
|
-
import { g as getPropsFromConfigurations, c as composePerScenarioFormConfigurations } from "./process-field-configurations-
|
|
18
|
-
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer, t as trackNavigation } from "./dropinUtils-
|
|
19
|
-
import { F as FormEndState } from "./FormEndState-
|
|
20
|
-
import { F as FormWrapper } from "./FormWrapper-
|
|
21
|
-
import { l as localizeDateString } from "./localizeDateString-
|
|
12
|
+
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-DcIsom8L.js";
|
|
13
|
+
import { bI as reverseMapping, bJ as isEeaCountry, y as LegalEntityType, b0 as cloneObject, am as isEmpty, p as useApiContext, q as useQuery, r as httpGet, b as useI18nContext, aw as Field, bv as Select, C as Typography, aS as RadioGroup, bK as Link, bf as InputText, b1 as currencyByCountry, bL as InputNumber, bM as InputDate, bN as Currency, bO as CURRENCY_FIELD, bP as InputCurrency, ar as useForm, bQ as useGlobalDataSlice, au as ErrorPanel, av as createFormUtils, bR as useGlobalData, bS as getAddressSchemaForCountry, bT as COUNTRIES_WITH_STATES_DATASET, bU as Address, bV as getAddressSchemaLabelsByCountry, _ as useAnalyticsContext, b3 as useInvalidateRootLegalEntity, ak as useAssociatedLegalEntity, aZ as datasetUtilities, bF as useStateContext, J as useSettingsContext, K as SettingNames, bW as getAssociatedLeAnalyticsPayload, bx as getFormProps, L as Loader, a2 as Icon, Y as Button } from "./StoreProvider-DV22cGY2.js";
|
|
14
|
+
import { h as hasDataChanged } from "./hasDataChanged-JGGLk-GT.js";
|
|
15
|
+
import { u as useToastContext } from "./useToastContext-Brh-m-0n.js";
|
|
16
|
+
import { u as useScenarioConfiguration, i as isValidationError, p as processValidationErrors, d as isMaintenanceModeError } from "./processValidationErrors-DKucETeu.js";
|
|
17
|
+
import { g as getPropsFromConfigurations, c as composePerScenarioFormConfigurations } from "./process-field-configurations-6mXjpjRV.js";
|
|
18
|
+
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer, t as trackNavigation } from "./dropinUtils-DDRulId5.js";
|
|
19
|
+
import { F as FormEndState } from "./FormEndState-BQsjkCB_.js";
|
|
20
|
+
import { F as FormWrapper } from "./FormWrapper-C7TUCdRD.js";
|
|
21
|
+
import { l as localizeDateString } from "./localizeDateString-DR32FTfB.js";
|
|
22
22
|
import { f as formatObject, g as getProp } from "./utils-B1H_8b1P.js";
|
|
23
|
-
import { m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./mapFinancialReportsToFinancialInformation-
|
|
24
|
-
import { f as fieldsPerScenario } from "./individualFormConfig-
|
|
25
|
-
import { b as businessFinancingCompanyDetailsValidations, a as businessFinancingParentCompanyDetailsValidations } from "./validate-
|
|
23
|
+
import { m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./mapFinancialReportsToFinancialInformation-CG7Ykjjs.js";
|
|
24
|
+
import { f as fieldsPerScenario } from "./individualFormConfig-BEbr9y4t.js";
|
|
25
|
+
import { b as businessFinancingCompanyDetailsValidations, a as businessFinancingParentCompanyDetailsValidations } from "./validate-CuZ3_O-X.js";
|
|
26
26
|
const MANDATORY_FIELDS_BUSINESS_FINANCING = [
|
|
27
27
|
"company.numberOfEmployees",
|
|
28
28
|
"parentCompany.numberOfEmployees",
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { b as useI18nContext, a as useLegalEntity, R as ROOT_LE, L as Loader, g as getLegalEntityCountry } from "./StoreProvider-
|
|
12
|
-
import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-
|
|
11
|
+
import { b as useI18nContext, a as useLegalEntity, R as ROOT_LE, L as Loader, g as getLegalEntityCountry } from "./StoreProvider-DV22cGY2.js";
|
|
12
|
+
import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-BkAM1ASV.js";
|
|
13
13
|
const BusinessFinancingPage = ({
|
|
14
14
|
onSubmit,
|
|
15
15
|
handleHomeClick
|
package/dist/{BusinessTypeSelectionPage-DmjIOdYQ.js → BusinessTypeSelectionPage-CLm4eQ1O.js}
RENAMED
|
@@ -2,18 +2,18 @@
|
|
|
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] = "036d3cd1-7632-4d41-8260-26b24bef284c", e._sentryDebugIdIdentifier = "sentry-dbid-036d3cd1-7632-4d41-8260-26b24bef284c");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
|
-
import { b as useI18nContext, _ as useAnalyticsContext, a4 as useExperimentsContext, P as useAccountHolder, bk as getCapabilities, g as getLegalEntityCountry, y as LegalEntityType, ar as useForm, a1 as LoaderWrapper, C as Typography, aw as Field, bl as EntityTypeRadioGroupCard, az as RadioGroupCard, Y as Button, a2 as Icon, H as hasSolePropInLegalEntity, a as useLegalEntity, R as ROOT_LE, L as Loader } from "./StoreProvider-
|
|
11
|
+
import { b as useI18nContext, _ as useAnalyticsContext, a4 as useExperimentsContext, P as useAccountHolder, bk as getCapabilities, g as getLegalEntityCountry, y as LegalEntityType, ar as useForm, a1 as LoaderWrapper, C as Typography, aw as Field, bl as EntityTypeRadioGroupCard, az as RadioGroupCard, Y as Button, a2 as Icon, H as hasSolePropInLegalEntity, a as useLegalEntity, R as ROOT_LE, L as Loader } from "./StoreProvider-DV22cGY2.js";
|
|
12
12
|
import { useState, useEffect } from "preact/hooks";
|
|
13
|
-
import { a as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
13
|
+
import { a as useUpdateLegalEntity } from "./useUpdateLegalEntity-DcIsom8L.js";
|
|
14
14
|
import { S as Spacer } from "./Spacer-BK3jDget.js";
|
|
15
|
-
import { u as useToastContext } from "./useToastContext-
|
|
16
|
-
import { u as useSelectionOptions, g as getBusinessType, a as getDefaultLegalArrangementOrSuborganizationType, l as legalArrangementMetadata, b as getTargetLegalEntityType, c as businessTypeIcons, d as determineOrganizationTypeToUpdate } from "./utils-
|
|
15
|
+
import { u as useToastContext } from "./useToastContext-Brh-m-0n.js";
|
|
16
|
+
import { u as useSelectionOptions, g as getBusinessType, a as getDefaultLegalArrangementOrSuborganizationType, l as legalArrangementMetadata, b as getTargetLegalEntityType, c as businessTypeIcons, d as determineOrganizationTypeToUpdate } from "./utils-CN-jXGDY.js";
|
|
17
17
|
const businessTypeExamples = /* @__PURE__ */ Object.assign({ "../localized/legalEntityTypeExamples/AT.json": () => import("./AT-EpV7jN58.js"), "../localized/legalEntityTypeExamples/AU.json": () => import("./AU-pBsEvEUy.js"), "../localized/legalEntityTypeExamples/BE.json": () => import("./BE-CU5o9cmc.js"), "../localized/legalEntityTypeExamples/BR.json": () => import("./BR-ORoHRwTk.js"), "../localized/legalEntityTypeExamples/CA.json": () => import("./CA-VXNq-m6m.js"), "../localized/legalEntityTypeExamples/CH.json": () => import("./CH-B_-afpD_.js"), "../localized/legalEntityTypeExamples/CZ.json": () => import("./CZ-CTw_bQIu.js"), "../localized/legalEntityTypeExamples/DE.json": () => import("./DE-D_jIDxOH.js"), "../localized/legalEntityTypeExamples/DK.json": () => import("./DK-dBzrfgpQ.js"), "../localized/legalEntityTypeExamples/ES.json": () => import("./ES-DYbZmFcJ.js"), "../localized/legalEntityTypeExamples/FI.json": () => import("./FI-C9nRvop7.js"), "../localized/legalEntityTypeExamples/FR.json": () => import("./FR-BycGQO4W.js"), "../localized/legalEntityTypeExamples/GB.json": () => import("./GB-DFyzo5sN.js"), "../localized/legalEntityTypeExamples/HK.json": () => import("./HK-WqZ5UBEF.js"), "../localized/legalEntityTypeExamples/HR.json": () => import("./HR-CRa19tH1.js"), "../localized/legalEntityTypeExamples/HU.json": () => import("./HU-D5NCweWf.js"), "../localized/legalEntityTypeExamples/IE.json": () => import("./IE-rhATS57q.js"), "../localized/legalEntityTypeExamples/IT.json": () => import("./IT-wD7dHdYD.js"), "../localized/legalEntityTypeExamples/LT.json": () => import("./LT-0F72uCyI.js"), "../localized/legalEntityTypeExamples/NL.json": () => import("./NL-q2U2l276.js"), "../localized/legalEntityTypeExamples/NO.json": () => import("./NO-CX12Zsf_.js"), "../localized/legalEntityTypeExamples/PL.json": () => import("./PL-CwCXF3Yu.js"), "../localized/legalEntityTypeExamples/PT.json": () => import("./PT-Dei5v1nD.js"), "../localized/legalEntityTypeExamples/RO.json": () => import("./RO-Dxk08mOu.js"), "../localized/legalEntityTypeExamples/SE.json": () => import("./SE-AP3gLiyy.js"), "../localized/legalEntityTypeExamples/SG.json": () => import("./SG-DMcOb17i.js"), "../localized/legalEntityTypeExamples/SI.json": () => import("./SI-BXe-yndm.js"), "../localized/legalEntityTypeExamples/SK.json": () => import("./SK-DwdgoGnD.js"), "../localized/legalEntityTypeExamples/US.json": () => import("./US-DHxLSqeC.js") });
|
|
18
18
|
const getBusinessTypeExamplesForCountry = async (country) => {
|
|
19
19
|
const importForCountry = businessTypeExamples[`../localized/legalEntityTypeExamples/${country}.json`];
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { useState } from "preact/hooks";
|
|
12
|
-
import { b as useI18nContext, C as Typography, Y as Button } from "./StoreProvider-
|
|
13
|
-
import { M as Modal } from "./Modal-
|
|
12
|
+
import { b as useI18nContext, C as Typography, Y as Button } from "./StoreProvider-DV22cGY2.js";
|
|
13
|
+
import { M as Modal } from "./Modal-DgYkB7th.js";
|
|
14
14
|
const confirm = "adyen-kyc-confirm";
|
|
15
15
|
const confirmMessage = "adyen-kyc-confirm-message";
|
|
16
16
|
const confirmActions = "adyen-kyc-confirm-actions";
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { a2 as Icon } from "./StoreProvider-
|
|
11
|
+
import { a2 as Icon } from "./StoreProvider-DV22cGY2.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-BIcKe___.js → CreateIndividualComponent-BF38NAzW.js}
RENAMED
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { a as useLegalEntity, a4 as useExperimentsContext, L as Loader, g as getLegalEntityCountry, U as EntityType, W as TaskTypes } from "./StoreProvider-
|
|
12
|
-
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./ProviderButton-
|
|
13
|
-
import { i as isOnfidoAutofillFlowEnabled, I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-
|
|
11
|
+
import { a as useLegalEntity, a4 as useExperimentsContext, L as Loader, g as getLegalEntityCountry, U as EntityType, W as TaskTypes } from "./StoreProvider-DV22cGY2.js";
|
|
12
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./ProviderButton-DmUXblnz.js";
|
|
13
|
+
import { i as isOnfidoAutofillFlowEnabled, I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-ocLPJaw0.js";
|
|
14
14
|
const CreateIndividualComponent = ({
|
|
15
15
|
legalEntityId,
|
|
16
16
|
onSubmitSuccess,
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { useState } from "preact/hooks";
|
|
12
|
-
import { a as useLegalEntity, ak as useAssociatedLegalEntity, y as LegalEntityType, L as Loader, W as TaskTypes } from "./StoreProvider-
|
|
13
|
-
import { P as PayoutDetailsDropin } from "./PayoutDetailsDropin-
|
|
12
|
+
import { a as useLegalEntity, ak as useAssociatedLegalEntity, y as LegalEntityType, L as Loader, W as TaskTypes } from "./StoreProvider-DV22cGY2.js";
|
|
13
|
+
import { P as PayoutDetailsDropin } from "./PayoutDetailsDropin-Dci7oa7r.js";
|
|
14
14
|
function CreateTransferInstrumentComponent({
|
|
15
15
|
legalEntityId,
|
|
16
16
|
transferInstrumentId,
|
|
@@ -2,18 +2,18 @@
|
|
|
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] = "c4ae7137-5ac8-4262-8c3c-45f2ad3d7cd8", e._sentryDebugIdIdentifier = "sentry-dbid-c4ae7137-5ac8-4262-8c3c-45f2ad3d7cd8");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
|
-
import { a as useLegalEntity, R as ROOT_LE, L as Loader, b as useI18nContext, _ as useAnalyticsContext, ba as useQueryClient, ao as resolveFieldMetadata, bq as defaultFieldMetadata, br as fieldConfig, bs as getAsyncPhoneValidationRules, F as FormHeader, bt as ContactDetails, aL as ActionBar, aI as createLogger } from "./StoreProvider-
|
|
11
|
+
import { a as useLegalEntity, R as ROOT_LE, L as Loader, b as useI18nContext, _ as useAnalyticsContext, ba as useQueryClient, ao as resolveFieldMetadata, bq as defaultFieldMetadata, br as fieldConfig, bs as getAsyncPhoneValidationRules, F as FormHeader, bt as ContactDetails, aL as ActionBar, aI as createLogger } from "./StoreProvider-DV22cGY2.js";
|
|
12
12
|
import { useCallback, useMemo, useEffect } from "preact/hooks";
|
|
13
|
-
import { a as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
14
|
-
import { c as contactDetailsValidationRules, u as useValidatePhoneNumberImperatively } from "./validate-
|
|
15
|
-
import { u as useToastContext } from "./useToastContext-
|
|
16
|
-
import { u as useMultiForm } from "./useMultiForm-
|
|
13
|
+
import { a as useUpdateLegalEntity } from "./useUpdateLegalEntity-DcIsom8L.js";
|
|
14
|
+
import { c as contactDetailsValidationRules, u as useValidatePhoneNumberImperatively } from "./validate-DjyITW89.js";
|
|
15
|
+
import { u as useToastContext } from "./useToastContext-Brh-m-0n.js";
|
|
16
|
+
import { u as useMultiForm } from "./useMultiForm-DcLcC9Ht.js";
|
|
17
17
|
const mapCustomerSupportSchemaToCustomerSupportType = (customerSupport) => {
|
|
18
18
|
var _a, _b, _c;
|
|
19
19
|
return {
|
|
@@ -2,50 +2,18 @@
|
|
|
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] = "417558a0-962c-4381-a32a-41e8c218591c", e._sentryDebugIdIdentifier = "sentry-dbid-417558a0-962c-4381-a32a-41e8c218591c");
|
|
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 { Y as Button, b2 as entriesOf, bf as InputText, b as useI18nContext, bg as splitTaskIdentifier, a4 as useExperimentsContext, J as useSettingsContext, aa as useGlobalStore, bh as listToRecord, bi as valuesOf, aI as createLogger, a2 as Icon, K as SettingNames } from "./StoreProvider-
|
|
13
|
-
import { M as Modal } from "./Modal-
|
|
12
|
+
import { Y as Button, b2 as entriesOf, bf as InputText, b as useI18nContext, bg as splitTaskIdentifier, a4 as useExperimentsContext, J as useSettingsContext, aa as useGlobalStore, bh as listToRecord, bi as valuesOf, aI as createLogger, a2 as Icon, K as SettingNames } from "./StoreProvider-DV22cGY2.js";
|
|
13
|
+
import { M as Modal } from "./Modal-DgYkB7th.js";
|
|
14
|
+
import { E as ExperimentNames } from "./types-CjUrSQiM.js";
|
|
14
15
|
import { T as Tag } from "./Tag-DdkVScyr.js";
|
|
15
|
-
import { T as TaskItemStatus } from "./TaskItemStatus-
|
|
16
|
-
var ExperimentNames = /* @__PURE__ */ ((ExperimentNames2) => {
|
|
17
|
-
ExperimentNames2["AllowMoreRolesForMainRootTrustee"] = "AllowMoreRolesForMainRootTrustee";
|
|
18
|
-
ExperimentNames2["ShowUnsupportedEntityType"] = "ShowUnsupportedEntityType";
|
|
19
|
-
ExperimentNames2["ShowExtraTaxExemptionReasons"] = "ShowExtraTaxExemptionReasons";
|
|
20
|
-
ExperimentNames2["EnableEInvoicingCodeField"] = "EnableEInvoicingCodeField";
|
|
21
|
-
ExperimentNames2["EnableCountryOfGoverningLawForUKCompanies"] = "EnableCountryOfGoverningLawForUKCompanies";
|
|
22
|
-
ExperimentNames2["HidePayoutAccountTask"] = "HidePayoutAccountTask";
|
|
23
|
-
ExperimentNames2["HidePciTask"] = "HidePciTask";
|
|
24
|
-
ExperimentNames2["EnableAgeVerification"] = "EnableAgeVerification";
|
|
25
|
-
ExperimentNames2["EnableNationalitySGHK"] = "EnableNationalitySGHK";
|
|
26
|
-
ExperimentNames2["EnableFinancialInformationComponentV4"] = "EnableFinancialInformationComponentV4";
|
|
27
|
-
ExperimentNames2["StrictNameAndAddressValidationV4"] = "StrictNameAndAddressValidationV4";
|
|
28
|
-
ExperimentNames2["EnableDoingBusinessAsNameV4"] = "EnableDoingBusinessAsNameV4";
|
|
29
|
-
ExperimentNames2["EnablePhoneFieldScenario"] = "EnablePhoneFieldScenario";
|
|
30
|
-
ExperimentNames2["ShowCustomerSupportV4"] = "ShowCustomerSupportV4";
|
|
31
|
-
ExperimentNames2["EnableRegistrationAndTaxAbsentStatesV4"] = "EnableRegistrationAndTaxAbsentStatesV4";
|
|
32
|
-
ExperimentNames2["EnableAutofillFlowForPureIndividualsInKeyMarkets"] = "EnableAutofillFlowForPureIndividualsInKeyMarkets";
|
|
33
|
-
ExperimentNames2["EnableAutofillFlowForPureIndividualsInAdditionalMarkets"] = "EnableAutofillFlowForPureIndividualsInAdditionalMarkets";
|
|
34
|
-
ExperimentNames2["EnableAutofillFlowForDecisionMakersInKeyMarkets"] = "EnableAutofillFlowForDecisionMakersInKeyMarkets";
|
|
35
|
-
ExperimentNames2["EnableAutofillFlowForDecisionMakersInAdditionalMarkets"] = "EnableAutofillFlowForDecisionMakersInAdditionalMarkets";
|
|
36
|
-
ExperimentNames2["EnableLimitCountryBusinessAccountCustomers"] = "EnableLimitCountryBusinessAccountCustomers";
|
|
37
|
-
ExperimentNames2["EnableUnincorporatedPartnershipInHO"] = "EnableUnincorporatedPartnershipInHO";
|
|
38
|
-
ExperimentNames2["UseOnboardingComponentsForSingpass"] = "UseOnboardingComponentsForSingpass";
|
|
39
|
-
ExperimentNames2["EnableCheckOnCreateBankAccount"] = "EnableCheckOnCreateBankAccount";
|
|
40
|
-
ExperimentNames2["EnableTaxIdRequiredForBusinessAccountsScenarios"] = "EnableTaxIdRequiredForBusinessAccountsScenarios";
|
|
41
|
-
ExperimentNames2["EnableJaJPLocale"] = "EnableJaJPLocale";
|
|
42
|
-
ExperimentNames2["EnableGuidedDecisionMakersFlow"] = "EnableGuidedDecisionMakersFlow";
|
|
43
|
-
ExperimentNames2["EnableBusinessDetailsTaskStatusService"] = "EnableBusinessDetailsTaskStatusService";
|
|
44
|
-
ExperimentNames2["UseTaskStatusApiForPayout"] = "UseTaskStatusApiForPayout";
|
|
45
|
-
ExperimentNames2["BankVerificationFlowOptimization_CAASIntegration"] = "BankVerificationFlowOptimization_CAASIntegration";
|
|
46
|
-
ExperimentNames2["DecisionMakersFlowOptimization_GuidedDecisionMakersFlow"] = "DecisionMakersFlowOptimization_GuidedDecisionMakersFlow";
|
|
47
|
-
return ExperimentNames2;
|
|
48
|
-
})(ExperimentNames || {});
|
|
16
|
+
import { T as TaskItemStatus } from "./TaskItemStatus-B4VKKBXv.js";
|
|
49
17
|
const tabs = "adyen-kyc-tabs";
|
|
50
18
|
const styles$1 = {
|
|
51
19
|
tabs
|
|
@@ -180,10 +148,10 @@ const transformModule = (highlights, codeNode, scope) => {
|
|
|
180
148
|
};
|
|
181
149
|
const supportedModules = ["plaintext", "json", "yaml", "css"];
|
|
182
150
|
const moduleMap = {
|
|
183
|
-
plaintext: () => import("./plaintext-
|
|
184
|
-
json: () => import("./json-
|
|
185
|
-
yaml: () => import("./yaml-
|
|
186
|
-
css: () => import("./css-
|
|
151
|
+
plaintext: () => import("./plaintext-QfESvy3p.js"),
|
|
152
|
+
json: () => import("./json-DhQe9D8_.js"),
|
|
153
|
+
yaml: () => import("./yaml-CS2SDEDD.js"),
|
|
154
|
+
css: () => import("./css-7kjJGAx1.js")
|
|
187
155
|
};
|
|
188
156
|
const getModule = async (name) => {
|
|
189
157
|
if (!supportedModules.includes(name)) {
|
|
@@ -474,7 +442,7 @@ const DebugModal = ({ onExit }) => {
|
|
|
474
442
|
const [tab, setTab] = useState("metadata");
|
|
475
443
|
const rootLegalEntity = useGlobalStore().rootLegalEntity.value;
|
|
476
444
|
const metadata = {
|
|
477
|
-
sdkVersion: "3.74.
|
|
445
|
+
sdkVersion: "3.74.5",
|
|
478
446
|
locale: i18n.locale,
|
|
479
447
|
rootLegalEntityId: rootLegalEntity.id
|
|
480
448
|
};
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { a as useLegalEntity, w as skipToken, a4 as useExperimentsContext, L as Loader, g as getLegalEntityCountry, U as EntityType, W as TaskTypes, a3 as noop } from "./StoreProvider-
|
|
12
|
-
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./ProviderButton-
|
|
13
|
-
import { i as isOnfidoAutofillFlowEnabled, I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-
|
|
11
|
+
import { a as useLegalEntity, w as skipToken, a4 as useExperimentsContext, L as Loader, g as getLegalEntityCountry, U as EntityType, W as TaskTypes, a3 as noop } from "./StoreProvider-DV22cGY2.js";
|
|
12
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./ProviderButton-DmUXblnz.js";
|
|
13
|
+
import { i as isOnfidoAutofillFlowEnabled, I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-ocLPJaw0.js";
|
|
14
14
|
function DecisionMakerDetailsPage({
|
|
15
15
|
decisionMakerId,
|
|
16
16
|
parentCompanyId,
|
|
@@ -9,11 +9,11 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { useState, useEffect } from "preact/hooks";
|
|
12
|
-
import { a as useLegalEntity, R as ROOT_LE, L as Loader, a7 as useGetTaskStatus, b as useI18nContext, _ as useAnalyticsContext, bm as getOwnDecisionMakers, bn as getAvailableDecisionMakerRoleTypes, W as TaskTypes, bo as getAllowedDecisionMakerRoles, F as FormHeader, aR as ContextGuidance, bp as DecisionMakerType, B as Alert, a8 as CardGroup, Y as Button, aL as ActionBar } from "./StoreProvider-
|
|
13
|
-
import { a as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
14
|
-
import { u as useToastContext } from "./useToastContext-
|
|
15
|
-
import { b as useDataMissingRemediations, D as DropinLayout, E as EntityGuidanceStatus, i as iconStatus, c as EntityAssociation } from "./OnboardingDropinComponent-
|
|
16
|
-
import { u as useCapabilityProblems } from "./ProviderButton-
|
|
12
|
+
import { a as useLegalEntity, R as ROOT_LE, L as Loader, a7 as useGetTaskStatus, b as useI18nContext, _ as useAnalyticsContext, bm as getOwnDecisionMakers, bn as getAvailableDecisionMakerRoleTypes, W as TaskTypes, bo as getAllowedDecisionMakerRoles, F as FormHeader, aR as ContextGuidance, bp as DecisionMakerType, B as Alert, a8 as CardGroup, Y as Button, aL as ActionBar } from "./StoreProvider-DV22cGY2.js";
|
|
13
|
+
import { a as useUpdateLegalEntity } from "./useUpdateLegalEntity-DcIsom8L.js";
|
|
14
|
+
import { u as useToastContext } from "./useToastContext-Brh-m-0n.js";
|
|
15
|
+
import { b as useDataMissingRemediations, D as DropinLayout, E as EntityGuidanceStatus, i as iconStatus, c as EntityAssociation } from "./OnboardingDropinComponent-DavZP279.js";
|
|
16
|
+
import { u as useCapabilityProblems } from "./ProviderButton-DmUXblnz.js";
|
|
17
17
|
const DecisionMakers = (props) => {
|
|
18
18
|
const { data, isLoading } = useLegalEntity(ROOT_LE);
|
|
19
19
|
if (isLoading || !data) {
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import { A as Avatar } from "./Avatar-
|
|
13
|
-
import { X as TaskStatus, b as useI18nContext, z as Skeleton, C as Typography } from "./StoreProvider-
|
|
12
|
+
import { A as Avatar } from "./Avatar-DTxJSOVb.js";
|
|
13
|
+
import { X as TaskStatus, b as useI18nContext, z as Skeleton, C as Typography } from "./StoreProvider-DV22cGY2.js";
|
|
14
14
|
import { T as Tag } from "./Tag-DdkVScyr.js";
|
|
15
15
|
import { O as OnboardingStatus } from "./view-verification-status-DTkA8PtO.js";
|
|
16
16
|
const embeddedStatus = "adyen-kyc-embedded-status";
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
12
|
import { defineSlots } from "named-slots";
|
|
13
|
-
import { a2 as Icon, A as AlertIcon } from "./StoreProvider-
|
|
13
|
+
import { a2 as Icon, A as AlertIcon } from "./StoreProvider-DV22cGY2.js";
|
|
14
14
|
const FormEndState = ({ variant = "success", children, className }) => {
|
|
15
15
|
const Slot = defineSlots(children, ["title", "content", "icon", "actions"]);
|
|
16
16
|
return /* @__PURE__ */ jsxs(
|
|
@@ -2,18 +2,18 @@
|
|
|
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] = "b217b37b-fe81-445d-950f-0ed619a783d8", e._sentryDebugIdIdentifier = "sentry-dbid-b217b37b-fe81-445d-950f-0ed619a783d8");
|
|
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 { dh as FormContext, _ as useAnalyticsContext, b as useI18nContext, a1 as LoaderWrapper, aK as Summary, Y as Button, Z as IconButton } from "./StoreProvider-
|
|
12
|
+
import { dh as FormContext, _ as useAnalyticsContext, b as useI18nContext, a1 as LoaderWrapper, aK as Summary, Y as Button, Z as IconButton } from "./StoreProvider-DV22cGY2.js";
|
|
13
13
|
import cx from "classnames";
|
|
14
|
-
import { M as MaybeModal } from "./MaybeModal-
|
|
15
|
-
import { F as FormRouterContextProvider } from "./dropinUtils-
|
|
16
|
-
import { C as Confirm } from "./Confirm-
|
|
14
|
+
import { M as MaybeModal } from "./MaybeModal--Q5-PA4M.js";
|
|
15
|
+
import { F as FormRouterContextProvider } from "./dropinUtils-DDRulId5.js";
|
|
16
|
+
import { C as Confirm } from "./Confirm-CrDKBs6A.js";
|
|
17
17
|
function FormContextProvider({
|
|
18
18
|
children,
|
|
19
19
|
form
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import { b as useI18nContext, a2 as Icon, bb as globalStyles, bc as KEYBOARD_KEYS, _ as useAnalyticsContext, C as Typography, a3 as noop } from "./StoreProvider-
|
|
12
|
+
import { b as useI18nContext, a2 as Icon, bb as globalStyles, bc as KEYBOARD_KEYS, _ as useAnalyticsContext, C as Typography, a3 as noop } from "./StoreProvider-DV22cGY2.js";
|
|
13
13
|
const FormNavigationItem = ({
|
|
14
14
|
form,
|
|
15
15
|
isActive,
|
|
@@ -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] = "8011dc15-e7d9-4760-9d7e-b0cff587a2e2", e._sentryDebugIdIdentifier = "sentry-dbid-8011dc15-e7d9-4760-9d7e-b0cff587a2e2");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { useState, useCallback } from "preact/hooks";
|
|
12
|
-
import { b as useI18nContext, _ as useAnalyticsContext, a4 as useExperimentsContext, a1 as LoaderWrapper, aJ as summaryStep, Y as Button, aK as Summary } from "./StoreProvider-
|
|
13
|
-
import { M as MaybeModal } from "./MaybeModal-
|
|
14
|
-
import { b as ModalContent, a as ModalHeader, c as ModalFooter } from "./Modal-
|
|
12
|
+
import { b as useI18nContext, _ as useAnalyticsContext, a4 as useExperimentsContext, a1 as LoaderWrapper, aJ as summaryStep, Y as Button, aK as Summary } from "./StoreProvider-DV22cGY2.js";
|
|
13
|
+
import { M as MaybeModal } from "./MaybeModal--Q5-PA4M.js";
|
|
14
|
+
import { b as ModalContent, a as ModalHeader, c as ModalFooter } from "./Modal-DgYkB7th.js";
|
|
15
15
|
import { S as Spacer } from "./Spacer-BK3jDget.js";
|
|
16
|
-
import { S as StepProgressIndicator } from "./StepProgressIndicator-
|
|
17
|
-
import { t as trackNavigation, F as FormRouterContextProvider } from "./dropinUtils-
|
|
18
|
-
import { F as FormNavigation } from "./FormNavigation-
|
|
16
|
+
import { S as StepProgressIndicator } from "./StepProgressIndicator-DN9LrmEE.js";
|
|
17
|
+
import { t as trackNavigation, F as FormRouterContextProvider } from "./dropinUtils-DDRulId5.js";
|
|
18
|
+
import { F as FormNavigation } from "./FormNavigation-Bnypiume.js";
|
|
19
19
|
const FormWrapper = ({
|
|
20
20
|
asModal = false,
|
|
21
21
|
summary,
|
|
@@ -2,34 +2,34 @@
|
|
|
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] = "ac38e8bf-2943-4d8b-99a9-ab2e606e69ab", e._sentryDebugIdIdentifier = "sentry-dbid-ac38e8bf-2943-4d8b-99a9-ab2e606e69ab");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { al as CountryCodes, W as TaskTypes, p as useApiContext, b4 as useMutation, b6 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, ao as resolveFieldMetadata, c6 as getSSNType, am as isEmpty, c7 as defaultFieldMetadata, c8 as defaultFieldConfig, bq as defaultFieldMetadata$1, br as fieldConfig, c9 as defaultFieldMetadata$2, y as LegalEntityType, ca as defaultFieldConfig$1, cb as getAgeToday, cc as euCountries, cd as getLocalizedIdDocumentTypeOptions, ce as individualApiKeyMapping, b7 as individualComponentsKeyMapping, bI as reverseMapping, cf as getNomineeFromAssociation, aI as createLogger, P as useAccountHolder, b as useI18nContext, _ as useAnalyticsContext, a4 as useExperimentsContext, J as useSettingsContext, cg as useProviderStatus, g as getLegalEntityCountry, bW as getAssociatedLeAnalyticsPayload, ch as addressValidators, ci as getAsyncIdNumberValidationRule, bs as getAsyncPhoneValidationRules, cj as addressFormatters, ck as setHasMotionCaptureScenario, cl as individualForms, cm as showIndividualMotionCapture, bo as getAllowedDecisionMakerRoles, aZ as datasetUtilities, cn as Individual, co as filterOutUnwantedAssociationsIfRootLE, b0 as cloneObject, cp as mapAddressLabels, cq as individualDocumentForms, cr as individualDocumentMapping, cs as individualObscuredFields, ct as drop, aj as getOwnEntityAssociations, cu as hasNomineesChanged, cv as attachNomineeToRole, cw as idVerificationProviderId, cx as doArraysMatch, bp as DecisionMakerType, bB as createFormRules, bn as getAvailableDecisionMakerRoleTypes, cy as allowedCountriesForNominee, bS as getAddressSchemaForCountry, bT as COUNTRIES_WITH_STATES_DATASET, cz as Scenarios, cA as isLowRiskCountry, aw as Field, bv as Select, cB as isTruthyValidator, cC as licenseCardNumberDefaultMetadata, cD as licenseCardNumberDefaultConfig, an as mergeFieldMetadataIntoProps, av as createFormUtils, bw as useFormContext, as as getFieldProps, cE as idNumberFields, cF as IdentityNumber, cG as additionallIdNumberOptions, cH as MaskedInput, bM as InputDate, cI as formatDateObj, cJ as DriversLicense, cK as addressFields, u as useAllowedCountries, K as SettingNames, cL as getDefaultTaxIdNumberType, F as FormHeader, au as ErrorPanel, C as Typography, aC as CountryField, bU as Address, bV as getAddressSchemaLabelsByCountry, bK as Link, cM as getAgeRangeForLegalRepresentative, cN as IndividualIdNumberTypeSelector, cO as TaxInformationField, cP as PatriotActDisclosure, cQ as isLegalRepresentativeNeeded, at as nameFields, cR as decisionMakerRoleFields, cS as nomineeFields, cT as contactDetailFields, B as Alert, aR as ContextGuidance, aY as TrustedFieldsProvider, cU as DecisionMakerRole, cV as NomineeDecisionMakerRole, aB as Name, bf as InputText, bt as ContactDetails, bA as keysOf, aX as objectsDeepEqual, by as isEmpty$1, cW as RadioWithLabel, bh as listToRecord, Y as Button, b9 as Svg, cX as pick, cY as IdVerification, Z as IconButton, c as useDataset, d as datasetIdentifier, L as Loader, cZ as isPersonUnderAge, c_ as IdDocumentManualUpload, c$ as idDocumentUploadFields, d0 as useFormRouterContext, bx as getFormProps, bz as useCapabilities, d1 as hasMotionCaptureScenario, d2 as setShowIndividualMotionCapture, d3 as shouldShowMotionCapture, d4 as MemoizedProofOfRelationship, d5 as MemoizedDocumentUpload, d6 as MemoizedProofOfResidencyUpload, ba as useQueryClient } from "./StoreProvider-
|
|
10
|
+
import { al as CountryCodes, W as TaskTypes, p as useApiContext, b4 as useMutation, b6 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, ao as resolveFieldMetadata, c6 as getSSNType, am as isEmpty, c7 as defaultFieldMetadata, c8 as defaultFieldConfig, bq as defaultFieldMetadata$1, br as fieldConfig, c9 as defaultFieldMetadata$2, y as LegalEntityType, ca as defaultFieldConfig$1, cb as getAgeToday, cc as euCountries, cd as getLocalizedIdDocumentTypeOptions, ce as individualApiKeyMapping, b7 as individualComponentsKeyMapping, bI as reverseMapping, cf as getNomineeFromAssociation, aI as createLogger, P as useAccountHolder, b as useI18nContext, _ as useAnalyticsContext, a4 as useExperimentsContext, J as useSettingsContext, cg as useProviderStatus, g as getLegalEntityCountry, bW as getAssociatedLeAnalyticsPayload, ch as addressValidators, ci as getAsyncIdNumberValidationRule, bs as getAsyncPhoneValidationRules, cj as addressFormatters, ck as setHasMotionCaptureScenario, cl as individualForms, cm as showIndividualMotionCapture, bo as getAllowedDecisionMakerRoles, aZ as datasetUtilities, cn as Individual, co as filterOutUnwantedAssociationsIfRootLE, b0 as cloneObject, cp as mapAddressLabels, cq as individualDocumentForms, cr as individualDocumentMapping, cs as individualObscuredFields, ct as drop, aj as getOwnEntityAssociations, cu as hasNomineesChanged, cv as attachNomineeToRole, cw as idVerificationProviderId, cx as doArraysMatch, bp as DecisionMakerType, bB as createFormRules, bn as getAvailableDecisionMakerRoleTypes, cy as allowedCountriesForNominee, bS as getAddressSchemaForCountry, bT as COUNTRIES_WITH_STATES_DATASET, cz as Scenarios, cA as isLowRiskCountry, aw as Field, bv as Select, cB as isTruthyValidator, cC as licenseCardNumberDefaultMetadata, cD as licenseCardNumberDefaultConfig, an as mergeFieldMetadataIntoProps, av as createFormUtils, bw as useFormContext, as as getFieldProps, cE as idNumberFields, cF as IdentityNumber, cG as additionallIdNumberOptions, cH as MaskedInput, bM as InputDate, cI as formatDateObj, cJ as DriversLicense, cK as addressFields, u as useAllowedCountries, K as SettingNames, cL as getDefaultTaxIdNumberType, F as FormHeader, au as ErrorPanel, C as Typography, aC as CountryField, bU as Address, bV as getAddressSchemaLabelsByCountry, bK as Link, cM as getAgeRangeForLegalRepresentative, cN as IndividualIdNumberTypeSelector, cO as TaxInformationField, cP as PatriotActDisclosure, cQ as isLegalRepresentativeNeeded, at as nameFields, cR as decisionMakerRoleFields, cS as nomineeFields, cT as contactDetailFields, B as Alert, aR as ContextGuidance, aY as TrustedFieldsProvider, cU as DecisionMakerRole, cV as NomineeDecisionMakerRole, aB as Name, bf as InputText, bt as ContactDetails, bA as keysOf, aX as objectsDeepEqual, by as isEmpty$1, cW as RadioWithLabel, bh as listToRecord, Y as Button, b9 as Svg, cX as pick, cY as IdVerification, Z as IconButton, c as useDataset, d as datasetIdentifier, L as Loader, cZ as isPersonUnderAge, c_ as IdDocumentManualUpload, c$ as idDocumentUploadFields, d0 as useFormRouterContext, bx as getFormProps, bz as useCapabilities, d1 as hasMotionCaptureScenario, d2 as setShowIndividualMotionCapture, d3 as shouldShowMotionCapture, d4 as MemoizedProofOfRelationship, d5 as MemoizedDocumentUpload, d6 as MemoizedProofOfResidencyUpload, ba as useQueryClient } from "./StoreProvider-DV22cGY2.js";
|
|
11
11
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
12
12
|
import { useMemo, useState, useEffect, useCallback } from "preact/hooks";
|
|
13
|
-
import { e as useScenarios, u as useScenarioConfiguration, i as isValidationError, p as processValidationErrors, d as isMaintenanceModeError } from "./processValidationErrors-
|
|
14
|
-
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
15
|
-
import { c as contactDetailsValidationRules, u as useValidatePhoneNumberImperatively } from "./validate-
|
|
16
|
-
import { F as FormContextProvider, a as FormFlow } from "./FormFlow-
|
|
17
|
-
import { u as useToastContext } from "./useToastContext-
|
|
18
|
-
import { g as getPropsFromConfigurations, c as composePerScenarioFormConfigurations } from "./process-field-configurations-
|
|
19
|
-
import { a as useSingpassMyInfoLogin, P as ProviderButton } from "./ProviderButton-
|
|
20
|
-
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer, t as trackNavigation } from "./dropinUtils-
|
|
21
|
-
import { u as useMultiForm } from "./useMultiForm-
|
|
22
|
-
import { b as getIdDocument, g as getDocument, c as createDocumentRequest, d as documentApiUtils, m as mergeAttachments, a as getFileExtention } from "./documentUtils-
|
|
23
|
-
import { g as getFieldsWithExistingData } from "./getFieldsWithExistingData-
|
|
24
|
-
import { l as localizeDateString } from "./localizeDateString-
|
|
25
|
-
import { o as omitObscuredFieldsIfUnchanged } from "./omitObscuredFieldsIfUnchanged-
|
|
26
|
-
import { r as rules, D as DECISION_MAKER_TYPES_WITH_JOBTITLE$1 } from "./rules-
|
|
13
|
+
import { e as useScenarios, u as useScenarioConfiguration, i as isValidationError, p as processValidationErrors, d as isMaintenanceModeError } from "./processValidationErrors-DKucETeu.js";
|
|
14
|
+
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-DcIsom8L.js";
|
|
15
|
+
import { c as contactDetailsValidationRules, u as useValidatePhoneNumberImperatively } from "./validate-DjyITW89.js";
|
|
16
|
+
import { F as FormContextProvider, a as FormFlow } from "./FormFlow-Dm3Fss-M.js";
|
|
17
|
+
import { u as useToastContext } from "./useToastContext-Brh-m-0n.js";
|
|
18
|
+
import { g as getPropsFromConfigurations, c as composePerScenarioFormConfigurations } from "./process-field-configurations-6mXjpjRV.js";
|
|
19
|
+
import { a as useSingpassMyInfoLogin, P as ProviderButton } from "./ProviderButton-DmUXblnz.js";
|
|
20
|
+
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer, t as trackNavigation } from "./dropinUtils-DDRulId5.js";
|
|
21
|
+
import { u as useMultiForm } from "./useMultiForm-DcLcC9Ht.js";
|
|
22
|
+
import { b as getIdDocument, g as getDocument, c as createDocumentRequest, d as documentApiUtils, m as mergeAttachments, a as getFileExtention } from "./documentUtils-BeCTEpjy.js";
|
|
23
|
+
import { g as getFieldsWithExistingData } from "./getFieldsWithExistingData-tRNrerc0.js";
|
|
24
|
+
import { l as localizeDateString } from "./localizeDateString-DR32FTfB.js";
|
|
25
|
+
import { o as omitObscuredFieldsIfUnchanged } from "./omitObscuredFieldsIfUnchanged-O4MFo8yl.js";
|
|
26
|
+
import { r as rules, D as DECISION_MAKER_TYPES_WITH_JOBTITLE$1 } from "./rules-CU1layLy.js";
|
|
27
27
|
import { f as formatObject } from "./utils-B1H_8b1P.js";
|
|
28
|
-
import { f as fieldsPerScenario } from "./individualFormConfig-
|
|
29
|
-
import { C as Confirm } from "./Confirm-
|
|
30
|
-
import { M as Modal } from "./Modal-
|
|
28
|
+
import { f as fieldsPerScenario } from "./individualFormConfig-BEbr9y4t.js";
|
|
29
|
+
import { C as Confirm } from "./Confirm-CrDKBs6A.js";
|
|
30
|
+
import { M as Modal } from "./Modal-DgYkB7th.js";
|
|
31
31
|
import { S as Spacer } from "./Spacer-BK3jDget.js";
|
|
32
|
-
import { T as TileGroup } from "./TileGroup-
|
|
32
|
+
import { T as TileGroup } from "./TileGroup-kfxKl3zX.js";
|
|
33
33
|
import { m as mapExistingFile, g as getPageName, a as getPage } from "./mapExistingFile-BE74t9jV.js";
|
|
34
34
|
const KEY_MARKETS = [
|
|
35
35
|
CountryCodes.UnitedStates,
|