@adyen/kyc-components 3.77.0 → 3.77.1
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-CDi5PvaT.js → AcceptTermsOfServiceComponent-CQZ2p83P.js} +5 -5
- package/dist/{AccountSetupRejected-Cnvsf66z.js → AccountSetupRejected-wRQr2kWQ.js} +2 -2
- package/dist/{Avatar-8RMotHl2.js → Avatar-CifjWWjD.js} +1 -1
- package/dist/{BusinessDetailsDropin-Dmb0qAwe.js → BusinessDetailsDropin-D8T_QvyO.js} +6 -6
- package/dist/{BusinessFinancingComponent-NQyhxfN1.js → BusinessFinancingComponent-BrDPUcO7.js} +2 -2
- package/dist/{BusinessFinancingDropin-5gYa8gfT.js → BusinessFinancingDropin-_VeXNITQ.js} +7 -7
- package/dist/{BusinessFinancingPage-tMnk1HJ3.js → BusinessFinancingPage-CwXgSYMg.js} +2 -2
- package/dist/{BusinessTypeSelectionPage-D01IXjku.js → BusinessTypeSelectionPage-B0lWkzDp.js} +3 -3
- package/dist/{ContractViewer-CMYsHl24.js → ContractViewer-Dohh2KHs.js} +1 -1
- package/dist/{CreateIndividualComponent-B_UlYTIf.js → CreateIndividualComponent-DIEBI0Vf.js} +2 -2
- package/dist/{CreateTransferInstrumentComponent-Jg4Sl4o7.js → CreateTransferInstrumentComponent-Duqc1SoG.js} +1 -1
- package/dist/{CustomerSupport-DywUe6pQ.js → CustomerSupport-DFAYgsVo.js} +4 -4
- package/dist/{DebugModal-D2CJtQDJ.js → DebugModal-3MMk2glq.js} +8 -8
- package/dist/{DecisionMakerDetailsPage-Ke4JUoT8.js → DecisionMakerDetailsPage-CbwINv-F.js} +2 -2
- package/dist/{DecisionMakers-Bx9xlQzD.js → DecisionMakers-CW2H26gg.js} +3 -3
- package/dist/{EmbeddedStatus-IyF4GqdX.js → EmbeddedStatus-SElCStEh.js} +2 -2
- package/dist/{FormEndState-CKB36rNX.js → FormEndState-BmWPvEh5.js} +1 -1
- package/dist/{FormFlow-B-uEnMWC.js → FormFlow-DIDQuZz5.js} +1 -1
- package/dist/{IndividualOnfidoDropin-Crzp2DLd.js → IndividualOnfidoDropin-BeZb0J4K.js} +10 -10
- package/dist/{Introduction-dIJ8SaL8.js → Introduction-Ctb25-OM.js} +2 -2
- package/dist/{LegalRepresentativeDetailsPage-Cslg-8su.js → LegalRepresentativeDetailsPage-Cr__3zeF.js} +2 -2
- package/dist/{ManageIndividualComponent-Ch7Vfh_Y.js → ManageIndividualComponent-D6LvGH5W.js} +3 -3
- package/dist/{ManagePCIComponent-CfkhWott.js → ManagePCIComponent-tmHXhn5s.js} +3 -3
- package/dist/{ManageTermsOfServiceComponent-gSVNQPK4.js → ManageTermsOfServiceComponent-ulbO33fd.js} +3 -3
- package/dist/{ManageTransferInstrumentComponent-CDujO8qr.js → ManageTransferInstrumentComponent-6ZktxVZ7.js} +3 -3
- package/dist/{OnboardingDropinComponent-PIzgGC0_.js → OnboardingDropinComponent-BWFDiuWh.js} +31 -31
- package/dist/{ProviderButton-BiUbrQIw.js → ProviderButton-ZgVi5xgF.js} +1 -1
- package/dist/{Review-CPe824f0.js → Review-CfjzSizs.js} +2 -2
- package/dist/{RootBusinessDetailsPage-CagL55mh.js → RootBusinessDetailsPage-T0RIHOz1.js} +2 -2
- package/dist/{RootIndividualDetailsPage-BOLCJQ22.js → RootIndividualDetailsPage-eZ0Cilap.js} +2 -2
- package/dist/{SignPCIComponent-BAPQfKXe.js → SignPCIComponent-DZfaznAu.js} +4 -4
- package/dist/{SingpassSelection-IJu-O3o0.js → SingpassSelection-B7jrkV8E.js} +1 -1
- package/dist/{SoleProprietorshipPage-DQOfcxlE.js → SoleProprietorshipPage-BNu8EpJY.js} +2 -2
- package/dist/{SourceOfFunds.module-BUPVf6By.js → SourceOfFunds.module-B465ePJO.js} +1 -1
- package/dist/{SourceOfFundsPage-MnRd4jfa.js → SourceOfFundsPage-Dd-7Kbfs.js} +8 -8
- package/dist/{StoreProvider-DGNn5xG7.js → StoreProvider-CtL3RJBh.js} +4 -4
- package/dist/{TaskItemStatus-D5sYYMXX.js → TaskItemStatus-D8IDDqmj.js} +1 -1
- package/dist/{TaxReportingDropin-C5UQgX1T.js → TaxReportingDropin-COsrM6R8.js} +6 -6
- package/dist/{TileGroup-D48I7xyI.js → TileGroup-Bx2Rpavu.js} +1 -1
- package/dist/{TrustDetailsPage-BXtcrCXF.js → TrustDetailsPage-BiFVPSoj.js} +4 -4
- package/dist/{TrustMemberCompanyPage-x_ITmTbE.js → TrustMemberCompanyPage-BWJdxviN.js} +3 -3
- package/dist/{TrustMemberIndividualPage-Do-c9uoO.js → TrustMemberIndividualPage-B-IO8NVI.js} +2 -2
- package/dist/{UnincorporatedPartnershipIndividualPage-DRjwNeSy.js → UnincorporatedPartnershipIndividualPage-ycLkvUa7.js} +2 -2
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-DcSCezJB.js → UnincorporatedPartnershipMemberCompanyPage-DkGDyLNt.js} +2 -2
- package/dist/{VerificationErrorAlert-CN-VQ4vQ.js → VerificationErrorAlert-C-8yIR7v.js} +1 -1
- package/dist/{ViewVerificationStatusComponent-DuhsKFmS.js → ViewVerificationStatusComponent-qqXlvQ5d.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-CpvPJDWc.js → css-CgWKU_K9.js} +1 -1
- package/dist/{getFieldsWithExistingData--gbpUflA.js → getFieldsWithExistingData-De-azKSU.js} +1 -1
- package/dist/{hasDataChanged-n2v67s1Y.js → hasDataChanged-ChZCyJMT.js} +1 -1
- package/dist/{json-BJMKbWwq.js → json-CMvf0y7Z.js} +1 -1
- package/dist/{localizeDateString-DtSeeqs8.js → localizeDateString-D6by_Bd1.js} +1 -1
- package/dist/{mapFinancialReportsToFinancialInformation-sDPnT147.js → mapFinancialReportsToFinancialInformation-CfwP0yyL.js} +1 -1
- package/dist/{plaintext-CwCtuser.js → plaintext-DBvf1rB-.js} +1 -1
- package/dist/{resolveEnvironment-RwPyk9xX.js → resolveEnvironment-DOd_v5RL.js} +3 -3
- package/dist/{rules-CeZE6r-Z.js → rules-CC9-BVYV.js} +1 -1
- package/dist/{useMultiForm-D4S-_lOc.js → useMultiForm-kJJbvuqP.js} +1 -1
- package/dist/{useOnboardingStatus-CDCmIY69.js → useOnboardingStatus-C3sNMnQ6.js} +1 -1
- package/dist/{useSalesChannelsSettings-vqW9vO4t.js → useSalesChannelsSettings-COxy6pWb.js} +1 -1
- package/dist/{useTermsOfServiceStatus-Zm7cOxBO.js → useTermsOfServiceStatus-C8vibNT4.js} +1 -1
- package/dist/{useUpdateLegalEntity-B38oCJTd.js → useUpdateLegalEntity-DOeZF5hl.js} +1 -1
- package/dist/{utils-CKeaS-wr.js → utils--DSenpcL.js} +3 -3
- package/dist/{validate-CeDrlyD_.js → validate-B0u2SgiX.js} +1 -1
- package/dist/{yaml-CiUZSU1Q.js → yaml-BYSW1EaY.js} +1 -1
- package/package.json +1 -1
package/dist/{AcceptTermsOfServiceComponent-CDi5PvaT.js → AcceptTermsOfServiceComponent-CQZ2p83P.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, 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, bK as Select, bI as Checkbox, aO as ActionBar, bJ as MaybeModal, b4 as ModalContent, b6 as ModalFooter, bx as StepProgressIndicator, b7 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, be as useInvalidateRootLegalEntity, bf as useMutation, bh 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, bK as Select, bI as Checkbox, aO as ActionBar, bJ as MaybeModal, b4 as ModalContent, b6 as ModalFooter, bx as StepProgressIndicator, b7 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-CtL3RJBh.js";
|
|
13
|
+
import { u as useTermsOfServiceStatus, a as useTermsOfServiceAcceptanceInfos } from "./useTermsOfServiceStatus-C8vibNT4.js";
|
|
14
|
+
import { C as ContractViewer, O as OutlinedIcon } from "./ContractViewer-Dohh2KHs.js";
|
|
15
|
+
import { F as FormEndState } from "./FormEndState-BmWPvEh5.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-D6by_Bd1.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-CtL3RJBh.js";
|
|
12
|
+
import { D as DropinLayout } from "./OnboardingDropinComponent-BWFDiuWh.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-CtL3RJBh.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, dP as KNOWN_BROKEN_PRIMARY_SOURCE_CONNECTIONS, b as useI18nContext, dA as MemoizedDocumentUpload, Z as Button, b2 as Modal, b4 as ModalContent, C as Typography, ao as CountryCodes, O as CompanyTypesValue, dQ as useGlobalData, dR as getForms, W as TaskTypes, dS as BasicInformation, bM as getFormProps, dT as CompanyStructure, dU as AdditionalInformation, dV as MemoizedConstitutionalDocument, y as LegalEntityType, dW as FinancialInformation, bS as formatObject, bc as entriesOf, cq as getDocument, cr as mapExistingFile, cs as getPageName, bl as businessDetailsComponentsKeyMapping, dX as solePropBusinessDetailsKeyMapping, a_ as objectsDeepEqual, dY as operationalAddressIsSameIds, dZ as COUNTRIES_USING_COMPANY_SEARCH, d_ as FIELDS_NEEDED_FOR_COMPANY_SEARCH, dm as keysOf, i as isUndefinedOrNull, dM as isDateOlderThanAYear, aJ as summaryItem, d$ as solePropBusinessDetailsApiKeyMapping, e0 as businessDetailsApiKeyMapping, bN as isEmpty, e1 as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, cv as createDocumentRequest, b0 as datasetUtilities, cO as mapAddressLabels, e2 as companyTypeMetadata, e3 as getProp, ap as isEmpty$1, X as createLogger, cN as filterOutUnwantedAssociationsIfRootLE, c4 as isValidationError, c5 as processValidationErrors, c6 as isMaintenanceModeError, e4 as documentFormsIds, ar as resolveFieldMetadata, e5 as registrationNumberDefaultFieldMetadata, e6 as inferCompanyRegistrationNumberType, e7 as getCompanyRegistrationNumberOptions, e8 as registrationNumberDefaultFieldConfig, cl as taxInformationDefaultFieldMetadata, e9 as countryToTaxInfoTypeMap, cm as taxInformationDefaultFieldConfig, ea as getKeyForField, cy as drop, ak as getOwnEntityAssociations, cX as doArraysMatch, cT as getFileExtention, P as useAccountHolder, a5 as useToastContext, $ as useAnalyticsContext, a6 as useExperimentsContext, J as useSettingsContext, eb as verifiedBusiness, bn as useQueryClient, ec as useStateContext, K as SettingNames, ed as setIsBankAccountRequestedForOrganization, c2 as getAssociatedLeAnalyticsPayload, b1 as getCapabilityProblems, cz as documentApiUtils, cL as composePerScenarioFormConfigurations, cG as useScenarioConfiguration, ee as rules, cH as getPropsFromConfigurations, ef as useCompanySelection, eg as useVerifyTin, bO as getRequiredForms, bP as addValidityToForms, bQ as useFormComposer, eh as setVerifiedBusiness, ei as FormWrapper, b8 as Confirm, ej as solePropBusinessDetailsDocumentMapping, ek as businessDetailsDocumentMapping } from "./StoreProvider-
|
|
11
|
+
import { p as useApiContext, bf as useMutation, bh as httpPost, q as useQuery, dP as KNOWN_BROKEN_PRIMARY_SOURCE_CONNECTIONS, b as useI18nContext, dA as MemoizedDocumentUpload, Z as Button, b2 as Modal, b4 as ModalContent, C as Typography, ao as CountryCodes, O as CompanyTypesValue, dQ as useGlobalData, dR as getForms, W as TaskTypes, dS as BasicInformation, bM as getFormProps, dT as CompanyStructure, dU as AdditionalInformation, dV as MemoizedConstitutionalDocument, y as LegalEntityType, dW as FinancialInformation, bS as formatObject, bc as entriesOf, cq as getDocument, cr as mapExistingFile, cs as getPageName, bl as businessDetailsComponentsKeyMapping, dX as solePropBusinessDetailsKeyMapping, a_ as objectsDeepEqual, dY as operationalAddressIsSameIds, dZ as COUNTRIES_USING_COMPANY_SEARCH, d_ as FIELDS_NEEDED_FOR_COMPANY_SEARCH, dm as keysOf, i as isUndefinedOrNull, dM as isDateOlderThanAYear, aJ as summaryItem, d$ as solePropBusinessDetailsApiKeyMapping, e0 as businessDetailsApiKeyMapping, bN as isEmpty, e1 as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, cv as createDocumentRequest, b0 as datasetUtilities, cO as mapAddressLabels, e2 as companyTypeMetadata, e3 as getProp, ap as isEmpty$1, X as createLogger, cN as filterOutUnwantedAssociationsIfRootLE, c4 as isValidationError, c5 as processValidationErrors, c6 as isMaintenanceModeError, e4 as documentFormsIds, ar as resolveFieldMetadata, e5 as registrationNumberDefaultFieldMetadata, e6 as inferCompanyRegistrationNumberType, e7 as getCompanyRegistrationNumberOptions, e8 as registrationNumberDefaultFieldConfig, cl as taxInformationDefaultFieldMetadata, e9 as countryToTaxInfoTypeMap, cm as taxInformationDefaultFieldConfig, ea as getKeyForField, cy as drop, ak as getOwnEntityAssociations, cX as doArraysMatch, cT as getFileExtention, P as useAccountHolder, a5 as useToastContext, $ as useAnalyticsContext, a6 as useExperimentsContext, J as useSettingsContext, eb as verifiedBusiness, bn as useQueryClient, ec as useStateContext, K as SettingNames, ed as setIsBankAccountRequestedForOrganization, c2 as getAssociatedLeAnalyticsPayload, b1 as getCapabilityProblems, cz as documentApiUtils, cL as composePerScenarioFormConfigurations, cG as useScenarioConfiguration, ee as rules, cH as getPropsFromConfigurations, ef as useCompanySelection, eg as useVerifyTin, bO as getRequiredForms, bP as addValidityToForms, bQ as useFormComposer, eh as setVerifiedBusiness, ei as FormWrapper, b8 as Confirm, ej as solePropBusinessDetailsDocumentMapping, ek as businessDetailsDocumentMapping } from "./StoreProvider-CtL3RJBh.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-DOeZF5hl.js";
|
|
14
|
+
import { h as hasDataChanged } from "./hasDataChanged-ChZCyJMT.js";
|
|
15
|
+
import { o as organizationTypesToSkipCompanyStructureForm } from "./utils--DSenpcL.js";
|
|
16
|
+
import { g as getFieldsWithExistingData } from "./getFieldsWithExistingData-De-azKSU.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-CfwP0yyL.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-NQyhxfN1.js → BusinessFinancingComponent-BrDPUcO7.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-CtL3RJBh.js";
|
|
13
|
+
import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-_VeXNITQ.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, useCallback, useMemo, useState } from "preact/hooks";
|
|
12
|
-
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
13
|
-
import { bR as reverseMapping, bS as formatObject, bT as isEeaCountry, y as LegalEntityType, ba as cloneObject, p as useApiContext, q as useQuery, r as httpGet, b as useI18nContext, az as Field, bK as Select, C as Typography, ay as createFormUtils, aV as RadioGroup, bU as Link, bq as InputText, bb as currencyByCountry, bV as InputNumber, bW as InputDate, bX as Currency, bY as CURRENCY_FIELD, bZ as InputCurrency, bL as useFormContext, av as getFieldProps, ax as ErrorPanel, b_ as getAddressSchemaForCountry, b$ as COUNTRIES_WITH_STATES_DATASET, c0 as Address, c1 as getAddressSchemaLabelsByCountry, $ as useAnalyticsContext, be as useInvalidateRootLegalEntity, an as useAssociatedLegalEntity, b0 as datasetUtilities, a5 as useToastContext, J as useSettingsContext, K as SettingNames, c2 as getAssociatedLeAnalyticsPayload, bO as getRequiredForms, bP as addValidityToForms, bQ as useFormComposer, c3 as trackNavigation, L as Loader, a3 as Icon, Z as Button, c4 as isValidationError, c5 as processValidationErrors, c6 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-DOeZF5hl.js";
|
|
13
|
+
import { bR as reverseMapping, bS as formatObject, bT as isEeaCountry, y as LegalEntityType, ba as cloneObject, p as useApiContext, q as useQuery, r as httpGet, b as useI18nContext, az as Field, bK as Select, C as Typography, ay as createFormUtils, aV as RadioGroup, bU as Link, bq as InputText, bb as currencyByCountry, bV as InputNumber, bW as InputDate, bX as Currency, bY as CURRENCY_FIELD, bZ as InputCurrency, bL as useFormContext, av as getFieldProps, ax as ErrorPanel, b_ as getAddressSchemaForCountry, b$ as COUNTRIES_WITH_STATES_DATASET, c0 as Address, c1 as getAddressSchemaLabelsByCountry, $ as useAnalyticsContext, be as useInvalidateRootLegalEntity, an as useAssociatedLegalEntity, b0 as datasetUtilities, a5 as useToastContext, J as useSettingsContext, K as SettingNames, c2 as getAssociatedLeAnalyticsPayload, bO as getRequiredForms, bP as addValidityToForms, bQ as useFormComposer, c3 as trackNavigation, L as Loader, a3 as Icon, Z as Button, c4 as isValidationError, c5 as processValidationErrors, c6 as isMaintenanceModeError } from "./StoreProvider-CtL3RJBh.js";
|
|
14
|
+
import { F as FormContextProvider, a as FormFlow } from "./FormFlow-DIDQuZz5.js";
|
|
15
|
+
import { u as useMultiForm } from "./useMultiForm-kJJbvuqP.js";
|
|
16
|
+
import { F as FormEndState } from "./FormEndState-BmWPvEh5.js";
|
|
17
|
+
import { l as localizeDateString } from "./localizeDateString-D6by_Bd1.js";
|
|
18
|
+
import { m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./mapFinancialReportsToFinancialInformation-CfwP0yyL.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-CtL3RJBh.js";
|
|
12
|
+
import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-_VeXNITQ.js";
|
|
13
13
|
const BusinessFinancingPage = ({
|
|
14
14
|
onSubmit,
|
|
15
15
|
handleHomeClick
|
package/dist/{BusinessTypeSelectionPage-D01IXjku.js → BusinessTypeSelectionPage-B0lWkzDp.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, by as getCapabilities, g as getLegalEntityCountry, y as LegalEntityType, au as useForm, a2 as LoaderWrapper, C as Typography, az as Field, bz as EntityTypeRadioGroupCard, aC as RadioGroupCard, Z as Button, b7 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, by as getCapabilities, g as getLegalEntityCountry, y as LegalEntityType, au as useForm, a2 as LoaderWrapper, C as Typography, az as Field, bz as EntityTypeRadioGroupCard, aC as RadioGroupCard, Z as Button, b7 as Spacer, a3 as Icon, a as useLegalEntity, R as ROOT_LE, L as Loader } from "./StoreProvider-CtL3RJBh.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-DOeZF5hl.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--DSenpcL.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-CtL3RJBh.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-B_UlYTIf.js → CreateIndividualComponent-DIEBI0Vf.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, bi as getProblemsForEntity, U as EntityType, bj 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, bi as getProblemsForEntity, U as EntityType, bj as isOnfidoAutofillFlowEnabled, W as TaskTypes } from "./StoreProvider-CtL3RJBh.js";
|
|
12
|
+
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-BeZb0J4K.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, bo as PayoutDetailsDropin, W as TaskTypes } from "./StoreProvider-
|
|
12
|
+
import { a as useLegalEntity, an as useAssociatedLegalEntity, y as LegalEntityType, L as Loader, bo as PayoutDetailsDropin, W as TaskTypes } from "./StoreProvider-CtL3RJBh.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, bn as useQueryClient, ar as resolveFieldMetadata, bE as defaultFieldMetadata, bF as fieldConfig, bG as getAsyncPhoneValidationRules, F as FormHeader, bH 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, bn as useQueryClient, ar as resolveFieldMetadata, bE as defaultFieldMetadata, bF as fieldConfig, bG as getAsyncPhoneValidationRules, F as FormHeader, bH as ContactDetails, aO as ActionBar, X as createLogger } from "./StoreProvider-CtL3RJBh.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-DOeZF5hl.js";
|
|
14
|
+
import { c as contactDetailsValidationRules, u as useValidatePhoneNumberImperatively } from "./validate-B0u2SgiX.js";
|
|
15
|
+
import { u as useMultiForm } from "./useMultiForm-kJJbvuqP.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] = "a2f377ba-ac04-451a-ab5e-8f6a2a31fe13", e._sentryDebugIdIdentifier = "sentry-dbid-a2f377ba-ac04-451a-ab5e-8f6a2a31fe13");
|
|
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, bc as entriesOf, bq as InputText, b as useI18nContext, br as splitTaskIdentifier, a6 as useExperimentsContext, J as useSettingsContext, ac as useGlobalStore, bs as listToRecord, bt as valuesOf, b2 as Modal, X as createLogger, a3 as Icon, K as SettingNames, bu as ExperimentNames } from "./StoreProvider-
|
|
12
|
+
import { Z as Button, bc as entriesOf, bq as InputText, b as useI18nContext, br as splitTaskIdentifier, a6 as useExperimentsContext, J as useSettingsContext, ac as useGlobalStore, bs as listToRecord, bt as valuesOf, b2 as Modal, X as createLogger, a3 as Icon, K as SettingNames, bu as ExperimentNames } from "./StoreProvider-CtL3RJBh.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-D8IDDqmj.js";
|
|
15
15
|
const tabs = "adyen-kyc-tabs";
|
|
16
16
|
const styles$1 = {
|
|
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-DBvf1rB-.js"),
|
|
148
|
+
json: () => import("./json-CMvf0y7Z.js"),
|
|
149
|
+
yaml: () => import("./yaml-BYSW1EaY.js"),
|
|
150
|
+
css: () => import("./css-CgWKU_K9.js")
|
|
151
151
|
};
|
|
152
152
|
const getModule = async (name) => {
|
|
153
153
|
if (!supportedModules.includes(name)) {
|
|
@@ -436,7 +436,7 @@ const DebugModal = ({ onExit }) => {
|
|
|
436
436
|
const [tab, setTab] = useState("metadata");
|
|
437
437
|
const rootLegalEntity = useGlobalStore().rootLegalEntity.value;
|
|
438
438
|
const metadata = {
|
|
439
|
-
sdkVersion: "3.77.
|
|
439
|
+
sdkVersion: "3.77.1",
|
|
440
440
|
locale: i18n.locale,
|
|
441
441
|
rootLegalEntityId: rootLegalEntity.id
|
|
442
442
|
};
|
|
@@ -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, bi as getProblemsForEntity, U as EntityType, bj 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, bi as getProblemsForEntity, U as EntityType, bj as isOnfidoAutofillFlowEnabled, W as TaskTypes, a4 as noop } from "./StoreProvider-CtL3RJBh.js";
|
|
12
|
+
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-BeZb0J4K.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 useAnalyticsContext, a5 as useToastContext, ab as useCapabilityProblems, bA as getOwnDecisionMakers, bB as getAvailableDecisionMakerRoleTypes, W as TaskTypes, bC as getAllowedDecisionMakerRoles, F as FormHeader, aU as ContextGuidance, bD 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 { 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, a9 as useGetTaskStatus, b as useI18nContext, $ as useAnalyticsContext, a5 as useToastContext, ab as useCapabilityProblems, bA as getOwnDecisionMakers, bB as getAvailableDecisionMakerRoleTypes, W as TaskTypes, bC as getAllowedDecisionMakerRoles, F as FormHeader, aU as ContextGuidance, bD as DecisionMakerType, B as Alert, aa as CardGroup, Z as Button, aO as ActionBar } from "./StoreProvider-CtL3RJBh.js";
|
|
13
|
+
import { a as useUpdateLegalEntity } from "./useUpdateLegalEntity-DOeZF5hl.js";
|
|
14
|
+
import { b as useDataMissingRemediations, D as DropinLayout, E as EntityGuidanceStatus, i as iconStatus, c as EntityAssociation } from "./OnboardingDropinComponent-BWFDiuWh.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-CifjWWjD.js";
|
|
13
|
+
import { Y as TaskStatus, b as useI18nContext, z as Skeleton, C as Typography } from "./StoreProvider-CtL3RJBh.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-CtL3RJBh.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, bJ as MaybeModal, a2 as LoaderWrapper, dH as FormRouterContextProvider, aN as Summary, Z as Button, _ as IconButton, b8 as Confirm } from "./StoreProvider-
|
|
12
|
+
import { dG as FormContext, $ as useAnalyticsContext, b as useI18nContext, bJ as MaybeModal, a2 as LoaderWrapper, dH as FormRouterContextProvider, aN as Summary, Z as Button, _ as IconButton, b8 as Confirm } from "./StoreProvider-CtL3RJBh.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, bf as useMutation, bh as httpPost, c7 as matchesRegex, c8 as trimValWithOneSpace, c9 as NO_ALPHABET_REGEX, ca as EMOJI_REGEX, cb as hasRepeatedCharacters, cc as isInvalidName, cd as INDIVIDUAL_VALID_CHAR_REGEX, ce as getFormattingRegEx, cf as SPECIAL_CHARS, cg as standardKatakanaValidator, ch as standardKanjiValidator, ar as resolveFieldMetadata, ao as CountryCodes, ci as getSSNType, ap as isEmpty, cj as defaultFieldMetadata, ck as defaultFieldConfig, bE as defaultFieldMetadata$1, bF as fieldConfig, W as TaskTypes, cl as taxInformationDefaultFieldMetadata, y as LegalEntityType, cm as taxInformationDefaultFieldConfig, cn as getAgeToday, co as euCountries, cp as getIdDocument, cq as getDocument, cr as mapExistingFile, cs as getPageName, ct as getLocalizedIdDocumentTypeOptions, cu as getPage, cv as createDocumentRequest, bS as formatObject, cw as individualApiKeyMapping, bk as individualComponentsKeyMapping, bR as reverseMapping, cx as getNomineeFromAssociation, cy as drop, X as createLogger, P as useAccountHolder, b as useI18nContext, $ as useAnalyticsContext, a5 as useToastContext, a6 as useExperimentsContext, J as useSettingsContext, cz as documentApiUtils, cA as useProviderStatus, g as getLegalEntityCountry, c2 as getAssociatedLeAnalyticsPayload, cB as addressValidators, cC as getAsyncIdNumberValidationRule, bG as getAsyncPhoneValidationRules, cD as addressFormatters, cE as useScenarios, cF as setHasMotionCaptureScenario, cG as useScenarioConfiguration, cH as getPropsFromConfigurations, cI as individualForms, cJ as showIndividualMotionCapture, bO as getRequiredForms, bP as addValidityToForms, bC as getAllowedDecisionMakerRoles, b0 as datasetUtilities, bQ as useFormComposer, c3 as trackNavigation, cK as Individual, cL as composePerScenarioFormConfigurations, cM as omitObscuredFieldsIfUnchanged, cN as filterOutUnwantedAssociationsIfRootLE, c4 as isValidationError, c5 as processValidationErrors, c6 as isMaintenanceModeError, ba as cloneObject, cO as mapAddressLabels, cP as individualDocumentForms, cQ as individualDocumentMapping, cR as individualObscuredFields, cS as mergeAttachments, cT as getFileExtention, ak as getOwnEntityAssociations, cU as hasNomineesChanged, cV as attachNomineeToRole, cW as idVerificationProviderId, cX as doArraysMatch, bD as DecisionMakerType, cY as createFormRules, bB as getAvailableDecisionMakerRoleTypes, cZ as allowedCountriesForNominee, b_ as getAddressSchemaForCountry, b$ as COUNTRIES_WITH_STATES_DATASET, c_ as Scenarios, c$ as isLowRiskCountry, az as Field, bK as Select, d0 as isTruthyValidator, d1 as licenseCardNumberDefaultMetadata, d2 as licenseCardNumberDefaultConfig, aq as mergeFieldMetadataIntoProps, ay as createFormUtils, bL as useFormContext, av as getFieldProps, d3 as idNumberFields, d4 as IdentityNumber, d5 as additionallIdNumberOptions, d6 as MaskedInput, bW as InputDate, d7 as formatDateObj, d8 as DriversLicense, d9 as addressFields, u as useAllowedCountries, K as SettingNames, da as getDefaultTaxIdNumberType, F as FormHeader, ax as ErrorPanel, C as Typography, aF as CountryField, c0 as Address, c1 as getAddressSchemaLabelsByCountry, bU as Link, b8 as Confirm, db as getAgeRangeForLegalRepresentative, dc as IndividualIdNumberTypeSelector, dd as TaxInformationField, de as PatriotActDisclosure, df as isLegalRepresentativeNeeded, aw as nameFields, dg as decisionMakerRoleFields, dh as nomineeFields, di as contactDetailFields, B as Alert, aU as ContextGuidance, a$ as TrustedFieldsProvider, dj as DecisionMakerRole, dk as NomineeDecisionMakerRole, dl as LocalizedNameFields, bq as InputText, bH as ContactDetails, dm as keysOf, a_ as objectsDeepEqual, bN as isEmpty$1, dn as RadioWithLabel, bs as listToRecord, b2 as Modal, Z as Button, bm as Svg, dp as pick, dq as IdVerification, b7 as Spacer, _ as IconButton, c as useDataset, d as datasetIdentifier, L as Loader, dr as isPersonUnderAge, ds as IdDocumentManualUpload, dt as idDocumentUploadFields, du as useFormRouterContext, bM as getFormProps, dv as useCapabilities, dw as hasMotionCaptureScenario, dx as setShowIndividualMotionCapture, dy as shouldShowMotionCapture, dz as MemoizedProofOfRelationship, dA as MemoizedDocumentUpload, dB as MemoizedProofOfResidencyUpload, dC as individualOnfidoApiKeyMapping, dD as individualOnfidoBaseMapping, bn as useQueryClient, dE as individualOnfidoDocumentMapping, dF 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, bf as useMutation, bh as httpPost, c7 as matchesRegex, c8 as trimValWithOneSpace, c9 as NO_ALPHABET_REGEX, ca as EMOJI_REGEX, cb as hasRepeatedCharacters, cc as isInvalidName, cd as INDIVIDUAL_VALID_CHAR_REGEX, ce as getFormattingRegEx, cf as SPECIAL_CHARS, cg as standardKatakanaValidator, ch as standardKanjiValidator, ar as resolveFieldMetadata, ao as CountryCodes, ci as getSSNType, ap as isEmpty, cj as defaultFieldMetadata, ck as defaultFieldConfig, bE as defaultFieldMetadata$1, bF as fieldConfig, W as TaskTypes, cl as taxInformationDefaultFieldMetadata, y as LegalEntityType, cm as taxInformationDefaultFieldConfig, cn as getAgeToday, co as euCountries, cp as getIdDocument, cq as getDocument, cr as mapExistingFile, cs as getPageName, ct as getLocalizedIdDocumentTypeOptions, cu as getPage, cv as createDocumentRequest, bS as formatObject, cw as individualApiKeyMapping, bk as individualComponentsKeyMapping, bR as reverseMapping, cx as getNomineeFromAssociation, cy as drop, X as createLogger, P as useAccountHolder, b as useI18nContext, $ as useAnalyticsContext, a5 as useToastContext, a6 as useExperimentsContext, J as useSettingsContext, cz as documentApiUtils, cA as useProviderStatus, g as getLegalEntityCountry, c2 as getAssociatedLeAnalyticsPayload, cB as addressValidators, cC as getAsyncIdNumberValidationRule, bG as getAsyncPhoneValidationRules, cD as addressFormatters, cE as useScenarios, cF as setHasMotionCaptureScenario, cG as useScenarioConfiguration, cH as getPropsFromConfigurations, cI as individualForms, cJ as showIndividualMotionCapture, bO as getRequiredForms, bP as addValidityToForms, bC as getAllowedDecisionMakerRoles, b0 as datasetUtilities, bQ as useFormComposer, c3 as trackNavigation, cK as Individual, cL as composePerScenarioFormConfigurations, cM as omitObscuredFieldsIfUnchanged, cN as filterOutUnwantedAssociationsIfRootLE, c4 as isValidationError, c5 as processValidationErrors, c6 as isMaintenanceModeError, ba as cloneObject, cO as mapAddressLabels, cP as individualDocumentForms, cQ as individualDocumentMapping, cR as individualObscuredFields, cS as mergeAttachments, cT as getFileExtention, ak as getOwnEntityAssociations, cU as hasNomineesChanged, cV as attachNomineeToRole, cW as idVerificationProviderId, cX as doArraysMatch, bD as DecisionMakerType, cY as createFormRules, bB as getAvailableDecisionMakerRoleTypes, cZ as allowedCountriesForNominee, b_ as getAddressSchemaForCountry, b$ as COUNTRIES_WITH_STATES_DATASET, c_ as Scenarios, c$ as isLowRiskCountry, az as Field, bK as Select, d0 as isTruthyValidator, d1 as licenseCardNumberDefaultMetadata, d2 as licenseCardNumberDefaultConfig, aq as mergeFieldMetadataIntoProps, ay as createFormUtils, bL as useFormContext, av as getFieldProps, d3 as idNumberFields, d4 as IdentityNumber, d5 as additionallIdNumberOptions, d6 as MaskedInput, bW as InputDate, d7 as formatDateObj, d8 as DriversLicense, d9 as addressFields, u as useAllowedCountries, K as SettingNames, da as getDefaultTaxIdNumberType, F as FormHeader, ax as ErrorPanel, C as Typography, aF as CountryField, c0 as Address, c1 as getAddressSchemaLabelsByCountry, bU as Link, b8 as Confirm, db as getAgeRangeForLegalRepresentative, dc as IndividualIdNumberTypeSelector, dd as TaxInformationField, de as PatriotActDisclosure, df as isLegalRepresentativeNeeded, aw as nameFields, dg as decisionMakerRoleFields, dh as nomineeFields, di as contactDetailFields, B as Alert, aU as ContextGuidance, a$ as TrustedFieldsProvider, dj as DecisionMakerRole, dk as NomineeDecisionMakerRole, dl as LocalizedNameFields, bq as InputText, bH as ContactDetails, dm as keysOf, a_ as objectsDeepEqual, bN as isEmpty$1, dn as RadioWithLabel, bs as listToRecord, b2 as Modal, Z as Button, bm as Svg, dp as pick, dq as IdVerification, b7 as Spacer, _ as IconButton, c as useDataset, d as datasetIdentifier, L as Loader, dr as isPersonUnderAge, ds as IdDocumentManualUpload, dt as idDocumentUploadFields, du as useFormRouterContext, bM as getFormProps, dv as useCapabilities, dw as hasMotionCaptureScenario, dx as setShowIndividualMotionCapture, dy as shouldShowMotionCapture, dz as MemoizedProofOfRelationship, dA as MemoizedDocumentUpload, dB as MemoizedProofOfResidencyUpload, dC as individualOnfidoApiKeyMapping, dD as individualOnfidoBaseMapping, bn as useQueryClient, dE as individualOnfidoDocumentMapping, dF as individualOnfidoObscuredFields } from "./StoreProvider-CtL3RJBh.js";
|
|
13
|
+
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-DOeZF5hl.js";
|
|
14
|
+
import { c as contactDetailsValidationRules, u as useValidatePhoneNumberImperatively } from "./validate-B0u2SgiX.js";
|
|
15
|
+
import { F as FormContextProvider, a as FormFlow } from "./FormFlow-DIDQuZz5.js";
|
|
16
|
+
import { u as useSingpassMyInfoLogin, P as ProviderButton } from "./ProviderButton-ZgVi5xgF.js";
|
|
17
|
+
import { u as useMultiForm } from "./useMultiForm-kJJbvuqP.js";
|
|
18
|
+
import { g as getFieldsWithExistingData } from "./getFieldsWithExistingData-De-azKSU.js";
|
|
19
|
+
import { l as localizeDateString } from "./localizeDateString-D6by_Bd1.js";
|
|
20
|
+
import { r as rules, D as DECISION_MAKER_TYPES_WITH_JOBTITLE$1 } from "./rules-CC9-BVYV.js";
|
|
21
21
|
import { signal, computed } from "@preact/signals";
|
|
22
|
-
import { T as TileGroup } from "./TileGroup-
|
|
22
|
+
import { T as TileGroup } from "./TileGroup-Bx2Rpavu.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, bw as getTranslationKeysByPrefix, b as useI18nContext, a as useLegalEntity, R as ROOT_LE, L as Loader, $ as useAnalyticsContext, bx as StepProgressIndicator, Z as Button } from "./StoreProvider-
|
|
12
|
+
import { W as TaskTypes, y as LegalEntityType, bw as getTranslationKeysByPrefix, b as useI18nContext, a as useLegalEntity, R as ROOT_LE, L as Loader, $ as useAnalyticsContext, bx as StepProgressIndicator, Z as Button } from "./StoreProvider-CtL3RJBh.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-BWFDiuWh.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, ab as useCapabilityProblems, a6 as useExperimentsContext, L as Loader, g as getLegalEntityCountry, bi as getProblemsForEntity, U as EntityType, bj 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, bi as getProblemsForEntity, U as EntityType, bj as isOnfidoAutofillFlowEnabled, W as TaskTypes, a4 as noop } from "./StoreProvider-CtL3RJBh.js";
|
|
12
|
+
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-BeZb0J4K.js";
|
|
13
13
|
function LegalRepresentativeDetailsPage({
|
|
14
14
|
legalRepresentativeId,
|
|
15
15
|
asModal = false,
|
package/dist/{ManageIndividualComponent-Ch7Vfh_Y.js → ManageIndividualComponent-D6LvGH5W.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-CtL3RJBh.js";
|
|
12
|
+
import { u as useOnboardingStatus } from "./useOnboardingStatus-C3sNMnQ6.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-SElCStEh.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-COxy6pWb.js";
|
|
12
|
+
import { b as useI18nContext, p as useApiContext } from "./StoreProvider-CtL3RJBh.js";
|
|
13
|
+
import { E as EmbeddedStatus } from "./EmbeddedStatus-SElCStEh.js";
|
|
14
14
|
function ManagePCIComponent({ legalEntityId, onClick }) {
|
|
15
15
|
const { i18n } = useI18nContext();
|
|
16
16
|
const title = i18n.get("pciDssQuestionnaire");
|
package/dist/{ManageTermsOfServiceComponent-gSVNQPK4.js → ManageTermsOfServiceComponent-ulbO33fd.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-C8vibNT4.js";
|
|
12
|
+
import { p as useApiContext, b as useI18nContext } from "./StoreProvider-CtL3RJBh.js";
|
|
13
|
+
import { E as EmbeddedStatus } from "./EmbeddedStatus-SElCStEh.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, Z as Button, a0 as Card, b5 as StructuredList, b6 as ModalFooter, b7 as Spacer, _ as IconButton, b8 as Confirm, b9 as mapTransferInstrumentToPayoutAccount, ba as cloneObject, bb as currencyByCountry, bc as entriesOf, Y as TaskStatus, bd 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-C-8yIR7v.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, Z as Button, a0 as Card, b5 as StructuredList, b6 as ModalFooter, b7 as Spacer, _ as IconButton, b8 as Confirm, b9 as mapTransferInstrumentToPayoutAccount, ba as cloneObject, bb as currencyByCountry, bc as entriesOf, Y as TaskStatus, bd as useTransferInstrument, X as createLogger, a5 as useToastContext, c as useDataset, d as datasetIdentifier, B as Alert } from "./StoreProvider-CtL3RJBh.js";
|
|
13
|
+
import { s as statusToTag, E as EmbeddedStatus } from "./EmbeddedStatus-SElCStEh.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-PIzgGC0_.js → OnboardingDropinComponent-BWFDiuWh.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 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 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 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-CtL3RJBh.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-ZgVi5xgF.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-COxy6pWb.js";
|
|
17
|
+
import { u as useTermsOfServiceStatus, a as useTermsOfServiceAcceptanceInfos } from "./useTermsOfServiceStatus-C8vibNT4.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-C-8yIR7v.js";
|
|
21
|
+
import { A as Avatar } from "./Avatar-CifjWWjD.js";
|
|
22
|
+
import { T as TaskItemStatus } from "./TaskItemStatus-D8IDDqmj.js";
|
|
23
|
+
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-DOeZF5hl.js";
|
|
24
24
|
import { T as Tag } from "./Tag-DdkVScyr.js";
|
|
25
25
|
const getTaskTypes = async (id, baseUrl) => {
|
|
26
26
|
return httpGet({
|
|
@@ -3332,71 +3332,71 @@ const hasProgressedBeyondEntitySelection = (legalEntity) => {
|
|
|
3332
3332
|
return hasOwnEntityAssocation || !!hasOrganizationType;
|
|
3333
3333
|
};
|
|
3334
3334
|
const Introduction = lazy(
|
|
3335
|
-
async () => (await import("./Introduction-
|
|
3335
|
+
async () => (await import("./Introduction-Ctb25-OM.js")).Introduction
|
|
3336
3336
|
);
|
|
3337
3337
|
const BusinessTypeSelectionPage = lazy(
|
|
3338
|
-
async () => (await import("./BusinessTypeSelectionPage-
|
|
3338
|
+
async () => (await import("./BusinessTypeSelectionPage-B0lWkzDp.js")).BusinessTypeSelectionPage
|
|
3339
3339
|
);
|
|
3340
3340
|
const SingpassSelection = lazy(
|
|
3341
|
-
async () => (await import("./SingpassSelection-
|
|
3341
|
+
async () => (await import("./SingpassSelection-B7jrkV8E.js")).SingpassSelection
|
|
3342
3342
|
);
|
|
3343
3343
|
const AccountSetupRejected = lazy(
|
|
3344
|
-
async () => (await import("./AccountSetupRejected-
|
|
3344
|
+
async () => (await import("./AccountSetupRejected-wRQr2kWQ.js")).AccountSetupRejected
|
|
3345
3345
|
);
|
|
3346
3346
|
const DecisionMakers = lazy(
|
|
3347
|
-
async () => (await import("./DecisionMakers-
|
|
3347
|
+
async () => (await import("./DecisionMakers-CW2H26gg.js")).DecisionMakers
|
|
3348
3348
|
);
|
|
3349
3349
|
const CustomerSupport = lazy(
|
|
3350
|
-
async () => (await import("./CustomerSupport-
|
|
3350
|
+
async () => (await import("./CustomerSupport-DFAYgsVo.js")).CustomerSupport
|
|
3351
3351
|
);
|
|
3352
|
-
const Review = lazy(async () => (await import("./Review-
|
|
3352
|
+
const Review = lazy(async () => (await import("./Review-CfjzSizs.js")).Review);
|
|
3353
3353
|
const SignPCIComponent = lazy(
|
|
3354
|
-
async () => (await import("./SignPCIComponent-
|
|
3354
|
+
async () => (await import("./SignPCIComponent-DZfaznAu.js")).SignPCIComponent
|
|
3355
3355
|
);
|
|
3356
3356
|
const AcceptTermsOfService = lazy(
|
|
3357
|
-
async () => (await import("./AcceptTermsOfServiceComponent-
|
|
3357
|
+
async () => (await import("./AcceptTermsOfServiceComponent-CQZ2p83P.js")).AcceptTermsOfServiceComponent
|
|
3358
3358
|
);
|
|
3359
3359
|
const TaxReportingDropin = lazy(
|
|
3360
|
-
async () => (await import("./TaxReportingDropin-
|
|
3360
|
+
async () => (await import("./TaxReportingDropin-COsrM6R8.js")).TaxReportingDropin
|
|
3361
3361
|
);
|
|
3362
3362
|
const PayoutDetailsPage = lazy(
|
|
3363
|
-
async () => (await import("./StoreProvider-
|
|
3363
|
+
async () => (await import("./StoreProvider-CtL3RJBh.js").then((n) => n.eC)).PayoutDetailsPage
|
|
3364
3364
|
);
|
|
3365
3365
|
const RootBusinessDetailsPage = lazy(
|
|
3366
|
-
async () => (await import("./RootBusinessDetailsPage-
|
|
3366
|
+
async () => (await import("./RootBusinessDetailsPage-T0RIHOz1.js")).RootBusinessDetailsPage
|
|
3367
3367
|
);
|
|
3368
3368
|
const SoleProprietorshipPage = lazy(
|
|
3369
|
-
async () => (await import("./SoleProprietorshipPage-
|
|
3369
|
+
async () => (await import("./SoleProprietorshipPage-BNu8EpJY.js")).SoleProprietorshipPage
|
|
3370
3370
|
);
|
|
3371
3371
|
const TrustMemberCompanyPage = lazy(
|
|
3372
|
-
async () => (await import("./TrustMemberCompanyPage-
|
|
3372
|
+
async () => (await import("./TrustMemberCompanyPage-BWJdxviN.js")).TrustMemberCompanyPage
|
|
3373
3373
|
);
|
|
3374
3374
|
const UnincorporatedPartnershipMemberCompanyPage = lazy(
|
|
3375
|
-
async () => (await import("./UnincorporatedPartnershipMemberCompanyPage-
|
|
3375
|
+
async () => (await import("./UnincorporatedPartnershipMemberCompanyPage-DkGDyLNt.js")).UnincorporatedPartnershipMemberCompanyPage
|
|
3376
3376
|
);
|
|
3377
3377
|
const BusinessFinancingPage = lazy(
|
|
3378
|
-
async () => (await import("./BusinessFinancingPage-
|
|
3378
|
+
async () => (await import("./BusinessFinancingPage-CwXgSYMg.js")).BusinessFinancingPage
|
|
3379
3379
|
);
|
|
3380
3380
|
const TrustDetailsPage = lazy(
|
|
3381
|
-
async () => (await import("./TrustDetailsPage-
|
|
3381
|
+
async () => (await import("./TrustDetailsPage-BiFVPSoj.js")).TrustDetailsPage
|
|
3382
3382
|
);
|
|
3383
3383
|
const SourceOfFundsPage = lazy(
|
|
3384
|
-
async () => (await import("./SourceOfFundsPage-
|
|
3384
|
+
async () => (await import("./SourceOfFundsPage-Dd-7Kbfs.js")).SourceOfFundsPage
|
|
3385
3385
|
);
|
|
3386
3386
|
const RootIndividualDetailsPage = lazy(
|
|
3387
|
-
async () => (await import("./RootIndividualDetailsPage-
|
|
3387
|
+
async () => (await import("./RootIndividualDetailsPage-eZ0Cilap.js")).RootIndividualDetailsPage
|
|
3388
3388
|
);
|
|
3389
3389
|
const LegalRepresentativeDetailsPage = lazy(
|
|
3390
|
-
async () => (await import("./LegalRepresentativeDetailsPage-
|
|
3390
|
+
async () => (await import("./LegalRepresentativeDetailsPage-Cr__3zeF.js")).LegalRepresentativeDetailsPage
|
|
3391
3391
|
);
|
|
3392
3392
|
const TrustMemberIndividualPage = lazy(
|
|
3393
|
-
async () => (await import("./TrustMemberIndividualPage-
|
|
3393
|
+
async () => (await import("./TrustMemberIndividualPage-B-IO8NVI.js")).TrustMemberIndividualPage
|
|
3394
3394
|
);
|
|
3395
3395
|
const UnincorporatedPartnershipIndividualPage = lazy(
|
|
3396
|
-
async () => (await import("./UnincorporatedPartnershipIndividualPage-
|
|
3396
|
+
async () => (await import("./UnincorporatedPartnershipIndividualPage-ycLkvUa7.js")).UnincorporatedPartnershipIndividualPage
|
|
3397
3397
|
);
|
|
3398
3398
|
const DecisionMakerDetailsPage = lazy(
|
|
3399
|
-
async () => (await import("./DecisionMakerDetailsPage-
|
|
3399
|
+
async () => (await import("./DecisionMakerDetailsPage-CbwINv-F.js")).DecisionMakerDetailsPage
|
|
3400
3400
|
);
|
|
3401
3401
|
const PAGES_WITH_POLLING = [TaskTypes.DECISION_MAKER_OVERVIEW, TaskTypes.TASKS_OVERVIEW];
|
|
3402
3402
|
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, a6 as useExperimentsContext, g as getLegalEntityCountry, ao as CountryCodes, G as isPartOfTrustFromLegalEntity, y as LegalEntityType, H as hasSolePropInLegalEntity, a$ as TrustedFieldsProvider, bk as individualComponentsKeyMapping, bl as businessDetailsComponentsKeyMapping, b as useI18nContext, Z as Button, bm as Svg } from "./StoreProvider-
|
|
11
|
+
import { p as useApiContext, q as useQuery, bh as httpPost, a6 as useExperimentsContext, g as getLegalEntityCountry, ao as CountryCodes, G as isPartOfTrustFromLegalEntity, y as LegalEntityType, H as hasSolePropInLegalEntity, a$ as TrustedFieldsProvider, bk as individualComponentsKeyMapping, bl as businessDetailsComponentsKeyMapping, b as useI18nContext, Z as Button, bm as Svg } from "./StoreProvider-CtL3RJBh.js";
|
|
12
12
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
13
13
|
async function convertToSingpassLinkResponse(openIdInitiateResponse) {
|
|
14
14
|
const response = await Promise.resolve(openIdInitiateResponse);
|