@arcgis/portal-components 5.2.0-next.93 → 5.2.0-next.95

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 (90) hide show
  1. package/dist/cdn/{BMZFIENS.js → 27WR6TKM.js} +1 -1
  2. package/dist/cdn/{P6DWFLYH.js → 2LROLM5D.js} +1 -1
  3. package/dist/cdn/{P4ELMYQQ.js → 2M7ICZ55.js} +1 -1
  4. package/dist/cdn/2QCYQYNA.js +2 -0
  5. package/dist/cdn/2RPQKCIL.js +2 -0
  6. package/dist/cdn/{EZNTXOKK.js → 2Z5BVWD4.js} +1 -1
  7. package/dist/cdn/{2VGYRITT.js → 33IZVRD6.js} +1 -1
  8. package/dist/cdn/{BTSXQQKZ.js → 4PPXBKIJ.js} +3 -3
  9. package/dist/cdn/{H4L2DX4R.js → 4R5TLPGN.js} +1 -1
  10. package/dist/cdn/{Q54ZD7WJ.js → 6NHNSWIQ.js} +1 -1
  11. package/dist/cdn/{QH47GJCC.js → A6YWV3MB.js} +1 -1
  12. package/dist/cdn/{QLHCXOVQ.js → ACCEI7S4.js} +1 -1
  13. package/dist/cdn/{LTHZ2TRG.js → AVNFYSR4.js} +1 -1
  14. package/dist/cdn/{H76EB2WF.js → BA3HGV4Q.js} +1 -1
  15. package/dist/cdn/{7OR2HKBV.js → BCYZTGDC.js} +1 -1
  16. package/dist/cdn/BFH3HBUT.js +2 -0
  17. package/dist/cdn/BIJ755UR.js +2 -0
  18. package/dist/cdn/{GJ7GKO7I.js → BXDQIHOS.js} +1 -1
  19. package/dist/cdn/{KA4XSW6O.js → BY6ZY3C4.js} +1 -1
  20. package/dist/cdn/EFY6BRUW.js +2 -0
  21. package/dist/cdn/{7HHPKD5C.js → EHQVLI6M.js} +1 -1
  22. package/dist/cdn/FD7DZ3IE.js +2 -0
  23. package/dist/cdn/{5YCQRL4K.js → FJSGWELR.js} +1 -1
  24. package/dist/cdn/{CBXQFKN5.js → G2CJ5PLI.js} +1 -1
  25. package/dist/cdn/{T7FVQDHN.js → GBYHBRUW.js} +1 -1
  26. package/dist/cdn/{7XD6KSXV.js → GUTV5BR3.js} +1 -1
  27. package/dist/cdn/{PF3TB3QZ.js → H6QY5OJL.js} +1 -1
  28. package/dist/cdn/{DCIRWNQL.js → HFP5F435.js} +1 -1
  29. package/dist/cdn/{WNYL4EZA.js → HLQD6W3F.js} +1 -1
  30. package/dist/cdn/{YS2SZ3DL.js → IGZ7A7S3.js} +1 -1
  31. package/dist/cdn/{CNDTRZJT.js → INPDIPW5.js} +1 -1
  32. package/dist/cdn/JQTQZCBV.js +2 -0
  33. package/dist/cdn/{546M6SVH.js → KCJDG4OE.js} +1 -1
  34. package/dist/cdn/{PJLV3EQS.js → LDTVM22U.js} +1 -1
  35. package/dist/cdn/LDVTUC6I.js +2 -0
  36. package/dist/cdn/{MRHDSM6U.js → LLRHHAXZ.js} +1 -1
  37. package/dist/cdn/{YMLZCVEI.js → M6EVMQYT.js} +1 -1
  38. package/dist/cdn/MA5HWGFW.js +2 -0
  39. package/dist/cdn/{47ZPCFHE.js → NAAAOC2Z.js} +1 -1
  40. package/dist/cdn/{5Q7A62C3.js → NQX5UAUH.js} +86 -82
  41. package/dist/cdn/{ZGNXS6U5.js → PAFEMDUL.js} +1 -1
  42. package/dist/cdn/{KIKZIZGV.js → PH4LUNY2.js} +1 -1
  43. package/dist/cdn/{SFD33DHG.js → PKSH2HSK.js} +1 -1
  44. package/dist/cdn/{QNCSWTTL.js → PLVQ3AZ4.js} +1 -1
  45. package/dist/cdn/{E7MAKHJ5.js → QNFTJR2M.js} +1 -1
  46. package/dist/cdn/{433M2GP4.js → QVLQEBPD.js} +1 -1
  47. package/dist/cdn/{I2KQQXOO.js → S7IRYX4A.js} +1 -1
  48. package/dist/cdn/{OOH5B3WJ.js → T3BCFS2M.js} +1 -1
  49. package/dist/cdn/{R5BQIF6P.js → TFCRFHRE.js} +1 -1
  50. package/dist/cdn/VENYHN3O.js +2 -0
  51. package/dist/cdn/{EUWBMLIT.js → VHNV45FQ.js} +1 -1
  52. package/dist/cdn/{W7O7ZYZ4.js → VJ4STLVD.js} +1 -1
  53. package/dist/cdn/{7FVPT4SA.js → VKYMORWN.js} +1 -1
  54. package/dist/cdn/{6XLTWENT.js → VQKLCN3V.js} +1 -1
  55. package/dist/cdn/W4GBRVNN.js +2 -0
  56. package/dist/cdn/WAEULETE.js +2 -0
  57. package/dist/cdn/{O6ZQ4BRU.js → WYXW3ETE.js} +1 -1
  58. package/dist/cdn/{7SB7JHBR.js → XEH2E6NR.js} +1 -1
  59. package/dist/cdn/{TB4YQUMO.js → XWLOXRJZ.js} +1 -1
  60. package/dist/cdn/{RBQG66FL.js → YFT47SCG.js} +1 -1
  61. package/dist/cdn/{SXBAVMP3.js → YQHVXBGD.js} +1 -1
  62. package/dist/cdn/{O7KHFGHS.js → ZI3JA3SL.js} +1 -1
  63. package/dist/cdn/{WYLEYSM3.js → ZJ7GT4N2.js} +1 -1
  64. package/dist/cdn/{ZTGGJIVB.js → ZWDOT3HF.js} +1 -1
  65. package/dist/cdn/assets/portal-item-badges/t9n/messages.en.json +1 -1
  66. package/dist/cdn/index.js +1 -1
  67. package/dist/chunks/portal-item-badge.js +74 -71
  68. package/dist/chunks/utils2.js +28 -20
  69. package/dist/components/arcgis-portal-ai-assistant/agents/types.d.ts +18 -7
  70. package/dist/components/arcgis-portal-ai-assistant/customElement.js +625 -564
  71. package/dist/components/arcgis-portal-ai-assistant/data/capability-registries/types.d.ts +19 -8
  72. package/dist/components/arcgis-portal-ai-assistant/index.js +0 -1
  73. package/dist/components/arcgis-portal-navigation/customElement.js +159 -156
  74. package/dist/components/arcgis-portal-navigation/index.js +5 -4
  75. package/dist/docs/api.json +1 -1
  76. package/dist/docs/docs.json +1 -1
  77. package/dist/docs/web-types.json +1 -1
  78. package/package.json +5 -5
  79. package/dist/cdn/2T33E2DS.js +0 -2
  80. package/dist/cdn/3HAZNYCD.js +0 -2
  81. package/dist/cdn/DN2QW5FV.js +0 -2
  82. package/dist/cdn/HNWQS7DU.js +0 -2
  83. package/dist/cdn/K42KPAN7.js +0 -2
  84. package/dist/cdn/NVGQFC2K.js +0 -2
  85. package/dist/cdn/O3JIWIMI.js +0 -2
  86. package/dist/cdn/RDAUPHB6.js +0 -2
  87. package/dist/cdn/RVWAHK4A.js +0 -2
  88. package/dist/cdn/SKRCLDPZ.js +0 -2
  89. package/dist/cdn/YWNUWLOL.js +0 -2
  90. package/dist/cdn/YZNRN2K5.js +0 -2
@@ -1,16 +1,16 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import { c as I } from "./runtime.js";
3
- import { LitElement as v, nothing as R, safeClassMap as D } from "@arcgis/lumina";
2
+ import { c as v } from "./runtime.js";
3
+ import { LitElement as R, nothing as D, safeClassMap as B } from "@arcgis/lumina";
4
4
  import { css as C, html as g } from "lit";
5
- import { u as B } from "./useT9n.js";
5
+ import { u as M } from "./useT9n.js";
6
6
  import { substitute as h } from "@arcgis/core/intl.js";
7
- import { f as M } from "./user.js";
8
- import { a as W, b as d, i as x, c as $, d as f, g as b, e as K, f as L, h as E } from "./items.js";
9
- import { i as O } from "./users.js";
10
- import { g as _ } from "./user2.js";
11
- import { f as U } from "./verified.js";
12
- import { a as A, i as m } from "./info.js";
13
- const H = C`.badge{--calcite-color-foreground-2: var(--arcgis-item-badge-info-background, #dfeffa);--calcite-color-text-1: var(--arcgis-item-badge-info-foreground, #00619b);--arcgis-item-badge-color: var(--arcgis-item-badge-info-foreground, #00619b);--calcite-chip-background-color: var(--arcgis-item-badge-info-background, #dfeffa);border:0}.badge--colored{--calcite-chip-icon-color: var(--calcite-color-brand)}.authoritative{--calcite-color-foreground-2: var(--arcgis-item-badge-success-background, #e4f0e4);--calcite-color-text-1: var(--arcgis-item-badge-success-foreground, #1a6324);--arcgis-item-badge-color: var(--arcgis-item-badge-success-foreground, #1a6324);--calcite-chip-background-color: var(--arcgis-item-badge-success-background, #e4f0e4)}.deprecated{--calcite-color-foreground-2: var(--arcgis-item-badge-danger-background, #fadfdc);--calcite-color-text-1: var(--arcgis-item-badge-danger-foreground, #a82b1e);--arcgis-item-badge-color: var(--arcgis-item-badge-danger-foreground, #a82b1e);--calcite-chip-background-color: var(--arcgis-item-badge-danger-background, #fadfdc)}.beta{border:0}.narrow{box-sizing:border-box;width:2rem;--calcite-chip-spacing-unit-l: 0}.narrow--s{width:1.5rem}.narrow--l{width:2.75rem}.tooltip-title{font-size:var(--calcite-font-size--1);color:var(--calcite-color-text-1);margin:0 0 .25rem;padding:0}.tooltip-text{font-size:var(--calcite-font-size--2);color:var(--calcite-color-text-1);margin:0;padding:0}:host-context(.calcite-mode-dark) .badge{--calcite-color-foreground-2: var(--arcgis-item-badge-info-background, #214155);--calcite-color-text-1: var(--arcgis-item-badge-info-foreground, #9fd4f3);--arcgis-item-badge-color: var(--arcgis-item-badge-info-foreground, #9fd4f3);--calcite-chip-background-color: var(--arcgis-item-badge-info-background, #214155)}:host-context(.calcite-mode-dark) .authoritative{--calcite-color-foreground-2: var(--arcgis-item-badge-success-background, #2b472a);--calcite-color-text-1: var(--arcgis-item-badge-success-foreground, #a2e4ab);--arcgis-item-badge-color: var(--arcgis-item-badge-success-foreground, #a2e4ab);--calcite-chip-background-color: var(--arcgis-item-badge-success-background, #2b472a)}:host-context(.calcite-mode-dark) .deprecated{--calcite-color-foreground-2: var(--arcgis-item-badge-danger-background, #5e241e);--calcite-color-text-1: var(--arcgis-item-badge-danger-foreground, #ffaaa1);--arcgis-item-badge-color: var(--arcgis-item-badge-danger-foreground, #ffaaa1);--calcite-chip-background-color: var(--arcgis-item-badge-danger-background, #5e241e)}`, q = [
7
+ import { f as W } from "./user.js";
8
+ import { a as x, b as u, i as $, c as E, d as f, g as b, e as K, f as L, h as O } from "./items.js";
9
+ import { i as _ } from "./users.js";
10
+ import { g as U } from "./user2.js";
11
+ import { f as H } from "./verified.js";
12
+ import { a as w, i as m } from "./info.js";
13
+ const q = C`.badge{--calcite-color-foreground-2: var(--arcgis-item-badge-info-background, #dfeffa);--calcite-color-text-1: var(--arcgis-item-badge-info-foreground, #00619b);--arcgis-item-badge-color: var(--arcgis-item-badge-info-foreground, #00619b);--calcite-chip-background-color: var(--arcgis-item-badge-info-background, #dfeffa);border:0}.badge--colored{--calcite-chip-icon-color: var(--calcite-color-brand)}.authoritative{--calcite-color-foreground-2: var(--arcgis-item-badge-success-background, #e4f0e4);--calcite-color-text-1: var(--arcgis-item-badge-success-foreground, #1a6324);--arcgis-item-badge-color: var(--arcgis-item-badge-success-foreground, #1a6324);--calcite-chip-background-color: var(--arcgis-item-badge-success-background, #e4f0e4)}.deprecated{--calcite-color-foreground-2: var(--arcgis-item-badge-danger-background, #fadfdc);--calcite-color-text-1: var(--arcgis-item-badge-danger-foreground, #a82b1e);--arcgis-item-badge-color: var(--arcgis-item-badge-danger-foreground, #a82b1e);--calcite-chip-background-color: var(--arcgis-item-badge-danger-background, #fadfdc)}.beta{border:0}.narrow{box-sizing:border-box;width:2rem;--calcite-chip-spacing-unit-l: 0}.narrow--s{width:1.5rem}.narrow--l{width:2.75rem}.tooltip-title{font-size:var(--calcite-font-size--1);color:var(--calcite-color-text-1);margin:0 0 .25rem;padding:0}.tooltip-text{font-size:var(--calcite-font-size--2);color:var(--calcite-color-text-1);margin:0;padding:0}:host-context(.calcite-mode-dark) .badge{--calcite-color-foreground-2: var(--arcgis-item-badge-info-background, #214155);--calcite-color-text-1: var(--arcgis-item-badge-info-foreground, #9fd4f3);--arcgis-item-badge-color: var(--arcgis-item-badge-info-foreground, #9fd4f3);--calcite-chip-background-color: var(--arcgis-item-badge-info-background, #214155)}:host-context(.calcite-mode-dark) .authoritative{--calcite-color-foreground-2: var(--arcgis-item-badge-success-background, #2b472a);--calcite-color-text-1: var(--arcgis-item-badge-success-foreground, #a2e4ab);--arcgis-item-badge-color: var(--arcgis-item-badge-success-foreground, #a2e4ab);--calcite-chip-background-color: var(--arcgis-item-badge-success-background, #2b472a)}:host-context(.calcite-mode-dark) .deprecated{--calcite-color-foreground-2: var(--arcgis-item-badge-danger-background, #5e241e);--calcite-color-text-1: var(--arcgis-item-badge-danger-foreground, #ffaaa1);--arcgis-item-badge-color: var(--arcgis-item-badge-danger-foreground, #ffaaa1);--calcite-chip-background-color: var(--arcgis-item-badge-danger-background, #5e241e)}`, G = [
14
14
  "Operations Dashboard Add In",
15
15
  "Operations Dashboard Extension",
16
16
  "Operation View",
@@ -23,7 +23,7 @@ const H = C`.badge{--calcite-color-foreground-2: var(--arcgis-item-badge-info-ba
23
23
  "Map Template",
24
24
  "Mobile Basemap Package",
25
25
  "Desktop Add In"
26
- ], G = [
26
+ ], N = [
27
27
  "Cascade",
28
28
  "MapTour",
29
29
  "MapJournal",
@@ -31,40 +31,43 @@ const H = C`.badge{--calcite-color-foreground-2: var(--arcgis-item-badge-info-ba
31
31
  "Shortlist",
32
32
  "StoryMapCrowdsource",
33
33
  "StorytellingSwipe"
34
- ], N = {
34
+ ], z = {
35
35
  "Geoprocessing Package": ".gpk",
36
36
  Layer: ".lyr",
37
37
  "Layer Package": ".lpk",
38
38
  "Map Package": ".mpk",
39
39
  "Scene Package": ".spk"
40
- }, k = "", z = "template_name";
41
- function F(e) {
42
- const t = decodeURIComponent(e.url || b(e).url || "");
43
- return G.find((i) => t.includes(`/apps/${i}/index.html`));
44
- }
40
+ }, k = "", F = "template_name";
45
41
  function J(e) {
46
- return E(e);
42
+ const t = decodeURIComponent(e.url || b(e).url || "");
43
+ return N.find((i) => t.includes(`/apps/${i}/index.html`));
47
44
  }
48
45
  function V(e) {
49
- return $(e);
46
+ return O(e);
50
47
  }
51
48
  function j(e) {
52
- return x(e);
49
+ return E(e);
50
+ }
51
+ function Q(e) {
52
+ return $(e);
53
53
  }
54
54
  function T(e) {
55
- return e.type === "Web Mapping Application" && d(e).includes("Web AppBuilder");
55
+ return e.type === "Web Mapping Application" && d(e, ["Web AppBuilder", "AppBuilder Extension"]);
56
56
  }
57
57
  function y(e, t) {
58
- return (t?.isPortal ?? !1) && d(e).includes("AppBuilder Extension");
58
+ return (t?.isPortal ?? !1) && u(e).includes("AppBuilder Extension");
59
59
  }
60
- function u(e, t) {
60
+ function d(e, t) {
61
61
  return e.typeKeywords?.some((i) => t.includes(i));
62
62
  }
63
- function P(e, t) {
64
- const i = ["HTML3D/HTML", "App Builder", "Widget"], r = ["HTML3D/HTML", "Web AppBuilder", "Widget"], a = e.type === "Web Mapping Application", o = a && u(e, ["Web AppBuilder"]), c = a && u(e, ["WABTemplate"]), l = e.type === "AppBuilder Widget Package" && u(e, i), s = e.type === "Web AppBuilder Widget" && u(e, r), n = !!e?.owner?.startsWith("esri_") && a && u(e, ["Web AppBuilder for ArcGIS"]);
63
+ function X(e, t) {
64
+ return I(e, t) && !P(e, t);
65
+ }
66
+ function I(e, t) {
67
+ const i = ["HTML3D/HTML", "App Builder", "Widget"], r = ["HTML3D/HTML", "Web AppBuilder", "Widget"], a = e.type === "Web Mapping Application", o = a && d(e, ["Web AppBuilder"]), c = a && d(e, ["WABTemplate"]), l = e.type === "AppBuilder Widget Package" && d(e, i), s = e.type === "Web AppBuilder Widget" && d(e, r), n = !!e?.owner?.startsWith("esri_") && a && d(e, ["Web AppBuilder for ArcGIS"]);
65
68
  return o || c || l || s || y(e, t) || n;
66
69
  }
67
- function Q(e, t) {
70
+ function Y(e, t) {
68
71
  return t?.isPortal && [
69
72
  "Insights Workbook",
70
73
  "Insights Page",
@@ -78,36 +81,36 @@ function Q(e, t) {
78
81
  "Relational Database Connection"
79
82
  ].includes(e.type || "");
80
83
  }
81
- const X = (e, t) => (t?.isPortal ?? !1) && (T(e) || y(e, t) || m(e) || Q(e, t));
82
- function Y(e, t, i) {
84
+ const P = (e, t) => (t?.isPortal ?? !1) && (T(e) || y(e, t) || m(e) || Y(e, t));
85
+ function Z(e, t, i) {
83
86
  return e.type === t && (b(e).name?.endsWith(i) ?? !1);
84
87
  }
85
- function Z(e) {
86
- return Object.entries(N).some(
87
- ([t, i]) => Y(e, t, i)
88
+ function ee(e) {
89
+ return Object.entries(z).some(
90
+ ([t, i]) => Z(e, t, i)
88
91
  );
89
92
  }
90
- function ee(e, t) {
91
- return q.includes(e.type) || Z(e) || A(e) || J(e) || m(e) || X(e, t);
92
- }
93
- function te(e) {
94
- return (e.owner || "").toLowerCase().includes("esri") && d(e).includes("Requires Credits");
93
+ function te(e, t) {
94
+ return G.includes(e.type) || ee(e) || w(e) || V(e) || m(e) || P(e, t);
95
95
  }
96
96
  function ie(e) {
97
- return (e.owner || "").toLowerCase().includes("esri") && d(e).includes("Requires Subscription");
97
+ return (e.owner || "").toLowerCase().includes("esri") && u(e).includes("Requires Credits");
98
98
  }
99
99
  function re(e) {
100
+ return (e.owner || "").toLowerCase().includes("esri") && u(e).includes("Requires Subscription");
101
+ }
102
+ function ae(e) {
100
103
  return f(e) === "org_authoritative";
101
104
  }
102
105
  function S(e) {
103
106
  return f(e) === "public_authoritative";
104
107
  }
105
- function ae(e, t) {
108
+ function se(e, t) {
106
109
  return t === "Registered API Key Credentials (Standard)" || t === "Registered OAuth 2.0 Credentials (Standard)" ? k : e[t].title || k;
107
110
  }
108
111
  function Pe(e, t, i) {
109
- const r = [], a = d(e), o = b(e), c = K(e);
110
- if ((re(e) || S(e)) && r.push("Authoritative"), f(e) === "deprecated" && r.push("Deprecated"), P(e, t) && r.push("DeprecatedItemType"), L(e) && r.push("Beta"), e.type === "Solution" && a.includes("ArcGIS Solution") && r.push("Solution"), a.includes("Public Data Collection") && i && r.push("Public Data Collection"), ee(e, t) && r.push("Retired"), c.includes("livingatlas") && r.push("Living Atlas"), c.includes("opendata") && r.push("Open Data"), te(e) && r.push("Premium"), ie(e) && r.push("Subscriber"), o.origin && r.push("Collaboration"), e.owner !== "esri_apps" && o.listed && !t?.isPortal && r.push("Marketplace"), a.includes("Registered App")) {
112
+ const r = [], a = u(e), o = b(e), c = K(e);
113
+ if ((ae(e) || S(e)) && r.push("Authoritative"), f(e) === "deprecated" && r.push("Deprecated"), X(e, t) && r.push("DeprecatedItemType"), L(e) && r.push("Beta"), e.type === "Solution" && a.includes("ArcGIS Solution") && r.push("Solution"), a.includes("Public Data Collection") && i && r.push("Public Data Collection"), te(e, t) && r.push("Retired"), c.includes("livingatlas") && r.push("Living Atlas"), c.includes("opendata") && r.push("Open Data"), ie(e) && r.push("Premium"), re(e) && r.push("Subscriber"), o.origin && r.push("Collaboration"), e.owner !== "esri_apps" && o.listed && !t?.isPortal && r.push("Marketplace"), a.includes("Registered App")) {
111
114
  const l = t?.isPortal ?? !1;
112
115
  if (e.type !== "API Key" && (!l || e.owner !== "esri_apps")) {
113
116
  const s = a.includes("APIToken"), n = a.includes("Personal API Token") && !l;
@@ -120,7 +123,7 @@ function Pe(e, t, i) {
120
123
  }
121
124
  return a.includes("hasReplacementItem") && r.push("Has Replacement"), r;
122
125
  }
123
- function se({
126
+ function oe({
124
127
  badgeType: e,
125
128
  i18n: t,
126
129
  portal: i
@@ -134,9 +137,9 @@ function se({
134
137
  const a = t[e].title;
135
138
  return r ? a.enterprise : a.online;
136
139
  }
137
- return ae(t, e);
140
+ return se(t, e);
138
141
  }
139
- function oe(e) {
142
+ function ne(e) {
140
143
  const t = {
141
144
  MapSeries: "Series",
142
145
  MapJournal: "Journal",
@@ -146,13 +149,13 @@ function oe(e) {
146
149
  MapTour: "Tour",
147
150
  StoryMapCrowdsource: "Crowdsource",
148
151
  StorytellingSwipe: "Swipe & Spyglass"
149
- }, r = d(e).find((o) => o in t);
152
+ }, r = u(e).find((o) => o in t);
150
153
  if (r)
151
154
  return t[r];
152
- const a = F(e);
155
+ const a = J(e);
153
156
  return a && t[a] || !1;
154
157
  }
155
- async function ne({
158
+ async function ce({
156
159
  badgeType: e,
157
160
  i18n: t,
158
161
  item: i,
@@ -161,34 +164,34 @@ async function ne({
161
164
  user: o,
162
165
  useProduction: c
163
166
  }) {
164
- const l = !o || O(o);
167
+ const l = !o || _(o);
165
168
  switch (e) {
166
169
  case "Authoritative": {
167
170
  if (S(i)) {
168
- const s = await U(i, r, a, c), n = t.Authoritative.tooltip, p = a?.isPortal && !c ? a?.name : s?.name || a?.name || i.owner;
171
+ const s = await H(i, r, a, c), n = t.Authoritative.tooltip, p = a?.isPortal && !c ? a?.name : s?.name || a?.name || i.owner;
169
172
  return h(n.public, { name: p || "" });
170
173
  }
171
174
  return t.Authoritative.tooltip.org;
172
175
  }
173
176
  case "Deprecated": {
174
- const s = i.owner || "", n = await M(s, a, c), p = _(n, r);
177
+ const s = i.owner || "", n = await W(s, a, c), p = U(n, r);
175
178
  return h(t.Deprecated.tooltip, { owner: p });
176
179
  }
177
180
  case "DeprecatedItemType": {
178
181
  const s = t.DeprecatedItemType.tooltip;
179
- return P(i, a) ? s.webAppBuilder : s.general;
182
+ return I(i, a) ? s.webAppBuilder : s.general;
180
183
  }
181
184
  case "Retired": {
182
185
  const s = t.Retired.tooltip;
183
- if (A(i)) {
184
- const n = oe(i);
186
+ if (w(i)) {
187
+ const n = ne(i);
185
188
  if (n) {
186
- const p = { [z]: n };
189
+ const p = { [F]: n };
187
190
  return h(s.classicStoryMap, p);
188
191
  }
189
192
  return s.classicStoryMapGeneric;
190
193
  }
191
- return j(i) ? s.cityEngine : T(i) || y(i, a) ? s.webAppBuilder : m(i) ? s.app : V(i) ? s.bdfs : s.general;
194
+ return Q(i) ? s.cityEngine : T(i) || y(i, a) ? s.webAppBuilder : m(i) ? s.app : j(i) ? s.bdfs : s.general;
192
195
  }
193
196
  case "Subscriber": {
194
197
  const s = t.Subscriber.tooltip;
@@ -212,7 +215,7 @@ async function ne({
212
215
  return t[e].tooltip;
213
216
  }
214
217
  }
215
- function ce({
218
+ function le({
216
219
  badgeType: e,
217
220
  i18n: t,
218
221
  item: i,
@@ -220,16 +223,16 @@ function ce({
220
223
  }) {
221
224
  if (e !== "Has Replacement" || r.isPortal)
222
225
  return null;
223
- const a = W(i);
226
+ const a = x(i);
224
227
  return a ? {
225
228
  title: t["Has Replacement"].link,
226
- href: le({ portal: r, itemId: a })
229
+ href: de({ portal: r, itemId: a })
227
230
  } : null;
228
231
  }
229
- function le({ itemId: e, portal: t }) {
232
+ function de({ itemId: e, portal: t }) {
230
233
  return t?.restUrl ? `${t.restUrl.replace("sharing/rest", "home")}/item.html?id=${e}` : "";
231
234
  }
232
- function w() {
235
+ function A() {
233
236
  return {
234
237
  loading: !1,
235
238
  title: "",
@@ -237,29 +240,29 @@ function w() {
237
240
  tooltipLink: null
238
241
  };
239
242
  }
240
- class de extends v {
243
+ class pe extends R {
241
244
  constructor() {
242
- super(...arguments), this._messages = B({ name: "portal-item-badges", blocking: !0 }), this.tooltipRequestId = 0, this.tooltipId = `portal-item-badge-${Math.random().toString(36).slice(2, 10)}`, this.details = w(), this.width = "full", this.scale = "m", this.showTooltip = !1;
245
+ super(...arguments), this._messages = M({ name: "portal-item-badges", blocking: !0 }), this.tooltipRequestId = 0, this.tooltipId = `portal-item-badge-${Math.random().toString(36).slice(2, 10)}`, this.details = A(), this.width = "full", this.scale = "m", this.showTooltip = !1;
243
246
  }
244
247
  static {
245
248
  this.properties = { details: 16, item: 0, portal: 0, user: 0, badgeType: 1, width: 1, appearance: 1, scale: 1, showTooltip: 5, useProduction: 5 };
246
249
  }
247
250
  static {
248
- this.styles = H;
251
+ this.styles = q;
249
252
  }
250
253
  willUpdate(t) {
251
254
  (t.has("badgeType") || t.has("item") || t.has("portal") || t.has("user") || t.has("showTooltip") || t.has("useProduction")) && this.loadDetails();
252
255
  }
253
256
  loadDetails() {
254
257
  if (!this.badgeType || !this.portal) {
255
- this.details = w();
258
+ this.details = A();
256
259
  return;
257
260
  }
258
- const t = se({
261
+ const t = oe({
259
262
  badgeType: this.badgeType,
260
263
  i18n: this._messages,
261
264
  portal: this.portal
262
- }), i = this.item && this.portal ? ce({
265
+ }), i = this.item && this.portal ? le({
263
266
  badgeType: this.badgeType,
264
267
  i18n: this._messages,
265
268
  item: this.item,
@@ -280,7 +283,7 @@ class de extends v {
280
283
  title: t,
281
284
  tooltip: "",
282
285
  tooltipLink: i
283
- }, ne({
286
+ }, ce({
284
287
  badgeType: this.badgeType,
285
288
  i18n: this._messages,
286
289
  item: this.item,
@@ -307,7 +310,7 @@ class de extends v {
307
310
  render() {
308
311
  if (!this.badgeType)
309
312
  return null;
310
- const t = pe[this.badgeType], i = this.width === "narrow", r = this.showTooltip && (this.details.loading || !!this.details.tooltip || !!this.details.tooltipLink), a = {
313
+ const t = ue[this.badgeType], i = this.width === "narrow", r = this.showTooltip && (this.details.loading || !!this.details.tooltip || !!this.details.tooltipLink), a = {
311
314
  badge: this.badgeType !== "Beta",
312
315
  "badge--colored": this.badgeType === "Living Atlas" || this.badgeType === "Open Data" || this.badgeType === "Solution",
313
316
  beta: this.badgeType === "Beta",
@@ -316,10 +319,10 @@ class de extends v {
316
319
  narrow: i,
317
320
  [`narrow--${this.scale}`]: i
318
321
  };
319
- return g`<calcite-chip id=${this.tooltipId ?? R} class=${D(a)} .value=${this.badgeType} .tabIndex=${this.showTooltip ? 0 : -1} .scale=${this.scale} .appearance=${this.appearance} .label=${this.details.title} .icon=${t}>${i ? null : this.details.title}</calcite-chip>${r ? g`<calcite-tooltip .referenceElement=${this.tooltipId} close-on-click placement=bottom-start overlay-positioning=fixed offset-distance=6 offset-skidding=0>${i ? g`<h3 class="tooltip-title">${this.details.title}</h3>` : null}<p class="tooltip-text"><calcite-loader .hidden=${!this.details.loading} .label=${this._messages.loading} inline scale=s></calcite-loader>${this.details.loading ? this._messages.loading : this.details.tooltip}</p>${this.details.tooltipLink ? g`<calcite-link @click=${(o) => o.stopPropagation()} icon-end=launch .href=${this.details.tooltipLink.href} target=_blank>${this.details.tooltipLink.title}</calcite-link>` : null}</calcite-tooltip>` : null}`;
322
+ return g`<calcite-chip id=${this.tooltipId ?? D} class=${B(a)} .value=${this.badgeType} .tabIndex=${this.showTooltip ? 0 : -1} .scale=${this.scale} .appearance=${this.appearance} .label=${this.details.title} .icon=${t}>${i ? null : this.details.title}</calcite-chip>${r ? g`<calcite-tooltip .referenceElement=${this.tooltipId} close-on-click placement=bottom-start overlay-positioning=fixed offset-distance=6 offset-skidding=0>${i ? g`<h3 class="tooltip-title">${this.details.title}</h3>` : null}<p class="tooltip-text"><calcite-loader .hidden=${!this.details.loading} .label=${this._messages.loading} inline scale=s></calcite-loader>${this.details.loading ? this._messages.loading : this.details.tooltip}</p>${this.details.tooltipLink ? g`<calcite-link @click=${(o) => o.stopPropagation()} icon-end=launch .href=${this.details.tooltipLink.href} target=_blank>${this.details.tooltipLink.title}</calcite-link>` : null}</calcite-tooltip>` : null}`;
320
323
  }
321
324
  }
322
- const pe = {
325
+ const ue = {
323
326
  Authoritative: "check-circle",
324
327
  Beta: "beaker",
325
328
  Collaboration: "collaboration-distributed",
@@ -342,8 +345,8 @@ const pe = {
342
345
  Solution: "arcgis-solutions",
343
346
  Subscriber: "security"
344
347
  };
345
- I("arcgis-portal-item-badge", de);
348
+ v("arcgis-portal-item-badge", pe);
346
349
  export {
347
- de as A,
350
+ pe as A,
348
351
  Pe as g
349
352
  };
@@ -1,7 +1,7 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import { u as f, i as S, a as M, b as A, c as x, d as C, e as j, f as G } from "./item2.js";
2
+ import { u as f, i as h, a as A, b as M, c as x, d as C, e as G, f as j } from "./item2.js";
3
3
  const L = (r) => typeof r?.role == "string" && r?.role ? r?.role : r?.roleId ?? r?.sourceJSON?.id;
4
- function h(r) {
4
+ function S(r) {
5
5
  return r ? ["org_admin", "account_admin"].includes(L(r)) && !r?.roleId : !1;
6
6
  }
7
7
  function T(r) {
@@ -11,23 +11,23 @@ function E(r) {
11
11
  return !!r?.privileges?.includes("portal:admin:deleteItems");
12
12
  }
13
13
  function W(r, t) {
14
- return t ? f(r, t) || r.itemControl === "update" || S([r], t) && h(t) : !1;
14
+ return t ? f(r, t) || r.itemControl === "update" || h([r], t) && S(t) : !1;
15
15
  }
16
16
  function R(r, t) {
17
17
  if (!t)
18
18
  return !1;
19
- const a = S([r], t), e = f(r, t) || h(t) && a, i = T(t) && E(t);
19
+ const a = h([r], t), e = f(r, t) || S(t) && a, i = T(t) && E(t);
20
20
  return !!(e || a && i);
21
21
  }
22
- async function K({ item: r, messages: t, user: a, serviceInfo: e, portal: i }) {
23
- const c = O(r), n = V(r, t, i);
22
+ async function F({ item: r, messages: t, user: a, serviceInfo: e, portal: i }) {
23
+ const c = V(r), n = B(r, t, i);
24
24
  return {
25
25
  displayName: b(n, { item: r, user: a, messages: t, serviceInfo: e }, !1),
26
26
  displayNameHosted: b(n, { item: r, user: a, messages: t, serviceInfo: e }, !0),
27
27
  icon: c
28
28
  };
29
29
  }
30
- function $(r) {
30
+ function K(r) {
31
31
  if (r.type !== "Scene Service" && r.type !== "3DTiles Service")
32
32
  return null;
33
33
  const t = r.typeKeywords;
@@ -37,7 +37,7 @@ function b(r, { item: t, user: a, messages: e, serviceInfo: i }, c = !0) {
37
37
  const n = t.type === "Image Service";
38
38
  if (!t || !e || !(c && a) && t.type !== "Image Service")
39
39
  return r;
40
- const s = t.type === "Feature Service" && t.typeKeywords?.includes("UtilityNetwork"), p = t.type === "Feature Service" && t.typeKeywords?.includes("ParcelFabric"), v = t.type === "Feature Service" && t.typeKeywords?.includes("Query Layer"), d = a && W(t, a), g = a && R(t, a), u = M(t), y = (d || g) && u, m = (d || g) && c;
40
+ const s = t.type === "Feature Service" && t.typeKeywords?.includes("UtilityNetwork"), p = t.type === "Feature Service" && t.typeKeywords?.includes("ParcelFabric"), v = t.type === "Feature Service" && t.typeKeywords?.includes("Query Layer"), d = a && W(t, a), g = a && R(t, a), u = A(t), y = (d || g) && u, m = (d || g) && c;
41
41
  if (v)
42
42
  return `${r} (${e.query})`;
43
43
  if (p)
@@ -47,23 +47,23 @@ function b(r, { item: t, user: a, messages: e, serviceInfo: i }, c = !0) {
47
47
  return `${r} (${e.utilityNetwork}${o})`;
48
48
  }
49
49
  if (n) {
50
- const o = t.typeKeywords?.includes("Elevation 3D Layer"), w = m && u, P = A(t, i) && !o, I = x(t, i) && !o, l = `${w ? "Hosted" : ""}${I ? "Collection" : ""}${P ? "Multidimensional" : ""}`, k = l && `${l[0].toLowerCase()}${l.slice(1)}`, D = k ? ` (${e[k]})` : "";
50
+ const o = t.typeKeywords?.includes("Elevation 3D Layer"), w = m && u, P = M(t, i) && !o, I = x(t, i) && !o, l = `${w ? "Hosted" : ""}${I ? "Collection" : ""}${P ? "Multidimensional" : ""}`, k = l && `${l[0].toLowerCase()}${l.slice(1)}`, D = k ? ` (${e[k]})` : "";
51
51
  return `${r}${D}`;
52
52
  }
53
53
  if (m) {
54
54
  if (t.type === "Scene Service" || t.type === "3DTiles Service") {
55
- const o = $(t);
55
+ const o = K(t);
56
56
  o && (r = `${r} - ${e[o] || o}`);
57
57
  }
58
58
  if (u) {
59
59
  const o = ` (${C(t) ? e.hostedView : e.hosted})`;
60
60
  return `${r}${o}`;
61
61
  }
62
- return j(t) ? `${r} (${e.locatorView})` : G(t) ? `${r} (${e.photoLocations})` : r;
62
+ return G(t) ? `${r} (${e.locatorView})` : j(t) ? `${r} (${e.photoLocations})` : r;
63
63
  }
64
64
  return r;
65
65
  }
66
- const B = {
66
+ const $ = {
67
67
  "360 VR Experience": "360 VR experience",
68
68
  "3DTiles Package": "3D tiles package",
69
69
  "3DTiles Service": "3D tiles layer",
@@ -234,7 +234,7 @@ const B = {
234
234
  "Viewer Configuration": "Viewer configuration",
235
235
  "XR Experience": "XR experience"
236
236
  };
237
- function V(r, t, a) {
237
+ function B(r, t, a) {
238
238
  const e = r.typeKeywords || [];
239
239
  switch (r.type) {
240
240
  case "Stream Service":
@@ -309,6 +309,10 @@ function V(r, t, a) {
309
309
  return "3D tiles package";
310
310
  case "API Key":
311
311
  return "API key (legacy)";
312
+ case "Knowledge Graph Configuration":
313
+ if (e.includes("Data Loading"))
314
+ return "Knowledge Graph Data Loading Configuration";
315
+ break;
312
316
  case "Web Mapping Application":
313
317
  if (e.includes("configurableApp"))
314
318
  return "Instant App";
@@ -318,6 +322,8 @@ function V(r, t, a) {
318
322
  return "Indoors Space Planner";
319
323
  if (e.includes("IndoorsFloorPlanEditorApp"))
320
324
  return "Indoors Floor Plan Editor";
325
+ if (e.includes("IndoorsKiosk2App"))
326
+ return "Indoors Kiosk";
321
327
  break;
322
328
  case "Application":
323
329
  case "Mobile Application":
@@ -327,10 +333,10 @@ function V(r, t, a) {
327
333
  return "Instant App";
328
334
  break;
329
335
  }
330
- const i = B[r.type] || r.type;
336
+ const i = $[r.type] || r.type;
331
337
  return i?.toLowerCase().includes("add in") ? i.replace(/(add in)/giu, "add-in") : i;
332
338
  }
333
- function O(r) {
339
+ function V(r) {
334
340
  const t = r.type?.toLowerCase() || "", a = r.typeKeywords || [], e = a.includes("Hosted Service");
335
341
  switch (t.trim()) {
336
342
  case "360 vr experience":
@@ -389,7 +395,7 @@ function O(r) {
389
395
  case "operation view":
390
396
  case "desktop application":
391
397
  return a?.some(
392
- (c) => ["IndoorsApp", "IndoorsSpaceplannerApp", "IndoorsFloorPlanEditorApp"].includes(c)
398
+ (c) => ["IndoorsApp", "IndoorsSpaceplannerApp", "IndoorsFloorPlanEditorApp", "IndoorsKiosk2App"].includes(c)
393
399
  ) ? "indoors" : a.includes("configurableApp") ? "instantapps" : "apps";
394
400
  case "map document":
395
401
  case "map package":
@@ -596,7 +602,9 @@ function O(r) {
596
602
  case "knowledge graph":
597
603
  return "knowledgegraph";
598
604
  case "knowledge graph configuration":
599
- return "knowledgegraphconfiguration";
605
+ if (a.includes("Data Loading"))
606
+ return "knowledgegraphconfiguration";
607
+ break;
600
608
  case "knowledge studio project":
601
609
  return "knowledgestudio";
602
610
  case "knowledge graph layer":
@@ -650,7 +658,7 @@ function O(r) {
650
658
  return a.includes("Document") ? "datafilesgray" : t.includes("service") ? "layers" : "maps";
651
659
  }
652
660
  export {
653
- V as a,
654
- K as g,
655
- h as i
661
+ B as a,
662
+ F as g,
663
+ S as i
656
664
  };
@@ -9,30 +9,32 @@ export type PortalNavigationTarget = PortalNavigationDestination
9
9
  export type PartialPortalNavigationTargetMap = Partial<PortalNavigationTargetMap>;
10
10
 
11
11
  export type PortalNavigationDestination = {
12
- destinationType: "portal-content";
13
- hash?: PortalContentNavigationHash;
14
- queryParams?: PortalContentQueryParams;
15
- } | { destinationType: "portal-gallery" | "portal-map-viewer" | "portal-notebooks" | "portal-scene-viewer"; } | {
16
12
  destinationType: "portal-group";
17
13
  groupId: string;
14
+ hash?: PortalGroupNavigationHash;
15
+ queryParams?: Record<string, string>;
18
16
  } | {
17
+ destinationType: "portal-content";
18
+ hash?: PortalContentNavigationHash;
19
+ queryParams?: PortalContentQueryParams;
20
+ } | { destinationType: "portal-gallery"; } | {
19
21
  destinationType: "portal-groups";
20
22
  hash?: PortalGroupsNavigationHash;
21
23
  } | {
22
24
  destinationType: "portal-item";
23
25
  itemId: string;
24
- } | {
26
+ } | { destinationType: "portal-map-viewer"; } | { destinationType: "portal-notebooks"; } | {
25
27
  destinationType: "portal-org";
26
28
  hash?: PortalOrgNavigationHash;
27
29
  queryParams?: PortalOrgQueryParams;
28
- };
30
+ } | { destinationType: "portal-scene-viewer"; };
29
31
 
30
32
  export interface PortalNavigationTargetMap {
31
33
  "portal-content": (hash?: PortalContentNavigationHash, queryParams?: PortalContentQueryParams) => string;
32
34
  "portal-gallery": string;
33
35
  "portal-groups": (hash?: PortalGroupsNavigationHash) => string;
34
36
  "portal-item": (itemId: string) => string;
35
- "portal-group": (groupId: string) => string;
37
+ "portal-group": (groupId: string, hash?: PortalGroupNavigationHash, queryParams?: Record<string, string>) => string;
36
38
  "portal-map-viewer": string;
37
39
  "portal-notebooks": string;
38
40
  "portal-org": (hash?: PortalOrgNavigationHash, queryParams?: PortalOrgQueryParams) => string;
@@ -45,6 +47,8 @@ export type PortalGroupsNavigationHash = (typeof portalGroupsNavigationHashes)[n
45
47
 
46
48
  export type PortalOrgNavigationHash = (typeof portalOrgNavigationHashes)[number];
47
49
 
50
+ export type PortalGroupNavigationHash = (typeof portalGroupNavigationHashes)[number];
51
+
48
52
  export type PortalContentQueryParams = {
49
53
  newItem?: ContentNewItemParamValue;
50
54
  };
@@ -71,6 +75,13 @@ export const portalGroupsNavigationHashes: readonly [
71
75
  "organization"
72
76
  ];
73
77
 
78
+ export const portalGroupNavigationHashes: readonly [
79
+ "overview",
80
+ "content",
81
+ "members",
82
+ "settings"
83
+ ];
84
+
74
85
  export const portalOrgNavigationHashes: readonly [
75
86
  "licenses",
76
87
  "members",