@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
|
@@ -0,0 +1,236 @@
|
|
|
1
|
+
try {
|
|
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] = "bd570808-319b-4e67-9e8a-386dc7e456b7", e._sentryDebugIdIdentifier = "sentry-dbid-bd570808-319b-4e67-9e8a-386dc7e456b7");
|
|
4
|
+
} catch (e) {}
|
|
5
|
+
import { i as Typography, r as useTranslation } from "./translation-BYvhW5zA.js";
|
|
6
|
+
import { P as listToRecord, x as Alert } from "./resolveEnvironment-C-S9dXKd.js";
|
|
7
|
+
import { t as Button } from "./Button-i8I2dHP8.js";
|
|
8
|
+
import { l as keysOf } from "./AnalyticsContext-BFrJmsp0.js";
|
|
9
|
+
import { t as Modal } from "./Modal-BLP2aF-u.js";
|
|
10
|
+
import { t as Confirm } from "./Confirm-CA-gL38n.js";
|
|
11
|
+
import { n as RadioWithLabel } from "./RadioGroup-qV8mGGwm.js";
|
|
12
|
+
import { t as isEmpty } from "./isEmpty-BVlBH98t.js";
|
|
13
|
+
import { useCallback, useEffect, useMemo, useState } from "preact/hooks";
|
|
14
|
+
import cx from "classnames";
|
|
15
|
+
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
16
|
+
var ConflictRow_module_default = {
|
|
17
|
+
"conflict-row-table": "_conflict-row-table_y7ii4_1",
|
|
18
|
+
conflictRowTable: "_conflict-row-table_y7ii4_1",
|
|
19
|
+
"conflict-row-list": "_conflict-row-list_y7ii4_12",
|
|
20
|
+
conflictRowList: "_conflict-row-list_y7ii4_12",
|
|
21
|
+
"conflict-row-list-option-label": "_conflict-row-list-option-label_y7ii4_29",
|
|
22
|
+
conflictRowListOptionLabel: "_conflict-row-list-option-label_y7ii4_29"
|
|
23
|
+
};
|
|
24
|
+
//#endregion
|
|
25
|
+
//#region src/components/Shared/DataConflictsModal/ConflictRow.tsx
|
|
26
|
+
var ConflictRow = ({ provided, detected, label, formatter = (val) => val, selected, onSelect, showAs }) => {
|
|
27
|
+
const { t } = useTranslation("common");
|
|
28
|
+
const hasOnlyProvided = !isEmpty(provided) && isEmpty(detected);
|
|
29
|
+
const hasOnlyDetected = isEmpty(provided) && !isEmpty(detected);
|
|
30
|
+
useEffect(() => {
|
|
31
|
+
if (selected !== void 0) return;
|
|
32
|
+
if (hasOnlyProvided) onSelect("provided");
|
|
33
|
+
else if (hasOnlyDetected) onSelect("detected");
|
|
34
|
+
}, [
|
|
35
|
+
hasOnlyProvided,
|
|
36
|
+
hasOnlyDetected,
|
|
37
|
+
onSelect,
|
|
38
|
+
selected
|
|
39
|
+
]);
|
|
40
|
+
if (hasOnlyProvided || hasOnlyDetected) return;
|
|
41
|
+
return showAs === "listItem" ? /* @__PURE__ */ jsxs("div", {
|
|
42
|
+
className: ConflictRow_module_default.conflictRowList,
|
|
43
|
+
children: [/* @__PURE__ */ jsx("dt", { children: /* @__PURE__ */ jsx(Typography, {
|
|
44
|
+
variant: "caption",
|
|
45
|
+
children: t(($) => $[label])
|
|
46
|
+
}) }), /* @__PURE__ */ jsxs("dd", { children: [/* @__PURE__ */ jsxs("div", { children: [/* @__PURE__ */ jsx(Typography, {
|
|
47
|
+
variant: "caption",
|
|
48
|
+
color: "tertiary",
|
|
49
|
+
className: ConflictRow_module_default.conflictRowListOptionLabel,
|
|
50
|
+
children: t(($) => $["youEntered"])
|
|
51
|
+
}), /* @__PURE__ */ jsx(RadioWithLabel, {
|
|
52
|
+
label: formatter(provided),
|
|
53
|
+
value: "provided",
|
|
54
|
+
checked: selected === "provided",
|
|
55
|
+
onClick: () => onSelect("provided")
|
|
56
|
+
})] }), /* @__PURE__ */ jsxs("div", { children: [/* @__PURE__ */ jsx(Typography, {
|
|
57
|
+
variant: "caption",
|
|
58
|
+
color: "tertiary",
|
|
59
|
+
className: ConflictRow_module_default.conflictRowListOptionLabel,
|
|
60
|
+
children: t(($) => $["weDetected"])
|
|
61
|
+
}), /* @__PURE__ */ jsx(RadioWithLabel, {
|
|
62
|
+
label: formatter(detected),
|
|
63
|
+
value: "detected",
|
|
64
|
+
checked: selected === "detected",
|
|
65
|
+
onClick: () => onSelect("detected")
|
|
66
|
+
})] })] })]
|
|
67
|
+
}) : /* @__PURE__ */ jsxs("tr", {
|
|
68
|
+
className: ConflictRow_module_default.conflictRowTable,
|
|
69
|
+
children: [
|
|
70
|
+
/* @__PURE__ */ jsx("td", { children: /* @__PURE__ */ jsx(Typography, {
|
|
71
|
+
variant: "caption",
|
|
72
|
+
children: t(($) => $[label])
|
|
73
|
+
}) }),
|
|
74
|
+
/* @__PURE__ */ jsx("td", { children: /* @__PURE__ */ jsx(RadioWithLabel, {
|
|
75
|
+
label: formatter(provided),
|
|
76
|
+
value: "provided",
|
|
77
|
+
checked: selected === "provided",
|
|
78
|
+
onClick: () => onSelect("provided")
|
|
79
|
+
}) }),
|
|
80
|
+
/* @__PURE__ */ jsx("td", { children: /* @__PURE__ */ jsx(RadioWithLabel, {
|
|
81
|
+
label: formatter(detected),
|
|
82
|
+
value: "detected",
|
|
83
|
+
checked: selected === "detected",
|
|
84
|
+
onClick: () => onSelect("detected")
|
|
85
|
+
}) })
|
|
86
|
+
]
|
|
87
|
+
});
|
|
88
|
+
};
|
|
89
|
+
var DataConflictsModal_module_default = {
|
|
90
|
+
"data-conflicts-wrapper": "_data-conflicts-wrapper_c81aq_1",
|
|
91
|
+
dataConflictsWrapper: "_data-conflicts-wrapper_c81aq_1",
|
|
92
|
+
"data-conflicts-header": "_data-conflicts-header_c81aq_7",
|
|
93
|
+
dataConflictsHeader: "_data-conflicts-header_c81aq_7",
|
|
94
|
+
"data-conflicts-table": "_data-conflicts-table_c81aq_15",
|
|
95
|
+
dataConflictsTable: "_data-conflicts-table_c81aq_15",
|
|
96
|
+
"data-conflicts-list": "_data-conflicts-list_c81aq_26",
|
|
97
|
+
dataConflictsList: "_data-conflicts-list_c81aq_26",
|
|
98
|
+
"data-conflicts-list-forced": "_data-conflicts-list-forced_c81aq_46",
|
|
99
|
+
dataConflictsListForced: "_data-conflicts-list-forced_c81aq_46",
|
|
100
|
+
"data-conflicts-table-hidden": "_data-conflicts-table-hidden_c81aq_50",
|
|
101
|
+
dataConflictsTableHidden: "_data-conflicts-table-hidden_c81aq_50"
|
|
102
|
+
};
|
|
103
|
+
//#endregion
|
|
104
|
+
//#region src/components/Shared/DataConflictsModal/DataConflictsModal.tsx
|
|
105
|
+
/**
|
|
106
|
+
* A modal component for resolving data conflicts between two data sources.
|
|
107
|
+
*
|
|
108
|
+
* This component is typically used in a KYC (Know Your Customer) flow where user-provided data
|
|
109
|
+
* is compared against data extracted from a document (e.g., via OCR).
|
|
110
|
+
*
|
|
111
|
+
* It identifies differing fields, presents them to the user, and allows them to select the
|
|
112
|
+
* correct version for each field before proceeding.
|
|
113
|
+
*
|
|
114
|
+
* @template Data The shape of the data objects being compared.
|
|
115
|
+
* @template Property A union of keys from the `Data` object, constrained to `NsTranslationKey<'common'>`.
|
|
116
|
+
*/
|
|
117
|
+
var DataConflictsModal = ({ providedData, detectedData, conflictingProperties, formatters, title, explanation, onContinue, labels, onCancel, cancelConfirmation, listOnly = false }) => {
|
|
118
|
+
const { t: commonT } = useTranslation("common");
|
|
119
|
+
const [showCancelModal, setShowCancelModal] = useState(false);
|
|
120
|
+
const [showError, setShowError] = useState(false);
|
|
121
|
+
/**
|
|
122
|
+
* A record object that maps each conflicting property key to its `provided` and `detected` values.
|
|
123
|
+
* This is memoized for performance, as it's derived from `conflictingProperties` and only needs
|
|
124
|
+
* to be recalculated if the list of conflicts changes.
|
|
125
|
+
*
|
|
126
|
+
* @example
|
|
127
|
+
* // returns: { firstName: { provided: 'Jon', detected: 'John' } }
|
|
128
|
+
*/
|
|
129
|
+
const conflictItems = useMemo(() => listToRecord(conflictingProperties, (property) => ({
|
|
130
|
+
provided: providedData[property],
|
|
131
|
+
detected: detectedData[property]
|
|
132
|
+
})), [
|
|
133
|
+
conflictingProperties,
|
|
134
|
+
providedData,
|
|
135
|
+
detectedData
|
|
136
|
+
]);
|
|
137
|
+
const [resolutions, setResolutions] = useState(() => listToRecord(conflictingProperties, () => void 0));
|
|
138
|
+
const resolveProperty = useCallback((property, selected) => {
|
|
139
|
+
setShowError(false);
|
|
140
|
+
setResolutions((prev) => ({
|
|
141
|
+
...prev,
|
|
142
|
+
[property]: selected
|
|
143
|
+
}));
|
|
144
|
+
}, []);
|
|
145
|
+
return /* @__PURE__ */ jsxs(Modal, {
|
|
146
|
+
ariaLabel: title,
|
|
147
|
+
onClose: () => cancelConfirmation ? setShowCancelModal(true) : onCancel(),
|
|
148
|
+
inset: true,
|
|
149
|
+
children: [/* @__PURE__ */ jsxs("div", {
|
|
150
|
+
className: DataConflictsModal_module_default.dataConflictsWrapper,
|
|
151
|
+
children: [
|
|
152
|
+
/* @__PURE__ */ jsxs("div", {
|
|
153
|
+
className: DataConflictsModal_module_default.dataConflictsHeader,
|
|
154
|
+
children: [/* @__PURE__ */ jsx(Typography, {
|
|
155
|
+
variant: "title-l",
|
|
156
|
+
el: "h1",
|
|
157
|
+
children: title
|
|
158
|
+
}), /* @__PURE__ */ jsx(Typography, {
|
|
159
|
+
variant: "body",
|
|
160
|
+
children: explanation
|
|
161
|
+
})]
|
|
162
|
+
}),
|
|
163
|
+
showError ? /* @__PURE__ */ jsx(Alert, {
|
|
164
|
+
variant: "error",
|
|
165
|
+
title: commonT(($) => $["chooseTheCorrectDetailsBeforeProceeding"])
|
|
166
|
+
}) : void 0,
|
|
167
|
+
/* @__PURE__ */ jsx("dl", {
|
|
168
|
+
className: cx(DataConflictsModal_module_default.dataConflictsList, { [DataConflictsModal_module_default.dataConflictsListForced]: listOnly }),
|
|
169
|
+
children: keysOf(conflictItems).map((property) => /* @__PURE__ */ jsx(ConflictRow, {
|
|
170
|
+
showAs: "listItem",
|
|
171
|
+
label: labels?.[property] ?? property,
|
|
172
|
+
formatter: formatters[property],
|
|
173
|
+
provided: conflictItems[property].provided,
|
|
174
|
+
detected: conflictItems[property].detected,
|
|
175
|
+
selected: resolutions[property],
|
|
176
|
+
onSelect: (selected) => resolveProperty(property, selected)
|
|
177
|
+
}, property))
|
|
178
|
+
}),
|
|
179
|
+
/* @__PURE__ */ jsxs("table", {
|
|
180
|
+
className: cx(DataConflictsModal_module_default.dataConflictsTable, { [DataConflictsModal_module_default.dataConflictsTableHidden]: listOnly }),
|
|
181
|
+
children: [/* @__PURE__ */ jsx("thead", { children: /* @__PURE__ */ jsxs("tr", { children: [
|
|
182
|
+
/* @__PURE__ */ jsx("th", {}),
|
|
183
|
+
/* @__PURE__ */ jsx("th", { children: /* @__PURE__ */ jsx(Typography, {
|
|
184
|
+
variant: "caption",
|
|
185
|
+
color: "tertiary",
|
|
186
|
+
children: commonT(($) => $["youEntered"])
|
|
187
|
+
}) }),
|
|
188
|
+
/* @__PURE__ */ jsx("th", { children: /* @__PURE__ */ jsx(Typography, {
|
|
189
|
+
variant: "caption",
|
|
190
|
+
color: "tertiary",
|
|
191
|
+
children: commonT(($) => $["weDetected"])
|
|
192
|
+
}) })
|
|
193
|
+
] }) }), /* @__PURE__ */ jsx("tbody", { children: keysOf(conflictItems).map((property) => /* @__PURE__ */ jsx(ConflictRow, {
|
|
194
|
+
showAs: "tableRow",
|
|
195
|
+
label: labels?.[property] ?? property,
|
|
196
|
+
formatter: formatters[property],
|
|
197
|
+
provided: conflictItems[property].provided,
|
|
198
|
+
detected: conflictItems[property].detected,
|
|
199
|
+
selected: resolutions[property],
|
|
200
|
+
onSelect: (selected) => resolveProperty(property, selected)
|
|
201
|
+
}, property)) })]
|
|
202
|
+
}),
|
|
203
|
+
/* @__PURE__ */ jsx(Button, {
|
|
204
|
+
fullWidth: true,
|
|
205
|
+
onClick: () => {
|
|
206
|
+
if (!conflictingProperties.every((p) => resolutions[p])) {
|
|
207
|
+
setShowError(true);
|
|
208
|
+
return;
|
|
209
|
+
}
|
|
210
|
+
/**
|
|
211
|
+
* 2. Build an object containing only the user's selections for the conflicting properties.
|
|
212
|
+
* This intermediate object will only contain the keys that had a mismatch.
|
|
213
|
+
*/
|
|
214
|
+
const resolvedConflicts = listToRecord(conflictingProperties, (property) => {
|
|
215
|
+
return resolutions[property] === "provided" ? providedData[property] : detectedData[property];
|
|
216
|
+
});
|
|
217
|
+
onContinue({
|
|
218
|
+
...providedData,
|
|
219
|
+
...resolvedConflicts
|
|
220
|
+
});
|
|
221
|
+
},
|
|
222
|
+
children: commonT(($) => $["confirmSelection"])
|
|
223
|
+
})
|
|
224
|
+
]
|
|
225
|
+
}), cancelConfirmation && showCancelModal && /* @__PURE__ */ jsx(Confirm, {
|
|
226
|
+
title: cancelConfirmation.title,
|
|
227
|
+
confirmText: cancelConfirmation.confirmText,
|
|
228
|
+
description: cancelConfirmation.description,
|
|
229
|
+
onConfirm: onCancel,
|
|
230
|
+
onCancel: () => setShowCancelModal(false),
|
|
231
|
+
critical: false
|
|
232
|
+
})]
|
|
233
|
+
});
|
|
234
|
+
};
|
|
235
|
+
//#endregion
|
|
236
|
+
export { DataConflictsModal as t };
|
|
@@ -1,19 +1,19 @@
|
|
|
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] = "bdc3e31a-113c-4183-94c1-5ea32c44ee51", e._sentryDebugIdIdentifier = "sentry-dbid-bdc3e31a-113c-4183-94c1-5ea32c44ee51");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { a as Icon, o as createLogger, r as useTranslation } from "./translation-
|
|
6
|
-
import { M as ExperimentNames, N as FeatureNames, P as listToRecord, i as useGlobalStore, j as useToggleContext, l as splitTaskIdentifier } from "./resolveEnvironment-
|
|
7
|
-
import { t as Button } from "./Button-
|
|
5
|
+
import { a as Icon, o as createLogger, r as useTranslation } from "./translation-BYvhW5zA.js";
|
|
6
|
+
import { M as ExperimentNames, N as FeatureNames, P as listToRecord, i as useGlobalStore, j as useToggleContext, l as splitTaskIdentifier } from "./resolveEnvironment-C-S9dXKd.js";
|
|
7
|
+
import { t as Button } from "./Button-i8I2dHP8.js";
|
|
8
8
|
import { t as useSettingsContext } from "./useSettingsContext-Bpf4UqRT.js";
|
|
9
9
|
import { c as entriesOf, u as valuesOf } from "./AnalyticsContext-BFrJmsp0.js";
|
|
10
|
-
import { t as TaskVerificationStatus } from "./TaskVerificationStatus-
|
|
11
|
-
import { t as Accordion } from "./Accordion-
|
|
12
|
-
import { t as Modal } from "./Modal-
|
|
10
|
+
import { t as TaskVerificationStatus } from "./TaskVerificationStatus-CKHPTEpH.js";
|
|
11
|
+
import { t as Accordion } from "./Accordion-IXKjwyLD.js";
|
|
12
|
+
import { t as Modal } from "./Modal-BLP2aF-u.js";
|
|
13
13
|
import { t as SettingNames } from "./types-Cwq1JAWT.js";
|
|
14
14
|
import { t as formDebugInfo } from "./debugStore-Dwn1FXrh.js";
|
|
15
|
-
import { t as Checkbox } from "./Checkbox-
|
|
16
|
-
import { t as InputText } from "./InputText-
|
|
15
|
+
import { t as Checkbox } from "./Checkbox-D7BRIoQL.js";
|
|
16
|
+
import { t as InputText } from "./InputText-B0N7am-q.js";
|
|
17
17
|
import { t as Tag } from "./Tag-CNeDHqKp.js";
|
|
18
18
|
import { useMemo, useState } from "preact/hooks";
|
|
19
19
|
import { Fragment, jsx, jsxs } from "preact/jsx-runtime";
|
|
@@ -346,7 +346,7 @@ var DebugModal = ({ onExit }) => {
|
|
|
346
346
|
const rootLegalEntity = useGlobalStore().rootLegalEntity.value;
|
|
347
347
|
const formDebugAvailable = Object.keys(formDebugInfo.value).length > 0;
|
|
348
348
|
const metadata = {
|
|
349
|
-
sdkVersion: "4.16.0-beta.
|
|
349
|
+
sdkVersion: "4.16.0-beta.2",
|
|
350
350
|
locale: i18n.language,
|
|
351
351
|
rootLegalEntityId: rootLegalEntity.id
|
|
352
352
|
};
|
|
@@ -1,32 +1,32 @@
|
|
|
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] = "36528c2a-d11d-4fd8-aec5-54c855fecedd", e._sentryDebugIdIdentifier = "sentry-dbid-36528c2a-d11d-4fd8-aec5-54c855fecedd");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { i as Typography, o as createLogger, r as useTranslation } from "./translation-
|
|
6
|
-
import { T as datasetUtilities, j as useToggleContext, x as Alert } from "./resolveEnvironment-
|
|
7
|
-
import { r as Loader, t as Button } from "./Button-
|
|
8
|
-
import { n as httpGet, r as httpPost, s as useApiContext } from "./http-
|
|
9
|
-
import { r as useLegalEntity } from "./useLegalEntity-
|
|
5
|
+
import { i as Typography, o as createLogger, r as useTranslation } from "./translation-BYvhW5zA.js";
|
|
6
|
+
import { T as datasetUtilities, j as useToggleContext, x as Alert } from "./resolveEnvironment-C-S9dXKd.js";
|
|
7
|
+
import { r as Loader, t as Button } from "./Button-i8I2dHP8.js";
|
|
8
|
+
import { n as httpGet, r as httpPost, s as useApiContext } from "./http-8qgzqVqk.js";
|
|
9
|
+
import { r as useLegalEntity } from "./useLegalEntity-CtlUQv_J.js";
|
|
10
10
|
import { t as LegalEntityTypes } from "./legal-entity-type-0MfCGzUf.js";
|
|
11
11
|
import { t as getLegalEntityCountry } from "./getLegalEntityCountry-BHh7Ux8v.js";
|
|
12
12
|
import { a as noop, c as entriesOf, i as drop, n as cloneObject } 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 } from "./taskStatus-BtekPA8E.js";
|
|
16
16
|
import { t as TaskTypes } from "./taskTypes-NawDTp5n.js";
|
|
17
17
|
import { t as DecisionMakerTypes } from "./decision-maker-type-NR4GFAeT.js";
|
|
18
|
-
import { i as useAnalyticsContext, t as Modal } from "./Modal-
|
|
19
|
-
import { n as useToastContext } from "./invalidateRootLegalEntity-
|
|
18
|
+
import { i as useAnalyticsContext, t as Modal } from "./Modal-BLP2aF-u.js";
|
|
19
|
+
import { n as useToastContext } from "./invalidateRootLegalEntity-BHWIVP9j.js";
|
|
20
20
|
import { t as getIdNowMissingDataPoints } from "./bafinUtils-BKq-s1Ka.js";
|
|
21
|
-
import { t as Confirm } from "./Confirm-
|
|
22
|
-
import { t as useScenarios } from "./useScenarios-
|
|
23
|
-
import { i as GuidanceQuestionValues, o as shouldNavigateToAdditionalPersonalDetailsForMissingData, s as useCreateInvitation, t as mapLegalEntityToIndividualSchema } from "./mapLegalEntityToIndividualSchema-
|
|
21
|
+
import { t as Confirm } from "./Confirm-CA-gL38n.js";
|
|
22
|
+
import { t as useScenarios } from "./useScenarios-DciPyzQ-.js";
|
|
23
|
+
import { i as GuidanceQuestionValues, o as shouldNavigateToAdditionalPersonalDetailsForMissingData, s as useCreateInvitation, t as mapLegalEntityToIndividualSchema } from "./mapLegalEntityToIndividualSchema-7sVfeCn9.js";
|
|
24
24
|
import { t as List } from "./List-ywoRPg-q.js";
|
|
25
25
|
import { t as StructuredList } from "./StructuredList-CUyo9-3i.js";
|
|
26
26
|
import { i as mapAddressLabels } from "./utils-DNIZ6F6L.js";
|
|
27
|
-
import { t as localizeDateString } from "./localizeDateString-
|
|
27
|
+
import { t as localizeDateString } from "./localizeDateString-Bmx3yBcR.js";
|
|
28
28
|
import { t as DetailViewLayout } from "./DetailViewLayout-DNCGEd7b.js";
|
|
29
|
-
import { t as ListItem } from "./ListItem-
|
|
29
|
+
import { t as ListItem } from "./ListItem-V4x0raZw.js";
|
|
30
30
|
import { t as getTrustedDecisionMakers } from "./getTrustedDecisionMakers-DUpv5ug2.js";
|
|
31
31
|
import { useMemo, useState } from "preact/hooks";
|
|
32
32
|
import { Fragment, jsx, jsxs } from "preact/jsx-runtime";
|
|
@@ -1,21 +1,21 @@
|
|
|
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] = "d5df2513-4197-440c-924d-790712725984", e._sentryDebugIdIdentifier = "sentry-dbid-d5df2513-4197-440c-924d-790712725984");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { n as addResourceBundles, r as useTranslation } from "./translation-
|
|
6
|
-
import { A as _rolldown_dynamic_import_helper_default } from "./resolveEnvironment-
|
|
7
|
-
import { r as Loader } from "./Button-
|
|
8
|
-
import { r as useLegalEntity } from "./useLegalEntity-
|
|
5
|
+
import { n as addResourceBundles, r as useTranslation } from "./translation-BYvhW5zA.js";
|
|
6
|
+
import { A as _rolldown_dynamic_import_helper_default } from "./resolveEnvironment-C-S9dXKd.js";
|
|
7
|
+
import { r as Loader } from "./Button-i8I2dHP8.js";
|
|
8
|
+
import { r as useLegalEntity } 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 { a as noop } from "./AnalyticsContext-BFrJmsp0.js";
|
|
12
12
|
import { C as EntityTypes, c as individualBaseMapping } from "./processCapabilities-fPuXc9gL.js";
|
|
13
13
|
import { t as TaskTypes } from "./taskTypes-NawDTp5n.js";
|
|
14
14
|
import { n as isBafinSignatoryFlow, r as removeIdVerificationProblemsForBafinSignatory } from "./bafinUtils-BKq-s1Ka.js";
|
|
15
|
-
import { n as useCapabilityProblems, t as getProblemsForEntity } from "./getProblemsForEntity-
|
|
15
|
+
import { n as useCapabilityProblems, t as getProblemsForEntity } from "./getProblemsForEntity-D6XC4DZ2.js";
|
|
16
16
|
import { n as getTrustedFields, r as getTrustedFieldsProvider } from "./getTrustedFields-BJ88GlM-.js";
|
|
17
|
-
import { t as useScenarios } from "./useScenarios-
|
|
18
|
-
import { t as IndividualDropin } from "./IndividualDropin-
|
|
17
|
+
import { t as useScenarios } from "./useScenarios-DciPyzQ-.js";
|
|
18
|
+
import { t as IndividualDropin } from "./IndividualDropin-Cq8JMb4W.js";
|
|
19
19
|
import { t as getTrustedDecisionMakers } from "./getTrustedDecisionMakers-DUpv5ug2.js";
|
|
20
20
|
import { jsx } from "preact/jsx-runtime";
|
|
21
21
|
import { skipToken } from "@tanstack/preact-query";
|
|
@@ -1,30 +1,30 @@
|
|
|
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] = "3b4dd44a-62f4-4ac4-95a0-23367cea2c9b", e._sentryDebugIdIdentifier = "sentry-dbid-3b4dd44a-62f4-4ac4-95a0-23367cea2c9b");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { i as Typography, n as addResourceBundles, r as useTranslation } from "./translation-
|
|
6
|
-
import { A as _rolldown_dynamic_import_helper_default, j as useToggleContext, k as Header, r as useGetTaskStatus, x as Alert } from "./resolveEnvironment-
|
|
7
|
-
import { r as Loader, t as Button } from "./Button-
|
|
8
|
-
import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-
|
|
5
|
+
import { i as Typography, n as addResourceBundles, r as useTranslation } from "./translation-BYvhW5zA.js";
|
|
6
|
+
import { A as _rolldown_dynamic_import_helper_default, j as useToggleContext, k as Header, r as useGetTaskStatus, x as Alert } from "./resolveEnvironment-C-S9dXKd.js";
|
|
7
|
+
import { r as Loader, t as Button } from "./Button-i8I2dHP8.js";
|
|
8
|
+
import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-CtlUQv_J.js";
|
|
9
9
|
import { t as StackLayout } from "./StackLayout-IUdNMDgW.js";
|
|
10
|
-
import { t as TaskVerificationStatus } from "./TaskVerificationStatus-
|
|
10
|
+
import { t as TaskVerificationStatus } from "./TaskVerificationStatus-CKHPTEpH.js";
|
|
11
11
|
import { i as TaskStatuses } from "./taskStatus-BtekPA8E.js";
|
|
12
12
|
import { C as EntityTypes, T as DATA_MISSING_DECISION_MAKER_ERROR_CODE_MAPPING } from "./processCapabilities-fPuXc9gL.js";
|
|
13
13
|
import { t as TaskTypes } from "./taskTypes-NawDTp5n.js";
|
|
14
14
|
import { t as DecisionMakerTypes } from "./decision-maker-type-NR4GFAeT.js";
|
|
15
15
|
import { r as getOwnDecisionMakers } from "./decisionMakerRoles-DIG8zo1C.js";
|
|
16
|
-
import { i as useAnalyticsContext, t as Modal } from "./Modal-
|
|
17
|
-
import { n as useToastContext } from "./invalidateRootLegalEntity-
|
|
18
|
-
import { t as useDataMissingRemediations } from "./useDataMissingRemediations-
|
|
19
|
-
import { n as useCapabilityProblems } from "./getProblemsForEntity-
|
|
20
|
-
import { n as Image } from "./unincorporated-partnership-
|
|
21
|
-
import { a as individualFormDefaultData, i as GuidanceQuestionValues } from "./mapLegalEntityToIndividualSchema-
|
|
22
|
-
import { t as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
16
|
+
import { i as useAnalyticsContext, t as Modal } from "./Modal-BLP2aF-u.js";
|
|
17
|
+
import { n as useToastContext } from "./invalidateRootLegalEntity-BHWIVP9j.js";
|
|
18
|
+
import { t as useDataMissingRemediations } from "./useDataMissingRemediations-QYShC4SG.js";
|
|
19
|
+
import { n as useCapabilityProblems } from "./getProblemsForEntity-D6XC4DZ2.js";
|
|
20
|
+
import { n as Image } from "./unincorporated-partnership-nnTW3FnG.js";
|
|
21
|
+
import { a as individualFormDefaultData, i as GuidanceQuestionValues } from "./mapLegalEntityToIndividualSchema-7sVfeCn9.js";
|
|
22
|
+
import { t as useUpdateLegalEntity } from "./useUpdateLegalEntity-BCLhBhYD.js";
|
|
23
23
|
import { t as List } from "./List-ywoRPg-q.js";
|
|
24
|
-
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-
|
|
25
|
-
import { t as LandingLayout } from "./LandingLayout-
|
|
26
|
-
import { t as ListItem } from "./ListItem-
|
|
27
|
-
import { i as useInvitationStatuses, n as getDecisionMakerDescription, t as DecisionMakerDetails } from "./DecisionMakerDetails-
|
|
24
|
+
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-BXtOctC4.js";
|
|
25
|
+
import { t as LandingLayout } from "./LandingLayout-CUAkXrpL.js";
|
|
26
|
+
import { t as ListItem } from "./ListItem-V4x0raZw.js";
|
|
27
|
+
import { i as useInvitationStatuses, n as getDecisionMakerDescription, t as DecisionMakerDetails } from "./DecisionMakerDetails-Bv-piLuQ.js";
|
|
28
28
|
import { lazy } from "preact/compat";
|
|
29
29
|
import { useEffect as useEffect$1, useMemo as useMemo$1, useState as useState$1 } from "preact/hooks";
|
|
30
30
|
import { Fragment as Fragment$1, jsx, jsxs } from "preact/jsx-runtime";
|
|
@@ -2,12 +2,12 @@ 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] = "f78376be-ac94-4ef9-8023-22ee3cda2a54", e._sentryDebugIdIdentifier = "sentry-dbid-f78376be-ac94-4ef9-8023-22ee3cda2a54");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { a as Icon, i as Typography, r as useTranslation } from "./translation-
|
|
6
|
-
import { dt as StateContext } from "./resolveEnvironment-
|
|
7
|
-
import { t as Button } from "./Button-
|
|
8
|
-
import { i as useAnalyticsContext } from "./Modal-
|
|
9
|
-
import { i as bytesToSize, n as fileValidationRules, r as DropzoneFile, t as defaultFileValidationOptions } from "./validate-
|
|
10
|
-
import { t as useForm } from "./useForm-
|
|
5
|
+
import { a as Icon, i as Typography, r as useTranslation } from "./translation-BYvhW5zA.js";
|
|
6
|
+
import { dt as StateContext } from "./resolveEnvironment-C-S9dXKd.js";
|
|
7
|
+
import { t as Button } from "./Button-i8I2dHP8.js";
|
|
8
|
+
import { i as useAnalyticsContext } from "./Modal-BLP2aF-u.js";
|
|
9
|
+
import { i as bytesToSize, n as fileValidationRules, r as DropzoneFile, t as defaultFileValidationOptions } from "./validate-DkjeS-zE.js";
|
|
10
|
+
import { t as useForm } from "./useForm-BD_PX45C.js";
|
|
11
11
|
import { useEffect, useMemo, useRef, useState } from "preact/hooks";
|
|
12
12
|
import cx from "classnames";
|
|
13
13
|
import { Fragment, jsx, jsxs } from "preact/jsx-runtime";
|
|
@@ -1,11 +1,11 @@
|
|
|
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] = "62ad5900-787a-493a-89ab-e5c4c1039162", e._sentryDebugIdIdentifier = "sentry-dbid-62ad5900-787a-493a-89ab-e5c4c1039162");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { i as Typography, r as useTranslation } from "./translation-
|
|
5
|
+
import { i as Typography, r as useTranslation } from "./translation-BYvhW5zA.js";
|
|
6
6
|
import { i as TaskStatuses } from "./taskStatus-BtekPA8E.js";
|
|
7
|
-
import { n as Skeleton } from "./Accordion-
|
|
8
|
-
import { t as Avatar } from "./Avatar-
|
|
7
|
+
import { n as Skeleton } from "./Accordion-IXKjwyLD.js";
|
|
8
|
+
import { t as Avatar } from "./Avatar-CdBNstmD.js";
|
|
9
9
|
import { t as OnboardingStatuses } from "./view-verification-status-XSQs02td.js";
|
|
10
10
|
import { t as Tag } from "./Tag-CNeDHqKp.js";
|
|
11
11
|
import cx from "classnames";
|
|
@@ -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] = "f31c5872-48e2-4a94-9c89-cdbcb8c53aad", e._sentryDebugIdIdentifier = "sentry-dbid-f31c5872-48e2-4a94-9c89-cdbcb8c53aad");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { a as Icon } from "./translation-
|
|
6
|
-
import { r as Loader, t as Button } from "./Button-
|
|
5
|
+
import { a as Icon } from "./translation-BYvhW5zA.js";
|
|
6
|
+
import { r as Loader, t as Button } from "./Button-i8I2dHP8.js";
|
|
7
7
|
import cx from "classnames";
|
|
8
8
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
9
9
|
import { cloneElement, isValidElement } from "preact";
|
|
@@ -1,15 +1,15 @@
|
|
|
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] = "0cbf339c-78fd-4420-a6f3-db98e766e76e", e._sentryDebugIdIdentifier = "sentry-dbid-0cbf339c-78fd-4420-a6f3-db98e766e76e");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { r as useTranslation } from "./translation-
|
|
6
|
-
import { n as IconButton, t as Button } from "./Button-
|
|
7
|
-
import { t as TaskVerificationStatus } from "./TaskVerificationStatus-
|
|
5
|
+
import { r as useTranslation } from "./translation-BYvhW5zA.js";
|
|
6
|
+
import { n as IconButton, t as Button } from "./Button-i8I2dHP8.js";
|
|
7
|
+
import { t as TaskVerificationStatus } from "./TaskVerificationStatus-CKHPTEpH.js";
|
|
8
8
|
import { i as TaskStatuses } from "./taskStatus-BtekPA8E.js";
|
|
9
9
|
import { t as Card } from "./Card-BCGLpdw7.js";
|
|
10
|
-
import { t as VerificationErrorAlert } from "./VerificationErrorAlert-
|
|
11
|
-
import { t as Confirm } from "./Confirm-
|
|
12
|
-
import { n as getRoleTagVariant, t as getRoleName } from "./roleMetadata-
|
|
10
|
+
import { t as VerificationErrorAlert } from "./VerificationErrorAlert-CpG8oYic.js";
|
|
11
|
+
import { t as Confirm } from "./Confirm-CA-gL38n.js";
|
|
12
|
+
import { n as getRoleTagVariant, t as getRoleName } from "./roleMetadata-v10ns9iG.js";
|
|
13
13
|
import { t as Tag } from "./Tag-CNeDHqKp.js";
|
|
14
14
|
import { useCallback, useEffect, useRef, useState } from "preact/hooks";
|
|
15
15
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
@@ -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] = "1aa33835-1064-4607-ba2d-16ceaa66ab44", e._sentryDebugIdIdentifier = "sentry-dbid-1aa33835-1064-4607-ba2d-16ceaa66ab44");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { r as useTranslation } from "./translation-
|
|
6
|
-
import { x as Alert } from "./resolveEnvironment-
|
|
7
|
-
import { t as Button } from "./Button-
|
|
5
|
+
import { r as useTranslation } from "./translation-BYvhW5zA.js";
|
|
6
|
+
import { x as Alert } from "./resolveEnvironment-C-S9dXKd.js";
|
|
7
|
+
import { t as Button } from "./Button-i8I2dHP8.js";
|
|
8
8
|
import { l as keysOf } from "./AnalyticsContext-BFrJmsp0.js";
|
|
9
9
|
import { r as remediationHasFileUploadField } from "./processCapabilities-fPuXc9gL.js";
|
|
10
10
|
import { useCallback, useContext } from "preact/hooks";
|
|
@@ -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] = "658c052b-9c04-4a75-8f38-cf5c594752a0", e._sentryDebugIdIdentifier = "sentry-dbid-658c052b-9c04-4a75-8f38-cf5c594752a0");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { a as Icon, r as useTranslation } from "./translation-
|
|
6
|
-
import { i as useAnalyticsContext } from "./Modal-
|
|
7
|
-
import { n as translateTranslatable } from "./utils-
|
|
5
|
+
import { a as Icon, r as useTranslation } from "./translation-BYvhW5zA.js";
|
|
6
|
+
import { i as useAnalyticsContext } from "./Modal-BLP2aF-u.js";
|
|
7
|
+
import { n as translateTranslatable } from "./utils-C1buyvRw.js";
|
|
8
8
|
import { t as useId } from "./useId-BkDhUta2.js";
|
|
9
9
|
import { useEffect } from "preact/hooks";
|
|
10
10
|
import cx from "classnames";
|
|
@@ -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] = "16e348cb-459e-437a-9b42-5c4f9b297d50", e._sentryDebugIdIdentifier = "sentry-dbid-16e348cb-459e-437a-9b42-5c4f9b297d50");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { a as Icon, i as Typography, r as useTranslation } from "./translation-
|
|
6
|
-
import { i as useAnalyticsContext, r as KEYBOARD_KEYS } from "./Modal-
|
|
5
|
+
import { a as Icon, i as Typography, r as useTranslation } from "./translation-BYvhW5zA.js";
|
|
6
|
+
import { i as useAnalyticsContext, r as KEYBOARD_KEYS } from "./Modal-BLP2aF-u.js";
|
|
7
7
|
import { t as trackNavigation } from "./trackNavigation-DR70qR8T.js";
|
|
8
8
|
import cx from "classnames";
|
|
9
9
|
import { Fragment, jsx, jsxs } from "preact/jsx-runtime";
|