@adyen/kyc-components 3.64.7 → 3.65.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (130) hide show
  1. package/dist/{AccountSetupRejected-BY-Kfg6C.js → AccountSetupRejected-8Bcks_Pu.js} +2 -2
  2. package/dist/{CXEL7IU7-DWe37N_k.js → CXEL7IU7-EInZOSNY.js} +3 -3
  3. package/dist/{CustomerSupport-B6Z5Uwg0.js → CustomerSupport-BCIrCnC-.js} +3 -3
  4. package/dist/{DebugModal-BFUkUKc4.js → DebugModal-BTbmQWwe.js} +7 -7
  5. package/dist/{DecisionMakers-DFxbfJ_g.js → DecisionMakers-BJ5xphlP.js} +4 -4
  6. package/dist/{HASRA6WW-CDUOAJR8.js → HASRA6WW-C4T4T8Nn.js} +2 -2
  7. package/dist/{I3HPI4QX-BeUQHygB.js → I3HPI4QX-s_JOUk5d.js} +3 -3
  8. package/dist/{Introduction-D1420ArA.js → Introduction-DfZOVSDf.js} +2 -2
  9. package/dist/{Review-Cko9r5T0.js → Review-VgvMT5nK.js} +4 -4
  10. package/dist/{SingpassSelection-DBgJHkYK.js → SingpassSelection-hpY3DbKh.js} +2 -2
  11. package/dist/TaxReportingDropin-Dqfa6FM8.js +544 -0
  12. package/dist/adyen-kyc-components.js +1 -1
  13. package/dist/adyenConfig.js +1 -1
  14. package/dist/{bg-BG-NVSBt3tn.js → bg-BG-D5xgOsU2.js} +29 -2
  15. package/dist/{core-CZJjaZbA.js → core-D8ryGpa4.js} +37127 -37411
  16. package/dist/{cs-CZ-DqZaIl0x.js → cs-CZ-KVBXiNIz.js} +29 -2
  17. package/dist/{css-B7xW4JBR.js → css-CycUexVO.js} +2 -2
  18. package/dist/{da-DK-VDNZINuU.js → da-DK-7spShYAz.js} +29 -2
  19. package/dist/{de-DE-Cy2I9dDn.js → de-DE-yvRIvFcU.js} +29 -2
  20. package/dist/{el-GR-DHfRaR8Z.js → el-GR-YWCgriVb.js} +29 -2
  21. package/dist/{es-ES-DZVd96IC.js → es-ES-CNzD9GEq.js} +29 -2
  22. package/dist/{et-EE-B-NM8E_e.js → et-EE-DmUotb4z.js} +29 -2
  23. package/dist/{fi-FI-BbQD08sd.js → fi-FI-TAzpPLK7.js} +29 -2
  24. package/dist/{fr-FR-B0hRAlYr.js → fr-FR-CIuKbRED.js} +29 -2
  25. package/dist/{hr-HR-DISs60-D.js → hr-HR-DVgHQ1c2.js} +29 -2
  26. package/dist/{hu-HU-FdXtQL6g.js → hu-HU-BbcxqNs1.js} +29 -2
  27. package/dist/{it-IT-DLVitGZp.js → it-IT-B1f9TSeu.js} +29 -2
  28. package/dist/{json-DSNxkG4k.js → json-BNxOWY2H.js} +2 -2
  29. package/dist/{lt-LT-CCJXOhvW.js → lt-LT-BrIeKggd.js} +29 -2
  30. package/dist/{lv-LV-BQmI9-a3.js → lv-LV-Bac-1cF2.js} +29 -2
  31. package/dist/{nl-NL-Bt7RXn3A.js → nl-NL-Ix5Iync5.js} +29 -2
  32. package/dist/{no-NO-Cca9eM0q.js → no-NO-DNXvLJWB.js} +29 -2
  33. package/dist/{pl-PL-CVIz0kbw.js → pl-PL-B8kXLpAH.js} +29 -2
  34. package/dist/{plaintext-DUYAf_KK.js → plaintext-DOua1PdK.js} +2 -2
  35. package/dist/{pt-PT-DXBtMcCw.js → pt-PT-CVrVM34j.js} +29 -2
  36. package/dist/{ro-RO-B6yMY4Un.js → ro-RO-Bkrwakp1.js} +29 -2
  37. package/dist/{sk-SK-CU-2vF-f.js → sk-SK-D2fhxlzK.js} +29 -2
  38. package/dist/{sl-SI-iSZmm9e_.js → sl-SI-BxHUDGRq.js} +29 -2
  39. package/dist/style.css +2838 -2873
  40. package/dist/{sv-SE-Bpawpljv.js → sv-SE-Dj8Q_gMm.js} +29 -2
  41. package/dist/types/api/documents/useCreateDocument.d.ts +5 -0
  42. package/dist/types/api/documents/useDeleteDocument.d.ts +5 -0
  43. package/dist/types/api/documents/useGetDocument.d.ts +5 -0
  44. package/dist/types/api/documents/useUpdateDocument.d.ts +11 -0
  45. package/dist/types/api/entityVerifications/useVerifyIdNumber.d.ts +3 -3
  46. package/dist/types/api/legalEntity/useLegalEntity.d.ts +4 -5
  47. package/dist/types/api/providersConfiguration/useProviderStatus.d.ts +14 -0
  48. package/dist/types/api/termsOfService/useAcceptedTermsOfService.d.ts +2 -2
  49. package/dist/types/api/termsOfService/useTermsOfService.d.ts +1 -0
  50. package/dist/types/api/transferInstruments/useCreateTransferInstrument.d.ts +2 -0
  51. package/dist/types/api/transferInstruments/useDeleteTransferInstrument.d.ts +4 -0
  52. package/dist/types/api/transferInstruments/useGetTransferInstrument.d.ts +12 -0
  53. package/dist/types/api/transferInstruments/{useTransferInstruments.d.ts → useGetTransferInstruments.d.ts} +5 -1
  54. package/dist/types/components/BankAccount/forms/PayoutDetails/types.d.ts +1 -1
  55. package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/PayoutDetailsDropin.d.ts +1 -1
  56. package/dist/types/components/Business/forms/rules.d.ts +1 -0
  57. package/dist/types/components/Business/tasks/BusinessDetailsDropin/BusinessDetailsDropin.d.ts +1 -1
  58. package/dist/types/components/Business/tasks/BusinessDetailsDropin/types.d.ts +2 -2
  59. package/dist/types/components/Business/utils/companyUtil.d.ts +4 -0
  60. package/dist/types/components/Contract/tasks/ServiceAgreementDropin/ServiceAgreementDropin.d.ts +1 -1
  61. package/dist/types/components/Contract/tasks/ServiceAgreementDropin/types.d.ts +1 -3
  62. package/dist/types/components/EFP/tasks/SourceOfFundsDropin/SourceOfFundsDropin.d.ts +1 -1
  63. package/dist/types/components/EFP/tasks/SourceOfFundsDropin/SourceOfFundsUploader/SourceOfFundsUpload.d.ts +1 -2
  64. package/dist/types/components/EFP/tasks/SourceOfFundsDropin/types.d.ts +2 -6
  65. package/dist/types/components/EFP/tasks/TaxReportingDropin/types.d.ts +2 -7
  66. package/dist/types/components/EmbeddedDropins/CreateIndividualComponent/CreateIndividualComponent.d.ts +3 -10
  67. package/dist/types/components/EmbeddedDropins/ManageTransferInstrumentComponent/ManageTransferInstrumentOverview/ManageTransferInstrumentOverview.d.ts +1 -1
  68. package/dist/types/components/EmbeddedDropins/ManageTransferInstrumentComponent/ManageTransferInstrumentOverviewItem/ManageTransferInstrumentOverviewItem.d.ts +2 -4
  69. package/dist/types/components/EmbeddedDropins/ManageTransferInstrumentComponent/ManageTransferInstrumentOverviewItemModal/ManageTransferInstrumentOverviewItemModal.d.ts +1 -1
  70. package/dist/types/components/EmbeddedDropins/OnboardingDropinComponent/DropinComposer/types.d.ts +2 -16
  71. package/dist/types/components/Individual/forms/Individual/IdDocumentUpload/types.d.ts +1 -1
  72. package/dist/types/components/Individual/forms/Individual/PersonalDetails/types.d.ts +2 -1
  73. package/dist/types/components/Individual/forms/Individual/PersonalDetails/validate.d.ts +3 -2
  74. package/dist/types/components/Individual/forms/Individual/rules.d.ts +2 -1
  75. package/dist/types/components/Individual/forms/Individual/types.d.ts +2 -2
  76. package/dist/types/components/Individual/forms/IndividualOnfido/AdditionalPersonalDetails/AdditionalPersonalDetails.types.d.ts +2 -1
  77. package/dist/types/components/Individual/forms/IndividualOnfido/AdditionalPersonalDetails/validate.d.ts +3 -2
  78. package/dist/types/components/Individual/forms/IndividualOnfido/IndividualOnfido.rules.d.ts +2 -1
  79. package/dist/types/components/Individual/forms/IndividualOnfido/IndividualOnfido.types.d.ts +1 -1
  80. package/dist/types/components/Individual/tasks/IndividualDropin/IndividualDropin.d.ts +1 -1
  81. package/dist/types/components/Individual/tasks/IndividualOnfidoDropin/IndividualOnfidoDropin.d.ts +1 -1
  82. package/dist/types/components/Shared/FormNavigation/FormNavigation.d.ts +1 -1
  83. package/dist/types/components/Shared/Summary/Summary.d.ts +2 -1
  84. package/dist/types/components/Shared/fields/IdFieldTypeSelector/TaxIdNumberTypeSelector.d.ts +1 -1
  85. package/dist/types/components/Shared/fields/IdFieldTypeSelector/countryIdNumberTypes.d.ts +18 -9
  86. package/dist/types/components/Shared/fields/IdFieldTypeSelector/getDefaultTaxIdNumberType.d.ts +31 -0
  87. package/dist/types/components/Shared/fields/IdFieldTypeSelector/inferTaxIdNumberType.d.ts +1 -1
  88. package/dist/types/components/Shared/fields/NumberOfEmployees/types.d.ts +1 -1
  89. package/dist/types/components/Shared/fields/TaxInformationField/fieldConfig.d.ts +2 -2
  90. package/dist/types/components/Shared/fields/TaxInformationField/types.d.ts +1 -1
  91. package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
  92. package/dist/types/components/Shared/forms/FinancialInformation/types.d.ts +1 -1
  93. package/dist/types/components/Shared/forms/FinancialInformation/validate.d.ts +1 -0
  94. package/dist/types/components/Trust/tasks/TrustDropin/TrustDropin.d.ts +1 -1
  95. package/dist/types/components/UnincorporatedPartnership/hooks/useUnincorporatedPartnershipNavigation.d.ts +1 -1
  96. package/dist/types/components/UnincorporatedPartnership/{UnincorporatedPartnershipMembers → tasks/UnincorporatedPartnershipMembers}/UnincorporatedPartnershipMembersOverview.d.ts +4 -4
  97. package/dist/types/components/UnincorporatedPartnership/{UnincorporatedPartnershipMembers → tasks/UnincorporatedPartnershipMembers}/types.d.ts +5 -5
  98. package/dist/types/components/UnincorporatedPartnership/{UnincorporatedPartnershipRoleAndType → tasks/UnincorporatedPartnershipRoleAndType}/UnincorporatedPartnershipRadioGroup.d.ts +1 -1
  99. package/dist/types/components/UnincorporatedPartnership/{UnincorporatedPartnershipRoleAndType → tasks/UnincorporatedPartnershipRoleAndType}/UnincorporatedPartnershipRoleAndType.d.ts +2 -2
  100. package/dist/types/components/UnincorporatedPartnership/utils/unincorporatedParnershipUtil.d.ts +2 -1
  101. package/dist/types/components/UnincorporatedPartnership/utils/unincorporatedPartnershipMembers.d.ts +1 -1
  102. package/dist/types/components/index.d.ts +1 -18
  103. package/dist/types/components/ui/molecules/Toast/Toast.d.ts +2 -2
  104. package/dist/types/components/ui/molecules/Toast/Toast.types.d.ts +8 -7
  105. package/dist/types/core/models/api/attachment.d.ts +4 -3
  106. package/dist/types/core/models/api/document.d.ts +4 -29
  107. package/dist/types/core/models/api/financialReport.d.ts +1 -1
  108. package/dist/types/core/models/api/get-scenarios.d.ts +2 -1
  109. package/dist/types/core/models/api/individual.d.ts +2 -0
  110. package/dist/types/core/models/errors/validation-error.d.ts +5 -7
  111. package/dist/types/core/models/form-rules.d.ts +2 -0
  112. package/dist/types/hooks/useComponentApi.d.ts +0 -9
  113. package/dist/types/stores/globalStore/determineTaskIdentifiers.d.ts +3 -1
  114. package/dist/types/stores/globalStore/globalStore.d.ts +3 -0
  115. package/dist/types/stores/globalStore/taskTypes.d.ts +0 -1
  116. package/dist/types/utils/api/documentUtils.d.ts +2 -2
  117. package/dist/types/utils/entityStatusUtil.d.ts +1 -1
  118. package/dist/types/utils/mapping/documentGuidanceMap.d.ts +1 -1
  119. package/dist/types/utils/roleMetadata.d.ts +1 -1
  120. package/dist/{yaml-ejLZ1p9z.js → yaml-DG6kdH_n.js} +2 -2
  121. package/package.json +3 -1
  122. package/dist/types/core/models/api/provider-status.d.ts +0 -12
  123. package/dist/types/core/services/componentApi/create-document.d.ts +0 -3
  124. package/dist/types/core/services/componentApi/create-transferInstrument.d.ts +0 -3
  125. package/dist/types/core/services/componentApi/delete-document.d.ts +0 -3
  126. package/dist/types/core/services/componentApi/get-accepted-service-agreement.d.ts +0 -3
  127. package/dist/types/core/services/componentApi/get-document.d.ts +0 -3
  128. package/dist/types/core/services/componentApi/get-provider-status.d.ts +0 -3
  129. package/dist/types/core/services/componentApi/get-service-agreement.d.ts +0 -3
  130. package/dist/types/core/services/componentApi/update-document.d.ts +0 -3
@@ -2,13 +2,13 @@
2
2
  {
3
3
  try {
4
4
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "cad104a3-6bb6-4661-8dc7-ac4b5c84e902", e._sentryDebugIdIdentifier = "sentry-dbid-cad104a3-6bb6-4661-8dc7-ac4b5c84e902");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "52649c3b-6229-4bd7-84cf-54e65f6d3ec4", e._sentryDebugIdIdentifier = "sentry-dbid-52649c3b-6229-4bd7-84cf-54e65f6d3ec4");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsxs, jsx } from "preact/jsx-runtime";
11
- import { b as useI18nContext, A as AlertIcon, h as FormHeader, D as DropinLayout } from "./core-CZJjaZbA.js";
11
+ import { u as useI18nContext, A as AlertIcon, w as FormHeader, D as DropinLayout } from "./core-D8ryGpa4.js";
12
12
  function AccountSetupRejected() {
13
13
  const { i18n } = useI18nContext();
14
14
  const content = /* @__PURE__ */ jsxs("div", { children: [
@@ -2,13 +2,13 @@
2
2
  {
3
3
  try {
4
4
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "8989d67e-da07-413b-b446-e6ca2cfa8d89", e._sentryDebugIdIdentifier = "sentry-dbid-8989d67e-da07-413b-b446-e6ca2cfa8d89");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "8b1fed5a-a12b-4c34-99a4-7c99a89f8215", e._sentryDebugIdIdentifier = "sentry-dbid-8b1fed5a-a12b-4c34-99a4-7c99a89f8215");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
- import { c as createLocalStorage, T as THEME_PREFERENCE, P as PiPProvider, a as ThemeContext, b as ParentPanel, C as ContentView, Q as QueryDevtoolsContext } from "./HASRA6WW-CDUOAJR8.js";
11
- import { ac as getPreferredColorScheme, ad as createMemo, ae as createComponent } from "./core-CZJjaZbA.js";
10
+ import { c as createLocalStorage, T as THEME_PREFERENCE, P as PiPProvider, a as ThemeContext, b as ParentPanel, C as ContentView, Q as QueryDevtoolsContext } from "./HASRA6WW-C4T4T8Nn.js";
11
+ import { as as getPreferredColorScheme, at as createMemo, au as createComponent } from "./core-D8ryGpa4.js";
12
12
  var DevtoolsPanelComponent = (props) => {
13
13
  const [localStore, setLocalStore] = createLocalStorage({
14
14
  prefix: "TanstackQueryDevtools"
@@ -2,13 +2,13 @@
2
2
  {
3
3
  try {
4
4
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "0cc6d68f-785c-442d-b0ab-e2bfc03382cc", e._sentryDebugIdIdentifier = "sentry-dbid-0cc6d68f-785c-442d-b0ab-e2bfc03382cc");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "28fb368b-b687-4702-8b6b-c45c5924fbd4", e._sentryDebugIdIdentifier = "sentry-dbid-28fb368b-b687-4702-8b6b-c45c5924fbd4");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsxs, jsx } from "preact/jsx-runtime";
11
- import { b as useI18nContext, c as useAnalyticsContext, l as useToastContext, H as useConfigurationApi, i as useLegalEntity, n as useUpdateLegalEntity, m as useQueryClient, I as resolveFieldMetadata, J as contactDetailsValidationRules, K as defaultFieldMetadata, M as fieldConfig, N as getAsyncPhoneValidationRules, O as useMultiForm, h as FormHeader, P as ContactDetails, G as ActionBar, Q as createLogger } from "./core-CZJjaZbA.js";
11
+ import { u as useI18nContext, n as useAnalyticsContext, G as useToastContext, $ as useConfigurationApi, x as useLegalEntity, J as useUpdateLegalEntity, H as useQueryClient, a0 as resolveFieldMetadata, a1 as contactDetailsValidationRules, a2 as defaultFieldMetadata, a3 as fieldConfig, a4 as getAsyncPhoneValidationRules, a5 as useMultiForm, w as FormHeader, a6 as ContactDetails, _ as ActionBar, g as createLogger } from "./core-D8ryGpa4.js";
12
12
  import { useCallback, useMemo, useEffect } from "preact/hooks";
13
13
  const mapCustomerSupportSchemaToCustomerSupportType = (customerSupport) => {
14
14
  var _a, _b, _c;
@@ -98,7 +98,7 @@ function CustomerSupport({ country, onSubmit }) {
98
98
  } catch {
99
99
  const label = i18n.get("failedToUpdateDetails");
100
100
  logger.error(label, payload);
101
- showToast({ label, type: "error" });
101
+ showToast({ label, variant: "error" });
102
102
  }
103
103
  };
104
104
  const handleFieldChange = (fieldName, mode) => handleChangeFor(fieldName, "customerSupport", mode);
@@ -2,14 +2,14 @@
2
2
  {
3
3
  try {
4
4
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "0f0ab4c4-1f1c-4cec-aaa0-3a4e56a8b4c5", e._sentryDebugIdIdentifier = "sentry-dbid-0f0ab4c4-1f1c-4cec-aaa0-3a4e56a8b4c5");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "a2fa03f9-e358-4990-af96-2b8b2b67ad93", e._sentryDebugIdIdentifier = "sentry-dbid-a2fa03f9-e358-4990-af96-2b8b2b67ad93");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
11
11
  import { useMemo, useState } from "preact/hooks";
12
- import { B as Button, Z as Tag, _ as entriesOf, $ as InputText, b as useI18nContext, a0 as splitTaskIdentifier, a1 as TaskItemStatus, a2 as useExperimentsContext, a3 as useSettingsContext, a4 as useGlobalStore, a5 as listToRecord, a6 as valuesOf, a7 as useTaskStatuses, a8 as Modal, Q as createLogger, a9 as Icon, aa as SettingNames, ab as ExperimentNames } from "./core-CZJjaZbA.js";
12
+ import { B as Button, T as Tag, e as entriesOf, I as InputText, u as useI18nContext, s as splitTaskIdentifier, a as TaskItemStatus, b as useExperimentsContext, c as useSettingsContext, d as useGlobalStore, l as listToRecord, v as valuesOf, f as useTaskStatuses, M as Modal, g as createLogger, h as Icon, S as SettingNames, E as ExperimentNames } from "./core-D8ryGpa4.js";
13
13
  const tabs = "adyen-kyc-tabs";
14
14
  const styles$1 = {
15
15
  tabs
@@ -144,10 +144,10 @@ const transformModule = (highlights, codeNode, scope) => {
144
144
  };
145
145
  const supportedModules = ["plaintext", "json", "yaml", "css"];
146
146
  const moduleMap = {
147
- plaintext: () => import("./plaintext-DUYAf_KK.js"),
148
- json: () => import("./json-DSNxkG4k.js"),
149
- yaml: () => import("./yaml-ejLZ1p9z.js"),
150
- css: () => import("./css-B7xW4JBR.js")
147
+ plaintext: () => import("./plaintext-DOua1PdK.js"),
148
+ json: () => import("./json-BNxOWY2H.js"),
149
+ yaml: () => import("./yaml-DG6kdH_n.js"),
150
+ css: () => import("./css-CycUexVO.js")
151
151
  };
152
152
  const getModule = async (name) => {
153
153
  if (!supportedModules.includes(name)) {
@@ -438,7 +438,7 @@ const DebugModal = ({ onExit }) => {
438
438
  const [tab, setTab] = useState("metadata");
439
439
  const rootLegalEntity = useGlobalStore((store) => store.rootLegalEntity);
440
440
  const metadata = {
441
- sdkVersion: "3.64.7",
441
+ sdkVersion: "3.65.0",
442
442
  locale: i18n.locale,
443
443
  rootLegalEntityId: rootLegalEntity.id
444
444
  };
@@ -2,13 +2,13 @@
2
2
  {
3
3
  try {
4
4
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "e0d6cf63-47a3-4f8e-ad1e-f1c7e100ff5c", e._sentryDebugIdIdentifier = "sentry-dbid-e0d6cf63-47a3-4f8e-ad1e-f1c7e100ff5c");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "5161311f-a179-47e1-bbfc-bc6778389d50", e._sentryDebugIdIdentifier = "sentry-dbid-5161311f-a179-47e1-bbfc-bc6778389d50");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsx, jsxs } from "preact/jsx-runtime";
11
- import { i as useLegalEntity, j as Loader, k as useGetTaskStatus, b as useI18nContext, c as useAnalyticsContext, l as useToastContext, m as useQueryClient, n as useUpdateLegalEntity, o as getOwnDecisionMakers, p as getAvailableDecisionMakerRoleTypes, q as useDataMissingRemediations, T as TaskTypes, r as getAllowedDecisionMakerRoles, D as DropinLayout, h as FormHeader, E as EntityGuidanceStatus, s as iconStatus, v as ContextGuidance, w as DecisionMakerType, x as Alert, y as CardGroup, z as EntityAssociation, B as Button, G as ActionBar } from "./core-CZJjaZbA.js";
11
+ import { x as useLegalEntity, y as Loader, z as useGetTaskStatus, u as useI18nContext, n as useAnalyticsContext, G as useToastContext, H as useQueryClient, J as useUpdateLegalEntity, K as getOwnDecisionMakers, N as getAvailableDecisionMakerRoleTypes, O as useDataMissingRemediations, i as TaskTypes, P as getAllowedDecisionMakerRoles, D as DropinLayout, w as FormHeader, Q as EntityGuidanceStatus, U as iconStatus, V as ContextGuidance, W as DecisionMakerType, X as Alert, Y as CardGroup, Z as EntityAssociation, B as Button, _ as ActionBar } from "./core-D8ryGpa4.js";
12
12
  import { useState, useEffect } from "preact/hooks";
13
13
  const DecisionMakers = (props) => {
14
14
  const { data, isLoading } = useLegalEntity();
@@ -122,9 +122,9 @@ const DecisionMakersInner = ({
122
122
  actionType: "remove",
123
123
  remainingDecisionMakers
124
124
  });
125
- showToast({ type: "success", label: i18n.get("successFullyRemovedDecisionMaker") });
125
+ showToast({ variant: "success", label: i18n.get("successFullyRemovedDecisionMaker") });
126
126
  } catch {
127
- showToast({ type: "error", label: i18n.get("failedToRemoveDecisionMaker") });
127
+ showToast({ variant: "error", label: i18n.get("failedToRemoveDecisionMaker") });
128
128
  }
129
129
  };
130
130
  return /* @__PURE__ */ jsx(
@@ -5,12 +5,12 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
5
5
  {
6
6
  try {
7
7
  let e2 = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n2 = new e2.Error().stack;
8
- n2 && (e2._sentryDebugIds = e2._sentryDebugIds || {}, e2._sentryDebugIds[n2] = "3dbdad9c-0cf0-4f11-8b5e-b70e4245f7b1", e2._sentryDebugIdIdentifier = "sentry-dbid-3dbdad9c-0cf0-4f11-8b5e-b70e4245f7b1");
8
+ n2 && (e2._sentryDebugIds = e2._sentryDebugIds || {}, e2._sentryDebugIds[n2] = "00629be2-44bc-4009-9cbb-cb2da762c25f", e2._sentryDebugIdIdentifier = "sentry-dbid-00629be2-44bc-4009-9cbb-cb2da762c25f");
9
9
  } catch (e2) {
10
10
  }
11
11
  }
12
12
  ;
13
- import { af as createContext, ag as createSignal, ah as onMount, ai as createEffect, ad as createMemo, ae as createComponent, aj as Portal, ak as Show, al as template, am as insert, an as createRenderEffect, ao as className, ap as clearDelegatedEvents, aq as delegateEvents, ar as useContext, as as onCleanup, at as sortFns, au as mutationSortFns, av as on, aw as setAttribute, ax as getSidedProp, ay as use, az as createUniqueId, aA as batch, aB as getQueryStatusLabel, aC as getMutationStatusColor, aD as getQueryStatusColor, aE as getQueryStatusColorByLabel, aF as displayValue, aG as For, aH as convertRemToPixels, aI as untrack, aJ as $TRACK, aK as useTransition, aL as spread, aM as mergeProps, aN as createRoot, aO as serialize, aP as Index, aQ as updateNestedDataByPath, aR as addEventListener, aS as stringify, aT as Match, aU as Switch, aV as deleteNestedDataByPath, aW as splitProps, aX as Dynamic, aY as createComputed } from "./core-CZJjaZbA.js";
13
+ import { av as createContext, aw as createSignal, ax as onMount, ay as createEffect, at as createMemo, au as createComponent, az as Portal, aA as Show, aB as template, aC as insert, aD as createRenderEffect, aE as className, aF as clearDelegatedEvents, aG as delegateEvents, aH as useContext, aI as onCleanup, aJ as sortFns, aK as mutationSortFns, aL as on, aM as setAttribute, aN as getSidedProp, aO as use, aP as createUniqueId, aQ as batch, aR as getQueryStatusLabel, aS as getMutationStatusColor, aT as getQueryStatusColor, aU as getQueryStatusColorByLabel, aV as displayValue, aW as For, aX as convertRemToPixels, aY as untrack, aZ as $TRACK, a_ as useTransition, a$ as spread, b0 as mergeProps, b1 as createRoot, b2 as serialize, b3 as Index, b4 as updateNestedDataByPath, b5 as addEventListener, b6 as stringify, b7 as Match, b8 as Switch, b9 as deleteNestedDataByPath, ba as splitProps, bb as Dynamic, bc as createComputed } from "./core-D8ryGpa4.js";
14
14
  var isNonNullable = (i2) => i2 != null;
15
15
  var filterNonNullable = (arr) => arr.filter(isNonNullable);
16
16
  function chain(callbacks) {
@@ -2,13 +2,13 @@
2
2
  {
3
3
  try {
4
4
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "6685780e-58c9-49bf-91fd-ec85305466dc", e._sentryDebugIdIdentifier = "sentry-dbid-6685780e-58c9-49bf-91fd-ec85305466dc");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "d88a9ece-66ba-4977-9bab-8064c13a5b60", e._sentryDebugIdIdentifier = "sentry-dbid-d88a9ece-66ba-4977-9bab-8064c13a5b60");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
- import { c as createLocalStorage, T as THEME_PREFERENCE, P as PiPProvider, a as ThemeContext, D as Devtools, Q as QueryDevtoolsContext } from "./HASRA6WW-CDUOAJR8.js";
11
- import { ac as getPreferredColorScheme, ad as createMemo, ae as createComponent } from "./core-CZJjaZbA.js";
10
+ import { c as createLocalStorage, T as THEME_PREFERENCE, P as PiPProvider, a as ThemeContext, D as Devtools, Q as QueryDevtoolsContext } from "./HASRA6WW-C4T4T8Nn.js";
11
+ import { as as getPreferredColorScheme, at as createMemo, au as createComponent } from "./core-D8ryGpa4.js";
12
12
  var DevtoolsComponent = (props) => {
13
13
  const [localStore, setLocalStore] = createLocalStorage({
14
14
  prefix: "TanstackQueryDevtools"
@@ -2,14 +2,14 @@
2
2
  {
3
3
  try {
4
4
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "cace7791-2d37-4663-9ec4-9a1e65149573", e._sentryDebugIdIdentifier = "sentry-dbid-cace7791-2d37-4663-9ec4-9a1e65149573");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "baab4e5f-5630-44d5-8895-874ce1490171", e._sentryDebugIdIdentifier = "sentry-dbid-baab4e5f-5630-44d5-8895-874ce1490171");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
11
11
  import { useMemo as useMemo$1, useState, useEffect } from "preact/hooks";
12
- import { T as TaskTypes, L as LegalEntityType, u as useCanSeeIntroduction, a as useLegalEntityType, t as toCapitalized, g as getTranslationKeysByPrefix, b as useI18nContext, c as useAnalyticsContext, S as StepProgressIndicator, B as Button } from "./core-CZJjaZbA.js";
12
+ import { i as TaskTypes, L as LegalEntityType, j as useCanSeeIntroduction, k as useLegalEntityType, t as toCapitalized, m as getTranslationKeysByPrefix, u as useI18nContext, n as useAnalyticsContext, o as StepProgressIndicator, B as Button } from "./core-D8ryGpa4.js";
13
13
  import { useMemo } from "preact/compat";
14
14
  var IntroductionScreens = ((IntroductionScreens2) => {
15
15
  IntroductionScreens2["PROLOGUE"] = "PROLOGUE";
@@ -2,14 +2,14 @@
2
2
  {
3
3
  try {
4
4
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "aeb198ef-dd94-4d03-a066-4136cc3573b0", e._sentryDebugIdIdentifier = "sentry-dbid-aeb198ef-dd94-4d03-a066-4136cc3573b0");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "ca422a08-5a29-4144-802a-6b6775f15faf", e._sentryDebugIdIdentifier = "sentry-dbid-ca422a08-5a29-4144-802a-6b6775f15faf");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsx, jsxs } from "preact/jsx-runtime";
11
11
  import { useState } from "preact/hooks";
12
- import { U as useApiContext, V as useMutation, W as httpPost, b as useI18nContext, l as useToastContext, X as LoaderWrapper, h as FormHeader, Y as Checkbox, G as ActionBar, D as DropinLayout } from "./core-CZJjaZbA.js";
12
+ import { a7 as useApiContext, a8 as useMutation, a9 as httpPost, u as useI18nContext, G as useToastContext, aa as LoaderWrapper, w as FormHeader, ab as Checkbox, _ as ActionBar, D as DropinLayout } from "./core-D8ryGpa4.js";
13
13
  const confirmReview = async (legalEntityId, url) => {
14
14
  return httpPost({
15
15
  loadingContext: url,
@@ -57,10 +57,10 @@ function Review({ handleHomeClick }) {
57
57
  setLoadingStatus("loading");
58
58
  await confirmReview2();
59
59
  setLoadingStatus("success");
60
- showToast({ label: i18n.get("submitSuccessful"), type: "success" });
60
+ showToast({ label: i18n.get("submitSuccessful"), variant: "success" });
61
61
  handleHomeClick();
62
62
  } catch {
63
- showToast({ label: i18n.get("submitFailed"), type: "error" });
63
+ showToast({ label: i18n.get("submitFailed"), variant: "error" });
64
64
  } finally {
65
65
  setLoadingStatus("success");
66
66
  }
@@ -2,14 +2,14 @@
2
2
  {
3
3
  try {
4
4
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "f4ca9581-f824-496f-b7f6-f827c29ddb5b", e._sentryDebugIdIdentifier = "sentry-dbid-f4ca9581-f824-496f-b7f6-f827c29ddb5b");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "68a0ca6a-d224-4bfd-ae52-ab024aae8f43", e._sentryDebugIdIdentifier = "sentry-dbid-68a0ca6a-d224-4bfd-ae52-ab024aae8f43");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsx, jsxs } from "preact/jsx-runtime";
11
11
  import { useState } from "preact/hooks";
12
- import { b as useI18nContext, d as useForm, e as Typography, F as Field, R as RadioGroupCard, B as Button, f as Svg, L as LegalEntityType } from "./core-CZJjaZbA.js";
12
+ import { u as useI18nContext, p as useForm, q as Typography, F as Field, R as RadioGroupCard, B as Button, r as Svg, L as LegalEntityType } from "./core-D8ryGpa4.js";
13
13
  const setupAccountMethods = ["singpass", "manual"];
14
14
  const setupAccountMethodFields = ["setupAccountMethod"];
15
15
  const getSingpassSelectionDisabled = (legalEntityType) => {