@adyen/kyc-components 4.16.0-beta.0 → 4.16.0-beta.2
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-sWwPrHpD.js → AcceptTermsOfServiceComponent-B6vVYR5d.js} +19 -19
- package/dist/{Accordion-DmH02rWQ.js → Accordion-IXKjwyLD.js} +1 -1
- package/dist/{AccountSetupRejected-h8i4srXf.js → AccountSetupRejected-DBQa7lQQ.js} +2 -2
- package/dist/{AdaptiveWorkflow-CVnJ9NZw.js → AdaptiveWorkflow-CPbROA6I.js} +32 -31
- package/dist/{AdaptiveWorkflowComponent-DlLfVvPW.js → AdaptiveWorkflowComponent-BaEZsz2h.js} +5 -5
- package/dist/{Address-BAE2QQ-5.js → Address-iFLK6jy-.js} +11 -11
- package/dist/{Avatar-Z3MS8_pW.js → Avatar-CdBNstmD.js} +1 -1
- package/dist/{BusinessFinancingDropin-D2MqJxaF.js → BusinessFinancingDropin-B4AS1YOE.js} +30 -30
- package/dist/{BusinessFinancingPage-DpyatG4F.js → BusinessFinancingPage-Kury51y6.js} +6 -6
- package/dist/{BusinessTypeSelectionPage-bkRgRUiw.js → BusinessTypeSelectionPage-CIRKDgvR.js} +14 -14
- package/dist/{Button-3qGOI53m.js → Button-i8I2dHP8.js} +1 -1
- package/dist/{Checkbox-DPFQmSgp.js → Checkbox-D7BRIoQL.js} +1 -1
- package/dist/{CompanyRegistrationNumberTypeSelector-CFqyuzoH.js → CompanyRegistrationNumberTypeSelector-OlHS-uZu.js} +6 -6
- package/dist/{Confirm-6QfuYcA7.js → Confirm-CA-gL38n.js} +3 -3
- package/dist/{ContactDetails-Cqos4P-U.js → ContactDetails-ClkKcUsn.js} +6 -6
- package/dist/{ContextGuidance-DLErBW62.js → ContextGuidance-Cf6kKfqq.js} +2 -2
- package/dist/{CountryField-DSI1tYm2.js → CountryField-BlEwJA-M.js} +4 -4
- package/dist/{Currency-Bfjuo_qU.js → Currency-MsOJ6F6W.js} +8 -8
- package/dist/{CustomerSupport-ry1TO7UY.js → CustomerSupport-CIXbcrtE.js} +13 -13
- package/dist/DataConflictsModal-_-hclTrL.js +236 -0
- package/dist/{DebugModal-BCYwesU5.js → DebugModal-DMPcPJ6X.js} +10 -10
- package/dist/{DecisionMakerDetails-BnlhqSiD.js → DecisionMakerDetails-Bv-piLuQ.js} +14 -14
- package/dist/{DecisionMakerDetailsPage-DzXL7rI0.js → DecisionMakerDetailsPage-CV_wiPKU.js} +8 -8
- package/dist/{DecisionMakers-DKaoWAJE.js → DecisionMakers-Bfk1BKkT.js} +17 -17
- package/dist/{Dropzone-JmVSKeOB.js → Dropzone-CFUlcmQY.js} +6 -6
- package/dist/{EmbeddedStatus-Cz3F9iXD.js → EmbeddedStatus-_k9EhrGV.js} +4 -4
- package/dist/{EndStateLayout-ic1EOve9.js → EndStateLayout-CBRHUXyY.js} +2 -2
- package/dist/{EntityAssociation-DMre5SqE.js → EntityAssociation-3Yk38P3K.js} +7 -7
- package/dist/{ErrorPanel-B5GuGh_o.js → ErrorPanel-CTwk2wKz.js} +3 -3
- package/dist/{Field-DAUlw0M5.js → Field-DoXLi6EY.js} +3 -3
- package/dist/{FormNavigation-LjknVdf5.js → FormNavigation-mEocY-KU.js} +2 -2
- package/dist/{IndividualDropin-DHDR28cv.js → IndividualDropin-Cq8JMb4W.js} +51 -45
- package/dist/{InputDate-B_jtgBB5.js → InputDate-CPkdZkHB.js} +1 -1
- package/dist/{InputText-B-ebylm4.js → InputText-B0N7am-q.js} +1 -1
- package/dist/{Introduction-BiWv1ZBC.js → Introduction-CgJ2j-Dq.js} +8 -8
- package/dist/{InvitedDecisionMakerComponent-CQ8wt0IK.js → InvitedDecisionMakerComponent-BvhBeEIJ.js} +14 -14
- package/dist/{JpAddress-BtLxuxr9.js → JpAddress-BnZ5cqKV.js} +12 -12
- package/dist/{LandingLayout-C1yh_ggf.js → LandingLayout-CUAkXrpL.js} +1 -1
- package/dist/{LegalCompanyNameField-B9Cwuyju.js → LegalCompanyNameField-JAmpvfKL.js} +4 -4
- package/dist/{LegalRepresentativeDetailsPage-2iKaMqsA.js → LegalRepresentativeDetailsPage-CnvTEEDr.js} +7 -7
- package/dist/{Link-C0jrInxa.js → Link-JFzfaUOa.js} +1 -1
- package/dist/{ListItem-C_g-4xPP.js → ListItem-V4x0raZw.js} +2 -2
- package/dist/{MaskedInput-VtgquqE0.js → MaskedInput-D76wVR2v.js} +5 -5
- package/dist/{MaybeModal-BVaPzNUU.js → MaybeModal-BuQIkNaG.js} +2 -2
- package/dist/{Modal-C__-5LgI.js → Modal-BLP2aF-u.js} +1 -1
- package/dist/{Name-BlfQjJkJ.js → Name-Dz2Meujh.js} +3 -3
- package/dist/{NewSummary-CaV_Faij.js → NewSummary-BG9lqaSZ.js} +4 -4
- package/dist/{PayoutDetailsDropinMultiForm-DTNxQTj8.js → PayoutDetailsDropinMultiForm-DLQXsNgX.js} +32 -32
- package/dist/{PayoutDetailsPage-B_umtanU.js → PayoutDetailsPage-CxM60SNa.js} +8 -8
- package/dist/{RadioGroup-CMiBSXCA.js → RadioGroup-qV8mGGwm.js} +2 -2
- package/dist/{Review-9LTJVH2e.js → Review-t6P_YBBl.js} +8 -8
- package/dist/{RootBusinessDetailsPage-jLEoZd66.js → RootBusinessDetailsPage-D0obTtXY.js} +7 -7
- package/dist/{RootBusinessLinesPage-DZ0u4YRf.js → RootBusinessLinesPage-4rCmIXFz.js} +31 -31
- package/dist/{RootIndividualDetailsPage-BzC1-cyB.js → RootIndividualDetailsPage-CAGb2sXn.js} +7 -7
- package/dist/{Select-CS2E69CJ.js → Select-DUo2rOfa.js} +4 -4
- package/dist/{SignPCIComponent-BAemgvnk.js → SignPCIComponent-Bq1CwM1t.js} +16 -16
- package/dist/{SingpassSelection-msWdDNgM.js → SingpassSelection-A0OsTbI1.js} +6 -6
- package/dist/{SoleProprietorshipPage-DMGE-cEd.js → SoleProprietorshipPage-CVgTVg0K.js} +8 -8
- package/dist/{SourceOfFundsPage-DyczSaZH.js → SourceOfFundsPage-CKX-SOAa.js} +35 -35
- package/dist/{Summary-CunMdpUq.js → Summary-BSo71mup.js} +9 -9
- package/dist/{TaskListItem-DDKGB2H5.js → TaskListItem-BmQUmZnE.js} +9 -9
- package/dist/{TaskVerificationStatus-DTHF8B9j.js → TaskVerificationStatus-CKHPTEpH.js} +1 -1
- package/dist/{TaxInformationField-BKnequKz.js → TaxInformationField-fdeimyge.js} +14 -14
- package/dist/{TaxReportingDropin-Ca1wEDdY.js → TaxReportingDropin-DYgpI-y6.js} +18 -18
- package/dist/{TextArea-BvphlYOu.js → TextArea-CT04Dg1N.js} +2 -2
- package/dist/{TileGroup-B8II9Mip.js → TileGroup-DitwS4Ud.js} +2 -2
- package/dist/{TrustDetailsPage-DCTp6-QO.js → TrustDetailsPage-D9UdRetd.js} +30 -30
- package/dist/{TrustMemberCompanyPage-CHtXG88-.js → TrustMemberCompanyPage-hun5fORS.js} +9 -9
- package/dist/{TrustMemberIndividualPage-CgnPbD6F.js → TrustMemberIndividualPage-Dk0wmrff.js} +7 -7
- package/dist/{TrustMemberRoleAndTypePage-Bey9Tqzz.js → TrustMemberRoleAndTypePage-DupYXfe6.js} +20 -20
- package/dist/{TrustMembersOverview-DuWWJMGv.js → TrustMembersOverview-BjjAJEkc.js} +13 -13
- package/dist/{UnincorporatedPartnershipIndividualPage-DFFiL1br.js → UnincorporatedPartnershipIndividualPage-B8YsUUds.js} +7 -7
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-BWBVhegh.js → UnincorporatedPartnershipMemberCompanyPage-B7pmCSfl.js} +9 -9
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-C5DV96eC.js → UnincorporatedPartnershipMemberRoleAndTypePage-B9MnEbkx.js} +12 -12
- package/dist/{UnincorporatedPartnershipMembersOverview-B5xNG_92.js → UnincorporatedPartnershipMembersOverview-Cl-5H_VF.js} +9 -9
- package/dist/{VerificationErrorAlert-DBHKdlD8.js → VerificationErrorAlert-CpG8oYic.js} +4 -4
- package/dist/{accountHolderUtils-DuVrEKUh.js → accountHolderUtils-CCP7y8fZ.js} +1 -1
- package/dist/adyen-business-financing.js +7 -7
- package/dist/adyen-individual-configuration.js +7 -7
- package/dist/adyen-individual-status.js +7 -7
- package/dist/adyen-invited-decision-maker.js +3 -3
- package/dist/adyen-onboarding.js +54 -54
- package/dist/adyen-terms-of-service-management.js +3 -3
- package/dist/adyen-terms-of-service-status.js +6 -6
- package/dist/adyen-transfer-instrument-configuration.js +6 -6
- package/dist/adyen-transfer-instrument-management.js +12 -12
- package/dist/adyen-verification-status.js +6 -6
- package/dist/{constants-BMNUJ3-d.js → constants-CsMU8IAb.js} +5 -5
- package/dist/{en-US-B4SH4SJV.js → en-US-DXMKV9NN.js} +2 -2
- package/dist/{getProblemsForEntity-CCpr4UGm.js → getProblemsForEntity-D6XC4DZ2.js} +1 -1
- package/dist/{http-DeQp0G69.js → http-8qgzqVqk.js} +1 -1
- package/dist/{invalidateRootLegalEntity-DUOCxqZR.js → invalidateRootLegalEntity-BHWIVP9j.js} +3 -3
- package/dist/{localizeDateString-CU7HGR-k.js → localizeDateString-Bmx3yBcR.js} +1 -1
- package/dist/{mapExistingFile-BmyzNoup.js → mapExistingFile-BmI24MBQ.js} +2 -2
- package/dist/{mapJpAddressSchemaToAddressLocalizations-BGLDkUt1.js → mapJpAddressSchemaToAddressLocalizations-Dzcl40cA.js} +1 -1
- package/dist/{mapLegalEntityToIndividualSchema-CADQNrLO.js → mapLegalEntityToIndividualSchema-7sVfeCn9.js} +7 -7
- package/dist/{mapTransferInstrumentToPayoutAccount-CvaJH9VL.js → mapTransferInstrumentToPayoutAccount-CxdVWYkh.js} +1 -1
- package/dist/{omitObscuredFieldsIfUnchanged-Ck2si051.js → omitObscuredFieldsIfUnchanged-ae6Pv7w6.js} +1 -1
- package/dist/{patternValidators-Bza9mezL.js → patternValidators-fBH0mmRG.js} +1 -1
- package/dist/{process-field-configurations-uFcwmzTd.js → process-field-configurations-DQlTj--V.js} +1 -1
- package/dist/{resolveEnvironment-l2TGYFxw.js → resolveEnvironment-C-S9dXKd.js} +11 -11
- package/dist/{roleMetadata-CWdYxbqM.js → roleMetadata-v10ns9iG.js} +1 -1
- package/dist/style.css +84 -74
- package/dist/styles-DYaAeu4q.js +84 -74
- package/dist/{translation-BR3rLb4m.js → translation-BYvhW5zA.js} +1 -1
- package/dist/types/api/companySelection/companySelection.types.d.ts +2 -0
- package/dist/types/components/Business/hooks/useCompanySearchNextClickOverrides.d.ts +2 -1
- package/dist/types/components/Business/modals/LegalArrangementModal.d.ts +5 -0
- package/dist/types/components/Business/modals/RegistrationNumberMismatchModal.d.ts +11 -0
- package/dist/types/components/Business/modals/TinMismatchModal.d.ts +6 -0
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/businessDetailsStore.d.ts +4 -4
- package/dist/types/components/{Individual/forms → Shared}/DataConflictsModal/ConflictRow.d.ts +1 -1
- package/dist/types/components/{Individual/forms → Shared}/DataConflictsModal/DataConflictsModal.d.ts +23 -4
- package/dist/types/components/Shared/fields/LegalEntityIdentifierField/LegalEntityIdentifierField.d.ts +1 -1
- package/dist/types/components/Shared/fields/LegalEntityIdentifierField/types.d.ts +1 -1
- package/dist/{types-KjTYEnAG.js → types-QSnyOf8p.js} +1 -1
- package/dist/{unincorporated-partnership-BstfjTh2.js → unincorporated-partnership-nnTW3FnG.js} +1 -1
- package/dist/{useAssociatedLegalEntity-QRvyeNwU.js → useAssociatedLegalEntity-CkuvFV-D.js} +2 -2
- package/dist/{useBusinessDetailsData-C3mDLYw0.js → useBusinessDetailsData-Dt6QfXWa.js} +233 -148
- package/dist/{useBusinessLines-B2iCcDej.js → useBusinessLines-BFsRoAAj.js} +1 -1
- package/dist/{useCanSeeIntroduction-87OxZXI3.js → useCanSeeIntroduction-ChWYl5-5.js} +1 -1
- package/dist/{useCreateLegalEntity-zPjl13U3.js → useCreateLegalEntity-CoBr-K0N.js} +1 -1
- package/dist/{useDataMissingRemediations-BtSioM7F.js → useDataMissingRemediations-QYShC4SG.js} +1 -1
- package/dist/{useForm-BcvMNl0D.js → useForm-BD_PX45C.js} +2 -2
- package/dist/{useFormContext-1h2DlUxb.js → useFormContext-46YsZdLi.js} +8 -8
- package/dist/{useLegalEntity-BXk2tzGe.js → useLegalEntity-CtlUQv_J.js} +1 -1
- package/dist/{useMultiForm-C0Mz4Mm6.js → useMultiForm-DwfHaB7u.js} +2 -2
- package/dist/{useNavigate-CVT5ailE.js → useNavigate-Can-VGd1.js} +31 -31
- package/dist/{useOnboardingStatus-BgO4uPbW.js → useOnboardingStatus-BlXlrSAS.js} +1 -1
- package/dist/{usePciQuestionnaireList-BEPt97lw.js → usePciQuestionnaireList-CbkNC_Ye.js} +1 -1
- package/dist/{useSalesChannels-CxxzJGtX.js → useSalesChannels-DW5ilTS0.js} +2 -2
- package/dist/{useScenarios-BRGMIufX.js → useScenarios-DciPyzQ-.js} +1 -1
- package/dist/{useTaskLandedEvent-Doq80YT8.js → useTaskLandedEvent-BXtOctC4.js} +1 -1
- package/dist/{useTaskStatus-BLkHjMgm.js → useTaskStatus-wrAxqtIR.js} +1 -1
- package/dist/{useTermsOfServiceStatus-B1OpYOua.js → useTermsOfServiceStatus-D1_ECrkO.js} +1 -1
- package/dist/{useTrustMembers-CNy3GIeW.js → useTrustMembers-B-H-K0rT.js} +3 -3
- package/dist/{useUnincorporatedPartnershipMembers-DK_yrIU4.js → useUnincorporatedPartnershipMembers-7T2XW_zN.js} +3 -3
- package/dist/{useUpdateBusinessLines-jlXfi57a.js → useUpdateBusinessLines-Cncate8L.js} +1 -1
- package/dist/{useUpdateLegalEntity-GCDgDdeE.js → useUpdateLegalEntity-BCLhBhYD.js} +2 -2
- package/dist/{utils-BtyrxTzp.js → utils-C1buyvRw.js} +1 -1
- package/dist/{utils-uuBaXnz-.js → utils-C_W9PWZA.js} +18 -18
- package/dist/{utils-Dizf4Xxc.js → utils-CdFoDO35.js} +5 -5
- package/dist/{utils-BAgsI56z.js → utils-CxRFiy4f.js} +2 -2
- package/dist/{validate-cXmMxcOs.js → validate-BI6H2MPp.js} +1 -1
- package/dist/{validate-B2bZh_uL.js → validate-DkjeS-zE.js} +4 -4
- package/dist/{validateExtractionResult-Bk2WRbLs.js → validateExtractionResult-BV-Fvf48.js} +12 -232
- package/package.json +1 -1
|
@@ -1,20 +1,20 @@
|
|
|
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] = "db03fc14-f28e-4343-9d30-df64c6d27982", e._sentryDebugIdIdentifier = "sentry-dbid-db03fc14-f28e-4343-9d30-df64c6d27982");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { a as Icon, i as Typography, n as addResourceBundles, o as createLogger, r as useTranslation, s as initReactI18next } from "./translation-
|
|
6
|
-
import { n as IconButton, r as Loader, t as Button } from "./Button-
|
|
7
|
-
import { a as setSdkTokenHandler, i as refreshSession, n as httpGet, o as ApiProvider, r as httpPost, s as useApiContext } from "./http-
|
|
8
|
-
import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-
|
|
5
|
+
import { a as Icon, i as Typography, n as addResourceBundles, o as createLogger, r as useTranslation, s as initReactI18next } from "./translation-BYvhW5zA.js";
|
|
6
|
+
import { n as IconButton, r as Loader, t as Button } from "./Button-i8I2dHP8.js";
|
|
7
|
+
import { a as setSdkTokenHandler, i as refreshSession, n as httpGet, o as ApiProvider, r as httpPost, s as useApiContext } from "./http-8qgzqVqk.js";
|
|
8
|
+
import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-CtlUQv_J.js";
|
|
9
9
|
import { t as LegalEntityTypes } from "./legal-entity-type-0MfCGzUf.js";
|
|
10
10
|
import { t as getLegalEntityCountry } from "./getLegalEntityCountry-BHh7Ux8v.js";
|
|
11
11
|
import { n as SettingsContext, t as useSettingsContext } from "./useSettingsContext-Bpf4UqRT.js";
|
|
12
12
|
import { a as noop, c as entriesOf, l as keysOf, n as cloneObject, t as AnalyticsContext, u as valuesOf } from "./AnalyticsContext-BFrJmsp0.js";
|
|
13
13
|
import { t as StackLayout } from "./StackLayout-IUdNMDgW.js";
|
|
14
|
-
import { t as TaskVerificationStatus } from "./TaskVerificationStatus-
|
|
14
|
+
import { t as TaskVerificationStatus } from "./TaskVerificationStatus-CKHPTEpH.js";
|
|
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
|
-
import { n as Skeleton, t as Accordion } from "./Accordion-
|
|
17
|
+
import { n as Skeleton, t as Accordion } from "./Accordion-IXKjwyLD.js";
|
|
18
18
|
import { C as EntityTypes, n as getCapabilityProblems, t as getCapabilities, w as CUSTOMER_SUPPORT_DATA_MISSING_ERROR_CODES } from "./processCapabilities-fPuXc9gL.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";
|
|
@@ -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.16.0-beta.
|
|
399
|
+
const sdkVersion = "4.16.0-beta.2";
|
|
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.16.0-beta.
|
|
494
|
+
sdkVersion: "4.16.0-beta.2",
|
|
495
495
|
componentName,
|
|
496
496
|
userAgent: navigator.userAgent,
|
|
497
497
|
legalEntityId: rootLegalEntityId,
|
|
@@ -1764,7 +1764,7 @@ var AllowedCountryGate = ({ children }) => {
|
|
|
1764
1764
|
};
|
|
1765
1765
|
//#endregion
|
|
1766
1766
|
//#region src/components/Shared/devex/DebugListener/DebugListener.tsx
|
|
1767
|
-
var DebugModal = lazy(async () => (await import("./DebugModal-
|
|
1767
|
+
var DebugModal = lazy(async () => (await import("./DebugModal-DMPcPJ6X.js")).DebugModal);
|
|
1768
1768
|
/**
|
|
1769
1769
|
* Adds a listener on the page to open the debug modal when the
|
|
1770
1770
|
* debug modal key combination is pressed to open it
|
|
@@ -2465,7 +2465,7 @@ var EmbedShell = ({ children, rootLegalEntityId, settings, features, refreshExpe
|
|
|
2465
2465
|
children: [/* @__PURE__ */ jsx(LanguageSwitcher, { locale }), /* @__PURE__ */ jsxs(StoreProvider, { children: [/* @__PURE__ */ jsx("span", {
|
|
2466
2466
|
id: "sdk-version",
|
|
2467
2467
|
hidden: true,
|
|
2468
|
-
children: "4.16.0-beta.
|
|
2468
|
+
children: "4.16.0-beta.2"
|
|
2469
2469
|
}), /* @__PURE__ */ jsx(AnalyticsProvider, {
|
|
2470
2470
|
componentName,
|
|
2471
2471
|
locale,
|
|
@@ -4,7 +4,7 @@ try {
|
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { t as DecisionMakerTypes } from "./decision-maker-type-NR4GFAeT.js";
|
|
6
6
|
import { n as TrustMemberGuidanceLabels, r as TrustMemberTypes } from "./trustMemberGuidance-CgdU2v0j.js";
|
|
7
|
-
import { t as UnincorporatedPartnershipMemberTypes } from "./unincorporated-partnership-
|
|
7
|
+
import { t as UnincorporatedPartnershipMemberTypes } from "./unincorporated-partnership-nnTW3FnG.js";
|
|
8
8
|
//#region src/utils/roleMetadata.ts
|
|
9
9
|
var roleMetadata = {
|
|
10
10
|
[DecisionMakerTypes.CONTROLLING_PERSON]: {
|
package/dist/style.css
CHANGED
|
@@ -4039,80 +4039,6 @@ dialog[open]._modal-transition-drop-in_kkggh_91 {
|
|
|
4039
4039
|
transform: translateX(4px);
|
|
4040
4040
|
}
|
|
4041
4041
|
}
|
|
4042
|
-
._conflict-row-table_y7ii4_1 td {
|
|
4043
|
-
padding: var(--adyen-internal-spacer-060);
|
|
4044
|
-
height: var(--adyen-internal-spacer-050);
|
|
4045
|
-
border-top: var(--adyen-internal-border-width-s) solid
|
|
4046
|
-
var(--adyen-internal-color-separator-primary);
|
|
4047
|
-
}
|
|
4048
|
-
._conflict-row-table_y7ii4_1 td:first-child {
|
|
4049
|
-
padding-right: var(--adyen-internal-spacer-100);
|
|
4050
|
-
text-wrap: nowrap;
|
|
4051
|
-
}
|
|
4052
|
-
|
|
4053
|
-
._conflict-row-list_y7ii4_12 {
|
|
4054
|
-
display: flex;
|
|
4055
|
-
flex-direction: row;
|
|
4056
|
-
border-top: var(--adyen-internal-border-width-s) solid
|
|
4057
|
-
var(--adyen-internal-color-separator-primary);
|
|
4058
|
-
padding: var(--adyen-internal-spacer-060);
|
|
4059
|
-
}
|
|
4060
|
-
._conflict-row-list_y7ii4_12 dt {
|
|
4061
|
-
min-width: var(--adyen-internal-spacer-140);
|
|
4062
|
-
}
|
|
4063
|
-
|
|
4064
|
-
._conflict-row-list_y7ii4_12 dd {
|
|
4065
|
-
display: flex;
|
|
4066
|
-
flex-direction: column;
|
|
4067
|
-
gap: var(--adyen-internal-spacer-060);
|
|
4068
|
-
}
|
|
4069
|
-
|
|
4070
|
-
._conflict-row-list-option-label_y7ii4_29 {
|
|
4071
|
-
padding-left: var(--adyen-internal-spacer-090);
|
|
4072
|
-
}
|
|
4073
|
-
._data-conflicts-wrapper_1jdw0_1 {
|
|
4074
|
-
display: flex;
|
|
4075
|
-
flex-direction: column;
|
|
4076
|
-
gap: var(--adyen-internal-spacer-100);
|
|
4077
|
-
}
|
|
4078
|
-
|
|
4079
|
-
._data-conflicts-header_1jdw0_7 {
|
|
4080
|
-
display: flex;
|
|
4081
|
-
gap: var(--adyen-internal-spacer-040);
|
|
4082
|
-
flex-direction: column;
|
|
4083
|
-
align-items: center;
|
|
4084
|
-
text-align: center;
|
|
4085
|
-
}
|
|
4086
|
-
|
|
4087
|
-
._data-conflicts-table_1jdw0_15 {
|
|
4088
|
-
display: none;
|
|
4089
|
-
border-collapse: collapse;
|
|
4090
|
-
}
|
|
4091
|
-
|
|
4092
|
-
._data-conflicts-table_1jdw0_15 th {
|
|
4093
|
-
padding: var(--adyen-internal-spacer-060) var(--adyen-internal-spacer-060)
|
|
4094
|
-
var(--adyen-internal-spacer-060) 36px; /* perfectly aligns with the radio label below */
|
|
4095
|
-
text-align: left;
|
|
4096
|
-
}
|
|
4097
|
-
|
|
4098
|
-
/* only show table on large viewports */
|
|
4099
|
-
@media (min-width: 480px) {
|
|
4100
|
-
._data-conflicts-table_1jdw0_15 {
|
|
4101
|
-
display: table;
|
|
4102
|
-
}
|
|
4103
|
-
}
|
|
4104
|
-
|
|
4105
|
-
._data-conflicts-list_1jdw0_33 {
|
|
4106
|
-
display: flex;
|
|
4107
|
-
flex-direction: column;
|
|
4108
|
-
}
|
|
4109
|
-
|
|
4110
|
-
/* don't show list on large viewports */
|
|
4111
|
-
@media (min-width: 480px) {
|
|
4112
|
-
._data-conflicts-list_1jdw0_33 {
|
|
4113
|
-
display: none;
|
|
4114
|
-
}
|
|
4115
|
-
}
|
|
4116
4042
|
._verification-header-image_1vivf_1 svg {
|
|
4117
4043
|
max-width: 180px;
|
|
4118
4044
|
}
|
|
@@ -4338,6 +4264,90 @@ dialog[open]._modal-transition-drop-in_kkggh_91 {
|
|
|
4338
4264
|
border: none;
|
|
4339
4265
|
}
|
|
4340
4266
|
}
|
|
4267
|
+
._conflict-row-table_y7ii4_1 td {
|
|
4268
|
+
padding: var(--adyen-internal-spacer-060);
|
|
4269
|
+
height: var(--adyen-internal-spacer-050);
|
|
4270
|
+
border-top: var(--adyen-internal-border-width-s) solid
|
|
4271
|
+
var(--adyen-internal-color-separator-primary);
|
|
4272
|
+
}
|
|
4273
|
+
._conflict-row-table_y7ii4_1 td:first-child {
|
|
4274
|
+
padding-right: var(--adyen-internal-spacer-100);
|
|
4275
|
+
text-wrap: nowrap;
|
|
4276
|
+
}
|
|
4277
|
+
|
|
4278
|
+
._conflict-row-list_y7ii4_12 {
|
|
4279
|
+
display: flex;
|
|
4280
|
+
flex-direction: row;
|
|
4281
|
+
border-top: var(--adyen-internal-border-width-s) solid
|
|
4282
|
+
var(--adyen-internal-color-separator-primary);
|
|
4283
|
+
padding: var(--adyen-internal-spacer-060);
|
|
4284
|
+
}
|
|
4285
|
+
._conflict-row-list_y7ii4_12 dt {
|
|
4286
|
+
min-width: var(--adyen-internal-spacer-140);
|
|
4287
|
+
}
|
|
4288
|
+
|
|
4289
|
+
._conflict-row-list_y7ii4_12 dd {
|
|
4290
|
+
display: flex;
|
|
4291
|
+
flex-direction: column;
|
|
4292
|
+
gap: var(--adyen-internal-spacer-060);
|
|
4293
|
+
}
|
|
4294
|
+
|
|
4295
|
+
._conflict-row-list-option-label_y7ii4_29 {
|
|
4296
|
+
padding-left: var(--adyen-internal-spacer-090);
|
|
4297
|
+
}
|
|
4298
|
+
._data-conflicts-wrapper_c81aq_1 {
|
|
4299
|
+
display: flex;
|
|
4300
|
+
flex-direction: column;
|
|
4301
|
+
gap: var(--adyen-internal-spacer-100);
|
|
4302
|
+
}
|
|
4303
|
+
|
|
4304
|
+
._data-conflicts-header_c81aq_7 {
|
|
4305
|
+
display: flex;
|
|
4306
|
+
gap: var(--adyen-internal-spacer-040);
|
|
4307
|
+
flex-direction: column;
|
|
4308
|
+
align-items: center;
|
|
4309
|
+
text-align: center;
|
|
4310
|
+
}
|
|
4311
|
+
|
|
4312
|
+
._data-conflicts-table_c81aq_15 {
|
|
4313
|
+
display: none;
|
|
4314
|
+
border-collapse: collapse;
|
|
4315
|
+
}
|
|
4316
|
+
|
|
4317
|
+
._data-conflicts-table_c81aq_15 th {
|
|
4318
|
+
padding: var(--adyen-internal-spacer-060) var(--adyen-internal-spacer-060)
|
|
4319
|
+
var(--adyen-internal-spacer-060) 36px; /* perfectly aligns with the radio label below */
|
|
4320
|
+
text-align: left;
|
|
4321
|
+
}
|
|
4322
|
+
|
|
4323
|
+
._data-conflicts-list_c81aq_26 {
|
|
4324
|
+
display: flex;
|
|
4325
|
+
flex-direction: column;
|
|
4326
|
+
}
|
|
4327
|
+
|
|
4328
|
+
/*
|
|
4329
|
+
On large viewports, table is default unless `listOnly` mode is used.
|
|
4330
|
+
In `listOnly` mode the modifier classes flip: the list stays visible
|
|
4331
|
+
and the table is hidden. The modifiers are ordered after their base rules
|
|
4332
|
+
so they win at equal specificity.
|
|
4333
|
+
*/
|
|
4334
|
+
@media (min-width: 480px) {
|
|
4335
|
+
._data-conflicts-table_c81aq_15 {
|
|
4336
|
+
display: table;
|
|
4337
|
+
}
|
|
4338
|
+
|
|
4339
|
+
._data-conflicts-list_c81aq_26 {
|
|
4340
|
+
display: none;
|
|
4341
|
+
}
|
|
4342
|
+
|
|
4343
|
+
._data-conflicts-list-forced_c81aq_46 {
|
|
4344
|
+
display: flex;
|
|
4345
|
+
}
|
|
4346
|
+
|
|
4347
|
+
._data-conflicts-table-hidden_c81aq_50 {
|
|
4348
|
+
display: none;
|
|
4349
|
+
}
|
|
4350
|
+
}
|
|
4341
4351
|
.adyen-kyc-document-guidance {
|
|
4342
4352
|
overflow: auto;
|
|
4343
4353
|
container-type: inline-size;
|
package/dist/styles-DYaAeu4q.js
CHANGED
|
@@ -4043,80 +4043,6 @@ dialog[open]._modal-transition-drop-in_kkggh_91 {
|
|
|
4043
4043
|
transform: translateX(4px);
|
|
4044
4044
|
}
|
|
4045
4045
|
}
|
|
4046
|
-
._conflict-row-table_y7ii4_1 td {
|
|
4047
|
-
padding: var(--adyen-internal-spacer-060);
|
|
4048
|
-
height: var(--adyen-internal-spacer-050);
|
|
4049
|
-
border-top: var(--adyen-internal-border-width-s) solid
|
|
4050
|
-
var(--adyen-internal-color-separator-primary);
|
|
4051
|
-
}
|
|
4052
|
-
._conflict-row-table_y7ii4_1 td:first-child {
|
|
4053
|
-
padding-right: var(--adyen-internal-spacer-100);
|
|
4054
|
-
text-wrap: nowrap;
|
|
4055
|
-
}
|
|
4056
|
-
|
|
4057
|
-
._conflict-row-list_y7ii4_12 {
|
|
4058
|
-
display: flex;
|
|
4059
|
-
flex-direction: row;
|
|
4060
|
-
border-top: var(--adyen-internal-border-width-s) solid
|
|
4061
|
-
var(--adyen-internal-color-separator-primary);
|
|
4062
|
-
padding: var(--adyen-internal-spacer-060);
|
|
4063
|
-
}
|
|
4064
|
-
._conflict-row-list_y7ii4_12 dt {
|
|
4065
|
-
min-width: var(--adyen-internal-spacer-140);
|
|
4066
|
-
}
|
|
4067
|
-
|
|
4068
|
-
._conflict-row-list_y7ii4_12 dd {
|
|
4069
|
-
display: flex;
|
|
4070
|
-
flex-direction: column;
|
|
4071
|
-
gap: var(--adyen-internal-spacer-060);
|
|
4072
|
-
}
|
|
4073
|
-
|
|
4074
|
-
._conflict-row-list-option-label_y7ii4_29 {
|
|
4075
|
-
padding-left: var(--adyen-internal-spacer-090);
|
|
4076
|
-
}
|
|
4077
|
-
._data-conflicts-wrapper_1jdw0_1 {
|
|
4078
|
-
display: flex;
|
|
4079
|
-
flex-direction: column;
|
|
4080
|
-
gap: var(--adyen-internal-spacer-100);
|
|
4081
|
-
}
|
|
4082
|
-
|
|
4083
|
-
._data-conflicts-header_1jdw0_7 {
|
|
4084
|
-
display: flex;
|
|
4085
|
-
gap: var(--adyen-internal-spacer-040);
|
|
4086
|
-
flex-direction: column;
|
|
4087
|
-
align-items: center;
|
|
4088
|
-
text-align: center;
|
|
4089
|
-
}
|
|
4090
|
-
|
|
4091
|
-
._data-conflicts-table_1jdw0_15 {
|
|
4092
|
-
display: none;
|
|
4093
|
-
border-collapse: collapse;
|
|
4094
|
-
}
|
|
4095
|
-
|
|
4096
|
-
._data-conflicts-table_1jdw0_15 th {
|
|
4097
|
-
padding: var(--adyen-internal-spacer-060) var(--adyen-internal-spacer-060)
|
|
4098
|
-
var(--adyen-internal-spacer-060) 36px; /* perfectly aligns with the radio label below */
|
|
4099
|
-
text-align: left;
|
|
4100
|
-
}
|
|
4101
|
-
|
|
4102
|
-
/* only show table on large viewports */
|
|
4103
|
-
@media (min-width: 480px) {
|
|
4104
|
-
._data-conflicts-table_1jdw0_15 {
|
|
4105
|
-
display: table;
|
|
4106
|
-
}
|
|
4107
|
-
}
|
|
4108
|
-
|
|
4109
|
-
._data-conflicts-list_1jdw0_33 {
|
|
4110
|
-
display: flex;
|
|
4111
|
-
flex-direction: column;
|
|
4112
|
-
}
|
|
4113
|
-
|
|
4114
|
-
/* don't show list on large viewports */
|
|
4115
|
-
@media (min-width: 480px) {
|
|
4116
|
-
._data-conflicts-list_1jdw0_33 {
|
|
4117
|
-
display: none;
|
|
4118
|
-
}
|
|
4119
|
-
}
|
|
4120
4046
|
._verification-header-image_1vivf_1 svg {
|
|
4121
4047
|
max-width: 180px;
|
|
4122
4048
|
}
|
|
@@ -4342,6 +4268,90 @@ dialog[open]._modal-transition-drop-in_kkggh_91 {
|
|
|
4342
4268
|
border: none;
|
|
4343
4269
|
}
|
|
4344
4270
|
}
|
|
4271
|
+
._conflict-row-table_y7ii4_1 td {
|
|
4272
|
+
padding: var(--adyen-internal-spacer-060);
|
|
4273
|
+
height: var(--adyen-internal-spacer-050);
|
|
4274
|
+
border-top: var(--adyen-internal-border-width-s) solid
|
|
4275
|
+
var(--adyen-internal-color-separator-primary);
|
|
4276
|
+
}
|
|
4277
|
+
._conflict-row-table_y7ii4_1 td:first-child {
|
|
4278
|
+
padding-right: var(--adyen-internal-spacer-100);
|
|
4279
|
+
text-wrap: nowrap;
|
|
4280
|
+
}
|
|
4281
|
+
|
|
4282
|
+
._conflict-row-list_y7ii4_12 {
|
|
4283
|
+
display: flex;
|
|
4284
|
+
flex-direction: row;
|
|
4285
|
+
border-top: var(--adyen-internal-border-width-s) solid
|
|
4286
|
+
var(--adyen-internal-color-separator-primary);
|
|
4287
|
+
padding: var(--adyen-internal-spacer-060);
|
|
4288
|
+
}
|
|
4289
|
+
._conflict-row-list_y7ii4_12 dt {
|
|
4290
|
+
min-width: var(--adyen-internal-spacer-140);
|
|
4291
|
+
}
|
|
4292
|
+
|
|
4293
|
+
._conflict-row-list_y7ii4_12 dd {
|
|
4294
|
+
display: flex;
|
|
4295
|
+
flex-direction: column;
|
|
4296
|
+
gap: var(--adyen-internal-spacer-060);
|
|
4297
|
+
}
|
|
4298
|
+
|
|
4299
|
+
._conflict-row-list-option-label_y7ii4_29 {
|
|
4300
|
+
padding-left: var(--adyen-internal-spacer-090);
|
|
4301
|
+
}
|
|
4302
|
+
._data-conflicts-wrapper_c81aq_1 {
|
|
4303
|
+
display: flex;
|
|
4304
|
+
flex-direction: column;
|
|
4305
|
+
gap: var(--adyen-internal-spacer-100);
|
|
4306
|
+
}
|
|
4307
|
+
|
|
4308
|
+
._data-conflicts-header_c81aq_7 {
|
|
4309
|
+
display: flex;
|
|
4310
|
+
gap: var(--adyen-internal-spacer-040);
|
|
4311
|
+
flex-direction: column;
|
|
4312
|
+
align-items: center;
|
|
4313
|
+
text-align: center;
|
|
4314
|
+
}
|
|
4315
|
+
|
|
4316
|
+
._data-conflicts-table_c81aq_15 {
|
|
4317
|
+
display: none;
|
|
4318
|
+
border-collapse: collapse;
|
|
4319
|
+
}
|
|
4320
|
+
|
|
4321
|
+
._data-conflicts-table_c81aq_15 th {
|
|
4322
|
+
padding: var(--adyen-internal-spacer-060) var(--adyen-internal-spacer-060)
|
|
4323
|
+
var(--adyen-internal-spacer-060) 36px; /* perfectly aligns with the radio label below */
|
|
4324
|
+
text-align: left;
|
|
4325
|
+
}
|
|
4326
|
+
|
|
4327
|
+
._data-conflicts-list_c81aq_26 {
|
|
4328
|
+
display: flex;
|
|
4329
|
+
flex-direction: column;
|
|
4330
|
+
}
|
|
4331
|
+
|
|
4332
|
+
/*
|
|
4333
|
+
On large viewports, table is default unless \`listOnly\` mode is used.
|
|
4334
|
+
In \`listOnly\` mode the modifier classes flip: the list stays visible
|
|
4335
|
+
and the table is hidden. The modifiers are ordered after their base rules
|
|
4336
|
+
so they win at equal specificity.
|
|
4337
|
+
*/
|
|
4338
|
+
@media (min-width: 480px) {
|
|
4339
|
+
._data-conflicts-table_c81aq_15 {
|
|
4340
|
+
display: table;
|
|
4341
|
+
}
|
|
4342
|
+
|
|
4343
|
+
._data-conflicts-list_c81aq_26 {
|
|
4344
|
+
display: none;
|
|
4345
|
+
}
|
|
4346
|
+
|
|
4347
|
+
._data-conflicts-list-forced_c81aq_46 {
|
|
4348
|
+
display: flex;
|
|
4349
|
+
}
|
|
4350
|
+
|
|
4351
|
+
._data-conflicts-table-hidden_c81aq_50 {
|
|
4352
|
+
display: none;
|
|
4353
|
+
}
|
|
4354
|
+
}
|
|
4345
4355
|
.adyen-kyc-document-guidance {
|
|
4346
4356
|
overflow: auto;
|
|
4347
4357
|
container-type: inline-size;
|
|
@@ -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] = "a82820cb-3f61-4cfe-88fe-5e0bfb838517", e._sentryDebugIdIdentifier = "sentry-dbid-a82820cb-3f61-4cfe-88fe-5e0bfb838517");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { Children, Fragment, Suspense, cloneElement, createContext, createElement, isValidElement, lazy, useCallback, useContext, useEffect, useRef, useState } from "preact/compat";
|
|
6
6
|
import cx from "classnames";
|
|
@@ -3,7 +3,9 @@ import type { TinVerificationRequest, TinVerificationResponse } from '../tinVeri
|
|
|
3
3
|
import type { CountryCode } from '../../types/datasets/country-code';
|
|
4
4
|
export type CompanySelectionRequest = CompanyDatasetRequest & TinVerificationRequest & {
|
|
5
5
|
country: CountryCode;
|
|
6
|
+
registrationNumber: string;
|
|
6
7
|
};
|
|
7
8
|
export type CompanySelectionResponse = CompanyDatasetResponse & {
|
|
8
9
|
tinMatched?: TinVerificationResponse['matched'];
|
|
10
|
+
registrationNumberMatched?: boolean;
|
|
9
11
|
};
|
|
@@ -16,8 +16,9 @@ interface UseNextClickOverridesParams {
|
|
|
16
16
|
isTinMatched: Signal<boolean | undefined>;
|
|
17
17
|
tinMismatchModalOpen: Signal<boolean>;
|
|
18
18
|
legalArrangementModalOpen: Signal<boolean>;
|
|
19
|
+
registrationNumberMismatchModalOpen: Signal<boolean>;
|
|
19
20
|
}
|
|
20
|
-
export declare function useCompanySearchNextClickOverrides({ country, multiForm, companySearchStateModel, getRequiredForms, skipBusinessSelection, setLoadingStatus, isTinMatched, tinMismatchModalOpen, legalArrangementModalOpen, }: UseNextClickOverridesParams): {
|
|
21
|
+
export declare function useCompanySearchNextClickOverrides({ country, multiForm, companySearchStateModel, getRequiredForms, skipBusinessSelection, setLoadingStatus, isTinMatched, tinMismatchModalOpen, legalArrangementModalOpen, registrationNumberMismatchModalOpen, }: UseNextClickOverridesParams): {
|
|
21
22
|
attemptBusinessSearch: () => Promise<FormModelWithValidity[] | null>;
|
|
22
23
|
confirmBusinessSelection: () => Promise<FormModelWithValidity[] | null>;
|
|
23
24
|
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Signal } from '@preact/signals';
|
|
2
|
+
import type { CompanySearchState } from '../tasks/BusinessDetailsDropin/businessDetailsStore';
|
|
3
|
+
interface RegistrationNumberMismatchModalProps {
|
|
4
|
+
companySearchStateModel: CompanySearchState;
|
|
5
|
+
registrationNumberMismatchModalOpen: Signal<boolean>;
|
|
6
|
+
confirmDataSelection: (resolved: {
|
|
7
|
+
registrationNumber?: string | undefined;
|
|
8
|
+
}) => void;
|
|
9
|
+
}
|
|
10
|
+
export declare function RegistrationNumberMismatchModal({ companySearchStateModel, registrationNumberMismatchModalOpen, confirmDataSelection, }: RegistrationNumberMismatchModalProps): import("preact/jsx-runtime").JSX.Element;
|
|
11
|
+
export {};
|
package/dist/types/components/Business/tasks/BusinessDetailsDropin/businessDetailsStore.d.ts
CHANGED
|
@@ -2,19 +2,19 @@ import type { ReadonlySignal, Signal } from '@preact/signals';
|
|
|
2
2
|
import type { CompanySelectionResponse } from '../../../../api/companySelection/companySelection.types';
|
|
3
3
|
import type { UserEvents } from '../../../../core/user-events';
|
|
4
4
|
import type { Form } from '../../../../hooks/useMultiForm/types';
|
|
5
|
-
import type
|
|
5
|
+
import { type CountryCode } from '../../../../types/datasets/country-code';
|
|
6
6
|
import type { BusinessDetailsSchema } from '../../forms/BusinessDetails/types';
|
|
7
7
|
type DisallowedSelectionReasons = 'LEGAL_ARRANGEMENT';
|
|
8
8
|
export interface CompanySearchState {
|
|
9
9
|
companySearchName: Signal<string | undefined>;
|
|
10
10
|
selectedCompany: ReadonlySignal<CompanySelectionResponse | undefined>;
|
|
11
11
|
verifiedBusiness: ReadonlySignal<CompanySelectionResponse | undefined>;
|
|
12
|
-
|
|
12
|
+
verificationMatched: ReadonlySignal<boolean | undefined>;
|
|
13
13
|
disallowedSelectionReason: ReadonlySignal<DisallowedSelectionReasons | undefined>;
|
|
14
14
|
resetCompanySearchData: () => void;
|
|
15
15
|
disallowSelection: (reason: DisallowedSelectionReasons) => void;
|
|
16
|
-
|
|
17
|
-
selectCompany: (data: CompanySelectionResponse, idx: number) => void;
|
|
16
|
+
setVerificationMatched: (value: boolean) => void;
|
|
17
|
+
selectCompany: (data: CompanySelectionResponse, idx: number, country: CountryCode) => void;
|
|
18
18
|
confirmCompany: (multiform: Form<BusinessDetailsSchema>, country: CountryCode) => void;
|
|
19
19
|
}
|
|
20
20
|
export declare const CompanySearchStateModel: import("@preact/signals").ModelConstructor<CompanySearchState, [UserEvents]>;
|
package/dist/types/components/{Individual/forms → Shared}/DataConflictsModal/DataConflictsModal.d.ts
RENAMED
|
@@ -1,13 +1,32 @@
|
|
|
1
|
-
import type { NsTranslationKey } from '
|
|
1
|
+
import type { NsTranslationKey } from '../../../../types';
|
|
2
2
|
export interface DataConflictsModalProps<Data extends Partial<Record<Property, unknown>>, Property extends NsTranslationKey<'common'>> {
|
|
3
3
|
providedData: Data;
|
|
4
4
|
detectedData: Data;
|
|
5
5
|
conflictingProperties: Property[];
|
|
6
6
|
formatters: Partial<Record<Property, (val: any) => string>>;
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
/**
|
|
8
|
+
* Optional per-property row headings. Provide `common` translation keys to override the
|
|
9
|
+
* default label derived from the property key (e.g. a country-specific field label).
|
|
10
|
+
*/
|
|
11
|
+
labels?: Partial<Record<Property, NsTranslationKey<'common'>>>;
|
|
12
|
+
title: string;
|
|
13
|
+
explanation: string;
|
|
9
14
|
onContinue: (resolved: Data) => void;
|
|
10
15
|
onCancel: () => void;
|
|
16
|
+
/**
|
|
17
|
+
* Optional confirmation shown when the user tries to close the modal. Provide
|
|
18
|
+
* already-translated strings. If omitted, closing the modal calls `onCancel` directly.
|
|
19
|
+
*/
|
|
20
|
+
cancelConfirmation?: {
|
|
21
|
+
title: string;
|
|
22
|
+
confirmText: string;
|
|
23
|
+
description: string;
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* When true, the list layout is shown at all viewports and the table is hidden.
|
|
27
|
+
* When false (default), the layout is responsive: table on large viewports, list on small.
|
|
28
|
+
*/
|
|
29
|
+
listOnly?: boolean;
|
|
11
30
|
}
|
|
12
31
|
/**
|
|
13
32
|
* A modal component for resolving data conflicts between two data sources.
|
|
@@ -21,4 +40,4 @@ export interface DataConflictsModalProps<Data extends Partial<Record<Property, u
|
|
|
21
40
|
* @template Data The shape of the data objects being compared.
|
|
22
41
|
* @template Property A union of keys from the `Data` object, constrained to `NsTranslationKey<'common'>`.
|
|
23
42
|
*/
|
|
24
|
-
export declare const DataConflictsModal: <Data extends Partial<Record<Property, unknown>>, Property extends NsTranslationKey<"common">>({ providedData, detectedData, conflictingProperties, formatters, title, explanation, onContinue, onCancel, }: DataConflictsModalProps<Data, Property>) => import("preact/jsx-runtime").JSX.Element;
|
|
43
|
+
export declare const DataConflictsModal: <Data extends Partial<Record<Property, unknown>>, Property extends NsTranslationKey<"common">>({ providedData, detectedData, conflictingProperties, formatters, title, explanation, onContinue, labels, onCancel, cancelConfirmation, listOnly, }: DataConflictsModalProps<Data, Property>) => import("preact/jsx-runtime").JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { LegalEntityIdentifierFieldProps, LegalEntityIdentifierFieldSchema } from './types';
|
|
2
2
|
export declare const LEGAL_ENTITY_IDENTIFIER_FIELD: Array<keyof LegalEntityIdentifierFieldSchema>;
|
|
3
|
-
export declare function LegalEntityIdentifierField({ data, valid, errors, handleChangeFor, canExempt, }: LegalEntityIdentifierFieldProps): import("preact/jsx-runtime").JSX.Element;
|
|
3
|
+
export declare function LegalEntityIdentifierField({ data, valid, errors, handleChangeFor, shouldValidate, canExempt, }: LegalEntityIdentifierFieldProps): import("preact/jsx-runtime").JSX.Element;
|
|
@@ -3,6 +3,6 @@ export interface LegalEntityIdentifierFieldSchema {
|
|
|
3
3
|
legalEntityIdentifier?: string;
|
|
4
4
|
exemptedFromLegalEntityIdentifier?: boolean;
|
|
5
5
|
}
|
|
6
|
-
export type LegalEntityIdentifierFieldProps = Pick<BaseFormFieldProps<LegalEntityIdentifierFieldSchema>, 'data' | 'valid' | 'errors' | 'handleChangeFor'> & {
|
|
6
|
+
export type LegalEntityIdentifierFieldProps = Pick<BaseFormFieldProps<LegalEntityIdentifierFieldSchema>, 'data' | 'valid' | 'errors' | 'handleChangeFor' | 'shouldValidate'> & {
|
|
7
7
|
canExempt?: boolean;
|
|
8
8
|
};
|
|
@@ -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] = "d2d47af7-94b3-424a-9c86-924de5d9182e", e._sentryDebugIdIdentifier = "sentry-dbid-d2d47af7-94b3-424a-9c86-924de5d9182e");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
|
|
6
6
|
import { t as Currencies } from "./currency-DQwXq9Mc.js";
|
package/dist/{unincorporated-partnership-BstfjTh2.js → unincorporated-partnership-nnTW3FnG.js}
RENAMED
|
@@ -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] = "e68886cc-6a4a-470d-b58c-1e2f2b621086", e._sentryDebugIdIdentifier = "sentry-dbid-e68886cc-6a4a-470d-b58c-1e2f2b621086");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { r as Loader } from "./Button-
|
|
5
|
+
import { r as Loader } from "./Button-i8I2dHP8.js";
|
|
6
6
|
import { Suspense } from "preact/compat";
|
|
7
7
|
import { jsx } from "preact/jsx-runtime";
|
|
8
8
|
//#region src/components/ui/atoms/Image/Image.tsx
|
|
@@ -2,8 +2,8 @@ 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] = "319937ec-89ed-4685-91c1-d8bd3c585e9d", e._sentryDebugIdIdentifier = "sentry-dbid-319937ec-89ed-4685-91c1-d8bd3c585e9d");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { o as createLogger } from "./translation-
|
|
6
|
-
import { r as useLegalEntity } from "./useLegalEntity-
|
|
5
|
+
import { o as createLogger } from "./translation-BYvhW5zA.js";
|
|
6
|
+
import { r as useLegalEntity } from "./useLegalEntity-CtlUQv_J.js";
|
|
7
7
|
import { useMemo } from "preact/hooks";
|
|
8
8
|
import { skipToken } from "@tanstack/preact-query";
|
|
9
9
|
//#region src/hooks/useAssociatedLegalEntity.ts
|