@adyen/kyc-components 3.78.2-beta.0 → 3.78.2
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-FsS3OOGy.js → AcceptTermsOfServiceComponent-CZaKPoc0.js} +5 -5
- package/dist/{AccountSetupRejected-DR0dHDGL.js → AccountSetupRejected-D3TKo6C6.js} +2 -2
- package/dist/{Avatar-zIwOSTjH.js → Avatar-dviV55ST.js} +1 -1
- package/dist/{BusinessDetailsDropin-BFrXOiBN.js → BusinessDetailsDropin-VOF4asHw.js} +6 -6
- package/dist/{BusinessFinancingComponent-BwKo-0o7.js → BusinessFinancingComponent-DwJJMj8c.js} +2 -2
- package/dist/{BusinessFinancingDropin-C_68vw4D.js → BusinessFinancingDropin-BgPoMa74.js} +7 -7
- package/dist/{BusinessFinancingPage-BSTpi70F.js → BusinessFinancingPage-BYuXIkDq.js} +2 -2
- package/dist/{BusinessTypeSelectionPage-B87LQGL1.js → BusinessTypeSelectionPage-DzB_a1GI.js} +3 -3
- package/dist/{ContractViewer-DOsY0JXK.js → ContractViewer-CBiomL4B.js} +1 -1
- package/dist/{CreateIndividualComponent-CcohdYXE.js → CreateIndividualComponent-Cwl9OdXf.js} +2 -2
- package/dist/{CreateTransferInstrumentComponent-DsvI7fRd.js → CreateTransferInstrumentComponent-BRhCQc5H.js} +1 -1
- package/dist/{CustomerSupport-DDJdUiSf.js → CustomerSupport-Dfrylcd2.js} +4 -4
- package/dist/{DebugModal-Dn7AZes1.js → DebugModal-RbqxP5FV.js} +8 -8
- package/dist/{DecisionMakerDetailsPage-C2dcIQbf.js → DecisionMakerDetailsPage-CU8GK2zM.js} +2 -2
- package/dist/{DecisionMakers-C_xZaPLG.js → DecisionMakers-BK6PBUmL.js} +3 -3
- package/dist/{EmbeddedStatus-2J2sWPnn.js → EmbeddedStatus-BUcC_7yF.js} +2 -2
- package/dist/{FormEndState-CzTgY6Em.js → FormEndState-DYBiYZUh.js} +1 -1
- package/dist/{FormFlow-CiAlISIX.js → FormFlow-B9jgV_nq.js} +1 -1
- package/dist/{IndividualOnfidoDropin-DvVb39FP.js → IndividualOnfidoDropin-Cyy1M6bn.js} +10 -10
- package/dist/{Introduction-SeJpNsNK.js → Introduction-CZIUTSSA.js} +2 -2
- package/dist/{LegalRepresentativeDetailsPage-CiqYKD-D.js → LegalRepresentativeDetailsPage-BhvPvKFl.js} +2 -2
- package/dist/{ManageIndividualComponent-CsT-1UJp.js → ManageIndividualComponent-X2EiIABJ.js} +3 -3
- package/dist/{ManagePCIComponent-gS_1HhAg.js → ManagePCIComponent-3pbe8Vyg.js} +3 -3
- package/dist/{ManageTermsOfServiceComponent-M9kEjHB8.js → ManageTermsOfServiceComponent-CQkeTHNh.js} +3 -3
- package/dist/{ManageTransferInstrumentComponent-DvuRZAUu.js → ManageTransferInstrumentComponent-Dus3f-Nx.js} +3 -3
- package/dist/{OnboardingDropinComponent-w9ZfQy-t.js → OnboardingDropinComponent-CJETgeaa.js} +31 -31
- package/dist/{ProviderButton-B12AalrF.js → ProviderButton-DDxFakjP.js} +1 -1
- package/dist/{Review-CRfT5LEV.js → Review-vztQ2s3d.js} +2 -2
- package/dist/{RootBusinessDetailsPage-C_OwSewn.js → RootBusinessDetailsPage-IlXZictu.js} +2 -2
- package/dist/{RootIndividualDetailsPage-Dp_hY8nE.js → RootIndividualDetailsPage-CkdegfG3.js} +2 -2
- package/dist/{SignPCIComponent-DRIKPvIA.js → SignPCIComponent-D4SzMaH8.js} +4 -4
- package/dist/{SingpassSelection-CwwJD_id.js → SingpassSelection-CfSDcW7-.js} +1 -1
- package/dist/{SoleProprietorshipPage-CIxhEwrG.js → SoleProprietorshipPage-Wp4tX3eT.js} +2 -2
- package/dist/{SourceOfFunds.module-CU1HF-vc.js → SourceOfFunds.module-4Br0m_sK.js} +1 -1
- package/dist/{SourceOfFundsPage-C8ifpZpB.js → SourceOfFundsPage-b35ayqLW.js} +8 -8
- package/dist/{StoreProvider-V1ecIC0C.js → StoreProvider-Ds8GpUI7.js} +4 -4
- package/dist/{TaskItemStatus-aOElwbFJ.js → TaskItemStatus-BAplXN6G.js} +1 -1
- package/dist/{TaxReportingDropin-DZobTRg5.js → TaxReportingDropin-kx2ViDF0.js} +6 -6
- package/dist/{TileGroup-D2CkzwlQ.js → TileGroup-DIDa-YLk.js} +1 -1
- package/dist/{TrustDetailsPage-BvaEHV2J.js → TrustDetailsPage-DzaS55wu.js} +4 -4
- package/dist/{TrustMemberCompanyPage-Dn15ie4F.js → TrustMemberCompanyPage-B9bWl-Je.js} +3 -3
- package/dist/{TrustMemberIndividualPage-BeCSVzbL.js → TrustMemberIndividualPage-fTW3Mg0B.js} +2 -2
- package/dist/{UnincorporatedPartnershipIndividualPage-DRscR6SI.js → UnincorporatedPartnershipIndividualPage-BLeeU5He.js} +2 -2
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-DFS55see.js → UnincorporatedPartnershipMemberCompanyPage-BOfpHGuk.js} +2 -2
- package/dist/{VerificationErrorAlert-86Xg20fK.js → VerificationErrorAlert-DaDb6KkR.js} +1 -1
- package/dist/{ViewVerificationStatusComponent-CfEV0CCj.js → ViewVerificationStatusComponent-C1DE6z5Y.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-D1LAhpg1.js → css-CbL9wYLV.js} +1 -1
- package/dist/{getFieldsWithExistingData-B9lWMZS6.js → getFieldsWithExistingData-MqJkvddX.js} +1 -1
- package/dist/{hasDataChanged-Bf2RJm2m.js → hasDataChanged-f2B3AZmE.js} +1 -1
- package/dist/{json-CMNfORF-.js → json-B7mcsdJ0.js} +1 -1
- package/dist/{localizeDateString-nDAYFCo1.js → localizeDateString-i6RhzqO6.js} +1 -1
- package/dist/{mapFinancialReportsToFinancialInformation-kB8fE5In.js → mapFinancialReportsToFinancialInformation-BmE2A_pM.js} +1 -1
- package/dist/{plaintext-fzZaUjlM.js → plaintext-Czn9--Gw.js} +1 -1
- package/dist/{resolveEnvironment-C8dJyhHv.js → resolveEnvironment-C10fTVeS.js} +3 -3
- package/dist/{rules-_qEoAM5H.js → rules-BCkTGcXc.js} +1 -1
- package/dist/{useMultiForm-C20_d9O1.js → useMultiForm-S0ZY8TxR.js} +1 -1
- package/dist/{useOnboardingStatus-DkSmHQiO.js → useOnboardingStatus-BJvxykIg.js} +1 -1
- package/dist/{useSalesChannelsSettings-DCusxkD3.js → useSalesChannelsSettings-BPGezvAN.js} +1 -1
- package/dist/{useTermsOfServiceStatus-C3t-suic.js → useTermsOfServiceStatus-CFvVKN2D.js} +1 -1
- package/dist/{useUpdateLegalEntity-DiRYGvmw.js → useUpdateLegalEntity-CQERAQRB.js} +1 -1
- package/dist/{utils-CYFovMnV.js → utils-hRPJYoJQ.js} +3 -3
- package/dist/{validate-CMJ0Zaiy.js → validate-DBcu5ebv.js} +1 -1
- package/dist/{yaml-D9pYlg0h.js → yaml-Dgs0tY6b.js} +1 -1
- package/package.json +1 -1
package/dist/{AcceptTermsOfServiceComponent-FsS3OOGy.js → AcceptTermsOfServiceComponent-CZaKPoc0.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 { p as useApiContext, bg as useInvalidateRootLegalEntity, bh as useMutation, bj as httpPost, q as useQuery, w as skipToken, r as httpGet, X as createLogger, b as useI18nContext, $ as useAnalyticsContext, a5 as useToastContext, a6 as useExperimentsContext, au as useForm, B as Alert, Z as Button, a2 as LoaderWrapper, az as Field, bs as Select, bt as Checkbox, aO as ActionBar, bu as MaybeModal, b6 as ModalContent, b8 as ModalFooter, bv as StepProgressIndicator, b9 as Spacer, y as LegalEntityType, af as getOwnSignatories, x as doesLegalEntityRequiresLegalRepresentative, v as getLegalRepresentative, am as getLegalEntityNameBasedOnType, aM as FormNavigation, a as useLegalEntity, R as ROOT_LE, L as Loader, W 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 { p as useApiContext, bg as useInvalidateRootLegalEntity, bh as useMutation, bj as httpPost, q as useQuery, w as skipToken, r as httpGet, X as createLogger, b as useI18nContext, $ as useAnalyticsContext, a5 as useToastContext, a6 as useExperimentsContext, au as useForm, B as Alert, Z as Button, a2 as LoaderWrapper, az as Field, bs as Select, bt as Checkbox, aO as ActionBar, bu as MaybeModal, b6 as ModalContent, b8 as ModalFooter, bv as StepProgressIndicator, b9 as Spacer, y as LegalEntityType, af as getOwnSignatories, x as doesLegalEntityRequiresLegalRepresentative, v as getLegalRepresentative, am as getLegalEntityNameBasedOnType, aM as FormNavigation, a as useLegalEntity, R as ROOT_LE, L as Loader, W as TaskTypes } from "./StoreProvider-Ds8GpUI7.js";
|
|
13
|
+
import { u as useTermsOfServiceStatus, a as useTermsOfServiceAcceptanceInfos } from "./useTermsOfServiceStatus-CFvVKN2D.js";
|
|
14
|
+
import { C as ContractViewer, O as OutlinedIcon } from "./ContractViewer-CBiomL4B.js";
|
|
15
|
+
import { F as FormEndState } from "./FormEndState-DYBiYZUh.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-i6RhzqO6.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 { 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-Ds8GpUI7.js";
|
|
12
|
+
import { D as DropinLayout } from "./OnboardingDropinComponent-CJETgeaa.js";
|
|
13
13
|
function AccountSetupRejected() {
|
|
14
14
|
const { i18n } = useI18nContext();
|
|
15
15
|
const content = /* @__PURE__ */ jsxs("div", { children: [
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import { a3 as Icon } from "./StoreProvider-
|
|
12
|
+
import { a3 as Icon } from "./StoreProvider-Ds8GpUI7.js";
|
|
13
13
|
const avatar = "adyen-kyc-avatar";
|
|
14
14
|
const avatarLabel = "adyen-kyc-avatar-label";
|
|
15
15
|
const avatarPrimary = "adyen-kyc-avatar-primary";
|
|
@@ -8,14 +8,14 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
|
-
import { p as useApiContext, bh as useMutation, bj as httpPost, q as useQuery, dR as KNOWN_BROKEN_PRIMARY_SOURCE_CONNECTIONS, b as useI18nContext, dw as MemoizedDocumentUpload, Z as Button, b4 as Modal, b6 as ModalContent, C as Typography, ao as CountryCodes, O as CompanyTypesValue, dS as useGlobalData, dT as getForms, W as TaskTypes, dU as BasicInformation, dq as getFormProps, dV as CompanyStructure, dW as AdditionalInformation, dX as MemoizedConstitutionalDocument, y as LegalEntityType, dY as FinancialInformation, by as formatObject, be as entriesOf, ce as getDocument, cf as mapExistingFile, cg as getPageName, bn as businessDetailsComponentsKeyMapping, dZ as solePropBusinessDetailsKeyMapping, b0 as objectsDeepEqual, d_ as operationalAddressIsSameIds, d$ as COUNTRIES_USING_COMPANY_SEARCH, e0 as FIELDS_NEEDED_FOR_COMPANY_SEARCH, df as keysOf, i as isUndefinedOrNull, dI as isDateOlderThanAYear, aJ as summaryItem, e1 as solePropBusinessDetailsApiKeyMapping, e2 as businessDetailsApiKeyMapping, dg as isEmpty, e3 as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, cj as createDocumentRequest, b2 as datasetUtilities, cE as mapAddressLabels, e4 as companyTypeMetadata, e5 as getProp, ap as isEmpty$1, X as createLogger, cD as filterOutUnwantedAssociationsIfRootLE, bS as isValidationError, bT as processValidationErrors, bU as isMaintenanceModeError, e6 as documentFormsIds, ar as resolveFieldMetadata, e7 as registrationNumberDefaultFieldMetadata, e8 as inferCompanyRegistrationNumberType, e9 as getCompanyRegistrationNumberOptions, ea as registrationNumberDefaultFieldConfig, c9 as taxInformationDefaultFieldMetadata, eb as countryToTaxInfoTypeMap, ca as taxInformationDefaultFieldConfig, ec as getKeyForField, cm as drop, ak as getOwnEntityAssociations, cN as doArraysMatch, cJ as getFileExtention, P as useAccountHolder, a5 as useToastContext, $ as useAnalyticsContext, a6 as useExperimentsContext, J as useSettingsContext, ed as verifiedBusiness, bp as useQueryClient, ee as useStateContext, K as SettingNames, ef as setIsBankAccountRequestedForOrganization, bN as getAssociatedLeAnalyticsPayload, b3 as getCapabilityProblems, cn as documentApiUtils, cB as composePerScenarioFormConfigurations, cv as useScenarioConfiguration, eg as rules, cw as getPropsFromConfigurations, eh as useCompanySelection, ei as useVerifyTin, bO as getRequiredForms, bP as addValidityToForms, bQ as useFormComposer, ej as setVerifiedBusiness, ek as FormWrapper, ba as Confirm, el as solePropBusinessDetailsDocumentMapping, em as businessDetailsDocumentMapping } from "./StoreProvider-
|
|
11
|
+
import { p as useApiContext, bh as useMutation, bj as httpPost, q as useQuery, dR as KNOWN_BROKEN_PRIMARY_SOURCE_CONNECTIONS, b as useI18nContext, dw as MemoizedDocumentUpload, Z as Button, b4 as Modal, b6 as ModalContent, C as Typography, ao as CountryCodes, O as CompanyTypesValue, dS as useGlobalData, dT as getForms, W as TaskTypes, dU as BasicInformation, dq as getFormProps, dV as CompanyStructure, dW as AdditionalInformation, dX as MemoizedConstitutionalDocument, y as LegalEntityType, dY as FinancialInformation, by as formatObject, be as entriesOf, ce as getDocument, cf as mapExistingFile, cg as getPageName, bn as businessDetailsComponentsKeyMapping, dZ as solePropBusinessDetailsKeyMapping, b0 as objectsDeepEqual, d_ as operationalAddressIsSameIds, d$ as COUNTRIES_USING_COMPANY_SEARCH, e0 as FIELDS_NEEDED_FOR_COMPANY_SEARCH, df as keysOf, i as isUndefinedOrNull, dI as isDateOlderThanAYear, aJ as summaryItem, e1 as solePropBusinessDetailsApiKeyMapping, e2 as businessDetailsApiKeyMapping, dg as isEmpty, e3 as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, cj as createDocumentRequest, b2 as datasetUtilities, cE as mapAddressLabels, e4 as companyTypeMetadata, e5 as getProp, ap as isEmpty$1, X as createLogger, cD as filterOutUnwantedAssociationsIfRootLE, bS as isValidationError, bT as processValidationErrors, bU as isMaintenanceModeError, e6 as documentFormsIds, ar as resolveFieldMetadata, e7 as registrationNumberDefaultFieldMetadata, e8 as inferCompanyRegistrationNumberType, e9 as getCompanyRegistrationNumberOptions, ea as registrationNumberDefaultFieldConfig, c9 as taxInformationDefaultFieldMetadata, eb as countryToTaxInfoTypeMap, ca as taxInformationDefaultFieldConfig, ec as getKeyForField, cm as drop, ak as getOwnEntityAssociations, cN as doArraysMatch, cJ as getFileExtention, P as useAccountHolder, a5 as useToastContext, $ as useAnalyticsContext, a6 as useExperimentsContext, J as useSettingsContext, ed as verifiedBusiness, bp as useQueryClient, ee as useStateContext, K as SettingNames, ef as setIsBankAccountRequestedForOrganization, bN as getAssociatedLeAnalyticsPayload, b3 as getCapabilityProblems, cn as documentApiUtils, cB as composePerScenarioFormConfigurations, cv as useScenarioConfiguration, eg as rules, cw as getPropsFromConfigurations, eh as useCompanySelection, ei as useVerifyTin, bO as getRequiredForms, bP as addValidityToForms, bQ as useFormComposer, ej as setVerifiedBusiness, ek as FormWrapper, ba as Confirm, el as solePropBusinessDetailsDocumentMapping, em as businessDetailsDocumentMapping } from "./StoreProvider-Ds8GpUI7.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 { o as organizationTypesToSkipCompanyStructureForm } from "./utils-
|
|
16
|
-
import { g as getFieldsWithExistingData } from "./getFieldsWithExistingData-
|
|
13
|
+
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-CQERAQRB.js";
|
|
14
|
+
import { h as hasDataChanged } from "./hasDataChanged-f2B3AZmE.js";
|
|
15
|
+
import { o as organizationTypesToSkipCompanyStructureForm } from "./utils-hRPJYoJQ.js";
|
|
16
|
+
import { g as getFieldsWithExistingData } from "./getFieldsWithExistingData-MqJkvddX.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-BmE2A_pM.js";
|
|
19
19
|
import { f as formatCurrency } from "./formatCurrency-CMOSdJMB.js";
|
|
20
20
|
const clearCompanyData = async (legalEntityId, baseUrl) => {
|
|
21
21
|
return httpPost({
|
package/dist/{BusinessFinancingComponent-BwKo-0o7.js → BusinessFinancingComponent-DwJJMj8c.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-Ds8GpUI7.js";
|
|
13
|
+
import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-BgPoMa74.js";
|
|
14
14
|
function BusinessFinancingComponent({
|
|
15
15
|
legalEntityId,
|
|
16
16
|
onSubmitSuccess
|
|
@@ -9,13 +9,13 @@
|
|
|
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 { bx as reverseMapping, by as formatObject, bz as isEeaCountry, y as LegalEntityType, bc as cloneObject, p as useApiContext, q as useQuery, r as httpGet, b as useI18nContext, az as Field, bs as Select, C as Typography, bA as LegalFormField, ay as createFormUtils, aX as RadioGroup, bB as Link, bC as InputText, bd as currencyByCountry, bD as InputNumber, bE as InputDate, bF as Currency, bG as CURRENCY_FIELD, bH as InputCurrency, bI as useFormContext, av as getFieldProps, ax as ErrorPanel, bJ as getAddressSchemaForCountry, bK as COUNTRIES_WITH_STATES_DATASET, bL as Address, bM as getAddressSchemaLabelsByCountry, $ as useAnalyticsContext, bg as useInvalidateRootLegalEntity, an as useAssociatedLegalEntity, b2 as datasetUtilities, a5 as useToastContext, J as useSettingsContext, K as SettingNames, bN as getAssociatedLeAnalyticsPayload, bO as getRequiredForms, bP as addValidityToForms, bQ as useFormComposer, bR as trackNavigation, L as Loader, a3 as Icon, Z as Button, bS as isValidationError, bT as processValidationErrors, bU 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-
|
|
12
|
+
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-CQERAQRB.js";
|
|
13
|
+
import { bx as reverseMapping, by as formatObject, bz as isEeaCountry, y as LegalEntityType, bc as cloneObject, p as useApiContext, q as useQuery, r as httpGet, b as useI18nContext, az as Field, bs as Select, C as Typography, bA as LegalFormField, ay as createFormUtils, aX as RadioGroup, bB as Link, bC as InputText, bd as currencyByCountry, bD as InputNumber, bE as InputDate, bF as Currency, bG as CURRENCY_FIELD, bH as InputCurrency, bI as useFormContext, av as getFieldProps, ax as ErrorPanel, bJ as getAddressSchemaForCountry, bK as COUNTRIES_WITH_STATES_DATASET, bL as Address, bM as getAddressSchemaLabelsByCountry, $ as useAnalyticsContext, bg as useInvalidateRootLegalEntity, an as useAssociatedLegalEntity, b2 as datasetUtilities, a5 as useToastContext, J as useSettingsContext, K as SettingNames, bN as getAssociatedLeAnalyticsPayload, bO as getRequiredForms, bP as addValidityToForms, bQ as useFormComposer, bR as trackNavigation, L as Loader, a3 as Icon, Z as Button, bS as isValidationError, bT as processValidationErrors, bU as isMaintenanceModeError } from "./StoreProvider-Ds8GpUI7.js";
|
|
14
|
+
import { F as FormContextProvider, a as FormFlow } from "./FormFlow-B9jgV_nq.js";
|
|
15
|
+
import { u as useMultiForm } from "./useMultiForm-S0ZY8TxR.js";
|
|
16
|
+
import { F as FormEndState } from "./FormEndState-DYBiYZUh.js";
|
|
17
|
+
import { l as localizeDateString } from "./localizeDateString-i6RhzqO6.js";
|
|
18
|
+
import { m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./mapFinancialReportsToFinancialInformation-BmE2A_pM.js";
|
|
19
19
|
import { b as businessFinancingMultiformRules } from "./validate-CuwYJGc9.js";
|
|
20
20
|
const businessFinancingBaseMapping = {
|
|
21
21
|
legalProceedingsDate: "organization.dateOfInitiationOfLegalProceeding",
|
|
@@ -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-Ds8GpUI7.js";
|
|
12
|
+
import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-BgPoMa74.js";
|
|
13
13
|
const BusinessFinancingPage = ({
|
|
14
14
|
onSubmit,
|
|
15
15
|
handleHomeClick
|
package/dist/{BusinessTypeSelectionPage-B87LQGL1.js → BusinessTypeSelectionPage-DzB_a1GI.js}
RENAMED
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
|
-
import { X as createLogger, b as useI18nContext, $ as useAnalyticsContext, a5 as useToastContext, a6 as useExperimentsContext, P as useAccountHolder, dO as getCapabilities, g as getLegalEntityCountry, y as LegalEntityType, au as useForm, a2 as LoaderWrapper, C as Typography, az as Field, dP as EntityTypeRadioGroupCard, aC as RadioGroupCard, Z as Button, b9 as Spacer, a3 as Icon, a as useLegalEntity, R as ROOT_LE, L as Loader } from "./StoreProvider-
|
|
11
|
+
import { X as createLogger, b as useI18nContext, $ as useAnalyticsContext, a5 as useToastContext, a6 as useExperimentsContext, P as useAccountHolder, dO as getCapabilities, g as getLegalEntityCountry, y as LegalEntityType, au as useForm, a2 as LoaderWrapper, C as Typography, az as Field, dP as EntityTypeRadioGroupCard, aC as RadioGroupCard, Z as Button, b9 as Spacer, a3 as Icon, a as useLegalEntity, R as ROOT_LE, L as Loader } from "./StoreProvider-Ds8GpUI7.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-CQERAQRB.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-hRPJYoJQ.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 { a3 as Icon } from "./StoreProvider-
|
|
11
|
+
import { a3 as Icon } from "./StoreProvider-Ds8GpUI7.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-CcohdYXE.js → CreateIndividualComponent-Cwl9OdXf.js}
RENAMED
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { a as useLegalEntity, ab as useCapabilityProblems, a6 as useExperimentsContext, L as Loader, g as getLegalEntityCountry, bk as getProblemsForEntity, U as EntityType, bl as isOnfidoAutofillFlowEnabled, W as TaskTypes } from "./StoreProvider-
|
|
12
|
-
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-
|
|
11
|
+
import { a as useLegalEntity, ab as useCapabilityProblems, a6 as useExperimentsContext, L as Loader, g as getLegalEntityCountry, bk as getProblemsForEntity, U as EntityType, bl as isOnfidoAutofillFlowEnabled, W as TaskTypes } from "./StoreProvider-Ds8GpUI7.js";
|
|
12
|
+
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-Cyy1M6bn.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 { a as useLegalEntity, an as useAssociatedLegalEntity, y as LegalEntityType, L as Loader, bq as PayoutDetailsDropin, W as TaskTypes } from "./StoreProvider-
|
|
12
|
+
import { a as useLegalEntity, an as useAssociatedLegalEntity, y as LegalEntityType, L as Loader, bq as PayoutDetailsDropin, W as TaskTypes } from "./StoreProvider-Ds8GpUI7.js";
|
|
13
13
|
function CreateTransferInstrumentComponent({
|
|
14
14
|
legalEntityId,
|
|
15
15
|
transferInstrumentId,
|
|
@@ -8,11 +8,11 @@
|
|
|
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, a5 as useToastContext, bp as useQueryClient, ar as resolveFieldMetadata, c7 as defaultFieldMetadata, c8 as fieldConfig, cr as getAsyncPhoneValidationRules, F as FormHeader, de as ContactDetails, aO as ActionBar, X as createLogger } from "./StoreProvider-
|
|
11
|
+
import { a as useLegalEntity, R as ROOT_LE, L as Loader, b as useI18nContext, $ as useAnalyticsContext, a5 as useToastContext, bp as useQueryClient, ar as resolveFieldMetadata, c7 as defaultFieldMetadata, c8 as fieldConfig, cr as getAsyncPhoneValidationRules, F as FormHeader, de as ContactDetails, aO as ActionBar, X as createLogger } from "./StoreProvider-Ds8GpUI7.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-CQERAQRB.js";
|
|
14
|
+
import { c as contactDetailsValidationRules, u as useValidatePhoneNumberImperatively } from "./validate-DBcu5ebv.js";
|
|
15
|
+
import { u as useMultiForm } from "./useMultiForm-S0ZY8TxR.js";
|
|
16
16
|
const mapCustomerSupportSchemaToCustomerSupportType = (customerSupport) => {
|
|
17
17
|
return {
|
|
18
18
|
email: customerSupport?.customerSupport?.email || "",
|
|
@@ -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] = "133565f9-9868-4f5c-a0c8-a4badf5ebad6", e._sentryDebugIdIdentifier = "sentry-dbid-133565f9-9868-4f5c-a0c8-a4badf5ebad6");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useMemo, useState } from "preact/hooks";
|
|
12
|
-
import { Z as Button, be as entriesOf, bC as InputText, b as useI18nContext, dL as splitTaskIdentifier, a6 as useExperimentsContext, J as useSettingsContext, ac as useGlobalStore, di as listToRecord, dM as valuesOf, b4 as Modal, X as createLogger, a3 as Icon, K as SettingNames, dN as ExperimentNames } from "./StoreProvider-
|
|
12
|
+
import { Z as Button, be as entriesOf, bC as InputText, b as useI18nContext, dL as splitTaskIdentifier, a6 as useExperimentsContext, J as useSettingsContext, ac as useGlobalStore, di as listToRecord, dM as valuesOf, b4 as Modal, X as createLogger, a3 as Icon, K as SettingNames, dN as ExperimentNames } from "./StoreProvider-Ds8GpUI7.js";
|
|
13
13
|
import { T as Tag } from "./Tag-DdkVScyr.js";
|
|
14
|
-
import { T as TaskItemStatus } from "./TaskItemStatus-
|
|
14
|
+
import { T as TaskItemStatus } from "./TaskItemStatus-BAplXN6G.js";
|
|
15
15
|
const tabs = "adyen-kyc-tabs";
|
|
16
16
|
const styles$2 = {
|
|
17
17
|
tabs
|
|
@@ -144,10 +144,10 @@ const transformModule = (highlights, codeNode, scope) => {
|
|
|
144
144
|
};
|
|
145
145
|
const supportedModules = ["plaintext", "json", "yaml", "css"];
|
|
146
146
|
const moduleMap = {
|
|
147
|
-
plaintext: () => import("./plaintext-
|
|
148
|
-
json: () => import("./json-
|
|
149
|
-
yaml: () => import("./yaml-
|
|
150
|
-
css: () => import("./css-
|
|
147
|
+
plaintext: () => import("./plaintext-Czn9--Gw.js"),
|
|
148
|
+
json: () => import("./json-B7mcsdJ0.js"),
|
|
149
|
+
yaml: () => import("./yaml-Dgs0tY6b.js"),
|
|
150
|
+
css: () => import("./css-CbL9wYLV.js")
|
|
151
151
|
};
|
|
152
152
|
const getModule = async (name) => {
|
|
153
153
|
if (!supportedModules.includes(name)) {
|
|
@@ -448,7 +448,7 @@ const DebugModal = ({ onExit }) => {
|
|
|
448
448
|
const [tab, setTab] = useState("metadata");
|
|
449
449
|
const rootLegalEntity = useGlobalStore().rootLegalEntity.value;
|
|
450
450
|
const metadata = {
|
|
451
|
-
sdkVersion: "3.78.2
|
|
451
|
+
sdkVersion: "3.78.2",
|
|
452
452
|
locale: i18n.locale,
|
|
453
453
|
rootLegalEntityId: rootLegalEntity.id
|
|
454
454
|
};
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { a as useLegalEntity, w as skipToken, ab as useCapabilityProblems, a6 as useExperimentsContext, L as Loader, g as getLegalEntityCountry, bk as getProblemsForEntity, U as EntityType, bl as isOnfidoAutofillFlowEnabled, W as TaskTypes, a4 as noop } from "./StoreProvider-
|
|
12
|
-
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-
|
|
11
|
+
import { a as useLegalEntity, w as skipToken, ab as useCapabilityProblems, a6 as useExperimentsContext, L as Loader, g as getLegalEntityCountry, bk as getProblemsForEntity, U as EntityType, bl as isOnfidoAutofillFlowEnabled, W as TaskTypes, a4 as noop } from "./StoreProvider-Ds8GpUI7.js";
|
|
12
|
+
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-Cyy1M6bn.js";
|
|
13
13
|
function DecisionMakerDetailsPage({
|
|
14
14
|
decisionMakerId,
|
|
15
15
|
parentCompanyId,
|
|
@@ -9,9 +9,9 @@
|
|
|
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, a9 as useGetTaskStatus, b as useI18nContext, aS as useTranslation, $ as useAnalyticsContext, a5 as useToastContext, ab as useCapabilityProblems, bw as getOwnDecisionMakers, cQ as getAvailableDecisionMakerRoleTypes, W as TaskTypes, cz as getAllowedDecisionMakerRoles, F as FormHeader, aW as ContextGuidance, aU as Trans, cO as DecisionMakerType, B as Alert, aa as CardGroup, Z as Button, aO as ActionBar } from "./StoreProvider-
|
|
13
|
-
import { a as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
14
|
-
import { c as useDataMissingRemediations, D as DropinLayout, E as EntityGuidanceStatus, i as iconStatus, d as EntityAssociation } from "./OnboardingDropinComponent-
|
|
12
|
+
import { a as useLegalEntity, R as ROOT_LE, L as Loader, a9 as useGetTaskStatus, b as useI18nContext, aS as useTranslation, $ as useAnalyticsContext, a5 as useToastContext, ab as useCapabilityProblems, bw as getOwnDecisionMakers, cQ as getAvailableDecisionMakerRoleTypes, W as TaskTypes, cz as getAllowedDecisionMakerRoles, F as FormHeader, aW as ContextGuidance, aU as Trans, cO as DecisionMakerType, B as Alert, aa as CardGroup, Z as Button, aO as ActionBar } from "./StoreProvider-Ds8GpUI7.js";
|
|
13
|
+
import { a as useUpdateLegalEntity } from "./useUpdateLegalEntity-CQERAQRB.js";
|
|
14
|
+
import { c as useDataMissingRemediations, D as DropinLayout, E as EntityGuidanceStatus, i as iconStatus, d as EntityAssociation } from "./OnboardingDropinComponent-CJETgeaa.js";
|
|
15
15
|
const DecisionMakers = (props) => {
|
|
16
16
|
const { data, isLoading } = useLegalEntity(ROOT_LE);
|
|
17
17
|
if (isLoading || !data) {
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import { A as Avatar } from "./Avatar-
|
|
13
|
-
import { Y as TaskStatus, b as useI18nContext, z as Skeleton, C as Typography } from "./StoreProvider-
|
|
12
|
+
import { A as Avatar } from "./Avatar-dviV55ST.js";
|
|
13
|
+
import { Y as TaskStatus, b as useI18nContext, z as Skeleton, C as Typography } from "./StoreProvider-Ds8GpUI7.js";
|
|
14
14
|
import { T as Tag } from "./Tag-DdkVScyr.js";
|
|
15
15
|
import { O as OnboardingStatus } from "./view-verification-status-DTkA8PtO.js";
|
|
16
16
|
const embeddedStatus = "adyen-kyc-embedded-status";
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
12
|
import { defineSlots } from "named-slots";
|
|
13
|
-
import { a3 as Icon, A as AlertIcon } from "./StoreProvider-
|
|
13
|
+
import { a3 as Icon, A as AlertIcon } from "./StoreProvider-Ds8GpUI7.js";
|
|
14
14
|
const formEndState = "adyen-kyc-form-end-state";
|
|
15
15
|
const endstateIcon = "adyen-kyc-endstate-icon";
|
|
16
16
|
const iconInfo = "adyen-kyc-icon-info";
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { useMemo, useRef, useState } from "preact/hooks";
|
|
12
|
-
import { dC as FormContext, $ as useAnalyticsContext, aS as useTranslation, bu as MaybeModal, a2 as LoaderWrapper, dD as FormRouterContextProvider, aN as Summary, Z as Button, _ as IconButton, ba as Confirm } from "./StoreProvider-
|
|
12
|
+
import { dC as FormContext, $ as useAnalyticsContext, aS as useTranslation, bu as MaybeModal, a2 as LoaderWrapper, dD as FormRouterContextProvider, aN as Summary, Z as Button, _ as IconButton, ba as Confirm } from "./StoreProvider-Ds8GpUI7.js";
|
|
13
13
|
import cx from "classnames";
|
|
14
14
|
function FormContextProvider({
|
|
15
15
|
children,
|
|
@@ -9,17 +9,17 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useMemo, useState, useEffect, useCallback } from "preact/hooks";
|
|
12
|
-
import { p as useApiContext, bh as useMutation, bj as httpPost, bV as matchesRegex, bW as trimValWithOneSpace, bX as NO_ALPHABET_REGEX, bY as EMOJI_REGEX, bZ as hasRepeatedCharacters, b_ as isInvalidName, b$ as INDIVIDUAL_VALID_CHAR_REGEX, c0 as getFormattingRegEx, c1 as SPECIAL_CHARS, c2 as standardKatakanaValidator, c3 as standardKanjiValidator, ar as resolveFieldMetadata, ao as CountryCodes, c4 as getSSNType, ap as isEmpty, c5 as defaultFieldMetadata, c6 as defaultFieldConfig, c7 as defaultFieldMetadata$1, c8 as fieldConfig, W as TaskTypes, c9 as taxInformationDefaultFieldMetadata, y as LegalEntityType, ca as taxInformationDefaultFieldConfig, cb as getAgeToday, cc as euCountries, cd as getIdDocument, ce as getDocument, cf as mapExistingFile, cg as getPageName, ch as getLocalizedIdDocumentTypeOptions, ci as getPage, cj as createDocumentRequest, by as formatObject, ck as individualApiKeyMapping, bm as individualComponentsKeyMapping, bx as reverseMapping, cl as getNomineeFromAssociation, cm as drop, X as createLogger, P as useAccountHolder, b as useI18nContext, $ as useAnalyticsContext, a5 as useToastContext, a6 as useExperimentsContext, J as useSettingsContext, cn as documentApiUtils, co as useProviderStatus, g as getLegalEntityCountry, bN as getAssociatedLeAnalyticsPayload, cp as addressValidators, cq as getAsyncIdNumberValidationRule, cr as getAsyncPhoneValidationRules, cs as addressFormatters, ct as useScenarios, cu as setHasMotionCaptureScenario, cv as useScenarioConfiguration, cw as getPropsFromConfigurations, cx as individualForms, cy as showIndividualMotionCapture, bO as getRequiredForms, bP as addValidityToForms, cz as getAllowedDecisionMakerRoles, b2 as datasetUtilities, bQ as useFormComposer, bR as trackNavigation, cA as Individual, cB as composePerScenarioFormConfigurations, cC as omitObscuredFieldsIfUnchanged, cD as filterOutUnwantedAssociationsIfRootLE, bS as isValidationError, bT as processValidationErrors, bU as isMaintenanceModeError, bc as cloneObject, cE as mapAddressLabels, cF as individualDocumentForms, cG as individualDocumentMapping, cH as individualObscuredFields, cI as mergeAttachments, cJ as getFileExtention, ak as getOwnEntityAssociations, cK as hasNomineesChanged, cL as attachNomineeToRole, cM as idVerificationProviderId, cN as doArraysMatch, C as Typography, Z as Button, az as Field, cO as DecisionMakerType, cP as createFormRules, cQ as getAvailableDecisionMakerRoleTypes, cR as allowedCountriesForNominee, bJ as getAddressSchemaForCountry, bK as COUNTRIES_WITH_STATES_DATASET, cS as Scenarios, cT as isLowRiskCountry, bs as Select, cU as isTruthyValidator, cV as licenseCardNumberDefaultMetadata, cW as licenseCardNumberDefaultConfig, aq as mergeFieldMetadataIntoProps, ay as createFormUtils, bI as useFormContext, av as getFieldProps, cX as idNumberFields, cY as IdentityNumber, cZ as additionallIdNumberOptions, c_ as MaskedInput, bE as InputDate, c$ as formatDateObj, d0 as DriversLicense, d1 as addressFields, u as useAllowedCountries, K as SettingNames, d2 as getDefaultTaxIdNumberType, F as FormHeader, ax as ErrorPanel, aF as CountryField, bL as Address, bM as getAddressSchemaLabelsByCountry, bB as Link, ba as Confirm, d3 as getAgeRangeForLegalRepresentative, d4 as IndividualIdNumberTypeSelector, d5 as TaxInformationField, d6 as PatriotActDisclosure, d7 as isLegalRepresentativeNeeded, aw as nameFields, d8 as decisionMakerRoleFields, d9 as nomineeFields, da as contactDetailFields, B as Alert, aW as ContextGuidance, b1 as TrustedFieldsProvider, db as DecisionMakerRole, dc as NomineeDecisionMakerRole, dd as LocalizedNameFields, bC as InputText, de as ContactDetails, df as keysOf, b0 as objectsDeepEqual, dg as isEmpty$1, dh as RadioWithLabel, di as listToRecord, b4 as Modal, bo as Svg, dj as pick, dk as IdVerification, b9 as Spacer, _ as IconButton, c as useDataset, d as datasetIdentifier, L as Loader, dl as isPersonUnderAge, dm as IdDocumentManualUpload, dn as idDocumentUploadFields, dp as useFormRouterContext, dq as getFormProps, dr as useCapabilities, ds as hasMotionCaptureScenario, dt as setShowIndividualMotionCapture, du as shouldShowMotionCapture, dv as MemoizedProofOfRelationship, dw as MemoizedDocumentUpload, dx as MemoizedProofOfResidencyUpload, dy as individualOnfidoApiKeyMapping, dz as individualOnfidoBaseMapping, bp as useQueryClient, dA as individualOnfidoDocumentMapping, dB as individualOnfidoObscuredFields } from "./StoreProvider-
|
|
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, P as ProviderButton } from "./ProviderButton-
|
|
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 { p as useApiContext, bh as useMutation, bj as httpPost, bV as matchesRegex, bW as trimValWithOneSpace, bX as NO_ALPHABET_REGEX, bY as EMOJI_REGEX, bZ as hasRepeatedCharacters, b_ as isInvalidName, b$ as INDIVIDUAL_VALID_CHAR_REGEX, c0 as getFormattingRegEx, c1 as SPECIAL_CHARS, c2 as standardKatakanaValidator, c3 as standardKanjiValidator, ar as resolveFieldMetadata, ao as CountryCodes, c4 as getSSNType, ap as isEmpty, c5 as defaultFieldMetadata, c6 as defaultFieldConfig, c7 as defaultFieldMetadata$1, c8 as fieldConfig, W as TaskTypes, c9 as taxInformationDefaultFieldMetadata, y as LegalEntityType, ca as taxInformationDefaultFieldConfig, cb as getAgeToday, cc as euCountries, cd as getIdDocument, ce as getDocument, cf as mapExistingFile, cg as getPageName, ch as getLocalizedIdDocumentTypeOptions, ci as getPage, cj as createDocumentRequest, by as formatObject, ck as individualApiKeyMapping, bm as individualComponentsKeyMapping, bx as reverseMapping, cl as getNomineeFromAssociation, cm as drop, X as createLogger, P as useAccountHolder, b as useI18nContext, $ as useAnalyticsContext, a5 as useToastContext, a6 as useExperimentsContext, J as useSettingsContext, cn as documentApiUtils, co as useProviderStatus, g as getLegalEntityCountry, bN as getAssociatedLeAnalyticsPayload, cp as addressValidators, cq as getAsyncIdNumberValidationRule, cr as getAsyncPhoneValidationRules, cs as addressFormatters, ct as useScenarios, cu as setHasMotionCaptureScenario, cv as useScenarioConfiguration, cw as getPropsFromConfigurations, cx as individualForms, cy as showIndividualMotionCapture, bO as getRequiredForms, bP as addValidityToForms, cz as getAllowedDecisionMakerRoles, b2 as datasetUtilities, bQ as useFormComposer, bR as trackNavigation, cA as Individual, cB as composePerScenarioFormConfigurations, cC as omitObscuredFieldsIfUnchanged, cD as filterOutUnwantedAssociationsIfRootLE, bS as isValidationError, bT as processValidationErrors, bU as isMaintenanceModeError, bc as cloneObject, cE as mapAddressLabels, cF as individualDocumentForms, cG as individualDocumentMapping, cH as individualObscuredFields, cI as mergeAttachments, cJ as getFileExtention, ak as getOwnEntityAssociations, cK as hasNomineesChanged, cL as attachNomineeToRole, cM as idVerificationProviderId, cN as doArraysMatch, C as Typography, Z as Button, az as Field, cO as DecisionMakerType, cP as createFormRules, cQ as getAvailableDecisionMakerRoleTypes, cR as allowedCountriesForNominee, bJ as getAddressSchemaForCountry, bK as COUNTRIES_WITH_STATES_DATASET, cS as Scenarios, cT as isLowRiskCountry, bs as Select, cU as isTruthyValidator, cV as licenseCardNumberDefaultMetadata, cW as licenseCardNumberDefaultConfig, aq as mergeFieldMetadataIntoProps, ay as createFormUtils, bI as useFormContext, av as getFieldProps, cX as idNumberFields, cY as IdentityNumber, cZ as additionallIdNumberOptions, c_ as MaskedInput, bE as InputDate, c$ as formatDateObj, d0 as DriversLicense, d1 as addressFields, u as useAllowedCountries, K as SettingNames, d2 as getDefaultTaxIdNumberType, F as FormHeader, ax as ErrorPanel, aF as CountryField, bL as Address, bM as getAddressSchemaLabelsByCountry, bB as Link, ba as Confirm, d3 as getAgeRangeForLegalRepresentative, d4 as IndividualIdNumberTypeSelector, d5 as TaxInformationField, d6 as PatriotActDisclosure, d7 as isLegalRepresentativeNeeded, aw as nameFields, d8 as decisionMakerRoleFields, d9 as nomineeFields, da as contactDetailFields, B as Alert, aW as ContextGuidance, b1 as TrustedFieldsProvider, db as DecisionMakerRole, dc as NomineeDecisionMakerRole, dd as LocalizedNameFields, bC as InputText, de as ContactDetails, df as keysOf, b0 as objectsDeepEqual, dg as isEmpty$1, dh as RadioWithLabel, di as listToRecord, b4 as Modal, bo as Svg, dj as pick, dk as IdVerification, b9 as Spacer, _ as IconButton, c as useDataset, d as datasetIdentifier, L as Loader, dl as isPersonUnderAge, dm as IdDocumentManualUpload, dn as idDocumentUploadFields, dp as useFormRouterContext, dq as getFormProps, dr as useCapabilities, ds as hasMotionCaptureScenario, dt as setShowIndividualMotionCapture, du as shouldShowMotionCapture, dv as MemoizedProofOfRelationship, dw as MemoizedDocumentUpload, dx as MemoizedProofOfResidencyUpload, dy as individualOnfidoApiKeyMapping, dz as individualOnfidoBaseMapping, bp as useQueryClient, dA as individualOnfidoDocumentMapping, dB as individualOnfidoObscuredFields } from "./StoreProvider-Ds8GpUI7.js";
|
|
13
|
+
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-CQERAQRB.js";
|
|
14
|
+
import { c as contactDetailsValidationRules, u as useValidatePhoneNumberImperatively } from "./validate-DBcu5ebv.js";
|
|
15
|
+
import { F as FormContextProvider, a as FormFlow } from "./FormFlow-B9jgV_nq.js";
|
|
16
|
+
import { u as useSingpassMyInfoLogin, P as ProviderButton } from "./ProviderButton-DDxFakjP.js";
|
|
17
|
+
import { u as useMultiForm } from "./useMultiForm-S0ZY8TxR.js";
|
|
18
|
+
import { g as getFieldsWithExistingData } from "./getFieldsWithExistingData-MqJkvddX.js";
|
|
19
|
+
import { l as localizeDateString } from "./localizeDateString-i6RhzqO6.js";
|
|
20
|
+
import { r as rules, D as DECISION_MAKER_TYPES_WITH_JOBTITLE$1 } from "./rules-BCkTGcXc.js";
|
|
21
21
|
import { signal, computed } from "@preact/signals";
|
|
22
|
-
import { T as TileGroup } from "./TileGroup-
|
|
22
|
+
import { T as TileGroup } from "./TileGroup-DIDa-YLk.js";
|
|
23
23
|
const verifyIdNumber = async (legalEntityId, baseUrl, data) => {
|
|
24
24
|
return await httpPost(
|
|
25
25
|
{
|
|
@@ -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 { W as TaskTypes, y as LegalEntityType, aS as useTranslation, a as useLegalEntity, R as ROOT_LE, L as Loader, $ as useAnalyticsContext, bv as StepProgressIndicator, Z as Button } from "./StoreProvider-
|
|
12
|
+
import { W as TaskTypes, y as LegalEntityType, aS as useTranslation, a as useLegalEntity, R as ROOT_LE, L as Loader, $ as useAnalyticsContext, bv as StepProgressIndicator, Z as Button } from "./StoreProvider-Ds8GpUI7.js";
|
|
13
13
|
import { useMemo } from "preact/compat";
|
|
14
|
-
import { u as useCanSeeIntroduction, a as useLegalEntityType } from "./OnboardingDropinComponent-
|
|
14
|
+
import { u as useCanSeeIntroduction, a as useLegalEntityType } from "./OnboardingDropinComponent-CJETgeaa.js";
|
|
15
15
|
import { t as toCapitalized } from "./toCapitalized-Bq7laD0b.js";
|
|
16
16
|
import IntroductionStrings from "./en-US-Bq2Twy6x.js";
|
|
17
17
|
var IntroductionScreens = ((IntroductionScreens2) => {
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { a as useLegalEntity, w as skipToken, R as ROOT_LE, ab as useCapabilityProblems, a6 as useExperimentsContext, L as Loader, g as getLegalEntityCountry, bk as getProblemsForEntity, U as EntityType, bl as isOnfidoAutofillFlowEnabled, W as TaskTypes, a4 as noop } from "./StoreProvider-
|
|
12
|
-
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-
|
|
11
|
+
import { a as useLegalEntity, w as skipToken, R as ROOT_LE, ab as useCapabilityProblems, a6 as useExperimentsContext, L as Loader, g as getLegalEntityCountry, bk as getProblemsForEntity, U as EntityType, bl as isOnfidoAutofillFlowEnabled, W as TaskTypes, a4 as noop } from "./StoreProvider-Ds8GpUI7.js";
|
|
12
|
+
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-Cyy1M6bn.js";
|
|
13
13
|
function LegalRepresentativeDetailsPage({
|
|
14
14
|
legalRepresentativeId,
|
|
15
15
|
asModal = false,
|
package/dist/{ManageIndividualComponent-CsT-1UJp.js → ManageIndividualComponent-X2EiIABJ.js}
RENAMED
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { p as useApiContext, a as useLegalEntity, R as ROOT_LE } from "./StoreProvider-
|
|
12
|
-
import { u as useOnboardingStatus } from "./useOnboardingStatus-
|
|
11
|
+
import { p as useApiContext, a as useLegalEntity, R as ROOT_LE } from "./StoreProvider-Ds8GpUI7.js";
|
|
12
|
+
import { u as useOnboardingStatus } from "./useOnboardingStatus-BJvxykIg.js";
|
|
13
13
|
import { O as OnboardingStatus } from "./view-verification-status-DTkA8PtO.js";
|
|
14
|
-
import { E as EmbeddedStatus } from "./EmbeddedStatus-
|
|
14
|
+
import { E as EmbeddedStatus } from "./EmbeddedStatus-BUcC_7yF.js";
|
|
15
15
|
function ManageIndividualComponent({
|
|
16
16
|
legalEntityId,
|
|
17
17
|
onClick
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { u as useSalesChannelsSettings, a as usePciStatus } from "./useSalesChannelsSettings-
|
|
12
|
-
import { b as useI18nContext, p as useApiContext } from "./StoreProvider-
|
|
13
|
-
import { E as EmbeddedStatus } from "./EmbeddedStatus-
|
|
11
|
+
import { u as useSalesChannelsSettings, a as usePciStatus } from "./useSalesChannelsSettings-BPGezvAN.js";
|
|
12
|
+
import { b as useI18nContext, p as useApiContext } from "./StoreProvider-Ds8GpUI7.js";
|
|
13
|
+
import { E as EmbeddedStatus } from "./EmbeddedStatus-BUcC_7yF.js";
|
|
14
14
|
function ManagePCIComponent({ legalEntityId, onClick }) {
|
|
15
15
|
const { i18n } = useI18nContext();
|
|
16
16
|
const title = i18n.get("pciDssQuestionnaire");
|
package/dist/{ManageTermsOfServiceComponent-M9kEjHB8.js → ManageTermsOfServiceComponent-CQkeTHNh.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 { p as useApiContext, b as useI18nContext } from "./StoreProvider-
|
|
13
|
-
import { E as EmbeddedStatus } from "./EmbeddedStatus-
|
|
11
|
+
import { a as useTermsOfServiceAcceptanceInfos, u as useTermsOfServiceStatus } from "./useTermsOfServiceStatus-CFvVKN2D.js";
|
|
12
|
+
import { p as useApiContext, b as useI18nContext } from "./StoreProvider-Ds8GpUI7.js";
|
|
13
|
+
import { E as EmbeddedStatus } from "./EmbeddedStatus-BUcC_7yF.js";
|
|
14
14
|
function ManageTermsOfServiceComponent({
|
|
15
15
|
legalEntityId,
|
|
16
16
|
onClick
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { V as VerificationErrorAlert, u as useDeleteTransferInstrument } from "./VerificationErrorAlert-
|
|
12
|
-
import { p as useApiContext, q as useQuery, r as httpGet, b as useI18nContext, b2 as datasetUtilities, b3 as getCapabilityProblems, b4 as Modal, b5 as ModalHeader, C as Typography, b6 as ModalContent, L as Loader, Z as Button, a0 as Card, b7 as StructuredList, b8 as ModalFooter, b9 as Spacer, _ as IconButton, ba as Confirm, bb as mapTransferInstrumentToPayoutAccount, bc as cloneObject, bd as currencyByCountry, be as entriesOf, Y as TaskStatus, bf as useTransferInstrument, X as createLogger, a5 as useToastContext, c as useDataset, d as datasetIdentifier, B as Alert } from "./StoreProvider-
|
|
13
|
-
import { s as statusToTag, E as EmbeddedStatus } from "./EmbeddedStatus-
|
|
11
|
+
import { V as VerificationErrorAlert, u as useDeleteTransferInstrument } from "./VerificationErrorAlert-DaDb6KkR.js";
|
|
12
|
+
import { p as useApiContext, q as useQuery, r as httpGet, b as useI18nContext, b2 as datasetUtilities, b3 as getCapabilityProblems, b4 as Modal, b5 as ModalHeader, C as Typography, b6 as ModalContent, L as Loader, Z as Button, a0 as Card, b7 as StructuredList, b8 as ModalFooter, b9 as Spacer, _ as IconButton, ba as Confirm, bb as mapTransferInstrumentToPayoutAccount, bc as cloneObject, bd as currencyByCountry, be as entriesOf, Y as TaskStatus, bf as useTransferInstrument, X as createLogger, a5 as useToastContext, c as useDataset, d as datasetIdentifier, B as Alert } from "./StoreProvider-Ds8GpUI7.js";
|
|
13
|
+
import { s as statusToTag, E as EmbeddedStatus } from "./EmbeddedStatus-BUcC_7yF.js";
|
|
14
14
|
import { useState } from "preact/hooks";
|
|
15
15
|
import { T as Tag } from "./Tag-DdkVScyr.js";
|
|
16
16
|
const getTransferInstruments = async (legalEntityId, baseUrl) => {
|
package/dist/{OnboardingDropinComponent-w9ZfQy-t.js → OnboardingDropinComponent-CJETgeaa.js}
RENAMED
|
@@ -8,19 +8,19 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
|
-
import { p as useApiContext, q as useQuery, r as httpGet, t as useLocalStorage, v as getLegalRepresentative, a as useLegalEntity, w as skipToken, x as doesLegalEntityRequiresLegalRepresentative, y as LegalEntityType, b as useI18nContext, z as Skeleton, B as Alert, C as Typography, G as isPartOfTrustFromLegalEntity, H as hasSolePropInLegalEntity, J as useSettingsContext, K as SettingNames, M as hasOwnEntityAssociationOfType, N as isEmptyEntity, O as CompanyTypesValue, P as useAccountHolder, U as EntityType, V as DATA_MISSING_DECISION_MAKER_ERROR_CODE_MAPPING, W as TaskTypes, X as createLogger, Y as TaskStatus, Z as Button, _ as IconButton, $ as useAnalyticsContext, a0 as Card, a1 as handleKeys, a2 as LoaderWrapper, a3 as Icon, a4 as noop, a5 as useToastContext, a6 as useExperimentsContext, a7 as isInstantVerifiedAccount, a8 as getObscuredAccountNumber, a9 as useGetTaskStatus, aa as CardGroup, R as ROOT_LE, ab as useCapabilityProblems, L as Loader, ac as useGlobalStore, ad as useSetting, ae as isPartOfUnincorporatedPartnership, af as getOwnSignatories, ag as getOwnDecisionMakersLegalEntityIds, ah as getOwnSolePropProblems, ai as getOwnTrustProblems, aj as getOwnUnincorporatedPartnershipProblems, ak as getOwnEntityAssociations, al as TrustMemberTypes, am as getLegalEntityNameBasedOnType, an as useAssociatedLegalEntity, ao as CountryCodes, ap as isEmpty, aq as mergeFieldMetadataIntoProps, ar as resolveFieldMetadata, as as defaultFieldMetadata, at as defaultFieldConfig, au as useForm, av as getFieldProps, aw as nameFields, F as FormHeader, ax as ErrorPanel, ay as createFormUtils, az as Field, aA as MultiSelectList, aB as makeSelectItemForRole, aC as RadioGroupCard, aD as TextArea, aE as Name, aF as CountryField, aG as COUNTRY_FIELD, aH as LegalCompanyNameField, aI as LEGAL_COMPANY_NAME_FIELD, aJ as summaryItem, aK as getRoleName, aL as summaryStep, aM as FormNavigation, aN as Summary, aO as ActionBar, g as getLegalEntityCountry, aP as UnincorporatedPartnershipMemberTypes, aQ as getDecisionMakerDescriptionMap, aR as TRUST_DEFAULT_DESCRIPTIONS_MAP, aS as useTranslation, aT as getRoleTagVariant, aU as Trans, aV as DEFAULT_TRUST_MEMBER_REQUIREMENTS, aW as ContextGuidance, aX as RadioGroup, aY as useUnincorporatedPartnershipMembers, aZ as deleteUnincorporatedPartnershipMember, a_ as hasAllCapabilitiesResolved, a$ as hasRejectedCapabilities, b0 as objectsDeepEqual, b1 as TrustedFieldsProvider } from "./StoreProvider-
|
|
11
|
+
import { p as useApiContext, q as useQuery, r as httpGet, t as useLocalStorage, v as getLegalRepresentative, a as useLegalEntity, w as skipToken, x as doesLegalEntityRequiresLegalRepresentative, y as LegalEntityType, b as useI18nContext, z as Skeleton, B as Alert, C as Typography, G as isPartOfTrustFromLegalEntity, H as hasSolePropInLegalEntity, J as useSettingsContext, K as SettingNames, M as hasOwnEntityAssociationOfType, N as isEmptyEntity, O as CompanyTypesValue, P as useAccountHolder, U as EntityType, V as DATA_MISSING_DECISION_MAKER_ERROR_CODE_MAPPING, W as TaskTypes, X as createLogger, Y as TaskStatus, Z as Button, _ as IconButton, $ as useAnalyticsContext, a0 as Card, a1 as handleKeys, a2 as LoaderWrapper, a3 as Icon, a4 as noop, a5 as useToastContext, a6 as useExperimentsContext, a7 as isInstantVerifiedAccount, a8 as getObscuredAccountNumber, a9 as useGetTaskStatus, aa as CardGroup, R as ROOT_LE, ab as useCapabilityProblems, L as Loader, ac as useGlobalStore, ad as useSetting, ae as isPartOfUnincorporatedPartnership, af as getOwnSignatories, ag as getOwnDecisionMakersLegalEntityIds, ah as getOwnSolePropProblems, ai as getOwnTrustProblems, aj as getOwnUnincorporatedPartnershipProblems, ak as getOwnEntityAssociations, al as TrustMemberTypes, am as getLegalEntityNameBasedOnType, an as useAssociatedLegalEntity, ao as CountryCodes, ap as isEmpty, aq as mergeFieldMetadataIntoProps, ar as resolveFieldMetadata, as as defaultFieldMetadata, at as defaultFieldConfig, au as useForm, av as getFieldProps, aw as nameFields, F as FormHeader, ax as ErrorPanel, ay as createFormUtils, az as Field, aA as MultiSelectList, aB as makeSelectItemForRole, aC as RadioGroupCard, aD as TextArea, aE as Name, aF as CountryField, aG as COUNTRY_FIELD, aH as LegalCompanyNameField, aI as LEGAL_COMPANY_NAME_FIELD, aJ as summaryItem, aK as getRoleName, aL as summaryStep, aM as FormNavigation, aN as Summary, aO as ActionBar, g as getLegalEntityCountry, aP as UnincorporatedPartnershipMemberTypes, aQ as getDecisionMakerDescriptionMap, aR as TRUST_DEFAULT_DESCRIPTIONS_MAP, aS as useTranslation, aT as getRoleTagVariant, aU as Trans, aV as DEFAULT_TRUST_MEMBER_REQUIREMENTS, aW as ContextGuidance, aX as RadioGroup, aY as useUnincorporatedPartnershipMembers, aZ as deleteUnincorporatedPartnershipMember, a_ as hasAllCapabilitiesResolved, a$ as hasRejectedCapabilities, b0 as objectsDeepEqual, b1 as TrustedFieldsProvider } from "./StoreProvider-Ds8GpUI7.js";
|
|
12
12
|
import { lazy, Suspense } from "preact/compat";
|
|
13
13
|
import { useMemo, useCallback, useEffect, useState, useRef } from "preact/hooks";
|
|
14
|
-
import { P as ProviderButton, u as useSingpassMyInfoLogin } from "./ProviderButton-
|
|
14
|
+
import { P as ProviderButton, u as useSingpassMyInfoLogin } from "./ProviderButton-DDxFakjP.js";
|
|
15
15
|
import cx from "classnames";
|
|
16
|
-
import { u as useSalesChannelsSettings, a as usePciStatus } from "./useSalesChannelsSettings-
|
|
17
|
-
import { u as useTermsOfServiceStatus, a as useTermsOfServiceAcceptanceInfos } from "./useTermsOfServiceStatus-
|
|
16
|
+
import { u as useSalesChannelsSettings, a as usePciStatus } from "./useSalesChannelsSettings-BPGezvAN.js";
|
|
17
|
+
import { u as useTermsOfServiceStatus, a as useTermsOfServiceAcceptanceInfos } from "./useTermsOfServiceStatus-CFvVKN2D.js";
|
|
18
18
|
import { signal } from "@preact/signals";
|
|
19
19
|
import { d as downloadFile } from "./file-CiG1D0zy.js";
|
|
20
|
-
import { V as VerificationErrorAlert, u as useDeleteTransferInstrument } from "./VerificationErrorAlert-
|
|
21
|
-
import { A as Avatar } from "./Avatar-
|
|
22
|
-
import { T as TaskItemStatus } from "./TaskItemStatus-
|
|
23
|
-
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
20
|
+
import { V as VerificationErrorAlert, u as useDeleteTransferInstrument } from "./VerificationErrorAlert-DaDb6KkR.js";
|
|
21
|
+
import { A as Avatar } from "./Avatar-dviV55ST.js";
|
|
22
|
+
import { T as TaskItemStatus } from "./TaskItemStatus-BAplXN6G.js";
|
|
23
|
+
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-CQERAQRB.js";
|
|
24
24
|
import { T as Tag } from "./Tag-DdkVScyr.js";
|
|
25
25
|
const getTaskTypes = async (id, baseUrl) => {
|
|
26
26
|
return httpGet({
|
|
@@ -3330,71 +3330,71 @@ const hasProgressedBeyondEntitySelection = (legalEntity) => {
|
|
|
3330
3330
|
return hasOwnEntityAssocation || !!hasOrganizationType;
|
|
3331
3331
|
};
|
|
3332
3332
|
const Introduction = lazy(
|
|
3333
|
-
async () => (await import("./Introduction-
|
|
3333
|
+
async () => (await import("./Introduction-CZIUTSSA.js")).Introduction
|
|
3334
3334
|
);
|
|
3335
3335
|
const BusinessTypeSelectionPage = lazy(
|
|
3336
|
-
async () => (await import("./BusinessTypeSelectionPage-
|
|
3336
|
+
async () => (await import("./BusinessTypeSelectionPage-DzB_a1GI.js")).BusinessTypeSelectionPage
|
|
3337
3337
|
);
|
|
3338
3338
|
const SingpassSelection = lazy(
|
|
3339
|
-
async () => (await import("./SingpassSelection-
|
|
3339
|
+
async () => (await import("./SingpassSelection-CfSDcW7-.js")).SingpassSelection
|
|
3340
3340
|
);
|
|
3341
3341
|
const AccountSetupRejected = lazy(
|
|
3342
|
-
async () => (await import("./AccountSetupRejected-
|
|
3342
|
+
async () => (await import("./AccountSetupRejected-D3TKo6C6.js")).AccountSetupRejected
|
|
3343
3343
|
);
|
|
3344
3344
|
const DecisionMakers = lazy(
|
|
3345
|
-
async () => (await import("./DecisionMakers-
|
|
3345
|
+
async () => (await import("./DecisionMakers-BK6PBUmL.js")).DecisionMakers
|
|
3346
3346
|
);
|
|
3347
3347
|
const CustomerSupport = lazy(
|
|
3348
|
-
async () => (await import("./CustomerSupport-
|
|
3348
|
+
async () => (await import("./CustomerSupport-Dfrylcd2.js")).CustomerSupport
|
|
3349
3349
|
);
|
|
3350
|
-
const Review = lazy(async () => (await import("./Review-
|
|
3350
|
+
const Review = lazy(async () => (await import("./Review-vztQ2s3d.js")).Review);
|
|
3351
3351
|
const SignPCIComponent = lazy(
|
|
3352
|
-
async () => (await import("./SignPCIComponent-
|
|
3352
|
+
async () => (await import("./SignPCIComponent-D4SzMaH8.js")).SignPCIComponent
|
|
3353
3353
|
);
|
|
3354
3354
|
const AcceptTermsOfService = lazy(
|
|
3355
|
-
async () => (await import("./AcceptTermsOfServiceComponent-
|
|
3355
|
+
async () => (await import("./AcceptTermsOfServiceComponent-CZaKPoc0.js")).AcceptTermsOfServiceComponent
|
|
3356
3356
|
);
|
|
3357
3357
|
const TaxReportingDropin = lazy(
|
|
3358
|
-
async () => (await import("./TaxReportingDropin-
|
|
3358
|
+
async () => (await import("./TaxReportingDropin-kx2ViDF0.js")).TaxReportingDropin
|
|
3359
3359
|
);
|
|
3360
3360
|
const PayoutDetailsPage = lazy(
|
|
3361
|
-
async () => (await import("./StoreProvider-
|
|
3361
|
+
async () => (await import("./StoreProvider-Ds8GpUI7.js").then((n) => n.eE)).PayoutDetailsPage
|
|
3362
3362
|
);
|
|
3363
3363
|
const RootBusinessDetailsPage = lazy(
|
|
3364
|
-
async () => (await import("./RootBusinessDetailsPage-
|
|
3364
|
+
async () => (await import("./RootBusinessDetailsPage-IlXZictu.js")).RootBusinessDetailsPage
|
|
3365
3365
|
);
|
|
3366
3366
|
const SoleProprietorshipPage = lazy(
|
|
3367
|
-
async () => (await import("./SoleProprietorshipPage-
|
|
3367
|
+
async () => (await import("./SoleProprietorshipPage-Wp4tX3eT.js")).SoleProprietorshipPage
|
|
3368
3368
|
);
|
|
3369
3369
|
const TrustMemberCompanyPage = lazy(
|
|
3370
|
-
async () => (await import("./TrustMemberCompanyPage-
|
|
3370
|
+
async () => (await import("./TrustMemberCompanyPage-B9bWl-Je.js")).TrustMemberCompanyPage
|
|
3371
3371
|
);
|
|
3372
3372
|
const UnincorporatedPartnershipMemberCompanyPage = lazy(
|
|
3373
|
-
async () => (await import("./UnincorporatedPartnershipMemberCompanyPage-
|
|
3373
|
+
async () => (await import("./UnincorporatedPartnershipMemberCompanyPage-BOfpHGuk.js")).UnincorporatedPartnershipMemberCompanyPage
|
|
3374
3374
|
);
|
|
3375
3375
|
const BusinessFinancingPage = lazy(
|
|
3376
|
-
async () => (await import("./BusinessFinancingPage-
|
|
3376
|
+
async () => (await import("./BusinessFinancingPage-BYuXIkDq.js")).BusinessFinancingPage
|
|
3377
3377
|
);
|
|
3378
3378
|
const TrustDetailsPage = lazy(
|
|
3379
|
-
async () => (await import("./TrustDetailsPage-
|
|
3379
|
+
async () => (await import("./TrustDetailsPage-DzaS55wu.js")).TrustDetailsPage
|
|
3380
3380
|
);
|
|
3381
3381
|
const SourceOfFundsPage = lazy(
|
|
3382
|
-
async () => (await import("./SourceOfFundsPage-
|
|
3382
|
+
async () => (await import("./SourceOfFundsPage-b35ayqLW.js")).SourceOfFundsPage
|
|
3383
3383
|
);
|
|
3384
3384
|
const RootIndividualDetailsPage = lazy(
|
|
3385
|
-
async () => (await import("./RootIndividualDetailsPage-
|
|
3385
|
+
async () => (await import("./RootIndividualDetailsPage-CkdegfG3.js")).RootIndividualDetailsPage
|
|
3386
3386
|
);
|
|
3387
3387
|
const LegalRepresentativeDetailsPage = lazy(
|
|
3388
|
-
async () => (await import("./LegalRepresentativeDetailsPage-
|
|
3388
|
+
async () => (await import("./LegalRepresentativeDetailsPage-BhvPvKFl.js")).LegalRepresentativeDetailsPage
|
|
3389
3389
|
);
|
|
3390
3390
|
const TrustMemberIndividualPage = lazy(
|
|
3391
|
-
async () => (await import("./TrustMemberIndividualPage-
|
|
3391
|
+
async () => (await import("./TrustMemberIndividualPage-fTW3Mg0B.js")).TrustMemberIndividualPage
|
|
3392
3392
|
);
|
|
3393
3393
|
const UnincorporatedPartnershipIndividualPage = lazy(
|
|
3394
|
-
async () => (await import("./UnincorporatedPartnershipIndividualPage-
|
|
3394
|
+
async () => (await import("./UnincorporatedPartnershipIndividualPage-BLeeU5He.js")).UnincorporatedPartnershipIndividualPage
|
|
3395
3395
|
);
|
|
3396
3396
|
const DecisionMakerDetailsPage = lazy(
|
|
3397
|
-
async () => (await import("./DecisionMakerDetailsPage-
|
|
3397
|
+
async () => (await import("./DecisionMakerDetailsPage-CU8GK2zM.js")).DecisionMakerDetailsPage
|
|
3398
3398
|
);
|
|
3399
3399
|
const PAGES_WITH_POLLING = [TaskTypes.DECISION_MAKER_OVERVIEW, TaskTypes.TASKS_OVERVIEW];
|
|
3400
3400
|
const logger = createLogger();
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useReducer, useMemo } from "preact/hooks";
|
|
11
|
-
import { p as useApiContext, q as useQuery, bj as httpPost, a6 as useExperimentsContext, g as getLegalEntityCountry, ao as CountryCodes, G as isPartOfTrustFromLegalEntity, y as LegalEntityType, H as hasSolePropInLegalEntity, b1 as TrustedFieldsProvider, bm as individualComponentsKeyMapping, bn as businessDetailsComponentsKeyMapping, b as useI18nContext, Z as Button, bo as Svg } from "./StoreProvider-
|
|
11
|
+
import { p as useApiContext, q as useQuery, bj as httpPost, a6 as useExperimentsContext, g as getLegalEntityCountry, ao as CountryCodes, G as isPartOfTrustFromLegalEntity, y as LegalEntityType, H as hasSolePropInLegalEntity, b1 as TrustedFieldsProvider, bm as individualComponentsKeyMapping, bn as businessDetailsComponentsKeyMapping, b as useI18nContext, Z as Button, bo as Svg } from "./StoreProvider-Ds8GpUI7.js";
|
|
12
12
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
13
13
|
async function convertToSingpassLinkResponse(openIdInitiateResponse) {
|
|
14
14
|
const response = await Promise.resolve(openIdInitiateResponse);
|