@adyen/kyc-components 3.91.0-beta.2 → 3.91.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AcceptTermsOfServiceComponent-BIa9QMFv.js → AcceptTermsOfServiceComponent-Bl8Skw0p.js} +12 -12
- package/dist/{Accordion-uu1MdSvy.js → Accordion-BxBwztLx.js} +1 -1
- package/dist/{AccountSetupRejected-Bmumcy5W.js → AccountSetupRejected-DWnI467S.js} +3 -3
- package/dist/{ActionBar-DT-qr_Qn.js → ActionBar-BI8EL50o.js} +1 -1
- package/dist/{Address-CJ8-9pmb.js → Address-BUrDDnmR.js} +7 -7
- package/dist/{Alert-Gnrb2IDD.js → Alert-B83aFhFn.js} +2 -2
- package/dist/{Avatar-m99XZ4hn.js → Avatar-CWGv3_UH.js} +1 -1
- package/dist/{BusinessFinancingComponent-BrYHADxw.js → BusinessFinancingComponent-Dp9pkrSs.js} +4 -4
- package/dist/{BusinessFinancingDropin-Dpj4PtK8.js → BusinessFinancingDropin-CxDQONVa.js} +21 -21
- package/dist/{BusinessFinancingPage-sgZmw-tE.js → BusinessFinancingPage-CK4iko3V.js} +3 -3
- package/dist/{BusinessTypeSelectionPage-NRmquR_l.js → BusinessTypeSelectionPage-BbCt3hSM.js} +7 -7
- package/dist/{Card-o4tZEJsx.js → Card-CQrP0PXC.js} +2 -2
- package/dist/{ConstitutionalDocument-DXlfQzZ4.js → ConstitutionalDocument-DM6M40MP.js} +2 -2
- package/dist/{CountryField-DpUaoE4w.js → CountryField-CsKJAI53.js} +5 -5
- package/dist/{CreateIndividualComponent-B1R5YAn_.js → CreateIndividualComponent-B6ecxCd8.js} +4 -4
- package/dist/{CreateTransferInstrumentComponent-DaORYFJP.js → CreateTransferInstrumentComponent-Chqddjgy.js} +4 -4
- package/dist/{Currency-B_hq680J.js → Currency-CkQVLmOQ.js} +4 -4
- package/dist/{CustomerSupport-BuntlO6p.js → CustomerSupport-BDynvVnl.js} +9 -9
- package/dist/{DebugModal-B0tAsab5.js → DebugModal-DAu7rz8a.js} +7 -7
- package/dist/{DecisionMakerDetailsPage-BZ-onmfT.js → DecisionMakerDetailsPage-BBqNmh_M.js} +5 -5
- package/dist/{DecisionMakers-LRcFkyqt.js → DecisionMakers-Ddvw0N__.js} +19 -19
- package/dist/{EmbeddedStatus-XJY-VxId.js → EmbeddedStatus-BSK268B-.js} +2 -2
- package/dist/{EndStateLayout-BS4VsHXS.js → EndStateLayout-B8KmFejY.js} +1 -1
- package/dist/{EntityAssociation-C10nkGLr.js → EntityAssociation-DBPiXzNF.js} +7 -7
- package/dist/{EntityGuidanceStatus-CqGVGJJo.js → EntityGuidanceStatus-QEzHcb28.js} +2 -2
- package/dist/{FormFlow-C6GXtc-V.js → FormFlow-BrgeP70A.js} +7 -7
- package/dist/{FormNavigation-BUiNhTo2.js → FormNavigation-DLJbUsy3.js} +2 -2
- package/dist/{FormWrapper-ClKhY2Vi.js → FormWrapper-41qnDF4W.js} +9 -9
- package/dist/{IndividualOnfido-Bi_r5tBx.js → IndividualOnfido-pGSPtITh.js} +13 -13
- package/dist/{IndividualOnfidoDropin-LO8IEMt-.js → IndividualOnfidoDropin-DZEn2Tf8.js} +26 -26
- package/dist/{InputText-C2zyEce3.js → InputText-DLAmX8CW.js} +2 -2
- package/dist/{Introduction-uXhNVd1a.js → Introduction-DaRfsN8P.js} +3 -3
- package/dist/{JpAddress-55_nZs3o.js → JpAddress-BrtEV6zM.js} +8 -8
- package/dist/{LegalRepresentativeDetailsPage-DtiZ-fvp.js → LegalRepresentativeDetailsPage-XcmRRT7P.js} +3 -3
- package/dist/{ListItem-B1KOT4ri.js → ListItem-DlRGqcSA.js} +2 -2
- package/dist/{ManageIndividualComponent-CiEigjAR.js → ManageIndividualComponent-BpzsaZ1O.js} +4 -4
- package/dist/{ManageTermsOfServiceComponent-B4Ul5V7Y.js → ManageTermsOfServiceComponent-D9i2HO5I.js} +3 -3
- package/dist/{ManageTransferInstrumentComponent-Bqj-RFWt.js → ManageTransferInstrumentComponent-C6LYppym.js} +11 -11
- package/dist/{MaybeModal-rTuUVAaI.js → MaybeModal-DW5SxNsJ.js} +2 -2
- package/dist/{Modal-CM4oKXov.js → Modal-B4wxf7HK.js} +1 -1
- package/dist/{OnboardingDropinComponent-BwR4PVId.js → OnboardingDropinComponent-Cx-c_p0i.js} +53 -53
- package/dist/{PayoutDetailsDropin-hi-OEKs8.js → PayoutDetailsDropin-BKXxBApD.js} +26 -26
- package/dist/{Review-YBnyNt_x.js → Review-DSdM3vGX.js} +6 -6
- package/dist/{RootBusinessDetailsPage-DEX0arts.js → RootBusinessDetailsPage-CqpiMFn9.js} +4 -4
- package/dist/{RootBusinessLinesPage-BY5eLU_O.js → RootBusinessLinesPage-DUIp_zfH.js} +39 -55
- package/dist/{RootIndividualDetailsPage-1hPplHy0.js → RootIndividualDetailsPage-BpTbnRMJ.js} +5 -5
- package/dist/{SignPCIComponent-DaFOVsxf.js → SignPCIComponent-B-nJZ1cD.js} +9 -9
- package/dist/{SingpassSelection-Cdk8QGs3.js → SingpassSelection-D7wRmaLb.js} +3 -3
- package/dist/{SoleProprietorshipPage-C2xCcJ8J.js → SoleProprietorshipPage-DUVjo6fc.js} +3 -3
- package/dist/{SourceOfFundsPage-BA9KZq04.js → SourceOfFundsPage-CFDBqD8v.js} +24 -24
- package/dist/{Spacer-C5Xfp5no.js → Spacer-w89ksCbG.js} +8 -8
- package/dist/{StepProgressIndicator-DiL-zN_G.js → StepProgressIndicator-BvU4jA3I.js} +1 -1
- package/dist/{StoreProvider-DF6FooOA.js → StoreProvider-CyzNf7KK.js} +5 -5
- package/dist/{Summary-DTnjwlky.js → Summary-QyNHKBjO.js} +3 -3
- package/dist/{TaxReportingDropin-BsQJlr7a.js → TaxReportingDropin-Bn2xYbVw.js} +15 -15
- package/dist/{TrustDetailsPage-qjxwk52Y.js → TrustDetailsPage-D0sr6zMt.js} +26 -26
- package/dist/{TrustMemberCompanyPage-BqimHasZ.js → TrustMemberCompanyPage-4sIP-M16.js} +4 -4
- package/dist/{TrustMemberIndividualPage-D-yRdjQf.js → TrustMemberIndividualPage-CelIjIAw.js} +3 -3
- package/dist/{TrustMemberRoleAndTypePage-DAR-3OX6.js → TrustMemberRoleAndTypePage-C3CRy717.js} +13 -13
- package/dist/{TrustMembersOverview-uKkFk4-r.js → TrustMembersOverview-HrRgAsno.js} +11 -11
- package/dist/{UnincorporatedPartnershipIndividualPage-Bbme53Pn.js → UnincorporatedPartnershipIndividualPage-Dre5_Nuk.js} +3 -3
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-BI-imhUT.js → UnincorporatedPartnershipMemberCompanyPage-woQiy94h.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-8raJnS45.js → UnincorporatedPartnershipMemberRoleAndTypePage-DrirgJXY.js} +8 -8
- package/dist/{UnincorporatedPartnershipMembersOverview-BuKciP9m.js → UnincorporatedPartnershipMembersOverview-BBiRqJkR.js} +8 -8
- package/dist/{VerificationErrorAlert-CYNO80oO.js → VerificationErrorAlert-B_ovSmUS.js} +3 -3
- package/dist/{ViewVerificationStatusComponent-DACTTfCl.js → ViewVerificationStatusComponent-CDQk4Nxa.js} +3 -3
- package/dist/adyen-business-financing.js +2 -2
- package/dist/adyen-individual-configuration.js +2 -2
- package/dist/adyen-individual-status.js +2 -2
- package/dist/adyen-kyc-components.js +20 -20
- package/dist/adyen-onboarding.js +2 -2
- package/dist/adyen-terms-of-service-management.js +2 -2
- package/dist/adyen-terms-of-service-status.js +2 -2
- package/dist/adyen-transfer-instrument-configuration.js +2 -2
- package/dist/adyen-transfer-instrument-management.js +2 -2
- package/dist/adyen-verification-status.js +2 -2
- package/dist/{debouncedInputEvent-C_rJOt3C.js → debouncedInputEvent-CFFx_oML.js} +1 -1
- package/dist/{documentUtils-cLOgtV2K.js → documentUtils-Be5wlCwo.js} +2 -2
- package/dist/{dropinUtils-D3np2P2E.js → dropinUtils-DCWhMKpQ.js} +3 -3
- package/dist/{getFieldsWithExistingData-BiPD_Ean.js → getFieldsWithExistingData-CfckMyJ1.js} +1 -1
- package/dist/{getName-mTNaBwVK.js → getName-l7X1ZGKx.js} +1 -1
- package/dist/{hasDataChanged-ChUwWg_g.js → hasDataChanged-BXawTZla.js} +1 -1
- package/dist/{iframeWidget-B4RyteW4.js → iframeWidget-CbtmWmoO.js} +3 -3
- package/dist/{localizeDateString-DCVmz7ID.js → localizeDateString-BX5t59Ip.js} +1 -1
- package/dist/{mapExistingFile-BN8aTRvU.js → mapExistingFile-Bd7nsoK8.js} +2 -2
- package/dist/{mapFinancialReportsToFinancialInformation-C33ijHVN.js → mapFinancialReportsToFinancialInformation-Bfvt2G87.js} +2 -2
- package/dist/{mapJpAddressSchemaToAddressLocalizations-CwE9d4Bj.js → mapJpAddressSchemaToAddressLocalizations-CWY2lZGD.js} +2 -2
- package/dist/{mapLegalEntityToIndividualOnfidoSchema-D-oq466J.js → mapLegalEntityToIndividualOnfidoSchema-CQF6zsO7.js} +2 -2
- package/dist/{mapTransferInstrumentToPayoutAccount-DRzw1N3C.js → mapTransferInstrumentToPayoutAccount-CacHlKHM.js} +1 -1
- package/dist/{process-field-configurations-BZlX_9eK.js → process-field-configurations-BZQqH4-M.js} +2 -2
- package/dist/{resolveEnvironment-Bgrr8R5k.js → resolveEnvironment-C6JtHmZc.js} +3 -3
- package/dist/{rules-D0K2oK_M.js → rules-ClDW_ZSK.js} +4 -4
- package/dist/types/components/BusinessLines/tasks/validate.d.ts +2 -0
- package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
- package/dist/types/utils/entityStatusUtil.d.ts +1 -1
- package/dist/{types-CxVXLNZU.js → types-DDnAZYTj.js} +1 -1
- package/dist/{types-ssuYLW3v.js → types-DE1uuPfP.js} +1 -1
- package/dist/{types-DYtHLqDC.js → types-hGeLq0SR.js} +1 -1
- package/dist/{useAssociatedLegalEntity-Cshht8V9.js → useAssociatedLegalEntity-D_Nk_obe.js} +1 -1
- package/dist/{useBusinessDetailsData-90mncjhG.js → useBusinessDetailsData-DG9EJBH_.js} +27 -27
- package/dist/{useCreateLegalEntity-BDnL9vUc.js → useCreateLegalEntity-DT7ue23d.js} +1 -1
- package/dist/{useDataset-De6-Mndp.js → useDataset-DCCxYOjr.js} +3 -3
- package/dist/{useForm-CEqvihiY.js → useForm-_Kjd_HFb.js} +4 -4
- package/dist/{useGlobalData-aPhdFPwf.js → useGlobalData-C7tjZfC0.js} +2 -2
- package/dist/{useMultiForm-81FcmdI3.js → useMultiForm-DWozxGN4.js} +3 -3
- package/dist/{useOnboardingStatus-bb32ojHj.js → useOnboardingStatus-DBLS6PUq.js} +1 -1
- package/dist/{useScenarios-FsRFw8UV.js → useScenarios-DD06bWNN.js} +1 -1
- package/dist/{useTermsOfServiceStatus-9dp4doTk.js → useTermsOfServiceStatus-D2lYSqHn.js} +1 -1
- package/dist/{useToastContext-4vu8Y5tw.js → useToastContext-Cbw29cqc.js} +1 -1
- package/dist/{useUnincorporatedPartnershipMembers-CJhJw-rr.js → useUnincorporatedPartnershipMembers-Dbb2VjkF.js} +4 -4
- package/dist/{useUpdateBusinessLines-EerwvXiG.js → useUpdateBusinessLines-8bDYsLav.js} +1 -1
- package/dist/{useUpdateLegalEntity-BvsQbIpN.js → useUpdateLegalEntity-Aubxhgvv.js} +2 -2
- package/dist/{utils-CoqBq56j.js → utils-D1-D6fui.js} +5 -5
- package/dist/{utils-D8gkPvNq.js → utils-DenrGsUh.js} +3 -3
- package/dist/{validate-DylMkaRj.js → validate-BgMFLdKI.js} +1 -1
- package/dist/{validate-j3URGq7x.js → validate-BxVes1el.js} +1 -1
- package/dist/{validationError-DCLDb95F.js → validationError-DPP91cM3.js} +1 -1
- package/package.json +1 -1
package/dist/{OnboardingDropinComponent-BwR4PVId.js → OnboardingDropinComponent-Cx-c_p0i.js}
RENAMED
|
@@ -2,39 +2,39 @@
|
|
|
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] = "49d6ea0a-083e-4f08-b09e-47e9eb02fc46", e._sentryDebugIdIdentifier = "sentry-dbid-49d6ea0a-083e-4f08-b09e-47e9eb02fc46");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, j as useQuery, k as httpPost, m as httpGet, o as useSettingsContext, p as useLocalStorage, g as getLegalEntityCountry, C as CountryCodes, q as isPartOfTrustFromLegalEntity, r as LegalEntityTypes, t as hasSolePropInLegalEntity, v as getLegalRepresentative, c as useLegalEntity, w as skipToken, x as doesLegalEntityRequiresLegalRepresentative, u as useTranslation, B as Button, y as Skeleton, z as translateStringOrObject, G as Typography, H as hasOwnEntityAssociationOfType, J as isEmptyEntity, K as useAccountHolder, M as EntityTypes, N as DATA_MISSING_DECISION_MAKER_ERROR_CODE_MAPPING, O as TaskTypes, P as createLogger, U as TaskStatuses, V as useI18nContext, W as isEmpty, i as isUndefinedOrNull, X as useExperimentsContext, Y as IconButton, Z as isISIN, R as ROOT_LE, $ as useVersionConfiguration, L as Loader, a0 as useMutation, a1 as entriesOf, a2 as useQueryClient, a3 as useAnalyticsContext, a4 as Icon, a5 as noop, a6 as isInstantVerifiedAccount, a7 as getObscuredAccountNumber, a8 as useGetTaskStatus, a9 as useGlobalStore, aa as isPartOfUnincorporatedPartnership, ab as getOwnSignatories, ac as getOwnDecisionMakersLegalEntityIds, ad as getOwnSolePropProblems, ae as getOwnTrustProblems, af as getOwnUnincorporatedPartnershipProblems, ag as getOwnEntityAssociations, ah as TrustMemberTypes, ai as hasAllCapabilitiesResolved, aj as hasRejectedCapabilities, ak as objectsDeepEqual, a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { b as useApiContext, j as useQuery, k as httpPost, m as httpGet, o as useSettingsContext, p as useLocalStorage, g as getLegalEntityCountry, C as CountryCodes, q as isPartOfTrustFromLegalEntity, r as LegalEntityTypes, t as hasSolePropInLegalEntity, v as getLegalRepresentative, c as useLegalEntity, w as skipToken, x as doesLegalEntityRequiresLegalRepresentative, u as useTranslation, B as Button, y as Skeleton, z as translateStringOrObject, G as Typography, H as hasOwnEntityAssociationOfType, J as isEmptyEntity, K as useAccountHolder, M as EntityTypes, N as DATA_MISSING_DECISION_MAKER_ERROR_CODE_MAPPING, O as TaskTypes, P as createLogger, U as TaskStatuses, V as useI18nContext, W as isEmpty, i as isUndefinedOrNull, X as useExperimentsContext, Y as IconButton, Z as isISIN, R as ROOT_LE, $ as useVersionConfiguration, L as Loader, a0 as useMutation, a1 as entriesOf, a2 as useQueryClient, a3 as useAnalyticsContext, a4 as Icon, a5 as noop, a6 as isInstantVerifiedAccount, a7 as getObscuredAccountNumber, a8 as useGetTaskStatus, a9 as useGlobalStore, aa as isPartOfUnincorporatedPartnership, ab as getOwnSignatories, ac as getOwnDecisionMakersLegalEntityIds, ad as getOwnSolePropProblems, ae as getOwnTrustProblems, af as getOwnUnincorporatedPartnershipProblems, ag as getOwnEntityAssociations, ah as TrustMemberTypes, ai as hasAllCapabilitiesResolved, aj as hasRejectedCapabilities, ak as objectsDeepEqual, a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-CyzNf7KK.js";
|
|
11
11
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
12
12
|
import { lazy, Suspense } from "preact/compat";
|
|
13
13
|
import { useMemo, useReducer, useCallback, useEffect, useState, useRef } from "preact/hooks";
|
|
14
|
-
import { S as SettingNames, I as InputText, T as TaskVerificationStatus } from "./InputText-
|
|
15
|
-
import { T as TrustedFieldsProviders, I as Image, v as validatePatternOnBlur, a as validateNotEmptyOnBlur, m as makeMask, n as numericInputs, s as spacer, M as MaskedInput, b as alphanumericInputs, u as uppercase, c as alphaInputs, d as nonInputs, S as StateContextSetter, C as ContextGuidance, r as resolveFieldMetadata, e as validateLegalCompanyName, f as validateLatinSpaceMarkPunctuationOnlyOnBlur, g as validateJaKanaLegalCompanyName, h as validateJaHaniLegalCompanyName, R as RadioGroupCard, i as useCapabilityProblems } from "./Spacer-
|
|
16
|
-
import { g as getTrustedFieldsProvider, C as CompanyTypesValues, a as getCompanyRegistrationNumberOptions, s as stateFormatGuidanceText, b as businessRegistrationNumberMasks, c as businessRegistrationNumberPatterns, v as vatNumberOptions, d as getVatNumberOptions, T as TAX_INFORMATION_FIELD, r as requestingBanking, e as requestingIssuing, t as taxInformationDefaultFieldMetadata, f as taxInformationDefaultFieldConfig, h as TaxInformationField, i as isCompatibleJapanVersion, j as toFullWidth, u as useAllowedCountries, k as COUNTRY_OF_GOVERNING_LAW_POSSIBLE, S as StateCodesUS, l as handleKeys, m as COUNTRIES_USING_COMPANY_SEARCH, n as useSetting, o as individualOnfidoForms, p as individualForms, q as isBafinSignatoryFlow, w as showIdNowModal } from "./IndividualOnfido-
|
|
17
|
-
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-
|
|
14
|
+
import { S as SettingNames, I as InputText, T as TaskVerificationStatus } from "./InputText-DLAmX8CW.js";
|
|
15
|
+
import { T as TrustedFieldsProviders, I as Image, v as validatePatternOnBlur, a as validateNotEmptyOnBlur, m as makeMask, n as numericInputs, s as spacer, M as MaskedInput, b as alphanumericInputs, u as uppercase, c as alphaInputs, d as nonInputs, S as StateContextSetter, C as ContextGuidance, r as resolveFieldMetadata, e as validateLegalCompanyName, f as validateLatinSpaceMarkPunctuationOnlyOnBlur, g as validateJaKanaLegalCompanyName, h as validateJaHaniLegalCompanyName, R as RadioGroupCard, i as useCapabilityProblems } from "./Spacer-w89ksCbG.js";
|
|
16
|
+
import { g as getTrustedFieldsProvider, C as CompanyTypesValues, a as getCompanyRegistrationNumberOptions, s as stateFormatGuidanceText, b as businessRegistrationNumberMasks, c as businessRegistrationNumberPatterns, v as vatNumberOptions, d as getVatNumberOptions, T as TAX_INFORMATION_FIELD, r as requestingBanking, e as requestingIssuing, t as taxInformationDefaultFieldMetadata, f as taxInformationDefaultFieldConfig, h as TaxInformationField, i as isCompatibleJapanVersion, j as toFullWidth, u as useAllowedCountries, k as COUNTRY_OF_GOVERNING_LAW_POSSIBLE, S as StateCodesUS, l as handleKeys, m as COUNTRIES_USING_COMPANY_SEARCH, n as useSetting, o as individualOnfidoForms, p as individualForms, q as isBafinSignatoryFlow, w as showIdNowModal } from "./IndividualOnfido-pGSPtITh.js";
|
|
17
|
+
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-D_Nk_obe.js";
|
|
18
18
|
import cx from "classnames";
|
|
19
|
-
import { a as Alert } from "./Alert-
|
|
20
|
-
import { u as useTermsOfServiceStatus, a as useTermsOfServiceAcceptanceInfos } from "./useTermsOfServiceStatus-
|
|
21
|
-
import { a as useToastContext } from "./useToastContext-
|
|
22
|
-
import { c as createFormUtils, H as Header, L as List, g as getFormProps, E as ErrorPanel, a as Link, m as mergeFieldMetadataIntoProps, C as CountryField, b as COUNTRY_FIELD, S as StackLayout, U as UnincorporatedPartnershipMemberTypes } from "./CountryField-
|
|
23
|
-
import { C as Card } from "./Card-
|
|
19
|
+
import { a as Alert } from "./Alert-B83aFhFn.js";
|
|
20
|
+
import { u as useTermsOfServiceStatus, a as useTermsOfServiceAcceptanceInfos } from "./useTermsOfServiceStatus-D2lYSqHn.js";
|
|
21
|
+
import { a as useToastContext } from "./useToastContext-Cbw29cqc.js";
|
|
22
|
+
import { c as createFormUtils, H as Header, L as List, g as getFormProps, E as ErrorPanel, a as Link, m as mergeFieldMetadataIntoProps, C as CountryField, b as COUNTRY_FIELD, S as StackLayout, U as UnincorporatedPartnershipMemberTypes } from "./CountryField-CsKJAI53.js";
|
|
23
|
+
import { C as Card } from "./Card-CQrP0PXC.js";
|
|
24
24
|
import { signal } from "@preact/signals";
|
|
25
25
|
import { d as downloadFile } from "./file-CiG1D0zy.js";
|
|
26
|
-
import { C as Checkbox, u as useDebouncedCallback } from "./debouncedInputEvent-
|
|
27
|
-
import { F as Field, u as useForm, S as Select, L as LoaderWrapper } from "./useForm-
|
|
28
|
-
import { R as RadioGroup, I as InputDate, f as formatDateObj, A as Address, u as useFormContext, g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET, a as useAddressCleanse, b as formatAddressForCleanse, m as mapAddressData, c as getNestedTrustedFields, d as getAddressSchemaLabelsByCountry, S as STATE_FIELD, e as StateField } from "./Address-
|
|
29
|
-
import { u as useGlobalDataSlice } from "./useGlobalData-
|
|
30
|
-
import { I as InputNumber, a as InputCurrency, C as CURRENCY_FIELD, b as Currency, L as LegalFormField } from "./Currency-
|
|
31
|
-
import { c as currencyByCountry } from "./types-
|
|
26
|
+
import { C as Checkbox, u as useDebouncedCallback } from "./debouncedInputEvent-CFFx_oML.js";
|
|
27
|
+
import { F as Field, u as useForm, S as Select, L as LoaderWrapper } from "./useForm-_Kjd_HFb.js";
|
|
28
|
+
import { R as RadioGroup, I as InputDate, f as formatDateObj, A as Address, u as useFormContext, g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET, a as useAddressCleanse, b as formatAddressForCleanse, m as mapAddressData, c as getNestedTrustedFields, d as getAddressSchemaLabelsByCountry, S as STATE_FIELD, e as StateField } from "./Address-BUrDDnmR.js";
|
|
29
|
+
import { u as useGlobalDataSlice } from "./useGlobalData-C7tjZfC0.js";
|
|
30
|
+
import { I as InputNumber, a as InputCurrency, C as CURRENCY_FIELD, b as Currency, L as LegalFormField } from "./Currency-CkQVLmOQ.js";
|
|
31
|
+
import { c as currencyByCountry } from "./types-DDnAZYTj.js";
|
|
32
32
|
import { createElement } from "preact";
|
|
33
|
-
import { S as StructuredList, a as datasetUtilities, C as Confirm } from "./useDataset-
|
|
34
|
-
import { K as KEYBOARD_KEYS } from "./Modal-
|
|
35
|
-
import { V as VerificationErrorAlert, u as useDeleteTransferInstrument } from "./VerificationErrorAlert-
|
|
36
|
-
import { A as Avatar } from "./Avatar-
|
|
37
|
-
import { g as getLegalEntityNameBasedOnType } from "./getName-
|
|
33
|
+
import { S as StructuredList, a as datasetUtilities, C as Confirm } from "./useDataset-DCCxYOjr.js";
|
|
34
|
+
import { K as KEYBOARD_KEYS } from "./Modal-B4wxf7HK.js";
|
|
35
|
+
import { V as VerificationErrorAlert, u as useDeleteTransferInstrument } from "./VerificationErrorAlert-B_ovSmUS.js";
|
|
36
|
+
import { A as Avatar } from "./Avatar-CWGv3_UH.js";
|
|
37
|
+
import { g as getLegalEntityNameBasedOnType } from "./getName-l7X1ZGKx.js";
|
|
38
38
|
const operationalAddressIsSameIds = {
|
|
39
39
|
OPERATIONAL_ADDRESS_IS_SAME: "OperationAddressAnswerYes",
|
|
40
40
|
OPERATIONAL_ADDRESS_IS_NOT_SAME: "OperationAddressAnswerNo"
|
|
@@ -3747,7 +3747,7 @@ function VerifiedBusinessCard({
|
|
|
3747
3747
|
] });
|
|
3748
3748
|
}
|
|
3749
3749
|
const LazyJpAddress = lazy(
|
|
3750
|
-
async () => (await import("./JpAddress-
|
|
3750
|
+
async () => (await import("./JpAddress-BrtEV6zM.js")).JpAddress
|
|
3751
3751
|
);
|
|
3752
3752
|
const ADDITIONAL_INFORMATION_FORM_ID = "additionalInformation";
|
|
3753
3753
|
const ADDITIONAL_INFORMATION_FIELDS = [
|
|
@@ -6127,7 +6127,7 @@ function TaskListInner({
|
|
|
6127
6127
|
const hasContractTasks = tasks.some((task) => CONTRACT_TASKS.includes(task));
|
|
6128
6128
|
const hasFinancingTasks = tasks.includes(TaskTypes.BUSINESS_FINANCING) || tasks.includes(TaskTypes.SOURCE_OF_FUNDS);
|
|
6129
6129
|
const showServiceAgreementTask = tasks.includes(TaskTypes.SERVICE_AGREEMENT) && (serviceAgreementTypes.length > 0 || serviceAgreementAcceptanceInfos.length > 0);
|
|
6130
|
-
const showPciTask = tasks.includes("PCI_DSS") && pciIsActionable;
|
|
6130
|
+
const showPciTask = isSettingEnabled("allowBusinessLines") ? tasks.includes("PCI_DSS") : tasks.includes("PCI_DSS") && pciIsActionable;
|
|
6131
6131
|
const shouldSignPciFirst = showServiceAgreementTask && showPciTask && !pciHasDocuments;
|
|
6132
6132
|
const pciTaskState = (() => {
|
|
6133
6133
|
if (!hasPciSigners) {
|
|
@@ -6847,86 +6847,86 @@ const hasProgressedBeyondEntitySelection = (legalEntity) => {
|
|
|
6847
6847
|
return hasOwnEntityAssocation || !!hasOrganizationType;
|
|
6848
6848
|
};
|
|
6849
6849
|
const Introduction = lazy(
|
|
6850
|
-
async () => (await import("./Introduction-
|
|
6850
|
+
async () => (await import("./Introduction-DaRfsN8P.js")).Introduction
|
|
6851
6851
|
);
|
|
6852
6852
|
const BusinessTypeSelectionPage = lazy(
|
|
6853
|
-
async () => (await import("./BusinessTypeSelectionPage-
|
|
6853
|
+
async () => (await import("./BusinessTypeSelectionPage-BbCt3hSM.js")).BusinessTypeSelectionPage
|
|
6854
6854
|
);
|
|
6855
6855
|
const SingpassSelection = lazy(
|
|
6856
|
-
async () => (await import("./SingpassSelection-
|
|
6856
|
+
async () => (await import("./SingpassSelection-D7wRmaLb.js")).SingpassSelection
|
|
6857
6857
|
);
|
|
6858
6858
|
const AccountSetupRejected = lazy(
|
|
6859
|
-
async () => (await import("./AccountSetupRejected-
|
|
6859
|
+
async () => (await import("./AccountSetupRejected-DWnI467S.js")).AccountSetupRejected
|
|
6860
6860
|
);
|
|
6861
6861
|
const DecisionMakers = lazy(
|
|
6862
|
-
async () => (await import("./DecisionMakers-
|
|
6862
|
+
async () => (await import("./DecisionMakers-Ddvw0N__.js")).DecisionMakers
|
|
6863
6863
|
);
|
|
6864
6864
|
const CustomerSupport = lazy(
|
|
6865
|
-
async () => (await import("./CustomerSupport-
|
|
6865
|
+
async () => (await import("./CustomerSupport-BDynvVnl.js")).CustomerSupport
|
|
6866
6866
|
);
|
|
6867
|
-
const Review = lazy(async () => (await import("./Review-
|
|
6867
|
+
const Review = lazy(async () => (await import("./Review-DSdM3vGX.js")).Review);
|
|
6868
6868
|
const SignPCIComponent = lazy(
|
|
6869
|
-
async () => (await import("./SignPCIComponent-
|
|
6869
|
+
async () => (await import("./SignPCIComponent-B-nJZ1cD.js")).SignPCIComponent
|
|
6870
6870
|
);
|
|
6871
6871
|
const AcceptTermsOfService = lazy(
|
|
6872
|
-
async () => (await import("./AcceptTermsOfServiceComponent-
|
|
6872
|
+
async () => (await import("./AcceptTermsOfServiceComponent-Bl8Skw0p.js")).AcceptTermsOfServiceComponent
|
|
6873
6873
|
);
|
|
6874
6874
|
const TaxReportingDropin = lazy(
|
|
6875
|
-
async () => (await import("./TaxReportingDropin-
|
|
6875
|
+
async () => (await import("./TaxReportingDropin-Bn2xYbVw.js")).TaxReportingDropin
|
|
6876
6876
|
);
|
|
6877
6877
|
const PayoutDetailsPage = lazy(
|
|
6878
|
-
async () => (await import("./PayoutDetailsDropin-
|
|
6878
|
+
async () => (await import("./PayoutDetailsDropin-BKXxBApD.js").then((n) => n.a)).PayoutDetailsPage
|
|
6879
6879
|
);
|
|
6880
6880
|
const RootBusinessDetailsPage = lazy(
|
|
6881
|
-
async () => (await import("./RootBusinessDetailsPage-
|
|
6881
|
+
async () => (await import("./RootBusinessDetailsPage-CqpiMFn9.js")).RootBusinessDetailsPage
|
|
6882
6882
|
);
|
|
6883
6883
|
const RootBusinessLinesPage = lazy(
|
|
6884
|
-
async () => (await import("./RootBusinessLinesPage-
|
|
6884
|
+
async () => (await import("./RootBusinessLinesPage-DUIp_zfH.js")).RootBusinessLinesPage
|
|
6885
6885
|
);
|
|
6886
6886
|
const SoleProprietorshipPage = lazy(
|
|
6887
|
-
async () => (await import("./SoleProprietorshipPage-
|
|
6887
|
+
async () => (await import("./SoleProprietorshipPage-DUVjo6fc.js")).SoleProprietorshipPage
|
|
6888
6888
|
);
|
|
6889
6889
|
const TrustMemberCompanyPage = lazy(
|
|
6890
|
-
async () => (await import("./TrustMemberCompanyPage-
|
|
6890
|
+
async () => (await import("./TrustMemberCompanyPage-4sIP-M16.js")).TrustMemberCompanyPage
|
|
6891
6891
|
);
|
|
6892
6892
|
const TrustMemberIndividualPage = lazy(
|
|
6893
|
-
async () => (await import("./TrustMemberIndividualPage-
|
|
6893
|
+
async () => (await import("./TrustMemberIndividualPage-CelIjIAw.js")).TrustMemberIndividualPage
|
|
6894
6894
|
);
|
|
6895
6895
|
const TrustMemberRoleAndTypePage = lazy(
|
|
6896
|
-
async () => (await import("./TrustMemberRoleAndTypePage-
|
|
6896
|
+
async () => (await import("./TrustMemberRoleAndTypePage-C3CRy717.js")).TrustMemberRoleAndTypePage
|
|
6897
6897
|
);
|
|
6898
6898
|
const TrustMembersOverview = lazy(
|
|
6899
|
-
async () => (await import("./TrustMembersOverview-
|
|
6899
|
+
async () => (await import("./TrustMembersOverview-HrRgAsno.js")).TrustMembersOverview
|
|
6900
6900
|
);
|
|
6901
6901
|
const UnincorporatedPartnershipMemberCompanyPage = lazy(
|
|
6902
|
-
async () => (await import("./UnincorporatedPartnershipMemberCompanyPage-
|
|
6902
|
+
async () => (await import("./UnincorporatedPartnershipMemberCompanyPage-woQiy94h.js")).UnincorporatedPartnershipMemberCompanyPage
|
|
6903
6903
|
);
|
|
6904
6904
|
const UnincorporatedPartnershipIndividualPage = lazy(
|
|
6905
|
-
async () => (await import("./UnincorporatedPartnershipIndividualPage-
|
|
6905
|
+
async () => (await import("./UnincorporatedPartnershipIndividualPage-Dre5_Nuk.js")).UnincorporatedPartnershipIndividualPage
|
|
6906
6906
|
);
|
|
6907
6907
|
const UnincorporatedPartnershipMemberRoleAndTypePage = lazy(
|
|
6908
|
-
async () => (await import("./UnincorporatedPartnershipMemberRoleAndTypePage-
|
|
6908
|
+
async () => (await import("./UnincorporatedPartnershipMemberRoleAndTypePage-DrirgJXY.js")).UnincorporatedPartnershipMemberRoleAndTypePage
|
|
6909
6909
|
);
|
|
6910
6910
|
const UnincorporatedPartnershipMembersOverview = lazy(
|
|
6911
|
-
async () => (await import("./UnincorporatedPartnershipMembersOverview-
|
|
6911
|
+
async () => (await import("./UnincorporatedPartnershipMembersOverview-BBiRqJkR.js")).UnincorporatedPartnershipMembersOverview
|
|
6912
6912
|
);
|
|
6913
6913
|
const BusinessFinancingPage = lazy(
|
|
6914
|
-
async () => (await import("./BusinessFinancingPage-
|
|
6914
|
+
async () => (await import("./BusinessFinancingPage-CK4iko3V.js")).BusinessFinancingPage
|
|
6915
6915
|
);
|
|
6916
6916
|
const TrustDetailsPage = lazy(
|
|
6917
|
-
async () => (await import("./TrustDetailsPage-
|
|
6917
|
+
async () => (await import("./TrustDetailsPage-D0sr6zMt.js")).TrustDetailsPage
|
|
6918
6918
|
);
|
|
6919
6919
|
const SourceOfFundsPage = lazy(
|
|
6920
|
-
async () => (await import("./SourceOfFundsPage-
|
|
6920
|
+
async () => (await import("./SourceOfFundsPage-CFDBqD8v.js")).SourceOfFundsPage
|
|
6921
6921
|
);
|
|
6922
6922
|
const RootIndividualDetailsPage = lazy(
|
|
6923
|
-
async () => (await import("./RootIndividualDetailsPage-
|
|
6923
|
+
async () => (await import("./RootIndividualDetailsPage-BpTbnRMJ.js")).RootIndividualDetailsPage
|
|
6924
6924
|
);
|
|
6925
6925
|
const LegalRepresentativeDetailsPage = lazy(
|
|
6926
|
-
async () => (await import("./LegalRepresentativeDetailsPage-
|
|
6926
|
+
async () => (await import("./LegalRepresentativeDetailsPage-XcmRRT7P.js")).LegalRepresentativeDetailsPage
|
|
6927
6927
|
);
|
|
6928
6928
|
const DecisionMakerDetailsPage = lazy(
|
|
6929
|
-
async () => (await import("./DecisionMakerDetailsPage-
|
|
6929
|
+
async () => (await import("./DecisionMakerDetailsPage-BBqNmh_M.js")).DecisionMakerDetailsPage
|
|
6930
6930
|
);
|
|
6931
6931
|
function isIn(values, x) {
|
|
6932
6932
|
return values.includes(x);
|
|
@@ -7527,7 +7527,7 @@ function OnboardingDropinComponent({
|
|
|
7527
7527
|
}
|
|
7528
7528
|
const { i18n } = useTranslation();
|
|
7529
7529
|
addResourceBundles(i18n, [
|
|
7530
|
-
{ ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-DVjwfSz4.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-CLY9qYTs.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-uHPPFvD-.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-SMf6w4NJ.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-wv99Y9Yf.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-Ddr7AO05.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-
|
|
7530
|
+
{ ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-DVjwfSz4.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-CLY9qYTs.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-uHPPFvD-.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-SMf6w4NJ.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-wv99Y9Yf.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-Ddr7AO05.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-CyzNf7KK.js").then((n) => n.bN), "../../../language/locales/es-ES.json": () => import("./es-ES-BqpvBqmR.js"), "../../../language/locales/et-EE.json": () => import("./et-EE-CAuCY0qn.js"), "../../../language/locales/fi-FI.json": () => import("./fi-FI-DPegZzTc.js"), "../../../language/locales/fr-FR.json": () => import("./fr-FR-BPGwsLDa.js"), "../../../language/locales/hr-HR.json": () => import("./hr-HR-DdqNL1pQ.js"), "../../../language/locales/hu-HU.json": () => import("./hu-HU-C1LJENXO.js"), "../../../language/locales/it-IT.json": () => import("./it-IT-B1eJg9RL.js"), "../../../language/locales/ja-JP.json": () => import("./ja-JP-PnqAHl14.js"), "../../../language/locales/lt-LT.json": () => import("./lt-LT-BmRnIfWs.js"), "../../../language/locales/lv-LV.json": () => import("./lv-LV-CX9j9Dtv.js"), "../../../language/locales/nl-NL.json": () => import("./nl-NL-cVVIDG7s.js"), "../../../language/locales/no-NO.json": () => import("./no-NO-C_tmZ39d.js"), "../../../language/locales/pl-PL.json": () => import("./pl-PL-DFZFSKZX.js"), "../../../language/locales/pt-BR.json": () => import("./pt-BR-CMiGlY3k.js"), "../../../language/locales/pt-PT.json": () => import("./pt-PT-DmdQxN_1.js"), "../../../language/locales/ro-RO.json": () => import("./ro-RO-B0slmyWK.js"), "../../../language/locales/sk-SK.json": () => import("./sk-SK-BptPuon4.js"), "../../../language/locales/sl-SI.json": () => import("./sl-SI-C3nGkfNb.js"), "../../../language/locales/sv-SE.json": () => import("./sv-SE-CXn28ybc.js") }), `../../../language/locales/${lang}.json`, 6) },
|
|
7531
7531
|
{ ns: "ui", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../ui/language/bg-BG.json": () => import("./bg-BG-CCwKQVVV.js"), "../../ui/language/cs-CZ.json": () => import("./cs-CZ-CVvNUABW.js"), "../../ui/language/da-DK.json": () => import("./da-DK-CoTdzXlA.js"), "../../ui/language/de-DE.json": () => import("./de-DE-z0cPgxGN.js"), "../../ui/language/el-GR.json": () => import("./el-GR-B9TRk3Pi.js"), "../../ui/language/en-US.json": () => import("./en-US-BzrLvydZ.js"), "../../ui/language/es-ES.json": () => import("./es-ES-DUn82eVS.js"), "../../ui/language/et-EE.json": () => import("./et-EE-CUXar-DY.js"), "../../ui/language/fi-FI.json": () => import("./fi-FI-C3TTCFBv.js"), "../../ui/language/fr-FR.json": () => import("./fr-FR-BbKadiaZ.js"), "../../ui/language/hr-HR.json": () => import("./hr-HR-D2LmWe5I.js"), "../../ui/language/hu-HU.json": () => import("./hu-HU-CFuBc8VP.js"), "../../ui/language/it-IT.json": () => import("./it-IT-CGhQqmiU.js"), "../../ui/language/ja-JP.json": () => import("./ja-JP-CvREJ56h.js"), "../../ui/language/lt-LT.json": () => import("./lt-LT-CZwu5zZ0.js"), "../../ui/language/lv-LV.json": () => import("./lv-LV-DVFCj1OR.js"), "../../ui/language/nl-NL.json": () => import("./nl-NL-OHlJx2bn.js"), "../../ui/language/no-NO.json": () => import("./no-NO-DEYydng4.js"), "../../ui/language/pl-PL.json": () => import("./pl-PL-DMbe5XnW.js"), "../../ui/language/pt-BR.json": () => import("./pt-BR-DWAziFjb.js"), "../../ui/language/pt-PT.json": () => import("./pt-PT-LP8g5mC9.js"), "../../ui/language/ro-RO.json": () => import("./ro-RO-BQSoJrlf.js"), "../../ui/language/sk-SK.json": () => import("./sk-SK-CwieqNyR.js"), "../../ui/language/sl-SI.json": () => import("./sl-SI-C5vfq7vv.js"), "../../ui/language/sv-SE.json": () => import("./sv-SE-BrO9NKWs.js") }), `../../ui/language/${lang}.json`, 5) }
|
|
7532
7532
|
]);
|
|
7533
7533
|
const { data: legalEntityData } = useLegalEntity(ROOT_LE);
|
|
@@ -10,41 +10,41 @@
|
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { signal } from "@preact/signals";
|
|
12
12
|
import { useState, useEffect, useRef, useMemo, useCallback, useContext } from "preact/hooks";
|
|
13
|
-
import { b as useApiContext, j as useQuery, k as httpPost, m as httpGet, a0 as useMutation, a2 as useQueryClient, P as createLogger, C as CountryCodes, u as useTranslation, c as useLegalEntity, R as ROOT_LE, r as LegalEntityTypes, a as addResourceBundles, L as Loader, M as EntityTypes, _ as __variableDynamicImportRuntimeHelper, a3 as useAnalyticsContext, a4 as Icon, G as Typography, B as Button, ak as objectsDeepEqual, aV as doArraysMatch, W as isEmpty, X as useExperimentsContext, bg as getSdkToken, H as hasOwnEntityAssociationOfType, K as useAccountHolder, o as useSettingsContext, g as getLegalEntityCountry, ao as Trans, bh as EEA_Countries, bi as isAccountIdentifierObscured, bj as hasEmptyFields, bk as extractFieldName, bl as concatenateFieldNames, aq as keysOf, aA as getCapabilityProblems, O as TaskTypes, aB as cloneObject, w as skipToken } from "./StoreProvider-
|
|
14
|
-
import { u as useTransferInstrument, m as mapTransferInstrumentToPayoutAccount } from "./mapTransferInstrumentToPayoutAccount-
|
|
15
|
-
import { u as useForm, F as Field, S as Select, L as LoaderWrapper } from "./useForm-
|
|
13
|
+
import { b as useApiContext, j as useQuery, k as httpPost, m as httpGet, a0 as useMutation, a2 as useQueryClient, P as createLogger, C as CountryCodes, u as useTranslation, c as useLegalEntity, R as ROOT_LE, r as LegalEntityTypes, a as addResourceBundles, L as Loader, M as EntityTypes, _ as __variableDynamicImportRuntimeHelper, a3 as useAnalyticsContext, a4 as Icon, G as Typography, B as Button, ak as objectsDeepEqual, aV as doArraysMatch, W as isEmpty, X as useExperimentsContext, bg as getSdkToken, H as hasOwnEntityAssociationOfType, K as useAccountHolder, o as useSettingsContext, g as getLegalEntityCountry, ao as Trans, bh as EEA_Countries, bi as isAccountIdentifierObscured, bj as hasEmptyFields, bk as extractFieldName, bl as concatenateFieldNames, aq as keysOf, aA as getCapabilityProblems, O as TaskTypes, aB as cloneObject, w as skipToken } from "./StoreProvider-CyzNf7KK.js";
|
|
14
|
+
import { u as useTransferInstrument, m as mapTransferInstrumentToPayoutAccount } from "./mapTransferInstrumentToPayoutAccount-CacHlKHM.js";
|
|
15
|
+
import { u as useForm, F as Field, S as Select, L as LoaderWrapper } from "./useForm-_Kjd_HFb.js";
|
|
16
16
|
import { E as ExperimentNames } from "./types-Dk94b8kx.js";
|
|
17
|
-
import { I as InputText, S as SettingNames } from "./InputText-
|
|
18
|
-
import { u as useGlobalDataSlice, a as useGlobalData, b as useResetGlobalData, c as useStateContext } from "./useGlobalData-
|
|
19
|
-
import { c as useInvalidateRootLegalEntity, a as useToastContext } from "./useToastContext-
|
|
20
|
-
import { a as augmentWithCountryConfigs, g as getPropsFromConfigurations } from "./process-field-configurations-
|
|
21
|
-
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-
|
|
22
|
-
import { A as AdyenKycSdkError, p as payoutAccountFormat, m as mapExistingFile, g as getPageName, u as useScenarioConfiguration, b as useUnifyLoadingStatus } from "./mapExistingFile-
|
|
23
|
-
import { u as useDataset, d as datasetIdentifier, C as Confirm, a as datasetUtilities } from "./useDataset-
|
|
24
|
-
import { c as currencyByCountry, C as Currencies } from "./types-
|
|
25
|
-
import { F as FormWrapper } from "./FormWrapper-
|
|
26
|
-
import { i as isValidationError, p as processValidationErrors, b as isIdDocumentUploadError, c as isBankStatementUploadError, a as isMaintenanceModeError, m as mapCreateOrUpdateTransferInstrumentErrorMessageToTranslatable } from "./validationError-
|
|
17
|
+
import { I as InputText, S as SettingNames } from "./InputText-DLAmX8CW.js";
|
|
18
|
+
import { u as useGlobalDataSlice, a as useGlobalData, b as useResetGlobalData, c as useStateContext } from "./useGlobalData-C7tjZfC0.js";
|
|
19
|
+
import { c as useInvalidateRootLegalEntity, a as useToastContext } from "./useToastContext-Cbw29cqc.js";
|
|
20
|
+
import { a as augmentWithCountryConfigs, g as getPropsFromConfigurations } from "./process-field-configurations-BZQqH4-M.js";
|
|
21
|
+
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-DCWhMKpQ.js";
|
|
22
|
+
import { A as AdyenKycSdkError, p as payoutAccountFormat, m as mapExistingFile, g as getPageName, u as useScenarioConfiguration, b as useUnifyLoadingStatus } from "./mapExistingFile-Bd7nsoK8.js";
|
|
23
|
+
import { u as useDataset, d as datasetIdentifier, C as Confirm, a as datasetUtilities } from "./useDataset-DCCxYOjr.js";
|
|
24
|
+
import { c as currencyByCountry, C as Currencies } from "./types-DDnAZYTj.js";
|
|
25
|
+
import { F as FormWrapper } from "./FormWrapper-41qnDF4W.js";
|
|
26
|
+
import { i as isValidationError, p as processValidationErrors, b as isIdDocumentUploadError, c as isBankStatementUploadError, a as isMaintenanceModeError, m as mapCreateOrUpdateTransferInstrumentErrorMessageToTranslatable } from "./validationError-DPP91cM3.js";
|
|
27
27
|
import { t as trackNavigation } from "./trackNavigation-db_h46BT.js";
|
|
28
|
-
import { f as fileToBase64, a as getDocument, c as createDocumentRequest, d as documentApiUtils, b as getFileExtention } from "./documentUtils-
|
|
29
|
-
import { g as getLegalEntityNameBasedOnType, b as getPayoutAccountHolderName } from "./getName-
|
|
30
|
-
import { I as IFrameWidget, o as omitObscuredFieldsIfUnchanged } from "./iframeWidget-
|
|
28
|
+
import { f as fileToBase64, a as getDocument, c as createDocumentRequest, d as documentApiUtils, b as getFileExtention } from "./documentUtils-Be5wlCwo.js";
|
|
29
|
+
import { g as getLegalEntityNameBasedOnType, b as getPayoutAccountHolderName } from "./getName-l7X1ZGKx.js";
|
|
30
|
+
import { I as IFrameWidget, o as omitObscuredFieldsIfUnchanged } from "./iframeWidget-CbtmWmoO.js";
|
|
31
31
|
import { Show } from "@preact/signals/utils";
|
|
32
|
-
import { s as summaryStep } from "./Summary-
|
|
33
|
-
import { c as createFormUtils, H as Header, E as ErrorPanel, S as StackLayout, e as isNotEmptyValidator, m as mergeFieldMetadataIntoProps, d as getFieldProps, C as CountryField, a as Link, g as getFormProps, s as summaryItem } from "./CountryField-
|
|
34
|
-
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-
|
|
35
|
-
import { i as useCapabilityProblems, j as getProblemsForEntity, D as DropzoneFile, p as bytesToSize, l as defaultFileValidationOptions, o as fileValidationRules, S as StateContextSetter, q as DocumentGuidance, t as TextArea, m as makeMask, n as numericInputs, d as nonInputs, s as spacer, k as customInputs, v as validatePatternOnBlur, r as resolveFieldMetadata, M as MaskedInput, b as alphanumericInputs, u as uppercase, c as alphaInputs, I as Image, R as RadioGroupCard, C as ContextGuidance, x as createFormRules } from "./Spacer-
|
|
32
|
+
import { s as summaryStep } from "./Summary-QyNHKBjO.js";
|
|
33
|
+
import { c as createFormUtils, H as Header, E as ErrorPanel, S as StackLayout, e as isNotEmptyValidator, m as mergeFieldMetadataIntoProps, d as getFieldProps, C as CountryField, a as Link, g as getFormProps, s as summaryItem } from "./CountryField-CsKJAI53.js";
|
|
34
|
+
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-D_Nk_obe.js";
|
|
35
|
+
import { i as useCapabilityProblems, j as getProblemsForEntity, D as DropzoneFile, p as bytesToSize, l as defaultFileValidationOptions, o as fileValidationRules, S as StateContextSetter, q as DocumentGuidance, t as TextArea, m as makeMask, n as numericInputs, d as nonInputs, s as spacer, k as customInputs, v as validatePatternOnBlur, r as resolveFieldMetadata, M as MaskedInput, b as alphanumericInputs, u as uppercase, c as alphaInputs, I as Image, R as RadioGroupCard, C as ContextGuidance, x as createFormRules } from "./Spacer-w89ksCbG.js";
|
|
36
36
|
import cx from "classnames";
|
|
37
37
|
import { memo, useRef as useRef$1, useState as useState$1, useMemo as useMemo$1, useEffect as useEffect$1, lazy } from "preact/compat";
|
|
38
|
-
import { u as useUnincorporatedPartnershipMembers } from "./useUnincorporatedPartnershipMembers-
|
|
38
|
+
import { u as useUnincorporatedPartnershipMembers } from "./useUnincorporatedPartnershipMembers-Dbb2VjkF.js";
|
|
39
39
|
import { b as bankStatementDescriptionPattern } from "./basePatterns-BwdnMQxI.js";
|
|
40
|
-
import { M as Modal } from "./Modal-
|
|
41
|
-
import { E as EndStateLayout } from "./EndStateLayout-
|
|
40
|
+
import { M as Modal } from "./Modal-B4wxf7HK.js";
|
|
41
|
+
import { E as EndStateLayout } from "./EndStateLayout-B8KmFejY.js";
|
|
42
42
|
import { createContext } from "preact";
|
|
43
|
-
import { a as Alert } from "./Alert-
|
|
44
|
-
import { A as ActionBar } from "./ActionBar-
|
|
43
|
+
import { a as Alert } from "./Alert-B83aFhFn.js";
|
|
44
|
+
import { A as ActionBar } from "./ActionBar-BI8EL50o.js";
|
|
45
45
|
import OpenBankingSDK from "@adyen/openbankingsdk";
|
|
46
46
|
import { T as Tag } from "./Tag-DdkVScyr.js";
|
|
47
|
-
import { C as Card } from "./Card-
|
|
47
|
+
import { C as Card } from "./Card-CQrP0PXC.js";
|
|
48
48
|
const getCheck = async (legalEntityId, baseUrl, data) => {
|
|
49
49
|
return httpPost(
|
|
50
50
|
{
|
|
@@ -9,12 +9,12 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { useState } from "preact/hooks";
|
|
12
|
-
import { b as useApiContext, a0 as useMutation, k as httpPost, u as useTranslation } from "./StoreProvider-
|
|
13
|
-
import { C as Checkbox } from "./debouncedInputEvent-
|
|
14
|
-
import { H as Header } from "./CountryField-
|
|
15
|
-
import { L as LoaderWrapper } from "./useForm-
|
|
16
|
-
import { a as useToastContext } from "./useToastContext-
|
|
17
|
-
import { A as ActionBar } from "./ActionBar-
|
|
12
|
+
import { b as useApiContext, a0 as useMutation, k as httpPost, u as useTranslation } from "./StoreProvider-CyzNf7KK.js";
|
|
13
|
+
import { C as Checkbox } from "./debouncedInputEvent-CFFx_oML.js";
|
|
14
|
+
import { H as Header } from "./CountryField-CsKJAI53.js";
|
|
15
|
+
import { L as LoaderWrapper } from "./useForm-_Kjd_HFb.js";
|
|
16
|
+
import { a as useToastContext } from "./useToastContext-Cbw29cqc.js";
|
|
17
|
+
import { A as ActionBar } from "./ActionBar-BI8EL50o.js";
|
|
18
18
|
import { D as DropinLayout } from "./DropinLayout-CBP_cHLC.js";
|
|
19
19
|
const confirmReview = async (legalEntityId, baseUrl) => {
|
|
20
20
|
return httpPost({
|
|
@@ -7,11 +7,11 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { u as useTranslation, a as addResourceBundles, L as Loader, M as EntityTypes, g as getLegalEntityCountry, O as TaskTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { u as useTranslation, a as addResourceBundles, L as Loader, M as EntityTypes, g as getLegalEntityCountry, O as TaskTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-CyzNf7KK.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
|
-
import { i as useCapabilityProblems, j as getProblemsForEntity } from "./Spacer-
|
|
13
|
-
import { g as getForms, f as filterProblemsByTaskForms } from "./OnboardingDropinComponent-
|
|
14
|
-
import { u as useBusinessDetailsData, B as BusinessDetailsDropin } from "./useBusinessDetailsData-
|
|
12
|
+
import { i as useCapabilityProblems, j as getProblemsForEntity } from "./Spacer-w89ksCbG.js";
|
|
13
|
+
import { g as getForms, f as filterProblemsByTaskForms } from "./OnboardingDropinComponent-Cx-c_p0i.js";
|
|
14
|
+
import { u as useBusinessDetailsData, B as BusinessDetailsDropin } from "./useBusinessDetailsData-DG9EJBH_.js";
|
|
15
15
|
const RootBusinessDetailsPage = ({
|
|
16
16
|
onSubmit,
|
|
17
17
|
handleHomeClick
|
|
@@ -2,39 +2,39 @@
|
|
|
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] = "06c3c2e4-1139-4833-ac3e-1998907ce96f", e._sentryDebugIdIdentifier = "sentry-dbid-06c3c2e4-1139-4833-ac3e-1998907ce96f");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { C as CountryCodes, a1 as entriesOf, P as createLogger, u as useTranslation, L as Loader, Y as IconButton, G as Typography, ao as Trans, B as Button, b as useApiContext, a0 as useMutation, aN as httpDelete, X as useExperimentsContext, U as TaskStatuses, a2 as useQueryClient, M as EntityTypes, c as useLegalEntity, R as ROOT_LE, a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { C as CountryCodes, a1 as entriesOf, P as createLogger, u as useTranslation, L as Loader, Y as IconButton, G as Typography, ao as Trans, B as Button, b as useApiContext, a0 as useMutation, aN as httpDelete, X as useExperimentsContext, U as TaskStatuses, a2 as useQueryClient, M as EntityTypes, c as useLegalEntity, R as ROOT_LE, a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-CyzNf7KK.js";
|
|
11
11
|
import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
|
|
12
12
|
import { useCallback, useMemo, useRef, useState, useEffect } from "preact/hooks";
|
|
13
|
-
import { $ as salesChannelsWithWebData, a0 as useIndustryCodes, _ as useBusinessLines, z as industryCodeFieldMetadata, a1 as IndustryCodeField, a2 as INDUSTRY_CODE_FIELD, a3 as SALES_CHANNELS_FIELD, a4 as WEB_DATA_FIELD, a5 as shouldSignNewPci, a6 as SCTA_FIELD, a7 as Divider, a8 as selectedBusinessLine, u as useSalesChannels, a9 as usePciQuestionnaireList, a as usePciStatus, aa as businessLinesConfigurations, ab as businessLinesForms } from "./OnboardingDropinComponent-
|
|
14
|
-
import { u as useCreateBusinessLine, a as useUpdateBusinessLine } from "./useUpdateBusinessLines-
|
|
15
|
-
import { F as FormContextProvider, a as FormFlow } from "./FormFlow-
|
|
16
|
-
import { a as useToastContext } from "./useToastContext-
|
|
17
|
-
import { g as getPropsFromConfigurations } from "./process-field-configurations-
|
|
18
|
-
import { a as addValidityToForms, u as useFormComposer } from "./dropinUtils-
|
|
19
|
-
import { u as useMultiForm } from "./useMultiForm-
|
|
20
|
-
import { x as createFormRules, I as Image, i as useCapabilityProblems, j as getProblemsForEntity } from "./Spacer-
|
|
21
|
-
import { s as summaryStep } from "./Summary-
|
|
22
|
-
import { m as mergeFieldMetadataIntoProps, c as createFormUtils, H as Header, S as StackLayout, a as Link, L as List } from "./CountryField-
|
|
23
|
-
import { u as useFormContext } from "./Address-
|
|
13
|
+
import { $ as salesChannelsWithWebData, a0 as useIndustryCodes, _ as useBusinessLines, z as industryCodeFieldMetadata, a1 as IndustryCodeField, a2 as INDUSTRY_CODE_FIELD, a3 as SALES_CHANNELS_FIELD, a4 as WEB_DATA_FIELD, a5 as shouldSignNewPci, a6 as SCTA_FIELD, a7 as Divider, a8 as selectedBusinessLine, u as useSalesChannels, a9 as usePciQuestionnaireList, a as usePciStatus, aa as businessLinesConfigurations, ab as businessLinesForms } from "./OnboardingDropinComponent-Cx-c_p0i.js";
|
|
14
|
+
import { u as useCreateBusinessLine, a as useUpdateBusinessLine } from "./useUpdateBusinessLines-8bDYsLav.js";
|
|
15
|
+
import { F as FormContextProvider, a as FormFlow } from "./FormFlow-BrgeP70A.js";
|
|
16
|
+
import { a as useToastContext } from "./useToastContext-Cbw29cqc.js";
|
|
17
|
+
import { g as getPropsFromConfigurations } from "./process-field-configurations-BZQqH4-M.js";
|
|
18
|
+
import { a as addValidityToForms, u as useFormComposer } from "./dropinUtils-DCWhMKpQ.js";
|
|
19
|
+
import { u as useMultiForm } from "./useMultiForm-DWozxGN4.js";
|
|
20
|
+
import { x as createFormRules, I as Image, i as useCapabilityProblems, j as getProblemsForEntity } from "./Spacer-w89ksCbG.js";
|
|
21
|
+
import { s as summaryStep } from "./Summary-QyNHKBjO.js";
|
|
22
|
+
import { m as mergeFieldMetadataIntoProps, c as createFormUtils, H as Header, S as StackLayout, a as Link, L as List } from "./CountryField-CsKJAI53.js";
|
|
23
|
+
import { u as useFormContext } from "./Address-BUrDDnmR.js";
|
|
24
24
|
import { Show } from "@preact/signals/utils";
|
|
25
|
-
import { C as Checkbox } from "./debouncedInputEvent-
|
|
26
|
-
import { F as Field } from "./useForm-
|
|
27
|
-
import { K as KEYBOARD_KEYS, M as Modal } from "./Modal-
|
|
28
|
-
import { I as InputText } from "./InputText-
|
|
29
|
-
import { SignPCIComponent } from "./SignPCIComponent-
|
|
30
|
-
import { A as Avatar } from "./Avatar-
|
|
25
|
+
import { C as Checkbox } from "./debouncedInputEvent-CFFx_oML.js";
|
|
26
|
+
import { F as Field } from "./useForm-_Kjd_HFb.js";
|
|
27
|
+
import { K as KEYBOARD_KEYS, M as Modal } from "./Modal-B4wxf7HK.js";
|
|
28
|
+
import { I as InputText } from "./InputText-DLAmX8CW.js";
|
|
29
|
+
import { SignPCIComponent } from "./SignPCIComponent-B-nJZ1cD.js";
|
|
30
|
+
import { A as Avatar } from "./Avatar-CWGv3_UH.js";
|
|
31
31
|
import cx from "classnames";
|
|
32
32
|
import { D as DetailViewLayout } from "./DetailViewLayout-Z9cuUp4X.js";
|
|
33
|
-
import { C as Card } from "./Card-
|
|
33
|
+
import { C as Card } from "./Card-CQrP0PXC.js";
|
|
34
34
|
import { lazy } from "preact/compat";
|
|
35
|
-
import { N as LandingLayout } from "./IndividualOnfido-
|
|
36
|
-
import { L as ListItem } from "./ListItem-
|
|
37
|
-
import { C as Confirm, S as StructuredList } from "./useDataset-
|
|
35
|
+
import { N as LandingLayout } from "./IndividualOnfido-pGSPtITh.js";
|
|
36
|
+
import { L as ListItem } from "./ListItem-DlRGqcSA.js";
|
|
37
|
+
import { C as Confirm, S as StructuredList } from "./useDataset-DCCxYOjr.js";
|
|
38
38
|
const rules = ({ data, country }) => {
|
|
39
39
|
return createFormRules({
|
|
40
40
|
webAddressRequired: () => {
|
|
@@ -208,6 +208,8 @@ const submitBusinessLines = async ({
|
|
|
208
208
|
await fetchBusinessLines();
|
|
209
209
|
}
|
|
210
210
|
};
|
|
211
|
+
const URL_REGEX = /^(https?:\/\/)\S+$/i;
|
|
212
|
+
const HAS_PROTOCOL_REGEX = /^https?:\/\//i;
|
|
211
213
|
const businessLinesValidators = {
|
|
212
214
|
industryCodesForm: {
|
|
213
215
|
industryCodes: {
|
|
@@ -225,25 +227,23 @@ const businessLinesValidators = {
|
|
|
225
227
|
},
|
|
226
228
|
webAddress: {
|
|
227
229
|
modes: ["blur"],
|
|
228
|
-
validate: (val) =>
|
|
229
|
-
|
|
230
|
-
return
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
}
|
|
234
|
-
errorMessage: "validationPleaseEnterAValidUrl"
|
|
230
|
+
validate: (val) => !!val && URL_REGEX.test(val),
|
|
231
|
+
errorMessage: (val) => {
|
|
232
|
+
if (!val) return "fieldIsRequired";
|
|
233
|
+
if (!HAS_PROTOCOL_REGEX.test(val)) return "validationUrlMustStartWithHttpOrHttps";
|
|
234
|
+
return "validationPleaseEnterAValidUrl";
|
|
235
|
+
}
|
|
235
236
|
}
|
|
236
237
|
},
|
|
237
238
|
sctaForm: {
|
|
238
239
|
sctaUrl: {
|
|
239
240
|
modes: ["blur"],
|
|
240
|
-
validate: (val) =>
|
|
241
|
-
|
|
242
|
-
return
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
}
|
|
246
|
-
errorMessage: "validationPleaseEnterAValidUrl"
|
|
241
|
+
validate: (val) => !!val && URL_REGEX.test(val),
|
|
242
|
+
errorMessage: (val) => {
|
|
243
|
+
if (!val) return "fieldIsRequired";
|
|
244
|
+
if (!HAS_PROTOCOL_REGEX.test(val)) return "validationUrlMustStartWithHttpOrHttps";
|
|
245
|
+
return "validationPleaseEnterAValidUrl";
|
|
246
|
+
}
|
|
247
247
|
}
|
|
248
248
|
}
|
|
249
249
|
};
|
|
@@ -338,14 +338,6 @@ function WebDataField({ data, valid, errors, labels, handleChangeFor }) {
|
|
|
338
338
|
const handleWebDataChange = (e, mode) => {
|
|
339
339
|
handleChangeFor("webAddress", mode)(typeof e === "string" ? e : e.currentTarget?.value);
|
|
340
340
|
};
|
|
341
|
-
const handleWebDataBlur = (e) => {
|
|
342
|
-
const { value } = e.currentTarget;
|
|
343
|
-
if (value && !value.startsWith("https://")) {
|
|
344
|
-
handleChangeFor("webAddress", "blur")(`https://${value}`);
|
|
345
|
-
} else {
|
|
346
|
-
handleChangeFor("webAddress", "blur")(value);
|
|
347
|
-
}
|
|
348
|
-
};
|
|
349
341
|
const handleWebDataExemptChange = () => {
|
|
350
342
|
if (data.webExempt === true) {
|
|
351
343
|
handleChangeFor("webAddress")(void 0);
|
|
@@ -371,7 +363,7 @@ function WebDataField({ data, valid, errors, labels, handleChangeFor }) {
|
|
|
371
363
|
value: data.webAddress || "",
|
|
372
364
|
disabled: data.webExempt === true,
|
|
373
365
|
onInput: (e) => handleWebDataChange(e, "input"),
|
|
374
|
-
onBlur:
|
|
366
|
+
onBlur: (e) => handleWebDataChange(e, "blur"),
|
|
375
367
|
onKeyDown: handleKeyDown,
|
|
376
368
|
isValid: valid.webAddress
|
|
377
369
|
}
|
|
@@ -752,14 +744,6 @@ function SctaField({ data, valid, errors, handleChangeFor }) {
|
|
|
752
744
|
const handleSctaUrlChange = (e, mode) => {
|
|
753
745
|
handleChangeFor("sctaUrl", mode)(typeof e === "string" ? e : e.currentTarget?.value);
|
|
754
746
|
};
|
|
755
|
-
const handleSctaUrlBlur = (e) => {
|
|
756
|
-
const { value } = e.currentTarget;
|
|
757
|
-
if (value && !value.startsWith("https://")) {
|
|
758
|
-
handleChangeFor("sctaUrl", "blur")(`https://${value}`);
|
|
759
|
-
} else {
|
|
760
|
-
handleChangeFor("sctaUrl", "blur")(value);
|
|
761
|
-
}
|
|
762
|
-
};
|
|
763
747
|
const handleSctaExemptChange = () => {
|
|
764
748
|
if (data.sctaExempt === true) {
|
|
765
749
|
handleChangeFor("sctaUrl")(void 0);
|
|
@@ -785,7 +769,7 @@ function SctaField({ data, valid, errors, handleChangeFor }) {
|
|
|
785
769
|
value: data.sctaUrl || "",
|
|
786
770
|
disabled: data.sctaExempt === true,
|
|
787
771
|
onInput: (e) => handleSctaUrlChange(e, "input"),
|
|
788
|
-
onBlur:
|
|
772
|
+
onBlur: (e) => handleSctaUrlChange(e, "blur"),
|
|
789
773
|
onKeyDown: handleKeyDown,
|
|
790
774
|
isValid: valid.sctaUrl,
|
|
791
775
|
placeholder: data.sctaExempt ? void 0 : "https://shop.example.com/commercial-disclosure"
|
package/dist/{RootIndividualDetailsPage-1hPplHy0.js → RootIndividualDetailsPage-BpTbnRMJ.js}
RENAMED
|
@@ -7,12 +7,12 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { c as useLegalEntity, R as ROOT_LE, X as useExperimentsContext, K as useAccountHolder, u as useTranslation, a as addResourceBundles, L as Loader, g as getLegalEntityCountry, q as isPartOfTrustFromLegalEntity, M as EntityTypes, al as isOnfidoAutofillFlowEnabled, a5 as noop, O as TaskTypes, _ as __variableDynamicImportRuntimeHelper, bt as individualOnfidoBaseMapping, b5 as individualComponentsKeyMapping } from "./StoreProvider-
|
|
10
|
+
import { c as useLegalEntity, R as ROOT_LE, X as useExperimentsContext, K as useAccountHolder, u as useTranslation, a as addResourceBundles, L as Loader, g as getLegalEntityCountry, q as isPartOfTrustFromLegalEntity, M as EntityTypes, al as isOnfidoAutofillFlowEnabled, a5 as noop, O as TaskTypes, _ as __variableDynamicImportRuntimeHelper, bt as individualOnfidoBaseMapping, b5 as individualComponentsKeyMapping } from "./StoreProvider-CyzNf7KK.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
|
-
import { i as useCapabilityProblems, j as getProblemsForEntity } from "./Spacer-
|
|
13
|
-
import { f as filterProblemsByTaskForms } from "./OnboardingDropinComponent-
|
|
14
|
-
import { g as getTrustedFieldsProvider, E as getTrustedFields, o as individualOnfidoForms, p as individualForms } from "./IndividualOnfido-
|
|
15
|
-
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-
|
|
12
|
+
import { i as useCapabilityProblems, j as getProblemsForEntity } from "./Spacer-w89ksCbG.js";
|
|
13
|
+
import { f as filterProblemsByTaskForms } from "./OnboardingDropinComponent-Cx-c_p0i.js";
|
|
14
|
+
import { g as getTrustedFieldsProvider, E as getTrustedFields, o as individualOnfidoForms, p as individualForms } from "./IndividualOnfido-pGSPtITh.js";
|
|
15
|
+
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-DZEn2Tf8.js";
|
|
16
16
|
function RootIndividualDetailsPage({
|
|
17
17
|
asModal = false,
|
|
18
18
|
hideSidebar = false,
|
|
@@ -7,17 +7,17 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, j as useQuery, k as httpPost, a0 as useMutation, W as isEmpty, u as useTranslation, a3 as useAnalyticsContext, aZ as getOwnDecisionMakers, r as LegalEntityTypes, O as TaskTypes, B as Button, a as addResourceBundles, c as useLegalEntity, R as ROOT_LE, L as Loader, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { b as useApiContext, j as useQuery, k as httpPost, a0 as useMutation, W as isEmpty, u as useTranslation, a3 as useAnalyticsContext, aZ as getOwnDecisionMakers, r as LegalEntityTypes, O as TaskTypes, B as Button, a as addResourceBundles, c as useLegalEntity, R as ROOT_LE, L as Loader, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-CyzNf7KK.js";
|
|
11
11
|
import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
|
|
12
12
|
import { useState, useCallback, useEffect, useMemo } from "preact/hooks";
|
|
13
|
-
import { u as useSalesChannels, a as usePciStatus } from "./OnboardingDropinComponent-
|
|
14
|
-
import { c as useInvalidateRootLegalEntity, a as useToastContext } from "./useToastContext-
|
|
15
|
-
import { M as MaybeModal } from "./MaybeModal-
|
|
16
|
-
import { E as EndStateLayout } from "./EndStateLayout-
|
|
17
|
-
import { C as Checkbox } from "./debouncedInputEvent-
|
|
18
|
-
import { u as useForm, F as Field, S as Select } from "./useForm-
|
|
13
|
+
import { u as useSalesChannels, a as usePciStatus } from "./OnboardingDropinComponent-Cx-c_p0i.js";
|
|
14
|
+
import { c as useInvalidateRootLegalEntity, a as useToastContext } from "./useToastContext-Cbw29cqc.js";
|
|
15
|
+
import { M as MaybeModal } from "./MaybeModal-DW5SxNsJ.js";
|
|
16
|
+
import { E as EndStateLayout } from "./EndStateLayout-B8KmFejY.js";
|
|
17
|
+
import { C as Checkbox } from "./debouncedInputEvent-CFFx_oML.js";
|
|
18
|
+
import { u as useForm, F as Field, S as Select } from "./useForm-_Kjd_HFb.js";
|
|
19
19
|
import { D as DetailViewLayout } from "./DetailViewLayout-Z9cuUp4X.js";
|
|
20
|
-
import { C as Card } from "./Card-
|
|
20
|
+
import { C as Card } from "./Card-CQrP0PXC.js";
|
|
21
21
|
import { C as ContractViewer } from "./ContractViewer-Byp71k2e.js";
|
|
22
22
|
const getPciTemplate = async (legalEntityId, baseUrl, data) => {
|
|
23
23
|
const filteredData = {
|
|
@@ -238,7 +238,7 @@ function SignPCIComponent({
|
|
|
238
238
|
const additionalSalesChannels = useSalesChannels();
|
|
239
239
|
const { t, i18n } = useTranslation(["contract", "common"]);
|
|
240
240
|
addResourceBundles(i18n, [
|
|
241
|
-
{ ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-DVjwfSz4.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-CLY9qYTs.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-uHPPFvD-.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-SMf6w4NJ.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-wv99Y9Yf.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-Ddr7AO05.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-
|
|
241
|
+
{ ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-DVjwfSz4.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-CLY9qYTs.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-uHPPFvD-.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-SMf6w4NJ.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-wv99Y9Yf.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-Ddr7AO05.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-CyzNf7KK.js").then((n) => n.bN), "../../../language/locales/es-ES.json": () => import("./es-ES-BqpvBqmR.js"), "../../../language/locales/et-EE.json": () => import("./et-EE-CAuCY0qn.js"), "../../../language/locales/fi-FI.json": () => import("./fi-FI-DPegZzTc.js"), "../../../language/locales/fr-FR.json": () => import("./fr-FR-BPGwsLDa.js"), "../../../language/locales/hr-HR.json": () => import("./hr-HR-DdqNL1pQ.js"), "../../../language/locales/hu-HU.json": () => import("./hu-HU-C1LJENXO.js"), "../../../language/locales/it-IT.json": () => import("./it-IT-B1eJg9RL.js"), "../../../language/locales/ja-JP.json": () => import("./ja-JP-PnqAHl14.js"), "../../../language/locales/lt-LT.json": () => import("./lt-LT-BmRnIfWs.js"), "../../../language/locales/lv-LV.json": () => import("./lv-LV-CX9j9Dtv.js"), "../../../language/locales/nl-NL.json": () => import("./nl-NL-cVVIDG7s.js"), "../../../language/locales/no-NO.json": () => import("./no-NO-C_tmZ39d.js"), "../../../language/locales/pl-PL.json": () => import("./pl-PL-DFZFSKZX.js"), "../../../language/locales/pt-BR.json": () => import("./pt-BR-CMiGlY3k.js"), "../../../language/locales/pt-PT.json": () => import("./pt-PT-DmdQxN_1.js"), "../../../language/locales/ro-RO.json": () => import("./ro-RO-B0slmyWK.js"), "../../../language/locales/sk-SK.json": () => import("./sk-SK-BptPuon4.js"), "../../../language/locales/sl-SI.json": () => import("./sl-SI-C3nGkfNb.js"), "../../../language/locales/sv-SE.json": () => import("./sv-SE-CXn28ybc.js") }), `../../../language/locales/${lang}.json`, 6) },
|
|
242
242
|
{ ns: "ui", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../ui/language/bg-BG.json": () => import("./bg-BG-CCwKQVVV.js"), "../../ui/language/cs-CZ.json": () => import("./cs-CZ-CVvNUABW.js"), "../../ui/language/da-DK.json": () => import("./da-DK-CoTdzXlA.js"), "../../ui/language/de-DE.json": () => import("./de-DE-z0cPgxGN.js"), "../../ui/language/el-GR.json": () => import("./el-GR-B9TRk3Pi.js"), "../../ui/language/en-US.json": () => import("./en-US-BzrLvydZ.js"), "../../ui/language/es-ES.json": () => import("./es-ES-DUn82eVS.js"), "../../ui/language/et-EE.json": () => import("./et-EE-CUXar-DY.js"), "../../ui/language/fi-FI.json": () => import("./fi-FI-C3TTCFBv.js"), "../../ui/language/fr-FR.json": () => import("./fr-FR-BbKadiaZ.js"), "../../ui/language/hr-HR.json": () => import("./hr-HR-D2LmWe5I.js"), "../../ui/language/hu-HU.json": () => import("./hu-HU-CFuBc8VP.js"), "../../ui/language/it-IT.json": () => import("./it-IT-CGhQqmiU.js"), "../../ui/language/ja-JP.json": () => import("./ja-JP-CvREJ56h.js"), "../../ui/language/lt-LT.json": () => import("./lt-LT-CZwu5zZ0.js"), "../../ui/language/lv-LV.json": () => import("./lv-LV-DVFCj1OR.js"), "../../ui/language/nl-NL.json": () => import("./nl-NL-OHlJx2bn.js"), "../../ui/language/no-NO.json": () => import("./no-NO-DEYydng4.js"), "../../ui/language/pl-PL.json": () => import("./pl-PL-DMbe5XnW.js"), "../../ui/language/pt-BR.json": () => import("./pt-BR-DWAziFjb.js"), "../../ui/language/pt-PT.json": () => import("./pt-PT-LP8g5mC9.js"), "../../ui/language/ro-RO.json": () => import("./ro-RO-BQSoJrlf.js"), "../../ui/language/sk-SK.json": () => import("./sk-SK-CwieqNyR.js"), "../../ui/language/sl-SI.json": () => import("./sl-SI-C5vfq7vv.js"), "../../ui/language/sv-SE.json": () => import("./sv-SE-BrO9NKWs.js") }), `../../ui/language/${lang}.json`, 5) },
|
|
243
243
|
{ ns: "contract", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../Contract/language/bg-BG.json": () => import("./bg-BG-K7feXvEc.js"), "../../Contract/language/cs-CZ.json": () => import("./cs-CZ-CYQO0o5V.js"), "../../Contract/language/da-DK.json": () => import("./da-DK-CGWvmdkq.js"), "../../Contract/language/de-DE.json": () => import("./de-DE-DHDJhahG.js"), "../../Contract/language/el-GR.json": () => import("./el-GR-DHNlnOwf.js"), "../../Contract/language/en-US.json": () => import("./en-US-DoiQhi0j.js"), "../../Contract/language/es-ES.json": () => import("./es-ES-CxnsKEh4.js"), "../../Contract/language/et-EE.json": () => import("./et-EE-BQixWUEV.js"), "../../Contract/language/fi-FI.json": () => import("./fi-FI-57-xkioo.js"), "../../Contract/language/fr-FR.json": () => import("./fr-FR-BxiX8Zfi.js"), "../../Contract/language/hr-HR.json": () => import("./hr-HR-BynZTNSB.js"), "../../Contract/language/hu-HU.json": () => import("./hu-HU-BtRIDozk.js"), "../../Contract/language/it-IT.json": () => import("./it-IT-masgjk9F.js"), "../../Contract/language/ja-JP.json": () => import("./ja-JP-vv3-YsHU.js"), "../../Contract/language/lt-LT.json": () => import("./lt-LT-2BMif2Bk.js"), "../../Contract/language/lv-LV.json": () => import("./lv-LV-CHdEDRVO.js"), "../../Contract/language/nl-NL.json": () => import("./nl-NL-D1b5RUJ0.js"), "../../Contract/language/no-NO.json": () => import("./no-NO-Dkh4SWbB.js"), "../../Contract/language/pl-PL.json": () => import("./pl-PL-BkGihn5Q.js"), "../../Contract/language/pt-BR.json": () => import("./pt-BR-BRdIEO2O.js"), "../../Contract/language/pt-PT.json": () => import("./pt-PT-BfL7qUzo.js"), "../../Contract/language/ro-RO.json": () => import("./ro-RO-C2yBVFht.js"), "../../Contract/language/sk-SK.json": () => import("./sk-SK-C74EF23u.js"), "../../Contract/language/sl-SI.json": () => import("./sl-SI-CvUzNn9Z.js"), "../../Contract/language/sv-SE.json": () => import("./sv-SE-BsLkPEzn.js") }), `../../Contract/language/${lang}.json`, 5) }
|
|
244
244
|
]);
|