@adyen/kyc-components 3.75.0-beta.3 → 3.75.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AcceptTermsOfServiceComponent-CoqImNMk.js → AcceptTermsOfServiceComponent-D9BqzBSv.js} +5 -5
- package/dist/{AccountSetupRejected-Bx_QIcqm.js → AccountSetupRejected-DDAukYal.js} +2 -2
- package/dist/{Avatar-D99uNsJV.js → Avatar-BbZMTb8k.js} +1 -1
- package/dist/{BusinessDetailsDropin-MpxhetyC.js → BusinessDetailsDropin-DnzFYLRt.js} +6 -6
- package/dist/{BusinessFinancingComponent-D6IuxFU5.js → BusinessFinancingComponent-bvZd44Rw.js} +2 -2
- package/dist/{BusinessFinancingDropin-yy4iaw8U.js → BusinessFinancingDropin-BX3j5n4C.js} +8 -8
- package/dist/{BusinessFinancingPage-1UNR3DxU.js → BusinessFinancingPage-CJfiMMfk.js} +2 -2
- package/dist/{BusinessTypeSelectionPage-Ddykyoif.js → BusinessTypeSelectionPage-Bik9pa-u.js} +3 -3
- package/dist/{ContractViewer-BRR48xtm.js → ContractViewer-BwG3C5dW.js} +1 -1
- package/dist/{CreateIndividualComponent-67IrmkCf.js → CreateIndividualComponent-CoDfMD_a.js} +2 -2
- package/dist/{CreateTransferInstrumentComponent-DCIElj7n.js → CreateTransferInstrumentComponent-BAiNYpnJ.js} +1 -1
- package/dist/{CustomerSupport-YXS96HQE.js → CustomerSupport-Bdgvjix7.js} +4 -4
- package/dist/{DebugModal-dQIlZRTo.js → DebugModal-CP_i_HwK.js} +8 -8
- package/dist/{DecisionMakerDetailsPage-Cc817ntO.js → DecisionMakerDetailsPage-CQYnk9Xn.js} +2 -2
- package/dist/{DecisionMakers-B73eLmJ5.js → DecisionMakers-DIbnecVR.js} +3 -3
- package/dist/{EmbeddedStatus-BgHN_I1g.js → EmbeddedStatus-7QJ_s7hU.js} +2 -2
- package/dist/{FormEndState-D0vnyGry.js → FormEndState-QUOVERNX.js} +1 -1
- package/dist/{FormFlow-DKca8CNL.js → FormFlow-5amikWjq.js} +1 -1
- package/dist/{IndividualOnfidoDropin-M49ooEPI.js → IndividualOnfidoDropin-CSCL01a1.js} +11 -11
- package/dist/{Introduction-CwpVoBEw.js → Introduction-DBSQEy6y.js} +2 -2
- package/dist/{LegalRepresentativeDetailsPage-D5hu_4J_.js → LegalRepresentativeDetailsPage-CrjuBP77.js} +2 -2
- package/dist/{ManageIndividualComponent-CQ8wogez.js → ManageIndividualComponent-CJKe2m5v.js} +3 -3
- package/dist/{ManagePCIComponent--3EOIRFx.js → ManagePCIComponent-0UNI8r60.js} +3 -3
- package/dist/{ManageTermsOfServiceComponent-DSAw9mz2.js → ManageTermsOfServiceComponent-BzPvl0Uj.js} +3 -3
- package/dist/{ManageTransferInstrumentComponent-AwaZh-Jv.js → ManageTransferInstrumentComponent-DDFqLUKi.js} +3 -3
- package/dist/{OnboardingDropinComponent-D8neveM0.js → OnboardingDropinComponent-CSKoOnT3.js} +31 -31
- package/dist/{ProviderButton-DK5r5xyV.js → ProviderButton-dT0L8DyH.js} +1 -1
- package/dist/{Review-Dq-rpMON.js → Review-j_fM9ZVG.js} +2 -2
- package/dist/{RootBusinessDetailsPage-CcwrtqgZ.js → RootBusinessDetailsPage-DE9lxNvR.js} +2 -2
- package/dist/{RootIndividualDetailsPage-DVvHImIG.js → RootIndividualDetailsPage-C9snBMjZ.js} +2 -2
- package/dist/{SignPCIComponent-BIW7P-je.js → SignPCIComponent-CFVC6kgV.js} +4 -4
- package/dist/{SingpassSelection-Bb2VcVUw.js → SingpassSelection-DhZ0lKPK.js} +1 -1
- package/dist/{SoleProprietorshipPage-BNeMh4-d.js → SoleProprietorshipPage-COYe6zum.js} +2 -2
- package/dist/{SourceOfFunds.module-qDVVLiTG.js → SourceOfFunds.module-CGbDhT49.js} +1 -1
- package/dist/{SourceOfFundsPage-D4jsQDER.js → SourceOfFundsPage-BvkaxOZI.js} +9 -9
- package/dist/{StoreProvider-8nF4ivgX.js → StoreProvider-CtNk8ekh.js} +4 -4
- package/dist/{TaskItemStatus-CFLiVncU.js → TaskItemStatus-D9sCIHON.js} +1 -1
- package/dist/{TaxReportingDropin-BPOqCm2W.js → TaxReportingDropin-DNYZLN8P.js} +6 -6
- package/dist/{TileGroup-CgUtOooz.js → TileGroup-Cx7Y_NBf.js} +1 -1
- package/dist/{TrustDetailsPage-Bku_sCiw.js → TrustDetailsPage-BSBZ9f9z.js} +4 -4
- package/dist/{TrustMemberCompanyPage-CDkQw3Aw.js → TrustMemberCompanyPage-BUuLS-57.js} +3 -3
- package/dist/{TrustMemberIndividualPage-BlyVy7Ce.js → TrustMemberIndividualPage-Dl9JzqNb.js} +2 -2
- package/dist/{UnincorporatedPartnershipIndividualPage-s5M3jjMG.js → UnincorporatedPartnershipIndividualPage-DJOZzVIP.js} +2 -2
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-D305FPD3.js → UnincorporatedPartnershipMemberCompanyPage-B7sGrwJD.js} +2 -2
- package/dist/{VerificationErrorAlert-CYGPg9cY.js → VerificationErrorAlert-BNvtGKmX.js} +1 -1
- package/dist/{ViewVerificationStatusComponent-D3E0qAzk.js → ViewVerificationStatusComponent-BW1v9vLK.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-By4A3s0A.js → css-BeplOBd-.js} +1 -1
- package/dist/{getFieldsWithExistingData-CYB_zXCK.js → getFieldsWithExistingData-CW5dHE28.js} +1 -1
- package/dist/{hasDataChanged-DKWQii3Y.js → hasDataChanged-CYQbu-tN.js} +1 -1
- package/dist/{individualFormConfig-BfrF-hLq.js → individualFormConfig-C7P-qsgN.js} +1 -1
- package/dist/{json-CeM2FDWC.js → json-QZSVaICP.js} +1 -1
- package/dist/{localizeDateString-CfUx1qzq.js → localizeDateString-CjNwvcza.js} +1 -1
- package/dist/{mapFinancialReportsToFinancialInformation-DZxhqI4E.js → mapFinancialReportsToFinancialInformation-CLDDiIVD.js} +1 -1
- package/dist/{plaintext-pSHNPsCg.js → plaintext-B8616351.js} +1 -1
- package/dist/{resolveEnvironment-C448OwV9.js → resolveEnvironment-CCdmx-Up.js} +3 -3
- package/dist/{rules-BI2ktVGc.js → rules-CPHbHoD6.js} +1 -1
- package/dist/{useMultiForm-B-WRIx9n.js → useMultiForm-BgEu8uhi.js} +1 -1
- package/dist/{useOnboardingStatus-STflbtsD.js → useOnboardingStatus-DvoTlJ5K.js} +1 -1
- package/dist/{useSalesChannelsSettings-C_ZKUa15.js → useSalesChannelsSettings-Bjwl16F8.js} +1 -1
- package/dist/{useTermsOfServiceStatus-DxAAy0mP.js → useTermsOfServiceStatus-C2Xb56D8.js} +1 -1
- package/dist/{useUpdateLegalEntity-KQNP1yly.js → useUpdateLegalEntity-FAhW-hcz.js} +1 -1
- package/dist/{utils-CEqSCUWb.js → utils-BL1_bJaN.js} +3 -3
- package/dist/{validate--jg_QAOH.js → validate-BIlxlfqG.js} +1 -1
- package/dist/{validate-DN2rMIZj.js → validate-DGJXjEC8.js} +1 -1
- package/dist/{yaml-DgL9ZZkt.js → yaml-vHfLYJJq.js} +1 -1
- package/package.json +1 -1
package/dist/{AcceptTermsOfServiceComponent-CoqImNMk.js → AcceptTermsOfServiceComponent-D9BqzBSv.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, be as useInvalidateRootLegalEntity, bf as useMutation, bh as httpPost, q as useQuery, w as skipToken, r as httpGet, aK as createLogger, b as useI18nContext, _ as useAnalyticsContext, a4 as useToastContext, a5 as useExperimentsContext, at as useForm, B as Alert, Y as Button, a1 as LoaderWrapper, ay as Field, bJ as Select, bH as Checkbox, aO as ActionBar, bI as MaybeModal, b4 as ModalContent, b6 as ModalFooter, bw as StepProgressIndicator, b7 as Spacer, y as LegalEntityType, ae as getOwnSignatories, x as doesLegalEntityRequiresLegalRepresentative, v as getLegalRepresentative, ak 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, be as useInvalidateRootLegalEntity, bf as useMutation, bh as httpPost, q as useQuery, w as skipToken, r as httpGet, aK as createLogger, b as useI18nContext, _ as useAnalyticsContext, a4 as useToastContext, a5 as useExperimentsContext, at as useForm, B as Alert, Y as Button, a1 as LoaderWrapper, ay as Field, bJ as Select, bH as Checkbox, aO as ActionBar, bI as MaybeModal, b4 as ModalContent, b6 as ModalFooter, bw as StepProgressIndicator, b7 as Spacer, y as LegalEntityType, ae as getOwnSignatories, x as doesLegalEntityRequiresLegalRepresentative, v as getLegalRepresentative, ak as getLegalEntityNameBasedOnType, aM as FormNavigation, a as useLegalEntity, R as ROOT_LE, L as Loader, W as TaskTypes } from "./StoreProvider-CtNk8ekh.js";
|
|
13
|
+
import { u as useTermsOfServiceStatus, a as useTermsOfServiceAcceptanceInfos } from "./useTermsOfServiceStatus-C2Xb56D8.js";
|
|
14
|
+
import { C as ContractViewer, O as OutlinedIcon } from "./ContractViewer-BwG3C5dW.js";
|
|
15
|
+
import { F as FormEndState } from "./FormEndState-QUOVERNX.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-CjNwvcza.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-CtNk8ekh.js";
|
|
12
|
+
import { D as DropinLayout } from "./OnboardingDropinComponent-CSKoOnT3.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-CtNk8ekh.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, bf as useMutation, bh as httpPost, q as useQuery, dN as KNOWN_BROKEN_PRIMARY_SOURCE_CONNECTIONS, b as useI18nContext, dD as MemoizedDocumentUpload, Y as Button, b2 as Modal, b4 as ModalContent, C as Typography, an as CountryCodes, O as CompanyTypesValue, b$ as useGlobalData, dO as getForms, W as TaskTypes, dP as BasicInformation, bL as getFormProps, dQ as CompanyStructure, dR as AdditionalInformation, dS as MemoizedConstitutionalDocument, y as LegalEntityType, dT as FinancialInformation, bR as formatObject, bc as entriesOf, cx as getDocument, cy as mapExistingFile, cz as getPageName, bk as businessDetailsComponentsKeyMapping, dU as solePropBusinessDetailsKeyMapping, a_ as objectsDeepEqual, dV as operationalAddressIsSameIds, dW as COUNTRIES_USING_COMPANY_SEARCH, dX as FIELDS_NEEDED_FOR_COMPANY_SEARCH, dq as keysOf, i as isUndefinedOrNull, aI as summaryItem, dY as solePropBusinessDetailsApiKeyMapping, dZ as businessDetailsApiKeyMapping, bM as isEmpty, d_ as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, cC as createDocumentRequest, d$ as augmentWithCountryConfigs, c9 as composePerScenarioFormConfigurations, b0 as datasetUtilities, cR as mapAddressLabels, e0 as companyTypeMetadata, bT as getProp, ao as isEmpty$1, aK as createLogger, cQ as filterOutUnwantedAssociationsIfRootLE, cb as isValidationError, cc as processValidationErrors, cd as isMaintenanceModeError, e1 as documentFormsIds, aq as resolveFieldMetadata, e2 as defaultFieldMetadata, e3 as inferCompanyRegistrationNumberType, e4 as getCompanyRegistrationNumberOptions, e5 as defaultFieldConfig, cs as defaultFieldMetadata$1, e6 as countryToTaxInfoTypeMap, ct as defaultFieldConfig$1, e7 as getKeyForField, cV as drop, al as getOwnEntityAssociations, c$ as doArraysMatch, cX as getFileExtention, P as useAccountHolder, a4 as useToastContext, _ as useAnalyticsContext, a5 as useExperimentsContext, J as useSettingsContext, e8 as verifiedBusiness, bm as useQueryClient, c6 as useStateContext, K as SettingNames, e9 as setIsBankAccountRequestedForOrganization, c7 as getAssociatedLeAnalyticsPayload, b1 as getCapabilityProblems, cF as documentApiUtils, c4 as useScenarioConfiguration, ea as rules, c5 as getPropsFromConfigurations, eb as useCompanySelection, ec as useVerifyTin, bN as getRequiredForms, bO as addValidityToForms, bP as useFormComposer, ed as setVerifiedBusiness, c8 as FormWrapper, b8 as Confirm, ee as solePropBusinessDetailsDocumentMapping, ef as businessDetailsDocumentMapping } from "./StoreProvider-
|
|
11
|
+
import { p as useApiContext, bf as useMutation, bh as httpPost, q as useQuery, dN as KNOWN_BROKEN_PRIMARY_SOURCE_CONNECTIONS, b as useI18nContext, dD as MemoizedDocumentUpload, Y as Button, b2 as Modal, b4 as ModalContent, C as Typography, an as CountryCodes, O as CompanyTypesValue, b$ as useGlobalData, dO as getForms, W as TaskTypes, dP as BasicInformation, bL as getFormProps, dQ as CompanyStructure, dR as AdditionalInformation, dS as MemoizedConstitutionalDocument, y as LegalEntityType, dT as FinancialInformation, bR as formatObject, bc as entriesOf, cx as getDocument, cy as mapExistingFile, cz as getPageName, bk as businessDetailsComponentsKeyMapping, dU as solePropBusinessDetailsKeyMapping, a_ as objectsDeepEqual, dV as operationalAddressIsSameIds, dW as COUNTRIES_USING_COMPANY_SEARCH, dX as FIELDS_NEEDED_FOR_COMPANY_SEARCH, dq as keysOf, i as isUndefinedOrNull, aI as summaryItem, dY as solePropBusinessDetailsApiKeyMapping, dZ as businessDetailsApiKeyMapping, bM as isEmpty, d_ as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, cC as createDocumentRequest, d$ as augmentWithCountryConfigs, c9 as composePerScenarioFormConfigurations, b0 as datasetUtilities, cR as mapAddressLabels, e0 as companyTypeMetadata, bT as getProp, ao as isEmpty$1, aK as createLogger, cQ as filterOutUnwantedAssociationsIfRootLE, cb as isValidationError, cc as processValidationErrors, cd as isMaintenanceModeError, e1 as documentFormsIds, aq as resolveFieldMetadata, e2 as defaultFieldMetadata, e3 as inferCompanyRegistrationNumberType, e4 as getCompanyRegistrationNumberOptions, e5 as defaultFieldConfig, cs as defaultFieldMetadata$1, e6 as countryToTaxInfoTypeMap, ct as defaultFieldConfig$1, e7 as getKeyForField, cV as drop, al as getOwnEntityAssociations, c$ as doArraysMatch, cX as getFileExtention, P as useAccountHolder, a4 as useToastContext, _ as useAnalyticsContext, a5 as useExperimentsContext, J as useSettingsContext, e8 as verifiedBusiness, bm as useQueryClient, c6 as useStateContext, K as SettingNames, e9 as setIsBankAccountRequestedForOrganization, c7 as getAssociatedLeAnalyticsPayload, b1 as getCapabilityProblems, cF as documentApiUtils, c4 as useScenarioConfiguration, ea as rules, c5 as getPropsFromConfigurations, eb as useCompanySelection, ec as useVerifyTin, bN as getRequiredForms, bO as addValidityToForms, bP as useFormComposer, ed as setVerifiedBusiness, c8 as FormWrapper, b8 as Confirm, ee as solePropBusinessDetailsDocumentMapping, ef as businessDetailsDocumentMapping } from "./StoreProvider-CtNk8ekh.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-FAhW-hcz.js";
|
|
14
|
+
import { h as hasDataChanged } from "./hasDataChanged-CYQbu-tN.js";
|
|
15
|
+
import { o as organizationTypesToSkipCompanyStructureForm } from "./utils-BL1_bJaN.js";
|
|
16
|
+
import { g as getFieldsWithExistingData } from "./getFieldsWithExistingData-CW5dHE28.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-CLDDiIVD.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-D6IuxFU5.js → BusinessFinancingComponent-bvZd44Rw.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-CtNk8ekh.js";
|
|
13
|
+
import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-BX3j5n4C.js";
|
|
14
14
|
function BusinessFinancingComponent({
|
|
15
15
|
legalEntityId,
|
|
16
16
|
onSubmitSuccess
|
|
@@ -9,14 +9,14 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useMemo, useEffect, useCallback, useState, useRef } from "preact/hooks";
|
|
12
|
-
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
13
|
-
import { bQ as reverseMapping, bR as formatObject, bS as isEeaCountry, y as LegalEntityType, ba as cloneObject, bT as getProp, ao as isEmpty, p as useApiContext, q as useQuery, r as httpGet, b as useI18nContext, ay as Field, bJ as Select, C as Typography, aV as RadioGroup, bU as Link, bp as InputText, bb as currencyByCountry, bV as InputNumber, bW as InputDate, bX as Currency, bY as CURRENCY_FIELD, bZ as InputCurrency, at as useForm, b_ as useGlobalDataSlice, aw as ErrorPanel, ax as createFormUtils, b$ as useGlobalData, c0 as getAddressSchemaForCountry, c1 as COUNTRIES_WITH_STATES_DATASET, c2 as Address, c3 as getAddressSchemaLabelsByCountry, _ as useAnalyticsContext, be as useInvalidateRootLegalEntity, am as useAssociatedLegalEntity, b0 as datasetUtilities, a4 as useToastContext, c4 as useScenarioConfiguration, c5 as getPropsFromConfigurations, c6 as useStateContext, bN as getRequiredForms, bO as addValidityToForms, J as useSettingsContext, K as SettingNames, c7 as getAssociatedLeAnalyticsPayload, bP as useFormComposer, bL as getFormProps, L as Loader, a2 as Icon, Y as Button, c8 as FormWrapper, c9 as composePerScenarioFormConfigurations, ca as trackNavigation, cb as isValidationError, cc as processValidationErrors, cd as isMaintenanceModeError } from "./StoreProvider-
|
|
14
|
-
import { h as hasDataChanged } from "./hasDataChanged-
|
|
15
|
-
import { F as FormEndState } from "./FormEndState-
|
|
16
|
-
import { l as localizeDateString } from "./localizeDateString-
|
|
17
|
-
import { m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./mapFinancialReportsToFinancialInformation-
|
|
18
|
-
import { f as fieldsPerScenario } from "./individualFormConfig-
|
|
19
|
-
import { b as businessFinancingCompanyDetailsValidations, a as businessFinancingParentCompanyDetailsValidations } from "./validate
|
|
12
|
+
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-FAhW-hcz.js";
|
|
13
|
+
import { bQ as reverseMapping, bR as formatObject, bS as isEeaCountry, y as LegalEntityType, ba as cloneObject, bT as getProp, ao as isEmpty, p as useApiContext, q as useQuery, r as httpGet, b as useI18nContext, ay as Field, bJ as Select, C as Typography, aV as RadioGroup, bU as Link, bp as InputText, bb as currencyByCountry, bV as InputNumber, bW as InputDate, bX as Currency, bY as CURRENCY_FIELD, bZ as InputCurrency, at as useForm, b_ as useGlobalDataSlice, aw as ErrorPanel, ax as createFormUtils, b$ as useGlobalData, c0 as getAddressSchemaForCountry, c1 as COUNTRIES_WITH_STATES_DATASET, c2 as Address, c3 as getAddressSchemaLabelsByCountry, _ as useAnalyticsContext, be as useInvalidateRootLegalEntity, am as useAssociatedLegalEntity, b0 as datasetUtilities, a4 as useToastContext, c4 as useScenarioConfiguration, c5 as getPropsFromConfigurations, c6 as useStateContext, bN as getRequiredForms, bO as addValidityToForms, J as useSettingsContext, K as SettingNames, c7 as getAssociatedLeAnalyticsPayload, bP as useFormComposer, bL as getFormProps, L as Loader, a2 as Icon, Y as Button, c8 as FormWrapper, c9 as composePerScenarioFormConfigurations, ca as trackNavigation, cb as isValidationError, cc as processValidationErrors, cd as isMaintenanceModeError } from "./StoreProvider-CtNk8ekh.js";
|
|
14
|
+
import { h as hasDataChanged } from "./hasDataChanged-CYQbu-tN.js";
|
|
15
|
+
import { F as FormEndState } from "./FormEndState-QUOVERNX.js";
|
|
16
|
+
import { l as localizeDateString } from "./localizeDateString-CjNwvcza.js";
|
|
17
|
+
import { m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./mapFinancialReportsToFinancialInformation-CLDDiIVD.js";
|
|
18
|
+
import { f as fieldsPerScenario } from "./individualFormConfig-C7P-qsgN.js";
|
|
19
|
+
import { b as businessFinancingCompanyDetailsValidations, a as businessFinancingParentCompanyDetailsValidations } from "./validate-BIlxlfqG.js";
|
|
20
20
|
const MANDATORY_FIELDS_BUSINESS_FINANCING = [
|
|
21
21
|
"company.numberOfEmployees",
|
|
22
22
|
"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-CtNk8ekh.js";
|
|
12
|
+
import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-BX3j5n4C.js";
|
|
13
13
|
const BusinessFinancingPage = ({
|
|
14
14
|
onSubmit,
|
|
15
15
|
handleHomeClick
|
package/dist/{BusinessTypeSelectionPage-Ddykyoif.js → BusinessTypeSelectionPage-Bik9pa-u.js}
RENAMED
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
|
-
import { b as useI18nContext, _ as useAnalyticsContext, a4 as useToastContext, a5 as useExperimentsContext, P as useAccountHolder, bx as getCapabilities, g as getLegalEntityCountry, y as LegalEntityType, at as useForm, a1 as LoaderWrapper, C as Typography, ay as Field, by as EntityTypeRadioGroupCard, aB as RadioGroupCard, Y as Button, b7 as Spacer, 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 useToastContext, a5 as useExperimentsContext, P as useAccountHolder, bx as getCapabilities, g as getLegalEntityCountry, y as LegalEntityType, at as useForm, a1 as LoaderWrapper, C as Typography, ay as Field, by as EntityTypeRadioGroupCard, aB as RadioGroupCard, Y as Button, b7 as Spacer, a2 as Icon, H as hasSolePropInLegalEntity, a as useLegalEntity, R as ROOT_LE, L as Loader } from "./StoreProvider-CtNk8ekh.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-FAhW-hcz.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-BL1_bJaN.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 getBusinessTypeExamplesForCountry = async (country) => {
|
|
17
17
|
const importForCountry = businessTypeExamples[`../localized/legalEntityTypeExamples/${country}.json`];
|
|
@@ -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-CtNk8ekh.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-67IrmkCf.js → CreateIndividualComponent-CoDfMD_a.js}
RENAMED
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { a as useLegalEntity, aa as useCapabilityProblems, a5 as useExperimentsContext, L as Loader, g as getLegalEntityCountry, bi as getProblemsForEntity, U as EntityType, W as TaskTypes } from "./StoreProvider-
|
|
12
|
-
import { i as isOnfidoAutofillFlowEnabled, I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-
|
|
11
|
+
import { a as useLegalEntity, aa as useCapabilityProblems, a5 as useExperimentsContext, L as Loader, g as getLegalEntityCountry, bi as getProblemsForEntity, U as EntityType, W as TaskTypes } from "./StoreProvider-CtNk8ekh.js";
|
|
12
|
+
import { i as isOnfidoAutofillFlowEnabled, I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-CSCL01a1.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, am as useAssociatedLegalEntity, y as LegalEntityType, L as Loader, bn as PayoutDetailsDropin, W as TaskTypes } from "./StoreProvider-
|
|
12
|
+
import { a as useLegalEntity, am as useAssociatedLegalEntity, y as LegalEntityType, L as Loader, bn as PayoutDetailsDropin, W as TaskTypes } from "./StoreProvider-CtNk8ekh.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, a4 as useToastContext, bm as useQueryClient, aq as resolveFieldMetadata, bD as defaultFieldMetadata, bE as fieldConfig, bF as getAsyncPhoneValidationRules, F as FormHeader, bG as ContactDetails, aO as ActionBar, aK as createLogger } from "./StoreProvider-
|
|
11
|
+
import { a as useLegalEntity, R as ROOT_LE, L as Loader, b as useI18nContext, _ as useAnalyticsContext, a4 as useToastContext, bm as useQueryClient, aq as resolveFieldMetadata, bD as defaultFieldMetadata, bE as fieldConfig, bF as getAsyncPhoneValidationRules, F as FormHeader, bG as ContactDetails, aO as ActionBar, aK as createLogger } from "./StoreProvider-CtNk8ekh.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-FAhW-hcz.js";
|
|
14
|
+
import { c as contactDetailsValidationRules, u as useValidatePhoneNumberImperatively } from "./validate-DGJXjEC8.js";
|
|
15
|
+
import { u as useMultiForm } from "./useMultiForm-BgEu8uhi.js";
|
|
16
16
|
const mapCustomerSupportSchemaToCustomerSupportType = (customerSupport) => {
|
|
17
17
|
var _a, _b, _c;
|
|
18
18
|
return {
|
|
@@ -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] = "29ef4677-07f1-447e-91e7-1053501cd9c4", e._sentryDebugIdIdentifier = "sentry-dbid-29ef4677-07f1-447e-91e7-1053501cd9c4");
|
|
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, bc as entriesOf, bp as InputText, b as useI18nContext, bq as splitTaskIdentifier, a5 as useExperimentsContext, J as useSettingsContext, ab as useGlobalStore, br as listToRecord, bs as valuesOf, b2 as Modal, aK as createLogger, a2 as Icon, K as SettingNames, bt as ExperimentNames } from "./StoreProvider-
|
|
12
|
+
import { Y as Button, bc as entriesOf, bp as InputText, b as useI18nContext, bq as splitTaskIdentifier, a5 as useExperimentsContext, J as useSettingsContext, ab as useGlobalStore, br as listToRecord, bs as valuesOf, b2 as Modal, aK as createLogger, a2 as Icon, K as SettingNames, bt as ExperimentNames } from "./StoreProvider-CtNk8ekh.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-D9sCIHON.js";
|
|
15
15
|
const tabs = "adyen-kyc-tabs";
|
|
16
16
|
const styles$1 = {
|
|
17
17
|
tabs
|
|
@@ -146,10 +146,10 @@ const transformModule = (highlights, codeNode, scope) => {
|
|
|
146
146
|
};
|
|
147
147
|
const supportedModules = ["plaintext", "json", "yaml", "css"];
|
|
148
148
|
const moduleMap = {
|
|
149
|
-
plaintext: () => import("./plaintext-
|
|
150
|
-
json: () => import("./json-
|
|
151
|
-
yaml: () => import("./yaml-
|
|
152
|
-
css: () => import("./css-
|
|
149
|
+
plaintext: () => import("./plaintext-B8616351.js"),
|
|
150
|
+
json: () => import("./json-QZSVaICP.js"),
|
|
151
|
+
yaml: () => import("./yaml-vHfLYJJq.js"),
|
|
152
|
+
css: () => import("./css-BeplOBd-.js")
|
|
153
153
|
};
|
|
154
154
|
const getModule = async (name) => {
|
|
155
155
|
if (!supportedModules.includes(name)) {
|
|
@@ -440,7 +440,7 @@ const DebugModal = ({ onExit }) => {
|
|
|
440
440
|
const [tab, setTab] = useState("metadata");
|
|
441
441
|
const rootLegalEntity = useGlobalStore().rootLegalEntity.value;
|
|
442
442
|
const metadata = {
|
|
443
|
-
sdkVersion: "3.75.0
|
|
443
|
+
sdkVersion: "3.75.0",
|
|
444
444
|
locale: i18n.locale,
|
|
445
445
|
rootLegalEntityId: rootLegalEntity.id
|
|
446
446
|
};
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { a as useLegalEntity, w as skipToken, aa as useCapabilityProblems, a5 as useExperimentsContext, L as Loader, g as getLegalEntityCountry, bi as getProblemsForEntity, U as EntityType, W as TaskTypes, a3 as noop } from "./StoreProvider-
|
|
12
|
-
import { i as isOnfidoAutofillFlowEnabled, I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-
|
|
11
|
+
import { a as useLegalEntity, w as skipToken, aa as useCapabilityProblems, a5 as useExperimentsContext, L as Loader, g as getLegalEntityCountry, bi as getProblemsForEntity, U as EntityType, W as TaskTypes, a3 as noop } from "./StoreProvider-CtNk8ekh.js";
|
|
12
|
+
import { i as isOnfidoAutofillFlowEnabled, I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-CSCL01a1.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, a8 as useGetTaskStatus, b as useI18nContext, _ as useAnalyticsContext, a4 as useToastContext, aa as useCapabilityProblems, bz as getOwnDecisionMakers, bA as getAvailableDecisionMakerRoleTypes, W as TaskTypes, bB as getAllowedDecisionMakerRoles, F as FormHeader, aU as ContextGuidance, bC as DecisionMakerType, B as Alert, a9 as CardGroup, Y as Button, aO as ActionBar } from "./StoreProvider-
|
|
13
|
-
import { a as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
14
|
-
import { b as useDataMissingRemediations, D as DropinLayout, E as EntityGuidanceStatus, i as iconStatus, c as EntityAssociation } from "./OnboardingDropinComponent-
|
|
12
|
+
import { a as useLegalEntity, R as ROOT_LE, L as Loader, a8 as useGetTaskStatus, b as useI18nContext, _ as useAnalyticsContext, a4 as useToastContext, aa as useCapabilityProblems, bz as getOwnDecisionMakers, bA as getAvailableDecisionMakerRoleTypes, W as TaskTypes, bB as getAllowedDecisionMakerRoles, F as FormHeader, aU as ContextGuidance, bC as DecisionMakerType, B as Alert, a9 as CardGroup, Y as Button, aO as ActionBar } from "./StoreProvider-CtNk8ekh.js";
|
|
13
|
+
import { a as useUpdateLegalEntity } from "./useUpdateLegalEntity-FAhW-hcz.js";
|
|
14
|
+
import { b as useDataMissingRemediations, D as DropinLayout, E as EntityGuidanceStatus, i as iconStatus, c as EntityAssociation } from "./OnboardingDropinComponent-CSKoOnT3.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 { X as TaskStatus, b as useI18nContext, z as Skeleton, C as Typography } from "./StoreProvider-
|
|
12
|
+
import { A as Avatar } from "./Avatar-BbZMTb8k.js";
|
|
13
|
+
import { X as TaskStatus, b as useI18nContext, z as Skeleton, C as Typography } from "./StoreProvider-CtNk8ekh.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-CtNk8ekh.js";
|
|
14
14
|
const FormEndState = ({ variant = "success", children, className }) => {
|
|
15
15
|
const Slot = defineSlots(children, ["title", "content", "icon", "actions"]);
|
|
16
16
|
return /* @__PURE__ */ jsxs(
|
|
@@ -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 { dG as FormContext, _ as useAnalyticsContext, b as useI18nContext, bI as MaybeModal, a1 as LoaderWrapper, dH as FormRouterContextProvider, aN as Summary, Y as Button, Z as IconButton, b8 as Confirm } from "./StoreProvider-
|
|
12
|
+
import { dG as FormContext, _ as useAnalyticsContext, b as useI18nContext, bI as MaybeModal, a1 as LoaderWrapper, dH as FormRouterContextProvider, aN as Summary, Y as Button, Z as IconButton, b8 as Confirm } from "./StoreProvider-CtNk8ekh.js";
|
|
13
13
|
import cx from "classnames";
|
|
14
14
|
function FormContextProvider({
|
|
15
15
|
children,
|
|
@@ -7,19 +7,19 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { an as CountryCodes, W as TaskTypes, p as useApiContext, bf as useMutation, bh as httpPost, ce as matchesRegex, cf as trimValWithOneSpace, cg as NO_ALPHABET_REGEX, ch as EMOJI_REGEX, ci as hasRepeatedCharacters, cj as isInvalidName, ck as INDIVIDUAL_VALID_CHAR_REGEX, cl as getFormattingRegEx, cm as SPECIAL_CHARS, cn as standardKatakanaValidator, co as standardKanjiValidator, aq as resolveFieldMetadata, cp as getSSNType, ao as isEmpty, cq as defaultFieldMetadata, cr as defaultFieldConfig, bD as defaultFieldMetadata$1, bE as fieldConfig, cs as defaultFieldMetadata$2, y as LegalEntityType, ct as defaultFieldConfig$1, cu as getAgeToday, cv as euCountries, cw as getIdDocument, cx as getDocument, cy as mapExistingFile, cz as getPageName, cA as getLocalizedIdDocumentTypeOptions, cB as getPage, cC as createDocumentRequest, bR as formatObject, cD as individualApiKeyMapping, bj as individualComponentsKeyMapping, bQ as reverseMapping, cE as getNomineeFromAssociation, aK as createLogger, P as useAccountHolder, b as useI18nContext, _ as useAnalyticsContext, a4 as useToastContext, a5 as useExperimentsContext, J as useSettingsContext, cF as documentApiUtils, cG as useProviderStatus, g as getLegalEntityCountry, c7 as getAssociatedLeAnalyticsPayload, cH as addressValidators, cI as getAsyncIdNumberValidationRule, bF as getAsyncPhoneValidationRules, cJ as addressFormatters, cK as useScenarios, cL as setHasMotionCaptureScenario, c4 as useScenarioConfiguration, c5 as getPropsFromConfigurations, cM as individualForms, cN as showIndividualMotionCapture, bN as getRequiredForms, bO as addValidityToForms, bB as getAllowedDecisionMakerRoles, b0 as datasetUtilities, bP as useFormComposer, ca as trackNavigation, cO as Individual, c9 as composePerScenarioFormConfigurations, cP as omitObscuredFieldsIfUnchanged, cQ as filterOutUnwantedAssociationsIfRootLE, cb as isValidationError, cc as processValidationErrors, cd as isMaintenanceModeError, ba as cloneObject, cR as mapAddressLabels, cS as individualDocumentForms, cT as individualDocumentMapping, cU as individualObscuredFields, cV as drop, cW as mergeAttachments, cX as getFileExtention, al as getOwnEntityAssociations, cY as hasNomineesChanged, cZ as attachNomineeToRole, c_ as idVerificationProviderId, c$ as doArraysMatch, bC as DecisionMakerType, d0 as createFormRules, bA as getAvailableDecisionMakerRoleTypes, d1 as allowedCountriesForNominee, c0 as getAddressSchemaForCountry, c1 as COUNTRIES_WITH_STATES_DATASET, d2 as Scenarios, d3 as isLowRiskCountry, ay as Field, bJ as Select, d4 as isTruthyValidator, d5 as licenseCardNumberDefaultMetadata, d6 as licenseCardNumberDefaultConfig, ap as mergeFieldMetadataIntoProps, ax as createFormUtils, bK as useFormContext, au as getFieldProps, d7 as idNumberFields, d8 as IdentityNumber, d9 as additionallIdNumberOptions, da as MaskedInput, bW as InputDate, db as formatDateObj, dc as DriversLicense, dd as addressFields, u as useAllowedCountries, K as SettingNames, de as getDefaultTaxIdNumberType, F as FormHeader, aw as ErrorPanel, C as Typography, aE as CountryField, c2 as Address, c3 as getAddressSchemaLabelsByCountry, bU as Link, b8 as Confirm, df as getAgeRangeForLegalRepresentative, dg as IndividualIdNumberTypeSelector, dh as TaxInformationField, di as PatriotActDisclosure, dj as isLegalRepresentativeNeeded, av as nameFields, dk as decisionMakerRoleFields, dl as nomineeFields, dm as contactDetailFields, B as Alert, aU as ContextGuidance, a$ as TrustedFieldsProvider, dn as DecisionMakerRole, dp as NomineeDecisionMakerRole, aD as Name, bp as InputText, bG as ContactDetails, dq as keysOf, a_ as objectsDeepEqual, bM as isEmpty$1, dr as RadioWithLabel, br as listToRecord, b2 as Modal, Y as Button, bl as Svg, ds as pick, dt as IdVerification, b7 as Spacer, Z as IconButton, c as useDataset, d as datasetIdentifier, L as Loader, du as isPersonUnderAge, dv as IdDocumentManualUpload, dw as idDocumentUploadFields, dx as useFormRouterContext, bL as getFormProps, dy as useCapabilities, dz as hasMotionCaptureScenario, dA as setShowIndividualMotionCapture, dB as shouldShowMotionCapture, dC as MemoizedProofOfRelationship, dD as MemoizedDocumentUpload, dE as MemoizedProofOfResidencyUpload, bm as useQueryClient } from "./StoreProvider-
|
|
10
|
+
import { an as CountryCodes, W as TaskTypes, p as useApiContext, bf as useMutation, bh as httpPost, ce as matchesRegex, cf as trimValWithOneSpace, cg as NO_ALPHABET_REGEX, ch as EMOJI_REGEX, ci as hasRepeatedCharacters, cj as isInvalidName, ck as INDIVIDUAL_VALID_CHAR_REGEX, cl as getFormattingRegEx, cm as SPECIAL_CHARS, cn as standardKatakanaValidator, co as standardKanjiValidator, aq as resolveFieldMetadata, cp as getSSNType, ao as isEmpty, cq as defaultFieldMetadata, cr as defaultFieldConfig, bD as defaultFieldMetadata$1, bE as fieldConfig, cs as defaultFieldMetadata$2, y as LegalEntityType, ct as defaultFieldConfig$1, cu as getAgeToday, cv as euCountries, cw as getIdDocument, cx as getDocument, cy as mapExistingFile, cz as getPageName, cA as getLocalizedIdDocumentTypeOptions, cB as getPage, cC as createDocumentRequest, bR as formatObject, cD as individualApiKeyMapping, bj as individualComponentsKeyMapping, bQ as reverseMapping, cE as getNomineeFromAssociation, aK as createLogger, P as useAccountHolder, b as useI18nContext, _ as useAnalyticsContext, a4 as useToastContext, a5 as useExperimentsContext, J as useSettingsContext, cF as documentApiUtils, cG as useProviderStatus, g as getLegalEntityCountry, c7 as getAssociatedLeAnalyticsPayload, cH as addressValidators, cI as getAsyncIdNumberValidationRule, bF as getAsyncPhoneValidationRules, cJ as addressFormatters, cK as useScenarios, cL as setHasMotionCaptureScenario, c4 as useScenarioConfiguration, c5 as getPropsFromConfigurations, cM as individualForms, cN as showIndividualMotionCapture, bN as getRequiredForms, bO as addValidityToForms, bB as getAllowedDecisionMakerRoles, b0 as datasetUtilities, bP as useFormComposer, ca as trackNavigation, cO as Individual, c9 as composePerScenarioFormConfigurations, cP as omitObscuredFieldsIfUnchanged, cQ as filterOutUnwantedAssociationsIfRootLE, cb as isValidationError, cc as processValidationErrors, cd as isMaintenanceModeError, ba as cloneObject, cR as mapAddressLabels, cS as individualDocumentForms, cT as individualDocumentMapping, cU as individualObscuredFields, cV as drop, cW as mergeAttachments, cX as getFileExtention, al as getOwnEntityAssociations, cY as hasNomineesChanged, cZ as attachNomineeToRole, c_ as idVerificationProviderId, c$ as doArraysMatch, bC as DecisionMakerType, d0 as createFormRules, bA as getAvailableDecisionMakerRoleTypes, d1 as allowedCountriesForNominee, c0 as getAddressSchemaForCountry, c1 as COUNTRIES_WITH_STATES_DATASET, d2 as Scenarios, d3 as isLowRiskCountry, ay as Field, bJ as Select, d4 as isTruthyValidator, d5 as licenseCardNumberDefaultMetadata, d6 as licenseCardNumberDefaultConfig, ap as mergeFieldMetadataIntoProps, ax as createFormUtils, bK as useFormContext, au as getFieldProps, d7 as idNumberFields, d8 as IdentityNumber, d9 as additionallIdNumberOptions, da as MaskedInput, bW as InputDate, db as formatDateObj, dc as DriversLicense, dd as addressFields, u as useAllowedCountries, K as SettingNames, de as getDefaultTaxIdNumberType, F as FormHeader, aw as ErrorPanel, C as Typography, aE as CountryField, c2 as Address, c3 as getAddressSchemaLabelsByCountry, bU as Link, b8 as Confirm, df as getAgeRangeForLegalRepresentative, dg as IndividualIdNumberTypeSelector, dh as TaxInformationField, di as PatriotActDisclosure, dj as isLegalRepresentativeNeeded, av as nameFields, dk as decisionMakerRoleFields, dl as nomineeFields, dm as contactDetailFields, B as Alert, aU as ContextGuidance, a$ as TrustedFieldsProvider, dn as DecisionMakerRole, dp as NomineeDecisionMakerRole, aD as Name, bp as InputText, bG as ContactDetails, dq as keysOf, a_ as objectsDeepEqual, bM as isEmpty$1, dr as RadioWithLabel, br as listToRecord, b2 as Modal, Y as Button, bl as Svg, ds as pick, dt as IdVerification, b7 as Spacer, Z as IconButton, c as useDataset, d as datasetIdentifier, L as Loader, du as isPersonUnderAge, dv as IdDocumentManualUpload, dw as idDocumentUploadFields, dx as useFormRouterContext, bL as getFormProps, dy as useCapabilities, dz as hasMotionCaptureScenario, dA as setShowIndividualMotionCapture, dB as shouldShowMotionCapture, dC as MemoizedProofOfRelationship, dD as MemoizedDocumentUpload, dE as MemoizedProofOfResidencyUpload, bm as useQueryClient } from "./StoreProvider-CtNk8ekh.js";
|
|
11
11
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
12
12
|
import { useMemo, useState, useEffect, useCallback } from "preact/hooks";
|
|
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-
|
|
21
|
-
import { f as fieldsPerScenario } from "./individualFormConfig-
|
|
22
|
-
import { T as TileGroup } from "./TileGroup-
|
|
13
|
+
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-FAhW-hcz.js";
|
|
14
|
+
import { c as contactDetailsValidationRules, u as useValidatePhoneNumberImperatively } from "./validate-DGJXjEC8.js";
|
|
15
|
+
import { F as FormContextProvider, a as FormFlow } from "./FormFlow-5amikWjq.js";
|
|
16
|
+
import { u as useSingpassMyInfoLogin, P as ProviderButton } from "./ProviderButton-dT0L8DyH.js";
|
|
17
|
+
import { u as useMultiForm } from "./useMultiForm-BgEu8uhi.js";
|
|
18
|
+
import { g as getFieldsWithExistingData } from "./getFieldsWithExistingData-CW5dHE28.js";
|
|
19
|
+
import { l as localizeDateString } from "./localizeDateString-CjNwvcza.js";
|
|
20
|
+
import { r as rules, D as DECISION_MAKER_TYPES_WITH_JOBTITLE$1 } from "./rules-CPHbHoD6.js";
|
|
21
|
+
import { f as fieldsPerScenario } from "./individualFormConfig-C7P-qsgN.js";
|
|
22
|
+
import { T as TileGroup } from "./TileGroup-Cx7Y_NBf.js";
|
|
23
23
|
const KEY_MARKETS = [
|
|
24
24
|
CountryCodes.UnitedStates,
|
|
25
25
|
CountryCodes.UnitedKingdom,
|
|
@@ -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, bv as getTranslationKeysByPrefix, b as useI18nContext, a as useLegalEntity, R as ROOT_LE, L as Loader, _ as useAnalyticsContext, bw as StepProgressIndicator, Y as Button } from "./StoreProvider-
|
|
12
|
+
import { W as TaskTypes, y as LegalEntityType, bv as getTranslationKeysByPrefix, b as useI18nContext, a as useLegalEntity, R as ROOT_LE, L as Loader, _ as useAnalyticsContext, bw as StepProgressIndicator, Y as Button } from "./StoreProvider-CtNk8ekh.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-CSKoOnT3.js";
|
|
15
15
|
import { t as toCapitalized } from "./toCapitalized-Bq7laD0b.js";
|
|
16
16
|
var IntroductionScreens = ((IntroductionScreens2) => {
|
|
17
17
|
IntroductionScreens2["PROLOGUE"] = "PROLOGUE";
|
|
@@ -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, aa as useCapabilityProblems, a5 as useExperimentsContext, L as Loader, g as getLegalEntityCountry, bi as getProblemsForEntity, U as EntityType, W as TaskTypes, a3 as noop } from "./StoreProvider-
|
|
12
|
-
import { i as isOnfidoAutofillFlowEnabled, I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-
|
|
11
|
+
import { a as useLegalEntity, w as skipToken, R as ROOT_LE, aa as useCapabilityProblems, a5 as useExperimentsContext, L as Loader, g as getLegalEntityCountry, bi as getProblemsForEntity, U as EntityType, W as TaskTypes, a3 as noop } from "./StoreProvider-CtNk8ekh.js";
|
|
12
|
+
import { i as isOnfidoAutofillFlowEnabled, I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-CSCL01a1.js";
|
|
13
13
|
function LegalRepresentativeDetailsPage({
|
|
14
14
|
legalRepresentativeId,
|
|
15
15
|
asModal = false,
|
package/dist/{ManageIndividualComponent-CQ8wogez.js → ManageIndividualComponent-CJKe2m5v.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-CtNk8ekh.js";
|
|
12
|
+
import { u as useOnboardingStatus } from "./useOnboardingStatus-DvoTlJ5K.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-7QJ_s7hU.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-Bjwl16F8.js";
|
|
12
|
+
import { b as useI18nContext, p as useApiContext } from "./StoreProvider-CtNk8ekh.js";
|
|
13
|
+
import { E as EmbeddedStatus } from "./EmbeddedStatus-7QJ_s7hU.js";
|
|
14
14
|
function ManagePCIComponent({ legalEntityId, onClick }) {
|
|
15
15
|
const { i18n } = useI18nContext();
|
|
16
16
|
const title = i18n.get("pciDssQuestionnaire");
|
package/dist/{ManageTermsOfServiceComponent-DSAw9mz2.js → ManageTermsOfServiceComponent-BzPvl0Uj.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-C2Xb56D8.js";
|
|
12
|
+
import { p as useApiContext, b as useI18nContext } from "./StoreProvider-CtNk8ekh.js";
|
|
13
|
+
import { E as EmbeddedStatus } from "./EmbeddedStatus-7QJ_s7hU.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, b0 as datasetUtilities, b1 as getCapabilityProblems, b2 as Modal, b3 as ModalHeader, C as Typography, b4 as ModalContent, L as Loader, Y as Button, $ as Card, b5 as StructuredList, b6 as ModalFooter, b7 as Spacer, Z as IconButton, b8 as Confirm, b9 as mapTransferInstrumentToPayoutAccount, ba as cloneObject, bb as currencyByCountry, bc as entriesOf, X as TaskStatus, bd as useTransferInstrument, aK as createLogger, a4 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-BNvtGKmX.js";
|
|
12
|
+
import { p as useApiContext, q as useQuery, r as httpGet, b as useI18nContext, b0 as datasetUtilities, b1 as getCapabilityProblems, b2 as Modal, b3 as ModalHeader, C as Typography, b4 as ModalContent, L as Loader, Y as Button, $ as Card, b5 as StructuredList, b6 as ModalFooter, b7 as Spacer, Z as IconButton, b8 as Confirm, b9 as mapTransferInstrumentToPayoutAccount, ba as cloneObject, bb as currencyByCountry, bc as entriesOf, X as TaskStatus, bd as useTransferInstrument, aK as createLogger, a4 as useToastContext, c as useDataset, d as datasetIdentifier, B as Alert } from "./StoreProvider-CtNk8ekh.js";
|
|
13
|
+
import { s as statusToTag, E as EmbeddedStatus } from "./EmbeddedStatus-7QJ_s7hU.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-D8neveM0.js → OnboardingDropinComponent-CSKoOnT3.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 TaskStatus, Y as Button, Z as IconButton, _ as useAnalyticsContext, $ as Card, a0 as handleKeys, a1 as LoaderWrapper, a2 as Icon, a3 as noop, a4 as useToastContext, a5 as useExperimentsContext, a6 as isInstantVerifiedAccount, a7 as getObscuredAccountNumber, a8 as useGetTaskStatus, a9 as CardGroup, R as ROOT_LE, aa as useCapabilityProblems, L as Loader, ab as useGlobalStore, ac as useSetting, ad as isPartOfUnincorporatedPartnership, ae as getOwnSignatories, af as getOwnDecisionMakersLegalEntityIds, ag as getOwnSolePropProblems, ah as getOwnTrustProblems, ai as getOwnUnincorporatedPartnershipProblems, aj as TrustMemberTypes, ak as getLegalEntityNameBasedOnType, al as getOwnEntityAssociations, am as useAssociatedLegalEntity, an as CountryCodes, ao as isEmpty, ap as mergeFieldMetadataIntoProps, aq as resolveFieldMetadata, ar as defaultFieldMetadata, as as defaultFieldConfig, at as useForm, au as getFieldProps, av as nameFields, F as FormHeader, aw as ErrorPanel, ax as createFormUtils, ay as Field, az as MultiSelectList, aA as makeSelectItemForRole, aB as RadioGroupCard, aC as TextArea, aD as Name, aE as CountryField, aF as COUNTRY_FIELD, aG as LegalCompanyNameField, aH as LEGAL_COMPANY_NAME_FIELD, aI as summaryItem, aJ as getRoleName, aK as createLogger, 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 getRoleTagVariant, aT as DEFAULT_TRUST_MEMBER_REQUIREMENTS, aU as ContextGuidance, aV as RadioGroup, aW as useUnincorporatedPartnershipMembers, aX as deleteUnincorporatedPartnershipMember, aY as hasAllCapabilitiesResolved, aZ as hasRejectedCapabilities, a_ as objectsDeepEqual, a$ 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 TaskStatus, Y as Button, Z as IconButton, _ as useAnalyticsContext, $ as Card, a0 as handleKeys, a1 as LoaderWrapper, a2 as Icon, a3 as noop, a4 as useToastContext, a5 as useExperimentsContext, a6 as isInstantVerifiedAccount, a7 as getObscuredAccountNumber, a8 as useGetTaskStatus, a9 as CardGroup, R as ROOT_LE, aa as useCapabilityProblems, L as Loader, ab as useGlobalStore, ac as useSetting, ad as isPartOfUnincorporatedPartnership, ae as getOwnSignatories, af as getOwnDecisionMakersLegalEntityIds, ag as getOwnSolePropProblems, ah as getOwnTrustProblems, ai as getOwnUnincorporatedPartnershipProblems, aj as TrustMemberTypes, ak as getLegalEntityNameBasedOnType, al as getOwnEntityAssociations, am as useAssociatedLegalEntity, an as CountryCodes, ao as isEmpty, ap as mergeFieldMetadataIntoProps, aq as resolveFieldMetadata, ar as defaultFieldMetadata, as as defaultFieldConfig, at as useForm, au as getFieldProps, av as nameFields, F as FormHeader, aw as ErrorPanel, ax as createFormUtils, ay as Field, az as MultiSelectList, aA as makeSelectItemForRole, aB as RadioGroupCard, aC as TextArea, aD as Name, aE as CountryField, aF as COUNTRY_FIELD, aG as LegalCompanyNameField, aH as LEGAL_COMPANY_NAME_FIELD, aI as summaryItem, aJ as getRoleName, aK as createLogger, 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 getRoleTagVariant, aT as DEFAULT_TRUST_MEMBER_REQUIREMENTS, aU as ContextGuidance, aV as RadioGroup, aW as useUnincorporatedPartnershipMembers, aX as deleteUnincorporatedPartnershipMember, aY as hasAllCapabilitiesResolved, aZ as hasRejectedCapabilities, a_ as objectsDeepEqual, a$ as TrustedFieldsProvider } from "./StoreProvider-CtNk8ekh.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-dT0L8DyH.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-Bjwl16F8.js";
|
|
17
|
+
import { u as useTermsOfServiceStatus, a as useTermsOfServiceAcceptanceInfos } from "./useTermsOfServiceStatus-C2Xb56D8.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-BNvtGKmX.js";
|
|
21
|
+
import { A as Avatar } from "./Avatar-BbZMTb8k.js";
|
|
22
|
+
import { T as TaskItemStatus } from "./TaskItemStatus-D9sCIHON.js";
|
|
23
|
+
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-FAhW-hcz.js";
|
|
24
24
|
import { T as Tag } from "./Tag-DdkVScyr.js";
|
|
25
25
|
const getTaskTypes = async (id, baseUrl) => {
|
|
26
26
|
return httpGet({
|
|
@@ -3370,71 +3370,71 @@ const hasProgressedBeyondEntitySelection = (legalEntity) => {
|
|
|
3370
3370
|
return hasOwnEntityAssocation || !!hasOrganizationType;
|
|
3371
3371
|
};
|
|
3372
3372
|
const Introduction = lazy(
|
|
3373
|
-
async () => (await import("./Introduction-
|
|
3373
|
+
async () => (await import("./Introduction-DBSQEy6y.js")).Introduction
|
|
3374
3374
|
);
|
|
3375
3375
|
const BusinessTypeSelectionPage = lazy(
|
|
3376
|
-
async () => (await import("./BusinessTypeSelectionPage-
|
|
3376
|
+
async () => (await import("./BusinessTypeSelectionPage-Bik9pa-u.js")).BusinessTypeSelectionPage
|
|
3377
3377
|
);
|
|
3378
3378
|
const SingpassSelection = lazy(
|
|
3379
|
-
async () => (await import("./SingpassSelection-
|
|
3379
|
+
async () => (await import("./SingpassSelection-DhZ0lKPK.js")).SingpassSelection
|
|
3380
3380
|
);
|
|
3381
3381
|
const AccountSetupRejected = lazy(
|
|
3382
|
-
async () => (await import("./AccountSetupRejected-
|
|
3382
|
+
async () => (await import("./AccountSetupRejected-DDAukYal.js")).AccountSetupRejected
|
|
3383
3383
|
);
|
|
3384
3384
|
const DecisionMakers = lazy(
|
|
3385
|
-
async () => (await import("./DecisionMakers-
|
|
3385
|
+
async () => (await import("./DecisionMakers-DIbnecVR.js")).DecisionMakers
|
|
3386
3386
|
);
|
|
3387
3387
|
const CustomerSupport = lazy(
|
|
3388
|
-
async () => (await import("./CustomerSupport-
|
|
3388
|
+
async () => (await import("./CustomerSupport-Bdgvjix7.js")).CustomerSupport
|
|
3389
3389
|
);
|
|
3390
|
-
const Review = lazy(async () => (await import("./Review-
|
|
3390
|
+
const Review = lazy(async () => (await import("./Review-j_fM9ZVG.js")).Review);
|
|
3391
3391
|
const SignPCIComponent = lazy(
|
|
3392
|
-
async () => (await import("./SignPCIComponent-
|
|
3392
|
+
async () => (await import("./SignPCIComponent-CFVC6kgV.js")).SignPCIComponent
|
|
3393
3393
|
);
|
|
3394
3394
|
const AcceptTermsOfService = lazy(
|
|
3395
|
-
async () => (await import("./AcceptTermsOfServiceComponent-
|
|
3395
|
+
async () => (await import("./AcceptTermsOfServiceComponent-D9BqzBSv.js")).AcceptTermsOfServiceComponent
|
|
3396
3396
|
);
|
|
3397
3397
|
const TaxReportingDropin = lazy(
|
|
3398
|
-
async () => (await import("./TaxReportingDropin-
|
|
3398
|
+
async () => (await import("./TaxReportingDropin-DNYZLN8P.js")).TaxReportingDropin
|
|
3399
3399
|
);
|
|
3400
3400
|
const PayoutDetailsPage = lazy(
|
|
3401
|
-
async () => (await import("./StoreProvider-
|
|
3401
|
+
async () => (await import("./StoreProvider-CtNk8ekh.js").then((n) => n.ev)).PayoutDetailsPage
|
|
3402
3402
|
);
|
|
3403
3403
|
const RootBusinessDetailsPage = lazy(
|
|
3404
|
-
async () => (await import("./RootBusinessDetailsPage-
|
|
3404
|
+
async () => (await import("./RootBusinessDetailsPage-DE9lxNvR.js")).RootBusinessDetailsPage
|
|
3405
3405
|
);
|
|
3406
3406
|
const SoleProprietorshipPage = lazy(
|
|
3407
|
-
async () => (await import("./SoleProprietorshipPage-
|
|
3407
|
+
async () => (await import("./SoleProprietorshipPage-COYe6zum.js")).SoleProprietorshipPage
|
|
3408
3408
|
);
|
|
3409
3409
|
const TrustMemberCompanyPage = lazy(
|
|
3410
|
-
async () => (await import("./TrustMemberCompanyPage-
|
|
3410
|
+
async () => (await import("./TrustMemberCompanyPage-BUuLS-57.js")).TrustMemberCompanyPage
|
|
3411
3411
|
);
|
|
3412
3412
|
const UnincorporatedPartnershipMemberCompanyPage = lazy(
|
|
3413
|
-
async () => (await import("./UnincorporatedPartnershipMemberCompanyPage-
|
|
3413
|
+
async () => (await import("./UnincorporatedPartnershipMemberCompanyPage-B7sGrwJD.js")).UnincorporatedPartnershipMemberCompanyPage
|
|
3414
3414
|
);
|
|
3415
3415
|
const BusinessFinancingPage = lazy(
|
|
3416
|
-
async () => (await import("./BusinessFinancingPage-
|
|
3416
|
+
async () => (await import("./BusinessFinancingPage-CJfiMMfk.js")).BusinessFinancingPage
|
|
3417
3417
|
);
|
|
3418
3418
|
const TrustDetailsPage = lazy(
|
|
3419
|
-
async () => (await import("./TrustDetailsPage-
|
|
3419
|
+
async () => (await import("./TrustDetailsPage-BSBZ9f9z.js")).TrustDetailsPage
|
|
3420
3420
|
);
|
|
3421
3421
|
const SourceOfFundsPage = lazy(
|
|
3422
|
-
async () => (await import("./SourceOfFundsPage-
|
|
3422
|
+
async () => (await import("./SourceOfFundsPage-BvkaxOZI.js")).SourceOfFundsPage
|
|
3423
3423
|
);
|
|
3424
3424
|
const RootIndividualDetailsPage = lazy(
|
|
3425
|
-
async () => (await import("./RootIndividualDetailsPage-
|
|
3425
|
+
async () => (await import("./RootIndividualDetailsPage-C9snBMjZ.js")).RootIndividualDetailsPage
|
|
3426
3426
|
);
|
|
3427
3427
|
const LegalRepresentativeDetailsPage = lazy(
|
|
3428
|
-
async () => (await import("./LegalRepresentativeDetailsPage-
|
|
3428
|
+
async () => (await import("./LegalRepresentativeDetailsPage-CrjuBP77.js")).LegalRepresentativeDetailsPage
|
|
3429
3429
|
);
|
|
3430
3430
|
const TrustMemberIndividualPage = lazy(
|
|
3431
|
-
async () => (await import("./TrustMemberIndividualPage-
|
|
3431
|
+
async () => (await import("./TrustMemberIndividualPage-Dl9JzqNb.js")).TrustMemberIndividualPage
|
|
3432
3432
|
);
|
|
3433
3433
|
const UnincorporatedPartnershipIndividualPage = lazy(
|
|
3434
|
-
async () => (await import("./UnincorporatedPartnershipIndividualPage-
|
|
3434
|
+
async () => (await import("./UnincorporatedPartnershipIndividualPage-DJOZzVIP.js")).UnincorporatedPartnershipIndividualPage
|
|
3435
3435
|
);
|
|
3436
3436
|
const DecisionMakerDetailsPage = lazy(
|
|
3437
|
-
async () => (await import("./DecisionMakerDetailsPage-
|
|
3437
|
+
async () => (await import("./DecisionMakerDetailsPage-CQYnk9Xn.js")).DecisionMakerDetailsPage
|
|
3438
3438
|
);
|
|
3439
3439
|
const PAGES_WITH_POLLING = [TaskTypes.DECISION_MAKER_OVERVIEW, TaskTypes.TASKS_OVERVIEW];
|
|
3440
3440
|
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, bh as httpPost, a5 as useExperimentsContext, g as getLegalEntityCountry, an as CountryCodes, G as isPartOfTrustFromLegalEntity, y as LegalEntityType, H as hasSolePropInLegalEntity, a$ as TrustedFieldsProvider, bj as individualComponentsKeyMapping, bk as businessDetailsComponentsKeyMapping, b as useI18nContext, Y as Button, bl as Svg } from "./StoreProvider-
|
|
11
|
+
import { p as useApiContext, q as useQuery, bh as httpPost, a5 as useExperimentsContext, g as getLegalEntityCountry, an as CountryCodes, G as isPartOfTrustFromLegalEntity, y as LegalEntityType, H as hasSolePropInLegalEntity, a$ as TrustedFieldsProvider, bj as individualComponentsKeyMapping, bk as businessDetailsComponentsKeyMapping, b as useI18nContext, Y as Button, bl as Svg } from "./StoreProvider-CtNk8ekh.js";
|
|
12
12
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
13
13
|
async function convertToSingpassLinkResponse(openIdInitiateResponse) {
|
|
14
14
|
const response = await Promise.resolve(openIdInitiateResponse);
|