@adyen/kyc-components 4.15.0 → 4.15.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-BD_JroRz.js → AcceptTermsOfServiceComponent-CmtFeS0G.js} +5 -5
- package/dist/{AccountSetupRejected-DHKfPNWa.js → AccountSetupRejected-SL49fuK1.js} +1 -1
- package/dist/{AdaptiveWorkflow-DGgHx41m.js → AdaptiveWorkflow-Dm_oZAtl.js} +17 -19
- package/dist/{AdaptiveWorkflowComponent-DBh9g5IV.js → AdaptiveWorkflowComponent-M-n5xnz9.js} +2 -2
- package/dist/{Address-3TDVgqVq.js → Address-Bsm5AJWG.js} +5 -5
- package/dist/{BusinessFinancingDropin-cDfjI956.js → BusinessFinancingDropin-CYFujr_t.js} +14 -14
- package/dist/{BusinessFinancingPage-tyRFXqyJ.js → BusinessFinancingPage-DZpGJikD.js} +2 -2
- package/dist/{BusinessTypeSelectionPage-B6QWvxOC.js → BusinessTypeSelectionPage-BcEwSu-j.js} +6 -6
- package/dist/{CompanyRegistrationNumberTypeSelector-DMiBUq8k.js → CompanyRegistrationNumberTypeSelector-5zZnchK5.js} +14 -19
- package/dist/{ContactDetails-DH-7icLz.js → ContactDetails-JvG4ofw4.js} +3 -3
- package/dist/{ContextGuidance-BZSXDHz_.js → ContextGuidance-CPo1RXqO.js} +1 -1
- package/dist/{CountryField-BzmcE2_J.js → CountryField-DV9ce-qa.js} +2 -2
- package/dist/{Currency-B4whLGUA.js → Currency-BdWx4a7F.js} +2 -2
- package/dist/{CustomerSupport-C3MMJwgg.js → CustomerSupport-Bj2PXXUS.js} +8 -8
- package/dist/{DebugModal-R0t5596v.js → DebugModal-DOrbJ9GB.js} +3 -3
- package/dist/{DecisionMakerDetails-B3xGLPb_.js → DecisionMakerDetails-2SRSTivT.js} +3 -3
- package/dist/{DecisionMakerDetailsPage-D_sUcbU3.js → DecisionMakerDetailsPage-l-Z8TwIm.js} +4 -4
- package/dist/{DecisionMakers-BSuidRNb.js → DecisionMakers-BikexMpU.js} +8 -8
- package/dist/{Dropzone-xSD_bSLX.js → Dropzone-Cl1Hoy90.js} +2 -2
- package/dist/{EntityAssociation-43kxknUP.js → EntityAssociation-DT-LshYE.js} +1 -1
- package/dist/{ErrorPanel-CuEJ_HT4.js → ErrorPanel-B46gDhCD.js} +2 -2
- package/dist/{IndividualDropin-CSMTVLJ3.js → IndividualDropin-CMVrIxMy.js} +24 -24
- package/dist/{Introduction-8jt1Icuf.js → Introduction-DUay4S7_.js} +2 -2
- package/dist/{InvitedDecisionMakerComponent-m4eUD2iO.js → InvitedDecisionMakerComponent-B9vjrn0y.js} +3 -3
- package/dist/{JpAddress-DvbjlTPx.js → JpAddress-Dq7JWIH7.js} +4 -4
- package/dist/{LegalCompanyNameField-Cvt-DCIQ.js → LegalCompanyNameField-B5CmBTd4.js} +1 -1
- package/dist/{LegalRepresentativeDetailsPage-ChxFRYnO.js → LegalRepresentativeDetailsPage-DxLcXGYa.js} +4 -4
- package/dist/{MaskedInput-CH07iWkV.js → MaskedInput-BqBhlwWa.js} +1 -1
- package/dist/{MaybeModal-Cjfte2wk.js → MaybeModal-BkZ_5yv-.js} +1 -1
- package/dist/{NewSummary-NGM7pziq.js → NewSummary-1AO56RTG.js} +1 -1
- package/dist/{PayoutDetailsDropinMultiForm-CHp4V3li.js → PayoutDetailsDropinMultiForm-BZvGdfFw.js} +15 -15
- package/dist/{PayoutDetailsPage-qTCWLiy2.js → PayoutDetailsPage-D5yoTUCH.js} +5 -5
- package/dist/{Review-0jYjm7mz.js → Review-7JasUcjy.js} +2 -2
- package/dist/{RootBusinessDetailsPage-ZKJgWqTt.js → RootBusinessDetailsPage-DBJNNiGc.js} +6 -7
- package/dist/{RootBusinessLinesPage-ETBGq9mn.js → RootBusinessLinesPage-CZGtgE0q.js} +11 -11
- package/dist/{RootIndividualDetailsPage-pnAGbzVX.js → RootIndividualDetailsPage-BSwFuPHf.js} +4 -4
- package/dist/{Select-CvIMIYjl.js → Select-CS2E69CJ.js} +4 -2
- package/dist/{SignPCIComponent-fIeeQr0e.js → SignPCIComponent-Bfu0wgMM.js} +5 -5
- package/dist/{SingpassSelection-D-zNII-R.js → SingpassSelection-BgdopRjs.js} +1 -1
- package/dist/{SoleProprietorshipPage-DQBeFTli.js → SoleProprietorshipPage-BlAc34Pn.js} +5 -5
- package/dist/{SourceOfFundsPage-C4lmfCgC.js → SourceOfFundsPage-Dv_NJVKv.js} +12 -12
- package/dist/{Summary-pmGPpwSj.js → Summary-DxQMUvRi.js} +2 -2
- package/dist/{TaskListItem-Df7o0R3U.js → TaskListItem-DOTrEZ9e.js} +3 -3
- package/dist/{TaxInformationField-BzqeMMNO.js → TaxInformationField-jNgSdv5g.js} +11 -13
- package/dist/{TaxReportingDropin-BbauusqJ.js → TaxReportingDropin-Hmtz9tal.js} +5 -5
- package/dist/{TrustDetailsPage-B25Yd72w.js → TrustDetailsPage-CvNFzktD.js} +20 -20
- package/dist/{TrustMemberCompanyPage-CJKlw747.js → TrustMemberCompanyPage-DM72ABzz.js} +6 -6
- package/dist/{TrustMemberIndividualPage-DU25T4xS.js → TrustMemberIndividualPage-CYq1D4W7.js} +4 -4
- package/dist/{TrustMemberRoleAndTypePage-DkJKPaXP.js → TrustMemberRoleAndTypePage-q6yEVUDR.js} +10 -10
- package/dist/{TrustMembersOverview-CPGee5kS.js → TrustMembersOverview-D48OqAzS.js} +6 -6
- package/dist/{UnincorporatedPartnershipIndividualPage-AXa9Jkgx.js → UnincorporatedPartnershipIndividualPage-DnhI0TNp.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-DdytGaBE.js → UnincorporatedPartnershipMemberCompanyPage-DRt-i8Pj.js} +5 -5
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-C8kcJPOV.js → UnincorporatedPartnershipMemberRoleAndTypePage-Bilfz6Qs.js} +2 -2
- package/dist/{UnincorporatedPartnershipMembersOverview-490CDTY8.js → UnincorporatedPartnershipMembersOverview-BKqB9JWc.js} +3 -3
- package/dist/{VerificationErrorAlert-C1lNcNtx.js → VerificationErrorAlert-CItpN9Id.js} +2 -2
- package/dist/{accountHolderUtils-BHZeFpzE.js → accountHolderUtils-Cq0fdep_.js} +1 -1
- package/dist/adyen-business-financing.js +3 -3
- package/dist/adyen-individual-configuration.js +4 -4
- package/dist/adyen-individual-status.js +1 -1
- package/dist/adyen-invited-decision-maker.js +2 -2
- package/dist/adyen-onboarding.js +39 -39
- package/dist/adyen-terms-of-service-management.js +2 -2
- package/dist/adyen-terms-of-service-status.js +1 -1
- package/dist/adyen-transfer-instrument-configuration.js +2 -2
- package/dist/adyen-transfer-instrument-management.js +5 -5
- package/dist/adyen-verification-status.js +1 -1
- package/dist/{constants-0Q_7xGKq.js → constants-6Hdf6hNy.js} +2 -2
- package/dist/{getProblemsForEntity-CXzgYL6R.js → getProblemsForEntity-CQX49pBy.js} +1 -1
- package/dist/{invalidateRootLegalEntity-Tyg8nMBI.js → invalidateRootLegalEntity-Cg46D4Ef.js} +1 -1
- package/dist/{mapLegalEntityToIndividualSchema-BUIjjkrb.js → mapLegalEntityToIndividualSchema-96tUxxLB.js} +1 -1
- package/dist/{mapTransferInstrumentToPayoutAccount-DZMqLmU8.js → mapTransferInstrumentToPayoutAccount-CUM6S0kM.js} +1 -1
- package/dist/{omitObscuredFieldsIfUnchanged-xfvMpTn9.js → omitObscuredFieldsIfUnchanged-CxUdW_hs.js} +1 -1
- package/dist/{patternValidators-CIMz_tiU.js → patternValidators-Df7_l0ZR.js} +1 -1
- package/dist/{process-field-configurations-n3ecaPQ8.js → process-field-configurations-BxW_4vT6.js} +1 -1
- package/dist/{processCapabilities-hLmRus8U.js → processCapabilities-CTUJbebx.js} +5 -7
- package/dist/{resolveEnvironment-C3pxOwlh.js → resolveEnvironment-B3XdWKTk.js} +7 -11
- package/dist/types/adaptiveWorkflow/components/Fields/BusinessRegistrationNumber/RegistrationNumberTypeSelectorField.d.ts +1 -2
- package/dist/types/components/Business/forms/AdditionalInformation/types.d.ts +1 -3
- package/dist/types/components/Business/forms/BusinessDetails/forms.d.ts +12 -7
- package/dist/types/components/Business/mapping/businessDetails/mapLegalEntityToBusinessDetailsSchema.d.ts +2 -2
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/validate.d.ts +1 -1
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/BusinessRegistrationNumberField.d.ts +1 -1
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/RegistrationNumberTypeSelector/CompanyRegistrationNumberTypeSelector.d.ts +1 -2
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/RegistrationNumberTypeSelector/getDefaultRegistrationNumberType.d.ts +1 -1
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/RegistrationNumberTypeSelector/inferCompanyRegistrationNumberType.d.ts +1 -1
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/registrationNumberTypes.d.ts +1 -1
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/types.d.ts +0 -1
- package/dist/types/components/Shared/fields/TaxInformationField/TaxIdNumberTypeSelector/TaxIdNumberTypeSelector.d.ts +1 -2
- package/dist/types/components/Shared/fields/TaxInformationField/TaxIdNumberTypeSelector/getDefaultTaxIdNumberType.d.ts +1 -1
- package/dist/types/components/Shared/fields/TaxInformationField/TaxIdNumberTypeSelector/inferTaxIdNumberType.d.ts +1 -1
- package/dist/types/components/Shared/fields/TaxInformationField/TaxInformationField.d.ts +1 -1
- package/dist/types/components/Shared/fields/TaxInformationField/taxIdNumberTypes.d.ts +1 -1
- package/dist/types/components/Shared/fields/TaxInformationField/types.d.ts +0 -1
- package/dist/types/context/ToggleContext/types.d.ts +0 -4
- package/dist/{useBusinessDetailsData-Bnqxr1vB.js → useBusinessDetailsData-CdOak9Wq.js} +72 -167
- package/dist/{useCanSeeIntroduction-0_NPWoZG.js → useCanSeeIntroduction-CNNn9cts.js} +1 -1
- package/dist/{useDataMissingRemediations-CrKtd_Fd.js → useDataMissingRemediations-IH7p5j8V.js} +1 -1
- package/dist/{useForm-aetR7uJY.js → useForm-B3Jo_Jbx.js} +1 -1
- package/dist/{useFormContext-Dr4l-QjT.js → useFormContext-D-d0WyQm.js} +3 -3
- package/dist/{useMultiForm-DKxfY1kQ.js → useMultiForm-D_17VPX_.js} +1 -1
- package/dist/{useNavigate-DCmX3vhp.js → useNavigate-CsnYf5i1.js} +30 -30
- package/dist/{useTrustMembers-sJ-e7GJ3.js → useTrustMembers-NkM-hgOm.js} +1 -1
- package/dist/{useUpdateLegalEntity-B8WoiNVo.js → useUpdateLegalEntity-BEzBO8ny.js} +1 -1
- package/dist/{ConstitutionalDocument-CAcre-q4.js → utils-BAPGRNO9.js} +135 -137
- package/dist/{utils-siyZuj_8.js → utils-BzpnzDBD.js} +13 -18
- package/dist/{utils-CwzT0-IU.js → utils-CB9oLqgE.js} +2 -2
- package/dist/{validate-BqauOvvu.js → validate-BqYHsBzg.js} +1 -1
- package/dist/{validateExtractionResult-CCrDT5AB.js → validateExtractionResult-CLJ93Tay.js} +3 -3
- package/dist/{validationError-DqjDv5Q-.js → validationError-Bny-1EE5.js} +1 -1
- package/package.json +1 -1
package/dist/adyen-onboarding.js
CHANGED
|
@@ -3,7 +3,7 @@ try {
|
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "09d6a7d1-dd6b-413f-9913-6e8171c7a35d", e._sentryDebugIdIdentifier = "sentry-dbid-09d6a7d1-dd6b-413f-9913-6e8171c7a35d");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { a as Icon, i as Typography, n as addResourceBundles, o as createLogger, r as useTranslation } from "./translation-BR3rLb4m.js";
|
|
6
|
-
import { A as _rolldown_dynamic_import_helper_default, F as useToggles, N as FeatureNames, O as useSetting, _ as isPartOfTrustFromLegalEntity, a as doesLegalEntityRequiresLegalRepresentative, b as isInstantVerifiedAccount, d as hasRejectedCapabilities, ft as useAccountHolder, g as getOwnTrustProblems, i as useGlobalStore, j as useToggleContext, m as isPartOfUnincorporatedPartnership, mt as stylesheets, n as EmbedShell, p as getOwnUnincorporatedPartnershipProblems, pt as useLocalStorage, r as useGetTaskStatus, t as resolveEnvironment, u as hasAllCapabilitiesResolved, x as Alert, y as getObscuredAccountNumber } from "./resolveEnvironment-
|
|
6
|
+
import { A as _rolldown_dynamic_import_helper_default, F as useToggles, N as FeatureNames, O as useSetting, _ as isPartOfTrustFromLegalEntity, a as doesLegalEntityRequiresLegalRepresentative, b as isInstantVerifiedAccount, d as hasRejectedCapabilities, ft as useAccountHolder, g as getOwnTrustProblems, i as useGlobalStore, j as useToggleContext, m as isPartOfUnincorporatedPartnership, mt as stylesheets, n as EmbedShell, p as getOwnUnincorporatedPartnershipProblems, pt as useLocalStorage, r as useGetTaskStatus, t as resolveEnvironment, u as hasAllCapabilitiesResolved, x as Alert, y as getObscuredAccountNumber } from "./resolveEnvironment-B3XdWKTk.js";
|
|
7
7
|
import { n as IconButton, r as Loader, t as Button } from "./Button-3qGOI53m.js";
|
|
8
8
|
import { n as httpGet, r as httpPost, s as useApiContext } from "./http-DeQp0G69.js";
|
|
9
9
|
import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-BXk2tzGe.js";
|
|
@@ -18,7 +18,7 @@ import { n as Skeleton } from "./Accordion-DmH02rWQ.js";
|
|
|
18
18
|
import { t as TaskTypes } from "./taskTypes-NawDTp5n.js";
|
|
19
19
|
import { a as getLegalRepresentative, c as getOwnSolePropProblems, f as hasSolePropInLegalEntity } from "./entityAssociationUtil-C-wflW8q.js";
|
|
20
20
|
import { a as getOwnSignatories, i as getOwnDecisionMakersLegalEntityIds } from "./decisionMakerRoles-DIG8zo1C.js";
|
|
21
|
-
import { n as canShowAdaptivePoc, t as TaskListItem } from "./TaskListItem-
|
|
21
|
+
import { n as canShowAdaptivePoc, t as TaskListItem } from "./TaskListItem-DOTrEZ9e.js";
|
|
22
22
|
import { t as useBusinessLines } from "./useBusinessLines-B2iCcDej.js";
|
|
23
23
|
import { n as usePciQuestionnaireList, t as getPciQuestionnaireList } from "./usePciQuestionnaireList-BEPt97lw.js";
|
|
24
24
|
import { n as usePciStatus, t as useSalesChannels } from "./useSalesChannels-CxxzJGtX.js";
|
|
@@ -26,16 +26,16 @@ import { n as useTermsOfServiceAcceptanceInfos, t as useTermsOfServiceStatus } f
|
|
|
26
26
|
import { t as Card } from "./Card-BCGLpdw7.js";
|
|
27
27
|
import { i as useAnalyticsContext } from "./Modal-C__-5LgI.js";
|
|
28
28
|
import { t as SettingNames } from "./types-Cwq1JAWT.js";
|
|
29
|
-
import { n as useToastContext } from "./invalidateRootLegalEntity-
|
|
30
|
-
import { t as useCanSeeIntroduction } from "./useCanSeeIntroduction-
|
|
29
|
+
import { n as useToastContext } from "./invalidateRootLegalEntity-Cg46D4Ef.js";
|
|
30
|
+
import { t as useCanSeeIntroduction } from "./useCanSeeIntroduction-CNNn9cts.js";
|
|
31
31
|
import { a as idNowPostSubmit, c as CompanyTypesValues, n as isBafinSignatoryFlow, s as showIdNowModal } from "./bafinUtils-BKq-s1Ka.js";
|
|
32
|
-
import { n as getDefaultAccountHolderType } from "./accountHolderUtils-
|
|
33
|
-
import { t as useDataMissingRemediations } from "./useDataMissingRemediations-
|
|
32
|
+
import { n as getDefaultAccountHolderType } from "./accountHolderUtils-Cq0fdep_.js";
|
|
33
|
+
import { t as useDataMissingRemediations } from "./useDataMissingRemediations-IH7p5j8V.js";
|
|
34
34
|
import { t as EndStateLayout } from "./EndStateLayout-ic1EOve9.js";
|
|
35
|
-
import { n as useCapabilityProblems } from "./getProblemsForEntity-
|
|
35
|
+
import { n as useCapabilityProblems } from "./getProblemsForEntity-CQX49pBy.js";
|
|
36
36
|
import { t as downloadFile } from "./file-1IenVoh8.js";
|
|
37
37
|
import { t as filterProblemsByTaskForms } from "./filterProblemsByTaskForms-CQby20PN.js";
|
|
38
|
-
import { n as useDeleteTransferInstrument } from "./VerificationErrorAlert-
|
|
38
|
+
import { n as useDeleteTransferInstrument } from "./VerificationErrorAlert-CItpN9Id.js";
|
|
39
39
|
import { n as translateTranslatable } from "./utils-BtyrxTzp.js";
|
|
40
40
|
import { t as HandlerContext } from "./HandlerContext-DeMa68z0.js";
|
|
41
41
|
import { t as TrustedFieldsProviders } from "./trusted-fields-provider-DLz8KKVf.js";
|
|
@@ -43,8 +43,8 @@ import { r as getTrustedFieldsProvider } from "./getTrustedFields-BJ88GlM-.js";
|
|
|
43
43
|
import { t as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-QRvyeNwU.js";
|
|
44
44
|
import { n as Image, t as UnincorporatedPartnershipMemberTypes } from "./unincorporated-partnership-BstfjTh2.js";
|
|
45
45
|
import { t as isNewEntity } from "./isNewEntity-vML86iIM.js";
|
|
46
|
-
import { t as useTrustMembers } from "./useTrustMembers-
|
|
47
|
-
import { A as UnincorporatedPartnershipMembersOverview$1, C as TrustMemberCompanyPage$1, D as UnincorporatedPartnershipIndividualPage$1, E as TrustMembersOverview$1, M as getDefaultTask$1, O as UnincorporatedPartnershipMemberCompanyPage$1, S as TrustDetailsPage$1, T as TrustMemberRoleAndTypePage$1, _ as SignPCIComponent$1, a as BusinessTypeSelectionPage$1, b as SourceOfFundsPage$1, c as DecisionMakers$1, d as PayoutDetailsPage$1, f as ROUTE_PATHS, g as RootIndividualDetailsPage$1, h as RootBusinessLinesPage$1, i as BusinessFinancingPage$1, j as detectBasePath, k as UnincorporatedPartnershipMemberRoleAndTypePage$1, l as Introduction$1, m as RootBusinessDetailsPage$1, n as AcceptTermsOfService$1, o as CustomerSupport$1, p as Review$1, r as AccountSetupRejected$1, s as DecisionMakerDetailsPage$1, t as useNavigate, u as LegalRepresentativeDetailsPage$1, v as SingpassSelection$1, w as TrustMemberIndividualPage$1, x as TaxReportingDropin$1, y as SoleProprietorshipPage$1 } from "./useNavigate-
|
|
46
|
+
import { t as useTrustMembers } from "./useTrustMembers-NkM-hgOm.js";
|
|
47
|
+
import { A as UnincorporatedPartnershipMembersOverview$1, C as TrustMemberCompanyPage$1, D as UnincorporatedPartnershipIndividualPage$1, E as TrustMembersOverview$1, M as getDefaultTask$1, O as UnincorporatedPartnershipMemberCompanyPage$1, S as TrustDetailsPage$1, T as TrustMemberRoleAndTypePage$1, _ as SignPCIComponent$1, a as BusinessTypeSelectionPage$1, b as SourceOfFundsPage$1, c as DecisionMakers$1, d as PayoutDetailsPage$1, f as ROUTE_PATHS, g as RootIndividualDetailsPage$1, h as RootBusinessLinesPage$1, i as BusinessFinancingPage$1, j as detectBasePath, k as UnincorporatedPartnershipMemberRoleAndTypePage$1, l as Introduction$1, m as RootBusinessDetailsPage$1, n as AcceptTermsOfService$1, o as CustomerSupport$1, p as Review$1, r as AccountSetupRejected$1, s as DecisionMakerDetailsPage$1, t as useNavigate, u as LegalRepresentativeDetailsPage$1, v as SingpassSelection$1, w as TrustMemberIndividualPage$1, x as TaxReportingDropin$1, y as SoleProprietorshipPage$1 } from "./useNavigate-CsnYf5i1.js";
|
|
48
48
|
import register from "preact-custom-element";
|
|
49
49
|
import { Suspense, lazy } from "preact/compat";
|
|
50
50
|
import { useCallback as useCallback$1, useContext as useContext$1, useEffect as useEffect$1, useMemo as useMemo$1, useReducer, useRef as useRef$1, useState as useState$1 } from "preact/hooks";
|
|
@@ -1747,34 +1747,34 @@ var hasProgressedBeyondEntitySelection = (legalEntity) => {
|
|
|
1747
1747
|
};
|
|
1748
1748
|
//#endregion
|
|
1749
1749
|
//#region src/components/EmbeddedDropins/OnboardingDropinComponent/DropinComposer/DropinComposer.tsx
|
|
1750
|
-
var Introduction = lazy(async () => (await import("./Introduction-
|
|
1751
|
-
var BusinessTypeSelectionPage = lazy(async () => (await import("./BusinessTypeSelectionPage-
|
|
1752
|
-
var SingpassSelection = lazy(async () => (await import("./SingpassSelection-
|
|
1753
|
-
var AccountSetupRejected = lazy(async () => (await import("./AccountSetupRejected-
|
|
1754
|
-
var DecisionMakers = lazy(async () => (await import("./DecisionMakers-
|
|
1755
|
-
var CustomerSupport = lazy(async () => (await import("./CustomerSupport-
|
|
1756
|
-
var Review = lazy(async () => (await import("./Review-
|
|
1757
|
-
var SignPCIComponent = lazy(async () => (await import("./SignPCIComponent-
|
|
1758
|
-
var AcceptTermsOfService = lazy(async () => (await import("./AcceptTermsOfServiceComponent-
|
|
1759
|
-
var TaxReportingDropin = lazy(async () => (await import("./TaxReportingDropin-
|
|
1760
|
-
var PayoutDetailsPage = lazy(async () => (await import("./PayoutDetailsPage-
|
|
1761
|
-
var RootBusinessDetailsPage = lazy(async () => (await import("./RootBusinessDetailsPage-
|
|
1762
|
-
var RootBusinessLinesPage = lazy(async () => (await import("./RootBusinessLinesPage-
|
|
1763
|
-
var SoleProprietorshipPage = lazy(async () => (await import("./SoleProprietorshipPage-
|
|
1764
|
-
var TrustMemberCompanyPage = lazy(async () => (await import("./TrustMemberCompanyPage-
|
|
1765
|
-
var TrustMemberIndividualPage = lazy(async () => (await import("./TrustMemberIndividualPage-
|
|
1766
|
-
var TrustMemberRoleAndTypePage = lazy(async () => (await import("./TrustMemberRoleAndTypePage-
|
|
1767
|
-
var TrustMembersOverview = lazy(async () => (await import("./TrustMembersOverview-
|
|
1768
|
-
var UnincorporatedPartnershipMemberCompanyPage = lazy(async () => (await import("./UnincorporatedPartnershipMemberCompanyPage-
|
|
1769
|
-
var UnincorporatedPartnershipIndividualPage = lazy(async () => (await import("./UnincorporatedPartnershipIndividualPage-
|
|
1770
|
-
var UnincorporatedPartnershipMemberRoleAndTypePage = lazy(async () => (await import("./UnincorporatedPartnershipMemberRoleAndTypePage-
|
|
1771
|
-
var UnincorporatedPartnershipMembersOverview = lazy(async () => (await import("./UnincorporatedPartnershipMembersOverview-
|
|
1772
|
-
var BusinessFinancingPage = lazy(async () => (await import("./BusinessFinancingPage-
|
|
1773
|
-
var TrustDetailsPage = lazy(async () => (await import("./TrustDetailsPage-
|
|
1774
|
-
var SourceOfFundsPage = lazy(async () => (await import("./SourceOfFundsPage-
|
|
1775
|
-
var RootIndividualDetailsPage = lazy(async () => (await import("./RootIndividualDetailsPage-
|
|
1776
|
-
var LegalRepresentativeDetailsPage = lazy(async () => (await import("./LegalRepresentativeDetailsPage-
|
|
1777
|
-
var DecisionMakerDetailsPage = lazy(async () => (await import("./DecisionMakerDetailsPage-
|
|
1750
|
+
var Introduction = lazy(async () => (await import("./Introduction-DUay4S7_.js")).Introduction);
|
|
1751
|
+
var BusinessTypeSelectionPage = lazy(async () => (await import("./BusinessTypeSelectionPage-BcEwSu-j.js")).BusinessTypeSelectionPage);
|
|
1752
|
+
var SingpassSelection = lazy(async () => (await import("./SingpassSelection-BgdopRjs.js")).SingpassSelection);
|
|
1753
|
+
var AccountSetupRejected = lazy(async () => (await import("./AccountSetupRejected-SL49fuK1.js")).AccountSetupRejected);
|
|
1754
|
+
var DecisionMakers = lazy(async () => (await import("./DecisionMakers-BikexMpU.js")).DecisionMakers);
|
|
1755
|
+
var CustomerSupport = lazy(async () => (await import("./CustomerSupport-Bj2PXXUS.js")).CustomerSupport);
|
|
1756
|
+
var Review = lazy(async () => (await import("./Review-7JasUcjy.js")).Review);
|
|
1757
|
+
var SignPCIComponent = lazy(async () => (await import("./SignPCIComponent-Bfu0wgMM.js").then((n) => n.n)).SignPCIComponent);
|
|
1758
|
+
var AcceptTermsOfService = lazy(async () => (await import("./AcceptTermsOfServiceComponent-CmtFeS0G.js").then((n) => n.n)).AcceptTermsOfServiceComponent);
|
|
1759
|
+
var TaxReportingDropin = lazy(async () => (await import("./TaxReportingDropin-Hmtz9tal.js").then((n) => n.n)).TaxReportingDropin);
|
|
1760
|
+
var PayoutDetailsPage = lazy(async () => (await import("./PayoutDetailsPage-D5yoTUCH.js")).PayoutDetailsPage);
|
|
1761
|
+
var RootBusinessDetailsPage = lazy(async () => (await import("./RootBusinessDetailsPage-DBJNNiGc.js")).RootBusinessDetailsPage);
|
|
1762
|
+
var RootBusinessLinesPage = lazy(async () => (await import("./RootBusinessLinesPage-CZGtgE0q.js")).RootBusinessLinesPage);
|
|
1763
|
+
var SoleProprietorshipPage = lazy(async () => (await import("./SoleProprietorshipPage-BlAc34Pn.js")).SoleProprietorshipPage);
|
|
1764
|
+
var TrustMemberCompanyPage = lazy(async () => (await import("./TrustMemberCompanyPage-DM72ABzz.js")).TrustMemberCompanyPage);
|
|
1765
|
+
var TrustMemberIndividualPage = lazy(async () => (await import("./TrustMemberIndividualPage-CYq1D4W7.js")).TrustMemberIndividualPage);
|
|
1766
|
+
var TrustMemberRoleAndTypePage = lazy(async () => (await import("./TrustMemberRoleAndTypePage-q6yEVUDR.js")).TrustMemberRoleAndTypePage);
|
|
1767
|
+
var TrustMembersOverview = lazy(async () => (await import("./TrustMembersOverview-D48OqAzS.js")).TrustMembersOverview);
|
|
1768
|
+
var UnincorporatedPartnershipMemberCompanyPage = lazy(async () => (await import("./UnincorporatedPartnershipMemberCompanyPage-DRt-i8Pj.js")).UnincorporatedPartnershipMemberCompanyPage);
|
|
1769
|
+
var UnincorporatedPartnershipIndividualPage = lazy(async () => (await import("./UnincorporatedPartnershipIndividualPage-DnhI0TNp.js")).UnincorporatedPartnershipIndividualPage);
|
|
1770
|
+
var UnincorporatedPartnershipMemberRoleAndTypePage = lazy(async () => (await import("./UnincorporatedPartnershipMemberRoleAndTypePage-Bilfz6Qs.js")).UnincorporatedPartnershipMemberRoleAndTypePage);
|
|
1771
|
+
var UnincorporatedPartnershipMembersOverview = lazy(async () => (await import("./UnincorporatedPartnershipMembersOverview-BKqB9JWc.js")).UnincorporatedPartnershipMembersOverview);
|
|
1772
|
+
var BusinessFinancingPage = lazy(async () => (await import("./BusinessFinancingPage-DZpGJikD.js")).BusinessFinancingPage);
|
|
1773
|
+
var TrustDetailsPage = lazy(async () => (await import("./TrustDetailsPage-CvNFzktD.js")).TrustDetailsPage);
|
|
1774
|
+
var SourceOfFundsPage = lazy(async () => (await import("./SourceOfFundsPage-Dv_NJVKv.js").then((n) => n.n)).SourceOfFundsPage);
|
|
1775
|
+
var RootIndividualDetailsPage = lazy(async () => (await import("./RootIndividualDetailsPage-BSwFuPHf.js")).RootIndividualDetailsPage);
|
|
1776
|
+
var LegalRepresentativeDetailsPage = lazy(async () => (await import("./LegalRepresentativeDetailsPage-DxLcXGYa.js")).LegalRepresentativeDetailsPage);
|
|
1777
|
+
var DecisionMakerDetailsPage = lazy(async () => (await import("./DecisionMakerDetailsPage-l-Z8TwIm.js")).DecisionMakerDetailsPage);
|
|
1778
1778
|
function isIn(values, x) {
|
|
1779
1779
|
return values.includes(x);
|
|
1780
1780
|
}
|
|
@@ -2281,7 +2281,7 @@ function LegacyDropinComposer({ legalEntityResponse, onSubmit, onNavigate = noop
|
|
|
2281
2281
|
}
|
|
2282
2282
|
//#endregion
|
|
2283
2283
|
//#region src/components/EmbeddedDropins/OnboardingDropinComponent/OnboardingDropinComponent.tsx
|
|
2284
|
-
var AdaptiveWorkflowComponent = lazy(async () => (await import("./AdaptiveWorkflowComponent-
|
|
2284
|
+
var AdaptiveWorkflowComponent = lazy(async () => (await import("./AdaptiveWorkflowComponent-M-n5xnz9.js")).AdaptiveWorkflowComponent);
|
|
2285
2285
|
function OnboardingDropinComponent({ legalEntityId, openBankingPartnerConfigId }) {
|
|
2286
2286
|
const { isFeatureEnabled } = useToggleContext();
|
|
2287
2287
|
if (!legalEntityId) throw new Error("Must provide at-least legalEntityId");
|
|
@@ -2,9 +2,9 @@ try {
|
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "57599f97-f788-4716-91af-b2873220c9ae", e._sentryDebugIdIdentifier = "sentry-dbid-57599f97-f788-4716-91af-b2873220c9ae");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { mt as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-
|
|
5
|
+
import { mt as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-B3XdWKTk.js";
|
|
6
6
|
import { t as emitAdyenSdkEvent } from "./emitEvent-CcGIaOut.js";
|
|
7
|
-
import { t as AcceptTermsOfServiceComponent } from "./AcceptTermsOfServiceComponent-
|
|
7
|
+
import { t as AcceptTermsOfServiceComponent } from "./AcceptTermsOfServiceComponent-CmtFeS0G.js";
|
|
8
8
|
import register from "preact-custom-element";
|
|
9
9
|
import { useRef } from "preact/hooks";
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
@@ -3,7 +3,7 @@ try {
|
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "ea5a5fb3-62c3-4bd8-97c6-1e2b9eb5cade", e._sentryDebugIdIdentifier = "sentry-dbid-ea5a5fb3-62c3-4bd8-97c6-1e2b9eb5cade");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { n as addResourceBundles, r as useTranslation } from "./translation-BR3rLb4m.js";
|
|
6
|
-
import { A as _rolldown_dynamic_import_helper_default, mt as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-
|
|
6
|
+
import { A as _rolldown_dynamic_import_helper_default, mt as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-B3XdWKTk.js";
|
|
7
7
|
import { s as useApiContext } from "./http-DeQp0G69.js";
|
|
8
8
|
import { n as useTermsOfServiceAcceptanceInfos, t as useTermsOfServiceStatus } from "./useTermsOfServiceStatus-B1OpYOua.js";
|
|
9
9
|
import { t as emitAdyenSdkEvent } from "./emitEvent-CcGIaOut.js";
|
|
@@ -3,12 +3,12 @@ try {
|
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "1ebcf250-1521-4360-b6ea-fad7d8c1b5cb", e._sentryDebugIdIdentifier = "sentry-dbid-1ebcf250-1521-4360-b6ea-fad7d8c1b5cb");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { n as addResourceBundles, r as useTranslation } from "./translation-BR3rLb4m.js";
|
|
6
|
-
import { A as _rolldown_dynamic_import_helper_default, mt as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-
|
|
6
|
+
import { A as _rolldown_dynamic_import_helper_default, mt as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-B3XdWKTk.js";
|
|
7
7
|
import { r as Loader } from "./Button-3qGOI53m.js";
|
|
8
8
|
import { r as useLegalEntity } from "./useLegalEntity-BXk2tzGe.js";
|
|
9
9
|
import { t as TaskTypes } from "./taskTypes-NawDTp5n.js";
|
|
10
10
|
import { t as emitAdyenSdkEvent } from "./emitEvent-CcGIaOut.js";
|
|
11
|
-
import { t as PayoutDetailsDropinMultiForm } from "./PayoutDetailsDropinMultiForm-
|
|
11
|
+
import { t as PayoutDetailsDropinMultiForm } from "./PayoutDetailsDropinMultiForm-BZvGdfFw.js";
|
|
12
12
|
import register from "preact-custom-element";
|
|
13
13
|
import { useRef, useState } from "preact/hooks";
|
|
14
14
|
import { jsx } from "preact/jsx-runtime";
|
|
@@ -3,22 +3,22 @@ try {
|
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "a31b430b-3f43-417c-85b1-95cb5a50df74", e._sentryDebugIdIdentifier = "sentry-dbid-a31b430b-3f43-417c-85b1-95cb5a50df74");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { i as Typography, n as addResourceBundles, o as createLogger, r as useTranslation } from "./translation-BR3rLb4m.js";
|
|
6
|
-
import { A as _rolldown_dynamic_import_helper_default, C as useDataset, T as datasetUtilities, mt as stylesheets, n as EmbedShell, t as resolveEnvironment, w as datasetIdentifier, x as Alert } from "./resolveEnvironment-
|
|
6
|
+
import { A as _rolldown_dynamic_import_helper_default, C as useDataset, T as datasetUtilities, mt as stylesheets, n as EmbedShell, t as resolveEnvironment, w as datasetIdentifier, x as Alert } from "./resolveEnvironment-B3XdWKTk.js";
|
|
7
7
|
import { r as Loader, t as Button } from "./Button-3qGOI53m.js";
|
|
8
8
|
import { n as httpGet, s as useApiContext } from "./http-DeQp0G69.js";
|
|
9
9
|
import { c as entriesOf, n as cloneObject } from "./AnalyticsContext-BFrJmsp0.js";
|
|
10
10
|
import { i as TaskStatuses } from "./taskStatus-BtekPA8E.js";
|
|
11
|
-
import { n as getCapabilityProblems } from "./processCapabilities-
|
|
11
|
+
import { n as getCapabilityProblems } from "./processCapabilities-CTUJbebx.js";
|
|
12
12
|
import { t as Card } from "./Card-BCGLpdw7.js";
|
|
13
13
|
import { t as Modal } from "./Modal-C__-5LgI.js";
|
|
14
|
-
import { n as useToastContext } from "./invalidateRootLegalEntity-
|
|
15
|
-
import { n as useDeleteTransferInstrument, t as VerificationErrorAlert } from "./VerificationErrorAlert-
|
|
14
|
+
import { n as useToastContext } from "./invalidateRootLegalEntity-Cg46D4Ef.js";
|
|
15
|
+
import { n as useDeleteTransferInstrument, t as VerificationErrorAlert } from "./VerificationErrorAlert-CItpN9Id.js";
|
|
16
16
|
import { t as Confirm } from "./Confirm-6QfuYcA7.js";
|
|
17
17
|
import { t as StructuredList } from "./StructuredList-CUyo9-3i.js";
|
|
18
18
|
import { t as emitAdyenSdkEvent } from "./emitEvent-CcGIaOut.js";
|
|
19
19
|
import { t as Tag } from "./Tag-CNeDHqKp.js";
|
|
20
20
|
import { n as statusToTag, t as EmbeddedStatus } from "./EmbeddedStatus-Cz3F9iXD.js";
|
|
21
|
-
import { n as useTransferInstrument, t as mapTransferInstrumentToPayoutAccount } from "./mapTransferInstrumentToPayoutAccount-
|
|
21
|
+
import { n as useTransferInstrument, t as mapTransferInstrumentToPayoutAccount } from "./mapTransferInstrumentToPayoutAccount-CUM6S0kM.js";
|
|
22
22
|
import { t as currencyByCountry } from "./types-KjTYEnAG.js";
|
|
23
23
|
import { t as DetailViewLayout } from "./DetailViewLayout-DNCGEd7b.js";
|
|
24
24
|
import register from "preact-custom-element";
|
|
@@ -3,7 +3,7 @@ try {
|
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "548b2415-70dd-4b55-85fe-f58f11621038", e._sentryDebugIdIdentifier = "sentry-dbid-548b2415-70dd-4b55-85fe-f58f11621038");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { n as addResourceBundles, o as createLogger, r as useTranslation } from "./translation-BR3rLb4m.js";
|
|
6
|
-
import { A as _rolldown_dynamic_import_helper_default, mt as stylesheets, n as EmbedShell, t as resolveEnvironment, x as Alert } from "./resolveEnvironment-
|
|
6
|
+
import { A as _rolldown_dynamic_import_helper_default, mt as stylesheets, n as EmbedShell, t as resolveEnvironment, x as Alert } from "./resolveEnvironment-B3XdWKTk.js";
|
|
7
7
|
import { r as Loader, t as Button } from "./Button-3qGOI53m.js";
|
|
8
8
|
import { r as httpPost, s as useApiContext } from "./http-DeQp0G69.js";
|
|
9
9
|
import { t as emitAdyenSdkEvent } from "./emitEvent-CcGIaOut.js";
|
|
@@ -3,11 +3,11 @@ try {
|
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "aeba8b69-56fa-457e-97ca-74b66285ddf8", e._sentryDebugIdIdentifier = "sentry-dbid-aeba8b69-56fa-457e-97ca-74b66285ddf8");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation } from "./translation-BR3rLb4m.js";
|
|
6
|
-
import { j as useToggleContext, nt as isEmpty } from "./resolveEnvironment-
|
|
6
|
+
import { j as useToggleContext, nt as isEmpty } from "./resolveEnvironment-B3XdWKTk.js";
|
|
7
7
|
import { n as IconButton } from "./Button-3qGOI53m.js";
|
|
8
8
|
import { t as List } from "./List-ywoRPg-q.js";
|
|
9
9
|
import { t as Field } from "./Field-DAUlw0M5.js";
|
|
10
|
-
import { t as Select } from "./Select-
|
|
10
|
+
import { t as Select } from "./Select-CS2E69CJ.js";
|
|
11
11
|
import { useEffect, useMemo, useRef, useState } from "preact/hooks";
|
|
12
12
|
import { Fragment, jsx, jsxs } from "preact/jsx-runtime";
|
|
13
13
|
import { signal } from "@preact/signals";
|
|
@@ -4,7 +4,7 @@ try {
|
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-BXk2tzGe.js";
|
|
6
6
|
import { t as getLegalEntityCountry } from "./getLegalEntityCountry-BHh7Ux8v.js";
|
|
7
|
-
import { n as getCapabilityProblems } from "./processCapabilities-
|
|
7
|
+
import { n as getCapabilityProblems } from "./processCapabilities-CTUJbebx.js";
|
|
8
8
|
import { useMemo } from "preact/hooks";
|
|
9
9
|
//#region src/utils/api/getProblemsForEntity.ts
|
|
10
10
|
var useCapabilityProblems = () => {
|
package/dist/{invalidateRootLegalEntity-Tyg8nMBI.js → invalidateRootLegalEntity-Cg46D4Ef.js}
RENAMED
|
@@ -3,7 +3,7 @@ try {
|
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "ea91e624-c322-4032-b018-b00ffa38aeff", e._sentryDebugIdIdentifier = "sentry-dbid-ea91e624-c322-4032-b018-b00ffa38aeff");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { o as createLogger } from "./translation-BR3rLb4m.js";
|
|
6
|
-
import { L as ToastContext } from "./resolveEnvironment-
|
|
6
|
+
import { L as ToastContext } from "./resolveEnvironment-B3XdWKTk.js";
|
|
7
7
|
import { s as useApiContext } from "./http-DeQp0G69.js";
|
|
8
8
|
import { useCallback, useContext } from "preact/hooks";
|
|
9
9
|
import { useQueryClient } from "@tanstack/preact-query";
|
|
@@ -6,7 +6,7 @@ import { i as Typography, r as useTranslation } from "./translation-BR3rLb4m.js"
|
|
|
6
6
|
import { t as Button } from "./Button-3qGOI53m.js";
|
|
7
7
|
import { r as httpPost, s as useApiContext } from "./http-DeQp0G69.js";
|
|
8
8
|
import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
|
|
9
|
-
import { c as individualBaseMapping, y as reverseMapping } from "./processCapabilities-
|
|
9
|
+
import { c as individualBaseMapping, y as reverseMapping } from "./processCapabilities-CTUJbebx.js";
|
|
10
10
|
import { o as getNomineeFromAssociation } from "./entityAssociationUtil-C-wflW8q.js";
|
|
11
11
|
import { t as DecisionMakerTypes } from "./decision-maker-type-NR4GFAeT.js";
|
|
12
12
|
import { i as useAnalyticsContext } from "./Modal-C__-5LgI.js";
|
|
@@ -3,7 +3,7 @@ try {
|
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "83289f56-1cae-4bfb-988a-01528989a926", e._sentryDebugIdIdentifier = "sentry-dbid-83289f56-1cae-4bfb-988a-01528989a926");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { n as httpGet, s as useApiContext } from "./http-DeQp0G69.js";
|
|
6
|
-
import { b as crossBorderMapping, x as payoutComponentKeyMapping } from "./processCapabilities-
|
|
6
|
+
import { b as crossBorderMapping, x as payoutComponentKeyMapping } from "./processCapabilities-CTUJbebx.js";
|
|
7
7
|
import { a as mapWith } from "./utils-DdHbAadK.js";
|
|
8
8
|
import { skipToken, useQuery } from "@tanstack/preact-query";
|
|
9
9
|
//#region src/api/transferInstruments/useTransferInstrument.ts
|
package/dist/{omitObscuredFieldsIfUnchanged-xfvMpTn9.js → omitObscuredFieldsIfUnchanged-CxUdW_hs.js}
RENAMED
|
@@ -3,7 +3,7 @@ try {
|
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "7a0c3444-8f0b-43d5-98c7-76482b60957c", e._sentryDebugIdIdentifier = "sentry-dbid-7a0c3444-8f0b-43d5-98c7-76482b60957c");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { n as cloneObject } from "./AnalyticsContext-BFrJmsp0.js";
|
|
6
|
-
import { r as isValueObscured } from "./MaskedInput-
|
|
6
|
+
import { r as isValueObscured } from "./MaskedInput-BqBhlwWa.js";
|
|
7
7
|
import { i as getProp, n as deleteProp } from "./utils-DdHbAadK.js";
|
|
8
8
|
//#region src/utils/omitObscuredFieldsIfUnchanged.ts
|
|
9
9
|
var omitObscuredFieldsIfUnchanged = (obscuredFields, dataSubmitted, savedData) => {
|
|
@@ -2,7 +2,7 @@ try {
|
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "590c7188-a730-4e1b-9bac-7b2f52ca7e6b", e._sentryDebugIdIdentifier = "sentry-dbid-590c7188-a730-4e1b-9bac-7b2f52ca7e6b");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { $ as hasRepeatedCharacters, H as NO_ALPHABET_REGEX, V as LATIN_SPACE_MARK_PUNCTUATION_NUMBERS_REGEX, W as OTHER_ENTITIES_VALID_CHAR_REGEX, ct as standardKanjiValidator, et as hasText, it as isInvalidName, lt as standardKatakanaValidator, nt as isEmpty, ot as isValidMinLength, st as matchesRegex, z as EMOJI_REGEX } from "./resolveEnvironment-
|
|
5
|
+
import { $ as hasRepeatedCharacters, H as NO_ALPHABET_REGEX, V as LATIN_SPACE_MARK_PUNCTUATION_NUMBERS_REGEX, W as OTHER_ENTITIES_VALID_CHAR_REGEX, ct as standardKanjiValidator, et as hasText, it as isInvalidName, lt as standardKatakanaValidator, nt as isEmpty, ot as isValidMinLength, st as matchesRegex, z as EMOJI_REGEX } from "./resolveEnvironment-B3XdWKTk.js";
|
|
6
6
|
//#region src/utils/regex/patternValidators.ts
|
|
7
7
|
var validateNotEmptyOnBlur = {
|
|
8
8
|
modes: ["blur"],
|
package/dist/{process-field-configurations-n3ecaPQ8.js → process-field-configurations-BxW_4vT6.js}
RENAMED
|
@@ -4,7 +4,7 @@ try {
|
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { o as createLogger } from "./translation-BR3rLb4m.js";
|
|
6
6
|
import { l as keysOf } from "./AnalyticsContext-BFrJmsp0.js";
|
|
7
|
-
import { E as dataMissingRemediationsToFieldsMap, h as businessDetailsApiKeyMapping, r as remediationHasFileUploadField, s as individualApiKeyMapping } from "./processCapabilities-
|
|
7
|
+
import { E as dataMissingRemediationsToFieldsMap, h as businessDetailsApiKeyMapping, r as remediationHasFileUploadField, s as individualApiKeyMapping } from "./processCapabilities-CTUJbebx.js";
|
|
8
8
|
import { t as TrustedFieldsProviders } from "./trusted-fields-provider-DLz8KKVf.js";
|
|
9
9
|
import { t as formDebugInfo } from "./debugStore-Dwn1FXrh.js";
|
|
10
10
|
//#region src/utils/addLinkedFields.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "5825cbf9-a10d-4a3f-8246-a2cc65f39706", e._sentryDebugIdIdentifier = "sentry-dbid-5825cbf9-a10d-4a3f-8246-a2cc65f39706");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { t as LegalEntityTypes } from "./legal-entity-type-0MfCGzUf.js";
|
|
6
6
|
import { c as entriesOf, n as cloneObject } from "./AnalyticsContext-BFrJmsp0.js";
|
|
@@ -348,15 +348,13 @@ var businessDetailsBaseMapping = {
|
|
|
348
348
|
"basicInformation.legalCompanyName": "organization.legalName",
|
|
349
349
|
"basicInformation.stateOrProvince": "organization.registeredAddress.stateOrProvince",
|
|
350
350
|
"basicInformation.registrationNumber": "organization.registrationNumber",
|
|
351
|
+
"basicInformation.exemptedFromRegistrationNumber": "organization.registrationNumberAbsent",
|
|
351
352
|
"basicInformation.taxInformation": "organization.taxInformation",
|
|
352
353
|
"basicInformation.countryOfGoverningLaw": "organization.countryOfGoverningLaw",
|
|
353
354
|
"companyStructure.entityType": "organization.type",
|
|
354
355
|
"additionalInformation.legalFormDescription": "organization.legalFormDescription",
|
|
355
356
|
"additionalInformation.doingBusinessAs": "organization.doingBusinessAs",
|
|
356
357
|
"additionalInformation.hasDoingBusinessAs": "organization.doingBusinessAsAbsent",
|
|
357
|
-
"additionalInformation.registrationNumber": "organization.registrationNumber",
|
|
358
|
-
"additionalInformation.exemptedFromRegistrationNumber": "organization.registrationNumberAbsent",
|
|
359
|
-
"additionalInformation.taxInformation": "organization.taxInformation",
|
|
360
358
|
"additionalInformation.vatNumber": "organization.vatNumber",
|
|
361
359
|
"additionalInformation.vatAbsenceReason": "organization.vatAbsenceReason",
|
|
362
360
|
"additionalInformation.dateOfIncorporation": "organization.dateOfIncorporation",
|
|
@@ -406,13 +404,13 @@ var solePropBusinessDetailsBaseMapping = {
|
|
|
406
404
|
"basicInformation.legalCompanyName": "soleProprietorship.name",
|
|
407
405
|
"basicInformation.stateOrProvince": "soleProprietorship.registeredAddress.stateOrProvince",
|
|
408
406
|
"basicInformation.countryOfGoverningLaw": "soleProprietorship.countryOfGoverningLaw",
|
|
407
|
+
"basicInformation.registrationNumber": "soleProprietorship.registrationNumber",
|
|
408
|
+
"basicInformation.taxInformation": "soleProprietorship.taxInformation",
|
|
409
|
+
"basicInformation.exemptedFromTax": "soleProprietorship.taxAbsent",
|
|
409
410
|
"additionalInformation.hasDoingBusinessAs": "soleProprietorship.doingBusinessAsAbsent",
|
|
410
411
|
"additionalInformation.doingBusinessAs": "soleProprietorship.doingBusinessAs",
|
|
411
|
-
"additionalInformation.registrationNumber": "soleProprietorship.registrationNumber",
|
|
412
412
|
"additionalInformation.vatNumber": "soleProprietorship.vatNumber",
|
|
413
413
|
"additionalInformation.vatAbsenceReason": "soleProprietorship.vatAbsenceReason",
|
|
414
|
-
"additionalInformation.taxInformation": "soleProprietorship.taxInformation",
|
|
415
|
-
"additionalInformation.exemptedFromTax": "soleProprietorship.taxAbsent",
|
|
416
414
|
"additionalInformation.dateOfIncorporation": "soleProprietorship.dateOfIncorporation",
|
|
417
415
|
"additionalInformation.registrationAddress.city": "soleProprietorship.registeredAddress.city",
|
|
418
416
|
"additionalInformation.registrationAddress.country": "soleProprietorship.registeredAddress.country",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "609441c0-9a84-4f79-a0e8-597c4794d8a7", e._sentryDebugIdIdentifier = "sentry-dbid-609441c0-9a84-4f79-a0e8-597c4794d8a7");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { a as Icon, i as Typography, n as addResourceBundles, o as createLogger, r as useTranslation, s as initReactI18next } from "./translation-BR3rLb4m.js";
|
|
6
6
|
import { n as IconButton, r as Loader, t as Button } from "./Button-3qGOI53m.js";
|
|
@@ -15,7 +15,7 @@ import { t as TaskVerificationStatus } from "./TaskVerificationStatus-DTHF8B9j.j
|
|
|
15
15
|
import { i as TaskStatuses, r as TASK_STATUS_PRIORITY } from "./taskStatus-BtekPA8E.js";
|
|
16
16
|
import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
|
|
17
17
|
import { n as Skeleton, t as Accordion } from "./Accordion-DmH02rWQ.js";
|
|
18
|
-
import { C as EntityTypes, n as getCapabilityProblems, t as getCapabilities, w as CUSTOMER_SUPPORT_DATA_MISSING_ERROR_CODES } from "./processCapabilities-
|
|
18
|
+
import { C as EntityTypes, n as getCapabilityProblems, t as getCapabilities, w as CUSTOMER_SUPPORT_DATA_MISSING_ERROR_CODES } from "./processCapabilities-CTUJbebx.js";
|
|
19
19
|
import { t as TaskTypes } from "./taskTypes-NawDTp5n.js";
|
|
20
20
|
import { a as getLegalRepresentative, i as getDirectEntityAssociations, l as getOwnSoleProprietorshipIdArray } from "./entityAssociationUtil-C-wflW8q.js";
|
|
21
21
|
import { i as getOwnDecisionMakersLegalEntityIds, n as getDecisionMakers, o as hasMinRequiredDecisionMakerCount } from "./decisionMakerRoles-DIG8zo1C.js";
|
|
@@ -396,7 +396,7 @@ var useAccountHolder = () => {
|
|
|
396
396
|
//#endregion
|
|
397
397
|
//#region src/hooks/useAnalytics/useAnalytics.ts
|
|
398
398
|
var useAnalytics = ({ userEvents, sessionId, sessionData }) => {
|
|
399
|
-
const sdkVersion = "4.15.
|
|
399
|
+
const sdkVersion = "4.15.1";
|
|
400
400
|
const { data: rootLegalEntity } = useLegalEntity(ROOT_LE);
|
|
401
401
|
const { mutateAsync } = usePushAnalyticEvent(sessionId ?? "");
|
|
402
402
|
const { accountHolder } = useAccountHolder();
|
|
@@ -491,7 +491,7 @@ var AnalyticsProvider = ({ componentName, children, rootLegalEntityId, locale })
|
|
|
491
491
|
const capabilities = rootLegalEntity?.capabilities && Object.keys(rootLegalEntity.capabilities);
|
|
492
492
|
const shouldTrackPrefilledDetails = capabilities?.includes("receivePayments") && onboardingVersion && onboardingVersion > 1;
|
|
493
493
|
const sessionData = {
|
|
494
|
-
sdkVersion: "4.15.
|
|
494
|
+
sdkVersion: "4.15.1",
|
|
495
495
|
componentName,
|
|
496
496
|
userAgent: navigator.userAgent,
|
|
497
497
|
legalEntityId: rootLegalEntityId,
|
|
@@ -1150,11 +1150,7 @@ var FeatureFrameworkFeatureNames = {
|
|
|
1150
1150
|
/**
|
|
1151
1151
|
Enable AWE generated UI for PoC
|
|
1152
1152
|
*/
|
|
1153
|
-
EnableAdaptivePoc: "EnableAdaptivePoc"
|
|
1154
|
-
/**
|
|
1155
|
-
* OXP-7197: Enable unified company search
|
|
1156
|
-
*/
|
|
1157
|
-
EnableUnifiedCompanySearch: "EnableUnifiedCompanySearch"
|
|
1153
|
+
EnableAdaptivePoc: "EnableAdaptivePoc"
|
|
1158
1154
|
};
|
|
1159
1155
|
/**
|
|
1160
1156
|
* Features which are returned from a call made to onboardingcomponents for version-specific features. (see `useVersions`).
|
|
@@ -1768,7 +1764,7 @@ var AllowedCountryGate = ({ children }) => {
|
|
|
1768
1764
|
};
|
|
1769
1765
|
//#endregion
|
|
1770
1766
|
//#region src/components/Shared/devex/DebugListener/DebugListener.tsx
|
|
1771
|
-
var DebugModal = lazy(async () => (await import("./DebugModal-
|
|
1767
|
+
var DebugModal = lazy(async () => (await import("./DebugModal-DOrbJ9GB.js")).DebugModal);
|
|
1772
1768
|
/**
|
|
1773
1769
|
* Adds a listener on the page to open the debug modal when the
|
|
1774
1770
|
* debug modal key combination is pressed to open it
|
|
@@ -2469,7 +2465,7 @@ var EmbedShell = ({ children, rootLegalEntityId, settings, features, refreshExpe
|
|
|
2469
2465
|
children: [/* @__PURE__ */ jsx(LanguageSwitcher, { locale }), /* @__PURE__ */ jsxs(StoreProvider, { children: [/* @__PURE__ */ jsx("span", {
|
|
2470
2466
|
id: "sdk-version",
|
|
2471
2467
|
hidden: true,
|
|
2472
|
-
children: "4.15.
|
|
2468
|
+
children: "4.15.1"
|
|
2473
2469
|
}), /* @__PURE__ */ jsx(AnalyticsProvider, {
|
|
2474
2470
|
componentName,
|
|
2475
2471
|
locale,
|
|
@@ -6,10 +6,9 @@ interface RegistrationNumberTypeSelectorFieldProps {
|
|
|
6
6
|
field: AnyFieldApi;
|
|
7
7
|
country: CountryCode;
|
|
8
8
|
companyType?: CompanyTypesValue | 'trust';
|
|
9
|
-
invertCompanyTypeFilter?: boolean;
|
|
10
9
|
selected: CompanyRegistrationNumberType | 'exempted' | undefined;
|
|
11
10
|
onTypeChange: (type: CompanyRegistrationNumberType | 'exempted') => void;
|
|
12
11
|
exemptedOptionLabel?: string;
|
|
13
12
|
}
|
|
14
|
-
export declare function RegistrationNumberTypeSelectorField({ country, companyType,
|
|
13
|
+
export declare function RegistrationNumberTypeSelectorField({ country, companyType, selected, onTypeChange, exemptedOptionLabel, }: RegistrationNumberTypeSelectorFieldProps): import("preact/jsx-runtime").JSX.Element;
|
|
15
14
|
export {};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { CompanyTypesValue } from '../../../../core/models/api/company-types-value';
|
|
2
2
|
import type { BaseInnerFormProps } from '../../../../hooks/useForm/types';
|
|
3
|
-
import type { BusinessRegistrationNumberFieldSchema } from '../../../Shared/fields/BusinessRegistrationNumberField/types';
|
|
4
3
|
import type { DateOfIncorporationFieldSchema } from '../../../Shared/fields/DateOfIncorporationField/types';
|
|
5
4
|
import type { DBANameFieldSchema } from '../../../Shared/fields/DBANameField/types';
|
|
6
5
|
import type { EInvoicingCodeFieldSchema } from '../../../Shared/fields/EInvoicingCodeField/types';
|
|
@@ -8,12 +7,11 @@ import type { IndustryCodeFieldSchema } from '../../../Shared/fields/IndustryCod
|
|
|
8
7
|
import type { StockExchangeMICFieldSchema } from '../../../Shared/fields/StockExchangeMICField/types';
|
|
9
8
|
import type { StockISINFieldSchema } from '../../../Shared/fields/StockISINField/types';
|
|
10
9
|
import type { StockTickerSymbolFieldSchema } from '../../../Shared/fields/StockTickerSymbol/types';
|
|
11
|
-
import type { TaxInformationFieldSchema } from '../../../Shared/fields/TaxInformationField/types';
|
|
12
10
|
import type { VatNumberFieldSchema } from '../../../Shared/fields/VatNumberField/types';
|
|
13
11
|
import type { RegistrationAddressSchema } from '../../../Shared/forms/RegistrationAddress/types';
|
|
14
12
|
import type { CountryCode } from '../../../../types/datasets/country-code';
|
|
15
13
|
import type { LegalFormFieldSchema } from '../../../EFP/fields/LegalFormField/types';
|
|
16
|
-
export interface AdditionalInformationSchema extends DBANameFieldSchema, VatNumberFieldSchema,
|
|
14
|
+
export interface AdditionalInformationSchema extends DBANameFieldSchema, VatNumberFieldSchema, DateOfIncorporationFieldSchema, StockISINFieldSchema, StockExchangeMICFieldSchema, StockTickerSymbolFieldSchema, RegistrationAddressSchema, EInvoicingCodeFieldSchema, LegalFormFieldSchema, IndustryCodeFieldSchema {
|
|
17
15
|
legalFormDescription?: string;
|
|
18
16
|
}
|
|
19
17
|
export interface AdditionalInformationProps extends BaseInnerFormProps<AdditionalInformationSchema> {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import type { FeatureName } from '../../../../context/ToggleContext/types';
|
|
2
|
-
import type { TaskType } from '../../../../stores/globalStore/taskTypes';
|
|
3
1
|
import type { CountryCode } from '../../../../types/datasets/country-code';
|
|
4
|
-
import type { AdditionalInformationSchema } from '../AdditionalInformation/types';
|
|
5
|
-
import type { BasicInformationSchema } from '../BasicInformation/types';
|
|
6
|
-
export declare const FIELDS_NEEDED_FOR_COMPANY_SEARCH: Array<keyof BasicInformationSchema | keyof AdditionalInformationSchema>;
|
|
7
2
|
export declare const getFinancialInformationFields: (country: CountryCode) => (keyof import("../FinancialInformation/types").FinancialInformationSchema)[];
|
|
8
3
|
export declare const staticBusinessDetailsForms: {
|
|
4
|
+
readonly basicInformation: {
|
|
5
|
+
readonly formId: "basicInformation";
|
|
6
|
+
readonly formName: "basicInformationFormName";
|
|
7
|
+
readonly fields: ("country" | "countryOfGoverningLaw" | "jaHaniLegalCompanyName" | "jaKanaLegalCompanyName" | "legalCompanyName" | "stateOrProvince" | keyof import("../../../Shared/fields/BusinessRegistrationNumberField/types").BusinessRegistrationNumberFieldSchema | keyof import("../../../Shared/fields/TaxInformationField/types").TaxInformationFieldSchema)[];
|
|
8
|
+
};
|
|
9
9
|
readonly businessSelection: {
|
|
10
10
|
readonly formId: "businessSelection";
|
|
11
11
|
readonly formName: "businessSelectionFormName";
|
|
@@ -16,6 +16,11 @@ export declare const staticBusinessDetailsForms: {
|
|
|
16
16
|
readonly formName: "companyStructureFormName";
|
|
17
17
|
readonly fields: "entityType"[];
|
|
18
18
|
};
|
|
19
|
+
readonly additionalInformation: {
|
|
20
|
+
readonly formId: "additionalInformation";
|
|
21
|
+
readonly formName: "additionalInformationFormName";
|
|
22
|
+
readonly fields: (keyof import("../AdditionalInformation/types").AdditionalInformationSchema)[];
|
|
23
|
+
};
|
|
19
24
|
readonly companyRegistrationDocument: {
|
|
20
25
|
readonly formId: "companyRegistrationDocument";
|
|
21
26
|
readonly formName: "companyRegistrationDocumentFormName";
|
|
@@ -53,7 +58,7 @@ export type BusinessProofOfDirectorDocId = typeof staticBusinessDetailsForms.com
|
|
|
53
58
|
export type BusinessProofOfSignatoryDocId = typeof staticBusinessDetailsForms.companyProofOfSignatoryDocument.formId;
|
|
54
59
|
export type BusinessConstitutionalDocId = typeof staticBusinessDetailsForms.companyConstitutionalDocument.formId;
|
|
55
60
|
export type BusinessProofOfOwnershipDocId = typeof staticBusinessDetailsForms.companyProofOfOwnershipDocument.formId;
|
|
56
|
-
export declare const getForms: (country: CountryCode
|
|
61
|
+
export declare const getForms: (country: CountryCode) => {
|
|
57
62
|
readonly basicInformation: {
|
|
58
63
|
readonly formId: "basicInformation";
|
|
59
64
|
readonly formName: "basicInformationFormName";
|
|
@@ -72,7 +77,7 @@ export declare const getForms: (country: CountryCode, taskType: TaskType, isFeat
|
|
|
72
77
|
readonly additionalInformation: {
|
|
73
78
|
readonly formId: "additionalInformation";
|
|
74
79
|
readonly formName: "additionalInformationFormName";
|
|
75
|
-
readonly fields: (keyof AdditionalInformationSchema)[];
|
|
80
|
+
readonly fields: (keyof import("../AdditionalInformation/types").AdditionalInformationSchema)[];
|
|
76
81
|
};
|
|
77
82
|
readonly companyRegistrationDocument: {
|
|
78
83
|
readonly formId: "companyRegistrationDocument";
|
|
@@ -4,11 +4,11 @@ import type { TaxInformation } from '../../../../core/models/api/organization';
|
|
|
4
4
|
import type { DBANameFieldSchema } from '../../../Shared/fields/DBANameField/types';
|
|
5
5
|
import type { TaskType } from '../../../../stores/globalStore/taskTypes';
|
|
6
6
|
import type { CountryCode } from '../../../../types/datasets/country-code';
|
|
7
|
-
import type {
|
|
7
|
+
import type { BasicInformationSchema } from '../../forms/BasicInformation/types';
|
|
8
8
|
import type { BusinessDetailsSchema } from '../../forms/BusinessDetails/types';
|
|
9
9
|
export declare const mapApiDocumentToBusinessDetailsDocuments: (entityId: string) => BusinessDetailsSchema;
|
|
10
10
|
export declare const mapDbaName: (legalEntity: ExistingLegalEntity) => DBANameFieldSchema;
|
|
11
|
-
export declare const mapIsUen: (taxInformation: TaxInformation[] | undefined, registrationNumber: string | undefined, country: CountryCode | undefined) => Partial<
|
|
11
|
+
export declare const mapIsUen: (taxInformation: TaxInformation[] | undefined, registrationNumber: string | undefined, country: CountryCode | undefined) => Partial<BasicInformationSchema>;
|
|
12
12
|
type MapLegalEntityParams = {
|
|
13
13
|
legalEntity: ExistingLegalEntity | undefined;
|
|
14
14
|
parentEntity?: ExistingLegalEntity;
|
|
@@ -20,5 +20,5 @@ interface BuildValidatorProps {
|
|
|
20
20
|
}
|
|
21
21
|
export declare function basicInformationValidators({ country, taxIdNumberType, companyType, registrationNumberType, state, isFeatureEnabled, }: BuildValidatorProps): ValidatorRules<BasicInformationSchema>;
|
|
22
22
|
export declare function businessSelectionValidators(): ValidatorRules<BusinessSelectionSchema>;
|
|
23
|
-
export declare function additionalInformationValidators({ country,
|
|
23
|
+
export declare function additionalInformationValidators({ country, vatNumberType, }: BuildValidatorProps): ValidatorRules<AdditionalInformationSchema>;
|
|
24
24
|
export {};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { BusinessRegistrationNumberFieldProps, BusinessRegistrationNumberFieldSchema } from './types';
|
|
2
2
|
export declare const BUSINESS_REGISTRATION_NUMBER_FIELD: Array<keyof BusinessRegistrationNumberFieldSchema>;
|
|
3
|
-
export declare function BusinessRegistrationNumberField({ data, valid, errors, helperText, readonly, shouldValidate, optional, handleChangeFor, country, state, canExempt, companyType,
|
|
3
|
+
export declare function BusinessRegistrationNumberField({ data, valid, errors, helperText, readonly, shouldValidate, optional, handleChangeFor, country, state, canExempt, companyType, }: BusinessRegistrationNumberFieldProps): import("preact/jsx-runtime").JSX.Element;
|
|
@@ -4,10 +4,9 @@ import type { CompanyRegistrationNumberType } from '../types';
|
|
|
4
4
|
type CompanyRegistrationNumberTypeSelectorProps = {
|
|
5
5
|
country: CountryCode;
|
|
6
6
|
companyType?: CompanyTypesValue | 'trust';
|
|
7
|
-
invertCompanyTypeFilter?: boolean;
|
|
8
7
|
selected: CompanyRegistrationNumberType | 'exempted' | undefined;
|
|
9
8
|
setSelected: (type: CompanyRegistrationNumberType | 'exempted') => void;
|
|
10
9
|
exemptedOptionLabel?: string;
|
|
11
10
|
};
|
|
12
|
-
export declare function CompanyRegistrationNumberTypeSelector({ country, companyType,
|
|
11
|
+
export declare function CompanyRegistrationNumberTypeSelector({ country, companyType, selected, setSelected, exemptedOptionLabel, }: CompanyRegistrationNumberTypeSelectorProps): import("preact/jsx-runtime").JSX.Element | null;
|
|
13
12
|
export {};
|
|
@@ -13,4 +13,4 @@ import type { CompanyRegistrationNumberType } from '../types';
|
|
|
13
13
|
* @param companyType - The company type or entity type (i.e. Trust) of the business
|
|
14
14
|
* @returns The determined business registration number type or undefined if none can be determined
|
|
15
15
|
*/
|
|
16
|
-
export declare function getDefaultRegistrationNumberType(registrationNumber: string | undefined, country: CountryCode, companyType: CompanyTypesValue | typeof LegalEntityTypes.TRUST | undefined
|
|
16
|
+
export declare function getDefaultRegistrationNumberType(registrationNumber: string | undefined, country: CountryCode, companyType: CompanyTypesValue | typeof LegalEntityTypes.TRUST | undefined): CompanyRegistrationNumberType | undefined;
|
|
@@ -9,4 +9,4 @@ import type { CompanyRegistrationNumberType } from '../types';
|
|
|
9
9
|
* @param country the country of the LE
|
|
10
10
|
* @param companyType the company type, e.g. `nonProfit`
|
|
11
11
|
*/
|
|
12
|
-
export declare const inferCompanyRegistrationNumberType: (registrationNumber: string, country: CountryCode, companyType: CompanyTypesValue | "trust" | undefined
|
|
12
|
+
export declare const inferCompanyRegistrationNumberType: (registrationNumber: string, country: CountryCode, companyType: CompanyTypesValue | "trust" | undefined) => CompanyRegistrationNumberType | undefined;
|
|
@@ -99,7 +99,7 @@ export declare const companyRegistrationNumberOptions: {
|
|
|
99
99
|
* If ignoreApplicableOnlyFor is true, options specific to legal arrangements are excluded
|
|
100
100
|
* for non-legal-arrangement entities.
|
|
101
101
|
*/
|
|
102
|
-
export declare const getCompanyRegistrationNumberOptions: (country: CountryCode, companyType: CompanyTypesValue | "trust" | undefined
|
|
102
|
+
export declare const getCompanyRegistrationNumberOptions: (country: CountryCode, companyType: CompanyTypesValue | "trust" | undefined) => readonly CompanyRegistrationNumberOption[] | undefined;
|
|
103
103
|
/**
|
|
104
104
|
* Returns the valid company types for a given registration number type and country.
|
|
105
105
|
* @param country The country code
|