@esri/solutions-components 5.1.0-next.146 → 5.1.0-next.148

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 (107) hide show
  1. package/dist/cdn/{BQE6IVEF.js → 3A2YSBVB.js} +1 -1
  2. package/dist/cdn/{QKJJHBMB.js → 42GXADY4.js} +1 -1
  3. package/dist/cdn/{L3UI7EZZ.js → 4DAGSZIC.js} +1 -1
  4. package/dist/cdn/{ULUJKWT5.js → 4FRYNYQ6.js} +1 -1
  5. package/dist/cdn/4RJURJQ5.js +2 -0
  6. package/dist/cdn/{7CLM77HQ.js → 4SBOBTOR.js} +1 -1
  7. package/dist/cdn/{CVRBLJ5O.js → 5MPDXVRM.js} +1 -1
  8. package/dist/cdn/{MPCJZCL5.js → 5O7LFBHI.js} +2 -2
  9. package/dist/cdn/{7ADKNWWI.js → 6AUKNSKW.js} +1 -1
  10. package/dist/cdn/{FSWG7SUT.js → 6K3C5JX2.js} +1 -1
  11. package/dist/cdn/6VCG2ITQ.js +2 -0
  12. package/dist/cdn/{NOXANMDF.js → 757HAEJS.js} +1 -1
  13. package/dist/cdn/{P4XNRWG7.js → 7Q5BT35O.js} +1 -1
  14. package/dist/cdn/{4NZDPHHF.js → 7WYPODAB.js} +1 -1
  15. package/dist/cdn/{463VANZI.js → BH42V5CR.js} +1 -1
  16. package/dist/cdn/DD2Y5NOB.js +2 -0
  17. package/dist/cdn/{J5K2SIY6.js → DMM5WA5Q.js} +3 -3
  18. package/dist/cdn/DO7NLLUV.js +2 -0
  19. package/dist/cdn/{UKQPYE7U.js → DQQTSOMQ.js} +1 -1
  20. package/dist/cdn/{Y4KGXRSD.js → FWLPMS4Q.js} +1 -1
  21. package/dist/cdn/{M4II4TSX.js → G3C6IL5Y.js} +1 -1
  22. package/dist/cdn/{3DCFUYKP.js → GG4IIHQE.js} +1 -1
  23. package/dist/cdn/GRQLB7ZG.js +2 -0
  24. package/dist/cdn/{5DEYOM7D.js → HQLA2AI4.js} +1 -1
  25. package/dist/cdn/{MHVLVLRA.js → HYQVSB6C.js} +1 -1
  26. package/dist/cdn/I46CXTVR.js +2 -0
  27. package/dist/cdn/{MIH5YMTN.js → JMBANG5V.js} +1 -1
  28. package/dist/cdn/KETYOYXQ.js +2 -0
  29. package/dist/cdn/{GJD7AOUI.js → KH5WPLZK.js} +1 -1
  30. package/dist/cdn/{IDEOFV22.js → LTLR4VF3.js} +1 -1
  31. package/dist/cdn/NQH7ZZWD.js +2 -0
  32. package/dist/cdn/OANAQ6HY.js +2 -0
  33. package/dist/cdn/{FAIQTEVJ.js → PP7EF7UU.js} +1 -1
  34. package/dist/cdn/{L6P26BYB.js → Q2DJUFVO.js} +1 -1
  35. package/dist/cdn/{LCV5GKUD.js → Q35DDH7J.js} +123 -123
  36. package/dist/cdn/{RIHOGDUV.js → QC4MO5BO.js} +1 -1
  37. package/dist/cdn/QDKHYQJB.js +2 -0
  38. package/dist/cdn/{FCJSMT5G.js → RMO244NW.js} +1 -1
  39. package/dist/cdn/RY6KZ77P.js +2 -0
  40. package/dist/cdn/{PBGG3TGN.js → RYBSWXQQ.js} +1 -1
  41. package/dist/cdn/{2UMMLVCR.js → SYQ5E5TV.js} +1 -1
  42. package/dist/cdn/{E6YCTW3S.js → TKOGOWYQ.js} +14 -14
  43. package/dist/cdn/UBEU6ULP.js +2 -0
  44. package/dist/cdn/UCQJWFUW.js +2 -0
  45. package/dist/cdn/{2PUK3PST.js → W7I22AW3.js} +1 -1
  46. package/dist/cdn/{RUQ4RO4T.js → WUEJANIZ.js} +1 -1
  47. package/dist/cdn/{BMMIXOTR.js → WXL7GVUU.js} +1 -1
  48. package/dist/cdn/{B5MBF4JC.js → XO54BFTC.js} +1 -1
  49. package/dist/cdn/{XGYNSCTA.js → Y37QLEAM.js} +1 -1
  50. package/dist/cdn/{O6ZQYZKL.js → YFJZN5K5.js} +1 -1
  51. package/dist/cdn/{6T35OGRG.js → YTU2BYBP.js} +1 -1
  52. package/dist/cdn/{5LF6C3S5.js → YWALGZAG.js} +1 -1
  53. package/dist/cdn/{F26SXWZ5.js → ZNH7LRND.js} +1 -1
  54. package/dist/cdn/index.js +1 -1
  55. package/dist/chunks/Auth.js +1 -1
  56. package/dist/chunks/deployFlowController.js +1 -1
  57. package/dist/chunks/helpers.js +47 -43
  58. package/dist/chunks/interfaces.js +105 -102
  59. package/dist/chunks/solution-builder-assistant.js +183 -119
  60. package/dist/chunks/solution-deploy-dialog.js +4 -4
  61. package/dist/chunks/solutions-deploy-app-nav.js +2 -2
  62. package/dist/chunks/validators.js +3 -3
  63. package/dist/components/arcgis-solutions-assistant/customElement.js +115 -101
  64. package/dist/components/arcgis-solutions-assistant/index.js +1 -0
  65. package/dist/components/card-manager/customElement.js +8 -8
  66. package/dist/components/create-feature/customElement.js +107 -113
  67. package/dist/components/crowdsource-reporter/customElement.js +1 -1
  68. package/dist/components/layer-table/customElement.d.ts +3 -0
  69. package/dist/components/layer-table/customElement.js +110 -100
  70. package/dist/components/solution-configure-titles/customElement.js +11 -10
  71. package/dist/components/solution-delete-dialog/customElement.js +9 -8
  72. package/dist/components/solution-deploy-dialog/customElement.d.ts +6 -2
  73. package/dist/components/solution-deployed-card-panel/customElement.js +41 -38
  74. package/dist/components/solution-details-card/customElement.js +1 -1
  75. package/dist/components/solution-details-panel/customElement.js +114 -100
  76. package/dist/components/solution-item-diagram/customElement.js +6 -6
  77. package/dist/components/solution-resource-card/customElement.js +1 -1
  78. package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
  79. package/dist/components/solutions-all-panel/customElement.js +1 -1
  80. package/dist/components/solutions-deploy-app/customElement.js +9 -11
  81. package/dist/components/solutions-deployed-panel/customElement.js +7 -7
  82. package/dist/components/solutions-deployed-shell/customElement.js +1 -1
  83. package/dist/components/solutions-filter-panel/customElement.js +1 -1
  84. package/dist/components/solutions-searchsort-toolbar/customElement.js +1 -1
  85. package/dist/docs/api.json +1 -1
  86. package/dist/docs/docs.json +1 -1
  87. package/dist/docs/vscode.html-custom-data.json +1 -1
  88. package/dist/docs/web-types.json +1 -1
  89. package/dist/solutions-components_commit.txt +9 -6
  90. package/dist/types/lumina.d.ts +1 -0
  91. package/dist/types/preact.d.ts +1 -0
  92. package/dist/types/react.d.ts +1 -0
  93. package/dist/types/stencil.d.ts +1 -0
  94. package/package.json +1 -1
  95. package/dist/cdn/3JQ2RXVJ.js +0 -2
  96. package/dist/cdn/54AE7WD2.js +0 -2
  97. package/dist/cdn/7WD3GNG4.js +0 -2
  98. package/dist/cdn/D3XPV5W4.js +0 -2
  99. package/dist/cdn/KDNGZ47C.js +0 -2
  100. package/dist/cdn/KIPRPYME.js +0 -2
  101. package/dist/cdn/PBMTIFFX.js +0 -2
  102. package/dist/cdn/PECGJO2P.js +0 -2
  103. package/dist/cdn/QGCF64WY.js +0 -2
  104. package/dist/cdn/Z3B5KW2S.js +0 -2
  105. package/dist/cdn/ZM27FRZG.js +0 -2
  106. package/dist/cdn/ZUPXKH75.js +0 -2
  107. package/dist/cdn/ZYLKUZID.js +0 -2
@@ -1,11 +1,11 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
2
  import * as f from "@esri/solution-common";
3
- import { c as D } from "./runtime.js";
4
- import { css as R, html as r, svg as v } from "lit";
5
- import { u as C } from "./useT9n.js";
6
- import { LitElement as k, createEvent as L, nothing as m, safeClassMap as N } from "@arcgis/lumina";
7
- import { useContextConsumer as _ } from "@arcgis/lumina/context";
8
- import { c as M, i as $ } from "./deployAppContexts.js";
3
+ import { c as R } from "./runtime.js";
4
+ import { css as v, html as r, svg as C } from "lit";
5
+ import { u as k } from "./useT9n.js";
6
+ import { LitElement as L, createEvent as N, nothing as m, safeClassMap as M } from "@arcgis/lumina";
7
+ import { useContextConsumer as b } from "@arcgis/lumina/context";
8
+ import { c as $, i as P } from "./deployAppContexts.js";
9
9
  import "@arcgis/lumina/controllers";
10
10
  import "@arcgis/core/identity/IdentityManager.js";
11
11
  import "@arcgis/core/identity/OAuthInfo.js";
@@ -15,10 +15,10 @@ import "@arcgis/core/geometry/Extent.js";
15
15
  import "@arcgis/core/geometry/SpatialReference.js";
16
16
  import "@arcgis/core/geometry/operators/projectOperator.js";
17
17
  import "@arcgis/core/geometry/operators/support/geographicTransformationUtils.js";
18
- import { u as P, k as u, i as x } from "./helpers.js";
19
- import { createRef as b, ref as y } from "lit-html/directives/ref.js";
20
- const U = R`calcite-card{height:100%;padding-bottom:var(--calcite-spacing-base)}@media(max-width:400px){calcite-card{width:100%}}calcite-card:hover img{-webkit-filter:brightness(30%);filter:brightness(30%);-webkit-transition:all .1s ease;-moz-transition:all .1s ease;-o-transition:all .1s ease;-ms-transition:all .1s ease;transition:all .1s ease}calcite-card:hover .hover-text{opacity:1;color:#fff}calcite-card:hover{outline:var(--calcite-spacing-base) solid var(--calcite-color-brand);box-sizing:content-box;cursor:pointer}.hover-text{transition:.1s ease;opacity:0;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);text-align:center;display:flex;flex-direction:row;align-items:center;height:100%;font-size:var(--calcite-spacing-xl)}.card-image-wrap{flex:0 0 auto}.card-image-wrap{width:100%;position:relative;margin-bottom:0;-webkit-box-flex:0 0 auto;-ms-flex:0 0 auto;flex:0 0 auto}.card-image{width:100%;display:block}video,img{max-width:100%;height:auto}img{overflow-clip-margin:content-box;overflow:clip}.width-full{width:100%}.deployed-label-override{--calcite-label-text-color: var(--calcite-color-text-3);--calcite-label-margin-bottom: var(--calcite-spacing-none)}.svg-color{fill:var(--calcite-color-text-3)}.padding-end-1-2{padding-inline-end:var(--calcite-spacing-sm)}.padding-bottom-1-2{padding-bottom:var(--calcite-spacing-sm)}.display-flex{display:flex}.display-none{display:none}.flex-direction-column{flex-direction:column}.align-items-center{align-items:center}.font-weight-400,.font-weight-normal{font-weight:400}.font-color-text-2{--calcite-label-text-color: var(--calcite-color-text-2)}.font-line-height{line-height:1.4}.font-size-size--1{font-size:var(--calcite-font-size--1)}.icon-brand-color{--calcite-icon-color: var(--calcite-color-brand)}.header-line-height{--calcite-label-margin-bottom: 0;margin-top:var(--calcite-spacing-sm);margin-bottom:.7rem}.dialog-y-size{--calcite-dialog-size-y: 90% }.dialog-x-size{--calcite-dialog-size-x: 90% }.justify-content-space-between{justify-content:space-between}.panel-bg-color{--calcite-panel-header-background-color: var(--calcite-color-surface-2);--calcite-panel-background-color: var(--calcite-color-surface-2)}.cursor-default{cursor:default}.chipClass{padding-bottom:var(--calcite-spacing-sm)!important}`;
21
- async function G(i, e) {
18
+ import { v as x, l as u, i as U, j as T } from "./helpers.js";
19
+ import { createRef as y, ref as E } from "lit-html/directives/ref.js";
20
+ const G = v`calcite-card{height:100%;padding-bottom:var(--calcite-spacing-base)}@media(max-width:400px){calcite-card{width:100%}}calcite-card:hover img{-webkit-filter:brightness(30%);filter:brightness(30%);-webkit-transition:all .1s ease;-moz-transition:all .1s ease;-o-transition:all .1s ease;-ms-transition:all .1s ease;transition:all .1s ease}calcite-card:hover .hover-text{opacity:1;color:#fff}calcite-card:hover{outline:var(--calcite-spacing-base) solid var(--calcite-color-brand);box-sizing:content-box;cursor:pointer}.hover-text{transition:.1s ease;opacity:0;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);text-align:center;display:flex;flex-direction:row;align-items:center;height:100%;font-size:var(--calcite-spacing-xl)}.card-image-wrap{flex:0 0 auto}.card-image-wrap{width:100%;position:relative;margin-bottom:0;-webkit-box-flex:0 0 auto;-ms-flex:0 0 auto;flex:0 0 auto}.card-image{width:100%;display:block}video,img{max-width:100%;height:auto}img{overflow-clip-margin:content-box;overflow:clip}.width-full{width:100%}.deployed-label-override{--calcite-label-text-color: var(--calcite-color-text-3);--calcite-label-margin-bottom: var(--calcite-spacing-none)}.svg-color{fill:var(--calcite-color-text-3)}.padding-end-1-2{padding-inline-end:var(--calcite-spacing-sm)}.padding-bottom-1-2{padding-bottom:var(--calcite-spacing-sm)}.display-flex{display:flex}.display-none{display:none}.flex-direction-column{flex-direction:column}.align-items-center{align-items:center}.font-weight-400,.font-weight-normal{font-weight:400}.font-color-text-2{--calcite-label-text-color: var(--calcite-color-text-2)}.font-line-height{line-height:1.4}.font-size-size--1{font-size:var(--calcite-font-size--1)}.icon-brand-color{--calcite-icon-color: var(--calcite-color-brand)}.header-line-height{--calcite-label-margin-bottom: 0;margin-top:var(--calcite-spacing-sm);margin-bottom:.7rem}.dialog-y-size{--calcite-dialog-size-y: 90% }.dialog-x-size{--calcite-dialog-size-x: 90% }.justify-content-space-between{justify-content:space-between}.panel-bg-color{--calcite-panel-header-background-color: var(--calcite-color-surface-2);--calcite-panel-background-color: var(--calcite-color-surface-2)}.cursor-default{cursor:default}.chipClass{padding-bottom:var(--calcite-spacing-sm)!important}`;
21
+ async function B(i, e) {
22
22
  const t = await f.getItemDataAsJson(i, e);
23
23
  if (!t)
24
24
  throw new Error(`Solution ${i} was not found`);
@@ -52,32 +52,32 @@ async function G(i, e) {
52
52
  }
53
53
  return a;
54
54
  }
55
- function Ae(i, e, t) {
55
+ function Oe(i, e, t) {
56
56
  const s = i.templates.map((h) => h.type), a = [];
57
- a.push(q), s.indexOf("Group") >= 0 && (a.push(E), a.push(A)), s.indexOf("Feature Service") >= 0 && a.push(w);
57
+ a.push(j), s.indexOf("Group") >= 0 && (a.push(w), a.push(O)), s.indexOf("Feature Service") >= 0 && a.push(A);
58
58
  const n = s.indexOf("Feed") > -1;
59
- n && a.push(X);
59
+ n && a.push(J);
60
60
  const c = s.indexOf("Big Data Analytic") > -1;
61
- c && a.push(j);
61
+ c && a.push(X);
62
62
  const d = s.indexOf("Real Time Analytic") > -1;
63
- d && a.push(Q), (n || c || d) && a.push(ae), s.indexOf("Workflow") > -1 && (a.push(E), a.push(w), a.push(A), a.push(oe)), s.indexOf("Geoprocessing Service") > -1 && (a.push(J), t.IsEnterprisePortal && a.push(ee));
63
+ d && a.push(Z), (n || c || d) && a.push(oe), s.indexOf("Workflow") > -1 && (a.push(w), a.push(A), a.push(O), a.push(ne)), s.indexOf("Geoprocessing Service") > -1 && (a.push(Q), t.IsEnterprisePortal && a.push(te));
64
64
  const o = i.templates.reduce(
65
65
  (h, p) => h.concat(p.item.typeKeywords || []),
66
66
  []
67
67
  );
68
- return K(a, o, t), F(a, e), B(a, i), a;
68
+ return F(a, o, t), H(a, e), K(a, i), a;
69
69
  }
70
- function B(i, e) {
71
- e.templates.some((t) => t.type === "Group" && t.item?.membershipAccess === "collaboration") && i.push(Y);
70
+ function K(i, e) {
71
+ e.templates.some((t) => t.type === "Group" && t.item?.membershipAccess === "collaboration") && i.push(q);
72
72
  }
73
- function K(i, e, t) {
74
- const s = O(t), a = H(t);
75
- ["Location Tracking View"].some((c) => e.indexOf(c) > -1) && (!s && !a ? i.push(te) : s && !a ? i.push(ie) : !s && a && i.push(se));
73
+ function F(i, e, t) {
74
+ const s = S(t), a = V(t);
75
+ ["Location Tracking View"].some((c) => e.indexOf(c) > -1) && (!s && !a ? i.push(ie) : s && !a ? i.push(se) : !s && a && i.push(ae));
76
76
  }
77
- function F(i, e) {
78
- ["HubPremium"].some((s) => e.indexOf(s) > -1) && i.push(Z);
77
+ function H(i, e) {
78
+ ["HubPremium"].some((s) => e.indexOf(s) > -1) && i.push(ee);
79
79
  }
80
- function O(i) {
80
+ function S(i) {
81
81
  const e = i?.PortalUserSubset?.privileges, t = [
82
82
  "portal:admin:create",
83
83
  "portal:admin:delete",
@@ -88,10 +88,10 @@ function O(i) {
88
88
  (s) => e.some((a) => a.startsWith(s))
89
89
  ) : !1;
90
90
  }
91
- function H(i) {
91
+ function V(i) {
92
92
  return i.PortalSubset?.locationTrackingEnabled || !1;
93
93
  }
94
- function Oe(i, e) {
94
+ function Se(i, e) {
95
95
  let t = {
96
96
  leadingMessages: [],
97
97
  bulletedMessages: [],
@@ -129,7 +129,7 @@ function Oe(i, e) {
129
129
  );
130
130
  d && t.leadingMessages.push(d), e = e.filter((p) => s.indexOf(p) < 0), e.forEach((p) => {
131
131
  t.bulletedMessages.push(
132
- S(i, p)
132
+ I(i, p)
133
133
  );
134
134
  });
135
135
  let o = g(
@@ -142,9 +142,9 @@ function Oe(i, e) {
142
142
  ), t;
143
143
  }
144
144
  function g(i, e, t) {
145
- return e.filter((a) => a.includes(t)).length > 0 ? S(i, t) : "";
145
+ return e.filter((a) => a.includes(t)).length > 0 ? I(i, t) : "";
146
146
  }
147
- function S(i, e) {
147
+ function I(i, e) {
148
148
  const t = i.missingPrivilegesPopup.requiredPrivilegesList;
149
149
  let s = "";
150
150
  switch (e) {
@@ -199,34 +199,34 @@ function S(i, e) {
199
199
  }
200
200
  return s;
201
201
  }
202
- function Se(i, e) {
203
- const t = I(e), s = P([{ k: "id", v: i }]) || "";
202
+ function Ie(i, e) {
203
+ const t = D(e), s = x([{ k: "id", v: i }]) || "";
204
204
  return t ? `${t}/home/item.html${s}` : "";
205
205
  }
206
- function Ie(i, e, t, s) {
207
- const a = s || I(t);
206
+ function De(i, e, t, s) {
207
+ const a = s || D(t);
208
208
  return a ? `${a}/sharing/rest/content/items/${i}/resources/${e}` : "";
209
209
  }
210
- function I(i) {
210
+ function D(i) {
211
211
  return i?.PortalSubset?.orgUrl || i?.PortalUrl || "";
212
212
  }
213
- function V(i, e) {
213
+ function W(i, e) {
214
214
  const t = new URL(i);
215
215
  return t.searchParams.set("token", e), t.toString();
216
216
  }
217
- class W extends k {
217
+ class z extends L {
218
218
  constructor() {
219
- super(), this.deployedDate = "", this.description = "", this.diagramKey = "", this.heading = "", this.itemId = "", this.owner = "", this.thumbnail = "", this.updateAvailable = !1, this.templateInfos = [], this._isDeleteOpen = !1, this._isDiagramOpen = !1, this.isMobile = !1, this.templateInfoGraph = [], this._configureTitlesOpen = !1, this._thumbnailUrl = "", this._translations = C({ name: "solution-deployed-card", blocking: !0 }), this._configContextConsumer = _({
220
- context: M,
219
+ super(), this.deployedDate = "", this.description = "", this.diagramKey = "", this.heading = "", this.itemId = "", this.owner = "", this.thumbnail = "", this.updateAvailable = !1, this.templateInfos = [], this._isDeleteOpen = !1, this._isDiagramOpen = !1, this.isMobile = !1, this.templateInfoGraph = [], this._configureTitlesOpen = !1, this._thumbnailUrl = "", this._translations = k({ name: "solution-deployed-card", blocking: !0 }), this._configContextConsumer = b({
220
+ context: $,
221
221
  subscribe: !0,
222
222
  callback: async (e) => {
223
- e && (this._isOrgAdmin = O(e.authentication), this._thumbnailUrl = `${this.thumbnail}&token=${e.userSession?.token}`);
223
+ e && (this._isOrgAdmin = S(e.authentication), this._thumbnailUrl = `${this.thumbnail}&token=${e.userSession?.token}`);
224
224
  }
225
- }), this._deleteDialogRef = b(), this._diagramDialogRef = b(), this._isOrgAdmin = !1, this._isMobileContextConsumer = _({
226
- context: $,
225
+ }), this._deleteDialogRef = y(), this._diagramDialogRef = y(), this._isOrgAdmin = !1, this._isMobileContextConsumer = b({
226
+ context: P,
227
227
  subscribe: !0,
228
228
  callback: (e) => this.isMobile = e
229
- }), this.deployedCardSelected = L(), this.listenOn(window, "sessionRefreshed", (e) => {
229
+ }), this.deployedCardSelected = N(), this.listenOn(window, "sessionRefreshed", (e) => {
230
230
  this._updateThumbnailToken(e.detail);
231
231
  });
232
232
  }
@@ -234,7 +234,7 @@ class W extends k {
234
234
  this.properties = { card: 0, deployedDate: 1, description: 1, diagramKey: 1, heading: 1, itemId: 1, owner: 1, thumbnail: 1, updateAvailable: 5, templateInfos: 0, _isDeleteOpen: 16, _isDiagramOpen: 16, isMobile: 16, templateInfoGraph: 16, _configureTitlesOpen: 16, _thumbnailUrl: 16, _translations: 16 };
235
235
  }
236
236
  static {
237
- this.styles = U;
237
+ this.styles = G;
238
238
  }
239
239
  get _telemetry() {
240
240
  return this._configContextConsumer.value?.telemetrySession;
@@ -265,28 +265,28 @@ class W extends k {
265
265
  return r`<calcite-label class="font-weight-400 padding-end-1-2" layout=inline scale=s>${`${this._translations.owner}:`}<calcite-link class="font-weight-normal" @click=${this._openUserProfile} @keydown=${(e) => u(e, () => this._openUserProfile(e))}>${this.owner}</calcite-link></calcite-label>`;
266
266
  }
267
267
  _getDeployedDate() {
268
- return r`<div class="display-flex align-items-center"><div class="padding-end-1-2"><svg aria-hidden=true height=16px viewBox="0 0 32 32" width=16px xmlns=http://www.w3.org/2000/svg>${v`<path class="svg-color" d="M29.963 7.672a1.586 1.586 0 0 0-1.584-1.585h-5.274a.187.187 0 0 1-.188-.187V3.977A2 2 0 0 0 20.825 2h-9.672A2.095 2.095 0 0 0 9.06 4.093V5.9a.187.187 0 0 1-.187.187H3.598a1.586 1.586 0 0 0-1.584 1.585v4.016a.281.281 0 0 0 .281.28H4.9l.014-.013V9.153a.177.177 0 0 1 .177-.177h21.46a.456.456 0 0 1 .449.45v13.742A1.832 1.832 0 0 1 25.168 25h-8.892a.568.568 0 0 1-.534-.373 3.98 3.98 0 0 0-7.6.373H5.657a.757.757 0 0 1-.757-.757v-3.055A.188.188 0 0 0 4.714 21H2.028l-.014.014v4.58a2.35 2.35 0 0 0 2.347 2.346h4.161a3.963 3.963 0 0 0 6.8.256.569.569 0 0 1 .475-.256h12.065a2.102 2.102 0 0 0 2.101-2.101zM21 5.625a.375.375 0 0 1-.375.375h-9.25A.375.375 0 0 1 11 5.625V4.45a.456.456 0 0 1 .45-.45h9.1a.456.456 0 0 1 .45.45zM12 28a2 2 0 1 1 2-2 2 2 0 0 1-2 2z" /><path class="svg-color" d="M13.273 17.994a.57.57 0 0 1 .479.262A3.73 3.73 0 0 0 17 20a3.74 3.74 0 0 0 3.403-2.006h3.41a.188.188 0 0 0 .187-.188v-2.589a.187.187 0 0 0-.188-.188H20.8A3.8 3.8 0 0 0 17 12a4.058 4.058 0 0 0-3.69 2.647.568.568 0 0 1-.537.383H1.093a.094.094 0 0 0-.093.093V17.9a.094.094 0 0 0 .094.094zM17 13.9a2.1 2.1 0 1 1-2.1 2.1 2.1 2.1 0 0 1 2.1-2.1z" />`}</svg></div><calcite-label class="deployed-label-override" scale=s>${this._translations.deployedDate.replace("{{date}}", this.deployedDate)}</calcite-label></div>`;
268
+ return r`<div class="display-flex align-items-center"><div class="padding-end-1-2"><svg aria-hidden=true height=16px viewBox="0 0 32 32" width=16px xmlns=http://www.w3.org/2000/svg>${C`<path class="svg-color" d="M29.963 7.672a1.586 1.586 0 0 0-1.584-1.585h-5.274a.187.187 0 0 1-.188-.187V3.977A2 2 0 0 0 20.825 2h-9.672A2.095 2.095 0 0 0 9.06 4.093V5.9a.187.187 0 0 1-.187.187H3.598a1.586 1.586 0 0 0-1.584 1.585v4.016a.281.281 0 0 0 .281.28H4.9l.014-.013V9.153a.177.177 0 0 1 .177-.177h21.46a.456.456 0 0 1 .449.45v13.742A1.832 1.832 0 0 1 25.168 25h-8.892a.568.568 0 0 1-.534-.373 3.98 3.98 0 0 0-7.6.373H5.657a.757.757 0 0 1-.757-.757v-3.055A.188.188 0 0 0 4.714 21H2.028l-.014.014v4.58a2.35 2.35 0 0 0 2.347 2.346h4.161a3.963 3.963 0 0 0 6.8.256.569.569 0 0 1 .475-.256h12.065a2.102 2.102 0 0 0 2.101-2.101zM21 5.625a.375.375 0 0 1-.375.375h-9.25A.375.375 0 0 1 11 5.625V4.45a.456.456 0 0 1 .45-.45h9.1a.456.456 0 0 1 .45.45zM12 28a2 2 0 1 1 2-2 2 2 0 0 1-2 2z" /><path class="svg-color" d="M13.273 17.994a.57.57 0 0 1 .479.262A3.73 3.73 0 0 0 17 20a3.74 3.74 0 0 0 3.403-2.006h3.41a.188.188 0 0 0 .187-.188v-2.589a.187.187 0 0 0-.188-.188H20.8A3.8 3.8 0 0 0 17 12a4.058 4.058 0 0 0-3.69 2.647.568.568 0 0 1-.537.383H1.093a.094.094 0 0 0-.093.093V17.9a.094.094 0 0 0 .094.094zM17 13.9a2.1 2.1 0 1 1-2.1 2.1 2.1 2.1 0 0 1 2.1-2.1z" />`}</svg></div><calcite-label class="deployed-label-override" scale=s>${this._translations.deployedDate.replace("{{date}}", this.deployedDate)}</calcite-label></div>`;
269
269
  }
270
270
  _getChips() {
271
271
  return r`<calcite-chip class="chipClass" icon=effects .label=${this._translations.builtWithAI} scale=s>${this._translations.builtWithAI}</calcite-chip>`;
272
272
  }
273
273
  _getConfigureButton() {
274
- const e = this._configContextConsumer.value?.userSession?.username, t = this._configContextConsumer.value?.authentication?.CanUpdateSolution, s = this._configContextConsumer.value?.authentication?.CanDeleteSolution && this._configContextConsumer.value?.authentication?.CanUpdateSolution, a = x(this._configContextConsumer.value), n = this.card?.owner === e || this._isOrgAdmin || t, c = this.card?.owner === e || this._isOrgAdmin || s, d = n ? "display-none" : "";
274
+ const e = this._configContextConsumer.value?.userSession?.username, t = this._configContextConsumer.value?.authentication?.CanUpdateSolution, s = this._configContextConsumer.value?.authentication?.CanDeleteSolution && this._configContextConsumer.value?.authentication?.CanUpdateSolution, a = U(this._configContextConsumer.value), n = this.card?.owner === e || this._isOrgAdmin || t, c = this.card?.owner === e || this._isOrgAdmin || s, d = n ? "display-none" : "";
275
275
  return r`<calcite-split-button appearance=outline aria-label=${this._translations.openSolution ?? m} dropdown-label=${this._translations.moreActions ?? m} kind=neutral @calciteSplitButtonPrimaryClick=${this._cardSelected} @click=${(o) => o.stopPropagation()} @keydown=${(o) => o.stopPropagation()} overlay-positioning=fixed primary-text=${this._translations.openSolution ?? m} width=full><calcite-dropdown-group selection-mode=none>${!this.isMobile && r`<calcite-dropdown-item icon-start=model @click=${this._viewDiagram} @keydown=${(o) => u(o, () => this._viewDiagram(o))}>${this._translations.viewDiagram}</calcite-dropdown-item>` || ""}<calcite-dropdown-item icon-start=file-text @click=${this._viewDocumentation} @keydown=${(o) => u(o, () => this._viewDocumentation(o))}>${this._translations.documentation}</calcite-dropdown-item><calcite-dropdown-item icon-start=information @click=${this._viewItemDetails} @keydown=${(o) => u(o, () => this._viewItemDetails(o))}>${this._translations.viewItemDetails}</calcite-dropdown-item>${!this.isMobile && n && r`<calcite-dropdown-item .disabled=${a} icon-start=edit-attributes id=solution-configure-titles-dropdown @click=${async () => {
276
276
  this.templateInfos = await this._processTemplates(this.card), this._configureTitlesOpen = !0;
277
277
  }} @keydown=${(o) => u(o, async () => {
278
278
  this.templateInfos = await this._processTemplates(this.card), this._configureTitlesOpen = !0;
279
- })}>${this._translations.renameItems}</calcite-dropdown-item>` || ""}${!this.isMobile && c && r`<calcite-dropdown-item .disabled=${a} icon-start=trash @click=${this._deleteSolution} @keydown=${(o) => u(o, () => this._deleteSolution(o))}>${this._translations.deleteSolution}</calcite-dropdown-item>` || ""}</calcite-dropdown-group><calcite-tooltip class=${N(d)} overlay-positioning=fixed reference-element=solution-configure-titles-dropdown><span>${this._translations.mustOwnSolution}</span></calcite-tooltip></calcite-split-button>`;
279
+ })}>${this._translations.renameItems}</calcite-dropdown-item>` || ""}${!this.isMobile && c && r`<calcite-dropdown-item .disabled=${a} icon-start=trash @click=${this._deleteSolution} @keydown=${(o) => u(o, () => this._deleteSolution(o))}>${this._translations.deleteSolution}</calcite-dropdown-item>` || ""}</calcite-dropdown-group><calcite-tooltip class=${M(d)} overlay-positioning=fixed reference-element=solution-configure-titles-dropdown><span>${this._translations.mustOwnSolution}</span></calcite-tooltip></calcite-split-button>`;
280
280
  }
281
281
  _renderDeleteDialog() {
282
282
  return this._isDeleteOpen ? r`<solution-delete-dialog .card=${this.card} @solutionDeleteDialogOpen=${(e) => {
283
283
  this._isDeleteOpen = e.detail;
284
- }} .open=${this._isDeleteOpen} source="Card Dropdown" ${y(this._deleteDialogRef)}></solution-delete-dialog>` : "";
284
+ }} .open=${this._isDeleteOpen} source="Card Dropdown" ${E(this._deleteDialogRef)}></solution-delete-dialog>` : "";
285
285
  }
286
286
  _renderDiagramDialog() {
287
287
  return this._isDiagramOpen ? r`<calcite-dialog class="dialog-y-size dialog-x-size panel-bg-color" .heading=${this._translations.diagramTitle.replace("{{solution}}", this.card?.title ?? "")} id=${this._translations.diagramTitle.replace("{{solution}}", this.card?.title ?? "") ?? m} modal .open=${this._isDiagramOpen} @calciteDialogClose=${() => {
288
288
  this._isDiagramOpen = !1;
289
- }} outside-close-disabled scale=m width=l ${y(this._diagramDialogRef)}><solution-item-diagram .diagramKey=${this.diagramKey} .templateInfoGraph=${this.templateInfoGraph} .typeKeywords=${this.card?.typeKeywords}></solution-item-diagram></calcite-dialog>` : "";
289
+ }} outside-close-disabled scale=m width=l ${E(this._diagramDialogRef)}><solution-item-diagram .diagramKey=${this.diagramKey} .templateInfoGraph=${this.templateInfoGraph} .typeKeywords=${this.card?.typeKeywords}></solution-item-diagram></calcite-dialog>` : "";
290
290
  }
291
291
  _renderConfigureTitlesDialog() {
292
292
  return this._configureTitlesOpen ? r`<solution-configure-titles .card=${this.card} @solutionConfigureTitlesBeforeClose=${async () => {
@@ -307,37 +307,40 @@ class W extends k {
307
307
  }
308
308
  async _viewDiagram(e) {
309
309
  e.stopPropagation(), this.card && (this._telemetry?.logEvent({
310
- category: T.DEPLOYMENTS,
310
+ category: _.DEPLOYMENTS,
311
311
  action: "View Diagram",
312
312
  dimensions: [
313
313
  this.card.title || "",
314
314
  this.card.deployCommonId || "",
315
315
  this.card.deployVersion || "",
316
- "Card Dropdown"
316
+ "Dropdown",
317
+ T(this.card?.typeKeywords)
317
318
  ]
318
319
  }), this.templateInfoGraph = await this._processTemplates(this.card), this._isDiagramOpen = !0);
319
320
  }
320
321
  _viewDocumentation(e) {
321
322
  e.stopPropagation(), this._telemetry?.logEvent({
322
- category: T.DEPLOYMENTS,
323
+ category: _.DEPLOYMENTS,
323
324
  action: "Open Help",
324
325
  dimensions: [
325
326
  this.card?.title || "",
326
327
  this.card?.deployCommonId || "",
327
328
  this.card?.deployVersion || "",
328
- "Card Dropdown"
329
+ "Card Dropdown",
330
+ T(this.card?.typeKeywords)
329
331
  ]
330
332
  }), window.open(this.card.learnMoreUrl, "_blank");
331
333
  }
332
334
  _viewItemDetails(e) {
333
335
  e.stopPropagation(), this._telemetry?.logEvent({
334
- category: T.DEPLOYMENTS,
336
+ category: _.DEPLOYMENTS,
335
337
  action: "Open Item Details",
336
338
  dimensions: [
337
339
  this.card?.title || "",
338
340
  this.card?.deployCommonId || "",
339
341
  this.card?.deployVersion || "",
340
- "Card Dropdown"
342
+ "Card Dropdown",
343
+ T(this.card?.typeKeywords)
341
344
  ]
342
345
  }), window.open(this.card.itemUrl, "_blank");
343
346
  }
@@ -350,14 +353,14 @@ class W extends k {
350
353
  t && window.open(`${t}/home/user.html?user=${this.owner}`, "_blank");
351
354
  }
352
355
  async _processTemplates(e) {
353
- return await G(e.id, this._configContextConsumer.value.userSession);
356
+ return await B(e.id, this._configContextConsumer.value.userSession);
354
357
  }
355
358
  _updateThumbnailToken(e) {
356
- this._thumbnailUrl !== "" && (this._thumbnailUrl = V(this._thumbnailUrl, e));
359
+ this._thumbnailUrl !== "" && (this._thumbnailUrl = W(this._thumbnailUrl, e));
357
360
  }
358
361
  }
359
- D("solution-deployed-card", W);
360
- const De = 500, Re = {
362
+ R("solution-deployed-card", z);
363
+ const Re = 500, ve = {
361
364
  AEC: "Architecture, Engineering, and Construction (AEC)",
362
365
  AIRPORTPORTRAIL: "Airports, Ports, and Rails",
363
366
  BUSINESS: "Business",
@@ -371,7 +374,7 @@ const De = 500, Re = {
371
374
  STATEANDLOCALGOVERNMENT: "State and Local Government",
372
375
  TELECOMMUNICATIONS: "Telecommunications",
373
376
  UTILITIES: "Utilities"
374
- }, ve = {
377
+ }, Ce = {
375
378
  AIRPORT: "Airports",
376
379
  AGRICULTURE: "Agriculture",
377
380
  ASSESSMENTANDTAXATION: "Assessment and Taxation",
@@ -396,8 +399,8 @@ const De = 500, Re = {
396
399
  TRANSPORTATION: "Transportation",
397
400
  WATER: "Water Distribution"
398
401
  };
399
- var l = /* @__PURE__ */ ((i) => (i.HUBPREMIUM = "solutions:hubPremium", i.NOTEBOOK = "solutions:notebook", i.TRACKINGBASE = "solutions:locationtracking", i.TRACKING = "solutions:locationtracking:tracking", i.TRACKINGADMIN = "solutions:locationtracking:admin", i.TRACKINGADMINANDTRACKING = "solutions:locationtracking:admin:tracking", i.VELOCITY = "solutions:velocity", i.WORKFLOW = "solutions:workflowManager", i))(l || {}), z = /* @__PURE__ */ ((i) => (i.VELOCITYBIGDATA = "portal:publisher:publishBigDataAnalytics", i.VELOCITYFEEDS = "portal:publisher:publishFeeds", i.VELOCITYREALTIME = "portal:publisher:publishRealTimeAnalytics", i))(z || {});
400
- const Ce = '((typekeywords:Deployed,"ArcGIS Solution") OR (typekeywords:Deployed,AIAssistant) OR ((typekeywords:Deployed) AND (created:[1577862000000 TO 1622576880000])))', ke = "(typekeywords:Solution,Template)", Y = "portal:user:addExternalMembersToGroup", q = "portal:user:createItem", E = "portal:user:createGroup", j = "portal:publisher:publishBigDataAnalytics", w = "portal:publisher:publishFeatures", X = "portal:publisher:publishFeeds", J = "portal:publisher:publishServerGPServices", Q = "portal:publisher:publishRealTimeAnalytics", A = "portal:user:shareToGroup", Z = "solutions:hubPremium", ee = "solutions:notebook", te = "solutions:locationtracking:admin:tracking", ie = "solutions:locationtracking:tracking", se = "solutions:locationtracking:admin", ae = "solutions:velocity", oe = "solutions:workflowManager", Le = 250, Ne = 256, T = {
402
+ var l = /* @__PURE__ */ ((i) => (i.HUBPREMIUM = "solutions:hubPremium", i.NOTEBOOK = "solutions:notebook", i.TRACKINGBASE = "solutions:locationtracking", i.TRACKING = "solutions:locationtracking:tracking", i.TRACKINGADMIN = "solutions:locationtracking:admin", i.TRACKINGADMINANDTRACKING = "solutions:locationtracking:admin:tracking", i.VELOCITY = "solutions:velocity", i.WORKFLOW = "solutions:workflowManager", i))(l || {}), Y = /* @__PURE__ */ ((i) => (i.VELOCITYBIGDATA = "portal:publisher:publishBigDataAnalytics", i.VELOCITYFEEDS = "portal:publisher:publishFeeds", i.VELOCITYREALTIME = "portal:publisher:publishRealTimeAnalytics", i))(Y || {});
403
+ const ke = '((typekeywords:Deployed,"ArcGIS Solution") OR (typekeywords:Deployed,AIAssistant) OR ((typekeywords:Deployed) AND (created:[1577862000000 TO 1622576880000])))', Le = "(typekeywords:Solution,Template)", q = "portal:user:addExternalMembersToGroup", j = "portal:user:createItem", w = "portal:user:createGroup", X = "portal:publisher:publishBigDataAnalytics", A = "portal:publisher:publishFeatures", J = "portal:publisher:publishFeeds", Q = "portal:publisher:publishServerGPServices", Z = "portal:publisher:publishRealTimeAnalytics", O = "portal:user:shareToGroup", ee = "solutions:hubPremium", te = "solutions:notebook", ie = "solutions:locationtracking:admin:tracking", se = "solutions:locationtracking:tracking", ae = "solutions:locationtracking:admin", oe = "solutions:velocity", ne = "solutions:workflowManager", Ne = 250, Me = 256, _ = {
401
404
  SOLUTION_DETAILS: "Solution Details",
402
405
  GLOBAL_NAVIGATION: "Global Nav",
403
406
  ALL_SOLUTIONS: "Solutions",
@@ -405,14 +408,14 @@ const Ce = '((typekeywords:Deployed,"ArcGIS Solution") OR (typekeywords:Deployed
405
408
  ASSISTANT: "Assistant",
406
409
  RESOURCES: "Resources",
407
410
  BUILDER: "Solution Builder"
408
- }, Me = {
411
+ }, $e = {
409
412
  MINE: "My deployments",
410
413
  ORG: "Organization"
411
- }, $e = {
414
+ }, Pe = {
412
415
  BOTH: "New,Suggested",
413
416
  NEW: "New",
414
417
  SUGGESTED: "Suggested"
415
- }, Pe = {
418
+ }, xe = {
416
419
  NEW: "new",
417
420
  NUMVIEWS: "views",
418
421
  RELEVANCE: "relevance",
@@ -420,47 +423,47 @@ const Ce = '((typekeywords:Deployed,"ArcGIS Solution") OR (typekeywords:Deployed
420
423
  TITLE: "title",
421
424
  UPDATED: "updated",
422
425
  CREATED: "created"
423
- }, xe = {
426
+ }, Ue = {
424
427
  DEPLOY: "deploy",
425
428
  AIOPEN: "aiOpen"
426
429
  };
427
430
  export {
428
- V as A,
429
- Ce as B,
430
- Ie as C,
431
- Ne as D,
431
+ W as A,
432
+ ke as B,
433
+ De as C,
434
+ Me as D,
432
435
  l as E,
433
- Ae as F,
434
- Oe as G,
435
- W as H,
436
- Le as I,
437
- Y as P,
438
- Z as S,
439
- T,
440
- ke as a,
441
- De as b,
442
- Me as c,
443
- ve as d,
444
- Re as e,
445
- $e as f,
446
- z as g,
447
- xe as h,
448
- Pe as i,
449
- E as j,
450
- q as k,
451
- j as l,
452
- w as m,
453
- X as n,
454
- J as o,
455
- Q as p,
456
- A as q,
457
- ee as r,
458
- ie as s,
459
- se as t,
460
- te as u,
461
- ae as v,
462
- oe as w,
463
- G as x,
464
- O as y,
465
- Se as z
436
+ Oe as F,
437
+ Se as G,
438
+ z as H,
439
+ Ne as I,
440
+ q as P,
441
+ ee as S,
442
+ _ as T,
443
+ Le as a,
444
+ Re as b,
445
+ $e as c,
446
+ Ce as d,
447
+ ve as e,
448
+ Pe as f,
449
+ Y as g,
450
+ Ue as h,
451
+ xe as i,
452
+ w as j,
453
+ j as k,
454
+ X as l,
455
+ A as m,
456
+ J as n,
457
+ Q as o,
458
+ Z as p,
459
+ O as q,
460
+ te as r,
461
+ se as s,
462
+ ae as t,
463
+ ie as u,
464
+ oe as v,
465
+ ne as w,
466
+ B as x,
467
+ S as y,
468
+ Ie as z
466
469
  };