@adyen/kyc-components 3.76.0-beta.1 → 4.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AcceptTermsOfServiceComponent-BOQpgDuh.js → AcceptTermsOfServiceComponent-BQ4Yct7L.js} +6 -6
- package/dist/{AccountSetupRejected-CLD5yPUd.js → AccountSetupRejected-UVhxMcAe.js} +2 -2
- package/dist/{Avatar-ByXDvRnN.js → Avatar-NEiNEcRx.js} +1 -1
- package/dist/{BusinessDetailsDropin-CC8AQSzz.js → BusinessDetailsDropin-l0xfPekL.js} +18 -47
- package/dist/{BusinessFinancingComponent-DaTK2ha9.js → BusinessFinancingComponent-Bs-poF2d.js} +2 -2
- package/dist/{BusinessFinancingDropin-Cxo-nBOC.js → BusinessFinancingDropin-DoRzdS4n.js} +10 -20
- package/dist/{BusinessFinancingPage-CBxphlTv.js → BusinessFinancingPage-DSlmJmOK.js} +2 -2
- package/dist/{BusinessTypeSelectionPage-BTtEGnSf.js → BusinessTypeSelectionPage-Bmi_8K2g.js} +4 -4
- package/dist/{ContractViewer-Df9tNJPa.js → ContractViewer-R4-gfVmp.js} +1 -1
- package/dist/{CreateIndividualComponent-CB4EKaBU.js → CreateIndividualComponent-D3aXuYRk.js} +3 -3
- package/dist/{CreateTransferInstrumentComponent-DzLl5c2J.js → CreateTransferInstrumentComponent-C-ncZ-A8.js} +2 -2
- package/dist/{CustomerSupport-WjBJL8ee.js → CustomerSupport-CMFRgQNa.js} +5 -5
- package/dist/{DebugModal-DTjZh61l.js → DebugModal-BEmhG3UP.js} +8 -8
- package/dist/{DecisionMakerDetailsPage-CGHxqfLV.js → DecisionMakerDetailsPage-DI2Ubmef.js} +3 -3
- package/dist/{DecisionMakers-Cq1ugA0Q.js → DecisionMakers-BKhtcs_K.js} +4 -4
- package/dist/{EmbeddedStatus-U4HvtsbX.js → EmbeddedStatus-BsZsXbKc.js} +2 -2
- package/dist/{FormEndState-DXjakR3n.js → FormEndState-C3HCmXcw.js} +1 -1
- package/dist/{FormFlow-DQdofZrs.js → FormFlow-Bt-mu4Wm.js} +2 -2
- package/dist/{IndividualOnfidoDropin-Ces-NVRq.js → IndividualOnfidoDropin-DGMCOm9M.js} +12 -80
- package/dist/{Introduction-CoAMVQ3N.js → Introduction-DJ6qIUPC.js} +3 -3
- package/dist/{LegalRepresentativeDetailsPage-DR4k-6tr.js → LegalRepresentativeDetailsPage-CyHwQR_W.js} +3 -3
- package/dist/{ManageIndividualComponent-DCy_23X2.js → ManageIndividualComponent-BIMCvcr2.js} +3 -3
- package/dist/{ManagePCIComponent-mIpoEgqY.js → ManagePCIComponent-Blj60xLa.js} +3 -3
- package/dist/{ManageTermsOfServiceComponent-BhbLMdNx.js → ManageTermsOfServiceComponent-CsM23jq3.js} +3 -3
- package/dist/{ManageTransferInstrumentComponent-BPiWJOhY.js → ManageTransferInstrumentComponent-Vut9_bRn.js} +3 -3
- package/dist/{OnboardingDropinComponent-BVaYr5u1.js → OnboardingDropinComponent-BW6er2HU.js} +44 -45
- package/dist/{ProviderButton-BhJVIjNR.js → ProviderButton-DAsW5EVa.js} +2 -2
- package/dist/{Review-C5hzFoFb.js → Review-DWDbL9-9.js} +3 -3
- package/dist/{RootBusinessDetailsPage-msInyOAG.js → RootBusinessDetailsPage-BTYIldSf.js} +2 -2
- package/dist/{RootIndividualDetailsPage-DkzqPD70.js → RootIndividualDetailsPage-DCxJ3ycQ.js} +3 -3
- package/dist/{SignPCIComponent-DGUa4ESJ.js → SignPCIComponent-kHaxhkWa.js} +5 -5
- package/dist/{SingpassSelection-ChJWE7tg.js → SingpassSelection-Dmlbiq4Z.js} +2 -2
- package/dist/{SoleProprietorshipPage-Bkz3cuhd.js → SoleProprietorshipPage-Bdhs90-q.js} +2 -2
- package/dist/{SourceOfFunds.module-D9RYIoX3.js → SourceOfFunds.module-xwHIboir.js} +1 -1
- package/dist/{SourceOfFundsPage-gHK01p0a.js → SourceOfFundsPage-Bj22DAFv.js} +9 -14
- package/dist/{StoreProvider-BPX6_P1w.js → StoreProvider-BmzY19Td.js} +423 -367
- package/dist/{TaskItemStatus-Cja3jHef.js → TaskItemStatus-CB6FEOnk.js} +2 -2
- package/dist/{TaxReportingDropin-EGclbYvF.js → TaxReportingDropin-jofokkei.js} +7 -7
- package/dist/{TileGroup-D2oyZXRy.js → TileGroup-i5Jc08ns.js} +2 -2
- package/dist/{TrustDetailsPage-BjZh9pfZ.js → TrustDetailsPage-B6HmvYUf.js} +9 -9
- package/dist/{TrustMemberCompanyPage-YzgDh_y0.js → TrustMemberCompanyPage-D3VJOq6a.js} +3 -3
- package/dist/{TrustMemberIndividualPage-B08_52rA.js → TrustMemberIndividualPage-1aeOYsnG.js} +3 -3
- package/dist/{UnincorporatedPartnershipIndividualPage-DECzh_NU.js → UnincorporatedPartnershipIndividualPage-Bt7e6ncF.js} +3 -3
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-CY5rfvMd.js → UnincorporatedPartnershipMemberCompanyPage-Ck5C_SEU.js} +2 -2
- package/dist/{VerificationErrorAlert-BMxnbhxL.js → VerificationErrorAlert-DhtKOmjt.js} +1 -1
- package/dist/{ViewVerificationStatusComponent-MQ3YZjpk.js → ViewVerificationStatusComponent-DtKLcCGI.js} +2 -2
- package/dist/adyen-business-financing.js +2 -2
- package/dist/adyen-individual.js +2 -2
- package/dist/adyen-kyc-components.js +14 -14
- package/dist/adyen-manage-individual.js +2 -2
- package/dist/adyen-manage-pci.js +2 -2
- package/dist/adyen-manage-terms-of-service.js +2 -2
- package/dist/adyen-manage-transfer-instruments.js +2 -2
- package/dist/adyen-onboarding.js +2 -2
- package/dist/adyen-sign-pci.js +2 -2
- package/dist/adyen-terms-of-service.js +2 -2
- package/dist/adyen-transfer-instrument.js +2 -2
- package/dist/adyen-verification-status.js +2 -2
- package/dist/{css-CCYsn1Bx.js → css-CQUoQdd2.js} +1 -1
- package/dist/{getFieldsWithExistingData-Df64vw7x.js → getFieldsWithExistingData-BW8_TEQl.js} +2 -2
- package/dist/{hasDataChanged-sUtN0Sjv.js → hasDataChanged-Mu0HyZ3E.js} +1 -1
- package/dist/{json-BYBI9iH_.js → json-DWikzB4g.js} +1 -1
- package/dist/{localizeDateString-CNlJ2Twp.js → localizeDateString-QtCjf8Fg.js} +1 -1
- package/dist/{mapFinancialReportsToFinancialInformation-ByUX4IZt.js → mapFinancialReportsToFinancialInformation-C-2jp0wg.js} +2 -2
- package/dist/{plaintext-BuWLFFGU.js → plaintext-B39yQnOr.js} +1 -1
- package/dist/{resolveEnvironment-CeEOE-Ml.js → resolveEnvironment-Dx0BPNMa.js} +3 -3
- package/dist/{rules-BOvgh8q2.js → rules-CUANHpja.js} +2 -2
- package/dist/style.css +0 -19
- package/dist/styles-CLV89_hH.js +0 -19
- package/dist/types/api/transferInstruments/useHandleBankVerificationError.d.ts +3 -3
- package/dist/types/components/EFP/fields/LegalFormField/LegalFormField.d.ts +1 -1
- package/dist/types/components/EFP/fields/NaceCodeField/NaceCodeField.d.ts +1 -1
- package/dist/types/components/EFP/tasks/SourceOfFundsDropin/utils.d.ts +0 -1
- package/dist/types/components/Individual/fields/IdentityNumber/IdentityNumber.d.ts +0 -1
- package/dist/types/components/Individual/fields/NameFields/NameFields.d.ts +2 -1
- package/dist/types/components/Individual/mapping/individualOnfidoKeyMappings.d.ts +1 -0
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/fieldConfig.d.ts +5 -3
- package/dist/types/components/Shared/fields/CountryField/CountryField.d.ts +1 -1
- package/dist/types/components/Shared/fields/CountryOfGoverningLawField/CountryOfGoverningLawField.d.ts +1 -1
- package/dist/types/components/Shared/fields/StateField/StateField.d.ts +1 -1
- package/dist/types/components/Shared/forms/Address/AddressField.d.ts +1 -1
- package/dist/types/components/Shared/forms/Address/SearchAddress.d.ts +2 -2
- package/dist/types/components/Shared/forms/Address/types.d.ts +0 -1
- package/dist/types/components/ui/atoms/Checkbox/Checkbox.d.ts +1 -2
- package/dist/types/components/ui/atoms/Field/Field.d.ts +1 -1
- package/dist/types/components/ui/atoms/Field/Field.types.d.ts +2 -0
- package/dist/types/components/ui/molecules/MaskedInput/MaskedInput.d.ts +1 -5
- package/dist/types/context/StateContext/types.d.ts +0 -1
- package/dist/types/hooks/useForm/types.d.ts +1 -2
- package/dist/types/utils/api/processCapabilitites.d.ts +2 -1
- package/dist/{useMultiForm-CZt22ApL.js → useMultiForm-Bwx2nVhh.js} +2 -2
- package/dist/{useOnboardingStatus-DUpCpEX5.js → useOnboardingStatus-Cwba-HzS.js} +1 -1
- package/dist/{useSalesChannelsSettings-7_LCHKOD.js → useSalesChannelsSettings-BLzegVJh.js} +1 -1
- package/dist/{useTermsOfServiceStatus-XQrO9fJx.js → useTermsOfServiceStatus-C-i9mF4m.js} +1 -1
- package/dist/{useUpdateLegalEntity-n02Bk4nJ.js → useUpdateLegalEntity-xQlAqIqy.js} +2 -2
- package/dist/{utils-0EQ0eKAn.js → utils-DXv7uAh6.js} +4 -4
- package/dist/{validate-DVNNANhX.js → validate-BN5p-GhK.js} +2 -2
- package/dist/{yaml-Ca7Tl3w_.js → yaml-jFdy-qnY.js} +1 -1
- package/package.json +1 -1
|
@@ -2,46 +2,23 @@
|
|
|
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] = "52d3345a-d07d-4d8c-b6d3-766fa62cc152", e._sentryDebugIdIdentifier = "sentry-dbid-52d3345a-d07d-4d8c-b6d3-766fa62cc152");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { ao as CountryCodes, W as TaskTypes, p as useApiContext, bf as useMutation, bh as httpPost, c6 as matchesRegex, c7 as trimValWithOneSpace, c8 as NO_ALPHABET_REGEX, c9 as EMOJI_REGEX, ca as hasRepeatedCharacters, cb as isInvalidName, cc as INDIVIDUAL_VALID_CHAR_REGEX, cd as getFormattingRegEx, ce as SPECIAL_CHARS, cf as standardKatakanaValidator, cg as standardKanjiValidator, ar as resolveFieldMetadata, ch as getSSNType, ap as isEmpty, ci as defaultFieldMetadata, cj as defaultFieldConfig, bD as defaultFieldMetadata$1, bE as fieldConfig, ck as defaultFieldMetadata$2, y as LegalEntityType, cl as defaultFieldConfig$1, cm as getAgeToday, cn as euCountries, co as getIdDocument, cp as getDocument, cq as mapExistingFile, cr as getPageName, cs as getLocalizedIdDocumentTypeOptions, ct as getPage, cu as createDocumentRequest, bR as formatObject, cv as individualApiKeyMapping, bj as individualComponentsKeyMapping, bQ as reverseMapping, cw as getNomineeFromAssociation, cx as drop, X as createLogger, P as useAccountHolder, b as useI18nContext, $ as useAnalyticsContext, a5 as useToastContext, a6 as useExperimentsContext, J as useSettingsContext, cy as documentApiUtils, cz as useProviderStatus, g as getLegalEntityCountry, c1 as getAssociatedLeAnalyticsPayload, cA as addressValidators, cB as getAsyncIdNumberValidationRule, bF as getAsyncPhoneValidationRules, cC as addressFormatters, cD as useScenarios, cE as setHasMotionCaptureScenario, cF as useScenarioConfiguration, cG as getPropsFromConfigurations, cH as individualForms, cI as showIndividualMotionCapture, bN as getRequiredForms, bO as addValidityToForms, bB as getAllowedDecisionMakerRoles, b0 as datasetUtilities, bP as useFormComposer, c2 as trackNavigation, cJ as Individual, cK as composePerScenarioFormConfigurations, cL as omitObscuredFieldsIfUnchanged, cM as filterOutUnwantedAssociationsIfRootLE, c3 as isValidationError, c4 as processValidationErrors, c5 as isMaintenanceModeError, ba as cloneObject, cN as mapAddressLabels, cO as individualDocumentForms, cP as individualDocumentMapping, cQ as individualObscuredFields, cR as mergeAttachments, cS as getFileExtention, am as getOwnEntityAssociations, cT as hasNomineesChanged, cU as attachNomineeToRole, cV as idVerificationProviderId, cW as doArraysMatch, bC as DecisionMakerType, cX as createFormRules, bA as getAvailableDecisionMakerRoleTypes, cY as allowedCountriesForNominee, bZ as getAddressSchemaForCountry, b_ as COUNTRIES_WITH_STATES_DATASET, cZ as Scenarios, c_ as isLowRiskCountry, az as Field, bJ as Select, c$ as isTruthyValidator, d0 as licenseCardNumberDefaultMetadata, d1 as licenseCardNumberDefaultConfig, aq as mergeFieldMetadataIntoProps, ay as createFormUtils, bK as useFormContext, av as getFieldProps, d2 as idNumberFields, d3 as IdentityNumber, d4 as additionallIdNumberOptions, d5 as MaskedInput, bV as InputDate, d6 as formatDateObj, d7 as DriversLicense, d8 as addressFields, u as useAllowedCountries, K as SettingNames, d9 as getDefaultTaxIdNumberType, F as FormHeader, ax as ErrorPanel, C as Typography, aF as CountryField, b$ as Address, c0 as getAddressSchemaLabelsByCountry, bT as Link, b8 as Confirm, da as getAgeRangeForLegalRepresentative, db as IndividualIdNumberTypeSelector, dc as TaxInformationField, dd as PatriotActDisclosure, de as isLegalRepresentativeNeeded, aw as nameFields, df as decisionMakerRoleFields, dg as nomineeFields, dh as contactDetailFields, B as Alert, aU as ContextGuidance, a$ as TrustedFieldsProvider, di as DecisionMakerRole, dj as NomineeDecisionMakerRole, dk as LocalizedNameFields, bp as InputText, bG as ContactDetails, dl as keysOf, a_ as objectsDeepEqual, bM as isEmpty$1, dm as RadioWithLabel, br as listToRecord, b2 as Modal, Z as Button, bl as Svg, dn as pick, dp as IdVerification, b7 as Spacer, _ as IconButton, c as useDataset, d as datasetIdentifier, L as Loader, dq as isPersonUnderAge, dr as IdDocumentManualUpload, ds as idDocumentUploadFields, dt as useFormRouterContext, bL as getFormProps, du as useCapabilities, dv as hasMotionCaptureScenario, dw as setShowIndividualMotionCapture, dx as shouldShowMotionCapture, dy as MemoizedProofOfRelationship, dz as MemoizedDocumentUpload, dA as MemoizedProofOfResidencyUpload, bm as useQueryClient } from "./StoreProvider-BPX6_P1w.js";
|
|
11
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
12
11
|
import { useMemo, useState, useEffect, useCallback } from "preact/hooks";
|
|
13
|
-
import { u as
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import { u as
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
|
|
23
|
-
CountryCodes.UnitedStates,
|
|
24
|
-
CountryCodes.UnitedKingdom,
|
|
25
|
-
CountryCodes.Germany,
|
|
26
|
-
CountryCodes.France,
|
|
27
|
-
CountryCodes.Canada,
|
|
28
|
-
CountryCodes.Australia
|
|
29
|
-
];
|
|
30
|
-
function isOnfidoAutofillFlowEnabled(country, taskType, isExperimentEnabled) {
|
|
31
|
-
const market = KEY_MARKETS.includes(country) ? "KeyMarkets" : "AdditionalMarkets";
|
|
32
|
-
let type;
|
|
33
|
-
switch (taskType) {
|
|
34
|
-
case TaskTypes.INDIVIDUAL:
|
|
35
|
-
type = "PureIndividuals";
|
|
36
|
-
break;
|
|
37
|
-
case TaskTypes.DECISION_MAKER:
|
|
38
|
-
type = "DecisionMakers";
|
|
39
|
-
break;
|
|
40
|
-
default:
|
|
41
|
-
return false;
|
|
42
|
-
}
|
|
43
|
-
return isExperimentEnabled(`EnableAutofillFlowFor${type}In${market}`);
|
|
44
|
-
}
|
|
12
|
+
import { p as useApiContext, bf as useMutation, bh as httpPost, c7 as matchesRegex, c8 as trimValWithOneSpace, c9 as NO_ALPHABET_REGEX, ca as EMOJI_REGEX, cb as hasRepeatedCharacters, cc as isInvalidName, cd as INDIVIDUAL_VALID_CHAR_REGEX, ce as getFormattingRegEx, cf as SPECIAL_CHARS, cg as standardKatakanaValidator, ch as standardKanjiValidator, ar as resolveFieldMetadata, ao as CountryCodes, ci as getSSNType, ap as isEmpty, cj as defaultFieldMetadata, ck as defaultFieldConfig, bE as defaultFieldMetadata$1, bF as fieldConfig, W as TaskTypes, cl as defaultFieldMetadata$2, y as LegalEntityType, cm as defaultFieldConfig$1, cn as getAgeToday, co as euCountries, cp as getIdDocument, cq as getDocument, cr as mapExistingFile, cs as getPageName, ct as getLocalizedIdDocumentTypeOptions, cu as getPage, cv as createDocumentRequest, bS as formatObject, cw as individualApiKeyMapping, bk as individualComponentsKeyMapping, bR as reverseMapping, cx as getNomineeFromAssociation, cy as drop, X as createLogger, P as useAccountHolder, b as useI18nContext, $ as useAnalyticsContext, a5 as useToastContext, a6 as useExperimentsContext, J as useSettingsContext, cz as documentApiUtils, cA as useProviderStatus, g as getLegalEntityCountry, c2 as getAssociatedLeAnalyticsPayload, cB as addressValidators, cC as getAsyncIdNumberValidationRule, bG as getAsyncPhoneValidationRules, cD as addressFormatters, cE as useScenarios, cF as setHasMotionCaptureScenario, cG as useScenarioConfiguration, cH as getPropsFromConfigurations, cI as individualForms, cJ as showIndividualMotionCapture, bO as getRequiredForms, bP as addValidityToForms, bC as getAllowedDecisionMakerRoles, b0 as datasetUtilities, bQ as useFormComposer, c3 as trackNavigation, cK as Individual, cL as composePerScenarioFormConfigurations, cM as omitObscuredFieldsIfUnchanged, cN as filterOutUnwantedAssociationsIfRootLE, c4 as isValidationError, c5 as processValidationErrors, c6 as isMaintenanceModeError, ba as cloneObject, cO as mapAddressLabels, cP as individualDocumentForms, cQ as individualDocumentMapping, cR as individualObscuredFields, cS as mergeAttachments, cT as getFileExtention, ak as getOwnEntityAssociations, cU as hasNomineesChanged, cV as attachNomineeToRole, cW as idVerificationProviderId, cX as doArraysMatch, bD as DecisionMakerType, cY as createFormRules, bB as getAvailableDecisionMakerRoleTypes, cZ as allowedCountriesForNominee, b_ as getAddressSchemaForCountry, b$ as COUNTRIES_WITH_STATES_DATASET, c_ as Scenarios, c$ as isLowRiskCountry, az as Field, bK as Select, d0 as isTruthyValidator, d1 as licenseCardNumberDefaultMetadata, d2 as licenseCardNumberDefaultConfig, aq as mergeFieldMetadataIntoProps, ay as createFormUtils, bL as useFormContext, av as getFieldProps, d3 as idNumberFields, d4 as IdentityNumber, d5 as additionallIdNumberOptions, d6 as MaskedInput, bW as InputDate, d7 as formatDateObj, d8 as DriversLicense, d9 as addressFields, u as useAllowedCountries, K as SettingNames, da as getDefaultTaxIdNumberType, F as FormHeader, ax as ErrorPanel, C as Typography, aF as CountryField, c0 as Address, c1 as getAddressSchemaLabelsByCountry, bU as Link, b8 as Confirm, db as getAgeRangeForLegalRepresentative, dc as IndividualIdNumberTypeSelector, dd as TaxInformationField, de as PatriotActDisclosure, df as isLegalRepresentativeNeeded, aw as nameFields, dg as decisionMakerRoleFields, dh as nomineeFields, di as contactDetailFields, B as Alert, aU as ContextGuidance, a$ as TrustedFieldsProvider, dj as DecisionMakerRole, dk as NomineeDecisionMakerRole, dl as LocalizedNameFields, bq as InputText, bH as ContactDetails, dm as keysOf, a_ as objectsDeepEqual, bN as isEmpty$1, dn as RadioWithLabel, bs as listToRecord, b2 as Modal, Z as Button, bm as Svg, dp as pick, dq as IdVerification, b7 as Spacer, _ as IconButton, c as useDataset, d as datasetIdentifier, L as Loader, dr as isPersonUnderAge, ds as IdDocumentManualUpload, dt as idDocumentUploadFields, du as useFormRouterContext, bM as getFormProps, dv as useCapabilities, dw as hasMotionCaptureScenario, dx as setShowIndividualMotionCapture, dy as shouldShowMotionCapture, dz as MemoizedProofOfRelationship, dA as MemoizedDocumentUpload, dB as MemoizedProofOfResidencyUpload, dC as individualOnfidoApiKeyMapping, dD as individualOnfidoBaseMapping, bn as useQueryClient, dE as individualOnfidoDocumentMapping, dF as individualOnfidoObscuredFields } from "./StoreProvider-BmzY19Td.js";
|
|
13
|
+
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-xQlAqIqy.js";
|
|
14
|
+
import { c as contactDetailsValidationRules, u as useValidatePhoneNumberImperatively } from "./validate-BN5p-GhK.js";
|
|
15
|
+
import { F as FormContextProvider, a as FormFlow } from "./FormFlow-Bt-mu4Wm.js";
|
|
16
|
+
import { u as useSingpassMyInfoLogin, P as ProviderButton } from "./ProviderButton-DAsW5EVa.js";
|
|
17
|
+
import { u as useMultiForm } from "./useMultiForm-Bwx2nVhh.js";
|
|
18
|
+
import { g as getFieldsWithExistingData } from "./getFieldsWithExistingData-BW8_TEQl.js";
|
|
19
|
+
import { l as localizeDateString } from "./localizeDateString-QtCjf8Fg.js";
|
|
20
|
+
import { r as rules, D as DECISION_MAKER_TYPES_WITH_JOBTITLE$1 } from "./rules-CUANHpja.js";
|
|
21
|
+
import { T as TileGroup } from "./TileGroup-i5Jc08ns.js";
|
|
45
22
|
const verifyIdNumber = async (legalEntityId, baseUrl, data) => {
|
|
46
23
|
return await httpPost(
|
|
47
24
|
{
|
|
@@ -1925,7 +1902,6 @@ function Identity(props) {
|
|
|
1925
1902
|
type: "text",
|
|
1926
1903
|
label: formUtils.getLabel("idNumber", "idNumber"),
|
|
1927
1904
|
formatGuidance: formUtils.getGuidanceText("idNumber"),
|
|
1928
|
-
classNameModifiers: { field: ["idNumber"], input: ["idNumber"] },
|
|
1929
1905
|
errorMessage: formUtils.getErrorMessage("idNumber", errors, fieldValidationErrors),
|
|
1930
1906
|
shouldValidate,
|
|
1931
1907
|
isValid: Boolean(valid == null ? void 0 : valid.idNumber),
|
|
@@ -1944,7 +1920,6 @@ function Identity(props) {
|
|
|
1944
1920
|
{
|
|
1945
1921
|
name: "expiryDate",
|
|
1946
1922
|
label: formUtils.getLabel("passportExpiryDate"),
|
|
1947
|
-
classNameModifiers: ["expiryDate"],
|
|
1948
1923
|
errorMessage: formUtils.getErrorMessage("expiryDate", errors, fieldValidationErrors),
|
|
1949
1924
|
isValid: valid == null ? void 0 : valid.expiryDate,
|
|
1950
1925
|
children: (childProps) => /* @__PURE__ */ jsx(
|
|
@@ -2000,7 +1975,6 @@ function Identity(props) {
|
|
|
2000
1975
|
type: "text",
|
|
2001
1976
|
label: formUtils.getLabel("idNumber", "idNumber"),
|
|
2002
1977
|
formatGuidance: formUtils.getGuidanceText("idNumber"),
|
|
2003
|
-
classNameModifiers: { field: ["idNumber"], input: ["idNumber"] },
|
|
2004
1978
|
errorMessage: formUtils.getErrorMessage("idNumber", errors, fieldValidationErrors),
|
|
2005
1979
|
shouldValidate,
|
|
2006
1980
|
isValid: Boolean(valid == null ? void 0 : valid.idNumber),
|
|
@@ -2123,7 +2097,6 @@ function AdditionalPersonalDetails(props) {
|
|
|
2123
2097
|
labels: { country: formUtils.getLabel("country") },
|
|
2124
2098
|
readonly: formUtils.isReadOnly("country"),
|
|
2125
2099
|
allowedCountries: isRootIndividual ? allowedCountries : void 0,
|
|
2126
|
-
classNameModifiers: ["country"],
|
|
2127
2100
|
handleChangeFor: handleFieldChange
|
|
2128
2101
|
}
|
|
2129
2102
|
),
|
|
@@ -2155,7 +2128,6 @@ function AdditionalPersonalDetails(props) {
|
|
|
2155
2128
|
{
|
|
2156
2129
|
name: "birthDate",
|
|
2157
2130
|
label: formUtils.getLabel("birthDate"),
|
|
2158
|
-
classNameModifiers: ["birthDate"],
|
|
2159
2131
|
errorMessage: birthDateErrorMessage,
|
|
2160
2132
|
isValid: valid == null ? void 0 : valid.birthDate,
|
|
2161
2133
|
children: (childProps) => /* @__PURE__ */ jsx(
|
|
@@ -2248,7 +2220,6 @@ function AdditionalPersonalDetails(props) {
|
|
|
2248
2220
|
},
|
|
2249
2221
|
labels: { country: formUtils.getLabel("nationality") },
|
|
2250
2222
|
readonly: formUtils.isReadOnly("nationality"),
|
|
2251
|
-
classNameModifiers: ["nationality"],
|
|
2252
2223
|
handleChangeFor: () => handleFieldChange("nationality", "input")
|
|
2253
2224
|
}
|
|
2254
2225
|
),
|
|
@@ -2379,7 +2350,6 @@ function BasicDetails(props) {
|
|
|
2379
2350
|
{
|
|
2380
2351
|
name: "jobTitle",
|
|
2381
2352
|
label: formUtils.getLabel("jobTitle"),
|
|
2382
|
-
classNameModifiers: ["jobTitle"],
|
|
2383
2353
|
errorMessage: formUtils.getErrorMessage("jobTitle", errors, fieldValidationErrors),
|
|
2384
2354
|
children: (childProps) => /* @__PURE__ */ jsx(
|
|
2385
2355
|
InputText,
|
|
@@ -3869,43 +3839,6 @@ function IndividualOnfido(props) {
|
|
|
3869
3839
|
)
|
|
3870
3840
|
] });
|
|
3871
3841
|
}
|
|
3872
|
-
const individualOnfidoObscuredFields = [
|
|
3873
|
-
"additionalPersonalDetails.idNumber",
|
|
3874
|
-
"additionalPersonalDetails.idNumberExempt"
|
|
3875
|
-
];
|
|
3876
|
-
const individualOnfidoBaseMapping = {
|
|
3877
|
-
"basicDetails.firstName": "individual.name.firstName",
|
|
3878
|
-
"basicDetails.lastName": "individual.name.lastName",
|
|
3879
|
-
"basicDetails.phoneNumber.number": "individual.phone.number",
|
|
3880
|
-
"basicDetails.phoneNumber.phoneCountryCode": "individual.phone.phoneCountryCode",
|
|
3881
|
-
"basicDetails.phoneNumber.type": "individual.phone.type",
|
|
3882
|
-
"basicDetails.email": "individual.email",
|
|
3883
|
-
"additionalPersonalDetails.birthDate": "individual.birthData.dateOfBirth",
|
|
3884
|
-
"additionalPersonalDetails.idNumber": "individual.identificationData.number",
|
|
3885
|
-
"additionalPersonalDetails.idNumberExempt": "individual.identificationData.nationalIdExempt",
|
|
3886
|
-
"additionalPersonalDetails.typeOfIdentity": "individual.identificationData.type",
|
|
3887
|
-
"additionalPersonalDetails.issuerState": "individual.identificationData.issuerState",
|
|
3888
|
-
"additionalPersonalDetails.licenseCardNumber": "individual.identificationData.cardNumber",
|
|
3889
|
-
"additionalPersonalDetails.expiryDate": "individual.identificationData.expiryDate",
|
|
3890
|
-
"additionalPersonalDetails.nationality": "individual.nationality",
|
|
3891
|
-
"additionalPersonalDetails.taxInformation": "individual.taxInformation",
|
|
3892
|
-
// Address fields
|
|
3893
|
-
"additionalPersonalDetails.city": "individual.residentialAddress.city",
|
|
3894
|
-
"additionalPersonalDetails.country": "individual.residentialAddress.country",
|
|
3895
|
-
"additionalPersonalDetails.postalCode": "individual.residentialAddress.postalCode",
|
|
3896
|
-
"additionalPersonalDetails.stateOrProvince": "individual.residentialAddress.stateOrProvince",
|
|
3897
|
-
"additionalPersonalDetails.address": "individual.residentialAddress.street",
|
|
3898
|
-
"additionalPersonalDetails.otherAddressInformation": "individual.residentialAddress.street2"
|
|
3899
|
-
};
|
|
3900
|
-
const individualOnfidoApiKeyMapping = {
|
|
3901
|
-
...reverseMapping(individualOnfidoBaseMapping)
|
|
3902
|
-
};
|
|
3903
|
-
const individualOnfidoDocumentMapping = {
|
|
3904
|
-
["passport"]: "idVerificationMethod.idDocument",
|
|
3905
|
-
["proofOfResidency"]: "proofOfResidency.proofOfResidency",
|
|
3906
|
-
["proofOfNationalIdNumber"]: "proofOfNationalId.proofOfNationalId",
|
|
3907
|
-
["proofOfRelationship"]: "proofOfRelationship.proofOfRelationship"
|
|
3908
|
-
};
|
|
3909
3842
|
const mapIndividualOnfidoSchemaToLegalEntity = (individualOnfido, isExperimentEnabled, matchingScenario) => {
|
|
3910
3843
|
var _a, _b, _c, _d, _e;
|
|
3911
3844
|
const legalEntity = {
|
|
@@ -4931,6 +4864,5 @@ function IndividualOnfidoDropin({
|
|
|
4931
4864
|
}
|
|
4932
4865
|
export {
|
|
4933
4866
|
IndividualOnfidoDropin as I,
|
|
4934
|
-
IndividualDropin as a
|
|
4935
|
-
isOnfidoAutofillFlowEnabled as i
|
|
4867
|
+
IndividualDropin as a
|
|
4936
4868
|
};
|
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "052902ad-8c18-45cc-996c-7724b28837ad", e._sentryDebugIdIdentifier = "sentry-dbid-052902ad-8c18-45cc-996c-7724b28837ad");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { useMemo as useMemo$1, useState, useEffect } from "preact/hooks";
|
|
12
|
-
import { W as TaskTypes, y as LegalEntityType,
|
|
12
|
+
import { W as TaskTypes, y as LegalEntityType, bw as getTranslationKeysByPrefix, b as useI18nContext, a as useLegalEntity, R as ROOT_LE, L as Loader, $ as useAnalyticsContext, bx as StepProgressIndicator, Z as Button } from "./StoreProvider-BmzY19Td.js";
|
|
13
13
|
import { useMemo } from "preact/compat";
|
|
14
|
-
import { u as useCanSeeIntroduction, a as useLegalEntityType } from "./OnboardingDropinComponent-
|
|
14
|
+
import { u as useCanSeeIntroduction, a as useLegalEntityType } from "./OnboardingDropinComponent-BW6er2HU.js";
|
|
15
15
|
import { t as toCapitalized } from "./toCapitalized-Bq7laD0b.js";
|
|
16
16
|
var IntroductionScreens = ((IntroductionScreens2) => {
|
|
17
17
|
IntroductionScreens2["PROLOGUE"] = "PROLOGUE";
|
|
@@ -2,14 +2,14 @@
|
|
|
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] = "273d35d6-9f1f-4048-ac35-d82325b58b91", e._sentryDebugIdIdentifier = "sentry-dbid-273d35d6-9f1f-4048-ac35-d82325b58b91");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { a as useLegalEntity, w as skipToken, R as ROOT_LE, ab as useCapabilityProblems, a6 as useExperimentsContext, L as Loader, g as getLegalEntityCountry, bi as getProblemsForEntity, U as EntityType, W as TaskTypes, a4 as noop } from "./StoreProvider-
|
|
12
|
-
import {
|
|
11
|
+
import { a as useLegalEntity, w as skipToken, R as ROOT_LE, ab as useCapabilityProblems, a6 as useExperimentsContext, L as Loader, g as getLegalEntityCountry, bi as getProblemsForEntity, U as EntityType, bj as isOnfidoAutofillFlowEnabled, W as TaskTypes, a4 as noop } from "./StoreProvider-BmzY19Td.js";
|
|
12
|
+
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-DGMCOm9M.js";
|
|
13
13
|
function LegalRepresentativeDetailsPage({
|
|
14
14
|
legalRepresentativeId,
|
|
15
15
|
asModal = false,
|
package/dist/{ManageIndividualComponent-DCy_23X2.js → ManageIndividualComponent-BIMCvcr2.js}
RENAMED
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { p as useApiContext, a as useLegalEntity, R as ROOT_LE } from "./StoreProvider-
|
|
12
|
-
import { u as useOnboardingStatus } from "./useOnboardingStatus-
|
|
11
|
+
import { p as useApiContext, a as useLegalEntity, R as ROOT_LE } from "./StoreProvider-BmzY19Td.js";
|
|
12
|
+
import { u as useOnboardingStatus } from "./useOnboardingStatus-Cwba-HzS.js";
|
|
13
13
|
import { O as OnboardingStatus } from "./view-verification-status-DTkA8PtO.js";
|
|
14
|
-
import { E as EmbeddedStatus } from "./EmbeddedStatus-
|
|
14
|
+
import { E as EmbeddedStatus } from "./EmbeddedStatus-BsZsXbKc.js";
|
|
15
15
|
function ManageIndividualComponent({
|
|
16
16
|
legalEntityId,
|
|
17
17
|
onClick
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { u as useSalesChannelsSettings, a as usePciStatus } from "./useSalesChannelsSettings-
|
|
12
|
-
import { b as useI18nContext, p as useApiContext } from "./StoreProvider-
|
|
13
|
-
import { E as EmbeddedStatus } from "./EmbeddedStatus-
|
|
11
|
+
import { u as useSalesChannelsSettings, a as usePciStatus } from "./useSalesChannelsSettings-BLzegVJh.js";
|
|
12
|
+
import { b as useI18nContext, p as useApiContext } from "./StoreProvider-BmzY19Td.js";
|
|
13
|
+
import { E as EmbeddedStatus } from "./EmbeddedStatus-BsZsXbKc.js";
|
|
14
14
|
function ManagePCIComponent({ legalEntityId, onClick }) {
|
|
15
15
|
const { i18n } = useI18nContext();
|
|
16
16
|
const title = i18n.get("pciDssQuestionnaire");
|
package/dist/{ManageTermsOfServiceComponent-BhbLMdNx.js → ManageTermsOfServiceComponent-CsM23jq3.js}
RENAMED
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { a as useTermsOfServiceAcceptanceInfos, u as useTermsOfServiceStatus } from "./useTermsOfServiceStatus-
|
|
12
|
-
import { p as useApiContext, b as useI18nContext } from "./StoreProvider-
|
|
13
|
-
import { E as EmbeddedStatus } from "./EmbeddedStatus-
|
|
11
|
+
import { a as useTermsOfServiceAcceptanceInfos, u as useTermsOfServiceStatus } from "./useTermsOfServiceStatus-C-i9mF4m.js";
|
|
12
|
+
import { p as useApiContext, b as useI18nContext } from "./StoreProvider-BmzY19Td.js";
|
|
13
|
+
import { E as EmbeddedStatus } from "./EmbeddedStatus-BsZsXbKc.js";
|
|
14
14
|
function ManageTermsOfServiceComponent({
|
|
15
15
|
legalEntityId,
|
|
16
16
|
onClick
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { V as VerificationErrorAlert, u as useDeleteTransferInstrument } from "./VerificationErrorAlert-
|
|
12
|
-
import { p as useApiContext, q as useQuery, r as httpGet, b as useI18nContext, b0 as datasetUtilities, b1 as getCapabilityProblems, b2 as Modal, b3 as ModalHeader, C as Typography, b4 as ModalContent, L as Loader, Z as Button, a0 as Card, b5 as StructuredList, b6 as ModalFooter, b7 as Spacer, _ as IconButton, b8 as Confirm, b9 as mapTransferInstrumentToPayoutAccount, ba as cloneObject, bb as currencyByCountry, bc as entriesOf, Y as TaskStatus, bd as useTransferInstrument, X as createLogger, a5 as useToastContext, c as useDataset, d as datasetIdentifier, B as Alert } from "./StoreProvider-
|
|
13
|
-
import { s as statusToTag, E as EmbeddedStatus } from "./EmbeddedStatus-
|
|
11
|
+
import { V as VerificationErrorAlert, u as useDeleteTransferInstrument } from "./VerificationErrorAlert-DhtKOmjt.js";
|
|
12
|
+
import { p as useApiContext, q as useQuery, r as httpGet, b as useI18nContext, b0 as datasetUtilities, b1 as getCapabilityProblems, b2 as Modal, b3 as ModalHeader, C as Typography, b4 as ModalContent, L as Loader, Z as Button, a0 as Card, b5 as StructuredList, b6 as ModalFooter, b7 as Spacer, _ as IconButton, b8 as Confirm, b9 as mapTransferInstrumentToPayoutAccount, ba as cloneObject, bb as currencyByCountry, bc as entriesOf, Y as TaskStatus, bd as useTransferInstrument, X as createLogger, a5 as useToastContext, c as useDataset, d as datasetIdentifier, B as Alert } from "./StoreProvider-BmzY19Td.js";
|
|
13
|
+
import { s as statusToTag, E as EmbeddedStatus } from "./EmbeddedStatus-BsZsXbKc.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-BVaYr5u1.js → OnboardingDropinComponent-BW6er2HU.js}
RENAMED
|
@@ -2,25 +2,25 @@
|
|
|
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] = "f8199d50-a211-4fac-a57e-897b2f07862a", e._sentryDebugIdIdentifier = "sentry-dbid-f8199d50-a211-4fac-a57e-897b2f07862a");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
|
-
import { p as useApiContext, q as useQuery, r as httpGet, t as useLocalStorage, v as getLegalRepresentative, a as useLegalEntity, w as skipToken, x as doesLegalEntityRequiresLegalRepresentative, y as LegalEntityType, b as useI18nContext, z as Skeleton, B as Alert, C as Typography, G as isPartOfTrustFromLegalEntity, H as hasSolePropInLegalEntity, J as useSettingsContext, K as SettingNames, M as hasOwnEntityAssociationOfType, N as isEmptyEntity, O as CompanyTypesValue, P as useAccountHolder, U as EntityType, V as DATA_MISSING_DECISION_MAKER_ERROR_CODE_MAPPING, W as TaskTypes, X as createLogger, Y as TaskStatus, Z as Button, _ as IconButton, $ as useAnalyticsContext, a0 as Card, a1 as handleKeys, a2 as LoaderWrapper, a3 as Icon, a4 as noop, a5 as useToastContext, a6 as useExperimentsContext, a7 as isInstantVerifiedAccount, a8 as getObscuredAccountNumber, a9 as useGetTaskStatus, aa as CardGroup, R as ROOT_LE, ab as useCapabilityProblems, L as Loader, ac as useGlobalStore, ad as useSetting, ae as isPartOfUnincorporatedPartnership, af as getOwnSignatories, ag as getOwnDecisionMakersLegalEntityIds, ah as getOwnSolePropProblems, ai as getOwnTrustProblems, aj as getOwnUnincorporatedPartnershipProblems, ak as
|
|
11
|
+
import { p as useApiContext, q as useQuery, r as httpGet, t as useLocalStorage, v as getLegalRepresentative, a as useLegalEntity, w as skipToken, x as doesLegalEntityRequiresLegalRepresentative, y as LegalEntityType, b as useI18nContext, z as Skeleton, B as Alert, C as Typography, G as isPartOfTrustFromLegalEntity, H as hasSolePropInLegalEntity, J as useSettingsContext, K as SettingNames, M as hasOwnEntityAssociationOfType, N as isEmptyEntity, O as CompanyTypesValue, P as useAccountHolder, U as EntityType, V as DATA_MISSING_DECISION_MAKER_ERROR_CODE_MAPPING, W as TaskTypes, X as createLogger, Y as TaskStatus, Z as Button, _ as IconButton, $ as useAnalyticsContext, a0 as Card, a1 as handleKeys, a2 as LoaderWrapper, a3 as Icon, a4 as noop, a5 as useToastContext, a6 as useExperimentsContext, a7 as isInstantVerifiedAccount, a8 as getObscuredAccountNumber, a9 as useGetTaskStatus, aa as CardGroup, R as ROOT_LE, ab as useCapabilityProblems, L as Loader, ac as useGlobalStore, ad as useSetting, ae as isPartOfUnincorporatedPartnership, af as getOwnSignatories, ag as getOwnDecisionMakersLegalEntityIds, ah as getOwnSolePropProblems, ai as getOwnTrustProblems, aj as getOwnUnincorporatedPartnershipProblems, ak as getOwnEntityAssociations, al as TrustMemberTypes, am as getLegalEntityNameBasedOnType, an as useAssociatedLegalEntity, ao as CountryCodes, ap as isEmpty, aq as mergeFieldMetadataIntoProps, ar as resolveFieldMetadata, as as defaultFieldMetadata, at as defaultFieldConfig, au as useForm, av as getFieldProps, aw as nameFields, F as FormHeader, ax as ErrorPanel, ay as createFormUtils, az as Field, aA as MultiSelectList, aB as makeSelectItemForRole, aC as RadioGroupCard, aD as TextArea, aE as Name, aF as CountryField, aG as COUNTRY_FIELD, aH as LegalCompanyNameField, aI as LEGAL_COMPANY_NAME_FIELD, aJ as summaryItem, aK as getRoleName, aL as summaryStep, aM as FormNavigation, aN as Summary, aO as ActionBar, g as getLegalEntityCountry, aP as UnincorporatedPartnershipMemberTypes, aQ as getDecisionMakerDescriptionMap, aR as TRUST_DEFAULT_DESCRIPTIONS_MAP, aS as getRoleTagVariant, aT as DEFAULT_TRUST_MEMBER_REQUIREMENTS, aU as ContextGuidance, aV as RadioGroup, aW as useUnincorporatedPartnershipMembers, aX as deleteUnincorporatedPartnershipMember, aY as hasAllCapabilitiesResolved, aZ as hasRejectedCapabilities, a_ as objectsDeepEqual, a$ as TrustedFieldsProvider } from "./StoreProvider-BmzY19Td.js";
|
|
12
12
|
import { lazy, Suspense } from "preact/compat";
|
|
13
13
|
import { useMemo, useCallback, useEffect, useState, useRef } from "preact/hooks";
|
|
14
|
-
import { P as ProviderButton, u as useSingpassMyInfoLogin } from "./ProviderButton-
|
|
14
|
+
import { P as ProviderButton, u as useSingpassMyInfoLogin } from "./ProviderButton-DAsW5EVa.js";
|
|
15
15
|
import cx from "classnames";
|
|
16
|
-
import { u as useSalesChannelsSettings, a as usePciStatus } from "./useSalesChannelsSettings-
|
|
17
|
-
import { u as useTermsOfServiceStatus, a as useTermsOfServiceAcceptanceInfos } from "./useTermsOfServiceStatus-
|
|
16
|
+
import { u as useSalesChannelsSettings, a as usePciStatus } from "./useSalesChannelsSettings-BLzegVJh.js";
|
|
17
|
+
import { u as useTermsOfServiceStatus, a as useTermsOfServiceAcceptanceInfos } from "./useTermsOfServiceStatus-C-i9mF4m.js";
|
|
18
18
|
import { signal } from "@preact/signals";
|
|
19
19
|
import { d as downloadFile } from "./file-CiG1D0zy.js";
|
|
20
|
-
import { V as VerificationErrorAlert, u as useDeleteTransferInstrument } from "./VerificationErrorAlert-
|
|
21
|
-
import { A as Avatar } from "./Avatar-
|
|
22
|
-
import { T as TaskItemStatus } from "./TaskItemStatus-
|
|
23
|
-
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
20
|
+
import { V as VerificationErrorAlert, u as useDeleteTransferInstrument } from "./VerificationErrorAlert-DhtKOmjt.js";
|
|
21
|
+
import { A as Avatar } from "./Avatar-NEiNEcRx.js";
|
|
22
|
+
import { T as TaskItemStatus } from "./TaskItemStatus-CB6FEOnk.js";
|
|
23
|
+
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-xQlAqIqy.js";
|
|
24
24
|
import { T as Tag } from "./Tag-DdkVScyr.js";
|
|
25
25
|
const getTaskTypes = async (id, baseUrl) => {
|
|
26
26
|
return httpGet({
|
|
@@ -988,6 +988,18 @@ function TaskListInner({
|
|
|
988
988
|
] });
|
|
989
989
|
}
|
|
990
990
|
const isNewEntity = Symbol("isNewEntity");
|
|
991
|
+
const useExemptSettlor = ({
|
|
992
|
+
trust
|
|
993
|
+
}) => {
|
|
994
|
+
const matchingAssociation = useMemo(() => {
|
|
995
|
+
if (!trust) return void 0;
|
|
996
|
+
return getOwnEntityAssociations(trust).find(
|
|
997
|
+
(association) => association.type === TrustMemberTypes.SETTLOR && Boolean(association.settlorExemptionReason)
|
|
998
|
+
);
|
|
999
|
+
}, [trust]);
|
|
1000
|
+
const { data } = useLegalEntity((matchingAssociation == null ? void 0 : matchingAssociation.legalEntityId) ?? skipToken);
|
|
1001
|
+
return data;
|
|
1002
|
+
};
|
|
991
1003
|
const splitAtFirstOccurrence = (str, separator) => {
|
|
992
1004
|
const firstOccurrence = str.indexOf(separator);
|
|
993
1005
|
if (firstOccurrence === -1) return [str];
|
|
@@ -1117,18 +1129,6 @@ const getRootTrusteeTrustMembers = (trustLE, rootLegalEntity, exemptSettlorLE) =
|
|
|
1117
1129
|
...mapUndefinedBeneficiaryInfoToTrustMembers(((_a = trustLE.trust) == null ? void 0 : _a.undefinedBeneficiaryInfo) ?? [])
|
|
1118
1130
|
];
|
|
1119
1131
|
};
|
|
1120
|
-
const useExemptSettlor = ({
|
|
1121
|
-
trust
|
|
1122
|
-
}) => {
|
|
1123
|
-
const matchingAssociation = useMemo(() => {
|
|
1124
|
-
if (!trust) return void 0;
|
|
1125
|
-
return getOwnEntityAssociations(trust).find(
|
|
1126
|
-
(association) => association.type === TrustMemberTypes.SETTLOR && Boolean(association.settlorExemptionReason)
|
|
1127
|
-
);
|
|
1128
|
-
}, [trust]);
|
|
1129
|
-
const { data } = useLegalEntity((matchingAssociation == null ? void 0 : matchingAssociation.legalEntityId) ?? skipToken);
|
|
1130
|
-
return data;
|
|
1131
|
-
};
|
|
1132
1132
|
function useTrustMembers() {
|
|
1133
1133
|
const { data: rootLegalEntity } = useLegalEntity(ROOT_LE);
|
|
1134
1134
|
const { data: trust } = useAssociatedLegalEntity(rootLegalEntity, LegalEntityType.TRUST);
|
|
@@ -1635,7 +1635,6 @@ const TrustRoleAndEntityType = (props) => {
|
|
|
1635
1635
|
errors: formUtils.getFieldErrors(errors, fieldProblems, COUNTRY_FIELD),
|
|
1636
1636
|
labels: formUtils.getFieldLabels(COUNTRY_FIELD),
|
|
1637
1637
|
readonly: false,
|
|
1638
|
-
classNameModifiers: COUNTRY_FIELD,
|
|
1639
1638
|
allowedCountries: void 0,
|
|
1640
1639
|
handleChangeFor
|
|
1641
1640
|
}
|
|
@@ -3371,71 +3370,71 @@ const hasProgressedBeyondEntitySelection = (legalEntity) => {
|
|
|
3371
3370
|
return hasOwnEntityAssocation || !!hasOrganizationType;
|
|
3372
3371
|
};
|
|
3373
3372
|
const Introduction = lazy(
|
|
3374
|
-
async () => (await import("./Introduction-
|
|
3373
|
+
async () => (await import("./Introduction-DJ6qIUPC.js")).Introduction
|
|
3375
3374
|
);
|
|
3376
3375
|
const BusinessTypeSelectionPage = lazy(
|
|
3377
|
-
async () => (await import("./BusinessTypeSelectionPage-
|
|
3376
|
+
async () => (await import("./BusinessTypeSelectionPage-Bmi_8K2g.js")).BusinessTypeSelectionPage
|
|
3378
3377
|
);
|
|
3379
3378
|
const SingpassSelection = lazy(
|
|
3380
|
-
async () => (await import("./SingpassSelection-
|
|
3379
|
+
async () => (await import("./SingpassSelection-Dmlbiq4Z.js")).SingpassSelection
|
|
3381
3380
|
);
|
|
3382
3381
|
const AccountSetupRejected = lazy(
|
|
3383
|
-
async () => (await import("./AccountSetupRejected-
|
|
3382
|
+
async () => (await import("./AccountSetupRejected-UVhxMcAe.js")).AccountSetupRejected
|
|
3384
3383
|
);
|
|
3385
3384
|
const DecisionMakers = lazy(
|
|
3386
|
-
async () => (await import("./DecisionMakers-
|
|
3385
|
+
async () => (await import("./DecisionMakers-BKhtcs_K.js")).DecisionMakers
|
|
3387
3386
|
);
|
|
3388
3387
|
const CustomerSupport = lazy(
|
|
3389
|
-
async () => (await import("./CustomerSupport-
|
|
3388
|
+
async () => (await import("./CustomerSupport-CMFRgQNa.js")).CustomerSupport
|
|
3390
3389
|
);
|
|
3391
|
-
const Review = lazy(async () => (await import("./Review-
|
|
3390
|
+
const Review = lazy(async () => (await import("./Review-DWDbL9-9.js")).Review);
|
|
3392
3391
|
const SignPCIComponent = lazy(
|
|
3393
|
-
async () => (await import("./SignPCIComponent-
|
|
3392
|
+
async () => (await import("./SignPCIComponent-kHaxhkWa.js")).SignPCIComponent
|
|
3394
3393
|
);
|
|
3395
3394
|
const AcceptTermsOfService = lazy(
|
|
3396
|
-
async () => (await import("./AcceptTermsOfServiceComponent-
|
|
3395
|
+
async () => (await import("./AcceptTermsOfServiceComponent-BQ4Yct7L.js")).AcceptTermsOfServiceComponent
|
|
3397
3396
|
);
|
|
3398
3397
|
const TaxReportingDropin = lazy(
|
|
3399
|
-
async () => (await import("./TaxReportingDropin-
|
|
3398
|
+
async () => (await import("./TaxReportingDropin-jofokkei.js")).TaxReportingDropin
|
|
3400
3399
|
);
|
|
3401
3400
|
const PayoutDetailsPage = lazy(
|
|
3402
|
-
async () => (await import("./StoreProvider-
|
|
3401
|
+
async () => (await import("./StoreProvider-BmzY19Td.js").then((n) => n.eB)).PayoutDetailsPage
|
|
3403
3402
|
);
|
|
3404
3403
|
const RootBusinessDetailsPage = lazy(
|
|
3405
|
-
async () => (await import("./RootBusinessDetailsPage-
|
|
3404
|
+
async () => (await import("./RootBusinessDetailsPage-BTYIldSf.js")).RootBusinessDetailsPage
|
|
3406
3405
|
);
|
|
3407
3406
|
const SoleProprietorshipPage = lazy(
|
|
3408
|
-
async () => (await import("./SoleProprietorshipPage-
|
|
3407
|
+
async () => (await import("./SoleProprietorshipPage-Bdhs90-q.js")).SoleProprietorshipPage
|
|
3409
3408
|
);
|
|
3410
3409
|
const TrustMemberCompanyPage = lazy(
|
|
3411
|
-
async () => (await import("./TrustMemberCompanyPage-
|
|
3410
|
+
async () => (await import("./TrustMemberCompanyPage-D3VJOq6a.js")).TrustMemberCompanyPage
|
|
3412
3411
|
);
|
|
3413
3412
|
const UnincorporatedPartnershipMemberCompanyPage = lazy(
|
|
3414
|
-
async () => (await import("./UnincorporatedPartnershipMemberCompanyPage-
|
|
3413
|
+
async () => (await import("./UnincorporatedPartnershipMemberCompanyPage-Ck5C_SEU.js")).UnincorporatedPartnershipMemberCompanyPage
|
|
3415
3414
|
);
|
|
3416
3415
|
const BusinessFinancingPage = lazy(
|
|
3417
|
-
async () => (await import("./BusinessFinancingPage-
|
|
3416
|
+
async () => (await import("./BusinessFinancingPage-DSlmJmOK.js")).BusinessFinancingPage
|
|
3418
3417
|
);
|
|
3419
3418
|
const TrustDetailsPage = lazy(
|
|
3420
|
-
async () => (await import("./TrustDetailsPage-
|
|
3419
|
+
async () => (await import("./TrustDetailsPage-B6HmvYUf.js")).TrustDetailsPage
|
|
3421
3420
|
);
|
|
3422
3421
|
const SourceOfFundsPage = lazy(
|
|
3423
|
-
async () => (await import("./SourceOfFundsPage-
|
|
3422
|
+
async () => (await import("./SourceOfFundsPage-Bj22DAFv.js")).SourceOfFundsPage
|
|
3424
3423
|
);
|
|
3425
3424
|
const RootIndividualDetailsPage = lazy(
|
|
3426
|
-
async () => (await import("./RootIndividualDetailsPage-
|
|
3425
|
+
async () => (await import("./RootIndividualDetailsPage-DCxJ3ycQ.js")).RootIndividualDetailsPage
|
|
3427
3426
|
);
|
|
3428
3427
|
const LegalRepresentativeDetailsPage = lazy(
|
|
3429
|
-
async () => (await import("./LegalRepresentativeDetailsPage-
|
|
3428
|
+
async () => (await import("./LegalRepresentativeDetailsPage-CyHwQR_W.js")).LegalRepresentativeDetailsPage
|
|
3430
3429
|
);
|
|
3431
3430
|
const TrustMemberIndividualPage = lazy(
|
|
3432
|
-
async () => (await import("./TrustMemberIndividualPage-
|
|
3431
|
+
async () => (await import("./TrustMemberIndividualPage-1aeOYsnG.js")).TrustMemberIndividualPage
|
|
3433
3432
|
);
|
|
3434
3433
|
const UnincorporatedPartnershipIndividualPage = lazy(
|
|
3435
|
-
async () => (await import("./UnincorporatedPartnershipIndividualPage-
|
|
3434
|
+
async () => (await import("./UnincorporatedPartnershipIndividualPage-Bt7e6ncF.js")).UnincorporatedPartnershipIndividualPage
|
|
3436
3435
|
);
|
|
3437
3436
|
const DecisionMakerDetailsPage = lazy(
|
|
3438
|
-
async () => (await import("./DecisionMakerDetailsPage-
|
|
3437
|
+
async () => (await import("./DecisionMakerDetailsPage-DI2Ubmef.js")).DecisionMakerDetailsPage
|
|
3439
3438
|
);
|
|
3440
3439
|
const PAGES_WITH_POLLING = [TaskTypes.DECISION_MAKER_OVERVIEW, TaskTypes.TASKS_OVERVIEW];
|
|
3441
3440
|
const logger = createLogger();
|
|
@@ -2,13 +2,13 @@
|
|
|
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] = "ce38c73d-23cf-4d20-8ce6-419b72fe45f2", e._sentryDebugIdIdentifier = "sentry-dbid-ce38c73d-23cf-4d20-8ce6-419b72fe45f2");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useReducer, useMemo } from "preact/hooks";
|
|
11
|
-
import { p as useApiContext, q as useQuery, bh as httpPost, a6 as useExperimentsContext, g as getLegalEntityCountry, ao as CountryCodes, G as isPartOfTrustFromLegalEntity, y as LegalEntityType, H as hasSolePropInLegalEntity, a$ as TrustedFieldsProvider,
|
|
11
|
+
import { p as useApiContext, q as useQuery, bh as httpPost, a6 as useExperimentsContext, g as getLegalEntityCountry, ao as CountryCodes, G as isPartOfTrustFromLegalEntity, y as LegalEntityType, H as hasSolePropInLegalEntity, a$ as TrustedFieldsProvider, bk as individualComponentsKeyMapping, bl as businessDetailsComponentsKeyMapping, b as useI18nContext, Z as Button, bm as Svg } from "./StoreProvider-BmzY19Td.js";
|
|
12
12
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
13
13
|
async function convertToSingpassLinkResponse(openIdInitiateResponse) {
|
|
14
14
|
const response = await Promise.resolve(openIdInitiateResponse);
|
|
@@ -2,15 +2,15 @@
|
|
|
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] = "eb6305b6-934c-4897-9343-9a607ca8d667", e._sentryDebugIdIdentifier = "sentry-dbid-eb6305b6-934c-4897-9343-9a607ca8d667");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { useState } from "preact/hooks";
|
|
12
|
-
import { p as useApiContext, bf as useMutation, bh as httpPost, b as useI18nContext, a5 as useToastContext, a2 as LoaderWrapper, F as FormHeader,
|
|
13
|
-
import { D as DropinLayout } from "./OnboardingDropinComponent-
|
|
12
|
+
import { p as useApiContext, bf as useMutation, bh as httpPost, b as useI18nContext, a5 as useToastContext, a2 as LoaderWrapper, F as FormHeader, bI as Checkbox, aO as ActionBar } from "./StoreProvider-BmzY19Td.js";
|
|
13
|
+
import { D as DropinLayout } from "./OnboardingDropinComponent-BW6er2HU.js";
|
|
14
14
|
const confirmReview = async (legalEntityId, baseUrl) => {
|
|
15
15
|
return httpPost({
|
|
16
16
|
baseUrl,
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { P as useAccountHolder, a as useLegalEntity, R as ROOT_LE, ab as useCapabilityProblems, L as Loader, G as isPartOfTrustFromLegalEntity, bi as getProblemsForEntity, U as EntityType, g as getLegalEntityCountry, W as TaskTypes } from "./StoreProvider-
|
|
12
|
-
import { B as BusinessDetailsDropin } from "./BusinessDetailsDropin-
|
|
11
|
+
import { P as useAccountHolder, a as useLegalEntity, R as ROOT_LE, ab as useCapabilityProblems, L as Loader, G as isPartOfTrustFromLegalEntity, bi as getProblemsForEntity, U as EntityType, g as getLegalEntityCountry, W as TaskTypes } from "./StoreProvider-BmzY19Td.js";
|
|
12
|
+
import { B as BusinessDetailsDropin } from "./BusinessDetailsDropin-l0xfPekL.js";
|
|
13
13
|
const RootBusinessDetailsPage = ({
|
|
14
14
|
isTargetLegalEntityType = false,
|
|
15
15
|
onSubmit,
|
package/dist/{RootIndividualDetailsPage-DkzqPD70.js → RootIndividualDetailsPage-DCxJ3ycQ.js}
RENAMED
|
@@ -2,14 +2,14 @@
|
|
|
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] = "97683626-ee7e-4e3a-b0ba-73da69d67685", e._sentryDebugIdIdentifier = "sentry-dbid-97683626-ee7e-4e3a-b0ba-73da69d67685");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { a as useLegalEntity, R as ROOT_LE, ab as useCapabilityProblems, a6 as useExperimentsContext, P as useAccountHolder, L as Loader, g as getLegalEntityCountry, G as isPartOfTrustFromLegalEntity, bi as getProblemsForEntity, U as EntityType, W as TaskTypes, a4 as noop } from "./StoreProvider-
|
|
12
|
-
import {
|
|
11
|
+
import { a as useLegalEntity, R as ROOT_LE, ab as useCapabilityProblems, a6 as useExperimentsContext, P as useAccountHolder, L as Loader, g as getLegalEntityCountry, G as isPartOfTrustFromLegalEntity, bi as getProblemsForEntity, U as EntityType, bj as isOnfidoAutofillFlowEnabled, W as TaskTypes, a4 as noop } from "./StoreProvider-BmzY19Td.js";
|
|
12
|
+
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-DGMCOm9M.js";
|
|
13
13
|
function RootIndividualDetailsPage({
|
|
14
14
|
asModal = false,
|
|
15
15
|
hideSidebar = false,
|
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "88dce7f4-000f-4839-8152-f619c0aff87f", e._sentryDebugIdIdentifier = "sentry-dbid-88dce7f4-000f-4839-8152-f619c0aff87f");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { p as useApiContext, q as useQuery, bh as httpPost, be as useInvalidateRootLegalEntity, bf as useMutation, ap as isEmpty, b as useI18nContext, $ as useAnalyticsContext, a5 as useToastContext, au as useForm,
|
|
12
|
-
import { u as useSalesChannelsSettings, a as usePciStatus } from "./useSalesChannelsSettings-
|
|
13
|
-
import { O as OutlinedIcon, C as ContractViewer } from "./ContractViewer-
|
|
14
|
-
import { F as FormEndState } from "./FormEndState-
|
|
11
|
+
import { p as useApiContext, q as useQuery, bh as httpPost, be as useInvalidateRootLegalEntity, bf as useMutation, ap as isEmpty, b as useI18nContext, $ as useAnalyticsContext, a5 as useToastContext, au as useForm, bA as getOwnDecisionMakers, y as LegalEntityType, W as TaskTypes, bJ as MaybeModal, b4 as ModalContent, Z as Button, a2 as LoaderWrapper, az as Field, bK as Select, bI as Checkbox, b6 as ModalFooter, b7 as Spacer, a as useLegalEntity, R as ROOT_LE, L as Loader } from "./StoreProvider-BmzY19Td.js";
|
|
12
|
+
import { u as useSalesChannelsSettings, a as usePciStatus } from "./useSalesChannelsSettings-BLzegVJh.js";
|
|
13
|
+
import { O as OutlinedIcon, C as ContractViewer } from "./ContractViewer-R4-gfVmp.js";
|
|
14
|
+
import { F as FormEndState } from "./FormEndState-C3HCmXcw.js";
|
|
15
15
|
import { useState, useCallback, useEffect } from "preact/hooks";
|
|
16
16
|
const getPciTemplate = async (legalEntityId, baseUrl, data) => {
|
|
17
17
|
return httpPost(
|
|
@@ -2,14 +2,14 @@
|
|
|
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] = "a05dd3a0-c0f0-46a0-b5e7-a5ecd4535109", e._sentryDebugIdIdentifier = "sentry-dbid-a05dd3a0-c0f0-46a0-b5e7-a5ecd4535109");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { useState } from "preact/hooks";
|
|
12
|
-
import { b as useI18nContext, au as useForm, C as Typography, az as Field, aC as RadioGroupCard, Z as Button,
|
|
12
|
+
import { b as useI18nContext, au as useForm, C as Typography, az as Field, aC as RadioGroupCard, Z as Button, bm as Svg, y as LegalEntityType } from "./StoreProvider-BmzY19Td.js";
|
|
13
13
|
const setupAccountMethods = ["singpass", "manual"];
|
|
14
14
|
const setupAccountMethodFields = ["setupAccountMethod"];
|
|
15
15
|
const getSingpassSelectionDisabled = (legalEntityType) => {
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { a as useLegalEntity, R as ROOT_LE, w as skipToken, ab as useCapabilityProblems, L as Loader, bi as getProblemsForEntity, U as EntityType, g as getLegalEntityCountry, W as TaskTypes } from "./StoreProvider-
|
|
12
|
-
import { B as BusinessDetailsDropin } from "./BusinessDetailsDropin-
|
|
11
|
+
import { a as useLegalEntity, R as ROOT_LE, w as skipToken, ab as useCapabilityProblems, L as Loader, bi as getProblemsForEntity, U as EntityType, g as getLegalEntityCountry, W as TaskTypes } from "./StoreProvider-BmzY19Td.js";
|
|
12
|
+
import { B as BusinessDetailsDropin } from "./BusinessDetailsDropin-l0xfPekL.js";
|
|
13
13
|
function SoleProprietorshipPage({
|
|
14
14
|
solePropId,
|
|
15
15
|
isTargetLegalEntityType = false,
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import { b as useI18nContext, Y as TaskStatus } from "./StoreProvider-
|
|
12
|
+
import { b as useI18nContext, Y as TaskStatus } from "./StoreProvider-BmzY19Td.js";
|
|
13
13
|
const inTaskStatus = "adyen-kyc-in-task-status";
|
|
14
14
|
const inTaskStatusIndicator = "adyen-kyc-in-task-status-indicator";
|
|
15
15
|
const inTaskStatusIndicatorSuccess = "adyen-kyc-in-task-status-indicator-success";
|