@adyen/kyc-components 3.81.0-beta.2 → 3.81.0-beta.3
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-g1UYkCq6.js → AcceptTermsOfServiceComponent-L-VLoVVm.js} +4 -4
- package/dist/{AccountSetupRejected-Bl0kCp5s.js → AccountSetupRejected-KSsUqgS8.js} +2 -2
- package/dist/{Avatar-QzqNl4_w.js → Avatar-DQWZKDyK.js} +1 -1
- package/dist/{BusinessDetailsDropin-Bo3c2HvD.js → BusinessDetailsDropin-JEi7zNN5.js} +6 -6
- package/dist/{BusinessFinancingComponent-BS1pCA2T.js → BusinessFinancingComponent-B9nSH5XY.js} +2 -2
- package/dist/{BusinessFinancingDropin-ld_u48--.js → BusinessFinancingDropin-BOSvl5M9.js} +8 -8
- package/dist/{BusinessFinancingPage-DXN66CIg.js → BusinessFinancingPage-L4LAbHPk.js} +2 -2
- package/dist/{BusinessTypeSelectionPage-DwQMC62u.js → BusinessTypeSelectionPage-w9pMkhBt.js} +3 -3
- package/dist/{CreateIndividualComponent-DMOPpoR1.js → CreateIndividualComponent-cHJthLBL.js} +2 -2
- package/dist/{CreateTransferInstrumentComponent-BhvJC-uz.js → CreateTransferInstrumentComponent-D0Sr1dH0.js} +1 -1
- package/dist/{CustomerSupport-CCIWB0zm.js → CustomerSupport-2kK-1XQx.js} +4 -4
- package/dist/{DebugModal-C6pLStsp.js → DebugModal-BuQGVv0a.js} +4 -4
- package/dist/{DecisionMakerDetailsPage-IScJwkWj.js → DecisionMakerDetailsPage-gDtpwLBj.js} +2 -2
- package/dist/{DecisionMakers-AJW7BxMl.js → DecisionMakers-BafJ6zYr.js} +6 -6
- package/dist/{EmbeddedStatus-CGgKAej7.js → EmbeddedStatus-B6Wa-fZ9.js} +2 -2
- package/dist/{EndStateLayout-BfJPV-nG.js → EndStateLayout-DyDcIT5g.js} +1 -1
- package/dist/{FormFlow-Df8LqkiT.js → FormFlow-BhhW8oFl.js} +1 -1
- package/dist/{IndividualOnfidoDropin-MkJe6-aL.js → IndividualOnfidoDropin-BiQpcIMz.js} +10 -10
- package/dist/{Introduction-B5E7ggIt.js → Introduction-DZTFiW_i.js} +2 -2
- package/dist/{LegalRepresentativeDetailsPage-Dh854Jru.js → LegalRepresentativeDetailsPage-B0YGVX_S.js} +2 -2
- package/dist/{ManageIndividualComponent-BW3n0Ys0.js → ManageIndividualComponent-2V-bNklu.js} +3 -3
- package/dist/{ManageTermsOfServiceComponent-agctlM2A.js → ManageTermsOfServiceComponent-B4caG9o0.js} +3 -3
- package/dist/{ManageTransferInstrumentComponent-XuUyZXxf.js → ManageTransferInstrumentComponent-CjAmb5m0.js} +3 -3
- package/dist/{OnboardingDropinComponent-DSkOqEwr.js → OnboardingDropinComponent-D4ivntVV.js} +30 -30
- package/dist/{Review-CUW8uFMC.js → Review-Bxitfh4C.js} +2 -2
- package/dist/{RootBusinessDetailsPage-BwqWbfiD.js → RootBusinessDetailsPage-I0HaXPwp.js} +6 -6
- package/dist/{RootIndividualDetailsPage-CnvuCxy8.js → RootIndividualDetailsPage-DKtpTUBC.js} +2 -2
- package/dist/{SignPCIComponent-CVC5KVf4.js → SignPCIComponent-DORbX1yL.js} +3 -3
- package/dist/{SingpassSelection-CyImho1l.js → SingpassSelection-CFOZAV82.js} +1 -1
- package/dist/{SoleProprietorshipPage-B5ts9qXe.js → SoleProprietorshipPage-BLYo2RKv.js} +2 -2
- package/dist/{SourceOfFundsPage-BvY-dBOA.js → SourceOfFundsPage-B9gXRtnw.js} +10 -10
- package/dist/{StoreProvider-6J3EmuCk.js → StoreProvider-DTssl0d2.js} +27 -5
- package/dist/{TaskItemStatus-CZwc_Gbw.js → TaskItemStatus-CYVSat-d.js} +1 -1
- package/dist/{TaskStatusIndicator-xIKq-Ygf.js → TaskStatusIndicator-qrNB-v1Q.js} +1 -1
- package/dist/{TaxReportingDropin-Dn2hI2kI.js → TaxReportingDropin-DAFeDIp1.js} +7 -7
- package/dist/{TileGroup-Cw4Y5eri.js → TileGroup-CGz7T1xr.js} +1 -1
- package/dist/{TrustDetailsPage-Cip3qVP6.js → TrustDetailsPage-CWwChw_h.js} +4 -4
- package/dist/{TrustMemberCompanyPage-u20bOiwh.js → TrustMemberCompanyPage-CfHrCwI1.js} +3 -3
- package/dist/{TrustMemberIndividualPage-CXTuG59e.js → TrustMemberIndividualPage-f6pTxZ-b.js} +2 -2
- package/dist/{UnincorporatedPartnershipIndividualPage-CB9jR9Gb.js → UnincorporatedPartnershipIndividualPage-CtnNK_uz.js} +2 -2
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-CSOUaZ8Q.js → UnincorporatedPartnershipMemberCompanyPage-d_rcXvWb.js} +2 -2
- package/dist/{VerificationErrorAlert-SgEtFhjt.js → VerificationErrorAlert-Dq-OfCNA.js} +1 -1
- package/dist/{ViewVerificationStatusComponent-B_Ursvjw.js → ViewVerificationStatusComponent-D3IlyHyE.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-DMEjtWIk.js → getFieldsWithExistingData-DGwbwOca.js} +1 -1
- package/dist/{hasDataChanged-Dl36xGNx.js → hasDataChanged-dfjRLGHb.js} +1 -1
- package/dist/{isIdNowModalOpen-BH_lj7B8.js → isIdNowModalOpen-BKv0f-1W.js} +1 -1
- package/dist/{localizeDateString-Cl-EHwET.js → localizeDateString-DzLefmuA.js} +1 -1
- package/dist/{mapFinancialReportsToFinancialInformation-CapJf1J6.js → mapFinancialReportsToFinancialInformation-BSdQYsX3.js} +1 -1
- package/dist/{resolveEnvironment-CssHztJp.js → resolveEnvironment-CSF9nwV8.js} +3 -3
- package/dist/{rules-WoR4RB9U.js → rules-ui4hKN9a.js} +1 -1
- package/dist/types/api/configurations/useScenarios.d.ts +6 -6
- package/dist/types/core/models/api/get-scenarios.d.ts +11 -5
- package/dist/{useMultiForm-shdPe-Au.js → useMultiForm-DYCu9P6k.js} +1 -1
- package/dist/{useOnboardingStatus-CJQG73jt.js → useOnboardingStatus-1I5prrsD.js} +1 -1
- package/dist/{useTermsOfServiceStatus-CAr6drMU.js → useTermsOfServiceStatus-D1QgKXao.js} +1 -1
- package/dist/{useUpdateLegalEntity-CQvGh43S.js → useUpdateLegalEntity-BgpKv8dc.js} +1 -1
- package/dist/{utils-C7CxhTaH.js → utils-DtAyWZi1.js} +3 -3
- package/dist/{validate-CIvwo9l-.js → validate-CTOcDHTS.js} +1 -1
- package/dist/{validate-7QVU-YYv.js → validate-D3pd2yc2.js} +1 -1
- package/package.json +1 -1
package/dist/{AcceptTermsOfServiceComponent-g1UYkCq6.js → AcceptTermsOfServiceComponent-L-VLoVVm.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, bm as useInvalidateRootLegalEntity, bn 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, br as getLanguageCode, ay as useForm, K as Alert, G as Button, a6 as LoaderWrapper, aD as Field, bs as Select, bt as Checkbox, aS as ActionBar, bu as MaybeModal, bv as ModalContent, bw as ModalFooter, bx as StepProgressIndicator, by 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 { E as EndStateLayout } from "./EndStateLayout-
|
|
12
|
+
import { a as useApiContext, bm as useInvalidateRootLegalEntity, bn 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, br as getLanguageCode, ay as useForm, K as Alert, G as Button, a6 as LoaderWrapper, aD as Field, bs as Select, bt as Checkbox, aS as ActionBar, bu as MaybeModal, bv as ModalContent, bw as ModalFooter, bx as StepProgressIndicator, by 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-DTssl0d2.js";
|
|
13
|
+
import { u as useTermsOfServiceStatus, a as useTermsOfServiceAcceptanceInfos } from "./useTermsOfServiceStatus-D1QgKXao.js";
|
|
14
|
+
import { E as EndStateLayout } from "./EndStateLayout-DyDcIT5g.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-DzLefmuA.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-DTssl0d2.js";
|
|
12
|
+
import { D as DropinLayout } from "./OnboardingDropinComponent-D4ivntVV.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-DTssl0d2.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, dy as MemoizedDocumentUpload, G as Button, be as Modal, bv as ModalContent, N as Typography, as as CountryCodes, Y as CompanyTypesValues, f0 as useGlobalData, eS as getForms, $ as TaskTypes, f1 as BasicInformation, ds as getFormProps, f2 as CompanyStructure, f3 as AdditionalInformation, eM as MemoizedConstitutionalDocument, O as LegalEntityTypes, eL as FinancialInformation, ch as getDocument, ci as mapExistingFile, cj as getPageName, bB as formatObject, bk as entriesOf, ba as businessDetailsComponentsKeyMapping, f4 as solePropBusinessDetailsKeyMapping, f5 as getDefaultRegistrationNumberType, f6 as getDefaultVatNumberType, b3 as objectsDeepEqual, d_ as operationalAddressIsSameIds, eO as COUNTRIES_USING_COMPANY_SEARCH, f7 as FIELDS_NEEDED_FOR_COMPANY_SEARCH, dj as keysOf, i as isUndefinedOrNull, dL as isDateOlderThanAYear, aN as summaryItem, f8 as solePropBusinessDetailsApiKeyMapping, e$ as businessDetailsApiKeyMapping, f9 as isRegistrationNumberAbsentStateV4Scenario, co as isEmpty, fa as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, cm as createDocumentRequest, bc as datasetUtilities, cI as mapAddressLabels, eK as companyTypeMetadata, a0 as createLogger, cH as filterOutUnwantedAssociationsIfRootLE, bV as isValidationError, bW as processValidationErrors, bX as isMaintenanceModeError, fb as getProp, at as isEmpty$1, fc as documentFormsIds, av as resolveFieldMetadata, e8 as registrationNumberDefaultFieldMetadata, fd as inferCompanyRegistrationNumberType, fe as getCompanyRegistrationNumberOptions, e9 as registrationNumberDefaultFieldConfig, cc as taxInformationDefaultFieldMetadata, ff as countryToTaxInfoTypeMap, cd as taxInformationDefaultFieldConfig, fg as getKeyForField, cq as drop, ao as getOwnEntityAssociations, cR as doArraysMatch, cN as getFileExtention, X as useAccountHolder, a9 as useToastContext, a3 as useAnalyticsContext, aa as useExperimentsContext, v as useSettingsContext, a as useApiContext, dV as verifiedBusiness, bp as useQueryClient, fh as useStateContext, w as SettingNames, fi as setIsBankAccountRequestedForOrganization, bQ as getAssociatedLeAnalyticsPayload, bd as getCapabilityProblems, cr as documentApiUtils, cF as composePerScenarioFormConfigurations, cz as useScenarioConfiguration, eW as rules, cA as getPropsFromConfigurations, eX as useCompanySearch, fj as useCompanySelection, eY as useVerifyTin, bR as getRequiredForms, bS as addValidityToForms, fk as useClearCompanyData, bT as useFormComposer, fl as setVerifiedBusiness, fm as FormWrapper, bg as Confirm, fn as solePropBusinessDetailsDocumentMapping, e_ as businessDetailsDocumentMapping } from "./StoreProvider-
|
|
11
|
+
import { u as useI18nContext, dy as MemoizedDocumentUpload, G as Button, be as Modal, bv as ModalContent, N as Typography, as as CountryCodes, Y as CompanyTypesValues, f0 as useGlobalData, eS as getForms, $ as TaskTypes, f1 as BasicInformation, ds as getFormProps, f2 as CompanyStructure, f3 as AdditionalInformation, eM as MemoizedConstitutionalDocument, O as LegalEntityTypes, eL as FinancialInformation, ch as getDocument, ci as mapExistingFile, cj as getPageName, bB as formatObject, bk as entriesOf, ba as businessDetailsComponentsKeyMapping, f4 as solePropBusinessDetailsKeyMapping, f5 as getDefaultRegistrationNumberType, f6 as getDefaultVatNumberType, b3 as objectsDeepEqual, d_ as operationalAddressIsSameIds, eO as COUNTRIES_USING_COMPANY_SEARCH, f7 as FIELDS_NEEDED_FOR_COMPANY_SEARCH, dj as keysOf, i as isUndefinedOrNull, dL as isDateOlderThanAYear, aN as summaryItem, f8 as solePropBusinessDetailsApiKeyMapping, e$ as businessDetailsApiKeyMapping, f9 as isRegistrationNumberAbsentStateV4Scenario, co as isEmpty, fa as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, cm as createDocumentRequest, bc as datasetUtilities, cI as mapAddressLabels, eK as companyTypeMetadata, a0 as createLogger, cH as filterOutUnwantedAssociationsIfRootLE, bV as isValidationError, bW as processValidationErrors, bX as isMaintenanceModeError, fb as getProp, at as isEmpty$1, fc as documentFormsIds, av as resolveFieldMetadata, e8 as registrationNumberDefaultFieldMetadata, fd as inferCompanyRegistrationNumberType, fe as getCompanyRegistrationNumberOptions, e9 as registrationNumberDefaultFieldConfig, cc as taxInformationDefaultFieldMetadata, ff as countryToTaxInfoTypeMap, cd as taxInformationDefaultFieldConfig, fg as getKeyForField, cq as drop, ao as getOwnEntityAssociations, cR as doArraysMatch, cN as getFileExtention, X as useAccountHolder, a9 as useToastContext, a3 as useAnalyticsContext, aa as useExperimentsContext, v as useSettingsContext, a as useApiContext, dV as verifiedBusiness, bp as useQueryClient, fh as useStateContext, w as SettingNames, fi as setIsBankAccountRequestedForOrganization, bQ as getAssociatedLeAnalyticsPayload, bd as getCapabilityProblems, cr as documentApiUtils, cF as composePerScenarioFormConfigurations, cz as useScenarioConfiguration, eW as rules, cA as getPropsFromConfigurations, eX as useCompanySearch, fj as useCompanySelection, eY as useVerifyTin, bR as getRequiredForms, bS as addValidityToForms, fk as useClearCompanyData, bT as useFormComposer, fl as setVerifiedBusiness, fm as FormWrapper, bg as Confirm, fn as solePropBusinessDetailsDocumentMapping, e_ as businessDetailsDocumentMapping } from "./StoreProvider-DTssl0d2.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-BgpKv8dc.js";
|
|
14
|
+
import { h as hasDataChanged } from "./hasDataChanged-dfjRLGHb.js";
|
|
15
|
+
import { o as organizationTypesToSkipCompanyStructureForm } from "./utils-DtAyWZi1.js";
|
|
16
|
+
import { g as getFieldsWithExistingData } from "./getFieldsWithExistingData-DGwbwOca.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-BSdQYsX3.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-BS1pCA2T.js → BusinessFinancingComponent-B9nSH5XY.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-DTssl0d2.js";
|
|
13
|
+
import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-BOSvl5M9.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 { bA as reverseMapping, bB as formatObject, bC as isEeaCountry, O as LegalEntityTypes, bi as cloneObject, a as useApiContext, r as useQuery, x as httpGet, u as useI18nContext, aD as Field, bs as Select, c as useTranslation, N as Typography, M as translateStringOrObject, bD as LegalFormField, aC as createFormUtils, a_ as RadioGroup, bE as Link, bF as InputText, bj as currencyByCountry, bG as InputNumber, bH as Currency, bI as CURRENCY_FIELD, bJ as InputCurrency, bK as InputDate, bL as useFormContext, az as getFieldProps, aB as ErrorPanel, bc as datasetUtilities, bM as getAddressSchemaForCountry, bN as COUNTRIES_WITH_STATES_DATASET, bt as Checkbox, bO as Address, bP as getAddressSchemaLabelsByCountry, a3 as useAnalyticsContext, bm as useInvalidateRootLegalEntity, ar as useAssociatedLegalEntity, a9 as useToastContext, v as useSettingsContext, w as SettingNames, bQ as getAssociatedLeAnalyticsPayload, bR as getRequiredForms, bS as addValidityToForms, bT as useFormComposer, bU as trackNavigation, L as Loader, G as Button, bV as isValidationError, bW as processValidationErrors, bX 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-BgpKv8dc.js";
|
|
13
|
+
import { bA as reverseMapping, bB as formatObject, bC as isEeaCountry, O as LegalEntityTypes, bi as cloneObject, a as useApiContext, r as useQuery, x as httpGet, u as useI18nContext, aD as Field, bs as Select, c as useTranslation, N as Typography, M as translateStringOrObject, bD as LegalFormField, aC as createFormUtils, a_ as RadioGroup, bE as Link, bF as InputText, bj as currencyByCountry, bG as InputNumber, bH as Currency, bI as CURRENCY_FIELD, bJ as InputCurrency, bK as InputDate, bL as useFormContext, az as getFieldProps, aB as ErrorPanel, bc as datasetUtilities, bM as getAddressSchemaForCountry, bN as COUNTRIES_WITH_STATES_DATASET, bt as Checkbox, bO as Address, bP as getAddressSchemaLabelsByCountry, a3 as useAnalyticsContext, bm as useInvalidateRootLegalEntity, ar as useAssociatedLegalEntity, a9 as useToastContext, v as useSettingsContext, w as SettingNames, bQ as getAssociatedLeAnalyticsPayload, bR as getRequiredForms, bS as addValidityToForms, bT as useFormComposer, bU as trackNavigation, L as Loader, G as Button, bV as isValidationError, bW as processValidationErrors, bX as isMaintenanceModeError } from "./StoreProvider-DTssl0d2.js";
|
|
14
|
+
import { F as FormContextProvider, a as FormFlow } from "./FormFlow-BhhW8oFl.js";
|
|
15
|
+
import { u as useMultiForm } from "./useMultiForm-DYCu9P6k.js";
|
|
16
|
+
import { E as EndStateLayout } from "./EndStateLayout-DyDcIT5g.js";
|
|
17
|
+
import { l as localizeDateString } from "./localizeDateString-DzLefmuA.js";
|
|
18
|
+
import { m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./mapFinancialReportsToFinancialInformation-BSdQYsX3.js";
|
|
19
|
+
import { b as businessFinancingMultiformRules } from "./validate-D3pd2yc2.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-DTssl0d2.js";
|
|
12
|
+
import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-BOSvl5M9.js";
|
|
13
13
|
const BusinessFinancingPage = ({
|
|
14
14
|
onSubmit,
|
|
15
15
|
handleHomeClick
|
package/dist/{BusinessTypeSelectionPage-DwQMC62u.js → BusinessTypeSelectionPage-w9pMkhBt.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, dR as getCapabilities, g as getLegalEntityCountry, O as LegalEntityTypes, ay as useForm, a6 as LoaderWrapper, N as Typography, aD as Field, dS as EntityTypeRadioGroupCard, aG as RadioGroupCard, G as Button, by 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, dR as getCapabilities, g as getLegalEntityCountry, O as LegalEntityTypes, ay as useForm, a6 as LoaderWrapper, N as Typography, aD as Field, dS as EntityTypeRadioGroupCard, aG as RadioGroupCard, G as Button, by as Spacer, a7 as Icon, d as useLegalEntity, R as ROOT_LE, L as Loader } from "./StoreProvider-DTssl0d2.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-BgpKv8dc.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-DtAyWZi1.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-DMOPpoR1.js → CreateIndividualComponent-cHJthLBL.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, b7 as getProblemsForEntity, Z as EntityTypes, b8 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, b7 as getProblemsForEntity, Z as EntityTypes, b8 as isOnfidoAutofillFlowEnabled, $ as TaskTypes } from "./StoreProvider-DTssl0d2.js";
|
|
12
|
+
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-BiQpcIMz.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, bb as PayoutDetailsDropin, $ as TaskTypes } from "./StoreProvider-
|
|
12
|
+
import { d as useLegalEntity, ar as useAssociatedLegalEntity, O as LegalEntityTypes, L as Loader, bb as PayoutDetailsDropin, $ as TaskTypes } from "./StoreProvider-DTssl0d2.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, bp as useQueryClient, av as resolveFieldMetadata, ca as defaultFieldMetadata, cb as fieldConfig, cv as getAsyncPhoneValidationRules, F as FormHeader, di 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, bp as useQueryClient, av as resolveFieldMetadata, ca as defaultFieldMetadata, cb as fieldConfig, cv as getAsyncPhoneValidationRules, F as FormHeader, di as ContactDetails, aS as ActionBar, a0 as createLogger } from "./StoreProvider-DTssl0d2.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-BgpKv8dc.js";
|
|
14
|
+
import { c as contactDetailsValidationRules, u as useValidatePhoneNumberImperatively } from "./validate-CTOcDHTS.js";
|
|
15
|
+
import { u as useMultiForm } from "./useMultiForm-DYCu9P6k.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] = "30dcedb8-1f99-4c3b-a5de-04282a9534b0", e._sentryDebugIdIdentifier = "sentry-dbid-30dcedb8-1f99-4c3b-a5de-04282a9534b0");
|
|
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, bk as entriesOf, bF as InputText, c as useTranslation, dO as splitTaskIdentifier, aa as useExperimentsContext, v as useSettingsContext, u as useI18nContext, ag as useGlobalStore, dl as listToRecord, dP as valuesOf, be as Modal, a0 as createLogger, a7 as Icon, w as SettingNames, dQ as ExperimentNames } from "./StoreProvider-
|
|
12
|
+
import { G as Button, bk as entriesOf, bF as InputText, c as useTranslation, dO as splitTaskIdentifier, aa as useExperimentsContext, v as useSettingsContext, u as useI18nContext, ag as useGlobalStore, dl as listToRecord, dP as valuesOf, be as Modal, a0 as createLogger, a7 as Icon, w as SettingNames, dQ as ExperimentNames } from "./StoreProvider-DTssl0d2.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-CYVSat-d.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-beta.
|
|
242
|
+
sdkVersion: "3.81.0-beta.3",
|
|
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, b7 as getProblemsForEntity, b8 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, b7 as getProblemsForEntity, b8 as isOnfidoAutofillFlowEnabled, a8 as noop, $ as TaskTypes, Z as EntityTypes } from "./StoreProvider-DTssl0d2.js";
|
|
12
|
+
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-BiQpcIMz.js";
|
|
13
13
|
function DecisionMakerDetailsPage({
|
|
14
14
|
decisionMakerId,
|
|
15
15
|
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, be as Modal, L as Loader, aO as getRoleName, bg 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, bz as getOwnDecisionMakers, cx as useScenarios, cV as getAvailableDecisionMakerRoleTypes, $ as TaskTypes, cD as getAllowedDecisionMakerRoles, F as FormHeader, aZ as ContextGuidance, aX as Trans, b5 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, G as Button, be as Modal, L as Loader, aO as getRoleName, bg 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, bz as getOwnDecisionMakers, cx as useScenarios, cV as getAvailableDecisionMakerRoleTypes, $ as TaskTypes, cD as getAllowedDecisionMakerRoles, F as FormHeader, aZ as ContextGuidance, aX as Trans, b5 as DecisionMakerTypes, ae as CardGroup, aS as ActionBar, O as LegalEntityTypes } from "./StoreProvider-DTssl0d2.js";
|
|
13
|
+
import { a as useUpdateLegalEntity } from "./useUpdateLegalEntity-BgpKv8dc.js";
|
|
14
|
+
import { e as useDataMissingRemediations, D as DropinLayout, E as EntityGuidanceStatus, i as iconStatus, f as EntityAssociation } from "./OnboardingDropinComponent-D4ivntVV.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-DQWZKDyK.js";
|
|
17
|
+
import { T as TaskStatusIndicator } from "./TaskStatusIndicator-qrNB-v1Q.js";
|
|
18
18
|
import { D as DetailViewLayout } from "./DetailViewLayout-Z9cuUp4X.js";
|
|
19
|
-
import { S as StackLayout, L as LandingLayout } from "./isIdNowModalOpen-
|
|
19
|
+
import { S as StackLayout, L as LandingLayout } from "./isIdNowModalOpen-BKv0f-1W.js";
|
|
20
20
|
const listItem = "adyen-kyc-list-item";
|
|
21
21
|
const listItemInteractive = "adyen-kyc-list-item-interactive";
|
|
22
22
|
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-DQWZKDyK.js";
|
|
13
|
+
import { a1 as TaskStatuses, c as useTranslation, J as Skeleton, N as Typography } from "./StoreProvider-DTssl0d2.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-DTssl0d2.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 { dE as FormContext, a3 as useAnalyticsContext, c as useTranslation, bu as MaybeModal, a6 as LoaderWrapper, dF as FormRouterContextProvider, aR as Summary, G as Button, a2 as IconButton, bg as Confirm } from "./StoreProvider-
|
|
12
|
+
import { dE as FormContext, a3 as useAnalyticsContext, c as useTranslation, bu as MaybeModal, a6 as LoaderWrapper, dF as FormRouterContextProvider, aR as Summary, G as Button, a2 as IconButton, bg as Confirm } from "./StoreProvider-DTssl0d2.js";
|
|
13
13
|
import cx from "classnames";
|
|
14
14
|
function FormContextProvider({
|
|
15
15
|
children,
|
|
@@ -9,19 +9,19 @@
|
|
|
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, bn as useMutation, t as httpPost, bY as matchesRegex, bZ as trimValWithOneSpace, b_ as NO_ALPHABET_REGEX, b$ as EMOJI_REGEX, c0 as hasRepeatedCharacters, c1 as isInvalidName, c2 as INDIVIDUAL_VALID_CHAR_REGEX, c3 as getFormattingRegEx, c4 as SPECIAL_CHARS, c5 as standardKatakanaValidator, c6 as standardKanjiValidator, av as resolveFieldMetadata, as as CountryCodes, c7 as getSSNType, at as isEmpty, c8 as defaultFieldMetadata, c9 as defaultFieldConfig, ca as defaultFieldMetadata$1, cb as fieldConfig, $ as TaskTypes, cc as taxInformationDefaultFieldMetadata, O as LegalEntityTypes, cd as taxInformationDefaultFieldConfig, ce as getAgeToday, cf as euCountries, cg as getIdDocument, ch as getDocument, ci as mapExistingFile, cj as getPageName, ck as getLocalizedIdDocumentTypeOptions, cl as getPage, cm as createDocumentRequest, bB as formatObject, cn as individualApiKeyMapping, co as isEmpty$1, b9 as individualComponentsKeyMapping, bA as reverseMapping, cp as getNomineeFromAssociation, cq as drop, a0 as createLogger, X as useAccountHolder, u as useI18nContext, a3 as useAnalyticsContext, a9 as useToastContext, aa as useExperimentsContext, v as useSettingsContext, cr as documentApiUtils, cs as useProviderStatus, g as getLegalEntityCountry, bQ as getAssociatedLeAnalyticsPayload, ct as addressValidators, cu as getAsyncIdNumberValidationRule, cv as getAsyncPhoneValidationRules, cw as addressFormatters, cx as useScenarios, cy as setHasMotionCaptureScenario, cz as useScenarioConfiguration, cA as getPropsFromConfigurations, cB as individualForms, cC as showIndividualMotionCapture, bR as getRequiredForms, bS as addValidityToForms, cD as getAllowedDecisionMakerRoles, bc as datasetUtilities, bT as useFormComposer, bU as trackNavigation, cE as Individual, cF as composePerScenarioFormConfigurations, cG as omitObscuredFieldsIfUnchanged, cH as filterOutUnwantedAssociationsIfRootLE, bV as isValidationError, bW as processValidationErrors, bX as isMaintenanceModeError, bi as cloneObject, cI as mapAddressLabels, cJ as individualDocumentForms, cK as individualDocumentMapping, cL as individualObscuredFields, cM as mergeAttachments, cN as getFileExtention, ao as getOwnEntityAssociations, cO as hasNomineesChanged, cP as attachNomineeToRole, cQ as idVerificationProviderId, cR as doArraysMatch, N as Typography, G as Button, aD as Field, r as useQuery, B as skipToken, x as httpGet, c as useTranslation, bp as useQueryClient, cS as IFrameWidget, be as Modal, K as Alert, cT as getIndividualLegalEntityName, H as Svg, L as Loader, bg as Confirm, b5 as DecisionMakerTypes, cU as createFormRules, cV as getAvailableDecisionMakerRoleTypes, cW as allowedCountriesForNominee, bM as getAddressSchemaForCountry, bN as COUNTRIES_WITH_STATES_DATASET, b6 as Scenarios, cX as isLowRiskCountry, bs as Select, cY as isTruthyValidator, cZ as licenseCardNumberDefaultMetadata, c_ as licenseCardNumberDefaultConfig, au as mergeFieldMetadataIntoProps, aC as createFormUtils, bL as useFormContext, az as getFieldProps, c$ as idNumberFields, d0 as IdentityNumber, d1 as additionallIdNumberOptions, d2 as MaskedInput, bK as InputDate, d3 as formatDateObj, d4 as DriversLicense, d5 as addressFields, b as useAllowedCountries, w as SettingNames, d6 as isDecisionMakerTask, F as FormHeader, aB as ErrorPanel, aJ as CountryField, bO as Address, bP as getAddressSchemaLabelsByCountry, bE as Link, d7 as getAgeRangeForLegalRepresentative, d8 as IndividualIdNumberTypeSelector, d9 as TaxInformationField, bF as InputText, da as PatriotActDisclosure, db as isLegalRepresentativeNeeded, aA as nameFields, dc as decisionMakerRoleFields, dd as nomineeFields, de as contactDetailFields, aZ as ContextGuidance, b4 as TrustedFieldsProviders, df as DecisionMakerRole, dg as NomineeDecisionMakerRole, dh as LocalizedNameFields, di as ContactDetails, dj as keysOf, b3 as objectsDeepEqual, dk as RadioWithLabel, dl as listToRecord, dm as pick, dn as IdVerification, by as Spacer, a2 as IconButton, e as useDataset, f as datasetIdentifier, dp as IdDocumentManualUpload, M as translateStringOrObject, aX as Trans, dq as idDocumentUploadFields, dr as useFormRouterContext, ds as getFormProps, dt as useCapabilities, du as hasMotionCaptureScenario, dv as setShowIndividualMotionCapture, dw as shouldShowMotionCapture, dx as MemoizedProofOfRelationship, dy as MemoizedDocumentUpload, dz as MemoizedProofOfResidencyUpload, dA as individualOnfidoApiKeyMapping, dB as individualOnfidoBaseMapping, dC as individualOnfidoDocumentMapping, dD 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, i as idNowModalChildEntityId, L as LandingLayout, s as showIdNowModal } from "./isIdNowModalOpen-
|
|
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, bn as useMutation, t as httpPost, bY as matchesRegex, bZ as trimValWithOneSpace, b_ as NO_ALPHABET_REGEX, b$ as EMOJI_REGEX, c0 as hasRepeatedCharacters, c1 as isInvalidName, c2 as INDIVIDUAL_VALID_CHAR_REGEX, c3 as getFormattingRegEx, c4 as SPECIAL_CHARS, c5 as standardKatakanaValidator, c6 as standardKanjiValidator, av as resolveFieldMetadata, as as CountryCodes, c7 as getSSNType, at as isEmpty, c8 as defaultFieldMetadata, c9 as defaultFieldConfig, ca as defaultFieldMetadata$1, cb as fieldConfig, $ as TaskTypes, cc as taxInformationDefaultFieldMetadata, O as LegalEntityTypes, cd as taxInformationDefaultFieldConfig, ce as getAgeToday, cf as euCountries, cg as getIdDocument, ch as getDocument, ci as mapExistingFile, cj as getPageName, ck as getLocalizedIdDocumentTypeOptions, cl as getPage, cm as createDocumentRequest, bB as formatObject, cn as individualApiKeyMapping, co as isEmpty$1, b9 as individualComponentsKeyMapping, bA as reverseMapping, cp as getNomineeFromAssociation, cq as drop, a0 as createLogger, X as useAccountHolder, u as useI18nContext, a3 as useAnalyticsContext, a9 as useToastContext, aa as useExperimentsContext, v as useSettingsContext, cr as documentApiUtils, cs as useProviderStatus, g as getLegalEntityCountry, bQ as getAssociatedLeAnalyticsPayload, ct as addressValidators, cu as getAsyncIdNumberValidationRule, cv as getAsyncPhoneValidationRules, cw as addressFormatters, cx as useScenarios, cy as setHasMotionCaptureScenario, cz as useScenarioConfiguration, cA as getPropsFromConfigurations, cB as individualForms, cC as showIndividualMotionCapture, bR as getRequiredForms, bS as addValidityToForms, cD as getAllowedDecisionMakerRoles, bc as datasetUtilities, bT as useFormComposer, bU as trackNavigation, cE as Individual, cF as composePerScenarioFormConfigurations, cG as omitObscuredFieldsIfUnchanged, cH as filterOutUnwantedAssociationsIfRootLE, bV as isValidationError, bW as processValidationErrors, bX as isMaintenanceModeError, bi as cloneObject, cI as mapAddressLabels, cJ as individualDocumentForms, cK as individualDocumentMapping, cL as individualObscuredFields, cM as mergeAttachments, cN as getFileExtention, ao as getOwnEntityAssociations, cO as hasNomineesChanged, cP as attachNomineeToRole, cQ as idVerificationProviderId, cR as doArraysMatch, N as Typography, G as Button, aD as Field, r as useQuery, B as skipToken, x as httpGet, c as useTranslation, bp as useQueryClient, cS as IFrameWidget, be as Modal, K as Alert, cT as getIndividualLegalEntityName, H as Svg, L as Loader, bg as Confirm, b5 as DecisionMakerTypes, cU as createFormRules, cV as getAvailableDecisionMakerRoleTypes, cW as allowedCountriesForNominee, bM as getAddressSchemaForCountry, bN as COUNTRIES_WITH_STATES_DATASET, b6 as Scenarios, cX as isLowRiskCountry, bs as Select, cY as isTruthyValidator, cZ as licenseCardNumberDefaultMetadata, c_ as licenseCardNumberDefaultConfig, au as mergeFieldMetadataIntoProps, aC as createFormUtils, bL as useFormContext, az as getFieldProps, c$ as idNumberFields, d0 as IdentityNumber, d1 as additionallIdNumberOptions, d2 as MaskedInput, bK as InputDate, d3 as formatDateObj, d4 as DriversLicense, d5 as addressFields, b as useAllowedCountries, w as SettingNames, d6 as isDecisionMakerTask, F as FormHeader, aB as ErrorPanel, aJ as CountryField, bO as Address, bP as getAddressSchemaLabelsByCountry, bE as Link, d7 as getAgeRangeForLegalRepresentative, d8 as IndividualIdNumberTypeSelector, d9 as TaxInformationField, bF as InputText, da as PatriotActDisclosure, db as isLegalRepresentativeNeeded, aA as nameFields, dc as decisionMakerRoleFields, dd as nomineeFields, de as contactDetailFields, aZ as ContextGuidance, b4 as TrustedFieldsProviders, df as DecisionMakerRole, dg as NomineeDecisionMakerRole, dh as LocalizedNameFields, di as ContactDetails, dj as keysOf, b3 as objectsDeepEqual, dk as RadioWithLabel, dl as listToRecord, dm as pick, dn as IdVerification, by as Spacer, a2 as IconButton, e as useDataset, f as datasetIdentifier, dp as IdDocumentManualUpload, M as translateStringOrObject, aX as Trans, dq as idDocumentUploadFields, dr as useFormRouterContext, ds as getFormProps, dt as useCapabilities, du as hasMotionCaptureScenario, dv as setShowIndividualMotionCapture, dw as shouldShowMotionCapture, dx as MemoizedProofOfRelationship, dy as MemoizedDocumentUpload, dz as MemoizedProofOfResidencyUpload, dA as individualOnfidoApiKeyMapping, dB as individualOnfidoBaseMapping, dC as individualOnfidoDocumentMapping, dD as individualOnfidoObscuredFields } from "./StoreProvider-DTssl0d2.js";
|
|
13
|
+
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-BgpKv8dc.js";
|
|
14
|
+
import { c as contactDetailsValidationRules, u as useValidatePhoneNumberImperatively } from "./validate-CTOcDHTS.js";
|
|
15
|
+
import { F as FormContextProvider, a as FormFlow } from "./FormFlow-BhhW8oFl.js";
|
|
16
|
+
import { u as useSingpassMyInfoLogin, i as idNowModalChildEntityId, L as LandingLayout, s as showIdNowModal } from "./isIdNowModalOpen-BKv0f-1W.js";
|
|
17
|
+
import { u as useMultiForm } from "./useMultiForm-DYCu9P6k.js";
|
|
18
|
+
import { g as getFieldsWithExistingData } from "./getFieldsWithExistingData-DGwbwOca.js";
|
|
19
|
+
import { l as localizeDateString } from "./localizeDateString-DzLefmuA.js";
|
|
20
|
+
import { r as rules, D as DECISION_MAKER_TYPES_WITH_JOBTITLE$1 } from "./rules-ui4hKN9a.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-CGz7T1xr.js";
|
|
25
25
|
const verifyIdNumber = async (legalEntityId, baseUrl, data) => {
|
|
26
26
|
return await httpPost(
|
|
27
27
|
{
|
|
@@ -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-DTssl0d2.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-D4ivntVV.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, b7 as getProblemsForEntity, Z as EntityTypes, b8 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, b7 as getProblemsForEntity, Z as EntityTypes, b8 as isOnfidoAutofillFlowEnabled, a8 as noop, $ as TaskTypes } from "./StoreProvider-DTssl0d2.js";
|
|
12
|
+
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-BiQpcIMz.js";
|
|
13
13
|
function LegalRepresentativeDetailsPage({
|
|
14
14
|
legalRepresentativeId,
|
|
15
15
|
asModal = false,
|
package/dist/{ManageIndividualComponent-BW3n0Ys0.js → ManageIndividualComponent-2V-bNklu.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-DTssl0d2.js";
|
|
12
|
+
import { u as useOnboardingStatus } from "./useOnboardingStatus-1I5prrsD.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-B6Wa-fZ9.js";
|
|
15
15
|
function ManageIndividualComponent({
|
|
16
16
|
legalEntityId,
|
|
17
17
|
onClick
|
package/dist/{ManageTermsOfServiceComponent-agctlM2A.js → ManageTermsOfServiceComponent-B4caG9o0.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-D1QgKXao.js";
|
|
12
|
+
import { a as useApiContext, u as useI18nContext } from "./StoreProvider-DTssl0d2.js";
|
|
13
|
+
import { E as EmbeddedStatus } from "./EmbeddedStatus-B6Wa-fZ9.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, bc as datasetUtilities, bd as getCapabilityProblems, G as Button, be as Modal, L as Loader, a4 as Card, bf as StructuredList, bg as Confirm, bh as mapTransferInstrumentToPayoutAccount, bi as cloneObject, bj as currencyByCountry, bk as entriesOf, a1 as TaskStatuses, bl 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-Dq-OfCNA.js";
|
|
12
|
+
import { a as useApiContext, r as useQuery, x as httpGet, u as useI18nContext, bc as datasetUtilities, bd as getCapabilityProblems, G as Button, be as Modal, L as Loader, a4 as Card, bf as StructuredList, bg as Confirm, bh as mapTransferInstrumentToPayoutAccount, bi as cloneObject, bj as currencyByCountry, bk as entriesOf, a1 as TaskStatuses, bl as useTransferInstrument, a0 as createLogger, a9 as useToastContext, e as useDataset, f as datasetIdentifier, K as Alert, N as Typography } from "./StoreProvider-DTssl0d2.js";
|
|
13
|
+
import { s as statusToTag, E as EmbeddedStatus } from "./EmbeddedStatus-B6Wa-fZ9.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-DSkOqEwr.js → OnboardingDropinComponent-D4ivntVV.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, b5 as DecisionMakerTypes, b6 as Scenarios } 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, b5 as DecisionMakerTypes, b6 as Scenarios } from "./StoreProvider-DTssl0d2.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, s as showIdNowModal } from "./isIdNowModalOpen-
|
|
14
|
+
import { L as LandingLayout, u as useSingpassMyInfoLogin, s as showIdNowModal } from "./isIdNowModalOpen-BKv0f-1W.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-D1QgKXao.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-Dq-OfCNA.js";
|
|
20
|
+
import { A as Avatar } from "./Avatar-DQWZKDyK.js";
|
|
21
|
+
import { T as TaskItemStatus } from "./TaskItemStatus-CYVSat-d.js";
|
|
22
|
+
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-BgpKv8dc.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-DZTFiW_i.js")).Introduction
|
|
3494
3494
|
);
|
|
3495
3495
|
const BusinessTypeSelectionPage = lazy(
|
|
3496
|
-
async () => (await import("./BusinessTypeSelectionPage-
|
|
3496
|
+
async () => (await import("./BusinessTypeSelectionPage-w9pMkhBt.js")).BusinessTypeSelectionPage
|
|
3497
3497
|
);
|
|
3498
3498
|
const SingpassSelection = lazy(
|
|
3499
|
-
async () => (await import("./SingpassSelection-
|
|
3499
|
+
async () => (await import("./SingpassSelection-CFOZAV82.js")).SingpassSelection
|
|
3500
3500
|
);
|
|
3501
3501
|
const AccountSetupRejected = lazy(
|
|
3502
|
-
async () => (await import("./AccountSetupRejected-
|
|
3502
|
+
async () => (await import("./AccountSetupRejected-KSsUqgS8.js")).AccountSetupRejected
|
|
3503
3503
|
);
|
|
3504
3504
|
const DecisionMakers = lazy(
|
|
3505
|
-
async () => (await import("./DecisionMakers-
|
|
3505
|
+
async () => (await import("./DecisionMakers-BafJ6zYr.js")).DecisionMakers
|
|
3506
3506
|
);
|
|
3507
3507
|
const CustomerSupport = lazy(
|
|
3508
|
-
async () => (await import("./CustomerSupport-
|
|
3508
|
+
async () => (await import("./CustomerSupport-2kK-1XQx.js")).CustomerSupport
|
|
3509
3509
|
);
|
|
3510
|
-
const Review = lazy(async () => (await import("./Review-
|
|
3510
|
+
const Review = lazy(async () => (await import("./Review-Bxitfh4C.js")).Review);
|
|
3511
3511
|
const SignPCIComponent = lazy(
|
|
3512
|
-
async () => (await import("./SignPCIComponent-
|
|
3512
|
+
async () => (await import("./SignPCIComponent-DORbX1yL.js")).SignPCIComponent
|
|
3513
3513
|
);
|
|
3514
3514
|
const AcceptTermsOfService = lazy(
|
|
3515
|
-
async () => (await import("./AcceptTermsOfServiceComponent-
|
|
3515
|
+
async () => (await import("./AcceptTermsOfServiceComponent-L-VLoVVm.js")).AcceptTermsOfServiceComponent
|
|
3516
3516
|
);
|
|
3517
3517
|
const TaxReportingDropin = lazy(
|
|
3518
|
-
async () => (await import("./TaxReportingDropin-
|
|
3518
|
+
async () => (await import("./TaxReportingDropin-DAFeDIp1.js")).TaxReportingDropin
|
|
3519
3519
|
);
|
|
3520
3520
|
const PayoutDetailsPage = lazy(
|
|
3521
|
-
async () => (await import("./StoreProvider-
|
|
3521
|
+
async () => (await import("./StoreProvider-DTssl0d2.js").then((n) => n.fF)).PayoutDetailsPage
|
|
3522
3522
|
);
|
|
3523
3523
|
const RootBusinessDetailsPage = lazy(
|
|
3524
|
-
async () => (await import("./RootBusinessDetailsPage-
|
|
3524
|
+
async () => (await import("./RootBusinessDetailsPage-I0HaXPwp.js")).RootBusinessDetailsPage
|
|
3525
3525
|
);
|
|
3526
3526
|
const SoleProprietorshipPage = lazy(
|
|
3527
|
-
async () => (await import("./SoleProprietorshipPage-
|
|
3527
|
+
async () => (await import("./SoleProprietorshipPage-BLYo2RKv.js")).SoleProprietorshipPage
|
|
3528
3528
|
);
|
|
3529
3529
|
const TrustMemberCompanyPage = lazy(
|
|
3530
|
-
async () => (await import("./TrustMemberCompanyPage-
|
|
3530
|
+
async () => (await import("./TrustMemberCompanyPage-CfHrCwI1.js")).TrustMemberCompanyPage
|
|
3531
3531
|
);
|
|
3532
3532
|
const UnincorporatedPartnershipMemberCompanyPage = lazy(
|
|
3533
|
-
async () => (await import("./UnincorporatedPartnershipMemberCompanyPage-
|
|
3533
|
+
async () => (await import("./UnincorporatedPartnershipMemberCompanyPage-d_rcXvWb.js")).UnincorporatedPartnershipMemberCompanyPage
|
|
3534
3534
|
);
|
|
3535
3535
|
const BusinessFinancingPage = lazy(
|
|
3536
|
-
async () => (await import("./BusinessFinancingPage-
|
|
3536
|
+
async () => (await import("./BusinessFinancingPage-L4LAbHPk.js")).BusinessFinancingPage
|
|
3537
3537
|
);
|
|
3538
3538
|
const TrustDetailsPage = lazy(
|
|
3539
|
-
async () => (await import("./TrustDetailsPage-
|
|
3539
|
+
async () => (await import("./TrustDetailsPage-CWwChw_h.js")).TrustDetailsPage
|
|
3540
3540
|
);
|
|
3541
3541
|
const SourceOfFundsPage = lazy(
|
|
3542
|
-
async () => (await import("./SourceOfFundsPage-
|
|
3542
|
+
async () => (await import("./SourceOfFundsPage-B9gXRtnw.js")).SourceOfFundsPage
|
|
3543
3543
|
);
|
|
3544
3544
|
const RootIndividualDetailsPage = lazy(
|
|
3545
|
-
async () => (await import("./RootIndividualDetailsPage-
|
|
3545
|
+
async () => (await import("./RootIndividualDetailsPage-DKtpTUBC.js")).RootIndividualDetailsPage
|
|
3546
3546
|
);
|
|
3547
3547
|
const LegalRepresentativeDetailsPage = lazy(
|
|
3548
|
-
async () => (await import("./LegalRepresentativeDetailsPage-
|
|
3548
|
+
async () => (await import("./LegalRepresentativeDetailsPage-B0YGVX_S.js")).LegalRepresentativeDetailsPage
|
|
3549
3549
|
);
|
|
3550
3550
|
const TrustMemberIndividualPage = lazy(
|
|
3551
|
-
async () => (await import("./TrustMemberIndividualPage-
|
|
3551
|
+
async () => (await import("./TrustMemberIndividualPage-f6pTxZ-b.js")).TrustMemberIndividualPage
|
|
3552
3552
|
);
|
|
3553
3553
|
const UnincorporatedPartnershipIndividualPage = lazy(
|
|
3554
|
-
async () => (await import("./UnincorporatedPartnershipIndividualPage-
|
|
3554
|
+
async () => (await import("./UnincorporatedPartnershipIndividualPage-CtnNK_uz.js")).UnincorporatedPartnershipIndividualPage
|
|
3555
3555
|
);
|
|
3556
3556
|
const DecisionMakerDetailsPage = lazy(
|
|
3557
|
-
async () => (await import("./DecisionMakerDetailsPage-
|
|
3557
|
+
async () => (await import("./DecisionMakerDetailsPage-gDtpwLBj.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, bn as useMutation, t as httpPost, c as useTranslation, a9 as useToastContext, a6 as LoaderWrapper, F as FormHeader, bt as Checkbox, aS as ActionBar } from "./StoreProvider-
|
|
13
|
-
import { D as DropinLayout } from "./OnboardingDropinComponent-
|
|
12
|
+
import { a as useApiContext, bn as useMutation, t as httpPost, c as useTranslation, a9 as useToastContext, a6 as LoaderWrapper, F as FormHeader, bt as Checkbox, aS as ActionBar } from "./StoreProvider-DTssl0d2.js";
|
|
13
|
+
import { D as DropinLayout } from "./OnboardingDropinComponent-D4ivntVV.js";
|
|
14
14
|
const confirmReview = async (legalEntityId, baseUrl) => {
|
|
15
15
|
return httpPost({
|
|
16
16
|
baseUrl,
|