@adyen/kyc-components 4.0.0-beta.4 → 4.0.0-beta.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AcceptTermsOfServiceComponent-ilX6szf9.js → AcceptTermsOfServiceComponent-Bjj3cdYk.js} +5 -5
- package/dist/{AccountSetupRejected-CQjHA557.js → AccountSetupRejected-CSQTnRkO.js} +2 -2
- package/dist/{Avatar-BfRRf9_a.js → Avatar-DL_WbHEO.js} +1 -1
- package/dist/{BusinessDetailsDropin-Dr580mIQ.js → BusinessDetailsDropin-JZ29P1pI.js} +6 -6
- package/dist/{BusinessFinancingComponent-CEIG-4wN.js → BusinessFinancingComponent-AAD0wzc0.js} +2 -2
- package/dist/{BusinessFinancingDropin-sC3QpkDx.js → BusinessFinancingDropin-MrOVSlPu.js} +8 -8
- package/dist/{BusinessFinancingPage-BIEuNfKE.js → BusinessFinancingPage-DWvnRK3f.js} +2 -2
- package/dist/{BusinessTypeSelectionPage-6sF2ce3o.js → BusinessTypeSelectionPage-DJ5bfr8m.js} +3 -3
- package/dist/{ContractViewer-BOxsPeO1.js → ContractViewer-z3KbE1Vf.js} +1 -1
- package/dist/{CreateIndividualComponent-t9eDVjpb.js → CreateIndividualComponent-CO0NnimV.js} +2 -2
- package/dist/{CreateTransferInstrumentComponent-D65FAcQz.js → CreateTransferInstrumentComponent-CpUB63yl.js} +1 -1
- package/dist/{CustomerSupport-CoLWcgoS.js → CustomerSupport-CUPUElh7.js} +4 -4
- package/dist/{DebugModal-DkICAsiu.js → DebugModal-BC-xS3Y1.js} +4 -4
- package/dist/{DecisionMakerDetailsPage-CvmwdHqV.js → DecisionMakerDetailsPage-DBsCSIAU.js} +2 -2
- package/dist/{DecisionMakers-DthVv8_t.js → DecisionMakers-5m_hI3ko.js} +6 -6
- package/dist/{EmbeddedStatus-DdGnEZzS.js → EmbeddedStatus-8yA_zZvi.js} +2 -2
- package/dist/{FormEndState-CUYkLBgX.js → FormEndState-s8NUp0x5.js} +1 -1
- package/dist/{FormFlow-CNXkXUwa.js → FormFlow-6j8qCSuK.js} +1 -1
- package/dist/{IndividualOnfidoDropin-DV2fJG5W.js → IndividualOnfidoDropin-B0G_nHXY.js} +10 -10
- package/dist/{Introduction-B1WXHc-7.js → Introduction-aPZmTW68.js} +2 -2
- package/dist/{LandingLayout-BC3pp_IY.js → LandingLayout-Xi3iuRMx.js} +1 -1
- package/dist/{LegalRepresentativeDetailsPage-9xm-XCto.js → LegalRepresentativeDetailsPage-Beh9_16w.js} +2 -2
- package/dist/{ManageIndividualComponent-zCo6mUQx.js → ManageIndividualComponent-C5ll1EKq.js} +3 -3
- package/dist/{ManageTermsOfServiceComponent-DpQXgPYk.js → ManageTermsOfServiceComponent-BYgWiamd.js} +3 -3
- package/dist/{ManageTransferInstrumentComponent-BKERoin1.js → ManageTransferInstrumentComponent-Ds1QZxxR.js} +3 -3
- package/dist/{OnboardingDropinComponent-DYdts9Sh.js → OnboardingDropinComponent-DLvTQVTE.js} +30 -30
- package/dist/{Review-jBq7cFVv.js → Review-DEeOefPe.js} +2 -2
- package/dist/{RootBusinessDetailsPage-BfO0Xb7n.js → RootBusinessDetailsPage-B2VBJ6x2.js} +6 -6
- package/dist/{RootIndividualDetailsPage-DzmHoceW.js → RootIndividualDetailsPage-Bi7xeUYJ.js} +2 -2
- package/dist/{SignPCIComponent-By4PazmA.js → SignPCIComponent-Dgnvmjbr.js} +4 -4
- package/dist/{SingpassSelection-BeUj9Kdy.js → SingpassSelection--f8TDTJH.js} +1 -1
- package/dist/{SoleProprietorshipPage-CZPeKEEl.js → SoleProprietorshipPage-DMYrwSK2.js} +2 -2
- package/dist/{SourceOfFundsPage-CI1qdFId.js → SourceOfFundsPage-avNGxkCP.js} +10 -10
- package/dist/{StoreProvider-O9jwxfG8.js → StoreProvider-QThALSrj.js} +4 -4
- package/dist/{TaskItemStatus-s7Z3DOGa.js → TaskItemStatus-DMPUHtWU.js} +1 -1
- package/dist/{TaskStatusIndicator-BanufME0.js → TaskStatusIndicator-Bfc4X_jG.js} +1 -1
- package/dist/{TaxReportingDropin-BQqDUn9I.js → TaxReportingDropin-B7FXPbLq.js} +7 -7
- package/dist/{TileGroup-tu04B8GK.js → TileGroup-DUoq3Lh4.js} +1 -1
- package/dist/{TrustDetailsPage-BQKZ_ZyU.js → TrustDetailsPage-J4MShc8J.js} +4 -4
- package/dist/{TrustMemberCompanyPage-C9aFr4Bm.js → TrustMemberCompanyPage-DKNQ_vHF.js} +3 -3
- package/dist/{TrustMemberIndividualPage-Ci7hwMA_.js → TrustMemberIndividualPage-CFo3Is4F.js} +2 -2
- package/dist/{UnincorporatedPartnershipIndividualPage-XQsgF3ou.js → UnincorporatedPartnershipIndividualPage-CfllAxUK.js} +2 -2
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-DFe_N3gH.js → UnincorporatedPartnershipMemberCompanyPage-779IUOW2.js} +2 -2
- package/dist/{VerificationErrorAlert-Ci0cObw1.js → VerificationErrorAlert-BtsLa_Ty.js} +1 -1
- package/dist/{ViewVerificationStatusComponent-_qQmZFDY.js → ViewVerificationStatusComponent-ZtYIqtnO.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/{getFieldsWithExistingData-7pZnHro-.js → getFieldsWithExistingData-CUMH8N-C.js} +1 -1
- package/dist/{hasDataChanged-v0hD-nEq.js → hasDataChanged-CTE9vdfO.js} +1 -1
- package/dist/{localizeDateString-BlZ_CtJI.js → localizeDateString-DaAGYSWR.js} +1 -1
- package/dist/{mapFinancialReportsToFinancialInformation-DrS0xN6i.js → mapFinancialReportsToFinancialInformation-Bo2uW3j7.js} +1 -1
- package/dist/{resolveEnvironment-DvSgDDo8.js → resolveEnvironment-D0tYcn_s.js} +3 -3
- package/dist/{rules-Meybz2dk.js → rules-DXnRkeBJ.js} +1 -1
- package/dist/{useMultiForm-BQmE_nfY.js → useMultiForm-CuBrV4Tk.js} +1 -1
- package/dist/{useOnboardingStatus-DJdV6bAG.js → useOnboardingStatus-DUB9BH7M.js} +1 -1
- package/dist/{useTermsOfServiceStatus-BX4GiDbz.js → useTermsOfServiceStatus-BblV2n-A.js} +1 -1
- package/dist/{useUpdateLegalEntity-BfnvHQJj.js → useUpdateLegalEntity-56mDjaQA.js} +1 -1
- package/dist/{utils-1zLleVnu.js → utils-CoNP20Mi.js} +3 -3
- package/dist/{validate-BweJRQFE.js → validate-BPEF-9EC.js} +1 -1
- package/dist/{validate-Cy6vBhF2.js → validate-Bgc1XuQl.js} +1 -1
- package/package.json +2 -2
package/dist/{AcceptTermsOfServiceComponent-ilX6szf9.js → AcceptTermsOfServiceComponent-Bjj3cdYk.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 { a as useApiContext, bo as useInvalidateRootLegalEntity, bp 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, bt as getLanguageCode, ay as useForm, K as Alert, G as Button, a6 as LoaderWrapper, aD as Field, bu as Select, bv as Checkbox, aS as ActionBar, bw as MaybeModal, be as ModalContent, bg as ModalFooter, bx as StepProgressIndicator, bh as Spacer, O as LegalEntityTypes, aj as getOwnSignatories, C as doesLegalEntityRequiresLegalRepresentative, z as getLegalRepresentative, aq as getLegalEntityNameBasedOnType, aQ 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 { C as ContractViewer, O as OutlinedIcon } from "./ContractViewer-
|
|
15
|
-
import { F as FormEndState } from "./FormEndState-
|
|
12
|
+
import { a as useApiContext, bo as useInvalidateRootLegalEntity, bp 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, bt as getLanguageCode, ay as useForm, K as Alert, G as Button, a6 as LoaderWrapper, aD as Field, bu as Select, bv as Checkbox, aS as ActionBar, bw as MaybeModal, be as ModalContent, bg as ModalFooter, bx as StepProgressIndicator, bh as Spacer, O as LegalEntityTypes, aj as getOwnSignatories, C as doesLegalEntityRequiresLegalRepresentative, z as getLegalRepresentative, aq as getLegalEntityNameBasedOnType, aQ as FormNavigation, d as useLegalEntity, R as ROOT_LE, L as Loader, $ as TaskTypes } from "./StoreProvider-QThALSrj.js";
|
|
13
|
+
import { u as useTermsOfServiceStatus, a as useTermsOfServiceAcceptanceInfos } from "./useTermsOfServiceStatus-BblV2n-A.js";
|
|
14
|
+
import { C as ContractViewer, O as OutlinedIcon } from "./ContractViewer-z3KbE1Vf.js";
|
|
15
|
+
import { F as FormEndState } from "./FormEndState-s8NUp0x5.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-DaAGYSWR.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 { 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-QThALSrj.js";
|
|
12
|
+
import { D as DropinLayout } from "./OnboardingDropinComponent-DLvTQVTE.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-QThALSrj.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, dw as MemoizedDocumentUpload, G as Button, bc as Modal, be as ModalContent, N as Typography, as as CountryCodes, Y as CompanyTypesValues, e_ as useGlobalData, eQ as getForms, $ as TaskTypes, e$ as BasicInformation, dq as getFormProps, f0 as CompanyStructure, f1 as AdditionalInformation, eK as MemoizedConstitutionalDocument, O as LegalEntityTypes, eJ as FinancialInformation, cg as getDocument, ch as mapExistingFile, ci as getPageName, bA as formatObject, bm as entriesOf, b8 as businessDetailsComponentsKeyMapping, f2 as solePropBusinessDetailsKeyMapping, f3 as getDefaultRegistrationNumberType, f4 as getDefaultVatNumberType, b3 as objectsDeepEqual, dY as operationalAddressIsSameIds, eM as COUNTRIES_USING_COMPANY_SEARCH, f5 as FIELDS_NEEDED_FOR_COMPANY_SEARCH, dg as keysOf, i as isUndefinedOrNull, dJ as isDateOlderThanAYear, aN as summaryItem, f6 as solePropBusinessDetailsApiKeyMapping, eZ as businessDetailsApiKeyMapping, f7 as isRegistrationNumberAbsentStateV4Scenario, dh as isEmpty, f8 as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, cl as createDocumentRequest, ba as datasetUtilities, cG as mapAddressLabels, eI as companyTypeMetadata, a0 as createLogger, cF as filterOutUnwantedAssociationsIfRootLE, bU as isValidationError, bV as processValidationErrors, bW as isMaintenanceModeError, f9 as getProp, at as isEmpty$1, fa as documentFormsIds, av as resolveFieldMetadata, e6 as registrationNumberDefaultFieldMetadata, fb as inferCompanyRegistrationNumberType, fc as getCompanyRegistrationNumberOptions, e7 as registrationNumberDefaultFieldConfig, cb as taxInformationDefaultFieldMetadata, fd as countryToTaxInfoTypeMap, cc as taxInformationDefaultFieldConfig, fe as getKeyForField, co as drop, ao as getOwnEntityAssociations, cP as doArraysMatch, cL as getFileExtention, X as useAccountHolder, a9 as useToastContext, a3 as useAnalyticsContext, aa as useExperimentsContext, v as useSettingsContext, a as useApiContext, dT as verifiedBusiness, br as useQueryClient, ff as useStateContext, w as SettingNames, fg as setIsBankAccountRequestedForOrganization, bP as getAssociatedLeAnalyticsPayload, bb as getCapabilityProblems, cp as documentApiUtils, cD as composePerScenarioFormConfigurations, cx as useScenarioConfiguration, eU as rules, cy as getPropsFromConfigurations, eV as useCompanySearch, fh as useCompanySelection, eW as useVerifyTin, bQ as getRequiredForms, bR as addValidityToForms, fi as useClearCompanyData, bS as useFormComposer, fj as setVerifiedBusiness, fk as FormWrapper, bi as Confirm, fl as solePropBusinessDetailsDocumentMapping, eY as businessDetailsDocumentMapping } from "./StoreProvider-
|
|
11
|
+
import { u as useI18nContext, dw as MemoizedDocumentUpload, G as Button, bc as Modal, be as ModalContent, N as Typography, as as CountryCodes, Y as CompanyTypesValues, e_ as useGlobalData, eQ as getForms, $ as TaskTypes, e$ as BasicInformation, dq as getFormProps, f0 as CompanyStructure, f1 as AdditionalInformation, eK as MemoizedConstitutionalDocument, O as LegalEntityTypes, eJ as FinancialInformation, cg as getDocument, ch as mapExistingFile, ci as getPageName, bA as formatObject, bm as entriesOf, b8 as businessDetailsComponentsKeyMapping, f2 as solePropBusinessDetailsKeyMapping, f3 as getDefaultRegistrationNumberType, f4 as getDefaultVatNumberType, b3 as objectsDeepEqual, dY as operationalAddressIsSameIds, eM as COUNTRIES_USING_COMPANY_SEARCH, f5 as FIELDS_NEEDED_FOR_COMPANY_SEARCH, dg as keysOf, i as isUndefinedOrNull, dJ as isDateOlderThanAYear, aN as summaryItem, f6 as solePropBusinessDetailsApiKeyMapping, eZ as businessDetailsApiKeyMapping, f7 as isRegistrationNumberAbsentStateV4Scenario, dh as isEmpty, f8 as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, cl as createDocumentRequest, ba as datasetUtilities, cG as mapAddressLabels, eI as companyTypeMetadata, a0 as createLogger, cF as filterOutUnwantedAssociationsIfRootLE, bU as isValidationError, bV as processValidationErrors, bW as isMaintenanceModeError, f9 as getProp, at as isEmpty$1, fa as documentFormsIds, av as resolveFieldMetadata, e6 as registrationNumberDefaultFieldMetadata, fb as inferCompanyRegistrationNumberType, fc as getCompanyRegistrationNumberOptions, e7 as registrationNumberDefaultFieldConfig, cb as taxInformationDefaultFieldMetadata, fd as countryToTaxInfoTypeMap, cc as taxInformationDefaultFieldConfig, fe as getKeyForField, co as drop, ao as getOwnEntityAssociations, cP as doArraysMatch, cL as getFileExtention, X as useAccountHolder, a9 as useToastContext, a3 as useAnalyticsContext, aa as useExperimentsContext, v as useSettingsContext, a as useApiContext, dT as verifiedBusiness, br as useQueryClient, ff as useStateContext, w as SettingNames, fg as setIsBankAccountRequestedForOrganization, bP as getAssociatedLeAnalyticsPayload, bb as getCapabilityProblems, cp as documentApiUtils, cD as composePerScenarioFormConfigurations, cx as useScenarioConfiguration, eU as rules, cy as getPropsFromConfigurations, eV as useCompanySearch, fh as useCompanySelection, eW as useVerifyTin, bQ as getRequiredForms, bR as addValidityToForms, fi as useClearCompanyData, bS as useFormComposer, fj as setVerifiedBusiness, fk as FormWrapper, bi as Confirm, fl as solePropBusinessDetailsDocumentMapping, eY as businessDetailsDocumentMapping } from "./StoreProvider-QThALSrj.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-56mDjaQA.js";
|
|
14
|
+
import { h as hasDataChanged } from "./hasDataChanged-CTE9vdfO.js";
|
|
15
|
+
import { o as organizationTypesToSkipCompanyStructureForm } from "./utils-CoNP20Mi.js";
|
|
16
|
+
import { g as getFieldsWithExistingData } from "./getFieldsWithExistingData-CUMH8N-C.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-Bo2uW3j7.js";
|
|
19
19
|
import { f as formatCurrency } from "./formatCurrency-CMOSdJMB.js";
|
|
20
20
|
const stripWhitespace = (str) => str.replace(/\s/g, "");
|
|
21
21
|
const toNormalizedString = (s) => stripWhitespace(s.toLowerCase());
|
package/dist/{BusinessFinancingComponent-CEIG-4wN.js → BusinessFinancingComponent-AAD0wzc0.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-QThALSrj.js";
|
|
13
|
+
import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-MrOVSlPu.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 { bz as reverseMapping, bA as formatObject, bB as isEeaCountry, O as LegalEntityTypes, bk as cloneObject, a as useApiContext, r as useQuery, x as httpGet, u as useI18nContext, aD as Field, bu as Select, c as useTranslation, N as Typography, M as translateStringOrObject, bC as LegalFormField, aC as createFormUtils, a_ as RadioGroup, bD as Link, bE as InputText, bl as currencyByCountry, bF as InputNumber, bG as Currency, bH as CURRENCY_FIELD, bI as InputCurrency, bJ as InputDate, bK as useFormContext, az as getFieldProps, aB as ErrorPanel, ba as datasetUtilities, bL as getAddressSchemaForCountry, bM as COUNTRIES_WITH_STATES_DATASET, bv as Checkbox, bN as Address, bO as getAddressSchemaLabelsByCountry, a3 as useAnalyticsContext, bo as useInvalidateRootLegalEntity, ar as useAssociatedLegalEntity, a9 as useToastContext, v as useSettingsContext, w as SettingNames, bP as getAssociatedLeAnalyticsPayload, bQ as getRequiredForms, bR as addValidityToForms, bS as useFormComposer, bT as trackNavigation, L as Loader, a7 as Icon, G as Button, bU as isValidationError, bV as processValidationErrors, bW 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-
|
|
19
|
-
import { b as businessFinancingMultiformRules } from "./validate-
|
|
12
|
+
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-56mDjaQA.js";
|
|
13
|
+
import { bz as reverseMapping, bA as formatObject, bB as isEeaCountry, O as LegalEntityTypes, bk as cloneObject, a as useApiContext, r as useQuery, x as httpGet, u as useI18nContext, aD as Field, bu as Select, c as useTranslation, N as Typography, M as translateStringOrObject, bC as LegalFormField, aC as createFormUtils, a_ as RadioGroup, bD as Link, bE as InputText, bl as currencyByCountry, bF as InputNumber, bG as Currency, bH as CURRENCY_FIELD, bI as InputCurrency, bJ as InputDate, bK as useFormContext, az as getFieldProps, aB as ErrorPanel, ba as datasetUtilities, bL as getAddressSchemaForCountry, bM as COUNTRIES_WITH_STATES_DATASET, bv as Checkbox, bN as Address, bO as getAddressSchemaLabelsByCountry, a3 as useAnalyticsContext, bo as useInvalidateRootLegalEntity, ar as useAssociatedLegalEntity, a9 as useToastContext, v as useSettingsContext, w as SettingNames, bP as getAssociatedLeAnalyticsPayload, bQ as getRequiredForms, bR as addValidityToForms, bS as useFormComposer, bT as trackNavigation, L as Loader, a7 as Icon, G as Button, bU as isValidationError, bV as processValidationErrors, bW as isMaintenanceModeError } from "./StoreProvider-QThALSrj.js";
|
|
14
|
+
import { F as FormContextProvider, a as FormFlow } from "./FormFlow-6j8qCSuK.js";
|
|
15
|
+
import { u as useMultiForm } from "./useMultiForm-CuBrV4Tk.js";
|
|
16
|
+
import { F as FormEndState } from "./FormEndState-s8NUp0x5.js";
|
|
17
|
+
import { l as localizeDateString } from "./localizeDateString-DaAGYSWR.js";
|
|
18
|
+
import { m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./mapFinancialReportsToFinancialInformation-Bo2uW3j7.js";
|
|
19
|
+
import { b as businessFinancingMultiformRules } from "./validate-BPEF-9EC.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-QThALSrj.js";
|
|
12
|
+
import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-MrOVSlPu.js";
|
|
13
13
|
const BusinessFinancingPage = ({
|
|
14
14
|
onSubmit,
|
|
15
15
|
handleHomeClick
|
package/dist/{BusinessTypeSelectionPage-6sF2ce3o.js → BusinessTypeSelectionPage-DJ5bfr8m.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, dP as getCapabilities, g as getLegalEntityCountry, O as LegalEntityTypes, ay as useForm, a6 as LoaderWrapper, N as Typography, aD as Field, dQ as EntityTypeRadioGroupCard, aG as RadioGroupCard, G as Button, bh 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, dP as getCapabilities, g as getLegalEntityCountry, O as LegalEntityTypes, ay as useForm, a6 as LoaderWrapper, N as Typography, aD as Field, dQ as EntityTypeRadioGroupCard, aG as RadioGroupCard, G as Button, bh as Spacer, a7 as Icon, d as useLegalEntity, R as ROOT_LE, L as Loader } from "./StoreProvider-QThALSrj.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-56mDjaQA.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-CoNP20Mi.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 { a7 as Icon } from "./StoreProvider-
|
|
11
|
+
import { a7 as Icon } from "./StoreProvider-QThALSrj.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-t9eDVjpb.js → CreateIndividualComponent-CO0NnimV.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, b5 as getProblemsForEntity, Z as EntityTypes, b6 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, b5 as getProblemsForEntity, Z as EntityTypes, b6 as isOnfidoAutofillFlowEnabled, $ as TaskTypes } from "./StoreProvider-QThALSrj.js";
|
|
12
|
+
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-B0G_nHXY.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, ar as useAssociatedLegalEntity, O as LegalEntityTypes, L as Loader, b9 as PayoutDetailsDropin, $ as TaskTypes } from "./StoreProvider-
|
|
12
|
+
import { d as useLegalEntity, ar as useAssociatedLegalEntity, O as LegalEntityTypes, L as Loader, b9 as PayoutDetailsDropin, $ as TaskTypes } from "./StoreProvider-QThALSrj.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, br as useQueryClient, av as resolveFieldMetadata, c9 as defaultFieldMetadata, ca as fieldConfig, ct as getAsyncPhoneValidationRules, F as FormHeader, df as ContactDetails, aS 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, br as useQueryClient, av as resolveFieldMetadata, c9 as defaultFieldMetadata, ca as fieldConfig, ct as getAsyncPhoneValidationRules, F as FormHeader, df as ContactDetails, aS as ActionBar, a0 as createLogger } from "./StoreProvider-QThALSrj.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-56mDjaQA.js";
|
|
14
|
+
import { c as contactDetailsValidationRules, u as useValidatePhoneNumberImperatively } from "./validate-Bgc1XuQl.js";
|
|
15
|
+
import { u as useMultiForm } from "./useMultiForm-CuBrV4Tk.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] = "feeb77e4-8d38-40e7-96e2-6fb51ed0ac2e", e._sentryDebugIdIdentifier = "sentry-dbid-feeb77e4-8d38-40e7-96e2-6fb51ed0ac2e");
|
|
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, bm as entriesOf, bE as InputText, c as useTranslation, dM as splitTaskIdentifier, aa as useExperimentsContext, v as useSettingsContext, u as useI18nContext, ag as useGlobalStore, dj as listToRecord, dN as valuesOf, bc as Modal, a0 as createLogger, a7 as Icon, w as SettingNames, dO as ExperimentNames } from "./StoreProvider-
|
|
12
|
+
import { G as Button, bm as entriesOf, bE as InputText, c as useTranslation, dM as splitTaskIdentifier, aa as useExperimentsContext, v as useSettingsContext, u as useI18nContext, ag as useGlobalStore, dj as listToRecord, dN as valuesOf, bc as Modal, a0 as createLogger, a7 as Icon, w as SettingNames, dO as ExperimentNames } from "./StoreProvider-QThALSrj.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-DMPUHtWU.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: "4.0.0-beta.
|
|
242
|
+
sdkVersion: "4.0.0-beta.5",
|
|
243
243
|
locale: i18n.locale,
|
|
244
244
|
rootLegalEntityId: rootLegalEntity.id
|
|
245
245
|
};
|
|
@@ -8,8 +8,8 @@
|
|
|
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, L as Loader, g as getLegalEntityCountry, b5 as getProblemsForEntity, b6 as isOnfidoAutofillFlowEnabled, a8 as noop, $ as TaskTypes, Z as EntityTypes } from "./StoreProvider-
|
|
12
|
-
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-
|
|
11
|
+
import { d as useLegalEntity, B as skipToken, af as useCapabilityProblems, aa as useExperimentsContext, L as Loader, g as getLegalEntityCountry, b5 as getProblemsForEntity, b6 as isOnfidoAutofillFlowEnabled, a8 as noop, $ as TaskTypes, Z as EntityTypes } from "./StoreProvider-QThALSrj.js";
|
|
12
|
+
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-B0G_nHXY.js";
|
|
13
13
|
function DecisionMakerDetailsPage({
|
|
14
14
|
decisionMakerId,
|
|
15
15
|
parentCompanyId,
|
|
@@ -9,13 +9,13 @@
|
|
|
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, bc as Modal, L as Loader, aO as getRoleName, G as Button, bi as Confirm, u as useI18nContext, N as Typography, K as Alert, a3 as useAnalyticsContext, H as Svg, R as ROOT_LE, ad as useGetTaskStatus, aa as useExperimentsContext, a9 as useToastContext, af as useCapabilityProblems, by as getOwnDecisionMakers, cv as useScenarios, cS as getAvailableDecisionMakerRoleTypes, $ as TaskTypes, cB as getAllowedDecisionMakerRoles, F as FormHeader, aZ as ContextGuidance, aX as Trans, cQ as DecisionMakerTypes, ae as CardGroup, aS 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, bc as Modal, L as Loader, aO as getRoleName, G as Button, bi as Confirm, u as useI18nContext, N as Typography, K as Alert, a3 as useAnalyticsContext, H as Svg, R as ROOT_LE, ad as useGetTaskStatus, aa as useExperimentsContext, a9 as useToastContext, af as useCapabilityProblems, by as getOwnDecisionMakers, cv as useScenarios, cS as getAvailableDecisionMakerRoleTypes, $ as TaskTypes, cB as getAllowedDecisionMakerRoles, F as FormHeader, aZ as ContextGuidance, aX as Trans, cQ as DecisionMakerTypes, ae as CardGroup, aS as ActionBar, O as LegalEntityTypes } from "./StoreProvider-QThALSrj.js";
|
|
13
|
+
import { a as useUpdateLegalEntity } from "./useUpdateLegalEntity-56mDjaQA.js";
|
|
14
|
+
import { e as useDataMissingRemediations, D as DropinLayout, E as EntityGuidanceStatus, i as iconStatus, f as EntityAssociation } from "./OnboardingDropinComponent-DLvTQVTE.js";
|
|
15
15
|
import cx from "classnames";
|
|
16
|
-
import { A as Avatar } from "./Avatar-
|
|
17
|
-
import { T as TaskStatusIndicator } from "./TaskStatusIndicator-
|
|
18
|
-
import { S as StackLayout, L as LandingLayout } from "./LandingLayout-
|
|
16
|
+
import { A as Avatar } from "./Avatar-DL_WbHEO.js";
|
|
17
|
+
import { T as TaskStatusIndicator } from "./TaskStatusIndicator-Bfc4X_jG.js";
|
|
18
|
+
import { S as StackLayout, L as LandingLayout } from "./LandingLayout-Xi3iuRMx.js";
|
|
19
19
|
const listItem = "adyen-kyc-list-item";
|
|
20
20
|
const listItemInteractive = "adyen-kyc-list-item-interactive";
|
|
21
21
|
const listItemText = "adyen-kyc-list-item-text";
|
|
@@ -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-DL_WbHEO.js";
|
|
13
|
+
import { a1 as TaskStatuses, c as useTranslation, J as Skeleton, N as Typography } from "./StoreProvider-QThALSrj.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 { defineSlots } from "named-slots";
|
|
13
|
-
import { a7 as Icon, A as AlertIcon } from "./StoreProvider-
|
|
13
|
+
import { a7 as Icon, A as AlertIcon } from "./StoreProvider-QThALSrj.js";
|
|
14
14
|
const formEndState = "adyen-kyc-form-end-state";
|
|
15
15
|
const endStateIcon = "adyen-kyc-end-state-icon";
|
|
16
16
|
const iconInfo = "adyen-kyc-icon-info";
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { useMemo, useRef, useState } from "preact/hooks";
|
|
12
|
-
import { dC as FormContext, a3 as useAnalyticsContext, c as useTranslation, bw as MaybeModal, a6 as LoaderWrapper, dD as FormRouterContextProvider, aR as Summary, G as Button, a2 as IconButton, bi as Confirm } from "./StoreProvider-
|
|
12
|
+
import { dC as FormContext, a3 as useAnalyticsContext, c as useTranslation, bw as MaybeModal, a6 as LoaderWrapper, dD as FormRouterContextProvider, aR as Summary, G as Button, a2 as IconButton, bi as Confirm } from "./StoreProvider-QThALSrj.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 { a as useApiContext, bp as useMutation, t as httpPost, bX as matchesRegex, bY as trimValWithOneSpace, bZ as NO_ALPHABET_REGEX, b_ as EMOJI_REGEX, b$ as hasRepeatedCharacters, c0 as isInvalidName, c1 as INDIVIDUAL_VALID_CHAR_REGEX, c2 as getFormattingRegEx, c3 as SPECIAL_CHARS, c4 as standardKatakanaValidator, c5 as standardKanjiValidator, av as resolveFieldMetadata, as as CountryCodes, c6 as getSSNType, at as isEmpty, c7 as defaultFieldMetadata, c8 as defaultFieldConfig, c9 as defaultFieldMetadata$1, ca as fieldConfig, $ as TaskTypes, cb as taxInformationDefaultFieldMetadata, O as LegalEntityTypes, cc as taxInformationDefaultFieldConfig, cd as getAgeToday, ce as euCountries, cf as getIdDocument, cg as getDocument, ch as mapExistingFile, ci as getPageName, cj as getLocalizedIdDocumentTypeOptions, ck as getPage, cl as createDocumentRequest, bA as formatObject, cm as individualApiKeyMapping, b7 as individualComponentsKeyMapping, bz as reverseMapping, cn as getNomineeFromAssociation, co as drop, a0 as createLogger, X as useAccountHolder, u as useI18nContext, a3 as useAnalyticsContext, a9 as useToastContext, aa as useExperimentsContext, v as useSettingsContext, cp as documentApiUtils, cq as useProviderStatus, g as getLegalEntityCountry, bP as getAssociatedLeAnalyticsPayload, cr as addressValidators, cs as getAsyncIdNumberValidationRule, ct as getAsyncPhoneValidationRules, cu as addressFormatters, cv as useScenarios, cw as setHasMotionCaptureScenario, cx as useScenarioConfiguration, cy as getPropsFromConfigurations, cz as individualForms, cA as showIndividualMotionCapture, bQ as getRequiredForms, bR as addValidityToForms, cB as getAllowedDecisionMakerRoles, ba as datasetUtilities, bS as useFormComposer, bT as trackNavigation, cC as Individual, cD as composePerScenarioFormConfigurations, cE as omitObscuredFieldsIfUnchanged, cF as filterOutUnwantedAssociationsIfRootLE, bU as isValidationError, bV as processValidationErrors, bW as isMaintenanceModeError, bk as cloneObject, cG as mapAddressLabels, cH as individualDocumentForms, cI as individualDocumentMapping, cJ as individualObscuredFields, cK as mergeAttachments, cL as getFileExtention, ao as getOwnEntityAssociations, cM as hasNomineesChanged, cN as attachNomineeToRole, cO as idVerificationProviderId, cP as doArraysMatch, N as Typography, G as Button, aD as Field, cQ as DecisionMakerTypes, cR as createFormRules, cS as getAvailableDecisionMakerRoleTypes, cT as allowedCountriesForNominee, bL as getAddressSchemaForCountry, bM as COUNTRIES_WITH_STATES_DATASET, cU as Scenarios, cV as isLowRiskCountry, bu as Select, cW as isTruthyValidator, cX as licenseCardNumberDefaultMetadata, cY as licenseCardNumberDefaultConfig, au as mergeFieldMetadataIntoProps, c as useTranslation, aC as createFormUtils, bK as useFormContext, az as getFieldProps, cZ as idNumberFields, c_ as IdentityNumber, c$ as additionallIdNumberOptions, d0 as MaskedInput, bJ as InputDate, d1 as formatDateObj, d2 as DriversLicense, d3 as addressFields, b as useAllowedCountries, w as SettingNames, F as FormHeader, aB as ErrorPanel, aJ as CountryField, bN as Address, bO as getAddressSchemaLabelsByCountry, bD as Link, bi as Confirm, d4 as getAgeRangeForLegalRepresentative, d5 as IndividualIdNumberTypeSelector, d6 as TaxInformationField, bE as InputText, d7 as PatriotActDisclosure, d8 as isLegalRepresentativeNeeded, aA as nameFields, d9 as decisionMakerRoleFields, da as nomineeFields, db as contactDetailFields, K as Alert, aZ as ContextGuidance, b4 as TrustedFieldsProviders, dc as DecisionMakerRole, dd as NomineeDecisionMakerRole, de as LocalizedNameFields, df as ContactDetails, dg as keysOf, b3 as objectsDeepEqual, dh as isEmpty$1, di as RadioWithLabel, dj as listToRecord, bc as Modal, dk as pick, dl as IdVerification, bh as Spacer, a2 as IconButton, e as useDataset, f as datasetIdentifier, L as Loader, H as Svg, dm as IdDocumentManualUpload, M as translateStringOrObject, aX as Trans, dn as idDocumentUploadFields, dp as useFormRouterContext, dq as getFormProps, dr as useCapabilities, ds as hasMotionCaptureScenario, dt as setShowIndividualMotionCapture, du as shouldShowMotionCapture, dv as MemoizedProofOfRelationship, dw as MemoizedDocumentUpload, dx as MemoizedProofOfResidencyUpload, dy as individualOnfidoApiKeyMapping, dz as individualOnfidoBaseMapping, br as useQueryClient, dA as individualOnfidoDocumentMapping, dB as individualOnfidoObscuredFields } from "./StoreProvider-
|
|
13
|
-
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
14
|
-
import { c as contactDetailsValidationRules, u as useValidatePhoneNumberImperatively } from "./validate-
|
|
15
|
-
import { F as FormContextProvider, a as FormFlow } from "./FormFlow-
|
|
16
|
-
import { u as useSingpassMyInfoLogin, L as LandingLayout } from "./LandingLayout-
|
|
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, bp as useMutation, t as httpPost, bX as matchesRegex, bY as trimValWithOneSpace, bZ as NO_ALPHABET_REGEX, b_ as EMOJI_REGEX, b$ as hasRepeatedCharacters, c0 as isInvalidName, c1 as INDIVIDUAL_VALID_CHAR_REGEX, c2 as getFormattingRegEx, c3 as SPECIAL_CHARS, c4 as standardKatakanaValidator, c5 as standardKanjiValidator, av as resolveFieldMetadata, as as CountryCodes, c6 as getSSNType, at as isEmpty, c7 as defaultFieldMetadata, c8 as defaultFieldConfig, c9 as defaultFieldMetadata$1, ca as fieldConfig, $ as TaskTypes, cb as taxInformationDefaultFieldMetadata, O as LegalEntityTypes, cc as taxInformationDefaultFieldConfig, cd as getAgeToday, ce as euCountries, cf as getIdDocument, cg as getDocument, ch as mapExistingFile, ci as getPageName, cj as getLocalizedIdDocumentTypeOptions, ck as getPage, cl as createDocumentRequest, bA as formatObject, cm as individualApiKeyMapping, b7 as individualComponentsKeyMapping, bz as reverseMapping, cn as getNomineeFromAssociation, co as drop, a0 as createLogger, X as useAccountHolder, u as useI18nContext, a3 as useAnalyticsContext, a9 as useToastContext, aa as useExperimentsContext, v as useSettingsContext, cp as documentApiUtils, cq as useProviderStatus, g as getLegalEntityCountry, bP as getAssociatedLeAnalyticsPayload, cr as addressValidators, cs as getAsyncIdNumberValidationRule, ct as getAsyncPhoneValidationRules, cu as addressFormatters, cv as useScenarios, cw as setHasMotionCaptureScenario, cx as useScenarioConfiguration, cy as getPropsFromConfigurations, cz as individualForms, cA as showIndividualMotionCapture, bQ as getRequiredForms, bR as addValidityToForms, cB as getAllowedDecisionMakerRoles, ba as datasetUtilities, bS as useFormComposer, bT as trackNavigation, cC as Individual, cD as composePerScenarioFormConfigurations, cE as omitObscuredFieldsIfUnchanged, cF as filterOutUnwantedAssociationsIfRootLE, bU as isValidationError, bV as processValidationErrors, bW as isMaintenanceModeError, bk as cloneObject, cG as mapAddressLabels, cH as individualDocumentForms, cI as individualDocumentMapping, cJ as individualObscuredFields, cK as mergeAttachments, cL as getFileExtention, ao as getOwnEntityAssociations, cM as hasNomineesChanged, cN as attachNomineeToRole, cO as idVerificationProviderId, cP as doArraysMatch, N as Typography, G as Button, aD as Field, cQ as DecisionMakerTypes, cR as createFormRules, cS as getAvailableDecisionMakerRoleTypes, cT as allowedCountriesForNominee, bL as getAddressSchemaForCountry, bM as COUNTRIES_WITH_STATES_DATASET, cU as Scenarios, cV as isLowRiskCountry, bu as Select, cW as isTruthyValidator, cX as licenseCardNumberDefaultMetadata, cY as licenseCardNumberDefaultConfig, au as mergeFieldMetadataIntoProps, c as useTranslation, aC as createFormUtils, bK as useFormContext, az as getFieldProps, cZ as idNumberFields, c_ as IdentityNumber, c$ as additionallIdNumberOptions, d0 as MaskedInput, bJ as InputDate, d1 as formatDateObj, d2 as DriversLicense, d3 as addressFields, b as useAllowedCountries, w as SettingNames, F as FormHeader, aB as ErrorPanel, aJ as CountryField, bN as Address, bO as getAddressSchemaLabelsByCountry, bD as Link, bi as Confirm, d4 as getAgeRangeForLegalRepresentative, d5 as IndividualIdNumberTypeSelector, d6 as TaxInformationField, bE as InputText, d7 as PatriotActDisclosure, d8 as isLegalRepresentativeNeeded, aA as nameFields, d9 as decisionMakerRoleFields, da as nomineeFields, db as contactDetailFields, K as Alert, aZ as ContextGuidance, b4 as TrustedFieldsProviders, dc as DecisionMakerRole, dd as NomineeDecisionMakerRole, de as LocalizedNameFields, df as ContactDetails, dg as keysOf, b3 as objectsDeepEqual, dh as isEmpty$1, di as RadioWithLabel, dj as listToRecord, bc as Modal, dk as pick, dl as IdVerification, bh as Spacer, a2 as IconButton, e as useDataset, f as datasetIdentifier, L as Loader, H as Svg, dm as IdDocumentManualUpload, M as translateStringOrObject, aX as Trans, dn as idDocumentUploadFields, dp as useFormRouterContext, dq as getFormProps, dr as useCapabilities, ds as hasMotionCaptureScenario, dt as setShowIndividualMotionCapture, du as shouldShowMotionCapture, dv as MemoizedProofOfRelationship, dw as MemoizedDocumentUpload, dx as MemoizedProofOfResidencyUpload, dy as individualOnfidoApiKeyMapping, dz as individualOnfidoBaseMapping, br as useQueryClient, dA as individualOnfidoDocumentMapping, dB as individualOnfidoObscuredFields } from "./StoreProvider-QThALSrj.js";
|
|
13
|
+
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-56mDjaQA.js";
|
|
14
|
+
import { c as contactDetailsValidationRules, u as useValidatePhoneNumberImperatively } from "./validate-Bgc1XuQl.js";
|
|
15
|
+
import { F as FormContextProvider, a as FormFlow } from "./FormFlow-6j8qCSuK.js";
|
|
16
|
+
import { u as useSingpassMyInfoLogin, L as LandingLayout } from "./LandingLayout-Xi3iuRMx.js";
|
|
17
|
+
import { u as useMultiForm } from "./useMultiForm-CuBrV4Tk.js";
|
|
18
|
+
import { g as getFieldsWithExistingData } from "./getFieldsWithExistingData-CUMH8N-C.js";
|
|
19
|
+
import { l as localizeDateString } from "./localizeDateString-DaAGYSWR.js";
|
|
20
|
+
import { r as rules, D as DECISION_MAKER_TYPES_WITH_JOBTITLE$1 } from "./rules-DXnRkeBJ.js";
|
|
21
21
|
import { signal, computed } from "@preact/signals";
|
|
22
|
-
import { T as TileGroup } from "./TileGroup-
|
|
22
|
+
import { T as TileGroup } from "./TileGroup-DUoq3Lh4.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 { $ as TaskTypes, O as LegalEntityTypes, c as useTranslation, d as useLegalEntity, R as ROOT_LE, L as Loader, a3 as useAnalyticsContext, bx 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, bx as StepProgressIndicator, G as Button } from "./StoreProvider-QThALSrj.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-DLvTQVTE.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,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useReducer, useMemo } from "preact/hooks";
|
|
11
|
-
import { a as useApiContext, r as useQuery, t as httpPost, aa as useExperimentsContext, g as getLegalEntityCountry, as as CountryCodes, P as isPartOfTrustFromLegalEntity, O as LegalEntityTypes, U as hasSolePropInLegalEntity, b4 as TrustedFieldsProviders, b7 as individualComponentsKeyMapping, b8 as businessDetailsComponentsKeyMapping, N as Typography } from "./StoreProvider-
|
|
11
|
+
import { a as useApiContext, r as useQuery, t as httpPost, aa as useExperimentsContext, g as getLegalEntityCountry, as as CountryCodes, P as isPartOfTrustFromLegalEntity, O as LegalEntityTypes, U as hasSolePropInLegalEntity, b4 as TrustedFieldsProviders, b7 as individualComponentsKeyMapping, b8 as businessDetailsComponentsKeyMapping, N as Typography } from "./StoreProvider-QThALSrj.js";
|
|
12
12
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
13
13
|
import cx from "classnames";
|
|
14
14
|
async function convertToSingpassLinkResponse(openIdInitiateResponse) {
|
|
@@ -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, b5 as getProblemsForEntity, Z as EntityTypes, b6 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, b5 as getProblemsForEntity, Z as EntityTypes, b6 as isOnfidoAutofillFlowEnabled, a8 as noop, $ as TaskTypes } from "./StoreProvider-QThALSrj.js";
|
|
12
|
+
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-B0G_nHXY.js";
|
|
13
13
|
function LegalRepresentativeDetailsPage({
|
|
14
14
|
legalRepresentativeId,
|
|
15
15
|
asModal = false,
|
package/dist/{ManageIndividualComponent-zCo6mUQx.js → ManageIndividualComponent-C5ll1EKq.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-QThALSrj.js";
|
|
12
|
+
import { u as useOnboardingStatus } from "./useOnboardingStatus-DUB9BH7M.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-8yA_zZvi.js";
|
|
15
15
|
function ManageIndividualComponent({
|
|
16
16
|
legalEntityId,
|
|
17
17
|
onClick
|
package/dist/{ManageTermsOfServiceComponent-DpQXgPYk.js → ManageTermsOfServiceComponent-BYgWiamd.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-BblV2n-A.js";
|
|
12
|
+
import { a as useApiContext, u as useI18nContext } from "./StoreProvider-QThALSrj.js";
|
|
13
|
+
import { E as EmbeddedStatus } from "./EmbeddedStatus-8yA_zZvi.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, ba as datasetUtilities, bb as getCapabilityProblems, bc as Modal, bd as ModalHeader, N as Typography, be as ModalContent, L as Loader, G as Button, a4 as Card, bf as StructuredList, bg as ModalFooter, bh as Spacer, a2 as IconButton, bi as Confirm, bj as mapTransferInstrumentToPayoutAccount, bk as cloneObject, bl as currencyByCountry, bm as entriesOf, a1 as TaskStatuses, bn as useTransferInstrument, a0 as createLogger, a9 as useToastContext, e as useDataset, f as datasetIdentifier, K as Alert } from "./StoreProvider-
|
|
13
|
-
import { s as statusToTag, E as EmbeddedStatus } from "./EmbeddedStatus-
|
|
11
|
+
import { V as VerificationErrorAlert, u as useDeleteTransferInstrument } from "./VerificationErrorAlert-BtsLa_Ty.js";
|
|
12
|
+
import { a as useApiContext, r as useQuery, x as httpGet, u as useI18nContext, ba as datasetUtilities, bb as getCapabilityProblems, bc as Modal, bd as ModalHeader, N as Typography, be as ModalContent, L as Loader, G as Button, a4 as Card, bf as StructuredList, bg as ModalFooter, bh as Spacer, a2 as IconButton, bi as Confirm, bj as mapTransferInstrumentToPayoutAccount, bk as cloneObject, bl as currencyByCountry, bm as entriesOf, a1 as TaskStatuses, bn as useTransferInstrument, a0 as createLogger, a9 as useToastContext, e as useDataset, f as datasetIdentifier, K as Alert } from "./StoreProvider-QThALSrj.js";
|
|
13
|
+
import { s as statusToTag, E as EmbeddedStatus } from "./EmbeddedStatus-8yA_zZvi.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-DYdts9Sh.js → OnboardingDropinComponent-DLvTQVTE.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 getOwnEntityAssociations, ap as TrustMemberTypes, aq as getLegalEntityNameBasedOnType, ar as useAssociatedLegalEntity, u as useI18nContext, as as CountryCodes, at as isEmpty, au as mergeFieldMetadataIntoProps, av as resolveFieldMetadata, aw as defaultFieldMetadata, ax as defaultFieldConfig, ay as useForm, az as getFieldProps, aA as nameFields, F as FormHeader, aB as ErrorPanel, aC as createFormUtils, aD as Field, aE as MultiSelectList, aF as makeSelectItemForRole, aG as RadioGroupCard, aH as TextArea, aI as Name, aJ as CountryField, aK as COUNTRY_FIELD, aL as LegalCompanyNameField, aM as LEGAL_COMPANY_NAME_FIELD, aN as summaryItem, aO as getRoleName, aP as summaryStep, aQ as FormNavigation, aR as Summary, aS as ActionBar, g as getLegalEntityCountry, aT as UnincorporatedPartnershipMemberTypes, aU as getDecisionMakerDescriptionMap, aV as TRUST_DEFAULT_DESCRIPTIONS_MAP, aW as getRoleTagVariant, aX as Trans, aY as DEFAULT_TRUST_MEMBER_REQUIREMENTS, aZ as ContextGuidance, a_ as RadioGroup, a$ as useUnincorporatedPartnershipMembers, b0 as deleteUnincorporatedPartnershipMember, b1 as hasAllCapabilitiesResolved, b2 as hasRejectedCapabilities, b3 as objectsDeepEqual, b4 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 getOwnEntityAssociations, ap as TrustMemberTypes, aq as getLegalEntityNameBasedOnType, ar as useAssociatedLegalEntity, u as useI18nContext, as as CountryCodes, at as isEmpty, au as mergeFieldMetadataIntoProps, av as resolveFieldMetadata, aw as defaultFieldMetadata, ax as defaultFieldConfig, ay as useForm, az as getFieldProps, aA as nameFields, F as FormHeader, aB as ErrorPanel, aC as createFormUtils, aD as Field, aE as MultiSelectList, aF as makeSelectItemForRole, aG as RadioGroupCard, aH as TextArea, aI as Name, aJ as CountryField, aK as COUNTRY_FIELD, aL as LegalCompanyNameField, aM as LEGAL_COMPANY_NAME_FIELD, aN as summaryItem, aO as getRoleName, aP as summaryStep, aQ as FormNavigation, aR as Summary, aS as ActionBar, g as getLegalEntityCountry, aT as UnincorporatedPartnershipMemberTypes, aU as getDecisionMakerDescriptionMap, aV as TRUST_DEFAULT_DESCRIPTIONS_MAP, aW as getRoleTagVariant, aX as Trans, aY as DEFAULT_TRUST_MEMBER_REQUIREMENTS, aZ as ContextGuidance, a_ as RadioGroup, a$ as useUnincorporatedPartnershipMembers, b0 as deleteUnincorporatedPartnershipMember, b1 as hasAllCapabilitiesResolved, b2 as hasRejectedCapabilities, b3 as objectsDeepEqual, b4 as TrustedFieldsProviders } from "./StoreProvider-QThALSrj.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 } from "./LandingLayout-
|
|
14
|
+
import { L as LandingLayout, u as useSingpassMyInfoLogin } from "./LandingLayout-Xi3iuRMx.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-BblV2n-A.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-BtsLa_Ty.js";
|
|
20
|
+
import { A as Avatar } from "./Avatar-DL_WbHEO.js";
|
|
21
|
+
import { T as TaskItemStatus } from "./TaskItemStatus-DMPUHtWU.js";
|
|
22
|
+
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-56mDjaQA.js";
|
|
23
23
|
import { T as Tag } from "./Tag-DdkVScyr.js";
|
|
24
24
|
const getPciStatus = async (legalEntityId, baseUrl, data) => {
|
|
25
25
|
return httpPost(
|
|
@@ -3490,71 +3490,71 @@ const hasProgressedBeyondEntitySelection = (legalEntity) => {
|
|
|
3490
3490
|
return hasOwnEntityAssocation || !!hasOrganizationType;
|
|
3491
3491
|
};
|
|
3492
3492
|
const Introduction = lazy(
|
|
3493
|
-
async () => (await import("./Introduction-
|
|
3493
|
+
async () => (await import("./Introduction-aPZmTW68.js")).Introduction
|
|
3494
3494
|
);
|
|
3495
3495
|
const BusinessTypeSelectionPage = lazy(
|
|
3496
|
-
async () => (await import("./BusinessTypeSelectionPage-
|
|
3496
|
+
async () => (await import("./BusinessTypeSelectionPage-DJ5bfr8m.js")).BusinessTypeSelectionPage
|
|
3497
3497
|
);
|
|
3498
3498
|
const SingpassSelection = lazy(
|
|
3499
|
-
async () => (await import("./SingpassSelection
|
|
3499
|
+
async () => (await import("./SingpassSelection--f8TDTJH.js")).SingpassSelection
|
|
3500
3500
|
);
|
|
3501
3501
|
const AccountSetupRejected = lazy(
|
|
3502
|
-
async () => (await import("./AccountSetupRejected-
|
|
3502
|
+
async () => (await import("./AccountSetupRejected-CSQTnRkO.js")).AccountSetupRejected
|
|
3503
3503
|
);
|
|
3504
3504
|
const DecisionMakers = lazy(
|
|
3505
|
-
async () => (await import("./DecisionMakers-
|
|
3505
|
+
async () => (await import("./DecisionMakers-5m_hI3ko.js")).DecisionMakers
|
|
3506
3506
|
);
|
|
3507
3507
|
const CustomerSupport = lazy(
|
|
3508
|
-
async () => (await import("./CustomerSupport-
|
|
3508
|
+
async () => (await import("./CustomerSupport-CUPUElh7.js")).CustomerSupport
|
|
3509
3509
|
);
|
|
3510
|
-
const Review = lazy(async () => (await import("./Review-
|
|
3510
|
+
const Review = lazy(async () => (await import("./Review-DEeOefPe.js")).Review);
|
|
3511
3511
|
const SignPCIComponent = lazy(
|
|
3512
|
-
async () => (await import("./SignPCIComponent-
|
|
3512
|
+
async () => (await import("./SignPCIComponent-Dgnvmjbr.js")).SignPCIComponent
|
|
3513
3513
|
);
|
|
3514
3514
|
const AcceptTermsOfService = lazy(
|
|
3515
|
-
async () => (await import("./AcceptTermsOfServiceComponent-
|
|
3515
|
+
async () => (await import("./AcceptTermsOfServiceComponent-Bjj3cdYk.js")).AcceptTermsOfServiceComponent
|
|
3516
3516
|
);
|
|
3517
3517
|
const TaxReportingDropin = lazy(
|
|
3518
|
-
async () => (await import("./TaxReportingDropin-
|
|
3518
|
+
async () => (await import("./TaxReportingDropin-B7FXPbLq.js")).TaxReportingDropin
|
|
3519
3519
|
);
|
|
3520
3520
|
const PayoutDetailsPage = lazy(
|
|
3521
|
-
async () => (await import("./StoreProvider-
|
|
3521
|
+
async () => (await import("./StoreProvider-QThALSrj.js").then((n) => n.fD)).PayoutDetailsPage
|
|
3522
3522
|
);
|
|
3523
3523
|
const RootBusinessDetailsPage = lazy(
|
|
3524
|
-
async () => (await import("./RootBusinessDetailsPage-
|
|
3524
|
+
async () => (await import("./RootBusinessDetailsPage-B2VBJ6x2.js")).RootBusinessDetailsPage
|
|
3525
3525
|
);
|
|
3526
3526
|
const SoleProprietorshipPage = lazy(
|
|
3527
|
-
async () => (await import("./SoleProprietorshipPage-
|
|
3527
|
+
async () => (await import("./SoleProprietorshipPage-DMYrwSK2.js")).SoleProprietorshipPage
|
|
3528
3528
|
);
|
|
3529
3529
|
const TrustMemberCompanyPage = lazy(
|
|
3530
|
-
async () => (await import("./TrustMemberCompanyPage-
|
|
3530
|
+
async () => (await import("./TrustMemberCompanyPage-DKNQ_vHF.js")).TrustMemberCompanyPage
|
|
3531
3531
|
);
|
|
3532
3532
|
const UnincorporatedPartnershipMemberCompanyPage = lazy(
|
|
3533
|
-
async () => (await import("./UnincorporatedPartnershipMemberCompanyPage-
|
|
3533
|
+
async () => (await import("./UnincorporatedPartnershipMemberCompanyPage-779IUOW2.js")).UnincorporatedPartnershipMemberCompanyPage
|
|
3534
3534
|
);
|
|
3535
3535
|
const BusinessFinancingPage = lazy(
|
|
3536
|
-
async () => (await import("./BusinessFinancingPage-
|
|
3536
|
+
async () => (await import("./BusinessFinancingPage-DWvnRK3f.js")).BusinessFinancingPage
|
|
3537
3537
|
);
|
|
3538
3538
|
const TrustDetailsPage = lazy(
|
|
3539
|
-
async () => (await import("./TrustDetailsPage-
|
|
3539
|
+
async () => (await import("./TrustDetailsPage-J4MShc8J.js")).TrustDetailsPage
|
|
3540
3540
|
);
|
|
3541
3541
|
const SourceOfFundsPage = lazy(
|
|
3542
|
-
async () => (await import("./SourceOfFundsPage-
|
|
3542
|
+
async () => (await import("./SourceOfFundsPage-avNGxkCP.js")).SourceOfFundsPage
|
|
3543
3543
|
);
|
|
3544
3544
|
const RootIndividualDetailsPage = lazy(
|
|
3545
|
-
async () => (await import("./RootIndividualDetailsPage-
|
|
3545
|
+
async () => (await import("./RootIndividualDetailsPage-Bi7xeUYJ.js")).RootIndividualDetailsPage
|
|
3546
3546
|
);
|
|
3547
3547
|
const LegalRepresentativeDetailsPage = lazy(
|
|
3548
|
-
async () => (await import("./LegalRepresentativeDetailsPage-
|
|
3548
|
+
async () => (await import("./LegalRepresentativeDetailsPage-Beh9_16w.js")).LegalRepresentativeDetailsPage
|
|
3549
3549
|
);
|
|
3550
3550
|
const TrustMemberIndividualPage = lazy(
|
|
3551
|
-
async () => (await import("./TrustMemberIndividualPage-
|
|
3551
|
+
async () => (await import("./TrustMemberIndividualPage-CFo3Is4F.js")).TrustMemberIndividualPage
|
|
3552
3552
|
);
|
|
3553
3553
|
const UnincorporatedPartnershipIndividualPage = lazy(
|
|
3554
|
-
async () => (await import("./UnincorporatedPartnershipIndividualPage-
|
|
3554
|
+
async () => (await import("./UnincorporatedPartnershipIndividualPage-CfllAxUK.js")).UnincorporatedPartnershipIndividualPage
|
|
3555
3555
|
);
|
|
3556
3556
|
const DecisionMakerDetailsPage = lazy(
|
|
3557
|
-
async () => (await import("./DecisionMakerDetailsPage-
|
|
3557
|
+
async () => (await import("./DecisionMakerDetailsPage-DBsCSIAU.js")).DecisionMakerDetailsPage
|
|
3558
3558
|
);
|
|
3559
3559
|
function isIn(values, x) {
|
|
3560
3560
|
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, bp as useMutation, t as httpPost, c as useTranslation, a9 as useToastContext, a6 as LoaderWrapper, F as FormHeader, bv as Checkbox, aS as ActionBar } from "./StoreProvider-
|
|
13
|
-
import { D as DropinLayout } from "./OnboardingDropinComponent-
|
|
12
|
+
import { a as useApiContext, bp as useMutation, t as httpPost, c as useTranslation, a9 as useToastContext, a6 as LoaderWrapper, F as FormHeader, bv as Checkbox, aS as ActionBar } from "./StoreProvider-QThALSrj.js";
|
|
13
|
+
import { D as DropinLayout } from "./OnboardingDropinComponent-DLvTQVTE.js";
|
|
14
14
|
const confirmReview = async (legalEntityId, baseUrl) => {
|
|
15
15
|
return httpPost({
|
|
16
16
|
baseUrl,
|