@arcgis/portal-components 6.0.0-next.44 → 6.0.0-next.46

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 (125) hide show
  1. package/dist/cdn/2H4XUTGC.js +2 -0
  2. package/dist/cdn/2SXAFTBV.js +2 -0
  3. package/dist/cdn/43PDHAIF.js +76 -0
  4. package/dist/cdn/44XWSV22.js +2 -0
  5. package/dist/cdn/5ASHV75J.js +2 -0
  6. package/dist/cdn/A3C27QXY.js +2 -0
  7. package/dist/cdn/CNTCDLAV.js +2 -0
  8. package/dist/cdn/CZE75G6W.js +2 -0
  9. package/dist/cdn/DLPVBMPX.js +2 -0
  10. package/dist/cdn/KIII5IQV.js +2 -0
  11. package/dist/cdn/NPLIEXAH.js +2 -0
  12. package/dist/cdn/QZPNR6GF.js +2 -0
  13. package/dist/cdn/RSKKZ7MS.js +2 -0
  14. package/dist/cdn/SHUSYAET.js +2 -0
  15. package/dist/cdn/{K3Z2K3M4.js → SW5C6THN.js} +12 -12
  16. package/dist/cdn/VPVDVHQA.js +2 -0
  17. package/dist/cdn/YXTLFAFP.js +2 -0
  18. package/dist/cdn/assets/portal-item-card/t9n/messages.en.json +1 -1
  19. package/dist/cdn/assets/portal-review-layer-sharing-check-notice/t9n/messages.en.json +1 -0
  20. package/dist/cdn/index.js +1 -1
  21. package/dist/cdn/main.css +1 -1
  22. package/dist/chunks/fieldAddDelete.js +1 -1
  23. package/dist/chunks/item.js +10 -10
  24. package/dist/chunks/portal-review-layer-sharing.js +595 -0
  25. package/dist/chunks/privileges.js +26 -0
  26. package/dist/chunks/utils4.js +39 -58
  27. package/dist/components/arcgis-portal-account-switcher/customElement.d.ts +38 -6
  28. package/dist/components/arcgis-portal-account-switcher-accounts/customElement.d.ts +34 -5
  29. package/dist/components/arcgis-portal-account-switcher-list/customElement.d.ts +34 -5
  30. package/dist/components/arcgis-portal-account-switcher-signout/customElement.d.ts +38 -6
  31. package/dist/components/arcgis-portal-add-gps-metadata/customElement.d.ts +38 -6
  32. package/dist/components/arcgis-portal-ai-assistant/customElement.d.ts +36 -7
  33. package/dist/components/arcgis-portal-ai-assistant/customElement.js +337 -324
  34. package/dist/components/arcgis-portal-ai-assistant/index.js +1 -0
  35. package/dist/components/arcgis-portal-ai-assistant-diagnostics/customElement.d.ts +17 -1
  36. package/dist/components/arcgis-portal-ai-assistant-interrupt/customElement.d.ts +34 -5
  37. package/dist/components/arcgis-portal-browser/customElement.d.ts +54 -8
  38. package/dist/components/arcgis-portal-browser-actions/customElement.d.ts +17 -1
  39. package/dist/components/arcgis-portal-browser-filter-status/customElement.d.ts +34 -5
  40. package/dist/components/arcgis-portal-browser-pagination/customElement.d.ts +30 -4
  41. package/dist/components/arcgis-portal-browser-search/customElement.d.ts +34 -5
  42. package/dist/components/arcgis-portal-browser-sort/customElement.d.ts +34 -5
  43. package/dist/components/arcgis-portal-browser-top-bar/customElement.d.ts +34 -5
  44. package/dist/components/arcgis-portal-browser-view/customElement.d.ts +30 -4
  45. package/dist/components/arcgis-portal-classification-banner/customElement.d.ts +17 -1
  46. package/dist/components/arcgis-portal-classification-config/customElement.d.ts +30 -4
  47. package/dist/components/arcgis-portal-classification-favorite/customElement.d.ts +17 -1
  48. package/dist/components/arcgis-portal-classification-form-element/customElement.d.ts +30 -4
  49. package/dist/components/arcgis-portal-delete-items/customElement.d.ts +38 -6
  50. package/dist/components/arcgis-portal-delete-items-review/customElement.d.ts +17 -1
  51. package/dist/components/arcgis-portal-entity-picker/customElement.d.ts +30 -4
  52. package/dist/components/arcgis-portal-extent-picker/customElement.d.ts +38 -6
  53. package/dist/components/arcgis-portal-field-delete/customElement.d.ts +42 -7
  54. package/dist/components/arcgis-portal-group-badges/customElement.d.ts +17 -1
  55. package/dist/components/arcgis-portal-group-browser/customElement.d.ts +62 -12
  56. package/dist/components/arcgis-portal-group-browser-card/customElement.d.ts +34 -5
  57. package/dist/components/arcgis-portal-group-browser-preview/customElement.d.ts +34 -5
  58. package/dist/components/arcgis-portal-group-browser-preview-card/customElement.d.ts +34 -5
  59. package/dist/components/arcgis-portal-group-card/customElement.d.ts +38 -6
  60. package/dist/components/arcgis-portal-group-picker/customElement.d.ts +30 -4
  61. package/dist/components/arcgis-portal-group-thumbnail/customElement.d.ts +17 -1
  62. package/dist/components/arcgis-portal-info-banner/customElement.d.ts +17 -1
  63. package/dist/components/arcgis-portal-item-actions/customElement.d.ts +44 -7
  64. package/dist/components/arcgis-portal-item-actions/customElement.js +44 -44
  65. package/dist/components/arcgis-portal-item-badge/customElement.d.ts +17 -1
  66. package/dist/components/arcgis-portal-item-badges/customElement.d.ts +17 -1
  67. package/dist/components/arcgis-portal-item-card/customElement.d.ts +57 -9
  68. package/dist/components/arcgis-portal-item-card/customElement.js +80 -68
  69. package/dist/components/arcgis-portal-item-card-sublayer-select/customElement.d.ts +34 -5
  70. package/dist/components/arcgis-portal-item-card-sublayer-select/customElement.js +1 -1
  71. package/dist/components/arcgis-portal-item-favorite/customElement.d.ts +30 -4
  72. package/dist/components/arcgis-portal-item-picker/customElement.d.ts +30 -4
  73. package/dist/components/arcgis-portal-item-preview/customElement.d.ts +38 -6
  74. package/dist/components/arcgis-portal-item-preview-copy/customElement.d.ts +17 -1
  75. package/dist/components/arcgis-portal-item-preview-field/customElement.d.ts +17 -1
  76. package/dist/components/arcgis-portal-item-preview-sublayer/customElement.d.ts +17 -1
  77. package/dist/components/arcgis-portal-item-share-summary/customElement.d.ts +17 -1
  78. package/dist/components/arcgis-portal-item-share-summary-editable/customElement.d.ts +30 -4
  79. package/dist/components/arcgis-portal-item-status-card/customElement.d.ts +30 -4
  80. package/dist/components/arcgis-portal-item-thumbnail/customElement.d.ts +30 -4
  81. package/dist/components/arcgis-portal-item-thumbnail/customElement.js +9 -9
  82. package/dist/components/arcgis-portal-item-type/customElement.d.ts +17 -1
  83. package/dist/components/arcgis-portal-mentionable-text-area/customElement.d.ts +46 -8
  84. package/dist/components/arcgis-portal-navigation/customElement.d.ts +42 -7
  85. package/dist/components/arcgis-portal-navigation/customElement.js +12 -11
  86. package/dist/components/arcgis-portal-preview-panel/customElement.d.ts +34 -5
  87. package/dist/components/arcgis-portal-replacement-item-redirect/customElement.d.ts +30 -4
  88. package/dist/components/arcgis-portal-review-layer-sharing/customElement.d.ts +34 -5
  89. package/dist/components/arcgis-portal-review-layer-sharing/customElement.js +17 -588
  90. package/dist/components/arcgis-portal-review-layer-sharing-check-notice/customElement.d.ts +79 -0
  91. package/dist/components/arcgis-portal-review-layer-sharing-check-notice/customElement.js +57 -0
  92. package/dist/components/arcgis-portal-review-layer-sharing-check-notice/index.d.ts +1 -0
  93. package/dist/components/arcgis-portal-review-layer-sharing-check-notice/index.js +5 -0
  94. package/dist/components/arcgis-portal-review-related-items/customElement.d.ts +17 -1
  95. package/dist/components/arcgis-portal-sublayer-type/customElement.d.ts +17 -1
  96. package/dist/components/arcgis-portal-user-avatar/customElement.d.ts +17 -1
  97. package/dist/components/arcgis-portal-user-picker/customElement.d.ts +30 -4
  98. package/dist/components/arcgis-portal-user-popup/customElement.d.ts +34 -5
  99. package/dist/components/arcgis-portal-voice-input/customElement.d.ts +46 -8
  100. package/dist/docs/api.json +1 -1
  101. package/dist/docs/docs.json +1 -1
  102. package/dist/docs/vscode.html-custom-data.json +1 -1
  103. package/dist/docs/web-types.json +1 -1
  104. package/dist/index.d.ts +50 -235
  105. package/dist/loader.d.ts +65 -2
  106. package/dist/loader.js +1 -0
  107. package/dist/types/lumina.d.ts +192 -358
  108. package/dist/types/portalAssistantCurrentContext.d.ts +11 -9
  109. package/dist/types/preact.d.ts +192 -424
  110. package/dist/types/react.d.ts +192 -493
  111. package/dist/types/stencil.d.ts +133 -299
  112. package/package.json +9 -9
  113. package/dist/cdn/36DGXQLJ.js +0 -2
  114. package/dist/cdn/3ZVDEJPF.js +0 -2
  115. package/dist/cdn/42AN66SK.js +0 -2
  116. package/dist/cdn/7JDXAVUG.js +0 -2
  117. package/dist/cdn/CERDMRFQ.js +0 -2
  118. package/dist/cdn/FINVGL3V.js +0 -2
  119. package/dist/cdn/GA4OWLSO.js +0 -2
  120. package/dist/cdn/GHDMQJG4.js +0 -2
  121. package/dist/cdn/JDW7ECBF.js +0 -2
  122. package/dist/cdn/PM33STYQ.js +0 -2
  123. package/dist/cdn/TQX5BOZG.js +0 -2
  124. package/dist/cdn/YZZQ3Y6G.js +0 -73
  125. package/dist/cdn/ZOOEWYFB.js +0 -2
@@ -1,66 +1,48 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- import { u as b, m as f, i as D, n as M, o as A, p as x, q as C, r as L } from "./item.js";
3
- const G = (r) => typeof r?.role == "string" && r?.role ? r?.role : r?.roleId ?? r?.sourceJSON?.id;
4
- function h(r) {
5
- return r ? ["org_admin", "account_admin"].includes(G(r)) && !r?.roleId : !1;
6
- }
7
- function j(r) {
8
- return !!(r?.roleId && r.roleId.length > 0);
9
- }
10
- function E(r) {
11
- return !!r?.privileges?.includes("portal:admin:deleteItems");
12
- }
13
- function T(r, t) {
14
- return t ? b(r, t) || r.itemControl === "update" || f([r], t) && h(t) : !1;
15
- }
16
- function W(r, t) {
17
- if (!t)
18
- return !1;
19
- const e = f([r], t), a = b(r, t) || h(t) && e, i = j(t) && E(t);
20
- return !!(a || e && i);
21
- }
22
- function $({ item: r, messages: t, user: e, serviceInfo: a, portal: i }) {
23
- const o = O(r), n = V(r, t, i);
2
+ import { c as S, a as P } from "./privileges.js";
3
+ import { i as D, n as I, o as M, p as A, q as x, r as L } from "./item.js";
4
+ function R({ item: t, messages: r, user: e, serviceInfo: a, portal: i }) {
5
+ const o = T(t), n = E(t, r, i);
24
6
  return {
25
- displayName: k(n, { item: r, user: e, messages: t, serviceInfo: a }, !1),
26
- displayNameHosted: k(n, { item: r, user: e, messages: t, serviceInfo: a }, !0),
7
+ displayName: k(n, { item: t, user: e, messages: r, serviceInfo: a }, !1),
8
+ displayNameHosted: k(n, { item: t, user: e, messages: r, serviceInfo: a }, !0),
27
9
  icon: o
28
10
  };
29
11
  }
30
- function R(r, t) {
31
- const e = r?.typeKeywords;
32
- return e?.includes("IntegratedMesh") ? t?.meshLayer || "Mesh layer" : e?.includes("3DObject") ? t?.object3dLayer || "3D object layer" : e?.includes("PointCloud") ? t?.pointCloudLayer || "Point cloud layer" : e?.includes("Point") ? t?.point3dLayer || "3D point layer" : e?.includes("Building") ? t?.buildingLayer || "Building layer" : e?.includes("Voxel") ? t?.voxelLayer || "Voxel layer" : e?.includes("GaussianSplat") ? t?.gaussianSplatLayer || "Gaussian splat layer" : r?.type === "Scene Service" ? "Scene layer" : "3D tiles layer";
12
+ function C(t, r) {
13
+ const e = t?.typeKeywords;
14
+ return e?.includes("IntegratedMesh") ? r?.meshLayer || "Mesh layer" : e?.includes("3DObject") ? r?.object3dLayer || "3D object layer" : e?.includes("PointCloud") ? r?.pointCloudLayer || "Point cloud layer" : e?.includes("Point") ? r?.point3dLayer || "3D point layer" : e?.includes("Building") ? r?.buildingLayer || "Building layer" : e?.includes("Voxel") ? r?.voxelLayer || "Voxel layer" : e?.includes("GaussianSplat") ? r?.gaussianSplatLayer || "Gaussian splat layer" : t?.type === "Scene Service" ? "Scene layer" : "3D tiles layer";
33
15
  }
34
- function B(r, t, e, a) {
35
- return t && e ? a ? r.hostedCollectionMultidimensional : r.hostedCollection : t ? a ? r.hostedMultidimensional : r.hosted : e ? a ? r.collectionMultidimensional : r.collection : a ? r.multidimensional : void 0;
16
+ function G(t, r, e, a) {
17
+ return r && e ? a ? t.hostedCollectionMultidimensional : t.hostedCollection : r ? a ? t.hostedMultidimensional : t.hosted : e ? a ? t.collectionMultidimensional : t.collection : a ? t.multidimensional : void 0;
36
18
  }
37
- function k(r, { item: t, user: e, messages: a, serviceInfo: i }, o = !0) {
38
- const n = t.type === "Image Service";
19
+ function k(t, { item: r, user: e, messages: a, serviceInfo: i }, o = !0) {
20
+ const n = r.type === "Image Service";
39
21
  if (!(o && e) && !n)
40
- return r;
41
- const c = t.type === "Feature Service" && t.typeKeywords?.includes("UtilityNetwork"), l = t.type === "Feature Service" && t.typeKeywords?.includes("ParcelFabric"), v = t.type === "Feature Service" && t.typeKeywords?.includes("Query Layer"), u = e && T(t, e), d = e && W(t, e), p = D(t), g = (u || d) && p, y = (u || d) && o;
42
- if (v)
43
- return `${r} (${a.query})`;
22
+ return t;
23
+ const c = r.type === "Feature Service" && r.typeKeywords?.includes("UtilityNetwork"), l = r.type === "Feature Service" && r.typeKeywords?.includes("ParcelFabric"), b = r.type === "Feature Service" && r.typeKeywords?.includes("Query Layer"), u = e && S(r, e), d = e && P(r, e), p = D(r), g = (u || d) && p, y = (u || d) && o;
24
+ if (b)
25
+ return `${t} (${a.query})`;
44
26
  if (l)
45
- return `${r} (${g ? a.parcelFabricHosted : a.parcelFabric})`;
27
+ return `${t} (${g ? a.parcelFabricHosted : a.parcelFabric})`;
46
28
  if (c) {
47
29
  const s = g ? `, ${a.hosted}` : "";
48
- return `${r} (${a.utilityNetwork}${s})`;
30
+ return `${t} (${a.utilityNetwork}${s})`;
49
31
  }
50
32
  if (n) {
51
- const s = t.typeKeywords?.includes("Elevation 3D Layer"), w = !!(y && p), S = M(t, i) && !s, P = A(t, i) && !s, m = B(a, w, P, S), I = m === void 0 ? "" : ` (${m})`;
52
- return `${r}${I}`;
33
+ const s = r.typeKeywords?.includes("Elevation 3D Layer"), f = !!(y && p), h = I(r, i) && !s, v = M(r, i) && !s, m = G(a, f, v, h), w = m === void 0 ? "" : ` (${m})`;
34
+ return `${t}${w}`;
53
35
  }
54
36
  if (y) {
55
37
  if (p) {
56
- const s = ` (${x(t) ? a.hostedView : a.hosted})`;
57
- return `${r}${s}`;
38
+ const s = ` (${A(r) ? a.hostedView : a.hosted})`;
39
+ return `${t}${s}`;
58
40
  }
59
- return C(t) ? `${r} (${a.locatorView})` : L(t) ? `${r} (${a.photoLocations})` : r;
41
+ return x(r) ? `${t} (${a.locatorView})` : L(r) ? `${t} (${a.photoLocations})` : t;
60
42
  }
61
- return r;
43
+ return t;
62
44
  }
63
- const K = {
45
+ const j = {
64
46
  "360 VR Experience": "360 VR experience",
65
47
  "3DTiles Package": "3D tiles package",
66
48
  "3DTiles Service": "3D tiles layer",
@@ -231,9 +213,9 @@ const K = {
231
213
  "Viewer Configuration": "Viewer configuration",
232
214
  "XR Experience": "XR experience"
233
215
  };
234
- function V(r, t, e) {
235
- const a = r.typeKeywords || [];
236
- switch (r.type) {
216
+ function E(t, r, e) {
217
+ const a = t.typeKeywords || [];
218
+ switch (t.type) {
237
219
  case null:
238
220
  case void 0:
239
221
  return "";
@@ -254,7 +236,7 @@ function V(r, t, e) {
254
236
  "cloudStore_Google",
255
237
  "cloudStore_Alibaba",
256
238
  "Cloud"
257
- ].some((l) => a.includes(l)), n = t?.dataStore || {
239
+ ].some((l) => a.includes(l)), n = r?.dataStore || {
258
240
  bigdata: "big data file share",
259
241
  cloud: "cloud",
260
242
  cloudStorage: "cloud storage",
@@ -264,7 +246,7 @@ function V(r, t, e) {
264
246
  return o ? `Data store (${e?.isPortal ? n.cloudStorage : n.cloud})` : a.includes("egdb") || a.includes("nosql") ? `Data store (${n.database})` : a.includes("folder") || a.includes("ArcGIS Server") && (a.includes("dedicated") || a.includes("global")) ? `Data store (${n.folder})` : !a.includes("fileShare") || !a.includes("hdfs") || !a.includes("hive") || !a.includes("dataStore") ? `Data store (${n.bigdata})` : "Data store";
265
247
  case "Scene Service":
266
248
  case "3DTiles Service":
267
- return R(r, t);
249
+ return C(t, r);
268
250
  case "Video Service":
269
251
  return "Video layer";
270
252
  case "Scene Package":
@@ -332,12 +314,12 @@ function V(r, t, e) {
332
314
  return "Instant App";
333
315
  break;
334
316
  }
335
- const i = K[r.type] || r.type;
317
+ const i = j[t.type] || t.type;
336
318
  return i?.toLowerCase().includes("add in") ? i.replace(/(add in)/giu, "add-in") : i;
337
319
  }
338
- function O(r) {
339
- const t = r.type?.toLowerCase() || "", e = r.typeKeywords || [], a = e.includes("Hosted Service");
340
- switch (t.trim()) {
320
+ function T(t) {
321
+ const r = t.type?.toLowerCase() || "", e = t.typeKeywords || [], a = e.includes("Hosted Service");
322
+ switch (r.trim()) {
341
323
  case "360 vr experience":
342
324
  return "360vr";
343
325
  case "3dtiles package":
@@ -353,7 +335,7 @@ function O(r) {
353
335
  if (e.includes("IndoorPositioningDataService"))
354
336
  return "indoorpositioningdataservice";
355
337
  const i = e.includes("Spatiotemporal");
356
- return e.includes("Table") ? i ? "spatiotemporaltable" : "table" : t === "feature collection" && e.includes("Sketch Layer") ? "sketchlayer" : e.includes("Route Layer") ? "routelayer" : e.includes("Markup") ? "markup" : i ? "spatiotemporal" : e.includes("UtilityNetwork") ? "utilitynetwork" : a ? "featureshosted" : "features";
338
+ return e.includes("Table") ? i ? "spatiotemporaltable" : "table" : r === "feature collection" && e.includes("Sketch Layer") ? "sketchlayer" : e.includes("Route Layer") ? "routelayer" : e.includes("Markup") ? "markup" : i ? "spatiotemporal" : e.includes("UtilityNetwork") ? "utilitynetwork" : a ? "featureshosted" : "features";
357
339
  case "group layer":
358
340
  return e.includes("Map") ? "layergroup2d" : e.includes("Scene") ? "layergroup3d" : "layergroup";
359
341
  case "wmts":
@@ -654,10 +636,9 @@ function O(r) {
654
636
  case "xr experience":
655
637
  return "xrexperience";
656
638
  }
657
- return e.includes("Document") ? "datafilesgray" : t.includes("service") ? "layers" : "maps";
639
+ return e.includes("Document") ? "datafilesgray" : r.includes("service") ? "layers" : "maps";
658
640
  }
659
641
  export {
660
- V as a,
661
- $ as g,
662
- h as i
642
+ E as a,
643
+ R as g
663
644
  };
@@ -5,6 +5,13 @@ import type { LinkedAccount } from "../../types/user.js";
5
5
  import type { SignoutEventDetails } from "./types.js";
6
6
  import type { T9nMeta } from "@arcgis/lumina/controllers";
7
7
 
8
+ declare module "@arcgis/lumina" {
9
+ interface RegisteredElements {
10
+ /** See {@link ArcgisPortalAccountSwitcher}. */
11
+ "arcgis-portal-account-switcher": ArcgisPortalAccountSwitcher;
12
+ }
13
+ }
14
+
8
15
  /** Renders an account selection dialog and emits an account switching event. */
9
16
  export abstract class ArcgisPortalAccountSwitcher extends LitElement {
10
17
  /** @default "arcgisonline" */
@@ -142,6 +149,9 @@ export abstract class ArcgisPortalAccountSwitcher extends LitElement {
142
149
  redirectToClientUri?: boolean;
143
150
  displaySignoutComplete?: boolean;
144
151
  };
152
+ readonly "@jsxProps": import("@arcgis/lumina").PickJsxProps<this, "clientId" | "portal" | "redirectUri" | "signout" | "signoutOptions">;
153
+ readonly "@jsxEvents": ArcgisPortalAccountSwitcherEventHandlers<this>;
154
+ readonly "@jsxStencilEvents": ArcgisPortalAccountSwitcherStencilEventHandlers<this>;
145
155
  /** Emitted when the user chooses a different account. */
146
156
  readonly arcgisAccountSwitch: import("@arcgis/lumina").TargetedEvent<this, {
147
157
  account: LinkedAccount;
@@ -151,9 +161,31 @@ export abstract class ArcgisPortalAccountSwitcher extends LitElement {
151
161
  readonly arcgisClose: import("@arcgis/lumina").TargetedEvent<this, void>;
152
162
  /** Emitted when the signout(s) have completed */
153
163
  readonly arcgisSignoutComplete: import("@arcgis/lumina").TargetedEvent<this, SignoutEventDetails>;
154
- readonly "@eventTypes": {
155
- arcgisAccountSwitch: ArcgisPortalAccountSwitcher["arcgisAccountSwitch"]["detail"];
156
- arcgisClose: ArcgisPortalAccountSwitcher["arcgisClose"]["detail"];
157
- arcgisSignoutComplete: ArcgisPortalAccountSwitcher["arcgisSignoutComplete"]["detail"];
158
- };
159
- }
164
+ readonly "@eventTypes": import("@arcgis/lumina").EventPayloads<Pick<this, "arcgisAccountSwitch" | "arcgisClose" | "arcgisSignoutComplete">>;
165
+ }
166
+ interface ArcgisPortalAccountSwitcherEventHandlers<Target extends ArcgisPortalAccountSwitcher = ArcgisPortalAccountSwitcher> {
167
+ /** See {@link ArcgisPortalAccountSwitcher.arcgisAccountSwitch}. */
168
+ onarcgisAccountSwitch?: import("@arcgis/lumina").EventHandler<Target["arcgisAccountSwitch"]>;
169
+ /** See {@link ArcgisPortalAccountSwitcher.arcgisClose}. */
170
+ onarcgisClose?: import("@arcgis/lumina").EventHandler<Target["arcgisClose"]>;
171
+ /** See {@link ArcgisPortalAccountSwitcher.arcgisSignoutComplete}. */
172
+ onarcgisSignoutComplete?: import("@arcgis/lumina").EventHandler<Target["arcgisSignoutComplete"]>;
173
+ }
174
+
175
+ interface ArcgisPortalAccountSwitcherStencilEventHandlers<Target extends ArcgisPortalAccountSwitcher = ArcgisPortalAccountSwitcher> {
176
+ /** See {@link ArcgisPortalAccountSwitcher.arcgisAccountSwitch}. */
177
+ onArcgisAccountSwitch?: import("@arcgis/lumina").EventHandler<Target["arcgisAccountSwitch"]>;
178
+ /** See {@link ArcgisPortalAccountSwitcher.arcgisClose}. */
179
+ onArcgisClose?: import("@arcgis/lumina").EventHandler<Target["arcgisClose"]>;
180
+ /** See {@link ArcgisPortalAccountSwitcher.arcgisSignoutComplete}. */
181
+ onArcgisSignoutComplete?: import("@arcgis/lumina").EventHandler<Target["arcgisSignoutComplete"]>;
182
+ }
183
+
184
+ declare global {
185
+ /** @deprecated Migrate using `npx @arcgis/codemod@latest run refactor-component-types`. Import ArcgisPortalAccountSwitcher from its component module instead. */
186
+ type HTMLArcgisPortalAccountSwitcherElement = ArcgisPortalAccountSwitcher;
187
+ /** @deprecated Migrate using `npx @arcgis/codemod@latest run refactor-component-types`. Use ArcgisPortalAccountSwitcher["@eventTypes"] instead. */
188
+ type HTMLArcgisPortalAccountSwitcherElementEventMap = ArcgisPortalAccountSwitcher["@eventTypes"];
189
+ }
190
+
191
+ export {};
@@ -4,6 +4,13 @@ import type { PublicLitElement as LitElement } from "@arcgis/lumina";
4
4
  import type { LinkedAccount } from "../../types/user.js";
5
5
  import type { T9nMeta } from "@arcgis/lumina/controllers";
6
6
 
7
+ declare module "@arcgis/lumina" {
8
+ interface RegisteredElements {
9
+ /** See {@link ArcgisPortalAccountSwitcherAccounts}. */
10
+ "arcgis-portal-account-switcher-accounts": ArcgisPortalAccountSwitcherAccounts;
11
+ }
12
+ }
13
+
7
14
  /** @internal */
8
15
  export abstract class ArcgisPortalAccountSwitcherAccounts extends LitElement {
9
16
  accessor accounts: LinkedAccount[];
@@ -133,12 +140,34 @@ export abstract class ArcgisPortalAccountSwitcherAccounts extends LitElement {
133
140
  }>;
134
141
  accessor portal: Portal;
135
142
  accessor targetUser: string;
143
+ readonly "@jsxProps": import("@arcgis/lumina").PickJsxProps<this, "accounts" | "portal" | "targetUser">;
144
+ readonly "@jsxEvents": ArcgisPortalAccountSwitcherAccountsEventHandlers<this>;
145
+ readonly "@jsxStencilEvents": ArcgisPortalAccountSwitcherAccountsStencilEventHandlers<this>;
136
146
  /** @internal */
137
147
  readonly arcgisAccountsCloseDialog: import("@arcgis/lumina").TargetedEvent<this, void>;
138
148
  /** @internal */
139
149
  readonly arcgisAccountsLinkAll: import("@arcgis/lumina").TargetedEvent<this, void>;
140
- readonly "@eventTypes": {
141
- arcgisAccountsCloseDialog: ArcgisPortalAccountSwitcherAccounts["arcgisAccountsCloseDialog"]["detail"];
142
- arcgisAccountsLinkAll: ArcgisPortalAccountSwitcherAccounts["arcgisAccountsLinkAll"]["detail"];
143
- };
144
- }
150
+ readonly "@eventTypes": import("@arcgis/lumina").EventPayloads<Pick<this, "arcgisAccountsCloseDialog" | "arcgisAccountsLinkAll">>;
151
+ }
152
+ interface ArcgisPortalAccountSwitcherAccountsEventHandlers<Target extends ArcgisPortalAccountSwitcherAccounts = ArcgisPortalAccountSwitcherAccounts> {
153
+ /** See {@link ArcgisPortalAccountSwitcherAccounts.arcgisAccountsCloseDialog}. */
154
+ onarcgisAccountsCloseDialog?: import("@arcgis/lumina").EventHandler<Target["arcgisAccountsCloseDialog"]>;
155
+ /** See {@link ArcgisPortalAccountSwitcherAccounts.arcgisAccountsLinkAll}. */
156
+ onarcgisAccountsLinkAll?: import("@arcgis/lumina").EventHandler<Target["arcgisAccountsLinkAll"]>;
157
+ }
158
+
159
+ interface ArcgisPortalAccountSwitcherAccountsStencilEventHandlers<Target extends ArcgisPortalAccountSwitcherAccounts = ArcgisPortalAccountSwitcherAccounts> {
160
+ /** See {@link ArcgisPortalAccountSwitcherAccounts.arcgisAccountsCloseDialog}. */
161
+ onArcgisAccountsCloseDialog?: import("@arcgis/lumina").EventHandler<Target["arcgisAccountsCloseDialog"]>;
162
+ /** See {@link ArcgisPortalAccountSwitcherAccounts.arcgisAccountsLinkAll}. */
163
+ onArcgisAccountsLinkAll?: import("@arcgis/lumina").EventHandler<Target["arcgisAccountsLinkAll"]>;
164
+ }
165
+
166
+ declare global {
167
+ /** @deprecated Migrate using `npx @arcgis/codemod@latest run refactor-component-types`. Import ArcgisPortalAccountSwitcherAccounts from its component module instead. */
168
+ type HTMLArcgisPortalAccountSwitcherAccountsElement = ArcgisPortalAccountSwitcherAccounts;
169
+ /** @deprecated Migrate using `npx @arcgis/codemod@latest run refactor-component-types`. Use ArcgisPortalAccountSwitcherAccounts["@eventTypes"] instead. */
170
+ type HTMLArcgisPortalAccountSwitcherAccountsElementEventMap = ArcgisPortalAccountSwitcherAccounts["@eventTypes"];
171
+ }
172
+
173
+ export {};
@@ -5,6 +5,13 @@ import type { LinkedAccount } from "../../types/user.js";
5
5
  import type { AccountAccess, Action } from "../arcgis-portal-account-switcher/types.js";
6
6
  import type { T9nMeta } from "@arcgis/lumina/controllers";
7
7
 
8
+ declare module "@arcgis/lumina" {
9
+ interface RegisteredElements {
10
+ /** See {@link ArcgisPortalAccountSwitcherList}. */
11
+ "arcgis-portal-account-switcher-list": ArcgisPortalAccountSwitcherList;
12
+ }
13
+ }
14
+
8
15
  /** @internal */
9
16
  export abstract class ArcgisPortalAccountSwitcherList extends LitElement {
10
17
  accessor accountAccess: AccountAccess;
@@ -138,12 +145,34 @@ export abstract class ArcgisPortalAccountSwitcherList extends LitElement {
138
145
  }>;
139
146
  accessor portal: Portal;
140
147
  accessor signedInUsers: string[];
148
+ readonly "@jsxProps": import("@arcgis/lumina").PickJsxProps<this, "accountAccess" | "actions" | "interactive" | "linkedAccounts" | "portal" | "signedInUsers">;
149
+ readonly "@jsxEvents": ArcgisPortalAccountSwitcherListEventHandlers<this>;
150
+ readonly "@jsxStencilEvents": ArcgisPortalAccountSwitcherListStencilEventHandlers<this>;
141
151
  /** @internal */
142
152
  readonly arcgisAccountListSwitch: import("@arcgis/lumina").TargetedEvent<this, { account: LinkedAccount; }>;
143
153
  /** @internal */
144
154
  readonly arcgisAccountListUnlink: import("@arcgis/lumina").TargetedEvent<this, { account: LinkedAccount; }>;
145
- readonly "@eventTypes": {
146
- arcgisAccountListSwitch: ArcgisPortalAccountSwitcherList["arcgisAccountListSwitch"]["detail"];
147
- arcgisAccountListUnlink: ArcgisPortalAccountSwitcherList["arcgisAccountListUnlink"]["detail"];
148
- };
149
- }
155
+ readonly "@eventTypes": import("@arcgis/lumina").EventPayloads<Pick<this, "arcgisAccountListSwitch" | "arcgisAccountListUnlink">>;
156
+ }
157
+ interface ArcgisPortalAccountSwitcherListEventHandlers<Target extends ArcgisPortalAccountSwitcherList = ArcgisPortalAccountSwitcherList> {
158
+ /** See {@link ArcgisPortalAccountSwitcherList.arcgisAccountListSwitch}. */
159
+ onarcgisAccountListSwitch?: import("@arcgis/lumina").EventHandler<Target["arcgisAccountListSwitch"]>;
160
+ /** See {@link ArcgisPortalAccountSwitcherList.arcgisAccountListUnlink}. */
161
+ onarcgisAccountListUnlink?: import("@arcgis/lumina").EventHandler<Target["arcgisAccountListUnlink"]>;
162
+ }
163
+
164
+ interface ArcgisPortalAccountSwitcherListStencilEventHandlers<Target extends ArcgisPortalAccountSwitcherList = ArcgisPortalAccountSwitcherList> {
165
+ /** See {@link ArcgisPortalAccountSwitcherList.arcgisAccountListSwitch}. */
166
+ onArcgisAccountListSwitch?: import("@arcgis/lumina").EventHandler<Target["arcgisAccountListSwitch"]>;
167
+ /** See {@link ArcgisPortalAccountSwitcherList.arcgisAccountListUnlink}. */
168
+ onArcgisAccountListUnlink?: import("@arcgis/lumina").EventHandler<Target["arcgisAccountListUnlink"]>;
169
+ }
170
+
171
+ declare global {
172
+ /** @deprecated Migrate using `npx @arcgis/codemod@latest run refactor-component-types`. Import ArcgisPortalAccountSwitcherList from its component module instead. */
173
+ type HTMLArcgisPortalAccountSwitcherListElement = ArcgisPortalAccountSwitcherList;
174
+ /** @deprecated Migrate using `npx @arcgis/codemod@latest run refactor-component-types`. Use ArcgisPortalAccountSwitcherList["@eventTypes"] instead. */
175
+ type HTMLArcgisPortalAccountSwitcherListElementEventMap = ArcgisPortalAccountSwitcherList["@eventTypes"];
176
+ }
177
+
178
+ export {};
@@ -4,6 +4,13 @@ import type { PublicLitElement as LitElement } from "@arcgis/lumina";
4
4
  import type { LinkedAccount } from "../../types/user.js";
5
5
  import type { T9nMeta } from "@arcgis/lumina/controllers";
6
6
 
7
+ declare module "@arcgis/lumina" {
8
+ interface RegisteredElements {
9
+ /** See {@link ArcgisPortalAccountSwitcherSignout}. */
10
+ "arcgis-portal-account-switcher-signout": ArcgisPortalAccountSwitcherSignout;
11
+ }
12
+ }
13
+
7
14
  /** @internal */
8
15
  export abstract class ArcgisPortalAccountSwitcherSignout extends LitElement {
9
16
  /** @internal */
@@ -132,15 +139,40 @@ export abstract class ArcgisPortalAccountSwitcherSignout extends LitElement {
132
139
  }>;
133
140
  accessor portal: Portal;
134
141
  accessor signedInAccounts: LinkedAccount[];
142
+ readonly "@jsxProps": import("@arcgis/lumina").PickJsxProps<this, "portal" | "signedInAccounts">;
143
+ readonly "@jsxEvents": ArcgisPortalAccountSwitcherSignoutEventHandlers<this>;
144
+ readonly "@jsxStencilEvents": ArcgisPortalAccountSwitcherSignoutStencilEventHandlers<this>;
135
145
  /** @internal */
136
146
  readonly arcgisSignOutAll: import("@arcgis/lumina").TargetedEvent<this, void>;
137
147
  /** @internal */
138
148
  readonly arcgisSignOutCloseDialog: import("@arcgis/lumina").TargetedEvent<this, void>;
139
149
  /** @internal */
140
150
  readonly arcgisSignOutSwitchAccount: import("@arcgis/lumina").TargetedEvent<this, { account: LinkedAccount; }>;
141
- readonly "@eventTypes": {
142
- arcgisSignOutAll: ArcgisPortalAccountSwitcherSignout["arcgisSignOutAll"]["detail"];
143
- arcgisSignOutCloseDialog: ArcgisPortalAccountSwitcherSignout["arcgisSignOutCloseDialog"]["detail"];
144
- arcgisSignOutSwitchAccount: ArcgisPortalAccountSwitcherSignout["arcgisSignOutSwitchAccount"]["detail"];
145
- };
146
- }
151
+ readonly "@eventTypes": import("@arcgis/lumina").EventPayloads<Pick<this, "arcgisSignOutAll" | "arcgisSignOutCloseDialog" | "arcgisSignOutSwitchAccount">>;
152
+ }
153
+ interface ArcgisPortalAccountSwitcherSignoutEventHandlers<Target extends ArcgisPortalAccountSwitcherSignout = ArcgisPortalAccountSwitcherSignout> {
154
+ /** See {@link ArcgisPortalAccountSwitcherSignout.arcgisSignOutAll}. */
155
+ onarcgisSignOutAll?: import("@arcgis/lumina").EventHandler<Target["arcgisSignOutAll"]>;
156
+ /** See {@link ArcgisPortalAccountSwitcherSignout.arcgisSignOutCloseDialog}. */
157
+ onarcgisSignOutCloseDialog?: import("@arcgis/lumina").EventHandler<Target["arcgisSignOutCloseDialog"]>;
158
+ /** See {@link ArcgisPortalAccountSwitcherSignout.arcgisSignOutSwitchAccount}. */
159
+ onarcgisSignOutSwitchAccount?: import("@arcgis/lumina").EventHandler<Target["arcgisSignOutSwitchAccount"]>;
160
+ }
161
+
162
+ interface ArcgisPortalAccountSwitcherSignoutStencilEventHandlers<Target extends ArcgisPortalAccountSwitcherSignout = ArcgisPortalAccountSwitcherSignout> {
163
+ /** See {@link ArcgisPortalAccountSwitcherSignout.arcgisSignOutAll}. */
164
+ onArcgisSignOutAll?: import("@arcgis/lumina").EventHandler<Target["arcgisSignOutAll"]>;
165
+ /** See {@link ArcgisPortalAccountSwitcherSignout.arcgisSignOutCloseDialog}. */
166
+ onArcgisSignOutCloseDialog?: import("@arcgis/lumina").EventHandler<Target["arcgisSignOutCloseDialog"]>;
167
+ /** See {@link ArcgisPortalAccountSwitcherSignout.arcgisSignOutSwitchAccount}. */
168
+ onArcgisSignOutSwitchAccount?: import("@arcgis/lumina").EventHandler<Target["arcgisSignOutSwitchAccount"]>;
169
+ }
170
+
171
+ declare global {
172
+ /** @deprecated Migrate using `npx @arcgis/codemod@latest run refactor-component-types`. Import ArcgisPortalAccountSwitcherSignout from its component module instead. */
173
+ type HTMLArcgisPortalAccountSwitcherSignoutElement = ArcgisPortalAccountSwitcherSignout;
174
+ /** @deprecated Migrate using `npx @arcgis/codemod@latest run refactor-component-types`. Use ArcgisPortalAccountSwitcherSignout["@eventTypes"] instead. */
175
+ type HTMLArcgisPortalAccountSwitcherSignoutElementEventMap = ArcgisPortalAccountSwitcherSignout["@eventTypes"];
176
+ }
177
+
178
+ export {};
@@ -4,6 +4,13 @@ import type Portal from "@arcgis/core/portal/Portal.js";
4
4
  import type { PublicLitElement as LitElement } from "@arcgis/lumina";
5
5
  import type { T9nMeta } from "@arcgis/lumina/controllers";
6
6
 
7
+ declare module "@arcgis/lumina" {
8
+ interface RegisteredElements {
9
+ /** See {@link ArcgisPortalAddGpsMetadata}. */
10
+ "arcgis-portal-add-gps-metadata": ArcgisPortalAddGpsMetadata;
11
+ }
12
+ }
13
+
7
14
  /**
8
15
  * Checks for then allows repairing missing/modified GPS metadata fields to all supported layers within
9
16
  * a feature service.
@@ -70,16 +77,41 @@ export abstract class ArcgisPortalAddGpsMetadata extends LitElement {
70
77
  * @default false
71
78
  */
72
79
  get supportsAttachments(): true;
80
+ readonly "@jsxProps": import("@arcgis/lumina").PickJsxProps<this, "item" | "itemId" | "messageOverrides" | "portal">;
81
+ readonly "@jsxEvents": ArcgisPortalAddGpsMetadataEventHandlers<this>;
82
+ readonly "@jsxStencilEvents": ArcgisPortalAddGpsMetadataStencilEventHandlers<this>;
73
83
  /** Emitted when fields are successfully added/repaired. */
74
84
  readonly arcgisGPSMetadataFieldsAdded: import("@arcgis/lumina").TargetedEvent<this, GPSMetadataFieldSet>;
75
85
  /** Emitted when GPS metadata control visibility or service capabilities change. */
76
86
  readonly arcgisPropertyChange: import("@arcgis/lumina").TargetedEvent<this, { name: "canShowAddGPSMetadata" | "supportsAttachments" | "areSourceSchemaChangesAllowed"; }>;
77
87
  readonly arcgisReadOnlyMode: import("@arcgis/lumina").TargetedEvent<this, void>;
78
- readonly "@eventTypes": {
79
- arcgisGPSMetadataFieldsAdded: ArcgisPortalAddGpsMetadata["arcgisGPSMetadataFieldsAdded"]["detail"];
80
- arcgisPropertyChange: ArcgisPortalAddGpsMetadata["arcgisPropertyChange"]["detail"];
81
- arcgisReadOnlyMode: ArcgisPortalAddGpsMetadata["arcgisReadOnlyMode"]["detail"];
82
- };
88
+ readonly "@eventTypes": import("@arcgis/lumina").EventPayloads<Pick<this, "arcgisGPSMetadataFieldsAdded" | "arcgisPropertyChange" | "arcgisReadOnlyMode">>;
89
+ }
90
+ interface ArcgisPortalAddGpsMetadataEventHandlers<Target extends ArcgisPortalAddGpsMetadata = ArcgisPortalAddGpsMetadata> {
91
+ /** See {@link ArcgisPortalAddGpsMetadata.arcgisGPSMetadataFieldsAdded}. */
92
+ onarcgisGPSMetadataFieldsAdded?: import("@arcgis/lumina").EventHandler<Target["arcgisGPSMetadataFieldsAdded"]>;
93
+ /** See {@link ArcgisPortalAddGpsMetadata.arcgisPropertyChange}. */
94
+ onarcgisPropertyChange?: import("@arcgis/lumina").EventHandler<Target["arcgisPropertyChange"]>;
95
+ /** See {@link ArcgisPortalAddGpsMetadata.arcgisReadOnlyMode}. */
96
+ onarcgisReadOnlyMode?: import("@arcgis/lumina").EventHandler<Target["arcgisReadOnlyMode"]>;
97
+ }
98
+
99
+ interface ArcgisPortalAddGpsMetadataStencilEventHandlers<Target extends ArcgisPortalAddGpsMetadata = ArcgisPortalAddGpsMetadata> {
100
+ /** See {@link ArcgisPortalAddGpsMetadata.arcgisGPSMetadataFieldsAdded}. */
101
+ onArcgisGPSMetadataFieldsAdded?: import("@arcgis/lumina").EventHandler<Target["arcgisGPSMetadataFieldsAdded"]>;
102
+ /** See {@link ArcgisPortalAddGpsMetadata.arcgisPropertyChange}. */
103
+ onArcgisPropertyChange?: import("@arcgis/lumina").EventHandler<Target["arcgisPropertyChange"]>;
104
+ /** See {@link ArcgisPortalAddGpsMetadata.arcgisReadOnlyMode}. */
105
+ onArcgisReadOnlyMode?: import("@arcgis/lumina").EventHandler<Target["arcgisReadOnlyMode"]>;
106
+ }
107
+
108
+ declare global {
109
+ /** @deprecated Migrate using `npx @arcgis/codemod@latest run refactor-component-types`. Import ArcgisPortalAddGpsMetadata from its component module instead. */
110
+ type HTMLArcgisPortalAddGpsMetadataElement = ArcgisPortalAddGpsMetadata;
111
+ /** @deprecated Migrate using `npx @arcgis/codemod@latest run refactor-component-types`. Use ArcgisPortalAddGpsMetadata["@eventTypes"] instead. */
112
+ type HTMLArcgisPortalAddGpsMetadataElementEventMap = ArcgisPortalAddGpsMetadata["@eventTypes"];
83
113
  }
84
114
 
85
- export type GPSMetadataFieldSet = "base" | "gnss" | "rangefinder";
115
+
116
+ export type GPSMetadataFieldSet = "base" | "gnss" | "rangefinder";
117
+ export {};
@@ -10,15 +10,25 @@ import type { PortalAssistantTools } from "./types/assistantTools.js";
10
10
  import type { PortalAssistantEntityToolPresets } from "./types/portalEntityTools.js";
11
11
  import type { T9nMeta } from "@arcgis/lumina/controllers";
12
12
 
13
+ declare module "@arcgis/lumina" {
14
+ interface RegisteredElements {
15
+ /** See {@link ArcgisPortalAiAssistant}. */
16
+ "arcgis-portal-ai-assistant": ArcgisPortalAiAssistant;
17
+ }
18
+ }
19
+
13
20
  /** @internal */
14
21
  export abstract class ArcgisPortalAiAssistant extends LitElement {
15
22
  /** @default false */
16
23
  accessor autoDestroyDisabled: boolean;
17
24
  accessor config: Config;
18
25
  /**
19
- * The item, group, or organization displayed in the host application's current view.
20
- * The AI assistant uses this context to understand references such as "this item".
21
- * Assign a new object when the view changes, or `undefined` when there is no current entity.
26
+ * Application-defined JSON reference data for the current view or selection.
27
+ * The host defines the structure and must exclude secrets: all supplied fields are model-visible.
28
+ * Keep context small and relevant: it is included in each request and consumes model context space.
29
+ * Supply only JSON data, omitting unavailable fields. Context is serialized with `JSON.stringify`
30
+ * when a request starts; serialization errors are thrown. Assign a new object when context changes,
31
+ * or `undefined` when there is no context. Each request retains an independent, immutable snapshot.
22
32
  */
23
33
  accessor currentContext: PortalAssistantCurrentContext | undefined;
24
34
  /** @default false */
@@ -206,11 +216,30 @@ export abstract class ArcgisPortalAiAssistant extends LitElement {
206
216
  * ```
207
217
  */
208
218
  submitMessage(...args: Parameters<ArcgisAssistant["submitMessage"]>): Promise<void>;
219
+ readonly "@jsxProps": import("@arcgis/lumina").PickJsxProps<this, "autoDestroyDisabled" | "config" | "currentContext" | "defaultClosed" | "disabledAgents" | "entityToolPresets" | "navigationTargetMap" | "observabilityEnabled" | "portal" | "tools" | "user">;
220
+ readonly "@jsxEvents": ArcgisPortalAiAssistantEventHandlers<this>;
221
+ readonly "@jsxStencilEvents": ArcgisPortalAiAssistantStencilEventHandlers<this>;
209
222
  readonly arcgisPortalNavigationRequest: import("@arcgis/lumina").TargetedEvent<this, {
210
223
  href: string;
211
224
  targetDetail: PortalNavigationTarget;
212
225
  }>;
213
- readonly "@eventTypes": {
214
- arcgisPortalNavigationRequest: ArcgisPortalAiAssistant["arcgisPortalNavigationRequest"]["detail"];
215
- };
216
- }
226
+ readonly "@eventTypes": import("@arcgis/lumina").EventPayloads<Pick<this, "arcgisPortalNavigationRequest">>;
227
+ }
228
+ interface ArcgisPortalAiAssistantEventHandlers<Target extends ArcgisPortalAiAssistant = ArcgisPortalAiAssistant> {
229
+ /** See {@link ArcgisPortalAiAssistant.arcgisPortalNavigationRequest}. */
230
+ onarcgisPortalNavigationRequest?: import("@arcgis/lumina").EventHandler<Target["arcgisPortalNavigationRequest"]>;
231
+ }
232
+
233
+ interface ArcgisPortalAiAssistantStencilEventHandlers<Target extends ArcgisPortalAiAssistant = ArcgisPortalAiAssistant> {
234
+ /** See {@link ArcgisPortalAiAssistant.arcgisPortalNavigationRequest}. */
235
+ onArcgisPortalNavigationRequest?: import("@arcgis/lumina").EventHandler<Target["arcgisPortalNavigationRequest"]>;
236
+ }
237
+
238
+ declare global {
239
+ /** @deprecated Migrate using `npx @arcgis/codemod@latest run refactor-component-types`. Import ArcgisPortalAiAssistant from its component module instead. */
240
+ type HTMLArcgisPortalAiAssistantElement = ArcgisPortalAiAssistant;
241
+ /** @deprecated Migrate using `npx @arcgis/codemod@latest run refactor-component-types`. Use ArcgisPortalAiAssistant["@eventTypes"] instead. */
242
+ type HTMLArcgisPortalAiAssistantElementEventMap = ArcgisPortalAiAssistant["@eventTypes"];
243
+ }
244
+
245
+ export {};