@adyen/kyc-components 3.81.0-beta.5 → 3.81.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-h4RGwmfr.js → AcceptTermsOfServiceComponent-PDXa81vb.js} +4 -4
- package/dist/{AccountSetupRejected-BtCC1DfU.js → AccountSetupRejected-Du83gH0_.js} +2 -2
- package/dist/{Avatar-D11TdIAz.js → Avatar-Cd_8eqbA.js} +1 -1
- package/dist/{BusinessDetailsDropin-DMkfZAhc.js → BusinessDetailsDropin-DR8YA-wz.js} +6 -6
- package/dist/{BusinessFinancingComponent-Bx3WRW6i.js → BusinessFinancingComponent-saZxipq7.js} +2 -2
- package/dist/{BusinessFinancingDropin-CuF4P-yp.js → BusinessFinancingDropin-DioEfiqH.js} +8 -8
- package/dist/{BusinessFinancingPage-BOVZmdFJ.js → BusinessFinancingPage-D7NMT1SV.js} +2 -2
- package/dist/{BusinessTypeSelectionPage-yupMVCzr.js → BusinessTypeSelectionPage-uk6eDO5O.js} +3 -3
- package/dist/{CreateIndividualComponent-0ye57Eu5.js → CreateIndividualComponent-B_6j8j5H.js} +2 -2
- package/dist/{CreateTransferInstrumentComponent-Cw5cNYC5.js → CreateTransferInstrumentComponent-DgZq6f2m.js} +1 -1
- package/dist/{CustomerSupport-BsZDxwv2.js → CustomerSupport-C4n96PMt.js} +4 -4
- package/dist/{DebugModal-CgC7d1mP.js → DebugModal-CYO8HZDV.js} +4 -4
- package/dist/{DecisionMakerDetailsPage-CsxCXdBv.js → DecisionMakerDetailsPage-IT7x1ZRJ.js} +3 -3
- package/dist/{DecisionMakers-BOPprU_c.js → DecisionMakers-DkXmcSK4.js} +6 -6
- package/dist/{EmbeddedStatus-THcf_5VL.js → EmbeddedStatus-BS-fmZSm.js} +2 -2
- package/dist/{EndStateLayout-D4XztFnd.js → EndStateLayout-qrS2Eh-G.js} +1 -1
- package/dist/{FormFlow-OxZkj1IL.js → FormFlow-BjHYz5-l.js} +1 -1
- package/dist/{IndividualOnfidoDropin-BGSe9ayX.js → IndividualOnfidoDropin-B-y2VRFi.js} +15 -12
- package/dist/{Introduction-Dvmyo9sy.js → Introduction-CVSG_NSh.js} +2 -2
- package/dist/{LegalRepresentativeDetailsPage-CwZCAmRs.js → LegalRepresentativeDetailsPage-R9h6n8e1.js} +2 -2
- package/dist/{ManageIndividualComponent-C_S_ydis.js → ManageIndividualComponent-D3EZWpKz.js} +3 -3
- package/dist/{ManageTermsOfServiceComponent-BkLuO8oE.js → ManageTermsOfServiceComponent-C2BMpyzo.js} +3 -3
- package/dist/{ManageTransferInstrumentComponent-C4WfYBDB.js → ManageTransferInstrumentComponent-Byi222QQ.js} +3 -3
- package/dist/{OnboardingDropinComponent-BUmJ_JVk.js → OnboardingDropinComponent-CDK7PYx0.js} +30 -30
- package/dist/{Review-C5MFIBVb.js → Review-BCxsmMlz.js} +2 -2
- package/dist/{RootBusinessDetailsPage-C8ZJ4dmm.js → RootBusinessDetailsPage-CIWtTZ1z.js} +6 -6
- package/dist/{RootIndividualDetailsPage-CU0x1BUz.js → RootIndividualDetailsPage-DGpYhDWo.js} +2 -2
- package/dist/{SignPCIComponent-CPpNIBhs.js → SignPCIComponent-DzKFISwc.js} +3 -3
- package/dist/{SingpassSelection-ByupuMKL.js → SingpassSelection-ChRvdPZF.js} +1 -1
- package/dist/{SoleProprietorshipPage-CNKpPAjZ.js → SoleProprietorshipPage-CF_TKUfD.js} +2 -2
- package/dist/{SourceOfFundsPage-CraH1Im8.js → SourceOfFundsPage-DuUOdcam.js} +10 -10
- package/dist/{StoreProvider-BK6S-tUB.js → StoreProvider-pdSV8sgb.js} +4 -4
- package/dist/{TaskItemStatus-BXv5vZOC.js → TaskItemStatus-DDwHsmh8.js} +1 -1
- package/dist/{TaskStatusIndicator-BqoOgtJU.js → TaskStatusIndicator-Bmm2PsCZ.js} +1 -1
- package/dist/{TaxReportingDropin-BYn-rCQo.js → TaxReportingDropin-kPcT1Kxt.js} +7 -7
- package/dist/{TileGroup-ByNEsfqA.js → TileGroup-BC8PSahf.js} +1 -1
- package/dist/{TrustDetailsPage-BXHPOkFC.js → TrustDetailsPage-lnVmcLSH.js} +4 -4
- package/dist/{TrustMemberCompanyPage-D3JUt2oR.js → TrustMemberCompanyPage-6_h3PnmT.js} +3 -3
- package/dist/{TrustMemberIndividualPage-BKwm2PD-.js → TrustMemberIndividualPage-DPlQ6OnQ.js} +2 -2
- package/dist/{UnincorporatedPartnershipIndividualPage-DJAy2tiA.js → UnincorporatedPartnershipIndividualPage-Bgcip8u6.js} +2 -2
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-C_4lVNk5.js → UnincorporatedPartnershipMemberCompanyPage-k5Cc0TWw.js} +2 -2
- package/dist/{VerificationErrorAlert-CN-y2ZkT.js → VerificationErrorAlert-BEgXW4gA.js} +1 -1
- package/dist/{ViewVerificationStatusComponent-DGo_V34u.js → ViewVerificationStatusComponent-D2V-RY2M.js} +2 -2
- package/dist/adyen-business-financing.js +2 -2
- package/dist/adyen-individual.js +2 -2
- package/dist/adyen-kyc-components.js +14 -14
- package/dist/adyen-manage-individual.js +2 -2
- package/dist/adyen-manage-terms-of-service.js +2 -2
- package/dist/adyen-manage-transfer-instruments.js +2 -2
- package/dist/adyen-onboarding.js +2 -2
- package/dist/adyen-terms-of-service.js +2 -2
- package/dist/adyen-transfer-instrument.js +2 -2
- package/dist/adyen-verification-status.js +2 -2
- package/dist/{bafinUtils-WzgnLHUH.js → bafinUtils-T6TnU7m4.js} +1 -1
- package/dist/{getFieldsWithExistingData-CXFYcjIh.js → getFieldsWithExistingData-BPKk0HGd.js} +1 -1
- package/dist/{hasDataChanged-Bh_UrmLp.js → hasDataChanged-e2EDb7Ni.js} +1 -1
- package/dist/{localizeDateString-CWh-ttUS.js → localizeDateString-VqxvPF9j.js} +1 -1
- package/dist/{mapFinancialReportsToFinancialInformation-CQMM1PgM.js → mapFinancialReportsToFinancialInformation-iVvcsDNu.js} +1 -1
- package/dist/{resolveEnvironment-DtkNmlSt.js → resolveEnvironment-CDg6ksvB.js} +3 -3
- package/dist/{rules-ByuGwTNE.js → rules-BnJSV_NR.js} +1 -1
- package/dist/{useMultiForm-CiCxhoIc.js → useMultiForm-Cbf_MGdG.js} +1 -1
- package/dist/{useOnboardingStatus-DHu80m4m.js → useOnboardingStatus-bmHIDRGr.js} +1 -1
- package/dist/{useTermsOfServiceStatus-ZzLl2fnP.js → useTermsOfServiceStatus-CMtyaC84.js} +1 -1
- package/dist/{useUpdateLegalEntity-CKaq6DPT.js → useUpdateLegalEntity-D91nO-DU.js} +1 -1
- package/dist/{utils-B2fOaECU.js → utils-B-s8erbM.js} +3 -3
- package/dist/{validate-DWYqp_FY.js → validate-CNlNB2Sq.js} +1 -1
- package/dist/{validate-CaKWtDK0.js → validate-DhvbSKV4.js} +1 -1
- package/package.json +1 -1
package/dist/{AcceptTermsOfServiceComponent-h4RGwmfr.js → AcceptTermsOfServiceComponent-PDXa81vb.js}
RENAMED
|
@@ -9,11 +9,11 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useState, useEffect, useCallback } from "preact/hooks";
|
|
12
|
-
import { a as useApiContext, bn as useInvalidateRootLegalEntity, bo as useMutation, t as httpPost, r as useQuery, B as skipToken, x as httpGet, a0 as createLogger, c as useTranslation, a3 as useAnalyticsContext, a9 as useToastContext, aa as useExperimentsContext, bs as getLanguageCode, az as useForm, K as Alert, G as Button, a6 as LoaderWrapper, aE as Field, bt as Select, bu as Checkbox, aT as ActionBar, bv as MaybeModal, bw as ModalContent, bx as ModalFooter, by as StepProgressIndicator, bz as Spacer, O as LegalEntityTypes, aj as getOwnSignatories, C as doesLegalEntityRequiresLegalRepresentative, z as getLegalRepresentative, ar as getLegalEntityNameBasedOnType, aR as FormNavigation, d as useLegalEntity, R as ROOT_LE, L as Loader, $ as TaskTypes } from "./StoreProvider-
|
|
13
|
-
import { u as useTermsOfServiceStatus, a as useTermsOfServiceAcceptanceInfos } from "./useTermsOfServiceStatus-
|
|
14
|
-
import { E as EndStateLayout } from "./EndStateLayout-
|
|
12
|
+
import { a as useApiContext, bn as useInvalidateRootLegalEntity, bo as useMutation, t as httpPost, r as useQuery, B as skipToken, x as httpGet, a0 as createLogger, c as useTranslation, a3 as useAnalyticsContext, a9 as useToastContext, aa as useExperimentsContext, bs as getLanguageCode, az as useForm, K as Alert, G as Button, a6 as LoaderWrapper, aE as Field, bt as Select, bu as Checkbox, aT as ActionBar, bv as MaybeModal, bw as ModalContent, bx as ModalFooter, by as StepProgressIndicator, bz as Spacer, O as LegalEntityTypes, aj as getOwnSignatories, C as doesLegalEntityRequiresLegalRepresentative, z as getLegalRepresentative, ar as getLegalEntityNameBasedOnType, aR as FormNavigation, d as useLegalEntity, R as ROOT_LE, L as Loader, $ as TaskTypes } from "./StoreProvider-pdSV8sgb.js";
|
|
13
|
+
import { u as useTermsOfServiceStatus, a as useTermsOfServiceAcceptanceInfos } from "./useTermsOfServiceStatus-CMtyaC84.js";
|
|
14
|
+
import { E as EndStateLayout } from "./EndStateLayout-qrS2Eh-G.js";
|
|
15
15
|
import { d as downloadFile } from "./file-CiG1D0zy.js";
|
|
16
|
-
import { l as localizeDateString } from "./localizeDateString-
|
|
16
|
+
import { l as localizeDateString } from "./localizeDateString-VqxvPF9j.js";
|
|
17
17
|
import { C as ContractViewer } from "./ContractViewer-B2LwC3wV.js";
|
|
18
18
|
const acceptTermsOfService = async (legalEntityId, baseUrl, termsOfServiceDocumentId, data) => {
|
|
19
19
|
return httpPost(
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { c as useTranslation, A as AlertIcon, F as FormHeader } from "./StoreProvider-
|
|
12
|
-
import { D as DropinLayout } from "./OnboardingDropinComponent-
|
|
11
|
+
import { c as useTranslation, A as AlertIcon, F as FormHeader } from "./StoreProvider-pdSV8sgb.js";
|
|
12
|
+
import { D as DropinLayout } from "./OnboardingDropinComponent-CDK7PYx0.js";
|
|
13
13
|
function AccountSetupRejected() {
|
|
14
14
|
const { t } = useTranslation();
|
|
15
15
|
const content = /* @__PURE__ */ jsxs("div", { children: [
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import { a7 as Icon } from "./StoreProvider-
|
|
12
|
+
import { a7 as Icon } from "./StoreProvider-pdSV8sgb.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 { u as useI18nContext, dz as MemoizedDocumentUpload, G as Button, bf as Modal, bw as ModalContent, N as Typography, at as CountryCodes, Y as CompanyTypesValues, f1 as useGlobalData, eT as getForms, $ as TaskTypes, f2 as BasicInformation, dt as getFormProps, f3 as CompanyStructure, f4 as AdditionalInformation, eN as MemoizedConstitutionalDocument, O as LegalEntityTypes, eM as FinancialInformation, ci as getDocument, cj as mapExistingFile, ck as getPageName, bC as formatObject, bl as entriesOf, b9 as businessDetailsComponentsKeyMapping, f5 as solePropBusinessDetailsKeyMapping, f6 as getDefaultRegistrationNumberType, f7 as getDefaultVatNumberType, b4 as objectsDeepEqual, d$ as operationalAddressIsSameIds, eP as COUNTRIES_USING_COMPANY_SEARCH, f8 as FIELDS_NEEDED_FOR_COMPANY_SEARCH, dk as keysOf, i as isUndefinedOrNull, dM as isDateOlderThanAYear, aO as summaryItem, f9 as solePropBusinessDetailsApiKeyMapping, f0 as businessDetailsApiKeyMapping, fa as isRegistrationNumberAbsentStateV4Scenario, cp as isEmpty, fb as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, cn as createDocumentRequest, bd as datasetUtilities, cJ as mapAddressLabels, eL as companyTypeMetadata, a0 as createLogger, cI as filterOutUnwantedAssociationsIfRootLE, bW as isValidationError, bX as processValidationErrors, bY as isMaintenanceModeError, fc as getProp, au as isEmpty$1, fd as documentFormsIds, aw as resolveFieldMetadata, e9 as registrationNumberDefaultFieldMetadata, fe as inferCompanyRegistrationNumberType, ff as getCompanyRegistrationNumberOptions, ea as registrationNumberDefaultFieldConfig, cd as taxInformationDefaultFieldMetadata, fg as countryToTaxInfoTypeMap, ce as taxInformationDefaultFieldConfig, fh as getKeyForField, cr as drop, ap as getOwnEntityAssociations, cS as doArraysMatch, cO as getFileExtention, X as useAccountHolder, a9 as useToastContext, a3 as useAnalyticsContext, aa as useExperimentsContext, v as useSettingsContext, a as useApiContext, dW as verifiedBusiness, bq as useQueryClient, fi as useStateContext, w as SettingNames, fj as setIsBankAccountRequestedForOrganization, bR as getAssociatedLeAnalyticsPayload, be as getCapabilityProblems, cs as documentApiUtils, cG as composePerScenarioFormConfigurations, cA as useScenarioConfiguration, eX as rules, cB as getPropsFromConfigurations, eY as useCompanySearch, fk as useCompanySelection, eZ as useVerifyTin, bS as getRequiredForms, bT as addValidityToForms, fl as useClearCompanyData, bU as useFormComposer, fm as setVerifiedBusiness, fn as FormWrapper, bh as Confirm, fo as solePropBusinessDetailsDocumentMapping, e$ as businessDetailsDocumentMapping } from "./StoreProvider-
|
|
11
|
+
import { u as useI18nContext, dz as MemoizedDocumentUpload, G as Button, bf as Modal, bw as ModalContent, N as Typography, at as CountryCodes, Y as CompanyTypesValues, f1 as useGlobalData, eT as getForms, $ as TaskTypes, f2 as BasicInformation, dt as getFormProps, f3 as CompanyStructure, f4 as AdditionalInformation, eN as MemoizedConstitutionalDocument, O as LegalEntityTypes, eM as FinancialInformation, ci as getDocument, cj as mapExistingFile, ck as getPageName, bC as formatObject, bl as entriesOf, b9 as businessDetailsComponentsKeyMapping, f5 as solePropBusinessDetailsKeyMapping, f6 as getDefaultRegistrationNumberType, f7 as getDefaultVatNumberType, b4 as objectsDeepEqual, d$ as operationalAddressIsSameIds, eP as COUNTRIES_USING_COMPANY_SEARCH, f8 as FIELDS_NEEDED_FOR_COMPANY_SEARCH, dk as keysOf, i as isUndefinedOrNull, dM as isDateOlderThanAYear, aO as summaryItem, f9 as solePropBusinessDetailsApiKeyMapping, f0 as businessDetailsApiKeyMapping, fa as isRegistrationNumberAbsentStateV4Scenario, cp as isEmpty, fb as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, cn as createDocumentRequest, bd as datasetUtilities, cJ as mapAddressLabels, eL as companyTypeMetadata, a0 as createLogger, cI as filterOutUnwantedAssociationsIfRootLE, bW as isValidationError, bX as processValidationErrors, bY as isMaintenanceModeError, fc as getProp, au as isEmpty$1, fd as documentFormsIds, aw as resolveFieldMetadata, e9 as registrationNumberDefaultFieldMetadata, fe as inferCompanyRegistrationNumberType, ff as getCompanyRegistrationNumberOptions, ea as registrationNumberDefaultFieldConfig, cd as taxInformationDefaultFieldMetadata, fg as countryToTaxInfoTypeMap, ce as taxInformationDefaultFieldConfig, fh as getKeyForField, cr as drop, ap as getOwnEntityAssociations, cS as doArraysMatch, cO as getFileExtention, X as useAccountHolder, a9 as useToastContext, a3 as useAnalyticsContext, aa as useExperimentsContext, v as useSettingsContext, a as useApiContext, dW as verifiedBusiness, bq as useQueryClient, fi as useStateContext, w as SettingNames, fj as setIsBankAccountRequestedForOrganization, bR as getAssociatedLeAnalyticsPayload, be as getCapabilityProblems, cs as documentApiUtils, cG as composePerScenarioFormConfigurations, cA as useScenarioConfiguration, eX as rules, cB as getPropsFromConfigurations, eY as useCompanySearch, fk as useCompanySelection, eZ as useVerifyTin, bS as getRequiredForms, bT as addValidityToForms, fl as useClearCompanyData, bU as useFormComposer, fm as setVerifiedBusiness, fn as FormWrapper, bh as Confirm, fo as solePropBusinessDetailsDocumentMapping, e$ as businessDetailsDocumentMapping } from "./StoreProvider-pdSV8sgb.js";
|
|
12
12
|
import { useState, useEffect, useRef, useMemo, useCallback } from "preact/hooks";
|
|
13
|
-
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
14
|
-
import { h as hasDataChanged } from "./hasDataChanged-
|
|
15
|
-
import { o as organizationTypesToSkipCompanyStructureForm } from "./utils-
|
|
16
|
-
import { g as getFieldsWithExistingData } from "./getFieldsWithExistingData-
|
|
13
|
+
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-D91nO-DU.js";
|
|
14
|
+
import { h as hasDataChanged } from "./hasDataChanged-e2EDb7Ni.js";
|
|
15
|
+
import { o as organizationTypesToSkipCompanyStructureForm } from "./utils-B-s8erbM.js";
|
|
16
|
+
import { g as getFieldsWithExistingData } from "./getFieldsWithExistingData-BPKk0HGd.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-iVvcsDNu.js";
|
|
19
19
|
import { a as mapApiScriptLocalizationToSchemaFields, m as mapSchemaFieldsToApiScriptLocalization } from "./mapScriptLocalization-H2Re3k5X.js";
|
|
20
20
|
import { f as formatCurrency } from "./formatCurrency-CMOSdJMB.js";
|
|
21
21
|
const stripWhitespace = (str) => str.replace(/\s/g, "");
|
package/dist/{BusinessFinancingComponent-Bx3WRW6i.js → BusinessFinancingComponent-saZxipq7.js}
RENAMED
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { useMemo } from "preact/hooks";
|
|
12
|
-
import { d as useLegalEntity, g as getLegalEntityCountry, L as Loader } from "./StoreProvider-
|
|
13
|
-
import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-
|
|
12
|
+
import { d as useLegalEntity, g as getLegalEntityCountry, L as Loader } from "./StoreProvider-pdSV8sgb.js";
|
|
13
|
+
import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-DioEfiqH.js";
|
|
14
14
|
function BusinessFinancingComponent({
|
|
15
15
|
legalEntityId,
|
|
16
16
|
onSubmitSuccess
|
|
@@ -9,14 +9,14 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useRef, useEffect, useMemo, useState, useCallback } from "preact/hooks";
|
|
12
|
-
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
13
|
-
import { bB as reverseMapping, bC as formatObject, bD as isEeaCountry, O as LegalEntityTypes, bj as cloneObject, a as useApiContext, r as useQuery, x as httpGet, u as useI18nContext, aE as Field, bt as Select, c as useTranslation, N as Typography, M as translateStringOrObject, bE as LegalFormField, aD as createFormUtils, a$ as RadioGroup, bF as Link, bG as InputText, bk as currencyByCountry, bH as InputNumber, bI as Currency, bJ as CURRENCY_FIELD, bK as InputCurrency, bL as InputDate, bM as useFormContext, aA as getFieldProps, aC as ErrorPanel, bd as datasetUtilities, bN as getAddressSchemaForCountry, bO as COUNTRIES_WITH_STATES_DATASET, bu as Checkbox, bP as Address, bQ as getAddressSchemaLabelsByCountry, a3 as useAnalyticsContext, bn as useInvalidateRootLegalEntity, as as useAssociatedLegalEntity, a9 as useToastContext, v as useSettingsContext, w as SettingNames, bR as getAssociatedLeAnalyticsPayload, bS as getRequiredForms, bT as addValidityToForms, bU as useFormComposer, bV as trackNavigation, L as Loader, G as Button, bW as isValidationError, bX as processValidationErrors, bY as isMaintenanceModeError } from "./StoreProvider-
|
|
14
|
-
import { F as FormContextProvider, a as FormFlow } from "./FormFlow-
|
|
15
|
-
import { u as useMultiForm } from "./useMultiForm-
|
|
16
|
-
import { E as EndStateLayout } from "./EndStateLayout-
|
|
17
|
-
import { l as localizeDateString } from "./localizeDateString-
|
|
18
|
-
import { m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./mapFinancialReportsToFinancialInformation-
|
|
19
|
-
import { b as businessFinancingMultiformRules } from "./validate-
|
|
12
|
+
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-D91nO-DU.js";
|
|
13
|
+
import { bB as reverseMapping, bC as formatObject, bD as isEeaCountry, O as LegalEntityTypes, bj as cloneObject, a as useApiContext, r as useQuery, x as httpGet, u as useI18nContext, aE as Field, bt as Select, c as useTranslation, N as Typography, M as translateStringOrObject, bE as LegalFormField, aD as createFormUtils, a$ as RadioGroup, bF as Link, bG as InputText, bk as currencyByCountry, bH as InputNumber, bI as Currency, bJ as CURRENCY_FIELD, bK as InputCurrency, bL as InputDate, bM as useFormContext, aA as getFieldProps, aC as ErrorPanel, bd as datasetUtilities, bN as getAddressSchemaForCountry, bO as COUNTRIES_WITH_STATES_DATASET, bu as Checkbox, bP as Address, bQ as getAddressSchemaLabelsByCountry, a3 as useAnalyticsContext, bn as useInvalidateRootLegalEntity, as as useAssociatedLegalEntity, a9 as useToastContext, v as useSettingsContext, w as SettingNames, bR as getAssociatedLeAnalyticsPayload, bS as getRequiredForms, bT as addValidityToForms, bU as useFormComposer, bV as trackNavigation, L as Loader, G as Button, bW as isValidationError, bX as processValidationErrors, bY as isMaintenanceModeError } from "./StoreProvider-pdSV8sgb.js";
|
|
14
|
+
import { F as FormContextProvider, a as FormFlow } from "./FormFlow-BjHYz5-l.js";
|
|
15
|
+
import { u as useMultiForm } from "./useMultiForm-Cbf_MGdG.js";
|
|
16
|
+
import { E as EndStateLayout } from "./EndStateLayout-qrS2Eh-G.js";
|
|
17
|
+
import { l as localizeDateString } from "./localizeDateString-VqxvPF9j.js";
|
|
18
|
+
import { m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./mapFinancialReportsToFinancialInformation-iVvcsDNu.js";
|
|
19
|
+
import { b as businessFinancingMultiformRules } from "./validate-CNlNB2Sq.js";
|
|
20
20
|
const businessFinancingBaseMapping = {
|
|
21
21
|
legalProceedingsDate: "organization.dateOfInitiationOfLegalProceeding",
|
|
22
22
|
legalInformationInsolvency: "organization.statusOfLegalProceeding",
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { u as useI18nContext, d as useLegalEntity, R as ROOT_LE, L as Loader, g as getLegalEntityCountry } from "./StoreProvider-
|
|
12
|
-
import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-
|
|
11
|
+
import { u as useI18nContext, d as useLegalEntity, R as ROOT_LE, L as Loader, g as getLegalEntityCountry } from "./StoreProvider-pdSV8sgb.js";
|
|
12
|
+
import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-DioEfiqH.js";
|
|
13
13
|
const BusinessFinancingPage = ({
|
|
14
14
|
onSubmit,
|
|
15
15
|
handleHomeClick
|
package/dist/{BusinessTypeSelectionPage-yupMVCzr.js → BusinessTypeSelectionPage-uk6eDO5O.js}
RENAMED
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
|
-
import { a0 as createLogger, c as useTranslation, a3 as useAnalyticsContext, a9 as useToastContext, aa as useExperimentsContext, X as useAccountHolder, dS as getCapabilities, g as getLegalEntityCountry, O as LegalEntityTypes, az as useForm, a6 as LoaderWrapper, N as Typography, aE as Field, dT as EntityTypeRadioGroupCard, aH as RadioGroupCard, G as Button, bz as Spacer, a7 as Icon, d as useLegalEntity, R as ROOT_LE, L as Loader } from "./StoreProvider-
|
|
11
|
+
import { a0 as createLogger, c as useTranslation, a3 as useAnalyticsContext, a9 as useToastContext, aa as useExperimentsContext, X as useAccountHolder, dS as getCapabilities, g as getLegalEntityCountry, O as LegalEntityTypes, az as useForm, a6 as LoaderWrapper, N as Typography, aE as Field, dT as EntityTypeRadioGroupCard, aH as RadioGroupCard, G as Button, bz as Spacer, a7 as Icon, d as useLegalEntity, R as ROOT_LE, L as Loader } from "./StoreProvider-pdSV8sgb.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-D91nO-DU.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-B-s8erbM.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) => {
|
package/dist/{CreateIndividualComponent-0ye57Eu5.js → CreateIndividualComponent-B_6j8j5H.js}
RENAMED
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { d as useLegalEntity, af as useCapabilityProblems, aa as useExperimentsContext, L as Loader, g as getLegalEntityCountry, b6 as getProblemsForEntity, Z as EntityTypes, b7 as isOnfidoAutofillFlowEnabled, $ as TaskTypes } from "./StoreProvider-
|
|
12
|
-
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-
|
|
11
|
+
import { d as useLegalEntity, af as useCapabilityProblems, aa as useExperimentsContext, L as Loader, g as getLegalEntityCountry, b6 as getProblemsForEntity, Z as EntityTypes, b7 as isOnfidoAutofillFlowEnabled, $ as TaskTypes } from "./StoreProvider-pdSV8sgb.js";
|
|
12
|
+
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-B-y2VRFi.js";
|
|
13
13
|
const CreateIndividualComponent = ({
|
|
14
14
|
legalEntityId,
|
|
15
15
|
onSubmitSuccess,
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { useState } from "preact/hooks";
|
|
12
|
-
import { d as useLegalEntity, as as useAssociatedLegalEntity, O as LegalEntityTypes, L as Loader, bc as PayoutDetailsDropin, $ as TaskTypes } from "./StoreProvider-
|
|
12
|
+
import { d as useLegalEntity, as as useAssociatedLegalEntity, O as LegalEntityTypes, L as Loader, bc as PayoutDetailsDropin, $ as TaskTypes } from "./StoreProvider-pdSV8sgb.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 { d as useLegalEntity, R as ROOT_LE, L as Loader, c as useTranslation, a3 as useAnalyticsContext, a9 as useToastContext, bq as useQueryClient, aw as resolveFieldMetadata, cb as defaultFieldMetadata, cc as fieldConfig, cw as getAsyncPhoneValidationRules, F as FormHeader, dj as ContactDetails, aT as ActionBar, a0 as createLogger } from "./StoreProvider-
|
|
11
|
+
import { d as useLegalEntity, R as ROOT_LE, L as Loader, c as useTranslation, a3 as useAnalyticsContext, a9 as useToastContext, bq as useQueryClient, aw as resolveFieldMetadata, cb as defaultFieldMetadata, cc as fieldConfig, cw as getAsyncPhoneValidationRules, F as FormHeader, dj as ContactDetails, aT as ActionBar, a0 as createLogger } from "./StoreProvider-pdSV8sgb.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-D91nO-DU.js";
|
|
14
|
+
import { c as contactDetailsValidationRules, u as useValidatePhoneNumberImperatively } from "./validate-DhvbSKV4.js";
|
|
15
|
+
import { u as useMultiForm } from "./useMultiForm-Cbf_MGdG.js";
|
|
16
16
|
const mapCustomerSupportSchemaToCustomerSupportType = (customerSupport) => {
|
|
17
17
|
return {
|
|
18
18
|
email: customerSupport?.customerSupport?.email || "",
|
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "0f37a8ee-27a6-4677-9640-77fe30212fba", e._sentryDebugIdIdentifier = "sentry-dbid-0f37a8ee-27a6-4677-9640-77fe30212fba");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useMemo, useState } from "preact/hooks";
|
|
12
|
-
import { G as Button, bl as entriesOf, bG as InputText, c as useTranslation, dP as splitTaskIdentifier, aa as useExperimentsContext, v as useSettingsContext, u as useI18nContext, ag as useGlobalStore, dm as listToRecord, dQ as valuesOf, bf as Modal, a0 as createLogger, a7 as Icon, w as SettingNames, dR as ExperimentNames } from "./StoreProvider-
|
|
12
|
+
import { G as Button, bl as entriesOf, bG as InputText, c as useTranslation, dP as splitTaskIdentifier, aa as useExperimentsContext, v as useSettingsContext, u as useI18nContext, ag as useGlobalStore, dm as listToRecord, dQ as valuesOf, bf as Modal, a0 as createLogger, a7 as Icon, w as SettingNames, dR as ExperimentNames } from "./StoreProvider-pdSV8sgb.js";
|
|
13
13
|
import { T as Tag } from "./Tag-DdkVScyr.js";
|
|
14
14
|
import MonogonCode from "monogon/preact";
|
|
15
|
-
import { T as TaskItemStatus } from "./TaskItemStatus-
|
|
15
|
+
import { T as TaskItemStatus } from "./TaskItemStatus-DDwHsmh8.js";
|
|
16
16
|
const tabs = "adyen-kyc-tabs";
|
|
17
17
|
const styles$2 = {
|
|
18
18
|
tabs
|
|
@@ -239,7 +239,7 @@ const DebugModal = ({ onExit }) => {
|
|
|
239
239
|
const [tab, setTab] = useState("metadata");
|
|
240
240
|
const rootLegalEntity = useGlobalStore().rootLegalEntity.value;
|
|
241
241
|
const metadata = {
|
|
242
|
-
sdkVersion: "3.81.0
|
|
242
|
+
sdkVersion: "3.81.0",
|
|
243
243
|
locale: i18n.locale,
|
|
244
244
|
rootLegalEntityId: rootLegalEntity.id
|
|
245
245
|
};
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { d as useLegalEntity, B as skipToken, af as useCapabilityProblems, aa as useExperimentsContext, cy as useScenarios, g as getLegalEntityCountry, L as Loader, b6 as getProblemsForEntity, b7 as isOnfidoAutofillFlowEnabled, a8 as noop, $ as TaskTypes, Z as EntityTypes, O as LegalEntityTypes } from "./StoreProvider-
|
|
12
|
-
import { i as isBafinSignatoryFlow, r as removeIdVerificationProblemsForBafinSignatory } from "./bafinUtils-
|
|
13
|
-
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-
|
|
11
|
+
import { d as useLegalEntity, B as skipToken, af as useCapabilityProblems, aa as useExperimentsContext, cy as useScenarios, g as getLegalEntityCountry, L as Loader, b6 as getProblemsForEntity, b7 as isOnfidoAutofillFlowEnabled, a8 as noop, $ as TaskTypes, Z as EntityTypes, O as LegalEntityTypes } from "./StoreProvider-pdSV8sgb.js";
|
|
12
|
+
import { i as isBafinSignatoryFlow, r as removeIdVerificationProblemsForBafinSignatory } from "./bafinUtils-T6TnU7m4.js";
|
|
13
|
+
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-B-y2VRFi.js";
|
|
14
14
|
function DecisionMakerDetailsPage({
|
|
15
15
|
decisionMakerId,
|
|
16
16
|
parentCompanyId,
|
|
@@ -9,14 +9,14 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useState, useEffect } from "preact/hooks";
|
|
12
|
-
import { a7 as Icon, c as useTranslation, d as useLegalEntity, G as Button, bf as Modal, L as Loader, aP as getRoleName, bh as Confirm, u as useI18nContext, N as Typography, K as Alert, a3 as useAnalyticsContext, ao as Image, R as ROOT_LE, ad as useGetTaskStatus, aa as useExperimentsContext, a9 as useToastContext, af as useCapabilityProblems, bA as getOwnDecisionMakers, cy as useScenarios, cW as getAvailableDecisionMakerRoleTypes, $ as TaskTypes, cE as getAllowedDecisionMakerRoles, F as FormHeader, a_ as ContextGuidance, aY as Trans, ba as DecisionMakerTypes, ae as CardGroup, aT as ActionBar, O as LegalEntityTypes } from "./StoreProvider-
|
|
13
|
-
import { a as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
14
|
-
import { e as useDataMissingRemediations, D as DropinLayout, E as EntityGuidanceStatus, i as iconStatus, f as EntityAssociation } from "./OnboardingDropinComponent-
|
|
12
|
+
import { a7 as Icon, c as useTranslation, d as useLegalEntity, G as Button, bf as Modal, L as Loader, aP as getRoleName, bh as Confirm, u as useI18nContext, N as Typography, K as Alert, a3 as useAnalyticsContext, ao as Image, R as ROOT_LE, ad as useGetTaskStatus, aa as useExperimentsContext, a9 as useToastContext, af as useCapabilityProblems, bA as getOwnDecisionMakers, cy as useScenarios, cW as getAvailableDecisionMakerRoleTypes, $ as TaskTypes, cE as getAllowedDecisionMakerRoles, F as FormHeader, a_ as ContextGuidance, aY as Trans, ba as DecisionMakerTypes, ae as CardGroup, aT as ActionBar, O as LegalEntityTypes } from "./StoreProvider-pdSV8sgb.js";
|
|
13
|
+
import { a as useUpdateLegalEntity } from "./useUpdateLegalEntity-D91nO-DU.js";
|
|
14
|
+
import { e as useDataMissingRemediations, D as DropinLayout, E as EntityGuidanceStatus, i as iconStatus, f as EntityAssociation } from "./OnboardingDropinComponent-CDK7PYx0.js";
|
|
15
15
|
import cx from "classnames";
|
|
16
|
-
import { A as Avatar } from "./Avatar-
|
|
17
|
-
import { T as TaskStatusIndicator } from "./TaskStatusIndicator-
|
|
16
|
+
import { A as Avatar } from "./Avatar-Cd_8eqbA.js";
|
|
17
|
+
import { T as TaskStatusIndicator } from "./TaskStatusIndicator-Bmm2PsCZ.js";
|
|
18
18
|
import { D as DetailViewLayout } from "./DetailViewLayout-Z9cuUp4X.js";
|
|
19
|
-
import { S as StackLayout, L as LandingLayout } from "./bafinUtils-
|
|
19
|
+
import { S as StackLayout, L as LandingLayout } from "./bafinUtils-T6TnU7m4.js";
|
|
20
20
|
import { lazy } from "preact/compat";
|
|
21
21
|
const listItem = "adyen-kyc-list-item";
|
|
22
22
|
const listItemInteractive = "adyen-kyc-list-item-interactive";
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import { A as Avatar } from "./Avatar-
|
|
13
|
-
import { a1 as TaskStatuses, c as useTranslation, J as Skeleton, N as Typography } from "./StoreProvider-
|
|
12
|
+
import { A as Avatar } from "./Avatar-Cd_8eqbA.js";
|
|
13
|
+
import { a1 as TaskStatuses, c as useTranslation, J as Skeleton, N as Typography } from "./StoreProvider-pdSV8sgb.js";
|
|
14
14
|
import { T as Tag } from "./Tag-DdkVScyr.js";
|
|
15
15
|
import { O as OnboardingStatuses } from "./view-verification-status-VFcBydkR.js";
|
|
16
16
|
const embeddedStatus = "adyen-kyc-embedded-status";
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
12
|
import { isValidElement, cloneElement } from "preact";
|
|
13
|
-
import { G as Button, L as Loader, a7 as Icon } from "./StoreProvider-
|
|
13
|
+
import { G as Button, L as Loader, a7 as Icon } from "./StoreProvider-pdSV8sgb.js";
|
|
14
14
|
const endStateLayout = "adyen-kyc-end-state-layout";
|
|
15
15
|
const endStateLayoutHeader = "adyen-kyc-end-state-layout-header";
|
|
16
16
|
const endStateLayoutIcon = "adyen-kyc-end-state-layout-icon";
|
|
@@ -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 { dF as FormContext, a3 as useAnalyticsContext, c as useTranslation, bv as MaybeModal, a6 as LoaderWrapper, dG as FormRouterContextProvider, aS as Summary, G as Button, a2 as IconButton, bh as Confirm } from "./StoreProvider-
|
|
12
|
+
import { dF as FormContext, a3 as useAnalyticsContext, c as useTranslation, bv as MaybeModal, a6 as LoaderWrapper, dG as FormRouterContextProvider, aS as Summary, G as Button, a2 as IconButton, bh as Confirm } from "./StoreProvider-pdSV8sgb.js";
|
|
13
13
|
import cx from "classnames";
|
|
14
14
|
function FormContextProvider({
|
|
15
15
|
children,
|
|
@@ -2,26 +2,26 @@
|
|
|
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] = "4f239d1b-92c7-4c6a-9cec-3545885994cc", e._sentryDebugIdIdentifier = "sentry-dbid-4f239d1b-92c7-4c6a-9cec-3545885994cc");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useMemo, useState, useEffect, useCallback, useRef } from "preact/hooks";
|
|
12
|
-
import { a as useApiContext, bo as useMutation, t as httpPost, bZ as matchesRegex, b_ as trimValWithOneSpace, b$ as NO_ALPHABET_REGEX, c0 as EMOJI_REGEX, c1 as hasRepeatedCharacters, c2 as isInvalidName, c3 as INDIVIDUAL_VALID_CHAR_REGEX, c4 as getFormattingRegEx, c5 as SPECIAL_CHARS, c6 as standardKatakanaValidator, c7 as standardKanjiValidator, aw as resolveFieldMetadata, at as CountryCodes, c8 as getSSNType, au as isEmpty, c9 as defaultFieldMetadata, ca as defaultFieldConfig, cb as defaultFieldMetadata$1, cc as fieldConfig, $ as TaskTypes, cd as taxInformationDefaultFieldMetadata, O as LegalEntityTypes, ce as taxInformationDefaultFieldConfig, cf as getAgeToday, cg as euCountries, ch as getIdDocument, ci as getDocument, cj as mapExistingFile, ck as getPageName, cl as getLocalizedIdDocumentTypeOptions, cm as getPage, cn as createDocumentRequest, bC as formatObject, co as individualApiKeyMapping, cp as isEmpty$1, b8 as individualComponentsKeyMapping, bB as reverseMapping, cq as getNomineeFromAssociation, cr as drop, a0 as createLogger, X as useAccountHolder, u as useI18nContext, a3 as useAnalyticsContext, a9 as useToastContext, aa as useExperimentsContext, v as useSettingsContext, cs as documentApiUtils, ct as useProviderStatus, g as getLegalEntityCountry, bR as getAssociatedLeAnalyticsPayload, cu as addressValidators, cv as getAsyncIdNumberValidationRule, cw as getAsyncPhoneValidationRules, cx as addressFormatters, cy as useScenarios, cz as setHasMotionCaptureScenario, cA as useScenarioConfiguration, cB as getPropsFromConfigurations, cC as individualForms, cD as showIndividualMotionCapture, bS as getRequiredForms, bT as addValidityToForms, cE as getAllowedDecisionMakerRoles, bd as datasetUtilities, bU as useFormComposer, bV as trackNavigation, cF as Individual, cG as composePerScenarioFormConfigurations, cH as omitObscuredFieldsIfUnchanged, cI as filterOutUnwantedAssociationsIfRootLE, bW as isValidationError, bX as processValidationErrors, bY as isMaintenanceModeError, bj as cloneObject, cJ as mapAddressLabels, cK as individualDocumentForms, cL as individualDocumentMapping, cM as individualObscuredFields, cN as mergeAttachments, cO as getFileExtention, ap as getOwnEntityAssociations, cP as hasNomineesChanged, cQ as attachNomineeToRole, cR as idVerificationProviderId, cS as doArraysMatch, N as Typography, G as Button, aE as Field, r as useQuery, B as skipToken, x as httpGet, c as useTranslation, bq as useQueryClient, cT as IFrameWidget, bf as Modal, K as Alert, cU as getIndividualLegalEntityName, ao as Image, L as Loader, bh as Confirm, ba as DecisionMakerTypes, cV as createFormRules, cW as getAvailableDecisionMakerRoleTypes, cX as allowedCountriesForNominee, bN as getAddressSchemaForCountry, bO as COUNTRIES_WITH_STATES_DATASET, bb as Scenarios, cY as isLowRiskCountry, bt as Select, cZ as isTruthyValidator, c_ as licenseCardNumberDefaultMetadata, c$ as licenseCardNumberDefaultConfig, av as mergeFieldMetadataIntoProps, aD as createFormUtils, bM as useFormContext, aA as getFieldProps, d0 as idNumberFields, d1 as IdentityNumber, d2 as additionallIdNumberOptions, d3 as MaskedInput, bL as InputDate, d4 as formatDateObj, d5 as DriversLicense, d6 as addressFields, b as useAllowedCountries, w as SettingNames, d7 as isDecisionMakerTask, F as FormHeader, aC as ErrorPanel, aK as CountryField, bP as Address, bQ as getAddressSchemaLabelsByCountry, bF as Link, d8 as getAgeRangeForLegalRepresentative, d9 as IndividualIdNumberTypeSelector, da as TaxInformationField, bG as InputText, db as PatriotActDisclosure, dc as isLegalRepresentativeNeeded, aB as nameFields, dd as decisionMakerRoleFields, de as nomineeFields, df as contactDetailFields, a_ as ContextGuidance, b5 as TrustedFieldsProviders, dg as DecisionMakerRole, dh as NomineeDecisionMakerRole, di as LocalizedNameFields, dj as ContactDetails, dk as keysOf, b4 as objectsDeepEqual, dl as RadioWithLabel, dm as listToRecord, dn as pick, dp as IdVerification, bz as Spacer, a2 as IconButton, e as useDataset, f as datasetIdentifier, dq as IdDocumentManualUpload, M as translateStringOrObject, aY as Trans, dr as idDocumentUploadFields, ds as useFormRouterContext, dt as getFormProps, du as useCapabilities, dv as hasMotionCaptureScenario, dw as setShowIndividualMotionCapture, dx as shouldShowMotionCapture, dy as MemoizedProofOfRelationship, dz as MemoizedDocumentUpload, dA as MemoizedProofOfResidencyUpload, dB as individualOnfidoApiKeyMapping, dC as individualOnfidoBaseMapping, dD as individualOnfidoDocumentMapping, dE 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, a as idNowModalChildEntityId, L as LandingLayout, s as showIdNowModal, i as isBafinSignatoryFlow, b as shouldShowIdNowModal } from "./bafinUtils-
|
|
17
|
-
import { u as useMultiForm } from "./useMultiForm-
|
|
18
|
-
import { g as getFieldsWithExistingData } from "./getFieldsWithExistingData-
|
|
19
|
-
import { l as localizeDateString } from "./localizeDateString-
|
|
20
|
-
import { r as rules, D as DECISION_MAKER_TYPES_WITH_JOBTITLE$1 } from "./rules-
|
|
12
|
+
import { a as useApiContext, bo as useMutation, t as httpPost, bZ as matchesRegex, b_ as trimValWithOneSpace, b$ as NO_ALPHABET_REGEX, c0 as EMOJI_REGEX, c1 as hasRepeatedCharacters, c2 as isInvalidName, c3 as INDIVIDUAL_VALID_CHAR_REGEX, c4 as getFormattingRegEx, c5 as SPECIAL_CHARS, c6 as standardKatakanaValidator, c7 as standardKanjiValidator, aw as resolveFieldMetadata, at as CountryCodes, c8 as getSSNType, au as isEmpty, c9 as defaultFieldMetadata, ca as defaultFieldConfig, cb as defaultFieldMetadata$1, cc as fieldConfig, $ as TaskTypes, cd as taxInformationDefaultFieldMetadata, O as LegalEntityTypes, ce as taxInformationDefaultFieldConfig, cf as getAgeToday, cg as euCountries, ch as getIdDocument, ci as getDocument, cj as mapExistingFile, ck as getPageName, cl as getLocalizedIdDocumentTypeOptions, cm as getPage, cn as createDocumentRequest, bC as formatObject, co as individualApiKeyMapping, cp as isEmpty$1, b8 as individualComponentsKeyMapping, bB as reverseMapping, cq as getNomineeFromAssociation, cr as drop, a0 as createLogger, X as useAccountHolder, u as useI18nContext, a3 as useAnalyticsContext, a9 as useToastContext, aa as useExperimentsContext, v as useSettingsContext, cs as documentApiUtils, ct as useProviderStatus, g as getLegalEntityCountry, bR as getAssociatedLeAnalyticsPayload, cu as addressValidators, cv as getAsyncIdNumberValidationRule, cw as getAsyncPhoneValidationRules, cx as addressFormatters, cy as useScenarios, cz as setHasMotionCaptureScenario, cA as useScenarioConfiguration, cB as getPropsFromConfigurations, cC as individualForms, cD as showIndividualMotionCapture, bS as getRequiredForms, bT as addValidityToForms, cE as getAllowedDecisionMakerRoles, bd as datasetUtilities, bU as useFormComposer, bV as trackNavigation, cF as Individual, cG as composePerScenarioFormConfigurations, cH as omitObscuredFieldsIfUnchanged, cI as filterOutUnwantedAssociationsIfRootLE, bW as isValidationError, bX as processValidationErrors, bY as isMaintenanceModeError, bj as cloneObject, cJ as mapAddressLabels, cK as individualDocumentForms, cL as individualDocumentMapping, cM as individualObscuredFields, cN as mergeAttachments, cO as getFileExtention, ap as getOwnEntityAssociations, cP as hasNomineesChanged, cQ as attachNomineeToRole, cR as idVerificationProviderId, cS as doArraysMatch, N as Typography, G as Button, aE as Field, r as useQuery, B as skipToken, x as httpGet, c as useTranslation, bq as useQueryClient, cT as IFrameWidget, bf as Modal, K as Alert, cU as getIndividualLegalEntityName, ao as Image, L as Loader, bh as Confirm, ba as DecisionMakerTypes, cV as createFormRules, cW as getAvailableDecisionMakerRoleTypes, cX as allowedCountriesForNominee, bN as getAddressSchemaForCountry, bO as COUNTRIES_WITH_STATES_DATASET, bb as Scenarios, cY as isLowRiskCountry, bt as Select, cZ as isTruthyValidator, c_ as licenseCardNumberDefaultMetadata, c$ as licenseCardNumberDefaultConfig, av as mergeFieldMetadataIntoProps, aD as createFormUtils, bM as useFormContext, aA as getFieldProps, d0 as idNumberFields, d1 as IdentityNumber, d2 as additionallIdNumberOptions, d3 as MaskedInput, bL as InputDate, d4 as formatDateObj, d5 as DriversLicense, d6 as addressFields, b as useAllowedCountries, w as SettingNames, d7 as isDecisionMakerTask, F as FormHeader, aC as ErrorPanel, aK as CountryField, bP as Address, bQ as getAddressSchemaLabelsByCountry, bF as Link, d8 as getAgeRangeForLegalRepresentative, d9 as IndividualIdNumberTypeSelector, da as TaxInformationField, bG as InputText, db as PatriotActDisclosure, dc as isLegalRepresentativeNeeded, aB as nameFields, dd as decisionMakerRoleFields, de as nomineeFields, df as contactDetailFields, a_ as ContextGuidance, b5 as TrustedFieldsProviders, dg as DecisionMakerRole, dh as NomineeDecisionMakerRole, di as LocalizedNameFields, dj as ContactDetails, dk as keysOf, b4 as objectsDeepEqual, dl as RadioWithLabel, dm as listToRecord, dn as pick, dp as IdVerification, bz as Spacer, a2 as IconButton, e as useDataset, f as datasetIdentifier, dq as IdDocumentManualUpload, M as translateStringOrObject, aY as Trans, dr as idDocumentUploadFields, ds as useFormRouterContext, dt as getFormProps, du as useCapabilities, dv as hasMotionCaptureScenario, dw as setShowIndividualMotionCapture, dx as shouldShowMotionCapture, dy as MemoizedProofOfRelationship, dz as MemoizedDocumentUpload, dA as MemoizedProofOfResidencyUpload, dB as individualOnfidoApiKeyMapping, dC as individualOnfidoBaseMapping, dD as individualOnfidoDocumentMapping, dE as individualOnfidoObscuredFields } from "./StoreProvider-pdSV8sgb.js";
|
|
13
|
+
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-D91nO-DU.js";
|
|
14
|
+
import { c as contactDetailsValidationRules, u as useValidatePhoneNumberImperatively } from "./validate-DhvbSKV4.js";
|
|
15
|
+
import { F as FormContextProvider, a as FormFlow } from "./FormFlow-BjHYz5-l.js";
|
|
16
|
+
import { u as useSingpassMyInfoLogin, a as idNowModalChildEntityId, L as LandingLayout, s as showIdNowModal, i as isBafinSignatoryFlow, b as shouldShowIdNowModal } from "./bafinUtils-T6TnU7m4.js";
|
|
17
|
+
import { u as useMultiForm } from "./useMultiForm-Cbf_MGdG.js";
|
|
18
|
+
import { g as getFieldsWithExistingData } from "./getFieldsWithExistingData-BPKk0HGd.js";
|
|
19
|
+
import { l as localizeDateString } from "./localizeDateString-VqxvPF9j.js";
|
|
20
|
+
import { r as rules, D as DECISION_MAKER_TYPES_WITH_JOBTITLE$1 } from "./rules-BnJSV_NR.js";
|
|
21
21
|
import { m as mapSchemaFieldsToApiScriptLocalization, a as mapApiScriptLocalizationToSchemaFields } from "./mapScriptLocalization-H2Re3k5X.js";
|
|
22
22
|
import { signal, computed } from "@preact/signals";
|
|
23
23
|
import { Show } from "@preact/signals/utils";
|
|
24
|
-
import { T as TileGroup } from "./TileGroup-
|
|
24
|
+
import { T as TileGroup } from "./TileGroup-BC8PSahf.js";
|
|
25
25
|
import { lazy } from "preact/compat";
|
|
26
26
|
const verifyIdNumber = async (legalEntityId, baseUrl, data) => {
|
|
27
27
|
return await httpPost(
|
|
@@ -1927,8 +1927,11 @@ const individualOnfidoRules = ({
|
|
|
1927
1927
|
const hasMissingId = problems?.missingData?.some(
|
|
1928
1928
|
(error) => error.code === ID_MISSING_DATA_ERROR_CODE
|
|
1929
1929
|
);
|
|
1930
|
+
const hasIdRemediationAction = Object.keys(problems?.remediationActions ?? {}).some(
|
|
1931
|
+
(code) => REMEDIATION_CODES_UPLOAD_ID.includes(code)
|
|
1932
|
+
);
|
|
1930
1933
|
const isManualFlow = data?.idVerificationMethod?.idVerificationMethod === "manualVerification";
|
|
1931
|
-
return isManualFlow && hasMissingId ? "REQUIRED" : void 0;
|
|
1934
|
+
return isManualFlow && (hasMissingId || hasIdRemediationAction) ? "REQUIRED" : void 0;
|
|
1932
1935
|
},
|
|
1933
1936
|
idVerificationRequired: () => {
|
|
1934
1937
|
return REQUIRED;
|
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { useMemo as useMemo$1, useState, useEffect } from "preact/hooks";
|
|
12
|
-
import { $ as TaskTypes, O as LegalEntityTypes, c as useTranslation, d as useLegalEntity, R as ROOT_LE, L as Loader, a3 as useAnalyticsContext, by as StepProgressIndicator, G as Button } from "./StoreProvider-
|
|
12
|
+
import { $ as TaskTypes, O as LegalEntityTypes, c as useTranslation, d as useLegalEntity, R as ROOT_LE, L as Loader, a3 as useAnalyticsContext, by as StepProgressIndicator, G as Button } from "./StoreProvider-pdSV8sgb.js";
|
|
13
13
|
import { useMemo } from "preact/compat";
|
|
14
|
-
import { b as useCanSeeIntroduction, c as useLegalEntityType } from "./OnboardingDropinComponent-
|
|
14
|
+
import { b as useCanSeeIntroduction, c as useLegalEntityType } from "./OnboardingDropinComponent-CDK7PYx0.js";
|
|
15
15
|
import { t as toCapitalized } from "./toCapitalized-Bq7laD0b.js";
|
|
16
16
|
import IntroductionStrings from "./en-US-Bq2Twy6x.js";
|
|
17
17
|
const IntroductionScreens = {
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { d as useLegalEntity, B as skipToken, R as ROOT_LE, af as useCapabilityProblems, aa as useExperimentsContext, L as Loader, g as getLegalEntityCountry, b6 as getProblemsForEntity, Z as EntityTypes, b7 as isOnfidoAutofillFlowEnabled, a8 as noop, $ as TaskTypes } from "./StoreProvider-
|
|
12
|
-
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-
|
|
11
|
+
import { d as useLegalEntity, B as skipToken, R as ROOT_LE, af as useCapabilityProblems, aa as useExperimentsContext, L as Loader, g as getLegalEntityCountry, b6 as getProblemsForEntity, Z as EntityTypes, b7 as isOnfidoAutofillFlowEnabled, a8 as noop, $ as TaskTypes } from "./StoreProvider-pdSV8sgb.js";
|
|
12
|
+
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-B-y2VRFi.js";
|
|
13
13
|
function LegalRepresentativeDetailsPage({
|
|
14
14
|
legalRepresentativeId,
|
|
15
15
|
asModal = false,
|
package/dist/{ManageIndividualComponent-C_S_ydis.js → ManageIndividualComponent-D3EZWpKz.js}
RENAMED
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { a as useApiContext, d as useLegalEntity, R as ROOT_LE } from "./StoreProvider-
|
|
12
|
-
import { u as useOnboardingStatus } from "./useOnboardingStatus-
|
|
11
|
+
import { a as useApiContext, d as useLegalEntity, R as ROOT_LE } from "./StoreProvider-pdSV8sgb.js";
|
|
12
|
+
import { u as useOnboardingStatus } from "./useOnboardingStatus-bmHIDRGr.js";
|
|
13
13
|
import { O as OnboardingStatuses } from "./view-verification-status-VFcBydkR.js";
|
|
14
|
-
import { E as EmbeddedStatus } from "./EmbeddedStatus-
|
|
14
|
+
import { E as EmbeddedStatus } from "./EmbeddedStatus-BS-fmZSm.js";
|
|
15
15
|
function ManageIndividualComponent({
|
|
16
16
|
legalEntityId,
|
|
17
17
|
onClick
|
package/dist/{ManageTermsOfServiceComponent-BkLuO8oE.js → ManageTermsOfServiceComponent-C2BMpyzo.js}
RENAMED
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { a as useTermsOfServiceAcceptanceInfos, u as useTermsOfServiceStatus } from "./useTermsOfServiceStatus-
|
|
12
|
-
import { a as useApiContext, u as useI18nContext } from "./StoreProvider-
|
|
13
|
-
import { E as EmbeddedStatus } from "./EmbeddedStatus-
|
|
11
|
+
import { a as useTermsOfServiceAcceptanceInfos, u as useTermsOfServiceStatus } from "./useTermsOfServiceStatus-CMtyaC84.js";
|
|
12
|
+
import { a as useApiContext, u as useI18nContext } from "./StoreProvider-pdSV8sgb.js";
|
|
13
|
+
import { E as EmbeddedStatus } from "./EmbeddedStatus-BS-fmZSm.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 { a as useApiContext, r as useQuery, x as httpGet, u as useI18nContext, bd as datasetUtilities, be as getCapabilityProblems, G as Button, bf as Modal, L as Loader, a4 as Card, bg as StructuredList, bh as Confirm, bi as mapTransferInstrumentToPayoutAccount, bj as cloneObject, bk as currencyByCountry, bl as entriesOf, a1 as TaskStatuses, bm as useTransferInstrument, a0 as createLogger, a9 as useToastContext, e as useDataset, f as datasetIdentifier, K as Alert, N as Typography } from "./StoreProvider-
|
|
13
|
-
import { s as statusToTag, E as EmbeddedStatus } from "./EmbeddedStatus-
|
|
11
|
+
import { V as VerificationErrorAlert, u as useDeleteTransferInstrument } from "./VerificationErrorAlert-BEgXW4gA.js";
|
|
12
|
+
import { a as useApiContext, r as useQuery, x as httpGet, u as useI18nContext, bd as datasetUtilities, be as getCapabilityProblems, G as Button, bf as Modal, L as Loader, a4 as Card, bg as StructuredList, bh as Confirm, bi as mapTransferInstrumentToPayoutAccount, bj as cloneObject, bk as currencyByCountry, bl as entriesOf, a1 as TaskStatuses, bm as useTransferInstrument, a0 as createLogger, a9 as useToastContext, e as useDataset, f as datasetIdentifier, K as Alert, N as Typography } from "./StoreProvider-pdSV8sgb.js";
|
|
13
|
+
import { s as statusToTag, E as EmbeddedStatus } from "./EmbeddedStatus-BS-fmZSm.js";
|
|
14
14
|
import { useState } from "preact/hooks";
|
|
15
15
|
import { T as Tag } from "./Tag-DdkVScyr.js";
|
|
16
16
|
import { D as DetailViewLayout } from "./DetailViewLayout-Z9cuUp4X.js";
|
package/dist/{OnboardingDropinComponent-BUmJ_JVk.js → OnboardingDropinComponent-CDK7PYx0.js}
RENAMED
|
@@ -8,18 +8,18 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
|
-
import { a as useApiContext, r as useQuery, t as httpPost, v as useSettingsContext, w as SettingNames, x as httpGet, y as useLocalStorage, z as getLegalRepresentative, d as useLegalEntity, B as skipToken, C as doesLegalEntityRequiresLegalRepresentative, c as useTranslation, G as Button, H as Svg, J as Skeleton, K as Alert, M as translateStringOrObject, N as Typography, O as LegalEntityTypes, P as isPartOfTrustFromLegalEntity, U as hasSolePropInLegalEntity, V as hasOwnEntityAssociationOfType, W as isEmptyEntity, X as useAccountHolder, Y as CompanyTypesValues, Z as EntityTypes, _ as DATA_MISSING_DECISION_MAKER_ERROR_CODE_MAPPING, $ as TaskTypes, a0 as createLogger, a1 as TaskStatuses, a2 as IconButton, a3 as useAnalyticsContext, a4 as Card, a5 as handleKeys, a6 as LoaderWrapper, a7 as Icon, a8 as noop, a9 as useToastContext, aa as useExperimentsContext, ab as isInstantVerifiedAccount, ac as getObscuredAccountNumber, ad as useGetTaskStatus, ae as CardGroup, R as ROOT_LE, af as useCapabilityProblems, L as Loader, ag as useGlobalStore, ah as useSetting, ai as isPartOfUnincorporatedPartnership, aj as getOwnSignatories, ak as getOwnDecisionMakersLegalEntityIds, al as getOwnSolePropProblems, am as getOwnTrustProblems, an as getOwnUnincorporatedPartnershipProblems, ao as Image, ap as getOwnEntityAssociations, aq as TrustMemberTypes, ar as getLegalEntityNameBasedOnType, as as useAssociatedLegalEntity, u as useI18nContext, at as CountryCodes, au as isEmpty, av as mergeFieldMetadataIntoProps, aw as resolveFieldMetadata, ax as defaultFieldMetadata, ay as defaultFieldConfig, az as useForm, aA as getFieldProps, aB as nameFields, F as FormHeader, aC as ErrorPanel, aD as createFormUtils, aE as Field, aF as MultiSelectList, aG as makeSelectItemForRole, aH as RadioGroupCard, aI as TextArea, aJ as Name, aK as CountryField, aL as COUNTRY_FIELD, aM as LegalCompanyNameField, aN as LEGAL_COMPANY_NAME_FIELD, aO as summaryItem, aP as getRoleName, aQ as summaryStep, aR as FormNavigation, aS as Summary, aT as ActionBar, g as getLegalEntityCountry, aU as UnincorporatedPartnershipMemberTypes, aV as getDecisionMakerDescriptionMap, aW as TRUST_DEFAULT_DESCRIPTIONS_MAP, aX as getRoleTagVariant, aY as Trans, aZ as DEFAULT_TRUST_MEMBER_REQUIREMENTS, a_ as ContextGuidance, a$ as RadioGroup, b0 as useUnincorporatedPartnershipMembers, b1 as deleteUnincorporatedPartnershipMember, b2 as hasAllCapabilitiesResolved, b3 as hasRejectedCapabilities, b4 as objectsDeepEqual, b5 as TrustedFieldsProviders } from "./StoreProvider-
|
|
11
|
+
import { a as useApiContext, r as useQuery, t as httpPost, v as useSettingsContext, w as SettingNames, x as httpGet, y as useLocalStorage, z as getLegalRepresentative, d as useLegalEntity, B as skipToken, C as doesLegalEntityRequiresLegalRepresentative, c as useTranslation, G as Button, H as Svg, J as Skeleton, K as Alert, M as translateStringOrObject, N as Typography, O as LegalEntityTypes, P as isPartOfTrustFromLegalEntity, U as hasSolePropInLegalEntity, V as hasOwnEntityAssociationOfType, W as isEmptyEntity, X as useAccountHolder, Y as CompanyTypesValues, Z as EntityTypes, _ as DATA_MISSING_DECISION_MAKER_ERROR_CODE_MAPPING, $ as TaskTypes, a0 as createLogger, a1 as TaskStatuses, a2 as IconButton, a3 as useAnalyticsContext, a4 as Card, a5 as handleKeys, a6 as LoaderWrapper, a7 as Icon, a8 as noop, a9 as useToastContext, aa as useExperimentsContext, ab as isInstantVerifiedAccount, ac as getObscuredAccountNumber, ad as useGetTaskStatus, ae as CardGroup, R as ROOT_LE, af as useCapabilityProblems, L as Loader, ag as useGlobalStore, ah as useSetting, ai as isPartOfUnincorporatedPartnership, aj as getOwnSignatories, ak as getOwnDecisionMakersLegalEntityIds, al as getOwnSolePropProblems, am as getOwnTrustProblems, an as getOwnUnincorporatedPartnershipProblems, ao as Image, ap as getOwnEntityAssociations, aq as TrustMemberTypes, ar as getLegalEntityNameBasedOnType, as as useAssociatedLegalEntity, u as useI18nContext, at as CountryCodes, au as isEmpty, av as mergeFieldMetadataIntoProps, aw as resolveFieldMetadata, ax as defaultFieldMetadata, ay as defaultFieldConfig, az as useForm, aA as getFieldProps, aB as nameFields, F as FormHeader, aC as ErrorPanel, aD as createFormUtils, aE as Field, aF as MultiSelectList, aG as makeSelectItemForRole, aH as RadioGroupCard, aI as TextArea, aJ as Name, aK as CountryField, aL as COUNTRY_FIELD, aM as LegalCompanyNameField, aN as LEGAL_COMPANY_NAME_FIELD, aO as summaryItem, aP as getRoleName, aQ as summaryStep, aR as FormNavigation, aS as Summary, aT as ActionBar, g as getLegalEntityCountry, aU as UnincorporatedPartnershipMemberTypes, aV as getDecisionMakerDescriptionMap, aW as TRUST_DEFAULT_DESCRIPTIONS_MAP, aX as getRoleTagVariant, aY as Trans, aZ as DEFAULT_TRUST_MEMBER_REQUIREMENTS, a_ as ContextGuidance, a$ as RadioGroup, b0 as useUnincorporatedPartnershipMembers, b1 as deleteUnincorporatedPartnershipMember, b2 as hasAllCapabilitiesResolved, b3 as hasRejectedCapabilities, b4 as objectsDeepEqual, b5 as TrustedFieldsProviders } from "./StoreProvider-pdSV8sgb.js";
|
|
12
12
|
import { lazy, Suspense } from "preact/compat";
|
|
13
13
|
import { useMemo, useCallback, useEffect, useState, useRef } from "preact/hooks";
|
|
14
|
-
import { L as LandingLayout, u as useSingpassMyInfoLogin, i as isBafinSignatoryFlow, s as showIdNowModal } from "./bafinUtils-
|
|
14
|
+
import { L as LandingLayout, u as useSingpassMyInfoLogin, i as isBafinSignatoryFlow, s as showIdNowModal } from "./bafinUtils-T6TnU7m4.js";
|
|
15
15
|
import cx from "classnames";
|
|
16
|
-
import { u as useTermsOfServiceStatus, a as useTermsOfServiceAcceptanceInfos } from "./useTermsOfServiceStatus-
|
|
16
|
+
import { u as useTermsOfServiceStatus, a as useTermsOfServiceAcceptanceInfos } from "./useTermsOfServiceStatus-CMtyaC84.js";
|
|
17
17
|
import { signal } from "@preact/signals";
|
|
18
18
|
import { d as downloadFile } from "./file-CiG1D0zy.js";
|
|
19
|
-
import { V as VerificationErrorAlert, u as useDeleteTransferInstrument } from "./VerificationErrorAlert-
|
|
20
|
-
import { A as Avatar } from "./Avatar-
|
|
21
|
-
import { T as TaskItemStatus } from "./TaskItemStatus-
|
|
22
|
-
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
19
|
+
import { V as VerificationErrorAlert, u as useDeleteTransferInstrument } from "./VerificationErrorAlert-BEgXW4gA.js";
|
|
20
|
+
import { A as Avatar } from "./Avatar-Cd_8eqbA.js";
|
|
21
|
+
import { T as TaskItemStatus } from "./TaskItemStatus-DDwHsmh8.js";
|
|
22
|
+
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-D91nO-DU.js";
|
|
23
23
|
import { T as Tag } from "./Tag-DdkVScyr.js";
|
|
24
24
|
const getPciStatus = async (legalEntityId, baseUrl, data) => {
|
|
25
25
|
return httpPost(
|
|
@@ -3462,71 +3462,71 @@ const hasProgressedBeyondEntitySelection = (legalEntity) => {
|
|
|
3462
3462
|
return hasOwnEntityAssocation || !!hasOrganizationType;
|
|
3463
3463
|
};
|
|
3464
3464
|
const Introduction = lazy(
|
|
3465
|
-
async () => (await import("./Introduction-
|
|
3465
|
+
async () => (await import("./Introduction-CVSG_NSh.js")).Introduction
|
|
3466
3466
|
);
|
|
3467
3467
|
const BusinessTypeSelectionPage = lazy(
|
|
3468
|
-
async () => (await import("./BusinessTypeSelectionPage-
|
|
3468
|
+
async () => (await import("./BusinessTypeSelectionPage-uk6eDO5O.js")).BusinessTypeSelectionPage
|
|
3469
3469
|
);
|
|
3470
3470
|
const SingpassSelection = lazy(
|
|
3471
|
-
async () => (await import("./SingpassSelection-
|
|
3471
|
+
async () => (await import("./SingpassSelection-ChRvdPZF.js")).SingpassSelection
|
|
3472
3472
|
);
|
|
3473
3473
|
const AccountSetupRejected = lazy(
|
|
3474
|
-
async () => (await import("./AccountSetupRejected-
|
|
3474
|
+
async () => (await import("./AccountSetupRejected-Du83gH0_.js")).AccountSetupRejected
|
|
3475
3475
|
);
|
|
3476
3476
|
const DecisionMakers = lazy(
|
|
3477
|
-
async () => (await import("./DecisionMakers-
|
|
3477
|
+
async () => (await import("./DecisionMakers-DkXmcSK4.js")).DecisionMakers
|
|
3478
3478
|
);
|
|
3479
3479
|
const CustomerSupport = lazy(
|
|
3480
|
-
async () => (await import("./CustomerSupport-
|
|
3480
|
+
async () => (await import("./CustomerSupport-C4n96PMt.js")).CustomerSupport
|
|
3481
3481
|
);
|
|
3482
|
-
const Review = lazy(async () => (await import("./Review-
|
|
3482
|
+
const Review = lazy(async () => (await import("./Review-BCxsmMlz.js")).Review);
|
|
3483
3483
|
const SignPCIComponent = lazy(
|
|
3484
|
-
async () => (await import("./SignPCIComponent-
|
|
3484
|
+
async () => (await import("./SignPCIComponent-DzKFISwc.js")).SignPCIComponent
|
|
3485
3485
|
);
|
|
3486
3486
|
const AcceptTermsOfService = lazy(
|
|
3487
|
-
async () => (await import("./AcceptTermsOfServiceComponent-
|
|
3487
|
+
async () => (await import("./AcceptTermsOfServiceComponent-PDXa81vb.js")).AcceptTermsOfServiceComponent
|
|
3488
3488
|
);
|
|
3489
3489
|
const TaxReportingDropin = lazy(
|
|
3490
|
-
async () => (await import("./TaxReportingDropin-
|
|
3490
|
+
async () => (await import("./TaxReportingDropin-kPcT1Kxt.js")).TaxReportingDropin
|
|
3491
3491
|
);
|
|
3492
3492
|
const PayoutDetailsPage = lazy(
|
|
3493
|
-
async () => (await import("./StoreProvider-
|
|
3493
|
+
async () => (await import("./StoreProvider-pdSV8sgb.js").then((n) => n.fG)).PayoutDetailsPage
|
|
3494
3494
|
);
|
|
3495
3495
|
const RootBusinessDetailsPage = lazy(
|
|
3496
|
-
async () => (await import("./RootBusinessDetailsPage-
|
|
3496
|
+
async () => (await import("./RootBusinessDetailsPage-CIWtTZ1z.js")).RootBusinessDetailsPage
|
|
3497
3497
|
);
|
|
3498
3498
|
const SoleProprietorshipPage = lazy(
|
|
3499
|
-
async () => (await import("./SoleProprietorshipPage-
|
|
3499
|
+
async () => (await import("./SoleProprietorshipPage-CF_TKUfD.js")).SoleProprietorshipPage
|
|
3500
3500
|
);
|
|
3501
3501
|
const TrustMemberCompanyPage = lazy(
|
|
3502
|
-
async () => (await import("./TrustMemberCompanyPage-
|
|
3502
|
+
async () => (await import("./TrustMemberCompanyPage-6_h3PnmT.js")).TrustMemberCompanyPage
|
|
3503
3503
|
);
|
|
3504
3504
|
const UnincorporatedPartnershipMemberCompanyPage = lazy(
|
|
3505
|
-
async () => (await import("./UnincorporatedPartnershipMemberCompanyPage-
|
|
3505
|
+
async () => (await import("./UnincorporatedPartnershipMemberCompanyPage-k5Cc0TWw.js")).UnincorporatedPartnershipMemberCompanyPage
|
|
3506
3506
|
);
|
|
3507
3507
|
const BusinessFinancingPage = lazy(
|
|
3508
|
-
async () => (await import("./BusinessFinancingPage-
|
|
3508
|
+
async () => (await import("./BusinessFinancingPage-D7NMT1SV.js")).BusinessFinancingPage
|
|
3509
3509
|
);
|
|
3510
3510
|
const TrustDetailsPage = lazy(
|
|
3511
|
-
async () => (await import("./TrustDetailsPage-
|
|
3511
|
+
async () => (await import("./TrustDetailsPage-lnVmcLSH.js")).TrustDetailsPage
|
|
3512
3512
|
);
|
|
3513
3513
|
const SourceOfFundsPage = lazy(
|
|
3514
|
-
async () => (await import("./SourceOfFundsPage-
|
|
3514
|
+
async () => (await import("./SourceOfFundsPage-DuUOdcam.js")).SourceOfFundsPage
|
|
3515
3515
|
);
|
|
3516
3516
|
const RootIndividualDetailsPage = lazy(
|
|
3517
|
-
async () => (await import("./RootIndividualDetailsPage-
|
|
3517
|
+
async () => (await import("./RootIndividualDetailsPage-DGpYhDWo.js")).RootIndividualDetailsPage
|
|
3518
3518
|
);
|
|
3519
3519
|
const LegalRepresentativeDetailsPage = lazy(
|
|
3520
|
-
async () => (await import("./LegalRepresentativeDetailsPage-
|
|
3520
|
+
async () => (await import("./LegalRepresentativeDetailsPage-R9h6n8e1.js")).LegalRepresentativeDetailsPage
|
|
3521
3521
|
);
|
|
3522
3522
|
const TrustMemberIndividualPage = lazy(
|
|
3523
|
-
async () => (await import("./TrustMemberIndividualPage-
|
|
3523
|
+
async () => (await import("./TrustMemberIndividualPage-DPlQ6OnQ.js")).TrustMemberIndividualPage
|
|
3524
3524
|
);
|
|
3525
3525
|
const UnincorporatedPartnershipIndividualPage = lazy(
|
|
3526
|
-
async () => (await import("./UnincorporatedPartnershipIndividualPage-
|
|
3526
|
+
async () => (await import("./UnincorporatedPartnershipIndividualPage-Bgcip8u6.js")).UnincorporatedPartnershipIndividualPage
|
|
3527
3527
|
);
|
|
3528
3528
|
const DecisionMakerDetailsPage = lazy(
|
|
3529
|
-
async () => (await import("./DecisionMakerDetailsPage-
|
|
3529
|
+
async () => (await import("./DecisionMakerDetailsPage-IT7x1ZRJ.js")).DecisionMakerDetailsPage
|
|
3530
3530
|
);
|
|
3531
3531
|
function isIn(values, x) {
|
|
3532
3532
|
return values.includes(x);
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { useState } from "preact/hooks";
|
|
12
|
-
import { a as useApiContext, bo as useMutation, t as httpPost, c as useTranslation, a9 as useToastContext, a6 as LoaderWrapper, F as FormHeader, bu as Checkbox, aT as ActionBar } from "./StoreProvider-
|
|
13
|
-
import { D as DropinLayout } from "./OnboardingDropinComponent-
|
|
12
|
+
import { a as useApiContext, bo as useMutation, t as httpPost, c as useTranslation, a9 as useToastContext, a6 as LoaderWrapper, F as FormHeader, bu as Checkbox, aT as ActionBar } from "./StoreProvider-pdSV8sgb.js";
|
|
13
|
+
import { D as DropinLayout } from "./OnboardingDropinComponent-CDK7PYx0.js";
|
|
14
14
|
const confirmReview = async (legalEntityId, baseUrl) => {
|
|
15
15
|
return httpPost({
|
|
16
16
|
baseUrl,
|